diff --git a/Administration.adoc b/Administration.adoc index 4d368283076..6dfa43771b8 100644 --- a/Administration.adoc +++ b/Administration.adoc @@ -151,19 +151,19 @@ With the cross-compare fork feature of GitHub, you can easily update to the late .How To Update Your HubPress Instance to the Latest Version . Click the `Compare` button in your HubPress repository. + -image::maintain_the_latest_hubpress_01.png[Click Compare button] +image::https://raw.githubusercontent.com/HubPress/dev.hubpress.io/e57b221/docs/images/maintain_the_latest_hubpress_01.png[Click Compare button] + . Change the base fork to your repository, and set the branch according to your repository configuration (`master` or `gh-pages`). + -image::maintain_the_latest_hubpress_02.png[Set the base fork] +image::https://raw.githubusercontent.com/HubPress/dev.hubpress.io/e57b221/docs/images/maintain_the_latest_hubpress_02.png[Set the base fork] + . Select `Compare across forks`. + -image::maintain_the_latest_hubpress_03.png[Click compare across forks] +image::https://raw.githubusercontent.com/HubPress/dev.hubpress.io/e57b221/docs/images/maintain_the_latest_hubpress_03.png[Click compare across forks] + . Change the head fork to the `HubPress/hubpress.io` repository. + -image::maintain_the_latest_hubpress_04.png[Set the head fork] +image::https://raw.githubusercontent.com/HubPress/dev.hubpress.io/e57b221/docs/images/maintain_the_latest_hubpress_04.png[Set the head fork] + . Create the Pull Request. . Apply the Pull Request to your instance of HubPress. diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index a20f7f577dd..b2f3cbdea9e 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -1,3 +1,17 @@ +## 0.7.1 + +* fix(theme): Error with http request (and not https) for included stylesheet HubPress/hubpress.io#475 +* fix(post): Problem to show all content of a blog post HubPress/hubpress.io#483 +* fix(theme): ld+json is null HubPress/hubpress.io#488 + +## 0.7.0 + +* technical release, move from react/redux to vue/vuex +* remove material design and use semanticUI now +* feat(posts): add filter +* feat(post): add a popup to display basic asciidoc syntax +* feat(team): add a team page + ## 0.6.0 * feat(rss): add the generation of the RSS feed diff --git a/README-es.adoc b/README-es.adoc index 12a3f777678..641f3c12eba 100644 --- a/README-es.adoc +++ b/README-es.adoc @@ -53,7 +53,7 @@ Si deseas tener tu blog en un dominio personalizado, o si ya estás usando tu do . En la configuración del Repositorio, establece la rama por defecto a `gh-pages`: + -image:http://hubpress.io/img/settings-gh-pages.png[Settings gh-pages,400] +image::https://cloud.githubusercontent.com/assets/8563047/13872457/28d53c9a-ed2e-11e5-9d13-65f5bf2cbbf9.png[Settings gh-pages,400] . cambia tu repositorio a la rama *gh-pages* + image:http://hubpress.io/img/switch-gh-pages.png[Install complete,300] diff --git a/README-ja.adoc b/README-ja.adoc index 646b1466834..48a44fb6256 100644 --- a/README-ja.adoc +++ b/README-ja.adoc @@ -57,7 +57,7 @@ image:http://hubpress.io/img/home-install.png[Install complete,300] . リポジトリの設定からデフォルトのブランチを `gh-pages` に設定 + -image:http://hubpress.io/img/settings-gh-pages.png[Settings gh-pages,400] +image::https://cloud.githubusercontent.com/assets/8563047/13872457/28d53c9a-ed2e-11e5-9d13-65f5bf2cbbf9.png[Settings gh-pages,400] . *gh-pages* ブランチに移動。 + image:http://hubpress.io/img/switch-gh-pages.png[Install complete,300] diff --git a/README-ko.adoc b/README-ko.adoc index cc3ac2fc97d..ca41dcf75d5 100644 --- a/README-ko.adoc +++ b/README-ko.adoc @@ -65,7 +65,7 @@ image:http://hubpress.io/img/home-install.png[Install complete,300] . 저장소(repository) 설정에서 default branch 를 `gh-pages`로 설정합니다. : + -image:http://hubpress.io/img/settings-gh-pages.png[Settings gh-pages,400] +image::https://cloud.githubusercontent.com/assets/8563047/13872457/28d53c9a-ed2e-11e5-9d13-65f5bf2cbbf9.png[Settings gh-pages,400] . 당신의 저장소 브랜치를 `gh-pages`로 변경합니다. + image:http://hubpress.io/img/switch-gh-pages.png[Install complete,300] diff --git a/README-pt.adoc b/README-pt.adoc index e50e33d7637..2d9328a5c6e 100644 --- a/README-pt.adoc +++ b/README-pt.adoc @@ -53,8 +53,8 @@ Se você deseja ter o seu blog em um domínio personalizado, ou se você já est . Nas configurações do repositório, defina a branch padrão para `gh-pages`: + -image:http://hubpress.io/img/settings-gh-pages.png[Settings gh-pages,400] -. Mude o seu repositório para a branch *gh-pages*. +image::https://cloud.githubusercontent.com/assets/8563047/13872457/28d53c9a-ed2e-11e5-9d13-65f5bf2cbbf9.png[Settings gh-pages,400] +. Mude o seu repositório para a branch *gh-pages*. + image:http://hubpress.io/img/switch-gh-pages.png[Install complete,300] + diff --git a/README-zh.adoc b/README-zh.adoc index 95a46b8c84c..d0abc0e1f13 100644 --- a/README-zh.adoc +++ b/README-zh.adoc @@ -53,7 +53,7 @@ image:http://hubpress.io/img/home-install.png[Install complete,300] . 在repository的settings选项中, 把默认branch设为 `gh-pages` : + -image:http://hubpress.io/img/settings-gh-pages.png[Settings gh-pages,400] +image::https://cloud.githubusercontent.com/assets/8563047/13872457/28d53c9a-ed2e-11e5-9d13-65f5bf2cbbf9.png[Settings gh-pages,400] . 现在设定当前repository的branch为 *gh-pages* + image:http://hubpress.io/img/switch-gh-pages.png[Install complete,300] diff --git a/README.adoc b/README.adoc index 9a4e4b0fc61..b52a565b6e9 100644 --- a/README.adoc +++ b/README.adoc @@ -1,17 +1,14 @@ += HubPress :toc: macro :toclevels: 4 :sectnums: -= HubPress - toc::[] A free, open source tool you can use to build a blog using GitHub Pages and http://asciidoctor.org/docs/user-manual/[AsciiDoc]. -https://gratipay.com/hubpress/[HubPress] on Gratipay image:https://avatars1.githubusercontent.com/u/1744073?v=3&s=24[]. - == What Is HubPress? -image::http://hubpress.io/img/editor.png[] +image::https://cloud.githubusercontent.com/assets/2006548/23680524/d7cbf68e-038b-11e7-8465-5c70abd852e1.gif[] HubPress is a web application that makes it easy for you to maintain a blog. It provides the following features: @@ -19,30 +16,38 @@ HubPress is a web application that makes it easy for you to maintain a blog. It * Backed by the power of http://asciidoctor.org/docs/user-manual/[AsciiDoc markup] for tight control of content presentation to your requirements. * Administration console to customise many aspect of your blog's content. * Disqus integration for blog comments. -* Google Analytics integration to track visitor activity. +* Google Analytics integration to track visitor activity. * A number of different themes shipped with the product, ready to use. Hosting for your blog is provided by GitHub Pages. -If you see something wrong with the documentation, please raise an issue. Your help with improving every aspect of HubPress is greatly appreciated. Pull Requests are *always* welcome. - -See the link:CONTRIBUTING.adoc[Contributors Guide] for more information about being a successful HubPress contributor. +Your help with improving every aspect of HubPress is greatly appreciated. +Pull Requests are *always* welcome. +See https://hubpress.gitbooks.io/hubpress-knowledgebase/content/develop/contribute_pr.html[How do I contribute a PR] on the HubPress Knowledgebase to learn more about contributing. -== Browser Compatibility +== Browser compatibility HubPress is compatible with Chrome Desktop, Firefox Desktop, and Chrome for Android. -== Getting Started +== Getting started -=== Fork the Repository +=== Fork the repository Click the Fork icon image:http://hubpress.io/img/fork-icon.png[Fork,80] to create a copy of this repository within your GitHub account. -=== Use the github.io Domain +=== Configure the correct branch -If you have never used your GitHub Pages domain before, you can use this procedure to quickly set up HubPress. With this method, only a few steps are required to get HubPress deployed and ready for use. +IMPORTANT: The GitHub branch you select is important, and choosing the incorrect one will cause issues with logging onto HubPress for the first time. -IMPORTANT: If you are currently using your `username.github.io` GitHub Pages domain for another project, or if you want to use a custom domain name, skip to the next procedure for instructions. +Read the next two sections *carefully* *_before_* choosing which branch and `config.json` file to edit. + +==== I am not using my GitHub Pages domain for any other project + +If you are not using your github.io Pages domain you can use it to quickly set up HubPress. + +With this method, only a few steps are required to get HubPress deployed and ready for use. + +IMPORTANT: If you are currently using your `[username].github.io` GitHub Pages domain for another project, or if you want to use a custom domain name, skip to the next procedure for instructions. . Rename your repository to `.github.io` @@ -52,20 +57,22 @@ image:http://hubpress.io/img/edit-config.png[Edit config] + The following parameters are mandatory: + -* `username`, which is your GitHub user name, -* `repositoryName`, which is the new name of the repository fork, `.github.io`. -. Commit the changes, and open the GitHub Pages domain: `https://.github.io/`. +* `username`, which is your GitHub user name. For example `janesmith`. +* `repositoryName`, which is the new name of the repository fork using the pattern `janesmith.github.io`. +. Commit the changes, and open the GitHub Pages domain: `https://janesmith.github.io/`. . The following screen indicates you have correctly configured HubPress + image:http://hubpress.io/img/home-install.png[Install complete,300] -=== Use a Custom Domain or GitHub Page Domain Already In Use +==== I am using my GitHub Pages domain already, or I want to use a custom domain + +If you are already using your want your blog to be available on a custom domain, or you are _already using your GitHub Pages domain_ to host another project, some extra configuration is required. -If you want your blog to be available on a custom domain, or you are already using your GitHub Pages domain to host another project, some extra configuration is required. +You need to set your blog up on a sub-domain of your GitHub Pages site. . In the repository settings, set the default branch to `gh-pages`: + -image:http://hubpress.io/img/settings-gh-pages.png[Settings gh-pages,400] +image::https://cloud.githubusercontent.com/assets/8563047/13872457/28d53c9a-ed2e-11e5-9d13-65f5bf2cbbf9.png[Settings gh-pages, 400] . Switch your repository to the `gh-pages` branch. + image:http://hubpress.io/img/switch-gh-pages.png[Install complete,300] @@ -76,37 +83,46 @@ image:http://hubpress.io/img/edit-config-gh-pages.png[Edit config] + The following parameters are mandatory: + -* `username`, which is your GitHub user name, -* `repositoryName`, which is the repository fork. For example, `hubpress.io` if you did not rename it. -. Commit the changes, and open the GitHub Pages domain: `https://.github.io//`. +* `username`, which is your GitHub user name. For example `janesmith`. +* `repositoryName`, which is the new name of the repository fork. For example, `janesmith.github.io`. +. Commit the changes, and open the GitHub Pages domain: `https://janesmith.github.io//`. . The following screen indicates you have correctly configured HubPress + image:http://hubpress.io/img/home-install.png[Install complete,300] -Now you have successfully configured HubPress, you can customise it by adding social network information, experiment with different themes, and make your HubPress blog your own. +== Getting first-run help -See the link:Administration.adoc[Administration Guide] for the next steps you need to take in setting up your HubPress blog. +If you can't get past the login screen, re-read the instructions above. +You most likely have configured the wrong branch and will need to fix this before you can begin using HubPress. -Once you've completed the configuration aspects, you can write your first blog post. Follow the guidelines in the link:Writers_Guide.adoc[Writer's Guide] to write a sucessful first blog post. +IMPORTANT: Misconfiguration is the most common issue for folks when trying to log onto HubPress for the first time. -== HubPress Team +If you have double-checked the setup procedure, you can move to the next step: support. + +First check https://hubpress.gitbooks.io/hubpress-knowledgebase/content/[HubPress Knowledgebase] and use the search function to see if your problem has already been documented as an article. + +If your issue is not covered by the Knowledgebase, join https://hubpressio.slack.com[HubPress Slack] and report the issue in #general. + +== How do I start blogging? + +Now you have successfully configured HubPress, you can customise it by adding social network information, experiment with different themes, and make your HubPress blog your own. + + +You can find out how to use HubPress by reading the https://hubpress.gitbooks.io/hubpress-knowledgebase/content/[HubPress Knowledgebase], which is hosted by the team at https://gitbook.com[GitBook.com]. + +== The HubPress team Code by http://github.com/anthonny[Anthonny Quérouil] (Twitter - http://twitter.com/anthonny_q[@anthonny_q]). -English Docs by http://github.com/jaredmorgs[Jared Morgan] (Twitter - http://twitter.com/jaredmorgs[@jaredmorgs]). +English docs by http://github.com/jaredmorgs[Jared Morgan] (Twitter - http://twitter.com/jaredmorgs[@jaredmorgs]). Translations (Japanese) by: -* https://github.com/takkyuuplayer[takkyuuplayer], +* https://github.com/takkyuuplayer[takkyuuplayer], * https://github.com/hinaloe[hinaloe]. -== Donations - -HubPress is now on https://gratipay.com/hubpress/[Gratipay]! - -image::https://cloud.githubusercontent.com/assets/2006548/12901016/7b09da22-ceb9-11e5-93f7-16ab135b2e2e.png[] +== Supporting the project -It's not the only way you can help us, but it is certainly a welcome one. -Donations are a great way to show your appreciation for the platform: it inspires us to dedicate extra time away from our families and day jobs to make HubPress an awesome blogging platform for you. +HubPress is powered by :beer:, :coffee: and :pizza:. -image::https://cloud.githubusercontent.com/assets/2006548/12901085/cc5ee908-ceb9-11e5-9d8b-c526f081f1e9.png[] +Use the donation options in the HubPress Settings menu to say thanks: we really appreciate it. diff --git a/hubpress/index.html b/hubpress/index.html index 19e687d0477..989564ec3c5 100644 --- a/hubpress/index.html +++ b/hubpress/index.html @@ -1,49 +1 @@ - - - - - - - - HubPress - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - +HubPress
\ No newline at end of file diff --git a/hubpress/scripts/app.js b/hubpress/scripts/app.js deleted file mode 100644 index c49428ea4f2..00000000000 --- a/hubpress/scripts/app.js +++ /dev/null @@ -1,105 +0,0 @@ -!function e(t,r,n){function o(i,a){if(!r[i]){if(!t[i]){var u="function"==typeof require&&require;if(!a&&u)return u(i,!0);if(s)return s(i,!0);var l=new Error("Cannot find module '"+i+"'");throw l.code="MODULE_NOT_FOUND",l}var d=r[i]={exports:{}};t[i][0].call(d.exports,function(e){var r=t[i][1][e];return o(r?r:e)},d,d.exports,e,t,r,n)}return r[i].exports}for(var s="function"==typeof require&&require,i=0;i1?arguments[1]:"utf8"):u(this,e)):arguments.length>1?new s(e,arguments[1]):new s(e)}function i(e,t){if(e=m(e,t<0?0:0|b(t)),!s.TYPED_ARRAY_SUPPORT)for(var r=0;r>>1;return r&&(e.parent=Z),e}function b(e){if(e>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function v(e,t){if(!(this instanceof v))return new v(e,t);var r=new s(e,t);return delete r.parent,r}function _(e,t){"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"binary":case"raw":case"raws":return r;case"utf8":case"utf-8":return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return V(e).length;default:if(n)return U(e).length;t=(""+t).toLowerCase(),n=!0}}function g(e,t,r){var n=!1;if(t=0|t,r=void 0===r||r===1/0?this.length:0|r,e||(e="utf8"),t<0&&(t=0),r>this.length&&(r=this.length),r<=t)return"";for(;;)switch(e){case"hex":return k(this,t,r);case"utf8":case"utf-8":return j(this,t,r);case"ascii":return A(this,t,r);case"binary":return S(this,t,r);case"base64":return C(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function y(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n),n>o&&(n=o)):n=o;var s=t.length;if(s%2!==0)throw new Error("Invalid hex string");n>s/2&&(n=s/2);for(var i=0;i239?4:s>223?3:s>191?2:1;if(o+a<=r){var u,l,d,c;switch(a){case 1:s<128&&(i=s);break;case 2:u=e[o+1],128===(192&u)&&(c=(31&s)<<6|63&u,c>127&&(i=c));break;case 3:u=e[o+1],l=e[o+2],128===(192&u)&&128===(192&l)&&(c=(15&s)<<12|(63&u)<<6|63&l,c>2047&&(c<55296||c>57343)&&(i=c));break;case 4:u=e[o+1],l=e[o+2],d=e[o+3],128===(192&u)&&128===(192&l)&&128===(192&d)&&(c=(15&s)<<18|(63&u)<<12|(63&l)<<6|63&d,c>65535&&c<1114112&&(i=c))}}null===i?(i=65533,a=1):i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i),o+=a}return T(n)}function T(e){var t=e.length;if(t<=J)return String.fromCharCode.apply(String,e);for(var r="",n=0;nn)&&(r=n);for(var o="",s=t;sr)throw new RangeError("Trying to access beyond buffer length")}function H(e,t,r,n,o,i){if(!s.isBuffer(e))throw new TypeError("buffer must be a Buffer instance");if(t>o||te.length)throw new RangeError("index out of range")}function F(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,s=Math.min(e.length-r,2);o>>8*(n?o:1-o)}function M(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,s=Math.min(e.length-r,4);o>>8*(n?o:3-o)&255}function R(e,t,r,n,o,s){if(t>o||te.length)throw new RangeError("index out of range");if(r<0)throw new RangeError("index out of range")}function B(e,t,r,n,o){return o||R(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),Y.write(e,t,r,n,23,4),r+4}function I(e,t,r,n,o){return o||R(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),Y.write(e,t,r,n,52,8),r+8}function N(e){if(e=L(e).replace(ee,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function L(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function q(e){return e<16?"0"+e.toString(16):e.toString(16)}function U(e,t){t=t||1/0;for(var r,n=e.length,o=null,s=[],i=0;i55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(i+1===n){(t-=3)>-1&&s.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&s.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function z(e){for(var t=[],r=0;r>8,o=r%256,s.push(o),s.push(n);return s}function V(e){return K.toByteArray(N(e))}function G(e,t,r,n){for(var o=0;o=t.length||o>=e.length);o++)t[o+r]=e[o];return o}var K=e("base64-js"),Y=e("ieee754"),X=e("isarray");r.Buffer=s,r.SlowBuffer=v,r.INSPECT_MAX_BYTES=50,s.poolSize=8192;var Z={};s.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:n(),s.TYPED_ARRAY_SUPPORT?(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array):(s.prototype.length=void 0,s.prototype.parent=void 0),s.isBuffer=function(e){return!(null==e||!e._isBuffer)},s.compare=function(e,t){if(!s.isBuffer(e)||!s.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),""},s.prototype.compare=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?0:s.compare(this,e)},s.prototype.indexOf=function(e,t){function r(e,t,r){for(var n=-1,o=0;r+o2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t>>=0,0===this.length)return-1;if(t>=this.length)return-1;if(t<0&&(t=Math.max(this.length+t,0)),"string"==typeof e)return 0===e.length?-1:String.prototype.indexOf.call(this,e,t);if(s.isBuffer(e))return r(this,e,t);if("number"==typeof e)return s.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,e,t):r(this,[e],t);throw new TypeError("val must be string, number or Buffer")},s.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},s.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},s.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t=0|t,isFinite(r)?(r=0|r,void 0===n&&(n="utf8")):(n=r,r=void 0);else{var o=n;n=t,t=0|r,r=o}var s=this.length-t;if((void 0===r||r>s)&&(r=s),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return y(this,e,t,r);case"utf8":case"utf-8":return $(this,e,t,r);case"ascii":return w(this,e,t,r);case"binary":return x(this,e,t,r);case"base64":return E(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var J=4096;s.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t0&&(o*=256);)n+=this[e+--t]*o;return n},s.prototype.readUInt8=function(e,t){return t||O(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return t||O(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return t||O(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return t||O(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return t||O(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e=0|e,t=0|t,r||O(e,t,this.length);for(var n=this[e],o=1,s=0;++s=o&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e=0|e,t=0|t,r||O(e,t,this.length);for(var n=t,o=1,s=this[e+--n];n>0&&(o*=256);)s+=this[e+--n]*o;return o*=128,s>=o&&(s-=Math.pow(2,8*t)),s},s.prototype.readInt8=function(e,t){return t||O(e,1,this.length),128&this[e]?(255-this[e]+1)*-1:this[e]},s.prototype.readInt16LE=function(e,t){t||O(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(e,t){t||O(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(e,t){return t||O(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return t||O(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return t||O(e,4,this.length),Y.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return t||O(e,4,this.length),Y.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return t||O(e,8,this.length),Y.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return t||O(e,8,this.length),Y.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,r,n){e=+e,t=0|t,r=0|r,n||H(this,e,t,r,Math.pow(2,8*r),0);var o=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+o]=e/s&255;return t+r},s.prototype.writeUInt8=function(e,t,r){return e=+e,t=0|t,r||H(this,e,t,1,255,0),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,r){return e=+e,t=0|t,r||H(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},s.prototype.writeUInt16BE=function(e,t,r){return e=+e,t=0|t,r||H(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},s.prototype.writeUInt32LE=function(e,t,r){return e=+e,t=0|t,r||H(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):M(this,e,t,!0),t+4},s.prototype.writeUInt32BE=function(e,t,r){return e=+e,t=0|t,r||H(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):M(this,e,t,!1),t+4},s.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t=0|t,!n){var o=Math.pow(2,8*r-1);H(this,e,t,r,o-1,-o)}var s=0,i=1,a=e<0?1:0;for(this[t]=255&e;++s>0)-a&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t=0|t,!n){var o=Math.pow(2,8*r-1);H(this,e,t,r,o-1,-o)}var s=r-1,i=1,a=e<0?1:0;for(this[t+s]=255&e;--s>=0&&(i*=256);)this[t+s]=(e/i>>0)-a&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e=+e,t=0|t,r||H(this,e,t,1,127,-128),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e=+e,t=0|t,r||H(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},s.prototype.writeInt16BE=function(e,t,r){return e=+e,t=0|t,r||H(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},s.prototype.writeInt32LE=function(e,t,r){return e=+e,t=0|t,r||H(this,e,t,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):M(this,e,t,!0),t+4},s.prototype.writeInt32BE=function(e,t,r){return e=+e,t=0|t,r||H(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):M(this,e,t,!1),t+4},s.prototype.writeFloatLE=function(e,t,r){return B(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return B(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return I(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return I(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;o--)e[o+t]=this[o+r];else if(i<1e3||!s.TYPED_ARRAY_SUPPORT)for(o=0;o=this.length)throw new RangeError("start out of bounds");if(r<0||r>this.length)throw new RangeError("end out of bounds");var n;if("number"==typeof e)for(n=t;n0)throw new Error("Invalid string. Length must be a multiple of 4");var d=e.length;u="="===e.charAt(d-2)?2:"="===e.charAt(d-1)?1:0,l=new s(3*e.length/4-u),i=u>0?e.length-4:e.length;var c=0;for(n=0,o=0;n>16),r((65280&a)>>8),r(255&a);return 2===u?(a=t(e.charAt(n))<<2|t(e.charAt(n+1))>>4,r(255&a)):1===u&&(a=t(e.charAt(n))<<10|t(e.charAt(n+1))<<4|t(e.charAt(n+2))>>2,r(a>>8&255),r(255&a)),l}function o(e){function t(e){return n.charAt(e)}function r(e){return t(e>>18&63)+t(e>>12&63)+t(e>>6&63)+t(63&e)}var o,s,i,a=e.length%3,u="";for(o=0,i=e.length-a;o>2),u+=t(s<<4&63),u+="==";break;case 2:s=(e[e.length-2]<<8)+e[e.length-1],u+=t(s>>10),u+=t(s>>4&63),u+=t(s<<2&63),u+="="}return u}var s="undefined"!=typeof Uint8Array?Uint8Array:Array,i="+".charCodeAt(0),a="/".charCodeAt(0),u="0".charCodeAt(0),l="a".charCodeAt(0),d="A".charCodeAt(0),c="-".charCodeAt(0),p="_".charCodeAt(0);e.toByteArray=r,e.fromByteArray=o}("undefined"==typeof r?this.base64js={}:r)},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/node_modules/ieee754/index.js":[function(e,t,r){r.read=function(e,t,r,n,o){var s,i,a=8*o-n-1,u=(1<>1,d=-7,c=r?o-1:0,p=r?-1:1,h=e[t+c];for(c+=p,s=h&(1<<-d)-1,h>>=-d,d+=a;d>0;s=256*s+e[t+c],c+=p,d-=8);for(i=s&(1<<-d)-1,s>>=-d,d+=n;d>0;i=256*i+e[t+c],c+=p,d-=8);if(0===s)s=1-l;else{if(s===u)return i?NaN:(h?-1:1)*(1/0);i+=Math.pow(2,n),s-=l}return(h?-1:1)*i*Math.pow(2,s-n)},r.write=function(e,t,r,n,o,s){var i,a,u,l=8*s-o-1,d=(1<>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:s-1,f=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,i=d):(i=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-i))<1&&(i--,u*=2),t+=i+c>=1?p/u:p*Math.pow(2,1-c),t*u>=2&&(i++,u/=2),i+c>=d?(a=0,i=d):i+c>=1?(a=(t*u-1)*Math.pow(2,o),i+=c):(a=t*Math.pow(2,c-1)*Math.pow(2,o),i=0));o>=8;e[r+h]=255&a,h+=f,a/=256,o-=8);for(i=i<0;e[r+h]=255&i,h+=f,i/=256,l-=8);e[r+h-f]|=128*m}},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/node_modules/isarray/index.js":[function(e,t,r){var n={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/index.js":[function(e,t,r){"use strict";r.randomBytes=r.rng=r.pseudoRandomBytes=r.prng=e("randombytes"),r.createHash=r.Hash=e("create-hash"),r.createHmac=r.Hmac=e("create-hmac");var n=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(Object.keys(e("browserify-sign/algos")));r.getHashes=function(){return n};var o=e("pbkdf2");r.pbkdf2=o.pbkdf2,r.pbkdf2Sync=o.pbkdf2Sync;var s=e("browserify-cipher");["Cipher","createCipher","Cipheriv","createCipheriv","Decipher","createDecipher","Decipheriv","createDecipheriv","getCiphers","listCiphers"].forEach(function(e){r[e]=s[e]});var i=e("diffie-hellman");["DiffieHellmanGroup","createDiffieHellmanGroup","getDiffieHellman","createDiffieHellman","DiffieHellman"].forEach(function(e){r[e]=i[e]});var a=e("browserify-sign");["createSign","Sign","createVerify","Verify"].forEach(function(e){r[e]=a[e]}),r.createECDH=e("create-ecdh");var u=e("public-encrypt");["publicEncrypt","privateEncrypt","publicDecrypt","privateDecrypt"].forEach(function(e){r[e]=u[e]}),["createCredentials"].forEach(function(e){r[e]=function(){throw new Error(["sorry, "+e+" is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))}})},{"browserify-cipher":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/browser.js","browserify-sign":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/browser.js","browserify-sign/algos":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/algos.js","create-ecdh":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-ecdh/browser.js","create-hash":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/browser.js","create-hmac":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hmac/browser.js","diffie-hellman":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/diffie-hellman/browser.js",pbkdf2:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/pbkdf2/browser.js","public-encrypt":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/browser.js",randombytes:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/randombytes/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/browser.js":[function(e,t,r){function n(e,t){var r,n;if(e=e.toLowerCase(),p[e])r=p[e].key,n=p[e].iv;else{if(!c[e])throw new TypeError("invalid suite type");r=8*c[e].key,n=c[e].iv}var o=u(t,!1,r,n);return s(e,o.key,o.iv)}function o(e,t){var r,n;if(e=e.toLowerCase(),p[e])r=p[e].key,n=p[e].iv;else{if(!c[e])throw new TypeError("invalid suite type");r=8*c[e].key,n=c[e].iv}var o=u(t,!1,r,n);return i(e,o.key,o.iv)}function s(e,t,r){if(e=e.toLowerCase(),p[e])return l.createCipheriv(e,t,r);if(c[e])return new d({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function i(e,t,r){if(e=e.toLowerCase(),p[e])return l.createDecipheriv(e,t,r);if(c[e])return new d({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}function a(){return Object.keys(c).concat(l.getCiphers())}var u=e("evp_bytestokey"),l=e("browserify-aes/browser"),d=e("browserify-des"),c=e("browserify-des/modes"),p=e("browserify-aes/modes");r.createCipher=r.Cipher=n,r.createCipheriv=r.Cipheriv=s,r.createDecipher=r.Decipher=o,r.createDecipheriv=r.Decipheriv=i,r.listCiphers=r.getCiphers=a},{"browserify-aes/browser":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/browser.js","browserify-aes/modes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/modes.js","browserify-des":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-des/index.js","browserify-des/modes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-des/modes.js",evp_bytestokey:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/evp_bytestokey/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/aes.js":[function(e,t,r){(function(e){function t(e){var t,r;return t=e>a||e<0?(r=Math.abs(e)%a,e<0?a-r:r):e}function n(e){for(var t=0;t>>8^255&r^99,this.SBOX[o]=r,this.INV_SBOX[r]=o,s=e[o],i=e[s],a=e[i],n=257*e[r]^16843008*r,this.SUB_MIX[0][o]=n<<24|n>>>8,this.SUB_MIX[1][o]=n<<16|n>>>16,this.SUB_MIX[2][o]=n<<8|n>>>24,this.SUB_MIX[3][o]=n,n=16843009*a^65537*i^257*s^16843008*o,this.INV_SUB_MIX[0][r]=n<<24|n>>>8,this.INV_SUB_MIX[1][r]=n<<16|n>>>16,this.INV_SUB_MIX[2][r]=n<<8|n>>>24,this.INV_SUB_MIX[3][r]=n,0===o?o=u=1:(o=s^e[e[e[a^s]]],u^=e[e[u]]);return!0};var u=new o;i.blockSize=16,i.prototype.blockSize=i.blockSize,i.keySize=32,i.prototype.keySize=i.keySize,i.prototype._doReset=function(){var e,t,r,n,o,s;for(r=this._key,t=r.length,this._nRounds=t+6,o=4*(this._nRounds+1),this._keySchedule=[],n=0;n>>24,s=u.SBOX[s>>>24]<<24|u.SBOX[s>>>16&255]<<16|u.SBOX[s>>>8&255]<<8|u.SBOX[255&s],s^=u.RCON[n/t|0]<<24):t>6&&n%t===4?s=u.SBOX[s>>>24]<<24|u.SBOX[s>>>16&255]<<16|u.SBOX[s>>>8&255]<<8|u.SBOX[255&s]:void 0,this._keySchedule[n-t]^s);for(this._invKeySchedule=[],e=0;e>>24]]^u.INV_SUB_MIX[1][u.SBOX[s>>>16&255]]^u.INV_SUB_MIX[2][u.SBOX[s>>>8&255]]^u.INV_SUB_MIX[3][u.SBOX[255&s]];return!0},i.prototype.encryptBlock=function(t){t=s(new e(t));var r=this._doCryptBlock(t,this._keySchedule,u.SUB_MIX,u.SBOX),n=new e(16);return n.writeUInt32BE(r[0],0),n.writeUInt32BE(r[1],4),n.writeUInt32BE(r[2],8),n.writeUInt32BE(r[3],12),n},i.prototype.decryptBlock=function(t){t=s(new e(t));var r=[t[3],t[1]];t[1]=r[0],t[3]=r[1];var n=this._doCryptBlock(t,this._invKeySchedule,u.INV_SUB_MIX,u.INV_SBOX),o=new e(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},i.prototype.scrub=function(){n(this._keySchedule),n(this._invKeySchedule),n(this._key)},i.prototype._doCryptBlock=function(e,r,n,o){var s,i,a,u,l,d,c,p,h;i=e[0]^r[0],a=e[1]^r[1],u=e[2]^r[2],l=e[3]^r[3],s=4;for(var f=1;f>>24]^n[1][a>>>16&255]^n[2][u>>>8&255]^n[3][255&l]^r[s++],c=n[0][a>>>24]^n[1][u>>>16&255]^n[2][l>>>8&255]^n[3][255&i]^r[s++],p=n[0][u>>>24]^n[1][l>>>16&255]^n[2][i>>>8&255]^n[3][255&a]^r[s++],h=n[0][l>>>24]^n[1][i>>>16&255]^n[2][a>>>8&255]^n[3][255&u]^r[s++],i=d,a=c,u=p,l=h;return d=(o[i>>>24]<<24|o[a>>>16&255]<<16|o[u>>>8&255]<<8|o[255&l])^r[s++],c=(o[a>>>24]<<24|o[u>>>16&255]<<16|o[l>>>8&255]<<8|o[255&i])^r[s++],p=(o[u>>>24]<<24|o[l>>>16&255]<<16|o[i>>>8&255]<<8|o[255&a])^r[s++],h=(o[l>>>24]<<24|o[i>>>16&255]<<16|o[a>>>8&255]<<8|o[255&u])^r[s++],[t(d),t(c),t(p),t(h)]},r.AES=i}).call(this,e("buffer").Buffer)},{buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/authCipher.js":[function(e,t,r){(function(r){function n(e,t,o,a){if(!(this instanceof n))return new n(e,t,o);i.call(this),this._finID=r.concat([o,new r([0,0,0,1])]),o=r.concat([o,new r([0,0,0,2])]),this._cipher=new s.AES(t),this._prev=new r(o.length),this._cache=new r(""),this._secCache=new r(""),this._decrypt=a,this._alen=0,this._len=0,o.copy(this._prev),this._mode=e;var l=new r(4);l.fill(0),this._ghash=new u(this._cipher.encryptBlock(l)), -this._authTag=null,this._called=!1}function o(e,t){var r=0;e.length!==t.length&&r++;for(var n=Math.min(e.length,t.length),o=-1;++o16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},o.prototype.flush=function(){if(this.cache.length)return this.cache};var m={ECB:e("./modes/ecb"),CBC:e("./modes/cbc"),CFB:e("./modes/cfb"),CFB8:e("./modes/cfb8"),CFB1:e("./modes/cfb1"),OFB:e("./modes/ofb"),CTR:e("./modes/ctr"),GCM:e("./modes/ctr")};r.createDecipher=a,r.createDecipheriv=i}).call(this,e("buffer").Buffer)},{"./aes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/aes.js","./authCipher":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/authCipher.js","./modes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/modes.js","./modes/cbc":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/modes/cbc.js","./modes/cfb":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/modes/cfb.js","./modes/cfb1":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/modes/cfb1.js","./modes/cfb8":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/modes/cfb8.js","./modes/ctr":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/modes/ctr.js","./modes/ecb":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/modes/ecb.js","./modes/ofb":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/modes/ofb.js","./streamCipher":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/streamCipher.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js","cipher-base":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/node_modules/cipher-base/index.js",evp_bytestokey:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/evp_bytestokey/index.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/encrypter.js":[function(e,t,r){(function(t){function n(e,r,s){return this instanceof n?(u.call(this),this._cache=new o,this._cipher=new a.AES(r),this._prev=new t(s.length),s.copy(this._prev),this._mode=e,void(this._autopadding=!0)):new n(e,r,s)}function o(){return this instanceof o?void(this.cache=new t("")):new o}function s(e,r,o){var s=d[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof o&&(o=new t(o)),"string"==typeof r&&(r=new t(r)),r.length!==s.key/8)throw new TypeError("invalid key length "+r.length);if(o.length!==s.iv)throw new TypeError("invalid iv length "+o.length);return"stream"===s.type?new p(f[s.mode],r,o):"auth"===s.type?new h(f[s.mode],r,o):new n(f[s.mode],r,o)}function i(e,t){var r=d[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=c(t,!1,r.key,r.iv);return s(e,n.key,n.iv)}var a=e("./aes"),u=e("cipher-base"),l=e("inherits"),d=e("./modes"),c=e("evp_bytestokey"),p=e("./streamCipher"),h=e("./authCipher");l(n,u),n.prototype._update=function(e){this._cache.add(e);for(var r,n,o=[];r=this._cache.get();)n=this._mode.encrypt(this,r),o.push(n);return t.concat(o)},n.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if("10101010101010101010101010101010"!==e.toString("hex"))throw this._cipher.scrub(),new Error("data not multiple of block length")},n.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},o.prototype.add=function(e){this.cache=t.concat([this.cache,e])},o.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},o.prototype.flush=function(){for(var e=16-this.cache.length,r=new t(e),n=-1;++nu||e<0?(r=Math.abs(e)%u,e<0?u-r:r):e}function i(e,t){return[e[0]^t[0],e[1]^t[1],e[2]^t[2],e[3]^t[3]]}var a=new e(16);a.fill(0),t.exports=r,r.prototype.ghash=function(e){for(var t=-1;++t0;e--)s[e]=s[e]>>>1|(1&s[e-1])<<31;s[0]=s[0]>>>1,r&&(s[0]=s[0]^225<<24)}this.state=o(a)},r.prototype.update=function(t){this.cache=e.concat([this.cache,t]);for(var r;this.cache.length>=16;)r=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(r)},r.prototype["final"]=function(t,r){return this.cache.length&&this.ghash(e.concat([this.cache,a],16)),this.ghash(o([0,t,0,r])),this.state};var u=Math.pow(2,32)}).call(this,e("buffer").Buffer)},{buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/modes.js":[function(e,t,r){r["aes-128-ecb"]={cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},r["aes-192-ecb"]={cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},r["aes-256-ecb"]={cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},r["aes-128-cbc"]={cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},r["aes-192-cbc"]={cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},r["aes-256-cbc"]={cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},r.aes128=r["aes-128-cbc"],r.aes192=r["aes-192-cbc"],r.aes256=r["aes-256-cbc"],r["aes-128-cfb"]={cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},r["aes-192-cfb"]={cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},r["aes-256-cfb"]={cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},r["aes-128-cfb8"]={cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},r["aes-192-cfb8"]={cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},r["aes-256-cfb8"]={cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},r["aes-128-cfb1"]={cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},r["aes-192-cfb1"]={cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},r["aes-256-cfb1"]={cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},r["aes-128-ofb"]={cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},r["aes-192-ofb"]={cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},r["aes-256-ofb"]={cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},r["aes-128-ctr"]={cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},r["aes-192-ctr"]={cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},r["aes-256-ctr"]={cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},r["aes-128-gcm"]={cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},r["aes-192-gcm"]={cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},r["aes-256-gcm"]={cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/modes/cbc.js":[function(e,t,r){var n=e("buffer-xor");r.encrypt=function(e,t){var r=n(t,e._prev);return e._prev=e._cipher.encryptBlock(r),e._prev},r.decrypt=function(e,t){var r=e._prev;e._prev=t;var o=e._cipher.decryptBlock(t);return n(o,r)}},{"buffer-xor":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/node_modules/buffer-xor/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/modes/cfb.js":[function(e,t,r){(function(t){function n(e,r,n){var s=r.length,i=o(r,e._cache);return e._cache=e._cache.slice(s),e._prev=t.concat([e._prev,n?r:i]),i}var o=e("buffer-xor");r.encrypt=function(e,r,o){for(var s,i=new t("");r.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=new t("")),!(e._cache.length<=r.length)){i=t.concat([i,n(e,r,o)]);break}s=e._cache.length,i=t.concat([i,n(e,r.slice(0,s),o)]),r=r.slice(s)}return i}}).call(this,e("buffer").Buffer)},{buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js","buffer-xor":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/node_modules/buffer-xor/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/modes/cfb1.js":[function(e,t,r){(function(e){function t(e,t,r){for(var o,s,i,a=-1,u=8,l=0;++a>a%8,e._prev=n(e._prev,r?s:i);return l}function n(t,r){var n=t.length,o=-1,s=new e(t.length);for(t=e.concat([t,new e([r])]);++o>7;return s}r.encrypt=function(r,n,o){for(var s=n.length,i=new e(s),a=-1;++a0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(o,r);return t+=this._buffer(e,t),o},n.prototype["final"]=function(e){var t;e&&(t=this.update(e));var r;return r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},n.prototype._pad=function(e,t){if(0===t)return!1;for(;t>>1];r=u.r28shl(r,i),n=u.r28shl(n,i),u.pc2(r,n,e.keys,o)}},o.prototype._update=function(e,t,r,n){var o=this._desState,s=u.readUInt32BE(e,t),i=u.readUInt32BE(e,t+4);u.ip(s,i,o.tmp,0),s=o.tmp[0],i=o.tmp[1],"encrypt"===this.type?this._encrypt(o,s,i,o.tmp,0):this._decrypt(o,s,i,o.tmp,0),s=o.tmp[0],i=o.tmp[1],u.writeUInt32BE(r,s,n),u.writeUInt32BE(r,i,n+4)},o.prototype._pad=function(e,t){for(var r=e.length-t,n=t;n>>0,s=h}u.rip(i,s,n,o)},o.prototype._decrypt=function(e,t,r,n,o){for(var s=r,i=t,a=e.keys.length-2;a>=0;a-=2){var l=e.keys[a],d=e.keys[a+1];u.expand(s,e.tmp,0),l^=e.tmp[0],d^=e.tmp[1];var c=u.substitute(l,d),p=u.permute(c),h=s;s=(i^p)>>>0,i=h}u.rip(s,i,n,o)}},{"../des":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-des/node_modules/des.js/lib/des.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js","minimalistic-assert":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-des/node_modules/des.js/node_modules/minimalistic-assert/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-des/node_modules/des.js/lib/des/ede.js":[function(e,t,r){"use strict";function n(e,t){s.equal(t.length,24,"Invalid key length");var r=t.slice(0,8),n=t.slice(8,16),o=t.slice(16,24);"encrypt"===e?this.ciphers=[l.create({type:"encrypt",key:r}),l.create({type:"decrypt",key:n}),l.create({type:"encrypt",key:o})]:this.ciphers=[l.create({type:"decrypt",key:o}),l.create({type:"encrypt",key:n}),l.create({type:"decrypt",key:r})]}function o(e){u.call(this,e);var t=new n(this.type,this.options.key);this._edeState=t}var s=e("minimalistic-assert"),i=e("inherits"),a=e("../des"),u=a.Cipher,l=a.DES;i(o,u),t.exports=o,o.create=function(e){return new o(e)},o.prototype._update=function(e,t,r,n){var o=this._edeState;o.ciphers[0]._update(e,t,r,n),o.ciphers[1]._update(r,n,r,n),o.ciphers[2]._update(r,n,r,n)},o.prototype._pad=l.prototype._pad,o.prototype._unpad=l.prototype._unpad},{"../des":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-des/node_modules/des.js/lib/des.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js","minimalistic-assert":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-des/node_modules/des.js/node_modules/minimalistic-assert/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-des/node_modules/des.js/lib/des/utils.js":[function(e,t,r){"use strict";r.readUInt32BE=function(e,t){var r=e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t];return r>>>0},r.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},r.ip=function(e,t,r,n){for(var o=0,s=0,i=6;i>=0;i-=2){for(var a=0;a<=24;a+=8)o<<=1,o|=t>>>a+i&1;for(var a=0;a<=24;a+=8)o<<=1,o|=e>>>a+i&1}for(var i=6;i>=0;i-=2){for(var a=1;a<=25;a+=8)s<<=1,s|=t>>>a+i&1;for(var a=1;a<=25;a+=8)s<<=1,s|=e>>>a+i&1}r[n+0]=o>>>0,r[n+1]=s>>>0},r.rip=function(e,t,r,n){for(var o=0,s=0,i=0;i<4;i++)for(var a=24;a>=0;a-=8)o<<=1,o|=t>>>a+i&1,o<<=1,o|=e>>>a+i&1;for(var i=4;i<8;i++)for(var a=24;a>=0;a-=8)s<<=1,s|=t>>>a+i&1,s<<=1,s|=e>>>a+i&1;r[n+0]=o>>>0,r[n+1]=s>>>0},r.pc1=function(e,t,r,n){for(var o=0,s=0,i=7;i>=5;i--){for(var a=0;a<=24;a+=8)o<<=1,o|=t>>a+i&1;for(var a=0;a<=24;a+=8)o<<=1,o|=e>>a+i&1}for(var a=0;a<=24;a+=8)o<<=1,o|=t>>a+i&1;for(var i=1;i<=3;i++){for(var a=0;a<=24;a+=8)s<<=1,s|=t>>a+i&1;for(var a=0;a<=24;a+=8)s<<=1,s|=e>>a+i&1}for(var a=0;a<=24;a+=8)s<<=1,s|=e>>a+i&1;r[n+0]=o>>>0,r[n+1]=s>>>0},r.r28shl=function(e,t){return e<>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];r.pc2=function(e,t,r,o){for(var s=0,i=0,a=n.length>>>1,u=0;u>>n[u]&1;for(var u=a;u>>n[u]&1;r[o+0]=s>>>0,r[o+1]=i>>>0},r.expand=function(e,t,r){var n=0,o=0;n=(1&e)<<5|e>>>27;for(var s=23;s>=15;s-=4)n<<=6,n|=e>>>s&63;for(var s=11;s>=3;s-=4)o|=e>>>s&63,o<<=6;o|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=o>>>0};var o=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];r.substitute=function(e,t){for(var r=0,n=0;n<4;n++){var s=e>>>18-6*n&63,i=o[64*n+s];r<<=4,r|=i}for(var n=0;n<4;n++){var s=t>>>18-6*n&63,i=o[256+64*n+s];r<<=4,r|=i}return r>>>0};var s=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];r.permute=function(e){for(var t=0,r=0;r>>s[r]&1;return t>>>0},r.padSplit=function(e,t,r){for(var n=e.toString(2);n.length0&&h.push(i),h.push(e),t&&h.push(t),i=o(r.concat(h)),h=[],a=0,n>0)for(;;){if(0===n)break;if(a===i.length)break;d[u++]=i[a],n--,a++}if(s>0&&a!==i.length)for(;;){if(0===s)break;if(a===i.length)break;c[l++]=i[a],s--,a++}if(0===n&&0===s)break}for(a=0;a=49&&i<=54?i-49+10:i>=17&&i<=22?i-17+10:15&i}return n}function a(e,t,r,n){for(var o=0,s=Math.min(e.length,r),i=t;i=49?a-49+10:a>=17?a-17+10:a}return o}function u(e){for(var t=new Array(e.bitLength()),r=0;r>>o}return t}function l(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var o=0|e.words[0],s=0|t.words[0],i=o*s,a=67108863&i,u=i/67108864|0;r.words[0]=a;for(var l=1;l>>26,c=67108863&u,p=Math.min(l,t.length-1),h=Math.max(0,l-e.length+1);h<=p;h++){var f=l-h|0;o=0|e.words[f],s=0|t.words[h],i=o*s+c,d+=i/67108864|0,c=67108863&i}r.words[l]=0|c,u=0|d}return 0!==u?r.words[l]=0|u:r.length--,r.strip()}function d(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,o=0,s=0;s>>26)|0,o+=i>>>26,i&=67108863}r.words[s]=a,n=i,i=o}return 0!==n?r.words[s]=n:r.length--,r.strip()}function c(e,t,r){var n=new p;return n.mulp(e,t,r)}function p(e,t){this.x=e,this.y=t}function h(e,t){this.name=e,this.p=new s(t,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function f(){h.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function m(){h.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function b(){h.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function v(){h.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(e){if("string"==typeof e){var t=s._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function g(e){_.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}"object"==typeof t?t.exports=s:r.BN=s,s.BN=s,s.wordSize=26;var y;try{y=e("buffer").Buffer}catch($){}s.isBN=function(e){return e instanceof s||null!==e&&"object"==typeof e&&e.constructor.wordSize===s.wordSize&&Array.isArray(e.words)},s.max=function(e,t){return e.cmp(t)>0?e:t},s.min=function(e,t){return e.cmp(t)<0?e:t},s.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var o=0;"-"===e[0]&&o++,16===t?this._parseHex(e,o):this._parseBase(e,t,o),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},s.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},s.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var o=0;o=0;o-=3)i=e[o]|e[o-1]<<8|e[o-2]<<16,this.words[s]|=i<>>26-a&67108863,a+=24,a>=26&&(a-=26,s++);else if("le"===r)for(o=0,s=0;o>>26-a&67108863,a+=24,a>=26&&(a-=26,s++);return this.strip()},s.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=6)o=i(e,r,r+6),this.words[n]|=o<>>26-s&4194303,s+=24,s>=26&&(s-=26,n++);r+6!==t&&(o=i(e,t,r+6),this.words[n]|=o<>>26-s&4194303),this.strip()},s.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,o=1;o<=67108863;o*=t)n++;n--,o=o/t|0;for(var s=e.length-r,i=s%n,u=Math.min(s,s-i)+r,l=0,d=r;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?""};var w=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],x=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],E=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];s.prototype.toString=function(e,t){e=e||10,t=0|t||1;var r;if(16===e||"hex"===e){r="";for(var o=0,s=0,i=0;i>>24-o&16777215,r=0!==s||i!==this.length-1?w[6-u.length]+u+r:u+r,o+=2,o>=26&&(o-=26,i--)}for(0!==s&&(r=s.toString(16)+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var l=x[e],d=E[e];r="";var c=this.clone();for(c.negative=0;!c.isZero();){var p=c.modn(d).toString(e);c=c.idivn(d),r=c.isZero()?p+r:w[l-p.length]+p+r}for(this.isZero()&&(r="0"+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(e,t){return n("undefined"!=typeof y),this.toArrayLike(y,e,t)},s.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},s.prototype.toArrayLike=function(e,t,r){var o=this.byteLength(),s=r||Math.max(1,o);n(o<=s,"byte array longer than desired length"),n(s>0,"Requested array length <= 0"),this.strip();var i,a,u="le"===t,l=new e(s),d=this.clone();if(u){for(a=0;!d.isZero();a++)i=d.andln(255),d.iushrn(8),l[a]=i;for(;a=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},s.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0===(8191&t)&&(r+=13,t>>>=13),0===(127&t)&&(r+=7,t>>>=7),0===(15&t)&&(r+=4,t>>>=4),0===(3&t)&&(r+=2,t>>>=2),0===(1&t)&&r++,r},s.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},s.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},s.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;re.length?this.clone().iand(e):e.clone().iand(this)},s.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},s.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},s.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},s.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var o=0;o0&&(this.words[o]=~this.words[o]&67108863>>26-r),this.strip()},s.prototype.notn=function(e){return this.clone().inotn(e)},s.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,o=e%26;return this._expand(r+1),t?this.words[r]=this.words[r]|1<e.length?(r=this,n=e):(r=e,n=this);for(var o=0,s=0;s>>26;for(;0!==o&&s>>26;if(this.length=r.length,0!==o)this.words[this.length]=o,this.length++;else if(r!==this)for(;se.length?this.clone().iadd(e):e.clone().iadd(this)},s.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;var n,o;r>0?(n=this,o=e):(n=e,o=this);for(var s=0,i=0;i>26,this.words[i]=67108863&t;for(;0!==s&&i>26,this.words[i]=67108863&t;if(0===s&&i>>13,h=0|i[1],f=8191&h,m=h>>>13,b=0|i[2],v=8191&b,_=b>>>13,g=0|i[3],y=8191&g,$=g>>>13,w=0|i[4],x=8191&w,E=w>>>13,P=0|i[5],C=8191&P,j=P>>>13,T=0|i[6],A=8191&T,S=T>>>13,k=0|i[7],D=8191&k,O=k>>>13,H=0|i[8],F=8191&H,M=H>>>13,R=0|i[9],B=8191&R,I=R>>>13,N=0|a[0],L=8191&N,q=N>>>13,U=0|a[1],z=8191&U,W=U>>>13,V=0|a[2],G=8191&V,K=V>>>13,Y=0|a[3],X=8191&Y,Z=Y>>>13,J=0|a[4],Q=8191&J,ee=J>>>13,te=0|a[5],re=8191&te,ne=te>>>13,oe=0|a[6],se=8191&oe,ie=oe>>>13,ae=0|a[7],ue=8191&ae,le=ae>>>13,de=0|a[8],ce=8191&de,pe=de>>>13,he=0|a[9],fe=8191&he,me=he>>>13;r.negative=e.negative^t.negative,r.length=19,n=Math.imul(c,L),o=Math.imul(c,q),o=o+Math.imul(p,L)|0,s=Math.imul(p,q);var be=(l+n|0)+((8191&o)<<13)|0;l=(s+(o>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(f,L),o=Math.imul(f,q),o=o+Math.imul(m,L)|0,s=Math.imul(m,q),n=n+Math.imul(c,z)|0,o=o+Math.imul(c,W)|0,o=o+Math.imul(p,z)|0,s=s+Math.imul(p,W)|0;var ve=(l+n|0)+((8191&o)<<13)|0;l=(s+(o>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(v,L),o=Math.imul(v,q),o=o+Math.imul(_,L)|0,s=Math.imul(_,q),n=n+Math.imul(f,z)|0,o=o+Math.imul(f,W)|0,o=o+Math.imul(m,z)|0,s=s+Math.imul(m,W)|0,n=n+Math.imul(c,G)|0,o=o+Math.imul(c,K)|0,o=o+Math.imul(p,G)|0,s=s+Math.imul(p,K)|0;var _e=(l+n|0)+((8191&o)<<13)|0;l=(s+(o>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(y,L),o=Math.imul(y,q),o=o+Math.imul($,L)|0,s=Math.imul($,q),n=n+Math.imul(v,z)|0,o=o+Math.imul(v,W)|0,o=o+Math.imul(_,z)|0,s=s+Math.imul(_,W)|0,n=n+Math.imul(f,G)|0,o=o+Math.imul(f,K)|0,o=o+Math.imul(m,G)|0,s=s+Math.imul(m,K)|0,n=n+Math.imul(c,X)|0,o=o+Math.imul(c,Z)|0,o=o+Math.imul(p,X)|0,s=s+Math.imul(p,Z)|0;var ge=(l+n|0)+((8191&o)<<13)|0;l=(s+(o>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(x,L),o=Math.imul(x,q),o=o+Math.imul(E,L)|0,s=Math.imul(E,q),n=n+Math.imul(y,z)|0,o=o+Math.imul(y,W)|0,o=o+Math.imul($,z)|0,s=s+Math.imul($,W)|0,n=n+Math.imul(v,G)|0,o=o+Math.imul(v,K)|0,o=o+Math.imul(_,G)|0,s=s+Math.imul(_,K)|0,n=n+Math.imul(f,X)|0,o=o+Math.imul(f,Z)|0,o=o+Math.imul(m,X)|0,s=s+Math.imul(m,Z)|0,n=n+Math.imul(c,Q)|0,o=o+Math.imul(c,ee)|0,o=o+Math.imul(p,Q)|0,s=s+Math.imul(p,ee)|0;var ye=(l+n|0)+((8191&o)<<13)|0;l=(s+(o>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(C,L),o=Math.imul(C,q),o=o+Math.imul(j,L)|0,s=Math.imul(j,q),n=n+Math.imul(x,z)|0,o=o+Math.imul(x,W)|0,o=o+Math.imul(E,z)|0,s=s+Math.imul(E,W)|0,n=n+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,o=o+Math.imul($,G)|0,s=s+Math.imul($,K)|0,n=n+Math.imul(v,X)|0,o=o+Math.imul(v,Z)|0,o=o+Math.imul(_,X)|0,s=s+Math.imul(_,Z)|0,n=n+Math.imul(f,Q)|0,o=o+Math.imul(f,ee)|0,o=o+Math.imul(m,Q)|0,s=s+Math.imul(m,ee)|0,n=n+Math.imul(c,re)|0,o=o+Math.imul(c,ne)|0,o=o+Math.imul(p,re)|0,s=s+Math.imul(p,ne)|0;var $e=(l+n|0)+((8191&o)<<13)|0;l=(s+(o>>>13)|0)+($e>>>26)|0,$e&=67108863,n=Math.imul(A,L),o=Math.imul(A,q),o=o+Math.imul(S,L)|0,s=Math.imul(S,q),n=n+Math.imul(C,z)|0,o=o+Math.imul(C,W)|0,o=o+Math.imul(j,z)|0,s=s+Math.imul(j,W)|0, -n=n+Math.imul(x,G)|0,o=o+Math.imul(x,K)|0,o=o+Math.imul(E,G)|0,s=s+Math.imul(E,K)|0,n=n+Math.imul(y,X)|0,o=o+Math.imul(y,Z)|0,o=o+Math.imul($,X)|0,s=s+Math.imul($,Z)|0,n=n+Math.imul(v,Q)|0,o=o+Math.imul(v,ee)|0,o=o+Math.imul(_,Q)|0,s=s+Math.imul(_,ee)|0,n=n+Math.imul(f,re)|0,o=o+Math.imul(f,ne)|0,o=o+Math.imul(m,re)|0,s=s+Math.imul(m,ne)|0,n=n+Math.imul(c,se)|0,o=o+Math.imul(c,ie)|0,o=o+Math.imul(p,se)|0,s=s+Math.imul(p,ie)|0;var we=(l+n|0)+((8191&o)<<13)|0;l=(s+(o>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(D,L),o=Math.imul(D,q),o=o+Math.imul(O,L)|0,s=Math.imul(O,q),n=n+Math.imul(A,z)|0,o=o+Math.imul(A,W)|0,o=o+Math.imul(S,z)|0,s=s+Math.imul(S,W)|0,n=n+Math.imul(C,G)|0,o=o+Math.imul(C,K)|0,o=o+Math.imul(j,G)|0,s=s+Math.imul(j,K)|0,n=n+Math.imul(x,X)|0,o=o+Math.imul(x,Z)|0,o=o+Math.imul(E,X)|0,s=s+Math.imul(E,Z)|0,n=n+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,o=o+Math.imul($,Q)|0,s=s+Math.imul($,ee)|0,n=n+Math.imul(v,re)|0,o=o+Math.imul(v,ne)|0,o=o+Math.imul(_,re)|0,s=s+Math.imul(_,ne)|0,n=n+Math.imul(f,se)|0,o=o+Math.imul(f,ie)|0,o=o+Math.imul(m,se)|0,s=s+Math.imul(m,ie)|0,n=n+Math.imul(c,ue)|0,o=o+Math.imul(c,le)|0,o=o+Math.imul(p,ue)|0,s=s+Math.imul(p,le)|0;var xe=(l+n|0)+((8191&o)<<13)|0;l=(s+(o>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(F,L),o=Math.imul(F,q),o=o+Math.imul(M,L)|0,s=Math.imul(M,q),n=n+Math.imul(D,z)|0,o=o+Math.imul(D,W)|0,o=o+Math.imul(O,z)|0,s=s+Math.imul(O,W)|0,n=n+Math.imul(A,G)|0,o=o+Math.imul(A,K)|0,o=o+Math.imul(S,G)|0,s=s+Math.imul(S,K)|0,n=n+Math.imul(C,X)|0,o=o+Math.imul(C,Z)|0,o=o+Math.imul(j,X)|0,s=s+Math.imul(j,Z)|0,n=n+Math.imul(x,Q)|0,o=o+Math.imul(x,ee)|0,o=o+Math.imul(E,Q)|0,s=s+Math.imul(E,ee)|0,n=n+Math.imul(y,re)|0,o=o+Math.imul(y,ne)|0,o=o+Math.imul($,re)|0,s=s+Math.imul($,ne)|0,n=n+Math.imul(v,se)|0,o=o+Math.imul(v,ie)|0,o=o+Math.imul(_,se)|0,s=s+Math.imul(_,ie)|0,n=n+Math.imul(f,ue)|0,o=o+Math.imul(f,le)|0,o=o+Math.imul(m,ue)|0,s=s+Math.imul(m,le)|0,n=n+Math.imul(c,ce)|0,o=o+Math.imul(c,pe)|0,o=o+Math.imul(p,ce)|0,s=s+Math.imul(p,pe)|0;var Ee=(l+n|0)+((8191&o)<<13)|0;l=(s+(o>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(B,L),o=Math.imul(B,q),o=o+Math.imul(I,L)|0,s=Math.imul(I,q),n=n+Math.imul(F,z)|0,o=o+Math.imul(F,W)|0,o=o+Math.imul(M,z)|0,s=s+Math.imul(M,W)|0,n=n+Math.imul(D,G)|0,o=o+Math.imul(D,K)|0,o=o+Math.imul(O,G)|0,s=s+Math.imul(O,K)|0,n=n+Math.imul(A,X)|0,o=o+Math.imul(A,Z)|0,o=o+Math.imul(S,X)|0,s=s+Math.imul(S,Z)|0,n=n+Math.imul(C,Q)|0,o=o+Math.imul(C,ee)|0,o=o+Math.imul(j,Q)|0,s=s+Math.imul(j,ee)|0,n=n+Math.imul(x,re)|0,o=o+Math.imul(x,ne)|0,o=o+Math.imul(E,re)|0,s=s+Math.imul(E,ne)|0,n=n+Math.imul(y,se)|0,o=o+Math.imul(y,ie)|0,o=o+Math.imul($,se)|0,s=s+Math.imul($,ie)|0,n=n+Math.imul(v,ue)|0,o=o+Math.imul(v,le)|0,o=o+Math.imul(_,ue)|0,s=s+Math.imul(_,le)|0,n=n+Math.imul(f,ce)|0,o=o+Math.imul(f,pe)|0,o=o+Math.imul(m,ce)|0,s=s+Math.imul(m,pe)|0,n=n+Math.imul(c,fe)|0,o=o+Math.imul(c,me)|0,o=o+Math.imul(p,fe)|0,s=s+Math.imul(p,me)|0;var Pe=(l+n|0)+((8191&o)<<13)|0;l=(s+(o>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(B,z),o=Math.imul(B,W),o=o+Math.imul(I,z)|0,s=Math.imul(I,W),n=n+Math.imul(F,G)|0,o=o+Math.imul(F,K)|0,o=o+Math.imul(M,G)|0,s=s+Math.imul(M,K)|0,n=n+Math.imul(D,X)|0,o=o+Math.imul(D,Z)|0,o=o+Math.imul(O,X)|0,s=s+Math.imul(O,Z)|0,n=n+Math.imul(A,Q)|0,o=o+Math.imul(A,ee)|0,o=o+Math.imul(S,Q)|0,s=s+Math.imul(S,ee)|0,n=n+Math.imul(C,re)|0,o=o+Math.imul(C,ne)|0,o=o+Math.imul(j,re)|0,s=s+Math.imul(j,ne)|0,n=n+Math.imul(x,se)|0,o=o+Math.imul(x,ie)|0,o=o+Math.imul(E,se)|0,s=s+Math.imul(E,ie)|0,n=n+Math.imul(y,ue)|0,o=o+Math.imul(y,le)|0,o=o+Math.imul($,ue)|0,s=s+Math.imul($,le)|0,n=n+Math.imul(v,ce)|0,o=o+Math.imul(v,pe)|0,o=o+Math.imul(_,ce)|0,s=s+Math.imul(_,pe)|0,n=n+Math.imul(f,fe)|0,o=o+Math.imul(f,me)|0,o=o+Math.imul(m,fe)|0,s=s+Math.imul(m,me)|0;var Ce=(l+n|0)+((8191&o)<<13)|0;l=(s+(o>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(B,G),o=Math.imul(B,K),o=o+Math.imul(I,G)|0,s=Math.imul(I,K),n=n+Math.imul(F,X)|0,o=o+Math.imul(F,Z)|0,o=o+Math.imul(M,X)|0,s=s+Math.imul(M,Z)|0,n=n+Math.imul(D,Q)|0,o=o+Math.imul(D,ee)|0,o=o+Math.imul(O,Q)|0,s=s+Math.imul(O,ee)|0,n=n+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,o=o+Math.imul(S,re)|0,s=s+Math.imul(S,ne)|0,n=n+Math.imul(C,se)|0,o=o+Math.imul(C,ie)|0,o=o+Math.imul(j,se)|0,s=s+Math.imul(j,ie)|0,n=n+Math.imul(x,ue)|0,o=o+Math.imul(x,le)|0,o=o+Math.imul(E,ue)|0,s=s+Math.imul(E,le)|0,n=n+Math.imul(y,ce)|0,o=o+Math.imul(y,pe)|0,o=o+Math.imul($,ce)|0,s=s+Math.imul($,pe)|0,n=n+Math.imul(v,fe)|0,o=o+Math.imul(v,me)|0,o=o+Math.imul(_,fe)|0,s=s+Math.imul(_,me)|0;var je=(l+n|0)+((8191&o)<<13)|0;l=(s+(o>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(B,X),o=Math.imul(B,Z),o=o+Math.imul(I,X)|0,s=Math.imul(I,Z),n=n+Math.imul(F,Q)|0,o=o+Math.imul(F,ee)|0,o=o+Math.imul(M,Q)|0,s=s+Math.imul(M,ee)|0,n=n+Math.imul(D,re)|0,o=o+Math.imul(D,ne)|0,o=o+Math.imul(O,re)|0,s=s+Math.imul(O,ne)|0,n=n+Math.imul(A,se)|0,o=o+Math.imul(A,ie)|0,o=o+Math.imul(S,se)|0,s=s+Math.imul(S,ie)|0,n=n+Math.imul(C,ue)|0,o=o+Math.imul(C,le)|0,o=o+Math.imul(j,ue)|0,s=s+Math.imul(j,le)|0,n=n+Math.imul(x,ce)|0,o=o+Math.imul(x,pe)|0,o=o+Math.imul(E,ce)|0,s=s+Math.imul(E,pe)|0,n=n+Math.imul(y,fe)|0,o=o+Math.imul(y,me)|0,o=o+Math.imul($,fe)|0,s=s+Math.imul($,me)|0;var Te=(l+n|0)+((8191&o)<<13)|0;l=(s+(o>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(B,Q),o=Math.imul(B,ee),o=o+Math.imul(I,Q)|0,s=Math.imul(I,ee),n=n+Math.imul(F,re)|0,o=o+Math.imul(F,ne)|0,o=o+Math.imul(M,re)|0,s=s+Math.imul(M,ne)|0,n=n+Math.imul(D,se)|0,o=o+Math.imul(D,ie)|0,o=o+Math.imul(O,se)|0,s=s+Math.imul(O,ie)|0,n=n+Math.imul(A,ue)|0,o=o+Math.imul(A,le)|0,o=o+Math.imul(S,ue)|0,s=s+Math.imul(S,le)|0,n=n+Math.imul(C,ce)|0,o=o+Math.imul(C,pe)|0,o=o+Math.imul(j,ce)|0,s=s+Math.imul(j,pe)|0,n=n+Math.imul(x,fe)|0,o=o+Math.imul(x,me)|0,o=o+Math.imul(E,fe)|0,s=s+Math.imul(E,me)|0;var Ae=(l+n|0)+((8191&o)<<13)|0;l=(s+(o>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(B,re),o=Math.imul(B,ne),o=o+Math.imul(I,re)|0,s=Math.imul(I,ne),n=n+Math.imul(F,se)|0,o=o+Math.imul(F,ie)|0,o=o+Math.imul(M,se)|0,s=s+Math.imul(M,ie)|0,n=n+Math.imul(D,ue)|0,o=o+Math.imul(D,le)|0,o=o+Math.imul(O,ue)|0,s=s+Math.imul(O,le)|0,n=n+Math.imul(A,ce)|0,o=o+Math.imul(A,pe)|0,o=o+Math.imul(S,ce)|0,s=s+Math.imul(S,pe)|0,n=n+Math.imul(C,fe)|0,o=o+Math.imul(C,me)|0,o=o+Math.imul(j,fe)|0,s=s+Math.imul(j,me)|0;var Se=(l+n|0)+((8191&o)<<13)|0;l=(s+(o>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(B,se),o=Math.imul(B,ie),o=o+Math.imul(I,se)|0,s=Math.imul(I,ie),n=n+Math.imul(F,ue)|0,o=o+Math.imul(F,le)|0,o=o+Math.imul(M,ue)|0,s=s+Math.imul(M,le)|0,n=n+Math.imul(D,ce)|0,o=o+Math.imul(D,pe)|0,o=o+Math.imul(O,ce)|0,s=s+Math.imul(O,pe)|0,n=n+Math.imul(A,fe)|0,o=o+Math.imul(A,me)|0,o=o+Math.imul(S,fe)|0,s=s+Math.imul(S,me)|0;var ke=(l+n|0)+((8191&o)<<13)|0;l=(s+(o>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(B,ue),o=Math.imul(B,le),o=o+Math.imul(I,ue)|0,s=Math.imul(I,le),n=n+Math.imul(F,ce)|0,o=o+Math.imul(F,pe)|0,o=o+Math.imul(M,ce)|0,s=s+Math.imul(M,pe)|0,n=n+Math.imul(D,fe)|0,o=o+Math.imul(D,me)|0,o=o+Math.imul(O,fe)|0,s=s+Math.imul(O,me)|0;var De=(l+n|0)+((8191&o)<<13)|0;l=(s+(o>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(B,ce),o=Math.imul(B,pe),o=o+Math.imul(I,ce)|0,s=Math.imul(I,pe),n=n+Math.imul(F,fe)|0,o=o+Math.imul(F,me)|0,o=o+Math.imul(M,fe)|0,s=s+Math.imul(M,me)|0;var Oe=(l+n|0)+((8191&o)<<13)|0;l=(s+(o>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(B,fe),o=Math.imul(B,me),o=o+Math.imul(I,fe)|0,s=Math.imul(I,me);var He=(l+n|0)+((8191&o)<<13)|0;return l=(s+(o>>>13)|0)+(He>>>26)|0,He&=67108863,u[0]=be,u[1]=ve,u[2]=_e,u[3]=ge,u[4]=ye,u[5]=$e,u[6]=we,u[7]=xe,u[8]=Ee,u[9]=Pe,u[10]=Ce,u[11]=je,u[12]=Te,u[13]=Ae,u[14]=Se,u[15]=ke,u[16]=De,u[17]=Oe,u[18]=He,0!==l&&(u[19]=l,r.length++),r};Math.imul||(P=l),s.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?P(this,e,t):n<63?l(this,e,t):n<1024?d(this,e,t):c(this,e,t)},p.prototype.makeRBT=function(e){for(var t=new Array(e),r=s.prototype._countBits(e)-1,n=0;n>=1;return n},p.prototype.permute=function(e,t,r,n,o,s){for(var i=0;i>>=1)o++;return 1<>>=13,r[2*i+1]=8191&s,s>>>=13;for(i=2*t;i>=26,t+=o/67108864|0,t+=s>>>26,this.words[r]=67108863&s}return 0!==t&&(this.words[r]=t,this.length++),this},s.prototype.muln=function(e){return this.clone().imuln(e)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(e){var t=u(e);if(0===t.length)return new s(1);for(var r=this,n=0;n=0);var t,r=e%26,o=(e-r)/26,s=67108863>>>26-r<<26-r;if(0!==r){var i=0;for(t=0;t>>26-r}i&&(this.words[t]=i,this.length++)}if(0!==o){for(t=this.length-1;t>=0;t--)this.words[t+o]=this.words[t];for(t=0;t=0);var o;o=t?(t-t%26)/26:0;var s=e%26,i=Math.min((e-s)/26,this.length),a=67108863^67108863>>>s<i)for(this.length-=i,l=0;l=0&&(0!==d||l>=o);l--){var c=0|this.words[l];this.words[l]=d<<26-s|c>>>s,d=c&a}return u&&0!==d&&(u.words[u.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},s.prototype.shln=function(e){return this.clone().ishln(e)},s.prototype.ushln=function(e){return this.clone().iushln(e)},s.prototype.shrn=function(e){return this.clone().ishrn(e)},s.prototype.ushrn=function(e){return this.clone().iushrn(e)},s.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,o=1<=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var o=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},s.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[o+r]=67108863&i}for(;o>26,this.words[o+r]=67108863&i;if(0===a)return this.strip();for(n(a===-1),a=0,o=0;o>26,this.words[o]=67108863&i;return this.negative=1,this.strip()},s.prototype._wordDiv=function(e,t){var r=this.length-e.length,n=this.clone(),o=e,i=0|o.words[o.length-1],a=this._countBits(i);r=26-a,0!==r&&(o=o.ushln(r),n.iushln(r),i=0|o.words[o.length-1]);var u,l=n.length-o.length;if("mod"!==t){u=new s(null),u.length=l+1,u.words=new Array(u.length);for(var d=0;d=0;p--){var h=67108864*(0|n.words[o.length+p])+(0|n.words[o.length+p-1]);for(h=Math.min(h/i|0,67108863),n._ishlnsubmul(o,h,p);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(o,1,p),n.isZero()||(n.negative^=1);u&&(u.words[p]=h)}return u&&u.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:u||null,mod:n}},s.prototype.divmod=function(e,t,r){if(n(!e.isZero()),this.isZero())return{div:new s(0),mod:new s(0)};var o,i,a;return 0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(o=a.div.neg()),"div"!==t&&(i=a.mod.neg(),r&&0!==i.negative&&i.iadd(e)),{div:o,mod:i}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(o=a.div.neg()),{div:o,mod:a.mod}):0!==(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(i=a.mod.neg(),r&&0!==i.negative&&i.isub(e)),{div:a.div,mod:i}):e.length>this.length||this.cmp(e)<0?{div:new s(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new s(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new s(this.modn(e.words[0]))}:this._wordDiv(e,t)},s.prototype.div=function(e){return this.divmod(e,"div",!1).div},s.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},s.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},s.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),o=e.andln(1),s=r.cmp(n);return s<0||1===o&&0===s?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},s.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,o=this.length-1;o>=0;o--)r=(t*r+(0|this.words[o]))%e;return r},s.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var o=(0|this.words[r])+67108864*t;this.words[r]=o/e|0,t=o%e}return this.strip()},s.prototype.divn=function(e){return this.clone().idivn(e)},s.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new s(1),i=new s(0),a=new s(0),u=new s(1),l=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++l;for(var d=r.clone(),c=t.clone();!t.isZero();){for(var p=0,h=1;0===(t.words[0]&h)&&p<26;++p,h<<=1);if(p>0)for(t.iushrn(p);p-- >0;)(o.isOdd()||i.isOdd())&&(o.iadd(d),i.isub(c)),o.iushrn(1),i.iushrn(1);for(var f=0,m=1;0===(r.words[0]&m)&&f<26;++f,m<<=1);if(f>0)for(r.iushrn(f);f-- >0;)(a.isOdd()||u.isOdd())&&(a.iadd(d),u.isub(c)),a.iushrn(1),u.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(a),i.isub(u)):(r.isub(t),a.isub(o),u.isub(i))}return{a:a,b:u,gcd:r.iushln(l)}},s.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new s(1),i=new s(0),a=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0===(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(a),o.iushrn(1);for(var d=0,c=1;0===(r.words[0]&c)&&d<26;++d,c<<=1);if(d>0)for(r.iushrn(d);d-- >0;)i.isOdd()&&i.iadd(a),i.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(i)):(r.isub(t),i.isub(o))}var p;return p=0===t.cmpn(1)?o:i,p.cmpn(0)<0&&p.iadd(e),p},s.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var o=t.cmp(r);if(o<0){var s=t;t=r,r=s}else if(0===o||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},s.prototype.invm=function(e){return this.egcd(e).a.umod(e)},s.prototype.isEven=function(){return 0===(1&this.words[0])},s.prototype.isOdd=function(){return 1===(1&this.words[0])},s.prototype.andln=function(e){return this.words[0]&e},s.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,o=1<>>26,a&=67108863,this.words[i]=a}return 0!==s&&(this.words[i]=s,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(e){var t=e<0;if(0!==this.negative&&!t)return-1;if(0===this.negative&&t)return 1;this.strip();var r;if(this.length>1)r=1;else{t&&(e=-e),n(e<=67108863,"Number is too big");var o=0|this.words[0];r=o===e?0:oe.length)return 1;if(this.length=0;r--){var n=0|this.words[r],o=0|e.words[r];if(n!==o){no&&(t=1);break}}return t},s.prototype.gtn=function(e){return 1===this.cmpn(e)},s.prototype.gt=function(e){return 1===this.cmp(e)},s.prototype.gten=function(e){return this.cmpn(e)>=0},s.prototype.gte=function(e){return this.cmp(e)>=0},s.prototype.ltn=function(e){return this.cmpn(e)===-1},s.prototype.lt=function(e){return this.cmp(e)===-1},s.prototype.lten=function(e){return this.cmpn(e)<=0},s.prototype.lte=function(e){return this.cmp(e)<=0},s.prototype.eqn=function(e){return 0===this.cmpn(e)},s.prototype.eq=function(e){return 0===this.cmp(e)},s.red=function(e){return new _(e)},s.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},s.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(e){return this.red=e,this},s.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},s.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},s.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},s.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},s.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},s.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},s.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},s.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},s.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var C={k256:null,p224:null,p192:null,p25519:null};h.prototype._tmp=function(){var e=new s(null);return e.words=new Array(Math.ceil(this.n/13)),e},h.prototype.ireduce=function(e){var t,r=e;do this.split(r,this.tmp),r=this.imulK(r),r=r.iadd(this.tmp),t=r.bitLength();while(t>this.n);var n=t0?r.isub(this.p):r.strip(),r},h.prototype.split=function(e,t){e.iushrn(this.n,0,t)},h.prototype.imulK=function(e){return e.imul(this.k)},o(f,h),f.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),o=0;o>>22,s=i}s>>>=22,e.words[o-10]=s,0===s&&e.length>10?e.length-=10:e.length-=9},f.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r>>=26,e.words[r]=o,t=n}return 0!==t&&(e.words[e.length++]=t),e},s._prime=function j(e){if(C[e])return C[e];var j;if("k256"===e)j=new f;else if("p224"===e)j=new m;else if("p192"===e)j=new b;else{if("p25519"!==e)throw new Error("Unknown prime "+e);j=new v}return C[e]=j,j},_.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},_.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},_.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},_.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},_.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},_.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},_.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},_.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},_.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},_.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},_.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},_.prototype.isqr=function(e){return this.imul(e,e.clone())},_.prototype.sqr=function(e){return this.mul(e,e)},_.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2===1),3===t){var r=this.m.add(new s(1)).iushrn(2);return this.pow(e,r)}for(var o=this.m.subn(1),i=0;!o.isZero()&&0===o.andln(1);)i++,o.iushrn(1);n(!o.isZero());var a=new s(1).toRed(this),u=a.redNeg(),l=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new s(2*d*d).toRed(this);0!==this.pow(d,l).cmp(u);)d.redIAdd(u);for(var c=this.pow(d,o),p=this.pow(e,o.addn(1).iushrn(1)),h=this.pow(e,o),f=i;0!==h.cmp(a);){for(var m=h,b=0;0!==m.cmp(a);b++)m=m.redSqr();n(b=0;o--){for(var d=t.words[o],c=l-1;c>=0;c--){var p=d>>c&1;i!==n[0]&&(i=this.sqr(i)),0!==p||0!==a?(a<<=1,a|=p,u++,(u===r||0===o&&0===c)&&(i=this.mul(i,n[a]),u=0,a=0)):u=0}l=26}return i},_.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},_.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},s.mont=function(e){return new g(e)},o(g,_),g.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},g.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},g.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):o.cmpn(0)<0&&(s=o.iadd(this.m)),s._forceRed(this)},g.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new s(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),i=o;return o.cmp(this.m)>=0?i=o.isub(this.m):o.cmpn(0)<0&&(i=o.iadd(this.m)),i._forceRed(this)},g.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}}("undefined"==typeof t||t,this)},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/browserify-rsa/index.js":[function(e,t,r){(function(r){function n(e){var t=s(e),r=t.toRed(i.mont(e.modulus)).redPow(new i(e.publicExponent)).fromRed();return{blinder:r,unblinder:t.invm(e.modulus)}}function o(e,t){var o=n(t),s=t.modulus.byteLength(),a=(i.mont(t.modulus),new i(e).mul(o.blinder).umod(t.modulus)),u=a.toRed(i.mont(t.prime1)),l=a.toRed(i.mont(t.prime2)),d=t.coefficient,c=t.prime1,p=t.prime2,h=u.redPow(t.exponent1),f=l.redPow(t.exponent2);h=h.fromRed(),f=f.fromRed();var m=h.isub(f).imul(d).umod(c);return m.imul(p),f.iadd(m),new r(f.imul(o.unblinder).umod(t.modulus).toArray(!1,s))}function s(e){for(var t=e.modulus.byteLength(),r=new i(a(t));r.cmp(e.modulus)>=0||!r.umod(e.prime1)||!r.umod(e.prime2);)r=new i(a(t));return r}var i=e("bn.js"),a=e("randombytes");t.exports=o,o.getr=s}).call(this,e("buffer").Buffer)},{"bn.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/bn.js/lib/bn.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js",randombytes:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/randombytes/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic.js":[function(e,t,r){"use strict";var n=r;n.version=e("../package.json").version,n.utils=e("./elliptic/utils"),n.rand=e("brorand"),n.hmacDRBG=e("./elliptic/hmac-drbg"),n.curve=e("./elliptic/curve"),n.curves=e("./elliptic/curves"),n.ec=e("./elliptic/ec"),n.eddsa=e("./elliptic/eddsa")},{"../package.json":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/package.json","./elliptic/curve":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/curve/index.js","./elliptic/curves":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/curves.js","./elliptic/ec":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/ec/index.js","./elliptic/eddsa":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/eddsa/index.js","./elliptic/hmac-drbg":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/hmac-drbg.js","./elliptic/utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/utils.js",brorand:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/node_modules/brorand/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/curve/base.js":[function(e,t,r){"use strict";function n(e,t){this.type=e,this.p=new s(t.p,16),this.red=t.prime?s.red(t.prime):s.mont(this.p),this.zero=new s(0).toRed(this.red),this.one=new s(1).toRed(this.red),this.two=new s(2).toRed(this.red),this.n=t.n&&new s(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4);var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function o(e,t){this.curve=e,this.type=t,this.precomputed=null}var s=e("bn.js"),i=e("../../elliptic"),a=i.utils,u=a.getNAF,l=a.getJSF,d=a.assert;t.exports=n,n.prototype.point=function(){throw new Error("Not implemented")},n.prototype.validate=function(){throw new Error("Not implemented")},n.prototype._fixedNafMul=function(e,t){d(e.precomputed);var r=e._getDoubles(),n=u(t,1),o=(1<=i;t--)a=(a<<1)+n[t];s.push(a)}for(var l=this.jpoint(null,null,null),c=this.jpoint(null,null,null),p=o;p>0;p--){for(var i=0;i=0;a--){for(var t=0;a>=0&&0===s[a];a--)t++;if(a>=0&&t++,i=i.dblp(t),a<0)break;var l=s[a];d(0!==l),i="affine"===e.type?l>0?i.mixedAdd(o[l-1>>1]):i.mixedAdd(o[-l-1>>1].neg()):l>0?i.add(o[l-1>>1]):i.add(o[-l-1>>1].neg())}return"affine"===e.type?i.toP():i},n.prototype._wnafMulAdd=function(e,t,r,n,o){for(var s=this._wnafT1,i=this._wnafT2,a=this._wnafT3,d=0,c=0;c=1;c-=2){var f=c-1,m=c;if(1===s[f]&&1===s[m]){var b=[t[f],null,null,t[m]];0===t[f].y.cmp(t[m].y)?(b[1]=t[f].add(t[m]),b[2]=t[f].toJ().mixedAdd(t[m].neg())):0===t[f].y.cmp(t[m].y.redNeg())?(b[1]=t[f].toJ().mixedAdd(t[m]),b[2]=t[f].add(t[m].neg())):(b[1]=t[f].toJ().mixedAdd(t[m]),b[2]=t[f].toJ().mixedAdd(t[m].neg()));var v=[-3,-1,-5,-7,0,7,5,1,3],_=l(r[f],r[m]);d=Math.max(_[0].length,d),a[f]=new Array(d),a[m]=new Array(d);for(var g=0;g=0;c--){for(var E=0;c>=0;){for(var P=!0,g=0;g=0&&E++,w=w.dblp(E),c<0)break;for(var g=0;g0?p=i[g][C-1>>1]:C<0&&(p=i[g][-C-1>>1].neg()),w="affine"===p.type?w.mixedAdd(p):w.add(p))}}for(var c=0;c=Math.ceil((e.bitLength()+1)/t.step)},o.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,o=0;o":""},o.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&0===this.y.cmp(this.z)},o.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),o=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),s=n.redAdd(t),i=s.redSub(r),a=n.redSub(t),u=o.redMul(i),l=s.redMul(a),d=o.redMul(a),c=i.redMul(s);return this.curve.point(u,l,c,d)},o.prototype._projDbl=function(){var e,t,r,n=this.x.redAdd(this.y).redSqr(),o=this.x.redSqr(),s=this.y.redSqr();if(this.curve.twisted){var i=this.curve._mulA(o),a=i.redAdd(s);if(this.zOne)e=n.redSub(o).redSub(s).redMul(a.redSub(this.curve.two)),t=a.redMul(i.redSub(s)),r=a.redSqr().redSub(a).redSub(a);else{var u=this.z.redSqr(),l=a.redSub(u).redISub(u);e=n.redSub(o).redISub(s).redMul(l),t=a.redMul(i.redSub(s)),r=a.redMul(l)}}else{var i=o.redAdd(s),u=this.curve._mulC(this.c.redMul(this.z)).redSqr(),l=i.redSub(u).redSub(u);e=this.curve._mulC(n.redISub(i)).redMul(l),t=this.curve._mulC(i).redMul(o.redISub(s)),r=i.redMul(l)}return this.curve.point(e,t,r)},o.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},o.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),o=this.z.redMul(e.z.redAdd(e.z)),s=r.redSub(t),i=o.redSub(n),a=o.redAdd(n),u=r.redAdd(t),l=s.redMul(i),d=a.redMul(u),c=s.redMul(u),p=i.redMul(a);return this.curve.point(l,d,p,c)},o.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),o=n.redSqr(),s=this.x.redMul(e.x),i=this.y.redMul(e.y),a=this.curve.d.redMul(s).redMul(i),u=o.redSub(a),l=o.redAdd(a),d=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(s).redISub(i),c=n.redMul(u).redMul(d);return this.curve.twisted?(t=n.redMul(l).redMul(i.redSub(this.curve._mulA(s))),r=u.redMul(l)):(t=n.redMul(l).redMul(i.redSub(s)),r=this.curve._mulC(u).redMul(l)),this.curve.point(c,t,r)},o.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},o.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},o.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},o.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},o.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},o.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},o.prototype.getX=function(){return this.normalize(),this.x.fromRed()},o.prototype.getY=function(){return this.normalize(),this.y.fromRed()},o.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},o.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}return!1},o.prototype.toP=o.prototype.normalize,o.prototype.mixedAdd=o.prototype.add},{"../../elliptic":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic.js","../curve":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/curve/index.js","bn.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/bn.js/lib/bn.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/curve/index.js":[function(e,t,r){"use strict";var n=r;n.base=e("./base"),n["short"]=e("./short"),n.mont=e("./mont"),n.edwards=e("./edwards")},{"./base":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/curve/base.js","./edwards":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/curve/edwards.js","./mont":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/curve/mont.js","./short":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/curve/short.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/curve/mont.js":[function(e,t,r){"use strict";function n(e){u.call(this,"mont",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.i4=new i(4).toRed(this.red).redInvm(),this.two=new i(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function o(e,t,r){u.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new i(t,16),this.z=new i(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}var s=e("../curve"),i=e("bn.js"),a=e("inherits"),u=s.base,l=e("../../elliptic"),d=l.utils;a(n,u),t.exports=n,n.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t),o=n.redSqrt();return 0===o.redSqr().cmp(n)},a(o,u.BasePoint),n.prototype.decodePoint=function(e,t){return this.point(d.toArray(e,t),1)},n.prototype.point=function(e,t){return new o(this,e,t)},n.prototype.pointFromJSON=function(e){return o.fromJSON(this,e)},o.prototype.precompute=function(){},o.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},o.fromJSON=function(e,t){return new o(e,t[0],t[1]||e.one)},o.prototype.inspect=function(){return this.isInfinity()?"":""},o.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},o.prototype.dbl=function(){var e=this.x.redAdd(this.z),t=e.redSqr(),r=this.x.redSub(this.z),n=r.redSqr(),o=t.redSub(n),s=t.redMul(n),i=o.redMul(n.redAdd(this.curve.a24.redMul(o)));return this.curve.point(s,i)},o.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},o.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),o=e.x.redAdd(e.z),s=e.x.redSub(e.z),i=s.redMul(r),a=o.redMul(n),u=t.z.redMul(i.redAdd(a).redSqr()),l=t.x.redMul(i.redISub(a).redSqr());return this.curve.point(u,l)},o.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),o=this,s=[];0!==t.cmpn(0);t.iushrn(1))s.push(t.andln(1));for(var i=s.length-1;i>=0;i--)0===s[i]?(r=r.diffAdd(n,o),n=n.dbl()):(n=r.diffAdd(n,o),r=r.dbl());return n},o.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},o.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},o.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},o.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},o.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"../../elliptic":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic.js","../curve":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/curve/index.js","bn.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/bn.js/lib/bn.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/curve/short.js":[function(e,t,r){"use strict";function n(e){d.call(this,"short",e),this.a=new u(e.a,16).toRed(this.red),this.b=new u(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function o(e,t,r,n){d.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new u(t,16),this.y=new u(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function s(e,t,r,n){d.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new u(0)):(this.x=new u(t,16),this.y=new u(r,16),this.z=new u(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}var i=e("../curve"),a=e("../../elliptic"),u=e("bn.js"),l=e("inherits"),d=i.base,c=a.utils.assert;l(n,d),t.exports=n,n.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new u(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=n[0].cmp(n[1])<0?n[0]:n[1],t=t.toRed(this.red)}if(e.lambda)r=new u(e.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(t))?r=o[0]:(r=o[1],c(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}var s;return s=e.basis?e.basis.map(function(e){return{a:new u(e.a,16),b:new u(e.b,16)}}):this._getEndoBasis(r),{beta:t,lambda:r,basis:s}}},n.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:u.mont(e),r=new u(2).toRed(t).redInvm(),n=r.redNeg(),o=new u(3).toRed(t).redNeg().redSqrt().redMul(r),s=n.redAdd(o).fromRed(),i=n.redSub(o).fromRed();return[s,i]},n.prototype._getEndoBasis=function(e){for(var t,r,n,o,s,i,a,l,d,c=this.n.ushrn(Math.floor(this.n.bitLength()/2)),p=e,h=this.n.clone(),f=new u(1),m=new u(0),b=new u(0),v=new u(1),_=0;0!==p.cmpn(0);){var g=h.div(p);l=h.sub(g.mul(p)),d=b.sub(g.mul(f));var y=v.sub(g.mul(m));if(!n&&l.cmp(c)<0)t=a.neg(),r=f,n=l.neg(),o=d;else if(n&&2===++_)break;a=l,h=p,p=l,b=f,f=d,v=m,m=y}s=l.neg(),i=d;var $=n.sqr().add(o.sqr()),w=s.sqr().add(i.sqr());return w.cmp($)>=0&&(s=t,i=r),n.negative&&(n=n.neg(),o=o.neg()),s.negative&&(s=s.neg(),i=i.neg()),[{a:n,b:o},{a:s,b:i}]},n.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],o=n.b.mul(e).divRound(this.n),s=r.b.neg().mul(e).divRound(this.n),i=o.mul(r.a),a=s.mul(n.a),u=o.mul(r.b),l=s.mul(n.b),d=e.sub(i).sub(a),c=u.add(l).neg();return{k1:d,k2:c}},n.prototype.pointFromX=function(e,t){e=new u(e,16),e.red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var o=n.fromRed().isOdd();return(t&&!o||!t&&o)&&(n=n.redNeg()),this.point(e,n)},n.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),o=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(o).cmpn(0)},n.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,o=this._endoWnafT2,s=0;s":""},o.prototype.isInfinity=function(){return this.inf},o.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},o.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),o=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),s=o.redSqr().redISub(this.x.redAdd(this.x)),i=o.redMul(this.x.redSub(s)).redISub(this.y);return this.curve.point(s,i)},o.prototype.getX=function(){return this.x.fromRed()},o.prototype.getY=function(){return this.y.fromRed()},o.prototype.mul=function(e){return e=new u(e,16),this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},o.prototype.mulAdd=function(e,t,r){var n=[this,t],o=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,o):this.curve._wnafMulAdd(1,n,o,2)},o.prototype.jmulAdd=function(e,t,r){var n=[this,t],o=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,o,!0):this.curve._wnafMulAdd(1,n,o,2,!0)},o.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},o.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},o.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e},l(s,d.BasePoint),n.prototype.jpoint=function(e,t,r){return new s(this,e,t,r)},s.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},s.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},s.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),o=e.x.redMul(r),s=this.y.redMul(t.redMul(e.z)),i=e.y.redMul(r.redMul(this.z)),a=n.redSub(o),u=s.redSub(i);if(0===a.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),d=l.redMul(a),c=n.redMul(l),p=u.redSqr().redIAdd(d).redISub(c).redISub(c),h=u.redMul(c.redISub(p)).redISub(s.redMul(d)),f=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(p,h,f)},s.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),o=this.y,s=e.y.redMul(t).redMul(this.z),i=r.redSub(n),a=o.redSub(s);if(0===i.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=i.redSqr(),l=u.redMul(i),d=r.redMul(u),c=a.redSqr().redIAdd(l).redISub(d).redISub(d),p=a.redMul(d.redISub(c)).redISub(o.redMul(l)),h=this.z.redMul(i);return this.curve.jpoint(c,p,h)},s.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;r=0)return!1;if(r.redIAdd(o),0===this.x.cmp(r))return!0}return!1},s.prototype.inspect=function(){return this.isInfinity()?"":""},s.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{"../../elliptic":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic.js","../curve":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/curve/index.js","bn.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/bn.js/lib/bn.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/curves.js":[function(e,t,r){"use strict";function n(e){"short"===e.type?this.curve=new a.curve["short"](e):"edwards"===e.type?this.curve=new a.curve.edwards(e):this.curve=new a.curve.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,u(this.g.validate(),"Invalid curve"),u(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function o(e,t){Object.defineProperty(s,e,{configurable:!0,enumerable:!0,get:function(){var r=new n(t);return Object.defineProperty(s,e,{configurable:!0,enumerable:!0,value:r}),r}})}var s=r,i=e("hash.js"),a=e("../elliptic"),u=a.utils.assert;s.PresetCurve=n,o("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:i.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),o("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:i.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),o("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:i.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),o("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:i.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),o("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc", -b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:i.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),o("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"0",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["9"]}),o("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var l;try{l=e("./precomputed/secp256k1")}catch(d){l=void 0}o("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:i.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",l]})},{"../elliptic":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic.js","./precomputed/secp256k1":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js","hash.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/node_modules/hash.js/lib/hash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/ec/index.js":[function(e,t,r){"use strict";function n(e){return this instanceof n?("string"==typeof e&&(a(s.curves.hasOwnProperty(e),"Unknown curve "+e),e=s.curves[e]),e instanceof s.curves.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),void(this.hash=e.hash||e.curve.hash)):new n(e)}var o=e("bn.js"),s=e("../../elliptic"),i=s.utils,a=i.assert,u=e("./key"),l=e("./signature");t.exports=n,n.prototype.keyPair=function(e){return new u(this,e)},n.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},n.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},n.prototype.genKeyPair=function(e){e||(e={});for(var t=new s.hmacDRBG({hash:this.hash,pers:e.pers,entropy:e.entropy||s.rand(this.hash.hmacStrength),nonce:this.n.toArray()}),r=this.n.byteLength(),n=this.n.sub(new o(2));;){var i=new o(t.generate(r));if(!(i.cmp(n)>0))return i.iaddn(1),this.keyFromPrivate(i)}},n.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},n.prototype.sign=function(e,t,r,n){"object"==typeof r&&(n=r,r=null),n||(n={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new o(e,16));for(var i=this.n.byteLength(),a=t.getPrivate().toArray("be",i),u=e.toArray("be",i),d=new s.hmacDRBG({hash:this.hash,entropy:a,nonce:u,pers:n.pers,persEnc:n.persEnc}),c=this.n.sub(new o(1)),p=0;!0;p++){var h=n.k?n.k(p):new o(d.generate(this.n.byteLength()));if(h=this._truncateToN(h,!0),!(h.cmpn(1)<=0||h.cmp(c)>=0)){var f=this.g.mul(h);if(!f.isInfinity()){var m=f.getX(),b=m.umod(this.n);if(0!==b.cmpn(0)){var v=h.invm(this.n).mul(b.mul(t.getPrivate()).iadd(e));if(v=v.umod(this.n),0!==v.cmpn(0)){var _=(f.getY().isOdd()?1:0)|(0!==m.cmp(b)?2:0);return n.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),_^=1),new l({r:b,s:v,recoveryParam:_})}}}}}},n.prototype.verify=function(e,t,r,n){e=this._truncateToN(new o(e,16)),r=this.keyFromPublic(r,n),t=new l(t,"hex");var s=t.r,i=t.s;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;var a=i.invm(this.n),u=a.mul(e).umod(this.n),d=a.mul(s).umod(this.n);if(!this.curve._maxwellTrick){var c=this.g.mulAdd(u,r.getPublic(),d);return!c.isInfinity()&&0===c.getX().umod(this.n).cmp(s)}var c=this.g.jmulAdd(u,r.getPublic(),d);return!c.isInfinity()&&c.eqXToP(s)},n.prototype.recoverPubKey=function(e,t,r,n){a((3&r)===r,"The recovery param is more than two bits"),t=new l(t,n);var s=this.n,i=new o(e),u=t.r,d=t.s,c=1&r,p=r>>1;if(u.cmp(this.curve.p.umod(this.curve.n))>=0&&p)throw new Error("Unable to find sencond key candinate");u=p?this.curve.pointFromX(u.add(this.curve.n),c):this.curve.pointFromX(u,c);var h=s.sub(i),f=t.r.invm(s);return this.g.mulAdd(h,u,d).mul(f)},n.prototype.getKeyRecoveryParam=function(e,t,r,n){if(t=new l(t,n),null!==t.recoveryParam)return t.recoveryParam;for(var o=0;o<4;o++){var s;try{s=this.recoverPubKey(e,t,o)}catch(e){continue}if(s.eq(r))return o}throw new Error("Unable to find valid recovery factor")}},{"../../elliptic":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic.js","./key":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/ec/key.js","./signature":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/ec/signature.js","bn.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/bn.js/lib/bn.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/ec/key.js":[function(e,t,r){"use strict";function n(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}var o=e("bn.js");t.exports=n,n.fromPublic=function(e,t,r){return t instanceof n?t:new n(e,{pub:t,pubEnc:r})},n.fromPrivate=function(e,t,r){return t instanceof n?t:new n(e,{priv:t,privEnc:r})},n.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},n.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},n.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},n.prototype._importPrivate=function(e,t){this.priv=new o(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},n.prototype._importPublic=function(e,t){return e.x||e.y?void(this.pub=this.ec.curve.point(e.x,e.y)):void(this.pub=this.ec.curve.decodePoint(e,t))},n.prototype.derive=function(e){return e.mul(this.priv).getX()},n.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},n.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},n.prototype.inspect=function(){return""}},{"bn.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/bn.js/lib/bn.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/ec/signature.js":[function(e,t,r){"use strict";function n(e,t){return e instanceof n?e:void(this._importDER(e,t)||(c(e.r&&e.s,"Signature without r or s"),this.r=new u(e.r,16),this.s=new u(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam))}function o(){this.place=0}function s(e,t){var r=e[t.place++];if(!(128&r))return r;for(var n=15&r,o=0,s=0,i=t.place;s>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}var u=e("bn.js"),l=e("../../elliptic"),d=l.utils,c=d.assert;t.exports=n,n.prototype._importDER=function(e,t){e=d.toArray(e,t);var r=new o;if(48!==e[r.place++])return!1;var n=s(e,r);if(n+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var i=s(e,r),a=e.slice(r.place,i+r.place);if(r.place+=i,2!==e[r.place++])return!1;var l=s(e,r);if(e.length!==l+r.place)return!1;var c=e.slice(r.place,l+r.place);return 0===a[0]&&128&a[1]&&(a=a.slice(1)),0===c[0]&&128&c[1]&&(c=c.slice(1)),this.r=new u(a),this.s=new u(c),this.recoveryParam=null,!0},n.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=i(t),r=i(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];a(n,t.length),n=n.concat(t),n.push(2),a(n,r.length);var o=n.concat(r),s=[48];return a(s,o.length),s=s.concat(o),d.encode(s,e)}},{"../../elliptic":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic.js","bn.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/bn.js/lib/bn.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic/eddsa/index.js":[function(e,t,r){"use strict";function n(e){if(a("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof n))return new n(e);var e=s.curves[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=o.sha512}var o=e("hash.js"),s=e("../../elliptic"),i=s.utils,a=i.assert,u=i.parseBytes,l=e("./key"),d=e("./signature");t.exports=n,n.prototype.sign=function(e,t){e=u(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),o=this.g.mul(n),s=this.encodePoint(o),i=this.hashInt(s,r.pubBytes(),e).mul(r.priv()),a=n.add(i).umod(this.curve.n);return this.makeSignature({R:o,S:a,Rencoded:s})},n.prototype.verify=function(e,t,r){e=u(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),o=this.hashInt(t.Rencoded(),n.pubBytes(),e),s=this.g.mul(t.S()),i=t.R().add(n.pub().mul(o));return i.eq(s)},n.prototype.hashInt=function(){for(var e=this.hash(),t=0;t=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,o)}var o=e("hash.js"),s=e("../elliptic"),i=s.utils,a=i.assert;t.exports=n,n.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var o=0;o=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this.reseed=1},n.prototype.generate=function(e,t,r,n){if(this.reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=r,r=t,t=null),r&&(r=i.toArray(r,n),this._update(r));for(var o=[];o.length>8,i=255&o;s?r.push(s,i):r.push(i)}return r}function o(e){return 1===e.length?"0"+e:e}function s(e){for(var t="",r=0;r=0;){var s;if(o.isOdd()){var i=o.andln(n-1);s=i>(n>>1)-1?(n>>1)-i:i,o.isubn(s)}else s=0;r.push(s);for(var a=0!==o.cmpn(0)&&0===o.andln(n-1)?t+1:1,u=1;u0||t.cmpn(-o)>0;){var s=e.andln(3)+n&3,i=t.andln(3)+o&3;3===s&&(s=-1),3===i&&(i=-1);var a;if(0===(1&s))a=0;else{var u=e.andln(7)+n&7;a=3!==u&&5!==u||2!==i?s:-s}r[0].push(a);var l;if(0===(1&i))l=0;else{var u=t.andln(7)+o&7;l=3!==u&&5!==u||2!==s?i:-i}r[1].push(l),2*n===a+1&&(n=1-n),2*o===l+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return r}function u(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}}function l(e){return"string"==typeof e?c.toArray(e,"hex"):e}function d(e){return new p(e,"hex","le")}var c=r,p=e("bn.js");c.assert=function(e,t){if(!e)throw new Error(t||"Assertion failed")},c.toArray=n,c.zero2=o,c.toHex=s,c.encode=function(e,t){return"hex"===t?s(e):e},c.getNAF=i,c.getJSF=a,c.cachedProperty=u,c.parseBytes=l,c.intFromLE=d},{"bn.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/bn.js/lib/bn.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/node_modules/brorand/index.js":[function(e,t,r){function n(e){this.rand=e}var o;if(t.exports=function(e){return o||(o=new n(null)),o.generate(e)},t.exports.Rand=n,n.prototype.generate=function(e){return this._rand(e)},"object"==typeof window)window.crypto&&window.crypto.getRandomValues?n.prototype._rand=function(e){var t=new Uint8Array(e);return window.crypto.getRandomValues(t),t}:window.msCrypto&&window.msCrypto.getRandomValues?n.prototype._rand=function(e){var t=new Uint8Array(e);return window.msCrypto.getRandomValues(t),t}:n.prototype._rand=function(){throw new Error("Not implemented yet")};else try{var s=e("crypto");n.prototype._rand=function(e){return s.randomBytes(e)}}catch(i){n.prototype._rand=function(e){for(var t=new Uint8Array(e),r=0;r=this._delta8){e=this.pending;var r=e.length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=s.join32(e,0,e.length-r,this.endian);for(var n=0;n>>24&255,n[o++]=e>>>16&255,n[o++]=e>>>8&255,n[o++]=255&e}else{n[o++]=255&e,n[o++]=e>>>8&255,n[o++]=e>>>16&255,n[o++]=e>>>24&255,n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=0;for(var s=8;sthis.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t>>3}function f(e){return k(e,17)^k(e,19)^e>>>10}function m(e,t,r,n){return 0===e?u(t,r,n):1===e||3===e?d(t,r,n):2===e?l(t,r,n):void 0}function b(e,t,r,n,o,s){var i=e&r^~e&o;return i<0&&(i+=4294967296),i}function v(e,t,r,n,o,s){var i=t&n^~t&s;return i<0&&(i+=4294967296),i}function _(e,t,r,n,o,s){var i=e&r^e&o^r&o;return i<0&&(i+=4294967296),i}function g(e,t,r,n,o,s){var i=t&n^t&s^n&s;return i<0&&(i+=4294967296),i}function y(e,t){var r=M(e,t,28),n=M(t,e,2),o=M(t,e,7),s=r^n^o;return s<0&&(s+=4294967296),s}function $(e,t){var r=R(e,t,28),n=R(t,e,2),o=R(t,e,7),s=r^n^o;return s<0&&(s+=4294967296),s}function w(e,t){var r=M(e,t,14),n=M(e,t,18),o=M(t,e,9),s=r^n^o;return s<0&&(s+=4294967296),s}function x(e,t){var r=R(e,t,14),n=R(e,t,18),o=R(t,e,9),s=r^n^o;return s<0&&(s+=4294967296),s}function E(e,t){var r=M(e,t,1),n=M(e,t,8),o=B(e,t,7),s=r^n^o;return s<0&&(s+=4294967296),s}function P(e,t){var r=R(e,t,1),n=R(e,t,8),o=I(e,t,7),s=r^n^o;return s<0&&(s+=4294967296),s}function C(e,t){var r=M(e,t,19),n=M(t,e,29),o=B(e,t,6),s=r^n^o;return s<0&&(s+=4294967296),s}function j(e,t){var r=R(e,t,19),n=R(t,e,29),o=I(e,t,6),s=r^n^o;return s<0&&(s+=4294967296),s}var T=e("../hash"),A=T.utils,S=A.assert,k=A.rotr32,D=A.rotl32,O=A.sum32,H=A.sum32_4,F=A.sum32_5,M=A.rotr64_hi,R=A.rotr64_lo,B=A.shr64_hi,I=A.shr64_lo,N=A.sum64,L=A.sum64_hi,q=A.sum64_lo,U=A.sum64_4_hi,z=A.sum64_4_lo,W=A.sum64_5_hi,V=A.sum64_5_lo,G=T.common.BlockHash,K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],Y=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],X=[1518500249,1859775393,2400959708,3395469782];A.inherits(n,G),r.sha256=n,n.blockSize=512,n.outSize=256,n.hmacStrength=192,n.padLength=64,n.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n>8,i=255&o;s?r.push(s,i):r.push(i)}else for(var n=0;n>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24;return t>>>0}function i(e,t){for(var r="",n=0;n>>0}return s}function d(e,t){for(var r=new Array(4*e.length),n=0,o=0;n>>24,r[o+1]=s>>>16&255,r[o+2]=s>>>8&255,r[o+3]=255&s):(r[o+3]=s>>>24,r[o+2]=s>>>16&255,r[o+1]=s>>>8&255,r[o]=255&s)}return r}function c(e,t){return e>>>t|e<<32-t}function p(e,t){return e<>>32-t}function h(e,t){return e+t>>>0}function f(e,t,r){return e+t+r>>>0}function m(e,t,r,n){return e+t+r+n>>>0}function b(e,t,r,n,o){return e+t+r+n+o>>>0}function v(e,t){if(!e)throw new Error(t||"Assertion failed")}function _(e,t,r,n){var o=e[t],s=e[t+1],i=n+s>>>0,a=(i>>0,e[t+1]=i}function g(e,t,r,n){var o=t+n>>>0,s=(o>>0}function y(e,t,r,n){var o=t+n;return o>>>0}function $(e,t,r,n,o,s,i,a){var u=0,l=t;l=l+n>>>0,u+=l>>0,u+=l>>0,u+=l>>0}function w(e,t,r,n,o,s,i,a){var u=t+n+s+a;return u>>>0}function x(e,t,r,n,o,s,i,a,u,l){var d=0,c=t;c=c+n>>>0,d+=c>>0,d+=c>>0,d+=c>>0,d+=c>>0}function E(e,t,r,n,o,s,i,a,u,l){var d=t+n+s+a+l;return d>>>0}function P(e,t,r){var n=t<<32-r|e>>>r;return n>>>0}function C(e,t,r){var n=e<<32-r|t>>>r;return n>>>0}function j(e,t,r){return e>>>r}function T(e,t,r){var n=e<<32-r|t>>>r;return n>>>0}var A=r,S=e("inherits");A.toArray=n,A.toHex=o,A.htonl=s,A.toHex32=i,A.zero2=a,A.zero8=u,A.join32=l,A.split32=d,A.rotr32=c,A.rotl32=p,A.sum32=h,A.sum32_3=f,A.sum32_4=m,A.sum32_5=b,A.assert=v,A.inherits=S,r.sum64=_,r.sum64_hi=g,r.sum64_lo=y,r.sum64_4_hi=$,r.sum64_4_lo=w,r.sum64_5_hi=x,r.sum64_5_lo=E,r.rotr64_hi=P,r.rotr64_lo=C,r.shr64_hi=j,r.shr64_lo=T},{inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/package.json":[function(e,t,r){t.exports={name:"elliptic",version:"6.3.1",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{jscs:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",jshint:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",lint:"npm run jscs && npm run jshint",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git+ssh://git@github.com/indutny/elliptic.git"},keywords:["EC","Elliptic","curve","Cryptography"],author:{name:"Fedor Indutny",email:"fedor@indutny.com"},license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^1.4.3",coveralls:"^2.11.3",grunt:"^0.4.5","grunt-browserify":"^5.0.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^8.6.2",istanbul:"^0.4.2",jscs:"^2.9.0",jshint:"^2.6.0",mocha:"^2.1.0"},dependencies:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0",inherits:"^2.0.1"},gitHead:"c53f5cf3d832c0073eb4a4ed423a464cbce68f3e",_id:"elliptic@6.3.1",_shasum:"17781f2109ab0ec686b146bdcff5d2e8c6aeceda",_from:"elliptic@>=6.0.0 <7.0.0",_npmVersion:"3.8.6",_nodeVersion:"6.0.0",_npmUser:{name:"indutny",email:"fedor@indutny.com"},dist:{shasum:"17781f2109ab0ec686b146bdcff5d2e8c6aeceda",tarball:"https://registry.npmjs.org/elliptic/-/elliptic-6.3.1.tgz"},maintainers:[{name:"indutny",email:"fedor@indutny.com"}],_npmOperationalInternal:{host:"packages-16-east.internal.npmjs.com",tmp:"tmp/elliptic-6.3.1.tgz_1465921413402_0.5202967382501811"},directories:{},_resolved:"https://registry.npmjs.org/elliptic/-/elliptic-6.3.1.tgz"}},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/aesid.json":[function(e,t,r){t.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/asn1.js":[function(e,t,r){var n=e("asn1.js"),o=n.define("RSAPrivateKey",function(){this.seq().obj(this.key("version")["int"](),this.key("modulus")["int"](),this.key("publicExponent")["int"](),this.key("privateExponent")["int"](),this.key("prime1")["int"](),this.key("prime2")["int"](),this.key("exponent1")["int"](),this.key("exponent2")["int"](),this.key("coefficient")["int"]())});r.RSAPrivateKey=o;var s=n.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus")["int"](),this.key("publicExponent")["int"]())});r.RSAPublicKey=s;var i=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())});r.PublicKey=i;var a=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p")["int"](),this.key("q")["int"](),this.key("g")["int"]()).optional())}),u=n.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version")["int"](),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())});r.PrivateKey=u;var l=n.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters")["int"]())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});r.EncryptedPrivateKey=l;var d=n.define("DSAPrivateKey",function(){this.seq().obj(this.key("version")["int"](),this.key("p")["int"](),this.key("q")["int"](),this.key("g")["int"](),this.key("pub_key")["int"](),this.key("priv_key")["int"]())});r.DSAPrivateKey=d,r.DSAparam=n.define("DSAparam",function(){this["int"]()});var c=n.define("ECPrivateKey",function(){this.seq().obj(this.key("version")["int"](),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(p),this.key("publicKey").optional().explicit(1).bitstr())});r.ECPrivateKey=c;var p=n.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});r.signature=n.define("signature",function(){this.seq().obj(this.key("r")["int"](),this.key("s")["int"]())})},{"asn1.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/fixProc.js":[function(e,t,r){(function(r){var n=/Proc-Type: 4,ENCRYPTED\r?\nDEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)\r?\n\r?\n([0-9A-z\n\r\+\/\=]+)\r?\n/m,o=/^-----BEGIN (.*) KEY-----\r?\n/m,s=/^-----BEGIN (.*) KEY-----\r?\n([0-9A-z\n\r\+\/\=]+)\r?\n-----END \1 KEY-----$/m,i=e("evp_bytestokey"),a=e("browserify-aes");t.exports=function(e,t){var u,l=e.toString(),d=l.match(n);if(d){var c="aes"+d[1],p=new r(d[2],"hex"),h=new r(d[3].replace(/\r?\n/g,""),"base64"),f=i(t,p.slice(0,8),parseInt(d[1],10)).key,m=[],b=a.createDecipheriv(c,f,p);m.push(b.update(h)),m.push(b["final"]()),u=r.concat(m)}else{var v=l.match(s);u=new r(v[2].replace(/\r?\n/g,""),"base64")}var _=l.match(o)[1]+" KEY";return{tag:_,data:u}}}).call(this,e("buffer").Buffer)},{"browserify-aes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/browser.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js",evp_bytestokey:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/evp_bytestokey/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/index.js":[function(e,t,r){(function(r){function n(e){var t;"object"!=typeof e||r.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=new r(e));var n,i,u=a(e,t),l=u.tag,d=u.data;switch(l){case"PUBLIC KEY":switch(i=s.PublicKey.decode(d,"der"),n=i.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return s.RSAPublicKey.decode(i.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return i.subjectPrivateKey=i.subjectPublicKey,{type:"ec",data:i};case"1.2.840.10040.4.1":return i.algorithm.params.pub_key=s.DSAparam.decode(i.subjectPublicKey.data,"der"),{type:"dsa",data:i.algorithm.params};default:throw new Error("unknown key id "+n)}throw new Error("unknown key type "+l);case"ENCRYPTED PRIVATE KEY":d=s.EncryptedPrivateKey.decode(d,"der"),d=o(d,t);case"PRIVATE KEY":switch(i=s.PrivateKey.decode(d,"der"),n=i.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return s.RSAPrivateKey.decode(i.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:i.algorithm.curve,privateKey:s.ECPrivateKey.decode(i.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return i.algorithm.params.priv_key=s.DSAparam.decode(i.subjectPrivateKey,"der"),{type:"dsa",params:i.algorithm.params};default:throw new Error("unknown key id "+n)}throw new Error("unknown key type "+l);case"RSA PUBLIC KEY":return s.RSAPublicKey.decode(d,"der");case"RSA PRIVATE KEY":return s.RSAPrivateKey.decode(d,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:s.DSAPrivateKey.decode(d,"der")};case"EC PRIVATE KEY":return d=s.ECPrivateKey.decode(d,"der"),{curve:d.parameters.value,privateKey:d.privateKey};default:throw new Error("unknown key type "+l)}}function o(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,o=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),s=i[e.algorithm.decrypt.cipher.algo.join(".")],a=e.algorithm.decrypt.cipher.iv,d=e.subjectPrivateKey,c=parseInt(s.split("-")[1],10)/8,p=l.pbkdf2Sync(t,n,o,c),h=u.createDecipheriv(s,p,a),f=[];return f.push(h.update(d)),f.push(h["final"]()),r.concat(f)}var s=e("./asn1"),i=e("./aesid.json"),a=e("./fixProc"),u=e("browserify-aes"),l=e("pbkdf2");t.exports=n,n.signature=s.signature}).call(this,e("buffer").Buffer)},{"./aesid.json":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/aesid.json","./asn1":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/asn1.js","./fixProc":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/fixProc.js","browserify-aes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/browser.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js",pbkdf2:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/pbkdf2/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1.js":[function(e,t,r){var n=r;n.bignum=e("bn.js"),n.define=e("./asn1/api").define,n.base=e("./asn1/base"),n.constants=e("./asn1/constants"),n.decoders=e("./asn1/decoders"),n.encoders=e("./asn1/encoders")},{"./asn1/api":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/api.js", -"./asn1/base":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/index.js","./asn1/constants":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/constants/index.js","./asn1/decoders":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/decoders/index.js","./asn1/encoders":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/encoders/index.js","bn.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/bn.js/lib/bn.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/api.js":[function(e,t,r){function n(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}var o=e("../asn1"),s=e("inherits"),i=r;i.define=function(e,t){return new n(e,t)},n.prototype._createNamed=function(t){var r;try{r=e("vm").runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(n){r=function(e){this._initNamed(e)}}return s(r,t),r.prototype._initNamed=function(e){t.call(this,e)},new r(this)},n.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(o.decoders[e])),this.decoders[e]},n.prototype.decode=function(e,t,r){return this._getDecoder(t).decode(e,r)},n.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(o.encoders[e])),this.encoders[e]},n.prototype.encode=function(e,t,r){return this._getEncoder(t).encode(e,r)}},{"../asn1":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js",vm:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/vm-browserify/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/buffer.js":[function(e,t,r){function n(e,t){return i.call(this,t),a.isBuffer(e)?(this.base=e,this.offset=0,void(this.length=e.length)):void this.error("Input not Buffer")}function o(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(e){return e instanceof o||(e=new o(e,t)),this.length+=e.length,e},this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=a.byteLength(e);else{if(!a.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}var s=e("inherits"),i=e("../base").Reporter,a=e("buffer").Buffer;s(n,i),r.DecoderBuffer=n,n.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},n.prototype.restore=function(e){var t=new n(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,i.prototype.restore.call(this,e.reporter),t},n.prototype.isEmpty=function(){return this.offset===this.length},n.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},n.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var r=new n(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+e,this.offset+=e,r},n.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},r.EncoderBuffer=o,o.prototype.join=function(e,t){return e||(e=new a(this.length)),t||(t=0),0===this.length?e:(Array.isArray(this.value)?this.value.forEach(function(r){r.join(e,t),t+=r.length}):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):a.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length),e)}},{"../base":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/index.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/index.js":[function(e,t,r){var n=r;n.Reporter=e("./reporter").Reporter,n.DecoderBuffer=e("./buffer").DecoderBuffer,n.EncoderBuffer=e("./buffer").EncoderBuffer,n.Node=e("./node")},{"./buffer":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/buffer.js","./node":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/node.js","./reporter":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/reporter.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/node.js":[function(e,t,r){function n(e,t){var r={};this._baseState=r,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r["default"]=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}var o=e("../base").Reporter,s=e("../base").EncoderBuffer,i=e("../base").DecoderBuffer,a=e("minimalistic-assert"),u=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(u),d=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];t.exports=n;var c=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];n.prototype.clone=function(){var e=this._baseState,t={};c.forEach(function(r){t[r]=e[r]});var r=new this.constructor(t.parent);return r._baseState=t,r},n.prototype._wrap=function(){var e=this._baseState;l.forEach(function(t){this[t]=function(){var r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}},this)},n.prototype._init=function(e){var t=this._baseState;a(null===t.parent),e.call(this),t.children=t.children.filter(function(e){return e._baseState.parent===this},this),a.equal(t.children.length,1,"Root node can have only one child")},n.prototype._useArgs=function(e){var t=this._baseState,r=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this),0!==r.length&&(a(null===t.children),t.children=r,r.forEach(function(e){e._baseState.parent=this},this)),0!==e.length&&(a(null===t.args),t.args=e,t.reverseArgs=e.map(function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach(function(r){r==(0|r)&&(r|=0);var n=e[r];t[n]=r}),t}))},d.forEach(function(e){n.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}}),u.forEach(function(e){n.prototype[e]=function(){var t=this._baseState,r=Array.prototype.slice.call(arguments);return a(null===t.tag),t.tag=e,this._useArgs(r),this}}),n.prototype.use=function(e){var t=this._baseState;return a(null===t.use),t.use=e,this},n.prototype.optional=function(){var e=this._baseState;return e.optional=!0,this},n.prototype.def=function(e){var t=this._baseState;return a(null===t["default"]),t["default"]=e,t.optional=!0,this},n.prototype.explicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.explicit=e,this},n.prototype.implicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.implicit=e,this},n.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},n.prototype.key=function(e){var t=this._baseState;return a(null===t.key),t.key=e,this},n.prototype.any=function(){var e=this._baseState;return e.any=!0,this},n.prototype.choice=function(e){var t=this._baseState;return a(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map(function(t){return e[t]})),this},n.prototype.contains=function(e){var t=this._baseState;return a(null===t.use),t.contains=e,this},n.prototype._decode=function(e,t){var r=this._baseState;if(null===r.parent)return e.wrapResult(r.children[0]._decode(e,t));var n=r["default"],o=!0,s=null;if(null!==r.key&&(s=e.enterKey(r.key)),r.optional){var a=null;if(null!==r.explicit?a=r.explicit:null!==r.implicit?a=r.implicit:null!==r.tag&&(a=r.tag),null!==a||r.any){if(o=this._peekTag(e,a,r.any),e.isError(o))return o}else{var u=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),o=!0}catch(l){o=!1}e.restore(u)}}var d;if(r.obj&&o&&(d=e.enterObject()),o){if(null!==r.explicit){var c=this._decodeTag(e,r.explicit);if(e.isError(c))return c;e=c}var p=e.offset;if(null===r.use&&null===r.choice){if(r.any)var u=e.save();var h=this._decodeTag(e,null!==r.implicit?r.implicit:r.tag,r.any);if(e.isError(h))return h;r.any?n=e.raw(u):e=h}if(t&&t.track&&null!==r.tag&&t.track(e.path(),p,e.length,"tagged"),t&&t.track&&null!==r.tag&&t.track(e.path(),e.offset,e.length,"content"),n=r.any?n:null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),e.isError(n))return n;if(r.any||null!==r.choice||null===r.children||r.children.forEach(function(r){r._decode(e,t)}),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var f=new i(n);n=this._getUse(r.contains,e._reporterState.obj)._decode(f,t)}}return r.obj&&o&&(n=e.leaveObject(d)),null===r.key||null===n&&o!==!0?null!==s&&e.exitKey(s):e.leaveKey(s,r.key,n),n},n.prototype._decodeGeneric=function(e,t,r){var n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],r):/str$/.test(e)?this._decodeStr(t,e,r):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],r):"objid"===e?this._decodeObjid(t,null,null,r):"gentime"===e||"utctime"===e?this._decodeTime(t,e,r):"null_"===e?this._decodeNull(t,r):"bool"===e?this._decodeBool(t,r):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},n.prototype._getUse=function(e,t){var r=this._baseState;return r.useDecoder=this._use(e,t),a(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},n.prototype._decodeChoice=function(e,t){var r=this._baseState,n=null,o=!1;return Object.keys(r.choice).some(function(s){var i=e.save(),a=r.choice[s];try{var u=a._decode(e,t);if(e.isError(u))return!1;n={type:s,value:u},o=!0}catch(l){return e.restore(i),!1}return!0},this),o?n:e.error("Choice not matched")},n.prototype._createEncoderBuffer=function(e){return new s(e,this.reporter)},n.prototype._encode=function(e,t,r){var n=this._baseState;if(null===n["default"]||n["default"]!==e){var o=this._encodeValue(e,t,r);if(void 0!==o&&!this._skipDefault(o,t,r))return o}},n.prototype._encodeValue=function(e,t,r){var n=this._baseState;if(null===n.parent)return n.children[0]._encode(e,t||new o);var s=null;if(this.reporter=t,n.optional&&void 0===e){if(null===n["default"])return;e=n["default"]}var i=null,a=!1;if(n.any)s=this._createEncoderBuffer(e);else if(n.choice)s=this._encodeChoice(e,t);else if(n.contains)i=this._getUse(n.contains,r)._encode(e,t),a=!0;else if(n.children)i=n.children.map(function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");var n=t.enterKey(r._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var o=r._encode(e[r._baseState.key],t,e);return t.leaveKey(n),o},this).filter(function(e){return e}),i=this._createEncoderBuffer(i);else if("seqof"===n.tag||"setof"===n.tag){if(!n.args||1!==n.args.length)return t.error("Too many args for : "+n.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var u=this.clone();u._baseState.implicit=null,i=this._createEncoderBuffer(e.map(function(r){var n=this._baseState;return this._getUse(n.args[0],e)._encode(r,t)},u))}else null!==n.use?s=this._getUse(n.use,r)._encode(e,t):(i=this._encodePrimitive(n.tag,e),a=!0);var s;if(!n.any&&null===n.choice){var l=null!==n.implicit?n.implicit:n.tag,d=null===n.implicit?"universal":"context";null===l?null===n.use&&t.error("Tag could be ommited only for .use()"):null===n.use&&(s=this._encodeComposite(l,a,d,i))}return null!==n.explicit&&(s=this._encodeComposite(n.explicit,!1,"context",s)),s},n.prototype._encodeChoice=function(e,t){var r=this._baseState,n=r.choice[e.type];return n||a(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(e.value,t)},n.prototype._encodePrimitive=function(e,t){var r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);throw new Error("Unsupported tag: "+e)},n.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},n.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},{"../base":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/index.js","minimalistic-assert":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/node_modules/minimalistic-assert/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/reporter.js":[function(e,t,r){function n(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function o(e,t){this.path=e,this.rethrow(t)}var s=e("inherits");r.Reporter=n,n.prototype.isError=function(e){return e instanceof o},n.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},n.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},n.prototype.enterKey=function(e){return this._reporterState.path.push(e)},n.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},n.prototype.leaveKey=function(e,t,r){var n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=r)},n.prototype.path=function(){return this._reporterState.path.join("/")},n.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},n.prototype.leaveObject=function(e){var t=this._reporterState,r=t.obj;return t.obj=e,r},n.prototype.error=function(e){var t,r=this._reporterState,n=e instanceof o;if(t=n?e:new o(r.path.map(function(e){return"["+JSON.stringify(e)+"]"}).join(""),e.message||e,e.stack),!r.options.partial)throw t;return n||r.errors.push(t),t},n.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},s(o,Error),o.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},{inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/constants/der.js":[function(e,t,r){var n=e("../constants");r.tagClass={0:"universal",1:"application",2:"context",3:"private"},r.tagClassByName=n._reverse(r.tagClass),r.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},r.tagByName=n._reverse(r.tag)},{"../constants":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/constants/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/constants/index.js":[function(e,t,r){var n=r;n._reverse=function(e){var t={};return Object.keys(e).forEach(function(r){(0|r)==r&&(r=0|r);var n=e[r];t[n]=r}),t},n.der=e("./der")},{"./der":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/constants/der.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/decoders/der.js":[function(e,t,r){function n(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new o,this.tree._init(e.body)}function o(e){l.Node.call(this,"der",e)}function s(e,t){var r=e.readUInt8(t);if(e.isError(r))return r;var n=c.tagClass[r>>6],o=0===(32&r);if(31===(31&r)){var s=r;for(r=0;128===(128&s);){if(s=e.readUInt8(t),e.isError(s))return s;r<<=7,r|=127&s}}else r&=31;var i=c.tag[r];return{cls:n,primitive:o,tag:r,tagStr:i}}function i(e,t,r){var n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(0===(128&n))return n;var o=127&n;if(o>=4)return e.error("length octect is too long");n=0;for(var s=0;s=31?n.error("Multi-octet tag encoding unsupported"):(t||(o|=32),o|=c.tagClassByName[r||"universal"]<<6)}var a=e("inherits"),u=e("buffer").Buffer,l=e("../../asn1"),d=l.base,c=l.constants.der;t.exports=n,n.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},a(o,d.Node),o.prototype._encodeComposite=function(e,t,r,n){var o=i(e,t,r,this.reporter);if(n.length<128){var s=new u(2);return s[0]=o,s[1]=n.length,this._createEncoderBuffer([s,n])}for(var a=1,l=n.length;l>=256;l>>=8)a++;var s=new u(2+a);s[0]=o,s[1]=128|a;for(var l=1+a,d=n.length;d>0;l--,d>>=8)s[l]=255&d;return this._createEncoderBuffer([s,n])},o.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var r=new u(2*e.length),n=0;n=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}for(var o=0,n=0;n=128;s>>=7)o++}for(var i=new u(o),a=i.length-1,n=e.length-1;n>=0;n--){var s=e[n];for(i[a--]=127&s;(s>>=7)>0;)i[a--]=128|127&s}return this._createEncoderBuffer(i)},o.prototype._encodeTime=function(e,t){var r,n=new Date(e);return"gentime"===t?r=[s(n.getFullYear()),s(n.getUTCMonth()+1),s(n.getUTCDate()),s(n.getUTCHours()),s(n.getUTCMinutes()),s(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[s(n.getFullYear()%100),s(n.getUTCMonth()+1),s(n.getUTCDate()),s(n.getUTCHours()),s(n.getUTCMinutes()),s(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},o.prototype._encodeNull=function(){return this._createEncoderBuffer("")},o.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!u.isBuffer(e)){var r=e.toArray();!e.sign&&128&r[0]&&r.unshift(0),e=new u(r)}if(u.isBuffer(e)){var n=e.length;0===e.length&&n++;var o=new u(n);return e.copy(o),0===e.length&&(o[0]=0),this._createEncoderBuffer(o)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);for(var n=1,s=e;s>=256;s>>=8)n++;for(var o=new Array(n),s=o.length-1;s>=0;s--)o[s]=255&e,e>>=8;return 128&o[0]&&o.unshift(0),this._createEncoderBuffer(new u(o))},o.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},o.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},o.prototype._skipDefault=function(e,t,r){var n,o=this._baseState;if(null===o["default"])return!1;var s=e.join();if(void 0===o.defaultBuffer&&(o.defaultBuffer=this._encodeValue(o["default"],t,r).join()),s.length!==o.defaultBuffer.length)return!1;for(n=0;na||e<0?(r=Math.abs(e)%a,e<0?a-r:r):e}function n(e){for(var t=0;t>>8^255&r^99,this.SBOX[o]=r,this.INV_SBOX[r]=o,s=e[o],i=e[s],a=e[i],n=257*e[r]^16843008*r,this.SUB_MIX[0][o]=n<<24|n>>>8,this.SUB_MIX[1][o]=n<<16|n>>>16,this.SUB_MIX[2][o]=n<<8|n>>>24,this.SUB_MIX[3][o]=n,n=16843009*a^65537*i^257*s^16843008*o,this.INV_SUB_MIX[0][r]=n<<24|n>>>8,this.INV_SUB_MIX[1][r]=n<<16|n>>>16,this.INV_SUB_MIX[2][r]=n<<8|n>>>24,this.INV_SUB_MIX[3][r]=n,0===o?o=u=1:(o=s^e[e[e[a^s]]],u^=e[e[u]]);return!0};var u=new o;i.blockSize=16,i.prototype.blockSize=i.blockSize,i.keySize=32,i.prototype.keySize=i.keySize,i.prototype._doReset=function(){var e,t,r,n,o,s;for(r=this._key,t=r.length,this._nRounds=t+6,o=4*(this._nRounds+1),this._keySchedule=[],n=0;n>>24,s=u.SBOX[s>>>24]<<24|u.SBOX[s>>>16&255]<<16|u.SBOX[s>>>8&255]<<8|u.SBOX[255&s],s^=u.RCON[n/t|0]<<24):t>6&&n%t===4?s=u.SBOX[s>>>24]<<24|u.SBOX[s>>>16&255]<<16|u.SBOX[s>>>8&255]<<8|u.SBOX[255&s]:void 0,this._keySchedule[n-t]^s);for(this._invKeySchedule=[],e=0;e>>24]]^u.INV_SUB_MIX[1][u.SBOX[s>>>16&255]]^u.INV_SUB_MIX[2][u.SBOX[s>>>8&255]]^u.INV_SUB_MIX[3][u.SBOX[255&s]];return!0},i.prototype.encryptBlock=function(t){t=s(new e(t));var r=this._doCryptBlock(t,this._keySchedule,u.SUB_MIX,u.SBOX),n=new e(16);return n.writeUInt32BE(r[0],0),n.writeUInt32BE(r[1],4),n.writeUInt32BE(r[2],8),n.writeUInt32BE(r[3],12),n},i.prototype.decryptBlock=function(t){t=s(new e(t));var r=[t[3],t[1]];t[1]=r[0],t[3]=r[1];var n=this._doCryptBlock(t,this._invKeySchedule,u.INV_SUB_MIX,u.INV_SBOX),o=new e(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},i.prototype.scrub=function(){n(this._keySchedule),n(this._invKeySchedule),n(this._key)},i.prototype._doCryptBlock=function(e,r,n,o){var s,i,a,u,l,d,c,p,h;i=e[0]^r[0],a=e[1]^r[1],u=e[2]^r[2],l=e[3]^r[3],s=4;for(var f=1;f>>24]^n[1][a>>>16&255]^n[2][u>>>8&255]^n[3][255&l]^r[s++],c=n[0][a>>>24]^n[1][u>>>16&255]^n[2][l>>>8&255]^n[3][255&i]^r[s++],p=n[0][u>>>24]^n[1][l>>>16&255]^n[2][i>>>8&255]^n[3][255&a]^r[s++],h=n[0][l>>>24]^n[1][i>>>16&255]^n[2][a>>>8&255]^n[3][255&u]^r[s++],i=d,a=c,u=p,l=h;return d=(o[i>>>24]<<24|o[a>>>16&255]<<16|o[u>>>8&255]<<8|o[255&l])^r[s++],c=(o[a>>>24]<<24|o[u>>>16&255]<<16|o[l>>>8&255]<<8|o[255&i])^r[s++],p=(o[u>>>24]<<24|o[l>>>16&255]<<16|o[i>>>8&255]<<8|o[255&a])^r[s++],h=(o[l>>>24]<<24|o[i>>>16&255]<<16|o[a>>>8&255]<<8|o[255&u])^r[s++],[t(d),t(c),t(p),t(h)]},r.AES=i}).call(this,e("buffer").Buffer)},{buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/authCipher.js":[function(e,t,r){(function(r){function n(e,t,o,a){if(!(this instanceof n))return new n(e,t,o);i.call(this),this._finID=r.concat([o,new r([0,0,0,1])]),o=r.concat([o,new r([0,0,0,2])]),this._cipher=new s.AES(t),this._prev=new r(o.length),this._cache=new r(""),this._secCache=new r(""),this._decrypt=a,this._alen=0,this._len=0,o.copy(this._prev),this._mode=e;var l=new r(4);l.fill(0),this._ghash=new u(this._cipher.encryptBlock(l)),this._authTag=null,this._called=!1}function o(e,t){var r=0;e.length!==t.length&&r++;for(var n=Math.min(e.length,t.length),o=-1;++o16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},o.prototype.flush=function(){if(this.cache.length)return this.cache};var m={ECB:e("./modes/ecb"),CBC:e("./modes/cbc"),CFB:e("./modes/cfb"),CFB8:e("./modes/cfb8"),CFB1:e("./modes/cfb1"),OFB:e("./modes/ofb"),CTR:e("./modes/ctr"),GCM:e("./modes/ctr")};r.createDecipher=a,r.createDecipheriv=i}).call(this,e("buffer").Buffer)},{"./aes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/aes.js","./authCipher":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/authCipher.js","./modes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/modes.js","./modes/cbc":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/modes/cbc.js","./modes/cfb":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/modes/cfb.js","./modes/cfb1":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/modes/cfb1.js","./modes/cfb8":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/modes/cfb8.js","./modes/ctr":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/modes/ctr.js","./modes/ecb":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/modes/ecb.js","./modes/ofb":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/modes/ofb.js","./streamCipher":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/streamCipher.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js","cipher-base":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/node_modules/cipher-base/index.js",evp_bytestokey:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/evp_bytestokey/index.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/encrypter.js":[function(e,t,r){(function(t){function n(e,r,s){return this instanceof n?(u.call(this),this._cache=new o,this._cipher=new a.AES(r),this._prev=new t(s.length),s.copy(this._prev),this._mode=e,void(this._autopadding=!0)):new n(e,r,s)}function o(){return this instanceof o?void(this.cache=new t("")):new o}function s(e,r,o){var s=d[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof o&&(o=new t(o)),"string"==typeof r&&(r=new t(r)),r.length!==s.key/8)throw new TypeError("invalid key length "+r.length);if(o.length!==s.iv)throw new TypeError("invalid iv length "+o.length);return"stream"===s.type?new p(f[s.mode],r,o):"auth"===s.type?new h(f[s.mode],r,o):new n(f[s.mode],r,o)}function i(e,t){var r=d[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=c(t,!1,r.key,r.iv);return s(e,n.key,n.iv)}var a=e("./aes"),u=e("cipher-base"),l=e("inherits"),d=e("./modes"),c=e("evp_bytestokey"),p=e("./streamCipher"),h=e("./authCipher");l(n,u),n.prototype._update=function(e){this._cache.add(e);for(var r,n,o=[];r=this._cache.get();)n=this._mode.encrypt(this,r),o.push(n);return t.concat(o)},n.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if("10101010101010101010101010101010"!==e.toString("hex"))throw this._cipher.scrub(),new Error("data not multiple of block length")},n.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},o.prototype.add=function(e){this.cache=t.concat([this.cache,e])},o.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},o.prototype.flush=function(){for(var e=16-this.cache.length,r=new t(e),n=-1;++nu||e<0?(r=Math.abs(e)%u,e<0?u-r:r):e}function i(e,t){return[e[0]^t[0],e[1]^t[1],e[2]^t[2],e[3]^t[3]]}var a=new e(16);a.fill(0),t.exports=r,r.prototype.ghash=function(e){for(var t=-1;++t0;e--)s[e]=s[e]>>>1|(1&s[e-1])<<31;s[0]=s[0]>>>1,r&&(s[0]=s[0]^225<<24)}this.state=o(a)},r.prototype.update=function(t){this.cache=e.concat([this.cache,t]);for(var r;this.cache.length>=16;)r=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(r)},r.prototype["final"]=function(t,r){return this.cache.length&&this.ghash(e.concat([this.cache,a],16)),this.ghash(o([0,t,0,r])),this.state};var u=Math.pow(2,32)}).call(this,e("buffer").Buffer)},{buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/modes.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/modes.js"][0].apply(r,arguments)},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/modes/cbc.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/modes/cbc.js"][0].apply(r,arguments)},{"buffer-xor":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/node_modules/buffer-xor/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/modes/cfb.js":[function(e,t,r){(function(t){function n(e,r,n){var s=r.length,i=o(r,e._cache);return e._cache=e._cache.slice(s),e._prev=t.concat([e._prev,n?r:i]),i}var o=e("buffer-xor");r.encrypt=function(e,r,o){for(var s,i=new t("");r.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=new t("")),!(e._cache.length<=r.length)){i=t.concat([i,n(e,r,o)]);break}s=e._cache.length,i=t.concat([i,n(e,r.slice(0,s),o)]),r=r.slice(s)}return i}}).call(this,e("buffer").Buffer)},{buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js","buffer-xor":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/node_modules/buffer-xor/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/browserify-aes/modes/cfb1.js":[function(e,t,r){(function(e){function t(e,t,r){for(var o,s,i,a=-1,u=8,l=0;++a>a%8,e._prev=n(e._prev,r?s:i);return l}function n(t,r){var n=t.length,o=-1,s=new e(t.length);for(t=e.concat([t,new e([r])]);++o>7;return s}r.encrypt=function(r,n,o){for(var s=n.length,i=new e(s),a=-1;++a0&&h.push(i),h.push(e),t&&h.push(t),i=o(r.concat(h)),h=[],a=0,n>0)for(;;){if(0===n)break;if(a===i.length)break;d[u++]=i[a],n--,a++}if(s>0&&a!==i.length)for(;;){if(0===s)break;if(a===i.length)break;c[l++]=i[a],s--,a++}if(0===n&&0===s)break}for(a=0;a0&&r.ishrn(n),r}function l(e,t){e=u(e,t),e=e.mod(t);var n=new r(e.toArray());if(n.length=t)throw new Error("invalid sig")}var a=e("./curves"),u=e("elliptic"),l=e("parse-asn1"),d=e("bn.js"),c=u.ec;t.exports=n}).call(this,e("buffer").Buffer)},{"./curves":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/curves.js","bn.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/bn.js/lib/bn.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js",elliptic:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/elliptic/lib/elliptic.js","parse-asn1":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-ecdh/browser.js":[function(e,t,r){(function(r){function n(e){this.curveType=a[e],this.curveType||(this.curveType={name:e}),this.curve=new s.ec(this.curveType.name),this.keys=void 0}function o(e,t,n){Array.isArray(e)||(e=e.toArray());var o=new r(e);if(n&&o.length>5]|=128<>>9<<4)+14]=t;for(var r=1732584193,n=-271733879,o=-1732584194,d=271733878,c=0;c>16)+(t>>16)+(r>>16);return n<<16|65535&r}function d(e,t){return e<>>32-t}var c=e("./helpers");t.exports=function(e){return c.hash(e,n,16)}},{"./helpers":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/helpers.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/cipher-base/index.js":[function(e,t,r){(function(r){function n(e){o.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this["final"]=this._finalOrDigest,this._decoder=null,this._encoding=null}var o=e("stream").Transform,s=e("inherits"),i=e("string_decoder").StringDecoder;t.exports=n,s(n,o),n.prototype.update=function(e,t,n){"string"==typeof e&&(e=new r(e,t));var o=this._update(e);return this.hashMode?this:(n&&(o=this._toString(o,n)),o)},n.prototype.setAutoPadding=function(){},n.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},n.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},n.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},n.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(o){n=o}finally{r(n)}},n.prototype._flush=function(e){var t;try{this.push(this._final())}catch(r){t=r}finally{e(t)}},n.prototype._finalOrDigest=function(e){var t=this._final()||new r("");return e&&(t=this._toString(t,e,!0)),t},n.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new i(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n}}).call(this,e("buffer").Buffer)},{buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js",stream:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/stream-browserify/index.js",string_decoder:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/string_decoder/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/ripemd160/lib/ripemd160.js":[function(e,t,r){(function(e){function r(e){for(var t=[],r=0,n=0;r>>5]|=e[r]<<24-n%32;return t}function n(e){for(var t=[],r=0;r<32*e.length;r+=8)t.push(e[r>>>5]>>>24-r%32&255);return t}function o(e,t,r){for(var n=0;n<16;n++){var o=r+n,c=t[o];t[o]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}var _,g,y,$,w,x,E,P,C,j;x=_=e[0],E=g=e[1],P=y=e[2],C=$=e[3],j=w=e[4];var T;for(n=0;n<80;n+=1)T=_+t[r+p[n]]|0,T+=n<16?s(g,y,$)+b[0]:n<32?i(g,y,$)+b[1]:n<48?a(g,y,$)+b[2]:n<64?u(g,y,$)+b[3]:l(g,y,$)+b[4],T=0|T,T=d(T,f[n]),T=T+w|0,_=w,w=$,$=d(y,10),y=g,g=T,T=x+t[r+h[n]]|0,T+=n<16?l(E,P,C)+v[0]:n<32?u(E,P,C)+v[1]:n<48?a(E,P,C)+v[2]:n<64?i(E,P,C)+v[3]:s(E,P,C)+v[4],T=0|T,T=d(T,m[n]),T=T+j|0,x=j,j=C,C=d(P,10),P=E,E=T;T=e[1]+y+C|0,e[1]=e[2]+$+j|0,e[2]=e[3]+w+x|0,e[3]=e[4]+_+E|0,e[4]=e[0]+g+P|0,e[0]=T}function s(e,t,r){return e^t^r}function i(e,t,r){return e&t|~e&r}function a(e,t,r){return(e|~t)^r}function u(e,t,r){return e&r|t&~r}function l(e,t,r){return e^(t|~r)}function d(e,t){return e<>>32-t}function c(t){var s=[1732584193,4023233417,2562383102,271733878,3285377520];"string"==typeof t&&(t=new e(t,"utf8"));var i=r(t),a=8*t.length,u=8*t.length;i[a>>>5]|=128<<24-a%32,i[(a+64>>>9<<4)+14]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8);for(var l=0;l>>24)|4278255360&(d<<24|d>>>8)}var c=n(s);return new e(c)}var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],h=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],f=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],m=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],b=[0,1518500249,1859775393,2400959708,2840853838],v=[1352829926,1548603684,1836072691,2053994217,0];t.exports=c}).call(this,e("buffer").Buffer)},{buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/hash.js":[function(e,t,r){(function(e){function r(t,r){this._block=new e(t),this._finalSize=r,this._blockSize=t,this._len=0,this._s=0}r.prototype.update=function(t,r){"string"==typeof t&&(r=r||"utf8",t=new e(t,r));for(var n=this._len+=t.length,o=this._s||0,s=0,i=this._block;o=8*this._finalSize&&(this._update(this._block),this._block.fill(0)),this._block.writeInt32BE(t,this._blockSize-4);var r=this._update(this._block)||this._hash();return e?r.toString(e):r},r.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=r}).call(this,e("buffer").Buffer)},{buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/index.js":[function(e,t,r){var r=t.exports=function(e){e=e.toLowerCase();var t=r[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t};r.sha=e("./sha"),r.sha1=e("./sha1"),r.sha224=e("./sha224"),r.sha256=e("./sha256"),r.sha384=e("./sha384"),r.sha512=e("./sha512")},{"./sha":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/sha.js","./sha1":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/sha1.js","./sha224":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/sha224.js","./sha256":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/sha256.js","./sha384":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/sha384.js","./sha512":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/sha512.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/sha.js":[function(e,t,r){(function(r){function n(){this.init(),this._w=d,u.call(this,64,56)}function o(e){return e<<5|e>>>27}function s(e){return e<<30|e>>>2}function i(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}var a=e("inherits"),u=e("./hash"),l=[1518500249,1859775393,-1894007588,-899497514],d=new Array(80);a(n,u),n.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},n.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,a=0|this._c,u=0|this._d,d=0|this._e,c=0;c<16;++c)t[c]=e.readInt32BE(4*c);for(;c<80;++c)t[c]=t[c-3]^t[c-8]^t[c-14]^t[c-16];for(var p=0;p<80;++p){var h=~~(p/20),f=o(r)+i(h,n,a,u)+d+t[p]+l[h]|0;d=u,u=a,a=s(n),n=r,r=f}this._a=r+this._a|0,this._b=n+this._b|0,this._c=a+this._c|0,this._d=u+this._d|0,this._e=d+this._e|0},n.prototype._hash=function(){var e=new r(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=n}).call(this,e("buffer").Buffer)},{"./hash":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/hash.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/sha1.js":[function(e,t,r){(function(r){function n(){this.init(),this._w=c,l.call(this,64,56)}function o(e){return e<<1|e>>>31}function s(e){return e<<5|e>>>27}function i(e){return e<<30|e>>>2}function a(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}var u=e("inherits"),l=e("./hash"),d=[1518500249,1859775393,-1894007588,-899497514],c=new Array(80);u(n,l),n.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},n.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,u=0|this._c,l=0|this._d,c=0|this._e,p=0;p<16;++p)t[p]=e.readInt32BE(4*p);for(;p<80;++p)t[p]=o(t[p-3]^t[p-8]^t[p-14]^t[p-16]);for(var h=0;h<80;++h){var f=~~(h/20),m=s(r)+a(f,n,u,l)+c+t[h]+d[f]|0;c=l,l=u,u=i(n),n=r,r=m}this._a=r+this._a|0,this._b=n+this._b|0,this._c=u+this._c|0,this._d=l+this._d|0,this._e=c+this._e|0},n.prototype._hash=function(){var e=new r(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=n}).call(this,e("buffer").Buffer)},{"./hash":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/hash.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/sha224.js":[function(e,t,r){(function(r){function n(){this.init(),this._w=a,i.call(this,64,56)}var o=e("inherits"),s=e("./sha256"),i=e("./hash"),a=new Array(64);o(n,s),n.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},n.prototype._hash=function(){var e=new r(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},t.exports=n}).call(this,e("buffer").Buffer)},{"./hash":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/hash.js","./sha256":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/sha256.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/sha256.js":[function(e,t,r){(function(r){function n(){this.init(),this._w=h,c.call(this,64,56)}function o(e,t,r){return r^e&(t^r)}function s(e,t,r){return e&t|r&(e|t)}function i(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function a(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function u(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function l(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}var d=e("inherits"),c=e("./hash"),p=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],h=new Array(64);d(n,c),n.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},n.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,d=0|this._c,c=0|this._d,h=0|this._e,f=0|this._f,m=0|this._g,b=0|this._h,v=0;v<16;++v)t[v]=e.readInt32BE(4*v);for(;v<64;++v)t[v]=l(t[v-2])+t[v-7]+u(t[v-15])+t[v-16]|0;for(var _=0;_<64;++_){var g=b+a(h)+o(h,f,m)+p[_]+t[_]|0,y=i(r)+s(r,n,d)|0;b=m,m=f,f=h,h=c+g|0,c=d,d=n,n=r,r=g+y|0}this._a=r+this._a|0,this._b=n+this._b|0,this._c=d+this._c|0,this._d=c+this._d|0,this._e=h+this._e|0,this._f=f+this._f|0,this._g=m+this._g|0,this._h=b+this._h|0},n.prototype._hash=function(){var e=new r(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},t.exports=n}).call(this,e("buffer").Buffer)},{"./hash":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/hash.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/sha384.js":[function(e,t,r){(function(r){function n(){this.init(),this._w=a,i.call(this,128,112)}var o=e("inherits"),s=e("./sha512"),i=e("./hash"),a=new Array(160);o(n,s),n.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},n.prototype._hash=function(){function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}var t=new r(48);return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=n}).call(this,e("buffer").Buffer)},{"./hash":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/hash.js","./sha512":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/sha512.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/sha512.js":[function(e,t,r){(function(r){function n(){this.init(),this._w=b,f.call(this,128,112)}function o(e,t,r){return r^e&(t^r)}function s(e,t,r){return e&t|r&(e|t)}function i(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function a(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function u(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function l(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function d(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function c(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function p(e,t){return e>>>0>>0?1:0}var h=e("inherits"),f=e("./hash"),m=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],b=new Array(160);h(n,f),n.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},n.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,h=0|this._ch,f=0|this._dh,b=0|this._eh,v=0|this._fh,_=0|this._gh,g=0|this._hh,y=0|this._al,$=0|this._bl,w=0|this._cl,x=0|this._dl,E=0|this._el,P=0|this._fl,C=0|this._gl,j=0|this._hl,T=0;T<32;T+=2)t[T]=e.readInt32BE(4*T),t[T+1]=e.readInt32BE(4*T+4);for(;T<160;T+=2){var A=t[T-30],S=t[T-30+1],k=u(A,S),D=l(S,A);A=t[T-4],S=t[T-4+1];var O=d(A,S),H=c(S,A),F=t[T-14],M=t[T-14+1],R=t[T-32],B=t[T-32+1],I=D+M|0,N=k+F+p(I,D)|0;I=I+H|0,N=N+O+p(I,H)|0,I=I+B|0,N=N+R+p(I,B)|0,t[T]=N,t[T+1]=I}for(var L=0;L<160;L+=2){N=t[L],I=t[L+1];var q=s(r,n,h),U=s(y,$,w),z=i(r,y),W=i(y,r),V=a(b,E),G=a(E,b),K=m[L],Y=m[L+1],X=o(b,v,_),Z=o(E,P,C),J=j+G|0,Q=g+V+p(J,j)|0;J=J+Z|0,Q=Q+X+p(J,Z)|0,J=J+Y|0,Q=Q+K+p(J,Y)|0,J=J+I|0,Q=Q+N+p(J,I)|0;var ee=W+U|0,te=z+q+p(ee,W)|0;g=_,j=C,_=v,C=P,v=b,P=E,E=x+J|0,b=f+Q+p(E,x)|0,f=h,x=w,h=n,w=$,n=r,$=y,y=J+ee|0,r=Q+te+p(y,J)|0}this._al=this._al+y|0,this._bl=this._bl+$|0,this._cl=this._cl+w|0,this._dl=this._dl+x|0,this._el=this._el+E|0,this._fl=this._fl+P|0,this._gl=this._gl+C|0,this._hl=this._hl+j|0,this._ah=this._ah+r+p(this._al,y)|0,this._bh=this._bh+n+p(this._bl,$)|0,this._ch=this._ch+h+p(this._cl,w)|0,this._dh=this._dh+f+p(this._dl,x)|0,this._eh=this._eh+b+p(this._el,E)|0,this._fh=this._fh+v+p(this._fl,P)|0,this._gh=this._gh+_+p(this._gl,C)|0,this._hh=this._hh+g+p(this._hl,j)|0},n.prototype._hash=function(){function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}var t=new r(64);return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=n}).call(this,e("buffer").Buffer)},{"./hash":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/node_modules/sha.js/hash.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hmac/browser.js":[function(e,t,r){(function(r){"use strict";function n(e,t){i.call(this),e=e.toLowerCase(),"string"==typeof t&&(t=new r(t));var n="sha512"===e||"sha384"===e?128:64;this._alg=e,this._key=t,t.length>n?t=o(e).update(t).digest():t.lengthe;)r.ishrn(1);if(r.isEven()&&r.iadd(p),r.testn(1)||r.iadd(h),t.cmp(h)){if(!t.cmp(f))for(;r.mod(m).cmp(b);)r.iadd(_)}else for(;r.mod(l).cmp(v);)r.iadd(_);if(n=r.shrn(1),o(n)&&o(r)&&s(n)&&s(r)&&c.test(n)&&c.test(r))return r}}var a=e("randombytes");t.exports=i,i.simpleSieve=o,i.fermatTest=s;var u=e("bn.js"),l=new u(24),d=e("miller-rabin"),c=new d,p=new u(1),h=new u(2),f=new u(5),m=(new u(16),new u(8),new u(10)),b=new u(3),v=(new u(7),new u(11)),_=new u(4),g=(new u(12),null)},{"bn.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/diffie-hellman/node_modules/bn.js/lib/bn.js","miller-rabin":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/diffie-hellman/node_modules/miller-rabin/lib/mr.js",randombytes:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/randombytes/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/diffie-hellman/lib/primes.json":[function(e,t,r){t.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff" -},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/diffie-hellman/node_modules/bn.js/lib/bn.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/bn.js/lib/bn.js"][0].apply(r,arguments)},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/diffie-hellman/node_modules/miller-rabin/lib/mr.js":[function(e,t,r){function n(e){this.rand=e||new s.Rand}var o=e("bn.js"),s=e("brorand");t.exports=n,n.create=function(e){return new n(e)},n.prototype._rand=function(e){var t=e.bitLength(),r=this.rand.generate(Math.ceil(t/8));r[0]|=3;var n=7&t;return 0!==n&&(r[r.length-1]>>=7-n),new o(r)},n.prototype.test=function(e,t,r){var n=e.bitLength(),s=o.mont(e),i=new o(1).toRed(s);t||(t=Math.max(1,n/48|0));for(var a=e.subn(1),u=a.subn(1),l=0;!a.testn(l);l++);for(var d=e.shrn(l),c=a.toRed(s),p=!0;t>0;t--){var h=this._rand(u);r&&r(h);var f=h.toRed(s).redPow(d);if(0!==f.cmp(i)&&0!==f.cmp(c)){for(var m=1;m0;t--){var c=this._rand(a),p=e.gcd(c);if(0!==p.cmpn(1))return p;var h=c.toRed(n).redPow(l);if(0!==h.cmp(s)&&0!==h.cmp(d)){for(var f=1;fi)throw new TypeError("Bad key length");a=a||"sha1",t.isBuffer(e)||(e=new t(e,"binary")),t.isBuffer(r)||(r=new t(r,"binary"));var u,l=1,d=new t(o),c=new t(r.length+4);r.copy(c,0,0,r.length);for(var p,h,f=1;f<=l;f++){c.writeUInt32BE(f,r.length);var m=s(a,e).update(c).digest();u||(u=m.length,h=new t(u),l=Math.ceil(o/u),p=o-(l-1)*u),m.copy(h,0,0,u);for(var b=1;b=0||!r.umod(e.prime1)||!r.umod(e.prime2);)r=new i(a(t));return r}var i=e("bn.js"),a=e("randombytes");t.exports=o,o.getr=s}).call(this,e("buffer").Buffer)},{"bn.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/bn.js/lib/bn.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js",randombytes:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/randombytes/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/aesid.json":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/aesid.json"][0].apply(r,arguments)},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/asn1.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/asn1.js"][0].apply(r,arguments)},{"asn1.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/fixProc.js":[function(e,t,r){(function(r){var n=/Proc-Type: 4,ENCRYPTED\r?\nDEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)\r?\n\r?\n([0-9A-z\n\r\+\/\=]+)\r?\n/m,o=/^-----BEGIN (.*) KEY-----\r?\n/m,s=/^-----BEGIN (.*) KEY-----\r?\n([0-9A-z\n\r\+\/\=]+)\r?\n-----END \1 KEY-----$/m,i=e("evp_bytestokey"),a=e("browserify-aes");t.exports=function(e,t){var u,l=e.toString(),d=l.match(n);if(d){var c="aes"+d[1],p=new r(d[2],"hex"),h=new r(d[3].replace(/\r?\n/g,""),"base64"),f=i(t,p.slice(0,8),parseInt(d[1],10)).key,m=[],b=a.createDecipheriv(c,f,p);m.push(b.update(h)),m.push(b["final"]()),u=r.concat(m)}else{var v=l.match(s);u=new r(v[2].replace(/\r?\n/g,""),"base64")}var _=l.match(o)[1]+" KEY";return{tag:_,data:u}}}).call(this,e("buffer").Buffer)},{"browserify-aes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/browser.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js",evp_bytestokey:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/evp_bytestokey/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/index.js":[function(e,t,r){(function(r){function n(e){var t;"object"!=typeof e||r.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=new r(e));var n,i,u=a(e,t),l=u.tag,d=u.data;switch(l){case"PUBLIC KEY":switch(i=s.PublicKey.decode(d,"der"),n=i.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return s.RSAPublicKey.decode(i.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return i.subjectPrivateKey=i.subjectPublicKey,{type:"ec",data:i};case"1.2.840.10040.4.1":return i.algorithm.params.pub_key=s.DSAparam.decode(i.subjectPublicKey.data,"der"),{type:"dsa",data:i.algorithm.params};default:throw new Error("unknown key id "+n)}throw new Error("unknown key type "+l);case"ENCRYPTED PRIVATE KEY":d=s.EncryptedPrivateKey.decode(d,"der"),d=o(d,t);case"PRIVATE KEY":switch(i=s.PrivateKey.decode(d,"der"),n=i.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return s.RSAPrivateKey.decode(i.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:i.algorithm.curve,privateKey:s.ECPrivateKey.decode(i.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return i.algorithm.params.priv_key=s.DSAparam.decode(i.subjectPrivateKey,"der"),{type:"dsa",params:i.algorithm.params};default:throw new Error("unknown key id "+n)}throw new Error("unknown key type "+l);case"RSA PUBLIC KEY":return s.RSAPublicKey.decode(d,"der");case"RSA PRIVATE KEY":return s.RSAPrivateKey.decode(d,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:s.DSAPrivateKey.decode(d,"der")};case"EC PRIVATE KEY":return d=s.ECPrivateKey.decode(d,"der"),{curve:d.parameters.value,privateKey:d.privateKey};default:throw new Error("unknown key type "+l)}}function o(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,o=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),s=i[e.algorithm.decrypt.cipher.algo.join(".")],a=e.algorithm.decrypt.cipher.iv,d=e.subjectPrivateKey,c=parseInt(s.split("-")[1],10)/8,p=l.pbkdf2Sync(t,n,o,c),h=u.createDecipheriv(s,p,a),f=[];return f.push(h.update(d)),f.push(h["final"]()),r.concat(f)}var s=e("./asn1"),i=e("./aesid.json"),a=e("./fixProc"),u=e("browserify-aes"),l=e("pbkdf2");t.exports=n,n.signature=s.signature}).call(this,e("buffer").Buffer)},{"./aesid.json":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/aesid.json","./asn1":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/asn1.js","./fixProc":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/fixProc.js","browserify-aes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/browser.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js",pbkdf2:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/pbkdf2/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1.js"][0].apply(r,arguments)},{"./asn1/api":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/api.js","./asn1/base":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/index.js","./asn1/constants":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/constants/index.js","./asn1/decoders":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/decoders/index.js","./asn1/encoders":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/encoders/index.js","bn.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/bn.js/lib/bn.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/api.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/api.js"][0].apply(r,arguments)},{"../asn1":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js",vm:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/vm-browserify/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/buffer.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/buffer.js"][0].apply(r,arguments)},{"../base":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/index.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/index.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/index.js"][0].apply(r,arguments)},{"./buffer":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/buffer.js","./node":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/node.js","./reporter":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/reporter.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/node.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/node.js"][0].apply(r,arguments)},{"../base":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/index.js","minimalistic-assert":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/node_modules/minimalistic-assert/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/reporter.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/base/reporter.js"][0].apply(r,arguments)},{inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/constants/der.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/constants/der.js"][0].apply(r,arguments)},{"../constants":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/constants/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/constants/index.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/constants/index.js"][0].apply(r,arguments)},{"./der":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/constants/der.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/decoders/der.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/decoders/der.js"][0].apply(r,arguments)},{"../../asn1":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/decoders/index.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/decoders/index.js"][0].apply(r,arguments)},{"./der":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/decoders/der.js","./pem":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/decoders/pem.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/decoders/pem.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/decoders/pem.js"][0].apply(r,arguments)},{"./der":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/decoders/der.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/encoders/der.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/encoders/der.js"][0].apply(r,arguments)},{"../../asn1":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/encoders/index.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/encoders/index.js"][0].apply(r,arguments)},{"./der":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/encoders/der.js","./pem":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/encoders/pem.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/encoders/pem.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/encoders/pem.js"][0].apply(r,arguments)},{"./der":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/lib/asn1/encoders/der.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/asn1.js/node_modules/minimalistic-assert/index.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-des/node_modules/des.js/node_modules/minimalistic-assert/index.js"][0].apply(r,arguments)},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/aes.js":[function(e,t,r){(function(e){function t(e){var t,r;return t=e>a||e<0?(r=Math.abs(e)%a,e<0?a-r:r):e}function n(e){for(var t=0;t>>8^255&r^99,this.SBOX[o]=r,this.INV_SBOX[r]=o,s=e[o],i=e[s],a=e[i],n=257*e[r]^16843008*r,this.SUB_MIX[0][o]=n<<24|n>>>8,this.SUB_MIX[1][o]=n<<16|n>>>16,this.SUB_MIX[2][o]=n<<8|n>>>24,this.SUB_MIX[3][o]=n,n=16843009*a^65537*i^257*s^16843008*o,this.INV_SUB_MIX[0][r]=n<<24|n>>>8,this.INV_SUB_MIX[1][r]=n<<16|n>>>16,this.INV_SUB_MIX[2][r]=n<<8|n>>>24,this.INV_SUB_MIX[3][r]=n,0===o?o=u=1:(o=s^e[e[e[a^s]]],u^=e[e[u]]);return!0};var u=new o;i.blockSize=16,i.prototype.blockSize=i.blockSize,i.keySize=32,i.prototype.keySize=i.keySize,i.prototype._doReset=function(){var e,t,r,n,o,s;for(r=this._key,t=r.length,this._nRounds=t+6,o=4*(this._nRounds+1),this._keySchedule=[],n=0;n>>24,s=u.SBOX[s>>>24]<<24|u.SBOX[s>>>16&255]<<16|u.SBOX[s>>>8&255]<<8|u.SBOX[255&s],s^=u.RCON[n/t|0]<<24):t>6&&n%t===4?s=u.SBOX[s>>>24]<<24|u.SBOX[s>>>16&255]<<16|u.SBOX[s>>>8&255]<<8|u.SBOX[255&s]:void 0,this._keySchedule[n-t]^s);for(this._invKeySchedule=[],e=0;e>>24]]^u.INV_SUB_MIX[1][u.SBOX[s>>>16&255]]^u.INV_SUB_MIX[2][u.SBOX[s>>>8&255]]^u.INV_SUB_MIX[3][u.SBOX[255&s]];return!0},i.prototype.encryptBlock=function(t){t=s(new e(t));var r=this._doCryptBlock(t,this._keySchedule,u.SUB_MIX,u.SBOX),n=new e(16);return n.writeUInt32BE(r[0],0),n.writeUInt32BE(r[1],4),n.writeUInt32BE(r[2],8),n.writeUInt32BE(r[3],12),n},i.prototype.decryptBlock=function(t){t=s(new e(t));var r=[t[3],t[1]];t[1]=r[0],t[3]=r[1];var n=this._doCryptBlock(t,this._invKeySchedule,u.INV_SUB_MIX,u.INV_SBOX),o=new e(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},i.prototype.scrub=function(){n(this._keySchedule), -n(this._invKeySchedule),n(this._key)},i.prototype._doCryptBlock=function(e,r,n,o){var s,i,a,u,l,d,c,p,h;i=e[0]^r[0],a=e[1]^r[1],u=e[2]^r[2],l=e[3]^r[3],s=4;for(var f=1;f>>24]^n[1][a>>>16&255]^n[2][u>>>8&255]^n[3][255&l]^r[s++],c=n[0][a>>>24]^n[1][u>>>16&255]^n[2][l>>>8&255]^n[3][255&i]^r[s++],p=n[0][u>>>24]^n[1][l>>>16&255]^n[2][i>>>8&255]^n[3][255&a]^r[s++],h=n[0][l>>>24]^n[1][i>>>16&255]^n[2][a>>>8&255]^n[3][255&u]^r[s++],i=d,a=c,u=p,l=h;return d=(o[i>>>24]<<24|o[a>>>16&255]<<16|o[u>>>8&255]<<8|o[255&l])^r[s++],c=(o[a>>>24]<<24|o[u>>>16&255]<<16|o[l>>>8&255]<<8|o[255&i])^r[s++],p=(o[u>>>24]<<24|o[l>>>16&255]<<16|o[i>>>8&255]<<8|o[255&a])^r[s++],h=(o[l>>>24]<<24|o[i>>>16&255]<<16|o[a>>>8&255]<<8|o[255&u])^r[s++],[t(d),t(c),t(p),t(h)]},r.AES=i}).call(this,e("buffer").Buffer)},{buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/authCipher.js":[function(e,t,r){(function(r){function n(e,t,o,a){if(!(this instanceof n))return new n(e,t,o);i.call(this),this._finID=r.concat([o,new r([0,0,0,1])]),o=r.concat([o,new r([0,0,0,2])]),this._cipher=new s.AES(t),this._prev=new r(o.length),this._cache=new r(""),this._secCache=new r(""),this._decrypt=a,this._alen=0,this._len=0,o.copy(this._prev),this._mode=e;var l=new r(4);l.fill(0),this._ghash=new u(this._cipher.encryptBlock(l)),this._authTag=null,this._called=!1}function o(e,t){var r=0;e.length!==t.length&&r++;for(var n=Math.min(e.length,t.length),o=-1;++o16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},o.prototype.flush=function(){if(this.cache.length)return this.cache};var m={ECB:e("./modes/ecb"),CBC:e("./modes/cbc"),CFB:e("./modes/cfb"),CFB8:e("./modes/cfb8"),CFB1:e("./modes/cfb1"),OFB:e("./modes/ofb"),CTR:e("./modes/ctr"),GCM:e("./modes/ctr")};r.createDecipher=a,r.createDecipheriv=i}).call(this,e("buffer").Buffer)},{"./aes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/aes.js","./authCipher":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/authCipher.js","./modes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/modes.js","./modes/cbc":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/modes/cbc.js","./modes/cfb":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/modes/cfb.js","./modes/cfb1":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/modes/cfb1.js","./modes/cfb8":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/modes/cfb8.js","./modes/ctr":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/modes/ctr.js","./modes/ecb":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/modes/ecb.js","./modes/ofb":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/modes/ofb.js","./streamCipher":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/streamCipher.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js","cipher-base":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/node_modules/cipher-base/index.js",evp_bytestokey:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/evp_bytestokey/index.js",inherits:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/encrypter.js":[function(e,t,r){(function(t){function n(e,r,s){return this instanceof n?(u.call(this),this._cache=new o,this._cipher=new a.AES(r),this._prev=new t(s.length),s.copy(this._prev),this._mode=e,void(this._autopadding=!0)):new n(e,r,s)}function o(){return this instanceof o?void(this.cache=new t("")):new o}function s(e,r,o){var s=d[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof o&&(o=new t(o)),"string"==typeof r&&(r=new t(r)),r.length!==s.key/8)throw new TypeError("invalid key length "+r.length);if(o.length!==s.iv)throw new TypeError("invalid iv length "+o.length);return"stream"===s.type?new p(f[s.mode],r,o):"auth"===s.type?new h(f[s.mode],r,o):new n(f[s.mode],r,o)}function i(e,t){var r=d[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=c(t,!1,r.key,r.iv);return s(e,n.key,n.iv)}var a=e("./aes"),u=e("cipher-base"),l=e("inherits"),d=e("./modes"),c=e("evp_bytestokey"),p=e("./streamCipher"),h=e("./authCipher");l(n,u),n.prototype._update=function(e){this._cache.add(e);for(var r,n,o=[];r=this._cache.get();)n=this._mode.encrypt(this,r),o.push(n);return t.concat(o)},n.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if("10101010101010101010101010101010"!==e.toString("hex"))throw this._cipher.scrub(),new Error("data not multiple of block length")},n.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},o.prototype.add=function(e){this.cache=t.concat([this.cache,e])},o.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},o.prototype.flush=function(){for(var e=16-this.cache.length,r=new t(e),n=-1;++nu||e<0?(r=Math.abs(e)%u,e<0?u-r:r):e}function i(e,t){return[e[0]^t[0],e[1]^t[1],e[2]^t[2],e[3]^t[3]]}var a=new e(16);a.fill(0),t.exports=r,r.prototype.ghash=function(e){for(var t=-1;++t0;e--)s[e]=s[e]>>>1|(1&s[e-1])<<31;s[0]=s[0]>>>1,r&&(s[0]=s[0]^225<<24)}this.state=o(a)},r.prototype.update=function(t){this.cache=e.concat([this.cache,t]);for(var r;this.cache.length>=16;)r=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(r)},r.prototype["final"]=function(t,r){return this.cache.length&&this.ghash(e.concat([this.cache,a],16)),this.ghash(o([0,t,0,r])),this.state};var u=Math.pow(2,32)}).call(this,e("buffer").Buffer)},{buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/modes.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/modes.js"][0].apply(r,arguments)},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/modes/cbc.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-cipher/node_modules/browserify-aes/modes/cbc.js"][0].apply(r,arguments)},{"buffer-xor":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/node_modules/buffer-xor/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/modes/cfb.js":[function(e,t,r){(function(t){function n(e,r,n){var s=r.length,i=o(r,e._cache);return e._cache=e._cache.slice(s),e._prev=t.concat([e._prev,n?r:i]),i}var o=e("buffer-xor");r.encrypt=function(e,r,o){for(var s,i=new t("");r.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=new t("")),!(e._cache.length<=r.length)){i=t.concat([i,n(e,r,o)]);break}s=e._cache.length,i=t.concat([i,n(e,r.slice(0,s),o)]),r=r.slice(s)}return i}}).call(this,e("buffer").Buffer)},{buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js","buffer-xor":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/node_modules/buffer-xor/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/node_modules/browserify-aes/modes/cfb1.js":[function(e,t,r){(function(e){function t(e,t,r){for(var o,s,i,a=-1,u=8,l=0;++a>a%8,e._prev=n(e._prev,r?s:i);return l}function n(t,r){var n=t.length,o=-1,s=new e(t.length);for(t=e.concat([t,new e([r])]);++o>7;return s}r.encrypt=function(r,n,o){for(var s=n.length,i=new e(s),a=-1;++a0&&h.push(i),h.push(e),t&&h.push(t),i=o(r.concat(h)),h=[],a=0,n>0)for(;;){if(0===n)break;if(a===i.length)break;d[u++]=i[a],n--,a++}if(s>0&&a!==i.length)for(;;){if(0===s)break;if(a===i.length)break;c[l++]=i[a],s--,a++}if(0===n&&0===s)break}for(a=0;a=t.length){s++;break}var i=t.slice(2,o-1);t.slice(o-1,o);if(("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&s++,i.length<8&&s++,s)throw new Error("decryption error");return t.slice(o)}function s(e,t){e=new r(e),t=new r(t);var n=0,o=e.length;e.length!==t.length&&(n++,o=Math.min(e.length,t.length));for(var s=-1;++sc||new l(t).cmp(u.modulus)>=0)throw new Error("decryption error");var h;h=s?p(new l(t),u):d(t,u);var f=new r(c-h.length);if(f.fill(0),h=r.concat([f,h],c),4===a)return n(u,h);if(1===a)return o(u,h,s);if(3===a)return h;throw new Error("unknown padding")}}).call(this,e("buffer").Buffer)},{"./mgf":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/mgf.js","./withPublic":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/withPublic.js","./xor":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/xor.js","bn.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/bn.js/lib/bn.js","browserify-rsa":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/browserify-rsa/index.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js","create-hash":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/browser.js","parse-asn1":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/publicEncrypt.js":[function(e,t,r){(function(r){function n(e,t){var n=e.modulus.byteLength(),o=t.length,s=u("sha1").update(new r("")).digest(),i=s.length,p=2*i;if(o>n-p-2)throw new Error("message too long");var h=new r(n-o-p-2);h.fill(0);var f=n-i-1,m=a(i),b=d(r.concat([s,h,new r([1]),t],f),l(m,f)),v=d(m,l(b,i));return new c(r.concat([new r([0]),v,b],n))}function o(e,t,n){var o=t.length,i=e.modulus.byteLength();if(o>i-11)throw new Error("message too long");var a;return n?(a=new r(i-o-3),a.fill(255)):a=s(i-o-3),new c(r.concat([new r([0,n?1:2]),a,new r([0]),t],i))}function s(e,t){for(var n,o=new r(e),s=0,i=a(2*e),u=0;s=0)throw new Error("data too long for modulus")}return r?h(a,u):p(a,u)}}).call(this,e("buffer").Buffer)},{"./mgf":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/mgf.js","./withPublic":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/withPublic.js", -"./xor":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/xor.js","bn.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/bn.js/lib/bn.js","browserify-rsa":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/browserify-rsa/index.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js","create-hash":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-hash/browser.js","parse-asn1":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/parse-asn1/index.js",randombytes:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/randombytes/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/withPublic.js":[function(e,t,r){(function(r){function n(e,t){return new r(e.toRed(o.mont(t.modulus)).redPow(new o(t.publicExponent)).fromRed().toArray())}var o=e("bn.js");t.exports=n}).call(this,e("buffer").Buffer)},{"bn.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/node_modules/bn.js/lib/bn.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/node_modules/public-encrypt/xor.js":[function(e,t,r){t.exports=function(e,t){for(var r=e.length,n=-1;++n65536)throw new Error("requested too many random bytes");var s=new r.Uint8Array(t);t>0&&i.getRandomValues(s);var a=new n(s.buffer);return"function"==typeof o?e.nextTick(function(){o(null,a)}):a}var i=r.crypto||r.msCrypto;i&&i.getRandomValues?t.exports=s:t.exports=o}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js",buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/events/events.js":[function(e,t,r){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function o(e){return"function"==typeof e}function s(e){return"number"==typeof e}function i(e){return"object"==typeof e&&null!==e}function a(e){return void 0===e}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!s(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,r,n,s,u,l;if(this._events||(this._events={}),"error"===e&&(!this._events.error||i(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;throw TypeError('Uncaught, unspecified "error" event.')}if(r=this._events[e],a(r))return!1;if(o(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(n=arguments.length,s=new Array(n-1),u=1;u0&&this._events[e].length>r&&(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,t){function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}if(!o(t))throw TypeError("listener must be a function");var n=!1;return r.listener=t,this.on(e,r),this},n.prototype.removeListener=function(e,t){var r,n,s,a;if(!o(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(r=this._events[e],s=r.length,n=-1,r===t||o(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(i(r)){for(a=s;a-- >0;)if(r[a]===t||r[a].listener&&r[a].listener===t){n=a;break}if(n<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(n,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,r;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(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[e],o(r))this.removeListener(e,r);else for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?o(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.listenerCount=function(e,t){var r;return r=e._events&&e._events[t]?o(e._events[t])?1:e._events[t].length:0}},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/http-browserify/index.js":[function(e,t,r){var n=t.exports,o=(e("events").EventEmitter,e("./lib/request")),s=e("url");n.request=function(e,t){"string"==typeof e&&(e=s.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 r=new o(new i,e);return t&&r.on("response",t),r},n.get=function(e,t){e.method="GET";var r=n.request(e,t);return r.end(),r},n.Agent=function(){},n.Agent.defaultMaxSockets=4;var i=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"],t=0;tthis.offset&&(this.emit("data",t.slice(this.offset)),this.offset=t.length))};var u=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{stream:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/stream-browserify/index.js",util:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/util/util.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/http-browserify/node_modules/Base64/base64.js":[function(e,t,r){!function(){function e(e){this.message=e}var t="undefined"!=typeof r?r:this,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e.prototype=new Error,e.prototype.name="InvalidCharacterError",t.btoa||(t.btoa=function(t){for(var r,o,s=0,i=n,a="";t.charAt(0|s)||(i="=",s%1);a+=i.charAt(63&r>>8-s%1*8)){if(o=t.charCodeAt(s+=.75),o>255)throw new e("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");r=r<<8|o}return a}),t.atob||(t.atob=function(t){if(t=t.replace(/=+$/,""),t.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,o,s=0,i=0,a="";o=t.charAt(i++);~o&&(r=s%4?64*r+o:o,s++%4)?a+=String.fromCharCode(255&r>>(-2*s&6)):0)o=n.indexOf(o);return a})}()},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/https-browserify/index.js":[function(e,t,r){var n=e("http"),o=t.exports;for(var s in n)n.hasOwnProperty(s)&&(o[s]=n[s]);o.request=function(e,t){return e||(e={}),e.scheme="https",e.protocol="https:",n.request.call(this,e,t)}},{http:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/http-browserify/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/inherits/inherits_browser.js":[function(e,t,r){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/insert-module-globals/node_modules/is-buffer/index.js":[function(e,t,r){t.exports=function(e){return!(null==e||!(e._isBuffer||e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)))}},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/isarray/index.js":[function(e,t,r){t.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/path-browserify/index.js":[function(e,t,r){(function(e){function t(e,t){for(var r=0,n=e.length-1;n>=0;n--){var o=e[n];"."===o?e.splice(n,1):".."===o?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n=-1&&!o;s--){var i=s>=0?arguments[s]:e.cwd();if("string"!=typeof i)throw new TypeError("Arguments to path.resolve must be strings");i&&(r=i+"/"+r,o="/"===i.charAt(0))}return r=t(n(r.split("/"),function(e){return!!e}),!o).join("/"),(o?"/":"")+r||"."},r.normalize=function(e){var o=r.isAbsolute(e),s="/"===i(e,-1);return e=t(n(e.split("/"),function(e){return!!e}),!o).join("/"),e||o||(e="."),e&&s&&(e+="/"),(o?"/":"")+e},r.isAbsolute=function(e){return"/"===e.charAt(0)},r.join=function(){var e=Array.prototype.slice.call(arguments,0);return r.normalize(n(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},r.relative=function(e,t){function n(e){for(var t=0;t=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=r.resolve(e).substr(1),t=r.resolve(t).substr(1);for(var o=n(e.split("/")),s=n(t.split("/")),i=Math.min(o.length,s.length),a=i,u=0;u1)for(var r=1;r1&&(n=r[0]+"@",e=r[1]),e=e.replace(D,".");var o=e.split("."),i=s(o,t).join(".");return n+i}function a(e){for(var t,r,n=[],o=0,s=e.length;o=55296&&t<=56319&&o65535&&(e-=65536,t+=M(e>>>10&1023|55296),e=56320|1023&e),t+=M(e)}).join("")}function l(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function d(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function c(e,t,r){var n=0;for(e=r?F(e/C):e>>1,e+=F(e/t);e>H*E>>1;n+=w)e=F(e/H);return F(n+(H+1)*e/(e+P))}function p(e){var t,r,n,s,i,a,d,p,h,f,m=[],b=e.length,v=0,_=T,g=j;for(r=e.lastIndexOf(A),r<0&&(r=0),n=0;n=128&&o("not-basic"),m.push(e.charCodeAt(n));for(s=r>0?r+1:0;s=b&&o("invalid-input"),p=l(e.charCodeAt(s++)),(p>=w||p>F(($-v)/a))&&o("overflow"),v+=p*a,h=d<=g?x:d>=g+E?E:d-g,!(pF($/f)&&o("overflow"),a*=f;t=m.length+1,g=c(v-i,t,0==i),F(v/t)>$-_&&o("overflow"),_+=F(v/t),v%=t,m.splice(v++,0,_)}return u(m)}function h(e){var t,r,n,s,i,u,l,p,h,f,m,b,v,_,g,y=[];for(e=a(e),b=e.length,t=T,r=0,i=j,u=0;u=t&&mF(($-r)/v)&&o("overflow"),r+=(l-t)*v,t=l,u=0;u$&&o("overflow"),m==t){for(p=r,h=w;f=h<=i?x:h>=i+E?E:h-i,!(p= 0x80 (not a basic code point)","invalid-input":"Invalid input"},H=w-x,F=Math.floor,M=String.fromCharCode;if(g={version:"1.4.1",ucs2:{decode:a,encode:u},decode:p,encode:h,toASCII:m,toUnicode:f},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return g});else if(b&&v)if(t.exports==b)v.exports=g;else for(y in g)g.hasOwnProperty(y)&&(b[y]=g[y]);else n.punycode=g}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/querystring-es3/decode.js":[function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,r,s){t=t||"&",r=r||"=";var i={};if("string"!=typeof e||0===e.length)return i;var a=/\+/g;e=e.split(t);var u=1e3;s&&"number"==typeof s.maxKeys&&(u=s.maxKeys);var l=e.length;u>0&&l>u&&(l=u);for(var d=0;d=0?(c=m.substr(0,b),p=m.substr(b+1)):(c=m,p=""),h=decodeURIComponent(c),f=decodeURIComponent(p),n(i,h)?o(i[h])?i[h].push(f):i[h]=[i[h],f]:i[h]=f}return i};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/querystring-es3/encode.js":[function(e,t,r){"use strict";function n(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n0)if(t.ended&&!o){var a=new Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&o){var a=new Error("stream.unshift() after end event");e.emit("error",a)}else!t.decoder||o||n||(r=t.decoder.write(r)),o||(t.reading=!1),t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,o?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&c(e)),h(e,t);else o||(t.reading=!1);return i(t)}function i(e){return!e.ended&&(e.needReadable||e.length=S)e=S;else{e--;for(var t=1;t<32;t<<=1)e|=e>>t;e++}return e}function u(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:isNaN(e)||j.isNull(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:e<=0?0:(e>t.highWaterMark&&(t.highWaterMark=a(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function l(e,t){var r=null;return j.isBuffer(t)||j.isString(t)||j.isNullOrUndefined(t)||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}function d(e,t){if(t.decoder&&!t.ended){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,c(e)}function c(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(A("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?r.nextTick(function(){p(e)}):p(e))}function p(e){A("emit readable"),e.emit("readable"),_(e)}function h(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(function(){f(e,t)}))}function f(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=o)r=s?n.join(""):E.concat(n,o),n.length=0;else if(e0)throw new Error("endReadable called on non-empty stream");t.endEmitted||(t.ended=!0,r.nextTick(function(){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}))}function $(e,t){for(var r=0,n=e.length;r0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return A("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?y(this):c(this),null;if(e=u(e,t),0===e&&t.ended)return 0===t.length&&y(this),null;var n=t.needReadable;A("need readable",n),(0===t.length||t.length-e0?g(e,t):null,j.isNull(o)&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),r!==e&&t.ended&&0===t.length&&y(this),j.isNull(o)||this.emit("data",o),o},o.prototype._read=function(e){this.emit("error",new Error("not implemented"))},o.prototype.pipe=function(e,t){function n(e){A("onunpipe"),e===c&&s()}function o(){A("onend"),e.end()}function s(){A("cleanup"),e.removeListener("close",u),e.removeListener("finish",l),e.removeListener("drain",b),e.removeListener("error",a),e.removeListener("unpipe",n),c.removeListener("end",o),c.removeListener("end",s),c.removeListener("data",i),!p.awaitDrain||e._writableState&&!e._writableState.needDrain||b()}function i(t){A("ondata");var r=e.write(t);!1===r&&(A("false write response, pause",c._readableState.awaitDrain),c._readableState.awaitDrain++,c.pause())}function a(t){A("onerror",t),d(),e.removeListener("error",a),0===P.listenerCount(e,"error")&&e.emit("error",t)}function u(){e.removeListener("finish",l),d()}function l(){A("onfinish"),e.removeListener("close",u),d()}function d(){A("unpipe"),c.unpipe(e)}var c=this,p=this._readableState;switch(p.pipesCount){case 0:p.pipes=e;break;case 1:p.pipes=[p.pipes,e];break;default:p.pipes.push(e)}p.pipesCount+=1,A("pipe count=%d opts=%j",p.pipesCount,t);var h=(!t||t.end!==!1)&&e!==r.stdout&&e!==r.stderr,f=h?o:s;p.endEmitted?r.nextTick(f):c.once("end",f),e.on("unpipe",n);var b=m(c);return e.on("drain",b),c.on("data",i),e._events&&e._events.error?x(e._events.error)?e._events.error.unshift(a):e._events.error=[a,e._events.error]:e.on("error",a),e.once("close",u),e.once("finish",l),e.emit("pipe",c),p.flowing||(A("pipe resume"),c.resume()),e},o.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var r=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o1){for(var r=[],n=0;n=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived=55296&&n<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var o=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,o),o-=this.charReceived),t+=e.toString(this.encoding,0,o);var o=t.length-1,n=t.charCodeAt(o);if(n>=55296&&n<=56319){var s=this.surrogateSize;return this.charLength+=s,this.charReceived+=s,this.charBuffer.copy(this.charBuffer,s,0,s),e.copy(this.charBuffer,0,0,s),t.substring(0,o)}return t},l.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var r=e[e.length-t];if(1==t&&r>>5==6){this.charLength=2;break}if(t<=2&&r>>4==14){this.charLength=3;break}if(t<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=t},l.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var r=this.charReceived,n=this.charBuffer,o=this.encoding;t+=n.slice(0,r).toString(o)}return t}},{buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/url/url.js":[function(e,t,r){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 o(e,t,r){if(e&&l(e)&&e instanceof n)return e;var o=new n;return o.parse(e,t,r),o}function s(e){return u(e)&&(e=o(e)),e instanceof n?e.format():n.prototype.format.call(e)}function i(e,t){return o(e,!1,!0).resolve(t)}function a(e,t){return e?o(e,!1,!0).resolveObject(t):t}function u(e){return"string"==typeof e}function l(e){return"object"==typeof e&&null!==e}function d(e){return null===e}function c(e){return null==e}var p=e("punycode");r.parse=o,r.resolve=i,r.resolveObject=a,r.format=s,r.Url=n;var h=/^([a-z0-9.+-]+:)/i,f=/:[0-9]*$/,m=["<",">",'"',"`"," ","\r","\n","\t"],b=["{","}","|","\\","^","`"].concat(m),v=["'"].concat(b),_=["%","/","?",";","#"].concat(v),g=["/","?","#"],y=255,$=/^[a-z0-9A-Z_-]{0,63}$/,w=/^([a-z0-9A-Z_-]{0,63})(.*)$/,x={javascript:!0,"javascript:":!0},E={javascript:!0,"javascript:":!0},P={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},C=e("querystring");n.prototype.parse=function(e,t,r){if(!u(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var n=e;n=n.trim();var o=h.exec(n);if(o){o=o[0];var s=o.toLowerCase();this.protocol=s,n=n.substr(o.length)}if(r||o||n.match(/^\/\/[^@\/]+@[^@\/]+/)){var i="//"===n.substr(0,2);!i||o&&E[o]||(n=n.substr(2),this.slashes=!0)}if(!E[o]&&(i||o&&!P[o])){for(var a=-1,l=0;l127?"x":T[S];if(!A.match($)){var D=b.slice(0,l),O=b.slice(l+1),H=T.match(w);H&&(D.push(H[1]),O.unshift(H[2])),O.length&&(n="/"+O.join(".")+n),this.hostname=D.join(".");break}}}if(this.hostname.length>y?this.hostname="":this.hostname=this.hostname.toLowerCase(),!m){for(var F=this.hostname.split("."),M=[],l=0;l0)&&r.host.split("@");b&&(r.auth=b.shift(),r.host=r.hostname=b.shift())}return r.search=e.search,r.query=e.query,d(r.pathname)&&d(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!f.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var v=f.slice(-1)[0],_=(r.host||e.host)&&("."===v||".."===v)||""===v,g=0,y=f.length;y>=0;y--)v=f[y],"."==v?f.splice(y,1):".."===v?(f.splice(y,1),g++):g&&(f.splice(y,1),g--);if(!p&&!h)for(;g--;g)f.unshift("..");!p||""===f[0]||f[0]&&"/"===f[0].charAt(0)||f.unshift(""),_&&"/"!==f.join("/").substr(-1)&&f.push("");var $=""===f[0]||f[0]&&"/"===f[0].charAt(0);if(m){r.hostname=r.host=$?"":f.length?f.shift():"";var b=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");b&&(r.auth=b.shift(),r.host=r.hostname=b.shift())}return p=p||r.host&&f.length,p&&!$&&f.unshift(""),f.length?r.pathname=f.join("/"):(r.pathname=null,r.path=null),d(r.pathname)&&d(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},n.prototype.parseHost=function(){var e=this.host,t=f.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{punycode:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/punycode/punycode.js",querystring:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/querystring-es3/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/util/support/isBufferBrowser.js":[function(e,t,r){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/util/util.js":[function(e,t,r){(function(t,n){function o(e,t){var n={seen:[],stylize:i};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(t)?n.showHidden=t:t&&r._extend(n,t),$(n.showHidden)&&(n.showHidden=!1),$(n.depth)&&(n.depth=2),$(n.colors)&&(n.colors=!1),$(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=s),u(n,e,n.depth)}function s(e,t){var r=o.styles[t];return r?"["+o.colors[r][0]+"m"+e+"["+o.colors[r][1]+"m":e}function i(e,t){return e}function a(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function u(e,t,n){if(e.customInspect&&t&&C(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var o=t.inspect(n,e);return g(o)||(o=u(e,o,n)),o}var s=l(e,t);if(s)return s;var i=Object.keys(t),m=a(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),P(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return d(t);if(0===i.length){if(C(t)){var b=t.name?": "+t.name:"";return e.stylize("[Function"+b+"]","special")}if(w(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(E(t))return e.stylize(Date.prototype.toString.call(t),"date");if(P(t))return d(t)}var v="",_=!1,y=["{","}"];if(f(t)&&(_=!0,y=["[","]"]),C(t)){var $=t.name?": "+t.name:"";v=" [Function"+$+"]"; -}if(w(t)&&(v=" "+RegExp.prototype.toString.call(t)),E(t)&&(v=" "+Date.prototype.toUTCString.call(t)),P(t)&&(v=" "+d(t)),0===i.length&&(!_||0==t.length))return y[0]+v+y[1];if(n<0)return w(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var x;return x=_?c(e,t,n,m,i):i.map(function(r){return p(e,t,n,m,r,_)}),e.seen.pop(),h(x,v,y)}function l(e,t){if($(t))return e.stylize("undefined","undefined");if(g(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return _(t)?e.stylize(""+t,"number"):m(t)?e.stylize(""+t,"boolean"):b(t)?e.stylize("null","null"):void 0}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function c(e,t,r,n,o){for(var s=[],i=0,a=t.length;i-1&&(a=s?a.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return" "+e}).join("\n"))):a=e.stylize("[Circular]","special")),$(i)){if(s&&o.match(/^\d+$/))return a;i=JSON.stringify(""+o),i.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.substr(1,i.length-2),i=e.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=e.stylize(i,"string"))}return i+": "+a}function h(e,t,r){var n=0,o=e.reduce(function(e,t){return n++,t.indexOf("\n")>=0&&n++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return o>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function f(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function b(e){return null===e}function v(e){return null==e}function _(e){return"number"==typeof e}function g(e){return"string"==typeof e}function y(e){return"symbol"==typeof e}function $(e){return void 0===e}function w(e){return x(e)&&"[object RegExp]"===T(e)}function x(e){return"object"==typeof e&&null!==e}function E(e){return x(e)&&"[object Date]"===T(e)}function P(e){return x(e)&&("[object Error]"===T(e)||e instanceof Error)}function C(e){return"function"==typeof e}function j(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function T(e){return Object.prototype.toString.call(e)}function A(e){return e<10?"0"+e.toString(10):e.toString(10)}function S(){var e=new Date,t=[A(e.getHours()),A(e.getMinutes()),A(e.getSeconds())].join(":");return[e.getDate(),F[e.getMonth()],t].join(" ")}function k(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var D=/%[sdj%]/g;r.format=function(e){if(!g(e)){for(var t=[],r=0;r=s)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return e}}),a=n[r];rt.maxLineLength&&(t.maxLineLength=r,t.maxLine=e)})}function h(e){var t=Ho(e.gutters,"CodeMirror-linenumbers");t==-1&&e.lineNumbers?e.gutters=e.gutters.concat(["CodeMirror-linenumbers"]):t>-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}function f(e){var t=e.display,r=t.gutters.offsetWidth,n=Math.round(e.doc.height+ze(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?r:0,docHeight:n,scrollHeight:n+Ve(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:r}}function m(e,t,r){this.cm=r;var n=this.vert=Uo("div",[Uo("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),o=this.horiz=Uo("div",[Uo("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");e(n),e(o),Si(n,"scroll",function(){n.clientHeight&&t(n.scrollTop,"vertical")}),Si(o,"scroll",function(){o.clientWidth&&t(o.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,gs&&ys<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")}function b(){}function v(t){t.display.scrollbars&&(t.display.scrollbars.clear(),t.display.scrollbars.addClass&&Zi(t.display.wrapper,t.display.scrollbars.addClass)),t.display.scrollbars=new e.scrollbarModel[t.options.scrollbarStyle](function(e){t.display.wrapper.insertBefore(e,t.display.scrollbarFiller),Si(e,"mousedown",function(){t.state.focused&&setTimeout(function(){t.display.input.focus()},0)}),e.setAttribute("cm-not-content","true")},function(e,r){"horizontal"==r?or(t,e):nr(t,e)},t),t.display.scrollbars.addClass&&Ji(t.display.wrapper,t.display.scrollbars.addClass)}function _(e,t){t||(t=f(e));var r=e.display.barWidth,n=e.display.barHeight;g(e,t);for(var o=0;o<4&&r!=e.display.barWidth||n!=e.display.barHeight;o++)r!=e.display.barWidth&&e.options.lineWrapping&&k(e),g(e,f(e)),r=e.display.barWidth,n=e.display.barHeight}function g(e,t){var r=e.display,n=r.scrollbars.update(t);r.sizer.style.paddingRight=(r.barWidth=n.right)+"px",r.sizer.style.paddingBottom=(r.barHeight=n.bottom)+"px",r.heightForcer.style.borderBottom=n.bottom+"px solid transparent",n.right&&n.bottom?(r.scrollbarFiller.style.display="block",r.scrollbarFiller.style.height=n.bottom+"px",r.scrollbarFiller.style.width=n.right+"px"):r.scrollbarFiller.style.display="",n.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(r.gutterFiller.style.display="block",r.gutterFiller.style.height=n.bottom+"px",r.gutterFiller.style.width=t.gutterWidth+"px"):r.gutterFiller.style.display=""}function y(e,t,r){var n=r&&null!=r.top?Math.max(0,r.top):e.scroller.scrollTop;n=Math.floor(n-Ue(e));var o=r&&null!=r.bottom?r.bottom:n+e.wrapper.clientHeight,s=ro(t,n),i=ro(t,o);if(r&&r.ensure){var a=r.ensure.from.line,u=r.ensure.to.line;a=i&&(s=ro(t,no(Zn(t,u))-e.wrapper.clientHeight),i=u)}return{from:s,to:Math.max(i,s+1)}}function $(e){var t=e.display,r=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var n=E(t)-t.scroller.scrollLeft+e.doc.scrollLeft,o=t.gutters.offsetWidth,s=n+"px",i=0;i=r.viewFrom&&t.visible.to<=r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&0==Lt(e))return!1;w(e)&&(Rt(e),t.dims=O(e));var o=n.first+n.size,s=Math.max(t.visible.from-e.options.viewportMargin,n.first),i=Math.min(o,t.visible.to+e.options.viewportMargin);r.viewFromi&&r.viewTo-i<20&&(i=Math.min(o,r.viewTo)),Rs&&(s=yn(e.doc,s),i=$n(e.doc,i));var a=s!=r.viewFrom||i!=r.viewTo||r.lastWrapHeight!=t.wrapperHeight||r.lastWrapWidth!=t.wrapperWidth;Nt(e,s,i),r.viewOffset=no(Zn(e.doc,r.viewFrom)),e.display.mover.style.top=r.viewOffset+"px";var u=Lt(e);if(!a&&0==u&&!t.force&&r.renderedView==r.view&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo))return!1;var l=Vo();return u>4&&(r.lineDiv.style.display="none"),H(e,r.updateLineNumbers,t.dims),u>4&&(r.lineDiv.style.display=""),r.renderedView=r.view,l&&Vo()!=l&&l.offsetHeight&&l.focus(),zo(r.cursorDiv),zo(r.selectionDiv),r.gutters.style.height=r.sizer.style.minHeight=0,a&&(r.lastWrapHeight=t.wrapperHeight,r.lastWrapWidth=t.wrapperWidth,Ie(e,400)),r.updateLineNumbers=null,!0}function T(e,t){for(var r=t.viewport,n=!0;(n&&e.options.lineWrapping&&t.oldDisplayWidth!=Ge(e)||(r&&null!=r.top&&(r={top:Math.min(e.doc.height+ze(e.display)-Ke(e),r.top)}),t.visible=y(e.display,e.doc,r),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&j(e,t);n=!1){k(e);var o=f(e);He(e),_(e,o),S(e,o)}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function A(e,t){var r=new P(e,t);if(j(e,r)){k(e),T(e,r);var n=f(e);He(e),_(e,n),S(e,n),r.finish()}}function S(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Ve(e)+"px"}function k(e){for(var t=e.display,r=t.lineDiv.offsetTop,n=0;n.001||u<-.001)&&(eo(s.line,o),D(s.line),s.rest))for(var l=0;l-1&&(p=!1),F(e,c,l,r)),p&&(zo(c.lineNumber),c.lineNumber.appendChild(document.createTextNode(x(e.options,l)))),a=c.node.nextSibling}else{var h=U(e,c,l,r);i.insertBefore(h,a)}l+=c.size}for(;a;)a=n(a)}function F(e,t,r,n){for(var o=0;o1)if(Ns&&Ns.text.join("\n")==t){if(n.ranges.length%Ns.text.length==0){u=[];for(var l=0;l=0;l--){var d=n.ranges[l],c=d.from(),p=d.to();d.empty()&&(r&&r>0?c=Bs(c.line,c.ch-r):e.state.overwrite&&!i?p=Bs(p.line,Math.min(Zn(s,p.line).text.length,p.ch+Oo(a).length)):Ns&&Ns.lineWise&&Ns.text.join("\n")==t&&(c=p=Bs(c.line,0)));var h=e.curOp.updateInput,f={from:c,to:p,text:u?u[l%u.length]:a,origin:o||(i?"paste":e.state.cutIncoming?"cut":"+input")};Pr(e.doc,f),Po(e,"inputRead",e,f)}t&&!i&&Q(e,t),Rr(e),e.curOp.updateInput=h,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function J(e,t){var r=e.clipboardData&&e.clipboardData.getData("text/plain");if(r)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||At(t,function(){Z(t,r,0,null,"paste")}),!0}function Q(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var r=e.doc.sel,n=r.ranges.length-1;n>=0;n--){var o=r.ranges[n];if(!(o.head.ch>100||n&&r.ranges[n-1].head.line==o.head.line)){var s=e.getModeAt(o.head),i=!1;if(s.electricChars){for(var a=0;a-1){i=Ir(e,o.head.line,"smart");break}}else s.electricInput&&s.electricInput.test(Zn(e.doc,o.head.line).text.slice(0,o.head.ch))&&(i=Ir(e,o.head.line,"smart"));i&&Po(e,"electricInput",e,o.head.line)}}}function ee(e){for(var t=[],r=[],n=0;n=0){var i=Y(s.from(),o.from()),a=K(s.to(),o.to()),u=s.empty()?o.from()==o.head:s.from()==s.head;n<=t&&--t,e.splice(--n,2,new ce(u?a:i,u?i:a))}}return new de(e,t)}function he(e,t){return new de([new ce(e,t||e)],0)}function fe(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function me(e,t){if(t.liner?Bs(r,Zn(e,r).text.length):be(t,Zn(e,t.line).text.length)}function be(e,t){var r=e.ch;return null==r||r>t?Bs(e.line,t):r<0?Bs(e.line,0):e}function ve(e,t){return t>=e.first&&t=t.ch:a.to>t.ch))){if(o&&(Oi(u,"beforeCursorEnter"),u.explicitlyCleared)){if(s.markedSpans){--i;continue}break}if(!u.atomic)continue;if(r){var l,d=u.find(n<0?1:-1);if((n<0?u.inclusiveRight:u.inclusiveLeft)&&(d=Oe(e,d,-n,d&&d.line==t.line?s:null)),d&&d.line==t.line&&(l=Is(d,r))&&(n<0?l<0:l>0))return ke(e,d,t,n,o)}var c=u.find(n<0?-1:1);return(n<0?u.inclusiveLeft:u.inclusiveRight)&&(c=Oe(e,c,n,c.line==t.line?s:null)),c?ke(e,c,t,n,o):null}}return t}function De(e,t,r,n,o){var s=n||1,i=ke(e,t,r,s,o)||!o&&ke(e,t,r,s,!0)||ke(e,t,r,-s,o)||!o&&ke(e,t,r,-s,!0);return i?i:(e.cantEdit=!0,Bs(e.first,0))}function Oe(e,t,r,n){return r<0&&0==t.ch?t.line>e.first?me(e,Bs(t.line-1)):null:r>0&&t.ch==(n||Zn(e,t.line)).text.length?t.line=e.display.viewTo||a.to().line3&&(n(h,m.top,null,m.bottom),h=l,m.bottomu.bottom||c.bottom==u.bottom&&c.right>u.right)&&(u=c),h0?t.blinker=setInterval(function(){t.cursorDiv.style.visibility=(r=!r)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Ie(e,t){e.doc.mode.startState&&e.doc.frontier=e.display.viewTo)){var r=+new Date+e.options.workTime,n=ui(t.mode,qe(e,t.frontier)),o=[];t.iter(t.frontier,Math.min(t.first+t.size,e.display.viewTo+500),function(s){if(t.frontier>=e.display.viewFrom){var i=s.styles,a=s.text.length>e.options.maxHighlightLength,u=Hn(e,s,a?ui(t.mode,n):n,!0);s.styles=u.styles;var l=s.styleClasses,d=u.classes;d?s.styleClasses=d:l&&(s.styleClasses=null);for(var c=!i||i.length!=s.styles.length||l!=d&&(!l||!d||l.bgClass!=d.bgClass||l.textClass!=d.textClass),p=0;!c&&pr)return Ie(e,e.options.workDelay),!0}),o.length&&At(e,function(){for(var t=0;ti;--a){if(a<=s.first)return s.first;var u=Zn(s,a-1);if(u.stateAfter&&(!r||a<=s.frontier))return a;var l=Ni(u.text,null,e.options.tabSize);(null==o||n>l)&&(o=a-1,n=l)}return o}function qe(e,t,r){var n=e.doc,o=e.display;if(!n.mode.startState)return!0;var s=Le(e,t,r),i=s>n.first&&Zn(n,s-1).stateAfter;return i=i?ui(n.mode,i):li(n.mode),n.iter(s,t,function(r){Mn(e,r.text,i);var a=s==t-1||s%5==0||s>=o.viewFrom&&s2&&s.push((u.bottom+l.top)/2-r.top)}}s.push(r.bottom-r.top)}}function Xe(e,t,r){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var n=0;nr)return{map:e.measure.maps[n],cache:e.measure.caches[n],before:!0}}function Ze(e,t){t=_n(t);var r=to(t),n=e.display.externalMeasured=new Ot(e.doc,t,r);n.lineN=r;var o=n.built=Bn(e,n);return n.text=o.pre,Wo(e.display.lineMeasure,o.pre),n}function Je(e,t,r,n){return tt(e,et(e,t),r,n)}function Qe(e,t){if(t>=e.display.viewFrom&&t=r.lineN&&tt)&&(s=l-u,o=s-1,t>=l&&(i="right")),null!=o){if(n=e[a+2],u==l&&r==(n.insertLeft?"left":"right")&&(i=r),"left"==r&&0==o)for(;a&&e[a-2]==e[a-3]&&e[a-1].insertLeft;)n=e[(a-=3)+2],i="left";if("right"==r&&o==l-u)for(;a0&&(l=n="right");var c;o=e.options.lineWrapping&&(c=i.getClientRects()).length>1?c["right"==n?c.length-1:0]:i.getBoundingClientRect()}if(gs&&ys<9&&!a&&(!o||!o.left&&!o.right)){var p=i.parentNode.getClientRects()[0];o=p?{left:p.left,right:p.left+gt(e.display),top:p.top,bottom:p.bottom}:zs}for(var h=o.top-t.rect.top,f=o.bottom-t.rect.top,m=(h+f)/2,b=t.view.measure.heights,d=0;dr.from?i(e-1):i(e,n)}n=n||Zn(e.doc,t.line),o||(o=et(e,n));var u=oo(n),l=t.ch;if(!u)return i(l);var d=ds(u,l),c=a(l,d);return null!=ia&&(c.other=a(l,ia)),c}function ft(e,t){var r=0,t=me(e.doc,t);e.options.lineWrapping||(r=gt(e.display)*t.ch);var n=Zn(e.doc,t.line),o=no(n)+Ue(e.display);return{left:r,right:r,top:o,bottom:o+n.height}}function mt(e,t,r,n){var o=Bs(e,t);return o.xRel=n,r&&(o.outside=!0),o}function bt(e,t,r){var n=e.doc;if(r+=e.display.viewOffset,r<0)return mt(n.first,0,!0,-1);var o=ro(n,r),s=n.first+n.size-1;if(o>s)return mt(n.first+n.size-1,Zn(n,s).text.length,!0,1);t<0&&(t=0);for(var i=Zn(n,o);;){var a=vt(e,i,o,t,r),u=bn(i),l=u&&u.find(0,!0);if(!u||!(a.ch>l.from.ch||a.ch==l.from.ch&&a.xRel>0))return a;o=to(i=l.to.line)}}function vt(e,t,r,n,o){function s(n){var o=ht(e,Bs(r,n),"line",t,l);return a=!0,i>o.bottom?o.left-u:ib)return mt(r,h,v,1);for(;;){if(d?h==p||h==ps(t,p,1):h-p<=1){var _=n0&&_1){var $=tt(e,l,_,"right");i<=$.bottom&&i>=$.top&&Math.abs(n-$.right)1?1:0);return w}var x=Math.ceil(c/2),E=p+x;if(d){E=p;for(var P=0;Pn?(h=E,b=C,(v=a)&&(b+=1e3),c=x):(p=E,f=C,m=a,c-=x)}}function _t(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Ls){Ls=Uo("pre");for(var t=0;t<49;++t)Ls.appendChild(document.createTextNode("x")),Ls.appendChild(Uo("br"));Ls.appendChild(document.createTextNode("x"))}Wo(e.measure,Ls);var r=Ls.offsetHeight/50;return r>3&&(e.cachedTextHeight=r),zo(e.measure),r||1}function gt(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=Uo("span","xxxxxxxxxx"),r=Uo("pre",[t]);Wo(e.measure,r);var n=t.getBoundingClientRect(),o=(n.right-n.left)/10;return o>2&&(e.cachedCharWidth=o),o||10}function yt(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Vs},Ws?Ws.ops.push(e.curOp):e.curOp.ownsGroup=Ws={ops:[e.curOp],delayedCallbacks:[]}}function $t(e){var t=e.delayedCallbacks,r=0;do{for(;r=r.viewTo)||r.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new P(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Pt(e){e.updatedDisplay=e.mustUpdate&&j(e.cm,e.update)}function Ct(e){var t=e.cm,r=t.display;e.updatedDisplay&&k(t),e.barMeasure=f(t),r.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Je(t,r.maxLine,r.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(r.scroller.clientWidth,r.sizer.offsetLeft+e.adjustWidthTo+Ve(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,r.sizer.offsetLeft+e.adjustWidthTo-Ge(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=r.input.prepareSelection(e.focus))}function jt(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeftt)&&(o.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=o.viewTo)Rs&&yn(e.doc,t)o.viewFrom?Rt(e):(o.viewFrom+=n,o.viewTo+=n);else if(t<=o.viewFrom&&r>=o.viewTo)Rt(e);else if(t<=o.viewFrom){var s=It(e,r,r+n,1);s?(o.view=o.view.slice(s.index),o.viewFrom=s.lineN,o.viewTo+=n):Rt(e)}else if(r>=o.viewTo){var s=It(e,t,t,-1);s?(o.view=o.view.slice(0,s.index),o.viewTo=s.lineN):Rt(e)}else{var i=It(e,t,t,-1),a=It(e,r,r+n,1);i&&a?(o.view=o.view.slice(0,i.index).concat(Ht(e,i.lineN,a.lineN)).concat(o.view.slice(a.index)),o.viewTo+=n):Rt(e)}var u=o.externalMeasured;u&&(r=o.lineN&&t=n.viewTo)){var s=n.view[Bt(e,t)];if(null!=s.node){var i=s.changes||(s.changes=[]);Ho(i,r)==-1&&i.push(r)}}}function Rt(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Bt(e,t){if(t>=e.display.viewTo)return null;if(t-=e.display.viewFrom,t<0)return null;for(var r=e.display.view,n=0;n0){if(s==i.length-1)return null;o=u+i[s].size-t,s++}else o=u-t;t+=o,r+=o}for(;yn(e.doc,r)!=r;){if(s==(n<0?0:i.length-1))return null;r+=n*i[s-(n<0?1:0)].size,s+=n}return{index:s,lineN:r}}function Nt(e,t,r){var n=e.display,o=n.view;0==o.length||t>=n.viewTo||r<=n.viewFrom?(n.view=Ht(e,t,r),n.viewFrom=t):(n.viewFrom>t?n.view=Ht(e,t,n.viewFrom).concat(n.view):n.viewFromr&&(n.view=n.view.slice(0,Bt(e,r)))),n.viewTo=r}function Lt(e){for(var t=e.display.view,r=0,n=0;n400}var o=e.display;Si(o.scroller,"mousedown",St(e,Gt)),gs&&ys<11?Si(o.scroller,"dblclick",St(e,function(t){if(!jo(e,t)){var r=Vt(e,t);if(r&&!Jt(e,t)&&!Wt(e.display,t)){ji(t);var n=e.findWordAt(r);ye(e.doc,n.anchor,n.head)}}})):Si(o.scroller,"dblclick",function(t){jo(e,t)||ji(t)}),Fs||Si(o.scroller,"contextmenu",function(t){_r(e,t)});var s,i={end:0};Si(o.scroller,"touchstart",function(t){if(!jo(e,t)&&!r(t)){clearTimeout(s);var n=+new Date;o.activeTouch={start:n,moved:!1,prev:n-i.end<=300?i:null},1==t.touches.length&&(o.activeTouch.left=t.touches[0].pageX,o.activeTouch.top=t.touches[0].pageY)}}),Si(o.scroller,"touchmove",function(){o.activeTouch&&(o.activeTouch.moved=!0)}),Si(o.scroller,"touchend",function(r){var s=o.activeTouch;if(s&&!Wt(o,r)&&null!=s.left&&!s.moved&&new Date-s.start<300){var i,a=e.coordsChar(o.activeTouch,"page");i=!s.prev||n(s,s.prev)?new ce(a,a):!s.prev.prev||n(s,s.prev.prev)?e.findWordAt(a):new ce(Bs(a.line,0),me(e.doc,Bs(a.line+1,0))),e.setSelection(i.anchor,i.head),e.focus(),ji(r)}t()}),Si(o.scroller,"touchcancel",t),Si(o.scroller,"scroll",function(){o.scroller.clientHeight&&(nr(e,o.scroller.scrollTop),or(e,o.scroller.scrollLeft,!0),Oi(e,"scroll",e))}),Si(o.scroller,"mousewheel",function(t){sr(e,t)}),Si(o.scroller,"DOMMouseScroll",function(t){sr(e,t)}),Si(o.wrapper,"scroll",function(){o.wrapper.scrollTop=o.wrapper.scrollLeft=0}),o.dragFunctions={enter:function(t){jo(e,t)||Ai(t)},over:function(t){jo(e,t)||(tr(e,t),Ai(t))},start:function(t){er(e,t)},drop:St(e,Qt),leave:function(t){jo(e,t)||rr(e)}};var a=o.input.getField();Si(a,"keyup",function(t){hr.call(e,t)}),Si(a,"keydown",St(e,cr)),Si(a,"keypress",St(e,fr)),Si(a,"focus",Io(br,e)),Si(a,"blur",Io(vr,e))}function Ut(t,r,n){var o=n&&n!=e.Init;if(!r!=!o){var s=t.display.dragFunctions,i=r?Si:Di;i(t.display.scroller,"dragstart",s.start),i(t.display.scroller,"dragenter",s.enter),i(t.display.scroller,"dragover",s.over),i(t.display.scroller,"dragleave",s.leave),i(t.display.scroller,"drop",s.drop)}}function zt(e){var t=e.display;t.lastWrapHeight==t.wrapper.clientHeight&&t.lastWrapWidth==t.wrapper.clientWidth||(t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize())}function Wt(e,t){for(var r=wo(t);r!=e.wrapper;r=r.parentNode)if(!r||1==r.nodeType&&"true"==r.getAttribute("cm-ignore-events")||r.parentNode==e.sizer&&r!=e.mover)return!0}function Vt(e,t,r,n){var o=e.display;if(!r&&"true"==wo(t).getAttribute("cm-not-content"))return null;var s,i,a=o.lineSpace.getBoundingClientRect();try{s=t.clientX-a.left,i=t.clientY-a.top}catch(t){return null}var u,l=bt(e,s,i);if(n&&1==l.xRel&&(u=Zn(e.doc,l.line).text).length==l.ch){var d=Ni(u,u.length,e.options.tabSize)-u.length;l=Bs(l.line,Math.max(0,Math.round((s-We(e.display).left)/gt(e.display))-d))}return l}function Gt(e){var t=this,r=t.display;if(!(jo(t,e)||r.activeTouch&&r.input.supportsTouch())){if(r.shift=e.shiftKey,Wt(r,e))return void($s||(r.scroller.draggable=!1,setTimeout(function(){r.scroller.draggable=!0},100)));if(!Jt(t,e)){var n=Vt(t,e);switch(window.focus(),xo(e)){case 1:t.state.selectingText?t.state.selectingText(e):n?Kt(t,e,n):wo(e)==r.scroller&&ji(e);break;case 2:$s&&(t.state.lastMiddleDown=+new Date),n&&ye(t.doc,n),setTimeout(function(){r.input.focus()},20),ji(e);break;case 3:Fs?_r(t,e):mr(t)}}}}function Kt(e,t,r){gs?setTimeout(Io(X,e),0):e.curOp.focus=Vo();var n,o=+new Date;Us&&Us.time>o-400&&0==Is(Us.pos,r)?n="triple":qs&&qs.time>o-400&&0==Is(qs.pos,r)?(n="double",Us={time:o,pos:r}):(n="single",qs={time:o,pos:r});var s,i=e.doc.sel,a=Ss?t.metaKey:t.ctrlKey;e.options.dragDrop&&ea&&!e.isReadOnly()&&"single"==n&&(s=i.contains(r))>-1&&(Is((s=i.ranges[s]).from(),r)<0||r.xRel>0)&&(Is(s.to(),r)>0||r.xRel<0)?Yt(e,t,r,a):Xt(e,t,r,n,a)}function Yt(e,t,r,n){var o=e.display,s=+new Date,i=St(e,function(a){$s&&(o.scroller.draggable=!1),e.state.draggingText=!1,Di(document,"mouseup",i),Di(o.scroller,"drop",i),Math.abs(t.clientX-a.clientX)+Math.abs(t.clientY-a.clientY)<10&&(ji(a),!n&&+new Date-200_&&o.push(new ce(Bs(f,_),Bs(f,Li(v,h,s))))}o.length||o.push(new ce(r,r)),Ce(l,pe(p.ranges.slice(0,c).concat(o),c),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var g=d,y=g.anchor,$=t;if("single"!=n){if("double"==n)var w=e.findWordAt(t);else var w=new ce(Bs(t.line,0),me(l,Bs(t.line+1,0)));Is(w.anchor,y)>0?($=w.head,y=Y(g.from(),w.anchor)):($=w.anchor,y=K(g.to(),w.head))}var o=p.ranges.slice(0);o[c]=new ce(me(l,y),$),Ce(l,pe(o,c),Bi)}}function i(t){var r=++_,o=Vt(e,t,!0,"rect"==n);if(o)if(0!=Is(o,b)){e.curOp.focus=Vo(),s(o);var a=y(u,l);(o.line>=a.to||o.linev.bottom?20:0;d&&setTimeout(St(e,function(){_==r&&(u.scroller.scrollTop+=d,i(t))}),50)}}function a(t){e.state.selectingText=!1,_=1/0,ji(t),u.input.focus(),Di(document,"mousemove",g),Di(document,"mouseup",$),l.history.lastSelOrigin=null}var u=e.display,l=e.doc;ji(t);var d,c,p=l.sel,h=p.ranges;if(o&&!t.shiftKey?(c=l.sel.contains(r),d=c>-1?h[c]:new ce(r,r)):(d=l.sel.primary(),c=l.sel.primIndex),ks?t.shiftKey&&t.metaKey:t.altKey)n="rect",o||(d=new ce(r,r)),r=Vt(e,t,!0,!0),c=-1;else if("double"==n){var f=e.findWordAt(r);d=e.display.shift||l.extend?ge(l,d,f.anchor,f.head):f}else if("triple"==n){var m=new ce(Bs(r.line,0),me(l,Bs(r.line+1,0)));d=e.display.shift||l.extend?ge(l,d,m.anchor,m.head):m}else d=ge(l,d,r);o?c==-1?(c=h.length,Ce(l,pe(h.concat([d]),c),{scroll:!1,origin:"*mouse"})):h.length>1&&h[c].empty()&&"single"==n&&!t.shiftKey?(Ce(l,pe(h.slice(0,c).concat(h.slice(c+1)),0),{scroll:!1,origin:"*mouse"}),p=l.sel):we(l,c,d,Bi):(c=0,Ce(l,new de([d],0),Bi),p=l.sel);var b=r,v=u.wrapper.getBoundingClientRect(),_=0,g=St(e,function(e){xo(e)?i(e):a(e)}),$=St(e,a);e.state.selectingText=$,Si(document,"mousemove",g),Si(document,"mouseup",$)}function Zt(e,t,r,n){try{var o=t.clientX,s=t.clientY}catch(t){return!1}if(o>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;n&&ji(t);var i=e.display,a=i.lineDiv.getBoundingClientRect();if(s>a.bottom||!Ao(e,r))return $o(t);s-=a.top-i.viewOffset;for(var u=0;u=o){var d=ro(e.doc,s),c=e.options.gutters[u];return Oi(e,r,e,d,c,t),$o(t)}}}function Jt(e,t){return Zt(e,t,"gutterClick",!0)}function Qt(e){var t=this;if(rr(t),!jo(t,e)&&!Wt(t.display,e)){ji(e),gs&&(Gs=+new Date);var r=Vt(t,e,!0),n=e.dataTransfer.files;if(r&&!t.isReadOnly())if(n&&n.length&&window.FileReader&&window.File)for(var o=n.length,s=Array(o),i=0,a=function(e,n){if(!t.options.allowDropFileTypes||Ho(t.options.allowDropFileTypes,e.type)!=-1){var a=new FileReader;a.onload=St(t,function(){var e=a.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(e)&&(e=""),s[n]=e,++i==o){r=me(t.doc,r);var u={from:r,to:r,text:t.doc.splitLines(s.join(t.doc.lineSeparator())),origin:"paste"};Pr(t.doc,u),Pe(t.doc,he(r,Qs(u)))}}),a.readAsText(e)}},u=0;u-1)return t.state.draggingText(e),void setTimeout(function(){t.display.input.focus()},20);try{var s=e.dataTransfer.getData("Text");if(s){if(t.state.draggingText&&!t.state.draggingText.copy)var l=t.listSelections();if(je(t.doc,he(r,r)),l)for(var u=0;ui.clientWidth,u=i.scrollHeight>i.clientHeight;if(n&&a||o&&u){if(o&&Ss&&$s)e:for(var l=t.target,d=s.view;l!=i;l=l.parentNode)for(var c=0;c=0;--o)Cr(e,{from:n[o].from,to:n[o].to,text:o?[""]:t.text});else Cr(e,t)}}function Cr(e,t){if(1!=t.text.length||""!=t.text[0]||0!=Is(t.from,t.to)){var r=$r(e,t);lo(e,t,r,e.cm?e.cm.curOp.id:NaN),Ar(e,t,r,on(e,t));var n=[];Yn(e,function(e,r){r||Ho(n,e.history)!=-1||(yo(e.history,t),n.push(e.history)),Ar(e,t,null,on(e,t))})}}function jr(e,t,r){if(!e.cm||!e.cm.state.suppressEdits){for(var n,o=e.history,s=e.sel,i="undo"==t?o.done:o.undone,a="undo"==t?o.undone:o.done,u=0;u=0;--u){var c=n.changes[u];if(c.origin=t,d&&!Er(e,c,!1))return void(i.length=0);l.push(io(e,c));var p=u?$r(e,c):Oo(i);Ar(e,c,p,an(e,c)),!u&&e.cm&&e.cm.scrollIntoView({from:c.from,to:Qs(c)});var h=[];Yn(e,function(e,t){t||Ho(h,e.history)!=-1||(yo(e.history,c),h.push(e.history)),Ar(e,c,null,an(e,c))})}}}}function Tr(e,t){if(0!=t&&(e.first+=t,e.sel=new de(Fo(e.sel.ranges,function(e){return new ce(Bs(e.anchor.line+t,e.anchor.ch),Bs(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){Ft(e.cm,e.first,e.first-t,t);for(var r=e.cm.display,n=r.viewFrom;ne.lastLine())){if(t.from.lines&&(t={from:t.from,to:Bs(s,Zn(e,s).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Jn(e,t.from,t.to),r||(r=$r(e,t)),e.cm?Sr(e.cm,t,n):Vn(e,t,n),je(e,r,Ri)}}function Sr(e,t,r){var n=e.doc,o=e.display,i=t.from,a=t.to,u=!1,l=i.line;e.options.lineWrapping||(l=to(_n(Zn(n,i.line))),n.iter(l,a.line+1,function(e){if(e==o.maxLine)return u=!0,!0})),n.sel.contains(t.from,t.to)>-1&&To(e),Vn(n,t,r,s(e)),e.options.lineWrapping||(n.iter(l,i.line+t.text.length,function(e){var t=c(e);t>o.maxLineLength&&(o.maxLine=e,o.maxLineLength=t,o.maxLineChanged=!0,u=!1)}),u&&(e.curOp.updateMaxLine=!0)),n.frontier=Math.min(n.frontier,i.line),Ie(e,400);var d=t.text.length-(a.line-i.line)-1;t.full?Ft(e):i.line!=a.line||1!=t.text.length||Wn(e.doc,t)?Ft(e,i.line,a.line+1,d):Mt(e,i.line,"text");var p=Ao(e,"changes"),h=Ao(e,"change");if(h||p){var f={from:i,to:a,text:t.text,removed:t.removed,origin:t.origin};h&&Po(e,"change",e,f),p&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(f)}e.display.selForContextMenu=null}function kr(e,t,r,n,o){if(n||(n=r),Is(n,r)<0){var s=n;n=r,r=s}"string"==typeof t&&(t=e.splitLines(t)),Pr(e,{from:r,to:n,text:t,origin:o})}function Dr(e,t){if(!jo(e,"scrollCursorIntoView")){var r=e.display,n=r.sizer.getBoundingClientRect(),o=null;if(t.top+n.top<0?o=!0:t.bottom+n.top>(window.innerHeight||document.documentElement.clientHeight)&&(o=!1),null!=o&&!js){var s=Uo("div","​",null,"position: absolute; top: "+(t.top-r.viewOffset-Ue(e.display))+"px; height: "+(t.bottom-t.top+Ve(e)+r.barHeight)+"px; left: "+t.left+"px; width: 2px;");e.display.lineSpace.appendChild(s),s.scrollIntoView(o),e.display.lineSpace.removeChild(s)}}}function Or(e,t,r,n){null==n&&(n=0);for(var o=0;o<5;o++){var s=!1,i=ht(e,t),a=r&&r!=t?ht(e,r):i,u=Fr(e,Math.min(i.left,a.left),Math.min(i.top,a.top)-n,Math.max(i.left,a.left),Math.max(i.bottom,a.bottom)+n),l=e.doc.scrollTop,d=e.doc.scrollLeft;if(null!=u.scrollTop&&(nr(e,u.scrollTop),Math.abs(e.doc.scrollTop-l)>1&&(s=!0)),null!=u.scrollLeft&&(or(e,u.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(s=!0)),!s)break}return i}function Hr(e,t,r,n,o){var s=Fr(e,t,r,n,o);null!=s.scrollTop&&nr(e,s.scrollTop),null!=s.scrollLeft&&or(e,s.scrollLeft)}function Fr(e,t,r,n,o){var s=e.display,i=_t(e.display);r<0&&(r=0);var a=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:s.scroller.scrollTop,u=Ke(e),l={};o-r>u&&(o=r+u);var d=e.doc.height+ze(s),c=rd-i;if(ra+u){var h=Math.min(r,(p?d:o)-u);h!=a&&(l.scrollTop=h)}var f=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:s.scroller.scrollLeft,m=Ge(e)-(e.options.fixedGutter?s.gutters.offsetWidth:0),b=n-t>m;return b&&(n=t+m),t<10?l.scrollLeft=0:tm+f-3&&(l.scrollLeft=n+(b?0:10)-m),l}function Mr(e,t,r){null==t&&null==r||Br(e),null!=t&&(e.curOp.scrollLeft=(null==e.curOp.scrollLeft?e.doc.scrollLeft:e.curOp.scrollLeft)+t),null!=r&&(e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+r)}function Rr(e){Br(e);var t=e.getCursor(),r=t,n=t;e.options.lineWrapping||(r=t.ch?Bs(t.line,t.ch-1):t,n=Bs(t.line,t.ch+1)),e.curOp.scrollToPos={from:r,to:n,margin:e.options.cursorScrollMargin,isCursor:!0}}function Br(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var r=ft(e,t.from),n=ft(e,t.to),o=Fr(e,Math.min(r.left,n.left),Math.min(r.top,n.top)-t.margin,Math.max(r.right,n.right),Math.max(r.bottom,n.bottom)+t.margin);e.scrollTo(o.scrollLeft,o.scrollTop)}}function Ir(e,t,r,n){var o,s=e.doc;null==r&&(r="add"),"smart"==r&&(s.mode.indent?o=qe(e,t):r="prev");var i=e.options.tabSize,a=Zn(s,t),u=Ni(a.text,null,i);a.stateAfter&&(a.stateAfter=null);var l,d=a.text.match(/^\s*/)[0];if(n||/\S/.test(a.text)){if("smart"==r&&(l=s.mode.indent(o,a.text.slice(d.length),a.text),l==Mi||l>150)){if(!n)return;r="prev"}}else l=0,r="not";"prev"==r?l=t>s.first?Ni(Zn(s,t-1).text,null,i):0:"add"==r?l=u+e.options.indentUnit:"subtract"==r?l=u-e.options.indentUnit:"number"==typeof r&&(l=u+r),l=Math.max(0,l);var c="",p=0;if(e.options.indentWithTabs)for(var h=Math.floor(l/i);h;--h)p+=i,c+="\t";if(p=0;t--)kr(e.doc,"",n[t].from,n[t].to,"+delete");Rr(e)})}function qr(e,t,r,n,o){function s(){var t=a+r;return!(t=e.first+e.size)&&(a=t,d=Zn(e,t))}function i(e){var t=(o?ps:hs)(d,u,r,!0);if(null==t){if(e||!s())return!1;u=o?(r<0?ss:os)(d):r<0?d.text.length:0}else u=t;return!0}var a=t.line,u=t.ch,l=r,d=Zn(e,a);if("char"==n)i();else if("column"==n)i(!0);else if("word"==n||"group"==n)for(var c=null,p="group"==n,h=e.cm&&e.cm.getHelper(t,"wordChars"),f=!0;!(r<0)||i(!f);f=!1){var m=d.text.charAt(u)||"\n",b=No(m,h)?"w":p&&"\n"==m?"n":!p||/\s/.test(m)?null:"p";if(!p||f||b||(b="s"),c&&c!=b){r<0&&(r=1,i());break}if(b&&(c=b),r>0&&!i(!f))break}var v=De(e,Bs(a,u),t,l,!0);return Is(t,v)||(v.hitSide=!0),v}function Ur(e,t,r,n){var o,s=e.doc,i=t.left;if("page"==n){var a=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight);o=t.top+r*(a-(r<0?1.5:.5)*_t(e.display))}else"line"==n&&(o=r>0?t.bottom+3:t.top-3);for(;;){var u=bt(e,i,o);if(!u.outside)break;if(r<0?o<=0:o>=s.height){u.hitSide=!0;break}o+=5*r}return u}function zr(t,r,n,o){e.defaults[t]=r,n&&(ti[t]=o?function(e,t,r){r!=ri&&n(e,t,r)}:n)}function Wr(e){for(var t,r,n,o,s=e.split(/-(?!$)/),e=s[s.length-1],i=0;i0||0==i&&s.clearWhenEmpty!==!1)return s;if(s.replacedWith&&(s.collapsed=!0,s.widgetNode=Uo("span",[s.replacedWith],"CodeMirror-widget"),n.handleMouseEvents||s.widgetNode.setAttribute("cm-ignore-events","true"),n.insertLeft&&(s.widgetNode.insertLeft=!0)),s.collapsed){if(vn(e,t.line,t,r,s)||t.line!=r.line&&vn(e,r.line,t,r,s))throw new Error("Inserting collapsed marker partially overlapping an existing one");Rs=!0}s.addToHistory&&lo(e,{from:t,to:r,origin:"markText"},e.sel,NaN);var a,u=t.line,l=e.cm;if(e.iter(u,r.line+1,function(e){l&&s.collapsed&&!l.options.lineWrapping&&_n(e)==l.display.maxLine&&(a=!0),s.collapsed&&u!=t.line&&eo(e,0),tn(e,new Jr(s,u==t.line?t.ch:null,u==r.line?r.ch:null)),++u}),s.collapsed&&e.iter(t.line,r.line+1,function(t){wn(e,t)&&eo(t,0)}),s.clearOnEnter&&Si(s,"beforeCursorEnter",function(){s.clear()}),s.readOnly&&(Ms=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),s.collapsed&&(s.id=++bi,s.atomic=!0),l){if(a&&(l.curOp.updateMaxLine=!0),s.collapsed)Ft(l,t.line,r.line+1);else if(s.className||s.title||s.startStyle||s.endStyle||s.css)for(var d=t.line;d<=r.line;d++)Mt(l,d,"text");s.atomic&&Ae(l.doc),Po(l,"markerAdded",l,s)}return s}function Kr(e,t,r,n,o){n=Bo(n),n.shared=!1;var s=[Gr(e,t,r,n,o)],i=s[0],a=n.widgetNode;return Yn(e,function(e){a&&(n.widgetNode=a.cloneNode(!0)),s.push(Gr(e,me(e,t),me(e,r),n,o));for(var u=0;u=t:s.to>t);(n||(n=[])).push(new Jr(i,s.from,u?null:s.to))}}return n}function nn(e,t,r){if(e)for(var n,o=0;o=t:s.to>t);if(a||s.from==t&&"bookmark"==i.type&&(!r||s.marker.insertLeft)){var u=null==s.from||(i.inclusiveLeft?s.from<=t:s.from0&&a)for(var c=0;c0)){var d=[u,1],c=Is(l.from,a.from),p=Is(l.to,a.to);(c<0||!i.inclusiveLeft&&!c)&&d.push({from:l.from,to:a.from}),(p>0||!i.inclusiveRight&&!p)&&d.push({from:a.to,to:l.to}),o.splice.apply(o,d),u+=d.length-1}}return o}function ln(e){var t=e.markedSpans;if(t){for(var r=0;r=0&&c<=0||d<=0&&c>=0)&&(d<=0&&(u.marker.inclusiveRight&&o.inclusiveLeft?Is(l.to,r)>=0:Is(l.to,r)>0)||d>=0&&(u.marker.inclusiveRight&&o.inclusiveLeft?Is(l.from,n)<=0:Is(l.from,n)<0)))return!0}}}function _n(e){for(var t;t=mn(e);)e=t.find(-1,!0).line;return e}function gn(e){for(var t,r;t=bn(e);)e=t.find(1,!0).line,(r||(r=[])).push(e);return r}function yn(e,t){var r=Zn(e,t),n=_n(r);return r==n?t:to(n)}function $n(e,t){if(t>e.lastLine())return t;var r,n=Zn(e,t);if(!wn(e,n))return t;for(;r=bn(n);)n=r.find(1,!0).line;return to(n)+1}function wn(e,t){var r=Rs&&t.markedSpans;if(r)for(var n,o=0;or.start)return i}throw new Error("Mode "+t.name+" failed to advance stream.")}function Dn(e,t,r,n){function o(e){return{start:c.start,end:c.pos,string:c.current(),type:s||null,state:e?ui(i.mode,d):d}}var s,i=e.doc,a=i.mode;t=me(i,t);var u,l=Zn(i,t.line),d=qe(e,t.line,r),c=new mi(l.text,e.options.tabSize);for(n&&(u=[]);(n||c.pose.options.maxHighlightLength?(a=!1,i&&Mn(e,t,n,c.pos),c.pos=t.length,u=null):u=An(kn(r,c,n,p),s),p){var h=p[0].name;h&&(u="m-"+(u?h+" "+u:h))}if(!a||d!=u){for(;le&&o.splice(u,1,e,o[u+1],n),u+=2,l=Math.min(e,n)}if(t)if(a.opaque)o.splice(r,u-r,e,"cm-overlay "+t),u=r+2;else for(;re.options.maxHighlightLength?ui(e.doc.mode,n):n);t.stateAfter=n,t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),r===e.doc.frontier&&e.doc.frontier++}return t.styles}function Mn(e,t,r,n){var o=e.doc.mode,s=new mi(t,e.options.tabSize);for(s.start=s.pos=n||0,""==t&&Sn(o,r);!s.eol();)kn(o,s,r),s.start=s.pos}function Rn(e,t){if(!e||/^\s*$/.test(e))return null;var r=t.addModeClass?wi:$i;return r[e]||(r[e]=e.replace(/\S+/g,"cm-$&"))}function Bn(e,t){var r=Uo("span",null,null,$s?"padding-right: .1px":null),n={pre:Uo("pre",[r],"CodeMirror-line"),content:r,col:0,pos:0,cm:e,splitSpaces:(gs||$s)&&e.getOption("lineWrapping")};t.measure={};for(var o=0;o<=(t.rest?t.rest.length:0);o++){var s,i=o?t.rest[o-1]:t.line;n.pos=0,n.addToken=Nn,Qo(e.display.measure)&&(s=oo(i))&&(n.addToken=qn(n.addToken,s)),n.map=[];var a=t!=e.display.externalMeasured&&to(i);zn(i,n,Fn(e,i,a)),i.styleClasses&&(i.styleClasses.bgClass&&(n.bgClass=Ko(i.styleClasses.bgClass,n.bgClass||"")),i.styleClasses.textClass&&(n.textClass=Ko(i.styleClasses.textClass,n.textClass||""))),0==n.map.length&&n.map.push(0,0,n.content.appendChild(Jo(e.display.measure))),0==o?(t.measure.map=n.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(n.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if($s){var u=n.content.lastChild;(/\bcm-tab\b/.test(u.className)||u.querySelector&&u.querySelector(".cm-tab"))&&(n.content.className="cm-tab-wrap-hack")}return Oi(e,"renderLine",e,t.line,n.pre),n.pre.className&&(n.textClass=Ko(n.pre.className,n.textClass||"")),n}function In(e){var t=Uo("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Nn(e,t,r,n,o,s,i){if(t){var a=e.splitSpaces?t.replace(/ {3,}/g,Ln):t,u=e.cm.state.specialChars,l=!1;if(u.test(t))for(var d=document.createDocumentFragment(),c=0;;){u.lastIndex=c;var p=u.exec(t),h=p?p.index-c:t.length-c;if(h){var f=document.createTextNode(a.slice(c,c+h));gs&&ys<9?d.appendChild(Uo("span",[f])):d.appendChild(f),e.map.push(e.pos,e.pos+h,f),e.col+=h,e.pos+=h}if(!p)break;if(c+=h+1,"\t"==p[0]){var m=e.cm.options.tabSize,b=m-e.col%m,f=d.appendChild(Uo("span",Do(b),"cm-tab"));f.setAttribute("role","presentation"),f.setAttribute("cm-text","\t"),e.col+=b}else if("\r"==p[0]||"\n"==p[0]){var f=d.appendChild(Uo("span","\r"==p[0]?"␍":"␤","cm-invalidchar"));f.setAttribute("cm-text",p[0]),e.col+=1}else{var f=e.cm.options.specialCharPlaceholder(p[0]);f.setAttribute("cm-text",p[0]),gs&&ys<9?d.appendChild(Uo("span",[f])):d.appendChild(f),e.col+=1}e.map.push(e.pos,e.pos+1,f),e.pos++}else{e.col+=t.length;var d=document.createTextNode(a);e.map.push(e.pos,e.pos+t.length,d),gs&&ys<9&&(l=!0),e.pos+=t.length}if(r||n||o||l||i){var v=r||"";n&&(v+=n),o&&(v+=o);var _=Uo("span",[d],v,i);return s&&(_.title=s),e.content.appendChild(_)}e.content.appendChild(d)}}function Ln(e){for(var t=" ",r=0;rl&&p.from<=l)break}if(p.to>=d)return e(r,n,o,s,i,a,u);e(r,n.slice(0,p.to-l),o,s,null,a,u),s=null,n=n.slice(p.to-l),l=p.to}}}function Un(e,t,r,n){var o=!n&&r.widgetNode;o&&e.map.push(e.pos,e.pos+t,o),!n&&e.cm.display.input.needsContentAttribute&&(o||(o=e.content.appendChild(document.createElement("span"))),o.setAttribute("cm-marker",r.id)),o&&(e.cm.display.input.setUneditable(o),e.content.appendChild(o)),e.pos+=t}function zn(e,t,r){var n=e.markedSpans,o=e.text,s=0;if(n)for(var i,a,u,l,d,c,p,h=o.length,f=0,m=1,b="",v=0;;){if(v==f){u=l=d=c=a="",p=null,v=1/0;for(var _,g=[],y=0;yf||w.collapsed&&$.to==f&&$.from==f)?(null!=$.to&&$.to!=f&&v>$.to&&(v=$.to,l=""),w.className&&(u+=" "+w.className),w.css&&(a=(a?a+";":"")+w.css),w.startStyle&&$.from==f&&(d+=" "+w.startStyle),w.endStyle&&$.to==v&&(_||(_=[])).push(w.endStyle,$.to),w.title&&!c&&(c=w.title),w.collapsed&&(!p||hn(p.marker,w)<0)&&(p=$)):$.from>f&&v>$.from&&(v=$.from)}if(_)for(var y=0;y<_.length;y+=2)_[y+1]==v&&(l+=" "+_[y]);if(!p||p.from==f)for(var y=0;y=h)break;for(var x=Math.min(h,v);;){if(b){var E=f+b.length;if(!p){var P=E>x?b.slice(0,x-f):b;t.addToken(t,P,i?i+u:u,d,f+P.length==v?l:"",c,a)}if(E>=x){b=b.slice(x-f),f=x;break}f=E,d=""}b=o.slice(s,s=r[m++]),i=Rn(r[m++],t.cm.options)}}else for(var m=1;m1&&e.remove(a.line+1,f-1),e.insert(a.line+1,m)}Po(e,"change",e,t)}function Gn(e){this.lines=e,this.parent=null;for(var t=0,r=0;t=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var r=e;!r.lines;)for(var n=0;;++n){var o=r.children[n],s=o.chunkSize();if(t1&&!e.done[e.done.length-2].ranges?(e.done.pop(),Oo(e.done)):void 0}function lo(e,t,r,n){var o=e.history;o.undone.length=0;var s,i=+new Date;if((o.lastOp==n||o.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&e.cm&&o.lastModTime>i-e.cm.options.historyEventDelay||"*"==t.origin.charAt(0)))&&(s=uo(o,o.lastOp==n))){var a=Oo(s.changes);0==Is(t.from,t.to)&&0==Is(t.from,a.to)?a.to=Qs(t):s.changes.push(io(e,t))}else{var u=Oo(o.done);for(u&&u.ranges||ho(e.sel,o.done),s={changes:[io(e,t)],generation:o.generation},o.done.push(s);o.done.length>o.undoDepth;)o.done.shift(),o.done[0].ranges||o.done.shift()}o.done.push(r),o.generation=++o.maxGeneration,o.lastModTime=o.lastSelTime=i,o.lastOp=o.lastSelOp=n,o.lastOrigin=o.lastSelOrigin=t.origin,a||Oi(e,"historyAdded")}function co(e,t,r,n){var o=t.charAt(0);return"*"==o||"+"==o&&r.ranges.length==n.ranges.length&&r.somethingSelected()==n.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function po(e,t,r,n){var o=e.history,s=n&&n.origin;r==o.lastSelOp||s&&o.lastSelOrigin==s&&(o.lastModTime==o.lastSelTime&&o.lastOrigin==s||co(e,s,Oo(o.done),t))?o.done[o.done.length-1]=t:ho(t,o.done),o.lastSelTime=+new Date,o.lastSelOrigin=s,o.lastSelOp=r,n&&n.clearRedo!==!1&&ao(o.undone)}function ho(e,t){var r=Oo(t);r&&r.ranges&&r.equals(e)||t.push(e)}function fo(e,t,r,n){var o=t["spans_"+e.id],s=0;e.iter(Math.max(e.first,r),Math.min(e.first+e.size,n),function(r){r.markedSpans&&((o||(o=t["spans_"+e.id]={}))[s]=r.markedSpans),++s})}function mo(e){if(!e)return null;for(var t,r=0;r-1&&(Oo(a)[c]=d[c],delete d[c])}}}return o}function _o(e,t,r,n){ -r0?n.slice():ki:n||ki}function Po(e,t){function r(e){return function(){e.apply(null,s)}}var n=Eo(e,t,!1);if(n.length){var o,s=Array.prototype.slice.call(arguments,2);Ws?o=Ws.delayedCallbacks:Hi?o=Hi:(o=Hi=[],setTimeout(Co,0));for(var i=0;i0}function So(e){e.prototype.on=function(e,t){Si(this,e,t)},e.prototype.off=function(e,t){Di(this,e,t)}}function ko(){this.id=null}function Do(e){for(;qi.length<=e;)qi.push(Oo(qi)+" ");return qi[e]}function Oo(e){return e[e.length-1]}function Ho(e,t){for(var r=0;r-1&&Vi(e))||t.test(e):Vi(e)}function Lo(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}function qo(e){return e.charCodeAt(0)>=768&&Gi.test(e)}function Uo(e,t,r,n){var o=document.createElement(e);if(r&&(o.className=r),n&&(o.style.cssText=n),"string"==typeof t)o.appendChild(document.createTextNode(t));else if(t)for(var s=0;s0;--t)e.removeChild(e.firstChild);return e}function Wo(e,t){return zo(e).appendChild(t)}function Vo(){for(var e=document.activeElement;e&&e.root&&e.root.activeElement;)e=e.root.activeElement;return e}function Go(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}function Ko(e,t){for(var r=e.split(" "),n=0;n2&&!(gs&&ys<8))}var r=Yi?Uo("span","​"):Uo("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return r.setAttribute("cm-text",""),r}function Qo(e){if(null!=Xi)return Xi;var t=Wo(e,document.createTextNode("AخA")),r=zi(t,0,1).getBoundingClientRect();if(!r||r.left==r.right)return!1;var n=zi(t,1,2).getBoundingClientRect();return Xi=n.right-r.right<3}function es(e){if(null!=oa)return oa;var t=Wo(e,Uo("span","x")),r=t.getBoundingClientRect(),n=zi(t,0,1).getBoundingClientRect();return oa=Math.abs(r.left-n.left)>1}function ts(e,t,r,n){if(!e)return n(t,r,"ltr");for(var o=!1,s=0;st||t==r&&i.to==t)&&(n(Math.max(i.from,t),Math.min(i.to,r),1==i.level?"rtl":"ltr"),o=!0)}o||n(t,r,"ltr")}function rs(e){return e.level%2?e.to:e.from}function ns(e){return e.level%2?e.from:e.to}function os(e){var t=oo(e);return t?rs(t[0]):0}function ss(e){var t=oo(e);return t?ns(Oo(t)):e.text.length}function is(e,t){var r=Zn(e.doc,t),n=_n(r);n!=r&&(t=to(n));var o=oo(n),s=o?o[0].level%2?ss(n):os(n):0;return Bs(t,s)}function as(e,t){for(var r,n=Zn(e.doc,t);r=bn(n);)n=r.find(1,!0).line,t=null;var o=oo(n),s=o?o[0].level%2?os(n):ss(n):n.text.length;return Bs(null==t?to(n):t,s)}function us(e,t){var r=is(e,t.line),n=Zn(e.doc,r.line),o=oo(n);if(!o||0==o[0].level){var s=Math.max(0,n.text.search(/\S/)),i=t.line==r.line&&t.ch<=s&&t.ch;return Bs(r.line,i?0:s)}return r}function ls(e,t,r){var n=e[0].level;return t==n||r!=n&&tt)return n;if(o.from==t||o.to==t){if(null!=r)return ls(e,o.level,e[r].level)?(o.from!=o.to&&(ia=r),n):(o.from!=o.to&&(ia=n),r);r=n}}return r}function cs(e,t,r,n){if(!n)return t+r;do t+=r;while(t>0&&qo(e.text.charAt(t)));return t}function ps(e,t,r,n){var o=oo(e);if(!o)return hs(e,t,r,n);for(var s=ds(o,t),i=o[s],a=cs(e,t,i.level%2?-r:r,n);;){if(a>i.from&&a0==i.level%2?i.to:i.from);if(i=o[s+=r],!i)return null;a=r>0==i.level%2?cs(e,i.to,-1,n):cs(e,i.from,1,n)}}function hs(e,t,r,n){var o=t+r;if(n)for(;o>0&&qo(e.text.charAt(o));)o+=r;return o<0||o>e.text.length?null:o}var fs=navigator.userAgent,ms=navigator.platform,bs=/gecko\/\d/i.test(fs),vs=/MSIE \d/.test(fs),_s=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(fs),gs=vs||_s,ys=gs&&(vs?document.documentMode||6:_s[1]),$s=/WebKit\//.test(fs),ws=$s&&/Qt\/\d+\.\d+/.test(fs),xs=/Chrome\//.test(fs),Es=/Opera\//.test(fs),Ps=/Apple Computer/.test(navigator.vendor),Cs=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(fs),js=/PhantomJS/.test(fs),Ts=/AppleWebKit/.test(fs)&&/Mobile\/\w+/.test(fs),As=Ts||/Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(fs),Ss=Ts||/Mac/.test(ms),ks=/\bCrOS\b/.test(fs),Ds=/win/i.test(ms),Os=Es&&fs.match(/Version\/(\d*\.\d*)/);Os&&(Os=Number(Os[1])),Os&&Os>=15&&(Es=!1,$s=!0);var Hs=Ss&&(ws||Es&&(null==Os||Os<12.11)),Fs=bs||gs&&ys>=9,Ms=!1,Rs=!1;m.prototype=Bo({update:function(e){var t=e.scrollWidth>e.clientWidth+1,r=e.scrollHeight>e.clientHeight+1,n=e.nativeBarWidth;if(r){this.vert.style.display="block",this.vert.style.bottom=t?n+"px":"0";var o=e.viewHeight-(t?n:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+o)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=r?n+"px":"0",this.horiz.style.left=e.barLeft+"px";var s=e.viewWidth-e.barLeft-(r?n:0);this.horiz.firstChild.style.width=e.scrollWidth-e.clientWidth+s+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==n&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:r?n:0,bottom:t?n:0}},setScrollLeft:function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz)},setScrollTop:function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert)},zeroWidthHack:function(){var e=Ss&&!Cs?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new ko,this.disableVert=new ko},enableZeroWidthBar:function(e,t){function r(){var n=e.getBoundingClientRect(),o=document.elementFromPoint(n.left+1,n.bottom-1);o!=e?e.style.pointerEvents="none":t.set(1e3,r)}e.style.pointerEvents="auto",t.set(1e3,r)},clear:function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)}},m.prototype),b.prototype=Bo({update:function(){return{bottom:0,right:0}},setScrollLeft:function(){},setScrollTop:function(){},clear:function(){}},b.prototype),e.scrollbarModel={"native":m,"null":b},P.prototype.signal=function(e,t){Ao(e,t)&&this.events.push(arguments)},P.prototype.finish=function(){for(var e=0;e=9&&r.hasSelection&&(r.hasSelection=null),r.poll()}),Si(s,"paste",function(e){jo(n,e)||J(e,n)||(n.state.pasteIncoming=!0,r.fastPoll())}),Si(s,"cut",t),Si(s,"copy",t),Si(e.scroller,"paste",function(t){Wt(e,t)||jo(n,t)||(n.state.pasteIncoming=!0,r.focus())}),Si(e.lineSpace,"selectstart",function(t){Wt(e,t)||ji(t)}),Si(s,"compositionstart",function(){var e=n.getCursor("from");r.composing&&r.composing.range.clear(),r.composing={start:e,range:n.markText(e,n.getCursor("to"),{className:"CodeMirror-composing"})}}),Si(s,"compositionend",function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null)})},prepareSelection:function(){var e=this.cm,t=e.display,r=e.doc,n=Fe(e);if(e.options.moveInputWithCursor){var o=ht(e,r.sel.primary().head,"div"),s=t.wrapper.getBoundingClientRect(),i=t.lineDiv.getBoundingClientRect();n.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,o.top+i.top-s.top)),n.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,o.left+i.left-s.left))}return n},showSelection:function(e){var t=this.cm,r=t.display;Wo(r.cursorDiv,e.cursors),Wo(r.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},reset:function(e){if(!this.contextMenuPending){var t,r,n=this.cm,o=n.doc;if(n.somethingSelected()){this.prevInput="";var s=o.sel.primary();t=na&&(s.to().line-s.from().line>100||(r=n.getSelection()).length>1e3);var i=t?"-":r||n.getSelection();this.textarea.value=i,n.state.focused&&Ui(this.textarea),gs&&ys>=9&&(this.hasSelection=i)}else e||(this.prevInput=this.textarea.value="",gs&&ys>=9&&(this.hasSelection=null));this.inaccurateSelection=t}},getField:function(){return this.textarea},supportsTouch:function(){return!1},focus:function(){if("nocursor"!=this.cm.options.readOnly&&(!As||Vo()!=this.textarea))try{this.textarea.focus()}catch(e){}},blur:function(){this.textarea.blur()},resetPosition:function(){this.wrapper.style.top=this.wrapper.style.left=0},receivedFocus:function(){this.slowPoll()},slowPoll:function(){var e=this;e.pollingFast||e.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},fastPoll:function(){function e(){var n=r.poll();n||t?(r.pollingFast=!1,r.slowPoll()):(t=!0,r.polling.set(60,e))}var t=!1,r=this;r.pollingFast=!0,r.polling.set(20,e)},poll:function(){var e=this.cm,t=this.textarea,r=this.prevInput;if(this.contextMenuPending||!e.state.focused||ra(t)&&!r&&!this.composing||e.isReadOnly()||e.options.disableInput||e.state.keySeq)return!1;var n=t.value;if(n==r&&!e.somethingSelected())return!1;if(gs&&ys>=9&&this.hasSelection===n||Ss&&/[\uf700-\uf7ff]/.test(n))return e.display.input.reset(),!1;if(e.doc.sel==e.display.selForContextMenu){var o=n.charCodeAt(0);if(8203!=o||r||(r="​"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var s=0,i=Math.min(r.length,n.length);s1e3||n.indexOf("\n")>-1?t.value=a.prevInput="":a.prevInput=n,a.composing&&(a.composing.range.clear(),a.composing.range=e.markText(a.composing.start,e.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ensurePolled:function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},onKeyPress:function(){gs&&ys>=9&&(this.hasSelection=null),this.fastPoll()},onContextMenu:function(e){function t(){if(null!=i.selectionStart){var e=o.somethingSelected(),t="​"+(e?i.value:"");i.value="⇚",i.value=t,n.prevInput=e?"":"​",i.selectionStart=1,i.selectionEnd=t.length,s.selForContextMenu=o.doc.sel}}function r(){if(n.contextMenuPending=!1,n.wrapper.style.cssText=c,i.style.cssText=d,gs&&ys<9&&s.scrollbars.setScrollTop(s.scroller.scrollTop=u),null!=i.selectionStart){(!gs||gs&&ys<9)&&t();var e=0,r=function(){s.selForContextMenu==o.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"​"==n.prevInput?St(o,di.selectAll)(o):e++<10?s.detectingSelectAll=setTimeout(r,500):s.input.reset()};s.detectingSelectAll=setTimeout(r,200)}}var n=this,o=n.cm,s=o.display,i=n.textarea,a=Vt(o,e),u=s.scroller.scrollTop;if(a&&!Es){var l=o.options.resetSelectionOnContextMenu;l&&o.doc.sel.contains(a)==-1&&St(o,Ce)(o.doc,he(a),Ri);var d=i.style.cssText,c=n.wrapper.style.cssText;n.wrapper.style.cssText="position: absolute";var p=n.wrapper.getBoundingClientRect();if(i.style.cssText="position: absolute; width: 30px; height: 30px; top: "+(e.clientY-p.top-5)+"px; left: "+(e.clientX-p.left-5)+"px; z-index: 1000; background: "+(gs?"rgba(255, 255, 255, .05)":"transparent")+"; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",$s)var h=window.scrollY;if(s.input.focus(),$s&&window.scrollTo(null,h),s.input.reset(),o.somethingSelected()||(i.value=n.prevInput=" "),n.contextMenuPending=!0,s.selForContextMenu=o.doc.sel,clearTimeout(s.detectingSelectAll),gs&&ys>=9&&t(),Fs){Ai(e);var f=function(){Di(window,"mouseup",f),setTimeout(r,20)};Si(window,"mouseup",f)}else setTimeout(r,50)}},readOnlyChanged:function(e){e||this.reset()},setUneditable:Mo,needsContentAttribute:!1},re.prototype),oe.prototype=Bo({init:function(e){function t(e){if(!jo(n,e)){if(n.somethingSelected())Ns={lineWise:!1,text:n.getSelections()},"cut"==e.type&&n.replaceSelection("",null,"cut");else{if(!n.options.lineWiseCopyCut)return;var t=ee(n);Ns={lineWise:!0,text:t.text},"cut"==e.type&&n.operation(function(){n.setSelections(t.ranges,0,Ri),n.replaceSelection("",null,"cut")})}if(e.clipboardData&&!Ts)e.preventDefault(),e.clipboardData.clearData(),e.clipboardData.setData("text/plain",Ns.text.join("\n"));else{var r=ne(),o=r.firstChild;n.display.lineSpace.insertBefore(r,n.display.lineSpace.firstChild),o.value=Ns.text.join("\n");var s=document.activeElement;Ui(o),setTimeout(function(){n.display.lineSpace.removeChild(r),s.focus()},50)}}}var r=this,n=r.cm,o=r.div=e.lineDiv;te(o),Si(o,"paste",function(e){jo(n,e)||J(e,n)}),Si(o,"compositionstart",function(e){var t=e.data;if(r.composing={sel:n.doc.sel,data:t,startData:t},t){var o=n.doc.sel.primary(),s=n.getLine(o.head.line),i=s.indexOf(t,Math.max(0,o.head.ch-t.length));i>-1&&i<=o.head.ch&&(r.composing.sel=he(Bs(o.head.line,i),Bs(o.head.line,i+t.length)))}}),Si(o,"compositionupdate",function(e){r.composing.data=e.data}),Si(o,"compositionend",function(e){var t=r.composing;t&&(e.data==t.startData||/\u200b/.test(e.data)||(t.data=e.data),setTimeout(function(){t.handled||r.applyComposition(t),r.composing==t&&(r.composing=null)},50))}),Si(o,"touchstart",function(){r.forceCompositionEnd()}),Si(o,"input",function(){r.composing||!n.isReadOnly()&&r.pollContent()||At(r.cm,function(){Ft(n)})}),Si(o,"copy",t),Si(o,"cut",t)},prepareSelection:function(){var e=Fe(this.cm,!1);return e.focus=this.cm.state.focused,e},showSelection:function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},showPrimarySelection:function(){var e=window.getSelection(),t=this.cm.doc.sel.primary(),r=ae(this.cm,e.anchorNode,e.anchorOffset),n=ae(this.cm,e.focusNode,e.focusOffset);if(!r||r.bad||!n||n.bad||0!=Is(Y(r,n),t.from())||0!=Is(K(r,n),t.to())){var o=se(this.cm,t.from()),s=se(this.cm,t.to());if(o||s){var i=this.cm.display.view,a=e.rangeCount&&e.getRangeAt(0);if(o){if(!s){var u=i[i.length-1].measure,l=u.maps?u.maps[u.maps.length-1]:u.map;s={node:l[l.length-1],offset:l[l.length-2]-l[l.length-3]}}}else o={node:i[0].measure.map[2],offset:0};try{var d=zi(o.node,o.offset,s.offset,s.node)}catch(c){}d&&(!bs&&this.cm.state.focused?(e.collapse(o.node,o.offset),d.collapsed||e.addRange(d)):(e.removeAllRanges(),e.addRange(d)),a&&null==e.anchorNode?e.addRange(a):bs&&this.startGracePeriod()),this.rememberSelection()}}},startGracePeriod:function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){e.cm.curOp.selectionChanged=!0})},20)},showMultipleSelections:function(e){Wo(this.cm.display.cursorDiv,e.cursors),Wo(this.cm.display.selectionDiv,e.selection)},rememberSelection:function(){var e=window.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},selectionInEditor:function(){var e=window.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return Ki(this.div,t)},focus:function(){"nocursor"!=this.cm.options.readOnly&&this.div.focus()},blur:function(){this.div.blur()},getField:function(){return this.div},supportsTouch:function(){return!0},receivedFocus:function(){function e(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,e))}var t=this;this.selectionInEditor()?this.pollSelection():At(this.cm,function(){t.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,e)},selectionChanged:function(){var e=window.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},pollSelection:function(){if(!this.composing&&!this.gracePeriod&&this.selectionChanged()){var e=window.getSelection(),t=this.cm;this.rememberSelection();var r=ae(t,e.anchorNode,e.anchorOffset),n=ae(t,e.focusNode,e.focusOffset);r&&n&&At(t,function(){Ce(t.doc,he(r,n),Ri),(r.bad||n.bad)&&(t.curOp.selectionChanged=!0)})}},pollContent:function(){var e=this.cm,t=e.display,r=e.doc.sel.primary(),n=r.from(),o=r.to();if(n.linet.viewTo-1)return!1;var s;if(n.line==t.viewFrom||0==(s=Bt(e,n.line)))var i=to(t.view[0].line),a=t.view[0].node;else var i=to(t.view[s].line),a=t.view[s-1].node.nextSibling;var u=Bt(e,o.line);if(u==t.view.length-1)var l=t.viewTo-1,d=t.lineDiv.lastChild;else var l=to(t.view[u+1].line)-1,d=t.view[u+1].node.previousSibling;for(var c=e.doc.splitLines(le(e,a,d,i,l)),p=Jn(e.doc,Bs(i,0),Bs(l,Zn(e.doc,l).text.length));c.length>1&&p.length>1;)if(Oo(c)==Oo(p))c.pop(),p.pop(),l--;else{if(c[0]!=p[0])break;c.shift(),p.shift(),i++}for(var h=0,f=0,m=c[0],b=p[0],v=Math.min(m.length,b.length);h1||c[0]||Is($,w)?(kr(e.doc,c,$,w,"+input"),!0):void 0},ensurePolled:function(){this.forceCompositionEnd()},reset:function(){this.forceCompositionEnd()},forceCompositionEnd:function(){this.composing&&!this.composing.handled&&(this.applyComposition(this.composing),this.composing.handled=!0,this.div.blur(),this.div.focus())},applyComposition:function(e){this.cm.isReadOnly()?St(this.cm,Ft)(this.cm):e.data&&e.data!=e.startData&&St(this.cm,Z)(this.cm,e.data,0,e.sel)},setUneditable:function(e){e.contentEditable="false"},onKeyPress:function(e){e.preventDefault(),this.cm.isReadOnly()||St(this.cm,Z)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0)},readOnlyChanged:function(e){this.div.contentEditable=String("nocursor"!=e)},onContextMenu:Mo,resetPosition:Mo,needsContentAttribute:!0},oe.prototype),e.inputStyles={textarea:re,contenteditable:oe},de.prototype={primary:function(){return this.ranges[this.primIndex]},equals:function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t=0&&Is(e,n.to())<=0)return r}return-1}},ce.prototype={from:function(){return Y(this.anchor,this.head)},to:function(){return K(this.anchor,this.head)},empty:function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch}};var Ls,qs,Us,zs={left:0,right:0,top:0,bottom:0},Ws=null,Vs=0,Gs=0,Ks=0,Ys=null;gs?Ys=-.53:bs?Ys=15:xs?Ys=-.7:Ps&&(Ys=-1/3);var Xs=function(e){var t=e.wheelDeltaX,r=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==r&&e.detail&&e.axis==e.VERTICAL_AXIS?r=e.detail:null==r&&(r=e.wheelDelta),{x:t,y:r}};e.wheelEventPixels=function(e){var t=Xs(e);return t.x*=Ys,t.y*=Ys,t};var Zs=new ko,Js=null,Qs=e.changeEnd=function(e){return e.text?Bs(e.from.line+e.text.length-1,Oo(e.text).length+(1==e.text.length?e.from.ch:0)):e.to};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,t){var r=this.options,n=r[e];r[e]==t&&"mode"!=e||(r[e]=t,ti.hasOwnProperty(e)&&St(this,ti[e])(this,t,n))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Vr(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,r=0;rr&&(Ir(this,o.head.line,e,!0),r=o.head.line,n==this.doc.sel.primIndex&&Rr(this));else{var s=o.from(),i=o.to(),a=Math.max(r,s.line);r=Math.min(this.lastLine(),i.line-(i.ch?0:1))+1;for(var u=a;u0&&we(this.doc,n,new ce(s,l[n].to()),Ri)}}}),getTokenAt:function(e,t){return Dn(this,e,t)},getLineTokens:function(e,t){return Dn(this,Bs(e),t,!0)},getTokenTypeAt:function(e){e=me(this.doc,e);var t,r=Fn(this,Zn(this.doc,e.line)),n=0,o=(r.length-1)/2,s=e.ch;if(0==s)t=r[2];else for(;;){var i=n+o>>1;if((i?r[2*i-1]:0)>=s)o=i;else{if(!(r[2*i+1]o&&(e=o,n=!0),r=Zn(this.doc,e)}else r=e;return dt(this,r,{top:0,left:0},t||"page").top+(n?this.doc.height-no(r):0)},defaultTextHeight:function(){return _t(this.display)},defaultCharWidth:function(){return gt(this.display)},setGutterMarker:kt(function(e,t,r){return Nr(this.doc,e,"gutter",function(e){var n=e.gutterMarkers||(e.gutterMarkers={});return n[t]=r,!r&&Lo(n)&&(e.gutterMarkers=null),!0})}),clearGutter:kt(function(e){var t=this,r=t.doc,n=r.first;r.iter(function(r){r.gutterMarkers&&r.gutterMarkers[e]&&(r.gutterMarkers[e]=null,Mt(t,n,"gutter"),Lo(r.gutterMarkers)&&(r.gutterMarkers=null)),++n})}),lineInfo:function(e){if("number"==typeof e){if(!ve(this.doc,e))return null;var t=e;if(e=Zn(this.doc,e),!e)return null}else{var t=to(e);if(null==t)return null}return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,r,n,o){var s=this.display;e=ht(this,me(this.doc,e));var i=e.bottom,a=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),s.sizer.appendChild(t),"over"==n)i=e.top;else if("above"==n||"near"==n){var u=Math.max(s.wrapper.clientHeight,this.doc.height),l=Math.max(s.sizer.clientWidth,s.lineSpace.clientWidth);("above"==n||e.bottom+t.offsetHeight>u)&&e.top>t.offsetHeight?i=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=u&&(i=e.bottom),a+t.offsetWidth>l&&(a=l-t.offsetWidth)}t.style.top=i+"px",t.style.left=t.style.right="","right"==o?(a=s.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==o?a=0:"middle"==o&&(a=(s.sizer.clientWidth-t.offsetWidth)/2),t.style.left=a+"px"),r&&Hr(this,a,i,a+t.offsetWidth,i+t.offsetHeight)},triggerOnKeyDown:kt(cr),triggerOnKeyPress:kt(fr),triggerOnKeyUp:hr,execCommand:function(e){if(di.hasOwnProperty(e))return di[e].call(null,this)},triggerElectric:kt(function(e){Q(this,e)}),findPosH:function(e,t,r,n){var o=1;t<0&&(o=-1,t=-t);for(var s=0,i=me(this.doc,e);s0&&a(r.charAt(n-1));)--n;for(;o.5)&&i(this),Oi(this,"refresh",this)}),swapDoc:kt(function(e){var t=this.doc;return t.cm=null,Xn(this,e),at(this),this.display.input.reset(),this.scrollTo(e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,Po(this,"swapDoc",this,t),t}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},So(e);var ei=e.defaults={},ti=e.optionHandlers={},ri=e.Init={toString:function(){return"CodeMirror.Init"}};zr("value","",function(e,t){e.setValue(t)},!0),zr("mode",null,function(e,t){e.doc.modeOption=t,r(e)},!0),zr("indentUnit",2,r,!0),zr("indentWithTabs",!1),zr("smartIndent",!0),zr("tabSize",4,function(e){n(e),at(e),Ft(e)},!0),zr("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var r=[],n=e.doc.first;e.doc.iter(function(e){for(var o=0;;){var s=e.text.indexOf(t,o);if(s==-1)break;o=s+t.length,r.push(Bs(n,s))}n++});for(var o=r.length-1;o>=0;o--)kr(e.doc,t,r[o],Bs(r[o].line,r[o].ch+t.length))}}),zr("specialChars",/[\u0000-\u001f\u007f\u00ad\u200b-\u200f\u2028\u2029\ufeff]/g,function(t,r,n){ -t.state.specialChars=new RegExp(r.source+(r.test("\t")?"":"|\t"),"g"),n!=e.Init&&t.refresh()}),zr("specialCharPlaceholder",In,function(e){e.refresh()},!0),zr("electricChars",!0),zr("inputStyle",As?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),zr("rtlMoveVisually",!Ds),zr("wholeLineUpdateBefore",!0),zr("theme","default",function(e){a(e),u(e)},!0),zr("keyMap","default",function(t,r,n){var o=Vr(r),s=n!=e.Init&&Vr(n);s&&s.detach&&s.detach(t,o),o.attach&&o.attach(t,s||null)}),zr("extraKeys",null),zr("lineWrapping",!1,o,!0),zr("gutters",[],function(e){h(e.options),u(e)},!0),zr("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?E(e.display)+"px":"0",e.refresh()},!0),zr("coverGutterNextToScrollbar",!1,function(e){_(e)},!0),zr("scrollbarStyle","native",function(e){v(e),_(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),zr("lineNumbers",!1,function(e){h(e.options),u(e)},!0),zr("firstLineNumber",1,u,!0),zr("lineNumberFormatter",function(e){return e},u,!0),zr("showCursorWhenSelecting",!1,He,!0),zr("resetSelectionOnContextMenu",!0),zr("lineWiseCopyCut",!0),zr("readOnly",!1,function(e,t){"nocursor"==t?(vr(e),e.display.input.blur(),e.display.disabled=!0):e.display.disabled=!1,e.display.input.readOnlyChanged(t)}),zr("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),zr("dragDrop",!0,Ut),zr("allowDropFileTypes",null),zr("cursorBlinkRate",530),zr("cursorScrollMargin",0),zr("cursorHeight",1,He,!0),zr("singleCursorHeightPerLine",!0,He,!0),zr("workTime",100),zr("workDelay",100),zr("flattenSpans",!0,n,!0),zr("addModeClass",!1,n,!0),zr("pollInterval",100),zr("undoDepth",200,function(e,t){e.doc.history.undoDepth=t}),zr("historyEventDelay",1250),zr("viewportMargin",10,function(e){e.refresh()},!0),zr("maxHighlightLength",1e4,n,!0),zr("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),zr("tabindex",null,function(e,t){e.display.input.getField().tabIndex=t||""}),zr("autofocus",null);var ni=e.modes={},oi=e.mimeModes={};e.defineMode=function(t,r){e.defaults.mode||"null"==t||(e.defaults.mode=t),arguments.length>2&&(r.dependencies=Array.prototype.slice.call(arguments,2)),ni[t]=r},e.defineMIME=function(e,t){oi[e]=t},e.resolveMode=function(t){if("string"==typeof t&&oi.hasOwnProperty(t))t=oi[t];else if(t&&"string"==typeof t.name&&oi.hasOwnProperty(t.name)){var r=oi[t.name];"string"==typeof r&&(r={name:r}),t=Ro(r,t),t.name=r.name}else if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+xml$/.test(t))return e.resolveMode("application/xml");return"string"==typeof t?{name:t}:t||{name:"null"}},e.getMode=function(t,r){var r=e.resolveMode(r),n=ni[r.name];if(!n)return e.getMode(t,"text/plain");var o=n(t,r);if(si.hasOwnProperty(r.name)){var s=si[r.name];for(var i in s)s.hasOwnProperty(i)&&(o.hasOwnProperty(i)&&(o["_"+i]=o[i]),o[i]=s[i])}if(o.name=r.name,r.helperType&&(o.helperType=r.helperType),r.modeProps)for(var i in r.modeProps)o[i]=r.modeProps[i];return o},e.defineMode("null",function(){return{token:function(e){e.skipToEnd()}}}),e.defineMIME("text/plain","null");var si=e.modeExtensions={};e.extendMode=function(e,t){var r=si.hasOwnProperty(e)?si[e]:si[e]={};Bo(t,r)},e.defineExtension=function(t,r){e.prototype[t]=r},e.defineDocExtension=function(e,t){Ei.prototype[e]=t},e.defineOption=zr;var ii=[];e.defineInitHook=function(e){ii.push(e)};var ai=e.helpers={};e.registerHelper=function(t,r,n){ai.hasOwnProperty(t)||(ai[t]=e[t]={_global:[]}),ai[t][r]=n},e.registerGlobalHelper=function(t,r,n,o){e.registerHelper(t,r,o),ai[t]._global.push({pred:n,val:o})};var ui=e.copyState=function(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var r={};for(var n in t){var o=t[n];o instanceof Array&&(o=o.concat([])),r[n]=o}return r},li=e.startState=function(e,t,r){return!e.startState||e.startState(t,r)};e.innerMode=function(e,t){for(;e.innerMode;){var r=e.innerMode(t);if(!r||r.mode==e)break;t=r.state,e=r.mode}return r||{mode:e,state:t}};var di=e.commands={selectAll:function(e){e.setSelection(Bs(e.firstLine(),0),Bs(e.lastLine()),Ri)},singleSelection:function(e){e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Ri)},killLine:function(e){Lr(e,function(t){if(t.empty()){var r=Zn(e.doc,t.head.line).text.length;return t.head.ch==r&&t.head.line0)o=new Bs(o.line,o.ch+1),e.replaceRange(s.charAt(o.ch-1)+s.charAt(o.ch-2),Bs(o.line,o.ch-2),o,"+transpose");else if(o.line>e.doc.first){var i=Zn(e.doc,o.line-1).text;i&&e.replaceRange(s.charAt(0)+e.doc.lineSeparator()+i.charAt(i.length-1),Bs(o.line-1,i.length-1),Bs(o.line,1),"+transpose")}r.push(new ce(o,o))}e.setSelections(r)})},newlineAndIndent:function(e){At(e,function(){for(var t=e.listSelections().length,r=0;r=this.string.length},sol:function(){return this.pos==this.lineStart},peek:function(){return this.string.charAt(this.pos)||void 0},next:function(){if(this.post},eatSpace:function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},skipToEnd:function(){this.pos=this.string.length},skipTo:function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},backUp:function(e){this.pos-=e},column:function(){return this.lastColumnPos0?null:(n&&t!==!1&&(this.pos+=n[0].length),n)}var o=function(e){return r?e.toLowerCase():e},s=this.string.substr(this.pos,e.length);if(o(s)==o(e))return t!==!1&&(this.pos+=e.length),!0},current:function(){return this.string.slice(this.start,this.pos)},hideFirstChars:function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}}};var bi=0,vi=e.TextMarker=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++bi};So(vi),vi.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&yt(e),Ao(this,"clear")){var r=this.find();r&&Po(this,"clear",r.from,r.to)}for(var n=null,o=null,s=0;se.display.maxLineLength&&(e.display.maxLine=u,e.display.maxLineLength=l,e.display.maxLineChanged=!0)}null!=n&&e&&this.collapsed&&Ft(e,n,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Ae(e.doc)),e&&Po(e,"markerCleared",e,this),t&&wt(e),this.parent&&this.parent.clear()}},vi.prototype.find=function(e,t){null==e&&"bookmark"==this.type&&(e=1);for(var r,n,o=0;o1||!(this.children[0]instanceof Gn))){var a=[];this.collapse(a),this.children=[new Gn(a)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var i=o.lines.length%25+25,a=i;a10);e.parent.maybeSpill()}},iterN:function(e,t,r){for(var n=0;n=0;s--)Pr(this,n[s]);a?Pe(this,a):this.cm&&Rr(this.cm)}),undo:Dt(function(){jr(this,"undo")}),redo:Dt(function(){jr(this,"redo")}),undoSelection:Dt(function(){jr(this,"undo",!0)}),redoSelection:Dt(function(){jr(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,r=0,n=0;n=e.ch)&&t.push(o.marker.parent||o.marker)}return t},findMarks:function(e,t,r){e=me(this,e),t=me(this,t);var n=[],o=e.line;return this.iter(e.line,t.line+1,function(s){var i=s.markedSpans;if(i)for(var a=0;a=u.to||null==u.from&&o!=e.line||null!=u.from&&o==t.line&&u.from>=t.ch||r&&!r(u.marker)||n.push(u.marker.parent||u.marker)}++o}),n},getAllMarks:function(){var e=[];return this.iter(function(t){var r=t.markedSpans;if(r)for(var n=0;ne?(t=e,!0):(e-=s,void++r)}),me(this,Bs(r,t))},indexFromPos:function(e){e=me(this,e);var t=e.ch;if(e.linet&&(t=e.from),null!=e.to&&e.to=t)return i+(t-s);i+=a-s,i+=r-i%r,s=a+1}},Li=e.findColumn=function(e,t,r){for(var n=0,o=0;;){var s=e.indexOf("\t",n);s==-1&&(s=e.length);var i=s-n;if(s==e.length||o+i>=t)return n+Math.min(i,t-o);if(o+=s-n,o+=r-o%r,n=s+1,o>=t)return n}},qi=[""],Ui=function(e){e.select()};Ts?Ui=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:gs&&(Ui=function(e){try{e.select()}catch(t){}});var zi,Wi=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,Vi=e.isWordChar=function(e){return/\w/.test(e)||e>"€"&&(e.toUpperCase()!=e.toLowerCase()||Wi.test(e))},Gi=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;zi=document.createRange?function(e,t,r,n){var o=document.createRange();return o.setEnd(n||e,r),o.setStart(e,t),o}:function(e,t,r){var n=document.body.createTextRange();try{n.moveToElementText(e.parentNode)}catch(o){return n}return n.collapse(!0),n.moveEnd("character",r),n.moveStart("character",t),n};var Ki=e.contains=function(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do if(11==t.nodeType&&(t=t.host),t==e)return!0;while(t=t.parentNode)};gs&&ys<11&&(Vo=function(){try{return document.activeElement}catch(e){return document.body}});var Yi,Xi,Zi=e.rmClass=function(e,t){var r=e.className,n=Go(t).exec(r); -if(n){var o=r.slice(n.index+n[0].length);e.className=r.slice(0,n.index)+(o?n[1]+o:"")}},Ji=e.addClass=function(e,t){var r=e.className;Go(t).test(r)||(e.className+=(r?" ":"")+t)},Qi=!1,ea=function(){if(gs&&ys<9)return!1;var e=Uo("div");return"draggable"in e||"dragDrop"in e}(),ta=e.splitLines=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,r=[],n=e.length;t<=n;){var o=e.indexOf("\n",t);o==-1&&(o=e.length);var s=e.slice(t,"\r"==e.charAt(o-1)?o-1:o),i=s.indexOf("\r");i!=-1?(r.push(s.slice(0,i)),t+=i+1):(r.push(s),t=o+1)}return r}:function(e){return e.split(/\r\n?|\n/)},ra=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){try{var t=e.ownerDocument.selection.createRange()}catch(r){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},na=function(){var e=Uo("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),oa=null,sa=e.keyNames={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",127:"Delete",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"};!function(){for(var e=0;e<10;e++)sa[e+48]=sa[e+96]=String(e);for(var e=65;e<=90;e++)sa[e]=String.fromCharCode(e);for(var e=1;e<=12;e++)sa[e+111]=sa[e+63235]="F"+e}();var ia,aa=function(){function e(e){return e<=247?r.charAt(e):1424<=e&&e<=1524?"R":1536<=e&&e<=1773?n.charAt(e-1536):1774<=e&&e<=2220?"r":8192<=e&&e<=8203?"w":8204==e?"b":"L"}function t(e,t,r){this.level=e,this.from=t,this.to=r}var r="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",n="rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmm",o=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,s=/[stwN]/,i=/[LRr]/,a=/[Lb1n]/,u=/[1n]/,l="L";return function(r){if(!o.test(r))return!1;for(var n,d=r.length,c=[],p=0;p=0&&t=0&&_= 0 and < %s, was %s",v.length,_):c["default"](!1);var g=s(v);return h}r.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function s(e){return function(){function t(e){return y&&null==e.basename&&(0===e.pathname.indexOf(y)?(e.pathname=e.pathname.substring(y.length),e.basename=y,""===e.pathname&&(e.pathname="/")):e.basename=""),e}function r(e){if(!y)return e;"string"==typeof e&&(e=h["default"](e));var t=e.pathname,r="/"===y.slice(-1)?y:y+"/",n="/"===t.charAt(0)?t.slice(1):t,o=r+n;return i({},e,{pathname:o})}function n(e){return w.listenBefore(function(r,n){l["default"](e,t(r),n)})}function s(e){return w.listen(function(r){e(t(r))})}function u(e){w.push(r(e))}function d(e){w.replace(r(e))}function p(e){return w.createPath(r(e))}function f(e){return w.createHref(r(e))}function b(){return t(w.createLocation.apply(w,arguments))}function v(e,t){"string"==typeof t&&(t=h["default"](t)),u(i({state:e},t))}function _(e,t){"string"==typeof t&&(t=h["default"](t)),d(i({state:e},t))}var g=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],y=g.basename,$=o(g,["basename"]),w=e($);if(null==y&&a.canUseDOM){var x=document.getElementsByTagName("base")[0];x&&(y=c["default"](x.href))}return i({},w,{listenBefore:n,listen:s,push:u,replace:d,createPath:p,createHref:f,createLocation:b,pushState:m["default"](v,"pushState is deprecated; use push instead"),replaceState:m["default"](_,"replaceState is deprecated; use replace instead")})}}r.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t0&&(f=f.filter(function(t){return t!==e}),0===f.length&&p())}var c=e(t),p=void 0,f=[];return a({},c,{listenBeforeUnload:o,registerBeforeUnloadHook:h["default"](i,"registerBeforeUnloadHook is deprecated; use listenBeforeUnload instead"),unregisterBeforeUnloadHook:h["default"](u,"unregisterBeforeUnloadHook is deprecated; use the callback returned from listenBeforeUnload instead")})}}r.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function i(e){return p.stringify(e).replace(/%20/g,"+")}function a(e){for(var t in e)if(e.hasOwnProperty(t)&&"object"==typeof e[t]&&!Array.isArray(e[t])&&null!==e[t])return!0;return!1}function u(e){return function(){function t(e){if(null==e.query){var t=e.search;e.query=P(t.substring(1)),e[g]={search:t,searchBase:""}}return e}function r(e,t){var r,o=void 0;if(!t||""===(o=E(t)))return e;"production"!==n.env.NODE_ENV?c["default"](E!==i||!a(t),"useQueries does not stringify nested query objects by default; use a custom stringifyQuery function"):void 0,"string"==typeof e&&(e=b["default"](e));var s=e[g],u=void 0;u=s&&e.search===s.search?s.searchBase:e.search||"";var d=u+(u?"&":"?")+o;return l({},e,(r={search:d},r[g]={search:d,searchBase:u},r))}function o(e){return j.listenBefore(function(r,n){f["default"](e,t(r),n)})}function u(e){return j.listen(function(r){e(t(r))})}function d(e){j.push(r(e,e.query))}function p(e){j.replace(r(e,e.query))}function h(e,t){return j.createPath(r(e,t||e.query))}function m(e,t){return j.createHref(r(e,t||e.query))}function v(){return t(j.createLocation.apply(j,arguments))}function $(e,t,r){"string"==typeof t&&(t=b["default"](t)),d(l({state:e},t,{query:r}))}function w(e,t,r){"string"==typeof t&&(t=b["default"](t)),p(l({state:e},t,{query:r}))}var x=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],E=x.stringifyQuery,P=x.parseQueryString,C=s(x,["stringifyQuery","parseQueryString"]),j=e(C);return"function"!=typeof E&&(E=i),"function"!=typeof P&&(P=y),l({},j,{listenBefore:o,listen:u,push:d,replace:p,createPath:h,createHref:m,createLocation:v,pushState:_["default"]($,"pushState is deprecated; use push instead"),replaceState:_["default"](w,"replaceState is deprecated; use replace instead")})}}r.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t0&&"number"!=typeof e[0]))}function s(e,t,r){var s,d;if(n(e)||n(t))return!1;if(e.prototype!==t.prototype)return!1;if(u(e))return!!u(t)&&(e=i.call(e),t=i.call(t),l(e,t,r));if(o(e)){if(!o(t))return!1;if(e.length!==t.length)return!1;for(s=0;s=0;s--)if(c[s]!=p[s])return!1;for(s=c.length-1;s>=0;s--)if(d=c[s],!l(e[d],t[d],r))return!1;return typeof e==typeof t}var i=Array.prototype.slice,a=e("./lib/keys.js"),u=e("./lib/is_arguments.js"),l=t.exports=function(e,t,r){return r||(r={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?r.strict?e===t:e==t:s(e,t,r))}},{"./lib/is_arguments.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/history/node_modules/deep-equal/lib/is_arguments.js","./lib/keys.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/history/node_modules/deep-equal/lib/keys.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/history/node_modules/deep-equal/lib/is_arguments.js":[function(e,t,r){function n(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function o(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}var s="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();r=t.exports=s?n:o,r.supported=n,r.unsupported=o},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/history/node_modules/deep-equal/lib/keys.js":[function(e,t,r){function n(e){var t=[];for(var r in e)t.push(r);return t}r=t.exports="function"==typeof Object.keys?Object.keys:n,r.shim=n},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/history/node_modules/invariant/browser.js":[function(e,t,r){(function(e){"use strict";var r=function(t,r,n,o,s,i,a,u){if("production"!==e.env.NODE_ENV&&void 0===r)throw new Error("invariant requires an error message argument");if(!t){var l;if(void 0===r)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var d=[n,o,s,i,a,u],c=0;l=new Error(r.replace(/%s/g,function(){return d[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}};t.exports=r}).call(this,e("_process"))},{_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/history/node_modules/query-string/index.js":[function(e,t,r){"use strict";var n=e("strict-uri-encode");r.extract=function(e){return e.split("?")[1]||""},r.parse=function(e){return"string"!=typeof e?{}:(e=e.trim().replace(/^(\?|#|&)/,""),e?e.split("&").reduce(function(e,t){var r=t.replace(/\+/g," ").split("="),n=r.shift(),o=r.length>0?r.join("="):void 0;return n=decodeURIComponent(n),o=void 0===o?null:decodeURIComponent(o),e.hasOwnProperty(n)?Array.isArray(e[n])?e[n].push(o):e[n]=[e[n],o]:e[n]=o,e},{}):{})},r.stringify=function(e){return e?Object.keys(e).sort().map(function(t){var r=e[t];return void 0===r?"":null===r?t:Array.isArray(r)?r.slice().sort().map(function(e){return n(t)+"="+n(e)}).join("&"):n(t)+"="+n(r)}).filter(function(e){return e.length>0}).join("&"):""}},{"strict-uri-encode":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/history/node_modules/query-string/node_modules/strict-uri-encode/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/history/node_modules/query-string/node_modules/strict-uri-encode/index.js":[function(e,t,r){"use strict";t.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/history/node_modules/warning/browser.js":[function(e,t,r){(function(e){"use strict";var r=function(){};"production"!==e.env.NODE_ENV&&(r=function(e,t,r){var n=arguments.length;r=new Array(n>2?n-2:0);for(var o=2;on;n++)r[n]=arguments[n];return r.forEach(function(t){return t(e)}),e}Object.defineProperty(r,"__esModule",{value:!0});var a=e("q"),u=n(a),l={};r["default"]={register:i,fire:o,on:s},t.exports=r["default"]},{q:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/q/q.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/lib/asciidocPlugin.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){var t=e.split("pass::[more]");return{excerpt:t[0],full:t.join("")}}function s(e,t){var r=v.hash({doctype:"article",backend:"html5",safe:"unsafe",attributes:["showtitle!","allow-uri-read","imagesdir="+e.state.application.config.urls.site+"/images","icons=font"]}),n=/gist::([0-9]*)\[(lines=[0-9]*\.\.[0-9]*)?,?(type=([\w.]*))?,?(file=([\w.]*))?\]/g,s=t.replace(n,"[source,$4]\n----\ninclude::https://gist.githubusercontent.com/raw/$1/$6[$2]\n----\n"),i=o(s),a=_.$load(i.excerpt,r),u=_.$load(i.full,r),l={attributes:c["default"].pick(u.attributes,["$$smap"]),excerpt:a.$convert(),html:u.$convert()};return l}function i(e){var t="hp-tags";return e.$$smap[t]&&e.$$smap[t].split(",").filter(function(e){return""!==e.trim()})}function a(e){e.on("requestRenderingDocuments",function(e){console.info("Asciidoc Plugin - requestRenderingDocuments"),console.log("requestRenderingDocuments",e);var t=(e.data.documents.posts||[]).map(function(t){var r=Object.assign({},t,s(e,t.content),{content:t.content}),n=c["default"].pick(r,"attributes","author","html","tags","content","name","path","sha");r.title=n.title=n.attributes.$$smap.doctitle,r.image=n.image=n.attributes.$$smap["hp-image"],r.tags=n.tags=i(n.attributes),r.url=n.url=e.state.application.config.urls.getPostUrl(n.name);var o=Object.assign({},r,{original:n});return o.original.published_at=o.published_at=n.name.split("-").slice(0,3).join("-"),o}),r=Object.assign({},e.data.documents,{posts:t}),n=Object.assign({},e.data,{documents:r});return Object.assign({},e,{data:n})}),e.on("requestRenderingPost",function(e){console.info("Asciidoc Plugin - requestRenderingPost"),console.log("requestRenderingPost",e);var t=s(e,e.data.post.content);t._id=e.data.post._id,t.title=t.attributes.$$smap.doctitle,t.image=t.attributes.$$smap["hp-image"],t.tags=i(t.attributes),t.published_at=t.attributes.$$smap.published_at||e.data.post.published_at||(0,h["default"])().format("YYYY-MM-DD");var r=t.attributes.$$smap["hp-alt-title"];t.name=(0,m["default"])(t.published_at+"-"+(r||t.title))+".adoc",t.url=e.state.application.config.urls.getPostUrl(t.name);var n=Object.assign({},e.data.post,t),o=Object.assign({},e.data,{post:n});return Object.assign({},e,{data:o})})}Object.defineProperty(r,"__esModule",{value:!0}),r.asciidocPlugin=a;var u=e("asciidoctor.js"),l=n(u),d=e("lodash"),c=n(d),p=e("moment"),h=n(p),f=e("hubpress-core-slugify"),m=n(f),b=(0,l["default"])(!1,window.XMLHttpRequest),v=b.Opal,_=b.Asciidoctor(!0)},{"asciidoctor.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/asciidoctor.js/dist/npm/asciidoctor-core.min.js","hubpress-core-slugify":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/hubpress-core-slugify/lib/slugify.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js",moment:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/moment/moment.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/asciidoctor.js/dist/npm/asciidoctor-core.min.js":[function(e,t,r){t.exports=function(r,n){var o=r||e("opal-npm-wrapper").Opal;if(!1!==n){var s=n||e("xmlhttprequest").XMLHttpRequest;s.prototype.overrideMimeType=function(){}}return{Opal:o,Asciidoctor:function(r){return o.modules.set=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?ee&&(e=0);for(var t=Array(e),r=0;r"}),e.defn(f,"$==",function(e){var t,r,o;return!((t=this["$equal?"](e))===n||t.$$is_boolean&&1!=t)||((t=e["$instance_of?"](this.$class()))===n||t.$$is_boolean&&1!=t?(r=e["$is_a?"](m.get("Set")),!((t=!1!==r&&r!==n?this.$size()["$=="](e.$size()):r)===n||t.$$is_boolean&&1!=t)&&(t=(r=e)["$all?"],t.$$p=(o=function(e){var t=o.$$s||this;return null==t.hash&&(t.hash=n),null==e&&(e=n),t.hash["$include?"](e)},o.$$s=this,o),t).call(r)):this.hash["$=="](e.$instance_variable_get("@hash")))}),e.defn(f,"$add",function(e){return this.hash["$[]="](e,!0),this}),e.alias(f,"<<","add"),e.defn(f,"$classify",d=function(){var t,r,s,i,a=d.$$p||n,u=n;return d.$$p=null,a===n?this.$enum_for("classify"):(u=(t=(r=m.get("Hash")).$new,t.$$p=(s=function(e,t){var r=s.$$s||this;return null==e&&(e=n),null==t&&(t=n),e["$[]="](t,r.$class().$new())},s.$$s=this,s),t).call(r),(t=this.$each,t.$$p=(i=function(t){var r;return null==t&&(t=n),u["$[]"]((r=e.yield1(a,t))===o?o.$v:r).$add(t)},i.$$s=this,i),t).call(this),u)}),e.defn(f,"$collect!",c=function(){var t,r,s=c.$$p||n,i=n;return c.$$p=null,s===n?this.$enum_for("collect!"):(i=this.$class().$new(),(t=this.$each,t.$$p=(r=function(t){var r;return null==t&&(t=n),i["$<<"]((r=e.yield1(s,t))===o?o.$v:r)},r.$$s=this,r),t).call(this),this.$replace(i))}),e.alias(f,"map!","collect!"),e.defn(f,"$delete",function(e){return this.hash.$delete(e),this}),e.defn(f,"$delete?",function(e){var t;return(t=this["$include?"](e))===n||t.$$is_boolean&&1!=t?n:(this.$delete(e),this)}),e.defn(f,"$delete_if",p=function(){try{var t,r,o,s,i,a=p.$$p||n;return p.$$p=null,!1!=(t=a!==n)&&t!==n?t:e.ret(this.$enum_for("delete_if")),(t=(r=(s=this.$select,s.$$p=(i=function(t){var r;return null==t&&(t=n),r=e.yield1(a,t)},i.$$s=this,i),s).call(this)).$each,t.$$p=(o=function(e){var t=o.$$s||this;return null==t.hash&&(t.hash=n),null==e&&(e=n),t.hash.$delete(e)},o.$$s=this,o),t).call(r),this}catch(u){if(u===e.returner)return u.$v;throw u}}),e.defn(f,"$add?",function(e){var t;return(t=this["$include?"](e))===n||t.$$is_boolean&&1!=t?this.$add(e):n}),e.defn(f,"$each",h=function(){var e,t,r=h.$$p||n;return h.$$p=null,r===n?this.$enum_for("each"):((e=(t=this.hash).$each_key,e.$$p=r.$to_proc(),e).call(t),this)}),e.defn(f,"$empty?",function(){return this.hash["$empty?"]()}),e.defn(f,"$eql?",function(e){var t,r;return this.hash["$eql?"]((t=e.$instance_eval,t.$$p=(r=function(){var e=r.$$s||this;return null==e.hash&&(e.hash=n),e.hash},r.$$s=this,r),t).call(e))}),e.defn(f,"$clear",function(){return this.hash.$clear(),this}),e.defn(f,"$include?",function(e){return this.hash["$include?"](e)}),e.alias(f,"member?","include?"),e.defn(f,"$merge",function(e){var t,r;return(t=e.$each,t.$$p=(r=function(e){var t=r.$$s||this;return null==e&&(e=n),t.$add(e)},r.$$s=this,r),t).call(e),this}),e.defn(f,"$replace",function(e){return this.$clear(),this.$merge(e),this}),e.defn(f,"$size",function(){return this.hash.$size()}),e.alias(f,"length","size"),e.defn(f,"$subtract",function(e){var t,r;return(t=e.$each,t.$$p=(r=function(e){var t=r.$$s||this;return null==e&&(e=n),t.$delete(e)},r.$$s=this,r),t).call(e),this}),e.defn(f,"$|",function(e){var t;return((t=e["$respond_to?"]("each"))===n||t.$$is_boolean&&1!=t)&&this.$raise(m.get("ArgumentError"),"value must be enumerable"),this.$dup().$merge(e)}),e.defn(f,"$superset?",function(e){var r,o;return!1!==(r=e["$is_a?"](m.get("Set")))&&r!==n?r:this.$raise(m.get("ArgumentError"),"value must be a set"),!t(this.$size(),e.$size())&&(r=e["$all?"],r.$$p=(o=function(e){var t=o.$$s||this;return null==e&&(e=n),t["$include?"](e)},o.$$s=this,o),r).call(e)}),e.alias(f,">=","superset?"),e.defn(f,"$proper_superset?",function(e){var t,o;return!1!==(t=e["$is_a?"](m.get("Set")))&&t!==n?t:this.$raise(m.get("ArgumentError"),"value must be a set"),!r(this.$size(),e.$size())&&(t=e["$all?"],t.$$p=(o=function(e){var t=o.$$s||this;return null==e&&(e=n),t["$include?"](e)},o.$$s=this,o),t).call(e)}),e.alias(f,">","proper_superset?"),e.defn(f,"$subset?",function(e){var r,o;return!1!==(r=e["$is_a?"](m.get("Set")))&&r!==n?r:this.$raise(m.get("ArgumentError"),"value must be a set"),!t(e.$size(),this.$size())&&(r=this["$all?"],r.$$p=(o=function(t){return null==t&&(t=n),e["$include?"](t)},o.$$s=this,o),r).call(this)}),e.alias(f,"<=","subset?"),e.defn(f,"$proper_subset?",function(e){var t,o;return!1!==(t=e["$is_a?"](m.get("Set")))&&t!==n?t:this.$raise(m.get("ArgumentError"),"value must be a set"),!r(e.$size(),this.$size())&&(t=this["$all?"],t.$$p=(o=function(t){return null==t&&(t=n),e["$include?"](t)},o.$$s=this,o),t).call(this)}),e.alias(f,"<","proper_subset?"),e.alias(f,"+","|"),e.alias(f,"union","|"),e.defn(f,"$to_a",function(){return this.hash.$keys()}),n&&"to_a"}(e.base,null),function(t){t=i(t,"Enumerable");var r,o=t.$$scope;e.defn(t,"$to_set",r=function(t){var s,i,a=r.$$p||n,u=arguments.length-1;0>u&&(u=0);for(var l=Array(u),d=0;de&&(e+=r.length),0>e||e>=r.length||null==r[e]?t:r[e]}),e.defn(i,"$check",function(e){return e=this.$anchor(e),e=e.exec(this.working),null==e?this.matched=t:this.matched=e[0]}),e.defn(i,"$check_until",function(e){var r=this.prev_pos,n=this.pos;return e=this.$scan_until(e),e!==t&&(this.matched=e.substr(-1),this.working=this.string.substr(n)),this.prev_pos=r,this.pos=n,e}),e.defn(i,"$peek",function(e){return this.working.substring(0,e)}),e.defn(i,"$eos?",function(){return 0===this.working.length}),e.defn(i,"$exist?",function(e){return e=e.exec(this.working),null==e?t:0==e.index?0:e.index+1}),e.defn(i,"$skip",function(e){if(e=this.$anchor(e),e=e.exec(this.working),null==e)return this.matched=t;e=e[0];var r=e.length;return this.matched=e,this.prev_pos=this.pos,this.pos+=r,this.working=this.working.substring(r),r}),e.defn(i,"$skip_until",function(e){return e=this.$scan_until(e),e===t?t:(this.matched=e.substr(-1),e.length)}),e.defn(i,"$get_byte",function(){var e=t;return this.pose&&(e+=this.string.$length()),this.pos=e,this.working=this.string.slice(e)}),e.defn(i,"$post_match",function(){return this.matched===t?t:this.string.substr(this.pos)}),e.defn(i,"$pre_match",function(){return this.matched===t?t:this.string.substr(0,this.prev_pos)}),e.defn(i,"$reset",function(){return this.working=this.string,this.matched=t,this.pos=0}),e.defn(i,"$rest",function(){return this.working}),e.defn(i,"$rest?",function(){return 0!==this.working.length}),e.defn(i,"$rest_size",function(){return this.$rest().$size()}),e.defn(i,"$terminate",function(){var e;return this.match=t,e=[this.string.$length()],this["$pos="].apply(this,e),e[e.length-1]}),e.defn(i,"$unscan",function(){return this.pos=this.prev_pos,this.match=this.prev_pos=t,this}),i.$private(),e.defn(i,"$anchor",function(e){return new RegExp("^"+e.toString().substr(1,e.toString().length-2))}),t&&"anchor"}(e.base,null)},o.modules["asciidoctor/opal_ext/file"]=function(t){function r(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}t.dynamic_require_severity="ignore";var n=t.nil,o=t.breaker,i=t.module,a=t.klass,u=t.gvars,l=t.range;return t.add_stubs("$new $attr_reader $read $size $to_enum $chomp $each_line $* $rindex $[] $+ $- $nil_or_empty? $nil? $===".split(" ")),function(e){e=i(e,"Kernel");var r,o=e.$$scope;t.defn(e,"$open",r=function(e){var s,i,a=r.$$p||n,u=n,u=arguments.length-1;0>u&&(u=0);for(var l=Array(u),d=0;de&&(e=0);for(var t=Array(e),r=0;rt:e["$>"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}e.dynamic_require_severity="ignore";var o=e.nil,s=e.module,i=e.klass,a=e.hash2,u=e.gvars;return e.add_stubs("$[]= $now $- $delete $> $+ $[] $puts $% $to_f $read_parse $convert $read_parse_convert".split(" ")),function(l){!function(s,l){function d(){}var c=d=i(s,l,"Timings",d),p=c.$$proto;return p.timers=p.log=o,e.defn(c,"$initialize",function(){return this.log=a([],{}),this.timers=a([],{})}),e.defn(c,"$start",function(t){return this.timers["$[]="](t,e.get("Time").$now())}),e.defn(c,"$record",function(r){return this.log["$[]="](r,t(e.get("Time").$now(),this.timers.$delete(r)))}),e.defn(c,"$read_parse",function(){var e,t=o;return r(t=n(!1!==(e=this.log["$[]"]("read"))&&e!==o?e:0,!1!==(e=this.log["$[]"]("parse"))&&e!==o?e:0),0)?t:o}),e.defn(c,"$convert",function(){var e;return!1!==(e=this.log["$[]"]("convert"))&&e!==o?e:0}),e.defn(c,"$read_parse_convert",function(){var e,t=o;return r(t=n(n(!1!==(e=this.log["$[]"]("read"))&&e!==o?e:0,!1!==(e=this.log["$[]"]("parse"))&&e!==o?e:0),!1!==(e=this.log["$[]"]("convert"))&&e!==o?e:0),0)?t:o}),e.defn(c,"$total",function(){var e,t=o;return r(t=n(n(n(!1!==(e=this.log["$[]"]("read"))&&e!==o?e:0,!1!==(e=this.log["$[]"]("parse"))&&e!==o?e:0),!1!==(e=this.log["$[]"]("convert"))&&e!==o?e:0),!1!==(e=this.log["$[]"]("write"))&&e!==o?e:0),0)?t:o}),e.defn(c,"$print_report",function(e,t){return null==u.stdout&&(u.stdout=o),null==e&&(e=u.stdout),null==t&&(t=o),!1!==t&&t!==o&&e.$puts("Input file: "+t),e.$puts(" Time to read and parse source: "+"%05.5f"["$%"](this.$read_parse().$to_f())),e.$puts(" Time to convert document: "+"%05.5f"["$%"](this.$convert().$to_f())),e.$puts(" Total time (read, parse and convert): "+"%05.5f"["$%"](this.$read_parse_convert().$to_f()))}),o&&"print_report"}(s(l,"Asciidoctor").$$scope.base,null)}(e.base)},o.modules["asciidoctor/core_ext/object/nil_or_empty"]=function(e){e.dynamic_require_severity="ignore";var t=e.nil,r=e.klass;return e.add_stubs(["$respond_to?"]),function(n,o){function s(){}var i,a=s=r(n,o,"NilClass",s);return(i=a["$respond_to?"]("nil_or_empty?"))===t||i.$$is_boolean&&1!=i?e.alias(a,"nil_or_empty?","nil?"):t}(e.base,null),function(n,o){function s(){}var i,a=s=r(n,o,"String",s);return(i=a["$respond_to?"]("nil_or_empty?"))===t||i.$$is_boolean&&1!=i?e.alias(a,"nil_or_empty?","empty?"):t}(e.base,null),function(n,o){function s(){}var i,a=s=r(n,o,"Array",s);return(i=a["$respond_to?"]("nil_or_empty?"))===t||i.$$is_boolean&&1!=i?e.alias(a,"nil_or_empty?","empty?"):t}(e.base,null),function(n,o){function s(){}var i,a=s=r(n,o,"Hash",s);return(i=a["$respond_to?"]("nil_or_empty?"))===t||i.$$is_boolean&&1!=i?e.alias(a,"nil_or_empty?","empty?"):t}(e.base,null),function(n,o){function s(){}var i,a=s=r(n,o,"Numeric",s);return(i=a["$respond_to?"]("nil_or_empty?"))===t||i.$$is_boolean&&1!=i?e.alias(a,"nil_or_empty?","nil?"):t}(e.base,null)},o.modules["asciidoctor/core_ext"]=function(e){e.dynamic_require_severity="ignore";var t=e.top,r=e.nil;if(e.add_stubs(["$require","$=="]),t.$require("asciidoctor/core_ext/object/nil_or_empty"),e.get("RUBY_ENGINE")["$=="]("opal"))return r},o.modules["asciidoctor/helpers"]=function(e){e.dynamic_require_severity="ignore";var t=e.nil,r=e.module,n=e.range,o=e.gvars;return e.add_stubs("$require $== $=== $fail $warn $chomp $message $class $normalize_lines_from_string $normalize_lines_array $empty? $to_a $bytes $[] $map $rstrip $lines $encode $force_encoding $join $[]= $encoding $nil_or_empty? $each_line $include? $=~ $gsub $sprintf $each_byte $extname $-@ $length $basename $directory? $dirname $! $!= $mkdir_p $mkdir".split(" ")),function(s){!function(s){s=r(s,"Helpers");var i=s.$$scope;e.defs(s,"$require_library",function(r,n,o){var s=t,i=t;null==n&&(n=!0),null==o&&(o="abort");try{return this.$require(r)}catch(a){if(!e.rescue(a,[e.get("LoadError")]))throw a;s=a;try{return!1!==n&&n!==t?(n["$=="](!0)&&(n=r),i=o,"abort"["$==="](i)?this.$fail("asciidoctor: FAILED: required gem '"+n+"' is not installed. Processing aborted."):"warn"["$==="](i)?this.$warn("asciidoctor: WARNING: optional gem '"+n+"' is not installed. Functionality disabled."):t):(i=o,"abort"["$==="](i)?this.$fail("asciidoctor: FAILED: "+s.$message().$chomp(".")+". Processing aborted."):"warn"["$==="](i)?this.$warn("asciidoctor: WARNING: "+s.$message().$chomp(".")+". Functionality disabled."):t)}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}}),e.defs(s,"$normalize_lines",function(t){return t.$class()["$=="](e.get("String"))?this.$normalize_lines_from_string(t):this.$normalize_lines_array(t)}),e.defs(s,"$normalize_lines_array",function(r){var o,s,a,u,l,d,c=t,p=t,h=t,f=t;return(o=r["$empty?"]())===t||o.$$is_boolean&&1!=o?(c=(p=r["$[]"](0))["$[]"](n(0,2,!1)).$bytes().$to_a(),(o=i.get("COERCE_ENCODING"))===t||o.$$is_boolean&&1!=o?(c["$=="](i.get("BOM_BYTES_UTF_8"))&&r["$[]="](0,p["$[]"](n(3,-1,!1))),(o=r.$map,o.$$p=(d=function(e){return null==e&&(e=t),e.$rstrip()},d.$$s=this,d),o).call(r)):(h=e.get("Encoding").$$scope.get("UTF_8"),(f=c["$[]"](n(0,1,!1)))["$=="](i.get("BOM_BYTES_UTF_16LE"))?(o=(s=r.$join().$force_encoding(e.get("Encoding").$$scope.get("UTF_16LE"))["$[]"](n(1,-1,!1)).$encode(h).$lines()).$map,o.$$p=(a=function(e){return null==e&&(e=t),e.$rstrip()},a.$$s=this,a),o).call(s):f["$=="](i.get("BOM_BYTES_UTF_16BE"))?(r["$[]="](0,p.$force_encoding(e.get("Encoding").$$scope.get("UTF_16BE"))["$[]"](n(1,-1,!1))),(o=r.$map,o.$$p=(u=function(r){return null==r&&(r=t),""+r.$force_encoding(e.get("Encoding").$$scope.get("UTF_16BE")).$encode(h).$rstrip()},u.$$s=this,u),o).call(r)):(c["$[]"](n(0,2,!1))["$=="](i.get("BOM_BYTES_UTF_8"))&&r["$[]="](0,p.$force_encoding(h)["$[]"](n(1,-1,!1))),(o=r.$map,o.$$p=(l=function(e){return null==e&&(e=t),e.$encoding()["$=="](h)?e.$rstrip():e.$force_encoding(h).$rstrip()},l.$$s=this,l),o).call(r)))):[]}),e.defs(s,"$normalize_lines_from_string",function(r){var o,s,a,u=t,l=t,d=t;return(o=r["$nil_or_empty?"]())===t||o.$$is_boolean&&1!=o?((o=i.get("COERCE_ENCODING"))===t||o.$$is_boolean&&1!=o?r["$[]"](n(0,2,!1)).$bytes().$to_a()["$=="](i.get("BOM_BYTES_UTF_8"))&&(r=r["$[]"](n(3,-1,!1))):(u=e.get("Encoding").$$scope.get("UTF_8"),l=r["$[]"](n(0,2,!1)).$bytes().$to_a(),(d=l["$[]"](n(0,1,!1)))["$=="](i.get("BOM_BYTES_UTF_16LE"))?r=r.$force_encoding(e.get("Encoding").$$scope.get("UTF_16LE"))["$[]"](n(1,-1,!1)).$encode(u):d["$=="](i.get("BOM_BYTES_UTF_16BE"))?r=r.$force_encoding(e.get("Encoding").$$scope.get("UTF_16BE"))["$[]"](n(1,-1,!1)).$encode(u):l["$[]"](n(0,2,!1))["$=="](i.get("BOM_BYTES_UTF_8"))?r=r.$encoding()["$=="](u)?r["$[]"](n(1,-1,!1)):r.$force_encoding(u)["$[]"](n(1,-1,!1)):r.$encoding()["$=="](u)||(r=r.$force_encoding(u))),(o=(s=r.$each_line()).$map,o.$$p=(a=function(e){return null==e&&(e=t),e.$rstrip()},a.$$s=this,a),o).call(s)):[]}),e.defs(s,"$uriish?",function(e){var r;return r=e["$include?"](":"),!1!==r&&r!==t?e["$=~"](i.get("UriSniffRx")):r}),e.defs(s,"$uri_prefix",function(e){var r,n;return n=e["$include?"](":"),(r=!1!==n&&n!==t?e["$=~"](i.get("UriSniffRx")):n)===t||r.$$is_boolean&&1!=r?t:(r=o["~"])===t?t:r["$[]"](0)}),e.cdecl(i,"REGEXP_ENCODE_URI_CHARS",/[^\w\-.!~*';:@=+$,()\[\]]/),e.defs(s,"$encode_uri",function(e){var r,n;return(r=e.$gsub,r.$$p=(n=function(){var e,r,s,i,a=n.$$s||this;return(e=(r=((i=o["~"])===t?t:i["$[]"](0)).$each_byte()).$map,e.$$p=(s=function(e){var r=s.$$s||this;return null==e&&(e=t),r.$sprintf("%%%02X",e)},s.$$s=a,s),e).call(r).$join()},n.$$s=this,n),r).call(e,i.get("REGEXP_ENCODE_URI_CHARS"))}),e.defs(s,"$rootname",function(r){var o,s=t;return(o=(s=e.get("File").$extname(r))["$empty?"]())===t||o.$$is_boolean&&1!=o?r["$[]"](n(0,s.$length()["$-@"](),!0)):r}),e.defs(s,"$basename",function(r,n){var o;return null==n&&(n=!1),!1!==n&&n!==t?e.get("File").$basename(r,!1!==(o=e.get("File").$extname(r))&&o!==t?o:""):e.get("File").$basename(r)}),e.defs(s,"$mkdir_p",function(r){var n,o,s=t;return(n=e.get("File")["$directory?"](r))===t||n.$$is_boolean&&1!=n?(s=e.get("File").$dirname(r),o=e.get("File")["$directory?"](s=e.get("File").$dirname(r))["$!"](),(n=!1!==o&&o!==t?s["$!="]("."):o)===t||n.$$is_boolean&&1!=n||this.$mkdir_p(s),e.get("Dir").$mkdir(r)):t})}(r(s,"Asciidoctor").$$scope.base)}(e.base)},o.modules["asciidoctor/substitutors"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e>t:e["$>"](t)}function o(e,t){return"number"==typeof e&&"number"==typeof t?e-t:e["$-"](t)}e.dynamic_require_severity="ignore";var s=e.nil,i=e.breaker,a=e.slice,u=e.module,l=e.hash2,d=e.gvars,c=e.range;return e.add_stubs("$join $keys $[] $+ $attr_reader $! $== $=== $each $has_key? $<< $empty? $* $include? $extract_passthroughs $sub_specialchars $sub_quotes $sub_attributes $split $sub_replacements $sub_macros $highlight_source $sub_callouts $sub_post_replacements $warn $restore_passthroughs $apply_subs $compat_mode $gsub $nil_or_empty? $[]= $size $unescape_brackets $resolve_pass_subs $> $- $end_with? $parse_attributes $start_with? $to_sym $attributes $document $basebackend? $to_i $convert $new $clear $convert_quoted_text $gsub! $do_replacement $tr $length $store_attribute $fetch $attribute_undefined $counter $key? $downcase $attribute_missing $unescape_bracketed_text $inject $strip $map $pop $rstrip $extensions $inline_macros? $config $process_method $regexp $instance $inline_macros $register $basename $split_simple_csv $normalize_string $!= $!~ $delete $chop $attr? $sub $chomp $encode_uri $sub_inline_xrefs $sub_inline_anchors $find $id $references $index $text $rootname $key $escape $attr $read_next_id $callouts $push $parse_quoted_text_attributes $shorthand_property_syntax $shift $concat $parse_into $parse $each_char $=~ $chr $dup $& $resolve_subs $nil? $require_library $set_attr $sub_source $resolve_lines_to_highlight $highlight $to_a $uniq $sort $option? $resolve_block_subs".split(" ")),function(p){!function(p){p=u(p,"Substitutors");var h=p.$$scope;e.cdecl(h,"SPECIAL_CHARS",l(["&","<",">"],{"&":"&","<":"<",">":">"})),e.cdecl(h,"SPECIAL_CHARS_PATTERN",new RegExp("["+h.get("SPECIAL_CHARS").$keys().$join()+"]")),e.cdecl(h,"SUBS",l("basic normal verbatim title header pass".split(" "),{basic:["specialcharacters"],normal:"specialcharacters quotes attributes replacements macros post_replacements".split(" "),verbatim:["specialcharacters","callouts"],title:"specialcharacters quotes replacements macros attributes post_replacements".split(" "),header:["specialcharacters","attributes"],pass:[]})),e.cdecl(h,"COMPOSITE_SUBS",l(["none","normal","verbatim","specialchars"],{none:[],normal:h.get("SUBS")["$[]"]("normal"),verbatim:h.get("SUBS")["$[]"]("verbatim"),specialchars:["specialcharacters"]})),e.cdecl(h,"SUB_SYMBOLS",l("amnpqrcv".split(""),{a:"attributes",m:"macros",n:"normal",p:"post_replacements",q:"quotes",r:"replacements",c:"specialcharacters",v:"verbatim"})),e.cdecl(h,"SUB_OPTIONS",l(["block","inline"],{block:t(t(h.get("COMPOSITE_SUBS").$keys(),h.get("SUBS")["$[]"]("normal")),["callouts"]),inline:t(h.get("COMPOSITE_SUBS").$keys(),h.get("SUBS")["$[]"]("normal"))})),e.cdecl(h,"SUB_HIGHLIGHT",["coderay","pygments"]),e.cdecl(h,"PASS_START","–"),e.cdecl(h,"PASS_END","—"),e.cdecl(h,"PASS_MATCH",/\u0096(\d+)\u0097/),e.cdecl(h,"PASS_MATCH_HI",/]*>\u0096<\/span>[^\d]*(\d+)[^\d]*]*>\u0097<\/span>/),p.$attr_reader("passthroughs"),e.defn(p,"$apply_subs",function(n,o,i){var a,u,l,d,c,p=s,f=s,m=s,b=s;return null==this.passthroughs&&(this.passthroughs=s),null==o&&(o="normal"),null==i&&(i=!1),(a=o["$!"]())===s||a.$$is_boolean&&1!=a?(o["$=="]("normal")?o=h.get("SUBS")["$[]"]("normal"):!1!==i&&i!==s&&((a=e.get("Symbol")["$==="](o))===s||a.$$is_boolean&&1!=a?(p=[],(a=(u=o).$each,a.$$p=(l=function(e){var r;return null==e&&(e=s),(r=h.get("COMPOSITE_SUBS")["$has_key?"](e))===s||r.$$is_boolean&&1!=r?p["$<<"](e):p=t(p,h.get("COMPOSITE_SUBS")["$[]"](e))},l.$$s=this,l),a).call(u),o=p):o=!1!==(a=h.get("COMPOSITE_SUBS")["$[]"](o))&&a!==s?a:[o]),(a=o["$empty?"]())===s||a.$$is_boolean&&1!=a?(f=(a=m=e.get("Array")["$==="](n))===s||a.$$is_boolean&&1!=a?n:r(n,h.get("EOL")),(a=b=o["$include?"]("macros"))===s||a.$$is_boolean&&1!=a||(f=this.$extract_passthroughs(f),(a=this.passthroughs["$empty?"]())===s||a.$$is_boolean&&1!=a||(b=!1)),(a=(d=o).$each,a.$$p=(c=function(e){var t,n=c.$$s||this,i=s;return null==e&&(e=s),i=e,"specialcharacters"["$==="](i)?f=n.$sub_specialchars(f):"quotes"["$==="](i)?f=n.$sub_quotes(f):"attributes"["$==="](i)?f=r(n.$sub_attributes(f.$split(h.get("EOL"))),h.get("EOL")):"replacements"["$==="](i)?f=n.$sub_replacements(f):"macros"["$==="](i)?f=n.$sub_macros(f):"highlight"["$==="](i)?f=n.$highlight_source(f,o["$include?"]("callouts")):"callouts"["$==="](i)?(t=o["$include?"]("highlight"))===s||t.$$is_boolean&&1!=t?f=n.$sub_callouts(f):s:"post_replacements"["$==="](i)?f=n.$sub_post_replacements(f):n.$warn("asciidoctor: WARNING: unknown substitution type "+e)},c.$$s=this,c),a).call(d),!1!==b&&b!==s&&(f=this.$restore_passthroughs(f)),!1!==m&&m!==s?f.$split(h.get("EOL")):f):n):n}),e.defn(p,"$apply_normal_subs",function(t){var n;return this.$apply_subs((n=e.get("Array")["$==="](t))===s||n.$$is_boolean&&1!=n?t:r(t,h.get("EOL")))}),e.defn(p,"$apply_title_subs",function(e){return this.$apply_subs(e,h.get("SUBS")["$[]"]("title"))}),e.defn(p,"$apply_header_subs",function(e){return this.$apply_subs(e,h.get("SUBS")["$[]"]("header"))}),e.defn(p,"$extract_passthroughs",function(t){var i,a,u,p,f,m,b,v,_=s,g=s,y=s,$=s;return null==this.document&&(this.document=s),_=this.document.$compat_mode(),(i=!1!==(a=!1!==(u=t["$include?"]("++"))&&u!==s?u:t["$include?"]("$$"))&&a!==s?a:t["$include?"]("ss:"))===s||i.$$is_boolean&&1!=i||(t=(i=(a=t).$gsub,i.$$p=(p=function(){var t,i=p.$$s||this,a=s,u=s,f=s,m=f=s,b=s,v=s,g=s,a=s;if(null==i.passthroughs&&(i.passthroughs=s),null==d["~"]&&(d["~"]=s),a=d["~"],u=s,(t=(f=a["$[]"](4))["$nil_or_empty?"]())===s||t.$$is_boolean&&1!=t){if((t=!1!==_&&_!==s?f["$=="]("++"):_)!==s&&(!t.$$is_boolean||1==t))return(t=a["$[]"](2)["$nil_or_empty?"]())===s||t.$$is_boolean&&1!=t?""+a["$[]"](1)+"["+a["$[]"](2)+"]"+a["$[]"](3)+"++"+i.$extract_passthroughs(a["$[]"](5))+"++":""+a["$[]"](1)+a["$[]"](3)+"++"+i.$extract_passthroughs(a["$[]"](5))+"++";if(m=a["$[]"](2),(t=e.get("RUBY_ENGINE_OPAL"))===s||t.$$is_boolean&&1!=t||m["$=="]("")&&(m=s),b=a["$[]"](3).$size(),v=a["$[]"](5),g=!1,!1!==m&&m!==s){if(n(b,0))return""+a["$[]"](1)+"["+m+"]"+r("\\",o(b,1))+f+a["$[]"](5)+f+")";a["$[]"](1)["$=="]("\\")?(u="["+m+"]",m=s):((t=f["$=="]("++")?m["$end_with?"]("x-"):f["$=="]("++"))===s||t.$$is_boolean&&1!=t||(g=!0,m=m["$[]"](c(0,-2,!0))),m=i.$parse_attributes(m))}else if(n(b,0))return""+a["$[]"](1)+"["+m+"]"+r("\\",o(b,1))+f+a["$[]"](5)+f;a=f["$=="]("+++")?[]:["specialcharacters"],f=i.passthroughs.$size(),!1!==m&&m!==s?!1!==g&&g!==s?i.passthroughs["$[]="](f,l(["text","subs","type","attributes"],{text:v,subs:h.get("SUBS")["$[]"]("normal"),type:"monospaced",attributes:m})):i.passthroughs["$[]="](f,l(["text","subs","type","attributes"],{text:v,subs:a,type:"unquoted",attributes:m})):i.passthroughs["$[]="](f,l(["text","subs"],{text:v,subs:a}))}else{if(a["$[]"](6)["$=="]("\\"))return a["$[]"](0)["$[]"](c(1,-1,!1));i.passthroughs["$[]="](f=i.passthroughs.$size(),l(["text","subs"],{text:i.$unescape_brackets(a["$[]"](8)),subs:(t=a["$[]"](7)["$nil_or_empty?"]())===s||t.$$is_boolean&&1!=t?i.$resolve_pass_subs(a["$[]"](7)):[]}))}return""+u+h.get("PASS_START")+f+h.get("PASS_END")},p.$$s=this,p),i).call(a,h.get("PassInlineMacroRx"))),i=e.to_ary(h.get("PassInlineRx")["$[]"](_)),g=null==i[0]?s:i[0],y=null==i[1]?s:i[1],$=null==i[2]?s:i[2],(i=!1!==(u=t["$include?"](g))&&u!==s?u:(f=!1!==y&&y!==s)?t["$include?"](y):y)===s||i.$$is_boolean&&1!=i||(t=(i=(u=t).$gsub,i.$$p=(m=function(){var t,r=m.$$s||this,n=s,o=s,i=s,a=s,u=s,p=s,f=s,u=n=s;if(null==r.passthroughs&&(r.passthroughs=s),null==d["~"]&&(d["~"]=s),n=d["~"],o=n["$[]"](1),i=n["$[]"](2),a=(t=n["$[]"](3)["$start_with?"]("\\"))===s||t.$$is_boolean&&1!=t?s:"\\",u=n["$[]"](4),p=n["$[]"](5),(t=e.get("RUBY_ENGINE_OPAL"))===s||t.$$is_boolean&&1!=t||i["$=="]("")&&(i=s),!1!==_&&_!==s?f=!0:(t=f=!1!==i&&i!==s?i["$end_with?"]("x-"):i)===s||t.$$is_boolean&&1!=t||(i=i["$[]"](c(0,-2,!0))),!1!==i&&i!==s){if((t=u["$=="]("`")?f["$!"]():u["$=="]("`"))!==s&&(!t.$$is_boolean||1==t))return""+o+"["+i+"]"+a+"`"+r.$extract_passthroughs(p)+"`";if(!1!==a&&a!==s)return""+o+"["+i+"]"+n["$[]"](3)["$[]"](c(1,-1,!1));o["$=="]("\\")?(o="["+i+"]",i=s):i=r.$parse_attributes(i)}else{if((t=u["$=="]("`")?f["$!"]():u["$=="]("`"))!==s&&(!t.$$is_boolean||1==t))return""+o+a+"`"+r.$extract_passthroughs(p)+"`";if(!1!==a&&a!==s)return""+o+n["$[]"](3)["$[]"](c(1,-1,!1))}return n=r.passthroughs.$size(),!1!==_&&_!==s?r.passthroughs["$[]="](n,l(["text","subs","attributes","type"],{text:p,subs:["specialcharacters"],attributes:i,type:"monospaced"})):!1!==i&&i!==s?!1!==f&&f!==s?(u=u["$=="]("`")?["specialcharacters"]:h.get("SUBS")["$[]"]("normal"),r.passthroughs["$[]="](n,l(["text","subs","attributes","type"],{text:p,subs:u,attributes:i,type:"monospaced"}))):r.passthroughs["$[]="](n,l(["text","subs","attributes","type"],{text:p,subs:["specialcharacters"],attributes:i,type:"unquoted"})):r.passthroughs["$[]="](n,l(["text","subs"],{text:p,subs:["specialcharacters"]})),""+o+h.get("PASS_START")+n+h.get("PASS_END")},m.$$s=this,m),i).call(u,$)),f=t["$include?"](":"),(i=!1!==f&&f!==s?!1!==(b=t["$include?"]("stem:"))&&b!==s?b:t["$include?"]("math:"):f)===s||i.$$is_boolean&&1!=i||(t=(i=(f=t).$gsub,i.$$p=(v=function(){var e,t=v.$$s||this,r=s,n=s,o=s,i=s,a=r=s;return null==t.document&&(t.document=s),null==t.passthroughs&&(t.passthroughs=s),null==d["~"]&&(d["~"]=s),r=d["~"],(e=r["$[]"](0)["$start_with?"]("\\"))===s||e.$$is_boolean&&1!=e?((n=r["$[]"](1).$to_sym())["$=="]("stem")&&(n=((e=(o=t.$document().$attributes()["$[]"]("stem"))["$nil_or_empty?"]())===s||e.$$is_boolean&&1!=e?o:"asciimath").$to_sym()),i=t.$unescape_brackets(r["$[]"](3)),r=(e=r["$[]"](2)["$nil_or_empty?"]())===s||e.$$is_boolean&&1!=e?t.$resolve_pass_subs(r["$[]"](2)):(e=t.document["$basebackend?"]("html"))===s||e.$$is_boolean&&1!=e?[]:["specialcharacters"],t.passthroughs["$[]="](a=t.passthroughs.$size(),l(["text","subs","type"],{text:i,subs:r,type:n})),""+h.get("PASS_START")+a+h.get("PASS_END")):r["$[]"](0)["$[]"](c(1,-1,!1))},v.$$s=this,v),i).call(f,h.get("StemInlineMacroRx"))),t}),e.defn(p,"$restore_passthroughs",function(e,t){var r,n,o,i;null==this.passthroughs&&(this.passthroughs=s),null==t&&(t=!0);try{return(r=(n=!1!==t&&t!==s)?!1!==(o=this.passthroughs["$empty?"]())&&o!==s?o:e["$include?"](h.get("PASS_START"))["$!"]():t)===s||r.$$is_boolean&&1!=r?(r=(n=e).$gsub,r.$$p=(i=function(){var e,t=i.$$s||this,r=s,n=s,o=s,a=s;return null==t.passthroughs&&(t.passthroughs=s),null==d["~"]&&(d["~"]=s),r=t.passthroughs["$[]"](d["~"]["$[]"](1).$to_i()),n=(e=o=r["$[]"]("subs"))===s||e.$$is_boolean&&1!=e?r["$[]"]("text"):t.$apply_subs(r["$[]"]("text"),o),(e=a=r["$[]"]("type"))===s||e.$$is_boolean&&1!=e||(n=h.get("Inline").$new(t,"quoted",n,l(["type","attributes"],{type:a,attributes:r["$[]"]("attributes")})).$convert()),(e=n["$include?"](h.get("PASS_START")))===s||e.$$is_boolean&&1!=e?n:t.$restore_passthroughs(n,!1)},i.$$s=this,i),r).call(n,h.get("PASS_MATCH")):e}finally{!1!==t&&t!==s&&this.passthroughs.$clear()}}),e.defn(p,"$sub_specialchars",function(e){var t,r;return(t=h.get("SUPPORTS_GSUB_RESULT_HASH"))===s||t.$$is_boolean&&1!=t?(t=e.$gsub,t.$$p=(r=function(){var e;return h.get("SPECIAL_CHARS")["$[]"]((e=d["~"])===s?s:e["$[]"](0))},r.$$s=this,r),t).call(e,h.get("SPECIAL_CHARS_PATTERN")):e.$gsub(h.get("SPECIAL_CHARS_PATTERN"),h.get("SPECIAL_CHARS"))}),e.alias(p,"sub_specialcharacters","sub_specialchars"),e.defn(p,"$sub_quotes",function(t){var r,n,o,i,a,u=s;return null==this.document&&(this.document=s),(r=e.get("RUBY_ENGINE_OPAL"))===s||r.$$is_boolean&&1!=r?(u=""+t,(r=(i=h.get("QUOTE_SUBS")["$[]"](this.document.$compat_mode())).$each,r.$$p=(a=function(e,t,r){var n,o,i,l=a.$$s||this;return null==e&&(e=s),null==t&&(t=s),null==r&&(r=s),(n=(o=u)["$gsub!"],n.$$p=(i=function(){var r=i.$$s||this;return null==d["~"]&&(d["~"]=s),r.$convert_quoted_text(d["~"],e,t)},i.$$s=l,i),n).call(o,r)},a.$$s=this,a),r).call(i)):(u=t,(r=(n=h.get("QUOTE_SUBS")["$[]"](this.document.$compat_mode())).$each,r.$$p=(o=function(e,t,r){var n,i,a,l=o.$$s||this;return null==e&&(e=s),null==t&&(t=s),null==r&&(r=s),u=(n=(i=u).$gsub,n.$$p=(a=function(){var r=a.$$s||this;return null==d["~"]&&(d["~"]=s),r.$convert_quoted_text(d["~"],e,t)},a.$$s=l,a),n).call(i,r)},o.$$s=this,o),r).call(n)),u}),e.defn(p,"$sub_replacements",function(t){var r,n,o,i,a,u=s;return(r=e.get("RUBY_ENGINE_OPAL"))===s||r.$$is_boolean&&1!=r?(u=""+t,(r=(i=h.get("REPLACEMENTS")).$each,r.$$p=(a=function(e,t,r){var n,o,i,l=a.$$s||this;return null==e&&(e=s),null==t&&(t=s),null==r&&(r=s),(n=(o=u)["$gsub!"],n.$$p=(i=function(){var e=i.$$s||this;return null==d["~"]&&(d["~"]=s),e.$do_replacement(d["~"],t,r)},i.$$s=l,i),n).call(o,e)},a.$$s=this,a),r).call(i)):(u=t,(r=(n=h.get("REPLACEMENTS")).$each,r.$$p=(o=function(e,t,r){var n,i,a,l=o.$$s||this;return null==e&&(e=s),null==t&&(t=s),null==r&&(r=s),u=(n=(i=u).$gsub,n.$$p=(a=function(){var e=a.$$s||this;return null==d["~"]&&(d["~"]=s),e.$do_replacement(d["~"],t,r)},a.$$s=l,a),n).call(i,e)},o.$$s=this,o),r).call(n)),u}),e.defn(p,"$do_replacement",function(e,t,r){var n,o=s,o=s;return(n=(o=e["$[]"](0))["$include?"]("\\"))===s||n.$$is_boolean&&1!=n?(o=r,e="none"["$==="](o)?t:"leading"["$==="](o)?""+e["$[]"](1)+t:"bounding"["$==="](o)?""+e["$[]"](1)+t+e["$[]"](2):s):e=o.$tr("\\",""),e}),e.defn(p,"$sub_attributes",function(n,o){var a,u,p,f=s,m=s,b=s,v=s;return null==this.document&&(this.document=s),null==o&&(o=l([],{})),(a=n["$nil_or_empty?"]())===s||a.$$is_boolean&&1!=a?((a=f=e.get("String")["$==="](n))===s||a.$$is_boolean&&1!=a||(n=[n]),m=this.document.$attributes(),b=s,v=[],(a=(u=n).$each,a.$$p=(p=function(r){var n,a,u,l,f=p.$$s||this,_=s,g=s;return null==r&&(r=s),g=_=!1,(n=r["$include?"]("{"))===s||n.$$is_boolean&&1!=n||(r=(n=(a=r).$gsub,n.$$p=(u=function(){var r,n,a=u.$$s||this,l=s,p=s,f=s,v=s,y=s,$=s,w=s,x=s,E=s;return null==a.document&&(a.document=s),null==d["~"]&&(d["~"]=s),l=d["~"],(r=!1!==(n=l["$[]"](1)["$=="]("\\"))&&n!==s?n:l["$[]"](4)["$=="]("\\"))===s||r.$$is_boolean&&1!=r?(r=l["$[]"](3)["$nil_or_empty?"]()["$!"]())===s||r.$$is_boolean&&1!=r?(r=m["$key?"](E=l["$[]"](2).$downcase()))===s||r.$$is_boolean&&1!=r?(r=h.get("INTRINSIC_ATTRIBUTES")["$key?"](E))===s||r.$$is_boolean&&1!=r?function(){return y=!1!==(r=b)&&r!==s?r:b=!1!==(n=o["$[]"]("attribute_missing"))&&n!==s?n:m.$fetch("attribute-missing",h.get("Compliance").$attribute_missing()),"skip"["$==="](y)?l["$[]"](0):"drop-line"["$==="](y)?(a.$warn("asciidoctor: WARNING: dropping line containing reference to missing attribute: "+E),_=!0,i.$v="",i):"warn"["$==="](y)?(a.$warn("asciidoctor: WARNING: skipping reference to missing attribute: "+E),l["$[]"](0)):(g=!0,"")}():h.get("INTRINSIC_ATTRIBUTES")["$[]"](E):m["$[]"](E):(p=t((f=l["$[]"](3)).$length(),1),v=l["$[]"](2)["$[]"](c(p,-1,!1)),function(){return y=f,"set"["$==="](y)?($=v.$split(":"),r=e.to_ary(h.get("Parser").$store_attribute($["$[]"](0),!1!==(n=$["$[]"](1))&&n!==s?n:"",a.document)),w=null==r[1]?s:r[1],!1!==w&&w!==s||!m.$fetch("attribute-undefined",h.get("Compliance").$attribute_undefined())["$=="]("drop-line")?(g=!0,""):(_=!0,i.$v="",i)):"counter"["$==="](y)||"counter2"["$==="](y)?($=v.$split(":"),x=a.document.$counter($["$[]"](0),$["$[]"](1)),f["$=="]("counter2")?(g=!0,""):x):(a.$warn("asciidoctor: WARNING: illegal attribute directive: "+l["$[]"](3)),l["$[]"](0))}()):"{"+l["$[]"](2)+"}"},u.$$s=f,u),n).call(a,h.get("AttributeReferenceRx"))),(n=!1!==(l=_)&&l!==s?l:!1!==g&&g!==s?r["$empty?"]():g)===s||n.$$is_boolean&&1!=n?v["$<<"](r):s},p.$$s=this,p),a).call(u),!1!==f&&f!==s?r(v,h.get("EOL")):v):n}),e.defn(p,"$sub_macros",function(t){var r,n,o,i,u,p,f,m,b,v,_,g,y,$,w,x,E,P,C,j,T=s,A=s,S=s,k=s,D=s,O=s;return null==this.document&&(this.document=s),(r=t["$nil_or_empty?"]())===s||r.$$is_boolean&&1!=r?(T=l([],{}),T["$[]="]("square_bracket",t["$include?"]("[")),T["$[]="]("round_bracket",t["$include?"]("(")),T["$[]="]("colon",A=t["$include?"](":")),T["$[]="]("macroish",(r=T["$[]"]("square_bracket"),!1!==r&&r!==s?A:r)),T["$[]="]("macroish_short_form",(n=T["$[]"]("square_bracket"),r=!1!==n&&n!==s?A:n,!1!==r&&r!==s?t["$include?"](":["):r)),S=this.document.$attributes()["$has_key?"]("linkattrs"),k=this.document.$attributes()["$has_key?"]("experimental"),D=""+t,!1!==k&&k!==s&&(n=T["$[]"]("macroish_short_form"),(r=!1!==n&&n!==s?!1!==(o=D["$include?"]("kbd:"))&&o!==s?o:D["$include?"]("btn:"):n)===s||r.$$is_boolean&&1!=r||(D=(r=(n=D).$gsub,r.$$p=(i=function(){var e,t,r,n=i.$$s||this,o=s,a=s,o=o=s;return null==d["~"]&&(d["~"]=s),o=d["~"],(e=(a=o["$[]"](0))["$start_with?"]("\\"))===s||e.$$is_boolean&&1!=e?(e=a["$start_with?"]("kbd"))===s||e.$$is_boolean&&1!=e?(e=a["$start_with?"]("btn"))===s||e.$$is_boolean&&1!=e?s:(o=n.$unescape_bracketed_text(o["$[]"](1)),h.get("Inline").$new(n,"button",o).$convert()):(o=n.$unescape_bracketed_text(o["$[]"](1)),o=o["$=="]("+")?["+"]:(e=(t=o.$split(h.get("KbdDelimiterRx"))).$inject,e.$$p=(r=function(e,t){var r;return null==e&&(e=s),null==t&&(t=s),(r=t["$end_with?"]("++"))===s||r.$$is_boolean&&1!=r?e["$<<"](t.$strip()):(e["$<<"](t["$[]"](c(0,-3,!1)).$strip()),e["$<<"]("+")),e},r.$$s=n,r),e).call(t,[]),h.get("Inline").$new(n,"kbd",s,l(["attributes"],{attributes:l(["keys"],{keys:o})})).$convert()):a["$[]"](c(1,-1,!1))},i.$$s=this,i),r).call(n,h.get("KbdBtnInlineMacroRx"))),o=T["$[]"]("macroish"),(r=!1!==o&&o!==s?D["$include?"]("menu:"):o)===s||r.$$is_boolean&&1!=r||(D=(r=(o=D).$gsub,r.$$p=(u=function(){var e,t,r,n=u.$$s||this,o=s,i=s,a=o=i=s,a=o=s;return null==d["~"]&&(d["~"]=s),o=d["~"],(e=(i=o["$[]"](0))["$start_with?"]("\\"))===s||e.$$is_boolean&&1!=e?(i=o["$[]"](1),o=o["$[]"](2),(e=o["$!"]())===s||e.$$is_boolean&&1!=e?(e=a=(t=o["$include?"](">"))===s||t.$$is_boolean&&1!=t?(t=o["$include?"](","))===s||t.$$is_boolean&&1!=t?s:",":">")===s||e.$$is_boolean&&1!=e?(a=[],o=o.$rstrip()):(a=(e=(t=o.$split(a)).$map,e.$$p=(r=function(e){return null==e&&(e=s),e.$strip()},r.$$s=n,r),e).call(t),o=a.$pop()):(a=[],o=s),h.get("Inline").$new(n,"menu",s,l(["attributes"],{attributes:l(["menu","submenus","menuitem"],{menu:i,submenus:a,menuitem:o})})).$convert()):i["$[]"](c(1,-1,!1))},u.$$s=this,u),r).call(o,h.get("MenuInlineMacroRx"))),p=D["$include?"]('"'),(r=!1!==p&&p!==s?D["$include?"](">"):p)===s||r.$$is_boolean&&1!=r||(D=(r=(p=D).$gsub,r.$$p=(f=function(){var t,r,n,o,i=f.$$s||this,u=s,p=s,m=p=u=u=s;return null==d["~"]&&(d["~"]=s),u=d["~"],(t=(p=u["$[]"](0))["$start_with?"]("\\"))===s||t.$$is_boolean&&1!=t?(u=u["$[]"](1),t=e.to_ary((r=(n=u.$split(">")).$map,r.$$p=(o=function(e){return null==e&&(e=s),e.$strip()},o.$$s=i,o),r).call(n)),u=null==t[0]?s:t[0],p=a.call(t,1),m=p.$pop(),h.get("Inline").$new(i,"menu",s,l(["attributes"],{attributes:l(["menu","submenus","menuitem"],{menu:u,submenus:p,menuitem:m})})).$convert()):p["$[]"](c(1,-1,!1))},f.$$s=this,f),r).call(p,h.get("MenuInlineRx")))),m=O=this.document.$extensions(),(r=!1!==m&&m!==s?O["$inline_macros?"]():m)===s||r.$$is_boolean&&1!=r||(r=(m=O.$inline_macros()).$each,r.$$p=(b=function(e){var t,r,n,o=b.$$s||this;return null==e&&(e=s),D=(t=(r=D).$gsub,t.$$p=(n=function(){var t,r=n.$$s||this,o=s,i=s,o=s;return null==d["~"]&&(d["~"]=s),o=d["~"],(t=o["$[]"](0)["$start_with?"]("\\"))===s||t.$$is_boolean&&1!=t?(i=o["$[]"](1),o=e.$config()["$[]"]("format")["$=="]("short")?l([],{}):e.$config()["$[]"]("content_model")["$=="]("attributes")?r.$parse_attributes(o["$[]"](2),!1!==(t=e.$config()["$[]"]("pos_attrs"))&&t!==s?t:[],l(["sub_input","unescape_input"],{sub_input:!0,unescape_input:!0})):l(["text"],{text:r.$unescape_bracketed_text(o["$[]"](2))}),e.$process_method()["$[]"](r,i,o)):o["$[]"](0)["$[]"](c(1,-1,!1))},n.$$s=o,n),t).call(r,e.$instance().$regexp())},b.$$s=this,b),r).call(m),v=T["$[]"]("macroish"),(r=!1!==v&&v!==s?!1!==(_=D["$include?"]("image:"))&&_!==s?_:D["$include?"]("icon:"):v)===s||r.$$is_boolean&&1!=r||(D=(r=(v=D).$gsub,r.$$p=(g=function(){var e,t,r,n=g.$$s||this,o=s,i=t=s,a=s,a=o=s;return null==n.document&&(n.document=s),null==d["~"]&&(d["~"]=s),o=d["~"],(e=o["$[]"](0)["$start_with?"]("\\"))===s||e.$$is_boolean&&1!=e?(t=n.$unescape_bracketed_text(o["$[]"](2)),(e=o["$[]"](0)["$start_with?"]("icon:"))===s||e.$$is_boolean&&1!=e?(i="image",a=["alt","width","height"]):(i="icon",a=["size"]),o=n.$sub_attributes(o["$[]"](1)),i["$=="]("icon")||n.document.$register("images",o),a=n.$parse_attributes(t,a),e="alt",t=a,!1!==(r=t["$[]"](e))&&r!==s?r:t["$[]="](e,h.get("Helpers").$basename(o,!0).$tr("_-"," ")),h.get("Inline").$new(n,"image",s,l(["type","target","attributes"],{type:i,target:o,attributes:a})).$convert()):o["$[]"](0)["$[]"](c(1,-1,!1))},g.$$s=this,g),r).call(v,h.get("ImageInlineMacroRx"))),(r=!1!==(_=T["$[]"]("macroish_short_form"))&&_!==s?_:T["$[]"]("round_bracket"))===s||r.$$is_boolean&&1!=r||(D=(r=(_=D).$gsub,r.$$p=(y=function(){ -var t,r,n=y.$$s||this,o=s,i=s,a=s,u=s,o=o=s;return null==n.document&&(n.document=s),null==d["~"]&&(d["~"]=s),o=d["~"],(t=o["$[]"](0)["$start_with?"]("\\"))===s||t.$$is_boolean&&1!=t?((t=e.get("RUBY_ENGINE_OPAL"))===s||t.$$is_boolean&&1!=t||!o["$[]"](1)["$=="]("")||o["$[]="](1,s),i=0,a=s,((t=u=o["$[]"](1))===s||t.$$is_boolean&&1!=t)&&(a=o["$[]"](3),r=a["$start_with?"]("("),(t=!1!==r&&r!==s?a["$end_with?"](")"):r)===s||t.$$is_boolean&&1!=t?i=2:(a=a["$[]"](c(1,-1,!0)),i=3)),(t=!1!==(r=u["$=="]("indexterm"))&&r!==s?r:i["$=="](3))===s||t.$$is_boolean&&1!=t?(o=(t=u["$!"]())===s||t.$$is_boolean&&1!=t?n.$normalize_string(o["$[]"](2),!0):n.$normalize_string(a),n.document.$register("indexterms",[o]),h.get("Inline").$new(n,"indexterm",o,l(["type"],{type:"visible"})).$convert()):(o=(t=u["$!"]())===s||t.$$is_boolean&&1!=t?n.$split_simple_csv(n.$normalize_string(o["$[]"](2),!0)):n.$split_simple_csv(n.$normalize_string(a)),n.document.$register("indexterms",[].concat(e.to_a(o))),h.get("Inline").$new(n,"indexterm",s,l(["attributes"],{attributes:l(["terms"],{terms:o})})).$convert())):o["$[]"](0)["$[]"](c(1,-1,!1))},y.$$s=this,y),r).call(_,h.get("IndextermInlineMacroRx"))),(r=(t=!1!==A&&A!==s)?D["$include?"]("://"):A)===s||r.$$is_boolean&&1!=r||(D=(r=(t=D).$gsub,r.$$p=($=function(){var t,r,n,o,i=$.$$s||this,a=s,u=s,p=s,f=s,m=s,b=m=s,a=s;return null==i.document&&(i.document=s),null==d["~"]&&(d["~"]=s),a=d["~"],(t=a["$[]"](2)["$start_with?"]("\\"))===s||t.$$is_boolean&&1!=t?((t=e.get("RUBY_ENGINE_OPAL"))===s||t.$$is_boolean&&1!=t||!a["$[]"](3)["$=="]("")||a["$[]="](3,s),(t=(r=a["$[]"](1)["$=="]("link:"))?a["$[]"](3)["$!"]():a["$[]"](1)["$=="]("link:"))===s||t.$$is_boolean&&1!=t?(u=(t=a["$[]"](1)["$!="]("link:"))===s||t.$$is_boolean&&1!=t?"":a["$[]"](1),p=a["$[]"](2),f="",((t=!1!==(r=a["$[]"](3))&&r!==s?r:p["$!~"](h.get("UriTerminator")))===s||t.$$is_boolean&&1!=t)&&(m=d["~"]["$[]"](0),")"["$==="](m)?(p=p["$[]"](c(0,-2,!1)),f=")"):";"["$==="](m)?(r=u["$start_with?"]("<"),(t=!1!==r&&r!==s?p["$end_with?"](">"):r)===s||t.$$is_boolean&&1!=t?(t=p["$end_with?"](");"))===s||t.$$is_boolean&&1!=t?(p=p["$[]"](c(0,-2,!1)),f=";"):(p=p["$[]"](c(0,-3,!1)),f=");"):(u=u["$[]"](c(4,-1,!1)),p=p["$[]"](c(0,-5,!1)))):":"["$==="](m)&&((t=p["$end_with?"]("):"))===s||t.$$is_boolean&&1!=t?(p=p["$[]"](c(0,-2,!1)),f=":"):(p=p["$[]"](c(0,-3,!1)),f="):"))),i.document.$register("links",p),m=l(["type","target"],{type:"link",target:p}),b=s,(t=a["$[]"](3)["$nil_or_empty?"]())===s||t.$$is_boolean&&1!=t?((t=!1!==S&&S!==s?!1!==(n=a["$[]"](3)["$start_with?"]('"'))&&n!==s?n:(o=a["$[]"](3)["$include?"](","),!1!==o&&o!==s?a["$[]"](3)["$include?"]("="):o):S)===s||t.$$is_boolean&&1!=t?a=i.$sub_attributes(a["$[]"](3).$gsub("\\]","]")):(b=i.$parse_attributes(i.$sub_attributes(a["$[]"](3).$gsub("\\]","]")),[]),(t=b["$has_key?"]("id"))===s||t.$$is_boolean&&1!=t||m["$[]="]("id",b.$delete("id")),a=!1!==(t=b["$[]"](1))&&t!==s?t:""),(t=a["$end_with?"]("^"))===s||t.$$is_boolean&&1!=t||(a=a.$chop(),!1!==b&&b!==s?(t="window",r=b,!1!==(n=r["$[]"](t))&&n!==s?n:r["$[]="](t,"_blank")):b=l(["window"],{window:"_blank"}))):a="",(t=a["$empty?"]())===s||t.$$is_boolean&&1!=t||(a=(t=i.document["$attr?"]("hide-uri-scheme"))===s||t.$$is_boolean&&1!=t?p:p.$sub(h.get("UriSniffRx"),""),!1!==b&&b!==s?b["$[]="]("role",("bare "+b["$[]"]("role")).$chomp(" ")):b=l(["role"],{role:"bare"})),!1!==b&&b!==s&&m["$[]="]("attributes",b),""+u+h.get("Inline").$new(i,"anchor",a,m).$convert()+f):a["$[]"](0)):""+a["$[]"](1)+a["$[]"](2)["$[]"](c(1,-1,!1))+a["$[]"](3)},$.$$s=this,$),r).call(t,h.get("LinkInlineRx"))),(r=!1!==(x=T["$[]"]("macroish"),w=!1!==x&&x!==s?D["$include?"]("link:"):x)&&w!==s?w:D["$include?"]("mailto:"))===s||r.$$is_boolean&&1!=r||(D=(r=(w=D).$gsub,r.$$p=(E=function(){var e,t,r,n=E.$$s||this,o=s,i=s,a=s,u=t=s,p=s,o=s;return null==n.document&&(n.document=s),null==d["~"]&&(d["~"]=s),o=d["~"],(e=o["$[]"](0)["$start_with?"]("\\"))===s||e.$$is_boolean&&1!=e?(i=o["$[]"](1),a=o["$[]"](0)["$start_with?"]("mailto:"),t=!1!==a&&a!==s?"mailto:"+i:i,u=l(["type","target"],{type:"link",target:t}),p=s,(e=!1!==S&&S!==s?!1!==(r=o["$[]"](2)["$start_with?"]('"'))&&r!==s?r:o["$[]"](2)["$include?"](","):S)===s||e.$$is_boolean&&1!=e?o=n.$sub_attributes(o["$[]"](2).$gsub("\\]","]")):(p=n.$parse_attributes(n.$sub_attributes(o["$[]"](2).$gsub("\\]","]")),[]),(e=p["$key?"]("id"))===s||e.$$is_boolean&&1!=e||u["$[]="]("id",p.$delete("id")),!1===a||a===s||(e=p["$key?"](2))===s||e.$$is_boolean&&1!=e||(t=u["$[]="]("target",""+t+"?subject="+h.get("Helpers").$encode_uri(p["$[]"](2))),(e=p["$key?"](3))===s||e.$$is_boolean&&1!=e||(t=u["$[]="]("target",""+t+"&body="+h.get("Helpers").$encode_uri(p["$[]"](3))))),o=p["$[]"](1)),n.document.$register("links",t),(e=o["$end_with?"]("^"))===s||e.$$is_boolean&&1!=e||(o=o.$chop(),!1!==p&&p!==s?(e="window",t=p,!1!==(r=t["$[]"](e))&&r!==s?r:t["$[]="](e,"_blank")):p=l(["window"],{window:"_blank"})),(e=o["$empty?"]())===s||e.$$is_boolean&&1!=e||(!1!==a&&a!==s?o=i:(o=(e=n.document["$attr?"]("hide-uri-scheme"))===s||e.$$is_boolean&&1!=e?i:i.$sub(h.get("UriSniffRx"),""),!1!==p&&p!==s?p["$[]="]("role",("bare "+p["$[]"]("role")).$chomp(" ")):p=l(["role"],{role:"bare"}))),!1!==p&&p!==s&&u["$[]="]("attributes",p),h.get("Inline").$new(n,"anchor",o,u).$convert()):o["$[]"](0)["$[]"](c(1,-1,!1))},E.$$s=this,E),r).call(w,h.get("LinkInlineMacroRx"))),(r=D["$include?"]("@"))===s||r.$$is_boolean&&1!=r||(D=(r=(x=D).$gsub,r.$$p=(P=function(){var e,t=P.$$s||this,r=s,n=s,r=r=s;return null==t.document&&(t.document=s),null==d["~"]&&(d["~"]=s),r=d["~"],n=r["$[]"](0),(e=r=r["$[]"](1))===s||e.$$is_boolean&&1!=e?(r="mailto:"+n,t.document.$register("links",r),h.get("Inline").$new(t,"anchor",n,l(["type","target"],{type:"link",target:r})).$convert()):"\\"["$==="](r)?n["$[]"](c(1,-1,!1)):n},P.$$s=this,P),r).call(x,h.get("EmailInlineMacroRx"))),C=T["$[]"]("macroish_short_form"),(r=!1!==C&&C!==s?D["$include?"]("footnote"):C)===s||r.$$is_boolean&&1!=r||(D=(r=(C=D).$gsub,r.$$p=(j=function(){var t,r,n,o,i=j.$$s||this,a=s,u=s,p=s,f=a=s,m=s,p=s;return null==i.document&&(i.document=s),null==d["~"]&&(d["~"]=s),a=d["~"],(t=a["$[]"](0)["$start_with?"]("\\"))===s||t.$$is_boolean&&1!=t?(a["$[]"](1)["$=="]("footnote")?(u=s,p=i.$restore_passthroughs(i.$sub_inline_xrefs(i.$sub_inline_anchors(i.$normalize_string(a["$[]"](2),!0))),!1),a=i.document.$counter("footnote-number"),i.document.$register("footnotes",h.get("Document").$$scope.get("Footnote").$new(a,u,p)),m=f=s):(t=e.to_ary(a["$[]"](2).$split(",",2)),u=null==t[0]?s:t[0],p=null==t[1]?s:t[1],u=u.$strip(),(t=p["$nil_or_empty?"]())===s||t.$$is_boolean&&1!=t?(p=i.$restore_passthroughs(i.$sub_inline_xrefs(i.$sub_inline_anchors(i.$normalize_string(p,!0))),!1),a=i.document.$counter("footnote-number"),i.document.$register("footnotes",h.get("Document").$$scope.get("Footnote").$new(a,u,p)),f="ref",m=s):((t=p=(r=(n=i.document.$references()["$[]"]("footnotes")).$find,r.$$p=(o=function(e){return null==e&&(e=s),e.$id()["$=="](u)},o.$$s=i,o),r).call(n))===s||t.$$is_boolean&&1!=t?(a=s,p=u):(a=p.$index(),p=p.$text()),m=u,u=s,f="xref")),h.get("Inline").$new(i,"footnote",p,l(["attributes","id","target","type"],{attributes:l(["index"],{index:a}),id:u,target:m,type:f})).$convert()):a["$[]"](0)["$[]"](c(1,-1,!1))},j.$$s=this,j),r).call(C,h.get("FootnoteInlineMacroRx"))),this.$sub_inline_xrefs(this.$sub_inline_anchors(D,T),T)):t}),e.defn(p,"$sub_inline_anchors",function(t,r){var n,o,i,a,u,p,f;return null==r&&(r=s),o=!1!==(i=r["$!"]())&&i!==s?i:r["$[]"]("square_bracket"),(n=!1!==o&&o!==s?t["$include?"]("[[["):o)===s||n.$$is_boolean&&1!=n||(t=(n=(o=t).$gsub,n.$$p=(a=function(){var e,t=a.$$s||this,r=s,n=r=s;return null==d["~"]&&(d["~"]=s),r=d["~"],(e=r["$[]"](0)["$start_with?"]("\\"))===s||e.$$is_boolean&&1!=e?(r=n=r["$[]"](1),h.get("Inline").$new(t,"anchor",n,l(["type","target"],{type:"bibref",target:r})).$convert()):r["$[]"](0)["$[]"](c(1,-1,!1))},a.$$s=this,a),n).call(o,h.get("InlineBiblioAnchorRx"))),(n=!1!==(u=!1!==(p=r["$!"]())&&p!==s?p:r["$[]"]("square_bracket"),i=!1!==u&&u!==s?t["$include?"]("[["):u)&&i!==s?i:(u=!1!==(p=r["$!"]())&&p!==s?p:r["$[]"]("macroish"),!1!==u&&u!==s?t["$include?"]("anchor:"):u))===s||n.$$is_boolean&&1!=n||(t=(n=(i=t).$gsub,n.$$p=(f=function(){var t,r,n=f.$$s||this,o=s,i=s,o=s;return null==d["~"]&&(d["~"]=s),o=d["~"],(t=o["$[]"](0)["$start_with?"]("\\"))===s||t.$$is_boolean&&1!=t?((t=e.get("RUBY_ENGINE_OPAL"))===s||t.$$is_boolean&&1!=t||(o["$[]"](1)["$=="]("")&&o["$[]="](1,s),o["$[]"](2)["$=="]("")&&o["$[]="](2,s),o["$[]"](4)["$=="]("")&&o["$[]="](4,s)),i=!1!==(t=o["$[]"](1))&&t!==s?t:o["$[]"](3),o=!1!==(t=!1!==(r=o["$[]"](2))&&r!==s?r:o["$[]"](4))&&t!==s?t:"["+i+"]",h.get("Inline").$new(n,"anchor",o,l(["type","target"],{type:"ref",target:i})).$convert()):o["$[]"](0)["$[]"](c(1,-1,!1))},f.$$s=this,f),n).call(i,h.get("InlineAnchorRx"))),t}),e.defn(p,"$sub_inline_xrefs",function(t,r){var n,o,i,a;return null==r&&(r=s),(n=!1!==(o=!1!==(i=r["$!"]())&&i!==s?i:r["$[]"]("macroish"))&&o!==s?o:t["$include?"]("<<"))===s||n.$$is_boolean&&1!=n||(t=(n=(o=t).$gsub,n.$$p=(a=function(){var t,r,n,o,i,u,p=a.$$s||this,f=s,m=s,b=s,v=m=f=s,_=s,v=s;return null==p.document&&(p.document=s),null==d["~"]&&(d["~"]=s),f=d["~"],(t=f["$[]"](0)["$start_with?"]("\\"))===s||t.$$is_boolean&&1!=t?((t=e.get("RUBY_ENGINE_OPAL"))===s||t.$$is_boolean&&1!=t||!f["$[]"](1)["$=="]("")||f["$[]="](1,s),(t=f["$[]"](1))===s||t.$$is_boolean&&1!=t?(m=f["$[]"](2),((t=f["$[]"](3)["$nil_or_empty?"]())===s||t.$$is_boolean&&1!=t)&&(b=f["$[]"](3))):(t=e.to_ary((r=(n=f["$[]"](1).$split(",",2)).$map,r.$$p=(o=function(e){return null==e&&(e=s),e.$strip()},o.$$s=p,o),r).call(n)),m=null==t[0]?s:t[0],b=null==t[1]?s:t[1],m=m.$sub(h.get("DoubleQuotedRx"),"\\2"),b=(t=b["$nil_or_empty?"]())===s||t.$$is_boolean&&1!=t?b.$sub(h.get("DoubleQuotedMultiRx"),"\\2"):s),(t=m["$include?"]("#"))===s||t.$$is_boolean&&1!=t?f=s:(t=e.to_ary(m.$split("#")),f=null==t[0]?s:t[0],m=null==t[1]?s:t[1]),!1!==f&&f!==s?(f=h.get("Helpers").$rootname(f),(t=!1!==(r=p.document.$attributes()["$[]"]("docname")["$=="](f))&&r!==s?r:p.document.$references()["$[]"]("includes")["$include?"](f))===s||t.$$is_boolean&&1!=t?(v=!1!==m&&m!==s?""+f+"#"+m:f,f=""+p.document.$attributes()["$[]"]("relfileprefix")+f+p.document.$attributes().$fetch("outfilesuffix",".html"),_=!1!==m&&m!==s?""+f+"#"+m:f):(v=m,f=s,_="#"+m)):(i=p.document.$references()["$[]"]("ids")["$has_key?"](m)["$!"](),r=!1!==i&&i!==s?!1!==(u=m["$include?"](" "))&&u!==s?u:m.$downcase()["$!="](m):i,(t=!1!==r&&r!==s?v=(i=h.get("RUBY_MIN_VERSION_1_9"))===s||i.$$is_boolean&&1!=i?p.document.$references()["$[]"]("ids").$index(m):p.document.$references()["$[]"]("ids").$key(m):r)===s||t.$$is_boolean&&1!=t||(m=v),v=m,_="#"+m),h.get("Inline").$new(p,"anchor",b,l(["type","target","attributes"],{type:"xref",target:_,attributes:l(["path","fragment","refid"],{path:f,fragment:m,refid:v})})).$convert()):f["$[]"](0)["$[]"](c(1,-1,!1))},a.$$s=this,a),n).call(o,h.get("XrefInlineMacroRx"))),t}),e.defn(p,"$sub_callouts",function(t){var r,n,o=s,o=(r=this["$attr?"]("line-comment"))===s||r.$$is_boolean&&1!=r?h.get("CalloutSourceRx"):new RegExp("(?:"+e.get("Regexp").$escape(this.$attr("line-comment"))+" )?"+h.get("CalloutSourceRxt"));return(r=t.$gsub,r.$$p=(n=function(){var e=n.$$s||this,t=s;return null==e.document&&(e.document=s),null==d["~"]&&(d["~"]=s),t=d["~"],t["$[]"](1)["$=="]("\\")?t["$[]"](0).$sub("\\",""):h.get("Inline").$new(e,"callout",t["$[]"](3),l(["id"],{id:e.document.$callouts().$read_next_id()})).$convert()},n.$$s=this,n),r).call(t,o)}),e.defn(p,"$sub_post_replacements",function(e){var t,n,o,i,a=s,u=s;return null==this.document&&(this.document=s),null==this.attributes&&(this.attributes=s),(t=!1!==(n=this.document.$attributes()["$has_key?"]("hardbreaks"))&&n!==s?n:this.attributes["$has_key?"]("hardbreaks-option"))===s||t.$$is_boolean&&1!=t?(t=e["$include?"]("+"))===s||t.$$is_boolean&&1!=t?e:(t=e.$gsub,t.$$p=(i=function(){var e=i.$$s||this;return null==d["~"]&&(d["~"]=s),h.get("Inline").$new(e,"break",d["~"]["$[]"](1),l(["type"],{type:"line"})).$convert()},i.$$s=this,i),t).call(e,h.get("LineBreakRx")):(a=e.$split(h.get("EOL")),a.$size()["$=="](1)?e:(u=a.$pop(),r((t=(n=a).$map,t.$$p=(o=function(e){var t=o.$$s||this;return null==e&&(e=s),h.get("Inline").$new(t,"break",e.$rstrip().$chomp(h.get("LINE_BREAK")),l(["type"],{type:"line"})).$convert()},o.$$s=this,o),t).call(n).$push(u),h.get("EOL"))))}),e.defn(p,"$convert_quoted_text",function(e,t,r){var n,o=s,i=s,a=o=s,o=s;if((n=e["$[]"](0)["$start_with?"]("\\"))!==s&&(!n.$$is_boolean||1==n)){if((n=r["$=="]("constrained")?(i=e["$[]"](2))["$nil_or_empty?"]()["$!"]():r["$=="]("constrained"))===s||n.$$is_boolean&&1!=n)return e["$[]"](0)["$[]"](c(1,-1,!1));o="["+i+"]"}return r["$=="]("constrained")?!1!==o&&o!==s?""+o+h.get("Inline").$new(this,"quoted",e["$[]"](3),l(["type"],{type:t})).$convert():((n=o=this.$parse_quoted_text_attributes(e["$[]"](2)))===s||n.$$is_boolean&&1!=n?a=s:(a=o.$delete("id"),t["$=="]("mark")&&(t="unquoted")),""+e["$[]"](1)+h.get("Inline").$new(this,"quoted",e["$[]"](3),l(["type","id","attributes"],{type:t,id:a,attributes:o})).$convert()):((n=o=this.$parse_quoted_text_attributes(e["$[]"](1)))===s||n.$$is_boolean&&1!=n?a=s:(a=o.$delete("id"),t["$=="]("mark")&&(t="unquoted")),h.get("Inline").$new(this,"quoted",e["$[]"](2),l(["type","id","attributes"],{type:t,id:a,attributes:o})).$convert())}),e.defn(p,"$parse_quoted_text_attributes",function(t){var o,i,u,d=s,c=s,p=s,p=d=s;return!1===t||t===s?s:(o=t["$empty?"]())===s||o.$$is_boolean&&1!=o?((o=t["$include?"]("{"))===s||o.$$is_boolean&&1!=o||(t=this.$sub_attributes(t)),t=t.$strip(),(o=t["$include?"](","))===s||o.$$is_boolean&&1!=o||(o=e.to_ary(t.$split(",",2)),t=null==o[0]?s:o[0]),(o=t["$empty?"]())===s||o.$$is_boolean&&1!=o?(i=!1!==(u=t["$start_with?"]("."))&&u!==s?u:t["$start_with?"]("#"),(o=!1!==i&&i!==s?h.get("Compliance").$shorthand_property_syntax():i)===s||o.$$is_boolean&&1!=o?l(["role"],{role:t}):(d=t.$split("#",2),n(d.$length(),1)?(o=e.to_ary(d["$[]"](1).$split(".")),c=null==o[0]?s:o[0],p=a.call(o,1)):(c=s,p=[]),d=(o=d["$[]"](0)["$empty?"]())===s||o.$$is_boolean&&1!=o?d["$[]"](0).$split("."):[],n(d.$length(),1)&&d.$shift(),n(p.$length(),0)&&d.$concat(p),p=l([],{}),!1!==c&&c!==s&&p["$[]="]("id",c),((o=d["$empty?"]())===s||o.$$is_boolean&&1!=o)&&p["$[]="]("role",r(d," ")),p)):l([],{})):l([],{})}),e.defn(p,"$parse_attributes",function(e,t,r){var n,o=s,i=s;return null==this.document&&(this.document=s),null==t&&(t=["role"]),null==r&&(r=l([],{})),!1===e||e===s?s:(n=e["$empty?"]())===s||n.$$is_boolean&&1!=n?((n=r["$[]"]("sub_input"))===s||n.$$is_boolean&&1!=n||(e=this.document.$sub_attributes(e)),(n=r["$[]"]("unescape_input"))===s||n.$$is_boolean&&1!=n||(e=this.$unescape_bracketed_text(e)),o=s,(n=r.$fetch("sub_result",!0))===s||n.$$is_boolean&&1!=n||(o=this),(n=i=r["$[]"]("into"))===s||n.$$is_boolean&&1!=n?h.get("AttributeList").$new(e,o).$parse(t):h.get("AttributeList").$new(e,o).$parse_into(i,t)):l([],{})}),e.defn(p,"$unescape_bracketed_text",function(e){var t;return(t=e["$empty?"]())===s||t.$$is_boolean&&1!=t?e.$strip().$tr(h.get("EOL")," ").$gsub("\\]","]"):""}),e.defn(p,"$normalize_string",function(e,t){var r;return null==t&&(t=!1),(r=e["$empty?"]())===s||r.$$is_boolean&&1!=r?!1!==t&&t!==s?this.$unescape_brackets(e.$strip().$tr(h.get("EOL")," ")):e.$strip().$tr(h.get("EOL")," "):""}),e.defn(p,"$unescape_brackets",function(e){var t;return(t=e["$empty?"]())===s||t.$$is_boolean&&1!=t?e.$gsub("\\]","]"):""}),e.defn(p,"$split_simple_csv",function(e){var t,r,n,o,i=s,a=s,u=s;return(t=e["$empty?"]())===s||t.$$is_boolean&&1!=t?(t=e["$include?"]('"'))===s||t.$$is_boolean&&1!=t?i=(t=(n=e.$split(",")).$map,t.$$p=(o=function(e){return null==e&&(e=s),e.$strip()},o.$$s=this,o),t).call(n):(i=[],a=[],u=!1,(t=e.$each_char,t.$$p=(r=function(e){var t=s;return null==e&&(e=s),function(){return t=e,","["$==="](t)?!1!==u&&u!==s?a.$push(e):(i["$<<"](a.$join().$strip()),a=[]):'"'["$==="](t)?u=u["$!"]():a.$push(e)}()},r.$$s=this,r),t).call(e),i["$<<"](a.$join().$strip())):i=[],i}),e.defn(p,"$resolve_subs",function(e,i,a,u){var l,d,p,f=s,m=s,b=s,v=s;return null==i&&(i="block"),null==a&&(a=s),null==u&&(u=s),(l=e["$nil_or_empty?"]())===s||l.$$is_boolean&&1!=l?(f=s,m=h.get("SubModifierSniffRx")["$=~"](e),(l=(d=e.$tr(" ","").$split(",")).$each,l.$$p=(p=function(e){var r,n,u,l=s,d=n=n=n=s,l=s;return null==e&&(e=s),l=s,!1!==m&&m!==s&&((n=e.$chr())["$=="]("+")?(l="append",e=e["$[]"](c(1,-1,!1))):n["$=="]("-")?(l="remove",e=e["$[]"](c(1,-1,!1))):(r=e["$end_with?"]("+"))===s||r.$$is_boolean&&1!=r||(l="prepend",e=e.$chop())),e=e.$to_sym(),(r=(n=i["$=="]("inline"))?!1!==(u=e["$=="]("verbatim"))&&u!==s?u:e["$=="]("v"):i["$=="]("inline"))===s||r.$$is_boolean&&1!=r?(r=h.get("COMPOSITE_SUBS")["$key?"](e))===s||r.$$is_boolean&&1!=r?(n=i["$=="]("inline")?e.$length()["$=="](1):i["$=="]("inline"),(r=!1!==n&&n!==s?h.get("SUB_SYMBOLS")["$key?"](e):n)===s||r.$$is_boolean&&1!=r?n=[e]:(n=h.get("SUB_SYMBOLS")["$[]"](e),n=(r=d=h.get("COMPOSITE_SUBS")["$[]"](n))===s||r.$$is_boolean&&1!=r?[n]:d)):n=h.get("COMPOSITE_SUBS")["$[]"](e):n=["specialcharacters"],!1!==l&&l!==s?(!1!==(r=f)&&r!==s?r:f=!1!==a&&a!==s?a.$dup():[],"append"["$==="](l)?f=t(f,n):"prepend"["$==="](l)?f=t(n,f):"remove"["$==="](l)?f=o(f,n):s):(!1!==(r=f)&&r!==s?r:f=[],f=t(f,n))},p.$$s=this,p),l).call(d),b=f["$&"](h.get("SUB_OPTIONS")["$[]"](i)),((l=o(f,b)["$empty?"]())===s||l.$$is_boolean&&1!=l)&&(v=o(f,b),this.$warn("asciidoctor: WARNING: invalid substitution type"+(n(v.$size(),1)?"s":"")+(!1!==u&&u!==s?" for ":s)+u+": "+r(v,", "))),b):[]}),e.defn(p,"$resolve_block_subs",function(e,t,r){return this.$resolve_subs(e,"block",t,r)}),e.defn(p,"$resolve_pass_subs",function(e){return this.$resolve_subs(e,"inline",s,"passthrough macro")}),e.defn(p,"$highlight_source",function(n,o,i){var a,u,p,f,m,b=s,v=s,_=s,g=s,y=s,$=s,w=s,x=v=s,E=s,P=b=s,C=s;return null==this.document&&(this.document=s),null==this.passthroughs&&(this.passthroughs=s),null==i&&(i=s),b=!1!==(a=i)&&a!==s?a:i=this.document.$attributes()["$[]"]("source-highlighter"),"coderay"["$==="](b)?((a=!1!==(u=v=null==e.Object.$$scope.CodeRay?s:"constant")&&u!==s?u:this.document.$attributes()["$[]"]("coderay-unavailable"))===s||a.$$is_boolean&&1!=a)&&((a=h.get("Helpers").$require_library("coderay",!0,"warn")["$nil?"]())===s||a.$$is_boolean&&1!=a?v=!0:this.document.$set_attr("coderay-unavailable",!0)):"pygments"["$==="](b)?((a=!1!==(u=v=null==e.Object.$$scope.Pygments?s:"constant")&&u!==s?u:this.document.$attributes()["$[]"]("pygments-unavailable"))===s||a.$$is_boolean&&1!=a)&&((a=h.get("Helpers").$require_library("pygments","pygments.rb","warn")["$nil?"]())===s||a.$$is_boolean&&1!=a?v=!0:this.document.$set_attr("pygments-unavailable",!0)):v=!1,!1===v||v===s?this.$sub_source(n,o):(_=0,g=!1,!1!==o&&o!==s?(y=l([],{}),$=-1,w=(a=this["$attr?"]("line-comment"))===s||a.$$is_boolean&&1!=a?h.get("CalloutExtractRx"):new RegExp("(?:"+e.get("Regexp").$escape(this.$attr("line-comment"))+" )?"+h.get("CalloutExtractRxt")),n=r((a=(u=n.$split(h.get("EOL"))).$map,a.$$p=(p=function(e){var r,n,o,i=p.$$s||this;return null==e&&(e=s),_=t(_,1),(r=(n=e).$gsub,r.$$p=(o=function(){var e,t,r,n=s;return null==d["~"]&&(d["~"]=s),n=d["~"],n["$[]"](1)["$=="]("\\")?n["$[]"](0).$sub("\\",""):((e=_,t=y,!1!==(r=t["$[]"](e))&&r!==s?r:t["$[]="](e,[]))["$<<"](n["$[]"](3)),$=_,s)},o.$$s=i,o),r).call(n,w)},p.$$s=this,p),a).call(u),h.get("EOL")),g=$["$=="](_),(a=y["$empty?"]())===s||a.$$is_boolean&&1!=a||(y=s)):y=s,x=v=s,b=i,"coderay"["$==="](b)?((a=v=(f=this["$attr?"]("linenums"))===s||f.$$is_boolean&&1!=f?s:(!1!==(f=this.document.$attributes()["$[]"]("coderay-linenums-mode"))&&f!==s?f:"table").$to_sym())===s||a.$$is_boolean&&1!=a||(a=this["$attr?"]("highlight",s,!1))===s||a.$$is_boolean&&1!=a||(x=this.$resolve_lines_to_highlight(this.$attr("highlight",s,!1))),E=e.get("CodeRay").$$scope.get("Duo")["$[]"](this.$attr("language","text",!1).$to_sym(),"html",l(["css","line_numbers","line_number_anchors","highlight_lines","bold_every"],{css:(!1!==(a=this.document.$attributes()["$[]"]("coderay-css"))&&a!==s?a:"class").$to_sym(),line_numbers:v,line_number_anchors:!1,highlight_lines:x,bold_every:!1})).$highlight(n)):"pygments"["$==="](b)&&(b=!1!==(a=e.get("Pygments").$$scope.get("Lexer")["$[]"](this.$attr("language",s,!1)))&&a!==s?a:e.get("Pygments").$$scope.get("Lexer")["$[]"]("text"),P=l(["cssclass","classprefix","nobackground"],{cssclass:"pyhl",classprefix:"tok-",nobackground:!0}),(!1!==(a=this.document.$attributes()["$[]"]("pygments-css"))&&a!==s?a:"class")["$=="]("class")||(P["$[]="]("noclasses",!0),P["$[]="]("style",!1!==(a=this.document.$attributes()["$[]"]("pygments-style"))&&a!==s?a:h.get("Stylesheets").$$scope.get("DEFAULT_PYGMENTS_STYLE"))),(a=this["$attr?"]("highlight",s,!1))===s||a.$$is_boolean&&1!=a||!((a=(x=this.$resolve_lines_to_highlight(this.$attr("highlight",s,!1)))["$empty?"]())===s||a.$$is_boolean&&1!=a)||P["$[]="]("hl_lines",r(x," ")),(a=this["$attr?"]("linenums"))===s||a.$$is_boolean&&1!=a?(P["$[]="]("nowrap",!0),E=b.$highlight(n,l(["options"],{options:P}))):P["$[]="]("linenos",!1!==(a=this.document.$attributes()["$[]"]("pygments-linenums-mode"))&&a!==s?a:"table")["$=="]("table")?(v="table",E=b.$highlight(n,l(["options"],{options:P})).$sub(/
(.*)<\/div>/m,"\\1").$gsub(/]*>(.*?)<\/pre>\s*/m,"\\1")):E=b.$highlight(n,l(["options"],{options:P})).$sub(/
]*>(.*?)<\/pre><\/div>/m,"\\1")),((a=this.passthroughs["$empty?"]())===s||a.$$is_boolean&&1!=a)&&(E=E.$gsub(h.get("PASS_MATCH_HI"),""+h.get("PASS_START")+"\\1"+h.get("PASS_END"))),(a=(f=!1!==o&&o!==s)?y:o)===s||a.$$is_boolean&&1!=a?E:(_=0,C=v["$!="]("table"),r((a=(f=E.$split(h.get("EOL"))).$map,a.$$p=(m=function(e){var n,o,i,a=m.$$s||this,u=s,d=s,p=s,u=s;if(null==a.document&&(a.document=s),null==e&&(e=s),!1===C||C===s){if((n=e["$include?"](''))===s||n.$$is_boolean&&1!=n)return e;C=!0}return _=t(_,1),(n=u=y.$delete(_))===s||n.$$is_boolean&&1!=n?e:(d=s,(n=(o=!1!==g&&g!==s)?y["$empty?"]():g)===s||n.$$is_boolean&&1!=n||((n=p=e.$index(""))===s||n.$$is_boolean&&1!=n?e=""+e.$chomp(" ")+" ":(d=e["$[]"](c(p,-1,!1)),e=""+e["$[]"](c(0,p,!0)).$chomp(" ")+" ")),u.$size()["$=="](1)?""+e+h.get("Inline").$new(a,"callout",u["$[]"](0),l(["id"],{id:a.document.$callouts().$read_next_id()})).$convert()+d:(u=r((n=(o=u).$map,n.$$p=(i=function(e){var t=i.$$s||this;return null==t.document&&(t.document=s),null==e&&(e=s),h.get("Inline").$new(t,"callout",e,l(["id"],{id:t.document.$callouts().$read_next_id()})).$convert()},i.$$s=a,i),n).call(o)," "),""+e+u+d))},m.$$s=this,m),a).call(f),h.get("EOL"))))}),e.defn(p,"$resolve_lines_to_highlight",function(t){var r,n,i,a=s,a=[];return(r=(n=t.$delete(" ").$split(h.get("DataDelimiterRx"))).$map,r.$$p=(i=function(t){var r,n=s,i=s,u=s,i=s;return null==t&&(t=s),n=!1,(r=t["$start_with?"]("!"))===s||r.$$is_boolean&&1!=r||(t=t["$[]"](c(1,-1,!1)),n=!0),(r=t["$include?"]("-"))===s||r.$$is_boolean&&1!=r?!1!==n&&n!==s?a.$delete(t.$to_i()):a["$<<"](t.$to_i()):(r=e.to_ary(t.$split("-",2)),i=null==r[0]?s:r[0],u=null==r[1]?s:r[1],i=c(i.$to_i(),u.$to_i(),!1).$to_a(),!1!==n&&n!==s?a=o(a,i):a.$concat(i))},i.$$s=this,i),r).call(n),a.$sort().$uniq()}),e.defn(p,"$sub_source",function(e,t){return!1!==t&&t!==s?this.$sub_callouts(this.$sub_specialchars(e)):this.$sub_specialchars(e)}),e.defn(p,"$lock_in_subs",function(){var e,t,r,n,o,i=s,a=i=s;if(null==this.default_subs&&(this.default_subs=s),null==this.content_model&&(this.content_model=s),null==this.context&&(this.context=s),null==this.attributes&&(this.attributes=s),null==this.style&&(this.style=s),null==this.document&&(this.document=s),null==this.subs&&(this.subs=s),(e=this.default_subs)===s||e.$$is_boolean&&1!=e)if(i=this.content_model,"simple"["$==="](i))i=h.get("SUBS")["$[]"]("normal");else if("verbatim"["$==="](i))i=(e=!1!==(t=this.context["$=="]("listing"))&&t!==s?t:(r=this.context["$=="]("literal"))?this["$option?"]("listparagraph")["$!"]():this.context["$=="]("literal"))===s||e.$$is_boolean&&1!=e?this.context["$=="]("verse")?h.get("SUBS")["$[]"]("normal"):h.get("SUBS")["$[]"]("basic"):h.get("SUBS")["$[]"]("verbatim");else{if(!"raw"["$==="](i))return s;i=this.context["$=="]("stem")?h.get("SUBS")["$[]"]("basic"):h.get("SUBS")["$[]"]("pass")}else i=this.default_subs;return(e=a=this.attributes["$[]"]("subs"))===s||e.$$is_boolean&&1!=e?this.subs=i.$dup():this.subs=this.$resolve_block_subs(a,i,this.context),n=this.context["$=="]("listing")?this.style["$=="]("source"):this.context["$=="]("listing"),r=!1!==n&&n!==s?this.attributes["$[]"]("language"):n,t=!1!==r&&r!==s?this.document["$basebackend?"]("html"):r,(e=!1!==t&&t!==s?h.get("SUB_HIGHLIGHT")["$include?"](this.document.$attributes()["$[]"]("source-highlighter")):t)===s||e.$$is_boolean&&1!=e?s:this.subs=(e=(t=this.subs).$map,e.$$p=(o=function(e){return null==e&&(e=s),e["$=="]("specialcharacters")?"highlight":e},o.$$s=this,o),e).call(t)})}(u(p,"Asciidoctor").$$scope.base)}(e.base)},o.modules["asciidoctor/abstract_node"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e $[] $has_role? $header? $concat $find_by $to_proc $each $flatten $delete $title? $attributes $counter_increment $index= $+ $sectname $counter $numbered $number= $attr $caption= $special $doctype $assign_index $reindex_sections".split(" ")),function(l){l=i(l,"Asciidoctor").$$scope,function(i,l){function d(){}var c,p,h=d=a(i,l,"AbstractBlock",d),f=h.$$proto,m=h.$$scope;return f.document=f.attributes=f.blocks=f.source_location=f.subs=f.title=f.subbed_title=f.caption=f.next_section_index=f.context=f.style=f.id=f.header=f.next_section_number=n,h.$attr_accessor("content_model"),h.$attr_reader("subs"),h.$attr_reader("blocks"),h.$attr_accessor("level"),h.$attr_writer("title"),h.$attr_accessor("style"),h.$attr_accessor("caption"),h.$attr_accessor("source_location"),e.defn(h,"$initialize",c=function(t,r,o){var i,a=s.call(arguments,0),l=c.$$p;return null==o&&(o=u([],{})),c.$$p=null,e.find_super_dispatcher(this,"initialize",c,l).apply(this,a),this.content_model="compound",this.subs=[],this.default_subs=n,this.blocks=[],this.style=this.caption=this.title=this.id=n,this.level=r["$=="]("document")?0:(i=!1!==t&&t!==n?r["$!="]("section"):t)===n||i.$$is_boolean&&1!=i?n:t.$level(),this.next_section_index=0,this.next_section_number=1,this.source_location=n}),e.defn(h,"$block?",function(){return!0}),e.defn(h,"$inline?",function(){return!1}),e.defn(h,"$context=",function(e){return this.context=e,this.node_name=e.$to_s()}),e.defn(h,"$convert",function(){return this.document.$playback_attributes(this.attributes),this.$converter().$convert(this)}),e.alias(h,"render","convert"),e.defn(h,"$content",function(){var e,r,o;return t((e=(r=this.blocks).$map,e.$$p=(o=function(e){return null==e&&(e=n),e.$convert()},o.$$s=this,o),e).call(r),m.get("EOL"))}),e.defn(h,"$file",function(){var e;return(e=this.source_location)===n||e.$$is_boolean&&1!=e?n:this.source_location.$file()}),e.defn(h,"$lineno",function(){var e;return(e=this.source_location)===n||e.$$is_boolean&&1!=e?n:this.source_location.$lineno()}),e.defn(h,"$sub?",function(e){return this.subs["$include?"](e)}),e.defn(h,"$title?",function(){return this.title["$nil_or_empty?"]()["$!"]()}),e.defn(h,"$title",function(){var e,t;return t=this.subbed_title,(e=null!=t&&t!==n?"instance-variable":n)===n||e.$$is_boolean&&1!=e?(e=this.title)===n||e.$$is_boolean&&1!=e?this.title:this.subbed_title=this.$apply_title_subs(this.title):this.subbed_title}),e.defn(h,"$captioned_title",function(){return""+this.caption+this.$title()}),e.defn(h,"$blocks?",function(){return this.blocks["$empty?"]()["$!"]()}),e.defn(h,"$<<",function(e){return this.blocks["$<<"](e),this}),e.alias(h,"append","<<"),e.defn(h,"$sections",function(){var e,t,r;return(e=(t=this.blocks).$select,e.$$p=(r=function(e){return null==e&&(e=n),e.$context()["$=="]("section")},r.$$s=this,r),e).call(t)}),e.defn(h,"$sections?",function(){var e=this.next_section_index;return"number"==typeof e?0"](0)}),e.defn(h,"$find_by",p=function(t){var r,s,i,a,l,d,c,h=p.$$p||n,f=n,m=n,b=n,v=n,_=n,g=n;if(null==t&&(t=u([],{})),p.$$p=null,f=[],a=!1!==(l=m=(b=t["$[]"]("context"))["$!"]())&&l!==n?l:b["$=="](this.context),i=!1!==a&&a!==n?!1!==(l=(v=t["$[]"]("style"))["$!"]())&&l!==n?l:v["$=="](this.style):a,s=!1!==i&&i!==n?!1!==(a=(_=t["$[]"]("role"))["$!"]())&&a!==n?a:this["$has_role?"](_):i,(r=!1!==s&&s!==n?!1!==(i=(g=t["$[]"]("id"))["$!"]())&&i!==n?i:g["$=="](this.id):s)!==n&&(!r.$$is_boolean||1==r)){if(!1!==g&&g!==n)return h!==n&&((r=(s=e.yield1(h,this))===o?o.$v:s)===n||r.$$is_boolean&&1!=r)?f:[this];h!==n?(r=(s=e.yield1(h,this))===o?o.$v:s)===n||r.$$is_boolean&&1!=r||f["$<<"](this):f["$<<"](this)}return s=(i=this.context["$=="]("document"))?!1!==(a=m)&&a!==n?a:b["$=="]("section"):this.context["$=="]("document"),(r=!1!==s&&s!==n?this["$header?"]():s)===n||r.$$is_boolean&&1!=r||f.$concat((r=(s=this.header).$find_by,r.$$p=h.$to_proc(),r).call(s,t)),b["$=="]("document")||(this.context["$=="]("dlist")?(r=!1!==(i=m)&&i!==n?i:b["$!="]("section"))===n||r.$$is_boolean&&1!=r||(r=(i=this.blocks.$flatten()).$each,r.$$p=(d=function(e){var r,o;return null==e&&(e=n),!1!==e&&e!==n?f.$concat((r=(o=e).$find_by,r.$$p=h.$to_proc(),r).call(o,t)):n},d.$$s=this,d),r).call(i):r=(a=(l=this.blocks).$each,a.$$p=(c=function(e){var r,o;return null==e&&(e=n),(r=b["$=="]("section")?e.$context()["$!="]("section"):b["$=="]("section"))===n||r.$$is_boolean&&1!=r?f.$concat((r=(o=e).$find_by,r.$$p=h.$to_proc(),r).call(o,t)):n},c.$$s=this,c),a).call(l)),f}),e.alias(h,"query","find_by"),e.defn(h,"$remove_sub",function(e){return this.subs.$delete(e),n}),e.defn(h,"$assign_caption",function(e,t){var r,o,s=n,i=s=s=n;return null==e&&(e=n),null==t&&(t=n),(r=!1!==(o=this["$title?"]())&&o!==n?o:this.caption["$!"]())===n||r.$$is_boolean&&1!=r?n:(!1!==e&&e!==n?this.caption=e:(r=s=this.document.$attributes()["$[]"]("caption"))===n||r.$$is_boolean&&1!=r?(r=this["$title?"]())===n||r.$$is_boolean&&1!=r||(!1!==(r=t)&&r!==n?r:t=this.context.$to_s(),s=""+t+"-caption",(r=s=this.document.$attributes()["$[]"](s))===n||r.$$is_boolean&&1!=r||(i=this.document.$counter_increment(""+t+"-number",this),this.caption=""+s+" "+i+". ")):this.caption=s,n)}),e.defn(h,"$assign_index",function(e){var t,o,s,i=n,a=n;return t=[this.next_section_index],o=e,o["$index="].apply(o,t),t[t.length-1],this.next_section_index=r(this.next_section_index,1),e.$sectname()["$=="]("appendix")?(i=this.document.$counter("appendix-number","A"),(t=e.$numbered())===n||t.$$is_boolean&&1!=t||(t=[i],o=e,o["$number="].apply(o,t),t[t.length-1]),(t=(a=this.document.$attr("appendix-caption",""))["$!="](""))===n||t.$$is_boolean&&1!=t?(t=[""+i+". "],o=e,o["$caption="].apply(o,t),t[t.length-1]):(t=[""+a+" "+i+": "],o=e,o["$caption="].apply(o,t),t[t.length-1])):(t=e.$numbered())===n||t.$$is_boolean&&1!=t?n:(o=!1!==(s=e.$level()["$=="](1))&&s!==n?s:e.$level()["$=="](0)?e.$special():e.$level()["$=="](0),(t=!1!==o&&o!==n?this.document.$doctype()["$=="]("book"):o)===n||t.$$is_boolean&&1!=t?(t=[this.next_section_number],o=e,o["$number="].apply(o,t),t[t.length-1],this.next_section_number=r(this.next_section_number,1)):(t=[this.document.$counter("chapter-number",1)],o=e,o["$number="].apply(o,t),t[t.length-1]))}),e.defn(h,"$reindex_sections",function(){var e,t,r;return this.next_section_number=this.next_section_index=0,(e=(t=this.blocks).$each,e.$$p=(r=function(e){var t=r.$$s||this;return null==e&&(e=n),e.$context()["$=="]("section")?(t.$assign_index(e),e.$reindex_sections()):n},r.$$s=this,r),e).call(t)}),n&&"reindex_sections"}(l.base,l.get("AbstractNode"))}(e.base)},o.modules["asciidoctor/attribute_list"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}e.dynamic_require_severity="ignore";var r=e.nil,n=e.module,o=e.klass,s=e.hash2;return e.add_stubs("$== $new $[] $update $parse $parse_attribute $eos? $skip_delimiter $+ $rekey $each_with_index $[]= $skip_blank $peek $parse_attribute_value $get_byte $scan_name $! $!= $* $scan_to_delimiter $=== $each $split $tr $empty? $apply_normal_subs $scan_to_quote $gsub $skip $scan".split(" ")),function(i){!function(n,i){function a(){}var u=a=o(n,i,"AttributeList",a),l=u.$$proto,d=u.$$scope;return l.attributes=l.scanner=l.delimiter=l.block=l.delimiter_skip_pattern=l.delimiter_boundary_pattern=r,e.get("RUBY_ENGINE")["$=="]("opal")&&(e.cdecl(d,"CG_BLANK","[ \\t]"),e.cdecl(d,"CC_WORD","a-zA-Z0-9_"),e.cdecl(d,"CG_WORD","[a-zA-Z0-9_]")),e.cdecl(d,"BoundaryRxs",s(['"',"'",","],{'"':/.*?[^\\](?=")/,"'":/.*?[^\\](?=')/,",":new RegExp(".*?(?="+d.get("CG_BLANK")+"*(,|$))")})),e.cdecl(d,"EscapedQuoteRxs",s(['"',"'"],{'"':/\\"/,"'":/\\'/})),e.cdecl(d,"NameRx",new RegExp(""+d.get("CG_WORD")+"["+d.get("CC_WORD")+"\\-.]*")),e.cdecl(d,"BlankRx",new RegExp(""+d.get("CG_BLANK")+"+")),e.cdecl(d,"SkipRxs",s(["blank",","],{blank:d.get("BlankRx"),",":new RegExp(""+d.get("CG_BLANK")+"*(,|$)")})),e.defn(u,"$initialize",function(t,n,o){return null==n&&(n=r),null==o&&(o=","),this.scanner=e.get("StringScanner").$new(t),this.block=n,this.delimiter=o,this.delimiter_skip_pattern=d.get("SkipRxs")["$[]"](o),this.delimiter_boundary_pattern=d.get("BoundaryRxs")["$[]"](o),this.attributes=r}),e.defn(u,"$parse_into",function(e,t){return null==t&&(t=[]),e.$update(this.$parse(t))}),e.defn(u,"$parse",function(e){var n,o,i=r;if(null==e&&(e=[]),(n=this.attributes)!==r&&(!n.$$is_boolean||1==n))return this.attributes;for(this.attributes=s([],{}),i=0;(o=this.$parse_attribute(i,e))!==r&&(!o.$$is_boolean||1==o)&&((o=this.scanner["$eos?"]())===r||o.$$is_boolean&&1!=o);)this.$skip_delimiter(),i=t(i,1);return this.attributes}),e.defn(u,"$rekey",function(e){return d.get("AttributeList").$rekey(this.attributes,e)}),e.defs(u,"$rekey",function(e,n){var o,s;return(o=n.$each_with_index,o.$$p=(s=function(n,o){var s,i=r,a=r;return null==n&&(n=r),null==o&&(o=r),!1===n||n===r?r:(i=t(o,1),(s=a=e["$[]"](i))===r||s.$$is_boolean&&1!=s?r:e["$[]="](n,a))},s.$$s=this,s),o).call(n),e}),e.defn(u,"$parse_attribute",function(e,n){var o,s,i,a,u=r,l=r,d=l=r,c=r,p=r,l=u=c=r;if(null==e&&(e=0),null==n&&(n=[]),u=!1,this.$skip_blank(),(l=this.scanner.$peek(1))["$=="]('"'))l=this.$parse_attribute_value(this.scanner.$get_byte()),d=r;else if(l["$=="]("'"))l=this.$parse_attribute_value(this.scanner.$get_byte()),d=r,u=!0;else{if(l=this.$scan_name(),c=0,p=r,(o=this.scanner["$eos?"]())===r||o.$$is_boolean&&1!=o)c=!1!==(o=this.$skip_blank())&&o!==r?o:0,p=this.scanner.$get_byte();else if(!1===l||l===r)return!1;if((o=!1!==(s=p["$!"]())&&s!==r?s:p["$=="](this.delimiter))===r||o.$$is_boolean&&1!=o)if((o=!1!==(s=p["$!="]("="))&&s!==r?s:l["$!"]())===r||o.$$is_boolean&&1!=o){if(this.$skip_blank(),(o=this.scanner.$peek(1))!==r&&(!o.$$is_boolean||1==o))if((p=this.scanner.$get_byte())["$=="]('"'))d=this.$parse_attribute_value(p);else if(p["$=="]("'"))d=this.$parse_attribute_value(p),u=!0;else if(p["$=="](this.delimiter))d=r;else if(d=""+p+this.$scan_to_delimiter(),d["$=="]("None"))return!0}else l=""+l+" "["$*"](c)+p+this.$scan_to_delimiter(),d=r;else d=r}return!1!==d&&d!==r?(c=l,"options"["$==="](c)||"opts"["$==="](c)?(l="options",(o=(s=d.$tr(" ","").$split(",")).$each,o.$$p=(i=function(e){var t=i.$$s||this;return null==t.attributes&&(t.attributes=r),null==e&&(e=r),t.attributes["$[]="](""+e+"-option","")},i.$$s=this,i),o).call(s),this.attributes["$[]="](l,d)):"title"["$==="](c)?this.attributes["$[]="](l,d):this.attributes["$[]="](l,(a=!1!==u&&u!==r?d["$empty?"]()["$!"]():u,(o=!1!==a&&a!==r?this.block:a)===r||o.$$is_boolean&&1!=o?d:this.block.$apply_normal_subs(d)))):(a=!1!==u&&u!==r?l["$empty?"]()["$!"]():u,u=(o=!1!==a&&a!==r?this.block:a)===r||o.$$is_boolean&&1!=o?l:this.block.$apply_normal_subs(l),(o=l=n["$[]"](e))===r||o.$$is_boolean&&1!=o||this.attributes["$[]="](l,u),this.attributes["$[]="](t(e,1),u)),!0}),e.defn(u,"$parse_attribute_value",function(e){var t,n=r;return this.scanner.$peek(1)["$=="](e)?(this.scanner.$get_byte(),""):(t=n=this.$scan_to_quote(e))===r||t.$$is_boolean&&1!=t?""+e+this.$scan_to_delimiter():(this.scanner.$get_byte(),n.$gsub(d.get("EscapedQuoteRxs")["$[]"](e),e))}),e.defn(u,"$skip_blank",function(){return this.scanner.$skip(d.get("BlankRx"))}),e.defn(u,"$skip_delimiter",function(){return this.scanner.$skip(this.delimiter_skip_pattern)}),e.defn(u,"$scan_name",function(){return this.scanner.$scan(d.get("NameRx"))}),e.defn(u,"$scan_to_delimiter",function(){return this.scanner.$scan(this.delimiter_boundary_pattern)}),e.defn(u,"$scan_to_quote",function(e){return this.scanner.$scan(d.get("BoundaryRxs")["$[]"](e))}),r&&"scan_to_quote"}(n(i,"Asciidoctor").$$scope.base,null)}(e.base)},o.modules["asciidoctor/block"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}e.dynamic_require_severity="ignore";var r=e.nil,n=e.slice,o=e.module,s=e.klass,i=e.hash2;return e.add_stubs("$default= $attr_accessor $[] $key? $== $=== $dup $delete $[]= $lock_in_subs $nil_or_empty? $normalize_lines_from_string $apply_subs $* $< $size $empty? $rstrip $shift $pop $warn $to_s $class $object_id $inspect".split(" ")),function(a){a=o(a,"Asciidoctor").$$scope,function(o,a){function u(){}var l,d,c,p=u=s(o,a,"Block",u),h=p.$$proto,f=p.$$scope;return h.attributes=h.content_model=h.lines=h.subs=h.blocks=h.context=h.style=r,h=["simple"],l=e.cdecl(f,"DEFAULT_CONTENT_MODEL",i("audio image listing literal stem open page_break pass thematic_break video".split(" "),{audio:"empty",image:"empty",listing:"verbatim",literal:"verbatim",stem:"raw",open:"compound",page_break:"empty",pass:"raw",thematic_break:"empty",video:"empty"})),l["$default="].apply(l,h),h[h.length-1],e.alias(p,"blockname","context"),p.$attr_accessor("lines"),e.defn(p,"$initialize",d=function(t,o,s){var a,u=n.call(arguments,0),l=d.$$p,c=r,p=r;return null==s&&(s=i([],{})),d.$$p=null,e.find_super_dispatcher(this,"initialize",d,l).apply(this,u),this.content_model=!1!==(a=s["$[]"]("content_model"))&&a!==r?a:f.get("DEFAULT_CONTENT_MODEL")["$[]"](o),(a=s["$key?"]("subs"))===r||a.$$is_boolean&&1!=a?(this.subs=[],this.default_subs=r):(a=c=s["$[]"]("subs"))===r||a.$$is_boolean&&1!=a?(this.subs=[],this.default_subs=[],this.attributes.$delete("subs")):(c["$=="]("default")?this.default_subs=s["$[]"]("default_subs"):(a=e.get("Array")["$==="](c))===r||a.$$is_boolean&&1!=a?(this.default_subs=r,this.attributes["$[]="]("subs",""+c)):(this.default_subs=c.$dup(),this.attributes.$delete("subs")),this.$lock_in_subs()),(a=(p=s["$[]"]("source"))["$nil_or_empty?"]())===r||a.$$is_boolean&&1!=a?(a=e.get("String")["$==="](p))===r||a.$$is_boolean&&1!=a?this.lines=p.$dup():this.lines=f.get("Helpers").$normalize_lines_from_string(p):this.lines=[]}),e.defn(p,"$content",c=function(){var o,s,i=n.call(arguments,0),a=this,u=c.$$p,l=r,d=r,p=r,h=r;return c.$$p=null,function(){if(l=a.content_model,"compound"["$==="](l))return e.find_super_dispatcher(a,"content",c,u).apply(a,i);if("simple"["$==="](l))return a.$apply_subs(t(a.lines,f.get("EOL")),a.subs);if("verbatim"["$==="](l)||"raw"["$==="](l)){d=a.$apply_subs(a.lines,a.subs);var n=d.$size();if("number"==typeof n?2>n:n["$<"](2))return d["$[]"](0);for(;s=p=d["$[]"](0),(o=!1!==s&&s!==r?p.$rstrip()["$empty?"]():s)!==r&&(!o.$$is_boolean||1==o);)d.$shift();for(;s=h=d["$[]"](-1),(o=!1!==s&&s!==r?h.$rstrip()["$empty?"]():s)!==r&&(!o.$$is_boolean||1==o);)d.$pop();return t(d,f.get("EOL"))}return a.content_model["$=="]("empty")||a.$warn("Unknown content model '"+a.content_model+"' for block: "+a.$to_s()),r}()}),e.defn(p,"$source",function(){return t(this.lines,f.get("EOL"))}),e.defn(p,"$to_s",function(){var e=r,e=this.content_model["$=="]("compound")?"blocks: "+this.blocks.$size():"lines: "+this.lines.$size();return"#<"+this.$class()+"@"+this.$object_id()+" {context: "+this.context.$inspect()+", content_model: "+this.content_model.$inspect()+", style: "+this.style.$inspect()+", "+e+"}>"}),r&&"to_s"}(a.base,a.get("AbstractBlock"))}(e.base)},o.modules["asciidoctor/callouts"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e-t:e["$-"](t)}e.dynamic_require_severity="ignore";var n=e.nil,o=e.module,s=e.klass,i=e.hash2;return e.add_stubs("$next_list $<< $current_list $to_i $generate_next_callout_id $+ $<= $size $[] $- $chop $join $map $== $< $generate_callout_id".split(" ")),function(a){!function(o,a){function u(){}var l=u=s(o,a,"Callouts",u),d=l.$$proto;return d.co_index=d.lists=d.list_index=n,e.defn(l,"$initialize",function(){return this.lists=[],this.list_index=0,this.$next_list()}),e.defn(l,"$register",function(e){var r=n;return this.$current_list()["$<<"](i(["ordinal","id"],{ordinal:e.$to_i(),id:r=this.$generate_next_callout_id()})),this.co_index=t(this.co_index,1),r}),e.defn(l,"$read_next_id",function(){var e=n,o=n,e=n,o=this.$current_list(),s=this.co_index,i=o.$size();return("number"==typeof s&&"number"==typeof i?s<=i:s["$<="](i))&&(e=o["$[]"](r(this.co_index,1))["$[]"]("id")),this.co_index=t(this.co_index,1),e}),e.defn(l,"$callout_ids",function(e){var t,r,o;return(t=(r=this.$current_list()).$map,t.$$p=(o=function(t){return null==t&&(t=n),t["$[]"]("ordinal")["$=="](e)?""+t["$[]"]("id")+" ":n},o.$$s=this,o),t).call(r).$join().$chop()}),e.defn(l,"$current_list",function(){return this.lists["$[]"](r(this.list_index,1))}),e.defn(l,"$next_list",function(){this.list_index=t(this.list_index,1);var e=this.lists.$size(),r=this.list_index;return("number"==typeof e&&"number"==typeof r?eu&&(u=0);for(var l=Array(u),d=0;d=t:e["$>="](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e>t:e["$>"](t)}function o(e,t){return"number"==typeof e&&"number"==typeof t?e<=t:e["$<="](t)}function s(e,t){return"number"==typeof e&&"number"==typeof t?e= $safe $attr? $<< $doctitle $include? $normalize_web_path $embed_primary_stylesheet $read_asset $normalize_system_path $=== $coderay_stylesheet_name $embed_coderay_stylesheet $pygments_stylesheet_name $embed_pygments_stylesheet $docinfo $id $sections? $doctype $* $noheader $outline $has_header? $notitle $title $header $sub_macros $> $to_i $each $downcase $concat $content $footnotes? $! $index $text $footnotes $nofooter $inspect $!= $document $sections $level $special $numbered $caption $<= $sectnum $< $captioned_title $+ $role $title? $icon_uri $compact $style $media_uri $option? $append_boolean_attribute $each_with_index $items $text? $blocks? $chomp $read_svg_contents $image_uri $to_sym $start_with? $end_with? $list_marker_keyword $parent $warn $context $times $size $columns $colspan $rowspan $rows $select $role? $insert $split $target $type $attributes $references $join $map $chop $read_contents $sub $gsub $match".split(" ")),function(p){p=u(p,"Asciidoctor").$$scope,function(u,p){function h(){}var f,m=h=l(u,p,"Html5Converter",h),b=m.$$proto,v=m.$$scope;return b.xml_mode=b.void_element_slash=b.stylesheets=a,b=[[a,a,a]],f=e.cdecl(v,"QUOTE_TAGS",d("emphasis strong monospaced superscript subscript double single mark asciimath latexmath".split(" "),{ -emphasis:["","",!0],strong:["","",!0],monospaced:["","",!0],superscript:["","",!0],subscript:["","",!0],"double":["“","”",!1],single:["‘","’",!1],mark:["","",!0],asciimath:["\\$","\\$",!1],latexmath:["\\(","\\)",!1]})),f["$default="].apply(f,b),b[b.length-1],e.cdecl(v,"SvgPreambleRx",/\A.*?(?=])/m),e.cdecl(v,"SvgStartTagRx",/\A]*>/),e.cdecl(v,"DimensionAttributeRx",/\s(?:width|height|style)=(["']).*?\1/),e.defn(m,"$initialize",function(e,t){var r;return null==t&&(t=d([],{})),this.xml_mode=t["$[]"]("htmlsyntax")["$=="]("xml"),this.void_element_slash=(r=this.xml_mode)===a||r.$$is_boolean&&1!=r?a:"/",this.stylesheets=v.get("Stylesheets").$instance()}),e.defn(m,"$document",function(e){var o,s,i,u,l,p,h=a,f=a,m=a,b=a,_=a,g=a,y=a,$=g=y=g=y=b=y=b=y=a,f=f=g=g=y=a,h=[],f=this.void_element_slash,m="";return((o=(b=e.$attr("asset-uri-scheme","https"))["$empty?"]())===a||o.$$is_boolean&&1!=o)&&(b=""+b+":"),_=""+b+"//cdnjs.cloudflare.com/ajax/libs",g=!1!==(o=t(e.$safe(),v.get("SafeMode").$$scope.get("SECURE")))&&o!==a?o:e["$attr?"]("linkcss"),h["$<<"](""),y=(o=e["$attr?"]("nolang"))===a||o.$$is_boolean&&1!=o?' lang="'+e.$attr("lang","en")+'"':a,h["$<<"](""),h["$<<"]('\n\n\n\n"),(o=e["$attr?"]("app-name"))===a||o.$$is_boolean&&1!=o||h["$<<"]('"),(o=e["$attr?"]("description"))===a||o.$$is_boolean&&1!=o||h["$<<"]('"),(o=e["$attr?"]("keywords"))===a||o.$$is_boolean&&1!=o||h["$<<"]('"),(o=e["$attr?"]("authors"))===a||o.$$is_boolean&&1!=o||h["$<<"]('"),(o=e["$attr?"]("copyright"))===a||o.$$is_boolean&&1!=o||h["$<<"]('"),h["$<<"](""+e.$doctitle(d(["sanitize","use_fallback"],{sanitize:!0,use_fallback:!0}))+""),(o=v.get("DEFAULT_STYLESHEET_KEYS")["$include?"](e.$attr("stylesheet")))===a||o.$$is_boolean&&1!=o?(o=e["$attr?"]("stylesheet"))===a||o.$$is_boolean&&1!=o||(!1!==g&&g!==a?h["$<<"]('"):h["$<<"]("")):((o=y=e.$attr("webfonts"))===a||o.$$is_boolean&&1!=o||h["$<<"]('"),!1!==g&&g!==a?h["$<<"]('"):h["$<<"](this.stylesheets.$embed_primary_stylesheet())),(o=e["$attr?"]("icons","font"))===a||o.$$is_boolean&&1!=o||((o=e["$attr?"]("iconfont-remote"))===a||o.$$is_boolean&&1!=o?(b=""+e.$attr("iconfont-name","font-awesome")+".css",h["$<<"]('")):h["$<<"]('")),y=b=e.$attr("source-highlighter"),"coderay"["$==="](y)?e.$attr("coderay-css","class")["$=="]("class")&&(!1!==g&&g!==a?h["$<<"]('"):h["$<<"](this.stylesheets.$embed_coderay_stylesheet())):"pygments"["$==="](y)&&e.$attr("pygments-css","class")["$=="]("class")&&(y=e.$attr("pygments-style"),!1!==g&&g!==a?h["$<<"]('"):h["$<<"](this.stylesheets.$embed_pygments_stylesheet(y))),((o=(g=e.$docinfo())["$empty?"]())===a||o.$$is_boolean&&1!=o)&&h["$<<"](g),h["$<<"](""),y=[],(o=e.$id())===a||o.$$is_boolean&&1!=o||y["$<<"]('id="'+e.$id()+'"'),u=g=e["$sections?"](),i=!1!==u&&u!==a?e["$attr?"]("toc-class"):u,s=!1!==i&&i!==a?e["$attr?"]("toc"):i,(o=!1!==s&&s!==a?e["$attr?"]("toc-placement","auto"):s)===a||o.$$is_boolean&&1!=o?y["$<<"]('class="'+e.$doctype()+'"'):y["$<<"]('class="'+e.$doctype()+" "+e.$attr("toc-class")+" toc-"+e.$attr("toc-position","header")+'"'),(o=e["$attr?"]("max-width"))===a||o.$$is_boolean&&1!=o||y["$<<"]('style="max-width: '+e.$attr("max-width")+';"'),h["$<<"](""),((o=e.$noheader())===a||o.$$is_boolean&&1!=o)&&(h["$<<"]('")),h["$<<"]('
\n'+e.$content()+"\n
"),i=e["$footnotes?"](),(o=!1!==i&&i!==a?e["$attr?"]("nofootnotes")["$!"]():i)===a||o.$$is_boolean&&1!=o||(h["$<<"]('
\n"),(o=(i=e.$footnotes()).$each,o.$$p=(p=function(e){return null==e&&(e=a),h["$<<"]('
\n'+e.$index()+". "+e.$text()+"\n
")},p.$$s=this,p),o).call(i),h["$<<"]("
")),((o=e.$nofooter())===a||o.$$is_boolean&&1!=o)&&(h["$<<"]('")),((o=(g=e.$docinfo("footer"))["$empty?"]())===a||o.$$is_boolean&&1!=o)&&h["$<<"](g),y=b,"highlightjs"["$==="](y)||"highlight.js"["$==="](y)?(g=e.$attr("highlightjsdir",""+_+"/highlight.js/8.9.1"),h["$<<"]('"),h["$<<"]('\n')):"prettify"["$==="](y)&&(g=e.$attr("prettifydir",""+_+"/prettify/r298"),h["$<<"]('"),h["$<<"]('\n')),(o=e["$attr?"]("stem"))===a||o.$$is_boolean&&1!=o||(f=e.$attr("eqnums","none"),f["$=="]("")&&(f="AMS"),f=' equationNumbers: { autoNumber: "'+f+'" } ',h["$<<"]('\n')),h["$<<"](""),h["$<<"](""),r(h,v.get("EOL"))}),e.defn(m,"$embedded",function(e){var t,n,o,s,i,u=a,l=a,d=a,u=[];return e.$doctype()["$=="]("manpage")?(((t=e.$notitle())===a||t.$$is_boolean&&1!=t)&&(l=(t=e.$id())===a||t.$$is_boolean&&1!=t?a:' id="'+e.$id()+'"',u["$<<"](""+e.$doctitle()+" Manual Page")),u["$<<"]("

"+e.$attr("manname-title")+'

\n
\n

'+e.$attr("manname")+" - "+e.$attr("manpurpose")+"

\n
")):(n=e["$has_header?"](),(t=!1!==n&&n!==a?e.$notitle()["$!"]():n)===a||t.$$is_boolean&&1!=t||(l=(t=e.$id())===a||t.$$is_boolean&&1!=t?a:' id="'+e.$id()+'"',u["$<<"](""+e.$header().$title()+""))),s=e["$sections?"](),o=!1!==s&&s!==a?e["$attr?"]("toc"):s,n=!1!==o&&o!==a?(d=e.$attr("toc-placement"))["$!="]("macro"):o,(t=!1!==n&&n!==a?d["$!="]("preamble"):n)===a||t.$$is_boolean&&1!=t||u["$<<"]('
\n
'+e.$attr("toc-title")+"
\n"+this.$outline(e)+"\n
"),u["$<<"](e.$content()),n=e["$footnotes?"](),(t=!1!==n&&n!==a?e["$attr?"]("nofootnotes")["$!"]():n)===a||t.$$is_boolean&&1!=t||(u["$<<"]('
\n"),(t=(n=e.$footnotes()).$each,t.$$p=(i=function(e){return null==e&&(e=a),u["$<<"]('
\n'+e.$index()+". "+e.$text()+"\n
")},i.$$s=this,i),t).call(n),u["$<<"]("
")),r(u,v.get("EOL"))}),e.defn(m,"$outline",function(e,t){var n,i,u,l=a,c=a,p=a,h=a,f=a,m=a;return null==t&&(t=d([],{})),(n=e["$sections?"]())===a||n.$$is_boolean&&1!=n?a:(l=!1!==(n=t["$[]"]("sectnumlevels"))&&n!==a?n:e.$document().$attr("sectnumlevels",3).$to_i(),c=!1!==(n=t["$[]"]("toclevels"))&&n!==a?n:e.$document().$attr("toclevels",2).$to_i(),p=[],h=e.$sections(),f=(m=h["$[]"](0)).$level(),(n=(i=f["$=="](0))?m.$special():f["$=="](0))===a||n.$$is_boolean&&1!=n||(f=1),p["$<<"]('
    '),(n=(i=h).$each,n.$$p=(u=function(e){var t,r,n,i=u.$$s||this,h=a,f=a;return null==e&&(e=a),n=e.$numbered(),r=!1!==n&&n!==a?e.$caption()["$!"]():n,h=(t=!1!==r&&r!==a?o(e.$level(),l):r)===a||t.$$is_boolean&&1!=t?a:""+e.$sectnum()+" ",(t=s(e.$level(),c)?f=i.$outline(e,d(["toclevels","secnumlevels"],{toclevels:c,secnumlevels:l})):s(e.$level(),c))===a||t.$$is_boolean&&1!=t?p["$<<"]('
  • '+h+e.$captioned_title()+"
  • "):(p["$<<"]('
  • '+h+e.$captioned_title()+""),p["$<<"](f),p["$<<"]("
  • "))},u.$$s=this,u),n).call(i),p["$<<"]("
"),r(p,v.get("EOL")))}),e.defn(m,"$section",function(e){var t,r,n,s=a,u=a,l=a,d=a,c=a,p=a,h=a,f=a,m=a,s=e.$level();return(t=(r=s["$=="](0))?e.$special():s["$=="](0))===a||t.$$is_boolean&&1!=t||(s=1),u="h"+i(s,1),l=d=c=p=a,(t=e.$id())===a||t.$$is_boolean&&1!=t||(l=' id="'+e.$id()+'"',(t=e.$document()["$attr?"]("sectanchors"))===a||t.$$is_boolean&&1!=t?(t=e.$document()["$attr?"]("sectlinks"))===a||t.$$is_boolean&&1!=t||(c='',p=""):d=''),s["$=="](0)?"'+d+c+e.$title()+p+"\n"+e.$content():(h=(t=f=e.$role())===a||t.$$is_boolean&&1!=t?' class="sect'+s+'"':' class="sect'+s+" "+f+'"',n=e.$numbered(),r=!1!==n&&n!==a?e.$caption()["$!"]():n,m=(t=!1!==r&&r!==a?o(s,e.$document().$attr("sectnumlevels",3).$to_i()):r)===a||t.$$is_boolean&&1!=t?a:""+e.$sectnum()+" ","\n<"+u+l+">"+d+c+m+e.$captioned_title()+p+"\n"+(s["$=="](1)?'
\n'+e.$content()+"\n
":e.$content())+"\n
")}),e.defn(m,"$admonition",function(e){var t,r,n=a,o=a,s=a,i=a,u=a,n=(t=e.$id())===a||t.$$is_boolean&&1!=t?a:' id="'+e.$id()+'"',o=e.$attr("name"),s=(t=e["$title?"]())===a||t.$$is_boolean&&1!=t?a:'
'+e.$title()+"
\n",i=(t=e.$document()["$attr?"]("icons"))===a||t.$$is_boolean&&1!=t?'
'+e.$caption()+"
":(r=e.$document()["$attr?"]("icons","font"),(t=!1!==r&&r!==a?e["$attr?"]("icon")["$!"]():r)===a||t.$$is_boolean&&1!=t?''+e.$caption()+'":'');return"\n\n\n\n\n\n
\n'+i+'\n\n'+s+e.$content()+"\n
\n
"}),e.defn(m,"$audio",function(e){var t,n=a,o=a,s=a,i=s=a,n=e.$document()["$attr?"]("htmlsyntax","xml"),o=(t=e.$id())===a||t.$$is_boolean&&1!=t?a:' id="'+e.$id()+'"',s=["audioblock",e.$style(),e.$role()].$compact(),s=' class="'+r(s," ")+'"',i=(t=e["$title?"]())===a||t.$$is_boolean&&1!=t?a:'
'+e.$captioned_title()+"
\n";return"\n"+i+'
\n\n
\n"}),e.defn(m,"$colist",function(e){var t,n,o,s,u,l=a,d=a,c=a,p=c=a,l=[],d=(t=e.$id())===a||t.$$is_boolean&&1!=t?a:' id="'+e.$id()+'"',c=["colist",e.$style(),e.$role()].$compact(),c=' class="'+r(c," ")+'"';return l["$<<"](""),(t=e["$title?"]())===a||t.$$is_boolean&&1!=t||l["$<<"]('
'+e.$title()+"
"),(t=e.$document()["$attr?"]("icons"))===a||t.$$is_boolean&&1!=t?(l["$<<"]("
    "),(t=(s=e.$items()).$each,t.$$p=(u=function(e){return null==e&&(e=a),l["$<<"]("
  1. \n

    "+e.$text()+"

    \n
  2. ")},u.$$s=this,u),t).call(s),l["$<<"]("
")):(l["$<<"](""),p=e.$document()["$attr?"]("icons","font"),(t=(n=e.$items()).$each_with_index,t.$$p=(o=function(t,r){var n=o.$$s||this,s=a,s=a;return null==n.void_element_slash&&(n.void_element_slash=a),null==t&&(t=a),null==r&&(r=a),s=i(r,1),s=!1!==p&&p!==a?''+s+"":''+s+'",l["$<<"]("\n\n\n")},o.$$s=this,o),t).call(n),l["$<<"]("
"+s+""+t.$text()+"
")),l["$<<"](""),r(l,v.get("EOL"))}),e.defn(m,"$dlist",function(t){var n,o,s,i,u,l,d,c=a,p=a,h=a,f=h=h=a,m=p=a,c=[],p=(n=t.$id())===a||n.$$is_boolean&&1!=n?a:' id="'+t.$id()+'"',h=t.$style(),h=("qanda"["$==="](h)?["qlist","qanda",t.$role()]:"horizontal"["$==="](h)?["hdlist",t.$role()]:["dlist",t.$style(),t.$role()]).$compact(),h=' class="'+r(h," ")+'"';return c["$<<"](""),(n=t["$title?"]())===a||n.$$is_boolean&&1!=n||c["$<<"]('
'+t.$title()+"
"),h=t.$style(),"qanda"["$==="](h)?(c["$<<"]("
    "),(n=(o=t.$items()).$each,n.$$p=(s=function(t,r){var n,o,i,u=s.$$s||this;return null==t&&(t=a),null==r&&(r=a),c["$<<"]("
  1. "),(n=(o=[].concat(e.to_a(t))).$each,n.$$p=(i=function(e){return null==e&&(e=a),c["$<<"]("

    "+e.$text()+"

    ")},i.$$s=u,i),n).call(o),!1!==r&&r!==a&&((n=r["$text?"]())===a||n.$$is_boolean&&1!=n||c["$<<"]("

    "+r.$text()+"

    "),(n=r["$blocks?"]())===a||n.$$is_boolean&&1!=n||c["$<<"](r.$content())),c["$<<"]("
  2. ")},s.$$s=this,s),n).call(o),c["$<<"]("
")):"horizontal"["$==="](h)?(f=this.void_element_slash,c["$<<"](""),(n=!1!==(i=t["$attr?"]("labelwidth"))&&i!==a?i:t["$attr?"]("itemwidth"))===a||n.$$is_boolean&&1!=n||(c["$<<"](""),p=(n=t["$attr?"]("labelwidth"))===a||n.$$is_boolean&&1!=n?a:' style="width: '+t.$attr("labelwidth").$chomp("%")+'%;"',c["$<<"](""),p=(n=t["$attr?"]("itemwidth"))===a||n.$$is_boolean&&1!=n?a:' style="width: '+t.$attr("itemwidth").$chomp("%")+'%;"',c["$<<"](""),c["$<<"]("")),(n=(i=t.$items()).$each,n.$$p=(u=function(r,n){var o,s,i,l=u.$$s||this,d=a,p=a;return null==r&&(r=a),null==n&&(n=a),c["$<<"](""),c["$<<"]('"),c["$<<"]('"),c["$<<"]("")},u.$$s=this,u),n).call(i),c["$<<"]("
'),d=[].concat(e.to_a(r)),p=d["$[]"](-1),(o=(s=d).$each,o.$$p=(i=function(e){var t;return null==e&&(e=a),c["$<<"](e.$text()),(t=e["$!="](p))===a||t.$$is_boolean&&1!=t?a:c["$<<"]("")},i.$$s=l,i),o).call(s),c["$<<"]("'),!1!==n&&n!==a&&((o=n["$text?"]())===a||o.$$is_boolean&&1!=o||c["$<<"]("

"+n.$text()+"

"),(o=n["$blocks?"]())===a||o.$$is_boolean&&1!=o||c["$<<"](n.$content())),c["$<<"]("
")):(c["$<<"]("
"),m=(n=t.$style())===a||n.$$is_boolean&&1!=n?' class="hdlist1"':a,(n=(l=t.$items()).$each,n.$$p=(d=function(t,r){var n,o,s,i=d.$$s||this;return null==t&&(t=a),null==r&&(r=a),(n=(o=[].concat(e.to_a(t))).$each,n.$$p=(s=function(e){return null==e&&(e=a),c["$<<"](""+e.$text()+"")},s.$$s=i,s),n).call(o),!1!==r&&r!==a?(c["$<<"]("
"),(n=r["$text?"]())===a||n.$$is_boolean&&1!=n||c["$<<"]("

"+r.$text()+"

"),(n=r["$blocks?"]())===a||n.$$is_boolean&&1!=n||c["$<<"](r.$content()),c["$<<"]("
")):a},d.$$s=this,d),n).call(l),c["$<<"]("
")),c["$<<"](""),r(c,v.get("EOL"))}),e.defn(m,"$example",function(e){var t,n=a,o=a,s=a,n=(t=e.$id())===a||t.$$is_boolean&&1!=t?a:' id="'+e.$id()+'"',o=(t=e["$title?"]())===a||t.$$is_boolean&&1!=t?a:'
'+e.$captioned_title()+"
\n";return"\n'+o+'
\n'+e.$content()+"\n
\n"}),e.defn(m,"$floating_title",function(e){var t,n=a,o=a,s=a,n="h"+i(e.$level(),1),o=(t=e.$id())===a||t.$$is_boolean&&1!=t?a:' id="'+e.$id()+'"',s=[e.$style(),e.$role()].$compact();return"<"+n+o+' class="'+r(s," ")+'">'+e.$title()+""}),e.defn(m,"$image",function(e){var t,n,o,i=a,u=a,l=a,d=a,c=a,p=a,h=d=a,d=l=l=u=u=i=a,i=e.$attr("target"),u=(t=e["$attr?"]("width"))===a||t.$$is_boolean&&1!=t?a:' width="'+e.$attr("width")+'"',l=(t=e["$attr?"]("height"))===a||t.$$is_boolean&&1!=t?a:' height="'+e.$attr("height")+'"';return n=!1!==(o=e["$attr?"]("format","svg",!1))&&o!==a?o:i["$include?"](".svg"),(t=!1!==n&&n!==a?s(e.$document().$safe(),v.get("SafeMode").$$scope.get("SECURE")):n)===a||t.$$is_boolean&&1!=t||(!1!==(t=d=e["$option?"]("inline"))&&t!==a?t:c=e["$option?"]("interactive"),!1!==d&&d!==a?p=!1!==(t=this.$read_svg_contents(e,i))&&t!==a?t:''+e.$attr("alt")+"":!1!==c&&c!==a&&(d=(t=e["$attr?"]("fallback"))===a||t.$$is_boolean&&1!=t?''+e.$attr("alt")+"":''+e.$attr(",p='"+d+"")),!1!==(t=p)&&t!==a?t:p=''+e.$attr(",(t=h=e.$attr("link"))===a||t.$$is_boolean&&1!=t||(p=''+p+""),i=(t=e.$id())===a||t.$$is_boolean&&1!=t?a:' id="'+e.$id()+'"',u=["imageblock",e.$style(),e.$role()].$compact(),u=' class="'+r(u," ")+'"',l=[],(t=e["$attr?"]("align"))===a||t.$$is_boolean&&1!=t||l["$<<"]("text-align: "+e.$attr("align")),(t=e["$attr?"]("float"))===a||t.$$is_boolean&&1!=t||l["$<<"]("float: "+e.$attr("float")),l=(t=l["$empty?"]())===a||t.$$is_boolean&&1!=t?' style="'+r(l,";")+'"':a,d=(t=e["$title?"]())===a||t.$$is_boolean&&1!=t?a:'\n
'+e.$captioned_title()+"
","\n
\n'+p+"\n
"+d+"\n"}),e.defn(m,"$listing",function(e){var t,r=a,n=a,o=a,s=a,i=s=r=o=r=a,u=a,r=!1!==(t=e.$document()["$attr?"]("prewrap")["$!"]())&&t!==a?t:e["$option?"]("nowrap");return e.$style()["$=="]("source")?(o=(t=n=e.$attr("language",a,!1))===a||t.$$is_boolean&&1!=t?a:' data-lang="'+n+'"',s=e.$document().$attr("source-highlighter"),"coderay"["$==="](s)?r=' class="CodeRay highlight'+(!1!==r&&r!==a?" nowrap":a)+'"':"pygments"["$==="](s)?r=' class="pygments highlight'+(!1!==r&&r!==a?" nowrap":a)+'"':"highlightjs"["$==="](s)||"highlight.js"["$==="](s)?(r=' class="highlightjs highlight'+(!1!==r&&r!==a?" nowrap":a)+'"',!1!==n&&n!==a&&(o=' class="language-'+n+'"'+o)):"prettify"["$==="](s)?(r=' class="prettyprint highlight'+(!1!==r&&r!==a?" nowrap":a)+((t=e["$attr?"]("linenums"))===a||t.$$is_boolean&&1!=t?a:" linenums")+'"',!1!==n&&n!==a&&(o=' class="language-'+n+'"'+o)):"html-pipeline"["$==="](s)?(r=!1!==n&&n!==a?' lang="'+n+'"':a,o=a):(r=' class="highlight'+(!1!==r&&r!==a?" nowrap":a)+'"',!1!==n&&n!==a&&(o=' class="language-'+n+'"'+o)),o="",r=""):(o="",r=""),s=(t=e.$id())===a||t.$$is_boolean&&1!=t?a:' id="'+e.$id()+'"',i=(t=e["$title?"]())===a||t.$$is_boolean&&1!=t?a:'
'+e.$captioned_title()+"
\n","\n'+i+'
\n'+o+e.$content()+r+"\n
\n"}),e.defn(m,"$literal",function(e){var t,r=a,n=a,o=a,s=a,r=(t=e.$id())===a||t.$$is_boolean&&1!=t?a:' id="'+e.$id()+'"',n=(t=e["$title?"]())===a||t.$$is_boolean&&1!=t?a:'
'+e.$title()+"
\n",o=!1!==(t=e.$document()["$attr?"]("prewrap")["$!"]())&&t!==a?t:e["$option?"]("nowrap");return"\n'+n+'
\n"+e.$content()+"\n
\n"}),e.defn(m,"$stem",function(t){var n,o,s=a,i=a,u=a,l=a,d=a,c=a,s=(n=t.$id())===a||n.$$is_boolean&&1!=n?a:' id="'+t.$id()+'"',i=(n=t["$title?"]())===a||n.$$is_boolean&&1!=n?a:'
'+t.$title()+"
\n";return n=e.to_ary(v.get("BLOCK_MATH_DELIMITERS")["$[]"](t.$style().$to_sym())),u=null==n[0]?a:n[0],l=null==n[1]?a:n[1],o=(d=t.$content())["$start_with?"](u),((n=!1!==o&&o!==a?d["$end_with?"](l):o)===a||n.$$is_boolean&&1!=n)&&(d=""+u+d+l),"\n'+i+'
\n'+d+"\n
\n"}),e.defn(m,"$olist",function(e){var t,n,o,s=a,i=a,u=a,l=i=u=a,u=a,s=[],i=(t=e.$id())===a||t.$$is_boolean&&1!=t?a:' id="'+e.$id()+'"',u=["olist",e.$style(),e.$role()].$compact(),u=' class="'+r(u," ")+'"';return s["$<<"](""),(t=e["$title?"]())===a||t.$$is_boolean&&1!=t||s["$<<"]('
'+e.$title()+"
"),i=(t=l=e.$list_marker_keyword())===a||t.$$is_boolean&&1!=t?a:' type="'+l+'"',u=(t=e["$attr?"]("start"))===a||t.$$is_boolean&&1!=t?a:' start="'+e.$attr("start")+'"',s["$<<"]('
    "),(t=(n=e.$items()).$each,t.$$p=(o=function(e){var t;return null==e&&(e=a),s["$<<"]("
  1. "),s["$<<"]("

    "+e.$text()+"

    "),(t=e["$blocks?"]())===a||t.$$is_boolean&&1!=t||s["$<<"](e.$content()),s["$<<"]("
  2. ")},o.$$s=this,o),t).call(n),s["$<<"]("
"),s["$<<"](""),r(s,v.get("EOL"))}),e.defn(m,"$open",function(e){var t,r,n,o=a,s=a,i=a,u=a;return(o=e.$style())["$=="]("abstract")?(t=e.$parent()["$=="](e.$document())?e.$document().$doctype()["$=="]("book"):e.$parent()["$=="](e.$document()))===a||t.$$is_boolean&&1!=t?(s=(t=e.$id())===a||t.$$is_boolean&&1!=t?a:' id="'+e.$id()+'"',i=(t=e["$title?"]())===a||t.$$is_boolean&&1!=t?a:'
'+e.$title()+"
","\n'+i+"
\n"+e.$content()+"\n
\n"):(this.$warn("asciidoctor: WARNING: abstract block cannot be used in a document without a title when doctype is book. Excluding block content."),""):(t=o["$=="]("partintro")?!1!==(r=!1!==(n=e.$level()["$!="](0))&&n!==a?n:e.$parent().$context()["$!="]("section"))&&r!==a?r:e.$document().$doctype()["$!="]("book"):o["$=="]("partintro"))===a||t.$$is_boolean&&1!=t?(s=(t=e.$id())===a||t.$$is_boolean&&1!=t?a:' id="'+e.$id()+'"',i=(t=e["$title?"]())===a||t.$$is_boolean&&1!=t?a:'
'+e.$title()+"
","\n'+i+'
\n'+e.$content()+"\n
\n"):(this.$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."),"")}),e.defn(m,"$page_break",function(e){return'
'}),e.defn(m,"$paragraph",function(e){var t,r=a,r=a,r=(t=e.$role())===a||t.$$is_boolean&&1!=t?'class="paragraph"':'class="paragraph '+e.$role()+'"',r=(t=e.$id())===a||t.$$is_boolean&&1!=t?r:'id="'+e.$id()+'" '+r;return(t=e["$title?"]())===a||t.$$is_boolean&&1!=t?"
\n

"+e.$content()+"

\n
":"
\n
'+e.$title()+"
\n

"+e.$content()+"

\n
"}),e.defn(m,"$preamble",function(e){var t,r,n,o=a,s=a,s=(n=(o=e.$document())["$attr?"]("toc-placement","preamble"),r=!1!==n&&n!==a?o["$sections?"]():n,(t=!1!==r&&r!==a?o["$attr?"]("toc"):r)===a||t.$$is_boolean&&1!=t?a:'\n
\n
'+o.$attr("toc-title")+"
\n"+this.$outline(o)+"\n
");return'
\n
\n'+e.$content()+"\n
"+s+"\n
"}),e.defn(m,"$quote",function(e){var t,n,o=a,s=a,i=s=a,u=a,l=a,d=a,d=u=a,o=(t=e.$id())===a||t.$$is_boolean&&1!=t?a:' id="'+e.$id()+'"',s=["quoteblock",e.$role()].$compact(),s=' class="'+r(s," ")+'"',i=(t=e["$title?"]())===a||t.$$is_boolean&&1!=t?a:'\n
'+e.$title()+"
",u=(t=e["$attr?"]("attribution"))===a||t.$$is_boolean&&1!=t?a:e.$attr("attribution"),l=(t=e["$attr?"]("citetitle"))===a||t.$$is_boolean&&1!=t?a:e.$attr("citetitle");return(t=!1!==(n=u)&&n!==a?n:l)===a||t.$$is_boolean&&1!=t?d=a:(d=!1!==l&&l!==a?""+l+"":a,u=!1!==u&&u!==a?"— "+u+(!1!==l&&l!==a?"\n":a):a,d='\n
\n'+u+d+"\n
"),""+i+"\n
\n"+e.$content()+"\n
"+d+"\n"}),e.defn(m,"$thematic_break",function(e){return""}),e.defn(m,"$sidebar",function(e){var t,n=a,o=a,s=a,n=(t=e.$id())===a||t.$$is_boolean&&1!=t?a:' id="'+e.$id()+'"',o=(t=e["$title?"]())===a||t.$$is_boolean&&1!=t?a:'
'+e.$title()+"
\n";return"\n
\n'+o+e.$content()+"\n
\n"}),e.defn(m,"$table",function(e){var t,o,s,i,u,l,d,c,p,h,f=a,m=a,b=a,_=a,g=a,y=_=b=g=a,$=a,f=[],m=(t=e.$id())===a||t.$$is_boolean&&1!=t?a:' id="'+e.$id()+'"',b=["tableblock","frame-"+e.$attr("frame","all"),"grid-"+e.$attr("grid","all")],_=[];return((t=e["$option?"]("autowidth"))===a||t.$$is_boolean&&1!=t)&&((g=e.$attr("tablepcwidth"))["$=="](100)?b["$<<"]("spread"):_["$<<"]("width: "+g+"%;")),(t=g=e.$role())===a||t.$$is_boolean&&1!=t||b["$<<"](g),b=' class="'+r(b," ")+'"',(t=e["$attr?"]("float"))===a||t.$$is_boolean&&1!=t||_["$<<"]("float: "+e.$attr("float")+";"),_=(t=_["$empty?"]())===a||t.$$is_boolean&&1!=t?' style="'+r(_," ")+'"':a,f["$<<"](""),(t=e["$title?"]())===a||t.$$is_boolean&&1!=t||f["$<<"](''+e.$captioned_title()+""),n(e.$attr("rowcount"),0)&&(y=this.void_element_slash,f["$<<"](""),(t=e["$option?"]("autowidth"))===a||t.$$is_boolean&&1!=t?(t=(i=e.$columns()).$each,t.$$p=(u=function(e){return null==e&&(e=a),f["$<<"]('")},u.$$s=this,u),t).call(i):($="",(t=(o=e.$columns().$size()).$times,t.$$p=(s=function(){return f["$<<"]($)},s.$$s=this,s),t).call(o)),f["$<<"](""),(t=(l=(c=(p=["head","foot","body"]).$select,c.$$p=(h=function(t){return null==t&&(t=a),e.$rows()["$[]"](t)["$empty?"]()["$!"]()},h.$$s=this,h),c).call(p)).$each,t.$$p=(d=function(t){var r,n,o,s=d.$$s||this;return null==t&&(t=a),f["$<<"](""),(r=(n=e.$rows()["$[]"](t)).$each,r.$$p=(o=function(r){var n,s,i,u=o.$$s||this;return null==r&&(r=a),f["$<<"](""),(n=(s=r).$each,n.$$p=(i=function(r){var n,o,s,u,l=i.$$s||this,d=a,c=a,p=c=a,h=a,m=a,b=a;return null==r&&(r=a),t["$=="]("head")?d=r.$text():(c=r.$style(),"asciidoc"["$==="](c)?d="
"+r.$content()+"
":"verse"["$==="](c)?d='
'+r.$text()+"
":"literal"["$==="](c)?d='
'+r.$text()+"
":(d="",(n=(o=r.$content()).$each,n.$$p=(s=function(e){return null==e&&(e=a),d=""+d+'

'+e+"

"},s.$$s=l,s),n).call(o))),c=(n=!1!==(u=t["$=="]("head"))&&u!==a?u:r.$style()["$=="]("header"))===a||n.$$is_boolean&&1!=n?"td":"th",p=' class="tableblock halign-'+r.$attr("halign")+" valign-"+r.$attr("valign")+'"',h=(n=r.$colspan())===a||n.$$is_boolean&&1!=n?a:' colspan="'+r.$colspan()+'"',m=(n=r.$rowspan())===a||n.$$is_boolean&&1!=n?a:' rowspan="'+r.$rowspan()+'"',b=(n=e.$document()["$attr?"]("cellbgcolor"))===a||n.$$is_boolean&&1!=n?a:' style="background-color: '+e.$document().$attr("cellbgcolor")+';"',f["$<<"]("<"+c+p+h+m+b+">"+d+"")},i.$$s=u,i),n).call(s),f["$<<"]("")},o.$$s=s,o),r).call(n),f["$<<"]("
")},d.$$s=this,d),t).call(l)),f["$<<"](""),r(f,v.get("EOL"))}),e.defn(m,"$toc",function(e){var t,r,n,o=a,s=a,i=a,u=a,l=a,c=a;return n=(o=e.$document())["$attr?"]("toc-placement","macro"),r=!1!==n&&n!==a?o["$sections?"]():n,(t=!1!==r&&r!==a?o["$attr?"]("toc"):r)===a||t.$$is_boolean&&1!=t?"":((t=e.$id())===a||t.$$is_boolean&&1!=t?(s=' id="toc"',i=' id="toctitle"'):(s=' id="'+e.$id()+'"',i=' id="'+e.$id()+'title"'),u=(t=e["$title?"]())===a||t.$$is_boolean&&1!=t?o.$attr("toc-title"):e.$title(),l=(t=e["$attr?"]("levels"))===a||t.$$is_boolean&&1!=t?a:e.$attr("levels").$to_i(),c=(t=e["$role?"]())===a||t.$$is_boolean&&1!=t?o.$attr("toc-class","toc"):e.$role(),"\n'+u+"\n"+this.$outline(o,d(["toclevels"],{toclevels:l}))+"\n")}),e.defn(m,"$ulist",function(e){var t,n,o,s=a,i=a,u=a,l=a,d=a,c=a,p=a,s=[],i=(t=e.$id())===a||t.$$is_boolean&&1!=t?a:' id="'+e.$id()+'"',u=["ulist",e.$style(),e.$role()].$compact(),d=l=a;return(t=c=e["$option?"]("checklist"))===a||t.$$is_boolean&&1!=t?p=(t=e.$style())===a||t.$$is_boolean&&1!=t?a:' class="'+e.$style()+'"':(u.$insert(1,"checklist"), -p=' class="checklist"',(t=e["$option?"]("interactive"))===a||t.$$is_boolean&&1!=t?(t=e.$document()["$attr?"]("icons","font"))===a||t.$$is_boolean&&1!=t?(l="✓ ",d="❏ "):(l=' ',d=' '):(t=e.$document()["$attr?"]("htmlsyntax","xml"))===a||t.$$is_boolean&&1!=t?(l=' ',d=' '):(l=' ',d=' ')),s["$<<"]("'),(t=e["$title?"]())===a||t.$$is_boolean&&1!=t||s["$<<"]('
'+e.$title()+"
"),s["$<<"](""),(t=(n=e.$items()).$each,t.$$p=(o=function(e){var t;return null==e&&(e=a),s["$<<"]("
  • "),(t=!1!==c&&c!==a?e["$attr?"]("checkbox"):c)===a||t.$$is_boolean&&1!=t?s["$<<"]("

    "+e.$text()+"

    "):s["$<<"]("

    "+((t=e["$attr?"]("checked"))===a||t.$$is_boolean&&1!=t?d:l)+e.$text()+"

    "),(t=e["$blocks?"]())===a||t.$$is_boolean&&1!=t||s["$<<"](e.$content()),s["$<<"]("
  • ")},o.$$s=this,o),t).call(n),s["$<<"](""),s["$<<"](""),r(s,v.get("EOL"))}),e.defn(m,"$verse",function(e){var t,n,o=a,s=a,i=s=a,u=a,l=a,d=a,d=u=a,o=(t=e.$id())===a||t.$$is_boolean&&1!=t?a:' id="'+e.$id()+'"',s=["verseblock",e.$role()].$compact(),s=' class="'+r(s," ")+'"',i=(t=e["$title?"]())===a||t.$$is_boolean&&1!=t?a:'\n
    '+e.$title()+"
    ",u=(t=e["$attr?"]("attribution"))===a||t.$$is_boolean&&1!=t?a:e.$attr("attribution"),l=(t=e["$attr?"]("citetitle"))===a||t.$$is_boolean&&1!=t?a:e.$attr("citetitle");return(t=!1!==(n=u)&&n!==a?n:l)===a||t.$$is_boolean&&1!=t?d=a:(d=!1!==l&&l!==a?""+l+"":a,u=!1!==u&&u!==a?"— "+u+(!1!==l&&l!==a?"\n":a):a,d='\n
    \n'+u+d+"\n
    "),""+i+'\n
    '+e.$content()+"
    "+d+"\n"}),e.defn(m,"$video",function(t){var n,o,s=this,i=a,u=a,l=a,d=a,c=a,p=a,h=a,f=a,m=a,b=a,v=a,_=a,g=a,y=a,$=a,w=a,x=a,E=a,P=a,C=a,j=a,T=a,A=a,S=a,k=a,D=a,O=a,H=a,F=a,M=a,R=a,i=t.$document()["$attr?"]("htmlsyntax","xml"),u=(n=t.$id())===a||n.$$is_boolean&&1!=n?a:' id="'+t.$id()+'"',l=["videoblock",t.$style(),t.$role()].$compact(),d=' class="'+r(l," ")+'"',c=(n=t["$title?"]())===a||n.$$is_boolean&&1!=n?a:'\n
    '+t.$captioned_title()+"
    ",p=(n=t["$attr?"]("width"))===a||n.$$is_boolean&&1!=n?a:' width="'+t.$attr("width")+'"',h=(n=t["$attr?"]("height"))===a||n.$$is_boolean&&1!=n?a:' height="'+t.$attr("height")+'"';return function(){return f=t.$attr("poster"),"vimeo"["$==="](f)?(((n=(m=t.$document().$attr("asset-uri-scheme","https"))["$empty?"]())===a||n.$$is_boolean&&1!=n)&&(m=""+m+":"),b=(n=t["$attr?"]("start",a,!1))===a||n.$$is_boolean&&1!=n?a:"#at="+t.$attr("start"),v="?",_=(n=t["$option?"]("autoplay"))===a||n.$$is_boolean&&1!=n?a:""+v+"autoplay=1",!1!==_&&_!==a&&(v="&"),g=(n=t["$option?"]("loop"))===a||n.$$is_boolean&&1!=n?a:""+v+"loop=1",""+c+'\n
    \n\n
    \n"):"youtube"["$==="](f)?(((n=(m=t.$document().$attr("asset-uri-scheme","https"))["$empty?"]())===a||n.$$is_boolean&&1!=n)&&(m=""+m+":"),y=(n=t["$option?"]("related"))===a||n.$$is_boolean&&1!=n?0:1,$=(n=t["$attr?"]("start",a,!1))===a||n.$$is_boolean&&1!=n?a:"&start="+t.$attr("start"),w=(n=t["$attr?"]("end",a,!1))===a||n.$$is_boolean&&1!=n?a:"&end="+t.$attr("end"),_=(n=t["$option?"]("autoplay"))===a||n.$$is_boolean&&1!=n?a:"&autoplay=1",g=(n=t["$option?"]("loop"))===a||n.$$is_boolean&&1!=n?a:"&loop=1",x=(n=t["$option?"]("nocontrols"))===a||n.$$is_boolean&&1!=n?a:"&controls=0",(n=t["$option?"]("nofullscreen"))===a||n.$$is_boolean&&1!=n?(E=a,P=s.$append_boolean_attribute("allowfullscreen",i)):(E="&fs=0",P=a),C=(n=t["$option?"]("modest"))===a||n.$$is_boolean&&1!=n?a:"&modestbranding=1",j=(n=t["$attr?"]("theme",a,!1))===a||n.$$is_boolean&&1!=n?a:"&theme="+t.$attr("theme"),T=(n=t["$attr?"]("lang"))===a||n.$$is_boolean&&1!=n?a:"&hl="+t.$attr("lang"),n=e.to_ary(t.$attr("target").$split("/",2)),A=null==n[0]?a:n[0],S=null==n[1]?a:n[1],(n=!1!==(o=S)&&o!==a?o:S=t.$attr("list",a,!1))===a||n.$$is_boolean&&1!=n?(n=e.to_ary(A.$split(",",2)),A=null==n[0]?a:n[0],D=null==n[1]?a:n[1],k=(n=!1!==(o=D)&&o!==a?o:D=t.$attr("playlist",a,!1))===a||n.$$is_boolean&&1!=n?!1!==g&&g!==a?"&playlist="+A:a:"&playlist="+D):k="&list="+S,""+c+'\n
    \n\n
    \n"):(O=(n=(""+(H=t.$attr("poster")))["$empty?"]())===a||n.$$is_boolean&&1!=n?' poster="'+t.$media_uri(H)+'"':a,F=t.$attr("start",a,!1),M=t.$attr("end",a,!1),R=(n=!1!==(o=F)&&o!==a?o:M)===a||n.$$is_boolean&&1!=n?a:"#t="+F+(!1!==M&&M!==a?",":a)+M,""+c+'\n
    \n\n
    \n")}()}),e.defn(m,"$inline_anchor",function(e){var t,r,n=this,o=a,s=a,i=a,u=a,l=a,d=a,o=e.$target();return function(){return s=e.$type(),"xref"["$==="](s)?(i=!1!==(t=e.$attributes()["$[]"]("refid"))&&t!==a?t:o,u=!1!==(t=e.$text())&&t!==a?t:!1!==(r=e.$document().$references()["$[]"]("ids")["$[]"](i))&&r!==a?r:"["+i+"]",''+u+""):"ref"["$==="](s)?'':"link"["$==="](s)?(l=[],(t=e.$id())===a||t.$$is_boolean&&1!=t||l["$<<"](' id="'+e.$id()+'"'),(t=d=e.$role())===a||t.$$is_boolean&&1!=t||l["$<<"](' class="'+d+'"'),(t=e["$attr?"]("title",a,!1))===a||t.$$is_boolean&&1!=t||l["$<<"](' title="'+e.$attr("title")+'"'),(t=e["$attr?"]("window",a,!1))===a||t.$$is_boolean&&1!=t||l["$<<"](' target="'+e.$attr("window")+'"'),'"+e.$text()+""):"bibref"["$==="](s)?'['+o+"]":n.$warn("asciidoctor: WARNING: unknown anchor type: "+e.$type().$inspect())}()}),e.defn(m,"$inline_break",function(e){return""+e.$text()+""}),e.defn(m,"$inline_button",function(e){return''+e.$text()+""}),e.defn(m,"$inline_callout",function(e){var t,r=a;return(t=e.$document()["$attr?"]("icons","font"))===a||t.$$is_boolean&&1!=t?(t=e.$document()["$attr?"]("icons"))===a||t.$$is_boolean&&1!=t?'('+e.$text()+")":(r=e.$icon_uri("callouts/"+e.$text()),''+e.$text()+'"):'('+e.$text()+")"}),e.defn(m,"$inline_footnote",function(e){var t,r=a,n=a;return(t=r=e.$attr("index"))===a||t.$$is_boolean&&1!=t?e.$type()["$=="]("xref")?'['+e.$text()+"]":a:e.$type()["$=="]("xref")?'['+r+"]":(n=(t=e.$id())===a||t.$$is_boolean&&1!=t?a:' id="_footnote_'+e.$id()+'"','['+r+"]")}),e.defn(m,"$inline_image",function(e){var t,r,n,o,i,u,l,c,p=a,h=a,f=a,m=r=f=a,b=a,_=a,g=a,y=r=a,p=a;return(t=(r=(p=e.$type())["$=="]("icon"))?e.$document()["$attr?"]("icons","font"):(p=e.$type())["$=="]("icon"))===a||t.$$is_boolean&&1!=t?(t=(n=p["$=="]("icon"))?e.$document()["$attr?"]("icons")["$!"]():p["$=="]("icon"))===a||t.$$is_boolean&&1!=t?(r=e.$target(),m=(t=(n=["width","height","title"]).$map,t.$$p=(o=function(t){var r;return null==t&&(t=a),(r=e["$attr?"](t))===a||r.$$is_boolean&&1!=r?a:" "+t+'="'+e.$attr(t)+'"'},o.$$s=this,o),t).call(n).$join(),l=p["$!="]("icon"),u=!1!==l&&l!==a?!1!==(c=e["$attr?"]("format","svg",!1))&&c!==a?c:r["$include?"](".svg"):l,i=!1!==u&&u!==a?s(e.$document().$safe(),v.get("SafeMode").$$scope.get("SECURE")):u,(t=!1!==i&&i!==a?!1!==(u=b=e["$option?"]("inline"))&&u!==a?u:_=e["$option?"]("interactive"):i)===a||t.$$is_boolean&&1!=t||(!1!==b&&b!==a?f=!1!==(t=this.$read_svg_contents(e,r))&&t!==a?t:''+e.$attr("alt")+"":!1!==_&&_!==a&&(g=(t=e["$attr?"]("fallback"))===a||t.$$is_boolean&&1!=t?''+e.$attr("alt")+"":''+e.$attr(",f='"+g+"")),!1!==(t=f)&&t!==a?t:f=''+e.$attr("):f="["+e.$attr("alt")+"]":(h="fa fa-"+e.$target(),(t=(r=d(["size","rotate","flip"],{size:"fa-",rotate:"fa-rotate-",flip:"fa-flip-"})).$each,t.$$p=(n=function(t,r){var n;return null==t&&(t=a),null==r&&(r=a),(n=e["$attr?"](t))===a||n.$$is_boolean&&1!=n?a:h=""+h+" "+r+e.$attr(t)},n.$$s=this,n),t).call(r),f=(t=e["$attr?"]("title"))===a||t.$$is_boolean&&1!=t?a:' title="'+e.$attr("title")+'"',f='"),(t=e["$attr?"]("link"))===a||t.$$is_boolean&&1!=t||(r=(t=e["$attr?"]("window"))===a||t.$$is_boolean&&1!=t?a:' target="'+e.$attr("window")+'"',f='"+f+""),h=(t=y=e.$role())===a||t.$$is_boolean&&1!=t?p:""+p+" "+y,p=(t=e["$attr?"]("float"))===a||t.$$is_boolean&&1!=t?a:' style="float: '+e.$attr("float")+'"','"+f+""}),e.defn(m,"$inline_indexterm",function(e){return e.$type()["$=="]("visible")?e.$text():""}),e.defn(m,"$inline_kbd",function(e){var t,r,n,o=a,o=a;return(o=e.$attr("keys")).$size()["$=="](1)?""+o["$[]"](0)+"":(o=(t=(r=o).$map,t.$$p=(n=function(e){return null==e&&(e=a),""+e+"+"},n.$$s=this,n),t).call(r).$join().$chop(),''+o+"")}),e.defn(m,"$inline_menu",function(e){var t,r,n,o=a,s=a,i=s=a,o=e.$attr("menu");return(t=(s=e.$attr("submenus"))["$empty?"]()["$!"]())===a||t.$$is_boolean&&1!=t?(t=i=e.$attr("menuitem"))===a||t.$$is_boolean&&1!=t?''+o+"":''+o+' ▸ '+i+"":(s=(t=(r=s).$map,t.$$p=(n=function(e){return null==e&&(e=a),''+e+" ▸ "},n.$$s=this,n),t).call(r).$join().$chop(),''+o+" ▸ "+s+' '+e.$attr("menuitem")+"")}),e.defn(m,"$inline_quoted",function(t){var r,n=a,o=a,s=a,i=a,n=a;return r=e.to_ary(v.get("QUOTE_TAGS")["$[]"](t.$type())),n=null==r[0]?a:r[0],o=null==r[1]?a:r[1],s=null==r[2]?a:r[2],n=(r=i=t.$role())===a||r.$$is_boolean&&1!=r?""+n+t.$text()+o:!1!==s&&s!==a?""+n.$chop()+' class="'+i+'">'+t.$text()+o:''+n+t.$text()+o+"",(r=t.$id())===a||r.$$is_boolean&&1!=r?n:''+n}),e.defn(m,"$append_boolean_attribute",function(e,t){return!1!==t&&t!==a?" "+e+'="'+e+'"':" "+e}),e.defn(m,"$read_svg_contents",function(e,t){var r,n,o,s=a,i=a;return(r=s=e.$read_contents(t,d(["start","normalize","label"],{start:e.$document().$attr("imagesdir"),normalize:!0,label:"SVG"})))===a||r.$$is_boolean&&1!=r||(s=s.$sub(v.get("SvgPreambleRx"),""),i=a,(r=(n=["width","height"]).$each,r.$$p=(o=function(t){var r;return null==t&&(t=a),(r=e["$attr?"](t))===a||r.$$is_boolean&&1!=r?a:(!1!==(r=i)&&r!==a?r:i=s.$match(v.get("SvgStartTagRx"))["$[]"](0).$gsub(v.get("DimensionAttributeRx"),""),i=""+i.$chop()+" "+t+'="'+e.$attr(t)+'px">')},o.$$s=this,o),r).call(n),!1!==i&&i!==a&&(s=s.$sub(v.get("SvgStartTagRx"),i))),s}),a&&"read_svg_contents"}(p.get("Converter"),p.get("Converter").$$scope.get("BuiltIn"))}(e.base)},o.modules["asciidoctor/document"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e>=t:e["$>="](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}e.dynamic_require_severity="ignore";var o=e.nil,s=e.slice,i=e.module,a=e.klass,u=e.hash2,l=e.range;return e.add_stubs("$new $attr_reader $nil? $<< $[] $[]= $include? $strip $tr_s $gsub $empty? $! $rpartition $delete $base_dir $inject $== $references $callouts $dup $attributes $each $safe $compat_mode $sourcemap $converter $extensions $start_with? $end_with? $chop $downcase $=== $const_get $upcase $to_s $freeze $attribute_undefined $attribute_missing $detect $constants $key? $expand_path $pwd $>= $+ $length $fetch $delete_if $parse $restore_attributes $update_backend_attributes $now $strftime $join $build_registry $to_proc $activate $preprocessors? $process_method $preprocessors $treeprocessors? $!= $treeprocessors $nil_or_empty? $nextval $to_i $counter $save_to $chr $ord $source $source_lines $title= $title $first_section $title? $merge $has_header? $context $assign_index $clear_playback_attributes $save_attributes $attribute_locked? $doctitle $has_key? $rewind $name $negate $value $apply_attribute_value_subs $delete? $update_doctype_attributes $match $resolve_pass_subs $apply_subs $apply_header_subs $create_converter $basebackend $outfilesuffix $filetype $sub $backend $default $create $fail $doctype $content_model $content $convert $postprocessors? $postprocessors $write $respond_to? $chomp $open $map $split $& $normalize_system_path $read_asset $resolve_docinfo_subs $sub_attributes $docinfo_processors? $* $compact $resolve_subs $docinfo_processors $class $object_id $inspect $size".split(" ")),function(d){d=i(d,"Asciidoctor").$$scope,function(i,d){function c(){}var p,h,f,m=c=a(i,d,"Document",c),b=m.$$proto,v=m.$$scope;return b.attributes=b.safe=b.reader=b.base_dir=b.parsed=b.parent_document=b.extensions=b.options=b.counters=b.references=b.doctype=b.backend=b.header=b.blocks=b.attributes_modified=b.id=b.callouts=b.header_attributes=b.attribute_overrides=b.converter=b.outfilesuffix=b.docinfo_processor_extensions=b.document=o,e.cdecl(v,"Footnote",e.get("Struct").$new("index","id","text")),function(t,r){function n(){}var s=n=a(t,r,"AttributeEntry",n);return s.$attr_reader("name","value","negate"),e.defn(s,"$initialize",function(e,t,r){var n;return null==r&&(r=o),this.name=e,this.value=t,this.negate=(n=r["$nil?"]())===o||n.$$is_boolean&&1!=n?r:t["$nil?"]()}),e.defn(s,"$save_to",function(e){var t;return(!1!==(t=e["$[]"]("attribute_entries"))&&t!==o?t:e["$[]="]("attribute_entries",[]))["$<<"](this)}),o&&"save_to"}(v.base,null),function(t,r){function n(){}var s=n=a(t,r,"Title",n),i=s.$$proto,l=s.$$scope;return i.sanitized=i.subtitle=i.combined=o,s.$attr_reader("main"),e.alias(s,"title","main"),s.$attr_reader("subtitle"),s.$attr_reader("combined"),e.defn(s,"$initialize",function(t,r){var n,s,i,a=o;return null==r&&(r=u([],{})),s=this.sanitized=r["$[]"]("sanitize"),(n=!1!==s&&s!==o?t["$include?"]("<"):s)===o||n.$$is_boolean&&1!=n||(t=t.$gsub(l.get("XmlSanitizeRx"),"").$tr_s(" "," ").$strip()),(n=!1!==(s=(a=!1!==(i=r["$[]"]("separator"))&&i!==o?i:":")["$empty?"]())&&s!==o?s:t["$include?"](a=""+a+" ")["$!"]())===o||n.$$is_boolean&&1!=n?(n=e.to_ary(t.$rpartition(a)),this.main=null==n[0]?o:n[0],this.subtitle=null==n[2]?o:n[2]):(this.main=t,this.subtitle=o),this.combined=t}),e.defn(s,"$sanitized?",function(){return this.sanitized}),e.defn(s,"$subtitle?",function(){return this.subtitle["$!"]()["$!"]()}),e.defn(s,"$to_s",function(){return this.combined}),o&&"to_s"}(v.base,null),m.$attr_reader("safe"),m.$attr_reader("compat_mode"),m.$attr_reader("sourcemap"),m.$attr_reader("references"),m.$attr_reader("counters"),m.$attr_reader("callouts"),m.$attr_reader("header"),m.$attr_reader("base_dir"),m.$attr_reader("options"),m.$attr_reader("outfilesuffix"),m.$attr_reader("parent_document"),m.$attr_reader("reader"),m.$attr_reader("converter"),m.$attr_reader("extensions"),e.defn(m,"$initialize",p=function(n,s){var i,a,d,c,h,f,m,b,_,g,y,$,w=o,x=o,E=o,P=o,C=P=o,j=o,T=w=j=P=w=P=P=o;if(null==n&&(n=o),null==s&&(s=u([],{})),p.$$p=null,e.find_super_dispatcher(this,"initialize",p,null).apply(this,[this,"document"]),(i=w=s.$delete("parent"))===o||i.$$is_boolean&&1!=i){if(this.parent_document=o,this.references=u("ids footnotes links images indexterms includes".split(" "),{ids:u([],{}),footnotes:[],links:[],images:[],indexterms:[],includes:e.get("Set").$new()}),this.callouts=v.get("Callouts").$new(),x=u([],{}),(i=(a=!1!==(m=s["$[]"]("attributes"))&&m!==o?m:u([],{})).$each,i.$$p=(f=function(e,t){var r;return null==e&&(e=o),null==t&&(t=o),(r=e["$start_with?"]("!"))===o||r.$$is_boolean&&1!=r?(r=e["$end_with?"]("!"))===o||r.$$is_boolean&&1!=r||(e=e.$chop(),t=o):(e=e["$[]"](l(1,-1,!1)),t=o),x["$[]="](e.$downcase(),t)},f.$$s=this,f),i).call(a),this.attribute_overrides=x,(i=(P=s["$[]"]("safe"))["$!"]())===o||i.$$is_boolean&&1!=i)if((i=e.get("Fixnum")["$==="](P))===o||i.$$is_boolean&&1!=i)try{this.safe=v.get("SafeMode").$const_get(P.$to_s().$upcase())}catch(A){try{this.safe=v.get("SafeMode").$$scope.get("SECURE")}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}else this.safe=P;else this.safe=v.get("SafeMode").$$scope.get("SECURE");this.sourcemap=s["$[]"]("sourcemap"),this.compat_mode=!1,this.converter=o;try{E=null!=e.get("Asciidoctor").$$scope.get("Extensions")?"constant":o}catch(A){if(A.$$class!==e.NameError)throw A;E=o}this.extensions=o}else this.parent_document=w,i="base_dir",a=s,!1!==(d=a["$[]"](i))&&d!==o?d:a["$[]="](i,w.$base_dir()),this.references=(i=(a=w.$references()).$inject,i.$$p=(c=function(e,t){null==e&&(e=o);var r=t[0],n=t[1];return r["$=="]("footnotes")?e["$[]="]("footnotes",[]):e["$[]="](r,n),e},c.$$s=this,c),i).call(a,u([],{})),this.callouts=w.$callouts(),x=w.$attributes().$dup(),(i=(d=["doctype","compat-mode","toc","toc-placement","toc-position"]).$each,i.$$p=(h=function(e){return null==e&&(e=o),x.$delete(e)},h.$$s=this,h),i).call(d),this.attribute_overrides=x,this.safe=w.$safe(),this.compat_mode=w.$compat_mode(),this.sourcemap=w.$sourcemap(),this.converter=w.$converter(),E=!1,this.extensions=w.$extensions();if(this.parsed=!1,this.header=o,this.counters=u([],{}),this.attributes_modified=e.get("Set").$new(),this.options=s,this.docinfo_processor_extensions=u([],{}),i="header_footer",m=s,P=!1!==(b=m["$[]"](i))&&b!==o?b:m["$[]="](i,!1),s.$freeze(),C=this.attributes,C["$[]="]("sectids",""),!1!==P&&P!==o||C["$[]="]("notitle",""),C["$[]="]("toc-placement","auto"),C["$[]="]("stylesheet",""),C["$[]="]("webfonts",""),!1!==P&&P!==o&&C["$[]="]("copycss",""),C["$[]="]("prewrap",""),C["$[]="]("attribute-undefined",v.get("Compliance").$attribute_undefined()),C["$[]="]("attribute-missing",v.get("Compliance").$attribute_missing()),C["$[]="]("iconfont-remote",""),C["$[]="]("caution-caption","Caution"),C["$[]="]("important-caption","Important"),C["$[]="]("note-caption","Note"),C["$[]="]("tip-caption","Tip"),C["$[]="]("warning-caption","Warning"),C["$[]="]("appendix-caption","Appendix"),C["$[]="]("example-caption","Example"),C["$[]="]("figure-caption","Figure"),C["$[]="]("table-caption","Table"),C["$[]="]("toc-title","Table of Contents"),C["$[]="]("manname-title","NAME"),C["$[]="]("untitled-label","Untitled"),C["$[]="]("version-label","Version"),C["$[]="]("last-update-label","Last updated"),x["$[]="]("asciidoctor",""),x["$[]="]("asciidoctor-version",v.get("VERSION")),j=(i=(m=v.get("SafeMode").$constants()).$detect,i.$$p=(_=function(e){var t=_.$$s||this;return null==t.safe&&(t.safe=o),null==e&&(e=o),v.get("SafeMode").$const_get(e)["$=="](t.safe)},_.$$s=this,_),i).call(m).$to_s().$downcase(),x["$[]="]("safe-mode-name",j),x["$[]="]("safe-mode-"+j,""),x["$[]="]("safe-mode-level",this.safe),x["$[]="]("embedded",!1!==P&&P!==o?o:""),i="max-include-depth",b=x,!1!==(g=b["$[]"](i))&&g!==o?g:b["$[]="](i,64),((i=x["$[]"]("allow-uri-read")["$nil?"]()["$!"]())===o||i.$$is_boolean&&1!=i)&&x["$[]="]("allow-uri-read",o),x["$[]="]("user-home",v.get("USER_HOME")),(i=x["$key?"]("numbered"))===o||i.$$is_boolean&&1!=i||x["$[]="]("sectnums",x.$delete("numbered")),(i=s["$[]"]("base_dir"))===o||i.$$is_boolean&&1!=i?(i=x["$[]"]("docdir"))===o||i.$$is_boolean&&1!=i?this.base_dir=x["$[]="]("docdir",e.get("File").$expand_path(e.get("Dir").$pwd())):this.base_dir=x["$[]="]("docdir",e.get("File").$expand_path(x["$[]"]("docdir"))):this.base_dir=x["$[]="]("docdir",e.get("File").$expand_path(s["$[]"]("base_dir"))),(i=P=s["$[]"]("backend"))===o||i.$$is_boolean&&1!=i||x["$[]="]("backend",""+P),(i=P=s["$[]"]("doctype"))===o||i.$$is_boolean&&1!=i||x["$[]="]("doctype",""+P),t(this.safe,v.get("SafeMode").$$scope.get("SERVER"))&&(i="copycss",b=x,!1!==(g=b["$[]"](i))&&g!==o?g:b["$[]="](i,o),i="source-highlighter",b=x,!1!==(g=b["$[]"](i))&&g!==o?g:b["$[]="](i,o),i="backend",b=x,!1!==(g=b["$[]"](i))&&g!==o?g:b["$[]="](i,v.get("DEFAULT_BACKEND")),b=w["$!"](),(i=!1!==b&&b!==o?x["$key?"]("docfile"):b)===o||i.$$is_boolean&&1!=i||x["$[]="]("docfile",x["$[]"]("docfile")["$[]"](l(r(x["$[]"]("docdir").$length(),1),-1,!1))),x["$[]="]("docdir",""),x["$[]="]("user-home","."),t(this.safe,v.get("SafeMode").$$scope.get("SECURE"))&&(((i=x.$fetch("linkcss","")["$nil?"]())===o||i.$$is_boolean&&1!=i)&&x["$[]="]("linkcss",""),i="icons",b=x,!1!==(g=b["$[]"](i))&&g!==o?g:b["$[]="](i,o))),(i=(b=x).$delete_if,i.$$p=(y=function(t,r){var n,s,i=o;return null==t&&(t=o),null==r&&(r=o),i=!1,(n=r["$nil?"]())===o||n.$$is_boolean&&1!=n?(s=e.get("String")["$==="](r),(n=!1!==s&&s!==o?r["$end_with?"]("@"):s)===o||n.$$is_boolean&&1!=n||(r=r.$chop(),i=!0),C["$[]="](t,r)):C.$delete(t),i},y.$$s=this,y),i).call(b),(i=C["$key?"]("compat-mode"))===o||i.$$is_boolean&&1!=i||(this.compat_mode=!0),!1!==w&&w!==o)return i="doctype",g=C,!1!==($=g["$[]"](i))&&$!==o?$:g["$[]="](i,v.get("DEFAULT_DOCTYPE")),this.reader=v.get("Reader").$new(n,s["$[]"]("cursor")),v.get("Parser").$parse(this.reader,this),this.$restore_attributes(),this.parsed=!0;if((i="backend",g=C,!1!==($=g["$[]"](i))&&$!==o?$:g["$[]="](i,v.get("DEFAULT_BACKEND")))["$=="]("manpage")?C["$[]="]("doctype",x["$[]="]("doctype","manpage")):(i="doctype",g=C,!1!==($=g["$[]"](i))&&$!==o?$:g["$[]="](i,v.get("DEFAULT_DOCTYPE"))),this.$update_backend_attributes(C["$[]"]("backend"),!0),w=e.get("Time").$now(),i="localdate",g=C,P=!1!==($=g["$[]"](i))&&$!==o?$:g["$[]="](i,w.$strftime("%Y-%m-%d")),(i=j=C["$[]"]("localtime"))===o||i.$$is_boolean&&1!=i)try{j=C["$[]="]("localtime",w.$strftime("%H:%M:%S %Z"))}catch(A){try{j=C["$[]="]("localtime",w.$strftime("%H:%M:%S"))}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}return i="localdatetime",g=C,!1!==($=g["$[]"](i))&&$!==o?$:g["$[]="](i,""+P+" "+j),i="docdate",g=C,!1!==($=g["$[]"](i))&&$!==o?$:g["$[]="](i,P),i="doctime",g=C,!1!==($=g["$[]"](i))&&$!==o?$:g["$[]="](i,j),i="docdatetime",g=C,!1!==($=g["$[]"](i))&&$!==o?$:g["$[]="](i,""+P+" "+j),i="stylesdir",g=C,!1!==($=g["$[]"](i))&&$!==o?$:g["$[]="](i,"."),i="iconsdir",g=C,!1!==($=g["$[]"](i))&&$!==o?$:g["$[]="](i,e.get("File").$join(C.$fetch("imagesdir","./images"),"icons")),!1!==E&&E!==o&&((i=w=s["$[]"]("extensions_registry"))===o||i.$$is_boolean&&1!=i?w=(i=e.get("Proc")["$==="](T=s["$[]"]("extensions")))===o||i.$$is_boolean&&1!=i?v.get("Extensions").$$scope.get("Registry").$new():(i=(g=v.get("Extensions")).$build_registry,i.$$p=T.$to_proc(),i).call(g):((i=!1!==(g=v.get("Extensions").$$scope.get("Registry")["$==="](w))&&g!==o?g:($=e.get("RUBY_ENGINE_JRUBY"),!1!==$&&$!==o?e.get("AsciidoctorJ").$$scope.get("Extensions").$$scope.get("ExtensionRegistry")["$==="](w):$))===o||i.$$is_boolean&&1!=i)&&(w=v.get("Extensions").$$scope.get("Registry").$new()),this.extensions=w.$activate(this)),this.reader=v.get("PreprocessorReader").$new(this,n,v.get("Reader").$$scope.get("Cursor").$new(C["$[]"]("docfile"),this.base_dir))}),e.defn(m,"$parse",function(e){var t,r,n,s,i,a=o,l=o;return null==e&&(e=o),(t=this.parsed)===o||t.$$is_boolean&&1!=t?(a=this,!1!==e&&e!==o&&(this.reader=v.get("PreprocessorReader").$new(a,e,v.get("Reader").$$scope.get("Cursor").$new(this.attributes["$[]"]("docfile"),this.base_dir))),r=l=(n=this.parent_document)===o||n.$$is_boolean&&1!=n?this.extensions:o,(t=!1!==r&&r!==o?l["$preprocessors?"]():r)===o||t.$$is_boolean&&1!=t||(t=(r=l.$preprocessors()).$each,t.$$p=(s=function(e){var t,r=s.$$s||this;return null==r.reader&&(r.reader=o),null==e&&(e=o),r.reader=!1!==(t=e.$process_method()["$[]"](a,r.reader))&&t!==o?t:r.reader},s.$$s=this,s),t).call(r),v.get("Parser").$parse(this.reader,a,u(["header_only"],{header_only:this.options["$[]"]("parse_header_only")["$!"]()["$!"]()})),this.$restore_attributes(),(t=(n=!1!==l&&l!==o)?l["$treeprocessors?"]():l)===o||t.$$is_boolean&&1!=t||(t=(n=l.$treeprocessors()).$each,t.$$p=(i=function(e){var t,r,n,s=o;return null==e&&(e=o),n=s=e.$process_method()["$[]"](a),r=!1!==n&&n!==o?v.get("Document")["$==="](s):n,(t=!1!==r&&r!==o?s["$!="](a):r)===o||t.$$is_boolean&&1!=t?o:a=s},i.$$s=this,i),t).call(n),this.parsed=!0,a):this}),e.defn(m,"$counter",function(e,t){var r,n,s=o,i=o;return null==t&&(t=o),n=s=(i=this.attributes["$[]"](e))["$nil_or_empty?"]()["$!"](),(r=!1!==n&&n!==o?this.counters["$key?"](e):n)===o||r.$$is_boolean&&1!=r?((r=t["$nil?"]())===o||r.$$is_boolean&&1!=r?t.$to_i().$to_s()["$=="](t)&&(t=t.$to_i()):t=this.$nextval(!1!==s&&s!==o?i:0),this.counters["$[]="](e,t)):this.counters["$[]="](e,this.$nextval(i)),this.attributes["$[]="](e,this.counters["$[]"](e))}),e.defn(m,"$counter_increment",function(e,t){var r=o,r=this.$counter(e);return v.get("AttributeEntry").$new(e,r).$save_to(t.$attributes()),r}),e.defn(m,"$nextval",function(t){var n,s=o;return(n=e.get("Integer")["$==="](t))===o||n.$$is_boolean&&1!=n?(s=t.$to_i(),(n=s.$to_s()["$!="](t.$to_s()))===o||n.$$is_boolean&&1!=n?r(s,1):r(t["$[]"](0).$ord(),1).$chr()):r(t,1)}),e.defn(m,"$register",function(t,n,s){var i,a,u,l=o,d=l=o;return null==s&&(s=!1),l=t,"ids"["$==="](l)?(i=e.to_ary([].concat(e.to_a(n))),l=null==i[0]?o:i[0],d=null==i[1]?o:i[1],!1!==(i=d)&&i!==o?i:d=r(r("[",l),"]"),t=!1!==s&&s!==o?this.references["$[]"]("ids")["$[]="](l,d):(i=l,a=this.references["$[]"]("ids"),!1!==(u=a["$[]"](i))&&u!==o?u:a["$[]="](i,d))):t="footnotes"["$==="](l)||"indexterms"["$==="](l)?this.references["$[]"](t)["$<<"](n):(i=this.options["$[]"]("catalog_assets"))===o||i.$$is_boolean&&1!=i?o:this.references["$[]"](t)["$<<"](n),t}),e.defn(m,"$footnotes?",function(){return this.references["$[]"]("footnotes")["$empty?"]()["$!"]()}),e.defn(m,"$footnotes",function(){return this.references["$[]"]("footnotes")}),e.defn(m,"$nested?",function(){return this.parent_document["$!"]()["$!"]()}),e.defn(m,"$embedded?",function(){return this.attributes["$key?"]("embedded")}),e.defn(m,"$extensions?",function(){return this.extensions["$!"]()["$!"]()}),e.defn(m,"$source",function(){var e;return(e=this.reader)===o||e.$$is_boolean&&1!=e?o:this.reader.$source()}),e.defn(m,"$source_lines",function(){var e;return(e=this.reader)===o||e.$$is_boolean&&1!=e?o:this.reader.$source_lines()}),e.defn(m,"$doctype",function(){var e;return!1!==(e=this.doctype)&&e!==o?e:this.doctype=this.attributes["$[]"]("doctype")}),e.defn(m,"$backend",function(){var e;return!1!==(e=this.backend)&&e!==o?e:this.backend=this.attributes["$[]"]("backend")}),e.defn(m,"$basebackend?",function(e){return this.attributes["$[]"]("basebackend")["$=="](e)}),e.defn(m,"$title",function(){return this.attributes["$[]"]("title")}),e.defn(m,"$title=",function(e){var t,r;return!1!==(t=this.header)&&t!==o?t:this.header=v.get("Section").$new(this,0),t=[e],r=this.header,r["$title="].apply(r,t),t[t.length-1]}),e.defn(m,"$doctitle",function(e){var t,r,n=o,s=o,i=o;if(null==e&&(e=u([],{})),(t=(n=this.attributes["$[]"]("title")["$nil_or_empty?"]())["$!"]())===o||t.$$is_boolean&&1!=t)if(r=s=this.$first_section(),(t=!1!==r&&r!==o?s["$title?"]():r)===o||t.$$is_boolean&&1!=t){if(r=e["$[]"]("use_fallback"),(t=!1!==r&&r!==o?n=this.attributes["$[]"]("untitled-label"):r)===o||t.$$is_boolean&&1!=t)return o}else n=s.$title();else n=this.$title();return(t=i=e["$[]"]("partition"))===o||t.$$is_boolean&&1!=t?(r=e["$[]"]("sanitize"),(t=!1!==r&&r!==o?n["$include?"]("<"):r)===o||t.$$is_boolean&&1!=t?n:n.$gsub(v.get("XmlSanitizeRx"),"").$tr_s(" "," ").$strip()):v.get("Title").$new(n,e.$merge(u(["separator"],{separator:i["$=="](!0)?this.attributes["$[]"]("title-separator"):i})))}),e.alias(m,"name","doctitle"),e.defn(m,"$author",function(){return this.attributes["$[]"]("author")}),e.defn(m,"$revdate",function(){return this.attributes["$[]"]("revdate")}),e.defn(m,"$notitle",function(){var e;return e=this.attributes["$key?"]("showtitle")["$!"](),!1!==e&&e!==o?this.attributes["$key?"]("notitle"):e}),e.defn(m,"$noheader",function(){return this.attributes["$key?"]("noheader")}),e.defn(m,"$nofooter",function(){return this.attributes["$key?"]("nofooter")}),e.defn(m,"$first_section",function(){var e,t,r,n;return(e=this["$has_header?"]())===o||e.$$is_boolean&&1!=e?(e=(t=!1!==(n=this.blocks)&&n!==o?n:[]).$detect,e.$$p=(r=function(e){return null==e&&(e=o),e.$context()["$=="]("section")},r.$$s=this,r),e).call(t):this.header}),e.defn(m,"$has_header?",function(){var e;return!((e=this.header)===o||e.$$is_boolean&&1!=e)}),e.alias(m,"header?","has_header?"),e.defn(m,"$<<",h=function(t){var r=s.call(arguments,0),n=h.$$p;return h.$$p=null,t.$context()["$=="]("section")&&this.$assign_index(t),e.find_super_dispatcher(this,"<<",h,n).apply(this,r)}),e.defn(m,"$finalize_header",function(e,t){return null==t&&(t=!0),this.$clear_playback_attributes(e),this.$save_attributes(),!1!==t&&t!==o||e["$[]="]("invalid-header",!0),e}),e.defn(m,"$save_attributes",function(){var e,t,r,n,s=o,i=o,a=o,u=o,l=o,d=o,c=o,u=a=o;return(s=this.attributes)["$[]"]("basebackend")["$=="]("docbook")&&(((e=!1!==(t=this["$attribute_locked?"]("toc"))&&t!==o?t:this.attributes_modified["$include?"]("toc"))===o||e.$$is_boolean&&1!=e)&&s["$[]="]("toc",""),((e=!1!==(t=this["$attribute_locked?"]("sectnums"))&&t!==o?t:this.attributes_modified["$include?"]("sectnums"))===o||e.$$is_boolean&&1!=e)&&s["$[]="]("sectnums","")),((e=!1!==(t=s["$key?"]("doctitle"))&&t!==o?t:(i=this.$doctitle())["$!"]())===o||e.$$is_boolean&&1!=e)&&s["$[]="]("doctitle",i),((e=this.id)===o||e.$$is_boolean&&1!=e)&&(this.id=s["$[]"]("css-signature")),a=(e=u=(t=s.$delete("toc2"))===o||t.$$is_boolean&&1!=t?s["$[]"]("toc"):"left")===o||e.$$is_boolean&&1!=e?o:(t=l=s.$fetch("toc-placement","macro"),(e=!1!==t&&t!==o?l["$!="]("auto"):t)===o||e.$$is_boolean&&1!=e?s["$[]"]("toc-position"):l),(e=(t=!1!==u&&u!==o)?!1!==(r=u["$empty?"]()["$!"]())&&r!==o?r:a["$nil_or_empty?"]()["$!"]():u)===o||e.$$is_boolean&&1!=e||(d="left",c="toc2",a=(e=a["$nil_or_empty?"]()["$!"]())===o||e.$$is_boolean&&1!=e?(e=u["$empty?"]()["$!"]())===o||e.$$is_boolean&&1!=e?d:u:a,s["$[]="]("toc",""),s["$[]="]("toc-placement","auto"),u=a,"left"["$==="](u)||"<"["$==="](u)||"<"["$==="](u)?s["$[]="]("toc-position","left"):"right"["$==="](u)||">"["$==="](u)||">"["$==="](u)?s["$[]="]("toc-position","right"):"top"["$==="](u)||"^"["$==="](u)?s["$[]="]("toc-position","top"):"bottom"["$==="](u)||"v"["$==="](u)?s["$[]="]("toc-position","bottom"):("preamble"["$==="](u)||"macro"["$==="](u)?(s["$[]="]("toc-position","content"),s["$[]="]("toc-placement",a)):s.$delete("toc-position"),c=o),!1!==c&&c!==o&&(e="toc-class",t=s,!1!==(r=t["$[]"](e))&&r!==o?r:t["$[]="](e,c))),(e=s["$key?"]("compat-mode"))===o||e.$$is_boolean&&1!=e?this.compat_mode=!1:((e=s["$has_key?"]("language"))===o||e.$$is_boolean&&1!=e||s["$[]="]("source-language",s["$[]"]("language")),this.compat_mode=!0),this.outfilesuffix=s["$[]"]("outfilesuffix"),this.header_attributes=s.$dup(),(e=this.parent_document)===o||e.$$is_boolean&&1!=e?(e=(t=v.get("FLEXIBLE_ATTRIBUTES")).$each, -e.$$p=(n=function(e){var t,r,s=n.$$s||this;return null==s.attribute_overrides&&(s.attribute_overrides=o),null==e&&(e=o),r=s.attribute_overrides["$key?"](e),(t=!1!==r&&r!==o?s.attribute_overrides["$[]"](e):r)===o||t.$$is_boolean&&1!=t?o:s.attribute_overrides.$delete(e)},n.$$s=this,n),e).call(t):o}),e.defn(m,"$restore_attributes",function(){var e;return((e=this.parent_document)===o||e.$$is_boolean&&1!=e)&&this.callouts.$rewind(),this.attributes=this.header_attributes}),e.defn(m,"$clear_playback_attributes",function(e){return e.$delete("attribute_entries")}),e.defn(m,"$playback_attributes",function(e){var t,r,n;return(t=e["$key?"]("attribute_entries"))===o||t.$$is_boolean&&1!=t?o:(t=(r=e["$[]"]("attribute_entries")).$each,t.$$p=(n=function(e){var t,r=n.$$s||this,s=o;return null==r.attributes&&(r.attributes=o),null==e&&(e=o),s=e.$name(),(t=e.$negate())===o||t.$$is_boolean&&1!=t?(r.attributes["$[]="](s,e.$value()),s["$=="]("compat-mode")?r.compat_mode=!0:o):(r.attributes.$delete(s),s["$=="]("compat-mode")?r.compat_mode=!1:o)},n.$$s=this,n),t).call(r)}),e.defn(m,"$set_attribute",function(e,t){var r,n=o;return!!((r=this["$attribute_locked?"](e))===o||r.$$is_boolean&&1!=r)&&(n=e,"backend"["$==="](n)?this.$update_backend_attributes(this.$apply_attribute_value_subs(t),this.attributes_modified["$delete?"]("htmlsyntax")["$!"]()["$!"]()):"doctype"["$==="](n)?this.$update_doctype_attributes(this.$apply_attribute_value_subs(t)):this.attributes["$[]="](e,this.$apply_attribute_value_subs(t)),this.attributes_modified["$<<"](e),!0)}),e.defn(m,"$delete_attribute",function(e){var t;return!!((t=this["$attribute_locked?"](e))===o||t.$$is_boolean&&1!=t)&&(this.attributes.$delete(e),this.attributes_modified["$<<"](e),!0)}),e.defn(m,"$attribute_locked?",function(e){return this.attribute_overrides["$key?"](e)}),e.defn(m,"$apply_attribute_value_subs",function(e){var t,r=o,n=o;return(t=r=v.get("AttributeEntryPassMacroRx").$match(e))===o||t.$$is_boolean&&1!=t?this.$apply_header_subs(e):(t=r["$[]"](1)["$empty?"]()["$!"]())===o||t.$$is_boolean&&1!=t?r["$[]"](2):(n=this.$resolve_pass_subs(r["$[]"](1)),(t=n["$empty?"]())===o||t.$$is_boolean&&1!=t?this.$apply_subs(r["$[]"](2),n):r["$[]"](2))}),e.defn(m,"$update_backend_attributes",function(e,t){var r,n,s=o,i=o,a=o,u=o,d=o,c=i=o,p=o,h=o,c=o;return null==t&&(t=!1),(r=!1!==(n=t)&&n!==o?n:!1!==e&&e!==o?e["$!="](this.attributes["$[]"]("backend")):e)===o||r.$$is_boolean&&1!=r?o:(s=this.attributes,i=s["$[]"]("backend"),a=s["$[]"]("basebackend"),u=s["$[]"]("doctype"),(r=e["$start_with?"]("xhtml"))===o||r.$$is_boolean&&1!=r?(r=e["$start_with?"]("html"))===o||r.$$is_boolean&&1!=r||s["$[]"]("htmlsyntax")["$=="]("xml")||s["$[]="]("htmlsyntax","html"):(s["$[]="]("htmlsyntax","xml"),e=e["$[]"](l(1,-1,!1))),(r=d=v.get("BACKEND_ALIASES")["$[]"](e))===o||r.$$is_boolean&&1!=r||(e=d),!1!==i&&i!==o&&(s.$delete("backend-"+i),!1!==u&&u!==o&&s.$delete("backend-"+i+"-doctype-"+u)),!1!==u&&u!==o&&(s["$[]="]("doctype-"+u,""),s["$[]="]("backend-"+e+"-doctype-"+u,"")),s["$[]="]("backend",e),s["$[]="]("backend-"+e,""),(r=v.get("Converter").$$scope.get("BackendInfo")["$==="](this.converter=this.$create_converter()))===o||r.$$is_boolean&&1!=r?(i=e.$sub(v.get("TrailingDigitsRx"),""),p=!1!==(r=v.get("DEFAULT_EXTENSIONS")["$[]"](i))&&r!==o?r:".html",c=p["$[]"](l(1,-1,!1)),((r=this["$attribute_locked?"]("outfilesuffix"))===o||r.$$is_boolean&&1!=r)&&s["$[]="]("outfilesuffix",p)):(i=this.converter.$basebackend(),((r=this["$attribute_locked?"]("outfilesuffix"))===o||r.$$is_boolean&&1!=r)&&s["$[]="]("outfilesuffix",this.converter.$outfilesuffix()),c=this.converter.$filetype()),(r=h=s["$[]"]("filetype"))===o||r.$$is_boolean&&1!=r||s.$delete("filetype-"+h),s["$[]="]("filetype",c),s["$[]="]("filetype-"+c,""),(r=c=v.get("DEFAULT_PAGE_WIDTHS")["$[]"](i))===o||r.$$is_boolean&&1!=r?s.$delete("pagewidth"):s["$[]="]("pagewidth",c),(r=i["$!="](a))===o||r.$$is_boolean&&1!=r||(!1!==a&&a!==o&&(s.$delete("basebackend-"+a),!1!==u&&u!==o&&s.$delete("basebackend-"+a+"-doctype-"+u)),s["$[]="]("basebackend",i),s["$[]="]("basebackend-"+i,""),!1===u||u===o)||s["$[]="]("basebackend-"+i+"-doctype-"+u,""),this.backend=o)}),e.defn(m,"$update_doctype_attributes",function(e){var t,r=o,n=o,s=o,i=o;return(t=!1!==e&&e!==o?e["$!="](this.attributes["$[]"]("doctype")):e)===o||t.$$is_boolean&&1!=t?o:(r=this.attributes,n=r["$[]"]("doctype"),s=r["$[]"]("backend"),i=r["$[]"]("basebackend"),!1!==n&&n!==o&&(r.$delete("doctype-"+n),!1!==s&&s!==o&&r.$delete("backend-"+s+"-doctype-"+n),!1!==i&&i!==o&&r.$delete("basebackend-"+i+"-doctype-"+n)),r["$[]="]("doctype",e),r["$[]="]("doctype-"+e,""),!1!==s&&s!==o&&r["$[]="]("backend-"+s+"-doctype-"+e,""),!1!==i&&i!==o&&r["$[]="]("basebackend-"+i+"-doctype-"+e,""),this.doctype=o)}),e.defn(m,"$create_converter",function(){var t,r=o,n=o,s=o,i=o,a=o,r=u([],{});return r["$[]="]("htmlsyntax",this.attributes["$[]"]("htmlsyntax")),n=(t=s=this.options["$[]"]("template_dir"))===o||t.$$is_boolean&&1!=t?(t=n=this.options["$[]"]("template_dirs"))===o||t.$$is_boolean&&1!=t?o:r["$[]="]("template_dirs",n):r["$[]="]("template_dirs",[s]),!1!==n&&n!==o&&(r["$[]="]("template_cache",this.options.$fetch("template_cache",!0)),r["$[]="]("template_engine",this.options["$[]"]("template_engine")),r["$[]="]("template_engine_options",this.options["$[]"]("template_engine_options")),r["$[]="]("eruby",this.options["$[]"]("eruby")),r["$[]="]("safe",this.safe)),a=(t=i=this.options["$[]"]("converter"))===o||t.$$is_boolean&&1!=t?v.get("Converter").$$scope.get("Factory").$default(!1):v.get("Converter").$$scope.get("Factory").$new(e.get("Hash")["$[]"](this.$backend(),i)),a.$create(this.$backend(),r)}),e.defn(m,"$convert",function(e){var r,n,s,i=o,a=o,l=o,d=o;return null==e&&(e=u([],{})),((r=this.parsed)===o||r.$$is_boolean&&1!=r)&&this.$parse(),((r=!1!==(n=t(this.safe,v.get("SafeMode").$$scope.get("SERVER")))&&n!==o?n:e["$empty?"]())===o||r.$$is_boolean&&1!=r)&&(((r=this.attributes["$[]="]("outfile",e["$[]"]("outfile")))===o||r.$$is_boolean&&1!=r)&&this.attributes.$delete("outfile"),((r=this.attributes["$[]="]("outdir",e["$[]"]("outdir")))===o||r.$$is_boolean&&1!=r)&&this.attributes.$delete("outdir")),((r=this.converter)===o||r.$$is_boolean&&1!=r)&&this.$fail("asciidoctor: FAILED: missing converter for backend '"+this.$backend()+"'. Processing aborted."),this.$doctype()["$=="]("inline")?(n=i=this.blocks["$[]"](0),a=(r=!1!==n&&n!==o?i.$content_model()["$!="]("compound"):n)===o||r.$$is_boolean&&1!=r?o:i.$content()):(l=(r=(n=e["$key?"]("header_footer"))===o||n.$$is_boolean&&1!=n?this.options["$[]"]("header_footer"):e["$[]"]("header_footer"))===o||r.$$is_boolean&&1!=r?"embedded":"document",a=this.converter.$convert(this,l)),!((r=this.parent_document)===o||r.$$is_boolean&&1!=r)||(n=d=this.extensions,(r=!1!==n&&n!==o?d["$postprocessors?"]():n)===o)||r.$$is_boolean&&1!=r||(r=(n=d.$postprocessors()).$each,r.$$p=(s=function(e){var t=s.$$s||this;return null==e&&(e=o),a=e.$process_method()["$[]"](t,a)},s.$$s=this,s),r).call(n),a}),e.alias(m,"render","convert"),e.defn(m,"$write",function(t,r){var n,s,i;return(n=v.get("Writer")["$==="](this.converter))===o||n.$$is_boolean&&1!=n?((n=r["$respond_to?"]("write"))===o||n.$$is_boolean&&1!=n?(n=(s=e.get("File")).$open,n.$$p=(i=function(e){return null==e&&(e=o),e.$write(t)},i.$$s=this,i),n).call(s,r,"w"):((n=t["$nil_or_empty?"]())===o||n.$$is_boolean&&1!=n)&&(r.$write(t.$chomp()),r.$write(v.get("EOL"))),o):this.converter.$write(t,r)}),e.defn(m,"$content",f=function(){var t=s.call(arguments,0),r=f.$$p;return f.$$p=null,this.attributes.$delete("title"),e.find_super_dispatcher(this,"content",f,r).apply(this,t)}),e.defn(m,"$docinfo",function(e,r){var s,i,a,l,d=o,c=o,p=o,h=o,f=d=o,m=o,c=c=o;return null==e&&(e="head"),null==r&&(r=o),t(this.$safe(),v.get("SafeMode").$$scope.get("SECURE"))?"":(d=e["$=="]("footer")?"-footer":o,!1!==r&&r!==o||(r=this.outfilesuffix),c=this.attributes["$[]"]("docinfodir"),p=o,h=(s=(h=this.attributes["$[]"]("docinfo"))["$nil_or_empty?"]())===o||s.$$is_boolean&&1!=s?(s=(i=h.$split(",")).$map,s.$$p="strip".$to_proc(),s).call(i):(s=this.attributes["$key?"]("docinfo2"))===o||s.$$is_boolean&&1!=s?(s=this.attributes["$key?"]("docinfo1"))===o||s.$$is_boolean&&1!=s?!1!==h&&h!==o?["private"]:o:["shared"]:["private","shared"],!1!==h&&h!==o&&(d="docinfo"+d+r,((s=h["$&"](["shared","shared-"+e])["$empty?"]())===o||s.$$is_boolean&&1!=s)&&(f=this.$normalize_system_path(d,c),(s=p=this.$read_asset(f,u(["normalize"],{normalize:!0})))===o||s.$$is_boolean&&1!=s||(s=!1!==(a=m)&&a!==o?a:m=this.$resolve_docinfo_subs())===o||s.$$is_boolean&&1!=s||(p=(s=m["$=="]("attributes"))===o||s.$$is_boolean&&1!=s?this.$apply_subs(p,m):this.$sub_attributes(p))),((s=!1!==(a=this.attributes["$[]"]("docname")["$nil_or_empty?"]())&&a!==o?a:h["$&"](["private","private-"+e])["$empty?"]())===o||s.$$is_boolean&&1!=s)&&(f=this.$normalize_system_path(""+this.attributes["$[]"]("docname")+"-"+d,c),(s=c=this.$read_asset(f,u(["normalize"],{normalize:!0})))===o||s.$$is_boolean&&1!=s||((s=!1!==(a=m)&&a!==o?a:m=this.$resolve_docinfo_subs())===o||s.$$is_boolean&&1!=s||(c=(s=m["$=="]("attributes"))===o||s.$$is_boolean&&1!=s?this.$apply_subs(c,m):this.$sub_attributes(c)),p=!1!==p&&p!==o?""+p+v.get("EOL")+c:c))),a=this.extensions,(s=!1!==a&&a!==o?this["$docinfo_processors?"](e):a)===o||s.$$is_boolean&&1!=s||(c=n((s=(a=this.docinfo_processor_extensions["$[]"](e)).$map,s.$$p=(l=function(e){var t=l.$$s||this;return null==e&&(e=o),e.$process_method()["$[]"](t)},l.$$s=this,l),s).call(a).$compact(),v.get("EOL")),p=!1!==p&&p!==o?""+p+v.get("EOL")+c:c),""+p)}),e.defn(m,"$resolve_docinfo_subs",function(){var e,t=o;return(e=this.attributes["$key?"]("docinfosubs"))===o||e.$$is_boolean&&1!=e?"attributes":(t=this.$resolve_subs(this.attributes["$[]"]("docinfosubs"),"block",o,"docinfo"),(e=t["$empty?"]())===o||e.$$is_boolean&&1!=e?t:o)}),e.defn(m,"$docinfo_processors?",function(e){var t,r;return null==e&&(e="head"),(t=this.docinfo_processor_extensions["$key?"](e))===o||t.$$is_boolean&&1!=t?(r=this.extensions,(t=!1!==r&&r!==o?this.document.$extensions()["$docinfo_processors?"](e):r)===o||t.$$is_boolean&&1!=t?this.docinfo_processor_extensions["$[]="](e,!1):this.docinfo_processor_extensions["$[]="](e,this.document.$extensions().$docinfo_processors(e))["$!"]()["$!"]()):this.docinfo_processor_extensions["$[]"](e)["$!="](!1)}),e.defn(m,"$to_s",function(){var e;return"#<"+this.$class()+"@"+this.$object_id()+" {doctype: "+this.$doctype().$inspect()+", doctitle: "+((e=this.header["$!="](o))===o||e.$$is_boolean&&1!=e?o:this.header.$title()).$inspect()+", blocks: "+this.blocks.$size()+"}>"}),o&&"to_s"}(d.base,d.get("AbstractBlock"))}(e.base)},o.modules["asciidoctor/inline"]=function(e){e.dynamic_require_severity="ignore";var t=e.nil,r=e.module,n=e.klass,o=e.hash2;return e.add_stubs("$attr_reader $attr_accessor $[] $nil_or_empty? $update_attributes $convert $converter".split(" ")),function(s){s=r(s,"Asciidoctor").$$scope,function(r,s){function i(){}var a,u=i=n(r,s,"Inline",i);return u.$attr_reader("text"),u.$attr_reader("type"),u.$attr_accessor("target"),e.defn(u,"$initialize",a=function(r,n,s,i){var u,l=t;return null==s&&(s=t),null==i&&(i=o([],{})),a.$$p=null,e.find_super_dispatcher(this,"initialize",a,null).apply(this,[r,n]),this.node_name="inline_"+n,this.text=s,this.id=i["$[]"]("id"),this.type=i["$[]"]("type"),this.target=i["$[]"]("target"),(u=(l=i["$[]"]("attributes"))["$nil_or_empty?"]())===t||u.$$is_boolean&&1!=u?this.$update_attributes(l):t}),e.defn(u,"$block?",function(){return!1}),e.defn(u,"$inline?",function(){return!0}),e.defn(u,"$convert",function(){return this.$converter().$convert(this)}),e.alias(u,"render","convert")}(s.base,s.get("AbstractNode"))}(e.base)},o.modules["asciidoctor/list"]=function(e){e.dynamic_require_severity="ignore";var t=e.nil,r=e.slice,n=e.module,o=e.klass;return e.add_stubs("$== $next_list $callouts $class $object_id $inspect $size $items $attr_accessor $level $! $nil_or_empty? $apply_subs $empty? $=== $[] $outline? $simple? $context $option? $shift $blocks $unshift $lines $source $parent".split(" ")),function(s){s=n(s,"Asciidoctor").$$scope,function(n,s){function i(){}var a,u,l=i=o(n,s,"List",i),d=l.$$proto;return d.context=d.document=d.style=t,e.alias(l,"items","blocks"),e.alias(l,"content","blocks"),e.alias(l,"items?","blocks?"),e.defn(l,"$initialize",a=function(t,n){var o=r.call(arguments,0),s=a.$$p;return a.$$p=null,e.find_super_dispatcher(this,"initialize",a,s).apply(this,o)}),e.defn(l,"$outline?",function(){var e;return!1!==(e=this.context["$=="]("ulist"))&&e!==t?e:this.context["$=="]("olist")}),e.defn(l,"$convert",u=function(){var n=r.call(arguments,0),o=u.$$p,s=t;return u.$$p=null,this.context["$=="]("colist")?(s=e.find_super_dispatcher(this,"convert",u,o).apply(this,n),this.document.$callouts().$next_list(),s):e.find_super_dispatcher(this,"convert",u,o).apply(this,n)}),e.alias(l,"render","convert"),e.defn(l,"$to_s",function(){return"#<"+this.$class()+"@"+this.$object_id()+" {context: "+this.context.$inspect()+", style: "+this.style.$inspect()+", items: "+this.$items().$size()+"}>"}),t&&"to_s"}(s.base,s.get("AbstractBlock")),function(r,n){function s(){}var i,a=s=o(r,n,"ListItem",s),u=a.$$proto,l=a.$$scope;return u.text=u.blocks=t,a.$attr_accessor("marker"),e.defn(a,"$initialize",i=function(r,n){return null==n&&(n=t),i.$$p=null,e.find_super_dispatcher(this,"initialize",i,null).apply(this,[r,"list_item"]),this.text=n,this.level=r.$level()}),e.defn(a,"$text?",function(){return this.text["$nil_or_empty?"]()["$!"]()}),e.defn(a,"$text",function(){return this.$apply_subs(this.text)}),e.defn(a,"$simple?",function(){var e,r,n=t;return!1!==(e=this.blocks["$empty?"]())&&e!==t?e:(r=this.blocks.$size()["$=="](1)?l.get("List")["$==="](n=this.blocks["$[]"](0)):this.blocks.$size()["$=="](1),!1!==r&&r!==t?n["$outline?"]():r)}),e.defn(a,"$compound?",function(){return this["$simple?"]()["$!"]()}),e.defn(a,"$fold_first",function(e,r){var n,o,s,i,a,u,d=t,c=t;return null==e&&(e=!1),null==r&&(r=!1),s=d=this.blocks["$[]"](0),o=!1!==s&&s!==t?l.get("Block")["$==="](d):s,(n=!1!==o&&o!==t?!1!==(s=d.$context()["$=="]("paragraph")?e["$!"]():d.$context()["$=="]("paragraph"))&&s!==t?s:(a=!1!==(u=r)&&u!==t?u:e["$!"](),i=!1!==a&&a!==t?d.$context()["$=="]("literal"):a,!1!==i&&i!==t?d["$option?"]("listparagraph"):i):o)===t||n.$$is_boolean&&1!=n||(c=this.$blocks().$shift(),((n=this.text["$nil_or_empty?"]())===t||n.$$is_boolean&&1!=n)&&c.$lines().$unshift(this.text),this.text=c.$source()),t}),e.defn(a,"$to_s",function(){var e;return"#<"+this.$class()+"@"+this.$object_id()+" {list_context: "+this.$parent().$context().$inspect()+", text: "+this.text.$inspect()+", blocks: "+(!1!==(e=this.blocks)&&e!==t?e:[]).$size()+"}>"}),t&&"to_s"}(s.base,s.get("AbstractBlock"))}(e.base)},o.modules["asciidoctor/parser"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e>t:e["$>"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}function o(e,t){return"number"==typeof e&&"number"==typeof t?e>=t:e["$>="](t)}function s(e,t){return"number"==typeof e&&"number"==typeof t?e-t:e["$-"](t)}function i(e,t){return"number"==typeof e&&"number"==typeof t?e<=t:e["$<="](t)}function a(e,t){return"number"==typeof e&&"number"==typeof t?e $line_info $size $* $next_block $blocks? $style $context= $style= $parent= $content_model $shift $unwrap_standalone_preamble $dup $fetch $extensions $block_macros? $=== $parse_block_metadata_line $advance $read_line $terminator $to_s $masq $to_sym $registered_for_block? $strict_verbatim_paragraphs $unshift_line $markdown_syntax $chr $lstrip $>= $length $end_with? $parse_attributes $attribute_missing $clear $registered_for_block_macro? $config $each $process_method $replace $peek_line $path $- $lineno $next_list_item $callout_ids $callouts $items $next_list $next_outline_list $marker $detect $next_labeled_list $is_section_title? $underline_style_section_titles $generate_id $level= $read_paragraph_lines $adjust_indentation! $set_option $catalog_inline_anchors $post_match $map! $split $pop $build_block $blockquote? $chop $tr $rekey $next_table $concat $title? $register $basename $sub_specialchars $assign_caption $ord $caption $caption= $title $update $lock_in_subs $sub? $catalog_callouts $source $remove_sub $block_terminates_paragraph $to_proc $<= $< $nil? $lines $parse_blocks $resolve_list_marker $items? $parent $scan $marker= $read_lines_for_list_item $skip_line_comments $unshift_lines $fold_first $text? $is_sibling_list_item? $delete_at $sectname= $special= $update_attributes $peek_lines $is_single_line_section_title? $is_two_line_section_title? $single_line_section_level $abs $line_length $section_level $process_attribute_entries $next_line_empty? $process_authors $is_a? $apply_header_subs $map $each_with_index $zero? $push $to_a $process_attribute_entry $skip_comment_lines $store_attribute $sanitize_attribute_name $delete_attribute $save_to $resolve_ordered_list_marker $chomp $roman_numeral_to_int $parse_col_specs $create_columns $has_header_option= $format $starts_with_delimiter? $close_open_cell $parse_cell_spec $delimiter $match_delimiter $buffer_has_unclosed_quotes? $pre_match $skip_matched_delimiter $buffer= $buffer $keep_cell_open $push_cell_spec $close_cell $cell_open? $columns $assign_col_widths $partition_header_footer $upto $shorthand_property_syntax $each_char $call $sub! $gsub! $% $begin $gsub".split(" ")),function(b){!function(d,b){function v(){}var _,g,y,$,w=v=c(d,b,"Parser",v),x=w.$$scope;return e.cdecl(x,"BlockMatchData",x.get("Struct").$new("context","masq","tip","terminator")),e.cdecl(x,"TabRx",/\t/),e.cdecl(x,"TabIndentRx",/^\t+/),e.cdecl(x,"StartOfBlockProc",(_=w.$lambda,_.$$p=(g=function(e){var t,r,n=g.$$s||this;return null==e&&(e=u),!1!==(r=e["$start_with?"]("["),t=!1!==r&&r!==u?x.get("BlockAttributeLineRx")["$=~"](e):r)&&t!==u?t:n["$is_delimited_block?"](e)},g.$$s=w,g),_).call(w)),e.cdecl(x,"StartOfListProc",(_=w.$lambda,_.$$p=(y=function(e){return null==e&&(e=u),x.get("AnyListRx")["$=~"](e)},y.$$s=w,y),_).call(w)),e.cdecl(x,"StartOfBlockOrListProc",(_=w.$lambda,_.$$p=($=function(e){var t,r,n,o=$.$$s||this;return null==e&&(e=u),!1!==(t=!1!==(r=o["$is_delimited_block?"](e))&&r!==u?r:(n=e["$start_with?"]("["),!1!==n&&n!==u?x.get("BlockAttributeLineRx")["$=~"](e):n))&&t!==u?t:x.get("AnyListRx")["$=~"](e)},$.$$s=w,$),_).call(w)),e.cdecl(x,"NoOp",u),e.defn(w,"$initialize",function(){return this.$raise("Au contraire, mon frere. No lexer instances will be running around.")}),e.defs(w,"$parse",function(t,r,n){var o,s,i=u,a=u;if(null==n&&(n=p([],{})),i=this.$parse_document_header(t,r),(o=n["$[]"]("header_only"))===u||o.$$is_boolean&&1!=o)for(;(s=t["$has_more_lines?"]())!==u&&(!s.$$is_boolean||1==s);)s=e.to_ary(this.$next_section(t,r,i)),a=null==s[0]?u:s[0],i=null==s[1]?u:s[1],!1!==a&&a!==u&&r["$<<"](a);return r}),e.defs(w,"$parse_document_header",function(t,r){var n,o,s=u,i=u,a=u,l=u,d=u,c=u,p=i=d=u,i=i=u,s=this.$parse_block_metadata_lines(t,r);return o=i=this["$is_next_line_document_title?"](t,s),(n=!1!==o&&o!==u?s["$has_key?"]("title"):o)===u||n.$$is_boolean&&1!=n?(a=u,((n=(l=r.$attributes()["$[]"]("doctitle"))["$nil_or_empty?"]())===u||n.$$is_boolean&&1!=n)&&(n=[a=l],o=r,o["$title="].apply(o,n),n[n.length-1]),d=u,!1!==i&&i!==u&&((n=r.$sourcemap())===u||n.$$is_boolean&&1!=n||(c=t.$cursor()),n=e.to_ary(this.$parse_section_title(t,r)),r["$id="](null==n[0]?u:n[0]),d=null==n[2]?u:n[2],i=null==n[4]?u:n[4],!1!==a&&a!==u||(n=[a=d],o=r,o["$title="].apply(o,n),n[n.length-1]),!1!==i&&i!==u||r.$set_attribute("compat-mode",""),(n=p=s.$delete("separator"))===u||n.$$is_boolean&&1!=n||r.$set_attribute("title-separator",p),!1!==c&&c!==u&&(n=[c],o=r.$header(),o["$source_location="].apply(o,n),n[n.length-1]),r.$attributes()["$[]="]("doctitle",d),(n=r.$id())===u||n.$$is_boolean&&1!=n?((n=i=s.$delete(1))===u||n.$$is_boolean&&1!=n||(i=h(1,i),this.$parse_style_attribute(i,t),(n=i["$key?"]("id"))===u||n.$$is_boolean&&1!=n)||s["$[]="]("id",i["$[]"]("id")),n=[s.$delete("id")],o=r,o["$id="].apply(o,n),n[n.length-1]):(s.$delete(1),s.$delete("id")),this.$parse_header_metadata(t,r)),((n=!1!==(o=(l=r.$attributes()["$[]"]("doctitle"))["$nil_or_empty?"]())&&o!==u?o:l["$=="](d))===u||n.$$is_boolean&&1!=n)&&(n=[a=l],o=r,o["$title="].apply(o,n),n[n.length-1]),!1!==a&&a!==u&&r.$attributes()["$[]="]("doctitle",a),r.$doctype()["$=="]("manpage")&&this.$parse_manpage_header(t,r),r.$finalize_header(s)):r.$finalize_header(s,!1)}),e.defs(w,"$parse_manpage_header",function(e,t){var r,n=u,n=n=u;return(r=n=x.get("ManpageTitleVolnumRx").$match(t.$attributes()["$[]"]("doctitle")))===u||r.$$is_boolean&&1!=r?(this.$warn("asciidoctor: ERROR: "+e.$prev_line_info()+": malformed manpage title"),t.$attributes()["$[]="]("mantitle",t.$attributes()["$[]"]("doctitle")),t.$attributes()["$[]="]("manvolnum","1")):(t.$attributes()["$[]="]("mantitle",t.$sub_attributes(n["$[]"](1).$rstrip().$downcase())),t.$attributes()["$[]="]("manvolnum",n["$[]"](2).$strip())),e.$skip_blank_lines(),(r=this["$is_next_line_section?"](e,p([],{})))===u||r.$$is_boolean&&1!=r?this.$warn("asciidoctor: ERROR: "+e.$prev_line_info()+": name section expected"):(n=this.$initialize_section(e,t,p([],{})),n.$level()["$=="](1)?(n=e.$read_lines_until(p(["break_on_blank_lines"],{break_on_blank_lines:!0})).$join(" ").$tr_s(" "," "),(r=n=x.get("ManpageNamePurposeRx").$match(n))===u||r.$$is_boolean&&1!=r?this.$warn("asciidoctor: ERROR: "+e.$prev_line_info()+": malformed name section body"):(t.$attributes()["$[]="]("manname",t.$sub_attributes(n["$[]"](1))),t.$attributes()["$[]="]("manpurpose",n["$[]"](2)),t.$backend()["$=="]("manpage")?(t.$attributes()["$[]="]("docname",t.$attributes()["$[]"]("manname")),t.$attributes()["$[]="]("outfilesuffix","."+t.$attributes()["$[]"]("manvolnum"))):u)):this.$warn("asciidoctor: ERROR: "+e.$prev_line_info()+": name section title must be at level 1"))}),e.defs(w,"$next_section",function(o,s,i){var a,l,d,c,h=u,f=u,m=u,b=u,v=u,_=u,g=u,y=u,$=g=u,w=$=$=u,E=u,v=f=u;for(null==i&&(i=p([],{})),m=f=h=!1,l=(d=s.$context()["$=="]("document"))?s.$blocks()["$empty?"]():s.$context()["$=="]("document"),(a=!1!==l&&l!==u?!1!==(d=!1!==(c=b=s["$has_header?"]())&&c!==u?c:i.$delete("invalid-header"))&&d!==u?d:this["$is_next_line_section?"](o,i)["$!"]():l)===u||a.$$is_boolean&&1!=a?(v=s.$document().$doctype(),_=this.$initialize_section(o,s,i),i=(a=g=i["$[]"]("title"))===u||a.$$is_boolean&&1!=a?p([],{}):p(["title"],{title:g}),g=_.$level(),(a=(l=g["$=="](0))?v["$=="]("book"):g["$=="](0))===u||a.$$is_boolean&&1!=a?y=[t(g,1)]:(f=_.$special()["$!"](),l=_.$special(),y=(a=!1!==l&&l!==u?["preface","appendix"]["$include?"](_.$sectname()):l)===u||a.$$is_boolean&&1!=a?[t(g,1)]:[t(g,2)])):(v=s.$doctype(),(a=!1!==(l=b)&&l!==u?l:(d=v["$=="]("book"))?i["$[]"](1)["$!="]("abstract"):v["$=="]("book"))===u||a.$$is_boolean&&1!=a||(h=m=x.get("Block").$new(s,"preamble",p(["content_model"],{content_model:"compound"})),(a=(l=v["$=="]("book"))?s["$attr?"]("preface-title"):v["$=="]("book"))===u||a.$$is_boolean&&1!=a||(a=[s.$attr("preface-title")],l=h,l["$title="].apply(l,a),a[a.length-1]),s["$<<"](h)),_=s,g=0,y=(a=s.$attributes()["$has_key?"]("fragment"))===u||a.$$is_boolean&&1!=a?v["$=="]("book")?[0,1]:[1]:u),o.$skip_blank_lines();(l=o["$has_more_lines?"]())!==u&&(!l.$$is_boolean||1==l);){if(this.$parse_block_metadata_lines(o,_,i),(l=$=this["$is_next_line_section?"](o,i))===u||l.$$is_boolean&&1!=l)$=o.$line_info(),(l=w=this.$next_block(o,!1!==(d=m)&&d!==u?d:_,i,p(["parse_metadata"],{parse_metadata:!1})))===u||l.$$is_boolean&&1!=l||(!1!==f&&f!==u&&((l=_["$blocks?"]()["$!"]())===u||l.$$is_boolean&&1!=l?_.$blocks().$size()["$=="](1)&&(E=_.$blocks()["$[]"](0),d=m["$!"](),(l=!1!==d&&d!==u?E.$content_model()["$=="]("compound"):d)===u||l.$$is_boolean&&1!=l?(l=E.$content_model()["$!="]("compound"))===u||l.$$is_boolean&&1!=l||(m=x.get("Block").$new(_,"open",p(["content_model"],{content_model:"compound"})),l=["partintro"],d=m,d["$style="].apply(d,l),l[l.length-1],_.$blocks().$shift(),E.$style()["$=="]("partintro")&&(l=["paragraph"],d=E,d["$context="].apply(d,l),l[l.length-1],l=[u],d=E,d["$style="].apply(d,l),l[l.length-1]),l=[m],d=E,d["$parent="].apply(d,l),l[l.length-1],m["$<<"](E),l=[m],d=w,d["$parent="].apply(d,l),l[l.length-1],_["$<<"](m)):this.$warn("asciidoctor: ERROR: "+$+": illegal block content outside of partintro block")):(l=w.$style()["$!="]("partintro"))===u||l.$$is_boolean&&1!=l||(w.$context()["$=="]("paragraph")?(l=["open"],d=w,d["$context="].apply(d,l),l[l.length-1],l=["partintro"],d=w,d["$style="].apply(d,l),l[l.length-1]):(m=x.get("Block").$new(_,"open",p(["content_model"],{content_model:"compound"})),l=["partintro"],d=m,d["$style="].apply(d,l),l[l.length-1],l=[m],d=w,d["$parent="].apply(d,l),l[l.length-1],_["$<<"](m)))),(!1!==(l=m)&&l!==u?l:_)["$<<"](w),i=p([],{}));else{if($=t($,_.$document().$attr("leveloffset",0).$to_i()),(l=!1!==(d=r($,g))&&d!==u?d:_.$context()["$=="]("document")?$["$=="](0):_.$context()["$=="]("document"))===u||l.$$is_boolean&&1!=l){(l=(d=$["$=="](0))?v["$!="]("book"):$["$=="](0))===u||l.$$is_boolean&&1!=l||this.$warn("asciidoctor: ERROR: "+o.$line_info()+": only book doctypes can contain level 0 sections");break}(l=(d=$["$=="](0))?v["$!="]("book"):$["$=="](0))===u||l.$$is_boolean&&1!=l?(l=(d=!1!==y&&y!==u)?y["$include?"]($)["$!"]():y)===u||l.$$is_boolean&&1!=l||this.$warn(t(t("asciidoctor: WARNING: "+o.$line_info()+": section title out of sequence: ","expected "+(r(y.$size(),1)?"levels":"level")+" "+n(y," or ")+", "),"got level "+$)):this.$warn("asciidoctor: ERROR: "+o.$line_info()+": only book doctypes can contain level 0 sections"),l=e.to_ary(this.$next_section(o,_,i)),$=null==l[0]?u:l[0],i=null==l[1]?u:l[1],_["$<<"]($)}o.$skip_blank_lines()}if(!1!==f&&f!==u)l=_["$blocks?"](),((a=!1!==l&&l!==u?_.$blocks()["$[]"](-1).$context()["$=="]("section"):l)===u||a.$$is_boolean&&1!=a)&&this.$warn("asciidoctor: ERROR: "+o.$line_info()+": invalid part, must have at least one section (e.g., chapter, appendix, etc.)");else if(!1!==h&&h!==u)if(f=s,(a=h["$blocks?"]())===u||a.$$is_boolean&&1!=a)f.$blocks().$shift();else if(d=x.get("Compliance").$unwrap_standalone_preamble(),l=!1!==d&&d!==u?f.$blocks().$size()["$=="](1):d,(a=!1!==l&&l!==u?v["$!="]("book"):l)!==u&&(!a.$$is_boolean||1==a))for(f.$blocks().$shift();(l=v=h.$blocks().$shift())!==u&&(!l.$$is_boolean||1==l);)l=[f],d=v,d["$parent="].apply(d,l),l[l.length-1],f["$<<"](v);return[(a=_["$!="](s))===u||a.$$is_boolean&&1!=a?u:_,i.$dup()]}),e.defs(w,"$next_block",function(n,i,a,l){var d,c,h,m,b,v,_,g,y,$,w,E=u,P=u,C=u,j=u,T=u,A=u,S=u,k=u,D=u,O=u,H=u,F=u,M=u,R=u,B=b=u,I=u,N=u,L=u,q=L=u,U=b=L=b=u,z=L=D=D=u,W=u,V=u,G=b=D=D=z=L=b=D=z=u,K=R=B=b=L=b=b=u,Y=u,X=u,Z=R=B=B=u,J=E=u,Q=u;if(null==a&&(a=p([],{})),null==l&&(l=p([],{})),E=n.$skip_blank_lines(),(d=n["$has_more_lines?"]())===u||d.$$is_boolean&&1!=d)return u;for(c=P=l["$[]"]("text"),(d=!1!==c&&c!==u?r(E,0):c)===u||d.$$is_boolean&&1!=d||(l.$delete("text"),P=!1),C=l.$fetch("parse_metadata",!0),j=i.$document(),(d=T=j.$extensions())===u||d.$$is_boolean&&1!=d?A=S=!1:(A=T["$blocks?"](),S=T["$block_macros?"]()),k=x.get("ListItem")["$==="](i),H=O=D=u,F=j.$sourcemap(),M=u;h=D["$!"](),(c=!1!==h&&h!==u?n["$has_more_lines?"]():h)!==u&&(!c.$$is_boolean||1==c);)if((c=(h=!1!==C&&C!==u)?this.$parse_block_metadata_line(n,j,a,l):C)===u||c.$$is_boolean&&1!=c){if(!1!==F&&F!==u&&(M=n.$cursor()),R=n.$read_line(),b=!1,N=I=B=u,(c=a["$[]"](1))===u||c.$$is_boolean&&1!=c||(c=e.to_ary(this.$parse_style_attribute(a,n)),O=null==c[0]?u:c[0],H=null==c[1]?u:c[1]),(c=L=this["$is_delimited_block?"](R,!0))===u||c.$$is_boolean&&1!=c||(b=!0,B=I=L.$context(),N=L.$terminator(),(c=O["$!"]())===u||c.$$is_boolean&&1!=c?(c=O["$!="](B.$to_s()))===u||c.$$is_boolean&&1!=c||((c=L.$masq()["$include?"](O))===u||c.$$is_boolean&&1!=c?(h=L.$masq()["$include?"]("admonition"),(c=!1!==h&&h!==u?x.get("ADMONITION_STYLES")["$include?"](O):h)===u||c.$$is_boolean&&1!=c?(c=(h=!1!==A&&A!==u)?T["$registered_for_block?"](O,B):A)===u||c.$$is_boolean&&1!=c?(this.$warn("asciidoctor: WARNING: "+n.$prev_line_info()+": invalid style for "+B+" block: "+O),O=B.$to_s()):B=O.$to_sym():B="admonition"):B=O.$to_sym()):O=a["$[]="]("style",B.$to_s())),!1===b||b===u)for(;(h=!0)!==u&&(!h.$$is_boolean||1==h);){if(m=(b=!1!==O&&O!==u)?x.get("Compliance").$strict_verbatim_paragraphs():O,(h=!1!==m&&m!==u?x.get("VERBATIM_STYLES")["$include?"](O):m)!==u&&(!h.$$is_boolean||1==h)){B=O.$to_sym(),n.$unshift_line(R);break}if(!1===P||P===u){if(L=(h=x.get("Compliance").$markdown_syntax())===u||h.$$is_boolean&&1!=h?R.$chr():R.$lstrip().$chr(),b=x.get("LAYOUT_BREAK_LINES")["$has_key?"](L),m=!1!==b&&b!==u?o(R.$length(),3):b,!((h=!1!==m&&m!==u?((b=x.get("Compliance").$markdown_syntax())===u||b.$$is_boolean&&1!=b?x.get("LayoutBreakLineRx"):x.get("LayoutBreakLinePlusRx"))["$=~"](R):m)===u||h.$$is_boolean&&1!=h)){D=x.get("Block").$new(i,x.get("LAYOUT_BREAK_LINES")["$[]"](L),p(["content_model"],{content_model:"empty"}));break}if(m=R["$end_with?"]("]"),!((h=!1!==m&&m!==u?q=x.get("MediaBlockMacroRx").$match(R):m)===u||h.$$is_boolean&&1!=h)){if(b=q["$[]"](1).$to_sym(),D=x.get("Block").$new(i,b,p(["content_model"],{content_model:"empty"})),L=b["$=="]("image")?["alt","width","height"]:b["$=="]("video")?["poster","width","height"]:[],((h=!1!==(m=O["$!"]())&&m!==u?m:H)===u||h.$$is_boolean&&1!=h)&&(b["$=="]("image")&&a["$[]="]("alt",O),a.$delete("style"),O=u),D.$parse_attributes(q["$[]"](3),L,p(["unescape_input","sub_input","sub_result","into"],{unescape_input:b["$=="]("image"),sub_input:!0,sub_result:!1,into:a})),b=D.$sub_attributes(q["$[]"](2),p(["attribute_missing"],{attribute_missing:"drop-line"})),(h=b["$empty?"]())!==u&&(!h.$$is_boolean||1==h))return j.$attributes().$fetch("attribute-missing",x.get("Compliance").$attribute_missing())["$=="]("skip")?x.get("Block").$new(i,"paragraph",p(["content_model","source"],{content_model:"simple",source:[R]})):(a.$clear(),u);a["$[]="]("target",b);break}if(!((h=(m=L["$=="]("t"))?q=x.get("TocBlockMacroRx").$match(R):L["$=="]("t"))===u||h.$$is_boolean&&1!=h)){D=x.get("Block").$new(i,"toc",p(["content_model"],{content_model:"empty"})),D.$parse_attributes(q["$[]"](1),[],p(["sub_result","into"],{sub_result:!1,into:a}));break}if(m=(b=!1!==S&&S!==u)?q=x.get("GenericBlockMacroRx").$match(R):S,(h=!1!==m&&m!==u?U=T["$registered_for_block_macro?"](q["$[]"](1)):m)!==u&&(!h.$$is_boolean||1==h)){if(b=q["$[]"](2),D=q["$[]"](3),U.$config()["$[]"]("content_model")["$=="]("attributes")?((h=D["$empty?"]())===u||h.$$is_boolean&&1!=h)&&j.$parse_attributes(D,!1!==(h=U.$config()["$[]"]("pos_attrs"))&&h!==u?h:[],p(["sub_input","sub_result","into"],{sub_input:!0,sub_result:!1,into:a})):a["$[]="]("text",D),(h=D=U.$config()["$[]"]("default_attrs"))===u||h.$$is_boolean&&1!=h||(h=(m=D).$each,h.$$p=(v=function(e,t){var r,n,o;return null==e&&(e=u),null==t&&(t=u),r=e,n=a,!1!==(o=n["$[]"](r))&&o!==u?o:n["$[]="](r,t)},v.$$s=this,v),h).call(m),(h=D=U.$process_method()["$[]"](i,b,a.$dup()))===u||h.$$is_boolean&&1!=h)return a.$clear(),u;a.$replace(D.$attributes());break}}if(!((h=q=x.get("CalloutListRx").$match(R))===u||h.$$is_boolean&&1!=h)){ -for(D=x.get("List").$new(i,"colist"),a["$[]="]("style","arabic"),n.$unshift_line(R),L=1;(b=!1!==(_=q)&&_!==u?_:(g=n["$has_more_lines?"](),!1!==g&&g!==u?q=x.get("CalloutListRx").$match(n.$peek_line()):g))!==u&&(!b.$$is_boolean||1==b);)(b=q["$[]"](1).$to_i()["$!="](L))===u||b.$$is_boolean&&1!=b||this.$warn("asciidoctor: WARNING: "+n.$path()+": line "+s(n.$lineno(),2)+": callout list item index: expected "+L+" got "+q["$[]"](1)),z=this.$next_list_item(n,D,q),L=t(L,1),!1!==z&&z!==u&&(D["$<<"](z),W=j.$callouts().$callout_ids(D.$items().$size()),(b=W["$empty?"]()["$!"]())===u||b.$$is_boolean&&1!=b?this.$warn("asciidoctor: WARNING: "+n.$path()+": line "+s(n.$lineno(),2)+": no callouts refer to list item "+D.$items().$size()):z.$attributes()["$[]="]("coids",W)),q=u;j.$callouts().$next_list();break}if(!((h=x.get("UnorderedListRx")["$=~"](R))===u||h.$$is_boolean&&1!=h)){n.$unshift_line(R),D=this.$next_outline_list(n,"ulist",i);break}if(!((h=q=x.get("OrderedListRx").$match(R))===u||h.$$is_boolean&&1!=h)){n.$unshift_line(R),D=this.$next_outline_list(n,"olist",i),b=a["$[]"]("style")["$!"](),(h=!1!==b&&b!==u?D.$attributes()["$[]"]("style")["$!"]():b)===u||h.$$is_boolean&&1!=h||(V=D.$items()["$[]"](0).$marker(),(h=V["$start_with?"]("."))===u||h.$$is_boolean&&1!=h?(O=(h=(b=x.get("ORDERED_LIST_STYLES")).$detect,h.$$p=(y=function(e){return null==e&&(e=u),x.get("OrderedListMarkerRxMap")["$[]"](e)["$=~"](V)},y.$$s=this,y),h).call(b),a["$[]="]("style",(!1!==(h=O)&&h!==u?h:x.get("ORDERED_LIST_STYLES")["$[]"](0)).$to_s())):a["$[]="]("style",(!1!==(h=x.get("ORDERED_LIST_STYLES")["$[]"](s(V.$length(),1)))&&h!==u?h:x.get("ORDERED_LIST_STYLES")["$[]"](0)).$to_s()));break}if(!((h=q=x.get("DefinitionListRx").$match(R))===u||h.$$is_boolean&&1!=h)){n.$unshift_line(R),D=this.$next_labeled_list(n,q,i);break}if(_=!1!==(g=O["$=="]("float"))&&g!==u?g:O["$=="]("discrete"),!((h=!1!==_&&_!==u?this["$is_section_title?"](R,(g=x.get("Compliance").$underline_style_section_titles())===u||g.$$is_boolean&&1!=g?u:n.$peek_line(!0)):_)===u||h.$$is_boolean&&1!=h)){n.$unshift_line(R),h=e.to_ary(this.$parse_section_title(n,j)),z=null==h[0]?u:h[0],D=null==h[1]?u:h[1],b=null==h[2]?u:h[2],L=null==h[3]?u:h[3],!1!==D&&D!==u&&a["$[]="]("reftext",D),(h=a["$has_key?"]("id"))===u||h.$$is_boolean&&1!=h||(!1!==(h=z)&&h!==u?h:z=a["$[]"]("id")),D=x.get("Block").$new(i,"floating_title",p(["content_model"],{content_model:"empty"})),(h=z["$nil_or_empty?"]())===u||h.$$is_boolean&&1!=h?h=[z]:(z=x.get("Section").$new(i),h=[b],_=z,_["$title="].apply(_,h),h[h.length-1],h=[z.$generate_id()]),_=D,_["$id="].apply(_,h),h[h.length-1],h=[L],_=D,_["$level="].apply(_,h),h[h.length-1],h=[b],_=D,_["$title="].apply(_,h),h[h.length-1];break}if((h=(_=!1!==O&&O!==u)?O["$!="]("normal"):O)!==u&&(!h.$$is_boolean||1==h)){if(!((h=x.get("PARAGRAPH_STYLES")["$include?"](O))===u||h.$$is_boolean&&1!=h)){B=O.$to_sym(),I="paragraph",n.$unshift_line(R);break}if(!((h=x.get("ADMONITION_STYLES")["$include?"](O))===u||h.$$is_boolean&&1!=h)){B="admonition",I="paragraph",n.$unshift_line(R);break}if(!((h=(_=!1!==A&&A!==u)?T["$registered_for_block?"](O,"paragraph"):A)===u||h.$$is_boolean&&1!=h)){B=O.$to_sym(),I="paragraph",n.$unshift_line(R);break}this.$warn("asciidoctor: WARNING: "+n.$prev_line_info()+": invalid style for paragraph: "+O),O=u}if(D=(h=E["$=="](0))?k:E["$=="](0),_=O["$!="]("normal"),(h=!1!==_&&_!==u?x.get("LiteralParagraphRx")["$=~"](R):_)===u||h.$$is_boolean&&1!=h){if(n.$unshift_line(R),D=this.$read_paragraph_lines(n,D,p(["skip_line_comments"],{skip_line_comments:!0})),(h=D["$empty?"]())!==u&&(!h.$$is_boolean||1==h))return n.$advance(),u;if(this.$catalog_inline_anchors(D.$join(x.get("EOL")),j),b=D["$[]"](0),_=P["$!"](),(h=!1!==_&&_!==u?G=x.get("AdmonitionParagraphRx").$match(b):_)===u||h.$$is_boolean&&1!=h)if(g=P["$!"](),_=!1!==g&&g!==u?x.get("Compliance").$markdown_syntax():g,(h=!1!==_&&_!==u?b["$start_with?"]("> "):_)===u||h.$$is_boolean&&1!=h)if(g=P["$!"](),(h=!1!==g&&g!==u?this["$blockquote?"](D,b):g)===u||h.$$is_boolean&&1!=h)O["$=="]("normal")&&this["$adjust_indentation!"](D),D=x.get("Block").$new(i,"paragraph",p(["content_model","source","attributes"],{content_model:"simple",source:D,attributes:a}));else{for(D["$[]="](0,b["$[]"](f(1,-1,!1))),h=e.to_ary(D.$pop()["$[]"](f(3,-1,!1)).$split(", ",2)),b=null==h[0]?u:h[0],L=null==h[1]?u:h[1];(g=D["$[]"](-1)["$empty?"]())!==u&&(!g.$$is_boolean||1==g);)D.$pop();D["$[]="](-1,D["$[]"](-1).$chop()),a["$[]="]("style","quote"),!1!==b&&b!==u&&a["$[]="]("attribution",b),!1!==L&&L!==u&&a["$[]="]("citetitle",L),D=x.get("Block").$new(i,"quote",p(["content_model","source","attributes"],{content_model:"simple",source:D,attributes:a}))}else{if((h=(_=D)["$map!"],h.$$p=($=function(e){var t;return null==e&&(e=u),e["$=="](">")?e["$[]"](f(1,-1,!1)):(t=e["$start_with?"]("> "))===u||t.$$is_boolean&&1!=t?e:e["$[]"](f(2,-1,!1))},$.$$s=this,$),h).call(_),(h=D["$[]"](-1)["$start_with?"]("-- "))===u||h.$$is_boolean&&1!=h)h=e.to_ary(u),b=null==h[0]?u:h[0],L=null==h[1]?u:h[1];else for(h=e.to_ary(D.$pop()["$[]"](f(3,-1,!1)).$split(", ",2)),b=null==h[0]?u:h[0],L=null==h[1]?u:h[1];(g=D["$[]"](-1)["$empty?"]())!==u&&(!g.$$is_boolean||1==g);)D.$pop();a["$[]="]("style","quote"),!1!==b&&b!==u&&a["$[]="]("attribution",b),!1!==L&&L!==u&&a["$[]="]("citetitle",L),D=this.$build_block("quote","compound",!1,i,x.get("Reader").$new(D),a)}else D["$[]="](0,G.$post_match().$lstrip()),a["$[]="]("style",G["$[]"](1)),a["$[]="]("name",b=G["$[]"](1).$downcase()),h="caption",_=a,!1!==(g=_["$[]"](h))&&g!==u?g:_["$[]="](h,j.$attributes()["$[]"](""+b+"-caption")),D=x.get("Block").$new(i,"admonition",p(["content_model","source","attributes"],{content_model:"simple",source:D,attributes:a}))}else n.$unshift_line(R),D=this.$read_paragraph_lines(n,D,p(["skip_line_comments"],{skip_line_comments:P})),this["$adjust_indentation!"](D),D=x.get("Block").$new(i,"literal",p(["content_model","source","attributes"],{content_model:"verbatim",source:D,attributes:a})),!1!==k&&k!==u&&D.$set_option("listparagraph");break}if(h=D["$!"](),(c=!1!==h&&h!==u?B:h)!==u&&(!c.$$is_boolean||1==c))if((c=!1!==(h=B["$=="]("abstract"))&&h!==u?h:B["$=="]("partintro"))===u||c.$$is_boolean&&1!=c||(B="open"),b=B,"admonition"["$==="](b))a["$[]="]("name",b=O.$downcase()),c="caption",h=a,!1!==(g=h["$[]"](c))&&g!==u?g:h["$[]="](c,j.$attributes()["$[]"](""+b+"-caption")),D=this.$build_block(B,"compound",N,i,n,a);else{if("comment"["$==="](b))return this.$build_block(B,"skip",N,i,n,a),u;if("example"["$==="](b))D=this.$build_block(B,"compound",N,i,n,a);else if("listing"["$==="](b)||"fenced_code"["$==="](b)||"source"["$==="](b))B["$=="]("fenced_code")?(O=a["$[]="]("style","source"),c=e.to_ary(R["$[]"](f(3,-1,!1)).$tr(" ","").$split(",",2)),B=null==c[0]?u:c[0],R=null==c[1]?u:c[1],(c=B["$nil_or_empty?"]()["$!"]())===u||c.$$is_boolean&&1!=c?(c=K=j.$attributes()["$[]"]("source-language"))===u||c.$$is_boolean&&1!=c||a["$[]="]("language",K):(a["$[]="]("language",B),((c=R["$nil_or_empty?"]())===u||c.$$is_boolean&&1!=c)&&a["$[]="]("linenums","")),h=a["$key?"]("indent")["$!"](),(c=!1!==h&&h!==u?j.$attributes()["$key?"]("source-indent"):h)===u||c.$$is_boolean&&1!=c||a["$[]="]("indent",j.$attributes()["$[]"]("source-indent")),N=N["$[]"](f(0,2,!1))):B["$=="]("source")&&(x.get("AttributeList").$rekey(a,[u,"language","linenums"]),!((c=a["$key?"]("language"))===u||c.$$is_boolean&&1!=c)||(c=K=j.$attributes()["$[]"]("source-language"))===u||c.$$is_boolean&&1!=c||a["$[]="]("language",K),h=a["$key?"]("indent")["$!"](),(c=!1!==h&&h!==u?j.$attributes()["$key?"]("source-indent"):h)===u||c.$$is_boolean&&1!=c||a["$[]="]("indent",j.$attributes()["$[]"]("source-indent"))),D=this.$build_block("listing","verbatim",N,i,n,a);else if("literal"["$==="](b))D=this.$build_block(B,"verbatim",N,i,n,a);else if("pass"["$==="](b))D=this.$build_block(B,"raw",N,i,n,a);else if("stem"["$==="](b)||"latexmath"["$==="](b)||"asciimath"["$==="](b))B["$=="]("stem")&&a["$[]="]("style",(c=Y=a["$[]"](2))===u||c.$$is_boolean&&1!=c?(c=(X=j.$attributes()["$[]"]("stem"))["$nil_or_empty?"]())===u||c.$$is_boolean&&1!=c?X:"asciimath":(c=Y["$include?"]("tex"))===u||c.$$is_boolean&&1!=c?"asciimath":"latexmath"),D=this.$build_block("stem","raw",N,i,n,a);else if("open"["$==="](b)||"sidebar"["$==="](b))D=this.$build_block(B,"compound",N,i,n,a);else if("table"["$==="](b))B=n.$cursor(),B=x.get("Reader").$new(n.$read_lines_until(p(["terminator","skip_line_comments"],{terminator:N,skip_line_comments:!0})),B),b=N.$chr(),","["$==="](b)?a["$[]="]("format","csv"):":"["$==="](b)&&a["$[]="]("format","dsv"),D=this.$next_table(B,i,a);else if("quote"["$==="](b)||"verse"["$==="](b))x.get("AttributeList").$rekey(a,[u,"attribution","citetitle"]),D=this.$build_block(B,B["$=="]("verse")?"verbatim":"compound",N,i,n,a);else if((c=(h=!1!==A&&A!==u)?U=T["$registered_for_block?"](B,I):A)===u||c.$$is_boolean&&1!=c)this.$raise("Unsupported block type "+B+" at "+n.$line_info());else if((c=(R=U.$config()["$[]"]("content_model"))["$!="]("skip"))===u||c.$$is_boolean&&1!=c||((c=(Z=!1!==(h=U.$config()["$[]"]("pos_attrs"))&&h!==u?h:[])["$empty?"]()["$!"]())===u||c.$$is_boolean&&1!=c||x.get("AttributeList").$rekey(a,[u].$concat(Z)),(c=D=U.$config()["$[]"]("default_attrs"))===u||c.$$is_boolean&&1!=c||(c=(h=D).$each,c.$$p=(w=function(e,t){var r,n,o;return null==e&&(e=u),null==t&&(t=u),r=e,n=a,!1!==(o=n["$[]"](r))&&o!==u?o:n["$[]="](r,t)},w.$$s=this,w),c).call(h)),D=this.$build_block(B,R,N,i,n,a,p(["extension"],{extension:U})),(c=(g=!1!==D&&D!==u)?R["$!="]("skip"):D)===u||c.$$is_boolean&&1!=c)return a.$clear(),u}}else n.$advance();return!1!==D&&D!==u&&(!1!==M&&M!==u&&(d=[M],c=D,c["$source_location="].apply(c,d),d[d.length-1]),((d=D["$title?"]())===u||d.$$is_boolean&&1!=d)&&(d=[a["$[]"]("title")],c=D,c["$title="].apply(c,d),d[d.length-1]),D.$context()["$=="]("image")?(E=a["$[]"]("target"),D.$document().$register("images",E),d="alt",c=a,!1!==(g=c["$[]"](d))&&g!==u?g:c["$[]="](d,x.get("Helpers").$basename(E,!0).$tr("_-"," ")),a["$[]="]("alt",D.$sub_specialchars(a["$[]"]("alt"))),D.$assign_caption(a.$delete("caption"),"figure"),(d=J=a["$[]"]("scaledwidth"))===u||d.$$is_boolean&&1!=d||(d=f(48,57,!1)["$include?"]((!1!==(c=J["$[]"](-1))&&c!==u?c:0).$ord()))===u||d.$$is_boolean&&1!=d||a["$[]="]("scaledwidth",""+J+"%")):(d=D,!1!==(c=d.$caption())&&c!==u?c:d["$caption="](a.$delete("caption"))),d=[a["$[]"]("style")],c=D,c["$style="].apply(c,d),d[d.length-1],c=D,(d=Q=!1!==(g=c.$id())&&g!==u?g:c["$id="](a["$[]"]("id")))===u||d.$$is_boolean&&1!=d||j.$register("ids",[Q,!1!==(d=a["$[]"]("reftext"))&&d!==u?d:(c=D["$title?"]())===u||c.$$is_boolean&&1!=c?u:D.$title()]),((d=a["$empty?"]())===u||d.$$is_boolean&&1!=d)&&D.$attributes().$update(a),D.$lock_in_subs(),(d=D["$sub?"]("callouts"))===u||d.$$is_boolean&&1!=d||!((d=this.$catalog_callouts(D.$source(),j))===u||d.$$is_boolean&&1!=d)||D.$remove_sub("callouts")),D}),e.defs(w,"$blockquote?",function(e,t){var n,o,s;return null==t&&(t=u),o=r(e.$size(),1)?(!1!==(s=t)&&s!==u?s:e["$[]"](0))["$start_with?"]('"'):r(e.$size(),1),n=!1!==o&&o!==u?e["$[]"](-1)["$start_with?"]("-- "):o,!1!==n&&n!==u?e["$[]"](-2)["$end_with?"]('"'):n}),e.defs(w,"$read_paragraph_lines",function(e,t,r){var n,o=u;return null==r&&(r=p([],{})),r["$[]="]("break_on_blank_lines",!0),r["$[]="]("break_on_list_continuation",!0),r["$[]="]("preserve_last_line",!0),o=!1!==t&&t!==u?(n=x.get("Compliance").$block_terminates_paragraph())===u||n.$$is_boolean&&1!=n?x.get("StartOfListProc"):x.get("StartOfBlockOrListProc"):(n=x.get("Compliance").$block_terminates_paragraph())===u||n.$$is_boolean&&1!=n?x.get("NoOp"):x.get("StartOfBlockProc"),(n=e.$read_lines_until,n.$$p=o.$to_proc(),n).call(e,r)}),e.defs(w,"$is_delimited_block?",function(t,o){var l,d,c=u,p=u,h=u,m=u,h=c=d=u;if(null==o&&(o=!1),(l=(d=r(c=t.$length(),1))?x.get("DELIMITED_BLOCK_LEADERS")["$include?"](t["$[]"](f(0,1,!1))):r(c=t.$length(),1))===u||l.$$is_boolean&&1!=l)return u;if(c["$=="](2))p=t,h=2;else{if(i(c,4)?(p=t,h=c):(p=t["$[]"](f(0,3,!1)),h=4),m=!1,(l=x.get("Compliance").$markdown_syntax())!==u&&(!l.$$is_boolean||1==l)&&(d=h["$=="](4)?p.$chop():p,d["$=="]("```"))){if((l=h["$=="](4)?p["$end_with?"]("`"):h["$=="](4))!==u&&(!l.$$is_boolean||1==l))return u;p=d,h=3,m=!0}if((l=(d=h["$=="](3))?m["$!"]():h["$=="](3))!==u&&(!l.$$is_boolean||1==l))return u}return(l=x.get("DELIMITED_BLOCKS")["$has_key?"](p))===u||l.$$is_boolean&&1!=l?u:(l=!1!==(d=a(h,4))&&d!==u?d:h["$=="](c))===u||l.$$is_boolean&&1!=l?(""+p+n(p["$[]"](f(-1,-1,!1)),s(c,h)))["$=="](t)?!1===o||o===u||(l=e.to_a(x.get("DELIMITED_BLOCKS")["$[]"](p)),c=null==l[0]?u:l[0],h=null==l[1]?u:l[1],x.get("BlockMatchData").$new(c,h,p,t)):u:!1===o||o===u||(l=e.to_a(x.get("DELIMITED_BLOCKS")["$[]"](p)),c=null==l[0]?u:l[0],h=null==l[1]?u:l[1],x.get("BlockMatchData").$new(c,h,p,p))}),e.defs(w,"$build_block",function(e,t,n,o,s,i,a){var l,d,c=u,h=u,f=c=h=u,f=f=f=f=u;if(null==a&&(a=p([],{})),(l=!1!==(d=t["$=="]("skip"))&&d!==u?d:t["$=="]("raw"))===u||l.$$is_boolean&&1!=l?(c=!1,h=t):(c=t["$=="]("skip"),h="simple"),(l=n["$nil?"]())===u||l.$$is_boolean&&1!=l?(l=h["$!="]("compound"))===u||l.$$is_boolean&&1!=l?n["$=="](!1)?(h=u,c=s):(h=u,f=s.$cursor(),c=x.get("Reader").$new(s.$read_lines_until(p(["terminator","skip_processing"],{terminator:n,skip_processing:c})),f)):(h=s.$read_lines_until(p(["terminator","skip_processing"],{terminator:n,skip_processing:c})),c=u):(h["$=="]("verbatim")?h=s.$read_lines_until(p(["break_on_blank_lines","break_on_list_continuation"],{break_on_blank_lines:!0,break_on_list_continuation:!0})):(t["$=="]("compound")&&(t="simple"),h=this.$read_paragraph_lines(s,!1,p(["skip_line_comments","skip_processing"],{skip_line_comments:!0,skip_processing:!0}))),c=u),t["$=="]("skip"))return i.$clear(),h;if(t["$=="]("verbatim")&&((l=f=i["$[]"]("indent"))===u||l.$$is_boolean&&1!=l?r(f=(!1!==(l=i["$[]"]("tabsize"))&&l!==u?l:o.$document().$attributes()["$[]"]("tabsize")).$to_i(),0)&&this["$adjust_indentation!"](h,u,f):this["$adjust_indentation!"](h,f,!1!==(l=i["$[]"]("tabsize"))&&l!==u?l:o.$document().$attributes()["$[]"]("tabsize"))),(l=f=a["$[]"]("extension"))===u||l.$$is_boolean&&1!=l)f=x.get("Block").$new(o,e,p(["content_model","source","attributes"],{content_model:t,source:h,attributes:i}));else{if(i.$delete("style"),(l=f=f.$process_method()["$[]"](o,!1!==(d=c)&&d!==u?d:x.get("Reader").$new(h),i.$dup()))===u||l.$$is_boolean&&1!=l)return u;i.$replace(f.$attributes()),(l=(d=f.$content_model()["$=="]("compound"))?(h=f.$lines())["$nil_or_empty?"]()["$!"]():f.$content_model()["$=="]("compound"))===u||l.$$is_boolean&&1!=l||(t="compound",c=x.get("Reader").$new(h))}return d=i["$has_key?"]("title"),(l=!1!==d&&d!==u?f.$document()["$attr?"](""+f.$context()+"-caption"):d)===u||l.$$is_boolean&&1!=l||(l=[i.$delete("title")],d=f,d["$title="].apply(d,l),l[l.length-1],f.$assign_caption(i.$delete("caption"))),t["$=="]("compound")&&this.$parse_blocks(c,f),f}),e.defs(w,"$parse_blocks",function(e,t){for(var r,n=u;(r=e["$has_more_lines?"]())!==u&&(!r.$$is_boolean||1==r);)n=x.get("Parser").$next_block(e,t),!1!==n&&n!==u&&t["$<<"](n)}),e.defs(w,"$next_outline_list",function(e,n,o){var s,i,l,d=u,c=u,p=s=u,h=u,f=u,d=x.get("List").$new(o,n);for(s=o.$context()["$=="](n)?[t(o.$level(),1)]:[1],i=d,i["$level="].apply(i,s),s[s.length-1];l=e["$has_more_lines?"](),(i=!1!==l&&l!==u?c=x.get("ListRxMap")["$[]"](n).$match(e.$peek_line()):l)!==u&&(!i.$$is_boolean||1==i);){if(s=this.$resolve_list_marker(n,c["$[]"](1)),l=d["$items?"](),(i=!1!==l&&l!==u?s["$!="](d.$items()["$[]"](0).$marker()):l)===u||i.$$is_boolean&&1!=i)p=d.$level();else for(p=t(d.$level(),1),h=o;h.$context()["$=="](n);){if(s["$=="](h.$items()["$[]"](0).$marker())){p=h.$level();break}h=h.$parent()}if((i=!1!==(l=d["$items?"]()["$!"]())&&l!==u?l:p["$=="](d.$level()))===u||i.$$is_boolean&&1!=i){if(a(p,d.$level()))break;r(p,d.$level())&&d.$items()["$[]"](-1)["$<<"](this.$next_block(e,d))}else f=this.$next_list_item(e,d,c);!1!==f&&f!==u&&d["$<<"](f),f=u,e.$skip_blank_lines()}return d}),e.defs(w,"$catalog_callouts",function(e,t){var r,n,o=u,o=!1;return(r=e["$include?"]("<"))===u||r.$$is_boolean&&1!=r||(r=e.$scan,r.$$p=(n=function(){var e,r=u;return null==m["~"]&&(m["~"]=u),r=m["~"],(e=r["$[]"](0).$chr()["$!="]("\\"))===u||e.$$is_boolean&&1!=e||t.$callouts().$register(r["$[]"](2)),o=!0},n.$$s=this,n),r).call(e,x.get("CalloutQuickScanRx")),o}),e.defs(w,"$catalog_inline_anchors",function(e,t){var r,n;return(r=e["$include?"]("["))===u||r.$$is_boolean&&1!=r||(r=e.$scan,r.$$p=(n=function(){var e,r=u,n=u,r=u;return null==m["~"]&&(m["~"]=u),r=m["~"],(e=r["$[]"](0)["$start_with?"]("\\"))===u||e.$$is_boolean&&1!=e?(n=!1!==(e=r["$[]"](1))&&e!==u?e:r["$[]"](3),r=!1!==(e=r["$[]"](2))&&e!==u?e:r["$[]"](4),t.$register("ids",[n,r])):u},n.$$s=this,n),r).call(e,x.get("InlineAnchorRx")),u}),e.defs(w,"$next_labeled_list",function(t,r,n){for(var o,s,i,a=u,l=u,d=u,c=u,p=u,a=x.get("List").$new(n,"dlist"),l=u,d=x.get("DefinitionListSiblingRx")["$[]"](r["$[]"](2));(o=!1!==(s=r)&&s!==u?s:(i=t["$has_more_lines?"](),!1!==i&&i!==u?r=d.$match(t.$peek_line()):i))!==u&&(!o.$$is_boolean||1==o);)o=e.to_ary(this.$next_list_item(t,a,r,d)),c=null==o[0]?u:o[0],p=null==o[1]?u:o[1],(o=(s=!1!==l&&l!==u)?l["$[]"](-1)["$!"]():l)===u||o.$$is_boolean&&1!=o?a.$items()["$<<"](l=[[c],p]):(l.$pop(),l["$[]"](0)["$<<"](c),l["$<<"](p)),r=u;return a}),e.defs(w,"$next_list_item",function(e,t,r,n){var o,s,i=u,a=u,l=u,d=u,c=l=u,h=c=c=d=u,m=u,b=m=h=u,v=u;if(null==n&&(n=u),(i=t.$context())["$=="]("dlist")?(a=x.get("ListItem").$new(t,r["$[]"](1)),l=x.get("ListItem").$new(t,r["$[]"](3)),d=r["$[]"](3)["$nil_or_empty?"]()["$!"]()):(l=r["$[]"](2),c=!1,(o=(s=i["$=="]("ulist"))?l["$start_with?"]("["):i["$=="]("ulist"))===u||o.$$is_boolean&&1!=o||((o=l["$start_with?"]("[ ] "))===u||o.$$is_boolean&&1!=o?(o=!1!==(s=l["$start_with?"]("[x] "))&&s!==u?s:l["$start_with?"]("[*] "))===u||o.$$is_boolean&&1!=o||(d=c=!0,l=l["$[]"](f(3,-1,!1)).$lstrip()):(c=!0,d=!1,l=l["$[]"](f(3,-1,!1)).$lstrip())),l=x.get("ListItem").$new(t,l),!1!==c&&c!==u&&(t.$attributes()["$[]="]("checklist-option",""),l.$attributes()["$[]="]("checkbox",""),!1!==d&&d!==u)&&l.$attributes()["$[]="]("checked",""),!1!==(o=n)&&o!==u?o:n=this.$resolve_list_marker(i,r["$[]"](1),t.$items().$size(),!0,e),o=[n],s=l,s["$marker="].apply(s,o),o[o.length-1],d=!0),e.$advance(),c=e.$cursor(),c=x.get("Reader").$new(this.$read_lines_for_list_item(e,i,n,d),c),(o=c["$has_more_lines?"]())!==u&&(!o.$$is_boolean||1==o)){for(h=c.$skip_line_comments(),m=c.$peek_line(),((o=h["$empty?"]())===u||o.$$is_boolean&&1!=o)&&c.$unshift_lines(h),(o=m["$nil?"]()["$!"]())===u||o.$$is_boolean&&1!=o?m=h=!1:(h=m["$empty?"](),s=h["$!"](),(o=!1!==s&&s!==u?i["$!="]("dlist"):s)===u||o.$$is_boolean&&1!=o||(d=!1),o=h["$!"](),m=!1!==o&&o!==u?m["$empty?"]()["$!"]():o),b=p(["text"],{text:d["$!"]()});(s=c["$has_more_lines?"]())!==u&&(!s.$$is_boolean||1==s);)(s=v=this.$next_block(c,l,p([],{}),b))===u||s.$$is_boolean&&1!=s||l["$<<"](v);l.$fold_first(h,m)}return i["$=="]("dlist")?(((o=!1!==(s=l["$text?"]())&&s!==u?s:l["$blocks?"]())===u||o.$$is_boolean&&1!=o)&&(l=u),[a,l]):l}),e.defs(w,"$read_lines_for_list_item",function(e,t,r,n){var o,s,i,a,l,d,c,h,f,b,v,_,g,y=u,$=u,w=u,E=u,P=u,C=u,C=a=u;for(null==m["~"]&&(m["~"]=u),null==r&&(r=u),null==n&&(n=!0),y=[],$="inactive",w=!1,E=u;(s=e["$has_more_lines?"]())!==u&&(!s.$$is_boolean||1==s)&&(P=e.$read_line(),(s=this["$is_sibling_list_item?"](P,t,r))===u||s.$$is_boolean&&1!=s);)if(C=(s=y["$empty?"]())===u||s.$$is_boolean&&1!=s?y["$[]"](-1):u,C["$=="](x.get("LIST_CONTINUATION"))&&($["$=="]("inactive")&&($="active",n=!0,!1===w||w===u)&&y["$[]="](-1,""),P["$=="](x.get("LIST_CONTINUATION"))))(s=$["$!="]("frozen"))===u||s.$$is_boolean&&1!=s||($="frozen",y["$<<"](P)),P=u;else{if((s=a=this["$is_delimited_block?"](P,!0))===u||s.$$is_boolean&&1!=s){if(i=(a=t["$=="]("dlist"))?$["$!="]("active"):t["$=="]("dlist"),!((s=!1!==i&&i!==u?x.get("BlockAttributeLineRx")["$=~"](P):i)===u||s.$$is_boolean&&1!=s))break;if((s=(i=$["$=="]("active"))?P["$empty?"]()["$!"]():$["$=="]("active"))===u||s.$$is_boolean&&1!=s)if(a=C["$nil?"]()["$!"](),(s=!1!==a&&a!==u?C["$empty?"]():a)===u||s.$$is_boolean&&1!=s)(s=P["$empty?"]()["$!"]())===u||s.$$is_boolean&&1!=s||(n=!0),(s=C=(v=(_=!1!==w&&w!==u?["dlist"]:x.get("NESTABLE_LIST_CONTEXTS")).$detect,v.$$p=(g=function(e){return null==e&&(e=u),x.get("ListRxMap")["$[]"](e)["$=~"](P)},g.$$s=this,g),v).call(_))===u||s.$$is_boolean&&1!=s||(w=!0,(s=(v=C["$=="]("dlist"))?m["~"]["$[]"](3)["$nil_or_empty?"]():C["$=="]("dlist"))===u||s.$$is_boolean&&1!=s||(n=!1)),y["$<<"](P);else{if(!((s=P["$empty?"]())===u||s.$$is_boolean&&1!=s||(e.$skip_blank_lines(),P=e.$read_line(),(s=!1!==(a=P["$nil?"]())&&a!==u?a:this["$is_sibling_list_item?"](P,t,r))===u||s.$$is_boolean&&1!=s)))break;if(P["$=="](x.get("LIST_CONTINUATION")))E=y.$size(),y["$<<"](P);else if(!1!==n&&n!==u){if(!((s=this["$is_sibling_list_item?"](P,t,r))===u||s.$$is_boolean&&1!=s))break;if((s=C=(a=(h=x.get("NESTABLE_LIST_CONTEXTS")).$detect,a.$$p=(f=function(e){return null==e&&(e=u),x.get("ListRxMap")["$[]"](e)["$=~"](P)},f.$$s=this,f),a).call(h))===u||s.$$is_boolean&&1!=s){if((s=x.get("LiteralParagraphRx")["$=~"](P))===u||s.$$is_boolean&&1!=s)break;e.$unshift_line(P),y.$concat((s=(a=e).$read_lines_until,s.$$p=(b=function(e){var n=b.$$s||this;return null==e&&(e=u),t["$=="]("dlist")?n["$is_sibling_list_item?"](e,t,r):t["$=="]("dlist")},b.$$s=this,b),s).call(a,p(["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 y["$<<"](P),w=!0,(s=(a=C["$=="]("dlist"))?m["~"]["$[]"](3)["$nil_or_empty?"]():C["$=="]("dlist"))===u||s.$$is_boolean&&1!=s||(n=!1)}else!1!==w&&w!==u||y.$pop(),y["$<<"](P),n=!0}else(s=x.get("LiteralParagraphRx")["$=~"](P))===u||s.$$is_boolean&&1!=s?(s=!1!==(a=!1!==(d=x.get("BlockTitleRx")["$=~"](P))&&d!==u?d:x.get("BlockAttributeLineRx")["$=~"](P))&&a!==u?a:x.get("AttributeEntryRx")["$=~"](P))===u||s.$$is_boolean&&1!=s?((s=C=(a=(d=!1!==w&&w!==u?["dlist"]:x.get("NESTABLE_LIST_CONTEXTS")).$detect,a.$$p=(c=function(e){return null==e&&(e=u),x.get("ListRxMap")["$[]"](e)["$=~"](P)},c.$$s=this,c),a).call(d))===u||s.$$is_boolean&&1!=s||(w=!0,(s=(a=C["$=="]("dlist"))?m["~"]["$[]"](3)["$nil_or_empty?"]():C["$=="]("dlist"))===u||s.$$is_boolean&&1!=s||(n=!1)),y["$<<"](P),$="inactive"):y["$<<"](P):(e.$unshift_line(P),y.$concat((s=(i=e).$read_lines_until,s.$$p=(l=function(e){var n=l.$$s||this;return null==e&&(e=u),t["$=="]("dlist")?n["$is_sibling_list_item?"](e,t,r):t["$=="]("dlist")},l.$$s=this,l),s).call(i,p(["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}))),$="inactive")}else{if(!$["$=="]("active"))break;y["$<<"](P),y.$concat(e.$read_lines_until(p(["terminator","read_last_line"],{terminator:a.$terminator(),read_last_line:!0}))),$="inactive"}P=u}for(!1!==P&&P!==u&&e.$unshift_line(P),!1!==E&&E!==u&&y.$delete_at(E);v=y["$empty?"]()["$!"](),(s=!1!==v&&v!==u?y["$[]"](-1)["$empty?"]():v)!==u&&(!s.$$is_boolean||1==s);)y.$pop();return s=y["$empty?"]()["$!"](),(o=!1!==s&&s!==u?y["$[]"](-1)["$=="](x.get("LIST_CONTINUATION")):s)===u||o.$$is_boolean&&1!=o||y.$pop(),y}),e.defs(w,"$initialize_section",function(t,r,n){var o,s=u,i=u,a=u,l=u,d=u,c=u,h=a=l=u;return null==n&&(n=p([],{})),s=r.$document(),(o=s.$sourcemap())===u||o.$$is_boolean&&1!=o||(i=t.$cursor()),o=e.to_ary(this.$parse_section_title(t,s)),a=null==o[0]?u:o[0],l=null==o[1]?u:o[1],d=null==o[2]?u:o[2],c=null==o[3]?u:o[3],!1!==l&&l!==u&&n["$[]="]("reftext",l),l=x.get("Section").$new(r,c,s.$attributes()["$has_key?"]("sectnums")),!1!==i&&i!==u&&(o=[i],r=l,r["$source_location="].apply(r,o),o[o.length-1]),o=[a],r=l,r["$id="].apply(r,o),o[o.length-1],o=[d],r=l,r["$title="].apply(r,o),o[o.length-1],(o=n["$[]"](1))===u||o.$$is_boolean&&1!=o?((o=d.$downcase()["$=="]("synopsis")?s.$doctype()["$=="]("manpage"):d.$downcase()["$=="]("synopsis"))===u||o.$$is_boolean&&1!=o?o=["sect"+l.$level()]:(o=[!0],r=l,r["$special="].apply(r,o),o[o.length-1],o=["synopsis"]),r=l,r["$sectname="].apply(r,o),o[o.length-1]):(o=e.to_ary(this.$parse_style_attribute(n,t)),a=null==o[0]?u:o[0],!1!==a&&a!==u?(o=[a],r=l,r["$sectname="].apply(r,o),o[o.length-1],o=[!0],r=l,r["$special="].apply(r,o),o[o.length-1],(o=(r=l.$sectname()["$=="]("abstract"))?s.$doctype()["$=="]("book"):l.$sectname()["$=="]("abstract"))===u||o.$$is_boolean&&1!=o||(o=["sect1"],r=l,r["$sectname="].apply(r,o),o[o.length-1],o=[!1],r=l,r["$special="].apply(r,o),o[o.length-1],o=[1],r=l,r["$level="].apply(r,o),o[o.length-1])):(o=["sect"+l.$level()],r=l,r["$sectname="].apply(r,o),o[o.length-1])),r=l.$id()["$!"](),(o=!1!==r&&r!==u?h=n["$[]"]("id"):r)===u||o.$$is_boolean&&1!=o?(o=l,!1!==(r=o.$id())&&r!==u?r:o["$id="](l.$generate_id())):(o=[h],r=l,r["$id="].apply(r,o),o[o.length-1]),(o=l.$id())===u||o.$$is_boolean&&1!=o||l.$document().$register("ids",[l.$id(),!1!==(o=n["$[]"]("reftext"))&&o!==u?o:l.$title()]),l.$update_attributes(n),t.$skip_blank_lines(),l}),e.defs(w,"$section_level",function(e){return x.get("SECTION_LEVELS")["$[]"](e.$chr())}),e.defs(w,"$single_line_section_level",function(e){return s(e.$length(),1)}),e.defs(w,"$is_next_line_section?",function(t,r){var n,o,s,i,a=u,l=u;return s=(a=r["$[]"](1))["$nil?"]()["$!"](),o=!1!==s&&s!==u?!1!==(i=(l=a["$[]"](0).$ord())["$=="](100))&&i!==u?i:l["$=="](102):s,!(!((n=!1!==o&&o!==u?a["$=~"](x.get("FloatingTitleStyleRx")):o)===u||n.$$is_boolean&&1!=n)||(n=t["$has_more_lines?"]())===u||n.$$is_boolean&&1!=n)&&((n=x.get("Compliance").$underline_style_section_titles())===u||n.$$is_boolean&&1!=n?this["$is_section_title?"](t.$peek_line()):(n=this)["$is_section_title?"].apply(n,e.to_a(t.$peek_lines(2))))}),e.defs(w,"$is_next_line_document_title?",function(e,t){return this["$is_next_line_section?"](e,t)["$=="](0)}),e.defs(w,"$is_section_title?",function(e,t){var r,n=u;return null==t&&(t=u),(r=n=this["$is_single_line_section_title?"](e))===u||r.$$is_boolean&&1!=r?!((r=!1!==t&&t!==u?n=this["$is_two_line_section_title?"](e,t):t)===u||r.$$is_boolean&&1!=r)&&n:n}),e.defs(w,"$is_single_line_section_title?",function(e){var t,r,n,o,s=u,i=u,s=!1!==e&&e!==u?e.$chr():u;return r=!1!==(n=s["$=="]("="))&&n!==u?n:(o=x.get("Compliance").$markdown_syntax(),!1!==o&&o!==u?s["$=="]("#"):o),!((t=!1!==r&&r!==u?i=x.get("AtxSectionRx").$match(e):r)===u||t.$$is_boolean&&1!=t)&&this.$single_line_section_level(i["$[]"](1))}),e.defs(w,"$is_two_line_section_title?",function(e,t){var r,n,o,a,l;return l=!1!==e&&e!==u?t:e,a=!1!==l&&l!==u?x.get("SECTION_LEVELS")["$has_key?"](t.$chr()):l,o=!1!==a&&a!==u?t["$=~"](x.get("SetextSectionLineRx")):a,n=!1!==o&&o!==u?e["$=~"](x.get("SetextSectionTitleRx")):o,!((r=!1!==n&&n!==u?i(s(this.$line_length(e),this.$line_length(t)).$abs(),1):n)===u||r.$$is_boolean&&1!=r)&&this.$section_level(t)}),e.defs(w,"$parse_section_title",function(e,r){var n,a,l,d,c,p=u,h=u,f=u,m=u,b=u,v=u,_=u,g=u,y=u,$=u,w=u,p=e.$read_line(),f=h=u,m=-1,b=u,v=!0,_=p.$chr();return a=!1!==(l=_["$=="]("="))&&l!==u?l:(d=x.get("Compliance").$markdown_syntax(),!1!==d&&d!==u?_["$=="]("#"):d),(n=!1!==a&&a!==u?g=x.get("AtxSectionRx").$match(p):a)===u||n.$$is_boolean&&1!=n?(n=x.get("Compliance").$underline_style_section_titles())===u||n.$$is_boolean&&1!=n||(c=$=e.$peek_line(!0),d=!1!==c&&c!==u?x.get("SECTION_LEVELS")["$has_key?"]($.$chr()):c,l=!1!==d&&d!==u?$["$=~"](x.get("SetextSectionLineRx")):d,a=!1!==l&&l!==u?w=x.get("SetextSectionTitleRx").$match(p):l,(n=!1!==a&&a!==u?i(s(this.$line_length(p),this.$line_length($)).$abs(),1):a)===u)||n.$$is_boolean&&1!=n||(f=w["$[]"](1),a=f["$end_with?"]("]]"),(n=!1!==a&&a!==u?y=x.get("InlineSectionAnchorRx").$match(f):a)===u||n.$$is_boolean&&1!=n||(n=y["$[]"](2)["$nil?"]())===u||n.$$is_boolean&&1!=n||(f=y["$[]"](1),h=y["$[]"](3),b=y["$[]"](4)),m=this.$section_level($),v=!1,e.$advance()):(m=this.$single_line_section_level(g["$[]"](1)),f=g["$[]"](2),a=f["$end_with?"]("]]"),(n=!1!==a&&a!==u?y=x.get("InlineSectionAnchorRx").$match(f):a)===u||n.$$is_boolean&&1!=n||(n=y["$[]"](2)["$nil?"]())===u||n.$$is_boolean&&1!=n||(f=y["$[]"](1),h=y["$[]"](3),b=y["$[]"](4))),o(m,0)&&(m=t(m,r.$attr("leveloffset",0).$to_i())),[h,b,f,m,v]}),e.defs(w,"$line_length",function(e){var t;return(t=x.get("FORCE_UNICODE_LINE_LENGTH"))===u||t.$$is_boolean&&1!=t?e.$length():e.$scan(x.get("UnicodeCharScanRx")).$length()}),e.defs(w,"$parse_header_metadata",function(n,o){var s,i,a,l,d,c,h=u,m=u,b=u,v=u,_=v=u,g=u,y=_=u,b=m=u;if(null==o&&(o=u),this.$process_attribute_entries(n,o),h=p([],{}),b=m=u,i=n["$has_more_lines?"](),(s=!1!==i&&i!==u?n["$next_line_empty?"]()["$!"]():i)===u||s.$$is_boolean&&1!=s||(v=this.$process_authors(n.$read_line()),((s=v["$empty?"]())===u||s.$$is_boolean&&1!=s)&&(!1!==o&&o!==u&&((s=(i=v).$each,s.$$p=(a=function(t,r){var n;return null==t&&(t=u),null==r&&(r=u),(n=o.$attributes()["$has_key?"](t))===u||n.$$is_boolean&&1!=n?o.$attributes()["$[]="](t,(n=r["$is_a?"](e.get("String")))===u||n.$$is_boolean&&1!=n?r:o.$apply_header_subs(r)):u},a.$$s=this,a),s).call(i),m=o.$attributes()["$[]"]("author"),b=o.$attributes()["$[]"]("authors")),h=v),this.$process_attribute_entries(n,o),v=p([],{}),l=n["$has_more_lines?"](),(s=!1!==l&&l!==u?n["$next_line_empty?"]()["$!"]():l)===u||s.$$is_boolean&&1!=s||(_=n.$read_line(),(s=g=x.get("RevisionInfoLineRx").$match(_))===u||s.$$is_boolean&&1!=s?n.$unshift_line(_):((s=g["$[]"](1))===u||s.$$is_boolean&&1!=s||v["$[]="]("revnumber",g["$[]"](1).$rstrip()),(_=g["$[]"](2).$strip())["$=="]("")||(l=g["$[]"](1)["$!"](),(s=!1!==l&&l!==u?_["$start_with?"]("v"):l)===u||s.$$is_boolean&&1!=s?v["$[]="]("revdate",_):v["$[]="]("revnumber",_["$[]"](f(1,-1,!1)))),(s=g["$[]"](3))===u||s.$$is_boolean&&1!=s||v["$[]="]("revremark",g["$[]"](3).$rstrip()))),((s=v["$empty?"]())===u||s.$$is_boolean&&1!=s)&&(!1!==o&&o!==u&&(s=(l=v).$each,s.$$p=(d=function(e,t){var r;return null==e&&(e=u),null==t&&(t=u),(r=o.$attributes()["$has_key?"](e))===u||r.$$is_boolean&&1!=r?o.$attributes()["$[]="](e,o.$apply_header_subs(t)):u},d.$$s=this,d),s).call(l),h.$update(v)),this.$process_attribute_entries(n,o),n.$skip_blank_lines()),!1!==o&&o!==u){if(v=u,c=o.$attributes()["$has_key?"]("author"),(s=!1!==c&&c!==u?(y=o.$attributes()["$[]"]("author"))["$!="](m):c)===u||s.$$is_boolean&&1!=s)if(c=o.$attributes()["$has_key?"]("authors"),(s=!1!==c&&c!==u?(y=o.$attributes()["$[]"]("authors"))["$!="](b):c)===u||s.$$is_boolean&&1!=s){for(m=[],b="author_"+t(m.$size(),1);(c=o.$attributes()["$has_key?"](b))!==u&&(!c.$$is_boolean||1==c);)m["$<<"](o.$attributes()["$[]"](b)),b="author_"+t(m.$size(),1);m.$size()["$=="](1)?v=this.$process_authors(m["$[]"](0),!0,!1):r(m.$size(),1)&&(v=this.$process_authors(m.$join("; "),!0))}else v=this.$process_authors(y,!0);else v=this.$process_authors(y,!0,!1);!1===v||v===u||(o.$attributes().$update(v),c=o.$attributes()["$has_key?"]("email")["$!"](),(s=!1!==c&&c!==u?o.$attributes()["$has_key?"]("email_1"):c)===u||s.$$is_boolean&&1!=s)||o.$attributes()["$[]="]("email",o.$attributes()["$[]"]("email_1"))}return h}),e.defs(w,"$process_authors",function(e,n,o){var s,i,a,l,d,c=this,h=u,m=u,b=u;return null==n&&(n=!1),null==o&&(o=!0),h=p([],{}),m="author authorinitials firstname middlename lastname email".split(" "),b=function(){return!1!==o&&o!==u?(s=(i=e.$split(";")).$map,s.$$p=(a=function(e){return null==e&&(e=u),e.$strip()},a.$$s=c,a),s).call(i):[e]}(),(s=(l=b).$each_with_index,s.$$p=(d=function(e,o){var s,i,a,l,c,b,v,_=d.$$s||this,g=u,y=u,$=u,w=$=u,E=u;return null==e&&(e=u),null==o&&(o=u),(s=e["$empty?"]())===u||s.$$is_boolean&&1!=s?(g=p([],{}),(s=o["$zero?"]())===u||s.$$is_boolean&&1!=s?(s=(l=m).$each,s.$$p=(c=function(e){return null==e&&(e=u),g["$[]="](e.$to_sym(),""+e+"_"+t(o,1))},c.$$s=_,c),s).call(l):(s=(i=m).$each,s.$$p=(a=function(e){return null==e&&(e=u),g["$[]="](e.$to_sym(),e)},a.$$s=_,a),s).call(i),y=u,!1!==n&&n!==u?r((y=e.$split(" ")).$size(),3)&&(y=y["$[]"](f(0,1,!1)).$push(y["$[]"](f(2,-1,!1)).$join(" "))):(s=$=x.get("AuthorInfoLineRx").$match(e))===u||s.$$is_boolean&&1!=s||(y=$.$to_a(), -y.$shift()),(s=y["$nil?"]())===u||s.$$is_boolean&&1!=s?(h["$[]="](g["$[]"]("firstname"),$=y["$[]"](0).$tr("_"," ")),h["$[]="](g["$[]"]("author"),$),h["$[]="](g["$[]"]("authorinitials"),$["$[]"](0,1)),b=y["$[]"](1)["$nil?"]()["$!"](),(s=!1!==b&&b!==u?y["$[]"](2)["$nil?"]()["$!"]():b)===u||s.$$is_boolean&&1!=s?(s=y["$[]"](1)["$nil?"]()["$!"]())===u||s.$$is_boolean&&1!=s||(h["$[]="](g["$[]"]("lastname"),E=y["$[]"](1).$tr("_"," ")),h["$[]="](g["$[]"]("author"),[$,E].$join(" ")),h["$[]="](g["$[]"]("authorinitials"),[$["$[]"](0,1),E["$[]"](0,1)].$join())):(h["$[]="](g["$[]"]("middlename"),w=y["$[]"](1).$tr("_"," ")),h["$[]="](g["$[]"]("lastname"),E=y["$[]"](2).$tr("_"," ")),h["$[]="](g["$[]"]("author"),[$,w,E].$join(" ")),h["$[]="](g["$[]"]("authorinitials"),[$["$[]"](0,1),w["$[]"](0,1),E["$[]"](0,1)].$join())),((s=!1!==(b=n)&&b!==u?b:y["$[]"](3)["$nil?"]())===u||s.$$is_boolean&&1!=s)&&h["$[]="](g["$[]"]("email"),y["$[]"](3))):(h["$[]="](g["$[]"]("author"),h["$[]="](g["$[]"]("firstname"),$=e.$strip().$tr_s(" "," "))),h["$[]="](g["$[]"]("authorinitials"),$["$[]"](0,1))),h["$[]="]("authorcount",t(o,1)),o["$=="](1)&&(s=(b=m).$each,s.$$p=(v=function(e){var t;return null==e&&(e=u),(t=h["$has_key?"](e))===u||t.$$is_boolean&&1!=t?u:h["$[]="](""+e+"_1",h["$[]"](e))},v.$$s=_,v),s).call(b),(s=o["$zero?"]())===u||s.$$is_boolean&&1!=s?h["$[]="]("authors",""+h["$[]"]("authors")+", "+h["$[]"](g["$[]"]("author"))):h["$[]="]("authors",h["$[]"](g["$[]"]("author")))):u},d.$$s=c,d),s).call(l),h}),e.defs(w,"$parse_block_metadata_lines",function(e,t,r,n){var o;for(null==r&&(r=p([],{})),null==n&&(n=p([],{}));(o=this.$parse_block_metadata_line(e,t,r,n))!==u&&(!o.$$is_boolean||1==o);)e.$advance(),e.$skip_blank_lines();return r}),e.defs(w,"$parse_block_metadata_line",function(e,t,r,n){var o,s,i,a=u,l=u,d=u,l=a=u;if(null==n&&(n=p([],{})),(o=e["$has_more_lines?"]())===u||o.$$is_boolean&&1!=o)return!1;if(a=e.$peek_line(),s=l=a["$start_with?"]("//"),(o=!1!==s&&s!==u?d=x.get("CommentBlockRx").$match(a):s)===u||o.$$is_boolean&&1!=o){if((o=(s=!1!==l&&l!==u)?x.get("CommentLineRx")["$=~"](a):l)===u||o.$$is_boolean&&1!=o)if(i=n["$[]"]("text")["$!"](),s=!1!==i&&i!==u?a["$start_with?"](":"):i,(o=!1!==s&&s!==u?d=x.get("AttributeEntryRx").$match(a):s)===u||o.$$is_boolean&&1!=o)if(i=a["$start_with?"]("["),s=l=!1!==i&&i!==u?a["$end_with?"]("]"):i,(o=!1!==s&&s!==u?d=x.get("BlockAnchorRx").$match(a):s)===u||o.$$is_boolean&&1!=o)if((o=(s=!1!==l&&l!==u)?d=x.get("BlockAttributeListRx").$match(a):l)===u||o.$$is_boolean&&1!=o){if(s=n["$[]"]("text")["$!"](),(o=!1!==s&&s!==u?d=x.get("BlockTitleRx").$match(a):s)===u||o.$$is_boolean&&1!=o)return!1;r["$[]="]("title",d["$[]"](1))}else t.$document().$parse_attributes(d["$[]"](1),[],p(["sub_input","into"],{sub_input:!0,into:r}));else((o=d["$[]"](1)["$nil_or_empty?"]())===u||o.$$is_boolean&&1!=o)&&(r["$[]="]("id",d["$[]"](1)),((o=d["$[]"](2)["$nil?"]())===u||o.$$is_boolean&&1!=o)&&r["$[]="]("reftext",d["$[]"](2)));else this.$process_attribute_entry(e,t,r,d)}else a=d["$[]"](0),e.$read_lines_until(p(["skip_first_line","preserve_last_line","terminator","skip_processing"],{skip_first_line:!0,preserve_last_line:!0,terminator:a,skip_processing:!0}));return!0}),e.defs(w,"$process_attribute_entries",function(e,t,r){var n;for(null==r&&(r=u),e.$skip_comment_lines();(n=this.$process_attribute_entry(e,t,r))!==u&&(!n.$$is_boolean||1==n);)e.$advance(),e.$skip_comment_lines()}),e.defs(w,"$process_attribute_entry",function(e,t,r,n){var o,s,i=u,a=u,l=u,d=u,c=u,p=u;if(null==r&&(r=u),null==n&&(n=u),!1!==(o=n)&&o!==u?o:n=(s=e["$has_more_lines?"]())===u||s.$$is_boolean&&1!=s?u:x.get("AttributeEntryRx").$match(e.$peek_line()),!1!==n&&n!==u){if(i=n["$[]"](1),((o=(a=!1!==(s=n["$[]"](2))&&s!==u?s:"")["$empty?"]())===u||o.$$is_boolean&&1!=o)&&(o=!1!==(s=a["$end_with?"](l=x.get("LINE_CONTINUATION")))&&s!==u?s:a["$end_with?"](l=x.get("LINE_CONTINUATION_LEGACY")))!==u&&(!o.$$is_boolean||1==o))for(a=a.$chop().$rstrip();(s=e.$advance())!==u&&(!s.$$is_boolean||1==s)&&((s=(d=e.$peek_line().$strip())["$empty?"]())===u||s.$$is_boolean&&1!=s)&&((s=c=d["$end_with?"](l))===u||s.$$is_boolean&&1!=s||(d=d.$chop().$rstrip()),p=(s=a["$end_with?"](x.get("LINE_BREAK")))===u||s.$$is_boolean&&1!=s?" ":x.get("EOL"),a=""+a+p+d,!1!==c&&c!==u););return this.$store_attribute(i,a,!1!==t&&t!==u?t.$document():u,r),!0}return!1}),e.defs(w,"$store_attribute",function(e,r,n,o){var i,a=u,a=u;return null==n&&(n=u),null==o&&(o=u),(i=e["$end_with?"]("!"))===u||i.$$is_boolean&&1!=i?(i=e["$start_with?"]("!"))===u||i.$$is_boolean&&1!=i||(r=u,e=e["$[]"](f(1,-1,!1))):(r=u,e=e.$chop()),e=this.$sanitize_attribute_name(e),a=!0,!1!==n&&n!==u&&(e["$=="]("numbered")?e="sectnums":e["$=="]("leveloffset")&&!1!==r&&r!==u&&(a=r.$chr(),"+"["$==="](a)?r=t(n.$attr("leveloffset",0).$to_i(),(!1!==(i=r["$[]"](f(1,-1,!1)))&&i!==u?i:0).$to_i()).$to_s():"-"["$==="](a)&&(r=s(n.$attr("leveloffset",0).$to_i(),(!1!==(i=r["$[]"](f(1,-1,!1)))&&i!==u?i:0).$to_i()).$to_s())),a=!1!==r&&r!==u?n.$set_attribute(e,r):n.$delete_attribute(e)),(i=!1!==a&&a!==u?o:a)===u||i.$$is_boolean&&1!=i||(!1!==r&&r!==u&&(r=n.$attributes()["$[]"](e)),x.get("Document").$$scope.get("AttributeEntry").$new(e,r).$save_to(o)),[e,r]}),e.defs(w,"$resolve_list_marker",function(e,t,r,n,o){var s;return null==r&&(r=0),null==n&&(n=!1),null==o&&(o=u),(s=e["$=="]("olist")?t["$start_with?"](".")["$!"]():e["$=="]("olist"))===u||s.$$is_boolean&&1!=s?e["$=="]("colist")?"<1>":t:this.$resolve_ordered_list_marker(t,r,n,o)}),e.defs(w,"$resolve_ordered_list_marker",function(e,r,n,o){var s,i,a,l=u,d=u,c=u,l=u;return null==r&&(r=0),null==n&&(n=!1),null==o&&(o=u),l=(s=(i=x.get("ORDERED_LIST_STYLES")).$detect,s.$$p=(a=function(t){return null==t&&(t=u),x.get("OrderedListMarkerRxMap")["$[]"](t)["$=~"](e)},a.$$s=this,a),s).call(i),d=c=u,"arabic"["$==="](l)?(!1!==n&&n!==u&&(d=t(r,1),c=e.$to_i()),e="1."):"loweralpha"["$==="](l)?(!1!==n&&n!==u&&(d=t("a"["$[]"](0).$ord(),r).$chr(),c=e.$chomp(".")),e="a."):"upperalpha"["$==="](l)?(!1!==n&&n!==u&&(d=t("A"["$[]"](0).$ord(),r).$chr(),c=e.$chomp(".")),e="A."):"lowerroman"["$==="](l)?(!1!==n&&n!==u&&(d=t(r,1),c=this.$roman_numeral_to_int(e.$chomp(")"))),e="i)"):"upperroman"["$==="](l)&&(!1!==n&&n!==u&&(d=t(r,1),c=this.$roman_numeral_to_int(e.$chomp(")"))),e="I)"),(s=!1!==n&&n!==u?d["$!="](c):n)===u||s.$$is_boolean&&1!=s||this.$warn("asciidoctor: WARNING: "+o.$line_info()+": list item index: expected "+d+", got "+c),e}),e.defs(w,"$is_sibling_list_item?",function(t,r,n){var o,s=u,i=u,a=u;return(o=n["$is_a?"](e.get("Regexp")))===u||o.$$is_boolean&&1!=o?(s=x.get("ListRxMap")["$[]"](r),i=n):(s=n,i=!1),!((o=a=s.$match(t))===u||o.$$is_boolean&&1!=o)&&(!1===i||i===u||i["$=="](this.$resolve_list_marker(r,a["$[]"](1))))}),e.defs(w,"$next_table",function(r,n,o){var s,i,a,l,d,c=u,p=u,h=u,m=u,b=u,v=u,_=u,g=u,y=u,$=u,w=u,_=u,c=x.get("Table").$new(n,o);for((s=o["$has_key?"]("title"))===u||s.$$is_boolean&&1!=s||(s=[o.$delete("title")],i=c,i["$title="].apply(i,s),s[s.length-1],c.$assign_caption(o.$delete("caption"))),i=o["$key?"]("cols"),(s=!1!==i&&i!==u?(p=this.$parse_col_specs(o["$[]"]("cols")))["$empty?"]()["$!"]():i)===u||s.$$is_boolean&&1!=s?h=!1:(c.$create_columns(p),h=!0),m=r.$skip_blank_lines(),b=x.get("Table").$$scope.get("ParserContext").$new(r,c,o),v=-1;(i=r["$has_more_lines?"]())!==u&&(!i.$$is_boolean||1==i);){for(v=t(v,1),_=r.$read_line(),d=m["$=="](0)?v["$zero?"]():m["$=="](0),l=!1!==d&&d!==u?o["$has_key?"]("options")["$!"]():d,a=!1!==l&&l!==u?(g=r.$peek_line())["$nil?"]()["$!"]():l,(i=!1!==a&&a!==u?g["$empty?"]():a)===u||i.$$is_boolean&&1!=i||(i=[!0],a=c,a["$has_header_option="].apply(a,i),i[i.length-1],c.$set_option("header")),b.$format()["$=="]("psv")&&((i=b["$starts_with_delimiter?"](_))===u||i.$$is_boolean&&1!=i?(i=e.to_ary(this.$parse_cell_spec(_,"start",b.$delimiter())),y=null==i[0]?u:i[0],_=null==i[1]?u:i[1],(i=y["$nil?"]()["$!"]())===u||i.$$is_boolean&&1!=i||b.$close_open_cell(y)):(_=_["$[]"](f(1,-1,!1)),b.$close_open_cell())),$=!1;(a=!1!==(l=$["$!"]())&&l!==u?l:_["$empty?"]()["$!"]())!==u&&(!a.$$is_boolean||1==a);)if($=!0,(a=w=b.$match_delimiter(_))===u||a.$$is_boolean&&1!=a)a=[""+b.$buffer()+_+x.get("EOL")],l=b,l["$buffer="].apply(l,a),a[a.length-1],b.$format()["$=="]("csv")&&(a=[""+b.$buffer().$rstrip()+" "],l=b,l["$buffer="].apply(l,a),a[a.length-1]),_="",(a=!1!==(l=b.$format()["$=="]("psv"))&&l!==u?l:(d=b.$format()["$=="]("csv"))?b["$buffer_has_unclosed_quotes?"]():b.$format()["$=="]("csv"))===u||a.$$is_boolean&&1!=a?b.$close_cell(!0):b.$keep_cell_open();else{if(b.$format()["$=="]("csv")){if((a=b["$buffer_has_unclosed_quotes?"](w.$pre_match()))!==u&&(!a.$$is_boolean||1==a)){_=b.$skip_matched_delimiter(w);continue}}else if((a=w.$pre_match()["$end_with?"]("\\"))!==u&&(!a.$$is_boolean||1==a)){if((a=(_=b.$skip_matched_delimiter(w,!0))["$empty?"]())!==u&&(!a.$$is_boolean||1==a)){a=[""+b.$buffer()+x.get("EOL")],l=b,l["$buffer="].apply(l,a),a[a.length-1],b.$keep_cell_open();break}continue}b.$format()["$=="]("psv")?(a=e.to_ary(this.$parse_cell_spec(w.$pre_match(),"end")),y=null==a[0]?u:a[0],_=null==a[1]?u:a[1],b.$push_cell_spec(y),a=[""+b.$buffer()+_]):a=[""+b.$buffer()+w.$pre_match()],l=b,l["$buffer="].apply(l,a),a[a.length-1],(_=w.$post_match())["$=="]("")&&($=!1),b.$close_cell()}((i=b["$cell_open?"]())===u||i.$$is_boolean&&1!=i)&&(m=r.$skip_blank_lines()),((i=r["$has_more_lines?"]())===u||i.$$is_boolean&&1!=i)&&((i=b["$cell_open?"]())===u||i.$$is_boolean&&1!=i||b.$close_cell(!0))}return((s=!1!==(i=(a="colcount",l=c.$attributes(),!1!==(d=l["$[]"](a))&&d!==u?d:l["$[]="](a,c.$columns().$size()))["$=="](0))&&i!==u?i:h)===u||s.$$is_boolean&&1!=s)&&c.$assign_col_widths(),c.$partition_header_footer(o),c}),e.defs(w,"$parse_col_specs",function(t){var r,n,o,s,i,a=u;return(r=t["$include?"](" "))===u||r.$$is_boolean&&1!=r||(t=t.$tr(" ","")),t["$=="](t.$to_i().$to_s())?(r=(n=e.get("Array")).$new,r.$$p=(o=function(){return p(["width"],{width:1})},o.$$s=this,o),r).call(n,t.$to_i()):(a=[],(r=(s=t.$split(",",-1)).$each,r.$$p=(i=function(t){var r,n,o,s=i.$$s||this,l=u,d=u,c=u,h=u;return null==t&&(t=u),t["$=="]("")?a["$<<"](p(["width"],{width:1})):(r=l=x.get("ColumnSpecRx").$match(t))===u||r.$$is_boolean&&1!=r?u:(d=p([],{}),(r=l["$[]"](2))===u||r.$$is_boolean&&1!=r||(r=e.to_ary(l["$[]"](2).$split(".")),c=null==r[0]?u:r[0],h=null==r[1]?u:r[1],n=c["$nil_or_empty?"]()["$!"](),(r=!1!==n&&n!==u?x.get("Table").$$scope.get("ALIGNMENTS")["$[]"]("h")["$has_key?"](c):n)===u||r.$$is_boolean&&1!=r||d["$[]="]("halign",x.get("Table").$$scope.get("ALIGNMENTS")["$[]"]("h")["$[]"](c)),n=h["$nil_or_empty?"]()["$!"](),(r=!1!==n&&n!==u?x.get("Table").$$scope.get("ALIGNMENTS")["$[]"]("v")["$has_key?"](h):n)===u||r.$$is_boolean&&1!=r||d["$[]="]("valign",x.get("Table").$$scope.get("ALIGNMENTS")["$[]"]("v")["$[]"](h))),d["$[]="]("width",(r=l["$[]"](3))===u||r.$$is_boolean&&1!=r?1:l["$[]"](3).$to_i()),n=l["$[]"](4),(r=!1!==n&&n!==u?x.get("Table").$$scope.get("TEXT_STYLES")["$has_key?"](l["$[]"](4)):n)===u||r.$$is_boolean&&1!=r||d["$[]="]("style",x.get("Table").$$scope.get("TEXT_STYLES")["$[]"](l["$[]"](4))),(r=l["$[]"](1))===u||r.$$is_boolean&&1!=r?a["$<<"](d):(r=(n=1).$upto,r.$$p=(o=function(){return a["$<<"](d.$dup())},o.$$s=s,o),r).call(n,l["$[]"](1).$to_i()))},i.$$s=this,i),r).call(s),a)}),e.defs(w,"$parse_cell_spec",function(t,r,n){var o,s,i=u,a=u,l=u,d=l=i=u,c=u;if(null==r&&(r="start"),null==n&&(n=u),i=u,a="",l=r,"start"["$==="](l)){if((o=t["$include?"](n))===u||o.$$is_boolean&&1!=o)return[u,t];if(o=e.to_ary(t.$split(n,2)),i=null==o[0]?u:o[0],a=null==o[1]?u:o[1],(o=i=x.get("CellSpecStartRx").$match(i))===u||o.$$is_boolean&&1!=o)return[u,t];if((o=i["$[]"](0)["$empty?"]())!==u&&(!o.$$is_boolean||1==o))return[p([],{}),a]}else if("end"["$==="](l)){if((o=i=x.get("CellSpecEndRx").$match(t))===u||o.$$is_boolean&&1!=o)return[p([],{}),t];if((o=i["$[]"](0).$lstrip()["$empty?"]())!==u&&(!o.$$is_boolean||1==o))return[p([],{}),t.$rstrip()];a=i.$pre_match()}return l=p([],{}),(o=i["$[]"](1))===u||o.$$is_boolean&&1!=o||(o=e.to_ary(i["$[]"](1).$split(".")),d=null==o[0]?u:o[0],c=null==o[1]?u:o[1],d=(o=d["$nil_or_empty?"]())===u||o.$$is_boolean&&1!=o?d.$to_i():1,c=(o=c["$nil_or_empty?"]())===u||o.$$is_boolean&&1!=o?c.$to_i():1,i["$[]"](2)["$=="]("+")?(d["$=="](1)||l["$[]="]("colspan",d),c["$=="](1)||l["$[]="]("rowspan",c)):i["$[]"](2)["$=="]("*")&&!d["$=="](1)&&l["$[]="]("repeatcol",d)),(o=i["$[]"](3))===u||o.$$is_boolean&&1!=o||(o=e.to_ary(i["$[]"](3).$split(".")),d=null==o[0]?u:o[0],c=null==o[1]?u:o[1],s=d["$nil_or_empty?"]()["$!"](),(o=!1!==s&&s!==u?x.get("Table").$$scope.get("ALIGNMENTS")["$[]"]("h")["$has_key?"](d):s)===u||o.$$is_boolean&&1!=o||l["$[]="]("halign",x.get("Table").$$scope.get("ALIGNMENTS")["$[]"]("h")["$[]"](d)),s=c["$nil_or_empty?"]()["$!"](),(o=!1!==s&&s!==u?x.get("Table").$$scope.get("ALIGNMENTS")["$[]"]("v")["$has_key?"](c):s)===u||o.$$is_boolean&&1!=o||l["$[]="]("valign",x.get("Table").$$scope.get("ALIGNMENTS")["$[]"]("v")["$[]"](c))),s=i["$[]"](4),(o=!1!==s&&s!==u?x.get("Table").$$scope.get("TEXT_STYLES")["$has_key?"](i["$[]"](4)):s)===u||o.$$is_boolean&&1!=o||l["$[]="]("style",x.get("Table").$$scope.get("TEXT_STYLES")["$[]"](i["$[]"](4))),[l,a]}),e.defs(w,"$parse_style_attribute",function(e,r){var o,s,i,a,l,d,c,h=u,f=u,m=u,b=u,v=u,_=u,g=f=i=u;return null==r&&(r=u),h=e["$[]"]("style"),f=e["$[]"](1),s=(i=!1!==f&&f!==u)?f["$include?"](" ")["$!"]():f,(o=!1!==s&&s!==u?x.get("Compliance").$shorthand_property_syntax():s)===u||o.$$is_boolean&&1!=o?(e["$[]="]("style",f),[f,h]):(m="style",b=[],v=p([],{}),_=(o=(s=this).$lambda,o.$$p=(a=function(){var e,t,n=a.$$s||this,o=u;return(e=b["$empty?"]())===u||e.$$is_boolean&&1!=e?(o=m,"role"["$==="](o)||"option"["$==="](o)?(e=m,n=v,!1!==(t=n["$[]"](e))&&t!==u?t:n["$[]="](e,[]),v["$[]"](m).$push(b.$join())):("id"["$==="](o)&&((e=v["$has_key?"]("id"))===u||e.$$is_boolean&&1!=e||n.$warn("asciidoctor: WARNING:"+((e=r["$nil?"]())===u||e.$$is_boolean&&1!=e?" "+r.$prev_line_info()+":":u)+" multiple ids detected in style attribute")),v["$[]="](m,b.$join())),b=[]):(e=m["$!="]("style"))===u||e.$$is_boolean&&1!=e?u:n.$warn("asciidoctor: WARNING:"+((e=r["$nil?"]())===u||e.$$is_boolean&&1!=e?" "+r.$prev_line_info()+":":u)+" invalid empty "+m+" detected in style attribute")},a.$$s=this,a),o).call(s),(o=(i=f).$each_char,o.$$p=(l=function(e){var t,r,n,o=u;return null==e&&(e=u),(t=!1!==(r=!1!==(n=e["$=="]("."))&&n!==u?n:e["$=="]("#"))&&r!==u?r:e["$=="]("%"))===u||t.$$is_boolean&&1!=t?b.$push(e):(_.$call(),o=e,"."["$==="](o)?m="role":"#"["$==="](o)?m="id":"%"["$==="](o)?m="option":u)},l.$$s=this,l),o).call(i),m["$=="]("style")?i=e["$[]="]("style",f):(_.$call(),i=(o=v["$has_key?"]("style"))===u||o.$$is_boolean&&1!=o?u:e["$[]="]("style",v["$[]"]("style")),(o=v["$has_key?"]("id"))===u||o.$$is_boolean&&1!=o||e["$[]="]("id",v["$[]"]("id")),(o=v["$has_key?"]("role"))===u||o.$$is_boolean&&1!=o||e["$[]="]("role",n(v["$[]"]("role")," ")),(o=v["$has_key?"]("option"))===u||o.$$is_boolean&&1!=o||((o=(d=f=v["$[]"]("option")).$each,o.$$p=(c=function(t){return null==t&&(t=u),e["$[]="](""+t+"-option","")},c.$$s=this,c),o).call(d),(o=g=e["$[]"]("options"))===u||o.$$is_boolean&&1!=o?e["$[]="]("options",n(f,",")):e["$[]="]("options",n(t(f,g.$split(",")),",")))),[i,h])}),e.defs(w,"$adjust_indentation!",function(e,o,i){var a,d,c,p,h,b,v,_=u,g=u,y=u;return null==o&&(o=0),null==i&&(i=0),(a=e["$empty?"]())===u||a.$$is_boolean&&1!=a?((a=(d=r(i=i.$to_i(),0))?e.$join()["$include?"](x.get("TAB")):r(i=i.$to_i(),0))===u||a.$$is_boolean&&1!=a||(_=n(" ",i),(a=(d=e)["$map!"],a.$$p=(c=function(e){var r,o,a,l,d,p=c.$$s||this,h=u;return null==e&&(e=u),(r=e["$empty?"]())===u||r.$$is_boolean&&1!=r?((r=e["$start_with?"](x.get("TAB")))===u||r.$$is_boolean&&1!=r||(r=(o=e)["$sub!"],r.$$p=(a=function(e){return null==e&&(e=u),n(_,e.$length())},a.$$s=p,a),r).call(o,x.get("TabIndentRx")),(r=e["$include?"](x.get("TAB")))===u||r.$$is_boolean&&1!=r?e:(h=0,(r=(l=e)["$gsub!"],r.$$p=(d=function(){var e=u,r=u;return null==m["~"]&&(m["~"]=u),(e=t(m["~"].$begin(0),h))["$%"](i)["$=="](0)?(h=t(h,s(i,1)),_):((r=s(i,e["$%"](i)))["$=="](1)||(h=t(h,s(r,1))),n(" ",r))},d.$$s=p,d),r).call(l,x.get("TabRx")))):e},c.$$s=this,c),a).call(d)),(a=(d=!1!==o&&o!==u)?r(o=o.$to_i(),-1):o)===u||a.$$is_boolean&&1!=a?u:(g=u,(a=(d=e).$each,a.$$p=(p=function(e){var t,n=u;return null==e&&(e=u),(t=e["$empty?"]())===u||t.$$is_boolean&&1!=t?(n=s(e.$length(),e.$lstrip().$length()))["$=="](0)?(g=u,l.$v=u,l):(t=!1!==g&&g!==u?r(n,g):g)===u||t.$$is_boolean&&1!=t?g=n:u:u},p.$$s=this,p),a).call(d),o["$=="](0)?!1!==g&&g!==u&&(a=e["$map!"],a.$$p=(h=function(e){var t;return null==e&&(e=u),(t=e["$empty?"]())===u||t.$$is_boolean&&1!=t?e["$[]"](f(g,-1,!1)):e},h.$$s=this,h),a).call(e):(y=n(" ",o),!1!==g&&g!==u?(a=e["$map!"],a.$$p=(b=function(e){var r;return null==e&&(e=u),(r=e["$empty?"]())===u||r.$$is_boolean&&1!=r?t(y,e["$[]"](f(g,-1,!1))):e},b.$$s=this,b),a).call(e):(a=e["$map!"],a.$$p=(v=function(e){var r;return null==e&&(e=u),(r=e["$empty?"]())===u||r.$$is_boolean&&1!=r?t(y,e):e},v.$$s=this,v),a).call(e)),u)):u}),e.defs(w,"$sanitize_attribute_name",function(e){return e.$gsub(x.get("InvalidAttributeNameCharsRx"),"").$downcase()}),e.defs(w,"$roman_numeral_to_int",function(e){var n,o,i,l=u,d=u;return e=e.$downcase(),l=p(["i","v","x"],{i:1,v:5,x:10}),d=0,(n=(o=f(0,s(e.$length(),1),!1)).$each,n.$$p=(i=function(n){var o,i=u;return null==n&&(n=u),i=l["$[]"](e["$[]"](f(n,n,!1))),d=(o=a(t(n,1),e.$length())?r(l["$[]"](e["$[]"](f(t(n,1),t(n,1),!1))),i):a(t(n,1),e.$length()))===u||o.$$is_boolean&&1!=o?t(d,i):s(d,i)},i.$$s=this,i),n).call(o),d}),u&&"roman_numeral_to_int"}(d(b,"Asciidoctor").$$scope.base,null)}(e.base)},o.modules["asciidoctor/path_resolver"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}e.dynamic_require_severity="ignore";var r=e.nil,n=e.module,o=e.klass,s=e.hash2,i=e.range;return e.add_stubs("$attr_accessor $is_root? $expand_path $pwd $start_with? $== $=~ $nil_or_empty? $include? $tr $partition_path $join_path $[] $posixfy $is_web_root? $is_unc? $index $split $shift $delete $[]= $* $raise $empty? $system_path $!= $! $dup $each $> $length $pop $fetch $warn $push $uri_prefix $<< $+ $chomp".split(" ")),function(a){!function(n,a){function u(){}var l=u=o(n,a,"PathResolver",u),d=l.$$proto,c=l.$$scope;return d.file_separator=d._partition_path_web=d._partition_path_sys=d.working_dir=r,e.cdecl(c,"DOT","."),e.cdecl(c,"DOT_DOT",".."),e.cdecl(c,"DOT_SLASH","./"),e.cdecl(c,"SLASH","/"),e.cdecl(c,"BACKSLASH","\\"),e.cdecl(c,"DOUBLE_SLASH","//"),e.cdecl(c,"WindowsRootRx",/^[a-zA-Z]:(?:\\|\/)/),l.$attr_accessor("file_separator"),l.$attr_accessor("working_dir"),e.defn(l,"$initialize",function(t,n){var o;return null==t&&(t=r),null==n&&(n=r),this.file_separator=!1!==t&&t!==r?t:!1!==(o=e.get("File").$$scope.get("ALT_SEPARATOR"))&&o!==r?o:e.get("File").$$scope.get("SEPARATOR"),this.working_dir=!1!==n&&n!==r?(o=this["$is_root?"](n))===r||o.$$is_boolean&&1!=o?e.get("File").$expand_path(n):n:e.get("File").$expand_path(e.get("Dir").$pwd()),this._partition_path_sys=s([],{}),this._partition_path_web=s([],{})}),e.defn(l,"$is_root?",function(t){var n,o,s;return!((n=t["$start_with?"](c.get("SLASH")))===r||n.$$is_boolean&&1!=n)||(!((n=this.file_separator["$=="](c.get("BACKSLASH"))?c.get("WindowsRootRx")["$=~"](t):this.file_separator["$=="](c.get("BACKSLASH")))===r||n.$$is_boolean&&1!=n)||(s=e.get("RUBY_ENGINE_OPAL"),o=!1!==s&&s!==r?e.get("JAVASCRIPT_PLATFORM")["$=="]("browser"):s,!((n=!1!==o&&o!==r?t["$start_with?"]("file:///"):o)===r||n.$$is_boolean&&1!=n)))}),e.defn(l,"$is_unc?",function(e){return e["$start_with?"](c.get("DOUBLE_SLASH"))}),e.defn(l,"$is_web_root?",function(e){return e["$start_with?"](c.get("SLASH"))}),e.defn(l,"$posixfy",function(e){var t;return(t=e["$nil_or_empty?"]())===r||t.$$is_boolean&&1!=t?(t=e["$include?"](c.get("BACKSLASH")))===r||t.$$is_boolean&&1!=t?e:e.$tr(c.get("BACKSLASH"),c.get("SLASH")):""}),e.defn(l,"$expand_path",function(t){var n=r,o=r;return t=e.to_ary(this.$partition_path(t)),n=null==t[0]?r:t[0],o=null==t[1]?r:t[1],this.$join_path(n,o)}),e.defn(l,"$partition_path",function(e,t){var n,o=r,s=o=r,a=r;return null==t&&(t=!1),(n=o=!1!==t&&t!==r?this._partition_path_web["$[]"](e):this._partition_path_sys["$[]"](e))===r||n.$$is_boolean&&1!=n?(o=this.$posixfy(e),s=!1!==t&&t!==r?(n=this["$is_web_root?"](o))===r||n.$$is_boolean&&1!=n?(n=o["$start_with?"](c.get("DOT_SLASH")))===r||n.$$is_boolean&&1!=n?r:c.get("DOT_SLASH"):c.get("SLASH"):(n=this["$is_root?"](o))===r||n.$$is_boolean&&1!=n?(n=o["$start_with?"](c.get("DOT_SLASH")))===r||n.$$is_boolean&&1!=n?r:c.get("DOT_SLASH"):(n=this["$is_unc?"](o))===r||n.$$is_boolean&&1!=n?(n=o["$start_with?"](c.get("SLASH")))===r||n.$$is_boolean&&1!=n?o["$[]"](i(0,o.$index(c.get("SLASH")),!1)):c.get("SLASH"):c.get("DOUBLE_SLASH"),a=o.$split(c.get("SLASH")),s["$=="](c.get("DOUBLE_SLASH"))?a=a["$[]"](i(2,-1,!1)):!1!==s&&s!==r&&a.$shift(),a.$delete(c.get("DOT")),(!1!==t&&t!==r?this._partition_path_web:this._partition_path_sys)["$[]="](e,[a,s,o])):o}),e.defn(l,"$join_path",function(e,n){return null==n&&(n=r),!1!==n&&n!==r?""+n+t(e,c.get("SLASH")):t(e,c.get("SLASH"))}),e.defn(l,"$system_path",function(t,n,o,i){var a,u,l,d=r,p=r,h=r,f=r,m=r,b=m=h=r,v=r;if(null==o&&(o=r),null==i&&(i=s([],{})),!1!==o&&o!==r&&(((a=this["$is_root?"](o))===r||a.$$is_boolean&&1!=a)&&this.$raise(e.get("SecurityError"),"Jail is not an absolute path: "+o),o=this.$posixfy(o)),(a=t["$nil_or_empty?"]())===r||a.$$is_boolean&&1!=a?(a=e.to_ary(this.$partition_path(t)),d=null==a[0]?r:a[0],p=null==a[1]?r:a[1]):d=[],(a=d["$empty?"]())!==r&&(!a.$$is_boolean||1==a)){if(!((a=n["$nil_or_empty?"]())===r||a.$$is_boolean&&1!=a))return!1!==o&&o!==r?o:this.working_dir;if((a=this["$is_root?"](n))===r||a.$$is_boolean&&1!=a)return this.$system_path(n,o,o,i);if(!1===o||o===r)return this.$expand_path(n)}return(a=(u=!1!==p&&p!==r)?p["$!="](c.get("DOT_SLASH")):p)===r||a.$$is_boolean&&1!=a||(h=this.$join_path(d,p),(a=!1!==(u=o["$!"]())&&u!==r?u:h["$start_with?"](o))===r||a.$$is_boolean&&1!=a)?(n=(a=n["$nil_or_empty?"]())===r||a.$$is_boolean&&1!=a?(a=this["$is_root?"](n))===r||a.$$is_boolean&&1!=a?this.$system_path(n,o,o,i):this.$posixfy(n):!1!==o&&o!==r?o:this.working_dir,o["$=="](n)?(a=e.to_ary(this.$partition_path(o)),f=null==a[0]?r:a[0],m=null==a[1]?r:a[1],h=f.$dup()):(!1!==o&&o!==r?(((a=n["$start_with?"](o))===r||a.$$is_boolean&&1!=a)&&this.$raise(e.get("SecurityError"),""+(!1!==(a=i["$[]"]("target_name"))&&a!==r?a:"Start path")+" "+n+" is outside of jail: "+o+" (disallowed in safe mode)"),a=e.to_ary(this.$partition_path(n)),h=null==a[0]?r:a[0],m=null==a[1]?r:a[1],a=e.to_ary(this.$partition_path(o)),f=null==a[0]?r:a[0]):(a=e.to_ary(this.$partition_path(n)),h=null==a[0]?r:a[0]),m=null==a[1]?r:a[1]),b=h.$dup(),v=!1,(a=(u=d).$each,a.$$p=(l=function(n){var s,a=l.$$s||this;if(null==n&&(n=r),n["$=="](c.get("DOT_DOT"))){if(!1!==o&&o!==r){n=b.$length();var u=f.$length();return("number"==typeof n&&"number"==typeof u?n>u:n["$>"](u))?b.$pop():(s=(!1!==r&&r!==r?r:i.$fetch("recover",!0))["$!"]())===r||s.$$is_boolean&&1!=s?(s=v["$!"]())===r||s.$$is_boolean&&1!=s?r:(a.$warn("asciidoctor: WARNING: "+(!1!==(s=i["$[]"]("target_name"))&&s!==r?s:"path")+" has illegal reference to ancestor of jail, auto-recovering"),v=!0):a.$raise(e.get("SecurityError"),""+(!1!==(s=i["$[]"]("target_name"))&&s!==r?s:"path")+" "+t+" refers to location outside jail: "+o+" (disallowed in safe mode)")}return b.$pop()}return b.$push(n)},l.$$s=this,l),a).call(u),this.$join_path(b,m)):h}),e.defn(l,"$web_path",function(t,n){var o,s,a,u=r,l=r,d=r,p=r;return null==n&&(n=r),t=this.$posixfy(t),n=this.$posixfy(n),u=r,((o=!1!==(s=n["$nil_or_empty?"]())&&s!==r?s:this["$is_web_root?"](t))===r||o.$$is_boolean&&1!=o)&&(t=""+n+c.get("SLASH")+t,(o=u=c.get("Helpers").$uri_prefix(t))===r||o.$$is_boolean&&1!=o||(t=t["$[]"](i(u.$length(),-1,!1)))),o=e.to_ary(this.$partition_path(t,!0)),l=null==o[0]?r:o[0],d=null==o[1]?r:o[1],p=[],(o=(s=l).$each,o.$$p=(a=function(e){var t;return null==e&&(e=r),e["$=="](c.get("DOT_DOT"))?(t=p["$empty?"]())===r||t.$$is_boolean&&1!=t?p["$[]"](-1)["$=="](c.get("DOT_DOT"))?p["$<<"](e):p.$pop():(t=!1!==d&&d!==r?d["$!="](c.get("DOT_SLASH")):d)===r||t.$$is_boolean&&1!=t?p["$<<"](e):r:p["$<<"](e)},a.$$s=this,a),o).call(s),!1!==u&&u!==r?""+u+this.$join_path(p,d):this.$join_path(p,d)}),e.defn(l,"$relative_path",function(e,t){var n,o,s=r;return o=this["$is_root?"](e),(n=!1!==o&&o!==r?this["$is_root?"](t):o)===r||n.$$is_boolean&&1!=n?e:(n=t.$chomp(this.file_separator).$length(),s="number"==typeof n?n+1:n["$+"](1),e["$[]"](i(s,-1,!1)))}),r&&"relative_path"}(n(a,"Asciidoctor").$$scope.base,null)}(e.base)},o.modules["asciidoctor/reader"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e>t:e["$>"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}function o(e,t){return"number"==typeof e&&"number"==typeof t?e-t:e["$-"](t)}function s(e,t){return"number"==typeof e&&"number"==typeof t?e>=t:e["$>="](t)}e.dynamic_require_severity="ignore";var i=e.nil,a=e.breaker,u=e.slice,l=e.module,d=e.klass,c=e.hash2,p=e.range;return e.add_stubs("$attr_accessor $path $lineno $attr_reader $! $is_a? $split $file $dir $dirname $== $basename $prepare_lines $dup $empty? $[] $normalize_lines_from_string $normalize_lines_array $+ $nil? $peek_line $nil_or_empty? $> $process_line $times $read_line $<< $reverse_each $unshift $has_more_lines? $shift $* $read_lines $advance $eof? $start_with? $match $push $read_lines_until $=~ $size $clear $[]= $- $new $line_info $to_i $fetch $attributes $< $references $has_key? $skip_front_matter! $pop $adjust_indentation! $attr $end_with? $include? $preprocess_conditional_inclusion $captures $preprocess_include $strip $pop_include $downcase $warn $=== $detect $resolve_expr_val $send $to_sym $replace_next_line $rstrip $sub_attributes $attribute_missing $include_processors? $find $handles? $instance $process_method $parse $>= $safe $pwd $base_dir $join $uriish? $require_library $normalize_system_path $file? $relative_path $each $map $to_proc $/ $concat $to_a $uniq $sort $to_set $open $each_line $infinite? $push_include $force_encoding $chomp $read $extname $rootname $<= $!= $to_f $extensions? $extensions $include_processors $class $object_id $inspect $to_s".split(" ")),function(h){h=l(h,"Asciidoctor").$$scope,function(s,u){function l(){}var h,f=l=d(s,u,"Reader",l),m=f.$$proto,b=f.$$scope;return m.file=m.dir=m.lines=m.process_lines=m.look_ahead=m.eof=m.unescape_next_line=m.lineno=m.path=m.source_lines=i,function(t,r){function n(){}var o=n=d(t,r,"Cursor",n);return o.$attr_accessor("file"),o.$attr_accessor("dir"),o.$attr_accessor("path"),o.$attr_accessor("lineno"),e.defn(o,"$initialize",function(e,t,r,n){return null==t&&(t=i),null==r&&(r=i),null==n&&(n=i),this.file=e,this.dir=t,this.path=r,this.lineno=n}),e.defn(o,"$line_info",function(){return""+this.$path()+": line "+this.$lineno()}),e.alias(o,"to_s","line_info")}(b.base,null),f.$attr_reader("file"),f.$attr_reader("dir"),f.$attr_reader("path"),f.$attr_reader("lineno"),f.$attr_reader("source_lines"),f.$attr_accessor("process_lines"),e.defn(f,"$initialize",function(t,r,n){var o;return null==t&&(t=i),null==r&&(r=i),null==n&&(n=c(["normalize"],{normalize:!1})),(o=r["$!"]())===i||o.$$is_boolean&&1!=o?(o=r["$is_a?"](e.get("String")))===i||o.$$is_boolean&&1!=o?(this.file=r.$file(),this.dir=r.$dir(),this.path=!1!==(o=r.$path())&&o!==i?o:"",(o=this.file)===i||o.$$is_boolean&&1!=o||(((o=this.dir)===i||o.$$is_boolean&&1!=o)&&(this.dir=e.get("File").$dirname(this.file),this.dir["$=="](".")&&(this.dir=i)),((o=r.$path())===i||o.$$is_boolean&&1!=o)&&(this.path=e.get("File").$basename(this.file))),this.lineno=!1!==(o=r.$lineno())&&o!==i?o:1):(this.file=r,o=e.to_ary(e.get("File").$split(this.file)),this.dir=null==o[0]?i:o[0],this.path=null==o[1]?i:o[1],this.lineno=1):(this.file=this.dir=i,this.path="",this.lineno=1),this.lines=!1!==t&&t!==i?this.$prepare_lines(t,n):[],this.source_lines=this.lines.$dup(),this.eof=this.lines["$empty?"](),this.look_ahead=0,this.process_lines=!0,this.unescape_next_line=!1}),e.defn(f,"$prepare_lines",function(t,r){var n;return null==r&&(r=c([],{})),(n=t["$is_a?"](e.get("String")))===i||n.$$is_boolean&&1!=n?(n=r["$[]"]("normalize"))===i||n.$$is_boolean&&1!=n?t.$dup():b.get("Helpers").$normalize_lines_array(t):(n=r["$[]"]("normalize"))===i||n.$$is_boolean&&1!=n?t.$split(b.get("EOL")):b.get("Helpers").$normalize_lines_from_string(t)}),e.defn(f,"$process_line",function(e){var r;return(r=this.process_lines)===i||r.$$is_boolean&&1!=r||(this.look_ahead=t(this.look_ahead,1)),e}),e.defn(f,"$has_more_lines?",function(){var e;return(!1!==(e=this.eof)&&e!==i?e:this.eof=this.$peek_line()["$nil?"]())["$!"]()}),e.defn(f,"$next_line_empty?",function(){return this.$peek_line()["$nil_or_empty?"]()}),e.defn(f,"$peek_line",function(e){var t,n,o=i;return null==e&&(e=!1),(t=!1!==(n=e)&&n!==i?n:r(this.look_ahead,0))===i||t.$$is_boolean&&1!=t?(t=!1!==(n=this.eof)&&n!==i?n:this.lines["$empty?"]())===i||t.$$is_boolean&&1!=t?(t=(o=this.$process_line(this.lines["$[]"](0)))["$!"]())===i||t.$$is_boolean&&1!=t?o:this.$peek_line():(this.eof=!0,this.look_ahead=0,i):(t=this.unescape_next_line)===i||t.$$is_boolean&&1!=t?this.lines["$[]"](0):this.lines["$[]"](0)["$[]"](p(1,-1,!1))}),e.defn(f,"$peek_lines",function(e,t){var r,n,o,s,u,l=i,d=i;return null==e&&(e=1),null==t&&(t=!0),l=this.look_ahead,d=[],(r=(n=e).$times,r.$$p=(o=function(){var e,r=i;return(e=r=(o.$$s||this).$read_line(t))===i||e.$$is_boolean&&1!=e?(a.$v=i,a):d["$<<"](r)},o.$$s=this,o),r).call(n),((r=d["$empty?"]())===i||r.$$is_boolean&&1!=r)&&((r=(s=d).$reverse_each,r.$$p=(u=function(e){var t=u.$$s||this;return null==e&&(e=i),t.$unshift(e)},u.$$s=this,u),r).call(s),!1!==t&&t!==i&&(this.look_ahead=l)),d}),e.defn(f,"$read_line",function(e){var t,n,o;return null==e&&(e=!1),(t=!1!==(n=!1!==(o=e)&&o!==i?o:r(this.look_ahead,0))&&n!==i?n:this["$has_more_lines?"]())===i||t.$$is_boolean&&1!=t?i:this.$shift()}),e.defn(f,"$read_lines",function(){for(var e,t=i,t=[];(e=this["$has_more_lines?"]())!==i&&(!e.$$is_boolean||1==e);)t["$<<"](this.$shift());return t}),e.alias(f,"readlines","read_lines"),e.defn(f,"$read",function(){return n(this.$read_lines(),b.get("EOL"))}),e.defn(f,"$advance",function(e){return null==e&&(e=!0),this.$read_line(e)["$!"]()["$!"]()}),e.defn(f,"$unshift_line",function(e){return this.$unshift(e),i}),e.alias(f,"restore_line","unshift_line"),e.defn(f,"$unshift_lines",function(e){var t,r;return(t=e.$reverse_each,t.$$p=(r=function(e){var t=r.$$s||this;return null==e&&(e=i),t.$unshift(e)},r.$$s=this,r),t).call(e),i}),e.alias(f,"restore_lines","unshift_lines"),e.defn(f,"$replace_next_line",function(e){return this.$advance(),this.$unshift(e),i}),e.alias(f,"replace_line","replace_next_line"),e.defn(f,"$skip_blank_lines",function(){var e,r,n=i,o=i;if((e=this["$eof?"]())!==i&&(!e.$$is_boolean||1==e))return 0;for(n=0;!((r=o=this.$peek_line())===i||r.$$is_boolean&&1!=r||(r=o["$empty?"]())===i||r.$$is_boolean&&1!=r);)this.$advance(),n=t(n,1);return n}),e.defn(f,"$skip_comment_lines",function(t){var r,n,o=i,s=i,a=i,u=i,l=i;if(null==t&&(t=c([],{})),(r=this["$eof?"]())!==i&&(!r.$$is_boolean||1==r))return[];for(o=[],s=t["$[]"]("include_blank_lines");(n=a=this.$peek_line())!==i&&(!n.$$is_boolean||1==n);)if((n=(t=!1!==s&&s!==i)?a["$empty?"]():s)===i||n.$$is_boolean&&1!=n)if(t=u=a["$start_with?"]("//"),(n=!1!==t&&t!==i?l=b.get("CommentBlockRx").$match(a):t)===i||n.$$is_boolean&&1!=n){if((t=!1!==u&&u!==i?b.get("CommentLineRx")["$=~"](a):u)===i||t.$$is_boolean&&1!=t)break;o["$<<"](this.$shift())}else o["$<<"](this.$shift()),(n=o).$push.apply(n,e.to_a(this.$read_lines_until(c(["terminator","read_last_line","skip_processing"],{terminator:l["$[]"](0),read_last_line:!0,skip_processing:!0}))));else o["$<<"](this.$shift());return o}),e.defn(f,"$skip_line_comments",function(){var e,t,r=i,n=i;if((e=this["$eof?"]())!==i&&(!e.$$is_boolean||1==e))return[]; -for(r=[];!((t=n=this.$peek_line())===i||t.$$is_boolean&&1!=t||(t=b.get("CommentLineRx")["$=~"](n))===i||t.$$is_boolean&&1!=t);)r["$<<"](this.$shift());return r}),e.defn(f,"$terminate",function(){return this.lineno=t(this.lineno,this.lines.$size()),this.lines.$clear(),this.eof=!0,this.look_ahead=0,i}),e.defn(f,"$eof?",function(){return this["$has_more_lines?"]()["$!"]()}),e.alias(f,"empty?","eof?"),e.defn(f,"$read_lines_until",h=function(t){var r,n,s,u,l,d=h.$$p||i,p=i,f=i,m=i,v=i,_=i,g=i,y=i,$=i,w=i,x=i;for(null==t&&(t=c([],{})),h.$$p=null,p=[],(r=t["$[]"]("skip_first_line"))===i||r.$$is_boolean&&1!=r||this.$advance(),n=this.process_lines,(r=!1!==n&&n!==i?t["$[]"]("skip_processing"):n)===i||r.$$is_boolean&&1!=r?f=!1:(this.process_lines=!1,f=!0),(r=m=t["$[]"]("terminator"))===i||r.$$is_boolean&&1!=r?(v=t["$[]"]("break_on_blank_lines"),_=t["$[]"]("break_on_list_continuation")):_=v=!1,g=t["$[]"]("skip_line_comments"),w=$=y=!1;s=w["$!"](),(n=!1!==s&&s!==i?x=this.$read_line():s)!==i&&(!n.$$is_boolean||1==n);)w=function(){for(;(s=!0)!==i&&(!s.$$is_boolean||1==s);)return!((s=(u=!1!==m&&m!==i)?x["$=="](m):m)===i||s.$$is_boolean&&1!=s)||!((s=(u=!1!==v&&v!==i)?x["$empty?"]():v)===i||s.$$is_boolean&&1!=s)||(u=(l=!1!==_&&_!==i)?y:_,(s=!1!==u&&u!==i?x["$=="](b.get("LIST_CONTINUATION")):u)===i||s.$$is_boolean&&1!=s?!((s=(u=d!==i)?(l=e.yield1(d,x))===a?a.$v:l:d!==i)===i||s.$$is_boolean&&1!=s):(t["$[]="]("preserve_last_line",!0),!0));return i}(),!1!==w&&w!==i?((n=t["$[]"]("read_last_line"))===i||n.$$is_boolean&&1!=n||(p["$<<"](x),y=!0),(n=t["$[]"]("preserve_last_line"))===i||n.$$is_boolean&&1!=n||(this.$unshift(x),$=!0)):(s=(u=!1!==g&&g!==i)?x["$start_with?"]("//"):g,((n=!1!==s&&s!==i?b.get("CommentLineRx")["$=~"](x):s)===i||n.$$is_boolean&&1!=n)&&(p["$<<"](x),y=!0));return!1!==f&&f!==i&&(this.process_lines=!0,(r=(n=!1!==$&&$!==i)?m["$!"]():$)===i||r.$$is_boolean&&1!=r||(this.look_ahead=o(this.look_ahead,1))),p}),e.defn(f,"$shift",function(){return this.lineno=t(this.lineno,1),this.look_ahead["$=="](0)||(this.look_ahead=o(this.look_ahead,1)),this.lines.$shift()}),e.defn(f,"$unshift",function(e){return this.lineno=o(this.lineno,1),this.look_ahead=t(this.look_ahead,1),this.eof=!1,this.lines.$unshift(e)}),e.defn(f,"$cursor",function(){return b.get("Cursor").$new(this.file,this.dir,this.path,this.lineno)}),e.defn(f,"$line_info",function(){return""+this.path+": line "+this.lineno}),e.alias(f,"next_line_info","line_info"),e.defn(f,"$prev_line_info",function(){return""+this.path+": line "+o(this.lineno,1)}),e.defn(f,"$lines",function(){return this.lines.$dup()}),e.defn(f,"$string",function(){return n(this.lines,b.get("EOL"))}),e.defn(f,"$source",function(){return n(this.source_lines,b.get("EOL"))}),e.defn(f,"$to_s",function(){return this.$line_info()}),i&&"to_s"}(h.base,null),function(l,h){function f(){}var m,b,v,_,g=f=d(l,h,"PreprocessorReader",f),y=g.$$proto,$=g.$$scope;return y.document=y.lineno=y.process_lines=y.look_ahead=y.skipping=y.include_stack=y.conditional_stack=y.path=y.include_processor_extensions=y.maxdepth=y.dir=y.lines=y.file=y.includes=y.unescape_next_line=i,g.$attr_reader("include_stack"),g.$attr_reader("includes"),e.defn(g,"$initialize",m=function(t,r,n){var o,s,a=i;return null==r&&(r=i),null==n&&(n=i),m.$$p=null,this.document=t,e.find_super_dispatcher(this,"initialize",m,null).apply(this,[r,n,c(["normalize"],{normalize:!0})]),a=t.$attributes().$fetch("max-include-depth",64).$to_i(),("number"==typeof a?0>a:a["$<"](0))&&(a=0),this.maxdepth=c(["abs","rel"],{abs:a,rel:a}),this.include_stack=[],this.includes=(o=t.$references(),!1!==(s=o["$[]"]("includes"))&&s!==i?s:o["$[]="]("includes",[])),this.skipping=!1,this.conditional_stack=[],this.include_processor_extensions=i}),e.defn(g,"$prepare_lines",b=function(r,o){var s,a,l,d=u.call(arguments,0),p=b.$$p,h=i,f=i,m=i,v=i;if(null==o&&(o=c([],{})),b.$$p=null,h=e.find_super_dispatcher(this,"prepare_lines",b,p).apply(this,d),a=this.document,(s=!1!==a&&a!==i?this.document.$attributes()["$has_key?"]("skip-front-matter"):a)===i||s.$$is_boolean&&1!=s||(s=f=this["$skip_front_matter!"](h))===i||s.$$is_boolean&&1!=s||this.document.$attributes()["$[]="]("front-matter",n(f,$.get("EOL"))),(s=o.$fetch("condense",!0))!==i&&(!s.$$is_boolean||1==s)){for(;l=m=h["$[]"](0),(a=!1!==l&&l!==i?m["$empty?"]():l)!==i&&(!a.$$is_boolean||1==a);)a=h.$shift(),!1!==a&&a!==i?this.lineno=t(this.lineno,1):a;for(;l=v=h["$[]"](-1),(a=!1!==l&&l!==i?v["$empty?"]():l)!==i&&(!a.$$is_boolean||1==a);)h.$pop()}return(s=o["$[]"]("indent"))===i||s.$$is_boolean&&1!=s||$.get("Parser")["$adjust_indentation!"](h,o["$[]"]("indent"),this.document.$attr("tabsize")),h}),e.defn(g,"$process_line",function(r){var n,o,s,a,u=i,l=i;return(n=this.process_lines)===i||n.$$is_boolean&&1!=n?r:(n=r["$empty?"]())===i||n.$$is_boolean&&1!=n?(s=r["$end_with?"]("]"),o=!1!==s&&s!==i?r["$start_with?"]("[")["$!"]():s,(n=!1!==o&&o!==i?r["$include?"]("::"):o)===i||n.$$is_boolean&&1!=n?(n=this.skipping)===i||n.$$is_boolean&&1!=n?(this.look_ahead=t(this.look_ahead,1),r):(this.$advance(),i):(o=r["$include?"]("if"),(n=!1!==o&&o!==i?u=$.get("ConditionalDirectiveRx").$match(r):o)===i||n.$$is_boolean&&1!=n?(n=this.skipping)===i||n.$$is_boolean&&1!=n?(s=!1!==(a=l=r["$start_with?"]("\\include::"))&&a!==i?a:r["$start_with?"]("include::"),(n=!1!==s&&s!==i?u=$.get("IncludeDirectiveRx").$match(r):s)===i||n.$$is_boolean&&1!=n?(this.look_ahead=t(this.look_ahead,1),r):!1!==l&&l!==i?(this.unescape_next_line=!0,this.look_ahead=t(this.look_ahead,1),r["$[]"](p(1,-1,!1))):(n=this.$preprocess_include(u["$[]"](1),u["$[]"](2).$strip()))===i||n.$$is_boolean&&1!=n?(this.look_ahead=t(this.look_ahead,1),r):i):(this.$advance(),i):(n=r["$start_with?"]("\\"))===i||n.$$is_boolean&&1!=n?(n=(o=this).$preprocess_conditional_inclusion.apply(o,e.to_a(u.$captures())))===i||n.$$is_boolean&&1!=n?(this.look_ahead=t(this.look_ahead,1),r):(this.$advance(),i):(this.unescape_next_line=!0,this.look_ahead=t(this.look_ahead,1),r["$[]"](p(1,-1,!1))))):(this.look_ahead=t(this.look_ahead,1),"")}),e.defn(g,"$peek_line",v=function(t){var r,n=u.call(arguments,0),o=v.$$p,s=i;return null==t&&(t=!1),v.$$p=null,(r=s=e.find_super_dispatcher(this,"peek_line",v,o).apply(this,n))===i||r.$$is_boolean&&1!=r?(r=this.include_stack["$empty?"]())===i||r.$$is_boolean&&1!=r?(this.$pop_include(),this.$peek_line(t)):i:s}),e.defn(g,"$preprocess_conditional_inclusion",function(e,t,n,o){var s,a,u,l,d,p,h,f,m,b,v=i,_=v=i,g=i,y=g=_=v=i,_=i;if((s=!1!==(u=!1!==(l=e["$=="]("ifdef"))&&l!==i?l:e["$=="]("ifndef"),a=!1!==u&&u!==i?t["$empty?"]():u)&&a!==i?a:(u=e["$=="]("endif"))?o:e["$=="]("endif"))!==i&&(!s.$$is_boolean||1==s))return!1;if(t=t.$downcase(),e["$=="]("endif"))return v=this.conditional_stack.$size(),r(v,0)?(v=this.conditional_stack["$[]"](-1),(s=!1!==(a=t["$empty?"]())&&a!==i?a:t["$=="](v["$[]"]("target")))===i||s.$$is_boolean&&1!=s?this.$warn("asciidoctor: ERROR: "+this.$line_info()+": mismatched macro: endif::"+t+"[], expected endif::"+v["$[]"]("target")+"[]"):(this.conditional_stack.$pop(),this.skipping=!!((s=this.conditional_stack["$empty?"]())===i||s.$$is_boolean&&1!=s)&&this.conditional_stack["$[]"](-1)["$[]"]("skipping"))):this.$warn("asciidoctor: ERROR: "+this.$line_info()+": unmatched macro: endif::"+t+"[]"),!0;if(_=!1,(s=this.skipping)===i||s.$$is_boolean&&1!=s)if(g=e,"ifdef"["$==="](g))g=n,i["$==="](g)?_=this.document.$attributes()["$has_key?"](t)["$!"]():","["$==="](g)?_=(s=(a=t.$split(",")).$detect,s.$$p=(d=function(e){var t=d.$$s||this;return null==t.document&&(t.document=i),null==e&&(e=i),t.document.$attributes()["$has_key?"](e)},d.$$s=this,d),s).call(a)["$!"]():"+"["$==="](g)&&(_=(s=(u=t.$split("+")).$detect,s.$$p=(p=function(e){var t=p.$$s||this;return null==t.document&&(t.document=i),null==e&&(e=i),t.document.$attributes()["$has_key?"](e)["$!"]()},p.$$s=this,p),s).call(u));else if("ifndef"["$==="](g))g=n,i["$==="](g)?_=this.document.$attributes()["$has_key?"](t):","["$==="](g)?_=(s=(l=t.$split(",")).$detect,s.$$p=(h=function(e){var t=h.$$s||this;return null==t.document&&(t.document=i),null==e&&(e=i),t.document.$attributes()["$has_key?"](e)["$!"]()},h.$$s=this,h),s).call(l)["$!"]():"+"["$==="](g)&&(_=(s=(f=t.$split("+")).$detect,s.$$p=(m=function(e){var t=m.$$s||this;return null==t.document&&(t.document=i),null==e&&(e=i),t.document.$attributes()["$has_key?"](e)},m.$$s=this,m),s).call(f));else if("ifeval"["$==="](g)){if((s=!1!==(b=t["$empty?"]()["$!"]())&&b!==i?b:(v=$.get("EvalExpressionRx").$match(o.$strip()))["$!"]())!==i&&(!s.$$is_boolean||1==s))return!1;_=this.$resolve_expr_val(v["$[]"](1)),g=this.$resolve_expr_val(v["$[]"](3)),_=(y=v["$[]"](2))["$=="]("!=")?_.$send("==",g):_.$send(y.$to_sym(),g)["$!"]()}return(s=!1!==(b=e["$=="]("ifeval"))&&b!==i?b:o["$!"]())===i||s.$$is_boolean&&1!=s?((s=!1!==(b=this.skipping)&&b!==i?b:_)===i||s.$$is_boolean&&1!=s)&&(_=this.$peek_line(!0),this.$replace_next_line(o.$rstrip()),this.$unshift(_)):(!1!==_&&_!==i&&(this.skipping=!0),this.conditional_stack["$<<"](c(["target","skip","skipping"],{target:t,skip:_,skipping:this.skipping}))),!0}),e.defn(g,"$preprocess_include",function(u,l){var d,p,h,f,m,b,v,_,g,y=i,w=i,x=i,E=i,P=i,C=i,j=i,T=i,A=i,S=i,k=i,D=i,O=i,H=i,F=i,M=i;if((d=(y=this.document.$sub_attributes(u,c(["attribute_missing"],{attribute_missing:"drop-line"})))["$empty?"]())===i||d.$$is_boolean&&1!=d){if(p=this["$include_processors?"](),(d=!1!==p&&p!==i?w=(h=(f=this.include_processor_extensions).$find,h.$$p=(m=function(e){return null==e&&(e=i),e.$instance()["$handles?"](y)},m.$$s=this,m),h).call(f):p)===i||d.$$is_boolean&&1!=d){if(s(this.document.$safe(),$.get("SafeMode").$$scope.get("SECURE")))return this.$replace_next_line("link:"+y+"[]"),!0;if((d=(p=r(x=this.maxdepth["$[]"]("abs"),0))?s(this.include_stack.$size(),x):r(x=this.maxdepth["$[]"]("abs"),0))===i||d.$$is_boolean&&1!=d){if(r(x,0)){if((d=e.get("RUBY_ENGINE_OPAL"))===i||d.$$is_boolean&&1!=d)if((d=$.get("Helpers")["$uriish?"](y))===i||d.$$is_boolean&&1!=d){if(E="file",P=this.document.$normalize_system_path(y,this.dir,i,c(["target_name"],{target_name:"include file"})),(d=e.get("File")["$file?"](P))===i||d.$$is_boolean&&1!=d)return this.$warn("asciidoctor: WARNING: "+this.$line_info()+": include file not found: "+P),this.$replace_next_line("Unresolved directive in "+this.path+" - include::"+y+"["+l+"]"),!0;C=$.get("PathResolver").$new().$relative_path(P,this.document.$base_dir())}else{if((d=this.document.$attributes()["$has_key?"]("allow-uri-read"))===i||d.$$is_boolean&&1!=d)return this.$replace_next_line("link:"+y+"[]"),!0;if(E="uri",P=C=y,(d=this.document.$attributes()["$has_key?"]("cache-uri"))===i||d.$$is_boolean&&1!=d)(d=e.get("RUBY_ENGINE_OPAL")["$!"]())===i||d.$$is_boolean&&1!=d||e.get("OpenURI");else{var R;try{R=null!=e.get("OpenURI").$$scope.get("Cache")?"constant":i}catch(B){if(B.$$class!==e.NameError)throw B;R=i}((d=R)===i||d.$$is_boolean&&1!=d)&&$.get("Helpers").$require_library("open-uri/cached","open-uri-cached")}}else E="file",P=C=(d=this.include_stack["$empty?"]())===i||d.$$is_boolean&&1!=d?e.get("File").$join(this.dir,y):e.get("Dir").$pwd()["$=="](this.document.$base_dir())?y:e.get("File").$join(this.dir,y);if(T=j=i,A=c([],{}),(d=l["$empty?"]()["$!"]())===i||d.$$is_boolean&&1!=d||(A=$.get("AttributeList").$new(l).$parse(),(d=A["$has_key?"]("lines"))===i||d.$$is_boolean&&1!=d?(d=A["$has_key?"]("tag"))===i||d.$$is_boolean&&1!=d?(d=A["$has_key?"]("tags"))===i||d.$$is_boolean&&1!=d||(T=A["$[]"]("tags").$split($.get("DataDelimiterRx")).$to_set()):T=[A["$[]"]("tag")].$to_set():(j=[],(d=(p=A["$[]"]("lines").$split($.get("DataDelimiterRx"))).$each,d.$$p=(b=function(t){var r,n,o,s=i,a=i;return null==t&&(t=i),(r=t["$include?"](".."))===i||r.$$is_boolean&&1!=r?j["$<<"](t.$to_i()):(r=e.to_ary((n=(o=t.$split("..")).$map,n.$$p="to_i".$to_proc(),n).call(o)),s=null==r[0]?i:r[0],a=null==r[1]?i:r[1],a["$=="](-1)?(j["$<<"](s),j["$<<"](1/0)):j.$concat(e.get("Range").$new(s,a).$to_a()))},b.$$s=this,b),d).call(p),j=j.$sort().$uniq())),!1!==j&&j!==i){if((d=j["$empty?"]())===i||d.$$is_boolean&&1!=d){S=[],D=k=0;try{(d=(h=this).$open,d.$$p=(v=function(r){var n,o,s,u=v.$$s||this;return null==r&&(r=i),(n=(o=r).$each_line,n.$$p=(s=function(n){var o,s,u=i;return null==n&&(n=i),D=t(D,1),u=j["$[]"](0),s=u["$is_a?"](e.get("Float")),(o=!1!==s&&s!==i?u["$infinite?"]():s)===i||o.$$is_boolean&&1!=o?(r.$lineno()["$=="](u)&&(S.$push(n),k["$=="](0)&&(k=D),j.$shift()),(o=j["$empty?"]())===i||o.$$is_boolean&&1!=o?i:(a.$v=i,a)):(S.$push(n),k["$=="](0)?k=D:i)},s.$$s=u,s),n).call(o)},v.$$s=this,v),d).call(h,P,"r")}catch(B){try{return this.$warn("asciidoctor: WARNING: "+this.$line_info()+": include "+E+" not readable: "+P),this.$replace_next_line("Unresolved directive in "+this.path+" - include::"+y+"["+l+"]"),!0}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}this.$advance(),this.$push_include(S,P,C,k,A)}}else if(!1!==T&&T!==i){if((d=T["$empty?"]())===i||d.$$is_boolean&&1!=d){S=[],D=k=0,O=i,H=e.get("Set").$new();try{(d=this.$open,d.$$p=(_=function(r){var n,o,s,u=_.$$s||this;return null==r&&(r=i),(n=(o=r).$each_line,n.$$p=(s=function(r){var n,o,u,l=s.$$s||this,d=i;return null==r&&(r=i),D=t(D,1),(n=$.get("FORCE_ENCODING"))===i||n.$$is_boolean&&1!=n||r.$force_encoding(e.get("Encoding").$$scope.get("UTF_8")),r=r.$rstrip(),d=r.$chomp("-->").$rstrip(),!1!==O&&O!==i?(n=d["$end_with?"]("end::"+O+"[]"))===i||n.$$is_boolean&&1!=n?(o=d["$end_with?"]("[]"),((n=!1!==o&&o!==i?$.get("TagDirectiveRx")["$=~"](d):o)===i||n.$$is_boolean&&1!=n)&&S.$push(r),k["$=="](0)?k=D:i):O=i:(o=d["$end_with?"]("[]"),(n=!1!==o&&o!==i?$.get("TagDirectiveRx")["$=~"](d):o)===i||n.$$is_boolean&&1!=n?i:(n=(o=T).$each,n.$$p=(u=function(e){var t;return null==e&&(e=i),(t=d["$end_with?"]("tag::"+e+"[]"))===i||t.$$is_boolean&&1!=t?i:(O=e,H["$<<"](e),a.$v=i,a)},u.$$s=l,u),n).call(o))},s.$$s=u,s),n).call(o)},_.$$s=this,_),d).call(this,P,"r")}catch(B){try{return this.$warn("asciidoctor: WARNING: "+this.$line_info()+": include "+E+" not readable: "+P),this.$replace_next_line("Unresolved directive in "+this.path+" - include::"+y+"["+l+"]"),!0}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}((d=(F=o(T.$to_a(),H.$to_a()))["$empty?"]())===i||d.$$is_boolean&&1!=d)&&this.$warn("asciidoctor: WARNING: "+this.$line_info()+": tag"+(r(F.$size(),1)?"s":i)+" '"+n(F,",")+"' not found in include "+E+": "+P),this.$advance(),this.$push_include(S,P,C,k,A)}}else try{M=(d=this.$open,d.$$p=(g=function(e){return null==e&&(e=i),e.$read()},g.$$s=this,g),d).call(this,P,"r"),this.$advance(),this.$push_include(M,P,C,1,A)}catch(B){try{this.$warn("asciidoctor: WARNING: "+this.$line_info()+": include "+E+" not readable: "+P),this.$replace_next_line("Unresolved directive in "+this.path+" - include::"+y+"["+l+"]")}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}return!0}return!1}return this.$warn("asciidoctor: ERROR: "+this.$line_info()+": maximum include depth of "+this.maxdepth["$[]"]("rel")+" exceeded"),!1}return this.$advance(),w.$process_method()["$[]"](this.document,this,y,$.get("AttributeList").$new(l).$parse()),!0}return this.$advance(),this.document.$attributes().$fetch("attribute-missing",$.get("Compliance").$attribute_missing())["$=="]("skip")&&this.$unshift("Unresolved directive in "+this.path+" - include::"+u+"["+l+"]"),!0}),e.defn(g,"$push_include",function(r,n,s,a,u){var l,d=i,p=i;return null==n&&(n=i),null==s&&(s=i),null==a&&(a=1),null==u&&(u=c([],{})),this.include_stack["$<<"]([this.lines,this.file,this.dir,this.path,this.lineno,this.maxdepth,this.process_lines]),!1!==n&&n!==i?(this.file=n,this.dir=$.get("File").$dirname(n),this.process_lines=$.get("ASCIIDOC_EXTENSIONS")["$[]"](e.get("File").$extname(n))):(this.file=i,this.dir=".",this.process_lines=!0),!1!==s&&s!==i?(this.includes["$<<"]($.get("Helpers").$rootname(s)),n=s):n="",this.path=n,this.lineno=a,(l=u["$has_key?"]("depth"))===i||l.$$is_boolean&&1!=l||(d=u["$[]"]("depth").$to_i(),("number"==typeof d?0>=d:d["$<="](0))&&(d=1),this.maxdepth=c(["abs","rel"],{abs:t(o(this.include_stack.$size(),1),d),rel:d})),(l=(this.lines=this.$prepare_lines(r,c(["normalize","condense","indent"],{normalize:!0,condense:!1,indent:u["$[]"]("indent")})))["$empty?"]())===i||l.$$is_boolean&&1!=l?((l=u["$has_key?"]("leveloffset"))===i||l.$$is_boolean&&1!=l||(this.lines.$unshift(""),this.lines.$unshift(":leveloffset: "+u["$[]"]("leveloffset")),this.lines.$push(""),(l=p=this.document.$attr("leveloffset"))===i||l.$$is_boolean&&1!=l?this.lines.$push(":leveloffset!:"):this.lines.$push(":leveloffset: "+p),this.lineno=o(this.lineno,2)),this.eof=!1,this.look_ahead=0):this.$pop_include(),i}),e.defn(g,"$pop_include",function(){var t;return r(this.include_stack.$size(),0)&&(t=e.to_ary(this.include_stack.$pop()),this.lines=null==t[0]?i:t[0],this.file=null==t[1]?i:t[1],this.dir=null==t[2]?i:t[2],this.path=null==t[3]?i:t[3],this.lineno=null==t[4]?i:t[4],this.maxdepth=null==t[5]?i:t[5],this.process_lines=null==t[6]?i:t[6],this.eof=this.lines["$empty?"](),this.look_ahead=0),i}),e.defn(g,"$include_depth",function(){return this.include_stack.$size()}),e.defn(g,"$exceeded_max_depth?",function(){var e,t=i;return!((e=r(t=this.maxdepth["$[]"]("abs"),0)?s(this.include_stack.$size(),t):r(this.maxdepth["$[]"]("abs"),0))===i||e.$$is_boolean&&1!=e)&&this.maxdepth["$[]"]("rel")}),e.defn(g,"$shift",_=function(){var t,r=u.call(arguments,0),n=_.$$p;return _.$$p=null,(t=this.unescape_next_line)===i||t.$$is_boolean&&1!=t?e.find_super_dispatcher(this,"shift",_,n).apply(this,r):(this.unescape_next_line=!1,e.find_super_dispatcher(this,"shift",_,n).apply(this,r)["$[]"](p(1,-1,!1)))}),e.defn(g,"$skip_front_matter!",function(r,n){var o,s,a,u=i,l=i;if(null==n&&(n=!0),u=i,r["$[]"](0)["$=="]("---")){for(l=r.$dup(),u=[],r.$shift(),!1!==n&&n!==i&&(this.lineno=t(this.lineno,1));a=r["$empty?"]()["$!"](),(s=!1!==a&&a!==i?r["$[]"](0)["$!="]("---"):a)!==i&&(!s.$$is_boolean||1==s);)u.$push(r.$shift()),!1!==n&&n!==i&&(this.lineno=t(this.lineno,1));(o=r["$empty?"]())===i||o.$$is_boolean&&1!=o?(r.$shift(),!1!==n&&n!==i&&(this.lineno=t(this.lineno,1))):((o=r).$unshift.apply(o,e.to_a(l)),!1!==n&&n!==i&&(this.lineno=0),u=i)}return u}),e.defn(g,"$resolve_expr_val",function(e){var t,r,n,o=i;return(t=!1!==(n=e["$start_with?"]('"'),r=!1!==n&&n!==i?e["$end_with?"]('"'):n)&&r!==i?r:(n=e["$start_with?"]("'"),!1!==n&&n!==i?e["$end_with?"]("'"):n))===i||t.$$is_boolean&&1!=t?o=!1:(o=!0,e=e["$[]"](p(1,-1,!0))),(t=e["$include?"]("{"))===i||t.$$is_boolean&&1!=t||(e=this.document.$sub_attributes(e,c(["attribute_missing"],{attribute_missing:"drop"}))),!1!==o&&o!==i?e:(t=e["$empty?"]())===i||t.$$is_boolean&&1!=t?!!e["$=="]("true")||!e["$=="]("false")&&((t=e.$rstrip()["$empty?"]())===i||t.$$is_boolean&&1!=t?(t=e["$include?"]("."))===i||t.$$is_boolean&&1!=t?e.$to_i():e.$to_f():" "):i}),e.defn(g,"$include_processors?",function(){var e,t;return(e=this.include_processor_extensions["$nil?"]())===i||e.$$is_boolean&&1!=e?this.include_processor_extensions["$!="](!1):(t=this.document["$extensions?"](),(e=!1!==t&&t!==i?this.document.$extensions()["$include_processors?"]():t)===i||e.$$is_boolean&&1!=e?this.include_processor_extensions=!1:(this.include_processor_extensions=this.document.$extensions().$include_processors())["$!"]()["$!"]())}),e.defn(g,"$to_s",function(){var e,t,r;return"#<"+this.$class()+"@"+this.$object_id()+" {path: "+this.path.$inspect()+", line #: "+this.lineno+", include depth: "+this.include_stack.$size()+", include stack: ["+(e=(t=this.include_stack).$map,e.$$p=(r=function(e){return null==e&&(e=i),e.$to_s()},r.$$s=this,r),e).call(t).$join(", ")+"]}>"}),i&&"to_s"}(h.base,h.get("Reader"))}(e.base)},o.modules["asciidoctor/section"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e>t:e["$>"](t)}e.dynamic_require_severity="ignore";var n=e.nil,o=e.slice,s=e.module,i=e.klass,a=e.hash2,u=e.range;return e.add_stubs("$attr_accessor $+ $level $> $== $context $special $has_key? $attributes $[] $chomp $tr_s $gsub $downcase $title $empty? $start_with? $unique_id_start_index $references $sectnum $assign_index $!= $class $object_id $inspect $size".split(" ")),function(l){l=s(l,"Asciidoctor").$$scope,function(s,l){function d(){}var c,p,h,f=d=i(s,l,"Section",d),m=f.$$proto,b=f.$$scope;return m.level=m.document=m.parent=m.number=m.title=m.numbered=m.blocks=n,f.$attr_accessor("index"),f.$attr_accessor("number"),f.$attr_accessor("sectname"),f.$attr_accessor("special"),f.$attr_accessor("numbered"),e.defn(f,"$initialize",c=function(o,s,i,u){return null==o&&(o=n),null==s&&(s=n),null==i&&(i=!0),null==u&&(u=a([],{})),c.$$p=null,e.find_super_dispatcher(this,"initialize",c,null).apply(this,[o,"section",u]),this.level=!1!==s&&s!==n?s:!1!==o&&o!==n?t(o.$level(),1):1,this.numbered=(s=!1!==i&&i!==n)?r(this.level,0):i,this.special=(s=!1!==o&&o!==n?o.$context()["$=="]("section"):o,!1!==s&&s!==n?o.$special():s),this.index=0,this.number=1}),e.alias(f,"name","title"),e.defn(f,"$generate_id",function(){var e,r,o=n,s=n,i=n,a=s=n;if((e=this.document.$attributes()["$has_key?"]("sectids"))===n||e.$$is_boolean&&1!=e)return n;if(o=!1!==(e=this.document.$attributes()["$[]"]("idseparator"))&&e!==n?e:"_",s=!1!==(e=this.document.$attributes()["$[]"]("idprefix"))&&e!==n?e:"_",i=""+s+this.$title().$downcase().$gsub(b.get("InvalidSectionIdCharsRx"),o).$tr_s(o,o).$chomp(o),r=s["$empty?"](),(e=!1!==r&&r!==n?i["$start_with?"](o):r)!==n&&(!e.$$is_boolean||1==e))for(i=i["$[]"](u(1,-1,!1));(r=i["$start_with?"](o))!==n&&(!r.$$is_boolean||1==r);)i=i["$[]"](u(1,-1,!1));for(s=i,a=b.get("Compliance").$unique_id_start_index();(r=this.document.$references()["$[]"]("ids")["$has_key?"](s))!==n&&(!r.$$is_boolean||1==r);)s=""+i+o+a,a=t(a,1);return s}),e.defn(f,"$sectnum",function(e,t){var o,s,i,a;return null==e&&(e="."),null==t&&(t=n),!1!==(o=t)&&o!==n?o:t=t["$=="](!1)?"":e,a=this.level,i=!1!==a&&a!==n?r(this.level,1):a,s=!1!==i&&i!==n?this.parent:i,(o=!1!==s&&s!==n?this.parent.$context()["$=="]("section"):s)===n||o.$$is_boolean&&1!=o?""+this.number+t:""+this.parent.$sectnum(e)+this.number+t}),e.defn(f,"$<<",p=function(t){var r=o.call(arguments,0),n=p.$$p;return p.$$p=null,t.$context()["$=="]("section")&&this.$assign_index(t),e.find_super_dispatcher(this,"<<",p,n).apply(this,r)}),e.defn(f,"$to_s",h=function(){var t,r=o.call(arguments,0),s=h.$$p,i=n;return h.$$p=null,(t=this.title["$!="](n))===n||t.$$is_boolean&&1!=t?e.find_super_dispatcher(this,"to_s",h,s).apply(this,r):(i=(t=this.numbered)===n||t.$$is_boolean&&1!=t?this.title:""+this.$sectnum()+" "+this.title,"#<"+this.$class()+"@"+this.$object_id()+" {level: "+this.level+", title: "+i.$inspect()+", blocks: "+this.blocks.$size()+"}>")}),n&&"to_s"}(l.base,l.get("AbstractBlock"))}(e.base)},o.modules["asciidoctor/stylesheets"]=function(e){e.dynamic_require_severity="ignore";var t=e.nil,r=e.module,n=e.klass,o=e.hash2;return e.add_stubs("$join $new $chomp $read $primary_stylesheet_data $open $write $primary_stylesheet_name $coderay_stylesheet_data $coderay_stylesheet_name $load_pygments $pygments_stylesheet_data $pygments_stylesheet_name $! $nil? $require_library".split(" ")),function(s){!function(r,s){function i(){}var a=i=n(r,s,"Stylesheets",i),u=a.$$proto,l=a.$$scope;return u.primary_stylesheet_data=u.coderay_stylesheet_data=u.pygments_stylesheet_data=t,e.cdecl(l,"DEFAULT_STYLESHEET_NAME","asciidoctor.css"),e.cdecl(l,"DEFAULT_PYGMENTS_STYLE","default"),e.cdecl(l,"STYLESHEETS_DATA_PATH",e.get("File").$join(l.get("DATA_PATH"),"stylesheets")),a.__instance__=a.$new(),e.defs(a,"$instance",function(){return null==this.__instance__&&(this.__instance__=t),this.__instance__}),e.defn(a,"$primary_stylesheet_name",function(){return l.get("DEFAULT_STYLESHEET_NAME")}),e.defn(a,"$primary_stylesheet_data",function(){var r;return!1!==(r=this.primary_stylesheet_data)&&r!==t?r:this.primary_stylesheet_data=e.get("IO").$read(e.get("File").$join(l.get("STYLESHEETS_DATA_PATH"),"asciidoctor-default.css")).$chomp()}),e.defn(a,"$embed_primary_stylesheet",function(){return""}),e.defn(a,"$write_primary_stylesheet",function(r){var n,o,s;return(n=(o=e.get("File")).$open,n.$$p=(s=function(e){var r=s.$$s||this;return null==e&&(e=t),e.$write(r.$primary_stylesheet_data())},s.$$s=this,s),n).call(o,e.get("File").$join(r,this.$primary_stylesheet_name()),"w")}),e.defn(a,"$coderay_stylesheet_name",function(){return"coderay-asciidoctor.css"}),e.defn(a,"$coderay_stylesheet_data",function(){var r;return!1!==(r=this.coderay_stylesheet_data)&&r!==t?r:this.coderay_stylesheet_data=e.get("IO").$read(e.get("File").$join(l.get("STYLESHEETS_DATA_PATH"),"coderay-asciidoctor.css")).$chomp()}),e.defn(a,"$embed_coderay_stylesheet",function(){return""}),e.defn(a,"$write_coderay_stylesheet",function(r){var n,o,s;return(n=(o=e.get("File")).$open,n.$$p=(s=function(e){var r=s.$$s||this;return null==e&&(e=t),e.$write(r.$coderay_stylesheet_data())},s.$$s=this,s),n).call(o,e.get("File").$join(r,this.$coderay_stylesheet_name()),"w")}),e.defn(a,"$pygments_stylesheet_name",function(e){var r;return null==e&&(e=t),"pygments-"+(!1!==(r=e)&&r!==t?r:l.get("DEFAULT_PYGMENTS_STYLE"))+".css"}),e.defn(a,"$pygments_stylesheet_data",function(e){var r;return(r=this.$load_pygments())===t||r.$$is_boolean&&1!=r?"/* Pygments styles disabled. Pygments is not available. */":!1!==(r=this.pygments_stylesheet_data)&&r!==t?r:this.pygments_stylesheet_data=o([],{})}),e.defn(a,"$embed_pygments_stylesheet",function(e){return null==e&&(e=t),""}),e.defn(a,"$write_pygments_stylesheet",function(r,n){var o,s,i;return null==n&&(n=t),(o=(s=e.get("File")).$open,o.$$p=(i=function(e){var r=i.$$s||this;return null==e&&(e=t),e.$write(r.$pygments_stylesheet_data(n))},i.$$s=this,i),o).call(s,e.get("File").$join(r,this.$pygments_stylesheet_name(n)),"w")}),e.defn(a,"$load_pygments",function(){var r;return!((r=null==e.Object.$$scope.Pygments?t:"constant")===t||r.$$is_boolean&&1!=r)||l.get("Helpers").$require_library("pygments","pygments.rb","ignore")["$nil?"]()["$!"]()}),t&&"load_pygments"}(r(s,"Asciidoctor").$$scope.base,null)}(e.base)},o.modules["asciidoctor/table"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e>t:e["$>"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e/t:e["$/"](t)}function o(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}function s(e,t){return"number"==typeof e&&"number"==typeof t?e-t:e["$-"](t)}e.dynamic_require_severity="ignore";var i=e.nil,a=e.slice,u=e.module,l=e.klass,d=e.hash2,c=e.range;return e.add_stubs("$attr_accessor $new $key? $[] $abs $to_i $== $!= $> $[]= $attributes $round $* $/ $to_f $empty? $body $each $+ $<< $size $assign_col_widths $** $assign_width $- $shift $style= $head= $foot= $pop $update_attributes $parent $attr_reader $delete $! $header_row? $table $split $include? $readlines $unshift $nil? $strip $apply_normal_subs $convert $map $text $to_s $cursor $raise $nested? $document $escape $columns $start_with? $match $chop $pre_match $post_match $end_with? $lstrip $push_cell_spec $cell_open? $close_cell $advance $take_cell_spec $fetch $warn $line_info $tr_s $upto $times $rowspan $activate_rowspan $colspan $end_of_row? $close_row $rows $effective_col_visits".split(" ")),function(p){p=u(p,"Asciidoctor").$$scope,function(a,u){function c(){}var p,h=c=l(a,u,"Table",c),f=h.$$proto,m=h.$$scope;return f.attributes=f.document=f.has_header_option=f.rows=f.columns=i,function(t,r){function n(){}var o=n=l(t,r,"Rows",n);return o.$attr_accessor("head","foot","body"),e.defn(o,"$initialize",function(e,t,r){return null==e&&(e=[]),null==t&&(t=[]),null==r&&(r=[]),this.head=e,this.foot=t,this.body=r}),e.alias(o,"[]","send")}(m.base,null),e.cdecl(m,"DEFAULT_DATA_FORMAT","psv"),e.cdecl(m,"DATA_FORMATS",["psv","dsv","csv"]),e.cdecl(m,"DEFAULT_DELIMITERS",d(["psv","dsv","csv"],{psv:"|",dsv:":",csv:","})),e.cdecl(m,"TEXT_STYLES",d("dsemhlva".split(""),{d:"none",s:"strong",e:"emphasis",m:"monospaced",h:"header",l:"literal",v:"verse",a:"asciidoc"})),e.cdecl(m,"ALIGNMENTS",d(["h","v"],{h:d(["<",">","^"],{"<":"left",">":"right","^":"center"}),v:d(["<",">","^"],{"<":"top",">":"bottom","^":"middle"})})),h.$attr_accessor("columns"),h.$attr_accessor("rows"),h.$attr_accessor("has_header_option"),e.defn(h,"$initialize",p=function(o,s){var a,u,l,d=i,c=i;return p.$$p=null,e.find_super_dispatcher(this,"initialize",p,null).apply(this,[o,"table"]),this.rows=m.get("Rows").$new(),this.columns=[],this.has_header_option=s["$key?"]("header-option"),d=s["$[]"]("width"),c=d.$to_i().$abs(),(a=!1!==(u=(l=c["$=="](0))?d["$!="]("0"):c["$=="](0))&&u!==i?u:t(c,100))===i||a.$$is_boolean&&1!=a||(c=100),this.attributes["$[]="]("tablepcwidth",c),(a=this.document.$attributes()["$key?"]("pagewidth"))===i||a.$$is_boolean&&1!=a?i:(a="tableabswidth",u=this.attributes,!1!==(l=u["$[]"](a))&&l!==i?l:u["$[]="](a,r(n(this.attributes["$[]"]("tablepcwidth").$to_f(),100),this.document.$attributes()["$[]"]("pagewidth")).$round()))}),e.defn(h,"$header_row?",function(){var e;return e=this.has_header_option,!1!==e&&e!==i?this.rows.$body()["$empty?"]():e}),e.defn(h,"$create_columns",function(e){var t,r,n=i,s=i,n=[],s=0;return(t=e.$each,t.$$p=(r=function(e){var t=r.$$s||this;return null==e&&(e=i),s=o(s,e["$[]"]("width")),n["$<<"](m.get("Column").$new(t,n.$size(),e))},r.$$s=this,r),t).call(e),((t=(this.columns=n)["$empty?"]())===i||t.$$is_boolean&&1!=t)&&(this.attributes["$[]="]("colcount",n.$size()),this.$assign_col_widths(s["$=="](0)?i:s)),i}),e.defn(h,"$assign_col_widths",function(e){var t,a,u,l,d,c=i,p=i,h=i;return null==e&&(e=i),c=10["$**"](4),p=h=0,!1!==e&&e!==i?(t=(a=this.columns).$each,t.$$p=(u=function(t){return null==t&&(t=i),p=o(p,h=t.$assign_width(i,e,c))},u.$$s=this,u),t).call(a):(h=n(n(r(100,c),this.columns.$size()).$to_i(),c),h.$to_i()["$=="](h)&&(h=h.$to_i()),(t=(l=this.columns).$each,t.$$p=(d=function(e){return null==e&&(e=i),p=o(p,e.$assign_width(h))},d.$$s=this,d),t).call(l)),p["$=="](100)||this.columns["$[]"](-1).$assign_width(n(r(o(s(100,p),h),c).$round(),c)),i}),e.defn(h,"$partition_header_footer",function(e){var r,n,o,a=i,u=i;return this.attributes["$[]="]("rowcount",this.rows.$body().$size()),a=this.rows.$body().$size(),(r=(n=t(a,0))?this.has_header_option:t(a,0))===i||r.$$is_boolean&&1!=r||(u=this.rows.$body().$shift(),a=s(a,1),(r=(n=u).$each,r.$$p=(o=function(e){var t,r;return null==e&&(e=i),t=[i],r=e,r["$style="].apply(r,t),t[t.length-1]},o.$$s=this,o),r).call(n),r=[[u]],n=this.rows,n["$head="].apply(n,r),r[r.length-1]),(r=(n=t(a,0))?e["$key?"]("footer-option"):t(a,0))===i||r.$$is_boolean&&1!=r||(r=[[this.rows.$body().$pop()]],n=this.rows,n["$foot="].apply(n,r),r[r.length-1]),i}),i&&"partition_header_footer"}(p.base,p.get("AbstractBlock")),function(t,s){function a(){}var u,c=a=l(t,s,"Column",a);return c.$$proto.attributes=i,c.$attr_accessor("style"),e.defn(c,"$initialize",u=function(t,r,n){var s;return null==n&&(n=d([],{})),u.$$p=null,e.find_super_dispatcher(this,"initialize",u,null).apply(this,[t,"column"]),this.style=n["$[]"]("style"),n["$[]="]("colnumber",o(r,1)),t="width",r=n,!1!==(s=r["$[]"](t))&&s!==i?s:r["$[]="](t,1),t="halign",r=n,!1!==(s=r["$[]"](t))&&s!==i?s:r["$[]="](t,"left"),t="valign",r=n,!1!==(s=r["$[]"](t))&&s!==i?s:r["$[]="](t,"top"),this.$update_attributes(n)}),e.alias(c,"table","parent"),e.defn(c,"$assign_width",function(e,t,o){var s;return null==t&&(t=i),null==o&&(o=1e4),!1!==t&&t!==i&&(e=n(r(r(n(this.attributes["$[]"]("width").$to_f(),t),100),o).$to_i(),o),e.$to_i()["$=="](e)&&(e=e.$to_i())),this.attributes["$[]="]("colpcwidth",e),(s=this.$parent().$attributes()["$key?"]("tableabswidth"))===i||s.$$is_boolean&&1!=s||this.attributes["$[]="]("colabswidth",r(n(e,100),this.$parent().$attributes()["$[]"]("tableabswidth")).$round()),e}),i&&"assign_width"}(p.get("Table"),p.get("AbstractNode")),function(t,r){function n(){} -var o,s,u=n=l(t,r,"Cell",n),c=u.$$proto,p=u.$$scope;return c.style=c.document=c.text=c.inner_document=c.colspan=c.rowspan=c.attributes=i,u.$attr_accessor("style"),u.$attr_accessor("colspan"),u.$attr_accessor("rowspan"),e.alias(u,"column","parent"),u.$attr_reader("inner_document"),e.defn(u,"$initialize",o=function(t,r,n,s){var a,u=i,l=i,c=i,h=i;return null==n&&(n=d([],{})),null==s&&(s=i),o.$$p=null,e.find_super_dispatcher(this,"initialize",o,null).apply(this,[t,"cell"]),this.text=r,this.rowspan=this.colspan=this.style=i,!1!==t&&t!==i&&(this.style=t.$attributes()["$[]"]("style"),this.$update_attributes(t.$attributes())),!1!==n&&n!==i&&(this.colspan=n.$delete("colspan"),this.rowspan=n.$delete("rowspan"),(a=n["$key?"]("style"))===i||a.$$is_boolean&&1!=a||(this.style=n["$[]"]("style")),this.$update_attributes(n)),(a=(r=this.style["$=="]("asciidoc"))?t.$table()["$header_row?"]()["$!"]():this.style["$=="]("asciidoc"))===i||a.$$is_boolean&&1!=a?i:(u=this.document.$attributes().$delete("doctitle"),l=this.text.$split(p.get("EOL")),((a=!1!==(r=l["$empty?"]())&&r!==i?r:l["$[]"](0)["$include?"]("::")["$!"]())===i||a.$$is_boolean&&1!=a)&&(c=l["$[]"](0),h=p.get("PreprocessorReader").$new(this.document,c).$readlines(),(a=h["$!="](c))===i||a.$$is_boolean&&1!=a||(l.$shift(),(a=l).$unshift.apply(a,e.to_a(h)))),this.inner_document=p.get("Document").$new(l,d(["header_footer","parent","cursor"],{header_footer:!1,parent:this.document,cursor:s})),(r=u["$nil?"]())===i||r.$$is_boolean&&1!=r?this.document.$attributes()["$[]="]("doctitle",u):i)}),e.defn(u,"$text",function(){return this.$apply_normal_subs(this.text).$strip()}),e.defn(u,"$content",function(){var e,t,r;return this.style["$=="]("asciidoc")?this.inner_document.$convert():(e=(t=this.$text().$split(p.get("BlankLineRx"))).$map,e.$$p=(r=function(e){var t,n,o=r.$$s||this;return null==o.style&&(o.style=i),null==e&&(e=i),(t=!1!==(n=o.style["$!"]())&&n!==i?n:o.style["$=="]("header"))===i||t.$$is_boolean&&1!=t?p.get("Inline").$new(o.$parent(),"quoted",e,d(["type"],{type:o.style})).$convert():e},r.$$s=this,r),e).call(t)}),e.defn(u,"$to_s",s=function(){var t,r=a.call(arguments,0),n=s.$$p;return s.$$p=null,""+e.find_super_dispatcher(this,"to_s",s,n).apply(this,r).$to_s()+" - [text: "+this.text+", colspan: "+(!1!==(t=this.colspan)&&t!==i?t:1)+", rowspan: "+(!1!==(t=this.rowspan)&&t!==i?t:1)+", attributes: "+this.attributes+"]"}),i&&"to_s"}(p.get("Table"),p.get("AbstractNode")),function(r,n){function a(){}var u=a=l(r,n,"ParserContext",a),p=u.$$proto,h=u.$$scope;return p.format=p.delimiter=p.delimiter_re=p.buffer=p.cell_specs=p.cell_open=p.last_cursor=p.table=p.current_row=p.col_count=p.col_visits=p.active_rowspans=p.linenum=i,u.$attr_accessor("table"),u.$attr_accessor("format"),u.$attr_reader("col_count"),u.$attr_accessor("buffer"),u.$attr_reader("delimiter"),u.$attr_reader("delimiter_re"),e.defn(u,"$initialize",function(e,t,r){var n,o;return null==r&&(r=d([],{})),this.reader=e,this.table=t,this.last_cursor=e.$cursor(),(n=this.format=r["$[]"]("format"))===i||n.$$is_boolean&&1!=n?this.format=h.get("Table").$$scope.get("DEFAULT_DATA_FORMAT"):((n=h.get("Table").$$scope.get("DATA_FORMATS")["$include?"](this.format))===i||n.$$is_boolean&&1!=n)&&this.$raise("Illegal table format: "+this.format),this.delimiter=(o=this.format["$=="]("psv")?r["$key?"]("separator")["$!"]():this.format["$=="]("psv"),(n=!1!==o&&o!==i?t.$document()["$nested?"]():o)===i||n.$$is_boolean&&1!=n?!1!==(n=r["$[]"]("separator"))&&n!==i?n:h.get("Table").$$scope.get("DEFAULT_DELIMITERS")["$[]"](this.format):"!"),this.delimiter_re=new RegExp(""+h.get("Regexp").$escape(this.delimiter)),this.col_count=(n=t.$columns()["$empty?"]())===i||n.$$is_boolean&&1!=n?t.$columns().$size():-1,this.buffer="",this.cell_specs=[],this.cell_open=!1,this.active_rowspans=[0],this.col_visits=0,this.current_row=[],this.linenum=-1}),e.defn(u,"$starts_with_delimiter?",function(e){return e["$start_with?"](this.delimiter)}),e.defn(u,"$match_delimiter",function(e){return this.delimiter_re.$match(e)}),e.defn(u,"$skip_matched_delimiter",function(e,t){return null==t&&(t=!1),this.buffer=""+this.buffer+(!1!==t&&t!==i?e.$pre_match().$chop():e.$pre_match())+this.delimiter,e.$post_match()}),e.defn(u,"$buffer_has_unclosed_quotes?",function(e){var t,r,n=i;return null==e&&(e=i),n=(""+this.buffer+e).$strip(),r=n["$start_with?"]('"'),t=!1!==r&&r!==i?n["$start_with?"]('""')["$!"]():r,!1!==t&&t!==i?n["$end_with?"]('"')["$!"]():t}),e.defn(u,"$buffer_quoted?",function(){var e;return this.buffer=this.buffer.$lstrip(),e=this.buffer["$start_with?"]('"'),!1!==e&&e!==i?this.buffer["$start_with?"]('""')["$!"]():e}),e.defn(u,"$take_cell_spec",function(){return this.cell_specs.$shift()}),e.defn(u,"$push_cell_spec",function(e){var t;return null==e&&(e=d([],{})),this.cell_specs["$<<"](!1!==(t=e)&&t!==i?t:d([],{})),i}),e.defn(u,"$keep_cell_open",function(){return this.cell_open=!0,i}),e.defn(u,"$mark_cell_closed",function(){return this.cell_open=!1,i}),e.defn(u,"$cell_open?",function(){return this.cell_open}),e.defn(u,"$cell_closed?",function(){return this.cell_open["$!"]()}),e.defn(u,"$close_open_cell",function(e){var t;return null==e&&(e=d([],{})),this.$push_cell_spec(e),(t=this["$cell_open?"]())===i||t.$$is_boolean&&1!=t||this.$close_cell(!0),this.$advance(),i}),e.defn(u,"$close_cell",function(r){try{var n,a,u,l=i,p=i,f=i;return null==r&&(r=!1),l=this.buffer.$strip(),this.buffer="",this.format["$=="]("psv")?(p=this.$take_cell_spec(),!1!==p&&p!==i?(f=p.$fetch("repeatcol",1),p.$delete("repeatcol")):(this.$warn("asciidoctor: ERROR: "+this.last_cursor.$line_info()+": table missing leading separator, recovering automatically"),p=d([],{}),f=1)):(p=i,f=1,!this.format["$=="]("csv")||(a=l["$empty?"]()["$!"](),(n=!1!==a&&a!==i?l["$include?"]('"'):a)===i)||n.$$is_boolean&&1!=n||(a=l["$start_with?"]('"'),(n=!1!==a&&a!==i?l["$end_with?"]('"'):a)===i||n.$$is_boolean&&1!=n||(l=l["$[]"](c(1,-1,!0)).$strip()),l=l.$tr_s('"','"'))),(n=(a=1).$upto,n.$$p=(u=function(n){var a,d,c,m,b,v,_=u.$$s||this,g=i,y=i,$=i,g=i;return null==_.col_count&&(_.col_count=i),null==_.table&&(_.table=i),null==_.current_row&&(_.current_row=i),null==_.last_cursor&&(_.last_cursor=i),null==_.reader&&(_.reader=i),null==_.col_visits&&(_.col_visits=i),null==_.linenum&&(_.linenum=i),null==n&&(n=i),_.col_count["$=="](-1)?(_.table.$columns()["$<<"](g=h.get("Table").$$scope.get("Column").$new(_.table,s(o(_.table.$columns().$size(),n),1))),d=(c=!1!==p&&p!==i)?p["$key?"]("colspan"):p,(a=!1!==d&&d!==i?t(y=s(p["$[]"]("colspan").$to_i(),1),0):d)===i||a.$$is_boolean&&1!=a||($=_.table.$columns().$size(),(a=(d=y).$times,a.$$p=(m=function(e){var t=m.$$s||this;return null==t.table&&(t.table=i),null==e&&(e=i),t.table.$columns()["$<<"](h.get("Table").$$scope.get("Column").$new(t.table,o($,e)))},m.$$s=_,m),a).call(d))):((a=g=_.table.$columns()["$[]"](_.current_row.$size()))===i||a.$$is_boolean&&1!=a)&&(_.$warn("asciidoctor: ERROR: "+_.last_cursor.$line_info()+": dropping cell because it exceeds specified number of columns"),e.ret(i)),g=h.get("Table").$$scope.get("Cell").$new(g,l,p,_.last_cursor),_.last_cursor=_.reader.$cursor(),((a=!1!==(c=g.$rowspan()["$!"]())&&c!==i?c:g.$rowspan()["$=="](1))===i||a.$$is_boolean&&1!=a)&&_.$activate_rowspan(g.$rowspan(),!1!==(a=g.$colspan())&&a!==i?a:1),_.col_visits=o(_.col_visits,!1!==(a=g.$colspan())&&a!==i?a:1),_.current_row["$<<"](g),c=_["$end_of_row?"](),(a=!1!==c&&c!==i?!1!==(b=!1!==(v=_.col_count["$!="](-1))&&v!==i?v:t(_.linenum,0))&&b!==i?b:(v=!1!==r&&r!==i)?n["$=="](f):r:c)===i||a.$$is_boolean&&1!=a?i:_.$close_row()},u.$$s=this,u),n).call(a,f),this.cell_open=!1,i}catch(m){if(m===e.returner)return m.$v;throw m}}),e.defn(u,"$close_row",function(){var e,t;return this.table.$rows().$body()["$<<"](this.current_row),this.col_count["$=="](-1)&&(this.col_count=this.col_visits),this.col_visits=0,this.current_row=[],this.active_rowspans.$shift(),e=this.active_rowspans,!1!==(t=e["$[]"](0))&&t!==i?t:e["$[]="](0,0),i}),e.defn(u,"$activate_rowspan",function(e,t){var r,n,a;return(r=(n=1..$upto(s(e,1))).$each,r.$$p=(a=function(e){var r,n=a.$$s||this;return null==n.active_rowspans&&(n.active_rowspans=i),null==e&&(e=i),n.active_rowspans["$[]="](e,o(!1!==(r=n.active_rowspans["$[]"](e))&&r!==i?r:0,t))},a.$$s=this,a),r).call(n),i}),e.defn(u,"$end_of_row?",function(){var e;return!1!==(e=this.col_count["$=="](-1))&&e!==i?e:this.$effective_col_visits()["$=="](this.col_count)}),e.defn(u,"$effective_col_visits",function(){return o(this.col_visits,this.active_rowspans["$[]"](0))}),e.defn(u,"$advance",function(){return this.linenum=o(this.linenum,1)}),i&&"advance"}(p.get("Table"),null)}(e.base)},function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e>=t:e["$>="](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e= $require $unshift $dirname $new $attr $instance_variable_set $send $<< $define $expand_path $join $home $[] $pwd $! $!= $default_external $to_a $bytes $to_set $map $keys $* $dup $[]= $insert $start $=== $inject $split $gsub $respond_to? $each $raise $ancestors $class $path $mtime $readlines $basename $strftime $rewind $entries $lines $record $parse $exception $message $set_backtrace $backtrace $stack_trace= $stack_trace $load $delete $key? $attributes $outfilesuffix $has_key? $safe $normalize_system_path $directory? $mkdir_p $convert $write $< $attr? $uriish? $include? $write_primary_stylesheet $instance $empty? $nil? $read_asset $open $write_coderay_stylesheet $write_pygments_stylesheet".split(" ")),((o=null!=e.RUBY_ENGINE)===i||o.$$is_boolean&&1!=o)&&e.cdecl(e,"RUBY_ENGINE","unknown"),e.cdecl(e,"RUBY_ENGINE_OPAL",e.get("RUBY_ENGINE")["$=="]("opal")),e.cdecl(e,"RUBY_ENGINE_JRUBY",e.get("RUBY_ENGINE")["$=="]("jruby")),e.cdecl(e,"RUBY_MIN_VERSION_1_9",t(e.get("RUBY_VERSION"),"1.9")),e.cdecl(e,"RUBY_MIN_VERSION_2",t(e.get("RUBY_VERSION"),"2")),s.$require("set"),e.get("RUBY_ENGINE")["$=="]("opal")&&s.$require("asciidoctor/opal_ext"),a[":"].$unshift(e.get("File").$dirname("asciidoctor")),function(o){o=u(o,"Asciidoctor");var s,a,p,h=o.$$scope,f=i,m=i;e.cdecl(h,"RUBY_ENGINE",e.get("RUBY_ENGINE")),function(t){t=u(t,"SafeMode").$$scope,e.cdecl(t,"UNSAFE",0),e.cdecl(t,"SAFE",1),e.cdecl(t,"SERVER",10),e.cdecl(t,"SECURE",20)}(h.base),function(t){t=u(t,"Compliance"),t.keys=e.get("Set").$new(),function(e){return e.$attr("keys")}(e.get_singleton_class(t)),e.defs(t,"$define",function(t,r){return null==this.keys&&(this.keys=i),this.$instance_variable_set("@"+t,r),e.get_singleton_class(this).$send("attr_accessor",t),this.keys["$<<"](t),i}),t.$define("block_terminates_paragraph",!0),t.$define("strict_verbatim_paragraphs",!0),t.$define("underline_style_section_titles",!0),t.$define("unwrap_standalone_preamble",!0),t.$define("attribute_missing","skip"),t.$define("attribute_undefined","drop-line"),t.$define("shorthand_property_syntax",!0),t.$define("unique_id_start_index",2),t.$define("markdown_syntax",!0)}(h.base),e.cdecl(h,"ROOT_PATH",e.get("File").$dirname(e.get("File").$dirname(e.get("File").$expand_path("asciidoctor")))),e.cdecl(h,"LIB_PATH",e.get("File").$join(h.get("ROOT_PATH"),"lib")),e.cdecl(h,"DATA_PATH",e.get("File").$join(h.get("ROOT_PATH"),"data"));try{e.cdecl(h,"USER_HOME",e.get("Dir").$home())}catch(b){try{e.cdecl(h,"USER_HOME",!1!==(s=e.get("ENV")["$[]"]("HOME"))&&s!==i?s:e.get("Dir").$pwd())}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}e.cdecl(h,"COERCE_ENCODING",(s=e.get("RUBY_ENGINE_OPAL")["$!"](),!1!==s&&s!==i?e.get("RUBY_MIN_VERSION_1_9"):s)),e.cdecl(h,"FORCE_ENCODING",(s=h.get("COERCE_ENCODING"),!1!==s&&s!==i?e.get("Encoding").$default_external()["$!="](e.get("Encoding").$$scope.get("UTF_8")):s)),e.cdecl(h,"BOM_BYTES_UTF_8","".$bytes().$to_a()),e.cdecl(h,"BOM_BYTES_UTF_16LE","ÿþ".$bytes().$to_a()),e.cdecl(h,"BOM_BYTES_UTF_16BE","þÿ".$bytes().$to_a()),e.cdecl(h,"FORCE_UNICODE_LINE_LENGTH",e.get("RUBY_MIN_VERSION_1_9")["$!"]()),e.cdecl(h,"SUPPORTS_GSUB_RESULT_HASH",(s=e.get("RUBY_MIN_VERSION_1_9"),!1!==s&&s!==i?e.get("RUBY_ENGINE_OPAL")["$!"]():s)),e.cdecl(h,"EOL","\n"),e.cdecl(h,"NULL","\0"),e.cdecl(h,"TAB","\t"),e.cdecl(h,"DEFAULT_DOCTYPE","article"),e.cdecl(h,"DEFAULT_BACKEND","html5"),e.cdecl(h,"DEFAULT_STYLESHEET_KEYS",["","DEFAULT"].$to_set()),e.cdecl(h,"DEFAULT_STYLESHEET_NAME","asciidoctor.css"),e.cdecl(h,"BACKEND_ALIASES",l(["html","docbook"],{html:"html5",docbook:"docbook5"})),e.cdecl(h,"DEFAULT_PAGE_WIDTHS",l(["docbook"],{docbook:425})),e.cdecl(h,"DEFAULT_EXTENSIONS",l(["html","docbook","pdf","epub","asciidoc"],{html:".html",docbook:".xml",pdf:".pdf",epub:".epub",asciidoc:".adoc"})),e.cdecl(h,"ASCIIDOC_EXTENSIONS",l([".asciidoc",".adoc",".ad",".asc",".txt"],{".asciidoc":!0,".adoc":!0,".ad":!0,".asc":!0,".txt":!0})),e.cdecl(h,"SECTION_LEVELS",l(["=","-","~","^","+"],{"=":0,"-":1,"~":2,"^":3,"+":4})),e.cdecl(h,"ADMONITION_STYLES",["NOTE","TIP","IMPORTANT","WARNING","CAUTION"].$to_set()),e.cdecl(h,"PARAGRAPH_STYLES","comment example literal listing normal pass quote sidebar source verse abstract partintro".split(" ").$to_set()),e.cdecl(h,"VERBATIM_STYLES",["literal","listing","source","verse"].$to_set()),e.cdecl(h,"DELIMITED_BLOCKS",l('-- ---- .... ==== **** ____ "" ++++ |=== ,=== :=== !=== //// ```'.split(" "),{"--":["open","comment example literal listing pass quote sidebar source verse admonition abstract partintro".split(" ").$to_set()],"----":["listing",["literal","source"].$to_set()],"....":["literal",["listing","source"].$to_set()],"====":["example",["admonition"].$to_set()],"****":["sidebar",e.get("Set").$new()],____:["quote",["verse"].$to_set()],'""':["quote",["verse"].$to_set()],"++++":["pass",["stem","latexmath","asciimath"].$to_set()],"|===":["table",e.get("Set").$new()],",===":["table",e.get("Set").$new()],":===":["table",e.get("Set").$new()],"!===":["table",e.get("Set").$new()],"////":["comment",e.get("Set").$new()],"```":["fenced_code",e.get("Set").$new()]})),e.cdecl(h,"DELIMITED_BLOCK_LEADERS",(s=(a=h.get("DELIMITED_BLOCKS").$keys()).$map,s.$$p=(p=function(e){return null==e&&(e=i),e["$[]"](d(0,1,!1))},p.$$s=o,p),s).call(a).$to_set()),e.cdecl(h,"LAYOUT_BREAK_LINES",l(["'","-","*","_","<"],{"'":"thematic_break","-":"thematic_break","*":"thematic_break",_:"thematic_break","<":"page_break"})),e.cdecl(h,"NESTABLE_LIST_CONTEXTS",["ulist","olist","dlist"]),e.cdecl(h,"ORDERED_LIST_STYLES",["arabic","loweralpha","lowerroman","upperalpha","upperroman"]),e.cdecl(h,"ORDERED_LIST_KEYWORDS",l(["loweralpha","lowerroman","upperalpha","upperroman"],{loweralpha:"a",lowerroman:"i",upperalpha:"A",upperroman:"I"})),e.cdecl(h,"LIST_CONTINUATION","+"),e.cdecl(h,"LINE_BREAK"," +"),e.cdecl(h,"LINE_CONTINUATION"," \\"),e.cdecl(h,"LINE_CONTINUATION_LEGACY"," +"),e.cdecl(h,"BLOCK_MATH_DELIMITERS",l(["asciimath","latexmath"],{asciimath:["\\$","\\$"],latexmath:["\\[","\\]"]})),e.cdecl(h,"INLINE_MATH_DELIMITERS",l(["asciimath","latexmath"],{asciimath:["\\$","\\$"],latexmath:["\\(","\\)"]})),e.cdecl(h,"FLEXIBLE_ATTRIBUTES",["sectnums"]),h.get("RUBY_ENGINE")["$=="]("opal")&&(e.cdecl(h,"CC_ALPHA","a-zA-Z"),e.cdecl(h,"CG_ALPHA","[a-zA-Z]"),e.cdecl(h,"CC_ALNUM","a-zA-Z0-9"),e.cdecl(h,"CG_ALNUM","[a-zA-Z0-9]"),e.cdecl(h,"CG_BLANK","[ \\t]"),e.cdecl(h,"CC_EOL","(?=\\n|$)"),e.cdecl(h,"CG_GRAPH","[\\x21-\\x7E]"),e.cdecl(h,"CC_ALL","[\\s\\S]"),e.cdecl(h,"CC_WORD","a-zA-Z0-9_"),e.cdecl(h,"CG_WORD","[a-zA-Z0-9_]")),e.cdecl(h,"AuthorInfoLineRx",new RegExp("^("+h.get("CG_WORD")+"["+h.get("CC_WORD")+"\\-'.]*)(?: +("+h.get("CG_WORD")+"["+h.get("CC_WORD")+"\\-'.]*))?(?: +("+h.get("CG_WORD")+"["+h.get("CC_WORD")+"\\-'.]*))?(?: +<([^>]+)>)?$")),e.cdecl(h,"RevisionInfoLineRx",/^(?:\D*(.*?),)?(?:\s*(?!:)(.*?))(?:\s*(?!^):\s*(.*))?$/),e.cdecl(h,"ManpageTitleVolnumRx",/^(.*)\((.*)\)$/),e.cdecl(h,"ManpageNamePurposeRx",new RegExp("^(.*?)"+h.get("CG_BLANK")+"+-"+h.get("CG_BLANK")+"+(.*)$")),e.cdecl(h,"ConditionalDirectiveRx",/^\\?(ifdef|ifndef|ifeval|endif)::(\S*?(?:([,\+])\S+?)?)\[(.+)?\]$/),e.cdecl(h,"EvalExpressionRx",new RegExp("^(\\S.*?)"+h.get("CG_BLANK")+"*(==|!=|<=|>=|<|>)"+h.get("CG_BLANK")+"*(\\S.*)$")),e.cdecl(h,"IncludeDirectiveRx",/^\\?include::([^\[]+)\[(.*?)\]$/),e.cdecl(h,"TagDirectiveRx",/\b(?:tag|end)::\S+\[\]$/),e.cdecl(h,"AttributeEntryRx",new RegExp("^:(!?\\w.*?):(?:"+h.get("CG_BLANK")+"+(.*))?$")),e.cdecl(h,"InvalidAttributeNameCharsRx",/[^\w\-]/),e.cdecl(h,"AttributeEntryPassMacroRx",/^pass:([a-z,]*)\[(.*)\]$/),e.cdecl(h,"AttributeReferenceRx",/(\\)?\{((set|counter2?):.+?|\w+(?:[\-]\w+)*)(\\)?\}/),e.cdecl(h,"BlockAnchorRx",new RegExp("^\\[\\[(?:|(["+h.get("CC_ALPHA")+":_]["+h.get("CC_WORD")+":.-]*)(?:,"+h.get("CG_BLANK")+"*(\\S.*))?)\\]\\]$")),e.cdecl(h,"BlockAttributeListRx",new RegExp("^\\[(|"+h.get("CG_BLANK")+"*["+h.get("CC_WORD")+"\\{,.#\"'%].*)\\]$")),e.cdecl(h,"BlockAttributeLineRx",new RegExp("^\\[(|"+h.get("CG_BLANK")+"*["+h.get("CC_WORD")+"\\{,.#\"'%].*|\\[(?:|["+h.get("CC_ALPHA")+":_]["+h.get("CC_WORD")+":.-]*(?:,"+h.get("CG_BLANK")+"*\\S.*)?)\\])\\]$")),e.cdecl(h,"BlockTitleRx",/^\.([^\s.].*)$/),e.cdecl(h,"AdmonitionParagraphRx",new RegExp("^("+r(h.get("ADMONITION_STYLES").$to_a(),"|")+"):"+h.get("CG_BLANK"))),e.cdecl(h,"LiteralParagraphRx",new RegExp("^("+h.get("CG_BLANK")+"+.*)$")),e.cdecl(h,"CommentBlockRx",/^\/{4,}$/),e.cdecl(h,"CommentLineRx",/^\/\/(?:[^\/]|$)/),e.cdecl(h,"AtxSectionRx",new RegExp("^((?:=|#){1,6})"+h.get("CG_BLANK")+"+(\\S.*?)(?:"+h.get("CG_BLANK")+"+\\1)?$")),e.cdecl(h,"SetextSectionTitleRx",new RegExp("^((?=.*"+h.get("CG_WORD")+"+.*)[^.].*?)$")),e.cdecl(h,"SetextSectionLineRx",/^(?:=|-|~|\^|\+)+$/),e.cdecl(h,"InlineSectionAnchorRx",new RegExp("^(.*?)"+h.get("CG_BLANK")+"+(\\\\)?\\[\\[(["+h.get("CC_ALPHA")+":_]["+h.get("CC_WORD")+":.-]*)(?:,"+h.get("CG_BLANK")+"*(\\S.*?))?\\]\\]$")),e.cdecl(h,"InvalidSectionIdCharsRx",new RegExp("&(?:[a-zA-Z]{2,}|#\\d{2,5}|#x[a-fA-F0-9]{2,4});|[^"+h.get("CC_WORD")+"]+?")),e.cdecl(h,"FloatingTitleStyleRx",/^(?:float|discrete)\b/),e.cdecl(h,"AnyListRx",new RegExp("^(?:"+h.get("CG_BLANK")+"+"+h.get("CG_GRAPH")+"|"+h.get("CG_BLANK")+"*(?:-|(?:\\*|\\.|\\u2022){1,5}|\\d+\\.|[a-zA-Z]\\.|[IVXivx]+\\))"+h.get("CG_BLANK")+"+"+h.get("CG_GRAPH")+"|"+h.get("CG_BLANK")+"*.*?(?::{2,4}|;;)(?:"+h.get("CG_BLANK")+"+"+h.get("CG_GRAPH")+"|$))")),e.cdecl(h,"UnorderedListRx",new RegExp("^"+h.get("CG_BLANK")+"*(-|\\*{1,5}|\\u2022{1,5})"+h.get("CG_BLANK")+"+(.*)$")),e.cdecl(h,"OrderedListRx",new RegExp("^"+h.get("CG_BLANK")+"*(\\.{1,5}|\\d+\\.|[a-zA-Z]\\.|[IVXivx]+\\))"+h.get("CG_BLANK")+"+(.*)$")),e.cdecl(h,"OrderedListMarkerRxMap",l(["arabic","loweralpha","lowerroman","upperalpha","upperroman"],{arabic:/\d+[.>]/,loweralpha:/[a-z]\./,lowerroman:/[ivx]+\)/,upperalpha:/[A-Z]\./,upperroman:/[IVX]+\)/})),e.cdecl(h,"DefinitionListRx",new RegExp("^(?!\\/\\/)"+h.get("CG_BLANK")+"*(.*?)(:{2,4}|;;)(?:"+h.get("CG_BLANK")+"+(.*))?$")),e.cdecl(h,"DefinitionListSiblingRx",l(["::",":::","::::",";;"],{"::":new RegExp("^(?!\\/\\/)"+h.get("CG_BLANK")+"*((?:.*[^:])?)(::)(?:"+h.get("CG_BLANK")+"+(.*))?$"),":::":new RegExp("^(?!\\/\\/)"+h.get("CG_BLANK")+"*((?:.*[^:])?)(:::)(?:"+h.get("CG_BLANK")+"+(.*))?$"),"::::":new RegExp("^(?!\\/\\/)"+h.get("CG_BLANK")+"*((?:.*[^:])?)(::::)(?:"+h.get("CG_BLANK")+"+(.*))?$"),";;":new RegExp("^(?!\\/\\/)"+h.get("CG_BLANK")+"*(.*)(;;)(?:"+h.get("CG_BLANK")+"+(.*))?$")})),e.cdecl(h,"CalloutListRx",new RegExp("^"+h.get("CG_BLANK")+"+(.*)")),e.cdecl(h,"CalloutExtractRx",/(?:(?:\/\/|#|--|;;) ?)?(\\)?(?=(?: ?\\?)*$)/),e.cdecl(h,"CalloutExtractRxt","(\\\\)?<()(\\d+)>(?=(?: ?\\\\?<\\d+>)*$)"),e.cdecl(h,"CalloutQuickScanRx",new RegExp("\\\\?(?=(?: ?\\\\?)*"+h.get("CC_EOL")+")")),e.cdecl(h,"CalloutSourceRx",new RegExp("(?:(?:\\/\\/|#|--|;;) ?)?(\\\\)?<!?(--|)(\\d+)\\2>(?=(?: ?\\\\?<!?\\2\\d+\\2>)*"+h.get("CC_EOL")+")")),e.cdecl(h,"CalloutSourceRxt","(\\\\)?<()(\\d+)>(?=(?: ?\\\\?<\\d+>)*"+h.get("CC_EOL")+")"),e.cdecl(h,"ListRxMap",l(["ulist","olist","dlist","colist"],{ulist:h.get("UnorderedListRx"),olist:h.get("OrderedListRx"),dlist:h.get("DefinitionListRx"),colist:h.get("CalloutListRx")})),e.cdecl(h,"ColumnSpecRx",/^(?:(\d+)\*)?([<^>](?:\.[<^>]?)?|(?:[<^>]?\.)?[<^>])?(\d+%?)?([a-z])?$/),e.cdecl(h,"CellSpecStartRx",new RegExp("^"+h.get("CG_BLANK")+"*(?:(\\d+(?:\\.\\d*)?|(?:\\d*\\.)?\\d+)([*+]))?([<^>](?:\\.[<^>]?)?|(?:[<^>]?\\.)?[<^>])?([a-z])?$")),e.cdecl(h,"CellSpecEndRx",new RegExp(""+h.get("CG_BLANK")+"+(?:(\\d+(?:\\.\\d*)?|(?:\\d*\\.)?\\d+)([*+]))?([<^>](?:\\.[<^>]?)?|(?:[<^>]?\\.)?[<^>])?([a-z])?$")),e.cdecl(h,"GenericBlockMacroRx",new RegExp("^("+h.get("CG_WORD")+"+)::(\\S*?)\\[((?:\\\\\\]|[^\\]])*?)\\]$")),e.cdecl(h,"MediaBlockMacroRx",/^(image|video|audio)::(\S+?)\[((?:\\\]|[^\]])*?)\]$/),e.cdecl(h,"TocBlockMacroRx",/^toc::\[(.*?)\]$/),e.cdecl(h,"InlineAnchorRx",new RegExp("\\\\?(?:\\[\\[(["+h.get("CC_ALPHA")+":_]["+h.get("CC_WORD")+":.-]*)(?:,"+h.get("CG_BLANK")+"*(\\S.*?))?\\]\\]|anchor:(\\S+)\\[(.*?[^\\\\])?\\])")),e.cdecl(h,"InlineBiblioAnchorRx",new RegExp("\\\\?\\[\\[\\[(["+h.get("CC_WORD")+":]["+h.get("CC_WORD")+":.-]*?)\\]\\]\\]")),e.cdecl(h,"EmailInlineMacroRx",new RegExp("([\\\\>:\\/])?"+h.get("CG_WORD")+"["+h.get("CC_WORD")+".%+-]*@"+h.get("CG_ALNUM")+"["+h.get("CC_ALNUM")+".-]*\\."+h.get("CG_ALPHA")+"{2,4}\\b")),e.cdecl(h,"FootnoteInlineMacroRx",new RegExp("\\\\?(footnote(?:ref)?):\\[("+h.get("CC_ALL")+"*?[^\\\\])\\]")),e.cdecl(h,"ImageInlineMacroRx",/\\?(?:image|icon):([^:\[][^\[]*)\[((?:\\\]|[^\]])*?)\]/),e.cdecl(h,"IndextermInlineMacroRx",new RegExp("\\\\?(?:(indexterm2?):\\[("+h.get("CC_ALL")+"*?[^\\\\])\\]|\\(\\(("+h.get("CC_ALL")+"+?)\\)\\)(?!\\)))")),e.cdecl(h,"KbdBtnInlineMacroRx",/\\?(?:kbd|btn):\[((?:\\\]|[^\]])+?)\]/),e.cdecl(h,"KbdDelimiterRx",new RegExp("(?:\\+|,)(?="+h.get("CG_BLANK")+"*[^\\1])")),e.cdecl(h,"LinkInlineRx",/(^|link:|<|[\s>\(\)\[\];])(\\?(?:https?|file|ftp|irc):\/\/[^\s\[\]<]*[^\s.,\[\]<])(?:\[((?:\\\]|[^\]])*?)\])?/),e.cdecl(h,"LinkInlineMacroRx",/\\?(?:link|mailto):([^\s\[]+)(?:\[((?:\\\]|[^\]])*?)\])/),e.cdecl(h,"StemInlineMacroRx",new RegExp("\\\\?(stem|(?:latex|ascii)math):([a-z,]*)\\[("+h.get("CC_ALL")+"*?[^\\\\])\\]")),e.cdecl(h,"MenuInlineMacroRx",new RegExp("\\\\?menu:("+h.get("CG_WORD")+"|"+h.get("CG_WORD")+".*?\\S)\\["+h.get("CG_BLANK")+"*(.+?)?\\]")),e.cdecl(h,"MenuInlineRx",new RegExp('\\\\?"('+h.get("CG_WORD")+'[^"]*?'+h.get("CG_BLANK")+"*>"+h.get("CG_BLANK")+'*[^" \\t][^"]*)"')),e.cdecl(h,"PassInlineRx",c(!1,["+","`",new RegExp("(^|[^"+h.get("CC_WORD")+";:])(?:\\[([^\\]]+?)\\])?(\\\\?(\\+|`)(\\S|\\S"+h.get("CC_ALL")+"*?\\S)\\4)(?!"+h.get("CG_WORD")+")")],!0,["`",i,new RegExp("(^|[^`"+h.get("CC_WORD")+"])(?:\\[([^\\]]+?)\\])?(\\\\?(`)([^`\\s]|[^`\\s]"+h.get("CC_ALL")+"*?\\S)\\4)(?![`"+h.get("CC_WORD")+"])")])),e.cdecl(h,"PassInlineMacroRx",new RegExp("(?:(?:(\\\\?)\\[([^\\]]+?)\\])?(\\\\{0,2})(\\+{2,3}|\\${2})("+h.get("CC_ALL")+"*?)\\4|(\\\\?)pass:([a-z,]*)\\[("+h.get("CC_ALL")+"*?[^\\\\])\\])")),e.cdecl(h,"XrefInlineMacroRx",new RegExp("\\\\?(?:<<(["+h.get("CC_WORD")+'":.\\/]'+h.get("CC_ALL")+"*?)>>|xref:(["+h.get("CC_WORD")+'":.\\/]'+h.get("CC_ALL")+"*?)\\[("+h.get("CC_ALL")+"*?)\\])")),h.get("RUBY_ENGINE")["$=="]("opal")&&e.cdecl(h,"LineBreakRx",/^(.*)[ \t]\+$/m),e.cdecl(h,"LayoutBreakLineRx",/^('|<){3,}$/),e.cdecl(h,"LayoutBreakLinePlusRx",/^(?:'|<){3,}$|^ {0,3}([-\*_])( *)\1\2\1$/),e.cdecl(h,"BlankLineRx",new RegExp("^"+h.get("CG_BLANK")+"*\\n")),e.cdecl(h,"DataDelimiterRx",/,|;/),e.cdecl(h,"DoubleQuotedRx",/^("|)(.*)\1$/),e.cdecl(h,"DoubleQuotedMultiRx",new RegExp('^("|)('+h.get("CC_ALL")+"*)\\1$")),e.cdecl(h,"TrailingDigitsRx",/\d+$/),e.cdecl(h,"EscapedSpaceRx",new RegExp("\\\\("+h.get("CG_BLANK")+")")),e.cdecl(h,"SpaceDelimiterRx",new RegExp("([^\\\\])"+h.get("CG_BLANK")+"+")),e.cdecl(h,"SubModifierSniffRx",/[+-]/),e.cdecl(h,"UnicodeCharScanRx",function(){return h.get("RUBY_ENGINE")["$=="]("opal"),i}()),e.cdecl(h,"UriSniffRx",new RegExp("^"+h.get("CG_ALPHA")+"["+h.get("CC_ALNUM")+".+-]+:/{0,2}")),e.cdecl(h,"UriTerminator",/[);:]$/),e.cdecl(h,"XmlSanitizeRx",/<[^>]+>/),e.cdecl(h,"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".split(" "),{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:"C++",amp:"&",lt:"<",gt:">"})),f=[["strong","unconstrained",new RegExp("\\\\?(?:\\[([^\\]]+?)\\])?\\*\\*("+h.get("CC_ALL")+"+?)\\*\\*")],["strong","constrained",new RegExp("(^|[^"+h.get("CC_WORD")+";:}])(?:\\[([^\\]]+?)\\])?\\*(\\S|\\S"+h.get("CC_ALL")+"*?\\S)\\*(?!"+h.get("CG_WORD")+")")],["double","constrained",new RegExp("(^|[^"+h.get("CC_WORD")+';:}])(?:\\[([^\\]]+?)\\])?"`(\\S|\\S'+h.get("CC_ALL")+'*?\\S)`"(?!'+h.get("CG_WORD")+")")],["single","constrained",new RegExp("(^|[^"+h.get("CC_WORD")+";:`}])(?:\\[([^\\]]+?)\\])?'`(\\S|\\S"+h.get("CC_ALL")+"*?\\S)`'(?!"+h.get("CG_WORD")+")")],["monospaced","unconstrained",new RegExp("\\\\?(?:\\[([^\\]]+?)\\])?``("+h.get("CC_ALL")+"+?)``")],["monospaced","constrained",new RegExp("(^|[^"+h.get("CC_WORD")+";:\"'`}])(?:\\[([^\\]]+?)\\])?`(\\S|\\S"+h.get("CC_ALL")+"*?\\S)`(?!["+h.get("CC_WORD")+"\"'`])")],["emphasis","unconstrained",new RegExp("\\\\?(?:\\[([^\\]]+?)\\])?__("+h.get("CC_ALL")+"+?)__")],["emphasis","constrained",new RegExp("(^|[^"+h.get("CC_WORD")+";:}])(?:\\[([^\\]]+?)\\])?_(\\S|\\S"+h.get("CC_ALL")+"*?\\S)_(?!"+h.get("CG_WORD")+")")],["mark","unconstrained",new RegExp("\\\\?(?:\\[([^\\]]+?)\\])?##("+h.get("CC_ALL")+"+?)##")],["mark","constrained",new RegExp("(^|[^"+h.get("CC_WORD")+"&;:}])(?:\\[([^\\]]+?)\\])?#(\\S|\\S"+h.get("CC_ALL")+"*?\\S)#(?!"+h.get("CG_WORD")+")")],["superscript","unconstrained",/\\?(?:\[([^\]]+?)\])?\^(\S+?)\^/],["subscript","unconstrained",/\\?(?:\[([^\]]+?)\])?~(\S+?)~/]],m=f.$dup(),m["$[]="](2,["double","constrained",new RegExp("(^|[^"+h.get("CC_WORD")+";:}])(?:\\[([^\\]]+?)\\])?``(\\S|\\S"+h.get("CC_ALL")+"*?\\S)''(?!"+h.get("CG_WORD")+")")]),m["$[]="](3,["single","constrained",new RegExp("(^|[^"+h.get("CC_WORD")+";:}])(?:\\[([^\\]]+?)\\])?`(\\S|\\S"+h.get("CC_ALL")+"*?\\S)'(?!"+h.get("CG_WORD")+")")]),m["$[]="](4,["monospaced","unconstrained",new RegExp("\\\\?(?:\\[([^\\]]+?)\\])?\\+\\+("+h.get("CC_ALL")+"+?)\\+\\+")]),m["$[]="](5,["monospaced","constrained",new RegExp("(^|[^"+h.get("CC_WORD")+";:}])(?:\\[([^\\]]+?)\\])?\\+(\\S|\\S"+h.get("CC_ALL")+"*?\\S)\\+(?!"+h.get("CG_WORD")+")")]),m.$insert(3,["emphasis","constrained",new RegExp("(^|[^"+h.get("CC_WORD")+";:}])(?:\\[([^\\]]+?)\\])?'(\\S|\\S"+h.get("CC_ALL")+"*?\\S)'(?!"+h.get("CG_WORD")+")")]),e.cdecl(h,"QUOTE_SUBS",c(!1,f,!0,m)),m=f=i,e.cdecl(h,"REPLACEMENTS",[[/\\?\(C\)/,"©","none"],[/\\?\(R\)/,"®","none"],[/\\?\(TM\)/,"™","none"],[/(^|\n| |\\)--( |\n|$)/," — ","none"],[new RegExp("("+h.get("CG_WORD")+")\\\\?--(?="+h.get("CG_WORD")+")"),"—​","leading"],[/\\?\.\.\./,"…​","leading"],[/\\?`'/,"’","none"],[new RegExp("("+h.get("CG_ALNUM")+")\\\\?'(?="+h.get("CG_ALPHA")+")"),"’","leading"],[/\\?->/,"→","none"],[/\\?=>/,"⇒","none"],[/\\?<-/,"←","none"],[/\\?<=/,"⇐","none"],[/\\?(&)amp;((?:[a-zA-Z]+|#\d{2,5}|#x[a-fA-F0-9]{2,4});)/,"","bounding"]]),function(r){var o=r.$$scope;return e.defn(r,"$load",function(t,r){var n,s,a,u,d,c,p,h,f,m=this,b=i,v=i,_=i,g=i,y=i,$=i,w=i,x=i,E=i,P=i,C=i,j=i,T=i,A=i;null==r&&(r=l([],{}));try{if(r=r.$dup(),(n=b=r["$[]"]("timings"))===i||n.$$is_boolean&&1!=n||b.$start("read"),v=r["$[]="]("attributes",function(){return(n=(_=r["$[]"]("attributes"))["$!"]())===i||n.$$is_boolean&&1!=n?(n=!1!==(s=e.get("Hash")["$==="](_))&&s!==i?s:(a=e.get("RUBY_ENGINE_JRUBY"),!1!==a&&a!==i?e.get("Java").$$scope.get("JavaUtil").$$scope.get("Map")["$==="](_):a))===i||n.$$is_boolean&&1!=n?(n=e.get("Array")["$==="](_))===i||n.$$is_boolean&&1!=n?(n=e.get("String")["$==="](_))===i||n.$$is_boolean&&1!=n?(c=_["$respond_to?"]("keys"),(n=!1!==c&&c!==i?_["$respond_to?"]("[]"):c)===i||n.$$is_boolean&&1!=n?m.$raise(e.get("ArgumentError"),"illegal type for attributes option: "+_.$class().$ancestors()):(y=_,_=l([],{}),(n=(c=y.$keys()).$each,n.$$p=(p=function(e){return null==e&&(e=i),_["$[]="](e,y["$[]"](e))},p.$$s=m,p),n).call(c),_)):(g="\\1",_=_.$gsub(o.get("SpaceDelimiterRx"),""+g+o.get("NULL")).$gsub(o.get("EscapedSpaceRx"),g),(n=(a=_.$split(o.get("NULL"))).$inject,n.$$p=(d=function(t,r){var n,o=i,s=i;return null==t&&(t=i),null==r&&(r=i),n=e.to_ary(r.$split("=",2)),o=null==n[0]?i:n[0],s=null==n[1]?i:n[1],t["$[]="](o,!1!==(n=s)&&n!==i?n:""),t},d.$$s=m,d),n).call(a,l([],{}))):(n=(s=_).$inject,n.$$p=(u=function(t,r){var n,o=i,s=i;return null==t&&(t=i),null==r&&(r=i),n=e.to_ary(r.$split("=",2)),o=null==n[0]?i:n[0],s=null==n[1]?i:n[1],t["$[]="](o,!1!==(n=s)&&n!==i?n:""),t},u.$$s=m,u),n).call(s,l([],{})):_.$dup():l([],{})}()),$=i,(n=e.get("File")["$==="](t))===i||n.$$is_boolean&&1!=n)if((n=t["$respond_to?"]("readlines"))===i||n.$$is_boolean&&1!=n)(n=e.get("String")["$==="](t))===i||n.$$is_boolean&&1!=n?(n=e.get("Array")["$==="](t))===i||n.$$is_boolean&&1!=n?m.$raise(e.get("ArgumentError"),"unsupported input type: "+t.$class()):$=t.$dup():$=t.$lines().$entries();else{try{t.$rewind()}catch(S){try{}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}$=t.$readlines()}else w=e.get("File").$expand_path(t.$path()),x=t.$mtime(),$=t.$readlines(),v["$[]="]("docfile",w),v["$[]="]("docdir",e.get("File").$dirname(w)),v["$[]="]("docname",o.get("Helpers").$basename(w,!0)),n="docdate",h=v,E=!1!==(f=h["$[]"](n))&&f!==i?f:h["$[]="](n,x.$strftime("%Y-%m-%d")),n="doctime",h=v,P=!1!==(f=h["$[]"](n))&&f!==i?f:h["$[]="](n,x.$strftime("%H:%M:%S %Z")),v["$[]="]("docdatetime",""+E+" "+P);return!1!==b&&b!==i&&(b.$record("read"),b.$start("parse")),C=r["$[]"]("parse")["$=="](!1)?o.get("Document").$new($,r):o.get("Document").$new($,r).$parse(),!1!==b&&b!==i&&b.$record("parse"),C}catch(S){j=S;try{try{T="asciidoctor: FAILED: "+(!1!==(n=v["$[]"]("docfile"))&&n!==i?n:"")+": Failed to load AsciiDoc document",(n=j["$respond_to?"]("exception"))===i||n.$$is_boolean&&1!=n?(A=j.$class().$new(T,j),n=[j.$stack_trace()],h=A,h["$stack_trace="].apply(h,n),n[n.length-1]):(A=j.$exception(""+T+" - "+j.$message()),A.$set_backtrace(j.$backtrace()))}catch(k){try{A=j}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}return m.$raise(A)}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}}),e.defn(r,"$load_file",function(t,r){return null==r&&(r=l([],{})),this.$load(e.get("File").$new(!1!==t&&t!==i?t:""),r)}),e.defn(r,"$convert",function(r,s){var a,u,d,c,p,h,f,m=i,b=i,v=i,_=i,g=i,y=i,$=i,w=i,x=i,E=i,P=g=i,C=m=m=w=y=i,j=y=b=i,T=m=$=_=i,A=v=i;if(null==s&&(s=l([],{})),s=s.$dup(),s.$delete("parse"),m=s.$delete("to_file"),b=s.$delete("to_dir"),v=!1!==(a=s.$delete("mkdirs"))&&a!==i&&a,_=s["$[]"]("timings"),g=m,(!0)["$==="](g)||i["$==="](g))a=b["$!"](),y=!1!==a&&a!==i?e.get("File")["$==="](r):a,$=!1,w=b,m=i;else if((!1)["$==="](g))w=$=y=!1,m=i;else{if("/dev/null"["$==="](g))return this.$load(r,s);y=!1,$=m["$respond_to?"]("write"),w=(!1===$||$===i)&&m}return!((a=s["$key?"]("header_footer"))===i||a.$$is_boolean&&1!=a)||(a=!1!==(u=y)&&u!==i?u:w)===i||a.$$is_boolean&&1!=a||s["$[]="]("header_footer",!0),!1!==y&&y!==i?(x=e.get("File").$expand_path(r.$path()),s["$[]="]("to_dir",E=e.get("File").$dirname(x))):!1!==w&&w!==i?!1!==b&&b!==i?!1!==m&&m!==i?s["$[]="]("to_dir",e.get("File").$dirname(e.get("File").$expand_path(e.get("File").$join(b,m)))):s["$[]="]("to_dir",e.get("File").$expand_path(b)):!1!==m&&m!==i&&s["$[]="]("to_dir",e.get("File").$dirname(e.get("File").$expand_path(m))):s["$[]="]("to_dir",i), -g=this.$load(r,s),!1!==y&&y!==i?(P=e.get("File").$join(E,""+g.$attributes()["$[]"]("docname")+g.$outfilesuffix()),P["$=="](x)&&this.$raise(e.get("IOError"),"input file and output file cannot be the same: "+P)):!1!==w&&w!==i?(y=(a=s["$has_key?"]("base_dir"))===i||a.$$is_boolean&&1!=a?e.get("File").$expand_path(e.get("Dir").$pwd()):e.get("File").$expand_path(s["$[]"]("base_dir")),w=t(g.$safe(),o.get("SafeMode").$$scope.get("SAFE"))?y:i,!1!==b&&b!==i?(E=g.$normalize_system_path(b,y,w,l(["target_name","recover"],{target_name:"to_dir",recover:!1})),!1!==m&&m!==i?(P=g.$normalize_system_path(m,E,i,l(["target_name","recover"],{target_name:"to_dir",recover:!1})),E=e.get("File").$dirname(P)):P=e.get("File").$join(E,""+g.$attributes()["$[]"]("docname")+g.$outfilesuffix())):!1!==m&&m!==i&&(P=g.$normalize_system_path(m,y,w,l(["target_name","recover"],{target_name:"to_dir",recover:!1})),E=e.get("File").$dirname(P)),((a=e.get("File")["$directory?"](E))===i||a.$$is_boolean&&1!=a)&&(!1!==v&&v!==i?e.get("FileUtils").$mkdir_p(E):this.$raise(e.get("IOError"),"target directory does not exist: "+b))):(P=m,E=i),!1!==_&&_!==i&&_.$start("convert"),m=(a=(u=!1!==P&&P!==i)?$["$!"]():P)===i||a.$$is_boolean&&1!=a?l([],{}):l(["outfile","outdir"],{outfile:P,outdir:E}),m=g.$convert(m),!1!==_&&_!==i&&_.$record("convert"),!1!==P&&P!==i?(!1!==_&&_!==i&&_.$start("write"),g.$write(m,P),!1!==_&&_!==i&&_.$record("write"),h=$["$!"](),p=!1!==h&&h!==i?n(g.$safe(),o.get("SafeMode").$$scope.get("SECURE")):h,c=!1!==p&&p!==i?g["$attr?"]("linkcss"):p,d=!1!==c&&c!==i?g["$attr?"]("copycss"):c,u=!1!==d&&d!==i?g["$attr?"]("basebackend-html"):d,(a=!1!==u&&u!==i?(d=C=g.$attr("stylesdir"),!1!==d&&d!==i?o.get("Helpers")["$uriish?"](C):d)["$!"]():u)===i||a.$$is_boolean&&1!=a||(y=b=!1,(a=j=g.$attr("stylesheet"))===i||a.$$is_boolean&&1!=a||((a=o.get("DEFAULT_STYLESHEET_KEYS")["$include?"](j))===i||a.$$is_boolean&&1!=a?(a=o.get("Helpers")["$uriish?"](j)["$!"]())===i||a.$$is_boolean&&1!=a||(y=!0):b=!0),a=g["$attr?"]("source-highlighter","coderay"),_=!1!==a&&a!==i?g.$attr("coderay-css","class")["$=="]("class"):a,a=g["$attr?"]("source-highlighter","pygments"),$=!1!==a&&a!==i?g.$attr("pygments-css","class")["$=="]("class"):a,(a=!1!==(u=!1!==(d=!1!==(c=b)&&c!==i?c:y)&&d!==i?d:_)&&u!==i?u:$)===i||a.$$is_boolean&&1!=a||(m=g.$normalize_system_path(C,E,t(g.$safe(),o.get("SafeMode").$$scope.get("SAFE"))?E:i),!1!==v&&v!==i&&o.get("Helpers").$mkdir_p(m),!1!==b&&b!==i?o.get("Stylesheets").$instance().$write_primary_stylesheet(m):!1!==y&&y!==i&&(T=(a=(T=g.$attr("copycss"))["$empty?"]())===i||a.$$is_boolean&&1!=a?g.$normalize_system_path(T):g.$normalize_system_path(j),v=g.$normalize_system_path(j,m,t(g.$safe(),o.get("SafeMode").$$scope.get("SAFE"))?E:i),((a=!1!==(u=T["$=="](v))&&u!==i?u:(A=g.$read_asset(T))["$nil?"]())===i||a.$$is_boolean&&1!=a)&&(a=(u=e.get("File")).$open,a.$$p=(f=function(e){return null==e&&(e=i),e.$write(A)},f.$$s=this,f),a).call(u,v,"w")),!1!==_&&_!==i?o.get("Stylesheets").$instance().$write_coderay_stylesheet(m):!1!==$&&$!==i&&o.get("Stylesheets").$instance().$write_pygments_stylesheet(m,g.$attr("pygments-style")))),g):m}),e.alias(r,"render","convert"),e.defn(r,"$convert_file",function(t,r){return null==r&&(r=l([],{})),this.$convert(e.get("File").$new(!1!==t&&t!==i?t:""),r)}),e.alias(r,"render_file","convert_file")}(e.get_singleton_class(o)),h.get("RUBY_ENGINE")["$=="]("opal")&&(o.$require("asciidoctor/version"),o.$require("asciidoctor/timings"))}(e.base),s.$require("asciidoctor/core_ext"),s.$require("asciidoctor/helpers"),s.$require("asciidoctor/substitutors"),s.$require("asciidoctor/abstract_node"),s.$require("asciidoctor/abstract_block"),s.$require("asciidoctor/attribute_list"),s.$require("asciidoctor/block"),s.$require("asciidoctor/callouts"),s.$require("asciidoctor/converter"),(o=e.get("RUBY_ENGINE_OPAL"))===i||o.$$is_boolean&&1!=o||s.$require("asciidoctor/converter/html5"),s.$require("asciidoctor/document"),s.$require("asciidoctor/inline"),s.$require("asciidoctor/list"),s.$require("asciidoctor/parser"),s.$require("asciidoctor/path_resolver"),s.$require("asciidoctor/reader"),s.$require("asciidoctor/section"),s.$require("asciidoctor/stylesheets"),s.$require("asciidoctor/table")}(o),function(e){return e.dynamic_require_severity="ignore",e.nil}(o),e("./asciidoctor-docbook.min.js")(o),r&&e("./asciidoctor-extensions.min.js")(o),o.Asciidoctor}}}},{"./asciidoctor-docbook.min.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/asciidoctor.js/dist/npm/asciidoctor-docbook.min.js","./asciidoctor-extensions.min.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/asciidoctor.js/dist/npm/asciidoctor-extensions.min.js",fs:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/lib/_empty.js","opal-npm-wrapper":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/asciidoctor.js/node_modules/opal-npm-wrapper/index.js",xmlhttprequest:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/asciidoctor.js/node_modules/xmlhttprequest/lib/XMLHttpRequest.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/asciidoctor.js/dist/npm/asciidoctor-docbook.min.js":[function(e,t,r){t.exports=function(t){t=t||e("opal-npm-wrapper").Opal,t.modules["asciidoctor/converter/docbook5"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e-t:e["$-"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}function o(e,t){return"number"==typeof e&&"number"==typeof t?e>t:e["$>"](t)}function s(e,t){return"number"==typeof e&&"number"==typeof t?e $size $chop $notitle $document_title_tags $doctitle $has_header? $< $to_i $author_element $times $subtitle? $main $subtitle $content_model".split(" ")),function(d){d=a(d,"Asciidoctor").$$scope,function(a,d){function c(){}var p,h,f=c=u(a,d,"DocBook5Converter",c),m=f.$$scope;return f.$$proto.asciimath_available=i,e.defn(f,"$document",function(e){var r,n=i,o=i,s=i,s=s=i,n=[];return(o=e.$doctype())["$=="]("manpage")&&(o="refentry"),n["$<<"](''),(r=s=this.$doctype_declaration(o))===i||r.$$is_boolean&&1!=r||n["$<<"](s),(r=e["$attr?"]("toc"))===i||r.$$is_boolean&&1!=r||((r=e["$attr?"]("toclevels"))===i||r.$$is_boolean&&1!=r?n["$<<"](""):n["$<<"]('')),(r=e["$attr?"]("sectnums"))===i||r.$$is_boolean&&1!=r||((r=e["$attr?"]("sectnumlevels"))===i||r.$$is_boolean&&1!=r?n["$<<"](""):n["$<<"]('')),s=(r=e["$attr?"]("nolang"))===i||r.$$is_boolean&&1!=r?" "+this.$lang_attribute_name()+'="'+e.$attr("lang","en")+'"':i,n["$<<"]("<"+o+this.$document_ns_attributes(e)+s+">"),n["$<<"](this.$document_info_element(e,o)),(r=e["$blocks?"]())===i||r.$$is_boolean&&1!=r||n["$<<"](e.$content()),((r=(s=e.$docinfo("footer"))["$empty?"]())===i||r.$$is_boolean&&1!=r)&&n["$<<"](s),n["$<<"](""),t(n,m.get("EOL"))}),e.alias(f,"embedded","content"),e.defn(f,"$section",function(e){var t,r=i,n=i,r=e.$document().$doctype();return(t=e.$special())===i||t.$$is_boolean&&1!=t?(r["$=="]("book")?(n=e.$level(),n="number"==typeof n?1>=n:n["$<="](1)):n=r["$=="]("book"),n=(t=n)===i||t.$$is_boolean&&1!=t?"section":e.$level()["$=="](0)?"part":"chapter"):(t=(n=e.$sectname())["$start_with?"]("sect"))===i||t.$$is_boolean&&1!=t||(n="section"),r["$=="]("manpage")&&(n["$=="]("section")?n="refsection":n["$=="]("synopsis")&&(n="refsynopsisdiv")),"<"+n+this.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+e.$title()+"\n"+e.$content()+"\n"}),e.defn(f,"$admonition",function(e){var t=i;return"<"+(t=e.$attr("name"))+this.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+this.$title_tag(e)+this.$resolve_content(e)+"\n"}),e.alias(f,"audio","skip"),e.defn(f,"$colist",function(e){var r,n,o,s=i,s=[];return s["$<<"](""),(r=e["$title?"]())===i||r.$$is_boolean&&1!=r||s["$<<"](""+e.$title()+""),(r=(n=e.$items()).$each,r.$$p=(o=function(e){var t;return null==e&&(e=i),s["$<<"](''),s["$<<"](""+e.$text()+""),(t=e["$blocks?"]())===i||t.$$is_boolean&&1!=t||s["$<<"](e.$content()),s["$<<"]("")},o.$$s=this,o),r).call(n),s["$<<"](""),t(s,m.get("EOL"))}),p=[l(["list","entry","term","item"],{list:"variablelist",entry:"varlistentry",term:"term",item:"listitem"})],h=e.cdecl(m,"DLIST_TAGS",l(["labeled","qanda","glossary"],{labeled:l(["list","entry","term","item"],{list:"variablelist",entry:"varlistentry",term:"term",item:"listitem"}),qanda:l(["list","entry","label","term","item"],{list:"qandaset",entry:"qandaentry",label:"question",term:"simpara",item:"answer"}),glossary:l(["list","entry","term","item"],{list:i,entry:"glossentry",term:"glossterm",item:"glossdef"})})),h["$default="].apply(h,p),p[p.length-1],e.defn(f,"$dlist",function(r){var n,o,s,a,u,l=i,d=i,c=d=i,p=i,h=i,f=i,b=i,l=[];return r.$style()["$=="]("horizontal")?(l["$<<"]("<"+(d=(n=r["$title?"]())===i||n.$$is_boolean&&1!=n?"informaltable":"table")+this.$common_attributes(r.$id(),r.$role(),r.$reftext())+' tabstyle="horizontal" frame="none" colsep="0" rowsep="0">\n'+this.$title_tag(r)+'\n\n\n'),(n=(o=r.$items()).$each,n.$$p=(s=function(t,r){var n,o,a,u=s.$$s||this;return null==t&&(t=i),null==r&&(r=i),l["$<<"]("\n"),(n=(o=[].concat(e.to_a(t))).$each,n.$$p=(a=function(e){return null==e&&(e=i),l["$<<"](""+e.$text()+"")},a.$$s=u,a),n).call(o),l["$<<"]("\n"),((n=r["$nil?"]())===i||n.$$is_boolean&&1!=n)&&((n=r["$text?"]())===i||n.$$is_boolean&&1!=n||l["$<<"](""+r.$text()+""),(n=r["$blocks?"]())===i||n.$$is_boolean&&1!=n||l["$<<"](r.$content())),l["$<<"]("\n")},s.$$s=this,s),n).call(o),l["$<<"]("\n\n")):(d=m.get("DLIST_TAGS")["$[]"](r.$style()),c=d["$[]"]("list"),p=d["$[]"]("entry"),h=d["$[]"]("label"),f=d["$[]"]("term"),b=d["$[]"]("item"),!1===c||c===i||(l["$<<"]("<"+c+this.$common_attributes(r.$id(),r.$role(),r.$reftext())+">"),(n=r["$title?"]())===i||n.$$is_boolean&&1!=n)||l["$<<"](""+r.$title()+""),(n=(a=r.$items()).$each,n.$$p=(u=function(t,r){var n,o,s,a=u.$$s||this;return null==t&&(t=i),null==r&&(r=i),l["$<<"]("<"+p+">"),!1!==h&&h!==i&&l["$<<"]("<"+h+">"),(n=(o=[].concat(e.to_a(t))).$each,n.$$p=(s=function(e){return null==e&&(e=i),l["$<<"]("<"+f+">"+e.$text()+"")},s.$$s=a,s),n).call(o),!1!==h&&h!==i&&l["$<<"](""),l["$<<"]("<"+b+">"),((n=r["$nil?"]())===i||n.$$is_boolean&&1!=n)&&((n=r["$text?"]())===i||n.$$is_boolean&&1!=n||l["$<<"](""+r.$text()+""),(n=r["$blocks?"]())===i||n.$$is_boolean&&1!=n||l["$<<"](r.$content())),l["$<<"](""),l["$<<"]("")},u.$$s=this,u),n).call(a),!1!==c&&c!==i&&l["$<<"]("")),t(l,m.get("EOL"))}),e.defn(f,"$example",function(e){var t;return(t=e["$title?"]())===i||t.$$is_boolean&&1!=t?"\n"+this.$resolve_content(e)+"\n":"\n"+e.$title()+"\n"+this.$resolve_content(e)+"\n"}),e.defn(f,"$floating_title",function(e){return"'+e.$title()+""}),e.defn(f,"$image",function(e){var t,r=i,n=i,o=i,s=i,a=i,r=i,r=(t=e["$attr?"]("width"))===i||t.$$is_boolean&&1!=t?i:' contentwidth="'+e.$attr("width")+'"',n=(t=e["$attr?"]("height"))===i||t.$$is_boolean&&1!=t?i:' contentdepth="'+e.$attr("height")+'"',o=(t=e["$attr?"]("scaledwidth"))===i||t.$$is_boolean&&1!=t?i:' width="'+e.$attr("scaledwidth")+'" scalefit="1"',s=(t=e["$attr?"]("scale"))===i||t.$$is_boolean&&1!=t?i:' scale="'+e.$attr("scale")+'"',a=(t=e["$attr?"]("align"))===i||t.$$is_boolean&&1!=t?i:' align="'+e.$attr("align")+'"',r='\n\n\n\n"+e.$attr("alt")+"\n";return(t=e["$title?"]())===i||t.$$is_boolean&&1!=t?"\n"+r+"\n":"\n"+e.$title()+"\n"+r+"\n"}),e.defn(f,"$listing",function(e){var t,r=i,n=i,o=i,o=i,r=e["$title?"]()["$!"](),n=this.$common_attributes(e.$id(),e.$role(),e.$reftext());return(t=e.$style()["$=="]("source")?e["$attr?"]("language"):e.$style()["$=="]("source"))===i||t.$$is_boolean&&1!=t?o=""+e.$content()+"":(o=(t=e["$attr?"]("linenums"))===i||t.$$is_boolean&&1!=t?"unnumbered":"numbered",o="'+e.$content()+""),!1!==r&&r!==i?o:"\n"+e.$title()+"\n\n"+o+"\n\n"}),e.defn(f,"$literal",function(e){var t;return(t=e["$title?"]())===i||t.$$is_boolean&&1!=t?"'+e.$content()+"":"\n"+e.$title()+'\n\n'+e.$content()+"\n\n"}),e.defn(f,"$stem",function(t){var r,n,o,s,a=i,u=i,a=i;return(r=a=t.$subs().$index("specialcharacters"))===i||r.$$is_boolean&&1!=r||t.$subs().$delete("specialcharacters"),u=t.$content(),!1!==a&&a!==i&&t.$subs().$insert(a,"specialcharacters"),a=t.$style()["$=="]("asciimath")?(r=!1!==(n=null==e.Object.$$scope.AsciiMath?i:"constant")&&n!==i?n:(s=this.asciimath_available,(o=null!=s&&s!==i?"instance-variable":i)===i||o.$$is_boolean&&1!=o?this.asciimath_available=m.get("Helpers").$require_library("asciimath",!0,"warn"):this.asciimath_available))===i||r.$$is_boolean&&1!=r?"":e.get("AsciiMath").$parse(u).$to_mathml("mml:",l(["xmlns:mml"],{"xmlns:mml":"http://www.w3.org/1998/Math/MathML"})):"\n",(r=t["$title?"]())===i||r.$$is_boolean&&1!=r?"\n"+a+"\n":"\n"+t.$title()+"\n"+a+"\n"}),e.defn(f,"$olist",function(e){var r,n,o,s=i,a=i,u=i,s=[],a=(r=e.$style())===i||r.$$is_boolean&&1!=r?i:' numeration="'+e.$style()+'"',u=(r=e["$attr?"]("start"))===i||r.$$is_boolean&&1!=r?i:' startingnumber="'+e.$attr("start")+'"';return s["$<<"](""),(r=e["$title?"]())===i||r.$$is_boolean&&1!=r||s["$<<"](""+e.$title()+""),(r=(n=e.$items()).$each,r.$$p=(o=function(e){var t;return null==e&&(e=i),s["$<<"](""),s["$<<"](""+e.$text()+""),(t=e["$blocks?"]())===i||t.$$is_boolean&&1!=t||s["$<<"](e.$content()),s["$<<"]("")},o.$$s=this,o),r).call(n),s["$<<"](""),t(s,m.get("EOL"))}),e.defn(f,"$open",function(e){var t,r,n=this,o=i;return function(){return o=e.$style(),"abstract"["$==="](o)?(t=(r=e.$parent()["$=="](e.$document()))?e.$document()["$attr?"]("doctype","book"):e.$parent()["$=="](e.$document()))===i||t.$$is_boolean&&1!=t?"\n"+n.$title_tag(e)+n.$resolve_content(e)+"\n":(n.$warn("asciidoctor: WARNING: abstract block cannot be used in a document without a title when doctype is book. Excluding block content."),""):"partintro"["$==="](o)?(r=e.$level()["$=="](0)?e.$parent().$context()["$=="]("section"):e.$level()["$=="](0),(t=!1!==r&&r!==i?e.$document().$doctype()["$=="]("book"):r)===i||t.$$is_boolean&&1!=t?(n.$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."),""):"\n"+n.$title_tag(e)+n.$resolve_content(e)+"\n"):e.$content()}()}),e.defn(f,"$page_break",function(e){return""}),e.defn(f,"$paragraph",function(e){var t;return(t=e["$title?"]())===i||t.$$is_boolean&&1!=t?""+e.$content()+"":"\n"+e.$title()+"\n"+e.$content()+"\n"}),e.defn(f,"$preamble",function(e){return e.$document().$doctype()["$=="]("book")?"\n"+this.$title_tag(e,!1)+e.$content()+"\n":e.$content()}),e.defn(f,"$quote",function(e){var r,n,o=i,o=[];return o["$<<"](""),(r=e["$title?"]())===i||r.$$is_boolean&&1!=r||o["$<<"](""+e.$title()+""),(r=!1!==(n=e["$attr?"]("attribution"))&&n!==i?n:e["$attr?"]("citetitle"))===i||r.$$is_boolean&&1!=r||(o["$<<"](""),(r=e["$attr?"]("attribution"))===i||r.$$is_boolean&&1!=r||o["$<<"](e.$attr("attribution")),(r=e["$attr?"]("citetitle"))===i||r.$$is_boolean&&1!=r||o["$<<"](""+e.$attr("citetitle")+""),o["$<<"]("")),o["$<<"](this.$resolve_content(e)),o["$<<"](""),t(o,m.get("EOL"))}),e.defn(f,"$thematic_break",function(e){return""}),e.defn(f,"$sidebar",function(e){return"\n"+this.$title_tag(e)+this.$resolve_content(e)+"\n"}),e.cdecl(m,"TABLE_PI_NAMES",["dbhtml","dbfo","dblatex"]),e.cdecl(m,"TABLE_SECTIONS",["head","foot","body"]),e.defn(f,"$table",function(e){var o,s,a,u,l,d,c,p,h,f,b=this,v=i,_=i,g=i,y=i,$=i,w=i,v=!1,_=[],g=(o=e["$option?"]("pgwide"))===i||o.$$is_boolean&&1!=o?i:' pgwide="1"';return _["$<<"]("<"+(y=(o=e["$title?"]())===i||o.$$is_boolean&&1!=o?"informaltable":"table")+b.$common_attributes(e.$id(),e.$role(),e.$reftext())+g+' frame="'+e.$attr("frame","all")+'" rowsep="'+((o=["none","cols"]["$include?"](e.$attr("grid")))===i||o.$$is_boolean&&1!=o?1:0)+'" colsep="'+((o=["none","rows"]["$include?"](e.$attr("grid")))===i||o.$$is_boolean&&1!=o?1:0)+'">'),(o=e["$option?"]("unbreakable"))===i||o.$$is_boolean&&1!=o?(o=e["$option?"]("breakable"))===i||o.$$is_boolean&&1!=o||_["$<<"](''):_["$<<"](''),y["$=="]("table")&&_["$<<"](""+e.$title()+""),$=function(){return(o=w=(s=e["$attr?"]("width"))===i||s.$$is_boolean&&1!=s?i:e.$attr("width"))===i||o.$$is_boolean&&1!=o?"colpcwidth":((o=(s=m.get("TABLE_PI_NAMES")).$each,o.$$p=(a=function(e){return null==e&&(e=i),_["$<<"]("')},a.$$s=b,a),o).call(s),"colabswidth")}(),_["$<<"](''),(o=(u=e.$columns()).$each,o.$$p=(l=function(e){return null==e&&(e=i),_["$<<"]('')},l.$$s=b,l),o).call(u),(o=(d=(p=(h=m.get("TABLE_SECTIONS")).$select,p.$$p=(f=function(t){return null==t&&(t=i),e.$rows()["$[]"](t)["$empty?"]()["$!"]()},f.$$s=b,f),p).call(h)).$each,o.$$p=(c=function(t){var o,s,a,u=c.$$s||this;return null==t&&(t=i),t["$=="]("body")&&(v=!0),_["$<<"](""),(o=(s=e.$rows()["$[]"](t)).$each,o.$$p=(a=function(o){var s,u,l,d=a.$$s||this;return null==o&&(o=i),_["$<<"](""),(s=(u=o).$each,s.$$p=(l=function(o){var s,a,u,d,c,p=l.$$s||this,h=i,f=i,m=i,b=i,v=i,g=f=h=i,m=i;return null==o&&(o=i),h=(s=o["$attr?"]("halign"))===i||s.$$is_boolean&&1!=s?i:' align="'+o.$attr("halign")+'"',f=(s=o["$attr?"]("valign"))===i||s.$$is_boolean&&1!=s?i:' valign="'+o.$attr("valign")+'"',m=(s=o.$colspan())===i||s.$$is_boolean&&1!=s?i:' namest="col_'+(b=o.$column().$attr("colnumber"))+'" nameend="col_'+r(n(b,o.$colspan()),1)+'"',v=(s=o.$rowspan())===i||s.$$is_boolean&&1!=s?i:' morerows="'+r(o.$rowspan(),1)+'"',h="",f=function(){return t["$=="]("head")?o.$text():function(){return g=o.$style(),"asciidoc"["$==="](g)?o.$content():"verse"["$==="](g)?""+o.$text()+"":"literal"["$==="](g)?''+o.$text()+"":"header"["$==="](g)?(s=(a=o.$content()).$map,s.$$p=(u=function(e){return null==e&&(e=i),''+e+""},u.$$s=p,u),s).call(a).$join():(s=(d=o.$content()).$map,s.$$p=(c=function(e){return null==e&&(e=i),""+e+""},c.$$s=p,c),s).call(d).$join()}()}(),m=(s=e.$document()["$attr?"]("cellbgcolor"))===i||s.$$is_boolean&&1!=s?"":'',_["$<<"](""+h+f+m)},l.$$s=d,l),s).call(u),_["$<<"]("")},a.$$s=u,a),o).call(s),_["$<<"]("")},c.$$s=b,c),o).call(d),_["$<<"](""),_["$<<"](""),!1!==v&&v!==i||b.$warn("asciidoctor: WARNING: tables must have at least one body row"),t(_,m.get("EOL"))}),e.alias(f,"toc","skip"),e.defn(f,"$ulist",function(e){var r,n,o,s,a,u=i,l=i,d=i,l=i,u=[];return e.$style()["$=="]("bibliography")?(u["$<<"](""),(r=e["$title?"]())===i||r.$$is_boolean&&1!=r||u["$<<"](""+e.$title()+""),(r=(n=e.$items()).$each,r.$$p=(o=function(e){var t;return null==e&&(e=i),u["$<<"](""),u["$<<"](""+e.$text()+""),(t=e["$blocks?"]())===i||t.$$is_boolean&&1!=t||u["$<<"](e.$content()),u["$<<"]("")},o.$$s=this,o),r).call(n),u["$<<"]("")):(l=(r=d=e["$option?"]("checklist"))===i||r.$$is_boolean&&1!=r?e.$style():"none",l=!1!==l&&l!==i?' mark="'+l+'"':i,u["$<<"](""),(r=e["$title?"]())===i||r.$$is_boolean&&1!=r||u["$<<"](""+e.$title()+""),(r=(s=e.$items()).$each,r.$$p=(a=function(e){var t,r=i;return null==e&&(e=i),r=(t=!1!==d&&d!==i?e["$attr?"]("checkbox"):d)===i||t.$$is_boolean&&1!=t?i:(t=e["$attr?"]("checked"))===i||t.$$is_boolean&&1!=t?"❏ ":"✓ ",u["$<<"](""),u["$<<"](""+r+e.$text()+""),(t=e["$blocks?"]())===i||t.$$is_boolean&&1!=t||u["$<<"](e.$content()),u["$<<"]("")},a.$$s=this,a),r).call(s),u["$<<"]("")),t(u,m.get("EOL"))}),e.defn(f,"$verse",function(e){var r,n,o=i,o=[];return o["$<<"](""),(r=e["$title?"]())===i||r.$$is_boolean&&1!=r||o["$<<"](""+e.$title()+""),(r=!1!==(n=e["$attr?"]("attribution"))&&n!==i?n:e["$attr?"]("citetitle"))===i||r.$$is_boolean&&1!=r||(o["$<<"](""),(r=e["$attr?"]("attribution"))===i||r.$$is_boolean&&1!=r||o["$<<"](e.$attr("attribution")),(r=e["$attr?"]("citetitle"))===i||r.$$is_boolean&&1!=r||o["$<<"](""+e.$attr("citetitle")+""),o["$<<"]("")),o["$<<"](""+e.$content()+""),o["$<<"](""),t(o,m.get("EOL"))}),e.alias(f,"video","skip"),e.defn(f,"$inline_anchor",function(e){var t,r=this,n=i,o=i,s=i,a=i,u=i;return function(){return n=e.$type(),"ref"["$==="](n)?"":"xref"["$==="](n)?(t=o=e.$attributes()["$[]"]("path"))===i||t.$$is_boolean&&1!=t?(s=!1!==(t=e.$attributes()["$[]"]("fragment"))&&t!==i?t:e.$target(),(t=a=e.$text())===i||t.$$is_boolean&&1!=t?'':''+a+""):''+(!1!==(t=e.$text())&&t!==i?t:o)+"":"link"["$==="](n)?''+e.$text()+"":"bibref"["$==="](n)?(u=e.$target(),"["+u+"]"):r.$warn("asciidoctor: WARNING: unknown anchor type: "+e.$type().$inspect())}()}),e.defn(f,"$inline_break",function(e){return""+e.$text()+""}),e.defn(f,"$inline_button",function(e){return""+e.$text()+""}),e.defn(f,"$inline_callout",function(e){return""}),e.defn(f,"$inline_footnote",function(e){return e.$type()["$=="]("xref")?'':""+e.$text()+""}),e.defn(f,"$inline_image",function(e){var t,r=i,n=i,r=(t=e["$attr?"]("width"))===i||t.$$is_boolean&&1!=t?i:' contentwidth="'+e.$attr("width")+'"',n=(t=e["$attr?"]("height"))===i||t.$$is_boolean&&1!=t?i:' contentdepth="'+e.$attr("height")+'"';return'\n\n\n\n"+e.$attr("alt")+"\n"}),e.defn(f,"$inline_indexterm",function(e){var r=i,n=i,s=i;return e.$type()["$=="]("visible")?""+e.$text()+""+e.$text():(r=e.$attr("terms"),n=[],o(s=r.$size(),2)&&n["$<<"]("\n"+r["$[]"](0)+""+r["$[]"](1)+""+r["$[]"](2)+"\n"),o(s,1)&&n["$<<"]("\n"+r["$[]"](-2)+""+r["$[]"](-1)+"\n"),n["$<<"]("\n"+r["$[]"](-1)+"\n"),t(n,m.get("EOL")))}),e.defn(f,"$inline_kbd",function(e){var t,r,n,o=i;return(o=e.$attr("keys")).$size()["$=="](1)?""+o["$[]"](0)+"":""+(t=(r=o).$map,t.$$p=(n=function(e){return null==e&&(e=i),""+e+""},n.$$s=this,n),t).call(r).$join()+""}),e.defn(f,"$inline_menu",function(e){var t,r,n,o=i,s=i,a=s=i,o=e.$attr("menu");return(t=(s=e.$attr("submenus"))["$empty?"]()["$!"]())===i||t.$$is_boolean&&1!=t?(t=a=e.$attr("menuitem"))===i||t.$$is_boolean&&1!=t?""+o+"":""+o+" "+a+"":(s=(t=(r=s).$map,t.$$p=(n=function(e){return null==e&&(e=i),""+e+" "},n.$$s=this,n),t).call(r).$join().$chop(),""+o+" "+s+" "+e.$attr("menuitem")+"")}),p=[[i,i,!0]],h=e.cdecl(m,"QUOTE_TAGS",l("emphasis strong monospaced superscript subscript double single mark".split(" "),{emphasis:["","",!0],strong:['',"",!0],monospaced:["","",!1],superscript:["","",!1],subscript:["","",!1],"double":["“","”",!0],single:["‘","’",!0],mark:['',"",!1]})),h["$default="].apply(h,p),p[p.length-1],e.defn(f,"$inline_quoted",function(t){var r,n,o,s,a=i,u=i,d=i,c=i,p=i,h=a=i,d=i;return(a=t.$type())["$=="]("asciimath")?(r=!1!==(n=null==e.Object.$$scope.AsciiMath?i:"constant")&&n!==i?n:(s=this.asciimath_available,(o=null!=s&&s!==i?"instance-variable":i)===i||o.$$is_boolean&&1!=o?this.asciimath_available=m.get("Helpers").$require_library("asciimath",!0,"warn"):this.asciimath_available))===i||r.$$is_boolean&&1!=r?"":""+e.get("AsciiMath").$parse(t.$text()).$to_mathml("mml:",l(["xmlns:mml"],{"xmlns:mml":"http://www.w3.org/1998/Math/MathML"}))+"":a["$=="]("latexmath")?"":(r=e.to_ary(m.get("QUOTE_TAGS")["$[]"](a)),d=null==r[0]?i:r[0],c=null==r[1]?i:r[1],p=null==r[2]?i:r[2],a=t.$text(),d=(r=h=t.$role())===i||r.$$is_boolean&&1!=r?""+d+a+c:!1!==p&&p!==i?""+d+''+a+""+c:""+d.$chop()+' role="'+h+'">'+a+c,(r=t.$id())===i||r.$$is_boolean&&1!=r?d:""+d)}),e.defn(f,"$author_element",function(e,r){var n,o=i,s=i,a=i,u=i,l=i;return null==r&&(r=i),o=!1!==r&&r!==i?"firstname_"+r:"firstname",s=!1!==r&&r!==i?"middlename_"+r:"middlename",a=!1!==r&&r!==i?"lastname_"+r:"lastname",u=!1!==r&&r!==i?"email_"+r:"email",l=[],l["$<<"](""),l["$<<"](""),(n=e["$attr?"](o))===i||n.$$is_boolean&&1!=n||l["$<<"](""+e.$attr(o)+""),(n=e["$attr?"](s))===i||n.$$is_boolean&&1!=n||l["$<<"](""+e.$attr(s)+""),(n=e["$attr?"](a))===i||n.$$is_boolean&&1!=n||l["$<<"](""+e.$attr(a)+""),l["$<<"](""),(n=e["$attr?"](u))===i||n.$$is_boolean&&1!=n||l["$<<"](""+e.$attr(u)+""),l["$<<"](""),t(l,m.get("EOL"))}),e.defn(f,"$common_attributes",function(e,t,r){var n=i;return null==t&&(t=i),null==r&&(r=i),n=!1!==e&&e!==i?' xml:id="'+e+'"':"",!1!==t&&t!==i&&(n=""+n+' role="'+t+'"'),!1!==r&&r!==i&&(n=""+n+' xreflabel="'+r+'"'),n}),e.defn(f,"$doctype_declaration",function(e){return i}),e.defn(f,"$document_info_element",function(e,r,o){var a,u,d,c,p,h=i,f=i,f=f=i;return null==o&&(o=!1),!1!==o&&o!==i||(r=""),h=[],h["$<<"]("<"+r+"info>"),((a=e.$notitle())===i||a.$$is_boolean&&1!=a)&&h["$<<"](this.$document_title_tags(e.$doctitle(l(["partition","use_fallback"],{partition:!0,use_fallback:!0})))),(a=f=(u=e["$attr?"]("revdate"))===i||u.$$is_boolean&&1!=u?(u=e["$attr?"]("reproducible"))===i||u.$$is_boolean&&1!=u?e.$attr("docdate"):i:e.$attr("revdate"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+f+""),(a=e["$has_header?"]())===i||a.$$is_boolean&&1!=a||((a=e["$attr?"]("author"))===i||a.$$is_boolean&&1!=a||(s(f=e.$attr("authorcount").$to_i(),2)?(h["$<<"](this.$author_element(e)),(a=e["$attr?"]("authorinitials"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+e.$attr("authorinitials")+"")):(h["$<<"](""),(a=(u=f).$times,a.$$p=(d=function(t){var r=d.$$s||this;return null==t&&(t=i),h["$<<"](r.$author_element(e,n(t,1)))},d.$$s=this,d),a).call(u),h["$<<"](""))),c=e["$attr?"]("revdate"),(a=!1!==c&&c!==i?!1!==(p=e["$attr?"]("revnumber"))&&p!==i?p:e["$attr?"]("revremark"):c)===i||a.$$is_boolean&&1!=a||(h["$<<"]("\n"),(a=e["$attr?"]("revnumber"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+e.$attr("revnumber")+""),(a=e["$attr?"]("revdate"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+e.$attr("revdate")+""),(a=e["$attr?"]("authorinitials"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+e.$attr("authorinitials")+""),(a=e["$attr?"]("revremark"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+e.$attr("revremark")+""),h["$<<"]("\n")),((a=(f=e.$docinfo())["$empty?"]())===i||a.$$is_boolean&&1!=a)&&h["$<<"](f), -(a=e["$attr?"]("orgname"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+e.$attr("orgname")+"")),h["$<<"](""),e.$doctype()["$=="]("manpage")&&(h["$<<"](""),(a=e["$attr?"]("mantitle"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+e.$attr("mantitle")+""),(a=e["$attr?"]("manvolnum"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+e.$attr("manvolnum")+""),h["$<<"](""),h["$<<"](""),(a=e["$attr?"]("manname"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+e.$attr("manname")+""),(a=e["$attr?"]("manpurpose"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+e.$attr("manpurpose")+""),h["$<<"]("")),t(h,m.get("EOL"))}),e.defn(f,"$document_ns_attributes",function(e){return' xmlns="http://docbook.org/ns/docbook" xmlns:xl="http://www.w3.org/1999/xlink" version="5.0"'}),e.defn(f,"$lang_attribute_name",function(){return"xml:lang"}),e.defn(f,"$document_title_tags",function(e){var t;return(t=e["$subtitle?"]())===i||t.$$is_boolean&&1!=t?""+e+"":""+e.$main()+"\n"+e.$subtitle()+""}),e.defn(f,"$resolve_content",function(e){return e.$content_model()["$=="]("compound")?e.$content():""+e.$content()+""}),e.defn(f,"$title_tag",function(e,t){var r,n;return null==t&&(t=!0),(r=!1!==(n=t["$!"]())&&n!==i?n:e["$title?"]())===i||r.$$is_boolean&&1!=r?i:""+e.$title()+"\n"}),i&&"title_tag"}(d.get("Converter"),d.get("Converter").$$scope.get("BuiltIn"))}(e.base)},function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}e.dynamic_require_severity="ignore";var r=e.top,n=e.nil,o=e.slice,s=e.module,i=e.klass;return e.add_stubs("$require $== $context $parent $style $attr? $attr $<< $common_attributes $id $role $reftext $title? $title $each_with_index $text $blocks? $content $items $* $type $=== $target $[] $attributes $empty?".split(" ")),r.$require("asciidoctor/converter/docbook5"),function(r){r=s(r,"Asciidoctor").$$scope,function(r,s){function a(){}var u,l,d=a=i(r,s,"DocBook45Converter",a),c=d.$$scope;return e.defn(d,"$admonition",u=function(t){var r=o.call(arguments,0),n=u.$$p;return u.$$p=null,t.$parent().$context()["$=="]("example")?"\n"+e.find_super_dispatcher(this,"admonition",u,n).apply(this,r)+"\n":e.find_super_dispatcher(this,"admonition",u,n).apply(this,r)}),e.defn(d,"$olist",function(e){var r,o,s,i=n,a=n,u=n,i=[],a=(r=e.$style())===n||r.$$is_boolean&&1!=r?n:' numeration="'+e.$style()+'"',u=(r=e["$attr?"]("start"))===n||r.$$is_boolean&&1!=r?n:' override="'+e.$attr("start")+'"';return i["$<<"](""),(r=e["$title?"]())===n||r.$$is_boolean&&1!=r||i["$<<"](""+e.$title()+""),(r=(o=e.$items()).$each_with_index,r.$$p=(s=function(e,t){var r;return null==e&&(e=n),null==t&&(t=n),i["$<<"](t["$=="](0)?"":""),i["$<<"](""+e.$text()+""),(r=e["$blocks?"]())===n||r.$$is_boolean&&1!=r||i["$<<"](e.$content()),i["$<<"]("")},s.$$s=this,s),r).call(o),i["$<<"](""),t(i,c.get("EOL"))}),e.defn(d,"$inline_anchor",function(e){var t,r=this,o=n,s=n,i=n,a=n,u=n;return function(){return o=e.$type(),"ref"["$==="](o)?"":"xref"["$==="](o)?(t=s=e.$attributes()["$[]"]("path"))===n||t.$$is_boolean&&1!=t?(i=!1!==(t=e.$attributes()["$[]"]("fragment"))&&t!==n?t:e.$target(),(t=a=e.$text())===n||t.$$is_boolean&&1!=t?'':''+a+""):''+(!1!==(t=e.$text())&&t!==n?t:s)+"":"link"["$==="](o)?''+e.$text()+"":"bibref"["$==="](o)?(u=e.$target(),"["+u+"]"):n}()}),e.defn(d,"$author_element",function(e,r){var o,s=n,i=n,a=n,u=n,l=n;return null==r&&(r=n),s=!1!==r&&r!==n?"firstname_"+r:"firstname",i=!1!==r&&r!==n?"middlename_"+r:"middlename",a=!1!==r&&r!==n?"lastname_"+r:"lastname",u=!1!==r&&r!==n?"email_"+r:"email",l=[],l["$<<"](""),(o=e["$attr?"](s))===n||o.$$is_boolean&&1!=o||l["$<<"](""+e.$attr(s)+""),(o=e["$attr?"](i))===n||o.$$is_boolean&&1!=o||l["$<<"](""+e.$attr(i)+""),(o=e["$attr?"](a))===n||o.$$is_boolean&&1!=o||l["$<<"](""+e.$attr(a)+""),(o=e["$attr?"](u))===n||o.$$is_boolean&&1!=o||l["$<<"](""+e.$attr(u)+""),l["$<<"](""),t(l,c.get("EOL"))}),e.defn(d,"$common_attributes",function(e,t,r){var o=n;return null==t&&(t=n),null==r&&(r=n),o=!1!==e&&e!==n?' id="'+e+'"':"",!1!==t&&t!==n&&(o=""+o+' role="'+t+'"'),!1!==r&&r!==n&&(o=""+o+' xreflabel="'+r+'"'),o}),e.defn(d,"$doctype_declaration",function(e){return"'}),e.defn(d,"$document_info_element",l=function(t,r){return l.$$p=null,e.find_super_dispatcher(this,"document_info_element",l,null).apply(this,[t,r,!0])}),e.defn(d,"$lang_attribute_name",function(){return"lang"}),e.defn(d,"$document_ns_attributes",function(e){var t,r=n;return(t=r=e.$attr("xmlns"))===n||t.$$is_boolean&&1!=t?n:(t=r["$empty?"]())===n||t.$$is_boolean&&1!=t?' xmlns="'+r+'"':' xmlns="http://docbook.org/ns/docbook"'}),n&&"document_ns_attributes"}(r.get("Converter"),r.get("Converter").$$scope.get("DocBook5Converter"))}(e.base)}(t),function(e){return e.dynamic_require_severity="ignore",e.nil}(t),function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e-t:e["$-"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}function o(e,t){return"number"==typeof e&&"number"==typeof t?e>t:e["$>"](t)}function s(e,t){return"number"==typeof e&&"number"==typeof t?e $size $chop $notitle $document_title_tags $doctitle $has_header? $< $to_i $author_element $times $subtitle? $main $subtitle $content_model".split(" ")),function(d){d=a(d,"Asciidoctor").$$scope,function(a,d){function c(){}var p,h,f=c=u(a,d,"DocBook5Converter",c),m=f.$$scope;return f.$$proto.asciimath_available=i,e.defn(f,"$document",function(e){var r,n=i,o=i,s=i,s=s=i,n=[];return(o=e.$doctype())["$=="]("manpage")&&(o="refentry"),n["$<<"](''),(r=s=this.$doctype_declaration(o))===i||r.$$is_boolean&&1!=r||n["$<<"](s),(r=e["$attr?"]("toc"))===i||r.$$is_boolean&&1!=r||((r=e["$attr?"]("toclevels"))===i||r.$$is_boolean&&1!=r?n["$<<"](""):n["$<<"]('')),(r=e["$attr?"]("sectnums"))===i||r.$$is_boolean&&1!=r||((r=e["$attr?"]("sectnumlevels"))===i||r.$$is_boolean&&1!=r?n["$<<"](""):n["$<<"]('')),s=(r=e["$attr?"]("nolang"))===i||r.$$is_boolean&&1!=r?" "+this.$lang_attribute_name()+'="'+e.$attr("lang","en")+'"':i,n["$<<"]("<"+o+this.$document_ns_attributes(e)+s+">"),n["$<<"](this.$document_info_element(e,o)),(r=e["$blocks?"]())===i||r.$$is_boolean&&1!=r||n["$<<"](e.$content()),((r=(s=e.$docinfo("footer"))["$empty?"]())===i||r.$$is_boolean&&1!=r)&&n["$<<"](s),n["$<<"](""),t(n,m.get("EOL"))}),e.alias(f,"embedded","content"),e.defn(f,"$section",function(e){var t,r=i,n=i,r=e.$document().$doctype();return(t=e.$special())===i||t.$$is_boolean&&1!=t?(r["$=="]("book")?(n=e.$level(),n="number"==typeof n?1>=n:n["$<="](1)):n=r["$=="]("book"),n=(t=n)===i||t.$$is_boolean&&1!=t?"section":e.$level()["$=="](0)?"part":"chapter"):(t=(n=e.$sectname())["$start_with?"]("sect"))===i||t.$$is_boolean&&1!=t||(n="section"),r["$=="]("manpage")&&(n["$=="]("section")?n="refsection":n["$=="]("synopsis")&&(n="refsynopsisdiv")),"<"+n+this.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+e.$title()+"\n"+e.$content()+"\n"}),e.defn(f,"$admonition",function(e){var t=i;return"<"+(t=e.$attr("name"))+this.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+this.$title_tag(e)+this.$resolve_content(e)+"\n"}),e.alias(f,"audio","skip"),e.defn(f,"$colist",function(e){var r,n,o,s=i,s=[];return s["$<<"](""),(r=e["$title?"]())===i||r.$$is_boolean&&1!=r||s["$<<"](""+e.$title()+""),(r=(n=e.$items()).$each,r.$$p=(o=function(e){var t;return null==e&&(e=i),s["$<<"](''),s["$<<"](""+e.$text()+""),(t=e["$blocks?"]())===i||t.$$is_boolean&&1!=t||s["$<<"](e.$content()),s["$<<"]("")},o.$$s=this,o),r).call(n),s["$<<"](""),t(s,m.get("EOL"))}),p=[l(["list","entry","term","item"],{list:"variablelist",entry:"varlistentry",term:"term",item:"listitem"})],h=e.cdecl(m,"DLIST_TAGS",l(["labeled","qanda","glossary"],{labeled:l(["list","entry","term","item"],{list:"variablelist",entry:"varlistentry",term:"term",item:"listitem"}),qanda:l(["list","entry","label","term","item"],{list:"qandaset",entry:"qandaentry",label:"question",term:"simpara",item:"answer"}),glossary:l(["list","entry","term","item"],{list:i,entry:"glossentry",term:"glossterm",item:"glossdef"})})),h["$default="].apply(h,p),p[p.length-1],e.defn(f,"$dlist",function(r){var n,o,s,a,u,l=i,d=i,c=d=i,p=i,h=i,f=i,b=i,l=[];return r.$style()["$=="]("horizontal")?(l["$<<"]("<"+(d=(n=r["$title?"]())===i||n.$$is_boolean&&1!=n?"informaltable":"table")+this.$common_attributes(r.$id(),r.$role(),r.$reftext())+' tabstyle="horizontal" frame="none" colsep="0" rowsep="0">\n'+this.$title_tag(r)+'\n\n\n'),(n=(o=r.$items()).$each,n.$$p=(s=function(t,r){var n,o,a,u=s.$$s||this;return null==t&&(t=i),null==r&&(r=i),l["$<<"]("\n"),(n=(o=[].concat(e.to_a(t))).$each,n.$$p=(a=function(e){return null==e&&(e=i),l["$<<"](""+e.$text()+"")},a.$$s=u,a),n).call(o),l["$<<"]("\n"),((n=r["$nil?"]())===i||n.$$is_boolean&&1!=n)&&((n=r["$text?"]())===i||n.$$is_boolean&&1!=n||l["$<<"](""+r.$text()+""),(n=r["$blocks?"]())===i||n.$$is_boolean&&1!=n||l["$<<"](r.$content())),l["$<<"]("\n")},s.$$s=this,s),n).call(o),l["$<<"]("\n\n")):(d=m.get("DLIST_TAGS")["$[]"](r.$style()),c=d["$[]"]("list"),p=d["$[]"]("entry"),h=d["$[]"]("label"),f=d["$[]"]("term"),b=d["$[]"]("item"),!1===c||c===i||(l["$<<"]("<"+c+this.$common_attributes(r.$id(),r.$role(),r.$reftext())+">"),(n=r["$title?"]())===i||n.$$is_boolean&&1!=n)||l["$<<"](""+r.$title()+""),(n=(a=r.$items()).$each,n.$$p=(u=function(t,r){var n,o,s,a=u.$$s||this;return null==t&&(t=i),null==r&&(r=i),l["$<<"]("<"+p+">"),!1!==h&&h!==i&&l["$<<"]("<"+h+">"),(n=(o=[].concat(e.to_a(t))).$each,n.$$p=(s=function(e){return null==e&&(e=i),l["$<<"]("<"+f+">"+e.$text()+"")},s.$$s=a,s),n).call(o),!1!==h&&h!==i&&l["$<<"](""),l["$<<"]("<"+b+">"),((n=r["$nil?"]())===i||n.$$is_boolean&&1!=n)&&((n=r["$text?"]())===i||n.$$is_boolean&&1!=n||l["$<<"](""+r.$text()+""),(n=r["$blocks?"]())===i||n.$$is_boolean&&1!=n||l["$<<"](r.$content())),l["$<<"](""),l["$<<"]("")},u.$$s=this,u),n).call(a),!1!==c&&c!==i&&l["$<<"]("")),t(l,m.get("EOL"))}),e.defn(f,"$example",function(e){var t;return(t=e["$title?"]())===i||t.$$is_boolean&&1!=t?"\n"+this.$resolve_content(e)+"\n":"\n"+e.$title()+"\n"+this.$resolve_content(e)+"\n"}),e.defn(f,"$floating_title",function(e){return"'+e.$title()+""}),e.defn(f,"$image",function(e){var t,r=i,n=i,o=i,s=i,a=i,r=i,r=(t=e["$attr?"]("width"))===i||t.$$is_boolean&&1!=t?i:' contentwidth="'+e.$attr("width")+'"',n=(t=e["$attr?"]("height"))===i||t.$$is_boolean&&1!=t?i:' contentdepth="'+e.$attr("height")+'"',o=(t=e["$attr?"]("scaledwidth"))===i||t.$$is_boolean&&1!=t?i:' width="'+e.$attr("scaledwidth")+'" scalefit="1"',s=(t=e["$attr?"]("scale"))===i||t.$$is_boolean&&1!=t?i:' scale="'+e.$attr("scale")+'"',a=(t=e["$attr?"]("align"))===i||t.$$is_boolean&&1!=t?i:' align="'+e.$attr("align")+'"',r='\n\n\n\n"+e.$attr("alt")+"\n";return(t=e["$title?"]())===i||t.$$is_boolean&&1!=t?"\n"+r+"\n":"\n"+e.$title()+"\n"+r+"\n"}),e.defn(f,"$listing",function(e){var t,r=i,n=i,o=i,o=i,r=e["$title?"]()["$!"](),n=this.$common_attributes(e.$id(),e.$role(),e.$reftext());return(t=e.$style()["$=="]("source")?e["$attr?"]("language"):e.$style()["$=="]("source"))===i||t.$$is_boolean&&1!=t?o=""+e.$content()+"":(o=(t=e["$attr?"]("linenums"))===i||t.$$is_boolean&&1!=t?"unnumbered":"numbered",o="'+e.$content()+""),!1!==r&&r!==i?o:"\n"+e.$title()+"\n\n"+o+"\n\n"}),e.defn(f,"$literal",function(e){var t;return(t=e["$title?"]())===i||t.$$is_boolean&&1!=t?"'+e.$content()+"":"\n"+e.$title()+'\n\n'+e.$content()+"\n\n"}),e.defn(f,"$stem",function(t){var r,n,o,s,a=i,u=i,a=i;return(r=a=t.$subs().$index("specialcharacters"))===i||r.$$is_boolean&&1!=r||t.$subs().$delete("specialcharacters"),u=t.$content(),!1!==a&&a!==i&&t.$subs().$insert(a,"specialcharacters"),a=t.$style()["$=="]("asciimath")?(r=!1!==(n=null==e.Object.$$scope.AsciiMath?i:"constant")&&n!==i?n:(s=this.asciimath_available,(o=null!=s&&s!==i?"instance-variable":i)===i||o.$$is_boolean&&1!=o?this.asciimath_available=m.get("Helpers").$require_library("asciimath",!0,"warn"):this.asciimath_available))===i||r.$$is_boolean&&1!=r?"":e.get("AsciiMath").$parse(u).$to_mathml("mml:",l(["xmlns:mml"],{"xmlns:mml":"http://www.w3.org/1998/Math/MathML"})):"\n",(r=t["$title?"]())===i||r.$$is_boolean&&1!=r?"\n"+a+"\n":"\n"+t.$title()+"\n"+a+"\n"}),e.defn(f,"$olist",function(e){var r,n,o,s=i,a=i,u=i,s=[],a=(r=e.$style())===i||r.$$is_boolean&&1!=r?i:' numeration="'+e.$style()+'"',u=(r=e["$attr?"]("start"))===i||r.$$is_boolean&&1!=r?i:' startingnumber="'+e.$attr("start")+'"';return s["$<<"](""),(r=e["$title?"]())===i||r.$$is_boolean&&1!=r||s["$<<"](""+e.$title()+""),(r=(n=e.$items()).$each,r.$$p=(o=function(e){var t;return null==e&&(e=i),s["$<<"](""),s["$<<"](""+e.$text()+""),(t=e["$blocks?"]())===i||t.$$is_boolean&&1!=t||s["$<<"](e.$content()),s["$<<"]("")},o.$$s=this,o),r).call(n),s["$<<"](""),t(s,m.get("EOL"))}),e.defn(f,"$open",function(e){var t,r,n=this,o=i;return function(){return o=e.$style(),"abstract"["$==="](o)?(t=(r=e.$parent()["$=="](e.$document()))?e.$document()["$attr?"]("doctype","book"):e.$parent()["$=="](e.$document()))===i||t.$$is_boolean&&1!=t?"\n"+n.$title_tag(e)+n.$resolve_content(e)+"\n":(n.$warn("asciidoctor: WARNING: abstract block cannot be used in a document without a title when doctype is book. Excluding block content."),""):"partintro"["$==="](o)?(r=e.$level()["$=="](0)?e.$parent().$context()["$=="]("section"):e.$level()["$=="](0),(t=!1!==r&&r!==i?e.$document().$doctype()["$=="]("book"):r)===i||t.$$is_boolean&&1!=t?(n.$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."),""):"\n"+n.$title_tag(e)+n.$resolve_content(e)+"\n"):e.$content()}()}),e.defn(f,"$page_break",function(e){return""}),e.defn(f,"$paragraph",function(e){var t;return(t=e["$title?"]())===i||t.$$is_boolean&&1!=t?""+e.$content()+"":"\n"+e.$title()+"\n"+e.$content()+"\n"}),e.defn(f,"$preamble",function(e){return e.$document().$doctype()["$=="]("book")?"\n"+this.$title_tag(e,!1)+e.$content()+"\n":e.$content()}),e.defn(f,"$quote",function(e){var r,n,o=i,o=[];return o["$<<"](""),(r=e["$title?"]())===i||r.$$is_boolean&&1!=r||o["$<<"](""+e.$title()+""),(r=!1!==(n=e["$attr?"]("attribution"))&&n!==i?n:e["$attr?"]("citetitle"))===i||r.$$is_boolean&&1!=r||(o["$<<"](""),(r=e["$attr?"]("attribution"))===i||r.$$is_boolean&&1!=r||o["$<<"](e.$attr("attribution")),(r=e["$attr?"]("citetitle"))===i||r.$$is_boolean&&1!=r||o["$<<"](""+e.$attr("citetitle")+""),o["$<<"]("")),o["$<<"](this.$resolve_content(e)),o["$<<"](""),t(o,m.get("EOL"))}),e.defn(f,"$thematic_break",function(e){return""}),e.defn(f,"$sidebar",function(e){return"\n"+this.$title_tag(e)+this.$resolve_content(e)+"\n"}),e.cdecl(m,"TABLE_PI_NAMES",["dbhtml","dbfo","dblatex"]),e.cdecl(m,"TABLE_SECTIONS",["head","foot","body"]),e.defn(f,"$table",function(e){var o,s,a,u,l,d,c,p,h,f,b=this,v=i,_=i,g=i,y=i,$=i,w=i,v=!1,_=[],g=(o=e["$option?"]("pgwide"))===i||o.$$is_boolean&&1!=o?i:' pgwide="1"';return _["$<<"]("<"+(y=(o=e["$title?"]())===i||o.$$is_boolean&&1!=o?"informaltable":"table")+b.$common_attributes(e.$id(),e.$role(),e.$reftext())+g+' frame="'+e.$attr("frame","all")+'" rowsep="'+((o=["none","cols"]["$include?"](e.$attr("grid")))===i||o.$$is_boolean&&1!=o?1:0)+'" colsep="'+((o=["none","rows"]["$include?"](e.$attr("grid")))===i||o.$$is_boolean&&1!=o?1:0)+'">'),(o=e["$option?"]("unbreakable"))===i||o.$$is_boolean&&1!=o?(o=e["$option?"]("breakable"))===i||o.$$is_boolean&&1!=o||_["$<<"](''):_["$<<"](''),y["$=="]("table")&&_["$<<"](""+e.$title()+""),$=function(){return(o=w=(s=e["$attr?"]("width"))===i||s.$$is_boolean&&1!=s?i:e.$attr("width"))===i||o.$$is_boolean&&1!=o?"colpcwidth":((o=(s=m.get("TABLE_PI_NAMES")).$each,o.$$p=(a=function(e){return null==e&&(e=i),_["$<<"]("')},a.$$s=b,a),o).call(s),"colabswidth")}(),_["$<<"](''),(o=(u=e.$columns()).$each,o.$$p=(l=function(e){return null==e&&(e=i),_["$<<"]('')},l.$$s=b,l),o).call(u),(o=(d=(p=(h=m.get("TABLE_SECTIONS")).$select,p.$$p=(f=function(t){return null==t&&(t=i),e.$rows()["$[]"](t)["$empty?"]()["$!"]()},f.$$s=b,f),p).call(h)).$each,o.$$p=(c=function(t){var o,s,a,u=c.$$s||this;return null==t&&(t=i),t["$=="]("body")&&(v=!0),_["$<<"](""),(o=(s=e.$rows()["$[]"](t)).$each,o.$$p=(a=function(o){var s,u,l,d=a.$$s||this;return null==o&&(o=i),_["$<<"](""),(s=(u=o).$each,s.$$p=(l=function(o){var s,a,u,d,c,p=l.$$s||this,h=i,f=i,m=i,b=i,v=i,g=f=h=i,m=i;return null==o&&(o=i),h=(s=o["$attr?"]("halign"))===i||s.$$is_boolean&&1!=s?i:' align="'+o.$attr("halign")+'"',f=(s=o["$attr?"]("valign"))===i||s.$$is_boolean&&1!=s?i:' valign="'+o.$attr("valign")+'"',m=(s=o.$colspan())===i||s.$$is_boolean&&1!=s?i:' namest="col_'+(b=o.$column().$attr("colnumber"))+'" nameend="col_'+r(n(b,o.$colspan()),1)+'"',v=(s=o.$rowspan())===i||s.$$is_boolean&&1!=s?i:' morerows="'+r(o.$rowspan(),1)+'"',h="",f=function(){return t["$=="]("head")?o.$text():function(){return g=o.$style(),"asciidoc"["$==="](g)?o.$content():"verse"["$==="](g)?""+o.$text()+"":"literal"["$==="](g)?''+o.$text()+"":"header"["$==="](g)?(s=(a=o.$content()).$map,s.$$p=(u=function(e){return null==e&&(e=i),''+e+""},u.$$s=p,u),s).call(a).$join():(s=(d=o.$content()).$map,s.$$p=(c=function(e){return null==e&&(e=i),""+e+""},c.$$s=p,c),s).call(d).$join()}()}(),m=(s=e.$document()["$attr?"]("cellbgcolor"))===i||s.$$is_boolean&&1!=s?"":'',_["$<<"](""+h+f+m)},l.$$s=d,l),s).call(u),_["$<<"]("")},a.$$s=u,a),o).call(s),_["$<<"]("")},c.$$s=b,c),o).call(d),_["$<<"](""),_["$<<"](""),!1!==v&&v!==i||b.$warn("asciidoctor: WARNING: tables must have at least one body row"),t(_,m.get("EOL"))}),e.alias(f,"toc","skip"),e.defn(f,"$ulist",function(e){var r,n,o,s,a,u=i,l=i,d=i,l=i,u=[];return e.$style()["$=="]("bibliography")?(u["$<<"](""),(r=e["$title?"]())===i||r.$$is_boolean&&1!=r||u["$<<"](""+e.$title()+""),(r=(n=e.$items()).$each,r.$$p=(o=function(e){var t;return null==e&&(e=i),u["$<<"](""),u["$<<"](""+e.$text()+""),(t=e["$blocks?"]())===i||t.$$is_boolean&&1!=t||u["$<<"](e.$content()),u["$<<"]("")},o.$$s=this,o),r).call(n),u["$<<"]("")):(l=(r=d=e["$option?"]("checklist"))===i||r.$$is_boolean&&1!=r?e.$style():"none",l=!1!==l&&l!==i?' mark="'+l+'"':i,u["$<<"](""),(r=e["$title?"]())===i||r.$$is_boolean&&1!=r||u["$<<"](""+e.$title()+""),(r=(s=e.$items()).$each,r.$$p=(a=function(e){var t,r=i;return null==e&&(e=i),r=(t=!1!==d&&d!==i?e["$attr?"]("checkbox"):d)===i||t.$$is_boolean&&1!=t?i:(t=e["$attr?"]("checked"))===i||t.$$is_boolean&&1!=t?"❏ ":"✓ ",u["$<<"](""),u["$<<"](""+r+e.$text()+""),(t=e["$blocks?"]())===i||t.$$is_boolean&&1!=t||u["$<<"](e.$content()),u["$<<"]("")},a.$$s=this,a),r).call(s),u["$<<"]("")),t(u,m.get("EOL"))}),e.defn(f,"$verse",function(e){var r,n,o=i,o=[];return o["$<<"](""),(r=e["$title?"]())===i||r.$$is_boolean&&1!=r||o["$<<"](""+e.$title()+""),(r=!1!==(n=e["$attr?"]("attribution"))&&n!==i?n:e["$attr?"]("citetitle"))===i||r.$$is_boolean&&1!=r||(o["$<<"](""),(r=e["$attr?"]("attribution"))===i||r.$$is_boolean&&1!=r||o["$<<"](e.$attr("attribution")),(r=e["$attr?"]("citetitle"))===i||r.$$is_boolean&&1!=r||o["$<<"](""+e.$attr("citetitle")+""),o["$<<"]("")),o["$<<"](""+e.$content()+""),o["$<<"](""),t(o,m.get("EOL"))}),e.alias(f,"video","skip"),e.defn(f,"$inline_anchor",function(e){var t,r=this,n=i,o=i,s=i,a=i,u=i;return function(){return n=e.$type(),"ref"["$==="](n)?"":"xref"["$==="](n)?(t=o=e.$attributes()["$[]"]("path"))===i||t.$$is_boolean&&1!=t?(s=!1!==(t=e.$attributes()["$[]"]("fragment"))&&t!==i?t:e.$target(),(t=a=e.$text())===i||t.$$is_boolean&&1!=t?'':''+a+""):''+(!1!==(t=e.$text())&&t!==i?t:o)+"":"link"["$==="](n)?''+e.$text()+"":"bibref"["$==="](n)?(u=e.$target(),"["+u+"]"):r.$warn("asciidoctor: WARNING: unknown anchor type: "+e.$type().$inspect())}()}),e.defn(f,"$inline_break",function(e){return""+e.$text()+""}),e.defn(f,"$inline_button",function(e){return""+e.$text()+""}),e.defn(f,"$inline_callout",function(e){return""}),e.defn(f,"$inline_footnote",function(e){return e.$type()["$=="]("xref")?'':""+e.$text()+""}),e.defn(f,"$inline_image",function(e){var t,r=i,n=i,r=(t=e["$attr?"]("width"))===i||t.$$is_boolean&&1!=t?i:' contentwidth="'+e.$attr("width")+'"',n=(t=e["$attr?"]("height"))===i||t.$$is_boolean&&1!=t?i:' contentdepth="'+e.$attr("height")+'"';return'\n\n\n\n"+e.$attr("alt")+"\n"}),e.defn(f,"$inline_indexterm",function(e){var r=i,n=i,s=i;return e.$type()["$=="]("visible")?""+e.$text()+""+e.$text():(r=e.$attr("terms"),n=[],o(s=r.$size(),2)&&n["$<<"]("\n"+r["$[]"](0)+""+r["$[]"](1)+""+r["$[]"](2)+"\n"),o(s,1)&&n["$<<"]("\n"+r["$[]"](-2)+""+r["$[]"](-1)+"\n"),n["$<<"]("\n"+r["$[]"](-1)+"\n"),t(n,m.get("EOL")))}),e.defn(f,"$inline_kbd",function(e){var t,r,n,o=i;return(o=e.$attr("keys")).$size()["$=="](1)?""+o["$[]"](0)+"":""+(t=(r=o).$map,t.$$p=(n=function(e){return null==e&&(e=i),""+e+""},n.$$s=this,n),t).call(r).$join()+""}),e.defn(f,"$inline_menu",function(e){var t,r,n,o=i,s=i,a=s=i,o=e.$attr("menu");return(t=(s=e.$attr("submenus"))["$empty?"]()["$!"]())===i||t.$$is_boolean&&1!=t?(t=a=e.$attr("menuitem"))===i||t.$$is_boolean&&1!=t?""+o+"":""+o+" "+a+"":(s=(t=(r=s).$map,t.$$p=(n=function(e){return null==e&&(e=i),""+e+" "},n.$$s=this,n),t).call(r).$join().$chop(),""+o+" "+s+" "+e.$attr("menuitem")+"")}),p=[[i,i,!0]],h=e.cdecl(m,"QUOTE_TAGS",l("emphasis strong monospaced superscript subscript double single mark".split(" "),{emphasis:["","",!0],strong:['',"",!0],monospaced:["","",!1],superscript:["","",!1],subscript:["","",!1],"double":["“","”",!0],single:["‘","’",!0],mark:['',"",!1]})),h["$default="].apply(h,p),p[p.length-1],e.defn(f,"$inline_quoted",function(t){var r,n,o,s,a=i,u=i,d=i,c=i,p=i,h=a=i,d=i;return(a=t.$type())["$=="]("asciimath")?(r=!1!==(n=null==e.Object.$$scope.AsciiMath?i:"constant")&&n!==i?n:(s=this.asciimath_available,(o=null!=s&&s!==i?"instance-variable":i)===i||o.$$is_boolean&&1!=o?this.asciimath_available=m.get("Helpers").$require_library("asciimath",!0,"warn"):this.asciimath_available))===i||r.$$is_boolean&&1!=r?"":""+e.get("AsciiMath").$parse(t.$text()).$to_mathml("mml:",l(["xmlns:mml"],{"xmlns:mml":"http://www.w3.org/1998/Math/MathML"}))+"":a["$=="]("latexmath")?"":(r=e.to_ary(m.get("QUOTE_TAGS")["$[]"](a)),d=null==r[0]?i:r[0],c=null==r[1]?i:r[1],p=null==r[2]?i:r[2],a=t.$text(),d=(r=h=t.$role())===i||r.$$is_boolean&&1!=r?""+d+a+c:!1!==p&&p!==i?""+d+''+a+""+c:""+d.$chop()+' role="'+h+'">'+a+c,(r=t.$id())===i||r.$$is_boolean&&1!=r?d:""+d)}),e.defn(f,"$author_element",function(e,r){var n,o=i,s=i,a=i,u=i,l=i;return null==r&&(r=i),o=!1!==r&&r!==i?"firstname_"+r:"firstname",s=!1!==r&&r!==i?"middlename_"+r:"middlename",a=!1!==r&&r!==i?"lastname_"+r:"lastname",u=!1!==r&&r!==i?"email_"+r:"email",l=[],l["$<<"](""),l["$<<"](""),(n=e["$attr?"](o))===i||n.$$is_boolean&&1!=n||l["$<<"](""+e.$attr(o)+""),(n=e["$attr?"](s))===i||n.$$is_boolean&&1!=n||l["$<<"](""+e.$attr(s)+""),(n=e["$attr?"](a))===i||n.$$is_boolean&&1!=n||l["$<<"](""+e.$attr(a)+""),l["$<<"](""),(n=e["$attr?"](u))===i||n.$$is_boolean&&1!=n||l["$<<"](""+e.$attr(u)+""),l["$<<"](""),t(l,m.get("EOL"))}),e.defn(f,"$common_attributes",function(e,t,r){var n=i;return null==t&&(t=i),null==r&&(r=i),n=!1!==e&&e!==i?' xml:id="'+e+'"':"",!1!==t&&t!==i&&(n=""+n+' role="'+t+'"'),!1!==r&&r!==i&&(n=""+n+' xreflabel="'+r+'"'),n}),e.defn(f,"$doctype_declaration",function(e){return i}),e.defn(f,"$document_info_element",function(e,r,o){var a,u,d,c,p,h=i,f=i,f=f=i;return null==o&&(o=!1),!1!==o&&o!==i||(r=""),h=[],h["$<<"]("<"+r+"info>"),((a=e.$notitle())===i||a.$$is_boolean&&1!=a)&&h["$<<"](this.$document_title_tags(e.$doctitle(l(["partition","use_fallback"],{partition:!0,use_fallback:!0})))),(a=f=(u=e["$attr?"]("revdate"))===i||u.$$is_boolean&&1!=u?(u=e["$attr?"]("reproducible"))===i||u.$$is_boolean&&1!=u?e.$attr("docdate"):i:e.$attr("revdate"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+f+""),(a=e["$has_header?"]())===i||a.$$is_boolean&&1!=a||((a=e["$attr?"]("author"))===i||a.$$is_boolean&&1!=a||(s(f=e.$attr("authorcount").$to_i(),2)?(h["$<<"](this.$author_element(e)),(a=e["$attr?"]("authorinitials"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+e.$attr("authorinitials")+"")):(h["$<<"](""),(a=(u=f).$times,a.$$p=(d=function(t){var r=d.$$s||this;return null==t&&(t=i),h["$<<"](r.$author_element(e,n(t,1)))},d.$$s=this,d),a).call(u),h["$<<"](""))),c=e["$attr?"]("revdate"),(a=!1!==c&&c!==i?!1!==(p=e["$attr?"]("revnumber"))&&p!==i?p:e["$attr?"]("revremark"):c)===i||a.$$is_boolean&&1!=a||(h["$<<"]("\n"),(a=e["$attr?"]("revnumber"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+e.$attr("revnumber")+""),(a=e["$attr?"]("revdate"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+e.$attr("revdate")+""),(a=e["$attr?"]("authorinitials"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+e.$attr("authorinitials")+""),(a=e["$attr?"]("revremark"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+e.$attr("revremark")+""), -h["$<<"]("\n")),((a=(f=e.$docinfo())["$empty?"]())===i||a.$$is_boolean&&1!=a)&&h["$<<"](f),(a=e["$attr?"]("orgname"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+e.$attr("orgname")+"")),h["$<<"](""),e.$doctype()["$=="]("manpage")&&(h["$<<"](""),(a=e["$attr?"]("mantitle"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+e.$attr("mantitle")+""),(a=e["$attr?"]("manvolnum"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+e.$attr("manvolnum")+""),h["$<<"](""),h["$<<"](""),(a=e["$attr?"]("manname"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+e.$attr("manname")+""),(a=e["$attr?"]("manpurpose"))===i||a.$$is_boolean&&1!=a||h["$<<"](""+e.$attr("manpurpose")+""),h["$<<"]("")),t(h,m.get("EOL"))}),e.defn(f,"$document_ns_attributes",function(e){return' xmlns="http://docbook.org/ns/docbook" xmlns:xl="http://www.w3.org/1999/xlink" version="5.0"'}),e.defn(f,"$lang_attribute_name",function(){return"xml:lang"}),e.defn(f,"$document_title_tags",function(e){var t;return(t=e["$subtitle?"]())===i||t.$$is_boolean&&1!=t?""+e+"":""+e.$main()+"\n"+e.$subtitle()+""}),e.defn(f,"$resolve_content",function(e){return e.$content_model()["$=="]("compound")?e.$content():""+e.$content()+""}),e.defn(f,"$title_tag",function(e,t){var r,n;return null==t&&(t=!0),(r=!1!==(n=t["$!"]())&&n!==i?n:e["$title?"]())===i||r.$$is_boolean&&1!=r?i:""+e.$title()+"\n"}),i&&"title_tag"}(d.get("Converter"),d.get("Converter").$$scope.get("BuiltIn"))}(e.base)}(t),function(e){return e.dynamic_require_severity="ignore",e.nil}(t)}},{"opal-npm-wrapper":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/asciidoctor.js/node_modules/opal-npm-wrapper/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/asciidoctor.js/dist/npm/asciidoctor-extensions.min.js":[function(e,t,r){t.exports=function(t){t=t||e("opal-npm-wrapper").Opal,function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e $- $fill $-@ $next_auto_id $generate_name $length $empty? $const_defined?".split(" ")),function(p){!function(p){p=a(p,"Extensions");var h=p.$$scope;!function(t,r){function n(){}var s,a,d,c=n=u(t,r,"Processor",n),p=c.$$scope;return c.$$proto.config=o,function(t){return e.defn(t,"$config",function(){var e;return null==this.config&&(this.config=o),!1!==(e=this.config)&&e!==o?e:this.config=l([],{})}),e.defn(t,"$option",function(e,t){return this.$config()["$[]="](e,t)}),e.defn(t,"$use_dsl",function(){var e;return(e=this.$name()["$nil_or_empty?"]())===o||e.$$is_boolean&&1!=e?(e=this.$constants().$grep("DSL"))===o||e.$$is_boolean&&1!=e?o:this.$extend(this.$const_get("DSL")):(e=this.$constants().$grep("DSL"))===o||e.$$is_boolean&&1!=e?o:this.$include(this.$const_get("DSL"))}),e.alias(t,"extend_dsl","use_dsl"),e.alias(t,"include_dsl","use_dsl")}(e.get_singleton_class(c)),c.$attr_reader("config"),e.defn(c,"$initialize",function(e){return null==e&&(e=l([],{})),this.config=this.$class().$config().$merge(e)}),e.defn(c,"$update_config",function(e){return this.config.$update(e)}),e.defn(c,"$process",function(){var t=arguments.length-0;0>t&&(t=0);for(var r=Array(t),n=0;ns&&(s=0);for(var i=Array(s),a=0;ae&&(e=0);for(var t=Array(e),r=0;re&&(e=0);for(var t=Array(e),r=0;re&&(e=0);for(var t=Array(e),r=0;rr&&(r=0);for(var n=Array(r),s=0;sr&&(r=0);for(var n=Array(r),s=0;sr&&(r=0);for(var n=Array(r),s=0;sr&&(r=0);for(var n=Array(r),s=0;sr&&(r=0);for(var n=Array(r),s=0;sr&&(r=0);for(var n=Array(r),s=0;sr&&(r=0);for(var n=Array(r),s=0;sr&&(r=0);for(var n=Array(r),s=0;s>")?m.$unshift(_):m["$<<"](_)}),e.defn(w,"$add_syntax_processor",$=function(t,n){var i,a,u,c,p,h,f=$.$$p||o,m=o,b=o,v=o,_=b=o,g=v=o,y=o,w=o,b=o;if($.$$p=null,m=t.$to_s().$tr("_"," "),b=(i=(a=m.$split(" ")).$map,i.$$p=(u=function(e){return null==e&&(e=o),""+e.$chr().$upcase()+e["$[]"](d(1,-1,!1))},u.$$s=this,u),i).call(a).$join(),v=(""+b+"Processor").$to_sym(),b=E.get("Extensions").$const_get(v),_=(i=null==e.Object.$$scope.AsciidoctorJ?o:"constant")===o||i.$$is_boolean&&1!=i?o:e.get("AsciidoctorJ").$$scope.get("Extensions").$const_get(v),v=!1!==(i=this.$instance_variable_get(("@"+t+"_extensions").$to_sym()))&&i!==o?i:this.$instance_variable_set(("@"+t+"_extensions").$to_sym(),l([],{})),f!==o){if(i=e.to_ary(this.$resolve_args(n,2)),g=null==i[0]?o:i[0],y=null==i[1]?o:i[1],w=b.$new(this.$as_symbol(g),y),(i=b.$constants().$grep("DSL"))===o||i.$$is_boolean&&1!=i||w.$extend(b.$const_get("DSL")),f.$arity()["$=="](1)){if(e.yield1(f,w)===s)return s.$v}else(i=(c=w).$instance_exec,i.$$p=f.$to_proc(),i).call(c);return((i=g=this.$as_symbol(w.$name()))===o||i.$$is_boolean&&1!=i)&&this.$raise(e.get("ArgumentError").$new("No name specified for "+m+" extension at "+f.$source_location())),((i=w["$process_block_given?"]())===o||i.$$is_boolean&&1!=i)&&this.$raise(e.get("NoMethodError").$new("No block specified to process "+m+" extension at "+f.$source_location())),w.$freeze(),v["$[]="](g,E.get("ProcessorExtension").$new(t,w))}return i=e.to_ary(this.$resolve_args(n,3)),w=null==i[0]?o:i[0],g=null==i[1]?o:i[1],y=null==i[2]?o:i[2],(i=!1!==(p=w["$is_a?"](e.get("Class")))&&p!==o?p:(h=w["$is_a?"](e.get("String")),!1!==h&&h!==o?w=E.get("Extensions").$class_for_name(w):h))===o||i.$$is_boolean&&1!=i?(i=!1!==(p=w["$is_a?"](b))&&p!==o?p:(h=!1!==_&&_!==o)?w["$is_a?"](_):_)===o||i.$$is_boolean&&1!=i?this.$raise(e.get("ArgumentError").$new("Invalid arguments specified for registering "+m+" extension: "+n)):(w.$update_config(y),((i=g=!1!==g&&g!==o?(p=[this.$as_symbol(g)],h=w,h["$name="].apply(h,p),p[p.length-1]):this.$as_symbol(w.$name()))===o||i.$$is_boolean&&1!=i)&&this.$raise(e.get("ArgumentError").$new("No name specified for "+m+" extension: "+w)),w.$freeze(),v["$[]="](g,E.get("ProcessorExtension").$new(t,w))):(((i=!1!==(p=r(w,b))&&p!==o?p:(h=!1!==_&&_!==o)?r(w,_):_)===o||i.$$is_boolean&&1!=i)&&this.$raise(e.get("ArgumentError").$new("Class specified for "+m+" extension does not inherit from "+b+": "+w)),b=w.$new(this.$as_symbol(g),y),((i=g=this.$as_symbol(b.$name()))===o||i.$$is_boolean&&1!=i)&&this.$raise(e.get("ArgumentError").$new("No name specified for "+m+" extension: "+w)),w.$freeze(),v["$[]="](g,E.get("ProcessorExtension").$new(t,b)))}),e.defn(w,"$resolve_args",function(t,s){var i,a=o,u=o,d=o,a=(i=t["$[]"](-1)["$is_a?"](e.get("Hash")))===o||i.$$is_boolean&&1!=i?l([],{}):t.$pop();return s["$=="](1)?a:(u=t.$size(),i=d=n(n(s,1),u),("number"==typeof i?0"](0))?t.$fill(o,u,d):r(d,0)&&t.$pop(d["$-@"]()),t["$<<"](a),t)}),e.defn(w,"$as_symbol",function(t){var r;return!1!==t&&t!==o?(r=t["$is_a?"](e.get("Symbol")))===o||r.$$is_boolean&&1!=r?t.$to_sym():t:o}),o&&"as_symbol"}(h.base,null),function(r){var n,s,i=r.$$scope;return e.defn(r,"$generate_name",function(){return"extgrp"+this.$next_auto_id()}),e.defn(r,"$next_auto_id",function(){var e;return null==this.auto_id&&(this.auto_id=o),!1!==(e=this.auto_id)&&e!==o?e:this.auto_id=-1,this.auto_id=t(this.auto_id,1)}),e.defn(r,"$groups",function(){var e;return null==this.groups&&(this.groups=o),!1!==(e=this.groups)&&e!==o?e:this.groups=l([],{})}),e.defn(r,"$build_registry",n=function(e){var t,r=n.$$p||o;return null==e&&(e=o),n.$$p=null,r!==o?(!1!==(t=e)&&t!==o?t:e=this.$generate_name(),i.get("Registry").$new(c(e,r))):i.get("Registry").$new()}),e.defn(r,"$register",s=function(){var t,r=s.$$p||o,n=o,i=o,a=i=o,a=o,n=arguments.length-0;0>n&&(n=0);for(var u=Array(n),i=0;i>",n=function(){},o=Opal.boot_class(t,n);return o.$$name=r,o.$$proto=e,o.$$class=t.$$class,o.$$scope=t.$$scope,o.$$parent=t,o.$$is_singleton=!0,o.$$singleton_of=e,e.$$meta=o}function c(e,t,r,n){var o,s,i,a;for(o=e.$$bridge.$ancestors(),s=0,a=o.length;s=0;s--)o="$"+n[s],c(e,t,o,t.$$proto[o]);P[r]||(P[r]=[]),P[r].push(e)}else if(i=P[e.$__id__()]){for(s=i.length-1;s>=0;s--)p(i[s],t);P[t.$__id__()]=i.slice()}}function h(e,t,r){if(r){var n=function(){};n.prototype=r.$$proto||r.prototype,t.prototype=new n}return e&&(t.displayName=e+"_alloc"),t.prototype.constructor=t,t}function f(e,t,r){var n=function(){};n.prototype=r.prototype;var o=function(){};o.prototype=new n,o.displayName="#";var s=new o;return a(s,o,r,t.prototype),s.$$alloc=t,s.$$name=e,s.displayName=e,t.prototype.$$class=s,Opal[e]=s,Opal.constants.push(e),s}function m(e,t){for(var r=e.$$scope.constants,n=t.$$scope,o=n.constants,s=0,i=r.length;s=0;a--)if(t.$$inc[a]===e)return;for(t.$$inc.push(e),e.$$dep.push(t),p(t,e),r={$$name:e.$$name,$$proto:e.$$proto,$$parent:t.$$parent,$$module:e,$$iclass:!0},t.$$parent=r,n=e.$$proto, -o=t.$$proto,s=e.$instance_methods(),a=s.length-1;a>=0;a--)i="$"+s[a],(!o.hasOwnProperty(i)||o[i].$$donated||o[i].$$stub)&&(o[i]=n[i],o[i].$$donated=e);m(e,t)},Opal.bridge=function(e,r){if(r.$$bridge)throw Opal.ArgumentError.$new("already bridged");Opal.stub_subscribers.push(r.prototype),r.prototype.$$class=e,r.$$bridge=e;for(var n=e.$ancestors(),o=n.length-1;o>=0;o--)p(r,n[o]);for(var s in t.prototype){var i=t.prototype[i];!i||!i.$$stub||s in r.prototype||(r.prototype[s]=i)}return e},Opal.casgn=function(e,t,r){function n(e,t){e.$$name=t;for(t in e.$$scope){var r=e.$$scope[t];r.$$name===y&&(r.$$is_class||r.$$is_module)&&n(r,t)}}var o=e.$$scope;return(r.$$is_class||r.$$is_module)&&((r.$$is_class||r.$$base_module===w)&&(r.$$base_module=e),r.$$name===y&&r.$$base_module.$$name!==y&&n(r,t)),o.constants.push(t),o[t]=r},Opal.cdecl=function(e,t,r){return(r.$$is_class||r.$$is_module)&&null==r.$$orig_scope&&(r.$$name=t,r.$$orig_scope=e,e.constructor[t]=r),e.constants.push(t),e[t]=r},Opal.add_stubs=function(e){var t,r,n,o,s,i=Opal.stub_subscribers,a=e.length,u=i.length;for(r=0;r1&&t.$$is_array?e.apply(null,t):e(t)},Opal.yieldX=function(e,t){if("function"!=typeof e)throw Opal.LocalJumpError.$new("no block given");return e.length>1&&1===t.length&&t[0].$$is_array?e.apply(null,t[0]):(t.$$is_array||(t=T.call(t)),e.apply(null,t))},Opal.rescue=function(e,t){for(var r=0;r=0;o--)c(n[o],e,t,r)}e.$method_added&&!e.$method_added.$$stub&&e.$method_added(t.substr(1));var s=e.$$singleton_of;return s&&s.$singleton_method_added&&!s.$singleton_method_added.$$stub&&s.$singleton_method_added(t.substr(1)),y},Opal.defs=function(e,t,r){Opal.defn(Opal.get_singleton_class(e),t,r)},Opal.def=function(e,t,r){e.$$eval||!e.$$is_class&&!e.$$is_module?Opal.defs(e,t,r):Opal.defn(e,t,r)},Opal.rdef=function(e,t){if(!j.call(e.$$proto,t))throw Opal.NameError.$new("method '"+t.substr(1)+"' not defined in "+e.$name());delete e.$$proto[t],e.$$is_singleton?e.$$proto.$singleton_method_removed&&!e.$$proto.$singleton_method_removed.$$stub&&e.$$proto.$singleton_method_removed(t.substr(1)):e.$method_removed&&!e.$method_removed.$$stub&&e.$method_removed(t.substr(1))},Opal.udef=function(e,t){if(!e.$$proto[t]||e.$$proto[t].$$stub)throw Opal.NameError.$new("method '"+t.substr(1)+"' not defined in "+e.$name());Opal.add_stub_for(e.$$proto,t),e.$$is_singleton?e.$$proto.$singleton_method_undefined&&!e.$$proto.$singleton_method_undefined.$$stub&&e.$$proto.$singleton_method_undefined(t.substr(1)):e.$method_undefined&&!e.$method_undefined.$$stub&&e.$method_undefined(t.substr(1))},Opal.alias=function(e,t,r){var n="$"+t,o="$"+r,s=e.$$proto["$"+r];if(e.$$eval)return Opal.alias(Opal.get_singleton_class(e),t,r);if("function"!=typeof s||s.$$stub){for(var i=e.$$super;"function"!=typeof s&&i;)s=i[o],i=i.$$super;if("function"!=typeof s||s.$$stub)throw Opal.NameError.$new("undefined method `"+r+"' for class `"+e.$name()+"'")}return Opal.defn(e,n,s),e},Opal.alias_native=function(e,t,r){var n="$"+t,o=e.$$proto[r];if("function"!=typeof o||o.$$stub)throw Opal.NameError.$new("undefined native method `"+r+"' for class `"+e.$name()+"'");return Opal.defn(e,n,o),e},Opal.hash_init=function(e){e.$$map={},e.$$smap={},e.$$keys=[]},Opal.hash_clone=function(e,t){t.none=e.none,t.proc=e.proc;for(var r,n,o=0,s=e.$$keys,i=s.length;o","$inspect","$coerce_to!"]),function(t){var s,i=s=o(t,"Opal"),a=(i.$$proto,i.$$scope);e.defs(i,"$bridge",function(t,r){return e.bridge(t,r)}),e.defs(i,"$type_error",function(e,t,n,o){var s,i;return null==n&&(n=r),null==o&&(o=r),(s=(i=n!==!1&&n!==r)?o:n)===r||s.$$is_boolean&&1!=s?a.get("TypeError").$new("no implicit conversion of "+e.$class()+" into "+t):a.get("TypeError").$new("can't convert "+e.$class()+" into "+t+" ("+e.$class()+"#"+n+" gives "+o.$class())}),e.defs(i,"$coerce_to",function(e,t,n){var o,s=this;return(o=t["$==="](e))===r||o.$$is_boolean&&1!=o?(((o=e["$respond_to?"](n))===r||o.$$is_boolean&&1!=o)&&s.$raise(s.$type_error(e,t)),e.$__send__(n)):e}),e.defs(i,"$coerce_to!",function(e,t,n){var o,s=this,i=r;return i=s.$coerce_to(e,t,n),((o=t["$==="](i))===r||o.$$is_boolean&&1!=o)&&s.$raise(s.$type_error(e,t,n,i)),i}),e.defs(i,"$coerce_to?",function(e,t,n){var o,s=this,i=r;return(o=e["$respond_to?"](n))===r||o.$$is_boolean&&1!=o?r:(i=s.$coerce_to(e,t,n),(o=i["$nil?"]())===r||o.$$is_boolean&&1!=o?(((o=t["$==="](i))===r||o.$$is_boolean&&1!=o)&&s.$raise(s.$type_error(e,t,n,i)),i):r)}),e.defs(i,"$try_convert",function(e,t,n){var o;return(o=t["$==="](e))===r||o.$$is_boolean&&1!=o?(o=e["$respond_to?"](n))===r||o.$$is_boolean&&1!=o?r:e.$__send__(n):e}),e.defs(i,"$compare",function(e,t){var n,o=this,s=r;return s=e["$<=>"](t),(n=s===r)===r||n.$$is_boolean&&1!=n||o.$raise(a.get("ArgumentError"),"comparison of "+e.$class()+" with "+t.$class()+" failed"),s}),e.defs(i,"$destructure",function(e){return 1==e.length?e[0]:e.$$is_array?e:n.call(e)}),e.defs(i,"$respond_to?",function(e,t){return!(null==e||!e.$$class)&&e["$respond_to?"](t)}),e.defs(i,"$inspect",function(e){return void 0===e?"undefined":null===e?"null":e.$$class?e.$inspect():e.toString()}),e.defs(i,"$instance_variable_name!",function(e){var t,n=this;return e=a.get("Opal")["$coerce_to!"](e,a.get("String"),"to_str"),((t=/^@[a-zA-Z_][a-zA-Z0-9_]*?$/.test(e))===r||t.$$is_boolean&&1!=t)&&n.$raise(a.get("NameError").$new("'"+e+"' is not allowed as an instance variable name",e)),e})}(t.base)},Opal.modules["corelib/module"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?et:e["$>"](t)}e.dynamic_require_severity="warning";var n=(e.top,e),o=e.nil,s=(e.breaker,e.slice),i=e.klass;return e.add_stubs(["$===","$raise","$equal?","$<","$>","$nil?","$attr_reader","$attr_writer","$coerce_to!","$new","$=~","$inject","$const_get","$split","$const_missing","$to_str","$to_proc","$lambda","$bind","$call","$class","$append_features","$included","$name","$to_s","$__id__"]),function(n,a){function u(){}var l,d,c,p,h=u=i(n,a,"Module",u),f=(h.$$proto,h.$$scope);return e.defs(h,"$new",l=function(){var t=l.$$p,r=t||o;l.$$p=null;var n=e.boot_module_object();if(n.$$name=o,n.$$class=e.Module,n.$$dep=[],n.$$is_module=!0,n.$$proto={},e.create_scope(e.Module.$$scope,n),r!==o){var s=r.$$s;r.$$s=null,r.call(n),r.$$s=s}return n}),e.defn(h,"$===",function(t){var r,n=this;return!!((r=null==t)===o||r.$$is_boolean&&1!=r)&&e.is_a(t,n)}),e.defn(h,"$<",function(t){var r,n=this;((r=f.get("Module")["$==="](t))===o||r.$$is_boolean&&1!=r)&&n.$raise(f.get("TypeError"),"compared with non class/module");var s,i,a,u=n;if(u===t)return!1;for(i=0,s=e.ancestors(n),a=s.length;i",function(e){var r,n=this;return((r=f.get("Module")["$==="](e))===o||r.$$is_boolean&&1!=r)&&n.$raise(f.get("TypeError"),"compared with non class/module"),t(e,n)}),e.defn(h,"$>=",function(e){var t,n=this;return(t=n["$equal?"](e))!==!1&&t!==o?t:r(n,e)}),e.defn(h,"$<=>",function(e){var r,n=this,s=o;return n===e?0:(r=f.get("Module")["$==="](e))===o||r.$$is_boolean&&1!=r?o:(s=t(n,e),(r=s["$nil?"]())===o||r.$$is_boolean&&1!=r?s!==!1&&s!==o?-1:1:o)}),e.defn(h,"$alias_method",function(t,r){var n=this;return e.alias(n,t,r),n}),e.defn(h,"$alias_native",function(t,r){var n=this;return null==r&&(r=t),e.alias_native(n,t,r),n}),e.defn(h,"$ancestors",function(){var t=this;return e.ancestors(t)}),e.defn(h,"$append_features",function(t){var r=this;return e.append_features(r,t),r}),e.defn(h,"$attr_accessor",function(){var t,r,n=this,s=o,i=arguments.length-0;i<0&&(i=0);var a=new Array(i);for(s=0;s=0;a--){var u=s[a],l="$"+u,d=e.ivar(u),c=function(e){return function(){return null==this[e]?o:this[e]}}(d);i[d]=o,t.$$is_singleton?i.constructor.prototype[l]=c:e.defn(t,l,c)}return o}),e.defn(h,"$attr_writer",function(){var t=this,r=o,n=arguments.length-0;n<0&&(n=0);var s=new Array(n);for(r=0;r=0;a--){var u=s[a],l="$"+u+"=",d=e.ivar(u),c=function(e){return function(t){return this[e]=t}}(d);i[d]=o,t.$$is_singleton?i.constructor.prototype[l]=c:e.defn(t,l,c)}return o}),e.defn(h,"$autoload",function(e,t){var r,n=this;return(r=n.$$autoload)||(r=n.$$autoload={}),r[e]=t,o}),e.defn(h,"$class_variable_get",function(t){var r,n=this;t=f.get("Opal")["$coerce_to!"](t,f.get("String"),"to_str"),(r=t.length<3||"@@"!==t.slice(0,2))===o||r.$$is_boolean&&1!=r||n.$raise(f.get("NameError").$new("class vars should start with @@",t));var s=e.cvars[t.slice(2)];return function(){return(r=null==s)===o||r.$$is_boolean&&1!=r?o:n.$raise(f.get("NameError").$new("uninitialized class variable @@a in",t))}(),s}),e.defn(h,"$class_variable_set",function(t,r){var n,s=this;return t=f.get("Opal")["$coerce_to!"](t,f.get("String"),"to_str"),(n=t.length<3||"@@"!==t.slice(0,2))===o||n.$$is_boolean&&1!=n||s.$raise(f.get("NameError")),e.cvars[t.slice(2)]=r,r}),e.defn(h,"$constants",function(){var e=this;return e.$$scope.constants.slice(0)}),e.defn(h,"$const_defined?",function(t,r){var n,s=this;null==r&&(r=!0),((n=t["$=~"](/^[A-Z]\w*$/))===o||n.$$is_boolean&&1!=n)&&s.$raise(f.get("NameError").$new("wrong constant name "+t,t));var i=[s.$$scope];if(r||s===e.Object)for(var a=s.$$super;a!==e.BasicObject;)i.push(a.$$scope),a=a.$$super;for(var u=0,l=i.length;u=0;s--){var i=n[s];i!==e&&(i.$$is_module||e.$raise(f.get("TypeError"),"wrong argument type "+i.$class()+" (expected Module)"),i.$append_features(e),i.$included(e))}return e}),e.defn(h,"$include?",function(e){for(var t=this,r=t;r;r=r.$$super)for(var n=0;n!=r.$$inc.length;n++){var o=r.$$inc[n];if(e===o)return!0}return!1}),e.defn(h,"$instance_method",function(e){var t=this,r=t.$$proto["$"+e];return r&&!r.$$stub||t.$raise(f.get("NameError").$new("undefined method `"+e+"' for class `"+t.$name()+"'",e)),f.get("UnboundMethod").$new(t,r,e)}),e.defn(h,"$instance_methods",function(t){var r=this;null==t&&(t=!0);var n=[],o=r.$$proto;for(var s in o)if("$"===s.charAt(0)&&"function"==typeof o[s]&&!o[s].$$stub){if(!r.$$is_module){if(r!==e.BasicObject&&o[s]===e.BasicObject.$$proto[s])continue;if(!t&&!o.hasOwnProperty(s))continue;if(!t&&o[s].$$donated)continue}n.push(s.substr(1))}return n}),e.defn(h,"$included",function(e){return o}),e.defn(h,"$extended",function(e){return o}),e.defn(h,"$method_added",function(){return o}),e.defn(h,"$method_removed",function(){return o}),e.defn(h,"$method_undefined",function(){return o}),e.defn(h,"$module_eval",c=function(){var e=this,t=c.$$p,r=t||o;c.$$p=null,r!==!1&&r!==o||e.$raise(f.get("ArgumentError"),"no block given");var n,s=r.$$s;return r.$$s=null,n=r.call(e),r.$$s=s,n}),e.alias(h,"class_eval","module_eval"),e.defn(h,"$module_exec",p=function(){var e=this,t=p.$$p,r=t||o,n=o,s=arguments.length-0;s<0&&(s=0);var i=new Array(s);for(n=0;n"}),e.defn(h,"$undef_method",function(){var t=this,r=o,n=arguments.length-0;n<0&&(n=0);var s=new Array(n);for(r=0;rt:e["$>"](t)}Opal.dynamic_require_severity="warning";var OPAL_CONFIG={method_missing:!0,arity_check:!1,freezing:!0,tainting:!0},self=Opal.top,$scope=Opal,nil=Opal.nil,$breaker=Opal.breaker,$slice=Opal.slice,$klass=Opal.klass,$range=Opal.range,$hash2=Opal.hash2;return Opal.add_stubs(["$==","$!","$nil?","$cover?","$size","$raise","$compile","$lambda","$>","$new","$inspect"]),function($base,$super){function $BasicObject(){}var self=$BasicObject=$klass($base,$super,"BasicObject",$BasicObject),def=self.$$proto,$scope=self.$$scope,TMP_1,TMP_2,TMP_4,TMP_5;return Opal.defn(self,"$initialize",function(){return nil}),Opal.defn(self,"$==",function(e){var t=this;return t===e}),Opal.defn(self,"$eql?",function(e){var t=this;return t["$=="](e)}),Opal.alias(self,"equal?","=="),Opal.defn(self,"$__id__",function(){var e=this;return e.$$id||(e.$$id=Opal.uid())}),Opal.defn(self,"$__send__",TMP_1=function(e){var t=this,r=TMP_1.$$p,n=r||nil,o=nil,s=arguments.length-1;s<0&&(s=0);var i=new Array(s);for(o=0;ot:e["$>"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e<=t:e["$<="](t)}e.dynamic_require_severity="warning";var n=(e.top,e),o=e.nil,s=e.breaker,i=(e.slice,e.module),a=e.gvars,u=e.hash2,l=e.klass;return e.add_stubs(["$raise","$new","$inspect","$!","$=~","$==","$object_id","$class","$coerce_to?","$<<","$allocate","$copy_instance_variables","$copy_singleton_methods","$initialize_clone","$initialize_copy","$define_method","$to_proc","$singleton_class","$initialize_dup","$for","$loop","$pop","$call","$append_features","$extended","$length","$respond_to?","$[]","$nil?","$to_a","$to_int","$fetch","$Integer","$Float","$to_ary","$to_str","$coerce_to","$to_s","$__id__","$instance_variable_name!","$coerce_to!","$===","$>","$print","$format","$puts","$each","$<=","$empty?","$exception","$kind_of?","$respond_to_missing?","$try_convert!","$expand_path","$join","$start_with?","$sym","$arg","$include"]),function(n){var l,d,c,p,h,f,m,b,v,_,g=l=i(n,"Kernel"),y=(g.$$proto,g.$$scope);e.defn(g,"$method_missing",d=function(e){var t=this,r=(d.$$p,o),n=arguments.length-1;n<0&&(n=0);var s=new Array(n);for(r=0;r",function(e){var t=this;t.$$comparable=!0;var r=t["$=="](e);return r&&r!==o?0:o}),e.defn(g,"$method",function(e){var t=this,r=t["$"+e];return r&&!r.$$stub||t.$raise(y.get("NameError").$new("undefined method `"+e+"' for class `"+t.$class()+"'",e)),y.get("Method").$new(t,r,e)}),e.defn(g,"$methods",function(t){var r=this;null==t&&(t=!0);var n=[];for(var s in r)if("$"==s[0]&&"function"==typeof r[s]){if((0==t||t===o)&&!e.hasOwnProperty.call(r,s))continue;void 0===r[s].$$stub&&n.push(s.substr(1))}return n}),e.alias(g,"public_methods","methods"),e.defn(g,"$Array",function(e){var t;return e===o?[]:e.$$is_array?e:(t=y.get("Opal")["$coerce_to?"](e,y.get("Array"),"to_ary"),t!==o?t:(t=y.get("Opal")["$coerce_to?"](e,y.get("Array"),"to_a"),t!==o?t:[e]))}),e.defn(g,"$at_exit",c=function(){var e,t=c.$$p,r=t||o;return null==a.__at_exit__&&(a.__at_exit__=o),c.$$p=null,(e=a.__at_exit__)!==!1&&e!==o?e:a.__at_exit__=[],a.__at_exit__["$<<"](r)}),e.defn(g,"$caller",function(){return[]}),e.defn(g,"$class",function(){var e=this;return e.$$class}),e.defn(g,"$copy_instance_variables",function(e){var t=this;for(var r in e)e.hasOwnProperty(r)&&"$"!==r.charAt(0)&&(t[r]=e[r])}),e.defn(g,"$copy_singleton_methods",function(t){var r,n=this;if(t.hasOwnProperty("$$meta")){var o=e.get_singleton_class(t).$$proto,s=e.get_singleton_class(n).$$proto;for(r in o)"$"===r.charAt(0)&&o.hasOwnProperty(r)&&(s[r]=o[r])}for(r in t)"$"===r.charAt(0)&&"$"!==r.charAt(1)&&t.hasOwnProperty(r)&&(n[r]=t[r])}),e.defn(g,"$clone",function(){var e=this,t=o;return t=e.$class().$allocate(),t.$copy_instance_variables(e),t.$copy_singleton_methods(e),t.$initialize_clone(e),t}),e.defn(g,"$initialize_clone",function(e){var t=this;return t.$initialize_copy(e)}),e.defn(g,"$define_singleton_method",p=function(e,t){var r,n,s=this,i=p.$$p,a=i||o;return p.$$p=null,(r=(n=s.$singleton_class()).$define_method,r.$$p=a.$to_proc(),r).call(n,e,t)}),e.defn(g,"$dup",function(){var e=this,t=o;return t=e.$class().$allocate(),t.$copy_instance_variables(e),t.$initialize_dup(e),t}),e.defn(g,"$initialize_dup",function(e){var t=this;return t.$initialize_copy(e)}),e.defn(g,"$enum_for",h=function(t){var r,n,s=this,i=h.$$p,a=i||o,u=o,l=arguments.length-1;l<0&&(l=0);var d=new Array(l);for(u=0;u=0;i--){var a=n[i];a.$$is_module||e.$raise(y.get("TypeError"),"wrong argument type "+a.$class()+" (expected Module)"), -a.$append_features(s),a.$extended(e)}return e}),e.defn(g,"$format",function(e){function t(){H&V&&h.$raise(y.get("ArgumentError"),"flag after width"),H&K&&h.$raise(y.get("ArgumentError"),"flag after precision")}function r(){H&V&&h.$raise(y.get("ArgumentError"),"width given twice"),H&K&&h.$raise(y.get("ArgumentError"),"width after precision")}function n(e){return e>=v.length&&h.$raise(y.get("ArgumentError"),"too few arguments"),v[e]}function s(){switch(I){case-1:h.$raise(y.get("ArgumentError"),"unnumbered("+B+") mixed with numbered");case-2:h.$raise(y.get("ArgumentError"),"unnumbered("+B+") mixed with named")}return I=B++,n(I-1)}function i(e){return I>0&&h.$raise(y.get("ArgumentError"),"numbered("+e+") after unnumbered("+I+")"),I===-2&&h.$raise(y.get("ArgumentError"),"numbered("+e+") after named"),e<1&&h.$raise(y.get("ArgumentError"),"invalid index - "+e+"$"),I=-1,n(e-1)}function u(){return void 0===O?s():O}function l(t){for(var r,n="";;g++){if(g===R&&h.$raise(y.get("ArgumentError"),"malformed format string - %*[0-9]"),e.charCodeAt(g)<48||e.charCodeAt(g)>57)return g--,r=parseInt(n,10)||0,r>2147483647&&h.$raise(y.get("ArgumentError"),""+t+" too big"),r;n+=e.charAt(g)}}function d(t){var r,n=l(t);return"$"===e.charAt(g+1)?(g++,r=i(n)):r=s(),r.$to_int()}var c,p,h=this,f=o,m=o;null==a.DEBUG&&(a.DEBUG=o);var b=arguments.length-1;b<0&&(b=0);var v=new Array(b);for(m=0;m":"}",j="",g++;;g++){if(g===R&&h.$raise(y.get("ArgumentError"),"malformed name - unmatched parenthesis"),e.charAt(g)===T){if(I>0&&h.$raise(y.get("ArgumentError"),"named "+j+" after unnumbered("+I+")"),I===-1&&h.$raise(y.get("ArgumentError"),"named "+j+" after numbered"),I=-2,void 0!==v[0]&&v[0].$$is_hash||h.$raise(y.get("ArgumentError"),"one hash required"),O=v[0].$fetch(j),">"===T)continue e;if(w=O.toString(),P!==-1&&(w=w.slice(0,P)),H&q)for(;w.length=0){for(w=$.toString();w.length=0){for(w=$.toString(A);w.length>>0).toString(A).replace(k,D);w.length=0||isNaN($)){if($===1/0)w="Inf";else switch(e.charAt(g)){case"f":w=$.toFixed(P===-1?6:P);break;case"e":case"E":w=$.toExponential(P===-1?6:P);break;case"g":case"G":w=$.toExponential(),x=parseInt(w.split("e")[1],10),x<-4||x>=(P===-1?6:P)||(w=$.toPrecision(P===-1?H&L?6:void 0:P))}if(H&q)for((H&U||H&W)&&(w=(H&U?"+":" ")+w);w.length=(P===-1?6:P)||(w=(-$).toPrecision(P===-1?H&L?6:void 0:P))}if(H&q)for(w="-"+w;w.length=0&&B36)&&i.$raise(y.get("ArgumentError"),"invalid radix "+t)),n=e.toLowerCase(),n=n.replace(/(\d)_(?=\d)/g,"$1"),n=n.replace(/^(\s*[+-]?)(0[bodx]?)/,function(r,n,o){switch(o){case"0b":if(0===t||2===t)return t=2,n;case"0":case"0o":if(0===t||8===t)return t=8,n;case"0d":if(0===t||10===t)return t=10,n;case"0x":if(0===t||16===t)return t=16,n}i.$raise(y.get("ArgumentError"),'invalid value for Integer(): "'+e+'"')}),t=0===t?10:t,s="0-"+(t<=10?t-1:"9a-"+String.fromCharCode(97+(t-11))),new RegExp("^\\s*[+-]?["+s+"]+\\s*$").test(n)||i.$raise(y.get("ArgumentError"),'invalid value for Integer(): "'+e+'"'),r=parseInt(n,t),isNaN(r)&&i.$raise(y.get("ArgumentError"),'invalid value for Integer(): "'+e+'"'),r):(void 0!==t&&i.$raise(y.get("ArgumentError"),"base specified for non string value"),e===o&&i.$raise(y.get("TypeError"),"can't convert nil into Integer"),e.$$is_number?((e===1/0||e===-(1/0)||isNaN(e))&&i.$raise(y.get("FloatDomainError"),e),Math.floor(e)):e["$respond_to?"]("to_int")&&(r=e.$to_int(),r!==o)?r:y.get("Opal")["$coerce_to!"](e,y.get("Integer"),"to_i"))}),e.defn(g,"$Float",function(e){var t,r=this;return e===o&&r.$raise(y.get("TypeError"),"can't convert nil into Float"),e.$$is_string?(t=e.toString(),t=t.replace(/(\d)_(?=\d)/g,"$1"),/^\s*[-+]?0[xX][0-9a-fA-F]+\s*$/.test(t)?r.$Integer(t):(/^\s*[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?\s*$/.test(t)||r.$raise(y.get("ArgumentError"),'invalid value for Float(): "'+e+'"'),parseFloat(t))):y.get("Opal")["$coerce_to!"](e,y.get("Float"),"to_f")}),e.defn(g,"$Hash",function(e){var t,r;return(t=(r=e["$nil?"]())!==!1&&r!==o?r:e["$=="]([]))===o||t.$$is_boolean&&1!=t?(t=y.get("Hash")["$==="](e))===o||t.$$is_boolean&&1!=t?y.get("Opal")["$coerce_to!"](e,y.get("Hash"),"to_hash"):e:u([],{})}),e.defn(g,"$is_a?",function(t){var r=this;return t.$$is_class||t.$$is_module||r.$raise(y.get("TypeError"),"class or module required"),e.is_a(r,t)}),e.alias(g,"kind_of?","is_a?"),e.defn(g,"$lambda",f=function(){var e=f.$$p,t=e||o;return f.$$p=null,t.$$is_lambda=!0,t}),e.defn(g,"$load",function(t){return t=y.get("Opal")["$coerce_to!"](t,y.get("String"),"to_str"),e.load(t)}),e.defn(g,"$loop",m=function(){var e=this,t=m.$$p,r=t||o;for(m.$$p=null;;)if(r()===s)return s.$v;return e}),e.defn(g,"$nil?",function(){return!1}),e.alias(g,"object_id","__id__"),e.defn(g,"$printf",function(){var r,n=this,s=o,i=arguments.length-0;i<0&&(i=0);var a=new Array(i);for(s=0;s"}),e.defn(g,"$catch",_=function(t){var r,n=this,i=_.$$p,a=i||o,u=o;_.$$p=null;try{return r=e.yieldX(a,[]),r===s?r:r}catch(l){if(!e.rescue(l,[y.get("UncaughtThrowError")]))throw l;u=l;try{return u.$sym()["$=="](t)?u.$arg():n.$raise()}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}}),e.defn(g,"$throw",function(){var e=this,t=o,r=arguments.length-0;r<0&&(r=0);var n=new Array(r);for(t=0;tt:e["$>"](t)}e.dynamic_require_severity="warning";var r=(e.top,e),n=e.nil,o=(e.breaker,e.slice,e.klass),s=e.module;return e.add_stubs(["$new","$clone","$to_s","$empty?","$class","$attr_reader","$[]","$>","$length","$inspect"]),function(t,r){function s(){}var i=s=o(t,r,"Exception",s),a=i.$$proto;i.$$scope;return a.message=n,e.defs(i,"$new",function(){var e=this,t=n,r=arguments.length-0;r<0&&(r=0);var o=new Array(r);for(t=0;t0?o[0]:n,i=new e.$$alloc(s);return Error.captureStackTrace&&Error.captureStackTrace(i),i.name=e.$$name,i.$initialize.apply(i,o),i}),e.defs(i,"$exception",function(){var t,r=this,o=n,s=arguments.length-0;s<0&&(s=0);var i=new Array(s);for(o=0;o0?o[0]:n}),e.defn(i,"$backtrace",function(){var e=this,t=e.stack;return"string"==typeof t?t.split("\n").slice(0,15):t?t.slice(0,15):[]}),e.defn(i,"$exception",function(e){var t=this;if(null==e&&(e=n),e===n||t===e)return t;var r=t.$clone();return r.message=e,r}),e.defn(i,"$message",function(){var e=this;return e.$to_s()}),e.defn(i,"$inspect",function(){var e,t=this,r=n;return r=t.$to_s(),(e=r["$empty?"]())===n||e.$$is_boolean&&1!=e?"#<"+t.$class().$to_s()+": "+t.$to_s()+">":t.$class().$to_s()}),e.defn(i,"$to_s",function(){var e,t,r=this;return t=r.message,(e=t!==!1&&t!==n?r.message.$to_s():t)!==!1&&e!==n?e:r.$class().$to_s()}),n&&"to_s"}(r.base,Error),function(e,t){function r(){}var s=r=o(e,t,"ScriptError",r);s.$$proto,s.$$scope;return n}(r.base,r.get("Exception")),function(e,t){function r(){}var s=r=o(e,t,"SyntaxError",r);s.$$proto,s.$$scope;return n}(r.base,r.get("ScriptError")),function(e,t){function r(){}var s=r=o(e,t,"LoadError",r);s.$$proto,s.$$scope;return n}(r.base,r.get("ScriptError")),function(e,t){function r(){}var s=r=o(e,t,"NotImplementedError",r);s.$$proto,s.$$scope;return n}(r.base,r.get("ScriptError")),function(e,t){function r(){}var s=r=o(e,t,"SystemExit",r);s.$$proto,s.$$scope;return n}(r.base,r.get("Exception")),function(e,t){function r(){}var s=r=o(e,t,"NoMemoryError",r);s.$$proto,s.$$scope;return n}(r.base,r.get("Exception")),function(e,t){function r(){}var s=r=o(e,t,"SignalException",r);s.$$proto,s.$$scope;return n}(r.base,r.get("Exception")),function(e,t){function r(){}var s=r=o(e,t,"Interrupt",r);s.$$proto,s.$$scope;return n}(r.base,r.get("Exception")),function(e,t){function r(){}var s=r=o(e,t,"SecurityError",r);s.$$proto,s.$$scope;return n}(r.base,r.get("Exception")),function(e,t){function r(){}var s=r=o(e,t,"StandardError",r);s.$$proto,s.$$scope;return n}(r.base,r.get("Exception")),function(e,t){function r(){}var s=r=o(e,t,"ZeroDivisionError",r);s.$$proto,s.$$scope;return n}(r.base,r.get("StandardError")),function(e,t){function r(){}var s=r=o(e,t,"NameError",r);s.$$proto,s.$$scope;return n}(r.base,r.get("StandardError")),function(e,t){function r(){}var s=r=o(e,t,"NoMethodError",r);s.$$proto,s.$$scope;return n}(r.base,r.get("NameError")),function(e,t){function r(){}var s=r=o(e,t,"RuntimeError",r);s.$$proto,s.$$scope;return n}(r.base,r.get("StandardError")),function(e,t){function r(){}var s=r=o(e,t,"LocalJumpError",r);s.$$proto,s.$$scope;return n}(r.base,r.get("StandardError")),function(e,t){function r(){}var s=r=o(e,t,"TypeError",r);s.$$proto,s.$$scope;return n}(r.base,r.get("StandardError")),function(e,t){function r(){}var s=r=o(e,t,"ArgumentError",r);s.$$proto,s.$$scope;return n}(r.base,r.get("StandardError")),function(e,t){function r(){}var s=r=o(e,t,"IndexError",r);s.$$proto,s.$$scope;return n}(r.base,r.get("StandardError")),function(e,t){function r(){}var s=r=o(e,t,"StopIteration",r);s.$$proto,s.$$scope;return n}(r.base,r.get("IndexError")),function(e,t){function r(){}var s=r=o(e,t,"KeyError",r);s.$$proto,s.$$scope;return n}(r.base,r.get("IndexError")),function(e,t){function r(){}var s=r=o(e,t,"RangeError",r);s.$$proto,s.$$scope;return n}(r.base,r.get("StandardError")),function(e,t){function r(){}var s=r=o(e,t,"FloatDomainError",r);s.$$proto,s.$$scope;return n}(r.base,r.get("RangeError")),function(e,t){function r(){}var s=r=o(e,t,"IOError",r);s.$$proto,s.$$scope;return n}(r.base,r.get("StandardError")),function(e,t){function r(){}var s=r=o(e,t,"SystemCallError",r);s.$$proto,s.$$scope;return n}(r.base,r.get("StandardError")),function(t){var r,i=r=s(t,"Errno"),a=(i.$$proto,i.$$scope);!function(t,r){function s(){}var i,a=s=o(t,r,"EINVAL",s);a.$$proto,a.$$scope;return e.defs(a,"$new",i=function(){var t=this;i.$$p;return i.$$p=null,e.find_super_dispatcher(t,"new",i,null,s).apply(t,["Invalid argument"])}),n&&"new"}(a.base,a.get("SystemCallError"))}(r.base),function(r,s){function i(){}var a,u=i=o(r,s,"UncaughtThrowError",i),l=u.$$proto;u.$$scope;return l.sym=n,u.$attr_reader("sym","arg"),e.defn(u,"$initialize",a=function(r){var o,s=this;a.$$p;return a.$$p=null,s.sym=r["$[]"](0),(o=t(r.$length(),1))===n||o.$$is_boolean&&1!=o||(s.arg=r["$[]"](1)),e.find_super_dispatcher(s,"initialize",a,null).apply(s,["uncaught throw "+s.sym.$inspect()])}),n&&"initialize"}(r.base,r.get("ArgumentError")),function(t,r){function s(){}var i,a=s=o(t,r,"NameError",s);a.$$proto,a.$$scope;return a.$attr_reader("name"),e.defn(a,"$initialize",i=function(t,r){var o=this;i.$$p;return null==r&&(r=n),i.$$p=null,e.find_super_dispatcher(o,"initialize",i,null).apply(o,[t]),o.name=r}),n&&"initialize"}(r.base,null),function(t,r){function s(){}var i,a=s=o(t,r,"NoMethodError",s);a.$$proto,a.$$scope;return a.$attr_reader("args"),e.defn(a,"$initialize",i=function(t,r,n){var o=this;i.$$p;return null==n&&(n=[]),i.$$p=null,e.find_super_dispatcher(o,"initialize",i,null).apply(o,[t,r]),o.args=n}),n&&"initialize"}(r.base,null)},Opal.modules["corelib/constants"]=function(e){e.dynamic_require_severity="warning";var t=(e.top,e);e.nil,e.breaker,e.slice;return e.cdecl(t,"RUBY_PLATFORM","opal"),e.cdecl(t,"RUBY_ENGINE","opal"),e.cdecl(t,"RUBY_VERSION","2.2.3"),e.cdecl(t,"RUBY_ENGINE_VERSION","0.9.2"),e.cdecl(t,"RUBY_RELEASE_DATE","2016-01-10"),e.cdecl(t,"RUBY_PATCHLEVEL",0),e.cdecl(t,"RUBY_REVISION",0),e.cdecl(t,"RUBY_COPYRIGHT","opal - Copyright (C) 2013-2015 Adam Beynon"),e.cdecl(t,"RUBY_DESCRIPTION","opal "+t.get("RUBY_ENGINE_VERSION")+" ("+t.get("RUBY_RELEASE_DATE")+" revision "+t.get("RUBY_REVISION")+")")},Opal.modules["opal/base"]=function(e){e.dynamic_require_severity="warning";var t=e.top;e.nil,e.breaker,e.slice;return e.add_stubs(["$require"]),t.$require("corelib/runtime"),t.$require("corelib/helpers"),t.$require("corelib/module"),t.$require("corelib/class"),t.$require("corelib/basic_object"),t.$require("corelib/kernel"),t.$require("corelib/error"),t.$require("corelib/constants")},Opal.modules["corelib/nil"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e>t:e["$>"](t)}e.dynamic_require_severity="warning";var r=(e.top,e),n=e.nil,o=(e.breaker,e.slice,e.klass);return e.add_stubs(["$raise","$class","$new","$>","$length","$Rational"]),function(r,s){function i(){}var a=i=o(r,s,"NilClass",i),u=a.$$proto,l=a.$$scope;return u.$$meta=a,e.defn(a,"$!",function(){return!0}),e.defn(a,"$&",function(e){return!1}),e.defn(a,"$|",function(e){return e!==!1&&e!==n}),e.defn(a,"$^",function(e){return e!==!1&&e!==n}),e.defn(a,"$==",function(e){return e===n}),e.defn(a,"$dup",function(){var e=this;return e.$raise(l.get("TypeError"),"can't dup "+e.$class())}),e.defn(a,"$clone",function(){var e=this;return e.$raise(l.get("TypeError"),"can't clone "+e.$class())}),e.defn(a,"$inspect",function(){return"nil"}),e.defn(a,"$nil?",function(){return!0}),e.defn(a,"$singleton_class",function(){return l.get("NilClass")}),e.defn(a,"$to_a",function(){return[]}),e.defn(a,"$to_h",function(){return e.hash()}),e.defn(a,"$to_i",function(){return 0}),e.alias(a,"to_f","to_i"),e.defn(a,"$to_s",function(){return""}),e.defn(a,"$to_c",function(){return l.get("Complex").$new(0,0)}),e.defn(a,"$rationalize",function(){var e,r=this,o=n,s=arguments.length-0;s<0&&(s=0);var i=new Array(s);for(o=0;ot:e["$>"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e","$<","$equal?","$<=>","$normalize","$raise","$class"]),function(n){var i,a=i=s(n,"Comparable"),u=(a.$$proto,a.$$scope);e.defs(a,"$normalize",function(e){var n;return(n=u.get("Integer")["$==="](e))===o||n.$$is_boolean&&1!=n?(n=t(e,0))===o||n.$$is_boolean&&1!=n?(n=r(e,0))===o||n.$$is_boolean&&1!=n?0:-1:1:e}),e.defn(a,"$==",function(t){var r,n=this,s=o;try{return!((r=n["$equal?"](t))===o||r.$$is_boolean&&1!=r)||n["$<=>"]!=e.Kernel["$<=>"]&&(n.$$comparable?(delete n.$$comparable,!1):!((r=s=n["$<=>"](t))===o||r.$$is_boolean&&1!=r)&&0==u.get("Comparable").$normalize(s))}catch(i){if(!e.rescue(i,[u.get("StandardError")]))throw i;try{return!1}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}}),e.defn(a,"$>",function(e){var t,r=this,n=o;return((t=n=r["$<=>"](e))===o||t.$$is_boolean&&1!=t)&&r.$raise(u.get("ArgumentError"),"comparison of "+r.$class()+" with "+e.$class()+" failed"),u.get("Comparable").$normalize(n)>0}),e.defn(a,"$>=",function(e){var t,r=this,n=o;return((t=n=r["$<=>"](e))===o||t.$$is_boolean&&1!=t)&&r.$raise(u.get("ArgumentError"),"comparison of "+r.$class()+" with "+e.$class()+" failed"),u.get("Comparable").$normalize(n)>=0}),e.defn(a,"$<",function(e){var t,r=this,n=o;return((t=n=r["$<=>"](e))===o||t.$$is_boolean&&1!=t)&&r.$raise(u.get("ArgumentError"),"comparison of "+r.$class()+" with "+e.$class()+" failed"),u.get("Comparable").$normalize(n)<0}),e.defn(a,"$<=",function(e){var t,r=this,n=o;return((t=n=r["$<=>"](e))===o||t.$$is_boolean&&1!=t)&&r.$raise(u.get("ArgumentError"),"comparison of "+r.$class()+" with "+e.$class()+" failed"),u.get("Comparable").$normalize(n)<=0}),e.defn(a,"$between?",function(e,n){var o=this;return!r(o,e)&&!t(o,n)})}(n.base)},Opal.modules["corelib/regexp"]=function(e){e.dynamic_require_severity="warning";var t=(e.top,e),r=e.nil,n=(e.breaker,e.slice,e.klass),o=e.gvars;return e.add_stubs(["$nil?","$[]","$raise","$escape","$options","$to_str","$new","$join","$coerce_to!","$!","$match","$coerce_to?","$begin","$coerce_to","$call","$=~","$attr_reader","$===","$inspect","$to_a"]),function(e,t){function o(){}var s=o=n(e,t,"RegexpError",o);s.$$proto,s.$$scope;return r}(t.base,t.get("StandardError")),function(t,s){function i(){}var a,u=i=n(t,s,"Regexp",i),l=u.$$proto,d=u.$$scope;return e.cdecl(d,"IGNORECASE",1),e.cdecl(d,"MULTILINE",4),l.$$is_regexp=!0,function(t){var n,s=t.$$scope;t.$$proto;return e.defn(t,"$allocate",n=function(){var t=this,o=n.$$p,s=r,i=r,a=r;for(n.$$p=null,i=[],a=0;a1&&i&&e.$raise(s.get("TypeError"),"no implicit conversion of Array into String"),i&&(o=o[0]),l=void 0,a=[];for(var c=0;c=t)return o["~"]=d.get("MatchData").$new(p,c),i===r?o["~"]:i.$call(o["~"]);p.lastIndex=c.index+1}}),e.defn(u,"$~",function(){var e=this;return null==o._&&(o._=r),e["$=~"](o._)}),e.defn(u,"$source",function(){var e=this;return e.source}),e.defn(u,"$options",function(){var e=this;e.uninitialized&&e.$raise(d.get("TypeError"),"uninitialized Regexp");var t=0;return e.multiline&&(t|=d.get("MULTILINE")),e.ignoreCase&&(t|=d.get("IGNORECASE")),t}),e.defn(u,"$casefold?",function(){var e=this;return e.ignoreCase}),e.alias(u,"to_s","source")}(t.base,RegExp),function(t,s){function i(){}var a=i=n(t,s,"MatchData",i),u=a.$$proto,l=a.$$scope;return u.matches=r,a.$attr_reader("post_match","pre_match","regexp","string"),e.defn(a,"$initialize",function(e,t){var n=this;o["~"]=n,n.regexp=e,n.begin=t.index,n.string=t.input,n.pre_match=t.input.slice(0,t.index),n.post_match=t.input.slice(t.index+t[0].length),n.matches=[];for(var s=0,i=t.length;s"}),e.defn(a,"$length",function(){var e=this;return e.matches.length}),e.alias(a,"size","length"),e.defn(a,"$to_a",function(){var e=this;return e.matches}),e.defn(a,"$to_s",function(){var e=this;return e.matches[0]}),e.defn(a,"$values_at",function(){var e=this,t=r,n=arguments.length-0;n<0&&(n=0);var o=new Array(n);for(t=0;t","$==","$=~","$new","$empty?","$ljust","$ceil","$/","$+","$rjust","$floor","$to_a","$each_char","$to_proc","$coerce_to!","$copy_singleton_methods","$initialize_clone","$initialize_dup","$enum_for","$size","$chomp","$[]","$to_i","$class","$each_line","$match","$captures","$proc","$shift","$__send__","$succ","$escape"]),n.$require("corelib/comparable"),n.$require("corelib/regexp"),function(n,o){function d(){}function c(e){function t(e){var t,r,n,o,s,i,a="",u=e.length;for(t=0;t0&&ts&&$.$raise(x.get("ArgumentError"),'invalid range "'+o+"-"+s+'" in string transliteration'),i=o+1;i1,s=t(i?s.slice(1):s),i?d=r(d,s):l=r(l,s);if(l.length>0&&d.length>0){for(u="",n=0,o=l.length;n0?"["+x.get("Regexp").$escape(l)+"]":d.length>0?"[^"+x.get("Regexp").$escape(d)+"]":null}var p,h,f,m,b,v,_,g,y,$=d=u(n,o,"String",d),w=$.$$proto,x=$.$$scope;w.length=s,$.$include(x.get("Comparable")),w.$$is_string=!0,e.defn($,"$__id__",function(){var e=this;return e.toString()}),e.alias($,"object_id","__id__"),e.defs($,"$try_convert",function(e){return x.get("Opal")["$coerce_to?"](e,x.get("String"),"to_str")}),e.defs($,"$new",function(e){return null==e&&(e=""),e=x.get("Opal").$coerce_to(e,x.get("String"),"to_str"),new String(e)}),e.defn($,"$initialize",function(e){var t=this;return void 0===e?t:t.$raise(x.get("NotImplementedError"),"Mutable strings are not supported in Opal.")}),e.defn($,"$%",function(t){var r,n=this;return(r=x.get("Array")["$==="](t))===s||r.$$is_boolean&&1!=r?n.$format(n,t):(r=n).$format.apply(r,[n].concat(e.to_a(t)))}),e.defn($,"$*",function(e){var t=this;if(e=x.get("Opal").$coerce_to(e,x.get("Integer"),"to_int"),e<0&&t.$raise(x.get("ArgumentError"),"negative argument"),0===e)return"";var r="",n=t.toString();for(n.length*e>=1<<28&&t.$raise(x.get("RangeError"),"multiply count must not overflow maximum string size");1===(1&e)&&(r+=n),e>>>=1,0!==e;)n+=n;return r}),e.defn($,"$+",function(e){var t=this;return e=x.get("Opal").$coerce_to(e,x.get("String"),"to_str"),t+e.$to_s()}),e.defn($,"$<=>",function(e){var t,r=this;if((t=e["$respond_to?"]("to_str"))===s||t.$$is_boolean&&1!=t){var n=e["$<=>"](r);return n===s?s:n>0?-1:n<0?1:0}return e=e.$to_str().$to_s(),r>e?1:ro?s:(e<0&&(e+=o),t<0&&(t+=o),r||(t+=1),t-=e,t<0&&(t=0),n.substr(e,t));if(e.$$is_string)return null!=t&&n.$raise(x.get("TypeError")),n.indexOf(e)!==-1?e:s;if(e.$$is_regexp){var i=n.match(e);return null===i?(l["~"]=s,s):(l["~"]=x.get("MatchData").$new(e,i),null==t?i[0]:(t=x.get("Opal").$coerce_to(t,x.get("Integer"),"to_int"),t<0&&-t=0&&t=o||e<0?s:n.substr(e,1):(t=x.get("Opal").$coerce_to(t,x.get("Integer"),"to_int"),t<0?s:e>o||e<0?s:n.substr(e,t))}),e.alias($,"byteslice","[]"),e.defn($,"$capitalize",function(){var e=this;return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}),e.defn($,"$casecmp",function(e){var t=this;e=x.get("Opal").$coerce_to(e,x.get("String"),"to_str").$to_s();var r=/^[\x00-\x7F]*$/;return r.test(t)&&r.test(e)&&(t=t.toLowerCase(),e=e.toLowerCase()),t["$<=>"](e)}),e.defn($,"$center",function(e,n){var o,i=this;if(null==n&&(n=" "),e=x.get("Opal").$coerce_to(e,x.get("Integer"),"to_int"),n=x.get("Opal").$coerce_to(n,x.get("String"),"to_str").$to_s(),(o=n["$empty?"]())===s||o.$$is_boolean&&1!=o||i.$raise(x.get("ArgumentError"),"zero width padding"),(o=e<=i.length)!==s&&(!o.$$is_boolean||1==o))return i;var a=i.$ljust(t(r(e,i.length),2).$ceil(),n),u=i.$rjust(t(r(e,i.length),2).$floor(),n);return u+a.slice(i.length)}),e.defn($,"$chars",p=function(){var e,t,r=this,n=p.$$p,o=n||s;return p.$$p=null,o===!1||o===s?r.$each_char().$to_a():(e=(t=r).$each_char,e.$$p=o.$to_proc(),e).call(t)}),e.defn($,"$chomp",function(e){var t,r=this;if(null==l["/"]&&(l["/"]=s),null==e&&(e=l["/"]),(t=e===s||0===r.length)!==s&&(!t.$$is_boolean||1==t))return r;if(e=x.get("Opal")["$coerce_to!"](e,x.get("String"),"to_str").$to_s(),"\n"===e)return r.replace(/\r?\n?$/,"");if(""===e)return r.replace(/(\r?\n)+$/,"");if(r.length>e.length){var n=r.substr(r.length-e.length,e.length);if(n===e)return r.substr(0,r.length-e.length)}return r}),e.defn($,"$chop",function(){var e=this,t=e.length;return t<=1?"":"\n"===e.charAt(t-1)&&"\r"===e.charAt(t-2)?e.substr(0,t-2):e.substr(0,t-1)}),e.defn($,"$chr",function(){var e=this;return e.charAt(0)}),e.defn($,"$clone",function(){var e=this,t=s;return t=e.slice(),t.$copy_singleton_methods(e),t.$initialize_clone(e),t}),e.defn($,"$dup",function(){var e=this,t=s;return t=e.slice(),t.$initialize_dup(e),t}),e.defn($,"$count",function(){var e=this,t=s,r=arguments.length-0;r<0&&(r=0);var n=new Array(r);for(t=0;t=a.length&&e.substr(e.length-a.length,a.length)==a)return!0}return!1}),e.alias($,"eql?","=="),e.alias($,"equal?","==="),e.defn($,"$gsub",m=function(e,t){var r=this,n=m.$$p,o=n||s;if(m.$$p=null,void 0===t&&o===s)return r.$enum_for("gsub",e);var i,a,u="",d=s,c=0;for(e.$$is_regexp?e=new RegExp(e.source,"gm"+(e.ignoreCase?"i":"")):(e=x.get("Opal").$coerce_to(e,x.get("String"),"to_str"),e=new RegExp(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gm"));;){if(i=e.exec(r),null===i){l["~"]=s,u+=r.slice(c);break}d=x.get("MatchData").$new(e,i),void 0===t?a=o(i[0]):t.$$is_hash?a=t["$[]"](i[0]).$to_s():(t.$$is_string||(t=x.get("Opal").$coerce_to(t,x.get("String"),"to_str")),a=t.replace(/([\\]+)([0-9+&`'])/g,function(e,t,n){if(t.length%2===0)return e;switch(n){case"+":for(var o=i.length-1;o>0;o--)if(void 0!==i[o])return t.slice(1)+i[o];return"";case"&":return t.slice(1)+i[0];case"`":return t.slice(1)+r.slice(0,i.index);case"'":return t.slice(1)+r.slice(i.index+i[0].length);default:return t.slice(1)+(i[n]||"")}}).replace(/\\\\/g,"\\")),e.lastIndex===i.index?(u+=a+r.slice(c,i.index+1),e.lastIndex+=1):u+=r.slice(c,i.index)+a,c=e.lastIndex}return l["~"]=d,u}),e.defn($,"$hash",function(){var e=this;return e.toString()}),e.defn($,"$hex",function(){var e=this;return e.$to_i(16)}),e.defn($,"$include?",function(e){var t,r=this;return e.$$is_string?r.indexOf(e)!==-1:(((t=e["$respond_to?"]("to_str"))===s||t.$$is_boolean&&1!=t)&&r.$raise(x.get("TypeError"),"no implicit conversion of "+e.$class()+" into String"),r.indexOf(e.$to_str())!==-1)}),e.defn($,"$index",function(e,t){var r,n,o,i=this;if(void 0===t)t=0;else if(t=x.get("Opal").$coerce_to(t,x.get("Integer"),"to_int"),t<0&&(t+=i.length,t<0))return s;if(e.$$is_regexp)for(o=new RegExp(e.source,"gm"+(e.ignoreCase?"i":""));;){if(n=o.exec(i),null===n){l["~"]=s,r=-1;break}if(n.index>=t){l["~"]=x.get("MatchData").$new(o,n),r=n.index;break}o.lastIndex=n.index+1}else e=x.get("Opal").$coerce_to(e,x.get("String"),"to_str"),r=0===e.length&&t>i.length?-1:i.indexOf(e,t);return r===-1?s:r}),e.defn($,"$inspect",function(){var e=this,t=/[\\\"\x00-\x1f\x7f-\x9f\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,r={"":"\\a","":"\\e","\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","\x0B":"\\v",'"':'\\"',"\\":"\\\\"},n=e.replace(t,function(e){return r[e]||"\\u"+("0000"+e.charCodeAt(0).toString(16).toUpperCase()).slice(-4)});return'"'+n.replace(/\#[\$\@\{]/g,"\\$&")+'"'}),e.defn($,"$intern",function(){var e=this;return e}),e.defn($,"$lines",b=function(e){var t,r,n=this,o=b.$$p,i=o||s,a=s;return null==l["/"]&&(l["/"]=s),null==e&&(e=l["/"]),b.$$p=null,a=(t=(r=n).$each_line,t.$$p=i.$to_proc(),t).call(r,e),i!==!1&&i!==s?n:a.$to_a()}),e.defn($,"$length",function(){var e=this;return e.length}),e.defn($,"$ljust",function(e,t){var r,n=this;if(null==t&&(t=" "),e=x.get("Opal").$coerce_to(e,x.get("Integer"),"to_int"),t=x.get("Opal").$coerce_to(t,x.get("String"),"to_str").$to_s(),(r=t["$empty?"]())===s||r.$$is_boolean&&1!=r||n.$raise(x.get("ArgumentError"),"zero width padding"),(r=e<=n.length)!==s&&(!r.$$is_boolean||1==r))return n;var o=-1,i="";for(e-=n.length;++o=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122)switch(r){case 57:s=!0,r=48;break;case 90:s=!0,r=65;break;case 122:s=!0,r=97;break;default:s=!1,r+=1}else o===-1?255===r?(s=!0,r=0):(s=!1,r+=1):s=!0;if(n=n.slice(0,t)+String.fromCharCode(r)+n.slice(t+1),s&&(0===t||t===o)){switch(r){case 65:break;case 97:break;default:r+=1}n=0===t?String.fromCharCode(r)+n:n.slice(0,t)+String.fromCharCode(r)+n.slice(t),s=!1}if(!s)break}return n}),e.defn($,"$oct",function(){var e,t=this,r=t,n=8;return/^\s*_/.test(r)?0:(r=r.replace(/^(\s*[+-]?)(0[bodx]?)(.+)$/i,function(e,t,r,o){switch(o.charAt(0)){case"+":case"-":return e;case"0":if("x"===o.charAt(1)&&"0x"===r)return e}switch(r){case"0b":n=2;break;case"0":case"0o":n=8;break;case"0d":n=10;break;case"0x":n=16}return t+o}),e=parseInt(r.replace(/_(?!_)/g,""),n),isNaN(e)?0:e)}),e.defn($,"$ord",function(){var e=this;return e.charCodeAt(0)}),e.defn($,"$partition",function(e){var t,r,n=this;return e.$$is_regexp?(r=e.exec(n),null===r?t=-1:(x.get("MatchData").$new(e,r),e=r[0],t=r.index)):(e=x.get("Opal").$coerce_to(e,x.get("String"),"to_str"),t=n.indexOf(e)),t===-1?[n,"",""]:[n.slice(0,t),n.slice(t,t+e.length),n.slice(t+e.length)]}),e.defn($,"$reverse",function(){var e=this;return e.split("").reverse().join("")}),e.defn($,"$rindex",function(e,t){var r,n,o,i,a=this;if(void 0===t)t=a.length;else if(t=x.get("Opal").$coerce_to(t,x.get("Integer"),"to_int"),t<0&&(t+=a.length,t<0))return s;if(e.$$is_regexp){for(n=null,o=new RegExp(e.source,"gm"+(e.ignoreCase?"i":""));;){if(i=o.exec(a),null===i||i.index>t)break;n=i,o.lastIndex=n.index+1}null===n?(l["~"]=s,r=-1):(x.get("MatchData").$new(o,n),r=n.index)}else e=x.get("Opal").$coerce_to(e,x.get("String"),"to_str"),r=a.lastIndexOf(e,t);return r===-1?s:r}),e.defn($,"$rjust",function(e,t){var r,n=this;if(null==t&&(t=" "),e=x.get("Opal").$coerce_to(e,x.get("Integer"),"to_int"),t=x.get("Opal").$coerce_to(t,x.get("String"),"to_str").$to_s(),(r=t["$empty?"]())===s||r.$$is_boolean&&1!=r||n.$raise(x.get("ArgumentError"),"zero width padding"),(r=e<=n.length)!==s&&(!r.$$is_boolean||1==r))return n;var o=Math.floor(e-n.length),i=Math.floor(o/t.length),a=Array(i+1).join(t),u=o-a.length;return a+t.slice(0,u)+n}),e.defn($,"$rpartition",function(e){var t,r,n,o,s=this;if(e.$$is_regexp){for(r=null,n=new RegExp(e.source,"gm"+(e.ignoreCase?"i":""));;){if(o=n.exec(s),null===o)break;r=o,n.lastIndex=r.index+1}null===r?t=-1:(x.get("MatchData").$new(n,r),e=r[0],t=r.index)}else e=x.get("Opal").$coerce_to(e,x.get("String"),"to_str"),t=s.lastIndexOf(e);return t===-1?["","",s]:[s.slice(0,t),s.slice(t,t+e.length),s.slice(t+e.length)]}),e.defn($,"$rstrip",function(){var e=this;return e.replace(/[\s\u0000]*$/,"")}),e.defn($,"$scan",_=function(e){var t=this,r=_.$$p,n=r||s;_.$$p=null;var o,i=[],a=s;for(e.$$is_regexp?e=new RegExp(e.source,"gm"+(e.ignoreCase?"i":"")):(e=x.get("Opal").$coerce_to(e,x.get("String"),"to_str"),e=new RegExp(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gm"));null!=(o=e.exec(t));)a=x.get("MatchData").$new(e,o),n===s?1==o.length?i.push(o[0]):i.push(a.$captures()):1==o.length?n(o[0]):n.call(t,a.$captures()),e.lastIndex===o.index&&(e.lastIndex+=1);return l["~"]=a,n!==s?t:i}),e.alias($,"size","length"),e.alias($,"slice","[]"),e.defn($,"$split",function(e,t){var r,n=this;if(null==l[";"]&&(l[";"]=s),0===n.length)return[];if(void 0===t)t=0;else if(t=x.get("Opal")["$coerce_to!"](t,x.get("Integer"),"to_int"),1===t)return[n];void 0!==e&&e!==s||(e=(r=l[";"])!==!1&&r!==s?r:" ");var o,i,a=[],u=n.toString(),d=0;if(e.$$is_regexp?e=new RegExp(e.source,"gm"+(e.ignoreCase?"i":"")):(e=x.get("Opal").$coerce_to(e,x.get("String"),"to_str").$to_s()," "===e?(e=/\s+/gm,u=u.replace(/^\s+/,"")):e=new RegExp(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gm")),a=u.split(e),1===a.length&&a[0]===u)return a;for(;(i=a.indexOf(void 0))!==-1;)a.splice(i,1);if(0===t){for(;""===a[a.length-1];)a.length-=1;return a}if(o=e.exec(u),t<0){if(null!==o&&""===o[0]&&e.source.indexOf("(?=")===-1)for(i=0;i0;o--)if(void 0!==i[o])return t.slice(1)+i[o];return"";case"&":return t.slice(1)+i[0];case"`":return t.slice(1)+r.slice(0,i.index);case"'":return t.slice(1)+r.slice(i.index+i[0].length);default:return t.slice(1)+(i[n]||"")}}).replace(/\\\\/g,"\\"),r.slice(0,i.index)+t+r.slice(i.index+i[0].length)))}),e.alias($,"succ","next"),e.defn($,"$sum",function(e){var t=this;null==e&&(e=16),e=x.get("Opal").$coerce_to(e,x.get("Integer"),"to_int");for(var r=0,n=t.length,o=0;o36)&&t.$raise(x.get("ArgumentError"),"invalid radix "+o),/^\s*_/.test(n)?0:(n=n.replace(/^(\s*[+-]?)(0[bodx]?)(.+)$/,function(e,t,r,n){switch(n.charAt(0)){case"+":case"-":return e;case"0":if("x"===n.charAt(1)&&"0x"===r&&(0===o||16===o))return e}switch(r){case"0b":if(0===o||2===o)return o=2,t+n;break;case"0":case"0o":if(0===o||8===o)return o=8,t+n;break;case"0d":if(0===o||10===o)return o=10,t+n;break;case"0x":if(0===o||16===o)return o=16,t+n}return e}),r=parseInt(n.replace(/_(?!_)/g,""),o),isNaN(r)?0:r)}),e.defn($,"$to_proc",function(){var t,r,n,o=this,i=s;return i=o,(t=(r=o).$proc,t.$$p=(n=function(t){var r,o,u,l=n.$$s||this,d=s;return t=a.call(arguments,0),r=n.$$p||s,n.$$p=null,(o=t["$empty?"]())===s||o.$$is_boolean&&1!=o||l.$raise(x.get("ArgumentError"),"no receiver given"),d=t.$shift(),(o=(u=d).$__send__,o.$$p=r.$to_proc(),o).apply(u,[i].concat(e.to_a(t)))},n.$$s=o,n),t).call(r)}),e.defn($,"$to_s",function(){var e=this;return e.toString()}),e.alias($,"to_str","to_s"),e.alias($,"to_sym","intern"),e.defn($,"$tr",function(e,t){var r=this;if(e=x.get("Opal").$coerce_to(e,x.get("String"),"to_str").$to_s(),t=x.get("Opal").$coerce_to(t,x.get("String"),"to_str").$to_s(),0==e.length||e===t)return r;var n,o,s,i,a,u,l,d={},c=e.split(""),p=c.length,h=t.split(""),f=h.length,m=!1,b=null;"^"===c[0]&&c.length>1&&(m=!0,c.shift(),b=h[f-1],p-=1);var v=[],_=null;for(o=!1,n=0;nu&&r.$raise(x.get("ArgumentError"),'invalid range "'+String.fromCharCode(a)+"-"+String.fromCharCode(u)+'" in string transliteration'),s=a+1;s0){var g=[],y=null;for(o=!1,n=0;nu&&r.$raise(x.get("ArgumentError"),'invalid range "'+String.fromCharCode(a)+"-"+String.fromCharCode(u)+'" in string transliteration'),s=a+1;s0){var w=f>0?h[f-1]:"";for(n=0;n<$;n++)h.push(w)}for(n=0;n1&&(m=!0,c.shift(),b=h[f-1],p-=1);var v=[],_=null;for(o=!1,n=0;nu&&r.$raise(x.get("ArgumentError"),'invalid range "'+String.fromCharCode(a)+"-"+String.fromCharCode(u)+'" in string transliteration'),s=a+1;s0){var g=[],y=null;for(o=!1,n=0;nu&&r.$raise(x.get("ArgumentError"),'invalid range "'+String.fromCharCode(a)+"-"+String.fromCharCode(u)+'" in string transliteration'),s=a+1;s0){var w=f>0?h[f-1]:"";for(n=0;n<$;n++)h.push(w)}for(n=0;nt:e["$>"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e","$*","$nil?","$coerce_to","$try_convert","$<","$+","$-","$ceil","$/","$size","$===","$<<","$[]","$[]=","$inspect","$__send__","$compare","$<=>","$proc","$call","$to_a","$lambda","$sort!","$map!","$first","$zip"]),function(a){var p,h,f,m,b,v,_,g,y,$,w,x,E,P,C,j,T,A,S,k,D,O,H,F,M,R,B,I,N,L,q,U,z,W,V,G,K=p=c(a,"Enumerable"),Y=(K.$$proto,K.$$scope);e.defn(K,"$all?",h=function(){var t,r=this,n=h.$$p,o=n||u;h.$$p=null;var s=!0;return o!==u?r.$each.$$p=function(){var r=e.yieldX(o,arguments);return r===l?(s=l.$v,l):(t=r)===u||t.$$is_boolean&&0==t?(s=!1,l):void 0}:r.$each.$$p=function(e){if(1==arguments.length&&((t=e)===u||t.$$is_boolean&&0==t))return s=!1,l},r.$each(),s}),e.defn(K,"$any?",f=function(){var t,r=this,n=f.$$p,o=n||u;f.$$p=null;var s=!1;return o!==u?r.$each.$$p=function(){var r=e.yieldX(o,arguments);return r===l?(s=l.$v,l):(t=r)===u||t.$$is_boolean&&1!=t?void 0:(s=!0,l)}:r.$each.$$p=function(e){if(1!=arguments.length||(t=e)!==u&&(!t.$$is_boolean||1==t))return s=!0,l},r.$each(),s}),e.defn(K,"$chunk",m=function(t){var r,n,o,s=this,i=m.$$p,a=i||u;return m.$$p=null,a!==!1&&a!==u||Y.get("Kernel").$raise(Y.get("ArgumentError"),"no block given"),(r=(n=e.get("Enumerator")).$new,r.$$p=(o=function(r){function n(){f.length>0&&r.$yield(h,f)}var s,i,d,c=o.$$s||this;null==r&&(r=u);var p,h=u,f=[];p=void 0==t||t===u?a:(s=(i=Y.get("Proc")).$new,s.$$p=(d=function(e){d.$$s||this;return null==e&&(e=u),a.$yield(e,t.$dup())},d.$$s=c,d),s).call(i),c.$each.$$p=function(t){var r=e.yield1(p,t);return r===l?l:void(r===u?(n(),f=[],h=u):(h===u||h===r?f.push(t):(n(),f=[t]),h=r))},c.$each(),n()},o.$$s=s,o),r).call(n)}),e.defn(K,"$collect",b=function(){var t,r,n,o=this,s=b.$$p,i=s||u;if(b.$$p=null,i===u)return(t=(r=o).$enum_for,t.$$p=(n=function(){var e=n.$$s||this;return e.$enumerator_size()},n.$$s=o,n),t).call(r,"collect");var a=[];return o.$each.$$p=function(){var t=e.yieldX(i,arguments);return t===l?(a=l.$v,l):void a.push(t)},o.$each(),a}),e.defn(K,"$collect_concat",v=function(){var t,r,n,o,s,i=this,a=v.$$p,d=a||u;return v.$$p=null,d===u?(t=(r=i).$enum_for,t.$$p=(n=function(){var e=n.$$s||this;return e.$enumerator_size()},n.$$s=i,n),t).call(r,"collect_concat"):(t=(o=i).$map,t.$$p=(s=function(t){var r;s.$$s||this;return null==t&&(t=u),r=e.yield1(d,t),r===l?r:r},s.$$s=i,s),t).call(o).$flatten(1)}),e.defn(K,"$count",_=function(t){var r,n=this,o=_.$$p,s=o||u;_.$$p=null;var i=0;return null!=t?s=function(){return Y.get("Opal").$destructure(arguments)["$=="](t)}:s===u&&(s=function(){return!0}),n.$each.$$p=function(){var t=e.yieldX(s,arguments);return t===l?(i=l.$v,l):void((r=t)===u||r.$$is_boolean&&1!=r||i++)},n.$each(),i}),e.defn(K,"$cycle",g=function(n){var o,s,i,a=this,d=g.$$p,c=d||u;if(null==n&&(n=u),g.$$p=null,c===u)return(o=(s=a).$enum_for,o.$$p=(i=function(){var e,o=i.$$s||this;return n["$=="](u)?(e=o["$respond_to?"]("size"))===u||e.$$is_boolean&&1!=e?u:Y.get("Float").$$scope.get("INFINITY"):(n=Y.get("Opal")["$coerce_to!"](n,Y.get("Integer"),"to_int"),(e=t(n,0))===u||e.$$is_boolean&&1!=e?0:r(o.$enumerator_size(),n))},i.$$s=a,i),o).call(s,"cycle",n);if((o=n["$nil?"]())===u||o.$$is_boolean&&1!=o){if(n=Y.get("Opal")["$coerce_to!"](n,Y.get("Integer"),"to_int"),(o=n<=0)!==u&&(!o.$$is_boolean||1==o))return u}else;var p,h,f,m,b=[];if(a.$each.$$p=function(){var t=Y.get("Opal").$destructure(arguments),r=e.yield1(c,t);return r===l?(p=l.$v,l):void b.push(t)},a.$each(),void 0!==p)return p;if(0===b.length)return u;if(n===u){for(;;)for(h=0,f=b.length;h1;){for(h=0,f=b.length;ht&&h.shift(),h.length==t){var n=e.yield1(p,h.slice(0,t));if(n==l)return f=l.$v,l}},d.$each(),f}),e.defn(K,"$each_entry",x=function(){var e=this;x.$$p;return x.$$p=null,e.$raise(Y.get("NotImplementedError"))}),e.defn(K,"$each_slice",E=function(t){var r,n,o,s=this,a=E.$$p,d=a||u;if(E.$$p=null,t=Y.get("Opal").$coerce_to(t,Y.get("Integer"),"to_int"),(r=t<=0)===u||r.$$is_boolean&&1!=r||s.$raise(Y.get("ArgumentError"),"invalid slice size"),d===u)return(r=(n=s).$enum_for,r.$$p=(o=function(){var e,r=o.$$s||this;return(e=r["$respond_to?"]("size"))===u||e.$$is_boolean&&1!=e?u:i(r.$size(),t).$ceil()},o.$$s=s,o),r).call(n,"each_slice",t);var c,p=[];return s.$each.$$p=function(){var r=Y.get("Opal").$destructure(arguments);if(p.push(r),p.length===t){if(e.yield1(d,p)===l)return c=l.$v,l;p=[]}},s.$each(),void 0!==c?c:p.length>0&&e.yield1(d,p)===l?l.$v:u}),e.defn(K,"$each_with_index",P=function(){var t,r,n,o=this,s=P.$$p,i=s||u,a=u,d=arguments.length-0;d<0&&(d=0);var c=new Array(d);for(a=0;a0&&(n=t)))}:e.$each.$$p=function(){var e=Y.get("Opal").$destructure(arguments);return void 0===n?void(n=e):void(Y.get("Opal").$compare(e,n)>0&&(n=e))},e.$each(),void 0===n?u:n}),e.defn(K,"$max_by",O=function(){var t,r,n,o=this,s=O.$$p,i=s||u;if(O.$$p=null,i===!1||i===u)return(t=(r=o).$enum_for,t.$$p=(n=function(){var e=n.$$s||this;return e.$enumerator_size()},n.$$s=o,n),t).call(r,"max_by");var a,d;return o.$each.$$p=function(){var t=Y.get("Opal").$destructure(arguments),r=e.yield1(i,t);return void 0===a?(a=t,void(d=r)):r===l?(a=l.$v,l):void(r["$<=>"](d)>0&&(a=t,d=r))},o.$each(),void 0===a?u:a}),e.alias(K,"member?","include?"),e.defn(K,"$min",H=function(){var e=this,t=H.$$p,r=t||u;H.$$p=null;var n;return r!==u?e.$each.$$p=function(){var t=Y.get("Opal").$destructure(arguments);if(void 0===n)return void(n=t);var o=r(t,n);return o===l?(n=l.$v,l):(o===u&&e.$raise(Y.get("ArgumentError"),"comparison failed"),void(o<0&&(n=t)))}:e.$each.$$p=function(){var e=Y.get("Opal").$destructure(arguments);return void 0===n?void(n=e):void(Y.get("Opal").$compare(e,n)<0&&(n=e))},e.$each(),void 0===n?u:n}),e.defn(K,"$min_by",F=function(){var t,r,n,o=this,s=F.$$p,i=s||u;if(F.$$p=null,i===!1||i===u)return(t=(r=o).$enum_for,t.$$p=(n=function(){var e=n.$$s||this;return e.$enumerator_size()},n.$$s=o,n),t).call(r,"min_by");var a,d;return o.$each.$$p=function(){var t=Y.get("Opal").$destructure(arguments),r=e.yield1(i,t);return void 0===a?(a=t,void(d=r)):r===l?(a=l.$v,l):void(r["$<=>"](d)<0&&(a=t,d=r))},o.$each(),void 0===a?u:a}),e.defn(K,"$minmax",M=function(){var e,t,r,n,o=this,s=M.$$p,i=s||u;M.$$p=null,(e=i)!==!1&&e!==u?e:i=(t=(r=o).$proc,t.$$p=(n=function(e,t){n.$$s||this;return null==e&&(e=u),null==t&&(t=u),e["$<=>"](t)},n.$$s=o,n),t).call(r);var a=u,l=u,d=!0;return o.$each.$$p=function(){var e=Y.get("Opal").$destructure(arguments);if(d)a=l=e,d=!1;else{var t=i.$call(a,e);t===u?o.$raise(Y.get("ArgumentError"),"comparison failed"):t>0&&(a=e);var r=i.$call(l,e);r===u?o.$raise(Y.get("ArgumentError"),"comparison failed"):r<0&&(l=e)}},o.$each(),[a,l]}),e.defn(K,"$minmax_by",R=function(){var e=this;R.$$p;return R.$$p=null,e.$raise(Y.get("NotImplementedError"))}),e.defn(K,"$none?",B=function(){var t,r=this,n=B.$$p,o=n||u;B.$$p=null;var s=!0;return o!==u?r.$each.$$p=function(){var r=e.yieldX(o,arguments);return r===l?(s=l.$v,l):(t=r)===u||t.$$is_boolean&&1!=t?void 0:(s=!1,l)}:r.$each.$$p=function(){var e=Y.get("Opal").$destructure(arguments);if((t=e)!==u&&(!t.$$is_boolean||1==t))return s=!1,l},r.$each(),s}),e.defn(K,"$one?",I=function(){var t,r=this,n=I.$$p,o=n||u;I.$$p=null;var s=!1;return o!==u?r.$each.$$p=function(){var r=e.yieldX(o,arguments);if(r===l)return s=l.$v,l;if((t=r)!==u&&(!t.$$is_boolean||1==t)){if(s===!0)return s=!1,l;s=!0}}:r.$each.$$p=function(){var e=Y.get("Opal").$destructure(arguments);if((t=e)!==u&&(!t.$$is_boolean||1==t)){if(s===!0)return s=!1,l;s=!0}},r.$each(),s}),e.defn(K,"$partition",N=function(){var t,r,n,o=this,s=N.$$p,i=s||u;if(N.$$p=null,i===u)return(t=(r=o).$enum_for,t.$$p=(n=function(){var e=n.$$s||this;return e.$enumerator_size()},n.$$s=o,n),t).call(r,"partition");var a,d=[],c=[];return o.$each.$$p=function(){var r=Y.get("Opal").$destructure(arguments),n=e.yield1(i,r);return n===l?(a=l.$v,l):void((t=n)===u||t.$$is_boolean&&1!=t?c.push(r):d.push(r))},o.$each(),[d,c]}),e.alias(K,"reduce","inject"),e.defn(K,"$reject",L=function(){var t,r,n,o=this,s=L.$$p,i=s||u;if(L.$$p=null,i===u)return(t=(r=o).$enum_for,t.$$p=(n=function(){var e=n.$$s||this;return e.$enumerator_size()},n.$$s=o,n),t).call(r,"reject");var a=[];return o.$each.$$p=function(){var r=Y.get("Opal").$destructure(arguments),n=e.yield1(i,r);return n===l?(a=l.$v,l):void(((t=n)===u||t.$$is_boolean&&0==t)&&a.push(r))},o.$each(),a}),e.defn(K,"$reverse_each",q=function(){var t,r,n,o=this,s=q.$$p,i=s||u;if(q.$$p=null,i===u)return(t=(r=o).$enum_for,t.$$p=(n=function(){var e=n.$$s||this;return e.$enumerator_size()},n.$$s=o,n),t).call(r,"reverse_each");var a=[];o.$each.$$p=function(){a.push(arguments)},o.$each();for(var l=a.length-1;l>=0;l--)e.yieldX(i,a[l]);return a}),e.alias(K,"select","find_all"),e.defn(K,"$slice_before",U=function(t){var r,n,o,s=this,i=U.$$p,a=i||u;return U.$$p=null,(r=void 0===t&&a===u||arguments.length>1)===u||r.$$is_boolean&&1!=r||s.$raise(Y.get("ArgumentError"),"wrong number of arguments ("+arguments.length+" for 1)"),(r=(n=Y.get("Enumerator")).$new,r.$$p=(o=function(r){var n,s=o.$$s||this;null==r&&(r=u);var i=[];a!==u?void 0===t?s.$each.$$p=function(){var t=Y.get("Opal").$destructure(arguments),o=e.yield1(a,t);(n=o)!==u&&(!n.$$is_boolean||1==n)&&i.length>0&&(r["$<<"](i),i=[]),i.push(t)}:s.$each.$$p=function(){var e=Y.get("Opal").$destructure(arguments),o=a(e,t.$dup());(n=o)!==u&&(!n.$$is_boolean||1==n)&&i.length>0&&(r["$<<"](i),i=[]),i.push(e)}:s.$each.$$p=function(){var e=Y.get("Opal").$destructure(arguments),o=t["$==="](e);(n=o)!==u&&(!n.$$is_boolean||1==n)&&i.length>0&&(r["$<<"](i),i=[]),i.push(e)},s.$each(),i.length>0&&r["$<<"](i)},o.$$s=s,o),r).call(n)}),e.defn(K,"$sort",z=function(){var e,t,r,n=this,o=z.$$p,s=o||u,i=u;return z.$$p=null,i=n.$to_a(),s!==u||(s=(e=(t=n).$lambda,e.$$p=(r=function(e,t){r.$$s||this;return null==e&&(e=u),null==t&&(t=u),e["$<=>"](t)},r.$$s=n,r),e).call(t)),i.sort(s)}),e.defn(K,"$sort_by",W=function(){var e,t,r,n,o,s,i,a,l,d=this,c=W.$$p,p=c||u,h=u;return W.$$p=null,p===u?(e=(t=d).$enum_for,e.$$p=(r=function(){var e=r.$$s||this;return e.$enumerator_size()},r.$$s=d,r),e).call(t,"sort_by"):(h=(e=(n=d).$map,e.$$p=(o=function(){var e=(o.$$s||this,u);return e=Y.get("Opal").$destructure(arguments),[p.$call(e),e]},o.$$s=d,o),e).call(n),(e=(s=h)["$sort!"],e.$$p=(i=function(e,t){i.$$s||this;return null==e&&(e=u),null==t&&(t=u),e[0]["$<=>"](t[0])},i.$$s=d,i),e).call(s),(e=(a=h)["$map!"],e.$$p=(l=function(e){l.$$s||this;return null==e&&(e=u),e[1]},l.$$s=d,l),e).call(a))}),e.defn(K,"$take",function(e){var t=this;return t.$first(e)}),e.defn(K,"$take_while",V=function(){var t,r=this,n=V.$$p,o=n||u;if(V.$$p=null,o===!1||o===u)return r.$enum_for("take_while");var s=[];return r.$each.$$p=function(){var r=Y.get("Opal").$destructure(arguments),n=e.yield1(o,r);return n===l?(s=l.$v,l):(t=n)===u||t.$$is_boolean&&0==t?l:void s.push(r)},r.$each(),s}),e.alias(K,"to_a","entries"),e.defn(K,"$zip",G=function(){var t,r=this,n=(G.$$p,u),o=arguments.length-0;o<0&&(o=0);var s=new Array(o);for(n=0;n")}),function(t,r){function n(){}var o,a,l=n=u(t,r,"Generator",n),d=l.$$proto,c=l.$$scope;return d.block=s,l.$include(c.get("Enumerable")),e.defn(l,"$initialize",o=function(){var e=this,t=o.$$p,r=t||s;return o.$$p=null,r!==!1&&r!==s||e.$raise(c.get("LocalJumpError"),"no block given"),e.block=r}),e.defn(l,"$each",a=function(){var t,r,n=this,o=a.$$p,u=o||s,l=s,d=s,p=arguments.length-0;p<0&&(p=0);var h=new Array(p);for(d=0;d"}),s&&"inspect"}(b.base,f)}(o.base,null)},Opal.modules["corelib/numeric"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e-t:e["$-"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?et:e["$>"](t)}e.dynamic_require_severity="warning";var i=e.top,a=e,u=e.nil,l=(e.breaker,e.slice,e.klass);return e.add_stubs(["$require","$include","$instance_of?","$class","$Float","$coerce","$===","$raise","$__send__","$equal?","$coerce_to!","$-@","$**","$-","$*","$div","$<","$ceil","$to_f","$denominator","$to_r","$==","$floor","$/","$%","$Complex","$zero?","$numerator","$abs","$arg","$round","$to_i","$truncate","$>"]),i.$require("corelib/comparable"),function(i,a){function d(){}var c=d=l(i,a,"Numeric",d),p=(c.$$proto,c.$$scope);return c.$include(p.get("Comparable")),e.defn(c,"$coerce",function(e){var t,r=this;return(t=e["$instance_of?"](r.$class()))===u||t.$$is_boolean&&1!=t?[r.$Float(e),r.$Float(r)]:[e,r]}),e.defn(c,"$__coerced__",function(t,r){var n,o,s=this,i=u,a=u,l=u;try{o=r.$coerce(s),n=e.to_ary(o),i=null==n[0]?u:n[0],a=null==n[1]?u:n[1],o}catch(d){try{l=t,"+"["$==="](l)||"-"["$==="](l)||"*"["$==="](l)||"/"["$==="](l)||"%"["$==="](l)||"&"["$==="](l)||"|"["$==="](l)||"^"["$==="](l)||"**"["$==="](l)?s.$raise(p.get("TypeError"),""+r.$class()+" can't be coerce into Numeric"):(">"["$==="](l)||">="["$==="](l)||"<"["$==="](l)||"<="["$==="](l)||"<=>"["$==="](l))&&s.$raise(p.get("ArgumentError"),"comparison of "+s.$class()+" with "+r.$class()+" failed")}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}return i.$__send__(t,a)}),e.defn(c,"$<=>",function(e){var t,r=this;return(t=r["$equal?"](e))===u||t.$$is_boolean&&1!=t?u:0}),e.defn(c,"$[]",function(e){var r=this,n=u,o=u;return e=p.get("Opal")["$coerce_to!"](e,p.get("Integer"),"to_int"),n=2["$**"](30)["$-@"](),o=t(2["$**"](30),1),eo?0:(r>>e)%2}),e.defn(c,"$+@",function(){var e=this;return e}),e.defn(c,"$-@",function(){var e=this;return t(0,e)}),e.defn(c,"$%",function(e){var n=this;return t(n,r(e,n.$div(e)))}),e.defn(c,"$abs",function(){var e=this;return n(e,0)?e["$-@"]():e}),e.defn(c,"$abs2",function(){var e=this;return r(e,e)}),e.defn(c,"$angle",function(){var e=this;return n(e,0)?p.get("Math").$$scope.get("PI"):0}),e.alias(c,"arg","angle"),e.defn(c,"$ceil",function(){var e=this;return e.$to_f().$ceil()}),e.defn(c,"$conj",function(){var e=this;return e}),e.alias(c,"conjugate","conj"),e.defn(c,"$denominator",function(){var e=this;return e.$to_r().$denominator()}),e.defn(c,"$div",function(e){var t=this;return e["$=="](0)&&t.$raise(p.get("ZeroDivisionError"),"divided by o"),o(t,e).$floor()}),e.defn(c,"$divmod",function(e){var t=this;return[t.$div(e),t["$%"](e)]}),e.defn(c,"$fdiv",function(e){var t=this;return o(t.$to_f(),e)}),e.defn(c,"$floor",function(){var e=this;return e.$to_f().$floor()}),e.defn(c,"$i",function(){var e=this;return e.$Complex(0,e)}),e.defn(c,"$imag",function(){return 0}),e.alias(c,"imaginary","imag"),e.defn(c,"$integer?",function(){return!1}),e.alias(c,"magnitude","abs"),e.alias(c,"modulo","%"),e.defn(c,"$nonzero?",function(){var e,t=this;return(e=t["$zero?"]())===u||e.$$is_boolean&&1!=e?t:u}),e.defn(c,"$numerator",function(){var e=this;return e.$to_r().$numerator()}),e.alias(c,"phase","arg"),e.defn(c,"$polar",function(){var e=this;return[e.$abs(),e.$arg()]}),e.defn(c,"$quo",function(e){var t=this;return o(p.get("Opal")["$coerce_to!"](t,p.get("Rational"),"to_r"),e)}),e.defn(c,"$real",function(){var e=this;return e}),e.defn(c,"$real?",function(){return!0}),e.defn(c,"$rect",function(){var e=this;return[e,0]}),e.alias(c,"rectangular","rect"),e.defn(c,"$round",function(e){var t=this;return t.$to_f().$round(e)}),e.defn(c,"$to_c",function(){var e=this;return e.$Complex(e,0)}),e.defn(c,"$to_int",function(){var e=this;return e.$to_i()}),e.defn(c,"$truncate",function(){var e=this;return e.$to_f().$truncate()}),e.defn(c,"$zero?",function(){var e=this;return e["$=="](0)}),e.defn(c,"$positive?",function(){var e=this;return s(e,0)}),e.defn(c,"$negative?",function(){var e=this;return n(e,0)}),e.defn(c,"$dup",function(){var e=this;return e.$raise(p.get("TypeError"),"can't dup "+e.$class())}),e.defn(c,"$clone",function(){var e=this;return e.$raise(p.get("TypeError"),"can't clone "+e.$class())}),u&&"clone"}(a.base,null)},Opal.modules["corelib/array"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e>t:e["$>"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e","$==","$object_id","$inspect","$enum_for","$coerce_to!","$>","$*","$enumerator_size","$empty?","$copy_singleton_methods","$initialize_clone","$initialize_dup","$replace","$size","$eql?","$length","$begin","$end","$exclude_end?","$flatten","$__id__","$[]","$to_s","$new","$!","$delete_if","$each","$reverse","$rotate","$rand","$at","$keep_if","$shuffle!","$dup","$<","$sort","$!=","$times","$[]=","$<<","$kind_of?","$last","$first","$upto"]),o.$require("corelib/enumerable"),o.$require("corelib/numeric"),function(o,s){function c(){}function p(e,t){return e===t||0===t?1:t>0&&e>t?p(e-1,t-1)+p(e-1,t):0}var h,f,m,b,v,_,g,y,$,w,x,E,P,C,j,T,A,S,k,D,O,H,F,M,R,B,I,N,L,q=c=u(o,s,"Array",c),U=q.$$proto,z=q.$$scope;return U.length=i,q.$include(z.get("Enumerable")),U.$$is_array=!0,e.defs(q,"$[]",function(){var e=i,t=arguments.length-0;t<0&&(t=0);var r=new Array(t);for(e=0;e2)===i||r.$$is_boolean&&1!=r||n.$raise(z.get("ArgumentError"),"wrong number of arguments ("+arguments.length+" for 0..2)"),0===arguments.length)return n.splice(0,n.length),n;if((r=1===arguments.length)!==i&&(!r.$$is_boolean||1==r)){if(!((r=z.get("Array")["$==="](e))===i||r.$$is_boolean&&1!=r))return e.$to_a();if((r=e["$respond_to?"]("to_ary"))!==i&&(!r.$$is_boolean||1==r))return e.$to_ary()}e=z.get("Opal").$coerce_to(e,z.get("Integer"),"to_int"),(r=e<0)===i||r.$$is_boolean&&1!=r||n.$raise(z.get("ArgumentError"),"negative array size"),n.splice(0,n.length);var u,l;if(s===i)for(u=0;u",function(e){var t,r=this;if((t=z.get("Array")["$==="](e))===i||t.$$is_boolean&&1!=t){if((t=e["$respond_to?"]("to_ary"))===i||t.$$is_boolean&&1!=t)return i;e=e.$to_ary().$to_a()}else e=e.$to_a();if(r.$hash()===e.$hash())return 0;for(var n=Math.min(r.length,e.length),o=0;o"](e[o]);if(0!==s)return s}return r.length["$<=>"](e.length)}),e.defn(q,"$==",function(e){function t(e,r){var o,s,i,a;if(e===r)return!0;if(!r.$$is_array)return!!z.get("Opal")["$respond_to?"](r,"to_ary")&&r["$=="](e);if(e.constructor!==Array&&(e=e.literal),r.constructor!==Array&&(r=r.literal),e.length!==r.length)return!1;for(n[e.$object_id()]=!0,o=0,s=e.length;oa?i:o<0&&(o+=a,o<0)?[]:(r||(o+=1),s.slice(n,o))):(e=z.get("Opal").$coerce_to(e,z.get("Integer"),"to_int"),e<0&&(e+=a,e<0)?i:void 0===t?e>=a||e<0?i:s[e]:(t=z.get("Opal").$coerce_to(t,z.get("Integer"),"to_int"),t<0||e>a||e<0?i:s.slice(e,e+t)))}),e.defn(q,"$[]=",function(e,t,r){var n,o,s=this,a=i,u=i,l=s.length;if((n=z.get("Range")["$==="](e))===i||n.$$is_boolean&&1!=n){(n=void 0===r)===i||n.$$is_boolean&&1!=n?(u=t,t=r,a=(n=z.get("Array")["$==="](t))===i||n.$$is_boolean&&1!=n?(n=t["$respond_to?"]("to_ary"))===i||n.$$is_boolean&&1!=n?[t]:t.$to_ary().$to_a():t.$to_a()):u=1;var d;if(e=z.get("Opal").$coerce_to(e,z.get("Integer"),"to_int"),u=z.get("Opal").$coerce_to(u,z.get("Integer"),"to_int"),e<0&&(d=e,e+=l,e<0&&s.$raise(z.get("IndexError"),"index "+d+" too small for array; minimum "+-s.length)),u<0&&s.$raise(z.get("IndexError"),"negative length ("+u+")"),e>l)for(o=l;ol)for(o=l;o=t.length?i:t[e]}),e.defn(q,"$bsearch",m=function(){var e=this,t=m.$$p,r=t||i;if(m.$$p=null,r===i)return e.$enum_for("bsearch");for(var n,o,s,u=0,l=e.length,d=!1,c=i;u0;){for(h=0,f=d.length;h=0&&d=t.length)return i;var r=t[e];return t.splice(e,1),r}),e.defn(q,"$delete_if",$=function(){var e,t,r,n=this,o=$.$$p,s=o||i;if($.$$p=null,s===i)return(e=(t=n).$enum_for,e.$$p=(r=function(){var e=r.$$s||this;return e.$size()},r.$$s=n,r),e).call(t,"delete_if");for(var u,l=0,d=n.length;l=0&&e2)===i||t.$$is_boolean&&1!=t||n.$raise(z.get("ArgumentError"),"wrong number of arguments ("+m.$length()+" for 0..2)"),r=m,t=e.to_ary(r),u=null==t[0]?i:t[0],l=null==t[1]?i:t[1],r):((t=0==m.length)===i||t.$$is_boolean&&1!=t?(t=m.length>3)===i||t.$$is_boolean&&1!=t||n.$raise(z.get("ArgumentError"),"wrong number of arguments ("+m.$length()+" for 1..3)"):n.$raise(z.get("ArgumentError"),"wrong number of arguments (0 for 1..3)"),r=m,t=e.to_ary(r),d=null==t[0]?i:t[0],u=null==t[1]?i:t[1],l=null==t[2]?i:t[2],r),(t=z.get("Range")["$==="](u))===i||t.$$is_boolean&&1!=t)if(u!==!1&&u!==i)if(c=z.get("Opal").$coerce_to(u,z.get("Integer"),"to_int"),(t=c<0)===i||t.$$is_boolean&&1!=t||(c+=n.length),(t=c<0)===i||t.$$is_boolean&&1!=t||(c=0),l!==!1&&l!==i){if(p=z.get("Opal").$coerce_to(l,z.get("Integer"),"to_int"),(t=0==p)!==i&&(!t.$$is_boolean||1==t))return n;p+=c}else p=n.length;else c=0,p=n.length;else if(l!==!1&&l!==i&&n.$raise(z.get("TypeError"),"length invalid with range"),c=z.get("Opal").$coerce_to(u.$begin(),z.get("Integer"),"to_int"),(t=c<0)===i||t.$$is_boolean&&1!=t||(c+=n.length),(t=c<0)===i||t.$$is_boolean&&1!=t||n.$raise(z.get("RangeError"),""+u.$inspect()+" out of range"),p=z.get("Opal").$coerce_to(u.$end(),z.get("Integer"),"to_int"),(t=p<0)===i||t.$$is_boolean&&1!=t||(p+=n.length),((t=u["$exclude_end?"]())===i||t.$$is_boolean&&1!=t)&&(p+=1),(t=p<=c)!==i&&(!t.$$is_boolean||1==t))return n;if((t=c>n.length)!==i&&(!t.$$is_boolean||1==t))for(b=n.length;bn.length)===i||t.$$is_boolean&&1!=t||(n.length=p),s!==!1&&s!==i)for(v=n.length;c0){if(e<0&&(e+=t.length+1,e<0&&t.$raise(z.get("IndexError"),""+e+" is out of bounds")),e>t.length)for(var s=t.length;st.length&&(e=t.length),t.slice(t.length-e,t.length))}),e.defn(q,"$length",function(){var e=this;return e.length}),e.alias(q,"map","collect"),e.alias(q,"map!","collect!"),e.defn(q,"$permutation",T=function(t){var r,n,o,s=this,u=T.$$p,l=u||i,d=i,c=i;if(T.$$p=null,l===i)return(r=(n=s).$enum_for,r.$$p=(o=function(){var e=o.$$s||this;return e.$size()},o.$$s=s,o),r).call(n,"permutation",t);var p,h,f;if(t=void 0===t?s.length:z.get("Opal").$coerce_to(t,z.get("Integer"),"to_int"),t<0||s.lengthr.length)===i||t.$$is_boolean&&1!=t?r.splice(r.length-e,r.length):r.splice(0,r.length):[]):(t=0===r.length)===i||t.$$is_boolean&&1!=t?r.pop():i}),e.defn(q,"$product",A=function(){var t,r=this,n=A.$$p,o=n||i,s=i,u=arguments.length-0;u<0&&(u=0);var l=new Array(u);for(s=0;s2147483647&&r.$raise(z.get("RangeError"),"too big to product"),v[d]=h,b[d]=0}e:for(;;){for(p=[],d=0;d=0&&!(o>=t.length);o--)if(t[o]["$=="](e))return o}else if(n!==i)for(o=t.length-1;o>=0&&!(o>=t.length);o--){if((s=n(t[o]))===a)return a.$v;if(s!==!1&&s!==i)return o}else if(null==e)return t.$enum_for("rindex");return i}),e.defn(q,"$rotate",function(e){var t=this;null==e&&(e=1),e=z.get("Opal").$coerce_to(e,z.get("Integer"),"to_int");var r,n,o,s;return 1===t.length?t.slice():0===t.length?[]:(r=t.slice(),n=e%r.length,o=r.slice(n),s=r.slice(0,n),o.concat(s))}),e.defn(q,"$rotate!",function(e){var t=this,r=i;return null==e&&(e=1),0===t.length||1===t.length?t:(e=z.get("Opal").$coerce_to(e,z.get("Integer"),"to_int"),r=t.$rotate(e),t.$replace(r))}),function(t,r){function n(){}var o=n=u(t,r,"SampleRandom",n),s=o.$$proto,a=o.$$scope;return s.rng=i,e.defn(o,"$initialize",function(e){var t=this;return t.rng=e}),e.defn(o,"$rand",function(e){var t,r=this,n=i;return n=a.get("Opal").$coerce_to(r.rng.$rand(e),a.get("Integer"),"to_int"),(t=n<0)===i||t.$$is_boolean&&1!=t||r.$raise(a.get("RangeError"),"random value must be >= 0"),((t=no.length&&(e=o.length),e){case 0:return[];case 1:return[o[a.$rand(o.length)]];case 2:return c=a.$rand(o.length),p=a.$rand(o.length),c===p&&(p=0===c?c+1:c-1),[o[c],o[p]];default:if(o.length/e>3){for(u=!1,l=0,d=z.get("Array").$new(e),c=1,d[0]=a.$rand(o.length);c100){u=!0;break}h=a.$rand(o.length)}if(u)break;p++}if(u)break;d[c]=h,c++}if(!u){for(c=0;c=s&&o.$raise(z.get("RangeError"),"random number too big "+r)):r=Math.floor(Math.random()*s),n=o[--s],o[s]=o[r],o[r]=n;return o}),e.alias(q,"slice","[]"),e.defn(q,"$slice!",function(e,t){var r=this;return e<0&&(e+=r.length),null!=t?r.splice(e,t):e<0||e>=r.length?i:r.splice(e,1)[0]}),e.defn(q,"$sort",M=function(){var e,r=this,o=M.$$p,s=o||i;if(M.$$p=null,(e=r.length>1)===i||e.$$is_boolean&&1!=e)return r;s===i&&(s=function(e,t){return e["$<=>"](t)});try{return r.slice().sort(function(e,o){var u=s(e,o);if(u===a)throw a;return u===i&&r.$raise(z.get("ArgumentError"),"comparison of "+e.$inspect()+" with "+o.$inspect()+" failed"),t(u,0)?1:n(u,0)?-1:0})}catch(u){if(u===a)return a.$v;throw u}}),e.defn(q,"$sort!",R=function(){var e,t,r=this,n=R.$$p,o=n||i;R.$$p=null;var s;s=o!==i?(e=(t=r.slice()).$sort,e.$$p=o.$to_proc(),e).call(t):r.slice().$sort(),r.length=0;for(var a=0,u=s.length;a=0;o--)e.unshift(n[o]);return e}),e.defn(q,"$values_at",function(){var e,t,r,n=this,o=i,s=i,a=arguments.length-0;a<0&&(a=0);var u=new Array(a);for(s=0;s"+s.$inspect());return"{"+n.join(", ")+"}"}finally{t&&(E=void 0)}}),e.defn($,"$invert",function(){for(var t,r,n=this,o=e.hash(),s=0,i=n.$$keys,a=i.length;s0?(t=o[0],t=t.$$is_string?t:t.key,[t,e.hash_delete(r,t)]):r.$default(n)}),e.alias($,"size","length"),$.$alias_method("store","[]="),e.defn($,"$to_a",function(){for(var e,t,r=this,n=[],o=0,s=r.$$keys,i=s.length;ot:e["$>"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e=t:e["$>="](t)}e.dynamic_require_severity="warning";var l=e.top,d=e,c=e.nil,p=e.breaker,h=(e.slice,e.klass);return e.add_stubs(["$require","$bridge","$raise","$class","$Float","$respond_to?","$coerce_to!","$__coerced__","$===","$!","$>","$**","$new","$<","$to_f","$==","$nan?","$infinite?","$enum_for","$+","$-","$gcd","$lcm","$/","$frexp","$to_i","$ldexp","$rationalize","$*","$<<","$to_r","$-@","$size","$<=","$>="]),l.$require("corelib/numeric"),function(l,d){function f(){}var m,b,v,_,g,y,$,w,x,E,P=f=h(l,d,"Number",f),C=(P.$$proto,P.$$scope);return C.get("Opal").$bridge(P,Number),Number.prototype.$$is_number=!0,e.defn(P,"$coerce",function(e){var t=this;if(e===c)t.$raise(C.get("TypeError"),"can't convert "+e.$class()+" into Float");else{if(e.$$is_string)return[t.$Float(e),t];if(e["$respond_to?"]("to_f"))return[C.get("Opal")["$coerce_to!"](e,C.get("Float"),"to_f"),t];if(e.$$is_number)return[e,t];t.$raise(C.get("TypeError"),"can't convert "+e.$class()+" into Float")}}),e.defn(P,"$__id__",function(){var e=this;return 2*e+1}),e.alias(P,"object_id","__id__"),e.defn(P,"$+",function(e){var t=this;return e.$$is_number?t+e:t.$__coerced__("+",e)}),e.defn(P,"$-",function(e){var t=this;return e.$$is_number?t-e:t.$__coerced__("-",e)}),e.defn(P,"$*",function(e){var t=this;return e.$$is_number?t*e:t.$__coerced__("*",e)}),e.defn(P,"$/",function(e){var t=this;return e.$$is_number?t/e:t.$__coerced__("/",e)}),e.alias(P,"fdiv","/"),e.defn(P,"$%",function(e){var t=this;return e.$$is_number?e==-(1/0)?e:0!=e?e<0||t<0?(t%e+e)%e:t%e:void t.$raise(C.get("ZeroDivisionError"),"divided by 0"):t.$__coerced__("%",e)}),e.defn(P,"$&",function(e){var t=this;return e.$$is_number?t&e:t.$__coerced__("&",e)}),e.defn(P,"$|",function(e){var t=this;return e.$$is_number?t|e:t.$__coerced__("|",e)}),e.defn(P,"$^",function(e){var t=this;return e.$$is_number?t^e:t.$__coerced__("^",e)}),e.defn(P,"$<",function(e){var t=this;return e.$$is_number?t",function(e){var t=this;return e.$$is_number?t>e:t.$__coerced__(">",e)}),e.defn(P,"$>=",function(e){var t=this;return e.$$is_number?t>=e:t.$__coerced__(">=",e)}),e.defn(P,"$<=>",function(t){var r=this;try{return t.$$is_number?isNaN(r)||isNaN(t)?c:r>t?1:r",t)}catch(n){if(!e.rescue(n,[C.get("ArgumentError")]))throw n;try{return c}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}}),e.defn(P,"$<<",function(e){var t=this;return e=C.get("Opal")["$coerce_to!"](e,C.get("Integer"),"to_int"),e>0?t<>-e}),e.defn(P,"$>>",function(e){var t=this;return e=C.get("Opal")["$coerce_to!"](e,C.get("Integer"),"to_int"),e>0?t>>e:t<<-e}),e.defn(P,"$[]",function(e){var t=this;return e=C.get("Opal")["$coerce_to!"](e,C.get("Integer"),"to_int"),eC.get("Integer").$$scope.get("MAX")?0:t<0?(~t+1>>e)%2:(t>>e)%2}),e.defn(P,"$+@",function(){var e=this;return+e}),e.defn(P,"$-@",function(){var e=this;return-e}),e.defn(P,"$~",function(){var e=this;return~e}),e.defn(P,"$**",function(e){var n,o,s,i=this;return(n=C.get("Integer")["$==="](e))===c||n.$$is_boolean&&1!=n?(n=(o=r(i,0))?(s=C.get("Float")["$==="](e))!==!1&&s!==c?s:C.get("Rational")["$==="](e):r(i,0))===c||n.$$is_boolean&&1!=n?(n=null!=e.$$is_number)===c||n.$$is_boolean&&1!=n?i.$__coerced__("**",e):Math.pow(i,e):C.get("Complex").$new(i,0)["$**"](e.$to_f()):(n=(o=C.get("Integer")["$==="](i)["$!"]())!==!1&&o!==c?o:t(e,0))===c||n.$$is_boolean&&1!=n?C.get("Rational").$new(i,1)["$**"](e):Math.pow(i,e)}),e.defn(P,"$==",function(e){var t=this;return e.$$is_number?t==Number(e):!!e["$respond_to?"]("==")&&e["$=="](t)}),e.defn(P,"$abs",function(){var e=this;return Math.abs(e)}),e.defn(P,"$abs2",function(){var e=this;return Math.abs(e*e)}),e.defn(P,"$angle",function(){var e,t=this;return(e=t["$nan?"]())===c||e.$$is_boolean&&1!=e?0==t?1/t>0?0:Math.PI:t<0?Math.PI:0:t}),e.alias(P,"arg","angle"),e.alias(P,"phase","angle"),e.defn(P,"$bit_length",function(){var e,t=this;if(((e=C.get("Integer")["$==="](t))===c||e.$$is_boolean&&1!=e)&&t.$raise(C.get("NoMethodError").$new("undefined method `bit_length` for "+t+":Float","bit_length")),0===t||t===-1)return 0;for(var r=0,n=t<0?~t:t;0!=n;)r+=1,n>>>=1;return r}),e.defn(P,"$ceil",function(){var e=this;return Math.ceil(e)}),e.defn(P,"$chr",function(e){var t=this;return String.fromCharCode(t)}),e.defn(P,"$denominator",m=function(){var t,r,n=this,o=m.$$p,s=c,i=c;for(m.$$p=null,s=[],i=0;i=e;d--)if(l(d)===p)return p.$v;return a}),e.alias(P,"eql?","=="),e.defn(P,"$equal?",function(e){var t,r=this;return(t=r["$=="](e))!==!1&&t!==c?t:isNaN(r)&&isNaN(e)}),e.defn(P,"$even?",function(){var e=this;return e%2===0}),e.defn(P,"$floor",function(){var e=this;return Math.floor(e)}),e.defn(P,"$gcd",function(e){var t,r=this;((t=C.get("Integer")["$==="](e))===c||t.$$is_boolean&&1!=t)&&r.$raise(C.get("TypeError"),"not an integer");for(var n=Math.abs(r),o=Math.abs(e);n>0;){var s=n;n=o%n,o=s}return o}),e.defn(P,"$gcdlcm",function(e){var t=this;return[t.$gcd(),t.$lcm()]}),e.defn(P,"$integer?",function(){var e=this;return e%1===0}),e.defn(P,"$is_a?",v=function(t){var r,n,o=this,s=v.$$p,i=c,a=c;for(v.$$p=null,i=[],a=0;a1&&s.$raise(C.get("ArgumentError"),"wrong number of arguments ("+arguments.length+" for 0..1)"),(r=C.get("Integer")["$==="](s))===c||r.$$is_boolean&&1!=r?(r=s["$infinite?"]())===c||r.$$is_boolean&&1!=r?(r=s["$nan?"]())===c||r.$$is_boolean&&1!=r?(r=null==t)===c||r.$$is_boolean&&1!=r?s.$to_r().$rationalize(t):(n=C.get("Math").$frexp(s),r=e.to_ary(n),a=null==r[0]?c:r[0],u=null==r[1]?c:r[1],n,a=C.get("Math").$ldexp(a,C.get("Float").$$scope.get("MANT_DIG")).$to_i(),u=o(u,C.get("Float").$$scope.get("MANT_DIG")),C.get("Rational").$new(i(2,a),1["$<<"](o(1,u))).$rationalize(C.get("Rational").$new(1,1["$<<"](o(1,u))))):s.$raise(C.get("FloatDomainError"),"NaN"):s.$raise(C.get("FloatDomainError"),"Infinity"):C.get("Rational").$new(s,1)}),e.defn(P,"$round",function(i){var l,d,p=this,h=c,f=c;if((l=C.get("Integer")["$==="](p))===c||l.$$is_boolean&&1!=l){if(d=p["$nan?"](),(l=d!==!1&&d!==c?null==i:d)===c||l.$$is_boolean&&1!=l||p.$raise(C.get("FloatDomainError"),"NaN"),i=C.get("Opal")["$coerce_to!"](i||0,C.get("Integer"),"to_int"),(l=a(i,0))===c||l.$$is_boolean&&1!=l){if(i["$=="](0))return Math.round(p);if((l=(d=p["$nan?"]())!==!1&&d!==c?d:p["$infinite?"]())!==c&&(!l.$$is_boolean||1==l))return p}else(l=p["$nan?"]())===c||l.$$is_boolean&&1!=l?(l=p["$infinite?"]())===c||l.$$is_boolean&&1!=l||p.$raise(C.get("FloatDomainError"),"Infinity"):p.$raise(C.get("RangeError"),"NaN");return d=C.get("Math").$frexp(p),l=e.to_ary(d),h=null==l[0]?c:l[0],f=null==l[1]?c:l[1],d,(l=u(i,o(n(C.get("Float").$$scope.get("DIG"),2),function(){return(d=t(f,0))===c||d.$$is_boolean&&1!=d?o(s(f,3),1):s(f,4)}())))===c||l.$$is_boolean&&1!=l?(l=r(i,function(){return(d=t(f,0))===c||d.$$is_boolean&&1!=d?s(f,4):n(s(f,3),1)}()["$-@"]()))===c||l.$$is_boolean&&1!=l?Math.round(p*Math.pow(10,i))/Math.pow(10,i):0:p}if((l=null==i)!==c&&(!l.$$is_boolean||1==l))return p;if(d=C.get("Float")["$==="](i),(l=d!==!1&&d!==c?i["$infinite?"]():d)===c||l.$$is_boolean&&1!=l||p.$raise(C.get("RangeError"),"Infinity"),i=C.get("Opal")["$coerce_to!"](i,C.get("Integer"),"to_int"),(l=r(i,C.get("Integer").$$scope.get("MIN")))===c||l.$$is_boolean&&1!=l||p.$raise(C.get("RangeError"),"out of bounds"),(l=i>=0)!==c&&(!l.$$is_boolean||1==l))return p;if(i=i["$-@"](),.415241*i-.125>p.$size())return 0;var m=Math.pow(10,i),b=Math.floor((Math.abs(b)+m/2)/m)*m;return p<0?-b:b}),e.defn(P,"$step",$=function(e,t){var r,n=this,o=$.$$p,s=o||c;if(null==t&&(t=1),$.$$p=null,s===!1||s===c)return n.$enum_for("step",e,t);(r=0==t)===c||r.$$is_boolean&&1!=r||n.$raise(C.get("ArgumentError"),"step cannot be 0");var i=n;if(e===1/0||e===-(1/0))return s(i),n;if(t>0)for(;i<=e;)s(i),i+=t;else for(;i>=e;)s(i),i+=t;return n}),e.alias(P,"succ","next"),e.defn(P,"$times",w=function(){var e=this,t=w.$$p,r=t||c;if(w.$$p=null,r===!1||r===c)return e.$enum_for("times");for(var n=0;n0}),e.defn(P,"$negative?",function(){var e=this;return e==-(1/0)||1/e<0}),c&&"negative?"}(d.base,d.get("Numeric")),e.cdecl(d,"Fixnum",d.get("Number")),function(t,r){function n(){}var o=n=h(t,r,"Integer",n),s=(o.$$proto,o.$$scope);return e.defs(o,"$===",function(e){return!!e.$$is_number&&e%1===0}),e.cdecl(s,"MAX",Math.pow(2,30)-1),e.cdecl(s,"MIN",-Math.pow(2,30))}(d.base,d.get("Numeric")),function(t,r){function n(){}var o,s=n=h(t,r,"Float",n),i=(s.$$proto,s.$$scope);return e.defs(s,"$===",function(e){return!!e.$$is_number}),e.cdecl(i,"INFINITY",1/0),e.cdecl(i,"MAX",Number.MAX_VALUE),e.cdecl(i,"MIN",Number.MIN_VALUE),e.cdecl(i,"NAN",NaN),e.cdecl(i,"DIG",15),e.cdecl(i,"MANT_DIG",53),e.cdecl(i,"RADIX",2),(o="undefined"!=typeof Number.EPSILON)===c||o.$$is_boolean&&1!=o?e.cdecl(i,"EPSILON",2.220446049250313e-16):e.cdecl(i,"EPSILON",Number.EPSILON)}(d.base,d.get("Numeric"))},Opal.modules["corelib/range"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e<=t:e["$<="](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e","$raise","$include?","$<=","$<","$enum_for","$upto","$to_proc","$succ","$!","$==","$===","$exclude_end?","$eql?","$begin","$end","$-","$abs","$to_i","$inspect"]),o.$require("corelib/enumerable"),function(o,s){function l(){}var d,c,p,h=l=u(o,s,"Range",l),f=h.$$proto,m=h.$$scope;return f.begin=f.exclude=f.end=i,h.$include(m.get("Enumerable")),f.$$is_range=!0,h.$attr_reader("begin","end"),e.defn(h,"$initialize",function(e,t,r){var n,o=this;return null==r&&(r=!1),((n=e["$<=>"](t))===i||n.$$is_boolean&&1!=n)&&o.$raise(m.get("ArgumentError")),o.begin=e,o.end=t,o.exclude=r}),e.defn(h,"$==",function(e){var t=this;return!!e.$$is_range&&(t.exclude===e.exclude&&t.begin==e.begin&&t.end==e.end)}),e.defn(h,"$===",function(e){var t=this;return t["$include?"](e)}),e.defn(h,"$cover?",function(e){var n,o,s=this;return n=t(s.begin,e),n!==!1&&n!==i?function(){return(o=s.exclude)===i||o.$$is_boolean&&1!=o?t(e,s.end):r(e,s.end)}():n}),e.defn(h,"$each",d=function(){var t,n,o,s=this,u=d.$$p,l=u||i,c=i,p=i;if(d.$$p=null,l===i)return s.$enum_for("each");var h,f,b;if(s.begin.$$is_number&&s.end.$$is_number){for(s.begin%1===0&&s.end%1===0||s.$raise(m.get("TypeError"),"can't iterate from Float"),h=s.begin,f=s.end+function(){return(t=s.exclude)===i||t.$$is_boolean&&1!=t?1:0}();he&&r.$$is_lambda&&!r.$$is_curried&&r.$raise(p.get("ArgumentError"),"wrong number of arguments ("+i+" for "+e+")"),i>=e?r.$call.apply(r,s):(n=function(){return t.apply(null,s.concat(o.call(arguments)))},n.$$is_lambda=r.$$is_lambda,n.$$is_curried=!0,n)}var r=this;return void 0===e?e=r.length:(e=p.get("Opal")["$coerce_to!"](e,p.get("Integer"),"to_int"),r.$$is_lambda&&e!==r.length&&r.$raise(p.get("ArgumentError"),"wrong number of arguments ("+e+" for "+r.length+")")),t.$$is_lambda=r.$$is_lambda,t.$$is_curried=!0,t}),e.defn(d,"$dup",function(){var e=this,t=e.$$original_proc||e,r=function(){return t.apply(this,arguments)};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r}),e.alias(d,"clone","dup")}(t.base,Function)},Opal.modules["corelib/method"]=function(e){e.dynamic_require_severity="warning";var t=(e.top,e),r=e.nil,n=(e.breaker,e.slice),o=e.klass;return e.add_stubs(["$attr_reader","$class","$arity","$new","$name"]),function(t,s){function i(){}var a,u=i=o(t,s,"Method",i),l=u.$$proto,d=u.$$scope;return l.method=l.receiver=l.owner=l.name=r,u.$attr_reader("owner","receiver","name"),e.defn(u,"$initialize",function(e,t,r){var n=this;return n.receiver=e,n.owner=e.$class(),n.name=r,n.method=t}),e.defn(u,"$arity",function(){var e=this;return e.method.$arity()}),e.defn(u,"$call",a=function(){var e=this,t=a.$$p,n=t||r,o=r,s=arguments.length-0;s<0&&(s=0);var i=new Array(s);for(o=0;o"}),r&&"inspect"}(t.base,null),function(t,n){function s(){}var i=s=o(t,n,"UnboundMethod",s),a=i.$$proto,u=i.$$scope;return a.method=a.name=a.owner=r,i.$attr_reader("owner","name"),e.defn(i,"$initialize",function(e,t,r){var n=this;return n.owner=e,n.method=t,n.name=r}),e.defn(i,"$arity",function(){var e=this;return e.method.$arity()}),e.defn(i,"$bind",function(e){var t=this;return u.get("Method").$new(e,t.method,t.name)}),e.defn(i,"$inspect",function(){var e=this;return"#"}),r&&"inspect"}(t.base,null)},Opal.modules["corelib/variables"]=function(e){e.dynamic_require_severity="warning";var t=(e.top,e),r=e.nil,n=(e.breaker,e.slice,e.gvars),o=e.hash2;return e.add_stubs(["$new"]),n["&"]=n["~"]=n["`"]=n["'"]=r,n.LOADED_FEATURES=n['"']=e.loaded_features,n.LOAD_PATH=n[":"]=[],n["/"]="\n",n[","]=r,e.cdecl(t,"ARGV",[]),e.cdecl(t,"ARGF",t.get("Object").$new()),e.cdecl(t,"ENV",o([],{})),n.VERBOSE=!1,n.DEBUG=!1,n.SAFE=0},Opal.modules["opal/mini"]=function(e){e.dynamic_require_severity="warning";var t=e.top;e.nil,e.breaker,e.slice;return e.add_stubs(["$require"]),t.$require("opal/base"),t.$require("corelib/nil"),t.$require("corelib/boolean"),t.$require("corelib/string"),t.$require("corelib/comparable"),t.$require("corelib/enumerable"),t.$require("corelib/enumerator"),t.$require("corelib/array"),t.$require("corelib/hash"),t.$require("corelib/number"),t.$require("corelib/range"),t.$require("corelib/proc"),t.$require("corelib/method"),t.$require("corelib/regexp"),t.$require("corelib/variables")},Opal.modules["corelib/array/inheritance"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e-t:e["$-"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}e.dynamic_require_severity="warning";var o=(e.top,e),s=e.nil,i=(e.breaker,e.slice,e.klass);return e.add_stubs(["$new","$allocate","$initialize","$to_proc","$__send__","$clone","$respond_to?","$==","$eql?","$inspect","$hash","$*","$class","$slice","$uniq","$flatten","$-","$+"]),function(t,r){function n(){}var o=n=i(t,r,"Array",n),a=(o.$$proto,o.$$scope);return e.defs(o,"$inherited",function(e){var t=s;t=a.get("Class").$new(a.get("Array").$$scope.get("Wrapper")),e.$$proto=t.$$proto,e.$$proto.$$class=e,e.$$alloc=t.$$alloc,e.$$parent=a.get("Array").$$scope.get("Wrapper"),e.$allocate=t.$allocate,e.$new=t.$new,e["$[]"]=t["$[]"]}),s&&"inherited"}(o.base,null),function(o,a){function u(){}var l,d,c,p,h,f=u=i(o,a,"Wrapper",u),m=f.$$proto,b=f.$$scope;return m.literal=s,m.$$is_array=!0,e.defs(f,"$allocate",l=function(t){var r=this,n=(l.$$p,s);return null==t&&(t=[]),l.$$p=null,n=e.find_super_dispatcher(r,"allocate",l,null,u).apply(r,[]),n.literal=t,n}),e.defs(f,"$new",d=function(){var t,r,n=this,o=d.$$p,i=o||s,a=s,u=s,l=arguments.length-0;l<0&&(l=0);var c=new Array(l);for(u=0;u"}),e.defn(i,"$each_byte",function(){var e=this;return e.$raise(u.get("NotImplementedError"))}),e.defn(i,"$getbyte",function(){var e=this;return e.$raise(u.get("NotImplementedError"))}),e.defn(i,"$bytesize",function(){var e=this;return e.$raise(u.get("NotImplementedError"))}),function(e,t){function r(){}var n=r=h(e,t,"EncodingError",r);n.$$proto,n.$$scope;return c}(u.base,u.get("StandardError")),function(e,t){function r(){}var n=r=h(e,t,"CompatibilityError",r);n.$$proto,n.$$scope;return c}(u.base,u.get("EncodingError"))}(d.base,null),(r=(n=d.get("Encoding")).$register,r.$$p=(o=function(){var t,r=o.$$s||this;return e.def(r,"$each_byte",t=function(r){var n,o=t.$$p,s=o||c;t.$$p=null;for(var i=0,a=r.length;i>8))===p?p.$v:n}}),e.def(r,"$bytesize",function(){var e=this;return e.$bytes().$length()}),c&&"bytesize"},i.$$s=l,i),r).call(s,"UTF-16LE"),(r=(a=d.get("Encoding")).$register,r.$$p=(u=function(){var t,r=u.$$s||this;return e.def(r,"$each_byte",t=function(r){var n,o=t.$$p,s=o||c;t.$$p=null;for(var i=0,a=r.length;i1;)t*=.125,r++;for(t=(-.46946116*t+1.072302)*t+.3812513;r<0;)t*=.5,r++;for(;r>0;)t*=2,r--;return t=2/3*t+1/3*e/(t*t),t=2/3*t+1/3*e/(t*t),t=2/3*t+1/3*e/(t*t),t=2/3*t+1/3*e/(t*t)}),e.defn(u,"$cbrt",function(e){return l.get("Math").$checked("cbrt",l.get("Math")["$float!"](e))}),e.defn(u,"$cos",function(e){return l.get("Math").$checked("cos",l.get("Math")["$float!"](e))}),((a="undefined"!=typeof Math.cosh)===o||a.$$is_boolean&&1!=a)&&(Math.cosh=function(e){return(Math.exp(e)+Math.exp(-e))/2}),e.defn(u,"$cosh",function(e){return l.get("Math").$checked("cosh",l.get("Math")["$float!"](e))}),((a="undefined"!=typeof Math.erf)===o||a.$$is_boolean&&1!=a)&&(Math.erf=function(e){var t=.254829592,r=-.284496736,n=1.421413741,o=-1.453152027,s=1.061405429,i=.3275911,a=1;e<0&&(a=-1),e=Math.abs(e);var u=1/(1+i*e),l=1-((((s*u+o)*u+n)*u+r)*u+t)*u*Math.exp(-e*e);return a*l}),e.defn(u,"$erf",function(e){return l.get("Math").$checked("erf",l.get("Math")["$float!"](e))}),((a="undefined"!=typeof Math.erfc)===o||a.$$is_boolean&&1!=a)&&(Math.erfc=function(e){var t=Math.abs(e),r=1/(.5*t+1),n=.17087277*r+-.82215223,o=r*n+1.48851587,s=r*o+-1.13520398,i=r*s+.27886807,a=r*i+-.18628806,u=r*a+.09678418,l=r*u+.37409196,d=r*l+1.00002368,c=r*d,p=-t*t-1.26551223+c,h=r*Math.exp(p);return e<0?2-h:h}),e.defn(u,"$erfc",function(e){return l.get("Math").$checked("erfc",l.get("Math")["$float!"](e))}),e.defn(u,"$exp",function(e){return l.get("Math").$checked("exp",l.get("Math")["$float!"](e))}),e.defn(u,"$frexp",function(e){if(e=l.get("Math")["$float!"](e),isNaN(e))return[NaN,0];var t=Math.floor(Math.log(Math.abs(e))/Math.log(2))+1,r=e/Math.pow(2,t);return[r,t]}),e.defn(u,"$gamma",function(e){var r=this;e=l.get("Math")["$float!"](e);var n,o,s,i,a,u,d,c,p,h=4.7421875,f=[.9999999999999971,57.15623566586292,-59.59796035547549,14.136097974741746,-.4919138160976202,3399464998481189e-20,4652362892704858e-20,-9837447530487956e-20,.0001580887032249125,-.00021026444172410488,.00021743961811521265,-.0001643181065367639,8441822398385275e-20,-26190838401581408e-21,36899182659531625e-22];if(isNaN(e))return NaN;if(0===e&&1/e<0)return-(1/0);if(e!==-1&&e!==-(1/0)||r.$raise(l.get("DomainError"),'Numerical argument is out of domain - "gamma"'),l.get("Integer")["$==="](e)){if(e<=0)return isFinite(e)?1/0:NaN;if(e>171)return 1/0;for(i=e-2,a=e-1;i>1;)a*=i,i--;return 0==a&&(a=1),a}if(e<.5)return Math.PI/(Math.sin(Math.PI*e)*l.get("Math").$gamma(t(1,e)));if(e>=171.35)return 1/0;if(e>85)return u=e*e,d=u*e,c=d*e,p=c*e,Math.sqrt(2*Math.PI/e)*Math.pow(e/Math.E,e)*(1+1/(12*e)+1/(288*u)-139/(51840*d)-571/(2488320*c)+163879/(209018880*p)+5246819/(75246796800*p*e));for(e-=1,s=f[0],n=1;nt:e["$>"](t)}e.dynamic_require_severity="warning";var i=e.top,a=e,u=e.nil,l=(e.breaker,e.slice,e.klass),d=e.module;return e.add_stubs(["$require","$===","$real?","$raise","$new","$*","$cos","$sin","$attr_reader","$class","$==","$real","$imag","$Complex","$-@","$+","$__coerced__","$-","$nan?","$/","$conj","$abs2","$quo","$polar","$exp","$log","$>","$!=","$divmod","$**","$hypot","$atan2","$lcm","$denominator","$to_s","$numerator","$abs","$arg","$rationalize","$to_f","$to_i","$to_r","$inspect","$positive?","$infinite?"]),i.$require("corelib/numeric"),function(i,a){function d(){}var c=d=l(i,a,"Complex",d),p=c.$$proto,h=c.$$scope;return p.real=p.imag=u,e.defs(c,"$rect",function(e,t){var r,n,o,s,i=this;return null==t&&(t=0),s=h.get("Numeric")["$==="](e),o=s!==!1&&s!==u?e["$real?"]():s,n=o!==!1&&o!==u?h.get("Numeric")["$==="](t):o,((r=n!==!1&&n!==u?t["$real?"]():n)===u||r.$$is_boolean&&1!=r)&&i.$raise(h.get("TypeError"),"not a real"),i.$new(e,t)}),function(t){t.$$scope,t.$$proto;return e.alias(t,"rectangular","rect")}(e.get_singleton_class(c)),e.defs(c,"$polar",function(e,r){var n,o,s,i,a=this;return null==r&&(r=0),i=h.get("Numeric")["$==="](e),s=i!==!1&&i!==u?e["$real?"]():i,o=s!==!1&&s!==u?h.get("Numeric")["$==="](r):s,((n=o!==!1&&o!==u?r["$real?"]():o)===u||n.$$is_boolean&&1!=n)&&a.$raise(h.get("TypeError"),"not a real"),a.$new(t(e,h.get("Math").$cos(r)),t(e,h.get("Math").$sin(r)))}),c.$attr_reader("real","imag"),e.defn(c,"$initialize",function(e,t){var r=this;return null==t&&(t=0),r.real=e,r.imag=t}),e.defn(c,"$coerce",function(e){var t,r,n=this;return(t=h.get("Complex")["$==="](e))===u||t.$$is_boolean&&1!=t?(r=h.get("Numeric")["$==="](e),(t=r!==!1&&r!==u?e["$real?"]():r)===u||t.$$is_boolean&&1!=t?n.$raise(h.get("TypeError"),""+e.$class()+" can't be coerced into Complex"):[h.get("Complex").$new(e,0),n]):[e,n]}),e.defn(c,"$==",function(e){var t,r,n=this;return(t=h.get("Complex")["$==="](e))===u||t.$$is_boolean&&1!=t?(r=h.get("Numeric")["$==="](e),(t=r!==!1&&r!==u?e["$real?"]():r)===u||t.$$is_boolean&&1!=t?e["$=="](n):(t=n.real["$=="](e))?n.imag["$=="](0):n.real["$=="](e)):(t=n.real["$=="](e.$real()))?n.imag["$=="](e.$imag()):n.real["$=="](e.$real())}),e.defn(c,"$-@",function(){var e=this;return e.$Complex(e.real["$-@"](),e.imag["$-@"]())}),e.defn(c,"$+",function(e){var t,n,o=this;return(t=h.get("Complex")["$==="](e))===u||t.$$is_boolean&&1!=t?(n=h.get("Numeric")["$==="](e),(t=n!==!1&&n!==u?e["$real?"]():n)===u||t.$$is_boolean&&1!=t?o.$__coerced__("+",e):o.$Complex(r(o.real,e),o.imag)):o.$Complex(r(o.real,e.$real()),r(o.imag,e.$imag()))}),e.defn(c,"$-",function(e){var t,r,o=this;return(t=h.get("Complex")["$==="](e))===u||t.$$is_boolean&&1!=t?(r=h.get("Numeric")["$==="](e),(t=r!==!1&&r!==u?e["$real?"]():r)===u||t.$$is_boolean&&1!=t?o.$__coerced__("-",e):o.$Complex(n(o.real,e),o.imag)):o.$Complex(n(o.real,e.$real()),n(o.imag,e.$imag()))}),e.defn(c,"$*",function(e){var o,s,i=this;return(o=h.get("Complex")["$==="](e))===u||o.$$is_boolean&&1!=o?(s=h.get("Numeric")["$==="](e),(o=s!==!1&&s!==u?e["$real?"]():s)===u||o.$$is_boolean&&1!=o?i.$__coerced__("*",e):i.$Complex(t(i.real,e),t(i.imag,e))):i.$Complex(n(t(i.real,e.$real()),t(i.imag,e.$imag())),r(t(i.real,e.$imag()),t(i.imag,e.$real())))}),e.defn(c,"$/",function(e){var r,n,s,i,a,l=this;return(r=h.get("Complex")["$==="](e))===u||r.$$is_boolean&&1!=r?(n=h.get("Numeric")["$==="](e),(r=n!==!1&&n!==u?e["$real?"]():n)===u||r.$$is_boolean&&1!=r?l.$__coerced__("/",e):l.$Complex(l.real.$quo(e),l.imag.$quo(e))):(a=h.get("Number")["$==="](l.real),(r=(n=(s=(i=a!==!1&&a!==u?l.real["$nan?"]():a)!==!1&&i!==u?i:(a=h.get("Number")["$==="](l.imag),a!==!1&&a!==u?l.imag["$nan?"]():a))!==!1&&s!==u?s:(i=h.get("Number")["$==="](e.$real()),i!==!1&&i!==u?e.$real()["$nan?"]():i))!==!1&&n!==u?n:(s=h.get("Number")["$==="](e.$imag()),s!==!1&&s!==u?e.$imag()["$nan?"]():s))===u||r.$$is_boolean&&1!=r?o(t(l,e.$conj()),e.$abs2()):h.get("Complex").$new(h.get("Float").$$scope.get("NAN"),h.get("Float").$$scope.get("NAN")))}),e.defn(c,"$**",function(i){var a,l,d,c,p,f=this,m=u,b=u,v=u,_=u,g=u,y=u,$=u,w=u,x=u,E=u,P=u;if(i["$=="](0))return h.get("Complex").$new(1,0);if((a=h.get("Complex")["$==="](i))===u||a.$$is_boolean&&1!=a){if((a=h.get("Integer")["$==="](i))===u||a.$$is_boolean&&1!=a)return(a=(l=h.get("Float")["$==="](i))!==!1&&l!==u?l:h.get("Rational")["$==="](i))===u||a.$$is_boolean&&1!=a?f.$__coerced__("**",i):(l=f.$polar(),a=e.to_ary(l),m=null==a[0]?u:a[0],b=null==a[1]?u:a[1],l,h.get("Complex").$polar(m["$**"](i),t(b,i)));if((a=s(i,0))===u||a.$$is_boolean&&1!=a)return o(h.get("Rational").$new(1,1),f)["$**"](i["$-@"]());for($=f,w=$,x=n(i,1);(l=x["$!="](0))!==u&&(!l.$$is_boolean||1==l);){for(;p=x.$divmod(2),c=e.to_ary(p),E=null==c[0]?u:c[0],P=null==c[1]?u:c[1],(d=P["$=="](0))!==u&&(!d.$$is_boolean||1==d);)$=f.$Complex(n(t($.$real(),$.$real()),t($.$imag(),$.$imag())),t(t(2,$.$real()),$.$imag())),x=E;w=t(w,$),x=n(x,1)}return w}return l=f.$polar(),a=e.to_ary(l),m=null==a[0]?u:a[0],b=null==a[1]?u:a[1],l,v=i.$real(),_=i.$imag(),g=h.get("Math").$exp(n(t(v,h.get("Math").$log(m)),t(_,b))),y=r(t(b,v),t(_,h.get("Math").$log(m))),h.get("Complex").$polar(g,y)}),e.defn(c,"$abs",function(){var e=this;return h.get("Math").$hypot(e.real,e.imag)}),e.defn(c,"$abs2",function(){var e=this;return r(t(e.real,e.real),t(e.imag,e.imag))}),e.defn(c,"$angle",function(){var e=this;return h.get("Math").$atan2(e.imag,e.real)}),e.alias(c,"arg","angle"),e.defn(c,"$conj",function(){var e=this;return e.$Complex(e.real,e.imag["$-@"]())}),e.alias(c,"conjugate","conj"),e.defn(c,"$denominator",function(){var e=this;return e.real.$denominator().$lcm(e.imag.$denominator())}),e.alias(c,"divide","/"),e.defn(c,"$eql?",function(e){var t,r,n=this;return r=h.get("Complex")["$==="](e),t=r!==!1&&r!==u?n.real.$class()["$=="](n.imag.$class()):r,t!==!1&&t!==u?n["$=="](e):t}),e.defn(c,"$fdiv",function(e){var t,r=this;return((t=h.get("Numeric")["$==="](e))===u||t.$$is_boolean&&1!=t)&&r.$raise(h.get("TypeError"),""+e.$class()+" can't be coerced into Complex"),o(r,e)}),e.defn(c,"$hash",function(){var e=this;return"Complex:"+e.real+":"+e.imag}),e.alias(c,"imaginary","imag"),e.defn(c,"$inspect",function(){var e=this;return"("+e.$to_s()+")"}),e.alias(c,"magnitude","abs"),e.defn(c,"$numerator",function(){var e=this,r=u;return r=e.$denominator(),e.$Complex(t(e.real.$numerator(),o(r,e.real.$denominator())),t(e.imag.$numerator(),o(r,e.imag.$denominator())))}),e.alias(c,"phase","arg"),e.defn(c,"$polar",function(){var e=this;return[e.$abs(),e.$arg()]}),e.alias(c,"quo","/"),e.defn(c,"$rationalize",function(e){var t,r=this;return arguments.length>1&&r.$raise(h.get("ArgumentError"),"wrong number of arguments ("+arguments.length+" for 0..1)"),(t=r.imag["$!="](0))===u||t.$$is_boolean&&1!=t||r.$raise(h.get("RangeError"),"can't' convert "+r+" into Rational"),r.$real().$rationalize(e)}),e.defn(c,"$real?",function(){return!1}),e.defn(c,"$rect",function(){var e=this;return[e.real,e.imag]}),e.alias(c,"rectangular","rect"),e.defn(c,"$to_f",function(){var e=this;return e.imag["$=="](0)||e.$raise(h.get("RangeError"),"can't convert "+e+" into Float"),e.real.$to_f()}),e.defn(c,"$to_i",function(){var e=this;return e.imag["$=="](0)||e.$raise(h.get("RangeError"),"can't convert "+e+" into Integer"),e.real.$to_i()}),e.defn(c,"$to_r",function(){var e=this;return e.imag["$=="](0)||e.$raise(h.get("RangeError"),"can't convert "+e+" into Rational"),e.real.$to_r()}),e.defn(c,"$to_s",function(){var e,t,n,o=this,s=u;return s=o.real.$inspect(),n=h.get("Number")["$==="](o.imag),s=(e=(t=n!==!1&&n!==u?o.imag["$nan?"]():n)!==!1&&t!==u?t:o.imag["$positive?"]())===u||e.$$is_boolean&&1!=e?r(s,"-"):r(s,"+"),s=r(s,o.imag.$abs().$inspect()),t=h.get("Number")["$==="](o.imag),(e=t!==!1&&t!==u?(n=o.imag["$nan?"]())!==!1&&n!==u?n:o.imag["$infinite?"]():t)===u||e.$$is_boolean&&1!=e||(s=r(s,"*")),r(s,"i")}),e.cdecl(h,"I",c.$new(0,1))}(a.base,a.get("Numeric")),function(t){var r,n=r=d(t,"Kernel"),o=(n.$$proto,n.$$scope);e.defn(n,"$Complex",function(e,t){return null==t&&(t=u),t!==!1&&t!==u?o.get("Complex").$new(e,t):o.get("Complex").$new(e,0)})}(a.base)},Opal.modules["corelib/rational"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?et:e["$>"](t)}function a(e,t){return"number"==typeof e&&"number"==typeof t?e<=t:e["$<="](t)}e.dynamic_require_severity="warning";var u=e.top,l=e,d=e.nil,c=(e.breaker,e.slice,e.klass),p=e.module;return e.add_stubs(["$require","$to_i","$==","$raise","$<","$-@","$new","$gcd","$/","$nil?","$===","$reduce","$to_r","$equal?","$!","$coerce_to!","$attr_reader","$to_f","$numerator","$denominator","$<=>","$-","$*","$__coerced__","$+","$Rational","$>","$**","$abs","$ceil","$with_precision","$floor","$to_s","$<=","$truncate","$send","$convert"]),u.$require("corelib/numeric"),function(u,l){function p(){}var h=p=c(u,l,"Rational",p),f=h.$$proto,m=h.$$scope;return f.num=f.den=d,e.defs(h,"$reduce",function(e,n){var o,s=this,i=d;if(e=e.$to_i(),n=n.$to_i(),n["$=="](0))s.$raise(m.get("ZeroDivisionError"),"divided by 0");else if((o=t(n,0))===d||o.$$is_boolean&&1!=o){if(n["$=="](1))return s.$new(e,n)}else e=e["$-@"](),n=n["$-@"]();return i=e.$gcd(n),s.$new(r(e,i),r(n,i))}),e.defs(h,"$convert",function(e,t){var n,o,s,i=this;return(n=(o=e["$nil?"]())!==!1&&o!==d?o:t["$nil?"]())===d||n.$$is_boolean&&1!=n||i.$raise(m.get("TypeError"),"cannot convert nil into Rational"),o=m.get("Integer")["$==="](e),(n=o!==!1&&o!==d?m.get("Integer")["$==="](t):o)===d||n.$$is_boolean&&1!=n?((n=(o=(s=m.get("Float")["$==="](e))!==!1&&s!==d?s:m.get("String")["$==="](e))!==!1&&o!==d?o:m.get("Complex")["$==="](e))===d||n.$$is_boolean&&1!=n||(e=e.$to_r()),(n=(o=(s=m.get("Float")["$==="](t))!==!1&&s!==d?s:m.get("String")["$==="](t))!==!1&&o!==d?o:m.get("Complex")["$==="](t))===d||n.$$is_boolean&&1!=n||(t=t.$to_r()),o=t["$equal?"](1),(n=o!==!1&&o!==d?m.get("Integer")["$==="](e)["$!"]():o)===d||n.$$is_boolean&&1!=n?(o=m.get("Numeric")["$==="](e),(n=o!==!1&&o!==d?m.get("Numeric")["$==="](t):o)===d||n.$$is_boolean&&1!=n?i.$reduce(e,t):r(e,t)):m.get("Opal")["$coerce_to!"](e,m.get("Rational"),"to_r")):i.$reduce(e,t)}),h.$attr_reader("numerator","denominator"),e.defn(h,"$initialize",function(e,t){var r=this;return r.num=e,r.den=t}),e.defn(h,"$numerator",function(){var e=this;return e.num}),e.defn(h,"$denominator",function(){var e=this;return e.den}),e.defn(h,"$coerce",function(e){var t=this,r=d;return function(){return r=e,m.get("Rational")["$==="](r)?[e,t]:m.get("Integer")["$==="](r)?[e.$to_r(),t]:m.get("Float")["$==="](r)?[e,t.$to_f()]:d}()}),e.defn(h,"$==",function(e){var t,r=this,n=d;return function(){return n=e,m.get("Rational")["$==="](n)?(t=r.num["$=="](e.$numerator()))?r.den["$=="](e.$denominator()):r.num["$=="](e.$numerator()):m.get("Integer")["$==="](n)?(t=r.num["$=="](e))?r.den["$=="](1):r.num["$=="](e):m.get("Float")["$==="](n)?r.$to_f()["$=="](e):e["$=="](r)}()}),e.defn(h,"$<=>",function(e){var t=this,r=d;return function(){return r=e,m.get("Rational")["$==="](r)?n(o(t.num,e.$denominator()),o(t.den,e.$numerator()))["$<=>"](0):m.get("Integer")["$==="](r)?n(t.num,o(t.den,e))["$<=>"](0):m.get("Float")["$==="](r)?t.$to_f()["$<=>"](e):t.$__coerced__("<=>",e)}()}),e.defn(h,"$+",function(e){var t=this,r=d,n=d,i=d;return function(){return r=e,m.get("Rational")["$==="](r)?(n=s(o(t.num,e.$denominator()),o(t.den,e.$numerator())),i=o(t.den,e.$denominator()),t.$Rational(n,i)):m.get("Integer")["$==="](r)?t.$Rational(s(t.num,o(e,t.den)),t.den):m.get("Float")["$==="](r)?s(t.$to_f(),e):t.$__coerced__("+",e)}()}),e.defn(h,"$-",function(e){var t=this,r=d,s=d,i=d;return function(){return r=e,m.get("Rational")["$==="](r)?(s=n(o(t.num,e.$denominator()),o(t.den,e.$numerator())),i=o(t.den,e.$denominator()),t.$Rational(s,i)):m.get("Integer")["$==="](r)?t.$Rational(n(t.num,o(e,t.den)),t.den):m.get("Float")["$==="](r)?n(t.$to_f(),e):t.$__coerced__("-",e)}()}),e.defn(h,"$*",function(e){var t=this,r=d,n=d,s=d;return function(){return r=e,m.get("Rational")["$==="](r)?(n=o(t.num,e.$numerator()),s=o(t.den,e.$denominator()),t.$Rational(n,s)):m.get("Integer")["$==="](r)?t.$Rational(o(t.num,e),t.den):m.get("Float")["$==="](r)?o(t.$to_f(),e):t.$__coerced__("*",e)}()}),e.defn(h,"$/",function(e){var t=this,n=d,s=d,i=d;return function(){return n=e,m.get("Rational")["$==="](n)?(s=o(t.num,e.$denominator()),i=o(t.den,e.$numerator()),t.$Rational(s,i)):m.get("Integer")["$==="](n)?e["$=="](0)?r(t.$to_f(),0):t.$Rational(t.num,o(t.den,e)):m.get("Float")["$==="](n)?r(t.$to_f(),e):t.$__coerced__("/",e)}()}),e.defn(h,"$**",function(e){var r,n,o=this,s=d;return function(){return s=e,m.get("Integer")["$==="](s)?(r=(n=o["$=="](0))?t(e,0):o["$=="](0))===d||r.$$is_boolean&&1!=r?(r=i(e,0))===d||r.$$is_boolean&&1!=r?(r=t(e,0))===d||r.$$is_boolean&&1!=r?o.$Rational(1,1):o.$Rational(o.den["$**"](e["$-@"]()),o.num["$**"](e["$-@"]())):o.$Rational(o.num["$**"](e),o.den["$**"](e)):m.get("Float").$$scope.get("INFINITY"):m.get("Float")["$==="](s)?o.$to_f()["$**"](e):m.get("Rational")["$==="](s)?e["$=="](0)?o.$Rational(1,1):e.$denominator()["$=="](1)?(r=t(e,0))===d||r.$$is_boolean&&1!=r?o.$Rational(o.num["$**"](e.$numerator()),o.den["$**"](e.$numerator())):o.$Rational(o.den["$**"](e.$numerator().$abs()),o.num["$**"](e.$numerator().$abs())):(r=(n=o["$=="](0))?t(e,0):o["$=="](0))===d||r.$$is_boolean&&1!=r?o.$to_f()["$**"](e):o.$raise(m.get("ZeroDivisionError"),"divided by 0"):o.$__coerced__("**",e)}()}),e.defn(h,"$abs",function(){var e=this;return e.$Rational(e.num.$abs(),e.den.$abs())}),e.defn(h,"$ceil",function(e){var t=this;return null==e&&(e=0),e["$=="](0)?r(t.num["$-@"](),t.den)["$-@"]().$ceil():t.$with_precision("ceil",e)}),e.alias(h,"divide","/"),e.defn(h,"$floor",function(e){var t=this;return null==e&&(e=0),e["$=="](0)?r(t.num["$-@"](),t.den)["$-@"]().$floor():t.$with_precision("floor",e)}),e.defn(h,"$hash",function(){var e=this;return"Rational:"+e.num+":"+e.den}),e.defn(h,"$inspect",function(){var e=this;return"("+e.$to_s()+")"}),e.alias(h,"quo","/"),e.defn(h,"$rationalize",function(e){var t=this;if(arguments.length>1&&t.$raise(m.get("ArgumentError"),"wrong number of arguments ("+arguments.length+" for 0..1)"),null==e)return t;for(var o,i,u,l,d,c=e.$abs(),p=n(t,c),h=s(t,c),f=0,b=1,v=1,_=0;;){if(u=p.$ceil(),a(u,h))break;l=u-1,o=l*b+f,i=l*_+v,d=r(1,n(h,l)),h=r(1,n(p,l)),p=d,f=b,v=_,b=o,_=i}return t.$Rational(u*b+f,u*_+v)}),e.defn(h,"$round",function(e){var n,i=this,a=d,u=d,l=d;return null==e&&(e=0),e["$=="](0)?i.num["$=="](0)?0:i.den["$=="](1)?i.num:(a=s(o(i.num.$abs(),2),i.den),u=o(i.den,2),l=r(a,u).$truncate(),(n=t(i.num,0))===d||n.$$is_boolean&&1!=n?l:l["$-@"]()):i.$with_precision("round",e)}),e.defn(h,"$to_f",function(){var e=this;return r(e.num,e.den)}),e.defn(h,"$to_i",function(){var e=this;return e.$truncate()}),e.defn(h,"$to_r",function(){var e=this;return e}),e.defn(h,"$to_s",function(){var e=this;return""+e.num+"/"+e.den}),e.defn(h,"$truncate",function(e){var r,n=this;return null==e&&(e=0),e["$=="](0)?(r=t(n.num,0))===d||r.$$is_boolean&&1!=r?n.$floor():n.$ceil():n.$with_precision("truncate",e)}),e.defn(h,"$with_precision",function(e,n){var s,i=this,a=d,u=d;return((s=m.get("Integer")["$==="](n))===d||s.$$is_boolean&&1!=s)&&i.$raise(m.get("TypeError"),"not an Integer"),a=10["$**"](n),u=o(i,a),(s=t(n,1))===d||s.$$is_boolean&&1!=s?i.$Rational(u.$send(e),a):r(u.$send(e),a).$to_i()}),d&&"with_precision"}(l.base,l.get("Numeric")),function(t){var r,n=r=p(t,"Kernel"),o=(n.$$proto,n.$$scope);e.defn(n,"$Rational",function(e,t){return null==t&&(t=1),o.get("Rational").$convert(e,t)})}(l.base)},Opal.modules["corelib/time"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e>t:e["$>"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e","$to_f","$nil?","$>","$<","$strftime","$year","$month","$day","$+","$round","$/","$-","$copy_instance_variables","$initialize_dup","$is_a?","$zero?","$wday","$utc?","$mon","$yday","$hour","$min","$sec","$rjust","$ljust","$zone","$to_s","$[]","$cweek_cyear","$isdst","$<=","$!=","$==","$ceil"]),a.$require("corelib/comparable"),function(a,u){function h(){}function f(e,t,r,n,o,s){if(e=e.$$is_string?parseInt(e,10):b.get("Opal")["$coerce_to!"](e,b.get("Integer"),"to_int"),t===l)t=1;else if(!t.$$is_number)if(t["$respond_to?"]("to_str"))switch(t=t.$to_str(),t.toLowerCase()){case"jan":t=1;break;case"feb":t=2;break;case"mar":t=3;break;case"apr":t=4;break;case"may":t=5;break;case"jun":t=6;break;case"jul":t=7;break;case"aug":t=8;break;case"sep":t=9;break;case"oct":t=10;break; -case"nov":t=11;break;case"dec":t=12;break;default:t=t.$to_i()}else t=b.get("Opal")["$coerce_to!"](t,b.get("Integer"),"to_int");return(t<1||t>12)&&m.$raise(b.get("ArgumentError"),"month out of range: "+t),t-=1,r=r===l?1:r.$$is_string?parseInt(r,10):b.get("Opal")["$coerce_to!"](r,b.get("Integer"),"to_int"),(r<1||r>31)&&m.$raise(b.get("ArgumentError"),"day out of range: "+r),n=n===l?0:n.$$is_string?parseInt(n,10):b.get("Opal")["$coerce_to!"](n,b.get("Integer"),"to_int"),(n<0||n>24)&&m.$raise(b.get("ArgumentError"),"hour out of range: "+n),o=o===l?0:o.$$is_string?parseInt(o,10):b.get("Opal")["$coerce_to!"](o,b.get("Integer"),"to_int"),(o<0||o>59)&&m.$raise(b.get("ArgumentError"),"min out of range: "+o),s===l?s=0:s.$$is_number||(s=s.$$is_string?parseInt(s,10):b.get("Opal")["$coerce_to!"](s,b.get("Integer"),"to_int")),(s<0||s>60)&&m.$raise(b.get("ArgumentError"),"sec out of range: "+s),[e,t,r,n,o,s]}var m=h=c(a,u,"Time",h),b=(m.$$proto,m.$$scope);m.$include(b.get("Comparable"));var v=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],_=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],g=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],y=["January","February","March","April","May","June","July","August","September","October","November","December"];return e.defs(m,"$at",function(e,t){var r,n=this;return b.get("Time")["$==="](e)?(void 0!==t&&n.$raise(b.get("TypeError"),"can't convert Time into an exact number"),r=new Date(e.getTime()),r.is_utc=e.is_utc,r):(e.$$is_number||(e=b.get("Opal")["$coerce_to!"](e,b.get("Integer"),"to_int")),void 0===t?new Date(1e3*e):(t.$$is_number||(t=b.get("Opal")["$coerce_to!"](t,b.get("Integer"),"to_int")),new Date(1e3*e+t/1e3)))}),e.defs(m,"$new",function(e,t,r,n,o,s,i){var a=this;null==t&&(t=l),null==r&&(r=l),null==n&&(n=l),null==o&&(o=l),null==s&&(s=l),null==i&&(i=l);var u,d;return void 0===e?new Date:(i!==l&&a.$raise(b.get("ArgumentError"),"Opal does not support explicitly specifying UTC offset for Time"),u=f(e,t,r,n,o,s),e=u[0],t=u[1],r=u[2],n=u[3],o=u[4],s=u[5],d=new Date(e,t,r,n,o,0,1e3*s),e<100&&d.setFullYear(e),d)}),e.defs(m,"$local",function(e,t,r,n,o,s,i,a,u,c){null==t&&(t=l),null==r&&(r=l),null==n&&(n=l),null==o&&(o=l),null==s&&(s=l),null==i&&(i=l),null==a&&(a=l),null==u&&(u=l),null==c&&(c=l);var p,h;return 10===arguments.length&&(p=d.call(arguments),e=p[5],t=p[4],r=p[3],n=p[2],o=p[1],s=p[0]),p=f(e,t,r,n,o,s),e=p[0],t=p[1],r=p[2],n=p[3],o=p[4],s=p[5],h=new Date(e,t,r,n,o,0,1e3*s),e<100&&h.setFullYear(e),h}),e.defs(m,"$gm",function(e,t,r,n,o,s,i,a,u,c){null==t&&(t=l),null==r&&(r=l),null==n&&(n=l),null==o&&(o=l),null==s&&(s=l),null==i&&(i=l),null==a&&(a=l),null==u&&(u=l),null==c&&(c=l);var p,h;return 10===arguments.length&&(p=d.call(arguments),e=p[5],t=p[4],r=p[3],n=p[2],o=p[1],s=p[0]),p=f(e,t,r,n,o,s),e=p[0],t=p[1],r=p[2],n=p[3],o=p[4],s=p[5],h=new Date(Date.UTC(e,t,r,n,o,0,1e3*s)),e<100&&h.setUTCFullYear(e),h.is_utc=!0,h}),function(t){t.$$scope,t.$$proto;return e.alias(t,"mktime","local"),e.alias(t,"utc","gm")}(e.get_singleton_class(m)),e.defs(m,"$now",function(){var e=this;return e.$new()}),e.defn(m,"$+",function(e){var t,r=this;(t=b.get("Time")["$==="](e))===l||t.$$is_boolean&&1!=t||r.$raise(b.get("TypeError"),"time + time?"),e.$$is_number||(e=b.get("Opal")["$coerce_to!"](e,b.get("Integer"),"to_int"));var n=new Date(r.getTime()+1e3*e);return n.is_utc=r.is_utc,n}),e.defn(m,"$-",function(e){var t,r=this;if((t=b.get("Time")["$==="](e))!==l&&(!t.$$is_boolean||1==t))return(r.getTime()-e.getTime())/1e3;e.$$is_number||(e=b.get("Opal")["$coerce_to!"](e,b.get("Integer"),"to_int"));var n=new Date(r.getTime()-1e3*e);return n.is_utc=r.is_utc,n}),e.defn(m,"$<=>",function(e){var n,o=this,s=l;return(n=b.get("Time")["$==="](e))===l||n.$$is_boolean&&1!=n?(s=e["$<=>"](o),(n=s["$nil?"]())===l||n.$$is_boolean&&1!=n?(n=t(s,0))===l||n.$$is_boolean&&1!=n?(n=r(s,0))===l||n.$$is_boolean&&1!=n?0:1:-1:l):o.$to_f()["$<=>"](e.$to_f())}),e.defn(m,"$==",function(e){var t=this;return t.$to_f()===e.$to_f()}),e.defn(m,"$asctime",function(){var e=this;return e.$strftime("%a %b %e %H:%M:%S %Y")}),e.alias(m,"ctime","asctime"),e.defn(m,"$day",function(){var e=this;return e.is_utc?e.getUTCDate():e.getDate()}),e.defn(m,"$yday",function(){var e=this,t=l,r=l,i=l;return t=b.get("Time").$new(e.$year()).$to_i(),r=b.get("Time").$new(e.$year(),e.$month(),e.$day()).$to_i(),i=86400,n(o(s(r,t),i).$round(),1)}),e.defn(m,"$isdst",function(){var e=this,t=new Date(e.getFullYear(),0,1),r=new Date(e.getFullYear(),6,1);return e.getTimezoneOffset()"](e)["$zero?"]():t}),e.defn(m,"$friday?",function(){var e=this;return 5==e.$wday()}),e.defn(m,"$hash",function(){var e=this;return"Time:"+e.getTime()}),e.defn(m,"$hour",function(){var e=this;return e.is_utc?e.getUTCHours():e.getHours()}),e.defn(m,"$inspect",function(){var e,t=this;return(e=t["$utc?"]())===l||e.$$is_boolean&&1!=e?t.$strftime("%Y-%m-%d %H:%M:%S %z"):t.$strftime("%Y-%m-%d %H:%M:%S UTC")}),e.alias(m,"mday","day"),e.defn(m,"$min",function(){var e=this;return e.is_utc?e.getUTCMinutes():e.getMinutes()}),e.defn(m,"$mon",function(){var e=this;return(e.is_utc?e.getUTCMonth():e.getMonth())+1}),e.defn(m,"$monday?",function(){var e=this;return 1==e.$wday()}),e.alias(m,"month","mon"),e.defn(m,"$saturday?",function(){var e=this;return 6==e.$wday()}),e.defn(m,"$sec",function(){var e=this;return e.is_utc?e.getUTCSeconds():e.getSeconds()}),e.defn(m,"$succ",function(){var e=this,t=new Date(e.getTime()+1e3);return t.is_utc=e.is_utc,t}),e.defn(m,"$usec",function(){var e=this;return 1e3*e.getMilliseconds()}),e.defn(m,"$zone",function(){var e,t=this,r=t.toString();return e=r.indexOf("(")==-1?r.match(/[A-Z]{3,4}/)[0]:r.match(/\([^)]+\)/)[0].match(/[A-Z]/g).join(""),"GMT"==e&&/(GMT\W*\d{4})/.test(r)?RegExp.$1:e}),e.defn(m,"$getgm",function(){var e=this,t=new Date(e.getTime());return t.is_utc=!0,t}),e.alias(m,"getutc","getgm"),e.defn(m,"$gmtime",function(){var e=this;return e.is_utc=!0,e}),e.alias(m,"utc","gmtime"),e.defn(m,"$gmt?",function(){var e=this;return e.is_utc===!0}),e.defn(m,"$gmt_offset",function(){var e=this;return 60*-e.getTimezoneOffset()}),e.defn(m,"$strftime",function(e){var t=this;return e.replace(/%([\-_#^0]*:{0,2})(\d+)?([EO]*)(.)/g,function(e,r,n,o,s){var i="",a=r.indexOf("0")!==-1,u=r.indexOf("-")===-1,l=r.indexOf("_")!==-1,d=r.indexOf("^")!==-1,c=r.indexOf("#")!==-1,h=(r.match(":")||[]).length;switch(n=parseInt(n,10),a&&l&&(r.indexOf("0")=12?"pm":"am";break;case"p":i+=t.$hour()>=12?"PM":"AM";break;case"M":a=!l,i+=t.$min();break;case"S":a=!l,i+=t.$sec();break;case"L":a=!l,n=isNaN(n)?3:n,i+=t.getMilliseconds();break;case"N":n=isNaN(n)?9:n,i+=t.getMilliseconds().toString().$rjust(3,"0"),i=i.$ljust(n,"0");break;case"z":var f=t.getTimezoneOffset(),m=Math.floor(Math.abs(f)/60),b=Math.abs(f)%60;i+=f<0?"+":"-",i+=m<10?"0":"",i+=m,h>0&&(i+=":"),i+=b<10?"0":"",i+=b,h>1&&(i+=":00");break;case"Z":i+=t.$zone();break;case"A":i+=v[t.$wday()];break;case"a":i+=_[t.$wday()];break;case"u":i+=t.$wday()+1;break;case"w":i+=t.$wday();break;case"V":i+=t.$cweek_cyear()["$[]"](0).$to_s().$rjust(2,"0");break;case"G":i+=t.$cweek_cyear()["$[]"](1);break;case"g":i+=t.$cweek_cyear()["$[]"](1)["$[]"](p(-2,-1,!1));break;case"s":i+=t.$to_i();break;case"n":i+="\n";break;case"t":i+="\t";break;case"%":i+="%";break;case"c":i+=t.$strftime("%a %b %e %T %Y");break;case"D":case"x":i+=t.$strftime("%m/%d/%y");break;case"F":i+=t.$strftime("%Y-%m-%d");break;case"v":i+=t.$strftime("%e-%^b-%4Y");break;case"r":i+=t.$strftime("%I:%M:%S %p");break;case"R":i+=t.$strftime("%H:%M");break;case"T":case"X":i+=t.$strftime("%H:%M:%S");break;default:return e}return d&&(i=i.toUpperCase()),c&&(i=i.replace(/[A-Z]/,function(e){e.toLowerCase()}).replace(/[a-z]/,function(e){e.toUpperCase()})),u&&(a||l)&&(i=i.$rjust(isNaN(n)?2:n,l?" ":"0")),i})}),e.defn(m,"$sunday?",function(){var e=this;return 0==e.$wday()}),e.defn(m,"$thursday?",function(){var e=this;return 4==e.$wday()}),e.defn(m,"$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()]}),e.defn(m,"$to_f",function(){var e=this;return e.getTime()/1e3}),e.defn(m,"$to_i",function(){var e=this;return parseInt(e.getTime()/1e3,10)}),e.alias(m,"to_s","inspect"),e.defn(m,"$tuesday?",function(){var e=this;return 2==e.$wday()}),e.alias(m,"tv_sec","sec"),e.alias(m,"tv_usec","usec"),e.alias(m,"utc?","gmt?"),e.alias(m,"gmtoff","gmt_offset"),e.alias(m,"utc_offset","gmt_offset"),e.defn(m,"$wday",function(){var e=this;return e.is_utc?e.getUTCDay():e.getDay()}),e.defn(m,"$wednesday?",function(){var e=this;return 3==e.$wday()}),e.defn(m,"$year",function(){var e=this;return e.is_utc?e.getUTCFullYear():e.getFullYear()}),e.defn(m,"$cweek_cyear",function(){var e,t,r=this,a=l,u=l,d=l,c=l,p=l,h=l,f=l,m=l;return a=b.get("Time").$new(r.$year(),1,1),u=a.$wday(),d=0,c=r.$year(),t=i(u,4),(e=t!==!1&&t!==l?u["$!="](0):t)===l||e.$$is_boolean&&1!=e?(p=s(s(u,7),1),p["$=="](-8)&&(p=-1)):p=s(u,1),h=o(n(r.$yday(),p),7).$ceil(),(e=i(h,0))===l||e.$$is_boolean&&1!=e?(h["$=="](53)&&(f=b.get("Time").$new(r.$year(),12,31),m=f.$wday(),t=i(m,3),(e=t!==!1&&t!==l?m["$!="](0):t)===l||e.$$is_boolean&&1!=e||(h=1,c=n(c,1))),[h,c]):b.get("Time").$new(s(r.$year(),1),12,31).$cweek_cyear()}),l&&"cweek_cyear"}(u.base,Date)},Opal.modules["corelib/struct"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e=t:e["$>="](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}e.dynamic_require_severity="warning";var o=e.top,s=e,i=e.nil,a=e.breaker,u=(e.slice,e.klass),l=e.hash2;return e.add_stubs(["$require","$include","$==","$[]","$upcase","$const_set","$new","$unshift","$each","$define_struct_attribute","$class_eval","$to_proc","$allocate","$initialize","$raise","$<<","$members","$define_method","$instance_eval","$each_with_index","$[]=","$class","$hash","$===","$<","$-@","$size","$>=","$coerce_to!","$include?","$to_sym","$instance_of?","$__id__","$eql?","$enum_for","$length","$map","$+","$join","$inspect","$each_pair","$inject","$flatten","$to_a"]),o.$require("corelib/enumerable"),function(o,s){function d(){}var c,p,h,f=d=u(o,s,"Struct",d),m=(f.$$proto,f.$$scope);return f.$include(m.get("Enumerable")),e.defs(f,"$new",c=function(t){var r,n,o,s,a=this,u=c.$$p,l=u||i,p=i,h=i,f=i,b=arguments.length-1;b<0&&(b=0);var v=new Array(b);for(p=0;p")}),e.alias(f,"to_s","inspect"),e.defn(f,"$to_h",function(){var e,t,r,n=this;return(e=(t=n.$members()).$inject,e.$$p=(r=function(e,t){var n=r.$$s||this;return null==e&&(e=i),null==t&&(t=i),e["$[]="](t,n["$[]"](t)),e},r.$$s=n,r),e).call(t,l([],{}))}),e.defn(f,"$values_at",function(){var e,t,r,n=this,o=i,s=arguments.length-0;s<0&&(s=0);var a=new Array(s);for(o=0;othis.OPENED&&a&&a.headers&&a.headers[e.toLowerCase()]&&!_?a.headers[e.toLowerCase()]:null; -},this.getAllResponseHeaders=function(){if(this.readyState=0;)r+=1,n=e.indexOf(t,n+1);return r}t.exports=n},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/hubpress-core-slugify/node_modules/string/lib/_splitLeft.js":[function(e,t,r){function n(e,t,r,n){if("undefined"==typeof r)var r=-1;var o=e.split(t),s=o.slice(0,r),i=o.slice(r);return o=0===i.length?s:s.concat(i.join(t)),"undefined"==typeof n?o:n<0?o.slice(n):o.slice(0,n)}t.exports=n},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/hubpress-core-slugify/node_modules/string/lib/_splitRight.js":[function(e,t,r){function n(e,t,r,n){if("undefined"==typeof r)var r=-1;if("undefined"==typeof n)var n=0;for(var o=[e],s=e.length-1;s>=0;s--)0===o[0].slice(s).indexOf(t)&&(o.length<=r||r===-1)&&(o.splice(1,0,o[0].slice(s+t.length)),o[0]=o[0].slice(0,s));return n>=0?o.slice(-n):o.slice(0,-n)}t.exports=n},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/hubpress-core-slugify/node_modules/string/lib/string.js":[function(e,t,r){!function(){"use strict";function r(e,t){null!==t&&void 0!==t?"string"==typeof t?e.s=t:e.s=t.toString():e.s=t,e.orig=t,null!==t&&void 0!==t?e.__defineGetter__?e.__defineGetter__("length",function(){return e.s.length}):e.length=t.length:e.length=-1}function n(e){r(this,e)}function o(){for(var e in b)!function(e){var t=b[e];m.hasOwnProperty(e)||(v.push(e),m[e]=function(){return String.prototype.s=this,t.apply(this,arguments)})}(e)}function s(){for(var e=0;e=0},count:function(t){return e("./_count")(this.s,t)},dasherize:function(){var e=this.trim().s.replace(/[_\s]+/g,"-").replace(/([A-Z])/g,"-$1").replace(/-+/g,"-").toLowerCase();return new this.constructor(e)},latinise:function(){var e=this.replace(/[^A-Za-z0-9\[\] ]/g,function(e){return f[e]||e});return new this.constructor(e)},decodeHtmlEntities:function(){var e=this.s;return e=e.replace(/&#(\d+);?/g,function(e,t){return String.fromCharCode(t)}).replace(/&#[xX]([A-Fa-f0-9]+);?/g,function(e,t){return String.fromCharCode(parseInt(t,16))}).replace(/&([^;\W]+;?)/g,function(e,t){var r=t.replace(/;$/,""),n=h[t]||t.match(/;$/)&&h[r];return"number"==typeof n?String.fromCharCode(n):"string"==typeof n?n:e}),new this.constructor(e)},endsWith:function(){for(var e=Array.prototype.slice.call(arguments,0),t=0;t=0&&this.s.indexOf(e[t],r)===r)return!0}return!1},escapeHTML:function(){return new this.constructor(this.s.replace(/[&<>"']/g,function(e){return"&"+$[e]+";"}))},ensureLeft:function(e){var t=this.s;return 0===t.indexOf(e)?this:new this.constructor(e+t)},ensureRight:function(e){var t=this.s;return this.endsWith(e)?this:new this.constructor(t+e)},humanize:function(){if(null===this.s||void 0===this.s)return new this.constructor("");var e=this.underscore().replace(/_id$/,"").replace(/_/g," ").trim().capitalize();return new this.constructor(e)},isAlpha:function(){return!/[^a-z\xDF-\xFF]|^$/.test(this.s.toLowerCase())},isAlphaNumeric:function(){return!/[^0-9a-z\xDF-\xFF]/.test(this.s.toLowerCase())},isEmpty:function(){return null===this.s||void 0===this.s||/^[\s\xa0]*$/.test(this.s)},isLower:function(){return this.isAlpha()&&this.s.toLowerCase()===this.s},isNumeric:function(){return!/[^0-9]/.test(this.s)},isUpper:function(){return this.isAlpha()&&this.s.toUpperCase()===this.s},left:function(e){if(e>=0){var t=this.s.substr(0,e);return new this.constructor(t)}return this.right(-e)},lines:function(){return this.replaceAll("\r\n","\n").s.split("\n")},pad:function(e,t){if(null==t&&(t=" "),this.s.length>=e)return new this.constructor(this.s);e-=this.s.length;var r=Array(Math.ceil(e/2)+1).join(t),n=Array(Math.floor(e/2)+1).join(t);return new this.constructor(r+this.s+n)},padLeft:function(e,t){return null==t&&(t=" "),this.s.length>=e?new this.constructor(this.s):new this.constructor(Array(e-this.s.length+1).join(t)+this.s)},padRight:function(e,t){return null==t&&(t=" "),this.s.length>=e?new this.constructor(this.s):new this.constructor(this.s+Array(e-this.s.length+1).join(t))},parseCSV:function(e,t,r,n){e=e||",",r=r||"\\","undefined"==typeof t&&(t='"');var o=0,s=[],i=[],a=this.s.length,u=!1,l=!1,d=this,c=function(e){return d.s.charAt(e)};if("undefined"!=typeof n)var p=[];for(t||(u=!0);o=0){var t=this.s.substr(this.s.length-e,e);return new this.constructor(t)}return this.left(-e)},setValue:function(e){return r(this,e),this},slugify:function(){var e=new n(new n(this.s).latinise().s.replace(/[^\w\s-]/g,"").toLowerCase()).dasherize().s;return"-"===e.charAt(0)&&(e=e.substr(1)),new this.constructor(e)},startsWith:function(){for(var e=Array.prototype.slice.call(arguments,0),t=0;t0?arguments:[""];return l(t,function(t){e=e.replace(RegExp("]*>","gi"),"")}),new this.constructor(e)},template:function(e,t,r){var n=this.s,t=t||u.TMPL_OPEN,r=r||u.TMPL_CLOSE,o=t.replace(/[-[\]()*\s]/g,"\\$&").replace(/\$/g,"\\$"),s=r.replace(/[-[\]()*\s]/g,"\\$&").replace(/\$/g,"\\$"),i=new RegExp(o+"(.+?)"+s,"g"),a=n.match(i)||[];return a.forEach(function(o){var s=o.substring(t.length,o.length-r.length).trim(),i="undefined"==typeof e[s]?"":e[s];n=n.replace(o,i)}),new this.constructor(n)},times:function(e){return new this.constructor(new Array(e+1).join(this.s))},titleCase:function(){var e=this.s;return e&&(e=e.replace(/(^[a-z]| [a-z]|-[a-z]|_[a-z])/g,function(e){return e.toUpperCase()})),new this.constructor(e)},toBoolean:function(){if("string"==typeof this.orig){var e=this.s.toLowerCase();return"true"===e||"yes"===e||"on"===e||"1"===e}return this.orig===!0||1===this.orig},toFloat:function(e){var t=parseFloat(this.s);return e?parseFloat(t.toFixed(e)):t},toInt:function(){return/^\s*-?0x/i.test(this.s)?parseInt(this.s,16):parseInt(this.s,10)},trim:function(){var e;return e="undefined"==typeof m.trim?this.s.replace(/(^\s*|\s*$)/g,""):this.s.trim(),new this.constructor(e)},trimLeft:function(){var e;return e=m.trimLeft?this.s.trimLeft():this.s.replace(/(^\s*)/g,""),new this.constructor(e)},trimRight:function(){var e;return e=m.trimRight?this.s.trimRight():this.s.replace(/\s+$/,""),new this.constructor(e)},truncate:function(e,t){var r=this.s;if(e=~~e,t=t||"...",r.length<=e)return new this.constructor(r);var o=function(e){return e.toUpperCase()!==e.toLowerCase()?"A":" "},s=r.slice(0,e+1).replace(/.(?=\W*\w*$)/g,o);return s=s.slice(s.length-2).match(/\w\w/)?s.replace(/\s*\S+$/,""):new n(s.slice(0,s.length-1)).trimRight().s,new n((s+t).length>r.length?r:r.slice(0,s.length)+t)},toCSV:function(){function e(e){return null!==e&&""!==e}var t=",",r='"',o="\\",s=!0,i=!1,a=[];if("object"==typeof arguments[0]?(t=arguments[0].delimiter||t,t=arguments[0].separator||t,r=arguments[0].qualifier||r,s=!!arguments[0].encloseNumbers,o=arguments[0].escape||o,i=!!arguments[0].keys):"string"==typeof arguments[0]&&(t=arguments[0]),"string"==typeof arguments[1]&&(r=arguments[1]),null===arguments[1]&&(r=null),this.orig instanceof Array)a=this.orig;else for(var u in this.orig)this.orig.hasOwnProperty(u)&&(i?a.push(u):a.push(this.orig[u]));for(var l=o+r,d=[],c=0;c",this,""),new this.constructor(r)}},v=[],_=i();for(var g in _)!function(e){var t=m[e];"function"==typeof t&&(b[e]||("string"===_[e]?b[e]=function(){return new this.constructor(t.apply(this,arguments))}:b[e]=t))}(g);b.repeat=b.times,b.include=b.contains,b.toInteger=b.toInt,b.toBool=b.toBoolean,b.decodeHTMLEntities=b.decodeHtmlEntities,b.constructor=n,u.extendPrototype=o,u.restorePrototype=s,u.VERSION=p,u.TMPL_OPEN="{{",u.TMPL_CLOSE="}}",u.ENTITIES=h,"undefined"!=typeof t&&"undefined"!=typeof t.exports?t.exports=u:"function"==typeof define&&define.amd?define([],function(){return u}):window.S=u;var y={lt:"<",gt:">",quot:'"',apos:"'",amp:"&"},$={};for(var w in y)$[y[w]]=w;h={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,"OElig;":338,"oelig;":339,"Scaron;":352,"scaron;":353,"Yuml;":376,"fnof;":402,"circ;":710,"tilde;":732,"Alpha;":913,"Beta;":914,"Gamma;":915,"Delta;":916,"Epsilon;":917,"Zeta;":918,"Eta;":919,"Theta;":920,"Iota;":921,"Kappa;":922,"Lambda;":923,"Mu;":924,"Nu;":925,"Xi;":926,"Omicron;":927,"Pi;":928,"Rho;":929,"Sigma;":931,"Tau;":932,"Upsilon;":933,"Phi;":934,"Chi;":935,"Psi;":936,"Omega;":937,"alpha;":945,"beta;":946,"gamma;":947,"delta;":948,"epsilon;":949,"zeta;":950,"eta;":951,"theta;":952,"iota;":953,"kappa;":954,"lambda;":955,"mu;":956,"nu;":957,"xi;":958,"omicron;":959,"pi;":960,"rho;":961,"sigmaf;":962,"sigma;":963,"tau;":964,"upsilon;":965,"phi;":966,"chi;":967,"psi;":968,"omega;":969,"thetasym;":977,"upsih;":978,"piv;":982,"ensp;":8194,"emsp;":8195,"thinsp;":8201,"zwnj;":8204,"zwj;":8205,"lrm;":8206,"rlm;":8207,"ndash;":8211,"mdash;":8212,"lsquo;":8216,"rsquo;":8217,"sbquo;":8218,"ldquo;":8220,"rdquo;":8221,"bdquo;":8222,"dagger;":8224,"Dagger;":8225,"bull;":8226,"hellip;":8230,"permil;":8240,"prime;":8242,"Prime;":8243,"lsaquo;":8249,"rsaquo;":8250,"oline;":8254,"frasl;":8260,"euro;":8364,"image;":8465,"weierp;":8472,"real;":8476,"trade;":8482,"alefsym;":8501,"larr;":8592,"uarr;":8593,"rarr;":8594,"darr;":8595,"harr;":8596,"crarr;":8629,"lArr;":8656,"uArr;":8657,"rArr;":8658,"dArr;":8659,"hArr;":8660,"forall;":8704,"part;":8706,"exist;":8707,"empty;":8709,"nabla;":8711,"isin;":8712,"notin;":8713,"ni;":8715,"prod;":8719,"sum;":8721,"minus;":8722,"lowast;":8727,"radic;":8730,"prop;":8733,"infin;":8734,"ang;":8736,"and;":8743,"or;":8744,"cap;":8745,"cup;":8746,"int;":8747,"there4;":8756,"sim;":8764,"cong;":8773,"asymp;":8776,"ne;":8800,"equiv;":8801,"le;":8804,"ge;":8805,"sub;":8834,"sup;":8835,"nsub;":8836,"sube;":8838,"supe;":8839,"oplus;":8853,"otimes;":8855,"perp;":8869,"sdot;":8901,"lceil;":8968,"rceil;":8969,"lfloor;":8970,"rfloor;":8971,"lang;":9001,"rang;":9002,"loz;":9674,"spades;":9824,"clubs;":9827,"hearts;":9829,"diams;":9830}}.call(this)},{"./_count":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/hubpress-core-slugify/node_modules/string/lib/_count.js","./_splitLeft":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/hubpress-core-slugify/node_modules/string/lib/_splitLeft.js","./_splitRight":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/hubpress-core-slugify/node_modules/string/lib/_splitRight.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/moment/moment.js":[function(e,t,r){!function(e,n){"object"==typeof r&&"undefined"!=typeof t?t.exports=n():"function"==typeof define&&define.amd?define(n):e.moment=n()}(this,function(){"use strict";function r(){return mn.apply(null,arguments)}function n(e){mn=e}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return"[object Object]"===Object.prototype.toString.call(e)}function i(e){var t;for(t in e)return!1;return!0}function a(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var r,n=[];for(r=0;r0)for(r in vn)n=vn[r],o=t[n],b(o)||(e[n]=o);return e}function _(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),_n===!1&&(_n=!0,r.updateOffset(this),_n=!1)}function g(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function y(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function $(e){var t=+e,r=0;return 0!==t&&isFinite(t)&&(r=y(t)),r}function w(e,t,r){var n,o=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),i=0;for(n=0;n0?"future":"past"];return C(r)?r(t):r.replace(/%s/i,t)}function M(e,t){var r=e.toLowerCase();Tn[r]=Tn[r+"s"]=Tn[t]=e}function R(e){return"string"==typeof e?Tn[e]||Tn[e.toLowerCase()]:void 0}function B(e){var t,r,n={};for(r in e)l(e,r)&&(t=R(r),t&&(n[t]=e[r]));return n}function I(e,t){An[e]=t}function N(e){var t=[];for(var r in e)t.push({unit:r,priority:An[r]});return t.sort(function(e,t){return e.priority-t.priority}),t}function L(e,t){return function(n){return null!=n?(U(this,e,n),r.updateOffset(this,t),this):q(this,e)}}function q(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function U(e,t,r){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](r)}function z(e){return e=R(e),C(this[e])?this[e]():this}function W(e,t){if("object"==typeof e){e=B(e);for(var r=N(e),n=0;n=0;return(s?r?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+n}function G(e,t,r,n){var o=n;"string"==typeof n&&(o=function(){return this[n]()}),e&&(On[e]=o),t&&(On[t[0]]=function(){return V(o.apply(this,arguments),t[1],t[2])}),r&&(On[r]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function K(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Y(e){var t,r,n=e.match(Sn);for(t=0,r=n.length;t=0&&kn.test(e);)e=e.replace(kn,r),kn.lastIndex=0,n-=1;return e}function J(e,t,r){Zn[e]=C(t)?t:function(e,n){return e&&r?r:t}}function Q(e,t){return l(Zn,e)?Zn[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,r,n,o){return t||r||n||o}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function re(e,t){var r,n=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(n=function(e,r){r[t]=$(e)}),r=0;r=0&&isFinite(a.getFullYear())&&a.setFullYear(e),a}function ye(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function $e(e,t,r){var n=7+t-r,o=(7+ye(e,0,n).getUTCDay()-t)%7;return-o+n-1}function we(e,t,r,n,o){var s,i,a=(7+r-n)%7,u=$e(e,n,o),l=1+7*(t-1)+a+u;return l<=0?(s=e-1,i=be(s)+l):l>be(e)?(s=e+1,i=l-be(e)):(s=e,i=l),{year:s,dayOfYear:i}}function xe(e,t,r){var n,o,s=$e(e.year(),t,r),i=Math.floor((e.dayOfYear()-s-1)/7)+1;return i<1?(o=e.year()-1,n=i+Ee(o,t,r)):i>Ee(e.year(),t,r)?(n=i-Ee(e.year(),t,r),o=e.year()+1):(o=e.year(),n=i),{week:n,year:o}}function Ee(e,t,r){var n=$e(e,t,r),o=$e(e+1,t,r);return(be(e)-n+o)/7}function Pe(e){return xe(e,this._week.dow,this._week.doy).week}function Ce(){return this._week.dow}function je(){return this._week.doy}function Te(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ae(e){var t=xe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Se(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function ke(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function De(e,t){return o(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]}function Oe(e){return this._weekdaysShort[e.day()]}function He(e){return this._weekdaysMin[e.day()]}function Fe(e,t,r){var n,o,s,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)s=c([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return r?"dddd"===t?(o=$n.call(this._weekdaysParse,i),o!==-1?o:null):"ddd"===t?(o=$n.call(this._shortWeekdaysParse,i),o!==-1?o:null):(o=$n.call(this._minWeekdaysParse,i),o!==-1?o:null):"dddd"===t?(o=$n.call(this._weekdaysParse,i),o!==-1?o:(o=$n.call(this._shortWeekdaysParse,i),o!==-1?o:(o=$n.call(this._minWeekdaysParse,i),o!==-1?o:null))):"ddd"===t?(o=$n.call(this._shortWeekdaysParse,i),o!==-1?o:(o=$n.call(this._weekdaysParse,i),o!==-1?o:(o=$n.call(this._minWeekdaysParse,i),o!==-1?o:null))):(o=$n.call(this._minWeekdaysParse,i),o!==-1?o:(o=$n.call(this._weekdaysParse,i),o!==-1?o:(o=$n.call(this._shortWeekdaysParse,i),o!==-1?o:null)))}function Me(e,t,r){var n,o,s;if(this._weekdaysParseExact)return Fe.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(o=c([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(o,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(o,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(o,"").replace(".",".?")+"$","i")),this._weekdaysParse[n]||(s="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[n]=new RegExp(s.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(r&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(r&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function Re(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Se(e,this.localeData()),this.add(e-t,"d")):t}function Be(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Ie(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=ke(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Ne(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=go),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Le(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=yo),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function qe(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=$o),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ue(){function e(e,t){return t.length-e.length}var t,r,n,o,s,i=[],a=[],u=[],l=[];for(t=0;t<7;t++)r=c([2e3,1]).day(t),n=this.weekdaysMin(r,""),o=this.weekdaysShort(r,""),s=this.weekdays(r,""),i.push(n),a.push(o),u.push(s),l.push(n),l.push(o),l.push(s);for(i.sort(e),a.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)a[t]=te(a[t]),u[t]=te(u[t]),l[t]=te(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function ze(){return this.hours()%12||12}function We(){return this.hours()||24}function Ve(e,t){G(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ge(e,t){return t._meridiemParse}function Ke(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ye(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}function Xe(e){return e?e.toLowerCase().replace("_","-"):e}function Ze(e){for(var t,r,n,o,s=0;s0;){if(n=Je(o.slice(0,t).join("-")))return n;if(r&&r.length>=t&&w(o,r,!0)>=t-1)break;t--}s++}return null}function Je(r){var n=null;if(!Co[r]&&"undefined"!=typeof t&&t&&t.exports)try{n=wo._abbr,e("./locale/"+r),Qe(n)}catch(o){}return Co[r]}function Qe(e,t){var r;return e&&(r=b(t)?rt(e):et(e,t),r&&(wo=r)),wo._abbr}function et(e,t){if(null!==t){var r=Po;return t.abbr=e,null!=Co[e]?(P("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=Co[e]._config):null!=t.parentLocale&&(null!=Co[t.parentLocale]?r=Co[t.parentLocale]._config:P("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),Co[e]=new A(T(r,t)),Qe(e),Co[e]}return delete Co[e],null}function tt(e,t){if(null!=t){var r,n=Po;null!=Co[e]&&(n=Co[e]._config),t=T(n,t),r=new A(t),r.parentLocale=Co[e],Co[e]=r,Qe(e)}else null!=Co[e]&&(null!=Co[e].parentLocale?Co[e]=Co[e].parentLocale:null!=Co[e]&&delete Co[e]);return Co[e]}function rt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return wo;if(!o(e)){if(t=Je(e))return t;e=[e]}return Ze(e)}function nt(){return yn(Co)}function ot(e){var t,r=e._a;return r&&h(e).overflow===-2&&(t=r[eo]<0||r[eo]>11?eo:r[to]<1||r[to]>se(r[Qn],r[eo])?to:r[ro]<0||r[ro]>24||24===r[ro]&&(0!==r[no]||0!==r[oo]||0!==r[so])?ro:r[no]<0||r[no]>59?no:r[oo]<0||r[oo]>59?oo:r[so]<0||r[so]>999?so:-1,h(e)._overflowDayOfYear&&(tto)&&(t=to),h(e)._overflowWeeks&&t===-1&&(t=io),h(e)._overflowWeekday&&t===-1&&(t=ao),h(e).overflow=t),e}function st(e){var t,r,n,o,s,i,a=e._i,u=jo.exec(a)||To.exec(a);if(u){for(h(e).iso=!0,t=0,r=So.length;tbe(o)&&(h(e)._overflowDayOfYear=!0),r=ye(o,0,e._dayOfYear),e._a[eo]=r.getUTCMonth(),e._a[to]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=n[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ro]&&0===e._a[no]&&0===e._a[oo]&&0===e._a[so]&&(e._nextDay=!0,e._a[ro]=0),e._d=(e._useUTC?ye:ge).apply(null,s),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ro]=24)}}function dt(e){var t,r,n,o,s,i,a,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(s=1,i=4,r=at(t.GG,e._a[Qn],xe(gt(),1,4).year),n=at(t.W,1),o=at(t.E,1),(o<1||o>7)&&(u=!0)):(s=e._locale._week.dow,i=e._locale._week.doy,r=at(t.gg,e._a[Qn],xe(gt(),s,i).year),n=at(t.w,1),null!=t.d?(o=t.d,(o<0||o>6)&&(u=!0)):null!=t.e?(o=t.e+s,(t.e<0||t.e>6)&&(u=!0)):o=s),n<1||n>Ee(r,s,i)?h(e)._overflowWeeks=!0:null!=u?h(e)._overflowWeekday=!0:(a=we(r,n,o,s,i),e._a[Qn]=a.year,e._dayOfYear=a.dayOfYear)}function ct(e){if(e._f===r.ISO_8601)return void st(e);e._a=[],h(e).empty=!0;var t,n,o,s,i,a=""+e._i,u=a.length,l=0;for(o=Z(e._f,e._locale).match(Sn)||[],t=0;t0&&h(e).unusedInput.push(i),a=a.slice(a.indexOf(n)+n.length),l+=n.length),On[s]?(n?h(e).empty=!1:h(e).unusedTokens.push(s),oe(s,n,e)):e._strict&&!n&&h(e).unusedTokens.push(s);h(e).charsLeftOver=u-l,a.length>0&&h(e).unusedInput.push(a),e._a[ro]<=12&&h(e).bigHour===!0&&e._a[ro]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[ro]=pt(e._locale,e._a[ro],e._meridiem),lt(e),ot(e)}function pt(e,t,r){var n;return null==r?t:null!=e.meridiemHour?e.meridiemHour(t,r):null!=e.isPM?(n=e.isPM(r),n&&t<12&&(t+=12),n||12!==t||(t=0),t):t}function ht(e){var t,r,n,o,s;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;othis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Mt(){if(!b(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=bt(e),e._a){var t=e._isUTC?c(e._a):gt(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Rt(){return!!this.isValid()&&!this._isUTC}function Bt(){return!!this.isValid()&&this._isUTC}function It(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Nt(e,t){var r,n,o,s=e,i=null;return Et(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(s={},t?s[t]=e:s.milliseconds=e):(i=Ro.exec(e))?(r="-"===i[1]?-1:1,s={y:0,d:$(i[to])*r,h:$(i[ro])*r,m:$(i[no])*r,s:$(i[oo])*r,ms:$(i[so])*r}):(i=Bo.exec(e))?(r="-"===i[1]?-1:1,s={y:Lt(i[2],r),M:Lt(i[3],r),w:Lt(i[4],r),d:Lt(i[5],r),h:Lt(i[6],r),m:Lt(i[7],r),s:Lt(i[8],r)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(o=Ut(gt(s.from),gt(s.to)),s={},s.ms=o.milliseconds,s.M=o.months),n=new xt(s),Et(e)&&l(e,"_locale")&&(n._locale=e._locale),n}function Lt(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function qt(e,t){var r={milliseconds:0,months:0};return r.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Ut(e,t){var r;return e.isValid()&&t.isValid()?(t=jt(t,e),e.isBefore(t)?r=qt(e,t):(r=qt(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function zt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Wt(e,t){return function(r,n){var o,s;return null===n||isNaN(+n)||(P(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=r,r=n,n=s),r="string"==typeof r?+r:r,o=Nt(r,n),Vt(this,o,e),this}}function Vt(e,t,n,o){var s=t._milliseconds,i=zt(t._days),a=zt(t._months);e.isValid()&&(o=null==o||o,s&&e._d.setTime(e._d.valueOf()+s*n),i&&U(e,"Date",q(e,"Date")+i*n),a&&de(e,q(e,"Month")+a*n),o&&r.updateOffset(e,i||a))}function Gt(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Kt(e,t){var n=e||gt(),o=jt(n,this).startOf("day"),s=r.calendarFormat(this,o)||"sameElse",i=t&&(C(t[s])?t[s].call(this,n):t[s]);return this.format(i||this.localeData().calendar(s,this,gt(n)))}function Yt(){return new _(this)}function Xt(e,t){var r=g(e)?e:gt(e);return!(!this.isValid()||!r.isValid())&&(t=R(b(t)?"millisecond":t),"millisecond"===t?this.valueOf()>r.valueOf():r.valueOf()s&&(t=s),kr.call(this,e,t,r,n,o))}function kr(e,t,r,n,o){var s=we(e,t,r,n,o),i=ye(s.year,0,s.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}function Dr(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Or(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function Hr(e,t){t[so]=$(1e3*("0."+e))}function Fr(){return this._isUTC?"UTC":""}function Mr(){return this._isUTC?"Coordinated Universal Time":""}function Rr(e){return gt(1e3*e)}function Br(){return gt.apply(null,arguments).parseZone()}function Ir(e){return e}function Nr(e,t,r,n){var o=rt(),s=c().set(n,t);return o[r](s,e)}function Lr(e,t,r){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return Nr(e,t,r,"month");var n,o=[];for(n=0;n<12;n++)o[n]=Nr(e,n,r,"month");return o}function qr(e,t,r,n){"boolean"==typeof e?("number"==typeof t&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,"number"==typeof t&&(r=t,t=void 0),t=t||"");var o=rt(),s=e?o._week.dow:0;if(null!=r)return Nr(t,(r+s)%7,n,"day");var i,a=[];for(i=0;i<7;i++)a[i]=Nr(t,(i+s)%7,n,"day");return a}function Ur(e,t){return Lr(e,t,"months")}function zr(e,t){return Lr(e,t,"monthsShort")}function Wr(e,t,r){return qr(e,t,r,"weekdays")}function Vr(e,t,r){return qr(e,t,r,"weekdaysShort")}function Gr(e,t,r){return qr(e,t,r,"weekdaysMin")}function Kr(){var e=this._data;return this._milliseconds=Xo(this._milliseconds),this._days=Xo(this._days),this._months=Xo(this._months),e.milliseconds=Xo(e.milliseconds),e.seconds=Xo(e.seconds),e.minutes=Xo(e.minutes),e.hours=Xo(e.hours),e.months=Xo(e.months),e.years=Xo(e.years),this}function Yr(e,t,r,n){var o=Nt(t,r);return e._milliseconds+=n*o._milliseconds,e._days+=n*o._days,e._months+=n*o._months,e._bubble()}function Xr(e,t){return Yr(this,e,t,1)}function Zr(e,t){return Yr(this,e,t,-1)}function Jr(e){return e<0?Math.floor(e):Math.ceil(e)}function Qr(){var e,t,r,n,o,s=this._milliseconds,i=this._days,a=this._months,u=this._data;return s>=0&&i>=0&&a>=0||s<=0&&i<=0&&a<=0||(s+=864e5*Jr(tn(a)+i),i=0,a=0),u.milliseconds=s%1e3,e=y(s/1e3),u.seconds=e%60,t=y(e/60),u.minutes=t%60,r=y(t/60),u.hours=r%24,i+=y(r/24),o=y(en(i)),a+=o,i-=Jr(tn(o)),n=y(a/12),a%=12,u.days=i,u.months=a,u.years=n,this}function en(e){return 4800*e/146097}function tn(e){return 146097*e/4800}function rn(e){var t,r,n=this._milliseconds;if(e=R(e),"month"===e||"year"===e)return t=this._days+n/864e5,r=this._months+en(t),"month"===e?r:r/12;switch(t=this._days+Math.round(tn(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}}function nn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*$(this._months/12)}function on(e){return function(){return this.as(e)}}function sn(e){return e=R(e),this[e+"s"]()}function an(e){return function(){return this._data[e]}}function un(){return y(this.days()/7)}function ln(e,t,r,n,o){return o.relativeTime(t||1,!!r,e,n)}function dn(e,t,r){var n=Nt(e).abs(),o=ps(n.as("s")),s=ps(n.as("m")),i=ps(n.as("h")),a=ps(n.as("d")),u=ps(n.as("M")),l=ps(n.as("y")),d=o0,d[4]=r,ln.apply(null,d)}function cn(e){return void 0===e?ps:"function"==typeof e&&(ps=e,!0)}function pn(e,t){return void 0!==hs[e]&&(void 0===t?hs[e]:(hs[e]=t,!0))}function hn(e){var t=this.localeData(),r=dn(this,!e,t);return e&&(r=t.pastFuture(+this,r)),t.postformat(r)}function fn(){var e,t,r,n=fs(this._milliseconds)/1e3,o=fs(this._days),s=fs(this._months);e=y(n/60),t=y(e/60),n%=60,e%=60,r=y(s/12),s%=12;var i=r,a=s,u=o,l=t,d=e,c=n,p=this.asSeconds();return p?(p<0?"-":"")+"P"+(i?i+"Y":"")+(a?a+"M":"")+(u?u+"D":"")+(l||d||c?"T":"")+(l?l+"H":"")+(d?d+"M":"")+(c?c+"S":""):"P0D"}var mn,bn;bn=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),r=t.length>>>0,n=0;n68?1900:2e3)};var fo=L("FullYear",!0);G("w",["ww",2],"wo","week"),G("W",["WW",2],"Wo","isoWeek"),M("week","w"),M("isoWeek","W"),I("week",5),I("isoWeek",5),J("w",In),J("ww",In,Fn),J("W",In),J("WW",In,Fn),ne(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=$(e)});var mo={dow:0,doy:6};G("d",0,"do","day"),G("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),G("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),G("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),G("e",0,0,"weekday"),G("E",0,0,"isoWeekday"),M("day","d"),M("weekday","e"),M("isoWeekday","E"),I("day",11),I("weekday",11),I("isoWeekday",11),J("d",In),J("e",In),J("E",In),J("dd",function(e,t){return t.weekdaysMinRegex(e)}),J("ddd",function(e,t){return t.weekdaysShortRegex(e)}),J("dddd",function(e,t){return t.weekdaysRegex(e)}),ne(["dd","ddd","dddd"],function(e,t,r,n){var o=r._locale.weekdaysParse(e,n,r._strict);null!=o?t.d=o:h(r).invalidWeekday=e}),ne(["d","e","E"],function(e,t,r,n){t[n]=$(e)});var bo="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),vo="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),_o="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),go=Xn,yo=Xn,$o=Xn;G("H",["HH",2],0,"hour"),G("h",["hh",2],0,ze),G("k",["kk",2],0,We),G("hmm",0,0,function(){return""+ze.apply(this)+V(this.minutes(),2)}),G("hmmss",0,0,function(){return""+ze.apply(this)+V(this.minutes(),2)+V(this.seconds(),2)}),G("Hmm",0,0,function(){return""+this.hours()+V(this.minutes(),2)}),G("Hmmss",0,0,function(){return""+this.hours()+V(this.minutes(),2)+V(this.seconds(),2)}),Ve("a",!0),Ve("A",!1),M("hour","h"),I("hour",13),J("a",Ge),J("A",Ge),J("H",In),J("h",In),J("HH",In,Fn),J("hh",In,Fn),J("hmm",Nn),J("hmmss",Ln),J("Hmm",Nn),J("Hmmss",Ln),re(["H","HH"],ro),re(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),re(["h","hh"],function(e,t,r){t[ro]=$(e),h(r).bigHour=!0}),re("hmm",function(e,t,r){var n=e.length-2;t[ro]=$(e.substr(0,n)),t[no]=$(e.substr(n)),h(r).bigHour=!0}),re("hmmss",function(e,t,r){var n=e.length-4,o=e.length-2;t[ro]=$(e.substr(0,n)),t[no]=$(e.substr(n,2)),t[oo]=$(e.substr(o)),h(r).bigHour=!0}),re("Hmm",function(e,t,r){var n=e.length-2;t[ro]=$(e.substr(0,n)),t[no]=$(e.substr(n))}),re("Hmmss",function(e,t,r){var n=e.length-4,o=e.length-2;t[ro]=$(e.substr(0,n)),t[no]=$(e.substr(n,2)),t[oo]=$(e.substr(o))});var wo,xo=/[ap]\.?m?\.?/i,Eo=L("Hours",!0),Po={calendar:wn,longDateFormat:xn,invalidDate:En,ordinal:Pn,ordinalParse:Cn,relativeTime:jn,months:lo,monthsShort:co,week:mo,weekdays:bo,weekdaysMin:_o,weekdaysShort:vo,meridiemParse:xo},Co={},jo=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,To=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,Ao=/Z|[+-]\d\d(?::?\d\d)?/,So=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ko=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Do=/^\/?Date\((\-?\d+)/i;r.createFromInputFallback=E("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),r.ISO_8601=function(){};var Oo=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=gt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:m()}),Fo=function(){return Date.now?Date.now():+new Date};Pt("Z",":"),Pt("ZZ",""),J("Z",Kn),J("ZZ",Kn),re(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Ct(Kn,e)});var Mo=/([\+\-]|\d\d)/gi;r.updateOffset=function(){};var Ro=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,Bo=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Nt.fn=xt.prototype;var Io=Wt(1,"add"),No=Wt(-1,"subtract");r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Lo=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});G(0,["gg",2],0,function(){return this.weekYear()%100}),G(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Pr("gggg","weekYear"),Pr("ggggg","weekYear"),Pr("GGGG","isoWeekYear"),Pr("GGGGG","isoWeekYear"),M("weekYear","gg"),M("isoWeekYear","GG"),I("weekYear",1),I("isoWeekYear",1),J("G",Vn),J("g",Vn),J("GG",In,Fn),J("gg",In,Fn),J("GGGG",Un,Rn),J("gggg",Un,Rn),J("GGGGG",zn,Bn),J("ggggg",zn,Bn),ne(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=$(e)}),ne(["gg","GG"],function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)}),G("Q",0,"Qo","quarter"),M("quarter","Q"),I("quarter",7),J("Q",Hn),re("Q",function(e,t){t[eo]=3*($(e)-1)}),G("D",["DD",2],"Do","date"),M("date","D"),I("date",9),J("D",In),J("DD",In,Fn),J("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),re(["D","DD"],to),re("Do",function(e,t){t[to]=$(e.match(In)[0],10)});var qo=L("Date",!0);G("DDD",["DDDD",3],"DDDo","dayOfYear"),M("dayOfYear","DDD"),I("dayOfYear",4),J("DDD",qn),J("DDDD",Mn),re(["DDD","DDDD"],function(e,t,r){r._dayOfYear=$(e)}),G("m",["mm",2],0,"minute"),M("minute","m"),I("minute",14),J("m",In),J("mm",In,Fn),re(["m","mm"],no);var Uo=L("Minutes",!1);G("s",["ss",2],0,"second"),M("second","s"),I("second",15),J("s",In),J("ss",In,Fn),re(["s","ss"],oo);var zo=L("Seconds",!1);G("S",0,0,function(){return~~(this.millisecond()/100)}),G(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),G(0,["SSS",3],0,"millisecond"),G(0,["SSSS",4],0,function(){return 10*this.millisecond()}),G(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),G(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),G(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),G(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),G(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),M("millisecond","ms"),I("millisecond",16),J("S",qn,Hn),J("SS",qn,Fn),J("SSS",qn,Mn);var Wo;for(Wo="SSSS";Wo.length<=9;Wo+="S")J(Wo,Wn);for(Wo="S";Wo.length<=9;Wo+="S")re(Wo,Hr);var Vo=L("Milliseconds",!1);G("z",0,0,"zoneAbbr"),G("zz",0,0,"zoneName");var Go=_.prototype;Go.add=Io,Go.calendar=Kt,Go.clone=Yt,Go.diff=rr,Go.endOf=fr,Go.format=ir,Go.from=ar,Go.fromNow=ur,Go.to=lr,Go.toNow=dr,Go.get=z,Go.invalidAt=xr,Go.isAfter=Xt,Go.isBefore=Zt,Go.isBetween=Jt,Go.isSame=Qt,Go.isSameOrAfter=er,Go.isSameOrBefore=tr,Go.isValid=$r,Go.lang=Lo,Go.locale=cr,Go.localeData=pr,Go.max=Ho,Go.min=Oo,Go.parsingFlags=wr,Go.set=W,Go.startOf=hr,Go.subtract=No,Go.toArray=_r,Go.toObject=gr,Go.toDate=vr,Go.toISOString=sr,Go.toJSON=yr,Go.toString=or,Go.unix=br,Go.valueOf=mr,Go.creationData=Er,Go.year=fo,Go.isLeapYear=_e,Go.weekYear=Cr,Go.isoWeekYear=jr,Go.quarter=Go.quarters=Dr,Go.month=ce,Go.daysInMonth=pe,Go.week=Go.weeks=Te,Go.isoWeek=Go.isoWeeks=Ae,Go.weeksInYear=Ar,Go.isoWeeksInYear=Tr,Go.date=qo,Go.day=Go.days=Re,Go.weekday=Be,Go.isoWeekday=Ie,Go.dayOfYear=Or,Go.hour=Go.hours=Eo,Go.minute=Go.minutes=Uo,Go.second=Go.seconds=zo,Go.millisecond=Go.milliseconds=Vo,Go.utcOffset=At,Go.utc=kt,Go.local=Dt,Go.parseZone=Ot,Go.hasAlignedHourOffset=Ht,Go.isDST=Ft,Go.isLocal=Rt,Go.isUtcOffset=Bt,Go.isUtc=It,Go.isUTC=It,Go.zoneAbbr=Fr,Go.zoneName=Mr,Go.dates=E("dates accessor is deprecated. Use date instead.",qo),Go.months=E("months accessor is deprecated. Use month instead",ce),Go.years=E("years accessor is deprecated. Use year instead",fo),Go.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",St),Go.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Mt);var Ko=Go,Yo=A.prototype;Yo.calendar=S,Yo.longDateFormat=k,Yo.invalidDate=D,Yo.ordinal=O,Yo.preparse=Ir,Yo.postformat=Ir,Yo.relativeTime=H,Yo.pastFuture=F,Yo.set=j,Yo.months=ie,Yo.monthsShort=ae,Yo.monthsParse=le,Yo.monthsRegex=fe,Yo.monthsShortRegex=he,Yo.week=Pe,Yo.firstDayOfYear=je,Yo.firstDayOfWeek=Ce,Yo.weekdays=De,Yo.weekdaysMin=He,Yo.weekdaysShort=Oe,Yo.weekdaysParse=Me,Yo.weekdaysRegex=Ne,Yo.weekdaysShortRegex=Le,Yo.weekdaysMinRegex=qe,Yo.isPM=Ke,Yo.meridiem=Ye,Qe("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=1===$(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r}}),r.lang=E("moment.lang is deprecated. Use moment.locale instead.",Qe),r.langData=E("moment.langData is deprecated. Use moment.localeData instead.",rt);var Xo=Math.abs,Zo=on("ms"),Jo=on("s"),Qo=on("m"),es=on("h"),ts=on("d"),rs=on("w"),ns=on("M"),os=on("y"),ss=an("milliseconds"),is=an("seconds"),as=an("minutes"),us=an("hours"),ls=an("days"),ds=an("months"),cs=an("years"),ps=Math.round,hs={s:45,m:45,h:22,d:26,M:11},fs=Math.abs,ms=xt.prototype;ms.abs=Kr,ms.add=Xr,ms.subtract=Zr,ms.as=rn,ms.asMilliseconds=Zo,ms.asSeconds=Jo,ms.asMinutes=Qo,ms.asHours=es,ms.asDays=ts,ms.asWeeks=rs,ms.asMonths=ns,ms.asYears=os,ms.valueOf=nn,ms._bubble=Qr,ms.get=sn,ms.milliseconds=ss,ms.seconds=is,ms.minutes=as,ms.hours=us,ms.days=ls,ms.weeks=un,ms.months=ds,ms.years=cs,ms.humanize=hn,ms.toISOString=fn,ms.toString=fn,ms.toJSON=fn,ms.locale=cr,ms.localeData=pr,ms.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",fn),ms.lang=Lo,G("X",0,0,"unix"),G("x",0,0,"valueOf"),J("x",Vn),J("X",Yn),re("X",function(e,t,r){r._d=new Date(1e3*parseFloat(e,10))}),re("x",function(e,t,r){r._d=new Date($(e))}),r.version="2.14.1",n(gt),r.fn=Ko,r.min=$t,r.max=wt,r.now=Fo,r.utc=c,r.unix=Rr,r.months=Ur,r.isDate=a,r.locale=Qe,r.invalid=m,r.duration=Nt,r.isMoment=g,r.weekdays=Wr,r.parseZone=Br,r.localeData=rt,r.isDuration=Et,r.monthsShort=zr,r.weekdaysMin=Gr,r.defineLocale=et,r.updateLocale=tt,r.locales=nt,r.weekdaysShort=Vr,r.normalizeUnits=R,r.relativeTimeRounding=cn,r.relativeTimeThreshold=pn,r.calendarFormat=Gt,r.prototype=Ko;var bs=r;return bs})},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github-urls/lib/githubUrlsPlugin.js":[function(e,t,r){"use strict";function n(e){function t(e,t){var r=t.protocol+"//"+t.host;return console.log(t),"localhost"===t.hostname?(console.log("Local development"),r):(t.host===e.username+".github.io"||t.host===e.username+".github.com"?"master"!==e.branch&&(r=r+"/"+e.repositoryName):"master"===e.branch||e.cname&&""!==e.cname||(r=r+"/"+e.repositoryName),r)}function r(e,t){var r=void 0;return e.cname&&""!==e.cname?r=(t===!1?"":"http:")+"//"+e.cname:(r=(t===!1?"":"https:")+("//"+e.username+".github.io"),"master"!==e.branch&&(r=r+"/"+e.repositoryName)),r}function n(e){return{site:r(e.meta),hubpress:t(e.meta,window.location),theme:r(e.meta,!1)+("/themes/"+e.theme.name),images:r(e.meta)+"/images",getPostUrl:function(e){return e.replace(/([\d]{4})-([\d]{2})-([\d]{2})-([\w-]*)\.adoc/,"/$1/$2/$3/$4.html")},getPostGhPath:function(e){return e.replace(/([\d]{4})-([\d]{2})-([\d]{2})-([\w-]*)\.adoc/,"$1/$2/$3/$4.html")},getSiteUrl:r}}e.on("receiveConfig",function(e){var t=n(e.data.config),r=Object.assign({},e.data.config,{urls:t}),o=Object.assign({},e.data,{config:r});return Object.assign({},e,{data:o})})}Object.defineProperty(r,"__esModule",{value:!0}),r.githubUrlsPlugin=n},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/lib/githubPlugin.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){var t=F["default"].defer();return e.show(function(e,r){e?t.reject(e):t.resolve(r)}),t.promise}function s(e){var t=F["default"].defer();return e.list(function(e,r){e?t.reject(e):t.resolve(r)}),t.promise}function i(e){return function(t){var r=F["default"].defer();return e.show(t,function(e,t){e?r.reject(e):r.resolve(R["default"].pick(t,["login","id","name","location","blog","avatar_url","bio"]))}),r.promise}}function a(e){return(0,k["default"])(e+"-"+j["default"].name+"-"+j["default"].os)}function u(e,t,r){var n=F["default"].defer(),o=-1,s=a(e);return t.forEach(function(e){var t=e.note;t===s&&(o=e.id)}),-1!==o?r["delete"](o,function(e,t){e?n.reject(e):n.resolve()}):n.resolve(),n.promise}function l(e,t){var r=F["default"].defer(),n={scopes:["public_repo"],note:a(e)};return t.create(n,function(e,t){e?r.reject(e):r.resolve(t)}),r.promise}function d(e){console.log("Github Plugin - login",e);var t=F["default"].defer(),r=e.data.authentication.credentials,n=e.state.application.config.meta;B=new O["default"]({auth:"basic",username:r.email,password:r.password,twoFactorCode:r.twoFactorCode});var a=B.getRepo(n.username,n.repositoryName),d=B.getAuthorization(),c=B.getUser(),p=void 0,h=void 0;return o(a).then(function(e){p=e}).then(i(c)).then(function(e){return h=e,s(d)}).then(function(e){return u(n.repositoryName,e,d)}).then(function(){return l(n.repositoryName,d)}).then(function(e){B=new O["default"]({auth:"oauth",token:e.token}),t.resolve({isAuthenticated:!0,token:e.token,permissions:p.permissions,userInformations:h})})["catch"](function(e){console.error("Github Plugin - login error",e);var r,o={type:"error",title:"Authentication"};if(e.request){var s=e.request.getResponseHeader("X-GitHub-OTP")||"";r="required"===s.split(";")[0]}r?(l(n.repositoryName,d),console.log("Github Plugin - OTP required : ",r),o.type="warning",o.content="A two-factor authentication code is needed.",o.otp=!0,t.resolve({isAuthenticated:!1,twoFactorRequired:!0})):(console.error("Github Plugin - login error",e),t.reject({error:{code:e.error,message:"Unable to authenticate, check your credentials."}}))}),t.promise}function c(e,t){var r=F["default"].defer();return e.read(t.meta.branch,"",function(e,t){if(e)r.reject(e);else{var n=void 0;t=JSON.parse(t),t.forEach(function(e){"_posts"===e.name&&(n=e.sha)}),r.resolve(n)}}),r.promise}function p(e,t,r){var n=void 0;return r===localStorage.postsSha?n=F["default"].fcall(function(){return[]}):!function(){var r=F["default"].defer();e.read(t.meta.branch,"_posts",function(e,t){e?r.reject(e):r.resolve(JSON.parse(t))}),n=r.promise}(),n}function h(e,t){var r=F["default"].defer(),n=e.meta,o=B.getRepo(n.username,n.repositoryName);return o.getSha(e.meta.branch,e.urls.getPostGhPath(t.name),function(e,n){if(e&&404!==e.error)r.reject(e);else{var o=n?1:0,s=Object.assign({},t,{published:o});console.log("markIfPostPublished post",s),r.resolve(s)}}),r.promise}function f(e,t,r){var n=R["default"].compact(r),o=n.map(function(e){return h(t,e)});return F["default"].all(o)}function m(e,t,r){var n=F["default"].defer(),o=e.meta,s=B.getRepo(o.username,o.repositoryName);return console.log("getPostAuthor",t),s.getCommits({sha:e.meta.branch,path:t.original&&t.original.path||t.path},function(e,o){e&&404!==e.error?n.reject(e):!function(){var e=o[o.length-1].author;if(e&&e.login!==r.login){var s=B.getUser();i(s)(e.login).then(function(r){e=Object.assign({},r);var o=Object.assign({},t,{author:e});n.resolve(o)})["catch"](function(e){return n.reject(e)})}else{e=Object.assign({},r);var a=Object.assign({},t,{author:e});n.resolve(a)}}()}),n.promise}function b(e,t,r,n){var o=r.map(function(e){return m(t,e,n)});return F["default"].all(o)}function v(e,t,r){var n=[];return r.forEach(function(r){var o=F["default"].defer();n.push(o.promise),e.read(t.meta.branch,r.path,function(e,t){if(e)o.reject(e);else{var n=void 0;n=Object.assign({},r,{content:t}),o.resolve(n)}})}),F["default"].all(n)}function _(e){var t=e.application.config;console.log("Get posts",t);var r=t.meta,n=B.getRepo(r.username,r.repositoryName);return c(n,t).then(function(e){return p(n,t,e)}).then(function(e){return e.map(function(e){return R["default"].pick(e,["name","path","sha","size"])})}).then(function(e){return f(n,t,e)}).then(function(r){return b(n,t,r,e.authentication.userInformations)}).then(function(e){return v(n,t,e)})}function g(e,t,r){var n=F["default"].defer();return e["delete"](t,r,function(e,t){e?n.reject(e):n.resolve(t)}),n.promise}function y(e,t,r){return g(e,t,r)}function $(e,t){var r=e.meta,n=B.getRepo(r.username,r.repositoryName),o=void 0;return t.original&&t.name!==t.original.name?!function(){var r=F["default"].defer();o=r.promise;var s=e.meta.branch,i="_posts/"+t.original.name,a="_posts/"+t.name;n.move(s,i,a,function(o,i){if(o)r.reject(o);else if(t.published){var a=e.urls.getPostGhPath(t.original.name);y(n,s,a).then(function(e){r.resolve({post:t,sha:e})})["catch"](function(e){r.reject(e)}).done()}else r.resolve({post:t,sha:i})})}():o=(0,F["default"])({post:t}),o}function w(e,t){console.log("Write post",e,t);var r=e.meta,n=B.getRepo(r.username,r.repositoryName),o=r.branch,s="_posts/"+t.name,i="Update "+t.name,a=F["default"].defer();return n.write(o,s,t.content,i,function(r,n){r?a.reject(r):(t.original=R["default"].omit(t,["original"]),t.original.url=e.urls.getPostUrl(t.original.name),t.original.path="_posts/"+t.original.name,t.original.sha=n,a.resolve(t))}),a.promise}function x(e){console.log("Write config",e);var t=F["default"].defer(),r=e.meta,n=B.getRepo(r.username,r.repositoryName),o=r.branch;return n.write(o,"hubpress/config.json",JSON.stringify(e,null,2),"Update configuration file",function(e,r){e?t.reject(e):t.resolve(r)}),t.promise}function E(e){console.log("Github manageCname - ",e);var t=e.meta,r=B.getRepo(t.username,t.repositoryName),n=F["default"].defer(),o=function(e,t){e&&"not found"!==e?n.reject(e):n.resolve(t)};return t.cname&&""!==t.cname?(console.info("SettingsService - saveAndPublish save CNAME"),r.write(t.branch,"CNAME",t.cname,"Update CNAME with "+t.cname,o)):(console.info("SettingsService - saveAndPublish delete CNAME"),r["delete"](t.branch,"CNAME",o)),n.promise}function P(e){e.on("requestConfig",function(e){return console.info("Github Plugin - requestConfig"),console.log("requestConfig",e),(0,A["default"])("config.json?dt="+Date.now()).then(function(e){return e.json()}).then(function(t){var r=Object.assign({},t,e.data.config);r.theme.name=r.theme.name.toLowerCase();var n=Object.assign({},e.data,{config:r});return Object.assign({},e,{data:n})})}),e.on("requestAuthentication",function(e){return console.info("Github Plugin - requestAuthentication"),console.log("requestAuthentication",e),d(e).then(function(t){var r=Object.assign({},t,e.data.authentication),n=Object.assign({},e.data,{authentication:r});return Object.assign({},e,{data:n})})}),e.on("receiveSavedAuth",function(e){return console.info("Github Plugin - receiveSavedAuth"),console.log("receiveSavedAuth",e),e.data.authentication.isAuthenticated&&(B=new O["default"]({auth:"oauth",token:e.data.authentication.credentials.token})),e}),e.on("requestRemoteSynchronization",function(e){return console.info("Github Plugin - requestRemoteSynchronization"),console.log("requestRemoteSynchronization",e),e.state.authentication.isAuthenticated?_(e.state).then(function(t){var r=Object.assign({},{posts:t},e.data.documents),n=Object.assign({},e.data,{documents:r});return Object.assign({},e,{data:n})}):e}),e.on("requestSaveRemotePost",function(e){console.info("Github Plugin - requestSaveRemotePost"),console.log("requestSaveRemotePost",e);var t=e.state.application.config,r=e.data.post;return $(t,r).then(function(e){return w(t,e.post)}).then(function(r){return m(t,r,e.state.authentication.userInformations)}).then(function(t){var r=Object.assign({},e.data,{post:t});return Object.assign({},e,{data:r})})}),e.on("requestSaveRemotePublishedElements",function(e){console.info("Github Plugin - requestSaveRemotePublishedElements"),console.log("requestSaveRemotePublishedElements",e);var t=F["default"].defer(),r=e.state.application.config.meta,n=B.getRepo(r.username,r.repositoryName);return n.writeAll(r.branch,e.data.elementsToPublish,function(o,s){o?t.reject(o):n.write(r.branch,".last-sha",s,"Update last sha",function(r,n){r?(console.log(".last-sha",r),t.reject(r)):(console.log(".last-sha done"),t.resolve(e))})}),t.promise}),e.on("requestDeleteRemotePost",function(e){console.info("Github Plugin - requestDeleteRemotePost"),console.log("requestDeleteRemotePost",e);var t=F["default"].defer(),r=e.state.application.config,n=r.meta,o=B.getRepo(n.username,n.repositoryName),s=e.data.post.original.path;return o["delete"](n.branch,s,function(r,n){r?t.reject(r):t.resolve(e)}),t.promise}),e.on("requestDeleteRemotePublishedPost",function(e){console.info("Github Plugin - requestDeleteRemotePublishedPost"),console.log("requestDeleteRemotePublishedPost",e);var t=F["default"].defer(),r=e.state.application.config,n=r.meta,o=B.getRepo(n.username,n.repositoryName),s=r.urls.getPostGhPath(e.data.post.original.name);return o["delete"](n.branch,s,function(r,n){r?t.reject(r):t.resolve(e)}),t.promise}),e.on("requestSaveConfig",function(e){return console.info("Github Plugin - requestSaveConfig"),console.log("requestSaveConfig",e),x(e.data.config).then(function(t){return E(e.data.config)}).then(function(t){return console.error("mouahahaha",e),e})})}Object.defineProperty(r,"__esModule",{value:!0}),r.githubPlugin=P;var C=e("platform"),j=n(C),T=e("isomorphic-fetch"),A=n(T),S=e("hubpress-core-slugify"),k=n(S),D=e("github-api"),O=n(D),H=e("q"),F=n(H),M=e("lodash"),R=n(M),B=void 0},{"github-api":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/github-api/github.js","hubpress-core-slugify":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/hubpress-core-slugify/lib/slugify.js","isomorphic-fetch":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/isomorphic-fetch/fetch-npm-browserify.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js",platform:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/platform/platform.js",q:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/q/q.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/github-api/github.js":[function(e,t,r){(function(){var n,o,s;"undefined"!=typeof r?(n=e("xmlhttprequest").XMLHttpRequest,o=e("underscore"),s=e("js-base64").Base64):(o=window._,s=window.Base64),"undefined"!=typeof window&&"undefined"!=typeof window.XMLHttpRequest&&(n=window.XMLHttpRequest);var i="https://api.github.com",a=function(e){function t(t,r,o,a,u,l){function d(){var e=r.indexOf("//")>=0?r:i+r;return e+(/\?/.test(e)?"&":"?")+(new Date).getTime()}var c=new n;if(u||(c.dataType="json"),c.open(t,d(),!l),l||(c.onreadystatechange=function(){4==this.readyState&&(this.status>=200&&this.status<300||304===this.status?a(null,u?this.responseText:!this.responseText||JSON.parse(this.responseText),this):a({path:r,request:this,error:this.status}))}),u?c.setRequestHeader("Accept","application/vnd.github.v3.raw"):c.setRequestHeader("Accept","application/json"),c.setRequestHeader("Content-Type","application/json;charset=UTF-8"),e.token||e.username&&e.password){var p=e.token?"token "+e.token:"Basic "+s.encode(e.username+":"+e.password);c.setRequestHeader("Authorization",p),e.twoFactorCode&&c.setRequestHeader("X-GitHub-OTP",e.twoFactorCode)}if(o?c.send(JSON.stringify(o)):c.send(),l)return c.response}function r(e,r){var n=[];!function s(){t("GET",e,null,function(t,i,a){if(t)return r(t);n.push.apply(n,i);var u=(a.getResponseHeader("link")||"").split(/\s*,\s*/g),l=o.find(u,function(e){return/rel="next"/.test(e)});l&&(l=(/<(.*)>/.exec(l)||[])[1]),l?(e=l,s()):r(t,n)})}()}a.User=function(){this.repos=function(e){r("/user/repos?type=all&per_page=1000&sort=updated",function(t,r){e(t,r)})},this.orgs=function(e){t("GET","/user/orgs",null,function(t,r){e(t,r)})},this.gists=function(e){t("GET","/gists",null,function(t,r){e(t,r)})},this.notifications=function(e){t("GET","/notifications",null,function(t,r){e(t,r)})},this.show=function(e,r){var n=e?"/users/"+e:"/user";t("GET",n,null,function(e,t){r(e,t)})},this.userRepos=function(e,t){r("/users/"+e+"/repos?type=all&per_page=1000&sort=updated",function(e,r){t(e,r)})},this.userGists=function(e,r){t("GET","/users/"+e+"/gists",null,function(e,t){r(e,t)})},this.orgRepos=function(e,t){r("/orgs/"+e+"/repos?type=all&&page_num=1000&sort=updated&direction=desc",function(e,r){t(e,r)})},this.follow=function(e,r){t("PUT","/user/following/"+e,null,function(e,t){r(e,t)})},this.unfollow=function(e,r){t("DELETE","/user/following/"+e,null,function(e,t){r(e,t)})},this.createRepo=function(e,r){t("POST","/user/repos",e,r)}},a.Repository=function(e){function r(e,t){return e===d.branch&&d.sha?t(null,d.sha):void u.getRef("heads/"+e,function(r,n){d.branch=e,d.sha=n,t(r,n)})}var n=e.name,i=e.user,u=this,l="/repos/"+i+"/"+n,d={branch:null,sha:null};this.deleteRepo=function(r){t("DELETE",l,e,r)},this.getRef=function(e,r){t("GET",l+"/git/refs/"+e,null,function(e,t){return e?r(e):void r(null,t.object.sha)})},this.createRef=function(e,r){t("POST",l+"/git/refs",e,r)},this.deleteRef=function(r,n){t("DELETE",l+"/git/refs/"+r,e,n)},this.createRepo=function(e,r){t("POST","/user/repos",e,r)},this.deleteRepo=function(r){t("DELETE",l,e,r)},this.listTags=function(e){t("GET",l+"/tags",null,function(t,r){return t?e(t):void e(null,r)})},this.listPulls=function(e,r){t("GET",l+"/pulls"+(e?"?state="+e:""),null,function(e,t){return e?r(e):void r(null,t)})},this.getPull=function(e,r){t("GET",l+"/pulls/"+e,null,function(e,t){return e?r(e):void r(null,t)})},this.compare=function(e,r,n){t("GET",l+"/compare/"+e+"..."+r,null,function(e,t){return e?n(e):void n(null,t)})},this.listBranches=function(e){t("GET",l+"/git/refs/heads",null,function(t,r){return t?e(t):void e(null,o.map(r,function(e){return o.last(e.ref.split("/"))}))})},this.getBlob=function(e,r){t("GET",l+"/git/blobs/"+e,null,r,"raw")},this.getSha=function(e,r,n){return r&&""!==r?void t("GET",l+"/contents/"+r,{ref:e},function(e,t){return e?n(e):void n(null,t.sha)}):u.getRef("heads/"+e,n)},this.getTree=function(e,r){t("GET",l+"/git/trees/"+e,null,function(e,t){return e?r(e):void r(null,t.tree)})},this.postBlob=function(e,r){e="string"==typeof e?{content:e,encoding:"utf-8"}:{content:s.encode(e),encoding:"base64"},t("POST",l+"/git/blobs",e,function(e,t){return e?r(e):void r(null,t.sha)})},this.updateTree=function(e,r,n,o){var s={base_tree:e,tree:[{path:r,mode:"100644",type:"blob",sha:n}]};t("POST",l+"/git/trees",s,function(e,t){return e?o(e):void o(null,t.sha)})},this.postTree=function(e,r){t("POST",l+"/git/trees",{tree:e},function(e,t){return e?r(e):void r(null,t.sha)})},this.commit=function(r,n,o,s){var i=new a.User;i.show(null,function(i,a){if(i)return s(i);var u={message:o,parents:[r],tree:n};a.email&&""!==a.email.trim()&&(u.message.author={name:e.user,email:a.email}),e.username&&(u.author={name:e.username}),t("POST",l+"/git/commits",u,function(e,t){return e?s(e):(d.sha=t.sha,void s(null,t.sha))})})},this.updateHead=function(e,r,n){t("PATCH",l+"/git/refs/heads/"+e,{sha:r},function(e,t){n(e,r)})},this.show=function(e){t("GET",l,null,e)},this.contents=function(e,r,n){t("GET",l+"/contents/"+r,{ref:e},n)},this.fork=function(e){t("POST",l+"/forks",null,e)},this.branch=function(e,t,r){2===arguments.length&&"function"==typeof arguments[1]&&(r=t,t=e,e="master"),this.getRef("heads/"+e,function(e,n){return e&&r?r(e):void u.createRef({ref:"refs/heads/"+t,sha:n},r)})},this.createPullRequest=function(e,r){t("POST",l+"/pulls",e,r)},this.listHooks=function(e){t("GET",l+"/hooks",null,e)},this.getHook=function(e,r){t("GET",l+"/hooks/"+e,null,r)},this.createHook=function(e,r){t("POST",l+"/hooks",e,r)},this.editHook=function(e,r,n){t("PATCH",l+"/hooks/"+e,r,n)},this.deleteHook=function(e,r){t("DELETE",l+"/hooks/"+e,null,r)},this.read=function(e,r,n){t("GET",l+"/contents/"+r,{ref:e},function(e,t){return e&&404===e.error?n("not found",null,null):e?n(e):void n(null,t)},!0)},this.remove=function(e,r,n){u.getSha(e,r,function(o,s){return o?n(o):void t("DELETE",l+"/contents/"+r,{message:r+" is removed",sha:s,branch:e},n)})},this["delete"]=function(e,r,n){u.getSha(e,r,function(o,s){if(!s)return n("not found",null);var i=l+"/contents/"+r,a={message:"Deleted "+r,sha:s};i+="?message="+encodeURIComponent(a.message),i+="&sha="+encodeURIComponent(a.sha),i+="&branch="+encodeURIComponent(e),t("DELETE",i,null,n)})},this.move=function(e,t,n,s){r(e,function(r,i){u.getTree(i+"?recursive=true",function(r,a){o.each(a,function(e){e.path===t&&(e.path=n)}),a=o.filter(a,function(e){return"tree"!=e.type}),u.postTree(a,function(r,o){u.commit(i,o,"Moved "+t+" to "+n,function(t,r){u.updateHead(e,r,function(e){s(e,r)})})})})})},this.write=function(e,r,n,o,i){u.getSha(e,r,function(a,u){return a&&404!=a.error?i(a):void t("PUT",l+"/contents/"+r,{message:o,content:s.encode(n),branch:e,sha:u},i)})},this.writeAll=function(e,t,n,o){function s(o,i){var a=t[i];return i===t.length?n(null,o):void r(e,function(t,r){return t?n(t):(o=o||r,void u.postBlob(a.content,function(t,r){return t?n(t):void u.updateTree(o,a.path,r,function(t,r){return t?n(t):void u.commit(o,r,a.message,function(t,r){return t?n(t):void u.updateHead(e,r,function(e){return e?n(e):(d.sha=r,void s(r,++i))})})})}))})}s(o,0)},this.getCommits=function(e,r){e=e||{};var n=l+"/commits",o=[];if(e.sha&&o.push("sha="+encodeURIComponent(e.sha)),e.path&&o.push("path="+encodeURIComponent(e.path)),e.since){var s=e.since;s.constructor===Date&&(s=s.toISOString()),o.push("since="+encodeURIComponent(s))}if(e.until){var i=e.until;i.constructor===Date&&(i=i.toISOString()),o.push("until="+encodeURIComponent(i))}e.page&&o.push("page="+e.page),e.perpage&&o.push("per_page="+e.perpage),o.length>0&&(n+="?"+o.join("&")),t("GET",n,null,r)}},a.Gist=function(e){var r=e.id,n="/gists/"+r;this.read=function(e){t("GET",n,null,function(t,r){e(t,r)})},this.create=function(e,r){t("POST","/gists",e,r)},this["delete"]=function(e){t("DELETE",n,null,function(t,r){e(t,r)})},this.fork=function(e){t("POST",n+"/fork",null,function(t,r){ -e(t,r)})},this.update=function(e,r){t("PATCH",n,e,function(e,t){r(e,t)})},this.star=function(e){t("PUT",n+"/star",null,function(t,r){e(t,r)})},this.unstar=function(e){t("DELETE",n+"/star",null,function(t,r){e(t,r)})},this.isStarred=function(e){t("GET",n+"/star",null,function(t,r){e(t,r)})}},a.Issue=function(e){var r="/repos/"+e.user+"/"+e.repo+"/issues";this.list=function(e,n){t("GET",r,e,n)}},a.Authorization=function(){var e="/authorizations";this.create=function(r,n){t("POST",e,r,function(e,t){n(e,t)})},this.list=function(r){t("GET",e,null,function(e,t){r(e,t)})},this["delete"]=function(r,n){t("DELETE",e+"/"+r,null,function(e,t){n(e,t)})}},this.getIssues=function(e,t){return new a.Issue({user:e,repo:t})},this.getRepo=function(e,t){return new a.Repository({user:e,name:t})},this.getUser=function(){return new a.User},this.getGist=function(e){return new a.Gist({id:e})},this.getAuthorization=function(e){return new a.Authorization}};"undefined"!=typeof r?t.exports=a:window.Github=a}).call(this)},{"js-base64":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/github-api/node_modules/js-base64/base64.js",underscore:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/github-api/node_modules/underscore/underscore.js",xmlhttprequest:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/browser-resolve/empty.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/github-api/node_modules/js-base64/base64.js":[function(e,t,r){!function(r){"use strict";var n,o=r.Base64,s="2.1.9";if("undefined"!=typeof t&&t.exports)try{n=e("buffer").Buffer}catch(i){}var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=function(e){for(var t={},r=0,n=e.length;r>>6)+l(128|63&t):l(224|t>>>12&15)+l(128|t>>>6&63)+l(128|63&t)}var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return l(240|t>>>18&7)+l(128|t>>>12&63)+l(128|t>>>6&63)+l(128|63&t)},c=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,p=function(e){return e.replace(c,d)},h=function(e){var t=[0,2,1][e.length%3],r=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0),n=[a.charAt(r>>>18),a.charAt(r>>>12&63),t>=2?"=":a.charAt(r>>>6&63),t>=1?"=":a.charAt(63&r)];return n.join("")},f=r.btoa?function(e){return r.btoa(e)}:function(e){return e.replace(/[\s\S]{1,3}/g,h)},m=n?function(e){return(e.constructor===n.constructor?e:new n(e)).toString("base64")}:function(e){return f(p(e))},b=function(e,t){return t?m(String(e)).replace(/[+\/]/g,function(e){return"+"==e?"-":"_"}).replace(/=/g,""):m(String(e))},v=function(e){return b(e,!0)},_=new RegExp(["[À-ß][€-¿]","[à-ï][€-¿]{2}","[ð-÷][€-¿]{3}"].join("|"),"g"),g=function(e){switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),r=t-65536;return l((r>>>10)+55296)+l((1023&r)+56320);case 3:return l((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return l((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},y=function(e){return e.replace(_,g)},$=function(e){var t=e.length,r=t%4,n=(t>0?u[e.charAt(0)]<<18:0)|(t>1?u[e.charAt(1)]<<12:0)|(t>2?u[e.charAt(2)]<<6:0)|(t>3?u[e.charAt(3)]:0),o=[l(n>>>16),l(n>>>8&255),l(255&n)];return o.length-=[0,0,2,1][r],o.join("")},w=r.atob?function(e){return r.atob(e)}:function(e){return e.replace(/[\s\S]{1,4}/g,$)},x=n?function(e){return(e.constructor===n.constructor?e:new n(e,"base64")).toString()}:function(e){return y(w(e))},E=function(e){return x(String(e).replace(/[-_]/g,function(e){return"-"==e?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},P=function(){var e=r.Base64;return r.Base64=o,e};if(r.Base64={VERSION:s,atob:w,btoa:f,fromBase64:E,toBase64:b,utob:p,encode:b,encodeURI:v,btou:y,decode:E,noConflict:P},"function"==typeof Object.defineProperty){var C=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};r.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",C(function(){return E(this)})),Object.defineProperty(String.prototype,"toBase64",C(function(e){return b(this,e)})),Object.defineProperty(String.prototype,"toBase64URI",C(function(){return b(this,!0)}))}}r.Meteor&&(Base64=r.Base64)}(this)},{buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/github-api/node_modules/underscore/underscore.js":[function(e,t,r){(function(){var e=this,n=e._,o={},s=Array.prototype,i=Object.prototype,a=Function.prototype,u=s.push,l=s.slice,d=s.concat,c=i.toString,p=i.hasOwnProperty,h=s.forEach,f=s.map,m=s.reduce,b=s.reduceRight,v=s.filter,_=s.every,g=s.some,y=s.indexOf,$=s.lastIndexOf,w=Array.isArray,x=Object.keys,E=a.bind,P=function(e){return e instanceof P?e:this instanceof P?void(this._wrapped=e):new P(e)};"undefined"!=typeof r?("undefined"!=typeof t&&t.exports&&(r=t.exports=P),r._=P):e._=P,P.VERSION="1.6.0";var C=P.each=P.forEach=function(e,t,r){if(null==e)return e;if(h&&e.forEach===h)e.forEach(t,r);else if(e.length===+e.length){for(var n=0,s=e.length;n2;if(null==e&&(e=[]),m&&e.reduce===m)return n&&(t=P.bind(t,n)),o?e.reduce(t,r):e.reduce(t);if(C(e,function(e,s,i){o?r=t.call(n,r,e,s,i):(r=e,o=!0)}),!o)throw new TypeError(j);return r},P.reduceRight=P.foldr=function(e,t,r,n){var o=arguments.length>2;if(null==e&&(e=[]),b&&e.reduceRight===b)return n&&(t=P.bind(t,n)),o?e.reduceRight(t,r):e.reduceRight(t);var s=e.length;if(s!==+s){var i=P.keys(e);s=i.length}if(C(e,function(a,u,l){u=i?i[--s]:--s,o?r=t.call(n,r,e[u],u,l):(r=e[u],o=!0)}),!o)throw new TypeError(j);return r},P.find=P.detect=function(e,t,r){var n;return T(e,function(e,o,s){if(t.call(r,e,o,s))return n=e,!0}),n},P.filter=P.select=function(e,t,r){var n=[];return null==e?n:v&&e.filter===v?e.filter(t,r):(C(e,function(e,o,s){t.call(r,e,o,s)&&n.push(e)}),n)},P.reject=function(e,t,r){return P.filter(e,function(e,n,o){return!t.call(r,e,n,o)},r)},P.every=P.all=function(e,t,r){t||(t=P.identity);var n=!0;return null==e?n:_&&e.every===_?e.every(t,r):(C(e,function(e,s,i){if(!(n=n&&t.call(r,e,s,i)))return o}),!!n)};var T=P.some=P.any=function(e,t,r){t||(t=P.identity);var n=!1;return null==e?n:g&&e.some===g?e.some(t,r):(C(e,function(e,s,i){if(n||(n=t.call(r,e,s,i)))return o}),!!n)};P.contains=P.include=function(e,t){return null!=e&&(y&&e.indexOf===y?e.indexOf(t)!=-1:T(e,function(e){return e===t}))},P.invoke=function(e,t){var r=l.call(arguments,2),n=P.isFunction(t);return P.map(e,function(e){return(n?t:e[t]).apply(e,r)})},P.pluck=function(e,t){return P.map(e,P.property(t))},P.where=function(e,t){return P.filter(e,P.matches(t))},P.findWhere=function(e,t){return P.find(e,P.matches(t))},P.max=function(e,t,r){if(!t&&P.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.max.apply(Math,e);var n=-(1/0),o=-(1/0);return C(e,function(e,s,i){var a=t?t.call(r,e,s,i):e;a>o&&(n=e,o=a)}),n},P.min=function(e,t,r){if(!t&&P.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.min.apply(Math,e);var n=1/0,o=1/0;return C(e,function(e,s,i){var a=t?t.call(r,e,s,i):e;an||void 0===r)return 1;if(r>>1;r.call(n,e[a])=0;r--)t=[e[r].apply(this,t)];return t[0]}},P.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},P.keys=function(e){if(!P.isObject(e))return[];if(x)return x(e);var t=[];for(var r in e)P.has(e,r)&&t.push(r);return t},P.values=function(e){for(var t=P.keys(e),r=t.length,n=new Array(r),o=0;o":">",'"':""","'":"'"}};H.unescape=P.invert(H.escape);var F={escape:new RegExp("["+P.keys(H.escape).join("")+"]","g"),unescape:new RegExp("("+P.keys(H.unescape).join("|")+")","g")};P.each(["escape","unescape"],function(e){P[e]=function(t){return null==t?"":(""+t).replace(F[e],function(t){return H[e][t]})}}),P.result=function(e,t){if(null!=e){var r=e[t];return P.isFunction(r)?r.call(e):r}},P.mixin=function(e){C(P.functions(e),function(t){var r=P[t]=e[t];P.prototype[t]=function(){var e=[this._wrapped];return u.apply(e,arguments),N.call(this,r.apply(P,e))}})};var M=0;P.uniqueId=function(e){var t=++M+"";return e?e+t:t},P.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var R=/(.)^/,B={"'":"'","\\":"\\","\r":"r","\n":"n","\t":"t","\u2028":"u2028","\u2029":"u2029"},I=/\\|'|\r|\n|\t|\u2028|\u2029/g;P.template=function(e,t,r){var n;r=P.defaults({},r,P.templateSettings);var o=new RegExp([(r.escape||R).source,(r.interpolate||R).source,(r.evaluate||R).source].join("|")+"|$","g"),s=0,i="__p+='";e.replace(o,function(t,r,n,o,a){return i+=e.slice(s,a).replace(I,function(e){return"\\"+B[e]}),r&&(i+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'"),n&&(i+="'+\n((__t=("+n+"))==null?'':__t)+\n'"),o&&(i+="';\n"+o+"\n__p+='"),s=a+t.length,t}),i+="';\n",r.variable||(i="with(obj||{}){\n"+i+"}\n"),i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{n=new Function(r.variable||"obj","_",i)}catch(a){throw a.source=i,a}if(t)return n(t,P);var u=function(e){return n.call(this,e,P)};return u.source="function("+(r.variable||"obj")+"){\n"+i+"}",u},P.chain=function(e){return P(e).chain()};var N=function(e){return this._chain?P(e).chain():e};P.mixin(P),C(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=s[e];P.prototype[e]=function(){var r=this._wrapped;return t.apply(r,arguments),"shift"!=e&&"splice"!=e||0!==r.length||delete r[0],N.call(this,r)}}),C(["concat","join","slice"],function(e){var t=s[e];P.prototype[e]=function(){return N.call(this,t.apply(this._wrapped,arguments))}}),P.extend(P.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}}),"function"==typeof define&&define.amd&&define("underscore",[],function(){return P})}).call(this)},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/hubpress-core-slugify/lib/slugify.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/hubpress-core-slugify/lib/slugify.js"][0].apply(r,arguments)},{string:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/hubpress-core-slugify/node_modules/string/lib/string.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/hubpress-core-slugify/node_modules/string/lib/_count.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/hubpress-core-slugify/node_modules/string/lib/_count.js"][0].apply(r,arguments)},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/hubpress-core-slugify/node_modules/string/lib/_splitLeft.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/hubpress-core-slugify/node_modules/string/lib/_splitLeft.js"][0].apply(r,arguments)},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/hubpress-core-slugify/node_modules/string/lib/_splitRight.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/hubpress-core-slugify/node_modules/string/lib/_splitRight.js"][0].apply(r,arguments)},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/hubpress-core-slugify/node_modules/string/lib/string.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/hubpress-core-slugify/node_modules/string/lib/string.js"][0].apply(r,arguments)},{"./_count":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/hubpress-core-slugify/node_modules/string/lib/_count.js","./_splitLeft":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/hubpress-core-slugify/node_modules/string/lib/_splitLeft.js","./_splitRight":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/hubpress-core-slugify/node_modules/string/lib/_splitRight.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/isomorphic-fetch/fetch-npm-browserify.js":[function(e,t,r){e("whatwg-fetch"),t.exports=self.fetch.bind(self)},{"whatwg-fetch":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/isomorphic-fetch/node_modules/whatwg-fetch/fetch.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/isomorphic-fetch/node_modules/whatwg-fetch/fetch.js":[function(e,t,r){!function(e){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function r(e){return"string"!=typeof e&&(e=String(e)),e}function n(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return m.iterable&&(t[Symbol.iterator]=function(){return t}),t}function o(e){this.map={},e instanceof o?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function s(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function i(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function a(e){var t=new FileReader;return t.readAsArrayBuffer(e),i(t)}function u(e){var t=new FileReader;return t.readAsText(e),i(t)}function l(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(m.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(m.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(m.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(e){if(!m.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):m.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},m.blob?(this.blob=function(){var e=s(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(a)},this.text=function(){var e=s(this);if(e)return e;if(this._bodyBlob)return u(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=s(this);return e?e:Promise.resolve(this._bodyText)},m.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function d(e){var t=e.toUpperCase();return b.indexOf(t)>-1?t:e}function c(e,t){t=t||{};var r=t.body;if(c.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,r||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o(t.headers)),this.method=d(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}}),t}function h(e){var t=new o,r=(e.getAllResponseHeaders()||"").trim().split("\n");return r.forEach(function(e){var r=e.trim().split(":"),n=r.shift().trim(),o=r.join(":").trim();t.append(n,o)}),t}function f(e,t){t||(t={}),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof o?t.headers:new o(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var m={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};o.prototype.append=function(e,n){e=t(e),n=r(n);var o=this.map[e];o||(o=[],this.map[e]=o),o.push(n)},o.prototype["delete"]=function(e){delete this.map[t(e)]},o.prototype.get=function(e){var r=this.map[t(e)];return r?r[0]:null},o.prototype.getAll=function(e){return this.map[t(e)]||[]},o.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},o.prototype.set=function(e,n){this.map[t(e)]=[r(n)]},o.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach(function(r){this.map[r].forEach(function(n){e.call(t,n,r,this)},this)},this)},o.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),n(e)},o.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),n(e)},o.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),n(e)},m.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var b=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];c.prototype.clone=function(){return new c(this)},l.call(c.prototype),l.call(f.prototype),f.prototype.clone=function(){return new f(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},f.error=function(){var e=new f(null,{status:0,statusText:""});return e.type="error",e};var v=[301,302,303,307,308];f.redirect=function(e,t){if(v.indexOf(t)===-1)throw new RangeError("Invalid status code");return new f(null,{status:t,headers:{location:e}})},e.Headers=o,e.Request=c,e.Response=f,e.fetch=function(e,t){return new Promise(function(r,n){function o(){return"responseURL"in i?i.responseURL:/^X-Request-URL:/m.test(i.getAllResponseHeaders())?i.getResponseHeader("X-Request-URL"):void 0}var s;s=c.prototype.isPrototypeOf(e)&&!t?e:new c(e,t);var i=new XMLHttpRequest;i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:h(i),url:o()},t="response"in i?i.response:i.responseText;r(new f(t,e))},i.onerror=function(){n(new TypeError("Network request failed"))},i.ontimeout=function(){n(new TypeError("Network request failed"))},i.open(s.method,s.url,!0),"include"===s.credentials&&(i.withCredentials=!0),"responseType"in i&&m.blob&&(i.responseType="blob"),s.headers.forEach(function(e,t){i.setRequestHeader(t,e)}),i.send("undefined"==typeof s._bodyInit?null:s._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-github/node_modules/platform/platform.js":[function(e,t,r){(function(e){(function(){"use strict";function n(e){return e=String(e),e.charAt(0).toUpperCase()+e.slice(1)}function o(e,t,r){var n={6.4:"10",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return t&&r&&/^Win/i.test(e)&&(n=n[/[\d.]+$/.exec(e)])&&(e="Windows "+n),e=String(e),t&&r&&(e=e.replace(RegExp(t,"i"),r)),e=i(e.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").split(" on ")[0])}function s(e,t){var r=-1,n=e?e.length:0;if("number"==typeof n&&n>-1&&n<=y)for(;++r3?G=["WebKit"]:"Trident"!=G&&(C=/\bOpera\b/.test(K)&&(/\bOPR\b/.test(e)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(e)&&"WebKit"||!G&&/\bMSIE\b/i.test(e)&&("Mac OS"==Z?"Tasman":"Trident"))?G=[C]:/\bPlayStation\b(?! Vita\b)/i.test(K)&&"WebKit"==G&&(G=["NetFront"]),"IE"==K&&(C=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(e)||0)[1])?(K+=" Mobile",Z="Windows Phone "+(/\+$/.test(C)?C:C+".x"),U.unshift("desktop mode")):/\bWPDesktop\b/i.test(e)?(K="IE Mobile",Z="Windows Phone 8+",U.unshift("desktop mode"),V||(V=(/\brv:([\d.]+)/.exec(e)||0)[1])):"IE"!=K&&"Trident"==G&&(C=/\brv:([\d.]+)/.exec(e))?(/\bWPDesktop\b/i.test(e)||(K&&U.push("identifying as "+K+(V?" "+V:"")),K="IE"),V=C[1]):"Chrome"!=K&&"IE"==K||!(C=/\bEdge\/([\d.]+)/.exec(e))||(K="Microsoft Edge",V=C[1],G=["Trident"]),W){if(l(g,"global"))if(F&&(C=F.lang.System,q=C.getProperty("os.arch"),Z=Z||C.getProperty("os.name")+" "+C.getProperty("os.version")),T&&l(g,"system")&&(C=[g.system])[0]){Z||(Z=C[0].os||null);try{C[1]=g.require("ringo/engine").version,V=C[1].join("."),K="RingoJS"}catch(J){C[0].global.system==g.system&&(K="Narwhal")}}else"object"==typeof g.process&&(C=g.process)?(K="Node.js",q=C.arch,Z=C.platform,V=/[\d.]+/.exec(C.version)[0]):M&&(K="Rhino");else u(C=g.runtime)==k?(K="Adobe AIR",Z=C.flash.system.Capabilities.os):u(C=g.phantom)==H?(K="PhantomJS",V=(C=C.version||null)&&C.major+"."+C.minor+"."+C.patch):"number"==typeof I.documentMode&&(C=/\bTrident\/(\d+)/i.exec(e))&&(V=[V,I.documentMode],(C=+C[1]+4)!=V[1]&&(U.push("IE "+V[1]+" mode"),G&&(G[1]=""),V[1]=C),V="IE"==K?String(V[1].toFixed(1)):V[0]);Z=Z&&i(Z)}V&&(C=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(V)||/(?:alpha|beta)(?: ?\d)?/i.exec(e+";"+(W&&x.appMinorVersion))||/\bMinefield\b/i.test(e)&&"a")&&(z=/b/i.test(C)?"beta":"alpha",V=V.replace(RegExp(C+"\\+?$"),"")+("beta"==z?B:R)+(/\d+\+?/.exec(C)||"")),"Fennec"==K||"Firefox"==K&&/\b(?:Android|Firefox OS)\b/.test(Z)?K="Firefox Mobile":"Maxthon"==K&&V?V=V.replace(/\.[\d.]+/,".x"):"Silk"==K?(/\bMobi/i.test(e)||(Z="Android",U.unshift("desktop mode")),/Accelerated *= *true/i.test(e)&&U.unshift("accelerated")):/\bXbox\b/i.test(Y)?(Z=null,"Xbox 360"==Y&&/\bIEMobile\b/.test(e)&&U.unshift("mobile mode")):!/^(?:Chrome|IE|Opera)$/.test(K)&&(!K||Y||/Browser|Mobi/.test(K))||"Windows CE"!=Z&&!/Mobi/i.test(e)?"IE"==K&&W&&null===g.external?U.unshift("platform preview"):(/\bBlackBerry\b/.test(Y)||/\bBB10\b/.test(e))&&(C=(RegExp(Y.replace(/ +/g," *")+"/([.\\d]+)","i").exec(e)||0)[1]||V)?(C=[C,/BB10/.test(e)],Z=(C[1]?(Y=null,X="BlackBerry"):"Device Software")+" "+C[0],V=null):this!=a&&"Wii"!=Y&&(W&&N||/Opera/.test(K)&&/\b(?:MSIE|Firefox)\b/i.test(e)||"Firefox"==K&&/\bOS X (?:\d+\.){2,}/.test(Z)||"IE"==K&&(Z&&!/^Win/.test(Z)&&V>5.5||/\bWindows XP\b/.test(Z)&&V>8||8==V&&!/\bTrident\b/.test(e)))&&!$.test(C=h.call(a,e.replace($,"")+";"))&&C.name&&(C="ing as "+C.name+((C=C.version)?" "+C:""),$.test(K)?(/\bIE\b/.test(C)&&"Mac OS"==Z&&(Z=null),C="identify"+C):(C="mask"+C,K=L?i(L.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(C)&&(Z=null),W||(V=null)),G=["Presto"],U.push(C)):K+=" Mobile",(C=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(e)||0)[1])&&(C=[parseFloat(C.replace(/\.(\d)$/,".0$1")),C],"Safari"==K&&"+"==C[1].slice(-1)?(K="WebKit Nightly",z="alpha",V=C[1].slice(0,-1)):V!=C[1]&&V!=(C[2]=(/\bSafari\/([\d.]+\+?)/i.exec(e)||0)[1])||(V=null),C[1]=(/\bChrome\/([\d.]+)/i.exec(e)||0)[1],537.36==C[0]&&537.36==C[2]&&parseFloat(C[1])>=28&&"IE"!=K&&"Microsoft Edge"!=K&&(G=["Blink"]),W&&(A||C[1])?(G&&(G[1]="like Chrome"),C=C[1]||(C=C[0],C<530?1:C<532?2:C<532.05?3:C<533?4:C<534.03?5:C<534.07?6:C<534.1?7:C<534.13?8:C<534.16?9:C<534.24?10:C<534.3?11:C<535.01?12:C<535.02?"13+":C<535.07?15:C<535.11?16:C<535.19?17:C<536.05?18:C<536.1?19:C<537.01?20:C<537.11?"21+":C<537.13?23:C<537.18?24:C<537.24?25:C<537.36?26:"Blink"!=G?"27":"28")):(G&&(G[1]="like Safari"),C=C[0],C=C<400?1:C<500?2:C<526?3:C<533?4:C<534?"4+":C<535?5:C<537?6:C<538?7:C<601?8:"8"),G&&(G[1]+=" "+(C+="number"==typeof C?".x":/[.+]/.test(C)?"":"+")),"Safari"==K&&(!V||parseInt(V)>45)&&(V=C)),"Opera"==K&&(C=/\bzbov|zvav$/.exec(Z))?(K+=" ",U.unshift("desktop mode"),"zvav"==C?(K+="Mini",V=null):K+="Mobile",Z=Z.replace(RegExp(" *"+C+"$"),"")):"Safari"==K&&/\bChrome\b/.exec(G&&G[1])&&(U.unshift("desktop mode"),K="Chrome Mobile",V=null,/\bOS X\b/.test(Z)?(X="Apple",Z="iOS 4.3+"):Z=null),V&&0==V.indexOf(C=/[\d.]+$/.exec(Z))&&e.indexOf("/"+C+"-")>-1&&(Z=p(Z.replace(C,""))),G&&!/\b(?:Avant|Nook)\b/.test(K)&&(/Browser|Lunascape|Maxthon/.test(K)||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Sleipnir|Web)/.test(K)&&G[1])&&(C=G[G.length-1])&&U.push(C),U.length&&(U=["("+U.join("; ")+")"]),X&&Y&&Y.indexOf(X)<0&&U.push("on "+X),Y&&U.push((/^on /.test(U[U.length-1])?"":"on ")+Y),Z&&(C=/ ([\d.+]+)$/.exec(Z),j=C&&"/"==Z.charAt(Z.length-C[0].length-1),Z={architecture:32,family:C&&!j?Z.replace(C[0],""):Z,version:C?C[1]:null,toString:function(){var e=this.version;return this.family+(e&&!j?" "+e:"")+(64==this.architecture?" 64-bit":"")}}),(C=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(q))&&!/\bi686\b/i.test(q)&&(Z&&(Z.architecture=64,Z.family=Z.family.replace(RegExp(" *"+C),"")),K&&(/\bWOW64\b/i.test(e)||W&&/\w(?:86|32)$/.test(x.cpuClass||x.platform)&&!/\bWin64; x64\b/i.test(e))&&U.unshift("32-bit")),e||(e=null);var Q={};return Q.description=e,Q.layout=G&&G[0],Q.manufacturer=X,Q.name=K,Q.prerelease=z,Q.product=Y,Q.ua=e,Q.version=K&&V,Q.os=Z||{architecture:null,family:null,version:null,toString:function(){return"null"}},Q.parse=h,Q.toString=_,Q.version&&U.unshift(V),Q.name&&U.unshift(K),Z&&K&&(Z!=String(Z).split(" ")[0]||Z!=K.split(" ")[0]&&!Y)&&U.push(Y?"("+Z+")":"on "+Z),U.length&&(Q.description=U.join(" ")),Q}var f={"function":!0,object:!0},m=f[typeof window]&&window||this,b=m,v=f[typeof r]&&r,_=f[typeof t]&&t&&!t.nodeType&&t,g=v&&_&&"object"==typeof e&&e;!g||g.global!==g&&g.window!==g&&g.self!==g||(m=g);var y=Math.pow(2,53)-1,$=/\bOpera/,w=this,x=Object.prototype,E=x.hasOwnProperty,P=x.toString;"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return h()}):v&&_?a(h(),function(e,t){v[t]=e}):m.platform=h()}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/lib/pouchDbPlugin.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){e.on("requestLocalSynchronization",function(e){console.info("PouchDb Plugin - requestLocalSynchronization"),console.log("requestLocalSynchronization",e);var t=e.data.documents.posts||[],r=t.map(function(e){return function(){var t=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],r=i["default"].defer();return delete e._links,b.find({selector:{type:{$eq:m},"original.name":{$eq:e.name}},limit:1}).then(function(n){console.log("POST find values",n),n.docs.length?!function(){console.log("POST found",e.name);var o=n.docs[0];o.original&&o.original.content!==e.content||o.published!==e.published?(console.log("POST changed",e.name),e._id=o._id,e._rev=o._rev,e.type=m,b.put(e).then(function(){e._rev=o._rev,t.push(e),r.resolve(t)})["catch"](function(e){r.reject(e)})):(console.log("POST changed",e.name),e._id=o._id,e._rev=o._rev,e.type=m,t.push(e),r.resolve(t))}():(console.log("POST not found",e.name),e._id=d["default"].v4(),e.type=m,b.put(e).then(function(n){e._rev=n.rev,t.push(e),r.resolve(t)})["catch"](function(e){r.reject(e)}))}),r.promise}}),n=(r||[]).reduce(function(e,t){return e.then(t)},(0,i["default"])([])),o=t.map(function(e){return e.name});console.log("POST remotePostNames",o);var s=b.find({selector:{type:{$eq:m},"original.name":{$nin:o}}}).then(function(e){if(e.docs.length){var t=e.docs.map(function(e){return u["default"].pick(e,["_id","_rev","attributes","content","excerpt","html","name","path","title","type","url"])});return console.error("POUCHDB posts",t),b.bulkDocs(t)}return console.error("POUCHDB refreshLocalPosts no post found"),[]});return s.then(function(){return n}).then(function(t){var r=Object.assign({},{posts:t},e.data.documents),n=Object.assign({},e.data,{documents:r});return Object.assign({},e,{data:n})})}),e.on("receiveConfig",function(e){return console.info("PouchDb Plugin - receiveConfig"),console.log("receiveConfig",e),b=new p["default"]("hubpress-"+e.data.config.meta.username+"-"+e.data.config.meta.repositoryName),b.info().then(function(e){console.log("PouchDB infos",e)}),b.createIndex({index:{fields:["name","type"]}}).then(function(){return b.createIndex({index:{fields:["type"]}})}).then(function(){return b.createIndex({index:{fields:["original.name","type"]}})}).then(function(){return b.createIndex({index:{fields:["published","type"]}})}).then(function(){return b.createIndex({index:{fields:["original.name","published","type"]}})}).then(function(){return e})}),e.on("requestLocalPosts",function(e){return console.info("PouchDb Plugin - requestLocalPosts"),console.log("requestLocalPosts",e),b.find({selector:{name:{$gt:null},type:{$eq:m}},sort:[{name:"desc"}]}).then(function(t){var r=Object.assign({},e.data,{posts:t.docs});return Object.assign({},e,{data:r})})}),e.on("requestSelectedPost",function(e){return console.info("PouchDb Plugin - requestSelectedPost"),console.log("requestSelectedPost",e),b.get(e.data.post._id).then(function(t){var r=Object.assign({},e.data,{selectedPost:t});return Object.assign({},e,{data:r})})}),e.on("requestLocalPost",function(e){console.info("PouchDb Plugin - requestLocalPost"),console.log("requestLocalPost",e);var t=i["default"].defer();return b.get(e.data.post._id).then(function(r){var n=Object.assign({},e.data,{post:r});t.resolve(Object.assign({},e,{data:n}))})["catch"](function(r){if(404===r.status){var n=Object.assign({},e.data,{post:{_id:e.data.post._id}});t.resolve(Object.assign({},e,{data:n}))}else t.reject(r)}),t.promise}),e.on("requestSaveLocalPost",function(e){console.info("PouchDb Plugin - requestSaveLocalPost"),console.log("requestSaveLocalPost",e);var t=i["default"].defer();return b.find({selector:{_id:{$ne:e.data.post._id},name:{$eq:e.data.post.name},type:{$eq:m}},limit:1}).then(function(t){if(t.docs.length)throw new Error("Post with the name "+e.data.post.name+" already exist");return e.data.post._id}).then(function(e){return b.get(e)}).then(function(r){var n=Object.assign({},r,e.data.post);n._rev=r._rev,n.type=m,b.put(n).then(function(r){n._rev=r.rev;var o=Object.assign({},e.data,{post:n});t.resolve(Object.assign({},e,{data:o}))})["catch"](function(e){return t.reject(e)})})["catch"](function(r){404===r.status?!function(){var r=Object.assign({},e.data.post);b.put(r).then(function(n){r._rev=n.rev;var o=Object.assign({},e.data,{post:r});t.resolve(Object.assign({},e,{data:o}))})["catch"](function(e){return t.reject(e)})}():t.reject(r)}),t.promise}),e.on("requestLocalPublishedPosts",function(e){return console.info("PouchDb Plugin - requestLocalPublishedPosts"),console.log("requestLocalPublishedPosts",e),b.find({selector:{"original.name":{$gt:null},published:{$eq:1},type:{$eq:m}},sort:[{"original.name":"desc"}]}).then(function(t){console.log("requestLocalPublishedPosts => ",t);var r=Object.assign({},e.data,{publishedPosts:t.docs});return Object.assign({},e,{data:r})})}),e.on("requestDeleteLocalPost",function(e){return console.info("PouchDb Plugin - requestDeleteLocalPost"),console.log("requestDeleteLocalPost",e),b.remove(e.data.post._id,e.data.post._rev).then(function(){return e})})}Object.defineProperty(r,"__esModule",{value:!0}),r.pouchDbPlugin=o;var s=e("q"),i=n(s),a=e("lodash"),u=n(a),l=e("node-uuid"),d=n(l),c=e("pouchdb"),p=n(c),h=e("pouchdb-find"),f=n(h);p["default"].plugin(f["default"]),window.PouchDB=p["default"];var m="post",b=void 0},{lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js","node-uuid":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/node-uuid/uuid.js",pouchdb:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb/lib/index-browser.js","pouchdb-find":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/index.js",q:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/q/q.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/abstract-mapreduce/create-view.js":[function(e,t,r){"use strict";function n(e){if(!e)return"undefined";switch(typeof e){case"function":return e.toString();case"string":return e.toString();default:return JSON.stringify(e)}}var o=e("./upsert"),s=e("./utils"),i=s.Promise;t.exports=function(e){var t=e.db,r=e.viewName,a=e.map,u=e.reduce,l=e.temporary,d=e.pluginName,c=n(a)+n(u)+"undefined";if(!l&&t._cachedViews){var p=t._cachedViews[c];if(p)return i.resolve(p)}return t.info().then(function(e){function n(e){e.views=e.views||{};var t=r;t.indexOf("/")===-1&&(t=r+"/"+r);var n=e.views[t]=e.views[t]||{};if(!n[i])return n[i]=!0,e}var i=e.db_name+"-mrview-"+(l?"temp":s.MD5(c));return o(t,"_local/"+d,n).then(function(){return t.registerDependentDatabase(i).then(function(e){var r=e.db;r.auto_compaction=!0;var n={name:i,db:r,sourceDB:t,adapter:t.adapter,mapFun:a,reduceFun:u};return n.db.get("_local/lastSeq")["catch"](function(e){if(404!==e.status)throw e}).then(function(e){return n.seq=e?e.seq:0,l||(t._cachedViews=t._cachedViews||{},t._cachedViews[c]=n,n.db.on("destroyed",function(){delete t._cachedViews[c]})),n})})})})}},{"./upsert":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/abstract-mapreduce/upsert.js","./utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/abstract-mapreduce/utils.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/abstract-mapreduce/index.js":[function(e,t,r){(function(r){"use strict";function n(e){this.status=400,this.name="query_parse_error",this.message=e,this.error=!0;try{Error.captureStackTrace(this,n)}catch(t){}}function o(e){this.status=404,this.name="not_found",this.message=e,this.error=!0;try{Error.captureStackTrace(this,o)}catch(t){}}function s(e){return e.indexOf("/")===-1?[e,e]:e.split("/")}function i(e){return 1===e.length&&/^1-/.test(e[0].rev)}function a(e,t){var r=_(e.key,t.key);return 0!==r?r:_(e.value,t.value)}function u(e,t,r){return r=r||0,"number"==typeof t?e.slice(r,t+r):r>0?e.slice(r):e}function l(e){var t=e.value,r=t&&"object"==typeof t&&t._id||e.id;return r}function d(e,t){try{e.emit("error",t)}catch(r){console.error("The user's map/reduce function threw an uncaught error.\nYou can debug this error by doing:\nmyDatabase.on('error', function (err) { debugger; });\nPlease double-check your map/reduce function."),console.error(t)}}function c(e,t,r){try{return{output:t.apply(null,r)}}catch(n){return d(e,n),{error:n}}}function p(e,t){var r=e.descending?"endkey":"startkey",o=e.descending?"startkey":"endkey";if("undefined"!=typeof e[r]&&"undefined"!=typeof e[o]&&_(e[r],e[o])>0)throw new n("No rows can match your key range, reverse your start_key and end_key or set {descending : true}");if(t.reduce&&e.reduce!==!1){if(e.include_docs)throw new n("{include_docs:true} is invalid for reduce");if(e.keys&&e.keys.length>1&&!e.group&&!e.group_level)throw new n("Multi-key fetches for reduce views must use {group: true}")}if(e.group_level){if("number"!=typeof e.group_level)throw new n('Invalid value for integer: "'+e.group_level+'"');if(e.group_level<0)throw new n('Invalid value for positive integer: "'+e.group_level+'"')}}function h(e){return function(t){if(404===t.status)return e;throw t}}function f(e){function t(e,t,r){function n(){return i(c)?x.resolve(u):t.db.get(a)["catch"](h(u))}function o(e){return e.keys.length?t.db.allDocs({keys:e.keys,include_docs:!0}):x.resolve({rows:[]})}function s(e,t){for(var r=[],n={},o=0,s=t.rows.length;oi?r.slice(0,i):r),t&&0===_(t.key[0][0],r)?(t.key.push([r,e.id]),void t.value.push(e.value)):void s.push({key:[[r,e.id]],value:[e.value]})});for(var a=0,l=s.length;ar))return e.doc.value}var n=b.parseIndexableString(e.doc._id);return{key:n[0],id:n[1],value:"value"in e.doc?e.doc.value:null}})})}function n(r){var n;if(n=s?j(e,r,t):{total_rows:o,offset:i,rows:r},t.include_docs){var a=w.uniq(r.map(l));return e.sourceDB.allDocs({keys:a,include_docs:!0,conflicts:t.conflicts,attachments:t.attachments,binary:t.binary}).then(function(e){var t={};return e.rows.forEach(function(e){e.doc&&(t["$"+e.id]=e.doc)}),r.forEach(function(e){var r=l(e),n=t["$"+r];n&&(e.doc=n)}),n})}return n}var o,s=e.reduceFun&&t.reduce!==!1,i=t.skip||0;"undefined"==typeof t.keys||t.keys.length||(t.limit=0,delete t.keys);var a=function(e){return e.reduce(function(e,t){return e.concat(t)})};if("undefined"!=typeof t.keys){var u=t.keys,d=u.map(function(e){var t={startkey:g([e]),endkey:g([e,{}])};return r(t)});return x.all(d).then(a).then(n)}var c={descending:t.descending};if("undefined"!=typeof t.startkey&&(c.startkey=g(t.descending?[t.startkey,{}]:[t.startkey])),"undefined"!=typeof t.endkey){var p=t.inclusive_end!==!1;t.descending&&(p=!p),c.endkey=g(p?[t.endkey,{}]:[t.endkey])}if("undefined"!=typeof t.key){var h=g([t.key]),f=g([t.key,{}]);c.descending?(c.endkey=h,c.startkey=f):(c.startkey=h,c.endkey=f)}return s||("number"==typeof t.limit&&(c.limit=t.limit),c.skip=i),r(c).then(n)}function S(e){return e.get("_local/"+D).then(function(t){var r={};Object.keys(t.views).forEach(function(e){var t=s(e),n="_design/"+t[0],o=t[1];r[n]=r[n]||{},r[n][o]=!0});var n={keys:Object.keys(r),include_docs:!0};return e.allDocs(n).then(function(n){var o={};n.rows.forEach(function(e){var n=e.key.substring(8);Object.keys(r[e.key]).forEach(function(r){var s=n+"/"+r;t.views[s]||(s=r);var i=Object.keys(t.views[s]),a=e.doc&&e.doc.views&&e.doc.views[r];i.forEach(function(e){o[e]=o[e]||a})})});var s=Object.keys(o).filter(function(e){return!o[e]}),i=s.map(function(t){return w.sequentialize(d(t),function(){return new e.constructor(t,e.__opts).destroy()})()});return x.all(i).then(function(){return{ok:!0}})})},h({ok:!0}))}function k(e,t,n){if("string"!=typeof t){p(n,t);var i={db:e,viewName:"temp_view/temp_view",map:t.map,reduce:t.reduce,temporary:!0,pluginName:D};return P.add(function(){return $(i).then(function(e){function t(){return e.db.destroy()}return w.fin(f(e).then(function(){return T(e,n)}),t)})}),P.finish()}var a=t,u=s(a),l=u[0],d=u[1];return e.get("_design/"+l).then(function(t){var s=t.views&&t.views[d];if(!s)throw new o("ddoc "+t._id+" has no view named "+d);F(t,d),p(n,s);var i={db:e,viewName:a,map:s.map,reduce:s.reduce,pluginName:D};return $(i).then(function(e){return"ok"===n.stale||"update_after"===n.stale?("update_after"===n.stale&&r.nextTick(function(){f(e)}),T(e,n)):f(e).then(function(){return T(e,n)})})})}var D=e.name,O=e.mapper,H=e.reducer,F=e.ddocValidator,M=function(e,t,r){var n=this;"function"==typeof t&&(r=t,t={}),t=w.extend(!0,{},t),"function"==typeof e&&(e={map:e});var o=x.resolve().then(function(){return k(n,e,t)});return w.promisedCallback(o,r),o},R=w.callbackify(function(){var e=this;return S(e)});return{query:M,viewCleanup:R}}var m,b=e("pouchdb-collate"),v=e("./taskqueue"),_=b.collate,g=b.toIndexableString,y=b.normalizeKey,$=e("./create-view");m="undefined"!=typeof console&&"function"==typeof console.log?Function.prototype.bind.call(console.log,console):function(){};var w=e("./utils"),x=w.Promise,E={},P=new v,C=50;w.inherits(n,Error),w.inherits(o,Error),t.exports=f}).call(this,e("_process"))},{"./create-view":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/abstract-mapreduce/create-view.js","./taskqueue":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/abstract-mapreduce/taskqueue.js","./utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/abstract-mapreduce/utils.js",_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js","pouchdb-collate":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/node_modules/pouchdb-collate/lib/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/abstract-mapreduce/taskqueue.js":[function(e,t,r){"use strict";function n(){this.promise=new o(function(e){e()})}var o=e("./utils").Promise;n.prototype.add=function(e){return this.promise=this.promise["catch"](function(){}).then(function(){return e()}),this.promise},n.prototype.finish=function(){return this.promise},t.exports=n},{"./utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/abstract-mapreduce/utils.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/abstract-mapreduce/upsert.js":[function(e,t,r){"use strict";var n=e("pouchdb-upsert").upsert;t.exports=function(e,t,r){return n.apply(e,[t,r])}},{"pouchdb-upsert":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/node_modules/pouchdb-upsert/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/abstract-mapreduce/utils.js":[function(e,t,r){(function(t){"use strict";r.Promise=e("pouchdb/extras/promise"),r.inherits=e("inherits"),r.extend=e("pouchdb-extend");var n=e("argsarray");r.promisedCallback=function(e,r){return r&&e.then(function(e){t.nextTick(function(){r(null,e)})},function(e){t.nextTick(function(){r(e)})}),e},r.callbackify=function(e){return n(function(t){var n=t.pop(),o=e.apply(this,t);return"function"==typeof n&&r.promisedCallback(o,n),o})},r.fin=function(e,t){return e.then(function(e){var r=t();return"function"==typeof r.then?r.then(function(){return e}):e},function(e){var r=t();if("function"==typeof r.then)return r.then(function(){throw e});throw e})},r.sequentialize=function(e,t){return function(){var r=arguments,n=this;return e.add(function(){return t.apply(n,r)})}},r.flatten=function(e){for(var t=[],r=0,n=e.length;r-1:e===t})}function m(e,t){return t.every(function(t){return e.indexOf(t)>-1})}function b(e,t){return e.length===t}function v(e,t){var r=new RegExp(t);return r.test(e)}function _(e,t){switch(t){case"null":return null===e;case"boolean":return"boolean"==typeof e;case"number":return"number"==typeof e;case"string":return"string"==typeof e;case"array":return e instanceof Array;case"object":return"[object Object]"==={}.toString.call(e)}throw new Error(t+" not supported as a type.Please use one of object, string, array, number, boolean or null.")}var g=e("pouchdb-collate").collate,y=e("../utils"),$=y.isCombinationalField,w=y.getKey,x=y.getValue,E=y.parseField,P=e("../../../utils"),C={$elemMatch:function(e,t,r,n){return!!c(n)&&(0===n.length?(console.log("FIELD WOOO!"),!1):"object"==typeof n[0]?n.some(function(e){return i(e,t,Object.keys(t))}):n.some(function(n){return a(t,e,r,n)}))},$eq:function(e,t,r,n){return d(n)&&0===g(n,t)},$gte:function(e,t,r,n){return d(n)&&g(n,t)>=0},$gt:function(e,t,r,n){return d(n)&&g(n,t)>0},$lte:function(e,t,r,n){return d(n)&&g(n,t)<=0},$lt:function(e,t,r,n){return d(n)&&g(n,t)<0},$exists:function(e,t,r,n){return t?p(n):!p(n)},$mod:function(e,t,r,n){return d(n)&&h(n,t)},$ne:function(e,t,r,n){return t.every(function(e){return 0!==g(n,e)})},$in:function(e,t,r,n){return d(n)&&f(n,t)},$nin:function(e,t,r,n){return d(n)&&!f(n,t)},$size:function(e,t,r,n){return d(n)&&b(n,t)},$all:function(e,t,r,n){return c(n)&&m(n,t)},$regex:function(e,t,r,n){return d(n)&&v(n,t)},$type:function(e,t,r,n){return _(n,t)}};t.exports=s},{"../../../utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/utils.js","../utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/adapters/local/utils.js","pouchdb-collate":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/node_modules/pouchdb-collate/lib/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/adapters/local/find/index.js":[function(e,t,r){"use strict";function n(e){return e.ddoc.substring(8)+"/"+e.name}function o(e,t){var r=a(t);return r.descending?("endkey"in r&&"string"!=typeof r.endkey&&(r.endkey=""),"startkey"in r&&"string"!=typeof r.startkey&&(r.limit=0)):("startkey"in r&&"string"!=typeof r.startkey&&(r.startkey=""),"endkey"in r&&"string"!=typeof r.endkey&&(r.limit=0)),"key"in r&&"string"!=typeof r.key&&(r.limit=0),e.allDocs(r)}function s(e,t){return t.selector&&(t.selector=f(t.selector)),t.sort&&(t.sort=m(t.sort)),v(t),u(e).then(function(r){var s=c(t,r.indexes),a=s.index,u=i.extend(!0,{include_docs:!0,reduce:!1},s.queryOpts);if("startkey"in u&&"endkey"in u&&l(u.startkey,u.endkey)>0)return{docs:[]};var p=t.sort&&"string"!=typeof t.sort[0]&&"desc"===b(t.sort[0]);return p&&(u.descending=!0,u=_(u)),s.inMemoryFields.length||("limit"in t&&(u.limit=t.limit),"skip"in t&&(u.skip=t.skip)),y.resolve().then(function(){if("_all_docs"===a.name)return o(e,u);var t=n(a);return d.query.call(e,t,u)}).then(function(e){return u.inclusive_start===!1&&(e.rows=g(e.rows,u.startkey,a)),s.inMemoryFields.length&&(e.rows=h(e.rows,t,s.inMemoryFields)),{docs:e.rows.map(function(e){var r=e.doc;return t.fields?i.pick(r,t.fields):r})}})})}var i=e("../../../utils"),a=i.clone,u=e("../get-indexes"),l=e("pouchdb-collate").collate,d=e("../abstract-mapper"),c=e("./query-planner"),p=e("../utils"),h=e("./in-memory-filter"),f=p.massageSelector,m=p.massageSort,b=p.getValue,v=p.validateFindRequest,_=p.reverseOptions,g=p.filterInclusiveStart,y=i.Promise;t.exports=s},{"../../../utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/utils.js","../abstract-mapper":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/adapters/local/abstract-mapper.js","../get-indexes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/adapters/local/get-indexes/index.js","../utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/adapters/local/utils.js","./in-memory-filter":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/adapters/local/find/in-memory-filter.js","./query-planner":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/adapters/local/find/query-planner.js","pouchdb-collate":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/node_modules/pouchdb-collate/lib/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/adapters/local/find/query-planner.js":[function(e,t,r){"use strict";function n(e,t){for(var r=e.def.fields.map(P),n=0,o=r.length;n0){if("$ne"in p){r(l);break}var h="$gt"in p||"$gte"in p||"$lt"in p||"$lte"in p,f=Object.keys(e[s[l-1]]),m=w.arrayEquals(f,["$eq"]),b=w.arrayEquals(f,Object.keys(p)),_=h&&!m&&!b;if(_){r(l);break}}for(var g=Object.keys(p),y=null,$=0;$=e.length?t:e;return new Error("couldn't find a usable index. try creating an index on: "+n.join(", ")+". Make sure that only $eq, $gt, $gte, $lt, and $lte are used for the indexed fields.")}function $(e,t){x("planning query",e);var r=e.selector,n=e.sort,o=j(r,n),s=o.fields,i=o.sortOrder,a=f(r,s,i,t);if(!a)throw y(s,i,r);var l=a.def.fields[0],d=(r[P(l)],g(r,a)),c=d.queryOpts,p=d.inMemoryFields,h=u(p,a,r,s),m={queryOpts:c,index:a,inMemoryFields:h};return x("query plan",m),m}var w=e("../../../utils"),x=w.log,E=e("../utils"),P=E.getKey,C=E.getValue,j=E.getUserFields,T=null,A={"￿":{}},S=["$eq","$gt","$gte","$lt","$lte"];t.exports=$},{"../../../utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/utils.js","../utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/adapters/local/utils.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/adapters/local/get-indexes/index.js":[function(e,t,r){"use strict";function n(e){return e.allDocs({startkey:"_design/",endkey:"_design/￿",include_docs:!0}).then(function(e){var t={indexes:[{ddoc:null,name:"_all_docs",type:"special",def:{fields:[{_id:"asc"}]}}]};return t.indexes=o.flatten(t.indexes,e.rows.filter(function(e){return"query"===e.doc.language}).map(function(e){var t=void 0!==e.doc.views?Object.keys(e.doc.views):[];return t.map(function(t){var r=e.doc.views[t];return{ddoc:e.id,name:t,type:"json",def:i(r.options.def)}})})),t.indexes.sort(function(e,t){return o.compare(e.name,t.name)}),t.total_rows=t.indexes.length,t})}var o=e("../../../utils"),s=e("../utils"),i=s.massageIndexDef;t.exports=n},{"../../../utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/utils.js","../utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/adapters/local/utils.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/adapters/local/index.js":[function(e,t,r){"use strict";var n=e("../../utils"),o=n.callbackify;r.createIndex=o(e("./create-index")),r.find=o(e("./find")),r.getIndexes=o(e("./get-indexes")),r.deleteIndex=o(e("./delete-index"))},{"../../utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/utils.js","./create-index":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/adapters/local/create-index/index.js","./delete-index":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/adapters/local/delete-index/index.js","./find":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/adapters/local/find/index.js","./get-indexes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/adapters/local/get-indexes/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/adapters/local/utils.js":[function(e,t,r){"use strict";function n(e){return Object.keys(e)[0]}function o(e){return e[n(e)]}function s(e){if(!Array.isArray(e))throw new Error("invalid sort json - should be an array");return e.map(function(e){if("string"==typeof e){var t={};return t[e]="asc",t}return e})}function i(e){return x.indexOf(e)>-1}function a(e,t,r){"undefined"==typeof r.$eq&&("undefined"!=typeof r.$gte?"$gte"===e?t>r.$gte&&(r.$gte=t):t>=r.$gte&&(delete r.$gte,r.$gt=t):"undefined"!=typeof r.$gt?"$gte"===e?t>r.$gt&&(delete r.$gt,r.$gte=t):t>r.$gt&&(r.$gt=t):r[e]=t)}function u(e,t,r){"undefined"==typeof r.$eq&&("undefined"!=typeof r.$lte?"$lte"===e?tt.length;)a.pop();if(Math.abs(w.collate(a,t))>0)break}return o>0?e.slice(o):e}function b(e){var t=$.clone(e);return delete t.startkey,delete t.endkey,delete t.inclusive_start,delete t.inclusive_end,"endkey"in e&&(t.startkey=e.endkey),"startkey"in e&&(t.endkey=e.startkey),"inclusive_start"in e&&(t.inclusive_end=e.inclusive_start),"inclusive_end"in e&&(t.inclusive_start=e.inclusive_end),t}function v(e){var t=e.fields.filter(function(e){return"asc"===o(e)});if(0!==t.length&&t.length!==e.fields.length)throw new Error("unsupported mixed sorting")}function _(e){if("object"!=typeof e.selector)throw new Error("you must provide a selector when you find()");var t=Object.keys(e.selector),r=e.sort?s(e.sort).map(n):[];if(!$.oneSetIsSubArrayOfOther(t,r))throw new Error("conflicting sort and selector fields");for(var o=e.selector.$and||[e.selector],i=0;i0&&"\\"===e[n-1]?r=r.substring(0,r.length-1)+".":(t.push(r),r=""):r+=s}return t.push(r),t}function y(e,t){var r,o=Object.keys(e),s=t?t.map(n):[];return r=o.length>s.length?o:s,0===s.length?{fields:r}:(r=r.sort(function(e,t){var r=s.indexOf(e);r===-1&&(r=Number.MAX_VALUE);var n=s.indexOf(t);return n===-1&&(n=Number.MAX_VALUE),rn?1:0}),{fields:r,sortOrder:t.map(n)})}var $=e("../../utils"),w=e("pouchdb-collate"),x=["$or","$nor","$not"];t.exports={getKey:n,getValue:o,massageSort:s,massageSelector:p,validateIndex:v,validateFindRequest:_,reverseOptions:b,filterInclusiveStart:m,massageIndexDef:h,parseField:g,getUserFields:y,isCombinationalField:i}},{"../../utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/utils.js","pouchdb-collate":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/node_modules/pouchdb-collate/lib/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/index.js":[function(e,t,r){"use strict";var n=e("./utils"),o=e("./adapters/http"),s=e("./adapters/local");r.createIndex=n.toPromise(function(e,t){if("object"!=typeof e)return t(new Error("you must provide an index to create"));var r="http"===this.type()?o:s;r.createIndex(this,e,t)}),r.find=n.toPromise(function(e,t){if("undefined"==typeof t&&(t=e,e=void 0),"object"!=typeof e)return t(new Error("you must provide search parameters to find()"));var r="http"===this.type()?o:s;r.find(this,e,t)}),r.getIndexes=n.toPromise(function(e){var t="http"===this.type()?o:s;t.getIndexes(this,e)}),r.deleteIndex=n.toPromise(function(e,t){if("object"!=typeof e)return t(new Error("you must provide an index to delete"));var r="http"===this.type()?o:s;r.deleteIndex(this,e,t)}),"undefined"!=typeof window&&window.PouchDB&&window.PouchDB.plugin(r)},{"./adapters/http":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/adapters/http/index.js","./adapters/local":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/adapters/local/index.js","./utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/utils.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/massageCreateIndexRequest.js":[function(e,t,r){"use strict";var n=e("./utils"),o=n.clone;t.exports=function(e){return e=o(e),e.index||(e.index={}),["type","name","ddoc"].forEach(function(t){e.index[t]&&(e[t]=e.index[t],delete e.index[t])}),e.fields&&(e.index.fields=e.fields,delete e.fields),e.type||(e.type="json"),e}},{"./utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/utils.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/lib/utils.js":[function(e,t,r){(function(t){"use strict";var n=e("pouchdb/extras/promise");r.once=function(e){var t=!1;return r.getArguments(function(r){if(t)throw console.trace(),new Error("once called more than once");t=!0,e.apply(this,r)})},r.getArguments=function(e){return function(){for(var t=arguments.length,r=new Array(t),n=-1;++nt.length)&&r.oneArrayIsSubArrayOfOther(e,t)},r.oneSetIsSubArrayOfOther=function(e,t){e=e.slice();for(var r=0,n=t.length;rt?1:0},r.arrayToObject=function(e){for(var t={},r=0,n=e.length;rn&&(n=a,r=i)}return r},r.arrayEquals=function(e,t){if(e.length!==t.length)return!1;for(var r=0,n=e.length;r=31}function o(){var e=arguments,t=this.useColors;if(e[0]=(t?"%c":"")+this.namespace+(t?" %c":" ")+e[0]+(t?"%c ":" ")+"+"+r.humanize(this.diff),!t)return e;var n="color: "+this.color;e=[e[0],n,"color: inherit"].concat(Array.prototype.slice.call(e,1));var o=0,s=0;return e[0].replace(/%[a-z%]/g,function(e){"%%"!==e&&(o++,"%c"===e&&(s=o))}),e.splice(s,0,n),e}function s(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function i(e){try{null==e?r.storage.removeItem("debug"):r.storage.debug=e}catch(t){}}function a(){var e;try{e=r.storage.debug}catch(t){}return e}function u(){try{return window.localStorage}catch(e){}}r=t.exports=e("./debug"),r.log=s,r.formatArgs=o,r.save=i,r.load=a,r.useColors=n,r.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:u(),r.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],r.formatters.j=function(e){return JSON.stringify(e)},r.enable(a())},{"./debug":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/node_modules/debug/debug.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb-find/node_modules/debug/debug.js":[function(e,t,r){function n(){return r.colors[d++%r.colors.length]}function o(e){function t(){}function o(){var e=o,t=+new Date,s=t-(l||t);e.diff=s,e.prev=l,e.curr=t,l=t,null==e.useColors&&(e.useColors=r.useColors()),null==e.color&&e.useColors&&(e.color=n());var i=Array.prototype.slice.call(arguments);i[0]=r.coerce(i[0]),"string"!=typeof i[0]&&(i=["%o"].concat(i));var a=0;i[0]=i[0].replace(/%([a-z%])/g,function(t,n){if("%%"===t)return t;a++;var o=r.formatters[n];if("function"==typeof o){var s=i[a];t=o.call(e,s),i.splice(a,1),a--}return t}),"function"==typeof r.formatArgs&&(i=r.formatArgs.apply(e,i));var u=o.log||r.log||console.log.bind(console);u.apply(e,i)}t.enabled=!1,o.enabled=!0;var s=r.enabled(e)?o:t;return s.namespace=e,s}function s(e){r.save(e);for(var t=(e||"").split(/[\s,]+/),n=t.length,o=0;o1e4)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*c;case"days":case"day":case"d":return r*d;case"hours":case"hour":case"hrs":case"hr":case"h":return r*l;case"minutes":case"minute":case"mins":case"min":case"m":return r*u;case"seconds":case"second":case"secs":case"sec":case"s":return r*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r}}}}function o(e){return e>=d?Math.round(e/d)+"d":e>=l?Math.round(e/l)+"h":e>=u?Math.round(e/u)+"m":e>=a?Math.round(e/a)+"s":e+"ms"}function s(e){return i(e,d,"day")||i(e,l,"hour")||i(e,u,"minute")||i(e,a,"second")||e+" ms"}function i(e,t,r){if(!(et.length?1:-1}function a(e,t){return e===t?0:e>t?1:-1}function u(e,t){for(var n=Object.keys(e),o=Object.keys(t),s=Math.min(n.length,o.length),i=0;io.length?1:-1}function l(e){var t=["boolean","number","string","object"],r=t.indexOf(typeof e);return~r?null===e?1:Array.isArray(e)?5:r<3?r+2:r+3:Array.isArray(e)?5:void 0}function d(e){if(0===e)return"1";var t=e.toExponential().split(/e\+?/),r=parseInt(t[1],10),n=e<0,o=n?"0":"2",s=(n?-r:r)-c,i=f.padLeft(s.toString(),"0",p);o+=h+i;var a=Math.abs(parseFloat(t[0]));n&&(a=10-a);var u=a.toFixed(20);return u=u.replace(/\.?0+$/,""),o+=h+u}var c=-324,p=3,h="",f=e("./utils");r.collate=function(e,t){if(e===t)return 0;e=r.normalizeKey(e),t=r.normalizeKey(t);var n=l(e),o=l(t);if(n-o!==0)return n-o;if(null===e)return 0;switch(typeof e){case"number":return e-t;case"boolean":return e===t?0:e>>32-s,n)},n=function(e,t,n,o,s,i,a){return r(t&n|~t&o,e,t,s,i,a)},o=function(e,t,n,o,s,i,a){return r(t&o|n&~o,e,t,s,i,a)},s=function(e,t,n,o,s,i,a){return r(t^n^o,e,t,s,i,a)},i=function(e,t,n,o,s,i,a){return r(n^(t|~o),e,t,s,i,a)},a=function(e,r){var a=e[0],u=e[1],l=e[2],d=e[3];a=n(a,u,l,d,r[0],7,-680876936),d=n(d,a,u,l,r[1],12,-389564586),l=n(l,d,a,u,r[2],17,606105819),u=n(u,l,d,a,r[3],22,-1044525330),a=n(a,u,l,d,r[4],7,-176418897),d=n(d,a,u,l,r[5],12,1200080426),l=n(l,d,a,u,r[6],17,-1473231341),u=n(u,l,d,a,r[7],22,-45705983),a=n(a,u,l,d,r[8],7,1770035416),d=n(d,a,u,l,r[9],12,-1958414417),l=n(l,d,a,u,r[10],17,-42063),u=n(u,l,d,a,r[11],22,-1990404162),a=n(a,u,l,d,r[12],7,1804603682),d=n(d,a,u,l,r[13],12,-40341101),l=n(l,d,a,u,r[14],17,-1502002290),u=n(u,l,d,a,r[15],22,1236535329),a=o(a,u,l,d,r[1],5,-165796510),d=o(d,a,u,l,r[6],9,-1069501632),l=o(l,d,a,u,r[11],14,643717713),u=o(u,l,d,a,r[0],20,-373897302),a=o(a,u,l,d,r[5],5,-701558691),d=o(d,a,u,l,r[10],9,38016083),l=o(l,d,a,u,r[15],14,-660478335),u=o(u,l,d,a,r[4],20,-405537848),a=o(a,u,l,d,r[9],5,568446438),d=o(d,a,u,l,r[14],9,-1019803690),l=o(l,d,a,u,r[3],14,-187363961),u=o(u,l,d,a,r[8],20,1163531501),a=o(a,u,l,d,r[13],5,-1444681467),d=o(d,a,u,l,r[2],9,-51403784),l=o(l,d,a,u,r[7],14,1735328473),u=o(u,l,d,a,r[12],20,-1926607734),a=s(a,u,l,d,r[5],4,-378558),d=s(d,a,u,l,r[8],11,-2022574463),l=s(l,d,a,u,r[11],16,1839030562),u=s(u,l,d,a,r[14],23,-35309556),a=s(a,u,l,d,r[1],4,-1530992060),d=s(d,a,u,l,r[4],11,1272893353),l=s(l,d,a,u,r[7],16,-155497632),u=s(u,l,d,a,r[10],23,-1094730640),a=s(a,u,l,d,r[13],4,681279174),d=s(d,a,u,l,r[0],11,-358537222),l=s(l,d,a,u,r[3],16,-722521979),u=s(u,l,d,a,r[6],23,76029189),a=s(a,u,l,d,r[9],4,-640364487),d=s(d,a,u,l,r[12],11,-421815835),l=s(l,d,a,u,r[15],16,530742520),u=s(u,l,d,a,r[2],23,-995338651),a=i(a,u,l,d,r[0],6,-198630844),d=i(d,a,u,l,r[7],10,1126891415),l=i(l,d,a,u,r[14],15,-1416354905),u=i(u,l,d,a,r[5],21,-57434055),a=i(a,u,l,d,r[12],6,1700485571),d=i(d,a,u,l,r[3],10,-1894986606),l=i(l,d,a,u,r[10],15,-1051523),u=i(u,l,d,a,r[1],21,-2054922799),a=i(a,u,l,d,r[8],6,1873313359),d=i(d,a,u,l,r[15],10,-30611744),l=i(l,d,a,u,r[6],15,-1560198380),u=i(u,l,d,a,r[13],21,1309151649),a=i(a,u,l,d,r[4],6,-145523070),d=i(d,a,u,l,r[11],10,-1120210379),l=i(l,d,a,u,r[2],15,718787259),u=i(u,l,d,a,r[9],21,-343485551),e[0]=t(a,e[0]),e[1]=t(u,e[1]),e[2]=t(l,e[2]),e[3]=t(d,e[3])},u=function(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return r},l=function(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return r},d=function(e){var t,r,n,o,s,i,l=e.length,d=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=l;t+=64)a(d,u(e.substring(t-64,t)));for(e=e.substring(t-64),r=e.length,n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t>2]|=e.charCodeAt(t)<<(t%4<<3);if(n[t>>2]|=128<<(t%4<<3),t>55)for(a(d,n),t=0;t<16;t+=1)n[t]=0;return o=8*l,o=o.toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(o[2],16),i=parseInt(o[1],16)||0,n[14]=s,n[15]=i,a(d,n),d},c=function(e){var t,r,n,o,s,i,u=e.length,d=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=u;t+=64)a(d,l(e.subarray(t-64,t)));for(e=t-64>2]|=e[t]<<(t%4<<3);if(n[t>>2]|=128<<(t%4<<3),t>55)for(a(d,n),t=0;t<16;t+=1)n[t]=0;return o=8*u,o=o.toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(o[2],16),i=parseInt(o[1],16)||0,n[14]=s,n[15]=i,a(d,n),d},p=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],h=function(e){var t,r="";for(t=0;t<4;t+=1)r+=p[e>>8*t+4&15]+p[e>>8*t&15];return r},f=function(e){var t;for(t=0;t>16)+(t>>16)+(r>>16);return n<<16|65535&r}),b.prototype.append=function(e){return/[\u0080-\uFFFF]/.test(e)&&(e=unescape(encodeURIComponent(e))),this.appendBinary(e),this},b.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var t,r=this._buff.length;for(t=64;t<=r;t+=64)a(this._state,u(this._buff.substring(t-64,t)));return this._buff=this._buff.substr(t-64),this},b.prototype.end=function(e){var t,r,n=this._buff,o=n.length,s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t>2]|=n.charCodeAt(t)<<(t%4<<3);return this._finish(s,o),r=e?this._state:f(this._state),this.reset(),r},b.prototype._finish=function(e,t){var r,n,o,s=t;if(e[s>>2]|=128<<(s%4<<3),s>55)for(a(this._state,e),s=0;s<16;s+=1)e[s]=0;r=8*this._length,r=r.toString(16).match(/(.*?)(.{0,8})$/),n=parseInt(r[2],16),o=parseInt(r[1],16)||0,e[14]=n,e[15]=o,a(this._state,e)},b.prototype.reset=function(){return this._buff="",this._length=0,this._state=[1732584193,-271733879,-1732584194,271733878],this},b.prototype.destroy=function(){delete this._state,delete this._buff,delete this._length},b.hash=function(e,t){/[\u0080-\uFFFF]/.test(e)&&(e=unescape(encodeURIComponent(e)));var r=d(e);return t?r:f(r)},b.hashBinary=function(e,t){var r=d(e);return t?r:f(r)},b.ArrayBuffer=function(){this.reset()},b.ArrayBuffer.prototype.append=function(e){var t,r=this._concatArrayBuffer(this._buff,e),n=r.length;for(this._length+=e.byteLength,t=64;t<=n;t+=64)a(this._state,l(r.subarray(t-64,t)));return this._buff=t-64>2]|=n[t]<<(t%4<<3);return this._finish(s,o),r=e?this._state:f(this._state),this.reset(),r},b.ArrayBuffer.prototype._finish=b.prototype._finish,b.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._state=[1732584193,-271733879,-1732584194,271733878],this},b.ArrayBuffer.prototype.destroy=b.prototype.destroy,b.ArrayBuffer.prototype._concatArrayBuffer=function(e,t){var r=e.length,n=new Uint8Array(r+t.byteLength);return n.set(e),n.set(new Uint8Array(t),r),n},b.ArrayBuffer.hash=function(e,t){var r=c(new Uint8Array(e));return t?r:f(r)},b})},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb/extras/promise.js":[function(e,t,r){t.exports=e("../lib/extras/promise")},{"../lib/extras/promise":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb/lib/extras/promise.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb/lib/extras/promise.js":[function(e,t,r){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e["default"]:e}var o=n(e("lie")),s="function"==typeof Promise?Promise:o;t.exports=s},{lie:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb/node_modules/lie/lib/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb/lib/index-browser.js":[function(e,t,r){(function(r,n){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e["default"]:e}function s(e){return e instanceof ArrayBuffer||"undefined"!=typeof Blob&&e instanceof Blob}function i(e){if("function"==typeof e.slice)return e.slice(0);var t=new ArrayBuffer(e.byteLength),r=new Uint8Array(t),n=new Uint8Array(e);return r.set(n),t}function a(e){if(e instanceof ArrayBuffer)return i(e);var t=e.size,r=e.type;return"function"==typeof e.slice?e.slice(0,t,r):e.webkitSlice(0,t,r)}function u(e){var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=t.constructor;return"function"==typeof r&&r instanceof r&&On.call(r)==Hn}function l(e){var t,r,n;if(!e||"object"!=typeof e)return e;if(Array.isArray(e)){for(t=[],r=0,n=e.length;r=b.length)){var e=Math.min(v+Mn,b.length),t=b.slice(v,e);a(t,v),v+=t.length}}function a(r,n){r.forEach(function(r,o){var a=n+o,u=l[r],d=h(u[0],["atts_since","attachments"]);d.open_revs=u.map(function(e){return e.rev}),d.open_revs=d.open_revs.filter(f);var c=f;0===d.open_revs.length&&(delete d.open_revs,c=m),["revs","attachments","binary","ajax"].forEach(function(e){e in t&&(d[e]=t[e])}),e.get(r,d,function(e,t){var n;n=e?[{error:e}]:c(t),s(a,r,n),i()})})}var u=t.docs,l={};u.forEach(function(e){e.id in l?l[e.id].push(e):l[e.id]=[e]});var d=Object.keys(l).length,c=0,p=new Array(d),b=Object.keys(l),v=0;i()}function v(){return"undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage&&"undefined"!=typeof chrome.storage.local}function _(){return gn}function g(e){v()?chrome.storage.onChanged.addListener(function(t){null!=t.db_name&&e.emit(t.dbName.newValue)}):_()&&("undefined"!=typeof addEventListener?addEventListener("storage",function(t){e.emit(t.key)}):window.attachEvent("storage",function(t){e.emit(t.key)}))}function y(){Cn.EventEmitter.call(this),this._listeners={},g(this)}function $(e){if("undefined"!==console&&e in console){var t=Array.prototype.slice.call(arguments,1);console[e].apply(console,t)}}function w(e,t){var r=6e5;e=parseInt(e,10)||0,t=parseInt(t,10),t!==t||t<=e?t=(e||1)<<1:t+=1,t>r&&(e=r>>1,t=r);var n=Math.random(),o=t-e;return~~(o*n+e)}function x(e){var t=0;return e||(t=2e3),w(e,t)}function E(e,t){$("info","The above "+e+" is totally normal. "+t)}function P(e){Error.call(this,e.reason),this.status=e.status,this.name=e.error,this.message=e.reason,this.error=!0}function C(e,t){function r(t){for(var r in e)"function"!=typeof e[r]&&(this[r]=e[r]);void 0!==t&&(this.reason=t)}return r.prototype=P.prototype,new r(t)}function j(e){if("object"!=typeof e){var t=e;e=Wn,e.data=t}return"error"in e&&"conflict"===e.error&&(e.name="conflict",e.status=409),"name"in e||(e.name=e.error||"unknown"),"status"in e||(e.status=500),"message"in e||(e.message=e.message||e.reason),e}function T(e,t,r){try{return!e(t,r)}catch(n){var o="Filter function threw: "+n.toString();return C(Yn,o)}}function A(e){var t={},r=e.filter&&"function"==typeof e.filter;return t.query=e.query_params,function(n){n.doc||(n.doc={});var o=r&&T(e.filter,n.doc,t);if("object"==typeof o)return o;if(o)return!1;if(e.include_docs){if(!e.attachments)for(var s in n.doc._attachments)n.doc._attachments.hasOwnProperty(s)&&(n.doc._attachments[s].stub=!0)}else delete n.doc;return!0}}function S(e){for(var t=[],r=0,n=e.length;r>>1,r(e[n],t)<0?o=n+1:s=n;return o}function Y(e,t,r){var n=K(e,t,r);e.splice(n,0,t)}function X(e,t){for(var r,n,o=t,s=e.length;o0;){var o=r.pop(),s=o.tree1,i=o.tree2;(s[1].status||i[1].status)&&(s[1].status="available"===s[1].status||"available"===i[1].status?"available":"missing");for(var a=0;a0;){var m=f.pop();if(0!==m.diff)for(var b=m.ids[2],v=0,_=b.length;v<_;v++)f.push({ids:b[v],diff:m.diff-1,parent:m.ids,parentIdx:v});else m.ids[0]===c.ids[0]&&h.push(m)}var g=h[0];g?(n=J(g.ids,c.ids),g.parent[2][g.parentIdx]=n.tree,o.push({pos:d.pos,ids:d.ids}),s=s||n.conflicts,i=!0):o.push(l)}else o.push(l)}return i||o.push(t),o.sort(G),{tree:o,conflicts:s||"internal_node"}}function ee(e,t){for(var r,n=V(e),o={},s=0,i=n.length;s0&&o.emit("error",t):o.emit("complete",r),o.removeAllListeners(),e.removeListener("destroyed",n)});r&&(o.on("complete",function(e){r(null,e)}),o.on("error",r)),e.once("destroyed",n),t.onChange=function(e){t.isCancelled||(ue(o,e),o.startSeq&&o.startSeq<=e.seq&&(o.startSeq=!1))};var i=new Dn(function(e,r){t.complete=function(t,n){t?r(t):e(n)}});o.once("cancel",function(){e.removeListener("destroyed",n),t.complete(null,{status:"cancelled"})}),this.then=i.then.bind(i),this["catch"]=i["catch"].bind(i),this.then(function(e){s(null,e)},s),e.taskqueue.isReady?o.doChanges(t):e.taskqueue.addTask(function(){o.isCancelled?o.emit("cancel"):o.doChanges(t)})}function de(e,t,r){var n=[{rev:e._rev}];"all_docs"===r.style&&(n=U(t.rev_tree).map(function(e){return{rev:e.rev}}));var o={id:t.id,changes:n,doc:e};return oe(t,e._rev)&&(o.deleted=!0),r.conflicts&&(o.doc._conflicts=z(t),o.doc._conflicts.length||delete o.doc._conflicts),o}function ce(e,t){return et?1:0}function pe(e,t){for(var r=0;r0?t.keys.slice(t.skip):t.keys;if(t.descending&&n.reverse(),!n.length)return e._allDocs({limit:0},r);var o={offset:t.skip};return Dn.all(n.map(function(r){var n=yn.extend({key:r,deleted:"ok"},t);return["limit","skip","keys"].forEach(function(e){delete n[e]}),new Dn(function(t,s){e._allDocs(n,function(e,n){return e?s(e):(o.total_rows=n.total_rows,void t(n.rows[0]||{key:r,error:"not_found"}))})})})).then(function(e){return o.rows=e,o})}function _e(e){var t=e._compactionQueue[0],n=t.opts,o=t.callback;e.get("_local/compaction")["catch"](function(){return!1}).then(function(t){t&&t.last_seq&&(n.last_seq=t.last_seq),e._compact(n,function(t,n){t?o(t):o(null,n),r.nextTick(function(){e._compactionQueue.shift(),e._compactionQueue.length&&_e(e)})})})}function ge(e){return"_"===e.charAt(0)&&e+"is not a valid attachment name, attachment names cannot start with '_'"}function ye(){Cn.EventEmitter.call(this)}function $e(){this.isReady=!1,this.failed=!1,this.queue=[]}function we(e){e&&n.debug&&$("error",e)}function xe(e,t){function r(){s.emit("destroyed",o)}function n(){e.removeListener("destroyed",r),e.emit("destroyed",e)}var o=t.originalName,s=e.constructor,i=s._destructionListeners;e.once("destroyed",r),i.has(o)||i.set(o,[]),i.get(o).push(n)}function Ee(e,t,r){if(!(this instanceof Ee))return new Ee(e,t,r);var n=this;if("function"!=typeof t&&"undefined"!=typeof t||(r=t,t={}),e&&"object"==typeof e&&(t=e,e=void 0),"undefined"==typeof r)r=we;else{var o=r;r=function(){return $("warn","Using a callback for new PouchDB()is deprecated."),o.apply(null,arguments)}}e=e||t.name,t=l(t),delete t.name,this.__opts=t;var s=r;n.auto_compaction=t.auto_compaction,n.prefix=Ee.prefix,ye.call(n),n.taskqueue=new $e;var i=new Dn(function(o,s){r=function(e,t){return e?s(e):(delete t.then,void o(t))},t=l(t);var i,a;return function(){try{if("string"!=typeof e)throw a=new Error("Missing/invalid DB name"),a.code=400,a;var r=(t.prefix||"")+e;if(i=Ee.parseAdapter(r,t),t.originalName=e,t.name=i.name,t.adapter=t.adapter||i.adapter,n._adapter=t.adapter,$n("pouchdb:adapter")("Picked adapter: "+t.adapter),n._db_name=e,!Ee.adapters[t.adapter])throw a=new Error("Adapter is missing"),a.code=404,a;if(!Ee.adapters[t.adapter].valid())throw a=new Error("Invalid Adapter"),a.code=404,a}catch(o){n.taskqueue.fail(o)}}(),a?s(a):(n.adapter=t.adapter,n.replicate={},n.replicate.from=function(e,t,r){return n.constructor.replicate(e,n,t,r)},n.replicate.to=function(e,t,r){return n.constructor.replicate(n,e,t,r)},n.sync=function(e,t,r){return n.constructor.sync(n,e,t,r)},n.replicate.sync=n.sync,void Ee.adapters[t.adapter].call(n,t,function(e){return e?(n.taskqueue.fail(e),void r(e)):(xe(n,t),n.emit("created",n),Ee.emit("created",t.originalName),n.taskqueue.ready(n),void r(null,n))}))});i.then(function(e){s(null,e)},s),n.then=i.then.bind(i),n["catch"]=i["catch"].bind(i)}function Pe(e){Object.keys(Cn.EventEmitter.prototype).forEach(function(t){"function"==typeof Cn.EventEmitter.prototype[t]&&(e[t]=io[t].bind(io))});var t=e._destructionListeners=new En.Map;e.on("destroyed",function(e){t.get(e).forEach(function(e){e()}),t["delete"](e)})}function Ce(e){return e.reduce(function(e,t){return e[t]=!0,e},{})}function je(e){if(!/^\d+\-./.test(e))return C(Qn);var t=e.indexOf("-"),r=e.substring(0,t),n=e.substring(t+1);return{prefix:parseInt(r,10),id:n}}function Te(e,t){for(var r=e.start-e.ids.length+1,n=e.ids,o=[n[0],t,[]],s=1,i=n.length;s0||n0||n=43)}})["catch"](function(){return!1})}function _t(e,t){var r=this;Eo.queue.push({action:function(t){gt(r,e,t)},callback:t}),nt(r.constructor)}function gt(e,t,n){function o(e){var t=e.createObjectStore(vo,{keyPath:"id"});e.createObjectStore(_o,{autoIncrement:!0}).createIndex("_doc_id_rev","_doc_id_rev",{unique:!0}),e.createObjectStore(go,{keyPath:"digest"}),e.createObjectStore($o,{keyPath:"id",autoIncrement:!1}),e.createObjectStore(xo),t.createIndex("deletedOrLocal","deletedOrLocal",{unique:!1}),e.createObjectStore(wo,{keyPath:"_id"});var r=e.createObjectStore(yo,{autoIncrement:!0});r.createIndex("seq","seq"),r.createIndex("digestSeq","digestSeq",{unique:!0})}function s(e,t){var r=e.objectStore(vo);r.createIndex("deletedOrLocal","deletedOrLocal",{unique:!1}),r.openCursor().onsuccess=function(e){var n=e.target.result;if(n){var o=n.value,s=oe(o);o.deletedOrLocal=s?"1":"0",r.put(o),n["continue"]()}else t()}}function i(e){e.createObjectStore(wo,{keyPath:"_id"}).createIndex("_doc_id_rev","_doc_id_rev",{unique:!0})}function a(e,t){var r=e.objectStore(wo),n=e.objectStore(vo),o=e.objectStore(_o),s=n.openCursor();s.onsuccess=function(e){var s=e.target.result;if(s){var i=s.value,a=i.id,u=se(a),l=N(i);if(u){var d=a+"::"+l,c=a+"::",p=a+"::~",h=o.index("_doc_id_rev"),f=IDBKeyRange.bound(c,p,!1,!1),m=h.openCursor(f);m.onsuccess=function(e){if(m=e.target.result){var t=m.value;t._doc_id_rev===d&&r.put(t),o["delete"](m.primaryKey),m["continue"]()}else n["delete"](s.primaryKey),s["continue"]()}}else s["continue"]()}else t&&t()}}function u(e){var t=e.createObjectStore(yo,{autoIncrement:!0});t.createIndex("seq","seq"),t.createIndex("digestSeq","digestSeq",{unique:!0})}function d(e,t){var r=e.objectStore(_o),n=e.objectStore(go),o=e.objectStore(yo),s=n.count();s.onsuccess=function(e){var n=e.target.result;return n?void(r.openCursor().onsuccess=function(e){var r=e.target.result;if(!r)return t();for(var n=r.value,s=r.primaryKey,i=Object.keys(n._attachments||{}),a={},u=0;uo&&(o=r),t["continue"]()}}function s(){var e=st(a,a.winningRev,a.deleted),t=n.put(e);t.onsuccess=function(){i["continue"]()}}var i=e.target.result;if(i){var a=t(i.value);return a.winningRev=a.winningRev||N(a),a.seq?s():void o()}}}var h=t.name,f=null;e._meta=null,e.type=function(){return"idb"},e._id=c(function(t){t(null,e._meta.instanceId)}),e._bulkDocs=function(r,n,o){ht(t,r,n,e,f,Co,o)},e._get=function(e,t,r){function n(){r(i,{doc:o,metadata:s,ctx:a})}var o,s,i,a=t.ctx;if(!a){var u=pt(f,[vo,_o,go],"readonly");if(u.error)return r(u.error);a=u.txn}a.objectStore(vo).get(e).onsuccess=function(e){if(s=it(e.target.result),!s)return i=C(In,"missing"),n();if(oe(s)&&!t.rev)return i=C(In,"deleted"),n();var r=a.objectStore(_o),u=t.rev||s.winningRev,l=s.id+"::"+u;r.index("_doc_id_rev").get(l).onsuccess=function(e){return o=e.target.result,o&&(o=at(o)),o?void n():(i=C(In,"missing"),n())}}},e._getAttachment=function(e,t,r,n,o){var s;if(n.ctx)s=n.ctx;else{var i=pt(f,[vo,_o,go],"readonly");if(i.error)return o(i.error);s=i.txn}var a=r.digest,u=r.content_type;s.objectStore(go).get(a).onsuccess=function(e){var t=e.target.result.body;ut(t,u,n.binary,function(e){o(null,e)})}},e._info=function(t){if(null===f||!Po.has(h)){var r=new Error("db isn't open");return r.id="idbNull",t(r)}var n,o,s=pt(f,[_o],"readonly");if(s.error)return t(s.error);var i=s.txn,a=i.objectStore(_o).openCursor(null,"prev");a.onsuccess=function(t){var r=t.target.result;n=r?r.key:0,o=e._meta.docCount},i.oncomplete=function(){t(null,{doc_count:o,update_seq:n,idb_attachment_format:e._meta.blobSupport?"binary":"base64"})}},e._allDocs=function(t,r){bt(t,e,f,r)},e._changes=function(t){function r(e){function r(){return l.seq!==i?e["continue"]():(u=i,l.winningRev===s._rev?o(s):void n())}function n(){var e=s._id+"::"+l.winningRev,t=v.get(e);t.onsuccess=function(e){o(at(e.target.result))}}function o(r){var n=t.processChange(r,l,t);n.seq=l.seq;var o=y(n);return"object"==typeof o?t.complete(o):(o&&(g++,c&&_.push(n),t.attachments&&t.include_docs?lt(r,t,p,function(){dt([n],t.binary).then(function(){t.onChange(n)})}):t.onChange(n)),void(g!==d&&e["continue"]()))}var s=at(e.value),i=e.key;if(a&&!a.has(s._id))return e["continue"]();var l;return(l=$.get(s._id))?r():void(b.get(s._id).onsuccess=function(e){l=it(e.target.result),$.set(s._id,l),r()})}function n(e){var t=e.target.result;t&&r(t)}function o(){var e=[vo,_o];t.attachments&&e.push(go);var r=pt(f,e,"readonly");if(r.error)return t.complete(r.error);p=r.txn,p.onabort=ot(t.complete),p.oncomplete=s,m=p.objectStore(_o),b=p.objectStore(vo),v=m.index("_doc_id_rev");var o;o=t.descending?m.openCursor(null,"prev"):m.openCursor(IDBKeyRange.lowerBound(t.since,!0)),o.onsuccess=n}function s(){function e(){t.complete(null,{results:_,last_seq:u})}!t.continuous&&t.attachments?dt(_).then(e):e()}if(t=l(t),t.continuous){var i=h+":"+I();return Co.addListener(h,i,e,t),Co.notify(h),{cancel:function(){Co.removeListener(h,i)}}}var a=t.doc_ids&&new En.Set(t.doc_ids);t.since=t.since||0;var u=t.since,d="limit"in t?t.limit:-1;0===d&&(d=1);var c;c="return_docs"in t?t.return_docs:!("returnDocs"in t)||t.returnDocs;var p,m,b,v,_=[],g=0,y=A(t),$=new En.Map;o()},e._close=function(e){return null===f?e(C(zn)):(f.close(),Po["delete"](h),f=null,void e())},e._getRevisionTree=function(e,t){var r=pt(f,[vo],"readonly");if(r.error)return t(r.error);var n=r.txn,o=n.objectStore(vo).get(e);o.onsuccess=function(e){var r=it(e.target.result);r?t(null,r.rev_tree):t(C(In))}},e._doCompaction=function(e,t,r){var n=[vo,_o,go,yo],o=pt(f,n,"readwrite");if(o.error)return r(o.error);var s=o.txn,i=s.objectStore(vo);i.get(e).onsuccess=function(r){var n=it(r.target.result);L(n.rev_tree,function(e,r,n,o,s){var i=r+"-"+n;t.indexOf(i)!==-1&&(s.status="missing")}),ct(t,e,s);var o=n.winningRev,i=n.deleted;s.objectStore(vo).put(st(n,o,i))},s.onabort=ot(r),s.oncomplete=function(){r()}},e._getLocal=function(e,t){var r=pt(f,[wo],"readonly");if(r.error)return t(r.error);var n=r.txn,o=n.objectStore(wo).get(e);o.onerror=ot(t),o.onsuccess=function(e){var r=e.target.result;r?(delete r._doc_id_rev,t(null,r)):t(C(In))}},e._putLocal=function(e,t,r){"function"==typeof t&&(r=t,t={}),delete e._revisions;var n=e._rev,o=e._id;n?e._rev="0-"+(parseInt(n.split("-")[1],10)+1):e._rev="0-1";var s,i=t.ctx;if(!i){var a=pt(f,[wo],"readwrite");if(a.error)return r(a.error);i=a.txn,i.onerror=ot(r),i.oncomplete=function(){s&&r(null,s)}}var u,l=i.objectStore(wo);n?(u=l.get(o),u.onsuccess=function(o){var i=o.target.result;if(i&&i._rev===n){var a=l.put(e);a.onsuccess=function(){s={ok:!0,id:e._id,rev:e._rev},t.ctx&&r(null,s)}}else r(C(Nn))}):(u=l.add(e),u.onerror=function(e){r(C(Nn)),e.preventDefault(),e.stopPropagation()},u.onsuccess=function(){s={ok:!0,id:e._id,rev:e._rev},t.ctx&&r(null,s)})},e._removeLocal=function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t.ctx;if(!n){var o=pt(f,[wo],"readwrite");if(o.error)return r(o.error);n=o.txn,n.oncomplete=function(){s&&r(null,s)}}var s,i=e._id,a=n.objectStore(wo),u=a.get(i);u.onerror=ot(r),u.onsuccess=function(n){var o=n.target.result;o&&o._rev===e._rev?(a["delete"](i),s={ok:!0,id:i,rev:"0-0"},t.ctx&&r(null,s)):r(C(In))}},e._destroy=function(e,t){Co.removeAllListeners(h);var r=jo.get(h);r&&r.result&&(r.result.close(),Po["delete"](h));var n=indexedDB.deleteDatabase(h);n.onsuccess=function(){jo["delete"](h),_()&&h in localStorage&&delete localStorage[h],t(null,{ok:!0})},n.onerror=ot(t)};var m=Po.get(h);if(m)return f=m.idb,e._meta=m.global,void r.nextTick(function(){n(null,e)});var b;b=t.storage?yt(h,t.storage):indexedDB.open(h,bo),jo.set(h,b),b.onupgradeneeded=function(e){function t(){var e=l[c-1];c++,e&&e(n,t)}var r=e.target.result;if(e.oldVersion<1)return o(r);var n=e.currentTarget.transaction;e.oldVersion<3&&i(r),e.oldVersion<4&&u(r);var l=[s,a,d,p],c=e.oldVersion;t()},b.onsuccess=function(t){f=t.target.result,f.onversionchange=function(){f.close(),Po["delete"](h)},f.onabort=function(e){$("error","Database has a global failure",e.target.error),f.close(),Po["delete"](h)};var r=f.transaction([$o,xo,vo],"readwrite"),o=r.objectStore($o).get($o),s=null,i=null,a=null;o.onsuccess=function(t){var o=function(){null!==s&&null!==i&&null!==a&&(e._meta={name:h,instanceId:a,blobSupport:s,docCount:i},Po.set(h,{idb:f,global:e._meta}),n(null,e))},u=t.target.result||{id:$o};h+"_id"in u?(a=u[h+"_id"],o()):(a=I(),u[h+"_id"]=a,r.objectStore($o).put(u).onsuccess=function(){o()}),uo||(uo=vt(r)),uo.then(function(e){s=e,o()});var l=r.objectStore(vo).index("deletedOrLocal");l.count(IDBKeyRange.only("0")).onsuccess=function(e){i=e.target.result,o()}}},b.onerror=function(){var e="Failed to open indexedDB, are you in private browsing mode?";$("error",e),n(C(Zn,e))}}function yt(e,t){try{return indexedDB.open(e,{version:bo,storage:t})}catch(r){return indexedDB.open(e,bo)}}function $t(e){e.adapter("idb",_t,!0)}function wt(e){return decodeURIComponent(escape(e))}function xt(e){return e<65?e-48:e-55}function Et(e,t,r){for(var n="";t0;){var e=w.pop();e(null,y)}}function h(e,t){if(0===t){var r="CREATE TABLE IF NOT EXISTS "+Oo+" (dbid, db_version INTEGER)",l="CREATE TABLE IF NOT EXISTS "+ko+" (digest UNIQUE, escaped TINYINT(1), body BLOB)",d="CREATE TABLE IF NOT EXISTS "+Ho+" (digest, seq INTEGER)",c="CREATE TABLE IF NOT EXISTS "+Ao+" (id unique, json, winningseq, max_seq INTEGER UNIQUE)",h="CREATE TABLE IF NOT EXISTS "+So+" (seq INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, json, deleted TINYINT(1), doc_id, rev)",f="CREATE TABLE IF NOT EXISTS "+Do+" (id UNIQUE, rev, json)";e.executeSql(l),e.executeSql(f),e.executeSql(d,[],function(){e.executeSql(Lo),e.executeSql(qo)}),e.executeSql(c,[],function(){e.executeSql(No),e.executeSql(h,[],function(){e.executeSql(Bo),e.executeSql(Io),e.executeSql(r,[],function(){var t="INSERT INTO "+Oo+" (db_version, dbid) VALUES (?,?)";y=I();var r=[To,y];e.executeSql(t,r,function(){p()})})})})}else{var m=function(){var r=t=")+" ?"),c.push(o)),s!==!1){var h=a?">":"<";d&&(h+="="),p.push(Ao+".id "+h+" ?"),c.push(s)}i!==!1&&(p.push(Ao+".id = ?"),c.push(i))}"ok"!==e.deleted&&p.push(So+".deleted = 0"),P.readTransaction(function(t){b(t,function(o){if(r=o,0!==u){var s=Ot(zo,[Ao,So],Uo,p,Ao+".id "+(a?"DESC":"ASC"));s+=" LIMIT "+u+" OFFSET "+l,t.executeSql(s,c,function(t,r){for(var o=0,s=r.rows.length;o ?"],d=[e.since];e.doc_ids&&(l.push(Ao+".id IN "+Dt(e.doc_ids.length)),d=d.concat(e.doc_ids));var c="maxSeq "+(n?"DESC":"ASC"),p=Ot(t,r,u,l,c),h=A(e);e.view||e.filter||(p+=" LIMIT "+o);var f=e.since||0;P.readTransaction(function(t){t.executeSql(p,d,function(t,r){function n(t){return function(){e.onChange(t)}}for(var u=0,l=r.rows.length;u0&&(n=setTimeout(function(){r.reject(new Error("Load timeout for resource: "+e.url))},e.timeout)),r.promise.then(function(t){return o={statusCode:t.status},e.timeout>0&&clearTimeout(n),o.statusCode>=200&&o.statusCode<300?e.binary?t.blob():t.text():t.json()}).then(function(e){o.statusCode>=200&&o.statusCode<300?t(null,o,e):t(e,o)})["catch"](function(e){t(e,o)}),{abort:r.reject}}function Jt(e,t){var r,n,o=!1,s=function(){r.abort()},i=function(){o=!0,r.abort()};r=e.xhr?new e.xhr:new XMLHttpRequest;try{r.open(e.method,e.url)}catch(a){return t(new Error(a.name||"Url is invalid"))}r.withCredentials=!("withCredentials"in e)||e.withCredentials,"GET"===e.method?delete e.headers["Content-Type"]:e.json&&(e.headers.Accept="application/json",e.headers["Content-Type"]=e.headers["Content-Type"]||"application/json",e.body&&e.processData&&"string"!=typeof e.body&&(e.body=JSON.stringify(e.body))),e.binary&&(r.responseType="arraybuffer"),"body"in e||(e.body=null);for(var u in e.headers)e.headers.hasOwnProperty(u)&&r.setRequestHeader(u,e.headers[u]);return e.timeout>0&&(n=setTimeout(i,e.timeout),r.onprogress=function(){clearTimeout(n),4!==r.readyState&&(n=setTimeout(i,e.timeout))},"undefined"!=typeof r.upload&&(r.upload.onprogress=r.onprogress)),r.onreadystatechange=function(){if(4===r.readyState){var n={statusCode:r.status};if(r.status>=200&&r.status<300){var s;s=e.binary?Se([r.response||""],{type:r.getResponseHeader("Content-Type")}):r.responseText,t(null,n,s)}else{var i={};if(o)i=new Error("ETIMEDOUT"),i.code="ETIMEDOUT";else try{i=JSON.parse(r.response)}catch(a){}i.status=r.status,t(i)}}},e.body&&e.body instanceof Blob?Be(e.body,function(e){r.send(e)}):r.send(e.body),{abort:s}}function Qt(){try{return new XMLHttpRequest,!0}catch(e){return!1}}function er(e,t){return Wo||e.xhr?Jt(e,t):Zt(e,t)}function tr(){return""}function rr(e,t){function r(t,r,n){if(!e.binary&&e.json&&"string"==typeof t)try{t=JSON.parse(t)}catch(o){return n(o)}Array.isArray(t)&&(t=t.map(function(e){return e.error||e.missing?j(e):e})),e.binary&&Vo(t,r),n(null,t,r)}e=l(e);var n={method:"GET",headers:{},json:!0,processData:!0,timeout:1e4,cache:!1};return e=yn.extend(n,e),e.json&&(e.binary||(e.headers.Accept="application/json"),e.headers["Content-Type"]=e.headers["Content-Type"]||"application/json"),e.binary&&(e.encoding=null,e.json=!1),e.processData||(e.json=!1),er(e,function(n,o,s){if(n)return t(j(n));var i,a=o.headers&&o.headers["content-type"],u=s||tr();if(!e.binary&&(e.json||!e.processData)&&"object"!=typeof u&&(/json/.test(a)||/^[\s]*\{/.test(u)&&/\}[\s]*$/.test(u)))try{u=JSON.parse(u.toString())}catch(l){}o.statusCode>=200&&o.statusCode<300?r(u,o,t):(i=j(u),i.status=o.statusCode,t(i))})}function nr(e,t){var r=navigator&&navigator.userAgent?navigator.userAgent.toLowerCase():"",n=r.indexOf("safari")!==-1&&r.indexOf("chrome")===-1,o=r.indexOf("msie")!==-1,s=r.indexOf("edge")!==-1,i=n||(o||s)&&"GET"===e.method,a=!("cache"in e)||e.cache,u=/^blob:/.test(e.url);if(!u&&(i||!a)){var l=e.url.indexOf("?")!==-1;e.url+=(l?"&":"?")+"_nonce="+Date.now()}return rr(e,t)}function or(e){var t=e.doc&&e.doc._attachments;t&&Object.keys(t).forEach(function(e){var r=t[e];r.data=Oe(r.data,r.content_type)})}function sr(e){return/^_design/.test(e)?"_design/"+encodeURIComponent(e.slice(8)):/^_local/.test(e)?"_local/"+encodeURIComponent(e.slice(7)):encodeURIComponent(e)}function ir(e){return e._attachments&&Object.keys(e._attachments)?Dn.all(Object.keys(e._attachments).map(function(t){var r=e._attachments[t];if(r.data&&"string"!=typeof r.data)return new Dn(function(e){Re(r.data,e)}).then(function(e){r.data=e})})):Dn.resolve()}function ar(e){var t=F(e);(t.user||t.password)&&(t.auth={username:t.user,password:t.password});var r=t.path.replace(/(^\/|\/$)/g,"").split("/");return t.db=r.pop(),t.db.indexOf("%")===-1&&(t.db=encodeURIComponent(t.db)),t.path=r.join("/"),t}function ur(e,t){return lr(e,e.db+"/"+t)}function lr(e,t){var r=e.path?"/":"";return e.protocol+"://"+e.host+(e.port?":"+e.port:"")+"/"+e.path+r+t}function dr(e){return"?"+Object.keys(e).map(function(t){return t+"="+encodeURIComponent(e[t])}).join("&")}function cr(e,t){function r(e,t,r){var n=e.ajax||{},o=yn.extend(l(f),n,t);return Zo(o.method+" "+o.url),a._ajax(o,r)}function n(e,t){return new Dn(function(n,o){r(e,t,function(e,t){return e?o(e):void n(t)})})}function o(e,t){return p(e,Pn(function(e){s().then(function(){return t.apply(this,e)})["catch"](function(t){var r=e.pop();r(t)})}))}function s(){if(e.skipSetup||e.skip_setup)return Dn.resolve();if(g)return g;var t={method:"GET",url:c};return g=n({},t)["catch"](function(e){return e&&e.status&&404===e.status?(E(404,"PouchDB is just detecting if the remote exists."),n({},{method:"PUT",url:c})):Dn.reject(e)})["catch"](function(e){return!(!e||!e.status||412!==e.status)||Dn.reject(e)}),g["catch"](function(){g=null}),g}function i(e){return e.split("/").map(encodeURIComponent).join("/")}var a=this,u=ar;e.getHost&&(u=e.getHost);var d=u(e.name,e),c=ur(d,"");e=l(e);var f=e.ajax||{};if(a.getUrl=function(){return c},a.getHeaders=function(){return f.headers||{}},e.auth||d.auth){var m=e.auth||d.auth,v=m.username+":"+m.password,_=ho(unescape(encodeURIComponent(v)));f.headers=f.headers||{},f.headers.Authorization="Basic "+_}a._ajax=nr;var g;setTimeout(function(){t(null,a)}),a.type=function(){return"http"},a.id=o("id",function(e){r({},{method:"GET",url:lr(d,"")},function(t,r){var n=r&&r.uuid?r.uuid+d.db:ur(d,"");e(null,n)})}),a.request=o("request",function(e,t){e.url=ur(d,e.url),r({},e,t)}),a.compact=o("compact",function(e,t){"function"==typeof e&&(t=e,e={}),e=l(e),r(e,{url:ur(d,"_compact"),method:"POST"},function(){function r(){a.info(function(n,o){o&&!o.compact_running?t(null,{ok:!0}):setTimeout(r,e.interval||200)})}r()})}),a.bulkGet=p("bulkGet",function(e,t){function n(t){var n={};e.revs&&(n.revs=!0),e.attachments&&(n.attachments=!0),r({},{url:ur(d,"_bulk_get"+dr(n)),method:"POST",body:{docs:e.docs}},t)}function o(){function r(e){return function(r,n){a[e]=n.results,++i===o&&t(null,{results:S(a)})}}for(var n=Ko,o=Math.ceil(e.docs.length/n),i=0,a=new Array(o),u=0;ut?t:a;var l={method:p,url:ur(d,"_changes"+dr(o)),timeout:e.timeout,body:c};b=n,e.aborted||s().then(function(){m=r(e,l,u)})["catch"](u)}},_={results:[]},g=function(r,o){if(!e.aborted){var s=0;if(o&&o.results){s=o.results.length,_.last_seq=o.last_seq;var u={};u.query=e.query_params,o.results=o.results.filter(function(t){a--;var r=A(e)(t);return r&&(e.include_docs&&e.attachments&&e.binary&&or(t),n&&_.results.push(t),e.onChange(t)),r})}else if(r)return e.aborted=!0,void e.complete(r);o&&o.last_seq&&(b=o.last_seq);var l=i&&a<=0||o&&s0?e.slice(r):e}function wr(e){var t=e.value,r=t&&"object"==typeof t&&t._id||e.id;return r}function xr(e){e.rows.forEach(function(e){var t=e.doc&&e.doc._attachments;t&&Object.keys(t).forEach(function(e){var r=t[e];t[e].data=Oe(r.data,r.content_type)})})}function Er(e){return function(t){return e.include_docs&&e.attachments&&e.binary&&xr(t),t}}function Pr(e){var t="builtin "+e+" function requires map values to be numbers or number arrays";return new Yr(t)}function Cr(e){for(var t=0,r=0,n=e.length;r0)throw new Gr("No rows can match your key range, reverse your start_key and end_key or set {descending : true}");if(t.reduce&&e.reduce!==!1){if(e.include_docs)throw new Gr("{include_docs:true} is invalid for reduce");if(e.keys&&e.keys.length>1&&!e.group&&!e.group_level)throw new Gr("Multi-key fetches for reduce views must use {group: true}")}["group_level","limit","skip"].forEach(function(t){var r=Sr(e[t]);if(r)throw r})}function Dr(e,t,r){var n,o=[],s="GET";if(jr("reduce",r,o),jr("include_docs",r,o),jr("attachments",r,o),jr("limit",r,o),jr("descending",r,o),jr("group",r,o),jr("group_level",r,o),jr("skip",r,o),jr("stale",r,o),jr("conflicts",r,o),jr("startkey",r,o,!0),jr("start_key",r,o,!0),jr("endkey",r,o,!0),jr("end_key",r,o,!0),jr("inclusive_end",r,o),jr("key",r,o,!0),o=o.join("&"),o=""===o?"":"?"+o,"undefined"!=typeof r.keys){var i=2e3,a="keys="+encodeURIComponent(JSON.stringify(r.keys));a.length+o.length+1<=i?o+=("?"===o[0]?"&":"?")+a:(s="POST","string"==typeof t?n={keys:r.keys}:t.keys=r.keys)}if("string"==typeof t){var u=br(t);return e.request({method:s,url:"_design/"+u[0]+"/_view/"+u[1]+o,body:n}).then(Er(r))}return n=n||{},Object.keys(t).forEach(function(e){Array.isArray(t[e])?n[e]=t[e]:n[e]=t[e].toString()}),e.request({method:"POST",url:"_temp_view"+o,body:n}).then(Er(r))}function Or(e,t,r){return new Dn(function(n,o){e._query(t,r,function(e,t){return e?o(e):void n(t)})})}function Hr(e){return new Dn(function(t,r){e._viewCleanup(function(e,n){return e?r(e):void t(n)})})}function Fr(e){return function(t){if(404===t.status)return e;throw t}}function Mr(e,t,r){function n(){return vr(d)?Dn.resolve(a):t.db.get(i)["catch"](Fr(a))}function o(e){return e.keys.length?t.db.allDocs({keys:e.keys,include_docs:!0}):Dn.resolve({rows:[]})}function s(e,t){for(var r=[],n={},o=0,s=t.rows.length;or))return e.doc.value}var n=kn.parseIndexableString(e.doc._id);return{key:n[0],id:n[1],value:"value"in e.doc?e.doc.value:null}})})}function n(r){var n;if(n=s?Lr(e,r,t):{total_rows:o,offset:i,rows:r},t.include_docs){var a=rs(r.map(wr));return e.sourceDB.allDocs({keys:a,include_docs:!0,conflicts:t.conflicts,attachments:t.attachments,binary:t.binary}).then(function(e){var t={};return e.rows.forEach(function(e){e.doc&&(t["$"+e.id]=e.doc)}),r.forEach(function(e){var r=wr(e),n=t["$"+r];n&&(e.doc=n)}),n})}return n}var o,s=e.reduceFun&&t.reduce!==!1,i=t.skip||0;if("undefined"==typeof t.keys||t.keys.length||(t.limit=0,delete t.keys),"undefined"!=typeof t.keys){var a=t.keys,u=a.map(function(e){var t={startkey:kn.toIndexableString([e]),endkey:kn.toIndexableString([e,{}])};return r(t)});return Dn.all(u).then(S).then(n)}var l={descending:t.descending};if(t.start_key&&(t.startkey=t.start_key),t.end_key&&(t.endkey=t.end_key),"undefined"!=typeof t.startkey&&(l.startkey=t.descending?kn.toIndexableString([t.startkey,{}]):kn.toIndexableString([t.startkey])),"undefined"!=typeof t.endkey){var d=t.inclusive_end!==!1;t.descending&&(d=!d),l.endkey=kn.toIndexableString(d?[t.endkey,{}]:[t.endkey])}if("undefined"!=typeof t.key){var c=kn.toIndexableString([t.key]),p=kn.toIndexableString([t.key,{}]);l.descending?(l.endkey=c,l.startkey=p):(l.startkey=c,l.endkey=p)}return s||("number"==typeof t.limit&&(l.limit=t.limit),l.skip=i),r(l).then(n)}function zr(e){return e.request({method:"POST",url:"_view_cleanup"})}function Wr(e){return e.get("_local/mrviews").then(function(t){var r={};Object.keys(t.views).forEach(function(e){var t=br(e),n="_design/"+t[0],o=t[1];r[n]=r[n]||{},r[n][o]=!0});var n={keys:Object.keys(r),include_docs:!0};return e.allDocs(n).then(function(n){var o={};n.rows.forEach(function(e){var n=e.key.substring(8);Object.keys(r[e.key]).forEach(function(r){var s=n+"/"+r;t.views[s]||(s=r);var i=Object.keys(t.views[s]),a=e.doc&&e.doc.views&&e.doc.views[r];i.forEach(function(e){o[e]=o[e]||a})})});var s=Object.keys(o).filter(function(e){return!o[e]}),i=s.map(function(t){return ts(Br(t),function(){return new e.constructor(t,e.__opts).destroy()})()});return Dn.all(i).then(function(){return{ok:!0}})})},Fr({ok:!0}))}function Vr(e,t,n){if("http"===e.type())return Dr(e,t,n);if("function"==typeof e._query)return Or(e,t,n);if("string"!=typeof t){kr(n,t);var o={db:e,viewName:"temp_view/temp_view",map:t.map,reduce:t.reduce,temporary:!0};return os.add(function(){return fr(o).then(function(e){function t(){return e.db.destroy()}return es(Ir(e).then(function(){return qr(e,n)}),t)})}),os.finish()}var s=t,i=br(s),a=i[0],u=i[1];return e.get("_design/"+a).then(function(t){var o=t.views&&t.views[u];if(!o||"string"!=typeof o.map)throw new Kr("ddoc "+a+" has no view named "+u);kr(n,o);var i={db:e,viewName:s,map:o.map,reduce:o.reduce};return fr(i).then(function(e){return"ok"===n.stale||"update_after"===n.stale?("update_after"===n.stale&&r.nextTick(function(){Ir(e)}),qr(e,n)):Ir(e).then(function(){return qr(e,n)})})})}function Gr(e){this.status=400,this.name="query_parse_error",this.message=e,this.error=!0;try{Error.captureStackTrace(this,Gr)}catch(t){}}function Kr(e){this.status=404,this.name="not_found",this.message=e,this.error=!0;try{Error.captureStackTrace(this,Kr)}catch(t){}}function Yr(e){this.status=500,this.name="invalid_value",this.message=e,this.error=!0;try{Error.captureStackTrace(this,Yr)}catch(t){}}function Xr(e){return/^1-/.test(e)}function Zr(e,t,r){return!e._attachments||!e._attachments[r]||e._attachments[r].digest!==t._attachments[r].digest}function Jr(e,t){var r=Object.keys(t._attachments);return Dn.all(r.map(function(r){return e.getAttachment(t._id,r,{rev:t._rev})}))}function Qr(e,t,r){var n="http"===t.type()&&"http"!==e.type(),o=Object.keys(r._attachments);return n?e.get(r._id).then(function(n){return Dn.all(o.map(function(o){return Zr(n,r,o)?t.getAttachment(r._id,o):e.getAttachment(n._id,o)}))})["catch"](function(e){if(404!==e.status)throw e;return Jr(t,r)}):Jr(t,r)}function en(e){var t=[];return Object.keys(e).forEach(function(r){var n=e[r].missing;n.forEach(function(e){t.push({id:r,rev:e})})}),{docs:t,revs:!0}}function tn(e,t,r,n){function o(){var o=en(r);if(o.docs.length)return e.bulkGet(o).then(function(r){if(n.cancelled)throw new Error("cancelled");return Dn.all(r.results.map(function(r){return Dn.all(r.docs.map(function(r){var n=r.ok;return r.error&&(c=!1),n&&n._attachments?Qr(t,e,n).then(function(e){var t=Object.keys(n._attachments);return e.forEach(function(e,r){var o=n._attachments[t[r]];delete o.stub,delete o.length,o.data=e}),n}):n}))})).then(function(e){d=d.concat(S(e).filter(Boolean))})})}function s(e){return e._attachments&&Object.keys(e._attachments).length>0}function i(t){return e.allDocs({keys:t,include_docs:!0}).then(function(e){if(n.cancelled)throw new Error("cancelled");e.rows.forEach(function(e){!e.deleted&&e.doc&&Xr(e.value.rev)&&!s(e.doc)&&(d.push(e.doc),delete r[e.id])})})}function a(){var e=Object.keys(r).filter(function(e){var t=r[e].missing;return 1===t.length&&Xr(t[0])});if(e.length>0)return i(e)}function u(){return{ok:c,docs:d}}r=l(r);var d=[],c=!0;return Dn.resolve().then(a).then(o).then(u)}function rn(e,t,r,n,o){return e.get(t)["catch"](function(r){if(404===r.status)return"http"===e.type()&&E(404,"PouchDB is just checking if a remote checkpoint exists."),{session_id:n,_id:t,history:[],replicator:ps,version:cs};throw r}).then(function(s){if(!o.cancelled)return s.history=(s.history||[]).filter(function(e){return e.session_id!==n}),s.history.unshift({last_seq:r,session_id:n}),s.history=s.history.slice(0,hs),s.version=cs,s.replicator=ps,s.session_id=n,s.last_seq=r,e.put(s)["catch"](function(s){if(409===s.status)return rn(e,t,r,n,o);throw s})})}function nn(e,t,r,n){this.src=e,this.target=t,this.id=r,this.returnValue=n}function on(e,t){return e.session_id===t.session_id?{last_seq:e.last_seq,history:e.history}:sn(e.history,t.history)}function sn(e,t){var r=e[0],n=e.slice(1),o=t[0],s=t.slice(1);if(!r||0===t.length)return{last_seq:fs,history:[]};var i=r.session_id;if(an(i,t))return{last_seq:r.last_seq,history:e};var a=o.session_id;return an(a,n)?{last_seq:o.last_seq,history:s}:sn(n,s)}function an(e,t){var r=t[0],n=t.slice(1);return!(!e||0===t.length)&&(e===r.session_id||an(e,n))}function un(e){return"number"==typeof e.status&&4===Math.floor(e.status/100)}function ln(e,t,r,n){if(e.retry===!1)return t.emit("error",r),void t.removeAllListeners();if("function"!=typeof e.back_off_function&&(e.back_off_function=x),t.emit("requestError",r),"active"===t.state||"pending"===t.state){t.emit("paused",r),t.state="stopped";var o=function(){e.current_back_off=bs},s=function(){t.removeListener("active",o)};t.once("paused",s),t.once("active",o)}e.current_back_off=e.current_back_off||bs,e.current_back_off=e.back_off_function(e.current_back_off),setTimeout(n,e.current_back_off)}function dn(e){return Object.keys(e).sort(kn.collate).reduce(function(t,r){return t[r]=e[r],t},{})}function cn(e,t,r){var n=r.doc_ids?r.doc_ids.sort(kn.collate):"",o=r.filter?r.filter.toString():"",s="",i="";return r.filter&&r.query_params&&(s=JSON.stringify(dn(r.query_params))),r.filter&&"_view"===r.filter&&(i=r.view.toString()),Dn.all([e.id(),t.id()]).then(function(e){var t=e[0]+e[1]+o+i+s+n;return new Dn(function(e){Ue(t,e)})}).then(function(e){return e=e.replace(/\//g,".").replace(/\+/g,"_"),"_local/"+e})}function pn(e,t,r,n,o){function s(){return x?Dn.resolve():cn(e,t,r).then(function(r){w=r,x=new nn(e,t,w,n)})}function i(){if(R=[],0!==$.docs.length){var e=$.docs;return t.bulkDocs({docs:e,new_edits:!1}).then(function(t){if(n.cancelled)throw f(),new Error("cancelled");var r=[],s={};t.forEach(function(e){e.error&&(o.doc_write_failures++,r.push(e),s[e.id]=e)}),M=M.concat(r),o.docs_written+=$.docs.length-r.length;var i=r.filter(function(e){return"unauthorized"!==e.name&&"forbidden"!==e.name});if(e.forEach(function(e){var t=s[e._id];t?n.emit("denied",l(t)):R.push(e)}),i.length>0){var a=new Error("bulkDocs error");throw a.other_errors=r,h("target.bulkDocs failed to write docs",a),new Error("bulkWrite partial failure")}},function(t){throw o.doc_write_failures+=e.length,t})}}function a(){if($.error)throw new Error("There was a problem getting docs.");o.last_seq=S=$.seq;var e=l(o);return R.length&&(e.docs=R,n.emit("change",e)),C=!0,x.writeCheckpoint($.seq,B).then(function(){if(C=!1,n.cancelled)throw f(),new Error("cancelled");$=void 0,_()})["catch"](y)}function u(){var e={};return $.changes.forEach(function(t){"_user/"!==t.id&&(e[t.id]=t.changes.map(function(e){return e.rev}))}),t.revsDiff(e).then(function(e){if(n.cancelled)throw f(),new Error("cancelled");$.diffs=e})}function d(){return tn(e,t,$.diffs,n).then(function(e){$.error=!e.ok,e.docs.forEach(function(e){delete $.diffs[e._id],o.docs_read++,$.docs.push(e)})})}function c(){if(!n.cancelled&&!$){if(0===E.length)return void p(!0);$=E.shift(),u().then(d).then(i).then(a).then(c)["catch"](function(e){h("batch processing terminated with error",e)})}}function p(e){return 0===P.changes.length?void(0!==E.length||$||((k&&N.live||j)&&(n.state="pending",n.emit("paused")),j&&f())):void((e||j||P.changes.length>=D)&&(E.push(P),P={seq:0,changes:[],docs:[]},"pending"!==n.state&&"stopped"!==n.state||(n.state="active",n.emit("active")),c()))}function h(e,t){T||(t.message||(t.message=e),o.ok=!1,o.status="aborting",o.errors.push(t),M=M.concat(t),E=[],P={seq:0,changes:[],docs:[]},f())}function f(){if(!(T||n.cancelled&&(o.status="cancelled",C))){o.status=o.status||"complete",o.end_time=new Date,o.last_seq=S,T=!0;var s=M.filter(function(e){return"unauthorized"!==e.name&&"forbidden"!==e.name});if(s.length>0){var i=M.pop();M.length>0&&(i.other_errors=M),i.result=o,ln(r,n,i,function(){pn(e,t,r,n)})}else o.errors=M,n.emit("complete",o),n.removeAllListeners()}}function m(e){if(n.cancelled)return f();var t=A(r)(e);t&&(P.seq=e.seq,P.changes.push(e),p(0===E.length&&N.live))}function b(e){if(H=!1,n.cancelled)return f();if(e.results.length>0)N.since=e.last_seq,_(),p(!0);else{var t=function(){k?(N.live=!0,_()):j=!0,p(!0)};$||0!==e.results.length?t():(C=!0,x.writeCheckpoint(e.last_seq,B).then(function(){C=!1,o.last_seq=S=e.last_seq,t()})["catch"](y))}}function v(e){return H=!1,n.cancelled?f():void h("changes rejected",e)}function _(){function t(){s.cancel()}function o(){n.removeListener("cancel",t)}if(!H&&!j&&E.lengthn.since&&!n.cancelled&&(n.since=e.seq,n.onChange(e))}).on("complete",function(){"waiting"===i&&setTimeout(function(){o()},0),i=!1}).on("error",e)}}if(!this._listeners[t]){var s=this,i=!1;this._listeners[t]=o,this.on(e,o)}},y.prototype.removeListener=function(e,t){t in this._listeners&&Cn.EventEmitter.prototype.removeListener.call(this,e,this._listeners[t])},y.prototype.notifyLocalWindows=function(e){v()?chrome.storage.local.set({dbName:e}):_()&&(localStorage[e]="a"===localStorage[e]?"b":"a")},y.prototype.notify=function(e){this.emit(e),this.notifyLocalWindows(e)},wn(P,Error),P.prototype.toString=function(){return JSON.stringify({status:this.status,name:this.name,message:this.message,reason:this.reason})};var Bn=(new P({status:401,error:"unauthorized",reason:"Name or password is incorrect."}),new P({status:400,error:"bad_request",reason:"Missing JSON list of 'docs'"})),In=new P({status:404,error:"not_found",reason:"missing"}),Nn=new P({status:409,error:"conflict",reason:"Document update conflict"}),Ln=new P({status:400,error:"bad_request",reason:"_id field must contain a string"}),qn=new P({status:412,error:"missing_id",reason:"_id is required for puts"}),Un=new P({status:400,error:"bad_request",reason:"Only reserved document ids may start with underscore."}),zn=new P({status:412,error:"precondition_failed",reason:"Database not open"}),Wn=new P({status:500,error:"unknown_error",reason:"Database encountered an unknown error"}),Vn=new P({status:500,error:"badarg",reason:"Some query argument is invalid"}),Gn=(new P({status:400,error:"invalid_request",reason:"Request was invalid"}),new P({status:400,error:"query_parse_error",reason:"Some query parameter is invalid"})),Kn=new P({status:500,error:"doc_validation",reason:"Bad special document member"}),Yn=new P({status:400,error:"bad_request",reason:"Something wrong with the request"}),Xn=new P({status:400,error:"bad_request",reason:"Document must be a JSON object"}),Zn=(new P({status:404,error:"not_found",reason:"Database not found"}),new P({status:500,error:"indexed_db_went_bad",reason:"unknown"})),Jn=new P({status:500,error:"web_sql_went_bad",reason:"unknown"}),Qn=(new P({status:500,error:"levelDB_went_went_bad",reason:"unknown"}),new P({status:403,error:"forbidden",reason:"Forbidden by design doc validate_doc_update function"}),new P({status:400,error:"bad_request",reason:"Invalid rev format"})),eo=(new P({status:412,error:"file_exists",reason:"The database could not be created, the file already exists."}),new P({status:412,error:"missing_stub"})),to=(new P({status:413,error:"invalid_url",reason:"Provided URL is invalid"}),["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"]),ro="queryKey",no=/(?:^|&)([^&=]*)=?([^&]*)/g,oo=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,so="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");wn(le,Cn.EventEmitter),le.prototype.cancel=function(){this.isCancelled=!0,this.db.taskqueue.isReady&&this.emit("cancel")},le.prototype.doChanges=function(e){var t=this,r=e.complete;if(e=l(e),"live"in e&&!("continuous"in e)&&(e.continuous=e.live),e.processChange=de,"latest"===e.since&&(e.since="now"),e.since||(e.since=0),"now"===e.since)return void this.db.info().then(function(n){return t.isCancelled?void r(null,{status:"cancelled"}):(e.since=n.update_seq,void t.doChanges(e))},r);if(e.continuous&&"now"!==e.since&&this.db.info().then(function(e){t.startSeq=e.update_seq},function(e){if("idbNull"!==e.id)throw e}),e.view&&!e.filter&&(e.filter="_view"),e.filter&&"string"==typeof e.filter&&("_view"===e.filter?e.view=H(e.view):e.filter=H(e.filter),"http"!==this.db.type()&&!e.doc_ids))return this.filterChanges(e);"descending"in e||(e.descending=!1),e.limit=0===e.limit?1:e.limit,e.complete=r;var n=this.db._changes(e);if(n&&"function"==typeof n.cancel){var o=t.cancel;t.cancel=Pn(function(e){n.cancel(),o.apply(this,e)})}},le.prototype.filterChanges=function(e){var t=this,r=e.complete;if("_view"===e.filter){if(!e.view||"string"!=typeof e.view){var n=C(Yn,"`view` filter parameter not found or invalid.");return r(n)}var o=O(e.view);this.db.get("_design/"+o[0],function(n,s){if(t.isCancelled)return r(null,{status:"cancelled"});if(n)return r(j(n));var i=s&&s.views&&s.views[o[1]]&&s.views[o[1]].map;return i?(e.filter=ae(i),void t.doChanges(e)):r(C(In,s.views?"missing json key: "+o[1]:"missing json key: views"))})}else{var s=O(e.filter);if(!s)return t.doChanges(e);this.db.get("_design/"+s[0],function(n,o){if(t.isCancelled)return r(null,{status:"cancelled"});if(n)return r(j(n));var i=o&&o.filters&&o.filters[s[1]];return i?(e.filter=ie(i),void t.doChanges(e)):r(C(In,o&&o.filters?"missing json key: "+s[1]:"missing json key: filters"))})}},wn(ye,Cn.EventEmitter),ye.prototype.post=p("post",function(e,t,r){return"function"==typeof t&&(r=t,t={}),"object"!=typeof e||Array.isArray(e)?r(C(Xn)):void this.bulkDocs({docs:[e]},t,he(r))}),ye.prototype.put=p("put",Pn(function(e){function t(){i||($("warn","db.put(doc, id, rev) has been deprecated and will be removed in a future release, please use db.put({_id: id, _rev: rev}) instead"),i=!0)}var r,n,o,s,i=!1,a=e.shift(),u="_id"in a;if("object"!=typeof a||Array.isArray(a))return(s=e.pop())(C(Xn));for(;;)if(r=e.shift(),n=typeof r,"string"!==n||u?"string"!==n||!u||"_rev"in a?"object"===n?o=r:"function"===n&&(s=r):(t(),a._rev=r):(t(),a._id=r,u=!0),!e.length)break;return o=o||{},k(a._id),se(a._id)&&"function"==typeof this._putLocal?a._deleted?this._removeLocal(a,s):this._putLocal(a,s):void this.bulkDocs({docs:[a]},o,he(s))})),ye.prototype.putAttachment=p("putAttachment",function(e,t,r,n,o){function s(e){var r="_rev"in e?parseInt(e._rev,10):0;return e._attachments=e._attachments||{},e._attachments[t]={content_type:o,data:n,revpos:++r},i.put(e)}var i=this;return"function"==typeof o&&(o=n,n=r,r=null),"undefined"==typeof o&&(o=n,n=r,r=null),i.get(e).then(function(e){if(e._rev!==r)throw C(Nn);return s(e)},function(t){if(t.reason===In.message)return s({_id:e});throw t})}),ye.prototype.removeAttachment=p("removeAttachment",function(e,t,r,n){var o=this;o.get(e,function(e,s){return e?void n(e):s._rev!==r?void n(C(Nn)):s._attachments?(delete s._attachments[t],0===Object.keys(s._attachments).length&&delete s._attachments,void o.put(s,n)):n()})}),ye.prototype.remove=p("remove",function(e,t,r,n){var o;"string"==typeof t?(o={_id:e,_rev:t},"function"==typeof r&&(n=r,r={})):(o=e,"function"==typeof t?(n=t,r={}):(n=r,r=t)),r=r||{},r.was_delete=!0;var s={_id:o._id,_rev:o._rev||r.rev};return s._deleted=!0,se(s._id)&&"function"==typeof this._removeLocal?this._removeLocal(o,n):void this.bulkDocs({docs:[s]},r,he(n))}),ye.prototype.revsDiff=p("revsDiff",function(e,t,r){function n(e,t){a.has(e)||a.set(e,{missing:[]}),a.get(e).missing.push(t)}function o(t,r){var o=e[t].slice(0);L(r,function(e,r,s,i,a){var u=r+"-"+s,l=o.indexOf(u);l!==-1&&(o.splice(l,1),"available"!==a.status&&n(t,u))}),o.forEach(function(e){n(t,e)})}"function"==typeof t&&(r=t,t={});var s=Object.keys(e);if(!s.length)return r(null,{});var i=0,a=new En.Map;s.map(function(t){this._getRevisionTree(t,function(n,u){if(n&&404===n.status&&"missing"===n.message)a.set(t,{missing:e[t]});else{if(n)return r(n);o(t,u)}if(++i===s.length){var l={};return a.forEach(function(e,t){l[t]=e}),r(null,l)}})},this)}),ye.prototype.bulkGet=p("bulkGet",function(e,t){b(this,e,t)}),ye.prototype.compactDocument=p("compactDocument",function(e,t,r){var n=this;this._getRevisionTree(e,function(o,s){if(o)return r(o);var i=be(s),a=[],u=[];Object.keys(i).forEach(function(e){i[e]>t&&a.push(e)}),L(s,function(e,t,r,n,o){var s=t+"-"+r;"available"===o.status&&a.indexOf(s)!==-1&&u.push(s)}),n._doCompaction(e,u,r)})}),ye.prototype.compact=p("compact",function(e,t){"function"==typeof e&&(t=e,e={});var r=this;e=e||{},r._compactionQueue=r._compactionQueue||[],r._compactionQueue.push({opts:e,callback:t}),1===r._compactionQueue.length&&_e(r)}),ye.prototype._compact=function(e,t){function r(e){i.push(o.compactDocument(e.id,0))}function n(e){var r=e.last_seq;Dn.all(i).then(function(){return M(o,"_local/compaction",function(e){return(!e.last_seq||e.last_seq=0&&this._listeners[e].splice(r,1)}},e.prototype.dispatchEvent=function(e){if(this._listeners[e.type]&&this._listeners[e.type].length)for(var t=this._listeners[e.type].slice(),r=0,n=t.length;r>>32-o,r)}function r(e,r,n,o,s,i,a){return t(r&n|~r&o,e,r,s,i,a)}function n(e,r,n,o,s,i,a){return t(r&o|n&~o,e,r,s,i,a)}function o(e,r,n,o,s,i,a){return t(r^n^o,e,r,s,i,a)}function s(e,r,n,o,s,i,a){return t(n^(r|~o),e,r,s,i,a)}function i(e,t){var i=e[0],a=e[1],u=e[2],l=e[3];i=r(i,a,u,l,t[0],7,-680876936),l=r(l,i,a,u,t[1],12,-389564586),u=r(u,l,i,a,t[2],17,606105819),a=r(a,u,l,i,t[3],22,-1044525330),i=r(i,a,u,l,t[4],7,-176418897),l=r(l,i,a,u,t[5],12,1200080426),u=r(u,l,i,a,t[6],17,-1473231341),a=r(a,u,l,i,t[7],22,-45705983),i=r(i,a,u,l,t[8],7,1770035416),l=r(l,i,a,u,t[9],12,-1958414417),u=r(u,l,i,a,t[10],17,-42063),a=r(a,u,l,i,t[11],22,-1990404162),i=r(i,a,u,l,t[12],7,1804603682),l=r(l,i,a,u,t[13],12,-40341101),u=r(u,l,i,a,t[14],17,-1502002290),a=r(a,u,l,i,t[15],22,1236535329),i=n(i,a,u,l,t[1],5,-165796510),l=n(l,i,a,u,t[6],9,-1069501632),u=n(u,l,i,a,t[11],14,643717713),a=n(a,u,l,i,t[0],20,-373897302),i=n(i,a,u,l,t[5],5,-701558691),l=n(l,i,a,u,t[10],9,38016083),u=n(u,l,i,a,t[15],14,-660478335),a=n(a,u,l,i,t[4],20,-405537848),i=n(i,a,u,l,t[9],5,568446438),l=n(l,i,a,u,t[14],9,-1019803690),u=n(u,l,i,a,t[3],14,-187363961),a=n(a,u,l,i,t[8],20,1163531501),i=n(i,a,u,l,t[13],5,-1444681467),l=n(l,i,a,u,t[2],9,-51403784),u=n(u,l,i,a,t[7],14,1735328473),a=n(a,u,l,i,t[12],20,-1926607734),i=o(i,a,u,l,t[5],4,-378558),l=o(l,i,a,u,t[8],11,-2022574463),u=o(u,l,i,a,t[11],16,1839030562),a=o(a,u,l,i,t[14],23,-35309556),i=o(i,a,u,l,t[1],4,-1530992060),l=o(l,i,a,u,t[4],11,1272893353),u=o(u,l,i,a,t[7],16,-155497632),a=o(a,u,l,i,t[10],23,-1094730640),i=o(i,a,u,l,t[13],4,681279174),l=o(l,i,a,u,t[0],11,-358537222),u=o(u,l,i,a,t[3],16,-722521979),a=o(a,u,l,i,t[6],23,76029189),i=o(i,a,u,l,t[9],4,-640364487),l=o(l,i,a,u,t[12],11,-421815835),u=o(u,l,i,a,t[15],16,530742520),a=o(a,u,l,i,t[2],23,-995338651),i=s(i,a,u,l,t[0],6,-198630844),l=s(l,i,a,u,t[7],10,1126891415),u=s(u,l,i,a,t[14],15,-1416354905),a=s(a,u,l,i,t[5],21,-57434055),i=s(i,a,u,l,t[12],6,1700485571),l=s(l,i,a,u,t[3],10,-1894986606),u=s(u,l,i,a,t[10],15,-1051523),a=s(a,u,l,i,t[1],21,-2054922799),i=s(i,a,u,l,t[8],6,1873313359),l=s(l,i,a,u,t[15],10,-30611744),u=s(u,l,i,a,t[6],15,-1560198380),a=s(a,u,l,i,t[13],21,1309151649),i=s(i,a,u,l,t[4],6,-145523070),l=s(l,i,a,u,t[11],10,-1120210379),u=s(u,l,i,a,t[2],15,718787259),a=s(a,u,l,i,t[9],21,-343485551),e[0]=g(i,e[0]),e[1]=g(a,e[1]),e[2]=g(u,e[2]),e[3]=g(l,e[3])}function a(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return r}function u(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return r}function l(e){var t,r,n,o,s,u,l=e.length,d=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=l;t+=64)i(d,a(e.substring(t-64,t)));for(e=e.substring(t-64),r=e.length,n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t>2]|=e.charCodeAt(t)<<(t%4<<3);if(n[t>>2]|=128<<(t%4<<3),t>55)for(i(d,n),t=0;t<16;t+=1)n[t]=0;return o=8*l,o=o.toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(o[2],16),u=parseInt(o[1],16)||0,n[14]=s,n[15]=u,i(d,n),d}function d(e){var t,r,n,o,s,a,l=e.length,d=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=l;t+=64)i(d,u(e.subarray(t-64,t)));for(e=t-64>2]|=e[t]<<(t%4<<3);if(n[t>>2]|=128<<(t%4<<3),t>55)for(i(d,n),t=0;t<16;t+=1)n[t]=0;return o=8*l,o=o.toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(o[2],16),a=parseInt(o[1],16)||0,n[14]=s,n[15]=a,i(d,n),d}function c(e){var t,r="";for(t=0;t<4;t+=1)r+=y[e>>8*t+4&15]+y[e>>8*t&15];return r}function p(e){var t;for(t=0;t>16)+(t>>16)+(r>>16);return n<<16|65535&r}),"undefined"==typeof ArrayBuffer||ArrayBuffer.prototype.slice||!function(){function t(e,t){return e=0|e||0,e<0?Math.max(e+t,0):Math.min(e,t)}ArrayBuffer.prototype.slice=function(r,n){var o,s,i,a,u=this.byteLength,l=t(r,u),d=u;return n!==e&&(d=t(n,u)),l>d?new ArrayBuffer(0):(o=d-l,s=new ArrayBuffer(o),i=new Uint8Array(s),a=new Uint8Array(this,l,o),i.set(a),s)}}(),_.prototype.append=function(e){return this.appendBinary(h(e)),this},_.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var t,r=this._buff.length;for(t=64;t<=r;t+=64)i(this._hash,a(this._buff.substring(t-64,t)));return this._buff=this._buff.substring(t-64),this},_.prototype.end=function(e){var t,r,n=this._buff,o=n.length,s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t>2]|=n.charCodeAt(t)<<(t%4<<3);return this._finish(s,o),r=p(this._hash),e&&(r=v(r)),this.reset(),r},_.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},_.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash}},_.prototype.setState=function(e){return this._buff=e.buff,this._length=e.length,this._hash=e.hash,this},_.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},_.prototype._finish=function(e,t){var r,n,o,s=t;if(e[s>>2]|=128<<(s%4<<3),s>55)for(i(this._hash,e),s=0;s<16;s+=1)e[s]=0;r=8*this._length,r=r.toString(16).match(/(.*?)(.{0,8})$/),n=parseInt(r[2],16),o=parseInt(r[1],16)||0,e[14]=n,e[15]=o,i(this._hash,e)},_.hash=function(e,t){return _.hashBinary(h(e),t)},_.hashBinary=function(e,t){var r=l(e),n=p(r);return t?v(n):n},_.ArrayBuffer=function(){this.reset()},_.ArrayBuffer.prototype.append=function(e){var t,r=b(this._buff.buffer,e,!0),n=r.length;for(this._length+=e.byteLength,t=64;t<=n;t+=64)i(this._hash,u(r.subarray(t-64,t)));return this._buff=t-64>2]|=n[t]<<(t%4<<3);return this._finish(s,o),r=p(this._hash),e&&(r=v(r)),this.reset(),r},_.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},_.ArrayBuffer.prototype.getState=function(){var e=_.prototype.getState.call(this);return e.buff=m(e.buff),e},_.ArrayBuffer.prototype.setState=function(e){return e.buff=f(e.buff,!0),_.prototype.setState.call(this,e)},_.ArrayBuffer.prototype.destroy=_.prototype.destroy,_.ArrayBuffer.prototype._finish=_.prototype._finish,_.ArrayBuffer.hash=function(e,t){var r=d(new Uint8Array(e)),n=p(r);return t?v(n):n}, -_})},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-pouchdb/node_modules/pouchdb/node_modules/vuvuzela/index.js":[function(e,t,r){"use strict";function n(e,t,r){var n=r[r.length-1];e===n.element&&(r.pop(),n=r[r.length-1]);var o=n.element,s=n.index;if(Array.isArray(o))o.push(e);else if(s===t.length-2){var i=t.pop();o[i]=e}else t.push(e)}r.stringify=function(e){var t=[];t.push({obj:e});for(var r,n,o,s,i,a,u,l,d,c,p,h="";r=t.pop();)if(n=r.obj,o=r.prefix||"",s=r.val||"",h+=o,s)h+=s;else if("object"!=typeof n)h+="undefined"==typeof n?null:JSON.stringify(n);else if(null===n)h+="null";else if(Array.isArray(n)){for(t.push({val:"]"}),i=n.length-1;i>=0;i--)a=0===i?"":",",t.push({obj:n[i],prefix:a});t.push({val:"["})}else{u=[];for(l in n)n.hasOwnProperty(l)&&u.push(l);for(t.push({val:"}"}),i=u.length-1;i>=0;i--)d=u[i],c=n[d],p=i>0?",":"",p+=JSON.stringify(d)+":",t.push({obj:c,prefix:p});t.push({val:"{"})}return h},r.parse=function(e){for(var t,r,o,s,i,a,u,l,d,c=[],p=[],h=0;;)if(t=e[h++],"}"!==t&&"]"!==t&&"undefined"!=typeof t)switch(t){case" ":case"\t":case"\n":case":":case",":break;case"n":h+=3,n(null,c,p);break;case"t":h+=3,n(!0,c,p);break;case"f":h+=4,n(!1,c,p);break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"-":for(r="",h--;;){if(o=e[h++],!/[\d\.\-e\+]/.test(o)){h--;break}r+=o}n(parseFloat(r),c,p);break;case'"':for(s="",i=void 0,a=0;;){if(u=e[h++],'"'===u&&("\\"!==i||a%2!==1))break;s+=u,i=u,"\\"===i?a++:a=0}n(JSON.parse('"'+s+'"'),c,p);break;case"[":l={element:[],index:c.length},c.push(l.element),p.push(l);break;case"{":d={element:{},index:c.length},c.push(d.element),p.push(d);break;default:throw new Error("unexpectedly reached end of input: "+t)}else{if(1===c.length)return c.pop();n(c.pop(),c,p)}}},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-rss/lib/rssPlugin.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){e.on("requestGenerateIndex",function(e){console.info("RSS Plugin - requestGenerateIndex"),console.log("requestGenerateIndex",e);var t=e.data.config.site,r=e.data.publishedPosts;if(!r||!r.length)return e;var n=new i["default"]({title:t.title||"",description:t.description||"",feed_url:t.url+"/rss/",site_url:t.url,image_url:t.cover,ttl:"60"});r.forEach(function(e){n.item({title:e.title,description:e.html,url:""+t.url+e.url,categories:e.tags,author:e.author.name,date:e.published_at})});var o=n.xml(),s=[];s.push({name:"RSS",path:"rss/index.xml",content:o,message:"Publish rss feed"});var a=(e.data.elementsToPublish||[]).concat(s),u=Object.assign({},e.data,{elementsToPublish:a});return Object.assign({},e,{data:u})})}Object.defineProperty(r,"__esModule",{value:!0}),r.rssPlugin=o;var s=e("rss"),i=n(s)},{rss:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-rss/node_modules/rss/lib/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-rss/node_modules/rss/lib/index.js":[function(e,t,r){"use strict";function n(e,t,r){e&&t.push(r)}function o(e,t,r){e&&r.forEach(function(e){n(e,t,e)})}function s(e){return"undefined"==typeof d?0:d.statSync(e).size}function i(e){var t=[];t.push({title:{_cdata:e.title}}),t.push({description:{_cdata:e.description||e.title}}),t.push({link:e.site_url||"http://github.com/dylang/node-rss"}),e.image_url&&t.push({image:[{url:e.image_url},{title:e.title},{link:e.site_url}]}),t.push({generator:e.generator}),t.push({lastBuildDate:(new Date).toUTCString()}),n(e.feed_url,t,{"atom:link":{_attr:{href:e.feed_url,rel:"self",type:"application/rss+xml"}}}),n(e.author,t,{author:{_cdata:e.author}}),n(e.pubDate,t,{pubDate:new Date(e.pubDate).toGMTString()}),n(e.copyright,t,{copyright:{_cdata:e.copyright}}),n(e.language,t,{language:{_cdata:e.language}}),n(e.managingEditor,t,{managingEditor:{_cdata:e.managingEditor}}),n(e.webMaster,t,{webMaster:{_cdata:e.webMaster}}),n(e.docs,t,{docs:e.docs}),n(e.ttl,t,{ttl:e.ttl}),n(e.hub,t,{"atom:link":{_attr:{href:e.hub,rel:"hub"}}}),e.categories&&e.categories.forEach(function(e){n(e,t,{category:{_cdata:e}})}),o(e.custom_elements,t,e.custom_elements),e.items.forEach(function(r){var i=[{title:{_cdata:r.title}}];n(r.description,i,{description:{_cdata:r.description}}),n(r.url,i,{link:r.url}),n(r.link||r.guid||r.title,i,{guid:[{_attr:{isPermaLink:!r.guid&&!!r.url}},r.guid||r.url||r.title]}),r.categories.forEach(function(e){n(e,i,{category:{_cdata:e}})}),n(r.author||e.author,i,{"dc:creator":{_cdata:r.author||e.author}}),n(r.date,i,{pubDate:new Date(r.date).toGMTString()}),e.geoRSS=e.geoRSS||r.lat&&r["long"],n(r.lat,i,{"geo:lat":r.lat}),n(r["long"],i,{"geo:long":r["long"]}),r.enclosure&&r.enclosure.url&&(r.enclosure.file?i.push({enclosure:{_attr:{url:r.enclosure.url,length:r.enclosure.size||s(r.enclosure.file),type:r.enclosure.type||u.lookup(r.enclosure.file)}}}):i.push({enclosure:{_attr:{url:r.enclosure.url,length:r.enclosure.size||0,type:r.enclosure.type||u.lookup(r.enclosure.url)}}})),o(r.custom_elements,i,r.custom_elements),t.push({item:i})});var r={"xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:content":"http://purl.org/rss/1.0/modules/content/","xmlns:atom":"http://www.w3.org/2005/Atom",version:"2.0"};return Object.keys(e.custom_namespaces).forEach(function(t){r["xmlns:"+t]=e.custom_namespaces[t]}),e.geoRSS&&(r["xmlns:geo"]="http://www.w3.org/2003/01/geo/wgs84_pos#"),{rss:[{_attr:r},{channel:t}]}}function a(e,t){e=e||{},this.title=e.title||"Untitled RSS Feed",this.description=e.description||"",this.generator=e.generator||"RSS for Node",this.feed_url=e.feed_url,this.site_url=e.site_url,this.image_url=e.image_url,this.author=e.author,this.categories=e.categories,this.pubDate=e.pubDate,this.hub=e.hub,this.docs=e.docs,this.copyright=e.copyright,this.language=e.language,this.managingEditor=e.managingEditor,this.webMaster=e.webMaster,this.ttl=e.ttl,this.geoRSS=e.geoRSS||!1,this.custom_namespaces=e.custom_namespaces||{},this.custom_elements=e.custom_elements||[],this.items=t||[],this.item=function(e){e=e||{};var t={title:e.title||"No title",description:e.description||"",url:e.url,guid:e.guid,categories:e.categories||[],author:e.author,date:e.date,lat:e.lat,"long":e["long"],enclosure:e.enclosure||!1,custom_elements:e.custom_elements||[]};return this.items.push(t),this},this.xml=function(e){return''+l(i(this),e)}}var u=e("mime-types"),l=e("xml"),d=e("fs");t.exports=a},{fs:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/lib/_empty.js","mime-types":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-rss/node_modules/rss/node_modules/mime-types/index.js",xml:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-rss/node_modules/rss/node_modules/xml/lib/xml.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-rss/node_modules/rss/node_modules/mime-types/index.js":[function(e,t,r){"use strict";function n(e){if(!e||"string"!=typeof e)return!1;var t=d.exec(e),r=t&&u[t[1].toLowerCase()];return r&&r.charset?r.charset:!(!t||!c.test(t[1]))&&"UTF-8"}function o(e){if(!e||"string"!=typeof e)return!1;var t=e.indexOf("/")===-1?r.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var n=r.charset(t);n&&(t+="; charset="+n.toLowerCase())}return t}function s(e){if(!e||"string"!=typeof e)return!1;var t=d.exec(e),n=t&&r.extensions[t[1].toLowerCase()];return!(!n||!n.length)&&n[0]}function i(e){if(!e||"string"!=typeof e)return!1;var t=l("x."+e).toLowerCase().substr(1);return!!t&&(r.types[t]||!1)}function a(e,t){var r=["nginx","apache",void 0,"iana"];Object.keys(u).forEach(function(n){var o=u[n],s=o.extensions;if(s&&s.length){e[n]=s;for(var i=0;id||l===d&&"application/"===t[a].substr(0,12))continue}t[a]=n}}})}var u=e("mime-db"),l=e("path").extname,d=/^\s*([^;\s]*)(?:;|\s|$)/,c=/^text\//i;r.charset=n,r.charsets={lookup:n},r.contentType=o,r.extension=s,r.extensions=Object.create(null),r.lookup=i,r.types=Object.create(null),a(r.extensions,r.types)},{"mime-db":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-rss/node_modules/rss/node_modules/mime-types/node_modules/mime-db/index.js",path:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/path-browserify/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-rss/node_modules/rss/node_modules/mime-types/node_modules/mime-db/db.json":[function(e,t,r){t.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana"},"application/3gpp-ims+xml":{source:"iana"},"application/a2l":{source:"iana"},"application/activemessage":{source:"iana"},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana"},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",extensions:["atomsvc"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana"},"application/bacnet-xdd+zip":{source:"iana"},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana"},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana"},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/cbor":{source:"iana"},"application/ccmp+xml":{source:"iana"},"application/ccxml+xml":{source:"iana",extensions:["ccxml"]},"application/cdfx+xml":{source:"iana"},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana"},"application/cellml+xml":{source:"iana"},"application/cfw":{source:"iana"},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana"},"application/coap-group+json":{source:"iana",compressible:!0},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana"},"application/cpl+xml":{source:"iana"},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana"},"application/cstadata+xml":{source:"iana"},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",extensions:["mpd"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana"},"application/dicom":{source:"iana"},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/docbook+xml":{source:"apache",extensions:["dbk"]},"application/dskpp+xml":{source:"iana"},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/emergencycalldata.comment+xml":{source:"iana"},"application/emergencycalldata.deviceinfo+xml":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana"},"application/emergencycalldata.serviceinfo+xml":{source:"iana"},"application/emergencycalldata.subscriberinfo+xml":{source:"iana"},"application/emma+xml":{source:"iana",extensions:["emma"]},"application/emotionml+xml":{source:"iana"},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana"},"application/epub+zip":{source:"iana",extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana"},"application/fits":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1,extensions:["woff"]},"application/font-woff2":{compressible:!1,extensions:["woff2"]},"application/framework-attributes+xml":{source:"iana"},"application/gml+xml":{source:"apache",extensions:["gml"]},"application/gpx+xml":{source:"apache",extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1},"application/h224":{source:"iana"},"application/held+xml":{source:"iana"},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana"},"application/ibe-pkg-reply+xml":{source:"iana"},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana"},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana"},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js"]},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana"},"application/kpml-response+xml":{source:"iana"},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana"},"application/lost+xml":{source:"iana",extensions:["lostxml"]},"application/lostsync+xml":{source:"iana"},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",extensions:["mads"]},"application/manifest+json":{charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",extensions:["mathml"]},"application/mathml-content+xml":{source:"iana"},"application/mathml-presentation+xml":{source:"iana"},"application/mbms-associated-procedure-description+xml":{source:"iana"},"application/mbms-deregister+xml":{source:"iana"},"application/mbms-envelope+xml":{source:"iana"},"application/mbms-msk+xml":{source:"iana"},"application/mbms-msk-response+xml":{source:"iana"},"application/mbms-protection-description+xml":{source:"iana"},"application/mbms-reception-report+xml":{source:"iana"},"application/mbms-register+xml":{source:"iana"},"application/mbms-register-response+xml":{source:"iana"},"application/mbms-schedule+xml":{source:"iana"},"application/mbms-user-service-description+xml":{source:"iana"},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana"},"application/media_control+xml":{source:"iana"},"application/mediaservercontrol+xml":{source:"iana",extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",extensions:["metalink"]},"application/metalink4+xml":{source:"iana",extensions:["meta4"]},"application/mets+xml":{source:"iana",extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mods+xml":{source:"iana",extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana"},"application/mrb-publish+xml":{source:"iana"},"application/msc-ivr+xml":{source:"iana"},"application/msc-mixer+xml":{source:"iana"},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mxf":{source:"iana",extensions:["mxf"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana"},"application/news-groupinfo":{source:"iana"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana"},"application/nss":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p2p-overlay+xml":{source:"iana"},"application/parityfec":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana"},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana"},"application/pidf-diff+xml":{source:"iana"},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",extensions:["pls"]},"application/poc-settings+xml":{source:"iana"},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana"},"application/provenance+xml":{source:"iana"},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.hpub+zip":{source:"iana"},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana"},"application/pskc+xml":{source:"iana",extensions:["pskcxml"]},"application/qsig":{source:"iana"},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf"]},"application/reginfo+xml":{source:"iana",extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",extensions:["rld"]},"application/rfc+xml":{source:"iana"},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana"},"application/rls-services+xml":{source:"iana",extensions:["rs"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana"},"application/samlmetadata+xml":{source:"iana"},"application/sbml+xml":{source:"iana",extensions:["sbml"]},"application/scaip+xml":{source:"iana"},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/sep+xml":{source:"iana"},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",extensions:["shf"]},"application/sieve":{source:"iana"},"application/simple-filter+xml":{source:"iana"},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",extensions:["srx"]},"application/spirits-event+xml":{source:"iana"},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",extensions:["grxml"]},"application/sru+xml":{source:"iana",extensions:["sru"]},"application/ssdl+xml":{source:"apache",extensions:["ssdl"]},"application/ssml+xml":{source:"iana",extensions:["ssml"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/tei+xml":{source:"iana",extensions:["tei","teicorpus"]},"application/thraud+xml":{source:"iana",extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/ttml+xml":{source:"iana"},"application/tve-trigger":{source:"iana"},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana"},"application/urc-ressheet+xml":{source:"iana"},"application/urc-targetdesc+xml":{source:"iana"},"application/urc-uisocketdesc+xml":{source:"iana"},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana"},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.3gpp-prose+xml":{source:"iana"},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana"},"application/vnd.3gpp.bsf+xml":{source:"iana"},"application/vnd.3gpp.mid-call+xml":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana"},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana"},"application/vnd.3gpp.srvcc-info+xml":{source:"iana"},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana"},"application/vnd.3gpp.ussd+xml":{source:"iana"},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana"},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",extensions:["mpkg"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avistar+xml":{source:"iana"},"application/vnd.balsamiq.bmml+xml":{source:"iana"},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.biopax.rdf+xml":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",extensions:["cdxml"]},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana"},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{ -source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",extensions:["wbs"]},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana"},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana"},"application/vnd.cybank":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume-movie":{source:"iana"},"application/vnd.desmume.movie":{source:"apache"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana"},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana"},"application/vnd.dvb.notif-container+xml":{source:"iana"},"application/vnd.dvb.notif-generic+xml":{source:"iana"},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana"},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana"},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana"},"application/vnd.dvb.notif-init+xml":{source:"iana"},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana"},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana"},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.eszigno3+xml":{source:"iana",extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana"},"application/vnd.etsi.asic-e+zip":{source:"iana"},"application/vnd.etsi.asic-s+zip":{source:"iana"},"application/vnd.etsi.cug+xml":{source:"iana"},"application/vnd.etsi.iptvcommand+xml":{source:"iana"},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana"},"application/vnd.etsi.iptvprofile+xml":{source:"iana"},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana"},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana"},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana"},"application/vnd.etsi.iptvservice+xml":{source:"iana"},"application/vnd.etsi.iptvsync+xml":{source:"iana"},"application/vnd.etsi.iptvueprofile+xml":{source:"iana"},"application/vnd.etsi.mcid+xml":{source:"iana"},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana"},"application/vnd.etsi.pstn+xml":{source:"iana"},"application/vnd.etsi.sci+xml":{source:"iana"},"application/vnd.etsi.simservs+xml":{source:"iana"},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana"},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eudora.data":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana"},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana"},"application/vnd.gov.sk.e-form+zip":{source:"iana"},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana"},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana"},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana"},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana"},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana"},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana"},"application/vnd.iptc.g2.newsitem+xml":{source:"iana"},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana"},"application/vnd.iptc.g2.packageitem+xml":{source:"iana"},"application/vnd.iptc.g2.planningitem+xml":{source:"iana"},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las.las+xml":{source:"iana",extensions:["lasxml"]},"application/vnd.liberty-request+xml":{source:"iana"},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",extensions:["lbe"]},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana"},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana"},"application/vnd.marlin.drm.conftoken+xml":{source:"iana"},"application/vnd.marlin.drm.license+xml":{source:"iana"},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana"},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana"},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana"},"application/vnd.ms-printing.printticket+xml":{source:"apache"},"application/vnd.ms-printschematicket+xml":{source:"iana"},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana"},"application/vnd.nokia.iptv.config+xml":{source:"iana"},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana"},"application/vnd.nokia.landmarkcollection+xml":{source:"iana"},"application/vnd.nokia.n-gage.ac+xml":{source:"iana"},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana"},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana"},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana"},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana"},"application/vnd.oipf.dae.xhtml+xml":{source:"iana"},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana"},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana"},"application/vnd.oipf.spdlist+xml":{source:"iana"},"application/vnd.oipf.ueprofile+xml":{source:"iana"},"application/vnd.oipf.userprofile+xml":{source:"iana"},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana"},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana"},"application/vnd.oma.bcast.imd+xml":{source:"iana"},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana"},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana"},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana"},"application/vnd.oma.bcast.sprov+xml":{source:"iana"},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana"},"application/vnd.oma.cab-feature-handler+xml":{source:"iana"},"application/vnd.oma.cab-pcc+xml":{source:"iana"},"application/vnd.oma.cab-subs-invite+xml":{source:"iana"},"application/vnd.oma.cab-user-prefs+xml":{source:"iana"},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana"},"application/vnd.oma.group-usage-list+xml":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana"},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana"},"application/vnd.oma.poc.final-report+xml":{source:"iana"},"application/vnd.oma.poc.groups+xml":{source:"iana"},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana"},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana"},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana"},"application/vnd.oma.xcap-directory+xml":{source:"iana"},"application/vnd.omads-email+xml":{source:"iana"},"application/vnd.omads-file+xml":{source:"iana"},"application/vnd.omads-folder+xml":{source:"iana"},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana"},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml-template":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{ -source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"apache",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml-template":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"apache",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml-template":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"apache",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana"},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana"},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana"},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana"},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana"},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos+xml":{source:"iana"},"application/vnd.paos.xml":{source:"apache"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana"},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana"},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana"},"application/vnd.radisys.msml+xml":{source:"iana"},"application/vnd.radisys.msml-audit+xml":{source:"iana"},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana"},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana"},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana"},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana"},"application/vnd.radisys.msml-conf+xml":{source:"iana"},"application/vnd.radisys.msml-dialog+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana"},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.software602.filler.form+xml":{source:"iana"},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana"},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana"},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana"},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.tmd.mediaflex.api+xml":{source:"iana"},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana"},"application/vnd.wv.ssp+xml":{source:"iana"},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana"},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",extensions:["zaz"]},"application/voicexml+xml":{source:"iana",extensions:["vxml"]},"application/vq-rtcpxr":{source:"iana"},"application/watcherinfo+xml":{source:"iana"},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-otf":{source:"apache",compressible:!0,extensions:["otf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-ttf":{source:"apache",compressible:!0,extensions:["ttf","ttc"]},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"apache",extensions:["der","crt","pem"]},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana"},"application/xaml+xml":{source:"apache",extensions:["xaml"]},"application/xcap-att+xml":{source:"iana"},"application/xcap-caps+xml":{source:"iana"},"application/xcap-diff+xml":{source:"iana",extensions:["xdf"]},"application/xcap-el+xml":{source:"iana"},"application/xcap-error+xml":{source:"iana"},"application/xcap-ns+xml":{source:"iana"},"application/xcon-conference-info+xml":{source:"iana"},"application/xcon-conference-info-diff+xml":{source:"iana"},"application/xenc+xml":{source:"iana",extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache"},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana"},"application/xmpp+xml":{source:"iana"},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",extensions:["xpl"]},"application/xslt+xml":{source:"iana",extensions:["xslt"]},"application/xspf+xml":{source:"apache",extensions:["xspf"]},"application/xv+xml":{source:"iana",extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yin+xml":{source:"iana",extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana"},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana"},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana" -},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tone":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/opentype":{compressible:!0,extensions:["otf"]},"image/bmp":{source:"apache",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/fits":{source:"iana"},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jp2":{source:"iana"},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jpm":{source:"iana"},"image/jpx":{source:"iana"},"image/ktx":{source:"iana",extensions:["ktx"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana"},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana"},"image/tiff":{source:"iana",compressible:!1,extensions:["tiff","tif"]},"image/tiff-fx":{source:"iana"},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana"},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana"},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana"},"image/vnd.valve.source.texture":{source:"iana"},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana"},"image/webp":{source:"apache",extensions:["webp"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana"},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana"},"message/global-delivery-status":{source:"iana"},"message/global-disposition-notification":{source:"iana"},"message/global-headers":{source:"iana"},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana"},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/vnd.collada+xml":{source:"iana",extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana"},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana"},"model/vnd.parasolid.transmit.binary":{source:"iana"},"model/vnd.parasolid.transmit.text":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.valve.source.compiled-map":{source:"iana"},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana"},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana"},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana",compressible:!1},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/css":{source:"iana",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fwdred":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/hjson":{extensions:["hjson"]},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{extensions:["less"]},"text/markdown":{source:"iana"},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/slim":{extensions:["slim","slm"]},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["markdown","md","mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"apache"},"video/3gpp":{source:"apache",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"apache"},"video/3gpp2":{source:"apache",extensions:["3g2"]},"video/bmpeg":{source:"apache"},"video/bt656":{source:"apache"},"video/celb":{source:"apache"},"video/dv":{source:"apache"},"video/encaprtp":{source:"apache"},"video/h261":{source:"apache",extensions:["h261"]},"video/h263":{source:"apache",extensions:["h263"]},"video/h263-1998":{source:"apache"},"video/h263-2000":{source:"apache"},"video/h264":{source:"apache",extensions:["h264"]},"video/h264-rcdo":{source:"apache"},"video/h264-svc":{source:"apache"},"video/h265":{source:"apache"},"video/iso.segment":{source:"apache"},"video/jpeg":{source:"apache",extensions:["jpgv"]},"video/jpeg2000":{source:"apache"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/mj2":{source:"apache",extensions:["mj2","mjp2"]},"video/mp1s":{source:"apache"},"video/mp2p":{source:"apache"},"video/mp2t":{source:"apache",extensions:["ts"]},"video/mp4":{source:"apache",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"apache"},"video/mpeg":{source:"apache",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"apache"},"video/mpv":{source:"apache"},"video/nv":{source:"apache"},"video/ogg":{source:"apache",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"apache"},"video/pointer":{source:"apache"},"video/quicktime":{source:"apache",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"apache"},"video/raw":{source:"apache"},"video/rtp-enc-aescm128":{source:"apache"},"video/rtploopback":{source:"apache"},"video/rtx":{source:"apache"},"video/smpte292m":{source:"apache"},"video/ulpfec":{source:"apache"},"video/vc1":{source:"apache"},"video/vnd.cctv":{source:"apache"},"video/vnd.dece.hd":{source:"apache",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"apache",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"apache"},"video/vnd.dece.pd":{source:"apache",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"apache",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"apache",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"apache"},"video/vnd.directv.mpeg-tts":{source:"apache"},"video/vnd.dlna.mpeg-tts":{source:"apache"},"video/vnd.dvb.file":{source:"apache",extensions:["dvb"]},"video/vnd.fvt":{source:"apache",extensions:["fvt"]},"video/vnd.hns.video":{source:"apache"},"video/vnd.iptvforum.1dparityfec-1010":{source:"apache"},"video/vnd.iptvforum.1dparityfec-2005":{source:"apache"},"video/vnd.iptvforum.2dparityfec-1010":{source:"apache"},"video/vnd.iptvforum.2dparityfec-2005":{source:"apache"},"video/vnd.iptvforum.ttsavc":{source:"apache"},"video/vnd.iptvforum.ttsmpeg2":{source:"apache"},"video/vnd.motorola.video":{source:"apache"},"video/vnd.motorola.videop":{source:"apache"},"video/vnd.mpegurl":{source:"apache",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"apache",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"apache"},"video/vnd.nokia.videovoip":{source:"apache"},"video/vnd.objectvideo":{source:"apache"},"video/vnd.radgamettools.bink":{source:"apache"},"video/vnd.radgamettools.smacker":{source:"apache"},"video/vnd.sealed.mpeg1":{source:"apache"},"video/vnd.sealed.mpeg4":{source:"apache"},"video/vnd.sealed.swf":{source:"apache"},"video/vnd.sealedmedia.softseal.mov":{source:"apache"},"video/vnd.uvvu.mp4":{source:"apache",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"apache",extensions:["viv"]},"video/vp8":{source:"apache"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-rss/node_modules/rss/node_modules/mime-types/node_modules/mime-db/index.js":[function(e,t,r){t.exports=e("./db.json")},{"./db.json":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-rss/node_modules/rss/node_modules/mime-types/node_modules/mime-db/db.json"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-rss/node_modules/rss/node_modules/xml/lib/escapeForXML.js":[function(e,t,r){function n(e){return e&&e.replace?e.replace(/([&"<>'])/g,function(e,t){return o[t]}):e}var o={"&":"&",'"':""","'":"'","<":"<",">":">"};t.exports=n},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-rss/node_modules/rss/node_modules/xml/lib/xml.js":[function(e,t,r){(function(r){function n(e,t){function n(e){b?r.nextTick(e):e()}function o(e,t){if(void 0!==t&&(h+=t),e&&!f&&(p=p||new d,f=!0),e&&f){var r=h;n(function(){p.emit("data",r)}),h=""}}function s(e,t){a(o,i(e,m,m?1:0),t)}function u(){if(p){var e=h;n(function(){p.emit("data",e),p.emit("end"),p.readable=!1,p.emit("close")})}}function l(e){var t=e.encoding||"UTF-8",r={version:"1.0",encoding:t};e.standalone&&(r.standalone=e.standalone),s({"?xml":{_attr:r}}),h=h.replace("/>","?>")}"object"!=typeof t&&(t={indent:t});var p=t.stream?new d:null,h="",f=!1,m=t.indent?t.indent===!0?c:t.indent:"",b=!0;return n(function(){b=!1}),t.declaration&&l(t.declaration),e&&e.forEach?e.forEach(function(t,r){var n;r+1===e.length&&(n=u),s(t,n)}):s(e,u),p?(p.readable=!0,p):h}function o(){var e=Array.prototype.slice.call(arguments),t={_elem:i(e)};return t.push=function(e){if(!this.append)throw new Error("not assigned to a parent!");var t=this,r=this._elem.indent;a(this.append,i(e,r,this._elem.icount+(r?1:0)),function(){t.append(!0)})},t.close=function(e){void 0!==e&&this.push(e),this.end&&this.end()},t}function s(e,t){return new Array(t||0).join(e||"")}function i(e,t,r){function n(e){var t=Object.keys(e);t.forEach(function(t){f.push(u(t,e[t]))})}r=r||0;var o,a=s(t,r),d=e,c=!1;if("object"==typeof e){var p=Object.keys(e);if(o=p[0],d=e[o],d&&d._elem)return d._elem.name=o,d._elem.icount=r,d._elem.indent=t,d._elem.indents=a,d._elem.interrupt=d,d._elem}var h,f=[],m=[];switch(typeof d){case"object":if(null===d)break;d._attr&&n(d._attr),d._cdata&&m.push(("/g,"]]]]>")+"]]>"),d.forEach&&(h=!1,m.push(""),d.forEach(function(e){if("object"==typeof e){var o=Object.keys(e)[0];"_attr"==o?n(e._attr):m.push(i(e,t,r+1))}else m.pop(),h=!0,m.push(l(e))}),h||m.push(""));break;default:m.push(l(d))}return{name:o,interrupt:c,attributes:f,content:m,icount:r,indents:a,indent:t}}function a(e,t,r){function n(){for(;t.content.length;){var n=t.content.shift();if(void 0!==n){if(o(n))return;a(e,n)}}e(!1,(s>1?t.indents:"")+(t.name?"":"")+(t.indent&&!r?"\n":"")),r&&r()}function o(t){return!!t.interrupt&&(t.interrupt.append=e,t.interrupt.end=n,t.interrupt=!1,e(!0),!0)}if("object"!=typeof t)return e(!1,t);var s=t.interrupt?1:t.content.length;return e(!1,t.indents+(t.name?"<"+t.name:"")+(t.attributes.length?" "+t.attributes.join(" "):"")+(s?t.name?">":"":t.name?"/>":"")+(t.indent&&s>1?"\n":"")),s?void(o(t)||n()):e(!1,t.indent?"\n":"")}function u(e,t){return e+'="'+l(t)+'"'}var l=e("./escapeForXML"),d=e("stream").Stream,c=" ";t.exports=n,t.exports.element=t.exports.Element=o}).call(this,e("_process"))},{"./escapeForXML":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-rss/node_modules/rss/node_modules/xml/lib/escapeForXML.js",_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js",stream:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/stream-browserify/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-session-storage/lib/sessionStoragePlugin.js":[function(e,t,r){"use strict";function n(e){e.on("receiveAuthentication",function(e){return e.data.authentication.isAuthenticated&&sessionStorage.setItem(e.state.application.config.meta.repositoryName+"-authentication",JSON.stringify({credentials:{token:e.data.authentication.token,permissions:e.data.authentication.permissions},userInformations:e.data.authentication.userInformations})),e}),e.on("requestSavedAuth",function(e){console.log("SessionStorage plugin requestSavedAuth",e);var t=void 0,r=sessionStorage.getItem(e.data.config.meta.repositoryName+"-authentication");r?(t=JSON.parse(r),t.isAuthenticated=!0):t={credentials:{},userInformations:{},isAuthenticated:!1};var n=Object.assign({},t,e.data.authentication),o=Object.assign({},e.data,{authentication:n});return Object.assign({},e,{data:o})}),e.on("requestLogout",function(e){return sessionStorage.removeItem(e.state.application.config.meta.repositoryName+"-authentication"),e})}Object.defineProperty(r,"__esModule",{value:!0}),r.sessionStoragePlugin=n},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/authorsGenerator.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){console.info("AuthorGenerator - generate"),console.log("AuthorGenerator - generate",e);var t="author",r=void 0;if(!d["default"].isTemplateAvailable(t))return e;r=e.data.author?e.data.publishedPosts.filter(function(t){return t.author.login===e.data.author.login}):e.data.publishedPosts;var n=u["default"].reduce(r,function(e,t){return e[t.author.login]=e[t.author.login]||[],e[t.author.login].push(t),e},{}),o=e;return u["default"].each(n,function(e,r){var n=e[0].author;n.name=n.name||n.login,n.slug=r,n.website=n.blog,n.status="",o=i["default"].generate({opts:o,posts:e,author:n,template:t,path:"author/"+r+"/"})}),o}Object.defineProperty(r,"__esModule",{value:!0}),r.generateAuthors=o;var s=e("./paginationGenerator"),i=n(s),a=e("lodash"),u=n(a),l=e("./builder"),d=n(l),c=e("hubpress-core-slugify");n(c)},{"./builder":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/builder.js","./paginationGenerator":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/paginationGenerator.js","hubpress-core-slugify":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/hubpress-core-slugify/lib/slugify.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/builder.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(r,"__esModule",{value:!0});var s=function(){function e(e,t){for(var r=0;r-1&&-1===d.indexOf("."+l)&&0!==d.indexOf("mailto:")&&(d=d.split(l)[1],"/"!==d.substring(0,1)&&(d="/"+d),r=!0))}else c.isString(e)&&-1!==c.indexOf(c.keys(m),e)&&(d=m[e]||"/");return d&&(-1!==d.indexOf("://")||d.match(/^(\/\/|#|[a-zA-Z0-9\-]+:)/))?d:i(d,r,n)}function l(){var e;return e=p.forceAdminSSL?(p.urlSSL||p.url).replace(/^.*?:\/\//g,"https://"):p.urlSSL?p.urlSSL.replace(/^.*?:\/\//g,"https://"):p.url.match(/^https:/)?p.url:p.url.replace(/^.*?:\/\//g,"//"),e.replace(/\/$/,"")+h+"/"}var d=e("moment"),c=e("lodash"),p="",h="/ghost/api/v0.1";t.exports.setConfig=n,t.exports.urlJoin=s,t.exports.urlFor=u,t.exports.urlPathForPost=a,t.exports.apiUrl=l,t.exports.getBaseUrl=o},{lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js",moment:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/moment/moment.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/asset_url.js":[function(e,t,r){"use strict";function n(e,t,r){var n="";return n+=e.match(/^favicon\.ico$/)?o.url+"/":o.activeTheme.url+"/",e.match(/^favicon\.ico$/)||e.match(/^shared/)||e.match(/^asset/)||(n+=t?"ghost/":"assets/"),e=e.replace(/^\//,""),r&&(e=e.replace(/\.([^\.]*)$/,".min.$1")),n+=e,e.match(/^favicon\.ico$/)||(n=n+"?v="+o.assetHash),n}var o=e("../../config");t.exports=n},{"../../config":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/config/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/author_image.js":[function(e,t,r){"use strict";function n(e,t){var r=e.context?e.context[0]:null,n=o.theme,s=e[r]||n;return"post"===r&&s.author&&s.author.image?o.urlFor("image",{image:s.author.image},t):null}var o=e("../../config");t.exports=n},{"../../config":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/config/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/author_url.js":[function(e,t,r){"use strict";function n(e,t){var r=e.context?e.context[0]:null;return e.author?o.urlFor("author",{author:e.author},t):e[r]&&e[r].author?o.urlFor("author",{author:e[r].author},t):null}var o=e("../../config");t.exports=n},{"../../config":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/config/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/canonical_url.js":[function(e,t,r){"use strict";function n(e){var t;return t="author"===e.context?e.author:"tag"===e.context?e.tag:e,o.urlJoin(o.getBaseUrl(!1),s(t,!1))}var o=e("../../config"),s=e("./url");t.exports=n},{"../../config":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/config/index.js","./url":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/url.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/cover_image.js":[function(e,t,r){"use strict";function n(e){var t=e.context?e.context[0]:null,r=o.theme,n=e[t]||r;if("home"===t||"author"===t){if(n.cover)return o.urlFor("image",{image:n.cover},!0)}else if(n.image)return o.urlFor("image",{image:n.image},!0);return null}var o=e("../../config");t.exports=n},{"../../config":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/config/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/description.js":[function(e,t,r){"use strict";function n(e,t){var r="",n=t?t.context:null;return e.meta_description?r=e.meta_description:o.includes(n,"paged")?r="":o.includes(n,"home")?r=s.theme.description:o.includes(n,"author")&&e.author?r=e.author.meta_description||e.author.bio:o.includes(n,"tag")&&e.tag?r=e.tag.meta_description||e.tag.description:(o.includes(n,"post")||o.includes(n,"page"))&&e.post&&(r=e.post.meta_description),(r||"").trim()}var o=e("lodash"),s=e("../../config");t.exports=n},{"../../config":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/config/index.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/excerpt.js":[function(e,t,r){"use strict";function n(e,t){t=t||{};var r=e.replace(/.*?<\/a>/gi,"");r=r.replace(/
      .*?<\/ol><\/div>/,""),r=r.replace(/<\/?[^>]+>/gi,""),r=r.replace(/(\r\n|\n|\r)+/gm," "),t.words||t.characters||(t.words=50);var n=o(r,t);return!t.characters&&n.length>7*t.words&&(t.characters=7*t.words,delete t.words,n=o(r,t)),o(r,t)}var o=e("downsize");t.exports=n},{downsize:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/downsize/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/index.js":[function(e,t,r){"use strict";function n(e,t){var r,n=o.theme;return r={url:s(e,!0),canonicalUrl:i(e),previousUrl:a(e,!0),nextUrl:u(e,!0),authorUrl:l(e,!0),rssUrl:d(e,!0),metaTitle:c(e,t),metaDescription:p(e,t),coverImage:h(e,!0),authorImage:f(e,!0),keywords:m(e),publishedDate:b(e),modifiedDate:v(e),ogType:_(e),blog:n},e.post&&e.post.html&&(r.excerpt=$(e.post.html,{words:50})),r.structuredData=g(r),r.schema=y(r,e),r}var o=e("../../config"),s=e("./url"),i=e("./canonical_url"),a=e("./previous_url"),u=e("./next_url"),l=e("./author_url"),d=e("./rss_url"),c=e("./title"),p=e("./description"),h=e("./cover_image"),f=e("./author_image"),m=e("./keywords"),b=e("./published_date"),v=e("./modified_date"),_=e("./og_type"),g=e("./structured_data"),y=e("./schema"),$=e("./excerpt");t.exports=n},{"../../config":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/config/index.js","./author_image":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/author_image.js","./author_url":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/author_url.js","./canonical_url":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/canonical_url.js","./cover_image":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/cover_image.js","./description":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/description.js","./excerpt":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/excerpt.js","./keywords":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/keywords.js","./modified_date":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/modified_date.js","./next_url":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/next_url.js","./og_type":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/og_type.js","./previous_url":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/previous_url.js","./published_date":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/published_date.js","./rss_url":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/rss_url.js","./schema":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/schema.js","./structured_data":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/structured_data.js","./title":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/title.js","./url":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/url.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/keywords.js":[function(e,t,r){"use strict";function n(e){return e.post&&e.post.tags&&e.post.tags.length>0?e.post.tags.map(function(e){return e.name}):null}t.exports=n},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/modified_date.js":[function(e,t,r){"use strict";function n(e){var t,r=e.context?e.context[0]:null;return e[r]&&(t=e[r].updated_at||null)?new Date(t).toISOString():null}t.exports=n},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/next_url.js":[function(e,t,r){"use strict";function n(e,t){var r,n;return e.relativeUrl&&(r=e.relativeUrl.match(s),e.pagination&&e.pagination.next)?(n="/page/"+e.pagination.next+"/",r?n=r+n:i.test(e.relativeUrl)&&(n=e.relativeUrl.slice(0,-1)+n),o.urlFor({relativeUrl:n,secure:e.secure},t)):null}var o=e("../../config"),s=/.+(?=\/page\/\d*\/)/,i=/\/(tag)|(author)\//;t.exports=n},{"../../config":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/config/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/og_type.js":[function(e,t,r){"use strict";function n(e){var t=e.context?e.context[0]:null;return"author"===t?"profile":"post"===t?"article":"website"}t.exports=n},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/previous_url.js":[function(e,t,r){"use strict";function n(e,t){var r,n;return e.relativeUrl&&(r=e.relativeUrl.match(s),e.pagination&&e.pagination.prev)?(n=e.pagination.prev>1?"/page/"+e.pagination.prev+"/":"/",n=r?r+n:n,o.urlFor({relativeUrl:n,secure:e.secure},t)):null}var o=e("../../config"),s=/.+(?=\/page\/\d*\/)/;t.exports=n},{"../../config":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/config/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/published_date.js":[function(e,t,r){"use strict";function n(e){var t,r=e.context?e.context[0]:null;return e[r]&&(t=e[r].published_at||e[r].created_at||null)?new Date(t).toISOString():null}t.exports=n},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/rss_url.js":[function(e,t,r){"use strict";function n(e,t){return o.urlFor("rss",{secure:e.secure},t)}var o=e("../../config");t.exports=n},{"../../config":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/config/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/schema.js":[function(e,t,r){"use strict";function n(e){var t={};return h.each(e,function(e,r){null!==e&&"undefined"!=typeof e&&(t[r]=e)}),t}function o(e,t){var r,o=e.metaDescription?p(e.metaDescription):e.excerpt?p(e.excerpt):null;return r={"@context":"http://schema.org","@type":"Article",publisher:e.blog.title,author:{"@type":"Person",name:p(t.post.author.name),image:e.authorImage,url:e.authorUrl,sameAs:t.post.author.website||null,description:t.post.author.bio?p(t.post.author.bio):null},headline:p(e.metaTitle),url:e.url,datePublished:e.publishedDate,dateModified:e.modifiedDate,image:e.coverImage,keywords:e.keywords&&e.keywords.length>0?e.keywords.join(", "):null,description:o},r.author=n(r.author),n(r)}function s(e){var t={"@context":"http://schema.org","@type":"Website",publisher:p(e.blog.title),url:e.url,image:e.coverImage,description:e.metaDescription?p(e.metaDescription):null};return n(t)}function i(e,t){var r={"@context":"http://schema.org","@type":"Series",publisher:p(e.blog.title),url:e.url,image:e.coverImage,name:t.tag.name,description:e.metaDescription?p(e.metaDescription):null};return n(r)}function a(e,t){var r={"@context":"http://schema.org","@type":"Person",sameAs:t.author.website||null,publisher:p(e.blog.title),name:p(t.author.name),url:e.authorUrl,image:e.coverImage,description:e.metaDescription?p(e.metaDescription):null};return n(r)}function u(e,t){if(!l.isPrivacyDisabled("useStructuredData")){var r=t.context?t.context[0]:null;if("post"===r)return o(e,t);if("home"===r)return s(e);if("tag"===r)return i(e,t);if("author"===r)return a(e,t)}return null}var l=e("../../config"),d=e("handlebars"),c={handlebars:d},p=c.handlebars.Utils.escapeExpression,h=e("lodash");t.exports=u},{"../../config":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/config/index.js",handlebars:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/lib/index.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/structured_data.js":[function(e,t,r){"use strict";function n(e){var t,r="summary";return e.coverImage&&(r="summary_large_image"),t={"og:site_name":e.blog.title,"og:type":e.ogType,"og:title":e.metaTitle,"og:description":e.metaDescription||e.excerpt,"og:url":e.canonicalUrl,"og:image":e.coverImage,"article:published_time":e.publishedDate,"article:modified_time":e.modifiedDate,"article:tag":e.keywords,"twitter:card":r,"twitter:title":e.metaTitle,"twitter:description":e.metaDescription||e.excerpt,"twitter:url":e.canonicalUrl,"twitter:image:src":e.coverImage},Object.keys(t).reduce(function(e,r){var n=t[r];return null!==n&&"undefined"!=typeof n&&(e[r]=n),e},{})}t.exports=n},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/title.js":[function(e,t,r){"use strict";function n(e,t){var r="",n=t?t.context:null,i=s.theme,a=t?t.pagination:null,u="";return a&&a.total>1&&(u=" - Page "+a.page),r=e.meta_title?e.meta_title:o.includes(n,"home")?i.title:o.includes(n,"author")&&e.author?e.author.name+u+" - "+i.title:o.includes(n,"tag")&&e.tag?e.tag.meta_title||e.tag.name+u+" - "+i.title:(o.includes(n,"post")||o.includes(n,"page"))&&e.post?e.post.meta_title||e.post.title:i.title+u,(r||"").trim()}var o=e("lodash"),s=e("../../config");t.exports=n},{"../../config":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/config/index.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/url.js":[function(e,t,r){"use strict";function n(e,t){return o.isPost(e)?s.urlFor("post",{post:e,secure:e.secure},t):o.isTag(e)?s.urlFor("tag",{tag:e,secure:e.secure},t):o.isUser(e)?s.urlFor("author",{author:e,secure:e.secure},t):o.isNav(e)?s.urlFor("nav",{nav:e,secure:e.secure},t):s.urlFor(e,{},t)}var o=e("../schema").checks,s=e("../../config");t.exports=n},{"../../config":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/config/index.js","../schema":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/schema/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/schema/checks.js":[function(e,t,r){"use strict";function n(e){return e.hasOwnProperty("html")&&e.hasOwnProperty("title")&&"post"===e.type}function o(e){return e.hasOwnProperty("name")&&e.hasOwnProperty("slug")&&e.hasOwnProperty("description")}function s(e){return e.hasOwnProperty("bio")&&e.hasOwnProperty("website")&&e.hasOwnProperty("status")&&e.hasOwnProperty("location")}function i(e){return e.hasOwnProperty("label")&&e.hasOwnProperty("url")&&e.hasOwnProperty("slug")&&e.hasOwnProperty("current")}t.exports={isPost:n,isTag:o,isUser:s,isNav:i}},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/schema/index.js":[function(e,t,r){"use strict";var n=e("./checks");t.exports.checks=n},{"./checks":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/schema/checks.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/asset.js":[function(e,t,r){"use strict";function n(e,t){var r=!1,n=!1;return new i.handlebars.SafeString(o(e,r,n))}var o=e("../data/meta/asset_url"),s=e("handlebars"),i={handlebars:s};t.exports=n},{"../data/meta/asset_url":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/asset_url.js",handlebars:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/lib/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/author.js":[function(e,t,r){"use strict";var n,o=e("handlebars"),s={handlebars:o},i=e("lodash"),a=e("../config"),u=e("./utils");n=function(e,t){if(i.isUndefined(t)&&(t=e),t.fn)return s.handlebars.helpers["with"].call(this,this.author,t);var r=!i.isString(t.hash.autolink)||"false"!==t.hash.autolink,n="";return this.author&&this.author.name&&(n=r?u.linkTemplate({url:a.urlFor("author",{author:this.author}),text:i.escape(this.author.name)}):i.escape(this.author.name)),new s.handlebars.SafeString(n)},t.exports=n},{"../config":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/config/index.js","./utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/utils.js",handlebars:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/lib/index.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/body_class.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}var o,s=e("../config"),i=n(s),a=e("handlebars"),u={handlebars:a},l=e("lodash"),d=e("./frontend_templates");o=function(e){var t,r=[],n=e.data.root.context,o=this.post,s=this.post&&this.post.tags?this.post.tags:this.tags||[],a=this.post&&this.post.page?this.post.page:this.page||!1,c=i["default"].activeTheme.name;return o&&r.push("post-template"),l.includes(n,"home")?r.push("home-template"):l.includes(n,"page")&&a?(r.push("page-template"),r.push("page")):l.includes(n,"tag")&&this.tag?(r.push("tag-template"),r.push("tag-"+this.tag.slug)):l.includes(n,"author")&&this.author?(r.push("author-template"),r.push("author-"+this.author.slug)):l.includes(n,"private")&&r.push("private-template"),s&&(r=r.concat(s.map(function(e){return"tag-"+e.slug}))),l.includes(n,"paged")&&(r.push("paged"),r.push("archive-template")),o&&a&&(t=d.single(c,o).split("-"),"page"===t[0]&&t.length>1&&(r.push(t.join("-")),t.splice(1,0,"template"),r.push(t.join("-")))),r=l.reduce(r,function(e,t){return e+" "+t},""),new u.handlebars.SafeString(r.trim())},t.exports=o},{"../config":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/config/index.js","./frontend_templates":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/frontend_templates.js",handlebars:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/lib/index.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/content.js":[function(e,t,r){"use strict";var n,o=e("handlebars"),s={handlebars:o},i=e("lodash"),a=e("downsize"),u=e("../utils/downzero");n=function(e){var t=(e||{}).hash||{};return t=i.pick(t,["words","characters"]),i.keys(t).map(function(e){t[e]=parseInt(t[e],10)}),t.hasOwnProperty("words")||t.hasOwnProperty("characters")?t.hasOwnProperty("words")&&0===t.words?new s.handlebars.SafeString(u(this.html)):new s.handlebars.SafeString(a(this.html,t)):new s.handlebars.SafeString(this.html)},t.exports=n},{"../utils/downzero":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/utils/downzero.js",downsize:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/downsize/index.js",handlebars:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/lib/index.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/date.js":[function(e,t,r){"use strict";var n,o=e("moment");n=function(e,t){!t&&e.hasOwnProperty("hash")&&(t=e,e=void 0,this.published_at&&(e=this.published_at)),e=null===e?void 0:e;var r,n=t.hash.format||"MMM Do, YYYY",s=t.hash.timeago;return r=s?o(e).fromNow():o(e).format(n)},t.exports=n},{moment:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/moment/moment.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/encode.js":[function(e,t,r){"use strict";var n,o=e("handlebars"),s={handlebars:o};n=function(e,t){var r=e||t;return new s.handlebars.SafeString(encodeURIComponent(r))},t.exports=n},{handlebars:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/lib/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/excerpt.js":[function(e,t,r){"use strict";function n(e){var t=(e||{}).hash||{};return t=i.pick(t,["words","characters"]),i.keys(t).map(function(e){t[e]=parseInt(t[e],10)}),new s.handlebars.SafeString(a(String(this.html),t))}var o=e("handlebars"),s={handlebars:o},i=e("lodash"),a=e("../data/meta/excerpt");t.exports=n},{"../data/meta/excerpt":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/excerpt.js",handlebars:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/lib/index.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/foreach.js":[function(e,t,r){"use strict";var n,o=e("handlebars"),s={handlebars:o},i=e("lodash"),a=s.handlebars.Utils;n=function(e,t){function r(t,r,n){o&&(o.key=t,o.index=r,o.number=r+1,o.first=r===f-1,o.last=!!n,o.even=r%2===1,o.odd=!o.even,o.rowStart=r%c===0,o.rowEnd=r%c===c-1,u&&(o.contextPath=u+t)),b+=l(e[t],{data:o,blockParams:a.blockParams([e[t],t],[u+t,null])})}function n(e){var t=1,n=1;i.each(e,function(e,o){return f>n?void(n+=1):(m>=n&&r(o,n-1,n===m),t+=1,void(n+=1))})}t||console.error("Helpers foreach needs an iterator");var o,u,l=t.fn,d=t.inverse,c=t.hash.columns,p=i.size(e),h=parseInt(t.hash.limit,10)||p,f=parseInt(t.hash.from,10)||1,m=parseInt(t.hash.to,10)||f-1+h,b="";return t.data&&t.ids&&(u=a.appendContextPath(t.data.contextPath,t.ids[0])+"."),a.isFunction(e)&&(e=e.call(this)),t.data&&(o=s.handlebars.createFrame(t.data)),e&&"object"==typeof e&&n(e),0===p&&(b=d(this)),b},t.exports=n},{handlebars:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/lib/index.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/frontend_templates.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){return l["default"].activeTheme.url}function s(e){var t=["post"],r="post";return e.page&&(t.unshift("page"),r="page"),t.unshift(r+"-"+e.slug),t}function i(e,t){var r=_.find(t,function(t){return e.hasOwnProperty(t+".hbs")});return r||(r=t[t.length-1]),r}function a(e,t){return i(o(e),s(t))}var u=e("../config"),l=n(u);t.exports={single:a}},{"../config":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/config/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/ghost_foot.js":[function(e,t,r){"use strict";var n,o=e("handlebars"),s=e("lodash"),i=e("./utils");n=function(e){var t=[];t.push(i.scriptTemplate({source:"//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js",version:""})),t.push(i.scriptTemplate({source:"//cdnjs.cloudflare.com/ajax/libs/moment.js/2.9.0/moment-with-locales.min.js",version:""})),t.push(i.scriptTemplate({source:"//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js",version:""})),t.push("\n \n ");var r=s.reduce(t,function(e,t){return e+" "+t},"");return new o.SafeString(r.trim())},t.exports=n},{"./utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/utils.js",handlebars:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/lib/index.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/ghost_head.js":[function(e,t,r){"use strict";function n(e,t,r){return r=r||"twitter"===e.substring(0,7)?"name":"property","'}function o(e){var t=[];return c.each(e.structuredData,function(r,o){"article:tag"===o?(c.each(e.keywords,function(e){""!==e&&(e=l(e),t.push(n(o,l(e))))}),t.push("")):null!==r&&void 0!==r&&t.push(n(o,l(r)))}),t}function s(e){if(console.warn("Check ghost_head options",e,this.statusCode,this.context),!(this.statusCode>=400)){var t=i(this,e.data.root),r=[],n=this.context?Array.isArray(this.context)?this.context[0]:this.context:null,s=!p.isPrivacyDisabled("useStructuredData");return this.safeVersion,n&&(r.push(''),r.push(''),t.previousUrl&&r.push(''),t.nextUrl&&r.push(''),"paged"!==n&&"page"!==n&&s&&(r.push(""),r.push.apply(r,o(t)),r.push(""),r.push('\n"))),r.push(''),r.push(''),new d(r.join("\n ").trim())}}var i=e("../data/meta"),a=e("handlebars"),u={handlebars:a},l=u.handlebars.Utils.escapeExpression,d=u.handlebars.SafeString,c=e("lodash"),p=e("../config");t.exports=s},{"../config":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/config/index.js","../data/meta":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/index.js",handlebars:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/lib/index.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/has.js":[function(e,t,r){"use strict";var n,o=e("lodash");n=function(e){function t(e,t){return e.split(",").map(function(e){return e.trim()}).reduce(function(e,r){return e||-1!==o.findIndex(t,function(e){return e=e.replace(/[\-\/\\\^$*+?.()|\[\]{}]/g,"\\$&"),e=new RegExp("^"+e+"$","i"),e.test(r)})},!1)}function r(e,t){var r=e.split(",").map(function(e){return e.trim().toLocaleLowerCase()});return o.includes(r,t.toLocaleLowerCase())}e=e||{},e.hash=e.hash||{};var n,s,i=o.map(this.tags,"name"),a=this.author?this.author.name:null,u=e.hash.tag||!1,l=e.hash.author||!1;return u||l?(n=u&&t(u,i)||!1,s=l&&r(l,a)||!1,n||s?e.fn(this):e.inverse(this)):void console.warn("Helpers has has invalid attribute")},t.exports=n},{lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/image.js":[function(e,t,r){"use strict";var n,o=e("../config");n=function(e){var t=e&&e.hash.absolute;return this.image?o.urlFor("image",{image:this.image},t):void 0},t.exports=n},{"../config":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/config/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/index.js":[function(e,t,r){"use strict";function n(e,t){i.handlebars.registerHelper(e,t)}var o,s=e("handlebars"),i={handlebars:s},a=e("./utils"),u={};a.isProduction||(i.handlebars.logger.level=0),u.asset=e("./asset"),u.author=e("./author"),u.body_class=e("./body_class"),u.content=e("./content"),u.date=e("./date"),u.encode=e("./encode"),u.excerpt=e("./excerpt"),u.foreach=e("./foreach"),u.ghost_foot=e("./ghost_foot"),u.ghost_head=e("./ghost_head"),u.image=e("./image"),u.is=e("./is"),u.has=e("./has"),u.meta_description=e("./meta_description"),u.meta_title=e("./meta_title"),u.navigation=e("./navigation"),u.pagination=e("./pagination"),u.plural=e("./plural"),u.post_class=e("./post_class"),u.tags=e("./tags"),u.title=e("./title"),u.url=e("./url"),u.page_url=e("./page_url"),u.pageUrl=e("./page_url").deprecated,u.helperMissing=function(e){2!==arguments.length&&console.error("warnings.helpers.index.missingHelper",e)},o=function(e){n("asset",u.asset),n("author",u.author),n("body_class",u.body_class),n("content",u.content),n("date",u.date),n("encode",u.encode),n("excerpt",u.excerpt),n("foreach",u.foreach),n("has",u.has),n("is",u.is),n("image",u.image),n("input_password",u.input_password),n("meta_description",u.meta_description),n("meta_title",u.meta_title),n("navigation",u.navigation),n("page_url",u.page_url),n("pageUrl",u.pageUrl),n("pagination",u.pagination),n("plural",u.plural),n("post_class",u.post_class),n("tags",u.tags),n("title",u.title),n("url",u.url),n("ghost_foot",u.ghost_foot),n("ghost_head",u.ghost_head),n("next_post",u.next_post),n("prev_post",u.prev_post)},t.exports=u,t.exports.loadCoreHelpers=o,t.exports.registerThemeHelper=n},{"./asset":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/asset.js","./author":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/author.js","./body_class":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/body_class.js","./content":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/content.js","./date":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/date.js","./encode":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/encode.js","./excerpt":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/excerpt.js","./foreach":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/foreach.js", -"./ghost_foot":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/ghost_foot.js","./ghost_head":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/ghost_head.js","./has":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/has.js","./image":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/image.js","./is":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/is.js","./meta_description":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/meta_description.js","./meta_title":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/meta_title.js","./navigation":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/navigation.js","./page_url":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/page_url.js","./pagination":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/pagination.js","./plural":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/plural.js","./post_class":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/post_class.js","./tags":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/tags.js","./title":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/title.js","./url":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/url.js","./utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/utils.js",handlebars:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/lib/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/is.js":[function(e,t,r){"use strict";var n,o=e("lodash");n=function(e,t){function r(e){return e.split(",").map(function(e){return e.trim()}).reduce(function(e,t){return e||o.includes(n,t)},!1)}t=t||{};var n=t.data.root.context;return o.isString(e)||console.warn("Helpers is has an invalid attribute"),r(e)?t.fn(this):t.inverse(this)},t.exports=n},{lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/meta_description.js":[function(e,t,r){"use strict";function n(e){return e=e||{data:{}},o(this,e.data.root)||""}var o=e("../data/meta/description");t.exports=n},{"../data/meta/description":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/description.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/meta_title.js":[function(e,t,r){"use strict";function n(e){return e=e||{data:{}},o(this,e.data.root)}var o=e("../data/meta/title");t.exports=n},{"../data/meta/title":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/title.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/navigation.js":[function(e,t,r){"use strict";function n(e){throw console.log(e),new Error(e)}var o,s=e("lodash"),i=e("handlebars"),a={handlebars:i},u=e("./template");o=function(e){function t(e){return e.toLowerCase().replace(/[^\w ]+/g,"").replace(/ +/g,"-")}function r(e,t){var r=e.replace(/\/+$/,""),n=t.replace(/\/+$/,"");return r===n}var o,i,l=e.data.blog.navigation,d=e.data.root.relativeUrl,c=this;return!s.isObject(l)||s.isFunction(l)?n("warnings.helpers.navigation.invalidData"):l.filter(function(e){return s.isUndefined(e.label)||s.isUndefined(e.url)}).length>0?n("warnings.helpers.navigation.valuesMustBeDefined"):l.filter(function(e){return!s.isNull(e.label)&&!s.isString(e.label)||!s.isNull(e.url)&&!s.isString(e.url)}).length>0?n("warnings.helpers.navigation.valuesMustBeString"):0===l.length?new a.handlebars.SafeString(""):(o=l.map(function(e){var n={};return n.current=r(e.url,d),n.label=e.label,n.slug=t(e.label),n.url=a.handlebars.Utils.escapeExpression(e.url),n.secure=c.secure,n}),i=s.merge({},{navigation:o}),u.execute("navigation",i,e))},t.exports=o},{"./template":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/template.js",handlebars:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/lib/index.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/page_url.js":[function(e,t,r){"use strict";var n,o,s=e("../config");n=function(e,t){var r=s.url+s.paths.subdir;return void 0!==this.tagSlug&&(r+="/"+s.routeKeywords.tag+"/"+this.tagSlug),void 0!==this.authorSlug&&(r+="/"+s.routeKeywords.author+"/"+this.authorSlug),e>1&&(r+="/"+s.routeKeywords.page+"/"+e),r+="/"},o=function(e,t){console.warn("warnings.helpers.page_url.isDeprecated");var r=this;return n.call(r,e,t)},t.exports=n,t.exports.deprecated=o},{"../config":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/config/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/pagination.js":[function(e,t,r){"use strict";function n(e){throw console.log(e),new Error(e)}var o,s=e("lodash"),i=e("./template");o=function(e){if(!s.isObject(this.pagination)||s.isFunction(this.pagination))return n("warnings.helpers.pagination.invalidData");if(s.isUndefined(this.pagination.page)||s.isUndefined(this.pagination.pages)||s.isUndefined(this.pagination.total)||s.isUndefined(this.pagination.limit))return n("warnings.helpers.pagination.valuesMustBeDefined");if(!s.isNull(this.pagination.next)&&!s.isNumber(this.pagination.next)||!s.isNull(this.pagination.prev)&&!s.isNumber(this.pagination.prev))return n("warnings.helpers.pagination.nextPrevValuesMustBeNumeric");if(!(s.isNumber(this.pagination.page)&&s.isNumber(this.pagination.pages)&&s.isNumber(this.pagination.total)&&s.isNumber(this.pagination.limit)))return n("warnings.helpers.pagination.valuesMustBeNumeric");var t=s.merge({},this.pagination);return void 0!==this.tag&&(t.tagSlug=this.tag.slug),void 0!==this.author&&(t.authorSlug=this.author.slug),i.execute("pagination",t,e)},t.exports=o},{"./template":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/template.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/plural.js":[function(e,t,r){"use strict";function n(e){throw console.log(e),new Error(e)}var o,s=e("handlebars"),i={handlebars:s},a=e("lodash");o=function(e,t){return a.isUndefined(t.hash)||a.isUndefined(t.hash.empty)||a.isUndefined(t.hash.singular)||a.isUndefined(t.hash.plural)?n("warnings.helpers.plural.valuesMustBeDefined"):0===e?new i.handlebars.SafeString(t.hash.empty.replace("%",e)):1===e?new i.handlebars.SafeString(t.hash.singular.replace("%",e)):e>=2?new i.handlebars.SafeString(t.hash.plural.replace("%",e)):void 0},t.exports=o},{handlebars:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/lib/index.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/post_class.js":[function(e,t,r){"use strict";var n,o=e("handlebars"),s={handlebars:o},i=e("lodash");n=function(e){var t=["post"],r=this.post&&this.post.tags?this.post.tags:this.tags||[],n=this.post&&this.post.featured?this.post.featured:this.featured||!1,o=this.post&&this.post.page?this.post.page:this.page||!1;return r&&(t=t.concat(r.map(function(e){return"tag-"+e.slug}))),n&&t.push("featured"),o&&t.push("page"),t=i.reduce(t,function(e,t){return e+" "+t},""),new s.handlebars.SafeString(t.trim())},t.exports=n},{handlebars:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/lib/index.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/tags.js":[function(e,t,r){"use strict";var n,o=e("handlebars"),s={handlebars:o},i=e("lodash"),a=e("../config"),u=e("./utils");n=function(e){function t(e){return r?i.map(e,function(e){return u.linkTemplate({url:a.urlFor("tag",{tag:e}),text:i.escape(e.name)})}):i(e).map("name").each(i.escape)}e=e||{},e.hash=e.hash||{};var r=!(i.isString(e.hash.autolink)&&"false"===e.hash.autolink),n=i.isString(e.hash.separator)?e.hash.separator:", ",o=i.isString(e.hash.prefix)?e.hash.prefix:"",l=i.isString(e.hash.suffix)?e.hash.suffix:"",d=e.hash.limit?parseInt(e.hash.limit,10):void 0,c=e.hash.from?parseInt(e.hash.from,10):1,p=e.hash.to?parseInt(e.hash.to,10):void 0,h="";return this.tags&&this.tags.length&&(h=t(this.tags),c-=1,p=p||d+c||this.tags.length,h=o+h.slice(c,p).join(n)+l),new s.handlebars.SafeString(h)},t.exports=n},{"../config":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/config/index.js","./utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/utils.js",handlebars:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/lib/index.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/template.js":[function(e,t,r){"use strict";function n(e){throw console.log(e),new Error(e)}var o={},s=e("handlebars"),i={handlebars:s};o.execute=function(e,t,r){var o=i.handlebars.partials[e];return void 0===o?void n("warnings.helpers.template.templateNotFound"+e):("string"==typeof o&&(o=s.compile(o)),new i.handlebars.SafeString(o(t,r)))},t.exports=o},{handlebars:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/lib/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/title.js":[function(e,t,r){"use strict";var n,o=e("handlebars"),s={handlebars:o};n=function(){return new s.handlebars.SafeString(s.handlebars.Utils.escapeExpression(this.title||""))},t.exports=n},{handlebars:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/lib/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/url.js":[function(e,t,r){"use strict";function n(e){var t=e&&e.hash.absolute;return o(this,t)}var o=e("../data/meta/url");t.exports=n},{"../data/meta/url":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/data/meta/url.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/helpers/utils.js":[function(e,t,r){(function(r){"use strict";var n,o=e("lodash");n={assetTemplate:o.template("<%= source %>?v=<%= version %>"),linkTemplate:o.template('<%= text %>'),scriptTemplate:o.template(''),stylesheetTemplate:o.template(''),inputTemplate:o.template(' />'),isProduction:"production"===r.env.NODE_ENV},t.exports=n}).call(this,e("_process"))},{_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/indexGenerator.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){return i["default"].generate({opts:e,posts:e.data.publishedPosts,template:"index",path:""})}Object.defineProperty(r,"__esModule",{value:!0}),r.generateIndex=o;var s=e("./paginationGenerator"),i=n(s)},{"./paginationGenerator":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/paginationGenerator.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/paginationGenerator.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(r,"__esModule",{value:!0});var s=function(){function e(e,t){for(var r=0;r1&&(s=(e.path||"")+("page/"+o+"/index.html")),o>1&&(m=o-1),b>o&&(f=o+1);var v=void 0;r.tags&&(v=a["default"].map(r.tags,function(e){return{name:e,slug:(0,c["default"])(e),description:null}}));var _={id:r.author.id,name:r.author.name||r.author.login,location:r.author.location,website:r.author.blog,image:r.author.avatar_url,slug:r.author.login};if(i.push({image:r.image,title:r.title,url:n.url+r.url,excerpt:r.excerpt,html:r.excerpt,tags:v,published_at:r.published_at,relativeUrl:n.url+r.url,author:_}),Math.floor((h+1)/d)>o-1||h+1===t.length){var g=l["default"].template(e.template,{pagination:{prev:m,next:f,page:o,pages:b,total:t.length,limit:d},context:"index"===e.template&&0===m?"home":e.template,posts:i,tag:e.tag,author:e.author,title:n.title,description:n.description,socialnetwork:p,relativeUrl:""},a["default"].pick(e.opts.data,["config","theme"]));u.push({name:"page-"+o,path:s,content:g,message:"Publish page-"+o+" "+e.template}),i=[],o++}});var v=(e.opts.data.elementsToPublish||[]).concat(u),_=Object.assign({},e.opts.data,{elementsToPublish:v});return Object.assign({},e.opts,{data:_})}}]),e}();r["default"]=new p,t.exports=r["default"]},{"./builder":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/builder.js","hubpress-core-slugify":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/hubpress-core-slugify/lib/slugify.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/postGenerator.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){console.info("PostGenerator - generate"),console.log("PostGenerator - generate",e);var r=t,n=Object.assign({},r.original);n.tags=i["default"].map(n.tags,function(e){return{name:e,slug:(0,d["default"])(e)}});var o=n.author;n.author={id:o.id,name:o.name||o.login,location:o.location,website:o.blog,image:o.avatar_url,bio:o.bio,status:"",slug:o.login};var s=e.data.config,a=s.urls;({name:e.data.theme.name,version:e.data.theme.version,url:s.urls.theme}),n.urls=a,n.status="published";var l=u["default"].template("post",{context:"post",socialnetwork:s.socialnetwork,relativeUrl:r.url,post:n,author:n.author},i["default"].pick(e.data,["config","theme"])),c=[];c.push({title:r.title,image:r.image,name:r.name,path:s.urls.getPostGhPath(r.name),url:s.urls.getPostGhPath(r.name),content:l,message:"Publish "+r.name,published_at:r.published_at});var p=(e.data.elementsToPublish||[]).concat(c),h=Object.assign({},e.data,{elementsToPublish:p});return Object.assign({},e,{data:h})}Object.defineProperty(r,"__esModule",{value:!0}),r.generatePost=o;var s=e("lodash"),i=n(s),a=e("./builder"),u=n(a),l=e("hubpress-core-slugify"),d=n(l)},{"./builder":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/builder.js","hubpress-core-slugify":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/hubpress-core-slugify/lib/slugify.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/postsGenerator.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){console.info("PostsGenerator - generate"),console.log("PostsGenerator - generate",e);var t=e;return e.data.publishedPosts.forEach(function(e){t=(0,a.generatePost)(t,e)}),t}Object.defineProperty(r,"__esModule",{value:!0}),r.generatePosts=o;var s=e("./paginationGenerator"),i=(n(s),e("./builder")),a=(n(i),e("./postGenerator"))},{"./builder":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/builder.js","./paginationGenerator":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/paginationGenerator.js","./postGenerator":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/postGenerator.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/tagsGenerator.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){console.info("TagsGenerator - generate"),console.log("TagsGenerator - generate",e);var t="tag",r=void 0;if(!d["default"].isTemplateAvailable(t))return e;if(e.data.post&&!e.data.post.tags&&!e.data.tags)return e;r=e.data.tags?e.data.publishedPosts.filter(function(t){return u["default"].intersection(e.data.tags,t.tags).length}):e.data.publishedPosts;var n=u["default"].reduce(r,function(t,r){if(!r.tags)return t;var n=u["default"].reduce(r.tags,function(t,r){var n=(0,p["default"])(r);return e.data.post&&e.data.post.tags&&-1===e.data.post.tags.indexOf(r)||t.push(n),t},[]);return u["default"].uniq(n).forEach(function(e){t[e]=t[e]||[],t[e].push(r)}),t},{}),o=e;return u["default"].each(n,function(e,r){var n={name:r,slug:(0,p["default"])(r),description:null};o=i["default"].generate({opts:o,posts:e,tag:n,template:t,path:"tag/"+r+"/"})}),o}Object.defineProperty(r,"__esModule",{value:!0}),r.generateTags=o;var s=e("./paginationGenerator"),i=n(s),a=e("lodash"),u=n(a),l=e("./builder"),d=n(l),c=e("hubpress-core-slugify"),p=n(c)},{"./builder":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/builder.js","./paginationGenerator":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/paginationGenerator.js","hubpress-core-slugify":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/hubpress-core-slugify/lib/slugify.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/templatePlugin.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var r=a["default"].defer(),n=[],o=t.urls.hubpress;return l["default"].get(o+"/themes/"+e+"/theme.json?dt="+Date.now()).end(function(t,s){if(t)return void r.reject(t);var i=s.body,u=i.version,d=c["default"].toPairs(i.files),p=!1,h=!1,f=!1;d.forEach(function(t){var r=a["default"].defer();n.push(r.promise),p=p||"pagination"===t[0],h=h||"nav"===t[0],f=f||"navigation"===t[0],l["default"].get(o+"/themes/"+e+"/"+t[1]+"?v="+u).end(function(e,n){return e?void r.reject(e):void r.resolve({name:t[0],path:t[1],content:n.text})})}),p||!function(){var e=a["default"].defer();n.push(e.promise),l["default"].get(o+"/hubpress/scripts/helpers/tpl/pagination.hbs").end(function(t,r){return t?void e.reject(t):void e.resolve({name:"pagination",path:"partials/pagination",content:r.text})})}(),h||!function(){var e=a["default"].defer();n.push(e.promise),l["default"].get(o+"/hubpress/scripts/helpers/tpl/nav.hbs").end(function(t,r){return t?void e.reject(t):void e.resolve({name:"nav",path:"partials/nav",content:r.text})})}(),f||!function(){var e=a["default"].defer();n.push(e.promise),l["default"].get(o+"/hubpress/scripts/helpers/tpl/navigation.hbs").end(function(t,r){return t?void e.reject(t):void e.resolve({name:"navigation",path:"partials/navigation",content:r.text})})}(),a["default"].all(n).then(function(e){r.resolve({version:u,files:e})})["catch"](function(e){console.log(e),r.reject(e)})}),r.promise}function s(e){e.on("requestTheme",function(e){console.log("Theme plugin",e);var t=e.data.config.theme.name.toLowerCase();return o(t,e.data.config).then(function(r){var n={name:t,files:r.files,version:r.version};_["default"].registerTheme(e.data.config,n),_["default"].registerFiles(n.files);var o=Object.assign({},n),s=Object.assign({},e.data,{theme:o});return Object.assign({},e,{data:s})})}),e.on("requestGenerateIndex",function(e){return console.info("Template Plugin - requestGenerateIndex"),console.log("requestGenerateIndex",e),(0,p.generateIndex)(e)}),e.on("requestGeneratePost",function(e){return console.info("Template Plugin - requestGeneratePost"),console.log("requestGeneratePost",e),(0,h.generatePost)(e,e.data.post)}),e.on("requestGeneratePosts",function(e){return console.info("Template Plugin - requestGeneratePosts"),console.log("requestGeneratePosts",e),(0,f.generatePosts)(e,e.data.post)}),e.on("requestGenerateTags",function(e){return console.info("Template Plugin - requestGenerateTags"),console.log("requestGenerateTags",e),(0,m.generateTags)(e,e.data.post)}),e.on("requestGenerateAuthors",function(e){return console.info("Template Plugin - requestGenerateAuthors"),console.log("requestGenerateAuthors",e),(0,b.generateAuthors)(e,e.data.post)})}Object.defineProperty(r,"__esModule",{value:!0}),r.templatePlugin=s;var i=e("q"),a=n(i),u=e("superagent"),l=n(u),d=e("lodash"),c=n(d),p=e("./indexGenerator"),h=e("./postGenerator"),f=e("./postsGenerator"),m=e("./tagsGenerator"),b=e("./authorsGenerator"),v=e("./builder"),_=n(v)},{"./authorsGenerator":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/authorsGenerator.js","./builder":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/builder.js","./indexGenerator":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/indexGenerator.js","./postGenerator":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/postGenerator.js","./postsGenerator":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/postsGenerator.js","./tagsGenerator":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/tagsGenerator.js",lodash:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js",q:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/q/q.js",superagent:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/superagent/lib/client.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/lib/utils/downzero.js":[function(e,t,r){"use strict";function n(e){var t=(e||"").match(/<\/*([a-z0-9\:\-\_]+)/i);return t?t[1]:null}function o(e){var t=n(e)?"":"";return t}function s(e){for(i=[],a="",u="",l="",d=0,c=0;c":if(d===p.tag_commenced){d=p.unitialized,l+=u,a=n(u),u.match(/<\s*\//)&&n(i[i.length-1])===a?i.pop():h.indexOf(a)<0&&!u.match(/\/\s*>$/)&&i.push(u),u="";continue}if(d===p.comment&&"--"===e.substring(c-2,c)){d=p.unitialized,l+=u,u="";continue}break;case"-":}if(!d)break}for(l+=u;i.length;)l+=o(i.pop());return l}var i,a,u,l,d,c,p={unitialized:0,tag_commenced:1,tag_string:-1,tag_string_single:-2,comment:-3},h=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];t.exports=s},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/downsize/index.js":[function(e,t,r){var n=e("xregexp").XRegExp;!function(e){"use strict";function r(e){var t=o(e);return t?"":""}function o(e){var t=(e||"").match(/<\/*([a-z0-9\:\-\_]+)/i);return t?t[1]:null}var s=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],i=["p","ul","ol","pre","blockquote","h1","h2","h3","h4","h5","h6"],a=function(e,t,a){function u(){var e=0;if(f.unitCount":if(h===w){if(h=$,b+=m,p=o(m),m.match(/<\s*\//)?o(d[d.length-1])===p&&d.pop():s.indexOf(p)<0&&!m.match(/\/\s*>$/)&&d.push(m),m="",!u()){l("");continue}}else if(h===P&&"--"===e.substring(c-2,c)&&(h=$,b+=m,m="",!u())){l("");continue}}if(h===$){if(u())break;l(e[c]),b+=e[c]}}for(b=b.trim(),g.append&&u()&&(b+=g.append),b+=m;d.length;)b+=r(d.pop());return b};return"undefined"!=typeof t&&t.exports?t.exports=a:void(e.downsize=a)}(this)},{xregexp:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/downsize/node_modules/xregexp/xregexp-all.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/downsize/node_modules/xregexp/xregexp-all.js":[function(e,t,r){var n;n=n||function(e){"use strict";function t(e,t,r){var n;for(n in c.prototype)c.prototype.hasOwnProperty(n)&&(e[n]=c.prototype[n]);return e.xregexp={captureNames:t,isNative:!!r},e}function n(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":"")}function o(e,r,o){if(!c.isRegExp(e))throw new TypeError("type RegExp expected");var s=m.replace.call(n(e)+(r||""),x,"");return o&&(s=m.replace.call(s,new RegExp("["+o+"]+","g"),"")),e=e.xregexp&&!e.xregexp.isNative?t(c(e.source,s),e.xregexp.captureNames?e.xregexp.captureNames.slice(0):null):t(new RegExp(e.source,s),null,!0)}function s(e,t){var r=e.length;if(Array.prototype.lastIndexOf)return e.lastIndexOf(t);for(;r--;)if(e[r]===t)return r;return-1}function i(e,t){return Object.prototype.toString.call(e).toLowerCase()==="[object "+t+"]"}function a(e){return e=e||{},"all"===e||e.all?e={natives:!0,extensibility:!0}:i(e,"string")&&(e=c.forEach(e,/[^\s,]+/,function(e){this[e]=!0},{})),e}function u(e,t,r,n){var o,s,i=_.length,a=null;j=!0;try{for(;i--;)if(s=_[i],("all"===s.scope||s.scope===r)&&(!s.trigger||s.trigger.call(n))&&(s.pattern.lastIndex=t,o=b.exec.call(s.pattern,e),o&&o.index===t)){a={output:s.handler.call(n,o,r),match:o};break}}catch(u){throw u}finally{j=!1}return a}function l(e){c.addToken=p[e?"on":"off"],f.extensibility=e}function d(e){RegExp.prototype.exec=(e?b:m).exec,RegExp.prototype.test=(e?b:m).test,String.prototype.match=(e?b:m).match,String.prototype.replace=(e?b:m).replace,String.prototype.split=(e?b:m).split,f.natives=e}var c,p,h,f={natives:!1,extensibility:!1},m={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},b={},v={},_=[],g="default",y="class",$={"default":/^(?:\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|c[A-Za-z]|[\s\S])|\(\?[:=!]|[?*+]\?|{\d+(?:,\d*)?}\??)/,"class":/^(?:\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|c[A-Za-z]|[\s\S]))/},w=/\$(?:{([\w$]+)}|(\d\d?|[\s\S]))/g,x=/([\s\S])(?=[\s\S]*\1)/g,E=/^(?:[?*+]|{\d+(?:,\d*)?})\??/,P=m.exec.call(/()??/,"")[1]===e,C=RegExp.prototype.sticky!==e,j=!1,T="gim"+(C?"y":"");return c=function(r,n){if(c.isRegExp(r)){if(n!==e)throw new TypeError("can't supply flags when constructing one RegExp from another");return o(r)}if(j)throw new Error("can't call the XRegExp constructor within token definition functions");var s,i,a,l=[],d=g,p={hasNamedCapture:!1,captureNames:[],hasFlag:function(e){return n.indexOf(e)>-1}},h=0;if(r=r===e?"":String(r),n=n===e?"":String(n),m.match.call(n,x))throw new SyntaxError("invalid duplicate regular expression flag");for(r=m.replace.call(r,/^\(\?([\w$]+)\)/,function(e,t){if(m.test.call(/[gy]/,t))throw new SyntaxError("can't use flag g or y in mode modifier");return n=m.replace.call(n+t,x,""),""}),c.forEach(n,/[\s\S]/,function(e){if(T.indexOf(e[0])<0)throw new SyntaxError("invalid regular expression flag "+e[0])});h"}else if(o)return"\\"+(+o+r);return e},d=[];if(!i(e,"array")||!e.length)throw new TypeError("patterns must be a nonempty array");for(s=0;s1&&s(r,"")>-1&&(i=new RegExp(this.source,m.replace.call(n(this),"g","")),m.replace.call(String(t).slice(r.index),i,function(){var t;for(t=1;tr.index&&(this.lastIndex=r.index)}return this.global||(this.lastIndex=a),r},b.test=function(e){return!!b.exec.call(this,e)},b.match=function(e){if(c.isRegExp(e)){if(e.global){var t=m.match.apply(this,arguments);return e.lastIndex=0,t}}else e=new RegExp(e);return b.exec.call(e,this)},b.replace=function(e,t){var r,n,o,a,u=c.isRegExp(e);return u?(e.xregexp&&(r=e.xregexp.captureNames),e.global||(a=e.lastIndex)):e+="",i(t,"function")?n=m.replace.call(String(this),e,function(){var n,o=arguments;if(r)for(o[0]=new String(o[0]),n=0;ne.length-3)throw new SyntaxError("backreference to undefined group "+t);return e[o]||""}throw new SyntaxError("invalid token "+t)})})),u&&(e.global?e.lastIndex=0:e.lastIndex=a),n},b.split=function(t,r){if(!c.isRegExp(t))return m.split.apply(this,arguments);var n,o=String(this),s=t.lastIndex,i=[],a=0;return r=(r===e?-1:r)>>>0,c.forEach(o,t,function(e){e.index+e[0].length>a&&(i.push(o.slice(a,e.index)),e.length>1&&e.indexr?i.slice(0,r):i},h=p.on,h(/\\([ABCE-RTUVXYZaeg-mopqyz]|c(?![A-Za-z])|u(?![\dA-Fa-f]{4})|x(?![\dA-Fa-f]{2}))/,function(e,t){if("B"===e[1]&&t===g)return e[0];throw new SyntaxError("invalid escape "+e[0])},{scope:"all"}),h(/\[(\^?)]/,function(e){return e[1]?"[\\s\\S]":"\\b\\B"}),h(/(?:\(\?#[^)]*\))+/,function(e){return m.test.call(E,e.input.slice(e.index+e[0].length))?"":"(?:)"}),h(/\\k<([\w$]+)>/,function(e){var t=isNaN(e[1])?s(this.captureNames,e[1])+1:+e[1],r=e.index+e[0].length;if(!t||t>this.captureNames.length)throw new SyntaxError("backreference to undefined group "+e[0]);return"\\"+t+(r===e.input.length||isNaN(e.input.charAt(r))?"":"(?:)")}),h(/(?:\s+|#.*)+/,function(e){return m.test.call(E,e.input.slice(e.index+e[0].length))?"":"(?:)"},{trigger:function(){return this.hasFlag("x")},customFlags:"x"}),h(/\./,function(){return"[\\s\\S]"},{trigger:function(){return this.hasFlag("s")},customFlags:"s"}),h(/\(\?P?<([\w$]+)>/,function(e){if(!isNaN(e[1]))throw new SyntaxError("can't use integer as capture name "+e[0]);return this.captureNames.push(e[1]),this.hasNamedCapture=!0,"("}),h(/\\(\d+)/,function(e,t){if(!(t===g&&/^[1-9]/.test(e[1])&&+e[1]<=this.captureNames.length)&&"0"!==e[1])throw new SyntaxError("can't use octal escape or backreference to undefined group "+e[0]);return e[0]},{scope:"all"}),h(/\((?!\?)/,function(){return this.hasFlag("n")?"(?:":(this.captureNames.push(null),"(")},{customFlags:"n"}),"undefined"!=typeof r&&(r.XRegExp=c),c}(),function(e){"use strict";function t(e){return e.replace(/[- _]+/g,"").toLowerCase()}function r(e){return e.replace(/\w{4}/g,"\\u$&")}function n(e){for(;e.length<4;)e="0"+e;return e}function o(e){return parseInt(e,16)}function s(e){return parseInt(e,10).toString(16)}function i(t){var r,i=[],a=-1;return e.forEach(t,/\\u(\w{4})(?:-\\u(\w{4}))?/,function(e){r=o(e[1]),r>a+1&&(i.push("\\u"+n(s(a+1))),r>a+2&&i.push("-\\u"+n(s(r-1)))),a=o(e[2]||e[1])}),a<65535&&(i.push("\\u"+n(s(a+1))),a<65534&&i.push("-\\uFFFF")),i.join("")}function a(e){return u["^"+e]||(u["^"+e]=i(u[e]))}var u={};e.install("extensibility"),e.addUnicodePackage=function(n,o){var s;if(!e.isInstalled("extensibility"))throw new Error("extensibility must be installed before adding Unicode packages");if(n)for(s in n)n.hasOwnProperty(s)&&(u[t(s)]=r(n[s]));if(o)for(s in o)o.hasOwnProperty(s)&&(u[t(o[s])]=u[t(s)])},e.addUnicodePackage({L:"0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE0370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05270531-055605590561-058705D0-05EA05F0-05F20620-064A066E066F0671-06D306D506E506E606EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA07F407F507FA0800-0815081A082408280840-085808A008A2-08AC0904-0939093D09500958-09610971-09770979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10CF10CF20D05-0D0C0D0E-0D100D12-0D3A0D3D0D4E0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E460E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EC60EDC-0EDF0F000F40-0F470F49-0F6C0F88-0F8C1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10A0-10C510C710CD10D0-10FA10FC-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317D717DC1820-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541AA71B05-1B331B45-1B4B1B83-1BA01BAE1BAF1BBA-1BE51C00-1C231C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF11CF51CF61D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209C21022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E218321842C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2CF22CF32D00-2D252D272D2D2D30-2D672D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2E2F300530063031-3035303B303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31BA31F0-31FF3400-4DB54E00-9FCCA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A66EA67F-A697A6A0-A6E5A717-A71FA722-A788A78B-A78EA790-A793A7A0-A7AAA7F8-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2A9CFAA00-AA28AA40-AA42AA44-AA4BAA60-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADB-AADDAAE0-AAEAAAF2-AAF4AB01-AB06AB09-AB0EAB11-AB16AB20-AB26AB28-AB2EABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC"},{L:"Letter"}),e.addToken(/\\([pP]){(\^?)([^}]*)}/,function(e,r){var n="P"===e[1]||e[2]?"^":"",o=t(e[3]);if("P"===e[1]&&e[2])throw new SyntaxError("invalid double negation \\P{^");if(!u.hasOwnProperty(o))throw new SyntaxError("invalid or unknown Unicode property "+e[0]);return"class"===r?n?a(o):u[o]:"["+n+u[o]+"]"},{scope:"all"})}(n),function(e){"use strict";if(!e.addUnicodePackage)throw new ReferenceError("Unicode Base must be loaded before Unicode Categories");e.install("extensibility"),e.addUnicodePackage({Ll:"0061-007A00B500DF-00F600F8-00FF01010103010501070109010B010D010F01110113011501170119011B011D011F01210123012501270129012B012D012F01310133013501370138013A013C013E014001420144014601480149014B014D014F01510153015501570159015B015D015F01610163016501670169016B016D016F0171017301750177017A017C017E-0180018301850188018C018D019201950199-019B019E01A101A301A501A801AA01AB01AD01B001B401B601B901BA01BD-01BF01C601C901CC01CE01D001D201D401D601D801DA01DC01DD01DF01E101E301E501E701E901EB01ED01EF01F001F301F501F901FB01FD01FF02010203020502070209020B020D020F02110213021502170219021B021D021F02210223022502270229022B022D022F02310233-0239023C023F0240024202470249024B024D024F-02930295-02AF037103730377037B-037D039003AC-03CE03D003D103D5-03D703D903DB03DD03DF03E103E303E503E703E903EB03ED03EF-03F303F503F803FB03FC0430-045F04610463046504670469046B046D046F04710473047504770479047B047D047F0481048B048D048F04910493049504970499049B049D049F04A104A304A504A704A904AB04AD04AF04B104B304B504B704B904BB04BD04BF04C204C404C604C804CA04CC04CE04CF04D104D304D504D704D904DB04DD04DF04E104E304E504E704E904EB04ED04EF04F104F304F504F704F904FB04FD04FF05010503050505070509050B050D050F05110513051505170519051B051D051F05210523052505270561-05871D00-1D2B1D6B-1D771D79-1D9A1E011E031E051E071E091E0B1E0D1E0F1E111E131E151E171E191E1B1E1D1E1F1E211E231E251E271E291E2B1E2D1E2F1E311E331E351E371E391E3B1E3D1E3F1E411E431E451E471E491E4B1E4D1E4F1E511E531E551E571E591E5B1E5D1E5F1E611E631E651E671E691E6B1E6D1E6F1E711E731E751E771E791E7B1E7D1E7F1E811E831E851E871E891E8B1E8D1E8F1E911E931E95-1E9D1E9F1EA11EA31EA51EA71EA91EAB1EAD1EAF1EB11EB31EB51EB71EB91EBB1EBD1EBF1EC11EC31EC51EC71EC91ECB1ECD1ECF1ED11ED31ED51ED71ED91EDB1EDD1EDF1EE11EE31EE51EE71EE91EEB1EED1EEF1EF11EF31EF51EF71EF91EFB1EFD1EFF-1F071F10-1F151F20-1F271F30-1F371F40-1F451F50-1F571F60-1F671F70-1F7D1F80-1F871F90-1F971FA0-1FA71FB0-1FB41FB61FB71FBE1FC2-1FC41FC61FC71FD0-1FD31FD61FD71FE0-1FE71FF2-1FF41FF61FF7210A210E210F2113212F21342139213C213D2146-2149214E21842C30-2C5E2C612C652C662C682C6A2C6C2C712C732C742C76-2C7B2C812C832C852C872C892C8B2C8D2C8F2C912C932C952C972C992C9B2C9D2C9F2CA12CA32CA52CA72CA92CAB2CAD2CAF2CB12CB32CB52CB72CB92CBB2CBD2CBF2CC12CC32CC52CC72CC92CCB2CCD2CCF2CD12CD32CD52CD72CD92CDB2CDD2CDF2CE12CE32CE42CEC2CEE2CF32D00-2D252D272D2DA641A643A645A647A649A64BA64DA64FA651A653A655A657A659A65BA65DA65FA661A663A665A667A669A66BA66DA681A683A685A687A689A68BA68DA68FA691A693A695A697A723A725A727A729A72BA72DA72F-A731A733A735A737A739A73BA73DA73FA741A743A745A747A749A74BA74DA74FA751A753A755A757A759A75BA75DA75FA761A763A765A767A769A76BA76DA76FA771-A778A77AA77CA77FA781A783A785A787A78CA78EA791A793A7A1A7A3A7A5A7A7A7A9A7FAFB00-FB06FB13-FB17FF41-FF5A",Lu:"0041-005A00C0-00D600D8-00DE01000102010401060108010A010C010E01100112011401160118011A011C011E01200122012401260128012A012C012E01300132013401360139013B013D013F0141014301450147014A014C014E01500152015401560158015A015C015E01600162016401660168016A016C016E017001720174017601780179017B017D018101820184018601870189-018B018E-0191019301940196-0198019C019D019F01A001A201A401A601A701A901AC01AE01AF01B1-01B301B501B701B801BC01C401C701CA01CD01CF01D101D301D501D701D901DB01DE01E001E201E401E601E801EA01EC01EE01F101F401F6-01F801FA01FC01FE02000202020402060208020A020C020E02100212021402160218021A021C021E02200222022402260228022A022C022E02300232023A023B023D023E02410243-02460248024A024C024E03700372037603860388-038A038C038E038F0391-03A103A3-03AB03CF03D2-03D403D803DA03DC03DE03E003E203E403E603E803EA03EC03EE03F403F703F903FA03FD-042F04600462046404660468046A046C046E04700472047404760478047A047C047E0480048A048C048E04900492049404960498049A049C049E04A004A204A404A604A804AA04AC04AE04B004B204B404B604B804BA04BC04BE04C004C104C304C504C704C904CB04CD04D004D204D404D604D804DA04DC04DE04E004E204E404E604E804EA04EC04EE04F004F204F404F604F804FA04FC04FE05000502050405060508050A050C050E05100512051405160518051A051C051E05200522052405260531-055610A0-10C510C710CD1E001E021E041E061E081E0A1E0C1E0E1E101E121E141E161E181E1A1E1C1E1E1E201E221E241E261E281E2A1E2C1E2E1E301E321E341E361E381E3A1E3C1E3E1E401E421E441E461E481E4A1E4C1E4E1E501E521E541E561E581E5A1E5C1E5E1E601E621E641E661E681E6A1E6C1E6E1E701E721E741E761E781E7A1E7C1E7E1E801E821E841E861E881E8A1E8C1E8E1E901E921E941E9E1EA01EA21EA41EA61EA81EAA1EAC1EAE1EB01EB21EB41EB61EB81EBA1EBC1EBE1EC01EC21EC41EC61EC81ECA1ECC1ECE1ED01ED21ED41ED61ED81EDA1EDC1EDE1EE01EE21EE41EE61EE81EEA1EEC1EEE1EF01EF21EF41EF61EF81EFA1EFC1EFE1F08-1F0F1F18-1F1D1F28-1F2F1F38-1F3F1F48-1F4D1F591F5B1F5D1F5F1F68-1F6F1FB8-1FBB1FC8-1FCB1FD8-1FDB1FE8-1FEC1FF8-1FFB21022107210B-210D2110-211221152119-211D212421262128212A-212D2130-2133213E213F214521832C00-2C2E2C602C62-2C642C672C692C6B2C6D-2C702C722C752C7E-2C802C822C842C862C882C8A2C8C2C8E2C902C922C942C962C982C9A2C9C2C9E2CA02CA22CA42CA62CA82CAA2CAC2CAE2CB02CB22CB42CB62CB82CBA2CBC2CBE2CC02CC22CC42CC62CC82CCA2CCC2CCE2CD02CD22CD42CD62CD82CDA2CDC2CDE2CE02CE22CEB2CED2CF2A640A642A644A646A648A64AA64CA64EA650A652A654A656A658A65AA65CA65EA660A662A664A666A668A66AA66CA680A682A684A686A688A68AA68CA68EA690A692A694A696A722A724A726A728A72AA72CA72EA732A734A736A738A73AA73CA73EA740A742A744A746A748A74AA74CA74EA750A752A754A756A758A75AA75CA75EA760A762A764A766A768A76AA76CA76EA779A77BA77DA77EA780A782A784A786A78BA78DA790A792A7A0A7A2A7A4A7A6A7A8A7AAFF21-FF3A",Lt:"01C501C801CB01F21F88-1F8F1F98-1F9F1FA8-1FAF1FBC1FCC1FFC",Lm:"02B0-02C102C6-02D102E0-02E402EC02EE0374037A0559064006E506E607F407F507FA081A0824082809710E460EC610FC17D718431AA71C78-1C7D1D2C-1D6A1D781D9B-1DBF2071207F2090-209C2C7C2C7D2D6F2E2F30053031-3035303B309D309E30FC-30FEA015A4F8-A4FDA60CA67FA717-A71FA770A788A7F8A7F9A9CFAA70AADDAAF3AAF4FF70FF9EFF9F",Lo:"00AA00BA01BB01C0-01C3029405D0-05EA05F0-05F20620-063F0641-064A066E066F0671-06D306D506EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA0800-08150840-085808A008A2-08AC0904-0939093D09500958-09610972-09770979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10CF10CF20D05-0D0C0D0E-0D100D12-0D3A0D3D0D4E0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E450E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EDC-0EDF0F000F40-0F470F49-0F6C0F88-0F8C1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10D0-10FA10FD-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317DC1820-18421844-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541B05-1B331B45-1B4B1B83-1BA01BAE1BAF1BBA-1BE51C00-1C231C4D-1C4F1C5A-1C771CE9-1CEC1CEE-1CF11CF51CF62135-21382D30-2D672D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE3006303C3041-3096309F30A1-30FA30FF3105-312D3131-318E31A0-31BA31F0-31FF3400-4DB54E00-9FCCA000-A014A016-A48CA4D0-A4F7A500-A60BA610-A61FA62AA62BA66EA6A0-A6E5A7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2AA00-AA28AA40-AA42AA44-AA4BAA60-AA6FAA71-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADBAADCAAE0-AAEAAAF2AB01-AB06AB09-AB0EAB11-AB16AB20-AB26AB28-AB2EABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA6DFA70-FAD9FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF66-FF6FFF71-FF9DFFA0-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",M:"0300-036F0483-04890591-05BD05BF05C105C205C405C505C70610-061A064B-065F067006D6-06DC06DF-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0859-085B08E4-08FE0900-0903093A-093C093E-094F0951-0957096209630981-098309BC09BE-09C409C709C809CB-09CD09D709E209E30A01-0A030A3C0A3E-0A420A470A480A4B-0A4D0A510A700A710A750A81-0A830ABC0ABE-0AC50AC7-0AC90ACB-0ACD0AE20AE30B01-0B030B3C0B3E-0B440B470B480B4B-0B4D0B560B570B620B630B820BBE-0BC20BC6-0BC80BCA-0BCD0BD70C01-0C030C3E-0C440C46-0C480C4A-0C4D0C550C560C620C630C820C830CBC0CBE-0CC40CC6-0CC80CCA-0CCD0CD50CD60CE20CE30D020D030D3E-0D440D46-0D480D4A-0D4D0D570D620D630D820D830DCA0DCF-0DD40DD60DD8-0DDF0DF20DF30E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F3E0F3F0F71-0F840F860F870F8D-0F970F99-0FBC0FC6102B-103E1056-1059105E-10601062-10641067-106D1071-10741082-108D108F109A-109D135D-135F1712-17141732-1734175217531772177317B4-17D317DD180B-180D18A91920-192B1930-193B19B0-19C019C819C91A17-1A1B1A55-1A5E1A60-1A7C1A7F1B00-1B041B34-1B441B6B-1B731B80-1B821BA1-1BAD1BE6-1BF31C24-1C371CD0-1CD21CD4-1CE81CED1CF2-1CF41DC0-1DE61DFC-1DFF20D0-20F02CEF-2CF12D7F2DE0-2DFF302A-302F3099309AA66F-A672A674-A67DA69FA6F0A6F1A802A806A80BA823-A827A880A881A8B4-A8C4A8E0-A8F1A926-A92DA947-A953A980-A983A9B3-A9C0AA29-AA36AA43AA4CAA4DAA7BAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1AAEB-AAEFAAF5AAF6ABE3-ABEAABECABEDFB1EFE00-FE0FFE20-FE26",Mn:"0300-036F0483-04870591-05BD05BF05C105C205C405C505C70610-061A064B-065F067006D6-06DC06DF-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0859-085B08E4-08FE0900-0902093A093C0941-0948094D0951-095709620963098109BC09C1-09C409CD09E209E30A010A020A3C0A410A420A470A480A4B-0A4D0A510A700A710A750A810A820ABC0AC1-0AC50AC70AC80ACD0AE20AE30B010B3C0B3F0B41-0B440B4D0B560B620B630B820BC00BCD0C3E-0C400C46-0C480C4A-0C4D0C550C560C620C630CBC0CBF0CC60CCC0CCD0CE20CE30D41-0D440D4D0D620D630DCA0DD2-0DD40DD60E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F71-0F7E0F80-0F840F860F870F8D-0F970F99-0FBC0FC6102D-10301032-10371039103A103D103E10581059105E-10601071-1074108210851086108D109D135D-135F1712-17141732-1734175217531772177317B417B517B7-17BD17C617C9-17D317DD180B-180D18A91920-19221927192819321939-193B1A171A181A561A58-1A5E1A601A621A65-1A6C1A73-1A7C1A7F1B00-1B031B341B36-1B3A1B3C1B421B6B-1B731B801B811BA2-1BA51BA81BA91BAB1BE61BE81BE91BED1BEF-1BF11C2C-1C331C361C371CD0-1CD21CD4-1CE01CE2-1CE81CED1CF41DC0-1DE61DFC-1DFF20D0-20DC20E120E5-20F02CEF-2CF12D7F2DE0-2DFF302A-302D3099309AA66FA674-A67DA69FA6F0A6F1A802A806A80BA825A826A8C4A8E0-A8F1A926-A92DA947-A951A980-A982A9B3A9B6-A9B9A9BCAA29-AA2EAA31AA32AA35AA36AA43AA4CAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1AAECAAEDAAF6ABE5ABE8ABEDFB1EFE00-FE0FFE20-FE26",Mc:"0903093B093E-09400949-094C094E094F0982098309BE-09C009C709C809CB09CC09D70A030A3E-0A400A830ABE-0AC00AC90ACB0ACC0B020B030B3E0B400B470B480B4B0B4C0B570BBE0BBF0BC10BC20BC6-0BC80BCA-0BCC0BD70C01-0C030C41-0C440C820C830CBE0CC0-0CC40CC70CC80CCA0CCB0CD50CD60D020D030D3E-0D400D46-0D480D4A-0D4C0D570D820D830DCF-0DD10DD8-0DDF0DF20DF30F3E0F3F0F7F102B102C10311038103B103C105610571062-10641067-106D108310841087-108C108F109A-109C17B617BE-17C517C717C81923-19261929-192B193019311933-193819B0-19C019C819C91A19-1A1B1A551A571A611A631A641A6D-1A721B041B351B3B1B3D-1B411B431B441B821BA11BA61BA71BAA1BAC1BAD1BE71BEA-1BEC1BEE1BF21BF31C24-1C2B1C341C351CE11CF21CF3302E302FA823A824A827A880A881A8B4-A8C3A952A953A983A9B4A9B5A9BAA9BBA9BD-A9C0AA2FAA30AA33AA34AA4DAA7BAAEBAAEEAAEFAAF5ABE3ABE4ABE6ABE7ABE9ABEAABEC",Me:"0488048920DD-20E020E2-20E4A670-A672",N:"0030-003900B200B300B900BC-00BE0660-066906F0-06F907C0-07C90966-096F09E6-09EF09F4-09F90A66-0A6F0AE6-0AEF0B66-0B6F0B72-0B770BE6-0BF20C66-0C6F0C78-0C7E0CE6-0CEF0D66-0D750E50-0E590ED0-0ED90F20-0F331040-10491090-10991369-137C16EE-16F017E0-17E917F0-17F91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C5920702074-20792080-20892150-21822185-21892460-249B24EA-24FF2776-27932CFD30073021-30293038-303A3192-31953220-32293248-324F3251-325F3280-328932B1-32BFA620-A629A6E6-A6EFA830-A835A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nd:"0030-00390660-066906F0-06F907C0-07C90966-096F09E6-09EF0A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BEF0C66-0C6F0CE6-0CEF0D66-0D6F0E50-0E590ED0-0ED90F20-0F291040-10491090-109917E0-17E91810-18191946-194F19D0-19D91A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C59A620-A629A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nl:"16EE-16F02160-21822185-218830073021-30293038-303AA6E6-A6EF",No:"00B200B300B900BC-00BE09F4-09F90B72-0B770BF0-0BF20C78-0C7E0D70-0D750F2A-0F331369-137C17F0-17F919DA20702074-20792080-20892150-215F21892460-249B24EA-24FF2776-27932CFD3192-31953220-32293248-324F3251-325F3280-328932B1-32BFA830-A835",P:"0021-00230025-002A002C-002F003A003B003F0040005B-005D005F007B007D00A100A700AB00B600B700BB00BF037E0387055A-055F0589058A05BE05C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E085E0964096509700AF00DF40E4F0E5A0E5B0F04-0F120F140F3A-0F3D0F850FD0-0FD40FD90FDA104A-104F10FB1360-13681400166D166E169B169C16EB-16ED1735173617D4-17D617D8-17DA1800-180A194419451A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601BFC-1BFF1C3B-1C3F1C7E1C7F1CC0-1CC71CD32010-20272030-20432045-20512053-205E207D207E208D208E2329232A2768-277527C527C627E6-27EF2983-299829D8-29DB29FC29FD2CF9-2CFC2CFE2CFF2D702E00-2E2E2E30-2E3B3001-30033008-30113014-301F3030303D30A030FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFAAF0AAF1ABEBFD3EFD3FFE10-FE19FE30-FE52FE54-FE61FE63FE68FE6AFE6BFF01-FF03FF05-FF0AFF0C-FF0FFF1AFF1BFF1FFF20FF3B-FF3DFF3FFF5BFF5DFF5F-FF65",Pd:"002D058A05BE140018062010-20152E172E1A2E3A2E3B301C303030A0FE31FE32FE58FE63FF0D",Ps:"0028005B007B0F3A0F3C169B201A201E2045207D208D23292768276A276C276E27702772277427C527E627E827EA27EC27EE2983298529872989298B298D298F299129932995299729D829DA29FC2E222E242E262E283008300A300C300E3010301430163018301A301DFD3EFE17FE35FE37FE39FE3BFE3DFE3FFE41FE43FE47FE59FE5BFE5DFF08FF3BFF5BFF5FFF62",Pe:"0029005D007D0F3B0F3D169C2046207E208E232A2769276B276D276F27712773277527C627E727E927EB27ED27EF298429862988298A298C298E2990299229942996299829D929DB29FD2E232E252E272E293009300B300D300F3011301530173019301B301E301FFD3FFE18FE36FE38FE3AFE3CFE3EFE40FE42FE44FE48FE5AFE5CFE5EFF09FF3DFF5DFF60FF63",Pi:"00AB2018201B201C201F20392E022E042E092E0C2E1C2E20",Pf:"00BB2019201D203A2E032E052E0A2E0D2E1D2E21",Pc:"005F203F20402054FE33FE34FE4D-FE4FFF3F",Po:"0021-00230025-0027002A002C002E002F003A003B003F0040005C00A100A700B600B700BF037E0387055A-055F058905C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E085E0964096509700AF00DF40E4F0E5A0E5B0F04-0F120F140F850FD0-0FD40FD90FDA104A-104F10FB1360-1368166D166E16EB-16ED1735173617D4-17D617D8-17DA1800-18051807-180A194419451A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601BFC-1BFF1C3B-1C3F1C7E1C7F1CC0-1CC71CD3201620172020-20272030-2038203B-203E2041-20432047-205120532055-205E2CF9-2CFC2CFE2CFF2D702E002E012E06-2E082E0B2E0E-2E162E182E192E1B2E1E2E1F2E2A-2E2E2E30-2E393001-3003303D30FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFAAF0AAF1ABEBFE10-FE16FE19FE30FE45FE46FE49-FE4CFE50-FE52FE54-FE57FE5F-FE61FE68FE6AFE6BFF01-FF03FF05-FF07FF0AFF0CFF0EFF0FFF1AFF1BFF1FFF20FF3CFF61FF64FF65",S:"0024002B003C-003E005E0060007C007E00A2-00A600A800A900AC00AE-00B100B400B800D700F702C2-02C502D2-02DF02E5-02EB02ED02EF-02FF03750384038503F60482058F0606-0608060B060E060F06DE06E906FD06FE07F609F209F309FA09FB0AF10B700BF3-0BFA0C7F0D790E3F0F01-0F030F130F15-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F1390-139917DB194019DE-19FF1B61-1B6A1B74-1B7C1FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE20442052207A-207C208A-208C20A0-20B9210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B2140-2144214A-214D214F2190-2328232B-23F32400-24262440-244A249C-24E92500-26FF2701-27672794-27C427C7-27E527F0-29822999-29D729DC-29FB29FE-2B4C2B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F309B309C319031913196-319F31C0-31E33200-321E322A-324732503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A700-A716A720A721A789A78AA828-A82BA836-A839AA77-AA79FB29FBB2-FBC1FDFCFDFDFE62FE64-FE66FE69FF04FF0BFF1C-FF1EFF3EFF40FF5CFF5EFFE0-FFE6FFE8-FFEEFFFCFFFD",Sm:"002B003C-003E007C007E00AC00B100D700F703F60606-060820442052207A-207C208A-208C21182140-2144214B2190-2194219A219B21A021A321A621AE21CE21CF21D221D421F4-22FF2308-230B23202321237C239B-23B323DC-23E125B725C125F8-25FF266F27C0-27C427C7-27E527F0-27FF2900-29822999-29D729DC-29FB29FE-2AFF2B30-2B442B47-2B4CFB29FE62FE64-FE66FF0BFF1C-FF1EFF5CFF5EFFE2FFE9-FFEC",Sc:"002400A2-00A5058F060B09F209F309FB0AF10BF90E3F17DB20A0-20B9A838FDFCFE69FF04FFE0FFE1FFE5FFE6",Sk:"005E006000A800AF00B400B802C2-02C502D2-02DF02E5-02EB02ED02EF-02FF0375038403851FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE309B309CA700-A716A720A721A789A78AFBB2-FBC1FF3EFF40FFE3",So:"00A600A900AE00B00482060E060F06DE06E906FD06FE07F609FA0B700BF3-0BF80BFA0C7F0D790F01-0F030F130F15-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F1390-1399194019DE-19FF1B61-1B6A1B74-1B7C210021012103-210621082109211421162117211E-2123212521272129212E213A213B214A214C214D214F2195-2199219C-219F21A121A221A421A521A7-21AD21AF-21CD21D021D121D321D5-21F32300-2307230C-231F2322-2328232B-237B237D-239A23B4-23DB23E2-23F32400-24262440-244A249C-24E92500-25B625B8-25C025C2-25F72600-266E2670-26FF2701-27672794-27BF2800-28FF2B00-2B2F2B452B462B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F319031913196-319F31C0-31E33200-321E322A-324732503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A828-A82BA836A837A839AA77-AA79FDFDFFE4FFE8FFEDFFEEFFFCFFFD",Z:"002000A01680180E2000-200A20282029202F205F3000",Zs:"002000A01680180E2000-200A202F205F3000",Zl:"2028",Zp:"2029",C:"0000-001F007F-009F00AD03780379037F-0383038B038D03A20528-05300557055805600588058B-058E059005C8-05CF05EB-05EF05F5-0605061C061D06DD070E070F074B074C07B2-07BF07FB-07FF082E082F083F085C085D085F-089F08A108AD-08E308FF097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B78-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D3B0D3C0D450D490D4F-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EE0-0EFF0F480F6D-0F700F980FBD0FCD0FDB-0FFF10C610C8-10CC10CE10CF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B135C137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BF4-1BFB1C38-1C3A1C4A-1C4C1C80-1CBF1CC8-1CCF1CF7-1CFF1DE7-1DFB1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF200B-200F202A-202E2060-206F20722073208F209D-209F20BA-20CF20F1-20FF218A-218F23F4-23FF2427-243F244B-245F27002B4D-2B4F2B5A-2BFF2C2F2C5F2CF4-2CF82D262D28-2D2C2D2E2D2F2D68-2D6E2D71-2D7E2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E3C-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31BB-31BF31E4-31EF321F32FF4DB6-4DBF9FCD-9FFFA48D-A48FA4C7-A4CFA62C-A63FA698-A69EA6F8-A6FFA78FA794-A79FA7AB-A7F7A82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAF7-AB00AB07AB08AB0FAB10AB17-AB1FAB27AB2F-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-F8FFFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBC2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFD-FF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFFBFFFEFFFF",Cc:"0000-001F007F-009F",Cf:"00AD0600-060406DD070F200B-200F202A-202E2060-2064206A-206FFEFFFFF9-FFFB",Co:"E000-F8FF",Cs:"D800-DFFF",Cn:"03780379037F-0383038B038D03A20528-05300557055805600588058B-058E059005C8-05CF05EB-05EF05F5-05FF0605061C061D070E074B074C07B2-07BF07FB-07FF082E082F083F085C085D085F-089F08A108AD-08E308FF097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B78-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D3B0D3C0D450D490D4F-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EE0-0EFF0F480F6D-0F700F980FBD0FCD0FDB-0FFF10C610C8-10CC10CE10CF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B135C137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BF4-1BFB1C38-1C3A1C4A-1C4C1C80-1CBF1CC8-1CCF1CF7-1CFF1DE7-1DFB1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF2065-206920722073208F209D-209F20BA-20CF20F1-20FF218A-218F23F4-23FF2427-243F244B-245F27002B4D-2B4F2B5A-2BFF2C2F2C5F2CF4-2CF82D262D28-2D2C2D2E2D2F2D68-2D6E2D71-2D7E2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E3C-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31BB-31BF31E4-31EF321F32FF4DB6-4DBF9FCD-9FFFA48D-A48FA4C7-A4CFA62C-A63FA698-A69EA6F8-A6FFA78FA794-A79FA7AB-A7F7A82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAF7-AB00AB07AB08AB0FAB10AB17-AB1FAB27AB2F-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-D7FFFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBC2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFDFEFEFF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFF8FFFEFFFF" -},{Ll:"Lowercase_Letter",Lu:"Uppercase_Letter",Lt:"Titlecase_Letter",Lm:"Modifier_Letter",Lo:"Other_Letter",M:"Mark",Mn:"Nonspacing_Mark",Mc:"Spacing_Mark",Me:"Enclosing_Mark",N:"Number",Nd:"Decimal_Number",Nl:"Letter_Number",No:"Other_Number",P:"Punctuation",Pd:"Dash_Punctuation",Ps:"Open_Punctuation",Pe:"Close_Punctuation",Pi:"Initial_Punctuation",Pf:"Final_Punctuation",Pc:"Connector_Punctuation",Po:"Other_Punctuation",S:"Symbol",Sm:"Math_Symbol",Sc:"Currency_Symbol",Sk:"Modifier_Symbol",So:"Other_Symbol",Z:"Separator",Zs:"Space_Separator",Zl:"Line_Separator",Zp:"Paragraph_Separator",C:"Other",Cc:"Control",Cf:"Format",Co:"Private_Use",Cs:"Surrogate",Cn:"Unassigned"})}(n),function(e){"use strict";if(!e.addUnicodePackage)throw new ReferenceError("Unicode Base must be loaded before Unicode Scripts");e.install("extensibility"),e.addUnicodePackage({Arabic:"0600-06040606-060B060D-061A061E0620-063F0641-064A0656-065E066A-066F0671-06DC06DE-06FF0750-077F08A008A2-08AC08E4-08FEFB50-FBC1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFCFE70-FE74FE76-FEFC",Armenian:"0531-05560559-055F0561-0587058A058FFB13-FB17",Balinese:"1B00-1B4B1B50-1B7C",Bamum:"A6A0-A6F7",Batak:"1BC0-1BF31BFC-1BFF",Bengali:"0981-09830985-098C098F09900993-09A809AA-09B009B209B6-09B909BC-09C409C709C809CB-09CE09D709DC09DD09DF-09E309E6-09FB",Bopomofo:"02EA02EB3105-312D31A0-31BA",Braille:"2800-28FF",Buginese:"1A00-1A1B1A1E1A1F",Buhid:"1740-1753",Canadian_Aboriginal:"1400-167F18B0-18F5",Cham:"AA00-AA36AA40-AA4DAA50-AA59AA5C-AA5F",Cherokee:"13A0-13F4",Common:"0000-0040005B-0060007B-00A900AB-00B900BB-00BF00D700F702B9-02DF02E5-02E902EC-02FF0374037E038503870589060C061B061F06400660-066906DD096409650E3F0FD5-0FD810FB16EB-16ED173517361802180318051CD31CE11CE9-1CEC1CEE-1CF31CF51CF62000-200B200E-2064206A-20702074-207E2080-208E20A0-20B92100-21252127-2129212C-21312133-214D214F-215F21892190-23F32400-24262440-244A2460-26FF2701-27FF2900-2B4C2B50-2B592E00-2E3B2FF0-2FFB3000-300430063008-30203030-3037303C-303F309B309C30A030FB30FC3190-319F31C0-31E33220-325F327F-32CF3358-33FF4DC0-4DFFA700-A721A788-A78AA830-A839FD3EFD3FFDFDFE10-FE19FE30-FE52FE54-FE66FE68-FE6BFEFFFF01-FF20FF3B-FF40FF5B-FF65FF70FF9EFF9FFFE0-FFE6FFE8-FFEEFFF9-FFFD",Coptic:"03E2-03EF2C80-2CF32CF9-2CFF",Cyrillic:"0400-04840487-05271D2B1D782DE0-2DFFA640-A697A69F",Devanagari:"0900-09500953-09630966-09770979-097FA8E0-A8FB",Ethiopic:"1200-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A135D-137C1380-13992D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDEAB01-AB06AB09-AB0EAB11-AB16AB20-AB26AB28-AB2E",Georgian:"10A0-10C510C710CD10D0-10FA10FC-10FF2D00-2D252D272D2D",Glagolitic:"2C00-2C2E2C30-2C5E",Greek:"0370-03730375-0377037A-037D038403860388-038A038C038E-03A103A3-03E103F0-03FF1D26-1D2A1D5D-1D611D66-1D6A1DBF1F00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FC41FC6-1FD31FD6-1FDB1FDD-1FEF1FF2-1FF41FF6-1FFE2126",Gujarati:"0A81-0A830A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABC-0AC50AC7-0AC90ACB-0ACD0AD00AE0-0AE30AE6-0AF1",Gurmukhi:"0A01-0A030A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A3C0A3E-0A420A470A480A4B-0A4D0A510A59-0A5C0A5E0A66-0A75",Han:"2E80-2E992E9B-2EF32F00-2FD5300530073021-30293038-303B3400-4DB54E00-9FCCF900-FA6DFA70-FAD9",Hangul:"1100-11FF302E302F3131-318E3200-321E3260-327EA960-A97CAC00-D7A3D7B0-D7C6D7CB-D7FBFFA0-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",Hanunoo:"1720-1734",Hebrew:"0591-05C705D0-05EA05F0-05F4FB1D-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FB4F",Hiragana:"3041-3096309D-309F",Inherited:"0300-036F04850486064B-0655065F0670095109521CD0-1CD21CD4-1CE01CE2-1CE81CED1CF41DC0-1DE61DFC-1DFF200C200D20D0-20F0302A-302D3099309AFE00-FE0FFE20-FE26",Javanese:"A980-A9CDA9CF-A9D9A9DEA9DF",Kannada:"0C820C830C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBC-0CC40CC6-0CC80CCA-0CCD0CD50CD60CDE0CE0-0CE30CE6-0CEF0CF10CF2",Katakana:"30A1-30FA30FD-30FF31F0-31FF32D0-32FE3300-3357FF66-FF6FFF71-FF9D",Kayah_Li:"A900-A92F",Khmer:"1780-17DD17E0-17E917F0-17F919E0-19FF",Lao:"0E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB90EBB-0EBD0EC0-0EC40EC60EC8-0ECD0ED0-0ED90EDC-0EDF",Latin:"0041-005A0061-007A00AA00BA00C0-00D600D8-00F600F8-02B802E0-02E41D00-1D251D2C-1D5C1D62-1D651D6B-1D771D79-1DBE1E00-1EFF2071207F2090-209C212A212B2132214E2160-21882C60-2C7FA722-A787A78B-A78EA790-A793A7A0-A7AAA7F8-A7FFFB00-FB06FF21-FF3AFF41-FF5A",Lepcha:"1C00-1C371C3B-1C491C4D-1C4F",Limbu:"1900-191C1920-192B1930-193B19401944-194F",Lisu:"A4D0-A4FF",Malayalam:"0D020D030D05-0D0C0D0E-0D100D12-0D3A0D3D-0D440D46-0D480D4A-0D4E0D570D60-0D630D66-0D750D79-0D7F",Mandaic:"0840-085B085E",Meetei_Mayek:"AAE0-AAF6ABC0-ABEDABF0-ABF9",Mongolian:"1800180118041806-180E1810-18191820-18771880-18AA",Myanmar:"1000-109FAA60-AA7B",New_Tai_Lue:"1980-19AB19B0-19C919D0-19DA19DE19DF",Nko:"07C0-07FA",Ogham:"1680-169C",Ol_Chiki:"1C50-1C7F",Oriya:"0B01-0B030B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3C-0B440B470B480B4B-0B4D0B560B570B5C0B5D0B5F-0B630B66-0B77",Phags_Pa:"A840-A877",Rejang:"A930-A953A95F",Runic:"16A0-16EA16EE-16F0",Samaritan:"0800-082D0830-083E",Saurashtra:"A880-A8C4A8CE-A8D9",Sinhala:"0D820D830D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60DCA0DCF-0DD40DD60DD8-0DDF0DF2-0DF4",Sundanese:"1B80-1BBF1CC0-1CC7",Syloti_Nagri:"A800-A82B",Syriac:"0700-070D070F-074A074D-074F",Tagalog:"1700-170C170E-1714",Tagbanwa:"1760-176C176E-177017721773",Tai_Le:"1950-196D1970-1974",Tai_Tham:"1A20-1A5E1A60-1A7C1A7F-1A891A90-1A991AA0-1AAD",Tai_Viet:"AA80-AAC2AADB-AADF",Tamil:"0B820B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BBE-0BC20BC6-0BC80BCA-0BCD0BD00BD70BE6-0BFA",Telugu:"0C01-0C030C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D-0C440C46-0C480C4A-0C4D0C550C560C580C590C60-0C630C66-0C6F0C78-0C7F",Thaana:"0780-07B1",Thai:"0E01-0E3A0E40-0E5B",Tibetan:"0F00-0F470F49-0F6C0F71-0F970F99-0FBC0FBE-0FCC0FCE-0FD40FD90FDA",Tifinagh:"2D30-2D672D6F2D702D7F",Vai:"A500-A62B",Yi:"A000-A48CA490-A4C6"})}(n),function(e){"use strict";if(!e.addUnicodePackage)throw new ReferenceError("Unicode Base must be loaded before Unicode Blocks");e.install("extensibility"),e.addUnicodePackage({InBasic_Latin:"0000-007F",InLatin_1_Supplement:"0080-00FF",InLatin_Extended_A:"0100-017F",InLatin_Extended_B:"0180-024F",InIPA_Extensions:"0250-02AF",InSpacing_Modifier_Letters:"02B0-02FF",InCombining_Diacritical_Marks:"0300-036F",InGreek_and_Coptic:"0370-03FF",InCyrillic:"0400-04FF",InCyrillic_Supplement:"0500-052F",InArmenian:"0530-058F",InHebrew:"0590-05FF",InArabic:"0600-06FF",InSyriac:"0700-074F",InArabic_Supplement:"0750-077F",InThaana:"0780-07BF",InNKo:"07C0-07FF",InSamaritan:"0800-083F",InMandaic:"0840-085F",InArabic_Extended_A:"08A0-08FF",InDevanagari:"0900-097F",InBengali:"0980-09FF",InGurmukhi:"0A00-0A7F",InGujarati:"0A80-0AFF",InOriya:"0B00-0B7F",InTamil:"0B80-0BFF",InTelugu:"0C00-0C7F",InKannada:"0C80-0CFF",InMalayalam:"0D00-0D7F",InSinhala:"0D80-0DFF",InThai:"0E00-0E7F",InLao:"0E80-0EFF",InTibetan:"0F00-0FFF",InMyanmar:"1000-109F",InGeorgian:"10A0-10FF",InHangul_Jamo:"1100-11FF",InEthiopic:"1200-137F",InEthiopic_Supplement:"1380-139F",InCherokee:"13A0-13FF",InUnified_Canadian_Aboriginal_Syllabics:"1400-167F",InOgham:"1680-169F",InRunic:"16A0-16FF",InTagalog:"1700-171F",InHanunoo:"1720-173F",InBuhid:"1740-175F",InTagbanwa:"1760-177F",InKhmer:"1780-17FF",InMongolian:"1800-18AF",InUnified_Canadian_Aboriginal_Syllabics_Extended:"18B0-18FF",InLimbu:"1900-194F",InTai_Le:"1950-197F",InNew_Tai_Lue:"1980-19DF",InKhmer_Symbols:"19E0-19FF",InBuginese:"1A00-1A1F",InTai_Tham:"1A20-1AAF",InBalinese:"1B00-1B7F",InSundanese:"1B80-1BBF",InBatak:"1BC0-1BFF",InLepcha:"1C00-1C4F",InOl_Chiki:"1C50-1C7F",InSundanese_Supplement:"1CC0-1CCF",InVedic_Extensions:"1CD0-1CFF",InPhonetic_Extensions:"1D00-1D7F",InPhonetic_Extensions_Supplement:"1D80-1DBF",InCombining_Diacritical_Marks_Supplement:"1DC0-1DFF",InLatin_Extended_Additional:"1E00-1EFF",InGreek_Extended:"1F00-1FFF",InGeneral_Punctuation:"2000-206F",InSuperscripts_and_Subscripts:"2070-209F",InCurrency_Symbols:"20A0-20CF",InCombining_Diacritical_Marks_for_Symbols:"20D0-20FF",InLetterlike_Symbols:"2100-214F",InNumber_Forms:"2150-218F",InArrows:"2190-21FF",InMathematical_Operators:"2200-22FF",InMiscellaneous_Technical:"2300-23FF",InControl_Pictures:"2400-243F",InOptical_Character_Recognition:"2440-245F",InEnclosed_Alphanumerics:"2460-24FF",InBox_Drawing:"2500-257F",InBlock_Elements:"2580-259F",InGeometric_Shapes:"25A0-25FF",InMiscellaneous_Symbols:"2600-26FF",InDingbats:"2700-27BF",InMiscellaneous_Mathematical_Symbols_A:"27C0-27EF",InSupplemental_Arrows_A:"27F0-27FF",InBraille_Patterns:"2800-28FF",InSupplemental_Arrows_B:"2900-297F",InMiscellaneous_Mathematical_Symbols_B:"2980-29FF",InSupplemental_Mathematical_Operators:"2A00-2AFF",InMiscellaneous_Symbols_and_Arrows:"2B00-2BFF",InGlagolitic:"2C00-2C5F",InLatin_Extended_C:"2C60-2C7F",InCoptic:"2C80-2CFF",InGeorgian_Supplement:"2D00-2D2F",InTifinagh:"2D30-2D7F",InEthiopic_Extended:"2D80-2DDF",InCyrillic_Extended_A:"2DE0-2DFF",InSupplemental_Punctuation:"2E00-2E7F",InCJK_Radicals_Supplement:"2E80-2EFF",InKangxi_Radicals:"2F00-2FDF",InIdeographic_Description_Characters:"2FF0-2FFF",InCJK_Symbols_and_Punctuation:"3000-303F",InHiragana:"3040-309F",InKatakana:"30A0-30FF",InBopomofo:"3100-312F",InHangul_Compatibility_Jamo:"3130-318F",InKanbun:"3190-319F",InBopomofo_Extended:"31A0-31BF",InCJK_Strokes:"31C0-31EF",InKatakana_Phonetic_Extensions:"31F0-31FF",InEnclosed_CJK_Letters_and_Months:"3200-32FF",InCJK_Compatibility:"3300-33FF",InCJK_Unified_Ideographs_Extension_A:"3400-4DBF",InYijing_Hexagram_Symbols:"4DC0-4DFF",InCJK_Unified_Ideographs:"4E00-9FFF",InYi_Syllables:"A000-A48F",InYi_Radicals:"A490-A4CF",InLisu:"A4D0-A4FF",InVai:"A500-A63F",InCyrillic_Extended_B:"A640-A69F",InBamum:"A6A0-A6FF",InModifier_Tone_Letters:"A700-A71F",InLatin_Extended_D:"A720-A7FF",InSyloti_Nagri:"A800-A82F",InCommon_Indic_Number_Forms:"A830-A83F",InPhags_pa:"A840-A87F",InSaurashtra:"A880-A8DF",InDevanagari_Extended:"A8E0-A8FF",InKayah_Li:"A900-A92F",InRejang:"A930-A95F",InHangul_Jamo_Extended_A:"A960-A97F",InJavanese:"A980-A9DF",InCham:"AA00-AA5F",InMyanmar_Extended_A:"AA60-AA7F",InTai_Viet:"AA80-AADF",InMeetei_Mayek_Extensions:"AAE0-AAFF",InEthiopic_Extended_A:"AB00-AB2F",InMeetei_Mayek:"ABC0-ABFF",InHangul_Syllables:"AC00-D7AF",InHangul_Jamo_Extended_B:"D7B0-D7FF",InHigh_Surrogates:"D800-DB7F",InHigh_Private_Use_Surrogates:"DB80-DBFF",InLow_Surrogates:"DC00-DFFF",InPrivate_Use_Area:"E000-F8FF",InCJK_Compatibility_Ideographs:"F900-FAFF",InAlphabetic_Presentation_Forms:"FB00-FB4F",InArabic_Presentation_Forms_A:"FB50-FDFF",InVariation_Selectors:"FE00-FE0F",InVertical_Forms:"FE10-FE1F",InCombining_Half_Marks:"FE20-FE2F",InCJK_Compatibility_Forms:"FE30-FE4F",InSmall_Form_Variants:"FE50-FE6F",InArabic_Presentation_Forms_B:"FE70-FEFF",InHalfwidth_and_Fullwidth_Forms:"FF00-FFEF",InSpecials:"FFF0-FFFF"})}(n),function(e){"use strict";if(!e.addUnicodePackage)throw new ReferenceError("Unicode Base must be loaded before Unicode Properties");e.install("extensibility"),e.addUnicodePackage({Alphabetic:"0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE03450370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05270531-055605590561-058705B0-05BD05BF05C105C205C405C505C705D0-05EA05F0-05F20610-061A0620-06570659-065F066E-06D306D5-06DC06E1-06E806ED-06EF06FA-06FC06FF0710-073F074D-07B107CA-07EA07F407F507FA0800-0817081A-082C0840-085808A008A2-08AC08E4-08E908F0-08FE0900-093B093D-094C094E-09500955-09630971-09770979-097F0981-09830985-098C098F09900993-09A809AA-09B009B209B6-09B909BD-09C409C709C809CB09CC09CE09D709DC09DD09DF-09E309F009F10A01-0A030A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A3E-0A420A470A480A4B0A4C0A510A59-0A5C0A5E0A70-0A750A81-0A830A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD-0AC50AC7-0AC90ACB0ACC0AD00AE0-0AE30B01-0B030B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D-0B440B470B480B4B0B4C0B560B570B5C0B5D0B5F-0B630B710B820B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BBE-0BC20BC6-0BC80BCA-0BCC0BD00BD70C01-0C030C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D-0C440C46-0C480C4A-0C4C0C550C560C580C590C60-0C630C820C830C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD-0CC40CC6-0CC80CCA-0CCC0CD50CD60CDE0CE0-0CE30CF10CF20D020D030D05-0D0C0D0E-0D100D12-0D3A0D3D-0D440D46-0D480D4A-0D4C0D4E0D570D60-0D630D7A-0D7F0D820D830D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60DCF-0DD40DD60DD8-0DDF0DF20DF30E01-0E3A0E40-0E460E4D0E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB90EBB-0EBD0EC0-0EC40EC60ECD0EDC-0EDF0F000F40-0F470F49-0F6C0F71-0F810F88-0F970F99-0FBC1000-10361038103B-103F1050-10621065-1068106E-1086108E109C109D10A0-10C510C710CD10D0-10FA10FC-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A135F1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA16EE-16F01700-170C170E-17131720-17331740-17531760-176C176E-1770177217731780-17B317B6-17C817D717DC1820-18771880-18AA18B0-18F51900-191C1920-192B1930-19381950-196D1970-19741980-19AB19B0-19C91A00-1A1B1A20-1A5E1A61-1A741AA71B00-1B331B35-1B431B45-1B4B1B80-1BA91BAC-1BAF1BBA-1BE51BE7-1BF11C00-1C351C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF31CF51CF61D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209C21022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E2160-218824B6-24E92C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2CF22CF32D00-2D252D272D2D2D30-2D672D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2DE0-2DFF2E2F3005-30073021-30293031-30353038-303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31BA31F0-31FF3400-4DB54E00-9FCCA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A66EA674-A67BA67F-A697A69F-A6EFA717-A71FA722-A788A78B-A78EA790-A793A7A0-A7AAA7F8-A801A803-A805A807-A80AA80C-A827A840-A873A880-A8C3A8F2-A8F7A8FBA90A-A92AA930-A952A960-A97CA980-A9B2A9B4-A9BFA9CFAA00-AA36AA40-AA4DAA60-AA76AA7AAA80-AABEAAC0AAC2AADB-AADDAAE0-AAEFAAF2-AAF5AB01-AB06AB09-AB0EAB11-AB16AB20-AB26AB28-AB2EABC0-ABEAAC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1D-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",Uppercase:"0041-005A00C0-00D600D8-00DE01000102010401060108010A010C010E01100112011401160118011A011C011E01200122012401260128012A012C012E01300132013401360139013B013D013F0141014301450147014A014C014E01500152015401560158015A015C015E01600162016401660168016A016C016E017001720174017601780179017B017D018101820184018601870189-018B018E-0191019301940196-0198019C019D019F01A001A201A401A601A701A901AC01AE01AF01B1-01B301B501B701B801BC01C401C701CA01CD01CF01D101D301D501D701D901DB01DE01E001E201E401E601E801EA01EC01EE01F101F401F6-01F801FA01FC01FE02000202020402060208020A020C020E02100212021402160218021A021C021E02200222022402260228022A022C022E02300232023A023B023D023E02410243-02460248024A024C024E03700372037603860388-038A038C038E038F0391-03A103A3-03AB03CF03D2-03D403D803DA03DC03DE03E003E203E403E603E803EA03EC03EE03F403F703F903FA03FD-042F04600462046404660468046A046C046E04700472047404760478047A047C047E0480048A048C048E04900492049404960498049A049C049E04A004A204A404A604A804AA04AC04AE04B004B204B404B604B804BA04BC04BE04C004C104C304C504C704C904CB04CD04D004D204D404D604D804DA04DC04DE04E004E204E404E604E804EA04EC04EE04F004F204F404F604F804FA04FC04FE05000502050405060508050A050C050E05100512051405160518051A051C051E05200522052405260531-055610A0-10C510C710CD1E001E021E041E061E081E0A1E0C1E0E1E101E121E141E161E181E1A1E1C1E1E1E201E221E241E261E281E2A1E2C1E2E1E301E321E341E361E381E3A1E3C1E3E1E401E421E441E461E481E4A1E4C1E4E1E501E521E541E561E581E5A1E5C1E5E1E601E621E641E661E681E6A1E6C1E6E1E701E721E741E761E781E7A1E7C1E7E1E801E821E841E861E881E8A1E8C1E8E1E901E921E941E9E1EA01EA21EA41EA61EA81EAA1EAC1EAE1EB01EB21EB41EB61EB81EBA1EBC1EBE1EC01EC21EC41EC61EC81ECA1ECC1ECE1ED01ED21ED41ED61ED81EDA1EDC1EDE1EE01EE21EE41EE61EE81EEA1EEC1EEE1EF01EF21EF41EF61EF81EFA1EFC1EFE1F08-1F0F1F18-1F1D1F28-1F2F1F38-1F3F1F48-1F4D1F591F5B1F5D1F5F1F68-1F6F1FB8-1FBB1FC8-1FCB1FD8-1FDB1FE8-1FEC1FF8-1FFB21022107210B-210D2110-211221152119-211D212421262128212A-212D2130-2133213E213F21452160-216F218324B6-24CF2C00-2C2E2C602C62-2C642C672C692C6B2C6D-2C702C722C752C7E-2C802C822C842C862C882C8A2C8C2C8E2C902C922C942C962C982C9A2C9C2C9E2CA02CA22CA42CA62CA82CAA2CAC2CAE2CB02CB22CB42CB62CB82CBA2CBC2CBE2CC02CC22CC42CC62CC82CCA2CCC2CCE2CD02CD22CD42CD62CD82CDA2CDC2CDE2CE02CE22CEB2CED2CF2A640A642A644A646A648A64AA64CA64EA650A652A654A656A658A65AA65CA65EA660A662A664A666A668A66AA66CA680A682A684A686A688A68AA68CA68EA690A692A694A696A722A724A726A728A72AA72CA72EA732A734A736A738A73AA73CA73EA740A742A744A746A748A74AA74CA74EA750A752A754A756A758A75AA75CA75EA760A762A764A766A768A76AA76CA76EA779A77BA77DA77EA780A782A784A786A78BA78DA790A792A7A0A7A2A7A4A7A6A7A8A7AAFF21-FF3A",Lowercase:"0061-007A00AA00B500BA00DF-00F600F8-00FF01010103010501070109010B010D010F01110113011501170119011B011D011F01210123012501270129012B012D012F01310133013501370138013A013C013E014001420144014601480149014B014D014F01510153015501570159015B015D015F01610163016501670169016B016D016F0171017301750177017A017C017E-0180018301850188018C018D019201950199-019B019E01A101A301A501A801AA01AB01AD01B001B401B601B901BA01BD-01BF01C601C901CC01CE01D001D201D401D601D801DA01DC01DD01DF01E101E301E501E701E901EB01ED01EF01F001F301F501F901FB01FD01FF02010203020502070209020B020D020F02110213021502170219021B021D021F02210223022502270229022B022D022F02310233-0239023C023F0240024202470249024B024D024F-02930295-02B802C002C102E0-02E40345037103730377037A-037D039003AC-03CE03D003D103D5-03D703D903DB03DD03DF03E103E303E503E703E903EB03ED03EF-03F303F503F803FB03FC0430-045F04610463046504670469046B046D046F04710473047504770479047B047D047F0481048B048D048F04910493049504970499049B049D049F04A104A304A504A704A904AB04AD04AF04B104B304B504B704B904BB04BD04BF04C204C404C604C804CA04CC04CE04CF04D104D304D504D704D904DB04DD04DF04E104E304E504E704E904EB04ED04EF04F104F304F504F704F904FB04FD04FF05010503050505070509050B050D050F05110513051505170519051B051D051F05210523052505270561-05871D00-1DBF1E011E031E051E071E091E0B1E0D1E0F1E111E131E151E171E191E1B1E1D1E1F1E211E231E251E271E291E2B1E2D1E2F1E311E331E351E371E391E3B1E3D1E3F1E411E431E451E471E491E4B1E4D1E4F1E511E531E551E571E591E5B1E5D1E5F1E611E631E651E671E691E6B1E6D1E6F1E711E731E751E771E791E7B1E7D1E7F1E811E831E851E871E891E8B1E8D1E8F1E911E931E95-1E9D1E9F1EA11EA31EA51EA71EA91EAB1EAD1EAF1EB11EB31EB51EB71EB91EBB1EBD1EBF1EC11EC31EC51EC71EC91ECB1ECD1ECF1ED11ED31ED51ED71ED91EDB1EDD1EDF1EE11EE31EE51EE71EE91EEB1EED1EEF1EF11EF31EF51EF71EF91EFB1EFD1EFF-1F071F10-1F151F20-1F271F30-1F371F40-1F451F50-1F571F60-1F671F70-1F7D1F80-1F871F90-1F971FA0-1FA71FB0-1FB41FB61FB71FBE1FC2-1FC41FC61FC71FD0-1FD31FD61FD71FE0-1FE71FF2-1FF41FF61FF72071207F2090-209C210A210E210F2113212F21342139213C213D2146-2149214E2170-217F218424D0-24E92C30-2C5E2C612C652C662C682C6A2C6C2C712C732C742C76-2C7D2C812C832C852C872C892C8B2C8D2C8F2C912C932C952C972C992C9B2C9D2C9F2CA12CA32CA52CA72CA92CAB2CAD2CAF2CB12CB32CB52CB72CB92CBB2CBD2CBF2CC12CC32CC52CC72CC92CCB2CCD2CCF2CD12CD32CD52CD72CD92CDB2CDD2CDF2CE12CE32CE42CEC2CEE2CF32D00-2D252D272D2DA641A643A645A647A649A64BA64DA64FA651A653A655A657A659A65BA65DA65FA661A663A665A667A669A66BA66DA681A683A685A687A689A68BA68DA68FA691A693A695A697A723A725A727A729A72BA72DA72F-A731A733A735A737A739A73BA73DA73FA741A743A745A747A749A74BA74DA74FA751A753A755A757A759A75BA75DA75FA761A763A765A767A769A76BA76DA76F-A778A77AA77CA77FA781A783A785A787A78CA78EA791A793A7A1A7A3A7A5A7A7A7A9A7F8-A7FAFB00-FB06FB13-FB17FF41-FF5A",White_Space:"0009-000D0020008500A01680180E2000-200A20282029202F205F3000",Noncharacter_Code_Point:"FDD0-FDEFFFFEFFFF",Default_Ignorable_Code_Point:"00AD034F115F116017B417B5180B-180D200B-200F202A-202E2060-206F3164FE00-FE0FFEFFFFA0FFF0-FFF8",Any:"0000-FFFF",Ascii:"0000-007F",Assigned:"0000-0377037A-037E0384-038A038C038E-03A103A3-05270531-05560559-055F0561-05870589058A058F0591-05C705D0-05EA05F0-05F40600-06040606-061B061E-070D070F-074A074D-07B107C0-07FA0800-082D0830-083E0840-085B085E08A008A2-08AC08E4-08FE0900-09770979-097F0981-09830985-098C098F09900993-09A809AA-09B009B209B6-09B909BC-09C409C709C809CB-09CE09D709DC09DD09DF-09E309E6-09FB0A01-0A030A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A3C0A3E-0A420A470A480A4B-0A4D0A510A59-0A5C0A5E0A66-0A750A81-0A830A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABC-0AC50AC7-0AC90ACB-0ACD0AD00AE0-0AE30AE6-0AF10B01-0B030B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3C-0B440B470B480B4B-0B4D0B560B570B5C0B5D0B5F-0B630B66-0B770B820B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BBE-0BC20BC6-0BC80BCA-0BCD0BD00BD70BE6-0BFA0C01-0C030C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D-0C440C46-0C480C4A-0C4D0C550C560C580C590C60-0C630C66-0C6F0C78-0C7F0C820C830C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBC-0CC40CC6-0CC80CCA-0CCD0CD50CD60CDE0CE0-0CE30CE6-0CEF0CF10CF20D020D030D05-0D0C0D0E-0D100D12-0D3A0D3D-0D440D46-0D480D4A-0D4E0D570D60-0D630D66-0D750D79-0D7F0D820D830D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60DCA0DCF-0DD40DD60DD8-0DDF0DF2-0DF40E01-0E3A0E3F-0E5B0E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB90EBB-0EBD0EC0-0EC40EC60EC8-0ECD0ED0-0ED90EDC-0EDF0F00-0F470F49-0F6C0F71-0F970F99-0FBC0FBE-0FCC0FCE-0FDA1000-10C510C710CD10D0-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A135D-137C1380-139913A0-13F41400-169C16A0-16F01700-170C170E-17141720-17361740-17531760-176C176E-1770177217731780-17DD17E0-17E917F0-17F91800-180E1810-18191820-18771880-18AA18B0-18F51900-191C1920-192B1930-193B19401944-196D1970-19741980-19AB19B0-19C919D0-19DA19DE-1A1B1A1E-1A5E1A60-1A7C1A7F-1A891A90-1A991AA0-1AAD1B00-1B4B1B50-1B7C1B80-1BF31BFC-1C371C3B-1C491C4D-1C7F1CC0-1CC71CD0-1CF61D00-1DE61DFC-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FC41FC6-1FD31FD6-1FDB1FDD-1FEF1FF2-1FF41FF6-1FFE2000-2064206A-20712074-208E2090-209C20A0-20B920D0-20F02100-21892190-23F32400-24262440-244A2460-26FF2701-2B4C2B50-2B592C00-2C2E2C30-2C5E2C60-2CF32CF9-2D252D272D2D2D30-2D672D6F2D702D7F-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2DE0-2E3B2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB3000-303F3041-30963099-30FF3105-312D3131-318E3190-31BA31C0-31E331F0-321E3220-32FE3300-4DB54DC0-9FCCA000-A48CA490-A4C6A4D0-A62BA640-A697A69F-A6F7A700-A78EA790-A793A7A0-A7AAA7F8-A82BA830-A839A840-A877A880-A8C4A8CE-A8D9A8E0-A8FBA900-A953A95F-A97CA980-A9CDA9CF-A9D9A9DEA9DFAA00-AA36AA40-AA4DAA50-AA59AA5C-AA7BAA80-AAC2AADB-AAF6AB01-AB06AB09-AB0EAB11-AB16AB20-AB26AB28-AB2EABC0-ABEDABF0-ABF9AC00-D7A3D7B0-D7C6D7CB-D7FBD800-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1D-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBC1FBD3-FD3FFD50-FD8FFD92-FDC7FDF0-FDFDFE00-FE19FE20-FE26FE30-FE52FE54-FE66FE68-FE6BFE70-FE74FE76-FEFCFEFFFF01-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDCFFE0-FFE6FFE8-FFEEFFF9-FFFD"})}(n),function(e){"use strict";function t(e,t,r,n){return{value:e,name:t,start:r,end:n}}e.matchRecursive=function(r,n,o,s,i){s=s||"",i=i||{};var a,u,l,d,c,p=s.indexOf("g")>-1,h=s.indexOf("y")>-1,f=s.replace(/y/g,""),m=i.escapeChar,b=i.valueNames,v=[],_=0,g=0,y=0,$=0;if(n=e(n,f),o=e(o,f),m){if(m.length>1)throw new SyntaxError("can't use more than one escape character");m=e.escape(m),c=new RegExp("(?:"+m+"[\\S\\s]|(?:(?!"+e.union([n,o]).source+")[^"+m+"])+)+",s.replace(/[^im]+/g,""))}for(;;){if(m&&(y+=(e.exec(r,c,y,"sticky")||[""])[0].length),l=e.exec(r,n,y),d=e.exec(r,o,y),l&&d&&(l.index<=d.index?d=null:l=null),l||d)g=(l||d).index,y=g+(l||d)[0].length;else if(!_)break;if(h&&!_&&g>$)break;if(l)_||(a=g,u=y),++_;else{if(!d||!_)throw new Error("string contains unbalanced delimiters");if(!--_&&(b?(b[0]&&a>$&&v.push(t(b[0],r.slice($,a),$,a)),b[1]&&v.push(t(b[1],r.slice(a,u),a,u)),b[2]&&v.push(t(b[2],r.slice(u,g),u,g)),b[3]&&v.push(t(b[3],r.slice(g,y),g,y))):v.push(r.slice(u,g)),$=y,!p))break}g===y&&++y}return p&&!h&&b&&b[0]&&r.length>$&&v.push(t(b[0],r.slice($),$,r.length)),v}}(n),function(e){"use strict";function t(e){var t=/^(?:\(\?:\))?\^/,r=/\$(?:\(\?:\))?$/;return r.test(e.replace(/\\[\s\S]/g,""))?e.replace(t,"").replace(r,""):e}function r(t){return e.isRegExp(t)?t.xregexp&&!t.xregexp.isNative?t:e(t.source):e(t)}var n=/(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*]/g,o=e.union([/\({{([\w$]+)}}\)|{{([\w$]+)}}/,n],"g");e.build=function(s,i,a){var u,l,d,c,p=/^\(\?([\w$]+)\)/.exec(s),h={},f=0,m=0,b=[0];p&&(a=a||"",p[1].replace(/./g,function(e){a+=a.indexOf(e)>-1?"":e}));for(c in i)i.hasOwnProperty(c)&&(d=r(i[c]),h[c]={pattern:t(d.source),names:d.xregexp.captureNames||[]});return s=r(s),l=s.xregexp.captureNames||[],s=s.source.replace(o,function(e,t,r,o,s){var i,a,d=t||r;if(d){if(!h.hasOwnProperty(d))throw new ReferenceError("undefined property "+e);return t?(i=l[m],b[++m]=++f,a="(?<"+(i||d)+">"):a="(?:",u=f,a+h[d].pattern.replace(n,function(e,t,r){if(t){if(i=h[d].names[f-u],++f,i)return"(?<"+i+">"}else if(r)return"\\"+(+r+u);return e})+")"}if(o){if(i=l[m],b[++m]=++f,i)return"(?<"+i+">"}else if(s)return"\\"+b[+s];return e}),e(s,a)}}(n),function(e){"use strict";function t(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}t(e.prototype,{apply:function(e,t){return this.test(t[0])},call:function(e,t){return this.test(t)},forEach:function(t,r,n){return e.forEach(t,this,r,n)},globalize:function(){return e.globalize(this)},xexec:function(t,r,n){return e.exec(t,this,r,n)},xtest:function(t,r,n){return e.test(t,this,r,n)}})}(n)},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(){var e=v();return e.compile=function(t,r){return d.compile(t,r,e)},e.precompile=function(t,r){return d.precompile(t,r,e)},e.AST=u["default"],e.Compiler=d.Compiler,e.JavaScriptCompiler=p["default"],e.Parser=l.parser,e.parse=l.parse,e}r.__esModule=!0;var s=e("./handlebars.runtime"),i=n(s),a=e("./handlebars/compiler/ast"),u=n(a),l=e("./handlebars/compiler/base"),d=e("./handlebars/compiler/compiler"),c=e("./handlebars/compiler/javascript-compiler"),p=n(c),h=e("./handlebars/compiler/visitor"),f=n(h),m=e("./handlebars/no-conflict"),b=n(m),v=i["default"].create,_=o();_.create=o,b["default"](_),_.Visitor=f["default"],_["default"]=_,r["default"]=_,t.exports=r["default"]},{"./handlebars.runtime":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars.runtime.js","./handlebars/compiler/ast":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js","./handlebars/compiler/base":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js","./handlebars/compiler/compiler":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js","./handlebars/compiler/javascript-compiler":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js","./handlebars/compiler/visitor":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js","./handlebars/no-conflict":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars.runtime.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function s(){var e=new a.HandlebarsEnvironment;return h.extend(e,a),e.SafeString=l["default"],e.Exception=c["default"],e.Utils=h,e.escapeExpression=h.escapeExpression,e.VM=m,e.template=function(t){return m.template(t,e)},e}r.__esModule=!0;var i=e("./handlebars/base"),a=o(i),u=e("./handlebars/safe-string"),l=n(u),d=e("./handlebars/exception"),c=n(d),p=e("./handlebars/utils"),h=o(p),f=e("./handlebars/runtime"),m=o(f),b=e("./handlebars/no-conflict"),v=n(b),_=s();_.create=s,v["default"](_),_["default"]=_,r["default"]=_,t.exports=r["default"]},{"./handlebars/base":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/base.js","./handlebars/exception":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/exception.js","./handlebars/no-conflict":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js","./handlebars/runtime":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/runtime.js","./handlebars/safe-string":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/safe-string.js","./handlebars/utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/utils.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/base.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,r){this.helpers=e||{},this.partials=t||{},this.decorators=r||{},u.registerDefaultHelpers(this),l.registerDefaultDecorators(this)}r.__esModule=!0,r.HandlebarsEnvironment=o;var s=e("./utils"),i=e("./exception"),a=n(i),u=e("./helpers"),l=e("./decorators"),d=e("./logger"),c=n(d),p="4.0.5";r.VERSION=p;var h=7;r.COMPILER_REVISION=h;var f={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"};r.REVISION_CHANGES=f;var m="[object Object]";o.prototype={constructor:o,logger:c["default"],log:c["default"].log,registerHelper:function(e,t){if(s.toString.call(e)===m){if(t)throw new a["default"]("Arg not supported with multiple helpers");s.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(s.toString.call(e)===m)s.extend(this.partials,e);else{if("undefined"==typeof t)throw new a["default"]('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(s.toString.call(e)===m){if(t)throw new a["default"]("Arg not supported with multiple decorators");s.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]}};var b=c["default"].log;r.log=b,r.createFrame=s.createFrame,r.logger=c["default"]},{"./decorators":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/decorators.js","./exception":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/exception.js","./helpers":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/helpers.js","./logger":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/logger.js", -"./utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/utils.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js":[function(e,t,r){"use strict";r.__esModule=!0;var n={helpers:{helperExpression:function(e){return"SubExpression"===e.type||("MustacheStatement"===e.type||"BlockStatement"===e.type)&&!!(e.params&&e.params.length||e.hash)},scopedId:function(e){return/^\.|this\b/.test(e.original)},simpleId:function(e){return 1===e.parts.length&&!n.helpers.scopedId(e)&&!e.depth}}};r["default"]=n,t.exports=r["default"]},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js":[function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){if("Program"===e.type)return e;a["default"].yy=h,h.locInfo=function(e){return new h.SourceLocation(t&&t.srcName,e)};var r=new l["default"](t);return r.accept(a["default"].parse(e))}r.__esModule=!0,r.parse=s;var i=e("./parser"),a=o(i),u=e("./whitespace-control"),l=o(u),d=e("./helpers"),c=n(d),p=e("../utils");r.parser=a["default"];var h={};p.extend(h,c)},{"../utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/utils.js","./helpers":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js","./parser":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js","./whitespace-control":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js":[function(e,t,r){"use strict";function n(e,t,r){if(s.isArray(e)){for(var n=[],o=0,i=e.length;o1)throw new d["default"]("Unsupported number of partial arguments: "+r.length,e);r.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):r.push({type:"PathExpression",parts:[],depth:0}));var n=e.name.original,o="SubExpression"===e.name.type;o&&this.accept(e.name),this.setupFullMustacheParams(e,t,void 0,!0);var s=e.indent||"";this.options.preventIndent&&s&&(this.opcode("appendContent",s),s=""),this.opcode("invokePartial",o,n,s),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){u(e);var t=this.classifySexpr(e);"simple"===t?this.simpleSexpr(e):"helper"===t?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,t,r){var n=e.path,o=n.parts[0],s=null!=t||null!=r;this.opcode("getContext",n.depth),this.opcode("pushProgram",t),this.opcode("pushProgram",r),n.strict=!0,this.accept(n),this.opcode("invokeAmbiguous",o,s)},simpleSexpr:function(e){var t=e.path;t.strict=!0,this.accept(t),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,t,r){var n=this.setupFullMustacheParams(e,t,r),o=e.path,s=o.parts[0];if(this.options.knownHelpers[s])this.opcode("invokeKnownHelper",n.length,s);else{if(this.options.knownHelpersOnly)throw new d["default"]("You specified knownHelpersOnly, but used the unknown helper "+s,e);o.strict=!0,o.falsy=!0,this.accept(o),this.opcode("invokeHelper",n.length,o.original,h["default"].helpers.simpleId(o))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var t=e.parts[0],r=h["default"].helpers.scopedId(e),n=!e.depth&&!r&&this.blockParamIndex(t);n?this.opcode("lookupBlockParam",n,e.parts):t?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,r):this.opcode("pushContext")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(e){var t=e.pairs,r=0,n=t.length;for(this.opcode("pushHash");r=0)return[t,o]}}}},{"../exception":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/exception.js","../utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/utils.js","./ast":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(t=t.path?t.path.original:t,e.path.original!==t){var r={loc:e.path.loc};throw new b["default"](e.path.original+" doesn't match "+t,r)}}function s(e,t){this.source=e,this.start={line:t.first_line,column:t.first_column},this.end={line:t.last_line,column:t.last_column}}function i(e){return/^\[.*\]$/.test(e)?e.substr(1,e.length-2):e}function a(e,t){return{open:"~"===e.charAt(2),close:"~"===t.charAt(t.length-3)}}function u(e){return e.replace(/^\{\{~?\!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function l(e,t,r){r=this.locInfo(r);for(var n=e?"@":"",o=[],s=0,i="",a=0,u=t.length;a0)throw new b["default"]("Invalid path: "+n,{loc:r});".."===l&&(s++,i+="../")}}return{type:"PathExpression",data:e,depth:s,parts:o,original:n,loc:r}}function d(e,t,r,n,o,s){var i=n.charAt(3)||n.charAt(2),a="{"!==i&&"&"!==i,u=/\*/.test(n);return{type:u?"Decorator":"MustacheStatement",path:e,params:t,hash:r,escaped:a,strip:o,loc:this.locInfo(s)}}function c(e,t,r,n){o(e,r),n=this.locInfo(n);var s={type:"Program",body:t,strip:{},loc:n};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:s,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}function p(e,t,r,n,s,i){n&&n.path&&o(e,n);var a=/\*/.test(e.open);t.blockParams=e.blockParams;var u=void 0,l=void 0;if(r){if(a)throw new b["default"]("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),l=r.strip,u=r.program}return s&&(s=u,u=t,t=s),{type:a?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:u,openStrip:e.strip,inverseStrip:l,closeStrip:n&&n.strip,loc:this.locInfo(i)}}function h(e,t){if(!t&&e.length){var r=e[0].loc,n=e[e.length-1].loc;r&&n&&(t={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:e,strip:{},loc:t}}function f(e,t,r,n){return o(e,r),{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:r&&r.strip,loc:this.locInfo(n)}}r.__esModule=!0,r.SourceLocation=s,r.id=i,r.stripFlags=a,r.stripComment=u,r.preparePath=l,r.prepareMustache=d,r.prepareRawBlock=c,r.prepareBlock=p,r.prepareProgram=h,r.preparePartialBlock=f;var m=e("../exception"),b=n(m)},{"../exception":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/exception.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){this.value=e}function s(){}function i(e,t,r,n){var o=t.popStack(),s=0,i=r.length;for(e&&i--;s0&&(t+=", "+r.join(", "));var n=0;for(var o in this.aliases){var s=this.aliases[o];this.aliases.hasOwnProperty(o)&&s.children&&s.referenceCount>1&&(t+=", alias"+ ++n+"="+o,s.children[0]="alias"+n)}var i=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&i.push("blockParams"),this.useDepths&&i.push("depths");var a=this.mergeSource(t);return e?(i.push(a),Function.apply(this,i)):this.source.wrap(["function(",i.join(","),") {\n ",a,"}"])},mergeSource:function(e){var t=this.environment.isSimple,r=!this.forceBuffer,n=void 0,o=void 0,s=void 0,i=void 0;return this.source.each(function(e){e.appendToBuffer?(s?e.prepend(" + "):s=e,i=e):(s&&(o?s.prepend("buffer += "):n=!0,i.add(";"),s=i=void 0),o=!0,t||(r=!1))}),r?s?(s.prepend("return "),i.add(";")):o||this.source.push('return "";'):(e+=", buffer = "+(n?"":this.initializeBuffer()),s?(s.prepend("return buffer + "),i.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(n?"":";\n")),this.source.merge()},blockValue:function(e){var t=this.aliasable("helpers.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs(e,0,r);var n=this.popStack();r.splice(1,0,n),this.push(this.source.functionCall(t,"call",r))},ambiguousBlockValue:function(){var e=this.aliasable("helpers.blockHelperMissing"),t=[this.contextName(0)];this.setupHelperArgs("",0,t,!0),this.flushInline();var r=this.topStack();t.splice(1,0,r),this.pushSource(["if (!",this.lastHelper,") { ",r," = ",this.source.functionCall(e,"call",t),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack(function(e){return[" != null ? ",e,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,t,r,n){var o=0;n||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(e[o++])),this.resolvePath("context",e,o,t,r)},lookupBlockParam:function(e,t){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",t,1)},lookupData:function(e,t,r){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",t,0,!0,r)},resolvePath:function(e,t,r,n,o){var s=this;if(this.options.strict||this.options.assumeObjects)return void this.push(i(this.options.strict&&o,this,t,e));for(var a=t.length;rthis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var t=0,r=e.length;t2&&$.push("'"+this.terminals_[_]+"'");x=this.lexer.showPosition?"Parse error on line "+(u+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+$.join(", ")+", got '"+(this.terminals_[h]||h)+"'":"Parse error on line "+(u+1)+": Unexpected "+(1==h?"end of input":"'"+(this.terminals_[h]||h)+"'"),this.parseError(x,{text:this.lexer.match,token:this.terminals_[h]||h,line:this.lexer.yylineno,loc:c,expected:$})}}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+h);switch(b[0]){case 1:n.push(h),o.push(this.lexer.yytext),s.push(this.lexer.yylloc),n.push(b[1]),h=null,f?(h=f,f=null):(l=this.lexer.yyleng,a=this.lexer.yytext,u=this.lexer.yylineno,c=this.lexer.yylloc,d>0&&d--);break;case 2:if(g=this.productions_[b[1]][1],w.$=o[o.length-g],w._$={first_line:s[s.length-(g||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(g||1)].first_column,last_column:s[s.length-1].last_column},p&&(w._$.range=[s[s.length-(g||1)].range[0],s[s.length-1].range[1]]),v=this.performAction.call(w,a,l,u,this.yy,b[1],o,s),"undefined"!=typeof v)return v;g&&(n=n.slice(0,-1*g*2),o=o.slice(0,-1*g),s=s.slice(0,-1*g)),n.push(this.productions_[b[1]][0]),o.push(w.$),s.push(w._$),y=i[n[n.length-2]][n[n.length-1]],n.push(y);break;case 3:return!0}}return!0}},r=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e;var t=e.match(/(?:\r\n?|\n).*/g);return t?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,r=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t-1),this.offset-=t;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===n.length?this.yylloc.first_column:0)+n[n.length-r.length].length-r[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-t]),this},more:function(){return this._more=!0,this},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,r,n,o;this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),i=0;it[0].length)||(t=r,n=i,this.options.flex));i++);return t?(o=t[0].match(/(?:\r\n?|\n).*/g),o&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,s[n],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e?e:void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return"undefined"!=typeof e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)}};return e.options={},e.performAction=function(e,t,r,n){function o(e,r){return t.yytext=t.yytext.substr(e,t.yyleng-r)}switch(r){case 0:if("\\\\"===t.yytext.slice(-2)?(o(0,1),this.begin("mu")):"\\"===t.yytext.slice(-1)?(o(0,1),this.begin("emu")):this.begin("mu"),t.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(t.yytext=t.yytext.substr(5,t.yyleng-9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(t.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return t.yytext=o(1,2).replace(/\\"/g,'"'),80;case 32:return t.yytext=o(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return t.yytext=t.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},e.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]*?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],e.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},e}();return t.lexer=r,e.prototype=t,t.Parser=e,new e}();r.__esModule=!0,r["default"]=n},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){return(new s).accept(e)}function s(){this.padding=0}r.__esModule=!0,r.print=o,r.PrintVisitor=s;var i=e("./visitor"),a=n(i);s.prototype=new a["default"],s.prototype.pad=function(e){for(var t="",r=0,n=this.padding;r "+t+" }}")},s.prototype.PartialBlockStatement=function(e){var t="PARTIAL BLOCK:"+e.name.original;return e.params[0]&&(t+=" "+this.accept(e.params[0])),e.hash&&(t+=" "+this.accept(e.hash)),t+=" "+this.pad("PROGRAM:"),this.padding++,t+=this.accept(e.program),this.padding--,this.pad("{{> "+t+" }}")},s.prototype.ContentStatement=function(e){return this.pad("CONTENT[ '"+e.value+"' ]")},s.prototype.CommentStatement=function(e){return this.pad("{{! '"+e.value+"' }}")},s.prototype.SubExpression=function(e){for(var t=e.params,r=[],n=void 0,o=0,s=t.length;o0?(r.ids&&(r.ids=[r.name]),e.helpers.each(t,r)):o(this);if(r.data&&r.ids){var i=n.createFrame(r.data);i.contextPath=n.appendContextPath(r.data.contextPath,r.name),r={data:i}}return s(t,r)})},t.exports=r["default"]},{"../utils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/utils.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}r.__esModule=!0;var o=e("../utils"),s=e("../exception"),i=n(s);r["default"]=function(e){e.registerHelper("each",function(e,t){function r(t,r,s){l&&(l.key=t,l.index=r,l.first=0===r,l.last=!!s,d&&(l.contextPath=d+t)),u+=n(e[t],{data:l,blockParams:o.blockParams([e[t],t],[d+t,null])})}if(!t)throw new i["default"]("Must pass iterator to #each");var n=t.fn,s=t.inverse,a=0,u="",l=void 0,d=void 0;if(t.data&&t.ids&&(d=o.appendContextPath(t.data.contextPath,t.ids[0])+"."),o.isFunction(e)&&(e=e.call(this)),t.data&&(l=o.createFrame(t.data)),e&&"object"==typeof e)if(o.isArray(e))for(var c=e.length;a=0?t:parseInt(e,10)}return e},log:function(e){if(e=o.lookupLevel(e),"undefined"!=typeof console&&o.lookupLevel(o.level)<=e){var t=o.methodMap[e];console[t]||(t="log");for(var r=arguments.length,n=Array(r>1?r-1:0),s=1;s":">",'"':""","'":"'","`":"`","=":"="},p=/[&<>"'`=]/g,h=/[&<>"'`=]/,f=Object.prototype.toString;r.toString=f;var m=function(e){return"function"==typeof e};m(/x/)&&(r.isFunction=m=function(e){return"function"==typeof e&&"[object Function]"===f.call(e)}),r.isFunction=m;var b=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===f.call(e)};r.isArray=b},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/lib/index.js":[function(e,t,r){function n(t,r){var n=e("fs"),s=n.readFileSync(r,"utf8");t.exports=o.compile(s)}var o=e("../dist/cjs/handlebars")["default"],s=e("../dist/cjs/handlebars/compiler/printer");o.PrintVisitor=s.PrintVisitor,o.print=s.print,t.exports=o,"undefined"!=typeof e&&e.extensions&&(e.extensions[".handlebars"]=n,e.extensions[".hbs"]=n)},{"../dist/cjs/handlebars":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars.js","../dist/cjs/handlebars/compiler/printer":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js",fs:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/lib/_empty.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/node_modules/source-map/lib/source-map.js":[function(e,t,r){r.SourceMapGenerator=e("./source-map/source-map-generator").SourceMapGenerator,r.SourceMapConsumer=e("./source-map/source-map-consumer").SourceMapConsumer,r.SourceNode=e("./source-map/source-node").SourceNode},{"./source-map/source-map-consumer":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/node_modules/source-map/lib/source-map/source-map-consumer.js","./source-map/source-map-generator":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/node_modules/source-map/lib/source-map/source-map-generator.js","./source-map/source-node":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/node_modules/source-map/lib/source-map/source-node.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/node_modules/source-map/lib/source-map/array-set.js":[function(e,t,r){if("function"!=typeof n)var n=e("amdefine")(t,e);n(function(e,t,r){function n(){this._array=[],this._set={}}var o=e("./util");n.fromArray=function(e,t){for(var r=new n,o=0,s=e.length;o=0&&e>1;return t?-r:r}var s=e("./base64"),i=5,a=1<>>=i,o>0&&(t|=l),r+=s.encode(t);while(o>0);return r},t.decode=function(e,t,r){var n,a,d=e.length,c=0,p=0;do{if(t>=d)throw new Error("Expected more digits in base 64 VLQ value.");if(a=s.decode(e.charCodeAt(t++)),a===-1)throw new Error("Invalid base64 digit: "+e.charAt(t-1));n=!!(a&l),a&=u,c+=a<0?r-u>1?n(u,r,o,s,i,a):a==t.LEAST_UPPER_BOUND?r1?n(e,u,o,s,i,a):a==t.LEAST_UPPER_BOUND?u:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,r,o,s){if(0===r.length)return-1;var i=n(-1,r.length,e,r,o,s||t.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&0===o(r[i],r[i-1],!0);)--i;return i}})},{amdefine:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/node_modules/source-map/node_modules/amdefine/amdefine.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/node_modules/source-map/lib/source-map/mapping-list.js":[function(e,t,r){if("function"!=typeof n)var n=e("amdefine")(t,e);n(function(e,t,r){function n(e,t){var r=e.generatedLine,n=t.generatedLine,o=e.generatedColumn,i=t.generatedColumn;return n>r||n==r&&i>=o||s.compareByGeneratedPositionsInflated(e,t)<=0}function o(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var s=e("./util");o.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},o.prototype.add=function(e){n(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},o.prototype.toArray=function(){return this._sorted||(this._array.sort(s.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=o})},{"./util":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/node_modules/source-map/lib/source-map/util.js",amdefine:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/node_modules/source-map/node_modules/amdefine/amdefine.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/node_modules/source-map/lib/source-map/quick-sort.js":[function(e,t,r){if("function"!=typeof n)var n=e("amdefine")(t,e);n(function(e,t,r){function n(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function o(e,t){return Math.round(e+Math.random()*(t-e))}function s(e,t,r,i){if(r=0){var s=this._originalMappings[o];if(void 0===e.column)for(var i=s.originalLine;s&&s.originalLine===i;)n.push({line:a.getArg(s,"generatedLine",null),column:a.getArg(s,"generatedColumn",null),lastColumn:a.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++o];else for(var l=s.originalColumn;s&&s.originalLine===t&&s.originalColumn==l;)n.push({line:a.getArg(s,"generatedLine",null),column:a.getArg(s,"generatedColumn",null),lastColumn:a.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++o]}return n},t.SourceMapConsumer=n,o.prototype=Object.create(n.prototype),o.prototype.consumer=n,o.fromSourceMap=function(e){var t=Object.create(o.prototype),r=t._names=l.fromArray(e._names.toArray(),!0),n=t._sources=l.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var i=e._mappings.toArray().slice(),u=t.__generatedMappings=[],d=t.__originalMappings=[],p=0,h=i.length;p1&&(r.source=m+o[1],m+=o[1],r.originalLine=h+o[2],h=r.originalLine,r.originalLine+=1,r.originalColumn=f+o[3],f=r.originalColumn,o.length>4&&(r.name=b+o[4],b+=o[4])),w.push(r),"number"==typeof r.originalLine&&$.push(r)}c(w,a.compareByGeneratedPositionsDeflated),this.__generatedMappings=w,c($,a.compareByOriginalPositions),this.__originalMappings=$},o.prototype._findMapping=function(e,t,r,n,o,s){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]); -if(e[n]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[n]);return u.search(e,t,o,s)},o.prototype.computeColumnSpans=function(){for(var e=0;e=0){var o=this._generatedMappings[r];if(o.generatedLine===t.generatedLine){var s=a.getArg(o,"source",null);null!==s&&(s=this._sources.at(s),null!=this.sourceRoot&&(s=a.join(this.sourceRoot,s)));var i=a.getArg(o,"name",null);return null!==i&&(i=this._names.at(i)),{source:s,line:a.getArg(o,"originalLine",null),column:a.getArg(o,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},o.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=a.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var r;if(null!=this.sourceRoot&&(r=a.urlParse(this.sourceRoot))){var n=e.replace(/^file:\/\//,"");if("file"==r.scheme&&this._sources.has(n))return this.sourcesContent[this._sources.indexOf(n)];if((!r.path||"/"==r.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(e){var t=a.getArg(e,"source");if(null!=this.sourceRoot&&(t=a.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};t=this._sources.indexOf(t);var r={source:t,originalLine:a.getArg(e,"line"),originalColumn:a.getArg(e,"column")},o=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",a.compareByOriginalPositions,a.getArg(e,"bias",n.GREATEST_LOWER_BOUND));if(o>=0){var s=this._originalMappings[o];if(s.source===r.source)return{line:a.getArg(s,"generatedLine",null),column:a.getArg(s,"generatedColumn",null),lastColumn:a.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},t.BasicSourceMapConsumer=o,i.prototype=Object.create(n.prototype),i.prototype.constructor=n,i.prototype._version=3,Object.defineProperty(i.prototype,"sources",{get:function(){for(var e=[],t=0;t0&&e.column>=0)||t||r||n)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:n}))},n.prototype._serializeMappings=function(){for(var e,t=0,r=1,n=0,i=0,a=0,u=0,l="",d=this._mappings.toArray(),c=0,p=d.length;c0){if(!s.compareByGeneratedPositionsInflated(e,d[c-1]))continue;l+=","}l+=o.encode(e.generatedColumn-t),t=e.generatedColumn,null!=e.source&&(l+=o.encode(this._sources.indexOf(e.source)-u),u=this._sources.indexOf(e.source),l+=o.encode(e.originalLine-1-i),i=e.originalLine-1,l+=o.encode(e.originalColumn-n),n=e.originalColumn,null!=e.name&&(l+=o.encode(this._names.indexOf(e.name)-a),a=this._names.indexOf(e.name)))}return l},n.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=s.relative(t,e));var r=s.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},n.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},n.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=n})},{"./array-set":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/node_modules/source-map/lib/source-map/array-set.js","./base64-vlq":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/node_modules/source-map/lib/source-map/base64-vlq.js","./mapping-list":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/node_modules/source-map/lib/source-map/mapping-list.js","./util":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/node_modules/source-map/lib/source-map/util.js",amdefine:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/node_modules/source-map/node_modules/amdefine/amdefine.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/node_modules/source-map/lib/source-map/source-node.js":[function(e,t,r){if("function"!=typeof n)var n=e("amdefine")(t,e);n(function(e,t,r){function n(e,t,r,n,o){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==r?null:r,this.name=null==o?null:o,this[u]=!0,null!=n&&this.add(n)}var o=e("./source-map-generator").SourceMapGenerator,s=e("./util"),i=/(\r?\n)/,a=10,u="$$$isSourceNode$$$";n.fromStringWithSourceMap=function(e,t,r){function o(e,t){if(null===e||void 0===e.source)a.add(t);else{var o=r?s.join(r,e.source):e.source;a.add(new n(e.originalLine,e.originalColumn,o,t,e.name))}}var a=new n,u=e.split(i),l=function(){var e=u.shift(),t=u.shift()||"";return e+t},d=1,c=0,p=null;return t.eachMapping(function(e){if(null!==p){if(!(d0&&(p&&o(p,l()),a.add(u.join(""))),t.sources.forEach(function(e){var n=t.sourceContentFor(e);null!=n&&(null!=r&&(e=s.join(r,e)),a.setSourceContent(e,n))}),a},n.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[u]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},n.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[u]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},n.prototype.walk=function(e){for(var t,r=0,n=this.children.length;r0){for(t=[],r=0;r=0;l--)n=a[l],"."===n?a.splice(l,1):".."===n?u++:u>0&&(""===n?(a.splice(l+1,u),u=0):(a.splice(l,2),u--));return t=a.join("/"),""===t&&(t=i?"/":"."),r?(r.path=t,s(r)):t}function a(e,t){""===e&&(e="."),""===t&&(t=".");var r=o(t),n=o(e);if(n&&(e=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),s(r);if(r||t.match(b))return t;if(n&&!n.host&&!n.path)return n.host=t,s(n);var a="/"===t.charAt(0)?t:i(e.replace(/\/+$/,"")+"/"+t);return n?(n.path=a,s(n)):a}function u(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==t.indexOf(e+"/");){var n=e.lastIndexOf("/");if(n<0)return t;if(e=e.slice(0,n),e.match(/^([^\/]+:\/)?\/*$/))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)}function l(e){return"$"+e}function d(e){return e.substr(1)}function c(e,t,r){var n=e.source-t.source;return 0!==n?n:(n=e.originalLine-t.originalLine,0!==n?n:(n=e.originalColumn-t.originalColumn,0!==n||r?n:(n=e.generatedColumn-t.generatedColumn,0!==n?n:(n=e.generatedLine-t.generatedLine,0!==n?n:e.name-t.name))))}function p(e,t,r){var n=e.generatedLine-t.generatedLine;return 0!==n?n:(n=e.generatedColumn-t.generatedColumn,0!==n||r?n:(n=e.source-t.source,0!==n?n:(n=e.originalLine-t.originalLine,0!==n?n:(n=e.originalColumn-t.originalColumn,0!==n?n:e.name-t.name))))}function h(e,t){return e===t?0:e>t?1:-1}function f(e,t){var r=e.generatedLine-t.generatedLine;return 0!==r?r:(r=e.generatedColumn-t.generatedColumn,0!==r?r:(r=h(e.source,t.source),0!==r?r:(r=e.originalLine-t.originalLine,0!==r?r:(r=e.originalColumn-t.originalColumn,0!==r?r:h(e.name,t.name)))))}t.getArg=n;var m=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,b=/^data:.+\,.+$/;t.urlParse=o,t.urlGenerate=s,t.normalize=i,t.join=a,t.relative=u,t.toSetString=l,t.fromSetString=d,t.compareByOriginalPositions=c,t.compareByGeneratedPositionsDeflated=p,t.compareByGeneratedPositionsInflated=f})},{amdefine:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/node_modules/source-map/node_modules/amdefine/amdefine.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/handlebars/node_modules/source-map/node_modules/amdefine/amdefine.js":[function(e,t,r){(function(r,n){"use strict";function o(t,o){function s(e){var t,r;for(t=0;e[t];t+=1)if(r=e[t],"."===r)e.splice(t,1),t-=1;else if(".."===r){if(1===t&&(".."===e[2]||".."===e[0]))break;t>0&&(e.splice(t-1,2),t-=2)}}function i(e,t){var r;return e&&"."===e.charAt(0)&&t&&(r=t.split("/"),r=r.slice(0,r.length-1),r=r.concat(e.split("/")),s(r),e=r.join("/")),e}function a(e){return function(t){return i(t,e)}}function u(e){function t(t){f[e]=t}return t.fromText=function(e,t){throw new Error("amdefine does not implement load.fromText")},t}function l(e,r,s){var i,a,u,l;if(e)a=f[e]={},u={id:e,uri:n,exports:a},i=c(o,a,u,e);else{if(m)throw new Error("amdefine with no module ID cannot be called more than once per file.");m=!0,a=t.exports,u=t,i=c(o,a,u,t.id)}r&&(r=r.map(function(e){return i(e)})),l="function"==typeof s?s.apply(u.exports,r):s,void 0!==l&&(u.exports=l,e&&(f[e]=u.exports))}function d(e,t,r){Array.isArray(e)?(r=t,t=e,e=void 0):"string"!=typeof e&&(r=e,e=t=void 0),t&&!Array.isArray(t)&&(r=t,t=void 0),t||(t=["require","exports","module"]),e?h[e]=[e,t,r]:l(e,t,r)}var c,p,h={},f={},m=!1,b=e("path");return c=function(e,t,n,o){function s(s,i){return"string"==typeof s?p(e,t,n,s,o):(s=s.map(function(r){return p(e,t,n,r,o)}),void(i&&r.nextTick(function(){i.apply(null,s)})))}return s.toUrl=function(e){return 0===e.indexOf(".")?i(e,b.dirname(n.filename)):e},s},o=o||function(){return t.require.apply(t,arguments)},p=function(e,t,r,n,o){var s,d,m=n.indexOf("!"),b=n;if(m===-1){if(n=i(n,o),"require"===n)return c(e,t,r,o);if("exports"===n)return t;if("module"===n)return r;if(f.hasOwnProperty(n))return f[n];if(h[n])return l.apply(null,h[n]),f[n];if(e)return e(b);throw new Error("No module with ID: "+n)}return s=n.substring(0,m),n=n.substring(m+1,n.length),d=p(e,t,r,s,o),n=d.normalize?d.normalize(n,a(o)):i(n,o),f[n]?f[n]:(d.load(n,c(e,t,r,o),u(n),{}),f[n])},d.require=function(e){return f[e]?f[e]:h[e]?(l.apply(null,h[e]),f[e]):void 0},d.amd={},d}t.exports=o}).call(this,e("_process"),"/node_modules/hubpress-plugin-template/node_modules/handlebars/node_modules/source-map/node_modules/amdefine/amdefine.js")},{_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js",path:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/path-browserify/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/hubpress-core-slugify/lib/slugify.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/hubpress-core-slugify/lib/slugify.js"][0].apply(r,arguments)},{string:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/hubpress-core-slugify/node_modules/string/lib/string.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/hubpress-core-slugify/node_modules/string/lib/_count.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/hubpress-core-slugify/node_modules/string/lib/_count.js"][0].apply(r,arguments)},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/hubpress-core-slugify/node_modules/string/lib/_splitLeft.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/hubpress-core-slugify/node_modules/string/lib/_splitLeft.js"][0].apply(r,arguments)},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/hubpress-core-slugify/node_modules/string/lib/_splitRight.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/hubpress-core-slugify/node_modules/string/lib/_splitRight.js"][0].apply(r,arguments)},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/hubpress-core-slugify/node_modules/string/lib/string.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/hubpress-core-slugify/node_modules/string/lib/string.js"][0].apply(r,arguments)},{"./_count":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/hubpress-core-slugify/node_modules/string/lib/_count.js","./_splitLeft":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/hubpress-core-slugify/node_modules/string/lib/_splitLeft.js","./_splitRight":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/hubpress-core-slugify/node_modules/string/lib/_splitRight.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-template/node_modules/moment/moment.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/hubpress-plugin-asciidoc/node_modules/moment/moment.js"][0].apply(r,arguments)},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/_getPrototype.js":[function(e,t,r){function n(e){return o(Object(e))}var o=Object.getPrototypeOf;t.exports=n},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/_isHostObject.js":[function(e,t,r){function n(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(r){}return t}t.exports=n},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/isObjectLike.js":[function(e,t,r){function n(e){return!!e&&"object"==typeof e}t.exports=n},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/isPlainObject.js":[function(e,t,r){function n(e){if(!i(e)||p.call(e)!=a||s(e))return!1;var t=o(e);if(null===t)return!0;var r=d.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==c}var o=e("./_getPrototype"),s=e("./_isHostObject"),i=e("./isObjectLike"),a="[object Object]",u=Object.prototype,l=Function.prototype.toString,d=u.hasOwnProperty,c=l.call(Object),p=u.toString;t.exports=n},{"./_getPrototype":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/_getPrototype.js","./_isHostObject":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/_isHostObject.js","./isObjectLike":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/isObjectLike.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/lodash/lodash.js":[function(e,t,r){(function(e){(function(){function n(e,t){return e.set(t[0],t[1]),e}function o(e,t){return e.add(t),e}function s(e,t,r){var n=r.length;switch(n){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function i(e,t,r,n){for(var o=-1,s=e?e.length:0;++o-1}function p(e,t,r){for(var n=-1,o=e?e.length:0;++n-1;);return r}function D(e,t){for(var r=e.length;r--&&y(t,e[r],0)>-1;);return r}function O(e){return e&&e.Object===Object?e:null}function H(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&n++;return n}function F(e){return Cr[e]}function M(e){return jr[e]}function R(e){return"\\"+Ar[e]}function B(e,t){return null==e?X:e[t]}function I(e,t,r){for(var n=e.length,o=t+(r?1:-1);r?o--:++o-1}function Kt(e,t){var r=this.__data__,n=hr(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}function Yt(e){var t=-1,r=e?e.length:0;for(this.clear();++t=t?e:t)),e}function jr(e,t,r,n,o,s,i){var u;if(n&&(u=s?n(e,o,s,i):n(e)),u!==X)return u;if(!va(e))return e;var l=bc(e);if(l){if(u=Wo(e),!t)return ro(e,u)}else{var d=qo(e),c=d==Oe||d==He;if(vc(e))return zn(e,t);if(d==Re||d==Te||c&&!s){if(N(e))return s?e:{};if(u=Vo(c?{}:e),!t)return oo(e,mr(u,e))}else{if(!Pr[d])return s?e:{};u=Go(e,d,jr,t)}}i||(i=new or);var p=i.get(e);if(p)return p;if(i.set(e,u),!l)var h=r?Do(e):nu(e);return a(h||e,function(o,s){h&&(s=o,o=e[s]),pr(u,s,jr(o,t,r,n,s,e,i))}),u}function Tr(e){var t=nu(e),r=t.length;return function(n){if(null==n)return!r;for(var o=r;o--;){var s=t[o],i=e[s],a=n[s];if(a===X&&!(s in Object(n))||!i(a))return!1}return!0}}function Ar(e){return va(e)?ql(e):{}}function Dr(e,t,r){if("function"!=typeof e)throw new wl(Q);return Wl(function(){e.apply(X,r)},t)}function Or(e,t,r,n){var o=-1,s=c,i=!0,a=e.length,u=[],l=t.length;if(!a)return u;r&&(t=h(t,T(r))),n?(s=p,i=!1):t.length>=J&&(s=S,i=!1,t=new tr(t));e:for(;++oo?0:o+r),n=n===X||n>o?o:Ia(n),n<0&&(n+=o),n=r>n?0:Na(n);r0&&r(a)?t>1?Lr(a,t-1,r,n,o):f(o,a):n||(o[o.length]=a)}return o}function qr(e,t){return e&&Ed(e,t,nu)}function Ur(e,t){return e&&Pd(e,t,nu)}function zr(e,t){return d(t,function(t){return fa(e[t])})}function Wr(e,t){t=Qo(t,e)?[t]:qn(t);for(var r=0,n=t.length;null!=e&&rt}function Kr(e,t){return null!=e&&(Al.call(e,t)||"object"==typeof e&&t in e&&null===No(e))}function Yr(e,t){return null!=e&&t in Object(e)}function Xr(e,t,r){return e>=Ql(t,r)&&e=120&&d.length>=120)?new tr(i&&d):X}d=e[0];var f=-1,m=a[0];e:for(;++f-1;)a!==e&&zl.call(a,u,1),zl.call(e,u,1);return e}function $n(e,t){for(var r=e?t.length:0,n=r-1;r--;){var o=t[r];if(r==n||o!==s){var s=o;if(Zo(o))zl.call(e,o,1);else if(Qo(o,e))delete e[ds(o)];else{var i=qn(o),a=us(e,i);null!=a&&delete a[ds(ks(i))]}}}return e}function wn(e,t){return e+Gl(td()*(t-e+1))}function xn(e,t,r,n){for(var o=-1,s=Jl(Vl((t-e)/(r||1)),0),i=Array(s);s--;)i[n?s:++o]=e,e+=r;return i}function En(e,t){var r="";if(!e||t<1||t>we)return r;do t%2&&(r+=e),t=Gl(t/2),t&&(e+=e);while(t);return r}function Pn(e,t,r,n){t=Qo(t,e)?[t]:qn(t);for(var o=-1,s=t.length,i=s-1,a=e;null!=a&&++oo?0:o+t),r=r>o?o:r,r<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var s=Array(o);++n>>1,i=e[s];null!==i&&!Da(i)&&(r?i<=t:i=J){var l=t?null:jd(e);if(l)return z(l);i=!1,o=S,u=new tr}else u=t?[]:a;e:for(;++n=n?e:Cn(e,t,r)}function zn(e,t){if(t)return e.slice();var r=new e.constructor(e.length);return e.copy(r),r}function Wn(e){var t=new e.constructor(e.byteLength);return new Bl(t).set(new Bl(e)),t}function Vn(e,t){var r=t?Wn(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}function Gn(e,t,r){var o=t?r(q(e),!0):q(e);return m(o,n,new e.constructor)}function Kn(e){var t=new e.constructor(e.source,xt.exec(e));return t.lastIndex=e.lastIndex,t}function Yn(e,t,r){var n=t?r(z(e),!0):z(e);return m(n,o,new e.constructor)}function Xn(e){return yd?Object(yd.call(e)):{}}function Zn(e,t){var r=t?Wn(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function Jn(e,t){if(e!==t){var r=e!==X,n=null===e,o=e===e,s=Da(e),i=t!==X,a=null===t,u=t===t,l=Da(t);if(!a&&!l&&!s&&e>t||s&&i&&u&&!a&&!l||n&&i&&u||!r&&u||!o)return 1;if(!n&&!s&&!l&&e=a)return u;var l=r[n];return u*("desc"==l?-1:1)}}return e.index-t.index}function eo(e,t,r,n){for(var o=-1,s=e.length,i=r.length,a=-1,u=t.length,l=Jl(s-i,0),d=Array(u+l),c=!n;++a1?r[o-1]:X,i=o>2?r[2]:X;for(s=e.length>3&&"function"==typeof s?(o--,s):X,i&&Jo(r[0],r[1],i)&&(s=o<3?X:s,o=1),t=Object(t);++n-1?t[s?s[i]:i]:X}}function bo(e){return Wi(function(t){t=Lr(t,1);var r=t.length,n=r,o=O.prototype.thru;for(e&&t.reverse();n--;){var s=t[n];if("function"!=typeof s)throw new wl(Q);if(o&&!i&&"wrapper"==Ho(s))var i=new O([],(!0))}for(n=i?n:r;++n=J)return i.plant(n).value();for(var o=0,s=r?t[o].apply(this,e):n;++o1&&_.reverse(),c&&ua))return!1;var l=s.get(e);if(l)return l==t;var d=-1,c=!0,p=o&pe?new tr:X;for(s.set(e,t);++d-1&&e%1==0&&e=this.__values__.length,t=e?X:this.__values__[this.__index__++];return{done:e,value:t}}function pi(){return this}function hi(e){for(var t,n=this;n instanceof r;){var o=ps(n);o.__index__=0,o.__values__=X,t?s.__wrapped__=o:t=o;var s=o;n=n.__wrapped__}return s.__wrapped__=e,t}function fi(){var e=this.__wrapped__;if(e instanceof Ot){var t=e;return this.__actions__.length&&(t=new Ot(this)),t=t.reverse(),t.__actions__.push({func:ui,args:[Bs],thisArg:X}),new O(t,this.__chain__)}return this.thru(Bs)}function mi(){return Rn(this.__wrapped__,this.__actions__)}function bi(e,t,r){var n=bc(e)?l:Fr;return r&&Jo(e,t,r)&&(t=X),n(e,Mo(t,3))}function vi(e,t){var r=bc(e)?d:Nr;return r(e,Mo(t,3))}function _i(e,t){return Lr(Ei(e,t),1)}function gi(e,t){return Lr(Ei(e,t),$e)}function yi(e,t,r){return r=r===X?1:Ia(r),Lr(Ei(e,t),r)}function $i(e,t){var r=bc(e)?a:wd;return r(e,Mo(t,3))}function wi(e,t){var r=bc(e)?u:xd;return r(e,Mo(t,3))}function xi(e,t,r,n){e=oa(e)?e:bu(e),r=r&&!n?Ia(r):0;var o=e.length;return r<0&&(r=Jl(o+r,0)),ka(e)?r<=o&&e.indexOf(t,r)>-1:!!o&&y(e,t,r)>-1}function Ei(e,t){var r=bc(e)?h:ln;return r(e,Mo(t,3))}function Pi(e,t,r,n){return null==e?[]:(bc(t)||(t=null==t?[]:[t]),r=n?X:r,bc(r)||(r=null==r?[]:[r]),mn(e,t,r))}function Ci(e,t,r){var n=bc(e)?m:x,o=arguments.length<3;return n(e,Mo(t,4),r,o,wd)}function ji(e,t,r){var n=bc(e)?b:x,o=arguments.length<3;return n(e,Mo(t,4),r,o,xd)}function Ti(e,t){var r=bc(e)?d:Nr;return t=Mo(t,3),r(e,function(e,r,n){return!t(e,r,n)})}function Ai(e){var t=oa(e)?e:bu(e),r=t.length;return r>0?t[wn(0,r-1)]:X}function Si(e,t,r){var n=-1,o=Ra(e),s=o.length,i=s-1;for(t=(r?Jo(e,t,r):t===X)?1:Cr(Ia(t),0,s);++n0&&(r=t.apply(this,arguments)),e<=1&&(t=X),r}}function Bi(e,t,r){t=r?X:t;var n=To(e,se,X,X,X,X,X,t);return n.placeholder=Bi.placeholder,n}function Ii(e,t,r){t=r?X:t;var n=To(e,ie,X,X,X,X,X,t);return n.placeholder=Ii.placeholder,n}function Ni(e,t,r){function n(t){var r=p,n=h;return p=h=X,_=t,m=e.apply(n,r)}function o(e){return _=e,b=Wl(a,t),g?n(e):m}function s(e){var r=e-v,n=e-_,o=t-r;return y?Ql(o,f-n):o}function i(e){var r=e-v,n=e-_;return v===X||r>=t||r<0||y&&n>=f}function a(){var e=Hi();return i(e)?u(e):void(b=Wl(a,s(e)))}function u(e){return b=X,$&&p?n(e):(p=h=X,m)}function l(){_=0,p=v=h=b=X}function d(){return b===X?m:u(Hi())}function c(){var e=Hi(),r=i(e);if(p=arguments,h=this,v=e,r){if(b===X)return o(v);if(y)return b=Wl(a,t),n(v)}return b===X&&(b=Wl(a,t)),m}var p,h,f,m,b,v,_=0,g=!1,y=!1,$=!0;if("function"!=typeof e)throw new wl(Q);return t=La(t)||0,va(r)&&(g=!!r.leading,y="maxWait"in r,f=y?Jl(La(r.maxWait)||0,t):f,$="trailing"in r?!!r.trailing:$),c.cancel=l,c.flush=d,c}function Li(e){return To(e,ce)}function qi(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new wl(Q);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],s=r.cache;if(s.has(o))return s.get(o);var i=e.apply(this,n);return r.cache=s.set(o,i),i};return r.cache=new(qi.Cache||Yt),r}function Ui(e){if("function"!=typeof e)throw new wl(Q);return function(){return!e.apply(this,arguments)}}function zi(e){return Ri(2,e)}function Wi(e,t){if("function"!=typeof e)throw new wl(Q);return t=Jl(t===X?e.length-1:Ia(t),0),function(){for(var r=arguments,n=-1,o=Jl(r.length-t,0),i=Array(o);++n-1&&e%1==0&&e<=we}function va(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function _a(e){return!!e&&"object"==typeof e}function ga(e){return _a(e)&&qo(e)==Fe}function ya(e,t){return e===t||rn(e,t,Bo(t))}function $a(e,t,r){return r="function"==typeof r?r:X,rn(e,t,Bo(t),r)}function wa(e){return Ca(e)&&e!=+e}function xa(e){if(kd(e))throw new gl("This method is not supported with `core-js`. Try https://github.com/es-shims.");return nn(e)}function Ea(e){return null===e}function Pa(e){return null==e}function Ca(e){return"number"==typeof e||_a(e)&&Dl.call(e)==Me}function ja(e){if(!_a(e)||Dl.call(e)!=Re||N(e))return!1;var t=No(e);if(null===t)return!0;var r=Al.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Tl.call(r)==kl}function Ta(e){return va(e)&&Dl.call(e)==Ie}function Aa(e){return ma(e)&&e>=-we&&e<=we}function Sa(e){return _a(e)&&qo(e)==Ne}function ka(e){return"string"==typeof e||!bc(e)&&_a(e)&&Dl.call(e)==Le}function Da(e){return"symbol"==typeof e||_a(e)&&Dl.call(e)==qe}function Oa(e){return _a(e)&&ba(e.length)&&!!Er[Dl.call(e)]}function Ha(e){return e===X}function Fa(e){return _a(e)&&qo(e)==Ue}function Ma(e){return _a(e)&&Dl.call(e)==ze}function Ra(e){if(!e)return[];if(oa(e))return ka(e)?G(e):ro(e);if(Ll&&e[Ll])return L(e[Ll]());var t=qo(e),r=t==Fe?q:t==Ne?z:bu; -return r(e)}function Ba(e){if(!e)return 0===e?e:0;if(e=La(e),e===$e||e===-$e){var t=e<0?-1:1;return t*xe}return e===e?e:0}function Ia(e){var t=Ba(e),r=t%1;return t===t?r?t-r:t:0}function Na(e){return e?Cr(Ia(e),0,Pe):0}function La(e){if("number"==typeof e)return e;if(Da(e))return Ee;if(va(e)){var t=fa(e.valueOf)?e.valueOf():e;e=va(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(vt,"");var r=Ct.test(e);return r||Tt.test(e)?kr(e.slice(2),r?2:8):Pt.test(e)?Ee:+e}function qa(e){return no(e,ou(e))}function Ua(e){return Cr(Ia(e),-we,we)}function za(e){return null==e?"":Dn(e)}function Wa(e,t){var r=Ar(e);return t?mr(r,t):r}function Va(e,t){return _(e,Mo(t,3),qr)}function Ga(e,t){return _(e,Mo(t,3),Ur)}function Ka(e,t){return null==e?e:Ed(e,Mo(t,3),ou)}function Ya(e,t){return null==e?e:Pd(e,Mo(t,3),ou)}function Xa(e,t){return e&&qr(e,Mo(t,3))}function Za(e,t){return e&&Ur(e,Mo(t,3))}function Ja(e){return null==e?[]:zr(e,nu(e))}function Qa(e){return null==e?[]:zr(e,ou(e))}function eu(e,t,r){var n=null==e?X:Wr(e,t);return n===X?r:n}function tu(e,t){return null!=e&&zo(e,t,Kr)}function ru(e,t){return null!=e&&zo(e,t,Yr)}function nu(e){var t=ns(e);if(!t&&!oa(e))return sn(e);var r=Ko(e),n=!!r,o=r||[],s=o.length;for(var i in e)!Kr(e,i)||n&&("length"==i||Zo(i,s))||t&&"constructor"==i||o.push(i);return o}function ou(e){for(var t=-1,r=ns(e),n=an(e),o=n.length,s=Ko(e),i=!!s,a=s||[],u=a.length;++tt){var n=e;e=t,t=n}if(r||e%1||t%1){var o=td();return Ql(e+o*(t-e+Sr("1e-"+((o+"").length-1))),t)}return wn(e,t)}function $u(e){return Uc(za(e).toLowerCase())}function wu(e){return e=za(e),e&&e.replace(St,F).replace(vr,"")}function xu(e,t,r){e=za(e),t=Dn(t);var n=e.length;return r=r===X?n:Cr(Ia(r),0,n),r-=t.length,r>=0&&e.indexOf(t,r)==r}function Eu(e){return e=za(e),e&&ut.test(e)?e.replace(it,M):e}function Pu(e){return e=za(e),e&&bt.test(e)?e.replace(mt,"\\$&"):e}function Cu(e,t,r){e=za(e),t=Ia(t);var n=t?V(e):0;if(!t||n>=t)return e;var o=(t-n)/2;return $o(Gl(o),r)+e+$o(Vl(o),r)}function ju(e,t,r){e=za(e),t=Ia(t);var n=t?V(e):0;return t&&n>>0)?(e=za(e),e&&("string"==typeof t||null!=t&&!Ta(t))&&(t=Dn(t),""==t&&yr.test(e))?Un(G(e),0,r):od.call(e,t,r)):[]}function Ou(e,t,r){return e=za(e),r=Cr(Ia(r),0,e.length),e.lastIndexOf(Dn(t),r)==r}function Hu(e,r,n){var o=t.templateSettings;n&&Jo(e,r,n)&&(r=X),e=za(e),r=wc({},r,o,dr);var s,i,a=wc({},r.imports,o.imports,dr),u=nu(a),l=A(a,u),d=0,c=r.interpolate||kt,p="__p += '",h=$l((r.escape||kt).source+"|"+c.source+"|"+(c===ct?wt:kt).source+"|"+(r.evaluate||kt).source+"|$","g"),f="//# sourceURL="+("sourceURL"in r?r.sourceURL:"lodash.templateSources["+ ++xr+"]")+"\n";e.replace(h,function(t,r,n,o,a,u){return n||(n=o),p+=e.slice(d,u).replace(Dt,R),r&&(s=!0,p+="' +\n__e("+r+") +\n'"),a&&(i=!0,p+="';\n"+a+";\n__p += '"),n&&(p+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),d=u+t.length,t}),p+="';\n";var m=r.variable;m||(p="with (obj) {\n"+p+"\n}\n"),p=(i?p.replace(rt,""):p).replace(nt,"$1").replace(ot,"$1;"),p="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(s?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var b=zc(function(){return Function(u,f+"return "+p).apply(X,l)});if(b.source=p,pa(b))throw b;return b}function Fu(e){return za(e).toLowerCase()}function Mu(e){return za(e).toUpperCase()}function Ru(e,t,r){if(e=za(e),e&&(r||t===X))return e.replace(vt,"");if(!e||!(t=Dn(t)))return e;var n=G(e),o=G(t),s=k(n,o),i=D(n,o)+1;return Un(n,s,i).join("")}function Bu(e,t,r){if(e=za(e),e&&(r||t===X))return e.replace(gt,"");if(!e||!(t=Dn(t)))return e;var n=G(e),o=D(n,G(t))+1;return Un(n,0,o).join("")}function Iu(e,t,r){if(e=za(e),e&&(r||t===X))return e.replace(_t,"");if(!e||!(t=Dn(t)))return e;var n=G(e),o=k(n,G(t));return Un(n,o).join("")}function Nu(e,t){var r=fe,n=me;if(va(t)){var o="separator"in t?t.separator:o;r="length"in t?Ia(t.length):r,n="omission"in t?Dn(t.omission):n}e=za(e);var s=e.length;if(yr.test(e)){var i=G(e);s=i.length}if(r>=s)return e;var a=r-V(n);if(a<1)return n;var u=i?Un(i,0,a).join(""):e.slice(0,a);if(o===X)return u+n;if(i&&(a+=u.length-a),Ta(o)){if(e.slice(a).search(o)){var l,d=u;for(o.global||(o=$l(o.source,za(xt.exec(o))+"g")),o.lastIndex=0;l=o.exec(d);)var c=l.index;u=u.slice(0,c===X?a:c)}}else if(e.indexOf(Dn(o),a)!=a){var p=u.lastIndexOf(o);p>-1&&(u=u.slice(0,p))}return u+n}function Lu(e){return e=za(e),e&&at.test(e)?e.replace(st,K):e}function qu(e,t,r){return e=za(e),t=r?X:t,t===X&&(t=$r.test(e)?gr:yt),e.match(t)||[]}function Uu(e){var t=e?e.length:0,r=Mo();return e=t?h(e,function(e){if("function"!=typeof e[1])throw new wl(Q);return[r(e[0]),e[1]]}):[],Wi(function(r){for(var n=-1;++nwe)return[];var r=Pe,n=Ql(e,Pe);t=Mo(t),e-=Pe;for(var o=C(n,t);++r0){if(++e>=be)return r}else e=0;return Cd(r,n)}}(),Od=qi(function(e){var t=[];return za(e).replace(ft,function(e,r,n,o){t.push(n?o.replace($t,"$1"):r||e)}),t}),Hd=Wi(function(e,t){return sa(e)?Or(e,Lr(t,1,sa,!0)):[]}),Fd=Wi(function(e,t){var r=ks(t);return sa(r)&&(r=X),sa(e)?Or(e,Lr(t,1,sa,!0),Mo(r)):[]}),Md=Wi(function(e,t){var r=ks(t);return sa(r)&&(r=X),sa(e)?Or(e,Lr(t,1,sa,!0),X,r):[]}),Rd=Wi(function(e){var t=h(e,Nn);return t.length&&t[0]===e[0]?Zr(t):[]}),Bd=Wi(function(e){var t=ks(e),r=h(e,Nn);return t===ks(r)?t=X:r.pop(),r.length&&r[0]===e[0]?Zr(r,Mo(t)):[]}),Id=Wi(function(e){var t=ks(e),r=h(e,Nn);return t===ks(r)?t=X:r.pop(),r.length&&r[0]===e[0]?Zr(r,X,t):[]}),Nd=Wi(Hs),Ld=Wi(function(e,t){t=Lr(t,1);var r=e?e.length:0,n=_r(e,t);return $n(e,h(t,function(e){return Zo(e,r)?+e:e}).sort(Jn)),n}),qd=Wi(function(e){return On(Lr(e,1,sa,!0))}),Ud=Wi(function(e){var t=ks(e);return sa(t)&&(t=X),On(Lr(e,1,sa,!0),Mo(t))}),zd=Wi(function(e){var t=ks(e);return sa(t)&&(t=X),On(Lr(e,1,sa,!0),X,t)}),Wd=Wi(function(e,t){return sa(e)?Or(e,t):[]}),Vd=Wi(function(e){return Bn(d(e,sa))}),Gd=Wi(function(e){var t=ks(e);return sa(t)&&(t=X),Bn(d(e,sa),Mo(t))}),Kd=Wi(function(e){var t=ks(e);return sa(t)&&(t=X),Bn(d(e,sa),X,t)}),Yd=Wi(ri),Xd=Wi(function(e){var t=e.length,r=t>1?e[t-1]:X;return r="function"==typeof r?(e.pop(),r):X,ni(e,r)}),Zd=Wi(function(e){e=Lr(e,1);var t=e.length,r=t?e[0]:0,n=this.__wrapped__,o=function(t){return _r(t,e)};return!(t>1||this.__actions__.length)&&n instanceof Ot&&Zo(r)?(n=n.slice(r,+r+(t?1:0)),n.__actions__.push({func:ui,args:[o],thisArg:X}),new O(n,this.__chain__).thru(function(e){return t&&!e.length&&e.push(X),e})):this.thru(o)}),Jd=so(function(e,t,r){Al.call(e,r)?++e[r]:e[r]=1}),Qd=mo($s),ec=mo(ws),tc=so(function(e,t,r){Al.call(e,r)?e[r].push(t):e[r]=[t]}),rc=Wi(function(e,t,r){var n=-1,o="function"==typeof t,i=Qo(t),a=oa(e)?Array(e.length):[];return wd(e,function(e){var u=o?t:i&&null!=e?e[t]:X;a[++n]=u?s(u,e,r):Qr(e,t,r)}),a}),nc=so(function(e,t,r){e[r]=t}),oc=so(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]}),sc=Wi(function(e,t){if(null==e)return[];var r=t.length;return r>1&&Jo(e,t[0],t[1])?t=[]:r>2&&Jo(t[0],t[1],t[2])&&(t=[t[0]]),t=1==t.length&&bc(t[0])?t[0]:Lr(t,1,Xo),mn(e,t,[])}),ic=Wi(function(e,t,r){var n=re;if(r.length){var o=U(r,Fo(ic));n|=ae}return To(e,n,t,r,o)}),ac=Wi(function(e,t,r){var n=re|ne;if(r.length){var o=U(r,Fo(ac));n|=ae}return To(t,n,e,r,o)}),uc=Wi(function(e,t){return Dr(e,1,t)}),lc=Wi(function(e,t,r){return Dr(e,La(t)||0,r)});qi.Cache=Yt;var dc=Wi(function(e,t){t=1==t.length&&bc(t[0])?h(t[0],T(Mo())):h(Lr(t,1,Xo),T(Mo()));var r=t.length;return Wi(function(n){for(var o=-1,i=Ql(n.length,r);++o=t}),bc=Array.isArray,vc=Fl?function(e){return e instanceof Fl}:nl,_c=Eo(un),gc=Eo(function(e,t){return e<=t}),yc=io(function(e,t){if(pd||ns(t)||oa(t))return void no(t,nu(t),e);for(var r in t)Al.call(t,r)&&pr(e,r,t[r])}),$c=io(function(e,t){if(pd||ns(t)||oa(t))return void no(t,ou(t),e);for(var r in t)pr(e,r,t[r])}),wc=io(function(e,t,r,n){no(t,ou(t),e,n)}),xc=io(function(e,t,r,n){no(t,nu(t),e,n)}),Ec=Wi(function(e,t){return _r(e,Lr(t,1))}),Pc=Wi(function(e){return e.push(X,dr),s(wc,X,e)}),Cc=Wi(function(e){return e.push(X,as),s(kc,X,e)}),jc=_o(function(e,t,r){e[t]=r},Wu(Vu)),Tc=_o(function(e,t,r){Al.call(e,t)?e[t].push(r):e[t]=[r]},Mo),Ac=Wi(Qr),Sc=io(function(e,t,r){pn(e,t,r)}),kc=io(function(e,t,r,n){pn(e,t,r,n)}),Dc=Wi(function(e,t){return null==e?{}:(t=h(Lr(t,1),ds),bn(e,Or(Oo(e),t)))}),Oc=Wi(function(e,t){return null==e?{}:bn(e,h(Lr(t,1),ds))}),Hc=jo(nu),Fc=jo(ou),Mc=po(function(e,t,r){return t=t.toLowerCase(),e+(r?$u(t):t)}),Rc=po(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}),Bc=po(function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}),Ic=co("toLowerCase"),Nc=po(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}),Lc=po(function(e,t,r){return e+(r?" ":"")+Uc(t)}),qc=po(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),Uc=co("toUpperCase"),zc=Wi(function(e,t){try{return s(e,X,t)}catch(r){return pa(r)?r:new gl(r)}}),Wc=Wi(function(e,t){return a(Lr(t,1),function(t){t=ds(t),e[t]=ic(e[t],e)}),e}),Vc=bo(),Gc=bo(!0),Kc=Wi(function(e,t){return function(r){return Qr(r,e,t)}}),Yc=Wi(function(e,t){return function(r){return Qr(e,r,t)}}),Xc=yo(h),Zc=yo(l),Jc=yo(v),Qc=xo(),ep=xo(!0),tp=go(function(e,t){return e+t}),rp=Co("ceil"),np=go(function(e,t){return e/t}),op=Co("floor"),sp=go(function(e,t){return e*t}),ip=Co("round"),ap=go(function(e,t){return e-t});return t.after=Fi,t.ary=Mi,t.assign=yc,t.assignIn=$c,t.assignInWith=wc,t.assignWith=xc,t.at=Ec,t.before=Ri,t.bind=ic,t.bindAll=Wc,t.bindKey=ac,t.castArray=Xi,t.chain=ii,t.chunk=hs,t.compact=fs,t.concat=ms,t.cond=Uu,t.conforms=zu,t.constant=Wu,t.countBy=Jd,t.create=Wa,t.curry=Bi,t.curryRight=Ii,t.debounce=Ni,t.defaults=Pc,t.defaultsDeep=Cc,t.defer=uc,t.delay=lc,t.difference=Hd,t.differenceBy=Fd,t.differenceWith=Md,t.drop=bs,t.dropRight=vs,t.dropRightWhile=_s,t.dropWhile=gs,t.fill=ys,t.filter=vi,t.flatMap=_i,t.flatMapDeep=gi,t.flatMapDepth=yi,t.flatten=xs,t.flattenDeep=Es,t.flattenDepth=Ps,t.flip=Li,t.flow=Vc,t.flowRight=Gc,t.fromPairs=Cs,t.functions=Ja,t.functionsIn=Qa,t.groupBy=tc,t.initial=As,t.intersection=Rd,t.intersectionBy=Bd,t.intersectionWith=Id,t.invert=jc,t.invertBy=Tc,t.invokeMap=rc,t.iteratee=Gu,t.keyBy=nc,t.keys=nu,t.keysIn=ou,t.map=Ei,t.mapKeys=su,t.mapValues=iu,t.matches=Ku,t.matchesProperty=Yu,t.memoize=qi,t.merge=Sc,t.mergeWith=kc,t.method=Kc,t.methodOf=Yc,t.mixin=Xu,t.negate=Ui,t.nthArg=Qu,t.omit=Dc,t.omitBy=au,t.once=zi,t.orderBy=Pi,t.over=Xc,t.overArgs=dc,t.overEvery=Zc,t.overSome=Jc,t.partial=cc,t.partialRight=pc,t.partition=oc,t.pick=Oc,t.pickBy=uu,t.property=el,t.propertyOf=tl,t.pull=Nd,t.pullAll=Hs,t.pullAllBy=Fs,t.pullAllWith=Ms,t.pullAt=Ld,t.range=Qc,t.rangeRight=ep,t.rearg=hc,t.reject=Ti,t.remove=Rs,t.rest=Wi,t.reverse=Bs,t.sampleSize=Si,t.set=du,t.setWith=cu,t.shuffle=ki,t.slice=Is,t.sortBy=sc,t.sortedUniq=Vs,t.sortedUniqBy=Gs,t.split=Du,t.spread=Vi,t.tail=Ks,t.take=Ys,t.takeRight=Xs,t.takeRightWhile=Zs,t.takeWhile=Js,t.tap=ai,t.throttle=Gi,t.thru=ui,t.toArray=Ra,t.toPairs=Hc,t.toPairsIn=Fc,t.toPath=ul,t.toPlainObject=qa,t.transform=pu,t.unary=Ki,t.union=qd,t.unionBy=Ud,t.unionWith=zd,t.uniq=Qs,t.uniqBy=ei,t.uniqWith=ti,t.unset=hu,t.unzip=ri,t.unzipWith=ni,t.update=fu,t.updateWith=mu,t.values=bu,t.valuesIn=vu,t.without=Wd,t.words=qu,t.wrap=Yi,t.xor=Vd,t.xorBy=Gd,t.xorWith=Kd,t.zip=Yd,t.zipObject=oi,t.zipObjectDeep=si,t.zipWith=Xd,t.entries=Hc,t.entriesIn=Fc,t.extend=$c,t.extendWith=wc,Xu(t,t),t.add=tp,t.attempt=zc,t.camelCase=Mc,t.capitalize=$u,t.ceil=rp,t.clamp=_u,t.clone=Zi,t.cloneDeep=Qi,t.cloneDeepWith=ea,t.cloneWith=Ji,t.deburr=wu,t.divide=np,t.endsWith=xu,t.eq=ta,t.escape=Eu,t.escapeRegExp=Pu,t.every=bi,t.find=Qd,t.findIndex=$s,t.findKey=Va,t.findLast=ec,t.findLastIndex=ws,t.findLastKey=Ga,t.floor=op,t.forEach=$i,t.forEachRight=wi,t.forIn=Ka,t.forInRight=Ya,t.forOwn=Xa,t.forOwnRight=Za,t.get=eu,t.gt=fc,t.gte=mc,t.has=tu,t.hasIn=ru,t.head=js,t.identity=Vu,t.includes=xi,t.indexOf=Ts,t.inRange=gu,t.invoke=Ac,t.isArguments=ra,t.isArray=bc,t.isArrayBuffer=na,t.isArrayLike=oa,t.isArrayLikeObject=sa,t.isBoolean=ia,t.isBuffer=vc,t.isDate=aa,t.isElement=ua,t.isEmpty=la,t.isEqual=da,t.isEqualWith=ca,t.isError=pa,t.isFinite=ha,t.isFunction=fa,t.isInteger=ma,t.isLength=ba,t.isMap=ga,t.isMatch=ya,t.isMatchWith=$a,t.isNaN=wa,t.isNative=xa,t.isNil=Pa,t.isNull=Ea,t.isNumber=Ca,t.isObject=va,t.isObjectLike=_a,t.isPlainObject=ja,t.isRegExp=Ta,t.isSafeInteger=Aa,t.isSet=Sa,t.isString=ka,t.isSymbol=Da,t.isTypedArray=Oa,t.isUndefined=Ha,t.isWeakMap=Fa,t.isWeakSet=Ma,t.join=Ss,t.kebabCase=Rc,t.last=ks,t.lastIndexOf=Ds,t.lowerCase=Bc,t.lowerFirst=Ic,t.lt=_c,t.lte=gc,t.max=dl,t.maxBy=cl,t.mean=pl,t.meanBy=hl,t.min=fl,t.minBy=ml,t.stubArray=rl,t.stubFalse=nl,t.stubObject=ol,t.stubString=sl,t.stubTrue=il,t.multiply=sp,t.nth=Os,t.noConflict=Zu,t.noop=Ju,t.now=Hi,t.pad=Cu,t.padEnd=ju,t.padStart=Tu,t.parseInt=Au,t.random=yu,t.reduce=Ci,t.reduceRight=ji,t.repeat=Su,t.replace=ku,t.result=lu,t.round=ip,t.runInContext=Y,t.sample=Ai,t.size=Di,t.snakeCase=Nc,t.some=Oi,t.sortedIndex=Ns,t.sortedIndexBy=Ls,t.sortedIndexOf=qs,t.sortedLastIndex=Us,t.sortedLastIndexBy=zs,t.sortedLastIndexOf=Ws,t.startCase=Lc,t.startsWith=Ou,t.subtract=ap,t.sum=bl,t.sumBy=vl,t.template=Hu,t.times=al,t.toFinite=Ba,t.toInteger=Ia,t.toLength=Na,t.toLower=Fu,t.toNumber=La,t.toSafeInteger=Ua,t.toString=za,t.toUpper=Mu,t.trim=Ru,t.trimEnd=Bu,t.trimStart=Iu,t.truncate=Nu,t.unescape=Lu,t.uniqueId=ll,t.upperCase=qc,t.upperFirst=Uc,t.each=$i,t.eachRight=wi,t.first=js,Xu(t,function(){var e={};return qr(t,function(r,n){Al.call(t.prototype,n)||(e[n]=r)}),e}(),{chain:!1}),t.VERSION=Z,a(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){t[e].placeholder=t}),a(["drop","take"],function(e,t){Ot.prototype[e]=function(r){var n=this.__filtered__;if(n&&!t)return new Ot(this);r=r===X?1:Jl(Ia(r),0);var o=this.clone();return n?o.__takeCount__=Ql(r,o.__takeCount__):o.__views__.push({size:Ql(r,Pe),type:e+(o.__dir__<0?"Right":"")}),o},Ot.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),a(["filter","map","takeWhile"],function(e,t){var r=t+1,n=r==_e||r==ye;Ot.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Mo(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}}),a(["head","last"],function(e,t){var r="take"+(t?"Right":"");Ot.prototype[e]=function(){return this[r](1).value()[0]}}),a(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");Ot.prototype[e]=function(){return this.__filtered__?new Ot(this):this[r](1)}}),Ot.prototype.compact=function(){return this.filter(Vu)},Ot.prototype.find=function(e){return this.filter(e).head()},Ot.prototype.findLast=function(e){return this.reverse().find(e)},Ot.prototype.invokeMap=Wi(function(e,t){return"function"==typeof e?new Ot(this):this.map(function(r){return Qr(r,e,t)})}),Ot.prototype.reject=function(e){return e=Mo(e,3),this.filter(function(t){return!e(t)})},Ot.prototype.slice=function(e,t){e=Ia(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Ot(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==X&&(t=Ia(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)},Ot.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ot.prototype.toArray=function(){return this.take(Pe)},qr(Ot.prototype,function(e,r){var n=/^(?:filter|find|map|reject)|While$/.test(r),o=/^(?:head|last)$/.test(r),s=t[o?"take"+("last"==r?"Right":""):r],i=o||/^find/.test(r);s&&(t.prototype[r]=function(){var r=this.__wrapped__,a=o?[1]:arguments,u=r instanceof Ot,l=a[0],d=u||bc(r),c=function(e){var r=s.apply(t,f([e],a));return o&&p?r[0]:r};d&&n&&"function"==typeof l&&1!=l.length&&(u=d=!1);var p=this.__chain__,h=!!this.__actions__.length,m=i&&!p,b=u&&!h;if(!i&&d){r=b?r:new Ot(this);var v=e.apply(r,a);return v.__actions__.push({func:ui,args:[c],thisArg:X}),new O(v,p)}return m&&b?e.apply(this,a):(v=this.thru(c),m?o?v.value()[0]:v.value():v)})}),a(["pop","push","shift","sort","splice","unshift"],function(e){var r=xl[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;if(o&&!this.__chain__){var t=this.value();return r.apply(bc(t)?t:[],e)}return this[n](function(t){return r.apply(bc(t)?t:[],e)})}}),qr(Ot.prototype,function(e,r){var n=t[r];if(n){var o=n.name+"",s=hd[o]||(hd[o]=[]);s.push({name:r,func:n})}}),hd[vo(X,ne).name]=[{name:"wrapper",func:X}],Ot.prototype.clone=Ht,Ot.prototype.reverse=Ft,Ot.prototype.value=Mt,t.prototype.at=Zd,t.prototype.chain=li,t.prototype.commit=di,t.prototype.next=ci,t.prototype.plant=hi,t.prototype.reverse=fi,t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=mi,Ll&&(t.prototype[Ll]=pi),t}var X,Z="4.13.1",J=200,Q="Expected a function",ee="__lodash_hash_undefined__",te="__lodash_placeholder__",re=1,ne=2,oe=4,se=8,ie=16,ae=32,ue=64,le=128,de=256,ce=512,pe=1,he=2,fe=30,me="...",be=150,ve=16,_e=1,ge=2,ye=3,$e=1/0,we=9007199254740991,xe=1.7976931348623157e308,Ee=NaN,Pe=4294967295,Ce=Pe-1,je=Pe>>>1,Te="[object Arguments]",Ae="[object Array]",Se="[object Boolean]",ke="[object Date]",De="[object Error]",Oe="[object Function]",He="[object GeneratorFunction]",Fe="[object Map]",Me="[object Number]",Re="[object Object]",Be="[object Promise]",Ie="[object RegExp]",Ne="[object Set]",Le="[object String]",qe="[object Symbol]",Ue="[object WeakMap]",ze="[object WeakSet]",We="[object ArrayBuffer]",Ve="[object DataView]",Ge="[object Float32Array]",Ke="[object Float64Array]",Ye="[object Int8Array]",Xe="[object Int16Array]",Ze="[object Int32Array]",Je="[object Uint8Array]",Qe="[object Uint8ClampedArray]",et="[object Uint16Array]",tt="[object Uint32Array]",rt=/\b__p \+= '';/g,nt=/\b(__p \+=) '' \+/g,ot=/(__e\(.*?\)|\b__t\)) \+\n'';/g,st=/&(?:amp|lt|gt|quot|#39|#96);/g,it=/[&<>"'`]/g,at=RegExp(st.source),ut=RegExp(it.source),lt=/<%-([\s\S]+?)%>/g,dt=/<%([\s\S]+?)%>/g,ct=/<%=([\s\S]+?)%>/g,pt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ht=/^\w*$/,ft=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(\.|\[\])(?:\4|$))/g,mt=/[\\^$.*+?()[\]{}|]/g,bt=RegExp(mt.source),vt=/^\s+|\s+$/g,_t=/^\s+/,gt=/\s+$/,yt=/[a-zA-Z0-9]+/g,$t=/\\(\\)?/g,wt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,xt=/\w*$/,Et=/^0x/i,Pt=/^[-+]0x[0-9a-f]+$/i,Ct=/^0b[01]+$/i,jt=/^\[object .+?Constructor\]$/,Tt=/^0o[0-7]+$/i,At=/^(?:0|[1-9]\d*)$/,St=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,kt=/($^)/,Dt=/['\n\r\u2028\u2029\\]/g,Ot="\\ud800-\\udfff",Ht="\\u0300-\\u036f\\ufe20-\\ufe23",Ft="\\u20d0-\\u20f0",Mt="\\u2700-\\u27bf",Rt="a-z\\xdf-\\xf6\\xf8-\\xff",Bt="\\xac\\xb1\\xd7\\xf7",It="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Nt="\\u2000-\\u206f",Lt=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",qt="A-Z\\xc0-\\xd6\\xd8-\\xde",Ut="\\ufe0e\\ufe0f",zt=Bt+It+Nt+Lt,Wt="['’]",Vt="["+Ot+"]",Gt="["+zt+"]",Kt="["+Ht+Ft+"]",Yt="\\d+",Xt="["+Mt+"]",Zt="["+Rt+"]",Jt="[^"+Ot+zt+Yt+Mt+Rt+qt+"]",Qt="\\ud83c[\\udffb-\\udfff]",er="(?:"+Kt+"|"+Qt+")",tr="[^"+Ot+"]",rr="(?:\\ud83c[\\udde6-\\uddff]){2}",nr="[\\ud800-\\udbff][\\udc00-\\udfff]",or="["+qt+"]",sr="\\u200d",ir="(?:"+Zt+"|"+Jt+")",ar="(?:"+or+"|"+Jt+")",ur="(?:"+Wt+"(?:d|ll|m|re|s|t|ve))?",lr="(?:"+Wt+"(?:D|LL|M|RE|S|T|VE))?",dr=er+"?",cr="["+Ut+"]?",pr="(?:"+sr+"(?:"+[tr,rr,nr].join("|")+")"+cr+dr+")*",hr=cr+dr+pr,fr="(?:"+[Xt,rr,nr].join("|")+")"+hr,mr="(?:"+[tr+Kt+"?",Kt,rr,nr,Vt].join("|")+")",br=RegExp(Wt,"g"),vr=RegExp(Kt,"g"),_r=RegExp(Qt+"(?="+Qt+")|"+mr+hr,"g"),gr=RegExp([or+"?"+Zt+"+"+ur+"(?="+[Gt,or,"$"].join("|")+")",ar+"+"+lr+"(?="+[Gt,or+ir,"$"].join("|")+")",or+"?"+ir+"+"+ur,or+"+"+lr,Yt,fr].join("|"),"g"),yr=RegExp("["+sr+Ot+Ht+Ft+Ut+"]"),$r=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,wr=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","Reflect","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","isFinite","parseInt","setTimeout"],xr=-1,Er={};Er[Ge]=Er[Ke]=Er[Ye]=Er[Xe]=Er[Ze]=Er[Je]=Er[Qe]=Er[et]=Er[tt]=!0,Er[Te]=Er[Ae]=Er[We]=Er[Se]=Er[Ve]=Er[ke]=Er[De]=Er[Oe]=Er[Fe]=Er[Me]=Er[Re]=Er[Ie]=Er[Ne]=Er[Le]=Er[Ue]=!1;var Pr={};Pr[Te]=Pr[Ae]=Pr[We]=Pr[Ve]=Pr[Se]=Pr[ke]=Pr[Ge]=Pr[Ke]=Pr[Ye]=Pr[Xe]=Pr[Ze]=Pr[Fe]=Pr[Me]=Pr[Re]=Pr[Ie]=Pr[Ne]=Pr[Le]=Pr[qe]=Pr[Je]=Pr[Qe]=Pr[et]=Pr[tt]=!0,Pr[De]=Pr[Oe]=Pr[Ue]=!1;var Cr={"À":"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"},jr={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Tr={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},Ar={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Sr=parseFloat,kr=parseInt,Dr="object"==typeof r&&r,Or=Dr&&"object"==typeof t&&t,Hr=Or&&Or.exports===Dr,Fr=O("object"==typeof e&&e),Mr=O("object"==typeof self&&self),Rr=O("object"==typeof this&&this),Br=Fr||Mr||Rr||Function("return this")(),Ir=Y();(Mr||{})._=Ir,"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return Ir}):Or?((Or.exports=Ir)._=Ir,Dr._=Ir):Br._=Ir}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/DropDownMenu/DropDownMenu.js":[function(e,t,r){(function(n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var i=Object.assign||function(e){for(var t=1;t=0,"Cannot set selectedIndex to a negative index."):void 0,this.setState({selectedIndex:e>=0?e:0})},_onControlTouchTap:function(e){e.preventDefault(),this.props.disabled||this.setState({open:!this.state.open,anchorEl:this.refs.root})},_onMenuItemTouchTap:function(e,t,r){var n=this.props,o=n.onChange,s=n.menuItems,i=n.value,a=n.valueLink,u=n.valueMember;if(s&&(this.state.selectedIndex!==e||r.target.value!==i)){var l=s[e];l&&(r.target.value=l[u||"payload"]),this._onMenuRequestClose()}a?a.requestChange(r.target.value):o&&o(r,e,t),this.setState({selectedIndex:e,open:!1})},_onMenuRequestClose:function(){this.setState({open:!1,anchorEl:null})},_isControlled:function(){return this.props.hasOwnProperty("value")||this.props.hasOwnProperty("valueLink")},render:function(){var e=this,t=this.props,r=t.autoWidth,o=t.children,a=t.className,l=t.displayMember,d=t.iconStyle,c=t.labelMember,h=t.labelStyle,m=t.maxHeight,v=t.menuItems,g=t.menuStyle,y=t.style,$=t.underlineStyle,x=t.valueLink,C=t.valueMember,T=void 0===C?"payload":C,A=s(t,["autoWidth","children","className","displayMember","iconStyle","labelMember","labelStyle","maxHeight","menuItems","menuStyle","style","underlineStyle","valueLink","valueMember"]),S=this.state,k=S.anchorEl,D=S.open,O=S.muiTheme,H=this.getStyles(),F=void 0,M=this._isControlled()?null:this.state.selectedIndex;if(v&&"number"==typeof M&&("production"!==n.env.NODE_ENV?(0,j["default"])(v[M],"SelectedIndex of "+M+" does not exist in menuItems."):void 0),T&&this._isControlled()&&(F=this.props.hasOwnProperty("value")?this.props.value:x.value,v&&null!==F&&void 0!==F))for(var R=0;R=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function i(e){return Boolean(e||0===e)}var a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t0?u["default"].createElement(_["default"],s({},h,{ref:"menu",key:"dropDownMenu",autoWidth:!1,onEscKeyDown:this._close,initiallyKeyboardFocused:!1,onItemTouchTap:this._handleItemTouchTap,listStyle:this.mergeStyles(x.list,f),style:j}),T.map(function(t,r){switch("undefined"==typeof t?"undefined":i(t)){case"string":return u["default"].createElement(y["default"],{disableFocusRipple:e.props.disableFocusRipple,innerDivStyle:{overflow:"hidden"},key:r,value:t,primaryText:t});case"object":return"string"==typeof t.text?u["default"].cloneElement(t.value,{key:t.text,disableFocusRipple:e.props.disableFocusRipple}):u["default"].cloneElement(t,{key:r,disableFocusRipple:e.props.disableFocusRipple});default:return null}})):null,S=void 0;return w&&c&&(S={width:w.clientWidth}),u["default"].createElement("div",{style:this.prepareStyles(C),onKeyDown:this._handleKeyDown},u["default"].createElement("div",{style:{width:"100%"}},u["default"].createElement(b["default"],s({},v,{ref:"searchTextField",value:this.state.searchText,onEnterKeyDown:function(){setTimeout(function(){e._close()},e.props.touchTapCloseDelay),e.props.onNewRequest(e.state.searchText)},onChange:function(t){var r=t.target.value;e._updateRequests(r)},onBlur:function(){e.focusOnInput&&$&&e.refs.searchTextField.focus()},onFocus:function(){!$&&(e.props.triggerUpdateOnFocus||e.props.updateWhenFocused||e.requestsList>0)&&e._updateRequests(e.state.searchText),e.focusOnInput=!0}},P))),u["default"].createElement(E["default"],{style:S,anchorOrigin:r,targetOrigin:m,open:$,anchorEl:w,useLayerForClickAway:!1,onRequestClose:this._close},A))}});k.levenshteinDistance=function(e,t){for(var r=[],n=void 0,o=void 0,s=0;s<=t.length;s++)for(var i=0;i<=e.length;i++)o=s&&i?e.charAt(i-1)===t.charAt(s-1)?n:Math.min(r[i],r[i-1],n)+1:s+i,n=r[i],r[i]=o;return r.pop()},k.noFilter=function(){return!0},k.defaultFilter=k.caseSensitiveFilter=function(e,t){return""!==e&&t.includes(e)},k.caseInsensitiveFilter=function(e,t){return t.toLowerCase().includes(e.toLowerCase())},k.levenshteinDistanceFilter=function(e){if(void 0===e)return k.levenshteinDistance;if("number"!=typeof e)throw"Error: AutoComplete.levenshteinDistanceFilter is a filter generator, not a filter!";return function(t,r){return k.levenshteinDistance(t,r)3?n<2:0===n},k.Item=y["default"],k.Divider=w["default"],r["default"]=k,t.exports=r["default"]},{"./divider":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/divider.js","./menus/menu":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/menus/menu.js","./menus/menu-item":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/menus/menu-item.js","./mixins/style-propable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-propable.js","./popover/popover":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/popover/popover.js","./styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js","./text-field":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/text-field.js","./utils/deprecatedPropType":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/deprecatedPropType.js","./utils/key-code":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/key-code.js","./utils/prop-types":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/prop-types.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js","react-dom":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-dom/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/avatar.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}Object.defineProperty(r,"__esModule",{value:!0});var s=e("react"),i=n(s),a=e("./mixins/style-propable"),u=n(a),l=e("./styles/getMuiTheme"),d=n(l),c=i["default"].createClass({displayName:"BeforeAfterWrapper",propTypes:{afterElementType:i["default"].PropTypes.string,afterStyle:i["default"].PropTypes.object,beforeElementType:i["default"].PropTypes.string,beforeStyle:i["default"].PropTypes.object,children:i["default"].PropTypes.node,elementType:i["default"].PropTypes.string,style:i["default"].PropTypes.object},contextTypes:{muiTheme:i["default"].PropTypes.object},childContextTypes:{muiTheme:i["default"].PropTypes.object},mixins:[u["default"]],getDefaultProps:function(){return{beforeElementType:"div",afterElementType:"div",elementType:"div"}},getInitialState:function(){return{muiTheme:this.context.muiTheme||(0,d["default"])()}},getChildContext:function(){return{muiTheme:this.state.muiTheme}},componentWillReceiveProps:function(e,t){var r=t.muiTheme?t.muiTheme:this.state.muiTheme;this.setState({muiTheme:r})},render:function(){var e=this.props,t=e.beforeStyle,r=e.afterStyle,n=(e.beforeElementType,e.afterElementType,e.elementType,o(e,["beforeStyle","afterStyle","beforeElementType","afterElementType","elementType"])),s=void 0,a=void 0;t={boxSizing:"border-box"},r={boxSizing:"border-box"},this.props.beforeStyle&&(s=i["default"].createElement(this.props.beforeElementType,{style:this.prepareStyles(t,this.props.beforeStyle),key:"::before"})),this.props.afterStyle&&(a=i["default"].createElement(this.props.afterElementType,{style:this.prepareStyles(r,this.props.afterStyle),key:"::after"}));var u=[s,this.props.children,a],l=n;return l.style=this.prepareStyles(this.props.style),i["default"].createElement(this.props.elementType,l,u)}});r["default"]=c,t.exports=r["default"]},{"./mixins/style-propable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-propable.js","./styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/buttons/flat-button-label.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var o=e("react"),s=n(o),i=e("../mixins/context-pure"),a=n(i),u=e("../mixins/style-propable"),l=n(u),d=e("../styles/getMuiTheme"),c=n(d),p=s["default"].createClass({displayName:"FlatButtonLabel",propTypes:{label:s["default"].PropTypes.node,style:s["default"].PropTypes.object},contextTypes:{muiTheme:s["default"].PropTypes.object},childContextTypes:{muiTheme:s["default"].PropTypes.object},mixins:[a["default"],l["default"]],statics:{getRelevantContextKeys:function(e){return{spacingDesktopGutterLess:e.rawTheme.spacing.desktopGutterLess}}},getInitialState:function(){return{muiTheme:this.context.muiTheme||(0,c["default"])()}},getChildContext:function(){return{muiTheme:this.state.muiTheme}},componentWillReceiveProps:function(e,t){var r=t.muiTheme?t.muiTheme:this.state.muiTheme;this.setState({muiTheme:r})},render:function(){var e=this.props,t=e.label,r=e.style,n=this.constructor.getRelevantContextKeys(this.state.muiTheme),o=this.mergeStyles({position:"relative",paddingLeft:n.spacingDesktopGutterLess,paddingRight:n.spacingDesktopGutterLess},r);return s["default"].createElement("span",{style:this.prepareStyles(o)},t)}});r["default"]=p,t.exports=r["default"]},{"../mixins/context-pure":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/context-pure.js","../mixins/style-propable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-propable.js","../styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/card/card-actions.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;tthis.props.displayDate?"up":"down",this.setState({transitionDirection:n}))},_prevMonthTouchTap:function(){this.props.onMonthChange&&this.props.prevMonth&&this.props.onMonthChange(-1)},_nextMonthTouchTap:function(){this.props.onMonthChange&&this.props.nextMonth&&this.props.onMonthChange(1)},render:function(){var e=this.props,t=e.DateTimeFormat,r=e.locale,n=e.displayDate,o=new t(r,{month:"long",year:"numeric"}).format(n),i=this.state.muiTheme.isRtl?s["default"].createElement(m["default"],null):s["default"].createElement(h["default"],null),u=this.state.muiTheme.isRtl?s["default"].createElement(h["default"],null):s["default"].createElement(m["default"],null);return s["default"].createElement(l["default"],{style:y.root,noGutter:!0},s["default"].createElement(v["default"],{style:y.title,direction:this.state.transitionDirection},s["default"].createElement("div",{key:o},o)),s["default"].createElement(c["default"],{key:0,"float":"left"},s["default"].createElement(a["default"],{style:y.button,disabled:!this.props.prevMonth,onTouchTap:this._prevMonthTouchTap},i)),s["default"].createElement(c["default"],{key:1,"float":"right"},s["default"].createElement(a["default"],{style:y.button,disabled:!this.props.nextMonth,onTouchTap:this._nextMonthTouchTap},u)))}});r["default"]=$,t.exports=r["default"]},{"../icon-button":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/icon-button.js","../styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js","../svg-icons/navigation/chevron-left":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/svg-icons/navigation/chevron-left.js","../svg-icons/navigation/chevron-right":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/svg-icons/navigation/chevron-right.js","../toolbar/toolbar":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/toolbar/toolbar.js","../toolbar/toolbar-group":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/toolbar/toolbar-group.js","../transition-groups/slide-in":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/transition-groups/slide-in.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/date-picker/calendar-year.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}var o=Object.assign||function(e){for(var t=1;tthis.state.displayDate?"left":"right";r!==this.state.displayDate&&this.setState({displayDate:r,transitionDirection:n,selectedDate:t||this.state.selectedDate})},_setSelectedDate:function(e){var t=e;p["default"].isBeforeDate(e,this.props.minDate)?t=this.props.minDate:p["default"].isAfterDate(e,this.props.maxDate)&&(t=this.props.maxDate);var r=p["default"].getFirstDayOfMonth(t);r!==this.state.displayDate?this._setDisplayDate(r,t):this.setState({selectedDate:t})},_handleDayTouchTap:function(e,t){this._setSelectedDate(t),this.props.onDayTouchTap&&this.props.onDayTouchTap(e,t)},_handleMonthChange:function(e){this.setState({transitionDirection:e>=0?"left":"right",displayDate:p["default"].addMonths(this.state.displayDate,e)})},_handleYearTouchTap:function(e,t){var r=p["default"].clone(this.state.selectedDate);r.setFullYear(t),this._setSelectedDate(r,e)},_getToolbarInteractions:function(){return{prevMonth:p["default"].monthDiff(this.state.displayDate,this.props.minDate)>0,nextMonth:p["default"].monthDiff(this.state.displayDate,this.props.maxDate)<0}},_handleMonthDayClick:function(){this.setState({displayMonthDay:!0})},_handleYearClick:function(){this.setState({displayMonthDay:!1})},_handleWindowKeyDown:function(e){if(this.props.open)switch(e.keyCode){case f["default"].UP:e.altKey&&e.shiftKey?this._addSelectedYears(-1):e.shiftKey?this._addSelectedMonths(-1):this._addSelectedDays(-7);break;case f["default"].DOWN:e.altKey&&e.shiftKey?this._addSelectedYears(1):e.shiftKey?this._addSelectedMonths(1):this._addSelectedDays(7);break;case f["default"].RIGHT:e.altKey&&e.shiftKey?this._addSelectedYears(1):e.shiftKey?this._addSelectedMonths(1):this._addSelectedDays(1);break;case f["default"].LEFT:e.altKey&&e.shiftKey?this._addSelectedYears(-1):e.shiftKey?this._addSelectedMonths(-1):this._addSelectedDays(-1)}},render:function(){var e=p["default"].yearDiff(this.props.maxDate,this.props.minDate)+1,t=p["default"].getWeekArray(this.state.displayDate,this.props.firstDayOfWeek).length,r=this._getToolbarInteractions(),n="landscape"===this.props.mode,o={root:{fontSize:12},calendarContainer:{width:n?320:"100%",height:5===t?284:6===t?324:244,"float":n?"right":"none",transition:b["default"].easeOut("150ms","height"),overflow:"hidden"},yearContainer:{width:280,overflow:"hidden",height:e<6?56*e+10:5===t?284:6===t?324:244,"float":n?"right":"none"},dateDisplay:{width:n?120:"",height:n?5===t?238:6===t?278:198:"auto","float":n?"left":"none"},weekTitle:{padding:"0 14px",lineHeight:"12px",opacity:"0.5",height:12,fontWeight:"500",margin:0},weekTitleDay:{listStyle:"none","float":"left",width:37,textAlign:"center",margin:"0 2px"}},s=this.prepareStyles(o.weekTitleDay),a=this.props,u=a.DateTimeFormat,l=a.locale,d=a.firstDayOfWeek;return i["default"].createElement(T["default"],{style:this.mergeStyles(o.root)},i["default"].createElement(E["default"],{DateTimeFormat:u,locale:l,disableYearSelection:this.props.disableYearSelection,style:o.dateDisplay,selectedDate:this.state.selectedDate,handleMonthDayClick:this._handleMonthDayClick,handleYearClick:this._handleYearClick,monthDaySelected:this.state.displayMonthDay,mode:this.props.mode,weekCount:t}),this.state.displayMonthDay&&i["default"].createElement("div",{style:this.prepareStyles(o.calendarContainer)},i["default"].createElement(w["default"],{DateTimeFormat:u,locale:l,displayDate:this.state.displayDate,onMonthChange:this._handleMonthChange,prevMonth:r.prevMonth,nextMonth:r.nextMonth}),i["default"].createElement(T["default"],{elementType:"ul",style:o.weekTitle},k.map(function(e,t){return i["default"].createElement("li",{key:t,style:s},p["default"].localizedWeekday(u,l,t,d))})),i["default"].createElement(C["default"],{direction:this.state.transitionDirection},i["default"].createElement(_["default"],{key:this.state.displayDate.toDateString(),ref:"calendar",displayDate:this.state.displayDate,onDayTouchTap:this._handleDayTouchTap,selectedDate:this.state.selectedDate,minDate:this.props.minDate,maxDate:this.props.maxDate,shouldDisableDate:this.props.shouldDisableDate,firstDayOfWeek:this.props.firstDayOfWeek}))),!this.state.displayMonthDay&&i["default"].createElement("div",{style:this.prepareStyles(o.yearContainer)},this._yearSelector()))}});r["default"]=D,t.exports=r["default"]},{"../clearfix":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/clearfix.js","../mixins/style-propable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-propable.js","../mixins/window-listenable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/window-listenable.js","../styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js","../styles/transitions":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/transitions.js","../transition-groups/slide-in":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/transition-groups/slide-in.js","../utils/date-time":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/date-time.js","../utils/key-code":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/key-code.js","./calendar-month":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/date-picker/calendar-month.js","./calendar-toolbar":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/date-picker/calendar-toolbar.js","./calendar-year":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/date-picker/calendar-year.js","./date-display":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/date-picker/date-display.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/date-picker/date-display.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;tthis.props.selectedDate?"up":"down",this.setState({transitionDirection:n})),void 0!==e.monthDaySelected&&this.setState({selectedYear:!e.monthDaySelected})},getTheme:function(){return this.state.muiTheme.datePicker},getStyles:function(){var e=this.getTheme(),t="landscape"===this.props.mode,r={root:{backgroundColor:e.selectColor,borderTopLeftRadius:2,borderTopRightRadius:2,color:e.textColor,height:60,padding:20},monthDay:{root:{display:"inline-block",fontSize:36,fontWeight:"400",lineHeight:"36px",height:t?76:38,opacity:this.state.selectedYear?.7:1,transition:c["default"].easeOut(),width:"100%"},title:{cursor:this.state.selectedYear?"pointer":"default"}},year:{root:{margin:0,fontSize:16,fontWeight:"400",lineHeight:"16px",height:16,opacity:this.state.selectedYear?1:.7,transition:c["default"].easeOut(),marginBottom:10},title:{cursor:this.state.selectedYear&&!this.props.disableYearSelection?"pointer":"default"}}};return r},_handleMonthDayClick:function(){this.props.handleMonthDayClick&&this.state.selectedYear&&this.props.handleMonthDayClick(),this.setState({selectedYear:!1})},_handleYearClick:function(){!this.props.handleYearClick||this.props.disableYearSelection||this.state.selectedYear||this.props.handleYearClick(),this.props.disableYearSelection||this.setState({selectedYear:!0})},render:function(){var e=this.props,t=e.DateTimeFormat,r=e.locale,n=(e.selectedDate,e.style,o(e,["DateTimeFormat","locale","selectedDate","style"])),i=this.props.selectedDate.getFullYear(),u=this.getStyles(),l=new t(r,{month:"short",weekday:"short",day:"2-digit"}).format(this.props.selectedDate);return a["default"].createElement("div",s({},n,{style:this.prepareStyles(u.root,this.props.style)}),a["default"].createElement(h["default"],{style:u.year.root,direction:this.state.transitionDirection},a["default"].createElement("div",{key:i,style:u.year.title,onTouchTap:this._handleYearClick},i)),a["default"].createElement(h["default"],{style:u.monthDay.root,direction:this.state.transitionDirection},a["default"].createElement("div",{key:l,style:u.monthDay.title,onTouchTap:this._handleMonthDayClick},l)))}});r["default"]=b,t.exports=r["default"]},{"../mixins/style-propable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-propable.js","../styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js","../styles/transitions":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/transitions.js","../transition-groups/slide-in":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/transition-groups/slide-in.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/date-picker/date-picker-dialog.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(){function e(e,t){for(var r=0;r=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var i=Object.assign||function(e){for(var t=1;t0&&u["default"].createElement("div",{className:r,style:this.prepareStyles(t)},u["default"].Children.toArray(n))},_positionDialog:function(){var e=this.props,t=e.actions,r=e.autoDetectWindowHeight,n=e.autoScrollBodyContent,o=e.bodyStyle,s=e.open,i=e.repositionOnUpdate,a=e.title;if(s){var u=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,l=d["default"].findDOMNode(this),c=d["default"].findDOMNode(this.refs.dialogWindow),p=d["default"].findDOMNode(this.refs.dialogContent),h=16;c.style.height="",p.style.height="";var f=c.offsetHeight,m=(u-f)/2-64;if(m0;_&&(v-=p.nextSibling.offsetHeight),p.style.maxHeight=v+"px"}}},_requestClose:function(e){!e&&this.props.modal||this.props.onRequestClose&&this.props.onRequestClose(!!e)},_handleOverlayTouchTap:function(){this._requestClose(!1)},_handleWindowKeyUp:function(e){e.keyCode===f["default"].ESC&&this._requestClose(!1)},_handleResize:function(){this.props.open&&this._positionDialog()},render:function(){var e=this.props,t=e.actions,r=e.actionsContainerClassName,n=e.actionsContainerStyle,o=e.bodyClassName,s=e.bodyStyle,i=e.children,a=e.className,l=e.contentClassName,d=e.contentStyle,c=e.overlayClassName,p=e.overlayStyle,h=e.open,f=e.titleClassName,m=e.titleStyle,b=e.title,v=e.style,_=this.getStyles();_.root=this.mergeStyles(_.root,v),_.content=this.mergeStyles(_.content,d),_.body=this.mergeStyles(_.body,s),_.actionsContainer=this.mergeStyles(_.actionsContainer,n),_.overlay=this.mergeStyles(_.overlay,p),_.title=this.mergeStyles(_.title,m);var g=this._getActionsContainer(t,_.actionsContainer,r),y="string"==typeof b?u["default"].createElement("h3",{className:f,style:this.prepareStyles(_.title)},b):b;return u["default"].createElement("div",{className:a,style:this.prepareStyles(_.root)},u["default"].createElement(H["default"],{component:"div",ref:"dialogWindow",transitionAppear:!0,transitionAppearTimeout:450,transitionEnter:!0,transitionEnterTimeout:450},h&&u["default"].createElement(F,{className:l,style:_.content},u["default"].createElement(C["default"],{style:_.paper,zDepth:4},y,u["default"].createElement("div",{ref:"dialogContent",className:o,style:this.prepareStyles(_.body)},i),g))),u["default"].createElement(w["default"],{show:h,className:c,style:_.overlay,onTouchTap:this._handleOverlayTouchTap}))}}),R=u["default"].createClass({displayName:"Dialog",propTypes:{actionFocus:(0,D["default"])(u["default"].PropTypes.string,"Instead, use a custom `actions` property."),actions:u["default"].PropTypes.node,actionsContainerClassName:u["default"].PropTypes.string,actionsContainerStyle:u["default"].PropTypes.object,autoDetectWindowHeight:u["default"].PropTypes.bool,autoScrollBodyContent:u["default"].PropTypes.bool,bodyClassName:u["default"].PropTypes.string,bodyStyle:u["default"].PropTypes.object,children:u["default"].PropTypes.node,className:u["default"].PropTypes.string,contentClassName:u["default"].PropTypes.string,contentStyle:u["default"].PropTypes.object,modal:u["default"].PropTypes.bool,onRequestClose:u["default"].PropTypes.func,open:u["default"].PropTypes.bool.isRequired,overlayClassName:u["default"].PropTypes.string,overlayStyle:u["default"].PropTypes.object,repositionOnUpdate:u["default"].PropTypes.bool,style:u["default"].PropTypes.object,title:u["default"].PropTypes.node,titleClassName:u["default"].PropTypes.string,titleStyle:u["default"].PropTypes.object,width:(0,D["default"])(u["default"].PropTypes.any,"Use the contentStyle.")},getDefaultProps:function(){return{autoDetectWindowHeight:!0,autoScrollBodyContent:!1,modal:!1,repositionOnUpdate:!0}},renderLayer:function(){return u["default"].createElement(M,this.props)},render:function(){return u["default"].createElement(E["default"],{render:this.renderLayer,open:!0,useLayerForClickAway:!1})}});r["default"]=R,t.exports=r["default"]}).call(this,e("_process"))},{"./flat-button":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/flat-button.js","./mixins/style-propable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-propable.js","./mixins/window-listenable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/window-listenable.js","./overlay":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/overlay.js","./paper":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/paper.js","./render-to-layer":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/render-to-layer.js","./styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js","./styles/transitions":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/transitions.js","./utils/deprecatedPropType":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/deprecatedPropType.js","./utils/key-code":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/key-code.js",_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js","react-addons-transition-group":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/react-addons-transition-group/index.js","react-dom":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-dom/index.js",warning:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/warning/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/divider.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function s(){if(!T){var e=document.createElement("style");e.innerHTML="\n button::-moz-focus-inner,\n input::-moz-focus-inner {\n border: 0;\n padding: 0;\n }\n ",document.body.appendChild(e),T=!0}}function i(){A||(g["default"].on(window,"keydown",function(e){S=e.keyCode===$["default"].TAB}),A=!0)}var a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=this.props.rows&&(n=Math.min(this.props.rowsMax*f,n)),n=Math.max(n,f),this.state.height!==n&&(this.setState({height:n}),this.props.onHeightChange&&this.props.onHeightChange(t,n))},_handleChange:function(e){this._syncHeightWithShadow(e.target.value),this.props.hasOwnProperty("valueLink")&&this.props.valueLink.requestChange(e.target.value),this.props.onChange&&this.props.onChange(e)},render:function(){var e=this.props,t=(e.onChange,e.onHeightChange,e.rows,e.style),r=e.textareaStyle,n=(e.valueLink,o(e,["onChange","onHeightChange","rows","style","textareaStyle","valueLink"])),i=this.mergeStyles(m.textarea,r,{height:this.state.height}),u=m.shadow;return this.props.hasOwnProperty("valueLink")&&(n.value=this.props.valueLink.value),this.props.disabled&&(t.cursor="default"),a["default"].createElement("div",{style:this.prepareStyles(this.props.style)},a["default"].createElement("textarea",{ref:"shadow",style:this.prepareStyles(u),tabIndex:"-1",rows:this.props.rows,defaultValue:this.props.defaultValue,readOnly:!0,value:this.props.value,valueLink:this.props.valueLink}),a["default"].createElement("textarea",s({},n,{ref:"input",rows:this.props.rows,style:this.prepareStyles(i),onChange:this._handleChange})))}});r["default"]=b,t.exports=r["default"]},{"./mixins/style-propable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-propable.js","./styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js","react-dom":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-dom/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/flat-button.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function s(e,t,r){if(!e.children&&!e.label)return new Error("Required prop label or children was not specified in "+r+".")}var i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i=Object.assign||function(e){for(var t=1;t0?t.props.nestedItems.reduce(this.hasSelectedDescendant,e):e||this.isChildSelected(t,this.props)},isChildSelected:function(e,t){var r=this.getValueLink(t).value,n=e.props.value;return r===n},handleItemTouchTap:function(e,t){var r=this.getValueLink(this.props),n=t.props.value,o=r.value;n!==o&&r.requestChange(e,n)},render:function(){var t=this,r=this.props,n=r.children,s=r.selectedItemStyle;this.keyIndex=0;var a={};if(!s){var u=this.state.muiTheme.rawTheme.palette.textColor,l=p["default"].fade(u,.2);a={backgroundColor:l}}var d=i["default"].Children.map(n,function(e){return t.extendChild(e,a,s)});return i["default"].createElement(e,o({},this.props,this.state),d)}});return t};r["default"]=h},{"../mixins/style-propable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-propable.js","../styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js","../utils/color-manipulator":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/color-manipulator.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/icon-button.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}Object.defineProperty(r,"__esModule",{value:!0});var s=e("react"),i=n(s),a=e("./styles/transitions"),u=n(a),l=e("./mixins/style-propable"),d=n(l),c=e("./styles/getMuiTheme"),p=n(c),h=i["default"].createClass({displayName:"InkBar",propTypes:{color:i["default"].PropTypes.string,left:i["default"].PropTypes.string.isRequired,style:i["default"].PropTypes.object,width:i["default"].PropTypes.string.isRequired},contextTypes:{muiTheme:i["default"].PropTypes.object},childContextTypes:{muiTheme:i["default"].PropTypes.object},mixins:[d["default"]],getInitialState:function(){return{muiTheme:this.context.muiTheme||(0,p["default"])()}},getChildContext:function(){return{muiTheme:this.state.muiTheme}},componentWillReceiveProps:function(e,t){var r=t.muiTheme?t.muiTheme:this.state.muiTheme;this.setState({muiTheme:r})},render:function(){var e=this.props,t=e.color,r=e.left,n=e.width,s=(e.style,o(e,["color","left","width","style"]),t?{backgroundColor:t}:void 0),a=this.mergeStyles({left:r,width:n,bottom:0,display:"block",backgroundColor:this.state.muiTheme.inkBar.backgroundColor,height:2,marginTop:-2,position:"relative",transition:u["default"].easeOut("1s","left")},this.props.style,s);return i["default"].createElement("div",{style:this.prepareStyles(a)}," ")}});r["default"]=h,t.exports=r["default"]},{"./mixins/style-propable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-propable.js","./styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js","./styles/transitions":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/transitions.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/left-nav.js":[function(e,t,r){(function(n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var s=e("react"),i=o(s),a=e("react-dom"),u=o(a),l=e("./utils/key-code"),d=o(l),c=e("./mixins/style-propable"),p=o(c),h=e("./styles/auto-prefix"),f=o(h),m=e("./styles/transitions"),b=o(m),v=e("./mixins/window-listenable"),_=o(v),g=e("./overlay"),y=o(g),$=e("./paper"),w=o($),x=e("./menu/menu"),E=o(x),P=e("./styles/getMuiTheme"),C=o(P),j=e("warning"),T=o(j),A=e("./utils/deprecatedPropType"),S=o(A),k=null,D=i["default"].createClass({displayName:"LeftNav",propTypes:{children:i["default"].PropTypes.node,className:i["default"].PropTypes.string,disableSwipeToOpen:i["default"].PropTypes.bool,docked:i["default"].PropTypes.bool,header:(0,S["default"])(i["default"].PropTypes.element,"Instead, use composability."),menuItemClassName:(0,S["default"])(i["default"].PropTypes.string,"It will be removed with menuItems."),menuItemClassNameLink:(0,S["default"])(i["default"].PropTypes.string,"It will be removed with menuItems."),menuItemClassNameSubheader:(0,S["default"])(i["default"].PropTypes.string,"It will be removed with menuItems."),menuItems:(0,S["default"])(i["default"].PropTypes.array,"Instead, use composability."),onChange:(0,S["default"])(i["default"].PropTypes.func,"It will be removed with menuItems."),onNavClose:(0,S["default"])(i["default"].PropTypes.func,"Instead, use onRequestChange."),onNavOpen:(0,S["default"])(i["default"].PropTypes.func,"Instead, use onRequestChange."),onRequestChange:i["default"].PropTypes.func,open:i["default"].PropTypes.bool,openRight:i["default"].PropTypes.bool,overlayClassName:i["default"].PropTypes.string,overlayStyle:i["default"].PropTypes.object,selectedIndex:(0,S["default"])(i["default"].PropTypes.number,"It will be removed with menuItems."),style:i["default"].PropTypes.object,swipeAreaWidth:i["default"].PropTypes.number,width:i["default"].PropTypes.number},contextTypes:{muiTheme:i["default"].PropTypes.object},childContextTypes:{muiTheme:i["default"].PropTypes.object},mixins:[p["default"],_["default"]],getDefaultProps:function(){return{disableSwipeToOpen:!1,docked:!0,open:null,openRight:!1,swipeAreaWidth:30,width:null}},getInitialState:function(){return this._maybeSwiping=!1,this._touchStartX=null,this._touchStartY=null,this._swipeStartX=null,{open:null!==this.props.open?this.props.open:this.props.docked,swiping:null,muiTheme:this.context.muiTheme||(0,C["default"])()}},getChildContext:function(){return{muiTheme:this.state.muiTheme}},componentDidMount:function(){this._updateMenuHeight(),this._enableSwipeHandling()},componentWillReceiveProps:function(e,t){var r=t.muiTheme?t.muiTheme:this.state.muiTheme,n={muiTheme:r};this.props.docked!==e.docked&&(n.open=e.docked),null!==e.open&&(n.open=e.open),this.setState(n)},componentDidUpdate:function(){this._updateMenuHeight(),this._enableSwipeHandling()},componentWillUnmount:function(){this._disableSwipeHandling()},windowListeners:{keyup:"_onWindowKeyUp",resize:"_onWindowResize"},toggle:function(){return"production"!==n.env.NODE_ENV?(0,T["default"])(!1,"using methods on left nav has been deprecated. Please refer to documentations."):void 0,this.state.open?this.close():this.open(),this},close:function(){return"production"!==n.env.NODE_ENV?(0,T["default"])(!1,"using methods on left nav has been deprecated. Please refer to documentations."):void 0,this.setState({open:!1}),this.props.onNavClose&&this.props.onNavClose(),this},open:function(){return"production"!==n.env.NODE_ENV?(0,T["default"])(!1,"using methods on left nav has been deprecated. Please refer to documentations."):void 0,this.setState({open:!0}),this.props.onNavOpen&&this.props.onNavOpen(),this},getStyles:function(){var e=this.state.muiTheme,t=e.leftNav,r=e.rawTheme,n=this._getTranslateMultiplier()*(this.state.open?0:this._getMaxTranslateX()),o={root:{height:"100%",width:this.props.width||t.width,position:"fixed",zIndex:e.zIndex.leftNav,left:0,top:0,transform:"translate3d("+n+"px, 0, 0)",transition:!this.state.swiping&&b["default"].easeOut(null,"transform",null),backgroundColor:t.color,overflow:"auto"},menu:{overflowY:"auto",overflowX:"hidden",height:"100%",borderRadius:"0"},overlay:{zIndex:e.zIndex.leftNavOverlay,pointerEvents:this.state.open?"auto":"none"},menuItem:{height:r.spacing.desktopLeftNavMenuItemHeight,lineHeight:r.spacing.desktopLeftNavMenuItemHeight+"px"},rootWhenOpenRight:{left:"auto",right:0}};return o.menuItemLink=this.mergeStyles(o.menuItem,{display:"block",textDecoration:"none",color:r.palette.textColor}),o.menuItemSubheader=this.mergeStyles(o.menuItem,{overflow:"hidden"}),o},_shouldShow:function(){return this.state.open||!!this.state.swiping},_close:function(e){return null===this.props.open&&this.setState({open:!1}),this.props.onRequestChange&&this.props.onRequestChange(!1,e), -this},_open:function(e){return null===this.props.open&&this.setState({open:!0}),this.props.onRequestChange&&this.props.onRequestChange(!0,e),this},_updateMenuHeight:function(){if(this.props.header){var e=u["default"].findDOMNode(this.refs.menuItems);if(e){var t=u["default"].findDOMNode(this.refs.clickAwayableElement),r=t.clientHeight-e.offsetTop;e.style.height=r+"px"}}},_onMenuItemClick:function(e,t,r){this.props.onChange&&this.props.selectedIndex!==t&&this.props.onChange(e,t,r),this.props.docked||this._close("clickaway")},_onOverlayTouchTap:function(e){e.preventDefault(),this._close("clickaway")},_onWindowKeyUp:function(e){e.keyCode===d["default"].ESC&&!this.props.docked&&this.state.open&&this._close("escape")},_onWindowResize:function(){this._updateMenuHeight()},_getMaxTranslateX:function(){var e=this.props.width||this.state.muiTheme.leftNav.width;return e+10},_getTranslateMultiplier:function(){return this.props.openRight?1:-1},_enableSwipeHandling:function(){this.props.docked?this._disableSwipeHandling():(document.body.addEventListener("touchstart",this._onBodyTouchStart),k||(k=this._onBodyTouchStart))},_disableSwipeHandling:function(){document.body.removeEventListener("touchstart",this._onBodyTouchStart),k===this._onBodyTouchStart&&(k=null)},_onBodyTouchStart:function(e){var t=this.props.swipeAreaWidth,r=e.touches[0].pageX,n=e.touches[0].pageY;if(null!==t&&!this.state.open)if(this.props.openRight){if(rt)return;(this.state.open||k===this._onBodyTouchStart&&!this.props.disableSwipeToOpen)&&(this._maybeSwiping=!0,this._touchStartX=r,this._touchStartY=n,document.body.addEventListener("touchmove",this._onBodyTouchMove),document.body.addEventListener("touchend",this._onBodyTouchEnd),document.body.addEventListener("touchcancel",this._onBodyTouchEnd))},_setPosition:function(e){var t=u["default"].findDOMNode(this.refs.clickAwayableElement),r="translate3d("+this._getTranslateMultiplier()*e+"px, 0, 0)";this.refs.overlay.setOpacity(1-e/this._getMaxTranslateX()),f["default"].set(t.style,"transform",r,this.state.muiTheme)},_getTranslateX:function(e){return Math.min(Math.max("closing"===this.state.swiping?this._getTranslateMultiplier()*(e-this._swipeStartX):this._getMaxTranslateX()-this._getTranslateMultiplier()*(this._swipeStartX-e),0),this._getMaxTranslateX())},_onBodyTouchMove:function(e){var t=e.touches[0].pageX,r=e.touches[0].pageY;if(this.state.swiping)e.preventDefault(),this._setPosition(this._getTranslateX(t));else if(this._maybeSwiping){var n=Math.abs(t-this._touchStartX),o=Math.abs(r-this._touchStartY),s=10;n>s&&o<=s?(this._swipeStartX=t,this.setState({swiping:this.state.open?"closing":"opening"}),this._setPosition(this._getTranslateX(t))):n<=s&&o>s&&this._onBodyTouchEnd()}},_onBodyTouchEnd:function(e){if(this.state.swiping){var t=e.changedTouches[0].pageX,r=this._getTranslateX(t)/this._getMaxTranslateX();this._maybeSwiping=!1;var n=this.state.swiping;this.setState({swiping:null}),r>.5?"opening"===n?this._setPosition(this._getMaxTranslateX()):this._close("swipe"):"opening"===n?this._open("swipe"):this._setPosition(0)}else this._maybeSwiping=!1;document.body.removeEventListener("touchmove",this._onBodyTouchMove),document.body.removeEventListener("touchend",this._onBodyTouchEnd),document.body.removeEventListener("touchcancel",this._onBodyTouchEnd)},render:function(){var e=this.props,t=e.className,r=e.docked,n=e.header,o=e.menuItemClassName,s=e.menuItemClassNameSubheader,a=e.menuItemClassNameLink,u=e.menuItems,l=e.openRight,d=e.overlayClassName,c=e.overlayStyle,p=e.selectedIndex,h=e.style,f=this.getStyles(),m=void 0;r||(m=i["default"].createElement(y["default"],{ref:"overlay",show:this._shouldShow(),className:d,style:this.mergeStyles(f.overlay,c),transitionEnabled:!this.state.swiping,onTouchTap:this._onOverlayTouchTap}));var b=void 0;return b=void 0===u?this.props.children:i["default"].createElement(E["default"],{ref:"menuItems",style:this.mergeStyles(f.menu),zDepth:0,menuItems:u,menuItemStyle:this.mergeStyles(f.menuItem),menuItemStyleLink:this.mergeStyles(f.menuItemLink),menuItemStyleSubheader:this.mergeStyles(f.menuItemSubheader),menuItemClassName:o,menuItemClassNameSubheader:s,menuItemClassNameLink:a,selectedIndex:p,onItemTap:this._onMenuItemClick}),i["default"].createElement("div",null,m,i["default"].createElement(w["default"],{ref:"clickAwayableElement",zDepth:2,rounded:!1,transitionEnabled:!this.state.swiping,className:t,style:this.mergeStyles(f.root,l&&f.rootWhenOpenRight,h)},n,b))}});r["default"]=D,t.exports=r["default"]}).call(this,e("_process"))},{"./menu/menu":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/menu/menu.js","./mixins/style-propable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-propable.js","./mixins/window-listenable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/window-listenable.js","./overlay":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/overlay.js","./paper":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/paper.js","./styles/auto-prefix":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/auto-prefix.js","./styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js","./styles/transitions":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/transitions.js","./utils/deprecatedPropType":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/deprecatedPropType.js","./utils/key-code":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/key-code.js",_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js","react-dom":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-dom/index.js",warning:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/warning/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/linear-progress.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t has been deprecated. Please use the component."):void 0,null},render:function(){return i["default"].createElement(u["default"],this.props)}});r["default"]=c,t.exports=r["default"]}).call(this,e("_process"))},{"../divider":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/divider.js",_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js",warning:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/warning/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/lists/list-item.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t1,q=c||C,U={root:{backgroundColor:!this.state.isKeyboardFocused&&!this.state.hovered||this.state.rightIconButtonHovered||this.state.rightIconButtonKeyboardFocused?null:R,color:M,display:"block",fontSize:16,lineHeight:"16px",position:"relative",transition:g["default"].easeOut()},innerDiv:{marginLeft:m*this.state.muiTheme.listItem.nestedLevelDepth,paddingLeft:p||d||c||l?72:16,paddingRight:w||y||E?56:C?72:16,paddingBottom:B?20:16,paddingTop:I||L?16:20,position:"relative"},icons:{height:24,width:24,display:"block",position:"absolute",top:N?12:B?4:0,margin:12},leftIcon:{color:v["default"].grey600,fill:v["default"].grey600,left:4},rightIcon:{color:v["default"].grey400,fill:v["default"].grey400,right:4},avatars:{position:"absolute",top:B?8:16},label:{cursor:"pointer"},leftAvatar:{left:16},rightAvatar:{right:16},leftCheckbox:{position:"absolute",display:"block",width:24,top:N?24:B?16:12,left:16},primaryText:{},rightIconButton:{position:"absolute",display:"block",top:N?12:B?4:0,right:4},rightToggle:{position:"absolute",display:"block",width:54,top:N?25:B?17:13,right:8},secondaryText:{fontSize:14,lineHeight:L?"18px":"16px",height:L?36:16,margin:0,marginTop:4,color:$["default"].textLightBlack,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:L?null:"nowrap",display:L?"-webkit-box":null,WebkitLineClamp:L?2:null,WebkitBoxOrient:L?"vertical":null}},z=[r];p&&this._pushElement(z,p,this.mergeStyles(U.icons,U.leftIcon)),w&&this._pushElement(z,w,this.mergeStyles(U.icons,U.rightIcon)),d&&this._pushElement(z,d,this.mergeStyles(U.avatars,U.leftAvatar)),y&&this._pushElement(z,y,this.mergeStyles(U.avatars,U.rightAvatar)),c&&this._pushElement(z,c,this.mergeStyles(U.leftCheckbox));var W=f.length,V=y||w||E||C,G=W&&t&&!V;if(E||G){var K=E,Y={onKeyboardFocus:this._handleRightIconButtonKeyboardFocus,onMouseEnter:this._handleRightIconButtonMouseEnter,onMouseLeave:this._handleRightIconButtonMouseLeave,onTouchTap:this._handleRightIconButtonTouchTap,onMouseDown:this._handleRightIconButtonMouseUp,onMouseUp:this._handleRightIconButtonMouseUp};G&&(K=this.state.open?a["default"].createElement(P["default"],null,a["default"].createElement(j["default"],null)):a["default"].createElement(P["default"],null,a["default"].createElement(A["default"],null)),Y.onTouchTap=this._handleNestedListToggle),this._pushElement(z,K,this.mergeStyles(U.rightIconButton),Y)}if(C&&this._pushElement(z,C,this.mergeStyles(U.rightToggle)),T){var X=this._createTextElement(U.primaryText,T,"primaryText");z.push(X)}if(D){var X=this._createTextElement(U.secondaryText,D,"secondaryText");z.push(X)}var Z=f.length?a["default"].createElement(k["default"],{nestedLevel:m+1,open:this.state.open,style:b},f):void 0;return a["default"].createElement("div",null,q?this._createLabelElement(U,z,F):n?this._createDisabledElement(U,z,F):a["default"].createElement(x["default"],s({},F,{disabled:n,disableKeyboardFocus:i||this.state.rightIconButtonKeyboardFocused,linkButton:!0,onKeyboardFocus:this._handleKeyboardFocus,onMouseLeave:this._handleMouseLeave,onMouseEnter:this._handleMouseEnter,onTouchStart:this._handleTouchStart,onTouchTap:S?this._handleNestedListToggle:_,ref:"enhancedButton",style:this.mergeStyles(U.root,H)}),a["default"].createElement("div",{style:this.prepareStyles(U.innerDiv,u)},z)),Z)}});r["default"]=H,t.exports=r["default"]},{"../enhanced-button":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/enhanced-button.js","../icon-button":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/icon-button.js","../mixins/style-propable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-propable.js","../styles/colors":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/colors.js","../styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js","../styles/transitions":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/transitions.js","../styles/typography":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/typography.js","../svg-icons/navigation/arrow-drop-down":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/svg-icons/navigation/arrow-drop-down.js","../svg-icons/navigation/arrow-drop-up":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/svg-icons/navigation/arrow-drop-up.js","../utils/color-manipulator":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/color-manipulator.js","./nested-list":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/lists/nested-list.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js","react-addons-pure-render-mixin":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/react-addons-pure-render-mixin/index.js","react-dom":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-dom/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/lists/list.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0?t:0,isKeyboardFocused:this.props.initiallyKeyboardFocused,keyWidth:this.props.desktop?64:56,muiTheme:this.context.muiTheme||(0,A["default"])()}},getChildContext:function(){return{muiTheme:this.state.muiTheme}},componentDidMount:function(){this.props.autoWidth&&this._setWidth(),this.props.animated||this._animateOpen(),this._setScollPosition()},componentWillReceiveProps:function(e,t){var r=this._getFilteredChildren(e.children),n=this._getSelectedIndex(e,r),o=t.muiTheme?t.muiTheme:this.state.muiTheme;this.setState({focusIndex:n>=0?n:0,keyWidth:e.desktop?64:56,muiTheme:o})},componentDidUpdate:function(){this.props.autoWidth&&this._setWidth()},componentClickAway:function(e){e.defaultPrevented||this._setFocusIndex(-1,!1)},getValueLink:function(e){return e.valueLink||{value:e.value,requestChange:e.onChange}},setKeyboardFocused:function(e){this.setState({isKeyboardFocused:e})},_getFilteredChildren:function(e){var t=[];return a["default"].Children.forEach(e,function(e){e&&t.push(e)}),t},_animateOpen:function(){var e=l["default"].findDOMNode(this).style,t=l["default"].findDOMNode(this.refs.scrollContainer).style,r=l["default"].findDOMNode(this.refs.list).childNodes;v["default"].set(e,"transform","scaleX(1)",this.state.muiTheme),v["default"].set(t,"transform","scaleY(1)",this.state.muiTheme),t.opacity=1;for(var n=0;nr&&(t=r),this._setFocusIndex(t,!0)},_isChildSelected:function(e,t){var r=t.multiple,n=this.getValueLink(t).value,o=e.props.value;return r&&n.length&&n.indexOf(o)!==-1||!r&&n&&n===o},_setFocusIndex:function(e,t){this.setState({focusIndex:e,isKeyboardFocused:t})},_setScollPosition:function(){var e=this.props.desktop,t=this.refs.focusedMenuItem,r=e?32:48;if(t){var n=l["default"].findDOMNode(t).offsetTop,o=n-r;o=u-1&&A<=u+C-1&&(E=m?E+T:E-T,l=E),s=e.mergeStyles(y.menuItemContainer,{transitionDelay:l+"ms"})}var d=n?a["default"].cloneElement(t,{style:y.divider}):o?a["default"].cloneElement(t,{desktop:i}):e._cloneMenuItem(t,A,y);return n||o||A++,r?a["default"].createElement("div",{style:e.prepareStyles(s)},d):d});return a["default"].createElement("div",{onKeyDown:this._handleKeyDown,style:this.prepareStyles($)},a["default"].createElement(j["default"],{ref:"scrollContainer",style:y.paper,zDepth:h},a["default"].createElement(P["default"],s({},f,{ref:"list",style:w}),S)))}});r["default"]=S,t.exports=r["default"]},{"../lists/list":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/lists/list.js","../mixins/click-awayable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/click-awayable.js","../mixins/style-propable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-propable.js","../paper":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/paper.js","../styles/auto-prefix":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/auto-prefix.js","../styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js","../styles/transitions":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/transitions.js","../utils/key-code":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/key-code.js","../utils/prop-types":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/prop-types.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js","react-addons-update":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/react-addons-update/index.js","react-dom":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-dom/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/click-awayable.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var o=e("react-dom"),s=n(o),i=e("../utils/events"),a=n(i),u=e("../utils/dom"),l=n(u);r["default"]={componentDidMount:function(){this.manuallyBindClickAway||this._bindClickAway()},componentWillUnmount:function(){this._unbindClickAway()},_checkClickAway:function(e){if(this.isMounted()){var t=s["default"].findDOMNode(this);e.target!==t&&!l["default"].isDescendant(t,e.target)&&document.documentElement.contains(e.target)&&this.componentClickAway&&this.componentClickAway(e)}},_bindClickAway:function(){a["default"].on(document,"mouseup",this._checkClickAway),a["default"].on(document,"touchend",this._checkClickAway)},_unbindClickAway:function(){a["default"].off(document,"mouseup",this._checkClickAway),a["default"].off(document,"touchend",this._checkClickAway)}},t.exports=r["default"]},{"../utils/dom":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/dom.js","../utils/events":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/events.js","react-dom":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-dom/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/context-pure.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,r){if(e.getRelevantContextKeys){var n=e.getRelevantContextKeys(t),s=e.getRelevantContextKeys(r);if(!(0,i["default"])(n,s))return!1}if(e.getChildrenClasses)for(var a=e.getChildrenClasses(),u=0;u=e},_updateDeviceSize:function(){var e=window.innerWidth;e>=992?this.setState({deviceSize:i.LARGE}):e>=768?this.setState({deviceSize:i.MEDIUM}):this.setState({deviceSize:i.SMALL})},_bindResize:function(){s["default"].on(window,"resize",this._updateDeviceSize)},_unbindResize:function(){s["default"].off(window,"resize",this._updateDeviceSize)}},t.exports=r["default"]},{"../utils/events":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/events.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/window-listenable.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var o=e("../utils/events"),s=n(o);r["default"]={componentDidMount:function(){var e=this.windowListeners;for(var t in e){var r=e[t];s["default"].on(window,t,this[r])}},componentWillUnmount:function(){var e=this.windowListeners;for(var t in e){var r=e[t];s["default"].off(window,t,this[r])}}},t.exports=r["default"]},{"../utils/events":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/events.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/muiThemeable.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){return e.displayName||e.name||"Component"}function s(e){var t=function(t,r){var n=r.muiTheme,o=void 0===n?(0,d["default"])():n;return u["default"].createElement(e,i({},t,{muiTheme:o}))};return t.displayName=o(e),t.contextTypes={muiTheme:u["default"].PropTypes.object},t.childContextTypes={muiTheme:u["default"].PropTypes.object},t}var i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;twindow.innerHeight||e.left<0||e.left>window.innerWith)&&this.requestClose("offScreen")},getOverlapMode:function(e,t,r){return[e,t].indexOf(r)>=0?"auto":e===t?"inclusive":"exclusive"},getPositions:function(e,t){var r=s({},e),n=s({},t),o={x:["left","right"].filter(function(e){return e!==n.horizontal}),y:["top","bottom"].filter(function(e){return e!==n.vertical})},i={x:this.getOverlapMode(r.horizontal,n.horizontal,"middle"),y:this.getOverlapMode(r.vertical,n.vertical,"center")};return o.x.splice("auto"===i.x?0:1,0,"middle"),o.y.splice("auto"===i.y?0:1,0,"center"),"auto"!==i.y&&(r.vertical="top"===r.vertical?"bottom":"top","inclusive"===i.y&&(n.vertical=n.vertical)),"auto"!==i.x&&(r.horizontal="left"===r.horizontal?"right":"left","inclusive"===i.y&&(n.horizontal=n.horizontal)),{positions:o,anchorPos:r}},applyAutoPositionIfNeeded:function(e,t,r,n,o){var s=this.getPositions(n,r),i=s.positions,a=s.anchorPos;if(o.top<0||o.top+t.bottom>window.innerHeight){var u=e[a.vertical]-t[i.y[0]];u+t.bottom<=window.innerHeight?o.top=Math.max(0,u):(u=e[a.vertical]-t[i.y[1]],u+t.bottom<=window.innerHeight&&(o.top=Math.max(0,u)))}if(o.left<0||o.left+t.right>window.innerWidth){var l=e[a.horizontal]-t[i.x[0]];l+t.right<=window.innerWidth?o.left=Math.max(0,l):(l=e[a.horizontal]-t[i.x[1]],l+t.right<=window.innerWidth&&(o.left=Math.max(0,l)))}return o},render:function(){return a["default"].createElement(h["default"],{ref:"layer",open:this.state.open,componentClickAway:this.componentClickAway,useLayerForClickAway:this.props.useLayerForClickAway,render:this.renderLayer})}});r["default"]=C,t.exports=r["default"]},{"../mixins/style-propable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-propable.js","../mixins/window-listenable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/window-listenable.js","../paper":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/paper.js","../render-to-layer":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/render-to-layer.js","../styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js","../utils/prop-types":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/prop-types.js","./popover-default-animation":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/popover/popover-default-animation.js","lodash.throttle":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.throttle/index.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js","react-dom":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-dom/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/radio-button-group.js":[function(e,t,r){(function(n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function s(e,t,r){if(!e.children&&!e.label)return new Error("Required prop label or children was not specified in "+r+".")}var i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=e.max){var o="min"===t?"min should be less than max":"max should be greater than min";return new Error(o)}},$=function(e,t,r){var n=a["default"].PropTypes.number(e,t,r);if(null!==n)return n;var o=e[t];return or&&(t=r),this._updateWithChangeEvent(e,t/r)},_updateWithChangeEvent:function(e,t){var r=this;this.setPercent(t,function(){r.props.onChange&&r.props.onChange(e,r.state.value)})},_percentToValue:function(e){return e*(this.props.max-this.props.min)+this.props.min},render:function(){var e=o(this.props,[]),t=this.state.percent;t>1?t=1:t<0&&(t=0);var r=this.getStyles(),n=this.mergeStyles(r.root,this.props.style),i=0===t?this.mergeStyles(r.handle,r.handleWhenPercentZero,this.state.active&&r.handleWhenActive,this.state.focused&&{outline:"none"},(this.state.hovered||this.state.focused)&&!this.props.disabled&&r.handleWhenPercentZeroAndFocused,this.props.disabled&&r.handleWhenPercentZeroAndDisabled):this.mergeStyles(r.handle,this.state.active&&r.handleWhenActive,this.state.focused&&{outline:"none"},this.props.disabled&&r.handleWhenDisabled,{left:100*t+"%"}),u=this.mergeStyles(r.ripple,0===t&&r.rippleWhenPercentZero),l=r.remaining;!this.state.hovered&&!this.state.focused||this.props.disabled||(l.backgroundColor=this.getTheme().trackColorSelected);var d=(this.state.hovered||this.state.focused)&&!this.state.active,c=0===this.state.percent?this.getTheme().handleColorZero:this.getTheme().rippleColor,p=void 0;this.props.disabled||this.props.disableFocusRipple||(p=a["default"].createElement(m["default"],{ref:"focusRipple",key:"focusRipple",style:this.mergeStyles(u),innerStyle:r.rippleInner,show:d,muiTheme:this.state.muiTheme,color:c}));var h={};return this.props.disabled||(h={onTouchStart:this._onHandleTouchStart,onMouseDown:this._onHandleMouseDown}),a["default"].createElement("div",s({},e,{style:this.prepareStyles(this.props.style)}),a["default"].createElement("span",null,this.props.description),a["default"].createElement("span",null,this.props.error),a["default"].createElement("div",{style:this.prepareStyles(n),onFocus:this._onFocus,onBlur:this._onBlur,onMouseDown:this._onMouseDown,onMouseEnter:this._onMouseEnter,onMouseLeave:this._onMouseLeave,onMouseUp:this._onMouseUp},a["default"].createElement("div",{ref:"track",style:this.prepareStyles(r.track)},a["default"].createElement("div",{style:this.prepareStyles(r.filled)}),a["default"].createElement("div",{style:this.prepareStyles(l)}),a["default"].createElement("div",s({style:this.prepareStyles(i),tabIndex:0},h),p))),a["default"].createElement("input",{ref:"input",type:"hidden",name:this.props.name,value:this.state.value,required:this.props.required,min:this.props.min,max:this.props.max,step:this.props.step}))}});r["default"]=w,t.exports=r["default"]},{"./mixins/style-propable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-propable.js","./ripples/focus-ripple":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/ripples/focus-ripple.js","./styles/auto-prefix":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/auto-prefix.js","./styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js","./styles/transitions":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/transitions.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js","react-dom":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-dom/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/snackbar.js":[function(e,t,r){(function(n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var i=Object.assign||function(e){for(var t=1;t0&&(clearTimeout(this.timerAutoHideId),this.timerAutoHideId=setTimeout(function(){null!==e.props.open&&e.props.onRequestClose?e.props.onRequestClose("timeout"):e.setState({open:!1})},t))},render:function(){var e=this.props,t=e.onActionTouchTap,r=e.style,n=e.bodyStyle,o=s(e,["onActionTouchTap","style","bodyStyle"]),a=this.getStyles(),l=this.state,d=l.open,c=l.action,p=l.message,h=d?this.mergeStyles(a.root,a.rootWhenOpen,r):this.mergeStyles(a.root,r),f=void 0;c&&(f=u["default"].createElement(b["default"],{style:a.action,label:c,onTouchTap:t})); -var m=this.mergeStyles(a.body,n),v=d?this.mergeStyles(a.content,a.contentWhenOpen):a.content;return u["default"].createElement("div",i({},o,{style:h}),u["default"].createElement("div",{style:m},u["default"].createElement("div",{style:v},u["default"].createElement("span",null,p),f)))}});r["default"]=j,t.exports=r["default"]}).call(this,e("_process"))},{"./flat-button":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/flat-button.js","./mixins/click-awayable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/click-awayable.js","./mixins/context-pure":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/context-pure.js","./mixins/style-propable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-propable.js","./mixins/style-resizable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-resizable.js","./styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js","./styles/transitions":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/transitions.js","./utils/deprecatedPropType":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/deprecatedPropType.js",_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js",warning:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/warning/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/auto-prefix.js":[function(e,t,r){(function(n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};Object.defineProperty(r,"__esModule",{value:!0});var i=e("inline-style-prefixer"),a=o(i),u=e("warning"),l=o(u),d={},c=!1;r["default"]={getTransform:function(e){if(void 0===e&&"undefined"!=typeof navigator&&(e=navigator.userAgent),void 0!==e||c||("production"!==n.env.NODE_ENV?(0,l["default"])(!1,"Material-UI: userAgent should be supplied in the muiTheme context\n for server-side rendering."):void 0,c=!0),e===!1)return function(e){return e};if("all"===e||void 0===e)return a["default"].prefixAll;var t=function(){var t=new a["default"]({userAgent:e});return{v:function(e){return t.prefix(e)}}}();return"object"===("undefined"==typeof t?"undefined":s(t))?t.v:void 0},getPrefixer:function(){if("production"!==n.env.NODE_ENV?(0,l["default"])(!1,"Material-UI: getPrefixer() is no longer used. Do not use it."):void 0,"undefined"==typeof navigator)return"production"!==n.env.NODE_ENV?(0,l["default"])(!1,"Material-UI expects the global navigator.userAgent to be defined\n for server-side rendering. Set this property when receiving the request headers."):void 0,null;var e=navigator.userAgent,t=d[e];return t||(t=new a["default"]({userAgent:e}),d[e]=t),t},all:function(e){if(!e)return{};"production"!==n.env.NODE_ENV?(0,l["default"])(!1,"Material-UI: all() is no longer used, it will be removed. Do not use it"):void 0;var t=this.getPrefixer();return t?t.prefix(e):a["default"].prefixAll(e)},set:function(e,t,r,o){if(e[t]=r,o)e=o.prefix(e);else{"production"!==n.env.NODE_ENV?(0,l["default"])(!1,"Material-UI: you need to provide the muiTheme to the autoPrefix.set()"):void 0;var s=this.getPrefixer();e=s?s.prefix(e):a["default"].prefixAll(e)}},getPrefix:function(e){"production"!==n.env.NODE_ENV?(0,l["default"])(!1,"Material-UI: getPrefix() is no longer used, it will be removed. Do not use it"):void 0;var t={};t[e]=!0;var r=this.getPrefixer(),o=void 0;return o=r?Object.keys(r.prefix(t)):Object.keys(a["default"].prefixAll(t)),o?o[0]:e}},t.exports=r["default"]}).call(this,e("_process"))},{_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js","inline-style-prefixer":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/lib/Prefixer.js",warning:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/warning/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/baseThemes/darkBaseTheme.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var o=e("../colors"),s=n(o),i=e("../../utils/color-manipulator"),a=n(i),u=e("../spacing"),l=n(u);r["default"]={spacing:l["default"],fontFamily:"Roboto, sans-serif",palette:{primary1Color:s["default"].cyan700,primary2Color:s["default"].cyan700,primary3Color:s["default"].grey600,accent1Color:s["default"].pinkA200,accent2Color:s["default"].pinkA400,accent3Color:s["default"].pinkA100,textColor:s["default"].fullWhite,alternateTextColor:"#303030",canvasColor:"#303030",borderColor:a["default"].fade(s["default"].fullWhite,.3),disabledColor:a["default"].fade(s["default"].fullWhite,.3),pickerHeaderColor:a["default"].fade(s["default"].fullWhite,.12),clockCircleColor:a["default"].fade(s["default"].fullWhite,.12)}},t.exports=r["default"]},{"../../utils/color-manipulator":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/color-manipulator.js","../colors":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/colors.js","../spacing":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/spacing.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/baseThemes/lightBaseTheme.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var o=e("../colors"),s=n(o),i=e("../../utils/color-manipulator"),a=n(i),u=e("../spacing"),l=n(u);r["default"]={spacing:l["default"],fontFamily:"Roboto, sans-serif",palette:{primary1Color:s["default"].cyan500,primary2Color:s["default"].cyan700,primary3Color:s["default"].grey400,accent1Color:s["default"].pinkA200,accent2Color:s["default"].grey100,accent3Color:s["default"].grey500,textColor:s["default"].darkBlack,alternateTextColor:s["default"].white,canvasColor:s["default"].white,borderColor:s["default"].grey300,disabledColor:a["default"].fade(s["default"].darkBlack,.3),pickerHeaderColor:s["default"].cyan500,clockCircleColor:a["default"].fade(s["default"].darkBlack,.07),shadowColor:s["default"].fullBlack}},t.exports=r["default"]},{"../../utils/color-manipulator":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/color-manipulator.js","../colors":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/colors.js","../spacing":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/spacing.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/colors.js":[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={red50:"#ffebee",red100:"#ffcdd2",red200:"#ef9a9a",red300:"#e57373",red400:"#ef5350",red500:"#f44336",red600:"#e53935",red700:"#d32f2f",red800:"#c62828",red900:"#b71c1c",redA100:"#ff8a80",redA200:"#ff5252",redA400:"#ff1744",redA700:"#d50000",pink50:"#fce4ec",pink100:"#f8bbd0",pink200:"#f48fb1",pink300:"#f06292",pink400:"#ec407a",pink500:"#e91e63",pink600:"#d81b60",pink700:"#c2185b",pink800:"#ad1457",pink900:"#880e4f",pinkA100:"#ff80ab",pinkA200:"#ff4081",pinkA400:"#f50057",pinkA700:"#c51162",purple50:"#f3e5f5",purple100:"#e1bee7",purple200:"#ce93d8",purple300:"#ba68c8",purple400:"#ab47bc",purple500:"#9c27b0",purple600:"#8e24aa",purple700:"#7b1fa2",purple800:"#6a1b9a",purple900:"#4a148c",purpleA100:"#ea80fc",purpleA200:"#e040fb",purpleA400:"#d500f9",purpleA700:"#aa00ff",deepPurple50:"#ede7f6",deepPurple100:"#d1c4e9",deepPurple200:"#b39ddb",deepPurple300:"#9575cd",deepPurple400:"#7e57c2",deepPurple500:"#673ab7",deepPurple600:"#5e35b1",deepPurple700:"#512da8",deepPurple800:"#4527a0",deepPurple900:"#311b92",deepPurpleA100:"#b388ff",deepPurpleA200:"#7c4dff",deepPurpleA400:"#651fff",deepPurpleA700:"#6200ea",indigo50:"#e8eaf6",indigo100:"#c5cae9",indigo200:"#9fa8da",indigo300:"#7986cb",indigo400:"#5c6bc0",indigo500:"#3f51b5",indigo600:"#3949ab",indigo700:"#303f9f",indigo800:"#283593",indigo900:"#1a237e",indigoA100:"#8c9eff",indigoA200:"#536dfe",indigoA400:"#3d5afe",indigoA700:"#304ffe",blue50:"#e3f2fd",blue100:"#bbdefb",blue200:"#90caf9",blue300:"#64b5f6",blue400:"#42a5f5",blue500:"#2196f3",blue600:"#1e88e5",blue700:"#1976d2",blue800:"#1565c0",blue900:"#0d47a1",blueA100:"#82b1ff",blueA200:"#448aff",blueA400:"#2979ff",blueA700:"#2962ff",lightBlue50:"#e1f5fe",lightBlue100:"#b3e5fc",lightBlue200:"#81d4fa",lightBlue300:"#4fc3f7",lightBlue400:"#29b6f6",lightBlue500:"#03a9f4",lightBlue600:"#039be5",lightBlue700:"#0288d1",lightBlue800:"#0277bd",lightBlue900:"#01579b",lightBlueA100:"#80d8ff",lightBlueA200:"#40c4ff",lightBlueA400:"#00b0ff",lightBlueA700:"#0091ea",cyan50:"#e0f7fa",cyan100:"#b2ebf2",cyan200:"#80deea",cyan300:"#4dd0e1",cyan400:"#26c6da",cyan500:"#00bcd4",cyan600:"#00acc1",cyan700:"#0097a7",cyan800:"#00838f",cyan900:"#006064",cyanA100:"#84ffff",cyanA200:"#18ffff",cyanA400:"#00e5ff",cyanA700:"#00b8d4",teal50:"#e0f2f1",teal100:"#b2dfdb",teal200:"#80cbc4",teal300:"#4db6ac",teal400:"#26a69a",teal500:"#009688",teal600:"#00897b",teal700:"#00796b",teal800:"#00695c",teal900:"#004d40",tealA100:"#a7ffeb",tealA200:"#64ffda",tealA400:"#1de9b6",tealA700:"#00bfa5",green50:"#e8f5e9",green100:"#c8e6c9",green200:"#a5d6a7",green300:"#81c784",green400:"#66bb6a",green500:"#4caf50",green600:"#43a047",green700:"#388e3c",green800:"#2e7d32",green900:"#1b5e20",greenA100:"#b9f6ca",greenA200:"#69f0ae",greenA400:"#00e676",greenA700:"#00c853",lightGreen50:"#f1f8e9",lightGreen100:"#dcedc8",lightGreen200:"#c5e1a5",lightGreen300:"#aed581",lightGreen400:"#9ccc65",lightGreen500:"#8bc34a",lightGreen600:"#7cb342",lightGreen700:"#689f38",lightGreen800:"#558b2f",lightGreen900:"#33691e",lightGreenA100:"#ccff90",lightGreenA200:"#b2ff59",lightGreenA400:"#76ff03",lightGreenA700:"#64dd17",lime50:"#f9fbe7",lime100:"#f0f4c3",lime200:"#e6ee9c",lime300:"#dce775",lime400:"#d4e157",lime500:"#cddc39",lime600:"#c0ca33",lime700:"#afb42b",lime800:"#9e9d24",lime900:"#827717",limeA100:"#f4ff81",limeA200:"#eeff41",limeA400:"#c6ff00",limeA700:"#aeea00",yellow50:"#fffde7",yellow100:"#fff9c4",yellow200:"#fff59d",yellow300:"#fff176",yellow400:"#ffee58",yellow500:"#ffeb3b",yellow600:"#fdd835",yellow700:"#fbc02d",yellow800:"#f9a825",yellow900:"#f57f17",yellowA100:"#ffff8d",yellowA200:"#ffff00",yellowA400:"#ffea00",yellowA700:"#ffd600",amber50:"#fff8e1",amber100:"#ffecb3",amber200:"#ffe082",amber300:"#ffd54f",amber400:"#ffca28",amber500:"#ffc107",amber600:"#ffb300",amber700:"#ffa000",amber800:"#ff8f00",amber900:"#ff6f00",amberA100:"#ffe57f",amberA200:"#ffd740",amberA400:"#ffc400",amberA700:"#ffab00",orange50:"#fff3e0",orange100:"#ffe0b2",orange200:"#ffcc80",orange300:"#ffb74d",orange400:"#ffa726",orange500:"#ff9800",orange600:"#fb8c00",orange700:"#f57c00",orange800:"#ef6c00",orange900:"#e65100",orangeA100:"#ffd180",orangeA200:"#ffab40",orangeA400:"#ff9100",orangeA700:"#ff6d00",deepOrange50:"#fbe9e7",deepOrange100:"#ffccbc",deepOrange200:"#ffab91",deepOrange300:"#ff8a65",deepOrange400:"#ff7043",deepOrange500:"#ff5722",deepOrange600:"#f4511e",deepOrange700:"#e64a19",deepOrange800:"#d84315",deepOrange900:"#bf360c",deepOrangeA100:"#ff9e80",deepOrangeA200:"#ff6e40",deepOrangeA400:"#ff3d00",deepOrangeA700:"#dd2c00",brown50:"#efebe9",brown100:"#d7ccc8",brown200:"#bcaaa4",brown300:"#a1887f",brown400:"#8d6e63",brown500:"#795548",brown600:"#6d4c41",brown700:"#5d4037",brown800:"#4e342e",brown900:"#3e2723",blueGrey50:"#eceff1",blueGrey100:"#cfd8dc",blueGrey200:"#b0bec5",blueGrey300:"#90a4ae",blueGrey400:"#78909c",blueGrey500:"#607d8b",blueGrey600:"#546e7a",blueGrey700:"#455a64",blueGrey800:"#37474f",blueGrey900:"#263238",grey50:"#fafafa",grey100:"#f5f5f5",grey200:"#eeeeee",grey300:"#e0e0e0",grey400:"#bdbdbd",grey500:"#9e9e9e",grey600:"#757575",grey700:"#616161",grey800:"#424242",grey900:"#212121",black:"#000000",white:"#ffffff",transparent:"rgba(0, 0, 0, 0)",fullBlack:"rgba(0, 0, 0, 1)",darkBlack:"rgba(0, 0, 0, 0.87)",lightBlack:"rgba(0, 0, 0, 0.54)",minBlack:"rgba(0, 0, 0, 0.26)",faintBlack:"rgba(0, 0, 0, 0.12)",fullWhite:"rgba(255, 255, 255, 1)",darkWhite:"rgba(255, 255, 255, 0.87)",lightWhite:"rgba(255, 255, 255, 0.54)"},t.exports=r["default"]},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t-1?i=i.replace("right","left"):i.indexOf("left")>-1&&(i=i.replace("left","right"))}r[a]=i}),r}}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=n;var o=/((^|\s)translate(3d|X)?\()(\-?[\d]+)/,s=/((^|\s)skew(x|y)?\()\s*(\-?[\d]+)(deg|rad|grad)(,\s*(\-?[\d]+)(deg|rad|grad))?/;t.exports=r["default"]},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/transitions.js":[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={easeOutFunction:"cubic-bezier(0.23, 1, 0.32, 1)",easeInOutFunction:"cubic-bezier(0.445, 0.05, 0.55, 0.95)",easeOut:function(e,t,r,n){if(n=n||this.easeOutFunction,t&&"[object Array]"===Object.prototype.toString.call(t)){for(var o="",s=0;s=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function s(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t0?[this.state.selectedRows[this.state.selectedRows.length-1]]:[]:n.selectedRows=this._calculatePreselectedRows(e),this.setState(n)},componentClickAway:function(){this.props.deselectOnClickaway&&this.state.selectedRows.length&&(this.setState({selectedRows:[]}),this.props.onRowSelection&&this.props.onRowSelection([]))},_createRows:function(){var e=this,t=l["default"].Children.count(this.props.children),r=0,n={onCellClick:this._onCellClick,onCellHover:this._onCellHover,onCellHoverExit:this._onCellHoverExit,onRowHover:this._onRowHover,onRowHoverExit:this._onRowHoverExit,onRowClick:this._onRowClick};return l["default"].Children.map(this.props.children,function(o){if(l["default"].isValidElement(o)){var s=function(){var s={displayRowCheckbox:e.props.displayRowCheckbox,hoverable:e.props.showRowHover,selected:e._isRowSelected(r),striped:e.props.stripedRows&&r%2===0,rowNumber:r++},i=e._createRowCheckboxColumn(s);r===t&&(s.displayBorder=!1);var u=[i];return l["default"].Children.forEach(o.props.children,function(e){u.push(e)}),{v:l["default"].cloneElement(o,a({},s,n),u)}}();if("object"===("undefined"==typeof s?"undefined":i(s)))return s.v}})},_createRowCheckboxColumn:function(e){if(!this.props.displayRowCheckbox)return null;var t=e.rowNumber+"-cb",r=l["default"].createElement(c["default"],{ref:"rowSelectCB",name:t,value:"selected",disabled:!this.props.selectable,checked:e.selected});return l["default"].createElement(h["default"],{key:t,columnNumber:0,style:{width:24}},r)},_calculatePreselectedRows:function(e){var t=[];return e.selectable&&e.preScanRows&&!function(){var r=0;l["default"].Children.forEach(e.children,function(n){l["default"].isValidElement(n)&&(n.props.selected&&(0===t.length||e.multiSelectable)&&t.push(r),r++)})}(),t},_isRowSelected:function(e){if(this.props.allRowsSelected)return!0;for(var t=0;t0?-1:1;0!==t;)r.push(e+t),t+=n;return r},_flattenRanges:function(e){var t=[],r=!0,n=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var l=a.value;if("object"===("undefined"==typeof l?"undefined":i(l))){var d=this._genRangeOfValues(l.end,l.start-l.end);t.push.apply(t,[l.end].concat(s(d)))}else t.push(l)}}catch(c){n=!0,o=c}finally{try{!r&&u["return"]&&u["return"]()}finally{if(n)throw o}}return t.sort()},_onCellClick:function(e,t,r){e.stopPropagation(),this.props.onCellClick&&this.props.onCellClick(t,this._getColumnId(r))},_onCellHover:function(e,t,r){this.props.onCellHover&&this.props.onCellHover(t,this._getColumnId(r)),this._onRowHover(e,t)},_onCellHoverExit:function(e,t,r){this.props.onCellHoverExit&&this.props.onCellHoverExit(t,this._getColumnId(r)),this._onRowHoverExit(e,t)},_onRowHover:function(e,t){this.props.onRowHover&&this.props.onRowHover(t)},_onRowHoverExit:function(e,t){this.props.onRowHoverExit&&this.props.onRowHoverExit(t)},_getColumnId:function(e){var t=e;return this.props.displayRowCheckbox&&t--,t},render:function(){var e=this.props,t=e.className,r=e.style,n=(o(e,["className","style"]),this._createRows());return l["default"].createElement("tbody",{className:t,style:this.prepareStyles(r)},n)}});r["default"]=y,t.exports=r["default"]},{"../checkbox":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/checkbox.js","../mixins/click-awayable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/click-awayable.js","../mixins/style-propable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-propable.js","../styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js","./table-row-column":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/table/table-row-column.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/table/table-footer.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}Object.defineProperty(r,"__esModule",{value:!0});var s=e("react"),i=n(s),a=e("../checkbox"),u=n(a),l=e("../mixins/style-propable"),d=n(l),c=e("./table-header-column"),p=n(c),h=e("../styles/getMuiTheme"),f=n(h),m=i["default"].createClass({displayName:"TableHeader",propTypes:{adjustForCheckbox:i["default"].PropTypes.bool,children:i["default"].PropTypes.node,className:i["default"].PropTypes.string,displaySelectAll:i["default"].PropTypes.bool,enableSelectAll:i["default"].PropTypes.bool,onSelectAll:i["default"].PropTypes.func,selectAllSelected:i["default"].PropTypes.bool,style:i["default"].PropTypes.object},contextTypes:{muiTheme:i["default"].PropTypes.object},childContextTypes:{muiTheme:i["default"].PropTypes.object},mixins:[d["default"]],getDefaultProps:function(){return{adjustForCheckbox:!0,displaySelectAll:!0,enableSelectAll:!0,selectAllSelected:!1}},getInitialState:function(){return{muiTheme:this.context.muiTheme||(0,f["default"])()}},getChildContext:function(){return{muiTheme:this.state.muiTheme}},componentWillReceiveProps:function(e,t){var r=t.muiTheme?t.muiTheme:this.state.muiTheme;this.setState({muiTheme:r})},getTheme:function(){return this.state.muiTheme.tableHeader},getStyles:function(){var e={root:{borderBottom:"1px solid "+this.getTheme().borderColor}};return e},_createSuperHeaderRows:function(){var e=i["default"].Children.count(this.props.children);if(1!==e){for(var t=[],r=0;r=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}Object.defineProperty(r,"__esModule",{value:!0});var s=e("react"),i=n(s),a=e("react-dom"),u=n(a),l=e("../mixins/style-propable"),d=n(l),c=e("../styles/getMuiTheme"),p=n(c),h=i["default"].createClass({displayName:"Table",propTypes:{allRowsSelected:i["default"].PropTypes.bool,bodyStyle:i["default"].PropTypes.object,children:i["default"].PropTypes.node,className:i["default"].PropTypes.string,fixedFooter:i["default"].PropTypes.bool,fixedHeader:i["default"].PropTypes.bool,footerStyle:i["default"].PropTypes.object,headerStyle:i["default"].PropTypes.object,height:i["default"].PropTypes.string,multiSelectable:i["default"].PropTypes.bool,onCellClick:i["default"].PropTypes.func,onCellHover:i["default"].PropTypes.func,onCellHoverExit:i["default"].PropTypes.func,onRowHover:i["default"].PropTypes.func,onRowHoverExit:i["default"].PropTypes.func,onRowSelection:i["default"].PropTypes.func,selectable:i["default"].PropTypes.bool,style:i["default"].PropTypes.object,wrapperStyle:i["default"].PropTypes.object},contextTypes:{muiTheme:i["default"].PropTypes.object},childContextTypes:{muiTheme:i["default"].PropTypes.object},mixins:[d["default"]],getDefaultProps:function(){return{allRowsSelected:!1,fixedFooter:!0,fixedHeader:!0,height:"inherit",multiSelectable:!1,selectable:!0}},getInitialState:function(){return{muiTheme:this.context.muiTheme||(0,p["default"])(),allRowsSelected:this.props.allRowsSelected}},getChildContext:function(){return{muiTheme:this.state.muiTheme}},componentWillReceiveProps:function(e,t){var r=t.muiTheme?t.muiTheme:this.state.muiTheme;this.setState({muiTheme:r})},getTheme:function(){return this.state.muiTheme.table},getStyles:function(){var e={root:{backgroundColor:this.getTheme().backgroundColor,padding:"0 "+this.state.muiTheme.rawTheme.spacing.desktopGutter+"px",width:"100%",borderCollapse:"collapse",borderSpacing:0,tableLayout:"fixed",fontFamily:this.state.muiTheme.rawTheme.fontFamily},bodyTable:{height:this.props.fixedHeader||this.props.fixedFooter?this.props.height:"auto",overflowX:"hidden",overflowY:"auto"},tableWrapper:{height:this.props.fixedHeader||this.props.fixedFooter?"auto":this.props.height,overflow:"auto"}};return e},isScrollbarVisible:function(){var e=u["default"].findDOMNode(this.refs.tableDiv).clientHeight,t=u["default"].findDOMNode(this.refs.tableBody).clientHeight;return t>e},_createTableHeader:function(e){return i["default"].cloneElement(e,{enableSelectAll:e.props.enableSelectAll&&this.props.selectable&&this.props.multiSelectable,onSelectAll:this._onSelectAll,selectAllSelected:this.state.allRowsSelected})},_createTableBody:function(e){return i["default"].cloneElement(e,{allRowsSelected:this.state.allRowsSelected,multiSelectable:this.props.multiSelectable,onCellClick:this._onCellClick,onCellHover:this._onCellHover,onCellHoverExit:this._onCellHoverExit,onRowHover:this._onRowHover,onRowHoverExit:this._onRowHoverExit,onRowSelection:this._onRowSelection,selectable:this.props.selectable,style:this.mergeStyles({height:this.props.height},e.props.style)})},_createTableFooter:function(e){return e},_onCellClick:function(e,t){this.props.onCellClick&&this.props.onCellClick(e,t)},_onCellHover:function(e,t){this.props.onCellHover&&this.props.onCellHover(e,t)},_onCellHoverExit:function(e,t){this.props.onCellHoverExit&&this.props.onCellHoverExit(e,t)},_onRowHover:function(e){this.props.onRowHover&&this.props.onRowHover(e)},_onRowHoverExit:function(e){this.props.onRowHoverExit&&this.props.onRowHoverExit(e)},_onRowSelection:function(e){this.state.allRowsSelected&&this.setState({allRowsSelected:!1}),this.props.onRowSelection&&this.props.onRowSelection(e)},_onSelectAll:function(){this.props.onRowSelection&&(this.state.allRowsSelected?this.props.onRowSelection("none"):this.props.onRowSelection("all")),this.setState({allRowsSelected:!this.state.allRowsSelected})},render:function(){var e=this,t=this.props,r=t.children,n=t.className,s=t.fixedFooter,a=t.fixedHeader,u=t.style,l=t.wrapperStyle,d=t.headerStyle,c=t.bodyStyle,p=t.footerStyle,h=(o(t,["children","className","fixedFooter","fixedHeader","style","wrapperStyle","headerStyle","bodyStyle","footerStyle"]),this.getStyles()),f=void 0,m=void 0,b=void 0;if(i["default"].Children.forEach(r,function(t){if(i["default"].isValidElement(t)){var r=t.type.displayName;"TableBody"===r?b=e._createTableBody(t):"TableHeader"===r?f=e._createTableHeader(t):"TableFooter"===r&&(m=e._createTableFooter(t))}}),!b&&!f)return null;var v=this.mergeStyles(h.root,u),_=void 0,g=void 0,y=void 0,$=void 0;return a?_=i["default"].createElement("div",{style:this.prepareStyles(d)},i["default"].createElement("table",{className:n,style:v},f)):y=f,void 0!==m&&(s?g=i["default"].createElement("div",{style:this.prepareStyles(p)},i["default"].createElement("table",{className:n,style:this.prepareStyles(v)},m)):$=m),i["default"].createElement("div",{style:this.prepareStyles(h.tableWrapper,l)},_,i["default"].createElement("div",{style:this.prepareStyles(h.bodyTable,c),ref:"tableDiv"},i["default"].createElement("table",{className:n,style:v,ref:"tableBody"},y,$,b)),g)}});r["default"]=h,t.exports=r["default"]},{"../mixins/style-propable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-propable.js","../styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js","react-dom":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-dom/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/tabs/tab.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var i=Object.assign||function(e){for(var t=1;t12,e%=12):e/=5;var r=[[0,5],[54.5,16.6],[94.4,59.5],[109,114],[94.4,168.5],[54.5,208.4],[0,223],[-54.5,208.4],[-94.4,168.5],[-109,114],[-94.4,59.5],[-54.5,19.6]],n=[[0,40],[36.9,49.9],[64,77],[74,114],[64,151],[37,178],[0,188],[-37,178],[-64,151],[-74,114],[-64,77],[-37,50]],s={root:{display:"inline-block",position:"absolute",width:32,height:32,borderRadius:"100%",left:"calc(50% - 16px)",top:10,textAlign:"center",paddingTop:5,userSelect:"none",fontSize:"1.1em",pointerEvents:"none",boxSizing:"border-box"}};this.props.isSelected&&(s.root.backgroundColor=this.getTheme().accentColor,s.root.color=this.getTheme().selectTextColor);var a=r[e];t&&(s.root.width=28,s.root.height=28,s.root.left="calc(50% - 14px)",a=n[e]);var u=a,l=o(u,2),d=l[0],c=l[1];return s.root.transform="translate("+d+"px, "+c+"px)",i["default"].createElement("span",{style:this.prepareStyles(s.root)},this.props.value)}});r["default"]=c,t.exports=r["default"]},{"../mixins/style-propable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-propable.js","../styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/time-picker/clock-pointer.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var o=e("react"),s=n(o),i=e("../mixins/style-propable"),a=n(i),u=e("../styles/getMuiTheme"),l=n(u),d=s["default"].createClass({displayName:"ClockPointer",propTypes:{hasSelected:s["default"].PropTypes.bool,type:s["default"].PropTypes.oneOf(["hour","minute"]),value:s["default"].PropTypes.number},contextTypes:{muiTheme:s["default"].PropTypes.object},childContextTypes:{muiTheme:s["default"].PropTypes.object},mixins:[a["default"]],getDefaultProps:function(){return{value:null,type:"minute",hasSelected:!1}},getInitialState:function(){return{inner:this.isInner(this.props.value),muiTheme:this.context.muiTheme||(0,l["default"])()}},getChildContext:function(){return{muiTheme:this.state.muiTheme}},componentWillReceiveProps:function(e,t){var r=t.muiTheme?t.muiTheme:this.state.muiTheme;this.setState({inner:this.isInner(e.value),muiTheme:r})},isInner:function(e){return"hour"===this.props.type&&(e<1||e>12)},getAngle:function(){return"hour"===this.props.type?this.calcAngle(this.props.value,12):this.calcAngle(this.props.value,60)},calcAngle:function(e,t){e%=t;var r=360/t*e;return r},getTheme:function(){return this.state.muiTheme.timePicker},render:function(){if(null===this.props.value)return s["default"].createElement("span",null);var e=this.getAngle(),t={root:{height:"30%",background:this.getTheme().accentColor,width:2,left:"calc(50% - 1px)",position:"absolute",bottom:"50%",transformOrigin:"bottom",pointerEvents:"none",transform:"rotateZ("+e+"deg)"},mark:{background:this.getTheme().selectTextColor,border:"4px solid "+this.getTheme().accentColor,width:7,height:7,position:"absolute",top:-5,left:-6,borderRadius:"100%"}};return this.state.inner||(t.root.height="40%"),this.props.hasSelected&&(t.mark.display="none"),s["default"].createElement("div",{style:this.prepareStyles(t.root)},s["default"].createElement("div",{style:this.prepareStyles(t.mark)}))}});r["default"]=d,t.exports=r["default"]},{"../mixins/style-propable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-propable.js","../styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/time-picker/clock.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var o=e("react"),s=n(o),i=e("../mixins/style-propable"),a=n(i),u=e("./time-display"),l=n(u),d=e("./clock-hours"),c=n(d),p=e("./clock-minutes"),h=n(p),f=e("../styles/getMuiTheme"),m=n(f),b=s["default"].createClass({displayName:"Clock",propTypes:{format:s["default"].PropTypes.oneOf(["ampm","24hr"]),initialTime:s["default"].PropTypes.object,isActive:s["default"].PropTypes.bool,mode:s["default"].PropTypes.oneOf(["hour","minute"]),onChangeHours:s["default"].PropTypes.func,onChangeMinutes:s["default"].PropTypes.func},contextTypes:{muiTheme:s["default"].PropTypes.object},mixins:[a["default"]],getDefaultProps:function(){return{initialTime:new Date}},getInitialState:function(){return{muiTheme:this.context.muiTheme||(0,m["default"])(),selectedTime:this.props.initialTime,mode:"hour"}},componentWillReceiveProps:function(e,t){var r=t.muiTheme?t.muiTheme:this.state.muiTheme;this.setState({muiTheme:r,selectedTime:e.initialTime})},_setMode:function(e){var t=this;setTimeout(function(){t.setState({mode:e})},100)},_setAffix:function(e){if(e!==this._getAffix()){var t=this.state.selectedTime.getHours();return"am"===e?void this.handleChangeHours(t-12,e):void this.handleChangeHours(t+12,e)}},_getAffix:function(){if("ampm"!==this.props.format)return"";var e=this.state.selectedTime.getHours();return e<12?"am":"pm"},handleChangeHours:function(e,t){var r=this,n=new Date(this.state.selectedTime),o=void 0;"string"==typeof t&&(o=t,t=void 0),o||(o=this._getAffix()),"pm"===o&&e<12&&(e+=12),n.setHours(e),this.setState({selectedTime:n});var s=this.props.onChangeHours;t&&setTimeout(function(){r.setState({mode:"minute"}),"function"==typeof s&&s(n)},100)},handleChangeMinutes:function(e){var t=new Date(this.state.selectedTime);t.setMinutes(e),this.setState({selectedTime:t});var r=this.props.onChangeMinutes;"function"==typeof r&&setTimeout(function(){r(t)},0)},getSelectedTime:function(){return this.state.selectedTime},render:function(){var e=null,t={root:{},container:{height:280,padding:10,position:"relative"},circle:{position:"absolute",top:20,width:260,height:260,borderRadius:"100%",backgroundColor:this.state.muiTheme.timePicker.clockCircleColor}};return e="hour"===this.state.mode?s["default"].createElement(c["default"],{key:"hours",format:this.props.format,onChange:this.handleChangeHours,initialHours:this.state.selectedTime.getHours()}):s["default"].createElement(h["default"],{key:"minutes",onChange:this.handleChangeMinutes,initialMinutes:this.state.selectedTime.getMinutes()}),s["default"].createElement("div",{style:this.prepareStyles(t.root)},s["default"].createElement(l["default"],{selectedTime:this.state.selectedTime,mode:this.state.mode,format:this.props.format,affix:this._getAffix(),onSelectAffix:this._setAffix,onSelectHour:this._setMode.bind(this,"hour"),onSelectMin:this._setMode.bind(this,"minute")}),s["default"].createElement("div",{style:this.prepareStyles(t.container)},s["default"].createElement("div",{style:this.prepareStyles(t.circle)}),e))}});r["default"]=b,t.exports=r["default"]},{"../mixins/style-propable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-propable.js","../styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js","./clock-hours":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/time-picker/clock-hours.js","./clock-minutes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/time-picker/clock-minutes.js","./time-display":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/time-picker/time-display.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/time-picker/index.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var o=e("./time-picker"),s=n(o);r["default"]=s["default"],t.exports=r["default"]},{"./time-picker":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/time-picker/time-picker.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/time-picker/time-display.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;tthis.props.selectedTime?"up":"down",this.setState({transitionDirection:r}))},sanitizeTime:function(){var e=this.props.selectedTime.getHours(),t=this.props.selectedTime.getMinutes().toString();return"ampm"===this.props.format&&(e%=12,e=e||12),e=e.toString(),e.length<2&&(e="0"+e),t.length<2&&(t="0"+t),[e,t]},getTheme:function(){return this.state.muiTheme.timePicker},render:function(){var e=this,t=this.props,r=(t.selectedTime,t.mode),n=t.affix,a=o(t,["selectedTime","mode","affix"]),l={root:{position:"relative",width:280,height:"100%"},box:{padding:"14px 0",borderTopLeftRadius:2,borderTopRightRadius:2,backgroundColor:this.getTheme().headerColor,color:"white"},text:{margin:"6px 0",lineHeight:"58px",height:58,fontSize:58,display:"flex",justifyContent:"center",alignItems:"baseline"},time:{margin:"0 10px"},affix:{flex:1,position:"relative",lineHeight:"17px",height:17,fontSize:17},affixTop:{position:"absolute",top:-20,left:0},clickable:{cursor:"pointer"},inactive:{opacity:.7}},d=this.sanitizeTime(),c=i(d,2),p=c[0],h=c[1],f=[];return"ampm"===this.props.format&&(f=[u["default"].createElement("div",{key:"pm",style:this.prepareStyles(l.clickable,"pm"===n?{}:l.inactive),onTouchTap:function(){return e.props.onSelectAffix("pm")}},"PM"),u["default"].createElement("div",{key:"am",style:this.prepareStyles(l.affixTop,l.clickable,"am"===n?{}:l.inactive),onTouchTap:function(){return e.props.onSelectAffix("am")}},"AM")]),u["default"].createElement("div",s({},a,{style:this.prepareStyles(l.root)}),u["default"].createElement("div",{style:this.prepareStyles(l.box)},u["default"].createElement("div",{style:this.prepareStyles(l.text)},u["default"].createElement("div",{style:this.prepareStyles(l.affix)}),u["default"].createElement("div",{style:this.prepareStyles(l.time)},u["default"].createElement("span",{style:this.prepareStyles(l.clickable,"hour"===r?{}:l.inactive),onTouchTap:this.props.onSelectHour},p),u["default"].createElement("span",null,":"),u["default"].createElement("span",{style:this.prepareStyles(l.clickable,"minute"===r?{}:l.inactive),onTouchTap:this.props.onSelectMin},h)),u["default"].createElement("div",{style:this.prepareStyles(l.affix)},f))))}});r["default"]=h,t.exports=r["default"]},{"../mixins/style-propable":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/mixins/style-propable.js","../styles/getMuiTheme":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/styles/getMuiTheme.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/time-picker/time-picker-dialog.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var s=Object.assign||function(e){for(var t=1;t-1){var t=e.values.map(function(e){return e/=255,e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)});return.2126*t[0]+.7152*t[1]+.0722*t[2]}return"production"!==n.env.NODE_ENV?(0,i["default"])(!1,"Calculating the relative luminance is not available\n for HSL and HSLA."):void 0,-1},_convertColorToString:function(e,t){var r=e.type+"("+parseInt(e.values[0])+","+parseInt(e.values[1])+","+parseInt(e.values[2]);return r+=void 0!==t?","+t+")":4===e.values.length?","+e.values[3]+")":")"},_convertHexToRGB:function(e){if(4===e.length){for(var t="#",r=1;r-1)return e.values[2]+=t,this._decomposeColor(this._convertColorToString(e));if(e.type.indexOf("rgb")>-1)for(var r=0;r<3;r++)e.values[r]*=1+t,e.values[r]>255&&(e.values[r]=255);return e.type.indexOf("a")<=-1&&(e.type+="a"),this._convertColorToString(e,"0.15")},darken:function(e,t){if(e=this._decomposeColor(e),e.type.indexOf("hsl")>-1)return e.values[2]+=t,this._decomposeColor(this._convertColorToString(e));if(e.type.indexOf("rgb")>-1)for(var r=0;r<3;r++)e.values[r]*=1-t,e.values[r]<0&&(e.values[r]=0);return this._convertColorToString(e)},contrastRatio:function(e,t){var r=this._luminance(e),n=this._luminance(t);return r>=n?((r+.05)/(n+.05)).toFixed(2):((n+.05)/(r+.05)).toFixed(2)},contrastRatioLevel:function(e,t){var r={fail:{range:[0,3],color:"hsl(0, 100%, 40%)"},"aa-large":{range:[3,4.5],color:"hsl(40, 100%, 45%)"},aa:{range:[4.5,7],color:"hsl(80, 60%, 45%)"},aaa:{range:[7,22],color:"hsl(95, 60%, 41%)"}},n=this.contrastRatio(e,t);for(var o in r){var s=r[o].range;if(n>=s[0]&&n<=s[1])return o}}},t.exports=r["default"]}).call(this,e("_process"))},{_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js",warning:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/warning/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/css-event.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var o=e("./events"),s=n(o);r["default"]={_testSupportedProps:function(e){var t=void 0,r=document.createElement("div");for(t in e)if(e.hasOwnProperty(t)&&void 0!==r.style[t])return e[t]},transitionEndEventName:function(){return this._testSupportedProps({transition:"transitionend",OTransition:"otransitionend",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"})},animationEndEventName:function(){return this._testSupportedProps({animation:"animationend","-o-animation":"oAnimationEnd","-moz-animation":"animationend","-webkit-animation":"webkitAnimationEnd"})},onTransitionEnd:function(e,t){var r=this.transitionEndEventName();s["default"].once(e,r,function(){return t()})},onAnimationEnd:function(e,t){var r=this.animationEndEventName();s["default"].once(e,r,function(){return t()})}},t.exports=r["default"]},{"./events":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/events.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/date-time.js":[function(e,t,r){(function(n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){"production"!==n.env.NODE_ENV?(0,a["default"])("en-US"===e,"Wrong usage of DateTimeFormat. The "+e+" locale is not supported."):void 0,this.format=function(e){var r=void 0;return"short"===t.month&&"short"===t.weekday&&"2-digit"===t.day?(r=l[e.getDay()]+", ",r+=d[e.getMonth()]+" ",r+=e.getDate()):"long"===t.month&&"numeric"===t.year?(r=c[e.getMonth()],r+=" "+e.getFullYear()):"narrow"===t.weekday?r=u[e.getDay()]:"production"!==n.env.NODE_ENV?(0,a["default"])(!1,"Wrong usage of DateTimeFormat"):void 0,r}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("warning"),a=o(i),u=["S","M","T","W","T","F","S"],l=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],d=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],c=["January","February","March","April","May","June","July","August","September","October","November","December"];r["default"]={DateTimeFormat:s,addDays:function(e,t){var r=this.clone(e);return r.setDate(e.getDate()+t),r},addMonths:function(e,t){var r=this.clone(e);return r.setMonth(e.getMonth()+t),r},addYears:function(e,t){var r=this.clone(e);return r.setFullYear(e.getFullYear()+t),r},clone:function(e){return new Date(e.getTime())},cloneAsDate:function(e){var t=this.clone(e);return t.setHours(0,0,0,0),t},getDaysInMonth:function(e){var t=this.getFirstDayOfMonth(e);return t.setMonth(t.getMonth()+1),t.setDate(t.getDate()-1),t.getDate()},getFirstDayOfMonth:function(e){return new Date(e.getFullYear(),e.getMonth(),1)},getFirstDayOfWeek:function(){var e=new Date;return new Date(e.setDate(e.getDate()-e.getDay()))},getWeekArray:function(e,t){for(var r=[],n=this.getDaysInMonth(e),o=[],s=[],i=1;i<=n;i++)r.push(new Date(e.getFullYear(),e.getMonth(),i));var a=function(e){for(var t=7-e.length,r=0;r0&&e.getDay()===t&&(a(s),s=[]),s.push(e),r.indexOf(e)===r.length-1&&a(s)}),o},localizedWeekday:function(e,t,r,n){var o=new e(t,{weekday:"narrow"}),s=this.getFirstDayOfWeek();return o.format(this.addDays(s,r+n))},format:function(e){var t=e.getMonth()+1,r=e.getDate(),n=e.getFullYear();return t+"/"+r+"/"+n},isEqualDate:function(e,t){return e&&t&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()},isBeforeDate:function(e,t){var r=this.cloneAsDate(e),n=this.cloneAsDate(t);return r.getTime()n.getTime()},isBetweenDates:function(e,t,r){return!this.isBeforeDate(e,t)&&!this.isAfterDate(e,r)},isDateObject:function(e){return e instanceof Date},monthDiff:function(e,t){var r=void 0;return r=12*(e.getFullYear()-t.getFullYear()),r+=e.getMonth(),r-=t.getMonth()},yearDiff:function(e,t){return~~(this.monthDiff(e,t)/12)}},t.exports=r["default"]}).call(this,e("_process"))},{_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js",warning:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/warning/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/deprecatedPropType.js":[function(e,t,r){(function(n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){return function(r,o,s){return null!=r[o]&&("production"!==n.env.NODE_ENV?(0,a["default"])(!1,'"'+o+'" property of "'+s+'" has been deprecated.\n'+t):void 0),e(r,o,s)}}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=s;var i=e("warning"),a=o(i);t.exports=r["default"]}).call(this,e("_process"))},{_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js",warning:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/warning/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/dom.js":[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={isDescendant:function(e,t){for(var r=t.parentNode;null!==r;){if(r===e)return!0;r=r.parentNode}return!1},offset:function(e){var t=e.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}},getStyleAttributeAsNumber:function(e,t){var r=e.style[t],n=0;return r&&r.length&&(n=parseInt(r)),n},addClass:function(e,t){e.classList?e.classList.add(t):e.className+=" "+t},removeClass:function(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")},hasClass:function(e,t){return e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className)},toggleClass:function(e,t){this.hasClass(e,t)?this.removeClass(e,t):this.addClass(e,t)},forceRedraw:function(e){var t=e.style.display;e.style.display="none",e.style.display=t},withoutTransition:function(e,t){var r=e.style.transition;e.style.transition=null,t(),this.forceRedraw(e),e.style.transition=r}},t.exports=r["default"]},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/events.js":[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={once:function(e,t,r){for(var n=t?t.split(" "):[],o=function i(e){return e.target.removeEventListener(e.type,i),r(e)},s=n.length-1;s>=0;s--)this.on(e,n[s],o)},on:function(e,t,r){e.addEventListener?e.addEventListener(t,r):e.attachEvent("on"+t,function(){r.call(e)})},off:function(e,t,r){e.removeEventListener?e.removeEventListener(t,r):e.detachEvent("on"+t,r)},isKeyboard:function(e){return["keydown","keypress","keyup"].indexOf(e.type)!==-1}},t.exports=r["default"]},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/index.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0}),r.Styles=r.UniqueId=r.KeyLine=r.KeyCode=r.Events=r.Dom=r.CssEvent=r.ColorManipulator=void 0;var o=e("./color-manipulator"),s=n(o),i=e("./css-event"),a=n(i),u=e("./dom"),l=n(u),d=e("./events"),c=n(d),p=e("./key-code"),h=n(p),f=e("./key-line"),m=n(f),b=e("./unique-id"),v=n(b),_=e("./styles"),g=n(_);r.ColorManipulator=s["default"],r.CssEvent=a["default"],r.Dom=l["default"],r.Events=c["default"],r.KeyCode=h["default"],r.KeyLine=m["default"],r.UniqueId=v["default"],r.Styles=g["default"],r["default"]={ColorManipulator:s["default"],CssEvent:a["default"],Dom:l["default"],Events:c["default"],KeyCode:h["default"],KeyLine:m["default"],UniqueId:v["default"],Styles:g["default"]}},{"./color-manipulator":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/color-manipulator.js","./css-event":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/css-event.js","./dom":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/dom.js","./events":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/events.js","./key-code":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/key-code.js","./key-line":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/key-line.js","./styles":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/styles.js","./unique-id":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/unique-id.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/key-code.js":[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={DOWN:40,ESC:27,ENTER:13,LEFT:37,RIGHT:39,SPACE:32,TAB:9,UP:38},t.exports=r["default"]},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/key-line.js":[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={Desktop:{GUTTER:24,GUTTER_LESS:16,INCREMENT:64,MENU_ITEM_HEIGHT:32},getIncrementalDim:function(e){return Math.ceil(e/this.Desktop.INCREMENT)*this.Desktop.INCREMENT}},t.exports=r["default"]},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/prop-types.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var o=e("react"),s=n(o),i=s["default"].PropTypes.oneOf(["left","middle","right"]),a=s["default"].PropTypes.oneOf(["top","center","bottom"]);r["default"]={corners:s["default"].PropTypes.oneOf(["bottom-left","bottom-right","top-left","top-right"]),horizontal:i,vertical:a,origin:s["default"].PropTypes.shape({horizontal:i,vertical:a}),cornersAndCenter:s["default"].PropTypes.oneOf(["bottom-center","bottom-left","bottom-right","top-center","top-left","top-right"]),stringOrNumber:s["default"].PropTypes.oneOfType([s["default"].PropTypes.string,s["default"].PropTypes.number]),zDepth:s["default"].PropTypes.oneOf([0,1,2,3,4,5])},t.exports=r["default"]},{react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/lib/utils/shallow-equal.js":[function(e,t,r){"use strict";function n(e,t){if(e===t)return!0;if("object"!==("undefined"==typeof e?"undefined":o(e))||null===e||"object"!==("undefined"==typeof t?"undefined":o(t))||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),i=0;i-1?t=t.replace("right","left"):t.indexOf("left")>-1&&(t=t.replace("left","right"))}o[s]=t}),o}function i(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n2?r-2:0),o=2;o=t._browserInfo.version}).reduce(function(e,t){return i({},e,o({},t,!0))},{}),void(this._hasPropsRequiringPrefix=Object.keys(this._requiresPrefix).length>0)):(w.forEach(function(e){t._browserInfo[e]&&(t._isWhitelisted=!0)}),this._hasPropsRequiringPrefix=!1,!!this._isWhitelisted||((0,v["default"])("Your userAgent seems to be not supported by inline-style-prefixer. Feel free to open an issue."),!1))}return a(e,[{key:"prefix",value:function(e){var t=this;return this._hasPropsRequiringPrefix?(e=(0,m["default"])({},e),Object.keys(e).forEach(function(r){var n=e[r];n instanceof Object?e[r]=t.prefix(n):(t._requiresPrefix[r]&&(e[t.jsPrefix+(0,h["default"])(r)]=n,t._keepUnprefixed||delete e[r]),$["default"].forEach(function(o){var s=o({property:r,value:n,styles:e,browserInfo:t._browserInfo,prefix:{js:t.jsPrefix,css:t.cssPrefix,keyframes:t.prefixedKeyframes},keepUnprefixed:t._keepUnprefixed,requiresPrefix:t._requiresPrefix,forceRun:!1});(0,m["default"])(e,s)}))}),e):e}}],[{key:"prefixAll",value:function(t){var r={},n=(0,l["default"])("*");return n.browsers.forEach(function(e){var t=g["default"][e];t&&(0,m["default"])(r,t)}),!Object.keys(r).length>0?t:(t=(0,m["default"])({},t),Object.keys(t).forEach(function(o){var s=t[o];if(s instanceof Object)t[o]=e.prefixAll(s);else{var i=Object.keys(n.prefixes);i.forEach(function(e){var i=n.prefixes[e];r[o]&&(t[i.inline+(0,h["default"])(o)]=s),$["default"].forEach(function(n){var a=n({property:o,value:s,styles:t,browserInfo:{name:e,prefix:i,version:0},prefix:{},keepUnprefixed:!0,requiresPrefix:r,forceRun:!0});(0,m["default"])(t,a)})})}}),t)}}]),e}();r["default"]=x,t.exports=r["default"]},{"./Plugins":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/lib/Plugins.js","./caniuseData":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/lib/caniuseData.js","./utils/assign":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/lib/utils/assign.js","./utils/capitalizeString":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/lib/utils/capitalizeString.js","./utils/getBrowserInformation":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/lib/utils/getBrowserInformation.js","./utils/getPrefixedKeyframes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/lib/utils/getPrefixedKeyframes.js","./utils/warn":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/lib/utils/warn.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/lib/caniuseData.js":[function(e,t,r){var n={chrome:{transform:35,transformOrigin:35,transformOriginX:35,transformOriginY:35,backfaceVisibility:35,perspective:35,perspectiveOrigin:35,transformStyle:35,transformOriginZ:35,animation:42,animationDelay:42,animationDirection:42,animationFillMode:42,animationDuration:42,animationIterationCount:42,animationName:42,animationPlayState:42,animationTimingFunction:42,appearance:50,userSelect:50,fontKerning:32,textEmphasisPosition:50,textEmphasis:50,textEmphasisStyle:50,textEmphasisColor:50,boxDecorationBreak:50,clipPath:50,maskImage:50,maskMode:50,maskRepeat:50,maskPosition:50,maskClip:50,maskOrigin:50,maskSize:50,maskComposite:50,mask:50,maskBorderSource:50,maskBorderMode:50,maskBorderSlice:50,maskBorderWidth:50,maskBorderOutset:50,maskBorderRepeat:50,maskBorder:50,maskType:50,textDecorationStyle:50,textDecorationSkip:50,textDecorationLine:50,textDecorationColor:50,filter:50,fontFeatureSettings:47,breakAfter:50,breakBefore:50,breakInside:50,columnCount:50,columnFill:50,columnGap:50,columnRule:50,columnRuleColor:50,columnRuleStyle:50,columnRuleWidth:50,columns:50,columnSpan:50,columnWidth:50},safari:{flex:8,flexBasis:8,flexDirection:8,flexGrow:8,flexFlow:8,flexShrink:8,flexWrap:8,alignContent:8,alignItems:8,alignSelf:8,justifyContent:8,order:8,transition:6,transitionDelay:6,transitionDuration:6,transitionProperty:6,transitionTimingFunction:6,transform:8,transformOrigin:8,transformOriginX:8,transformOriginY:8,backfaceVisibility:8,perspective:8,perspectiveOrigin:8,transformStyle:8,transformOriginZ:8,animation:8,animationDelay:8,animationDirection:8,animationFillMode:8,animationDuration:8,animationIterationCount:8,animationName:8,animationPlayState:8,animationTimingFunction:8,appearance:9.1,userSelect:9.1,backdropFilter:9.1,fontKerning:9.1,scrollSnapType:9.1,scrollSnapPointsX:9.1,scrollSnapPointsY:9.1,scrollSnapDestination:9.1,scrollSnapCoordinate:9.1,textEmphasisPosition:7,textEmphasis:7,textEmphasisStyle:7,textEmphasisColor:7,boxDecorationBreak:9.1,clipPath:9.1,maskImage:9.1,maskMode:9.1,maskRepeat:9.1,maskPosition:9.1,maskClip:9.1,maskOrigin:9.1,maskSize:9.1,maskComposite:9.1,mask:9.1,maskBorderSource:9.1,maskBorderMode:9.1,maskBorderSlice:9.1,maskBorderWidth:9.1,maskBorderOutset:9.1,maskBorderRepeat:9.1,maskBorder:9.1,maskType:9.1,textDecorationStyle:9.1,textDecorationSkip:9.1,textDecorationLine:9.1,textDecorationColor:9.1,shapeImageThreshold:9.1,shapeImageMargin:9.1,shapeImageOutside:9.1,filter:9,hyphens:9.1,flowInto:9.1,flowFrom:9.1,breakBefore:8,breakAfter:8,breakInside:8,regionFragment:9.1,columnCount:8,columnFill:8,columnGap:8,columnRule:8,columnRuleColor:8,columnRuleStyle:8,columnRuleWidth:8,columns:8,columnSpan:8,columnWidth:8},firefox:{appearance:46,userSelect:46,boxSizing:28,textAlignLast:46,textDecorationStyle:35,textDecorationSkip:35,textDecorationLine:35,textDecorationColor:35,tabSize:46,hyphens:42,fontFeatureSettings:33,breakAfter:46,breakBefore:46,breakInside:46,columnCount:46,columnFill:46,columnGap:46,columnRule:46,columnRuleColor:46,columnRuleStyle:46,columnRuleWidth:46,columns:46,columnSpan:46,columnWidth:46},opera:{flex:16,flexBasis:16,flexDirection:16,flexGrow:16,flexFlow:16,flexShrink:16,flexWrap:16,alignContent:16,alignItems:16,alignSelf:16,justifyContent:16,order:16,transform:22,transformOrigin:22,transformOriginX:22,transformOriginY:22,backfaceVisibility:22,perspective:22,perspectiveOrigin:22,transformStyle:22,transformOriginZ:22,animation:29,animationDelay:29,animationDirection:29,animationFillMode:29,animationDuration:29,animationIterationCount:29,animationName:29,animationPlayState:29,animationTimingFunction:29,appearance:36,userSelect:36,fontKerning:19,textEmphasisPosition:36,textEmphasis:36,textEmphasisStyle:36,textEmphasisColor:36,boxDecorationBreak:36,clipPath:36,maskImage:36,maskMode:36,maskRepeat:36,maskPosition:36,maskClip:36,maskOrigin:36,maskSize:36,maskComposite:36,mask:36,maskBorderSource:36,maskBorderMode:36,maskBorderSlice:36,maskBorderWidth:36,maskBorderOutset:36,maskBorderRepeat:36,maskBorder:36,maskType:36,filter:36,fontFeatureSettings:36,breakAfter:36,breakBefore:36,breakInside:36,columnCount:36,columnFill:36,columnGap:36,columnRule:36,columnRuleColor:36,columnRuleStyle:36,columnRuleWidth:36,columns:36,columnSpan:36,columnWidth:36},ie:{gridArea:11,gridGap:11,gridColumnStart:11,userSelect:11,grid:11,breakInside:11,hyphens:11,gridTemplateAreas:11,breakAfter:11,scrollSnapCoordinate:11,gridRowStart:11,gridAutoFlow:11,scrollSnapDestination:11,gridTemplate:11,gridTemplateColumns:11,transformOrigin:9,gridAutoRows:11,gridColumnEnd:11,transformOriginY:9,scrollSnapPointsY:11,breakBefore:11,gridRowGap:11,scrollSnapPointsX:11,regionFragment:11,flexWrap:10,wrapFlow:11,gridRowEnd:11,flex:10,flexDirection:10,flowInto:11,touchAction:10,gridColumn:11,transform:9,gridTemplateRows:11,flexFlow:10,transformOriginX:9,flowFrom:11,scrollSnapType:11,wrapMargin:11,gridColumnGap:11,gridRow:11,wrapThrough:11,gridAutoColumns:11,textSizeAdjust:11},edge:{userSelect:14,wrapFlow:14,wrapThrough:14,wrapMargin:14,scrollSnapType:14,scrollSnapPointsX:14,scrollSnapPointsY:14,scrollSnapDestination:14,scrollSnapCoordinate:14,hyphens:14,flowInto:14,flowFrom:14,breakBefore:14,breakAfter:14,breakInside:14,regionFragment:14,gridTemplateColumns:14,gridTemplateRows:14,gridTemplateAreas:14,gridTemplate:14,gridAutoColumns:14,gridAutoRows:14,gridAutoFlow:14,grid:14,gridRowStart:14,gridColumnStart:14,gridRowEnd:14,gridRow:14,gridColumn:14,gridColumnEnd:14,gridColumnGap:14,gridRowGap:14,gridArea:14,gridGap:14},ios_saf:{flex:8.1,flexBasis:8.1,flexDirection:8.1,flexGrow:8.1,flexFlow:8.1,flexShrink:8.1,flexWrap:8.1,alignContent:8.1,alignItems:8.1,alignSelf:8.1,justifyContent:8.1,order:8.1,transition:6,transitionDelay:6,transitionDuration:6,transitionProperty:6,transitionTimingFunction:6,transform:8.1,transformOrigin:8.1,transformOriginX:8.1,transformOriginY:8.1,backfaceVisibility:8.1,perspective:8.1,perspectiveOrigin:8.1,transformStyle:8.1,transformOriginZ:8.1,animation:8.1,animationDelay:8.1,animationDirection:8.1,animationFillMode:8.1,animationDuration:8.1,animationIterationCount:8.1,animationName:8.1,animationPlayState:8.1,animationTimingFunction:8.1,appearance:9.3,userSelect:9.3,backdropFilter:9.3,fontKerning:9.3,scrollSnapType:9.3,scrollSnapPointsX:9.3,scrollSnapPointsY:9.3,scrollSnapDestination:9.3,scrollSnapCoordinate:9.3,boxDecorationBreak:9.3,clipPath:9.3,maskImage:9.3,maskMode:9.3,maskRepeat:9.3,maskPosition:9.3,maskClip:9.3,maskOrigin:9.3,maskSize:9.3,maskComposite:9.3,mask:9.3,maskBorderSource:9.3,maskBorderMode:9.3,maskBorderSlice:9.3,maskBorderWidth:9.3,maskBorderOutset:9.3,maskBorderRepeat:9.3,maskBorder:9.3,maskType:9.3,textSizeAdjust:9.3,textDecorationStyle:9.3,textDecorationSkip:9.3,textDecorationLine:9.3,textDecorationColor:9.3,shapeImageThreshold:9.3,shapeImageMargin:9.3,shapeImageOutside:9.3,filter:9,hyphens:9.3,flowInto:9.3,flowFrom:9.3,breakBefore:8.1,breakAfter:8.1,breakInside:8.1,regionFragment:9.3,columnCount:8.1,columnFill:8.1,columnGap:8.1,columnRule:8.1,columnRuleColor:8.1,columnRuleStyle:8.1,columnRuleWidth:8.1,columns:8.1,columnSpan:8.1,columnWidth:8.1},android:{borderImage:4.2,borderImageOutset:4.2,borderImageRepeat:4.2,borderImageSlice:4.2,borderImageSource:4.2,borderImageWidth:4.2,flex:4.2,flexBasis:4.2,flexDirection:4.2,flexGrow:4.2,flexFlow:4.2,flexShrink:4.2,flexWrap:4.2,alignContent:4.2,alignItems:4.2,alignSelf:4.2,justifyContent:4.2,order:4.2,transition:4.2,transitionDelay:4.2,transitionDuration:4.2,transitionProperty:4.2,transitionTimingFunction:4.2,transform:4.4,transformOrigin:4.4,transformOriginX:4.4,transformOriginY:4.4,backfaceVisibility:4.4,perspective:4.4,perspectiveOrigin:4.4,transformStyle:4.4,transformOriginZ:4.4,animation:4.4,animationDelay:4.4,animationDirection:4.4,animationFillMode:4.4,animationDuration:4.4,animationIterationCount:4.4,animationName:4.4,animationPlayState:4.4,animationTimingFunction:4.4,appearance:46,userSelect:46,fontKerning:4.4,textEmphasisPosition:46,textEmphasis:46,textEmphasisStyle:46,textEmphasisColor:46,boxDecorationBreak:46,clipPath:46,maskImage:46,maskMode:46,maskRepeat:46,maskPosition:46,maskClip:46,maskOrigin:46,maskSize:46,maskComposite:46,mask:46,maskBorderSource:46,maskBorderMode:46,maskBorderSlice:46,maskBorderWidth:46, -maskBorderOutset:46,maskBorderRepeat:46,maskBorder:46,maskType:46,filter:46,fontFeatureSettings:46,breakAfter:46,breakBefore:46,breakInside:46,columnCount:46,columnFill:46,columnGap:46,columnRule:46,columnRuleColor:46,columnRuleStyle:46,columnRuleWidth:46,columns:46,columnSpan:46,columnWidth:46},and_chr:{appearance:47,userSelect:47,textEmphasisPosition:47,textEmphasis:47,textEmphasisStyle:47,textEmphasisColor:47,boxDecorationBreak:47,clipPath:47,maskImage:47,maskMode:47,maskRepeat:47,maskPosition:47,maskClip:47,maskOrigin:47,maskSize:47,maskComposite:47,mask:47,maskBorderSource:47,maskBorderMode:47,maskBorderSlice:47,maskBorderWidth:47,maskBorderOutset:47,maskBorderRepeat:47,maskBorder:47,maskType:47,textDecorationStyle:47,textDecorationSkip:47,textDecorationLine:47,textDecorationColor:47,filter:47,fontFeatureSettings:47,breakAfter:47,breakBefore:47,breakInside:47,columnCount:47,columnFill:47,columnGap:47,columnRule:47,columnRuleColor:47,columnRuleStyle:47,columnRuleWidth:47,columns:47,columnSpan:47,columnWidth:47},and_uc:{flex:9.9,flexBasis:9.9,flexDirection:9.9,flexGrow:9.9,flexFlow:9.9,flexShrink:9.9,flexWrap:9.9,alignContent:9.9,alignItems:9.9,alignSelf:9.9,justifyContent:9.9,order:9.9,transition:9.9,transitionDelay:9.9,transitionDuration:9.9,transitionProperty:9.9,transitionTimingFunction:9.9,transform:9.9,transformOrigin:9.9,transformOriginX:9.9,transformOriginY:9.9,backfaceVisibility:9.9,perspective:9.9,perspectiveOrigin:9.9,transformStyle:9.9,transformOriginZ:9.9,animation:9.9,animationDelay:9.9,animationDirection:9.9,animationFillMode:9.9,animationDuration:9.9,animationIterationCount:9.9,animationName:9.9,animationPlayState:9.9,animationTimingFunction:9.9,appearance:9.9,userSelect:9.9,fontKerning:9.9,textEmphasisPosition:9.9,textEmphasis:9.9,textEmphasisStyle:9.9,textEmphasisColor:9.9,maskImage:9.9,maskMode:9.9,maskRepeat:9.9,maskPosition:9.9,maskClip:9.9,maskOrigin:9.9,maskSize:9.9,maskComposite:9.9,mask:9.9,maskBorderSource:9.9,maskBorderMode:9.9,maskBorderSlice:9.9,maskBorderWidth:9.9,maskBorderOutset:9.9,maskBorderRepeat:9.9,maskBorder:9.9,maskType:9.9,textSizeAdjust:9.9,filter:9.9,hyphens:9.9,flowInto:9.9,flowFrom:9.9,breakBefore:9.9,breakAfter:9.9,breakInside:9.9,regionFragment:9.9,fontFeatureSettings:9.9,columnCount:9.9,columnFill:9.9,columnGap:9.9,columnRule:9.9,columnRuleColor:9.9,columnRuleStyle:9.9,columnRuleWidth:9.9,columns:9.9,columnSpan:9.9,columnWidth:9.9},op_mini:{borderImage:5,borderImageOutset:5,borderImageRepeat:5,borderImageSlice:5,borderImageSource:5,borderImageWidth:5,tabSize:5,objectFit:5,objectPosition:5}};t.exports=n},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/lib/plugins/calc.js":[function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){var t=e.property,r=e.value,o=e.browserInfo,s=e.prefix,i=e.keepUnprefixed,a=e.forceRun,u=o.browser,l=o.version;if("string"==typeof r&&r.indexOf("calc(")>-1&&(a||"firefox"===u&&l<15||"chrome"===u&&l<25||"safari"===u&&l<6.1||"ios_saf"===u&&l<7)){var d=a?["-webkit-","-moz-"].map(function(e){return r.replace(/calc\(/g,e+"calc(")}).join(";"+t+":"):r.replace(/calc\(/g,s.css+"calc(");return n({},t,d+(i?";"+t+":"+r:""))}}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=o,t.exports=r["default"]},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/lib/plugins/cursor.js":[function(e,t,r){"use strict";function n(e){var t=e.property,r=e.value,n=e.browserInfo,s=e.prefix,i=e.keepUnprefixed,a=e.forceRun,u=n.browser,l=n.version;if("cursor"===t&&o[r]&&(a||"firefox"===u&&l<24||"chrome"===u&&l<37||"safari"===u&&l<9||"opera"===u&&l<24)){var d=a?["-webkit-","-moz-"].map(function(e){return e+r}).join(";"+t+":"):s.css+r;return{cursor:d+(i?";"+t+":"+r:"")}}}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=n;var o={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0};t.exports=r["default"]},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/lib/plugins/flex.js":[function(e,t,r){"use strict";function n(e){var t=e.property,r=e.value,n=e.browserInfo,s=(e.prefix,e.keepUnprefixed),i=e.forceRun,a=n.browser,u=n.version;if("display"===t&&o[r]&&(i||"chrome"===a&&u<29&&u>20||("safari"===a||"ios_saf"===a)&&u<9&&u>6||"opera"===a&&(15==u||16==u))){var l=i?["-webkit-box","-moz-box","-ms-"+r+"box","-webkit-"+r].join(";"+t+":"):"-webkit-"+r;return{display:l+(s?";"+t+":"+r:"")}}}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=n;var o={flex:!0,"inline-flex":!0};t.exports=r["default"]},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/lib/plugins/flexboxIE.js":[function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){var t=e.property,r=e.value,o=e.styles,s=e.browserInfo,l=(e.prefix,e.keepUnprefixed),d=e.forceRun,c=s.browser,p=s.version;if(u[t]&&(d||("ie_mob"===c||"ie"===c)&&10==p)){if(l||delete o[t],a[t])return n({},a[t],i[r]||r);if(i[r])return n({},t,i[r]+(l?";"+t+":"+r:""))}}Object.defineProperty(r,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t-1?"vertical":"horizontal",WebkitBoxDirection:r.indexOf("reverse")>-1?"reverse":"normal"};if("display"===t&&i[r])return{display:l.css+i[r]+(d?";"+t+":"+r:"")};if(a[t])return n({},a[t],i[r]||r);if(i[r])return n({},t,i[r]+(d?";"+t+":"+r:""))}}Object.defineProperty(r,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t-1||t.toLowerCase().indexOf("transitionproperty")>-1)){var c,p=function(){var e=Object.keys(d).map(function(e){return(0,a["default"])(e)}),n=r,p=n.split(/,(?![^()]*(?:\([^()]*\))?\))/g);e.forEach(function(e){p.forEach(function(t,r){if(t.indexOf(e)>-1){var n=u?["-webkit-","-moz-","-ms-"].map(function(r){return t.replace(e,r+e)}).join(","):t.replace(e,s.css+e);p[r]=n+(i?","+t:"")}})});var h=p.join(",");return u?{v:(c={},o(c,"Webkit"+(0,l["default"])(t),h),o(c,"Moz"+(0,l["default"])(t),h),o(c,"ms"+(0,l["default"])(t),h),o(c,t,h),c)}:{v:o({},t,h)}}();if("object"==typeof p)return p.v}}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=s;var i=e("../utils/camelToDashCase"),a=n(i),u=e("../utils/capitalizeString"),l=n(u);t.exports=r["default"]},{"../utils/camelToDashCase":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/lib/utils/camelToDashCase.js","../utils/capitalizeString":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/lib/utils/capitalizeString.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/lib/utils/assign.js":[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return Object.keys(t).forEach(function(r){return e[r]=t[r]}),e},t.exports=r["default"]},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/lib/utils/camelToDashCase.js":[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(e){return e.replace(/([a-z]|^)([A-Z])/g,function(e,t,r){return t+"-"+r.toLowerCase()}).replace("ms-","-ms-")},t.exports=r["default"]},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/lib/utils/capitalizeString.js":[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},t.exports=r["default"]},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/lib/utils/getBrowserInformation.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var o=e("bowser"),s=n(o),i={Webkit:["chrome","safari","ios","android","phantom","opera","webos","blackberry","bada","tizen"],Moz:["firefox","seamonkey","sailfish"],ms:["msie","msedge"]},a={chrome:[["chrome"]],safari:[["safari"]],firefox:[["firefox"]],ie:[["msie"]],edge:[["msedge"]],opera:[["opera"]],ios_saf:[["ios","mobile"],["ios","tablet"]],ie_mob:[["windowsphone","mobile","msie"],["windowsphone","tablet","msie"],["windowsphone","mobile","msedge"],["windowsphone","tablet","msedge"]],op_mini:[["opera","mobile"],["opera","tablet"]],and_uc:[["android","mobile"],["android","tablet"]],android:[["android","mobile"],["android","tablet"]]},u=function(e){var t=void 0,r=void 0,n=void 0,o=void 0,s=void 0,u=void 0;t=Object.keys(i);for(var l=0;l37&&(t.browser="and_chr"),t.version=parseFloat(t.version),t.osversion=parseFloat(t.osversion),"android"===t.browser&&t.osversion<5&&(t.version=t.osversion),t},t.exports=r["default"]},{bowser:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/node_modules/bowser/src/bowser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/lib/utils/getPrefixedKeyframes.js":[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(e){var t=e.browser,r=e.version,n=e.prefix,o="keyframes";return("chrome"===t&&r<43||("safari"===t||"ios_saf"===t)&&r<9||"opera"===t&&r<30||"android"===t&&r<=4.4||"and_uc"===t)&&(o=n.css+o),o},t.exports=r["default"]},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/lib/utils/warn.js":[function(e,t,r){(function(e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(){"production"!==e.env.NODE_ENV&&console.warn.apply(console,arguments)},t.exports=r["default"]}).call(this,e("_process"))},{_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/inline-style-prefixer/node_modules/bowser/src/bowser.js":[function(e,t,r){!function(e,r){"undefined"!=typeof t&&t.exports?t.exports=r():"function"==typeof define&&define.amd?define(r):this[e]=r()}("bowser",function(){function e(e){function t(t){var r=e.match(t);return r&&r.length>1&&r[1]||""}function r(t){var r=e.match(t);return r&&r.length>1&&r[2]||""}var n,o=t(/(ipod|iphone|ipad)/i).toLowerCase(),s=/like android/i.test(e),a=!s&&/android/i.test(e),u=/nexus\s*[0-6]\s*/i.test(e),l=!u&&/nexus\s*[0-9]+/i.test(e),d=/CrOS/.test(e),c=/silk/i.test(e),p=/sailfish/i.test(e),h=/tizen/i.test(e),f=/(web|hpw)os/i.test(e),m=/windows phone/i.test(e),b=!m&&/windows/i.test(e),v=!o&&!c&&/macintosh/i.test(e),_=!a&&!p&&!h&&!f&&/linux/i.test(e),g=t(/edge\/(\d+(\.\d+)?)/i),y=t(/version\/(\d+(\.\d+)?)/i),$=/tablet/i.test(e),w=!$&&/[^-]mobi/i.test(e),x=/xbox/i.test(e);/opera|opr|opios/i.test(e)?n={name:"Opera",opera:i,version:y||t(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/coast/i.test(e)?n={name:"Opera Coast",coast:i,version:y||t(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(e)?n={name:"Yandex Browser",yandexbrowser:i,version:y||t(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(e)?n={name:"UC Browser",ucbrowser:i,version:t(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(e)?n={name:"Maxthon",maxthon:i,version:t(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(e)?n={name:"Epiphany",epiphany:i,version:t(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(e)?n={name:"Puffin",puffin:i,version:t(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(e)?n={name:"Sleipnir",sleipnir:i,version:t(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(e)?n={name:"K-Meleon",kMeleon:i,version:t(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:m?(n={name:"Windows Phone",windowsphone:i},g?(n.msedge=i,n.version=g):(n.msie=i,n.version=t(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(e)?n={name:"Internet Explorer",msie:i,version:t(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:d?n={name:"Chrome",chromeos:i,chromeBook:i,chrome:i,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/chrome.+? edge/i.test(e)?n={name:"Microsoft Edge",msedge:i,version:g}:/vivaldi/i.test(e)?n={name:"Vivaldi",vivaldi:i,version:t(/vivaldi\/(\d+(\.\d+)?)/i)||y}:p?n={name:"Sailfish",sailfish:i,version:t(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(e)?n={name:"SeaMonkey",seamonkey:i,version:t(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(e)?(n={name:"Firefox",firefox:i,version:t(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(e)&&(n.firefoxos=i)):c?n={name:"Amazon Silk",silk:i,version:t(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(e)?n={name:"PhantomJS",phantom:i,version:t(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(e)?n={name:"SlimerJS",slimer:i,version:t(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(e)||/rim\stablet/i.test(e)?n={name:"BlackBerry",blackberry:i,version:y||t(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:f?(n={name:"WebOS",webos:i,version:y||t(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(e)&&(n.touchpad=i)):/bada/i.test(e)?n={name:"Bada",bada:i,version:t(/dolfin\/(\d+(\.\d+)?)/i)}:h?n={name:"Tizen",tizen:i,version:t(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||y}:/qupzilla/i.test(e)?n={name:"QupZilla",qupzilla:i,version:t(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||y}:/chromium/i.test(e)?n={name:"Chromium",chromium:i,version:t(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||y}:/chrome|crios|crmo/i.test(e)?n={name:"Chrome",chrome:i,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:a?n={name:"Android",version:y}:/safari|applewebkit/i.test(e)?(n={name:"Safari",safari:i},y&&(n.version=y)):o?(n={name:"iphone"==o?"iPhone":"ipad"==o?"iPad":"iPod"},y&&(n.version=y)):n=/googlebot/i.test(e)?{name:"Googlebot",googlebot:i,version:t(/googlebot\/(\d+(\.\d+))/i)||y}:{name:t(/^(.*)\/(.*) /),version:r(/^(.*)\/(.*) /)},!n.msedge&&/(apple)?webkit/i.test(e)?(/(apple)?webkit\/537\.36/i.test(e)?(n.name=n.name||"Blink",n.blink=i):(n.name=n.name||"Webkit",n.webkit=i),!n.version&&y&&(n.version=y)):!n.opera&&/gecko\//i.test(e)&&(n.name=n.name||"Gecko",n.gecko=i,n.version=n.version||t(/gecko\/(\d+(\.\d+)?)/i)),n.msedge||!a&&!n.silk?o?(n[o]=i,n.ios=i):v?n.mac=i:x?n.xbox=i:b?n.windows=i:_&&(n.linux=i):n.android=i;var E="";n.windowsphone?E=t(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):o?(E=t(/os (\d+([_\s]\d+)*) like mac os x/i),E=E.replace(/[_\s]/g,".")):a?E=t(/android[ \/-](\d+(\.\d+)*)/i):n.webos?E=t(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):n.blackberry?E=t(/rim\stablet\sos\s(\d+(\.\d+)*)/i):n.bada?E=t(/bada\/(\d+(\.\d+)*)/i):n.tizen&&(E=t(/tizen[\/\s](\d+(\.\d+)*)/i)),E&&(n.osversion=E);var P=E.split(".")[0];return $||l||"ipad"==o||a&&(3==P||P>=4&&!w)||n.silk?n.tablet=i:(w||"iphone"==o||"ipod"==o||a||u||n.blackberry||n.webos||n.bada)&&(n.mobile=i),n.msedge||n.msie&&n.version>=10||n.yandexbrowser&&n.version>=15||n.vivaldi&&n.version>=1||n.chrome&&n.version>=20||n.firefox&&n.version>=20||n.safari&&n.version>=6||n.opera&&n.version>=10||n.ios&&n.osversion&&n.osversion.split(".")[0]>=6||n.blackberry&&n.version>=10.1||n.chromium&&n.version>=20?n.a=i:n.msie&&n.version<10||n.chrome&&n.version<20||n.firefox&&n.version<20||n.safari&&n.version<6||n.opera&&n.version<10||n.ios&&n.osversion&&n.osversion.split(".")[0]<6||n.chromium&&n.version<20?n.c=i:n.x=i,n}function t(e){return e.split(".").length}function r(e,t){var r,n=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(r=0;r=0;){if(o[0][n]>o[1][n])return 1;if(o[0][n]!==o[1][n])return-1;if(0===n)return 0}}function o(t,r,o){var s=a;"string"==typeof r&&(o=r,r=void 0),void 0===r&&(r=!1),o&&(s=e(o));var i=""+s.version;for(var u in t)if(t.hasOwnProperty(u)&&s[u])return n([i,t[u]])<0;return r}function s(e,t,r){return!o(e,t,r)}var i=!0,a=e("undefined"!=typeof navigator?navigator.userAgent:"");return a.test=function(e){for(var t=0;t0&&r(d)?t>1?o(d,t-1,r,s,a):n(a,d):s||(a[a.length]=d)}return a}function s(e){return function(t){return null==t?void 0:t[e]}}function i(e){return x(e)||a(e)}function a(e){return l(e)&&g.call(e,"callee")&&(!$.call(e,"callee")||y.call(e)==m)}function u(e){return null!=e&&c(w(e))&&!d(e)}function l(e){return h(e)&&u(e)}function d(e){var t=p(e)?y.call(e):"";return t==b||t==v}function c(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=f}function p(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function h(e){return!!e&&"object"==typeof e}var f=9007199254740991,m="[object Arguments]",b="[object Function]",v="[object GeneratorFunction]",_=Object.prototype,g=_.hasOwnProperty,y=_.toString,$=_.propertyIsEnumerable,w=s("length"),x=Array.isArray;t.exports=o},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.flowright/node_modules/lodash.rest/index.js":[function(e,t,r){function n(e,t,r){var n=r.length;switch(n){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function o(e,t){if("function"!=typeof e)throw new TypeError(p);return t=C(void 0===t?e.length-1:d(t),0),function(){for(var r=arguments,o=-1,s=C(r.length-t,0),i=Array(s);++o-1&&e%1==0&&e<=g}function l(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var d=e("lodash._arraycopy"),c=e("lodash._arrayeach"),p=e("lodash._createassigner"),h=e("lodash.isarguments"),f=e("lodash.isarray"),m=e("lodash.isplainobject"),b=e("lodash.istypedarray"),v=e("lodash.keys"),_=e("lodash.toplainobject"),g=9007199254740991,y=i("length"),$=p(o);t.exports=$},{"lodash._arraycopy":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.merge/node_modules/lodash._arraycopy/index.js","lodash._arrayeach":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.merge/node_modules/lodash._arrayeach/index.js","lodash._createassigner":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.merge/node_modules/lodash._createassigner/index.js","lodash.isarguments":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.merge/node_modules/lodash.isarguments/index.js","lodash.isarray":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.merge/node_modules/lodash.isarray/index.js","lodash.isplainobject":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.merge/node_modules/lodash.isplainobject/index.js","lodash.istypedarray":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.merge/node_modules/lodash.istypedarray/index.js","lodash.keys":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.merge/node_modules/lodash.keys/index.js","lodash.toplainobject":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.merge/node_modules/lodash.toplainobject/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.merge/node_modules/lodash._arraycopy/index.js":[function(e,t,r){function n(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r2?r[i-2]:void 0,u=i>2?r[2]:void 0,l=i>1?r[i-1]:void 0;for("function"==typeof a?(a=o(a,l,5),i-=2):(a="function"==typeof l?l:void 0,i-=a?1:0),u&&s(r[0],r[1],u)&&(a=i<3?void 0:a,i=1);++n-1&&e%1==0&&e-1&&e%1==0&&e<=d}function u(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var l=/^\d+$/,d=9007199254740991,c=n("length");t.exports=i},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.merge/node_modules/lodash._createassigner/node_modules/lodash.restparam/index.js":[function(e,t,r){function n(e,t){if("function"!=typeof e)throw new TypeError(o);return t=s(void 0===t?e.length-1:+t||0,0),function(){for(var r=arguments,n=-1,o=s(r.length-t,0),i=Array(o);++n-1&&e%1==0&&e<=c}function l(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function d(e){return!!e&&"object"==typeof e}var c=9007199254740991,p="[object Arguments]",h="[object Function]",f="[object GeneratorFunction]",m=Object.prototype,b=m.hasOwnProperty,v=m.toString,_=m.propertyIsEnumerable,g=n("length");t.exports=o},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.merge/node_modules/lodash.isarray/index.js":[function(e,t,r){function n(e){return!!e&&"object"==typeof e}function o(e,t){var r=null==e?void 0:e[t];return u(r)?r:void 0}function s(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=_}function i(e){return a(e)&&m.call(e)==d}function a(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function u(e){return null!=e&&(i(e)?b.test(h.call(e)):n(e)&&c.test(e))}var l="[object Array]",d="[object Function]",c=/^\[object .+?Constructor\]$/,p=Object.prototype,h=Function.prototype.toString,f=p.hasOwnProperty,m=p.toString,b=RegExp("^"+h.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),v=o(Array,"isArray"),_=9007199254740991,g=v||function(e){return n(e)&&s(e.length)&&m.call(e)==l};t.exports=g},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.merge/node_modules/lodash.isplainobject/index.js":[function(e,t,r){function n(e){return!!e&&"object"==typeof e}function o(e,t){return i(e,t,u)}function s(e){var t;if(!n(e)||p.call(e)!=l||a(e)||!c.call(e,"constructor")&&(t=e.constructor,"function"==typeof t&&!(t instanceof t)))return!1;var r;return o(e,function(e,t){r=t}),void 0===r||c.call(e,r)}var i=e("lodash._basefor"),a=e("lodash.isarguments"),u=e("lodash.keysin"),l="[object Object]",d=Object.prototype,c=d.hasOwnProperty,p=d.toString;t.exports=s},{"lodash._basefor":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.merge/node_modules/lodash.isplainobject/node_modules/lodash._basefor/index.js","lodash.isarguments":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.merge/node_modules/lodash.isarguments/index.js","lodash.keysin":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.merge/node_modules/lodash.keysin/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.merge/node_modules/lodash.isplainobject/node_modules/lodash._basefor/index.js":[function(e,t,r){function n(e){return function(t,r,n){for(var o=-1,s=Object(t),i=n(t),a=i.length;a--;){var u=i[e?a:++o];if(r(s[u],u,s)===!1)break}return t}}var o=n();t.exports=o},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.merge/node_modules/lodash.istypedarray/index.js":[function(e,t,r){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function o(e){return!!e&&"object"==typeof e}function s(e){return o(e)&&n(e.length)&&!!k[O.call(e)]}var i=9007199254740991,a="[object Arguments]",u="[object Array]",l="[object Boolean]",d="[object Date]",c="[object Error]",p="[object Function]",h="[object Map]",f="[object Number]",m="[object Object]",b="[object RegExp]",v="[object Set]",_="[object String]",g="[object WeakMap]",y="[object ArrayBuffer]",$="[object DataView]",w="[object Float32Array]",x="[object Float64Array]",E="[object Int8Array]",P="[object Int16Array]",C="[object Int32Array]",j="[object Uint8Array]",T="[object Uint8ClampedArray]",A="[object Uint16Array]",S="[object Uint32Array]",k={};k[w]=k[x]=k[E]=k[P]=k[C]=k[j]=k[T]=k[A]=k[S]=!0,k[a]=k[u]=k[y]=k[l]=k[$]=k[d]=k[c]=k[p]=k[h]=k[f]=k[m]=k[b]=k[v]=k[_]=k[g]=!1;var D=Object.prototype,O=D.toString;t.exports=s},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.merge/node_modules/lodash.keys/index.js":[function(e,t,r){function n(e){return function(t){return null==t?void 0:t[e]}}function o(e){return null!=e&&i(_(e))}function s(e,t){return e="number"==typeof e||h.test(e)?+e:-1,t=null==t?v:t,e>-1&&e%1==0&&e-1&&e%1==0&&e<=v}function a(e){for(var t=l(e),r=t.length,n=r&&e.length,o=!!n&&i(n)&&(p(e)||c(e)),a=-1,u=[];++a0;++n-1&&e%1==0&&e-1&&e%1==0&&e<=p}function s(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function i(e){if(null==e)return[];s(e)||(e=Object(e));var t=e.length;t=t&&o(t)&&(u(e)||a(e))&&t||0;for(var r=e.constructor,i=-1,l="function"==typeof r&&r.prototype===e,d=Array(t),p=t>0;++it?s(_,h):v=setTimeout(u,e)}function d(){s($,v)}function c(){if(p=arguments,m=l(),b=this,_=$&&(v||!w),y===!1)var r=w&&!v;else{h||w||(g=m);var n=y-(m-g),o=n<=0||n>y;o?(h&&(h=clearTimeout(h)),g=m,f=e.apply(b,p)):h||(h=setTimeout(d,n))}return o&&v?v=clearTimeout(v):v||t===y||(v=setTimeout(u,t)),r&&(o=!0,f=e.apply(b,p)),!o||v||h||(p=b=void 0),f}var p,h,f,m,b,v,_,g=0,y=!1,$=!0;if("function"!=typeof e)throw new TypeError(i);if(t=t<0?0:+t||0,r===!0){var w=!0;$=!1}else o(r)&&(w=!!r.leading,y="maxWait"in r&&a(+r.maxWait||0,t),$="trailing"in r?!!r.trailing:$);return c.cancel=n,c}function o(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var s=e("lodash._getnative"),i="Expected a function",a=Math.max,u=s(Date,"now"),l=u||function(){return(new Date).getTime()};t.exports=n},{"lodash._getnative":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.throttle/node_modules/lodash.debounce/node_modules/lodash._getnative/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.throttle/node_modules/lodash.debounce/node_modules/lodash._getnative/index.js":[function(e,t,r){arguments[4]["/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/lodash.merge/node_modules/lodash._getnative/index.js"][0].apply(r,arguments)},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/react-addons-create-fragment/index.js":[function(e,t,r){t.exports=e("react/lib/ReactFragment").create},{"react/lib/ReactFragment":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactFragment.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/react-addons-pure-render-mixin/index.js":[function(e,t,r){t.exports=e("react/lib/ReactComponentWithPureRenderMixin")},{"react/lib/ReactComponentWithPureRenderMixin":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactComponentWithPureRenderMixin.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/react-addons-transition-group/index.js":[function(e,t,r){t.exports=e("react/lib/ReactTransitionGroup")},{"react/lib/ReactTransitionGroup":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactTransitionGroup.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/react-addons-update/index.js":[function(e,t,r){t.exports=e("react/lib/update")},{"react/lib/update":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/update.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/material-ui/node_modules/warning/browser.js":[function(e,t,r){(function(e){"use strict";var r=function(){};"production"!==e.env.NODE_ENV&&(r=function(e,t,r){var n=arguments.length;r=new Array(n>2?n-2:0);for(var o=2;o>>((3&t)<<3)&255;return o},"undefined"!=typeof console&&console.warn&&console.warn("[SECURITY] node-uuid: crypto not usable, falling back to insecure Math.random()")}}function s(){if("function"==typeof e)try{var t=e("crypto").randomBytes;p=d=t&&function(){return t(16)},d()}catch(r){}}function i(e,t,r){var n=t&&r||0,o=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(e){o<16&&(t[n+o++]=v[e])});o<16;)t[n+o++]=0;return t}function a(e,t){var r=t||0,n=b;return n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]}function u(e,t,r){var n=t&&r||0,o=t||[];e=e||{};var s=null!=e.clockseq?e.clockseq:$,i=null!=e.msecs?e.msecs:(new Date).getTime(),u=null!=e.nsecs?e.nsecs:x+1,l=i-w+(u-x)/1e4;if(l<0&&null==e.clockseq&&(s=s+1&16383),(l<0||i>w)&&null==e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");w=i,x=u,$=s,i+=122192928e5;var d=(1e4*(268435455&i)+u)%4294967296;o[n++]=d>>>24&255,o[n++]=d>>>16&255,o[n++]=d>>>8&255,o[n++]=255&d;var c=i/4294967296*1e4&268435455;o[n++]=c>>>8&255,o[n++]=255&c,o[n++]=c>>>24&15|16,o[n++]=c>>>16&255,o[n++]=s>>>8|128,o[n++]=255&s;for(var p=e.node||y,h=0;h<6;h++)o[n+h]=p[h];return t?t:a(o)}function l(e,t,r){var n=t&&r||0;"string"==typeof e&&(t="binary"===e?new m(16):null,e=null),e=e||{};var o=e.random||(e.rng||d)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var s=0;s<16;s++)t[n+s]=o[s];return t||a(o)}var d,c,p,h,f;n?o():s();for(var m="function"==typeof r?r:Array,b=[],v={},_=0;_<256;_++)b[_]=(_+256).toString(16).substr(1),v[b[_]]=_;var g=d(),y=[1|g[0],g[1],g[2],g[3],g[4],g[5]],$=16383&(g[6]<<8|g[7]),w=0,x=0,E=l;E.v1=u,E.v4=l,E.parse=i,E.unparse=a,E.BufferClass=m,E._rng=d,E._mathRNG=c,E._nodeRNG=p,E._whatwgRNG=h,"undefined"!=typeof t&&t.exports?t.exports=E:"function"==typeof define&&define.amd?define(function(){return E}):(f=n.uuid,E.noConflict=function(){return n.uuid=f,E},n.uuid=E)}("undefined"!=typeof window?window:null)}).call(this,e("buffer").Buffer)},{buffer:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/buffer/index.js",crypto:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/crypto-browserify/index.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/q/q.js":[function(e,t,r){(function(e){!function(e){"use strict";if("function"==typeof bootstrap)bootstrap("promise",e);else if("object"==typeof r&&"object"==typeof t)t.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,o=n.Q;n.Q=e(),n.Q.noConflict=function(){return n.Q=o,this}}}(function(){"use strict";function t(e){return function(){return Y.apply(e,arguments)}}function r(e){return e===Object(e)}function n(e){return"[object StopIteration]"===ne(e)||e instanceof W}function o(e,t){if(q&&t.stack&&"object"==typeof e&&null!==e&&e.stack&&e.stack.indexOf(oe)===-1){for(var r=[],n=t;n;n=n.source)n.stack&&r.unshift(n.stack);r.unshift(e.stack);var o=r.join("\n"+oe+"\n");e.stack=s(o)}}function s(e){for(var t=e.split("\n"),r=[],n=0;n=V&&n<=le}function l(){if(q)try{throw new Error}catch(e){var t=e.stack.split("\n"),r=t[0].indexOf("@")>0?t[1]:t[2],n=a(r);if(!n)return;return z=n[0],n[1]}}function d(e,t,r){return function(){return"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn(t+" is deprecated, use "+r+" instead.",new Error("").stack),e.apply(e,arguments)}}function c(e){return e instanceof m?e:g(e)?T(e):j(e)}function p(){function e(e){t=e,s.source=e,Z(r,function(t,r){c.nextTick(function(){e.promiseDispatch.apply(e,r)})},void 0),r=void 0,n=void 0}var t,r=[],n=[],o=ee(p.prototype),s=ee(m.prototype);if(s.promiseDispatch=function(e,o,s){var i=X(arguments);r?(r.push(i),"when"===o&&s[1]&&n.push(s[1])):c.nextTick(function(){t.promiseDispatch.apply(t,i)})},s.valueOf=function(){if(r)return s;var e=v(t);return _(e)&&(t=e),e},s.inspect=function(){return t?t.inspect():{state:"pending"}},c.longStackSupport&&q)try{throw new Error}catch(i){s.stack=i.stack.substring(i.stack.indexOf("\n")+1)}return o.promise=s,o.resolve=function(r){t||e(c(r))},o.fulfill=function(r){t||e(j(r))},o.reject=function(r){t||e(C(r))},o.notify=function(e){t||Z(n,function(t,r){c.nextTick(function(){r(e)})},void 0)},o}function h(e){if("function"!=typeof e)throw new TypeError("resolver must be a function.");var t=p();try{e(t.resolve,t.reject,t.notify)}catch(r){t.reject(r)}return t.promise}function f(e){return h(function(t,r){for(var n=0,o=e.length;n=n)throw new TypeError}for(;r2?e.resolve(X(arguments,1)):e.resolve(r)}},c.Promise=h,c.promise=h,h.race=f,h.all=M,h.reject=C,h.resolve=c,c.passByCopy=function(e){return e},m.prototype.passByCopy=function(){return this},c.join=function(e,t){return c(e).join(t)},m.prototype.join=function(e){return c([this,e]).spread(function(e,t){if(e===t)return e;throw new Error("Can't join: not the same: "+e+" "+t)})},c.race=f,m.prototype.race=function(){return this.then(c.race)},c.makePromise=m,m.prototype.toString=function(){return"[object Promise]"},m.prototype.then=function(e,t,r){function n(t){try{return"function"==typeof e?e(t):t}catch(r){return C(r)}}function s(e){if("function"==typeof t){o(e,a);try{return t(e)}catch(r){return C(r)}}return C(e)}function i(e){return"function"==typeof r?r(e):e}var a=this,u=p(),l=!1;return c.nextTick(function(){a.promiseDispatch(function(e){l||(l=!0,u.resolve(n(e)))},"when",[function(e){l||(l=!0,u.resolve(s(e)))}])}),a.promiseDispatch(void 0,"when",[void 0,function(e){var t,r=!1;try{t=i(e)}catch(n){if(r=!0,!c.onerror)throw n;c.onerror(n)}r||u.notify(t)}]),u.promise},c.tap=function(e,t){return c(e).tap(t)},m.prototype.tap=function(e){return e=c(e),this.then(function(t){return e.fcall(t).thenResolve(t)})},c.when=b,m.prototype.thenResolve=function(e){return this.then(function(){return e})},c.thenResolve=function(e,t){return c(e).thenResolve(t)},m.prototype.thenReject=function(e){return this.then(function(){throw e})},c.thenReject=function(e,t){return c(e).thenReject(t)},c.nearer=v,c.isPromise=_,c.isPromiseAlike=g,c.isPending=y,m.prototype.isPending=function(){return"pending"===this.inspect().state},c.isFulfilled=$,m.prototype.isFulfilled=function(){return"fulfilled"===this.inspect().state},c.isRejected=w,m.prototype.isRejected=function(){return"rejected"===this.inspect().state};var se=[],ie=[],ae=[],ue=!0;c.resetUnhandledRejections=x,c.getUnhandledReasons=function(){return se.slice()},c.stopUnhandledRejectionTracking=function(){x(),ue=!1},x(),c.reject=C,c.fulfill=j,c.master=A,c.spread=S,m.prototype.spread=function(e,t){return this.all().then(function(t){return e.apply(void 0,t)},t)},c.async=k,c.spawn=D,c["return"]=O,c.promised=H,c.dispatch=F,m.prototype.dispatch=function(e,t){var r=this,n=p();return c.nextTick(function(){r.promiseDispatch(n.resolve,e,t)}),n.promise},c.get=function(e,t){return c(e).dispatch("get",[t])},m.prototype.get=function(e){return this.dispatch("get",[e])},c.set=function(e,t,r){return c(e).dispatch("set",[t,r])},m.prototype.set=function(e,t){return this.dispatch("set",[e,t])},c.del=c["delete"]=function(e,t){return c(e).dispatch("delete",[t])},m.prototype.del=m.prototype["delete"]=function(e){return this.dispatch("delete",[e])},c.mapply=c.post=function(e,t,r){return c(e).dispatch("post",[t,r])},m.prototype.mapply=m.prototype.post=function(e,t){return this.dispatch("post",[e,t])},c.send=c.mcall=c.invoke=function(e,t){return c(e).dispatch("post",[t,X(arguments,2)])},m.prototype.send=m.prototype.mcall=m.prototype.invoke=function(e){return this.dispatch("post",[e,X(arguments,1)])},c.fapply=function(e,t){return c(e).dispatch("apply",[void 0,t])},m.prototype.fapply=function(e){return this.dispatch("apply",[void 0,e])},c["try"]=c.fcall=function(e){return c(e).dispatch("apply",[void 0,X(arguments,1)])},m.prototype.fcall=function(){return this.dispatch("apply",[void 0,X(arguments)])},c.fbind=function(e){var t=c(e),r=X(arguments,1);return function(){return t.dispatch("apply",[this,r.concat(X(arguments))])}},m.prototype.fbind=function(){var e=this,t=X(arguments);return function(){return e.dispatch("apply",[this,t.concat(X(arguments))])}},c.keys=function(e){return c(e).dispatch("keys",[])},m.prototype.keys=function(){return this.dispatch("keys",[])},c.all=M,m.prototype.all=function(){return M(this)},c.any=R,m.prototype.any=function(){return R(this)},c.allResolved=d(B,"allResolved","allSettled"),m.prototype.allResolved=function(){return B(this)},c.allSettled=I,m.prototype.allSettled=function(){return this.then(function(e){return M(Q(e,function(e){function t(){return e.inspect()}return e=c(e),e.then(t,t)}))})},c.fail=c["catch"]=function(e,t){return c(e).then(void 0,t)},m.prototype.fail=m.prototype["catch"]=function(e){return this.then(void 0,e)},c.progress=N,m.prototype.progress=function(e){return this.then(void 0,void 0,e)},c.fin=c["finally"]=function(e,t){return c(e)["finally"](t)},m.prototype.fin=m.prototype["finally"]=function(e){return e=c(e),this.then(function(t){return e.fcall().then(function(){return t})},function(t){return e.fcall().then(function(){throw t})})},c.done=function(e,t,r,n){return c(e).done(t,r,n)},m.prototype.done=function(t,r,n){var s=function(e){c.nextTick(function(){if(o(e,i),!c.onerror)throw e;c.onerror(e)})},i=t||r||n?this.then(t,r,n):this;"object"==typeof e&&e&&e.domain&&(s=e.domain.bind(s)),i.then(void 0,s)},c.timeout=function(e,t,r){return c(e).timeout(t,r)},m.prototype.timeout=function(e,t){var r=p(),n=setTimeout(function(){t&&"string"!=typeof t||(t=new Error(t||"Timed out after "+e+" ms"),t.code="ETIMEDOUT"),r.reject(t)},e);return this.then(function(e){clearTimeout(n),r.resolve(e)},function(e){clearTimeout(n),r.reject(e)},r.notify),r.promise},c.delay=function(e,t){return void 0===t&&(t=e,e=void 0),c(e).delay(t)},m.prototype.delay=function(e){return this.then(function(t){var r=p();return setTimeout(function(){r.resolve(t)},e),r.promise})},c.nfapply=function(e,t){return c(e).nfapply(t)},m.prototype.nfapply=function(e){var t=p(),r=X(e);return r.push(t.makeNodeResolver()),this.fapply(r).fail(t.reject),t.promise},c.nfcall=function(e){var t=X(arguments,1);return c(e).nfapply(t)},m.prototype.nfcall=function(){var e=X(arguments),t=p();return e.push(t.makeNodeResolver()),this.fapply(e).fail(t.reject),t.promise},c.nfbind=c.denodeify=function(e){var t=X(arguments,1);return function(){var r=t.concat(X(arguments)),n=p();return r.push(n.makeNodeResolver()),c(e).fapply(r).fail(n.reject),n.promise}},m.prototype.nfbind=m.prototype.denodeify=function(){var e=X(arguments);return e.unshift(this),c.denodeify.apply(void 0,e)},c.nbind=function(e,t){var r=X(arguments,2);return function(){function n(){return e.apply(t,arguments)}var o=r.concat(X(arguments)),s=p();return o.push(s.makeNodeResolver()),c(n).fapply(o).fail(s.reject),s.promise}},m.prototype.nbind=function(){var e=X(arguments,0);return e.unshift(this),c.nbind.apply(void 0,e)},c.nmapply=c.npost=function(e,t,r){return c(e).npost(t,r)},m.prototype.nmapply=m.prototype.npost=function(e,t){var r=X(t||[]),n=p();return r.push(n.makeNodeResolver()),this.dispatch("post",[e,r]).fail(n.reject),n.promise},c.nsend=c.nmcall=c.ninvoke=function(e,t){var r=X(arguments,2),n=p();return r.push(n.makeNodeResolver()),c(e).dispatch("post",[t,r]).fail(n.reject),n.promise},m.prototype.nsend=m.prototype.nmcall=m.prototype.ninvoke=function(e){var t=X(arguments,1),r=p();return t.push(r.makeNodeResolver()),this.dispatch("post",[e,t]).fail(r.reject),r.promise},c.nodeify=L,m.prototype.nodeify=function(e){return e?void this.then(function(t){c.nextTick(function(){e(null,t)})},function(t){c.nextTick(function(){e(t)})}):this},c.noConflict=function(){throw new Error("Q.noConflict only works when Q is used as a global")};var le=l();return c})}).call(this,e("_process"))},{_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-codemirror/lib/Codemirror.js":[function(e,t,r){"use strict";var n=e("react"),o=e("classnames"),s=e("lodash.debounce"),i=n.createClass({displayName:"CodeMirror",propTypes:{onChange:n.PropTypes.func,onFocusChange:n.PropTypes.func,options:n.PropTypes.object,path:n.PropTypes.string,value:n.PropTypes.string,className:n.PropTypes.any,codeMirrorInstance:n.PropTypes.object},getCodeMirrorInstance:function(){return this.props.codeMirrorInstance||e("codemirror")},getInitialState:function(){return{isFocused:!1}},componentDidMount:function(){var e=this.refs.textarea,t=this.getCodeMirrorInstance();this.codeMirror=t.fromTextArea(e,this.props.options),this.codeMirror.on("change",this.codemirrorValueChanged),this.codeMirror.on("focus",this.focusChanged.bind(this,!0)),this.codeMirror.on("blur",this.focusChanged.bind(this,!1)),this.codeMirror.setValue(this.props.defaultValue||this.props.value||"")},componentWillUnmount:function(){this.codeMirror&&this.codeMirror.toTextArea()},componentWillReceiveProps:s(function(e){if(this.codeMirror&&void 0!==e.value&&this.codeMirror.getValue()!=e.value&&this.codeMirror.setValue(e.value), -"object"==typeof e.options)for(var t in e.options)e.options.hasOwnProperty(t)&&this.codeMirror.setOption(t,e.options[t])},0),getCodeMirror:function(){return this.codeMirror},focus:function(){this.codeMirror&&this.codeMirror.focus()},focusChanged:function(e){this.setState({isFocused:e}),this.props.onFocusChange&&this.props.onFocusChange(e)},codemirrorValueChanged:function(e,t){this.props.onChange&&"setValue"!=t.origin&&this.props.onChange(e.getValue())},render:function(){var e=o("ReactCodeMirror",this.state.isFocused?"ReactCodeMirror--focused":null,this.props.className);return n.createElement("div",{className:e},n.createElement("textarea",{ref:"textarea",name:this.props.path,defaultValue:this.props.value,autoComplete:"off"}))}});t.exports=i},{classnames:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-codemirror/node_modules/classnames/index.js",codemirror:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/codemirror/lib/codemirror.js","lodash.debounce":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-codemirror/node_modules/lodash.debounce/index.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-codemirror/node_modules/classnames/index.js":[function(e,t,r){!function(){"use strict";function e(){for(var t=[],n=0;n=t||r<0||C&&n>=v}function d(){var e=x();return a(e)?c(e):void(g=setTimeout(d,i(e)))}function c(e){return clearTimeout(g),g=void 0,j&&m?n(e):(m=b=void 0,_)}function p(){void 0!==g&&clearTimeout(g),y=E=0,m=b=g=void 0}function h(){return void 0===g?_:c(x())}function f(){var e=x(),r=a(e);if(m=arguments,b=this,y=e,r){if(void 0===g)return o(y);if(C)return clearTimeout(g),g=setTimeout(d,t),n(y)}return void 0===g&&(g=setTimeout(d,t)),_}var m,b,v,_,g,y=0,E=0,P=!1,C=!1,j=!0;if("function"!=typeof e)throw new TypeError(l);return t=u(t)||0,s(r)&&(P=!!r.leading,C="maxWait"in r,v=C?$(u(r.maxWait)||0,t):v,j="trailing"in r?!!r.trailing:j),f.cancel=p,f.flush=h,f}function o(e){var t=s(e)?y.call(e):"";return t==c||t==p}function s(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function i(e){return!!e&&"object"==typeof e}function a(e){return"symbol"==typeof e||i(e)&&y.call(e)==h}function u(e){if("number"==typeof e)return e;if(a(e))return d;if(s(e)){var t=o(e.valueOf)?e.valueOf():e;e=s(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(f,"");var r=b.test(e);return r||v.test(e)?_(e.slice(2),r?2:8):m.test(e)?d:+e}var l="Expected a function",d=NaN,c="[object Function]",p="[object GeneratorFunction]",h="[object Symbol]",f=/^\s+|\s+$/g,m=/^[-+]0x[0-9a-f]+$/i,b=/^0b[01]+$/i,v=/^0o[0-7]+$/i,_=parseInt,g=Object.prototype,y=g.toString,$=Math.max,w=Math.min,x=Date.now;t.exports=n},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-dom/index.js":[function(e,t,r){"use strict";t.exports=e("react/lib/ReactDOM")},{"react/lib/ReactDOM":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactDOM.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-redux/lib/components/Provider.js":[function(e,t,r){(function(t){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(){h||(h=!0,(0,p["default"])(" does not support changing `store` on the fly. It is most likely that you see this error because you updated to Redux 2.x and React Redux 2.x which no longer hot reload reducers automatically. See https://github.com/reactjs/react-redux/releases/tag/v2.0.0 for the migration instructions."))}r.__esModule=!0,r["default"]=void 0;var u=e("react"),l=e("../utils/storeShape"),d=n(l),c=e("../utils/warning"),p=n(c),h=!1,f=function(e){function t(r,n){o(this,t);var i=s(this,e.call(this,r,n));return i.store=r.store,i}return i(t,e),t.prototype.getChildContext=function(){return{store:this.store}},t.prototype.render=function(){var e=this.props.children;return u.Children.only(e)},t}(u.Component);r["default"]=f,"production"!==t.env.NODE_ENV&&(f.prototype.componentWillReceiveProps=function(e){var t=this.store,r=e.store;t!==r&&a()}),f.propTypes={store:d["default"].isRequired,children:u.PropTypes.element.isRequired},f.childContextTypes={store:d["default"].isRequired}}).call(this,e("_process"))},{"../utils/storeShape":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-redux/lib/utils/storeShape.js","../utils/warning":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-redux/lib/utils/warning.js",_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-redux/lib/components/connect.js":[function(e,t,r){(function(t){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){return e.displayName||e.name||"Component"}function u(e,t){try{return e.apply(t)}catch(r){return A.value=r,A}}function l(e,r,n){var l=arguments.length<=3||void 0===arguments[3]?{}:arguments[3],p=Boolean(e),f=e||C,b=void 0;b="function"==typeof r?r:r?(0,v["default"])(r):j;var _=n||T,y=l.pure,w=void 0===y||y,E=l.withRef,k=void 0!==E&&E,D=w&&_!==T,O=S++;return function(e){function r(e,t){(0,$["default"])(e)||(0,g["default"])(t+"() in "+l+" must return a plain object. "+("Instead received "+e+"."))}function n(e,n,o){var s=_(e,n,o);return"production"!==t.env.NODE_ENV&&r(s,"mergeProps"),s}var l="Connect("+a(e)+")",v=function(a){function h(e,t){o(this,h);var r=s(this,a.call(this,e,t));r.version=O,r.store=e.store||t.store,(0,P["default"])(r.store,'Could not find "store" in either the context or '+('props of "'+l+'". ')+"Either wrap the root component in a , "+('or explicitly pass "store" as a prop to "'+l+'".'));var n=r.store.getState();return r.state={storeState:n},r.clearCache(),r}return i(h,a),h.prototype.shouldComponentUpdate=function(){return!w||this.haveOwnPropsChanged||this.hasStoreStateChanged},h.prototype.computeStateProps=function(e,n){if(!this.finalMapStateToProps)return this.configureFinalMapState(e,n);var o=e.getState(),s=this.doStatePropsDependOnOwnProps?this.finalMapStateToProps(o,n):this.finalMapStateToProps(o);return"production"!==t.env.NODE_ENV&&r(s,"mapStateToProps"),s},h.prototype.configureFinalMapState=function(e,n){var o=f(e.getState(),n),s="function"==typeof o;return this.finalMapStateToProps=s?o:f,this.doStatePropsDependOnOwnProps=1!==this.finalMapStateToProps.length,s?this.computeStateProps(e,n):("production"!==t.env.NODE_ENV&&r(o,"mapStateToProps"),o)},h.prototype.computeDispatchProps=function(e,n){if(!this.finalMapDispatchToProps)return this.configureFinalMapDispatch(e,n);var o=e.dispatch,s=this.doDispatchPropsDependOnOwnProps?this.finalMapDispatchToProps(o,n):this.finalMapDispatchToProps(o);return"production"!==t.env.NODE_ENV&&r(s,"mapDispatchToProps"),s},h.prototype.configureFinalMapDispatch=function(e,n){var o=b(e.dispatch,n),s="function"==typeof o;return this.finalMapDispatchToProps=s?o:b,this.doDispatchPropsDependOnOwnProps=1!==this.finalMapDispatchToProps.length,s?this.computeDispatchProps(e,n):("production"!==t.env.NODE_ENV&&r(o,"mapDispatchToProps"),o)},h.prototype.updateStatePropsIfNeeded=function(){var e=this.computeStateProps(this.store,this.props);return(!this.stateProps||!(0,m["default"])(e,this.stateProps))&&(this.stateProps=e,!0)},h.prototype.updateDispatchPropsIfNeeded=function(){var e=this.computeDispatchProps(this.store,this.props);return(!this.dispatchProps||!(0,m["default"])(e,this.dispatchProps))&&(this.dispatchProps=e,!0)},h.prototype.updateMergedPropsIfNeeded=function(){var e=n(this.stateProps,this.dispatchProps,this.props);return!(this.mergedProps&&D&&(0,m["default"])(e,this.mergedProps))&&(this.mergedProps=e,!0)},h.prototype.isSubscribed=function(){return"function"==typeof this.unsubscribe},h.prototype.trySubscribe=function(){p&&!this.unsubscribe&&(this.unsubscribe=this.store.subscribe(this.handleChange.bind(this)),this.handleChange())},h.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},h.prototype.componentDidMount=function(){this.trySubscribe()},h.prototype.componentWillReceiveProps=function(e){w&&(0,m["default"])(e,this.props)||(this.haveOwnPropsChanged=!0)},h.prototype.componentWillUnmount=function(){this.tryUnsubscribe(),this.clearCache()},h.prototype.clearCache=function(){this.dispatchProps=null,this.stateProps=null,this.mergedProps=null,this.haveOwnPropsChanged=!0,this.hasStoreStateChanged=!0,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,this.renderedElement=null,this.finalMapDispatchToProps=null,this.finalMapStateToProps=null},h.prototype.handleChange=function(){if(this.unsubscribe){var e=this.store.getState(),t=this.state.storeState;if(!w||t!==e){if(w&&!this.doStatePropsDependOnOwnProps){var r=u(this.updateStatePropsIfNeeded,this);if(!r)return;r===A&&(this.statePropsPrecalculationError=A.value),this.haveStatePropsBeenPrecalculated=!0}this.hasStoreStateChanged=!0,this.setState({storeState:e})}}},h.prototype.getWrappedInstance=function(){return(0,P["default"])(k,"To access the wrapped instance, you need to specify { withRef: true } as the fourth argument of the connect() call."),this.refs.wrappedInstance},h.prototype.render=function(){var t=this.haveOwnPropsChanged,r=this.hasStoreStateChanged,n=this.haveStatePropsBeenPrecalculated,o=this.statePropsPrecalculationError,s=this.renderedElement;if(this.haveOwnPropsChanged=!1,this.hasStoreStateChanged=!1,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,o)throw o;var i=!0,a=!0;w&&s&&(i=r||t&&this.doStatePropsDependOnOwnProps,a=t&&this.doDispatchPropsDependOnOwnProps);var u=!1,l=!1;n?u=!0:i&&(u=this.updateStatePropsIfNeeded()),a&&(l=this.updateDispatchPropsIfNeeded());var p=!0;return p=!!(u||l||t)&&this.updateMergedPropsIfNeeded(),!p&&s?s:(k?this.renderedElement=(0,c.createElement)(e,d({},this.mergedProps,{ref:"wrappedInstance"})):this.renderedElement=(0,c.createElement)(e,this.mergedProps),this.renderedElement)},h}(c.Component);return v.displayName=l,v.WrappedComponent=e,v.contextTypes={store:h["default"]},v.propTypes={store:h["default"]},"production"!==t.env.NODE_ENV&&(v.prototype.componentWillUpdate=function(){this.version!==O&&(this.version=O,this.trySubscribe(),this.clearCache())}),(0,x["default"])(v,e)}}var d=Object.assign||function(e){for(var t=1;t elements are for router configuration only and should not be rendered"):d["default"](!1)},t}(c.Component);g.propTypes={to:v.isRequired,query:_,state:_,onEnter:m.falsy,children:m.falsy},g.createRouteFromReactElement=function(e,t){t?t.indexRoute=f["default"].createRouteFromReactElement(e):"production"!==n.env.NODE_ENV?u["default"](!1,"An does not make sense at the root of your route config"):void 0},r["default"]=g,t.exports=r["default"]}).call(this,e("_process"))},{"./PropTypes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/PropTypes.js","./Redirect":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/Redirect.js",_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js",invariant:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/node_modules/invariant/browser.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js",warning:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/node_modules/warning/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/IndexRoute.js":[function(e,t,r){(function(n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}r.__esModule=!0;var a=e("warning"),u=o(a),l=e("invariant"),d=o(l),c=e("react"),p=o(c),h=e("./RouteUtils"),f=e("./PropTypes"),m=p["default"].PropTypes.func,b=function(e){function t(){s(this,t),e.apply(this,arguments)}return i(t,e),t.prototype.render=function(){"production"!==n.env.NODE_ENV?d["default"](!1," elements are for router configuration only and should not be rendered"):d["default"](!1)},t}(c.Component);b.propTypes={path:f.falsy,component:f.component,components:f.components,getComponent:m,getComponents:m},b.createRouteFromReactElement=function(e,t){t?t.indexRoute=h.createRouteFromReactElement(e):"production"!==n.env.NODE_ENV?u["default"](!1,"An does not make sense at the root of your route config"):void 0},r["default"]=b,t.exports=r["default"]}).call(this,e("_process"))},{"./PropTypes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/PropTypes.js","./RouteUtils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/RouteUtils.js",_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js",invariant:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/node_modules/invariant/browser.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js",warning:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/node_modules/warning/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/Lifecycle.js":[function(e,t,r){(function(n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}r.__esModule=!0;var s=e("react"),i=o(s),a=e("invariant"),u=o(a),l=i["default"].PropTypes.object,d={contextTypes:{history:l.isRequired,route:l},propTypes:{route:l},componentDidMount:function(){this.routerWillLeave?void 0:"production"!==n.env.NODE_ENV?u["default"](!1,"The Lifecycle mixin requires you to define a routerWillLeave method"):u["default"](!1);var e=this.props.route||this.context.route;e?void 0:"production"!==n.env.NODE_ENV?u["default"](!1,"The Lifecycle mixin must be used on either a) a or b) a descendant of a that uses the RouteContext mixin"):u["default"](!1),this._unlistenBeforeLeavingRoute=this.context.history.listenBeforeLeavingRoute(e,this.routerWillLeave)},componentWillUnmount:function(){this._unlistenBeforeLeavingRoute&&this._unlistenBeforeLeavingRoute()}};r["default"]=d,t.exports=r["default"]}).call(this,e("_process"))},{_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js",invariant:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/node_modules/invariant/browser.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/Link.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){return 0===e.button}function u(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function l(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}r.__esModule=!0;var d=Object.assign||function(e){for(var t=1;t0?void 0:"production"!==t.env.NODE_ENV?h["default"](!1,'Missing splat #%s for path "%s"',u,e):h["default"](!1),null!=c&&(i+=encodeURI(c))):"("===l?s+=1:")"===l?s-=1:":"===l.charAt(0)?(d=l.substring(1),c=r[d],null!=c||s>0?void 0:"production"!==t.env.NODE_ENV?h["default"](!1,'Missing "%s" parameter for path "%s"',d,e):h["default"](!1),null!=c&&(i+=encodeURIComponent(c))):i+=l;return i.replace(/\/+/g,"/")}r.__esModule=!0,r.compilePattern=a,r.matchPattern=u,r.getParamNames=l,r.getParams=d,r.formatPattern=c;var p=e("invariant"),h=n(p),f={}}).call(this,e("_process"))},{_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js",invariant:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/node_modules/invariant/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/PropTypes.js":[function(e,t,r){"use strict";function n(e,t,r){if(e[t])return new Error("<"+r+'> should not have a "'+t+'" prop')}r.__esModule=!0,r.falsy=n;var o=e("react"),s=o.PropTypes.func,i=o.PropTypes.object,a=o.PropTypes.arrayOf,u=o.PropTypes.oneOfType,l=o.PropTypes.element,d=o.PropTypes.shape,c=o.PropTypes.string,p=d({listen:s.isRequired,pushState:s.isRequired,replaceState:s.isRequired,go:s.isRequired});r.history=p;var h=d({pathname:c.isRequired,search:c.isRequired,state:i,action:c.isRequired,key:c});r.location=h;var f=u([s,c]);r.component=f;var m=u([f,i]);r.components=m;var b=u([i,l]);r.route=b;var v=u([b,a(b)]);r.routes=v,r["default"]={falsy:n,history:p,location:h,component:f,components:m,route:b}},{react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/Redirect.js":[function(e,t,r){(function(n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}r.__esModule=!0;var a=e("invariant"),u=o(a),l=e("react"),d=o(l),c=e("./RouteUtils"),p=e("./PatternUtils"),h=e("./PropTypes"),f=d["default"].PropTypes,m=f.string,b=f.object,v=function(e){function t(){s(this,t),e.apply(this,arguments)}return i(t,e),t.prototype.render=function(){"production"!==n.env.NODE_ENV?u["default"](!1," elements are for router configuration only and should not be rendered"):u["default"](!1)},t}(l.Component);v.createRouteFromReactElement=function(e){var t=c.createRouteFromReactElement(e);return t.from&&(t.path=t.from),t.onEnter=function(e,r){var n=e.location,o=e.params,s=void 0; -if("/"===t.to.charAt(0))s=p.formatPattern(t.to,o);else if(t.to){var i=e.routes.indexOf(t),a=v.getRoutePattern(e.routes,i-1),u=a.replace(/\/*$/,"/")+t.to;s=p.formatPattern(u,o)}else s=n.pathname;r(t.state||n.state,s,t.query||n.query)},t},v.getRoutePattern=function(e,t){for(var r="",n=t;n>=0;n--){var o=e[n],s=o.path||"";if(r=s.replace(/\/*$/,"/")+r,0===s.indexOf("/"))break}return"/"+r},v.propTypes={path:m,from:m,to:m.isRequired,query:b,state:b,onEnter:h.falsy,children:h.falsy},r["default"]=v,t.exports=r["default"]}).call(this,e("_process"))},{"./PatternUtils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/PatternUtils.js","./PropTypes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/PropTypes.js","./RouteUtils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/RouteUtils.js",_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js",invariant:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/node_modules/invariant/browser.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/Route.js":[function(e,t,r){(function(n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}r.__esModule=!0;var a=e("invariant"),u=o(a),l=e("react"),d=o(l),c=e("./RouteUtils"),p=e("./PropTypes"),h=d["default"].PropTypes,f=h.string,m=h.func,b=function(e){function t(){s(this,t),e.apply(this,arguments)}return i(t,e),t.prototype.render=function(){"production"!==n.env.NODE_ENV?u["default"](!1," elements are for router configuration only and should not be rendered"):u["default"](!1)},t}(l.Component);b.createRouteFromReactElement=c.createRouteFromReactElement,b.propTypes={path:f,component:p.component,components:p.components,getComponent:m,getComponents:m},r["default"]=b,t.exports=r["default"]}).call(this,e("_process"))},{"./PropTypes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/PropTypes.js","./RouteUtils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/RouteUtils.js",_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js",invariant:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/node_modules/invariant/browser.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/RouteContext.js":[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}r.__esModule=!0;var o=e("react"),s=n(o),i=s["default"].PropTypes.object,a={propTypes:{route:i.isRequired},childContextTypes:{route:i.isRequired},getChildContext:function(){return{route:this.props.route}}};r["default"]=a,t.exports=r["default"]},{react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/RouteUtils.js":[function(e,t,r){(function(t){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){return null==e||h["default"].isValidElement(e)}function s(e){return o(e)||Array.isArray(e)&&e.every(o)}function i(e,r,n){e=e||"UnknownComponent";for(var o in r)if(r.hasOwnProperty(o)){var s=r[o](n,o,e);s instanceof Error&&("production"!==t.env.NODE_ENV?m["default"](!1,s.message):void 0)}}function a(e,t){return c({},e,t)}function u(e){var t=e.type,r=a(t.defaultProps,e.props);if(t.propTypes&&i(t.displayName||t.name,t.propTypes,r),r.children){var n=l(r.children,r);n.length&&(r.childRoutes=n),delete r.children}return r}function l(e,t){var r=[];return h["default"].Children.forEach(e,function(e){if(h["default"].isValidElement(e))if(e.type.createRouteFromReactElement){var n=e.type.createRouteFromReactElement(e,t);n&&r.push(n)}else r.push(u(e))}),r}function d(e){return s(e)?e=l(e):e&&!Array.isArray(e)&&(e=[e]),e}r.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}r.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t; it will be ignored"):void 0,"production"!==n.env.NODE_ENV?d["default"]((e.routes||e.children)===(this.props.routes||this.props.children),"You cannot change ; it will be ignored"):void 0},t.prototype.componentWillUnmount=function(){this._unlisten&&this._unlisten()},t.prototype.render=function(){var e=this.state,r=e.location,n=e.routes,o=e.params,i=e.components,a=this.props,l=a.RoutingContext,d=a.createElement,c=s(a,["RoutingContext","createElement"]);return null==r?null:(Object.keys(t.propTypes).forEach(function(e){return delete c[e]}),p["default"].createElement(l,u({},c,{history:this.history,createElement:d,location:r,routes:n,params:o,components:i})))},t}(c.Component);E.propTypes={history:x,children:y.routes,routes:y.routes,RoutingContext:w.isRequired,createElement:w,onError:w,onUpdate:w,parseQueryString:w,stringifyQuery:w},E.defaultProps={RoutingContext:v["default"]},r["default"]=E,t.exports=r["default"]}).call(this,e("_process"))},{"./PropTypes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/PropTypes.js","./RouteUtils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/RouteUtils.js","./RoutingContext":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/RoutingContext.js","./useRoutes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/useRoutes.js",_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js","history/lib/createHashHistory":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/history/lib/createHashHistory.js",react:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/react.js",warning:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/node_modules/warning/browser.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-router/lib/RoutingContext.js":[function(e,t,r){(function(n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}r.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function i(e){for(var t in e)if(e.hasOwnProperty(t))return!0;return!1}function a(e){return function(){function t(e,t){var r=!(arguments.length<=2||void 0===arguments[2])&&arguments[2];return _["default"](e,t,r,j.location,j.routes,j.params)}function r(e){var t=e.pathname,r=e.query,n=e.state;return C.createLocation(C.createPath(t,r),n,c.REPLACE)}function o(e,t){T&&T.location===e?a(T,t):w["default"](E,e,function(r,n){r?t(r):n?a(u({},n,{location:e}),t):t()})}function a(e,t){var n=m["default"](j,e),o=n.leaveRoutes,s=n.enterRoutes;b.runLeaveHooks(o),b.runEnterHooks(s,e,function(n,o){n?t(n):o?t(null,r(o)):y["default"](e,function(r,n){r?t(r):t(null,null,j=u({},e,{components:n}))})})}function l(e){return e.__id__||(e.__id__=A++)}function p(e){return e.reduce(function(e,t){return e.push.apply(e,S[l(t)]),e},[])}function f(e,t){w["default"](E,e,function(r,n){if(null==n)return void t();T=u({},n,{location:e});for(var o=p(m["default"](j,T).leaveRoutes),s=void 0,i=0,a=o.length;null==s&&i2?n-2:0);for(var o=2;o=0},v=10,_=750,g={x:null,y:null},y=null,$={x:{page:"pageX",client:"clientX",envScroll:"currentPageScrollLeft"},y:{page:"pageY",client:"clientY",envScroll:"currentPageScrollTop"}},w=[h.topTouchStart,h.topTouchCancel,h.topTouchEnd,h.topTouchMove],x=[h.topMouseDown,h.topMouseMove,h.topMouseUp].concat(w),E={touchTap:{phasedRegistrationNames:{bubbled:p({onTouchTap:null}),captured:p({onTouchTapCapture:null})},dependencies:x}},P=function(){return Date.now?Date.now:function(){return+new Date}}();t.exports=s},{"./TouchEventUtils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-tap-event-plugin/src/TouchEventUtils.js","fbjs/lib/keyOf":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-tap-event-plugin/node_modules/fbjs/lib/keyOf.js","react/lib/EventConstants":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/EventConstants.js","react/lib/EventPluginUtils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/EventPluginUtils.js","react/lib/EventPropagators":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/EventPropagators.js","react/lib/SyntheticUIEvent":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/SyntheticUIEvent.js","react/lib/ViewportMetrics":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ViewportMetrics.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-tap-event-plugin/src/TouchEventUtils.js":[function(e,t,r){var n={extractSingleTouch:function(e){var t=e.touches,r=e.changedTouches,n=t&&t.length>0,o=r&&r.length>0;return!n&&o?r[0]:n?t[0]:e}};t.exports=n},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-tap-event-plugin/src/defaultClickRejectionStrategy.js":[function(e,t,r){t.exports=function(e,t){if(e&&t-e<750)return!0}},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-tap-event-plugin/src/injectTapEventPlugin.js":[function(e,t,r){var n=e("./defaultClickRejectionStrategy");t.exports=function(t){t=t||{};var r=t.shouldRejectClick||n;e("react/lib/EventPluginHub").injection.injectEventPluginsByName({TapEventPlugin:e("./TapEventPlugin.js")(r)})}},{"./TapEventPlugin.js":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-tap-event-plugin/src/TapEventPlugin.js","./defaultClickRejectionStrategy":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react-tap-event-plugin/src/defaultClickRejectionStrategy.js","react/lib/EventPluginHub":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/EventPluginHub.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/AutoFocusUtils.js":[function(e,t,r){"use strict";var n=e("./ReactMount"),o=e("./findDOMNode"),s=e("fbjs/lib/focusNode"),i={componentDidMount:function(){this.props.autoFocus&&s(o(this))}},a={Mixin:i,focusDOMComponent:function(){s(n.getNode(this._rootNodeID))}};t.exports=a},{"./ReactMount":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactMount.js", -"./findDOMNode":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/findDOMNode.js","fbjs/lib/focusNode":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/focusNode.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/BeforeInputEventPlugin.js":[function(e,t,r){"use strict";function n(){var e=window.opera;return"object"==typeof e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}function o(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function s(e){switch(e){case T.topCompositionStart:return A.compositionStart;case T.topCompositionEnd:return A.compositionEnd;case T.topCompositionUpdate:return A.compositionUpdate}}function i(e,t){return e===T.topKeyDown&&t.keyCode===$}function a(e,t){switch(e){case T.topKeyUp:return y.indexOf(t.keyCode)!==-1;case T.topKeyDown:return t.keyCode!==$;case T.topKeyPress:case T.topMouseDown:case T.topBlur:return!0;default:return!1}}function u(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function l(e,t,r,n,o){var l,d;if(w?l=s(e):k?a(e,n)&&(l=A.compositionEnd):i(e,n)&&(l=A.compositionStart),!l)return null;P&&(k||l!==A.compositionStart?l===A.compositionEnd&&k&&(d=k.getData()):k=b.getPooled(t));var c=v.getPooled(l,r,n,o);if(d)c.data=d;else{var p=u(n);null!==p&&(c.data=p)}return f.accumulateTwoPhaseDispatches(c),c}function d(e,t){switch(e){case T.topCompositionEnd:return u(t);case T.topKeyPress:var r=t.which;return r!==C?null:(S=!0,j);case T.topTextInput:var n=t.data;return n===j&&S?null:n;default:return null}}function c(e,t){if(k){if(e===T.topCompositionEnd||a(e,t)){var r=k.getData();return b.release(k),k=null,r}return null}switch(e){case T.topPaste:return null;case T.topKeyPress:return t.which&&!o(t)?String.fromCharCode(t.which):null;case T.topCompositionEnd:return P?null:t.data;default:return null}}function p(e,t,r,n,o){var s;if(s=E?d(e,n):c(e,n),!s)return null;var i=_.getPooled(A.beforeInput,r,n,o);return i.data=s,f.accumulateTwoPhaseDispatches(i),i}var h=e("./EventConstants"),f=e("./EventPropagators"),m=e("fbjs/lib/ExecutionEnvironment"),b=e("./FallbackCompositionState"),v=e("./SyntheticCompositionEvent"),_=e("./SyntheticInputEvent"),g=e("fbjs/lib/keyOf"),y=[9,13,27,32],$=229,w=m.canUseDOM&&"CompositionEvent"in window,x=null;m.canUseDOM&&"documentMode"in document&&(x=document.documentMode);var E=m.canUseDOM&&"TextEvent"in window&&!x&&!n(),P=m.canUseDOM&&(!w||x&&x>8&&x<=11),C=32,j=String.fromCharCode(C),T=h.topLevelTypes,A={beforeInput:{phasedRegistrationNames:{bubbled:g({onBeforeInput:null}),captured:g({onBeforeInputCapture:null})},dependencies:[T.topCompositionEnd,T.topKeyPress,T.topTextInput,T.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:g({onCompositionEnd:null}),captured:g({onCompositionEndCapture:null})},dependencies:[T.topBlur,T.topCompositionEnd,T.topKeyDown,T.topKeyPress,T.topKeyUp,T.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:g({onCompositionStart:null}),captured:g({onCompositionStartCapture:null})},dependencies:[T.topBlur,T.topCompositionStart,T.topKeyDown,T.topKeyPress,T.topKeyUp,T.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:g({onCompositionUpdate:null}),captured:g({onCompositionUpdateCapture:null})},dependencies:[T.topBlur,T.topCompositionUpdate,T.topKeyDown,T.topKeyPress,T.topKeyUp,T.topMouseDown]}},S=!1,k=null,D={eventTypes:A,extractEvents:function(e,t,r,n,o){return[l(e,t,r,n,o),p(e,t,r,n,o)]}};t.exports=D},{"./EventConstants":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/EventConstants.js","./EventPropagators":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/EventPropagators.js","./FallbackCompositionState":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/FallbackCompositionState.js","./SyntheticCompositionEvent":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/SyntheticCompositionEvent.js","./SyntheticInputEvent":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/SyntheticInputEvent.js","fbjs/lib/ExecutionEnvironment":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/ExecutionEnvironment.js","fbjs/lib/keyOf":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/keyOf.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/CSSProperty.js":[function(e,t,r){"use strict";function n(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var o={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0},s=["Webkit","ms","Moz","O"];Object.keys(o).forEach(function(e){s.forEach(function(t){o[n(t,e)]=o[e]})});var i={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},a={isUnitlessNumber:o,shorthandPropertyExpansions:i};t.exports=a},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/CSSPropertyOperations.js":[function(e,t,r){(function(r){"use strict";var n=e("./CSSProperty"),o=e("fbjs/lib/ExecutionEnvironment"),s=e("./ReactPerf"),i=e("fbjs/lib/camelizeStyleName"),a=e("./dangerousStyleValue"),u=e("fbjs/lib/hyphenateStyleName"),l=e("fbjs/lib/memoizeStringOnly"),d=e("fbjs/lib/warning"),c=l(function(e){return u(e)}),p=!1,h="cssFloat";if(o.canUseDOM){var f=document.createElement("div").style;try{f.font=""}catch(m){p=!0}void 0===document.documentElement.style.cssFloat&&(h="styleFloat")}if("production"!==r.env.NODE_ENV)var b=/^(?:webkit|moz|o)[A-Z]/,v=/;\s*$/,_={},g={},y=function(e){_.hasOwnProperty(e)&&_[e]||(_[e]=!0,"production"!==r.env.NODE_ENV?d(!1,"Unsupported style property %s. Did you mean %s?",e,i(e)):void 0)},$=function(e){_.hasOwnProperty(e)&&_[e]||(_[e]=!0,"production"!==r.env.NODE_ENV?d(!1,"Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)):void 0)},w=function(e,t){g.hasOwnProperty(t)&&g[t]||(g[t]=!0,"production"!==r.env.NODE_ENV?d(!1,'Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',e,t.replace(v,"")):void 0)},x=function(e,t){e.indexOf("-")>-1?y(e):b.test(e)?$(e):v.test(t)&&w(e,t)};var E={createMarkupForStyles:function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];"production"!==r.env.NODE_ENV&&x(n,o),null!=o&&(t+=c(n)+":",t+=a(n,o)+";")}return t||null},setValueForStyles:function(e,t){var o=e.style;for(var s in t)if(t.hasOwnProperty(s)){"production"!==r.env.NODE_ENV&&x(s,t[s]);var i=a(s,t[s]);if("float"===s&&(s=h),i)o[s]=i;else{var u=p&&n.shorthandPropertyExpansions[s];if(u)for(var l in u)o[l]="";else o[s]=""}}}};s.measureMethods(E,"CSSPropertyOperations",{setValueForStyles:"setValueForStyles"}),t.exports=E}).call(this,e("_process"))},{"./CSSProperty":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/CSSProperty.js","./ReactPerf":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactPerf.js","./dangerousStyleValue":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/dangerousStyleValue.js",_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js","fbjs/lib/ExecutionEnvironment":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/ExecutionEnvironment.js","fbjs/lib/camelizeStyleName":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/camelizeStyleName.js","fbjs/lib/hyphenateStyleName":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/hyphenateStyleName.js","fbjs/lib/memoizeStringOnly":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/memoizeStringOnly.js","fbjs/lib/warning":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/warning.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/CallbackQueue.js":[function(e,t,r){(function(r){"use strict";function n(){this._callbacks=null,this._contexts=null}var o=e("./PooledClass"),s=e("./Object.assign"),i=e("fbjs/lib/invariant");s(n.prototype,{enqueue:function(e,t){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var e=this._callbacks,t=this._contexts;if(e){e.length!==t.length?"production"!==r.env.NODE_ENV?i(!1,"Mismatched list of contexts in callback queue"):i(!1):void 0,this._callbacks=null,this._contexts=null;for(var n=0;n8));var F=!1;$.canUseDOM&&(F=P("input")&&(!("documentMode"in document)||document.documentMode>9));var M={get:function(){return O.get.call(this)},set:function(e){D=""+e,O.set.call(this,e)}},R={eventTypes:A,extractEvents:function(e,t,r,o,s){var i,a;if(n(t)?H?i=u:a=l:C(t)?F?i=h:(i=m,a=f):b(t)&&(i=v),i){var d=i(e,t,r);if(d){var c=x.getPooled(A.change,d,o,s);return c.type="change",y.accumulateTwoPhaseDispatches(c),c}}a&&a(e,t,r)}};t.exports=R},{"./EventConstants":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/EventConstants.js","./EventPluginHub":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/EventPluginHub.js","./EventPropagators":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/EventPropagators.js","./ReactUpdates":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactUpdates.js","./SyntheticEvent":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/SyntheticEvent.js","./getEventTarget":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/getEventTarget.js","./isEventSupported":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/isEventSupported.js","./isTextInputElement":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/isTextInputElement.js","fbjs/lib/ExecutionEnvironment":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/ExecutionEnvironment.js","fbjs/lib/keyOf":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/keyOf.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ClientReactRootIndex.js":[function(e,t,r){"use strict";var n=0,o={createReactRootIndex:function(){return n++}};t.exports=o},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/DOMChildrenOperations.js":[function(e,t,r){(function(r){"use strict";function n(e,t,r){var n=r>=e.childNodes.length?null:e.childNodes.item(r);e.insertBefore(t,n)}var o=e("./Danger"),s=e("./ReactMultiChildUpdateTypes"),i=e("./ReactPerf"),a=e("./setInnerHTML"),u=e("./setTextContent"),l=e("fbjs/lib/invariant"),d={dangerouslyReplaceNodeWithMarkup:o.dangerouslyReplaceNodeWithMarkup,updateTextContent:u,processUpdates:function(e,t){for(var i,d=null,c=null,p=0;p when using tables, nesting tags like
      ,

      , or , or using non-SVG elements in an parent. Try inspecting the child nodes of the element with React ID `%s`.",h,m):l(!1),d=d||{},d[m]=d[m]||[],d[m][h]=f,c=c||[],c.push(f)}var b;if(b=t.length&&"string"==typeof t[0]?o.dangerouslyRenderMarkup(t):t,c)for(var v=0;v]+)/,d="data-danger-index",c={dangerouslyRenderMarkup:function(e){o.canUseDOM?void 0:"production"!==r.env.NODE_ENV?u(!1,"dangerouslyRenderMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use ReactDOMServer.renderToString for server rendering."):u(!1);for(var t,c={},p=0;p node. This is because browser quirks make this unreliable and/or slow. If you want to render to the root you must use server rendering. See ReactDOMServer.renderToString()."):u(!1):void 0;var n;n="string"==typeof t?s(t,i)[0]:t,e.parentNode.replaceChild(n,e)}};t.exports=c}).call(this,e("_process"))},{_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js","fbjs/lib/ExecutionEnvironment":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/ExecutionEnvironment.js","fbjs/lib/createNodesFromMarkup":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/createNodesFromMarkup.js","fbjs/lib/emptyFunction":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/emptyFunction.js","fbjs/lib/getMarkupWrap":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/getMarkupWrap.js","fbjs/lib/invariant":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/invariant.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/DefaultEventPluginOrder.js":[function(e,t,r){"use strict";var n=e("fbjs/lib/keyOf"),o=[n({ResponderEventPlugin:null}),n({SimpleEventPlugin:null}),n({TapEventPlugin:null}),n({EnterLeaveEventPlugin:null}),n({ChangeEventPlugin:null}),n({SelectEventPlugin:null}),n({BeforeInputEventPlugin:null})];t.exports=o},{"fbjs/lib/keyOf":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/keyOf.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/EnterLeaveEventPlugin.js":[function(e,t,r){"use strict";var n=e("./EventConstants"),o=e("./EventPropagators"),s=e("./SyntheticMouseEvent"),i=e("./ReactMount"),a=e("fbjs/lib/keyOf"),u=n.topLevelTypes,l=i.getFirstReactDOM,d={mouseEnter:{registrationName:a({onMouseEnter:null}),dependencies:[u.topMouseOut,u.topMouseOver]},mouseLeave:{registrationName:a({onMouseLeave:null}),dependencies:[u.topMouseOut,u.topMouseOver]}},c=[null,null],p={eventTypes:d,extractEvents:function(e,t,r,n,a){if(e===u.topMouseOver&&(n.relatedTarget||n.fromElement))return null;if(e!==u.topMouseOut&&e!==u.topMouseOver)return null;var p;if(t.window===t)p=t;else{var h=t.ownerDocument;p=h?h.defaultView||h.parentWindow:window}var f,m,b="",v="";if(e===u.topMouseOut?(f=t,b=r,m=l(n.relatedTarget||n.toElement),m?v=i.getID(m):m=p,m=m||p):(f=p,m=t,v=r),f===m)return null;var _=s.getPooled(d.mouseLeave,b,n,a);_.type="mouseleave",_.target=f,_.relatedTarget=m;var g=s.getPooled(d.mouseEnter,v,n,a);return g.type="mouseenter",g.target=m,g.relatedTarget=f,o.accumulateEnterLeaveDispatches(_,g,b,v),c[0]=_,c[1]=g,c}};t.exports=p},{"./EventConstants":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/EventConstants.js","./EventPropagators":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/EventPropagators.js","./ReactMount":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactMount.js","./SyntheticMouseEvent":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/SyntheticMouseEvent.js","fbjs/lib/keyOf":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/keyOf.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/EventConstants.js":[function(e,t,r){"use strict";var n=e("fbjs/lib/keyMirror"),o=n({bubbled:null,captured:null}),s=n({topAbort:null,topBlur:null,topCanPlay:null,topCanPlayThrough:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topDurationChange:null,topEmptied:null,topEncrypted:null,topEnded:null,topError:null,topFocus:null,topInput:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topLoadedData:null,topLoadedMetadata:null,topLoadStart:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topPause:null,topPlay:null,topPlaying:null,topProgress:null,topRateChange:null,topReset:null,topScroll:null,topSeeked:null,topSeeking:null,topSelectionChange:null,topStalled:null,topSubmit:null,topSuspend:null,topTextInput:null,topTimeUpdate:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topVolumeChange:null,topWaiting:null,topWheel:null}),i={topLevelTypes:s,PropagationPhases:o};t.exports=i},{"fbjs/lib/keyMirror":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/keyMirror.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/EventPluginHub.js":[function(e,t,r){(function(r){"use strict";function n(){var e=b&&b.traverseTwoPhase&&b.traverseEnterLeave;"production"!==r.env.NODE_ENV?d(e,"InstanceHandle not injected before use!"):void 0}var o=e("./EventPluginRegistry"),s=e("./EventPluginUtils"),i=e("./ReactErrorUtils"),a=e("./accumulateInto"),u=e("./forEachAccumulated"),l=e("fbjs/lib/invariant"),d=e("fbjs/lib/warning"),c={},p=null,h=function(e,t){e&&(s.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},f=function(e){return h(e,!0)},m=function(e){return h(e,!1)},b=null,v={injection:{injectMount:s.injection.injectMount,injectInstanceHandle:function(e){b=e,"production"!==r.env.NODE_ENV&&n()},getInstanceHandle:function(){return"production"!==r.env.NODE_ENV&&n(),b},injectEventPluginOrder:o.injectEventPluginOrder,injectEventPluginsByName:o.injectEventPluginsByName},eventNameDispatchConfigs:o.eventNameDispatchConfigs,registrationNameModules:o.registrationNameModules,putListener:function(e,t,n){"function"!=typeof n?"production"!==r.env.NODE_ENV?l(!1,"Expected %s listener to be a function, instead got type %s",t,typeof n):l(!1):void 0;var s=c[t]||(c[t]={});s[e]=n;var i=o.registrationNameModules[t];i&&i.didPutListener&&i.didPutListener(e,t,n)},getListener:function(e,t){var r=c[t];return r&&r[e]},deleteListener:function(e,t){var r=o.registrationNameModules[t];r&&r.willDeleteListener&&r.willDeleteListener(e,t);var n=c[t];n&&delete n[e]},deleteAllListeners:function(e){for(var t in c)if(c[t][e]){var r=o.registrationNameModules[t];r&&r.willDeleteListener&&r.willDeleteListener(e,t),delete c[t][e]}},extractEvents:function(e,t,r,n,s){for(var i,u=o.plugins,l=0;l-1?void 0:"production"!==r.env.NODE_ENV?i(!1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e):i(!1),!l.plugins[n]){t.extractEvents?void 0:"production"!==r.env.NODE_ENV?i(!1,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e):i(!1),l.plugins[n]=t;var s=t.eventTypes;for(var d in s)o(s[d],t,d)?void 0:"production"!==r.env.NODE_ENV?i(!1,"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",d,e):i(!1)}}}function o(e,t,n){l.eventNameDispatchConfigs.hasOwnProperty(n)?"production"!==r.env.NODE_ENV?i(!1,"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",n):i(!1):void 0,l.eventNameDispatchConfigs[n]=e;var o=e.phasedRegistrationNames;if(o){for(var a in o)if(o.hasOwnProperty(a)){var u=o[a];s(u,t,n)}return!0}return!!e.registrationName&&(s(e.registrationName,t,n),!0)}function s(e,t,n){l.registrationNameModules[e]?"production"!==r.env.NODE_ENV?i(!1,"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e):i(!1):void 0,l.registrationNameModules[e]=t,l.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var i=e("fbjs/lib/invariant"),a=null,u={},l={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){a?"production"!==r.env.NODE_ENV?i(!1,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."):i(!1):void 0,a=Array.prototype.slice.call(e),n()},injectEventPluginsByName:function(e){var t=!1;for(var o in e)if(e.hasOwnProperty(o)){var s=e[o];u.hasOwnProperty(o)&&u[o]===s||(u[o]?"production"!==r.env.NODE_ENV?i(!1,"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",o):i(!1):void 0,u[o]=s,t=!0)}t&&n()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return l.registrationNameModules[t.registrationName]||null;for(var r in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(r)){var n=l.registrationNameModules[t.phasedRegistrationNames[r]];if(n)return n}return null},_resetEventPlugins:function(){a=null;for(var e in u)u.hasOwnProperty(e)&&delete u[e];l.plugins.length=0;var t=l.eventNameDispatchConfigs;for(var r in t)t.hasOwnProperty(r)&&delete t[r];var n=l.registrationNameModules;for(var o in n)n.hasOwnProperty(o)&&delete n[o]}};t.exports=l}).call(this,e("_process"))},{_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js","fbjs/lib/invariant":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/invariant.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/EventPluginUtils.js":[function(e,t,r){(function(r){"use strict";function n(e){return e===_.topMouseUp||e===_.topTouchEnd||e===_.topTouchCancel}function o(e){return e===_.topMouseMove||e===_.topTouchMove}function s(e){return e===_.topMouseDown||e===_.topTouchStart}function i(e,t,r,n){var o=e.type||"unknown-event";e.currentTarget=v.Mount.getNode(n),t?f.invokeGuardedCallbackWithCatch(o,r,e,n):f.invokeGuardedCallback(o,r,e,n),e.currentTarget=null}function a(e,t){var n=e._dispatchListeners,o=e._dispatchIDs;if("production"!==r.env.NODE_ENV&&p(e),Array.isArray(n))for(var s=0;s1?1-t:void 0;return this._fallbackText=o.slice(e,a),this._fallbackText}}),o.addPoolingTo(n),t.exports=n},{"./Object.assign":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/Object.assign.js","./PooledClass":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/PooledClass.js","./getTextContentAccessor":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/getTextContentAccessor.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/HTMLDOMPropertyConfig.js":[function(e,t,r){"use strict";var n,o=e("./DOMProperty"),s=e("fbjs/lib/ExecutionEnvironment"),i=o.injection.MUST_USE_ATTRIBUTE,a=o.injection.MUST_USE_PROPERTY,u=o.injection.HAS_BOOLEAN_VALUE,l=o.injection.HAS_SIDE_EFFECTS,d=o.injection.HAS_NUMERIC_VALUE,c=o.injection.HAS_POSITIVE_NUMERIC_VALUE,p=o.injection.HAS_OVERLOADED_BOOLEAN_VALUE;if(s.canUseDOM){var h=document.implementation;n=h&&h.hasFeature&&h.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")}var f={isCustomAttribute:RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\d_.\-]*$/),Properties:{accept:null,acceptCharset:null,accessKey:null,action:null,allowFullScreen:i|u,allowTransparency:i,alt:null,async:u,autoComplete:null,autoPlay:u,capture:i|u,cellPadding:null,cellSpacing:null,charSet:i,challenge:i,checked:a|u,classID:i,className:n?i:a,cols:i|c,colSpan:null,content:null,contentEditable:null,contextMenu:i,controls:a|u,coords:null,crossOrigin:null,data:null,dateTime:i,"default":u,defer:u,dir:null,disabled:i|u,download:p,draggable:null,encType:null,form:i,formAction:i,formEncType:i,formMethod:i,formNoValidate:u,formTarget:i,frameBorder:i,headers:null,height:i,hidden:i|u,high:null,href:null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:a,inputMode:i,integrity:null,is:i,keyParams:i,keyType:i,kind:null,label:null,lang:null,list:i,loop:a|u,low:null,manifest:i,marginHeight:null,marginWidth:null,max:null,maxLength:i,media:i,mediaGroup:null,method:null,min:null,minLength:i,multiple:a|u,muted:a|u,name:null,nonce:i,noValidate:u,open:u,optimum:null,pattern:null,placeholder:null,poster:null,preload:null,radioGroup:null,readOnly:a|u,rel:null,required:u,reversed:u,role:i,rows:i|c,rowSpan:null,sandbox:null,scope:null,scoped:u,scrolling:null,seamless:i|u,selected:a|u,shape:null,size:i|c,sizes:i,span:c,spellCheck:null,src:null,srcDoc:a,srcLang:null,srcSet:i,start:d,step:null,style:null,summary:null,tabIndex:null,target:null,title:null,type:null,useMap:null,value:a|l,width:i,wmode:i,wrap:null,about:i,datatype:i,inlist:i,prefix:i,property:i,resource:i,"typeof":i,vocab:i,autoCapitalize:i,autoCorrect:i,autoSave:null,color:null,itemProp:i,itemScope:i|u,itemType:i,itemID:i,itemRef:i,results:null,security:i,unselectable:i},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{autoComplete:"autocomplete",autoFocus:"autofocus",autoPlay:"autoplay",autoSave:"autosave",encType:"encoding",hrefLang:"hreflang",radioGroup:"radiogroup",spellCheck:"spellcheck",srcDoc:"srcdoc",srcSet:"srcset"}};t.exports=f},{"./DOMProperty":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/DOMProperty.js","fbjs/lib/ExecutionEnvironment":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/ExecutionEnvironment.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/LinkedValueUtils.js":[function(e,t,r){(function(r){"use strict";function n(e){null!=e.checkedLink&&null!=e.valueLink?"production"!==r.env.NODE_ENV?l(!1,"Cannot provide a checkedLink and a valueLink. If you want to use checkedLink, you probably don't want to use valueLink and vice versa."):l(!1):void 0}function o(e){n(e),null!=e.value||null!=e.onChange?"production"!==r.env.NODE_ENV?l(!1,"Cannot provide a valueLink and a value or onChange event. If you want to use value or onChange, you probably don't want to use valueLink."):l(!1):void 0}function s(e){n(e),null!=e.checked||null!=e.onChange?"production"!==r.env.NODE_ENV?l(!1,"Cannot provide a checkedLink and a checked property or onChange event. If you want to use checked or onChange, you probably don't want to use checkedLink"):l(!1):void 0}function i(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var a=e("./ReactPropTypes"),u=e("./ReactPropTypeLocations"),l=e("fbjs/lib/invariant"),d=e("fbjs/lib/warning"),c={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},p={value:function(e,t,r){return!e[t]||c[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,r){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:a.func},h={},f={checkPropTypes:function(e,t,n){for(var o in p){if(p.hasOwnProperty(o))var s=p[o](t,o,e,u.prop);if(s instanceof Error&&!(s.message in h)){h[s.message]=!0;var a=i(n);"production"!==r.env.NODE_ENV?d(!1,"Failed form propType: %s%s",s.message,a):void 0}}},getValue:function(e){return e.valueLink?(o(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(s(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(o(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(s(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};t.exports=f}).call(this,e("_process"))},{"./ReactPropTypeLocations":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactPropTypeLocations.js","./ReactPropTypes":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactPropTypes.js",_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js","fbjs/lib/invariant":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/invariant.js","fbjs/lib/warning":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/warning.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/Object.assign.js":[function(e,t,r){"use strict";function n(e,t){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");for(var r=Object(e),n=Object.prototype.hasOwnProperty,o=1;o1?a-1:0),l=1;l-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)&&console.debug("Download the React DevTools for a better development experience: https://fb.me/react-devtools");var _=document.documentMode&&document.documentMode<8;"production"!==r.env.NODE_ENV?f(!_,'Internet Explorer is running in compatibility mode; please add the following tag to your HTML to prevent this from happening: '):void 0;for(var g=[Array.isArray,Array.prototype.every,Array.prototype.forEach,Array.prototype.indexOf,Array.prototype.map,Date.now,Function.prototype.bind,Object.keys,String.prototype.split,String.prototype.trim,Object.create,Object.freeze],y=0;y",l(e),l(t)):void 0)}}function c(e,t){t&&("production"!==r.env.NODE_ENV&&ae[e._tag]&&("production"!==r.env.NODE_ENV?K(null==t.children&&null==t.dangerouslySetInnerHTML,"%s is a void element tag and must not have `children` or use `props.dangerouslySetInnerHTML`.%s",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""):void 0),null!=t.dangerouslySetInnerHTML&&(null!=t.children?"production"!==r.env.NODE_ENV?L(!1,"Can only set one of `children` or `props.dangerouslySetInnerHTML`."):L(!1):void 0,"object"==typeof t.dangerouslySetInnerHTML&&te in t.dangerouslySetInnerHTML?void 0:"production"!==r.env.NODE_ENV?L(!1,"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information."):L(!1)),"production"!==r.env.NODE_ENV&&("production"!==r.env.NODE_ENV?K(null==t.innerHTML,"Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."):void 0,"production"!==r.env.NODE_ENV?K(!t.contentEditable||null==t.children,"A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."):void 0),null!=t.style&&"object"!=typeof t.style?"production"!==r.env.NODE_ENV?L(!1,"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.%s",n(e)):L(!1):void 0)}function p(e,t,n,o){"production"!==r.env.NODE_ENV&&("production"!==r.env.NODE_ENV?K("onScroll"!==t||q("scroll",!0),"This browser doesn't support the `onScroll` event"):void 0);var s=H.findReactContainerForID(e);if(s){var i=s.nodeType===re?s.ownerDocument:s;X(t,i)}o.getReactMountReady().enqueue(h,{id:e,registrationName:t,listener:n})}function h(){var e=this;j.putListener(e.id,e.registrationName,e.listener)}function f(){var e=this;e._rootNodeID?void 0:"production"!==r.env.NODE_ENV?L(!1,"Must be mounted to trap events"):L(!1);var t=H.getNode(e._rootNodeID);switch(t?void 0:"production"!==r.env.NODE_ENV?L(!1,"trapBubbledEvent(...): Requires node to be rendered."):L(!1),e._tag){ -case"iframe":e._wrapperState.listeners=[j.trapBubbledEvent(C.topLevelTypes.topLoad,"load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in oe)oe.hasOwnProperty(n)&&e._wrapperState.listeners.push(j.trapBubbledEvent(C.topLevelTypes[n],oe[n],t));break;case"img":e._wrapperState.listeners=[j.trapBubbledEvent(C.topLevelTypes.topError,"error",t),j.trapBubbledEvent(C.topLevelTypes.topLoad,"load",t)];break;case"form":e._wrapperState.listeners=[j.trapBubbledEvent(C.topLevelTypes.topReset,"reset",t),j.trapBubbledEvent(C.topLevelTypes.topSubmit,"submit",t)]}}function m(){S.mountReadyWrapper(this)}function b(){D.postUpdateWrapper(this)}function v(e){de.call(le,e)||(ue.test(e)?void 0:"production"!==r.env.NODE_ENV?L(!1,"Invalid tag: %s",e):L(!1),le[e]=!0)}function _(e,t){e=B({},e);var r=e[G.ancestorInfoContextKey];return e[G.ancestorInfoContextKey]=G.updatedAncestorInfo(r,t._tag,t),e}function g(e,t){return e.indexOf("-")>=0||null!=t.is}function y(e){v(e),this._tag=e.toLowerCase(),this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._rootNodeID=null,this._wrapperState=null,this._topLevelWrapper=null,this._nodeWithLegacyProperties=null,"production"!==r.env.NODE_ENV&&(this._unprocessedContextDev=null,this._processedContextDev=null)}var $,w=e("./AutoFocusUtils"),x=e("./CSSPropertyOperations"),E=e("./DOMProperty"),P=e("./DOMPropertyOperations"),C=e("./EventConstants"),j=e("./ReactBrowserEventEmitter"),T=e("./ReactComponentBrowserEnvironment"),A=e("./ReactDOMButton"),S=e("./ReactDOMInput"),k=e("./ReactDOMOption"),D=e("./ReactDOMSelect"),O=e("./ReactDOMTextarea"),H=e("./ReactMount"),F=e("./ReactMultiChild"),M=e("./ReactPerf"),R=e("./ReactUpdateQueue"),B=e("./Object.assign"),I=e("./canDefineProperty"),N=e("./escapeTextContentForBrowser"),L=e("fbjs/lib/invariant"),q=e("./isEventSupported"),U=e("fbjs/lib/keyOf"),z=e("./setInnerHTML"),W=e("./setTextContent"),V=e("fbjs/lib/shallowEqual"),G=e("./validateDOMNesting"),K=e("fbjs/lib/warning"),Y=j.deleteListener,X=j.listenTo,Z=j.registrationNameModules,J={string:!0,number:!0},Q=U({children:null}),ee=U({style:null}),te=U({__html:null}),re=1;"production"!==r.env.NODE_ENV&&($={props:{enumerable:!1,get:function(){var e=this._reactInternalComponent;return"production"!==r.env.NODE_ENV?K(!1,"ReactDOMComponent: Do not access .props of a DOM node; instead, recreate the props as `render` did originally or read the DOM properties/attributes directly from this node (e.g., this.refs.box.className).%s",n(e)):void 0,e._currentElement.props}}});var ne={},oe={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},se={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},ie={listing:!0,pre:!0,textarea:!0},ae=B({menuitem:!0},se),ue=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,le={},de={}.hasOwnProperty;y.displayName="ReactDOMComponent",y.Mixin={construct:function(e){this._currentElement=e},mountComponent:function(e,t,n){this._rootNodeID=e;var o=this._currentElement.props;switch(this._tag){case"iframe":case"img":case"form":case"video":case"audio":this._wrapperState={listeners:null},t.getReactMountReady().enqueue(f,this);break;case"button":o=A.getNativeProps(this,o,n);break;case"input":S.mountWrapper(this,o,n),o=S.getNativeProps(this,o,n);break;case"option":k.mountWrapper(this,o,n),o=k.getNativeProps(this,o,n);break;case"select":D.mountWrapper(this,o,n),o=D.getNativeProps(this,o,n),n=D.processChildContext(this,o,n);break;case"textarea":O.mountWrapper(this,o,n),o=O.getNativeProps(this,o,n)}c(this,o),"production"!==r.env.NODE_ENV&&n[G.ancestorInfoContextKey]&&G(this._tag,this,n[G.ancestorInfoContextKey]),"production"!==r.env.NODE_ENV&&(this._unprocessedContextDev=n,this._processedContextDev=_(n,this),n=this._processedContextDev);var s;if(t.useCreateElement){var i=n[H.ownerDocumentContextKey],a=i.createElement(this._currentElement.type);P.setAttributeForID(a,this._rootNodeID),H.getID(a),this._updateDOMProperties({},o,t,a),this._createInitialChildren(t,o,n,a),s=a}else{var u=this._createOpenTagMarkupAndPutListeners(t,o),l=this._createContentMarkup(t,o,n);s=!l&&se[this._tag]?u+"/>":u+">"+l+""}switch(this._tag){case"input":t.getReactMountReady().enqueue(m,this);case"button":case"select":case"textarea":o.autoFocus&&t.getReactMountReady().enqueue(w.focusDOMComponent,this)}return s},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var o in t)if(t.hasOwnProperty(o)){var s=t[o];if(null!=s)if(Z.hasOwnProperty(o))s&&p(this._rootNodeID,o,s,e);else{o===ee&&(s&&("production"!==r.env.NODE_ENV&&(this._previousStyle=s),s=this._previousStyleCopy=B({},t.style)),s=x.createMarkupForStyles(s));var i=null;null!=this._tag&&g(this._tag,t)?o!==Q&&(i=P.createMarkupForCustomAttribute(o,s)):i=P.createMarkupForProperty(o,s),i&&(n+=" "+i)}}if(e.renderToStaticMarkup)return n;var a=P.createMarkupForID(this._rootNodeID);return n+" "+a},_createContentMarkup:function(e,t,r){var n="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(n=o.__html);else{var s=J[typeof t.children]?t.children:null,i=null!=s?null:t.children;if(null!=s)n=N(s);else if(null!=i){var a=this.mountChildren(i,e,r);n=a.join("")}}return ie[this._tag]&&"\n"===n.charAt(0)?"\n"+n:n},_createInitialChildren:function(e,t,r,n){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&z(n,o.__html);else{var s=J[typeof t.children]?t.children:null,i=null!=s?null:t.children;if(null!=s)W(n,s);else if(null!=i)for(var a=this.mountChildren(i,e,r),u=0;u tried to unmount. Because of cross-browser quirks it is impossible to unmount some top-level components (eg , , and ) reliably and efficiently. To fix this, have a single top-level component that never unmounts render these elements.",this._tag):L(!1)}if(this.unmountChildren(),j.deleteAllListeners(this._rootNodeID),T.unmountIDFromEnvironment(this._rootNodeID),this._rootNodeID=null,this._wrapperState=null,this._nodeWithLegacyProperties){var n=this._nodeWithLegacyProperties;n._reactInternalComponent=null,this._nodeWithLegacyProperties=null}},getPublicInstance:function(){if(!this._nodeWithLegacyProperties){var e=H.getNode(this._rootNodeID);e._reactInternalComponent=this,e.getDOMNode=o,e.isMounted=s,e.setState=i,e.replaceState=i,e.forceUpdate=i,e.setProps=a,e.replaceProps=u,"production"!==r.env.NODE_ENV&&I?Object.defineProperties(e,$):e.props=this._currentElement.props,this._nodeWithLegacyProperties=e}return this._nodeWithLegacyProperties}},M.measureMethods(y,"ReactDOMComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent"}),B(y.prototype,y.Mixin,F.Mixin),t.exports=y}).call(this,e("_process"))},{"./AutoFocusUtils":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/AutoFocusUtils.js","./CSSPropertyOperations":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/CSSPropertyOperations.js","./DOMProperty":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/DOMProperty.js","./DOMPropertyOperations":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/DOMPropertyOperations.js","./EventConstants":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/EventConstants.js","./Object.assign":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/Object.assign.js","./ReactBrowserEventEmitter":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactBrowserEventEmitter.js","./ReactComponentBrowserEnvironment":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactComponentBrowserEnvironment.js","./ReactDOMButton":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactDOMButton.js","./ReactDOMInput":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactDOMInput.js","./ReactDOMOption":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactDOMOption.js","./ReactDOMSelect":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactDOMSelect.js","./ReactDOMTextarea":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactDOMTextarea.js","./ReactMount":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactMount.js","./ReactMultiChild":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactMultiChild.js","./ReactPerf":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactPerf.js","./ReactUpdateQueue":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactUpdateQueue.js","./canDefineProperty":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/canDefineProperty.js","./escapeTextContentForBrowser":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/escapeTextContentForBrowser.js","./isEventSupported":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/isEventSupported.js","./setInnerHTML":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/setInnerHTML.js","./setTextContent":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/setTextContent.js","./validateDOMNesting":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/validateDOMNesting.js",_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js","fbjs/lib/invariant":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/invariant.js","fbjs/lib/keyOf":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/keyOf.js","fbjs/lib/shallowEqual":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/shallowEqual.js","fbjs/lib/warning":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/warning.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactDOMFactories.js":[function(e,t,r){(function(r){"use strict";function n(e){return"production"!==r.env.NODE_ENV?s.createFactory(e):o.createFactory(e)}var o=e("./ReactElement"),s=e("./ReactElementValidator"),i=e("fbjs/lib/mapObject"),a=i({a:"a",abbr:"abbr",address:"address",area:"area",article:"article",aside:"aside",audio:"audio",b:"b",base:"base",bdi:"bdi",bdo:"bdo",big:"big",blockquote:"blockquote",body:"body",br:"br",button:"button",canvas:"canvas",caption:"caption",cite:"cite",code:"code",col:"col",colgroup:"colgroup",data:"data",datalist:"datalist",dd:"dd",del:"del",details:"details",dfn:"dfn",dialog:"dialog",div:"div",dl:"dl",dt:"dt",em:"em",embed:"embed",fieldset:"fieldset",figcaption:"figcaption",figure:"figure",footer:"footer",form:"form",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",head:"head",header:"header",hgroup:"hgroup",hr:"hr",html:"html",i:"i",iframe:"iframe",img:"img",input:"input",ins:"ins",kbd:"kbd",keygen:"keygen",label:"label",legend:"legend",li:"li",link:"link",main:"main",map:"map",mark:"mark",menu:"menu",menuitem:"menuitem",meta:"meta",meter:"meter",nav:"nav",noscript:"noscript",object:"object",ol:"ol",optgroup:"optgroup",option:"option",output:"output",p:"p",param:"param",picture:"picture",pre:"pre",progress:"progress",q:"q",rp:"rp",rt:"rt",ruby:"ruby",s:"s",samp:"samp",script:"script",section:"section",select:"select",small:"small",source:"source",span:"span",strong:"strong",style:"style",sub:"sub",summary:"summary",sup:"sup",table:"table",tbody:"tbody",td:"td",textarea:"textarea",tfoot:"tfoot",th:"th",thead:"thead",time:"time",title:"title",tr:"tr",track:"track",u:"u",ul:"ul","var":"var",video:"video",wbr:"wbr",circle:"circle",clipPath:"clipPath",defs:"defs",ellipse:"ellipse",g:"g",image:"image",line:"line",linearGradient:"linearGradient",mask:"mask",path:"path",pattern:"pattern",polygon:"polygon",polyline:"polyline",radialGradient:"radialGradient",rect:"rect",stop:"stop",svg:"svg",text:"text",tspan:"tspan"},n);t.exports=a}).call(this,e("_process"))},{"./ReactElement":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactElement.js","./ReactElementValidator":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactElementValidator.js",_process:"/home/travis/build/HubPress/dev.hubpress.io/node_modules/browserify/node_modules/process/browser.js","fbjs/lib/mapObject":"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/node_modules/fbjs/lib/mapObject.js"}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactDOMFeatureFlags.js":[function(e,t,r){"use strict";var n={useCreateElement:!1};t.exports=n},{}],"/home/travis/build/HubPress/dev.hubpress.io/node_modules/react/lib/ReactDOMIDOperations.js":[function(e,t,r){(function(r){"use strict";var n=e("./DOMChildrenOperations"),o=e("./DOMPropertyOperations"),s=e("./ReactMount"),i=e("./ReactPerf"),a=e("fbjs/lib/invariant"),u={dangerouslySetInnerHTML:"`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.",style:"`style` must be set using `updateStylesByID()`."},l={updatePropertyByID:function(e,t,n){var i=s.getNode(e);u.hasOwnProperty(t)?"production"!==r.env.NODE_ENV?a(!1,"updatePropertyByID(...): %s",u[t]):a(!1):void 0,null!=n?o.setValueForProperty(i,t,n):o.deleteValueForProperty(i,t)},dangerouslyReplaceNodeWithMarkupByID:function(e,t){var r=s.getNode(e);n.dangerouslyReplaceNodeWithMarkup(r,t)},dangerouslyProcessChildrenUpdates:function(e,t){for(var r=0;r instead of setting `selected` on <%= text %>'),scriptTemplate:i.template(''),stylesheetTemplate:i.template(''),inputTemplate:i.template(' />'),isProduction:!0},e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n1&&(o=(e.path||"")+("page/"+i+"/index.html")),i>1&&($=i-1),ii-1||m+1===t.length){var b=u.default.template(e.template,{pagination:{prev:$,next:g,page:i,pages:h,total:t.length,limit:c},context:"index"===e.template&&0===$?"home":e.template,posts:a,tag:e.tag,author:e.author,title:r.title,description:r.description,socialnetwork:f,relativeUrl:""},{config:n,theme:e.opts.nextState.theme});l.push({name:"page-"+i,path:o,content:b,message:"Publish page-"+i+" "+e.template}),a=[],i++}}),e.opts.nextState.elementsToPublish=(e.opts.nextState.elementsToPublish||[]).concat(l),e.opts}}]),e}();t.default=new f},function(e,t,n){var r,i;/*! + * jQuery JavaScript Library v3.1.1 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2016-09-22T22:30Z + */ +!function(t,n){"use strict";"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,o){"use strict";function a(e,t){t=t||oe;var n=t.createElement("script");n.text=e,t.head.appendChild(n).parentNode.removeChild(n)}function s(e){var t=!!e&&"length"in e&&e.length,n=_e.type(e);return"function"!==n&&!_e.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function l(e,t,n){return _e.isFunction(t)?_e.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?_e.grep(e,function(e){return e===t!==n}):"string"!=typeof t?_e.grep(e,function(e){return ce.call(t,e)>-1!==n}):Se.test(t)?_e.filter(t,e,n):(t=_e.filter(t,e),_e.grep(e,function(e){return ce.call(t,e)>-1!==n&&1===e.nodeType}))}function u(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function c(e){var t={};return _e.each(e.match(Oe)||[],function(e,n){t[n]=!0}),t}function d(e){return e}function f(e){throw e}function p(e,t,n){var r;try{e&&_e.isFunction(r=e.promise)?r.call(e).done(t).fail(n):e&&_e.isFunction(r=e.then)?r.call(e,t,n):t.call(void 0,e)}catch(e){n.call(void 0,e)}}function h(){oe.removeEventListener("DOMContentLoaded",h),n.removeEventListener("load",h),_e.ready()}function m(){this.expando=_e.expando+m.uid++}function g(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ze.test(e)?JSON.parse(e):e)}function $(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(qe,"-$&").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n=g(n)}catch(e){}Ne.set(e,t,n)}else n=void 0;return n}function _(e,t,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return _e.css(e,t,"")},l=s(),u=n&&n[3]||(_e.cssNumber[t]?"":"px"),c=(_e.cssNumber[t]||"px"!==u&&+l)&&He.exec(_e.css(e,t));if(c&&c[3]!==u){u=u||c[3],n=n||[],c=+l||1;do o=o||".5",c/=o,_e.style(e,t,c+u);while(o!==(o=s()/l)&&1!==o&&--a)}return n&&(c=+c||+l||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=i)),i}function v(e){var t,n=e.ownerDocument,r=e.nodeName,i=Ve[r];return i?i:(t=n.body.appendChild(n.createElement(r)),i=_e.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),Ve[r]=i,i)}function b(e,t){for(var n,r,i=[],o=0,a=e.length;o-1)i&&i.push(o);else if(u=_e.contains(o.ownerDocument,o),a=y(d.appendChild(o),"script"),u&&x(a),n)for(c=0;o=a[c++];)Xe.test(o.type||"")&&n.push(o);return d}function w(){return!0}function E(){return!1}function A(){try{return oe.activeElement}catch(e){}}function C(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)C(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),i===!1)i=E;else if(!i)return e;return 1===o&&(a=i,i=function(e){return _e().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=_e.guid++)),e.each(function(){_e.event.add(this,t,i,r,n)})}function S(e,t){return _e.nodeName(e,"table")&&_e.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e:e}function T(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function M(e){var t=st.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function D(e,t){var n,r,i,o,a,s,l,u;if(1===t.nodeType){if(je.hasData(e)&&(o=je.access(e),a=je.set(t,o),u=o.events)){delete a.handle,a.events={};for(i in u)for(n=0,r=u[i].length;n1&&"string"==typeof h&&!ge.checkClone&&at.test(h))return e.each(function(i){var o=e.eq(i);m&&(t[0]=h.call(this,i,o.html())),F(o,t,n,r)});if(f&&(i=k(t,e[0].ownerDocument,!1,e,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=_e.map(y(i,"script"),T),l=s.length;d=0&&nk.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[N]=!0,e}function i(e){var t=F.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;)k.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function u(e){return function(t){return"form"in t?t.parentNode&&t.disabled===!1?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&we(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function c(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function d(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function f(){}function p(e){for(var t=0,n=e.length,r="";t1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function g(e,n,r){for(var i=0,o=n.length;i-1&&(r[u]=!(a[u]=d))}}else v=$(v===a?v.splice(h,v.length):v),o?o(null,a,v,l):Z.apply(a,v)})}function v(e){for(var t,n,r,i=e.length,o=k.relative[e[0].type],a=o||k.relative[" "],s=o?1:0,l=h(function(e){return e===t},a,!0),u=h(function(e){return ee(t,e)>-1},a,!0),c=[function(e,n,r){var i=!o&&(r||n!==T)||((t=n).nodeType?l(e,n,r):u(e,n,r));return t=null,i}];s1&&m(c),s>1&&p(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,s0,o=e.length>0,a=function(r,a,s,l,u){var c,d,f,p=0,h="0",m=r&&[],g=[],_=T,v=r||o&&k.find.TAG("*",u),b=q+=null==_?1:Math.random()||.1,y=v.length;for(u&&(T=a===F||a||u);h!==y&&null!=(c=v[h]);h++){if(o&&c){for(d=0,a||c.ownerDocument===F||(L(c),s=!R);f=e[d++];)if(f(c,a||F,s)){l.push(c);break}u&&(q=b)}i&&((c=!f&&c)&&p--,r&&m.push(c))}if(p+=h,i&&h!==p){for(d=0;f=n[d++];)f(m,g,a,s);if(r){if(p>0)for(;h--;)m[h]||g[h]||(g[h]=J.call(l));g=$(g)}Z.apply(l,g),u&&!r&&g.length>0&&p+n.length>1&&t.uniqueSort(l)}return u&&(q=b,T=_),m};return i?r(a):a}var y,x,k,w,E,A,C,S,T,M,D,L,F,O,R,I,B,P,j,N="sizzle"+1*new Date,z=e.document,q=0,Y=0,H=n(),U=n(),W=n(),G=function(e,t){return e===t&&(D=!0),0},V={}.hasOwnProperty,K=[],J=K.pop,X=K.push,Z=K.push,Q=K.slice,ee=function(e,t){for(var n=0,r=e.length;n+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),de=new RegExp(oe),fe=new RegExp("^"+re+"$"),pe={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+ie),PSEUDO:new RegExp("^"+oe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,$e=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_e=/[+~]/,ve=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),be=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},ye=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,xe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ke=function(){L()},we=h(function(e){return e.disabled===!0&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{Z.apply(K=Q.call(z.childNodes),z.childNodes),K[z.childNodes.length].nodeType}catch(e){Z={apply:K.length?function(e,t){X.apply(e,Q.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}x=t.support={},E=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},L=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:z;return r!==F&&9===r.nodeType&&r.documentElement?(F=r,O=F.documentElement,R=!E(F),z!==F&&(n=F.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",ke,!1):n.attachEvent&&n.attachEvent("onunload",ke)),x.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=i(function(e){return e.appendChild(F.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=ge.test(F.getElementsByClassName),x.getById=i(function(e){return O.appendChild(e).id=N,!F.getElementsByName||!F.getElementsByName(N).length}),x.getById?(k.filter.ID=function(e){var t=e.replace(ve,be);return function(e){return e.getAttribute("id")===t}},k.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&R){var n=t.getElementById(e);return n?[n]:[]}}):(k.filter.ID=function(e){var t=e.replace(ve,be);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},k.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&R){var n,r,i,o=t.getElementById(e);if(o){if(n=o.getAttributeNode("id"),n&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if(n=o.getAttributeNode("id"),n&&n.value===e)return[o]}return[]}}),k.find.TAG=x.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):x.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},k.find.CLASS=x.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&R)return t.getElementsByClassName(e)},B=[],I=[],(x.qsa=ge.test(F.querySelectorAll))&&(i(function(e){O.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&I.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||I.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+N+"-]").length||I.push("~="),e.querySelectorAll(":checked").length||I.push(":checked"),e.querySelectorAll("a#"+N+"+*").length||I.push(".#.+[+~]")}),i(function(e){e.innerHTML="";var t=F.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&I.push("name"+ne+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&I.push(":enabled",":disabled"),O.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&I.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),I.push(",.*:")})),(x.matchesSelector=ge.test(P=O.matches||O.webkitMatchesSelector||O.mozMatchesSelector||O.oMatchesSelector||O.msMatchesSelector))&&i(function(e){x.disconnectedMatch=P.call(e,"*"),P.call(e,"[s!='']:x"),B.push("!=",oe)}),I=I.length&&new RegExp(I.join("|")),B=B.length&&new RegExp(B.join("|")),t=ge.test(O.compareDocumentPosition),j=t||ge.test(O.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},G=t?function(e,t){if(e===t)return D=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!x.sortDetached&&t.compareDocumentPosition(e)===n?e===F||e.ownerDocument===z&&j(z,e)?-1:t===F||t.ownerDocument===z&&j(z,t)?1:M?ee(M,e)-ee(M,t):0:4&n?-1:1)}:function(e,t){if(e===t)return D=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],l=[t];if(!i||!o)return e===F?-1:t===F?1:i?-1:o?1:M?ee(M,e)-ee(M,t):0;if(i===o)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;s[r]===l[r];)r++;return r?a(s[r],l[r]):s[r]===z?-1:l[r]===z?1:0},F):F},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==F&&L(e),n=n.replace(ce,"='$1']"),x.matchesSelector&&R&&!W[n+" "]&&(!B||!B.test(n))&&(!I||!I.test(n)))try{var r=P.call(e,n);if(r||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,F,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==F&&L(e),j(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==F&&L(e);var n=k.attrHandle[t.toLowerCase()],r=n&&V.call(k.attrHandle,t.toLowerCase())?n(e,t,!R):void 0;return void 0!==r?r:x.attributes||!R?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(ye,xe)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(D=!x.detectDuplicates,M=!x.sortStable&&e.slice(0),e.sort(G),D){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return M=null,e},w=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=w(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=w(t);return n},k=t.selectors={cacheLength:50,createPseudo:r,match:pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ve,be),e[3]=(e[3]||e[4]||e[5]||"").replace(ve,be),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&de.test(n)&&(t=A(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ve,be).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=H[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&H(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(ae," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,f,p,h,m=o!==a?"nextSibling":"previousSibling",g=t.parentNode,$=s&&t.nodeName.toLowerCase(),_=!l&&!s,v=!1;if(g){if(o){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===$:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&_){for(f=g,d=f[N]||(f[N]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),u=c[e]||[],p=u[0]===q&&u[1],v=p&&u[2],f=p&&g.childNodes[p];f=++p&&f&&f[m]||(v=p=0)||h.pop();)if(1===f.nodeType&&++v&&f===t){c[e]=[q,p,v];break}}else if(_&&(f=t,d=f[N]||(f[N]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),u=c[e]||[],p=u[0]===q&&u[1],v=p),v===!1)for(;(f=++p&&f&&f[m]||(v=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==$:1!==f.nodeType)||!++v||(_&&(d=f[N]||(f[N]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),c[e]=[q,v]),f!==t)););return v-=i,v===r||v%r===0&&v/r>=0}}},PSEUDO:function(e,n){var i,o=k.pseudos[e]||k.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[N]?o(n):o.length>1?(i=[e,e,"",n],k.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=ee(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=C(e.replace(se,"$1"));return i[N]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(ve,be),function(t){return(t.textContent||t.innerText||w(t)).indexOf(e)>-1}}),lang:r(function(e){return fe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ve,be).toLowerCase(),function(t){var n;do if(n=R?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===O},focus:function(e){return e===F.activeElement&&(!F.hasFocus||F.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:u(!1),disabled:u(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!k.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[n<0?n+t:n]}),even:c(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:c(function(e,t,n){for(var r=n<0?n+t:n;++r2&&"ID"===(a=o[0]).type&&9===t.nodeType&&R&&k.relative[o[1].type]){if(t=(k.find.ID(a.matches[0].replace(ve,be),t)||[])[0],!t)return n;u&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=pe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!k.relative[s=a.type]);)if((l=k.find[s])&&(r=l(a.matches[0].replace(ve,be),_e.test(o[0].type)&&d(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&p(o),!e)return Z.apply(n,r),n;break}}return(u||C(e,c))(r,t,!R,n,!t||_e.test(e)&&d(t.parentNode)||t),n},x.sortStable=N.split("").sort(G).join("")===N,x.detectDuplicates=!!D,L(),x.sortDetached=i(function(e){return 1&e.compareDocumentPosition(F.createElement("fieldset"))}),i(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),x.attributes&&i(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(te,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(n);_e.find=ke,_e.expr=ke.selectors,_e.expr[":"]=_e.expr.pseudos,_e.uniqueSort=_e.unique=ke.uniqueSort,_e.text=ke.getText,_e.isXMLDoc=ke.isXML,_e.contains=ke.contains,_e.escapeSelector=ke.escape;var we=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&_e(e).is(n))break;r.push(e)}return r},Ee=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Ae=_e.expr.match.needsContext,Ce=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,Se=/^.[^:#\[\.,]*$/;_e.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?_e.find.matchesSelector(r,e)?[r]:[]:_e.find.matches(e,_e.grep(t,function(e){return 1===e.nodeType}))},_e.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(_e(e).filter(function(){for(t=0;t1?_e.uniqueSort(n):n},filter:function(e){return this.pushStack(l(this,e||[],!1))},not:function(e){return this.pushStack(l(this,e||[],!0))},is:function(e){return!!l(this,"string"==typeof e&&Ae.test(e)?_e(e):e||[],!1).length}});var Te,Me=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,De=_e.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||Te,"string"==typeof e){if(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Me.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof _e?t[0]:t,_e.merge(this,_e.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:oe,!0)),Ce.test(r[1])&&_e.isPlainObject(t))for(r in t)_e.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return i=oe.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):_e.isFunction(e)?void 0!==n.ready?n.ready(e):e(_e):_e.makeArray(e,this)};De.prototype=_e.fn,Te=_e(oe);var Le=/^(?:parents|prev(?:Until|All))/,Fe={children:!0,contents:!0,next:!0,prev:!0};_e.fn.extend({has:function(e){var t=_e(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&_e.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?_e.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?ce.call(_e(e),this[0]):ce.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(_e.uniqueSort(_e.merge(this.get(),_e(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),_e.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return we(e,"parentNode")},parentsUntil:function(e,t,n){return we(e,"parentNode",n)},next:function(e){return u(e,"nextSibling")},prev:function(e){return u(e,"previousSibling")},nextAll:function(e){return we(e,"nextSibling")},prevAll:function(e){return we(e,"previousSibling")},nextUntil:function(e,t,n){return we(e,"nextSibling",n)},prevUntil:function(e,t,n){return we(e,"previousSibling",n)},siblings:function(e){return Ee((e.parentNode||{}).firstChild,e)},children:function(e){return Ee(e.firstChild)},contents:function(e){return e.contentDocument||_e.merge([],e.childNodes)}},function(e,t){_e.fn[e]=function(n,r){var i=_e.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=_e.filter(r,i)),this.length>1&&(Fe[e]||_e.uniqueSort(i),Le.test(e)&&i.reverse()),this.pushStack(i)}});var Oe=/[^\x20\t\r\n\f]+/g;_e.Callbacks=function(e){e="string"==typeof e?c(e):_e.extend({},e);var t,n,r,i,o=[],a=[],s=-1,l=function(){for(i=e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s-1;)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?_e.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},_e.extend({Deferred:function(e){var t=[["notify","progress",_e.Callbacks("memory"),_e.Callbacks("memory"),2],["resolve","done",_e.Callbacks("once memory"),_e.Callbacks("once memory"),0,"resolved"],["reject","fail",_e.Callbacks("once memory"),_e.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return _e.Deferred(function(n){_e.each(t,function(t,r){var i=_e.isFunction(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&_e.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,r,i){function o(e,t,r,i){return function(){var s=this,l=arguments,u=function(){var n,u;if(!(e=a&&(r!==f&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?c():(_e.Deferred.getStackHook&&(c.stackTrace=_e.Deferred.getStackHook()),n.setTimeout(c))}}var a=0;return _e.Deferred(function(n){t[0][3].add(o(0,n,_e.isFunction(i)?i:d,n.notifyWith)),t[1][3].add(o(0,n,_e.isFunction(e)?e:d)),t[2][3].add(o(0,n,_e.isFunction(r)?r:f))}).promise()},promise:function(e){return null!=e?_e.extend(e,i):i}},o={};return _e.each(t,function(e,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add(function(){r=s},t[3-e][2].disable,t[0][2].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=se.call(arguments),o=_e.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?se.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(p(e,o.done(a(n)).resolve,o.reject),"pending"===o.state()||_e.isFunction(i[n]&&i[n].then)))return o.then();for(;n--;)p(i[n],a(n),o.reject);return o.promise()}});var Re=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;_e.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&Re.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},_e.readyException=function(e){n.setTimeout(function(){throw e})};var Ie=_e.Deferred();_e.fn.ready=function(e){return Ie.then(e).catch(function(e){_e.readyException(e)}),this},_e.extend({isReady:!1,readyWait:1,holdReady:function(e){e?_e.readyWait++:_e.ready(!0)},ready:function(e){(e===!0?--_e.readyWait:_e.isReady)||(_e.isReady=!0,e!==!0&&--_e.readyWait>0||Ie.resolveWith(oe,[_e]))}}),_e.ready.then=Ie.then,"complete"===oe.readyState||"loading"!==oe.readyState&&!oe.documentElement.doScroll?n.setTimeout(_e.ready):(oe.addEventListener("DOMContentLoaded",h),n.addEventListener("load",h));var Be=function(e,t,n,r,i,o,a){var s=0,l=e.length,u=null==n;if("object"===_e.type(n)){i=!0;for(s in n)Be(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,_e.isFunction(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(_e(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each(function(){Ne.remove(this,e)})}}),_e.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=je.get(e,t),n&&(!r||_e.isArray(n)?r=je.access(e,t,_e.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=_e.queue(e,t),r=n.length,i=n.shift(),o=_e._queueHooks(e,t),a=function(){_e.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return je.get(e,n)||je.access(e,n,{empty:_e.Callbacks("once memory").add(function(){je.remove(e,[t+"queue",n])})})}}),_e.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]+)/i,Xe=/^$|\/(?:java|ecma)script/i,Ze={option:[1,""],thead:[1,"","
      "],col:[2,"","
      "],tr:[2,"","
      "],td:[3,"","
      "],_default:[0,"",""]};Ze.optgroup=Ze.option,Ze.tbody=Ze.tfoot=Ze.colgroup=Ze.caption=Ze.thead,Ze.th=Ze.td; +var Qe=/<|&#?\w+;/;!function(){var e=oe.createDocumentFragment(),t=e.appendChild(oe.createElement("div")),n=oe.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),ge.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="",ge.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var et=oe.documentElement,tt=/^key/,nt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,rt=/^([^.]*)(?:\.(.+)|)/;_e.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,u,c,d,f,p,h,m,g=je.get(e);if(g)for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&_e.find.matchesSelector(et,i),n.guid||(n.guid=_e.guid++),(l=g.events)||(l=g.events={}),(a=g.handle)||(a=g.handle=function(t){return"undefined"!=typeof _e&&_e.event.triggered!==t.type?_e.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Oe)||[""],u=t.length;u--;)s=rt.exec(t[u])||[],p=m=s[1],h=(s[2]||"").split(".").sort(),p&&(d=_e.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=_e.event.special[p]||{},c=_e.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&_e.expr.match.needsContext.test(i),namespace:h.join(".")},o),(f=l[p])||(f=l[p]=[],f.delegateCount=0,d.setup&&d.setup.call(e,r,h,a)!==!1||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,c):f.push(c),_e.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,l,u,c,d,f,p,h,m,g=je.hasData(e)&&je.get(e);if(g&&(l=g.events)){for(t=(t||"").match(Oe)||[""],u=t.length;u--;)if(s=rt.exec(t[u])||[],p=m=s[1],h=(s[2]||"").split(".").sort(),p){for(d=_e.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,f=l[p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)c=f[o],!i&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(o,1),c.selector&&f.delegateCount--,d.remove&&d.remove.call(e,c));a&&!f.length&&(d.teardown&&d.teardown.call(e,h,g.handle)!==!1||_e.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)_e.event.remove(e,p+t[u],n,r,!0);_e.isEmptyObject(l)&&je.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=_e.event.fix(e),l=new Array(arguments.length),u=(je.get(this,"events")||{})[s.type]||[],c=_e.event.special[s.type]||{};for(l[0]=s,t=1;t=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||u.disabled!==!0)){for(o=[],a={},n=0;n-1:_e.find(i,this,null,[u]).length),a[i]&&o.push(r);o.length&&s.push({elem:u,handlers:o})}return u=this,l\x20\t\r\n\f]*)[^>]*)\/>/gi,ot=/\s*$/g;_e.extend({htmlPrefilter:function(e){return e.replace(it,"<$1>")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),l=_e.contains(e.ownerDocument,e);if(!(ge.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||_e.isXMLDoc(e)))for(a=y(s),o=y(e),r=0,i=o.length;r0&&x(a,!l&&y(e,"script")),s},cleanData:function(e){for(var t,n,r,i=_e.event.special,o=0;void 0!==(n=e[o]);o++)if(Pe(n)){if(t=n[je.expando]){if(t.events)for(r in t.events)i[r]?_e.event.remove(n,r):_e.removeEvent(n,r,t.handle);n[je.expando]=void 0}n[Ne.expando]&&(n[Ne.expando]=void 0)}}}),_e.fn.extend({detach:function(e){return O(this,e,!0)},remove:function(e){return O(this,e)},text:function(e){return Be(this,function(e){return void 0===e?_e.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return F(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=S(this,e);t.appendChild(e)}})},prepend:function(){return F(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=S(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return F(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return F(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(_e.cleanData(y(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return _e.clone(this,e,t)})},html:function(e){return Be(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ot.test(e)&&!Ze[(Je.exec(e)||["",""])[1].toLowerCase()]){e=_e.htmlPrefilter(e);try{for(;n1)}}),_e.Tween=z,z.prototype={constructor:z,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||_e.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(_e.cssNumber[n]?"":"px")},cur:function(){var e=z.propHooks[this.prop];return e&&e.get?e.get(this):z.propHooks._default.get(this)},run:function(e){var t,n=z.propHooks[this.prop];return this.options.duration?this.pos=t=_e.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):z.propHooks._default.set(this),this}},z.prototype.init.prototype=z.prototype,z.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=_e.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){_e.fx.step[e.prop]?_e.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[_e.cssProps[e.prop]]&&!_e.cssHooks[e.prop]?e.elem[e.prop]=e.now:_e.style(e.elem,e.prop,e.now+e.unit)}}},z.propHooks.scrollTop=z.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},_e.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},_e.fx=z.prototype.init,_e.fx.step={};var $t,_t,vt=/^(?:toggle|show|hide)$/,bt=/queueHooks$/;_e.Animation=_e.extend(V,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return _(n.elem,e,He.exec(t),n),n}]},tweener:function(e,t){_e.isFunction(e)?(t=e,e=["*"]):e=e.match(Oe);for(var n,r=0,i=e.length;r1)},removeAttr:function(e){return this.each(function(){_e.removeAttr(this,e)})}}),_e.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?_e.prop(e,t,n):(1===o&&_e.isXMLDoc(e)||(i=_e.attrHooks[t.toLowerCase()]||(_e.expr.match.bool.test(t)?yt:void 0)),void 0!==n?null===n?void _e.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=_e.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!ge.radioValue&&"radio"===t&&_e.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(Oe);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),yt={set:function(e,t,n){return t===!1?_e.removeAttr(e,n):e.setAttribute(n,n),n}},_e.each(_e.expr.match.bool.source.match(/\w+/g),function(e,t){var n=xt[t]||_e.find.attr;xt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=xt[a],xt[a]=i,i=null!=n(e,t,r)?a:null,xt[a]=o),i}});var kt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;_e.fn.extend({prop:function(e,t){return Be(this,_e.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[_e.propFix[e]||e]})}}),_e.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&_e.isXMLDoc(e)||(t=_e.propFix[t]||t,i=_e.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=_e.find.attr(e,"tabindex");return t?parseInt(t,10):kt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ge.optSelected||(_e.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),_e.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){_e.propFix[this.toLowerCase()]=this}),_e.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,l=0;if(_e.isFunction(e))return this.each(function(t){_e(this).addClass(e.call(this,t,J(this)))});if("string"==typeof e&&e)for(t=e.match(Oe)||[];n=this[l++];)if(i=J(n),r=1===n.nodeType&&" "+K(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");s=K(r),i!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,l=0;if(_e.isFunction(e))return this.each(function(t){_e(this).removeClass(e.call(this,t,J(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Oe)||[];n=this[l++];)if(i=J(n),r=1===n.nodeType&&" "+K(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");s=K(r),i!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):_e.isFunction(e)?this.each(function(n){_e(this).toggleClass(e.call(this,n,J(this),t),t)}):this.each(function(){var t,r,i,o;if("string"===n)for(r=0,i=_e(this),o=e.match(Oe)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||(t=J(this),t&&je.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":je.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+K(J(n))+" ").indexOf(t)>-1)return!0;return!1}});var Et=/\r/g;_e.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=_e.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,_e(this).val()):e,null==i?i="":"number"==typeof i?i+="":_e.isArray(i)&&(i=_e.map(i,function(e){return null==e?"":e+""})),t=_e.valHooks[this.type]||_e.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return t=_e.valHooks[i.type]||_e.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(Et,""):null==n?"":n)}}}),_e.extend({valHooks:{option:{get:function(e){var t=_e.find.attr(e,"value");return null!=t?t:K(_e.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?o+1:i.length;for(r=o<0?l:a?o:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),_e.each(["radio","checkbox"],function(){_e.valHooks[this]={set:function(e,t){if(_e.isArray(t))return e.checked=_e.inArray(_e(e).val(),t)>-1}},ge.checkOn||(_e.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var At=/^(?:focusinfocus|focusoutblur)$/;_e.extend(_e.event,{trigger:function(e,t,r,i){var o,a,s,l,u,c,d,f=[r||oe],p=pe.call(e,"type")?e.type:e,h=pe.call(e,"namespace")?e.namespace.split("."):[];if(a=s=r=r||oe,3!==r.nodeType&&8!==r.nodeType&&!At.test(p+_e.event.triggered)&&(p.indexOf(".")>-1&&(h=p.split("."),p=h.shift(),h.sort()),u=p.indexOf(":")<0&&"on"+p,e=e[_e.expando]?e:new _e.Event(p,"object"==typeof e&&e),e.isTrigger=i?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:_e.makeArray(t,[e]),d=_e.event.special[p]||{},i||!d.trigger||d.trigger.apply(r,t)!==!1)){if(!i&&!d.noBubble&&!_e.isWindow(r)){for(l=d.delegateType||p,At.test(l+p)||(a=a.parentNode);a;a=a.parentNode)f.push(a),s=a;s===(r.ownerDocument||oe)&&f.push(s.defaultView||s.parentWindow||n)}for(o=0;(a=f[o++])&&!e.isPropagationStopped();)e.type=o>1?l:d.bindType||p,c=(je.get(a,"events")||{})[e.type]&&je.get(a,"handle"),c&&c.apply(a,t),c=u&&a[u],c&&c.apply&&Pe(a)&&(e.result=c.apply(a,t),e.result===!1&&e.preventDefault());return e.type=p,i||e.isDefaultPrevented()||d._default&&d._default.apply(f.pop(),t)!==!1||!Pe(r)||u&&_e.isFunction(r[p])&&!_e.isWindow(r)&&(s=r[u],s&&(r[u]=null),_e.event.triggered=p,r[p](),_e.event.triggered=void 0,s&&(r[u]=s)),e.result}},simulate:function(e,t,n){var r=_e.extend(new _e.Event,n,{type:e,isSimulated:!0});_e.event.trigger(r,null,t)}}),_e.fn.extend({trigger:function(e,t){return this.each(function(){_e.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return _e.event.trigger(e,t,n,!0)}}),_e.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){_e.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),_e.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),ge.focusin="onfocusin"in n,ge.focusin||_e.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){_e.event.simulate(t,e.target,_e.event.fix(e))};_e.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=je.access(r,t);i||r.addEventListener(e,n,!0),je.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=je.access(r,t)-1;i?je.access(r,t,i):(r.removeEventListener(e,n,!0),je.remove(r,t))}}});var Ct=n.location,St=_e.now(),Tt=/\?/;_e.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||_e.error("Invalid XML: "+e),t};var Mt=/\[\]$/,Dt=/\r?\n/g,Lt=/^(?:submit|button|image|reset|file)$/i,Ft=/^(?:input|select|textarea|keygen)/i;_e.param=function(e,t){var n,r=[],i=function(e,t){var n=_e.isFunction(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(_e.isArray(e)||e.jquery&&!_e.isPlainObject(e))_e.each(e,function(){i(this.name,this.value)});else for(n in e)X(n,e[n],t,i);return r.join("&")},_e.fn.extend({serialize:function(){return _e.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=_e.prop(this,"elements");return e?_e.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!_e(this).is(":disabled")&&Ft.test(this.nodeName)&&!Lt.test(e)&&(this.checked||!Ke.test(e))}).map(function(e,t){var n=_e(this).val();return null==n?null:_e.isArray(n)?_e.map(n,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:n.replace(Dt,"\r\n")}}).get()}});var Ot=/%20/g,Rt=/#.*$/,It=/([?&])_=[^&]*/,Bt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,jt=/^(?:GET|HEAD)$/,Nt=/^\/\//,zt={},qt={},Yt="*/".concat("*"),Ht=oe.createElement("a");Ht.href=Ct.href,_e.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:Pt.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Yt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":_e.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ee(ee(e,_e.ajaxSettings),t):ee(_e.ajaxSettings,e)},ajaxPrefilter:Z(zt),ajaxTransport:Z(qt),ajax:function(e,t){function r(e,t,r,s){var u,f,p,b,y,x=t;c||(c=!0,l&&n.clearTimeout(l),i=void 0,a=s||"",k.readyState=e>0?4:0,u=e>=200&&e<300||304===e,r&&(b=te(h,k,r)),b=ne(h,b,k,u),u?(h.ifModified&&(y=k.getResponseHeader("Last-Modified"),y&&(_e.lastModified[o]=y),y=k.getResponseHeader("etag"),y&&(_e.etag[o]=y)),204===e||"HEAD"===h.type?x="nocontent":304===e?x="notmodified":(x=b.state,f=b.data,p=b.error,u=!p)):(p=x,!e&&x||(x="error",e<0&&(e=0))),k.status=e,k.statusText=(t||x)+"",u?$.resolveWith(m,[f,x,k]):$.rejectWith(m,[k,x,p]),k.statusCode(v),v=void 0,d&&g.trigger(u?"ajaxSuccess":"ajaxError",[k,h,u?f:p]),_.fireWith(m,[k,x]),d&&(g.trigger("ajaxComplete",[k,h]),--_e.active||_e.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var i,o,a,s,l,u,c,d,f,p,h=_e.ajaxSetup({},t),m=h.context||h,g=h.context&&(m.nodeType||m.jquery)?_e(m):_e.event,$=_e.Deferred(),_=_e.Callbacks("once memory"),v=h.statusCode||{},b={},y={},x="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s)for(s={};t=Bt.exec(a);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=y[e.toLowerCase()]=y[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)k.always(e[k.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||x;return i&&i.abort(t),r(0,t),this}};if($.promise(k),h.url=((e||h.url||Ct.href)+"").replace(Nt,Ct.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(Oe)||[""],null==h.crossDomain){u=oe.createElement("a");try{u.href=h.url,u.href=u.href,h.crossDomain=Ht.protocol+"//"+Ht.host!=u.protocol+"//"+u.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=_e.param(h.data,h.traditional)),Q(zt,h,t,k),c)return k;d=_e.event&&h.global,d&&0===_e.active++&&_e.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!jt.test(h.type),o=h.url.replace(Rt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Ot,"+")):(p=h.url.slice(o.length),h.data&&(o+=(Tt.test(o)?"&":"?")+h.data,delete h.data),h.cache===!1&&(o=o.replace(It,"$1"),p=(Tt.test(o)?"&":"?")+"_="+St++ +p),h.url=o+p),h.ifModified&&(_e.lastModified[o]&&k.setRequestHeader("If-Modified-Since",_e.lastModified[o]),_e.etag[o]&&k.setRequestHeader("If-None-Match",_e.etag[o])),(h.data&&h.hasContent&&h.contentType!==!1||t.contentType)&&k.setRequestHeader("Content-Type",h.contentType),k.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Yt+"; q=0.01":""):h.accepts["*"]);for(f in h.headers)k.setRequestHeader(f,h.headers[f]);if(h.beforeSend&&(h.beforeSend.call(m,k,h)===!1||c))return k.abort();if(x="abort",_.add(h.complete),k.done(h.success),k.fail(h.error),i=Q(qt,h,t,k)){if(k.readyState=1,d&&g.trigger("ajaxSend",[k,h]),c)return k;h.async&&h.timeout>0&&(l=n.setTimeout(function(){k.abort("timeout")},h.timeout));try{c=!1,i.send(b,r)}catch(e){if(c)throw e;r(-1,e)}}else r(-1,"No Transport");return k},getJSON:function(e,t,n){return _e.get(e,t,n,"json")},getScript:function(e,t){return _e.get(e,void 0,t,"script")}}),_e.each(["get","post"],function(e,t){_e[t]=function(e,n,r,i){return _e.isFunction(n)&&(i=i||r,r=n,n=void 0),_e.ajax(_e.extend({url:e,type:t,dataType:i,data:n,success:r},_e.isPlainObject(e)&&e))}}),_e._evalUrl=function(e){return _e.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},_e.fn.extend({wrapAll:function(e){var t;return this[0]&&(_e.isFunction(e)&&(e=e.call(this[0])),t=_e(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return _e.isFunction(e)?this.each(function(t){_e(this).wrapInner(e.call(this,t))}):this.each(function(){var t=_e(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=_e.isFunction(e);return this.each(function(n){_e(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ +_e(this).replaceWith(this.childNodes)}),this}}),_e.expr.pseudos.hidden=function(e){return!_e.expr.pseudos.visible(e)},_e.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},_e.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Ut={0:200,1223:204},Wt=_e.ajaxSettings.xhr();ge.cors=!!Wt&&"withCredentials"in Wt,ge.ajax=Wt=!!Wt,_e.ajaxTransport(function(e){var t,r;if(ge.cors||Wt&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Ut[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),_e.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),_e.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return _e.globalEval(e),e}}}),_e.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),_e.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,i){t=_e("\n')):"prettify"["$==="](b)&&(v=e.$attr("prettifydir",""+_+"/prettify/r298"),p["$<<"]('"),p["$<<"]('\n')),(i=e["$attr?"]("stem"))===s||i.$$is_boolean&&1!=i||(h=e.$attr("eqnums","none"),h["$=="]("")&&(h="AMS"),h=' equationNumbers: { autoNumber: "'+h+'" } ',p["$<<"]('\n')),p["$<<"](""),p["$<<"](""),n(p,$.get("EOL"))}),e.defn(m,"$embedded",function(e){var t,r,i,o,a,l=s,u=s,c=s,l=[];return e.$doctype()["$=="]("manpage")?(((t=e.$notitle())===s||t.$$is_boolean&&1!=t)&&(u=(t=e.$id())===s||t.$$is_boolean&&1!=t?s:' id="'+e.$id()+'"',l["$<<"](""+e.$doctitle()+" Manual Page")),l["$<<"]("

      "+e.$attr("manname-title")+'

      \n
      \n

      '+e.$attr("manname")+" - "+e.$attr("manpurpose")+"

      \n
      ")):(r=e["$has_header?"](),(t=!1!==r&&r!==s?e.$notitle()["$!"]():r)===s||t.$$is_boolean&&1!=t||(u=(t=e.$id())===s||t.$$is_boolean&&1!=t?s:' id="'+e.$id()+'"',l["$<<"](""+e.$header().$title()+""))),o=e["$sections?"](),i=!1!==o&&o!==s?e["$attr?"]("toc"):o,r=!1!==i&&i!==s?(c=e.$attr("toc-placement"))["$!="]("macro"):i,(t=!1!==r&&r!==s?c["$!="]("preamble"):r)===s||t.$$is_boolean&&1!=t||l["$<<"]('
      \n
      '+e.$attr("toc-title")+"
      \n"+this.$outline(e)+"\n
      "),l["$<<"](e.$content()),r=e["$footnotes?"](),(t=!1!==r&&r!==s?e["$attr?"]("nofootnotes")["$!"]():r)===s||t.$$is_boolean&&1!=t||(l["$<<"]('
      \n"),(t=(r=e.$footnotes()).$each,t.$$p=(a=function(e){return null==e&&(e=s),l["$<<"]('
      \n'+e.$index()+". "+e.$text()+"\n
      ")},a.$$s=this,a),t).call(r),l["$<<"]("
      ")),n(l,$.get("EOL"))}),e.defn(m,"$outline",function(e,t){var r,a,l,u=s,d=s,f=s,p=s,h=s,m=s;return null==t&&(t=c([],{})),(r=e["$sections?"]())===s||r.$$is_boolean&&1!=r?s:(u=!1!==(r=t["$[]"]("sectnumlevels"))&&r!==s?r:e.$document().$attr("sectnumlevels",3).$to_i(),d=!1!==(r=t["$[]"]("toclevels"))&&r!==s?r:e.$document().$attr("toclevels",2).$to_i(),f=[],p=e.$sections(),h=(m=p["$[]"](0)).$level(),(r=(a=h["$=="](0))?m.$special():h["$=="](0))===s||r.$$is_boolean&&1!=r||(h=1),f["$<<"]('
        '),(r=(a=p).$each,r.$$p=(l=function(e){var t,n,r,a=l.$$s||this,p=s,h=s;return null==e&&(e=s),r=e.$numbered(),n=!1!==r&&r!==s?e.$caption()["$!"]():r,p=(t=!1!==n&&n!==s?i(e.$level(),u):n)===s||t.$$is_boolean&&1!=t?s:""+e.$sectnum()+" ",(t=o(e.$level(),d)?h=a.$outline(e,c(["toclevels","secnumlevels"],{toclevels:d,secnumlevels:u})):o(e.$level(),d))===s||t.$$is_boolean&&1!=t?f["$<<"]('
      • '+p+e.$captioned_title()+"
      • "):(f["$<<"]('
      • '+p+e.$captioned_title()+""),f["$<<"](h),f["$<<"]("
      • "))},l.$$s=this,l),r).call(a),f["$<<"]("
      "),n(f,$.get("EOL")))}),e.defn(m,"$section",function(e){var t,n,r,o=s,l=s,u=s,c=s,d=s,f=s,p=s,h=s,m=s,o=e.$level();return(t=(n=o["$=="](0))?e.$special():o["$=="](0))===s||t.$$is_boolean&&1!=t||(o=1),l="h"+a(o,1),u=c=d=f=s,(t=e.$id())===s||t.$$is_boolean&&1!=t||(u=' id="'+e.$id()+'"',(t=e.$document()["$attr?"]("sectanchors"))===s||t.$$is_boolean&&1!=t?(t=e.$document()["$attr?"]("sectlinks"))===s||t.$$is_boolean&&1!=t||(d='',f=""):c=''),o["$=="](0)?"'+c+d+e.$title()+f+"\n"+e.$content():(p=(t=h=e.$role())===s||t.$$is_boolean&&1!=t?' class="sect'+o+'"':' class="sect'+o+" "+h+'"',r=e.$numbered(),n=!1!==r&&r!==s?e.$caption()["$!"]():r,m=(t=!1!==n&&n!==s?i(o,e.$document().$attr("sectnumlevels",3).$to_i()):n)===s||t.$$is_boolean&&1!=t?s:""+e.$sectnum()+" ","\n<"+l+u+">"+c+d+m+e.$captioned_title()+f+"\n"+(o["$=="](1)?'
      \n'+e.$content()+"\n
      ":e.$content())+"\n
    ")}),e.defn(m,"$admonition",function(e){var t,n,r=s,i=s,o=s,a=s,l=s,r=(t=e.$id())===s||t.$$is_boolean&&1!=t?s:' id="'+e.$id()+'"',i=e.$attr("name"),o=(t=e["$title?"]())===s||t.$$is_boolean&&1!=t?s:'
    '+e.$title()+"
    \n",a=(t=e.$document()["$attr?"]("icons"))===s||t.$$is_boolean&&1!=t?'
    '+e.$caption()+"
    ":(n=e.$document()["$attr?"]("icons","font"),(t=!1!==n&&n!==s?e["$attr?"]("icon")["$!"]():n)===s||t.$$is_boolean&&1!=t?''+e.$caption()+'":'');return"\n\n\n\n\n\n
    \n'+a+'\n\n'+o+e.$content()+"\n
    \n"}),e.defn(m,"$audio",function(e){var t,r=s,i=s,o=s,a=o=s,r=e.$document()["$attr?"]("htmlsyntax","xml"),i=(t=e.$id())===s||t.$$is_boolean&&1!=t?s:' id="'+e.$id()+'"',o=["audioblock",e.$style(),e.$role()].$compact(),o=' class="'+n(o," ")+'"',a=(t=e["$title?"]())===s||t.$$is_boolean&&1!=t?s:'
    '+e.$captioned_title()+"
    \n";return"\n"+a+'
    \n\n
    \n"}),e.defn(m,"$colist",function(e){var t,r,i,o,l,u=s,c=s,d=s,f=d=s,u=[],c=(t=e.$id())===s||t.$$is_boolean&&1!=t?s:' id="'+e.$id()+'"',d=["colist",e.$style(),e.$role()].$compact(),d=' class="'+n(d," ")+'"';return u["$<<"](""),(t=e["$title?"]())===s||t.$$is_boolean&&1!=t||u["$<<"]('
    '+e.$title()+"
    "),(t=e.$document()["$attr?"]("icons"))===s||t.$$is_boolean&&1!=t?(u["$<<"]("
      "),(t=(o=e.$items()).$each,t.$$p=(l=function(e){return null==e&&(e=s),u["$<<"]("
    1. \n

      "+e.$text()+"

      \n
    2. ")},l.$$s=this,l),t).call(o),u["$<<"]("
    ")):(u["$<<"](""),f=e.$document()["$attr?"]("icons","font"),(t=(r=e.$items()).$each_with_index,t.$$p=(i=function(t,n){var r=i.$$s||this,o=s,o=s;return null==r.void_element_slash&&(r.void_element_slash=s),null==t&&(t=s),null==n&&(n=s),o=a(n,1),o=!1!==f&&f!==s?''+o+"":''+o+'",u["$<<"]("\n\n\n")},i.$$s=this,i),t).call(r),u["$<<"]("
    "+o+""+t.$text()+"
    ")),u["$<<"](""),n(u,$.get("EOL"))}),e.defn(m,"$dlist",function(t){var r,i,o,a,l,u,c,d=s,f=s,p=s,h=p=p=s,m=f=s,d=[],f=(r=t.$id())===s||r.$$is_boolean&&1!=r?s:' id="'+t.$id()+'"',p=t.$style(),p=("qanda"["$==="](p)?["qlist","qanda",t.$role()]:"horizontal"["$==="](p)?["hdlist",t.$role()]:["dlist",t.$style(),t.$role()]).$compact(),p=' class="'+n(p," ")+'"';return d["$<<"](""),(r=t["$title?"]())===s||r.$$is_boolean&&1!=r||d["$<<"]('
    '+t.$title()+"
    "),p=t.$style(),"qanda"["$==="](p)?(d["$<<"]("
      "),(r=(i=t.$items()).$each,r.$$p=(o=function(t,n){var r,i,a,l=o.$$s||this;return null==t&&(t=s),null==n&&(n=s),d["$<<"]("
    1. "),(r=(i=[].concat(e.to_a(t))).$each,r.$$p=(a=function(e){return null==e&&(e=s),d["$<<"]("

      "+e.$text()+"

      ")},a.$$s=l,a),r).call(i),!1!==n&&n!==s&&((r=n["$text?"]())===s||r.$$is_boolean&&1!=r||d["$<<"]("

      "+n.$text()+"

      "),(r=n["$blocks?"]())===s||r.$$is_boolean&&1!=r||d["$<<"](n.$content())),d["$<<"]("
    2. ")},o.$$s=this,o),r).call(i),d["$<<"]("
    ")):"horizontal"["$==="](p)?(h=this.void_element_slash,d["$<<"](""),(r=!1!==(a=t["$attr?"]("labelwidth"))&&a!==s?a:t["$attr?"]("itemwidth"))===s||r.$$is_boolean&&1!=r||(d["$<<"](""),f=(r=t["$attr?"]("labelwidth"))===s||r.$$is_boolean&&1!=r?s:' style="width: '+t.$attr("labelwidth").$chomp("%")+'%;"',d["$<<"](""),f=(r=t["$attr?"]("itemwidth"))===s||r.$$is_boolean&&1!=r?s:' style="width: '+t.$attr("itemwidth").$chomp("%")+'%;"',d["$<<"](""),d["$<<"]("")),(r=(a=t.$items()).$each,r.$$p=(l=function(n,r){var i,o,a,u=l.$$s||this,c=s,f=s;return null==n&&(n=s),null==r&&(r=s),d["$<<"](""),d["$<<"]('"),d["$<<"]('"),d["$<<"]("")},l.$$s=this,l),r).call(a),d["$<<"]("
    '),c=[].concat(e.to_a(n)),f=c["$[]"](-1),(i=(o=c).$each,i.$$p=(a=function(e){var t;return null==e&&(e=s),d["$<<"](e.$text()),(t=e["$!="](f))===s||t.$$is_boolean&&1!=t?s:d["$<<"]("")},a.$$s=u,a),i).call(o),d["$<<"]("'),!1!==r&&r!==s&&((i=r["$text?"]())===s||i.$$is_boolean&&1!=i||d["$<<"]("

    "+r.$text()+"

    "),(i=r["$blocks?"]())===s||i.$$is_boolean&&1!=i||d["$<<"](r.$content())),d["$<<"]("
    ")):(d["$<<"]("
    "),m=(r=t.$style())===s||r.$$is_boolean&&1!=r?' class="hdlist1"':s,(r=(u=t.$items()).$each,r.$$p=(c=function(t,n){var r,i,o,a=c.$$s||this;return null==t&&(t=s),null==n&&(n=s),(r=(i=[].concat(e.to_a(t))).$each,r.$$p=(o=function(e){return null==e&&(e=s),d["$<<"](""+e.$text()+"")},o.$$s=a,o),r).call(i),!1!==n&&n!==s?(d["$<<"]("
    "),(r=n["$text?"]())===s||r.$$is_boolean&&1!=r||d["$<<"]("

    "+n.$text()+"

    "),(r=n["$blocks?"]())===s||r.$$is_boolean&&1!=r||d["$<<"](n.$content()),d["$<<"]("
    ")):s},c.$$s=this,c),r).call(u),d["$<<"]("
    ")),d["$<<"](""),n(d,$.get("EOL"))}),e.defn(m,"$example",function(e){var t,r=s,i=s,o=s,r=(t=e.$id())===s||t.$$is_boolean&&1!=t?s:' id="'+e.$id()+'"',i=(t=e["$title?"]())===s||t.$$is_boolean&&1!=t?s:'
    '+e.$captioned_title()+"
    \n";return"\n'+i+'
    \n'+e.$content()+"\n
    \n"}),e.defn(m,"$floating_title",function(e){var t,r=s,i=s,o=s,r="h"+a(e.$level(),1),i=(t=e.$id())===s||t.$$is_boolean&&1!=t?s:' id="'+e.$id()+'"',o=[e.$style(),e.$role()].$compact();return"<"+r+i+' class="'+n(o," ")+'">'+e.$title()+""}),e.defn(m,"$image",function(e){var t,r,i,a=s,l=s,u=s,c=s,d=s,f=s,p=c=s,c=u=u=l=l=a=s,a=e.$attr("target"),l=(t=e["$attr?"]("width"))===s||t.$$is_boolean&&1!=t?s:' width="'+e.$attr("width")+'"',u=(t=e["$attr?"]("height"))===s||t.$$is_boolean&&1!=t?s:' height="'+e.$attr("height")+'"';return r=!1!==(i=e["$attr?"]("format","svg",!1))&&i!==s?i:a["$include?"](".svg"),(t=!1!==r&&r!==s?o(e.$document().$safe(),$.get("SafeMode").$$scope.get("SECURE")):r)===s||t.$$is_boolean&&1!=t||(!1!==(t=c=e["$option?"]("inline"))&&t!==s?t:d=e["$option?"]("interactive"),!1!==c&&c!==s?f=!1!==(t=this.$read_svg_contents(e,a))&&t!==s?t:''+e.$attr("alt")+"":!1!==d&&d!==s&&(c=(t=e["$attr?"]("fallback"))===s||t.$$is_boolean&&1!=t?''+e.$attr("alt")+"":''+e.$attr(",f='"+c+"")),!1!==(t=f)&&t!==s?t:f=''+e.$attr(",(t=p=e.$attr("link"))===s||t.$$is_boolean&&1!=t||(f=''+f+""),a=(t=e.$id())===s||t.$$is_boolean&&1!=t?s:' id="'+e.$id()+'"',l=["imageblock",e.$style(),e.$role()].$compact(),l=' class="'+n(l," ")+'"',u=[],(t=e["$attr?"]("align"))===s||t.$$is_boolean&&1!=t||u["$<<"]("text-align: "+e.$attr("align")),(t=e["$attr?"]("float"))===s||t.$$is_boolean&&1!=t||u["$<<"]("float: "+e.$attr("float")),u=(t=u["$empty?"]())===s||t.$$is_boolean&&1!=t?' style="'+n(u,";")+'"':s,c=(t=e["$title?"]())===s||t.$$is_boolean&&1!=t?s:'\n
    '+e.$captioned_title()+"
    ","\n
    \n'+f+"\n
    "+c+"\n"}),e.defn(m,"$listing",function(e){var t,n=s,r=s,i=s,o=s,a=o=n=i=n=s,l=s,n=!1!==(t=e.$document()["$attr?"]("prewrap")["$!"]())&&t!==s?t:e["$option?"]("nowrap");return e.$style()["$=="]("source")?(i=(t=r=e.$attr("language",s,!1))===s||t.$$is_boolean&&1!=t?s:' data-lang="'+r+'"',o=e.$document().$attr("source-highlighter"),"coderay"["$==="](o)?n=' class="CodeRay highlight'+(!1!==n&&n!==s?" nowrap":s)+'"':"pygments"["$==="](o)?n=' class="pygments highlight'+(!1!==n&&n!==s?" nowrap":s)+'"':"highlightjs"["$==="](o)||"highlight.js"["$==="](o)?(n=' class="highlightjs highlight'+(!1!==n&&n!==s?" nowrap":s)+'"',!1!==r&&r!==s&&(i=' class="language-'+r+'"'+i)):"prettify"["$==="](o)?(n=' class="prettyprint highlight'+(!1!==n&&n!==s?" nowrap":s)+((t=e["$attr?"]("linenums"))===s||t.$$is_boolean&&1!=t?s:" linenums")+'"',!1!==r&&r!==s&&(i=' class="language-'+r+'"'+i)):"html-pipeline"["$==="](o)?(n=!1!==r&&r!==s?' lang="'+r+'"':s,i=s):(n=' class="highlight'+(!1!==n&&n!==s?" nowrap":s)+'"',!1!==r&&r!==s&&(i=' class="language-'+r+'"'+i)),i="",n=""):(i="",n=""),o=(t=e.$id())===s||t.$$is_boolean&&1!=t?s:' id="'+e.$id()+'"',a=(t=e["$title?"]())===s||t.$$is_boolean&&1!=t?s:'
    '+e.$captioned_title()+"
    \n","\n'+a+'
    \n'+i+e.$content()+n+"\n
    \n"}),e.defn(m,"$literal",function(e){var t,n=s,r=s,i=s,o=s,n=(t=e.$id())===s||t.$$is_boolean&&1!=t?s:' id="'+e.$id()+'"',r=(t=e["$title?"]())===s||t.$$is_boolean&&1!=t?s:'
    '+e.$title()+"
    \n",i=!1!==(t=e.$document()["$attr?"]("prewrap")["$!"]())&&t!==s?t:e["$option?"]("nowrap");return"\n'+r+'
    \n"+e.$content()+"\n
    \n"}),e.defn(m,"$stem",function(t){var r,i,o=s,a=s,l=s,u=s,c=s,d=s,o=(r=t.$id())===s||r.$$is_boolean&&1!=r?s:' id="'+t.$id()+'"',a=(r=t["$title?"]())===s||r.$$is_boolean&&1!=r?s:'
    '+t.$title()+"
    \n";return r=e.to_ary($.get("BLOCK_MATH_DELIMITERS")["$[]"](t.$style().$to_sym())),l=null==r[0]?s:r[0],u=null==r[1]?s:r[1],i=(c=t.$content())["$start_with?"](l),((r=!1!==i&&i!==s?c["$end_with?"](u):i)===s||r.$$is_boolean&&1!=r)&&(c=""+l+c+u),"\n'+a+'
    \n'+c+"\n
    \n"}),e.defn(m,"$olist",function(e){var t,r,i,o=s,a=s,l=s,u=a=l=s,l=s,o=[],a=(t=e.$id())===s||t.$$is_boolean&&1!=t?s:' id="'+e.$id()+'"',l=["olist",e.$style(),e.$role()].$compact(),l=' class="'+n(l," ")+'"';return o["$<<"](""),(t=e["$title?"]())===s||t.$$is_boolean&&1!=t||o["$<<"]('
    '+e.$title()+"
    "),a=(t=u=e.$list_marker_keyword())===s||t.$$is_boolean&&1!=t?s:' type="'+u+'"',l=(t=e["$attr?"]("start"))===s||t.$$is_boolean&&1!=t?s:' start="'+e.$attr("start")+'"',o["$<<"]('
      "),(t=(r=e.$items()).$each,t.$$p=(i=function(e){var t;return null==e&&(e=s),o["$<<"]("
    1. "),o["$<<"]("

      "+e.$text()+"

      "),(t=e["$blocks?"]())===s||t.$$is_boolean&&1!=t||o["$<<"](e.$content()),o["$<<"]("
    2. ")},i.$$s=this,i),t).call(r),o["$<<"]("
    "),o["$<<"](""),n(o,$.get("EOL"))}),e.defn(m,"$open",function(e){var t,n,r,i=s,o=s,a=s,l=s;return(i=e.$style())["$=="]("abstract")?(t=e.$parent()["$=="](e.$document())?e.$document().$doctype()["$=="]("book"):e.$parent()["$=="](e.$document()))===s||t.$$is_boolean&&1!=t?(o=(t=e.$id())===s||t.$$is_boolean&&1!=t?s:' id="'+e.$id()+'"',a=(t=e["$title?"]())===s||t.$$is_boolean&&1!=t?s:'
    '+e.$title()+"
    ","\n'+a+"
    \n"+e.$content()+"\n
    \n"):(this.$warn("asciidoctor: WARNING: abstract block cannot be used in a document without a title when doctype is book. Excluding block content."),""):(t=i["$=="]("partintro")?!1!==(n=!1!==(r=e.$level()["$!="](0))&&r!==s?r:e.$parent().$context()["$!="]("section"))&&n!==s?n:e.$document().$doctype()["$!="]("book"):i["$=="]("partintro"))===s||t.$$is_boolean&&1!=t?(o=(t=e.$id())===s||t.$$is_boolean&&1!=t?s:' id="'+e.$id()+'"',a=(t=e["$title?"]())===s||t.$$is_boolean&&1!=t?s:'
    '+e.$title()+"
    ","\n'+a+'
    \n'+e.$content()+"\n
    \n"):(this.$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."),"")}),e.defn(m,"$page_break",function(e){return'
    '}),e.defn(m,"$paragraph",function(e){var t,n=s,n=s,n=(t=e.$role())===s||t.$$is_boolean&&1!=t?'class="paragraph"':'class="paragraph '+e.$role()+'"',n=(t=e.$id())===s||t.$$is_boolean&&1!=t?n:'id="'+e.$id()+'" '+n;return(t=e["$title?"]())===s||t.$$is_boolean&&1!=t?"
    \n

    "+e.$content()+"

    \n
    ":"
    \n
    '+e.$title()+"
    \n

    "+e.$content()+"

    \n
    "}),e.defn(m,"$preamble",function(e){var t,n,r,i=s,o=s,o=(r=(i=e.$document())["$attr?"]("toc-placement","preamble"),n=!1!==r&&r!==s?i["$sections?"]():r,(t=!1!==n&&n!==s?i["$attr?"]("toc"):n)===s||t.$$is_boolean&&1!=t?s:'\n
    \n
    '+i.$attr("toc-title")+"
    \n"+this.$outline(i)+"\n
    ");return'
    \n
    \n'+e.$content()+"\n
    "+o+"\n
    "}),e.defn(m,"$quote",function(e){var t,r,i=s,o=s,a=o=s,l=s,u=s,c=s,c=l=s,i=(t=e.$id())===s||t.$$is_boolean&&1!=t?s:' id="'+e.$id()+'"',o=["quoteblock",e.$role()].$compact(),o=' class="'+n(o," ")+'"',a=(t=e["$title?"]())===s||t.$$is_boolean&&1!=t?s:'\n
    '+e.$title()+"
    ",l=(t=e["$attr?"]("attribution"))===s||t.$$is_boolean&&1!=t?s:e.$attr("attribution"),u=(t=e["$attr?"]("citetitle"))===s||t.$$is_boolean&&1!=t?s:e.$attr("citetitle");return(t=!1!==(r=l)&&r!==s?r:u)===s||t.$$is_boolean&&1!=t?c=s:(c=!1!==u&&u!==s?""+u+"":s,l=!1!==l&&l!==s?"— "+l+(!1!==u&&u!==s?"\n":s):s,c='\n
    \n'+l+c+"\n
    "),""+a+"\n
    \n"+e.$content()+"\n
    "+c+"\n"}),e.defn(m,"$thematic_break",function(e){return""}),e.defn(m,"$sidebar",function(e){var t,r=s,i=s,o=s,r=(t=e.$id())===s||t.$$is_boolean&&1!=t?s:' id="'+e.$id()+'"',i=(t=e["$title?"]())===s||t.$$is_boolean&&1!=t?s:'
    '+e.$title()+"
    \n";return"\n
    \n'+i+e.$content()+"\n
    \n"}),e.defn(m,"$table",function(e){var t,i,o,a,l,u,c,d,f,p,h=s,m=s,g=s,_=s,v=s,b=_=g=v=s,y=s,h=[],m=(t=e.$id())===s||t.$$is_boolean&&1!=t?s:' id="'+e.$id()+'"',g=["tableblock","frame-"+e.$attr("frame","all"),"grid-"+e.$attr("grid","all")],_=[];return((t=e["$option?"]("autowidth"))===s||t.$$is_boolean&&1!=t)&&((v=e.$attr("tablepcwidth"))["$=="](100)?g["$<<"]("spread"):_["$<<"]("width: "+v+"%;")),(t=v=e.$role())===s||t.$$is_boolean&&1!=t||g["$<<"](v),g=' class="'+n(g," ")+'"',(t=e["$attr?"]("float"))===s||t.$$is_boolean&&1!=t||_["$<<"]("float: "+e.$attr("float")+";"),_=(t=_["$empty?"]())===s||t.$$is_boolean&&1!=t?' style="'+n(_," ")+'"':s,h["$<<"](""),(t=e["$title?"]())===s||t.$$is_boolean&&1!=t||h["$<<"](''+e.$captioned_title()+""),r(e.$attr("rowcount"),0)&&(b=this.void_element_slash,h["$<<"](""),(t=e["$option?"]("autowidth"))===s||t.$$is_boolean&&1!=t?(t=(a=e.$columns()).$each,t.$$p=(l=function(e){return null==e&&(e=s),h["$<<"]('")},l.$$s=this,l),t).call(a):(y="",(t=(i=e.$columns().$size()).$times,t.$$p=(o=function(){return h["$<<"](y)},o.$$s=this,o),t).call(i)),h["$<<"](""),(t=(u=(d=(f=["head","foot","body"]).$select,d.$$p=(p=function(t){return null==t&&(t=s),e.$rows()["$[]"](t)["$empty?"]()["$!"]()},p.$$s=this,p),d).call(f)).$each,t.$$p=(c=function(t){var n,r,i,o=c.$$s||this;return null==t&&(t=s),h["$<<"](""),(n=(r=e.$rows()["$[]"](t)).$each,n.$$p=(i=function(n){var r,o,a,l=i.$$s||this;return null==n&&(n=s),h["$<<"](""),(r=(o=n).$each,r.$$p=(a=function(n){var r,i,o,l,u=a.$$s||this,c=s,d=s,f=d=s,p=s,m=s,g=s;return null==n&&(n=s),t["$=="]("head")?c=n.$text():(d=n.$style(),"asciidoc"["$==="](d)?c="
    "+n.$content()+"
    ":"verse"["$==="](d)?c='
    '+n.$text()+"
    ":"literal"["$==="](d)?c='
    '+n.$text()+"
    ":(c="",(r=(i=n.$content()).$each,r.$$p=(o=function(e){return null==e&&(e=s),c=""+c+'

    '+e+"

    "},o.$$s=u,o),r).call(i))),d=(r=!1!==(l=t["$=="]("head"))&&l!==s?l:n.$style()["$=="]("header"))===s||r.$$is_boolean&&1!=r?"td":"th",f=' class="tableblock halign-'+n.$attr("halign")+" valign-"+n.$attr("valign")+'"',p=(r=n.$colspan())===s||r.$$is_boolean&&1!=r?s:' colspan="'+n.$colspan()+'"',m=(r=n.$rowspan())===s||r.$$is_boolean&&1!=r?s:' rowspan="'+n.$rowspan()+'"',g=(r=e.$document()["$attr?"]("cellbgcolor"))===s||r.$$is_boolean&&1!=r?s:' style="background-color: '+e.$document().$attr("cellbgcolor")+';"',h["$<<"]("<"+d+f+p+m+g+">"+c+"")},a.$$s=l,a),r).call(o),h["$<<"]("")},i.$$s=o,i),n).call(r),h["$<<"]("
    ")},c.$$s=this,c),t).call(u)),h["$<<"](""),n(h,$.get("EOL"))}),e.defn(m,"$toc",function(e){var t,n,r,i=s,o=s,a=s,l=s,u=s,d=s;return r=(i=e.$document())["$attr?"]("toc-placement","macro"),n=!1!==r&&r!==s?i["$sections?"]():r,(t=!1!==n&&n!==s?i["$attr?"]("toc"):n)===s||t.$$is_boolean&&1!=t?"":((t=e.$id())===s||t.$$is_boolean&&1!=t?(o=' id="toc"',a=' id="toctitle"'):(o=' id="'+e.$id()+'"',a=' id="'+e.$id()+'title"'),l=(t=e["$title?"]())===s||t.$$is_boolean&&1!=t?i.$attr("toc-title"):e.$title(),u=(t=e["$attr?"]("levels"))===s||t.$$is_boolean&&1!=t?s:e.$attr("levels").$to_i(),d=(t=e["$role?"]())===s||t.$$is_boolean&&1!=t?i.$attr("toc-class","toc"):e.$role(),"\n'+l+"\n"+this.$outline(i,c(["toclevels"],{toclevels:u}))+"\n")}),e.defn(m,"$ulist",function(e){var t,r,i,o=s,a=s,l=s,u=s,c=s,d=s,f=s,o=[],a=(t=e.$id())===s||t.$$is_boolean&&1!=t?s:' id="'+e.$id()+'"',l=["ulist",e.$style(),e.$role()].$compact(),c=u=s;return(t=d=e["$option?"]("checklist"))===s||t.$$is_boolean&&1!=t?f=(t=e.$style())===s||t.$$is_boolean&&1!=t?s:' class="'+e.$style()+'"':(l.$insert(1,"checklist"),f=' class="checklist"',(t=e["$option?"]("interactive"))===s||t.$$is_boolean&&1!=t?(t=e.$document()["$attr?"]("icons","font"))===s||t.$$is_boolean&&1!=t?(u="✓ ",c="❏ "):(u=' ',c=' '):(t=e.$document()["$attr?"]("htmlsyntax","xml"))===s||t.$$is_boolean&&1!=t?(u=' ',c=' '):(u=' ',c=' ')),o["$<<"]("'),(t=e["$title?"]())===s||t.$$is_boolean&&1!=t||o["$<<"]('
    '+e.$title()+"
    "),o["$<<"](""),(t=(r=e.$items()).$each,t.$$p=(i=function(e){var t;return null==e&&(e=s),o["$<<"]("
  • "),(t=!1!==d&&d!==s?e["$attr?"]("checkbox"):d)===s||t.$$is_boolean&&1!=t?o["$<<"]("

    "+e.$text()+"

    "):o["$<<"]("

    "+((t=e["$attr?"]("checked"))===s||t.$$is_boolean&&1!=t?c:u)+e.$text()+"

    "),(t=e["$blocks?"]())===s||t.$$is_boolean&&1!=t||o["$<<"](e.$content()),o["$<<"]("
  • ")},i.$$s=this,i),t).call(r),o["$<<"](""),o["$<<"](""),n(o,$.get("EOL"))}),e.defn(m,"$verse",function(e){var t,r,i=s,o=s,a=o=s,l=s,u=s,c=s,c=l=s,i=(t=e.$id())===s||t.$$is_boolean&&1!=t?s:' id="'+e.$id()+'"',o=["verseblock",e.$role()].$compact(),o=' class="'+n(o," ")+'"',a=(t=e["$title?"]())===s||t.$$is_boolean&&1!=t?s:'\n
    '+e.$title()+"
    ",l=(t=e["$attr?"]("attribution"))===s||t.$$is_boolean&&1!=t?s:e.$attr("attribution"),u=(t=e["$attr?"]("citetitle"))===s||t.$$is_boolean&&1!=t?s:e.$attr("citetitle");return(t=!1!==(r=l)&&r!==s?r:u)===s||t.$$is_boolean&&1!=t?c=s:(c=!1!==u&&u!==s?""+u+"":s,l=!1!==l&&l!==s?"— "+l+(!1!==u&&u!==s?"\n":s):s,c='\n
    \n'+l+c+"\n
    "),""+a+'\n
    '+e.$content()+"
    "+c+"\n"}),e.defn(m,"$video",function(t){var r,i,o=this,a=s,l=s,u=s,c=s,d=s,f=s,p=s,h=s,m=s,g=s,$=s,_=s,v=s,b=s,y=s,x=s,k=s,w=s,E=s,A=s,C=s,S=s,T=s,M=s,D=s,L=s,F=s,O=s,R=s,I=s,B=s,a=t.$document()["$attr?"]("htmlsyntax","xml"),l=(r=t.$id())===s||r.$$is_boolean&&1!=r?s:' id="'+t.$id()+'"',u=["videoblock",t.$style(),t.$role()].$compact(),c=' class="'+n(u," ")+'"',d=(r=t["$title?"]())===s||r.$$is_boolean&&1!=r?s:'\n
    '+t.$captioned_title()+"
    ",f=(r=t["$attr?"]("width"))===s||r.$$is_boolean&&1!=r?s:' width="'+t.$attr("width")+'"',p=(r=t["$attr?"]("height"))===s||r.$$is_boolean&&1!=r?s:' height="'+t.$attr("height")+'"';return function(){return h=t.$attr("poster"),"vimeo"["$==="](h)?(((r=(m=t.$document().$attr("asset-uri-scheme","https"))["$empty?"]())===s||r.$$is_boolean&&1!=r)&&(m=""+m+":"),g=(r=t["$attr?"]("start",s,!1))===s||r.$$is_boolean&&1!=r?s:"#at="+t.$attr("start"),$="?",_=(r=t["$option?"]("autoplay"))===s||r.$$is_boolean&&1!=r?s:""+$+"autoplay=1",!1!==_&&_!==s&&($="&"),v=(r=t["$option?"]("loop"))===s||r.$$is_boolean&&1!=r?s:""+$+"loop=1",""+d+'\n
    \n\n
    \n"):"youtube"["$==="](h)?(((r=(m=t.$document().$attr("asset-uri-scheme","https"))["$empty?"]())===s||r.$$is_boolean&&1!=r)&&(m=""+m+":"),b=(r=t["$option?"]("related"))===s||r.$$is_boolean&&1!=r?0:1,y=(r=t["$attr?"]("start",s,!1))===s||r.$$is_boolean&&1!=r?s:"&start="+t.$attr("start"),x=(r=t["$attr?"]("end",s,!1))===s||r.$$is_boolean&&1!=r?s:"&end="+t.$attr("end"),_=(r=t["$option?"]("autoplay"))===s||r.$$is_boolean&&1!=r?s:"&autoplay=1",v=(r=t["$option?"]("loop"))===s||r.$$is_boolean&&1!=r?s:"&loop=1",k=(r=t["$option?"]("nocontrols"))===s||r.$$is_boolean&&1!=r?s:"&controls=0",(r=t["$option?"]("nofullscreen"))===s||r.$$is_boolean&&1!=r?(w=s,E=o.$append_boolean_attribute("allowfullscreen",a)):(w="&fs=0",E=s),A=(r=t["$option?"]("modest"))===s||r.$$is_boolean&&1!=r?s:"&modestbranding=1",C=(r=t["$attr?"]("theme",s,!1))===s||r.$$is_boolean&&1!=r?s:"&theme="+t.$attr("theme"),S=(r=t["$attr?"]("lang"))===s||r.$$is_boolean&&1!=r?s:"&hl="+t.$attr("lang"),r=e.to_ary(t.$attr("target").$split("/",2)),T=null==r[0]?s:r[0],M=null==r[1]?s:r[1],(r=!1!==(i=M)&&i!==s?i:M=t.$attr("list",s,!1))===s||r.$$is_boolean&&1!=r?(r=e.to_ary(T.$split(",",2)),T=null==r[0]?s:r[0],L=null==r[1]?s:r[1],D=(r=!1!==(i=L)&&i!==s?i:L=t.$attr("playlist",s,!1))===s||r.$$is_boolean&&1!=r?!1!==v&&v!==s?"&playlist="+T:s:"&playlist="+L):D="&list="+M,""+d+'\n
    \n\n
    \n"):(F=(r=(""+(O=t.$attr("poster")))["$empty?"]())===s||r.$$is_boolean&&1!=r?' poster="'+t.$media_uri(O)+'"':s,R=t.$attr("start",s,!1),I=t.$attr("end",s,!1),B=(r=!1!==(i=R)&&i!==s?i:I)===s||r.$$is_boolean&&1!=r?s:"#t="+R+(!1!==I&&I!==s?",":s)+I,""+d+'\n
    \n\n
    \n")}()}),e.defn(m,"$inline_anchor",function(e){var t,n,r=this,i=s,o=s,a=s,l=s,u=s,c=s,i=e.$target();return function(){return o=e.$type(),"xref"["$==="](o)?(a=!1!==(t=e.$attributes()["$[]"]("refid"))&&t!==s?t:i,l=!1!==(t=e.$text())&&t!==s?t:!1!==(n=e.$document().$references()["$[]"]("ids")["$[]"](a))&&n!==s?n:"["+a+"]",''+l+""):"ref"["$==="](o)?'':"link"["$==="](o)?(u=[],(t=e.$id())===s||t.$$is_boolean&&1!=t||u["$<<"](' id="'+e.$id()+'"'),(t=c=e.$role())===s||t.$$is_boolean&&1!=t||u["$<<"](' class="'+c+'"'),(t=e["$attr?"]("title",s,!1))===s||t.$$is_boolean&&1!=t||u["$<<"](' title="'+e.$attr("title")+'"'),(t=e["$attr?"]("window",s,!1))===s||t.$$is_boolean&&1!=t||u["$<<"](' target="'+e.$attr("window")+'"'),'"+e.$text()+""):"bibref"["$==="](o)?'['+i+"]":r.$warn("asciidoctor: WARNING: unknown anchor type: "+e.$type().$inspect())}()}),e.defn(m,"$inline_break",function(e){return""+e.$text()+""}),e.defn(m,"$inline_button",function(e){return''+e.$text()+""}),e.defn(m,"$inline_callout",function(e){var t,n=s;return(t=e.$document()["$attr?"]("icons","font"))===s||t.$$is_boolean&&1!=t?(t=e.$document()["$attr?"]("icons"))===s||t.$$is_boolean&&1!=t?'('+e.$text()+")":(n=e.$icon_uri("callouts/"+e.$text()),''+e.$text()+'"):'('+e.$text()+")"}),e.defn(m,"$inline_footnote",function(e){var t,n=s,r=s;return(t=n=e.$attr("index"))===s||t.$$is_boolean&&1!=t?e.$type()["$=="]("xref")?'['+e.$text()+"]":s:e.$type()["$=="]("xref")?'['+n+"]":(r=(t=e.$id())===s||t.$$is_boolean&&1!=t?s:' id="_footnote_'+e.$id()+'"','['+n+"]")}),e.defn(m,"$inline_image",function(e){var t,n,r,i,a,l,u,d,f=s,p=s,h=s,m=n=h=s,g=s,_=s,v=s,b=n=s,f=s;return(t=(n=(f=e.$type())["$=="]("icon"))?e.$document()["$attr?"]("icons","font"):(f=e.$type())["$=="]("icon"))===s||t.$$is_boolean&&1!=t?(t=(r=f["$=="]("icon"))?e.$document()["$attr?"]("icons")["$!"]():f["$=="]("icon"))===s||t.$$is_boolean&&1!=t?(n=e.$target(),m=(t=(r=["width","height","title"]).$map,t.$$p=(i=function(t){var n;return null==t&&(t=s),(n=e["$attr?"](t))===s||n.$$is_boolean&&1!=n?s:" "+t+'="'+e.$attr(t)+'"'},i.$$s=this,i),t).call(r).$join(),u=f["$!="]("icon"),l=!1!==u&&u!==s?!1!==(d=e["$attr?"]("format","svg",!1))&&d!==s?d:n["$include?"](".svg"):u,a=!1!==l&&l!==s?o(e.$document().$safe(),$.get("SafeMode").$$scope.get("SECURE")):l, +(t=!1!==a&&a!==s?!1!==(l=g=e["$option?"]("inline"))&&l!==s?l:_=e["$option?"]("interactive"):a)===s||t.$$is_boolean&&1!=t||(!1!==g&&g!==s?h=!1!==(t=this.$read_svg_contents(e,n))&&t!==s?t:''+e.$attr("alt")+"":!1!==_&&_!==s&&(v=(t=e["$attr?"]("fallback"))===s||t.$$is_boolean&&1!=t?''+e.$attr("alt")+"":''+e.$attr(",h='"+v+"")),!1!==(t=h)&&t!==s?t:h=''+e.$attr("):h="["+e.$attr("alt")+"]":(p="fa fa-"+e.$target(),(t=(n=c(["size","rotate","flip"],{size:"fa-",rotate:"fa-rotate-",flip:"fa-flip-"})).$each,t.$$p=(r=function(t,n){var r;return null==t&&(t=s),null==n&&(n=s),(r=e["$attr?"](t))===s||r.$$is_boolean&&1!=r?s:p=""+p+" "+n+e.$attr(t)},r.$$s=this,r),t).call(n),h=(t=e["$attr?"]("title"))===s||t.$$is_boolean&&1!=t?s:' title="'+e.$attr("title")+'"',h='"),(t=e["$attr?"]("link"))===s||t.$$is_boolean&&1!=t||(n=(t=e["$attr?"]("window"))===s||t.$$is_boolean&&1!=t?s:' target="'+e.$attr("window")+'"',h='"+h+""),p=(t=b=e.$role())===s||t.$$is_boolean&&1!=t?f:""+f+" "+b,f=(t=e["$attr?"]("float"))===s||t.$$is_boolean&&1!=t?s:' style="float: '+e.$attr("float")+'"','"+h+""}),e.defn(m,"$inline_indexterm",function(e){return e.$type()["$=="]("visible")?e.$text():""}),e.defn(m,"$inline_kbd",function(e){var t,n,r,i=s,i=s;return(i=e.$attr("keys")).$size()["$=="](1)?""+i["$[]"](0)+"":(i=(t=(n=i).$map,t.$$p=(r=function(e){return null==e&&(e=s),""+e+"+"},r.$$s=this,r),t).call(n).$join().$chop(),''+i+"")}),e.defn(m,"$inline_menu",function(e){var t,n,r,i=s,o=s,a=o=s,i=e.$attr("menu");return(t=(o=e.$attr("submenus"))["$empty?"]()["$!"]())===s||t.$$is_boolean&&1!=t?(t=a=e.$attr("menuitem"))===s||t.$$is_boolean&&1!=t?''+i+"":''+i+' ▸ '+a+"":(o=(t=(n=o).$map,t.$$p=(r=function(e){return null==e&&(e=s),''+e+" ▸ "},r.$$s=this,r),t).call(n).$join().$chop(),''+i+" ▸ "+o+' '+e.$attr("menuitem")+"")}),e.defn(m,"$inline_quoted",function(t){var n,r=s,i=s,o=s,a=s,r=s;return n=e.to_ary($.get("QUOTE_TAGS")["$[]"](t.$type())),r=null==n[0]?s:n[0],i=null==n[1]?s:n[1],o=null==n[2]?s:n[2],r=(n=a=t.$role())===s||n.$$is_boolean&&1!=n?""+r+t.$text()+i:!1!==o&&o!==s?""+r.$chop()+' class="'+a+'">'+t.$text()+i:''+r+t.$text()+i+"",(n=t.$id())===s||n.$$is_boolean&&1!=n?r:''+r}),e.defn(m,"$append_boolean_attribute",function(e,t){return!1!==t&&t!==s?" "+e+'="'+e+'"':" "+e}),e.defn(m,"$read_svg_contents",function(e,t){var n,r,i,o=s,a=s;return(n=o=e.$read_contents(t,c(["start","normalize","label"],{start:e.$document().$attr("imagesdir"),normalize:!0,label:"SVG"})))===s||n.$$is_boolean&&1!=n||(o=o.$sub($.get("SvgPreambleRx"),""),a=s,(n=(r=["width","height"]).$each,n.$$p=(i=function(t){var n;return null==t&&(t=s),(n=e["$attr?"](t))===s||n.$$is_boolean&&1!=n?s:(!1!==(n=a)&&n!==s?n:a=o.$match($.get("SvgStartTagRx"))["$[]"](0).$gsub($.get("DimensionAttributeRx"),""),a=""+a.$chop()+" "+t+'="'+e.$attr(t)+'px">')},i.$$s=this,i),n).call(r),!1!==a&&a!==s&&(o=o.$sub($.get("SvgStartTagRx"),a))),o}),s&&"read_svg_contents"}(f.get("Converter"),f.get("Converter").$$scope.get("BuiltIn"))}(e.base)},i.modules["asciidoctor/document"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e>=t:e["$>="](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}e.dynamic_require_severity="ignore";var i=e.nil,o=e.slice,a=e.module,s=e.klass,l=e.hash2,u=e.range;return e.add_stubs("$new $attr_reader $nil? $<< $[] $[]= $include? $strip $tr_s $gsub $empty? $! $rpartition $delete $base_dir $inject $== $references $callouts $dup $attributes $each $safe $compat_mode $sourcemap $converter $extensions $start_with? $end_with? $chop $downcase $=== $const_get $upcase $to_s $freeze $attribute_undefined $attribute_missing $detect $constants $key? $expand_path $pwd $>= $+ $length $fetch $delete_if $parse $restore_attributes $update_backend_attributes $now $strftime $join $build_registry $to_proc $activate $preprocessors? $process_method $preprocessors $treeprocessors? $!= $treeprocessors $nil_or_empty? $nextval $to_i $counter $save_to $chr $ord $source $source_lines $title= $title $first_section $title? $merge $has_header? $context $assign_index $clear_playback_attributes $save_attributes $attribute_locked? $doctitle $has_key? $rewind $name $negate $value $apply_attribute_value_subs $delete? $update_doctype_attributes $match $resolve_pass_subs $apply_subs $apply_header_subs $create_converter $basebackend $outfilesuffix $filetype $sub $backend $default $create $fail $doctype $content_model $content $convert $postprocessors? $postprocessors $write $respond_to? $chomp $open $map $split $& $normalize_system_path $read_asset $resolve_docinfo_subs $sub_attributes $docinfo_processors? $* $compact $resolve_subs $docinfo_processors $class $object_id $inspect $size".split(" ")),function(c){c=a(c,"Asciidoctor").$$scope,function(a,c){function d(){}var f,p,h,m=d=s(a,c,"Document",d),g=m.$$proto,$=m.$$scope;return g.attributes=g.safe=g.reader=g.base_dir=g.parsed=g.parent_document=g.extensions=g.options=g.counters=g.references=g.doctype=g.backend=g.header=g.blocks=g.attributes_modified=g.id=g.callouts=g.header_attributes=g.attribute_overrides=g.converter=g.outfilesuffix=g.docinfo_processor_extensions=g.document=i,e.cdecl($,"Footnote",e.get("Struct").$new("index","id","text")),function(t,n){function r(){}var o=r=s(t,n,"AttributeEntry",r);return o.$attr_reader("name","value","negate"),e.defn(o,"$initialize",function(e,t,n){var r;return null==n&&(n=i),this.name=e,this.value=t,this.negate=(r=n["$nil?"]())===i||r.$$is_boolean&&1!=r?n:t["$nil?"]()}),e.defn(o,"$save_to",function(e){var t;return(!1!==(t=e["$[]"]("attribute_entries"))&&t!==i?t:e["$[]="]("attribute_entries",[]))["$<<"](this)}),i&&"save_to"}($.base,null),function(t,n){function r(){}var o=r=s(t,n,"Title",r),a=o.$$proto,u=o.$$scope;return a.sanitized=a.subtitle=a.combined=i,o.$attr_reader("main"),e.alias(o,"title","main"),o.$attr_reader("subtitle"),o.$attr_reader("combined"),e.defn(o,"$initialize",function(t,n){var r,o,a,s=i;return null==n&&(n=l([],{})),o=this.sanitized=n["$[]"]("sanitize"),(r=!1!==o&&o!==i?t["$include?"]("<"):o)===i||r.$$is_boolean&&1!=r||(t=t.$gsub(u.get("XmlSanitizeRx"),"").$tr_s(" "," ").$strip()),(r=!1!==(o=(s=!1!==(a=n["$[]"]("separator"))&&a!==i?a:":")["$empty?"]())&&o!==i?o:t["$include?"](s=""+s+" ")["$!"]())===i||r.$$is_boolean&&1!=r?(r=e.to_ary(t.$rpartition(s)),this.main=null==r[0]?i:r[0],this.subtitle=null==r[2]?i:r[2]):(this.main=t,this.subtitle=i),this.combined=t}),e.defn(o,"$sanitized?",function(){return this.sanitized}),e.defn(o,"$subtitle?",function(){return this.subtitle["$!"]()["$!"]()}),e.defn(o,"$to_s",function(){return this.combined}),i&&"to_s"}($.base,null),m.$attr_reader("safe"),m.$attr_reader("compat_mode"),m.$attr_reader("sourcemap"),m.$attr_reader("references"),m.$attr_reader("counters"),m.$attr_reader("callouts"),m.$attr_reader("header"),m.$attr_reader("base_dir"),m.$attr_reader("options"),m.$attr_reader("outfilesuffix"),m.$attr_reader("parent_document"),m.$attr_reader("reader"),m.$attr_reader("converter"),m.$attr_reader("extensions"),e.defn(m,"$initialize",f=function(r,o){var a,s,c,d,p,h,m,g,_,v,b,y,x=i,k=i,w=i,E=i,A=E=i,C=i,S=x=C=E=x=E=E=i;if(null==r&&(r=i),null==o&&(o=l([],{})),f.$$p=null,e.find_super_dispatcher(this,"initialize",f,null).apply(this,[this,"document"]),(a=x=o.$delete("parent"))===i||a.$$is_boolean&&1!=a){if(this.parent_document=i,this.references=l("ids footnotes links images indexterms includes".split(" "),{ids:l([],{}),footnotes:[],links:[],images:[],indexterms:[],includes:e.get("Set").$new()}),this.callouts=$.get("Callouts").$new(),k=l([],{}),(a=(s=!1!==(m=o["$[]"]("attributes"))&&m!==i?m:l([],{})).$each,a.$$p=(h=function(e,t){var n;return null==e&&(e=i),null==t&&(t=i),(n=e["$start_with?"]("!"))===i||n.$$is_boolean&&1!=n?(n=e["$end_with?"]("!"))===i||n.$$is_boolean&&1!=n||(e=e.$chop(),t=i):(e=e["$[]"](u(1,-1,!1)),t=i),k["$[]="](e.$downcase(),t)},h.$$s=this,h),a).call(s),this.attribute_overrides=k,(a=(E=o["$[]"]("safe"))["$!"]())===i||a.$$is_boolean&&1!=a)if((a=e.get("Fixnum")["$==="](E))===i||a.$$is_boolean&&1!=a)try{this.safe=$.get("SafeMode").$const_get(E.$to_s().$upcase())}catch(t){try{this.safe=$.get("SafeMode").$$scope.get("SECURE")}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}else this.safe=E;else this.safe=$.get("SafeMode").$$scope.get("SECURE");this.sourcemap=o["$[]"]("sourcemap"),this.compat_mode=!1,this.converter=i;try{w=null!=e.get("Asciidoctor").$$scope.get("Extensions")?"constant":i}catch(t){if(t.$$class!==e.NameError)throw t;w=i}this.extensions=i}else this.parent_document=x,a="base_dir",s=o,!1!==(c=s["$[]"](a))&&c!==i?c:s["$[]="](a,x.$base_dir()),this.references=(a=(s=x.$references()).$inject,a.$$p=(d=function(e,t){null==e&&(e=i);var n=t[0],r=t[1];return n["$=="]("footnotes")?e["$[]="]("footnotes",[]):e["$[]="](n,r),e},d.$$s=this,d),a).call(s,l([],{})),this.callouts=x.$callouts(),k=x.$attributes().$dup(),(a=(c=["doctype","compat-mode","toc","toc-placement","toc-position"]).$each,a.$$p=(p=function(e){return null==e&&(e=i),k.$delete(e)},p.$$s=this,p),a).call(c),this.attribute_overrides=k,this.safe=x.$safe(),this.compat_mode=x.$compat_mode(),this.sourcemap=x.$sourcemap(),this.converter=x.$converter(),w=!1,this.extensions=x.$extensions();if(this.parsed=!1,this.header=i,this.counters=l([],{}),this.attributes_modified=e.get("Set").$new(),this.options=o,this.docinfo_processor_extensions=l([],{}),a="header_footer",m=o,E=!1!==(g=m["$[]"](a))&&g!==i?g:m["$[]="](a,!1),o.$freeze(),A=this.attributes,A["$[]="]("sectids",""),!1!==E&&E!==i||A["$[]="]("notitle",""),A["$[]="]("toc-placement","auto"),A["$[]="]("stylesheet",""),A["$[]="]("webfonts",""),!1!==E&&E!==i&&A["$[]="]("copycss",""),A["$[]="]("prewrap",""),A["$[]="]("attribute-undefined",$.get("Compliance").$attribute_undefined()),A["$[]="]("attribute-missing",$.get("Compliance").$attribute_missing()),A["$[]="]("iconfont-remote",""),A["$[]="]("caution-caption","Caution"),A["$[]="]("important-caption","Important"),A["$[]="]("note-caption","Note"),A["$[]="]("tip-caption","Tip"),A["$[]="]("warning-caption","Warning"),A["$[]="]("appendix-caption","Appendix"),A["$[]="]("example-caption","Example"),A["$[]="]("figure-caption","Figure"),A["$[]="]("table-caption","Table"),A["$[]="]("toc-title","Table of Contents"),A["$[]="]("manname-title","NAME"),A["$[]="]("untitled-label","Untitled"),A["$[]="]("version-label","Version"),A["$[]="]("last-update-label","Last updated"),k["$[]="]("asciidoctor",""),k["$[]="]("asciidoctor-version",$.get("VERSION")),C=(a=(m=$.get("SafeMode").$constants()).$detect,a.$$p=(_=function(e){var t=_.$$s||this;return null==t.safe&&(t.safe=i),null==e&&(e=i),$.get("SafeMode").$const_get(e)["$=="](t.safe)},_.$$s=this,_),a).call(m).$to_s().$downcase(),k["$[]="]("safe-mode-name",C),k["$[]="]("safe-mode-"+C,""),k["$[]="]("safe-mode-level",this.safe),k["$[]="]("embedded",!1!==E&&E!==i?i:""),a="max-include-depth",g=k,!1!==(v=g["$[]"](a))&&v!==i?v:g["$[]="](a,64),((a=k["$[]"]("allow-uri-read")["$nil?"]()["$!"]())===i||a.$$is_boolean&&1!=a)&&k["$[]="]("allow-uri-read",i),k["$[]="]("user-home",$.get("USER_HOME")),(a=k["$key?"]("numbered"))===i||a.$$is_boolean&&1!=a||k["$[]="]("sectnums",k.$delete("numbered")),(a=o["$[]"]("base_dir"))===i||a.$$is_boolean&&1!=a?(a=k["$[]"]("docdir"))===i||a.$$is_boolean&&1!=a?this.base_dir=k["$[]="]("docdir",e.get("File").$expand_path(e.get("Dir").$pwd())):this.base_dir=k["$[]="]("docdir",e.get("File").$expand_path(k["$[]"]("docdir"))):this.base_dir=k["$[]="]("docdir",e.get("File").$expand_path(o["$[]"]("base_dir"))),(a=E=o["$[]"]("backend"))===i||a.$$is_boolean&&1!=a||k["$[]="]("backend",""+E),(a=E=o["$[]"]("doctype"))===i||a.$$is_boolean&&1!=a||k["$[]="]("doctype",""+E),t(this.safe,$.get("SafeMode").$$scope.get("SERVER"))&&(a="copycss",g=k,!1!==(v=g["$[]"](a))&&v!==i?v:g["$[]="](a,i),a="source-highlighter",g=k,!1!==(v=g["$[]"](a))&&v!==i?v:g["$[]="](a,i),a="backend",g=k,!1!==(v=g["$[]"](a))&&v!==i?v:g["$[]="](a,$.get("DEFAULT_BACKEND")),g=x["$!"](),(a=!1!==g&&g!==i?k["$key?"]("docfile"):g)===i||a.$$is_boolean&&1!=a||k["$[]="]("docfile",k["$[]"]("docfile")["$[]"](u(n(k["$[]"]("docdir").$length(),1),-1,!1))),k["$[]="]("docdir",""),k["$[]="]("user-home","."),t(this.safe,$.get("SafeMode").$$scope.get("SECURE"))&&(((a=k.$fetch("linkcss","")["$nil?"]())===i||a.$$is_boolean&&1!=a)&&k["$[]="]("linkcss",""),a="icons",g=k,!1!==(v=g["$[]"](a))&&v!==i?v:g["$[]="](a,i))),(a=(g=k).$delete_if,a.$$p=(b=function(t,n){var r,o,a=i;return null==t&&(t=i),null==n&&(n=i),a=!1,(r=n["$nil?"]())===i||r.$$is_boolean&&1!=r?(o=e.get("String")["$==="](n),(r=!1!==o&&o!==i?n["$end_with?"]("@"):o)===i||r.$$is_boolean&&1!=r||(n=n.$chop(),a=!0),A["$[]="](t,n)):A.$delete(t),a},b.$$s=this,b),a).call(g),(a=A["$key?"]("compat-mode"))===i||a.$$is_boolean&&1!=a||(this.compat_mode=!0),!1!==x&&x!==i)return a="doctype",v=A,!1!==(y=v["$[]"](a))&&y!==i?y:v["$[]="](a,$.get("DEFAULT_DOCTYPE")),this.reader=$.get("Reader").$new(r,o["$[]"]("cursor")),$.get("Parser").$parse(this.reader,this),this.$restore_attributes(),this.parsed=!0;if((a="backend",v=A,!1!==(y=v["$[]"](a))&&y!==i?y:v["$[]="](a,$.get("DEFAULT_BACKEND")))["$=="]("manpage")?A["$[]="]("doctype",k["$[]="]("doctype","manpage")):(a="doctype",v=A,!1!==(y=v["$[]"](a))&&y!==i?y:v["$[]="](a,$.get("DEFAULT_DOCTYPE"))),this.$update_backend_attributes(A["$[]"]("backend"),!0),x=e.get("Time").$now(),a="localdate",v=A,E=!1!==(y=v["$[]"](a))&&y!==i?y:v["$[]="](a,x.$strftime("%Y-%m-%d")),(a=C=A["$[]"]("localtime"))===i||a.$$is_boolean&&1!=a)try{C=A["$[]="]("localtime",x.$strftime("%H:%M:%S %Z"))}catch(t){try{C=A["$[]="]("localtime",x.$strftime("%H:%M:%S"))}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}return a="localdatetime",v=A,!1!==(y=v["$[]"](a))&&y!==i?y:v["$[]="](a,""+E+" "+C),a="docdate",v=A,!1!==(y=v["$[]"](a))&&y!==i?y:v["$[]="](a,E),a="doctime",v=A,!1!==(y=v["$[]"](a))&&y!==i?y:v["$[]="](a,C),a="docdatetime",v=A,!1!==(y=v["$[]"](a))&&y!==i?y:v["$[]="](a,""+E+" "+C),a="stylesdir",v=A,!1!==(y=v["$[]"](a))&&y!==i?y:v["$[]="](a,"."),a="iconsdir",v=A,!1!==(y=v["$[]"](a))&&y!==i?y:v["$[]="](a,e.get("File").$join(A.$fetch("imagesdir","./images"),"icons")),!1!==w&&w!==i&&((a=x=o["$[]"]("extensions_registry"))===i||a.$$is_boolean&&1!=a?x=(a=e.get("Proc")["$==="](S=o["$[]"]("extensions")))===i||a.$$is_boolean&&1!=a?$.get("Extensions").$$scope.get("Registry").$new():(a=(v=$.get("Extensions")).$build_registry,a.$$p=S.$to_proc(),a).call(v):((a=!1!==(v=$.get("Extensions").$$scope.get("Registry")["$==="](x))&&v!==i?v:(y=e.get("RUBY_ENGINE_JRUBY"),!1!==y&&y!==i?e.get("AsciidoctorJ").$$scope.get("Extensions").$$scope.get("ExtensionRegistry")["$==="](x):y))===i||a.$$is_boolean&&1!=a)&&(x=$.get("Extensions").$$scope.get("Registry").$new()),this.extensions=x.$activate(this)),this.reader=$.get("PreprocessorReader").$new(this,r,$.get("Reader").$$scope.get("Cursor").$new(A["$[]"]("docfile"),this.base_dir))}),e.defn(m,"$parse",function(e){var t,n,r,o,a,s=i,u=i;return null==e&&(e=i),(t=this.parsed)===i||t.$$is_boolean&&1!=t?(s=this,!1!==e&&e!==i&&(this.reader=$.get("PreprocessorReader").$new(s,e,$.get("Reader").$$scope.get("Cursor").$new(this.attributes["$[]"]("docfile"),this.base_dir))),n=u=(r=this.parent_document)===i||r.$$is_boolean&&1!=r?this.extensions:i,(t=!1!==n&&n!==i?u["$preprocessors?"]():n)===i||t.$$is_boolean&&1!=t||(t=(n=u.$preprocessors()).$each,t.$$p=(o=function(e){var t,n=o.$$s||this;return null==n.reader&&(n.reader=i),null==e&&(e=i),n.reader=!1!==(t=e.$process_method()["$[]"](s,n.reader))&&t!==i?t:n.reader},o.$$s=this,o),t).call(n),$.get("Parser").$parse(this.reader,s,l(["header_only"],{header_only:this.options["$[]"]("parse_header_only")["$!"]()["$!"]()})),this.$restore_attributes(),(t=(r=!1!==u&&u!==i)?u["$treeprocessors?"]():u)===i||t.$$is_boolean&&1!=t||(t=(r=u.$treeprocessors()).$each,t.$$p=(a=function(e){var t,n,r,o=i;return null==e&&(e=i),r=o=e.$process_method()["$[]"](s),n=!1!==r&&r!==i?$.get("Document")["$==="](o):r,(t=!1!==n&&n!==i?o["$!="](s):n)===i||t.$$is_boolean&&1!=t?i:s=o},a.$$s=this,a),t).call(r),this.parsed=!0,s):this}),e.defn(m,"$counter",function(e,t){var n,r,o=i,a=i;return null==t&&(t=i),r=o=(a=this.attributes["$[]"](e))["$nil_or_empty?"]()["$!"](),(n=!1!==r&&r!==i?this.counters["$key?"](e):r)===i||n.$$is_boolean&&1!=n?((n=t["$nil?"]())===i||n.$$is_boolean&&1!=n?t.$to_i().$to_s()["$=="](t)&&(t=t.$to_i()):t=this.$nextval(!1!==o&&o!==i?a:0),this.counters["$[]="](e,t)):this.counters["$[]="](e,this.$nextval(a)),this.attributes["$[]="](e,this.counters["$[]"](e))}),e.defn(m,"$counter_increment",function(e,t){var n=i,n=this.$counter(e);return $.get("AttributeEntry").$new(e,n).$save_to(t.$attributes()),n}),e.defn(m,"$nextval",function(t){var r,o=i;return(r=e.get("Integer")["$==="](t))===i||r.$$is_boolean&&1!=r?(o=t.$to_i(),(r=o.$to_s()["$!="](t.$to_s()))===i||r.$$is_boolean&&1!=r?n(o,1):n(t["$[]"](0).$ord(),1).$chr()):n(t,1)}),e.defn(m,"$register",function(t,r,o){var a,s,l,u=i,c=u=i;return null==o&&(o=!1),u=t,"ids"["$==="](u)?(a=e.to_ary([].concat(e.to_a(r))),u=null==a[0]?i:a[0],c=null==a[1]?i:a[1],!1!==(a=c)&&a!==i?a:c=n(n("[",u),"]"),t=!1!==o&&o!==i?this.references["$[]"]("ids")["$[]="](u,c):(a=u,s=this.references["$[]"]("ids"),!1!==(l=s["$[]"](a))&&l!==i?l:s["$[]="](a,c))):t="footnotes"["$==="](u)||"indexterms"["$==="](u)?this.references["$[]"](t)["$<<"](r):(a=this.options["$[]"]("catalog_assets"))===i||a.$$is_boolean&&1!=a?i:this.references["$[]"](t)["$<<"](r),t}),e.defn(m,"$footnotes?",function(){return this.references["$[]"]("footnotes")["$empty?"]()["$!"]()}),e.defn(m,"$footnotes",function(){return this.references["$[]"]("footnotes")}),e.defn(m,"$nested?",function(){return this.parent_document["$!"]()["$!"]()}),e.defn(m,"$embedded?",function(){return this.attributes["$key?"]("embedded")}),e.defn(m,"$extensions?",function(){return this.extensions["$!"]()["$!"]()}),e.defn(m,"$source",function(){var e;return(e=this.reader)===i||e.$$is_boolean&&1!=e?i:this.reader.$source()}),e.defn(m,"$source_lines",function(){var e;return(e=this.reader)===i||e.$$is_boolean&&1!=e?i:this.reader.$source_lines()}),e.defn(m,"$doctype",function(){var e;return!1!==(e=this.doctype)&&e!==i?e:this.doctype=this.attributes["$[]"]("doctype")}),e.defn(m,"$backend",function(){var e;return!1!==(e=this.backend)&&e!==i?e:this.backend=this.attributes["$[]"]("backend")}),e.defn(m,"$basebackend?",function(e){return this.attributes["$[]"]("basebackend")["$=="](e)}),e.defn(m,"$title",function(){return this.attributes["$[]"]("title")}),e.defn(m,"$title=",function(e){var t,n;return!1!==(t=this.header)&&t!==i?t:this.header=$.get("Section").$new(this,0),t=[e],n=this.header,n["$title="].apply(n,t),t[t.length-1]}),e.defn(m,"$doctitle",function(e){var t,n,r=i,o=i,a=i;if(null==e&&(e=l([],{})),(t=(r=this.attributes["$[]"]("title")["$nil_or_empty?"]())["$!"]())===i||t.$$is_boolean&&1!=t)if(n=o=this.$first_section(),(t=!1!==n&&n!==i?o["$title?"]():n)===i||t.$$is_boolean&&1!=t){if(n=e["$[]"]("use_fallback"),(t=!1!==n&&n!==i?r=this.attributes["$[]"]("untitled-label"):n)===i||t.$$is_boolean&&1!=t)return i}else r=o.$title();else r=this.$title();return(t=a=e["$[]"]("partition"))===i||t.$$is_boolean&&1!=t?(n=e["$[]"]("sanitize"),(t=!1!==n&&n!==i?r["$include?"]("<"):n)===i||t.$$is_boolean&&1!=t?r:r.$gsub($.get("XmlSanitizeRx"),"").$tr_s(" "," ").$strip()):$.get("Title").$new(r,e.$merge(l(["separator"],{separator:a["$=="](!0)?this.attributes["$[]"]("title-separator"):a})))}),e.alias(m,"name","doctitle"),e.defn(m,"$author",function(){return this.attributes["$[]"]("author")}),e.defn(m,"$revdate",function(){return this.attributes["$[]"]("revdate")}),e.defn(m,"$notitle",function(){var e;return e=this.attributes["$key?"]("showtitle")["$!"](),!1!==e&&e!==i?this.attributes["$key?"]("notitle"):e}),e.defn(m,"$noheader",function(){return this.attributes["$key?"]("noheader")}),e.defn(m,"$nofooter",function(){return this.attributes["$key?"]("nofooter")}),e.defn(m,"$first_section",function(){var e,t,n,r;return(e=this["$has_header?"]())===i||e.$$is_boolean&&1!=e?(e=(t=!1!==(r=this.blocks)&&r!==i?r:[]).$detect,e.$$p=(n=function(e){return null==e&&(e=i),e.$context()["$=="]("section")},n.$$s=this,n),e).call(t):this.header}),e.defn(m,"$has_header?",function(){var e;return!((e=this.header)===i||e.$$is_boolean&&1!=e)}),e.alias(m,"header?","has_header?"),e.defn(m,"$<<",p=function(t){var n=o.call(arguments,0),r=p.$$p;return p.$$p=null,t.$context()["$=="]("section")&&this.$assign_index(t),e.find_super_dispatcher(this,"<<",p,r).apply(this,n)}),e.defn(m,"$finalize_header",function(e,t){return null==t&&(t=!0),this.$clear_playback_attributes(e),this.$save_attributes(),!1!==t&&t!==i||e["$[]="]("invalid-header",!0),e}),e.defn(m,"$save_attributes",function(){var e,t,n,r,o=i,a=i,s=i,l=i,u=i,c=i,d=i,l=s=i;return(o=this.attributes)["$[]"]("basebackend")["$=="]("docbook")&&(((e=!1!==(t=this["$attribute_locked?"]("toc"))&&t!==i?t:this.attributes_modified["$include?"]("toc"))===i||e.$$is_boolean&&1!=e)&&o["$[]="]("toc",""),((e=!1!==(t=this["$attribute_locked?"]("sectnums"))&&t!==i?t:this.attributes_modified["$include?"]("sectnums"))===i||e.$$is_boolean&&1!=e)&&o["$[]="]("sectnums","")),((e=!1!==(t=o["$key?"]("doctitle"))&&t!==i?t:(a=this.$doctitle())["$!"]())===i||e.$$is_boolean&&1!=e)&&o["$[]="]("doctitle",a),((e=this.id)===i||e.$$is_boolean&&1!=e)&&(this.id=o["$[]"]("css-signature")),s=(e=l=(t=o.$delete("toc2"))===i||t.$$is_boolean&&1!=t?o["$[]"]("toc"):"left")===i||e.$$is_boolean&&1!=e?i:(t=u=o.$fetch("toc-placement","macro"),(e=!1!==t&&t!==i?u["$!="]("auto"):t)===i||e.$$is_boolean&&1!=e?o["$[]"]("toc-position"):u),(e=(t=!1!==l&&l!==i)?!1!==(n=l["$empty?"]()["$!"]())&&n!==i?n:s["$nil_or_empty?"]()["$!"]():l)===i||e.$$is_boolean&&1!=e||(c="left",d="toc2",s=(e=s["$nil_or_empty?"]()["$!"]())===i||e.$$is_boolean&&1!=e?(e=l["$empty?"]()["$!"]())===i||e.$$is_boolean&&1!=e?c:l:s,o["$[]="]("toc",""),o["$[]="]("toc-placement","auto"),l=s,"left"["$==="](l)||"<"["$==="](l)||"<"["$==="](l)?o["$[]="]("toc-position","left"):"right"["$==="](l)||">"["$==="](l)||">"["$==="](l)?o["$[]="]("toc-position","right"):"top"["$==="](l)||"^"["$==="](l)?o["$[]="]("toc-position","top"):"bottom"["$==="](l)||"v"["$==="](l)?o["$[]="]("toc-position","bottom"):("preamble"["$==="](l)||"macro"["$==="](l)?(o["$[]="]("toc-position","content"),o["$[]="]("toc-placement",s)):o.$delete("toc-position"),d=i),!1!==d&&d!==i&&(e="toc-class",t=o,!1!==(n=t["$[]"](e))&&n!==i?n:t["$[]="](e,d))),(e=o["$key?"]("compat-mode"))===i||e.$$is_boolean&&1!=e?this.compat_mode=!1:((e=o["$has_key?"]("language"))===i||e.$$is_boolean&&1!=e||o["$[]="]("source-language",o["$[]"]("language")),this.compat_mode=!0),this.outfilesuffix=o["$[]"]("outfilesuffix"),this.header_attributes=o.$dup(),(e=this.parent_document)===i||e.$$is_boolean&&1!=e?(e=(t=$.get("FLEXIBLE_ATTRIBUTES")).$each,e.$$p=(r=function(e){var t,n,o=r.$$s||this;return null==o.attribute_overrides&&(o.attribute_overrides=i),null==e&&(e=i),n=o.attribute_overrides["$key?"](e),(t=!1!==n&&n!==i?o.attribute_overrides["$[]"](e):n)===i||t.$$is_boolean&&1!=t?i:o.attribute_overrides.$delete(e)},r.$$s=this,r),e).call(t):i}),e.defn(m,"$restore_attributes",function(){var e;return((e=this.parent_document)===i||e.$$is_boolean&&1!=e)&&this.callouts.$rewind(),this.attributes=this.header_attributes}),e.defn(m,"$clear_playback_attributes",function(e){return e.$delete("attribute_entries")}),e.defn(m,"$playback_attributes",function(e){var t,n,r;return(t=e["$key?"]("attribute_entries"))===i||t.$$is_boolean&&1!=t?i:(t=(n=e["$[]"]("attribute_entries")).$each,t.$$p=(r=function(e){var t,n=r.$$s||this,o=i;return null==n.attributes&&(n.attributes=i),null==e&&(e=i),o=e.$name(),(t=e.$negate())===i||t.$$is_boolean&&1!=t?(n.attributes["$[]="](o,e.$value()),o["$=="]("compat-mode")?n.compat_mode=!0:i):(n.attributes.$delete(o),o["$=="]("compat-mode")?n.compat_mode=!1:i)},r.$$s=this,r),t).call(n)}),e.defn(m,"$set_attribute",function(e,t){var n,r=i;return!!((n=this["$attribute_locked?"](e))===i||n.$$is_boolean&&1!=n)&&(r=e,"backend"["$==="](r)?this.$update_backend_attributes(this.$apply_attribute_value_subs(t),this.attributes_modified["$delete?"]("htmlsyntax")["$!"]()["$!"]()):"doctype"["$==="](r)?this.$update_doctype_attributes(this.$apply_attribute_value_subs(t)):this.attributes["$[]="](e,this.$apply_attribute_value_subs(t)),this.attributes_modified["$<<"](e),!0)}),e.defn(m,"$delete_attribute",function(e){var t;return!!((t=this["$attribute_locked?"](e))===i||t.$$is_boolean&&1!=t)&&(this.attributes.$delete(e),this.attributes_modified["$<<"](e),!0)}),e.defn(m,"$attribute_locked?",function(e){return this.attribute_overrides["$key?"](e)}),e.defn(m,"$apply_attribute_value_subs",function(e){var t,n=i,r=i;return(t=n=$.get("AttributeEntryPassMacroRx").$match(e))===i||t.$$is_boolean&&1!=t?this.$apply_header_subs(e):(t=n["$[]"](1)["$empty?"]()["$!"]())===i||t.$$is_boolean&&1!=t?n["$[]"](2):(r=this.$resolve_pass_subs(n["$[]"](1)),(t=r["$empty?"]())===i||t.$$is_boolean&&1!=t?this.$apply_subs(n["$[]"](2),r):n["$[]"](2))}),e.defn(m,"$update_backend_attributes",function(e,t){var n,r,o=i,a=i,s=i,l=i,c=i,d=a=i,f=i,p=i,d=i;return null==t&&(t=!1),(n=!1!==(r=t)&&r!==i?r:!1!==e&&e!==i?e["$!="](this.attributes["$[]"]("backend")):e)===i||n.$$is_boolean&&1!=n?i:(o=this.attributes,a=o["$[]"]("backend"),s=o["$[]"]("basebackend"),l=o["$[]"]("doctype"),(n=e["$start_with?"]("xhtml"))===i||n.$$is_boolean&&1!=n?(n=e["$start_with?"]("html"))===i||n.$$is_boolean&&1!=n||o["$[]"]("htmlsyntax")["$=="]("xml")||o["$[]="]("htmlsyntax","html"):(o["$[]="]("htmlsyntax","xml"),e=e["$[]"](u(1,-1,!1))),(n=c=$.get("BACKEND_ALIASES")["$[]"](e))===i||n.$$is_boolean&&1!=n||(e=c),!1!==a&&a!==i&&(o.$delete("backend-"+a),!1!==l&&l!==i&&o.$delete("backend-"+a+"-doctype-"+l)),!1!==l&&l!==i&&(o["$[]="]("doctype-"+l,""),o["$[]="]("backend-"+e+"-doctype-"+l,"")),o["$[]="]("backend",e),o["$[]="]("backend-"+e,""),(n=$.get("Converter").$$scope.get("BackendInfo")["$==="](this.converter=this.$create_converter()))===i||n.$$is_boolean&&1!=n?(a=e.$sub($.get("TrailingDigitsRx"),""),f=!1!==(n=$.get("DEFAULT_EXTENSIONS")["$[]"](a))&&n!==i?n:".html",d=f["$[]"](u(1,-1,!1)),((n=this["$attribute_locked?"]("outfilesuffix"))===i||n.$$is_boolean&&1!=n)&&o["$[]="]("outfilesuffix",f)):(a=this.converter.$basebackend(),((n=this["$attribute_locked?"]("outfilesuffix"))===i||n.$$is_boolean&&1!=n)&&o["$[]="]("outfilesuffix",this.converter.$outfilesuffix()),d=this.converter.$filetype()),(n=p=o["$[]"]("filetype"))===i||n.$$is_boolean&&1!=n||o.$delete("filetype-"+p),o["$[]="]("filetype",d),o["$[]="]("filetype-"+d,""),(n=d=$.get("DEFAULT_PAGE_WIDTHS")["$[]"](a))===i||n.$$is_boolean&&1!=n?o.$delete("pagewidth"):o["$[]="]("pagewidth",d),(n=a["$!="](s))===i||n.$$is_boolean&&1!=n||(!1!==s&&s!==i&&(o.$delete("basebackend-"+s),!1!==l&&l!==i&&o.$delete("basebackend-"+s+"-doctype-"+l)),o["$[]="]("basebackend",a),o["$[]="]("basebackend-"+a,""),!1===l||l===i)||o["$[]="]("basebackend-"+a+"-doctype-"+l,""),this.backend=i)}),e.defn(m,"$update_doctype_attributes",function(e){var t,n=i,r=i,o=i,a=i;return(t=!1!==e&&e!==i?e["$!="](this.attributes["$[]"]("doctype")):e)===i||t.$$is_boolean&&1!=t?i:(n=this.attributes,r=n["$[]"]("doctype"),o=n["$[]"]("backend"),a=n["$[]"]("basebackend"),!1!==r&&r!==i&&(n.$delete("doctype-"+r),!1!==o&&o!==i&&n.$delete("backend-"+o+"-doctype-"+r),!1!==a&&a!==i&&n.$delete("basebackend-"+a+"-doctype-"+r)),n["$[]="]("doctype",e),n["$[]="]("doctype-"+e,""),!1!==o&&o!==i&&n["$[]="]("backend-"+o+"-doctype-"+e,""),!1!==a&&a!==i&&n["$[]="]("basebackend-"+a+"-doctype-"+e,""),this.doctype=i)}),e.defn(m,"$create_converter",function(){var t,n=i,r=i,o=i,a=i,s=i,n=l([],{});return n["$[]="]("htmlsyntax",this.attributes["$[]"]("htmlsyntax")),r=(t=o=this.options["$[]"]("template_dir"))===i||t.$$is_boolean&&1!=t?(t=r=this.options["$[]"]("template_dirs"))===i||t.$$is_boolean&&1!=t?i:n["$[]="]("template_dirs",r):n["$[]="]("template_dirs",[o]),!1!==r&&r!==i&&(n["$[]="]("template_cache",this.options.$fetch("template_cache",!0)),n["$[]="]("template_engine",this.options["$[]"]("template_engine")),n["$[]="]("template_engine_options",this.options["$[]"]("template_engine_options")),n["$[]="]("eruby",this.options["$[]"]("eruby")),n["$[]="]("safe",this.safe)),s=(t=a=this.options["$[]"]("converter"))===i||t.$$is_boolean&&1!=t?$.get("Converter").$$scope.get("Factory").$default(!1):$.get("Converter").$$scope.get("Factory").$new(e.get("Hash")["$[]"](this.$backend(),a)),s.$create(this.$backend(),n)}),e.defn(m,"$convert",function(e){var n,r,o,a=i,s=i,u=i,c=i;return null==e&&(e=l([],{})),((n=this.parsed)===i||n.$$is_boolean&&1!=n)&&this.$parse(),((n=!1!==(r=t(this.safe,$.get("SafeMode").$$scope.get("SERVER")))&&r!==i?r:e["$empty?"]())===i||n.$$is_boolean&&1!=n)&&(((n=this.attributes["$[]="]("outfile",e["$[]"]("outfile")))===i||n.$$is_boolean&&1!=n)&&this.attributes.$delete("outfile"),((n=this.attributes["$[]="]("outdir",e["$[]"]("outdir")))===i||n.$$is_boolean&&1!=n)&&this.attributes.$delete("outdir")),((n=this.converter)===i||n.$$is_boolean&&1!=n)&&this.$fail("asciidoctor: FAILED: missing converter for backend '"+this.$backend()+"'. Processing aborted."),this.$doctype()["$=="]("inline")?(r=a=this.blocks["$[]"](0),s=(n=!1!==r&&r!==i?a.$content_model()["$!="]("compound"):r)===i||n.$$is_boolean&&1!=n?i:a.$content()):(u=(n=(r=e["$key?"]("header_footer"))===i||r.$$is_boolean&&1!=r?this.options["$[]"]("header_footer"):e["$[]"]("header_footer"))===i||n.$$is_boolean&&1!=n?"embedded":"document",s=this.converter.$convert(this,u)),!((n=this.parent_document)===i||n.$$is_boolean&&1!=n)||(r=c=this.extensions,(n=!1!==r&&r!==i?c["$postprocessors?"]():r)===i)||n.$$is_boolean&&1!=n||(n=(r=c.$postprocessors()).$each,n.$$p=(o=function(e){var t=o.$$s||this;return null==e&&(e=i),s=e.$process_method()["$[]"](t,s)},o.$$s=this,o),n).call(r),s}),e.alias(m,"render","convert"),e.defn(m,"$write",function(t,n){var r,o,a;return(r=$.get("Writer")["$==="](this.converter))===i||r.$$is_boolean&&1!=r?((r=n["$respond_to?"]("write"))===i||r.$$is_boolean&&1!=r?(r=(o=e.get("File")).$open,r.$$p=(a=function(e){return null==e&&(e=i),e.$write(t)},a.$$s=this,a),r).call(o,n,"w"):((r=t["$nil_or_empty?"]())===i||r.$$is_boolean&&1!=r)&&(n.$write(t.$chomp()),n.$write($.get("EOL"))),i):this.converter.$write(t,n)}),e.defn(m,"$content",h=function(){var t=o.call(arguments,0),n=h.$$p;return h.$$p=null,this.attributes.$delete("title"),e.find_super_dispatcher(this,"content",h,n).apply(this,t)}),e.defn(m,"$docinfo",function(e,n){var o,a,s,u,c=i,d=i,f=i,p=i,h=c=i,m=i,d=d=i;return null==e&&(e="head"),null==n&&(n=i),t(this.$safe(),$.get("SafeMode").$$scope.get("SECURE"))?"":(c=e["$=="]("footer")?"-footer":i,!1!==n&&n!==i||(n=this.outfilesuffix),d=this.attributes["$[]"]("docinfodir"),f=i,p=(o=(p=this.attributes["$[]"]("docinfo"))["$nil_or_empty?"]())===i||o.$$is_boolean&&1!=o?(o=(a=p.$split(",")).$map,o.$$p="strip".$to_proc(),o).call(a):(o=this.attributes["$key?"]("docinfo2"))===i||o.$$is_boolean&&1!=o?(o=this.attributes["$key?"]("docinfo1"))===i||o.$$is_boolean&&1!=o?!1!==p&&p!==i?["private"]:i:["shared"]:["private","shared"],!1!==p&&p!==i&&(c="docinfo"+c+n,((o=p["$&"](["shared","shared-"+e])["$empty?"]())===i||o.$$is_boolean&&1!=o)&&(h=this.$normalize_system_path(c,d),(o=f=this.$read_asset(h,l(["normalize"],{ +normalize:!0})))===i||o.$$is_boolean&&1!=o||(o=!1!==(s=m)&&s!==i?s:m=this.$resolve_docinfo_subs())===i||o.$$is_boolean&&1!=o||(f=(o=m["$=="]("attributes"))===i||o.$$is_boolean&&1!=o?this.$apply_subs(f,m):this.$sub_attributes(f))),((o=!1!==(s=this.attributes["$[]"]("docname")["$nil_or_empty?"]())&&s!==i?s:p["$&"](["private","private-"+e])["$empty?"]())===i||o.$$is_boolean&&1!=o)&&(h=this.$normalize_system_path(""+this.attributes["$[]"]("docname")+"-"+c,d),(o=d=this.$read_asset(h,l(["normalize"],{normalize:!0})))===i||o.$$is_boolean&&1!=o||((o=!1!==(s=m)&&s!==i?s:m=this.$resolve_docinfo_subs())===i||o.$$is_boolean&&1!=o||(d=(o=m["$=="]("attributes"))===i||o.$$is_boolean&&1!=o?this.$apply_subs(d,m):this.$sub_attributes(d)),f=!1!==f&&f!==i?""+f+$.get("EOL")+d:d))),s=this.extensions,(o=!1!==s&&s!==i?this["$docinfo_processors?"](e):s)===i||o.$$is_boolean&&1!=o||(d=r((o=(s=this.docinfo_processor_extensions["$[]"](e)).$map,o.$$p=(u=function(e){var t=u.$$s||this;return null==e&&(e=i),e.$process_method()["$[]"](t)},u.$$s=this,u),o).call(s).$compact(),$.get("EOL")),f=!1!==f&&f!==i?""+f+$.get("EOL")+d:d),""+f)}),e.defn(m,"$resolve_docinfo_subs",function(){var e,t=i;return(e=this.attributes["$key?"]("docinfosubs"))===i||e.$$is_boolean&&1!=e?"attributes":(t=this.$resolve_subs(this.attributes["$[]"]("docinfosubs"),"block",i,"docinfo"),(e=t["$empty?"]())===i||e.$$is_boolean&&1!=e?t:i)}),e.defn(m,"$docinfo_processors?",function(e){var t,n;return null==e&&(e="head"),(t=this.docinfo_processor_extensions["$key?"](e))===i||t.$$is_boolean&&1!=t?(n=this.extensions,(t=!1!==n&&n!==i?this.document.$extensions()["$docinfo_processors?"](e):n)===i||t.$$is_boolean&&1!=t?this.docinfo_processor_extensions["$[]="](e,!1):this.docinfo_processor_extensions["$[]="](e,this.document.$extensions().$docinfo_processors(e))["$!"]()["$!"]()):this.docinfo_processor_extensions["$[]"](e)["$!="](!1)}),e.defn(m,"$to_s",function(){var e;return"#<"+this.$class()+"@"+this.$object_id()+" {doctype: "+this.$doctype().$inspect()+", doctitle: "+((e=this.header["$!="](i))===i||e.$$is_boolean&&1!=e?i:this.header.$title()).$inspect()+", blocks: "+this.blocks.$size()+"}>"}),i&&"to_s"}(c.base,c.get("AbstractBlock"))}(e.base)},i.modules["asciidoctor/inline"]=function(e){e.dynamic_require_severity="ignore";var t=e.nil,n=e.module,r=e.klass,i=e.hash2;return e.add_stubs("$attr_reader $attr_accessor $[] $nil_or_empty? $update_attributes $convert $converter".split(" ")),function(o){o=n(o,"Asciidoctor").$$scope,function(n,o){function a(){}var s,l=a=r(n,o,"Inline",a);return l.$attr_reader("text"),l.$attr_reader("type"),l.$attr_accessor("target"),e.defn(l,"$initialize",s=function(n,r,o,a){var l,u=t;return null==o&&(o=t),null==a&&(a=i([],{})),s.$$p=null,e.find_super_dispatcher(this,"initialize",s,null).apply(this,[n,r]),this.node_name="inline_"+r,this.text=o,this.id=a["$[]"]("id"),this.type=a["$[]"]("type"),this.target=a["$[]"]("target"),(l=(u=a["$[]"]("attributes"))["$nil_or_empty?"]())===t||l.$$is_boolean&&1!=l?this.$update_attributes(u):t}),e.defn(l,"$block?",function(){return!1}),e.defn(l,"$inline?",function(){return!0}),e.defn(l,"$convert",function(){return this.$converter().$convert(this)}),e.alias(l,"render","convert")}(o.base,o.get("AbstractNode"))}(e.base)},i.modules["asciidoctor/list"]=function(e){e.dynamic_require_severity="ignore";var t=e.nil,n=e.slice,r=e.module,i=e.klass;return e.add_stubs("$== $next_list $callouts $class $object_id $inspect $size $items $attr_accessor $level $! $nil_or_empty? $apply_subs $empty? $=== $[] $outline? $simple? $context $option? $shift $blocks $unshift $lines $source $parent".split(" ")),function(o){o=r(o,"Asciidoctor").$$scope,function(r,o){function a(){}var s,l,u=a=i(r,o,"List",a),c=u.$$proto;return c.context=c.document=c.style=t,e.alias(u,"items","blocks"),e.alias(u,"content","blocks"),e.alias(u,"items?","blocks?"),e.defn(u,"$initialize",s=function(t,r){var i=n.call(arguments,0),o=s.$$p;return s.$$p=null,e.find_super_dispatcher(this,"initialize",s,o).apply(this,i)}),e.defn(u,"$outline?",function(){var e;return!1!==(e=this.context["$=="]("ulist"))&&e!==t?e:this.context["$=="]("olist")}),e.defn(u,"$convert",l=function(){var r=n.call(arguments,0),i=l.$$p,o=t;return l.$$p=null,this.context["$=="]("colist")?(o=e.find_super_dispatcher(this,"convert",l,i).apply(this,r),this.document.$callouts().$next_list(),o):e.find_super_dispatcher(this,"convert",l,i).apply(this,r)}),e.alias(u,"render","convert"),e.defn(u,"$to_s",function(){return"#<"+this.$class()+"@"+this.$object_id()+" {context: "+this.context.$inspect()+", style: "+this.style.$inspect()+", items: "+this.$items().$size()+"}>"}),t&&"to_s"}(o.base,o.get("AbstractBlock")),function(n,r){function o(){}var a,s=o=i(n,r,"ListItem",o),l=s.$$proto,u=s.$$scope;return l.text=l.blocks=t,s.$attr_accessor("marker"),e.defn(s,"$initialize",a=function(n,r){return null==r&&(r=t),a.$$p=null,e.find_super_dispatcher(this,"initialize",a,null).apply(this,[n,"list_item"]),this.text=r,this.level=n.$level()}),e.defn(s,"$text?",function(){return this.text["$nil_or_empty?"]()["$!"]()}),e.defn(s,"$text",function(){return this.$apply_subs(this.text)}),e.defn(s,"$simple?",function(){var e,n,r=t;return!1!==(e=this.blocks["$empty?"]())&&e!==t?e:(n=this.blocks.$size()["$=="](1)?u.get("List")["$==="](r=this.blocks["$[]"](0)):this.blocks.$size()["$=="](1),!1!==n&&n!==t?r["$outline?"]():n)}),e.defn(s,"$compound?",function(){return this["$simple?"]()["$!"]()}),e.defn(s,"$fold_first",function(e,n){var r,i,o,a,s,l,c=t,d=t;return null==e&&(e=!1),null==n&&(n=!1),o=c=this.blocks["$[]"](0),i=!1!==o&&o!==t?u.get("Block")["$==="](c):o,(r=!1!==i&&i!==t?!1!==(o=c.$context()["$=="]("paragraph")?e["$!"]():c.$context()["$=="]("paragraph"))&&o!==t?o:(s=!1!==(l=n)&&l!==t?l:e["$!"](),a=!1!==s&&s!==t?c.$context()["$=="]("literal"):s,!1!==a&&a!==t?c["$option?"]("listparagraph"):a):i)===t||r.$$is_boolean&&1!=r||(d=this.$blocks().$shift(),((r=this.text["$nil_or_empty?"]())===t||r.$$is_boolean&&1!=r)&&d.$lines().$unshift(this.text),this.text=d.$source()),t}),e.defn(s,"$to_s",function(){var e;return"#<"+this.$class()+"@"+this.$object_id()+" {list_context: "+this.$parent().$context().$inspect()+", text: "+this.text.$inspect()+", blocks: "+(!1!==(e=this.blocks)&&e!==t?e:[]).$size()+"}>"}),t&&"to_s"}(o.base,o.get("AbstractBlock"))}(e.base)},i.modules["asciidoctor/parser"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e>t:e["$>"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}function i(e,t){return"number"==typeof e&&"number"==typeof t?e>=t:e["$>="](t)}function o(e,t){return"number"==typeof e&&"number"==typeof t?e-t:e["$-"](t)}function a(e,t){return"number"==typeof e&&"number"==typeof t?e<=t:e["$<="](t)}function s(e,t){return"number"==typeof e&&"number"==typeof t?e $line_info $size $* $next_block $blocks? $style $context= $style= $parent= $content_model $shift $unwrap_standalone_preamble $dup $fetch $extensions $block_macros? $=== $parse_block_metadata_line $advance $read_line $terminator $to_s $masq $to_sym $registered_for_block? $strict_verbatim_paragraphs $unshift_line $markdown_syntax $chr $lstrip $>= $length $end_with? $parse_attributes $attribute_missing $clear $registered_for_block_macro? $config $each $process_method $replace $peek_line $path $- $lineno $next_list_item $callout_ids $callouts $items $next_list $next_outline_list $marker $detect $next_labeled_list $is_section_title? $underline_style_section_titles $generate_id $level= $read_paragraph_lines $adjust_indentation! $set_option $catalog_inline_anchors $post_match $map! $split $pop $build_block $blockquote? $chop $tr $rekey $next_table $concat $title? $register $basename $sub_specialchars $assign_caption $ord $caption $caption= $title $update $lock_in_subs $sub? $catalog_callouts $source $remove_sub $block_terminates_paragraph $to_proc $<= $< $nil? $lines $parse_blocks $resolve_list_marker $items? $parent $scan $marker= $read_lines_for_list_item $skip_line_comments $unshift_lines $fold_first $text? $is_sibling_list_item? $delete_at $sectname= $special= $update_attributes $peek_lines $is_single_line_section_title? $is_two_line_section_title? $single_line_section_level $abs $line_length $section_level $process_attribute_entries $next_line_empty? $process_authors $is_a? $apply_header_subs $map $each_with_index $zero? $push $to_a $process_attribute_entry $skip_comment_lines $store_attribute $sanitize_attribute_name $delete_attribute $save_to $resolve_ordered_list_marker $chomp $roman_numeral_to_int $parse_col_specs $create_columns $has_header_option= $format $starts_with_delimiter? $close_open_cell $parse_cell_spec $delimiter $match_delimiter $buffer_has_unclosed_quotes? $pre_match $skip_matched_delimiter $buffer= $buffer $keep_cell_open $push_cell_spec $close_cell $cell_open? $columns $assign_col_widths $partition_header_footer $upto $shorthand_property_syntax $each_char $call $sub! $gsub! $% $begin $gsub".split(" ")),function(g){!function(c,g){function $(){}var _,v,b,y,x=$=d(c,g,"Parser",$),k=x.$$scope;return e.cdecl(k,"BlockMatchData",k.get("Struct").$new("context","masq","tip","terminator")),e.cdecl(k,"TabRx",/\t/),e.cdecl(k,"TabIndentRx",/^\t+/),e.cdecl(k,"StartOfBlockProc",(_=x.$lambda,_.$$p=(v=function(e){var t,n,r=v.$$s||this;return null==e&&(e=l),!1!==(n=e["$start_with?"]("["),t=!1!==n&&n!==l?k.get("BlockAttributeLineRx")["$=~"](e):n)&&t!==l?t:r["$is_delimited_block?"](e)},v.$$s=x,v),_).call(x)),e.cdecl(k,"StartOfListProc",(_=x.$lambda,_.$$p=(b=function(e){return null==e&&(e=l),k.get("AnyListRx")["$=~"](e)},b.$$s=x,b),_).call(x)),e.cdecl(k,"StartOfBlockOrListProc",(_=x.$lambda,_.$$p=(y=function(e){var t,n,r,i=y.$$s||this;return null==e&&(e=l),!1!==(t=!1!==(n=i["$is_delimited_block?"](e))&&n!==l?n:(r=e["$start_with?"]("["),!1!==r&&r!==l?k.get("BlockAttributeLineRx")["$=~"](e):r))&&t!==l?t:k.get("AnyListRx")["$=~"](e)},y.$$s=x,y),_).call(x)),e.cdecl(k,"NoOp",l),e.defn(x,"$initialize",function(){return this.$raise("Au contraire, mon frere. No lexer instances will be running around.")}),e.defs(x,"$parse",function(t,n,r){var i,o,a=l,s=l;if(null==r&&(r=f([],{})),a=this.$parse_document_header(t,n),(i=r["$[]"]("header_only"))===l||i.$$is_boolean&&1!=i)for(;(o=t["$has_more_lines?"]())!==l&&(!o.$$is_boolean||1==o);)o=e.to_ary(this.$next_section(t,n,a)),s=null==o[0]?l:o[0],a=null==o[1]?l:o[1],!1!==s&&s!==l&&n["$<<"](s);return n}),e.defs(x,"$parse_document_header",function(t,n){var r,i,o=l,a=l,s=l,u=l,c=l,d=l,f=a=c=l,a=a=l,o=this.$parse_block_metadata_lines(t,n);return i=a=this["$is_next_line_document_title?"](t,o),(r=!1!==i&&i!==l?o["$has_key?"]("title"):i)===l||r.$$is_boolean&&1!=r?(s=l,((r=(u=n.$attributes()["$[]"]("doctitle"))["$nil_or_empty?"]())===l||r.$$is_boolean&&1!=r)&&(r=[s=u],i=n,i["$title="].apply(i,r),r[r.length-1]),c=l,!1!==a&&a!==l&&((r=n.$sourcemap())===l||r.$$is_boolean&&1!=r||(d=t.$cursor()),r=e.to_ary(this.$parse_section_title(t,n)),n["$id="](null==r[0]?l:r[0]),c=null==r[2]?l:r[2],a=null==r[4]?l:r[4],!1!==s&&s!==l||(r=[s=c],i=n,i["$title="].apply(i,r),r[r.length-1]),!1!==a&&a!==l||n.$set_attribute("compat-mode",""),(r=f=o.$delete("separator"))===l||r.$$is_boolean&&1!=r||n.$set_attribute("title-separator",f),!1!==d&&d!==l&&(r=[d],i=n.$header(),i["$source_location="].apply(i,r),r[r.length-1]),n.$attributes()["$[]="]("doctitle",c),(r=n.$id())===l||r.$$is_boolean&&1!=r?((r=a=o.$delete(1))===l||r.$$is_boolean&&1!=r||(a=p(1,a),this.$parse_style_attribute(a,t),(r=a["$key?"]("id"))===l||r.$$is_boolean&&1!=r)||o["$[]="]("id",a["$[]"]("id")),r=[o.$delete("id")],i=n,i["$id="].apply(i,r),r[r.length-1]):(o.$delete(1),o.$delete("id")),this.$parse_header_metadata(t,n)),((r=!1!==(i=(u=n.$attributes()["$[]"]("doctitle"))["$nil_or_empty?"]())&&i!==l?i:u["$=="](c))===l||r.$$is_boolean&&1!=r)&&(r=[s=u],i=n,i["$title="].apply(i,r),r[r.length-1]),!1!==s&&s!==l&&n.$attributes()["$[]="]("doctitle",s),n.$doctype()["$=="]("manpage")&&this.$parse_manpage_header(t,n),n.$finalize_header(o)):n.$finalize_header(o,!1)}),e.defs(x,"$parse_manpage_header",function(e,t){var n,r=l,r=r=l;return(n=r=k.get("ManpageTitleVolnumRx").$match(t.$attributes()["$[]"]("doctitle")))===l||n.$$is_boolean&&1!=n?(this.$warn("asciidoctor: ERROR: "+e.$prev_line_info()+": malformed manpage title"),t.$attributes()["$[]="]("mantitle",t.$attributes()["$[]"]("doctitle")),t.$attributes()["$[]="]("manvolnum","1")):(t.$attributes()["$[]="]("mantitle",t.$sub_attributes(r["$[]"](1).$rstrip().$downcase())),t.$attributes()["$[]="]("manvolnum",r["$[]"](2).$strip())),e.$skip_blank_lines(),(n=this["$is_next_line_section?"](e,f([],{})))===l||n.$$is_boolean&&1!=n?this.$warn("asciidoctor: ERROR: "+e.$prev_line_info()+": name section expected"):(r=this.$initialize_section(e,t,f([],{})),r.$level()["$=="](1)?(r=e.$read_lines_until(f(["break_on_blank_lines"],{break_on_blank_lines:!0})).$join(" ").$tr_s(" "," "),(n=r=k.get("ManpageNamePurposeRx").$match(r))===l||n.$$is_boolean&&1!=n?this.$warn("asciidoctor: ERROR: "+e.$prev_line_info()+": malformed name section body"):(t.$attributes()["$[]="]("manname",t.$sub_attributes(r["$[]"](1))),t.$attributes()["$[]="]("manpurpose",r["$[]"](2)),t.$backend()["$=="]("manpage")?(t.$attributes()["$[]="]("docname",t.$attributes()["$[]"]("manname")),t.$attributes()["$[]="]("outfilesuffix","."+t.$attributes()["$[]"]("manvolnum"))):l)):this.$warn("asciidoctor: ERROR: "+e.$prev_line_info()+": name section title must be at level 1"))}),e.defs(x,"$next_section",function(i,o,a){var s,u,c,d,p=l,h=l,m=l,g=l,$=l,_=l,v=l,b=l,y=v=l,x=y=y=l,w=l,$=h=l;for(null==a&&(a=f([],{})),m=h=p=!1,u=(c=o.$context()["$=="]("document"))?o.$blocks()["$empty?"]():o.$context()["$=="]("document"),(s=!1!==u&&u!==l?!1!==(c=!1!==(d=g=o["$has_header?"]())&&d!==l?d:a.$delete("invalid-header"))&&c!==l?c:this["$is_next_line_section?"](i,a)["$!"]():u)===l||s.$$is_boolean&&1!=s?($=o.$document().$doctype(),_=this.$initialize_section(i,o,a),a=(s=v=a["$[]"]("title"))===l||s.$$is_boolean&&1!=s?f([],{}):f(["title"],{title:v}),v=_.$level(),(s=(u=v["$=="](0))?$["$=="]("book"):v["$=="](0))===l||s.$$is_boolean&&1!=s?b=[t(v,1)]:(h=_.$special()["$!"](),u=_.$special(),b=(s=!1!==u&&u!==l?["preface","appendix"]["$include?"](_.$sectname()):u)===l||s.$$is_boolean&&1!=s?[t(v,1)]:[t(v,2)])):($=o.$doctype(),(s=!1!==(u=g)&&u!==l?u:(c=$["$=="]("book"))?a["$[]"](1)["$!="]("abstract"):$["$=="]("book"))===l||s.$$is_boolean&&1!=s||(p=m=k.get("Block").$new(o,"preamble",f(["content_model"],{content_model:"compound"})),(s=(u=$["$=="]("book"))?o["$attr?"]("preface-title"):$["$=="]("book"))===l||s.$$is_boolean&&1!=s||(s=[o.$attr("preface-title")],u=p,u["$title="].apply(u,s),s[s.length-1]),o["$<<"](p)),_=o,v=0,b=(s=o.$attributes()["$has_key?"]("fragment"))===l||s.$$is_boolean&&1!=s?$["$=="]("book")?[0,1]:[1]:l),i.$skip_blank_lines();(u=i["$has_more_lines?"]())!==l&&(!u.$$is_boolean||1==u);){if(this.$parse_block_metadata_lines(i,_,a),(u=y=this["$is_next_line_section?"](i,a))===l||u.$$is_boolean&&1!=u)y=i.$line_info(),(u=x=this.$next_block(i,!1!==(c=m)&&c!==l?c:_,a,f(["parse_metadata"],{parse_metadata:!1})))===l||u.$$is_boolean&&1!=u||(!1!==h&&h!==l&&((u=_["$blocks?"]()["$!"]())===l||u.$$is_boolean&&1!=u?_.$blocks().$size()["$=="](1)&&(w=_.$blocks()["$[]"](0),c=m["$!"](),(u=!1!==c&&c!==l?w.$content_model()["$=="]("compound"):c)===l||u.$$is_boolean&&1!=u?(u=w.$content_model()["$!="]("compound"))===l||u.$$is_boolean&&1!=u||(m=k.get("Block").$new(_,"open",f(["content_model"],{content_model:"compound"})),u=["partintro"],c=m,c["$style="].apply(c,u),u[u.length-1],_.$blocks().$shift(),w.$style()["$=="]("partintro")&&(u=["paragraph"],c=w,c["$context="].apply(c,u),u[u.length-1],u=[l],c=w,c["$style="].apply(c,u),u[u.length-1]),u=[m],c=w,c["$parent="].apply(c,u),u[u.length-1],m["$<<"](w),u=[m],c=x,c["$parent="].apply(c,u),u[u.length-1],_["$<<"](m)):this.$warn("asciidoctor: ERROR: "+y+": illegal block content outside of partintro block")):(u=x.$style()["$!="]("partintro"))===l||u.$$is_boolean&&1!=u||(x.$context()["$=="]("paragraph")?(u=["open"],c=x,c["$context="].apply(c,u),u[u.length-1],u=["partintro"],c=x,c["$style="].apply(c,u),u[u.length-1]):(m=k.get("Block").$new(_,"open",f(["content_model"],{content_model:"compound"})),u=["partintro"],c=m,c["$style="].apply(c,u),u[u.length-1],u=[m],c=x,c["$parent="].apply(c,u),u[u.length-1],_["$<<"](m)))),(!1!==(u=m)&&u!==l?u:_)["$<<"](x),a=f([],{}));else{if(y=t(y,_.$document().$attr("leveloffset",0).$to_i()),(u=!1!==(c=n(y,v))&&c!==l?c:_.$context()["$=="]("document")?y["$=="](0):_.$context()["$=="]("document"))===l||u.$$is_boolean&&1!=u){(u=(c=y["$=="](0))?$["$!="]("book"):y["$=="](0))===l||u.$$is_boolean&&1!=u||this.$warn("asciidoctor: ERROR: "+i.$line_info()+": only book doctypes can contain level 0 sections");break}(u=(c=y["$=="](0))?$["$!="]("book"):y["$=="](0))===l||u.$$is_boolean&&1!=u?(u=(c=!1!==b&&b!==l)?b["$include?"](y)["$!"]():b)===l||u.$$is_boolean&&1!=u||this.$warn(t(t("asciidoctor: WARNING: "+i.$line_info()+": section title out of sequence: ","expected "+(n(b.$size(),1)?"levels":"level")+" "+r(b," or ")+", "),"got level "+y)):this.$warn("asciidoctor: ERROR: "+i.$line_info()+": only book doctypes can contain level 0 sections"),u=e.to_ary(this.$next_section(i,_,a)),y=null==u[0]?l:u[0],a=null==u[1]?l:u[1],_["$<<"](y)}i.$skip_blank_lines()}if(!1!==h&&h!==l)u=_["$blocks?"](),((s=!1!==u&&u!==l?_.$blocks()["$[]"](-1).$context()["$=="]("section"):u)===l||s.$$is_boolean&&1!=s)&&this.$warn("asciidoctor: ERROR: "+i.$line_info()+": invalid part, must have at least one section (e.g., chapter, appendix, etc.)");else if(!1!==p&&p!==l)if(h=o,(s=p["$blocks?"]())===l||s.$$is_boolean&&1!=s)h.$blocks().$shift();else if(c=k.get("Compliance").$unwrap_standalone_preamble(),u=!1!==c&&c!==l?h.$blocks().$size()["$=="](1):c,(s=!1!==u&&u!==l?$["$!="]("book"):u)!==l&&(!s.$$is_boolean||1==s))for(h.$blocks().$shift();(u=$=p.$blocks().$shift())!==l&&(!u.$$is_boolean||1==u);)u=[h],c=$,c["$parent="].apply(c,u),u[u.length-1],h["$<<"]($);return[(s=_["$!="](o))===l||s.$$is_boolean&&1!=s?l:_,a.$dup()]}),e.defs(x,"$next_block",function(r,a,s,u){var c,d,p,m,g,$,_,v,b,y,x,w=l,E=l,A=l,C=l,S=l,T=l,M=l,D=l,L=l,F=l,O=l,R=l,I=l,B=l,P=g=l,j=l,N=l,z=l,q=z=l,Y=g=z=g=l,H=z=L=L=l,U=l,W=l,G=g=L=L=H=z=g=L=H=l,V=B=P=g=z=g=g=l,K=l,J=l,X=B=P=P=l,Z=w=l,Q=l;if(null==s&&(s=f([],{})),null==u&&(u=f([],{})),w=r.$skip_blank_lines(),(c=r["$has_more_lines?"]())===l||c.$$is_boolean&&1!=c)return l;for(d=E=u["$[]"]("text"),(c=!1!==d&&d!==l?n(w,0):d)===l||c.$$is_boolean&&1!=c||(u.$delete("text"),E=!1),A=u.$fetch("parse_metadata",!0),C=a.$document(),(c=S=C.$extensions())===l||c.$$is_boolean&&1!=c?T=M=!1:(T=S["$blocks?"](),M=S["$block_macros?"]()),D=k.get("ListItem")["$==="](a),O=F=L=l,R=C.$sourcemap(),I=l;p=L["$!"](),(d=!1!==p&&p!==l?r["$has_more_lines?"]():p)!==l&&(!d.$$is_boolean||1==d);)if((d=(p=!1!==A&&A!==l)?this.$parse_block_metadata_line(r,C,s,u):A)===l||d.$$is_boolean&&1!=d){if(!1!==R&&R!==l&&(I=r.$cursor()),B=r.$read_line(),g=!1,N=j=P=l,(d=s["$[]"](1))===l||d.$$is_boolean&&1!=d||(d=e.to_ary(this.$parse_style_attribute(s,r)),F=null==d[0]?l:d[0],O=null==d[1]?l:d[1]),(d=z=this["$is_delimited_block?"](B,!0))===l||d.$$is_boolean&&1!=d||(g=!0,P=j=z.$context(),N=z.$terminator(),(d=F["$!"]())===l||d.$$is_boolean&&1!=d?(d=F["$!="](P.$to_s()))===l||d.$$is_boolean&&1!=d||((d=z.$masq()["$include?"](F))===l||d.$$is_boolean&&1!=d?(p=z.$masq()["$include?"]("admonition"),(d=!1!==p&&p!==l?k.get("ADMONITION_STYLES")["$include?"](F):p)===l||d.$$is_boolean&&1!=d?(d=(p=!1!==T&&T!==l)?S["$registered_for_block?"](F,P):T)===l||d.$$is_boolean&&1!=d?(this.$warn("asciidoctor: WARNING: "+r.$prev_line_info()+": invalid style for "+P+" block: "+F),F=P.$to_s()):P=F.$to_sym():P="admonition"):P=F.$to_sym()):F=s["$[]="]("style",P.$to_s())),!1===g||g===l)for(;(p=!0)!==l&&(!p.$$is_boolean||1==p);){if(m=(g=!1!==F&&F!==l)?k.get("Compliance").$strict_verbatim_paragraphs():F,(p=!1!==m&&m!==l?k.get("VERBATIM_STYLES")["$include?"](F):m)!==l&&(!p.$$is_boolean||1==p)){P=F.$to_sym(),r.$unshift_line(B);break}if(!1===E||E===l){if(z=(p=k.get("Compliance").$markdown_syntax())===l||p.$$is_boolean&&1!=p?B.$chr():B.$lstrip().$chr(),g=k.get("LAYOUT_BREAK_LINES")["$has_key?"](z),m=!1!==g&&g!==l?i(B.$length(),3):g,!((p=!1!==m&&m!==l?((g=k.get("Compliance").$markdown_syntax())===l||g.$$is_boolean&&1!=g?k.get("LayoutBreakLineRx"):k.get("LayoutBreakLinePlusRx"))["$=~"](B):m)===l||p.$$is_boolean&&1!=p)){L=k.get("Block").$new(a,k.get("LAYOUT_BREAK_LINES")["$[]"](z),f(["content_model"],{content_model:"empty"}));break}if(m=B["$end_with?"]("]"),!((p=!1!==m&&m!==l?q=k.get("MediaBlockMacroRx").$match(B):m)===l||p.$$is_boolean&&1!=p)){if(g=q["$[]"](1).$to_sym(),L=k.get("Block").$new(a,g,f(["content_model"],{content_model:"empty"})),z=g["$=="]("image")?["alt","width","height"]:g["$=="]("video")?["poster","width","height"]:[],((p=!1!==(m=F["$!"]())&&m!==l?m:O)===l||p.$$is_boolean&&1!=p)&&(g["$=="]("image")&&s["$[]="]("alt",F),s.$delete("style"),F=l),L.$parse_attributes(q["$[]"](3),z,f(["unescape_input","sub_input","sub_result","into"],{unescape_input:g["$=="]("image"),sub_input:!0,sub_result:!1,into:s})),g=L.$sub_attributes(q["$[]"](2),f(["attribute_missing"],{attribute_missing:"drop-line"})),(p=g["$empty?"]())!==l&&(!p.$$is_boolean||1==p))return C.$attributes().$fetch("attribute-missing",k.get("Compliance").$attribute_missing())["$=="]("skip")?k.get("Block").$new(a,"paragraph",f(["content_model","source"],{content_model:"simple",source:[B]})):(s.$clear(),l);s["$[]="]("target",g);break}if(!((p=(m=z["$=="]("t"))?q=k.get("TocBlockMacroRx").$match(B):z["$=="]("t"))===l||p.$$is_boolean&&1!=p)){L=k.get("Block").$new(a,"toc",f(["content_model"],{content_model:"empty"})),L.$parse_attributes(q["$[]"](1),[],f(["sub_result","into"],{sub_result:!1,into:s}));break}if(m=(g=!1!==M&&M!==l)?q=k.get("GenericBlockMacroRx").$match(B):M,(p=!1!==m&&m!==l?Y=S["$registered_for_block_macro?"](q["$[]"](1)):m)!==l&&(!p.$$is_boolean||1==p)){if(g=q["$[]"](2),L=q["$[]"](3),Y.$config()["$[]"]("content_model")["$=="]("attributes")?((p=L["$empty?"]())===l||p.$$is_boolean&&1!=p)&&C.$parse_attributes(L,!1!==(p=Y.$config()["$[]"]("pos_attrs"))&&p!==l?p:[],f(["sub_input","sub_result","into"],{sub_input:!0,sub_result:!1,into:s})):s["$[]="]("text",L),(p=L=Y.$config()["$[]"]("default_attrs"))===l||p.$$is_boolean&&1!=p||(p=(m=L).$each,p.$$p=($=function(e,t){var n,r,i;return null==e&&(e=l),null==t&&(t=l),n=e,r=s,!1!==(i=r["$[]"](n))&&i!==l?i:r["$[]="](n,t)},$.$$s=this,$),p).call(m),(p=L=Y.$process_method()["$[]"](a,g,s.$dup()))===l||p.$$is_boolean&&1!=p)return s.$clear(),l;s.$replace(L.$attributes());break}}if(!((p=q=k.get("CalloutListRx").$match(B))===l||p.$$is_boolean&&1!=p)){for(L=k.get("List").$new(a,"colist"),s["$[]="]("style","arabic"),r.$unshift_line(B),z=1;(g=!1!==(_=q)&&_!==l?_:(v=r["$has_more_lines?"](),!1!==v&&v!==l?q=k.get("CalloutListRx").$match(r.$peek_line()):v))!==l&&(!g.$$is_boolean||1==g);)(g=q["$[]"](1).$to_i()["$!="](z))===l||g.$$is_boolean&&1!=g||this.$warn("asciidoctor: WARNING: "+r.$path()+": line "+o(r.$lineno(),2)+": callout list item index: expected "+z+" got "+q["$[]"](1)),H=this.$next_list_item(r,L,q),z=t(z,1),!1!==H&&H!==l&&(L["$<<"](H),U=C.$callouts().$callout_ids(L.$items().$size()),(g=U["$empty?"]()["$!"]())===l||g.$$is_boolean&&1!=g?this.$warn("asciidoctor: WARNING: "+r.$path()+": line "+o(r.$lineno(),2)+": no callouts refer to list item "+L.$items().$size()):H.$attributes()["$[]="]("coids",U)),q=l;C.$callouts().$next_list();break}if(!((p=k.get("UnorderedListRx")["$=~"](B))===l||p.$$is_boolean&&1!=p)){r.$unshift_line(B),L=this.$next_outline_list(r,"ulist",a);break}if(!((p=q=k.get("OrderedListRx").$match(B))===l||p.$$is_boolean&&1!=p)){r.$unshift_line(B),L=this.$next_outline_list(r,"olist",a),g=s["$[]"]("style")["$!"](),(p=!1!==g&&g!==l?L.$attributes()["$[]"]("style")["$!"]():g)===l||p.$$is_boolean&&1!=p||(W=L.$items()["$[]"](0).$marker(),(p=W["$start_with?"]("."))===l||p.$$is_boolean&&1!=p?(F=(p=(g=k.get("ORDERED_LIST_STYLES")).$detect,p.$$p=(b=function(e){return null==e&&(e=l),k.get("OrderedListMarkerRxMap")["$[]"](e)["$=~"](W)},b.$$s=this,b),p).call(g),s["$[]="]("style",(!1!==(p=F)&&p!==l?p:k.get("ORDERED_LIST_STYLES")["$[]"](0)).$to_s())):s["$[]="]("style",(!1!==(p=k.get("ORDERED_LIST_STYLES")["$[]"](o(W.$length(),1)))&&p!==l?p:k.get("ORDERED_LIST_STYLES")["$[]"](0)).$to_s()));break}if(!((p=q=k.get("DefinitionListRx").$match(B))===l||p.$$is_boolean&&1!=p)){r.$unshift_line(B),L=this.$next_labeled_list(r,q,a);break}if(_=!1!==(v=F["$=="]("float"))&&v!==l?v:F["$=="]("discrete"),!((p=!1!==_&&_!==l?this["$is_section_title?"](B,(v=k.get("Compliance").$underline_style_section_titles())===l||v.$$is_boolean&&1!=v?l:r.$peek_line(!0)):_)===l||p.$$is_boolean&&1!=p)){r.$unshift_line(B),p=e.to_ary(this.$parse_section_title(r,C)),H=null==p[0]?l:p[0],L=null==p[1]?l:p[1],g=null==p[2]?l:p[2],z=null==p[3]?l:p[3],!1!==L&&L!==l&&s["$[]="]("reftext",L),(p=s["$has_key?"]("id"))===l||p.$$is_boolean&&1!=p||(!1!==(p=H)&&p!==l?p:H=s["$[]"]("id")),L=k.get("Block").$new(a,"floating_title",f(["content_model"],{content_model:"empty"})),(p=H["$nil_or_empty?"]())===l||p.$$is_boolean&&1!=p?p=[H]:(H=k.get("Section").$new(a),p=[g],_=H,_["$title="].apply(_,p),p[p.length-1],p=[H.$generate_id()]),_=L,_["$id="].apply(_,p),p[p.length-1],p=[z],_=L,_["$level="].apply(_,p),p[p.length-1],p=[g],_=L,_["$title="].apply(_,p),p[p.length-1];break}if((p=(_=!1!==F&&F!==l)?F["$!="]("normal"):F)!==l&&(!p.$$is_boolean||1==p)){if(!((p=k.get("PARAGRAPH_STYLES")["$include?"](F))===l||p.$$is_boolean&&1!=p)){P=F.$to_sym(),j="paragraph",r.$unshift_line(B);break}if(!((p=k.get("ADMONITION_STYLES")["$include?"](F))===l||p.$$is_boolean&&1!=p)){P="admonition",j="paragraph",r.$unshift_line(B);break}if(!((p=(_=!1!==T&&T!==l)?S["$registered_for_block?"](F,"paragraph"):T)===l||p.$$is_boolean&&1!=p)){P=F.$to_sym(),j="paragraph",r.$unshift_line(B);break}this.$warn("asciidoctor: WARNING: "+r.$prev_line_info()+": invalid style for paragraph: "+F),F=l}if(L=(p=w["$=="](0))?D:w["$=="](0),_=F["$!="]("normal"),(p=!1!==_&&_!==l?k.get("LiteralParagraphRx")["$=~"](B):_)===l||p.$$is_boolean&&1!=p){if(r.$unshift_line(B),L=this.$read_paragraph_lines(r,L,f(["skip_line_comments"],{skip_line_comments:!0})),(p=L["$empty?"]())!==l&&(!p.$$is_boolean||1==p))return r.$advance(),l;if(this.$catalog_inline_anchors(L.$join(k.get("EOL")),C),g=L["$[]"](0),_=E["$!"](),(p=!1!==_&&_!==l?G=k.get("AdmonitionParagraphRx").$match(g):_)===l||p.$$is_boolean&&1!=p)if(v=E["$!"](),_=!1!==v&&v!==l?k.get("Compliance").$markdown_syntax():v,(p=!1!==_&&_!==l?g["$start_with?"]("> "):_)===l||p.$$is_boolean&&1!=p)if(v=E["$!"](),(p=!1!==v&&v!==l?this["$blockquote?"](L,g):v)===l||p.$$is_boolean&&1!=p)F["$=="]("normal")&&this["$adjust_indentation!"](L),L=k.get("Block").$new(a,"paragraph",f(["content_model","source","attributes"],{content_model:"simple",source:L,attributes:s}));else{for(L["$[]="](0,g["$[]"](h(1,-1,!1))),p=e.to_ary(L.$pop()["$[]"](h(3,-1,!1)).$split(", ",2)),g=null==p[0]?l:p[0],z=null==p[1]?l:p[1];(v=L["$[]"](-1)["$empty?"]())!==l&&(!v.$$is_boolean||1==v);)L.$pop();L["$[]="](-1,L["$[]"](-1).$chop()),s["$[]="]("style","quote"),!1!==g&&g!==l&&s["$[]="]("attribution",g),!1!==z&&z!==l&&s["$[]="]("citetitle",z),L=k.get("Block").$new(a,"quote",f(["content_model","source","attributes"],{content_model:"simple",source:L,attributes:s}))}else{if((p=(_=L)["$map!"],p.$$p=(y=function(e){var t;return null==e&&(e=l),e["$=="](">")?e["$[]"](h(1,-1,!1)):(t=e["$start_with?"]("> "))===l||t.$$is_boolean&&1!=t?e:e["$[]"](h(2,-1,!1))},y.$$s=this,y),p).call(_),(p=L["$[]"](-1)["$start_with?"]("-- "))===l||p.$$is_boolean&&1!=p)p=e.to_ary(l),g=null==p[0]?l:p[0],z=null==p[1]?l:p[1];else for(p=e.to_ary(L.$pop()["$[]"](h(3,-1,!1)).$split(", ",2)),g=null==p[0]?l:p[0],z=null==p[1]?l:p[1];(v=L["$[]"](-1)["$empty?"]())!==l&&(!v.$$is_boolean||1==v);)L.$pop();s["$[]="]("style","quote"),!1!==g&&g!==l&&s["$[]="]("attribution",g),!1!==z&&z!==l&&s["$[]="]("citetitle",z),L=this.$build_block("quote","compound",!1,a,k.get("Reader").$new(L),s)}else L["$[]="](0,G.$post_match().$lstrip()),s["$[]="]("style",G["$[]"](1)),s["$[]="]("name",g=G["$[]"](1).$downcase()),p="caption",_=s,!1!==(v=_["$[]"](p))&&v!==l?v:_["$[]="](p,C.$attributes()["$[]"](""+g+"-caption")),L=k.get("Block").$new(a,"admonition",f(["content_model","source","attributes"],{content_model:"simple",source:L,attributes:s}))}else r.$unshift_line(B),L=this.$read_paragraph_lines(r,L,f(["skip_line_comments"],{skip_line_comments:E})),this["$adjust_indentation!"](L),L=k.get("Block").$new(a,"literal",f(["content_model","source","attributes"],{content_model:"verbatim",source:L,attributes:s})),!1!==D&&D!==l&&L.$set_option("listparagraph");break}if(p=L["$!"](),(d=!1!==p&&p!==l?P:p)!==l&&(!d.$$is_boolean||1==d))if((d=!1!==(p=P["$=="]("abstract"))&&p!==l?p:P["$=="]("partintro"))===l||d.$$is_boolean&&1!=d||(P="open"),g=P,"admonition"["$==="](g))s["$[]="]("name",g=F.$downcase()),d="caption",p=s,!1!==(v=p["$[]"](d))&&v!==l?v:p["$[]="](d,C.$attributes()["$[]"](""+g+"-caption")),L=this.$build_block(P,"compound",N,a,r,s);else{if("comment"["$==="](g))return this.$build_block(P,"skip",N,a,r,s),l;if("example"["$==="](g))L=this.$build_block(P,"compound",N,a,r,s);else if("listing"["$==="](g)||"fenced_code"["$==="](g)||"source"["$==="](g))P["$=="]("fenced_code")?(F=s["$[]="]("style","source"),d=e.to_ary(B["$[]"](h(3,-1,!1)).$tr(" ","").$split(",",2)),P=null==d[0]?l:d[0],B=null==d[1]?l:d[1],(d=P["$nil_or_empty?"]()["$!"]())===l||d.$$is_boolean&&1!=d?(d=V=C.$attributes()["$[]"]("source-language"))===l||d.$$is_boolean&&1!=d||s["$[]="]("language",V):(s["$[]="]("language",P),((d=B["$nil_or_empty?"]())===l||d.$$is_boolean&&1!=d)&&s["$[]="]("linenums","")),p=s["$key?"]("indent")["$!"](),(d=!1!==p&&p!==l?C.$attributes()["$key?"]("source-indent"):p)===l||d.$$is_boolean&&1!=d||s["$[]="]("indent",C.$attributes()["$[]"]("source-indent")),N=N["$[]"](h(0,2,!1))):P["$=="]("source")&&(k.get("AttributeList").$rekey(s,[l,"language","linenums"]),!((d=s["$key?"]("language"))===l||d.$$is_boolean&&1!=d)||(d=V=C.$attributes()["$[]"]("source-language"))===l||d.$$is_boolean&&1!=d||s["$[]="]("language",V),p=s["$key?"]("indent")["$!"](),(d=!1!==p&&p!==l?C.$attributes()["$key?"]("source-indent"):p)===l||d.$$is_boolean&&1!=d||s["$[]="]("indent",C.$attributes()["$[]"]("source-indent"))),L=this.$build_block("listing","verbatim",N,a,r,s);else if("literal"["$==="](g))L=this.$build_block(P,"verbatim",N,a,r,s);else if("pass"["$==="](g))L=this.$build_block(P,"raw",N,a,r,s);else if("stem"["$==="](g)||"latexmath"["$==="](g)||"asciimath"["$==="](g))P["$=="]("stem")&&s["$[]="]("style",(d=K=s["$[]"](2))===l||d.$$is_boolean&&1!=d?(d=(J=C.$attributes()["$[]"]("stem"))["$nil_or_empty?"]())===l||d.$$is_boolean&&1!=d?J:"asciimath":(d=K["$include?"]("tex"))===l||d.$$is_boolean&&1!=d?"asciimath":"latexmath"),L=this.$build_block("stem","raw",N,a,r,s);else if("open"["$==="](g)||"sidebar"["$==="](g))L=this.$build_block(P,"compound",N,a,r,s);else if("table"["$==="](g))P=r.$cursor(),P=k.get("Reader").$new(r.$read_lines_until(f(["terminator","skip_line_comments"],{ +terminator:N,skip_line_comments:!0})),P),g=N.$chr(),","["$==="](g)?s["$[]="]("format","csv"):":"["$==="](g)&&s["$[]="]("format","dsv"),L=this.$next_table(P,a,s);else if("quote"["$==="](g)||"verse"["$==="](g))k.get("AttributeList").$rekey(s,[l,"attribution","citetitle"]),L=this.$build_block(P,P["$=="]("verse")?"verbatim":"compound",N,a,r,s);else if((d=(p=!1!==T&&T!==l)?Y=S["$registered_for_block?"](P,j):T)===l||d.$$is_boolean&&1!=d)this.$raise("Unsupported block type "+P+" at "+r.$line_info());else if((d=(B=Y.$config()["$[]"]("content_model"))["$!="]("skip"))===l||d.$$is_boolean&&1!=d||((d=(X=!1!==(p=Y.$config()["$[]"]("pos_attrs"))&&p!==l?p:[])["$empty?"]()["$!"]())===l||d.$$is_boolean&&1!=d||k.get("AttributeList").$rekey(s,[l].$concat(X)),(d=L=Y.$config()["$[]"]("default_attrs"))===l||d.$$is_boolean&&1!=d||(d=(p=L).$each,d.$$p=(x=function(e,t){var n,r,i;return null==e&&(e=l),null==t&&(t=l),n=e,r=s,!1!==(i=r["$[]"](n))&&i!==l?i:r["$[]="](n,t)},x.$$s=this,x),d).call(p)),L=this.$build_block(P,B,N,a,r,s,f(["extension"],{extension:Y})),(d=(v=!1!==L&&L!==l)?B["$!="]("skip"):L)===l||d.$$is_boolean&&1!=d)return s.$clear(),l}}else r.$advance();return!1!==L&&L!==l&&(!1!==I&&I!==l&&(c=[I],d=L,d["$source_location="].apply(d,c),c[c.length-1]),((c=L["$title?"]())===l||c.$$is_boolean&&1!=c)&&(c=[s["$[]"]("title")],d=L,d["$title="].apply(d,c),c[c.length-1]),L.$context()["$=="]("image")?(w=s["$[]"]("target"),L.$document().$register("images",w),c="alt",d=s,!1!==(v=d["$[]"](c))&&v!==l?v:d["$[]="](c,k.get("Helpers").$basename(w,!0).$tr("_-"," ")),s["$[]="]("alt",L.$sub_specialchars(s["$[]"]("alt"))),L.$assign_caption(s.$delete("caption"),"figure"),(c=Z=s["$[]"]("scaledwidth"))===l||c.$$is_boolean&&1!=c||(c=h(48,57,!1)["$include?"]((!1!==(d=Z["$[]"](-1))&&d!==l?d:0).$ord()))===l||c.$$is_boolean&&1!=c||s["$[]="]("scaledwidth",""+Z+"%")):(c=L,!1!==(d=c.$caption())&&d!==l?d:c["$caption="](s.$delete("caption"))),c=[s["$[]"]("style")],d=L,d["$style="].apply(d,c),c[c.length-1],d=L,(c=Q=!1!==(v=d.$id())&&v!==l?v:d["$id="](s["$[]"]("id")))===l||c.$$is_boolean&&1!=c||C.$register("ids",[Q,!1!==(c=s["$[]"]("reftext"))&&c!==l?c:(d=L["$title?"]())===l||d.$$is_boolean&&1!=d?l:L.$title()]),((c=s["$empty?"]())===l||c.$$is_boolean&&1!=c)&&L.$attributes().$update(s),L.$lock_in_subs(),(c=L["$sub?"]("callouts"))===l||c.$$is_boolean&&1!=c||!((c=this.$catalog_callouts(L.$source(),C))===l||c.$$is_boolean&&1!=c)||L.$remove_sub("callouts")),L}),e.defs(x,"$blockquote?",function(e,t){var r,i,o;return null==t&&(t=l),i=n(e.$size(),1)?(!1!==(o=t)&&o!==l?o:e["$[]"](0))["$start_with?"]('"'):n(e.$size(),1),r=!1!==i&&i!==l?e["$[]"](-1)["$start_with?"]("-- "):i,!1!==r&&r!==l?e["$[]"](-2)["$end_with?"]('"'):r}),e.defs(x,"$read_paragraph_lines",function(e,t,n){var r,i=l;return null==n&&(n=f([],{})),n["$[]="]("break_on_blank_lines",!0),n["$[]="]("break_on_list_continuation",!0),n["$[]="]("preserve_last_line",!0),i=!1!==t&&t!==l?(r=k.get("Compliance").$block_terminates_paragraph())===l||r.$$is_boolean&&1!=r?k.get("StartOfListProc"):k.get("StartOfBlockOrListProc"):(r=k.get("Compliance").$block_terminates_paragraph())===l||r.$$is_boolean&&1!=r?k.get("NoOp"):k.get("StartOfBlockProc"),(r=e.$read_lines_until,r.$$p=i.$to_proc(),r).call(e,n)}),e.defs(x,"$is_delimited_block?",function(t,i){var u,c,d=l,f=l,p=l,m=l,p=d=c=l;if(null==i&&(i=!1),(u=(c=n(d=t.$length(),1))?k.get("DELIMITED_BLOCK_LEADERS")["$include?"](t["$[]"](h(0,1,!1))):n(d=t.$length(),1))===l||u.$$is_boolean&&1!=u)return l;if(d["$=="](2))f=t,p=2;else{if(a(d,4)?(f=t,p=d):(f=t["$[]"](h(0,3,!1)),p=4),m=!1,(u=k.get("Compliance").$markdown_syntax())!==l&&(!u.$$is_boolean||1==u)&&(c=p["$=="](4)?f.$chop():f,c["$=="]("```"))){if((u=p["$=="](4)?f["$end_with?"]("`"):p["$=="](4))!==l&&(!u.$$is_boolean||1==u))return l;f=c,p=3,m=!0}if((u=(c=p["$=="](3))?m["$!"]():p["$=="](3))!==l&&(!u.$$is_boolean||1==u))return l}return(u=k.get("DELIMITED_BLOCKS")["$has_key?"](f))===l||u.$$is_boolean&&1!=u?l:(u=!1!==(c=s(p,4))&&c!==l?c:p["$=="](d))===l||u.$$is_boolean&&1!=u?(""+f+r(f["$[]"](h(-1,-1,!1)),o(d,p)))["$=="](t)?!1===i||i===l||(u=e.to_a(k.get("DELIMITED_BLOCKS")["$[]"](f)),d=null==u[0]?l:u[0],p=null==u[1]?l:u[1],k.get("BlockMatchData").$new(d,p,f,t)):l:!1===i||i===l||(u=e.to_a(k.get("DELIMITED_BLOCKS")["$[]"](f)),d=null==u[0]?l:u[0],p=null==u[1]?l:u[1],k.get("BlockMatchData").$new(d,p,f,f))}),e.defs(x,"$build_block",function(e,t,r,i,o,a,s){var u,c,d=l,p=l,h=d=p=l,h=h=h=h=l;if(null==s&&(s=f([],{})),(u=!1!==(c=t["$=="]("skip"))&&c!==l?c:t["$=="]("raw"))===l||u.$$is_boolean&&1!=u?(d=!1,p=t):(d=t["$=="]("skip"),p="simple"),(u=r["$nil?"]())===l||u.$$is_boolean&&1!=u?(u=p["$!="]("compound"))===l||u.$$is_boolean&&1!=u?r["$=="](!1)?(p=l,d=o):(p=l,h=o.$cursor(),d=k.get("Reader").$new(o.$read_lines_until(f(["terminator","skip_processing"],{terminator:r,skip_processing:d})),h)):(p=o.$read_lines_until(f(["terminator","skip_processing"],{terminator:r,skip_processing:d})),d=l):(p["$=="]("verbatim")?p=o.$read_lines_until(f(["break_on_blank_lines","break_on_list_continuation"],{break_on_blank_lines:!0,break_on_list_continuation:!0})):(t["$=="]("compound")&&(t="simple"),p=this.$read_paragraph_lines(o,!1,f(["skip_line_comments","skip_processing"],{skip_line_comments:!0,skip_processing:!0}))),d=l),t["$=="]("skip"))return a.$clear(),p;if(t["$=="]("verbatim")&&((u=h=a["$[]"]("indent"))===l||u.$$is_boolean&&1!=u?n(h=(!1!==(u=a["$[]"]("tabsize"))&&u!==l?u:i.$document().$attributes()["$[]"]("tabsize")).$to_i(),0)&&this["$adjust_indentation!"](p,l,h):this["$adjust_indentation!"](p,h,!1!==(u=a["$[]"]("tabsize"))&&u!==l?u:i.$document().$attributes()["$[]"]("tabsize"))),(u=h=s["$[]"]("extension"))===l||u.$$is_boolean&&1!=u)h=k.get("Block").$new(i,e,f(["content_model","source","attributes"],{content_model:t,source:p,attributes:a}));else{if(a.$delete("style"),(u=h=h.$process_method()["$[]"](i,!1!==(c=d)&&c!==l?c:k.get("Reader").$new(p),a.$dup()))===l||u.$$is_boolean&&1!=u)return l;a.$replace(h.$attributes()),(u=(c=h.$content_model()["$=="]("compound"))?(p=h.$lines())["$nil_or_empty?"]()["$!"]():h.$content_model()["$=="]("compound"))===l||u.$$is_boolean&&1!=u||(t="compound",d=k.get("Reader").$new(p))}return c=a["$has_key?"]("title"),(u=!1!==c&&c!==l?h.$document()["$attr?"](""+h.$context()+"-caption"):c)===l||u.$$is_boolean&&1!=u||(u=[a.$delete("title")],c=h,c["$title="].apply(c,u),u[u.length-1],h.$assign_caption(a.$delete("caption"))),t["$=="]("compound")&&this.$parse_blocks(d,h),h}),e.defs(x,"$parse_blocks",function(e,t){for(var n,r=l;(n=e["$has_more_lines?"]())!==l&&(!n.$$is_boolean||1==n);)r=k.get("Parser").$next_block(e,t),!1!==r&&r!==l&&t["$<<"](r)}),e.defs(x,"$next_outline_list",function(e,r,i){var o,a,u,c=l,d=l,f=o=l,p=l,h=l,c=k.get("List").$new(i,r);for(o=i.$context()["$=="](r)?[t(i.$level(),1)]:[1],a=c,a["$level="].apply(a,o),o[o.length-1];u=e["$has_more_lines?"](),(a=!1!==u&&u!==l?d=k.get("ListRxMap")["$[]"](r).$match(e.$peek_line()):u)!==l&&(!a.$$is_boolean||1==a);){if(o=this.$resolve_list_marker(r,d["$[]"](1)),u=c["$items?"](),(a=!1!==u&&u!==l?o["$!="](c.$items()["$[]"](0).$marker()):u)===l||a.$$is_boolean&&1!=a)f=c.$level();else for(f=t(c.$level(),1),p=i;p.$context()["$=="](r);){if(o["$=="](p.$items()["$[]"](0).$marker())){f=p.$level();break}p=p.$parent()}if((a=!1!==(u=c["$items?"]()["$!"]())&&u!==l?u:f["$=="](c.$level()))===l||a.$$is_boolean&&1!=a){if(s(f,c.$level()))break;n(f,c.$level())&&c.$items()["$[]"](-1)["$<<"](this.$next_block(e,c))}else h=this.$next_list_item(e,c,d);!1!==h&&h!==l&&c["$<<"](h),h=l,e.$skip_blank_lines()}return c}),e.defs(x,"$catalog_callouts",function(e,t){var n,r,i=l,i=!1;return(n=e["$include?"]("<"))===l||n.$$is_boolean&&1!=n||(n=e.$scan,n.$$p=(r=function(){var e,n=l;return null==m["~"]&&(m["~"]=l),n=m["~"],(e=n["$[]"](0).$chr()["$!="]("\\"))===l||e.$$is_boolean&&1!=e||t.$callouts().$register(n["$[]"](2)),i=!0},r.$$s=this,r),n).call(e,k.get("CalloutQuickScanRx")),i}),e.defs(x,"$catalog_inline_anchors",function(e,t){var n,r;return(n=e["$include?"]("["))===l||n.$$is_boolean&&1!=n||(n=e.$scan,n.$$p=(r=function(){var e,n=l,r=l,n=l;return null==m["~"]&&(m["~"]=l),n=m["~"],(e=n["$[]"](0)["$start_with?"]("\\"))===l||e.$$is_boolean&&1!=e?(r=!1!==(e=n["$[]"](1))&&e!==l?e:n["$[]"](3),n=!1!==(e=n["$[]"](2))&&e!==l?e:n["$[]"](4),t.$register("ids",[r,n])):l},r.$$s=this,r),n).call(e,k.get("InlineAnchorRx")),l}),e.defs(x,"$next_labeled_list",function(t,n,r){for(var i,o,a,s=l,u=l,c=l,d=l,f=l,s=k.get("List").$new(r,"dlist"),u=l,c=k.get("DefinitionListSiblingRx")["$[]"](n["$[]"](2));(i=!1!==(o=n)&&o!==l?o:(a=t["$has_more_lines?"](),!1!==a&&a!==l?n=c.$match(t.$peek_line()):a))!==l&&(!i.$$is_boolean||1==i);)i=e.to_ary(this.$next_list_item(t,s,n,c)),d=null==i[0]?l:i[0],f=null==i[1]?l:i[1],(i=(o=!1!==u&&u!==l)?u["$[]"](-1)["$!"]():u)===l||i.$$is_boolean&&1!=i?s.$items()["$<<"](u=[[d],f]):(u.$pop(),u["$[]"](0)["$<<"](d),u["$<<"](f)),n=l;return s}),e.defs(x,"$next_list_item",function(e,t,n,r){var i,o,a=l,s=l,u=l,c=l,d=u=l,p=d=d=c=l,m=l,g=m=p=l,$=l;if(null==r&&(r=l),(a=t.$context())["$=="]("dlist")?(s=k.get("ListItem").$new(t,n["$[]"](1)),u=k.get("ListItem").$new(t,n["$[]"](3)),c=n["$[]"](3)["$nil_or_empty?"]()["$!"]()):(u=n["$[]"](2),d=!1,(i=(o=a["$=="]("ulist"))?u["$start_with?"]("["):a["$=="]("ulist"))===l||i.$$is_boolean&&1!=i||((i=u["$start_with?"]("[ ] "))===l||i.$$is_boolean&&1!=i?(i=!1!==(o=u["$start_with?"]("[x] "))&&o!==l?o:u["$start_with?"]("[*] "))===l||i.$$is_boolean&&1!=i||(c=d=!0,u=u["$[]"](h(3,-1,!1)).$lstrip()):(d=!0,c=!1,u=u["$[]"](h(3,-1,!1)).$lstrip())),u=k.get("ListItem").$new(t,u),!1!==d&&d!==l&&(t.$attributes()["$[]="]("checklist-option",""),u.$attributes()["$[]="]("checkbox",""),!1!==c&&c!==l)&&u.$attributes()["$[]="]("checked",""),!1!==(i=r)&&i!==l?i:r=this.$resolve_list_marker(a,n["$[]"](1),t.$items().$size(),!0,e),i=[r],o=u,o["$marker="].apply(o,i),i[i.length-1],c=!0),e.$advance(),d=e.$cursor(),d=k.get("Reader").$new(this.$read_lines_for_list_item(e,a,r,c),d),(i=d["$has_more_lines?"]())!==l&&(!i.$$is_boolean||1==i)){for(p=d.$skip_line_comments(),m=d.$peek_line(),((i=p["$empty?"]())===l||i.$$is_boolean&&1!=i)&&d.$unshift_lines(p),(i=m["$nil?"]()["$!"]())===l||i.$$is_boolean&&1!=i?m=p=!1:(p=m["$empty?"](),o=p["$!"](),(i=!1!==o&&o!==l?a["$!="]("dlist"):o)===l||i.$$is_boolean&&1!=i||(c=!1),i=p["$!"](),m=!1!==i&&i!==l?m["$empty?"]()["$!"]():i),g=f(["text"],{text:c["$!"]()});(o=d["$has_more_lines?"]())!==l&&(!o.$$is_boolean||1==o);)(o=$=this.$next_block(d,u,f([],{}),g))===l||o.$$is_boolean&&1!=o||u["$<<"]($);u.$fold_first(p,m)}return a["$=="]("dlist")?(((i=!1!==(o=u["$text?"]())&&o!==l?o:u["$blocks?"]())===l||i.$$is_boolean&&1!=i)&&(u=l),[s,u]):u}),e.defs(x,"$read_lines_for_list_item",function(e,t,n,r){var i,o,a,s,u,c,d,p,h,g,$,_,v,b=l,y=l,x=l,w=l,E=l,A=l,A=s=l;for(null==m["~"]&&(m["~"]=l),null==n&&(n=l),null==r&&(r=!0),b=[],y="inactive",x=!1,w=l;(o=e["$has_more_lines?"]())!==l&&(!o.$$is_boolean||1==o)&&(E=e.$read_line(),(o=this["$is_sibling_list_item?"](E,t,n))===l||o.$$is_boolean&&1!=o);)if(A=(o=b["$empty?"]())===l||o.$$is_boolean&&1!=o?b["$[]"](-1):l,A["$=="](k.get("LIST_CONTINUATION"))&&(y["$=="]("inactive")&&(y="active",r=!0,!1===x||x===l)&&b["$[]="](-1,""),E["$=="](k.get("LIST_CONTINUATION"))))(o=y["$!="]("frozen"))===l||o.$$is_boolean&&1!=o||(y="frozen",b["$<<"](E)),E=l;else{if((o=s=this["$is_delimited_block?"](E,!0))===l||o.$$is_boolean&&1!=o){if(a=(s=t["$=="]("dlist"))?y["$!="]("active"):t["$=="]("dlist"),!((o=!1!==a&&a!==l?k.get("BlockAttributeLineRx")["$=~"](E):a)===l||o.$$is_boolean&&1!=o))break;if((o=(a=y["$=="]("active"))?E["$empty?"]()["$!"]():y["$=="]("active"))===l||o.$$is_boolean&&1!=o)if(s=A["$nil?"]()["$!"](),(o=!1!==s&&s!==l?A["$empty?"]():s)===l||o.$$is_boolean&&1!=o)(o=E["$empty?"]()["$!"]())===l||o.$$is_boolean&&1!=o||(r=!0),(o=A=($=(_=!1!==x&&x!==l?["dlist"]:k.get("NESTABLE_LIST_CONTEXTS")).$detect,$.$$p=(v=function(e){return null==e&&(e=l),k.get("ListRxMap")["$[]"](e)["$=~"](E)},v.$$s=this,v),$).call(_))===l||o.$$is_boolean&&1!=o||(x=!0,(o=($=A["$=="]("dlist"))?m["~"]["$[]"](3)["$nil_or_empty?"]():A["$=="]("dlist"))===l||o.$$is_boolean&&1!=o||(r=!1)),b["$<<"](E);else{if(!((o=E["$empty?"]())===l||o.$$is_boolean&&1!=o||(e.$skip_blank_lines(),E=e.$read_line(),(o=!1!==(s=E["$nil?"]())&&s!==l?s:this["$is_sibling_list_item?"](E,t,n))===l||o.$$is_boolean&&1!=o)))break;if(E["$=="](k.get("LIST_CONTINUATION")))w=b.$size(),b["$<<"](E);else if(!1!==r&&r!==l){if(!((o=this["$is_sibling_list_item?"](E,t,n))===l||o.$$is_boolean&&1!=o))break;if((o=A=(s=(p=k.get("NESTABLE_LIST_CONTEXTS")).$detect,s.$$p=(h=function(e){return null==e&&(e=l),k.get("ListRxMap")["$[]"](e)["$=~"](E)},h.$$s=this,h),s).call(p))===l||o.$$is_boolean&&1!=o){if((o=k.get("LiteralParagraphRx")["$=~"](E))===l||o.$$is_boolean&&1!=o)break;e.$unshift_line(E),b.$concat((o=(s=e).$read_lines_until,o.$$p=(g=function(e){var r=g.$$s||this;return null==e&&(e=l),t["$=="]("dlist")?r["$is_sibling_list_item?"](e,t,n):t["$=="]("dlist")},g.$$s=this,g),o).call(s,f(["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 b["$<<"](E),x=!0,(o=(s=A["$=="]("dlist"))?m["~"]["$[]"](3)["$nil_or_empty?"]():A["$=="]("dlist"))===l||o.$$is_boolean&&1!=o||(r=!1)}else!1!==x&&x!==l||b.$pop(),b["$<<"](E),r=!0}else(o=k.get("LiteralParagraphRx")["$=~"](E))===l||o.$$is_boolean&&1!=o?(o=!1!==(s=!1!==(c=k.get("BlockTitleRx")["$=~"](E))&&c!==l?c:k.get("BlockAttributeLineRx")["$=~"](E))&&s!==l?s:k.get("AttributeEntryRx")["$=~"](E))===l||o.$$is_boolean&&1!=o?((o=A=(s=(c=!1!==x&&x!==l?["dlist"]:k.get("NESTABLE_LIST_CONTEXTS")).$detect,s.$$p=(d=function(e){return null==e&&(e=l),k.get("ListRxMap")["$[]"](e)["$=~"](E)},d.$$s=this,d),s).call(c))===l||o.$$is_boolean&&1!=o||(x=!0,(o=(s=A["$=="]("dlist"))?m["~"]["$[]"](3)["$nil_or_empty?"]():A["$=="]("dlist"))===l||o.$$is_boolean&&1!=o||(r=!1)),b["$<<"](E),y="inactive"):b["$<<"](E):(e.$unshift_line(E),b.$concat((o=(a=e).$read_lines_until,o.$$p=(u=function(e){var r=u.$$s||this;return null==e&&(e=l),t["$=="]("dlist")?r["$is_sibling_list_item?"](e,t,n):t["$=="]("dlist")},u.$$s=this,u),o).call(a,f(["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}))),y="inactive")}else{if(!y["$=="]("active"))break;b["$<<"](E),b.$concat(e.$read_lines_until(f(["terminator","read_last_line"],{terminator:s.$terminator(),read_last_line:!0}))),y="inactive"}E=l}for(!1!==E&&E!==l&&e.$unshift_line(E),!1!==w&&w!==l&&b.$delete_at(w);$=b["$empty?"]()["$!"](),(o=!1!==$&&$!==l?b["$[]"](-1)["$empty?"]():$)!==l&&(!o.$$is_boolean||1==o);)b.$pop();return o=b["$empty?"]()["$!"](),(i=!1!==o&&o!==l?b["$[]"](-1)["$=="](k.get("LIST_CONTINUATION")):o)===l||i.$$is_boolean&&1!=i||b.$pop(),b}),e.defs(x,"$initialize_section",function(t,n,r){var i,o=l,a=l,s=l,u=l,c=l,d=l,p=s=u=l;return null==r&&(r=f([],{})),o=n.$document(),(i=o.$sourcemap())===l||i.$$is_boolean&&1!=i||(a=t.$cursor()),i=e.to_ary(this.$parse_section_title(t,o)),s=null==i[0]?l:i[0],u=null==i[1]?l:i[1],c=null==i[2]?l:i[2],d=null==i[3]?l:i[3],!1!==u&&u!==l&&r["$[]="]("reftext",u),u=k.get("Section").$new(n,d,o.$attributes()["$has_key?"]("sectnums")),!1!==a&&a!==l&&(i=[a],n=u,n["$source_location="].apply(n,i),i[i.length-1]),i=[s],n=u,n["$id="].apply(n,i),i[i.length-1],i=[c],n=u,n["$title="].apply(n,i),i[i.length-1],(i=r["$[]"](1))===l||i.$$is_boolean&&1!=i?((i=c.$downcase()["$=="]("synopsis")?o.$doctype()["$=="]("manpage"):c.$downcase()["$=="]("synopsis"))===l||i.$$is_boolean&&1!=i?i=["sect"+u.$level()]:(i=[!0],n=u,n["$special="].apply(n,i),i[i.length-1],i=["synopsis"]),n=u,n["$sectname="].apply(n,i),i[i.length-1]):(i=e.to_ary(this.$parse_style_attribute(r,t)),s=null==i[0]?l:i[0],!1!==s&&s!==l?(i=[s],n=u,n["$sectname="].apply(n,i),i[i.length-1],i=[!0],n=u,n["$special="].apply(n,i),i[i.length-1],(i=(n=u.$sectname()["$=="]("abstract"))?o.$doctype()["$=="]("book"):u.$sectname()["$=="]("abstract"))===l||i.$$is_boolean&&1!=i||(i=["sect1"],n=u,n["$sectname="].apply(n,i),i[i.length-1],i=[!1],n=u,n["$special="].apply(n,i),i[i.length-1],i=[1],n=u,n["$level="].apply(n,i),i[i.length-1])):(i=["sect"+u.$level()],n=u,n["$sectname="].apply(n,i),i[i.length-1])),n=u.$id()["$!"](),(i=!1!==n&&n!==l?p=r["$[]"]("id"):n)===l||i.$$is_boolean&&1!=i?(i=u,!1!==(n=i.$id())&&n!==l?n:i["$id="](u.$generate_id())):(i=[p],n=u,n["$id="].apply(n,i),i[i.length-1]),(i=u.$id())===l||i.$$is_boolean&&1!=i||u.$document().$register("ids",[u.$id(),!1!==(i=r["$[]"]("reftext"))&&i!==l?i:u.$title()]),u.$update_attributes(r),t.$skip_blank_lines(),u}),e.defs(x,"$section_level",function(e){return k.get("SECTION_LEVELS")["$[]"](e.$chr())}),e.defs(x,"$single_line_section_level",function(e){return o(e.$length(),1)}),e.defs(x,"$is_next_line_section?",function(t,n){var r,i,o,a,s=l,u=l;return o=(s=n["$[]"](1))["$nil?"]()["$!"](),i=!1!==o&&o!==l?!1!==(a=(u=s["$[]"](0).$ord())["$=="](100))&&a!==l?a:u["$=="](102):o,!(!((r=!1!==i&&i!==l?s["$=~"](k.get("FloatingTitleStyleRx")):i)===l||r.$$is_boolean&&1!=r)||(r=t["$has_more_lines?"]())===l||r.$$is_boolean&&1!=r)&&((r=k.get("Compliance").$underline_style_section_titles())===l||r.$$is_boolean&&1!=r?this["$is_section_title?"](t.$peek_line()):(r=this)["$is_section_title?"].apply(r,e.to_a(t.$peek_lines(2))))}),e.defs(x,"$is_next_line_document_title?",function(e,t){return this["$is_next_line_section?"](e,t)["$=="](0)}),e.defs(x,"$is_section_title?",function(e,t){var n,r=l;return null==t&&(t=l),(n=r=this["$is_single_line_section_title?"](e))===l||n.$$is_boolean&&1!=n?!((n=!1!==t&&t!==l?r=this["$is_two_line_section_title?"](e,t):t)===l||n.$$is_boolean&&1!=n)&&r:r}),e.defs(x,"$is_single_line_section_title?",function(e){var t,n,r,i,o=l,a=l,o=!1!==e&&e!==l?e.$chr():l;return n=!1!==(r=o["$=="]("="))&&r!==l?r:(i=k.get("Compliance").$markdown_syntax(),!1!==i&&i!==l?o["$=="]("#"):i),!((t=!1!==n&&n!==l?a=k.get("AtxSectionRx").$match(e):n)===l||t.$$is_boolean&&1!=t)&&this.$single_line_section_level(a["$[]"](1))}),e.defs(x,"$is_two_line_section_title?",function(e,t){var n,r,i,s,u;return u=!1!==e&&e!==l?t:e,s=!1!==u&&u!==l?k.get("SECTION_LEVELS")["$has_key?"](t.$chr()):u,i=!1!==s&&s!==l?t["$=~"](k.get("SetextSectionLineRx")):s,r=!1!==i&&i!==l?e["$=~"](k.get("SetextSectionTitleRx")):i,!((n=!1!==r&&r!==l?a(o(this.$line_length(e),this.$line_length(t)).$abs(),1):r)===l||n.$$is_boolean&&1!=n)&&this.$section_level(t)}),e.defs(x,"$parse_section_title",function(e,n){var r,s,u,c,d,f=l,p=l,h=l,m=l,g=l,$=l,_=l,v=l,b=l,y=l,x=l,f=e.$read_line(),h=p=l,m=-1,g=l,$=!0,_=f.$chr();return s=!1!==(u=_["$=="]("="))&&u!==l?u:(c=k.get("Compliance").$markdown_syntax(),!1!==c&&c!==l?_["$=="]("#"):c),(r=!1!==s&&s!==l?v=k.get("AtxSectionRx").$match(f):s)===l||r.$$is_boolean&&1!=r?(r=k.get("Compliance").$underline_style_section_titles())===l||r.$$is_boolean&&1!=r||(d=y=e.$peek_line(!0),c=!1!==d&&d!==l?k.get("SECTION_LEVELS")["$has_key?"](y.$chr()):d,u=!1!==c&&c!==l?y["$=~"](k.get("SetextSectionLineRx")):c,s=!1!==u&&u!==l?x=k.get("SetextSectionTitleRx").$match(f):u,(r=!1!==s&&s!==l?a(o(this.$line_length(f),this.$line_length(y)).$abs(),1):s)===l)||r.$$is_boolean&&1!=r||(h=x["$[]"](1),s=h["$end_with?"]("]]"),(r=!1!==s&&s!==l?b=k.get("InlineSectionAnchorRx").$match(h):s)===l||r.$$is_boolean&&1!=r||(r=b["$[]"](2)["$nil?"]())===l||r.$$is_boolean&&1!=r||(h=b["$[]"](1),p=b["$[]"](3),g=b["$[]"](4)),m=this.$section_level(y),$=!1,e.$advance()):(m=this.$single_line_section_level(v["$[]"](1)),h=v["$[]"](2),s=h["$end_with?"]("]]"),(r=!1!==s&&s!==l?b=k.get("InlineSectionAnchorRx").$match(h):s)===l||r.$$is_boolean&&1!=r||(r=b["$[]"](2)["$nil?"]())===l||r.$$is_boolean&&1!=r||(h=b["$[]"](1),p=b["$[]"](3),g=b["$[]"](4))),i(m,0)&&(m=t(m,n.$attr("leveloffset",0).$to_i())),[p,g,h,m,$]}),e.defs(x,"$line_length",function(e){var t;return(t=k.get("FORCE_UNICODE_LINE_LENGTH"))===l||t.$$is_boolean&&1!=t?e.$length():e.$scan(k.get("UnicodeCharScanRx")).$length()}),e.defs(x,"$parse_header_metadata",function(r,i){var o,a,s,u,c,d,p=l,m=l,g=l,$=l,_=$=l,v=l,b=_=l,g=m=l;if(null==i&&(i=l),this.$process_attribute_entries(r,i),p=f([],{}),g=m=l,a=r["$has_more_lines?"](),(o=!1!==a&&a!==l?r["$next_line_empty?"]()["$!"]():a)===l||o.$$is_boolean&&1!=o||($=this.$process_authors(r.$read_line()),((o=$["$empty?"]())===l||o.$$is_boolean&&1!=o)&&(!1!==i&&i!==l&&((o=(a=$).$each,o.$$p=(s=function(t,n){var r;return null==t&&(t=l),null==n&&(n=l),(r=i.$attributes()["$has_key?"](t))===l||r.$$is_boolean&&1!=r?i.$attributes()["$[]="](t,(r=n["$is_a?"](e.get("String")))===l||r.$$is_boolean&&1!=r?n:i.$apply_header_subs(n)):l},s.$$s=this,s),o).call(a),m=i.$attributes()["$[]"]("author"),g=i.$attributes()["$[]"]("authors")),p=$),this.$process_attribute_entries(r,i),$=f([],{}),u=r["$has_more_lines?"](),(o=!1!==u&&u!==l?r["$next_line_empty?"]()["$!"]():u)===l||o.$$is_boolean&&1!=o||(_=r.$read_line(),(o=v=k.get("RevisionInfoLineRx").$match(_))===l||o.$$is_boolean&&1!=o?r.$unshift_line(_):((o=v["$[]"](1))===l||o.$$is_boolean&&1!=o||$["$[]="]("revnumber",v["$[]"](1).$rstrip()),(_=v["$[]"](2).$strip())["$=="]("")||(u=v["$[]"](1)["$!"](),(o=!1!==u&&u!==l?_["$start_with?"]("v"):u)===l||o.$$is_boolean&&1!=o?$["$[]="]("revdate",_):$["$[]="]("revnumber",_["$[]"](h(1,-1,!1)))),(o=v["$[]"](3))===l||o.$$is_boolean&&1!=o||$["$[]="]("revremark",v["$[]"](3).$rstrip()))),((o=$["$empty?"]())===l||o.$$is_boolean&&1!=o)&&(!1!==i&&i!==l&&(o=(u=$).$each,o.$$p=(c=function(e,t){var n;return null==e&&(e=l),null==t&&(t=l),(n=i.$attributes()["$has_key?"](e))===l||n.$$is_boolean&&1!=n?i.$attributes()["$[]="](e,i.$apply_header_subs(t)):l},c.$$s=this,c),o).call(u),p.$update($)),this.$process_attribute_entries(r,i),r.$skip_blank_lines()),!1!==i&&i!==l){if($=l,d=i.$attributes()["$has_key?"]("author"),(o=!1!==d&&d!==l?(b=i.$attributes()["$[]"]("author"))["$!="](m):d)===l||o.$$is_boolean&&1!=o)if(d=i.$attributes()["$has_key?"]("authors"),(o=!1!==d&&d!==l?(b=i.$attributes()["$[]"]("authors"))["$!="](g):d)===l||o.$$is_boolean&&1!=o){for(m=[],g="author_"+t(m.$size(),1);(d=i.$attributes()["$has_key?"](g))!==l&&(!d.$$is_boolean||1==d);)m["$<<"](i.$attributes()["$[]"](g)),g="author_"+t(m.$size(),1);m.$size()["$=="](1)?$=this.$process_authors(m["$[]"](0),!0,!1):n(m.$size(),1)&&($=this.$process_authors(m.$join("; "),!0))}else $=this.$process_authors(b,!0);else $=this.$process_authors(b,!0,!1);!1===$||$===l||(i.$attributes().$update($),d=i.$attributes()["$has_key?"]("email")["$!"](),(o=!1!==d&&d!==l?i.$attributes()["$has_key?"]("email_1"):d)===l||o.$$is_boolean&&1!=o)||i.$attributes()["$[]="]("email",i.$attributes()["$[]"]("email_1"))}return p}),e.defs(x,"$process_authors",function(e,r,i){var o,a,s,u,c,d=this,p=l,m=l,g=l;return null==r&&(r=!1),null==i&&(i=!0),p=f([],{}),m="author authorinitials firstname middlename lastname email".split(" "),g=function(){return!1!==i&&i!==l?(o=(a=e.$split(";")).$map,o.$$p=(s=function(e){return null==e&&(e=l),e.$strip()},s.$$s=d,s),o).call(a):[e]}(),(o=(u=g).$each_with_index,o.$$p=(c=function(e,i){var o,a,s,u,d,g,$,_=c.$$s||this,v=l,b=l,y=l,x=y=l,w=l;return null==e&&(e=l),null==i&&(i=l),(o=e["$empty?"]())===l||o.$$is_boolean&&1!=o?(v=f([],{}),(o=i["$zero?"]())===l||o.$$is_boolean&&1!=o?(o=(u=m).$each,o.$$p=(d=function(e){return null==e&&(e=l),v["$[]="](e.$to_sym(),""+e+"_"+t(i,1))},d.$$s=_,d),o).call(u):(o=(a=m).$each,o.$$p=(s=function(e){return null==e&&(e=l),v["$[]="](e.$to_sym(),e)},s.$$s=_,s),o).call(a),b=l,!1!==r&&r!==l?n((b=e.$split(" ")).$size(),3)&&(b=b["$[]"](h(0,1,!1)).$push(b["$[]"](h(2,-1,!1)).$join(" "))):(o=y=k.get("AuthorInfoLineRx").$match(e))===l||o.$$is_boolean&&1!=o||(b=y.$to_a(),b.$shift()),(o=b["$nil?"]())===l||o.$$is_boolean&&1!=o?(p["$[]="](v["$[]"]("firstname"),y=b["$[]"](0).$tr("_"," ")),p["$[]="](v["$[]"]("author"),y),p["$[]="](v["$[]"]("authorinitials"),y["$[]"](0,1)),g=b["$[]"](1)["$nil?"]()["$!"](),(o=!1!==g&&g!==l?b["$[]"](2)["$nil?"]()["$!"]():g)===l||o.$$is_boolean&&1!=o?(o=b["$[]"](1)["$nil?"]()["$!"]())===l||o.$$is_boolean&&1!=o||(p["$[]="](v["$[]"]("lastname"),w=b["$[]"](1).$tr("_"," ")),p["$[]="](v["$[]"]("author"),[y,w].$join(" ")),p["$[]="](v["$[]"]("authorinitials"),[y["$[]"](0,1),w["$[]"](0,1)].$join())):(p["$[]="](v["$[]"]("middlename"),x=b["$[]"](1).$tr("_"," ")),p["$[]="](v["$[]"]("lastname"),w=b["$[]"](2).$tr("_"," ")),p["$[]="](v["$[]"]("author"),[y,x,w].$join(" ")),p["$[]="](v["$[]"]("authorinitials"),[y["$[]"](0,1),x["$[]"](0,1),w["$[]"](0,1)].$join())),((o=!1!==(g=r)&&g!==l?g:b["$[]"](3)["$nil?"]())===l||o.$$is_boolean&&1!=o)&&p["$[]="](v["$[]"]("email"),b["$[]"](3))):(p["$[]="](v["$[]"]("author"),p["$[]="](v["$[]"]("firstname"),y=e.$strip().$tr_s(" "," "))),p["$[]="](v["$[]"]("authorinitials"),y["$[]"](0,1))),p["$[]="]("authorcount",t(i,1)),i["$=="](1)&&(o=(g=m).$each,o.$$p=($=function(e){var t;return null==e&&(e=l),(t=p["$has_key?"](e))===l||t.$$is_boolean&&1!=t?l:p["$[]="](""+e+"_1",p["$[]"](e))},$.$$s=_,$),o).call(g),(o=i["$zero?"]())===l||o.$$is_boolean&&1!=o?p["$[]="]("authors",""+p["$[]"]("authors")+", "+p["$[]"](v["$[]"]("author"))):p["$[]="]("authors",p["$[]"](v["$[]"]("author")))):l},c.$$s=d,c),o).call(u),p}),e.defs(x,"$parse_block_metadata_lines",function(e,t,n,r){var i;for(null==n&&(n=f([],{})),null==r&&(r=f([],{}));(i=this.$parse_block_metadata_line(e,t,n,r))!==l&&(!i.$$is_boolean||1==i);)e.$advance(),e.$skip_blank_lines();return n}),e.defs(x,"$parse_block_metadata_line",function(e,t,n,r){var i,o,a,s=l,u=l,c=l,u=s=l;if(null==r&&(r=f([],{})),(i=e["$has_more_lines?"]())===l||i.$$is_boolean&&1!=i)return!1;if(s=e.$peek_line(),o=u=s["$start_with?"]("//"),(i=!1!==o&&o!==l?c=k.get("CommentBlockRx").$match(s):o)===l||i.$$is_boolean&&1!=i){if((i=(o=!1!==u&&u!==l)?k.get("CommentLineRx")["$=~"](s):u)===l||i.$$is_boolean&&1!=i)if(a=r["$[]"]("text")["$!"](),o=!1!==a&&a!==l?s["$start_with?"](":"):a,(i=!1!==o&&o!==l?c=k.get("AttributeEntryRx").$match(s):o)===l||i.$$is_boolean&&1!=i)if(a=s["$start_with?"]("["),o=u=!1!==a&&a!==l?s["$end_with?"]("]"):a,(i=!1!==o&&o!==l?c=k.get("BlockAnchorRx").$match(s):o)===l||i.$$is_boolean&&1!=i)if((i=(o=!1!==u&&u!==l)?c=k.get("BlockAttributeListRx").$match(s):u)===l||i.$$is_boolean&&1!=i){if(o=r["$[]"]("text")["$!"](),(i=!1!==o&&o!==l?c=k.get("BlockTitleRx").$match(s):o)===l||i.$$is_boolean&&1!=i)return!1;n["$[]="]("title",c["$[]"](1))}else t.$document().$parse_attributes(c["$[]"](1),[],f(["sub_input","into"],{sub_input:!0,into:n}));else((i=c["$[]"](1)["$nil_or_empty?"]())===l||i.$$is_boolean&&1!=i)&&(n["$[]="]("id",c["$[]"](1)),((i=c["$[]"](2)["$nil?"]())===l||i.$$is_boolean&&1!=i)&&n["$[]="]("reftext",c["$[]"](2)));else this.$process_attribute_entry(e,t,n,c)}else s=c["$[]"](0),e.$read_lines_until(f(["skip_first_line","preserve_last_line","terminator","skip_processing"],{skip_first_line:!0,preserve_last_line:!0,terminator:s,skip_processing:!0}));return!0}),e.defs(x,"$process_attribute_entries",function(e,t,n){var r;for(null==n&&(n=l),e.$skip_comment_lines();(r=this.$process_attribute_entry(e,t,n))!==l&&(!r.$$is_boolean||1==r);)e.$advance(),e.$skip_comment_lines()}),e.defs(x,"$process_attribute_entry",function(e,t,n,r){var i,o,a=l,s=l,u=l,c=l,d=l,f=l;if(null==n&&(n=l),null==r&&(r=l),!1!==(i=r)&&i!==l?i:r=(o=e["$has_more_lines?"]())===l||o.$$is_boolean&&1!=o?l:k.get("AttributeEntryRx").$match(e.$peek_line()),!1!==r&&r!==l){if(a=r["$[]"](1),((i=(s=!1!==(o=r["$[]"](2))&&o!==l?o:"")["$empty?"]())===l||i.$$is_boolean&&1!=i)&&(i=!1!==(o=s["$end_with?"](u=k.get("LINE_CONTINUATION")))&&o!==l?o:s["$end_with?"](u=k.get("LINE_CONTINUATION_LEGACY")))!==l&&(!i.$$is_boolean||1==i))for(s=s.$chop().$rstrip();(o=e.$advance())!==l&&(!o.$$is_boolean||1==o)&&((o=(c=e.$peek_line().$strip())["$empty?"]())===l||o.$$is_boolean&&1!=o)&&((o=d=c["$end_with?"](u))===l||o.$$is_boolean&&1!=o||(c=c.$chop().$rstrip()),f=(o=s["$end_with?"](k.get("LINE_BREAK")))===l||o.$$is_boolean&&1!=o?" ":k.get("EOL"),s=""+s+f+c,!1!==d&&d!==l););return this.$store_attribute(a,s,!1!==t&&t!==l?t.$document():l,n),!0}return!1}),e.defs(x,"$store_attribute",function(e,n,r,i){var a,s=l,s=l;return null==r&&(r=l),null==i&&(i=l),(a=e["$end_with?"]("!"))===l||a.$$is_boolean&&1!=a?(a=e["$start_with?"]("!"))===l||a.$$is_boolean&&1!=a||(n=l,e=e["$[]"](h(1,-1,!1))):(n=l,e=e.$chop()),e=this.$sanitize_attribute_name(e),s=!0,!1!==r&&r!==l&&(e["$=="]("numbered")?e="sectnums":e["$=="]("leveloffset")&&!1!==n&&n!==l&&(s=n.$chr(),"+"["$==="](s)?n=t(r.$attr("leveloffset",0).$to_i(),(!1!==(a=n["$[]"](h(1,-1,!1)))&&a!==l?a:0).$to_i()).$to_s():"-"["$==="](s)&&(n=o(r.$attr("leveloffset",0).$to_i(),(!1!==(a=n["$[]"](h(1,-1,!1)))&&a!==l?a:0).$to_i()).$to_s())),s=!1!==n&&n!==l?r.$set_attribute(e,n):r.$delete_attribute(e)),(a=!1!==s&&s!==l?i:s)===l||a.$$is_boolean&&1!=a||(!1!==n&&n!==l&&(n=r.$attributes()["$[]"](e)),k.get("Document").$$scope.get("AttributeEntry").$new(e,n).$save_to(i)),[e,n]}),e.defs(x,"$resolve_list_marker",function(e,t,n,r,i){var o;return null==n&&(n=0),null==r&&(r=!1),null==i&&(i=l),(o=e["$=="]("olist")?t["$start_with?"](".")["$!"]():e["$=="]("olist"))===l||o.$$is_boolean&&1!=o?e["$=="]("colist")?"<1>":t:this.$resolve_ordered_list_marker(t,n,r,i)}),e.defs(x,"$resolve_ordered_list_marker",function(e,n,r,i){var o,a,s,u=l,c=l,d=l,u=l;return null==n&&(n=0),null==r&&(r=!1),null==i&&(i=l),u=(o=(a=k.get("ORDERED_LIST_STYLES")).$detect,o.$$p=(s=function(t){return null==t&&(t=l),k.get("OrderedListMarkerRxMap")["$[]"](t)["$=~"](e)},s.$$s=this,s),o).call(a),c=d=l,"arabic"["$==="](u)?(!1!==r&&r!==l&&(c=t(n,1),d=e.$to_i()),e="1."):"loweralpha"["$==="](u)?(!1!==r&&r!==l&&(c=t("a"["$[]"](0).$ord(),n).$chr(),d=e.$chomp(".")),e="a."):"upperalpha"["$==="](u)?(!1!==r&&r!==l&&(c=t("A"["$[]"](0).$ord(),n).$chr(),d=e.$chomp(".")),e="A."):"lowerroman"["$==="](u)?(!1!==r&&r!==l&&(c=t(n,1),d=this.$roman_numeral_to_int(e.$chomp(")"))),e="i)"):"upperroman"["$==="](u)&&(!1!==r&&r!==l&&(c=t(n,1),d=this.$roman_numeral_to_int(e.$chomp(")"))),e="I)"),(o=!1!==r&&r!==l?c["$!="](d):r)===l||o.$$is_boolean&&1!=o||this.$warn("asciidoctor: WARNING: "+i.$line_info()+": list item index: expected "+c+", got "+d),e}),e.defs(x,"$is_sibling_list_item?",function(t,n,r){var i,o=l,a=l,s=l;return(i=r["$is_a?"](e.get("Regexp")))===l||i.$$is_boolean&&1!=i?(o=k.get("ListRxMap")["$[]"](n),a=r):(o=r,a=!1),!((i=s=o.$match(t))===l||i.$$is_boolean&&1!=i)&&(!1===a||a===l||a["$=="](this.$resolve_list_marker(n,s["$[]"](1))))}),e.defs(x,"$next_table",function(n,r,i){var o,a,s,u,c,d=l,f=l,p=l,m=l,g=l,$=l,_=l,v=l,b=l,y=l,x=l,_=l,d=k.get("Table").$new(r,i);for((o=i["$has_key?"]("title"))===l||o.$$is_boolean&&1!=o||(o=[i.$delete("title")],a=d,a["$title="].apply(a,o),o[o.length-1],d.$assign_caption(i.$delete("caption"))),a=i["$key?"]("cols"),(o=!1!==a&&a!==l?(f=this.$parse_col_specs(i["$[]"]("cols")))["$empty?"]()["$!"]():a)===l||o.$$is_boolean&&1!=o?p=!1:(d.$create_columns(f),p=!0),m=n.$skip_blank_lines(),g=k.get("Table").$$scope.get("ParserContext").$new(n,d,i),$=-1;(a=n["$has_more_lines?"]())!==l&&(!a.$$is_boolean||1==a);){for($=t($,1),_=n.$read_line(),c=m["$=="](0)?$["$zero?"]():m["$=="](0),u=!1!==c&&c!==l?i["$has_key?"]("options")["$!"]():c,s=!1!==u&&u!==l?(v=n.$peek_line())["$nil?"]()["$!"]():u,(a=!1!==s&&s!==l?v["$empty?"]():s)===l||a.$$is_boolean&&1!=a||(a=[!0],s=d,s["$has_header_option="].apply(s,a),a[a.length-1],d.$set_option("header")),g.$format()["$=="]("psv")&&((a=g["$starts_with_delimiter?"](_))===l||a.$$is_boolean&&1!=a?(a=e.to_ary(this.$parse_cell_spec(_,"start",g.$delimiter())),b=null==a[0]?l:a[0],_=null==a[1]?l:a[1],(a=b["$nil?"]()["$!"]())===l||a.$$is_boolean&&1!=a||g.$close_open_cell(b)):(_=_["$[]"](h(1,-1,!1)),g.$close_open_cell())),y=!1;(s=!1!==(u=y["$!"]())&&u!==l?u:_["$empty?"]()["$!"]())!==l&&(!s.$$is_boolean||1==s);)if(y=!0,(s=x=g.$match_delimiter(_))===l||s.$$is_boolean&&1!=s)s=[""+g.$buffer()+_+k.get("EOL")],u=g,u["$buffer="].apply(u,s),s[s.length-1],g.$format()["$=="]("csv")&&(s=[""+g.$buffer().$rstrip()+" "],u=g,u["$buffer="].apply(u,s),s[s.length-1]),_="",(s=!1!==(u=g.$format()["$=="]("psv"))&&u!==l?u:(c=g.$format()["$=="]("csv"))?g["$buffer_has_unclosed_quotes?"]():g.$format()["$=="]("csv"))===l||s.$$is_boolean&&1!=s?g.$close_cell(!0):g.$keep_cell_open();else{ +if(g.$format()["$=="]("csv")){if((s=g["$buffer_has_unclosed_quotes?"](x.$pre_match()))!==l&&(!s.$$is_boolean||1==s)){_=g.$skip_matched_delimiter(x);continue}}else if((s=x.$pre_match()["$end_with?"]("\\"))!==l&&(!s.$$is_boolean||1==s)){if((s=(_=g.$skip_matched_delimiter(x,!0))["$empty?"]())!==l&&(!s.$$is_boolean||1==s)){s=[""+g.$buffer()+k.get("EOL")],u=g,u["$buffer="].apply(u,s),s[s.length-1],g.$keep_cell_open();break}continue}g.$format()["$=="]("psv")?(s=e.to_ary(this.$parse_cell_spec(x.$pre_match(),"end")),b=null==s[0]?l:s[0],_=null==s[1]?l:s[1],g.$push_cell_spec(b),s=[""+g.$buffer()+_]):s=[""+g.$buffer()+x.$pre_match()],u=g,u["$buffer="].apply(u,s),s[s.length-1],(_=x.$post_match())["$=="]("")&&(y=!1),g.$close_cell()}((a=g["$cell_open?"]())===l||a.$$is_boolean&&1!=a)&&(m=n.$skip_blank_lines()),((a=n["$has_more_lines?"]())===l||a.$$is_boolean&&1!=a)&&((a=g["$cell_open?"]())===l||a.$$is_boolean&&1!=a||g.$close_cell(!0))}return((o=!1!==(a=(s="colcount",u=d.$attributes(),!1!==(c=u["$[]"](s))&&c!==l?c:u["$[]="](s,d.$columns().$size()))["$=="](0))&&a!==l?a:p)===l||o.$$is_boolean&&1!=o)&&d.$assign_col_widths(),d.$partition_header_footer(i),d}),e.defs(x,"$parse_col_specs",function(t){var n,r,i,o,a,s=l;return(n=t["$include?"](" "))===l||n.$$is_boolean&&1!=n||(t=t.$tr(" ","")),t["$=="](t.$to_i().$to_s())?(n=(r=e.get("Array")).$new,n.$$p=(i=function(){return f(["width"],{width:1})},i.$$s=this,i),n).call(r,t.$to_i()):(s=[],(n=(o=t.$split(",",-1)).$each,n.$$p=(a=function(t){var n,r,i,o=a.$$s||this,u=l,c=l,d=l,p=l;return null==t&&(t=l),t["$=="]("")?s["$<<"](f(["width"],{width:1})):(n=u=k.get("ColumnSpecRx").$match(t))===l||n.$$is_boolean&&1!=n?l:(c=f([],{}),(n=u["$[]"](2))===l||n.$$is_boolean&&1!=n||(n=e.to_ary(u["$[]"](2).$split(".")),d=null==n[0]?l:n[0],p=null==n[1]?l:n[1],r=d["$nil_or_empty?"]()["$!"](),(n=!1!==r&&r!==l?k.get("Table").$$scope.get("ALIGNMENTS")["$[]"]("h")["$has_key?"](d):r)===l||n.$$is_boolean&&1!=n||c["$[]="]("halign",k.get("Table").$$scope.get("ALIGNMENTS")["$[]"]("h")["$[]"](d)),r=p["$nil_or_empty?"]()["$!"](),(n=!1!==r&&r!==l?k.get("Table").$$scope.get("ALIGNMENTS")["$[]"]("v")["$has_key?"](p):r)===l||n.$$is_boolean&&1!=n||c["$[]="]("valign",k.get("Table").$$scope.get("ALIGNMENTS")["$[]"]("v")["$[]"](p))),c["$[]="]("width",(n=u["$[]"](3))===l||n.$$is_boolean&&1!=n?1:u["$[]"](3).$to_i()),r=u["$[]"](4),(n=!1!==r&&r!==l?k.get("Table").$$scope.get("TEXT_STYLES")["$has_key?"](u["$[]"](4)):r)===l||n.$$is_boolean&&1!=n||c["$[]="]("style",k.get("Table").$$scope.get("TEXT_STYLES")["$[]"](u["$[]"](4))),(n=u["$[]"](1))===l||n.$$is_boolean&&1!=n?s["$<<"](c):(n=(r=1).$upto,n.$$p=(i=function(){return s["$<<"](c.$dup())},i.$$s=o,i),n).call(r,u["$[]"](1).$to_i()))},a.$$s=this,a),n).call(o),s)}),e.defs(x,"$parse_cell_spec",function(t,n,r){var i,o,a=l,s=l,u=l,c=u=a=l,d=l;if(null==n&&(n="start"),null==r&&(r=l),a=l,s="",u=n,"start"["$==="](u)){if((i=t["$include?"](r))===l||i.$$is_boolean&&1!=i)return[l,t];if(i=e.to_ary(t.$split(r,2)),a=null==i[0]?l:i[0],s=null==i[1]?l:i[1],(i=a=k.get("CellSpecStartRx").$match(a))===l||i.$$is_boolean&&1!=i)return[l,t];if((i=a["$[]"](0)["$empty?"]())!==l&&(!i.$$is_boolean||1==i))return[f([],{}),s]}else if("end"["$==="](u)){if((i=a=k.get("CellSpecEndRx").$match(t))===l||i.$$is_boolean&&1!=i)return[f([],{}),t];if((i=a["$[]"](0).$lstrip()["$empty?"]())!==l&&(!i.$$is_boolean||1==i))return[f([],{}),t.$rstrip()];s=a.$pre_match()}return u=f([],{}),(i=a["$[]"](1))===l||i.$$is_boolean&&1!=i||(i=e.to_ary(a["$[]"](1).$split(".")),c=null==i[0]?l:i[0],d=null==i[1]?l:i[1],c=(i=c["$nil_or_empty?"]())===l||i.$$is_boolean&&1!=i?c.$to_i():1,d=(i=d["$nil_or_empty?"]())===l||i.$$is_boolean&&1!=i?d.$to_i():1,a["$[]"](2)["$=="]("+")?(c["$=="](1)||u["$[]="]("colspan",c),d["$=="](1)||u["$[]="]("rowspan",d)):a["$[]"](2)["$=="]("*")&&!c["$=="](1)&&u["$[]="]("repeatcol",c)),(i=a["$[]"](3))===l||i.$$is_boolean&&1!=i||(i=e.to_ary(a["$[]"](3).$split(".")),c=null==i[0]?l:i[0],d=null==i[1]?l:i[1],o=c["$nil_or_empty?"]()["$!"](),(i=!1!==o&&o!==l?k.get("Table").$$scope.get("ALIGNMENTS")["$[]"]("h")["$has_key?"](c):o)===l||i.$$is_boolean&&1!=i||u["$[]="]("halign",k.get("Table").$$scope.get("ALIGNMENTS")["$[]"]("h")["$[]"](c)),o=d["$nil_or_empty?"]()["$!"](),(i=!1!==o&&o!==l?k.get("Table").$$scope.get("ALIGNMENTS")["$[]"]("v")["$has_key?"](d):o)===l||i.$$is_boolean&&1!=i||u["$[]="]("valign",k.get("Table").$$scope.get("ALIGNMENTS")["$[]"]("v")["$[]"](d))),o=a["$[]"](4),(i=!1!==o&&o!==l?k.get("Table").$$scope.get("TEXT_STYLES")["$has_key?"](a["$[]"](4)):o)===l||i.$$is_boolean&&1!=i||u["$[]="]("style",k.get("Table").$$scope.get("TEXT_STYLES")["$[]"](a["$[]"](4))),[u,s]}),e.defs(x,"$parse_style_attribute",function(e,n){var i,o,a,s,u,c,d,p=l,h=l,m=l,g=l,$=l,_=l,v=h=a=l;return null==n&&(n=l),p=e["$[]"]("style"),h=e["$[]"](1),o=(a=!1!==h&&h!==l)?h["$include?"](" ")["$!"]():h,(i=!1!==o&&o!==l?k.get("Compliance").$shorthand_property_syntax():o)===l||i.$$is_boolean&&1!=i?(e["$[]="]("style",h),[h,p]):(m="style",g=[],$=f([],{}),_=(i=(o=this).$lambda,i.$$p=(s=function(){var e,t,r=s.$$s||this,i=l;return(e=g["$empty?"]())===l||e.$$is_boolean&&1!=e?(i=m,"role"["$==="](i)||"option"["$==="](i)?(e=m,r=$,!1!==(t=r["$[]"](e))&&t!==l?t:r["$[]="](e,[]),$["$[]"](m).$push(g.$join())):("id"["$==="](i)&&((e=$["$has_key?"]("id"))===l||e.$$is_boolean&&1!=e||r.$warn("asciidoctor: WARNING:"+((e=n["$nil?"]())===l||e.$$is_boolean&&1!=e?" "+n.$prev_line_info()+":":l)+" multiple ids detected in style attribute")),$["$[]="](m,g.$join())),g=[]):(e=m["$!="]("style"))===l||e.$$is_boolean&&1!=e?l:r.$warn("asciidoctor: WARNING:"+((e=n["$nil?"]())===l||e.$$is_boolean&&1!=e?" "+n.$prev_line_info()+":":l)+" invalid empty "+m+" detected in style attribute")},s.$$s=this,s),i).call(o),(i=(a=h).$each_char,i.$$p=(u=function(e){var t,n,r,i=l;return null==e&&(e=l),(t=!1!==(n=!1!==(r=e["$=="]("."))&&r!==l?r:e["$=="]("#"))&&n!==l?n:e["$=="]("%"))===l||t.$$is_boolean&&1!=t?g.$push(e):(_.$call(),i=e,"."["$==="](i)?m="role":"#"["$==="](i)?m="id":"%"["$==="](i)?m="option":l)},u.$$s=this,u),i).call(a),m["$=="]("style")?a=e["$[]="]("style",h):(_.$call(),a=(i=$["$has_key?"]("style"))===l||i.$$is_boolean&&1!=i?l:e["$[]="]("style",$["$[]"]("style")),(i=$["$has_key?"]("id"))===l||i.$$is_boolean&&1!=i||e["$[]="]("id",$["$[]"]("id")),(i=$["$has_key?"]("role"))===l||i.$$is_boolean&&1!=i||e["$[]="]("role",r($["$[]"]("role")," ")),(i=$["$has_key?"]("option"))===l||i.$$is_boolean&&1!=i||((i=(c=h=$["$[]"]("option")).$each,i.$$p=(d=function(t){return null==t&&(t=l),e["$[]="](""+t+"-option","")},d.$$s=this,d),i).call(c),(i=v=e["$[]"]("options"))===l||i.$$is_boolean&&1!=i?e["$[]="]("options",r(h,",")):e["$[]="]("options",r(t(h,v.$split(",")),",")))),[a,p])}),e.defs(x,"$adjust_indentation!",function(e,i,a){var s,c,d,f,p,g,$,_=l,v=l,b=l;return null==i&&(i=0),null==a&&(a=0),(s=e["$empty?"]())===l||s.$$is_boolean&&1!=s?((s=(c=n(a=a.$to_i(),0))?e.$join()["$include?"](k.get("TAB")):n(a=a.$to_i(),0))===l||s.$$is_boolean&&1!=s||(_=r(" ",a),(s=(c=e)["$map!"],s.$$p=(d=function(e){var n,i,s,u,c,f=d.$$s||this,p=l;return null==e&&(e=l),(n=e["$empty?"]())===l||n.$$is_boolean&&1!=n?((n=e["$start_with?"](k.get("TAB")))===l||n.$$is_boolean&&1!=n||(n=(i=e)["$sub!"],n.$$p=(s=function(e){return null==e&&(e=l),r(_,e.$length())},s.$$s=f,s),n).call(i,k.get("TabIndentRx")),(n=e["$include?"](k.get("TAB")))===l||n.$$is_boolean&&1!=n?e:(p=0,(n=(u=e)["$gsub!"],n.$$p=(c=function(){var e=l,n=l;return null==m["~"]&&(m["~"]=l),(e=t(m["~"].$begin(0),p))["$%"](a)["$=="](0)?(p=t(p,o(a,1)),_):((n=o(a,e["$%"](a)))["$=="](1)||(p=t(p,o(n,1))),r(" ",n))},c.$$s=f,c),n).call(u,k.get("TabRx")))):e},d.$$s=this,d),s).call(c)),(s=(c=!1!==i&&i!==l)?n(i=i.$to_i(),-1):i)===l||s.$$is_boolean&&1!=s?l:(v=l,(s=(c=e).$each,s.$$p=(f=function(e){var t,r=l;return null==e&&(e=l),(t=e["$empty?"]())===l||t.$$is_boolean&&1!=t?(r=o(e.$length(),e.$lstrip().$length()))["$=="](0)?(v=l,u.$v=l,u):(t=!1!==v&&v!==l?n(r,v):v)===l||t.$$is_boolean&&1!=t?v=r:l:l},f.$$s=this,f),s).call(c),i["$=="](0)?!1!==v&&v!==l&&(s=e["$map!"],s.$$p=(p=function(e){var t;return null==e&&(e=l),(t=e["$empty?"]())===l||t.$$is_boolean&&1!=t?e["$[]"](h(v,-1,!1)):e},p.$$s=this,p),s).call(e):(b=r(" ",i),!1!==v&&v!==l?(s=e["$map!"],s.$$p=(g=function(e){var n;return null==e&&(e=l),(n=e["$empty?"]())===l||n.$$is_boolean&&1!=n?t(b,e["$[]"](h(v,-1,!1))):e},g.$$s=this,g),s).call(e):(s=e["$map!"],s.$$p=($=function(e){var n;return null==e&&(e=l),(n=e["$empty?"]())===l||n.$$is_boolean&&1!=n?t(b,e):e},$.$$s=this,$),s).call(e)),l)):l}),e.defs(x,"$sanitize_attribute_name",function(e){return e.$gsub(k.get("InvalidAttributeNameCharsRx"),"").$downcase()}),e.defs(x,"$roman_numeral_to_int",function(e){var r,i,a,u=l,c=l;return e=e.$downcase(),u=f(["i","v","x"],{i:1,v:5,x:10}),c=0,(r=(i=h(0,o(e.$length(),1),!1)).$each,r.$$p=(a=function(r){var i,a=l;return null==r&&(r=l),a=u["$[]"](e["$[]"](h(r,r,!1))),c=(i=s(t(r,1),e.$length())?n(u["$[]"](e["$[]"](h(t(r,1),t(r,1),!1))),a):s(t(r,1),e.$length()))===l||i.$$is_boolean&&1!=i?t(c,a):o(c,a)},a.$$s=this,a),r).call(i),c}),l&&"roman_numeral_to_int"}(c(g,"Asciidoctor").$$scope.base,null)}(e.base)},i.modules["asciidoctor/path_resolver"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}e.dynamic_require_severity="ignore";var n=e.nil,r=e.module,i=e.klass,o=e.hash2,a=e.range;return e.add_stubs("$attr_accessor $is_root? $expand_path $pwd $start_with? $== $=~ $nil_or_empty? $include? $tr $partition_path $join_path $[] $posixfy $is_web_root? $is_unc? $index $split $shift $delete $[]= $* $raise $empty? $system_path $!= $! $dup $each $> $length $pop $fetch $warn $push $uri_prefix $<< $+ $chomp".split(" ")),function(s){!function(r,s){function l(){}var u=l=i(r,s,"PathResolver",l),c=u.$$proto,d=u.$$scope;return c.file_separator=c._partition_path_web=c._partition_path_sys=c.working_dir=n,e.cdecl(d,"DOT","."),e.cdecl(d,"DOT_DOT",".."),e.cdecl(d,"DOT_SLASH","./"),e.cdecl(d,"SLASH","/"),e.cdecl(d,"BACKSLASH","\\"),e.cdecl(d,"DOUBLE_SLASH","//"),e.cdecl(d,"WindowsRootRx",/^[a-zA-Z]:(?:\\|\/)/),u.$attr_accessor("file_separator"),u.$attr_accessor("working_dir"),e.defn(u,"$initialize",function(t,r){var i;return null==t&&(t=n),null==r&&(r=n),this.file_separator=!1!==t&&t!==n?t:!1!==(i=e.get("File").$$scope.get("ALT_SEPARATOR"))&&i!==n?i:e.get("File").$$scope.get("SEPARATOR"),this.working_dir=!1!==r&&r!==n?(i=this["$is_root?"](r))===n||i.$$is_boolean&&1!=i?e.get("File").$expand_path(r):r:e.get("File").$expand_path(e.get("Dir").$pwd()),this._partition_path_sys=o([],{}),this._partition_path_web=o([],{})}),e.defn(u,"$is_root?",function(t){var r,i,o;return!((r=t["$start_with?"](d.get("SLASH")))===n||r.$$is_boolean&&1!=r)||(!((r=this.file_separator["$=="](d.get("BACKSLASH"))?d.get("WindowsRootRx")["$=~"](t):this.file_separator["$=="](d.get("BACKSLASH")))===n||r.$$is_boolean&&1!=r)||(o=e.get("RUBY_ENGINE_OPAL"),i=!1!==o&&o!==n?e.get("JAVASCRIPT_PLATFORM")["$=="]("browser"):o,!((r=!1!==i&&i!==n?t["$start_with?"]("file:///"):i)===n||r.$$is_boolean&&1!=r)))}),e.defn(u,"$is_unc?",function(e){return e["$start_with?"](d.get("DOUBLE_SLASH"))}),e.defn(u,"$is_web_root?",function(e){return e["$start_with?"](d.get("SLASH"))}),e.defn(u,"$posixfy",function(e){var t;return(t=e["$nil_or_empty?"]())===n||t.$$is_boolean&&1!=t?(t=e["$include?"](d.get("BACKSLASH")))===n||t.$$is_boolean&&1!=t?e:e.$tr(d.get("BACKSLASH"),d.get("SLASH")):""}),e.defn(u,"$expand_path",function(t){var r=n,i=n;return t=e.to_ary(this.$partition_path(t)),r=null==t[0]?n:t[0],i=null==t[1]?n:t[1],this.$join_path(r,i)}),e.defn(u,"$partition_path",function(e,t){var r,i=n,o=i=n,s=n;return null==t&&(t=!1),(r=i=!1!==t&&t!==n?this._partition_path_web["$[]"](e):this._partition_path_sys["$[]"](e))===n||r.$$is_boolean&&1!=r?(i=this.$posixfy(e),o=!1!==t&&t!==n?(r=this["$is_web_root?"](i))===n||r.$$is_boolean&&1!=r?(r=i["$start_with?"](d.get("DOT_SLASH")))===n||r.$$is_boolean&&1!=r?n:d.get("DOT_SLASH"):d.get("SLASH"):(r=this["$is_root?"](i))===n||r.$$is_boolean&&1!=r?(r=i["$start_with?"](d.get("DOT_SLASH")))===n||r.$$is_boolean&&1!=r?n:d.get("DOT_SLASH"):(r=this["$is_unc?"](i))===n||r.$$is_boolean&&1!=r?(r=i["$start_with?"](d.get("SLASH")))===n||r.$$is_boolean&&1!=r?i["$[]"](a(0,i.$index(d.get("SLASH")),!1)):d.get("SLASH"):d.get("DOUBLE_SLASH"),s=i.$split(d.get("SLASH")),o["$=="](d.get("DOUBLE_SLASH"))?s=s["$[]"](a(2,-1,!1)):!1!==o&&o!==n&&s.$shift(),s.$delete(d.get("DOT")),(!1!==t&&t!==n?this._partition_path_web:this._partition_path_sys)["$[]="](e,[s,o,i])):i}),e.defn(u,"$join_path",function(e,r){return null==r&&(r=n),!1!==r&&r!==n?""+r+t(e,d.get("SLASH")):t(e,d.get("SLASH"))}),e.defn(u,"$system_path",function(t,r,i,a){var s,l,u,c=n,f=n,p=n,h=n,m=n,g=m=p=n,$=n;if(null==i&&(i=n),null==a&&(a=o([],{})),!1!==i&&i!==n&&(((s=this["$is_root?"](i))===n||s.$$is_boolean&&1!=s)&&this.$raise(e.get("SecurityError"),"Jail is not an absolute path: "+i),i=this.$posixfy(i)),(s=t["$nil_or_empty?"]())===n||s.$$is_boolean&&1!=s?(s=e.to_ary(this.$partition_path(t)),c=null==s[0]?n:s[0],f=null==s[1]?n:s[1]):c=[],(s=c["$empty?"]())!==n&&(!s.$$is_boolean||1==s)){if(!((s=r["$nil_or_empty?"]())===n||s.$$is_boolean&&1!=s))return!1!==i&&i!==n?i:this.working_dir;if((s=this["$is_root?"](r))===n||s.$$is_boolean&&1!=s)return this.$system_path(r,i,i,a);if(!1===i||i===n)return this.$expand_path(r)}return(s=(l=!1!==f&&f!==n)?f["$!="](d.get("DOT_SLASH")):f)===n||s.$$is_boolean&&1!=s||(p=this.$join_path(c,f),(s=!1!==(l=i["$!"]())&&l!==n?l:p["$start_with?"](i))===n||s.$$is_boolean&&1!=s)?(r=(s=r["$nil_or_empty?"]())===n||s.$$is_boolean&&1!=s?(s=this["$is_root?"](r))===n||s.$$is_boolean&&1!=s?this.$system_path(r,i,i,a):this.$posixfy(r):!1!==i&&i!==n?i:this.working_dir,i["$=="](r)?(s=e.to_ary(this.$partition_path(i)),h=null==s[0]?n:s[0],m=null==s[1]?n:s[1],p=h.$dup()):(!1!==i&&i!==n?(((s=r["$start_with?"](i))===n||s.$$is_boolean&&1!=s)&&this.$raise(e.get("SecurityError"),""+(!1!==(s=a["$[]"]("target_name"))&&s!==n?s:"Start path")+" "+r+" is outside of jail: "+i+" (disallowed in safe mode)"),s=e.to_ary(this.$partition_path(r)),p=null==s[0]?n:s[0],m=null==s[1]?n:s[1],s=e.to_ary(this.$partition_path(i)),h=null==s[0]?n:s[0]):(s=e.to_ary(this.$partition_path(r)),p=null==s[0]?n:s[0]),m=null==s[1]?n:s[1]),g=p.$dup(),$=!1,(s=(l=c).$each,s.$$p=(u=function(r){var o,s=u.$$s||this;if(null==r&&(r=n),r["$=="](d.get("DOT_DOT"))){if(!1!==i&&i!==n){r=g.$length();var l=h.$length();return("number"==typeof r&&"number"==typeof l?r>l:r["$>"](l))?g.$pop():(o=(!1!==n&&n!==n?n:a.$fetch("recover",!0))["$!"]())===n||o.$$is_boolean&&1!=o?(o=$["$!"]())===n||o.$$is_boolean&&1!=o?n:(s.$warn("asciidoctor: WARNING: "+(!1!==(o=a["$[]"]("target_name"))&&o!==n?o:"path")+" has illegal reference to ancestor of jail, auto-recovering"),$=!0):s.$raise(e.get("SecurityError"),""+(!1!==(o=a["$[]"]("target_name"))&&o!==n?o:"path")+" "+t+" refers to location outside jail: "+i+" (disallowed in safe mode)")}return g.$pop()}return g.$push(r)},u.$$s=this,u),s).call(l),this.$join_path(g,m)):p}),e.defn(u,"$web_path",function(t,r){var i,o,s,l=n,u=n,c=n,f=n;return null==r&&(r=n),t=this.$posixfy(t),r=this.$posixfy(r),l=n,((i=!1!==(o=r["$nil_or_empty?"]())&&o!==n?o:this["$is_web_root?"](t))===n||i.$$is_boolean&&1!=i)&&(t=""+r+d.get("SLASH")+t,(i=l=d.get("Helpers").$uri_prefix(t))===n||i.$$is_boolean&&1!=i||(t=t["$[]"](a(l.$length(),-1,!1)))),i=e.to_ary(this.$partition_path(t,!0)),u=null==i[0]?n:i[0],c=null==i[1]?n:i[1],f=[],(i=(o=u).$each,i.$$p=(s=function(e){var t;return null==e&&(e=n),e["$=="](d.get("DOT_DOT"))?(t=f["$empty?"]())===n||t.$$is_boolean&&1!=t?f["$[]"](-1)["$=="](d.get("DOT_DOT"))?f["$<<"](e):f.$pop():(t=!1!==c&&c!==n?c["$!="](d.get("DOT_SLASH")):c)===n||t.$$is_boolean&&1!=t?f["$<<"](e):n:f["$<<"](e)},s.$$s=this,s),i).call(o),!1!==l&&l!==n?""+l+this.$join_path(f,c):this.$join_path(f,c)}),e.defn(u,"$relative_path",function(e,t){var r,i,o=n;return i=this["$is_root?"](e),(r=!1!==i&&i!==n?this["$is_root?"](t):i)===n||r.$$is_boolean&&1!=r?e:(r=t.$chomp(this.file_separator).$length(),o="number"==typeof r?r+1:r["$+"](1),e["$[]"](a(o,-1,!1)))}),n&&"relative_path"}(r(s,"Asciidoctor").$$scope.base,null)}(e.base)},i.modules["asciidoctor/reader"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e>t:e["$>"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}function i(e,t){return"number"==typeof e&&"number"==typeof t?e-t:e["$-"](t)}function o(e,t){return"number"==typeof e&&"number"==typeof t?e>=t:e["$>="](t)}e.dynamic_require_severity="ignore";var a=e.nil,s=e.breaker,l=e.slice,u=e.module,c=e.klass,d=e.hash2,f=e.range;return e.add_stubs("$attr_accessor $path $lineno $attr_reader $! $is_a? $split $file $dir $dirname $== $basename $prepare_lines $dup $empty? $[] $normalize_lines_from_string $normalize_lines_array $+ $nil? $peek_line $nil_or_empty? $> $process_line $times $read_line $<< $reverse_each $unshift $has_more_lines? $shift $* $read_lines $advance $eof? $start_with? $match $push $read_lines_until $=~ $size $clear $[]= $- $new $line_info $to_i $fetch $attributes $< $references $has_key? $skip_front_matter! $pop $adjust_indentation! $attr $end_with? $include? $preprocess_conditional_inclusion $captures $preprocess_include $strip $pop_include $downcase $warn $=== $detect $resolve_expr_val $send $to_sym $replace_next_line $rstrip $sub_attributes $attribute_missing $include_processors? $find $handles? $instance $process_method $parse $>= $safe $pwd $base_dir $join $uriish? $require_library $normalize_system_path $file? $relative_path $each $map $to_proc $/ $concat $to_a $uniq $sort $to_set $open $each_line $infinite? $push_include $force_encoding $chomp $read $extname $rootname $<= $!= $to_f $extensions? $extensions $include_processors $class $object_id $inspect $to_s".split(" ")),function(p){p=u(p,"Asciidoctor").$$scope,function(o,l){function u(){}var p,h=u=c(o,l,"Reader",u),m=h.$$proto,g=h.$$scope;return m.file=m.dir=m.lines=m.process_lines=m.look_ahead=m.eof=m.unescape_next_line=m.lineno=m.path=m.source_lines=a,function(t,n){function r(){}var i=r=c(t,n,"Cursor",r);return i.$attr_accessor("file"),i.$attr_accessor("dir"),i.$attr_accessor("path"),i.$attr_accessor("lineno"),e.defn(i,"$initialize",function(e,t,n,r){return null==t&&(t=a),null==n&&(n=a),null==r&&(r=a),this.file=e,this.dir=t,this.path=n,this.lineno=r}),e.defn(i,"$line_info",function(){return""+this.$path()+": line "+this.$lineno()}),e.alias(i,"to_s","line_info")}(g.base,null),h.$attr_reader("file"),h.$attr_reader("dir"),h.$attr_reader("path"),h.$attr_reader("lineno"),h.$attr_reader("source_lines"),h.$attr_accessor("process_lines"),e.defn(h,"$initialize",function(t,n,r){var i;return null==t&&(t=a),null==n&&(n=a),null==r&&(r=d(["normalize"],{normalize:!1})),(i=n["$!"]())===a||i.$$is_boolean&&1!=i?(i=n["$is_a?"](e.get("String")))===a||i.$$is_boolean&&1!=i?(this.file=n.$file(),this.dir=n.$dir(),this.path=!1!==(i=n.$path())&&i!==a?i:"",(i=this.file)===a||i.$$is_boolean&&1!=i||(((i=this.dir)===a||i.$$is_boolean&&1!=i)&&(this.dir=e.get("File").$dirname(this.file),this.dir["$=="](".")&&(this.dir=a)),((i=n.$path())===a||i.$$is_boolean&&1!=i)&&(this.path=e.get("File").$basename(this.file))),this.lineno=!1!==(i=n.$lineno())&&i!==a?i:1):(this.file=n,i=e.to_ary(e.get("File").$split(this.file)),this.dir=null==i[0]?a:i[0],this.path=null==i[1]?a:i[1],this.lineno=1):(this.file=this.dir=a,this.path="",this.lineno=1),this.lines=!1!==t&&t!==a?this.$prepare_lines(t,r):[],this.source_lines=this.lines.$dup(),this.eof=this.lines["$empty?"](),this.look_ahead=0,this.process_lines=!0,this.unescape_next_line=!1}),e.defn(h,"$prepare_lines",function(t,n){var r;return null==n&&(n=d([],{})),(r=t["$is_a?"](e.get("String")))===a||r.$$is_boolean&&1!=r?(r=n["$[]"]("normalize"))===a||r.$$is_boolean&&1!=r?t.$dup():g.get("Helpers").$normalize_lines_array(t):(r=n["$[]"]("normalize"))===a||r.$$is_boolean&&1!=r?t.$split(g.get("EOL")):g.get("Helpers").$normalize_lines_from_string(t)}),e.defn(h,"$process_line",function(e){var n;return(n=this.process_lines)===a||n.$$is_boolean&&1!=n||(this.look_ahead=t(this.look_ahead,1)),e}),e.defn(h,"$has_more_lines?",function(){var e;return(!1!==(e=this.eof)&&e!==a?e:this.eof=this.$peek_line()["$nil?"]())["$!"]()}),e.defn(h,"$next_line_empty?",function(){return this.$peek_line()["$nil_or_empty?"]()}),e.defn(h,"$peek_line",function(e){var t,r,i=a;return null==e&&(e=!1),(t=!1!==(r=e)&&r!==a?r:n(this.look_ahead,0))===a||t.$$is_boolean&&1!=t?(t=!1!==(r=this.eof)&&r!==a?r:this.lines["$empty?"]())===a||t.$$is_boolean&&1!=t?(t=(i=this.$process_line(this.lines["$[]"](0)))["$!"]())===a||t.$$is_boolean&&1!=t?i:this.$peek_line():(this.eof=!0,this.look_ahead=0,a):(t=this.unescape_next_line)===a||t.$$is_boolean&&1!=t?this.lines["$[]"](0):this.lines["$[]"](0)["$[]"](f(1,-1,!1))}),e.defn(h,"$peek_lines",function(e,t){var n,r,i,o,l,u=a,c=a;return null==e&&(e=1),null==t&&(t=!0),u=this.look_ahead,c=[],(n=(r=e).$times,n.$$p=(i=function(){var e,n=a;return(e=n=(i.$$s||this).$read_line(t))===a||e.$$is_boolean&&1!=e?(s.$v=a,s):c["$<<"](n)},i.$$s=this,i),n).call(r),((n=c["$empty?"]())===a||n.$$is_boolean&&1!=n)&&((n=(o=c).$reverse_each,n.$$p=(l=function(e){var t=l.$$s||this;return null==e&&(e=a),t.$unshift(e)},l.$$s=this,l),n).call(o),!1!==t&&t!==a&&(this.look_ahead=u)),c}),e.defn(h,"$read_line",function(e){var t,r,i;return null==e&&(e=!1),(t=!1!==(r=!1!==(i=e)&&i!==a?i:n(this.look_ahead,0))&&r!==a?r:this["$has_more_lines?"]())===a||t.$$is_boolean&&1!=t?a:this.$shift()}),e.defn(h,"$read_lines",function(){for(var e,t=a,t=[];(e=this["$has_more_lines?"]())!==a&&(!e.$$is_boolean||1==e);)t["$<<"](this.$shift());return t}),e.alias(h,"readlines","read_lines"),e.defn(h,"$read",function(){return r(this.$read_lines(),g.get("EOL"))}),e.defn(h,"$advance",function(e){return null==e&&(e=!0),this.$read_line(e)["$!"]()["$!"]()}),e.defn(h,"$unshift_line",function(e){return this.$unshift(e),a}),e.alias(h,"restore_line","unshift_line"),e.defn(h,"$unshift_lines",function(e){var t,n;return(t=e.$reverse_each,t.$$p=(n=function(e){var t=n.$$s||this;return null==e&&(e=a),t.$unshift(e)},n.$$s=this,n),t).call(e),a}),e.alias(h,"restore_lines","unshift_lines"),e.defn(h,"$replace_next_line",function(e){return this.$advance(),this.$unshift(e),a}),e.alias(h,"replace_line","replace_next_line"),e.defn(h,"$skip_blank_lines",function(){var e,n,r=a,i=a;if((e=this["$eof?"]())!==a&&(!e.$$is_boolean||1==e))return 0;for(r=0;!((n=i=this.$peek_line())===a||n.$$is_boolean&&1!=n||(n=i["$empty?"]())===a||n.$$is_boolean&&1!=n);)this.$advance(),r=t(r,1);return r}),e.defn(h,"$skip_comment_lines",function(t){var n,r,i=a,o=a,s=a,l=a,u=a;if(null==t&&(t=d([],{})),(n=this["$eof?"]())!==a&&(!n.$$is_boolean||1==n))return[];for(i=[],o=t["$[]"]("include_blank_lines");(r=s=this.$peek_line())!==a&&(!r.$$is_boolean||1==r);)if((r=(t=!1!==o&&o!==a)?s["$empty?"]():o)===a||r.$$is_boolean&&1!=r)if(t=l=s["$start_with?"]("//"),(r=!1!==t&&t!==a?u=g.get("CommentBlockRx").$match(s):t)===a||r.$$is_boolean&&1!=r){if((t=!1!==l&&l!==a?g.get("CommentLineRx")["$=~"](s):l)===a||t.$$is_boolean&&1!=t)break;i["$<<"](this.$shift())}else i["$<<"](this.$shift()),(r=i).$push.apply(r,e.to_a(this.$read_lines_until(d(["terminator","read_last_line","skip_processing"],{terminator:u["$[]"](0),read_last_line:!0,skip_processing:!0}))));else i["$<<"](this.$shift());return i}),e.defn(h,"$skip_line_comments",function(){var e,t,n=a,r=a;if((e=this["$eof?"]())!==a&&(!e.$$is_boolean||1==e))return[];for(n=[];!((t=r=this.$peek_line())===a||t.$$is_boolean&&1!=t||(t=g.get("CommentLineRx")["$=~"](r))===a||t.$$is_boolean&&1!=t);)n["$<<"](this.$shift());return n}),e.defn(h,"$terminate",function(){return this.lineno=t(this.lineno,this.lines.$size()),this.lines.$clear(),this.eof=!0,this.look_ahead=0,a}),e.defn(h,"$eof?",function(){return this["$has_more_lines?"]()["$!"]()}),e.alias(h,"empty?","eof?"),e.defn(h,"$read_lines_until",p=function(t){var n,r,o,l,u,c=p.$$p||a,f=a,h=a,m=a,$=a,_=a,v=a,b=a,y=a,x=a,k=a;for(null==t&&(t=d([],{})),p.$$p=null,f=[],(n=t["$[]"]("skip_first_line"))===a||n.$$is_boolean&&1!=n||this.$advance(),r=this.process_lines,(n=!1!==r&&r!==a?t["$[]"]("skip_processing"):r)===a||n.$$is_boolean&&1!=n?h=!1:(this.process_lines=!1,h=!0),(n=m=t["$[]"]("terminator"))===a||n.$$is_boolean&&1!=n?($=t["$[]"]("break_on_blank_lines"),_=t["$[]"]("break_on_list_continuation")):_=$=!1,v=t["$[]"]("skip_line_comments"),x=y=b=!1;o=x["$!"](),(r=!1!==o&&o!==a?k=this.$read_line():o)!==a&&(!r.$$is_boolean||1==r);)x=function(){for(;(o=!0)!==a&&(!o.$$is_boolean||1==o);)return!((o=(l=!1!==m&&m!==a)?k["$=="](m):m)===a||o.$$is_boolean&&1!=o)||!((o=(l=!1!==$&&$!==a)?k["$empty?"]():$)===a||o.$$is_boolean&&1!=o)||(l=(u=!1!==_&&_!==a)?b:_,(o=!1!==l&&l!==a?k["$=="](g.get("LIST_CONTINUATION")):l)===a||o.$$is_boolean&&1!=o?!((o=(l=c!==a)?(u=e.yield1(c,k))===s?s.$v:u:c!==a)===a||o.$$is_boolean&&1!=o):(t["$[]="]("preserve_last_line",!0),!0));return a}(),!1!==x&&x!==a?((r=t["$[]"]("read_last_line"))===a||r.$$is_boolean&&1!=r||(f["$<<"](k),b=!0),(r=t["$[]"]("preserve_last_line"))===a||r.$$is_boolean&&1!=r||(this.$unshift(k),y=!0)):(o=(l=!1!==v&&v!==a)?k["$start_with?"]("//"):v,((r=!1!==o&&o!==a?g.get("CommentLineRx")["$=~"](k):o)===a||r.$$is_boolean&&1!=r)&&(f["$<<"](k),b=!0));return!1!==h&&h!==a&&(this.process_lines=!0,(n=(r=!1!==y&&y!==a)?m["$!"]():y)===a||n.$$is_boolean&&1!=n||(this.look_ahead=i(this.look_ahead,1))),f}),e.defn(h,"$shift",function(){return this.lineno=t(this.lineno,1),this.look_ahead["$=="](0)||(this.look_ahead=i(this.look_ahead,1)),this.lines.$shift()}),e.defn(h,"$unshift",function(e){return this.lineno=i(this.lineno,1),this.look_ahead=t(this.look_ahead,1),this.eof=!1,this.lines.$unshift(e)}),e.defn(h,"$cursor",function(){return g.get("Cursor").$new(this.file,this.dir,this.path,this.lineno)}),e.defn(h,"$line_info",function(){return""+this.path+": line "+this.lineno}),e.alias(h,"next_line_info","line_info"),e.defn(h,"$prev_line_info",function(){return""+this.path+": line "+i(this.lineno,1)}),e.defn(h,"$lines",function(){return this.lines.$dup()}),e.defn(h,"$string",function(){return r(this.lines,g.get("EOL"))}),e.defn(h,"$source",function(){return r(this.source_lines,g.get("EOL"))}),e.defn(h,"$to_s",function(){return this.$line_info()}),a&&"to_s"}(p.base,null),function(u,p){function h(){}var m,g,$,_,v=h=c(u,p,"PreprocessorReader",h),b=v.$$proto,y=v.$$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=a,v.$attr_reader("include_stack"),v.$attr_reader("includes"),e.defn(v,"$initialize",m=function(t,n,r){var i,o,s=a;return null==n&&(n=a),null==r&&(r=a),m.$$p=null,this.document=t,e.find_super_dispatcher(this,"initialize",m,null).apply(this,[n,r,d(["normalize"],{normalize:!0})]),s=t.$attributes().$fetch("max-include-depth",64).$to_i(),("number"==typeof s?0>s:s["$<"](0))&&(s=0),this.maxdepth=d(["abs","rel"],{abs:s,rel:s}),this.include_stack=[],this.includes=(i=t.$references(),!1!==(o=i["$[]"]("includes"))&&o!==a?o:i["$[]="]("includes",[])),this.skipping=!1,this.conditional_stack=[],this.include_processor_extensions=a}),e.defn(v,"$prepare_lines",g=function(n,i){var o,s,u,c=l.call(arguments,0),f=g.$$p,p=a,h=a,m=a,$=a;if(null==i&&(i=d([],{})),g.$$p=null,p=e.find_super_dispatcher(this,"prepare_lines",g,f).apply(this,c),s=this.document,(o=!1!==s&&s!==a?this.document.$attributes()["$has_key?"]("skip-front-matter"):s)===a||o.$$is_boolean&&1!=o||(o=h=this["$skip_front_matter!"](p))===a||o.$$is_boolean&&1!=o||this.document.$attributes()["$[]="]("front-matter",r(h,y.get("EOL"))),(o=i.$fetch("condense",!0))!==a&&(!o.$$is_boolean||1==o)){for(;u=m=p["$[]"](0),(s=!1!==u&&u!==a?m["$empty?"]():u)!==a&&(!s.$$is_boolean||1==s);)s=p.$shift(),!1!==s&&s!==a?this.lineno=t(this.lineno,1):s;for(;u=$=p["$[]"](-1),(s=!1!==u&&u!==a?$["$empty?"]():u)!==a&&(!s.$$is_boolean||1==s);)p.$pop()}return(o=i["$[]"]("indent"))===a||o.$$is_boolean&&1!=o||y.get("Parser")["$adjust_indentation!"](p,i["$[]"]("indent"),this.document.$attr("tabsize")),p}),e.defn(v,"$process_line",function(n){var r,i,o,s,l=a,u=a;return(r=this.process_lines)===a||r.$$is_boolean&&1!=r?n:(r=n["$empty?"]())===a||r.$$is_boolean&&1!=r?(o=n["$end_with?"]("]"),i=!1!==o&&o!==a?n["$start_with?"]("[")["$!"]():o,(r=!1!==i&&i!==a?n["$include?"]("::"):i)===a||r.$$is_boolean&&1!=r?(r=this.skipping)===a||r.$$is_boolean&&1!=r?(this.look_ahead=t(this.look_ahead,1),n):(this.$advance(),a):(i=n["$include?"]("if"),(r=!1!==i&&i!==a?l=y.get("ConditionalDirectiveRx").$match(n):i)===a||r.$$is_boolean&&1!=r?(r=this.skipping)===a||r.$$is_boolean&&1!=r?(o=!1!==(s=u=n["$start_with?"]("\\include::"))&&s!==a?s:n["$start_with?"]("include::"),(r=!1!==o&&o!==a?l=y.get("IncludeDirectiveRx").$match(n):o)===a||r.$$is_boolean&&1!=r?(this.look_ahead=t(this.look_ahead,1),n):!1!==u&&u!==a?(this.unescape_next_line=!0,this.look_ahead=t(this.look_ahead,1),n["$[]"](f(1,-1,!1))):(r=this.$preprocess_include(l["$[]"](1),l["$[]"](2).$strip()))===a||r.$$is_boolean&&1!=r?(this.look_ahead=t(this.look_ahead,1),n):a):(this.$advance(),a):(r=n["$start_with?"]("\\"))===a||r.$$is_boolean&&1!=r?(r=(i=this).$preprocess_conditional_inclusion.apply(i,e.to_a(l.$captures())))===a||r.$$is_boolean&&1!=r?(this.look_ahead=t(this.look_ahead,1),n):(this.$advance(),a):(this.unescape_next_line=!0,this.look_ahead=t(this.look_ahead,1),n["$[]"](f(1,-1,!1))))):(this.look_ahead=t(this.look_ahead,1),"")}),e.defn(v,"$peek_line",$=function(t){var n,r=l.call(arguments,0),i=$.$$p,o=a;return null==t&&(t=!1),$.$$p=null,(n=o=e.find_super_dispatcher(this,"peek_line",$,i).apply(this,r))===a||n.$$is_boolean&&1!=n?(n=this.include_stack["$empty?"]())===a||n.$$is_boolean&&1!=n?(this.$pop_include(),this.$peek_line(t)):a:o}),e.defn(v,"$preprocess_conditional_inclusion",function(e,t,r,i){var o,s,l,u,c,f,p,h,m,g,$=a,_=$=a,v=a,b=v=_=$=a,_=a;if((o=!1!==(l=!1!==(u=e["$=="]("ifdef"))&&u!==a?u:e["$=="]("ifndef"),s=!1!==l&&l!==a?t["$empty?"]():l)&&s!==a?s:(l=e["$=="]("endif"))?i:e["$=="]("endif"))!==a&&(!o.$$is_boolean||1==o))return!1;if(t=t.$downcase(),e["$=="]("endif"))return $=this.conditional_stack.$size(),n($,0)?($=this.conditional_stack["$[]"](-1),(o=!1!==(s=t["$empty?"]())&&s!==a?s:t["$=="]($["$[]"]("target")))===a||o.$$is_boolean&&1!=o?this.$warn("asciidoctor: ERROR: "+this.$line_info()+": mismatched macro: endif::"+t+"[], expected endif::"+$["$[]"]("target")+"[]"):(this.conditional_stack.$pop(),this.skipping=!!((o=this.conditional_stack["$empty?"]())===a||o.$$is_boolean&&1!=o)&&this.conditional_stack["$[]"](-1)["$[]"]("skipping"))):this.$warn("asciidoctor: ERROR: "+this.$line_info()+": unmatched macro: endif::"+t+"[]"),!0;if(_=!1,(o=this.skipping)===a||o.$$is_boolean&&1!=o)if(v=e,"ifdef"["$==="](v))v=r,a["$==="](v)?_=this.document.$attributes()["$has_key?"](t)["$!"]():","["$==="](v)?_=(o=(s=t.$split(",")).$detect,o.$$p=(c=function(e){var t=c.$$s||this;return null==t.document&&(t.document=a),null==e&&(e=a),t.document.$attributes()["$has_key?"](e)},c.$$s=this,c),o).call(s)["$!"]():"+"["$==="](v)&&(_=(o=(l=t.$split("+")).$detect,o.$$p=(f=function(e){var t=f.$$s||this;return null==t.document&&(t.document=a),null==e&&(e=a),t.document.$attributes()["$has_key?"](e)["$!"]()},f.$$s=this,f),o).call(l));else if("ifndef"["$==="](v))v=r,a["$==="](v)?_=this.document.$attributes()["$has_key?"](t):","["$==="](v)?_=(o=(u=t.$split(",")).$detect,o.$$p=(p=function(e){var t=p.$$s||this;return null==t.document&&(t.document=a),null==e&&(e=a),t.document.$attributes()["$has_key?"](e)["$!"]()},p.$$s=this,p),o).call(u)["$!"]():"+"["$==="](v)&&(_=(o=(h=t.$split("+")).$detect,o.$$p=(m=function(e){var t=m.$$s||this;return null==t.document&&(t.document=a),null==e&&(e=a),t.document.$attributes()["$has_key?"](e)},m.$$s=this,m),o).call(h));else if("ifeval"["$==="](v)){if((o=!1!==(g=t["$empty?"]()["$!"]())&&g!==a?g:($=y.get("EvalExpressionRx").$match(i.$strip()))["$!"]())!==a&&(!o.$$is_boolean||1==o))return!1; +_=this.$resolve_expr_val($["$[]"](1)),v=this.$resolve_expr_val($["$[]"](3)),_=(b=$["$[]"](2))["$=="]("!=")?_.$send("==",v):_.$send(b.$to_sym(),v)["$!"]()}return(o=!1!==(g=e["$=="]("ifeval"))&&g!==a?g:i["$!"]())===a||o.$$is_boolean&&1!=o?((o=!1!==(g=this.skipping)&&g!==a?g:_)===a||o.$$is_boolean&&1!=o)&&(_=this.$peek_line(!0),this.$replace_next_line(i.$rstrip()),this.$unshift(_)):(!1!==_&&_!==a&&(this.skipping=!0),this.conditional_stack["$<<"](d(["target","skip","skipping"],{target:t,skip:_,skipping:this.skipping}))),!0}),e.defn(v,"$preprocess_include",function(l,u){var c,f,p,h,m,g,$,_,v,b=a,x=a,k=a,w=a,E=a,A=a,C=a,S=a,T=a,M=a,D=a,L=a,F=a,O=a,R=a,I=a;if((c=(b=this.document.$sub_attributes(l,d(["attribute_missing"],{attribute_missing:"drop-line"})))["$empty?"]())===a||c.$$is_boolean&&1!=c){if(f=this["$include_processors?"](),(c=!1!==f&&f!==a?x=(p=(h=this.include_processor_extensions).$find,p.$$p=(m=function(e){return null==e&&(e=a),e.$instance()["$handles?"](b)},m.$$s=this,m),p).call(h):f)===a||c.$$is_boolean&&1!=c){if(o(this.document.$safe(),y.get("SafeMode").$$scope.get("SECURE")))return this.$replace_next_line("link:"+b+"[]"),!0;if((c=(f=n(k=this.maxdepth["$[]"]("abs"),0))?o(this.include_stack.$size(),k):n(k=this.maxdepth["$[]"]("abs"),0))===a||c.$$is_boolean&&1!=c){if(n(k,0)){if((c=e.get("RUBY_ENGINE_OPAL"))===a||c.$$is_boolean&&1!=c)if((c=y.get("Helpers")["$uriish?"](b))===a||c.$$is_boolean&&1!=c){if(w="file",E=this.document.$normalize_system_path(b,this.dir,a,d(["target_name"],{target_name:"include file"})),(c=e.get("File")["$file?"](E))===a||c.$$is_boolean&&1!=c)return this.$warn("asciidoctor: WARNING: "+this.$line_info()+": include file not found: "+E),this.$replace_next_line("Unresolved directive in "+this.path+" - include::"+b+"["+u+"]"),!0;A=y.get("PathResolver").$new().$relative_path(E,this.document.$base_dir())}else{if((c=this.document.$attributes()["$has_key?"]("allow-uri-read"))===a||c.$$is_boolean&&1!=c)return this.$replace_next_line("link:"+b+"[]"),!0;if(w="uri",E=A=b,(c=this.document.$attributes()["$has_key?"]("cache-uri"))===a||c.$$is_boolean&&1!=c)(c=e.get("RUBY_ENGINE_OPAL")["$!"]())===a||c.$$is_boolean&&1!=c||e.get("OpenURI");else{var B;try{B=null!=e.get("OpenURI").$$scope.get("Cache")?"constant":a}catch(t){if(t.$$class!==e.NameError)throw t;B=a}((c=B)===a||c.$$is_boolean&&1!=c)&&y.get("Helpers").$require_library("open-uri/cached","open-uri-cached")}}else w="file",E=A=(c=this.include_stack["$empty?"]())===a||c.$$is_boolean&&1!=c?e.get("File").$join(this.dir,b):e.get("Dir").$pwd()["$=="](this.document.$base_dir())?b:e.get("File").$join(this.dir,b);if(S=C=a,T=d([],{}),(c=u["$empty?"]()["$!"]())===a||c.$$is_boolean&&1!=c||(T=y.get("AttributeList").$new(u).$parse(),(c=T["$has_key?"]("lines"))===a||c.$$is_boolean&&1!=c?(c=T["$has_key?"]("tag"))===a||c.$$is_boolean&&1!=c?(c=T["$has_key?"]("tags"))===a||c.$$is_boolean&&1!=c||(S=T["$[]"]("tags").$split(y.get("DataDelimiterRx")).$to_set()):S=[T["$[]"]("tag")].$to_set():(C=[],(c=(f=T["$[]"]("lines").$split(y.get("DataDelimiterRx"))).$each,c.$$p=(g=function(t){var n,r,i,o=a,s=a;return null==t&&(t=a),(n=t["$include?"](".."))===a||n.$$is_boolean&&1!=n?C["$<<"](t.$to_i()):(n=e.to_ary((r=(i=t.$split("..")).$map,r.$$p="to_i".$to_proc(),r).call(i)),o=null==n[0]?a:n[0],s=null==n[1]?a:n[1],s["$=="](-1)?(C["$<<"](o),C["$<<"](1/0)):C.$concat(e.get("Range").$new(o,s).$to_a()))},g.$$s=this,g),c).call(f),C=C.$sort().$uniq())),!1!==C&&C!==a){if((c=C["$empty?"]())===a||c.$$is_boolean&&1!=c){M=[],L=D=0;try{(c=(p=this).$open,c.$$p=($=function(n){var r,i,o,l=$.$$s||this;return null==n&&(n=a),(r=(i=n).$each_line,r.$$p=(o=function(r){var i,o,l=a;return null==r&&(r=a),L=t(L,1),l=C["$[]"](0),o=l["$is_a?"](e.get("Float")),(i=!1!==o&&o!==a?l["$infinite?"]():o)===a||i.$$is_boolean&&1!=i?(n.$lineno()["$=="](l)&&(M.$push(r),D["$=="](0)&&(D=L),C.$shift()),(i=C["$empty?"]())===a||i.$$is_boolean&&1!=i?a:(s.$v=a,s)):(M.$push(r),D["$=="](0)?D=L:a)},o.$$s=l,o),r).call(i)},$.$$s=this,$),c).call(p,E,"r")}catch(t){try{return this.$warn("asciidoctor: WARNING: "+this.$line_info()+": include "+w+" not readable: "+E),this.$replace_next_line("Unresolved directive in "+this.path+" - include::"+b+"["+u+"]"),!0}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}this.$advance(),this.$push_include(M,E,A,D,T)}}else if(!1!==S&&S!==a){if((c=S["$empty?"]())===a||c.$$is_boolean&&1!=c){M=[],L=D=0,F=a,O=e.get("Set").$new();try{(c=this.$open,c.$$p=(_=function(n){var r,i,o,l=_.$$s||this;return null==n&&(n=a),(r=(i=n).$each_line,r.$$p=(o=function(n){var r,i,l,u=o.$$s||this,c=a;return null==n&&(n=a),L=t(L,1),(r=y.get("FORCE_ENCODING"))===a||r.$$is_boolean&&1!=r||n.$force_encoding(e.get("Encoding").$$scope.get("UTF_8")),n=n.$rstrip(),c=n.$chomp("-->").$rstrip(),!1!==F&&F!==a?(r=c["$end_with?"]("end::"+F+"[]"))===a||r.$$is_boolean&&1!=r?(i=c["$end_with?"]("[]"),((r=!1!==i&&i!==a?y.get("TagDirectiveRx")["$=~"](c):i)===a||r.$$is_boolean&&1!=r)&&M.$push(n),D["$=="](0)?D=L:a):F=a:(i=c["$end_with?"]("[]"),(r=!1!==i&&i!==a?y.get("TagDirectiveRx")["$=~"](c):i)===a||r.$$is_boolean&&1!=r?a:(r=(i=S).$each,r.$$p=(l=function(e){var t;return null==e&&(e=a),(t=c["$end_with?"]("tag::"+e+"[]"))===a||t.$$is_boolean&&1!=t?a:(F=e,O["$<<"](e),s.$v=a,s)},l.$$s=u,l),r).call(i))},o.$$s=l,o),r).call(i)},_.$$s=this,_),c).call(this,E,"r")}catch(t){try{return this.$warn("asciidoctor: WARNING: "+this.$line_info()+": include "+w+" not readable: "+E),this.$replace_next_line("Unresolved directive in "+this.path+" - include::"+b+"["+u+"]"),!0}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}((c=(R=i(S.$to_a(),O.$to_a()))["$empty?"]())===a||c.$$is_boolean&&1!=c)&&this.$warn("asciidoctor: WARNING: "+this.$line_info()+": tag"+(n(R.$size(),1)?"s":a)+" '"+r(R,",")+"' not found in include "+w+": "+E),this.$advance(),this.$push_include(M,E,A,D,T)}}else try{I=(c=this.$open,c.$$p=(v=function(e){return null==e&&(e=a),e.$read()},v.$$s=this,v),c).call(this,E,"r"),this.$advance(),this.$push_include(I,E,A,1,T)}catch(t){try{this.$warn("asciidoctor: WARNING: "+this.$line_info()+": include "+w+" not readable: "+E),this.$replace_next_line("Unresolved directive in "+this.path+" - include::"+b+"["+u+"]")}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}return!0}return!1}return this.$warn("asciidoctor: ERROR: "+this.$line_info()+": maximum include depth of "+this.maxdepth["$[]"]("rel")+" exceeded"),!1}return this.$advance(),x.$process_method()["$[]"](this.document,this,b,y.get("AttributeList").$new(u).$parse()),!0}return this.$advance(),this.document.$attributes().$fetch("attribute-missing",y.get("Compliance").$attribute_missing())["$=="]("skip")&&this.$unshift("Unresolved directive in "+this.path+" - include::"+l+"["+u+"]"),!0}),e.defn(v,"$push_include",function(n,r,o,s,l){var u,c=a,f=a;return null==r&&(r=a),null==o&&(o=a),null==s&&(s=1),null==l&&(l=d([],{})),this.include_stack["$<<"]([this.lines,this.file,this.dir,this.path,this.lineno,this.maxdepth,this.process_lines]),!1!==r&&r!==a?(this.file=r,this.dir=y.get("File").$dirname(r),this.process_lines=y.get("ASCIIDOC_EXTENSIONS")["$[]"](e.get("File").$extname(r))):(this.file=a,this.dir=".",this.process_lines=!0),!1!==o&&o!==a?(this.includes["$<<"](y.get("Helpers").$rootname(o)),r=o):r="",this.path=r,this.lineno=s,(u=l["$has_key?"]("depth"))===a||u.$$is_boolean&&1!=u||(c=l["$[]"]("depth").$to_i(),("number"==typeof c?0>=c:c["$<="](0))&&(c=1),this.maxdepth=d(["abs","rel"],{abs:t(i(this.include_stack.$size(),1),c),rel:c})),(u=(this.lines=this.$prepare_lines(n,d(["normalize","condense","indent"],{normalize:!0,condense:!1,indent:l["$[]"]("indent")})))["$empty?"]())===a||u.$$is_boolean&&1!=u?((u=l["$has_key?"]("leveloffset"))===a||u.$$is_boolean&&1!=u||(this.lines.$unshift(""),this.lines.$unshift(":leveloffset: "+l["$[]"]("leveloffset")),this.lines.$push(""),(u=f=this.document.$attr("leveloffset"))===a||u.$$is_boolean&&1!=u?this.lines.$push(":leveloffset!:"):this.lines.$push(":leveloffset: "+f),this.lineno=i(this.lineno,2)),this.eof=!1,this.look_ahead=0):this.$pop_include(),a}),e.defn(v,"$pop_include",function(){var t;return n(this.include_stack.$size(),0)&&(t=e.to_ary(this.include_stack.$pop()),this.lines=null==t[0]?a:t[0],this.file=null==t[1]?a:t[1],this.dir=null==t[2]?a:t[2],this.path=null==t[3]?a:t[3],this.lineno=null==t[4]?a:t[4],this.maxdepth=null==t[5]?a:t[5],this.process_lines=null==t[6]?a:t[6],this.eof=this.lines["$empty?"](),this.look_ahead=0),a}),e.defn(v,"$include_depth",function(){return this.include_stack.$size()}),e.defn(v,"$exceeded_max_depth?",function(){var e,t=a;return!((e=n(t=this.maxdepth["$[]"]("abs"),0)?o(this.include_stack.$size(),t):n(this.maxdepth["$[]"]("abs"),0))===a||e.$$is_boolean&&1!=e)&&this.maxdepth["$[]"]("rel")}),e.defn(v,"$shift",_=function(){var t,n=l.call(arguments,0),r=_.$$p;return _.$$p=null,(t=this.unescape_next_line)===a||t.$$is_boolean&&1!=t?e.find_super_dispatcher(this,"shift",_,r).apply(this,n):(this.unescape_next_line=!1,e.find_super_dispatcher(this,"shift",_,r).apply(this,n)["$[]"](f(1,-1,!1)))}),e.defn(v,"$skip_front_matter!",function(n,r){var i,o,s,l=a,u=a;if(null==r&&(r=!0),l=a,n["$[]"](0)["$=="]("---")){for(u=n.$dup(),l=[],n.$shift(),!1!==r&&r!==a&&(this.lineno=t(this.lineno,1));s=n["$empty?"]()["$!"](),(o=!1!==s&&s!==a?n["$[]"](0)["$!="]("---"):s)!==a&&(!o.$$is_boolean||1==o);)l.$push(n.$shift()),!1!==r&&r!==a&&(this.lineno=t(this.lineno,1));(i=n["$empty?"]())===a||i.$$is_boolean&&1!=i?(n.$shift(),!1!==r&&r!==a&&(this.lineno=t(this.lineno,1))):((i=n).$unshift.apply(i,e.to_a(u)),!1!==r&&r!==a&&(this.lineno=0),l=a)}return l}),e.defn(v,"$resolve_expr_val",function(e){var t,n,r,i=a;return(t=!1!==(r=e["$start_with?"]('"'),n=!1!==r&&r!==a?e["$end_with?"]('"'):r)&&n!==a?n:(r=e["$start_with?"]("'"),!1!==r&&r!==a?e["$end_with?"]("'"):r))===a||t.$$is_boolean&&1!=t?i=!1:(i=!0,e=e["$[]"](f(1,-1,!0))),(t=e["$include?"]("{"))===a||t.$$is_boolean&&1!=t||(e=this.document.$sub_attributes(e,d(["attribute_missing"],{attribute_missing:"drop"}))),!1!==i&&i!==a?e:(t=e["$empty?"]())===a||t.$$is_boolean&&1!=t?!!e["$=="]("true")||!e["$=="]("false")&&((t=e.$rstrip()["$empty?"]())===a||t.$$is_boolean&&1!=t?(t=e["$include?"]("."))===a||t.$$is_boolean&&1!=t?e.$to_i():e.$to_f():" "):a}),e.defn(v,"$include_processors?",function(){var e,t;return(e=this.include_processor_extensions["$nil?"]())===a||e.$$is_boolean&&1!=e?this.include_processor_extensions["$!="](!1):(t=this.document["$extensions?"](),(e=!1!==t&&t!==a?this.document.$extensions()["$include_processors?"]():t)===a||e.$$is_boolean&&1!=e?this.include_processor_extensions=!1:(this.include_processor_extensions=this.document.$extensions().$include_processors())["$!"]()["$!"]())}),e.defn(v,"$to_s",function(){var e,t,n;return"#<"+this.$class()+"@"+this.$object_id()+" {path: "+this.path.$inspect()+", line #: "+this.lineno+", include depth: "+this.include_stack.$size()+", include stack: ["+(e=(t=this.include_stack).$map,e.$$p=(n=function(e){return null==e&&(e=a),e.$to_s()},n.$$s=this,n),e).call(t).$join(", ")+"]}>"}),a&&"to_s"}(p.base,p.get("Reader"))}(e.base)},i.modules["asciidoctor/section"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e>t:e["$>"](t)}e.dynamic_require_severity="ignore";var r=e.nil,i=e.slice,o=e.module,a=e.klass,s=e.hash2,l=e.range;return e.add_stubs("$attr_accessor $+ $level $> $== $context $special $has_key? $attributes $[] $chomp $tr_s $gsub $downcase $title $empty? $start_with? $unique_id_start_index $references $sectnum $assign_index $!= $class $object_id $inspect $size".split(" ")),function(u){u=o(u,"Asciidoctor").$$scope,function(o,u){function c(){}var d,f,p,h=c=a(o,u,"Section",c),m=h.$$proto,g=h.$$scope;return m.level=m.document=m.parent=m.number=m.title=m.numbered=m.blocks=r,h.$attr_accessor("index"),h.$attr_accessor("number"),h.$attr_accessor("sectname"),h.$attr_accessor("special"),h.$attr_accessor("numbered"),e.defn(h,"$initialize",d=function(i,o,a,l){return null==i&&(i=r),null==o&&(o=r),null==a&&(a=!0),null==l&&(l=s([],{})),d.$$p=null,e.find_super_dispatcher(this,"initialize",d,null).apply(this,[i,"section",l]),this.level=!1!==o&&o!==r?o:!1!==i&&i!==r?t(i.$level(),1):1,this.numbered=(o=!1!==a&&a!==r)?n(this.level,0):a,this.special=(o=!1!==i&&i!==r?i.$context()["$=="]("section"):i,!1!==o&&o!==r?i.$special():o),this.index=0,this.number=1}),e.alias(h,"name","title"),e.defn(h,"$generate_id",function(){var e,n,i=r,o=r,a=r,s=o=r;if((e=this.document.$attributes()["$has_key?"]("sectids"))===r||e.$$is_boolean&&1!=e)return r;if(i=!1!==(e=this.document.$attributes()["$[]"]("idseparator"))&&e!==r?e:"_",o=!1!==(e=this.document.$attributes()["$[]"]("idprefix"))&&e!==r?e:"_",a=""+o+this.$title().$downcase().$gsub(g.get("InvalidSectionIdCharsRx"),i).$tr_s(i,i).$chomp(i),n=o["$empty?"](),(e=!1!==n&&n!==r?a["$start_with?"](i):n)!==r&&(!e.$$is_boolean||1==e))for(a=a["$[]"](l(1,-1,!1));(n=a["$start_with?"](i))!==r&&(!n.$$is_boolean||1==n);)a=a["$[]"](l(1,-1,!1));for(o=a,s=g.get("Compliance").$unique_id_start_index();(n=this.document.$references()["$[]"]("ids")["$has_key?"](o))!==r&&(!n.$$is_boolean||1==n);)o=""+a+i+s,s=t(s,1);return o}),e.defn(h,"$sectnum",function(e,t){var i,o,a,s;return null==e&&(e="."),null==t&&(t=r),!1!==(i=t)&&i!==r?i:t=t["$=="](!1)?"":e,s=this.level,a=!1!==s&&s!==r?n(this.level,1):s,o=!1!==a&&a!==r?this.parent:a,(i=!1!==o&&o!==r?this.parent.$context()["$=="]("section"):o)===r||i.$$is_boolean&&1!=i?""+this.number+t:""+this.parent.$sectnum(e)+this.number+t}),e.defn(h,"$<<",f=function(t){var n=i.call(arguments,0),r=f.$$p;return f.$$p=null,t.$context()["$=="]("section")&&this.$assign_index(t),e.find_super_dispatcher(this,"<<",f,r).apply(this,n)}),e.defn(h,"$to_s",p=function(){var t,n=i.call(arguments,0),o=p.$$p,a=r;return p.$$p=null,(t=this.title["$!="](r))===r||t.$$is_boolean&&1!=t?e.find_super_dispatcher(this,"to_s",p,o).apply(this,n):(a=(t=this.numbered)===r||t.$$is_boolean&&1!=t?this.title:""+this.$sectnum()+" "+this.title,"#<"+this.$class()+"@"+this.$object_id()+" {level: "+this.level+", title: "+a.$inspect()+", blocks: "+this.blocks.$size()+"}>")}),r&&"to_s"}(u.base,u.get("AbstractBlock"))}(e.base)},i.modules["asciidoctor/stylesheets"]=function(e){e.dynamic_require_severity="ignore";var t=e.nil,n=e.module,r=e.klass,i=e.hash2;return e.add_stubs("$join $new $chomp $read $primary_stylesheet_data $open $write $primary_stylesheet_name $coderay_stylesheet_data $coderay_stylesheet_name $load_pygments $pygments_stylesheet_data $pygments_stylesheet_name $! $nil? $require_library".split(" ")),function(o){!function(n,o){function a(){}var s=a=r(n,o,"Stylesheets",a),l=s.$$proto,u=s.$$scope;return l.primary_stylesheet_data=l.coderay_stylesheet_data=l.pygments_stylesheet_data=t,e.cdecl(u,"DEFAULT_STYLESHEET_NAME","asciidoctor.css"),e.cdecl(u,"DEFAULT_PYGMENTS_STYLE","default"),e.cdecl(u,"STYLESHEETS_DATA_PATH",e.get("File").$join(u.get("DATA_PATH"),"stylesheets")),s.__instance__=s.$new(),e.defs(s,"$instance",function(){return null==this.__instance__&&(this.__instance__=t),this.__instance__}),e.defn(s,"$primary_stylesheet_name",function(){return u.get("DEFAULT_STYLESHEET_NAME")}),e.defn(s,"$primary_stylesheet_data",function(){var n;return!1!==(n=this.primary_stylesheet_data)&&n!==t?n:this.primary_stylesheet_data=e.get("IO").$read(e.get("File").$join(u.get("STYLESHEETS_DATA_PATH"),"asciidoctor-default.css")).$chomp()}),e.defn(s,"$embed_primary_stylesheet",function(){return""}),e.defn(s,"$write_primary_stylesheet",function(n){var r,i,o;return(r=(i=e.get("File")).$open,r.$$p=(o=function(e){var n=o.$$s||this;return null==e&&(e=t),e.$write(n.$primary_stylesheet_data())},o.$$s=this,o),r).call(i,e.get("File").$join(n,this.$primary_stylesheet_name()),"w")}),e.defn(s,"$coderay_stylesheet_name",function(){return"coderay-asciidoctor.css"}),e.defn(s,"$coderay_stylesheet_data",function(){var n;return!1!==(n=this.coderay_stylesheet_data)&&n!==t?n:this.coderay_stylesheet_data=e.get("IO").$read(e.get("File").$join(u.get("STYLESHEETS_DATA_PATH"),"coderay-asciidoctor.css")).$chomp()}),e.defn(s,"$embed_coderay_stylesheet",function(){return""}),e.defn(s,"$write_coderay_stylesheet",function(n){var r,i,o;return(r=(i=e.get("File")).$open,r.$$p=(o=function(e){var n=o.$$s||this;return null==e&&(e=t),e.$write(n.$coderay_stylesheet_data())},o.$$s=this,o),r).call(i,e.get("File").$join(n,this.$coderay_stylesheet_name()),"w")}),e.defn(s,"$pygments_stylesheet_name",function(e){var n;return null==e&&(e=t),"pygments-"+(!1!==(n=e)&&n!==t?n:u.get("DEFAULT_PYGMENTS_STYLE"))+".css"}),e.defn(s,"$pygments_stylesheet_data",function(e){var n;return(n=this.$load_pygments())===t||n.$$is_boolean&&1!=n?"/* Pygments styles disabled. Pygments is not available. */":!1!==(n=this.pygments_stylesheet_data)&&n!==t?n:this.pygments_stylesheet_data=i([],{})}),e.defn(s,"$embed_pygments_stylesheet",function(e){return null==e&&(e=t),""}),e.defn(s,"$write_pygments_stylesheet",function(n,r){var i,o,a;return null==r&&(r=t),(i=(o=e.get("File")).$open,i.$$p=(a=function(e){var n=a.$$s||this;return null==e&&(e=t),e.$write(n.$pygments_stylesheet_data(r))},a.$$s=this,a),i).call(o,e.get("File").$join(n,this.$pygments_stylesheet_name(r)),"w")}),e.defn(s,"$load_pygments",function(){var n;return!((n=null==e.Object.$$scope.Pygments?t:"constant")===t||n.$$is_boolean&&1!=n)||u.get("Helpers").$require_library("pygments","pygments.rb","ignore")["$nil?"]()["$!"]()}),t&&"load_pygments"}(n(o,"Asciidoctor").$$scope.base,null)}(e.base)},i.modules["asciidoctor/table"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e>t:e["$>"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e/t:e["$/"](t)}function i(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}function o(e,t){return"number"==typeof e&&"number"==typeof t?e-t:e["$-"](t)}e.dynamic_require_severity="ignore";var a=e.nil,s=e.slice,l=e.module,u=e.klass,c=e.hash2,d=e.range;return e.add_stubs("$attr_accessor $new $key? $[] $abs $to_i $== $!= $> $[]= $attributes $round $* $/ $to_f $empty? $body $each $+ $<< $size $assign_col_widths $** $assign_width $- $shift $style= $head= $foot= $pop $update_attributes $parent $attr_reader $delete $! $header_row? $table $split $include? $readlines $unshift $nil? $strip $apply_normal_subs $convert $map $text $to_s $cursor $raise $nested? $document $escape $columns $start_with? $match $chop $pre_match $post_match $end_with? $lstrip $push_cell_spec $cell_open? $close_cell $advance $take_cell_spec $fetch $warn $line_info $tr_s $upto $times $rowspan $activate_rowspan $colspan $end_of_row? $close_row $rows $effective_col_visits".split(" ")),function(f){f=l(f,"Asciidoctor").$$scope,function(s,l){function d(){}var f,p=d=u(s,l,"Table",d),h=p.$$proto,m=p.$$scope;return h.attributes=h.document=h.has_header_option=h.rows=h.columns=a,function(t,n){function r(){}var i=r=u(t,n,"Rows",r);return i.$attr_accessor("head","foot","body"),e.defn(i,"$initialize",function(e,t,n){return null==e&&(e=[]),null==t&&(t=[]),null==n&&(n=[]),this.head=e,this.foot=t,this.body=n}),e.alias(i,"[]","send")}(m.base,null),e.cdecl(m,"DEFAULT_DATA_FORMAT","psv"),e.cdecl(m,"DATA_FORMATS",["psv","dsv","csv"]),e.cdecl(m,"DEFAULT_DELIMITERS",c(["psv","dsv","csv"],{psv:"|",dsv:":",csv:","})),e.cdecl(m,"TEXT_STYLES",c("dsemhlva".split(""),{d:"none",s:"strong",e:"emphasis",m:"monospaced",h:"header",l:"literal",v:"verse",a:"asciidoc"})),e.cdecl(m,"ALIGNMENTS",c(["h","v"],{h:c(["<",">","^"],{"<":"left",">":"right","^":"center"}),v:c(["<",">","^"],{"<":"top",">":"bottom","^":"middle"})})),p.$attr_accessor("columns"),p.$attr_accessor("rows"),p.$attr_accessor("has_header_option"),e.defn(p,"$initialize",f=function(i,o){var s,l,u,c=a,d=a;return f.$$p=null,e.find_super_dispatcher(this,"initialize",f,null).apply(this,[i,"table"]),this.rows=m.get("Rows").$new(),this.columns=[],this.has_header_option=o["$key?"]("header-option"),c=o["$[]"]("width"),d=c.$to_i().$abs(),(s=!1!==(l=(u=d["$=="](0))?c["$!="]("0"):d["$=="](0))&&l!==a?l:t(d,100))===a||s.$$is_boolean&&1!=s||(d=100),this.attributes["$[]="]("tablepcwidth",d),(s=this.document.$attributes()["$key?"]("pagewidth"))===a||s.$$is_boolean&&1!=s?a:(s="tableabswidth",l=this.attributes,!1!==(u=l["$[]"](s))&&u!==a?u:l["$[]="](s,n(r(this.attributes["$[]"]("tablepcwidth").$to_f(),100),this.document.$attributes()["$[]"]("pagewidth")).$round()))}),e.defn(p,"$header_row?",function(){var e;return e=this.has_header_option,!1!==e&&e!==a?this.rows.$body()["$empty?"]():e}),e.defn(p,"$create_columns",function(e){var t,n,r=a,o=a,r=[],o=0;return(t=e.$each,t.$$p=(n=function(e){var t=n.$$s||this;return null==e&&(e=a),o=i(o,e["$[]"]("width")),r["$<<"](m.get("Column").$new(t,r.$size(),e))},n.$$s=this,n),t).call(e),((t=(this.columns=r)["$empty?"]())===a||t.$$is_boolean&&1!=t)&&(this.attributes["$[]="]("colcount",r.$size()),this.$assign_col_widths(o["$=="](0)?a:o)),a}),e.defn(p,"$assign_col_widths",function(e){var t,s,l,u,c,d=a,f=a,p=a;return null==e&&(e=a),d=10["$**"](4),f=p=0,!1!==e&&e!==a?(t=(s=this.columns).$each,t.$$p=(l=function(t){return null==t&&(t=a),f=i(f,p=t.$assign_width(a,e,d))},l.$$s=this,l),t).call(s):(p=r(r(n(100,d),this.columns.$size()).$to_i(),d),p.$to_i()["$=="](p)&&(p=p.$to_i()),(t=(u=this.columns).$each,t.$$p=(c=function(e){return null==e&&(e=a),f=i(f,e.$assign_width(p))},c.$$s=this,c),t).call(u)),f["$=="](100)||this.columns["$[]"](-1).$assign_width(r(n(i(o(100,f),p),d).$round(),d)),a}),e.defn(p,"$partition_header_footer",function(e){var n,r,i,s=a,l=a;return this.attributes["$[]="]("rowcount",this.rows.$body().$size()),s=this.rows.$body().$size(),(n=(r=t(s,0))?this.has_header_option:t(s,0))===a||n.$$is_boolean&&1!=n||(l=this.rows.$body().$shift(),s=o(s,1),(n=(r=l).$each,n.$$p=(i=function(e){var t,n;return null==e&&(e=a),t=[a],n=e,n["$style="].apply(n,t),t[t.length-1]},i.$$s=this,i),n).call(r),n=[[l]],r=this.rows,r["$head="].apply(r,n),n[n.length-1]),(n=(r=t(s,0))?e["$key?"]("footer-option"):t(s,0))===a||n.$$is_boolean&&1!=n||(n=[[this.rows.$body().$pop()]],r=this.rows,r["$foot="].apply(r,n),n[n.length-1]),a}),a&&"partition_header_footer"}(f.base,f.get("AbstractBlock")),function(t,o){function s(){}var l,d=s=u(t,o,"Column",s);return d.$$proto.attributes=a,d.$attr_accessor("style"),e.defn(d,"$initialize",l=function(t,n,r){var o;return null==r&&(r=c([],{})),l.$$p=null,e.find_super_dispatcher(this,"initialize",l,null).apply(this,[t,"column"]),this.style=r["$[]"]("style"),r["$[]="]("colnumber",i(n,1)),t="width",n=r,!1!==(o=n["$[]"](t))&&o!==a?o:n["$[]="](t,1),t="halign",n=r,!1!==(o=n["$[]"](t))&&o!==a?o:n["$[]="](t,"left"),t="valign",n=r,!1!==(o=n["$[]"](t))&&o!==a?o:n["$[]="](t,"top"),this.$update_attributes(r)}),e.alias(d,"table","parent"),e.defn(d,"$assign_width",function(e,t,i){var o;return null==t&&(t=a),null==i&&(i=1e4),!1!==t&&t!==a&&(e=r(n(n(r(this.attributes["$[]"]("width").$to_f(),t),100),i).$to_i(),i),e.$to_i()["$=="](e)&&(e=e.$to_i())),this.attributes["$[]="]("colpcwidth",e),(o=this.$parent().$attributes()["$key?"]("tableabswidth"))===a||o.$$is_boolean&&1!=o||this.attributes["$[]="]("colabswidth",n(r(e,100),this.$parent().$attributes()["$[]"]("tableabswidth")).$round()),e}),a&&"assign_width"}(f.get("Table"),f.get("AbstractNode")),function(t,n){function r(){}var i,o,l=r=u(t,n,"Cell",r),d=l.$$proto,f=l.$$scope;return d.style=d.document=d.text=d.inner_document=d.colspan=d.rowspan=d.attributes=a,l.$attr_accessor("style"),l.$attr_accessor("colspan"),l.$attr_accessor("rowspan"),e.alias(l,"column","parent"),l.$attr_reader("inner_document"),e.defn(l,"$initialize",i=function(t,n,r,o){var s,l=a,u=a,d=a,p=a;return null==r&&(r=c([],{})),null==o&&(o=a),i.$$p=null,e.find_super_dispatcher(this,"initialize",i,null).apply(this,[t,"cell"]),this.text=n,this.rowspan=this.colspan=this.style=a,!1!==t&&t!==a&&(this.style=t.$attributes()["$[]"]("style"),this.$update_attributes(t.$attributes())),!1!==r&&r!==a&&(this.colspan=r.$delete("colspan"),this.rowspan=r.$delete("rowspan"),(s=r["$key?"]("style"))===a||s.$$is_boolean&&1!=s||(this.style=r["$[]"]("style")),this.$update_attributes(r)),(s=(n=this.style["$=="]("asciidoc"))?t.$table()["$header_row?"]()["$!"]():this.style["$=="]("asciidoc"))===a||s.$$is_boolean&&1!=s?a:(l=this.document.$attributes().$delete("doctitle"),u=this.text.$split(f.get("EOL")),((s=!1!==(n=u["$empty?"]())&&n!==a?n:u["$[]"](0)["$include?"]("::")["$!"]())===a||s.$$is_boolean&&1!=s)&&(d=u["$[]"](0),p=f.get("PreprocessorReader").$new(this.document,d).$readlines(),(s=p["$!="](d))===a||s.$$is_boolean&&1!=s||(u.$shift(),(s=u).$unshift.apply(s,e.to_a(p)))),this.inner_document=f.get("Document").$new(u,c(["header_footer","parent","cursor"],{header_footer:!1,parent:this.document,cursor:o})),(n=l["$nil?"]())===a||n.$$is_boolean&&1!=n?this.document.$attributes()["$[]="]("doctitle",l):a)}),e.defn(l,"$text",function(){return this.$apply_normal_subs(this.text).$strip()}),e.defn(l,"$content",function(){var e,t,n;return this.style["$=="]("asciidoc")?this.inner_document.$convert():(e=(t=this.$text().$split(f.get("BlankLineRx"))).$map,e.$$p=(n=function(e){var t,r,i=n.$$s||this;return null==i.style&&(i.style=a),null==e&&(e=a),(t=!1!==(r=i.style["$!"]())&&r!==a?r:i.style["$=="]("header"))===a||t.$$is_boolean&&1!=t?f.get("Inline").$new(i.$parent(),"quoted",e,c(["type"],{type:i.style})).$convert():e},n.$$s=this,n),e).call(t)}),e.defn(l,"$to_s",o=function(){var t,n=s.call(arguments,0),r=o.$$p;return o.$$p=null,""+e.find_super_dispatcher(this,"to_s",o,r).apply(this,n).$to_s()+" - [text: "+this.text+", colspan: "+(!1!==(t=this.colspan)&&t!==a?t:1)+", rowspan: "+(!1!==(t=this.rowspan)&&t!==a?t:1)+", attributes: "+this.attributes+"]"}),a&&"to_s"}(f.get("Table"),f.get("AbstractNode")),function(n,r){function s(){}var l=s=u(n,r,"ParserContext",s),f=l.$$proto,p=l.$$scope;return f.format=f.delimiter=f.delimiter_re=f.buffer=f.cell_specs=f.cell_open=f.last_cursor=f.table=f.current_row=f.col_count=f.col_visits=f.active_rowspans=f.linenum=a,l.$attr_accessor("table"),l.$attr_accessor("format"),l.$attr_reader("col_count"),l.$attr_accessor("buffer"),l.$attr_reader("delimiter"),l.$attr_reader("delimiter_re"),e.defn(l,"$initialize",function(e,t,n){var r,i;return null==n&&(n=c([],{})),this.reader=e,this.table=t,this.last_cursor=e.$cursor(),(r=this.format=n["$[]"]("format"))===a||r.$$is_boolean&&1!=r?this.format=p.get("Table").$$scope.get("DEFAULT_DATA_FORMAT"):((r=p.get("Table").$$scope.get("DATA_FORMATS")["$include?"](this.format))===a||r.$$is_boolean&&1!=r)&&this.$raise("Illegal table format: "+this.format),this.delimiter=(i=this.format["$=="]("psv")?n["$key?"]("separator")["$!"]():this.format["$=="]("psv"),(r=!1!==i&&i!==a?t.$document()["$nested?"]():i)===a||r.$$is_boolean&&1!=r?!1!==(r=n["$[]"]("separator"))&&r!==a?r:p.get("Table").$$scope.get("DEFAULT_DELIMITERS")["$[]"](this.format):"!"),this.delimiter_re=new RegExp(""+p.get("Regexp").$escape(this.delimiter)),this.col_count=(r=t.$columns()["$empty?"]())===a||r.$$is_boolean&&1!=r?t.$columns().$size():-1,this.buffer="",this.cell_specs=[],this.cell_open=!1,this.active_rowspans=[0],this.col_visits=0,this.current_row=[],this.linenum=-1}),e.defn(l,"$starts_with_delimiter?",function(e){return e["$start_with?"](this.delimiter)}),e.defn(l,"$match_delimiter",function(e){return this.delimiter_re.$match(e)}),e.defn(l,"$skip_matched_delimiter",function(e,t){return null==t&&(t=!1),this.buffer=""+this.buffer+(!1!==t&&t!==a?e.$pre_match().$chop():e.$pre_match())+this.delimiter,e.$post_match()}),e.defn(l,"$buffer_has_unclosed_quotes?",function(e){var t,n,r=a;return null==e&&(e=a),r=(""+this.buffer+e).$strip(),n=r["$start_with?"]('"'),t=!1!==n&&n!==a?r["$start_with?"]('""')["$!"]():n,!1!==t&&t!==a?r["$end_with?"]('"')["$!"]():t}),e.defn(l,"$buffer_quoted?",function(){var e;return this.buffer=this.buffer.$lstrip(),e=this.buffer["$start_with?"]('"'),!1!==e&&e!==a?this.buffer["$start_with?"]('""')["$!"]():e}),e.defn(l,"$take_cell_spec",function(){return this.cell_specs.$shift()}),e.defn(l,"$push_cell_spec",function(e){var t;return null==e&&(e=c([],{})),this.cell_specs["$<<"](!1!==(t=e)&&t!==a?t:c([],{})),a}),e.defn(l,"$keep_cell_open",function(){return this.cell_open=!0,a}),e.defn(l,"$mark_cell_closed",function(){return this.cell_open=!1,a}),e.defn(l,"$cell_open?",function(){return this.cell_open}),e.defn(l,"$cell_closed?",function(){return this.cell_open["$!"]()}),e.defn(l,"$close_open_cell",function(e){var t;return null==e&&(e=c([],{})),this.$push_cell_spec(e),(t=this["$cell_open?"]())===a||t.$$is_boolean&&1!=t||this.$close_cell(!0),this.$advance(),a}),e.defn(l,"$close_cell",function(n){try{var r,s,l,u=a,f=a,h=a;return null==n&&(n=!1),u=this.buffer.$strip(),this.buffer="",this.format["$=="]("psv")?(f=this.$take_cell_spec(),!1!==f&&f!==a?(h=f.$fetch("repeatcol",1),f.$delete("repeatcol")):(this.$warn("asciidoctor: ERROR: "+this.last_cursor.$line_info()+": table missing leading separator, recovering automatically"),f=c([],{}),h=1)):(f=a,h=1,!this.format["$=="]("csv")||(s=u["$empty?"]()["$!"](),(r=!1!==s&&s!==a?u["$include?"]('"'):s)===a)||r.$$is_boolean&&1!=r||(s=u["$start_with?"]('"'),(r=!1!==s&&s!==a?u["$end_with?"]('"'):s)===a||r.$$is_boolean&&1!=r||(u=u["$[]"](d(1,-1,!0)).$strip()),u=u.$tr_s('"','"'))),(r=(s=1).$upto,r.$$p=(l=function(r){var s,c,d,m,g,$,_=l.$$s||this,v=a,b=a,y=a,v=a;return null==_.col_count&&(_.col_count=a),null==_.table&&(_.table=a),null==_.current_row&&(_.current_row=a),null==_.last_cursor&&(_.last_cursor=a),null==_.reader&&(_.reader=a),null==_.col_visits&&(_.col_visits=a),null==_.linenum&&(_.linenum=a),null==r&&(r=a),_.col_count["$=="](-1)?(_.table.$columns()["$<<"](v=p.get("Table").$$scope.get("Column").$new(_.table,o(i(_.table.$columns().$size(),r),1))),c=(d=!1!==f&&f!==a)?f["$key?"]("colspan"):f,(s=!1!==c&&c!==a?t(b=o(f["$[]"]("colspan").$to_i(),1),0):c)===a||s.$$is_boolean&&1!=s||(y=_.table.$columns().$size(),(s=(c=b).$times,s.$$p=(m=function(e){var t=m.$$s||this;return null==t.table&&(t.table=a),null==e&&(e=a),t.table.$columns()["$<<"](p.get("Table").$$scope.get("Column").$new(t.table,i(y,e)))},m.$$s=_,m),s).call(c))):((s=v=_.table.$columns()["$[]"](_.current_row.$size()))===a||s.$$is_boolean&&1!=s)&&(_.$warn("asciidoctor: ERROR: "+_.last_cursor.$line_info()+": dropping cell because it exceeds specified number of columns"),e.ret(a)),v=p.get("Table").$$scope.get("Cell").$new(v,u,f,_.last_cursor),_.last_cursor=_.reader.$cursor(),((s=!1!==(d=v.$rowspan()["$!"]())&&d!==a?d:v.$rowspan()["$=="](1))===a||s.$$is_boolean&&1!=s)&&_.$activate_rowspan(v.$rowspan(),!1!==(s=v.$colspan())&&s!==a?s:1),_.col_visits=i(_.col_visits,!1!==(s=v.$colspan())&&s!==a?s:1),_.current_row["$<<"](v),d=_["$end_of_row?"](),(s=!1!==d&&d!==a?!1!==(g=!1!==($=_.col_count["$!="](-1))&&$!==a?$:t(_.linenum,0))&&g!==a?g:($=!1!==n&&n!==a)?r["$=="](h):n:d)===a||s.$$is_boolean&&1!=s?a:_.$close_row()},l.$$s=this,l),r).call(s,h),this.cell_open=!1,a}catch(t){if(t===e.returner)return t.$v;throw t}}),e.defn(l,"$close_row",function(){var e,t;return this.table.$rows().$body()["$<<"](this.current_row),this.col_count["$=="](-1)&&(this.col_count=this.col_visits),this.col_visits=0,this.current_row=[],this.active_rowspans.$shift(),e=this.active_rowspans,!1!==(t=e["$[]"](0))&&t!==a?t:e["$[]="](0,0),a}),e.defn(l,"$activate_rowspan",function(e,t){var n,r,s;return(n=(r=1..$upto(o(e,1))).$each,n.$$p=(s=function(e){var n,r=s.$$s||this;return null==r.active_rowspans&&(r.active_rowspans=a),null==e&&(e=a),r.active_rowspans["$[]="](e,i(!1!==(n=r.active_rowspans["$[]"](e))&&n!==a?n:0,t))},s.$$s=this,s),n).call(r),a}),e.defn(l,"$end_of_row?",function(){var e;return!1!==(e=this.col_count["$=="](-1))&&e!==a?e:this.$effective_col_visits()["$=="](this.col_count)}),e.defn(l,"$effective_col_visits",function(){return i(this.col_visits,this.active_rowspans["$[]"](0))}), +e.defn(l,"$advance",function(){return this.linenum=i(this.linenum,1)}),a&&"advance"}(f.get("Table"),null)}(e.base)},function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e>=t:e["$>="](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e= $require $unshift $dirname $new $attr $instance_variable_set $send $<< $define $expand_path $join $home $[] $pwd $! $!= $default_external $to_a $bytes $to_set $map $keys $* $dup $[]= $insert $start $=== $inject $split $gsub $respond_to? $each $raise $ancestors $class $path $mtime $readlines $basename $strftime $rewind $entries $lines $record $parse $exception $message $set_backtrace $backtrace $stack_trace= $stack_trace $load $delete $key? $attributes $outfilesuffix $has_key? $safe $normalize_system_path $directory? $mkdir_p $convert $write $< $attr? $uriish? $include? $write_primary_stylesheet $instance $empty? $nil? $read_asset $open $write_coderay_stylesheet $write_pygments_stylesheet".split(" ")),((i=null!=e.RUBY_ENGINE)===a||i.$$is_boolean&&1!=i)&&e.cdecl(e,"RUBY_ENGINE","unknown"),e.cdecl(e,"RUBY_ENGINE_OPAL",e.get("RUBY_ENGINE")["$=="]("opal")),e.cdecl(e,"RUBY_ENGINE_JRUBY",e.get("RUBY_ENGINE")["$=="]("jruby")),e.cdecl(e,"RUBY_MIN_VERSION_1_9",t(e.get("RUBY_VERSION"),"1.9")),e.cdecl(e,"RUBY_MIN_VERSION_2",t(e.get("RUBY_VERSION"),"2")),o.$require("set"),e.get("RUBY_ENGINE")["$=="]("opal")&&o.$require("asciidoctor/opal_ext"),s[":"].$unshift(e.get("File").$dirname("asciidoctor")),function(i){i=l(i,"Asciidoctor");var o,s,f,p=i.$$scope,h=a,m=a;e.cdecl(p,"RUBY_ENGINE",e.get("RUBY_ENGINE")),function(t){t=l(t,"SafeMode").$$scope,e.cdecl(t,"UNSAFE",0),e.cdecl(t,"SAFE",1),e.cdecl(t,"SERVER",10),e.cdecl(t,"SECURE",20)}(p.base),function(t){t=l(t,"Compliance"),t.keys=e.get("Set").$new(),function(e){return e.$attr("keys")}(e.get_singleton_class(t)),e.defs(t,"$define",function(t,n){return null==this.keys&&(this.keys=a),this.$instance_variable_set("@"+t,n),e.get_singleton_class(this).$send("attr_accessor",t),this.keys["$<<"](t),a}),t.$define("block_terminates_paragraph",!0),t.$define("strict_verbatim_paragraphs",!0),t.$define("underline_style_section_titles",!0),t.$define("unwrap_standalone_preamble",!0),t.$define("attribute_missing","skip"),t.$define("attribute_undefined","drop-line"),t.$define("shorthand_property_syntax",!0),t.$define("unique_id_start_index",2),t.$define("markdown_syntax",!0)}(p.base),e.cdecl(p,"ROOT_PATH",e.get("File").$dirname(e.get("File").$dirname(e.get("File").$expand_path("asciidoctor")))),e.cdecl(p,"LIB_PATH",e.get("File").$join(p.get("ROOT_PATH"),"lib")),e.cdecl(p,"DATA_PATH",e.get("File").$join(p.get("ROOT_PATH"),"data"));try{e.cdecl(p,"USER_HOME",e.get("Dir").$home())}catch(t){try{e.cdecl(p,"USER_HOME",!1!==(o=e.get("ENV")["$[]"]("HOME"))&&o!==a?o:e.get("Dir").$pwd())}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}e.cdecl(p,"COERCE_ENCODING",(o=e.get("RUBY_ENGINE_OPAL")["$!"](),!1!==o&&o!==a?e.get("RUBY_MIN_VERSION_1_9"):o)),e.cdecl(p,"FORCE_ENCODING",(o=p.get("COERCE_ENCODING"),!1!==o&&o!==a?e.get("Encoding").$default_external()["$!="](e.get("Encoding").$$scope.get("UTF_8")):o)),e.cdecl(p,"BOM_BYTES_UTF_8","".$bytes().$to_a()),e.cdecl(p,"BOM_BYTES_UTF_16LE","ÿþ".$bytes().$to_a()),e.cdecl(p,"BOM_BYTES_UTF_16BE","þÿ".$bytes().$to_a()),e.cdecl(p,"FORCE_UNICODE_LINE_LENGTH",e.get("RUBY_MIN_VERSION_1_9")["$!"]()),e.cdecl(p,"SUPPORTS_GSUB_RESULT_HASH",(o=e.get("RUBY_MIN_VERSION_1_9"),!1!==o&&o!==a?e.get("RUBY_ENGINE_OPAL")["$!"]():o)),e.cdecl(p,"EOL","\n"),e.cdecl(p,"NULL","\0"),e.cdecl(p,"TAB","\t"),e.cdecl(p,"DEFAULT_DOCTYPE","article"),e.cdecl(p,"DEFAULT_BACKEND","html5"),e.cdecl(p,"DEFAULT_STYLESHEET_KEYS",["","DEFAULT"].$to_set()),e.cdecl(p,"DEFAULT_STYLESHEET_NAME","asciidoctor.css"),e.cdecl(p,"BACKEND_ALIASES",u(["html","docbook"],{html:"html5",docbook:"docbook5"})),e.cdecl(p,"DEFAULT_PAGE_WIDTHS",u(["docbook"],{docbook:425})),e.cdecl(p,"DEFAULT_EXTENSIONS",u(["html","docbook","pdf","epub","asciidoc"],{html:".html",docbook:".xml",pdf:".pdf",epub:".epub",asciidoc:".adoc"})),e.cdecl(p,"ASCIIDOC_EXTENSIONS",u([".asciidoc",".adoc",".ad",".asc",".txt"],{".asciidoc":!0,".adoc":!0,".ad":!0,".asc":!0,".txt":!0})),e.cdecl(p,"SECTION_LEVELS",u(["=","-","~","^","+"],{"=":0,"-":1,"~":2,"^":3,"+":4})),e.cdecl(p,"ADMONITION_STYLES",["NOTE","TIP","IMPORTANT","WARNING","CAUTION"].$to_set()),e.cdecl(p,"PARAGRAPH_STYLES","comment example literal listing normal pass quote sidebar source verse abstract partintro".split(" ").$to_set()),e.cdecl(p,"VERBATIM_STYLES",["literal","listing","source","verse"].$to_set()),e.cdecl(p,"DELIMITED_BLOCKS",u('-- ---- .... ==== **** ____ "" ++++ |=== ,=== :=== !=== //// ```'.split(" "),{"--":["open","comment example literal listing pass quote sidebar source verse admonition abstract partintro".split(" ").$to_set()],"----":["listing",["literal","source"].$to_set()],"....":["literal",["listing","source"].$to_set()],"====":["example",["admonition"].$to_set()],"****":["sidebar",e.get("Set").$new()],____:["quote",["verse"].$to_set()],'""':["quote",["verse"].$to_set()],"++++":["pass",["stem","latexmath","asciimath"].$to_set()],"|===":["table",e.get("Set").$new()],",===":["table",e.get("Set").$new()],":===":["table",e.get("Set").$new()],"!===":["table",e.get("Set").$new()],"////":["comment",e.get("Set").$new()],"```":["fenced_code",e.get("Set").$new()]})),e.cdecl(p,"DELIMITED_BLOCK_LEADERS",(o=(s=p.get("DELIMITED_BLOCKS").$keys()).$map,o.$$p=(f=function(e){return null==e&&(e=a),e["$[]"](c(0,1,!1))},f.$$s=i,f),o).call(s).$to_set()),e.cdecl(p,"LAYOUT_BREAK_LINES",u(["'","-","*","_","<"],{"'":"thematic_break","-":"thematic_break","*":"thematic_break",_:"thematic_break","<":"page_break"})),e.cdecl(p,"NESTABLE_LIST_CONTEXTS",["ulist","olist","dlist"]),e.cdecl(p,"ORDERED_LIST_STYLES",["arabic","loweralpha","lowerroman","upperalpha","upperroman"]),e.cdecl(p,"ORDERED_LIST_KEYWORDS",u(["loweralpha","lowerroman","upperalpha","upperroman"],{loweralpha:"a",lowerroman:"i",upperalpha:"A",upperroman:"I"})),e.cdecl(p,"LIST_CONTINUATION","+"),e.cdecl(p,"LINE_BREAK"," +"),e.cdecl(p,"LINE_CONTINUATION"," \\"),e.cdecl(p,"LINE_CONTINUATION_LEGACY"," +"),e.cdecl(p,"BLOCK_MATH_DELIMITERS",u(["asciimath","latexmath"],{asciimath:["\\$","\\$"],latexmath:["\\[","\\]"]})),e.cdecl(p,"INLINE_MATH_DELIMITERS",u(["asciimath","latexmath"],{asciimath:["\\$","\\$"],latexmath:["\\(","\\)"]})),e.cdecl(p,"FLEXIBLE_ATTRIBUTES",["sectnums"]),p.get("RUBY_ENGINE")["$=="]("opal")&&(e.cdecl(p,"CC_ALPHA","a-zA-Z"),e.cdecl(p,"CG_ALPHA","[a-zA-Z]"),e.cdecl(p,"CC_ALNUM","a-zA-Z0-9"),e.cdecl(p,"CG_ALNUM","[a-zA-Z0-9]"),e.cdecl(p,"CG_BLANK","[ \\t]"),e.cdecl(p,"CC_EOL","(?=\\n|$)"),e.cdecl(p,"CG_GRAPH","[\\x21-\\x7E]"),e.cdecl(p,"CC_ALL","[\\s\\S]"),e.cdecl(p,"CC_WORD","a-zA-Z0-9_"),e.cdecl(p,"CG_WORD","[a-zA-Z0-9_]")),e.cdecl(p,"AuthorInfoLineRx",new RegExp("^("+p.get("CG_WORD")+"["+p.get("CC_WORD")+"\\-'.]*)(?: +("+p.get("CG_WORD")+"["+p.get("CC_WORD")+"\\-'.]*))?(?: +("+p.get("CG_WORD")+"["+p.get("CC_WORD")+"\\-'.]*))?(?: +<([^>]+)>)?$")),e.cdecl(p,"RevisionInfoLineRx",/^(?:\D*(.*?),)?(?:\s*(?!:)(.*?))(?:\s*(?!^):\s*(.*))?$/),e.cdecl(p,"ManpageTitleVolnumRx",/^(.*)\((.*)\)$/),e.cdecl(p,"ManpageNamePurposeRx",new RegExp("^(.*?)"+p.get("CG_BLANK")+"+-"+p.get("CG_BLANK")+"+(.*)$")),e.cdecl(p,"ConditionalDirectiveRx",/^\\?(ifdef|ifndef|ifeval|endif)::(\S*?(?:([,\+])\S+?)?)\[(.+)?\]$/),e.cdecl(p,"EvalExpressionRx",new RegExp("^(\\S.*?)"+p.get("CG_BLANK")+"*(==|!=|<=|>=|<|>)"+p.get("CG_BLANK")+"*(\\S.*)$")),e.cdecl(p,"IncludeDirectiveRx",/^\\?include::([^\[]+)\[(.*?)\]$/),e.cdecl(p,"TagDirectiveRx",/\b(?:tag|end)::\S+\[\]$/),e.cdecl(p,"AttributeEntryRx",new RegExp("^:(!?\\w.*?):(?:"+p.get("CG_BLANK")+"+(.*))?$")),e.cdecl(p,"InvalidAttributeNameCharsRx",/[^\w\-]/),e.cdecl(p,"AttributeEntryPassMacroRx",/^pass:([a-z,]*)\[(.*)\]$/),e.cdecl(p,"AttributeReferenceRx",/(\\)?\{((set|counter2?):.+?|\w+(?:[\-]\w+)*)(\\)?\}/),e.cdecl(p,"BlockAnchorRx",new RegExp("^\\[\\[(?:|(["+p.get("CC_ALPHA")+":_]["+p.get("CC_WORD")+":.-]*)(?:,"+p.get("CG_BLANK")+"*(\\S.*))?)\\]\\]$")),e.cdecl(p,"BlockAttributeListRx",new RegExp("^\\[(|"+p.get("CG_BLANK")+"*["+p.get("CC_WORD")+"\\{,.#\"'%].*)\\]$")),e.cdecl(p,"BlockAttributeLineRx",new RegExp("^\\[(|"+p.get("CG_BLANK")+"*["+p.get("CC_WORD")+"\\{,.#\"'%].*|\\[(?:|["+p.get("CC_ALPHA")+":_]["+p.get("CC_WORD")+":.-]*(?:,"+p.get("CG_BLANK")+"*\\S.*)?)\\])\\]$")),e.cdecl(p,"BlockTitleRx",/^\.([^\s.].*)$/),e.cdecl(p,"AdmonitionParagraphRx",new RegExp("^("+n(p.get("ADMONITION_STYLES").$to_a(),"|")+"):"+p.get("CG_BLANK"))),e.cdecl(p,"LiteralParagraphRx",new RegExp("^("+p.get("CG_BLANK")+"+.*)$")),e.cdecl(p,"CommentBlockRx",/^\/{4,}$/),e.cdecl(p,"CommentLineRx",/^\/\/(?:[^\/]|$)/),e.cdecl(p,"AtxSectionRx",new RegExp("^((?:=|#){1,6})"+p.get("CG_BLANK")+"+(\\S.*?)(?:"+p.get("CG_BLANK")+"+\\1)?$")),e.cdecl(p,"SetextSectionTitleRx",new RegExp("^((?=.*"+p.get("CG_WORD")+"+.*)[^.].*?)$")),e.cdecl(p,"SetextSectionLineRx",/^(?:=|-|~|\^|\+)+$/),e.cdecl(p,"InlineSectionAnchorRx",new RegExp("^(.*?)"+p.get("CG_BLANK")+"+(\\\\)?\\[\\[(["+p.get("CC_ALPHA")+":_]["+p.get("CC_WORD")+":.-]*)(?:,"+p.get("CG_BLANK")+"*(\\S.*?))?\\]\\]$")),e.cdecl(p,"InvalidSectionIdCharsRx",new RegExp("&(?:[a-zA-Z]{2,}|#\\d{2,5}|#x[a-fA-F0-9]{2,4});|[^"+p.get("CC_WORD")+"]+?")),e.cdecl(p,"FloatingTitleStyleRx",/^(?:float|discrete)\b/),e.cdecl(p,"AnyListRx",new RegExp("^(?:"+p.get("CG_BLANK")+"+"+p.get("CG_GRAPH")+"|"+p.get("CG_BLANK")+"*(?:-|(?:\\*|\\.|\\u2022){1,5}|\\d+\\.|[a-zA-Z]\\.|[IVXivx]+\\))"+p.get("CG_BLANK")+"+"+p.get("CG_GRAPH")+"|"+p.get("CG_BLANK")+"*.*?(?::{2,4}|;;)(?:"+p.get("CG_BLANK")+"+"+p.get("CG_GRAPH")+"|$))")),e.cdecl(p,"UnorderedListRx",new RegExp("^"+p.get("CG_BLANK")+"*(-|\\*{1,5}|\\u2022{1,5})"+p.get("CG_BLANK")+"+(.*)$")),e.cdecl(p,"OrderedListRx",new RegExp("^"+p.get("CG_BLANK")+"*(\\.{1,5}|\\d+\\.|[a-zA-Z]\\.|[IVXivx]+\\))"+p.get("CG_BLANK")+"+(.*)$")),e.cdecl(p,"OrderedListMarkerRxMap",u(["arabic","loweralpha","lowerroman","upperalpha","upperroman"],{arabic:/\d+[.>]/,loweralpha:/[a-z]\./,lowerroman:/[ivx]+\)/,upperalpha:/[A-Z]\./,upperroman:/[IVX]+\)/})),e.cdecl(p,"DefinitionListRx",new RegExp("^(?!\\/\\/)"+p.get("CG_BLANK")+"*(.*?)(:{2,4}|;;)(?:"+p.get("CG_BLANK")+"+(.*))?$")),e.cdecl(p,"DefinitionListSiblingRx",u(["::",":::","::::",";;"],{"::":new RegExp("^(?!\\/\\/)"+p.get("CG_BLANK")+"*((?:.*[^:])?)(::)(?:"+p.get("CG_BLANK")+"+(.*))?$"),":::":new RegExp("^(?!\\/\\/)"+p.get("CG_BLANK")+"*((?:.*[^:])?)(:::)(?:"+p.get("CG_BLANK")+"+(.*))?$"),"::::":new RegExp("^(?!\\/\\/)"+p.get("CG_BLANK")+"*((?:.*[^:])?)(::::)(?:"+p.get("CG_BLANK")+"+(.*))?$"),";;":new RegExp("^(?!\\/\\/)"+p.get("CG_BLANK")+"*(.*)(;;)(?:"+p.get("CG_BLANK")+"+(.*))?$")})),e.cdecl(p,"CalloutListRx",new RegExp("^"+p.get("CG_BLANK")+"+(.*)")),e.cdecl(p,"CalloutExtractRx",/(?:(?:\/\/|#|--|;;) ?)?(\\)?(?=(?: ?\\?)*$)/),e.cdecl(p,"CalloutExtractRxt","(\\\\)?<()(\\d+)>(?=(?: ?\\\\?<\\d+>)*$)"),e.cdecl(p,"CalloutQuickScanRx",new RegExp("\\\\?(?=(?: ?\\\\?)*"+p.get("CC_EOL")+")")),e.cdecl(p,"CalloutSourceRx",new RegExp("(?:(?:\\/\\/|#|--|;;) ?)?(\\\\)?<!?(--|)(\\d+)\\2>(?=(?: ?\\\\?<!?\\2\\d+\\2>)*"+p.get("CC_EOL")+")")),e.cdecl(p,"CalloutSourceRxt","(\\\\)?<()(\\d+)>(?=(?: ?\\\\?<\\d+>)*"+p.get("CC_EOL")+")"),e.cdecl(p,"ListRxMap",u(["ulist","olist","dlist","colist"],{ulist:p.get("UnorderedListRx"),olist:p.get("OrderedListRx"),dlist:p.get("DefinitionListRx"),colist:p.get("CalloutListRx")})),e.cdecl(p,"ColumnSpecRx",/^(?:(\d+)\*)?([<^>](?:\.[<^>]?)?|(?:[<^>]?\.)?[<^>])?(\d+%?)?([a-z])?$/),e.cdecl(p,"CellSpecStartRx",new RegExp("^"+p.get("CG_BLANK")+"*(?:(\\d+(?:\\.\\d*)?|(?:\\d*\\.)?\\d+)([*+]))?([<^>](?:\\.[<^>]?)?|(?:[<^>]?\\.)?[<^>])?([a-z])?$")),e.cdecl(p,"CellSpecEndRx",new RegExp(""+p.get("CG_BLANK")+"+(?:(\\d+(?:\\.\\d*)?|(?:\\d*\\.)?\\d+)([*+]))?([<^>](?:\\.[<^>]?)?|(?:[<^>]?\\.)?[<^>])?([a-z])?$")),e.cdecl(p,"GenericBlockMacroRx",new RegExp("^("+p.get("CG_WORD")+"+)::(\\S*?)\\[((?:\\\\\\]|[^\\]])*?)\\]$")),e.cdecl(p,"MediaBlockMacroRx",/^(image|video|audio)::(\S+?)\[((?:\\\]|[^\]])*?)\]$/),e.cdecl(p,"TocBlockMacroRx",/^toc::\[(.*?)\]$/),e.cdecl(p,"InlineAnchorRx",new RegExp("\\\\?(?:\\[\\[(["+p.get("CC_ALPHA")+":_]["+p.get("CC_WORD")+":.-]*)(?:,"+p.get("CG_BLANK")+"*(\\S.*?))?\\]\\]|anchor:(\\S+)\\[(.*?[^\\\\])?\\])")),e.cdecl(p,"InlineBiblioAnchorRx",new RegExp("\\\\?\\[\\[\\[(["+p.get("CC_WORD")+":]["+p.get("CC_WORD")+":.-]*?)\\]\\]\\]")),e.cdecl(p,"EmailInlineMacroRx",new RegExp("([\\\\>:\\/])?"+p.get("CG_WORD")+"["+p.get("CC_WORD")+".%+-]*@"+p.get("CG_ALNUM")+"["+p.get("CC_ALNUM")+".-]*\\."+p.get("CG_ALPHA")+"{2,4}\\b")),e.cdecl(p,"FootnoteInlineMacroRx",new RegExp("\\\\?(footnote(?:ref)?):\\[("+p.get("CC_ALL")+"*?[^\\\\])\\]")),e.cdecl(p,"ImageInlineMacroRx",/\\?(?:image|icon):([^:\[][^\[]*)\[((?:\\\]|[^\]])*?)\]/),e.cdecl(p,"IndextermInlineMacroRx",new RegExp("\\\\?(?:(indexterm2?):\\[("+p.get("CC_ALL")+"*?[^\\\\])\\]|\\(\\(("+p.get("CC_ALL")+"+?)\\)\\)(?!\\)))")),e.cdecl(p,"KbdBtnInlineMacroRx",/\\?(?:kbd|btn):\[((?:\\\]|[^\]])+?)\]/),e.cdecl(p,"KbdDelimiterRx",new RegExp("(?:\\+|,)(?="+p.get("CG_BLANK")+"*[^\\1])")),e.cdecl(p,"LinkInlineRx",/(^|link:|<|[\s>\(\)\[\];])(\\?(?:https?|file|ftp|irc):\/\/[^\s\[\]<]*[^\s.,\[\]<])(?:\[((?:\\\]|[^\]])*?)\])?/),e.cdecl(p,"LinkInlineMacroRx",/\\?(?:link|mailto):([^\s\[]+)(?:\[((?:\\\]|[^\]])*?)\])/),e.cdecl(p,"StemInlineMacroRx",new RegExp("\\\\?(stem|(?:latex|ascii)math):([a-z,]*)\\[("+p.get("CC_ALL")+"*?[^\\\\])\\]")),e.cdecl(p,"MenuInlineMacroRx",new RegExp("\\\\?menu:("+p.get("CG_WORD")+"|"+p.get("CG_WORD")+".*?\\S)\\["+p.get("CG_BLANK")+"*(.+?)?\\]")),e.cdecl(p,"MenuInlineRx",new RegExp('\\\\?"('+p.get("CG_WORD")+'[^"]*?'+p.get("CG_BLANK")+"*>"+p.get("CG_BLANK")+'*[^" \\t][^"]*)"')),e.cdecl(p,"PassInlineRx",d(!1,["+","`",new RegExp("(^|[^"+p.get("CC_WORD")+";:])(?:\\[([^\\]]+?)\\])?(\\\\?(\\+|`)(\\S|\\S"+p.get("CC_ALL")+"*?\\S)\\4)(?!"+p.get("CG_WORD")+")")],!0,["`",a,new RegExp("(^|[^`"+p.get("CC_WORD")+"])(?:\\[([^\\]]+?)\\])?(\\\\?(`)([^`\\s]|[^`\\s]"+p.get("CC_ALL")+"*?\\S)\\4)(?![`"+p.get("CC_WORD")+"])")])),e.cdecl(p,"PassInlineMacroRx",new RegExp("(?:(?:(\\\\?)\\[([^\\]]+?)\\])?(\\\\{0,2})(\\+{2,3}|\\${2})("+p.get("CC_ALL")+"*?)\\4|(\\\\?)pass:([a-z,]*)\\[("+p.get("CC_ALL")+"*?[^\\\\])\\])")),e.cdecl(p,"XrefInlineMacroRx",new RegExp("\\\\?(?:<<(["+p.get("CC_WORD")+'":.\\/]'+p.get("CC_ALL")+"*?)>>|xref:(["+p.get("CC_WORD")+'":.\\/]'+p.get("CC_ALL")+"*?)\\[("+p.get("CC_ALL")+"*?)\\])")),p.get("RUBY_ENGINE")["$=="]("opal")&&e.cdecl(p,"LineBreakRx",/^(.*)[ \t]\+$/m),e.cdecl(p,"LayoutBreakLineRx",/^('|<){3,}$/),e.cdecl(p,"LayoutBreakLinePlusRx",/^(?:'|<){3,}$|^ {0,3}([-\*_])( *)\1\2\1$/),e.cdecl(p,"BlankLineRx",new RegExp("^"+p.get("CG_BLANK")+"*\\n")),e.cdecl(p,"DataDelimiterRx",/,|;/),e.cdecl(p,"DoubleQuotedRx",/^("|)(.*)\1$/),e.cdecl(p,"DoubleQuotedMultiRx",new RegExp('^("|)('+p.get("CC_ALL")+"*)\\1$")),e.cdecl(p,"TrailingDigitsRx",/\d+$/),e.cdecl(p,"EscapedSpaceRx",new RegExp("\\\\("+p.get("CG_BLANK")+")")),e.cdecl(p,"SpaceDelimiterRx",new RegExp("([^\\\\])"+p.get("CG_BLANK")+"+")),e.cdecl(p,"SubModifierSniffRx",/[+-]/),e.cdecl(p,"UnicodeCharScanRx",function(){return p.get("RUBY_ENGINE")["$=="]("opal"),a}()),e.cdecl(p,"UriSniffRx",new RegExp("^"+p.get("CG_ALPHA")+"["+p.get("CC_ALNUM")+".+-]+:/{0,2}")),e.cdecl(p,"UriTerminator",/[);:]$/),e.cdecl(p,"XmlSanitizeRx",/<[^>]+>/),e.cdecl(p,"INTRINSIC_ATTRIBUTES",u("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".split(" "),{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:"C++",amp:"&",lt:"<",gt:">"})),h=[["strong","unconstrained",new RegExp("\\\\?(?:\\[([^\\]]+?)\\])?\\*\\*("+p.get("CC_ALL")+"+?)\\*\\*")],["strong","constrained",new RegExp("(^|[^"+p.get("CC_WORD")+";:}])(?:\\[([^\\]]+?)\\])?\\*(\\S|\\S"+p.get("CC_ALL")+"*?\\S)\\*(?!"+p.get("CG_WORD")+")")],["double","constrained",new RegExp("(^|[^"+p.get("CC_WORD")+';:}])(?:\\[([^\\]]+?)\\])?"`(\\S|\\S'+p.get("CC_ALL")+'*?\\S)`"(?!'+p.get("CG_WORD")+")")],["single","constrained",new RegExp("(^|[^"+p.get("CC_WORD")+";:`}])(?:\\[([^\\]]+?)\\])?'`(\\S|\\S"+p.get("CC_ALL")+"*?\\S)`'(?!"+p.get("CG_WORD")+")")],["monospaced","unconstrained",new RegExp("\\\\?(?:\\[([^\\]]+?)\\])?``("+p.get("CC_ALL")+"+?)``")],["monospaced","constrained",new RegExp("(^|[^"+p.get("CC_WORD")+";:\"'`}])(?:\\[([^\\]]+?)\\])?`(\\S|\\S"+p.get("CC_ALL")+"*?\\S)`(?!["+p.get("CC_WORD")+"\"'`])")],["emphasis","unconstrained",new RegExp("\\\\?(?:\\[([^\\]]+?)\\])?__("+p.get("CC_ALL")+"+?)__")],["emphasis","constrained",new RegExp("(^|[^"+p.get("CC_WORD")+";:}])(?:\\[([^\\]]+?)\\])?_(\\S|\\S"+p.get("CC_ALL")+"*?\\S)_(?!"+p.get("CG_WORD")+")")],["mark","unconstrained",new RegExp("\\\\?(?:\\[([^\\]]+?)\\])?##("+p.get("CC_ALL")+"+?)##")],["mark","constrained",new RegExp("(^|[^"+p.get("CC_WORD")+"&;:}])(?:\\[([^\\]]+?)\\])?#(\\S|\\S"+p.get("CC_ALL")+"*?\\S)#(?!"+p.get("CG_WORD")+")")],["superscript","unconstrained",/\\?(?:\[([^\]]+?)\])?\^(\S+?)\^/],["subscript","unconstrained",/\\?(?:\[([^\]]+?)\])?~(\S+?)~/]],m=h.$dup(),m["$[]="](2,["double","constrained",new RegExp("(^|[^"+p.get("CC_WORD")+";:}])(?:\\[([^\\]]+?)\\])?``(\\S|\\S"+p.get("CC_ALL")+"*?\\S)''(?!"+p.get("CG_WORD")+")")]),m["$[]="](3,["single","constrained",new RegExp("(^|[^"+p.get("CC_WORD")+";:}])(?:\\[([^\\]]+?)\\])?`(\\S|\\S"+p.get("CC_ALL")+"*?\\S)'(?!"+p.get("CG_WORD")+")")]),m["$[]="](4,["monospaced","unconstrained",new RegExp("\\\\?(?:\\[([^\\]]+?)\\])?\\+\\+("+p.get("CC_ALL")+"+?)\\+\\+")]),m["$[]="](5,["monospaced","constrained",new RegExp("(^|[^"+p.get("CC_WORD")+";:}])(?:\\[([^\\]]+?)\\])?\\+(\\S|\\S"+p.get("CC_ALL")+"*?\\S)\\+(?!"+p.get("CG_WORD")+")")]),m.$insert(3,["emphasis","constrained",new RegExp("(^|[^"+p.get("CC_WORD")+";:}])(?:\\[([^\\]]+?)\\])?'(\\S|\\S"+p.get("CC_ALL")+"*?\\S)'(?!"+p.get("CG_WORD")+")")]),e.cdecl(p,"QUOTE_SUBS",d(!1,h,!0,m)),m=h=a,e.cdecl(p,"REPLACEMENTS",[[/\\?\(C\)/,"©","none"],[/\\?\(R\)/,"®","none"],[/\\?\(TM\)/,"™","none"],[/(^|\n| |\\)--( |\n|$)/," — ","none"],[new RegExp("("+p.get("CG_WORD")+")\\\\?--(?="+p.get("CG_WORD")+")"),"—​","leading"],[/\\?\.\.\./,"…​","leading"],[/\\?`'/,"’","none"],[new RegExp("("+p.get("CG_ALNUM")+")\\\\?'(?="+p.get("CG_ALPHA")+")"),"’","leading"],[/\\?->/,"→","none"],[/\\?=>/,"⇒","none"],[/\\?<-/,"←","none"],[/\\?<=/,"⇐","none"],[/\\?(&)amp;((?:[a-zA-Z]+|#\d{2,5}|#x[a-fA-F0-9]{2,4});)/,"","bounding"]]),function(n){var i=n.$$scope;return e.defn(n,"$load",function(t,n){var r,o,s,l,c,d,f,p,h,m=this,g=a,$=a,_=a,v=a,b=a,y=a,x=a,k=a,w=a,E=a,A=a,C=a,S=a,T=a;null==n&&(n=u([],{}));try{if(n=n.$dup(),(r=g=n["$[]"]("timings"))===a||r.$$is_boolean&&1!=r||g.$start("read"),$=n["$[]="]("attributes",function(){return(r=(_=n["$[]"]("attributes"))["$!"]())===a||r.$$is_boolean&&1!=r?(r=!1!==(o=e.get("Hash")["$==="](_))&&o!==a?o:(s=e.get("RUBY_ENGINE_JRUBY"),!1!==s&&s!==a?e.get("Java").$$scope.get("JavaUtil").$$scope.get("Map")["$==="](_):s))===a||r.$$is_boolean&&1!=r?(r=e.get("Array")["$==="](_))===a||r.$$is_boolean&&1!=r?(r=e.get("String")["$==="](_))===a||r.$$is_boolean&&1!=r?(d=_["$respond_to?"]("keys"),(r=!1!==d&&d!==a?_["$respond_to?"]("[]"):d)===a||r.$$is_boolean&&1!=r?m.$raise(e.get("ArgumentError"),"illegal type for attributes option: "+_.$class().$ancestors()):(b=_,_=u([],{}),(r=(d=b.$keys()).$each,r.$$p=(f=function(e){return null==e&&(e=a),_["$[]="](e,b["$[]"](e))},f.$$s=m,f),r).call(d),_)):(v="\\1",_=_.$gsub(i.get("SpaceDelimiterRx"),""+v+i.get("NULL")).$gsub(i.get("EscapedSpaceRx"),v),(r=(s=_.$split(i.get("NULL"))).$inject,r.$$p=(c=function(t,n){var r,i=a,o=a;return null==t&&(t=a),null==n&&(n=a),r=e.to_ary(n.$split("=",2)),i=null==r[0]?a:r[0],o=null==r[1]?a:r[1],t["$[]="](i,!1!==(r=o)&&r!==a?r:""),t},c.$$s=m,c),r).call(s,u([],{}))):(r=(o=_).$inject,r.$$p=(l=function(t,n){var r,i=a,o=a;return null==t&&(t=a),null==n&&(n=a),r=e.to_ary(n.$split("=",2)),i=null==r[0]?a:r[0],o=null==r[1]?a:r[1],t["$[]="](i,!1!==(r=o)&&r!==a?r:""),t},l.$$s=m,l),r).call(o,u([],{})):_.$dup():u([],{})}()),y=a,(r=e.get("File")["$==="](t))===a||r.$$is_boolean&&1!=r)if((r=t["$respond_to?"]("readlines"))===a||r.$$is_boolean&&1!=r)(r=e.get("String")["$==="](t))===a||r.$$is_boolean&&1!=r?(r=e.get("Array")["$==="](t))===a||r.$$is_boolean&&1!=r?m.$raise(e.get("ArgumentError"),"unsupported input type: "+t.$class()):y=t.$dup():y=t.$lines().$entries();else{try{t.$rewind()}catch(t){try{}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}y=t.$readlines()}else x=e.get("File").$expand_path(t.$path()),k=t.$mtime(),y=t.$readlines(),$["$[]="]("docfile",x),$["$[]="]("docdir",e.get("File").$dirname(x)),$["$[]="]("docname",i.get("Helpers").$basename(x,!0)),r="docdate",p=$,w=!1!==(h=p["$[]"](r))&&h!==a?h:p["$[]="](r,k.$strftime("%Y-%m-%d")),r="doctime",p=$,E=!1!==(h=p["$[]"](r))&&h!==a?h:p["$[]="](r,k.$strftime("%H:%M:%S %Z")),$["$[]="]("docdatetime",""+w+" "+E);return!1!==g&&g!==a&&(g.$record("read"),g.$start("parse")),A=n["$[]"]("parse")["$=="](!1)?i.get("Document").$new(y,n):i.get("Document").$new(y,n).$parse(),!1!==g&&g!==a&&g.$record("parse"),A}catch(t){C=t;try{try{S="asciidoctor: FAILED: "+(!1!==(r=$["$[]"]("docfile"))&&r!==a?r:"")+": Failed to load AsciiDoc document",(r=C["$respond_to?"]("exception"))===a||r.$$is_boolean&&1!=r?(T=C.$class().$new(S,C),r=[C.$stack_trace()],p=T,p["$stack_trace="].apply(p,r),r[r.length-1]):(T=C.$exception(""+S+" - "+C.$message()),T.$set_backtrace(C.$backtrace()))}catch(t){try{T=C}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}return m.$raise(T)}finally{e.gvars["!"]=e.exceptions.pop()||e.nil}}}),e.defn(n,"$load_file",function(t,n){return null==n&&(n=u([],{})),this.$load(e.get("File").$new(!1!==t&&t!==a?t:""),n)}),e.defn(n,"$convert",function(n,o){var s,l,c,d,f,p,h,m=a,g=a,$=a,_=a,v=a,b=a,y=a,x=a,k=a,w=a,E=v=a,A=m=m=x=b=a,C=b=g=a,S=m=y=_=a,T=$=a;if(null==o&&(o=u([],{})),o=o.$dup(),o.$delete("parse"),m=o.$delete("to_file"),g=o.$delete("to_dir"),$=!1!==(s=o.$delete("mkdirs"))&&s!==a&&s,_=o["$[]"]("timings"),v=m,(!0)["$==="](v)||a["$==="](v))s=g["$!"](),b=!1!==s&&s!==a?e.get("File")["$==="](n):s,y=!1,x=g,m=a;else if((!1)["$==="](v))x=y=b=!1,m=a;else{if("/dev/null"["$==="](v))return this.$load(n,o);b=!1,y=m["$respond_to?"]("write"),x=(!1===y||y===a)&&m}return!((s=o["$key?"]("header_footer"))===a||s.$$is_boolean&&1!=s)||(s=!1!==(l=b)&&l!==a?l:x)===a||s.$$is_boolean&&1!=s||o["$[]="]("header_footer",!0),!1!==b&&b!==a?(k=e.get("File").$expand_path(n.$path()),o["$[]="]("to_dir",w=e.get("File").$dirname(k))):!1!==x&&x!==a?!1!==g&&g!==a?!1!==m&&m!==a?o["$[]="]("to_dir",e.get("File").$dirname(e.get("File").$expand_path(e.get("File").$join(g,m)))):o["$[]="]("to_dir",e.get("File").$expand_path(g)):!1!==m&&m!==a&&o["$[]="]("to_dir",e.get("File").$dirname(e.get("File").$expand_path(m))):o["$[]="]("to_dir",a),v=this.$load(n,o),!1!==b&&b!==a?(E=e.get("File").$join(w,""+v.$attributes()["$[]"]("docname")+v.$outfilesuffix()),E["$=="](k)&&this.$raise(e.get("IOError"),"input file and output file cannot be the same: "+E)):!1!==x&&x!==a?(b=(s=o["$has_key?"]("base_dir"))===a||s.$$is_boolean&&1!=s?e.get("File").$expand_path(e.get("Dir").$pwd()):e.get("File").$expand_path(o["$[]"]("base_dir")),x=t(v.$safe(),i.get("SafeMode").$$scope.get("SAFE"))?b:a,!1!==g&&g!==a?(w=v.$normalize_system_path(g,b,x,u(["target_name","recover"],{target_name:"to_dir",recover:!1})),!1!==m&&m!==a?(E=v.$normalize_system_path(m,w,a,u(["target_name","recover"],{target_name:"to_dir",recover:!1})),w=e.get("File").$dirname(E)):E=e.get("File").$join(w,""+v.$attributes()["$[]"]("docname")+v.$outfilesuffix())):!1!==m&&m!==a&&(E=v.$normalize_system_path(m,b,x,u(["target_name","recover"],{target_name:"to_dir",recover:!1})),w=e.get("File").$dirname(E)),((s=e.get("File")["$directory?"](w))===a||s.$$is_boolean&&1!=s)&&(!1!==$&&$!==a?e.get("FileUtils").$mkdir_p(w):this.$raise(e.get("IOError"),"target directory does not exist: "+g))):(E=m,w=a),!1!==_&&_!==a&&_.$start("convert"),m=(s=(l=!1!==E&&E!==a)?y["$!"]():E)===a||s.$$is_boolean&&1!=s?u([],{}):u(["outfile","outdir"],{outfile:E,outdir:w}),m=v.$convert(m),!1!==_&&_!==a&&_.$record("convert"),!1!==E&&E!==a?(!1!==_&&_!==a&&_.$start("write"),v.$write(m,E),!1!==_&&_!==a&&_.$record("write"),p=y["$!"](),f=!1!==p&&p!==a?r(v.$safe(),i.get("SafeMode").$$scope.get("SECURE")):p,d=!1!==f&&f!==a?v["$attr?"]("linkcss"):f,c=!1!==d&&d!==a?v["$attr?"]("copycss"):d,l=!1!==c&&c!==a?v["$attr?"]("basebackend-html"):c,(s=!1!==l&&l!==a?(c=A=v.$attr("stylesdir"),!1!==c&&c!==a?i.get("Helpers")["$uriish?"](A):c)["$!"]():l)===a||s.$$is_boolean&&1!=s||(b=g=!1,(s=C=v.$attr("stylesheet"))===a||s.$$is_boolean&&1!=s||((s=i.get("DEFAULT_STYLESHEET_KEYS")["$include?"](C))===a||s.$$is_boolean&&1!=s?(s=i.get("Helpers")["$uriish?"](C)["$!"]())===a||s.$$is_boolean&&1!=s||(b=!0):g=!0),s=v["$attr?"]("source-highlighter","coderay"),_=!1!==s&&s!==a?v.$attr("coderay-css","class")["$=="]("class"):s,s=v["$attr?"]("source-highlighter","pygments"),y=!1!==s&&s!==a?v.$attr("pygments-css","class")["$=="]("class"):s,(s=!1!==(l=!1!==(c=!1!==(d=g)&&d!==a?d:b)&&c!==a?c:_)&&l!==a?l:y)===a||s.$$is_boolean&&1!=s||(m=v.$normalize_system_path(A,w,t(v.$safe(),i.get("SafeMode").$$scope.get("SAFE"))?w:a),!1!==$&&$!==a&&i.get("Helpers").$mkdir_p(m),!1!==g&&g!==a?i.get("Stylesheets").$instance().$write_primary_stylesheet(m):!1!==b&&b!==a&&(S=(s=(S=v.$attr("copycss"))["$empty?"]())===a||s.$$is_boolean&&1!=s?v.$normalize_system_path(S):v.$normalize_system_path(C),$=v.$normalize_system_path(C,m,t(v.$safe(),i.get("SafeMode").$$scope.get("SAFE"))?w:a),((s=!1!==(l=S["$=="]($))&&l!==a?l:(T=v.$read_asset(S))["$nil?"]())===a||s.$$is_boolean&&1!=s)&&(s=(l=e.get("File")).$open,s.$$p=(h=function(e){return null==e&&(e=a),e.$write(T)},h.$$s=this,h),s).call(l,$,"w")),!1!==_&&_!==a?i.get("Stylesheets").$instance().$write_coderay_stylesheet(m):!1!==y&&y!==a&&i.get("Stylesheets").$instance().$write_pygments_stylesheet(m,v.$attr("pygments-style")))),v):m}),e.alias(n,"render","convert"),e.defn(n,"$convert_file",function(t,n){return null==n&&(n=u([],{})),this.$convert(e.get("File").$new(!1!==t&&t!==a?t:""),n)}),e.alias(n,"render_file","convert_file")}(e.get_singleton_class(i)),p.get("RUBY_ENGINE")["$=="]("opal")&&(i.$require("asciidoctor/version"),i.$require("asciidoctor/timings"))}(e.base),o.$require("asciidoctor/core_ext"),o.$require("asciidoctor/helpers"),o.$require("asciidoctor/substitutors"),o.$require("asciidoctor/abstract_node"),o.$require("asciidoctor/abstract_block"),o.$require("asciidoctor/attribute_list"),o.$require("asciidoctor/block"),o.$require("asciidoctor/callouts"),o.$require("asciidoctor/converter"),(i=e.get("RUBY_ENGINE_OPAL"))===a||i.$$is_boolean&&1!=i||o.$require("asciidoctor/converter/html5"),o.$require("asciidoctor/document"),o.$require("asciidoctor/inline"),o.$require("asciidoctor/list"),o.$require("asciidoctor/parser"),o.$require("asciidoctor/path_resolver"),o.$require("asciidoctor/reader"),o.$require("asciidoctor/section"),o.$require("asciidoctor/stylesheets"),o.$require("asciidoctor/table")}(i),function(e){return e.dynamic_require_severity="ignore",e.nil}(i),n(290)(i),t&&n(291)(i),i.Asciidoctor}}}},function(e,t,n){e.exports=function(e){e=e||n(89).Opal,e.modules["asciidoctor/converter/docbook5"]=function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e-t:e["$-"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}function i(e,t){return"number"==typeof e&&"number"==typeof t?e>t:e["$>"](t)}function o(e,t){return"number"==typeof e&&"number"==typeof t?e $size $chop $notitle $document_title_tags $doctitle $has_header? $< $to_i $author_element $times $subtitle? $main $subtitle $content_model".split(" ")),function(c){c=s(c,"Asciidoctor").$$scope,function(s,c){function d(){}var f,p,h=d=l(s,c,"DocBook5Converter",d),m=h.$$scope;return h.$$proto.asciimath_available=a,e.defn(h,"$document",function(e){var n,r=a,i=a,o=a,o=o=a,r=[];return(i=e.$doctype())["$=="]("manpage")&&(i="refentry"),r["$<<"](''),(n=o=this.$doctype_declaration(i))===a||n.$$is_boolean&&1!=n||r["$<<"](o),(n=e["$attr?"]("toc"))===a||n.$$is_boolean&&1!=n||((n=e["$attr?"]("toclevels"))===a||n.$$is_boolean&&1!=n?r["$<<"](""):r["$<<"]('')),(n=e["$attr?"]("sectnums"))===a||n.$$is_boolean&&1!=n||((n=e["$attr?"]("sectnumlevels"))===a||n.$$is_boolean&&1!=n?r["$<<"](""):r["$<<"]('')),o=(n=e["$attr?"]("nolang"))===a||n.$$is_boolean&&1!=n?" "+this.$lang_attribute_name()+'="'+e.$attr("lang","en")+'"':a,r["$<<"]("<"+i+this.$document_ns_attributes(e)+o+">"),r["$<<"](this.$document_info_element(e,i)),(n=e["$blocks?"]())===a||n.$$is_boolean&&1!=n||r["$<<"](e.$content()),((n=(o=e.$docinfo("footer"))["$empty?"]())===a||n.$$is_boolean&&1!=n)&&r["$<<"](o),r["$<<"](""),t(r,m.get("EOL"))}),e.alias(h,"embedded","content"),e.defn(h,"$section",function(e){var t,n=a,r=a,n=e.$document().$doctype();return(t=e.$special())===a||t.$$is_boolean&&1!=t?(n["$=="]("book")?(r=e.$level(),r="number"==typeof r?1>=r:r["$<="](1)):r=n["$=="]("book"),r=(t=r)===a||t.$$is_boolean&&1!=t?"section":e.$level()["$=="](0)?"part":"chapter"):(t=(r=e.$sectname())["$start_with?"]("sect"))===a||t.$$is_boolean&&1!=t||(r="section"),n["$=="]("manpage")&&(r["$=="]("section")?r="refsection":r["$=="]("synopsis")&&(r="refsynopsisdiv")),"<"+r+this.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+e.$title()+"\n"+e.$content()+"\n"}),e.defn(h,"$admonition",function(e){var t=a;return"<"+(t=e.$attr("name"))+this.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+this.$title_tag(e)+this.$resolve_content(e)+"\n"}),e.alias(h,"audio","skip"),e.defn(h,"$colist",function(e){var n,r,i,o=a,o=[];return o["$<<"](""),(n=e["$title?"]())===a||n.$$is_boolean&&1!=n||o["$<<"](""+e.$title()+""),(n=(r=e.$items()).$each,n.$$p=(i=function(e){var t;return null==e&&(e=a),o["$<<"](''),o["$<<"](""+e.$text()+""),(t=e["$blocks?"]())===a||t.$$is_boolean&&1!=t||o["$<<"](e.$content()),o["$<<"]("")},i.$$s=this,i),n).call(r),o["$<<"](""),t(o,m.get("EOL"))}),f=[u(["list","entry","term","item"],{list:"variablelist",entry:"varlistentry",term:"term",item:"listitem"})],p=e.cdecl(m,"DLIST_TAGS",u(["labeled","qanda","glossary"],{ +labeled:u(["list","entry","term","item"],{list:"variablelist",entry:"varlistentry",term:"term",item:"listitem"}),qanda:u(["list","entry","label","term","item"],{list:"qandaset",entry:"qandaentry",label:"question",term:"simpara",item:"answer"}),glossary:u(["list","entry","term","item"],{list:a,entry:"glossentry",term:"glossterm",item:"glossdef"})})),p["$default="].apply(p,f),f[f.length-1],e.defn(h,"$dlist",function(n){var r,i,o,s,l,u=a,c=a,d=c=a,f=a,p=a,h=a,g=a,u=[];return n.$style()["$=="]("horizontal")?(u["$<<"]("<"+(c=(r=n["$title?"]())===a||r.$$is_boolean&&1!=r?"informaltable":"table")+this.$common_attributes(n.$id(),n.$role(),n.$reftext())+' tabstyle="horizontal" frame="none" colsep="0" rowsep="0">\n'+this.$title_tag(n)+'\n\n\n'),(r=(i=n.$items()).$each,r.$$p=(o=function(t,n){var r,i,s,l=o.$$s||this;return null==t&&(t=a),null==n&&(n=a),u["$<<"]("\n"),(r=(i=[].concat(e.to_a(t))).$each,r.$$p=(s=function(e){return null==e&&(e=a),u["$<<"](""+e.$text()+"")},s.$$s=l,s),r).call(i),u["$<<"]("\n"),((r=n["$nil?"]())===a||r.$$is_boolean&&1!=r)&&((r=n["$text?"]())===a||r.$$is_boolean&&1!=r||u["$<<"](""+n.$text()+""),(r=n["$blocks?"]())===a||r.$$is_boolean&&1!=r||u["$<<"](n.$content())),u["$<<"]("\n")},o.$$s=this,o),r).call(i),u["$<<"]("\n\n")):(c=m.get("DLIST_TAGS")["$[]"](n.$style()),d=c["$[]"]("list"),f=c["$[]"]("entry"),p=c["$[]"]("label"),h=c["$[]"]("term"),g=c["$[]"]("item"),!1===d||d===a||(u["$<<"]("<"+d+this.$common_attributes(n.$id(),n.$role(),n.$reftext())+">"),(r=n["$title?"]())===a||r.$$is_boolean&&1!=r)||u["$<<"](""+n.$title()+""),(r=(s=n.$items()).$each,r.$$p=(l=function(t,n){var r,i,o,s=l.$$s||this;return null==t&&(t=a),null==n&&(n=a),u["$<<"]("<"+f+">"),!1!==p&&p!==a&&u["$<<"]("<"+p+">"),(r=(i=[].concat(e.to_a(t))).$each,r.$$p=(o=function(e){return null==e&&(e=a),u["$<<"]("<"+h+">"+e.$text()+"")},o.$$s=s,o),r).call(i),!1!==p&&p!==a&&u["$<<"](""),u["$<<"]("<"+g+">"),((r=n["$nil?"]())===a||r.$$is_boolean&&1!=r)&&((r=n["$text?"]())===a||r.$$is_boolean&&1!=r||u["$<<"](""+n.$text()+""),(r=n["$blocks?"]())===a||r.$$is_boolean&&1!=r||u["$<<"](n.$content())),u["$<<"](""),u["$<<"]("")},l.$$s=this,l),r).call(s),!1!==d&&d!==a&&u["$<<"]("")),t(u,m.get("EOL"))}),e.defn(h,"$example",function(e){var t;return(t=e["$title?"]())===a||t.$$is_boolean&&1!=t?"\n"+this.$resolve_content(e)+"\n":"\n"+e.$title()+"\n"+this.$resolve_content(e)+"\n"}),e.defn(h,"$floating_title",function(e){return"'+e.$title()+""}),e.defn(h,"$image",function(e){var t,n=a,r=a,i=a,o=a,s=a,n=a,n=(t=e["$attr?"]("width"))===a||t.$$is_boolean&&1!=t?a:' contentwidth="'+e.$attr("width")+'"',r=(t=e["$attr?"]("height"))===a||t.$$is_boolean&&1!=t?a:' contentdepth="'+e.$attr("height")+'"',i=(t=e["$attr?"]("scaledwidth"))===a||t.$$is_boolean&&1!=t?a:' width="'+e.$attr("scaledwidth")+'" scalefit="1"',o=(t=e["$attr?"]("scale"))===a||t.$$is_boolean&&1!=t?a:' scale="'+e.$attr("scale")+'"',s=(t=e["$attr?"]("align"))===a||t.$$is_boolean&&1!=t?a:' align="'+e.$attr("align")+'"',n='\n\n\n\n"+e.$attr("alt")+"\n";return(t=e["$title?"]())===a||t.$$is_boolean&&1!=t?"\n"+n+"\n":"\n"+e.$title()+"\n"+n+"\n"}),e.defn(h,"$listing",function(e){var t,n=a,r=a,i=a,i=a,n=e["$title?"]()["$!"](),r=this.$common_attributes(e.$id(),e.$role(),e.$reftext());return(t=e.$style()["$=="]("source")?e["$attr?"]("language"):e.$style()["$=="]("source"))===a||t.$$is_boolean&&1!=t?i=""+e.$content()+"":(i=(t=e["$attr?"]("linenums"))===a||t.$$is_boolean&&1!=t?"unnumbered":"numbered",i="'+e.$content()+""),!1!==n&&n!==a?i:"\n"+e.$title()+"\n\n"+i+"\n\n"}),e.defn(h,"$literal",function(e){var t;return(t=e["$title?"]())===a||t.$$is_boolean&&1!=t?"'+e.$content()+"":"\n"+e.$title()+'\n\n'+e.$content()+"\n\n"}),e.defn(h,"$stem",function(t){var n,r,i,o,s=a,l=a,s=a;return(n=s=t.$subs().$index("specialcharacters"))===a||n.$$is_boolean&&1!=n||t.$subs().$delete("specialcharacters"),l=t.$content(),!1!==s&&s!==a&&t.$subs().$insert(s,"specialcharacters"),s=t.$style()["$=="]("asciimath")?(n=!1!==(r=null==e.Object.$$scope.AsciiMath?a:"constant")&&r!==a?r:(o=this.asciimath_available,(i=null!=o&&o!==a?"instance-variable":a)===a||i.$$is_boolean&&1!=i?this.asciimath_available=m.get("Helpers").$require_library("asciimath",!0,"warn"):this.asciimath_available))===a||n.$$is_boolean&&1!=n?"":e.get("AsciiMath").$parse(l).$to_mathml("mml:",u(["xmlns:mml"],{"xmlns:mml":"http://www.w3.org/1998/Math/MathML"})):"\n",(n=t["$title?"]())===a||n.$$is_boolean&&1!=n?"\n"+s+"\n":"\n"+t.$title()+"\n"+s+"\n"}),e.defn(h,"$olist",function(e){var n,r,i,o=a,s=a,l=a,o=[],s=(n=e.$style())===a||n.$$is_boolean&&1!=n?a:' numeration="'+e.$style()+'"',l=(n=e["$attr?"]("start"))===a||n.$$is_boolean&&1!=n?a:' startingnumber="'+e.$attr("start")+'"';return o["$<<"](""),(n=e["$title?"]())===a||n.$$is_boolean&&1!=n||o["$<<"](""+e.$title()+""),(n=(r=e.$items()).$each,n.$$p=(i=function(e){var t;return null==e&&(e=a),o["$<<"](""),o["$<<"](""+e.$text()+""),(t=e["$blocks?"]())===a||t.$$is_boolean&&1!=t||o["$<<"](e.$content()),o["$<<"]("")},i.$$s=this,i),n).call(r),o["$<<"](""),t(o,m.get("EOL"))}),e.defn(h,"$open",function(e){var t,n,r=this,i=a;return function(){return i=e.$style(),"abstract"["$==="](i)?(t=(n=e.$parent()["$=="](e.$document()))?e.$document()["$attr?"]("doctype","book"):e.$parent()["$=="](e.$document()))===a||t.$$is_boolean&&1!=t?"\n"+r.$title_tag(e)+r.$resolve_content(e)+"\n":(r.$warn("asciidoctor: WARNING: abstract block cannot be used in a document without a title when doctype is book. Excluding block content."),""):"partintro"["$==="](i)?(n=e.$level()["$=="](0)?e.$parent().$context()["$=="]("section"):e.$level()["$=="](0),(t=!1!==n&&n!==a?e.$document().$doctype()["$=="]("book"):n)===a||t.$$is_boolean&&1!=t?(r.$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."),""):"\n"+r.$title_tag(e)+r.$resolve_content(e)+"\n"):e.$content()}()}),e.defn(h,"$page_break",function(e){return""}),e.defn(h,"$paragraph",function(e){var t;return(t=e["$title?"]())===a||t.$$is_boolean&&1!=t?""+e.$content()+"":"\n"+e.$title()+"\n"+e.$content()+"\n"}),e.defn(h,"$preamble",function(e){return e.$document().$doctype()["$=="]("book")?"\n"+this.$title_tag(e,!1)+e.$content()+"\n":e.$content()}),e.defn(h,"$quote",function(e){var n,r,i=a,i=[];return i["$<<"](""),(n=e["$title?"]())===a||n.$$is_boolean&&1!=n||i["$<<"](""+e.$title()+""),(n=!1!==(r=e["$attr?"]("attribution"))&&r!==a?r:e["$attr?"]("citetitle"))===a||n.$$is_boolean&&1!=n||(i["$<<"](""),(n=e["$attr?"]("attribution"))===a||n.$$is_boolean&&1!=n||i["$<<"](e.$attr("attribution")),(n=e["$attr?"]("citetitle"))===a||n.$$is_boolean&&1!=n||i["$<<"](""+e.$attr("citetitle")+""),i["$<<"]("")),i["$<<"](this.$resolve_content(e)),i["$<<"](""),t(i,m.get("EOL"))}),e.defn(h,"$thematic_break",function(e){return""}),e.defn(h,"$sidebar",function(e){return"\n"+this.$title_tag(e)+this.$resolve_content(e)+"\n"}),e.cdecl(m,"TABLE_PI_NAMES",["dbhtml","dbfo","dblatex"]),e.cdecl(m,"TABLE_SECTIONS",["head","foot","body"]),e.defn(h,"$table",function(e){var i,o,s,l,u,c,d,f,p,h,g=this,$=a,_=a,v=a,b=a,y=a,x=a,$=!1,_=[],v=(i=e["$option?"]("pgwide"))===a||i.$$is_boolean&&1!=i?a:' pgwide="1"';return _["$<<"]("<"+(b=(i=e["$title?"]())===a||i.$$is_boolean&&1!=i?"informaltable":"table")+g.$common_attributes(e.$id(),e.$role(),e.$reftext())+v+' frame="'+e.$attr("frame","all")+'" rowsep="'+((i=["none","cols"]["$include?"](e.$attr("grid")))===a||i.$$is_boolean&&1!=i?1:0)+'" colsep="'+((i=["none","rows"]["$include?"](e.$attr("grid")))===a||i.$$is_boolean&&1!=i?1:0)+'">'),(i=e["$option?"]("unbreakable"))===a||i.$$is_boolean&&1!=i?(i=e["$option?"]("breakable"))===a||i.$$is_boolean&&1!=i||_["$<<"](''):_["$<<"](''),b["$=="]("table")&&_["$<<"](""+e.$title()+""),y=function(){return(i=x=(o=e["$attr?"]("width"))===a||o.$$is_boolean&&1!=o?a:e.$attr("width"))===a||i.$$is_boolean&&1!=i?"colpcwidth":((i=(o=m.get("TABLE_PI_NAMES")).$each,i.$$p=(s=function(e){return null==e&&(e=a),_["$<<"]("')},s.$$s=g,s),i).call(o),"colabswidth")}(),_["$<<"](''),(i=(l=e.$columns()).$each,i.$$p=(u=function(e){return null==e&&(e=a),_["$<<"]('')},u.$$s=g,u),i).call(l),(i=(c=(f=(p=m.get("TABLE_SECTIONS")).$select,f.$$p=(h=function(t){return null==t&&(t=a),e.$rows()["$[]"](t)["$empty?"]()["$!"]()},h.$$s=g,h),f).call(p)).$each,i.$$p=(d=function(t){var i,o,s,l=d.$$s||this;return null==t&&(t=a),t["$=="]("body")&&($=!0),_["$<<"](""),(i=(o=e.$rows()["$[]"](t)).$each,i.$$p=(s=function(i){var o,l,u,c=s.$$s||this;return null==i&&(i=a),_["$<<"](""),(o=(l=i).$each,o.$$p=(u=function(i){var o,s,l,c,d,f=u.$$s||this,p=a,h=a,m=a,g=a,$=a,v=h=p=a,m=a;return null==i&&(i=a),p=(o=i["$attr?"]("halign"))===a||o.$$is_boolean&&1!=o?a:' align="'+i.$attr("halign")+'"',h=(o=i["$attr?"]("valign"))===a||o.$$is_boolean&&1!=o?a:' valign="'+i.$attr("valign")+'"',m=(o=i.$colspan())===a||o.$$is_boolean&&1!=o?a:' namest="col_'+(g=i.$column().$attr("colnumber"))+'" nameend="col_'+n(r(g,i.$colspan()),1)+'"',$=(o=i.$rowspan())===a||o.$$is_boolean&&1!=o?a:' morerows="'+n(i.$rowspan(),1)+'"',p="",h=function(){return t["$=="]("head")?i.$text():function(){return v=i.$style(),"asciidoc"["$==="](v)?i.$content():"verse"["$==="](v)?""+i.$text()+"":"literal"["$==="](v)?''+i.$text()+"":"header"["$==="](v)?(o=(s=i.$content()).$map,o.$$p=(l=function(e){return null==e&&(e=a),''+e+""},l.$$s=f,l),o).call(s).$join():(o=(c=i.$content()).$map,o.$$p=(d=function(e){return null==e&&(e=a),""+e+""},d.$$s=f,d),o).call(c).$join()}()}(),m=(o=e.$document()["$attr?"]("cellbgcolor"))===a||o.$$is_boolean&&1!=o?"":'',_["$<<"](""+p+h+m)},u.$$s=c,u),o).call(l),_["$<<"]("")},s.$$s=l,s),i).call(o),_["$<<"]("")},d.$$s=g,d),i).call(c),_["$<<"](""),_["$<<"](""),!1!==$&&$!==a||g.$warn("asciidoctor: WARNING: tables must have at least one body row"),t(_,m.get("EOL"))}),e.alias(h,"toc","skip"),e.defn(h,"$ulist",function(e){var n,r,i,o,s,l=a,u=a,c=a,u=a,l=[];return e.$style()["$=="]("bibliography")?(l["$<<"](""),(n=e["$title?"]())===a||n.$$is_boolean&&1!=n||l["$<<"](""+e.$title()+""),(n=(r=e.$items()).$each,n.$$p=(i=function(e){var t;return null==e&&(e=a),l["$<<"](""),l["$<<"](""+e.$text()+""),(t=e["$blocks?"]())===a||t.$$is_boolean&&1!=t||l["$<<"](e.$content()),l["$<<"]("")},i.$$s=this,i),n).call(r),l["$<<"]("")):(u=(n=c=e["$option?"]("checklist"))===a||n.$$is_boolean&&1!=n?e.$style():"none",u=!1!==u&&u!==a?' mark="'+u+'"':a,l["$<<"](""),(n=e["$title?"]())===a||n.$$is_boolean&&1!=n||l["$<<"](""+e.$title()+""),(n=(o=e.$items()).$each,n.$$p=(s=function(e){var t,n=a;return null==e&&(e=a),n=(t=!1!==c&&c!==a?e["$attr?"]("checkbox"):c)===a||t.$$is_boolean&&1!=t?a:(t=e["$attr?"]("checked"))===a||t.$$is_boolean&&1!=t?"❏ ":"✓ ",l["$<<"](""),l["$<<"](""+n+e.$text()+""),(t=e["$blocks?"]())===a||t.$$is_boolean&&1!=t||l["$<<"](e.$content()),l["$<<"]("")},s.$$s=this,s),n).call(o),l["$<<"]("")),t(l,m.get("EOL"))}),e.defn(h,"$verse",function(e){var n,r,i=a,i=[];return i["$<<"](""),(n=e["$title?"]())===a||n.$$is_boolean&&1!=n||i["$<<"](""+e.$title()+""),(n=!1!==(r=e["$attr?"]("attribution"))&&r!==a?r:e["$attr?"]("citetitle"))===a||n.$$is_boolean&&1!=n||(i["$<<"](""),(n=e["$attr?"]("attribution"))===a||n.$$is_boolean&&1!=n||i["$<<"](e.$attr("attribution")),(n=e["$attr?"]("citetitle"))===a||n.$$is_boolean&&1!=n||i["$<<"](""+e.$attr("citetitle")+""),i["$<<"]("")),i["$<<"](""+e.$content()+""),i["$<<"](""),t(i,m.get("EOL"))}),e.alias(h,"video","skip"),e.defn(h,"$inline_anchor",function(e){var t,n=this,r=a,i=a,o=a,s=a,l=a;return function(){return r=e.$type(),"ref"["$==="](r)?"":"xref"["$==="](r)?(t=i=e.$attributes()["$[]"]("path"))===a||t.$$is_boolean&&1!=t?(o=!1!==(t=e.$attributes()["$[]"]("fragment"))&&t!==a?t:e.$target(),(t=s=e.$text())===a||t.$$is_boolean&&1!=t?'':''+s+""):''+(!1!==(t=e.$text())&&t!==a?t:i)+"":"link"["$==="](r)?''+e.$text()+"":"bibref"["$==="](r)?(l=e.$target(),"["+l+"]"):n.$warn("asciidoctor: WARNING: unknown anchor type: "+e.$type().$inspect())}()}),e.defn(h,"$inline_break",function(e){return""+e.$text()+""}),e.defn(h,"$inline_button",function(e){return""+e.$text()+""}),e.defn(h,"$inline_callout",function(e){return""}),e.defn(h,"$inline_footnote",function(e){return e.$type()["$=="]("xref")?'':""+e.$text()+""}),e.defn(h,"$inline_image",function(e){var t,n=a,r=a,n=(t=e["$attr?"]("width"))===a||t.$$is_boolean&&1!=t?a:' contentwidth="'+e.$attr("width")+'"',r=(t=e["$attr?"]("height"))===a||t.$$is_boolean&&1!=t?a:' contentdepth="'+e.$attr("height")+'"';return'\n\n\n\n"+e.$attr("alt")+"\n"}),e.defn(h,"$inline_indexterm",function(e){var n=a,r=a,o=a;return e.$type()["$=="]("visible")?""+e.$text()+""+e.$text():(n=e.$attr("terms"),r=[],i(o=n.$size(),2)&&r["$<<"]("\n"+n["$[]"](0)+""+n["$[]"](1)+""+n["$[]"](2)+"\n"),i(o,1)&&r["$<<"]("\n"+n["$[]"](-2)+""+n["$[]"](-1)+"\n"),r["$<<"]("\n"+n["$[]"](-1)+"\n"),t(r,m.get("EOL")))}),e.defn(h,"$inline_kbd",function(e){var t,n,r,i=a;return(i=e.$attr("keys")).$size()["$=="](1)?""+i["$[]"](0)+"":""+(t=(n=i).$map,t.$$p=(r=function(e){return null==e&&(e=a),""+e+""},r.$$s=this,r),t).call(n).$join()+""}),e.defn(h,"$inline_menu",function(e){var t,n,r,i=a,o=a,s=o=a,i=e.$attr("menu");return(t=(o=e.$attr("submenus"))["$empty?"]()["$!"]())===a||t.$$is_boolean&&1!=t?(t=s=e.$attr("menuitem"))===a||t.$$is_boolean&&1!=t?""+i+"":""+i+" "+s+"":(o=(t=(n=o).$map,t.$$p=(r=function(e){return null==e&&(e=a),""+e+" "},r.$$s=this,r),t).call(n).$join().$chop(),""+i+" "+o+" "+e.$attr("menuitem")+"")}),f=[[a,a,!0]],p=e.cdecl(m,"QUOTE_TAGS",u("emphasis strong monospaced superscript subscript double single mark".split(" "),{emphasis:["","",!0],strong:['',"",!0],monospaced:["","",!1],superscript:["","",!1],subscript:["","",!1],double:["“","”",!0],single:["‘","’",!0],mark:['',"",!1]})),p["$default="].apply(p,f),f[f.length-1],e.defn(h,"$inline_quoted",function(t){var n,r,i,o,s=a,l=a,c=a,d=a,f=a,p=s=a,c=a;return(s=t.$type())["$=="]("asciimath")?(n=!1!==(r=null==e.Object.$$scope.AsciiMath?a:"constant")&&r!==a?r:(o=this.asciimath_available,(i=null!=o&&o!==a?"instance-variable":a)===a||i.$$is_boolean&&1!=i?this.asciimath_available=m.get("Helpers").$require_library("asciimath",!0,"warn"):this.asciimath_available))===a||n.$$is_boolean&&1!=n?"":""+e.get("AsciiMath").$parse(t.$text()).$to_mathml("mml:",u(["xmlns:mml"],{"xmlns:mml":"http://www.w3.org/1998/Math/MathML"}))+"":s["$=="]("latexmath")?"":(n=e.to_ary(m.get("QUOTE_TAGS")["$[]"](s)),c=null==n[0]?a:n[0],d=null==n[1]?a:n[1],f=null==n[2]?a:n[2],s=t.$text(),c=(n=p=t.$role())===a||n.$$is_boolean&&1!=n?""+c+s+d:!1!==f&&f!==a?""+c+''+s+""+d:""+c.$chop()+' role="'+p+'">'+s+d,(n=t.$id())===a||n.$$is_boolean&&1!=n?c:""+c)}),e.defn(h,"$author_element",function(e,n){var r,i=a,o=a,s=a,l=a,u=a;return null==n&&(n=a),i=!1!==n&&n!==a?"firstname_"+n:"firstname",o=!1!==n&&n!==a?"middlename_"+n:"middlename",s=!1!==n&&n!==a?"lastname_"+n:"lastname",l=!1!==n&&n!==a?"email_"+n:"email",u=[],u["$<<"](""),u["$<<"](""),(r=e["$attr?"](i))===a||r.$$is_boolean&&1!=r||u["$<<"](""+e.$attr(i)+""),(r=e["$attr?"](o))===a||r.$$is_boolean&&1!=r||u["$<<"](""+e.$attr(o)+""),(r=e["$attr?"](s))===a||r.$$is_boolean&&1!=r||u["$<<"](""+e.$attr(s)+""),u["$<<"](""),(r=e["$attr?"](l))===a||r.$$is_boolean&&1!=r||u["$<<"](""+e.$attr(l)+""),u["$<<"](""),t(u,m.get("EOL"))}),e.defn(h,"$common_attributes",function(e,t,n){var r=a;return null==t&&(t=a),null==n&&(n=a),r=!1!==e&&e!==a?' xml:id="'+e+'"':"",!1!==t&&t!==a&&(r=""+r+' role="'+t+'"'),!1!==n&&n!==a&&(r=""+r+' xreflabel="'+n+'"'),r}),e.defn(h,"$doctype_declaration",function(e){return a}),e.defn(h,"$document_info_element",function(e,n,i){var s,l,c,d,f,p=a,h=a,h=h=a;return null==i&&(i=!1),!1!==i&&i!==a||(n=""),p=[],p["$<<"]("<"+n+"info>"),((s=e.$notitle())===a||s.$$is_boolean&&1!=s)&&p["$<<"](this.$document_title_tags(e.$doctitle(u(["partition","use_fallback"],{partition:!0,use_fallback:!0})))),(s=h=(l=e["$attr?"]("revdate"))===a||l.$$is_boolean&&1!=l?(l=e["$attr?"]("reproducible"))===a||l.$$is_boolean&&1!=l?e.$attr("docdate"):a:e.$attr("revdate"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+h+""),(s=e["$has_header?"]())===a||s.$$is_boolean&&1!=s||((s=e["$attr?"]("author"))===a||s.$$is_boolean&&1!=s||(o(h=e.$attr("authorcount").$to_i(),2)?(p["$<<"](this.$author_element(e)),(s=e["$attr?"]("authorinitials"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+e.$attr("authorinitials")+"")):(p["$<<"](""),(s=(l=h).$times,s.$$p=(c=function(t){var n=c.$$s||this;return null==t&&(t=a),p["$<<"](n.$author_element(e,r(t,1)))},c.$$s=this,c),s).call(l),p["$<<"](""))),d=e["$attr?"]("revdate"),(s=!1!==d&&d!==a?!1!==(f=e["$attr?"]("revnumber"))&&f!==a?f:e["$attr?"]("revremark"):d)===a||s.$$is_boolean&&1!=s||(p["$<<"]("\n"),(s=e["$attr?"]("revnumber"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+e.$attr("revnumber")+""),(s=e["$attr?"]("revdate"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+e.$attr("revdate")+""),(s=e["$attr?"]("authorinitials"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+e.$attr("authorinitials")+""),(s=e["$attr?"]("revremark"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+e.$attr("revremark")+""),p["$<<"]("\n")),((s=(h=e.$docinfo())["$empty?"]())===a||s.$$is_boolean&&1!=s)&&p["$<<"](h),(s=e["$attr?"]("orgname"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+e.$attr("orgname")+"")),p["$<<"](""),e.$doctype()["$=="]("manpage")&&(p["$<<"](""),(s=e["$attr?"]("mantitle"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+e.$attr("mantitle")+""),(s=e["$attr?"]("manvolnum"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+e.$attr("manvolnum")+""),p["$<<"](""),p["$<<"](""),(s=e["$attr?"]("manname"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+e.$attr("manname")+""),(s=e["$attr?"]("manpurpose"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+e.$attr("manpurpose")+""),p["$<<"]("")),t(p,m.get("EOL"))}),e.defn(h,"$document_ns_attributes",function(e){return' xmlns="http://docbook.org/ns/docbook" xmlns:xl="http://www.w3.org/1999/xlink" version="5.0"'}),e.defn(h,"$lang_attribute_name",function(){return"xml:lang"}),e.defn(h,"$document_title_tags",function(e){var t;return(t=e["$subtitle?"]())===a||t.$$is_boolean&&1!=t?""+e+"":""+e.$main()+"\n"+e.$subtitle()+""}),e.defn(h,"$resolve_content",function(e){return e.$content_model()["$=="]("compound")?e.$content():""+e.$content()+""}),e.defn(h,"$title_tag",function(e,t){var n,r;return null==t&&(t=!0),(n=!1!==(r=t["$!"]())&&r!==a?r:e["$title?"]())===a||n.$$is_boolean&&1!=n?a:""+e.$title()+"\n"}),a&&"title_tag"}(c.get("Converter"),c.get("Converter").$$scope.get("BuiltIn"))}(e.base)},function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}e.dynamic_require_severity="ignore";var n=e.top,r=e.nil,i=e.slice,o=e.module,a=e.klass;return e.add_stubs("$require $== $context $parent $style $attr? $attr $<< $common_attributes $id $role $reftext $title? $title $each_with_index $text $blocks? $content $items $* $type $=== $target $[] $attributes $empty?".split(" ")),n.$require("asciidoctor/converter/docbook5"),function(n){n=o(n,"Asciidoctor").$$scope,function(n,o){function s(){}var l,u,c=s=a(n,o,"DocBook45Converter",s),d=c.$$scope;return e.defn(c,"$admonition",l=function(t){var n=i.call(arguments,0),r=l.$$p;return l.$$p=null,t.$parent().$context()["$=="]("example")?"\n"+e.find_super_dispatcher(this,"admonition",l,r).apply(this,n)+"\n":e.find_super_dispatcher(this,"admonition",l,r).apply(this,n)}),e.defn(c,"$olist",function(e){var n,i,o,a=r,s=r,l=r,a=[],s=(n=e.$style())===r||n.$$is_boolean&&1!=n?r:' numeration="'+e.$style()+'"',l=(n=e["$attr?"]("start"))===r||n.$$is_boolean&&1!=n?r:' override="'+e.$attr("start")+'"';return a["$<<"](""),(n=e["$title?"]())===r||n.$$is_boolean&&1!=n||a["$<<"](""+e.$title()+""),(n=(i=e.$items()).$each_with_index,n.$$p=(o=function(e,t){var n;return null==e&&(e=r),null==t&&(t=r),a["$<<"](t["$=="](0)?"":""),a["$<<"](""+e.$text()+""),(n=e["$blocks?"]())===r||n.$$is_boolean&&1!=n||a["$<<"](e.$content()),a["$<<"]("")},o.$$s=this,o),n).call(i),a["$<<"](""),t(a,d.get("EOL"))}),e.defn(c,"$inline_anchor",function(e){var t,n=this,i=r,o=r,a=r,s=r,l=r;return function(){return i=e.$type(),"ref"["$==="](i)?"":"xref"["$==="](i)?(t=o=e.$attributes()["$[]"]("path"))===r||t.$$is_boolean&&1!=t?(a=!1!==(t=e.$attributes()["$[]"]("fragment"))&&t!==r?t:e.$target(),(t=s=e.$text())===r||t.$$is_boolean&&1!=t?'':''+s+""):''+(!1!==(t=e.$text())&&t!==r?t:o)+"":"link"["$==="](i)?''+e.$text()+"":"bibref"["$==="](i)?(l=e.$target(),"["+l+"]"):r}()}),e.defn(c,"$author_element",function(e,n){var i,o=r,a=r,s=r,l=r,u=r;return null==n&&(n=r),o=!1!==n&&n!==r?"firstname_"+n:"firstname",a=!1!==n&&n!==r?"middlename_"+n:"middlename",s=!1!==n&&n!==r?"lastname_"+n:"lastname",l=!1!==n&&n!==r?"email_"+n:"email",u=[],u["$<<"](""),(i=e["$attr?"](o))===r||i.$$is_boolean&&1!=i||u["$<<"](""+e.$attr(o)+""),(i=e["$attr?"](a))===r||i.$$is_boolean&&1!=i||u["$<<"](""+e.$attr(a)+""),(i=e["$attr?"](s))===r||i.$$is_boolean&&1!=i||u["$<<"](""+e.$attr(s)+""),(i=e["$attr?"](l))===r||i.$$is_boolean&&1!=i||u["$<<"](""+e.$attr(l)+""),u["$<<"](""),t(u,d.get("EOL"))}),e.defn(c,"$common_attributes",function(e,t,n){var i=r;return null==t&&(t=r),null==n&&(n=r),i=!1!==e&&e!==r?' id="'+e+'"':"",!1!==t&&t!==r&&(i=""+i+' role="'+t+'"'),!1!==n&&n!==r&&(i=""+i+' xreflabel="'+n+'"'),i}),e.defn(c,"$doctype_declaration",function(e){return"'}),e.defn(c,"$document_info_element",u=function(t,n){return u.$$p=null,e.find_super_dispatcher(this,"document_info_element",u,null).apply(this,[t,n,!0])}),e.defn(c,"$lang_attribute_name",function(){return"lang"}),e.defn(c,"$document_ns_attributes",function(e){var t,n=r;return(t=n=e.$attr("xmlns"))===r||t.$$is_boolean&&1!=t?r:(t=n["$empty?"]())===r||t.$$is_boolean&&1!=t?' xmlns="'+n+'"':' xmlns="http://docbook.org/ns/docbook"'}),r&&"document_ns_attributes"}(n.get("Converter"),n.get("Converter").$$scope.get("DocBook5Converter"))}(e.base)}(e),function(e){return e.dynamic_require_severity="ignore",e.nil}(e),function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e*t:e["$*"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e-t:e["$-"](t)}function r(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}function i(e,t){return"number"==typeof e&&"number"==typeof t?e>t:e["$>"](t)}function o(e,t){return"number"==typeof e&&"number"==typeof t?e $size $chop $notitle $document_title_tags $doctitle $has_header? $< $to_i $author_element $times $subtitle? $main $subtitle $content_model".split(" ")),function(c){c=s(c,"Asciidoctor").$$scope,function(s,c){function d(){}var f,p,h=d=l(s,c,"DocBook5Converter",d),m=h.$$scope;return h.$$proto.asciimath_available=a,e.defn(h,"$document",function(e){var n,r=a,i=a,o=a,o=o=a,r=[];return(i=e.$doctype())["$=="]("manpage")&&(i="refentry"),r["$<<"](''),(n=o=this.$doctype_declaration(i))===a||n.$$is_boolean&&1!=n||r["$<<"](o),(n=e["$attr?"]("toc"))===a||n.$$is_boolean&&1!=n||((n=e["$attr?"]("toclevels"))===a||n.$$is_boolean&&1!=n?r["$<<"](""):r["$<<"]('')),(n=e["$attr?"]("sectnums"))===a||n.$$is_boolean&&1!=n||((n=e["$attr?"]("sectnumlevels"))===a||n.$$is_boolean&&1!=n?r["$<<"](""):r["$<<"]('')),o=(n=e["$attr?"]("nolang"))===a||n.$$is_boolean&&1!=n?" "+this.$lang_attribute_name()+'="'+e.$attr("lang","en")+'"':a,r["$<<"]("<"+i+this.$document_ns_attributes(e)+o+">"),r["$<<"](this.$document_info_element(e,i)),(n=e["$blocks?"]())===a||n.$$is_boolean&&1!=n||r["$<<"](e.$content()),((n=(o=e.$docinfo("footer"))["$empty?"]())===a||n.$$is_boolean&&1!=n)&&r["$<<"](o),r["$<<"](""),t(r,m.get("EOL"))}),e.alias(h,"embedded","content"),e.defn(h,"$section",function(e){var t,n=a,r=a,n=e.$document().$doctype();return(t=e.$special())===a||t.$$is_boolean&&1!=t?(n["$=="]("book")?(r=e.$level(),r="number"==typeof r?1>=r:r["$<="](1)):r=n["$=="]("book"),r=(t=r)===a||t.$$is_boolean&&1!=t?"section":e.$level()["$=="](0)?"part":"chapter"):(t=(r=e.$sectname())["$start_with?"]("sect"))===a||t.$$is_boolean&&1!=t||(r="section"),n["$=="]("manpage")&&(r["$=="]("section")?r="refsection":r["$=="]("synopsis")&&(r="refsynopsisdiv")),"<"+r+this.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+e.$title()+"\n"+e.$content()+"\n"}),e.defn(h,"$admonition",function(e){var t=a;return"<"+(t=e.$attr("name"))+this.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+this.$title_tag(e)+this.$resolve_content(e)+"\n"}),e.alias(h,"audio","skip"),e.defn(h,"$colist",function(e){var n,r,i,o=a,o=[];return o["$<<"](""),(n=e["$title?"]())===a||n.$$is_boolean&&1!=n||o["$<<"](""+e.$title()+""),(n=(r=e.$items()).$each,n.$$p=(i=function(e){var t;return null==e&&(e=a),o["$<<"](''),o["$<<"](""+e.$text()+""),(t=e["$blocks?"]())===a||t.$$is_boolean&&1!=t||o["$<<"](e.$content()),o["$<<"]("")},i.$$s=this,i),n).call(r),o["$<<"](""), +t(o,m.get("EOL"))}),f=[u(["list","entry","term","item"],{list:"variablelist",entry:"varlistentry",term:"term",item:"listitem"})],p=e.cdecl(m,"DLIST_TAGS",u(["labeled","qanda","glossary"],{labeled:u(["list","entry","term","item"],{list:"variablelist",entry:"varlistentry",term:"term",item:"listitem"}),qanda:u(["list","entry","label","term","item"],{list:"qandaset",entry:"qandaentry",label:"question",term:"simpara",item:"answer"}),glossary:u(["list","entry","term","item"],{list:a,entry:"glossentry",term:"glossterm",item:"glossdef"})})),p["$default="].apply(p,f),f[f.length-1],e.defn(h,"$dlist",function(n){var r,i,o,s,l,u=a,c=a,d=c=a,f=a,p=a,h=a,g=a,u=[];return n.$style()["$=="]("horizontal")?(u["$<<"]("<"+(c=(r=n["$title?"]())===a||r.$$is_boolean&&1!=r?"informaltable":"table")+this.$common_attributes(n.$id(),n.$role(),n.$reftext())+' tabstyle="horizontal" frame="none" colsep="0" rowsep="0">\n'+this.$title_tag(n)+'\n\n\n'),(r=(i=n.$items()).$each,r.$$p=(o=function(t,n){var r,i,s,l=o.$$s||this;return null==t&&(t=a),null==n&&(n=a),u["$<<"]("\n"),(r=(i=[].concat(e.to_a(t))).$each,r.$$p=(s=function(e){return null==e&&(e=a),u["$<<"](""+e.$text()+"")},s.$$s=l,s),r).call(i),u["$<<"]("\n"),((r=n["$nil?"]())===a||r.$$is_boolean&&1!=r)&&((r=n["$text?"]())===a||r.$$is_boolean&&1!=r||u["$<<"](""+n.$text()+""),(r=n["$blocks?"]())===a||r.$$is_boolean&&1!=r||u["$<<"](n.$content())),u["$<<"]("\n")},o.$$s=this,o),r).call(i),u["$<<"]("\n\n")):(c=m.get("DLIST_TAGS")["$[]"](n.$style()),d=c["$[]"]("list"),f=c["$[]"]("entry"),p=c["$[]"]("label"),h=c["$[]"]("term"),g=c["$[]"]("item"),!1===d||d===a||(u["$<<"]("<"+d+this.$common_attributes(n.$id(),n.$role(),n.$reftext())+">"),(r=n["$title?"]())===a||r.$$is_boolean&&1!=r)||u["$<<"](""+n.$title()+""),(r=(s=n.$items()).$each,r.$$p=(l=function(t,n){var r,i,o,s=l.$$s||this;return null==t&&(t=a),null==n&&(n=a),u["$<<"]("<"+f+">"),!1!==p&&p!==a&&u["$<<"]("<"+p+">"),(r=(i=[].concat(e.to_a(t))).$each,r.$$p=(o=function(e){return null==e&&(e=a),u["$<<"]("<"+h+">"+e.$text()+"")},o.$$s=s,o),r).call(i),!1!==p&&p!==a&&u["$<<"](""),u["$<<"]("<"+g+">"),((r=n["$nil?"]())===a||r.$$is_boolean&&1!=r)&&((r=n["$text?"]())===a||r.$$is_boolean&&1!=r||u["$<<"](""+n.$text()+""),(r=n["$blocks?"]())===a||r.$$is_boolean&&1!=r||u["$<<"](n.$content())),u["$<<"](""),u["$<<"]("")},l.$$s=this,l),r).call(s),!1!==d&&d!==a&&u["$<<"]("")),t(u,m.get("EOL"))}),e.defn(h,"$example",function(e){var t;return(t=e["$title?"]())===a||t.$$is_boolean&&1!=t?"\n"+this.$resolve_content(e)+"\n":"\n"+e.$title()+"\n"+this.$resolve_content(e)+"\n"}),e.defn(h,"$floating_title",function(e){return"'+e.$title()+""}),e.defn(h,"$image",function(e){var t,n=a,r=a,i=a,o=a,s=a,n=a,n=(t=e["$attr?"]("width"))===a||t.$$is_boolean&&1!=t?a:' contentwidth="'+e.$attr("width")+'"',r=(t=e["$attr?"]("height"))===a||t.$$is_boolean&&1!=t?a:' contentdepth="'+e.$attr("height")+'"',i=(t=e["$attr?"]("scaledwidth"))===a||t.$$is_boolean&&1!=t?a:' width="'+e.$attr("scaledwidth")+'" scalefit="1"',o=(t=e["$attr?"]("scale"))===a||t.$$is_boolean&&1!=t?a:' scale="'+e.$attr("scale")+'"',s=(t=e["$attr?"]("align"))===a||t.$$is_boolean&&1!=t?a:' align="'+e.$attr("align")+'"',n='\n\n\n\n"+e.$attr("alt")+"\n";return(t=e["$title?"]())===a||t.$$is_boolean&&1!=t?"\n"+n+"\n":"\n"+e.$title()+"\n"+n+"\n"}),e.defn(h,"$listing",function(e){var t,n=a,r=a,i=a,i=a,n=e["$title?"]()["$!"](),r=this.$common_attributes(e.$id(),e.$role(),e.$reftext());return(t=e.$style()["$=="]("source")?e["$attr?"]("language"):e.$style()["$=="]("source"))===a||t.$$is_boolean&&1!=t?i=""+e.$content()+"":(i=(t=e["$attr?"]("linenums"))===a||t.$$is_boolean&&1!=t?"unnumbered":"numbered",i="'+e.$content()+""),!1!==n&&n!==a?i:"\n"+e.$title()+"\n\n"+i+"\n\n"}),e.defn(h,"$literal",function(e){var t;return(t=e["$title?"]())===a||t.$$is_boolean&&1!=t?"'+e.$content()+"":"\n"+e.$title()+'\n\n'+e.$content()+"\n\n"}),e.defn(h,"$stem",function(t){var n,r,i,o,s=a,l=a,s=a;return(n=s=t.$subs().$index("specialcharacters"))===a||n.$$is_boolean&&1!=n||t.$subs().$delete("specialcharacters"),l=t.$content(),!1!==s&&s!==a&&t.$subs().$insert(s,"specialcharacters"),s=t.$style()["$=="]("asciimath")?(n=!1!==(r=null==e.Object.$$scope.AsciiMath?a:"constant")&&r!==a?r:(o=this.asciimath_available,(i=null!=o&&o!==a?"instance-variable":a)===a||i.$$is_boolean&&1!=i?this.asciimath_available=m.get("Helpers").$require_library("asciimath",!0,"warn"):this.asciimath_available))===a||n.$$is_boolean&&1!=n?"":e.get("AsciiMath").$parse(l).$to_mathml("mml:",u(["xmlns:mml"],{"xmlns:mml":"http://www.w3.org/1998/Math/MathML"})):"\n",(n=t["$title?"]())===a||n.$$is_boolean&&1!=n?"\n"+s+"\n":"\n"+t.$title()+"\n"+s+"\n"}),e.defn(h,"$olist",function(e){var n,r,i,o=a,s=a,l=a,o=[],s=(n=e.$style())===a||n.$$is_boolean&&1!=n?a:' numeration="'+e.$style()+'"',l=(n=e["$attr?"]("start"))===a||n.$$is_boolean&&1!=n?a:' startingnumber="'+e.$attr("start")+'"';return o["$<<"](""),(n=e["$title?"]())===a||n.$$is_boolean&&1!=n||o["$<<"](""+e.$title()+""),(n=(r=e.$items()).$each,n.$$p=(i=function(e){var t;return null==e&&(e=a),o["$<<"](""),o["$<<"](""+e.$text()+""),(t=e["$blocks?"]())===a||t.$$is_boolean&&1!=t||o["$<<"](e.$content()),o["$<<"]("")},i.$$s=this,i),n).call(r),o["$<<"](""),t(o,m.get("EOL"))}),e.defn(h,"$open",function(e){var t,n,r=this,i=a;return function(){return i=e.$style(),"abstract"["$==="](i)?(t=(n=e.$parent()["$=="](e.$document()))?e.$document()["$attr?"]("doctype","book"):e.$parent()["$=="](e.$document()))===a||t.$$is_boolean&&1!=t?"\n"+r.$title_tag(e)+r.$resolve_content(e)+"\n":(r.$warn("asciidoctor: WARNING: abstract block cannot be used in a document without a title when doctype is book. Excluding block content."),""):"partintro"["$==="](i)?(n=e.$level()["$=="](0)?e.$parent().$context()["$=="]("section"):e.$level()["$=="](0),(t=!1!==n&&n!==a?e.$document().$doctype()["$=="]("book"):n)===a||t.$$is_boolean&&1!=t?(r.$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."),""):"\n"+r.$title_tag(e)+r.$resolve_content(e)+"\n"):e.$content()}()}),e.defn(h,"$page_break",function(e){return""}),e.defn(h,"$paragraph",function(e){var t;return(t=e["$title?"]())===a||t.$$is_boolean&&1!=t?""+e.$content()+"":"\n"+e.$title()+"\n"+e.$content()+"\n"}),e.defn(h,"$preamble",function(e){return e.$document().$doctype()["$=="]("book")?"\n"+this.$title_tag(e,!1)+e.$content()+"\n":e.$content()}),e.defn(h,"$quote",function(e){var n,r,i=a,i=[];return i["$<<"](""),(n=e["$title?"]())===a||n.$$is_boolean&&1!=n||i["$<<"](""+e.$title()+""),(n=!1!==(r=e["$attr?"]("attribution"))&&r!==a?r:e["$attr?"]("citetitle"))===a||n.$$is_boolean&&1!=n||(i["$<<"](""),(n=e["$attr?"]("attribution"))===a||n.$$is_boolean&&1!=n||i["$<<"](e.$attr("attribution")),(n=e["$attr?"]("citetitle"))===a||n.$$is_boolean&&1!=n||i["$<<"](""+e.$attr("citetitle")+""),i["$<<"]("")),i["$<<"](this.$resolve_content(e)),i["$<<"](""),t(i,m.get("EOL"))}),e.defn(h,"$thematic_break",function(e){return""}),e.defn(h,"$sidebar",function(e){return"\n"+this.$title_tag(e)+this.$resolve_content(e)+"\n"}),e.cdecl(m,"TABLE_PI_NAMES",["dbhtml","dbfo","dblatex"]),e.cdecl(m,"TABLE_SECTIONS",["head","foot","body"]),e.defn(h,"$table",function(e){var i,o,s,l,u,c,d,f,p,h,g=this,$=a,_=a,v=a,b=a,y=a,x=a,$=!1,_=[],v=(i=e["$option?"]("pgwide"))===a||i.$$is_boolean&&1!=i?a:' pgwide="1"';return _["$<<"]("<"+(b=(i=e["$title?"]())===a||i.$$is_boolean&&1!=i?"informaltable":"table")+g.$common_attributes(e.$id(),e.$role(),e.$reftext())+v+' frame="'+e.$attr("frame","all")+'" rowsep="'+((i=["none","cols"]["$include?"](e.$attr("grid")))===a||i.$$is_boolean&&1!=i?1:0)+'" colsep="'+((i=["none","rows"]["$include?"](e.$attr("grid")))===a||i.$$is_boolean&&1!=i?1:0)+'">'),(i=e["$option?"]("unbreakable"))===a||i.$$is_boolean&&1!=i?(i=e["$option?"]("breakable"))===a||i.$$is_boolean&&1!=i||_["$<<"](''):_["$<<"](''),b["$=="]("table")&&_["$<<"](""+e.$title()+""),y=function(){return(i=x=(o=e["$attr?"]("width"))===a||o.$$is_boolean&&1!=o?a:e.$attr("width"))===a||i.$$is_boolean&&1!=i?"colpcwidth":((i=(o=m.get("TABLE_PI_NAMES")).$each,i.$$p=(s=function(e){return null==e&&(e=a),_["$<<"]("')},s.$$s=g,s),i).call(o),"colabswidth")}(),_["$<<"](''),(i=(l=e.$columns()).$each,i.$$p=(u=function(e){return null==e&&(e=a),_["$<<"]('')},u.$$s=g,u),i).call(l),(i=(c=(f=(p=m.get("TABLE_SECTIONS")).$select,f.$$p=(h=function(t){return null==t&&(t=a),e.$rows()["$[]"](t)["$empty?"]()["$!"]()},h.$$s=g,h),f).call(p)).$each,i.$$p=(d=function(t){var i,o,s,l=d.$$s||this;return null==t&&(t=a),t["$=="]("body")&&($=!0),_["$<<"](""),(i=(o=e.$rows()["$[]"](t)).$each,i.$$p=(s=function(i){var o,l,u,c=s.$$s||this;return null==i&&(i=a),_["$<<"](""),(o=(l=i).$each,o.$$p=(u=function(i){var o,s,l,c,d,f=u.$$s||this,p=a,h=a,m=a,g=a,$=a,v=h=p=a,m=a;return null==i&&(i=a),p=(o=i["$attr?"]("halign"))===a||o.$$is_boolean&&1!=o?a:' align="'+i.$attr("halign")+'"',h=(o=i["$attr?"]("valign"))===a||o.$$is_boolean&&1!=o?a:' valign="'+i.$attr("valign")+'"',m=(o=i.$colspan())===a||o.$$is_boolean&&1!=o?a:' namest="col_'+(g=i.$column().$attr("colnumber"))+'" nameend="col_'+n(r(g,i.$colspan()),1)+'"',$=(o=i.$rowspan())===a||o.$$is_boolean&&1!=o?a:' morerows="'+n(i.$rowspan(),1)+'"',p="",h=function(){return t["$=="]("head")?i.$text():function(){return v=i.$style(),"asciidoc"["$==="](v)?i.$content():"verse"["$==="](v)?""+i.$text()+"":"literal"["$==="](v)?''+i.$text()+"":"header"["$==="](v)?(o=(s=i.$content()).$map,o.$$p=(l=function(e){return null==e&&(e=a),''+e+""},l.$$s=f,l),o).call(s).$join():(o=(c=i.$content()).$map,o.$$p=(d=function(e){return null==e&&(e=a),""+e+""},d.$$s=f,d),o).call(c).$join()}()}(),m=(o=e.$document()["$attr?"]("cellbgcolor"))===a||o.$$is_boolean&&1!=o?"":'',_["$<<"](""+p+h+m)},u.$$s=c,u),o).call(l),_["$<<"]("")},s.$$s=l,s),i).call(o),_["$<<"]("")},d.$$s=g,d),i).call(c),_["$<<"](""),_["$<<"](""),!1!==$&&$!==a||g.$warn("asciidoctor: WARNING: tables must have at least one body row"),t(_,m.get("EOL"))}),e.alias(h,"toc","skip"),e.defn(h,"$ulist",function(e){var n,r,i,o,s,l=a,u=a,c=a,u=a,l=[];return e.$style()["$=="]("bibliography")?(l["$<<"](""),(n=e["$title?"]())===a||n.$$is_boolean&&1!=n||l["$<<"](""+e.$title()+""),(n=(r=e.$items()).$each,n.$$p=(i=function(e){var t;return null==e&&(e=a),l["$<<"](""),l["$<<"](""+e.$text()+""),(t=e["$blocks?"]())===a||t.$$is_boolean&&1!=t||l["$<<"](e.$content()),l["$<<"]("")},i.$$s=this,i),n).call(r),l["$<<"]("")):(u=(n=c=e["$option?"]("checklist"))===a||n.$$is_boolean&&1!=n?e.$style():"none",u=!1!==u&&u!==a?' mark="'+u+'"':a,l["$<<"](""),(n=e["$title?"]())===a||n.$$is_boolean&&1!=n||l["$<<"](""+e.$title()+""),(n=(o=e.$items()).$each,n.$$p=(s=function(e){var t,n=a;return null==e&&(e=a),n=(t=!1!==c&&c!==a?e["$attr?"]("checkbox"):c)===a||t.$$is_boolean&&1!=t?a:(t=e["$attr?"]("checked"))===a||t.$$is_boolean&&1!=t?"❏ ":"✓ ",l["$<<"](""),l["$<<"](""+n+e.$text()+""),(t=e["$blocks?"]())===a||t.$$is_boolean&&1!=t||l["$<<"](e.$content()),l["$<<"]("")},s.$$s=this,s),n).call(o),l["$<<"]("")),t(l,m.get("EOL"))}),e.defn(h,"$verse",function(e){var n,r,i=a,i=[];return i["$<<"](""),(n=e["$title?"]())===a||n.$$is_boolean&&1!=n||i["$<<"](""+e.$title()+""),(n=!1!==(r=e["$attr?"]("attribution"))&&r!==a?r:e["$attr?"]("citetitle"))===a||n.$$is_boolean&&1!=n||(i["$<<"](""),(n=e["$attr?"]("attribution"))===a||n.$$is_boolean&&1!=n||i["$<<"](e.$attr("attribution")),(n=e["$attr?"]("citetitle"))===a||n.$$is_boolean&&1!=n||i["$<<"](""+e.$attr("citetitle")+""),i["$<<"]("")),i["$<<"](""+e.$content()+""),i["$<<"](""),t(i,m.get("EOL"))}),e.alias(h,"video","skip"),e.defn(h,"$inline_anchor",function(e){var t,n=this,r=a,i=a,o=a,s=a,l=a;return function(){return r=e.$type(),"ref"["$==="](r)?"":"xref"["$==="](r)?(t=i=e.$attributes()["$[]"]("path"))===a||t.$$is_boolean&&1!=t?(o=!1!==(t=e.$attributes()["$[]"]("fragment"))&&t!==a?t:e.$target(),(t=s=e.$text())===a||t.$$is_boolean&&1!=t?'':''+s+""):''+(!1!==(t=e.$text())&&t!==a?t:i)+"":"link"["$==="](r)?''+e.$text()+"":"bibref"["$==="](r)?(l=e.$target(),"["+l+"]"):n.$warn("asciidoctor: WARNING: unknown anchor type: "+e.$type().$inspect())}()}),e.defn(h,"$inline_break",function(e){return""+e.$text()+""}),e.defn(h,"$inline_button",function(e){return""+e.$text()+""}),e.defn(h,"$inline_callout",function(e){return""}),e.defn(h,"$inline_footnote",function(e){return e.$type()["$=="]("xref")?'':""+e.$text()+""}),e.defn(h,"$inline_image",function(e){var t,n=a,r=a,n=(t=e["$attr?"]("width"))===a||t.$$is_boolean&&1!=t?a:' contentwidth="'+e.$attr("width")+'"',r=(t=e["$attr?"]("height"))===a||t.$$is_boolean&&1!=t?a:' contentdepth="'+e.$attr("height")+'"';return'\n\n\n\n"+e.$attr("alt")+"\n"}),e.defn(h,"$inline_indexterm",function(e){var n=a,r=a,o=a;return e.$type()["$=="]("visible")?""+e.$text()+""+e.$text():(n=e.$attr("terms"),r=[],i(o=n.$size(),2)&&r["$<<"]("\n"+n["$[]"](0)+""+n["$[]"](1)+""+n["$[]"](2)+"\n"),i(o,1)&&r["$<<"]("\n"+n["$[]"](-2)+""+n["$[]"](-1)+"\n"),r["$<<"]("\n"+n["$[]"](-1)+"\n"),t(r,m.get("EOL")))}),e.defn(h,"$inline_kbd",function(e){var t,n,r,i=a;return(i=e.$attr("keys")).$size()["$=="](1)?""+i["$[]"](0)+"":""+(t=(n=i).$map,t.$$p=(r=function(e){return null==e&&(e=a),""+e+""},r.$$s=this,r),t).call(n).$join()+""}),e.defn(h,"$inline_menu",function(e){var t,n,r,i=a,o=a,s=o=a,i=e.$attr("menu");return(t=(o=e.$attr("submenus"))["$empty?"]()["$!"]())===a||t.$$is_boolean&&1!=t?(t=s=e.$attr("menuitem"))===a||t.$$is_boolean&&1!=t?""+i+"":""+i+" "+s+"":(o=(t=(n=o).$map,t.$$p=(r=function(e){return null==e&&(e=a),""+e+" "},r.$$s=this,r),t).call(n).$join().$chop(),""+i+" "+o+" "+e.$attr("menuitem")+"")}),f=[[a,a,!0]],p=e.cdecl(m,"QUOTE_TAGS",u("emphasis strong monospaced superscript subscript double single mark".split(" "),{emphasis:["","",!0],strong:['',"",!0],monospaced:["","",!1],superscript:["","",!1],subscript:["","",!1],double:["“","”",!0],single:["‘","’",!0],mark:['',"",!1]})),p["$default="].apply(p,f),f[f.length-1],e.defn(h,"$inline_quoted",function(t){var n,r,i,o,s=a,l=a,c=a,d=a,f=a,p=s=a,c=a;return(s=t.$type())["$=="]("asciimath")?(n=!1!==(r=null==e.Object.$$scope.AsciiMath?a:"constant")&&r!==a?r:(o=this.asciimath_available,(i=null!=o&&o!==a?"instance-variable":a)===a||i.$$is_boolean&&1!=i?this.asciimath_available=m.get("Helpers").$require_library("asciimath",!0,"warn"):this.asciimath_available))===a||n.$$is_boolean&&1!=n?"":""+e.get("AsciiMath").$parse(t.$text()).$to_mathml("mml:",u(["xmlns:mml"],{"xmlns:mml":"http://www.w3.org/1998/Math/MathML"}))+"":s["$=="]("latexmath")?"":(n=e.to_ary(m.get("QUOTE_TAGS")["$[]"](s)),c=null==n[0]?a:n[0],d=null==n[1]?a:n[1],f=null==n[2]?a:n[2],s=t.$text(),c=(n=p=t.$role())===a||n.$$is_boolean&&1!=n?""+c+s+d:!1!==f&&f!==a?""+c+''+s+""+d:""+c.$chop()+' role="'+p+'">'+s+d,(n=t.$id())===a||n.$$is_boolean&&1!=n?c:""+c)}),e.defn(h,"$author_element",function(e,n){var r,i=a,o=a,s=a,l=a,u=a;return null==n&&(n=a),i=!1!==n&&n!==a?"firstname_"+n:"firstname",o=!1!==n&&n!==a?"middlename_"+n:"middlename",s=!1!==n&&n!==a?"lastname_"+n:"lastname",l=!1!==n&&n!==a?"email_"+n:"email",u=[],u["$<<"](""),u["$<<"](""),(r=e["$attr?"](i))===a||r.$$is_boolean&&1!=r||u["$<<"](""+e.$attr(i)+""),(r=e["$attr?"](o))===a||r.$$is_boolean&&1!=r||u["$<<"](""+e.$attr(o)+""),(r=e["$attr?"](s))===a||r.$$is_boolean&&1!=r||u["$<<"](""+e.$attr(s)+""),u["$<<"](""),(r=e["$attr?"](l))===a||r.$$is_boolean&&1!=r||u["$<<"](""+e.$attr(l)+""),u["$<<"](""),t(u,m.get("EOL"))}),e.defn(h,"$common_attributes",function(e,t,n){var r=a;return null==t&&(t=a),null==n&&(n=a),r=!1!==e&&e!==a?' xml:id="'+e+'"':"",!1!==t&&t!==a&&(r=""+r+' role="'+t+'"'),!1!==n&&n!==a&&(r=""+r+' xreflabel="'+n+'"'),r}),e.defn(h,"$doctype_declaration",function(e){return a}),e.defn(h,"$document_info_element",function(e,n,i){var s,l,c,d,f,p=a,h=a,h=h=a;return null==i&&(i=!1),!1!==i&&i!==a||(n=""),p=[],p["$<<"]("<"+n+"info>"),((s=e.$notitle())===a||s.$$is_boolean&&1!=s)&&p["$<<"](this.$document_title_tags(e.$doctitle(u(["partition","use_fallback"],{partition:!0,use_fallback:!0})))),(s=h=(l=e["$attr?"]("revdate"))===a||l.$$is_boolean&&1!=l?(l=e["$attr?"]("reproducible"))===a||l.$$is_boolean&&1!=l?e.$attr("docdate"):a:e.$attr("revdate"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+h+""),(s=e["$has_header?"]())===a||s.$$is_boolean&&1!=s||((s=e["$attr?"]("author"))===a||s.$$is_boolean&&1!=s||(o(h=e.$attr("authorcount").$to_i(),2)?(p["$<<"](this.$author_element(e)),(s=e["$attr?"]("authorinitials"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+e.$attr("authorinitials")+"")):(p["$<<"](""),(s=(l=h).$times,s.$$p=(c=function(t){var n=c.$$s||this;return null==t&&(t=a),p["$<<"](n.$author_element(e,r(t,1)))},c.$$s=this,c),s).call(l),p["$<<"](""))),d=e["$attr?"]("revdate"),(s=!1!==d&&d!==a?!1!==(f=e["$attr?"]("revnumber"))&&f!==a?f:e["$attr?"]("revremark"):d)===a||s.$$is_boolean&&1!=s||(p["$<<"]("\n"),(s=e["$attr?"]("revnumber"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+e.$attr("revnumber")+""),(s=e["$attr?"]("revdate"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+e.$attr("revdate")+""),(s=e["$attr?"]("authorinitials"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+e.$attr("authorinitials")+""),(s=e["$attr?"]("revremark"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+e.$attr("revremark")+""),p["$<<"]("\n")),((s=(h=e.$docinfo())["$empty?"]())===a||s.$$is_boolean&&1!=s)&&p["$<<"](h),(s=e["$attr?"]("orgname"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+e.$attr("orgname")+"")),p["$<<"](""),e.$doctype()["$=="]("manpage")&&(p["$<<"](""),(s=e["$attr?"]("mantitle"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+e.$attr("mantitle")+""),(s=e["$attr?"]("manvolnum"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+e.$attr("manvolnum")+""),p["$<<"](""),p["$<<"](""),(s=e["$attr?"]("manname"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+e.$attr("manname")+""),(s=e["$attr?"]("manpurpose"))===a||s.$$is_boolean&&1!=s||p["$<<"](""+e.$attr("manpurpose")+""),p["$<<"]("")),t(p,m.get("EOL"))}),e.defn(h,"$document_ns_attributes",function(e){return' xmlns="http://docbook.org/ns/docbook" xmlns:xl="http://www.w3.org/1999/xlink" version="5.0"'}),e.defn(h,"$lang_attribute_name",function(){return"xml:lang"}),e.defn(h,"$document_title_tags",function(e){var t;return(t=e["$subtitle?"]())===a||t.$$is_boolean&&1!=t?""+e+"":""+e.$main()+"\n"+e.$subtitle()+""}),e.defn(h,"$resolve_content",function(e){return e.$content_model()["$=="]("compound")?e.$content():""+e.$content()+""}),e.defn(h,"$title_tag",function(e,t){var n,r;return null==t&&(t=!0),(n=!1!==(r=t["$!"]())&&r!==a?r:e["$title?"]())===a||n.$$is_boolean&&1!=n?a:""+e.$title()+"\n"}),a&&"title_tag"}(c.get("Converter"),c.get("Converter").$$scope.get("BuiltIn"))}(e.base)}(e),function(e){return e.dynamic_require_severity="ignore",e.nil}(e)}},function(e,t,n){e.exports=function(e){e=e||n(89).Opal,function(e){function t(e,t){return"number"==typeof e&&"number"==typeof t?e+t:e["$+"](t)}function n(e,t){return"number"==typeof e&&"number"==typeof t?e $- $fill $-@ $next_auto_id $generate_name $length $empty? $const_defined?".split(" ")),function(f){!function(f){f=s(f,"Extensions");var p=f.$$scope;!function(t,n){function r(){}var o,s,c,d=r=l(t,n,"Processor",r),f=d.$$scope;return d.$$proto.config=i,function(t){return e.defn(t,"$config",function(){var e;return null==this.config&&(this.config=i),!1!==(e=this.config)&&e!==i?e:this.config=u([],{})}),e.defn(t,"$option",function(e,t){return this.$config()["$[]="](e,t)}),e.defn(t,"$use_dsl",function(){var e;return(e=this.$name()["$nil_or_empty?"]())===i||e.$$is_boolean&&1!=e?(e=this.$constants().$grep("DSL"))===i||e.$$is_boolean&&1!=e?i:this.$extend(this.$const_get("DSL")):(e=this.$constants().$grep("DSL"))===i||e.$$is_boolean&&1!=e?i:this.$include(this.$const_get("DSL"))}),e.alias(t,"extend_dsl","use_dsl"),e.alias(t,"include_dsl","use_dsl")}(e.get_singleton_class(d)),d.$attr_reader("config"),e.defn(d,"$initialize",function(e){return null==e&&(e=u([],{})),this.config=this.$class().$config().$merge(e)}),e.defn(d,"$update_config",function(e){return this.config.$update(e)}),e.defn(d,"$process",function(){var t=arguments.length-0;0>t&&(t=0);for(var n=Array(t),r=0;ro&&(o=0);for(var a=Array(o),s=0;se&&(e=0);for(var t=Array(e),n=0;ne&&(e=0);for(var t=Array(e),n=0;ne&&(e=0);for(var t=Array(e),n=0;nn&&(n=0);for(var r=Array(n),o=0;on&&(n=0);for(var r=Array(n),o=0;on&&(n=0);for(var r=Array(n),o=0;on&&(n=0);for(var r=Array(n),o=0;on&&(n=0);for(var r=Array(n),o=0;on&&(n=0);for(var r=Array(n),o=0;on&&(n=0);for(var r=Array(n),o=0;on&&(n=0);for(var r=Array(n),o=0;o>")?m.$unshift(_):m["$<<"](_)}),e.defn(x,"$add_syntax_processor",y=function(t,r){var a,s,l,d,f,p,h=y.$$p||i,m=i,g=i,$=i,_=g=i,v=$=i,b=i,x=i,g=i;if(y.$$p=null,m=t.$to_s().$tr("_"," "),g=(a=(s=m.$split(" ")).$map,a.$$p=(l=function(e){return null==e&&(e=i),""+e.$chr().$upcase()+e["$[]"](c(1,-1,!1))},l.$$s=this,l),a).call(s).$join(),$=(""+g+"Processor").$to_sym(),g=w.get("Extensions").$const_get($),_=(a=null==e.Object.$$scope.AsciidoctorJ?i:"constant")===i||a.$$is_boolean&&1!=a?i:e.get("AsciidoctorJ").$$scope.get("Extensions").$const_get($),$=!1!==(a=this.$instance_variable_get(("@"+t+"_extensions").$to_sym()))&&a!==i?a:this.$instance_variable_set(("@"+t+"_extensions").$to_sym(),u([],{})),h!==i){if(a=e.to_ary(this.$resolve_args(r,2)),v=null==a[0]?i:a[0],b=null==a[1]?i:a[1],x=g.$new(this.$as_symbol(v),b),(a=g.$constants().$grep("DSL"))===i||a.$$is_boolean&&1!=a||x.$extend(g.$const_get("DSL")),h.$arity()["$=="](1)){if(e.yield1(h,x)===o)return o.$v}else(a=(d=x).$instance_exec,a.$$p=h.$to_proc(),a).call(d);return((a=v=this.$as_symbol(x.$name()))===i||a.$$is_boolean&&1!=a)&&this.$raise(e.get("ArgumentError").$new("No name specified for "+m+" extension at "+h.$source_location())),((a=x["$process_block_given?"]())===i||a.$$is_boolean&&1!=a)&&this.$raise(e.get("NoMethodError").$new("No block specified to process "+m+" extension at "+h.$source_location())),x.$freeze(),$["$[]="](v,w.get("ProcessorExtension").$new(t,x))}return a=e.to_ary(this.$resolve_args(r,3)),x=null==a[0]?i:a[0],v=null==a[1]?i:a[1],b=null==a[2]?i:a[2],(a=!1!==(f=x["$is_a?"](e.get("Class")))&&f!==i?f:(p=x["$is_a?"](e.get("String")),!1!==p&&p!==i?x=w.get("Extensions").$class_for_name(x):p))===i||a.$$is_boolean&&1!=a?(a=!1!==(f=x["$is_a?"](g))&&f!==i?f:(p=!1!==_&&_!==i)?x["$is_a?"](_):_)===i||a.$$is_boolean&&1!=a?this.$raise(e.get("ArgumentError").$new("Invalid arguments specified for registering "+m+" extension: "+r)):(x.$update_config(b),((a=v=!1!==v&&v!==i?(f=[this.$as_symbol(v)],p=x,p["$name="].apply(p,f),f[f.length-1]):this.$as_symbol(x.$name()))===i||a.$$is_boolean&&1!=a)&&this.$raise(e.get("ArgumentError").$new("No name specified for "+m+" extension: "+x)),x.$freeze(),$["$[]="](v,w.get("ProcessorExtension").$new(t,x))):(((a=!1!==(f=n(x,g))&&f!==i?f:(p=!1!==_&&_!==i)?n(x,_):_)===i||a.$$is_boolean&&1!=a)&&this.$raise(e.get("ArgumentError").$new("Class specified for "+m+" extension does not inherit from "+g+": "+x)),g=x.$new(this.$as_symbol(v),b),((a=v=this.$as_symbol(g.$name()))===i||a.$$is_boolean&&1!=a)&&this.$raise(e.get("ArgumentError").$new("No name specified for "+m+" extension: "+x)),x.$freeze(),$["$[]="](v,w.get("ProcessorExtension").$new(t,g)))}),e.defn(x,"$resolve_args",function(t,o){var a,s=i,l=i,c=i,s=(a=t["$[]"](-1)["$is_a?"](e.get("Hash")))===i||a.$$is_boolean&&1!=a?u([],{}):t.$pop();return o["$=="](1)?s:(l=t.$size(),a=c=r(r(o,1),l),("number"==typeof a?0"](0))?t.$fill(i,l,c):n(c,0)&&t.$pop(c["$-@"]()),t["$<<"](s),t)}),e.defn(x,"$as_symbol",function(t){var n;return!1!==t&&t!==i?(n=t["$is_a?"](e.get("Symbol")))===i||n.$$is_boolean&&1!=n?t.$to_sym():t:i}),i&&"as_symbol"}(p.base,null),function(n){var r,o,a=n.$$scope;return e.defn(n,"$generate_name",function(){return"extgrp"+this.$next_auto_id()}),e.defn(n,"$next_auto_id",function(){var e;return null==this.auto_id&&(this.auto_id=i),!1!==(e=this.auto_id)&&e!==i?e:this.auto_id=-1,this.auto_id=t(this.auto_id,1)}),e.defn(n,"$groups",function(){var e;return null==this.groups&&(this.groups=i),!1!==(e=this.groups)&&e!==i?e:this.groups=u([],{})}),e.defn(n,"$build_registry",r=function(e){var t,n=r.$$p||i;return null==e&&(e=i),r.$$p=null,n!==i?(!1!==(t=e)&&t!==i?t:e=this.$generate_name(),a.get("Registry").$new(d(e,n))):a.get("Registry").$new()}),e.defn(n,"$register",o=function(){var t,n=o.$$p||i,r=i,a=i,s=a=i,s=i,r=arguments.length-0;0>r&&(r=0);for(var l=Array(r),a=0;a>8-s%1*8)){if(r=o.charCodeAt(s+=.75),r>255)throw new n;t=t<<8|r}return a}var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.prototype=new Error,n.prototype.code=5,n.prototype.name="InvalidCharacterError",e.exports=r},function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=n(11);e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(i.isURLSearchParams(t))o=t.toString();else{var a=[];i.forEach(t,function(e,t){null!==e&&"undefined"!=typeof e&&(i.isArray(e)&&(t+="[]"),i.isArray(e)||(e=[e]),i.forEach(e,function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))}))}),o=a.join("&")}return o&&(e+=(e.indexOf("?")===-1?"?":"&")+o),e}},function(e,t){"use strict";e.exports=function(e,t){return e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,"")}},function(e,t,n){"use strict";var r=n(11);e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),a===!0&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(e,t){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";var r=n(11);e.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(i.setAttribute("href",t),t=i.href),i.setAttribute("href",t),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");return t=e(window.location.href),function(n){var i=r.isString(n)?e(n):n;return i.protocol===t.protocol&&i.host===t.host}}():function(){return function(){return!0}}()},function(e,t,n){"use strict";var r=n(11);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},function(e,t,n){"use strict";var r=n(11);e.exports=function(e){var t,n,i,o={};return e?(r.forEach(e.split("\n"),function(e){i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t&&(o[t]=o[t]?o[t]+", "+n:n)}),o):o}},function(e,t){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports={default:n(500),__esModule:!0}},function(e,t,n){e.exports={default:n(501),__esModule:!0}},function(e,t,n){e.exports={default:n(502),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(108),o=r(i);t.default=o.default||function(e){for(var t=1;t0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function r(e){return 3*e.length/4-n(e)}function i(e){var t,r,i,o,a,s,l=e.length;a=n(e),s=new c(3*l/4-a),i=a>0?l-4:l;var d=0;for(t=0,r=0;t>16&255,s[d++]=o>>8&255,s[d++]=255&o;return 2===a?(o=u[e.charCodeAt(t)]<<2|u[e.charCodeAt(t+1)]>>4,s[d++]=255&o):1===a&&(o=u[e.charCodeAt(t)]<<10|u[e.charCodeAt(t+1)]<<4|u[e.charCodeAt(t+2)]>>2,s[d++]=o>>8&255,s[d++]=255&o),s}function o(e){return l[e>>18&63]+l[e>>12&63]+l[e>>6&63]+l[63&e]}function a(e,t,n){for(var r,i=[],a=t;ac?c:u+s));return 1===r?(t=e[n-1],i+=l[t>>2],i+=l[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=l[t>>10],i+=l[t>>4&63],i+=l[t<<2&63],i+="="),o.push(i),o.join("")}t.byteLength=r,t.toByteArray=i,t.fromByteArray=s;for(var l=[],u=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,p=d.length;f0;){var t=e.shift();if("function"==typeof t){var n=e.shift(),r=e.shift();t.call(n,r)}else t._settlePromises()}},r.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},r.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},r.prototype._reset=function(){this._isTickUsed=!1},e.exports=r,e.exports.firstLineError=s}).call(t,n(5))},function(e,t){"use strict";e.exports=function(e,t,n,r){var i=!1,o=function(e,t){this._reject(t)},a=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(o,o,null,this,e)},s=function(e,t){0===(50397184&this._bitField)&&this._resolveCallback(t.target)},l=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(o){i||(i=!0,e.prototype._propagateFrom=r.propagateFromFunction(),e.prototype._boundValue=r.boundValueFunction());var u=n(o),c=new e(t);c._propagateFrom(this,1);var d=this._target();if(c._setBoundTo(u),u instanceof e){var f={promiseRejectionQueued:!1,promise:c,target:d,bindingPromise:u};d._then(t,a,void 0,c,f),u._then(s,l,void 0,c,f),c._setOnCancel(u)}else c._resolveCallback(d);return c},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=2097152|this._bitField,this._boundTo=e):this._bitField=this._bitField&-2097153},e.prototype._isBound=function(){return 2097152===(2097152&this._bitField)},e.bind=function(t,n){return e.resolve(n).bind(t)}}},function(e,t,n){"use strict";function r(){try{Promise===o&&(Promise=i)}catch(e){}return o}var i;"undefined"!=typeof Promise&&(i=Promise);var o=n(352)();o.noConflict=r,e.exports=o},function(e,t,n){"use strict";var r=Object.create;if(r){var i=r(null),o=r(null);i[" size"]=o[" size"]=0}e.exports=function(e){function t(t,n){var r;if(null!=t&&(r=t[n]),"function"!=typeof r){var i="Object "+c.classString(t)+" has no method '"+c.toString(n)+"'";throw new e.TypeError(i)}return r}function r(e){var n=this.pop(),r=t(e,n);return r.apply(e,this)}function a(e){return e[this]}function s(e){var t=+this;return t<0&&(t=Math.max(0,t+e.length)),e[t]}var l,u,c=n(6),d=c.canEvaluate,f=c.isIdentifier,p=function(e){return new Function("ensureMethod"," \n\t return function(obj) { \n\t 'use strict' \n\t var len = this.length; \n\t ensureMethod(obj, 'methodName'); \n\t switch(len) { \n\t case 1: return obj.methodName(this[0]); \n\t case 2: return obj.methodName(this[0], this[1]); \n\t case 3: return obj.methodName(this[0], this[1], this[2]); \n\t case 0: return obj.methodName(); \n\t default: \n\t return obj.methodName.apply(obj, this); \n\t } \n\t }; \n\t ".replace(/methodName/g,e))(t)},h=function(e){return new Function("obj"," \n\t 'use strict'; \n\t return obj.propertyName; \n\t ".replace("propertyName",e))},m=function(e,t,n){var r=n[e];if("function"!=typeof r){if(!f(e))return null;if(r=t(e),n[e]=r,n[" size"]++,n[" size"]>512){for(var i=Object.keys(n),o=0;o<256;++o)delete n[i[o]];n[" size"]=i.length-256}}return r};l=function(e){return m(e,p,i)},u=function(e){return m(e,h,o)},e.prototype.call=function(e){for(var t=arguments.length,n=new Array(Math.max(t-1,0)),i=1;i0&&this._settlePromises()},e.prototype._unsetOnCancel=function(){this._onCancelField=void 0},e.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},e.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},e.prototype._doInvokeOnCancel=function(e,t){if(o.isArray(e))for(var n=0;n=0)return o[e]}var i=!1,o=[];return e.prototype._promiseCreated=function(){},e.prototype._pushContext=function(){},e.prototype._popContext=function(){return null},e._peekContext=e.prototype._peekContext=function(){},t.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,o.push(this._trace))},t.prototype._popContext=function(){if(void 0!==this._trace){var e=o.pop(),t=e._promiseCreated;return e._promiseCreated=null,t}return null},t.CapturedTrace=null,t.create=n,t.deactivateLongStackTraces=function(){},t.activateLongStackTraces=function(){var n=e.prototype._pushContext,o=e.prototype._popContext,a=e._peekContext,s=e.prototype._peekContext,l=e.prototype._promiseCreated;t.deactivateLongStackTraces=function(){e.prototype._pushContext=n,e.prototype._popContext=o,e._peekContext=a,e.prototype._peekContext=s,e.prototype._promiseCreated=l,i=!1},i=!0,e.prototype._pushContext=t.prototype._pushContext,e.prototype._popContext=t.prototype._popContext,e._peekContext=e.prototype._peekContext=r,e.prototype._promiseCreated=function(){var e=this._peekContext();e&&null==e._promiseCreated&&(e._promiseCreated=this)}},t}},function(e,t,n){(function(t){"use strict";e.exports=function(e,r){function i(e,t){return{promise:t}}function o(){return!1}function a(e,t,n){var r=this;try{e(t,n,function(e){if("function"!=typeof e)throw new TypeError("onCancel must be a function, got: "+j.toString(e));r._attachCancellationCallback(e)})}catch(e){return e}}function s(e){if(!this._isCancellable())return this;var t=this._onCancel();void 0!==t?j.isArray(t)?t.push(e):this._setOnCancel([t,e]):this._setOnCancel(e)}function l(){return this._onCancelField}function u(e){this._onCancelField=e}function c(){this._cancellationParent=void 0,this._onCancelField=void 0}function d(e,t){if(0!==(1&t)){this._cancellationParent=e;var n=e._branchesRemainingToCancel;void 0===n&&(n=0),e._branchesRemainingToCancel=n+1}0!==(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)}function f(e,t){0!==(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)}function p(){var t=this._boundTo;return void 0!==t&&t instanceof e?t.isFulfilled()?t.value():void 0:t}function h(){this._trace=new L(this._peekContext())}function m(e,t){if(N(e)){var n=this._trace;if(void 0!==n&&t&&(n=n._parent),void 0!==n)n.attachExtraTrace(e);else if(!e.__stackCleaned__){var r=w(e);j.notEnumerableProp(e,"stack",r.message+"\n"+r.stack.join("\n")),j.notEnumerableProp(e,"__stackCleaned__",!0)}}}function g(e,t,n,r,i){if(void 0===e&&null!==t&&J){if(void 0!==i&&i._returnedNonUndefined())return;if(0===(65535&r._bitField))return;n&&(n+=" ");var o="",a="";if(t._trace){for(var s=t._trace.stack.split("\n"),l=x(s),u=l.length-1;u>=0;--u){var c=l[u];if(!q.test(c)){var d=c.match(Y);d&&(o="at "+d[1]+":"+d[2]+":"+d[3]+" ");break}}if(l.length>0)for(var f=l[0],u=0;u0&&(a="\n"+s[u-1]);break}}var p="a promise was created in a "+n+"handler "+o+"but was not returned from it, see http://goo.gl/rRqMUw"+a;r._warn(p,!0,t)}}function $(e,t){var n=e+" is deprecated and will be removed in a future version.";return t&&(n+=" Use "+t+" instead."),_(n)}function _(t,n,r){if(ae.warnings){var i,o=new P(t);if(n)r._attachExtraTrace(o);else if(ae.longStackTraces&&(i=e._peekContext()))i.attachExtraTrace(o);else{var a=w(o);o.stack=a.message+"\n"+a.stack.join("\n")}te("warning",o)||E(o,"",!0)}}function v(e,t){for(var n=0;n=0;--s)if(r[s]===o){a=s;break}for(var s=a;s>=0;--s){var l=r[s];if(t[i]!==l)break;t.pop(),i--}t=r}}function x(e){for(var t=[],n=0;n0&&"SyntaxError"!=e.name&&(t=t.slice(n)),t}function w(e){var t=e.stack,n=e.toString();return t="string"==typeof t&&t.length>0?k(e):[" (No stack trace)"],{message:n,stack:"SyntaxError"==e.name?t:x(t)}}function E(e,t,n){if("undefined"!=typeof console){var r;if(j.isObject(e)){var i=e.stack;r=t+U(i,e)}else r=t+String(e);"function"==typeof R?R(r,n):"function"!=typeof console.log&&"object"!=typeof console.log||console.log(r)}}function A(e,t,n,r){var i=!1;try{"function"==typeof t&&(i=!0,"rejectionHandled"===e?t(r):t(n,r))}catch(e){B.throwLater(e)}"unhandledRejection"===e?te(e,n,r)||i||E(n,"Unhandled rejection "):te(e,r)}function C(e){var t;if("function"==typeof e)t="[function "+(e.name||"anonymous")+"]";else{t=e&&"function"==typeof e.toString?e.toString():j.toString(e);var n=/\[object [a-zA-Z0-9$_]+\]/;if(n.test(t))try{var r=JSON.stringify(e);t=r}catch(e){}0===t.length&&(t="(empty array)")}return"(<"+S(t)+">, no stack trace)"}function S(e){var t=41;return e.length=s||(re=function(e){if(z.test(e))return!0;var t=M(e);return!!(t&&t.fileName===n&&a<=t.line&&t.line<=s)})}}function L(e){this._parent=e,this._promisesCreated=0;var t=this._length=1+(void 0===e?0:e._length);oe(this,L),t>32&&this.uncycle()}var F,O,R,I=e._getDomain,B=e._async,P=n(16).Warning,j=n(6),N=j.canAttachTrace,z=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,q=/\((?:timers\.js):\d+:\d+\)/,Y=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,H=null,U=null,W=!1,G=!(0==j.env("BLUEBIRD_DEBUG")||!j.env("BLUEBIRD_DEBUG")&&"development"!==j.env("NODE_ENV")),V=!(0==j.env("BLUEBIRD_WARNINGS")||!G&&!j.env("BLUEBIRD_WARNINGS")),K=!(0==j.env("BLUEBIRD_LONG_STACK_TRACES")||!G&&!j.env("BLUEBIRD_LONG_STACK_TRACES")),J=0!=j.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(V||!!j.env("BLUEBIRD_W_FORGOTTEN_RETURN"));e.prototype.suppressUnhandledRejections=function(){var e=this._target();e._bitField=e._bitField&-1048577|524288},e.prototype._ensurePossibleRejectionHandled=function(){0===(524288&this._bitField)&&(this._setRejectionIsUnhandled(),B.invokeLater(this._notifyUnhandledRejection,this,void 0))},e.prototype._notifyUnhandledRejectionIsHandled=function(){A("rejectionHandled",F,void 0,this)},e.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},e.prototype._returnedNonUndefined=function(){return 0!==(268435456&this._bitField)},e.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._settledValue();this._setUnhandledRejectionIsNotified(),A("unhandledRejection",O,e,this)}},e.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},e.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=this._bitField&-262145},e.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},e.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},e.prototype._unsetRejectionIsUnhandled=function(){this._bitField=this._bitField&-1048577,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},e.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},e.prototype._warn=function(e,t,n){return _(e,t,n||this)},e.onPossiblyUnhandledRejection=function(e){var t=I();O="function"==typeof e?null===t?e:j.domainBind(t,e):void 0},e.onUnhandledRejectionHandled=function(e){var t=I();F="function"==typeof e?null===t?e:j.domainBind(t,e):void 0};var X=function(){};e.longStackTraces=function(){if(B.haveItemsQueued()&&!ae.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");if(!ae.longStackTraces&&T()){var t=e.prototype._captureStackTrace,n=e.prototype._attachExtraTrace;ae.longStackTraces=!0,X=function(){if(B.haveItemsQueued()&&!ae.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");e.prototype._captureStackTrace=t,e.prototype._attachExtraTrace=n,r.deactivateLongStackTraces(),B.enableTrampoline(),ae.longStackTraces=!1},e.prototype._captureStackTrace=h,e.prototype._attachExtraTrace=m,r.activateLongStackTraces(),B.disableTrampolineIfNecessary()}},e.hasLongStackTraces=function(){return ae.longStackTraces&&T()};var Z=function(){try{if("function"==typeof CustomEvent){var e=new CustomEvent("CustomEvent");return j.global.dispatchEvent(e),function(e,t){var n=new CustomEvent(e.toLowerCase(),{detail:t,cancelable:!0});return!j.global.dispatchEvent(n)}}if("function"==typeof Event){var e=new Event("CustomEvent");return j.global.dispatchEvent(e),function(e,t){var n=new Event(e.toLowerCase(),{cancelable:!0});return n.detail=t,!j.global.dispatchEvent(n)}}var e=document.createEvent("CustomEvent");return e.initCustomEvent("testingtheevent",!1,!0,{}),j.global.dispatchEvent(e),function(e,t){var n=document.createEvent("CustomEvent");return n.initCustomEvent(e.toLowerCase(),!1,!0,t),!j.global.dispatchEvent(n)}}catch(e){}return function(){return!1}}(),Q=function(){return j.isNode?function(){return t.emit.apply(t,arguments)}:j.global?function(e){var t="on"+e.toLowerCase(),n=j.global[t];return!!n&&(n.apply(j.global,[].slice.call(arguments,1)),!0)}:function(){return!1}}(),ee={promiseCreated:i,promiseFulfilled:i,promiseRejected:i,promiseResolved:i,promiseCancelled:i,promiseChained:function(e,t,n){return{promise:t,child:n}},warning:function(e,t){return{warning:t}},unhandledRejection:function(e,t,n){return{reason:t,promise:n}},rejectionHandled:i},te=function(e){var t=!1;try{t=Q.apply(null,arguments)}catch(e){B.throwLater(e),t=!0}var n=!1;try{n=Z(e,ee[e].apply(null,arguments))}catch(e){B.throwLater(e),n=!0}return n||t};e.config=function(t){if(t=Object(t),"longStackTraces"in t&&(t.longStackTraces?e.longStackTraces():!t.longStackTraces&&e.hasLongStackTraces()&&X()),"warnings"in t){var n=t.warnings;ae.warnings=!!n,J=ae.warnings,j.isObject(n)&&"wForgottenReturn"in n&&(J=!!n.wForgottenReturn)}if("cancellation"in t&&t.cancellation&&!ae.cancellation){if(B.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");e.prototype._clearCancellationData=c,e.prototype._propagateFrom=d,e.prototype._onCancel=l,e.prototype._setOnCancel=u,e.prototype._attachCancellationCallback=s,e.prototype._execute=a,ne=d,ae.cancellation=!0}return"monitoring"in t&&(t.monitoring&&!ae.monitoring?(ae.monitoring=!0,e.prototype._fireEvent=te):!t.monitoring&&ae.monitoring&&(ae.monitoring=!1,e.prototype._fireEvent=o)),e},e.prototype._fireEvent=o,e.prototype._execute=function(e,t,n){try{e(t,n)}catch(e){return e}},e.prototype._onCancel=function(){},e.prototype._setOnCancel=function(e){},e.prototype._attachCancellationCallback=function(e){},e.prototype._captureStackTrace=function(){},e.prototype._attachExtraTrace=function(){},e.prototype._clearCancellationData=function(){},e.prototype._propagateFrom=function(e,t){};var ne=f,re=function(){return!1},ie=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;j.inherits(L,Error),r.CapturedTrace=L,L.prototype.uncycle=function(){var e=this._length;if(!(e<2)){for(var t=[],n={},r=0,i=this;void 0!==i;++r)t.push(i),i=i._parent;e=this._length=r;for(var r=e-1;r>=0;--r){var o=t[r].stack;void 0===n[o]&&(n[o]=r)}for(var r=0;r0&&(t[s-1]._parent=void 0,t[s-1]._length=1),t[r]._parent=void 0,t[r]._length=1;var l=r>0?t[r-1]:this;s=0;--c)t[c]._length=u,u++;return}}}},L.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var t=w(e),n=t.message,r=[t.stack],i=this;void 0!==i;)r.push(x(i.stack.split("\n"))),i=i._parent;y(r),b(r),j.notEnumerableProp(e,"stack",v(n,r)),j.notEnumerableProp(e,"__stackCleaned__",!0)}};var oe=function(){var e=/^\s*at\s*/,t=function(e,t){return"string"==typeof e?e:void 0!==t.name&&void 0!==t.message?t.toString():C(t)};if("number"==typeof Error.stackTraceLimit&&"function"==typeof Error.captureStackTrace){Error.stackTraceLimit+=6,H=e,U=t;var n=Error.captureStackTrace;return re=function(e){return z.test(e)},function(e,t){Error.stackTraceLimit+=6,n(e,t),Error.stackTraceLimit-=6}}var r=new Error;if("string"==typeof r.stack&&r.stack.split("\n")[0].indexOf("stackDetection@")>=0)return H=/@/,U=t,W=!0,function(e){e.stack=(new Error).stack};var i;try{throw new Error}catch(e){i="stack"in e}return"stack"in r||!i||"number"!=typeof Error.stackTraceLimit?(U=function(e,t){return"string"==typeof e?e:"object"!=typeof t&&"function"!=typeof t||void 0===t.name||void 0===t.message?C(t):t.toString()},null):(H=e,U=t,function(e){Error.stackTraceLimit+=6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit-=6})}([]);"undefined"!=typeof console&&"undefined"!=typeof console.warn&&(R=function(e){console.warn(e)},j.isNode&&t.stderr.isTTY?R=function(e,t){var n=t?"":"";console.warn(n+e+"\n")}:j.isNode||"string"!=typeof(new Error).stack||(R=function(e,t){console.warn("%c"+e,t?"color: darkorange":"color: red")}));var ae={warnings:V,longStackTraces:!1,cancellation:!1,monitoring:!1};return K&&e.longStackTraces(),{longStackTraces:function(){return ae.longStackTraces},warnings:function(){return ae.warnings},cancellation:function(){return ae.cancellation},monitoring:function(){return ae.monitoring},propagateFromFunction:function(){return ne},boundValueFunction:function(){return p},checkForgottenReturns:g,setBounds:D,warn:_,deprecated:$,CapturedTrace:L,fireDomEvent:Z,fireGlobalEvent:Q}}}).call(t,n(5))},function(e,t){"use strict";e.exports=function(e){function t(){return this.value}function n(){throw this.reason}e.prototype.return=e.prototype.thenReturn=function(n){return n instanceof e&&n.suppressUnhandledRejections(),this._then(t,void 0,void 0,{value:n},void 0)},e.prototype.throw=e.prototype.thenThrow=function(e){return this._then(n,void 0,void 0,{reason:e},void 0)},e.prototype.catchThrow=function(e){if(arguments.length<=1)return this._then(void 0,n,void 0,{reason:e},void 0);var t=arguments[1],r=function(){throw t};return this.caught(e,r)},e.prototype.catchReturn=function(n){if(arguments.length<=1)return n instanceof e&&n.suppressUnhandledRejections(),this._then(void 0,t,void 0,{value:n},void 0);var r=arguments[1];r instanceof e&&r.suppressUnhandledRejections();var i=function(){return r};return this.caught(n,i)}}},function(e,t){"use strict";e.exports=function(e,t){function n(){return o(this)}function r(e,n){return i(e,n,t,t)}var i=e.reduce,o=e.all;e.prototype.each=function(e){return i(this,e,t,0)._then(n,void 0,void 0,this,void 0)},e.prototype.mapSeries=function(e){return i(this,e,t,t)},e.each=function(e,r){return i(e,r,t,0)._then(n,void 0,void 0,e,void 0)},e.mapSeries=r}},function(e,t){"use strict";e.exports=function(e,t){var n=e.map;e.prototype.filter=function(e,r){return n(this,e,r,t)},e.filter=function(e,r,i){return n(e,r,i,t)}}},function(e,t,n){"use strict";e.exports=function(e,t,r){function i(e,t,n){this.promise=e,this.type=t,this.handler=n,this.called=!1,this.cancelPromise=null}function o(e){this.finallyHandler=e}function a(e,t){return null!=e.cancelPromise&&(arguments.length>1?e.cancelPromise._reject(t):e.cancelPromise._cancel(),e.cancelPromise=null,!0)}function s(){return u.call(this,this.promise._target()._settledValue())}function l(e){if(!a(this,e))return f.e=e,f}function u(n){var i=this.promise,u=this.handler;if(!this.called){this.called=!0;var c=this.isFinallyHandler()?u.call(i._boundValue()):u.call(i._boundValue(),n);if(c===r)return c;if(void 0!==c){i._setReturnedNonUndefined();var p=t(c,i);if(p instanceof e){if(null!=this.cancelPromise){if(p._isCancelled()){var h=new d("late cancellation observer");return i._attachExtraTrace(h),f.e=h,f}p.isPending()&&p._attachCancellationCallback(new o(this))}return p._then(s,l,void 0,this,void 0)}}}return i.isRejected()?(a(this),f.e=n,f):(a(this),n)}var c=n(6),d=e.CancellationError,f=c.errorObj,p=n(110)(r);return i.prototype.isFinallyHandler=function(){return 0===this.type},o.prototype._resultCancelled=function(){a(this.finallyHandler)},e.prototype._passThrough=function(e,t,n,r){return"function"!=typeof e?this.then():this._then(n,r,void 0,new i(this,t,e),void 0)},e.prototype.lastly=e.prototype.finally=function(e){return this._passThrough(e,0,u,u)},e.prototype.tap=function(e){return this._passThrough(e,1,u)},e.prototype.tapCatch=function(t){var n=arguments.length;if(1===n)return this._passThrough(t,1,void 0,u);var r,i=new Array(n-1),o=0;for(r=0;r0&&"function"==typeof arguments[o]&&(n=arguments[o],o<=8&&u)){var c=new e(i);c._captureStackTrace();for(var d=m[o-1],f=new d(n),p=g,h=0;h=1?a:0,new s(t,n,a,o).promise()}var u=e._getDomain,c=n(6),d=c.tryCatch,f=c.errorObj,p=e._async;c.inherits(s,t),s.prototype._asyncInit=function(){this._init$(void 0,-2)},s.prototype._init=function(){},s.prototype._promiseFulfilled=function(t,n){var r=this._values,o=this.length(),s=this._preservedValues,l=this._limit;if(n<0){if(n=n*-1-1,r[n]=t,l>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(l>=1&&this._inFlight>=l)return r[n]=t,this._queue.push(n),!1;null!==s&&(s[n]=t);var u=this._promise,c=this._callback,p=u._boundValue();u._pushContext();var h=d(c).call(p,t,n,o),m=u._popContext();if(a.checkForgottenReturns(h,m,null!==s?"Promise.filter":"Promise.map",u),h===f)return this._reject(h.e),!0;var g=i(h,this._promise);if(g instanceof e){g=g._target();var $=g._bitField;if(0===(50397184&$))return l>=1&&this._inFlight++,r[n]=g,g._proxy(this,(n+1)*-1),!1;if(0===(33554432&$))return 0!==(16777216&$)?(this._reject(g._reason()),!0):(this._cancel(),!0);h=g._value()}r[n]=h}var _=++this._totalResolved;return _>=o&&(null!==s?this._filter(r,s):this._resolve(r),!0)},s.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,n=this._values;e.length>0&&this._inFlight1){o.deprecated("calling Promise.try with more than 1 argument");var u=arguments[1],c=arguments[2]; +l=a.isArray(u)?s(n).apply(c,u):s(n).call(c,u)}else l=s(n)();var d=r._popContext();return o.checkForgottenReturns(l,d,"Promise.try",r),r._resolveFromSyncValue(l),r},e.prototype._resolveFromSyncValue=function(e){e===a.errorObj?this._rejectCallback(e.e,!1):this._resolveCallback(e,!0)}}},function(e,t,n){"use strict";e.exports=function(e){function t(e,t){var n=this;if(!o.isArray(e))return r.call(n,e,t);var i=s(t).apply(n._boundValue(),[null].concat(e));i===l&&a.throwLater(i.e)}function r(e,t){var n=this,r=n._boundValue(),i=void 0===e?s(t).call(r,null):s(t).call(r,null,e);i===l&&a.throwLater(i.e)}function i(e,t){var n=this;if(!e){var r=new Error(e+"");r.cause=e,e=r}var i=s(t).call(n._boundValue(),e);i===l&&a.throwLater(i.e)}var o=n(6),a=e._async,s=o.tryCatch,l=o.errorObj;e.prototype.asCallback=e.prototype.nodeify=function(e,n){if("function"==typeof e){var o=r;void 0!==n&&Object(n).spread&&(o=t),this._then(o,i,void 0,this,e)}return this}}},function(e,t,n){(function(t){"use strict";e.exports=function(){function r(){}function i(e,t){if(null==e||e.constructor!==o)throw new v("the promise constructor cannot be invoked directly\n\n See http://goo.gl/MqrFmX\n");if("function"!=typeof t)throw new v("expecting a function but got "+h.classString(t))}function o(e){e!==y&&i(this,e),this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,this._resolveFromExecutor(e),this._promiseCreated(),this._fireEvent("promiseCreated",this)}function a(e){this.promise._resolveCallback(e)}function s(e){this.promise._rejectCallback(e,!1)}function l(e){var t=new o(y);t._fulfillmentHandler0=e,t._rejectionHandler0=e,t._promise0=e,t._receiver0=e}var u,c=function(){return new v("circular promise resolution chain\n\n See http://goo.gl/MqrFmX\n")},d=function(){return new o.PromiseInspection(this._target())},f=function(e){return o.reject(new v(e))},p={},h=n(6);u=h.isNode?function(){var e=t.domain;return void 0===e&&(e=null),e}:function(){return null},h.notEnumerableProp(o,"_getDomain",u);var m=n(28),g=n(336),$=new g;m.defineProperty(o,"_async",{value:$});var _=n(16),v=o.TypeError=_.TypeError;o.RangeError=_.RangeError;var b=o.CancellationError=_.CancellationError;o.TimeoutError=_.TimeoutError,o.OperationalError=_.OperationalError,o.RejectionError=_.OperationalError,o.AggregateError=_.AggregateError;var y=function(){},x={},k={},w=n(363)(o,y),E=n(353)(o,y,w,f,r),A=n(341)(o),C=A.create,S=n(342)(o,A),T=(S.CapturedTrace,n(346)(o,w,k)),M=n(110)(k),D=n(111),L=h.errorObj,F=h.tryCatch;return o.prototype.toString=function(){return"[object Promise]"},o.prototype.caught=o.prototype.catch=function(e){var t=arguments.length;if(t>1){var n,r=new Array(t-1),i=0;for(n=0;n0&&"function"!=typeof e&&"function"!=typeof t){var n=".then() only accepts functions but was passed: "+h.classString(e);arguments.length>1&&(n+=", "+h.classString(t)),this._warn(n)}return this._then(e,t,void 0,void 0,void 0)},o.prototype.done=function(e,t){var n=this._then(e,t,void 0,void 0,void 0);n._setIsFinal()},o.prototype.spread=function(e){return"function"!=typeof e?f("expecting a function but got "+h.classString(e)):this.all()._then(e,void 0,void 0,x,void 0)},o.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},o.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new E(this).promise()},o.prototype.error=function(e){return this.caught(h.originatesFromRejection,e)},o.getNewLibraryCopy=e.exports,o.is=function(e){return e instanceof o},o.fromNode=o.fromCallback=function(e){var t=new o(y);t._captureStackTrace();var n=arguments.length>1&&!!Object(arguments[1]).multiArgs,r=F(e)(D(t,n));return r===L&&t._rejectCallback(r.e,!0),t._isFateSealed()||t._setAsyncGuaranteed(),t},o.all=function(e){return new E(e).promise()},o.cast=function(e){var t=w(e);return t instanceof o||(t=new o(y),t._captureStackTrace(),t._setFulfilled(),t._rejectionHandler0=e),t},o.resolve=o.fulfilled=o.cast,o.reject=o.rejected=function(e){var t=new o(y);return t._captureStackTrace(),t._rejectCallback(e,!0),t},o.setScheduler=function(e){if("function"!=typeof e)throw new v("expecting a function but got "+h.classString(e));return $.setScheduler(e)},o.prototype._then=function(e,t,n,r,i){var a=void 0!==i,s=a?i:new o(y),l=this._target(),c=l._bitField;a||(s._propagateFrom(this,3),s._captureStackTrace(),void 0===r&&0!==(2097152&this._bitField)&&(r=0!==(50397184&c)?this._boundValue():l===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,s));var d=u();if(0!==(50397184&c)){var f,p,m=l._settlePromiseCtx;0!==(33554432&c)?(p=l._rejectionHandler0,f=e):0!==(16777216&c)?(p=l._fulfillmentHandler0,f=t,l._unsetRejectionIsUnhandled()):(m=l._settlePromiseLateCancellationObserver,p=new b("late cancellation observer"),l._attachExtraTrace(p),f=t),$.invoke(m,l,{handler:null===d?f:"function"==typeof f&&h.domainBind(d,f),promise:s,receiver:r,value:p})}else l._addCallbacks(e,t,s,r,d);return s},o.prototype._length=function(){return 65535&this._bitField},o.prototype._isFateSealed=function(){return 0!==(117506048&this._bitField)},o.prototype._isFollowing=function(){return 67108864===(67108864&this._bitField)},o.prototype._setLength=function(e){this._bitField=this._bitField&-65536|65535&e},o.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent("promiseFulfilled",this)},o.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent("promiseRejected",this)},o.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent("promiseResolved",this)},o.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},o.prototype._isFinal=function(){return(4194304&this._bitField)>0},o.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},o.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent("promiseCancelled",this)},o.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},o.prototype._setAsyncGuaranteed=function(){$.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},o.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[4*e-4+3];if(t!==p)return void 0===t&&this._isBound()?this._boundValue():t},o.prototype._promiseAt=function(e){return this[4*e-4+2]},o.prototype._fulfillmentHandlerAt=function(e){return this[4*e-4+0]},o.prototype._rejectionHandlerAt=function(e){return this[4*e-4+1]},o.prototype._boundValue=function(){},o.prototype._migrateCallback0=function(e){var t=(e._bitField,e._fulfillmentHandler0),n=e._rejectionHandler0,r=e._promise0,i=e._receiverAt(0);void 0===i&&(i=p),this._addCallbacks(t,n,r,i,null)},o.prototype._migrateCallbackAt=function(e,t){var n=e._fulfillmentHandlerAt(t),r=e._rejectionHandlerAt(t),i=e._promiseAt(t),o=e._receiverAt(t);void 0===o&&(o=p),this._addCallbacks(n,r,i,o,null)},o.prototype._addCallbacks=function(e,t,n,r,i){var o=this._length();if(o>=65531&&(o=0,this._setLength(0)),0===o)this._promise0=n,this._receiver0=r,"function"==typeof e&&(this._fulfillmentHandler0=null===i?e:h.domainBind(i,e)),"function"==typeof t&&(this._rejectionHandler0=null===i?t:h.domainBind(i,t));else{var a=4*o-4;this[a+2]=n,this[a+3]=r,"function"==typeof e&&(this[a+0]=null===i?e:h.domainBind(i,e)),"function"==typeof t&&(this[a+1]=null===i?t:h.domainBind(i,t))}return this._setLength(o+1),o},o.prototype._proxy=function(e,t){this._addCallbacks(void 0,void 0,t,e,null)},o.prototype._resolveCallback=function(e,t){if(0===(117506048&this._bitField)){if(e===this)return this._rejectCallback(c(),!1);var n=w(e,this);if(!(n instanceof o))return this._fulfill(e);t&&this._propagateFrom(n,2);var r=n._target();if(r===this)return void this._reject(c());var i=r._bitField;if(0===(50397184&i)){var a=this._length();a>0&&r._migrateCallback0(this);for(var s=1;s>>16)){if(e===this){var n=c();return this._attachExtraTrace(n),this._reject(n)}this._setFulfilled(),this._rejectionHandler0=e,(65535&t)>0&&(0!==(134217728&t)?this._settlePromises():$.settlePromises(this))}},o.prototype._reject=function(e){var t=this._bitField;if(!((117506048&t)>>>16))return this._setRejected(),this._fulfillmentHandler0=e,this._isFinal()?$.fatalError(e,h.isNode):void((65535&t)>0?$.settlePromises(this):this._ensurePossibleRejectionHandled())},o.prototype._fulfillPromises=function(e,t){for(var n=1;n0){if(0!==(16842752&e)){var n=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,n,e),this._rejectPromises(t,n)}else{var r=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,r,e),this._fulfillPromises(t,r)}this._setLength(0)}this._clearCancellationData()},o.prototype._settledValue=function(){var e=this._bitField;return 0!==(33554432&e)?this._rejectionHandler0:0!==(16777216&e)?this._fulfillmentHandler0:void 0},o.defer=o.pending=function(){S.deprecated("Promise.defer","new Promise");var e=new o(y);return{promise:e,resolve:a,reject:s}},h.notEnumerableProp(o,"_makeSelfResolutionError",c),n(350)(o,y,w,f,S),n(337)(o,y,w,S),n(340)(o,E,f,S),n(343)(o),n(362)(o),n(348)(o,E,w,y,$,u),o.Promise=o,o.version="3.5.0",n(349)(o,E,f,w,y,S),n(339)(o),n(365)(o,f,w,C,y,S),n(364)(o,y,S),n(347)(o,f,y,w,r,S),n(351)(o),n(354)(o,y),n(355)(o,E,w,f),n(357)(o,y,w,f),n(358)(o,E,f,w,y,S),n(360)(o,E,S),n(361)(o,E,f),n(345)(o,y),n(344)(o,y),n(335)(o),h.toFastProperties(o),h.toFastProperties(o.prototype),l({a:1}),l({b:2}),l({c:3}),l(1),l(function(){}),l(void 0),l(!1),l(new o(y)),S.setBounds(g.firstLineError,h.lastLineError),o}}).call(t,n(5))},function(e,t,n){"use strict";e.exports=function(e,t,r,i,o){function a(e){switch(e){case-2:return[];case-3:return{};case-6:return new Map}}function s(n){var r=this._promise=new e(t);n instanceof e&&r._propagateFrom(n,3),r._setOnCancel(this),this._values=n,this._length=0,this._totalResolved=0,this._init(void 0,-2)}var l=n(6);l.isArray;return l.inherits(s,o),s.prototype.length=function(){return this._length},s.prototype.promise=function(){return this._promise},s.prototype._init=function t(n,o){var s=r(this._values,this._promise);if(s instanceof e){s=s._target();var u=s._bitField;if(this._values=s,0===(50397184&u))return this._promise._setAsyncGuaranteed(),s._then(t,this._reject,void 0,this,o);if(0===(33554432&u))return 0!==(16777216&u)?this._reject(s._reason()):this._cancel();s=s._value()}if(s=l.asArray(s),null===s){var c=i("expecting an array or an iterable object but got "+l.classString(s)).reason();return void this._promise._rejectCallback(c,!1)}return 0===s.length?void(o===-5?this._resolveEmptyArray():this._resolve(a(o))):void this._iterate(s)},s.prototype._iterate=function(t){var n=this.getActualLength(t.length);this._length=n,this._values=this.shouldCopyValues()?new Array(n):this._values;for(var i=this._promise,o=!1,a=null,s=0;s=this._length&&(this._resolve(this._values),!0)},s.prototype._promiseCancelled=function(){return this._cancel(),!0},s.prototype._promiseRejected=function(e){return this._totalResolved++,this._reject(e),!0},s.prototype._resultCancelled=function(){if(!this._isResolved()){var t=this._values;if(this._cancel(),t instanceof e)t.cancel();else for(var n=0;n=n;--r)t.push(r);for(var r=e+1;r<=3;++r)t.push(r);return t},A=function(e){return p.filledRange(e,"_arg","")},C=function(e){return p.filledRange(Math.max(e,3),"_arg","")},S=function(e){return"number"==typeof e.length?Math.max(Math.min(e.length,1024),0):0};d=function(n,r,i,o,a,s){function l(e){var t,n=A(e).join(", "),i=e>0?", ":"";return t=$?"ret = callback.call(this, {{args}}, nodeback); break;\n":void 0===r?"ret = callback({{args}}, nodeback); break;\n":"ret = callback.call(receiver, {{args}}, nodeback); break;\n",t.replace("{{args}}",n).replace(", ",i)}function u(){for(var e="",t=0;t=this._length){var r;if(this._isMap)r=f(this._values);else{r={};for(var i=this.length(),o=0,a=this.length();o>1},e.prototype.props=function(){return a(this)},e.props=function(e){return a(e)}}},function(e,t){"use strict";function n(e,t,n,r,i){for(var o=0;o=this._length&&(this._resolve(this._values),!0)},i.prototype._promiseFulfilled=function(e,t){var n=new o;return n._bitField=33554432,n._settledValueField=e,this._promiseResolved(t,n)},i.prototype._promiseRejected=function(e,t){var n=new o;return n._bitField=16777216,n._settledValueField=e,this._promiseResolved(t,n)},e.settle=function(e){return r.deprecated(".settle()",".reflect()"),new i(e).promise()},e.prototype.settle=function(){return e.settle(this)}}},function(e,t,n){"use strict";e.exports=function(e,t,r){function i(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function o(e,t){if((0|t)!==t||t<0)return r("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");var n=new i(e),o=n.promise();return n.setHowMany(t),n.init(),o}var a=n(6),s=n(16).RangeError,l=n(16).AggregateError,u=a.isArray,c={};a.inherits(i,t),i.prototype._init=function(){if(this._initialized){if(0===this._howMany)return void this._resolve([]);this._init$(void 0,-5);var e=u(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},i.prototype.init=function(){this._initialized=!0,this._init()},i.prototype.setUnwrap=function(){this._unwrap=!0},i.prototype.howMany=function(){return this._howMany},i.prototype.setHowMany=function(e){this._howMany=e},i.prototype._promiseFulfilled=function(e){return this._addFulfilled(e),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0)},i.prototype._promiseRejected=function(e){return this._addRejected(e),this._checkOutcome()},i.prototype._promiseCancelled=function(){return this._values instanceof e||null==this._values?this._cancel():(this._addRejected(c),this._checkOutcome())},i.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var e=new l,t=this.length();t0?this._reject(e):this._cancel(),!0}return!1},i.prototype._fulfilled=function(){return this._totalResolved},i.prototype._rejected=function(){return this._values.length-this.length()},i.prototype._addRejected=function(e){this._values.push(e)},i.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},i.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},i.prototype._getRangeError=function(e){var t="Input array must contain at least "+this._howMany+" items but contains only "+e+" items";return new s(t)},i.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},e.some=function(e,t){return o(e,t)},e.prototype.some=function(e){return o(this,e)},e._SomePromiseArray=i}},function(e,t){"use strict";e.exports=function(e){function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this._settledValueField=e._isFateSealed()?e._settledValue():void 0):(this._bitField=0, +this._settledValueField=void 0)}t.prototype._settledValue=function(){return this._settledValueField};var n=t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},r=t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError("cannot get rejection reason of a non-rejected promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},i=t.prototype.isFulfilled=function(){return 0!==(33554432&this._bitField)},o=t.prototype.isRejected=function(){return 0!==(16777216&this._bitField)},a=t.prototype.isPending=function(){return 0===(50397184&this._bitField)},s=t.prototype.isResolved=function(){return 0!==(50331648&this._bitField)};t.prototype.isCancelled=function(){return 0!==(8454144&this._bitField)},e.prototype.__isCancelled=function(){return 65536===(65536&this._bitField)},e.prototype._isCancelled=function(){return this._target().__isCancelled()},e.prototype.isCancelled=function(){return 0!==(8454144&this._target()._bitField)},e.prototype.isPending=function(){return a.call(this._target())},e.prototype.isRejected=function(){return o.call(this._target())},e.prototype.isFulfilled=function(){return i.call(this._target())},e.prototype.isResolved=function(){return s.call(this._target())},e.prototype.value=function(){return n.call(this._target())},e.prototype.reason=function(){var e=this._target();return e._unsetRejectionIsUnhandled(),r.call(e)},e.prototype._value=function(){return this._settledValue()},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},e.PromiseInspection=t}},function(e,t,n){"use strict";e.exports=function(e,t){function r(n,r){if(c(n)){if(n instanceof e)return n;var i=o(n);if(i===u){r&&r._pushContext();var l=e.reject(i.e);return r&&r._popContext(),l}if("function"==typeof i){if(a(n)){var l=new e(t);return n._then(l._fulfill,l._reject,void 0,l,null),l}return s(n,i,r)}}return n}function i(e){return e.then}function o(e){try{return i(e)}catch(e){return u.e=e,u}}function a(e){try{return d.call(e,"_promise0")}catch(e){return!1}}function s(n,r,i){function o(e){s&&(s._resolveCallback(e),s=null)}function a(e){s&&(s._rejectCallback(e,d,!0),s=null)}var s=new e(t),c=s;i&&i._pushContext(),s._captureStackTrace(),i&&i._popContext();var d=!0,f=l.tryCatch(r).call(n,o,a);return d=!1,s&&f===u&&(s._rejectCallback(f.e,!0,!0),s=null),c}var l=n(6),u=l.errorObj,c=l.isObject,d={}.hasOwnProperty;return r}},function(e,t,n){"use strict";e.exports=function(e,t,r){function i(e){this.handle=e}function o(e){return clearTimeout(this.handle),e}function a(e){throw clearTimeout(this.handle),e}var s=n(6),l=e.TimeoutError;i.prototype._resultCancelled=function(){clearTimeout(this.handle)};var u=function(e){return c(+this).thenReturn(e)},c=e.delay=function(n,o){var a,s;return void 0!==o?(a=e.resolve(o)._then(u,null,null,n,void 0),r.cancellation()&&o instanceof e&&a._setOnCancel(o)):(a=new e(t),s=setTimeout(function(){a._fulfill()},+n),r.cancellation()&&a._setOnCancel(new i(s)),a._captureStackTrace()),a._setAsyncGuaranteed(),a};e.prototype.delay=function(e){return c(e,this)};var d=function(e,t,n){var r;r="string"!=typeof t?t instanceof Error?t:new l("operation timed out"):new l(t),s.markAsOriginatingFromRejection(r),e._attachExtraTrace(r),e._reject(r),null!=n&&n.cancel()};e.prototype.timeout=function(e,t){e=+e;var n,s,l=new i(setTimeout(function(){n.isPending()&&d(n,t,s)},e));return r.cancellation()?(s=this.then(),n=s._then(o,a,void 0,l,void 0),n._setOnCancel(l)):n=this._then(o,a,void 0,l,void 0),n}}},function(e,t,n){"use strict";e.exports=function(e,t,r,i,o,a){function s(e){setTimeout(function(){throw e},0)}function l(e){var t=r(e);return t!==e&&"function"==typeof e._isDisposable&&"function"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer()),t}function u(t,n){function i(){if(a>=u)return c._fulfill();var o=l(t[a++]);if(o instanceof e&&o._isDisposable()){try{o=r(o._getDisposer().tryDispose(n),t.promise)}catch(e){return s(e)}if(o instanceof e)return o._then(i,s,null,null,null)}i()}var a=0,u=t.length,c=new e(o);return i(),c}function c(e,t,n){this._data=e,this._promise=t,this._context=n}function d(e,t,n){this.constructor$(e,t,n)}function f(e){return c.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}function p(e){this.length=e,this.promise=null,this[e-1]=null}var h=n(6),m=n(16).TypeError,g=n(6).inherits,$=h.errorObj,_=h.tryCatch,v={};c.prototype.data=function(){return this._data},c.prototype.promise=function(){return this._promise},c.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():v},c.prototype.tryDispose=function(e){var t=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=t!==v?this.doDispose(t,e):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,r},c.isDisposer=function(e){return null!=e&&"function"==typeof e.resource&&"function"==typeof e.tryDispose},g(d,c),d.prototype.doDispose=function(e,t){var n=this.data();return n.call(e,e,t)},p.prototype._resultCancelled=function(){for(var t=this.length,n=0;n0},e.prototype._getDisposer=function(){return this._disposer},e.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},e.prototype.disposer=function(e){if("function"==typeof e)return new d(e,this,i());throw new m}}},function(e,t,n){(function(t){function r(e,n,o){return this instanceof r?(s.call(this),this._cache=new i,this._last=void 0,this._cipher=new a.AES(n),this._prev=new t(o.length),o.copy(this._prev),void(this._mode=e)):new r(e,n,o)}function i(){return this instanceof i?void(this.cache=new t("")):new i}function o(e){var t=e[15];if(16!==t)return e.slice(0,16-t)}var a=n(66),s=n(67),l=n(8),u=n(68),c=n(118),d=n(112);l(r,s),r.prototype._transform=function(e,t,n){this._cache.add(e);for(var r,i;r=this._cache.get();)i=this._mode.decrypt(this,r),this.push(i);n()},r.prototype._flush=function(e){var t=this._cache.flush();return t?(this.push(o(this._mode.decrypt(this,t))),void e()):e},i.prototype.add=function(e){this.cache=t.concat([this.cache,e])},i.prototype.get=function(){if(this.cache.length>16){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},i.prototype.flush=function(){if(this.cache.length)return this.cache};var f={ECB:n(116),CBC:n(113),CFB:n(114),OFB:n(117),CTR:n(115)};e.exports=function(e){function n(e,n,i){var o=u[e];if(!o)throw new TypeError("invalid suite type");if("string"==typeof i&&(i=new t(i)),"string"==typeof n&&(n=new t(n)),n.length!==o.key/8)throw new TypeError("invalid key length "+n.length);if(i.length!==o.iv)throw new TypeError("invalid iv length "+i.length);return"stream"===o.type?new c(f[o.mode],n,i,!0):new r(f[o.mode],n,i)}function i(t,r){var i=u[t];if(!i)throw new TypeError("invalid suite type");var o=d(e,r,i.key,i.iv);return n(t,o.key,o.iv)}return{createDecipher:i,createDecipheriv:n}}}).call(t,n(3).Buffer)},function(e,t,n){(function(t){function r(e,n,s){return this instanceof r?(a.call(this),this._cache=new i,this._cipher=new o.AES(n),this._prev=new t(s.length),s.copy(this._prev),void(this._mode=e)):new r(e,n,s)}function i(){return this instanceof i?void(this.cache=new t("")):new i}var o=n(66),a=n(67),s=n(8),l=n(68),u=n(112),c=n(118);s(r,a),r.prototype._transform=function(e,t,n){this._cache.add(e);for(var r,i;r=this._cache.get();)i=this._mode.encrypt(this,r),this.push(i);n()},r.prototype._flush=function(e){var t=this._cache.flush();this.push(this._mode.encrypt(this,t)),this._cipher.scrub(),e()},i.prototype.add=function(e){this.cache=t.concat([this.cache,e])},i.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},i.prototype.flush=function(){for(var e=16-this.cache.length,n=new t(e),r=-1;++r=0;s--){var l=r[s].from(),u=r[s].to();l.line>=n||(u.line>=n&&(u=a(n,0)),n=l.line,null==o?t.uncomment(l,u,e)?o="un":(t.lineComment(l,u,e),o="line"):"un"==o?t.uncomment(l,u,e):t.lineComment(l,u,e))}}),e.defineExtension("lineComment",function(e,s,l){l||(l=i);var u=this,c=r(u,e),d=u.getLine(e.line);if(null!=d&&!n(u,e,d)){var f=l.lineComment||c.lineComment;if(!f)return void((l.blockCommentStart||c.blockCommentStart)&&(l.fullLines=!0,u.blockComment(e,s,l)));var p=Math.min(0!=s.ch||s.line==e.line?s.line+1:s.line,u.lastLine()+1),h=null==l.padding?" ":l.padding,m=l.commentBlankLines||e.line==s.line;u.operation(function(){if(l.indent){for(var n=null,r=e.line;rs.length)&&(n=s)}for(var r=e.line;rd||s.operation(function(){if(0!=n.fullLines){var r=o.test(s.getLine(d));s.replaceRange(f+c,a(d)),s.replaceRange(u+f,a(e.line,0));var i=n.blockCommentLead||l.blockCommentLead;if(null!=i)for(var p=e.line+1;p<=d;++p)(p!=d||r)&&s.replaceRange(i+f,a(p,0))}else s.replaceRange(c,t),s.replaceRange(u,e)})}}),e.defineExtension("uncomment",function(e,t,n){n||(n=i);var s,l=this,u=r(l,e),c=Math.min(0!=t.ch||t.line==e.line?t.line:t.line-1,l.lastLine()),d=Math.min(e.line,c),f=n.lineComment||u.lineComment,p=[],h=null==n.padding?" ":n.padding;e:if(f){for(var m=d;m<=c;++m){var g=l.getLine(m),$=g.indexOf(f);if($>-1&&!/comment/.test(l.getTokenTypeAt(a(m,$+1)))&&($=-1),$==-1&&o.test(g))break e;if($>-1&&o.test(g.slice(0,$)))break e;p.push(g)}if(l.operation(function(){for(var e=d;e<=c;++e){var t=p[e-d],n=t.indexOf(f),r=n+f.length;n<0||(t.slice(r,r+h.length)==h&&(r+=h.length),s=!0,l.replaceRange("",a(e,n),a(e,r)))}}),s)return!0}var _=n.blockCommentStart||u.blockCommentStart,v=n.blockCommentEnd||u.blockCommentEnd;if(!_||!v)return!1;var b=n.blockCommentLead||u.blockCommentLead,y=l.getLine(d),x=y.indexOf(_);if(x==-1)return!1;var k=c==d?y:l.getLine(c),w=k.indexOf(v,c==d?x+_.length:0);if(w==-1&&d!=c&&(k=l.getLine(--c),w=k.indexOf(v)),w==-1||!/comment/.test(l.getTokenTypeAt(a(d,x+1)))||!/comment/.test(l.getTokenTypeAt(a(c,w+1))))return!1;var E=y.lastIndexOf(_,e.ch),A=E==-1?-1:y.slice(0,e.ch).indexOf(v,E+_.length);if(E!=-1&&A!=-1&&A+v.length!=e.ch)return!1;A=k.indexOf(v,t.ch);var C=k.slice(t.ch).lastIndexOf(_,A-t.ch);return E=A==-1||C==-1?-1:t.ch+C,(A==-1||E==-1||E==t.ch)&&(l.operation(function(){l.replaceRange("",a(c,w-(h&&k.slice(w-h.length,w)==h?h.length:0)),a(c,w+v.length));var e=x+_.length;if(h&&y.slice(e,e+h.length)==h&&(e+=h.length),l.replaceRange("",a(d,x),a(d,e)),b)for(var t=d+1;t<=c;++t){var n=l.getLine(t),r=n.indexOf(b);if(r!=-1&&!o.test(n.slice(0,r))){var i=r+b.length;h&&n.slice(i,i+h.length)==h&&(i+=h.length),l.replaceRange("",a(t,r),a(t,i))}}}),!0)})})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";function t(e){var t=e.getWrapperElement();e.state.fullScreenRestore={scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,width:t.style.width,height:t.style.height},t.style.width="",t.style.height="auto",t.className+=" CodeMirror-fullscreen",document.documentElement.style.overflow="hidden",e.refresh()}function n(e){var t=e.getWrapperElement();t.className=t.className.replace(/\s*CodeMirror-fullscreen\b/,""),document.documentElement.style.overflow="";var n=e.state.fullScreenRestore;t.style.width=n.width,t.style.height=n.height,window.scrollTo(n.scrollLeft,n.scrollTop),e.refresh()}e.defineOption("fullScreen",!1,function(r,i,o){o==e.Init&&(o=!1),!o!=!i&&(i?t(r):n(r))})})},function(e,t,n){!function(e){e(n(1))}(function(e){function t(e,t){return"pairs"==t&&"string"==typeof e?e:"object"==typeof e&&null!=e[t]?e[t]:f[t]}function n(e){return function(t){return s(t,e)}}function r(e){var t=e.state.closeBrackets;if(!t||t.override)return t;var n=e.getModeAt(e.getCursor());return n.closeBrackets||t}function i(n){var i=r(n);if(!i||n.getOption("disableInput"))return e.Pass;for(var o=t(i,"pairs"),a=n.listSelections(),s=0;s=0;s--){var c=a[s].head;n.replaceRange("",p(c.line,c.ch-1),p(c.line,c.ch+1),"+delete")}}function o(n){var i=r(n),o=i&&t(i,"explode");if(!o||n.getOption("disableInput"))return e.Pass;for(var a=n.listSelections(),s=0;s0;return{anchor:new p(t.anchor.line,t.anchor.ch+(n?-1:1)),head:new p(t.head.line,t.head.ch+(n?1:-1))}}function s(n,i){var o=r(n);if(!o||n.getOption("disableInput"))return e.Pass;var s=t(o,"pairs"),u=s.indexOf(i);if(u==-1)return e.Pass;for(var f,h=t(o,"triples"),m=s.charAt(u+1)==i,g=n.listSelections(),$=u%2==0,_=0;_1&&h.indexOf(i)>=0&&n.getRange(p(y.line,y.ch-2),y)==i+i&&(y.ch<=2||n.getRange(p(y.line,y.ch-3),p(y.line,y.ch-2))!=i))v="addFour";else if(m){if(e.isWordChar(x)||!c(n,y,i))return e.Pass;v="both"}else{if(!$||n.getLine(y.line).length!=y.ch&&!l(x,s)&&!/\s/.test(x))return e.Pass;v="both"}else v=m&&d(n,y)?"both":h.indexOf(i)>=0&&n.getRange(y,p(y.line,y.ch+3))==i+i+i?"skipThree":"skip";if(f){if(f!=v)return e.Pass}else f=v}var k=u%2?s.charAt(u-1):i,w=u%2?i:s.charAt(u+1);n.operation(function(){if("skip"==f)n.execCommand("goCharRight");else if("skipThree"==f)for(var e=0;e<3;e++)n.execCommand("goCharRight");else if("surround"==f){for(var t=n.getSelections(),e=0;e-1&&n%2==1}function u(e,t){var n=e.getRange(p(t.line,t.ch-1),p(t.line,t.ch+1));return 2==n.length?n:null}function c(t,n,r){var i=t.getLine(n.line),o=t.getTokenAt(n);if(/\bstring2?\b/.test(o.type)||d(t,n))return!1;var a=new e.StringStream(i.slice(0,n.ch)+r+i.slice(n.ch),4);for(a.pos=a.start=o.start;;){var s=t.getMode().token(a,o.state);if(a.pos>=n.ch+1)return/\bstring2?\b/.test(s);a.start=a.pos}}function d(e,t){var n=e.getTokenAt(p(t.line,t.ch+1));return/\bstring/.test(n.type)&&n.start==t.ch}var f={pairs:"()[]{}''\"\"",triples:"",explode:"[]{}"},p=e.Pos;e.defineOption("autoCloseBrackets",!1,function(t,n,r){r&&r!=e.Init&&(t.removeKeyMap(m),t.state.closeBrackets=null),n&&(t.state.closeBrackets=n,t.addKeyMap(m))});for(var h=f.pairs+"`",m={Backspace:i,Enter:o},g=0;gu.ch&&($=$.slice(0,$.length-c.end+u.ch));var _=$.toLowerCase();if(!$||"string"==c.type&&(c.end!=u.ch||!/[\"\']/.test(c.string.charAt(c.string.length-1))||1==c.string.length)||"tag"==c.type&&"closeTag"==f.type||c.string.indexOf("/")==c.string.length-1||m&&i(m,_)>-1||o(t,$,u,f,!0))return e.Pass;var v=g&&i(g,_)>-1;r[l]={indent:v,text:">"+(v?"\n\n":"")+"",newPos:v?e.Pos(u.line+1,0):e.Pos(u.line,u.ch+1)}}for(var l=n.length-1;l>=0;l--){var b=r[l];t.replaceRange(b.text,n[l].head,n[l].anchor,"+insert");var y=t.listSelections().slice(0);y[l]={head:b.newPos,anchor:b.newPos},t.setSelections(y),b.indent&&(t.indentLine(b.newPos.line,null,!0),t.indentLine(b.newPos.line+1,null,!0))}}function n(t,n){for(var r=t.listSelections(),i=[],a=n?"/":""!=t.getLine(l.line).charAt(u.end)&&(f+=">"),i[s]=f}t.replaceSelections(i),r=t.listSelections();for(var s=0;s'"]=function(e){return t(e)}),n.addKeyMap(a)}});var a=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],s=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];e.commands.closeTag=function(e){return n(e)}})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.registerHelper("fold","brace",function(t,n){function r(r){for(var s=n.ch,l=0;;){var u=s<=0?-1:a.lastIndexOf(r,s-1);if(u!=-1){if(1==l&&ut.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));if(/\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),"keyword"!=r.type||"import"!=r.string)return null;for(var i=n,o=Math.min(t.lastLine(),n+10);i<=o;++i){var a=t.getLine(i),s=a.indexOf(";");if(s!=-1)return{startCh:r.end,end:e.Pos(i,s)}}}var i,o=n.line,a=r(o);if(!a||r(o-1)||(i=r(o-2))&&i.end.line==o-1)return null;for(var s=a.end;;){var l=r(s.line+1);if(null==l)break;s=l.end}return{from:t.clipPos(e.Pos(o,a.startCh+1)),to:s}}),e.registerHelper("fold","include",function(t,n){function r(n){if(nt.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));return/\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),"meta"==r.type&&"#include"==r.string.slice(0,8)?r.start+8:void 0}var i=n.line,o=r(i);if(null==o||null!=r(i-1))return null;for(var a=i;;){var s=r(a+1);if(null==s)break;++a}return{from:e.Pos(i,o+1),to:t.clipPos(e.Pos(a))}})})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.registerGlobalHelper("fold","comment",function(e){return e.blockCommentStart&&e.blockCommentEnd},function(t,n){var r=t.getModeAt(n),i=r.blockCommentStart,o=r.blockCommentEnd;if(i&&o){for(var a,s=n.line,l=t.getLine(s),u=n.ch,c=0;;){var d=u<=0?-1:l.lastIndexOf(i,u-1);if(d!=-1){if(1==c&&d=s&&(n=i(o.indicatorOpen))}e.setGutterMarker(t,o.gutter,n),++a})}function a(e){var t=e.getViewport(),n=e.state.foldGutter;n&&(e.operation(function(){o(e,t.from,t.to)}),n.from=t.from,n.to=t.to)}function s(e,t,n){var i=e.state.foldGutter;if(i){var o=i.options;if(n==o.gutter){var a=r(e,t);a?a.clear():e.foldCode(d(t,0),o.rangeFinder)}}}function l(e){var t=e.state.foldGutter;if(t){var n=t.options;t.from=t.to=0,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout(function(){a(e)},n.foldOnChangeTimeSpan||600)}}function u(e){var t=e.state.foldGutter;if(t){var n=t.options;clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout(function(){var n=e.getViewport();t.from==t.to||n.from-t.to>20||t.from-n.to>20?a(e):e.operation(function(){n.fromt.to&&(o(e,t.to,n.to),t.to=n.to)})},n.updateViewportTimeSpan||400)}}function c(e,t){var n=e.state.foldGutter;if(n){var r=t.line;r>=n.from&&ri))break;o=a}}return o?{from:e.Pos(r.line,n.getLine(r.line).length),to:e.Pos(o,n.getLine(o).length)}:void 0}})})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.registerHelper("fold","markdown",function(t,n){function r(n){var r=t.getTokenTypeAt(e.Pos(n,0));return r&&/\bheader\b/.test(r)}function i(e,t,n){var i=t&&t.match(/^#+/);return i&&r(e)?i[0].length:(i=n&&n.match(/^[=\-]+\s*$/),i&&r(e+1)?"="==n[0]?1:2:o)}var o=100,a=t.getLine(n.line),s=t.getLine(n.line+1),l=i(n.line,a,s);if(l!==o){for(var u=t.lastLine(),c=n.line,d=t.getLine(c+2);c][<][=] [X]","device-aspect-ratio: X/Y","orientation:portrait","orientation:landscape","device-height: [X]","device-width: [X]"],u={attrs:{}},c={a:{attrs:{href:null,ping:null,type:null,media:l,target:i,hreflang:r}},abbr:u,acronym:u,address:u,applet:u,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:l,hreflang:r,type:null,shape:["default","rect","circle","poly"]}},article:u,aside:u,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["","autoplay"], +loop:["","loop"],controls:["","controls"]}},b:u,base:{attrs:{href:null,target:i}},basefont:u,bdi:u,bdo:u,big:u,blockquote:{attrs:{cite:null}},body:u,br:u,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["","autofocus"],disabled:["","autofocus"],formenctype:s,formmethod:a,formnovalidate:["","novalidate"],formtarget:i,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:u,center:u,cite:u,code:u,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["","disabled"],checked:["","checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["","disabled"],multiple:["","multiple"]}},datalist:{attrs:{data:null}},dd:u,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["","open"]}},dfn:u,dir:u,div:u,dl:u,dt:u,em:u,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["","disabled"],form:null,name:null}},figcaption:u,figure:u,font:u,footer:u,form:{attrs:{action:null,name:null,"accept-charset":o,autocomplete:["on","off"],enctype:s,method:a,novalidate:["","novalidate"],target:i}},frame:u,frameset:u,h1:u,h2:u,h3:u,h4:u,h5:u,h6:u,head:{attrs:{},children:["title","base","link","style","meta","script","noscript","command"]},header:u,hgroup:u,hr:u,html:{attrs:{manifest:null},children:["head","body"]},i:u,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["","seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["","autofocus"],checked:["","checked"],disabled:["","disabled"],formenctype:s,formmethod:a,formnovalidate:["","novalidate"],formtarget:i,multiple:["","multiple"],readonly:["","readonly"],required:["","required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:u,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["","autofocus"],disabled:["","disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:u,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:r,media:l,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:u,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:o,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:u,noframes:u,noscript:u,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["","typemustmatch"]}},ol:{attrs:{reversed:["","reversed"],start:null,type:["1","a","A","i","I"]}},optgroup:{attrs:{disabled:["","disabled"],label:null}},option:{attrs:{disabled:["","disabled"],label:null,selected:["","selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:u,param:{attrs:{name:null,value:null}},pre:u,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:u,rt:u,ruby:u,s:u,samp:u,script:{attrs:{type:["text/javascript"],src:null,async:["","async"],defer:["","defer"],charset:o}},section:u,select:{attrs:{form:null,name:null,size:null,autofocus:["","autofocus"],disabled:["","disabled"],multiple:["","multiple"]}},small:u,source:{attrs:{src:null,type:null,media:null}},span:u,strike:u,strong:u,style:{attrs:{type:["text/css"],media:l,scoped:null}},sub:u,summary:u,sup:u,table:u,tbody:u,td:{attrs:{colspan:null,rowspan:null,headers:null}},textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["","autofocus"],disabled:["","disabled"],readonly:["","readonly"],required:["","required"],wrap:["soft","hard"]}},tfoot:u,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:u,time:{attrs:{datetime:null}},title:u,tr:u,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:r}},tt:u,u:u,ul:u,var:u,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["","autoplay"],mediagroup:["movie"],muted:["","muted"],controls:["","controls"]}},wbr:u},d={accesskey:["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9"],class:null,contenteditable:["true","false"],contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["en","es"],spellcheck:["true","false"],style:null,tabindex:["1","2","3","4","5","6","7","8","9"],title:null,translate:["yes","no"],onclick:null,rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"]};t(u);for(var f in c)c.hasOwnProperty(f)&&c[f]!=u&&t(c[f]);e.htmlSchema=c,e.registerHelper("hint","html",n)})},function(e,t,n){!function(e){e(n(1))}(function(e){function t(e,t){for(var n=0,r=e.length;no.ch&&(a.end=o.ch,a.string=a.string.slice(0,o.ch-a.start)):a={start:o.ch,end:o.ch,string:"",state:a.state,type:"."==a.string?"property":null};for(var s=a;"property"==s.type;){if(s=r(t,u(o.line,s.start)),"."!=s.string)return;if(s=r(t,u(o.line,s.start)),!c)var c=[];c.push(s)}return{list:l(a,c,n,i),from:u(o.line,a.start),to:u(o.line,a.end)}}}function i(e,t){return r(e,p,function(e,t){return e.getTokenAt(t)},t)}function o(e,t){var n=e.getTokenAt(t);return t.ch==n.start+1&&"."==n.string.charAt(0)?(n.end=n.start,n.string=".",n.type="property"):/^\.[\w$_]*$/.test(n.string)&&(n.type="property",n.start++,n.string=n.string.replace(/\./,"")),n}function a(e,t){return r(e,h,o,t)}function s(e,t){if(Object.getOwnPropertyNames&&Object.getPrototypeOf)for(var n=e;n;n=Object.getPrototypeOf(n))Object.getOwnPropertyNames(n).forEach(t);else for(var r in e)t(r)}function l(e,r,i,o){function a(e){0!=e.lastIndexOf(p,0)||n(u,e)||u.push(e)}function l(e){"string"==typeof e?t(c,a):e instanceof Array?t(d,a):e instanceof Function&&t(f,a),s(e,a)}var u=[],p=e.string,h=o&&o.globalScope||window;if(r&&r.length){var m,g=r.pop();for(g.type&&0===g.type.indexOf("variable")?(o&&o.additionalContext&&(m=o.additionalContext[g.string]),o&&o.useGlobalScope===!1||(m=m||h[g.string])):"string"==g.type?m="":"atom"==g.type?m=1:"function"==g.type&&(null==h.jQuery||"$"!=g.string&&"jQuery"!=g.string||"function"!=typeof h.jQuery?null!=h._&&"_"==g.string&&"function"==typeof h._&&(m=h._()):m=h.jQuery());null!=m&&r.length;)m=m[r.pop().string];null!=m&&l(m)}else{for(var $=e.state.localVars;$;$=$.next)a($.name);for(var $=e.state.globalVars;$;$=$.next)a($.name);o&&o.useGlobalScope===!1||l(h),t(i,a)}return u}var u=e.Pos;e.registerHelper("hint","javascript",i),e.registerHelper("hint","coffeescript",a);var c="charAt charCodeAt indexOf lastIndexOf substring substr slice trim trimLeft trimRight toUpperCase toLowerCase split concat match replace search".split(" "),d="length concat join splice push pop shift unshift slice reverse sort indexOf lastIndexOf every some filter forEach map reduce reduceRight ".split(" "),f="prototype apply call bind".split(" "),p="break case catch continue debugger default delete do else false finally for function if in instanceof new null return switch throw true try typeof var void while with".split(" "),h="and break catch class continue delete do else extends false finally for if in instanceof isnt new no not null of off on or return switch then throw true try typeof until void while with yes".split(" ")})},function(e,t,n){!function(e){e(n(1),n(133))}(function(e){"use strict";function t(e){return"[object Array]"==Object.prototype.toString.call(e)}function n(t){var n=t.doc.modeOption;return"sql"===n&&(n="text/x-sql"),e.resolveMode(n).keywords}function r(e){return"string"==typeof e?e:e.text}function i(e,n){return t(n)&&(n={columns:n}),n.text||(n.text=e),n}function o(e){var n={};if(t(e))for(var o=e.length-1;o>=0;o--){var a=e[o];n[r(a).toUpperCase()]=i(r(a),a)}else if(e)for(var s in e)n[s.toUpperCase()]=i(s,e[s]);return n}function a(e){return m[e.toUpperCase()]}function s(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function l(e,t){var n=e.length,i=r(t).substr(0,n);return e.toUpperCase()===i.toUpperCase()}function u(e,n,r,i){if(t(r))for(var o=0;o0)&&b(f,l[h])<=0){u={start:d,end:l[h]};break}d=l[h]}for(var m=n.getRange(u.start,u.end,!1),h=0;hd.ch&&(_.end=d.ch,_.string=_.string.slice(0,d.ch-_.start)),_.string.match(/^[.`\w@]\w*$/)?(c=_.string,s=_.start,l=_.end):(s=l=d.ch,c=""),"."==c.charAt(0)||"`"==c.charAt(0)?s=f(d,_,p,e):(u(p,c,m,function(e){return e}),u(p,c,g,function(e){return e}),i||u(p,c,$,function(e){return e.toUpperCase()})),{list:p,from:v(d.line,s),to:v(d.line,l)}})})},function(e,t,n){!function(e){e(n(1),n(124))}(function(e){"use strict";function t(e){this.options={};for(var t in d)this.options[t]=(e&&e.hasOwnProperty(t)?e:d)[t];this.overlay=this.timeout=null,this.matchesonscroll=null,this.active=!1}function n(e){var t=e.state.matchHighlighter;(t.active||e.hasFocus())&&i(e,t)}function r(e){var t=e.state.matchHighlighter;t.active||(t.active=!0,i(e,t))}function i(e,t){clearTimeout(t.timeout),t.timeout=setTimeout(function(){s(e)},t.options.delay)}function o(e,t,n,r){var i=e.state.matchHighlighter;if(e.addOverlay(i.overlay=c(t,n,r)),i.options.annotateScrollbar&&e.showMatchesOnScrollbar){var o=n?new RegExp("\\b"+t+"\\b"):t;i.matchesonscroll=e.showMatchesOnScrollbar(o,!1,{className:"CodeMirror-selection-highlight-scrollbar"})}}function a(e){var t=e.state.matchHighlighter;t.overlay&&(e.removeOverlay(t.overlay),t.overlay=null,t.matchesonscroll&&(t.matchesonscroll.clear(),t.matchesonscroll=null))}function s(e){e.operation(function(){var t=e.state.matchHighlighter;if(a(e),!e.somethingSelected()&&t.options.showToken){for(var n=t.options.showToken===!0?/[\w$]/:t.options.showToken,r=e.getCursor(),i=e.getLine(r.line),s=r.ch,u=s;s&&n.test(i.charAt(s-1));)--s;for(;u=t.options.minChars&&o(e,f,!1,t.options.style)}})}function l(e,t,n){var r=e.getRange(t,n);if(null!==r.match(/^\w+$/)){if(t.ch>0){var i={line:t.line,ch:t.ch-1},o=e.getRange(i,t);if(null===o.match(/\W/))return!1}if(n.cht.cursorCoords(n,"window").top&&((c=r).style.opacity=.4)}))};a(t,$,u,f,function(n,i){var o=e.keyName(n),a=e.keyMap[t.getOption("keyMap")][o];a||(a=t.getOption("extraKeys")[o]),"findNext"==a||"findPrev"==a||"findPersistentNext"==a||"findPersistentPrev"==a?(e.e_stop(n),d(t,r(t),i),t.execCommand(a)):"find"!=a&&"findPersistent"!=a||(e.e_stop(n),f(i,n))}),o&&u&&(d(t,l,u),p(t,n))}else s(t,$,"Search for:",u,function(e){e&&!l.query&&t.operation(function(){d(t,l,e),l.posFrom=l.posTo=t.getCursor(),p(t,n)})})}function p(t,n,i){t.operation(function(){var a=r(t),s=o(t,a.query,n?a.posFrom:a.posTo);(s.find(n)||(s=o(t,a.query,n?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0)),s.find(n)))&&(t.setSelection(s.from(),s.to()),t.scrollIntoView({from:s.from(),to:s.to()},20),a.posFrom=s.from(),a.posTo=s.to(),i&&i(s.from(),s.to()))})}function h(e){e.operation(function(){var t=r(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))})}function m(e,t,n){e.operation(function(){for(var r=o(e,t);r.findNext();)if("string"!=typeof t){var i=e.getRange(r.from(),r.to()).match(t);r.replace(n.replace(/\$(\d)/g,function(e,t){return i[t]}))}else r.replace(n)})}function g(e,t){if(!e.getOption("readOnly")){var n=e.getSelection()||r(e).lastQuery,i=t?"Replace all:":"Replace:";s(e,i+_,i,n,function(n){n&&(n=c(n),s(e,v,"Replace with:","",function(r){if(r=u(r),t)m(e,n,r);else{h(e);var i=o(e,n,e.getCursor("from")),a=function(){var t,u=i.from();!(t=i.findNext())&&(i=o(e,n),!(t=i.findNext())||u&&i.from().line==u.line&&i.from().ch==u.ch)||(e.setSelection(i.from(),i.to()),e.scrollIntoView({from:i.from(),to:i.to()}),l(e,b,"Replace?",[function(){s(t)},a,function(){m(e,n,r)}]))},s=function(e){i.replace("string"==typeof n?r:r.replace(/\$(\d)/g,function(t,n){return e[n]})),a()};a()}}))})}}var $='Search: (Use /re/ syntax for regexp search)',_=' (Use /re/ syntax for regexp search)',v='With: ',b="Replace? ";e.commands.find=function(e){h(e),f(e)},e.commands.findPersistent=function(e){h(e),f(e,!1,!0)},e.commands.findPersistentNext=function(e){f(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){f(e,!0,!0,!0)},e.commands.findNext=f,e.commands.findPrev=function(e){f(e,!0)},e.commands.clearSearch=h,e.commands.replace=g,e.commands.replaceAll=function(e){g(e,!0)}})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";function t(e){for(var t=0;t=n.line,p=f?n:l(d,0),h=e.markText(c,p,{className:o});if(null==r?i.push(h):i.splice(r++,0,h),f)break;a=d}}function i(e){for(var t=e.state.markedSelection,n=0;n1)return o(e);var t=e.getCursor("start"),n=e.getCursor("end"),a=e.state.markedSelection;if(!a.length)return r(e,t,n);var l=a[0].find(),c=a[a.length-1].find();if(!l||!c||n.line-t.line=0||u(n,l.from)<=0)return o(e);for(;u(t,l.from)>0;)a.shift().clear(),l=a[0].find();for(u(t,l.from)<0&&(l.to.line-t.line0&&(n.line-c.from.line50&&O.shift()}function r(e){return O.length?void(O[O.length-1]+=e):n(e)}function i(e){return O[O.length-(e?Math.min(e,1):1)]||""}function o(){return O.length>1&&O.pop(),i()}function a(e,i,o,a,s){null==s&&(s=e.getRange(i,o)),a&&R&&R.cm==e&&t(i,R.pos)&&e.isClean(R.gen)?r(s):n(s),e.replaceRange("",i,o,"+delete"),R=a?{cm:e,pos:i,gen:e.changeGeneration()}:null}function s(e,t,n){return e.findPosH(t,n,"char",!0)}function l(e,t,n){return e.findPosH(t,n,"word",!0)}function u(e,t,n){return e.findPosV(t,n,"line",e.doc.sel.goalColumn)}function c(e,t,n){return e.findPosV(t,n,"page",e.doc.sel.goalColumn)}function d(e,t,n){for(var r=t.line,i=e.getLine(r),o=/\S/.test(n<0?i.slice(0,t.ch):i.slice(t.ch)),a=e.firstLine(),s=e.lastLine();;){if(r+=n,rs)return e.clipPos(F(r-n,n<0?0:null));i=e.getLine(r);var l=/\S/.test(i);if(l)o=!0;else if(o)return F(r,0)}}function f(e,t,n){for(var r=t.line,i=t.ch,o=e.getLine(t.line),a=!1;;){var s=o.charAt(i+(n<0?-1:0));if(s){if(a&&/[!?.]/.test(s))return F(r,i+(n>0?1:0));a||(a=/\w/.test(s)),i+=n}else{if(r==(n<0?e.firstLine():e.lastLine()))return F(r,i);if(o=e.getLine(r+n),!/\S/.test(o))return F(r,i);r+=n,i=n<0?o.length:0}}}function p(e,n,r){var i;if(e.findMatchingBracket&&(i=e.findMatchingBracket(n,!0))&&i.match&&(i.forward?1:-1)==r)return r>0?F(i.to.line,i.to.ch+1):i.to;for(var o=!0;;o=!1){var a=e.getTokenAt(n),s=F(n.line,r<0?a.start:a.end);if(!(o&&r>0&&a.end==n.ch)&&/\w/.test(a.string))return s;var l=e.findPosH(s,r,"char");if(t(s,l))return n;n=l}}function h(e,t){var n=e.state.emacsPrefix;return n?(x(e),"-"==n?-1:Number(n)):t?null:1}function m(e){var t="string"==typeof e?function(t){t.execCommand(e)}:e;return function(e){var n=h(e);t(e);for(var r=1;r1&&"+input"==t.origin){for(var r=t.text.join("\n"),i="",o=1;o',n,{bottom:!0}):n(prompt(t,""))}function T(e,t){var n=e.getCursor(),r=e.findPosH(n,1,"word");e.replaceRange(t(e.getRange(n,r)),n,r),e.setCursor(r)}function M(e){for(var t=e.getCursor(),n=t.line,r=t.ch,i=[];n>=e.firstLine();){for(var o=e.getLine(n),a=null==r?o.length:r;a>0;){var r=o.charAt(--a);if(")"==r)i.push("(");else if("]"==r)i.push("[");else if("}"==r)i.push("{");else if(/[\(\{\[]/.test(r)&&(!i.length||i.pop()!=r))return e.extendSelection(F(n,a))}--n,r=null}}function D(e){e.execCommand("clearSearch"),C(e)}function L(e){P[e]=function(t){b(t,e)},B["Ctrl-"+e]=function(t){b(t,e)},I["Ctrl-"+e]=!0}var F=e.Pos,O=[],R=null,I={"Alt-G":!0,"Ctrl-X":!0,"Ctrl-Q":!0,"Ctrl-U":!0};e.emacs={kill:a,killRegion:v,repeated:m};for(var B=e.keyMap.emacs=e.normalizeKeyMap({"Ctrl-W":function(e){a(e,e.getCursor("start"),e.getCursor("end"))},"Ctrl-K":m(function(e){var t=e.getCursor(),n=e.clipPos(F(t.line)),r=e.getRange(t,n);/\S/.test(r)||(r+="\n",n=F(t.line+1,0)),a(e,t,n,!0,r)}),"Alt-W":function(e){n(e.getSelection()),C(e)},"Ctrl-Y":function(e){var t=e.getCursor();e.replaceRange(i(h(e)),t,t,"paste"),e.setSelection(t,e.getCursor())},"Alt-Y":function(e){e.replaceSelection(o(),"around","paste")},"Ctrl-Space":A,"Ctrl-Shift-2":A,"Ctrl-F":$(s,1),"Ctrl-B":$(s,-1),Right:$(s,1),Left:$(s,-1),"Ctrl-D":function(e){_(e,s,1)},Delete:function(e){v(e)||_(e,s,1)},"Ctrl-H":function(e){_(e,s,-1)},Backspace:function(e){v(e)||_(e,s,-1)},"Alt-F":$(l,1),"Alt-B":$(l,-1),"Alt-D":function(e){_(e,l,1)},"Alt-Backspace":function(e){_(e,l,-1)},"Ctrl-N":$(u,1),"Ctrl-P":$(u,-1),Down:$(u,1),Up:$(u,-1),"Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd",End:"goLineEnd",Home:"goLineStart","Alt-V":$(c,-1),"Ctrl-V":$(c,1),PageUp:$(c,-1),PageDown:$(c,1),"Ctrl-Up":$(d,-1),"Ctrl-Down":$(d,1),"Alt-A":$(f,-1),"Alt-E":$(f,1),"Alt-K":function(e){_(e,f,1)},"Ctrl-Alt-K":function(e){_(e,p,1)},"Ctrl-Alt-Backspace":function(e){_(e,p,-1)},"Ctrl-Alt-F":$(p,1),"Ctrl-Alt-B":$(p,-1),"Shift-Ctrl-Alt-2":function(e){var t=e.getCursor();e.setSelection(g(e,t,p,1),t)},"Ctrl-Alt-T":function(e){var t=p(e,e.getCursor(),-1),n=p(e,t,1),r=p(e,n,1),i=p(e,r,-1);e.replaceRange(e.getRange(i,r)+e.getRange(n,i)+e.getRange(t,n),t,r)},"Ctrl-Alt-U":m(M),"Alt-Space":function(e){for(var t=e.getCursor(),n=t.ch,r=t.ch,i=e.getLine(t.line);n&&/\s/.test(i.charAt(n-1));)--n;for(;r0?e.setCursor(t-1):void S(e,"Goto line",function(t){var n;t&&!isNaN(n=Number(t))&&n==(0|n)&&n>0&&e.setCursor(n-1)})},"Ctrl-X Tab":function(e){e.indentSelection(h(e,!0)||e.getOption("indentUnit"))},"Ctrl-X Ctrl-X":function(e){e.setSelection(e.getCursor("head"),e.getCursor("anchor"))},"Ctrl-X Ctrl-S":"save","Ctrl-X Ctrl-W":"save","Ctrl-X S":"saveAll","Ctrl-X F":"open","Ctrl-X U":m("undo"),"Ctrl-X K":"close","Ctrl-X Delete":function(e){a(e,e.getCursor(),f(e,e.getCursor(),1),!0)},"Ctrl-X H":"selectAll","Ctrl-Q Tab":m("insertTab"),"Ctrl-U":w}),P={"Ctrl-G":x},j=0;j<10;++j)L(String(j));L("-")})},function(e,t,n){!function(e){e(n(1),n(20),n(70))}(function(e){"use strict";function t(t,n,r){if(r<0&&0==n.ch)return t.clipPos(p(n.line-1));var i=t.getLine(n.line);if(r>0&&n.ch>=i.length)return t.clipPos(p(n.line+1,0));for(var o,a="start",s=n.ch,l=r<0?0:i.length,u=0;s!=l;s+=r,u++){var c=i.charAt(r<0?s-1:s),d="_"!=c&&e.isWordChar(c)?"w":"o";if("w"==d&&c.toUpperCase()==c&&(d="W"),"start"==a)"o"!=d&&(a="in",o=d);else if("in"==a&&o!=d){if("w"==o&&"W"==d&&r<0&&s--,"W"==o&&"w"==d&&r>0){o="w";continue}break}}return p(n.line,s)}function n(e,n){e.extendSelectionsBy(function(r){return e.display.shift||e.doc.extend||r.empty()?t(e.doc,r.head,n):n<0?r.from():r.to()})}function r(t,n){return t.isReadOnly()?e.Pass:(t.operation(function(){for(var e=t.listSelections().length,r=[],i=-1,o=0;o=0;s--){var l=r[o[s]];if(!(u&&e.cmpPos(l.head,u)>0)){var c=i(t,l.head);u=c.from,t.replaceRange(n(c.word),c.from,c.to)}}})}function u(t){var n=t.getCursor("from"),r=t.getCursor("to");if(0==e.cmpPos(n,r)){var o=i(t,n);if(!o.word)return;n=o.from,r=o.to}return{from:n,to:r,query:t.getRange(n,r),word:o}}function c(e,t){var n=u(e);if(n){var r=n.query,i=e.getSearchCursor(r,t?n.to:n.from);(t?i.findNext():i.findPrevious())?e.setSelection(i.from(),i.to()):(i=e.getSearchCursor(r,t?p(e.firstLine(),0):e.clipPos(p(e.lastLine()))),(t?i.findNext():i.findPrevious())?e.setSelection(i.from(),i.to()):n.word&&e.setSelection(n.from,n.to))}}var d=e.keyMap.sublime={fallthrough:"default"},f=e.commands,p=e.Pos,h=e.keyMap.default==e.keyMap.macDefault,m=h?"Cmd-":"Ctrl-",g=h?"Ctrl-":"Alt-"; +f[d[g+"Left"]="goSubwordLeft"]=function(e){n(e,-1)},f[d[g+"Right"]="goSubwordRight"]=function(e){n(e,1)},h&&(d["Cmd-Left"]="goLineStartSmart");var $=h?"Ctrl-Alt-":"Ctrl-";f[d[$+"Up"]="scrollLineUp"]=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top+t.clientHeight,"local");e.getCursor().line>=n&&e.execCommand("goLineUp")}e.scrollTo(null,t.top-e.defaultTextHeight())},f[d[$+"Down"]="scrollLineDown"]=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top,"local")+1;e.getCursor().line<=n&&e.execCommand("goLineDown")}e.scrollTo(null,t.top+e.defaultTextHeight())},f[d["Shift-"+m+"L"]="splitSelectionByLine"]=function(e){for(var t=e.listSelections(),n=[],r=0;ri.line&&a==o.line&&0==o.ch||n.push({anchor:a==i.line?i:p(a,0),head:a==o.line?o:p(a)});e.setSelections(n,0)},d["Shift-Tab"]="indentLess",f[d.Esc="singleSelectionTop"]=function(e){var t=e.listSelections()[0];e.setSelection(t.anchor,t.head,{scroll:!1})},f[d[m+"L"]="selectLine"]=function(e){for(var t=e.listSelections(),n=[],r=0;ri?r.push(l,u):r.length&&(r[r.length-1]=u),i=u}t.operation(function(){for(var e=0;et.lastLine()?t.replaceRange("\n"+a,p(t.lastLine()),null,"+swapLine"):t.replaceRange(a+"\n",p(i,0),null,"+swapLine")}t.setSelections(o),t.scrollIntoView()})},f[d[v+"Down"]="swapLineDown"]=function(t){if(t.isReadOnly())return e.Pass;for(var n=t.listSelections(),r=[],i=t.lastLine()+1,o=n.length-1;o>=0;o--){var a=n[o],s=a.to().line+1,l=a.from().line;0!=a.to().ch||a.empty()||s--,s=0;e-=2){var n=r[e],i=r[e+1],o=t.getLine(n);n==t.lastLine()?t.replaceRange("",p(n-1),p(n),"+swapLine"):t.replaceRange("",p(n,0),p(n+1,0),"+swapLine"),t.replaceRange(o+"\n",p(i,0),null,"+swapLine")}t.scrollIntoView()})},f[d[m+"/"]="toggleCommentIndented"]=function(e){e.toggleComment({indent:!0})},f[d[m+"J"]="joinLines"]=function(e){for(var t=e.listSelections(),n=[],r=0;r=0;i--){var o=n[i].head,a=t.getRange({line:o.line,ch:0},o),s=e.countColumn(a,null,t.getOption("tabSize")),l=t.findPosH(o,-1,"char",!1);if(a&&!/\S/.test(a)&&s%r==0){var u=new p(o.line,e.findColumn(a,s-r,r));u.ch!=o.ch&&(l=u)}t.replaceRange("",l,o,"+delete")}})},f[d[b+m+"K"]="delLineRight"]=function(e){e.operation(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange("",t[n].anchor,p(t[n].to().line),"+delete");e.scrollIntoView()})},f[d[b+m+"U"]="upcaseAtCursor"]=function(e){l(e,function(e){return e.toUpperCase()})},f[d[b+m+"L"]="downcaseAtCursor"]=function(e){l(e,function(e){return e.toLowerCase()})},f[d[b+m+"Space"]="setSublimeMark"]=function(e){e.state.sublimeMark&&e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor())},f[d[b+m+"A"]="selectToSublimeMark"]=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&e.setSelection(e.getCursor(),t)},f[d[b+m+"W"]="deleteToSublimeMark"]=function(t){var n=t.state.sublimeMark&&t.state.sublimeMark.find();if(n){var r=t.getCursor(),i=n;if(e.cmpPos(r,i)>0){var o=i;i=r,r=o}t.state.sublimeKilled=t.getRange(r,i),t.replaceRange("",r,i)}},f[d[b+m+"X"]="swapWithSublimeMark"]=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&(e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor()),e.setCursor(t))},f[d[b+m+"Y"]="sublimeYank"]=function(e){null!=e.state.sublimeKilled&&e.replaceSelection(e.state.sublimeKilled,null,"paste")},d[b+m+"G"]="clearBookmarks",f[d[b+m+"C"]="showInCenter"]=function(e){var t=e.cursorCoords(null,"local");e.scrollTo(null,(t.top+t.bottom)/2-e.getScrollInfo().clientHeight/2)};var y=h?"Ctrl-Shift-":"Ctrl-Alt-";f[d[y+"Up"]="selectLinesUpward"]=function(e){e.operation(function(){for(var t=e.listSelections(),n=0;ne.firstLine()&&e.addSelection(p(r.head.line-1,r.head.ch))}})},f[d[y+"Down"]="selectLinesDownward"]=function(e){e.operation(function(){for(var t=e.listSelections(),n=0;n",type:"keyToKey",toKeys:"h"},{keys:"",type:"keyToKey",toKeys:"l"},{keys:"",type:"keyToKey",toKeys:"k"},{keys:"",type:"keyToKey",toKeys:"j"},{keys:"",type:"keyToKey",toKeys:"l"},{keys:"",type:"keyToKey",toKeys:"h",context:"normal"},{keys:"",type:"keyToKey",toKeys:"W"},{keys:"",type:"keyToKey",toKeys:"B",context:"normal"},{keys:"",type:"keyToKey",toKeys:"w"},{keys:"",type:"keyToKey",toKeys:"b",context:"normal"},{keys:"",type:"keyToKey",toKeys:"j"},{keys:"",type:"keyToKey",toKeys:"k"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"s",type:"keyToKey",toKeys:"cl",context:"normal"},{keys:"s",type:"keyToKey",toKeys:"c",context:"visual"},{keys:"S",type:"keyToKey",toKeys:"cc",context:"normal"},{keys:"S",type:"keyToKey",toKeys:"VdO",context:"visual"},{keys:"",type:"keyToKey",toKeys:"0"},{keys:"",type:"keyToKey",toKeys:"$"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"j^",context:"normal"},{keys:"",type:"action",action:"toggleOverwrite",context:"insert"},{keys:"H",type:"motion",motion:"moveToTopLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"M",type:"motion",motion:"moveToMiddleLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"L",type:"motion",motion:"moveToBottomLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"h",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!1}},{keys:"l",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!0}},{keys:"j",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,linewise:!0}},{keys:"k",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,linewise:!0}},{keys:"gj",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!0}},{keys:"gk",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!1}},{keys:"w",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1}},{keys:"W",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1,bigWord:!0}},{keys:"e",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,inclusive:!0}},{keys:"E",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"b",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1}},{keys:"B",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1,bigWord:!0}},{keys:"ge",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,inclusive:!0}},{keys:"gE",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"{",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!1,toJumplist:!0}},{keys:"}",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!0,toJumplist:!0}},{keys:"",type:"motion",motion:"moveByPage",motionArgs:{forward:!0}},{keys:"",type:"motion",motion:"moveByPage",motionArgs:{forward:!1}},{keys:"",type:"motion",motion:"moveByScroll",motionArgs:{forward:!0,explicitRepeat:!0}},{keys:"",type:"motion",motion:"moveByScroll",motionArgs:{forward:!1,explicitRepeat:!0}},{keys:"gg",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"G",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!0,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"0",type:"motion",motion:"moveToStartOfLine"},{keys:"^",type:"motion",motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"+",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0}},{keys:"-",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,toFirstChar:!0}},{keys:"_",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0,repeatOffset:-1}},{keys:"$",type:"motion",motion:"moveToEol",motionArgs:{inclusive:!0}},{keys:"%",type:"motion",motion:"moveToMatchedSymbol",motionArgs:{inclusive:!0,toJumplist:!0}},{keys:"f",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"F",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!1}},{keys:"t",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"T",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!1}},{keys:";",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!0}},{keys:",",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!1}},{keys:"'",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0,linewise:!0}},{keys:"`",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0}},{keys:"]`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0}},{keys:"[`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1}},{keys:"]'",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0,linewise:!0}},{keys:"['",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1,linewise:!0}},{keys:"]p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0,matchIndent:!0}},{keys:"[p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0,matchIndent:!0}},{keys:"]",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!0,toJumplist:!0}},{keys:"[",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!1,toJumplist:!0}},{keys:"|",type:"motion",motion:"moveToColumn"},{keys:"o",type:"motion",motion:"moveToOtherHighlightedEnd",context:"visual"},{keys:"O",type:"motion",motion:"moveToOtherHighlightedEnd",motionArgs:{sameLine:!0},context:"visual"},{keys:"d",type:"operator",operator:"delete"},{keys:"y",type:"operator",operator:"yank"},{keys:"c",type:"operator",operator:"change"},{keys:">",type:"operator",operator:"indent",operatorArgs:{indentRight:!0}},{keys:"<",type:"operator",operator:"indent",operatorArgs:{indentRight:!1}},{keys:"g~",type:"operator",operator:"changeCase"},{keys:"gu",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},isEdit:!0},{keys:"gU",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},isEdit:!0},{keys:"n",type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:!0}},{keys:"N",type:"motion",motion:"findNext",motionArgs:{forward:!1,toJumplist:!0}},{keys:"x",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!0},operatorMotionArgs:{visualLine:!1}},{keys:"X",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!1},operatorMotionArgs:{visualLine:!0}},{keys:"D",type:"operatorMotion",operator:"delete",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"D",type:"operator",operator:"delete",operatorArgs:{linewise:!0},context:"visual"},{keys:"Y",type:"operatorMotion",operator:"yank",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"Y",type:"operator",operator:"yank",operatorArgs:{linewise:!0},context:"visual"},{keys:"C",type:"operatorMotion",operator:"change",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"C",type:"operator",operator:"change",operatorArgs:{linewise:!0},context:"visual"},{keys:"~",type:"operatorMotion",operator:"changeCase",motion:"moveByCharacters",motionArgs:{forward:!0},operatorArgs:{shouldMoveCursor:!0},context:"normal"},{keys:"~",type:"operator",operator:"changeCase",context:"visual"},{keys:"",type:"operatorMotion",operator:"delete",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1},context:"insert"},{keys:"",type:"action",action:"jumpListWalk",actionArgs:{forward:!0}},{keys:"",type:"action",action:"jumpListWalk",actionArgs:{forward:!1}},{keys:"",type:"action",action:"scroll",actionArgs:{forward:!0,linewise:!0}},{keys:"",type:"action",action:"scroll",actionArgs:{forward:!1,linewise:!0}},{keys:"a",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"charAfter"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"eol"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"endOfSelectedArea"},context:"visual"},{keys:"i",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"inplace"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"firstNonBlank"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"startOfSelectedArea"},context:"visual"},{keys:"o",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!0},context:"normal"},{keys:"O",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!1},context:"normal"},{keys:"v",type:"action",action:"toggleVisualMode"},{keys:"V",type:"action",action:"toggleVisualMode",actionArgs:{linewise:!0}},{keys:"",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"gv",type:"action",action:"reselectLastSelection"},{keys:"J",type:"action",action:"joinLines",isEdit:!0},{keys:"p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0}},{keys:"P",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0}},{keys:"r",type:"action",action:"replace",isEdit:!0},{keys:"@",type:"action",action:"replayMacro"},{keys:"q",type:"action",action:"enterMacroRecordMode"},{keys:"R",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{replace:!0}},{keys:"u",type:"action",action:"undo",context:"normal"},{keys:"u",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},context:"visual",isEdit:!0},{keys:"U",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},context:"visual",isEdit:!0},{keys:"",type:"action",action:"redo"},{keys:"m",type:"action",action:"setMark"},{keys:'"',type:"action",action:"setRegister"},{keys:"zz",type:"action",action:"scrollToCursor",actionArgs:{position:"center"}},{keys:"z.",type:"action",action:"scrollToCursor",actionArgs:{position:"center"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zt",type:"action",action:"scrollToCursor",actionArgs:{position:"top"}},{keys:"z",type:"action",action:"scrollToCursor",actionArgs:{position:"top"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"z-",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"}},{keys:"zb",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:".",type:"action",action:"repeatLastEdit"},{keys:"",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!0,backtrack:!1}},{keys:"",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!1,backtrack:!1}},{keys:"",type:"action",action:"indent",actionArgs:{indentRight:!0},context:"insert"},{keys:"",type:"action",action:"indent",actionArgs:{indentRight:!1},context:"insert"},{keys:"a",type:"motion",motion:"textObjectManipulation"},{keys:"i",type:"motion",motion:"textObjectManipulation",motionArgs:{textObjectInner:!0}},{keys:"/",type:"search",searchArgs:{forward:!0,querySrc:"prompt",toJumplist:!0}},{keys:"?",type:"search",searchArgs:{forward:!1,querySrc:"prompt",toJumplist:!0}},{keys:"*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"g*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:"g#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:":",type:"ex"}],n=[{name:"colorscheme",shortName:"colo"},{name:"map"},{name:"imap",shortName:"im"},{name:"nmap",shortName:"nm"},{name:"vmap",shortName:"vm"},{name:"unmap"},{name:"write",shortName:"w"},{name:"undo",shortName:"u"},{name:"redo",shortName:"red"},{name:"set",shortName:"se"},{name:"set",shortName:"se"},{name:"setlocal",shortName:"setl"},{name:"setglobal",shortName:"setg"},{name:"sort",shortName:"sor"},{name:"substitute",shortName:"s",possiblyAsync:!0},{name:"nohlsearch",shortName:"noh"},{name:"yank",shortName:"y"},{name:"delmarks",shortName:"delm"},{name:"registers",shortName:"reg",excludeFromCommandHistory:!0},{name:"global",shortName:"g"}],r=e.Pos,i=function(){function i(t){t.setOption("disableInput",!0),t.setOption("showCursorWhenSelecting",!1),e.signal(t,"vim-mode-change",{mode:"normal"}),t.on("cursorActivity",et),k(t),e.on(t.getInputField(),"paste",c(t))}function o(t){t.setOption("disableInput",!1),t.off("cursorActivity",et),e.off(t.getInputField(),"paste",c(t)),t.state.vim=null}function a(t,n){this==e.keyMap.vim&&e.rmClass(t.getWrapperElement(),"cm-fat-cursor"),n&&n.attach==s||o(t,!1)}function s(t,n){this==e.keyMap.vim&&e.addClass(t.getWrapperElement(),"cm-fat-cursor"),n&&n.attach==s||i(t)}function l(t,n){if(n){if(this[t])return this[t];var r=u(t);if(!r)return!1;var i=e.Vim.findKey(n,r);return"function"==typeof i&&e.signal(n,"vim-keypress",r),i}}function u(e){if("'"==e.charAt(0))return e.charAt(1);var t=e.split(/-(?!$)/),n=t[t.length-1];if(1==t.length&&1==t[0].length)return!1;if(2==t.length&&"Shift"==t[0]&&1==n.length)return!1;for(var r=!1,i=0;i")}function c(e){var t=e.state.vim;return t.onPasteFn||(t.onPasteFn=function(){t.insertMode||(e.setCursor(B(e.getCursor(),0,1)),At.enterInsertMode(e,{},t))}),t.onPasteFn}function d(e,t){for(var n=[],r=e;r=e.firstLine()&&t<=e.lastLine()}function p(e){return/^[a-z]$/.test(e)}function h(e){return"()[]{}".indexOf(e)!=-1}function m(e){return ut.test(e)}function g(e){return/^[A-Z]$/.test(e)}function $(e){return/^\s*$/.test(e)}function _(e,t){for(var n=0;n"==t.slice(-11)){var n=t.length-11,r=e.slice(0,n),i=t.slice(0,n);return r==i&&e.length>n?"full":0==i.indexOf(r)&&"partial"}return e==t?"full":0==t.indexOf(e)&&"partial"}function z(e){var t=/^.*(<[\w\-]+>)$/.exec(e),n=t?t[1]:e.slice(-1);if(n.length>1)switch(n){case"":n="\n";break;case"":n=" "}return n}function q(e,t,n){return function(){for(var r=0;r2&&(t=W.apply(void 0,Array.prototype.slice.call(arguments,1))),U(e,t)?e:t}function G(e,t){return arguments.length>2&&(t=G.apply(void 0,Array.prototype.slice.call(arguments,1))),U(e,t)?t:e}function V(e,t,n){var r=U(e,t),i=U(t,n);return r&&i}function K(e,t){return e.getLine(t).length}function J(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function X(e){return e.replace(/([.?*+$\[\]\/\\(){}|\-])/g,"\\$1")}function Z(e,t,n){var i=K(e,t),o=new Array(n-i+1).join(" ");e.setCursor(r(t,i)),e.replaceRange(o,e.getCursor())}function Q(e,t){var n=[],i=e.listSelections(),o=Y(e.clipPos(t)),a=!H(t,o),s=e.getCursor("head"),l=te(i,s),u=H(i[l].head,i[l].anchor),c=i.length-1,d=c-l>l?c:0,f=i[d].anchor,p=Math.min(f.line,o.line),h=Math.max(f.line,o.line),m=f.ch,g=o.ch,$=i[d].head.ch-m,_=g-m;$>0&&_<=0?(m++,a||g--):$<0&&_>=0?(m--,u||g++):$<0&&_==-1&&(m--,g++);for(var v=p;v<=h;v++){var b={anchor:new r(v,m),head:new r(v,g)};n.push(b)}return l=o.line==h?n.length-1:0,e.setSelections(n),t.ch=g,f.ch=m,f}function ee(e,t,n){for(var r=[],i=0;iu&&(o.line=u),o.ch=K(e,o.line)}return{ranges:[{anchor:a,head:o}],primary:0}}if("block"==n){for(var c=Math.min(a.line,o.line),d=Math.min(a.ch,o.ch),f=Math.max(a.line,o.line),p=Math.max(a.ch,o.ch)+1,h=f-c+1,m=o.line==c?0:h-1,g=[],$=0;$0&&o&&$(o);o=i.pop())n.line--,n.ch=0;o?(n.line--,n.ch=K(e,n.line)):n.ch=0}}function ce(e,t,n){t.ch=0,n.ch=0,n.line++}function de(e){if(!e)return 0;var t=e.search(/\S/);return t==-1?e.length:t}function fe(e,t,n,i,o){for(var a=se(e),s=e.getLine(a.line),l=a.ch,u=o?ct[0]:dt[0];!u(s.charAt(l));)if(l++,l>=s.length)return null;i?u=dt[0]:(u=ct[0],u(s.charAt(l))||(u=ct[1]));for(var c=l,d=l;u(s.charAt(c))&&c=0;)d--;if(d++,t){for(var f=c;/\s/.test(s.charAt(c))&&c0;)d--;d||(d=p)}}return{start:r(a.line,d),end:r(a.line,c)}}function pe(e,t,n){H(t,n)||bt.jumpList.add(e,t,n)}function he(e,t){bt.lastCharacterSearch.increment=e,bt.lastCharacterSearch.forward=t.forward,bt.lastCharacterSearch.selectedCharacter=t.selectedCharacter}function me(e,t,n,i){var o=Y(e.getCursor()),a=n?1:-1,s=n?e.lineCount():-1,l=o.ch,u=o.line,c=e.getLine(u),d={lineText:c,nextCh:c.charAt(l),lastCh:null,index:l,symb:i,reverseSymb:(n?{")":"(","}":"{"}:{"(":")","{":"}"})[i],forward:n,depth:0,curMoveThrough:!1},f=Ct[i];if(!f)return o;var p=St[f].init,h=St[f].isComplete;for(p&&p(d);u!==s&&t;){if(d.index+=a,d.nextCh=d.lineText.charAt(d.index),!d.nextCh){if(u+=a,d.lineText=e.getLine(u)||"",a>0)d.index=0;else{var m=d.lineText.length;d.index=m>0?m-1:0}d.nextCh=d.lineText.charAt(d.index)}h(d)&&(o.line=u,o.ch=d.index,t--)}return d.nextCh||d.curMoveThrough?r(u,d.index):o}function ge(e,t,n,r,i){var o=t.line,a=t.ch,s=e.getLine(o),l=n?1:-1,u=r?dt:ct;if(i&&""==s){ +if(o+=l,s=e.getLine(o),!f(e,o))return null;a=n?0:s.length}for(;;){if(i&&""==s)return{from:0,to:0,line:o};for(var c=l>0?s.length:-1,d=c,p=c;a!=c;){for(var h=!1,m=0;m0?0:s.length}}function $e(e,t,n,i,o,a){var s=Y(t),l=[];(i&&!o||!i&&o)&&n++;for(var u=!(i&&o),c=0;c0;)s(p,i)&&n--,p+=i;return new r(p,0)}var h=e.state.vim;if(h.visualLine&&s(c,1,!0)){var m=h.sel.anchor;s(m.line,-1,!0)&&(o&&m.line==c||(c+=1))}var g=a(c);for(p=c;p<=f&&n;p++)s(p,1,!0)&&(o&&a(p)==g||n--);for(u=new r(p,0),p>f&&!g?g=!0:o=!1,p=c;p>d&&(o&&a(p)!=g&&p!=c||!s(p,-1,!0));p--);return l=new r(p,0),{start:l,end:u}}function ke(e,t,n,i){var o,a,s=t,l={"(":/[()]/,")":/[()]/,"[":/[[\]]/,"]":/[[\]]/,"{":/[{}]/,"}":/[{}]/}[n],u={"(":"(",")":"(","[":"[","]":"[","{":"{","}":"{"}[n],c=e.getLine(s.line).charAt(s.ch),d=c===u?1:0;if(o=e.scanForBracket(r(s.line,s.ch+d),-1,null,{bracketRegex:l}),a=e.scanForBracket(r(s.line,s.ch+d),1,null,{bracketRegex:l}),!o||!a)return{start:s,end:s};if(o=o.pos,a=a.pos,o.line==a.line&&o.ch>a.ch||o.line>a.line){var f=o;o=a,a=f}return i?a.ch+=1:o.ch+=1,{start:o,end:a}}function we(e,t,n,i){var o,a,s,l,u=Y(t),c=e.getLine(u.line),d=c.split(""),f=d.indexOf(n);if(u.ch-1&&!o;s--)d[s]==n&&(o=s+1);else o=u.ch+1;if(o&&!a)for(s=o,l=d.length;s'+t+"",{bottom:!0,duration:5e3}):alert(t)}function Re(e,t){var n=''+(e||"")+'';return t&&(n+=' '+t+""),n}function Ie(e,t){var n=(t.prefix||"")+" "+(t.desc||""),r=Re(t.prefix,t.desc);Ce(e,r,n,t.onClose,t)}function Be(e,t){if(e instanceof RegExp&&t instanceof RegExp){for(var n=["global","multiline","ignoreCase","source"],r=0;r=t&&e<=n:e==t}function He(e){var t=e.getScrollInfo(),n=6,r=10,i=e.coordsChar({left:0,top:n+t.top},"local"),o=t.clientHeight-r+t.top,a=e.coordsChar({left:0,top:o},"local");return{top:i.line,bottom:a.line}}function Ue(t,n,r,i,o,a,s,l,u){function c(){t.operation(function(){for(;!m;)d(),f();p()})}function d(){var e=t.getRange(a.from(),a.to()),n=e.replace(s,l);a.replace(n)}function f(){for(;a.findNext()&&Ye(a.from(),i,o);)if(r||!g||a.from().line!=g.line)return t.scrollIntoView(a.from(),30),t.setSelection(a.from(),a.to()),g=a.from(),void(m=!1);m=!0}function p(e){if(e&&e(),t.focus(),g){t.setCursor(g);var n=t.state.vim;n.exMode=!1,n.lastHPos=n.lastHSPos=g.ch}u&&u()}function h(n,r,i){e.e_stop(n);var o=e.keyName(n);switch(o){case"Y":d(),f();break;case"N":f();break;case"A":var a=u;u=void 0,t.operation(c),u=a;break;case"L":d();case"Q":case"Esc":case"Ctrl-C":case"Ctrl-[":p(i)}return m&&p(i),!0}t.state.vim.exMode=!0;var m=!1,g=a.from();return f(),m?void Oe(t,"No matches for "+s.source):n?void Ie(t,{prefix:"replace with "+l+" (y/n/a/q/l)",onKeyDown:h}):(c(),void(u&&u()))}function We(t){var n=t.state.vim,r=bt.macroModeState,i=bt.registerController.getRegister("."),o=r.isPlaying,a=r.lastInsertModeChanges,s=[];if(!o){for(var l=a.inVisualBlock?n.lastSelection.visualBlock.height:1,u=a.changes,s=[],c=0;c1&&(ot(t,n,n.insertModeRepeat-1,!0),n.lastEditInputState.repeatOverride=n.insertModeRepeat),delete n.insertModeRepeat,n.insertMode=!1,t.setCursor(t.getCursor().line,t.getCursor().ch-1),t.setOption("keyMap","vim"),t.setOption("disableInput",!0),t.toggleOverwrite(!1),i.setText(a.changes.join("")),e.signal(t,"vim-mode-change",{mode:"normal"}),r.isRecording&&Xe(r)}function Ge(e){t.unshift(e)}function Ve(e,t,n,r,i){var o={keys:e,type:t};o[t]=n,o[t+"Args"]=r;for(var a in i)o[a]=i[a];Ge(o)}function Ke(t,n,r,i){var o=bt.registerController.getRegister(i);if(":"==i)return o.keyBuffer[0]&&Ot.processCommand(t,o.keyBuffer[0]),void(r.isPlaying=!1);var a=o.keyBuffer,s=0;r.isPlaying=!0,r.replaySearchQueries=o.searchQueries.slice(0);for(var l=0;l|<\w+>|./.exec(d),c=u[0],d=d.substring(u.index+c.length),e.Vim.handleKey(t,c,"macro"),n.insertMode){var f=o.insertModeChanges[s++].changes;bt.macroModeState.lastInsertModeChanges.changes=f,at(t,f,1),We(t)}r.isPlaying=!1}function Je(e,t){if(!e.isPlaying){var n=e.latestRegister,r=bt.registerController.getRegister(n);r&&r.pushText(t)}}function Xe(e){if(!e.isPlaying){var t=e.latestRegister,n=bt.registerController.getRegister(t);n&&n.pushInsertModeChanges&&n.pushInsertModeChanges(e.lastInsertModeChanges)}}function Ze(e,t){if(!e.isPlaying){var n=e.latestRegister,r=bt.registerController.getRegister(n);r&&r.pushSearchQuery&&r.pushSearchQuery(t)}}function Qe(e,t){var n=bt.macroModeState,r=n.lastInsertModeChanges;if(!n.isPlaying)for(;t;){if(r.expectCursorActivityForChange=!0,"+input"==t.origin||"paste"==t.origin||void 0===t.origin){var i=t.text.join("\n");r.maybeReset&&(r.changes=[],r.maybeReset=!1),r.changes.push(i)}t=t.next}}function et(e){var t=e.state.vim;if(t.insertMode){var n=bt.macroModeState;if(n.isPlaying)return;var r=n.lastInsertModeChanges;r.expectCursorActivityForChange?r.expectCursorActivityForChange=!1:r.maybeReset=!0}else e.curOp.isVimOp||nt(e,t);t.visualMode&&tt(e)}function tt(e){var t=e.state.vim,n=R(e,Y(t.sel.head)),r=B(n,0,1);t.fakeCursor&&t.fakeCursor.clear(),t.fakeCursor=e.markText(n,r,{className:"cm-animate-fat-cursor"})}function nt(t,n){var r=t.getCursor("anchor"),i=t.getCursor("head");if(n.visualMode&&!t.somethingSelected()?le(t,!1):n.visualMode||n.insertMode||!t.somethingSelected()||(n.visualMode=!0,n.visualLine=!1,e.signal(t,"vim-mode-change",{mode:"visual"})),n.visualMode){var o=U(i,r)?0:-1,a=U(i,r)?-1:0;i=B(i,0,o),r=B(r,0,a),n.sel={anchor:r,head:i},be(t,n,"<",W(i,r)),be(t,n,">",G(i,r))}else n.insertMode||(n.lastHPos=t.getCursor().ch)}function rt(e){this.keyName=e}function it(t){function n(){return i.maybeReset&&(i.changes=[],i.maybeReset=!1),i.changes.push(new rt(o)),!0}var r=bt.macroModeState,i=r.lastInsertModeChanges,o=e.keyName(t);o&&(o.indexOf("Delete")==-1&&o.indexOf("Backspace")==-1||e.lookupKey(o,"vim-insert",n))}function ot(e,t,n,r){function i(){s?kt.processAction(e,t,t.lastEditActionCommand):kt.evalInput(e,t)}function o(n){if(a.lastInsertModeChanges.changes.length>0){n=t.lastEditActionCommand?n:1;var r=a.lastInsertModeChanges;at(e,r.changes,n)}}var a=bt.macroModeState;a.isPlaying=!0;var s=!!t.lastEditActionCommand,l=t.inputState;if(t.inputState=t.lastEditInputState,s&&t.lastEditActionCommand.interlaceInsertRepeat)for(var u=0;u"]),gt=[].concat(ft,pt,ht,["-",'"',".",":","/"]),$t={};v("filetype",void 0,"string",["ft"],function(e,t){if(void 0!==t){if(void 0===e){var n=t.getOption("mode");return"null"==n?"":n}var n=""==e?"null":e;t.setOption("mode",n)}});var _t=function(){function e(e,t,s){function l(t){var i=++r%n,o=a[i];o&&o.clear(),a[i]=e.setBookmark(t)}var u=r%n,c=a[u];if(c){var d=c.find();d&&!H(d,t)&&l(t)}else l(t);l(s),i=r,o=r-n+1,o<0&&(o=0)}function t(e,t){r+=t,r>i?r=i:r0?1:-1,c=e.getCursor();do if(r+=u,s=a[(n+r)%n],s&&(l=s.find())&&!H(c,l))break;while(ro)}return s}var n=100,r=-1,i=0,o=0,a=new Array(n);return{cachedCursor:void 0,add:e,move:t}},vt=function(e){return e?{changes:e.changes,expectCursorActivityForChange:e.expectCursorActivityForChange}:{changes:[],expectCursorActivityForChange:!1}};x.prototype={exitMacroRecordMode:function(){var e=bt.macroModeState;e.onRecordingDone&&e.onRecordingDone(),e.onRecordingDone=void 0,e.isRecording=!1},enterMacroRecordMode:function(e,t){var n=bt.registerController.getRegister(t);n&&(n.clear(),this.latestRegister=t,e.openDialog&&(this.onRecordingDone=e.openDialog("(recording)["+t+"]",null,{bottom:!0})),this.isRecording=!0)}};var bt,yt,xt={buildKeyMap:function(){},getRegisterController:function(){return bt.registerController},resetVimGlobalState_:w,getVimGlobalState_:function(){return bt},maybeInitVimState_:k,suppressErrorLogging:!1,InsertModeKey:rt,map:function(e,t,n){Ot.map(e,t,n)},unmap:function(e,t){Ot.unmap(e,t)},setOption:b,getOption:y,defineOption:v,defineEx:function(e,t,n){if(t){if(0!==e.indexOf(t))throw new Error('(Vim.defineEx) "'+t+'" is not a prefix of "'+e+'", command not registered')}else t=e;Ft[e]=n,Ot.commandMap_[t]={name:e,shortName:t,type:"api"}},handleKey:function(e,t,n){var r=this.findKey(e,t,n);if("function"==typeof r)return r()},findKey:function(n,r,i){function o(){var e=bt.macroModeState;if(e.isRecording){if("q"==r)return e.exitMacroRecordMode(),A(n),!0;"mapping"!=i&&Je(e,r)}}function a(){if(""==r)return A(n),d.visualMode?le(n):d.insertMode&&We(n),!0}function s(t){for(var i;t;)i=/<\w+-.+?>|<\w+>|./.exec(t),r=i[0],t=t.substring(i.index+r.length),e.Vim.handleKey(n,r,"mapping")}function l(){if(a())return!0;for(var e=d.inputState.keyBuffer=d.inputState.keyBuffer+r,i=1==r.length,o=kt.matchCommand(e,t,d.inputState,"insert");e.length>1&&"full"!=o.type;){var e=d.inputState.keyBuffer=e.slice(1),s=kt.matchCommand(e,t,d.inputState,"insert");"none"!=s.type&&(o=s)}if("none"==o.type)return A(n),!1;if("partial"==o.type)return yt&&window.clearTimeout(yt),yt=window.setTimeout(function(){d.insertMode&&d.inputState.keyBuffer&&A(n)},y("insertModeEscKeysTimeout")),!i;if(yt&&window.clearTimeout(yt),i){for(var l=n.listSelections(),u=0;u0||this.motionRepeat.length>0)&&(e=1,this.prefixRepeat.length>0&&(e*=parseInt(this.prefixRepeat.join(""),10)),this.motionRepeat.length>0&&(e*=parseInt(this.motionRepeat.join(""),10))),e},C.prototype={setText:function(e,t,n){this.keyBuffer=[e||""],this.linewise=!!t,this.blockwise=!!n},pushText:function(e,t){t&&(this.linewise||this.keyBuffer.push("\n"),this.linewise=!0),this.keyBuffer.push(e)},pushInsertModeChanges:function(e){this.insertModeChanges.push(vt(e))},pushSearchQuery:function(e){this.searchQueries.push(e)},clear:function(){this.keyBuffer=[],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!1},toString:function(){return this.keyBuffer.join("")}},T.prototype={pushText:function(e,t,n,r,i){r&&"\n"==n.charAt(0)&&(n=n.slice(1)+"\n"),r&&"\n"!==n.charAt(n.length-1)&&(n+="\n");var o=this.isValidRegister(e)?this.getRegister(e):null;if(!o){switch(t){case"yank":this.registers[0]=new C(n,r,i);break;case"delete":case"change":n.indexOf("\n")==-1?this.registers["-"]=new C(n,r):(this.shiftNumericRegisters_(),this.registers[1]=new C(n,r))}return void this.unnamedRegister.setText(n,r,i)}var a=g(e);a?o.pushText(n,r):o.setText(n,r,i),this.unnamedRegister.setText(o.toString(),r)},getRegister:function(e){return this.isValidRegister(e)?(e=e.toLowerCase(),this.registers[e]||(this.registers[e]=new C),this.registers[e]):this.unnamedRegister},isValidRegister:function(e){return e&&_(e,gt)},shiftNumericRegisters_:function(){for(var e=9;e>=2;e--)this.registers[e]=this.getRegister(""+(e-1))}},M.prototype={nextMatch:function(e,t){var n=this.historyBuffer,r=t?-1:1;null===this.initialPrefix&&(this.initialPrefix=e);for(var i=this.iterator+r;t?i>=0:i=n.length?(this.iterator=n.length,this.initialPrefix):i<0?e:void 0},pushInput:function(e){var t=this.historyBuffer.indexOf(e);t>-1&&this.historyBuffer.splice(t,1),e.length&&this.historyBuffer.push(e)},reset:function(){this.initialPrefix=null,this.iterator=this.historyBuffer.length}};var kt={matchCommand:function(e,t,n,r){var i=j(e,t,r,n);if(!i.full&&!i.partial)return{type:"none"};if(!i.full&&i.partial)return{type:"partial"};for(var o,a=0;a"==o.keys.slice(-11)&&(n.selectedCharacter=z(e)),{type:"full",command:o}},processCommand:function(e,t,n){switch(t.inputState.repeatOverride=n.repeatOverride,n.type){case"motion":this.processMotion(e,t,n);break;case"operator":this.processOperator(e,t,n);break;case"operatorMotion":this.processOperatorMotion(e,t,n);break;case"action":this.processAction(e,t,n);break;case"search":this.processSearch(e,t,n);break;case"ex":case"keyToEx":this.processEx(e,t,n)}},processMotion:function(e,t,n){t.inputState.motion=n.motion,t.inputState.motionArgs=I(n.motionArgs),this.evalInput(e,t)},processOperator:function(e,t,n){var r=t.inputState;if(r.operator){if(r.operator==n.operator)return r.motion="expandToLine",r.motionArgs={linewise:!0},void this.evalInput(e,t);A(e)}r.operator=n.operator,r.operatorArgs=I(n.operatorArgs),t.visualMode&&this.evalInput(e,t)},processOperatorMotion:function(e,t,n){var r=t.visualMode,i=I(n.operatorMotionArgs);i&&r&&i.visualLine&&(t.visualLine=!0),this.processOperator(e,t,n),r||this.processMotion(e,t,n)},processAction:function(e,t,n){var r=t.inputState,i=r.getRepeat(),o=!!i,a=I(n.actionArgs)||{};r.selectedCharacter&&(a.selectedCharacter=r.selectedCharacter),n.operator&&this.processOperator(e,t,n),n.motion&&this.processMotion(e,t,n),(n.motion||n.operator)&&this.evalInput(e,t),a.repeat=i||1,a.repeatIsExplicit=o,a.registerName=r.registerName,A(e),t.lastMotion=null,n.isEdit&&this.recordLastEdit(t,r,n),At[n.action](e,a,t)},processSearch:function(t,n,r){function i(e,i,o){bt.searchHistoryController.pushInput(e),bt.searchHistoryController.reset();try{Pe(t,e,i,o)}catch(n){return Oe(t,"Invalid regex: "+e),void A(t)}kt.processMotion(t,n,{type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:r.searchArgs.toJumplist}})}function o(e){t.scrollTo(f.left,f.top),i(e,!0,!0);var n=bt.macroModeState;n.isRecording&&Ze(n,e)}function a(n,r,i){var o,a,s=e.keyName(n);"Up"==s||"Down"==s?(o="Up"==s,a=n.target?n.target.selectionEnd:0,r=bt.searchHistoryController.nextMatch(r,o)||"",i(r),a&&n.target&&(n.target.selectionEnd=n.target.selectionStart=Math.min(a,n.target.value.length))):"Left"!=s&&"Right"!=s&&"Ctrl"!=s&&"Alt"!=s&&"Shift"!=s&&bt.searchHistoryController.reset();var u;try{u=Pe(t,r,!0,!0)}catch(e){}u?t.scrollIntoView(ze(t,!l,u),30):(qe(t),t.scrollTo(f.left,f.top))}function s(n,r,i){var o=e.keyName(n);"Esc"==o||"Ctrl-C"==o||"Ctrl-["==o||"Backspace"==o&&""==r?(bt.searchHistoryController.pushInput(r),bt.searchHistoryController.reset(),Pe(t,d),qe(t),t.scrollTo(f.left,f.top),e.e_stop(n),A(t),i(),t.focus()):"Up"==o||"Down"==o?e.e_stop(n):"Ctrl-U"==o&&(e.e_stop(n),i(""))}if(t.getSearchCursor){var l=r.searchArgs.forward,u=r.searchArgs.wholeWordOnly;Ae(t).setReversed(!l);var c=l?"/":"?",d=Ae(t).getQuery(),f=t.getScrollInfo();switch(r.searchArgs.querySrc){case"prompt":var p=bt.macroModeState;if(p.isPlaying){var h=p.replaySearchQueries.shift();i(h,!0,!1)}else Ie(t,{onClose:o,prefix:c,desc:Dt,onKeyUp:a,onKeyDown:s});break;case"wordUnderCursor":var m=fe(t,!1,!0,!1,!0),g=!0;if(m||(m=fe(t,!1,!0,!1,!1),g=!1),!m)return;var h=t.getLine(m.start.line).substring(m.start.ch,m.end.ch);h=g&&u?"\\b"+h+"\\b":X(h),bt.jumpList.cachedCursor=t.getCursor(),t.setCursor(m.start),i(h,!0,!1)}}},processEx:function(t,n,r){function i(e){bt.exCommandHistoryController.pushInput(e),bt.exCommandHistoryController.reset(),Ot.processCommand(t,e)}function o(n,r,i){var o,a,s=e.keyName(n);("Esc"==s||"Ctrl-C"==s||"Ctrl-["==s||"Backspace"==s&&""==r)&&(bt.exCommandHistoryController.pushInput(r),bt.exCommandHistoryController.reset(),e.e_stop(n),A(t),i(),t.focus()),"Up"==s||"Down"==s?(e.e_stop(n),o="Up"==s,a=n.target?n.target.selectionEnd:0,r=bt.exCommandHistoryController.nextMatch(r,o)||"",i(r),a&&n.target&&(n.target.selectionEnd=n.target.selectionStart=Math.min(a,n.target.value.length))):"Ctrl-U"==s?(e.e_stop(n),i("")):"Left"!=s&&"Right"!=s&&"Ctrl"!=s&&"Alt"!=s&&"Shift"!=s&&bt.exCommandHistoryController.reset()}"keyToEx"==r.type?Ot.processCommand(t,r.exArgs.input):n.visualMode?Ie(t,{onClose:i,prefix:":",value:"'<,'>",onKeyDown:o}):Ie(t,{onClose:i,prefix:":",onKeyDown:o})},evalInput:function(e,t){var n,i,o,a=t.inputState,s=a.motion,l=a.motionArgs||{},u=a.operator,c=a.operatorArgs||{},d=a.registerName,f=t.sel,p=Y(t.visualMode?R(e,f.head):e.getCursor("head")),h=Y(t.visualMode?R(e,f.anchor):e.getCursor("anchor")),m=Y(p),g=Y(h);if(u&&this.recordLastEdit(t,a),o=void 0!==a.repeatOverride?a.repeatOverride:a.getRepeat(),o>0&&l.explicitRepeat?l.repeatIsExplicit=!0:(l.noRepeat||!l.explicitRepeat&&0===o)&&(o=1,l.repeatIsExplicit=!1),a.selectedCharacter&&(l.selectedCharacter=c.selectedCharacter=a.selectedCharacter),l.repeat=o,A(e),s){var $=wt[s](e,p,l,t);if(t.lastMotion=wt[s],!$)return;if(l.toJumplist){var _=bt.jumpList,v=_.cachedCursor;v?(pe(e,v,$),delete _.cachedCursor):pe(e,p,$)}$ instanceof Array?(i=$[0],n=$[1]):n=$,n||(n=Y(p)),t.visualMode?(t.visualBlock&&n.ch===1/0||(n=R(e,n,t.visualBlock)),i&&(i=R(e,i,!0)),i=i||g,f.anchor=i,f.head=n,oe(e),be(e,t,"<",U(i,n)?i:n),be(e,t,">",U(i,n)?n:i)):u||(n=R(e,n),e.setCursor(n.line,n.ch))}if(u){if(c.lastSel){i=g;var b=c.lastSel,y=Math.abs(b.head.line-b.anchor.line),x=Math.abs(b.head.ch-b.anchor.ch);n=b.visualLine?r(g.line+y,g.ch):b.visualBlock?r(g.line+y,g.ch+x):b.head.line==b.anchor.line?r(g.line,g.ch+x):r(g.line+y,g.ch),t.visualMode=!0,t.visualLine=b.visualLine,t.visualBlock=b.visualBlock,f=t.sel={anchor:i,head:n},oe(e)}else t.visualMode&&(c.lastSel={anchor:Y(f.anchor),head:Y(f.head),visualBlock:t.visualBlock,visualLine:t.visualLine});var k,w,E,C,S;if(t.visualMode){if(k=W(f.head,f.anchor),w=G(f.head,f.anchor),E=t.visualLine||c.linewise,C=t.visualBlock?"block":E?"line":"char",S=ae(e,{anchor:k,head:w},C),E){var T=S.ranges;if("block"==C)for(var M=0;Mc&&o.line==c?this.moveToEol(e,t,n,i):(n.toFirstChar&&(a=de(e.getLine(l)),i.lastHPos=a),i.lastHSPos=e.charCoords(r(l,a),"div").left,r(l,a))},moveByDisplayLines:function(e,t,n,i){var o=t;switch(i.lastMotion){case this.moveByDisplayLines:case this.moveByScroll:case this.moveByLines:case this.moveToColumn:case this.moveToEol:break;default:i.lastHSPos=e.charCoords(o,"div").left}var a=n.repeat,s=e.findPosV(o,n.forward?a:-a,"line",i.lastHSPos);if(s.hitSide)if(n.forward)var l=e.charCoords(s,"div"),u={top:l.top+8,left:i.lastHSPos},s=e.coordsChar(u,"div");else{var c=e.charCoords(r(e.firstLine(),0),"div");c.left=i.lastHSPos,s=e.coordsChar(c,"div")}return i.lastHPos=s.ch,s},moveByPage:function(e,t,n){var r=t,i=n.repeat;return e.findPosV(r,n.forward?i:-i,"page")},moveByParagraph:function(e,t,n){var r=n.forward?1:-1;return xe(e,t,n.repeat,r)},moveByScroll:function(e,t,n,r){var i=e.getScrollInfo(),o=null,a=n.repeat;a||(a=i.clientHeight/(2*e.defaultTextHeight()));var s=e.charCoords(t,"local");n.repeat=a;var o=wt.moveByDisplayLines(e,t,n,r);if(!o)return null;var l=e.charCoords(o,"local");return e.scrollTo(null,i.top+l.top-s.top),o},moveByWords:function(e,t,n){return $e(e,t,n.repeat,!!n.forward,!!n.wordEnd,!!n.bigWord)},moveTillCharacter:function(e,t,n){var r=n.repeat,i=_e(e,r,n.forward,n.selectedCharacter),o=n.forward?-1:1;return he(o,n),i?(i.ch+=o,i):null},moveToCharacter:function(e,t,n){var r=n.repeat;return he(0,n),_e(e,r,n.forward,n.selectedCharacter)||t},moveToSymbol:function(e,t,n){var r=n.repeat;return me(e,r,n.forward,n.selectedCharacter)||t},moveToColumn:function(e,t,n,r){var i=n.repeat;return r.lastHPos=i-1,r.lastHSPos=e.charCoords(t,"div").left,ve(e,i)},moveToEol:function(e,t,n,i){var o=t;i.lastHPos=1/0;var a=r(o.line+n.repeat-1,1/0),s=e.clipPos(a);return s.ch--,i.lastHSPos=e.charCoords(s,"div").left,a},moveToFirstNonWhiteSpaceCharacter:function(e,t){var n=t;return r(n.line,de(e.getLine(n.line)))},moveToMatchedSymbol:function(e,t){var n,i=t,o=i.line,a=i.ch,s=e.getLine(o);do if(n=s.charAt(a++),n&&h(n)){var l=e.getTokenTypeAt(r(o,a));if("string"!==l&&"comment"!==l)break}while(n);if(n){var u=e.findMatchingBracket(r(o,a));return u.to}return i},moveToStartOfLine:function(e,t){return r(t.line,0)},moveToLineOrEdgeOfDocument:function(e,t,n){var i=n.forward?e.lastLine():e.firstLine();return n.repeatIsExplicit&&(i=n.repeat-e.getOption("firstLineNumber")),r(i,de(e.getLine(i)))},textObjectManipulation:function(e,t,n,r){var i={"(":")",")":"(","{":"}","}":"{","[":"]","]":"["},o={"'":!0,'"':!0},a=n.selectedCharacter;"b"==a?a="(":"B"==a&&(a="{");var s,l=!n.textObjectInner;if(i[a])s=ke(e,t,a,l);else if(o[a])s=we(e,t,a,l);else if("W"===a)s=fe(e,l,!0,!0);else if("w"===a)s=fe(e,l,!0,!1);else{if("p"!==a)return null;if(s=xe(e,t,n.repeat,0,l),n.linewise=!0,r.visualMode)r.visualLine||(r.visualLine=!0);else{var u=r.inputState.operatorArgs;u&&(u.linewise=!0),s.end.line--}}return e.state.vim.visualMode?ie(e,s.start,s.end):[s.start,s.end]},repeatLastCharacterSearch:function(e,t,n){var r=bt.lastCharacterSearch,i=n.repeat,o=n.forward===r.forward,a=(r.increment?1:0)*(o?-1:1);e.moveH(-a,"char"),n.inclusive=!!o;var s=_e(e,i,o,r.selectedCharacter);return s?(s.ch+=a,s):(e.moveH(a,"char"),t)}},Et={change:function(t,n,i){var o,a,s=t.state.vim;if(bt.macroModeState.lastInsertModeChanges.inVisualBlock=s.visualBlock,s.visualMode){a=t.getSelection();var l=L("",i.length);t.replaceSelections(l),o=W(i[0].head,i[0].anchor)}else{var u=i[0].anchor,c=i[0].head;a=t.getRange(u,c);var d=s.lastEditInputState||{};if("moveByWords"==d.motion&&!$(a)){var f=/\s+$/.exec(a);f&&d.motionArgs&&d.motionArgs.forward&&(c=B(c,0,-f[0].length),a=a.slice(0,-f[0].length))}var p=new r(u.line-1,Number.MAX_VALUE),h=t.firstLine()==t.lastLine();c.line>t.lastLine()&&n.linewise&&!h?t.replaceRange("",p,c):t.replaceRange("",u,c),n.linewise&&(h||(t.setCursor(p),e.commands.newlineAndIndent(t)),u.ch=Number.MAX_VALUE),o=u}bt.registerController.pushText(n.registerName,"change",a,n.linewise,i.length>1),At.enterInsertMode(t,{head:o},t.state.vim)},delete:function(e,t,n){var i,o,a=e.state.vim;if(a.visualBlock){o=e.getSelection();var s=L("",n.length);e.replaceSelections(s),i=n[0].anchor}else{var l=n[0].anchor,u=n[0].head;t.linewise&&u.line!=e.firstLine()&&l.line==e.lastLine()&&l.line==u.line-1&&(l.line==e.firstLine()?l.ch=0:l=r(l.line-1,K(e,l.line-1))),o=e.getRange(l,u),e.replaceRange("",l,u),i=l,t.linewise&&(i=wt.moveToFirstNonWhiteSpaceCharacter(e,l))}return bt.registerController.pushText(t.registerName,"delete",o,t.linewise,a.visualBlock),R(e,i)},indent:function(e,t,n){var r=e.state.vim,i=n[0].anchor.line,o=r.visualBlock?n[n.length-1].anchor.line:n[0].head.line,a=r.visualMode?t.repeat:1;t.linewise&&o--;for(var s=i;s<=o;s++)for(var l=0;lu.top?(l.line+=(s-u.top)/i,l.line=Math.ceil(l.line),e.setCursor(l),u=e.charCoords(l,"local"),e.scrollTo(null,u.top)):e.scrollTo(null,s);else{var c=s+e.getScrollInfo().clientHeight;c=a.anchor.line?B(a.head,0,1):r(a.anchor.line,0);else if("inplace"==o&&i.visualMode)return;t.setOption("disableInput",!1),n&&n.replace?(t.toggleOverwrite(!0),t.setOption("keyMap","vim-replace"),e.signal(t,"vim-mode-change",{mode:"replace"})):(t.toggleOverwrite(!1),t.setOption("keyMap","vim-insert"),e.signal(t,"vim-mode-change",{mode:"insert"})),bt.macroModeState.isPlaying||(t.on("change",Qe),e.on(t.getInputField(),"keydown",it)),i.visualMode&&le(t),ee(t,s,l)}},toggleVisualMode:function(t,n,i){var o,a=n.repeat,s=t.getCursor();i.visualMode?i.visualLine^n.linewise||i.visualBlock^n.blockwise?(i.visualLine=!!n.linewise,i.visualBlock=!!n.blockwise,e.signal(t,"vim-mode-change",{mode:"visual",subMode:i.visualLine?"linewise":i.visualBlock?"blockwise":""}),oe(t)):le(t):(i.visualMode=!0,i.visualLine=!!n.linewise,i.visualBlock=!!n.blockwise,o=R(t,r(s.line,s.ch+a-1),!0),i.sel={anchor:s,head:o},e.signal(t,"vim-mode-change",{mode:"visual",subMode:i.visualLine?"linewise":i.visualBlock?"blockwise":""}),oe(t),be(t,i,"<",W(s,o)),be(t,i,">",G(s,o)))},reselectLastSelection:function(t,n,r){var i=r.lastSelection;if(r.visualMode&&re(t,r),i){var o=i.anchorMark.find(),a=i.headMark.find();if(!o||!a)return;r.sel={anchor:o,head:a},r.visualMode=!0,r.visualLine=i.visualLine,r.visualBlock=i.visualBlock,oe(t),be(t,r,"<",W(o,a)),be(t,r,">",G(o,a)),e.signal(t,"vim-mode-change",{mode:"visual",subMode:r.visualLine?"linewise":r.visualBlock?"blockwise":""})}},joinLines:function(e,t,n){var i,o;if(n.visualMode){if(i=e.getCursor("anchor"),o=e.getCursor("head"),U(o,i)){var a=o;o=i,i=a}o.ch=K(e,o.line)-1}else{var s=Math.max(t.repeat,2);i=e.getCursor(),o=R(e,r(i.line+s-1,1/0))}for(var l=0,u=i.line;u1)var a=Array(t.repeat+1).join(a);var h=o.linewise,m=o.blockwise;if(h)n.visualMode?a=n.visualLine?a.slice(0,-1):"\n"+a.slice(0,a.length-1)+"\n":t.after?(a="\n"+a.slice(0,a.length-1),i.ch=K(e,i.line)):i.ch=0;else{if(m){a=a.split("\n");for(var g=0;ge.lastLine()&&e.replaceRange("\n",r(A,0));var C=K(e,A);Cc.length&&(o=c.length),a=r(l.line,o)}if("\n"==s)i.visualMode||t.replaceRange("",l,a),(e.commands.newlineAndIndentContinueComment||e.commands.newlineAndIndent)(t);else{var d=t.getRange(l,a);if(d=d.replace(/[^\n]/g,s),i.visualBlock){var f=new Array(t.getOption("tabSize")+1).join(" ");d=t.getSelection(),d=d.replace(/\t/g,f).replace(/[^\n]/g,s).split("\n"),t.replaceSelections(d)}else t.replaceRange(d,l,a);i.visualMode?(l=U(u[0].anchor,u[0].head)?u[0].anchor:u[0].head,t.setCursor(l),le(t,!1)):t.setCursor(B(a,0,-1))}},incrementNumberToken:function(e,t){for(var n,i,o,a,s,l=e.getCursor(),u=e.getLine(l.line),c=/-?\d+/g;null!==(n=c.exec(u))&&(s=n[0],i=n.index,o=i+s.length,!(l.ch=1)return!0}else e.nextCh===e.reverseSymb&&e.depth--;return!1}},section:{init:function(e){e.curMoveThrough=!0,e.symb=(e.forward?"]":"[")===e.symb?"{":"}"},isComplete:function(e){return 0===e.index&&e.nextCh===e.symb}},comment:{isComplete:function(e){var t="*"===e.lastCh&&"/"===e.nextCh;return e.lastCh=e.nextCh,t}},method:{init:function(e){e.symb="m"===e.symb?"{":"}",e.reverseSymb="{"===e.symb?"}":"{"},isComplete:function(e){return e.nextCh===e.symb}},preprocess:{init:function(e){e.index=0},isComplete:function(e){if("#"===e.nextCh){var t=e.lineText.match(/#(\w+)/)[1];if("endif"===t){if(e.forward&&0===e.depth)return!0;e.depth++}else if("if"===t){if(!e.forward&&0===e.depth)return!0;e.depth--}if("else"===t&&0===e.depth)return!0}return!1}}};v("pcre",!0,"boolean"),Ee.prototype={getQuery:function(){return bt.query},setQuery:function(e){bt.query=e},getOverlay:function(){return this.searchOverlay},setOverlay:function(e){this.searchOverlay=e},isReversed:function(){return bt.isReversed},setReversed:function(e){bt.isReversed=e},getScrollbarAnnotate:function(){return this.annotate},setScrollbarAnnotate:function(e){this.annotate=e}};var Tt={"\\n":"\n","\\r":"\r","\\t":"\t"},Mt={"\\/":"/","\\\\":"\\","\\n":"\n","\\r":"\r","\\t":"\t"},Dt="(Javascript regexp)",Lt=function(){this.buildCommandMap_()};Lt.prototype={processCommand:function(e,t,n){var r=this;e.operation(function(){e.curOp.isVimOp=!0,r._processCommand(e,t,n)})},_processCommand:function(t,n,r){var i=t.state.vim,o=bt.registerController.getRegister(":"),a=o.toString();i.visualMode&&le(t);var s=new e.StringStream(n);o.setText(n);var l=r||{};l.input=n;try{this.parseInput_(t,s,l)}catch(e){throw Oe(t,e),e}var u,c;if(l.commandName){if(u=this.matchCommand_(l.commandName)){if(c=u.name,u.excludeFromCommandHistory&&o.setText(a),this.parseCommandArgs_(s,l,u),"exToKey"==u.type){for(var d=0;d0;t--){var n=e.substring(0,t);if(this.commandMap_[n]){var r=this.commandMap_[n];if(0===r.name.indexOf(e))return r}}return null},buildCommandMap_:function(){this.commandMap_={};for(var e=0;e
    ";if(n){var o;n=n.join("");for(var a=0;a"}}else for(var o in r){var l=r[o].toString();l.length&&(i+='"'+o+" "+l+"
    ")}Oe(e,i)},sort:function(t,n){function i(){if(n.argString){var t=new e.StringStream(n.argString);if(t.eat("!")&&(s=!0),t.eol())return;if(!t.eatSpace())return"Invalid arguments";var r=t.match(/([dinuox]+)?\s*(\/.+\/)?\s*/);if(!r&&!t.eol())return"Invalid arguments";if(r[1]){l=r[1].indexOf("i")!=-1,u=r[1].indexOf("u")!=-1;var i=r[1].indexOf("d")!=-1||r[1].indexOf("n")!=-1&&1,o=r[1].indexOf("x")!=-1&&1,a=r[1].indexOf("o")!=-1&&1;if(i+o+a>1)return"Invalid arguments";c=i&&"decimal"||o&&"hex"||a&&"octal"}r[2]&&(d=new RegExp(r[2].substr(1,r[2].length-2),l?"i":""))}}function o(e,t){if(s){var n;n=e,e=t,t=n}l&&(e=e.toLowerCase(),t=t.toLowerCase());var r=c&&_.exec(e),i=c&&_.exec(t);return r?(r=parseInt((r[1]+r[2]).toLowerCase(),v),i=parseInt((i[1]+i[2]).toLowerCase(),v),r-i):e")}if(!r)return void Oe(e,c);var p=0,h=function(){if(p=c)return void Oe(t,"Invalid argument: "+n.argString.substring(o));for(var d=0;d<=c-u;d++){var f=String.fromCharCode(u+d);delete r.marks[f]}}else delete r.marks[a]}}},Ot=new Lt;return e.keyMap.vim={attach:s,detach:a,call:l},v("insertModeEscKeysTimeout",200,"number"),e.keyMap["vim-insert"]={fallthrough:["default"],attach:s,detach:a,call:l},e.keyMap["vim-replace"]={Backspace:"goCharLeft",fallthrough:["vim-insert"],attach:s,detach:a,call:l},w(),xt};e.Vim=i()})},,function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("apl",function(){var e={".":"innerProduct","\\":"scan","/":"reduce","⌿":"reduce1Axis","⍀":"scan1Axis","¨":"each","⍣":"power"},t={"+":["conjugate","add"],"−":["negate","subtract"],"×":["signOf","multiply"],"÷":["reciprocal","divide"],"⌈":["ceiling","greaterOf"],"⌊":["floor","lesserOf"],"∣":["absolute","residue"],"⍳":["indexGenerate","indexOf"],"?":["roll","deal"],"⋆":["exponentiate","toThePowerOf"],"⍟":["naturalLog","logToTheBase"],"○":["piTimes","circularFuncs"],"!":["factorial","binomial"],"⌹":["matrixInverse","matrixDivide"],"<":[null,"lessThan"],"≤":[null,"lessThanOrEqual"],"=":[null,"equals"],">":[null,"greaterThan"],"≥":[null,"greaterThanOrEqual"],"≠":[null,"notEqual"],"≡":["depth","match"],"≢":[null,"notMatch"],"∈":["enlist","membership"],"⍷":[null,"find"],"∪":["unique","union"],"∩":[null,"intersection"],"∼":["not","without"],"∨":[null,"or"],"∧":[null,"and"],"⍱":[null,"nor"],"⍲":[null,"nand"],"⍴":["shapeOf","reshape"],",":["ravel","catenate"],"⍪":[null,"firstAxisCatenate"],"⌽":["reverse","rotate"],"⊖":["axis1Reverse","axis1Rotate"],"⍉":["transpose",null],"↑":["first","take"],"↓":[null,"drop"],"⊂":["enclose","partitionWithAxis"],"⊃":["diclose","pick"],"⌷":[null,"index"],"⍋":["gradeUp",null],"⍒":["gradeDown",null],"⊤":["encode",null],"⊥":["decode",null],"⍕":["format","formatByExample"],"⍎":["execute",null],"⊣":["stop","left"],"⊢":["pass","right"]},n=/[\.\/⌿⍀¨⍣]/,r=/⍬/,i=/[\+−×÷⌈⌊∣⍳\?⋆⍟○!⌹<≤=>≥≠≡≢∈⍷∪∩∼∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢]/,o=/←/,a=/[⍝#].*$/,s=function(e){var t;return t=!1,function(n){return t=n,n!==e||"\\"===t}};return{startState:function(){return{prev:!1,func:!1,op:!1,string:!1,escape:!1}},token:function(l,u){var c,d;return l.eatSpace()?null:(c=l.next(),'"'===c||"'"===c?(l.eatWhile(s(c)),l.next(),u.prev=!0,"string"):/[\[{\(]/.test(c)?(u.prev=!1,null):/[\]}\)]/.test(c)?(u.prev=!0,null):r.test(c)?(u.prev=!1,"niladic"):/[¯\d]/.test(c)?(u.func?(u.func=!1,u.prev=!1):u.prev=!0,l.eatWhile(/[\w\.]/),"number"):n.test(c)?"operator apl-"+e[c]:o.test(c)?"apl-arrow":i.test(c)?(d="apl-",null!=t[c]&&(d+=u.prev?t[c][1]:t[c][0]),u.func=!0,u.prev=!1,"function "+d):a.test(c)?(l.skipToEnd(),"comment"):"∘"===c&&"."===l.peek()?(l.next(),"function jot-dot"):(l.eatWhile(/[\w\$_]/),u.prev=!0,"keyword"))}}}),e.defineMIME("text/apl","apl")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";function t(e){var t=e.match(/^\s*\S/);return e.skipToEnd(),t?"error":null}e.defineMode("asciiarmor",function(){return{token:function(e,n){var r;if("top"==n.state)return e.sol()&&(r=e.match(/^-----BEGIN (.*)?-----\s*$/))?(n.state="headers",n.type=r[1],"tag"):t(e);if("headers"==n.state){if(e.sol()&&e.match(/^\w+:/))return n.state="header","atom";var i=t(e);return i&&(n.state="body"),i}return"header"==n.state?(e.skipToEnd(),n.state="headers","string"):"body"==n.state?e.sol()&&(r=e.match(/^-----END (.*)?-----\s*$/))?r[1]!=n.type?"error":(n.state="end","tag"):e.eatWhile(/[A-Za-z0-9+\/=]/)?null:(e.next(),"error"):"end"==n.state?t(e):void 0},blankLine:function(e){"headers"==e.state&&(e.state="body")},startState:function(){return{state:"top",type:null}}}}),e.defineMIME("application/pgp","asciiarmor"),e.defineMIME("application/pgp-keys","asciiarmor"),e.defineMIME("application/pgp-signature","asciiarmor")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";function t(e){for(var t={},n=e.split(" "),r=0;r?$/.test(i)?(n.extenExten=!0,n.extenStart=!1,"strong"):(n.extenStart=!1,t.skipToEnd(),"error")):n.extenExten?(n.extenExten=!1,n.extenPriority=!0,t.eatWhile(/[^,]/),n.extenInclude&&(t.skipToEnd(),n.extenPriority=!1,n.extenInclude=!1),n.extenSame&&(n.extenPriority=!1,n.extenSame=!1,n.extenApplication=!0),"tag"):n.extenPriority?(n.extenPriority=!1,n.extenApplication=!0,t.next(),n.extenSame?null:(t.eatWhile(/[^,]/),"number")):n.extenApplication?(t.eatWhile(/,/),i=t.current(),","===i?null:(t.eatWhile(/\w/),i=t.current().toLowerCase(),n.extenApplication=!1,r.indexOf(i)!==-1?"def strong":null)):e(t,n)}}}),e.defineMIME("text/x-asterisk","asterisk")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";var t="><+-.,[]".split("");e.defineMode("brainfuck",function(){return{startState:function(){return{commentLine:!1,left:0,right:0,commentLoop:!1}},token:function(e,n){if(e.eatSpace())return null;e.sol()&&(n.commentLine=!1);var r=e.next().toString();return t.indexOf(r)===-1?(n.commentLine=!0,e.eol()&&(n.commentLine=!1),"comment"):n.commentLine===!0?(e.eol()&&(n.commentLine=!1),"comment"):"]"===r||"["===r?("["===r?n.left++:n.right++,"bracket"):"+"===r||"-"===r?"keyword":"<"===r||">"===r?"atom":"."===r||","===r?"def":void(e.eol()&&(n.commentLine=!1))}}}),e.defineMIME("text/x-brainfuck","brainfuck")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("clojure",function(e){function t(e){for(var t={},n=e.split(" "),r=0;r ->> doto and or dosync doseq dotimes dorun doall load import unimport ns in-ns refer try catch finally throw with-open with-local-vars binding gen-class gen-and-load-class gen-and-save-class handler-case handle"),b=t("* *' *1 *2 *3 *agent* *allow-unresolved-vars* *assert* *clojure-version* *command-line-args* *compile-files* *compile-path* *compiler-options* *data-readers* *e *err* *file* *flush-on-newline* *fn-loader* *in* *math-context* *ns* *out* *print-dup* *print-length* *print-level* *print-meta* *print-readably* *read-eval* *source-path* *unchecked-math* *use-context-classloader* *verbose-defrecords* *warn-on-reflection* + +' - -' -> ->> ->ArrayChunk ->Vec ->VecNode ->VecSeq -cache-protocol-fn -reset-methods .. / < <= = == > >= EMPTY-NODE accessor aclone add-classpath add-watch agent agent-error agent-errors aget alength alias all-ns alter alter-meta! alter-var-root amap ancestors and apply areduce array-map aset aset-boolean aset-byte aset-char aset-double aset-float aset-int aset-long aset-short assert assoc assoc! assoc-in associative? atom await await-for await1 bases bean bigdec bigint biginteger binding bit-and bit-and-not bit-clear bit-flip bit-not bit-or bit-set bit-shift-left bit-shift-right bit-test bit-xor boolean boolean-array booleans bound-fn bound-fn* bound? butlast byte byte-array bytes case cat cast char char-array char-escape-string char-name-string char? chars chunk chunk-append chunk-buffer chunk-cons chunk-first chunk-next chunk-rest chunked-seq? class class? clear-agent-errors clojure-version coll? comment commute comp comparator compare compare-and-set! compile complement completing concat cond condp conj conj! cons constantly construct-proxy contains? count counted? create-ns create-struct cycle dec dec' decimal? declare dedupe default-data-readers definline definterface defmacro defmethod defmulti defn defn- defonce defprotocol defrecord defstruct deftype delay delay? deliver denominator deref derive descendants destructure disj disj! dissoc dissoc! distinct distinct? doall dorun doseq dosync dotimes doto double double-array doubles drop drop-last drop-while eduction empty empty? ensure enumeration-seq error-handler error-mode eval even? every-pred every? ex-data ex-info extend extend-protocol extend-type extenders extends? false? ffirst file-seq filter filterv find find-keyword find-ns find-protocol-impl find-protocol-method find-var first flatten float float-array float? floats flush fn fn? fnext fnil for force format frequencies future future-call future-cancel future-cancelled? future-done? future? gen-class gen-interface gensym get get-in get-method get-proxy-class get-thread-bindings get-validator group-by hash hash-combine hash-map hash-set identical? identity if-let if-not ifn? import in-ns inc inc' init-proxy instance? int int-array integer? interleave intern interpose into into-array ints io! isa? iterate iterator-seq juxt keep keep-indexed key keys keyword keyword? last lazy-cat lazy-seq let letfn line-seq list list* list? load load-file load-reader load-string loaded-libs locking long long-array longs loop macroexpand macroexpand-1 make-array make-hierarchy map map-indexed map? mapcat mapv max max-key memfn memoize merge merge-with meta method-sig methods min min-key mod munge name namespace namespace-munge neg? newline next nfirst nil? nnext not not-any? not-empty not-every? not= ns ns-aliases ns-imports ns-interns ns-map ns-name ns-publics ns-refers ns-resolve ns-unalias ns-unmap nth nthnext nthrest num number? numerator object-array odd? or parents partial partition partition-all partition-by pcalls peek persistent! pmap pop pop! pop-thread-bindings pos? pr pr-str prefer-method prefers primitives-classnames print print-ctor print-dup print-method print-simple print-str printf println println-str prn prn-str promise proxy proxy-call-with-super proxy-mappings proxy-name proxy-super push-thread-bindings pvalues quot rand rand-int rand-nth random-sample range ratio? rational? rationalize re-find re-groups re-matcher re-matches re-pattern re-seq read read-line read-string realized? reduce reduce-kv reductions ref ref-history-count ref-max-history ref-min-history ref-set refer refer-clojure reify release-pending-sends rem remove remove-all-methods remove-method remove-ns remove-watch repeat repeatedly replace replicate require reset! reset-meta! resolve rest restart-agent resultset-seq reverse reversible? rseq rsubseq satisfies? second select-keys send send-off seq seq? seque sequence sequential? set set-error-handler! set-error-mode! set-validator! set? short short-array shorts shuffle shutdown-agents slurp some some-fn sort sort-by sorted-map sorted-map-by sorted-set sorted-set-by sorted? special-symbol? spit split-at split-with str string? struct struct-map subs subseq subvec supers swap! symbol symbol? sync take take-last take-nth take-while test the-ns thread-bound? time to-array to-array-2d trampoline transduce transient tree-seq true? type unchecked-add unchecked-add-int unchecked-byte unchecked-char unchecked-dec unchecked-dec-int unchecked-divide-int unchecked-double unchecked-float unchecked-inc unchecked-inc-int unchecked-int unchecked-long unchecked-multiply unchecked-multiply-int unchecked-negate unchecked-negate-int unchecked-remainder-int unchecked-short unchecked-subtract unchecked-subtract-int underive unquote unquote-splicing update update-in update-proxy use val vals var-get var-set var? vary-meta vec vector vector-of vector? volatile! volatile? vreset! vswap! when when-first when-let when-not while with-bindings with-bindings* with-in-str with-loading-context with-local-vars with-meta with-open with-out-str with-precision with-redefs with-redefs-fn xml-seq zero? zipmap *default-data-reader-fn* as-> cond-> cond->> reduced reduced? send-via set-agent-send-executor! set-agent-send-off-executor! some-> some->>"),y=t("ns fn def defn defmethod bound-fn if if-not case condp when while when-not when-first do future comment doto locking proxy with-open with-precision reify deftype defrecord defprotocol extend extend-protocol extend-type try catch let letfn binding loop for doseq dotimes when-let if-let defstruct struct-map assoc testing deftest handler-case handle dotrace deftrace"),x={ +digit:/\d/,digit_or_colon:/[\d:]/,hex:/[0-9a-f]/i,sign:/[+-]/,exponent:/e/i,keyword_char:/[^\s\(\[\;\)\]]/,symbol:/[\w*+!\-\._?:<>\/\xa1-\uffff]/,block_indent:/^(?:def|with)[^\/]+$|\/(?:def|with)/};return{startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(e,t){if(null==t.indentStack&&e.sol()&&(t.indentation=e.indentation()),"string"!=t.mode&&e.eatSpace())return null;var n=null;switch(t.mode){case"string":for(var k,w=!1;null!=(k=e.next());){if('"'==k&&!w){t.mode=!1;break}w=!w&&"\\"==k}n=u;break;default:var E=e.next();if('"'==E)t.mode="string",n=u;else if("\\"==E)a(e),n=c;else if("'"!=E||x.digit_or_colon.test(e.peek()))if(";"==E)e.skipToEnd(),n=l;else if(o(E,e))n=f;else if("("==E||"["==E||"{"==E){var A,C="",S=e.column();if("("==E)for(;null!=(A=e.eat(x.keyword_char));)C+=A;C.length>0&&(y.propertyIsEnumerable(C)||x.block_indent.test(C))?r(t,S+g,E):(e.eatSpace(),e.eol()||";"==e.peek()?r(t,S+$,E):r(t,S+e.current().length,E)),e.backUp(e.current().length-1),n=p}else if(")"==E||"]"==E||"}"==E)n=p,null!=t.indentStack&&t.indentStack.type==(")"==E?"(":"]"==E?"[":"{")&&i(t);else{if(":"==E)return e.eatWhile(x.symbol),d;e.eatWhile(x.symbol),n=v&&v.propertyIsEnumerable(e.current())?h:b&&b.propertyIsEnumerable(e.current())?s:_&&_.propertyIsEnumerable(e.current())?d:m}else n=d}return n},indent:function(e){return null==e.indentStack?e.indentation:e.indentStack.indent},closeBrackets:{pairs:'()[]{}""'},lineComment:";;"}}),e.defineMIME("text/x-clojure","clojure"),e.defineMIME("text/x-clojurescript","clojure"),e.defineMIME("application/edn","clojure")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("cmake",function(){function e(e,t){for(var n,r,i=!1;!e.eol()&&(n=e.next())!=t.pending;){if("$"===n&&"\\"!=r&&'"'==t.pending){i=!0;break}r=n}return i&&e.backUp(1),n==t.pending?t.continueString=!1:t.continueString=!0,"string"}function t(t,r){var i=t.next();return"$"===i?t.match(n)?"variable-2":"variable":r.continueString?(t.backUp(1),e(t,r)):t.match(/(\s+)?\w+\(/)||t.match(/(\s+)?\w+\ \(/)?(t.backUp(1),"def"):"#"==i?(t.skipToEnd(),"comment"):"'"==i||'"'==i?(r.pending=i,e(t,r)):"("==i||")"==i?"bracket":i.match(/[0-9]/)?"number":(t.eatWhile(/[\w-]/),null)}var n=/({)?[a-zA-Z0-9_]+(})?/;return{startState:function(){var e={};return e.inDefinition=!1,e.inInclude=!1,e.continueString=!1,e.pending=!1,e},token:function(e,n){return e.eatSpace()?null:t(e,n)}}}),e.defineMIME("text/x-cmake","cmake")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("cobol",function(){function e(e){for(var t={},n=e.split(" "),r=0;r >= "),h={digit:/\d/,digit_or_colon:/[\d:]/,hex:/[0-9a-f]/i,sign:/[+-]/,exponent:/e/i,keyword_char:/[^\s\(\[\;\)\]]/,symbol:/[\w*+\-]/};return{startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(e,m){if(null==m.indentStack&&e.sol()&&(m.indentation=6),e.eatSpace())return null;var g=null;switch(m.mode){case"string":for(var $=!1;null!=($=e.next());)if('"'==$||"'"==$){m.mode=!1;break}g=i;break;default:var _=e.next(),v=e.column();if(v>=0&&v<=5)g=u;else if(v>=72&&v<=79)e.skipToEnd(),g=l;else if("*"==_&&6==v)e.skipToEnd(),g=r;else if('"'==_||"'"==_)m.mode="string",g=i;else if("'"!=_||h.digit_or_colon.test(e.peek()))if("."==_)g=c;else if(t(_,e))g=a;else{if(e.current().match(h.symbol))for(;v<71&&void 0!==e.eat(h.symbol);)v++;g=f&&f.propertyIsEnumerable(e.current().toUpperCase())?s:p&&p.propertyIsEnumerable(e.current().toUpperCase())?n:d&&d.propertyIsEnumerable(e.current().toUpperCase())?o:null}else g=o}return g},indent:function(e){return null==e.indentStack?e.indentation:e.indentStack.indent}}}),e.defineMIME("text/x-cobol","cobol")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("commonlisp",function(e){function t(e){for(var t;t=e.next();)if("\\"==t)e.next();else if(!u.test(t)){e.backUp(1);break}return e.current()}function n(e,n){if(e.eatSpace())return o="ws",null;if(e.match(l))return"number";var u=e.next();if("\\"==u&&(u=e.next()),'"'==u)return(n.tokenize=r)(e,n);if("("==u)return o="open","bracket";if(")"==u||"]"==u)return o="close","bracket";if(";"==u)return e.skipToEnd(),o="ws","comment";if(/['`,@]/.test(u))return null;if("|"==u)return e.skipTo("|")?(e.next(),"symbol"):(e.skipToEnd(),"error");if("#"==u){var u=e.next();return"("==u?(o="open","bracket"):/[+\-=\.']/.test(u)?null:/\d/.test(u)&&e.match(/^\d*#/)?null:"|"==u?(n.tokenize=i)(e,n):":"==u?(t(e),"meta"):"\\"==u?(e.next(),t(e),"string-2"):"error"}var c=t(e);return"."==c?null:(o="symbol","nil"==c||"t"==c||":"==c.charAt(0)?"atom":"open"==n.lastType&&(a.test(c)||s.test(c))?"keyword":"&"==c.charAt(0)?"variable-2":"variable")}function r(e,t){for(var r,i=!1;r=e.next();){if('"'==r&&!i){t.tokenize=n;break}i=!i&&"\\"==r}return"string"}function i(e,t){for(var r,i;r=e.next();){if("#"==r&&"|"==i){t.tokenize=n;break}i=r}return o="ws","comment"}var o,a=/^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/,s=/^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/,l=/^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/,u=/[^\s'`,@()\[\]";]/;return{startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastType:null,tokenize:n}},token:function(t,n){t.sol()&&"number"!=typeof n.ctx.indentTo&&(n.ctx.indentTo=n.ctx.start+1),o=null;var r=n.tokenize(t,n);return"ws"!=o&&(null==n.ctx.indentTo?"symbol"==o&&s.test(t.current())?n.ctx.indentTo=n.ctx.start+e.indentUnit:n.ctx.indentTo="next":"next"==n.ctx.indentTo&&(n.ctx.indentTo=t.column()),n.lastType=o),"open"==o?n.ctx={prev:n.ctx,start:t.column(),indentTo:null}:"close"==o&&(n.ctx=n.ctx.prev||n.ctx),r},indent:function(e,t){var n=e.ctx.indentTo;return"number"==typeof n?n:e.ctx.start+1},closeBrackets:{pairs:'()[]{}""'},lineComment:";;",blockCommentStart:"#|",blockCommentEnd:"|#"}}),e.defineMIME("text/x-common-lisp","commonlisp")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("crystal",function(e){function t(e,t){return new RegExp((t?"":"^")+"(?:"+e.join("|")+")"+(t?"$":"\\b"))}function n(e,t,n){return n.tokenize.push(e),e(t,n)}function r(e,t){if(e.eatSpace())return null;if("\\"!=t.lastToken&&e.match("{%",!1))return n(o("%","%"),e,t);if("\\"!=t.lastToken&&e.match("{{",!1))return n(o("{","}"),e,t);if("#"==e.peek())return e.skipToEnd(),"comment";var r;if(e.match(m))return e.eat(/[?!]/),r=e.current(),e.eat(":")?"atom":"."==t.lastToken?"property":$.test(r)?(b.test(r)?"fun"==r&&t.blocks.indexOf("lib")>=0||"def"==r&&"abstract"==t.lastToken||(t.blocks.push(r),t.currentIndent+=1):"operator"!=t.lastStyle&&t.lastStyle||!x.test(r)?"end"==r&&(t.blocks.pop(),t.currentIndent-=1):(t.blocks.push(r),t.currentIndent+=1),C.hasOwnProperty(r)&&t.tokenize.push(C[r]),"keyword"):_.test(r)?"atom":"variable";if(e.eat("@"))return"["==e.peek()?n(i("[","]","meta"),e,t):(e.eat("@"),e.match(m)||e.match(g),"variable-2");if(e.match(g))return"tag";if(e.eat(":"))return e.eat('"')?n(u('"',"atom",!1),e,t):e.match(m)||e.match(g)||e.match(d)||e.match(f)||e.match(p)?"atom":(e.eat(":"),"operator");if(e.eat('"'))return n(u('"',"string",!0),e,t);if("%"==e.peek()){var a,s="string",l=!0;if(e.match("%r"))s="string-2",a=e.next();else if(e.match("%w"))l=!1,a=e.next();else if(e.match("%q"))l=!1,a=e.next();else{if(!(a=e.match(/^%([^\w\s=])/)))return e.match(/^%[a-zA-Z0-9_\u009F-\uFFFF]*/)?"meta":"operator";a=a[1]}return S.hasOwnProperty(a)&&(a=S[a]),n(u(a,s,l),e,t)}return(r=e.match(/^<<-('?)([A-Z]\w*)\1/))?n(c(r[2],!r[1]),e,t):e.eat("'")?(e.match(/^(?:[^']|\\(?:[befnrtv0'"]|[0-7]{3}|u(?:[0-9a-fA-F]{4}|\{[0-9a-fA-F]{1,6}\})))/),e.eat("'"),"atom"):e.eat("0")?(e.eat("x")?e.match(/^[0-9a-fA-F]+/):e.eat("o")?e.match(/^[0-7]+/):e.eat("b")&&e.match(/^[01]+/),"number"):e.eat(/^\d/)?(e.match(/^\d*(?:\.\d+)?(?:[eE][+-]?\d+)?/),"number"):e.match(d)?(e.eat("="),"operator"):e.match(f)||e.match(h)?"operator":(r=e.match(/[({[]/,!1))?(r=r[0],n(i(r,S[r],null),e,t)):e.eat("\\")?(e.next(),"meta"):(e.next(),null)}function i(e,t,n,o){return function(a,s){if(!o&&a.match(e))return s.tokenize[s.tokenize.length-1]=i(e,t,n,!0),s.currentIndent+=1,n;var l=r(a,s);return a.current()===t&&(s.tokenize.pop(),s.currentIndent-=1,l=n),l}}function o(e,t,n){return function(i,a){return!n&&i.match("{"+e)?(a.currentIndent+=1,a.tokenize[a.tokenize.length-1]=o(e,t,!0),"meta"):i.match(t+"}")?(a.currentIndent-=1,a.tokenize.pop(),"meta"):r(i,a)}}function a(e,t){if(e.eatSpace())return null;var n;if(n=e.match(m)){if("def"==n)return"keyword";e.eat(/[?!]/)}return t.tokenize.pop(),"def"}function s(e,t){return e.eatSpace()?null:(e.match(m)?e.eat(/[!?]/):e.match(d)||e.match(f)||e.match(p),t.tokenize.pop(),"def")}function l(e,t){return e.eatSpace()?null:(e.match(g),t.tokenize.pop(),"def")}function u(e,t,n){return function(r,a){for(var s=!1;r.peek();)if(s)r.next(),s=!1;else{if(r.match("{%",!1))return a.tokenize.push(o("%","%")),t;if(r.match("{{",!1))return a.tokenize.push(o("{","}")),t;if(n&&r.match("#{",!1))return a.tokenize.push(i("#{","}","meta")),t;var l=r.next();if(l==e)return a.tokenize.pop(),t;s=n&&"\\"==l}return t}}function c(e,t){return function(n,r){if(n.sol()&&(n.eatSpace(),n.match(e)))return r.tokenize.pop(),"string";for(var a=!1;n.peek();)if(a)n.next(),a=!1;else{if(n.match("{%",!1))return r.tokenize.push(o("%","%")),"string";if(n.match("{{",!1))return r.tokenize.push(o("{","}")),"string";if(t&&n.match("#{",!1))return r.tokenize.push(i("#{","}","meta")),"string";a=t&&"\\"==n.next()}return"string"}}var d=/^(?:[-+\/%|&^]|\*\*?|[<>]{2})/,f=/^(?:[=!]~|===|<=>|[<>=!]=?|[|&]{2}|~)/,p=/^(?:\[\][?=]?)/,h=/^(?:\.(?:\.{2})?|->|[?:])/,m=/^[a-z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,g=/^[A-Z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,$=t(["abstract","alias","as","asm","begin","break","case","class","def","do","else","elsif","end","ensure","enum","extend","for","fun","if","include","instance_sizeof","lib","macro","module","next","of","out","pointerof","private","protected","rescue","return","require","select","sizeof","struct","super","then","type","typeof","uninitialized","union","unless","until","when","while","with","yield","__DIR__","__END_LINE__","__FILE__","__LINE__"]),_=t(["true","false","nil","self"]),v=["def","fun","macro","class","module","struct","lib","enum","union","do","for"],b=t(v),y=["if","unless","case","while","until","begin","then"],x=t(y),k=["end","else","elsif","rescue","ensure"],w=t(k),E=["\\)","\\}","\\]"],A=new RegExp("^(?:"+E.join("|")+")$"),C={def:s,fun:s,macro:a,class:l,module:l,struct:l,lib:l,enum:l,union:l},S={"[":"]","{":"}","(":")","<":">"};return{startState:function(){return{tokenize:[r],currentIndent:0,lastToken:null,lastStyle:null,blocks:[]}},token:function(e,t){var n=t.tokenize[t.tokenize.length-1](e,t),r=e.current();return n&&"comment"!=n&&(t.lastToken=r,t.lastStyle=n),n},indent:function(t,n){return n=n.replace(/^\s*(?:\{%)?\s*|\s*(?:%\})?\s*$/g,""),w.test(n)||A.test(n)?e.indentUnit*(t.currentIndent-1):e.indentUnit*t.currentIndent},fold:"indent",electricInput:t(E.concat(k),!0),lineComment:"#"}}),e.defineMIME("text/x-crystal","crystal")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";var t=function(e){return new RegExp("^(?:"+e.join("|")+")$","i")};e.defineMode("cypher",function(n){var r,i=function(e){var t=e.next();if('"'===t)return e.match(/.*?"/),"string";if("'"===t)return e.match(/.*?'/),"string";if(/[{}\(\),\.;\[\]]/.test(t))return r=t,"node";if("/"===t&&e.eat("/"))return e.skipToEnd(),"comment";if(d.test(t))return e.eatWhile(d),null;if(e.eatWhile(/[_\w\d]/),e.eat(":"))return e.eatWhile(/[\w\d_\-]/),"atom";var n=e.current();return l.test(n)?"builtin":u.test(n)?"def":c.test(n)?"keyword":"variable"},o=function(e,t,n){return e.context={prev:e.context,indent:e.indent,col:n,type:t}},a=function(e){return e.indent=e.context.indent,e.context=e.context.prev},s=n.indentUnit,l=t(["abs","acos","allShortestPaths","asin","atan","atan2","avg","ceil","coalesce","collect","cos","cot","count","degrees","e","endnode","exp","extract","filter","floor","haversin","head","id","keys","labels","last","left","length","log","log10","lower","ltrim","max","min","node","nodes","percentileCont","percentileDisc","pi","radians","rand","range","reduce","rel","relationship","relationships","replace","reverse","right","round","rtrim","shortestPath","sign","sin","size","split","sqrt","startnode","stdev","stdevp","str","substring","sum","tail","tan","timestamp","toFloat","toInt","toString","trim","type","upper"]),u=t(["all","and","any","contains","exists","has","in","none","not","or","single","xor"]),c=t(["as","asc","ascending","assert","by","case","commit","constraint","create","csv","cypher","delete","desc","descending","detach","distinct","drop","else","end","ends","explain","false","fieldterminator","foreach","from","headers","in","index","is","join","limit","load","match","merge","null","on","optional","order","periodic","profile","remove","return","scan","set","skip","start","starts","then","true","union","unique","unwind","using","when","where","with","call","yield"]),d=/[*+\-<>=&|~%^]/;return{startState:function(){return{tokenize:i,context:null,indent:0,col:0}},token:function(e,t){if(e.sol()&&(t.context&&null==t.context.align&&(t.context.align=!1),t.indent=e.indentation()),e.eatSpace())return null;var n=t.tokenize(e,t);if("comment"!==n&&t.context&&null==t.context.align&&"pattern"!==t.context.type&&(t.context.align=!0),"("===r)o(t,")",e.column());else if("["===r)o(t,"]",e.column());else if("{"===r)o(t,"}",e.column());else if(/[\]\}\)]/.test(r)){for(;t.context&&"pattern"===t.context.type;)a(t);t.context&&r===t.context.type&&a(t)}else"."===r&&t.context&&"pattern"===t.context.type?a(t):/atom|string|variable/.test(n)&&t.context&&(/[\}\]]/.test(t.context.type)?o(t,"pattern",e.column()):"pattern"!==t.context.type||t.context.align||(t.context.align=!0,t.context.col=e.column()));return n},indent:function(t,n){var r=n&&n.charAt(0),i=t.context;if(/[\]\}]/.test(r))for(;i&&"pattern"===i.type;)i=i.prev;var o=i&&r===i.type;return i?"keywords"===i.type?e.commands.newlineAndIndent:i.align?i.col+(o?0:1):i.indent+(o?0:s):0}}}),e.modeExtensions.cypher={autoFormatLineBreaks:function(e){for(var t,n,r,n=e.split("\n"),r=/\s+\b(return|where|order by|match|with|skip|limit|create|delete|set)\b\s/g,t=0;t!?|\/]/;return{startState:function(e){return{tokenize:null,context:new s((e||0)-d,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;c=null;var i=(t.tokenize||r)(e,t);if("comment"==i||"meta"==i)return i;if(null==n.align&&(n.align=!0),";"!=c&&":"!=c&&","!=c||"statement"!=n.type)if("{"==c)l(t,e.column(),"}");else if("["==c)l(t,e.column(),"]");else if("("==c)l(t,e.column(),")");else if("}"==c){for(;"statement"==n.type;)n=u(t);for("}"==n.type&&(n=u(t));"statement"==n.type;)n=u(t)}else c==n.type?u(t):(("}"==n.type||"top"==n.type)&&";"!=c||"statement"==n.type&&"newstatement"==c)&&l(t,e.column(),"statement");else u(t);return t.startOfLine=!1,i},indent:function(t,n){if(t.tokenize!=r&&null!=t.tokenize)return e.Pass;var i=t.context,o=n&&n.charAt(0);"statement"==i.type&&"}"==o&&(i=i.prev);var a=o==i.type;return"statement"==i.type?i.indented+("{"==o?0:f):i.align?i.column+(a?0:1):i.indented+(a?0:d)},electricChars:"{}"}});var n="body catch class do else enum for foreach foreach_reverse if in interface mixin out scope struct switch try union unittest version while with";e.defineMIME("text/x-d",{name:"d",keywords:t("abstract alias align asm assert auto break case cast cdouble cent cfloat const continue debug default delegate delete deprecated export extern final finally function goto immutable import inout invariant is lazy macro module new nothrow override package pragma private protected public pure ref return shared short static super synchronized template this throw typedef typeid typeof volatile __FILE__ __LINE__ __gshared __traits __vector __parameters "+n),blockKeywords:t(n),builtin:t("bool byte char creal dchar double float idouble ifloat int ireal long real short ubyte ucent uint ulong ushort wchar wstring void size_t sizediff_t"),atoms:t("exit failure success true false null"),hooks:{"@":function(e,t){return e.eatWhile(/[\w\$_]/),"meta"}}})})},function(e,t,n){!function(e){e(n(1),n(51))}(function(e){"use strict";function t(e){for(var t={},n=0;n0&&(t.tokenize=r(t),null)},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=l(1),t.tokenize(e,t))}}}),e.registerHelper("hintWords","application/dart",u.concat(d).concat(f)),e.defineMode("dart",function(t){return e.getMode(t,"application/dart")},"clike")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("diff",function(){var e={"+":"positive","-":"negative","@":"meta"};return{token:function(t){var n=t.string.search(/[\t ]+?$/);if(!t.sol()||0===n)return t.skipToEnd(),("error "+(e[t.string.charAt(0)]||"")).replace(/ $/,"");var r=e[t.peek()]||t.skipToEnd();return n===-1?t.skipToEnd():t.pos=n,r}}}),e.defineMIME("text/x-diff","diff")})},function(e,t,n){!function(e){e(n(1),n(14),n(40))}(function(e){"use strict";e.defineMode("django:inner",function(){function e(e,t){if(e.match("{{"))return t.tokenize=n,"tag";if(e.match("{%"))return t.tokenize=r,"tag";if(e.match("{#"))return t.tokenize=i,"comment";for(;null!=e.next()&&!e.match(/\{[{%#]/,!1););return null}function t(e,t){return function(n,r){if(!r.escapeNext&&n.eat(e))r.tokenize=t;else{r.escapeNext&&(r.escapeNext=!1);var i=n.next();"\\"==i&&(r.escapeNext=!0)}return"string"}}function n(n,r){if(r.waitDot){if(r.waitDot=!1,"."!=n.peek())return"null";if(n.match(/\.\W+/))return"error";if(n.eat("."))return r.waitProperty=!0,"null";throw Error("Unexpected error while waiting for property.")}if(r.waitPipe){if(r.waitPipe=!1,"|"!=n.peek())return"null";if(n.match(/\.\W+/))return"error";if(n.eat("|"))return r.waitFilter=!0,"null";throw Error("Unexpected error while waiting for filter.")}return r.waitProperty&&(r.waitProperty=!1,n.match(/\b(\w+)\b/))?(r.waitDot=!0,r.waitPipe=!0,"property"):r.waitFilter&&(r.waitFilter=!1,n.match(s))?"variable-2":n.eatSpace()?(r.waitProperty=!1,"null"):n.match(/\b\d+(\.\d+)?\b/)?"number":n.match("'")?(r.tokenize=t("'",r.tokenize),"string"):n.match('"')?(r.tokenize=t('"',r.tokenize),"string"):n.match(/\b(\w+)\b/)&&!r.foundVariable?(r.waitDot=!0,r.waitPipe=!0,"variable"):n.match("}}")?(r.waitProperty=null,r.waitFilter=null,r.waitDot=null,r.waitPipe=null,r.tokenize=e,"tag"):(n.next(),"null")}function r(n,r){if(r.waitDot){if(r.waitDot=!1,"."!=n.peek())return"null";if(n.match(/\.\W+/))return"error";if(n.eat("."))return r.waitProperty=!0,"null";throw Error("Unexpected error while waiting for property.")}if(r.waitPipe){if(r.waitPipe=!1,"|"!=n.peek())return"null";if(n.match(/\.\W+/))return"error";if(n.eat("|"))return r.waitFilter=!0,"null";throw Error("Unexpected error while waiting for filter.")}if(r.waitProperty&&(r.waitProperty=!1,n.match(/\b(\w+)\b/)))return r.waitDot=!0,r.waitPipe=!0,"property";if(r.waitFilter&&(r.waitFilter=!1,n.match(s)))return"variable-2";if(n.eatSpace())return r.waitProperty=!1,"null";if(n.match(/\b\d+(\.\d+)?\b/))return"number";if(n.match("'"))return r.tokenize=t("'",r.tokenize),"string";if(n.match('"'))return r.tokenize=t('"',r.tokenize),"string";if(n.match(l))return"operator";if(n.match(u))return"keyword";var i=n.match(a);return i?("comment"==i[0]&&(r.blockCommentTag=!0),"keyword"):n.match(/\b(\w+)\b/)?(r.waitDot=!0,r.waitPipe=!0,"variable"):n.match("%}")?(r.waitProperty=null,r.waitFilter=null,r.waitDot=null,r.waitPipe=null,r.blockCommentTag?(r.blockCommentTag=!1,r.tokenize=o):r.tokenize=e,"tag"):(n.next(),"null")}function i(t,n){return t.match(/^.*?#\}/)?n.tokenize=e:t.skipToEnd(),"comment"}function o(e,t){return e.match(/\{%\s*endcomment\s*%\}/,!1)?(t.tokenize=r,e.match("{%"),"tag"):(e.next(),"comment")}var a=["block","endblock","for","endfor","true","false","filter","endfilter","loop","none","self","super","if","elif","endif","as","else","import","with","endwith","without","context","ifequal","endifequal","ifnotequal","endifnotequal","extends","include","load","comment","endcomment","empty","url","static","trans","blocktrans","endblocktrans","now","regroup","lorem","ifchanged","endifchanged","firstof","debug","cycle","csrf_token","autoescape","endautoescape","spaceless","endspaceless","ssi","templatetag","verbatim","endverbatim","widthratio"],s=["add","addslashes","capfirst","center","cut","date","default","default_if_none","dictsort","dictsortreversed","divisibleby","escape","escapejs","filesizeformat","first","floatformat","force_escape","get_digit","iriencode","join","last","length","length_is","linebreaks","linebreaksbr","linenumbers","ljust","lower","make_list","phone2numeric","pluralize","pprint","random","removetags","rjust","safe","safeseq","slice","slugify","stringformat","striptags","time","timesince","timeuntil","title","truncatechars","truncatechars_html","truncatewords","truncatewords_html","unordered_list","upper","urlencode","urlize","urlizetrunc","wordcount","wordwrap","yesno"],l=["==","!=","<",">","<=",">="],u=["in","not","or","and"];return a=new RegExp("^\\b("+a.join("|")+")\\b"),s=new RegExp("^\\b("+s.join("|")+")\\b"),l=new RegExp("^\\b("+l.join("|")+")\\b"),u=new RegExp("^\\b("+u.join("|")+")\\b"),{startState:function(){return{tokenize:e}},token:function(e,t){return t.tokenize(e,t)},blockCommentStart:"{% comment %}",blockCommentEnd:"{% endcomment %}"}}),e.defineMode("django",function(t){var n=e.getMode(t,"text/html"),r=e.getMode(t,"django:inner");return e.overlayMode(n,r)}),e.defineMIME("text/x-django","django")})},function(e,t,n){!function(e){e(n(1),n(41))}(function(e){"use strict";var t=["from","maintainer","run","cmd","expose","env","add","copy","entrypoint","volume","user","workdir","onbuild"],n="("+t.join("|")+")",r=new RegExp(n+"\\s*$","i"),i=new RegExp(n+"(\\s+)","i");e.defineSimpleMode("dockerfile",{start:[{regex:/#.*$/,token:"comment"},{regex:r,token:"variable-2"},{regex:i,token:["variable-2",null],next:"arguments"},{regex:/./,token:null}],arguments:[{regex:/#.*$/,token:"error",next:"start"},{regex:/[^#]+\\$/,token:null},{regex:/[^#]+/,token:null,next:"start"},{regex:/$/,token:null,next:"start"},{token:null,next:"start"}],meta:{lineComment:"#"}}),e.defineMIME("text/x-dockerfile","dockerfile")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("dtd",function(e){function t(e,t){return a=t,e}function n(e,n){var a=e.next();if("<"!=a||!e.eat("!")){if("<"==a&&e.eat("?"))return n.tokenize=o("meta","?>"),t("meta",a);if("#"==a&&e.eatWhile(/[\w]/))return t("atom","tag");if("|"==a)return t("keyword","seperator");if(a.match(/[\(\)\[\]\-\.,\+\?>]/))return t(null,a);if(a.match(/[\[\]]/))return t("rule",a);if('"'==a||"'"==a)return n.tokenize=i(a),n.tokenize(e,n);if(e.eatWhile(/[a-zA-Z\?\+\d]/)){var s=e.current();return null!==s.substr(s.length-1,s.length).match(/\?|\+/)&&e.backUp(1),t("tag","tag")}return"%"==a||"*"==a?t("number","number"):(e.eatWhile(/[\w\\\-_%.{,]/),t(null,null))}return e.eatWhile(/[\-]/)?(n.tokenize=r,r(e,n)):e.eatWhile(/[\w]/)?t("keyword","doindent"):void 0; +}function r(e,r){for(var i,o=0;null!=(i=e.next());){if(o>=2&&">"==i){r.tokenize=n;break}o="-"==i?o+1:0}return t("comment","comment")}function i(e){return function(r,i){for(var o,a=!1;null!=(o=r.next());){if(o==e&&!a){i.tokenize=n;break}a=!a&&"\\"==o}return t("string","tag")}}function o(e,t){return function(r,i){for(;!r.eol();){if(r.match(t)){i.tokenize=n;break}r.next()}return e}}var a,s=e.indentUnit;return{startState:function(e){return{tokenize:n,baseIndent:e||0,stack:[]}},token:function(e,t){if(e.eatSpace())return null;var n=t.tokenize(e,t),r=t.stack[t.stack.length-1];return"["==e.current()||"doindent"===a||"["==a?t.stack.push("rule"):"endtag"===a?t.stack[t.stack.length-1]="endtag":"]"==e.current()||"]"==a||">"==a&&"rule"==r?t.stack.pop():"["==a&&t.stack.push("["),n},indent:function(e,t){var n=e.stack.length;return t.match(/\]\s+|\]/)?n-=1:">"===t.substr(t.length-1,t.length)&&("<"===t.substr(0,1)||"doindent"==a&&t.length>1||("doindent"==a?n--:">"==a&&t.length>1||"tag"==a&&">"!==t||("tag"==a&&"rule"==e.stack[e.stack.length-1]?n--:"tag"==a?n++:">"===t&&"rule"==e.stack[e.stack.length-1]&&">"===a?n--:">"===t&&"rule"==e.stack[e.stack.length-1]||("<"!==t.substr(0,1)&&">"===t.substr(0,1)?n-=1:">"===t||(n-=1)))),null!=a&&"]"!=a||n--),e.baseIndent+n*s},electricChars:"]>"}}),e.defineMIME("application/xml-dtd","dtd")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";function t(e,t){for(var n=0;n&|]/.test(i)?(e.next(),"operator"):e.match("define")?"def":(e.eatWhile(/[\w\-]/),h.hasOwnProperty(e.current())?m[e.current()]:e.current().match(u)?"variable":(e.next(),"variable-2"))}function o(e,t){for(var n,r=!1,o=!1,a=0;n=e.next();){if("/"==n&&r){if(!(a>0)){t.tokenize=i;break}a--}else"*"==n&&o&&a++;r="*"==n,o="/"==n}return"comment"}function a(e,t){return function(n,r){for(var o,a=!1,s=!1;null!=(o=n.next());){if(o==e&&!a){s=!0;break}a=!a&&"\\"==o}return!s&&a||(r.tokenize=i),t}}var s={unnamedDefinition:["interface"],namedDefinition:["module","library","macro","C-struct","C-union","C-function","C-callable-wrapper"],typeParameterizedDefinition:["class","C-subtype","C-mapped-subtype"],otherParameterizedDefinition:["method","function","C-variable","C-address"],constantSimpleDefinition:["constant"],variableSimpleDefinition:["variable"],otherSimpleDefinition:["generic","domain","C-pointer-type","table"],statement:["if","block","begin","method","case","for","select","when","unless","until","while","iterate","profiling","dynamic-bind"],separator:["finally","exception","cleanup","else","elseif","afterwards"],other:["above","below","by","from","handler","in","instance","let","local","otherwise","slot","subclass","then","to","keyed-by","virtual"],signalingCalls:["signal","error","cerror","break","check-type","abort"]};s.otherDefinition=s.unnamedDefinition.concat(s.namedDefinition).concat(s.otherParameterizedDefinition),s.definition=s.typeParameterizedDefinition.concat(s.otherDefinition),s.parameterizedDefinition=s.typeParameterizedDefinition.concat(s.otherParameterizedDefinition),s.simpleDefinition=s.constantSimpleDefinition.concat(s.variableSimpleDefinition).concat(s.otherSimpleDefinition),s.keyword=s.statement.concat(s.separator).concat(s.other);var l="[-_a-zA-Z?!*@<>$%]+",u=new RegExp("^"+l),c={symbolKeyword:l+":",symbolClass:"<"+l+">",symbolGlobal:"\\*"+l+"\\*",symbolConstant:"\\$"+l},d={symbolKeyword:"atom",symbolClass:"tag",symbolGlobal:"variable-2",symbolConstant:"variable-3"};for(var f in c)c.hasOwnProperty(f)&&(c[f]=new RegExp("^"+c[f]));c.keyword=[/^with(?:out)?-[-_a-zA-Z?!*@<>$%]+/];var p={};p.keyword="keyword",p.definition="def",p.simpleDefinition="def",p.signalingCalls="builtin";var h={},m={};return t(["keyword","definition","simpleDefinition","signalingCalls"],function(e){t(s[e],function(t){h[t]=e,m[t]=p[e]})}),{startState:function(){return{tokenize:i,currentIndent:0}},token:function(e,t){if(e.eatSpace())return null;var n=t.tokenize(e,t);return n},blockCommentStart:"/*",blockCommentEnd:"*/"}}),e.defineMIME("text/x-dylan","dylan")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("ebnf",function(t){var n={slash:0,parenthesis:1},r={comment:0,_string:1,characterClass:2},i=null;return t.bracesMode&&(i=e.getMode(t,t.bracesMode)),{startState:function(){return{stringType:null,commentType:null,braced:0,lhs:!0,localState:null,stack:[],inDefinition:!1}},token:function(t,o){if(t){switch(0===o.stack.length&&('"'==t.peek()||"'"==t.peek()?(o.stringType=t.peek(),t.next(),o.stack.unshift(r._string)):t.match(/^\/\*/)?(o.stack.unshift(r.comment),o.commentType=n.slash):t.match(/^\(\*/)&&(o.stack.unshift(r.comment),o.commentType=n.parenthesis)),o.stack[0]){case r._string:for(;o.stack[0]===r._string&&!t.eol();)t.peek()===o.stringType?(t.next(),o.stack.shift()):"\\"===t.peek()?(t.next(),t.next()):t.match(/^.[^\\\"\']*/);return o.lhs?"property string":"string";case r.comment:for(;o.stack[0]===r.comment&&!t.eol();)o.commentType===n.slash&&t.match(/\*\//)?(o.stack.shift(),o.commentType=null):o.commentType===n.parenthesis&&t.match(/\*\)/)?(o.stack.shift(),o.commentType=null):t.match(/^.[^\*]*/);return"comment";case r.characterClass:for(;o.stack[0]===r.characterClass&&!t.eol();)t.match(/^[^\]\\]+/)||t.match(/^\\./)||o.stack.shift();return"operator"}var a=t.peek();if(null!==i&&(o.braced||"{"===a)){null===o.localState&&(o.localState=e.startState(i));var s=i.token(t,o.localState),l=t.current();if(!s)for(var u=0;u>/))return"builtin"}return t.match(/^\/\//)?(t.skipToEnd(),"comment"):t.match(/return/)?"operator":t.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)?t.match(/(?=[\(.])/)?"variable":t.match(/(?=[\s\n]*[:=])/)?"def":"variable-2":["[","]","(",")"].indexOf(t.peek())!=-1?(t.next(),"bracket"):(t.eatSpace()||t.next(),null)}}}}),e.defineMIME("text/x-ebnf","ebnf")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("ecl",function(e){function t(e){for(var t={},n=e.split(" "),r=0;r=0&&(!isNaN(a[s])||"_"==a[s]);)--s;if(s>0){var l=a.substr(0,s+1);if(h.propertyIsEnumerable(l))return g.propertyIsEnumerable(l)&&(u="newstatement"),"variable-3"}return $.propertyIsEnumerable(a)?"atom":null}function i(e){return function(t,n){for(var i,o=!1,a=!1;null!=(i=t.next());){if(i==e&&!o){a=!0;break}o=!o&&"\\"==i}return!a&&o||(n.tokenize=r),"string"}}function o(e,t){for(var n,i=!1;n=e.next();){if("/"==n&&i){t.tokenize=r;break}i="*"==n}return"comment"}function a(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function s(e,t,n){return e.context=new a(e.indented,t,n,null,e.context)}function l(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}var u,c=e.indentUnit,d=t("abs acos allnodes ascii asin asstring atan atan2 ave case choose choosen choosesets clustersize combine correlation cos cosh count covariance cron dataset dedup define denormalize distribute distributed distribution ebcdic enth error evaluate event eventextra eventname exists exp failcode failmessage fetch fromunicode getisvalid global graph group hash hash32 hash64 hashcrc hashmd5 having if index intformat isvalid iterate join keyunicode length library limit ln local log loop map matched matchlength matchposition matchtext matchunicode max merge mergejoin min nolocal nonempty normalize parse pipe power preload process project pull random range rank ranked realformat recordof regexfind regexreplace regroup rejected rollup round roundup row rowdiff sample set sin sinh sizeof soapcall sort sorted sqrt stepped stored sum table tan tanh thisnode topn tounicode transfer trim truncate typeof ungroup unicodeorder variance which workunit xmldecode xmlencode xmltext xmlunicode"),f=t("apply assert build buildindex evaluate fail keydiff keypatch loadxml nothor notify output parallel sequential soapcall wait"),p=t("__compressed__ all and any as atmost before beginc++ best between case const counter csv descend encrypt end endc++ endmacro except exclusive expire export extend false few first flat from full function group header heading hole ifblock import in interface joined keep keyed last left limit load local locale lookup macro many maxcount maxlength min skew module named nocase noroot noscan nosort not of only opt or outer overwrite packed partition penalty physicallength pipe quote record relationship repeat return right scan self separator service shared skew skip sql store terminator thor threshold token transform trim true type unicodeorder unsorted validate virtual whole wild within xml xpath"),h=t("ascii big_endian boolean data decimal ebcdic integer pattern qstring real record rule set of string token udecimal unicode unsigned varstring varunicode"),m=t("checkpoint deprecated failcode failmessage failure global independent onwarning persist priority recovery stored success wait when"),g=t("catch class do else finally for if switch try while"),$=t("true false null"),_={"#":n},v=/[+\-*&%=<>!?|\/]/;return{startState:function(e){return{tokenize:null,context:new a((e||0)-c,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;u=null;var i=(t.tokenize||r)(e,t);if("comment"==i||"meta"==i)return i;if(null==n.align&&(n.align=!0),";"!=u&&":"!=u||"statement"!=n.type)if("{"==u)s(t,e.column(),"}");else if("["==u)s(t,e.column(),"]");else if("("==u)s(t,e.column(),")");else if("}"==u){for(;"statement"==n.type;)n=l(t);for("}"==n.type&&(n=l(t));"statement"==n.type;)n=l(t)}else u==n.type?l(t):("}"==n.type||"top"==n.type||"statement"==n.type&&"newstatement"==u)&&s(t,e.column(),"statement");else l(t);return t.startOfLine=!1,i},indent:function(e,t){if(e.tokenize!=r&&null!=e.tokenize)return 0;var n=e.context,i=t&&t.charAt(0);"statement"==n.type&&"}"==i&&(n=n.prev);var o=i==n.type;return"statement"==n.type?n.indented+("{"==i?0:c):n.align?n.column+(o?0:1):n.indented+(o?0:c)},electricChars:"{}"}}),e.defineMIME("text/x-ecl","ecl")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("eiffel",function(){function e(e){for(var t={},n=0,r=e.length;n~]/.test(i)?(e.eatWhile(/[=+\-\/*^%<>~]/),"operator"):null}function r(e,t,n){return function(r,i){for(var o,a=!1;null!=(o=r.next());){if(o==e&&(n||!a)){i.tokenize.pop();break}a=!a&&"%"==o}return t}}var i=e(["note","across","when","variant","until","unique","undefine","then","strip","select","retry","rescue","require","rename","reference","redefine","prefix","once","old","obsolete","loop","local","like","is","inspect","infix","include","if","frozen","from","external","export","ensure","end","elseif","else","do","creation","create","check","alias","agent","separate","invariant","inherit","indexing","feature","expanded","deferred","class","Void","True","Result","Precursor","False","Current","create","attached","detachable","as","and","implies","not","or"]),o=e([":=","and then","and","or","<<",">>"]);return{startState:function(){return{tokenize:[n]}},token:function(e,t){var n=t.tokenize[t.tokenize.length-1](e,t);if("ident"==n){var r=e.current();n=i.propertyIsEnumerable(e.current())?"keyword":o.propertyIsEnumerable(e.current())?"operator":/^[A-Z][A-Z_0-9]*$/g.test(r)?"tag":/^0[bB][0-1]+$/g.test(r)?"number":/^0[cC][0-7]+$/g.test(r)?"number":/^0[xX][a-fA-F0-9]+$/g.test(r)?"number":/^([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)$/g.test(r)?"number":/^[0-9]+$/g.test(r)?"number":"variable"}return n},lineComment:"--"}}),e.defineMIME("text/x-eiffel","eiffel")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("elm",function(){function e(e,t,n){return t(n),n(e,t)}function t(){return function(t,i){if(t.eatWhile(p))return null;var h=t.next();if(f.test(h)){if("{"==h&&t.eat("-")){var m="comment";return t.eat("#")&&(m="meta"),e(t,i,n(m,1))}return null}if("'"==h)return t.eat("\\")?t.next():t.next(),t.eat("'")?"string":"error";if('"'==h)return e(t,i,r);if(a.test(h))return t.eatWhile(c),t.eat(".")?"qualifier":"variable-2";if(o.test(h)){var g=1===t.pos;return t.eatWhile(c),g?"variable-3":"variable"}if(s.test(h)){if("0"==h){if(t.eat(/[xX]/))return t.eatWhile(l),"integer";if(t.eat(/[oO]/))return t.eatWhile(u),"number"}t.eatWhile(s);var m="number";return t.eat(".")&&(m="number",t.eatWhile(s)),t.eat(/[eE]/)&&(m="number",t.eat(/[-+]/),t.eatWhile(s)),m}return d.test(h)?"-"==h&&t.eat(/-/)&&(t.eatWhile(/-/),!t.eat(d))?(t.skipToEnd(),"comment"):(t.eatWhile(d),"builtin"):"error"}}function n(e,r){return 0==r?t():function(i,o){for(var a=r;!i.eol();){var s=i.next();if("{"==s&&i.eat("-"))++a;else if("-"==s&&i.eat("}")&&(--a,0==a))return o(t()),e}return o(n(e,a)),e}}function r(e,n){for(;!e.eol();){var r=e.next();if('"'==r)return n(t()),"string";if("\\"==r){if(e.eol()||e.eat(p))return n(i),"string";e.eat("&")||e.next()}}return n(t()),"error"}function i(n,i){return n.eat("\\")?e(n,i,r):(n.next(),i(t()),"error")}var o=/[a-z_]/,a=/[A-Z]/,s=/[0-9]/,l=/[0-9A-Fa-f]/,u=/[0-7]/,c=/[a-z_A-Z0-9\']/,d=/[-!#$%&*+.\/<=>?@\\^|~:\u03BB\u2192]/,f=/[(),;[\]`{}]/,p=/[ \t\v\f]/,h=function(){for(var e={},t=["case","of","as","if","then","else","let","in","infix","infixl","infixr","type","alias","input","output","foreign","loopback","module","where","import","exposing","_","..","|",":","=","\\",'"',"->","<-"],n=t.length;n--;)e[t[n]]="keyword";return e}();return{startState:function(){return{f:t()}},copyState:function(e){return{f:e.f}},token:function(e,t){var n=t.f(e,function(e){t.f=e}),r=e.current();return h.hasOwnProperty(r)?h[r]:n}}}),e.defineMIME("text/x-elm","elm")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMIME("text/x-erlang","erlang"),e.defineMode("erlang",function(t){function n(e,t){if(t.in_string)return t.in_string=!o(e),c(t,e,"string");if(t.in_atom)return t.in_atom=!a(e),c(t,e,"atom");if(e.eatSpace())return c(t,e,"whitespace");if(!h(t)&&e.match(/-\s*[a-zß-öø-ÿ][\wØ-ÞÀ-Öß-öø-ÿ]*/))return u(e.current(),A)?c(t,e,"type"):c(t,e,"attribute");var n=e.next();if("%"==n)return e.skipToEnd(),c(t,e,"comment");if(":"==n)return c(t,e,"colon");if("?"==n)return e.eatSpace(),e.eatWhile(j),c(t,e,"macro");if("#"==n)return e.eatSpace(),e.eatWhile(j),c(t,e,"record");if("$"==n)return"\\"!=e.next()||e.match(N)?c(t,e,"number"):c(t,e,"error");if("."==n)return c(t,e,"dot");if("'"==n){if(!(t.in_atom=!a(e))){if(e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),c(t,e,"fun");if(e.match(/\s*\(/,!1)||e.match(/\s*:/,!1))return c(t,e,"function")}return c(t,e,"atom")}if('"'==n)return t.in_string=!o(e),c(t,e,"string");if(/[A-Z_Ø-ÞÀ-Ö]/.test(n))return e.eatWhile(j),c(t,e,"variable");if(/[a-z_ß-öø-ÿ]/.test(n)){if(e.eatWhile(j),e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),c(t,e,"fun");var s=e.current();return u(s,C)?c(t,e,"keyword"):u(s,M)?c(t,e,"operator"):e.match(/\s*\(/,!1)?!u(s,P)||":"==h(t).token&&"erlang"!=h(t,2).token?u(s,B)?c(t,e,"guard"):c(t,e,"function"):c(t,e,"builtin"):":"==l(e)?"erlang"==s?c(t,e,"builtin"):c(t,e,"function"):u(s,["true","false"])?c(t,e,"boolean"):c(t,e,"atom")}var d=/[0-9]/,f=/[0-9a-zA-Z]/;return d.test(n)?(e.eatWhile(d),e.eat("#")?e.eatWhile(f)||e.backUp(1):e.eat(".")&&(e.eatWhile(d)?e.eat(/[eE]/)&&(e.eat(/[-+]/)?e.eatWhile(d)||e.backUp(2):e.eatWhile(d)||e.backUp(1)):e.backUp(1)),c(t,e,"number")):r(e,F,O)?c(t,e,"open_paren"):r(e,R,I)?c(t,e,"close_paren"):i(e,S,T)?c(t,e,"separator"):i(e,D,L)?c(t,e,"operator"):c(t,e,null)}function r(e,t,n){if(1==e.current().length&&t.test(e.current())){for(e.backUp(1);t.test(e.peek());)if(e.next(),u(e.current(),n))return!0;e.backUp(e.current().length-1)}return!1}function i(e,t,n){if(1==e.current().length&&t.test(e.current())){for(;t.test(e.peek());)e.next();for(;01&&"fun"===e[t].type&&"fun"===e[t-1].token)return e.slice(0,t-1);switch(e[t].token){case"}":return _(e,{g:["{"]});case"]":return _(e,{i:["["]});case")":return _(e,{i:["("]});case">>":return _(e,{i:["<<"]});case"end":return _(e,{i:["begin","case","fun","if","receive","try"]});case",":return _(e,{e:["begin","try","when","->",",","(","[","{","<<"]});case"->":return _(e,{r:["when"],m:["try","if","case","receive"]});case";":return _(e,{E:["case","fun","if","receive","try","when"]});case"catch":return _(e,{e:["try"]});case"of":return _(e,{e:["case"]});case"after":return _(e,{e:["receive","try"]});default:return e}}function _(e,t){for(var n in t)for(var r=e.length-1,i=t[n],o=r-1;-1"==s.token?u(l.token,["receive","case","if","try"])?l.column+o+o:l.column+o:u(s.token,O)?s.column+s.token.length:(i=x(n),E(i)?i.column+o:0):0}function b(e){var t=e.match(/,|[a-z]+|\}|\]|\)|>>|\|+|\(/);return E(t)&&0===t.index?t[0]:""}function y(e){var t=e.tokenStack.slice(0,-1),n=w(t,"type",["open_paren"]);return!!E(t[n])&&t[n]}function x(e){var t=e.tokenStack,n=w(t,"type",["open_paren","separator","keyword"]),r=w(t,"type",["operator"]);return E(n)&&E(r)&&n,;]/,T=["->",";",","],M=["and","andalso","band","bnot","bor","bsl","bsr","bxor","div","not","or","orelse","rem","xor"],D=/[\+\-\*\/<>=\|:!]/,L=["=","+","-","*","/",">",">=","<","=<","=:=","==","=/=","/=","||","<-","!"],F=/[<\(\[\{]/,O=["<<","(","[","{"],R=/[>\)\]\}]/,I=["}","]",")",">>"],B=["is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_record","is_reference","is_tuple","atom","binary","bitstring","boolean","function","integer","list","number","pid","port","record","reference","tuple"],P=["abs","adler32","adler32_combine","alive","apply","atom_to_binary","atom_to_list","binary_to_atom","binary_to_existing_atom","binary_to_list","binary_to_term","bit_size","bitstring_to_list","byte_size","check_process_code","contact_binary","crc32","crc32_combine","date","decode_packet","delete_module","disconnect_node","element","erase","exit","float","float_to_list","garbage_collect","get","get_keys","group_leader","halt","hd","integer_to_list","internal_bif","iolist_size","iolist_to_binary","is_alive","is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_process_alive","is_record","is_reference","is_tuple","length","link","list_to_atom","list_to_binary","list_to_bitstring","list_to_existing_atom","list_to_float","list_to_integer","list_to_pid","list_to_tuple","load_module","make_ref","module_loaded","monitor_node","node","node_link","node_unlink","nodes","notalive","now","open_port","pid_to_list","port_close","port_command","port_connect","port_control","pre_loaded","process_flag","process_info","processes","purge_module","put","register","registered","round","self","setelement","size","spawn","spawn_link","spawn_monitor","spawn_opt","split_binary","statistics","term_to_binary","time","throw","tl","trunc","tuple_size","tuple_to_list","unlink","unregister","whereis"],j=/[\w@Ø-ÞÀ-Öß-öø-ÿ]/,N=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;return{startState:function(){return{tokenStack:[],in_string:!1,in_atom:!1}},token:function(e,t){return n(e,t)},indent:function(e,t){return v(e,t)},lineComment:"%"}})})},function(e,t,n){!function(e){e(n(1),n(41))}(function(e){"use strict";e.defineSimpleMode("factor",{start:[{regex:/#?!.*/,token:"comment"},{regex:/"""/,token:"string",next:"string3"},{regex:/"/,token:"string",next:"string"},{regex:/(?:[+-]?)(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\d+.?\d*)/,token:"number"},{regex:/(\:)(\s+)(\S+)(\s+)(\()/,token:["keyword",null,"def",null,"keyword"],next:"stack"},{regex:/USING\:/,token:"keyword",next:"vocabulary"},{regex:/(USE\:|IN\:)(\s+)(\S+)/,token:["keyword",null,"variable-2"]},{regex:/<\S+>/,token:"builtin"},{regex:/;|t|f|if|\.|\[|\]|\{|\}|MAIN:/,token:"keyword"},{regex:/\S+/,token:"variable"},{regex:/./,token:null}],vocabulary:[{regex:/;/,token:"keyword",next:"start"},{regex:/\S+/,token:"variable-2"},{regex:/./,token:null}],string:[{regex:/(?:[^\\]|\\.)*?"/,token:"string",next:"start"},{regex:/.*/,token:"string"}],string3:[{regex:/(?:[^\\]|\\.)*?"""/,token:"string",next:"start"},{regex:/.*/,token:"string"}],stack:[{regex:/\)/,token:"meta",next:"start"},{regex:/--/,token:"meta"},{regex:/\S+/,token:"variable-3"},{regex:/./,token:null}],meta:{dontIndentStates:["start","vocabulary","string","string3","stack"],lineComment:["!","#!"]}}),e.defineMIME("text/x-factor","factor")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("fcl",function(e){function t(e,t){var r=e.next();if(/[\d\.]/.test(r))return"."==r?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==r?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if("/"==r||"("==r){if(e.eat("*"))return t.tokenize=n,n(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(d.test(r))return e.eatWhile(d),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var i=e.current().toLowerCase();return s.propertyIsEnumerable(i)||l.propertyIsEnumerable(i)||u.propertyIsEnumerable(i)?"keyword":c.propertyIsEnumerable(i)?"atom":"variable"}function n(e,n){for(var r,i=!1;r=e.next();){if(("/"==r||")"==r)&&i){n.tokenize=t;break}i="*"==r}return"comment"}function r(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function i(e,t,n){return e.context=new r(e.indented,t,n,null,e.context)}function o(e){if(e.context.prev){var t=e.context.type;return"end_block"==t&&(e.indented=e.context.indented),e.context=e.context.prev}}var a=e.indentUnit,s={term:!0,method:!0,accu:!0,rule:!0,then:!0,is:!0,and:!0,or:!0,if:!0,default:!0},l={var_input:!0,var_output:!0,fuzzify:!0,defuzzify:!0,function_block:!0,ruleblock:!0},u={end_ruleblock:!0,end_defuzzify:!0,end_function_block:!0,end_fuzzify:!0,end_var:!0},c={true:!0,false:!0,nan:!0,real:!0,min:!0,max:!0,cog:!0,cogs:!0},d=/[+\-*&^%:=<>!|\/]/;return{startState:function(e){return{tokenize:null,context:new r((e||0)-a,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var r=n.context;if(e.sol()&&(null==r.align&&(r.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;var a=(n.tokenize||t)(e,n);if("comment"==a)return a;null==r.align&&(r.align=!0);var s=e.current().toLowerCase();return l.propertyIsEnumerable(s)?i(n,e.column(),"end_block"):u.propertyIsEnumerable(s)&&o(n),n.startOfLine=!1,a},indent:function(e,n){if(e.tokenize!=t&&null!=e.tokenize)return 0;var r=e.context,i=u.propertyIsEnumerable(n);return r.align?r.column+(i?0:1):r.indented+(i?0:a)},electricChars:"ryk",fold:"brace",blockCommentStart:"(*",blockCommentEnd:"*)",lineComment:"//"}}),e.defineMIME("text/x-fcl","fcl")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";function t(e){var t=[];return e.split(" ").forEach(function(e){t.push({name:e})}),t}var n=t("INVERT AND OR XOR\t 2* 2/ LSHIFT RSHIFT\t 0= = 0< < > U< MIN MAX\t 2DROP 2DUP 2OVER 2SWAP ?DUP DEPTH DROP DUP OVER ROT SWAP\t >R R> R@\t + - 1+ 1- ABS NEGATE\t S>D * M* UM*\t FM/MOD SM/REM UM/MOD */ */MOD / /MOD MOD\t HERE , @ ! CELL+ CELLS C, C@ C! CHARS 2@ 2!\t ALIGN ALIGNED +! ALLOT\t CHAR [CHAR] [ ] BL\t FIND EXECUTE IMMEDIATE COUNT LITERAL STATE\t ; DOES> >BODY\t EVALUATE\t SOURCE >IN\t <# # #S #> HOLD SIGN BASE >NUMBER HEX DECIMAL\t FILL MOVE\t . CR EMIT SPACE SPACES TYPE U. .R U.R\t ACCEPT\t TRUE FALSE\t <> U> 0<> 0>\t NIP TUCK ROLL PICK\t 2>R 2R@ 2R>\t WITHIN UNUSED MARKER\t I J\t TO\t COMPILE, [COMPILE]\t SAVE-INPUT RESTORE-INPUT\t PAD ERASE\t 2LITERAL DNEGATE\t D- D+ D0< D0= D2* D2/ D< D= DMAX DMIN D>S DABS\t M+ M*/ D. D.R 2ROT DU<\t CATCH THROW\t FREE RESIZE ALLOCATE\t CS-PICK CS-ROLL\t GET-CURRENT SET-CURRENT FORTH-WORDLIST GET-ORDER SET-ORDER\t PREVIOUS SEARCH-WORDLIST WORDLIST FIND ALSO ONLY FORTH DEFINITIONS ORDER\t -TRAILING /STRING SEARCH COMPARE CMOVE CMOVE> BLANK SLITERAL"),r=t("IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE");e.defineMode("forth",function(){function e(e,t){var n;for(n=e.length-1;n>=0;n--)if(e[n].name===t.toUpperCase())return e[n]}return{startState:function(){return{state:"",base:10,coreWordList:n,immediateWordList:r,wordList:[]}},token:function(t,n){var r;if(t.eatSpace())return null;if(""===n.state){if(t.match(/^(\]|:NONAME)(\s|$)/i))return n.state=" compilation","builtin compilation";if(r=t.match(/^(\:)\s+(\S+)(\s|$)+/))return n.wordList.push({name:r[2].toUpperCase()}),n.state=" compilation","def"+n.state;if(r=t.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\s+(\S+)(\s|$)+/i))return n.wordList.push({name:r[2].toUpperCase()}),"def"+n.state;if(r=t.match(/^(\'|\[\'\])\s+(\S+)(\s|$)+/))return"builtin"+n.state}else{if(t.match(/^(\;|\[)(\s)/))return n.state="",t.backUp(1),"builtin compilation";if(t.match(/^(\;|\[)($)/))return n.state="","builtin compilation";if(t.match(/^(POSTPONE)\s+\S+(\s|$)+/))return"builtin"}return r=t.match(/^(\S+)(\s+|$)/),r?void 0!==e(n.wordList,r[1])?"variable"+n.state:"\\"===r[1]?(t.skipToEnd(),"comment"+n.state):void 0!==e(n.coreWordList,r[1])?"builtin"+n.state:void 0!==e(n.immediateWordList,r[1])?"keyword"+n.state:"("===r[1]?(t.eatWhile(function(e){return")"!==e}),t.eat(")"),"comment"+n.state):".("===r[1]?(t.eatWhile(function(e){return")"!==e}),t.eat(")"),"string"+n.state):'S"'===r[1]||'."'===r[1]||'C"'===r[1]?(t.eatWhile(function(e){return'"'!==e}),t.eat('"'),"string"+n.state):r[1]-68719476735?"number"+n.state:"atom"+n.state:void 0}}}),e.defineMIME("text/x-forth","forth")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("fortran",function(){function e(e){for(var t={},n=0;n\/\:]/,s=new RegExp("(.and.|.or.|.eq.|.lt.|.le.|.gt.|.ge.|.ne.|.not.|.eqv.|.neqv.)","i");return{startState:function(){return{tokenize:null}},token:function(e,n){if(e.eatSpace())return null;var r=(n.tokenize||t)(e,n);return"comment"==r||"meta"==r?r:r}}}),e.defineMIME("text/x-fortran","fortran")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("gas",function(e,t){function n(e){s="#",u.ax="variable",u.eax="variable-2",u.rax="variable-3",u.bx="variable",u.ebx="variable-2",u.rbx="variable-3",u.cx="variable",u.ecx="variable-2",u.rcx="variable-3",u.dx="variable",u.edx="variable-2",u.rdx="variable-3",u.si="variable",u.esi="variable-2",u.rsi="variable-3",u.di="variable",u.edi="variable-2",u.rdi="variable-3",u.sp="variable",u.esp="variable-2",u.rsp="variable-3",u.bp="variable",u.ebp="variable-2",u.rbp="variable-3",u.ip="variable",u.eip="variable-2",u.rip="variable-3",u.cs="keyword",u.ds="keyword",u.ss="keyword",u.es="keyword",u.fs="keyword",u.gs="keyword"}function r(e){s="@",l.syntax="builtin",u.r0="variable",u.r1="variable",u.r2="variable",u.r3="variable",u.r4="variable",u.r5="variable",u.r6="variable",u.r7="variable",u.r8="variable",u.r9="variable",u.r10="variable",u.r11="variable",u.r12="variable",u.sp="variable-2",u.lr="variable-2",u.pc="variable-2",u.r13=u.sp,u.r14=u.lr,u.r15=u.pc,a.push(function(e,t){if("#"===e)return t.eatWhile(/\w/),"number"})}function i(e,t){for(var n,r=!1;null!=(n=e.next());){if(n===t&&!r)return!1;r=!r&&"\\"===n}return r}function o(e,t){for(var n,r=!1;null!=(n=e.next());){if("/"===n&&r){t.tokenize=null;break}r="*"===n}return"comment"}var a=[],s="",l={".abort":"builtin",".align":"builtin",".altmacro":"builtin",".ascii":"builtin",".asciz":"builtin",".balign":"builtin",".balignw":"builtin",".balignl":"builtin",".bundle_align_mode":"builtin",".bundle_lock":"builtin",".bundle_unlock":"builtin",".byte":"builtin",".cfi_startproc":"builtin",".comm":"builtin",".data":"builtin",".def":"builtin",".desc":"builtin",".dim":"builtin",".double":"builtin",".eject":"builtin",".else":"builtin",".elseif":"builtin",".end":"builtin",".endef":"builtin",".endfunc":"builtin",".endif":"builtin",".equ":"builtin",".equiv":"builtin",".eqv":"builtin",".err":"builtin",".error":"builtin",".exitm":"builtin",".extern":"builtin",".fail":"builtin",".file":"builtin",".fill":"builtin",".float":"builtin",".func":"builtin",".global":"builtin",".gnu_attribute":"builtin",".hidden":"builtin",".hword":"builtin",".ident":"builtin",".if":"builtin",".incbin":"builtin",".include":"builtin",".int":"builtin",".internal":"builtin",".irp":"builtin",".irpc":"builtin",".lcomm":"builtin",".lflags":"builtin",".line":"builtin",".linkonce":"builtin",".list":"builtin",".ln":"builtin",".loc":"builtin",".loc_mark_labels":"builtin",".local":"builtin",".long":"builtin",".macro":"builtin",".mri":"builtin",".noaltmacro":"builtin",".nolist":"builtin",".octa":"builtin",".offset":"builtin",".org":"builtin",".p2align":"builtin",".popsection":"builtin",".previous":"builtin",".print":"builtin",".protected":"builtin",".psize":"builtin",".purgem":"builtin",".pushsection":"builtin",".quad":"builtin",".reloc":"builtin",".rept":"builtin",".sbttl":"builtin",".scl":"builtin",".section":"builtin",".set":"builtin",".short":"builtin",".single":"builtin",".size":"builtin",".skip":"builtin",".sleb128":"builtin",".space":"builtin",".stab":"builtin",".string":"builtin",".struct":"builtin",".subsection":"builtin",".symver":"builtin",".tag":"builtin",".text":"builtin",".title":"builtin",".type":"builtin",".uleb128":"builtin",".val":"builtin",".version":"builtin",".vtable_entry":"builtin",".vtable_inherit":"builtin",".warning":"builtin",".weak":"builtin",".weakref":"builtin",".word":"builtin"},u={},c=(t.architecture||"x86").toLowerCase();return"x86"===c?n(t):"arm"!==c&&"armv6"!==c||r(t),{startState:function(){return{tokenize:null}},token:function(e,t){if(t.tokenize)return t.tokenize(e,t);if(e.eatSpace())return null;var n,r,c=e.next();if("/"===c&&e.eat("*"))return t.tokenize=o,o(e,t);if(c===s)return e.skipToEnd(),"comment";if('"'===c)return i(e,'"'),"string";if("."===c)return e.eatWhile(/\w/),r=e.current().toLowerCase(),n=l[r],n||null;if("="===c)return e.eatWhile(/\w/),"tag";if("{"===c)return"braket";if("}"===c)return"braket";if(/\d/.test(c))return"0"===c&&e.eat("x")?(e.eatWhile(/[0-9a-fA-F]/),"number"):(e.eatWhile(/\d/),"number");if(/\w/.test(c))return e.eatWhile(/\w/),e.eat(":")?"tag":(r=e.current().toLowerCase(),n=u[r],n||null);for(var d=0;d]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;e.defineMode("gfm",function(n,r){function i(e){return e.code=!1,null}var o=0,a={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(e){return{code:e.code,codeBlock:e.codeBlock,ateSpace:e.ateSpace}},token:function(e,n){if(n.combineTokens=null,n.codeBlock)return e.match(/^```+/)?(n.codeBlock=!1,null):(e.skipToEnd(),null);if(e.sol()&&(n.code=!1),e.sol()&&e.match(/^```+/))return e.skipToEnd(),n.codeBlock=!0,null;if("`"===e.peek()){e.next();var i=e.pos;e.eatWhile("`");var a=1+e.pos-i;return n.code?a===o&&(n.code=!1):(o=a,n.code=!0),null}if(n.code)return e.next(),null;if(e.eatSpace())return n.ateSpace=!0,null;if((e.sol()||n.ateSpace)&&(n.ateSpace=!1,r.gitHubSpice!==!1)){if(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?:[a-f0-9]{7,40}\b)/))return n.combineTokens=!0,"link";if(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))return n.combineTokens=!0,"link"}return e.match(t)&&"]("!=e.string.slice(e.start-2,e.start)&&(0==e.start||/\W/.test(e.string.charAt(e.start-1)))?(n.combineTokens=!0,"link"):(e.next(),null)},blankLine:i},s={underscoresBreakWords:!1,taskLists:!0,fencedCodeBlocks:"```",strikethrough:!0};for(var l in r)s[l]=r[l];return s.name="markdown",e.overlayMode(e.getMode(n,s),a)},"markdown"),e.defineMIME("text/x-gfm","gfm")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("gherkin",function(){return{startState:function(){return{lineNumber:0,tableHeaderLine:!1,allowFeature:!0,allowBackground:!1,allowScenario:!1,allowSteps:!1,allowPlaceholders:!1,allowMultilineArgument:!1,inMultilineString:!1,inMultilineTable:!1,inKeywordLine:!1}},token:function(e,t){if(e.sol()&&(t.lineNumber++,t.inKeywordLine=!1,t.inMultilineTable&&(t.tableHeaderLine=!1,e.match(/\s*\|/,!1)||(t.allowMultilineArgument=!1,t.inMultilineTable=!1))),e.eatSpace(),t.allowMultilineArgument){if(t.inMultilineString)return e.match('"""')?(t.inMultilineString=!1,t.allowMultilineArgument=!1):e.match(/.*/),"string";if(t.inMultilineTable)return e.match(/\|\s*/)?"bracket":(e.match(/[^\|]*/),t.tableHeaderLine?"header":"string");if(e.match('"""'))return t.inMultilineString=!0,"string";if(e.match("|"))return t.inMultilineTable=!0,t.tableHeaderLine=!0,"bracket"}return e.match(/#.*/)?"comment":!t.inKeywordLine&&e.match(/@\S+/)?"tag":!t.inKeywordLine&&t.allowFeature&&e.match(/(機能|功能|フィーチャ|기능|โครงหลัก|ความสามารถ|ความต้องการทางธุรกิจ|ಹೆಚ್ಚಳ|గుణము|ਮੁਹਾਂਦਰਾ|ਨਕਸ਼ ਨੁਹਾਰ|ਖਾਸੀਅਤ|रूप लेख|وِیژگی|خاصية|תכונה|Функціонал|Функция|Функционалност|Функционал|Үзенчәлеклелек|Свойство|Особина|Мөмкинлек|Могућност|Λειτουργία|Δυνατότητα|Właściwość|Vlastnosť|Trajto|Tính năng|Savybė|Pretty much|Požiadavka|Požadavek|Potrzeba biznesowa|Özellik|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Hwæt|Hwaet|Funzionalità|Funktionalitéit|Funktionalität|Funkcja|Funkcionalnost|Funkcionalitāte|Funkcia|Fungsi|Functionaliteit|Funcționalitate|Funcţionalitate|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Fīča|Feature|Eiginleiki|Egenskap|Egenskab|Característica|Caracteristica|Business Need|Aspekt|Arwedd|Ahoy matey!|Ability):/)?(t.allowScenario=!0,t.allowBackground=!0,t.allowPlaceholders=!1,t.allowSteps=!1,t.allowMultilineArgument=!1,t.inKeywordLine=!0,"keyword"):!t.inKeywordLine&&t.allowBackground&&e.match(/(背景|배경|แนวคิด|ಹಿನ್ನೆಲೆ|నేపథ్యం|ਪਿਛੋਕੜ|पृष्ठभूमि|زمینه|الخلفية|רקע|Тарих|Предыстория|Предистория|Позадина|Передумова|Основа|Контекст|Кереш|Υπόβαθρο|Założenia|Yo\-ho\-ho|Tausta|Taust|Situācija|Rerefons|Pozadina|Pozadie|Pozadí|Osnova|Latar Belakang|Kontext|Konteksts|Kontekstas|Kontekst|Háttér|Hannergrond|Grundlage|Geçmiş|Fundo|Fono|First off|Dis is what went down|Dasar|Contexto|Contexte|Context|Contesto|Cenário de Fundo|Cenario de Fundo|Cefndir|Bối cảnh|Bakgrunnur|Bakgrunn|Bakgrund|Baggrund|Background|B4|Antecedents|Antecedentes|Ær|Aer|Achtergrond):/)?(t.allowPlaceholders=!1,t.allowSteps=!0,t.allowBackground=!1,t.allowMultilineArgument=!1,t.inKeywordLine=!0,"keyword"):!t.inKeywordLine&&t.allowScenario&&e.match(/(場景大綱|场景大纲|劇本大綱|剧本大纲|テンプレ|シナリオテンプレート|シナリオテンプレ|シナリオアウトライン|시나리오 개요|สรุปเหตุการณ์|โครงสร้างของเหตุการณ์|ವಿವರಣೆ|కథనం|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਟਕਥਾ ਢਾਂਚਾ|परिदृश्य रूपरेखा|سيناريو مخطط|الگوی سناریو|תבנית תרחיש|Сценарийның төзелеше|Сценарий структураси|Структура сценарію|Структура сценария|Структура сценарија|Скица|Рамка на сценарий|Концепт|Περιγραφή Σεναρίου|Wharrimean is|Template Situai|Template Senario|Template Keadaan|Tapausaihio|Szenariogrundriss|Szablon scenariusza|Swa hwær swa|Swa hwaer swa|Struktura scenarija|Structură scenariu|Structura scenariu|Skica|Skenario konsep|Shiver me timbers|Senaryo taslağı|Schema dello scenario|Scenariomall|Scenariomal|Scenario Template|Scenario Outline|Scenario Amlinellol|Scenārijs pēc parauga|Scenarijaus šablonas|Reckon it's like|Raamstsenaarium|Plang vum Szenario|Plan du Scénario|Plan du scénario|Osnova scénáře|Osnova Scenára|Náčrt Scenáru|Náčrt Scénáře|Náčrt Scenára|MISHUN SRSLY|Menggariskan Senario|Lýsing Dæma|Lýsing Atburðarásar|Konturo de la scenaro|Koncept|Khung tình huống|Khung kịch bản|Forgatókönyv vázlat|Esquema do Cenário|Esquema do Cenario|Esquema del escenario|Esquema de l'escenari|Esbozo do escenario|Delineação do Cenário|Delineacao do Cenario|All y'all|Abstrakt Scenario|Abstract Scenario):/)?(t.allowPlaceholders=!0,t.allowSteps=!0,t.allowMultilineArgument=!1,t.inKeywordLine=!0,"keyword"):t.allowScenario&&e.match(/(例子|例|サンプル|예|ชุดของเหตุการณ์|ชุดของตัวอย่าง|ಉದಾಹರಣೆಗಳು|ఉదాహరణలు|ਉਦਾਹਰਨਾਂ|उदाहरण|نمونه ها|امثلة|דוגמאות|Үрнәкләр|Сценарији|Примеры|Примери|Приклади|Мисоллар|Мисаллар|Σενάρια|Παραδείγματα|You'll wanna|Voorbeelden|Variantai|Tapaukset|Se þe|Se the|Se ðe|Scenarios|Scenariji|Scenarijai|Przykłady|Primjeri|Primeri|Příklady|Príklady|Piemēri|Példák|Pavyzdžiai|Paraugs|Örnekler|Juhtumid|Exemplos|Exemples|Exemple|Exempel|EXAMPLZ|Examples|Esempi|Enghreifftiau|Ekzemploj|Eksempler|Ejemplos|Dữ liệu|Dead men tell no tales|Dæmi|Contoh|Cenários|Cenarios|Beispiller|Beispiele|Atburðarásir):/)?(t.allowPlaceholders=!1,t.allowSteps=!0,t.allowBackground=!1,t.allowMultilineArgument=!0,"keyword"):!t.inKeywordLine&&t.allowScenario&&e.match(/(場景|场景|劇本|剧本|シナリオ|시나리오|เหตุการณ์|ಕಥಾಸಾರಾಂಶ|సన్నివేశం|ਪਟਕਥਾ|परिदृश्य|سيناريو|سناریو|תרחיש|Сценарій|Сценарио|Сценарий|Пример|Σενάριο|Tình huống|The thing of it is|Tapaus|Szenario|Swa|Stsenaarium|Skenario|Situai|Senaryo|Senario|Scenaro|Scenariusz|Scenariu|Scénario|Scenario|Scenarijus|Scenārijs|Scenarij|Scenarie|Scénář|Scenár|Primer|MISHUN|Kịch bản|Keadaan|Heave to|Forgatókönyv|Escenario|Escenari|Cenário|Cenario|Awww, look mate|Atburðarás):/)?(t.allowPlaceholders=!1,t.allowSteps=!0,t.allowBackground=!1,t.allowMultilineArgument=!1,t.inKeywordLine=!0,"keyword"):!t.inKeywordLine&&t.allowSteps&&e.match(/(那麼|那么|而且|當|当|并且|同時|同时|前提|假设|假設|假定|假如|但是|但し|並且|もし|ならば|ただし|しかし|かつ|하지만|조건|먼저|만일|만약|단|그리고|그러면|และ |เมื่อ |แต่ |ดังนั้น |กำหนดให้ |ಸ್ಥಿತಿಯನ್ನು |ಮತ್ತು |ನೀಡಿದ |ನಂತರ |ಆದರೆ |మరియు |చెప్పబడినది |కాని |ఈ పరిస్థితిలో |అప్పుడు |ਪਰ |ਤਦ |ਜੇਕਰ |ਜਿਵੇਂ ਕਿ |ਜਦੋਂ |ਅਤੇ |यदि |परन्तु |पर |तब |तदा |तथा |जब |चूंकि |किन्तु |कदा |और |अगर |و |هنگامی |متى |لكن |عندما |ثم |بفرض |با فرض |اما |اذاً |آنگاه |כאשר |וגם |בהינתן |אזי |אז |אבל |Якщо |Һәм |Унда |Тоді |Тогда |То |Также |Та |Пусть |Припустимо, що |Припустимо |Онда |Но |Нехай |Нәтиҗәдә |Лекин |Ләкин |Коли |Когда |Когато |Када |Кад |К тому же |І |И |Задато |Задати |Задате |Если |Допустим |Дано |Дадено |Вә |Ва |Бирок |Әмма |Әйтик |Әгәр |Аммо |Али |Але |Агар |А також |А |Τότε |Όταν |Και |Δεδομένου |Αλλά |Þurh |Þegar |Þa þe |Þá |Þa |Zatati |Zakładając |Zadato |Zadate |Zadano |Zadani |Zadan |Za předpokladu |Za predpokladu |Youse know when youse got |Youse know like when |Yna |Yeah nah |Y'know |Y |Wun |Wtedy |When y'all |When |Wenn |WEN |wann |Ve |Và |Und |Un |ugeholl |Too right |Thurh |Thì |Then y'all |Then |Tha the |Tha |Tetapi |Tapi |Tak |Tada |Tad |Stel |Soit |Siis |Și |Şi |Si |Sed |Se |Så |Quando |Quand |Quan |Pryd |Potom |Pokud |Pokiaľ |Però |Pero |Pak |Oraz |Onda |Ond |Oletetaan |Og |Och |O zaman |Niin |Nhưng |När |Når |Mutta |Men |Mas |Maka |Majd |Mając |Mais |Maar |mä |Ma |Lorsque |Lorsqu'|Logo |Let go and haul |Kun |Kuid |Kui |Kiedy |Khi |Ketika |Kemudian |Keď |Když |Kaj |Kai |Kada |Kad |Jeżeli |Jeśli |Ja |It's just unbelievable |Ir |I CAN HAZ |I |Ha |Givun |Givet |Given y'all |Given |Gitt |Gegeven |Gegeben seien |Gegeben sei |Gdy |Gangway! |Fakat |Étant donnés |Etant donnés |Étant données |Etant données |Étant donnée |Etant donnée |Étant donné |Etant donné |Et |És |Entonces |Entón |Então |Entao |En |Eğer ki |Ef |Eeldades |E |Ðurh |Duota |Dun |Donitaĵo |Donat |Donada |Do |Diyelim ki |Diberi |Dengan |Den youse gotta |DEN |De |Dato |Dați fiind |Daţi fiind |Dati fiind |Dati |Date fiind |Date |Data |Dat fiind |Dar |Dann |dann |Dan |Dados |Dado |Dadas |Dada |Ða ðe |Ða |Cuando |Cho |Cando |Când |Cand |Cal |But y'all |But at the end of the day I reckon |BUT |But |Buh |Blimey! |Biết |Bet |Bagi |Aye |awer |Avast! |Atunci |Atesa |Atès |Apabila |Anrhegedig a |Angenommen |And y'all |And |AN |An |an |Amikor |Amennyiben |Ama |Als |Alors |Allora |Ali |Aleshores |Ale |Akkor |Ak |Adott |Ac |Aber |A zároveň |A tiež |A taktiež |A také |A |a |7 |\* )/)?(t.inStep=!0,t.allowPlaceholders=!0,t.allowMultilineArgument=!0,t.inKeywordLine=!0,"keyword"):e.match(/"[^"]*"?/)?"string":t.allowPlaceholders&&e.match(/<[^>]*>?/)?"variable":(e.next(),e.eatWhile(/[^@"<#]/),null)}}}),e.defineMIME("text/x-feature","gherkin")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("go",function(e){function t(e,t){var i=e.next();if('"'==i||"'"==i||"`"==i)return t.tokenize=n(i),t.tokenize(e,t);if(/[\d\.]/.test(i))return"."==i?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==i?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(i))return s=i,null;if("/"==i){if(e.eat("*"))return t.tokenize=r,r(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(d.test(i))return e.eatWhile(d),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var o=e.current();return u.propertyIsEnumerable(o)?("case"!=o&&"default"!=o||(s="case"),"keyword"):c.propertyIsEnumerable(o)?"atom":"variable"}function n(e){return function(n,r){for(var i,o=!1,a=!1;null!=(i=n.next());){if(i==e&&!o){a=!0;break}o=!o&&"`"!=e&&"\\"==i}return(a||!o&&"`"!=e)&&(r.tokenize=t),"string"}}function r(e,n){for(var r,i=!1;r=e.next();){if("/"==r&&i){n.tokenize=t;break}i="*"==r}return"comment"}function i(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function o(e,t,n){return e.context=new i(e.indented,t,n,null,e.context)}function a(e){if(e.context.prev){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}}var s,l=e.indentUnit,u={break:!0,case:!0,chan:!0,const:!0,continue:!0,default:!0,defer:!0,else:!0,fallthrough:!0,for:!0,func:!0,go:!0,goto:!0,if:!0,import:!0,interface:!0,map:!0,package:!0,range:!0,return:!0,select:!0,struct:!0,switch:!0,type:!0,var:!0,bool:!0,byte:!0,complex64:!0,complex128:!0,float32:!0,float64:!0,int8:!0,int16:!0,int32:!0,int64:!0,string:!0,uint8:!0,uint16:!0,uint32:!0,uint64:!0,int:!0,uint:!0,uintptr:!0,error:!0,rune:!0},c={true:!0,false:!0,iota:!0,nil:!0,append:!0,cap:!0,close:!0,complex:!0,copy:!0,delete:!0,imag:!0,len:!0,make:!0,new:!0,panic:!0,print:!0,println:!0,real:!0,recover:!0},d=/[+\-*&^%:=<>!|\/]/;return{startState:function(e){return{tokenize:null,context:new i((e||0)-l,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var r=n.context;if(e.sol()&&(null==r.align&&(r.align=!1),n.indented=e.indentation(),n.startOfLine=!0,"case"==r.type&&(r.type="}")),e.eatSpace())return null;s=null;var i=(n.tokenize||t)(e,n);return"comment"==i?i:(null==r.align&&(r.align=!0),"{"==s?o(n,e.column(),"}"):"["==s?o(n,e.column(),"]"):"("==s?o(n,e.column(),")"):"case"==s?r.type="case":"}"==s&&"}"==r.type?r=a(n):s==r.type&&a(n),n.startOfLine=!1,i)},indent:function(e,n){if(e.tokenize!=t&&null!=e.tokenize)return 0;var r=e.context,i=n&&n.charAt(0);if("case"==r.type&&/^(?:case|default)\b/.test(n))return e.context.type="}",r.indented;var o=i==r.type;return r.align?r.column+(o?0:1):r.indented+(o?0:l)},electricChars:"{}):",closeBrackets:"()[]{}''\"\"``",fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),e.defineMIME("text/x-go","go")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("groovy",function(t){function n(e){for(var t={},n=e.split(" "),r=0;r"))return d="->",null;if(/[+\-*&%=<>!?|\/~]/.test(n))return e.eatWhile(/[+\-*&%=<>|~]/),"operator";if(e.eatWhile(/[\w\$_]/),"@"==n)return e.eatWhile(/[\w\$_\.]/),"meta";if("."==t.lastToken)return"property";if(e.eat(":"))return d="proplabel","property";var r=e.current();return m.propertyIsEnumerable(r)?"atom":f.propertyIsEnumerable(r)?(p.propertyIsEnumerable(r)?d="newstatement":h.propertyIsEnumerable(r)&&(d="standalone"),"keyword"):"variable"}function i(e,t,n){function r(t,n){for(var r,a=!1,s=!i;null!=(r=t.next());){if(r==e&&!a){if(!i)break;if(t.match(e+e)){s=!0;break}}if('"'==e&&"$"==r&&!a&&t.eat("{"))return n.tokenize.push(o()),"string";a=!a&&"\\"==r}return s&&n.tokenize.pop(),"string"}var i=!1;if("/"!=e&&t.eat(e)){if(!t.eat(e))return"string";i=!0}return n.tokenize.push(r),r(t,n)}function o(){function e(e,n){if("}"==e.peek()){if(t--,0==t)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](e,n)}else"{"==e.peek()&&t++;return r(e,n)}var t=1;return e.isBase=!0,e}function a(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize.pop();break}r="*"==n}return"comment"}function s(e,t){return!e||"operator"==e||"->"==e||/[\.\[\{\(,;:]/.test(e)||"newstatement"==e||"keyword"==e||"proplabel"==e||"standalone"==e&&!t}function l(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function u(e,t,n){return e.context=new l(e.indented,t,n,null,e.context)}function c(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}var d,f=n("abstract as assert boolean break byte case catch char class const continue def default do double else enum extends final finally float for goto if implements import in instanceof int interface long native new package private protected public return short static strictfp super switch synchronized threadsafe throw throws transient try void volatile while"),p=n("catch class do else finally for if switch try while enum interface def"),h=n("return break continue"),m=n("null true false this");return r.isBase=!0,{startState:function(e){return{tokenize:[r],context:new l((e||0)-t.indentUnit,0,"top",!1),indented:0,startOfLine:!0,lastToken:null}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0,"statement"!=n.type||s(t.lastToken,!0)||(c(t),n=t.context)),e.eatSpace())return null;d=null;var r=t.tokenize[t.tokenize.length-1](e,t);if("comment"==r)return r;if(null==n.align&&(n.align=!0),";"!=d&&":"!=d||"statement"!=n.type)if("->"==d&&"statement"==n.type&&"}"==n.prev.type)c(t),t.context.align=!1;else if("{"==d)u(t,e.column(),"}");else if("["==d)u(t,e.column(),"]");else if("("==d)u(t,e.column(),")");else if("}"==d){for(;"statement"==n.type;)n=c(t);for("}"==n.type&&(n=c(t));"statement"==n.type;)n=c(t)}else d==n.type?c(t):("}"==n.type||"top"==n.type||"statement"==n.type&&"newstatement"==d)&&u(t,e.column(),"statement");else c(t);return t.startOfLine=!1,t.lastToken=d||r,r},indent:function(n,r){if(!n.tokenize[n.tokenize.length-1].isBase)return e.Pass;var i=r&&r.charAt(0),o=n.context;"statement"!=o.type||s(n.lastToken,!0)||(o=o.prev);var a=i==o.type;return"statement"==o.type?o.indented+("{"==i?0:t.indentUnit):o.align?o.column+(a?0:1):o.indented+(a?0:t.indentUnit)},electricChars:"{}",closeBrackets:{triples:"'\""},fold:"brace"}}),e.defineMIME("text/x-groovy","groovy")})},function(e,t,n){!function(e){e(n(1),n(14),n(72))}(function(e){"use strict";e.defineMode("haml",function(t){function n(e){return function(t,n){var o=t.peek();return o==e&&1==n.rubyState.tokenize.length?(t.next(),n.tokenize=i,"closeAttributeTag"):r(t,n)}}function r(e,t){return e.match("-#")?(e.skipToEnd(),"comment"):a.token(e,t.rubyState)}function i(e,t){var i=e.peek();if("comment"==t.previousToken.style&&t.indented>t.previousToken.indented)return e.skipToEnd(),"commentLine";if(t.startOfLine){if("!"==i&&e.match("!!"))return e.skipToEnd(),"tag";if(e.match(/^%[\w:#\.]+=/))return t.tokenize=r,"hamlTag";if(e.match(/^%[\w:]+/))return"hamlTag";if("/"==i)return e.skipToEnd(),"comment"}if((t.startOfLine||"hamlTag"==t.previousToken.style)&&("#"==i||"."==i))return e.match(/[\w-#\.]*/),"hamlAttribute";if(t.startOfLine&&!e.match("-->",!1)&&("="==i||"-"==i))return t.tokenize=r,t.tokenize(e,t);if("hamlTag"==t.previousToken.style||"closeAttributeTag"==t.previousToken.style||"hamlAttribute"==t.previousToken.style){if("("==i)return t.tokenize=n(")"),t.tokenize(e,t);if("{"==i&&!e.match(/^\{%.*/))return t.tokenize=n("}"),t.tokenize(e,t)}return o.token(e,t.htmlState)}var o=e.getMode(t,{name:"htmlmixed"}),a=e.getMode(t,"ruby");return{startState:function(){var t=e.startState(o),n=e.startState(a);return{htmlState:t,rubyState:n,indented:0,previousToken:{style:null,indented:0},tokenize:i}},copyState:function(t){return{htmlState:e.copyState(o,t.htmlState),rubyState:e.copyState(a,t.rubyState),indented:t.indented,previousToken:t.previousToken,tokenize:t.tokenize}},token:function(e,t){if(e.sol()&&(t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;var n=t.tokenize(e,t);if(t.startOfLine=!1,n&&"commentLine"!=n&&(t.previousToken={style:n,indented:t.indented}),e.eol()&&t.tokenize==r){e.backUp(1);var o=e.peek();e.next(),o&&","!=o&&(t.tokenize=i)}return"hamlTag"==n?n="tag":"commentLine"==n?n="comment":"hamlAttribute"==n?n="attribute":"closeAttributeTag"==n&&(n=null),n}}},"htmlmixed","ruby"),e.defineMIME("text/x-haml","haml")})},function(e,t,n){!function(e){e(n(1),n(127))}(function(e){"use strict";e.defineMode("haskell-literate",function(t,n){var r=e.getMode(t,n&&n.base||"haskell");return{startState:function(){return{inCode:!1,baseState:e.startState(r)}},token:function(e,t){return e.sol()&&(t.inCode=e.eat(">"))?"meta":t.inCode?r.token(e,t.baseState):(e.skipToEnd(),"comment")},innerMode:function(e){return e.inCode?{state:e.baseState,mode:r}:null}}},"haskell"),e.defineMIME("text/x-literate-haskell","haskell-literate")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("haxe",function(e,t){function n(e){return{type:e,style:"keyword"}}function r(e,t,n){return t.tokenize=n,n(e,t)}function i(e,t){for(var n,r=!1;null!=(n=e.next());){if(n==t&&!r)return!0;r=!r&&"\\"==n}}function o(e,t,n){return W=e,G=n,t}function a(e,t){var n=e.next();if('"'==n||"'"==n)return r(e,t,s(n));if(/[\[\]{}\(\),;\:\.]/.test(n))return o(n);if("0"==n&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),o("number","number");if(/\d/.test(n)||"-"==n&&e.eat(/\d/))return e.match(/^\d*(?:\.\d*(?!\.))?(?:[eE][+\-]?\d+)?/),o("number","number");if(t.reAllowed&&"~"==n&&e.eat(/\//))return i(e,"/"),e.eatWhile(/[gimsu]/),o("regexp","string-2");if("/"==n)return e.eat("*")?r(e,t,l):e.eat("/")?(e.skipToEnd(),o("comment","comment")):(e.eatWhile(ne),o("operator",null,e.current()));if("#"==n)return e.skipToEnd(),o("conditional","meta");if("@"==n)return e.eat(/:/),e.eatWhile(/[\w_]/),o("metadata","meta");if(ne.test(n))return e.eatWhile(ne),o("operator",null,e.current());var a;if(/[A-Z]/.test(n))return e.eatWhile(/[\w_<>]/),a=e.current(),o("type","variable-3",a);e.eatWhile(/[\w_]/);var a=e.current(),u=te.propertyIsEnumerable(a)&&te[a];return u&&t.kwAllowed?o(u.type,u.style,a):o("variable","variable",a)}function s(e){return function(t,n){return i(t,e)&&(n.tokenize=a),o("string","string")}}function l(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=a;break}r="*"==n}return o("comment","comment")}function u(e,t,n,r,i,o){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=o,null!=r&&(this.align=r)}function c(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0}function d(e,t,n,r,i){var o=e.cc;for(ie.state=e,ie.stream=i,ie.marked=null,ie.cc=o,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;){var a=o.length?o.pop():k;if(a(n,r)){for(;o.length&&o[o.length-1].lex;)o.pop()();return ie.marked?ie.marked:"variable"==n&&c(e,r)?"variable-2":"variable"==n&&f(e,r)?"variable-3":t}}}function f(e,t){if(/[a-z]/.test(t.charAt(0)))return!1;for(var n=e.importedtypes.length,r=0;r=0;e--)ie.cc.push(arguments[e])}function m(){return h.apply(null,arguments),!0}function g(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function $(e){var t=ie.state;if(t.context){if(ie.marked="def",g(e,t.localVars))return;t.localVars={name:e,next:t.localVars}}else if(t.globalVars){if(g(e,t.globalVars))return;t.globalVars={name:e,next:t.globalVars}}}function _(){ie.state.context||(ie.state.localVars=oe),ie.state.context={prev:ie.state.context,vars:ie.state.localVars}}function v(){ie.state.localVars=ie.state.context.vars,ie.state.context=ie.state.context.prev}function b(e,t){var n=function(){var n=ie.state;n.lexical=new u(n.indented,ie.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function y(){var e=ie.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function x(e){function t(n){return n==e?m():";"==e?h():m(t)}return t}function k(e){return"@"==e?m(S):"var"==e?m(b("vardef"),B,x(";"),y):"keyword a"==e?m(b("form"),w,k,y):"keyword b"==e?m(b("form"),k,y):"{"==e?m(b("}"),_,I,y,v):";"==e?m():"attribute"==e?m(C):"function"==e?m(z):"for"==e?m(b("form"),x("("),b(")"),j,x(")"),y,k,y):"variable"==e?m(b("stat"),L):"switch"==e?m(b("form"),w,b("}","switch"),x("{"),I,y,y):"case"==e?m(w,x(":")):"default"==e?m(x(":")):"catch"==e?m(b("form"),_,x("("),U,x(")"),k,y,v):"import"==e?m(M,x(";")):"typedef"==e?m(D):h(b("stat"),w,x(";"),y); +}function w(e){return re.hasOwnProperty(e)?m(A):"type"==e?m(A):"function"==e?m(z):"keyword c"==e?m(E):"("==e?m(b(")"),E,x(")"),y,A):"operator"==e?m(w):"["==e?m(b("]"),R(E,"]"),y,A):"{"==e?m(b("}"),R(O,"}"),y,A):m()}function E(e){return e.match(/[;\}\)\],]/)?h():h(w)}function A(e,t){if("operator"==e&&/\+\+|--/.test(t))return m(A);if("operator"==e||":"==e)return m(w);if(";"!=e)return"("==e?m(b(")"),R(w,")"),y,A):"."==e?m(F,A):"["==e?m(b("]"),w,x("]"),y,A):void 0}function C(e){return"attribute"==e?m(C):"function"==e?m(z):"var"==e?m(B):void 0}function S(e){return":"==e?m(S):"variable"==e?m(S):"("==e?m(b(")"),R(T,")"),y,k):void 0}function T(e){if("variable"==e)return m()}function M(e,t){return"variable"==e&&/[A-Z]/.test(t.charAt(0))?(p(t),m()):"variable"==e||"property"==e||"."==e||"*"==t?m(M):void 0}function D(e,t){return"variable"==e&&/[A-Z]/.test(t.charAt(0))?(p(t),m()):"type"==e&&/[A-Z]/.test(t.charAt(0))?m():void 0}function L(e){return":"==e?m(y,k):h(A,x(";"),y)}function F(e){if("variable"==e)return ie.marked="property",m()}function O(e){if("variable"==e&&(ie.marked="property"),re.hasOwnProperty(e))return m(x(":"),w)}function R(e,t){function n(r){return","==r?m(e,n):r==t?m():m(x(t))}return function(r){return r==t?m():h(e,n)}}function I(e){return"}"==e?m():h(k,I)}function B(e,t){return"variable"==e?($(t),m(q,P)):m()}function P(e,t){return"="==t?m(w,P):","==e?m(B):void 0}function j(e,t){return"variable"==e?($(t),m(N,w)):h()}function N(e,t){if("in"==t)return m()}function z(e,t){return"variable"==e||"type"==e?($(t),m(z)):"new"==t?m(z):"("==e?m(b(")"),_,R(U,")"),y,q,k,v):void 0}function q(e){if(":"==e)return m(Y)}function Y(e){return"type"==e?m():"variable"==e?m():"{"==e?m(b("}"),R(H,"}"),y):void 0}function H(e){if("variable"==e)return m(q)}function U(e,t){if("variable"==e)return $(t),m(q)}var W,G,V=e.indentUnit,K=n("keyword a"),J=n("keyword b"),X=n("keyword c"),Z=n("operator"),Q={type:"atom",style:"atom"},ee={type:"attribute",style:"attribute"},W=n("typedef"),te={if:K,while:K,else:J,do:J,try:J,return:X,break:X,continue:X,new:X,throw:X,var:n("var"),inline:ee,static:ee,using:n("import"),public:ee,private:ee,cast:n("cast"),import:n("import"),macro:n("macro"),function:n("function"),catch:n("catch"),untyped:n("untyped"),callback:n("cb"),for:n("for"),switch:n("switch"),case:n("case"),default:n("default"),in:Z,never:n("property_access"),trace:n("trace"),class:W,abstract:W,enum:W,interface:W,typedef:W,extends:W,implements:W,dynamic:W,true:Q,false:Q,null:Q},ne=/[+\-*&%=<>!?|]/,re={atom:!0,number:!0,variable:!0,string:!0,regexp:!0},ie={state:null,column:null,marked:null,cc:null},oe={name:"this",next:null};return v.lex=!0,y.lex=!0,{startState:function(e){var n=["Int","Float","String","Void","Std","Bool","Dynamic","Array"],r={tokenize:a,reAllowed:!0,kwAllowed:!0,cc:[],lexical:new u((e||0)-V,0,"block",!1),localVars:t.localVars,importedtypes:n,context:t.localVars&&{vars:t.localVars},indented:0};return t.globalVars&&"object"==typeof t.globalVars&&(r.globalVars=t.globalVars),r},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation()),e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==W?n:(t.reAllowed=!("operator"!=W&&"keyword c"!=W&&!W.match(/^[\[{}\(,;:]$/)),t.kwAllowed="."!=W,d(t,n,W,G,e))},indent:function(e,t){if(e.tokenize!=a)return 0;var n=t&&t.charAt(0),r=e.lexical;"stat"==r.type&&"}"==n&&(r=r.prev);var i=r.type,o=n==i;return"vardef"==i?r.indented+4:"form"==i&&"{"==n?r.indented:"stat"==i||"form"==i?r.indented+V:"switch"!=r.info||o?r.align?r.column+(o?0:1):r.indented+(o?0:V):r.indented+(/^(?:case|default)\b/.test(t)?V:2*V)},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),e.defineMIME("text/x-haxe","haxe"),e.defineMode("hxml",function(){return{startState:function(){return{define:!1,inString:!1}},token:function(e,t){var n=e.peek(),r=e.sol();if("#"==n)return e.skipToEnd(),"comment";if(r&&"-"==n){var i="variable-2";return e.eat(/-/),"-"==e.peek()&&(e.eat(/-/),i="keyword a"),"D"==e.peek()&&(e.eat(/[D]/),i="keyword c",t.define=!0),e.eatWhile(/[A-Z]/i),i}var n=e.peek();return 0==t.inString&&"'"==n&&(t.inString=!0,n=e.next()),1==t.inString?(e.skipTo("'")||e.skipToEnd(),"'"==e.peek()&&(e.next(),t.inString=!1),"string"):(e.next(),null)},lineComment:"#"}}),e.defineMIME("text/x-hxml","hxml")})},function(e,t,n){!function(e){e(n(1),n(14),n(71))}(function(e){"use strict";e.defineMode("htmlembedded",function(t,n){return e.multiplexingMode(e.getMode(t,"htmlmixed"),{open:n.open||n.scriptStartRegex||"<%",close:n.close||n.scriptEndRegex||"%>",mode:e.getMode(t,n.scriptingModeSpec)})},"htmlmixed"),e.defineMIME("application/x-ejs",{name:"htmlembedded",scriptingModeSpec:"javascript"}),e.defineMIME("application/x-aspx",{name:"htmlembedded",scriptingModeSpec:"text/x-csharp"}),e.defineMIME("application/x-jsp",{name:"htmlembedded",scriptingModeSpec:"text/x-java"}),e.defineMIME("application/x-erb",{name:"htmlembedded",scriptingModeSpec:"ruby"})})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("http",function(){function e(e,t){return e.skipToEnd(),t.cur=a,"error"}function t(t,r){return t.match(/^HTTP\/\d\.\d/)?(r.cur=n,"keyword"):t.match(/^[A-Z]+/)&&/[ \t]/.test(t.peek())?(r.cur=i,"keyword"):e(t,r)}function n(t,n){var i=t.match(/^\d+/);if(!i)return e(t,n);n.cur=r;var o=Number(i[0]);return o>=100&&o<200?"positive informational":o>=200&&o<300?"positive success":o>=300&&o<400?"positive redirect":o>=400&&o<500?"negative client-error":o>=500&&o<600?"negative server-error":"error"}function r(e,t){return e.skipToEnd(),t.cur=a,null}function i(e,t){return e.eatWhile(/\S/),t.cur=o,"string-2"}function o(t,n){return t.match(/^HTTP\/\d\.\d$/)?(n.cur=a,"keyword"):e(t,n)}function a(e){return e.sol()&&!e.eat(/[ \t]/)?e.match(/^.*?:/)?"atom":(e.skipToEnd(),"error"):(e.skipToEnd(),"string")}function s(e){return e.skipToEnd(),null}return{token:function(e,t){var n=t.cur;return n!=a&&n!=s&&e.eatSpace()?null:n(e,t)},blankLine:function(e){e.cur=s},startState:function(){return{cur:t}}}}),e.defineMIME("message/http","http")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}function n(e){if(e.eatSpace())return null;if(e.match(";"))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+/))return"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/))return"number";if(e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))return"number"}return e.match(/^"([^"]|(""))*"/)?"string":e.match(/^'([^']|(''))*'/)?"string":e.match(a)?"keyword":e.match(i)?"builtin":e.match(s)?"variable":e.match(l)||e.match(u)?"operator":(e.next(),null)}var r=["a_correlate","abs","acos","adapt_hist_equal","alog","alog2","alog10","amoeba","annotate","app_user_dir","app_user_dir_query","arg_present","array_equal","array_indices","arrow","ascii_template","asin","assoc","atan","axis","axis","bandpass_filter","bandreject_filter","barplot","bar_plot","beseli","beselj","beselk","besely","beta","biginteger","bilinear","bin_date","binary_template","bindgen","binomial","bit_ffs","bit_population","blas_axpy","blk_con","boolarr","boolean","boxplot","box_cursor","breakpoint","broyden","bubbleplot","butterworth","bytarr","byte","byteorder","bytscl","c_correlate","calendar","caldat","call_external","call_function","call_method","call_procedure","canny","catch","cd","cdf","ceil","chebyshev","check_math","chisqr_cvf","chisqr_pdf","choldc","cholsol","cindgen","cir_3pnt","clipboard","close","clust_wts","cluster","cluster_tree","cmyk_convert","code_coverage","color_convert","color_exchange","color_quan","color_range_map","colorbar","colorize_sample","colormap_applicable","colormap_gradient","colormap_rotation","colortable","comfit","command_line_args","common","compile_opt","complex","complexarr","complexround","compute_mesh_normals","cond","congrid","conj","constrained_min","contour","contour","convert_coord","convol","convol_fft","coord2to3","copy_lun","correlate","cos","cosh","cpu","cramer","createboxplotdata","create_cursor","create_struct","create_view","crossp","crvlength","ct_luminance","cti_test","cursor","curvefit","cv_coord","cvttobm","cw_animate","cw_animate_getp","cw_animate_load","cw_animate_run","cw_arcball","cw_bgroup","cw_clr_index","cw_colorsel","cw_defroi","cw_field","cw_filesel","cw_form","cw_fslider","cw_light_editor","cw_light_editor_get","cw_light_editor_set","cw_orient","cw_palette_editor","cw_palette_editor_get","cw_palette_editor_set","cw_pdmenu","cw_rgbslider","cw_tmpl","cw_zoom","db_exists","dblarr","dcindgen","dcomplex","dcomplexarr","define_key","define_msgblk","define_msgblk_from_file","defroi","defsysv","delvar","dendro_plot","dendrogram","deriv","derivsig","determ","device","dfpmin","diag_matrix","dialog_dbconnect","dialog_message","dialog_pickfile","dialog_printersetup","dialog_printjob","dialog_read_image","dialog_write_image","dictionary","digital_filter","dilate","dindgen","dissolve","dist","distance_measure","dlm_load","dlm_register","doc_library","double","draw_roi","edge_dog","efont","eigenql","eigenvec","ellipse","elmhes","emboss","empty","enable_sysrtn","eof","eos","erase","erf","erfc","erfcx","erode","errorplot","errplot","estimator_filter","execute","exit","exp","expand","expand_path","expint","extrac","extract_slice","f_cvf","f_pdf","factorial","fft","file_basename","file_chmod","file_copy","file_delete","file_dirname","file_expand_path","file_gunzip","file_gzip","file_info","file_lines","file_link","file_mkdir","file_move","file_poll_input","file_readlink","file_same","file_search","file_tar","file_test","file_untar","file_unzip","file_which","file_zip","filepath","findgen","finite","fix","flick","float","floor","flow3","fltarr","flush","format_axis_values","forward_function","free_lun","fstat","fulstr","funct","function","fv_test","fx_root","fz_roots","gamma","gamma_ct","gauss_cvf","gauss_pdf","gauss_smooth","gauss2dfit","gaussfit","gaussian_function","gaussint","get_drive_list","get_dxf_objects","get_kbrd","get_login_info","get_lun","get_screen_size","getenv","getwindows","greg2jul","grib","grid_input","grid_tps","grid3","griddata","gs_iter","h_eq_ct","h_eq_int","hanning","hash","hdf","hdf5","heap_free","heap_gc","heap_nosave","heap_refcount","heap_save","help","hilbert","hist_2d","hist_equal","histogram","hls","hough","hqr","hsv","i18n_multibytetoutf8","i18n_multibytetowidechar","i18n_utf8tomultibyte","i18n_widechartomultibyte","ibeta","icontour","iconvertcoord","idelete","identity","idl_base64","idl_container","idl_validname","idlexbr_assistant","idlitsys_createtool","idlunit","iellipse","igamma","igetcurrent","igetdata","igetid","igetproperty","iimage","image","image_cont","image_statistics","image_threshold","imaginary","imap","indgen","int_2d","int_3d","int_tabulated","intarr","interpol","interpolate","interval_volume","invert","ioctl","iopen","ir_filter","iplot","ipolygon","ipolyline","iputdata","iregister","ireset","iresolve","irotate","isa","isave","iscale","isetcurrent","isetproperty","ishft","isocontour","isosurface","isurface","itext","itranslate","ivector","ivolume","izoom","journal","json_parse","json_serialize","jul2greg","julday","keyword_set","krig2d","kurtosis","kw_test","l64indgen","la_choldc","la_cholmprove","la_cholsol","la_determ","la_eigenproblem","la_eigenql","la_eigenvec","la_elmhes","la_gm_linear_model","la_hqr","la_invert","la_least_square_equality","la_least_squares","la_linear_equation","la_ludc","la_lumprove","la_lusol","la_svd","la_tridc","la_trimprove","la_triql","la_trired","la_trisol","label_date","label_region","ladfit","laguerre","lambda","lambdap","lambertw","laplacian","least_squares_filter","leefilt","legend","legendre","linbcg","lindgen","linfit","linkimage","list","ll_arc_distance","lmfit","lmgr","lngamma","lnp_test","loadct","locale_get","logical_and","logical_or","logical_true","lon64arr","lonarr","long","long64","lsode","lu_complex","ludc","lumprove","lusol","m_correlate","machar","make_array","make_dll","make_rt","map","mapcontinents","mapgrid","map_2points","map_continents","map_grid","map_image","map_patch","map_proj_forward","map_proj_image","map_proj_info","map_proj_init","map_proj_inverse","map_set","matrix_multiply","matrix_power","max","md_test","mean","meanabsdev","mean_filter","median","memory","mesh_clip","mesh_decimate","mesh_issolid","mesh_merge","mesh_numtriangles","mesh_obj","mesh_smooth","mesh_surfacearea","mesh_validate","mesh_volume","message","min","min_curve_surf","mk_html_help","modifyct","moment","morph_close","morph_distance","morph_gradient","morph_hitormiss","morph_open","morph_thin","morph_tophat","multi","n_elements","n_params","n_tags","ncdf","newton","noise_hurl","noise_pick","noise_scatter","noise_slur","norm","obj_class","obj_destroy","obj_hasmethod","obj_isa","obj_new","obj_valid","objarr","on_error","on_ioerror","online_help","openr","openu","openw","oplot","oploterr","orderedhash","p_correlate","parse_url","particle_trace","path_cache","path_sep","pcomp","plot","plot3d","plot","plot_3dbox","plot_field","ploterr","plots","polar_contour","polar_surface","polyfill","polyshade","pnt_line","point_lun","polarplot","poly","poly_2d","poly_area","poly_fit","polyfillv","polygon","polyline","polywarp","popd","powell","pref_commit","pref_get","pref_set","prewitt","primes","print","printf","printd","pro","product","profile","profiler","profiles","project_vol","ps_show_fonts","psafm","pseudo","ptr_free","ptr_new","ptr_valid","ptrarr","pushd","qgrid3","qhull","qromb","qromo","qsimp","query_*","query_ascii","query_bmp","query_csv","query_dicom","query_gif","query_image","query_jpeg","query_jpeg2000","query_mrsid","query_pict","query_png","query_ppm","query_srf","query_tiff","query_video","query_wav","r_correlate","r_test","radon","randomn","randomu","ranks","rdpix","read","readf","read_ascii","read_binary","read_bmp","read_csv","read_dicom","read_gif","read_image","read_interfile","read_jpeg","read_jpeg2000","read_mrsid","read_pict","read_png","read_ppm","read_spr","read_srf","read_sylk","read_tiff","read_video","read_wav","read_wave","read_x11_bitmap","read_xwd","reads","readu","real_part","rebin","recall_commands","recon3","reduce_colors","reform","region_grow","register_cursor","regress","replicate","replicate_inplace","resolve_all","resolve_routine","restore","retall","return","reverse","rk4","roberts","rot","rotate","round","routine_filepath","routine_info","rs_test","s_test","save","savgol","scale3","scale3d","scatterplot","scatterplot3d","scope_level","scope_traceback","scope_varfetch","scope_varname","search2d","search3d","sem_create","sem_delete","sem_lock","sem_release","set_plot","set_shading","setenv","sfit","shade_surf","shade_surf_irr","shade_volume","shift","shift_diff","shmdebug","shmmap","shmunmap","shmvar","show3","showfont","signum","simplex","sin","sindgen","sinh","size","skewness","skip_lun","slicer3","slide_image","smooth","sobel","socket","sort","spawn","sph_4pnt","sph_scat","spher_harm","spl_init","spl_interp","spline","spline_p","sprsab","sprsax","sprsin","sprstp","sqrt","standardize","stddev","stop","strarr","strcmp","strcompress","streamline","streamline","stregex","stretch","string","strjoin","strlen","strlowcase","strmatch","strmessage","strmid","strpos","strput","strsplit","strtrim","struct_assign","struct_hide","strupcase","surface","surface","surfr","svdc","svdfit","svsol","swap_endian","swap_endian_inplace","symbol","systime","t_cvf","t_pdf","t3d","tag_names","tan","tanh","tek_color","temporary","terminal_size","tetra_clip","tetra_surface","tetra_volume","text","thin","thread","threed","tic","time_test2","timegen","timer","timestamp","timestamptovalues","tm_test","toc","total","trace","transpose","tri_surf","triangulate","trigrid","triql","trired","trisol","truncate_lun","ts_coef","ts_diff","ts_fcast","ts_smooth","tv","tvcrs","tvlct","tvrd","tvscl","typename","uindgen","uint","uintarr","ul64indgen","ulindgen","ulon64arr","ulonarr","ulong","ulong64","uniq","unsharp_mask","usersym","value_locate","variance","vector","vector_field","vel","velovect","vert_t3d","voigt","volume","voronoi","voxel_proj","wait","warp_tri","watershed","wdelete","wf_draw","where","widget_base","widget_button","widget_combobox","widget_control","widget_displaycontextmenu","widget_draw","widget_droplist","widget_event","widget_info","widget_label","widget_list","widget_propertysheet","widget_slider","widget_tab","widget_table","widget_text","widget_tree","widget_tree_move","widget_window","wiener_filter","window","window","write_bmp","write_csv","write_gif","write_image","write_jpeg","write_jpeg2000","write_nrif","write_pict","write_png","write_ppm","write_spr","write_srf","write_sylk","write_tiff","write_video","write_wav","write_wave","writeu","wset","wshow","wtn","wv_applet","wv_cwt","wv_cw_wavelet","wv_denoise","wv_dwt","wv_fn_coiflet","wv_fn_daubechies","wv_fn_gaussian","wv_fn_haar","wv_fn_morlet","wv_fn_paul","wv_fn_symlet","wv_import_data","wv_import_wavelet","wv_plot3d_wps","wv_plot_multires","wv_pwt","wv_tool_denoise","xbm_edit","xdisplayfile","xdxf","xfont","xinteranimate","xloadct","xmanager","xmng_tmpl","xmtool","xobjview","xobjview_rotate","xobjview_write_image","xpalette","xpcolor","xplot3d","xregistered","xroi","xsq_test","xsurface","xvaredit","xvolume","xvolume_rotate","xvolume_write_image","xyouts","zlib_compress","zlib_uncompress","zoom","zoom_24"],i=t(r),o=["begin","end","endcase","endfor","endwhile","endif","endrep","endforeach","break","case","continue","for","foreach","goto","if","then","else","repeat","until","switch","while","do","pro","function"],a=t(o);e.registerHelper("hintWords","idl",r.concat(o));var s=new RegExp("^[_a-z¡-￿][_a-z0-9¡-￿]*","i"),l=/[+\-*&=<>\/@#~$]/,u=new RegExp("(and|or|eq|lt|le|gt|ge|ne|not)","i");e.defineMode("idl",function(){return{token:function(e){return n(e)}}}),e.defineMIME("text/x-idl","idl")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("jinja2",function(){function e(e,a){var s=e.peek();if(a.incomment)return e.skipTo("#}")?(e.eatWhile(/\#|}/),a.incomment=!1):e.skipToEnd(),"comment";if(a.intag){if(a.operator){if(a.operator=!1,e.match(i))return"atom";if(e.match(o))return"number"}if(a.sign){if(a.sign=!1,e.match(i))return"atom";if(e.match(o))return"number"}if(a.instring)return s==a.instring&&(a.instring=!1),e.next(),"string";if("'"==s||'"'==s)return a.instring=s,e.next(),"string";if(e.match(a.intag+"}")||e.eat("-")&&e.match(a.intag+"}"))return a.intag=!1,"tag";if(e.match(n))return a.operator=!0,"operator";if(e.match(r))a.sign=!0;else if(e.eat(" ")||e.sol()){if(e.match(t))return"keyword";if(e.match(i))return"atom";if(e.match(o))return"number";e.sol()&&e.next()}else e.next();return"variable"}if(e.eat("{")){if(s=e.eat("#"))return a.incomment=!0,e.skipTo("#}")?(e.eatWhile(/\#|}/),a.incomment=!1):e.skipToEnd(),"comment";if(s=e.eat(/\{|%/))return a.intag=s,"{"==s&&(a.intag="}"),e.eat("-"),"tag"}e.next()}var t=["and","as","block","endblock","by","cycle","debug","else","elif","extends","filter","endfilter","firstof","for","endfor","if","endif","ifchanged","endifchanged","ifequal","endifequal","ifnotequal","endifnotequal","in","include","load","not","now","or","parsed","regroup","reversed","spaceless","endspaceless","ssi","templatetag","openblock","closeblock","openvariable","closevariable","openbrace","closebrace","opencomment","closecomment","widthratio","url","with","endwith","get_current_language","trans","endtrans","noop","blocktrans","endblocktrans","get_available_languages","get_current_language_bidi","plural"],n=/^[+\-*&%=<>!?|~^]/,r=/^[:\[\(\{]/,i=["true","false"],o=/^(\d[+\-\*\/])?\d+(\.\d+)?/;return t=new RegExp("(("+t.join(")|(")+"))\\b"),i=new RegExp("(("+i.join(")|(")+"))\\b"),{startState:function(){return{tokenize:e}},token:function(e,t){return t.tokenize(e,t)}}})})},function(e,t,n){!function(e){e(n(1),n(42),n(31))}(function(e){"use strict";function t(e,t,n,r){this.state=e,this.mode=t,this.depth=n,this.prev=r}function n(r){return new t(e.copyState(r.mode,r.state),r.mode,r.depth,r.prev&&n(r.prev))}e.defineMode("jsx",function(r,i){function o(e){var t=e.tagName;e.tagName=null;var n=u.indent(e,"");return e.tagName=t,n}function a(e,t){return t.context.mode==u?s(e,t,t.context):l(e,t,t.context)}function s(n,i,s){if(2==s.depth)return n.match(/^.*?\*\//)?s.depth=1:n.skipToEnd(),"comment";if("{"==n.peek()){u.skipAttribute(s.state);var l=o(s.state),d=s.state.context;if(d&&n.match(/^[^>]*>\s*$/,!1)){for(;d.prev&&!d.startOfLine;)d=d.prev;d.startOfLine?l-=r.indentUnit:s.prev.state.lexical&&(l=s.prev.state.lexical.indented)}else 1==s.depth&&(l+=r.indentUnit);return i.context=new t(e.startState(c,l),c,0,i.context),null}if(1==s.depth){if("<"==n.peek())return u.skipAttribute(s.state),i.context=new t(e.startState(u,o(s.state)),u,0,i.context),null;if(n.match("//"))return n.skipToEnd(),"comment";if(n.match("/*"))return s.depth=2,a(n,i)}var f,p=u.token(n,s.state),h=n.current();return/\btag\b/.test(p)?/>$/.test(h)?s.state.context?s.depth=0:i.context=i.context.prev:/^-1&&n.backUp(h.length-f),p}function l(n,r,i){if("<"==n.peek()&&c.expressionAllowed(n,i.state))return c.skipExpression(i.state),r.context=new t(e.startState(u,c.indent(i.state,"")),u,0,r.context),null;var o=c.token(n,i.state);if(!o&&null!=i.depth){var a=n.current();"{"==a?i.depth++:"}"==a&&0==--i.depth&&(r.context=r.context.prev)}return o}var u=e.getMode(r,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1}),c=e.getMode(r,i&&i.base||"javascript");return{startState:function(){return{context:new t(e.startState(c),c)}},copyState:function(e){return{context:n(e.context)}},token:a,indent:function(e,t,n){return e.context.mode.indent(e.context.state,t,n)},innerMode:function(e){return e.context}}},"xml","javascript"),e.defineMIME("text/jsx","jsx"),e.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("julia",function(e,t){function n(e,t){return"undefined"==typeof t&&(t="\\b"),new RegExp("^(("+e.join(")|(")+"))"+t)}function r(e){return i(e,"[")}function i(e,t){var n=o(e),r=o(e,1);return"undefined"==typeof t&&(t="("),n===t||r===t&&"for"===n}function o(e,t){return"undefined"==typeof t&&(t=0),e.scopes.length<=t?null:e.scopes[e.scopes.length-(t+1)]}function a(e,t){if(e.match(/^#=/,!1))return t.tokenize=u,t.tokenize(e,t);var n=t.leavingExpr;if(e.sol()&&(n=!1),t.leavingExpr=!1,n&&e.match(/^'+/))return"operator";if(e.match(/^\.{2,3}/))return"operator";if(e.eatSpace())return null;var a=e.peek();if("#"===a)return e.skipToEnd(),"comment";"["===a&&t.scopes.push("["),"("===a&&t.scopes.push("(");var f=o(t);r(t)&&"]"===a&&("for"===f&&t.scopes.pop(),t.scopes.pop(),t.leavingExpr=!0),i(t)&&")"===a&&("for"===f&&t.scopes.pop(),t.scopes.pop(),t.leavingExpr=!0);var p;if((p=e.match(b,!1))&&t.scopes.push(p[0]),e.match(y,!1)&&t.scopes.pop(),r(t)){if("end"==t.lastToken&&e.match(/^:/))return"operator";if(e.match(/^end/))return"number"}if(e.match(/^::(?![:\$])/))return t.tokenize=l,t.tokenize(e,t);if(!n&&e.match(E)||e.match(/:\./))return"builtin";if(e.match(/^{[^}]*}(?=\()/))return"builtin";if(e.match(g))return"operator";if(e.match(/^[0-9\.]/,!1)){var h=RegExp(/^im\b/),m=!1;if(e.match(/^\d*\.(?!\.)\d*([Eef][\+\-]?\d+)?/i)&&(m=!0),e.match(/^\d+\.(?!\.)\d*/)&&(m=!0),e.match(/^\.\d+/)&&(m=!0),e.match(/^0x\.[0-9a-f]+p[\+\-]?\d+/i)&&(m=!0),e.match(/^0x[0-9a-f]+/i)&&(m=!0),e.match(/^0b[01]+/i)&&(m=!0),e.match(/^0o[0-7]+/i)&&(m=!0),e.match(/^[1-9]\d*(e[\+\-]?\d+)?/)&&(m=!0),e.match(/^0(?![\dx])/i)&&(m=!0),m)return e.match(h),t.leavingExpr=!0,"number"}if(e.match(/^'/))return t.tokenize=c,t.tokenize(e,t);if(e.match(A))return t.tokenize=d(e.current()),t.tokenize(e,t);if(e.match(w))return"meta";if(e.match($))return null;if(e.match(x))return"keyword";if(e.match(k))return"builtin";var v=t.isDefinition||"function"==t.lastToken||"macro"==t.lastToken||"type"==t.lastToken||"immutable"==t.lastToken;return e.match(_)?v?"."===e.peek()?(t.isDefinition=!0,"variable"):(t.isDefinition=!1,"def"):e.match(/^({[^}]*})*\(/,!1)?s(e,t):(t.leavingExpr=!0,"variable"):(e.next(),"error")}function s(e,t){var n=e.match(/^(\(\s*)/);if(n&&(t.firstParenPos<0&&(t.firstParenPos=t.scopes.length),t.scopes.push("("),t.charsAdvanced+=n[1].length),"("==o(t)&&e.match(/^\)/)&&(t.scopes.pop(),t.charsAdvanced+=1,t.scopes.length<=t.firstParenPos)){var r=e.match(/^\s*?=(?!=)/,!1);return e.backUp(t.charsAdvanced),t.firstParenPos=-1,t.charsAdvanced=0,r?"def":"builtin"}if(e.match(/^$/g,!1)){for(e.backUp(t.charsAdvanced);t.scopes.length>t.firstParenPos;)t.scopes.pop();return t.firstParenPos=-1,t.charsAdvanced=0,"builtin"}return t.charsAdvanced+=e.match(/^([^()]*)/)[1].length,s(e,t)}function l(e,t){return e.match(/.*?(?=,|;|{|}|\(|\)|=|$|\s)/),e.match(/^{/)?t.nestedLevels++:e.match(/^}/)&&t.nestedLevels--,t.nestedLevels>0?e.match(/.*?(?={|})/):0==t.nestedLevels&&(t.tokenize=a),"builtin"}function u(e,t){return e.match(/^#=/)&&t.nestedLevels++,e.match(/.*?(?=(#=|=#))/)||e.skipToEnd(),e.match(/^=#/)&&(t.nestedLevels--,0==t.nestedLevels&&(t.tokenize=a)),"comment"}function c(e,t){var n,r=!1;if(e.match(v))r=!0;else if(n=e.match(/\\u([a-f0-9]{1,4})(?=')/i)){var i=parseInt(n[1],16);(i<=55295||i>=57344)&&(r=!0,e.next())}else if(n=e.match(/\\U([A-Fa-f0-9]{5,8})(?=')/)){var i=parseInt(n[1],16);i<=1114111&&(r=!0,e.next())}return r?(t.leavingExpr=!0,t.tokenize=a,"string"):(e.match(/^[^']+(?=')/)||e.skipToEnd(),e.match(/^'/)&&(t.tokenize=a),"error")}function d(e){function t(t,n){if(t.eat("\\"))t.next();else{if(t.match(e))return n.tokenize=a,n.leavingExpr=!0,"string";t.eat(/[`"]/)}return t.eatWhile(/[^\\`"]/),"string"}return e="`"===e||'"""'===e?e:'"',t}var f="\\\\[0-7]{1,3}",p="\\\\x[A-Fa-f0-9]{1,2}",h="\\\\[abefnrtv0%?'\"\\\\]",m="([^\\u0027\\u005C\\uD800-\\uDFFF]|[\\uD800-\\uDFFF][\\uDC00-\\uDFFF])",g=t.operators||n(["\\.?[\\\\%*+\\-<>!=\\/^]=?","\\.?[|&\\u00F7\\u2260\\u2264\\u2265]","\\u00D7","\\u2208","\\u2209","\\u220B","\\u220C","\\u2229","\\u222A","\\u2286","\\u2288","\\u228A","\\u22c5","\\?","~",":","\\$","\\.[<>]","<<=?",">>>?=?","\\.[<>=]=","->?","\\/\\/","=>","<:","\\bin\\b(?!\\()"],""),$=t.delimiters||/^[;,()[\]{}]/,_=t.identifiers||/^[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,v=n([f,p,h,m],"'"),b=n(["begin","function","type","immutable","let","macro","for","while","quote","if","else","elseif","try","finally","catch","do"]),y=n(["end","else","elseif","catch","finally"]),x=n(["if","else","elseif","while","for","begin","let","end","do","try","catch","finally","return","break","continue","global","local","const","export","import","importall","using","function","macro","module","baremodule","type","immutable","quote","typealias","abstract","bitstype"]),k=n(["true","false","nothing","NaN","Inf"]),w=/^@[_A-Za-z][\w]*/,E=/^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,A=/^(`|"{3}|([_A-Za-z\u00A1-\uFFFF]*"))/,C={startState:function(){return{tokenize:a,scopes:[],lastToken:null,leavingExpr:!1,isDefinition:!1,nestedLevels:0,charsAdvanced:0,firstParenPos:-1}},token:function(e,t){var n=t.tokenize(e,t),r=e.current();return r&&n&&(t.lastToken=r),"."===r&&(n=e.match(_,!1)||e.match(w,!1)||e.match(/\(/,!1)?"operator":"error"),n},indent:function(t,n){var r=0;return"]"!==n&&")"!==n&&"end"!==n&&"else"!==n&&"catch"!==n&&"elseif"!==n&&"finally"!==n||(r=-1),(t.scopes.length+r)*e.indentUnit},electricInput:/\b(end|else|catch|finally)\b/,blockCommentStart:"#=",blockCommentEnd:"=#",lineComment:"#",fold:"indent"};return C}),e.defineMIME("text/x-julia","julia")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("livescript",function(){var e=function(e,t){var n=t.next||"start";if(n){t.next=t.next;var r=o[n];if(r.splice){for(var i=0;i|\\b(?:e(?:lse|xport)|d(?:o|efault)|t(?:ry|hen)|finally|import(?:\\s*all)?|const|var|let|new|catch(?:\\s*"+t+")?))\\s*$"),r="(?![$\\w]|-[A-Za-z]|\\s*:(?![:=]))",i={token:"string",regex:".+"},o={start:[{token:"comment.doc",regex:"/\\*",next:"comment"},{token:"comment",regex:"#.*"},{token:"keyword",regex:"(?:t(?:h(?:is|row|en)|ry|ypeof!?)|c(?:on(?:tinue|st)|a(?:se|tch)|lass)|i(?:n(?:stanceof)?|mp(?:ort(?:\\s+all)?|lements)|[fs])|d(?:e(?:fault|lete|bugger)|o)|f(?:or(?:\\s+own)?|inally|unction)|s(?:uper|witch)|e(?:lse|x(?:tends|port)|val)|a(?:nd|rguments)|n(?:ew|ot)|un(?:less|til)|w(?:hile|ith)|o[fr]|return|break|let|var|loop)"+r},{token:"constant.language",regex:"(?:true|false|yes|no|on|off|null|void|undefined)"+r},{token:"invalid.illegal",regex:"(?:p(?:ackage|r(?:ivate|otected)|ublic)|i(?:mplements|nterface)|enum|static|yield)"+r},{token:"language.support.class",regex:"(?:R(?:e(?:gExp|ferenceError)|angeError)|S(?:tring|yntaxError)|E(?:rror|valError)|Array|Boolean|Date|Function|Number|Object|TypeError|URIError)"+r},{token:"language.support.function",regex:"(?:is(?:NaN|Finite)|parse(?:Int|Float)|Math|JSON|(?:en|de)codeURI(?:Component)?)"+r},{token:"variable.language",regex:"(?:t(?:hat|il|o)|f(?:rom|allthrough)|it|by|e)"+r},{token:"identifier",regex:t+"\\s*:(?![:=])"},{token:"variable",regex:t},{token:"keyword.operator",regex:"(?:\\.{3}|\\s+\\?)"},{token:"keyword.variable",regex:"(?:@+|::|\\.\\.)",next:"key"},{token:"keyword.operator",regex:"\\.\\s*",next:"key"},{token:"string",regex:"\\\\\\S[^\\s,;)}\\]]*"},{token:"string.doc",regex:"'''",next:"qdoc"},{token:"string.doc",regex:'"""',next:"qqdoc"},{token:"string",regex:"'",next:"qstring"},{token:"string",regex:'"',next:"qqstring"},{token:"string",regex:"`",next:"js"},{token:"string",regex:"<\\[",next:"words"},{token:"string.regex",regex:"//",next:"heregex"},{token:"string.regex",regex:"\\/(?:[^[\\/\\n\\\\]*(?:(?:\\\\.|\\[[^\\]\\n\\\\]*(?:\\\\.[^\\]\\n\\\\]*)*\\])[^[\\/\\n\\\\]*)*)\\/[gimy$]{0,4}",next:"key"},{token:"constant.numeric",regex:"(?:0x[\\da-fA-F][\\da-fA-F_]*|(?:[2-9]|[12]\\d|3[0-6])r[\\da-zA-Z][\\da-zA-Z_]*|(?:\\d[\\d_]*(?:\\.\\d[\\d_]*)?|\\.\\d[\\d_]*)(?:e[+-]?\\d[\\d_]*)?[\\w$]*)"},{token:"lparen",regex:"[({[]"},{token:"rparen",regex:"[)}\\]]",next:"key"},{token:"keyword.operator",regex:"\\S+"},{token:"text",regex:"\\s+"}],heregex:[{token:"string.regex",regex:".*?//[gimy$?]{0,4}",next:"start"},{token:"string.regex",regex:"\\s*#{"},{token:"comment.regex",regex:"\\s+(?:#.*)?"},{token:"string.regex",regex:"\\S+"}],key:[{token:"keyword.operator",regex:"[.?@!]+"},{token:"identifier",regex:t,next:"start"},{token:"text",regex:"",next:"start"}],comment:[{token:"comment.doc",regex:".*?\\*/",next:"start"},{token:"comment.doc",regex:".+"}],qdoc:[{token:"string",regex:".*?'''",next:"key"},i],qqdoc:[{token:"string",regex:'.*?"""',next:"key"},i],qstring:[{token:"string",regex:"[^\\\\']*(?:\\\\.[^\\\\']*)*'",next:"key"},i],qqstring:[{token:"string",regex:'[^\\\\"]*(?:\\\\.[^\\\\"]*)*"',next:"key"},i],js:[{token:"string",regex:"[^\\\\`]*(?:\\\\.[^\\\\`]*)*`",next:"key"},i],words:[{token:"string",regex:".*?\\]>",next:"key"},i]};for(var a in o){var s=o[a];if(s.splice)for(var l=0,u=s.length;l~@\^\&\*\)\[\]'\?,\|])).*/,!0,!1)?"variable-2":e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)?"variable-2":e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+/,!0,!1)?"variable-2":e.match(/_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)?"variable-2":e.match(/\\\[[a-zA-Z\$][a-zA-Z0-9\$]*\]/,!0,!1)?"variable-3":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(/(?:#[a-zA-Z\$][a-zA-Z0-9\$]*|#+[0-9]?)/,!0,!1)?"variable-2":e.match(f,!0,!1)?"keyword":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%)/,!0,!1)?"operator":(e.next(),"error"))}function r(e,t){for(var r,i=!1,o=!1;null!=(r=e.next());){if('"'===r&&!o){i=!0;break}o=!o&&"\\"===r}return i&&!o&&(t.tokenize=n),"string"}function i(e,t){for(var r,i;t.commentLevel>0&&null!=(i=e.next());)"("===r&&"*"===i&&t.commentLevel++,"*"===r&&")"===i&&t.commentLevel--,r=i;return t.commentLevel<=0&&(t.tokenize=n),"comment"}var o="[a-zA-Z\\$][a-zA-Z0-9\\$]*",a="(?:\\d+)",s="(?:\\.\\d+|\\d+\\.\\d*|\\d+)",l="(?:\\.\\w+|\\w+\\.\\w*|\\w+)",u="(?:`(?:`?"+s+")?)",c=new RegExp("(?:"+a+"(?:\\^\\^"+l+u+"?(?:\\*\\^[+-]?\\d+)?))"),d=new RegExp("(?:"+s+u+"?(?:\\*\\^[+-]?\\d+)?)"),f=new RegExp("(?:`?)(?:"+o+")(?:`(?:"+o+"))*(?:`?)");return{startState:function(){return{tokenize:n,commentLevel:0}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},blockCommentStart:"(*",blockCommentEnd:"*)"}}),e.defineMIME("text/x-mathematica",{name:"mathematica"})})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";function t(e){return"Subject"===e?"header":"string"}function n(e,n){if(e.sol()){if(n.inSeparator=!1,n.inHeader&&e.match(o))return null;if(n.inHeader=!1,n.header=null,e.match(a))return n.inHeaders=!0,n.inSeparator=!0,"atom";var r,i=!1;return(r=e.match(l))||(i=!0)&&(r=e.match(s))?(n.inHeaders=!0,n.inHeader=!0,n.emailPermitted=i,n.header=r[1],"atom"):n.inHeaders&&(r=e.match(u))?(n.inHeader=!0,n.emailPermitted=!0,n.header=r[1],"atom"):(n.inHeaders=!1,e.skipToEnd(),null)}if(n.inSeparator)return e.match(c)?"link":e.match(d)?"atom":(e.skipToEnd(),"atom");if(n.inHeader){var h=t(n.header);if(n.emailPermitted){if(e.match(f))return h+" link";if(e.match(p))return h}return e.skipToEnd(),h}return e.skipToEnd(),null}var r=["From","Sender","Reply-To","To","Cc","Bcc","Message-ID","In-Reply-To","References","Resent-From","Resent-Sender","Resent-To","Resent-Cc","Resent-Bcc","Resent-Message-ID","Return-Path","Received"],i=["Date","Subject","Comments","Keywords","Resent-Date"];e.registerHelper("hintWords","mbox",r.concat(i));var o=/^[ \t]/,a=/^From /,s=new RegExp("^("+r.join("|")+"): "),l=new RegExp("^("+i.join("|")+"): "),u=/^[^:]+:/,c=/^[^ ]+@[^ ]+/,d=/^.*?(?=[^ ]+?@[^ ]+)/,f=/^<.*?>/,p=/^.*?(?=<.*>)/;e.defineMode("mbox",function(){return{startState:function(){return{inSeparator:!1,inHeader:!1,emailPermitted:!1,header:null,inHeaders:!1}},token:n,blankLine:function(e){e.inHeaders=e.inSeparator=e.inHeader=!1}}}),e.defineMIME("application/mbox","mbox")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMIME("text/mirc","mirc"),e.defineMode("mirc",function(){function e(e){for(var t={},n=e.split(" "),r=0;r!?^\/\|]/;return{startState:function(){return{tokenize:n,beforeParams:!1,inParams:!1}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)}}})})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("mllike",function(e,t){function n(e,n){var a=e.next();if('"'===a)return n.tokenize=r,n.tokenize(e,n);if("("===a&&e.eat("*"))return n.commentLevel++,n.tokenize=i,n.tokenize(e,n);if("~"===a)return e.eatWhile(/\w/),"variable-2";if("`"===a)return e.eatWhile(/\w/),"quote";if("/"===a&&t.slashComments&&e.eat("/"))return e.skipToEnd(),"comment";if(/\d/.test(a))return e.eatWhile(/[\d]/),e.eat(".")&&e.eatWhile(/[\d]/),"number";if(/[+\-*&%=<>!?|]/.test(a))return"operator";if(/[\w\xa1-\uffff]/.test(a)){e.eatWhile(/[\w\xa1-\uffff]/);var s=e.current();return o.hasOwnProperty(s)?o[s]:"variable"}return null}function r(e,t){for(var r,i=!1,o=!1;null!=(r=e.next());){if('"'===r&&!o){i=!0;break}o=!o&&"\\"===r}return i&&!o&&(t.tokenize=n),"string"}function i(e,t){for(var r,i;t.commentLevel>0&&null!=(i=e.next());)"("===r&&"*"===i&&t.commentLevel++,"*"===r&&")"===i&&t.commentLevel--,r=i;return t.commentLevel<=0&&(t.tokenize=n),"comment"}var o={let:"keyword",rec:"keyword",in:"keyword",of:"keyword",and:"keyword",if:"keyword",then:"keyword",else:"keyword",for:"keyword",to:"keyword",while:"keyword",do:"keyword",done:"keyword",fun:"keyword",function:"keyword",val:"keyword",type:"keyword",mutable:"keyword",match:"keyword",with:"keyword",try:"keyword",open:"builtin",ignore:"builtin",begin:"keyword",end:"keyword"},a=t.extraWords||{};for(var s in a)a.hasOwnProperty(s)&&(o[s]=t.extraWords[s]);return{startState:function(){return{tokenize:n,commentLevel:0}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},blockCommentStart:"(*",blockCommentEnd:"*)",lineComment:t.slashComments?"//":null}}),e.defineMIME("text/x-ocaml",{name:"mllike",extraWords:{succ:"keyword",trace:"builtin",exit:"builtin",print_string:"builtin",print_endline:"builtin",true:"atom",false:"atom",raise:"keyword"}}),e.defineMIME("text/x-fsharp",{name:"mllike",extraWords:{abstract:"keyword",as:"keyword",assert:"keyword",base:"keyword",class:"keyword",default:"keyword",delegate:"keyword",downcast:"keyword",downto:"keyword",elif:"keyword",exception:"keyword",extern:"keyword",finally:"keyword",global:"keyword",inherit:"keyword",inline:"keyword",interface:"keyword",internal:"keyword",lazy:"keyword","let!":"keyword",member:"keyword",module:"keyword",namespace:"keyword",new:"keyword",null:"keyword",override:"keyword",private:"keyword",public:"keyword",return:"keyword","return!":"keyword",select:"keyword",static:"keyword",struct:"keyword",upcast:"keyword",use:"keyword","use!":"keyword",val:"keyword",when:"keyword",yield:"keyword","yield!":"keyword",List:"builtin",Seq:"builtin",Map:"builtin",Set:"builtin",int:"builtin",string:"builtin",raise:"builtin",failwith:"builtin",not:"builtin",true:"builtin",false:"builtin"},slashComments:!0})})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";function t(e){for(var t={},n=e.split(" "),r=0;r0&&t.level--:t.level++,t.tokenize=null,t.sol=!1,c.propertyIsEnumerable(n)?"keyword":d.propertyIsEnumerable(n)?"builtin":f.propertyIsEnumerable(n)?"atom":"variable"}function s(e,t){for(;e.eat(/[^']/););return t.tokenize=null,t.sol=!1,e.eat("'")?"variable":"error"}function l(e,t){return e.eatWhile(m),e.eat(".")&&e.eatWhile(m),(e.eat("e")||e.eat("E"))&&(e.eat("-")||e.eat("+"),e.eatWhile(m)),t.tokenize=null,t.sol=!1,"number"}var u=t.indentUnit,c=n.keywords||{},d=n.builtin||{},f=n.atoms||{},p=/[;=\(:\),{}.*<>+\-\/^\[\]]/,h=/(:=|<=|>=|==|<>|\.\+|\.\-|\.\*|\.\/|\.\^)/,m=/[0-9]/,g=/[_a-zA-Z]/;return{startState:function(){return{tokenize:null,level:0,sol:!0}},token:function(e,t){if(null!=t.tokenize)return t.tokenize(e,t);if(e.sol()&&(t.sol=!0),e.eatSpace())return t.tokenize=null,null;var n=e.next();if("/"==n&&e.eat("/"))t.tokenize=r;else if("/"==n&&e.eat("*"))t.tokenize=i;else{if(h.test(n+e.peek()))return e.next(),t.tokenize=null,"operator";if(p.test(n))return t.tokenize=null,"operator";if(g.test(n))t.tokenize=a;else if("'"==n&&e.peek()&&"'"!=e.peek())t.tokenize=s;else if('"'==n)t.tokenize=o;else{if(!m.test(n))return t.tokenize=null,"error";t.tokenize=l}}return t.tokenize(e,t)},indent:function(t,n){if(null!=t.tokenize)return e.Pass;var r=t.level;return/(algorithm)/.test(n)&&r--,/(equation)/.test(n)&&r--,/(initial algorithm)/.test(n)&&r--,/(initial equation)/.test(n)&&r--,/(end)/.test(n)&&r--,r>0?u*r:0},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}});var r="algorithm and annotation assert block break class connect connector constant constrainedby der discrete each else elseif elsewhen encapsulated end enumeration equation expandable extends external false final flow for function if import impure in initial inner input loop model not operator or outer output package parameter partial protected public pure record redeclare replaceable return stream then true type when while within",i="abs acos actualStream asin atan atan2 cardinality ceil cos cosh delay div edge exp floor getInstanceName homotopy inStream integer log log10 mod pre reinit rem semiLinear sign sin sinh spatialDistribution sqrt tan tanh",o="Real Boolean Integer String";n(["text/x-modelica"],{name:"modelica",keywords:t(r),builtin:t(i),atoms:t(o)})})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";function t(e){return new RegExp("\\b("+e.join("|")+")\\b","i")}function n(e){return new RegExp("("+e.join("|")+")","i")}function r(){return{inComment:!1,inString:!1,inAttributeList:!1,inScript:!1}}function i(e){return{inComment:e.inComment,inString:e.inString,inAttributeList:e.inAttributeList,inScript:e.inScript}}function o(e){return function(r,i){if(r.match(n(e.brackets),!0,!0))return"bracket";if(!i.inComment){if(r.match(/\/\*[^\*\/]*/,!0,!0))return i.inComment=!0,"comment";if(r.match(n(e.singlecomment),!0,!0))return r.skipToEnd(),"comment"}if(i.inComment)return r.match(/[^\*\/]*\*\//,!0,!0)?i.inComment=!1:r.skipToEnd(),"comment";if(!i.inString&&r.match(/\"(\\\"|[^\"])*/,!0,!0))return i.inString=!0,"string";if(i.inString)return r.match(/[^\"]*\"/,!0,!0)?i.inString=!1:r.skipToEnd(),"string";if(e.keywords&&r.match(t(e.keywords),!0,!0))return"keyword";if(r.match(t(e.options),!0,!0))return"keyword";if(r.match(t(e.arcsWords),!0,!0))return"keyword";if(r.match(n(e.arcsOthers),!0,!0))return"keyword";if(e.operators&&r.match(n(e.operators),!0,!0))return"operator";if(e.constants&&r.match(n(e.constants),!0,!0))return"variable";if(!e.inAttributeList&&e.attributes&&r.match(/\[/,!0,!0))return e.inAttributeList=!0,"bracket";if(e.inAttributeList){if(null!==e.attributes&&r.match(t(e.attributes),!0,!0))return"attribute";if(r.match(/]/,!0,!0))return e.inAttributeList=!1,"bracket"}return r.next(),"base"}}var a={mscgen:{keywords:["msc"],options:["hscale","width","arcgradient","wordwraparcs"],constants:["true","false","on","off"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]},xu:{keywords:["msc","xu"],options:["hscale","width","arcgradient","wordwraparcs","watermark"],constants:["true","false","on","off","auto"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]},msgenny:{keywords:null,options:["hscale","width","arcgradient","wordwraparcs","watermark"],constants:["true","false","on","off","auto"],attributes:null,brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]}};e.defineMode("mscgen",function(e,t){var n=a[t&&t.language||"mscgen"];return{startState:r,copyState:i,token:o(n),lineComment:"#",blockCommentStart:"/*",blockCommentEnd:"*/"}}),e.defineMIME("text/x-mscgen","mscgen"),e.defineMIME("text/x-xu",{name:"mscgen",language:"xu"}),e.defineMIME("text/x-msgenny",{name:"mscgen",language:"msgenny"})})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("mumps",function(){function e(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}function t(e,t){e.sol()&&(t.label=!0,t.commandMode=0);var s=e.peek();return" "==s||"\t"==s?(t.label=!1,0==t.commandMode?t.commandMode=1:(t.commandMode<0||2==t.commandMode)&&(t.commandMode=0)):"."!=s&&t.commandMode>0&&(":"==s?t.commandMode=-1:t.commandMode=2),"("!==s&&"\t"!==s||(t.label=!1),";"===s?(e.skipToEnd(),"comment"):e.match(/^[-+]?\d+(\.\d+)?([eE][-+]?\d+)?/)?"number":'"'==s?e.skipTo('"')?(e.next(),"string"):(e.skipToEnd(),"error"):e.match(r)||e.match(n)?"operator":e.match(i)?null:o.test(s)?(e.next(),"bracket"):t.commandMode>0&&e.match(c)?"variable-2":e.match(u)?"builtin":e.match(a)?"variable":"$"===s||"^"===s?(e.next(),"builtin"):"@"===s?(e.next(),"string-2"):/[\w%]/.test(s)?(e.eatWhile(/[\w%]/),"variable"):(e.next(),"error")}var n=new RegExp("^[\\+\\-\\*/&#!_?\\\\<>=\\'\\[\\]]"),r=new RegExp("^(('=)|(<=)|(>=)|('>)|('<)|([[)|(]])|(^$))"),i=new RegExp("^[\\.,:]"),o=new RegExp("[()]"),a=new RegExp("^[%A-Za-z][A-Za-z0-9]*"),s=["break","close","do","else","for","goto","halt","hang","if","job","kill","lock","merge","new","open","quit","read","set","tcommit","trollback","tstart","use","view","write","xecute","b","c","d","e","f","g","h","i","j","k","l","m","n","o","q","r","s","tc","tro","ts","u","v","w","x"],l=["\\$ascii","\\$char","\\$data","\\$ecode","\\$estack","\\$etrap","\\$extract","\\$find","\\$fnumber","\\$get","\\$horolog","\\$io","\\$increment","\\$job","\\$justify","\\$length","\\$name","\\$next","\\$order","\\$piece","\\$qlength","\\$qsubscript","\\$query","\\$quit","\\$random","\\$reverse","\\$select","\\$stack","\\$test","\\$text","\\$translate","\\$view","\\$x","\\$y","\\$a","\\$c","\\$d","\\$e","\\$ec","\\$es","\\$et","\\$f","\\$fn","\\$g","\\$h","\\$i","\\$j","\\$l","\\$n","\\$na","\\$o","\\$p","\\$q","\\$ql","\\$qs","\\$r","\\$re","\\$s","\\$st","\\$t","\\$tr","\\$v","\\$z"],u=e(l),c=e(s);return{startState:function(){return{label:!1,commandMode:0}},token:function(e,n){var r=t(e,n);return n.label?"tag":r}}}),e.defineMIME("text/x-mumps","mumps")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("nginx",function(e){function t(e){for(var t={},n=e.split(" "),r=0;r*\/]/.test(s)?n(null,"select-op"):/[;{}:\[\]]/.test(s)?n(null,s):(e.eatWhile(/[\w\\\-]/),n("variable","variable")):n(null,"compare"):void n(null,"compare")}function i(e,t){for(var i,o=!1;null!=(i=e.next());){if(o&&"/"==i){t.tokenize=r;break}o="*"==i}return n("comment","comment")}function o(e,t){for(var i,o=0;null!=(i=e.next());){if(o>=2&&">"==i){t.tokenize=r;break}o="-"==i?o+1:0}return n("comment","comment")}function a(e){return function(t,i){for(var o,a=!1;null!=(o=t.next())&&(o!=e||a);)a=!a&&"\\"==o;return a||(i.tokenize=r),n("string","string")}}var s,l=t("break return rewrite set accept_mutex accept_mutex_delay access_log add_after_body add_before_body add_header addition_types aio alias allow ancient_browser ancient_browser_value auth_basic auth_basic_user_file auth_http auth_http_header auth_http_timeout autoindex autoindex_exact_size autoindex_localtime charset charset_types client_body_buffer_size client_body_in_file_only client_body_in_single_buffer client_body_temp_path client_body_timeout client_header_buffer_size client_header_timeout client_max_body_size connection_pool_size create_full_put_path daemon dav_access dav_methods debug_connection debug_points default_type degradation degrade deny devpoll_changes devpoll_events directio directio_alignment empty_gif env epoll_events error_log eventport_events expires fastcgi_bind fastcgi_buffer_size fastcgi_buffers fastcgi_busy_buffers_size fastcgi_cache fastcgi_cache_key fastcgi_cache_methods fastcgi_cache_min_uses fastcgi_cache_path fastcgi_cache_use_stale fastcgi_cache_valid fastcgi_catch_stderr fastcgi_connect_timeout fastcgi_hide_header fastcgi_ignore_client_abort fastcgi_ignore_headers fastcgi_index fastcgi_intercept_errors fastcgi_max_temp_file_size fastcgi_next_upstream fastcgi_param fastcgi_pass_header fastcgi_pass_request_body fastcgi_pass_request_headers fastcgi_read_timeout fastcgi_send_lowat fastcgi_send_timeout fastcgi_split_path_info fastcgi_store fastcgi_store_access fastcgi_temp_file_write_size fastcgi_temp_path fastcgi_upstream_fail_timeout fastcgi_upstream_max_fails flv geoip_city geoip_country google_perftools_profiles gzip gzip_buffers gzip_comp_level gzip_disable gzip_hash gzip_http_version gzip_min_length gzip_no_buffer gzip_proxied gzip_static gzip_types gzip_vary gzip_window if_modified_since ignore_invalid_headers image_filter image_filter_buffer image_filter_jpeg_quality image_filter_transparency imap_auth imap_capabilities imap_client_buffer index ip_hash keepalive_requests keepalive_timeout kqueue_changes kqueue_events large_client_header_buffers limit_conn limit_conn_log_level limit_rate limit_rate_after limit_req limit_req_log_level limit_req_zone limit_zone lingering_time lingering_timeout lock_file log_format log_not_found log_subrequest map_hash_bucket_size map_hash_max_size master_process memcached_bind memcached_buffer_size memcached_connect_timeout memcached_next_upstream memcached_read_timeout memcached_send_timeout memcached_upstream_fail_timeout memcached_upstream_max_fails merge_slashes min_delete_depth modern_browser modern_browser_value msie_padding msie_refresh multi_accept open_file_cache open_file_cache_errors open_file_cache_events open_file_cache_min_uses open_file_cache_valid open_log_file_cache output_buffers override_charset perl perl_modules perl_require perl_set pid pop3_auth pop3_capabilities port_in_redirect postpone_gzipping postpone_output protocol proxy proxy_bind proxy_buffer proxy_buffer_size proxy_buffering proxy_buffers proxy_busy_buffers_size proxy_cache proxy_cache_key proxy_cache_methods proxy_cache_min_uses proxy_cache_path proxy_cache_use_stale proxy_cache_valid proxy_connect_timeout proxy_headers_hash_bucket_size proxy_headers_hash_max_size proxy_hide_header proxy_ignore_client_abort proxy_ignore_headers proxy_intercept_errors proxy_max_temp_file_size proxy_method proxy_next_upstream proxy_pass_error_message proxy_pass_header proxy_pass_request_body proxy_pass_request_headers proxy_read_timeout proxy_redirect proxy_send_lowat proxy_send_timeout proxy_set_body proxy_set_header proxy_ssl_session_reuse proxy_store proxy_store_access proxy_temp_file_write_size proxy_temp_path proxy_timeout proxy_upstream_fail_timeout proxy_upstream_max_fails random_index read_ahead real_ip_header recursive_error_pages request_pool_size reset_timedout_connection resolver resolver_timeout rewrite_log rtsig_overflow_events rtsig_overflow_test rtsig_overflow_threshold rtsig_signo satisfy secure_link_secret send_lowat send_timeout sendfile sendfile_max_chunk server_name_in_redirect server_names_hash_bucket_size server_names_hash_max_size server_tokens set_real_ip_from smtp_auth smtp_capabilities smtp_client_buffer smtp_greeting_delay so_keepalive source_charset ssi ssi_ignore_recycled_buffers ssi_min_file_chunk ssi_silent_errors ssi_types ssi_value_length ssl ssl_certificate ssl_certificate_key ssl_ciphers ssl_client_certificate ssl_crl ssl_dhparam ssl_engine ssl_prefer_server_ciphers ssl_protocols ssl_session_cache ssl_session_timeout ssl_verify_client ssl_verify_depth starttls stub_status sub_filter sub_filter_once sub_filter_types tcp_nodelay tcp_nopush thread_stack_size timeout timer_resolution types_hash_bucket_size types_hash_max_size underscores_in_headers uninitialized_variable_warn use user userid userid_domain userid_expires userid_mark userid_name userid_p3p userid_path userid_service valid_referers variables_hash_bucket_size variables_hash_max_size worker_connections worker_cpu_affinity worker_priority worker_processes worker_rlimit_core worker_rlimit_nofile worker_rlimit_sigpending worker_threads working_directory xclient xml_entities xslt_stylesheet xslt_typesdrew@li229-23"),u=t("http mail events server types location upstream charset_map limit_except if geo map"),c=t("include root server server_name listen internal proxy_pass memcached_pass fastcgi_pass try_files"),d=e.indentUnit;return{startState:function(e){return{tokenize:r,baseIndent:e||0,stack:[]}},token:function(e,t){if(e.eatSpace())return null;s=null;var n=t.tokenize(e,t),r=t.stack[t.stack.length-1];return"hash"==s&&"rule"==r?n="atom":"variable"==n&&("rule"==r?n="number":r&&"@media{"!=r||(n="tag")),"rule"==r&&/^[\{\};]$/.test(s)&&t.stack.pop(),"{"==s?"@media"==r?t.stack[t.stack.length-1]="@media{":t.stack.push("{"):"}"==s?t.stack.pop():"@media"==s?t.stack.push("@media"):"{"==r&&"comment"!=s&&t.stack.push("rule"),n},indent:function(e,t){var n=e.stack.length;return/^\}/.test(t)&&(n-="rule"==e.stack[e.stack.length-1]?2:1), +e.baseIndent+n*d},electricChars:"}"}}),e.defineMIME("text/x-nginx-conf","nginx")})},function(e,t,n){!function(e){e(n(1),n(41))}(function(e){"use strict";e.defineSimpleMode("nsis",{start:[{regex:/(?:[+-]?)(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\d+.?\d*)/,token:"number"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/`(?:[^\\`]|\\.)*`?/,token:"string"},{regex:/^\s*(?:\!(include|addincludedir|addplugindir|appendfile|cd|delfile|echo|error|execute|packhdr|finalize|getdllversion|system|tempfile|warning|verbose|define|undef|insertmacro|makensis|searchparse|searchreplace))\b/,token:"keyword"},{regex:/^\s*(?:\!(if(?:n?def)?|ifmacron?def|macro))\b/,token:"keyword",indent:!0},{regex:/^\s*(?:\!(else|endif|macroend))\b/,token:"keyword",dedent:!0},{regex:/^\s*(?:Abort|AddBrandingImage|AddSize|AllowRootDirInstall|AllowSkipFiles|AutoCloseWindow|BGFont|BGGradient|BrandingText|BringToFront|Call|CallInstDLL|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|CreateDirectory|CreateFont|CreateShortCut|Delete|DeleteINISec|DeleteINIStr|DeleteRegKey|DeleteRegValue|DetailPrint|DetailsButtonText|DirText|DirVar|DirVerify|EnableWindow|EnumRegKey|EnumRegValue|Exch|Exec|ExecShell|ExecWait|ExpandEnvStrings|File|FileBufSize|FileClose|FileErrorText|FileOpen|FileRead|FileReadByte|FileReadUTF16LE|FileReadWord|FileWriteUTF16LE|FileSeek|FileWrite|FileWriteByte|FileWriteWord|FindClose|FindFirst|FindNext|FindWindow|FlushINI|GetCurInstType|GetCurrentAddress|GetDlgItem|GetDLLVersion|GetDLLVersionLocal|GetErrorLevel|GetFileTime|GetFileTimeLocal|GetFullPathName|GetFunctionAddress|GetInstDirError|GetLabelAddress|GetTempFileName|Goto|HideWindow|Icon|IfAbort|IfErrors|IfFileExists|IfRebootFlag|IfSilent|InitPluginsDir|InstallButtonText|InstallColors|InstallDir|InstallDirRegKey|InstProgressFlags|InstType|InstTypeGetText|InstTypeSetText|IntCmp|IntCmpU|IntFmt|IntOp|IsWindow|LangString|LicenseBkColor|LicenseData|LicenseForceSelection|LicenseLangString|LicenseText|LoadLanguageFile|LockWindow|LogSet|LogText|ManifestDPIAware|ManifestSupportedOS|MessageBox|MiscButtonText|Name|Nop|OutFile|Page|PageCallbacks|Pop|Push|Quit|ReadEnvStr|ReadINIStr|ReadRegDWORD|ReadRegStr|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|SectionGetFlags|SectionGetInstTypes|SectionGetSize|SectionGetText|SectionIn|SectionSetFlags|SectionSetInstTypes|SectionSetSize|SectionSetText|SendMessage|SetAutoClose|SetBrandingImage|SetCompress|SetCompressor|SetCompressorDictSize|SetCtlColors|SetCurInstType|SetDatablockOptimize|SetDateSave|SetDetailsPrint|SetDetailsView|SetErrorLevel|SetErrors|SetFileAttributes|SetFont|SetOutPath|SetOverwrite|SetRebootFlag|SetRegView|SetShellVarContext|SetSilent|ShowInstDetails|ShowUninstDetails|ShowWindow|SilentInstall|SilentUnInstall|Sleep|SpaceTexts|StrCmp|StrCmpS|StrCpy|StrLen|SubCaption|Unicode|UninstallButtonText|UninstallCaption|UninstallIcon|UninstallSubCaption|UninstallText|UninstPage|UnRegDLL|Var|VIAddVersionKey|VIFileVersion|VIProductVersion|WindowIcon|WriteINIStr|WriteRegBin|WriteRegDWORD|WriteRegExpandStr|WriteRegStr|WriteUninstaller|XPStyle)\b/,token:"keyword"},{regex:/^\s*(?:Function|PageEx|Section(?:Group)?)\b/,token:"keyword",indent:!0},{regex:/^\s*(?:(Function|PageEx|Section(?:Group)?)End)\b/,token:"keyword",dedent:!0},{regex:/\b(?:ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HIDDEN|HKCC|HKCR|HKCU|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM|HKPD|HKU|IDABORT|IDCANCEL|IDD_DIR|IDD_INST|IDD_INSTFILES|IDD_LICENSE|IDD_SELCOM|IDD_UNINST|IDD_VERIFY|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SW_HIDE|SW_SHOWDEFAULT|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWNORMAL|SYSTEM|TEMPORARY)\b/,token:"atom"},{regex:/\b(?:admin|all|auto|both|bottom|bzip2|components|current|custom|directory|force|hide|highest|ifdiff|ifnewer|instfiles|lastused|leave|left|license|listonly|lzma|nevershow|none|normal|notset|right|show|silent|silentlog|textonly|top|try|un\.components|un\.custom|un\.directory|un\.instfiles|un\.license|uninstConfirm|user|Win10|Win7|Win8|WinVista|zlib)\b/,token:"builtin"},{regex:/\$\{(?:And(?:If(?:Not)?|Unless)|Break|Case(?:Else)?|Continue|Default|Do(?:Until|While)?|Else(?:If(?:Not)?|Unless)?|End(?:If|Select|Switch)|Exit(?:Do|For|While)|For(?:Each)?|If(?:Cmd|Not(?:Then)?|Then)?|Loop(?:Until|While)?|Or(?:If(?:Not)?|Unless)|Select|Switch|Unless|While)\}/,token:"variable-2",indent:!0},{regex:/\$\{(?:BannerTrimPath|DirState|DriveSpace|Get(BaseName|Drives|ExeName|ExePath|FileAttributes|FileExt|FileName|FileVersion|Options|OptionsS|Parameters|Parent|Root|Size|Time)|Locate|RefreshShellIcons)\}/,token:"variable-2",dedent:!0},{regex:/\$\{(?:Memento(?:Section(?:Done|End|Restore|Save)?|UnselectedSection))\}/,token:"variable-2",dedent:!0},{regex:/\$\{(?:Config(?:Read|ReadS|Write|WriteS)|File(?:Join|ReadFromEnd|Recode)|Line(?:Find|Read|Sum)|Text(?:Compare|CompareS)|TrimNewLines)\}/,token:"variable-2",dedent:!0},{regex:/\$\{(?:(?:At(?:Least|Most)|Is)(?:ServicePack|Win(?:7|8|10|95|98|200(?:0|3|8(?:R2)?)|ME|NT4|Vista|XP))|Is(?:NT|Server))\}/,token:"variable",dedent:!0},{regex:/\$\{(?:StrFilterS?|Version(?:Compare|Convert)|Word(?:AddS?|Find(?:(?:2|3)X)?S?|InsertS?|ReplaceS?))\}/,token:"variable-2",dedent:!0},{regex:/\$\{(?:RunningX64)\}/,token:"variable",dedent:!0},{regex:/\$\{(?:Disable|Enable)X64FSRedirection\}/,token:"variable-2",dedent:!0},{regex:/(#|;).*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/\$\w+/,token:"variable"},{regex:/\${[\w\.:-]+}/,token:"variable-2"},{regex:/\$\([\w\.:-]+\)/,token:"variable-3"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{electricInput:/^\s*((Function|PageEx|Section|Section(Group)?)End|(\!(endif|macroend))|\$\{(End(If|Unless|While)|Loop(Until)|Next)\})$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:["#",";"]}}),e.defineMIME("text/x-nsis","nsis")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("ntriples",function(){function e(e,n){var r,i=e.location;r=i==t.PRE_SUBJECT&&"<"==n?t.WRITING_SUB_URI:i==t.PRE_SUBJECT&&"_"==n?t.WRITING_BNODE_URI:i==t.PRE_PRED&&"<"==n?t.WRITING_PRED_URI:i==t.PRE_OBJ&&"<"==n?t.WRITING_OBJ_URI:i==t.PRE_OBJ&&"_"==n?t.WRITING_OBJ_BNODE:i==t.PRE_OBJ&&'"'==n?t.WRITING_OBJ_LITERAL:i==t.WRITING_SUB_URI&&">"==n?t.PRE_PRED:i==t.WRITING_BNODE_URI&&" "==n?t.PRE_PRED:i==t.WRITING_PRED_URI&&">"==n?t.PRE_OBJ:i==t.WRITING_OBJ_URI&&">"==n?t.POST_OBJ:i==t.WRITING_OBJ_BNODE&&" "==n?t.POST_OBJ:i==t.WRITING_OBJ_LITERAL&&'"'==n?t.POST_OBJ:i==t.WRITING_LIT_LANG&&" "==n?t.POST_OBJ:i==t.WRITING_LIT_TYPE&&">"==n?t.POST_OBJ:i==t.WRITING_OBJ_LITERAL&&"@"==n?t.WRITING_LIT_LANG:i==t.WRITING_OBJ_LITERAL&&"^"==n?t.WRITING_LIT_TYPE:" "!=n||i!=t.PRE_SUBJECT&&i!=t.PRE_PRED&&i!=t.PRE_OBJ&&i!=t.POST_OBJ?i==t.POST_OBJ&&"."==n?t.PRE_SUBJECT:t.ERROR:i,e.location=r}var t={PRE_SUBJECT:0,WRITING_SUB_URI:1,WRITING_BNODE_URI:2,PRE_PRED:3,WRITING_PRED_URI:4,PRE_OBJ:5,WRITING_OBJ_URI:6,WRITING_OBJ_BNODE:7,WRITING_OBJ_LITERAL:8,WRITING_LIT_LANG:9,WRITING_LIT_TYPE:10,POST_OBJ:11,ERROR:12};return{startState:function(){return{location:t.PRE_SUBJECT,uris:[],anchors:[],bnodes:[],langs:[],types:[]}},token:function(t,n){var r=t.next();if("<"==r){e(n,r);var i="";return t.eatWhile(function(e){return"#"!=e&&">"!=e&&(i+=e,!0)}),n.uris.push(i),t.match("#",!1)?"variable":(t.next(),e(n,">"),"variable")}if("#"==r){var o="";return t.eatWhile(function(e){return">"!=e&&" "!=e&&(o+=e,!0)}),n.anchors.push(o),"variable-2"}if(">"==r)return e(n,">"),"variable";if("_"==r){e(n,r);var a="";return t.eatWhile(function(e){return" "!=e&&(a+=e,!0)}),n.bnodes.push(a),t.next(),e(n," "),"builtin"}if('"'==r)return e(n,r),t.eatWhile(function(e){return'"'!=e}),t.next(),"@"!=t.peek()&&"^"!=t.peek()&&e(n,'"'),"string";if("@"==r){e(n,"@");var s="";return t.eatWhile(function(e){return" "!=e&&(s+=e,!0)}),n.langs.push(s),t.next(),e(n," "),"string-2"}if("^"==r){t.next(),e(n,"^");var l="";return t.eatWhile(function(e){return">"!=e&&(l+=e,!0)}),n.types.push(l),t.next(),e(n,">"),"variable"}" "==r&&e(n,r),"."==r&&e(n,r)}}}),e.defineMIME("text/n-triples","ntriples")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("octave",function(){function e(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}function t(e,t){return e.sol()||"'"!==e.peek()?(t.tokenize=r,r(e,t)):(e.next(),t.tokenize=r,"operator")}function n(e,t){return e.match(/^.*%}/)?(t.tokenize=r,"comment"):(e.skipToEnd(),"comment")}function r(p,h){if(p.eatSpace())return null;if(p.match("%{"))return h.tokenize=n,p.skipToEnd(),"comment";if(p.match(/^[%#]/))return p.skipToEnd(),"comment";if(p.match(/^[0-9\.+-]/,!1)){if(p.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/))return p.tokenize=r,"number";if(p.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?[ij]?/))return"number";if(p.match(/^[+-]?\d+([EeDd][+-]?\d+)?[ij]?/))return"number"}return p.match(e(["nan","NaN","inf","Inf"]))?"number":p.match(/^"([^"]|(""))*"/)?"string":p.match(/^'([^']|(''))*'/)?"string":p.match(f)?"keyword":p.match(d)?"builtin":p.match(c)?"variable":p.match(i)||p.match(a)?"operator":p.match(o)||p.match(s)||p.match(l)?null:p.match(u)?(h.tokenize=t,null):(p.next(),"error")}var i=new RegExp("^[\\+\\-\\*/&|\\^~<>!@'\\\\]"),o=new RegExp("^[\\(\\[\\{\\},:=;]"),a=new RegExp("^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\.[\\+\\-\\*/\\^\\\\]))"),s=new RegExp("^((!=)|(\\+=)|(\\-=)|(\\*=)|(/=)|(&=)|(\\|=)|(\\^=))"),l=new RegExp("^((>>=)|(<<=))"),u=new RegExp("^[\\]\\)]"),c=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*"),d=e(["error","eval","function","abs","acos","atan","asin","cos","cosh","exp","log","prod","sum","log10","max","min","sign","sin","sinh","sqrt","tan","reshape","break","zeros","default","margin","round","ones","rand","syn","ceil","floor","size","clear","zeros","eye","mean","std","cov","det","eig","inv","norm","rank","trace","expm","logm","sqrtm","linspace","plot","title","xlabel","ylabel","legend","text","grid","meshgrid","mesh","num2str","fft","ifft","arrayfun","cellfun","input","fliplr","flipud","ismember"]),f=e(["return","case","switch","else","elseif","end","endif","endfunction","if","otherwise","do","for","while","try","catch","classdef","properties","events","methods","global","persistent","endfor","endwhile","printf","sprintf","disp","until","continue","pkg"]);return{startState:function(){return{tokenize:r}},token:function(e,n){var r=n.tokenize(e,n);return"number"!==r&&"variable"!==r||(n.tokenize=t),r},lineComment:"%",fold:"indent"}}),e.defineMIME("text/x-octave","octave")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("oz",function(e){function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}function n(e,t){if(e.eatSpace())return null;if(e.match(/[{}]/))return"bracket";if(e.match(/(\[])/))return"keyword";if(e.match(d)||e.match(c))return"operator";if(e.match(h))return"atom";var n=e.match(g);if(n)return t.doInCurrentLine?t.doInCurrentLine=!1:t.currentIndent++,"proc"==n[0]||"fun"==n[0]?t.tokenize=o:"class"==n[0]?t.tokenize=r:"meth"==n[0]&&(t.tokenize=i),"keyword";if(e.match($)||e.match(m))return"keyword";if(e.match(_))return t.currentIndent--,"keyword";var l=e.next();if('"'==l||"'"==l)return t.tokenize=s(l),t.tokenize(e,t);if(/[~\d]/.test(l)){if("~"==l){if(!/^[0-9]/.test(e.peek()))return null;if("0"==e.next()&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/))return"number"}return"0"==l&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/)?"number":null}return"%"==l?(e.skipToEnd(),"comment"):"/"==l&&e.eat("*")?(t.tokenize=a,a(e,t)):u.test(l)?"operator":(e.eatWhile(/\w/),"variable")}function r(e,t){return e.eatSpace()?null:(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)/),t.tokenize=n,"variable-3")}function i(e,t){return e.eatSpace()?null:(e.match(/([a-zA-Z][A-Za-z0-9_]*)|(`.+`)/),t.tokenize=n,"def")}function o(e,t){return e.eatSpace()?null:!t.hasPassedFirstStage&&e.eat("{")?(t.hasPassedFirstStage=!0,"bracket"):t.hasPassedFirstStage?(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)|\$/),t.hasPassedFirstStage=!1,t.tokenize=n,"def"):(t.tokenize=n,null)}function a(e,t){for(var r,i=!1;r=e.next();){if("/"==r&&i){t.tokenize=n;break}i="*"==r}return"comment"}function s(e){return function(t,r){for(var i,o=!1,a=!1;null!=(i=t.next());){if(i==e&&!o){a=!0;break}o=!o&&"\\"==i}return!a&&o||(r.tokenize=n),"string"}}function l(){var e=f.concat(p);return new RegExp("[\\[\\]]|("+e.join("|")+")$")}var u=/[\^@!\|<>#~\.\*\-\+\\/,=]/,c=/(<-)|(:=)|(=<)|(>=)|(<=)|(<:)|(>:)|(=:)|(\\=)|(\\=:)|(!!)|(==)|(::)/,d=/(:::)|(\.\.\.)|(=<:)|(>=:)/,f=["in","then","else","of","elseof","elsecase","elseif","catch","finally","with","require","prepare","import","export","define","do"],p=["end"],h=t(["true","false","nil","unit"]),m=t(["andthen","at","attr","declare","feat","from","lex","mod","mode","orelse","parser","prod","prop","scanner","self","syn","token"]),g=t(["local","proc","fun","case","class","if","cond","or","dis","choice","not","thread","try","raise","lock","for","suchthat","meth","functor"]),$=t(f),_=t(p);return{startState:function(){return{tokenize:n,currentIndent:0,doInCurrentLine:!1,hasPassedFirstStage:!1}},token:function(e,t){return e.sol()&&(t.doInCurrentLine=0),t.tokenize(e,t)},indent:function(t,n){var r=n.replace(/^\s+|\s+$/g,"");return r.match(_)||r.match($)||r.match(/(\[])/)?e.indentUnit*(t.currentIndent-1):t.currentIndent<0?0:t.currentIndent*e.indentUnit},fold:"indent",electricInput:l(),lineComment:"%",blockCommentStart:"/*",blockCommentEnd:"*/"}}),e.defineMIME("text/x-oz","oz")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("pascal",function(){function e(e){for(var t={},n=e.split(" "),r=0;r!?|\/]/;return{startState:function(){return{tokenize:null}},token:function(e,n){if(e.eatSpace())return null;var r=(n.tokenize||t)(e,n);return"comment"==r||"meta"==r?r:r},electricChars:"{}"}}),e.defineMIME("text/x-pascal","pascal")})},function(e,t,n){!function(e){e(n(1),n(31))}(function(e){"use strict";e.defineMode("pegjs",function(t){function n(e){return e.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)}var r=e.getMode(t,"javascript");return{startState:function(){return{inString:!1,stringType:null,inComment:!1,inCharacterClass:!1,braced:0,lhs:!0,localState:null}},token:function(t,i){if(t&&(i.inString||i.inComment||'"'!=t.peek()&&"'"!=t.peek()||(i.stringType=t.peek(),t.next(),i.inString=!0)),i.inString||i.inComment||!t.match(/^\/\*/)||(i.inComment=!0),i.inString){for(;i.inString&&!t.eol();)t.peek()===i.stringType?(t.next(),i.inString=!1):"\\"===t.peek()?(t.next(),t.next()):t.match(/^.[^\\\"\']*/);return i.lhs?"property string":"string"}if(i.inComment){for(;i.inComment&&!t.eol();)t.match(/\*\//)?i.inComment=!1:t.match(/^.[^\*]*/);return"comment"}if(i.inCharacterClass)for(;i.inCharacterClass&&!t.eol();)t.match(/^[^\]\\]+/)||t.match(/^\\./)||(i.inCharacterClass=!1);else{if("["===t.peek())return t.next(),i.inCharacterClass=!0,"bracket";if(t.match(/^\/\//))return t.skipToEnd(),"comment";if(i.braced||"{"===t.peek()){null===i.localState&&(i.localState=e.startState(r));var o=r.token(t,i.localState),a=t.current();if(!o)for(var s=0;s=0?n:0,t)}return e.string.substr(0,e.pos-1)}function r(e,t){var n=e.string.length,r=n-e.pos+1;return e.string.substr(e.pos,t&&t=(n=e.string.length-1)?e.pos=n:e.pos=r}e.defineMode("perl",function(){function e(e,t,n,r,i){return t.chain=null,t.style=null,t.tail=null,t.tokenize=function(e,t){for(var o,s=!1,l=0;o=e.next();){if(o===n[l]&&!s)return void 0!==n[++l]?(t.chain=n[l],t.style=r,t.tail=i):i&&e.eatWhile(i),t.tokenize=a,r;s=!s&&"\\"==o}return r},t.tokenize(e,t)}function o(e,t,n){return t.tokenize=function(e,t){return e.string==n&&(t.tokenize=a),e.skipToEnd(),"string"},t.tokenize(e,t)}function a(a,c){if(a.eatSpace())return null;if(c.chain)return e(a,c,c.chain,c.style,c.tail);if(a.match(/^\-?[\d\.]/,!1)&&a.match(/^(\-?(\d*\.\d+(e[+-]?\d+)?|\d+\.\d*)|0x[\da-fA-F]+|0b[01]+|\d+(e[+-]?\d+)?)/))return"number";if(a.match(/^<<(?=\w)/))return a.eatWhile(/\w/),o(a,c,a.current().substr(2));if(a.sol()&&a.match(/^\=item(?!\w)/))return o(a,c,"=cut");var d=a.next();if('"'==d||"'"==d){if(n(a,3)=="<<"+d){var f=a.pos;a.eatWhile(/\w/);var p=a.current().substr(1);if(p&&a.eat(d))return o(a,c,p);a.pos=f}return e(a,c,[d],"string")}if("q"==d){var h=t(a,-2);if(!h||!/\w/.test(h))if(h=t(a,0),"x"==h){if(h=t(a,1),"("==h)return i(a,2),e(a,c,[")"],l,u);if("["==h)return i(a,2),e(a,c,["]"],l,u);if("{"==h)return i(a,2),e(a,c,["}"],l,u);if("<"==h)return i(a,2),e(a,c,[">"],l,u);if(/[\^'"!~\/]/.test(h))return i(a,1),e(a,c,[a.eat(h)],l,u)}else if("q"==h){if(h=t(a,1),"("==h)return i(a,2),e(a,c,[")"],"string");if("["==h)return i(a,2),e(a,c,["]"],"string");if("{"==h)return i(a,2),e(a,c,["}"],"string");if("<"==h)return i(a,2),e(a,c,[">"],"string");if(/[\^'"!~\/]/.test(h))return i(a,1),e(a,c,[a.eat(h)],"string")}else if("w"==h){if(h=t(a,1),"("==h)return i(a,2),e(a,c,[")"],"bracket");if("["==h)return i(a,2),e(a,c,["]"],"bracket");if("{"==h)return i(a,2),e(a,c,["}"],"bracket");if("<"==h)return i(a,2),e(a,c,[">"],"bracket");if(/[\^'"!~\/]/.test(h))return i(a,1),e(a,c,[a.eat(h)],"bracket")}else if("r"==h){if(h=t(a,1),"("==h)return i(a,2),e(a,c,[")"],l,u);if("["==h)return i(a,2),e(a,c,["]"],l,u);if("{"==h)return i(a,2),e(a,c,["}"],l,u);if("<"==h)return i(a,2),e(a,c,[">"],l,u);if(/[\^'"!~\/]/.test(h))return i(a,1),e(a,c,[a.eat(h)],l,u)}else if(/[\^'"!~\/(\[{<]/.test(h)){if("("==h)return i(a,1),e(a,c,[")"],"string");if("["==h)return i(a,1),e(a,c,["]"],"string");if("{"==h)return i(a,1),e(a,c,["}"],"string");if("<"==h)return i(a,1),e(a,c,[">"],"string");if(/[\^'"!~\/]/.test(h))return e(a,c,[a.eat(h)],"string")}}if("m"==d){var h=t(a,-2);if((!h||!/\w/.test(h))&&(h=a.eat(/[(\[{<\^'"!~\/]/))){if(/[\^'"!~\/]/.test(h))return e(a,c,[h],l,u);if("("==h)return e(a,c,[")"],l,u);if("["==h)return e(a,c,["]"],l,u);if("{"==h)return e(a,c,["}"],l,u);if("<"==h)return e(a,c,[">"],l,u)}}if("s"==d){var h=/[\/>\]})\w]/.test(t(a,-2));if(!h&&(h=a.eat(/[(\[{<\^'"!~\/]/)))return"["==h?e(a,c,["]","]"],l,u):"{"==h?e(a,c,["}","}"],l,u):"<"==h?e(a,c,[">",">"],l,u):"("==h?e(a,c,[")",")"],l,u):e(a,c,[h,h],l,u)}if("y"==d){var h=/[\/>\]})\w]/.test(t(a,-2));if(!h&&(h=a.eat(/[(\[{<\^'"!~\/]/)))return"["==h?e(a,c,["]","]"],l,u):"{"==h?e(a,c,["}","}"],l,u):"<"==h?e(a,c,[">",">"],l,u):"("==h?e(a,c,[")",")"],l,u):e(a,c,[h,h],l,u)}if("t"==d){var h=/[\/>\]})\w]/.test(t(a,-2));if(!h&&(h=a.eat("r"),h&&(h=a.eat(/[(\[{<\^'"!~\/]/))))return"["==h?e(a,c,["]","]"],l,u):"{"==h?e(a,c,["}","}"],l,u):"<"==h?e(a,c,[">",">"],l,u):"("==h?e(a,c,[")",")"],l,u):e(a,c,[h,h],l,u)}if("`"==d)return e(a,c,[d],"variable-2");if("/"==d)return/~\s*$/.test(n(a))?e(a,c,[d],l,u):"operator";if("$"==d){var f=a.pos;if(a.eatWhile(/\d/)||a.eat("{")&&a.eatWhile(/\d/)&&a.eat("}"))return"variable-2";a.pos=f}if(/[$@%]/.test(d)){var f=a.pos;if(a.eat("^")&&a.eat(/[A-Z]/)||!/[@$%&]/.test(t(a,-2))&&a.eat(/[=|\\\-#?@;:&`~\^!\[\]*'"$+.,\/<>()]/)){var h=a.current();if(s[h])return"variable-2"}a.pos=f}if(/[$@%&]/.test(d)&&(a.eatWhile(/[\w$\[\]]/)||a.eat("{")&&a.eatWhile(/[\w$\[\]]/)&&a.eat("}"))){var h=a.current();return s[h]?"variable-2":"variable"}if("#"==d&&"$"!=t(a,-2))return a.skipToEnd(),"comment";if(/[:+\-\^*$&%@=<>!?|\/~\.]/.test(d)){var f=a.pos;if(a.eatWhile(/[:+\-\^*$&%@=<>!?|\/~\.]/),s[a.current()])return"operator";a.pos=f}if("_"==d&&1==a.pos){if("_END__"==r(a,6))return e(a,c,["\0"],"comment");if("_DATA__"==r(a,7))return e(a,c,["\0"],"variable-2");if("_C__"==r(a,7))return e(a,c,["\0"],"string")}if(/\w/.test(d)){var f=a.pos;if("{"==t(a,-2)&&("}"==t(a,0)||a.eatWhile(/\w/)&&"}"==t(a,0)))return"string";a.pos=f}if(/[A-Z]/.test(d)){var m=t(a,-2),f=a.pos;if(a.eatWhile(/[A-Z_]/),!/[\da-z]/.test(t(a,0))){var h=s[a.current()];return h?(h[1]&&(h=h[0]),":"!=m?1==h?"keyword":2==h?"def":3==h?"atom":4==h?"operator":5==h?"variable-2":"meta":"meta"):"meta"}a.pos=f}if(/[a-zA-Z_]/.test(d)){var m=t(a,-2);a.eatWhile(/\w/);var h=s[a.current()];return h?(h[1]&&(h=h[0]),":"!=m?1==h?"keyword":2==h?"def":3==h?"atom":4==h?"operator":5==h?"variable-2":"meta":"meta"):"meta"}return null}var s={"->":4,"++":4,"--":4,"**":4,"=~":4,"!~":4,"*":4,"/":4,"%":4,x:4,"+":4,"-":4,".":4,"<<":4,">>":4,"<":4,">":4,"<=":4,">=":4,lt:4,gt:4,le:4,ge:4,"==":4,"!=":4,"<=>":4,eq:4,ne:4,cmp:4,"~~":4,"&":4,"|":4,"^":4,"&&":4,"||":4,"//":4,"..":4,"...":4,"?":4,":":4,"=":4,"+=":4,"-=":4,"*=":4,",":4,"=>":4,"::":4,not:4,and:4,or:4,xor:4,BEGIN:[5,1],END:[5,1],PRINT:[5,1],PRINTF:[5,1],GETC:[5,1],READ:[5,1],READLINE:[5,1],DESTROY:[5,1],TIE:[5,1],TIEHANDLE:[5,1],UNTIE:[5,1],STDIN:5,STDIN_TOP:5,STDOUT:5,STDOUT_TOP:5,STDERR:5,STDERR_TOP:5,$ARG:5,$_:5,"@ARG":5,"@_":5,$LIST_SEPARATOR:5,'$"':5,$PROCESS_ID:5,$PID:5,$$:5,$REAL_GROUP_ID:5,$GID:5,"$(":5,$EFFECTIVE_GROUP_ID:5,$EGID:5,"$)":5,$PROGRAM_NAME:5,$0:5,$SUBSCRIPT_SEPARATOR:5,$SUBSEP:5,"$;":5,$REAL_USER_ID:5,$UID:5,"$<":5,$EFFECTIVE_USER_ID:5,$EUID:5,"$>":5,$a:5,$b:5,$COMPILING:5,"$^C":5,$DEBUGGING:5,"$^D":5,"${^ENCODING}":5,$ENV:5,"%ENV":5,$SYSTEM_FD_MAX:5,"$^F":5,"@F":5,"${^GLOBAL_PHASE}":5,"$^H":5,"%^H":5,"@INC":5,"%INC":5,$INPLACE_EDIT:5,"$^I":5,"$^M":5,$OSNAME:5,"$^O":5,"${^OPEN}":5,$PERLDB:5,"$^P":5,$SIG:5,"%SIG":5,$BASETIME:5,"$^T":5,"${^TAINT}":5,"${^UNICODE}":5,"${^UTF8CACHE}":5,"${^UTF8LOCALE}":5,$PERL_VERSION:5,"$^V":5,"${^WIN32_SLOPPY_STAT}":5,$EXECUTABLE_NAME:5,"$^X":5,$1:5,$MATCH:5,"$&":5,"${^MATCH}":5,$PREMATCH:5,"$`":5,"${^PREMATCH}":5,$POSTMATCH:5,"$'":5,"${^POSTMATCH}":5,$LAST_PAREN_MATCH:5,"$+":5,$LAST_SUBMATCH_RESULT:5,"$^N":5,"@LAST_MATCH_END":5,"@+":5,"%LAST_PAREN_MATCH":5,"%+":5,"@LAST_MATCH_START":5,"@-":5,"%LAST_MATCH_START":5,"%-":5,$LAST_REGEXP_CODE_RESULT:5,"$^R":5,"${^RE_DEBUG_FLAGS}":5,"${^RE_TRIE_MAXBUF}":5,$ARGV:5,"@ARGV":5,ARGV:5,ARGVOUT:5,$OUTPUT_FIELD_SEPARATOR:5,$OFS:5,"$,":5,$INPUT_LINE_NUMBER:5,$NR:5,"$.":5,$INPUT_RECORD_SEPARATOR:5,$RS:5,"$/":5,$OUTPUT_RECORD_SEPARATOR:5,$ORS:5,"$\\":5,$OUTPUT_AUTOFLUSH:5,"$|":5,$ACCUMULATOR:5,"$^A":5,$FORMAT_FORMFEED:5,"$^L":5,$FORMAT_PAGE_NUMBER:5,"$%":5,$FORMAT_LINES_LEFT:5,"$-":5,$FORMAT_LINE_BREAK_CHARACTERS:5,"$:":5,$FORMAT_LINES_PER_PAGE:5,"$=":5,$FORMAT_TOP_NAME:5,"$^":5,$FORMAT_NAME:5,"$~":5,"${^CHILD_ERROR_NATIVE}":5,$EXTENDED_OS_ERROR:5,"$^E":5,$EXCEPTIONS_BEING_CAUGHT:5,"$^S":5,$WARNING:5,"$^W":5,"${^WARNING_BITS}":5,$OS_ERROR:5,$ERRNO:5,"$!":5,"%OS_ERROR":5,"%ERRNO":5,"%!":5,$CHILD_ERROR:5,"$?":5,$EVAL_ERROR:5,"$@":5,$OFMT:5,"$#":5,"$*":5,$ARRAY_BASE:5,"$[":5,$OLD_PERL_VERSION:5,"$]":5,if:[1,1],elsif:[1,1],else:[1,1],while:[1,1],unless:[1,1],for:[1,1],foreach:[1,1],abs:1,accept:1,alarm:1,atan2:1,bind:1,binmode:1,bless:1,bootstrap:1,break:1,caller:1,chdir:1,chmod:1,chomp:1,chop:1,chown:1,chr:1,chroot:1,close:1,closedir:1,connect:1,continue:[1,1],cos:1,crypt:1,dbmclose:1,dbmopen:1,default:1,defined:1,delete:1,die:1,do:1,dump:1,each:1,endgrent:1,endhostent:1,endnetent:1,endprotoent:1,endpwent:1,endservent:1,eof:1,eval:1,exec:1,exists:1,exit:1,exp:1,fcntl:1,fileno:1,flock:1,fork:1,format:1,formline:1,getc:1,getgrent:1,getgrgid:1,getgrnam:1,gethostbyaddr:1,gethostbyname:1,gethostent:1,getlogin:1,getnetbyaddr:1,getnetbyname:1,getnetent:1,getpeername:1,getpgrp:1,getppid:1,getpriority:1,getprotobyname:1,getprotobynumber:1,getprotoent:1,getpwent:1,getpwnam:1,getpwuid:1,getservbyname:1,getservbyport:1,getservent:1,getsockname:1,getsockopt:1,given:1,glob:1,gmtime:1,goto:1,grep:1,hex:1,import:1,index:1,int:1,ioctl:1,join:1,keys:1,kill:1,last:1,lc:1,lcfirst:1,length:1,link:1,listen:1,local:2,localtime:1,lock:1,log:1,lstat:1,m:null,map:1,mkdir:1,msgctl:1,msgget:1,msgrcv:1,msgsnd:1,my:2,new:1,next:1,no:1,oct:1,open:1,opendir:1,ord:1,our:2,pack:1,package:1,pipe:1,pop:1,pos:1,print:1,printf:1,prototype:1,push:1,q:null,qq:null,qr:null,quotemeta:null,qw:null,qx:null,rand:1,read:1,readdir:1,readline:1,readlink:1,readpipe:1,recv:1,redo:1,ref:1,rename:1,require:1,reset:1,return:1,reverse:1,rewinddir:1,rindex:1,rmdir:1,s:null,say:1,scalar:1,seek:1,seekdir:1,select:1,semctl:1,semget:1,semop:1,send:1,setgrent:1,sethostent:1,setnetent:1,setpgrp:1,setpriority:1,setprotoent:1,setpwent:1,setservent:1,setsockopt:1,shift:1,shmctl:1,shmget:1,shmread:1,shmwrite:1,shutdown:1,sin:1,sleep:1,socket:1,socketpair:1,sort:1,splice:1,split:1,sprintf:1,sqrt:1,srand:1,stat:1,state:1,study:1,sub:1,substr:1,symlink:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,tell:1,telldir:1,tie:1,tied:1,time:1,times:1,tr:null,truncate:1,uc:1,ucfirst:1,umask:1,undef:1,unlink:1,unpack:1,unshift:1,untie:1,use:1,utime:1,values:1,vec:1,wait:1,waitpid:1,wantarray:1,warn:1,when:1,write:1,y:null},l="string-2",u=/[goseximacplud]/;return{startState:function(){return{tokenize:a,chain:null,style:null,tail:null}},token:function(e,t){return(t.tokenize||a)(e,t)},lineComment:"#"}}),e.registerHelper("wordChars","perl",/[\w$]/),e.defineMIME("text/x-perl","perl")})},function(e,t,n){!function(e){e(n(1),n(14),n(51))}(function(e){"use strict";function t(e){for(var t={},n=e.split(" "),r=0;r\w/,!1)&&(t.tokenize=n([[["->",null]],[[/[\w]+/,"variable"]]],r,i)),"variable-2";for(var o=!1;!e.eol()&&(o||i===!1||!e.match("{$",!1)&&!e.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!o&&e.match(r)){t.tokenize=null,t.tokStack.pop(),t.tokStack.pop();break}o="\\"==e.next()&&!o}return"string"}var o="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally",a="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",s="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count"; +e.registerHelper("hintWords","php",[o,a,s].join(" ").split(" ")),e.registerHelper("wordChars","php",/[\w$]/);var l={name:"clike",helperType:"php",keywords:t(o),blockKeywords:t("catch do else elseif for foreach if switch try while finally"),defKeywords:t("class function interface namespace trait"),atoms:t(a),builtin:t(s),multiLineStrings:!0,hooks:{$:function(e){return e.eatWhile(/[\w\$_]/),"variable-2"},"<":function(e,t){var n;if(n=e.match(/<<\s*/)){var i=e.eat(/['"]/);e.eatWhile(/[\w\.]/);var o=e.current().slice(n[0].length+(i?2:1));if(i&&e.eat(i),o)return(t.tokStack||(t.tokStack=[])).push(o,0),t.tokenize=r(o,"'"!=i),"string"}return!1},"#":function(e){for(;!e.eol()&&!e.match("?>",!1);)e.next();return"comment"},"/":function(e){if(e.eat("/")){for(;!e.eol()&&!e.match("?>",!1);)e.next();return"comment"}return!1},'"':function(e,t){return(t.tokStack||(t.tokStack=[])).push('"',0),t.tokenize=r('"'),"string"},"{":function(e,t){return t.tokStack&&t.tokStack.length&&t.tokStack[t.tokStack.length-1]++,!1},"}":function(e,t){return t.tokStack&&t.tokStack.length>0&&!--t.tokStack[t.tokStack.length-1]&&(t.tokenize=r(t.tokStack[t.tokStack.length-2])),!1}}};e.defineMode("php",function(t,n){function r(t,n){var r=n.curMode==o;if(t.sol()&&n.pending&&'"'!=n.pending&&"'"!=n.pending&&(n.pending=null),r)return r&&null==n.php.tokenize&&t.match("?>")?(n.curMode=i,n.curState=n.html,n.php.context.prev||(n.php=null),"meta"):o.token(t,n.curState);if(t.match(/^<\?\w*/))return n.curMode=o,n.php||(n.php=e.startState(o,i.indent(n.html,""))),n.curState=n.php,"meta";if('"'==n.pending||"'"==n.pending){for(;!t.eol()&&t.next()!=n.pending;);var a="string"}else if(n.pending&&t.pos/.test(l)?n.pending=s[0]:n.pending={end:t.pos,style:a},t.backUp(l.length-u)),a}var i=e.getMode(t,"text/html"),o=e.getMode(t,l);return{startState:function(){var t=e.startState(i),r=n.startOpen?e.startState(o):null;return{html:t,php:r,curMode:n.startOpen?o:i,curState:n.startOpen?r:t,pending:null}},copyState:function(t){var n,r=t.html,a=e.copyState(i,r),s=t.php,l=s&&e.copyState(o,s);return n=t.curMode==i?a:l,{html:a,php:l,curMode:t.curMode,curState:n,pending:t.pending}},token:r,indent:function(e,t){return e.curMode!=o&&/^\s*<\//.test(t)||e.curMode==o&&/^\?>/.test(t)?i.indent(e.html,t):e.curMode.indent(e.curState,t)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(e){return{state:e.curState,mode:e.curMode}}}},"htmlmixed","clike"),e.defineMIME("application/x-httpd-php","php"),e.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),e.defineMIME("text/x-php",l)})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("pig",function(e,t){function n(e,t,n){return t.tokenize=n,n(e,t)}function r(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=o;break}r="*"==n}return"comment"}function i(e){return function(t,n){for(var r,i=!1,a=!1;null!=(r=t.next());){if(r==e&&!i){a=!0;break}i=!i&&"\\"==r}return(a||!i&&!u)&&(n.tokenize=o),"error"}}function o(e,t){var o=e.next();return'"'==o||"'"==o?n(e,t,i(o)):/[\[\]{}\(\),;\.]/.test(o)?null:/\d/.test(o)?(e.eatWhile(/[\w\.]/),"number"):"/"==o?e.eat("*")?n(e,t,r):(e.eatWhile(c),"operator"):"-"==o?e.eat("-")?(e.skipToEnd(),"comment"):(e.eatWhile(c),"operator"):c.test(o)?(e.eatWhile(c),"operator"):(e.eatWhile(/[\w\$_]/),a&&a.propertyIsEnumerable(e.current().toUpperCase())&&!e.eat(")")&&!e.eat(".")?"keyword":s&&s.propertyIsEnumerable(e.current().toUpperCase())?"variable-2":l&&l.propertyIsEnumerable(e.current().toUpperCase())?"variable-3":"variable")}var a=t.keywords,s=t.builtins,l=t.types,u=t.multiLineStrings,c=/[*+\-%<>=&?:\/!|]/;return{startState:function(){return{tokenize:o,startOfLine:!0}},token:function(e,t){if(e.eatSpace())return null;var n=t.tokenize(e,t);return n}}}),function(){function t(e){for(var t={},n=e.split(" "),r=0;r"==r){n.tokenize=t;break}i="#"===r}return"comment"}function u(e,n){var r=e.peek();return e.eat("{")?(n.tokenize=c,c(e,n)):void 0!=r&&r.match(p)?(e.eatWhile(p),n.tokenize=t,"variable-2"):(n.tokenize=t,"error")}function c(e,n){for(var r;null!=(r=e.next());)if("}"===r){n.tokenize=t;break}return"variable-2"}function d(e,n){var r=n.startQuote;if(e.sol()&&e.match(new RegExp(r+"@")))n.tokenize=t;else if('"'===r)for(;!e.eol();){var i=e.peek();if("$"===i)return n.tokenize=a,"string";e.next(),"`"===i&&e.next()}else e.skipToEnd();return"string"}var f="(?=[^A-Za-z\\d\\-_]|$)",p=/[\w\-:]/,h=e([/begin|break|catch|continue|data|default|do|dynamicparam/,/else|elseif|end|exit|filter|finally|for|foreach|from|function|if|in/,/param|process|return|switch|throw|trap|try|until|where|while/],{suffix:f}),m=/[\[\]{},;`\.]|@[({]/,g=e(["f",/b?not/,/[ic]?split/,"join",/is(not)?/,"as",/[ic]?(eq|ne|[gl][te])/,/[ic]?(not)?(like|match|contains)/,/[ic]?replace/,/b?(and|or|xor)/],{prefix:"-"}),$=/[+\-*\/%]=|\+\+|--|\.\.|[+\-*&^%:=!|\/]|<(?!#)|(?!#)>/,_=e([g,$],{suffix:""}),v=/^((0x[\da-f]+)|((\d+\.\d+|\d\.|\.\d+|\d+)(e[\+\-]?\d+)?))[ld]?([kmgtp]b)?/i,b=/^[A-Za-z\_][A-Za-z\-\_\d]*\b/,y=/[A-Z]:|%|\?/i,x=e([/Add-(Computer|Content|History|Member|PSSnapin|Type)/,/Checkpoint-Computer/,/Clear-(Content|EventLog|History|Host|Item(Property)?|Variable)/,/Compare-Object/,/Complete-Transaction/,/Connect-PSSession/,/ConvertFrom-(Csv|Json|SecureString|StringData)/,/Convert-Path/,/ConvertTo-(Csv|Html|Json|SecureString|Xml)/,/Copy-Item(Property)?/,/Debug-Process/,/Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/Disconnect-PSSession/,/Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/(Enter|Exit)-PSSession/,/Export-(Alias|Clixml|Console|Counter|Csv|FormatData|ModuleMember|PSSession)/,/ForEach-Object/,/Format-(Custom|List|Table|Wide)/,new RegExp("Get-(Acl|Alias|AuthenticodeSignature|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Counter|Credential|Culture|Date|Event|EventLog|EventSubscriber|ExecutionPolicy|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|PfxCertificate|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|Verb|WinEvent|WmiObject)"),/Group-Object/,/Import-(Alias|Clixml|Counter|Csv|LocalizedData|Module|PSSession)/,/ImportSystemModules/,/Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)/,/Join-Path/,/Limit-EventLog/,/Measure-(Command|Object)/,/Move-Item(Property)?/,new RegExp("New-(Alias|Event|EventLog|Item(Property)?|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy|WinEvent)"),/Out-(Default|File|GridView|Host|Null|Printer|String)/,/Pause/,/(Pop|Push)-Location/,/Read-Host/,/Receive-(Job|PSSession)/,/Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)/,/Remove-(Computer|Event|EventLog|Item(Property)?|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)/,/Rename-(Computer|Item(Property)?)/,/Reset-ComputerMachinePassword/,/Resolve-Path/,/Restart-(Computer|Service)/,/Restore-Computer/,/Resume-(Job|Service)/,/Save-Help/,/Select-(Object|String|Xml)/,/Send-MailMessage/,new RegExp("Set-(Acl|Alias|AuthenticodeSignature|Content|Date|ExecutionPolicy|Item(Property)?|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)"),/Show-(Command|ControlPanelItem|EventLog)/,/Sort-Object/,/Split-Path/,/Start-(Job|Process|Service|Sleep|Transaction|Transcript)/,/Stop-(Computer|Job|Process|Service|Transcript)/,/Suspend-(Job|Service)/,/TabExpansion2/,/Tee-Object/,/Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)/,/Trace-Command/,/Unblock-File/,/Undo-Transaction/,/Unregister-(Event|PSSessionConfiguration)/,/Update-(FormatData|Help|List|TypeData)/,/Use-Transaction/,/Wait-(Event|Job|Process)/,/Where-Object/,/Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning)/,/cd|help|mkdir|more|oss|prompt/,/ac|asnp|cat|cd|chdir|clc|clear|clhy|cli|clp|cls|clv|cnsn|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|dnsn|ebp/,/echo|epal|epcsv|epsn|erase|etsn|exsn|fc|fl|foreach|ft|fw|gal|gbp|gc|gci|gcm|gcs|gdr|ghy|gi|gjb|gl|gm|gmo|gp|gps/,/group|gsn|gsnp|gsv|gu|gv|gwmi|h|history|icm|iex|ihy|ii|ipal|ipcsv|ipmo|ipsn|irm|ise|iwmi|iwr|kill|lp|ls|man|md/,/measure|mi|mount|move|mp|mv|nal|ndr|ni|nmo|npssc|nsn|nv|ogv|oh|popd|ps|pushd|pwd|r|rbp|rcjb|rcsn|rd|rdr|ren|ri/,/rjb|rm|rmdir|rmo|rni|rnp|rp|rsn|rsnp|rujb|rv|rvpa|rwmi|sajb|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls/,/sort|sp|spjb|spps|spsv|start|sujb|sv|swmi|tee|trcm|type|where|wjb|write/],{prefix:"",suffix:""}),k=e([/[$?^_]|Args|ConfirmPreference|ConsoleFileName|DebugPreference|Error|ErrorActionPreference|ErrorView|ExecutionContext/,/FormatEnumerationLimit|Home|Host|Input|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount/,/MaximumHistoryCount|MaximumVariableCount|MyInvocation|NestedPromptLevel|OutputEncoding|Pid|Profile|ProgressPreference/,/PSBoundParameters|PSCommandPath|PSCulture|PSDefaultParameterValues|PSEmailServer|PSHome|PSScriptRoot|PSSessionApplicationName/,/PSSessionConfigurationName|PSSessionOption|PSUICulture|PSVersionTable|Pwd|ShellId|StackTrace|VerbosePreference/,/WarningPreference|WhatIfPreference/,/Event|EventArgs|EventSubscriber|Sender/,/Matches|Ofs|ForEach|LastExitCode|PSCmdlet|PSItem|PSSenderInfo|This/,/true|false|null/],{prefix:"\\$",suffix:""}),w=e([y,x,k],{suffix:f}),E={keyword:h,number:v,operator:_,builtin:w,punctuation:m,identifier:b},A={startState:function(){return{returnStack:[],bracketNesting:0,tokenize:t}},token:function(e,t){return t.tokenize(e,t)},blockCommentStart:"<#",blockCommentEnd:"#>",lineComment:"#",fold:"brace"};return A}),e.defineMIME("application/x-powershell","powershell")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("properties",function(){return{token:function(e,t){var n=e.sol()||t.afterSection,r=e.eol();if(t.afterSection=!1,n&&(t.nextMultiline?(t.inMultiline=!0,t.nextMultiline=!1):t.position="def"),r&&!t.nextMultiline&&(t.inMultiline=!1,t.position="def"),n)for(;e.eatSpace(););var i=e.next();return!n||"#"!==i&&"!"!==i&&";"!==i?n&&"["===i?(t.afterSection=!0,e.skipTo("]"),e.eat("]"),"header"):"="===i||":"===i?(t.position="quote",null):("\\"===i&&"quote"===t.position&&e.eol()&&(t.nextMultiline=!0),t.position):(t.position="comment",e.skipToEnd(),"comment")},startState:function(){return{position:"def",nextMultiline:!1,inMultiline:!1,afterSection:!1}}}}),e.defineMIME("text/x-properties","properties"),e.defineMIME("text/x-ini","properties")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}function n(e){if(e.eatSpace())return null;if(e.match("//"))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+/))return"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/))return"number";if(e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))return"number"}return e.match(/^"([^"]|(""))*"/)?"string":e.match(/^'([^']|(''))*'/)?"string":e.match(i)?"keyword":e.match(o)?"variable":(e.next(),null)}var r=["package","message","import","syntax","required","optional","repeated","reserved","default","extensions","packed","bool","bytes","double","enum","float","string","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64"],i=t(r);e.registerHelper("hintWords","protobuf",r);var o=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*");e.defineMode("protobuf",function(){return{token:n}}),e.defineMIME("text/x-protobuf","protobuf")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("puppet",function(){function e(e,t){for(var n=t.split(" "),i=0;i.*/,!1),s=e.match(/(\s+)?[\w:_]+(\s+)?{/,!1),l=e.match(/(\s+)?[@]{1,2}[\w:_]+(\s+)?{/,!1),u=e.next();if("$"===u)return e.match(i)?n.continueString?"variable-2":"variable":"error";if(n.continueString)return e.backUp(1),t(e,n);if(n.inDefinition){if(e.match(/(\s+)?[\w:_]+(\s+)?/))return"def";e.match(/\s+{/),n.inDefinition=!1}return n.inInclude?(e.match(/(\s+)?\S+(\s+)?/),n.inInclude=!1,"def"):e.match(/(\s+)?\w+\(/)?(e.backUp(1),"def"):a?(e.match(/(\s+)?\w+/),"tag"):o&&r.hasOwnProperty(o)?(e.backUp(1),e.match(/[\w]+/),e.match(/\s+\S+\s+{/,!1)&&(n.inDefinition=!0),"include"==o&&(n.inInclude=!0),r[o]):/(^|\s+)[A-Z][\w:_]+/.test(o)?(e.backUp(1),e.match(/(^|\s+)[A-Z][\w:_]+/),"def"):s?(e.match(/(\s+)?[\w:_]+/),"def"):l?(e.match(/(\s+)?[@]{1,2}/),"special"):"#"==u?(e.skipToEnd(),"comment"):"'"==u||'"'==u?(n.pending=u,t(e,n)):"{"==u||"}"==u?"bracket":"/"==u?(e.match(/.*?\//),"variable-3"):u.match(/[0-9]/)?(e.eatWhile(/[0-9]+/),"number"):"="==u?(">"==e.peek()&&e.next(),"operator"):(e.eatWhile(/[\w-]/),null)}var r={},i=/({)?([a-z][a-z0-9_]*)?((::[a-z][a-z0-9_]*)*::)?[a-zA-Z0-9_]+(})?/;return e("keyword","class define site node include import inherits"),e("keyword","case if else in and elsif default or"),e("atom","false true running present absent file directory undef"),e("builtin","action augeas burst chain computer cron destination dport exec file filebucket group host icmp iniface interface jump k5login limit log_level log_prefix macauthorization mailalias maillist mcx mount nagios_command nagios_contact nagios_contactgroup nagios_host nagios_hostdependency nagios_hostescalation nagios_hostextinfo nagios_hostgroup nagios_service nagios_servicedependency nagios_serviceescalation nagios_serviceextinfo nagios_servicegroup nagios_timeperiod name notify outiface package proto reject resources router schedule scheduled_task selboolean selmodule service source sport ssh_authorized_key sshkey stage state table tidy todest toports tosource user vlan yumrepo zfs zone zpool"),{startState:function(){var e={};return e.inDefinition=!1,e.inInclude=!1,e.continueString=!1,e.pending=!1,e},token:function(e,t){return e.eatSpace()?null:n(e,t)}}}),e.defineMIME("text/x-puppet","puppet")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("q",function(e){function t(e){return new RegExp("^("+e.join("|")+")$")}function n(e,t){var i=e.sol(),s=e.next();if(u=null,i){if("/"==s)return(t.tokenize=r)(e,t);if("\\"==s)return e.eol()||/\s/.test(e.peek())?(e.skipToEnd(),/^\\\s*$/.test(e.current())?(t.tokenize=o)(e,t):t.tokenize=n,"comment"):(t.tokenize=n,"builtin")}if(/\s/.test(s))return"/"==e.peek()?(e.skipToEnd(),"comment"):"whitespace";if('"'==s)return(t.tokenize=a)(e,t);if("`"==s)return e.eatWhile(/[A-Z|a-z|\d|_|:|\/|\.]/),"symbol";if("."==s&&/\d/.test(e.peek())||/\d/.test(s)){var l=null;return e.backUp(1),e.match(/^\d{4}\.\d{2}(m|\.\d{2}([D|T](\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)?)?)/)||e.match(/^\d+D(\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)/)||e.match(/^\d{2}:\d{2}(:\d{2}(\.\d{1,9})?)?/)||e.match(/^\d+[ptuv]{1}/)?l="temporal":(e.match(/^0[NwW]{1}/)||e.match(/^0x[\d|a-f|A-F]*/)||e.match(/^[0|1]+[b]{1}/)||e.match(/^\d+[chijn]{1}/)||e.match(/-?\d*(\.\d*)?(e[+\-]?\d+)?(e|f)?/))&&(l="number"),!l||(s=e.peek())&&!f.test(s)?(e.next(),"error"):l}return/[A-Z|a-z]|\./.test(s)?(e.eatWhile(/[A-Z|a-z|\.|_|\d]/),d.test(e.current())?"keyword":"variable"):/[|\/&^!+:\\\-*%$=~#;@><\.,?_\']/.test(s)?null:/[{}\(\[\]\)]/.test(s)?null:"error"}function r(e,t){return e.skipToEnd(),/\/\s*$/.test(e.current())?(t.tokenize=i)(e,t):t.tokenize=n,"comment"}function i(e,t){var r=e.sol()&&"\\"==e.peek();return e.skipToEnd(),r&&/^\\\s*$/.test(e.current())&&(t.tokenize=n),"comment"}function o(e){return e.skipToEnd(),"comment"}function a(e,t){for(var r,i=!1,o=!1;r=e.next();){if('"'==r&&!i){o=!0;break}i=!i&&"\\"==r}return o&&(t.tokenize=n),"string"}function s(e,t,n){e.context={prev:e.context,indent:e.indent,col:n,type:t}}function l(e){e.indent=e.context.indent,e.context=e.context.prev}var u,c=e.indentUnit,d=t(["abs","acos","aj","aj0","all","and","any","asc","asin","asof","atan","attr","avg","avgs","bin","by","ceiling","cols","cor","cos","count","cov","cross","csv","cut","delete","deltas","desc","dev","differ","distinct","div","do","each","ej","enlist","eval","except","exec","exit","exp","fby","fills","first","fkeys","flip","floor","from","get","getenv","group","gtime","hclose","hcount","hdel","hopen","hsym","iasc","idesc","if","ij","in","insert","inter","inv","key","keys","last","like","list","lj","load","log","lower","lsq","ltime","ltrim","mavg","max","maxs","mcount","md5","mdev","med","meta","min","mins","mmax","mmin","mmu","mod","msum","neg","next","not","null","or","over","parse","peach","pj","plist","prd","prds","prev","prior","rand","rank","ratios","raze","read0","read1","reciprocal","reverse","rload","rotate","rsave","rtrim","save","scan","select","set","setenv","show","signum","sin","sqrt","ss","ssr","string","sublist","sum","sums","sv","system","tables","tan","til","trim","txf","type","uj","ungroup","union","update","upper","upsert","value","var","view","views","vs","wavg","where","where","while","within","wj","wj1","wsum","xasc","xbar","xcol","xcols","xdesc","xexp","xgroup","xkey","xlog","xprev","xrank"]),f=/[|\/&^!+:\\\-*%$=~#;@><,?_\'\"\[\(\]\)\s{}]/;return{startState:function(){return{tokenize:n,context:null,indent:0,col:0}},token:function(e,t){e.sol()&&(t.context&&null==t.context.align&&(t.context.align=!1),t.indent=e.indentation());var n=t.tokenize(e,t);if("comment"!=n&&t.context&&null==t.context.align&&"pattern"!=t.context.type&&(t.context.align=!0),"("==u)s(t,")",e.column());else if("["==u)s(t,"]",e.column());else if("{"==u)s(t,"}",e.column());else if(/[\]\}\)]/.test(u)){for(;t.context&&"pattern"==t.context.type;)l(t);t.context&&u==t.context.type&&l(t)}else"."==u&&t.context&&"pattern"==t.context.type?l(t):/atom|string|variable/.test(n)&&t.context&&(/[\}\]]/.test(t.context.type)?s(t,"pattern",e.column()):"pattern"!=t.context.type||t.context.align||(t.context.align=!0,t.context.col=e.column()));return n},indent:function(e,t){var n=t&&t.charAt(0),r=e.context;if(/[\]\}]/.test(n))for(;r&&"pattern"==r.type;)r=r.prev;var i=r&&n==r.type;return r?"pattern"==r.type?r.col:r.align?r.col+(i?0:1):r.indent+(i?0:c):0}}}),e.defineMIME("text/x-q","q")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.registerHelper("wordChars","r",/[\w.]/),e.defineMode("r",function(e){function t(e){for(var t=e.split(" "),n={},r=0;r>?/)?"operator arrow":"="==n&&t.ctx.argList?"arg-is":d.test(n)?"$"==n?"operator dollar":(e.eatWhile(d),"operator"):/[\(\){}\[\];]/.test(n)?(a=n,";"==n?"semi":null):null}function r(e){return function(t,r){if(t.eat("\\")){var i=t.next();return"x"==i?t.match(/^[a-f0-9]{2}/i):("u"==i||"U"==i)&&t.eat("{")&&t.skipTo("}")?t.next():"u"==i?t.match(/^[a-f0-9]{4}/i):"U"==i?t.match(/^[a-f0-9]{8}/i):/[0-7]/.test(i)&&t.match(/^[0-7]{1,2}/),"string-2"}for(var o;null!=(o=t.next());){if(o==e){r.tokenize=n;break}if("\\"==o){t.backUp(1);break}}return"string"}}function i(e,t,n){e.ctx={type:t,indent:e.indent,align:null,column:n.column(),prev:e.ctx}}function o(e){e.indent=e.ctx.indent,e.ctx=e.ctx.prev}var a,s=t("NULL NA Inf NaN NA_integer_ NA_real_ NA_complex_ NA_character_"),l=t("list quote bquote eval return call parse deparse"),u=t("if else repeat while function for in next break"),c=t("if else repeat while function for"),d=/[+\-*\/^<>=!&|~$:]/;return{startState:function(){return{tokenize:n,ctx:{type:"top",indent:-e.indentUnit,align:!1},indent:0,afterIdent:!1}},token:function(e,t){if(e.sol()&&(null==t.ctx.align&&(t.ctx.align=!1),t.indent=e.indentation()),e.eatSpace())return null;var n=t.tokenize(e,t);"comment"!=n&&null==t.ctx.align&&(t.ctx.align=!0);var r=t.ctx.type;return";"!=a&&"{"!=a&&"}"!=a||"block"!=r||o(t),"{"==a?i(t,"}",e):"("==a?(i(t,")",e),t.afterIdent&&(t.ctx.argList=!0)):"["==a?i(t,"]",e):"block"==a?i(t,"block",e):a==r&&o(t),t.afterIdent="variable"==n||"keyword"==n,n},indent:function(t,r){if(t.tokenize!=n)return 0;var i=r&&r.charAt(0),o=t.ctx,a=i==o.type;return"block"==o.type?o.indent+("{"==i?0:e.indentUnit):o.align?o.column+(a?0:1):o.indent+(a?0:e.indentUnit)},lineComment:"#"}}),e.defineMIME("text/x-rsrc","r")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("rpm-changes",function(){var e=/^-+$/,t=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /,n=/^[\w+.-]+@[\w.-]+/;return{token:function(r){if(r.sol()){if(r.match(e))return"tag";if(r.match(t))return"tag"}return r.match(n)?"string":(r.next(),null)}}}),e.defineMIME("text/x-rpm-changes","rpm-changes"),e.defineMode("rpm-spec",function(){var e=/^(i386|i586|i686|x86_64|ppc64le|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/,t=/^[a-zA-Z0-9()]+:/,n=/^%(debug_package|package|description|prep|build|install|files|clean|changelog|preinstall|preun|postinstall|postun|pretrans|posttrans|pre|post|triggerin|triggerun|verifyscript|check|triggerpostun|triggerprein|trigger)/,r=/^%(ifnarch|ifarch|if)/,i=/^%(else|endif)/,o=/^(\!|\?|\<\=|\<|\>\=|\>|\=\=|\&\&|\|\|)/;return{startState:function(){return{controlFlow:!1,macroParameters:!1,section:!1}},token:function(a,s){var l=a.peek();if("#"==l)return a.skipToEnd(),"comment";if(a.sol()){if(a.match(t))return"header";if(a.match(n))return"atom"}if(a.match(/^\$\w+/))return"def";if(a.match(/^\$\{\w+\}/))return"def";if(a.match(i))return"keyword";if(a.match(r))return s.controlFlow=!0,"keyword";if(s.controlFlow){if(a.match(o))return"operator";if(a.match(/^(\d+)/))return"number";a.eol()&&(s.controlFlow=!1)}if(a.match(e))return a.eol()&&(s.controlFlow=!1),"number";if(a.match(/^%[\w]+/))return a.match(/^\(/)&&(s.macroParameters=!0),"keyword";if(s.macroParameters){if(a.match(/^\d+/))return"number";if(a.match(/^\)/))return s.macroParameters=!1,"keyword"}return a.match(/^%\{\??[\w \-\:\!]+\}/)?(a.eol()&&(s.controlFlow=!1),"def"):(a.next(),null)}}}),e.defineMIME("text/x-rpm-spec","rpm-spec")})},function(e,t,n){!function(e){e(n(1),n(131),n(134),n(40))}(function(e){"use strict";e.defineMode("rst",function(t,n){var r=/^\*\*[^\*\s](?:[^\*]*[^\*\s])?\*\*/,i=/^\*[^\*\s](?:[^\*]*[^\*\s])?\*/,o=/^``[^`\s](?:[^`]*[^`\s])``/,a=/^(?:[\d]+(?:[\.,]\d+)*)/,s=/^(?:\s\+[\d]+(?:[\.,]\d+)*)/,l=/^(?:\s\-[\d]+(?:[\.,]\d+)*)/,u="[Hh][Tt][Tt][Pp][Ss]?://",c="(?:[\\d\\w.-]+)\\.(?:\\w{2,6})",d="(?:/[\\d\\w\\#\\%\\&\\-\\.\\,\\/\\:\\=\\?\\~]+)*",f=new RegExp("^"+u+c+d),p={token:function(e){if(e.match(r)&&e.match(/\W+|$/,!1))return"strong";if(e.match(i)&&e.match(/\W+|$/,!1))return"em";if(e.match(o)&&e.match(/\W+|$/,!1))return"string-2";if(e.match(a))return"number";if(e.match(s))return"positive";if(e.match(l))return"negative";if(e.match(f))return"link";for(;!(null==e.next()||e.match(r,!1)||e.match(i,!1)||e.match(o,!1)||e.match(a,!1)||e.match(s,!1)||e.match(l,!1)||e.match(f,!1)););return null}},h=e.getMode(t,n.backdrop||"rst-base");return e.overlayMode(h,p,!0)},"python","stex"),e.defineMode("rst-base",function(t){function n(e){var t=Array.prototype.slice.call(arguments,1);return e.replace(/{(\d+)}/g,function(e,n){return"undefined"!=typeof t[n]?t[n]:e})}function r(t,n){var o=null;if(t.sol()&&t.match(J,!1))c(n,l,{mode:p,local:e.startState(p)});else if(t.sol()&&t.match(A))c(n,i),o="meta";else if(t.sol()&&t.match(E))c(n,r),o="header";else if(f(n)==B||t.match(B,!1))switch(d(n)){case 0:c(n,r,u(B,1)),t.match(/^:/),o="meta";break;case 1:c(n,r,u(B,2)),t.match(v),o="keyword",t.current().match(/^(?:math|latex)/)&&(n.tmp_stex=!0);break;case 2:c(n,r,u(B,3)),t.match(/^:`/),o="meta";break;case 3:if(n.tmp_stex&&(n.tmp_stex=void 0,n.tmp={mode:h,local:e.startState(h)}),n.tmp){if("`"==t.peek()){c(n,r,u(B,4)),n.tmp=void 0;break}o=n.tmp.mode.token(t,n.tmp.local);break}c(n,r,u(B,4)),t.match(w),o="string";break;case 4:c(n,r,u(B,5)),t.match(/^`/),o="meta";break;case 5:c(n,r,u(B,6)),t.match($);break;default:c(n,r)}else if(f(n)==P||t.match(P,!1))switch(d(n)){case 0:c(n,r,u(P,1)),t.match(/^`/),o="meta";break;case 1:c(n,r,u(P,2)),t.match(w),o="string";break;case 2:c(n,r,u(P,3)),t.match(/^`:/),o="meta";break;case 3:c(n,r,u(P,4)),t.match(v),o="keyword";break;case 4:c(n,r,u(P,5)),t.match(/^:/),o="meta";break;case 5:c(n,r,u(P,6)),t.match($);break;default:c(n,r)}else if(f(n)==j||t.match(j,!1))switch(d(n)){case 0:c(n,r,u(j,1)),t.match(/^:/),o="meta";break;case 1:c(n,r,u(j,2)),t.match(v),o="keyword";break;case 2:c(n,r,u(j,3)),t.match(/^:/),o="meta";break;case 3:c(n,r,u(j,4)),t.match($);break;default:c(n,r)}else if(f(n)==L||t.match(L,!1))switch(d(n)){case 0:c(n,r,u(L,1)),t.match(q),o="variable-2";break;case 1:c(n,r,u(L,2)),t.match(/^_?_?/)&&(o="link");break;default:c(n,r)}else if(t.match(F))c(n,r),o="quote";else if(t.match(O))c(n,r),o="quote";else if(t.match(R))c(n,r),t.peek()&&!t.peek().match(/^\W$/)||(o="link");else if(f(n)==I||t.match(I,!1))switch(d(n)){case 0:!t.peek()||t.peek().match(/^\W$/)?c(n,r,u(I,1)):t.match(I);break;case 1:c(n,r,u(I,2)),t.match(/^`/),o="link";break;case 2:c(n,r,u(I,3)),t.match(w);break;case 3:c(n,r,u(I,4)),t.match(/^`_/),o="link";break;default:c(n,r)}else t.match(K)?c(n,a):t.next()&&c(n,r);return o}function i(t,n){var a=null;if(f(n)==T||t.match(T,!1))switch(d(n)){case 0:c(n,i,u(T,1)),t.match(q),a="variable-2";break;case 1:c(n,i,u(T,2)),t.match(Y);break;case 2:c(n,i,u(T,3)),t.match(H),a="keyword";break;case 3:c(n,i,u(T,4)),t.match(U),a="meta";break;default:c(n,r)}else if(f(n)==S||t.match(S,!1))switch(d(n)){case 0:c(n,i,u(S,1)),t.match(N),a="keyword",t.current().match(/^(?:math|latex)/)?n.tmp_stex=!0:t.current().match(/^python/)&&(n.tmp_py=!0);break;case 1:c(n,i,u(S,2)),t.match(z),a="meta",(t.match(/^latex\s*$/)||n.tmp_stex)&&(n.tmp_stex=void 0,c(n,l,{mode:h,local:e.startState(h)}));break;case 2:c(n,i,u(S,3)),(t.match(/^python\s*$/)||n.tmp_py)&&(n.tmp_py=void 0,c(n,l,{mode:p,local:e.startState(p)}));break;default:c(n,r)}else if(f(n)==C||t.match(C,!1))switch(d(n)){case 0:c(n,i,u(C,1)),t.match(W),t.match(G),a="link";break;case 1:c(n,i,u(C,2)),t.match(V),a="meta";break;default:c(n,r)}else t.match(M)?(c(n,r),a="quote"):t.match(D)?(c(n,r),a="quote"):(t.eatSpace(),t.eol()?c(n,r):(t.skipToEnd(),c(n,o),a="comment"));return a}function o(e,t){return s(e,t,"comment")}function a(e,t){return s(e,t,"meta")}function s(e,t,n){return e.eol()||e.eatSpace()?(e.skipToEnd(),n):(c(t,r),null)}function l(e,t){return t.ctx.mode&&t.ctx.local?e.sol()?(e.eatSpace()||c(t,r),null):t.ctx.mode.token(e,t.ctx.local):(c(t,r),null)}function u(e,t,n,r){return{phase:e,stage:t,mode:n,local:r}}function c(e,t,n){e.tok=t,e.ctx=n||{}}function d(e){return e.ctx.stage||0}function f(e){return e.ctx.phase}var p=e.getMode(t,"python"),h=e.getMode(t,"stex"),m="\\s+",g="(?:\\s*|\\W|$)",$=new RegExp(n("^{0}",g)),_="(?:[^\\W\\d_](?:[\\w!\"#$%&'()\\*\\+,\\-\\./:;<=>\\?]*[^\\W_])?)",v=new RegExp(n("^{0}",_)),b="(?:[^\\W\\d_](?:[\\w\\s!\"#$%&'()\\*\\+,\\-\\./:;<=>\\?]*[^\\W_])?)",y=n("(?:{0}|`{1}`)",_,b),x="(?:[^\\s\\|](?:[^\\|]*[^\\s\\|])?)",k="(?:[^\\`]+)",w=new RegExp(n("^{0}",k)),E=new RegExp("^([!'#$%&\"()*+,-./:;<=>?@\\[\\\\\\]^_`{|}~])\\1{3,}\\s*$"),A=new RegExp(n("^\\.\\.{0}",m)),C=new RegExp(n("^_{0}:{1}|^__:{1}",y,g)),S=new RegExp(n("^{0}::{1}",y,g)),T=new RegExp(n("^\\|{0}\\|{1}{2}::{3}",x,m,y,g)),M=new RegExp(n("^\\[(?:\\d+|#{0}?|\\*)]{1}",y,g)),D=new RegExp(n("^\\[{0}\\]{1}",y,g)),L=new RegExp(n("^\\|{0}\\|",x)),F=new RegExp(n("^\\[(?:\\d+|#{0}?|\\*)]_",y)),O=new RegExp(n("^\\[{0}\\]_",y)),R=new RegExp(n("^{0}__?",y)),I=new RegExp(n("^`{0}`_",k)),B=new RegExp(n("^:{0}:`{1}`{2}",_,k,g)),P=new RegExp(n("^`{1}`:{0}:{2}",_,k,g)),j=new RegExp(n("^:{0}:{1}",_,g)),N=new RegExp(n("^{0}",y)),z=new RegExp(n("^::{0}",g)),q=new RegExp(n("^\\|{0}\\|",x)),Y=new RegExp(n("^{0}",m)),H=new RegExp(n("^{0}",y)),U=new RegExp(n("^::{0}",g)),W=new RegExp("^_"),G=new RegExp(n("^{0}|_",y)),V=new RegExp(n("^:{0}",g)),K=new RegExp("^::\\s*$"),J=new RegExp("^\\s+(?:>>>|In \\[\\d+\\]:)\\s"); +return{startState:function(){return{tok:r,ctx:u(void 0,0)}},copyState:function(t){var n=t.ctx,r=t.tmp;return n.local&&(n={mode:n.mode,local:e.copyState(n.mode,n.local)}),r&&(r={mode:r.mode,local:e.copyState(r.mode,r.local)}),{tok:t.tok,ctx:n,tmp:r}},innerMode:function(e){return e.tmp?{state:e.tmp.local,mode:e.tmp.mode}:e.ctx.mode?{state:e.ctx.local,mode:e.ctx.mode}:null},token:function(e,t){return t.tok(e,t)}}},"python","stex"),e.defineMIME("text/x-rst","rst")})},function(e,t,n){!function(e){e(n(1),n(41))}(function(e){"use strict";e.defineSimpleMode("rust",{start:[{regex:/b?"/,token:"string",next:"string"},{regex:/b?r"/,token:"string",next:"string_raw"},{regex:/b?r#+"/,token:"string",next:"string_raw_hash"},{regex:/'(?:[^'\\]|\\(?:[nrt0'"]|x[\da-fA-F]{2}|u\{[\da-fA-F]{6}\}))'/,token:"string-2"},{regex:/b'(?:[^']|\\(?:['\\nrt0]|x[\da-fA-F]{2}))'/,token:"string-2"},{regex:/(?:(?:[0-9][0-9_]*)(?:(?:[Ee][+-]?[0-9_]+)|\.[0-9_]+(?:[Ee][+-]?[0-9_]+)?)(?:f32|f64)?)|(?:0(?:b[01_]+|(?:o[0-7_]+)|(?:x[0-9a-fA-F_]+))|(?:[0-9][0-9_]*))(?:u8|u16|u32|u64|i8|i16|i32|i64|isize|usize)?/,token:"number"},{regex:/(let(?:\s+mut)?|fn|enum|mod|struct|type)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/,token:["keyword",null,"def"]},{regex:/(?:abstract|alignof|as|box|break|continue|const|crate|do|else|enum|extern|fn|for|final|if|impl|in|loop|macro|match|mod|move|offsetof|override|priv|proc|pub|pure|ref|return|self|sizeof|static|struct|super|trait|type|typeof|unsafe|unsized|use|virtual|where|while|yield)\b/,token:"keyword"},{regex:/\b(?:Self|isize|usize|char|bool|u8|u16|u32|u64|f16|f32|f64|i8|i16|i32|i64|str|Option)\b/,token:"atom"},{regex:/\b(?:true|false|Some|None|Ok|Err)\b/,token:"builtin"},{regex:/\b(fn)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/,token:["keyword",null,"def"]},{regex:/#!?\[.*\]/,token:"meta"},{regex:/\/\/.*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/[a-zA-Z_]\w*!/,token:"variable-3"},{regex:/[a-zA-Z_]\w*/,token:"variable"},{regex:/[\{\[\(]/,indent:!0},{regex:/[\}\]\)]/,dedent:!0}],string:[{regex:/"/,token:"string",next:"start"},{regex:/(?:[^\\"]|\\(?:.|$))*/,token:"string"}],string_raw:[{regex:/"/,token:"string",next:"start"},{regex:/[^"]*/,token:"string"}],string_raw_hash:[{regex:/"#+/,token:"string",next:"start"},{regex:/(?:[^"]|"(?!#))*/,token:"string"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{dontIndentStates:["comment"],electricInput:/^\s*\}$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}}),e.defineMIME("text/x-rustsrc","rust")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("sas",function(){function e(e,t,r){if(r)for(var i=t.split(" "),o=0;o=|!=|<>)/,o=/[=\(:\),{}.*<>+\-\/^\[\]]/;return e("def","stack pgm view source debug nesting nolist",["inDataStep"]),e("def","if while until for do do; end end; then else cancel",["inDataStep"]),e("def","label format _n_ _error_",["inDataStep"]),e("def","ALTER BUFNO BUFSIZE CNTLLEV COMPRESS DLDMGACTION ENCRYPT ENCRYPTKEY EXTENDOBSCOUNTER GENMAX GENNUM INDEX LABEL OBSBUF OUTREP PW PWREQ READ REPEMPTY REPLACE REUSE ROLE SORTEDBY SPILL TOBSNO TYPE WRITE FILECLOSE FIRSTOBS IN OBS POINTOBS WHERE WHEREUP IDXNAME IDXWHERE DROP KEEP RENAME",["inDataStep"]),e("def","filevar finfo finv fipname fipnamel fipstate first firstobs floor",["inDataStep"]),e("def","varfmt varinfmt varlabel varlen varname varnum varray varrayx vartype verify vformat vformatd vformatdx vformatn vformatnx vformatw vformatwx vformatx vinarray vinarrayx vinformat vinformatd vinformatdx vinformatn vinformatnx vinformatw vinformatwx vinformatx vlabel vlabelx vlength vlengthx vname vnamex vnferr vtype vtypex weekday",["inDataStep"]),e("def","zipfips zipname zipnamel zipstate",["inDataStep"]),e("def","put putc putn",["inDataStep"]),e("builtin","data run",["inDataStep"]),e("def","data",["inProc"]),e("def","%if %end %end; %else %else; %do %do; %then",["inMacro"]),e("builtin","proc run; quit; libname filename %macro %mend option options",["ALL"]),e("def","footnote title libname ods",["ALL"]),e("def","%let %put %global %sysfunc %eval ",["ALL"]),e("variable","&sysbuffr &syscc &syscharwidth &syscmd &sysdate &sysdate9 &sysday &sysdevic &sysdmg &sysdsn &sysencoding &sysenv &syserr &syserrortext &sysfilrc &syshostname &sysindex &sysinfo &sysjobid &syslast &syslckrc &syslibrc &syslogapplname &sysmacroname &sysmenv &sysmsg &sysncpu &sysodspath &sysparm &syspbuff &sysprocessid &sysprocessname &sysprocname &sysrc &sysscp &sysscpl &sysscpl &syssite &sysstartid &sysstartname &systcpiphostname &systime &sysuserid &sysver &sysvlong &sysvlong4 &syswarningtext",["ALL"]),e("def","source2 nosource2 page pageno pagesize",["ALL"]),e("def","_all_ _character_ _cmd_ _freq_ _i_ _infile_ _last_ _msg_ _null_ _numeric_ _temporary_ _type_ abort abs addr adjrsq airy alpha alter altlog altprint and arcos array arsin as atan attrc attrib attrn authserver autoexec awscontrol awsdef awsmenu awsmenumerge awstitle backward band base betainv between blocksize blshift bnot bor brshift bufno bufsize bxor by byerr byline byte calculated call cards cards4 catcache cbufno cdf ceil center cexist change chisq cinv class cleanup close cnonct cntllev coalesce codegen col collate collin column comamid comaux1 comaux2 comdef compbl compound compress config continue convert cos cosh cpuid create cross crosstab css curobs cv daccdb daccdbsl daccsl daccsyd dacctab dairy datalines datalines4 datejul datepart datetime day dbcslang dbcstype dclose ddm delete delimiter depdb depdbsl depsl depsyd deptab dequote descending descript design= device dflang dhms dif digamma dim dinfo display distinct dkricond dkrocond dlm dnum do dopen doptname doptnum dread drop dropnote dsname dsnferr echo else emaildlg emailid emailpw emailserver emailsys encrypt end endsas engine eof eov erf erfc error errorcheck errors exist exp fappend fclose fcol fdelete feedback fetch fetchobs fexist fget file fileclose fileexist filefmt filename fileref fmterr fmtsearch fnonct fnote font fontalias fopen foptname foptnum force formatted formchar formdelim formdlim forward fpoint fpos fput fread frewind frlen from fsep fuzz fwrite gaminv gamma getoption getvarc getvarn go goto group gwindow hbar hbound helpenv helploc hms honorappearance hosthelp hostprint hour hpct html hvar ibessel ibr id if index indexc indexw initcmd initstmt inner input inputc inputn inr insert int intck intnx into intrr invaliddata irr is jbessel join juldate keep kentb kurtosis label lag last lbound leave left length levels lgamma lib library libref line linesize link list log log10 log2 logpdf logpmf logsdf lostcard lowcase lrecl ls macro macrogen maps mautosource max maxdec maxr mdy mean measures median memtype merge merror min minute missing missover mlogic mod mode model modify month mopen mort mprint mrecall msglevel msymtabmax mvarsize myy n nest netpv new news nmiss no nobatch nobs nocaps nocardimage nocenter nocharcode nocmdmac nocol nocum nodate nodbcs nodetails nodmr nodms nodmsbatch nodup nodupkey noduplicates noechoauto noequals noerrorabend noexitwindows nofullstimer noicon noimplmac noint nolist noloadlist nomiss nomlogic nomprint nomrecall nomsgcase nomstored nomultenvappl nonotes nonumber noobs noovp nopad nopercent noprint noprintinit normal norow norsasuser nosetinit nosplash nosymbolgen note notes notitle notitles notsorted noverbose noxsync noxwait npv null number numkeys nummousekeys nway obs on open order ordinal otherwise out outer outp= output over ovp p(1 5 10 25 50 75 90 95 99) pad pad2 paired parm parmcards path pathdll pathname pdf peek peekc pfkey pmf point poisson poke position printer probbeta probbnml probchi probf probgam probhypr probit probnegb probnorm probsig probt procleave prt ps pw pwreq qtr quote r ranbin rancau ranexp rangam range ranks rannor ranpoi rantbl rantri ranuni read recfm register regr remote remove rename repeat replace resolve retain return reuse reverse rewind right round rsquare rtf rtrace rtraceloc s s2 samploc sasautos sascontrol sasfrscr sasmsg sasmstore sasscript sasuser saving scan sdf second select selection separated seq serror set setcomm setot sign simple sin sinh siteinfo skewness skip sle sls sortedby sortpgm sortseq sortsize soundex spedis splashlocation split spool sqrt start std stderr stdin stfips stimer stname stnamel stop stopover subgroup subpopn substr sum sumwgt symbol symbolgen symget symput sysget sysin sysleave sysmsg sysparm sysprint sysprintfont sysprod sysrc system t table tables tan tanh tapeclose tbufsize terminal test then timepart tinv tnonct to today tol tooldef totper transformout translate trantab tranwrd trigamma trim trimn trunc truncover type unformatted uniform union until upcase update user usericon uss validate value var weight when where while wincharset window work workinit workterm write wsum xsync xwait yearcutoff yes yyq min max",["inDataStep","inProc"]),e("operator","and not ",["inDataStep","inProc"]),{startState:function(){return{inDataStep:!1,inProc:!1,inMacro:!1,nextword:!1,continueString:null,continueComment:!1}},token:function(e,n){return e.eatSpace()?null:t(e,n)},blockCommentStart:"/*",blockCommentEnd:"*/"}}),e.defineMIME("text/x-sas","sas")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("scheme",function(){function e(e){for(var t={},n=e.split(" "),r=0;rinteger char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt #f floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? #t tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"),g=e("define let letrec let* lambda"),$=new RegExp(/^(?:[-+]i|[-+][01]+#*(?:\/[01]+#*)?i|[-+]?[01]+#*(?:\/[01]+#*)?@[-+]?[01]+#*(?:\/[01]+#*)?|[-+]?[01]+#*(?:\/[01]+#*)?[-+](?:[01]+#*(?:\/[01]+#*)?)?i|[-+]?[01]+#*(?:\/[01]+#*)?)(?=[()\s;"]|$)/i),_=new RegExp(/^(?:[-+]i|[-+][0-7]+#*(?:\/[0-7]+#*)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?@[-+]?[0-7]+#*(?:\/[0-7]+#*)?|[-+]?[0-7]+#*(?:\/[0-7]+#*)?[-+](?:[0-7]+#*(?:\/[0-7]+#*)?)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?)(?=[()\s;"]|$)/i),v=new RegExp(/^(?:[-+]i|[-+][\da-f]+#*(?:\/[\da-f]+#*)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?@[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?[-+](?:[\da-f]+#*(?:\/[\da-f]+#*)?)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?)(?=[()\s;"]|$)/i),b=new RegExp(/^(?:[-+]i|[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)i|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)@[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)?i|(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*))(?=[()\s;"]|$)/i);return{startState:function(){return{indentStack:null,indentation:0,mode:!1,sExprComment:!1}},token:function(e,t){if(null==t.indentStack&&e.sol()&&(t.indentation=e.indentation()),e.eatSpace())return null;var $=null;switch(t.mode){case"string":for(var _,v=!1;null!=(_=e.next());){if('"'==_&&!v){t.mode=!1;break}v=!v&&"\\"==_}$=c;break;case"comment":for(var _,b=!1;null!=(_=e.next());){if("#"==_&&b){t.mode=!1;break}b="|"==_}$=u;break;case"s-expr-comment":if(t.mode=!1,"("!=e.peek()&&"["!=e.peek()){e.eatWhile(/[^\/s]/),$=u;break}t.sExprComment=0;default:var y=e.next();if('"'==y)t.mode="string",$=c;else if("'"==y)$=d;else if("#"==y)if(e.eat("|"))t.mode="comment",$=u;else if(e.eat(/[tf]/i))$=d;else if(e.eat(";"))t.mode="s-expr-comment",$=u;else{var x=null,k=!1,w=!0;e.eat(/[ei]/i)?k=!0:e.backUp(1),e.match(/^#b/i)?x=i:e.match(/^#o/i)?x=o:e.match(/^#x/i)?x=s:e.match(/^#d/i)?x=a:e.match(/^[-+0-9.]/,!1)?(w=!1,x=a):k||e.eat("#"),null!=x&&(w&&!k&&e.match(/^#[ei]/i),x(e)&&($=f))}else if(/^[-+0-9.]/.test(y)&&a(e,!0))$=f;else if(";"==y)e.skipToEnd(),$=u;else if("("==y||"["==y){for(var E,A="",C=e.column();null!=(E=e.eat(/[^\s\(\[\;\)\]]/));)A+=E;A.length>0&&g.propertyIsEnumerable(A)?n(t,C+h,y):(e.eatSpace(),e.eol()||";"==e.peek()?n(t,C+1,y):n(t,C+e.current().length,y)),e.backUp(e.current().length-1),"number"==typeof t.sExprComment&&t.sExprComment++,$=p}else")"==y||"]"==y?($=p,null!=t.indentStack&&t.indentStack.type==(")"==y?"(":"[")&&(r(t),"number"==typeof t.sExprComment&&0==--t.sExprComment&&($=u,t.sExprComment=!1))):(e.eatWhile(/[\w\$_\-!$%&*+\.\/:<=>?@\^~]/),$=m&&m.propertyIsEnumerable(e.current())?l:"variable")}return"number"==typeof t.sExprComment?u:$},indent:function(e){return null==e.indentStack?e.indentation:e.indentStack.indent},closeBrackets:{pairs:'()[]{}""'},lineComment:";;"}}),e.defineMIME("text/x-scheme","scheme")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("shell",function(){function e(e,t){for(var n=t.split(" "),r=0;r1&&e.eat("$");var i=e.next(),o=/\w/;return"{"===i&&(o=/[^}]/),/['"(]/.test(i)?(t.tokens[0]=n(i,"("==i?"quote":"string"),r(e,t)):(/\d/.test(i)||(e.eatWhile(o),e.eat("}")),t.tokens.shift(),"def")};return{startState:function(){return{tokens:[]}},token:function(e,t){return r(e,t)},closeBrackets:"()[]{}''\"\"``",lineComment:"#",fold:"brace"}}),e.defineMIME("text/x-sh","shell")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("sieve",function(e){function t(e){for(var t={},n=e.split(" "),r=0;r-1&&(t.tokenize=n(e.pos,t.tokenize,o),e.backUp(a.length-s-i)),o}function i(e,t){e.stack={parent:e.stack,style:"continuation",indented:t,tokenize:e.line},e.line=e.tokenize}function o(e){e.line==e.tokenize&&(e.line=e.stack.tokenize,e.stack=e.stack.parent)}function a(e,t){return function(n,r){if(o(r),n.match(/^\\$/))return i(r,e),"lineContinuation";var a=t(n,r);return n.eol()&&n.current().match(/(?:^|[^\\])(?:\\\\)*\\$/)&&n.backUp(1),a}}function s(e,t){return function(n,r){o(r);var a=t(n,r);return n.eol()&&n.current().match(/,$/)&&i(r,e),a}}function l(e,t){return function(n,r){var i=n.peek();return i==e&&1==r.rubyState.tokenize.length?(n.next(),r.tokenize=t,"closeAttributeTag"):c(n,r)}}function u(t){var n,r=function(e,r){if(1==r.rubyState.tokenize.length&&!r.rubyState.context.prev){if(e.backUp(1),e.eatSpace())return r.rubyState=n,r.tokenize=t,t(e,r);e.next()}return c(e,r)};return function(t,i){return n=i.rubyState,i.rubyState=e.startState(j),i.tokenize=r,c(t,i)}}function c(e,t){return j.token(e,t.rubyState)}function d(e,t){return e.match(/^\\$/)?"lineContinuation":f(e,t)}function f(e,t){return e.match(/^#\{/)?(t.tokenize=l("}",t.tokenize),null):r(e,t,/[^\\]#\{/,1,P.token(e,t.htmlState))}function p(e){return function(t,n){var r=d(t,n);return t.eol()&&(n.tokenize=e),r}}function h(e,t,n){return t.stack={parent:t.stack,style:"html",indented:e.column()+n,tokenize:t.line},t.line=t.tokenize=f,null}function m(e,t){return e.skipToEnd(),t.stack.style}function g(e,t){return t.stack={parent:t.stack,style:"comment",indented:t.indented+1,tokenize:t.line},t.line=m,m(e,t)}function $(e,t){return e.eat(t.stack.endQuote)?(t.line=t.stack.line,t.tokenize=t.stack.tokenize,t.stack=t.stack.parent,null):e.match(K)?(t.tokenize=_,"slimAttribute"):(e.next(),null)}function _(e,t){return e.match(/^==?/)?(t.tokenize=v,null):$(e,t)}function v(e,t){var n=e.peek();return'"'==n||"'"==n?(t.tokenize=I(n,"string",!0,!1,$),e.next(),t.tokenize(e,t)):"["==n?u($)(e,t):e.match(/^(true|false|nil)\b/)?(t.tokenize=$,"keyword"):u($)(e,t)}function b(e,t,n){return e.stack={parent:e.stack,style:"wrapper",indented:e.indented+1,tokenize:n,line:e.line,endQuote:t},e.line=e.tokenize=$,null}function y(t,n){if(t.match(/^#\{/))return n.tokenize=l("}",n.tokenize),null;var r=new e.StringStream(t.string.slice(n.stack.indented),t.tabSize);r.pos=t.pos-n.stack.indented,r.start=t.start-n.stack.indented,r.lastColumnPos=t.lastColumnPos-n.stack.indented,r.lastColumnValue=t.lastColumnValue-n.stack.indented;var i=n.subMode.token(r,n.subState);return t.pos=r.pos+n.stack.indented,i}function x(e,t){return t.stack.indented=e.column(),t.line=t.tokenize=y,t.tokenize(e,t)}function k(n){var r=z[n],i=e.mimeModes[r];if(i)return e.getMode(t,i);var o=e.modes[r];return o?o(t,{name:r}):e.getMode(t,"null")}function w(e){return N.hasOwnProperty(e)?N[e]:N[e]=k(e)}function E(t,n){var r=w(t),i=e.startState(r);return n.subMode=r,n.subState=i,n.stack={parent:n.stack,style:"sub",indented:n.indented+1,tokenize:n.line},n.line=n.tokenize=x,"slimSubmode"}function A(e,t){return e.skipToEnd(),"slimDoctype"}function C(e,t){var n=e.peek();if("<"==n)return(t.tokenize=p(t.tokenize))(e,t);if(e.match(/^[|']/))return h(e,t,1);if(e.match(/^\/(!|\[\w+])?/))return g(e,t);if(e.match(/^(-|==?[<>]?)/))return t.tokenize=a(e.column(),s(e.column(),c)),"slimSwitch";if(e.match(/^doctype\b/))return t.tokenize=A,"keyword";var r=e.match(q);return r?E(r[1],t):T(e,t)}function S(e,t){return t.startOfLine?C(e,t):T(e,t)}function T(e,t){return e.eat("*")?(t.tokenize=u(M),null):e.match(G)?(t.tokenize=M,"slimTag"):D(e,t)}function M(e,t){return e.match(/^(<>?|>t.indented&&"slimSubmode"!=t.last;)t.line=t.tokenize=t.stack.tokenize,t.stack=t.stack.parent,t.subMode=null,t.subState=null;if(e.eatSpace())return null;var n=t.tokenize(e,t);return t.startOfLine=!1,n&&(t.last=n),Y.hasOwnProperty(n)?Y[n]:n},blankLine:function(e){if(e.subMode&&e.subMode.blankLine)return e.subMode.blankLine(e.subState)},innerMode:function(e){return e.subMode?{state:e.subState,mode:e.subMode}:{state:e,mode:Z}}};return Z},"htmlmixed","ruby"),e.defineMIME("text/x-slim","slim"),e.defineMIME("application/x-slim","slim")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("smalltalk",function(e){var t=/[+\-\/\\*~<>=@%|&?!.,:;^]/,n=/true|false|nil|self|super|thisContext/,r=function(e,t){this.next=e,this.parent=t},i=function(e,t,n){this.name=e,this.context=t,this.eos=n},o=function(){this.context=new r(a,null),this.expectVariable=!0,this.indentation=0,this.userIndentationDelta=0};o.prototype.userIndent=function(t){this.userIndentationDelta=t>0?t/e.indentUnit-this.indentation:0};var a=function(e,o,a){var d=new i(null,o,!1),f=e.next();return'"'===f?d=s(e,new r(s,o)):"'"===f?d=l(e,new r(l,o)):"#"===f?"'"===e.peek()?(e.next(),d=u(e,new r(u,o))):e.eatWhile(/[^\s.{}\[\]()]/)?d.name="string-2":d.name="meta":"$"===f?("<"===e.next()&&(e.eatWhile(/[^\s>]/),e.next()),d.name="string-2"):"|"===f&&a.expectVariable?d.context=new r(c,o):/[\[\]{}()]/.test(f)?(d.name="bracket",d.eos=/[\[{(]/.test(f),"["===f?a.indentation++:"]"===f&&(a.indentation=Math.max(0,a.indentation-1))):t.test(f)?(e.eatWhile(t),d.name="operator",d.eos=";"!==f):/\d/.test(f)?(e.eatWhile(/[\w\d]/),d.name="number"):/[\w_]/.test(f)?(e.eatWhile(/[\w\d_]/),d.name=a.expectVariable?n.test(e.current())?"keyword":"variable":null):d.eos=a.expectVariable,d},s=function(e,t){return e.eatWhile(/[^"]/),new i("comment",e.eat('"')?t.parent:t,!0)},l=function(e,t){return e.eatWhile(/[^']/),new i("string",e.eat("'")?t.parent:t,!1)},u=function(e,t){return e.eatWhile(/[^']/),new i("string-2",e.eat("'")?t.parent:t,!1)},c=function(e,t){var n=new i(null,t,!1),r=e.next();return"|"===r?(n.context=t.parent,n.eos=!0):(e.eatWhile(/[^|]/),n.name="variable"),n};return{startState:function(){return new o},token:function(e,t){if(t.userIndent(e.indentation()),e.eatSpace())return null;var n=t.context.next(e,t.context,t);return t.context=n.context,t.expectVariable=n.eos,n.name},blankLine:function(e){e.userIndent(0)},indent:function(t,n){var r=t.context.next===a&&n&&"]"===n.charAt(0)?-1:t.userIndentationDelta;return(t.indentation+r)*e.indentUnit},electricChars:"]"}}),e.defineMIME("text/x-stsrc",{name:"smalltalk"})})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("smarty",function(t,n){function r(e,t){return c=t,e}function i(e,t,n){return t.tokenize=n,n(e,t)}function o(e,t){return null==t&&(t=e.pos),3===p&&"{"==f&&(t==e.string.length||/\s/.test(e.string.charAt(t)))}function a(e,t){for(var n=e.string,r=e.pos;;){var a=n.indexOf(f,r);if(r=a+f.length,a==-1||!o(e,a+f.length))break}if(a==e.pos)return e.match(f),e.eat("*")?i(e,t,u("comment","*"+d)):(t.depth++,t.tokenize=s,c="startTag","tag");a>-1&&(e.string=n.slice(0,a));var l=h.token(e,t.base);return a>-1&&(e.string=n),l}function s(e,t){if(e.match(d,!0))return 3===p?(t.depth--,t.depth<=0&&(t.tokenize=a)):t.tokenize=a,r("tag",null);if(e.match(f,!0))return t.depth++,r("tag","startTag");var n=e.next();if("$"==n)return e.eatWhile(g.validIdentifier),r("variable-2","variable");if("|"==n)return r("operator","pipe");if("."==n)return r("operator","property"); +if(g.stringChar.test(n))return t.tokenize=l(n),r("string","string");if(g.operatorChars.test(n))return e.eatWhile(g.operatorChars),r("operator","operator");if("["==n||"]"==n)return r("bracket","bracket");if("("==n||")"==n)return r("bracket","operator");if(/\d/.test(n))return e.eatWhile(/\d/),r("number","number");if("variable"==t.last){if("@"==n)return e.eatWhile(g.validIdentifier),r("property","property");if("|"==n)return e.eatWhile(g.validIdentifier),r("qualifier","modifier")}else{if("pipe"==t.last)return e.eatWhile(g.validIdentifier),r("qualifier","modifier");if("whitespace"==t.last)return e.eatWhile(g.validIdentifier),r("attribute","modifier")}if("property"==t.last)return e.eatWhile(g.validIdentifier),r("property",null);if(/\s/.test(n))return c="whitespace",null;var i="";"/"!=n&&(i+=n);for(var o=null;o=e.eat(g.validIdentifier);)i+=o;for(var s=0,u=m.length;s!?]/,validIdentifier:/[a-zA-Z0-9_]/,stringChar:/['"]/};return{startState:function(){return{base:e.startState(h),tokenize:a,last:null,depth:0}},copyState:function(t){return{base:e.copyState(h,t.base),tokenize:t.tokenize,last:t.last,depth:t.depth}},innerMode:function(e){if(e.tokenize==a)return{mode:h,state:e.base}},token:function(e,t){var n=t.tokenize(e,t);return t.last=c,n},indent:function(t,n){return t.tokenize==a&&h.indent?h.indent(t.base,n):e.Pass},blockCommentStart:f+"*",blockCommentEnd:"*"+d}}),e.defineMIME("text/x-smarty","smarty")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("solr",function(){function e(e){return parseFloat(e,10).toString()===e}function t(e){return function(t,n){for(var r,o=!1;null!=(r=t.next())&&(r!=e||o);)o=!o&&"\\"==r;return o||(n.tokenize=i),"string"}}function n(e){return function(t,n){var r="operator";return"+"==e?r+=" positive":"-"==e?r+=" negative":"|"==e?t.eat(/\|/):"&"==e?t.eat(/\&/):"^"==e&&(r+=" boost"),n.tokenize=i,r}}function r(t){return function(n,r){for(var a=t;(t=n.peek())&&null!=t.match(o);)a+=n.next();return r.tokenize=i,s.test(a)?"operator":e(a)?"number":":"==n.peek()?"field":"string"}}function i(e,s){var l=e.next();return'"'==l?s.tokenize=t(l):a.test(l)?s.tokenize=n(l):o.test(l)&&(s.tokenize=r(l)),s.tokenize!=i?s.tokenize(e,s):null}var o=/[^\s\|\!\+\-\*\?\~\^\&\:\(\)\[\]\{\}\^\"\\]/,a=/[\|\!\+\-\*\?\~\^\&]/,s=/^(OR|AND|NOT|TO)$/i;return{startState:function(){return{tokenize:i}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)}}}),e.defineMIME("text/x-solr","solr")})},function(e,t,n){!function(e){e(n(1),n(14))}(function(e){"use strict";var t=["template","literal","msg","fallbackmsg","let","if","elseif","else","switch","case","default","foreach","ifempty","for","call","param","deltemplate","delcall","log"];e.defineMode("soy",function(n){function r(e){return e[e.length-1]}function i(e,t,n){var r=e.string,i=n.exec(r.substr(e.pos));i&&(e.string=r.substr(0,e.pos+i.index));var o=e.hideFirstChars(t.indent,function(){return t.localMode.token(e,t.localState)});return e.string=r,o}function o(e,t){for(;e;){if(e.element===t)return!0;e=e.next}return!1}function a(e,t){return{element:t,next:e}}function s(e,t,n){return o(e,t)?"variable-2":n?"variable":"variable-2 error"}function l(e){e.scopes&&(e.variables=e.scopes.element,e.scopes=e.scopes.next)}var u=e.getMode(n,"text/plain"),c={html:e.getMode(n,{name:"text/html",multilineTagIndentFactor:2,multilineTagIndentPastTag:!1}),attributes:u,text:u,uri:u,css:e.getMode(n,"text/css"),js:e.getMode(n,{name:"text/javascript",statementIndent:2*n.indentUnit})};return{startState:function(){return{kind:[],kindTag:[],soyState:[],templates:null,variables:null,scopes:null,indent:0,localMode:c.html,localState:e.startState(c.html)}},copyState:function(t){return{tag:t.tag,kind:t.kind.concat([]),kindTag:t.kindTag.concat([]),soyState:t.soyState.concat([]),templates:t.templates,variables:t.variables,scopes:t.scopes,indent:t.indent,localMode:t.localMode,localState:e.copyState(t.localMode,t.localState)}},token:function(o,u){var d;switch(r(u.soyState)){case"comment":return o.match(/^.*?\*\//)?u.soyState.pop():o.skipToEnd(),"comment";case"templ-def":return(d=o.match(/^\.?([\w]+(?!\.[\w]+)*)/))?(u.templates=a(u.templates,d[1]),u.scopes=a(u.scopes,u.variables),u.soyState.pop(),"def"):(o.next(),null);case"templ-ref":return(d=o.match(/^\.?([\w]+)/))?(u.soyState.pop(),"."==d[0][0]?s(u.templates,d[1],!0):"variable"):(o.next(),null);case"param-def":return(d=o.match(/^([\w]+)(?=:)/))?(u.variables=a(u.variables,d[1]),u.soyState.pop(),u.soyState.push("param-type"),"def"):(o.next(),null);case"param-type":return"}"==o.peek()?(u.soyState.pop(),null):o.eatWhile(/^[\w]+/)?"variable-3":(o.next(),null);case"var-def":return(d=o.match(/^\$([\w]+)/))?(u.variables=a(u.variables,d[1]),u.soyState.pop(),"def"):(o.next(),null);case"tag":if(o.match(/^\/?}/))return"/template"==u.tag||"/deltemplate"==u.tag?(l(u),u.indent=0):("/for"!=u.tag&&"/foreach"!=u.tag||l(u),u.indent-=n.indentUnit*("/}"==o.current()||t.indexOf(u.tag)==-1?2:1)),u.soyState.pop(),"keyword";if(o.match(/^([\w?]+)(?==)/)){if("kind"==o.current()&&(d=o.match(/^="([^"]+)/,!1))){var f=d[1];u.kind.push(f),u.kindTag.push(u.tag),u.localMode=c[f]||c.html,u.localState=e.startState(u.localMode)}return"attribute"}return o.match(/^"/)?(u.soyState.push("string"),"string"):(d=o.match(/^\$([\w]+)/))?s(u.variables,d[1]):(d=o.match(/^\w+/))?/^(?:as|and|or|not|in)$/.test(d[0])?"keyword":null:(o.next(),null);case"literal":return o.match(/^(?=\{\/literal})/)?(u.indent-=n.indentUnit,u.soyState.pop(),this.token(o,u)):i(o,u,/\{\/literal}/);case"string":var d=o.match(/^.*?("|\\[\s\S])/);return d?'"'==d[1]&&u.soyState.pop():o.skipToEnd(),"string"}return o.match(/^\/\*/)?(u.soyState.push("comment"),"comment"):o.match(o.sol()?/^\s*\/\/.*/:/^\s+\/\/.*/)?"comment":o.match(/^\{literal}/)?(u.indent+=n.indentUnit,u.soyState.push("literal"),"keyword"):(d=o.match(/^\{([\/@\\]?[\w?]*)/))?("/switch"!=d[1]&&(u.indent+=(/^(\/|(else|elseif|ifempty|case|default)$)/.test(d[1])&&"switch"!=u.tag?1:2)*n.indentUnit),u.tag=d[1],u.tag=="/"+r(u.kindTag)&&(u.kind.pop(),u.kindTag.pop(),u.localMode=c[r(u.kind)]||c.html,u.localState=e.startState(u.localMode)),u.soyState.push("tag"),"template"!=u.tag&&"deltemplate"!=u.tag||u.soyState.push("templ-def"),"call"!=u.tag&&"delcall"!=u.tag||u.soyState.push("templ-ref"),"let"==u.tag&&u.soyState.push("var-def"),"for"!=u.tag&&"foreach"!=u.tag||(u.scopes=a(u.scopes,u.variables),u.soyState.push("var-def")),u.tag.match(/^@param\??/)&&u.soyState.push("param-def"),"keyword"):i(o,u,/\{|\s+\/\/|\/\*/)},indent:function(t,i){var o=t.indent,a=r(t.soyState);if("comment"==a)return e.Pass;if("literal"==a)/^\{\/literal}/.test(i)&&(o-=n.indentUnit);else{if(/^\s*\{\/(template|deltemplate)\b/.test(i))return 0;/^\{(\/|(fallbackmsg|elseif|else|ifempty)\b)/.test(i)&&(o-=n.indentUnit),"switch"!=t.tag&&/^\{(case|default)\b/.test(i)&&(o-=n.indentUnit),/^\{\/switch\b/.test(i)&&(o-=n.indentUnit)}return o&&t.localMode.indent&&(o+=t.localMode.indent(t.localState,i)),o},innerMode:function(e){return e.soyState.length&&"literal"!=r(e.soyState)?null:{state:e.localState,mode:e.localMode}},electricInput:/^\s*\{(\/|\/template|\/deltemplate|\/switch|fallbackmsg|elseif|else|case|default|ifempty|\/literal\})$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",useInnerComments:!1,fold:"indent"}},"htmlmixed"),e.registerHelper("hintWords","soy",t.concat(["delpackage","namespace","alias","print","css","debugger"])),e.defineMIME("text/x-soy","soy")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("sparql",function(e){function t(e){return new RegExp("^(?:"+e.join("|")+")$","i")}function n(e,t){var n=e.next();if(a=null,"$"==n||"?"==n)return"?"==n&&e.match(/\s/,!1)?"operator":(e.match(/^[\w\d]*/),"variable-2");if("<"!=n||e.match(/^[\s\u00a0=]/,!1)){if('"'==n||"'"==n)return t.tokenize=r(n),t.tokenize(e,t);if(/[{}\(\),\.;\[\]]/.test(n))return a=n,"bracket";if("#"==n)return e.skipToEnd(),"comment";if(c.test(n))return e.eatWhile(c),"operator";if(":"==n)return e.eatWhile(/[\w\d\._\-]/),"atom";if("@"==n)return e.eatWhile(/[a-z\d\-]/i),"meta";if(e.eatWhile(/[_\w\d]/),e.eat(":"))return e.eatWhile(/[\w\d_\-]/),"atom";var i=e.current();return l.test(i)?"builtin":u.test(i)?"keyword":"variable"}return e.match(/^[^\s\u00a0>]*>?/),"atom"}function r(e){return function(t,r){for(var i,o=!1;null!=(i=t.next());){if(i==e&&!o){r.tokenize=n;break}o=!o&&"\\"==i}return"string"}}function i(e,t,n){e.context={prev:e.context,indent:e.indent,col:n,type:t}}function o(e){e.indent=e.context.indent,e.context=e.context.prev}var a,s=e.indentUnit,l=t(["str","lang","langmatches","datatype","bound","sameterm","isiri","isuri","iri","uri","bnode","count","sum","min","max","avg","sample","group_concat","rand","abs","ceil","floor","round","concat","substr","strlen","replace","ucase","lcase","encode_for_uri","contains","strstarts","strends","strbefore","strafter","year","month","day","hours","minutes","seconds","timezone","tz","now","uuid","struuid","md5","sha1","sha256","sha384","sha512","coalesce","if","strlang","strdt","isnumeric","regex","exists","isblank","isliteral","a","bind"]),u=t(["base","prefix","select","distinct","reduced","construct","describe","ask","from","named","where","order","limit","offset","filter","optional","graph","by","asc","desc","as","having","undef","values","group","minus","in","not","service","silent","using","insert","delete","union","true","false","with","data","copy","to","move","add","create","drop","clear","load"]),c=/[*+\-<>=&|\^\/!\?]/;return{startState:function(){return{tokenize:n,context:null,indent:0,col:0}},token:function(e,t){if(e.sol()&&(t.context&&null==t.context.align&&(t.context.align=!1),t.indent=e.indentation()),e.eatSpace())return null;var n=t.tokenize(e,t);if("comment"!=n&&t.context&&null==t.context.align&&"pattern"!=t.context.type&&(t.context.align=!0),"("==a)i(t,")",e.column());else if("["==a)i(t,"]",e.column());else if("{"==a)i(t,"}",e.column());else if(/[\]\}\)]/.test(a)){for(;t.context&&"pattern"==t.context.type;)o(t);t.context&&a==t.context.type&&(o(t),"}"==a&&t.context&&"pattern"==t.context.type&&o(t))}else"."==a&&t.context&&"pattern"==t.context.type?o(t):/atom|string|variable/.test(n)&&t.context&&(/[\}\]]/.test(t.context.type)?i(t,"pattern",e.column()):"pattern"!=t.context.type||t.context.align||(t.context.align=!0,t.context.col=e.column()));return n},indent:function(e,t){var n=t&&t.charAt(0),r=e.context;if(/[\]\}]/.test(n))for(;r&&"pattern"==r.type;)r=r.prev;var i=r&&n==r.type;return r?"pattern"==r.type?r.col:r.align?r.col+(i?0:1):r.indent+(i?0:s):0},lineComment:"#"}}),e.defineMIME("application/sparql-query","sparql")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("spreadsheet",function(){return{startState:function(){return{stringType:null,stack:[]}},token:function(e,t){if(e){switch(0===t.stack.length&&('"'!=e.peek()&&"'"!=e.peek()||(t.stringType=e.peek(),e.next(),t.stack.unshift("string"))),t.stack[0]){case"string":for(;"string"===t.stack[0]&&!e.eol();)e.peek()===t.stringType?(e.next(),t.stack.shift()):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return"string";case"characterClass":for(;"characterClass"===t.stack[0]&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(/^\\./)||t.stack.shift();return"operator"}var n=e.peek();switch(n){case"[":return e.next(),t.stack.unshift("characterClass"),"bracket";case":":return e.next(),"operator";case"\\":return e.match(/\\[a-z]+/)?"string-2":(e.next(),"atom");case".":case",":case";":case"*":case"-":case"+":case"^":case"<":case"/":case"=":return e.next(),"atom";case"$":return e.next(),"builtin"}return e.match(/\d+/)?e.match(/^\w+/)?"error":"number":e.match(/^[a-zA-Z_]\w*/)?e.match(/(?=[\(.])/,!1)?"keyword":"variable-2":["[","]","(",")","{","}"].indexOf(n)!=-1?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}}}),e.defineMIME("text/x-spreadsheet","spreadsheet")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";function t(e){for(var t={},n=0;n-1)return e.next(),"operator";if(h.indexOf(r)>-1)return e.next(),e.match(".."),"punctuation";if('"'==r||"'"==r){e.next();var a=i(r);return t.tokenize.push(a),a(e,t)}if(e.match(v)){var s=e.current();return f.hasOwnProperty(s)?"variable-2":d.hasOwnProperty(s)?"atom":u.hasOwnProperty(s)?(c.hasOwnProperty(s)&&(t.prev="define"),"keyword"):"define"==n?"def":"variable"}return e.next(),null}function r(){var e=0;return function(t,r,i){var o=n(t,r,i);if("punctuation"==o)if("("==t.current())++e;else if(")"==t.current()){if(0==e)return t.backUp(1),r.tokenize.pop(),r.tokenize[r.tokenize.length-1](t,r);--e}return o}}function i(e){return function(t,n){for(var i,o=!1;i=t.next();)if(o){if("("==i)return n.tokenize.push(r()),"string";o=!1}else{if(i==e)break;o="\\"==i}return n.tokenize.pop(),"string"}}function o(e,t){return e.match(/^(?:[^*]|\*(?!\/))*/),e.match("*/")&&t.tokenize.pop(),"comment"}function a(e,t,n){this.prev=e,this.align=t,this.indented=n}function s(e,t){var n=t.match(/^\s*($|\/[\/\*])/,!1)?null:t.column()+1;e.context=new a(e.context,n,e.indented)}function l(e){e.context&&(e.indented=e.context.indented,e.context=e.context.prev)}var u=t(["_","var","let","class","enum","extension","import","protocol","struct","func","typealias","associatedtype","open","public","internal","fileprivate","private","deinit","init","new","override","self","subscript","super","convenience","dynamic","final","indirect","lazy","required","static","unowned","unowned(safe)","unowned(unsafe)","weak","as","is","break","case","continue","default","else","fallthrough","for","guard","if","in","repeat","switch","where","while","defer","return","inout","mutating","nonmutating","catch","do","rethrows","throw","throws","try","didSet","get","set","willSet","assignment","associativity","infix","left","none","operator","postfix","precedence","precedencegroup","prefix","right","Any","AnyObject","Type","dynamicType","Self","Protocol","__COLUMN__","__FILE__","__FUNCTION__","__LINE__"]),c=t(["var","let","class","enum","extension","import","protocol","struct","func","typealias","associatedtype","for"]),d=t(["true","false","nil","self","super","_"]),f=t(["Array","Bool","Character","Dictionary","Double","Float","Int","Int8","Int16","Int32","Int64","Never","Optional","Set","String","UInt8","UInt16","UInt32","UInt64","Void"]),p="+-/*%=|&<>~^?!",h=":;,.(){}[]",m=/^\-?0b[01][01_]*/,g=/^\-?0o[0-7][0-7_]*/,$=/^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/,_=/^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/,v=/^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/,b=/^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/,y=/^\#[A-Za-z]+/,x=/^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;e.defineMode("swift",function(e){return{startState:function(){return{prev:null,context:null,indented:0,tokenize:[]}},token:function(e,t){var r=t.prev;t.prev=null;var i=t.tokenize[t.tokenize.length-1]||n,o=i(e,t,r);if(o&&"comment"!=o?t.prev||(t.prev=o):t.prev=r,"punctuation"==o){var a=/[\(\[\{]|([\]\)\}])/.exec(e.current());a&&(a[1]?l:s)(t,e)}return o},indent:function(t,n){var r=t.context;if(!r)return 0;var i=/^[\]\}\)]/.test(n);return null!=r.align?r.align-(i?1:0):r.indented+(i?0:e.indentUnit)},electricInput:/^\s*[\)\}\]]$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",fold:"brace",closeBrackets:"()[]{}''\"\"``"}}),e.defineMIME("text/x-swift","swift")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("tcl",function(){function e(e){for(var t={},n=e.split(" "),r=0;r!?^\/\|]/;return{startState:function(){return{tokenize:n,beforeParams:!1,inParams:!1}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)}}}),e.defineMIME("text/x-tcl","tcl")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";function t(e,t){t.mode=f.newLayout,t.tableHeading=!1,"definitionList"===t.layoutType&&t.spanningLayout&&e.match(u("definitionListEnd"),!1)&&(t.spanningLayout=!1)}function n(e,t,n){if("_"===n)return e.eat("_")?r(e,t,"italic",/__/,2):r(e,t,"em",/_/,1);if("*"===n)return e.eat("*")?r(e,t,"bold",/\*\*/,2):r(e,t,"strong",/\*/,1);if("["===n)return e.match(/\d+\]/)&&(t.footCite=!0),i(t);if("("===n){var o=e.match(/^(r|tm|c)\)/);if(o)return a(t,c.specialChar)}if("<"===n&&e.match(/(\w+)[^>]+>[^<]+<\/\1>/))return a(t,c.html);if("?"===n&&e.eat("?"))return r(e,t,"cite",/\?\?/,2);if("="===n&&e.eat("="))return r(e,t,"notextile",/==/,2);if("-"===n&&!e.eat("-"))return r(e,t,"deletion",/-/,1);if("+"===n)return r(e,t,"addition",/\+/,1);if("~"===n)return r(e,t,"sub",/~/,1);if("^"===n)return r(e,t,"sup",/\^/,1);if("%"===n)return r(e,t,"span",/%/,1);if("@"===n)return r(e,t,"code",/@/,1);if("!"===n){var s=r(e,t,"image",/(?:\([^\)]+\))?!/,1);return e.match(/^:\S+/),s}return i(t)}function r(e,t,n,r,o){var a=e.pos>o?e.string.charAt(e.pos-o-1):null,s=e.peek();if(t[n]){if((!s||/\W/.test(s))&&a&&/\S/.test(a)){var l=i(t);return t[n]=!1,l}}else(!a||/\W/.test(a))&&s&&/\S/.test(s)&&e.match(new RegExp("^.*\\S"+r.source+"(?:\\W|$)"),!1)&&(t[n]=!0,t.mode=f.attributes);return i(t)}function i(e){var t=o(e);if(t)return t;var n=[];return e.layoutType&&n.push(c[e.layoutType]),n=n.concat(s(e,"addition","bold","cite","code","deletion","em","footCite","image","italic","link","span","strong","sub","sup","table","tableHeading")),"header"===e.layoutType&&n.push(c.header+"-"+e.header),n.length?n.join(" "):null}function o(e){var t=e.layoutType;switch(t){case"notextile":case"code":case"pre":return c[t];default:return e.notextile?c.notextile+(t?" "+c[t]:""):null}}function a(e,t){var n=o(e);if(n)return n;var r=i(e);return t?r?r+" "+t:t:r}function s(e){for(var t=[],n=1;n]+)?>(?:[^<]+<\/\1>)?/,link:/[^"]+":\S/,linkDefinition:/\[[^\s\]]+\]\S+/,list:/(?:#+|\*+)/,notextile:"notextile",para:"p",pre:"pre",table:"table",tableCellAttributes:/[\/\\]\d+/,tableHeading:/\|_\./,tableText:/[^"_\*\[\(\?\+~\^%@|-]+/,text:/[^!"_=\*\[\(<\?\+~\^%@-]+/},attributes:{align:/(?:<>|<|>|=)/,selector:/\([^\(][^\)]+\)/,lang:/\[[^\[\]]+\]/,pad:/(?:\(+|\)+){1,2}/,css:/\{[^\}]+\}/},createRe:function(e){switch(e){case"drawTable":return d.makeRe("^",d.single.drawTable,"$");case"html":return d.makeRe("^",d.single.html,"(?:",d.single.html,")*","$");case"linkDefinition":return d.makeRe("^",d.single.linkDefinition,"$");case"listLayout":return d.makeRe("^",d.single.list,u("allAttributes"),"*\\s+");case"tableCellAttributes":return d.makeRe("^",d.choiceRe(d.single.tableCellAttributes,u("allAttributes")),"+\\.");case"type":return d.makeRe("^",u("allTypes"));case"typeLayout":return d.makeRe("^",u("allTypes"),u("allAttributes"),"*\\.\\.?","(\\s+|$)");case"attributes":return d.makeRe("^",u("allAttributes"),"+");case"allTypes":return d.choiceRe(d.single.div,d.single.foot,d.single.header,d.single.bc,d.single.bq,d.single.notextile,d.single.pre,d.single.table,d.single.para);case"allAttributes":return d.choiceRe(d.attributes.selector,d.attributes.css,d.attributes.lang,d.attributes.align,d.attributes.pad);default:return d.makeRe("^",d.single[e])}},makeRe:function(){for(var e="",t=0;t|]/.test(x)){if("!"==x)return t.skipToEnd(),"header";if("*"==x)return t.eatWhile("*"),"comment";if("#"==x)return t.eatWhile("#"),"comment";if(";"==x)return t.eatWhile(";"),"comment";if(":"==x)return t.eatWhile(":"),"comment";if(">"==x)return t.eatWhile(">"),"quote";if("|"==x)return"header"}if("{"==x&&t.match(/\{\{/))return e(t,c,i);if(/[hf]/i.test(x)&&/[ti]/i.test(t.peek())&&t.match(/\b(ttps?|tp|ile):\/\/[\-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/i))return"link";if('"'==x)return"string";if("~"==x)return"brace";if(/[\[\]]/.test(x)&&t.match(x))return"brace";if("@"==x)return t.eatWhile(d),"link";if(/\d/.test(x))return t.eatWhile(/\d/),"number";if("/"==x){if(t.eat("%"))return e(t,c,n);if(t.eat("/"))return e(t,c,o)}if("_"==x&&t.eat("_"))return e(t,c,a);if("-"==x&&t.eat("-")){if(" "!=t.peek())return e(t,c,s);if(" "==t.peek())return"brace"}return"'"==x&&t.eat("'")?e(t,c,r):"<"==x&&t.eat("<")?e(t,c,l):(t.eatWhile(/[\w\$_]/),u.propertyIsEnumerable(t.current())?"keyword":null)}function n(e,n){for(var r,i=!1;r=e.next();){if("/"==r&&i){n.tokenize=t;break}i="%"==r}return"comment"}function r(e,n){for(var r,i=!1;r=e.next();){if("'"==r&&i){n.tokenize=t;break}i="'"==r}return"strong"}function i(e,n){var r=n.block;return r&&e.current()?"comment":!r&&e.match(x)?(n.tokenize=t,"comment"):r&&e.sol()&&e.match(y)?(n.tokenize=t,"comment"):(e.next(),"comment")}function o(e,n){for(var r,i=!1;r=e.next();){if("/"==r&&i){n.tokenize=t;break}i="/"==r}return"em"}function a(e,n){for(var r,i=!1;r=e.next();){if("_"==r&&i){n.tokenize=t;break}i="_"==r}return"underlined"}function s(e,n){for(var r,i=!1;r=e.next();){if("-"==r&&i){n.tokenize=t;break}i="-"==r}return"strikethrough"}function l(e,n){if("<<"==e.current())return"macro";var r=e.next();return r?">"==r&&">"==e.peek()?(e.next(),n.tokenize=t,"macro"):(e.eatWhile(/[\w\$_]/),c.propertyIsEnumerable(e.current())?"keyword":null):(n.tokenize=t,null)}var u={},c={allTags:!0,closeAll:!0,list:!0,newJournal:!0,newTiddler:!0,permaview:!0,saveChanges:!0,search:!0,slider:!0,tabs:!0,tag:!0,tagging:!0,tags:!0,tiddler:!0,timeline:!0,today:!0,version:!0,option:!0,with:!0,filter:!0},d=/[\w_\-]/i,f=/^\-\-\-\-+$/,p=/^\/\*\*\*$/,h=/^\*\*\*\/$/,m=/^<<<$/,g=/^\/\/\{\{\{$/,$=/^\/\/\}\}\}$/,_=/^$/,v=/^$/,b=/^\{\{\{$/,y=/^\}\}\}$/,x=/.*?\}\}\}/;return{startState:function(){return{tokenize:t}},token:function(e,t){if(e.eatSpace())return null;var n=t.tokenize(e,t);return n}}}),e.defineMIME("text/x-tiddlywiki","tiddlywiki")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("tiki",function(e){function t(e,t,n){return function(i,o){for(;!i.eol();){if(i.match(t)){o.tokenize=r;break}i.next()}return n&&(o.tokenize=n),e}}function n(e){return function(t,n){for(;!t.eol();)t.next();return n.tokenize=r,e}}function r(e,o){function a(t){return o.tokenize=t,t(e,o)}var s=e.sol(),l=e.next();switch(l){case"{":return e.eat("/"),e.eatSpace(),e.eatWhile(/[^\s\u00a0=\"\'\/?(}]/),o.tokenize=i,"tag";case"_":if(e.eat("_"))return a(t("strong","__",r));break;case"'":if(e.eat("'"))return a(t("em","''",r));break;case"(":if(e.eat("("))return a(t("variable-2","))",r));break;case"[":return a(t("variable-3","]",r));case"|":if(e.eat("|"))return a(t("comment","||"));break;case"-":if(e.eat("="))return a(t("header string","=-",r));if(e.eat("-"))return a(t("error tw-deleted","--",r));break;case"=":if(e.match("=="))return a(t("tw-underline","===",r));break;case":":if(e.eat(":"))return a(t("comment","::"));break;case"^":return a(t("tw-box","^"));case"~":if(e.match("np~"))return a(t("meta","~/np~"))}if(s)switch(l){case"!":return a(e.match("!!!!!")?n("header string"):e.match("!!!!")?n("header string"):e.match("!!!")?n("header string"):e.match("!!")?n("header string"):n("header string"));case"*":case"#":case"+":return a(n("tw-listitem bracket"))}return null}function i(e,t){var n=e.next(),i=e.peek();return"}"==n?(t.tokenize=r,"tag"):"("==n||")"==n?"bracket":"="==n?(_="equals",">"==i&&(n=e.next(),i=e.peek()),/[\'\"]/.test(i)||(t.tokenize=a()),"operator"):/[\'\"]/.test(n)?(t.tokenize=o(n),t.tokenize(e,t)):(e.eatWhile(/[^\s\u00a0=\"\'\/?]/),"keyword")}function o(e){return function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=i;break}return"string"}}function a(){return function(e,t){for(;!e.eol();){var n=e.next(),r=e.peek();if(" "==n||","==n||/[ )}]/.test(r)){t.tokenize=i;break}}return"string"}}function s(){for(var e=arguments.length-1;e>=0;e--)v.cc.push(arguments[e])}function l(){return s.apply(null,arguments),!0}function u(e,t){var n=v.context&&v.context.noIndent;v.context={prev:v.context,pluginName:e,indent:v.indented,startOfLine:t,noIndent:n}}function c(){v.context&&(v.context=v.context.prev)}function d(e){if("openPlugin"==e)return v.pluginName=$,l(h,f(v.startOfLine));if("closePlugin"==e){var t=!1;return v.context?(t=v.context.pluginName!=$,c()):t=!0,t&&(b="error"),l(p(t))}return"string"==e?(v.context&&"!cdata"==v.context.name||u("!cdata"),v.tokenize==r&&c(),l()):l()}function f(e){return function(t){return"selfclosePlugin"==t||"endPlugin"==t?l():"endPlugin"==t?(u(v.pluginName,e),l()):l()}}function p(e){return function(t){return e&&(b="error"),"endPlugin"==t?l():s()}}function h(e){return"keyword"==e?(b="attribute",l(h)):"equals"==e?l(m,h):s()}function m(e){return"keyword"==e?(b="string",l()):"string"==e?l(g):s()}function g(e){return"string"==e?l(g):s()}var $,_,v,b,y=e.indentUnit;return{startState:function(){return{tokenize:r,cc:[],indented:0,startOfLine:!0,pluginName:null,context:null}},token:function(e,t){if(e.sol()&&(t.startOfLine=!0,t.indented=e.indentation()),e.eatSpace())return null;b=_=$=null;var n=t.tokenize(e,t);if((n||_)&&"comment"!=n)for(v=t;;){var r=t.cc.pop()||d;if(r(_||n))break}return t.startOfLine=!1,b||n},indent:function(e,t){var n=e.context;if(n&&n.noIndent)return 0;for(n&&/^{\//.test(t)&&(n=n.prev);n&&!n.startOfLine;)n=n.prev; +return n?n.indent+y:0},electricChars:"/"}}),e.defineMIME("text/tiki","tiki")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("toml",function(){return{startState:function(){return{inString:!1,stringType:"",lhs:!0,inArray:0}},token:function(e,t){if(t.inString||'"'!=e.peek()&&"'"!=e.peek()||(t.stringType=e.peek(),e.next(),t.inString=!0),e.sol()&&0===t.inArray&&(t.lhs=!0),t.inString){for(;t.inString&&!e.eol();)e.peek()===t.stringType?(e.next(),t.inString=!1):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return t.lhs?"property string":"string"}return t.inArray&&"]"===e.peek()?(e.next(),t.inArray--,"bracket"):t.lhs&&"["===e.peek()&&e.skipTo("]")?(e.next(),"]"===e.peek()&&e.next(),"atom"):"#"===e.peek()?(e.skipToEnd(),"comment"):e.eatSpace()?null:t.lhs&&e.eatWhile(function(e){return"="!=e&&" "!=e})?"property":t.lhs&&"="===e.peek()?(e.next(),t.lhs=!1,null):!t.lhs&&e.match(/^\d\d\d\d[\d\-\:\.T]*Z/)?"atom":t.lhs||!e.match("true")&&!e.match("false")?t.lhs||"["!==e.peek()?!t.lhs&&e.match(/^\-?\d+(?:\.\d+)?/)?"number":(e.eatSpace()||e.next(),null):(t.inArray++,e.next(),"bracket"):"atom"}}}),e.defineMIME("text/x-toml","toml")})},function(e,t,n){!function(e){e(n(1),n(14),n(40))}(function(e){"use strict";e.defineMode("tornado:inner",function(){function e(e,n){e.eatWhile(/[^\{]/);var r=e.next();if("{"==r&&(r=e.eat(/\{|%|#/)))return n.tokenize=t(r),"tag"}function t(t){return"{"==t&&(t="}"),function(r,i){var o=r.next();return o==t&&r.eat("}")?(i.tokenize=e,"tag"):r.match(n)?"keyword":"#"==t?"comment":"string"}}var n=["and","as","assert","autoescape","block","break","class","comment","context","continue","datetime","def","del","elif","else","end","escape","except","exec","extends","false","finally","for","from","global","if","import","in","include","is","json_encode","lambda","length","linkify","load","module","none","not","or","pass","print","put","raise","raw","return","self","set","squeeze","super","true","try","url_escape","while","with","without","xhtml_escape","yield"];return n=new RegExp("^(("+n.join(")|(")+"))\\b"),{startState:function(){return{tokenize:e}},token:function(e,t){return t.tokenize(e,t)}}}),e.defineMode("tornado",function(t){var n=e.getMode(t,"text/html"),r=e.getMode(t,"tornado:inner");return e.overlayMode(n,r)}),e.defineMIME("text/x-tornado","tornado")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("troff",function(){function e(e){if(e.eatSpace())return null;var t=e.sol(),r=e.next();if("\\"===r)return e.match("fB")||e.match("fR")||e.match("fI")||e.match("u")||e.match("d")||e.match("%")||e.match("&")?"string":e.match("m[")?(e.skipTo("]"),e.next(),"string"):e.match("s+")||e.match("s-")?(e.eatWhile(/[\d-]/),"string"):e.match("(")||e.match("*(")?(e.eatWhile(/[\w-]/),"string"):"string";if(t&&("."===r||"'"===r)&&e.eat("\\")&&e.eat('"'))return e.skipToEnd(),"comment";if(t&&"."===r){if(e.match("B ")||e.match("I ")||e.match("R "))return"attribute";if(e.match("TH ")||e.match("SH ")||e.match("SS ")||e.match("HP "))return e.skipToEnd(),"quote";if(e.match(/[A-Z]/)&&e.match(/[A-Z]/)||e.match(/[a-z]/)&&e.match(/[a-z]/))return"attribute"}e.eatWhile(/[\w-]/);var i=e.current();return n.hasOwnProperty(i)?n[i]:null}function t(t,n){return(n.tokens[0]||e)(t,n)}var n={};return{startState:function(){return{tokens:[]}},token:function(e,n){return t(e,n)}}}),e.defineMIME("text/troff","troff"),e.defineMIME("text/x-troff","troff"),e.defineMIME("application/x-troff","troff")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";function t(e){for(var t={},n=e.split(" "),r=0;r!\/]/;return{startState:function(e){return{tokenize:null,context:new o((e||0)-u,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var r=t.context;if(e.sol()&&(null==r.align&&(r.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;l=null;var i=(t.tokenize||n)(e,t);if("comment"==i)return i;if(null==r.align&&(r.align=!0),";"!=l&&":"!=l&&","!=l||"statement"!=r.type)if("{"==l)a(t,e.column(),"}");else if("["==l)a(t,e.column(),"]");else if("("==l)a(t,e.column(),")");else if("}"==l){for(;"statement"==r.type;)r=s(t);for("}"==r.type&&(r=s(t));"statement"==r.type;)r=s(t)}else l==r.type?s(t):E&&(("}"==r.type||"top"==r.type)&&";"!=l||"statement"==r.type&&"newstatement"==l)&&a(t,e.column(),"statement");else s(t);return t.startOfLine=!1,i},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}}),n(["text/x-ttcn","text/x-ttcn3","text/x-ttcnpp"],{name:"ttcn",keywords:t("activate address alive all alt altstep and and4b any break case component const continue control deactivate display do else encode enumerated except exception execute extends extension external for from function goto group if import in infinity inout interleave label language length log match message mixed mod modifies module modulepar mtc noblock not not4b nowait of on optional or or4b out override param pattern port procedure record recursive rem repeat return runs select self sender set signature system template testcase to type union value valueof var variant while with xor xor4b"),builtin:t("bit2hex bit2int bit2oct bit2str char2int char2oct encvalue decomp decvalue float2int float2str hex2bit hex2int hex2oct hex2str int2bit int2char int2float int2hex int2oct int2str int2unichar isbound ischosen ispresent isvalue lengthof log2str oct2bit oct2char oct2hex oct2int oct2str regexp replace rnd sizeof str2bit str2float str2hex str2int str2oct substr unichar2int unichar2char enum2int"),types:t("anytype bitstring boolean char charstring default float hexstring integer objid octetstring universal verdicttype timer"),timerOps:t("read running start stop timeout"),portOps:t("call catch check clear getcall getreply halt raise receive reply send trigger"),configOps:t("create connect disconnect done kill killed map unmap"),verdictOps:t("getverdict setverdict"),sutOps:t("action"),functionOps:t("apply derefers refers"),verdictConsts:t("error fail inconc none pass"),booleanConsts:t("true false"),otherConsts:t("null NULL omit"),visibilityModifiers:t("private public friend"),templateMatch:t("complement ifpresent subset superset permutation"),multiLineStrings:!0})})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("turtle",function(e){function t(e){return new RegExp("^(?:"+e.join("|")+")$","i")}function n(e,t){var n=e.next();if(a=null,"<"==n&&!e.match(/^[\s\u00a0=]/,!1))return e.match(/^[^\s\u00a0>]*>?/),"atom";if('"'==n||"'"==n)return t.tokenize=r(n),t.tokenize(e,t);if(/[{}\(\),\.;\[\]]/.test(n))return a=n,null;if("#"==n)return e.skipToEnd(),"comment";if(u.test(n))return e.eatWhile(u),null;if(":"==n)return"operator";if(e.eatWhile(/[_\w\d]/),":"==e.peek())return"variable-3";var i=e.current();return l.test(i)?"meta":n>="A"&&n<="Z"?"comment":"keyword";var i}function r(e){return function(t,r){for(var i,o=!1;null!=(i=t.next());){if(i==e&&!o){r.tokenize=n;break}o=!o&&"\\"==i}return"string"}}function i(e,t,n){e.context={prev:e.context,indent:e.indent,col:n,type:t}}function o(e){e.indent=e.context.indent,e.context=e.context.prev}var a,s=e.indentUnit,l=(t([]),t(["@prefix","@base","a"])),u=/[*+\-<>=&|]/;return{startState:function(){return{tokenize:n,context:null,indent:0,col:0}},token:function(e,t){if(e.sol()&&(t.context&&null==t.context.align&&(t.context.align=!1),t.indent=e.indentation()),e.eatSpace())return null;var n=t.tokenize(e,t);if("comment"!=n&&t.context&&null==t.context.align&&"pattern"!=t.context.type&&(t.context.align=!0),"("==a)i(t,")",e.column());else if("["==a)i(t,"]",e.column());else if("{"==a)i(t,"}",e.column());else if(/[\]\}\)]/.test(a)){for(;t.context&&"pattern"==t.context.type;)o(t);t.context&&a==t.context.type&&o(t)}else"."==a&&t.context&&"pattern"==t.context.type?o(t):/atom|string|variable/.test(n)&&t.context&&(/[\}\]]/.test(t.context.type)?i(t,"pattern",e.column()):"pattern"!=t.context.type||t.context.align||(t.context.align=!0,t.context.col=e.column()));return n},indent:function(e,t){var n=t&&t.charAt(0),r=e.context;if(/[\]\}]/.test(n))for(;r&&"pattern"==r.type;)r=r.prev;var i=r&&n==r.type;return r?"pattern"==r.type?r.col:r.align?r.col+(i?0:1):r.indent+(i?0:s):0},lineComment:"#"}}),e.defineMIME("text/turtle","turtle")})},function(e,t,n){!function(e){e(n(1),n(71))}(function(e){"use strict";e.defineMode("twig:inner",function(){function e(e,a){var s=e.peek();if(a.incomment)return e.skipTo("#}")?(e.eatWhile(/\#|}/),a.incomment=!1):e.skipToEnd(),"comment";if(a.intag){if(a.operator){if(a.operator=!1,e.match(i))return"atom";if(e.match(o))return"number"}if(a.sign){if(a.sign=!1,e.match(i))return"atom";if(e.match(o))return"number"}if(a.instring)return s==a.instring&&(a.instring=!1),e.next(),"string";if("'"==s||'"'==s)return a.instring=s,e.next(),"string";if(e.match(a.intag+"}")||e.eat("-")&&e.match(a.intag+"}"))return a.intag=!1,"tag";if(e.match(n))return a.operator=!0,"operator";if(e.match(r))a.sign=!0;else if(e.eat(" ")||e.sol()){if(e.match(t))return"keyword";if(e.match(i))return"atom";if(e.match(o))return"number";e.sol()&&e.next()}else e.next();return"variable"}if(e.eat("{")){if(s=e.eat("#"))return a.incomment=!0,e.skipTo("#}")?(e.eatWhile(/\#|}/),a.incomment=!1):e.skipToEnd(),"comment";if(s=e.eat(/\{|%/))return a.intag=s,"{"==s&&(a.intag="}"),e.eat("-"),"tag"}e.next()}var t=["and","as","autoescape","endautoescape","block","do","endblock","else","elseif","extends","for","endfor","embed","endembed","filter","endfilter","flush","from","if","endif","in","is","include","import","not","or","set","spaceless","endspaceless","with","endwith","trans","endtrans","blocktrans","endblocktrans","macro","endmacro","use","verbatim","endverbatim"],n=/^[+\-*&%=<>!?|~^]/,r=/^[:\[\(\{]/,i=["true","false","null","empty","defined","divisibleby","divisible by","even","odd","iterable","sameas","same as"],o=/^(\d[+\-\*\/])?\d+(\.\d+)?/;return t=new RegExp("(("+t.join(")|(")+"))\\b"),i=new RegExp("(("+i.join(")|(")+"))\\b"),{startState:function(){return{}},token:function(t,n){return e(t,n)}}}),e.defineMode("twig",function(t,n){var r=e.getMode(t,"twig:inner");return n&&n.base?e.multiplexingMode(e.getMode(t,n.base),{open:/\{[{#%]/,close:/[}#%]\}/,mode:r,parseDelimiters:!0}):r}),e.defineMIME("text/x-twig","twig")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("vb",function(t,n){function r(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}function i(e,t){t.currentIndent++}function o(e,t){t.currentIndent--}function a(e,t){if(e.eatSpace())return null;var n=e.peek();if("'"===n)return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.a-f]/i,!1)){var r=!1;if(e.match(/^\d*\.\d+F?/i)?r=!0:e.match(/^\d+\.\d*F?/)?r=!0:e.match(/^\.\d+F?/)&&(r=!0),r)return e.eat(/J/i),"number";var a=!1;if(e.match(/^&H[0-9a-f]+/i)?a=!0:e.match(/^&O[0-7]+/i)?a=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),a=!0):e.match(/^0(?![\dx])/i)&&(a=!0),a)return e.eat(/L/i),"number"}return e.match(E)?(t.tokenize=s(e.current()),t.tokenize(e,t)):e.match(h)||e.match(p)?null:e.match(f)||e.match(c)||e.match(b)?"operator":e.match(d)?null:e.match(M)?(i(e,t),t.doInCurrentLine=!0,"keyword"):e.match(A)?(t.doInCurrentLine?t.doInCurrentLine=!1:i(e,t),"keyword"):e.match(C)?"keyword":e.match(T)?(o(e,t),o(e,t),"keyword"):e.match(S)?(o(e,t),"keyword"):e.match(w)?"keyword":e.match(k)?"keyword":e.match(m)?"variable":(e.next(),u)}function s(e){var t=1==e.length,r="string";return function(i,o){for(;!i.eol();){if(i.eatWhile(/[^'"]/),i.match(e))return o.tokenize=a,r;i.eat(/['"]/)}if(t){if(n.singleLineStringErrors)return u;o.tokenize=a}return r}}function l(e,t){var n=t.tokenize(e,t),r=e.current();if("."===r)return n=t.tokenize(e,t),r=e.current(),"variable"===n?"variable":u;var a="[({".indexOf(r);return a!==-1&&i(e,t),"dedent"===D&&o(e,t)?u:(a="])}".indexOf(r),a!==-1&&o(e,t)?u:n)}var u="error",c=new RegExp("^[\\+\\-\\*/%&\\\\|\\^~<>!]"),d=new RegExp("^[\\(\\)\\[\\]\\{\\}@,:`=;\\.]"),f=new RegExp("^((==)|(<>)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\*\\*))"),p=new RegExp("^((\\+=)|(\\-=)|(\\*=)|(%=)|(/=)|(&=)|(\\|=)|(\\^=))"),h=new RegExp("^((//=)|(>>=)|(<<=)|(\\*\\*=))"),m=new RegExp("^[_A-Za-z][_A-Za-z0-9]*"),g=["class","module","sub","enum","select","while","if","function","get","set","property","try"],$=["else","elseif","case","catch"],_=["next","loop"],v=["and","or","not","xor","in"],b=r(v),y=["as","dim","break","continue","optional","then","until","goto","byval","byref","new","handles","property","return","const","private","protected","friend","public","shared","static","true","false"],x=["integer","string","double","decimal","boolean","short","char","float","single"],k=r(y),w=r(x),E='"',A=r(g),C=r($),S=r(_),T=r(["end"]),M=r(["do"]),D=null;e.registerHelper("hintWords","vb",g.concat($).concat(_).concat(v).concat(y).concat(x));var L={electricChars:"dDpPtTfFeE ",startState:function(){return{tokenize:a,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1}},token:function(e,t){e.sol()&&(t.currentIndent+=t.nextLineIndent,t.nextLineIndent=0,t.doInCurrentLine=0);var n=l(e,t);return t.lastToken={style:n,content:e.current()},n},indent:function(e,n){var r=n.replace(/^\s+|\s+$/g,"");return r.match(S)||r.match(T)||r.match(C)?t.indentUnit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*t.indentUnit},lineComment:"'"};return L}),e.defineMIME("text/x-vb","vb")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("vbscript",function(e,t){function n(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}function r(e,t){t.currentIndent++}function i(e,t){t.currentIndent--}function o(e,t){if(e.eatSpace())return"space";var n=e.peek();if("'"===n)return e.skipToEnd(),"comment";if(e.match(z))return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.]/i,!1)&&!e.match(/^((&H)|(&O))?[0-9\.]+[a-z_]/i,!1)){var o=!1;if(e.match(/^\d*\.\d+/i)?o=!0:e.match(/^\d+\.\d*/)?o=!0:e.match(/^\.\d+/)&&(o=!0),o)return e.eat(/J/i),"number";var s=!1;if(e.match(/^&H[0-9a-f]+/i)?s=!0:e.match(/^&O[0-7]+/i)?s=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),s=!0):e.match(/^0(?![\dx])/i)&&(s=!0),s)return e.eat(/L/i),"number"}return e.match(O)?(t.tokenize=a(e.current()),t.tokenize(e,t)):e.match(c)||e.match(u)||e.match($)?"operator":e.match(d)?null:e.match(f)?"bracket":e.match(N)?(t.doInCurrentLine=!0,"keyword"):e.match(j)?(r(e,t),t.doInCurrentLine=!0,"keyword"):e.match(R)?(t.doInCurrentLine?t.doInCurrentLine=!1:r(e,t),"keyword"):e.match(I)?"keyword":e.match(P)?(i(e,t),i(e,t),"keyword"):e.match(B)?(t.doInCurrentLine?t.doInCurrentLine=!1:i(e,t),"keyword"):e.match(T)?"keyword":e.match(M)?"atom":e.match(F)?"variable-2":e.match(D)?"builtin":e.match(L)?"variable-2":e.match(p)?"variable":(e.next(),l)}function a(e){var n=1==e.length,r="string";return function(i,a){for(;!i.eol();){if(i.eatWhile(/[^'"]/),i.match(e))return a.tokenize=o,r;i.eat(/['"]/)}if(n){if(t.singleLineStringErrors)return l;a.tokenize=o}return r}}function s(e,t){var n=t.tokenize(e,t),r=e.current();return"."===r?(n=t.tokenize(e,t),r=e.current(),!n||"variable"!==n.substr(0,8)&&"builtin"!==n&&"keyword"!==n?l:("builtin"!==n&&"keyword"!==n||(n="variable"),S.indexOf(r.substr(1))>-1&&(n="variable-2"),n)):n}var l="error",u=new RegExp("^[\\+\\-\\*/&\\\\\\^<>=]"),c=new RegExp("^((<>)|(<=)|(>=))"),d=new RegExp("^[\\.,]"),f=new RegExp("^[\\(\\)]"),p=new RegExp("^[A-Za-z][_A-Za-z0-9]*"),h=["class","sub","select","while","if","function","property","with","for"],m=["else","elseif","case"],g=["next","loop","wend"],$=n(["and","or","not","xor","is","mod","eqv","imp"]),_=["dim","redim","then","until","randomize","byval","byref","new","property","exit","in","const","private","public","get","set","let","stop","on error resume next","on error goto 0","option explicit","call","me"],v=["true","false","nothing","empty","null"],b=["abs","array","asc","atn","cbool","cbyte","ccur","cdate","cdbl","chr","cint","clng","cos","csng","cstr","date","dateadd","datediff","datepart","dateserial","datevalue","day","escape","eval","execute","exp","filter","formatcurrency","formatdatetime","formatnumber","formatpercent","getlocale","getobject","getref","hex","hour","inputbox","instr","instrrev","int","fix","isarray","isdate","isempty","isnull","isnumeric","isobject","join","lbound","lcase","left","len","loadpicture","log","ltrim","rtrim","trim","maths","mid","minute","month","monthname","msgbox","now","oct","replace","rgb","right","rnd","round","scriptengine","scriptenginebuildversion","scriptenginemajorversion","scriptengineminorversion","second","setlocale","sgn","sin","space","split","sqr","strcomp","string","strreverse","tan","time","timer","timeserial","timevalue","typename","ubound","ucase","unescape","vartype","weekday","weekdayname","year"],y=["vbBlack","vbRed","vbGreen","vbYellow","vbBlue","vbMagenta","vbCyan","vbWhite","vbBinaryCompare","vbTextCompare","vbSunday","vbMonday","vbTuesday","vbWednesday","vbThursday","vbFriday","vbSaturday","vbUseSystemDayOfWeek","vbFirstJan1","vbFirstFourDays","vbFirstFullWeek","vbGeneralDate","vbLongDate","vbShortDate","vbLongTime","vbShortTime","vbObjectError","vbOKOnly","vbOKCancel","vbAbortRetryIgnore","vbYesNoCancel","vbYesNo","vbRetryCancel","vbCritical","vbQuestion","vbExclamation","vbInformation","vbDefaultButton1","vbDefaultButton2","vbDefaultButton3","vbDefaultButton4","vbApplicationModal","vbSystemModal","vbOK","vbCancel","vbAbort","vbRetry","vbIgnore","vbYes","vbNo","vbCr","VbCrLf","vbFormFeed","vbLf","vbNewLine","vbNullChar","vbNullString","vbTab","vbVerticalTab","vbUseDefault","vbTrue","vbFalse","vbEmpty","vbNull","vbInteger","vbLong","vbSingle","vbDouble","vbCurrency","vbDate","vbString","vbObject","vbError","vbBoolean","vbVariant","vbDataObject","vbDecimal","vbByte","vbArray"],x=["WScript","err","debug","RegExp"],k=["description","firstindex","global","helpcontext","helpfile","ignorecase","length","number","pattern","source","value","count"],w=["clear","execute","raise","replace","test","write","writeline","close","open","state","eof","update","addnew","end","createobject","quit"],E=["server","response","request","session","application"],A=["buffer","cachecontrol","charset","contenttype","expires","expiresabsolute","isclientconnected","pics","status","clientcertificate","cookies","form","querystring","servervariables","totalbytes","contents","staticobjects","codepage","lcid","sessionid","timeout","scripttimeout"],C=["addheader","appendtolog","binarywrite","end","flush","redirect","binaryread","remove","removeall","lock","unlock","abandon","getlasterror","htmlencode","mappath","transfer","urlencode"],S=w.concat(k);x=x.concat(y),e.isASP&&(x=x.concat(E),S=S.concat(C,A));var T=n(_),M=n(v),D=n(b),L=n(x),F=n(S),O='"',R=n(h),I=n(m),B=n(g),P=n(["end"]),j=n(["do"]),N=n(["on error resume next","exit"]),z=n(["rem"]),q={electricChars:"dDpPtTfFeE ",startState:function(){return{tokenize:o,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1,ignoreKeyword:!1}},token:function(e,t){e.sol()&&(t.currentIndent+=t.nextLineIndent,t.nextLineIndent=0,t.doInCurrentLine=0);var n=s(e,t);return t.lastToken={style:n,content:e.current()},"space"===n&&(n=null),n},indent:function(t,n){var r=n.replace(/^\s+|\s+$/g,"");return r.match(B)||r.match(P)||r.match(I)?e.indentUnit*(t.currentIndent-1):t.currentIndent<0?0:t.currentIndent*e.indentUnit}};return q}),e.defineMIME("text/vbscript","vbscript")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("velocity",function(){function e(e){for(var t={},n=e.split(" "),r=0;rf.length&&"."==e.string.charAt(e.pos-f.length-1)&&n.lastTokenWasBuiltin?"builtin":(n.lastTokenWasBuiltin=!1,null)}return n.lastTokenWasBuiltin=!1,n.inString?(n.inString=!1,"string"):n.inParams?t(e,n,r(d)):void 0}function r(e){return function(t,r){for(var i,o=!1,a=!1;null!=(i=t.next());){if(i==e&&!o){a=!0;break}if('"'==e&&"$"==t.peek()&&!o){r.inString=!0,a=!0;break}o=!o&&"\\"==i}return a&&(r.tokenize=n),"string"}}function i(e,t){for(var r,i=!1;r=e.next();){if("#"==r&&i){t.tokenize=n;break}i="*"==r}return"comment"}function o(e,t){for(var r,i=0;r=e.next();){if("#"==r&&2==i){t.tokenize=n;break}"]"==r?i++:" "!=r&&(i=0)}return"meta"}var a=e("#end #else #break #stop #[[ #]] #{end} #{else} #{break} #{stop}"),s=e("#if #elseif #foreach #set #include #parse #macro #define #evaluate #{if} #{elseif} #{foreach} #{set} #{include} #{parse} #{macro} #{define} #{evaluate}"),l=e("$foreach.count $foreach.hasNext $foreach.first $foreach.last $foreach.topmost $foreach.parent.count $foreach.parent.hasNext $foreach.parent.first $foreach.parent.last $foreach.parent $velocityCount $!bodyContent $bodyContent"),u=/[+\-*&%=<>!?:\/|]/;return{startState:function(){return{tokenize:n,beforeParams:!1,inParams:!1,inString:!1,lastTokenWasBuiltin:!1}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},blockCommentStart:"#*",blockCommentEnd:"*#",lineComment:"##",fold:"velocity"}}),e.defineMIME("text/velocity","velocity")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";function t(e,t,n){var r=t/o;return"tlv-"+e.tlvIndentationStyle[r]+"-"+n}function n(e){var t;return(t=e.match(s,!1))&&t[2].length>0}e.defineMode("verilog",function(t,n){function r(e){for(var t={},n=e.split(" "),r=0;r=0)return r}var o=t.context,a=n&&n.charAt(0);"statement"==o.type&&"}"==a&&(o=o.prev);var s=!1,l=n.match(T);return l&&(s=c(l[0],o.type)),"statement"==o.type?o.indented+("{"==a?0:m):M.test(o.type)&&o.align&&!g?o.column+(s?0:1):")"!=o.type||s?o.indented+(s?0:h):o.indented+m},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),e.defineMIME("text/x-verilog",{name:"verilog"}),e.defineMIME("text/x-systemverilog",{name:"verilog"});var r={"|":"link",">":"property",$:"variable",$$:"variable","?$":"qualifier","?*":"qualifier","-":"hr","/":"property","/-":"property","@":"variable-3","@-":"variable-3","@++":"variable-3","@+=":"variable-3","@+=-":"variable-3","@--":"variable-3","@-=":"variable-3","%+":"tag","%-":"tag","%":"tag",">>":"tag","<<":"tag","<>":"tag","#":"tag","^":"attribute","^^":"attribute","^!":"attribute","*":"variable-2","**":"variable-2","\\":"keyword",'"':"comment"},i={"/":"beh-hier",">":"beh-hier","-":"phys-hier","|":"pipe","?":"when","@":"stage","\\":"keyword"},o=3,a=!1,s=/^([~!@#\$%\^&\*-\+=\?\/\\\|'"<>]+)([\d\w_]*)/,l=/^[! ] /,u=/^[! ] */,c=/^\/[\/\*]/;e.defineMIME("text/x-tlv",{name:"verilog",hooks:{electricInput:!1,token:function(e,d){var f,p=void 0;if(e.sol()&&!d.tlvInBlockComment){"\\"==e.peek()&&(p="def",e.skipToEnd(),e.string.match(/\\SV/)?d.tlvCodeActive=!1:e.string.match(/\\TLV/)&&(d.tlvCodeActive=!0)),d.tlvCodeActive&&0==e.pos&&0==d.indented&&(f=e.match(u,!1))&&(d.indented=f[0].length);var h=d.indented,m=h/o;if(m<=d.tlvIndentationStyle.length){var g=e.string.length==h,$=m*o;if($0||(d.tlvIndentationStyle[m]=i[v],a&&(d.statementComment=!1),m++))}if(!g)for(;d.tlvIndentationStyle.length>m;)d.tlvIndentationStyle.pop()}d.tlvNextIndent=h}if(d.tlvCodeActive){var b=!1;a&&(b=" "!=e.peek()&&void 0===p&&!d.tlvInBlockComment&& +//!stream.match(tlvCommentMatch, false) && // not comment start +e.column()==d.tlvIndentationStyle.length*o,b&&(d.statementComment&&(b=!1),d.statementComment=e.match(c,!1)));var f;if(void 0!==p)p+=" "+t(d,0,"scope-ident");else if(e.pos/o0||e.eol())?(p=r[y],e.column()==d.indented&&(p+=" "+t(d,e.column(),"scope-ident"))):(e.backUp(e.current().length-1),p="tlv-default")}else e.match(/^\t+/)?p="tlv-tab":e.match(/^[\[\]{}\(\);\:]+/)?p="meta":(f=e.match(/^[mM]4([\+_])?[\w\d_]*/))?p="+"==f[1]?"tlv-m4-plus":"tlv-m4":e.match(/^ +/)?p=e.eol()?"error":"tlv-default":e.match(/^[\w\d_]+/)?p="number":(e.next(),p="tlv-default");b&&(p+=" tlv-statement")}else e.match(/^[mM]4([\w\d_]*)/)&&(p="tlv-m4");return p},indent:function(e){return 1==e.tlvCodeActive?e.tlvNextIndent:-1},startState:function(e){e.tlvIndentationStyle=[],e.tlvCodeActive=!0,e.tlvNextIndent=-1,e.tlvInBlockComment=!1,a&&(e.statementComment=!1)}}})})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";function t(e){for(var t={},n=e.split(","),r=0;r?]/,g=/^-?([1-9][0-9]*|0[Xx][0-9A-Fa-f]+|0[0-7]*)/,$=/^-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+)/,_=/^_?[A-Za-z][0-9A-Z_a-z-]*/,v=/^_?[A-Za-z][0-9A-Z_a-z-]*(?=\s*;)/,b=/^"[^"]*"/,y=/^\/\*.*?\*\//,x=/^\/\*.*/,k=/^.*?\*\//;e.defineMode("webidl",function(){return{startState:function(){return{inComment:!1,lastToken:"",startDef:!1,endDef:!1}},token:function(e,t){var r=n(e,t);if(r){var i=e.current();t.lastToken=i,"keyword"===r?(t.startDef=f.test(i),t.endDef=t.endDef||h.test(i)):t.startDef=!1}return r}}}),e.defineMIME("text/x-webidl","webidl")})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("xquery",function(){function e(e,t,n){return t.tokenize=n,n(e,t)}function t(t,a){var d=t.next(),p=!1,m=h(t);if("<"==d){if(t.match("!--",!0))return e(t,a,s);if(t.match("![CDATA",!1))return a.tokenize=l,"tag";if(t.match("?",!1))return e(t,a,u);var v=t.eat("/");t.eatSpace();for(var b,y="";b=t.eat(/[^\s\u00a0=<>\"\'\/?]/);)y+=b;return e(t,a,o(y,v))}if("{"==d)return g(a,{type:"codeblock"}),null;if("}"==d)return $(a),null;if(c(a))return">"==d?"tag":"/"==d&&t.eat(">")?($(a),"tag"):"variable";if(/\d/.test(d))return t.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/),"atom";if("("===d&&t.eat(":"))return g(a,{type:"comment"}),e(t,a,n);if(m||'"'!==d&&"'"!==d){if("$"===d)return e(t,a,i);if(":"===d&&t.eat("="))return"keyword";if("("===d)return g(a,{type:"paren"}),null;if(")"===d)return $(a),null;if("["===d)return g(a,{type:"bracket"}),null;if("]"===d)return $(a),null;var x=_.propertyIsEnumerable(d)&&_[d];if(m&&'"'===d)for(;'"'!==t.next(););if(m&&"'"===d)for(;"'"!==t.next(););x||t.eatWhile(/[\w\$_-]/);var k=t.eat(":");!t.eat(":")&&k&&t.eatWhile(/[\w\$_-]/),t.match(/^[ \t]*\(/,!1)&&(p=!0);var w=t.current();return x=_.propertyIsEnumerable(w)&&_[w],p&&!x&&(x={type:"function_call",style:"variable def"}),f(a)?($(a),"variable"):("element"!=w&&"attribute"!=w&&"axis_specifier"!=x.type||g(a,{type:"xmlconstructor"}),x?x.style:"variable")}return e(t,a,r(d))}function n(e,t){for(var n,r=!1,i=!1,o=0;n=e.next();){if(")"==n&&r){if(!(o>0)){$(t);break}o--}else":"==n&&i&&o++;r=":"==n,i="("==n}return"comment"}function r(e,n){return function(i,o){var a;if(p(o)&&i.current()==e)return $(o),n&&(o.tokenize=n),"string";if(g(o,{type:"string",name:e,tokenize:r(e,n)}),i.match("{",!1)&&d(o))return o.tokenize=t,"string";for(;a=i.next();){if(a==e){$(o),n&&(o.tokenize=n);break}if(i.match("{",!1)&&d(o))return o.tokenize=t,"string"}return"string"}}function i(e,n){var r=/[\w\$_-]/;if(e.eat('"')){for(;'"'!==e.next(););e.eat(":")}else e.eatWhile(r),e.match(":=",!1)||e.eat(":");return e.eatWhile(r),n.tokenize=t,"variable"}function o(e,n){return function(r,i){return r.eatSpace(),n&&r.eat(">")?($(i),i.tokenize=t,"tag"):(r.eat("/")||g(i,{type:"tag",name:e,tokenize:t}),r.eat(">")?(i.tokenize=t,"tag"):(i.tokenize=a,"tag"))}}function a(n,i){var o=n.next();return"/"==o&&n.eat(">")?(d(i)&&$(i),c(i)&&$(i),"tag"):">"==o?(d(i)&&$(i),"tag"):"="==o?null:'"'==o||"'"==o?e(n,i,r(o,a)):(d(i)||g(i,{type:"attribute",tokenize:a}),n.eat(/[a-zA-Z_:]/),n.eatWhile(/[-a-zA-Z0-9_:.]/),n.eatSpace(),(n.match(">",!1)||n.match("/",!1))&&($(i),i.tokenize=t),"attribute")}function s(e,n){for(var r;r=e.next();)if("-"==r&&e.match("->",!0))return n.tokenize=t,"comment"}function l(e,n){for(var r;r=e.next();)if("]"==r&&e.match("]",!0))return n.tokenize=t,"comment"}function u(e,n){for(var r;r=e.next();)if("?"==r&&e.match(">",!0))return n.tokenize=t,"comment meta"}function c(e){return m(e,"tag")}function d(e){return m(e,"attribute")}function f(e){return m(e,"xmlconstructor")}function p(e){return m(e,"string")}function h(e){return'"'===e.current()?e.match(/^[^\"]+\"\:/,!1):"'"===e.current()&&e.match(/^[^\"]+\'\:/,!1)}function m(e,t){return e.stack.length&&e.stack[e.stack.length-1].type==t}function g(e,t){e.stack.push(t)}function $(e){e.stack.pop();var n=e.stack.length&&e.stack[e.stack.length-1].tokenize;e.tokenize=n||t}var _=function(){function e(e){return{type:e,style:"keyword"}}for(var t=e("keyword a"),n=e("keyword b"),r=e("keyword c"),i=e("operator"),o={type:"atom",style:"atom"},a={type:"punctuation",style:null},s={type:"axis_specifier",style:"qualifier"},l={if:t,switch:t,while:t,for:t,else:n,then:n,try:n,finally:n,catch:n,element:r,attribute:r,let:r,implements:r,import:r,module:r,namespace:r,return:r,super:r,this:r,throws:r,where:r,private:r,",":a,null:o,"fn:false()":o,"fn:true()":o},u=["after","ancestor","ancestor-or-self","and","as","ascending","assert","attribute","before","by","case","cast","child","comment","declare","default","define","descendant","descendant-or-self","descending","document","document-node","element","else","eq","every","except","external","following","following-sibling","follows","for","function","if","import","in","instance","intersect","item","let","module","namespace","node","node","of","only","or","order","parent","precedes","preceding","preceding-sibling","processing-instruction","ref","return","returns","satisfies","schema","schema-element","self","some","sortby","stable","text","then","to","treat","typeswitch","union","variable","version","where","xquery","empty-sequence"],c=0,d=u.length;c",">=","<","<=",".","|","?","and","or","div","idiv","mod","*","/","+","-"],c=0,d=p.length;c|<|&|\||_|`|'|\^|\?|!|%)/,!0,!1)?"operator":"error"}function o(e,t){for(var n,r=!1,o=!1;null!=(n=e.next());){if('"'===n&&!o){r=!0;break}o=!o&&"\\"===n}return r&&!o&&(t.tokenize=i),"string"}function a(e,t){for(var n,r;null!=(r=e.next());){if("*"===n&&"/"===r){t.tokenize=i;break}n=r}return"comment"}function s(e){var t=null;return e.scopes.length>0&&(t=e.scopes[e.scopes.length-1]),t}var l=r("Assert BackQuote D Defun Deriv For ForEach FromFile FromString Function Integrate InverseTaylor Limit LocalSymbols Macro MacroRule MacroRulePattern NIntegrate Rule RulePattern Subst TD TExplicitSum TSum Taylor Taylor1 Taylor2 Taylor3 ToFile ToStdout ToString TraceRule Until While"),u="(?:(?:\\.\\d+|\\d+\\.\\d*|\\d+)(?:[eE][+-]?\\d+)?)",c="(?:[a-zA-Z\\$'][a-zA-Z0-9\\$']*)",d=new RegExp(u),f=new RegExp(c),p=new RegExp(c+"?_"+c),h=new RegExp(c+"\\s*\\(");return{startState:function(){return{tokenize:i,scopes:[]}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},indent:function(n,r){if(n.tokenize!==i&&null!==n.tokenize)return e.Pass;var o=0;return"]"!==r&&"];"!==r&&"}"!==r&&"};"!==r&&");"!==r||(o=-1),(n.scopes.length+o)*t.indentUnit},electricChars:"{}[]();",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),e.defineMIME("text/x-yacas",{name:"yacas"})})},function(e,t,n){!function(e){e(n(1),n(136))}(function(e){var t=0,n=1,r=2;e.defineMode("yaml-frontmatter",function(i,o){function a(e){return e.state==r?l:s}var s=e.getMode(i,"yaml"),l=e.getMode(i,o&&o.base||"gfm");return{startState:function(){return{state:t,inner:e.startState(s)}},copyState:function(t){return{state:t.state,inner:e.copyState(a(t),t.inner)}},token:function(i,o){if(o.state==t)return i.match(/---/,!1)?(o.state=n,s.token(i,o.inner)):(o.state=r,o.inner=e.startState(l),l.token(i,o.inner));if(o.state==n){var a=i.sol()&&i.match(/---/,!1),u=s.token(i,o.inner);return a&&(o.state=r,o.inner=e.startState(l)),u}return l.token(i,o.inner)},innerMode:function(e){return{mode:a(e),state:e.inner}},blankLine:function(e){var t=a(e);if(t.blankLine)return t.blankLine(e.inner)}}})})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";e.defineMode("z80",function(e,t){var n,r,i=t.ez80;i?(n=/^(exx?|(ld|cp)([di]r?)?|[lp]ea|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|[de]i|halt|im|in([di]mr?|ir?|irx|2r?)|ot(dmr?|[id]rx|imr?)|out(0?|[di]r?|[di]2r?)|tst(io)?|slp)(\.([sl]?i)?[sl])?\b/i,r=/^(((call|j[pr]|rst|ret[in]?)(\.([sl]?i)?[sl])?)|(rs|st)mix)\b/i):(n=/^(exx?|(ld|cp|in)([di]r?)?|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|rst|[de]i|halt|im|ot[di]r|out[di]?)\b/i,r=/^(call|j[pr]|ret[in]?|b_?(call|jump))\b/i);var o=/^(af?|bc?|c|de?|e|hl?|l|i[xy]?|r|sp)\b/i,a=/^(n?[zc]|p[oe]?|m)\b/i,s=/^([hl][xy]|i[xy][hl]|slia|sll)\b/i,l=/^([\da-f]+h|[0-7]+o|[01]+b|\d+d?)\b/i;return{startState:function(){return{context:0}},token:function(e,t){if(e.column()||(t.context=0),e.eatSpace())return null;var u;if(e.eatWhile(/\w/)){if(i&&e.eat(".")&&e.eatWhile(/\w/),u=e.current(),!e.indentation())return e.match(l)?"number":null;if((1==t.context||4==t.context)&&o.test(u))return t.context=4,"var2";if(2==t.context&&a.test(u))return t.context=4,"var3";if(n.test(u))return t.context=1,"keyword";if(r.test(u))return t.context=2,"keyword";if(4==t.context&&l.test(u))return"number";if(s.test(u))return"error"}else{if(e.eat(";"))return e.skipToEnd(),"comment";if(e.eat('"')){for(;(u=e.next())&&'"'!=u;)"\\"==u&&e.next();return"string"}if(e.eat("'")){if(e.match(/\\?.'/))return"number"}else if(e.eat(".")||e.sol()&&e.eat("#")){if(t.context=5,e.eatWhile(/\w/))return"def"}else if(e.eat("$")){if(e.eatWhile(/[\da-f]/i))return"number"}else if(e.eat("%")){if(e.eatWhile(/[01]/))return"number"}else e.next()}return null}}}),e.defineMIME("text/x-z80","z80"),e.defineMIME("text/x-ez80",{name:"z80",ez80:!0})})},,function(e,t,n){function r(e){if(e)return i(e)}function i(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var r,i=0;ic;)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(503);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(45),i=n(77),o=n(55);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),l=o.f,u=0;s.length>u;)l.call(e,a=s[u++])&&t.push(a);return t}},function(e,t,n){e.exports=n(17).document&&document.documentElement},function(e,t,n){var r=n(137);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){"use strict";var r=n(142),i=n(56),o=n(78),a={};n(32)(a,n(33)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(45),i=n(24);e.exports=function(e,t){for(var n,o=i(e),a=r(o),s=a.length,l=0;s>l;)if(o[n=a[l++]]===t)return n}},function(e,t,n){var r=n(57)("meta"),i=n(54),o=n(22),a=n(23).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(44)(function(){return l(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},f=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},p=function(e){return u&&h.NEED&&l(e)&&!o(e,r)&&c(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:f,onFreeze:p}},function(e,t,n){"use strict";var r=n(45),i=n(77),o=n(55),a=n(146),s=n(140),l=Object.assign;e.exports=!l||n(44)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=a(e),l=arguments.length,u=1,c=i.f,d=o.f;l>u;)for(var f,p=s(arguments[u++]),h=c?r(p).concat(c(p)):r(p),m=h.length,g=0;m>g;)d.call(p,f=h[g++])&&(n[f]=p[f]);return n}:l},function(e,t,n){var r=n(23),i=n(52),o=n(45);e.exports=n(21)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(55),i=n(56),o=n(24),a=n(82),s=n(22),l=n(139),u=Object.getOwnPropertyDescriptor;t.f=n(21)?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(24),i=n(143).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},function(e,t,n){var r=n(22),i=n(146),o=n(79)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(81),i=n(73);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):(o-55296<<10)+(a-56320)+65536)}}},function(e,t,n){var r=n(81),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},function(e,t,n){var r=n(81),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(504),i=n(511),o=n(75),a=n(24);e.exports=n(141)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(53);r(r.S+r.F,"Object",{assign:n(514)})},function(e,t,n){var r=n(53);r(r.S+r.F*!n(21),"Object",{defineProperty:n(23).f})},function(e,t){},function(e,t,n){"use strict";var r=n(519)(!0);n(141)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){"use strict";var r=n(17),i=n(22),o=n(21),a=n(53),s=n(145),l=n(513).KEY,u=n(44),c=n(80),d=n(78),f=n(57),p=n(33),h=n(84),m=n(83),g=n(512),$=n(507),_=n(509),v=n(52),b=n(24),y=n(82),x=n(56),k=n(142),w=n(517),E=n(516),A=n(23),C=n(45),S=E.f,T=A.f,M=w.f,D=r.Symbol,L=r.JSON,F=L&&L.stringify,O="prototype",R=p("_hidden"),I=p("toPrimitive"),B={}.propertyIsEnumerable,P=c("symbol-registry"),j=c("symbols"),N=c("op-symbols"),z=Object[O],q="function"==typeof D,Y=r.QObject,H=!Y||!Y[O]||!Y[O].findChild,U=o&&u(function(){return 7!=k(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=S(z,t);r&&delete z[t],T(e,t,n),r&&e!==z&&T(z,t,r)}:T,W=function(e){var t=j[e]=k(D[O]);return t._k=e,t},G=q&&"symbol"==typeof D.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof D},V=function(e,t,n){return e===z&&V(N,t,n),v(e),t=y(t,!0),v(n),i(j,t)?(n.enumerable?(i(e,R)&&e[R][t]&&(e[R][t]=!1),n=k(n,{enumerable:x(0,!1)})):(i(e,R)||T(e,R,x(1,{})),e[R][t]=!0),U(e,t,n)):T(e,t,n)},K=function(e,t){v(e);for(var n,r=$(t=b(t)),i=0,o=r.length;o>i;)V(e,n=r[i++],t[n]);return e},J=function(e,t){return void 0===t?k(e):K(k(e),t)},X=function(e){var t=B.call(this,e=y(e,!0));return!(this===z&&i(j,e)&&!i(N,e))&&(!(t||!i(this,e)||!i(j,e)||i(this,R)&&this[R][e])||t)},Z=function(e,t){if(e=b(e),t=y(t,!0),e!==z||!i(j,t)||i(N,t)){var n=S(e,t);return!n||!i(j,t)||i(e,R)&&e[R][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=M(b(e)),r=[],o=0;n.length>o;)i(j,t=n[o++])||t==R||t==l||r.push(t);return r},ee=function(e){for(var t,n=e===z,r=M(n?N:b(e)),o=[],a=0;r.length>a;)!i(j,t=r[a++])||n&&!i(z,t)||o.push(j[t]);return o};q||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(N,n),i(this,R)&&i(this[R],e)&&(this[R][e]=!1),U(this,e,x(1,n))};return o&&H&&U(z,e,{configurable:!0,set:t}),W(e)},s(D[O],"toString",function(){return this._k}),E.f=Z,A.f=V,n(143).f=w.f=Q,n(55).f=X,n(77).f=ee,o&&!n(76)&&s(z,"propertyIsEnumerable",X,!0),h.f=function(e){return W(p(e))}),a(a.G+a.W+a.F*!q,{Symbol:D});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var te=C(p.store),ne=0;te.length>ne;)m(te[ne++]);a(a.S+a.F*!q,"Symbol",{for:function(e){return i(P,e+="")?P[e]:P[e]=D(e)},keyFor:function(e){if(G(e))return g(P,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){H=!0},useSimple:function(){H=!1}}),a(a.S+a.F*!q,"Object",{create:J,defineProperty:V,defineProperties:K,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:ee}),L&&a(a.S+a.F*(!q||u(function(){var e=D();return"[null]"!=F([e])||"{}"!=F({a:e})||"{}"!=F(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!G(e)){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);return t=r[1],"function"==typeof t&&(n=t),!n&&_(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,F.apply(L,r)}}}),D[O][I]||n(32)(D[O],I,D[O].valueOf),d(D,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){n(83)("asyncIterator")},function(e,t,n){n(83)("observable")},function(e,t,n){n(522);for(var r=n(17),i=n(32),o=n(75),a=n(33)("toStringTag"),s=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],l=0;l<5;l++){var u=s[l],c=r[u],d=c&&c.prototype;d&&!d[a]&&i(d,a,u),o[u]=o.Array}},function(e,t,n){(function(t){function r(e,n){if(!(this instanceof r))return new r(e,n);this._opad=l,this._alg=e;var a="sha512"===e?128:64;n=this._key=t.isBuffer(n)?n:new t(n),n.length>a?n=i(e).update(n).digest():n.length>5]|=128<>>9<<4)+14]=t;for(var n=1732584193,r=-271733879,i=-1732584194,c=271733878,d=0;d>16)+(t>>16)+(n>>16);return r<<16|65535&n}function c(e,t){return e<>>32-t}var d=n(532);e.exports=function(e){return d.hash(e,r,16)}},function(e,t,n){var r=n(689);e.exports=function(e,t){t=t||{};var n=r(e);return t.pbkdf2=n.pbkdf2,t.pbkdf2Sync=n.pbkdf2Sync,t}},function(e,t,n){(function(t,r){!function(){var i=("undefined"==typeof window?t:window)||{};_crypto=i.crypto||i.msCrypto||n(790),e.exports=function(e){if(_crypto.getRandomValues){var t=new r(e);return _crypto.getRandomValues(t),t}if(_crypto.randomBytes)return _crypto.randomBytes(e);throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}}()}).call(t,function(){return this}(),n(3).Buffer)},function(e,t,n){function r(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}function i(e){function n(){if(n.enabled){var e=n,r=+new Date,i=r-(u||r);e.diff=i,e.prev=u,e.curr=r,u=r;for(var o=new Array(arguments.length),a=0;a=0&&this._listeners[e].splice(n,1)}},e.prototype.dispatchEvent=function(e){if(this._listeners[e.type]&&this._listeners[e.type].length)for(var t=this._listeners[e.type].slice(),n=0,r=t.length;n1&&void 0!==arguments[1]?arguments[1]:"https://api.github.com";i(this,e),this.__apiBase=n,this.__auth=t||{}}return o(e,[{key:"getGist",value:function(e){return new s.default(e,this.__auth,this.__apiBase)}},{key:"getUser",value:function(e){return new u.default(e,this.__auth,this.__apiBase)}},{key:"getOrganization",value:function(e){return new v.default(e,this.__auth,this.__apiBase)}},{key:"getTeam",value:function(e){return new y.default(e,this.__auth,this.__apiBase)}},{key:"getRepo",value:function(e,t){return new $.default(this._getFullName(e,t),this.__auth,this.__apiBase)}},{key:"getIssues",value:function(e,t){return new d.default(this._getFullName(e,t),this.__auth,this.__apiBase)}},{key:"search",value:function(e){return new p.default(e,this.__auth,this.__apiBase)}},{key:"getRateLimit",value:function(){return new m.default(this.__auth,this.__apiBase)}},{key:"getMarkdown",value:function(){return new k.default(this.__auth,this.__apiBase)}},{key:"getProject",value:function(e){return new E.default(e,this.__auth,this.__apiBase)}},{key:"getAuthorization",value:function(){return new C.default(this.__auth,this.__apiBase)}},{key:"_getFullName",value:function(e,t){var n=e;return t&&(n=e+"/"+t),n}}]),e}();e.exports=S},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i={};return Object.keys(this.__defaults).forEach(function(e){i[e]=t.__defaults[e]}),Object.keys(n).forEach(function(e){i[e]=n[e]}),f("searching "+e+" with options:",i),this._requestAllPages("/search/"+e,i,r)}},{key:"forRepositories",value:function(e,t){return this._search("repositories",e,t)}},{key:"forCode",value:function(e,t){return this._search("code",e,t)}},{key:"forIssues",value:function(e,t){return this._search("issues",e,t)}},{key:"forUsers",value:function(e,t){return this._search("users",e,t)}}]),t}(u.default);e.exports=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{rootState:{},currentState:{},payload:{}},n=t.nextState||c.default.cloneDeep(t.currentState),r=Object.assign(t,{event:e,nextState:n});return d[e]=d[e]||[],d[e].length||(console.info("No plugin have a callback for the event "+e),d[e].push(function(t){return console.log("Default event function for "+e,t),t})),d[e].concat(d["*"]).reduce(function(e,t){return e.then(t)},l.default.resolve(r))}function o(e,t){(d[e]||(d[e]=[])).push(t)}function a(){for(var e={on:o,fire:i},t=arguments.length,n=Array(t),r=0;r{3,}$/,next:"start"},{token:"literal",regex:/^\.{4,}\s*$/,next:"listingBlock"},{token:"titleUnderline",regex:/^(?:={2,}|-{2,}|~{2,}|\^{2,}|\+{2,})\s*$/,next:"start"},{token:"singleLineTitle",regex:/^={1}\s+\S.*$/,next:"start"},{token:"singleLineTitle2",regex:/^={2}\s+\S.*$/,next:"start"},{token:"singleLineTitle3",regex:/^={3}\s+\S.*$/,next:"start"},{token:"singleLineTitle4",regex:/^={4}\s+\S.*$/,next:"start"},{token:"singleLineTitle5",regex:/^={5}\s+\S.*$/,next:"start"},{token:"singleLineTitle6",regex:/^={6}\s+\S.*$/,next:"start"},{token:"otherBlock",regex:/^(?:\*{2,}|_{2,})\s*$/,next:"start"},{token:"optionalTitle",regex:/^\.[^.\s].+$/,next:"start"}],listStart:[{token:"keyword",regex:/^\s*(?:\d+\.|[a-zA-Z]\.|[ixvmIXVM]+\)|\*{1,5}|-|\.{1,5})\s/,next:"listText"},{token:"meta.tag",regex:/^.+(?::{2,4}|;;)(?: |$)/,next:"listText"},{token:"keyword",regex:/^\+\s*$/,next:"start"}],text:[{token:["link","link"],regex:/((?:https?:\/\/|ftp:\/\/|file:\/\/|mailto:|callto:)[^\s\[]+)(\[.*?\])/},{token:["link","link"],regex:/(?:https?:\/\/|ftp:\/\/|file:\/\/|mailto:|callto:)[^\s\[]+/},{token:"link",regex:/\b[\w\.\/\-]+@[\w\.\/\-]+\b/},{include:"macros"},{include:"paragraphEnd"},{token:"literal",regex:/\+{3,}/,next:"smallPassthrough"},{token:"escape",regex:/\((?:C|TM|R)\)|\.{3}|->|<-|=>|<=|&#(?:\d+|x[a-fA-F\d]+);|(?: |^)--(?=\s+\S)/},{token:"escape",regex:/\\[_*'`+#]|\\{2}[_*'`+#]{2}/},{token:"keyword",regex:/\s\+$/},{token:"text",regex:t},{token:["keyword","string","keyword"],regex:/(<<[\w\d\-$]+,)(.*?)(>>|$)/},{token:"keyword",regex:/<<[\w\d\-$]+,?|>>/},{token:"constant.character",regex:/\({2,3}.*?\){2,3}/},{token:"support.function.list.callout",regex:/^(?:<\d+>|\d+>|>) /,next:"text"},{token:"keyword",regex:/\[\[.+?\]\]/},{token:"support",regex:/^\[{3}[\w\d =\-]+\]{3}/},{include:"quotes"},{token:"empty",regex:/^\s*$/,next:"start"}],listText:[{include:"listStart"},{include:"text"}],indentedBlock:[{token:"literal",regex:/^[\s\w].+$/,next:"indentedBlock"},{token:"literal",regex:"",next:"start"}],listingBlock:[{token:"literal",regex:/^\.{4,}\s*$/,next:"dissallowDelimitedBlock"},{token:"constant.numeric",regex:"<\\d+>"},{token:"literal",regex:"[^<]+"},{token:"literal",regex:"<"}],literalBlock:[{token:"literal",regex:/^-{4,}\s*$/,next:"dissallowDelimitedBlock"},{token:"constant.numeric",regex:"<\\d+>"},{token:"literal",regex:"[^<]+"},{token:"literal",regex:"<"}],passthroughBlock:[{token:"literal",regex:/^\+{4,}\s*$/,next:"dissallowDelimitedBlock"},{token:"literal",regex:t+"|\\d+"},{include:"macros"},{token:"literal",regex:"."}],smallPassthrough:[{token:"literal",regex:/[+]{3,}/,next:"dissallowDelimitedBlock"},{token:"literal",regex:/^\s*$/,next:"dissallowDelimitedBlock"},{token:"literal",regex:t+"|\\d+"},{include:"macros"}],commentBlock:[{token:"doc.comment",regex:/^\/{4,}\s*$/,next:"dissallowDelimitedBlock"},{token:"doc.comment",regex:"^.*$"}],tableBlock:[{token:"tableBlock",regex:/^\s*\|={3,}\s*$/,next:"dissallowDelimitedBlock"},{token:"tableBlock",regex:/^\s*!={3,}\s*$/,next:"innerTableBlock"},{token:"tableBlock",regex:/\|/},{include:"text",noEscape:!0}],innerTableBlock:[{token:"tableBlock",regex:/^\s*!={3,}\s*$/,next:"tableBlock"},{token:"tableBlock",regex:/^\s*|={3,}\s*$/,next:"dissallowDelimitedBlock"},{token:"tableBlock",regex:/\!/}],macros:[{token:"macro",regex:/{[\w\-$]+}/},{token:["text","string","text","constant.character","text"],regex:/({)([\w\-$]+)(:)?(.+)?(})/},{token:["text","markup.list.macro","keyword","string"],regex:/(\w+)(footnote(?:ref)?::?)([^\s\[]+)?(\[.*?\])?/},{token:["markup.list.macro","keyword","string"],regex:/([a-zA-Z\-][\w\.\/\-]*::?)([^\s\[]+)(\[.*?\])?/},{token:["markup.list.macro","keyword"],regex:/([a-zA-Z\-][\w\.\/\-]+::?)(\[.*?\])/},{token:"keyword",regex:/^:.+?:(?= |$)/}],quotes:[{token:"string.italic",regex:/__[^_\s].*?__/},{token:"string.italic",regex:e("_")},{token:"keyword.bold",regex:/\*\*[^*\s].*?\*\*/},{token:"keyword.bold",regex:e("\\*")},{token:"literal",regex:/\+\+[^+\s].*?\+\+/},{token:"literal",regex:e("\\+")},{token:"literal",regex:/\$\$.+?\$\$/},{token:"literal",regex:e("\\$")},{token:"literal",regex:/``[^`\s].*?``/},{token:"literal",regex:e("`")},{token:"keyword",regex:/\^[^\^].*?\^/},{token:"keyword",regex:e("\\^")},{token:"keyword",regex:/~[^~].*?~/},{token:"keyword",regex:e("~")},{token:"keyword",regex:/##?/},{token:"keyword",regex:/(?:\B|^)``|\b''/}]};var n={macro:"constant.character",tableBlock:"doc.comment",titleUnderline:"markup.heading",singleLineTitle:"markup.heading",singleLineTitle2:"markup.heading2",singleLineTitle3:"markup.heading3",singleLineTitle4:"markup.heading4",singleLineTitle5:"markup.heading5",singleLineTitle6:"markup.heading6",pageBreak:"string",option:"string.regexp",otherBlock:"markup.list",literal:"support.function",optionalTitle:"constant.numeric",escape:"constant.language.escape",link:"markup.underline.list"};for(var r in this.$rules)for(var i=this.$rules[r],o=i.length;o--;){var a=i[o];if(a.include||"string"==typeof a){var s=[o,1].concat(this.$rules[a.include||a]);a.noEscape&&(s=s.filter(function(e){return!e.next})),i.splice.apply(i,s)}else a.token in n&&(a.token=n[a.token])}},r=1e3,i=function(e){this.states=e,this.regExps={},this.matchMappings={};for(var t in this.states){for(var n=this.states[t],r=[],i=0,o=this.matchMappings[t]={defaultToken:"text"},a="g",s=[],l=0;l1?u.onMatch=this.$applyToken:u.onMatch=u.token);d>1&&(/\\\d/.test(u.regex)?c=u.regex.replace(/\\([0-9]+)/g,function(e,t){return"\\"+(parseInt(t,10)+i+1)}):(d=1,c=this.removeCapturingGroups(u.regex)),u.splitRegex||"string"==typeof u.token||s.push(u)),o[i]=l,i+=d,r.push(c),u.onMatch||(u.onMatch=null)}}s.forEach(function(e){e.splitRegex=this.createSplitterRegexp(e.regex,a)},this),this.regExps[t]=new RegExp("("+r.join(")|(")+")|($)",a)}};(function(){this.$setMaxTokenCount=function(e){r=0|e},this.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),n=this.token.apply(this,t);if("string"==typeof n)return[{type:n,value:e}];for(var r=[],i=0,o=n.length;ic){var g=e.substring(c,m-h.length);d.type==f?d.value+=g:(d.type&&u.push(d),d={type:f,value:g})}for(var $=0;$r){for(;c1&&n[0]!==i&&n.unshift(i),{tokens:u,state:n.length?n:i}}}).call(i.prototype);var o={empty:null,text:null,keyword:"keyword",control:"keyword",operator:"operator",constant:"atom",numeric:"number",character:"atom",escape:"atom",variable:"variable",parameter:"variable-3",language:"variable-2",comment:"comment",line:"comment","double-slash":"comment","double-dash":"comment","number-sign":"comment",percentage:"comment",block:"comment",doc:"comment",string:"string",quoted:"string",single:"string",double:"string",triple:"string",unquoted:"string",interpolated:"string",regexp:"string-2",meta:"keyword",literal:"qualifier",support:"builtin",markup:"tag",underline:"link",link:"link",strong:"strong",heading:"header",heading2:"header-2",heading3:"header-3",heading4:"header-4",heading5:"header-5",heading6:"header-6",em:"em",list:"variable-2",numbered:"variable-2",unnumbered:"variable-2",quote:"quote",raw:"variable-2",invalid:"error",illegal:"invalidchar",deprecated:"error"},a=function(e){for(var t=null,n=0;n0)return s(e,t);var n=t.current,r=e.match(/.*$/,!1)[0],i=c.getLineTokens(r,n);return t.plannedTokens=i.tokens,t.current=i.state,s(e,t)},u=new n,c=new i(u.$rules);return{startState:function(){return{current:"start",plannedTokens:[]}},blankLine:function(e){l("",e)},token:l}}),e.defineMIME("text/x-asciidoc","asciidoc")})}).call(t,n(27)(e))},function(e,t,n){var r,i,o;(function(e){"use strict";var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(s){"object"==a(t)&&"object"==a(e)?s(n(1)):"object"==("undefined"==typeof brackets?"undefined":a(brackets))&&brackets.getModule?s(brackets.getModule("thirdparty/CodeMirror2/lib/codemirror")):(i=[n(1)],r=s,o="function"==typeof r?r.apply(t,i):r,!(void 0!==o&&(e.exports=o)))}(function(e){!function(t){t(e)}(function(e){e.overlayMode=function(t,n,r){return{startState:function(){return{base:e.startState(t),overlay:e.startState(n),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(r){return{base:e.copyState(t,r.base),overlay:e.copyState(n,r.overlay),basePos:r.basePos,baseCur:null,overlayPos:r.overlayPos,overlayCur:null}},token:function(e,i){return(e!=i.streamSeen||Math.min(i.basePos,i.overlayPos)0&&void 0!==arguments[0]?arguments[0]:[],n=a.default.defer();return delete e._links,g.find({selector:{type:{$eq:m},"original.name":{$eq:e.name}},limit:1}).then(function(r){if(console.log("POST find values",r),r.docs.length){console.log("pouchDbPlugin - post found",e.name);var i=r.docs[0];i.original&&i.original.content!==e.content||i.published!==e.published?(console.log("pouchDbPlugin - post have changed",e.name),e._id=i._id,e._rev=i._rev,e.type=m,g.put(e).then(function(){e._rev=i._rev,t.push(e),n.resolve(t)}).catch(function(e){n.reject(e)})):(console.log("pouchDbPlugin - post have not changed",e.name),e._id=i._id,e._rev=i._rev,e.type=m,t.push(e),n.resolve(t))}else console.log("pouchDbPlugin - post not found",e.name),e._id=c.default.v4(),e.type=m,g.put(e).then(function(r){e._rev=r.rev,t.push(e),n.resolve(t)}).catch(function(e){n.reject(e)})}),n.promise}}),r=(n||[]).reduce(function(e,t){return e.then(t)},(0,a.default)([])),i=t.map(function(e){return e.name}),o=g.find({selector:{type:{$eq:m},"original.name":{$nin:i}}}).then(function(e){if(e.docs.length){var t=e.docs.map(function(e){return l.default.pick(e,["_id","_rev","attributes","content","excerpt","html","name","path","title","type","url"])});return g.bulkDocs(t)}return[]});return o.then(function(){return r}).then(function(t){return e.nextState.posts=t,e})}),e.on("application:receive-config",function(e){return console.info("pouchDbPlugin - application:receive-config"),console.log("pouchDbPlugin - application:receive-config",e),g?e:(g=new f.default("hubpress-"+e.nextState.config.meta.username+"-"+e.nextState.config.meta.repositoryName),g.info().then(function(e){console.log("PouchDB infos",e)}),g.createIndex({index:{fields:["name","type"]}}).then(function(){return g.createIndex({index:{fields:["type"]}})}).then(function(){return g.createIndex({index:{fields:["original.name","type"]}})}).then(function(){return g.createIndex({index:{fields:["published","type"]}})}).then(function(){return g.createIndex({index:{fields:["original.name","published","type"]}})}).then(function(){return e}))}),e.on("hubpress:request-local-posts",function(e){return console.info("pouchDbPlugin - hubpress:request-local-posts"),console.log("pouchDbPlugin - hubpress:request-local-posts",e),g.find({selector:{name:{$gt:null},type:{$eq:m}},sort:[{name:"desc"}]}).then(function(t){return e.nextState=Object.assign({},e.nextState,{posts:t.docs}),e})}),e.on("requestSelectedPost",function(e){return console.info("pouchDbPlugin - requestSelectedPost"),console.log("pouchDbPlugin - requestSelectedPost",e),g.get(e.data.post._id).then(function(t){var n=Object.assign({},e.data,{selectedPost:t});return Object.assign({},e,{data:n})})}),e.on("hubpress:request-local-post",function(e){console.info("pouchDbPlugin - hubpress:request-local-post"),console.log("pouchDbPlugin - hubpress:request-local-post",e);var t=a.default.defer();return g.get(e.nextState.post._id).then(function(n){e.nextState=Object.assign({},e.nextState,{post:n}),t.resolve(e)}).catch(function(n){404===n.status?(e.nextState=Object.assign({},e.nextState,{post:{_id:e.nextState.post._id}}),t.resolve(e)):t.reject(n)}),t.promise}),e.on("requestSaveLocalPost",function(e){console.info("pouchDbPlugin - requestSaveLocalPost"),console.log("pouchDbPlugin - requestSaveLocalPost",e);var t=a.default.defer();return g.find({selector:{_id:{$ne:e.nextState.post._id},name:{$eq:e.nextState.post.name},type:{$eq:m}},limit:1}).then(function(t){if(t.docs.length)throw new Error("Post with the name "+e.nextState.post.name+" already exist");return e.nextState.post._id}).then(function(e){return g.get(e)}).then(function(n){var r=Object.assign({},n,e.nextState.post);r._rev=n._rev,r.type=m,g.put(r).then(function(n){r._rev=n.rev,e.nextState.post=r,t.resolve(e)}).catch(function(e){return t.reject(e)})}).catch(function(n){if(404===n.status){var r=e.nextState.post;g.put(r).then(function(n){r._rev=n.rev,e.nextState.post=r,t.resolve(e)}).catch(function(e){return t.reject(e)})}else t.reject(n)}),t.promise}),e.on("requestLocalPublishedPosts",function(e){return console.info("pouchDbPlugin - requestLocalPublishedPosts"),console.log("pouchDbPlugin - requestLocalPublishedPosts",e),g.find({selector:{"original.name":{$gt:null},published:{$eq:1},type:{$eq:m}},sort:[{"original.name":"desc"}]}).then(function(t){return console.log("requestLocalPublishedPosts => ",t),e.nextState.publishedPosts=t.docs,e})}),e.on("requestDeleteLocalPost",function(e){return console.info("pouchDbPlugin - requestDeleteLocalPost"),console.log("pouchDbPlugin - requestDeleteLocalPost",e),g.remove(e.nextState.post._id,e.nextState.post._rev).then(function(){return e})})}Object.defineProperty(t,"__esModule",{value:!0}),t.pouchDbPlugin=i;var o=n(94),a=r(o),s=n(4),l=r(s),u=n(265),c=r(u),d=n(709),f=r(d),p=n(703),h=r(p);f.default.plugin(h.default),window.PouchDB=f.default;var m="post",g=void 0},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){e.on("requestGenerateIndex",function(e){console.info("rssPlugin - requestGenerateIndex"),console.log("rssPlugin - requestGenerateIndex",e);var t=e.rootState.application.config.site||{},n=e.nextState.publishedPosts;if(!n||!n.length)return e;var r=new a.default({title:t.title||"",description:t.description||"",feed_url:t.url+"/rss/",site_url:t.url,image_url:t.cover,ttl:"60"});n.forEach(function(e){r.item({title:e.title,description:e.html,url:""+t.url+e.url,categories:e.tags,author:e.author.name,date:e.published_at})});var i=r.xml(),o=[];return o.push({name:"RSS",path:"rss/index.xml",content:i,message:"Publish rss feed"}),e.nextState.elementsToPublish=(e.nextState.elementsToPublish||[]).concat(o),e})}Object.defineProperty(t,"__esModule",{value:!0}),t.rssPlugin=i;var o=n(718),a=r(o)},function(e,t){"use strict";function n(e){e.on("receiveAuthentication",function(e){return console.info("SessionStorage Plugin - receiveAuthentication"),console.log("receiveAuthentication",e),e.nextState.isAuthenticated&&sessionStorage.setItem(e.rootState.application.config.meta.repositoryName+"-authentication",JSON.stringify({credentials:{token:e.nextState.credentials.token},permissions:e.nextState.permissions,userInformations:e.nextState.userInformations})),e}),e.on("requestSavedAuth",function(e){console.info("SessionStorage Plugin - requestSavedAuth"),console.log("requestSavedAuth",e);var t=void 0,n=sessionStorage.getItem(e.rootState.application.config.meta.repositoryName+"-authentication");return n?(t=JSON.parse(n),t.isAuthenticated=!0):t={credentials:{},userInformations:{},isAuthenticated:!1},e.nextState.authentication=Object.assign({},e.nextState.authentication,t),e}),e.on("requestLogout",function(e){return console.info("SessionStorage Plugin - requestLogout"),console.log("requestLogout",e),sessionStorage.removeItem(e.rootState.application.config.meta.repositoryName+"-authentication"),e})}Object.defineProperty(t,"__esModule",{value:!0}),t.sessionStoragePlugin=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){console.info("AuthorGenerator - generate"),console.log("AuthorGenerator - generate",e);var t="author",n=void 0;if(!c.default.isTemplateAvailable(t))return e;n=e.nextState.author?e.nextState.publishedPosts.filter(function(t){return t.author.login===e.nextState.author.login}):e.nextState.publishedPosts;var r=l.default.reduce(n,function(e,t){return e[t.author.login]=e[t.author.login]||[],e[t.author.login].push(t),e},{}),i=e;return l.default.each(r,function(e,n){ +var r=e[0].author;r.name=r.name||r.login,r.slug=n,r.website=r.blog,r.status="",i=a.default.generate({opts:i,posts:e,author:r,template:t,path:"author/"+n+"/"})}),i}Object.defineProperty(t,"__esModule",{value:!0}),t.generateAuthors=i;var o=n(60),a=r(o),s=n(4),l=r(s),u=n(36),c=r(u),d=n(35);r(d)},function(e,t,n){"use strict";function r(e){f=e}function i(e){return e&&f.urlSSL?f.urlSSL:e?f.url.replace("http://","https://"):f.url}function o(){var e,t,n=Array.prototype.slice.call(arguments),r=!1,i=f.paths.subdir.replace(/\//g,"");return""===n[0]&&n.shift(),0===n[0].indexOf("//")&&(r=!0),t=n.join("/"),t=t.replace(/(^|[^:])\/\/+/g,"$1/"),r&&(t=t.replace(/^\//,"//")),i&&(e=new RegExp(i+"/"+i+"/"),t=t.replace(e,i+"/")),t}function a(e,t,n){e=e||"/",t=t||!1;var r;return r=t?i(n):f.paths.subdir,o(r,e)}function s(e){var t="",n=f.theme.permalinks,r={year:function(){return c(e.published_at).format("YYYY")},month:function(){return c(e.published_at).format("MM")},day:function(){return c(e.published_at).format("DD")},author:function(){return e.author.slug},slug:function(){return e.slug},id:function(){return e.id}};return t+=e.page?"/:slug/":n,t=t.replace(/(:[a-z]+)/g,function(e){if(d.has(r,e.substr(1)))return r[e.substr(1)]()})}function l(e,t,n){var r,s,l,u,c="/",h=["post","tag","author","image","nav"],m={home:"/",rss:"/rss/",api:p,sitemap_xsl:"/sitemap.xsl"};if(d.isBoolean(t)&&(n=t,t=null),r=e&&e.secure||t&&t.secure,d.isObject(e)&&e.relativeUrl)c=e.relativeUrl;else if(d.isString(e)&&d.indexOf(h,e)!==-1)if("post"===e&&t.post)c=o(i(),"/",t.post.url),r=t.secure;else if("tag"===e&&t.tag)c=o(i(),"/",f.routeKeywords.tag,t.tag.slug,"/"),r=t.tag.secure;else if("author"===e&&t.author)c=o(i(),"/",f.routeKeywords.author,t.author.slug,"/"),r=t.author.secure;else{if("image"===e&&t.image)return c=t.image,s=new RegExp("^"+f.paths.subdir+"/"+f.paths.imagesRelPath),n=!!s.test(t.image)&&n,r=t.image.secure,n&&(c=c.replace(new RegExp("^"+f.paths.subdir),""),l=i(r).replace(/\/$/,""),c=l+c),c;"nav"===e&&t.nav&&(c=t.nav.url,r=t.nav.secure||r,l=i(r),u=l.split("//")[1]+f.paths.subdir,c.indexOf(u)>-1&&c.indexOf("."+u)===-1&&0!==c.indexOf("mailto:")&&(c=c.split(u)[1],"/"!==c.substring(0,1)&&(c="/"+c),n=!0))}else d.isString(e)&&d.indexOf(d.keys(m),e)!==-1&&(c=m[e]||"/");return c&&(c.indexOf("://")!==-1||c.match(/^(\/\/|#|[a-zA-Z0-9\-]+:)/))?c:a(c,n,r)}function u(){var e;return e=f.forceAdminSSL?(f.urlSSL||f.url).replace(/^.*?:\/\//g,"https://"):f.urlSSL?f.urlSSL.replace(/^.*?:\/\//g,"https://"):f.url.match(/^https:/)?f.url:f.url.replace(/^.*?:\/\//g,"//"),e.replace(/\/$/,"")+p+"/"}var c=n(2),d=n(4),f="",p="/ghost/api/v0.1";e.exports.setConfig=r,e.exports.urlJoin=o,e.exports.urlFor=l,e.exports.urlPathForPost=s,e.exports.apiUrl=u,e.exports.getBaseUrl=i},function(e,t,n){"use strict";function r(e,t,n){var r="";return r+=e.match(/^favicon\.ico$/)?i.url+"/":i.activeTheme.url+"/",e.match(/^favicon\.ico$/)||e.match(/^shared/)||e.match(/^asset/)||(r+=t?"ghost/":"assets/"),e=e.replace(/^\//,""),n&&(e=e.replace(/\.([^\.]*)$/,".min.$1")),r+=e,e.match(/^favicon\.ico$/)||(r=r+"?v="+i.assetHash),r}var i=n(7);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=e.context,r=i.theme,o=e[n]||r;return"post"===n&&o.author&&o.author.image?i.urlFor("image",{image:o.author.image},t):null}var i=n(7);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=e.context;return e.author?i.urlFor("author",{author:e.author},t):e[n]&&e[n].author?i.urlFor("author",{author:e[n].author},t):null}var i=n(7);e.exports=r},function(e,t,n){"use strict";function r(e){var t;return t="author"===e.context?e.author:"tag"===e.context?e.tag:e,i.urlJoin(i.getBaseUrl(!1),o(t,!1))}var i=n(7),o=n(86);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.context,n=i.theme,r=e[t]||n;if("home"===t||"author"===t){if(r.cover)return i.urlFor("image",{image:r.cover},!0)}else if(r.image)return i.urlFor("image",{image:r.image},!0);return null}var i=n(7);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n,r=i.theme;return n={url:o(e,!0),canonicalUrl:a(e),previousUrl:s(e,!0),nextUrl:l(e,!0),authorUrl:u(e,!0),rssUrl:c(e,!0),metaTitle:d(e,t),metaDescription:f(e,t),coverImage:p(e,!0),authorImage:h(e,!0),keywords:m(e),publishedDate:g(e),modifiedDate:$(e),ogType:_(e),blog:r},e.post&&e.post.html&&(n.excerpt=y(e.post.html,{words:50})),n.structuredData=v(n),n.schema=b(n,e),n}var i=n(7),o=n(86),a=n(639),s=n(646),l=n(644),u=n(638),c=n(648),d=n(151),f=n(149),p=n(640),h=n(637),m=n(642),g=n(647),$=n(643),_=n(645),v=n(650),b=n(649),y=n(150);e.exports=r},function(e,t){"use strict";function n(e){return e.post&&e.post.tags&&e.post.tags.length>0?e.post.tags.map(function(e){return e.name}):null}e.exports=n},function(e,t){"use strict";function n(e){var t,n=e.context;return e[n]&&(t=e[n].updated_at||null)?new Date(t).toISOString():null}e.exports=n},function(e,t,n){"use strict";function r(e,t){var n,r;return e.relativeUrl&&(n=e.relativeUrl.match(o),e.pagination&&e.pagination.next)?(r="/page/"+e.pagination.next+"/",n?r=n+r:a.test(e.relativeUrl)&&(r=e.relativeUrl.slice(0,-1)+r),i.urlFor({relativeUrl:r,secure:e.secure},t)):null}var i=n(7),o=/.+(?=\/page\/\d*\/)/,a=/\/(tag)|(author)\//;e.exports=r},function(e,t){"use strict";function n(e){var t=e.context;return"author"===t?"profile":"post"===t?"article":"website"}e.exports=n},function(e,t,n){"use strict";function r(e,t){var n,r;return e.relativeUrl&&(n=e.relativeUrl.match(o),e.pagination&&e.pagination.prev)?(r=e.pagination.prev>1?"/page/"+e.pagination.prev+"/":"/",r=n?n+r:r,i.urlFor({relativeUrl:r,secure:e.secure},t)):null}var i=n(7),o=/.+(?=\/page\/\d*\/)/;e.exports=r},function(e,t){"use strict";function n(e){var t,n=e.context;return e[n]&&(t=e[n].published_at||e[n].created_at||null)?new Date(t).toISOString():null}e.exports=n},function(e,t,n){"use strict";function r(e,t){return i.urlFor("rss",{secure:e.secure},t)}var i=n(7);e.exports=r},function(e,t,n){"use strict";function r(e){var t={};return p.each(e,function(e,n){null!==e&&"undefined"!=typeof e&&(t[n]=e)}),t}function i(e,t){var n,i=e.metaDescription?f(e.metaDescription):e.excerpt?f(e.excerpt):null;return n={"@context":"http://schema.org","@type":"Article",publisher:e.blog.title,author:{"@type":"Person",name:f(t.post.author.name),image:e.authorImage,url:e.authorUrl,sameAs:t.post.author.website||null,description:t.post.author.bio?f(t.post.author.bio):null},headline:f(e.metaTitle),url:e.url,datePublished:e.publishedDate,dateModified:e.modifiedDate,image:e.coverImage,keywords:e.keywords&&e.keywords.length>0?e.keywords.join(", "):null,description:i},n.author=r(n.author),r(n)}function o(e){var t={"@context":"http://schema.org","@type":"Website",publisher:f(e.blog.title),url:e.url,image:e.coverImage,description:e.metaDescription?f(e.metaDescription):null};return r(t)}function a(e,t){var n={"@context":"http://schema.org","@type":"Series",publisher:f(e.blog.title),url:e.url,image:e.coverImage,name:t.tag.name,description:e.metaDescription?f(e.metaDescription):null};return r(n)}function s(e,t){var n={"@context":"http://schema.org","@type":"Person",sameAs:t.author.website||null,publisher:f(e.blog.title),name:f(t.author.name),url:e.authorUrl,image:e.coverImage,description:e.metaDescription?f(e.metaDescription):null};return r(n)}function l(e,t){if(!u.isPrivacyDisabled("useStructuredData")){var n=t.context;if("post"===n)return i(e,t);if("home"===n)return o(e);if("tag"===n)return a(e,t);if("author"===n)return s(e,t)}return null}var u=n(7),c=n(9),d={handlebars:c},f=d.handlebars.Utils.escapeExpression,p=n(4);e.exports=l},function(e,t){"use strict";function n(e){var t,n="summary";return e.coverImage&&(n="summary_large_image"),t={"og:site_name":e.blog.title,"og:type":e.ogType,"og:title":e.metaTitle,"og:description":e.metaDescription||e.excerpt,"og:url":e.canonicalUrl,"og:image":e.coverImage,"article:published_time":e.publishedDate,"article:modified_time":e.modifiedDate,"article:tag":e.keywords,"twitter:card":n,"twitter:title":e.metaTitle,"twitter:description":e.metaDescription||e.excerpt,"twitter:url":e.canonicalUrl,"twitter:image:src":e.coverImage},Object.keys(t).reduce(function(e,n){var r=t[n];return null!==r&&"undefined"!=typeof r&&(e[n]=r),e},{})}e.exports=n},function(e,t){"use strict";function n(e){return e.hasOwnProperty("html")&&e.hasOwnProperty("title")&&"post"===e.type}function r(e){return e.hasOwnProperty("name")&&e.hasOwnProperty("slug")&&e.hasOwnProperty("description")}function i(e){return e.hasOwnProperty("bio")&&e.hasOwnProperty("website")&&e.hasOwnProperty("status")&&e.hasOwnProperty("location")}function o(e){return e.hasOwnProperty("label")&&e.hasOwnProperty("url")&&e.hasOwnProperty("slug")&&e.hasOwnProperty("current")}e.exports={isPost:n,isTag:r,isUser:i,isNav:o}},function(e,t,n){"use strict";var r=n(651);e.exports.checks=r},function(e,t,n){"use strict";function r(e,t){var n=!1,r=!1;return new a.handlebars.SafeString(i(e,n,r))}var i=n(636),o=n(9),a={handlebars:o};e.exports=r},function(e,t,n){"use strict";var r,i=n(9),o={handlebars:i},a=n(4),s=n(7),l=n(59);r=function(e,t){if(a.isUndefined(t)&&(t=e),t.fn)return o.handlebars.helpers.with.call(this,this.author,t);var n=!a.isString(t.hash.autolink)||"false"!==t.hash.autolink,r="";return this.author&&this.author.name&&(r=n?l.linkTemplate({url:s.urlFor("author",{author:this.author}),text:a.escape(this.author.name)}):a.escape(this.author.name)),new o.handlebars.SafeString(r)},e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i,o=n(7),a=r(o),s=n(9),l={handlebars:s},u=n(4),c=n(661);i=function(e){var t,n=[],r=e.data.root.context,i=this.post,o=this.post&&this.post.tags?this.post.tags:this.tags||[],s=this.post&&this.post.page?this.post.page:this.page||!1,d=a.default.activeTheme.name;return i&&n.push("post-template"),u.includes(r,"home")?n.push("home-template"):u.includes(r,"page")&&s?(n.push("page-template"),n.push("page")):u.includes(r,"tag")&&this.tag?(n.push("tag-template"),n.push("tag-"+this.tag.slug)):u.includes(r,"author")&&this.author?(n.push("author-template"),n.push("author-"+this.author.slug)):u.includes(r,"private")&&n.push("private-template"),o&&(n=n.concat(o.map(function(e){return"tag-"+e.slug}))),u.includes(r,"paged")&&(n.push("paged"),n.push("archive-template")),i&&s&&(t=c.single(d,i).split("-"),"page"===t[0]&&t.length>1&&(n.push(t.join("-")),t.splice(1,0,"template"),n.push(t.join("-")))),n=u.reduce(n,function(e,t){return e+" "+t},""),new l.handlebars.SafeString(n.trim())},e.exports=i},function(e,t,n){"use strict";var r,i=n(9),o={handlebars:i},a=n(4),s=n(148),l=n(681);r=function(e){var t=(e||{}).hash||{};return t=a.pick(t,["words","characters"]),a.keys(t).map(function(e){t[e]=parseInt(t[e],10)}),t.hasOwnProperty("words")||t.hasOwnProperty("characters")?t.hasOwnProperty("words")&&0===t.words?new o.handlebars.SafeString(l(this.html)):new o.handlebars.SafeString(s(this.html,t)):new o.handlebars.SafeString(this.html)},e.exports=r},function(e,t,n){"use strict";var r,i=n(2);r=function e(t,n){!n&&t.hasOwnProperty("hash")&&(n=t,t=void 0,this.published_at&&(t=this.published_at)),t=null===t?void 0:t;var e,r=n.hash.format||"MMM Do, YYYY",o=n.hash.timeago;return e=o?i(t).fromNow():i(t).format(r)},e.exports=r},function(e,t,n){"use strict";var r,i=n(9),o={handlebars:i};r=function(e,t){var n=e||t;return new o.handlebars.SafeString(encodeURIComponent(n))},e.exports=r},function(e,t,n){"use strict";function r(e){var t=(e||{}).hash||{};return t=a.pick(t,["words","characters"]),a.keys(t).map(function(e){t[e]=parseInt(t[e],10)}),new o.handlebars.SafeString(s(String(this.html),t))}var i=n(9),o={handlebars:i},a=n(4),s=n(150);e.exports=r},function(e,t,n){"use strict";var r,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=n(9),a={handlebars:o},s=n(4),l=a.handlebars.Utils;r=function(e,t){function n(t,n,r){o&&(o.key=t,o.index=n,o.number=n+1,o.first=n===m-1,o.last=!!r,o.even=n%2===1,o.odd=!o.even,o.rowStart=n%f===0,o.rowEnd=n%f===f-1,u&&(o.contextPath=u+t)),$+=c(e[t],{data:o,blockParams:l.blockParams([e[t],t],[u+t,null])})}function r(e){var t=1,r=1;s.each(e,function(e,i){return r\n jQuery( document ).ready(function() {\n // change date with ago\n jQuery('ago.ago').each(function(){\n var element = jQuery(this).parent();\n element.html( moment(element.text()).fromNow());\n });\n });\n\n hljs.initHighlightingOnLoad();\n \n "),t.push("\n \n ");var n=o.reduce(t,function(e,t){return e+" "+t},"");return new i.SafeString(n.trim())},e.exports=r},function(e,t,n){"use strict";function r(e,t,n){return n=n||"twitter"===e.substring(0,7)?"name":"property","'}function i(e){var t=[];return d.each(e.structuredData,function(n,i){"article:tag"===i?(d.each(e.keywords,function(e){""!==e&&(e=u(e),t.push(r(i,u(e))))}),t.push("")):null!==n&&void 0!==n&&t.push(r(i,u(n)))}),t}function o(e){if(console.warn("Check ghost_head options",e,this.statusCode,this.context),!(this.statusCode>=400)){var t=a(this,e.data.root),n=[],r=this.context?Array.isArray(this.context)?this.context[0]:this.context:null,o=!f.isPrivacyDisabled("useStructuredData");this.safeVersion;return r&&(n.push(''),n.push(''),t.previousUrl&&n.push(''),t.nextUrl&&n.push(''),"paged"!==r&&"page"!==r&&o&&(n.push(""),n.push.apply(n,i(t)),n.push(""),n.push('\n"))),n.push(''),n.push(''),new c(n.join("\n ").trim())}}var a=n(641),s=n(9),l={handlebars:s},u=l.handlebars.Utils.escapeExpression,c=l.handlebars.SafeString,d=n(4),f=n(7);e.exports=o},function(e,t,n){"use strict";var r,i=n(4);r=function(e){function t(e,t){return e.split(",").map(function(e){return e.trim()}).reduce(function(e,n){return e||i.findIndex(t,function(e){return e=e.replace(/[\-\/\\\^$*+?.()|\[\]{}]/g,"\\$&"),e=new RegExp("^"+e+"$","i"),e.test(n)})!==-1},!1)}function n(e,t){var n=e.split(",").map(function(e){return e.trim().toLocaleLowerCase()});return i.includes(n,t.toLocaleLowerCase())}e=e||{},e.hash=e.hash||{};var r,o,a=i.map(this.tags,"name"),s=this.author?this.author.name:null,l=e.hash.tag||!1,u=e.hash.author||!1;return l||u?(r=l&&t(l,a)||!1,o=u&&n(u,s)||!1,r||o?e.fn(this):e.inverse(this)):void console.warn("Helpers has has invalid attribute")},e.exports=r},function(e,t,n){"use strict";var r,i=n(7);r=function(e){var t=e&&e.hash.absolute;if(this.image)return i.urlFor("image",{image:this.image},t)},e.exports=r},function(e,t,n){"use strict";function r(e,t){a.handlebars.registerHelper(e,t)}var i,o=n(9),a={handlebars:o},s=n(59),l={};s.isProduction||(a.handlebars.logger.level=0),l.asset=n(653),l.author=n(654),l.body_class=n(655),l.content=n(656),l.date=n(657),l.encode=n(658),l.excerpt=n(659),l.foreach=n(660),l.ghost_foot=n(662),l.ghost_head=n(663),l.image=n(665),l.is=n(667),l.has=n(664),l.meta_description=n(668),l.meta_title=n(669),l.navigation=n(670),l.pagination=n(671),l.plural=n(672),l.post_class=n(673),l.tags=n(674),l.title=n(675),l.url=n(676),l.page_url=n(152),l.pageUrl=n(152).deprecated,l.helperMissing=function(e){2!==arguments.length&&console.error("warnings.helpers.index.missingHelper",e)},i=function(e){r("asset",l.asset),r("author",l.author),r("body_class",l.body_class),r("content",l.content),r("date",l.date),r("encode",l.encode),r("excerpt",l.excerpt),r("foreach",l.foreach),r("has",l.has),r("is",l.is),r("image",l.image),r("input_password",l.input_password),r("meta_description",l.meta_description),r("meta_title",l.meta_title),r("navigation",l.navigation),r("page_url",l.page_url),r("pageUrl",l.pageUrl),r("pagination",l.pagination),r("plural",l.plural),r("post_class",l.post_class),r("tags",l.tags),r("title",l.title),r("url",l.url),r("ghost_foot",l.ghost_foot),r("ghost_head",l.ghost_head),r("next_post",l.next_post),r("prev_post",l.prev_post)},e.exports=l,e.exports.loadCoreHelpers=i,e.exports.registerThemeHelper=r},function(e,t,n){"use strict";var r,i=n(4);r=function(e,t){function n(e){return e.split(",").map(function(e){return e.trim()}).reduce(function(e,t){return e||i.includes(r,t)},!1)}t=t||{};var r=t.data.root.context;return i.isString(e)||console.warn("Helpers is has an invalid attribute"),n(e)?t.fn(this):t.inverse(this)},e.exports=r},function(e,t,n){"use strict";function r(e){return e=e||{data:{}},i(this,e.data.root)||""}var i=n(149);e.exports=r},function(e,t,n){"use strict";function r(e){return e=e||{data:{}},i(this,e.data.root)}var i=n(151);e.exports=r},function(e,t,n){"use strict";function r(e){throw console.log(e),new Error(e)}var i,o=n(4),a=n(9),s={handlebars:a},l=n(153);i=function(e){function t(e){return e.toLowerCase().replace(/[^\w ]+/g,"").replace(/ +/g,"-")}function n(e,t){var n=e.replace(/\/+$/,""),r=t.replace(/\/+$/,"");return n===r}var i,a,u=e.data.blog.navigation,c=e.data.root.relativeUrl,d=this;return!o.isObject(u)||o.isFunction(u)?r("warnings.helpers.navigation.invalidData"):u.filter(function(e){return o.isUndefined(e.label)||o.isUndefined(e.url)}).length>0?r("warnings.helpers.navigation.valuesMustBeDefined"):u.filter(function(e){return!o.isNull(e.label)&&!o.isString(e.label)||!o.isNull(e.url)&&!o.isString(e.url)}).length>0?r("warnings.helpers.navigation.valuesMustBeString"):0===u.length?new s.handlebars.SafeString(""):(i=u.map(function(e){var r={};return r.current=n(e.url,c),r.label=e.label,r.slug=t(e.label),r.url=s.handlebars.Utils.escapeExpression(e.url),r.secure=d.secure,r}),a=o.merge({},{navigation:i}),l.execute("navigation",a,e))},e.exports=i},function(e,t,n){"use strict";function r(e){throw console.log(e),new Error(e)}var i,o=n(4),a=n(153);i=function(e){if(!o.isObject(this.pagination)||o.isFunction(this.pagination))return r("warnings.helpers.pagination.invalidData");if(o.isUndefined(this.pagination.page)||o.isUndefined(this.pagination.pages)||o.isUndefined(this.pagination.total)||o.isUndefined(this.pagination.limit))return r("warnings.helpers.pagination.valuesMustBeDefined");if(!o.isNull(this.pagination.next)&&!o.isNumber(this.pagination.next)||!o.isNull(this.pagination.prev)&&!o.isNumber(this.pagination.prev))return r("warnings.helpers.pagination.nextPrevValuesMustBeNumeric");if(!(o.isNumber(this.pagination.page)&&o.isNumber(this.pagination.pages)&&o.isNumber(this.pagination.total)&&o.isNumber(this.pagination.limit)))return r("warnings.helpers.pagination.valuesMustBeNumeric");var t=o.merge({},this.pagination);return void 0!==this.tag&&(t.tagSlug=this.tag.slug),void 0!==this.author&&(t.authorSlug=this.author.slug),a.execute("pagination",t,e)},e.exports=i},function(e,t,n){"use strict";function r(e){throw console.log(e),new Error(e)}var i,o=n(9),a={handlebars:o},s=n(4);i=function(e,t){return s.isUndefined(t.hash)||s.isUndefined(t.hash.empty)||s.isUndefined(t.hash.singular)||s.isUndefined(t.hash.plural)?r("warnings.helpers.plural.valuesMustBeDefined"):0===e?new a.handlebars.SafeString(t.hash.empty.replace("%",e)):1===e?new a.handlebars.SafeString(t.hash.singular.replace("%",e)):e>=2?new a.handlebars.SafeString(t.hash.plural.replace("%",e)):void 0},e.exports=i},function(e,t,n){"use strict";var r,i=n(9),o={handlebars:i},a=n(4);r=function(e){var t=["post"],n=this.post&&this.post.tags?this.post.tags:this.tags||[],r=this.post&&this.post.featured?this.post.featured:this.featured||!1,i=this.post&&this.post.page?this.post.page:this.page||!1;return n&&(t=t.concat(n.map(function(e){return"tag-"+e.slug}))),r&&t.push("featured"),i&&t.push("page"),t=a.reduce(t,function(e,t){return e+" "+t},""),new o.handlebars.SafeString(t.trim())},e.exports=r},function(e,t,n){"use strict";var r,i=n(9),o={handlebars:i},a=n(4),s=n(7),l=n(59);r=function(e){function t(e){return n?a.map(e,function(e){return l.linkTemplate({url:s.urlFor("tag",{tag:e}),text:a.escape(e.name)})}):a(e).map("name").each(a.escape)}e=e||{},e.hash=e.hash||{};var n=!(a.isString(e.hash.autolink)&&"false"===e.hash.autolink),r=a.isString(e.hash.separator)?e.hash.separator:", ",i=a.isString(e.hash.prefix)?e.hash.prefix:"",u=a.isString(e.hash.suffix)?e.hash.suffix:"",c=e.hash.limit?parseInt(e.hash.limit,10):void 0,d=e.hash.from?parseInt(e.hash.from,10):1,f=e.hash.to?parseInt(e.hash.to,10):void 0,p="";return this.tags&&this.tags.length&&(p=t(this.tags),d-=1,f=f||c+d||this.tags.length,p=i+p.slice(d,f).join(r)+u),new o.handlebars.SafeString(p)},e.exports=r},function(e,t,n){"use strict";var r,i=n(9),o={handlebars:i};r=function(){return new o.handlebars.SafeString(o.handlebars.Utils.escapeExpression(this.title||""))},e.exports=r},function(e,t,n){"use strict";function r(e){var t=e&&e.hash.absolute;return i(this,t)}var i=n(86);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return a.default.generate({opts:e,posts:e.nextState.publishedPosts,template:"index",path:""})}Object.defineProperty(t,"__esModule",{value:!0}),t.generateIndex=i;var o=n(60),a=r(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){console.info("PostsGenerator - generate"),console.log("PostsGenerator - generate",e);var t=e;return e.nextState.publishedPosts.forEach(function(e){t=(0,s.generatePost)(t,e)}),t}Object.defineProperty(t,"__esModule",{value:!0}),t.generatePosts=i;var o=n(60),a=(r(o),n(36)),s=(r(a),n(154))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){console.info("TagsGenerator - generate"),console.log("TagsGenerator - generate",e);var t="tag",n=void 0;if(!c.default.isTemplateAvailable(t))return e;if(e.nextState.post&&!e.nextState.post.tags&&!e.nextState.tags)return e;n=e.nextState.tags?e.nextState.publishedPosts.filter(function(t){return l.default.intersection(e.nextState.tags,t.tags).length}):e.nextState.publishedPosts;var r=l.default.reduce(n,function(t,n){if(!n.tags)return t;var r=l.default.reduce(n.tags,function(t,n){var r=(0,f.default)(n);return e.nextState.post&&e.nextState.post.tags&&e.nextState.post.tags.indexOf(n)===-1||t.push(r),t},[]);return l.default.uniq(r).forEach(function(e){t[e]=t[e]||[],t[e].push(n)}),t},{}),i=e;return l.default.each(r,function(e,n){var r={name:n,slug:(0,f.default)(n),description:null};i=a.default.generate({opts:i,posts:e,tag:r,template:t,path:"tag/"+n+"/"})}),i}Object.defineProperty(t,"__esModule",{value:!0}),t.generateTags=i;var o=n(60),a=r(o),s=n(4),l=r(s),u=n(36),c=r(u),d=n(35),f=r(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=s.default.defer(),r=[],i=t.urls.hubpress;return u.default.get(i+"/themes/"+e+"/theme.json?dt="+Date.now()).end(function(t,o){if(t)return void n.reject(t);var a=o.body,l=a.version,c=d.default.toPairs(a.files),f=!1,p=!1,h=!1;if(c.forEach(function(t){var n=s.default.defer();r.push(n.promise),f=f||"pagination"===t[0],p=p||"nav"===t[0],h=h||"navigation"===t[0],u.default.get(i+"/themes/"+e+"/"+t[1]+"?v="+l).end(function(e,r){return e?void n.reject(e):void n.resolve({name:t[0],path:t[1],content:r.text})})}),!f){var m=s.default.defer();r.push(m.promise),u.default.get(i+"/hubpress/scripts/helpers/tpl/pagination.hbs").end(function(e,t){return e?void m.reject(e):void m.resolve({name:"pagination",path:"partials/pagination",content:t.text})})}if(!p){var g=s.default.defer();r.push(g.promise),u.default.get(i+"/hubpress/scripts/helpers/tpl/nav.hbs").end(function(e,t){return e?void g.reject(e):void g.resolve({name:"nav",path:"partials/nav",content:t.text})})}if(!h){var $=s.default.defer();r.push($.promise),u.default.get(i+"/hubpress/scripts/helpers/tpl/navigation.hbs").end(function(e,t){return e?void $.reject(e):void $.resolve({name:"navigation",path:"partials/navigation",content:t.text})})}s.default.all(r).then(function(e){n.resolve({version:l,files:e})}).catch(function(e){console.log(e),n.reject(e)})}),n.promise}function o(e){e.on("hubpress:request-theme",function(e){console.info("templatePlugin Plugin - hubpress:request-theme"),console.log("hubpress:request-theme",e);var t=e.rootState.application.config.theme.name.toLowerCase(),n=e.rootState.application.config;return i(t,n).then(function(r){var i={name:t,files:r.files,version:r.version};_.default.registerTheme(n,i),_.default.registerFiles(i.files);var o=Object.assign({},i);return e.nextState=Object.assign({},e.nextState,{theme:o}),e})}),e.on("requestGenerateIndex",function(e){console.info("Template Plugin - requestGenerateIndex"),console.log("requestGenerateIndex",e);var t=(0,f.generateIndex)(e);return console.log("requestGenerateIndex return",t),t}),e.on("requestGeneratePost",function(e){console.info("Template Plugin - requestGeneratePost"),console.log("requestGeneratePost",e);var t=(0,p.generatePost)(e,e.nextState.post);return console.log("requestGeneratePost return",t),t}),e.on("requestGeneratePosts",function(e){console.info("Template Plugin - requestGeneratePosts"),console.log("requestGeneratePosts",e);var t=(0,h.generatePosts)(e);return console.log("requestGeneratePosts return",t),t}),e.on("requestGenerateTags",function(e){console.info("Template Plugin - requestGenerateTags"),console.log("requestGenerateTags",e);var t=(0,m.generateTags)(e);return console.log("requestGenerateTags return",t),t}),e.on("requestGenerateAuthors",function(e){console.info("Template Plugin - requestGenerateAuthors"),console.log("requestGenerateAuthors",e);var t=(0,g.generateAuthors)(e);return console.log("requestGenerateAuthors return",t),t})}Object.defineProperty(t,"__esModule",{value:!0}),t.templatePlugin=o;var a=n(94),s=r(a),l=n(745),u=r(l),c=n(4),d=r(c),f=n(677),p=n(154),h=n(678),m=n(679),g=n(634),$=n(36),_=r($)},function(e,t){"use strict";function n(e){var t=(e||"").match(/<\/*([a-z0-9\:\-\_]+)/i);return t?t[1]:null}function r(e){var t=n(e)?"":"";return t}function i(e){for(o=[],a="",s="",l="",u=0,c=0;c":if(u===d.tag_commenced){u=d.unitialized,l+=s,a=n(s),s.match(/<\s*\//)&&n(o[o.length-1])===a?o.pop():f.indexOf(a)<0&&!s.match(/\/\s*>$/)&&o.push(s),s="";continue}if(u===d.comment&&"--"===e.substring(c-2,c)){u=d.unitialized,l+=s,s="";continue}break;case"-":}if(!u)break}for(l+=s;o.length;)l+=r(o.pop());return l}var o,a,s,l,u,c,d={unitialized:0,tag_commenced:1,tag_string:-1,tag_string_single:-2,comment:-3},f=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];e.exports=i},function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<>1,c=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,o=p&(1<<-c)-1,p>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+d],d+=f,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:(p?-1:1)*(1/0);a+=Math.pow(2,r),o-=u}return(p?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),t+=a+d>=1?f/l:f*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+p]=255&s,p+=h,s/=256,i-=8);for(a=a<0;e[n+p]=255&a,p+=h,a/=256,u-=8);e[n+p-h]|=128*m}},function(e,t,n){n(785),e.exports=self.fetch.bind(self)},function(e,t){(function(){var e=Array.prototype.slice,t=Array.prototype.forEach,n=function(r){if("object"!=typeof r)throw r+" is not an object";var i=e.call(arguments,1);return t.call(i,function(e){if(e)for(var t in e)"object"==typeof e[t]&&r[t]?n.call(r,r[t],e[t]):r[t]=e[t]}),r};this.extend=n}).call(this)},,,function(e,t){function n(e){if(e=String(e),!(e.length>1e4)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]),r=(t[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return n*c;case"days":case"day":case"d":return n*u;case"hours":case"hour":case"hrs":case"hr":case"h":return n*l;case"minutes":case"minute":case"mins":case"min":case"m":return n*s;case"seconds":case"second":case"secs":case"sec":case"s":return n*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function r(e){return e>=u?Math.round(e/u)+"d":e>=l?Math.round(e/l)+"h":e>=s?Math.round(e/s)+"m":e>=a?Math.round(e/a)+"s":e+"ms"}function i(e){return o(e,u,"day")||o(e,l,"hour")||o(e,s,"minute")||o(e,a,"second")||e+" ms"}function o(e,t,n){if(!(e0)return n(e);if("number"===o&&isNaN(e)===!1)return t.long?i(e):r(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!i;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,i="/"===a.charAt(0))}return t=n(r(t.split("/"),function(e){return!!e}),!i).join("/"),(i?"/":"")+t||"."},t.normalize=function(e){ +var i=t.isAbsolute(e),o="/"===a(e,-1);return e=n(r(e.split("/"),function(e){return!!e}),!i).join("/"),e||i||(e="."),e&&o&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,l=0;l(Math.pow(2,32)-1)*s))throw new TypeError("keylen exceeds maximum length");h.copy(u,0,0,s);for(var m=1;m-1&&r<=x)for(;++n3&&"WebKit"||/\bOpera\b/.test(V)&&(/\bOPR\b/.test(e)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(e)&&!/^(?:Trident|EdgeHTML)$/.test(G)&&"WebKit"||!G&&/\bMSIE\b/i.test(e)&&("Mac OS"==X?"Tasman":"Trident")||"WebKit"==G&&/\bPlayStation\b(?! Vita\b)/i.test(V)&&"NetFront")&&(G=[E]),"IE"==V&&(E=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(e)||0)[1])?(V+=" Mobile",X="Windows Phone "+(/\+$/.test(E)?E:E+".x"),Y.unshift("desktop mode")):/\bWPDesktop\b/i.test(e)?(V="IE Mobile",X="Windows Phone 8.x",Y.unshift("desktop mode"),W||(W=(/\brv:([\d.]+)/.exec(e)||0)[1])):"IE"!=V&&"Trident"==G&&(E=/\brv:([\d.]+)/.exec(e))&&(V&&Y.push("identifying as "+V+(W?" "+W:"")),V="IE",W=E[1]),U){if(d(v,"global"))if(R&&(E=R.lang.System,q=E.getProperty("os.arch"),X=X||E.getProperty("os.name")+" "+E.getProperty("os.version")),S&&d(v,"system")&&(E=[v.system])[0]){X||(X=E[0].os||null);try{E[1]=v.require("ringo/engine").version,W=E[1].join("."),V="RingoJS"}catch(e){E[0].global.system==v.system&&(V="Narwhal")}}else"object"==typeof v.process&&!v.process.browser&&(E=v.process)?(V="Node.js",q=E.arch,X=E.platform,W=/[\d.]+/.exec(E.version)[0]):I&&(V="Rhino");else c(E=v.runtime)==D?(V="Adobe AIR",X=E.flash.system.Capabilities.os):c(E=v.phantom)==O?(V="PhantomJS",W=(E=E.version||null)&&E.major+"."+E.minor+"."+E.patch):"number"==typeof j.documentMode&&(E=/\bTrident\/(\d+)/i.exec(e))&&(W=[W,j.documentMode],(E=+E[1]+4)!=W[1]&&(Y.push("IE "+W[1]+" mode"),G&&(G[1]=""),W[1]=E),W="IE"==V?String(W[1].toFixed(1)):W[0]);X=X&&l(X)}W&&(E=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(W)||/(?:alpha|beta)(?: ?\d)?/i.exec(e+";"+(U&&y.appMinorVersion))||/\bMinefield\b/i.test(e)&&"a")&&(H=/b/i.test(E)?"beta":"alpha",W=W.replace(RegExp(E+"\\+?$"),"")+("beta"==H?P:B)+(/\d+\+?/.exec(E)||"")),"Fennec"==V||"Firefox"==V&&/\b(?:Android|Firefox OS)\b/.test(X)?V="Firefox Mobile":"Maxthon"==V&&W?W=W.replace(/\.[\d.]+/,".x"):/\bXbox\b/i.test(K)?(X=null,"Xbox 360"==K&&/\bIEMobile\b/.test(e)&&Y.unshift("mobile mode")):!/^(?:Chrome|IE|Opera)$/.test(V)&&(!V||K||/Browser|Mobi/.test(V))||"Windows CE"!=X&&!/Mobi/i.test(e)?"IE"==V&&U&&null===v.external?Y.unshift("platform preview"):(/\bBlackBerry\b/.test(K)||/\bBB10\b/.test(e))&&(E=(RegExp(K.replace(/ +/g," *")+"/([.\\d]+)","i").exec(e)||0)[1]||W)?(E=[E,/BB10/.test(e)],X=(E[1]?(K=null,J="BlackBerry"):"Device Software")+" "+E[0],W=null):this!=u&&"Wii"!=K&&(U&&N||/Opera/.test(V)&&/\b(?:MSIE|Firefox)\b/i.test(e)||"Firefox"==V&&/\bOS X (?:\d+\.){2,}/.test(X)||"IE"==V&&(X&&!/^Win/.test(X)&&W>5.5||/\bWindows XP\b/.test(X)&&W>8||8==W&&!/\bTrident\b/.test(e)))&&!k.test(E=m.call(u,e.replace(k,"")+";"))&&E.name&&(E="ing as "+E.name+((E=E.version)?" "+E:""),k.test(V)?(/\bIE\b/.test(E)&&"Mac OS"==X&&(X=null),E="identify"+E):(E="mask"+E,V=z?l(z.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(E)&&(X=null),U||(W=null)),G=["Presto"],Y.push(E)):V+=" Mobile",(E=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(e)||0)[1])&&(E=[parseFloat(E.replace(/\.(\d)$/,".0$1")),E],"Safari"==V&&"+"==E[1].slice(-1)?(V="WebKit Nightly",H="alpha",W=E[1].slice(0,-1)):W!=E[1]&&W!=(E[2]=(/\bSafari\/([\d.]+\+?)/i.exec(e)||0)[1])||(W=null),E[1]=(/\bChrome\/([\d.]+)/i.exec(e)||0)[1],537.36==E[0]&&537.36==E[2]&&parseFloat(E[1])>=28&&"WebKit"==G&&(G=["Blink"]),U&&(T||E[1])?(G&&(G[1]="like Chrome"),E=E[1]||(E=E[0],E<530?1:E<532?2:E<532.05?3:E<533?4:E<534.03?5:E<534.07?6:E<534.1?7:E<534.13?8:E<534.16?9:E<534.24?10:E<534.3?11:E<535.01?12:E<535.02?"13+":E<535.07?15:E<535.11?16:E<535.19?17:E<536.05?18:E<536.1?19:E<537.01?20:E<537.11?"21+":E<537.13?23:E<537.18?24:E<537.24?25:E<537.36?26:"Blink"!=G?"27":"28")):(G&&(G[1]="like Safari"),E=E[0],E=E<400?1:E<500?2:E<526?3:E<533?4:E<534?"4+":E<535?5:E<537?6:E<538?7:E<601?8:"8"),G&&(G[1]+=" "+(E+="number"==typeof E?".x":/[.+]/.test(E)?"":"+")),"Safari"==V&&(!W||parseInt(W)>45)&&(W=E)),"Opera"==V&&(E=/\bzbov|zvav$/.exec(X))?(V+=" ",Y.unshift("desktop mode"),"zvav"==E?(V+="Mini",W=null):V+="Mobile",X=X.replace(RegExp(" *"+E+"$"),"")):"Safari"==V&&/\bChrome\b/.exec(G&&G[1])&&(Y.unshift("desktop mode"),V="Chrome Mobile",W=null,/\bOS X\b/.test(X)?(J="Apple",X="iOS 4.3+"):X=null),W&&0==W.indexOf(E=/[\d.]+$/.exec(X))&&e.indexOf("/"+E+"-")>-1&&(X=h(X.replace(E,""))),G&&!/\b(?:Avant|Nook)\b/.test(V)&&(/Browser|Lunascape|Maxthon/.test(V)||"Safari"!=V&&/^iOS/.test(X)&&/\bSafari\b/.test(G[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Sleipnir|Web)/.test(V)&&G[1])&&(E=G[G.length-1])&&Y.push(E),Y.length&&(Y=["("+Y.join("; ")+")"]),J&&K&&K.indexOf(J)<0&&Y.push("on "+J),K&&Y.push((/^on /.test(Y[Y.length-1])?"":"on ")+K),X&&(E=/ ([\d.+]+)$/.exec(X),A=E&&"/"==X.charAt(X.length-E[0].length-1),X={architecture:32,family:E&&!A?X.replace(E[0],""):X,version:E?E[1]:null,toString:function(){var e=this.version;return this.family+(e&&!A?" "+e:"")+(64==this.architecture?" 64-bit":"")}}),(E=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(q))&&!/\bi686\b/i.test(q)?(X&&(X.architecture=64,X.family=X.family.replace(RegExp(" *"+E),"")),V&&(/\bWOW64\b/i.test(e)||U&&/\w(?:86|32)$/.test(y.cpuClass||y.platform)&&!/\bWin64; x64\b/i.test(e))&&Y.unshift("32-bit")):X&&/^OS X/.test(X.family)&&"Chrome"==V&&parseFloat(W)>=39&&(X.architecture=64),e||(e=null);var Z={};return Z.description=e,Z.layout=G&&G[0],Z.manufacturer=J,Z.name=V,Z.prerelease=H,Z.product=K,Z.ua=e,Z.version=V&&W,Z.os=X||{architecture:null,family:null,version:null,toString:function(){return"null"}},Z.parse=m,Z.toString=g,Z.version&&Y.unshift(W),Z.name&&Y.unshift(V),X&&V&&(X!=String(X).split(" ")[0]||X!=V.split(" ")[0]&&!K)&&Y.push(K?"("+X+")":"on "+X),Y.length&&(Z.description=Y.join(" ")),Z}var g={function:!0,object:!0},$=g[typeof window]&&window||this,_=$,v=g[typeof t]&&t,b=g[typeof e]&&e&&!e.nodeType&&e,y=v&&b&&"object"==typeof i&&i;!y||y.global!==y&&y.window!==y&&y.self!==y||($=y);var x=Math.pow(2,53)-1,k=/\bOpera/,w=this,E=Object.prototype,A=E.hasOwnProperty,C=E.toString,S=m();$.platform=S,r=function(){return S}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}).call(this)}).call(t,n(27)(e),function(){return this}())},function(e,t){"use strict";function n(e,t,n){for(var r="",i=n-e.length;r.length0?e.slice(n):e}function u(e){var t=e.value,n=t&&"object"==typeof t&&t._id||e.id;return n}function c(e,t){try{e.emit("error",t)}catch(e){console.error("The user's map/reduce function threw an uncaught error.\nYou can debug this error by doing:\nmyDatabase.on('error', function (err) { debugger; });\nPlease double-check your map/reduce function."),console.error(t)}}function d(e,t,n){try{return{output:t.apply(null,n)}}catch(t){return c(e,t),{error:t}}}function f(e,t){var n=e.descending?"endkey":"startkey",i=e.descending?"startkey":"endkey";if("undefined"!=typeof e[n]&&"undefined"!=typeof e[i]&&_(e[n],e[i])>0)throw new r("No rows can match your key range, reverse your start_key and end_key or set {descending : true}");if(t.reduce&&e.reduce!==!1){if(e.include_docs)throw new r("{include_docs:true} is invalid for reduce");if(e.keys&&e.keys.length>1&&!e.group&&!e.group_level)throw new r("Multi-key fetches for reduce views must use {group: true}")}if(e.group_level){if("number"!=typeof e.group_level)throw new r('Invalid value for integer: "'+e.group_level+'"');if(e.group_level<0)throw new r('Invalid value for positive integer: "'+e.group_level+'"')}}function p(e){return function(t){if(404===t.status)return e;throw t}}function h(e){function n(e,t,n){function r(){return a(d)?k.resolve(l):t.db.get(s).catch(p(l))}function i(e){return e.keys.length?t.db.allDocs({keys:e.keys,include_docs:!0}):k.resolve({rows:[]})}function o(e,t){for(var n=[],r={},i=0,o=t.rows.length;ia?n.slice(0,a):n),t&&0===_(t.key[0][0],n)?(t.key.push([n,e.id]),void t.value.push(e.value)):void o.push({key:[[n,e.id]],value:[e.value]})});for(var s=0,u=o.length;sn))return e.doc.value}var r=g.parseIndexableString(e.doc._id);return{key:r[0],id:r[1],value:"value"in e.doc?e.doc.value:null}})})}function r(n){var r;if(r=o?C(e,n,t):{total_rows:i,offset:a,rows:n},t.include_docs){var s=x.uniq(n.map(u));return e.sourceDB.allDocs({keys:s,include_docs:!0,conflicts:t.conflicts,attachments:t.attachments,binary:t.binary}).then(function(e){var t={};return e.rows.forEach(function(e){e.doc&&(t["$"+e.id]=e.doc)}),n.forEach(function(e){var n=u(e),r=t["$"+n];r&&(e.doc=r)}),r})}return r}var i,o=e.reduceFun&&t.reduce!==!1,a=t.skip||0;"undefined"==typeof t.keys||t.keys.length||(t.limit=0,delete t.keys);var s=function(e){return e.reduce(function(e,t){return e.concat(t)})};if("undefined"!=typeof t.keys){var l=t.keys,c=l.map(function(e){var t={startkey:v([e]),endkey:v([e,{}])};return n(t)});return k.all(c).then(s).then(r)}var d={descending:t.descending};if("undefined"!=typeof t.startkey&&(d.startkey=v(t.descending?[t.startkey,{}]:[t.startkey])),"undefined"!=typeof t.endkey){var f=t.inclusive_end!==!1;t.descending&&(f=!f),d.endkey=v(f?[t.endkey,{}]:[t.endkey])}if("undefined"!=typeof t.key){var p=v([t.key]),h=v([t.key,{}]);d.descending?(d.endkey=p,d.startkey=h):(d.startkey=p,d.endkey=h)}return o||("number"==typeof t.limit&&(d.limit=t.limit),d.skip=a),n(d).then(r)}function M(e){return e.get("_local/"+L).then(function(t){var n={};Object.keys(t.views).forEach(function(e){var t=o(e),r="_design/"+t[0],i=t[1];n[r]=n[r]||{},n[r][i]=!0});var r={keys:Object.keys(n),include_docs:!0};return e.allDocs(r).then(function(r){var i={};r.rows.forEach(function(e){var r=e.key.substring(8);Object.keys(n[e.key]).forEach(function(n){var o=r+"/"+n;t.views[o]||(o=n);var a=Object.keys(t.views[o]),s=e.doc&&e.doc.views&&e.doc.views[n];a.forEach(function(e){i[e]=i[e]||s})})});var o=Object.keys(i).filter(function(e){return!i[e]}),a=o.map(function(t){return x.sequentialize(c(t),function(){return new e.constructor(t,e.__opts).destroy()})()});return k.all(a).then(function(){return{ok:!0}})})},p({ok:!0}))}function D(e,n,r){if("string"!=typeof n){f(r,n);var a={db:e,viewName:"temp_view/temp_view",map:n.map,reduce:n.reduce,temporary:!0,pluginName:L};return E.add(function(){return y(a).then(function(e){function t(){return e.db.destroy()}return x.fin(h(e).then(function(){return S(e,r)}),t)})}),E.finish()}var s=n,l=o(s),u=l[0],c=l[1];return e.get("_design/"+u).then(function(n){var o=n.views&&n.views[c];if(!o)throw new i("ddoc "+n._id+" has no view named "+c);R(n,c),f(r,o);var a={db:e,viewName:s,map:o.map,reduce:o.reduce,pluginName:L};return y(a).then(function(e){return"ok"===r.stale||"update_after"===r.stale?("update_after"===r.stale&&t.nextTick(function(){h(e)}),S(e,r)):h(e).then(function(){return S(e,r)})})})}var L=e.name,F=e.mapper,O=e.reducer,R=e.ddocValidator,I=function(e,t,n){var r=this;"function"==typeof t&&(n=t,t={}),t=x.extend(!0,{},t),"function"==typeof e&&(e={map:e});var i=k.resolve().then(function(){return D(r,e,t)});return x.promisedCallback(i,n),i},B=x.callbackify(function(){var e=this;return M(e)});return{query:I,viewCleanup:B}}var m,g=n(47),$=n(695),_=g.collate,v=g.toIndexableString,b=g.normalizeKey,y=n(693);m="undefined"!=typeof console&&"function"==typeof console.log?Function.prototype.bind.call(console.log,console):function(){};var x=n(90),k=x.Promise,w={},E=new $,A=50;x.inherits(r,Error),x.inherits(i,Error),e.exports=h}).call(t,n(5))},function(e,t,n){"use strict";function r(){this.promise=new i(function(e){e()})}var i=n(90).Promise;r.prototype.add=function(e){return this.promise=this.promise.catch(function(){}).then(function(){return e()}),this.promise},r.prototype.finish=function(){return this.promise},e.exports=r},function(e,t,n){"use strict";function r(e,t,n){t=s(t),e.request({method:"POST",url:"_index",body:t},n)}function i(e,t,n){e.request({method:"POST",url:"_find",body:t},n)}function o(e,t){e.request({method:"GET",url:"_index"},t)}function a(e,t,n){var r=t.ddoc,i=t.type||"json",o=t.name;if(!r)return n(new Error("you must provide an index's ddoc"));if(!o)return n(new Error("you must provide an index's name"));var a="_index/"+[r,i,o].map(encodeURIComponent).join("/");e.request({method:"DELETE",url:a},n)}var s=n(269);t.createIndex=r,t.find=i,t.getIndexes=o,t.deleteIndex=a},function(e,t,n){"use strict";function r(e,t,n){return s.upsert.call(e,t,n)}function i(e,t){function n(e){return e._rev&&"query"!==e.language&&(m=!0),e.language="query",e.views=e.views||{},g=!!e.views[u],e.views[u]={map:{fields:o.mergeObjects(t.index.fields)},reduce:"_count",options:{def:i}},e}t=f(t);var i=o.clone(t.index);t.index=d(t.index),c(t.index);var s=o.MD5(JSON.stringify(t)),u=t.name||"idx-"+s,p=t.ddoc||"idx-"+s,h="_design/"+p,m=!1,g=!1;return a("creating index",h),r(e,h,n).then(function(){if(m)throw new Error('invalid language for ddoc with id "'+h+'" (should be "query")')}).then(function(){var t=p+"/"+u;return l.query.call(e,t,{limit:0,reduce:!1}).then(function(){return{id:h,name:u,result:g?"exists":"created"}})})}var o=n(15),a=o.log,s=n(271),l=n(91),u=n(37),c=u.validateIndex,d=u.massageIndexDef,f=n(269);e.exports=i},function(e,t,n){"use strict";function r(e,t){function n(e){return 1===Object.keys(e.views).length&&e.views[a]?{_id:r,_deleted:!0}:(delete e.views[a],e)}if(!t.ddoc)throw new Error("you must supply an index.ddoc when deleting");if(!t.name)throw new Error("you must supply an index.name when deleting");var r=t.ddoc,a=t.name;return o(e,r,n).then(function(){return i.viewCleanup.apply(e)}).then(function(){return{ok:!0}})}var i=n(91),o=n(267);e.exports=r},function(e,t,n){"use strict";function r(e,t){for(var n=e,r=0,i=t.length;r-1:e===t})}function m(e,t){return t.every(function(t){return e.indexOf(t)>-1})}function g(e,t){return e.length===t}function $(e,t){var n=new RegExp(t);return n.test(e)}function _(e,t){switch(t){case"null":return null===e;case"boolean":return"boolean"==typeof e;case"number":return"number"==typeof e;case"string":return"string"==typeof e;case"array":return e instanceof Array;case"object":return"[object Object]"==={}.toString.call(e)}throw new Error(t+" not supported as a type.Please use one of object, string, array, number, boolean or null.")}var v=n(47).collate,b=n(37),y=b.isCombinationalField,x=b.getKey,k=b.getValue,w=b.parseField,E=n(15),A={$elemMatch:function(e,t,n,r){return!!d(r)&&(0===r.length?(console.log("FIELD WOOO!"),!1):"object"==typeof r[0]?r.some(function(e){return a(e,t,Object.keys(t))}):r.some(function(r){return s(t,e,n,r)}))},$eq:function(e,t,n,r){return c(r)&&0===v(r,t)},$gte:function(e,t,n,r){return c(r)&&v(r,t)>=0},$gt:function(e,t,n,r){return c(r)&&v(r,t)>0},$lte:function(e,t,n,r){return c(r)&&v(r,t)<=0},$lt:function(e,t,n,r){return c(r)&&v(r,t)<0},$exists:function(e,t,n,r){return t?f(r):!f(r)},$mod:function(e,t,n,r){return c(r)&&p(r,t)},$ne:function(e,t,n,r){return t.every(function(e){return 0!==v(r,e)})},$in:function(e,t,n,r){return c(r)&&h(r,t)},$nin:function(e,t,n,r){return c(r)&&!h(r,t)},$size:function(e,t,n,r){return c(r)&&g(r,t)},$all:function(e,t,n,r){return d(r)&&m(r,t)},$regex:function(e,t,n,r){return c(r)&&$(r,t)},$type:function(e,t,n,r){return _(r,t)}};e.exports=o},function(e,t,n){"use strict";function r(e){return e.ddoc.substring(8)+"/"+e.name}function i(e,t){var n=s(t);return n.descending?("endkey"in n&&"string"!=typeof n.endkey&&(n.endkey=""),"startkey"in n&&"string"!=typeof n.startkey&&(n.limit=0)):("startkey"in n&&"string"!=typeof n.startkey&&(n.startkey=""),"endkey"in n&&"string"!=typeof n.endkey&&(n.limit=0)),"key"in n&&"string"!=typeof n.key&&(n.limit=0),e.allDocs(n)}function o(e,t){return t.selector&&(t.selector=h(t.selector)),t.sort&&(t.sort=m(t.sort)),$(t),l(e).then(function(n){var o=d(t,n.indexes),s=o.index,l=a.extend(!0,{include_docs:!0,reduce:!1},o.queryOpts);if("startkey"in l&&"endkey"in l&&u(l.startkey,l.endkey)>0)return{docs:[]};var f=t.sort&&"string"!=typeof t.sort[0]&&"desc"===g(t.sort[0]); +return f&&(l.descending=!0,l=_(l)),o.inMemoryFields.length||("limit"in t&&(l.limit=t.limit),"skip"in t&&(l.skip=t.skip)),b.resolve().then(function(){if("_all_docs"===s.name)return i(e,l);var t=r(s);return c.query.call(e,t,l)}).then(function(e){return l.inclusive_start===!1&&(e.rows=v(e.rows,l.startkey,s)),o.inMemoryFields.length&&(e.rows=p(e.rows,t,o.inMemoryFields)),{docs:e.rows.map(function(e){var n=e.doc;return t.fields?a.pick(n,t.fields):n})}})})}var a=n(15),s=a.clone,l=n(268),u=n(47).collate,c=n(91),d=n(701),f=n(37),p=n(699),h=f.massageSelector,m=f.massageSort,g=f.getValue,$=f.validateFindRequest,_=f.reverseOptions,v=f.filterInclusiveStart,b=a.Promise;e.exports=o},function(e,t,n){"use strict";function r(e,t){for(var n=e.def.fields.map(E),r=0,i=n.length;r0){if("$ne"in f){n(u);break}var p="$gt"in f||"$gte"in f||"$lt"in f||"$lte"in f,h=Object.keys(e[o[u-1]]),m=x.arrayEquals(h,["$eq"]),g=x.arrayEquals(h,Object.keys(f)),_=p&&!m&&!g;if(_){n(u);break}}for(var v=Object.keys(f),b=null,y=0;y=e.length?t:e;return new Error("couldn't find a usable index. try creating an index on: "+r.join(", ")+". Make sure that only $eq, $gt, $gte, $lt, and $lte are used for the indexed fields.")}function y(e,t){k("planning query",e);var n=e.selector,r=e.sort,i=C(n,r),o=i.fields,a=i.sortOrder,s=h(n,o,a,t);if(!s)throw b(o,a,n);var u=s.def.fields[0],c=(n[E(u)],v(n,s)),d=c.queryOpts,f=c.inMemoryFields,p=l(f,s,n,o),m={queryOpts:d,index:s,inMemoryFields:p};return k("query plan",m),m}var x=n(15),k=x.log,w=n(37),E=w.getKey,A=w.getValue,C=w.getUserFields,S=null,T={"￿":{}},M=["$eq","$gt","$gte","$lt","$lte"];e.exports=y},function(e,t,n){"use strict";var r=n(15),i=r.callbackify;t.createIndex=i(n(697)),t.find=i(n(700)),t.getIndexes=i(n(268)),t.deleteIndex=i(n(698))},function(e,t,n){"use strict";var r=n(15),i=n(696),o=n(702);t.createIndex=r.toPromise(function(e,t){if("object"!=typeof e)return t(new Error("you must provide an index to create"));var n="http"===this.type()?i:o;n.createIndex(this,e,t)}),t.find=r.toPromise(function(e,t){if("undefined"==typeof t&&(t=e,e=void 0),"object"!=typeof e)return t(new Error("you must provide search parameters to find()"));var n="http"===this.type()?i:o;n.find(this,e,t)}),t.getIndexes=r.toPromise(function(e){var t="http"===this.type()?i:o;t.getIndexes(this,e)}),t.deleteIndex=r.toPromise(function(e,t){if("object"!=typeof e)return t(new Error("you must provide an index to delete"));var n="http"===this.type()?i:o;n.deleteIndex(this,e,t)}),"undefined"!=typeof window&&window.PouchDB&&window.PouchDB.plugin(t)},function(e,t,n){"use strict";function r(e){function t(e,t){function i(e){u[t]=e,++c===n&!r&&(r=!0,l.resolve(f,u))}a(e).then(i,function(e){r||(r=!0,l.reject(f,e))})}if("[object Array]"!==Object.prototype.toString.call(e))return o(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return a([]);for(var u=new Array(n),c=0,d=-1,f=new i(s);++d=g.length)){var e=Math.min($+Ir,g.length),t=g.slice($,e);s(t,$),$+=t.length}}function s(n,r){n.forEach(function(n,i){var s=r+i,l=u[n],c=p(l[0],["atts_since","attachments"]);c.open_revs=l.map(function(e){return e.rev}),c.open_revs=c.open_revs.filter(h);var d=h;0===c.open_revs.length&&(delete c.open_revs,d=m),["revs","attachments","binary","ajax"].forEach(function(e){e in t&&(c[e]=t[e])}),e.get(n,c,function(e,t){var r;r=e?[{error:e}]:d(t),o(s,n,r),a()})})}var l=t.docs,u={};l.forEach(function(e){e.id in u?u[e.id].push(e):u[e.id]=[e]});var c=Object.keys(u).length,d=0,f=new Array(c),g=Object.keys(u),$=0;a()}function $(){return"undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage&&"undefined"!=typeof chrome.storage.local}function _(){return vr}function v(e){$()?chrome.storage.onChanged.addListener(function(t){null!=t.db_name&&e.emit(t.dbName.newValue)}):_()&&("undefined"!=typeof addEventListener?addEventListener("storage",function(t){e.emit(t.key)}):window.attachEvent("storage",function(t){e.emit(t.key)}))}function b(){Ar.EventEmitter.call(this),this._listeners={},v(this)}function y(e){if("undefined"!==console&&e in console){var t=Array.prototype.slice.call(arguments,1);console[e].apply(console,t)}}function x(e,t){var n=6e5;e=parseInt(e,10)||0,t=parseInt(t,10),t!==t||t<=e?t=(e||1)<<1:t+=1,t>n&&(e=n>>1,t=n);var r=Math.random(),i=t-e;return~~(i*r+e)}function k(e){var t=0;return e||(t=2e3),x(e,t)}function w(e,t){y("info","The above "+e+" is totally normal. "+t)}function E(e){Error.call(this,e.reason),this.status=e.status,this.name=e.error,this.message=e.reason,this.error=!0}function A(e,t){function n(t){for(var n in e)"function"!=typeof e[n]&&(this[n]=e[n]);void 0!==t&&(this.reason=t)}return n.prototype=E.prototype,new n(t)}function C(e){if("object"!=typeof e){var t=e;e=Hr,e.data=t}return"error"in e&&"conflict"===e.error&&(e.name="conflict",e.status=409),"name"in e||(e.name=e.error||"unknown"),"status"in e||(e.status=500),"message"in e||(e.message=e.message||e.reason),e}function S(e,t,n){try{return!e(t,n)}catch(e){var r="Filter function threw: "+e.toString();return A(Vr,r)}}function T(e){var t={},n=e.filter&&"function"==typeof e.filter;return t.query=e.query_params,function(r){r.doc||(r.doc={});var i=n&&S(e.filter,r.doc,t);if("object"==typeof i)return i;if(i)return!1;if(e.include_docs){if(!e.attachments)for(var o in r.doc._attachments)r.doc._attachments.hasOwnProperty(o)&&(r.doc._attachments[o].stub=!0)}else delete r.doc;return!0}}function M(e){for(var t=[],n=0,r=e.length;n>>1,n(e[r],t)<0?i=r+1:o=r;return i}function K(e,t,n){var r=V(e,t,n);e.splice(r,0,t)}function J(e,t){for(var n,r,i=t,o=e.length;i0;){var i=n.pop(),o=i.tree1,a=i.tree2;(o[1].status||a[1].status)&&(o[1].status="available"===o[1].status||"available"===a[1].status?"available":"missing");for(var s=0;s0;){var m=h.pop();if(0!==m.diff)for(var g=m.ids[2],$=0,_=g.length;$<_;$++)h.push({ids:g[$],diff:m.diff-1,parent:m.ids,parentIdx:$});else m.ids[0]===d.ids[0]&&p.push(m)}var v=p[0];v?(r=Z(v.ids,d.ids),v.parent[2][v.parentIdx]=r.tree,i.push({pos:c.pos,ids:c.ids}),o=o||r.conflicts,a=!0):i.push(u)}else i.push(u)}return a||i.push(t),i.sort(G),{tree:i,conflicts:o||"internal_node"}}function ee(e,t){for(var n,r=W(e),i={},o=0,a=r.length;o0&&i.emit("error",t):i.emit("complete",n),i.removeAllListeners(),e.removeListener("destroyed",r)});n&&(i.on("complete",function(e){n(null,e)}),i.on("error",n)),e.once("destroyed",r),t.onChange=function(e){t.isCancelled||(le(i,e),i.startSeq&&i.startSeq<=e.seq&&(i.startSeq=!1))};var a=new Lr(function(e,n){t.complete=function(t,r){t?n(t):e(r)}});i.once("cancel",function(){e.removeListener("destroyed",r),t.complete(null,{status:"cancelled"})}),this.then=a.then.bind(a),this.catch=a.catch.bind(a),this.then(function(e){o(null,e)},o),e.taskqueue.isReady?i.doChanges(t):e.taskqueue.addTask(function(){i.isCancelled?i.emit("cancel"):i.doChanges(t)})}function ce(e,t,n){var r=[{rev:e._rev}];"all_docs"===n.style&&(r=Y(t.rev_tree).map(function(e){return{rev:e.rev}}));var i={id:t.id,changes:r,doc:e};return ie(t,e._rev)&&(i.deleted=!0),n.conflicts&&(i.doc._conflicts=H(t),i.doc._conflicts.length||delete i.doc._conflicts),i}function de(e,t){return et?1:0}function fe(e,t){for(var n=0;n0?t.keys.slice(t.skip):t.keys;if(t.descending&&r.reverse(),!r.length)return e._allDocs({limit:0},n);var i={offset:t.skip};return Lr.all(r.map(function(n){var r=br.extend({key:n,deleted:"ok"},t);return["limit","skip","keys"].forEach(function(e){delete r[e]}),new Lr(function(t,o){e._allDocs(r,function(e,r){return e?o(e):(i.total_rows=r.total_rows,void t(r.rows[0]||{key:n,error:"not_found"}))})})})).then(function(e){return i.rows=e,i})}function _e(e){var n=e._compactionQueue[0],r=n.opts,i=n.callback;e.get("_local/compaction").catch(function(){return!1}).then(function(n){n&&n.last_seq&&(r.last_seq=n.last_seq),e._compact(r,function(n,r){n?i(n):i(null,r),t.nextTick(function(){e._compactionQueue.shift(),e._compactionQueue.length&&_e(e)})})})}function ve(e){return"_"===e.charAt(0)&&e+"is not a valid attachment name, attachment names cannot start with '_'"}function be(){Ar.EventEmitter.call(this)}function ye(){this.isReady=!1,this.failed=!1,this.queue=[]}function xe(e){e&&r.debug&&y("error",e)}function ke(e,t){function n(){o.emit("destroyed",i)}function r(){e.removeListener("destroyed",n),e.emit("destroyed",e)}var i=t.originalName,o=e.constructor,a=o._destructionListeners;e.once("destroyed",n),a.has(i)||a.set(i,[]),a.get(i).push(r)}function we(e,t,n){if(!(this instanceof we))return new we(e,t,n);var r=this;if("function"!=typeof t&&"undefined"!=typeof t||(n=t,t={}),e&&"object"==typeof e&&(t=e,e=void 0),"undefined"==typeof n)n=xe;else{var i=n;n=function(){return y("warn","Using a callback for new PouchDB()is deprecated."),i.apply(null,arguments)}}e=e||t.name,t=u(t),delete t.name,this.__opts=t;var o=n;r.auto_compaction=t.auto_compaction,r.prefix=we.prefix,be.call(r),r.taskqueue=new ye;var a=new Lr(function(i,o){n=function(e,t){return e?o(e):(delete t.then,void i(t))},t=u(t);var a,s;return function(){try{if("string"!=typeof e)throw s=new Error("Missing/invalid DB name"),s.code=400,s;var n=(t.prefix||"")+e;if(a=we.parseAdapter(n,t),t.originalName=e,t.name=a.name,t.adapter=t.adapter||a.adapter,r._adapter=t.adapter,yr("pouchdb:adapter")("Picked adapter: "+t.adapter),r._db_name=e,!we.adapters[t.adapter])throw s=new Error("Adapter is missing"),s.code=404,s;if(!we.adapters[t.adapter].valid())throw s=new Error("Invalid Adapter"),s.code=404,s}catch(e){r.taskqueue.fail(e)}}(),s?o(s):(r.adapter=t.adapter,r.replicate={},r.replicate.from=function(e,t,n){return r.constructor.replicate(e,r,t,n)},r.replicate.to=function(e,t,n){return r.constructor.replicate(r,e,t,n)},r.sync=function(e,t,n){return r.constructor.sync(r,e,t,n)},r.replicate.sync=r.sync,void we.adapters[t.adapter].call(r,t,function(e){return e?(r.taskqueue.fail(e),void n(e)):(ke(r,t),r.emit("created",r),we.emit("created",t.originalName),r.taskqueue.ready(r),void n(null,r))}))});a.then(function(e){o(null,e)},o),r.then=a.then.bind(a),r.catch=a.catch.bind(a)}function Ee(e){Object.keys(Ar.EventEmitter.prototype).forEach(function(t){"function"==typeof Ar.EventEmitter.prototype[t]&&(e[t]=oi[t].bind(oi))});var t=e._destructionListeners=new wr.Map;e.on("destroyed",function(e){t.get(e).forEach(function(e){e()}),t.delete(e)})}function Ae(e){return e.reduce(function(e,t){return e[t]=!0,e},{})}function Ce(e){if(!/^\d+\-./.test(e))return A(Zr);var t=e.indexOf("-"),n=e.substring(0,t),r=e.substring(t+1);return{prefix:parseInt(n,10),id:r}}function Se(e,t){for(var n=e.start-e.ids.length+1,r=e.ids,i=[r[0],t,[]],o=1,a=r.length;o0||r0||r=43)}}).catch(function(){return!1})}function _t(e,t){var n=this;xi.queue.push({action:function(t){vt(n,e,t)},callback:t}),rt(n.constructor)}function vt(e,n,r){function i(e){var t=e.createObjectStore(mi,{keyPath:"id"});e.createObjectStore(gi,{autoIncrement:!0}).createIndex("_doc_id_rev","_doc_id_rev",{unique:!0}),e.createObjectStore($i,{keyPath:"digest"}),e.createObjectStore(vi,{keyPath:"id",autoIncrement:!1}),e.createObjectStore(yi),t.createIndex("deletedOrLocal","deletedOrLocal",{unique:!1}),e.createObjectStore(bi,{keyPath:"_id"});var n=e.createObjectStore(_i,{autoIncrement:!0});n.createIndex("seq","seq"),n.createIndex("digestSeq","digestSeq",{unique:!0})}function o(e,t){var n=e.objectStore(mi);n.createIndex("deletedOrLocal","deletedOrLocal",{unique:!1}),n.openCursor().onsuccess=function(e){var r=e.target.result;if(r){var i=r.value,o=ie(i);i.deletedOrLocal=o?"1":"0",n.put(i),r.continue()}else t()}}function a(e){e.createObjectStore(bi,{keyPath:"_id"}).createIndex("_doc_id_rev","_doc_id_rev",{unique:!0})}function s(e,t){var n=e.objectStore(bi),r=e.objectStore(mi),i=e.objectStore(gi),o=r.openCursor();o.onsuccess=function(e){var o=e.target.result;if(o){var a=o.value,s=a.id,l=oe(s),u=N(a);if(l){var c=s+"::"+u,d=s+"::",f=s+"::~",p=i.index("_doc_id_rev"),h=IDBKeyRange.bound(d,f,!1,!1),m=p.openCursor(h);m.onsuccess=function(e){if(m=e.target.result){var t=m.value;t._doc_id_rev===c&&n.put(t),i.delete(m.primaryKey),m.continue()}else r.delete(o.primaryKey),o.continue()}}else o.continue()}else t&&t()}}function l(e){var t=e.createObjectStore(_i,{autoIncrement:!0});t.createIndex("seq","seq"),t.createIndex("digestSeq","digestSeq",{unique:!0})}function c(e,t){var n=e.objectStore(gi),r=e.objectStore($i),i=e.objectStore(_i),o=r.count();o.onsuccess=function(e){var r=e.target.result;return r?void(n.openCursor().onsuccess=function(e){var n=e.target.result;if(!n)return t();for(var r=n.value,o=n.primaryKey,a=Object.keys(r._attachments||{}),s={},l=0;li&&(i=n),t.continue()}}function o(){var e=ot(s,s.winningRev,s.deleted),t=r.put(e);t.onsuccess=function(){a.continue()}}var a=e.target.result;if(a){var s=t(a.value);return s.winningRev=s.winningRev||N(s),s.seq?o():void i()}}}var p=n.name,h=null;e._meta=null,e.type=function(){return"idb"},e._id=d(function(t){t(null,e._meta.instanceId)}),e._bulkDocs=function(t,r,i){pt(n,t,r,e,h,wi,i)},e._get=function(e,t,n){function r(){n(a,{doc:i,metadata:o,ctx:s})}var i,o,a,s=t.ctx;if(!s){var l=ft(h,[mi,gi,$i],"readonly");if(l.error)return n(l.error);s=l.txn}s.objectStore(mi).get(e).onsuccess=function(e){if(o=at(e.target.result),!o)return a=A(Pr,"missing"),r();if(ie(o)&&!t.rev)return a=A(Pr,"deleted"),r();var n=s.objectStore(gi),l=t.rev||o.winningRev,u=o.id+"::"+l;n.index("_doc_id_rev").get(u).onsuccess=function(e){return i=e.target.result,i&&(i=st(i)),i?void r():(a=A(Pr,"missing"),r())}}},e._getAttachment=function(e,t,n,r,i){var o;if(r.ctx)o=r.ctx;else{var a=ft(h,[mi,gi,$i],"readonly");if(a.error)return i(a.error);o=a.txn}var s=n.digest,l=n.content_type;o.objectStore($i).get(s).onsuccess=function(e){var t=e.target.result.body;lt(t,l,r.binary,function(e){i(null,e)})}},e._info=function(t){if(null===h||!ki.has(p)){var n=new Error("db isn't open");return n.id="idbNull",t(n)}var r,i,o=ft(h,[gi],"readonly");if(o.error)return t(o.error);var a=o.txn,s=a.objectStore(gi).openCursor(null,"prev");s.onsuccess=function(t){var n=t.target.result;r=n?n.key:0,i=e._meta.docCount},a.oncomplete=function(){t(null,{doc_count:i,update_seq:r,idb_attachment_format:e._meta.blobSupport?"binary":"base64"})}},e._allDocs=function(t,n){gt(t,e,h,n)},e._changes=function(t){function n(e){function n(){return u.seq!==a?e.continue():(l=a,u.winningRev===o._rev?i(o):void r())}function r(){var e=o._id+"::"+u.winningRev,t=$.get(e);t.onsuccess=function(e){i(st(e.target.result))}}function i(n){var r=t.processChange(n,u,t);r.seq=u.seq;var i=b(r);return"object"==typeof i?t.complete(i):(i&&(v++,d&&_.push(r),t.attachments&&t.include_docs?ut(n,t,f,function(){ct([r],t.binary).then(function(){t.onChange(r)})}):t.onChange(r)),void(v!==c&&e.continue()))}var o=st(e.value),a=e.key;if(s&&!s.has(o._id))return e.continue();var u;return(u=y.get(o._id))?n():void(g.get(o._id).onsuccess=function(e){u=at(e.target.result),y.set(o._id,u),n()})}function r(e){var t=e.target.result;t&&n(t)}function i(){var e=[mi,gi];t.attachments&&e.push($i);var n=ft(h,e,"readonly");if(n.error)return t.complete(n.error);f=n.txn,f.onabort=it(t.complete),f.oncomplete=o,m=f.objectStore(gi),g=f.objectStore(mi),$=m.index("_doc_id_rev");var i;i=t.descending?m.openCursor(null,"prev"):m.openCursor(IDBKeyRange.lowerBound(t.since,!0)),i.onsuccess=r}function o(){function e(){t.complete(null,{results:_,last_seq:l})}!t.continuous&&t.attachments?ct(_).then(e):e()}if(t=u(t),t.continuous){var a=p+":"+j();return wi.addListener(p,a,e,t),wi.notify(p),{cancel:function(){wi.removeListener(p,a)}}}var s=t.doc_ids&&new wr.Set(t.doc_ids);t.since=t.since||0;var l=t.since,c="limit"in t?t.limit:-1;0===c&&(c=1);var d;d="return_docs"in t?t.return_docs:!("returnDocs"in t)||t.returnDocs;var f,m,g,$,_=[],v=0,b=T(t),y=new wr.Map;i()},e._close=function(e){return null===h?e(A(Yr)):(h.close(),ki.delete(p),h=null,void e())},e._getRevisionTree=function(e,t){var n=ft(h,[mi],"readonly");if(n.error)return t(n.error);var r=n.txn,i=r.objectStore(mi).get(e);i.onsuccess=function(e){var n=at(e.target.result);n?t(null,n.rev_tree):t(A(Pr))}},e._doCompaction=function(e,t,n){var r=[mi,gi,$i,_i],i=ft(h,r,"readwrite");if(i.error)return n(i.error);var o=i.txn,a=o.objectStore(mi);a.get(e).onsuccess=function(n){var r=at(n.target.result);z(r.rev_tree,function(e,n,r,i,o){var a=n+"-"+r;t.indexOf(a)!==-1&&(o.status="missing")}),dt(t,e,o);var i=r.winningRev,a=r.deleted;o.objectStore(mi).put(ot(r,i,a))},o.onabort=it(n),o.oncomplete=function(){n()}},e._getLocal=function(e,t){var n=ft(h,[bi],"readonly");if(n.error)return t(n.error);var r=n.txn,i=r.objectStore(bi).get(e);i.onerror=it(t),i.onsuccess=function(e){var n=e.target.result;n?(delete n._doc_id_rev,t(null,n)):t(A(Pr))}},e._putLocal=function(e,t,n){"function"==typeof t&&(n=t,t={}),delete e._revisions;var r=e._rev,i=e._id;r?e._rev="0-"+(parseInt(r.split("-")[1],10)+1):e._rev="0-1";var o,a=t.ctx;if(!a){var s=ft(h,[bi],"readwrite");if(s.error)return n(s.error);a=s.txn,a.onerror=it(n),a.oncomplete=function(){o&&n(null,o)}}var l,u=a.objectStore(bi);r?(l=u.get(i),l.onsuccess=function(i){var a=i.target.result;if(a&&a._rev===r){var s=u.put(e);s.onsuccess=function(){o={ok:!0,id:e._id,rev:e._rev},t.ctx&&n(null,o)}}else n(A(jr))}):(l=u.add(e),l.onerror=function(e){n(A(jr)),e.preventDefault(),e.stopPropagation()},l.onsuccess=function(){o={ok:!0,id:e._id,rev:e._rev},t.ctx&&n(null,o)})},e._removeLocal=function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t.ctx;if(!r){var i=ft(h,[bi],"readwrite");if(i.error)return n(i.error);r=i.txn,r.oncomplete=function(){o&&n(null,o)}}var o,a=e._id,s=r.objectStore(bi),l=s.get(a);l.onerror=it(n),l.onsuccess=function(r){var i=r.target.result;i&&i._rev===e._rev?(s.delete(a),o={ok:!0,id:a,rev:"0-0"},t.ctx&&n(null,o)):n(A(Pr))}},e._destroy=function(e,t){wi.removeAllListeners(p);var n=Ei.get(p);n&&n.result&&(n.result.close(),ki.delete(p));var r=indexedDB.deleteDatabase(p);r.onsuccess=function(){Ei.delete(p),_()&&p in localStorage&&delete localStorage[p],t(null,{ok:!0})},r.onerror=it(t)};var m=ki.get(p);if(m)return h=m.idb,e._meta=m.global,void t.nextTick(function(){r(null,e)});var g;g=n.storage?bt(p,n.storage):indexedDB.open(p,hi),Ei.set(p,g),g.onupgradeneeded=function(e){function t(){var e=u[d-1];d++,e&&e(r,t)}var n=e.target.result;if(e.oldVersion<1)return i(n);var r=e.currentTarget.transaction;e.oldVersion<3&&a(n),e.oldVersion<4&&l(n);var u=[o,s,c,f],d=e.oldVersion;t()},g.onsuccess=function(t){h=t.target.result,h.onversionchange=function(){h.close(),ki.delete(p)},h.onabort=function(e){y("error","Database has a global failure",e.target.error),h.close(),ki.delete(p)};var n=h.transaction([vi,yi,mi],"readwrite"),i=n.objectStore(vi).get(vi),o=null,a=null,s=null;i.onsuccess=function(t){var i=function(){null!==o&&null!==a&&null!==s&&(e._meta={name:p,instanceId:s,blobSupport:o,docCount:a},ki.set(p,{idb:h,global:e._meta}),r(null,e))},l=t.target.result||{id:vi};p+"_id"in l?(s=l[p+"_id"],i()):(s=j(),l[p+"_id"]=s,n.objectStore(vi).put(l).onsuccess=function(){i()}),si||(si=$t(n)),si.then(function(e){o=e,i()});var u=n.objectStore(mi).index("deletedOrLocal");u.count(IDBKeyRange.only("0")).onsuccess=function(e){a=e.target.result,i()}}},g.onerror=function(){var e="Failed to open indexedDB, are you in private browsing mode?";y("error",e),r(A(Jr,e))}}function bt(e,t){try{return indexedDB.open(e,{version:hi,storage:t})}catch(t){return indexedDB.open(e,hi)}}function yt(e){e.adapter("idb",_t,!0)}function xt(e){return decodeURIComponent(escape(e))}function kt(e){return e<65?e-48:e-55}function wt(e,t,n){for(var r="";t0;){var e=x.pop();e(null,b)}}function p(e,t){if(0===t){var n="CREATE TABLE IF NOT EXISTS "+Di+" (dbid, db_version INTEGER)",u="CREATE TABLE IF NOT EXISTS "+Ti+" (digest UNIQUE, escaped TINYINT(1), body BLOB)",c="CREATE TABLE IF NOT EXISTS "+Li+" (digest, seq INTEGER)",d="CREATE TABLE IF NOT EXISTS "+Ci+" (id unique, json, winningseq, max_seq INTEGER UNIQUE)",p="CREATE TABLE IF NOT EXISTS "+Si+" (seq INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, json, deleted TINYINT(1), doc_id, rev)",h="CREATE TABLE IF NOT EXISTS "+Mi+" (id UNIQUE, rev, json)";e.executeSql(u),e.executeSql(h),e.executeSql(c,[],function(){e.executeSql(ji),e.executeSql(Ni)}),e.executeSql(d,[],function(){e.executeSql(Pi),e.executeSql(p,[],function(){e.executeSql(Ii),e.executeSql(Bi),e.executeSql(n,[],function(){var t="INSERT INTO "+Di+" (db_version, dbid) VALUES (?,?)";b=j();var n=[Ai,b];e.executeSql(t,n,function(){f()})})})})}else{var m=function(){var n=t=")+" ?"),d.push(i)),o!==!1){var p=s?">":"<";c&&(p+="="),f.push(Ci+".id "+p+" ?"),d.push(o)}a!==!1&&(f.push(Ci+".id = ?"),d.push(a))}"ok"!==e.deleted&&f.push(Si+".deleted = 0"),E.readTransaction(function(t){g(t,function(i){if(n=i,0!==l){var o=Ft(qi,[Ci,Si],zi,f,Ci+".id "+(s?"DESC":"ASC"));o+=" LIMIT "+l+" OFFSET "+u,t.executeSql(o,d,function(t,n){for(var i=0,o=n.rows.length;i ?"],c=[e.since];e.doc_ids&&(u.push(Ci+".id IN "+Lt(e.doc_ids.length)),c=c.concat(e.doc_ids));var d="maxSeq "+(r?"DESC":"ASC"),f=Ft(t,n,l,u,d),p=T(e);e.view||e.filter||(f+=" LIMIT "+i);var h=e.since||0;E.readTransaction(function(t){t.executeSql(f,c,function(t,n){function r(t){return function(){e.onChange(t)}}for(var l=0,u=n.rows.length;l0&&(r=setTimeout(function(){n.reject(new Error("Load timeout for resource: "+e.url))},e.timeout)),n.promise.then(function(t){return i={statusCode:t.status},e.timeout>0&&clearTimeout(r),i.statusCode>=200&&i.statusCode<300?e.binary?t.blob():t.text():t.json()}).then(function(e){i.statusCode>=200&&i.statusCode<300?t(null,i,e):t(e,i)}).catch(function(e){t(e,i)}),{abort:n.reject}}function Zt(e,t){var n,r,i=!1,o=function(){n.abort()},a=function(){i=!0,n.abort()};n=e.xhr?new e.xhr:new XMLHttpRequest;try{n.open(e.method,e.url)}catch(e){return t(new Error(e.name||"Url is invalid"))}n.withCredentials=!("withCredentials"in e)||e.withCredentials,"GET"===e.method?delete e.headers["Content-Type"]:e.json&&(e.headers.Accept="application/json",e.headers["Content-Type"]=e.headers["Content-Type"]||"application/json",e.body&&e.processData&&"string"!=typeof e.body&&(e.body=JSON.stringify(e.body))),e.binary&&(n.responseType="arraybuffer"),"body"in e||(e.body=null);for(var s in e.headers)e.headers.hasOwnProperty(s)&&n.setRequestHeader(s,e.headers[s]);return e.timeout>0&&(r=setTimeout(a,e.timeout),n.onprogress=function(){clearTimeout(r),4!==n.readyState&&(r=setTimeout(a,e.timeout))},"undefined"!=typeof n.upload&&(n.upload.onprogress=n.onprogress)),n.onreadystatechange=function(){if(4===n.readyState){var r={statusCode:n.status};if(n.status>=200&&n.status<300){var o;o=e.binary?Me([n.response||""],{type:n.getResponseHeader("Content-Type")}):n.responseText,t(null,r,o)}else{var a={};if(i)a=new Error("ETIMEDOUT"),a.code="ETIMEDOUT";else try{a=JSON.parse(n.response)}catch(e){}a.status=n.status,t(a)}}},e.body&&e.body instanceof Blob?Pe(e.body,function(e){n.send(e)}):n.send(e.body),{abort:o}}function Qt(){try{return new XMLHttpRequest,!0}catch(e){return!1}}function en(e,t){return Yi||e.xhr?Zt(e,t):Xt(e,t)}function tn(){return""}function nn(e,t){function n(t,n,r){if(!e.binary&&e.json&&"string"==typeof t)try{t=JSON.parse(t)}catch(e){return r(e)}Array.isArray(t)&&(t=t.map(function(e){return e.error||e.missing?C(e):e})),e.binary&&Hi(t,n),r(null,t,n)}e=u(e);var r={method:"GET",headers:{},json:!0,processData:!0,timeout:1e4,cache:!1};return e=br.extend(r,e),e.json&&(e.binary||(e.headers.Accept="application/json"),e.headers["Content-Type"]=e.headers["Content-Type"]||"application/json"),e.binary&&(e.encoding=null,e.json=!1),e.processData||(e.json=!1),en(e,function(r,i,o){if(r)return t(C(r));var a,s=i.headers&&i.headers["content-type"],l=o||tn();if(!e.binary&&(e.json||!e.processData)&&"object"!=typeof l&&(/json/.test(s)||/^[\s]*\{/.test(l)&&/\}[\s]*$/.test(l)))try{l=JSON.parse(l.toString())}catch(e){}i.statusCode>=200&&i.statusCode<300?n(l,i,t):(a=C(l),a.status=i.statusCode,t(a))})}function rn(e,t){var n=navigator&&navigator.userAgent?navigator.userAgent.toLowerCase():"",r=n.indexOf("safari")!==-1&&n.indexOf("chrome")===-1,i=n.indexOf("msie")!==-1,o=n.indexOf("edge")!==-1,a=r||(i||o)&&"GET"===e.method,s=!("cache"in e)||e.cache,l=/^blob:/.test(e.url);if(!l&&(a||!s)){var u=e.url.indexOf("?")!==-1;e.url+=(u?"&":"?")+"_nonce="+Date.now()}return nn(e,t)}function on(e){var t=e.doc&&e.doc._attachments;t&&Object.keys(t).forEach(function(e){var n=t[e];n.data=Fe(n.data,n.content_type)})}function an(e){return/^_design/.test(e)?"_design/"+encodeURIComponent(e.slice(8)):/^_local/.test(e)?"_local/"+encodeURIComponent(e.slice(7)):encodeURIComponent(e)}function sn(e){return e._attachments&&Object.keys(e._attachments)?Lr.all(Object.keys(e._attachments).map(function(t){var n=e._attachments[t];if(n.data&&"string"!=typeof n.data)return new Lr(function(e){Be(n.data,e)}).then(function(e){n.data=e})})):Lr.resolve()}function ln(e){var t=R(e);(t.user||t.password)&&(t.auth={username:t.user,password:t.password});var n=t.path.replace(/(^\/|\/$)/g,"").split("/");return t.db=n.pop(),t.db.indexOf("%")===-1&&(t.db=encodeURIComponent(t.db)),t.path=n.join("/"),t}function un(e,t){return cn(e,e.db+"/"+t)}function cn(e,t){var n=e.path?"/":"";return e.protocol+"://"+e.host+(e.port?":"+e.port:"")+"/"+e.path+n+t}function dn(e){return"?"+Object.keys(e).map(function(t){return t+"="+encodeURIComponent(e[t])}).join("&")}function fn(e,t){function n(e,t,n){var r=e.ajax||{},i=br.extend(u(h),r,t);return Ki(i.method+" "+i.url),s._ajax(i,n)}function r(e,t){return new Lr(function(r,i){n(e,t,function(e,t){return e?i(e):void r(t)})})}function i(e,t){return f(e,Er(function(e){o().then(function(){return t.apply(this,e)}).catch(function(t){var n=e.pop();n(t)})}))}function o(){if(e.skipSetup||e.skip_setup)return Lr.resolve();if(v)return v;var t={method:"GET",url:d};return v=r({},t).catch(function(e){return e&&e.status&&404===e.status?(w(404,"PouchDB is just detecting if the remote exists."),r({},{method:"PUT",url:d})):Lr.reject(e)}).catch(function(e){return!(!e||!e.status||412!==e.status)||Lr.reject(e)}),v.catch(function(){v=null}),v}function a(e){return e.split("/").map(encodeURIComponent).join("/")}var s=this,l=ln;e.getHost&&(l=e.getHost);var c=l(e.name,e),d=un(c,"");e=u(e);var h=e.ajax||{};if(s.getUrl=function(){return d},s.getHeaders=function(){return h.headers||{}},e.auth||c.auth){var m=e.auth||c.auth,$=m.username+":"+m.password,_=di(unescape(encodeURIComponent($)));h.headers=h.headers||{},h.headers.Authorization="Basic "+_}s._ajax=rn;var v;setTimeout(function(){t(null,s)}),s.type=function(){return"http"},s.id=i("id",function(e){n({},{method:"GET",url:cn(c,"")},function(t,n){var r=n&&n.uuid?n.uuid+c.db:un(c,"");e(null,r)})}),s.request=i("request",function(e,t){e.url=un(c,e.url),n({},e,t)}),s.compact=i("compact",function(e,t){"function"==typeof e&&(t=e,e={}),e=u(e),n(e,{url:un(c,"_compact"),method:"POST"},function(){function n(){s.info(function(r,i){i&&!i.compact_running?t(null,{ok:!0}):setTimeout(n,e.interval||200)})}n()})}),s.bulkGet=f("bulkGet",function(e,t){function r(t){var r={};e.revs&&(r.revs=!0),e.attachments&&(r.attachments=!0),n({},{url:un(c,"_bulk_get"+dn(r)),method:"POST",body:{docs:e.docs}},t)}function i(){function n(e){return function(n,r){s[e]=r.results,++a===i&&t(null,{results:M(s)})}}for(var r=Wi,i=Math.ceil(e.docs.length/r),a=0,s=new Array(i),l=0;lt?t:s;var u={method:f,url:un(c,"_changes"+dn(i)),timeout:e.timeout,body:d};g=r,e.aborted||o().then(function(){m=n(e,u,l)}).catch(l)}},_={results:[]},v=function(n,i){if(!e.aborted){var o=0;if(i&&i.results){o=i.results.length,_.last_seq=i.last_seq;var l={};l.query=e.query_params,i.results=i.results.filter(function(t){s--;var n=T(e)(t);return n&&(e.include_docs&&e.attachments&&e.binary&&on(t),r&&_.results.push(t),e.onChange(t)),n})}else if(n)return e.aborted=!0,void e.complete(n);i&&i.last_seq&&(g=i.last_seq);var u=a&&s<=0||i&&o0?e.slice(n):e}function kn(e){var t=e.value,n=t&&"object"==typeof t&&t._id||e.id;return n}function wn(e){e.rows.forEach(function(e){var t=e.doc&&e.doc._attachments;t&&Object.keys(t).forEach(function(e){var n=t[e];t[e].data=Fe(n.data,n.content_type)})})}function En(e){return function(t){return e.include_docs&&e.attachments&&e.binary&&wn(t),t}}function An(e){var t="builtin "+e+" function requires map values to be numbers or number arrays";return new Jn(t)}function Cn(e){for(var t=0,n=0,r=e.length;n0)throw new Vn("No rows can match your key range, reverse your start_key and end_key or set {descending : true}");if(t.reduce&&e.reduce!==!1){if(e.include_docs)throw new Vn("{include_docs:true} is invalid for reduce");if(e.keys&&e.keys.length>1&&!e.group&&!e.group_level)throw new Vn("Multi-key fetches for reduce views must use {group: true}")}["group_level","limit","skip"].forEach(function(t){var n=Dn(e[t]);if(n)throw n})}function Fn(e,t,n){var r,i=[],o="GET";if(Sn("reduce",n,i),Sn("include_docs",n,i),Sn("attachments",n,i),Sn("limit",n,i),Sn("descending",n,i),Sn("group",n,i),Sn("group_level",n,i),Sn("skip",n,i),Sn("stale",n,i),Sn("conflicts",n,i),Sn("startkey",n,i,!0),Sn("start_key",n,i,!0),Sn("endkey",n,i,!0),Sn("end_key",n,i,!0),Sn("inclusive_end",n,i),Sn("key",n,i,!0),i=i.join("&"),i=""===i?"":"?"+i,"undefined"!=typeof n.keys){var a=2e3,s="keys="+encodeURIComponent(JSON.stringify(n.keys));s.length+i.length+1<=a?i+=("?"===i[0]?"&":"?")+s:(o="POST","string"==typeof t?r={keys:n.keys}:t.keys=n.keys)}if("string"==typeof t){var l=$n(t);return e.request({method:o,url:"_design/"+l[0]+"/_view/"+l[1]+i,body:r}).then(En(n))}return r=r||{},Object.keys(t).forEach(function(e){Array.isArray(t[e])?r[e]=t[e]:r[e]=t[e].toString()}),e.request({method:"POST",url:"_temp_view"+i,body:r}).then(En(n))}function On(e,t,n){return new Lr(function(r,i){e._query(t,n,function(e,t){return e?i(e):void r(t)})})}function Rn(e){return new Lr(function(t,n){e._viewCleanup(function(e,r){return e?n(e):void t(r)})})}function In(e){return function(t){if(404===t.status)return e;throw t}}function Bn(e,t,n){function r(){return _n(c)?Lr.resolve(s):t.db.get(a).catch(In(s))}function i(e){return e.keys.length?t.db.allDocs({keys:e.keys,include_docs:!0}):Lr.resolve({rows:[]})}function o(e,t){for(var n=[],r={},i=0,o=t.rows.length;in))return e.doc.value}var r=Dr.parseIndexableString(e.doc._id);return{key:r[0],id:r[1],value:"value"in e.doc?e.doc.value:null}})})}function r(n){var r;if(r=o?qn(e,n,t):{total_rows:i,offset:a,rows:n},t.include_docs){var s=eo(n.map(kn));return e.sourceDB.allDocs({keys:s,include_docs:!0,conflicts:t.conflicts,attachments:t.attachments,binary:t.binary}).then(function(e){var t={};return e.rows.forEach(function(e){e.doc&&(t["$"+e.id]=e.doc)}),n.forEach(function(e){var n=kn(e),r=t["$"+n];r&&(e.doc=r)}),r})}return r}var i,o=e.reduceFun&&t.reduce!==!1,a=t.skip||0;if("undefined"==typeof t.keys||t.keys.length||(t.limit=0,delete t.keys),"undefined"!=typeof t.keys){var s=t.keys,l=s.map(function(e){var t={startkey:Dr.toIndexableString([e]),endkey:Dr.toIndexableString([e,{}])};return n(t)});return Lr.all(l).then(M).then(r)}var u={descending:t.descending};if(t.start_key&&(t.startkey=t.start_key),t.end_key&&(t.endkey=t.end_key),"undefined"!=typeof t.startkey&&(u.startkey=t.descending?Dr.toIndexableString([t.startkey,{}]):Dr.toIndexableString([t.startkey])),"undefined"!=typeof t.endkey){var c=t.inclusive_end!==!1;t.descending&&(c=!c),u.endkey=Dr.toIndexableString(c?[t.endkey,{}]:[t.endkey])}if("undefined"!=typeof t.key){var d=Dr.toIndexableString([t.key]),f=Dr.toIndexableString([t.key,{}]);u.descending?(u.endkey=d,u.startkey=f):(u.startkey=d,u.endkey=f)}return o||("number"==typeof t.limit&&(u.limit=t.limit),u.skip=a),n(u).then(r)}function Un(e){return e.request({method:"POST",url:"_view_cleanup"})}function Wn(e){return e.get("_local/mrviews").then(function(t){var n={};Object.keys(t.views).forEach(function(e){var t=$n(e),r="_design/"+t[0],i=t[1];n[r]=n[r]||{},n[r][i]=!0});var r={keys:Object.keys(n),include_docs:!0};return e.allDocs(r).then(function(r){var i={};r.rows.forEach(function(e){var r=e.key.substring(8);Object.keys(n[e.key]).forEach(function(n){var o=r+"/"+n;t.views[o]||(o=n);var a=Object.keys(t.views[o]),s=e.doc&&e.doc.views&&e.doc.views[n];a.forEach(function(e){i[e]=i[e]||s})})});var o=Object.keys(i).filter(function(e){return!i[e]}),a=o.map(function(t){return Qi(jn(t),function(){return new e.constructor(t,e.__opts).destroy()})()});return Lr.all(a).then(function(){return{ok:!0}})})},In({ok:!0}))}function Gn(e,n,r){if("http"===e.type())return Fn(e,n,r);if("function"==typeof e._query)return On(e,n,r);if("string"!=typeof n){Ln(r,n);var i={db:e,viewName:"temp_view/temp_view",map:n.map,reduce:n.reduce,temporary:!0};return no.add(function(){return mn(i).then(function(e){function t(){return e.db.destroy()}return Zi(Nn(e).then(function(){return Yn(e,r)}),t)})}),no.finish()}var o=n,a=$n(o),s=a[0],l=a[1];return e.get("_design/"+s).then(function(n){var i=n.views&&n.views[l];if(!i||"string"!=typeof i.map)throw new Kn("ddoc "+s+" has no view named "+l);Ln(r,i);var a={db:e,viewName:o,map:i.map,reduce:i.reduce};return mn(a).then(function(e){return"ok"===r.stale||"update_after"===r.stale?("update_after"===r.stale&&t.nextTick(function(){Nn(e)}),Yn(e,r)):Nn(e).then(function(){return Yn(e,r)})})})}function Vn(e){this.status=400,this.name="query_parse_error",this.message=e,this.error=!0;try{Error.captureStackTrace(this,Vn)}catch(e){}}function Kn(e){this.status=404,this.name="not_found",this.message=e,this.error=!0;try{Error.captureStackTrace(this,Kn)}catch(e){}}function Jn(e){this.status=500,this.name="invalid_value",this.message=e,this.error=!0;try{Error.captureStackTrace(this,Jn)}catch(e){}}function Xn(e){return/^1-/.test(e)}function Zn(e,t,n){return!e._attachments||!e._attachments[n]||e._attachments[n].digest!==t._attachments[n].digest}function Qn(e,t){var n=Object.keys(t._attachments);return Lr.all(n.map(function(n){return e.getAttachment(t._id,n,{rev:t._rev})}))}function er(e,t,n){var r="http"===t.type()&&"http"!==e.type(),i=Object.keys(n._attachments);return r?e.get(n._id).then(function(r){return Lr.all(i.map(function(i){return Zn(r,n,i)?t.getAttachment(n._id,i):e.getAttachment(r._id,i)}))}).catch(function(e){if(404!==e.status)throw e;return Qn(t,n)}):Qn(t,n)}function tr(e){var t=[];return Object.keys(e).forEach(function(n){var r=e[n].missing;r.forEach(function(e){t.push({id:n,rev:e})})}),{docs:t,revs:!0}}function nr(e,t,n,r){function i(){var i=tr(n);if(i.docs.length)return e.bulkGet(i).then(function(n){if(r.cancelled)throw new Error("cancelled");return Lr.all(n.results.map(function(n){return Lr.all(n.docs.map(function(n){var r=n.ok;return n.error&&(d=!1),r&&r._attachments?er(t,e,r).then(function(e){var t=Object.keys(r._attachments);return e.forEach(function(e,n){var i=r._attachments[t[n]];delete i.stub,delete i.length,i.data=e}),r}):r}))})).then(function(e){c=c.concat(M(e).filter(Boolean))})})}function o(e){return e._attachments&&Object.keys(e._attachments).length>0}function a(t){return e.allDocs({keys:t,include_docs:!0}).then(function(e){if(r.cancelled)throw new Error("cancelled");e.rows.forEach(function(e){!e.deleted&&e.doc&&Xn(e.value.rev)&&!o(e.doc)&&(c.push(e.doc),delete n[e.id])})})}function s(){var e=Object.keys(n).filter(function(e){var t=n[e].missing;return 1===t.length&&Xn(t[0])});if(e.length>0)return a(e)}function l(){return{ok:d,docs:c}}n=u(n);var c=[],d=!0;return Lr.resolve().then(s).then(i).then(l)}function rr(e,t,n,r,i){return e.get(t).catch(function(n){if(404===n.status)return"http"===e.type()&&w(404,"PouchDB is just checking if a remote checkpoint exists."),{session_id:r,_id:t,history:[],replicator:co,version:uo};throw n}).then(function(o){if(!i.cancelled)return o.history=(o.history||[]).filter(function(e){return e.session_id!==r}),o.history.unshift({last_seq:n,session_id:r}),o.history=o.history.slice(0,fo),o.version=uo,o.replicator=co,o.session_id=r,o.last_seq=n,e.put(o).catch(function(o){if(409===o.status)return rr(e,t,n,r,i);throw o})})}function ir(e,t,n,r){this.src=e,this.target=t,this.id=n,this.returnValue=r}function or(e,t){return e.session_id===t.session_id?{last_seq:e.last_seq,history:e.history}:ar(e.history,t.history)}function ar(e,t){var n=e[0],r=e.slice(1),i=t[0],o=t.slice(1);if(!n||0===t.length)return{last_seq:po,history:[]};var a=n.session_id;if(sr(a,t))return{last_seq:n.last_seq,history:e};var s=i.session_id;return sr(s,r)?{last_seq:i.last_seq,history:o}:ar(r,o)}function sr(e,t){var n=t[0],r=t.slice(1);return!(!e||0===t.length)&&(e===n.session_id||sr(e,r))}function lr(e){return"number"==typeof e.status&&4===Math.floor(e.status/100)}function ur(e,t,n,r){if(e.retry===!1)return t.emit("error",n),void t.removeAllListeners();if("function"!=typeof e.back_off_function&&(e.back_off_function=k),t.emit("requestError",n),"active"===t.state||"pending"===t.state){t.emit("paused",n),t.state="stopped";var i=function(){e.current_back_off=mo},o=function(){t.removeListener("active",i)};t.once("paused",o),t.once("active",i)}e.current_back_off=e.current_back_off||mo,e.current_back_off=e.back_off_function(e.current_back_off),setTimeout(r,e.current_back_off)}function cr(e){return Object.keys(e).sort(Dr.collate).reduce(function(t,n){return t[n]=e[n],t},{})}function dr(e,t,n){var r=n.doc_ids?n.doc_ids.sort(Dr.collate):"",i=n.filter?n.filter.toString():"",o="",a="";return n.filter&&n.query_params&&(o=JSON.stringify(cr(n.query_params))),n.filter&&"_view"===n.filter&&(a=n.view.toString()),Lr.all([e.id(),t.id()]).then(function(e){var t=e[0]+e[1]+i+a+o+r;return new Lr(function(e){Ye(t,e)})}).then(function(e){return e=e.replace(/\//g,".").replace(/\+/g,"_"),"_local/"+e})}function fr(e,t,n,r,i){function o(){return k?Lr.resolve():dr(e,t,n).then(function(n){x=n,k=new ir(e,t,x,r)})}function a(){if(B=[],0!==y.docs.length){var e=y.docs;return t.bulkDocs({docs:e,new_edits:!1}).then(function(t){if(r.cancelled)throw h(),new Error("cancelled");var n=[],o={};t.forEach(function(e){e.error&&(i.doc_write_failures++,n.push(e),o[e.id]=e)}),I=I.concat(n),i.docs_written+=y.docs.length-n.length;var a=n.filter(function(e){return"unauthorized"!==e.name&&"forbidden"!==e.name});if(e.forEach(function(e){var t=o[e._id];t?r.emit("denied",u(t)):B.push(e)}),a.length>0){var s=new Error("bulkDocs error");throw s.other_errors=n,p("target.bulkDocs failed to write docs",s),new Error("bulkWrite partial failure")}},function(t){throw i.doc_write_failures+=e.length,t})}}function s(){if(y.error)throw new Error("There was a problem getting docs.");i.last_seq=M=y.seq;var e=u(i);return B.length&&(e.docs=B,r.emit("change",e)),A=!0,k.writeCheckpoint(y.seq,P).then(function(){if(A=!1,r.cancelled)throw h(),new Error("cancelled");y=void 0,_()}).catch(b)}function l(){var e={};return y.changes.forEach(function(t){"_user/"!==t.id&&(e[t.id]=t.changes.map(function(e){return e.rev}))}),t.revsDiff(e).then(function(e){if(r.cancelled)throw h(),new Error("cancelled");y.diffs=e})}function c(){return nr(e,t,y.diffs,r).then(function(e){y.error=!e.ok,e.docs.forEach(function(e){delete y.diffs[e._id],i.docs_read++,y.docs.push(e)})})}function d(){if(!r.cancelled&&!y){if(0===w.length)return void f(!0);y=w.shift(),l().then(c).then(a).then(s).then(d).catch(function(e){p("batch processing terminated with error",e)})}}function f(e){return 0===E.changes.length?void(0!==w.length||y||((D&&N.live||C)&&(r.state="pending",r.emit("paused")),C&&h())):void((e||C||E.changes.length>=L)&&(w.push(E),E={seq:0,changes:[],docs:[]},"pending"!==r.state&&"stopped"!==r.state||(r.state="active",r.emit("active")),d()))}function p(e,t){S||(t.message||(t.message=e),i.ok=!1,i.status="aborting",i.errors.push(t),I=I.concat(t),w=[],E={seq:0,changes:[],docs:[]},h())}function h(){if(!(S||r.cancelled&&(i.status="cancelled",A))){i.status=i.status||"complete",i.end_time=new Date,i.last_seq=M,S=!0;var o=I.filter(function(e){return"unauthorized"!==e.name&&"forbidden"!==e.name});if(o.length>0){var a=I.pop();I.length>0&&(a.other_errors=I),a.result=i,ur(n,r,a,function(){fr(e,t,n,r)})}else i.errors=I,r.emit("complete",i),r.removeAllListeners()}}function m(e){if(r.cancelled)return h();var t=T(n)(e);t&&(E.seq=e.seq,E.changes.push(e),f(0===w.length&&N.live))}function g(e){if(O=!1,r.cancelled)return h();if(e.results.length>0)N.since=e.last_seq,_(),f(!0);else{var t=function(){D?(N.live=!0,_()):C=!0,f(!0)};y||0!==e.results.length?t():(A=!0,k.writeCheckpoint(e.last_seq,P).then(function(){A=!1,i.last_seq=M=e.last_seq,t()}).catch(b))}}function $(e){return O=!1,r.cancelled?h():void p("changes rejected",e)}function _(){function t(){o.cancel()}function i(){r.removeListener("cancel",t)}if(!O&&!C&&w.lengthr.since&&!r.cancelled&&(r.since=e.seq,r.onChange(e))}).on("complete",function(){"waiting"===a&&setTimeout(function(){i()},0),a=!1}).on("error",e)}}if(!this._listeners[t]){var o=this,a=!1;this._listeners[t]=i,this.on(e,i)}},b.prototype.removeListener=function(e,t){t in this._listeners&&Ar.EventEmitter.prototype.removeListener.call(this,e,this._listeners[t])},b.prototype.notifyLocalWindows=function(e){$()?chrome.storage.local.set({dbName:e}):_()&&(localStorage[e]="a"===localStorage[e]?"b":"a")},b.prototype.notify=function(e){this.emit(e),this.notifyLocalWindows(e)},xr(E,Error),E.prototype.toString=function(){return JSON.stringify({status:this.status,name:this.name,message:this.message,reason:this.reason})};var Br=(new E({status:401,error:"unauthorized",reason:"Name or password is incorrect."}),new E({status:400,error:"bad_request",reason:"Missing JSON list of 'docs'"})),Pr=new E({status:404,error:"not_found",reason:"missing"}),jr=new E({status:409,error:"conflict",reason:"Document update conflict"}),Nr=new E({status:400,error:"bad_request",reason:"_id field must contain a string"}),zr=new E({status:412,error:"missing_id",reason:"_id is required for puts"}),qr=new E({status:400,error:"bad_request",reason:"Only reserved document ids may start with underscore."}),Yr=new E({status:412,error:"precondition_failed",reason:"Database not open"}),Hr=new E({status:500,error:"unknown_error",reason:"Database encountered an unknown error"}),Ur=new E({status:500,error:"badarg",reason:"Some query argument is invalid"}),Wr=(new E({status:400,error:"invalid_request",reason:"Request was invalid"}),new E({status:400,error:"query_parse_error",reason:"Some query parameter is invalid"})),Gr=new E({status:500,error:"doc_validation",reason:"Bad special document member"}),Vr=new E({status:400,error:"bad_request",reason:"Something wrong with the request"}),Kr=new E({status:400,error:"bad_request",reason:"Document must be a JSON object"}),Jr=(new E({status:404,error:"not_found",reason:"Database not found"}),new E({status:500,error:"indexed_db_went_bad",reason:"unknown"})),Xr=new E({status:500,error:"web_sql_went_bad",reason:"unknown"}),Zr=(new E({status:500,error:"levelDB_went_went_bad",reason:"unknown"}),new E({status:403,error:"forbidden",reason:"Forbidden by design doc validate_doc_update function"}),new E({status:400,error:"bad_request",reason:"Invalid rev format"})),Qr=(new E({status:412,error:"file_exists",reason:"The database could not be created, the file already exists."}),new E({status:412,error:"missing_stub"})),ei=(new E({status:413,error:"invalid_url",reason:"Provided URL is invalid"}),["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"]),ti="queryKey",ni=/(?:^|&)([^&=]*)=?([^&]*)/g,ri=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,ii="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");xr(ue,Ar.EventEmitter),ue.prototype.cancel=function(){this.isCancelled=!0,this.db.taskqueue.isReady&&this.emit("cancel")},ue.prototype.doChanges=function(e){var t=this,n=e.complete;if(e=u(e),"live"in e&&!("continuous"in e)&&(e.continuous=e.live),e.processChange=ce,"latest"===e.since&&(e.since="now"),e.since||(e.since=0),"now"===e.since)return void this.db.info().then(function(r){return t.isCancelled?void n(null,{status:"cancelled"}):(e.since=r.update_seq,void t.doChanges(e))},n);if(e.continuous&&"now"!==e.since&&this.db.info().then(function(e){t.startSeq=e.update_seq},function(e){if("idbNull"!==e.id)throw e}),e.view&&!e.filter&&(e.filter="_view"),e.filter&&"string"==typeof e.filter&&("_view"===e.filter?e.view=O(e.view):e.filter=O(e.filter),"http"!==this.db.type()&&!e.doc_ids))return this.filterChanges(e);"descending"in e||(e.descending=!1),e.limit=0===e.limit?1:e.limit,e.complete=n;var r=this.db._changes(e);if(r&&"function"==typeof r.cancel){var i=t.cancel;t.cancel=Er(function(e){r.cancel(),i.apply(this,e)})}},ue.prototype.filterChanges=function(e){var t=this,n=e.complete;if("_view"===e.filter){if(!e.view||"string"!=typeof e.view){var r=A(Vr,"`view` filter parameter not found or invalid.");return n(r)}var i=F(e.view);this.db.get("_design/"+i[0],function(r,o){if(t.isCancelled)return n(null,{status:"cancelled"});if(r)return n(C(r));var a=o&&o.views&&o.views[i[1]]&&o.views[i[1]].map;return a?(e.filter=se(a),void t.doChanges(e)):n(A(Pr,o.views?"missing json key: "+i[1]:"missing json key: views"))})}else{var o=F(e.filter);if(!o)return t.doChanges(e);this.db.get("_design/"+o[0],function(r,i){if(t.isCancelled)return n(null,{status:"cancelled"});if(r)return n(C(r));var a=i&&i.filters&&i.filters[o[1]];return a?(e.filter=ae(a),void t.doChanges(e)):n(A(Pr,i&&i.filters?"missing json key: "+o[1]:"missing json key: filters"))})}},xr(be,Ar.EventEmitter),be.prototype.post=f("post",function(e,t,n){return"function"==typeof t&&(n=t,t={}),"object"!=typeof e||Array.isArray(e)?n(A(Kr)):void this.bulkDocs({docs:[e]},t,pe(n))}),be.prototype.put=f("put",Er(function(e){function t(){a||(y("warn","db.put(doc, id, rev) has been deprecated and will be removed in a future release, please use db.put({_id: id, _rev: rev}) instead"),a=!0)}var n,r,i,o,a=!1,s=e.shift(),l="_id"in s;if("object"!=typeof s||Array.isArray(s))return(o=e.pop())(A(Kr));for(;;)if(n=e.shift(),r=typeof n,"string"!==r||l?"string"!==r||!l||"_rev"in s?"object"===r?i=n:"function"===r&&(o=n):(t(),s._rev=n):(t(),s._id=n,l=!0),!e.length)break;return i=i||{},D(s._id),oe(s._id)&&"function"==typeof this._putLocal?s._deleted?this._removeLocal(s,o):this._putLocal(s,o):void this.bulkDocs({docs:[s]},i,pe(o))})),be.prototype.putAttachment=f("putAttachment",function(e,t,n,r,i){function o(e){var n="_rev"in e?parseInt(e._rev,10):0;return e._attachments=e._attachments||{},e._attachments[t]={content_type:i,data:r,revpos:++n},a.put(e)}var a=this;return"function"==typeof i&&(i=r,r=n,n=null),"undefined"==typeof i&&(i=r,r=n,n=null),a.get(e).then(function(e){if(e._rev!==n)throw A(jr);return o(e)},function(t){if(t.reason===Pr.message)return o({_id:e});throw t})}),be.prototype.removeAttachment=f("removeAttachment",function(e,t,n,r){var i=this;i.get(e,function(e,o){return e?void r(e):o._rev!==n?void r(A(jr)):o._attachments?(delete o._attachments[t],0===Object.keys(o._attachments).length&&delete o._attachments,void i.put(o,r)):r()})}),be.prototype.remove=f("remove",function(e,t,n,r){var i;"string"==typeof t?(i={_id:e,_rev:t},"function"==typeof n&&(r=n,n={})):(i=e,"function"==typeof t?(r=t,n={}):(r=n,n=t)),n=n||{},n.was_delete=!0;var o={_id:i._id,_rev:i._rev||n.rev};return o._deleted=!0,oe(o._id)&&"function"==typeof this._removeLocal?this._removeLocal(i,r):void this.bulkDocs({docs:[o]},n,pe(r))}),be.prototype.revsDiff=f("revsDiff",function(e,t,n){function r(e,t){s.has(e)||s.set(e,{missing:[]}),s.get(e).missing.push(t)}function i(t,n){var i=e[t].slice(0);z(n,function(e,n,o,a,s){var l=n+"-"+o,u=i.indexOf(l);u!==-1&&(i.splice(u,1),"available"!==s.status&&r(t,l))}),i.forEach(function(e){r(t,e)})}"function"==typeof t&&(n=t,t={});var o=Object.keys(e);if(!o.length)return n(null,{});var a=0,s=new wr.Map;o.map(function(t){this._getRevisionTree(t,function(r,l){if(r&&404===r.status&&"missing"===r.message)s.set(t,{missing:e[t]});else{if(r)return n(r);i(t,l)}if(++a===o.length){var u={};return s.forEach(function(e,t){u[t]=e}),n(null,u)}})},this)}),be.prototype.bulkGet=f("bulkGet",function(e,t){g(this,e,t)}),be.prototype.compactDocument=f("compactDocument",function(e,t,n){var r=this;this._getRevisionTree(e,function(i,o){if(i)return n(i);var a=ge(o),s=[],l=[];Object.keys(a).forEach(function(e){a[e]>t&&s.push(e)}),z(o,function(e,t,n,r,i){var o=t+"-"+n;"available"===i.status&&s.indexOf(o)!==-1&&l.push(o)}),r._doCompaction(e,l,n)})}),be.prototype.compact=f("compact",function(e,t){"function"==typeof e&&(t=e,e={});var n=this;e=e||{},n._compactionQueue=n._compactionQueue||[],n._compactionQueue.push({opts:e,callback:t}),1===n._compactionQueue.length&&_e(n)}),be.prototype._compact=function(e,t){function n(e){a.push(i.compactDocument(e.id,0))}function r(e){var n=e.last_seq;Lr.all(a).then(function(){return I(i,"_local/compaction",function(e){return(!e.last_seq||e.last_seq=31}function i(){var e=arguments,n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return e;var r="color: "+this.color;e=[e[0],r,"color: inherit"].concat(Array.prototype.slice.call(e,1));var i=0,o=0;return e[0].replace(/%[a-z%]/g,function(e){"%%"!==e&&(i++,"%c"===e&&(o=i))}),e.splice(o,0,r),e}function o(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function a(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}}function s(){var e;try{e=t.storage.debug}catch(e){}return e}function l(){try{return window.localStorage}catch(e){}}t=e.exports=n(711),t.log=o,t.formatArgs=i,t.save=a,t.load=s,t.useColors=r,t.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:l(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){return JSON.stringify(e)},t.enable(s())},function(e,t,n){function r(){return t.colors[c++%t.colors.length]}function i(e){function n(){}function i(){var e=i,n=+new Date,o=n-(u||n);e.diff=o,e.prev=u,e.curr=n,u=n,null==e.useColors&&(e.useColors=t.useColors()),null==e.color&&e.useColors&&(e.color=r());var a=Array.prototype.slice.call(arguments);a[0]=t.coerce(a[0]),"string"!=typeof a[0]&&(a=["%o"].concat(a));var s=0;a[0]=a[0].replace(/%([a-z%])/g,function(n,r){if("%%"===n)return n;s++;var i=t.formatters[r];if("function"==typeof i){var o=a[s];n=i.call(e,o),a.splice(s,1),s--}return n}),"function"==typeof t.formatArgs&&(a=t.formatArgs.apply(e,a));var l=i.log||t.log||console.log.bind(console);l.apply(e,a)}n.enabled=!1,i.enabled=!0;var o=t.enabled(e)?i:n;return o.namespace=e,o}function o(e){t.save(e);for(var n=(e||"").split(/[\s,]+/),r=n.length,i=0;i1e4)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]),r=(t[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return n*c;case"days":case"day":case"d":return n*u;case"hours":case"hour":case"hrs":case"hr":case"h":return n*l;case"minutes":case"minute":case"mins":case"min":case"m":return n*s;case"seconds":case"second":case"secs":case"sec":case"s":return n*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n}}}}function r(e){return e>=u?Math.round(e/u)+"d":e>=l?Math.round(e/l)+"h":e>=s?Math.round(e/s)+"m":e>=a?Math.round(e/a)+"s":e+"ms"}function i(e){return o(e,u,"day")||o(e,l,"hour")||o(e,s,"minute")||o(e,a,"second")||e+" ms"}function o(e,t,n){if(!(e0&&l>s&&(l=s);for(var u=0;u=0?(c=h.substr(0,m),d=h.substr(m+1)):(c=h,d=""),f=decodeURIComponent(c),p=decodeURIComponent(d),n(o,f)?Array.isArray(o[f])?o[f].push(p):o[f]=[o[f],p]:o[f]=p}return o}},function(e,t){"use strict";var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,i){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(i){var o=encodeURIComponent(n(i))+r;return Array.isArray(e[i])?e[i].map(function(e){return o+encodeURIComponent(n(e))}).join(t):o+encodeURIComponent(n(e[i]))}).join(t):i?encodeURIComponent(n(i))+r+encodeURIComponent(n(e)):""}},function(e,t,n){"use strict";t.decode=t.parse=n(713),t.encode=t.stringify=n(714)},function(e,t){e.exports=function(e,t,n){for(var r=0,i=e.length,o=3==arguments.length?n:e[r++];r>>32-t}function l(e){var n=[1732584193,4023233417,2562383102,271733878,3285377520];"string"==typeof e&&(e=new t(e,"utf8"));var r=m(e),i=8*e.length,o=8*e.length;r[i>>>5]|=128<<24-i%32,r[(i+64>>>9<<4)+14]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8);for(var a=0;a>>24)|4278255360&(s<<24|s>>>8)}var l=g(n);return new t(l)}e.exports=l;/** @preserve + (c) 2012 by Cédric Mesnil. All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +var u=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],d=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],f=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],p=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0],m=function(e){for(var t=[],n=0,r=0;n>>5]|=e[n]<<24-r%32;return t},g=function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},$=function(e,t,l){for(var m=0;m<16;m++){var g=l+m,$=t[g];t[g]=16711935&($<<8|$>>>24)|4278255360&($<<24|$>>>8)}var _,v,b,y,x,k,w,E,A,C;k=_=e[0],w=v=e[1],E=b=e[2],A=y=e[3],C=x=e[4];for(var S,m=0;m<80;m+=1)S=_+t[l+u[m]]|0,S+=m<16?n(v,b,y)+p[0]:m<32?r(v,b,y)+p[1]:m<48?i(v,b,y)+p[2]:m<64?o(v,b,y)+p[3]:a(v,b,y)+p[4],S|=0,S=s(S,d[m]),S=S+x|0,_=x,x=y,y=s(b,10),b=v,v=S,S=k+t[l+c[m]]|0,S+=m<16?a(w,E,A)+h[0]:m<32?o(w,E,A)+h[1]:m<48?i(w,E,A)+h[2]:m<64?r(w,E,A)+h[3]:n(w,E,A)+h[4],S|=0,S=s(S,f[m]),S=S+C|0,k=C,C=A,A=s(E,10),E=w,w=S;S=e[1]+b+A|0,e[1]=e[2]+y+C|0,e[2]=e[3]+x+k|0,e[3]=e[4]+_+w|0,e[4]=e[0]+v+E|0,e[0]=S}}).call(t,n(3).Buffer)},function(e,t,n){"use strict";function r(e,t,n){e&&t.push(n)}function i(e,t,n){e&&n.forEach(function(e){r(e,t,e)})}function o(e){return"undefined"==typeof c?0:c.statSync(e).size}function a(e){var t=[];t.push({title:{_cdata:e.title}}),t.push({description:{_cdata:e.description||e.title}}),t.push({link:e.site_url||"http://github.com/dylang/node-rss"}),e.image_url&&t.push({image:[{url:e.image_url},{title:e.title},{link:e.site_url}]}),t.push({generator:e.generator}),t.push({lastBuildDate:(new Date).toUTCString()}),r(e.feed_url,t,{"atom:link":{_attr:{href:e.feed_url,rel:"self",type:"application/rss+xml"}}}),r(e.author,t,{author:{_cdata:e.author}}),r(e.pubDate,t,{pubDate:new Date(e.pubDate).toGMTString()}),r(e.copyright,t,{copyright:{_cdata:e.copyright}}),r(e.language,t,{language:{_cdata:e.language}}),r(e.managingEditor,t,{managingEditor:{_cdata:e.managingEditor}}),r(e.webMaster,t,{webMaster:{_cdata:e.webMaster}}),r(e.docs,t,{docs:e.docs}),r(e.ttl,t,{ttl:e.ttl}),r(e.hub,t,{"atom:link":{_attr:{href:e.hub,rel:"hub"}}}),e.categories&&e.categories.forEach(function(e){r(e,t,{category:{_cdata:e}})}),i(e.custom_elements,t,e.custom_elements),e.items.forEach(function(n){var a=[{title:{_cdata:n.title}}];r(n.description,a,{description:{_cdata:n.description}}),r(n.url,a,{link:n.url}),r(n.link||n.guid||n.title,a,{guid:[{_attr:{isPermaLink:!n.guid&&!!n.url}},n.guid||n.url||n.title]}),n.categories.forEach(function(e){r(e,a,{category:{_cdata:e}})}),r(n.author||e.author,a,{"dc:creator":{_cdata:n.author||e.author}}),r(n.date,a,{pubDate:new Date(n.date).toGMTString()}),e.geoRSS=e.geoRSS||n.lat&&n.long,r(n.lat,a,{"geo:lat":n.lat}),r(n.long,a,{"geo:long":n.long}),n.enclosure&&n.enclosure.url&&(n.enclosure.file?a.push({enclosure:{_attr:{url:n.enclosure.url,length:n.enclosure.size||o(n.enclosure.file),type:n.enclosure.type||l.lookup(n.enclosure.file)}}}):a.push({enclosure:{_attr:{url:n.enclosure.url,length:n.enclosure.size||0,type:n.enclosure.type||l.lookup(n.enclosure.url)}}})),i(n.custom_elements,a,n.custom_elements),t.push({item:a})});var n={"xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:content":"http://purl.org/rss/1.0/modules/content/","xmlns:atom":"http://www.w3.org/2005/Atom",version:"2.0"};return Object.keys(e.custom_namespaces).forEach(function(t){n["xmlns:"+t]=e.custom_namespaces[t]}),e.geoRSS&&(n["xmlns:geo"]="http://www.w3.org/2003/01/geo/wgs84_pos#"),{rss:[{_attr:n},{channel:t}]}}function s(e,t){e=e||{},this.title=e.title||"Untitled RSS Feed",this.description=e.description||"",this.generator=e.generator||"RSS for Node",this.feed_url=e.feed_url,this.site_url=e.site_url,this.image_url=e.image_url,this.author=e.author,this.categories=e.categories,this.pubDate=e.pubDate,this.hub=e.hub,this.docs=e.docs,this.copyright=e.copyright,this.language=e.language,this.managingEditor=e.managingEditor,this.webMaster=e.webMaster,this.ttl=e.ttl,this.geoRSS=e.geoRSS||!1,this.custom_namespaces=e.custom_namespaces||{},this.custom_elements=e.custom_elements||[],this.items=t||[],this.item=function(e){e=e||{};var t={title:e.title||"No title",description:e.description||"",url:e.url,guid:e.guid,categories:e.categories||[],author:e.author,date:e.date,lat:e.lat,long:e.long,enclosure:e.enclosure||!1,custom_elements:e.custom_elements||[]};return this.items.push(t),this},this.xml=function(e){return''+u(a(this),e)}}var l=n(720),u=n(787),c=n(62);e.exports=s},function(e,t,n){/*! + * mime-db + * Copyright(c) 2014 Jonathan Ong + * MIT Licensed + */ +e.exports=n(685)},function(e,t,n){/*! + * mime-types + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */ +"use strict";function r(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),n=t&&l[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!d.test(t[1]))&&"UTF-8"}function i(e){if(!e||"string"!=typeof e)return!1;var n=e.indexOf("/")===-1?t.lookup(e):e;if(!n)return!1;if(n.indexOf("charset")===-1){var r=t.charset(n);r&&(n+="; charset="+r.toLowerCase())}return n}function o(e){if(!e||"string"!=typeof e)return!1;var n=c.exec(e),r=n&&t.extensions[n[1].toLowerCase()];return!(!r||!r.length)&&r[0]}function a(e){if(!e||"string"!=typeof e)return!1;var n=u("x."+e).toLowerCase().substr(1);return!!n&&(t.types[n]||!1)}function s(e,t){var n=["nginx","apache",void 0,"iana"];Object.keys(l).forEach(function(r){var i=l[r],o=i.extensions;if(o&&o.length){e[r]=o;for(var a=0;ac||u===c&&"application/"===t[s].substr(0,12))continue}t[s]=r}}})}var l=n(719),u=n(688).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,d=/^text\//i;t.charset=r,t.charsets={lookup:r},t.contentType=i,t.extension=o,t.extensions=Object.create(null),t.lookup=a,t.types=Object.create(null),s(t.extensions,t.types)},function(e,t){(function(){var t={}.hasOwnProperty,n=[].slice;e.exports=function(e,r){var i,o,a,s;o=[],s=[];for(i in r)t.call(r,i)&&(a=r[i],"this"!==i&&(o.push(i),s.push(a)));return Function.apply(null,n.call(o).concat([e])).apply(r.this,s)}}).call(this)},function(e,t){!function(e,t,n,r){e.site=e.fn.site=function(i){var o,a,s=(new Date).getTime(),l=[],u=arguments[0],c="string"==typeof u,d=[].slice.call(arguments,1),f=e.isPlainObject(i)?e.extend(!0,{},e.site.settings,i):e.extend({},e.site.settings),p=f.namespace,h=f.error,m="module-"+p,g=e(n),$=g,_=this,v=$.data(m);return o={initialize:function(){o.instantiate()},instantiate:function(){o.verbose("Storing instance of site",o),v=o,$.data(m,o)},normalize:function(){o.fix.console(),o.fix.requestAnimationFrame()},fix:{console:function(){o.debug("Normalizing window.console"),console!==r&&console.log!==r||(o.verbose("Console not available, normalizing events"),o.disable.console()),"undefined"!=typeof console.group&&"undefined"!=typeof console.groupEnd&&"undefined"!=typeof console.groupCollapsed||(o.verbose("Console group not available, normalizing events"),t.console.group=function(){},t.console.groupEnd=function(){},t.console.groupCollapsed=function(){}),"undefined"==typeof console.markTimeline&&(o.verbose("Mark timeline not available, normalizing events"),t.console.markTimeline=function(){})},consoleClear:function(){o.debug("Disabling programmatic console clearing"),t.console.clear=function(){}},requestAnimationFrame:function(){o.debug("Normalizing requestAnimationFrame"),t.requestAnimationFrame===r&&(o.debug("RequestAnimationFrame not available, normalizing event"),t.requestAnimationFrame=t.requestAnimationFrame||t.mozRequestAnimationFrame||t.webkitRequestAnimationFrame||t.msRequestAnimationFrame||function(e){setTimeout(e,0)})}},moduleExists:function(t){return e.fn[t]!==r&&e.fn[t].settings!==r},enabled:{modules:function(t){var n=[];return t=t||f.modules,e.each(t,function(e,t){o.moduleExists(t)&&n.push(t)}),n}},disabled:{modules:function(t){var n=[];return t=t||f.modules,e.each(t,function(e,t){o.moduleExists(t)||n.push(t)}),n}},change:{setting:function(t,n,i,a){i="string"==typeof i?"all"===i?f.modules:[i]:i||f.modules,a=a===r||a,e.each(i,function(r,i){var s,l=!o.moduleExists(i)||(e.fn[i].settings.namespace||!1);o.moduleExists(i)&&(o.verbose("Changing default setting",t,n,i),e.fn[i].settings[t]=n,a&&l&&(s=e(":data(module-"+l+")"),s.length>0&&(o.verbose("Modifying existing settings",s),s[i]("setting",t,n))))})},settings:function(t,n,i){n="string"==typeof n?[n]:n||f.modules,i=i===r||i,e.each(n,function(n,r){var a;o.moduleExists(r)&&(o.verbose("Changing default setting",t,r),e.extend(!0,e.fn[r].settings,t),i&&p&&(a=e(":data(module-"+p+")"),a.length>0&&(o.verbose("Modifying existing settings",a),a[r]("setting",t))))})}},enable:{console:function(){o.console(!0)},debug:function(e,t){e=e||f.modules,o.debug("Enabling debug for modules",e),o.change.setting("debug",!0,e,t)},verbose:function(e,t){e=e||f.modules,o.debug("Enabling verbose debug for modules",e),o.change.setting("verbose",!0,e,t)}},disable:{console:function(){o.console(!1)},debug:function(e,t){e=e||f.modules,o.debug("Disabling debug for modules",e),o.change.setting("debug",!1,e,t)},verbose:function(e,t){e=e||f.modules,o.debug("Disabling verbose debug for modules",e),o.change.setting("verbose",!1,e,t)}},console:function(e){if(e){if(v.cache.console===r)return void o.error(h.console);o.debug("Restoring console function"),t.console=v.cache.console}else o.debug("Disabling console function"),v.cache.console=t.console,t.console={clear:function(){},error:function(){},group:function(){},groupCollapsed:function(){},groupEnd:function(){},info:function(){},log:function(){},markTimeline:function(){},warn:function(){}}},destroy:function(){o.verbose("Destroying previous site for",$),$.removeData(m)},cache:{},setting:function(t,n){if(e.isPlainObject(t))e.extend(!0,f,t);else{if(n===r)return f[t];f[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,o,t);else{if(n===r)return o[t];o[t]=n}},debug:function(){f.debug&&(f.performance?o.performance.log(arguments):(o.debug=Function.prototype.bind.call(console.info,console,f.name+":"),o.debug.apply(console,arguments)))},verbose:function(){f.verbose&&f.debug&&(f.performance?o.performance.log(arguments):(o.verbose=Function.prototype.bind.call(console.info,console,f.name+":"),o.verbose.apply(console,arguments)))},error:function(){o.error=Function.prototype.bind.call(console.error,console,f.name+":"),o.error.apply(console,arguments)},performance:{log:function(e){var t,n,r;f.performance&&(t=(new Date).getTime(),r=s||t,n=t-r,s=t,l.push({Element:_,Name:e[0],Arguments:[].slice.call(e,1)||"","Execution Time":n})),clearTimeout(o.performance.timer),o.performance.timer=setTimeout(o.performance.display,500)},display:function(){var t=f.name+":",n=0;s=!1,clearTimeout(o.performance.timer),e.each(l,function(e,t){n+=t["Execution Time"]}),t+=" "+n+"ms",(console.group!==r||console.table!==r)&&l.length>0&&(console.groupCollapsed(t),console.table?console.table(l):e.each(l,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),l=[]}},invoke:function(t,n,i){var s,l,u,c=v;return n=n||d,i=_||i,"string"==typeof t&&c!==r&&(t=t.split(/[\. ]/),s=t.length-1,e.each(t,function(n,i){var a=n!=s?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(c[a])&&n!=s)c=c[a];else{if(c[a]!==r)return l=c[a],!1;if(!e.isPlainObject(c[i])||n==s)return c[i]!==r?(l=c[i],!1):(o.error(h.method,t),!1);c=c[i]}})),e.isFunction(l)?u=l.apply(i,n):l!==r&&(u=l),e.isArray(a)?a.push(u):a!==r?a=[a,u]:u!==r&&(a=u),l}},c?(v===r&&o.initialize(),o.invoke(u)):(v!==r&&o.destroy(),o.initialize()),a!==r?a:this},e.site.settings={name:"Site",namespace:"site",error:{console:"Console cannot be restored, most likely it was overwritten outside of module",method:"The method you called is not defined."},debug:!1,verbose:!1,performance:!0,modules:["accordion","api","checkbox","dimmer","dropdown","embed","form","modal","nag","popup","rating","shape","sidebar","state","sticky","tab","transition","visit","visibility"],siteNamespace:"site",namespaceStub:{cache:{},config:{},sections:{},section:{},utilities:{}}},e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(n){return!!e.data(n,t)}}):function(t,n,r){return!!e.data(t,r[3])}})}(jQuery,window,document),function(e,t,n,r){"use strict";t="undefined"!=typeof t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.form=function(t){var i,o=e(this),a=o.selector||"",s=(new Date).getTime(),l=[],u=arguments[0],c=arguments[1],d="string"==typeof u,f=[].slice.call(arguments,1);return o.each(function(){var p,h,m,g,$,_,v,b,y,x,k,w,E,A,C,S,T,M,D,L=e(this),F=this,O=[],R=!1;D={initialize:function(){D.get.settings(),d?(M===r&&D.instantiate(),D.invoke(u)):(M!==r&&M.invoke("destroy"),D.verbose("Initializing form validation",L,b),D.bindEvents(),D.set.defaults(),D.instantiate())},instantiate:function(){D.verbose("Storing instance of module",D),M=D,L.data(S,D)},destroy:function(){D.verbose("Destroying previous module",M),D.removeEvents(),L.removeData(S)},refresh:function(){D.verbose("Refreshing selector cache"),p=L.find(k.field),h=L.find(k.group),m=L.find(k.message),g=L.find(k.prompt),$=L.find(k.submit),_=L.find(k.clear),v=L.find(k.reset)},submit:function(){D.verbose("Submitting form",L),L.submit()},attachEvents:function(t,n){n=n||"submit",e(t).on("click"+T,function(e){D[n](),e.preventDefault()})},bindEvents:function(){D.verbose("Attaching form events"),L.on("submit"+T,D.validate.form).on("blur"+T,k.field,D.event.field.blur).on("click"+T,k.submit,D.submit).on("click"+T,k.reset,D.reset).on("click"+T,k.clear,D.clear),b.keyboardShortcuts&&L.on("keydown"+T,k.field,D.event.field.keydown),p.each(function(){var t=e(this),n=t.prop("type"),r=D.get.changeEvent(n,t);e(this).on(r+T,D.event.field.change)})},clear:function(){p.each(function(){var t=e(this),n=t.parent(),r=t.closest(h),i=r.find(k.prompt),o=t.data(x.defaultValue)||"",a=n.is(k.uiCheckbox),s=n.is(k.uiDropdown),l=r.hasClass(w.error);l&&(D.verbose("Resetting error on field",r),r.removeClass(w.error),i.remove()),s?(D.verbose("Resetting dropdown value",n,o),n.dropdown("clear")):a?t.prop("checked",!1):(D.verbose("Resetting field value",t,o),t.val(""))})},reset:function(){p.each(function(){var t=e(this),n=t.parent(),i=t.closest(h),o=i.find(k.prompt),a=t.data(x.defaultValue),s=n.is(k.uiCheckbox),l=n.is(k.uiDropdown),u=i.hasClass(w.error);a!==r&&(u&&(D.verbose("Resetting error on field",i),i.removeClass(w.error),o.remove()),l?(D.verbose("Resetting dropdown value",n,a),n.dropdown("restore defaults")):s?(D.verbose("Resetting checkbox value",n,a),t.prop("checked",a)):(D.verbose("Resetting field value",t,a),t.val(a)))})},determine:{isValid:function(){var t=!0;return e.each(y,function(e,n){D.validate.field(n,e,!0)||(t=!1)}),t}},is:{bracketedRule:function(e){return e.type&&e.type.match(b.regExp.bracket)},empty:function(e){return!e||0===e.length||(e.is('input[type="checkbox"]')?!e.is(":checked"):D.is.blank(e))},blank:function(t){return""===e.trim(t.val())},valid:function(t){var n=!0;return t?(D.verbose("Checking if field is valid",t),D.validate.field(y[t],t,!1)):(D.verbose("Checking if form is valid"),e.each(y,function(e,t){D.is.valid(e)||(n=!1)}),n)}},removeEvents:function(){L.off(T),p.off(T),$.off(T),p.off(T)},event:{field:{keydown:function(t){var n=e(this),r=t.which,i=n.is(k.input),o=n.is(k.checkbox),a=n.closest(k.uiDropdown).length>0,s={enter:13,escape:27};r==s.escape&&(D.verbose("Escape key pressed blurring field"),n.blur()),t.ctrlKey||r!=s.enter||!i||a||o||(R||(n.one("keyup"+T,D.event.field.keyup),D.submit(),D.debug("Enter pressed on input submitting form")),R=!0)},keyup:function(){R=!1},blur:function(t){var n=e(this),r=n.closest(h),i=D.get.validation(n);r.hasClass(w.error)?(D.debug("Revalidating field",n,i),i&&D.validate.field(i)):"blur"!=b.on&&"change"!=b.on||i&&D.validate.field(i)},change:function(t){var n=e(this),r=n.closest(h),i=D.get.validation(n);i&&("change"==b.on||r.hasClass(w.error)&&b.revalidate)&&(clearTimeout(D.timer),D.timer=setTimeout(function(){D.debug("Revalidating field",n,D.get.validation(n)),D.validate.field(i)},b.delay))}}},get:{ancillaryValue:function(e){return!(!e.type||!e.value&&!D.is.bracketedRule(e))&&(e.value!==r?e.value:e.type.match(b.regExp.bracket)[1]+"")},ruleName:function(e){return D.is.bracketedRule(e)?e.type.replace(e.type.match(b.regExp.bracket)[0],""):e.type},changeEvent:function(e,t){return"checkbox"==e||"radio"==e||"hidden"==e||t.is("select")?"change":D.get.inputEvent()},inputEvent:function(){return n.createElement("input").oninput!==r?"input":n.createElement("input").onpropertychange!==r?"propertychange":"keyup"},prompt:function(e,t){var n,r,i,o=D.get.ruleName(e),a=D.get.ancillaryValue(e),s=e.prompt||b.prompt[o]||b.text.unspecifiedRule,l=s.search("{value}")!==-1,u=s.search("{name}")!==-1;return(u||l)&&(r=D.get.field(t.identifier)),l&&(s=s.replace("{value}",r.val())),u&&(n=r.closest(k.group).find("label").eq(0),i=1==n.length?n.text():r.prop("placeholder")||b.text.unspecifiedField,s=s.replace("{name}",i)),s=s.replace("{identifier}",t.identifier),s=s.replace("{ruleValue}",a),e.prompt||D.verbose("Using default validation prompt for type",s,o),s},settings:function(){if(e.isPlainObject(t)){var n,i=Object.keys(t),o=i.length>0&&(t[i[0]].identifier!==r&&t[i[0]].rules!==r);o?(b=e.extend(!0,{},e.fn.form.settings,c),y=e.extend({},e.fn.form.settings.defaults,t),D.error(b.error.oldSyntax,F),D.verbose("Extending settings from legacy parameters",y,b)):(t.fields&&(n=Object.keys(t.fields),("string"==typeof t.fields[n[0]]||e.isArray(t.fields[n[0]]))&&e.each(t.fields,function(n,r){"string"==typeof r&&(r=[r]),t.fields[n]={rules:[]},e.each(r,function(e,r){t.fields[n].rules.push({type:r})})})),b=e.extend(!0,{},e.fn.form.settings,t),y=e.extend({},e.fn.form.settings.defaults,b.fields),D.verbose("Extending settings",y,b))}else b=e.fn.form.settings,y=e.fn.form.settings.defaults,D.verbose("Using default form validation",y,b);C=b.namespace,x=b.metadata,k=b.selector,w=b.className,E=b.regExp,A=b.error,S="module-"+C,T="."+C,M=L.data(S),D.refresh()},field:function(t){return D.verbose("Finding field with identifier",t),t=D.escape.string(t),p.filter("#"+t).length>0?p.filter("#"+t):p.filter('[name="'+t+'"]').length>0?p.filter('[name="'+t+'"]'):p.filter('[name="'+t+'[]"]').length>0?p.filter('[name="'+t+'[]"]'):p.filter("[data-"+x.validate+'="'+t+'"]').length>0?p.filter("[data-"+x.validate+'="'+t+'"]'):e("")},fields:function(t){var n=e();return e.each(t,function(e,t){n=n.add(D.get.field(t))}),n},validation:function(t){var n,r;return!!y&&(e.each(y,function(e,i){r=i.identifier||e,D.get.field(r)[0]==t[0]&&(i.identifier=r,n=i)}),n||!1)},value:function(e){var t,n=[];return n.push(e),t=D.get.values.call(F,n),t[e]},values:function(t){var n=e.isArray(t)?D.get.fields(t):p,r={};return n.each(function(t,n){var i=e(n),o=(i.prop("type"),i.prop("name")),a=i.val(),s=i.is(k.checkbox),l=i.is(k.radio),u=o.indexOf("[]")!==-1,c=!!s&&i.is(":checked");o&&(u?(o=o.replace("[]",""),r[o]||(r[o]=[]),s?c?r[o].push(a||!0):r[o].push(!1):r[o].push(a)):l?c&&(r[o]=a):s?c?r[o]=a||!0:r[o]=!1:r[o]=a)}),r}},has:{field:function(e){return D.verbose("Checking for existence of a field with identifier",e),e=D.escape.string(e),"string"!=typeof e&&D.error(A.identifier,e),p.filter("#"+e).length>0||(p.filter('[name="'+e+'"]').length>0||p.filter("[data-"+x.validate+'="'+e+'"]').length>0)}},escape:{string:function(e){return e=String(e),e.replace(E.escape,"\\$&")}},add:{prompt:function(t,n){var i=D.get.field(t),o=i.closest(h),a=o.children(k.prompt),s=0!==a.length;n="string"==typeof n?[n]:n,D.verbose("Adding field error state",t),o.addClass(w.error),b.inline&&(s||(a=b.templates.prompt(n),a.appendTo(o)),a.html(n[0]),s?D.verbose("Inline errors are disabled, no inline error added",t):b.transition&&e.fn.transition!==r&&L.transition("is supported")?(D.verbose("Displaying error with css transition",b.transition),a.transition(b.transition+" in",b.duration)):(D.verbose("Displaying error with fallback javascript animation"),a.fadeIn(b.duration)))},errors:function(e){D.debug("Adding form error messages",e),D.set.error(),m.html(b.templates.error(e))}},remove:{prompt:function(t){var n=D.get.field(t),i=n.closest(h),o=i.children(k.prompt);i.removeClass(w.error),b.inline&&o.is(":visible")&&(D.verbose("Removing prompt for field",t),b.transition&&e.fn.transition!==r&&L.transition("is supported")?o.transition(b.transition+" out",b.duration,function(){o.remove()}):o.fadeOut(b.duration,function(){o.remove()}))}},set:{success:function(){L.removeClass(w.error).addClass(w.success)},defaults:function(){p.each(function(){var t=e(this),n=t.filter(k.checkbox).length>0,r=n?t.is(":checked"):t.val();t.data(x.defaultValue,r)})},error:function(){L.removeClass(w.success).addClass(w.error)},value:function(e,t){var n={};return n[e]=t,D.set.values.call(F,n)},values:function(t){e.isEmptyObject(t)||e.each(t,function(t,n){var r,i=D.get.field(t),o=i.parent(),a=e.isArray(n),s=o.is(k.uiCheckbox),l=o.is(k.uiDropdown),u=i.is(k.radio)&&s,c=i.length>0;c&&(a&&s?(D.verbose("Selecting multiple",n,i),o.checkbox("uncheck"),e.each(n,function(e,t){r=i.filter('[value="'+t+'"]'),o=r.parent(),r.length>0&&o.checkbox("check")})):u?(D.verbose("Selecting radio value",n,i),i.filter('[value="'+n+'"]').parent(k.uiCheckbox).checkbox("check")):s?(D.verbose("Setting checkbox value",n,o),n===!0?o.checkbox("check"):o.checkbox("uncheck")):l?(D.verbose("Setting dropdown value",n,o),o.dropdown("set selected",n)):(D.verbose("Setting field value",n,i),i.val(n)))})}},validate:{form:function(e,t){var n=D.get.values();if(R)return!1;if(O=[],D.determine.isValid()){if(D.debug("Form has no validation errors, submitting"),D.set.success(),t!==!0)return b.onSuccess.call(F,e,n)}else if(D.debug("Form has errors"),D.set.error(),b.inline||D.add.errors(O),L.data("moduleApi")!==r&&e.stopImmediatePropagation(),t!==!0)return b.onFailure.call(F,O,n)},field:function(t,n,i){i=i===r||i,"string"==typeof t&&(D.verbose("Validating field",t),n=t,t=y[t]);var o=t.identifier||n,a=D.get.field(o),s=!!t.depends&&D.get.field(t.depends),l=!0,u=[];return t.identifier||(D.debug("Using field name as identifier",o),t.identifier=o),a.prop("disabled")?(D.debug("Field is disabled. Skipping",o),l=!0):t.optional&&D.is.blank(a)?(D.debug("Field is optional and blank. Skipping",o),l=!0):t.depends&&D.is.empty(s)?(D.debug("Field depends on another value that is not present or empty. Skipping",s),l=!0):t.rules!==r&&e.each(t.rules,function(e,n){D.has.field(o)&&!D.validate.rule(t,n)&&(D.debug("Field is invalid",o,n.type),u.push(D.get.prompt(n,t)),l=!1)}),l?(i&&(D.remove.prompt(o,u),b.onValid.call(a)),!0):(i&&(O=O.concat(u),D.add.prompt(o,u),b.onInvalid.call(a,u)),!1)},rule:function(t,n){var i=D.get.field(t.identifier),o=(n.type,i.val()),a=D.get.ancillaryValue(n),s=D.get.ruleName(n),l=b.rules[s];return e.isFunction(l)?(o=o===r||""===o||null===o?"":e.trim(o+""),l.call(i,o,a)):void D.error(A.noRule,s)}},setting:function(t,n){if(e.isPlainObject(t))e.extend(!0,b,t);else{if(n===r)return b[t];b[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,D,t);else{if(n===r)return D[t];D[t]=n}},debug:function(){!b.silent&&b.debug&&(b.performance?D.performance.log(arguments):(D.debug=Function.prototype.bind.call(console.info,console,b.name+":"),D.debug.apply(console,arguments)))},verbose:function(){!b.silent&&b.verbose&&b.debug&&(b.performance?D.performance.log(arguments):(D.verbose=Function.prototype.bind.call(console.info,console,b.name+":"),D.verbose.apply(console,arguments)))},error:function(){b.silent||(D.error=Function.prototype.bind.call(console.error,console,b.name+":"),D.error.apply(console,arguments))},performance:{log:function(e){var t,n,r;b.performance&&(t=(new Date).getTime(),r=s||t,n=t-r,s=t,l.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:F,"Execution Time":n})),clearTimeout(D.performance.timer),D.performance.timer=setTimeout(D.performance.display,500)},display:function(){var t=b.name+":",n=0;s=!1,clearTimeout(D.performance.timer),e.each(l,function(e,t){n+=t["Execution Time"]}),t+=" "+n+"ms",a&&(t+=" '"+a+"'"),o.length>1&&(t+=" ("+o.length+")"),(console.group!==r||console.table!==r)&&l.length>0&&(console.groupCollapsed(t),console.table?console.table(l):e.each(l,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),l=[]}},invoke:function(t,n,o){var a,s,l,u=M;return n=n||f,o=F||o,"string"==typeof t&&u!==r&&(t=t.split(/[\. ]/),a=t.length-1,e.each(t,function(n,i){var o=n!=a?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(u[o])&&n!=a)u=u[o];else{if(u[o]!==r)return s=u[o],!1;if(!e.isPlainObject(u[i])||n==a)return u[i]!==r&&(s=u[i],!1);u=u[i]}})),e.isFunction(s)?l=s.apply(o,n):s!==r&&(l=s),e.isArray(i)?i.push(l):i!==r?i=[i,l]:l!==r&&(i=l),s}},D.initialize()}),i!==r?i:this},e.fn.form.settings={name:"Form",namespace:"form",debug:!1,verbose:!1,performance:!0,fields:!1,keyboardShortcuts:!0,on:"submit",inline:!1,delay:200,revalidate:!0,transition:"scale",duration:200,onValid:function(){},onInvalid:function(){},onSuccess:function(){return!0},onFailure:function(){return!1},metadata:{defaultValue:"default",validate:"validate"},regExp:{htmlID:/^[a-zA-Z][\w:.-]*$/g,bracket:/\[(.*)\]/i,decimal:/^\d+\.?\d*$/,email:/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,escape:/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,flags:/^\/(.*)\/(.*)?/,integer:/^\-?\d+$/,number:/^\-?\d*(\.\d+)?$/,url:/(https?:\/\/(?:www\.|(?!www))[^\s\.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/i},text:{unspecifiedRule:"Please enter a valid value",unspecifiedField:"This field"},prompt:{empty:"{name} must have a value",checked:"{name} must be checked",email:"{name} must be a valid e-mail",url:"{name} must be a valid url",regExp:"{name} is not formatted correctly",integer:"{name} must be an integer",decimal:"{name} must be a decimal number",number:"{name} must be set to a number",is:'{name} must be "{ruleValue}"',isExactly:'{name} must be exactly "{ruleValue}"',not:'{name} cannot be set to "{ruleValue}"',notExactly:'{name} cannot be set to exactly "{ruleValue}"',contain:'{name} cannot contain "{ruleValue}"',containExactly:'{name} cannot contain exactly "{ruleValue}"',doesntContain:'{name} must contain "{ruleValue}"',doesntContainExactly:'{name} must contain exactly "{ruleValue}"',minLength:"{name} must be at least {ruleValue} characters",length:"{name} must be at least {ruleValue} characters",exactLength:"{name} must be exactly {ruleValue} characters",maxLength:"{name} cannot be longer than {ruleValue} characters",match:"{name} must match {ruleValue} field",different:"{name} must have a different value than {ruleValue} field",creditCard:"{name} must be a valid credit card number",minCount:"{name} must have at least {ruleValue} choices",exactCount:"{name} must have exactly {ruleValue} choices",maxCount:"{name} must have {ruleValue} or less choices"},selector:{checkbox:'input[type="checkbox"], input[type="radio"]',clear:".clear",field:"input, textarea, select",group:".field",input:"input",message:".error.message",prompt:".prompt.label",radio:'input[type="radio"]',reset:'.reset:not([type="reset"])',submit:'.submit:not([type="submit"])',uiCheckbox:".ui.checkbox",uiDropdown:".ui.dropdown"},className:{error:"error",label:"ui prompt label",pressed:"down",success:"success"},error:{identifier:"You must specify a string identifier for each field",method:"The method you called is not defined.",noRule:"There is no rule matching the one you specified",oldSyntax:"Starting in 2.0 forms now only take a single settings object. Validation settings converted to new syntax automatically."},templates:{error:function(t){var n='
      ';return e.each(t,function(e,t){n+="
    • "+t+"
    • "}),n+="
    ",e(n)},prompt:function(t){return e("
    ").addClass("ui basic red pointing prompt label").html(t[0])}},rules:{empty:function(t){return!(t===r||""===t||e.isArray(t)&&0===t.length)},checked:function(){return e(this).filter(":checked").length>0},email:function(t){return e.fn.form.settings.regExp.email.test(t)},url:function(t){return e.fn.form.settings.regExp.url.test(t)},regExp:function(t,n){if(n instanceof RegExp)return t.match(n);var r,i=n.match(e.fn.form.settings.regExp.flags);return i&&(n=i.length>=2?i[1]:n,r=i.length>=3?i[2]:""),t.match(new RegExp(n,r))},integer:function(t,n){var i,o,a,s=e.fn.form.settings.regExp.integer;return n&&["",".."].indexOf(n)===-1&&(n.indexOf("..")==-1?s.test(n)&&(i=o=n-0):(a=n.split("..",2),s.test(a[0])&&(i=a[0]-0),s.test(a[1])&&(o=a[1]-0))),s.test(t)&&(i===r||t>=i)&&(o===r||t<=o)},decimal:function(t){return e.fn.form.settings.regExp.decimal.test(t)},number:function(t){return e.fn.form.settings.regExp.number.test(t)},is:function(e,t){return t="string"==typeof t?t.toLowerCase():t,e="string"==typeof e?e.toLowerCase():e,e==t},isExactly:function(e,t){return e==t},not:function(e,t){return e="string"==typeof e?e.toLowerCase():e,t="string"==typeof t?t.toLowerCase():t,e!=t},notExactly:function(e,t){return e!=t},contains:function(t,n){return n=n.replace(e.fn.form.settings.regExp.escape,"\\$&"),t.search(new RegExp(n,"i"))!==-1},containsExactly:function(t,n){return n=n.replace(e.fn.form.settings.regExp.escape,"\\$&"),t.search(new RegExp(n))!==-1},doesntContain:function(t,n){return n=n.replace(e.fn.form.settings.regExp.escape,"\\$&"),t.search(new RegExp(n,"i"))===-1},doesntContainExactly:function(t,n){return n=n.replace(e.fn.form.settings.regExp.escape,"\\$&"),t.search(new RegExp(n))===-1},minLength:function(e,t){return e!==r&&e.length>=t},length:function(e,t){return e!==r&&e.length>=t},exactLength:function(e,t){return e!==r&&e.length==t},maxLength:function(e,t){return e!==r&&e.length<=t},match:function(t,n){var i;e(this);return e('[data-validate="'+n+'"]').length>0?i=e('[data-validate="'+n+'"]').val():e("#"+n).length>0?i=e("#"+n).val():e('[name="'+n+'"]').length>0?i=e('[name="'+n+'"]').val():e('[name="'+n+'[]"]').length>0&&(i=e('[name="'+n+'[]"]')),i!==r&&t.toString()==i.toString()},different:function(t,n){var i;e(this);return e('[data-validate="'+n+'"]').length>0?i=e('[data-validate="'+n+'"]').val():e("#"+n).length>0?i=e("#"+n).val():e('[name="'+n+'"]').length>0?i=e('[name="'+n+'"]').val():e('[name="'+n+'[]"]').length>0&&(i=e('[name="'+n+'[]"]')),i!==r&&t.toString()!==i.toString()},creditCard:function(t,n){var r,i,o={visa:{pattern:/^4/,length:[16]},amex:{pattern:/^3[47]/,length:[15]},mastercard:{pattern:/^5[1-5]/,length:[16]},discover:{pattern:/^(6011|622(12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[0-1][0-9]|92[0-5]|64[4-9])|65)/,length:[16]},unionPay:{pattern:/^(62|88)/,length:[16,17,18,19]},jcb:{pattern:/^35(2[89]|[3-8][0-9])/,length:[16]},maestro:{pattern:/^(5018|5020|5038|6304|6759|676[1-3])/,length:[12,13,14,15,16,17,18,19]},dinersClub:{pattern:/^(30[0-5]|^36)/,length:[14]},laser:{pattern:/^(6304|670[69]|6771)/,length:[16,17,18,19]},visaElectron:{pattern:/^(4026|417500|4508|4844|491(3|7))/,length:[16]}},a={},s=!1,l="string"==typeof n&&n.split(",");if("string"==typeof t&&0!==t.length){if(l&&(e.each(l,function(n,r){i=o[r],i&&(a={length:e.inArray(t.length,i.length)!==-1,pattern:t.search(i.pattern)!==-1},a.length&&a.pattern&&(s=!0))}),!s))return!1;if(r={number:e.inArray(t.length,o.unionPay.length)!==-1,pattern:t.search(o.unionPay.pattern)!==-1},r.number&&r.pattern)return!0;for(var u=t.length,c=0,d=[[0,1,2,3,4,5,6,7,8,9],[0,2,4,6,8,1,3,5,7,9]],f=0;u--;)f+=d[c][parseInt(t.charAt(u),10)],c^=1;return f%10===0&&f>0}},minCount:function(e,t){return 0==t||(1==t?""!==e:e.split(",").length>=t)},exactCount:function(e,t){return 0==t?""===e:1==t?""!==e&&e.search(",")===-1:e.split(",").length==t},maxCount:function(e,t){return 0!=t&&(1==t?e.search(",")===-1:e.split(",").length<=t)}}}}(jQuery,window,document),function(e,t,n,r){"use strict";t="undefined"!=typeof t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.accordion=function(n){var i,o=e(this),a=(new Date).getTime(),s=[],l=arguments[0],u="string"==typeof l,c=[].slice.call(arguments,1);t.requestAnimationFrame||t.mozRequestAnimationFrame||t.webkitRequestAnimationFrame||t.msRequestAnimationFrame||function(e){setTimeout(e,0)};return o.each(function(){var d,f,p=e.isPlainObject(n)?e.extend(!0,{},e.fn.accordion.settings,n):e.extend({},e.fn.accordion.settings),h=p.className,m=p.namespace,g=p.selector,$=p.error,_="."+m,v="module-"+m,b=o.selector||"",y=e(this),x=y.find(g.title),k=y.find(g.content),w=this,E=y.data(v);f={initialize:function(){f.debug("Initializing",y),f.bind.events(),p.observeChanges&&f.observeChanges(),f.instantiate()},instantiate:function(){E=f,y.data(v,f)},destroy:function(){f.debug("Destroying previous instance",y),y.off(_).removeData(v)},refresh:function(){x=y.find(g.title),k=y.find(g.content)},observeChanges:function(){"MutationObserver"in t&&(d=new MutationObserver(function(e){f.debug("DOM tree modified, updating selector cache"),f.refresh()}),d.observe(w,{childList:!0,subtree:!0}),f.debug("Setting up mutation observer",d))},bind:{events:function(){f.debug("Binding delegated events"),y.on(p.on+_,g.trigger,f.event.click)}},event:{click:function(){f.toggle.call(this)}},toggle:function(t){var n=t!==r?"number"==typeof t?x.eq(t):e(t).closest(g.title):e(this).closest(g.title),i=n.next(k),o=i.hasClass(h.animating),a=i.hasClass(h.active),s=a&&!o,l=!a&&o;f.debug("Toggling visibility of content",n),s||l?p.collapsible?f.close.call(n):f.debug("Cannot close accordion content collapsing is disabled"):f.open.call(n)},open:function(t){var n=t!==r?"number"==typeof t?x.eq(t):e(t).closest(g.title):e(this).closest(g.title),i=n.next(k),o=i.hasClass(h.animating),a=i.hasClass(h.active),s=a||o;return s?void f.debug("Accordion already open, skipping",i):(f.debug("Opening accordion content",n),p.onOpening.call(i),p.exclusive&&f.closeOthers.call(n),n.addClass(h.active),i.stop(!0,!0).addClass(h.animating),p.animateChildren&&(e.fn.transition!==r&&y.transition("is supported")?i.children().transition({animation:"fade in",queue:!1,useFailSafe:!0,debug:p.debug,verbose:p.verbose,duration:p.duration}):i.children().stop(!0,!0).animate({opacity:1},p.duration,f.resetOpacity)),void i.slideDown(p.duration,p.easing,function(){i.removeClass(h.animating).addClass(h.active),f.reset.display.call(this),p.onOpen.call(this),p.onChange.call(this)}))},close:function(t){var n=t!==r?"number"==typeof t?x.eq(t):e(t).closest(g.title):e(this).closest(g.title),i=n.next(k),o=i.hasClass(h.animating),a=i.hasClass(h.active),s=!a&&o,l=a&&o;!a&&!s||l||(f.debug("Closing accordion content",i),p.onClosing.call(i),n.removeClass(h.active),i.stop(!0,!0).addClass(h.animating),p.animateChildren&&(e.fn.transition!==r&&y.transition("is supported")?i.children().transition({animation:"fade out",queue:!1,useFailSafe:!0,debug:p.debug,verbose:p.verbose,duration:p.duration}):i.children().stop(!0,!0).animate({opacity:0},p.duration,f.resetOpacity)),i.slideUp(p.duration,p.easing,function(){i.removeClass(h.animating).removeClass(h.active),f.reset.display.call(this),p.onClose.call(this),p.onChange.call(this)}))},closeOthers:function(t){var n,i,o,a=t!==r?x.eq(t):e(this).closest(g.title),s=a.parents(g.content).prev(g.title),l=a.closest(g.accordion),u=g.title+"."+h.active+":visible",c=g.content+"."+h.active+":visible";p.closeNested?(n=l.find(u).not(s),o=n.next(k)):(n=l.find(u).not(s),i=l.find(c).find(u).not(s),n=n.not(i),o=n.next(k)),n.length>0&&(f.debug("Exclusive enabled, closing other content",n),n.removeClass(h.active),o.removeClass(h.animating).stop(!0,!0),p.animateChildren&&(e.fn.transition!==r&&y.transition("is supported")?o.children().transition({animation:"fade out",useFailSafe:!0,debug:p.debug,verbose:p.verbose,duration:p.duration}):o.children().stop(!0,!0).animate({opacity:0},p.duration,f.resetOpacity)),o.slideUp(p.duration,p.easing,function(){e(this).removeClass(h.active),f.reset.display.call(this)}))},reset:{display:function(){f.verbose("Removing inline display from element",this),e(this).css("display",""),""===e(this).attr("style")&&e(this).attr("style","").removeAttr("style")},opacity:function(){f.verbose("Removing inline opacity from element",this),e(this).css("opacity",""),""===e(this).attr("style")&&e(this).attr("style","").removeAttr("style")}},setting:function(t,n){if(f.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,p,t);else{if(n===r)return p[t];e.isPlainObject(p[t])?e.extend(!0,p[t],n):p[t]=n}},internal:function(t,n){return f.debug("Changing internal",t,n),n===r?f[t]:void(e.isPlainObject(t)?e.extend(!0,f,t):f[t]=n)},debug:function(){!p.silent&&p.debug&&(p.performance?f.performance.log(arguments):(f.debug=Function.prototype.bind.call(console.info,console,p.name+":"), +f.debug.apply(console,arguments)))},verbose:function(){!p.silent&&p.verbose&&p.debug&&(p.performance?f.performance.log(arguments):(f.verbose=Function.prototype.bind.call(console.info,console,p.name+":"),f.verbose.apply(console,arguments)))},error:function(){p.silent||(f.error=Function.prototype.bind.call(console.error,console,p.name+":"),f.error.apply(console,arguments))},performance:{log:function(e){var t,n,r;p.performance&&(t=(new Date).getTime(),r=a||t,n=t-r,a=t,s.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:w,"Execution Time":n})),clearTimeout(f.performance.timer),f.performance.timer=setTimeout(f.performance.display,500)},display:function(){var t=p.name+":",n=0;a=!1,clearTimeout(f.performance.timer),e.each(s,function(e,t){n+=t["Execution Time"]}),t+=" "+n+"ms",b&&(t+=" '"+b+"'"),(console.group!==r||console.table!==r)&&s.length>0&&(console.groupCollapsed(t),console.table?console.table(s):e.each(s,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),s=[]}},invoke:function(t,n,o){var a,s,l,u=E;return n=n||c,o=w||o,"string"==typeof t&&u!==r&&(t=t.split(/[\. ]/),a=t.length-1,e.each(t,function(n,i){var o=n!=a?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(u[o])&&n!=a)u=u[o];else{if(u[o]!==r)return s=u[o],!1;if(!e.isPlainObject(u[i])||n==a)return u[i]!==r?(s=u[i],!1):(f.error($.method,t),!1);u=u[i]}})),e.isFunction(s)?l=s.apply(o,n):s!==r&&(l=s),e.isArray(i)?i.push(l):i!==r?i=[i,l]:l!==r&&(i=l),s}},u?(E===r&&f.initialize(),f.invoke(l)):(E!==r&&E.invoke("destroy"),f.initialize())}),i!==r?i:this},e.fn.accordion.settings={name:"Accordion",namespace:"accordion",silent:!1,debug:!1,verbose:!1,performance:!0,on:"click",observeChanges:!0,exclusive:!0,collapsible:!0,closeNested:!1,animateChildren:!0,duration:350,easing:"easeOutQuad",onOpening:function(){},onOpen:function(){},onClosing:function(){},onClose:function(){},onChange:function(){},error:{method:"The method you called is not defined"},className:{active:"active",animating:"animating"},selector:{accordion:".accordion",title:".title",trigger:".title",content:".content"}},e.extend(e.easing,{easeOutQuad:function(e,t,n,r,i){return-r*(t/=i)*(t-2)+n}})}(jQuery,window,document),function(e,t,n,r){"use strict";t="undefined"!=typeof t&&t.Math==Math?t:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e.fn.checkbox=function(i){var o,a=e(this),s=a.selector||"",l=(new Date).getTime(),u=[],c=arguments[0],d="string"==typeof c,f=[].slice.call(arguments,1);return a.each(function(){var a,p,h=e.extend(!0,{},e.fn.checkbox.settings,i),m=h.className,g=h.namespace,$=h.selector,_=h.error,v="."+g,b="module-"+g,y=e(this),x=e(this).children($.label),k=e(this).children($.input),w=k[0],E=!1,A=!1,C=y.data(b),S=this;p={initialize:function(){p.verbose("Initializing checkbox",h),p.create.label(),p.bind.events(),p.set.tabbable(),p.hide.input(),p.observeChanges(),p.instantiate(),p.setup()},instantiate:function(){p.verbose("Storing instance of module",p),C=p,y.data(b,p)},destroy:function(){p.verbose("Destroying module"),p.unbind.events(),p.show.input(),y.removeData(b)},fix:{reference:function(){y.is($.input)&&(p.debug("Behavior called on adjusting invoked element"),y=y.closest($.checkbox),p.refresh())}},setup:function(){p.set.initialLoad(),p.is.indeterminate()?(p.debug("Initial value is indeterminate"),p.indeterminate()):p.is.checked()?(p.debug("Initial value is checked"),p.check()):(p.debug("Initial value is unchecked"),p.uncheck()),p.remove.initialLoad()},refresh:function(){x=y.children($.label),k=y.children($.input),w=k[0]},hide:{input:function(){p.verbose("Modifying z-index to be unselectable"),k.addClass(m.hidden)}},show:{input:function(){p.verbose("Modifying z-index to be selectable"),k.removeClass(m.hidden)}},observeChanges:function(){"MutationObserver"in t&&(a=new MutationObserver(function(e){p.debug("DOM tree modified, updating selector cache"),p.refresh()}),a.observe(S,{childList:!0,subtree:!0}),p.debug("Setting up mutation observer",a))},attachEvents:function(t,n){var r=e(t);n=e.isFunction(p[n])?p[n]:p.toggle,r.length>0?(p.debug("Attaching checkbox events to element",t,n),r.on("click"+v,n)):p.error(_.notFound)},event:{click:function(t){var n=e(t.target);return n.is($.input)?void p.verbose("Using default check action on initialized checkbox"):n.is($.link)?void p.debug("Clicking link inside checkbox, skipping toggle"):(p.toggle(),k.focus(),void t.preventDefault())},keydown:function(e){var t=e.which,n={enter:13,space:32,escape:27};t==n.escape?(p.verbose("Escape key pressed blurring field"),k.blur(),A=!0):e.ctrlKey||t!=n.space&&t!=n.enter?A=!1:(p.verbose("Enter/space key pressed, toggling checkbox"),p.toggle(),A=!0)},keyup:function(e){A&&e.preventDefault()}},check:function(){p.should.allowCheck()&&(p.debug("Checking checkbox",k),p.set.checked(),p.should.ignoreCallbacks()||(h.onChecked.call(w),h.onChange.call(w)))},uncheck:function(){p.should.allowUncheck()&&(p.debug("Unchecking checkbox"),p.set.unchecked(),p.should.ignoreCallbacks()||(h.onUnchecked.call(w),h.onChange.call(w)))},indeterminate:function(){return p.should.allowIndeterminate()?void p.debug("Checkbox is already indeterminate"):(p.debug("Making checkbox indeterminate"),p.set.indeterminate(),void(p.should.ignoreCallbacks()||(h.onIndeterminate.call(w),h.onChange.call(w))))},determinate:function(){return p.should.allowDeterminate()?void p.debug("Checkbox is already determinate"):(p.debug("Making checkbox determinate"),p.set.determinate(),void(p.should.ignoreCallbacks()||(h.onDeterminate.call(w),h.onChange.call(w))))},enable:function(){return p.is.enabled()?void p.debug("Checkbox is already enabled"):(p.debug("Enabling checkbox"),p.set.enabled(),h.onEnable.call(w),void h.onEnabled.call(w))},disable:function(){return p.is.disabled()?void p.debug("Checkbox is already disabled"):(p.debug("Disabling checkbox"),p.set.disabled(),h.onDisable.call(w),void h.onDisabled.call(w))},get:{radios:function(){var t=p.get.name();return e('input[name="'+t+'"]').closest($.checkbox)},otherRadios:function(){return p.get.radios().not(y)},name:function(){return k.attr("name")}},is:{initialLoad:function(){return E},radio:function(){return k.hasClass(m.radio)||"radio"==k.attr("type")},indeterminate:function(){return k.prop("indeterminate")!==r&&k.prop("indeterminate")},checked:function(){return k.prop("checked")!==r&&k.prop("checked")},disabled:function(){return k.prop("disabled")!==r&&k.prop("disabled")},enabled:function(){return!p.is.disabled()},determinate:function(){return!p.is.indeterminate()},unchecked:function(){return!p.is.checked()}},should:{allowCheck:function(){return p.is.determinate()&&p.is.checked()&&!p.should.forceCallbacks()?(p.debug("Should not allow check, checkbox is already checked"),!1):h.beforeChecked.apply(w)!==!1||(p.debug("Should not allow check, beforeChecked cancelled"),!1)},allowUncheck:function(){return p.is.determinate()&&p.is.unchecked()&&!p.should.forceCallbacks()?(p.debug("Should not allow uncheck, checkbox is already unchecked"),!1):h.beforeUnchecked.apply(w)!==!1||(p.debug("Should not allow uncheck, beforeUnchecked cancelled"),!1)},allowIndeterminate:function(){return p.is.indeterminate()&&!p.should.forceCallbacks()?(p.debug("Should not allow indeterminate, checkbox is already indeterminate"),!1):h.beforeIndeterminate.apply(w)!==!1||(p.debug("Should not allow indeterminate, beforeIndeterminate cancelled"),!1)},allowDeterminate:function(){return p.is.determinate()&&!p.should.forceCallbacks()?(p.debug("Should not allow determinate, checkbox is already determinate"),!1):h.beforeDeterminate.apply(w)!==!1||(p.debug("Should not allow determinate, beforeDeterminate cancelled"),!1)},forceCallbacks:function(){return p.is.initialLoad()&&h.fireOnInit},ignoreCallbacks:function(){return E&&!h.fireOnInit}},can:{change:function(){return!(y.hasClass(m.disabled)||y.hasClass(m.readOnly)||k.prop("disabled")||k.prop("readonly"))},uncheck:function(){return"boolean"==typeof h.uncheckable?h.uncheckable:!p.is.radio()}},set:{initialLoad:function(){E=!0},checked:function(){return p.verbose("Setting class to checked"),y.removeClass(m.indeterminate).addClass(m.checked),p.is.radio()&&p.uncheckOthers(),!p.is.indeterminate()&&p.is.checked()?void p.debug("Input is already checked, skipping input property change"):(p.verbose("Setting state to checked",w),k.prop("indeterminate",!1).prop("checked",!0),void p.trigger.change())},unchecked:function(){return p.verbose("Removing checked class"),y.removeClass(m.indeterminate).removeClass(m.checked),!p.is.indeterminate()&&p.is.unchecked()?void p.debug("Input is already unchecked"):(p.debug("Setting state to unchecked"),k.prop("indeterminate",!1).prop("checked",!1),void p.trigger.change())},indeterminate:function(){return p.verbose("Setting class to indeterminate"),y.addClass(m.indeterminate),p.is.indeterminate()?void p.debug("Input is already indeterminate, skipping input property change"):(p.debug("Setting state to indeterminate"),k.prop("indeterminate",!0),void p.trigger.change())},determinate:function(){return p.verbose("Removing indeterminate class"),y.removeClass(m.indeterminate),p.is.determinate()?void p.debug("Input is already determinate, skipping input property change"):(p.debug("Setting state to determinate"),void k.prop("indeterminate",!1))},disabled:function(){return p.verbose("Setting class to disabled"),y.addClass(m.disabled),p.is.disabled()?void p.debug("Input is already disabled, skipping input property change"):(p.debug("Setting state to disabled"),k.prop("disabled","disabled"),void p.trigger.change())},enabled:function(){return p.verbose("Removing disabled class"),y.removeClass(m.disabled),p.is.enabled()?void p.debug("Input is already enabled, skipping input property change"):(p.debug("Setting state to enabled"),k.prop("disabled",!1),void p.trigger.change())},tabbable:function(){p.verbose("Adding tabindex to checkbox"),k.attr("tabindex")===r&&k.attr("tabindex",0)}},remove:{initialLoad:function(){E=!1}},trigger:{change:function(){var e=n.createEvent("HTMLEvents"),t=k[0];t&&(p.verbose("Triggering native change event"),e.initEvent("change",!0,!1),t.dispatchEvent(e))}},create:{label:function(){k.prevAll($.label).length>0?(k.prev($.label).detach().insertAfter(k),p.debug("Moving existing label",x)):p.has.label()||(x=e("