diff --git a/bin/bin.js b/bin/bin.js index 0b0906f..ad95dae 100644 --- a/bin/bin.js +++ b/bin/bin.js @@ -1,9 +1,9 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=223)}([function(e,t,n){"use strict";e.exports=n(118)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"render",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"Box",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Color",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"AppContext",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"StdinContext",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"StdoutContext",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"Static",{enumerable:!0,get:function(){return c.default}});var r=f(n(119)),i=f(n(163)),o=f(n(164)),a=f(n(169)),u=f(n(77)),s=f(n(78)),l=f(n(79)),c=f(n(171));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t){var n="object",r=function(e){return e&&e.Math==Math&&e};e.exports=r(typeof globalThis==n&&globalThis)||r(typeof window==n&&window)||r(typeof self==n&&self)||r(typeof global==n&&global)||Function("return this")()},function(e,t,n){var r=n(2),i=n(24),o=n(52),a=n(102),u=r.Symbol,s=i("wks");e.exports=function(e){return s[e]||(s[e]=a&&u[e]||(a?u:o)("Symbol."+e))}},function(e,t){e.exports=require("stream")},function(e,t,n){var r=n(11);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t){var n;t=e.exports=q,n="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var r=256,i=Number.MAX_SAFE_INTEGER||9007199254740991,o=t.re=[],a=t.src=[],u=0,s=u++;a[s]="0|[1-9]\\d*";var l=u++;a[l]="[0-9]+";var c=u++;a[c]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var f=u++;a[f]="("+a[s]+")\\.("+a[s]+")\\.("+a[s]+")";var d=u++;a[d]="("+a[l]+")\\.("+a[l]+")\\.("+a[l]+")";var h=u++;a[h]="(?:"+a[s]+"|"+a[c]+")";var p=u++;a[p]="(?:"+a[l]+"|"+a[c]+")";var m=u++;a[m]="(?:-("+a[h]+"(?:\\."+a[h]+")*))";var g=u++;a[g]="(?:-?("+a[p]+"(?:\\."+a[p]+")*))";var v=u++;a[v]="[0-9A-Za-z-]+";var y=u++;a[y]="(?:\\+("+a[v]+"(?:\\."+a[v]+")*))";var _=u++,b="v?"+a[f]+a[m]+"?"+a[y]+"?";a[_]="^"+b+"$";var D="[v=\\s]*"+a[d]+a[g]+"?"+a[y]+"?",x=u++;a[x]="^"+D+"$";var w=u++;a[w]="((?:<|>)?=?)";var E=u++;a[E]=a[l]+"|x|X|\\*";var k=u++;a[k]=a[s]+"|x|X|\\*";var C=u++;a[C]="[v=\\s]*("+a[k]+")(?:\\.("+a[k]+")(?:\\.("+a[k]+")(?:"+a[m]+")?"+a[y]+"?)?)?";var S=u++;a[S]="[v=\\s]*("+a[E]+")(?:\\.("+a[E]+")(?:\\.("+a[E]+")(?:"+a[g]+")?"+a[y]+"?)?)?";var T=u++;a[T]="^"+a[w]+"\\s*"+a[C]+"$";var A=u++;a[A]="^"+a[w]+"\\s*"+a[S]+"$";var F=u++;a[F]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var M=u++;a[M]="(?:~>?)";var B=u++;a[B]="(\\s*)"+a[M]+"\\s+",o[B]=new RegExp(a[B],"g");var P=u++;a[P]="^"+a[M]+a[C]+"$";var N=u++;a[N]="^"+a[M]+a[S]+"$";var O=u++;a[O]="(?:\\^)";var R=u++;a[R]="(\\s*)"+a[O]+"\\s+",o[R]=new RegExp(a[R],"g");var I=u++;a[I]="^"+a[O]+a[C]+"$";var L=u++;a[L]="^"+a[O]+a[S]+"$";var j=u++;a[j]="^"+a[w]+"\\s*("+D+")$|^$";var U=u++;a[U]="^"+a[w]+"\\s*("+b+")$|^$";var z=u++;a[z]="(\\s*)"+a[w]+"\\s*("+D+"|"+a[C]+")",o[z]=new RegExp(a[z],"g");var W=u++;a[W]="^\\s*("+a[C]+")\\s+-\\s+("+a[C]+")\\s*$";var H=u++;a[H]="^\\s*("+a[S]+")\\s+-\\s+("+a[S]+")\\s*$";var X=u++;a[X]="(<|>)?=?\\s*\\*";for(var J=0;J<35;J++)n(J,a[J]),o[J]||(o[J]=new RegExp(a[J]));function G(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof q)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?o[x]:o[_]).test(e))return null;try{return new q(e,t)}catch(e){return null}}function q(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof q){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>r)throw new TypeError("version is longer than "+r+" characters");if(!(this instanceof q))return new q(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var a=e.trim().match(t.loose?o[x]:o[_]);if(!a)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new q(e,n).inc(t,r).version}catch(e){return null}},t.diff=function(e,t){if(Z(e,t))return null;var n=G(e),r=G(t),i="";if(n.prerelease.length||r.prerelease.length){i="pre";var o="prerelease"}for(var a in n)if(("major"===a||"minor"===a||"patch"===a)&&n[a]!==r[a])return i+a;return o},t.compareIdentifiers=V;var $=/^[0-9]+$/;function V(e,t){var n=$.test(e),r=$.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e0}function Q(e,t,n){return Y(e,t,n)<0}function Z(e,t,n){return 0===Y(e,t,n)}function ee(e,t,n){return 0!==Y(e,t,n)}function te(e,t,n){return Y(e,t,n)>=0}function ne(e,t,n){return Y(e,t,n)<=0}function re(e,t,n,r){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return Z(e,n,r);case"!=":return ee(e,n,r);case">":return K(e,n,r);case">=":return te(e,n,r);case"<":return Q(e,n,r);case"<=":return ne(e,n,r);default:throw new TypeError("Invalid operator: "+t)}}function ie(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof ie){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof ie))return new ie(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===oe?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return V(t,e)},t.major=function(e,t){return new q(e,t).major},t.minor=function(e,t){return new q(e,t).minor},t.patch=function(e,t){return new q(e,t).patch},t.compare=Y,t.compareLoose=function(e,t){return Y(e,t,!0)},t.rcompare=function(e,t,n){return Y(t,e,n)},t.sort=function(e,n){return e.sort(function(e,r){return t.compare(e,r,n)})},t.rsort=function(e,n){return e.sort(function(e,r){return t.rcompare(e,r,n)})},t.gt=K,t.lt=Q,t.eq=Z,t.neq=ee,t.gte=te,t.lte=ne,t.cmp=re,t.Comparator=ie;var oe={};function ae(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof ae)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new ae(e.raw,t);if(e instanceof ie)return new ae(e.value,t);if(!(this instanceof ae))return new ae(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function ue(e){return!e||"x"===e.toLowerCase()||"*"===e}function se(e,t,n,r,i,o,a,u,s,l,c,f,d){return((t=ue(n)?"":ue(r)?">="+n+".0.0":ue(i)?">="+n+"."+r+".0":">="+t)+" "+(u=ue(s)?"":ue(l)?"<"+(+s+1)+".0.0":ue(c)?"<"+s+"."+(+l+1)+".0":f?"<="+s+"."+l+"."+c+"-"+f:"<="+u)).trim()}function le(e,t,r){for(var i=0;i0){var o=e[i].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}function ce(e,t,n){try{t=new ae(t,n)}catch(e){return!1}return t.test(e)}function fe(e,t,n,r){var i,o,a,u,s;switch(e=new q(e,r),t=new ae(t,r),n){case">":i=K,o=ne,a=Q,u=">",s=">=";break;case"<":i=Q,o=te,a=K,u="<",s="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(ce(e,t,r))return!1;for(var l=0;l=0.0.0")),f=f||e,d=d||e,i(e.semver,f.semver,r)?f=e:a(e.semver,d.semver,r)&&(d=e)}),f.operator===u||f.operator===s)return!1;if((!d.operator||d.operator===u)&&o(e,d.semver))return!1;if(d.operator===s&&a(e,d.semver))return!1}return!0}ie.prototype.parse=function(e){var t=this.options.loose?o[j]:o[U],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=n[1],"="===this.operator&&(this.operator=""),n[2]?this.semver=new q(n[2],this.options.loose):this.semver=oe},ie.prototype.toString=function(){return this.value},ie.prototype.test=function(e){return n("Comparator.test",e,this.options.loose),this.semver===oe||("string"==typeof e&&(e=new q(e,this.options)),re(e,this.operator,this.semver,this.options))},ie.prototype.intersects=function(e,t){if(!(e instanceof ie))throw new TypeError("a Comparator is required");var n;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return n=new ae(e.value,t),ce(this.value,n,t);if(""===e.operator)return n=new ae(this.value,t),ce(e.semver,n,t);var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),i=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,a=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),u=re(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),s=re(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||i||o&&a||u||s},t.Range=ae,ae.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range},ae.prototype.toString=function(){return this.range},ae.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var r=t?o[H]:o[W];e=e.replace(r,se),n("hyphen replace",e),e=e.replace(o[z],"$1$2$3"),n("comparator trim",e,o[z]),e=(e=(e=e.replace(o[B],"$1~")).replace(o[R],"$1^")).split(/\s+/).join(" ");var i=t?o[j]:o[U],a=e.split(" ").map(function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map(function(e){return function(e,t){n("caret",e,t);var r=t.loose?o[L]:o[I];return e.replace(r,function(t,r,i,o,a){var u;return n("caret",e,t,r,i,o,a),ue(r)?u="":ue(i)?u=">="+r+".0.0 <"+(+r+1)+".0.0":ue(o)?u="0"===r?">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":">="+r+"."+i+".0 <"+(+r+1)+".0.0":a?(n("replaceCaret pr",a),u="0"===r?"0"===i?">="+r+"."+i+"."+o+"-"+a+" <"+r+"."+i+"."+(+o+1):">="+r+"."+i+"."+o+"-"+a+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+o+"-"+a+" <"+(+r+1)+".0.0"):(n("no pr"),u="0"===r?"0"===i?">="+r+"."+i+"."+o+" <"+r+"."+i+"."+(+o+1):">="+r+"."+i+"."+o+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+o+" <"+(+r+1)+".0.0"),n("caret return",u),u})}(e,t)}).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map(function(e){return function(e,t){var r=t.loose?o[N]:o[P];return e.replace(r,function(t,r,i,o,a){var u;return n("tilde",e,t,r,i,o,a),ue(r)?u="":ue(i)?u=">="+r+".0.0 <"+(+r+1)+".0.0":ue(o)?u=">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":a?(n("replaceTilde pr",a),u=">="+r+"."+i+"."+o+"-"+a+" <"+r+"."+(+i+1)+".0"):u=">="+r+"."+i+"."+o+" <"+r+"."+(+i+1)+".0",n("tilde return",u),u})}(e,t)}).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map(function(e){return function(e,t){e=e.trim();var r=t.loose?o[A]:o[T];return e.replace(r,function(t,r,i,o,a,u){n("xRange",e,t,r,i,o,a,u);var s=ue(i),l=s||ue(o),c=l||ue(a),f=c;return"="===r&&f&&(r=""),s?t=">"===r||"<"===r?"<0.0.0":"*":r&&f?(l&&(o=0),a=0,">"===r?(r=">=",l?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):"<="===r&&(r="<",l?i=+i+1:o=+o+1),t=r+i+"."+o+"."+a):l?t=">="+i+".0.0 <"+(+i+1)+".0.0":c&&(t=">="+i+"."+o+".0 <"+i+"."+(+o+1)+".0"),n("xRange return",t),t})}(e,t)}).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(o[X],"")}(e,t),n("stars",e),e}(e,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(a=a.filter(function(e){return!!e.match(i)})),a=a.map(function(e){return new ie(e,this.options)},this)},ae.prototype.intersects=function(e,t){if(!(e instanceof ae))throw new TypeError("a Range is required");return this.set.some(function(n){return n.every(function(n){return e.set.some(function(e){return e.every(function(e){return n.intersects(e,t)})})})})},t.toComparators=function(e,t){return new ae(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})},ae.prototype.test=function(e){if(!e)return!1;"string"==typeof e&&(e=new q(e,this.options));for(var t=0;t":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":n&&!K(n,t)||(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}})}if(n&&e.test(n))return n;return null},t.validRange=function(e,t){try{return new ae(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,n){return fe(e,t,"<",n)},t.gtr=function(e,t,n){return fe(e,t,">",n)},t.outside=fe,t.prerelease=function(e,t){var n=G(e,t);return n&&n.prerelease.length?n.prerelease:null},t.intersects=function(e,t,n){return e=new ae(e,n),t=new ae(t,n),e.intersects(t)},t.coerce=function(e){if(e instanceof q)return e;if("string"!=typeof e)return null;var t=e.match(o[F]);if(null==t)return null;return G(t[1]+"."+(t[2]||"0")+"."+(t[3]||"0"))}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(14),i=n(17),o=n(33);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports=require("zlib")},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=n(161)()},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(7);e.exports=!r(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tabs=function(e){return i.default.createElement(a.StdinContext.Consumer,null,({stdin:t,setRawMode:n})=>i.default.createElement(f,u({stdin:t,setRawMode:n},e)))},t.Tab=void 0;var r,i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0)),o=(r=n(12))&&r.__esModule?r:{default:r},a=n(1);function u(){return(u=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class c extends i.Component{render(){const{children:e}=this.props;return e}}t.Tab=c,c.propTypes={children:o.default.node.isRequired,name:o.default.string.isRequired};class f extends i.Component{constructor(e){super(e),this.isColumn=this.isColumn.bind(this),this.handleTabChange=this.handleTabChange.bind(this),this.handleKeyPress=this.handleKeyPress.bind(this),this.moveToNextTab=this.moveToNextTab.bind(this),this.moveToPreviousTab=this.moveToPreviousTab.bind(this),this.state={activeTab:0},this.defaultKeyMap={useNumbers:!0,useTab:!0,previous:[this.isColumn()?"up":"left"],next:[this.isColumn()?"down":"right"]}}componentDidMount(){const{stdin:e,setRawMode:t}=this.props;t(!0),e.on("keypress",this.handleKeyPress),this.handleTabChange(0)}componentWillUnmount(){const{stdin:e,setRawMode:t}=this.props;t(!1),e.removeListener("keypress",this.handleKeyPress)}handleTabChange(e){const{children:t,onChange:n}=this.props,r=t[e];r&&(this.setState({activeTab:e}),n(r.props.name,r))}handleKeyPress(e,t){const{keyMap:n}=this.props;if(!t)return;const r=function(e){for(var t=1;te===t.name)&&this.moveToPreviousTab(),u.some(e=>e===t.name)&&this.moveToNextTab(),t.name){case"tab":if(!o)return;!0===t.shift?this.moveToPreviousTab():this.moveToNextTab();break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":if(!i)return;if(!0===t.meta){const e="0"===t.name?9:parseInt(t.name,10)-1;this.handleTabChange(e)}}}isColumn(){const{flexDirection:e}=this.props;return"column"===e||"column-reverse"===e}moveToNextTab(){const{children:e}=this.props,{activeTab:t}=this.state;let n=t+1;n>=e.length&&(n=0),this.handleTabChange(n)}moveToPreviousTab(){const{children:e}=this.props,{activeTab:t}=this.state;let n=t-1;n<0&&(n=e.length-1),this.handleTabChange(n)}render(){const e=this.props,{children:t,onChange:n,flexDirection:r}=e,o=s(e,["children","onChange","flexDirection"]),{activeTab:l}=this.state,c=o.width||6,f=this.isColumn()?new Array(c).fill("─").join(""):" | ";return i.default.createElement(a.Box,u({flexDirection:r},o),t.map((e,t)=>{const{name:n}=e.props;return i.default.createElement(a.Box,{key:n,flexDirection:r},0!==t&&i.default.createElement(a.Color,{dim:!0},f),i.default.createElement(a.Box,null,i.default.createElement(a.Color,{keyword:"grey"},t+1,". "),i.default.createElement(a.Color,{bgGreen:l===t,black:l===t},e)))}))}}f.defaultProps={flexDirection:"row",keyMap:null},f.propTypes={setRawMode:o.default.func.isRequired,stdin:o.default.object.isRequired,onChange:o.default.func.isRequired,children:o.default.node.isRequired,flexDirection:o.default.string,keyMap:o.default.shape({useNumbers:o.default.bool,useTab:o.default.bool,previous:o.default.arrayOf(o.default.string),next:o.default.arrayOf(o.default.string)})}},function(e,t,n){!function(t){"use strict";var n={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:m,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:m,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:m,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n?(?!hr|heading|lheading| {0,3}>|tag)[^\n]+)+)/,text:/^[^\n]+/};function r(e){this.tokens=[],this.tokens.links={},this.options=e||v.defaults,this.rules=n.normal,this.options.gfm&&(this.options.tables?this.rules=n.tables:this.rules=n.gfm)}n._label=/(?:\\[\[\]]|[^\[\]])+/,n._title=/(?:"(?:\\"|[^"]|"[^"\n]*")*"|'\n?(?:[^'\n]+\n?)*'|\([^()]*\))/,n.def=f(n.def).replace("label",n._label).replace("title",n._title).getRegex(),n.bullet=/(?:[*+-]|\d+\.)/,n.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,n.item=f(n.item,"gm").replace(/bull/g,n.bullet).getRegex(),n.list=f(n.list).replace(/bull/g,n.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+n.def.source+")").getRegex(),n._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b",n.html=f(n.html).replace("comment",//).replace("closed",/<(tag)[\s\S]+?<\/\1>/).replace("closing",/\s]*)*?\/?>/).replace(/tag/g,n._tag).getRegex(),n.paragraph=f(n.paragraph).replace("hr",n.hr).replace("heading",n.heading).replace("lheading",n.lheading).replace("tag","<"+n._tag).getRegex(),n.blockquote=f(n.blockquote).replace("paragraph",n.paragraph).getRegex(),n.normal=g({},n),n.gfm=g({},n.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\n? *\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),n.gfm.paragraph=f(n.paragraph).replace("(?!","(?!"+n.gfm.fences.source.replace("\\1","\\2")+"|"+n.list.source.replace("\\1","\\3")+"|").getRegex(),n.tables=g({},n.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),r.rules=n,r.lex=function(e,t){return new r(t).lex(e)},r.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},r.prototype.token=function(e,t){var r,i,o,a,u,s,l,c,f,d,h;for(e=e.replace(/^ +$/gm,"");e;)if((o=this.rules.newline.exec(e))&&(e=e.substring(o[0].length),o[0].length>1&&this.tokens.push({type:"space"})),o=this.rules.code.exec(e))e=e.substring(o[0].length),o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?o:o.replace(/\n+$/,"")});else if(o=this.rules.fences.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"code",lang:o[2],text:o[3]||""});else if(o=this.rules.heading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if(t&&(o=this.rules.nptable.exec(e))){for(e=e.substring(o[0].length),s={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/\n$/,"").split("\n")},c=0;c ?/gm,""),this.token(o,t),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(e)){for(e=e.substring(o[0].length),h=(a=o[2]).length>1,this.tokens.push({type:"list_start",ordered:h,start:h?+a:""}),r=!1,d=(o=o[0].match(this.rules.item)).length,c=0;c1&&u.length>1||(e=o.slice(c+1).join("\n")+e,c=d-1)),i=r||/\n\n(?!\s*$)/.test(s),c!==d-1&&(r="\n"===s.charAt(s.length-1),i||(i=r)),this.tokens.push({type:i?"loose_item_start":"list_item_start"}),this.token(s,!1),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(o=this.rules.html.exec(e))e=e.substring(o[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===o[1]||"script"===o[1]||"style"===o[1]),text:o[0]});else if(t&&(o=this.rules.def.exec(e)))e=e.substring(o[0].length),o[3]&&(o[3]=o[3].substring(1,o[3].length-1)),f=o[1].toLowerCase(),this.tokens.links[f]||(this.tokens.links[f]={href:o[2],title:o[3]});else if(t&&(o=this.rules.table.exec(e))){for(e=e.substring(o[0].length),s={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/(?: *\| *)?\n$/,"").split("\n")},c=0;c])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:m,tag:/^|^<\/?[a-zA-Z0-9\-]+(?:"[^"]*"|'[^']*'|\s[^<'">\/\s]*)*?\/?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^_([^\s_](?:[^_]|__)+?[^\s_])_\b|^\*((?:\*\*|[^*])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`]?)\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:m,text:/^[\s\S]+?(?=[\\/g,">").replace(/"/g,""").replace(/'/g,"'")}function c(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function f(e,t){return e=e.source,t=t||"",{replace:function(t,n){return n=(n=n.source||n).replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function d(e,t){return h[" "+e]||(/^[^:]+:\/*[^\/]*$/.test(e)?h[" "+e]=e+"/":h[" "+e]=e.replace(/[^\/]*$/,"")),e=h[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^\/]*)[\s\S]*/,"$1")+t:e+t}i._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,i._email=/[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,i.autolink=f(i.autolink).replace("scheme",i._scheme).replace("email",i._email).getRegex(),i._inside=/(?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]]|\](?=[^\[]*\]))*/,i._href=/\s*?(?:\s+['"]([\s\S]*?)['"])?\s*/,i.link=f(i.link).replace("inside",i._inside).replace("href",i._href).getRegex(),i.reflink=f(i.reflink).replace("inside",i._inside).getRegex(),i.normal=g({},i),i.pedantic=g({},i.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),i.gfm=g({},i.normal,{escape:f(i.escape).replace("])","~|])").getRegex(),url:f(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("email",i._email).getRegex(),_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:f(i.text).replace("]|","~]|").replace("|","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|").getRegex()}),i.breaks=g({},i.gfm,{br:f(i.br).replace("{2,}","*").getRegex(),text:f(i.gfm.text).replace("{2,}","*").getRegex()}),o.rules=i,o.output=function(e,t,n){return new o(t,n).output(e)},o.prototype.output=function(e){for(var t,n,r,i,o="";e;)if(i=this.rules.escape.exec(e))e=e.substring(i[0].length),o+=i[1];else if(i=this.rules.autolink.exec(e))e=e.substring(i[0].length),r="@"===i[2]?"mailto:"+(n=l(this.mangle(i[1]))):n=l(i[1]),o+=this.renderer.link(r,null,n);else if(this.inLink||!(i=this.rules.url.exec(e))){if(i=this.rules.tag.exec(e))!this.inLink&&/^/i.test(i[0])&&(this.inLink=!1),e=e.substring(i[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):l(i[0]):i[0];else if(i=this.rules.link.exec(e))e=e.substring(i[0].length),this.inLink=!0,o+=this.outputLink(i,{href:i[2],title:i[3]}),this.inLink=!1;else if((i=this.rules.reflink.exec(e))||(i=this.rules.nolink.exec(e))){if(e=e.substring(i[0].length),t=(i[2]||i[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){o+=i[0].charAt(0),e=i[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(i,t),this.inLink=!1}else if(i=this.rules.strong.exec(e))e=e.substring(i[0].length),o+=this.renderer.strong(this.output(i[2]||i[1]));else if(i=this.rules.em.exec(e))e=e.substring(i[0].length),o+=this.renderer.em(this.output(i[2]||i[1]));else if(i=this.rules.code.exec(e))e=e.substring(i[0].length),o+=this.renderer.codespan(l(i[2].trim(),!0));else if(i=this.rules.br.exec(e))e=e.substring(i[0].length),o+=this.renderer.br();else if(i=this.rules.del.exec(e))e=e.substring(i[0].length),o+=this.renderer.del(this.output(i[1]));else if(i=this.rules.text.exec(e))e=e.substring(i[0].length),o+=this.renderer.text(l(this.smartypants(i[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else i[0]=this.rules._backpedal.exec(i[0])[0],e=e.substring(i[0].length),"@"===i[2]?r="mailto:"+(n=l(i[0])):(n=l(i[0]),r="www."===i[1]?"http://"+n:n),o+=this.renderer.link(r,null,n);return o},o.prototype.outputLink=function(e,t){var n=l(t.href),r=t.title?l(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,l(e[1]))},o.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},o.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},a.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'
'+(n?e:l(e,!0))+"\n
\n":"
"+(n?e:l(e,!0))+"\n
"},a.prototype.blockquote=function(e){return"
\n"+e+"
\n"},a.prototype.html=function(e){return e},a.prototype.heading=function(e,t,n){return"'+e+"\n"},a.prototype.hr=function(){return this.options.xhtml?"
\n":"
\n"},a.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},a.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},a.prototype.paragraph=function(e){return"

    "+e+"

    \n"},a.prototype.table=function(e,t){return"\n\n"+e+"\n\n"+t+"\n
    \n"},a.prototype.tablerow=function(e){return"\n"+e+"\n"},a.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">")+e+"\n"},a.prototype.strong=function(e){return""+e+""},a.prototype.em=function(e){return""+e+""},a.prototype.codespan=function(e){return""+e+""},a.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},a.prototype.del=function(e){return""+e+""},a.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(c(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return n}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return n}this.options.baseUrl&&!p.test(e)&&(e=d(this.options.baseUrl,e));var i='
    "},a.prototype.image=function(e,t,n){this.options.baseUrl&&!p.test(e)&&(e=d(this.options.baseUrl,e));var r=''+n+'":">"},a.prototype.text=function(e){return e},u.prototype.strong=u.prototype.em=u.prototype.codespan=u.prototype.del=u.prototype.text=function(e){return e},u.prototype.link=u.prototype.image=function(e,t,n){return""+n},u.prototype.br=function(){return""},s.parse=function(e,t){return new s(t).parse(e)},s.prototype.parse=function(e){this.inline=new o(e.links,this.options),this.inlineText=new o(e.links,g({},this.options,{renderer:new u})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},s.prototype.next=function(){return this.token=this.tokens.pop()},s.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},s.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},s.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,c(this.inlineText.output(this.token.text)));case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",o="";for(n="",e=0;eAn error occurred:

    "+l(e.message+"",!0)+"
    ";throw e}}m.exec=m,v.options=v.setOptions=function(e){return g(v.defaults,e),v},v.defaults={gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,sanitizer:null,mangle:!0,smartLists:!1,silent:!1,highlight:null,langPrefix:"lang-",smartypants:!1,headerPrefix:"",renderer:new a,xhtml:!1,baseUrl:null},v.Parser=s,v.parser=s.parse,v.Renderer=a,v.TextRenderer=u,v.Lexer=r,v.lexer=r.lex,v.InlineLexer=o,v.inlineLexer=o.output,v.parse=v,e.exports=v}(this||("undefined"!=typeof window?window:global))},function(e,t,n){var r=n(14),i=n(50),o=n(5),a=n(51),u=Object.defineProperty;t.f=r?u:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports={}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){var r={};e.exports=r,r.themes={};var i=r.styles=n(195),o=Object.defineProperties;r.supportsColor=n(196),void 0===r.enabled&&(r.enabled=r.supportsColor),r.stripColors=r.strip=function(e){return(""+e).replace(/\x1B\[\d+m/g,"")};r.stylize=function(e,t){return i[t].open+e+i[t].close};var a=/[|\\{}()[\]^$+*?.]/g;function u(e){var t=function e(){return f.apply(e,arguments)};return t._styles=e,t.__proto__=c,t}var s,l=(s={},i.grey=i.gray,Object.keys(i).forEach(function(e){i[e].closeRe=new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(a,"\\$&")}(i[e].close),"g"),s[e]={get:function(){return u(this._styles.concat(e))}}}),s),c=o(function(){},l);function f(){var e=arguments,t=e.length,n=0!==t&&String(arguments[0]);if(t>1)for(var o=1;o0?r:n)(e)}},function(e,t,n){var r=n(56),i=n(2),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},function(e,t,n){var r=n(2),i=n(24),o=n(8),a=n(9),u=n(31),s=n(57),l=n(38),c=l.get,f=l.enforce,d=String(s).split("toString");i("inspectSource",function(e){return s.call(e)}),(e.exports=function(e,t,n,i){var s=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||a(n,"name")||o(n,"name",t),f(n).source=d.join("string"==typeof t?t:"")),e!==r?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=n:o(e,t,n)):l?e[t]=n:u(t,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&c(this).source||s.call(this)})},function(e,t){e.exports=require("url")},function(e,t,n){"use strict";var r=n(22),i=n(101),o=n(18),a=n(38),u=n(108),s=a.set,l=a.getterFor("Array Iterator");e.exports=u(Array,"Array",function(e,t){s(this,{type:"Array Iterator",target:r(e),index:0,kind:t})},function(){var e=l(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t,n){var r=n(2),i=n(8);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(2),i=n(11),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(26),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t){e.exports={}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){var r=n(24),i=n(52),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},function(e,t,n){var r,i,o,a=n(107),u=n(2),s=n(11),l=n(8),c=n(9),f=n(37),d=n(35),h=u.WeakMap;if(a){var p=new h,m=p.get,g=p.has,v=p.set;r=function(e,t){return v.call(p,e,t),t},i=function(e){return m.call(p,e)||{}},o=function(e){return g.call(p,e)}}else{var y=f("state");d[y]=!0,r=function(e,t){return l(e,y,t),t},i=function(e){return c(e,y)?e[y]:{}},o=function(e){return c(e,y)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(2),i=n(40).f,o=n(8),a=n(28),u=n(31),s=n(110),l=n(58);e.exports=function(e,t){var n,c,f,d,h,p=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[p]||u(p,{}):(r[p]||{}).prototype)for(c in t){if(d=t[c],f=e.noTargetGet?(h=i(n,c))&&h.value:n[c],!l(m?c:p+(g?".":"#")+c,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;s(d,f)}(e.sham||f&&f.sham)&&o(d,"sham",!0),a(n,c,d,e)}}},function(e,t,n){var r=n(14),i=n(109),o=n(33),a=n(22),u=n(51),s=n(9),l=n(50),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=u(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return o(!i.f.call(e,t),e[t])}},function(e,t,n){var r=n(23);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(17).f,i=n(9),o=n(3)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){"use strict";e.exports=e=>!Number.isNaN(e)&&(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createTextNode=t.setAttribute=t.removeChildNode=t.insertBeforeNode=t.appendStaticNode=t.appendChildNode=t.createNode=void 0;t.createNode=e=>({nodeName:e.toUpperCase(),style:{},attributes:{},childNodes:[],parentNode:null});t.appendChildNode=(e,t)=>{t.parentNode&&r(t.parentNode,t),t.parentNode=e,e.childNodes.push(t)};t.appendStaticNode=(e,t)=>{e.childNodes.push(t)};t.insertBeforeNode=(e,t,n)=>{t.parentNode&&r(t.parentNode,t),t.parentNode=e;const i=e.childNodes.indexOf(n);i>=0?e.childNodes.splice(i,0,t):e.childNodes.push(t)};const r=(e,t)=>{t.parentNode=null;const n=e.childNodes.indexOf(t);n>=0&&e.childNodes.splice(n,1)};t.removeChildNode=r;t.setAttribute=(e,t,n)=>{e.attributes[t]=n};t.createTextNode=e=>({nodeName:"#text",nodeValue:e})},function(e,t,n){"use strict";var r=n(145),i=n(147),o=!1,a=null;if(i({},function(e,t){if(!o){if(o=!0,e)throw e;a=t}}),!o)throw new Error("Failed to load the yoga module - it needed to be loaded synchronously, but didn't");e.exports=r(a.bind,a.lib)},function(e,t,n){var r=n(207),i=n(208),o=n(89).brightBlack,a="";e.exports=function(e,t){t=t||{};try{var n=r(e,t.theme||i),u=t.firstline&&!isNaN(t.firstline)?t.firstline:1;return t.linenos?function(e,t){var n=e.split("\n");!function(e){for(var t=e.pop();!t||!t.length;)t=e.pop();t&&e.push(t)}(n);var r,i,u=n.length,s=[];function l(e){return e<10?1:e<100?2:e<1e3?3:e<1e4?4:5}function c(e,t){switch(t-l(e)){case 0:return""+e;case 1:return" "+e;case 2:return" "+e;case 3:return" "+e;case 4:return" "+e;case 5:return" "+e}}r=l(u+t-1);for(var f=0;fdocument.F=Object<\/script>"),e.close(),f=e.F;n--;)delete f.prototype[o[n]];return f()};e.exports=Object.create||function(e,t){var n;return null!==e?(c.prototype=r(e),n=new c,c.prototype=null,n[l]=e):n=f(),void 0===t?n:i(n,t)},a[l]=!0},function(e,t,n){var r=n(9),i=n(22),o=n(105).indexOf,a=n(35);e.exports=function(e,t){var n,u=i(e),s=0,l=[];for(n in u)!r(a,n)&&r(u,n)&&l.push(n);for(;t.length>s;)r(u,n=t[s++])&&(~o(l,n)||l.push(n));return l}},function(e,t,n){var r=n(27);e.exports=r("document","documentElement")},function(e,t,n){e.exports=n(2)},function(e,t,n){var r=n(24);e.exports=r("native-function-to-string",Function.toString)},function(e,t,n){var r=n(7),i=/#|\.prototype\./,o=function(e,t){var n=u[a(e)];return n==l||n!=s&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},u=o.data={},s=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},function(e,t,n){"use strict";var r,i,o,a=n(60),u=n(8),s=n(9),l=n(3),c=n(25),f=l("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):d=!0),null==r&&(r={}),c||s(r,f)||u(r,f,function(){return this}),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},function(e,t,n){var r=n(9),i=n(41),o=n(37),a=n(115),u=o("IE_PROTO"),s=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),r(e,u)?e[u]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t,n){"use strict"; +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=220)}([function(e,t,n){"use strict";e.exports=n(117)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"render",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"Box",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Color",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"AppContext",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"StdinContext",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"StdoutContext",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"Static",{enumerable:!0,get:function(){return c.default}});var r=f(n(118)),i=f(n(162)),o=f(n(163)),a=f(n(168)),u=f(n(78)),s=f(n(79)),l=f(n(80)),c=f(n(170));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t){var n="object",r=function(e){return e&&e.Math==Math&&e};e.exports=r(typeof globalThis==n&&globalThis)||r(typeof window==n&&window)||r(typeof self==n&&self)||r(typeof global==n&&global)||Function("return this")()},function(e,t,n){var r=n(2),i=n(24),o=n(53),a=n(101),u=r.Symbol,s=i("wks");e.exports=function(e){return s[e]||(s[e]=a&&u[e]||(a?u:o)("Symbol."+e))}},function(e,t){e.exports=require("stream")},function(e,t,n){var r=n(11);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t){var n;t=e.exports=h,n="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var r=256,i=Number.MAX_SAFE_INTEGER||9007199254740991,o=t.re=[],a=t.src=[],u=t.tokens={},s=0;function l(e){u[e]=s++}l("NUMERICIDENTIFIER"),a[u.NUMERICIDENTIFIER]="0|[1-9]\\d*",l("NUMERICIDENTIFIERLOOSE"),a[u.NUMERICIDENTIFIERLOOSE]="[0-9]+",l("NONNUMERICIDENTIFIER"),a[u.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",l("MAINVERSION"),a[u.MAINVERSION]="("+a[u.NUMERICIDENTIFIER]+")\\.("+a[u.NUMERICIDENTIFIER]+")\\.("+a[u.NUMERICIDENTIFIER]+")",l("MAINVERSIONLOOSE"),a[u.MAINVERSIONLOOSE]="("+a[u.NUMERICIDENTIFIERLOOSE]+")\\.("+a[u.NUMERICIDENTIFIERLOOSE]+")\\.("+a[u.NUMERICIDENTIFIERLOOSE]+")",l("PRERELEASEIDENTIFIER"),a[u.PRERELEASEIDENTIFIER]="(?:"+a[u.NUMERICIDENTIFIER]+"|"+a[u.NONNUMERICIDENTIFIER]+")",l("PRERELEASEIDENTIFIERLOOSE"),a[u.PRERELEASEIDENTIFIERLOOSE]="(?:"+a[u.NUMERICIDENTIFIERLOOSE]+"|"+a[u.NONNUMERICIDENTIFIER]+")",l("PRERELEASE"),a[u.PRERELEASE]="(?:-("+a[u.PRERELEASEIDENTIFIER]+"(?:\\."+a[u.PRERELEASEIDENTIFIER]+")*))",l("PRERELEASELOOSE"),a[u.PRERELEASELOOSE]="(?:-?("+a[u.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+a[u.PRERELEASEIDENTIFIERLOOSE]+")*))",l("BUILDIDENTIFIER"),a[u.BUILDIDENTIFIER]="[0-9A-Za-z-]+",l("BUILD"),a[u.BUILD]="(?:\\+("+a[u.BUILDIDENTIFIER]+"(?:\\."+a[u.BUILDIDENTIFIER]+")*))",l("FULL"),l("FULLPLAIN"),a[u.FULLPLAIN]="v?"+a[u.MAINVERSION]+a[u.PRERELEASE]+"?"+a[u.BUILD]+"?",a[u.FULL]="^"+a[u.FULLPLAIN]+"$",l("LOOSEPLAIN"),a[u.LOOSEPLAIN]="[v=\\s]*"+a[u.MAINVERSIONLOOSE]+a[u.PRERELEASELOOSE]+"?"+a[u.BUILD]+"?",l("LOOSE"),a[u.LOOSE]="^"+a[u.LOOSEPLAIN]+"$",l("GTLT"),a[u.GTLT]="((?:<|>)?=?)",l("XRANGEIDENTIFIERLOOSE"),a[u.XRANGEIDENTIFIERLOOSE]=a[u.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",l("XRANGEIDENTIFIER"),a[u.XRANGEIDENTIFIER]=a[u.NUMERICIDENTIFIER]+"|x|X|\\*",l("XRANGEPLAIN"),a[u.XRANGEPLAIN]="[v=\\s]*("+a[u.XRANGEIDENTIFIER]+")(?:\\.("+a[u.XRANGEIDENTIFIER]+")(?:\\.("+a[u.XRANGEIDENTIFIER]+")(?:"+a[u.PRERELEASE]+")?"+a[u.BUILD]+"?)?)?",l("XRANGEPLAINLOOSE"),a[u.XRANGEPLAINLOOSE]="[v=\\s]*("+a[u.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[u.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[u.XRANGEIDENTIFIERLOOSE]+")(?:"+a[u.PRERELEASELOOSE]+")?"+a[u.BUILD]+"?)?)?",l("XRANGE"),a[u.XRANGE]="^"+a[u.GTLT]+"\\s*"+a[u.XRANGEPLAIN]+"$",l("XRANGELOOSE"),a[u.XRANGELOOSE]="^"+a[u.GTLT]+"\\s*"+a[u.XRANGEPLAINLOOSE]+"$",l("COERCE"),a[u.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",l("COERCERTL"),o[u.COERCERTL]=new RegExp(a[u.COERCE],"g"),l("LONETILDE"),a[u.LONETILDE]="(?:~>?)",l("TILDETRIM"),a[u.TILDETRIM]="(\\s*)"+a[u.LONETILDE]+"\\s+",o[u.TILDETRIM]=new RegExp(a[u.TILDETRIM],"g");l("TILDE"),a[u.TILDE]="^"+a[u.LONETILDE]+a[u.XRANGEPLAIN]+"$",l("TILDELOOSE"),a[u.TILDELOOSE]="^"+a[u.LONETILDE]+a[u.XRANGEPLAINLOOSE]+"$",l("LONECARET"),a[u.LONECARET]="(?:\\^)",l("CARETTRIM"),a[u.CARETTRIM]="(\\s*)"+a[u.LONECARET]+"\\s+",o[u.CARETTRIM]=new RegExp(a[u.CARETTRIM],"g");l("CARET"),a[u.CARET]="^"+a[u.LONECARET]+a[u.XRANGEPLAIN]+"$",l("CARETLOOSE"),a[u.CARETLOOSE]="^"+a[u.LONECARET]+a[u.XRANGEPLAINLOOSE]+"$",l("COMPARATORLOOSE"),a[u.COMPARATORLOOSE]="^"+a[u.GTLT]+"\\s*("+a[u.LOOSEPLAIN]+")$|^$",l("COMPARATOR"),a[u.COMPARATOR]="^"+a[u.GTLT]+"\\s*("+a[u.FULLPLAIN]+")$|^$",l("COMPARATORTRIM"),a[u.COMPARATORTRIM]="(\\s*)"+a[u.GTLT]+"\\s*("+a[u.LOOSEPLAIN]+"|"+a[u.XRANGEPLAIN]+")",o[u.COMPARATORTRIM]=new RegExp(a[u.COMPARATORTRIM],"g");l("HYPHENRANGE"),a[u.HYPHENRANGE]="^\\s*("+a[u.XRANGEPLAIN]+")\\s+-\\s+("+a[u.XRANGEPLAIN]+")\\s*$",l("HYPHENRANGELOOSE"),a[u.HYPHENRANGELOOSE]="^\\s*("+a[u.XRANGEPLAINLOOSE]+")\\s+-\\s+("+a[u.XRANGEPLAINLOOSE]+")\\s*$",l("STAR"),a[u.STAR]="(<|>)?=?\\s*\\*";for(var c=0;cr)return null;if(!(t.loose?o[u.LOOSE]:o[u.FULL]).test(e))return null;try{return new h(e,t)}catch(e){return null}}function h(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof h){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>r)throw new TypeError("version is longer than "+r+" characters");if(!(this instanceof h))return new h(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var a=e.trim().match(t.loose?o[u.LOOSE]:o[u.FULL]);if(!a)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new h(e,n).inc(t,r).version}catch(e){return null}},t.diff=function(e,t){if(y(e,t))return null;var n=f(e),r=f(t),i="";if(n.prerelease.length||r.prerelease.length){i="pre";var o="prerelease"}for(var a in n)if(("major"===a||"minor"===a||"patch"===a)&&n[a]!==r[a])return i+a;return o},t.compareIdentifiers=p;var d=/^[0-9]+$/;function p(e,t){var n=d.test(e),r=d.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e0}function v(e,t,n){return m(e,t,n)<0}function y(e,t,n){return 0===m(e,t,n)}function _(e,t,n){return 0!==m(e,t,n)}function b(e,t,n){return m(e,t,n)>=0}function D(e,t,n){return m(e,t,n)<=0}function E(e,t,n,r){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return y(e,n,r);case"!=":return _(e,n,r);case">":return g(e,n,r);case">=":return b(e,n,r);case"<":return v(e,n,r);case"<=":return D(e,n,r);default:throw new TypeError("Invalid operator: "+t)}}function x(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof x){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof x))return new x(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===w?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return p(t,e)},t.major=function(e,t){return new h(e,t).major},t.minor=function(e,t){return new h(e,t).minor},t.patch=function(e,t){return new h(e,t).patch},t.compare=m,t.compareLoose=function(e,t){return m(e,t,!0)},t.compareBuild=function(e,t,n){var r=new h(e,n),i=new h(t,n);return r.compare(i)||r.compareBuild(i)},t.rcompare=function(e,t,n){return m(t,e,n)},t.sort=function(e,n){return e.sort(function(e,r){return t.compareBuild(e,r,n)})},t.rsort=function(e,n){return e.sort(function(e,r){return t.compareBuild(r,e,n)})},t.gt=g,t.lt=v,t.eq=y,t.neq=_,t.gte=b,t.lte=D,t.cmp=E,t.Comparator=x;var w={};function C(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof C)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new C(e.raw,t);if(e instanceof x)return new C(e.value,t);if(!(this instanceof C))return new C(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function k(e,t){for(var n=!0,r=e.slice(),i=r.pop();n&&r.length;)n=r.every(function(e){return i.intersects(e,t)}),i=r.pop();return n}function S(e){return!e||"x"===e.toLowerCase()||"*"===e}function A(e,t,n,r,i,o,a,u,s,l,c,f,h){return((t=S(n)?"":S(r)?">="+n+".0.0":S(i)?">="+n+"."+r+".0":">="+t)+" "+(u=S(s)?"":S(l)?"<"+(+s+1)+".0.0":S(c)?"<"+s+"."+(+l+1)+".0":f?"<="+s+"."+l+"."+c+"-"+f:"<="+u)).trim()}function T(e,t,r){for(var i=0;i0){var o=e[i].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}function F(e,t,n){try{t=new C(t,n)}catch(e){return!1}return t.test(e)}function M(e,t,n,r){var i,o,a,u,s;switch(e=new h(e,r),t=new C(t,r),n){case">":i=g,o=D,a=v,u=">",s=">=";break;case"<":i=v,o=b,a=g,u="<",s="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(F(e,t,r))return!1;for(var l=0;l=0.0.0")),f=f||e,d=d||e,i(e.semver,f.semver,r)?f=e:a(e.semver,d.semver,r)&&(d=e)}),f.operator===u||f.operator===s)return!1;if((!d.operator||d.operator===u)&&o(e,d.semver))return!1;if(d.operator===s&&a(e,d.semver))return!1}return!0}x.prototype.parse=function(e){var t=this.options.loose?o[u.COMPARATORLOOSE]:o[u.COMPARATOR],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new h(n[2],this.options.loose):this.semver=w},x.prototype.toString=function(){return this.value},x.prototype.test=function(e){if(n("Comparator.test",e,this.options.loose),this.semver===w||e===w)return!0;if("string"==typeof e)try{e=new h(e,this.options)}catch(e){return!1}return E(e,this.operator,this.semver,this.options)},x.prototype.intersects=function(e,t){if(!(e instanceof x))throw new TypeError("a Comparator is required");var n;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(n=new C(e.value,t),F(this.value,n,t));if(""===e.operator)return""===e.value||(n=new C(this.value,t),F(e.semver,n,t));var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),i=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,a=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),u=E(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),s=E(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||i||o&&a||u||s},t.Range=C,C.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range},C.prototype.toString=function(){return this.range},C.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var r=t?o[u.HYPHENRANGELOOSE]:o[u.HYPHENRANGE];e=e.replace(r,A),n("hyphen replace",e),e=e.replace(o[u.COMPARATORTRIM],"$1$2$3"),n("comparator trim",e,o[u.COMPARATORTRIM]),e=(e=(e=e.replace(o[u.TILDETRIM],"$1~")).replace(o[u.CARETTRIM],"$1^")).split(/\s+/).join(" ");var i=t?o[u.COMPARATORLOOSE]:o[u.COMPARATOR],a=e.split(" ").map(function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map(function(e){return function(e,t){n("caret",e,t);var r=t.loose?o[u.CARETLOOSE]:o[u.CARET];return e.replace(r,function(t,r,i,o,a){var u;return n("caret",e,t,r,i,o,a),S(r)?u="":S(i)?u=">="+r+".0.0 <"+(+r+1)+".0.0":S(o)?u="0"===r?">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":">="+r+"."+i+".0 <"+(+r+1)+".0.0":a?(n("replaceCaret pr",a),u="0"===r?"0"===i?">="+r+"."+i+"."+o+"-"+a+" <"+r+"."+i+"."+(+o+1):">="+r+"."+i+"."+o+"-"+a+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+o+"-"+a+" <"+(+r+1)+".0.0"):(n("no pr"),u="0"===r?"0"===i?">="+r+"."+i+"."+o+" <"+r+"."+i+"."+(+o+1):">="+r+"."+i+"."+o+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+o+" <"+(+r+1)+".0.0"),n("caret return",u),u})}(e,t)}).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map(function(e){return function(e,t){var r=t.loose?o[u.TILDELOOSE]:o[u.TILDE];return e.replace(r,function(t,r,i,o,a){var u;return n("tilde",e,t,r,i,o,a),S(r)?u="":S(i)?u=">="+r+".0.0 <"+(+r+1)+".0.0":S(o)?u=">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":a?(n("replaceTilde pr",a),u=">="+r+"."+i+"."+o+"-"+a+" <"+r+"."+(+i+1)+".0"):u=">="+r+"."+i+"."+o+" <"+r+"."+(+i+1)+".0",n("tilde return",u),u})}(e,t)}).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map(function(e){return function(e,t){e=e.trim();var r=t.loose?o[u.XRANGELOOSE]:o[u.XRANGE];return e.replace(r,function(r,i,o,a,u,s){n("xRange",e,r,i,o,a,u,s);var l=S(o),c=l||S(a),f=c||S(u),h=f;return"="===i&&h&&(i=""),s=t.includePrerelease?"-0":"",l?r=">"===i||"<"===i?"<0.0.0-0":"*":i&&h?(c&&(a=0),u=0,">"===i?(i=">=",c?(o=+o+1,a=0,u=0):(a=+a+1,u=0)):"<="===i&&(i="<",c?o=+o+1:a=+a+1),r=i+o+"."+a+"."+u+s):c?r=">="+o+".0.0"+s+" <"+(+o+1)+".0.0"+s:f&&(r=">="+o+"."+a+".0"+s+" <"+o+"."+(+a+1)+".0"+s),n("xRange return",r),r})}(e,t)}).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(o[u.STAR],"")}(e,t),n("stars",e),e}(e,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(a=a.filter(function(e){return!!e.match(i)})),a=a.map(function(e){return new x(e,this.options)},this)},C.prototype.intersects=function(e,t){if(!(e instanceof C))throw new TypeError("a Range is required");return this.set.some(function(n){return k(n,t)&&e.set.some(function(e){return k(e,t)&&n.every(function(n){return e.every(function(e){return n.intersects(e,t)})})})})},t.toComparators=function(e,t){return new C(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})},C.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new h(e,this.options)}catch(e){return!1}for(var t=0;t":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":n&&!g(n,t)||(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}})}if(n&&e.test(n))return n;return null},t.validRange=function(e,t){try{return new C(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,n){return M(e,t,"<",n)},t.gtr=function(e,t,n){return M(e,t,">",n)},t.outside=M,t.prerelease=function(e,t){var n=f(e,t);return n&&n.prerelease.length?n.prerelease:null},t.intersects=function(e,t,n){return e=new C(e,n),t=new C(t,n),e.intersects(t)},t.coerce=function(e,t){if(e instanceof h)return e;"number"==typeof e&&(e=String(e));if("string"!=typeof e)return null;var n=null;if((t=t||{}).rtl){for(var r;(r=o[u.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),o[u.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;o[u.COERCERTL].lastIndex=-1}else n=e.match(o[u.COERCE]);if(null===n)return null;return f(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(14),i=n(17),o=n(33);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports=require("zlib")},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=n(160)()},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(7);e.exports=!r(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tabs=function(e){return i.default.createElement(a.StdinContext.Consumer,null,({stdin:t,setRawMode:n})=>i.default.createElement(f,u({stdin:t,setRawMode:n},e)))},t.Tab=void 0;var r,i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0)),o=(r=n(12))&&r.__esModule?r:{default:r},a=n(1);function u(){return(u=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class c extends i.Component{render(){const{children:e}=this.props;return e}}t.Tab=c,c.propTypes={children:o.default.node.isRequired,name:o.default.string.isRequired};class f extends i.Component{constructor(e){super(e),this.isColumn=this.isColumn.bind(this),this.handleTabChange=this.handleTabChange.bind(this),this.handleKeyPress=this.handleKeyPress.bind(this),this.moveToNextTab=this.moveToNextTab.bind(this),this.moveToPreviousTab=this.moveToPreviousTab.bind(this),this.state={activeTab:0},this.defaultKeyMap={useNumbers:!0,useTab:!0,previous:[this.isColumn()?"up":"left"],next:[this.isColumn()?"down":"right"]}}componentDidMount(){const{stdin:e,setRawMode:t}=this.props;t(!0),e.on("keypress",this.handleKeyPress),this.handleTabChange(0)}componentWillUnmount(){const{stdin:e,setRawMode:t}=this.props;t(!1),e.removeListener("keypress",this.handleKeyPress)}handleTabChange(e){const{children:t,onChange:n}=this.props,r=t[e];r&&(this.setState({activeTab:e}),n(r.props.name,r))}handleKeyPress(e,t){const{keyMap:n}=this.props;if(!t)return;const r=function(e){for(var t=1;te===t.name)&&this.moveToPreviousTab(),u.some(e=>e===t.name)&&this.moveToNextTab(),t.name){case"tab":if(!o)return;!0===t.shift?this.moveToPreviousTab():this.moveToNextTab();break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":if(!i)return;if(!0===t.meta){const e="0"===t.name?9:parseInt(t.name,10)-1;this.handleTabChange(e)}}}isColumn(){const{flexDirection:e}=this.props;return"column"===e||"column-reverse"===e}moveToNextTab(){const{children:e}=this.props,{activeTab:t}=this.state;let n=t+1;n>=e.length&&(n=0),this.handleTabChange(n)}moveToPreviousTab(){const{children:e}=this.props,{activeTab:t}=this.state;let n=t-1;n<0&&(n=e.length-1),this.handleTabChange(n)}render(){const e=this.props,{children:t,onChange:n,flexDirection:r}=e,o=s(e,["children","onChange","flexDirection"]),{activeTab:l}=this.state,c=o.width||6,f=this.isColumn()?new Array(c).fill("─").join(""):" | ";return i.default.createElement(a.Box,u({flexDirection:r},o),t.map((e,t)=>{const{name:n}=e.props;return i.default.createElement(a.Box,{key:n,flexDirection:r},0!==t&&i.default.createElement(a.Color,{dim:!0},f),i.default.createElement(a.Box,null,i.default.createElement(a.Color,{keyword:"grey"},t+1,". "),i.default.createElement(a.Color,{bgGreen:l===t,black:l===t},e)))}))}}f.defaultProps={flexDirection:"row",keyMap:null},f.propTypes={setRawMode:o.default.func.isRequired,stdin:o.default.object.isRequired,onChange:o.default.func.isRequired,children:o.default.node.isRequired,flexDirection:o.default.string,keyMap:o.default.shape({useNumbers:o.default.bool,useTab:o.default.bool,previous:o.default.arrayOf(o.default.string),next:o.default.arrayOf(o.default.string)})}},function(e,t,n){!function(t){"use strict";var n={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}|~{3,})([^`~\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:g,table:g,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};function r(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||E.defaults,this.rules=n.normal,this.options.pedantic?this.rules=n.pedantic:this.options.gfm&&(this.rules=n.gfm)}n._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,n._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,n.def=h(n.def).replace("label",n._label).replace("title",n._title).getRegex(),n.bullet=/(?:[*+-]|\d{1,9}\.)/,n.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,n.item=h(n.item,"gm").replace(/bull/g,n.bullet).getRegex(),n.list=h(n.list).replace(/bull/g,n.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+n.def.source+")").getRegex(),n._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",n._comment=//,n.html=h(n.html,"i").replace("comment",n._comment).replace("tag",n._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),n.paragraph=h(n._paragraph).replace("hr",n.hr).replace("heading"," {0,3}#{1,6} +").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}|~{3,})[^`\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",n._tag).getRegex(),n.blockquote=h(n.blockquote).replace("paragraph",n.paragraph).getRegex(),n.normal=v({},n),n.gfm=v({},n.normal,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),n.pedantic=v({},n.normal,{html:h("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",n._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:g,paragraph:h(n.normal._paragraph).replace("hr",n.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",n.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()}),r.rules=n,r.lex=function(e,t){return new r(t).lex(e)},r.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},r.prototype.token=function(e,t){var r,i,o,a,u,s,l,f,h,d,p,m,g,v,b,D;for(e=e.replace(/^ +$/gm,"");e;)if((o=this.rules.newline.exec(e))&&(e=e.substring(o[0].length),o[0].length>1&&this.tokens.push({type:"space"})),o=this.rules.code.exec(e)){var E=this.tokens[this.tokens.length-1];e=e.substring(o[0].length),E&&"paragraph"===E.type?E.text+="\n"+o[0].trimRight():(o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",codeBlockStyle:"indented",text:this.options.pedantic?o:_(o,"\n")}))}else if(o=this.rules.fences.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"code",lang:o[2]?o[2].trim():o[2],text:o[3]||""});else if(o=this.rules.heading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if((o=this.rules.nptable.exec(e))&&(s={type:"table",header:y(o[1].replace(/^ *| *\| *$/g,"")),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3]?o[3].replace(/\n$/,"").split("\n"):[]}).header.length===s.align.length){for(e=e.substring(o[0].length),p=0;p ?/gm,""),this.token(o,t),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(e)){for(e=e.substring(o[0].length),l={type:"list_start",ordered:v=(a=o[2]).length>1,start:v?+a:"",loose:!1},this.tokens.push(l),f=[],r=!1,g=(o=o[0].match(this.rules.item)).length,p=0;p1?1===u.length:u.length>1||this.options.smartLists&&u!==a)&&(e=o.slice(p+1).join("\n")+e,p=g-1)),i=r||/\n\n(?!\s*$)/.test(s),p!==g-1&&(r="\n"===s.charAt(s.length-1),i||(i=r)),i&&(l.loose=!0),D=void 0,(b=/^\[[ xX]\] /.test(s))&&(D=" "!==s[1],s=s.replace(/^\[[ xX]\] +/,"")),h={type:"list_item_start",task:b,checked:D,loose:i},f.push(h),this.tokens.push(h),this.token(s,!1),this.tokens.push({type:"list_item_end"});if(l.loose)for(g=f.length,p=0;p?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:g,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*<\[])\*(?!\*)|^_([^\s<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s<"][\s\S]*?[^\s\*])\*(?!\*|[^\spunctuation])|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:g,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[^_{|}~",i.em=h(i.em).replace(/punctuation/g,i._punctuation).getRegex(),i._escapes=/\\([!"#$%&'()*+,\-.\/:;<=>?@\[\]\\^_`{|}~])/g,i._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,i._email=/[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,i.autolink=h(i.autolink).replace("scheme",i._scheme).replace("email",i._email).getRegex(),i._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,i.tag=h(i.tag).replace("comment",n._comment).replace("attribute",i._attribute).getRegex(),i._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,i._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,i._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,i.link=h(i.link).replace("label",i._label).replace("href",i._href).replace("title",i._title).getRegex(),i.reflink=h(i.reflink).replace("label",i._label).getRegex(),i.normal=v({},i),i.pedantic=v({},i.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:h(/^!?\[(label)\]\((.*?)\)/).replace("label",i._label).getRegex(),reflink:h(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",i._label).getRegex()}),i.gfm=v({},i.normal,{escape:h(i.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\/i.test(a[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(a[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(a[0])&&(this.inRawBlock=!1),e=e.substring(a[0].length),s+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):c(a[0]):a[0];else if(a=this.rules.link.exec(e)){var l=b(a[2],"()");if(l>-1){var f=4+a[1].length+l;a[2]=a[2].substring(0,l),a[0]=a[0].substring(0,f).trim(),a[3]=""}e=e.substring(a[0].length),this.inLink=!0,r=a[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r))?(r=t[1],i=t[3]):i="":i=a[3]?a[3].slice(1,-1):"",r=r.trim().replace(/^<([\s\S]*)>$/,"$1"),s+=this.outputLink(a,{href:o.escapes(r),title:o.escapes(i)}),this.inLink=!1}else if((a=this.rules.reflink.exec(e))||(a=this.rules.nolink.exec(e))){if(e=e.substring(a[0].length),t=(a[2]||a[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){s+=a[0].charAt(0),e=a[0].substring(1)+e;continue}this.inLink=!0,s+=this.outputLink(a,t),this.inLink=!1}else if(a=this.rules.strong.exec(e))e=e.substring(a[0].length),s+=this.renderer.strong(this.output(a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.em.exec(e))e=e.substring(a[0].length),s+=this.renderer.em(this.output(a[6]||a[5]||a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.code.exec(e))e=e.substring(a[0].length),s+=this.renderer.codespan(c(a[2].trim(),!0));else if(a=this.rules.br.exec(e))e=e.substring(a[0].length),s+=this.renderer.br();else if(a=this.rules.del.exec(e))e=e.substring(a[0].length),s+=this.renderer.del(this.output(a[1]));else if(a=this.rules.autolink.exec(e))e=e.substring(a[0].length),r="@"===a[2]?"mailto:"+(n=c(this.mangle(a[1]))):n=c(a[1]),s+=this.renderer.link(r,null,n);else if(this.inLink||!(a=this.rules.url.exec(e))){if(a=this.rules.text.exec(e))e=e.substring(a[0].length),this.inRawBlock?s+=this.renderer.text(this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):c(a[0]):a[0]):s+=this.renderer.text(c(this.smartypants(a[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===a[2])r="mailto:"+(n=c(a[0]));else{do{u=a[0],a[0]=this.rules._backpedal.exec(a[0])[0]}while(u!==a[0]);n=c(a[0]),r="www."===a[1]?"http://"+n:n}e=e.substring(a[0].length),s+=this.renderer.link(r,null,n)}return s},o.escapes=function(e){return e?e.replace(o.rules._escapes,"$1"):e},o.prototype.outputLink=function(e,t){var n=t.href,r=t.title?c(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,c(e[1]))},o.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},o.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},a.prototype.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(n=!0,e=i)}return r?'
    '+(n?e:c(e,!0))+"
    \n":"
    "+(n?e:c(e,!0))+"
    "},a.prototype.blockquote=function(e){return"
    \n"+e+"
    \n"},a.prototype.html=function(e){return e},a.prototype.heading=function(e,t,n,r){return this.options.headerIds?"'+e+"\n":""+e+"\n"},a.prototype.hr=function(){return this.options.xhtml?"
    \n":"
    \n"},a.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},a.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},a.prototype.checkbox=function(e){return" "},a.prototype.paragraph=function(e){return"

    "+e+"

    \n"},a.prototype.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},a.prototype.tablerow=function(e){return"\n"+e+"\n"},a.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"\n"},a.prototype.strong=function(e){return""+e+""},a.prototype.em=function(e){return""+e+""},a.prototype.codespan=function(e){return""+e+""},a.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},a.prototype.del=function(e){return""+e+""},a.prototype.link=function(e,t,n){if(null===(e=d(this.options.sanitize,this.options.baseUrl,e)))return n;var r='
    "},a.prototype.image=function(e,t,n){if(null===(e=d(this.options.sanitize,this.options.baseUrl,e)))return n;var r=''+n+'":">"},a.prototype.text=function(e){return e},u.prototype.strong=u.prototype.em=u.prototype.codespan=u.prototype.del=u.prototype.text=function(e){return e},u.prototype.link=u.prototype.image=function(e,t,n){return""+n},u.prototype.br=function(){return""},s.parse=function(e,t){return new s(t).parse(e)},s.prototype.parse=function(e){this.inline=new o(e.links,this.options),this.inlineText=new o(e.links,v({},this.options,{renderer:new u})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},s.prototype.next=function(){return this.token=this.tokens.pop(),this.token},s.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},s.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},s.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,f(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",o="";for(n="",e=0;e?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do{this.seen[n]++,t=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},c.escapeTest=/[&<>"']/,c.escapeReplace=/[&<>"']/g,c.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},c.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,c.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var p={},m=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function g(){}function v(e){for(var t,n,r=1;r=0&&"\\"===n[i];)r=!r;return r?"|":" |"}).split(/ \|/),r=0;if(n.length>t)n.splice(t);else for(;n.lengthAn error occurred:

    "+c(e.message+"",!0)+"
    ";throw e}}g.exec=g,E.options=E.setOptions=function(e){return v(E.defaults,e),E},E.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new a,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,xhtml:!1}},E.defaults=E.getDefaults(),E.Parser=s,E.parser=s.parse,E.Renderer=a,E.TextRenderer=u,E.Lexer=r,E.lexer=r.lex,E.InlineLexer=o,E.inlineLexer=o.output,E.Slugger=l,E.parse=E,e.exports=E}(this||("undefined"!=typeof window?window:global))},function(e,t,n){var r=n(14),i=n(51),o=n(5),a=n(52),u=Object.defineProperty;t.f=r?u:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports={}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){var r={};e.exports=r,r.themes={};var i=r.styles=n(189),o=Object.defineProperties;r.supportsColor=n(190),void 0===r.enabled&&(r.enabled=r.supportsColor),r.stripColors=r.strip=function(e){return(""+e).replace(/\x1B\[\d+m/g,"")};r.stylize=function(e,t){return i[t].open+e+i[t].close};var a=/[|\\{}()[\]^$+*?.]/g;function u(e){var t=function e(){return f.apply(e,arguments)};return t._styles=e,t.__proto__=c,t}var s,l=(s={},i.grey=i.gray,Object.keys(i).forEach(function(e){i[e].closeRe=new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(a,"\\$&")}(i[e].close),"g"),s[e]={get:function(){return u(this._styles.concat(e))}}}),s),c=o(function(){},l);function f(){var e=arguments,t=e.length,n=0!==t&&String(arguments[0]);if(t>1)for(var o=1;o0?r:n)(e)}},function(e,t,n){var r=n(57),i=n(2),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},function(e,t,n){var r=n(2),i=n(24),o=n(8),a=n(9),u=n(31),s=n(58),l=n(38),c=l.get,f=l.enforce,h=String(s).split("toString");i("inspectSource",function(e){return s.call(e)}),(e.exports=function(e,t,n,i){var s=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||a(n,"name")||o(n,"name",t),f(n).source=h.join("string"==typeof t?t:"")),e!==r?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=n:o(e,t,n)):l?e[t]=n:u(t,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&c(this).source||s.call(this)})},function(e,t){e.exports=require("url")},function(e,t,n){"use strict";var r=n(22),i=n(100),o=n(18),a=n(38),u=n(107),s=a.set,l=a.getterFor("Array Iterator");e.exports=u(Array,"Array",function(e,t){s(this,{type:"Array Iterator",target:r(e),index:0,kind:t})},function(){var e=l(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t,n){var r=n(2),i=n(8);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(2),i=n(11),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(26),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t){e.exports={}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){var r=n(24),i=n(53),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},function(e,t,n){var r,i,o,a=n(106),u=n(2),s=n(11),l=n(8),c=n(9),f=n(37),h=n(35),d=u.WeakMap;if(a){var p=new d,m=p.get,g=p.has,v=p.set;r=function(e,t){return v.call(p,e,t),t},i=function(e){return m.call(p,e)||{}},o=function(e){return g.call(p,e)}}else{var y=f("state");h[y]=!0,r=function(e,t){return l(e,y,t),t},i=function(e){return c(e,y)?e[y]:{}},o=function(e){return c(e,y)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(2),i=n(40).f,o=n(8),a=n(28),u=n(31),s=n(109),l=n(59);e.exports=function(e,t){var n,c,f,h,d,p=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[p]||u(p,{}):(r[p]||{}).prototype)for(c in t){if(h=t[c],f=e.noTargetGet?(d=i(n,c))&&d.value:n[c],!l(m?c:p+(g?".":"#")+c,e.forced)&&void 0!==f){if(typeof h==typeof f)continue;s(h,f)}(e.sham||f&&f.sham)&&o(h,"sham",!0),a(n,c,h,e)}}},function(e,t,n){var r=n(14),i=n(108),o=n(33),a=n(22),u=n(52),s=n(9),l=n(51),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=u(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return o(!i.f.call(e,t),e[t])}},function(e,t,n){var r=n(23);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(17).f,i=n(9),o=n(3)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){"use strict";e.exports=e=>!Number.isNaN(e)&&(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createTextNode=t.setAttribute=t.removeChildNode=t.insertBeforeNode=t.appendStaticNode=t.appendChildNode=t.createNode=void 0;t.createNode=e=>({nodeName:e.toUpperCase(),style:{},attributes:{},childNodes:[],parentNode:null});t.appendChildNode=(e,t)=>{t.parentNode&&r(t.parentNode,t),t.parentNode=e,e.childNodes.push(t)};t.appendStaticNode=(e,t)=>{e.childNodes.push(t)};t.insertBeforeNode=(e,t,n)=>{t.parentNode&&r(t.parentNode,t),t.parentNode=e;const i=e.childNodes.indexOf(n);i>=0?e.childNodes.splice(i,0,t):e.childNodes.push(t)};const r=(e,t)=>{t.parentNode=null;const n=e.childNodes.indexOf(t);n>=0&&e.childNodes.splice(n,1)};t.removeChildNode=r;t.setAttribute=(e,t,n)=>{e.attributes[t]=n};t.createTextNode=e=>({nodeName:"#text",nodeValue:e})},function(e,t,n){"use strict";var r=n(144),i=n(146),o=!1,a=null;if(i({},function(e,t){if(!o){if(o=!0,e)throw e;a=t}}),!o)throw new Error("Failed to load the yoga module - it needed to be loaded synchronously, but didn't");e.exports=r(a.bind,a.lib)},function(e,t,n){"use strict";const r=n(164),i=n(68),o=n(165).stdout,a=n(167),u="win32"===process.platform&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),s=["ansi","ansi","ansi256","ansi16m"],l=new Set(["gray"]),c=Object.create(null);function f(e,t){t=t||{};const n=o?o.level:0;e.level=void 0===t.level?n:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function h(e){if(!this||!(this instanceof h)||this.template){const t={};return f(t,e),t.template=function(){const e=[].slice.call(arguments);return g.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,h.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=h,t.template}f(this,e)}u&&(i.blue.open="");for(const e of Object.keys(i))i[e].closeRe=new RegExp(r(i[e].close),"g"),c[e]={get(){const t=i[e];return p.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};c.visible={get(){return p.call(this,this._styles||[],!0,"visible")}},i.color.closeRe=new RegExp(r(i.color.close),"g");for(const e of Object.keys(i.color.ansi))l.has(e)||(c[e]={get(){const t=this.level;return function(){const n=i.color[s[t]][e].apply(null,arguments),r={open:n,close:i.color.close,closeRe:i.color.closeRe};return p.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}});i.bgColor.closeRe=new RegExp(r(i.bgColor.close),"g");for(const e of Object.keys(i.bgColor.ansi)){if(l.has(e))continue;c["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const t=this.level;return function(){const n=i.bgColor[s[t]][e].apply(null,arguments),r={open:n,close:i.bgColor.close,closeRe:i.bgColor.closeRe};return p.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}}}const d=Object.defineProperties(()=>{},c);function p(e,t,n){const r=function(){return m.apply(r,arguments)};r._styles=e,r._empty=t;const i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>i.level,set(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>i.enabled,set(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=d,r}function m(){const e=arguments,t=e.length;let n=String(arguments[0]);if(0===t)return"";if(t>1)for(let r=1;rdocument.F=Object<\/script>"),e.close(),f=e.F;n--;)delete f.prototype[o[n]];return f()};e.exports=Object.create||function(e,t){var n;return null!==e?(c.prototype=r(e),n=new c,c.prototype=null,n[l]=e):n=f(),void 0===t?n:i(n,t)},a[l]=!0},function(e,t,n){var r=n(9),i=n(22),o=n(104).indexOf,a=n(35);e.exports=function(e,t){var n,u=i(e),s=0,l=[];for(n in u)!r(a,n)&&r(u,n)&&l.push(n);for(;t.length>s;)r(u,n=t[s++])&&(~o(l,n)||l.push(n));return l}},function(e,t,n){var r=n(27);e.exports=r("document","documentElement")},function(e,t,n){e.exports=n(2)},function(e,t,n){var r=n(24);e.exports=r("native-function-to-string",Function.toString)},function(e,t,n){var r=n(7),i=/#|\.prototype\./,o=function(e,t){var n=u[a(e)];return n==l||n!=s&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},u=o.data={},s=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},function(e,t,n){"use strict";var r,i,o,a=n(61),u=n(8),s=n(9),l=n(3),c=n(25),f=l("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):h=!0),null==r&&(r={}),c||s(r,f)||u(r,f,function(){return this}),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},function(e,t,n){var r=n(9),i=n(41),o=n(37),a=n(114),u=o("IE_PROTO"),s=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),r(e,u)?e[u]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t,n){"use strict"; /* object-assign (c) Sindre Sorhus @license MIT -*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,u,s=a(e),l=1;l{const t=e||process.stderr;t.isTTY&&(i=!1,t.write("[?25h"))},t.hide=e=>{const t=e||process.stderr;t.isTTY&&(r(),i=!0,t.write("[?25l"))},t.toggle=(e,n)=>{void 0!==e&&(i=e),i?t.show(n):t.hide(n)}},function(e,t,n){var r,i=n(128),o=n(129),a=n(130);function u(){c&&(c=!1,o.forEach(function(e){try{process.removeListener(e,l[e])}catch(e){}}),process.emit=p,process.reallyExit=d,r.count-=1)}function s(e,t,n){r.emitted[e]||(r.emitted[e]=!0,r.emit(e,t,n))}"function"!=typeof a&&(a=a.EventEmitter),process.__signal_exit_emitter__?r=process.__signal_exit_emitter__:((r=process.__signal_exit_emitter__=new a).count=0,r.emitted={}),r.infinite||(r.setMaxListeners(1/0),r.infinite=!0),e.exports=function(e,t){i.equal(typeof e,"function","a callback must be provided for exit handler"),!1===c&&f();var n="exit";t&&t.alwaysLast&&(n="afterexit");return r.on(n,e),function(){r.removeListener(n,e),0===r.listeners("exit").length&&0===r.listeners("afterexit").length&&u()}},e.exports.unload=u;var l={};o.forEach(function(e){l[e]=function(){process.listeners(e).length===r.count&&(u(),s("exit",null,e),s("afterexit",null,e),process.kill(process.pid,e))}}),e.exports.signals=function(){return o},e.exports.load=f;var c=!1;function f(){c||(c=!0,r.count+=1,o=o.filter(function(e){try{return process.on(e,l[e]),!0}catch(e){return!1}}),process.emit=m,process.reallyExit=h)}var d=process.reallyExit;function h(e){process.exitCode=e||0,s("exit",process.exitCode,null),s("afterexit",process.exitCode,null),d.call(process,process.exitCode)}var p=process.emit;function m(e,t){if("exit"===e){void 0!==t&&(process.exitCode=t);var n=p.apply(this,arguments);return s("exit",process.exitCode,null),s("afterexit",process.exitCode,null),n}return p.apply(this,arguments)}},function(e,t,n){"use strict";const r=n(131),i=n(65),o=n(66),a=new Set(["","›"]),u=e=>`${a.values().next().value}[${e}m`,s=(e,t,n)=>{const o=[...t];let u=!1,s=r(i(e[e.length-1]));for(const[t,i]of o.entries()){const l=r(i);if(s+l<=n?e[e.length-1]+=i:(e.push(i),s=0),a.has(i))u=!0;else if(u&&"m"===i){u=!1;continue}u||(s+=l)===n&&t0&&e.length>1&&(e[e.length-2]+=e.pop())},l=e=>{const t=e.split(" ");let n=t.length;for(;n>0&&!(r(t[n-1])>0);)n--;return n===t.length?e:t.slice(0,n).join(" ")+t.slice(n).join("")},c=(e,t,n={})=>{if(!1!==n.trim&&""===e.trim())return"";let i,c="",f="";const d=(e=>e.split(" ").map(e=>r(e)))(e);let h=[""];for(const[i,o]of e.split(" ").entries()){!1!==n.trim&&(h[h.length-1]=h[h.length-1].trimLeft());let e=r(h[h.length-1]);if(0!==i&&(e>=t&&(!1===n.wordWrap||!1===n.trim)&&(h.push(""),e=0),(e>0||!1===n.trim)&&(h[h.length-1]+=" ",e++)),n.hard&&d[i]>t){const n=t-e,r=1+Math.floor((d[i]-n-1)/t);Math.floor((d[i]-1)/t)t&&e>0&&d[i]>0){if(!1===n.wordWrap&&et&&!1===n.wordWrap?s(h,o,t):h[h.length-1]+=o}}!1!==n.trim&&(h=h.map(l)),c=h.join("\n");for(const[e,t]of[...c].entries()){if(f+=t,a.has(t)){const t=parseFloat(/\d[^m]*/.exec(c.slice(e,e+4)));i=39===t?null:t}const n=o.codes.get(Number(i));i&&n&&("\n"===c[e+1]?f+=u(n):"\n"===t&&(f+=u(i)))}return f};e.exports=(e,t,n)=>String(e).normalize().split("\n").map(e=>c(e,t,n)).join("\n")},function(e,t,n){"use strict";const r=n(132),i=e=>"string"==typeof e?e.replace(r(),""):e;e.exports=i,e.exports.default=i},function(e,t,n){"use strict";(function(e){const t=n(134),r=(e,n)=>(function(){const r=e.apply(t,arguments);return`[${r+n}m`}),i=(e,n)=>(function(){const r=e.apply(t,arguments);return`[${38+n};5;${r}m`}),o=(e,n)=>(function(){const r=e.apply(t,arguments);return`[${38+n};2;${r[0]};${r[1]};${r[2]}m`});Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,n={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};n.color.grey=n.color.gray;for(const t of Object.keys(n)){const r=n[t];for(const t of Object.keys(r)){const i=r[t];n[t]={open:`[${i[0]}m`,close:`[${i[1]}m`},r[t]=n[t],e.set(i[0],i[1])}Object.defineProperty(n,t,{value:r,enumerable:!1}),Object.defineProperty(n,"codes",{value:e,enumerable:!1})}const a=e=>e,u=(e,t,n)=>[e,t,n];n.color.close="",n.bgColor.close="",n.color.ansi={ansi:r(a,0)},n.color.ansi256={ansi256:i(a,0)},n.color.ansi16m={rgb:o(u,0)},n.bgColor.ansi={ansi:r(a,10)},n.bgColor.ansi256={ansi256:i(a,10)},n.bgColor.ansi16m={rgb:o(u,10)};for(let e of Object.keys(t)){if("object"!=typeof t[e])continue;const a=t[e];"ansi16"===e&&(e="ansi"),"ansi16"in a&&(n.color.ansi[e]=r(a.ansi16,0),n.bgColor.ansi[e]=r(a.ansi16,10)),"ansi256"in a&&(n.color.ansi256[e]=i(a.ansi256,0),n.bgColor.ansi256[e]=i(a.ansi256,10)),"rgb"in a&&(n.color.ansi16m[e]=o(a.rgb,0),n.bgColor.ansi16m[e]=o(a.rgb,10))}return n}})}).call(this,n(67)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(135),i={};for(var o in r)r.hasOwnProperty(o)&&(i[r[o]]=o);var a=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var u in a)if(a.hasOwnProperty(u)){if(!("channels"in a[u]))throw new Error("missing channels property: "+u);if(!("labels"in a[u]))throw new Error("missing channel labels property: "+u);if(a[u].labels.length!==a[u].channels)throw new Error("channel and label counts mismatch: "+u);var s=a[u].channels,l=a[u].labels;delete a[u].channels,delete a[u].labels,Object.defineProperty(a[u],"channels",{value:s}),Object.defineProperty(a[u],"labels",{value:l})}a.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),u=Math.max(r,i,o),s=u-a;return u===a?t=0:r===u?t=(i-o)/s:i===u?t=2+(o-r)/s:o===u&&(t=4+(r-i)/s),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+u)/2,[t,100*(u===a?0:n<=.5?s/(u+a):s/(2-u-a)),100*n]},a.rgb.hsv=function(e){var t,n,r,i,o,a=e[0]/255,u=e[1]/255,s=e[2]/255,l=Math.max(a,u,s),c=l-Math.min(a,u,s),f=function(e){return(l-e)/6/c+.5};return 0===c?i=o=0:(o=c/l,t=f(a),n=f(u),r=f(s),a===l?i=r-n:u===l?i=1/3+t-r:s===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*l]},a.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[a.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,r))),100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},a.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},a.rgb.keyword=function(e){var t=i[e];if(t)return t;var n,o,a,u=1/0;for(var s in r)if(r.hasOwnProperty(s)){var l=r[s],c=(o=e,a=l,Math.pow(o[0]-a[0],2)+Math.pow(o[1]-a[1],2)+Math.pow(o[2]-a[2],2));c.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},a.rgb.lab=function(e){var t=a.rgb.xyz(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},a.hsl.rgb=function(e){var t,n,r,i,o,a=e[0]/360,u=e[1]/100,s=e[2]/100;if(0===u)return[o=255*s,o,o];t=2*s-(n=s<.5?s*(1+u):s+u-s*u),i=[0,0,0];for(var l=0;l<3;l++)(r=a+1/3*-(l-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*o;return i},a.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),100*((r+n)/2)]},a.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),u=255*r*(1-n*o),s=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,s,a];case 1:return[u,r,a];case 2:return[a,r,s];case 3:return[a,u,r];case 4:return[s,a,r];case 5:return[r,a,u]}},a.hsv.hsl=function(e){var t,n,r,i=e[0],o=e[1]/100,a=e[2]/100,u=Math.max(a,.01);return r=(2-o)*a,n=o*u,[i,100*(n=(n/=(t=(2-o)*u)<=1?t:2-t)||0),100*(r/=2)]},a.hwb.rgb=function(e){var t,n,r,i,o,a,u,s=e[0]/360,l=e[1]/100,c=e[2]/100,f=l+c;switch(f>1&&(l/=f,c/=f),r=6*s-(t=Math.floor(6*s)),0!=(1&t)&&(r=1-r),i=l+r*((n=1-c)-l),t){default:case 6:case 0:o=n,a=i,u=l;break;case 1:o=i,a=n,u=l;break;case 2:o=l,a=n,u=i;break;case 3:o=l,a=i,u=n;break;case 4:o=i,a=l,u=n;break;case 5:o=n,a=l,u=i}return[255*o,255*a,255*u]},a.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},a.xyz.rgb=function(e){var t,n,r,i=e[0]/100,o=e[1]/100,a=e[2]/100;return n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,t=(t=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},a.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},a.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),a=Math.pow(t,3),u=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=u>.008856?u:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},a.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},a.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},a.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],i=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var o=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(o+=60),o},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},a.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},a.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map(function(e){return e+e}).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},a.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,o=Math.max(Math.max(n,r),i),a=Math.min(Math.min(n,r),i),u=o-a;return t=u<=0?0:o===n?(r-i)/u%6:o===r?2+(i-n)/u:4+(n-r)/u+4,t/=6,[360*(t%=1),100*u,100*(u<1?a/(1-u):0)]},a.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},a.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},a.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,o=[0,0,0],a=t%1*6,u=a%1,s=1-u;switch(Math.floor(a)){case 0:o[0]=1,o[1]=u,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=u;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=u,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return i=(1-n)*r,[255*(n*o[0]+i),255*(n*o[1]+i),255*(n*o[2]+i)]},a.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},a.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},a.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},a.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},function(e,t,n){"use strict";e.exports=n(141)},function(e,t,n){"use strict";const r=n(43),i=["","›"],o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/,a=new Map([[0,0],[1,22],[2,22],[3,23],[4,24],[7,27],[8,28],[9,29],[30,39],[31,39],[32,39],[33,39],[34,39],[35,39],[36,39],[37,39],[90,39],[40,49],[41,49],[42,49],[43,49],[44,49],[45,49],[46,49],[47,49]]),u=e=>`${i[0]}[${e}m`;e.exports=(e,t,n)=>{const s=Array.from(e.normalize());n="number"==typeof n?n:s.length;let l,c=!1,f=0,d="";for(const h of s.entries()){const s=h[0],p=h[1];let m=!1;if(-1!==i.indexOf(p)){c=!0;const t=/\d[^m]*/.exec(e.slice(s,s+4));l=39===t?null:t}else c&&"m"===p&&(c=!1,m=!0);if(c||m||++f,!o.test(p)&&r(p.codePointAt())&&++f,f>t&&f<=n)d+=p;else if(f!==t||c||void 0===l||39===l){if(f>=n){void 0!==l&&(d+=u(a.get(parseInt(l,10))||39));break}}else d+=u(l)}return d}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(72))&&r.__esModule?r:{default:r};t.default=e=>{return{width:(0,i.default)(e),height:e.split("\n").length}}},function(e,t,n){"use strict";const r=n(73);e.exports=e=>{let t=0;for(const n of e.split("\n"))t=Math.max(t,r(n));return t}},function(e,t,n){"use strict";const r=n(155),i=n(43);e.exports=e=>{if("string"!=typeof e||0===e.length)return 0;e=r(e);let t=0;for(let n=0;n=127&&r<=159||(r>=768&&r<=879||(r>65535&&n++,t+=i(r)?2:1))}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(64)),i=o(n(158));function o(e){return e&&e.__esModule?e:{default:e}}t.default=(e,t,{textWrap:n}={})=>{if("wrap"===n)return(0,r.default)(e,t,{trim:!1,hard:!0});if(String(n).startsWith("truncate")){let r;return"truncate"!==n&&"truncate-end"!==n||(r="end"),"truncate-middle"===n&&(r="middle"),"truncate-start"===n&&(r="start"),(0,i.default)(e,t,{position:r})}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=e=>e.getComputedWidth()-2*e.getComputedPadding()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=new WeakMap;t.default=r},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=((r=n(0))&&r.__esModule?r:{default:r}).default.createContext({exit(){}});t.default=i},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=((r=n(0))&&r.__esModule?r:{default:r}).default.createContext({stdin:void 0,setRawMode:void 0});t.default=i},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=((r=n(0))&&r.__esModule?r:{default:r}).default.createContext({stdout:void 0});t.default=i},function(e,t,n){"use strict";const r=n(81),i=n(66),o=n(165).stdout,a=n(168),u="win32"===process.platform&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),s=["ansi","ansi","ansi256","ansi16m"],l=new Set(["gray"]),c=Object.create(null);function f(e,t){t=t||{};const n=o?o.level:0;e.level=void 0===t.level?n:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function d(e){if(!this||!(this instanceof d)||this.template){const t={};return f(t,e),t.template=function(){const e=[].slice.call(arguments);return g.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,d.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=d,t.template}f(this,e)}u&&(i.blue.open="");for(const e of Object.keys(i))i[e].closeRe=new RegExp(r(i[e].close),"g"),c[e]={get(){const t=i[e];return p.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};c.visible={get(){return p.call(this,this._styles||[],!0,"visible")}},i.color.closeRe=new RegExp(r(i.color.close),"g");for(const e of Object.keys(i.color.ansi))l.has(e)||(c[e]={get(){const t=this.level;return function(){const n=i.color[s[t]][e].apply(null,arguments),r={open:n,close:i.color.close,closeRe:i.color.closeRe};return p.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}});i.bgColor.closeRe=new RegExp(r(i.bgColor.close),"g");for(const e of Object.keys(i.bgColor.ansi)){if(l.has(e))continue;c["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const t=this.level;return function(){const n=i.bgColor[s[t]][e].apply(null,arguments),r={open:n,close:i.bgColor.close,closeRe:i.bgColor.closeRe};return p.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}}}const h=Object.defineProperties(()=>{},c);function p(e,t,n){const r=function(){return m.apply(r,arguments)};r._styles=e,r._empty=t;const i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>i.level,set(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>i.enabled,set(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=h,r}function m(){const e=arguments,t=e.length;let n=String(arguments[0]);if(0===t)return"";if(t>1)for(let r=1;ra;){var u,s,l,c=r[a++],f=o?c.ok:c.fail,d=c.resolve,h=c.reject,p=c.domain;try{f?(o||(2===t.rejection&&Q(e,t),t.rejection=1),!0===f?u=i:(p&&p.enter(),u=f(i),p&&(p.exit(),l=!0)),u===c.promise?h(O("Promise-chain cycle")):(s=q(u))?s.call(u,d,h):d(u)):h(i)}catch(e){p&&!l&&p.exit(),h(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&Y(e,t)})}},V=function(e,t,n){var r,i;X?((r=R.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),s.dispatchEvent(r)):r={promise:t,reason:n},(i=s["on"+e])?i(r):"unhandledrejection"===e&&w("Unhandled promise rejection",n)},Y=function(e,t){b.call(s,function(){var n,r=t.value;if(K(t)&&(n=k(function(){H?I.emit("unhandledRejection",r,e):V("unhandledrejection",e,r)}),t.rejection=H||K(t)?2:1,n.error))throw n.value})},K=function(e){return 1!==e.rejection&&!e.parent},Q=function(e,t){b.call(s,function(){H?I.emit("rejectionHandled",e):V("rejectionhandled",e,t.value)})},Z=function(e,t,n,r){return function(i){e(t,n,i,r)}},ee=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,$(e,t,!0))},te=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw O("Promise can't be resolved itself");var i=q(n);i?D(function(){var r={done:!1};try{i.call(n,Z(te,e,r,t),Z(ee,e,r,t))}catch(n){ee(e,r,n,t)}}):(t.value=n,t.state=1,$(e,t,!1))}catch(n){ee(e,{done:!1},n,t)}}};J&&(N=function(e){m(this,N,F),p(e),r.call(this);var t=M(this);try{e(Z(te,this,t),Z(ee,this,t))}catch(e){ee(this,t,e)}},(r=function(e){B(this,{type:F,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=c(N.prototype,{then:function(e,t){var n=P(this),r=z(_(this,N));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=H?I.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&$(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r,t=M(e);this.promise=e,this.resolve=Z(te,e,t),this.reject=Z(ee,e,t)},E.f=z=function(e){return e===N||e===o?new i(e):W(e)},u||"function"!=typeof L||a({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return x(N,L.apply(s,arguments))}})),a({global:!0,wrap:!0,forced:J},{Promise:N}),f(N,F,!1,!0),d(F),o=l.Promise,a({target:F,stat:!0,forced:J},{reject:function(e){var t=z(this);return t.reject.call(void 0,e),t.promise}}),a({target:F,stat:!0,forced:u||J},{resolve:function(e){return x(u&&this===o?N:this,e)}}),a({target:F,stat:!0,forced:G},{all:function(e){var t=this,n=z(t),r=n.resolve,i=n.reject,o=k(function(){var n=p(t.resolve),o=[],a=0,u=1;v(e,function(e){var s=a++,l=!1;o.push(void 0),u++,n.call(t,e).then(function(e){l||(l=!0,o[s]=e,--u||r(o))},i)}),--u||r(o)});return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=z(t),r=n.reject,i=k(function(){var i=p(t.resolve);v(e,function(e){i.call(t,e).then(n.resolve,r)})});return i.error&&r(i.value),n.promise}})},function(e,t,n){var r=n(19);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};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,i,o,a=n(2),u=n(7),s=n(13),l=n(83),c=n(55),f=n(32),d=a.location,h=a.setImmediate,p=a.clearImmediate,m=a.process,g=a.MessageChannel,v=a.Dispatch,y=0,_={},b=function(e){if(_.hasOwnProperty(e)){var t=_[e];delete _[e],t()}},D=function(e){return function(){b(e)}},x=function(e){b(e.data)},w=function(e){a.postMessage(e+"",d.protocol+"//"+d.host)};h&&p||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return _[++y]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(y),y},p=function(e){delete _[e]},"process"==s(m)?r=function(e){m.nextTick(D(e))}:v&&v.now?r=function(e){v.now(D(e))}:g?(o=(i=new g).port2,i.port1.onmessage=x,r=l(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||u(w)?r="onreadystatechange"in f("script")?function(e){c.appendChild(f("script")).onreadystatechange=function(){c.removeChild(this),b(e)}}:function(e){setTimeout(D(e),0)}:(r=w,a.addEventListener("message",x,!1))),e.exports={set:h,clear:p}},function(e,t,n){var r=n(27);e.exports=r("navigator","userAgent")||""},function(e,t,n){"use strict";var r=n(19),i=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},function(e,t,n){"use strict";e.exports=function(){return/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g}},function(e,t,n){var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";var r=n(1),i=n(3),o=n(11),a=n(15);t.parse=function(e,t,n){var a,u=null,s=function(e,t){n&&n(e,t),u&&u.visit(e,t)},l="function"==typeof n?s:null;if(t){var c="boolean"==typeof t.comment&&t.comment,f="boolean"==typeof t.attachComment&&t.attachComment;(c||f)&&((u=new r.CommentHandler).attach=f,t.comment=!0,l=s)}var d=(a=t&&"boolean"==typeof t.jsx&&t.jsx?new o.JSXParser(e,t,l):new i.Parser(e,t,l)).parseProgram();return a.config.comment&&(d.comments=u.comments),a.config.tokens&&(d.tokens=a.tokens),a.config.tolerant&&(d.errors=a.errorHandler.errors),d},t.tokenize=function(e,t,n){var r,i=new a.Tokenizer(e,t);r=[];try{for(;;){var o=i.getNextToken();if(!o)break;n&&(o=n(o)),r.push(o)}}catch(e){i.errorHandler.tolerate(e)}return i.errorHandler.tolerant&&(r.errors=i.errors()),r};var u=n(2);t.Syntax=u.Syntax,t.version="3.0.0"},function(e,t,n){"use strict";var r=n(2),i=function(){function e(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return e.prototype.insertInnerComments=function(e,t){if(e.type===r.Syntax.BlockStatement&&0===e.body.length){for(var n=[],i=this.leading.length-1;i>=0;--i){var o=this.leading[i];t.end.offset>=o.start&&(n.unshift(o.comment),this.leading.splice(i,1),this.trailing.splice(i,1))}n.length&&(e.innerComments=n)}},e.prototype.findTrailingComments=function(e,t){var n=[];if(this.trailing.length>0){for(var r=this.trailing.length-1;r>=0;--r){var i=this.trailing[r];i.start>=t.end.offset&&n.unshift(i.comment)}return this.trailing.length=0,n}var o=this.stack[this.stack.length-1];if(o&&o.node.trailingComments){var a=o.node.trailingComments[0];a&&a.range[0]>=t.end.offset&&(n=o.node.trailingComments,delete o.node.trailingComments)}return n},e.prototype.findLeadingComments=function(e,t){for(var n,r=[];this.stack.length>0;){if(!((a=this.stack[this.stack.length-1])&&a.start>=t.start.offset))break;n=this.stack.pop().node}if(n){for(var i=(n.leadingComments?n.leadingComments.length:0)-1;i>=0;--i){var o=n.leadingComments[i];o.range[1]<=t.start.offset&&(r.unshift(o),n.leadingComments.splice(i,1))}return n.leadingComments&&0===n.leadingComments.length&&delete n.leadingComments,r}for(i=this.leading.length-1;i>=0;--i){var a;(a=this.leading[i]).start<=t.start.offset&&(r.unshift(a.comment),this.leading.splice(i,1))}return r},e.prototype.visitNode=function(e,t){if(!(e.type===r.Syntax.Program&&e.body.length>0)){this.insertInnerComments(e,t);var n=this.findTrailingComments(e,t),i=this.findLeadingComments(e,t);i.length>0&&(e.leadingComments=i),n.length>0&&(e.trailingComments=n),this.stack.push({node:e,start:t.start.offset})}},e.prototype.visitComment=function(e,t){var n="L"===e.type[0]?"Line":"Block",r={type:n,value:e.value};if(e.range&&(r.range=e.range),e.loc&&(r.loc=e.loc),this.comments.push(r),this.attach){var i={comment:{type:n,value:e.value,range:[t.start.offset,t.end.offset]},start:t.start.offset};e.loc&&(i.comment.loc=e.loc),e.type=n,this.leading.push(i),this.trailing.push(i)}},e.prototype.visit=function(e,t){"LineComment"===e.type?this.visitComment(e,t):"BlockComment"===e.type?this.visitComment(e,t):this.attach&&this.visitNode(e,t)},e}();t.CommentHandler=i},function(e,t){"use strict";t.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(e,t,n){"use strict";var r=n(4),i=n(5),o=n(6),a=n(7),u=n(8),s=n(2),l=n(10),c=function(){function e(e,t,n){void 0===t&&(t={}),this.config={range:"boolean"==typeof t.range&&t.range,loc:"boolean"==typeof t.loc&&t.loc,source:null,tokens:"boolean"==typeof t.tokens&&t.tokens,comment:"boolean"==typeof t.comment&&t.comment,tolerant:"boolean"==typeof t.tolerant&&t.tolerant},this.config.loc&&t.source&&null!==t.source&&(this.config.source=String(t.source)),this.delegate=n,this.errorHandler=new o.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new u.Scanner(e,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.sourceType=t&&"module"===t.sourceType?"module":"script",this.lookahead=null,this.hasLineTerminator=!1,this.context={allowIn:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:"module"===this.sourceType},this.tokens=[],this.startMarker={index:0,lineNumber:this.scanner.lineNumber,lineStart:0},this.lastMarker={index:0,lineNumber:this.scanner.lineNumber,lineStart:0},this.nextToken(),this.lastMarker={index:this.scanner.index,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart}}return e.prototype.throwError=function(e){for(var t=[],n=1;n0&&this.delegate)for(var t=0;t>="===e||">>>="===e||"&="===e||"^="===e||"|="===e},e.prototype.isolateCoverGrammar=function(e){var t=this.context.isBindingElement,n=this.context.isAssignmentTarget,r=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var i=e.call(this);return null!==this.context.firstCoverInitializedNameError&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=t,this.context.isAssignmentTarget=n,this.context.firstCoverInitializedNameError=r,i},e.prototype.inheritCoverGrammar=function(e){var t=this.context.isBindingElement,n=this.context.isAssignmentTarget,r=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var i=e.call(this);return this.context.isBindingElement=this.context.isBindingElement&&t,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&n,this.context.firstCoverInitializedNameError=r||this.context.firstCoverInitializedNameError,i},e.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===a.Token.EOF||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.lineNumber=this.startMarker.lineNumber,this.lastMarker.lineStart=this.startMarker.lineStart)},e.prototype.parsePrimaryExpression=function(){var e,t,n,r=this.createNode();switch(this.lookahead.type){case a.Token.Identifier:"module"===this.sourceType&&"await"===this.lookahead.value&&this.tolerateUnexpectedToken(this.lookahead),e=this.finalize(r,new l.Identifier(this.nextToken().value));break;case a.Token.NumericLiteral:case a.Token.StringLiteral:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,i.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,t=this.nextToken(),n=this.getTokenRaw(t),e=this.finalize(r,new l.Literal(t.value,n));break;case a.Token.BooleanLiteral:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,(t=this.nextToken()).value="true"===t.value,n=this.getTokenRaw(t),e=this.finalize(r,new l.Literal(t.value,n));break;case a.Token.NullLiteral:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,(t=this.nextToken()).value=null,n=this.getTokenRaw(t),e=this.finalize(r,new l.Literal(t.value,n));break;case a.Token.Template:e=this.parseTemplateLiteral();break;case a.Token.Punctuator:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,e=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":e=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":e=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,t=this.nextRegexToken(),n=this.getTokenRaw(t),e=this.finalize(r,new l.RegexLiteral(t.value,n,t.regex));break;default:this.throwUnexpectedToken(this.nextToken())}break;case a.Token.Keyword:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?e=this.parseNonComputedProperty():!this.context.strict&&this.matchKeyword("let")?e=this.finalize(r,new l.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?e=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),e=this.finalize(r,new l.ThisExpression)):this.matchKeyword("class")?e=this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:this.throwUnexpectedToken(this.nextToken())}return e},e.prototype.parseSpreadElement=function(){var e=this.createNode();this.expect("...");var t=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(e,new l.SpreadElement(t))},e.prototype.parseArrayInitializer=function(){var e=this.createNode(),t=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),t.push(null);else if(this.match("...")){var n=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),t.push(n)}else t.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(e,new l.ArrayExpression(t))},e.prototype.parsePropertyMethod=function(e){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var t=this.context.strict,n=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&e.firstRestricted&&this.tolerateUnexpectedToken(e.firstRestricted,e.message),this.context.strict&&e.stricted&&this.tolerateUnexpectedToken(e.stricted,e.message),this.context.strict=t,n},e.prototype.parsePropertyMethodFunction=function(){var e=this.createNode(),t=this.context.allowYield;this.context.allowYield=!1;var n=this.parseFormalParameters(),r=this.parsePropertyMethod(n);return this.context.allowYield=t,this.finalize(e,new l.FunctionExpression(null,n.params,r,!1))},e.prototype.parseObjectPropertyKey=function(){var e=this.createNode(),t=this.nextToken(),n=null;switch(t.type){case a.Token.StringLiteral:case a.Token.NumericLiteral:this.context.strict&&t.octal&&this.tolerateUnexpectedToken(t,i.Messages.StrictOctalLiteral);var r=this.getTokenRaw(t);n=this.finalize(e,new l.Literal(t.value,r));break;case a.Token.Identifier:case a.Token.BooleanLiteral:case a.Token.NullLiteral:case a.Token.Keyword:n=this.finalize(e,new l.Identifier(t.value));break;case a.Token.Punctuator:"["===t.value?(n=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):this.throwUnexpectedToken(t);break;default:this.throwUnexpectedToken(t)}return n},e.prototype.isPropertyKey=function(e,t){return e.type===s.Syntax.Identifier&&e.name===t||e.type===s.Syntax.Literal&&e.value===t},e.prototype.checkDuplicatedProto=function(e,t){this.isPropertyKey(e,"__proto__")&&(t.value?this.tolerateError(i.Messages.DuplicateProtoProperty):t.value=!0)},e.prototype.parseObjectProperty=function(e){var t,n,r,i=this.createNode(),o=this.lookahead,u=!1,s=!1,c=!1;o.type===a.Token.Identifier?(this.nextToken(),n=this.finalize(i,new l.Identifier(o.value))):this.match("*")?this.nextToken():(u=this.match("["),n=this.parseObjectPropertyKey());var f=this.qualifiedPropertyName(this.lookahead);if(o.type===a.Token.Identifier&&"get"===o.value&&f)t="get",u=this.match("["),n=this.parseObjectPropertyKey(),this.context.allowYield=!1,r=this.parseGetterMethod();else if(o.type===a.Token.Identifier&&"set"===o.value&&f)t="set",u=this.match("["),n=this.parseObjectPropertyKey(),r=this.parseSetterMethod();else if(o.type===a.Token.Punctuator&&"*"===o.value&&f)t="init",u=this.match("["),n=this.parseObjectPropertyKey(),r=this.parseGeneratorMethod(),s=!0;else if(n||this.throwUnexpectedToken(this.lookahead),t="init",this.match(":"))u||this.checkDuplicatedProto(n,e),this.nextToken(),r=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))r=this.parsePropertyMethodFunction(),s=!0;else if(o.type===a.Token.Identifier){var d=this.finalize(i,new l.Identifier(o.value));if(this.checkDuplicatedProto(n,e),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),c=!0;var h=this.isolateCoverGrammar(this.parseAssignmentExpression);r=this.finalize(i,new l.AssignmentPattern(d,h))}else c=!0,r=d}else this.throwUnexpectedToken(this.nextToken());return this.finalize(i,new l.Property(t,n,u,r,s,c))},e.prototype.parseObjectInitializer=function(){var e=this.createNode();this.expect("{");for(var t=[],n={value:!1};!this.match("}");)t.push(this.parseObjectProperty(n)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(e,new l.ObjectExpression(t))},e.prototype.parseTemplateHead=function(){r.assert(this.lookahead.head,"Template literal must start with a template head");var e=this.createNode(),t=this.nextToken(),n={raw:t.value.raw,cooked:t.value.cooked};return this.finalize(e,new l.TemplateElement(n,t.tail))},e.prototype.parseTemplateElement=function(){this.lookahead.type!==a.Token.Template&&this.throwUnexpectedToken();var e=this.createNode(),t=this.nextToken(),n={raw:t.value.raw,cooked:t.value.cooked};return this.finalize(e,new l.TemplateElement(n,t.tail))},e.prototype.parseTemplateLiteral=function(){var e=this.createNode(),t=[],n=[],r=this.parseTemplateHead();for(n.push(r);!r.tail;)t.push(this.parseExpression()),r=this.parseTemplateElement(),n.push(r);return this.finalize(e,new l.TemplateLiteral(n,t))},e.prototype.reinterpretExpressionAsPattern=function(e){switch(e.type){case s.Syntax.Identifier:case s.Syntax.MemberExpression:case s.Syntax.RestElement:case s.Syntax.AssignmentPattern:break;case s.Syntax.SpreadElement:e.type=s.Syntax.RestElement,this.reinterpretExpressionAsPattern(e.argument);break;case s.Syntax.ArrayExpression:e.type=s.Syntax.ArrayPattern;for(var t=0;t")||this.expect("=>"),e={type:"ArrowParameterPlaceHolder",params:[]};else{var t=this.lookahead,n=[];if(this.match("..."))e=this.parseRestElement(n),this.expect(")"),this.match("=>")||this.expect("=>"),e={type:"ArrowParameterPlaceHolder",params:[e]};else{var r=!1;if(this.context.isBindingElement=!0,e=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var i=[];for(this.context.isAssignmentTarget=!1,i.push(e);this.startMarker.index")||this.expect("=>"),this.context.isBindingElement=!1;for(var o=0;o")&&(e.type===s.Syntax.Identifier&&"yield"===e.name&&(r=!0,e={type:"ArrowParameterPlaceHolder",params:[e]}),!r)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),e.type===s.Syntax.SequenceExpression)for(o=0;o0){this.nextToken(),n.prec=r,this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var i=[e,this.lookahead],o=t,a=this.isolateCoverGrammar(this.parseExponentiationExpression),u=[o,n,a];!((r=this.binaryPrecedence(this.lookahead))<=0);){for(;u.length>2&&r<=u[u.length-2].prec;){a=u.pop();var s=u.pop().value;o=u.pop(),i.pop();var c=this.startNode(i[i.length-1]);u.push(this.finalize(c,new l.BinaryExpression(s,o,a)))}(n=this.nextToken()).prec=r,u.push(n),i.push(this.lookahead),u.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var f=u.length-1;for(t=u[f],i.pop();f>1;){c=this.startNode(i.pop());t=this.finalize(c,new l.BinaryExpression(u[f-1].value,u[f-2],t)),f-=2}}return t},e.prototype.parseConditionalExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var n=this.context.allowIn;this.context.allowIn=!0;var r=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=n,this.expect(":");var i=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new l.ConditionalExpression(t,r,i)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return t},e.prototype.checkPatternParam=function(e,t){switch(t.type){case s.Syntax.Identifier:this.validateParam(e,t,t.name);break;case s.Syntax.RestElement:this.checkPatternParam(e,t.argument);break;case s.Syntax.AssignmentPattern:this.checkPatternParam(e,t.left);break;case s.Syntax.ArrayPattern:for(var n=0;n")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var r=this.reinterpretAsCoverFormalsList(e);if(r){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var o=this.context.strict,a=this.context.allowYield;this.context.allowYield=!0;var u=this.startNode(t);this.expect("=>");var c=this.match("{")?this.parseFunctionSourceElements():this.isolateCoverGrammar(this.parseAssignmentExpression),f=c.type!==s.Syntax.BlockStatement;this.context.strict&&r.firstRestricted&&this.throwUnexpectedToken(r.firstRestricted,r.message),this.context.strict&&r.stricted&&this.tolerateUnexpectedToken(r.stricted,r.message),e=this.finalize(u,new l.ArrowFunctionExpression(r.params,c,f)),this.context.strict=o,this.context.allowYield=a}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(i.Messages.InvalidLHSInAssignment),this.context.strict&&e.type===s.Syntax.Identifier){var d=e;this.scanner.isRestrictedWord(d.name)&&this.tolerateUnexpectedToken(n,i.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(d.name)&&this.tolerateUnexpectedToken(n,i.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(e):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1),n=this.nextToken();var h=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new l.AssignmentExpression(n.value,e,h)),this.context.firstCoverInitializedNameError=null}}return e},e.prototype.parseExpression=function(){var e=this.lookahead,t=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var n=[];for(n.push(t);this.startMarker.index",t.TokenName[n.Identifier]="Identifier",t.TokenName[n.Keyword]="Keyword",t.TokenName[n.NullLiteral]="Null",t.TokenName[n.NumericLiteral]="Numeric",t.TokenName[n.Punctuator]="Punctuator",t.TokenName[n.StringLiteral]="String",t.TokenName[n.RegularExpression]="RegularExpression",t.TokenName[n.Template]="Template"},function(e,t,n){"use strict";var r=n(4),i=n(5),o=n(9),a=n(7);function u(e){return"0123456789abcdef".indexOf(e.toLowerCase())}function s(e){return"01234567".indexOf(e)}var l=function(){function e(e,t){this.source=e,this.errorHandler=t,this.trackComment=!1,this.length=e.length,this.index=0,this.lineNumber=e.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return e.prototype.eof=function(){return this.index>=this.length},e.prototype.throwUnexpectedToken=function(e){void 0===e&&(e=i.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,e)},e.prototype.tolerateUnexpectedToken=function(){this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,i.Messages.UnexpectedTokenIllegal)},e.prototype.skipSingleLineComment=function(e){var t,n,r;for(this.trackComment&&(t=[],n=this.index-e,r={start:{line:this.lineNumber,column:this.index-this.lineStart-e},end:{}});!this.eof();){var i=this.source.charCodeAt(this.index);if(++this.index,o.Character.isLineTerminator(i)){if(this.trackComment){r.end={line:this.lineNumber,column:this.index-this.lineStart-1};var a={multiLine:!1,slice:[n+e,this.index-1],range:[n,this.index-1],loc:r};t.push(a)}return 13===i&&10===this.source.charCodeAt(this.index)&&++this.index,++this.lineNumber,this.lineStart=this.index,t}}if(this.trackComment){r.end={line:this.lineNumber,column:this.index-this.lineStart};a={multiLine:!1,slice:[n+e,this.index],range:[n,this.index],loc:r};t.push(a)}return t},e.prototype.skipMultiLineComment=function(){var e,t,n;for(this.trackComment&&(e=[],t=this.index-2,n={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var r=this.source.charCodeAt(this.index);if(o.Character.isLineTerminator(r))13===r&&10===this.source.charCodeAt(this.index+1)&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(42===r){if(47===this.source.charCodeAt(this.index+1)){if(this.index+=2,this.trackComment){n.end={line:this.lineNumber,column:this.index-this.lineStart};var i={multiLine:!0,slice:[t+2,this.index-2],range:[t,this.index],loc:n};e.push(i)}return e}++this.index}else++this.index}if(this.trackComment){n.end={line:this.lineNumber,column:this.index-this.lineStart};i={multiLine:!0,slice:[t+2,this.index],range:[t,this.index],loc:n};e.push(i)}return this.tolerateUnexpectedToken(),e},e.prototype.scanComments=function(){var e;this.trackComment&&(e=[]);for(var t=0===this.index;!this.eof();){var n=this.source.charCodeAt(this.index);if(o.Character.isWhiteSpace(n))++this.index;else if(o.Character.isLineTerminator(n))++this.index,13===n&&10===this.source.charCodeAt(this.index)&&++this.index,++this.lineNumber,this.lineStart=this.index,t=!0;else if(47===n)if(47===(n=this.source.charCodeAt(this.index+1))){this.index+=2;var r=this.skipSingleLineComment(2);this.trackComment&&(e=e.concat(r)),t=!0}else{if(42!==n)break;this.index+=2;r=this.skipMultiLineComment();this.trackComment&&(e=e.concat(r))}else if(t&&45===n){if(45!==this.source.charCodeAt(this.index+1)||62!==this.source.charCodeAt(this.index+2))break;this.index+=3;r=this.skipSingleLineComment(3);this.trackComment&&(e=e.concat(r))}else{if(60!==n)break;if("!--"!==this.source.slice(this.index+1,this.index+4))break;this.index+=4;r=this.skipSingleLineComment(4);this.trackComment&&(e=e.concat(r))}}return e},e.prototype.isFutureReservedWord=function(e){switch(e){case"enum":case"export":case"import":case"super":return!0;default:return!1}},e.prototype.isStrictModeReservedWord=function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},e.prototype.isRestrictedWord=function(e){return"eval"===e||"arguments"===e},e.prototype.isKeyword=function(e){switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e||"let"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}},e.prototype.codePointAt=function(e){var t=this.source.charCodeAt(e);if(t>=55296&&t<=56319){var n=this.source.charCodeAt(e+1);if(n>=56320&&n<=57343)t=1024*(t-55296)+n-56320+65536}return t},e.prototype.scanHexEscape=function(e){for(var t="u"===e?4:2,n=0,r=0;r1114111||"}"!==e)&&this.throwUnexpectedToken(),o.Character.fromCodePoint(t)},e.prototype.getIdentifier=function(){for(var e=this.index++;!this.eof();){var t=this.source.charCodeAt(this.index);if(92===t)return this.index=e,this.getComplexIdentifier();if(t>=55296&&t<57343)return this.index=e,this.getComplexIdentifier();if(!o.Character.isIdentifierPart(t))break;++this.index}return this.source.slice(e,this.index)},e.prototype.getComplexIdentifier=function(){var e,t=this.codePointAt(this.index),n=o.Character.fromCodePoint(t);for(this.index+=n.length,92===t&&(117!==this.source.charCodeAt(this.index)&&this.throwUnexpectedToken(),++this.index,"{"===this.source[this.index]?(++this.index,e=this.scanUnicodeCodePointEscape()):(t=(e=this.scanHexEscape("u")).charCodeAt(0),e&&"\\"!==e&&o.Character.isIdentifierStart(t)||this.throwUnexpectedToken()),n=e);!this.eof()&&(t=this.codePointAt(this.index),o.Character.isIdentifierPart(t));)n+=e=o.Character.fromCodePoint(t),this.index+=e.length,92===t&&(n=n.substr(0,n.length-1),117!==this.source.charCodeAt(this.index)&&this.throwUnexpectedToken(),++this.index,"{"===this.source[this.index]?(++this.index,e=this.scanUnicodeCodePointEscape()):(t=(e=this.scanHexEscape("u")).charCodeAt(0),e&&"\\"!==e&&o.Character.isIdentifierPart(t)||this.throwUnexpectedToken()),n+=e);return n},e.prototype.octalToDecimal=function(e){var t="0"!==e,n=s(e);return!this.eof()&&o.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=!0,n=8*n+s(this.source[this.index++]),"0123".indexOf(e)>=0&&!this.eof()&&o.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(n=8*n+s(this.source[this.index++]))),{code:n,octal:t}},e.prototype.scanIdentifier=function(){var e=this.index,t=92===this.source.charCodeAt(e)?this.getComplexIdentifier():this.getIdentifier();return{type:1===t.length?a.Token.Identifier:this.isKeyword(t)?a.Token.Keyword:"null"===t?a.Token.NullLiteral:"true"===t||"false"===t?a.Token.BooleanLiteral:a.Token.Identifier,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanPunctuator=function(){var e={type:a.Token.Punctuator,value:"",lineNumber:this.lineNumber,lineStart:this.lineStart,start:this.index,end:this.index},t=this.source[this.index];switch(t){case"(":case"{":"{"===t&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,"."===this.source[this.index]&&"."===this.source[this.index+1]&&(this.index+=2,t="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:">>>="===(t=this.source.substr(this.index,4))?this.index+=4:"==="===(t=t.substr(0,3))||"!=="===t||">>>"===t||"<<="===t||">>="===t||"**="===t?this.index+=3:"&&"===(t=t.substr(0,2))||"||"===t||"=="===t||"!="===t||"+="===t||"-="===t||"*="===t||"/="===t||"++"===t||"--"===t||"<<"===t||">>"===t||"&="===t||"|="===t||"^="===t||"%="===t||"<="===t||">="===t||"=>"===t||"**"===t?this.index+=2:(t=this.source[this.index],"<>=!+-*%&|^/".indexOf(t)>=0&&++this.index)}return this.index===e.start&&this.throwUnexpectedToken(),e.end=this.index,e.value=t,e},e.prototype.scanHexLiteral=function(e){for(var t="";!this.eof()&&o.Character.isHexDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return 0===t.length&&this.throwUnexpectedToken(),o.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:a.Token.NumericLiteral,value:parseInt("0x"+t,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanBinaryLiteral=function(e){for(var t,n="";!this.eof()&&("0"===(t=this.source[this.index])||"1"===t);)n+=this.source[this.index++];return 0===n.length&&this.throwUnexpectedToken(),this.eof()||(t=this.source.charCodeAt(this.index),(o.Character.isIdentifierStart(t)||o.Character.isDecimalDigit(t))&&this.throwUnexpectedToken()),{type:a.Token.NumericLiteral,value:parseInt(n,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanOctalLiteral=function(e,t){var n="",r=!1;for(o.Character.isOctalDigit(e.charCodeAt(0))?(r=!0,n="0"+this.source[this.index++]):++this.index;!this.eof()&&o.Character.isOctalDigit(this.source.charCodeAt(this.index));)n+=this.source[this.index++];return r||0!==n.length||this.throwUnexpectedToken(),(o.Character.isIdentifierStart(this.source.charCodeAt(this.index))||o.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:a.Token.NumericLiteral,value:parseInt(n,8),octal:r,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},e.prototype.isImplicitOctalLiteral=function(){for(var e=this.index+1;e=0&&(n=n.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(e,t,n){var o=parseInt(t||n,16);return o>1114111&&r.throwUnexpectedToken(i.Messages.InvalidRegExp),o<=65535?String.fromCharCode(o):"￿"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"￿"));try{RegExp(n)}catch(e){this.throwUnexpectedToken(i.Messages.InvalidRegExp)}try{return new RegExp(e,t)}catch(e){return null}},e.prototype.scanRegExpBody=function(){var e=this.source[this.index];r.assert("/"===e,"Regular expression literal must start with a slash");for(var t=this.source[this.index++],n=!1,a=!1;!this.eof();)if(t+=e=this.source[this.index++],"\\"===e)e=this.source[this.index++],o.Character.isLineTerminator(e.charCodeAt(0))&&this.throwUnexpectedToken(i.Messages.UnterminatedRegExp),t+=e;else if(o.Character.isLineTerminator(e.charCodeAt(0)))this.throwUnexpectedToken(i.Messages.UnterminatedRegExp);else if(n)"]"===e&&(n=!1);else{if("/"===e){a=!0;break}"["===e&&(n=!0)}return a||this.throwUnexpectedToken(i.Messages.UnterminatedRegExp),{value:t.substr(1,t.length-2),literal:t}},e.prototype.scanRegExpFlags=function(){for(var e="",t="";!this.eof();){var n=this.source[this.index];if(!o.Character.isIdentifierPart(n.charCodeAt(0)))break;if(++this.index,"\\"!==n||this.eof())t+=n,e+=n;else if("u"===(n=this.source[this.index])){++this.index;var r=this.index;if(n=this.scanHexEscape("u"))for(t+=n,e+="\\u";r=55296&&e<57343&&o.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},e}();t.Scanner=l},function(e,t){"use strict";var n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};t.Character={fromCodePoint:function(e){return e<65536?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10))+String.fromCharCode(56320+(e-65536&1023))},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStart:function(e){return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||92===e||e>=128&&n.NonAsciiIdentifierStart.test(t.Character.fromCodePoint(e))},isIdentifierPart:function(e){return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||92===e||e>=128&&n.NonAsciiIdentifierPart.test(t.Character.fromCodePoint(e))},isDecimalDigit:function(e){return e>=48&&e<=57},isHexDigit:function(e){return e>=48&&e<=57||e>=65&&e<=72||e>=97&&e<=104},isOctalDigit:function(e){return e>=48&&e<=55}}},function(e,t,n){"use strict";var r=n(2),i=function(e){this.type=r.Syntax.ArrayExpression,this.elements=e};t.ArrayExpression=i;var o=function(e){this.type=r.Syntax.ArrayPattern,this.elements=e};t.ArrayPattern=o;var a=function(e,t,n){this.type=r.Syntax.ArrowFunctionExpression,this.id=null,this.params=e,this.body=t,this.generator=!1,this.expression=n};t.ArrowFunctionExpression=a;var u=function(e,t,n){this.type=r.Syntax.AssignmentExpression,this.operator=e,this.left=t,this.right=n};t.AssignmentExpression=u;var s=function(e,t){this.type=r.Syntax.AssignmentPattern,this.left=e,this.right=t};t.AssignmentPattern=s;var l=function(e,t,n){var i="||"===e||"&&"===e;this.type=i?r.Syntax.LogicalExpression:r.Syntax.BinaryExpression,this.operator=e,this.left=t,this.right=n};t.BinaryExpression=l;var c=function(e){this.type=r.Syntax.BlockStatement,this.body=e};t.BlockStatement=c;var f=function(e){this.type=r.Syntax.BreakStatement,this.label=e};t.BreakStatement=f;var d=function(e,t){this.type=r.Syntax.CallExpression,this.callee=e,this.arguments=t};t.CallExpression=d;var h=function(e,t){this.type=r.Syntax.CatchClause,this.param=e,this.body=t};t.CatchClause=h;var p=function(e){this.type=r.Syntax.ClassBody,this.body=e};t.ClassBody=p;var m=function(e,t,n){this.type=r.Syntax.ClassDeclaration,this.id=e,this.superClass=t,this.body=n};t.ClassDeclaration=m;var g=function(e,t,n){this.type=r.Syntax.ClassExpression,this.id=e,this.superClass=t,this.body=n};t.ClassExpression=g;var v=function(e,t){this.type=r.Syntax.MemberExpression,this.computed=!0,this.object=e,this.property=t};t.ComputedMemberExpression=v;var y=function(e,t,n){this.type=r.Syntax.ConditionalExpression,this.test=e,this.consequent=t,this.alternate=n};t.ConditionalExpression=y;var _=function(e){this.type=r.Syntax.ContinueStatement,this.label=e};t.ContinueStatement=_;var b=function(){this.type=r.Syntax.DebuggerStatement};t.DebuggerStatement=b;var D=function(e,t){this.type=r.Syntax.ExpressionStatement,this.expression=e,this.directive=t};t.Directive=D;var x=function(e,t){this.type=r.Syntax.DoWhileStatement,this.body=e,this.test=t};t.DoWhileStatement=x;var w=function(){this.type=r.Syntax.EmptyStatement};t.EmptyStatement=w;var E=function(e){this.type=r.Syntax.ExportAllDeclaration,this.source=e};t.ExportAllDeclaration=E;var k=function(e){this.type=r.Syntax.ExportDefaultDeclaration,this.declaration=e};t.ExportDefaultDeclaration=k;var C=function(e,t,n){this.type=r.Syntax.ExportNamedDeclaration,this.declaration=e,this.specifiers=t,this.source=n};t.ExportNamedDeclaration=C;var S=function(e,t){this.type=r.Syntax.ExportSpecifier,this.exported=t,this.local=e};t.ExportSpecifier=S;var T=function(e){this.type=r.Syntax.ExpressionStatement,this.expression=e};t.ExpressionStatement=T;var A=function(e,t,n){this.type=r.Syntax.ForInStatement,this.left=e,this.right=t,this.body=n,this.each=!1};t.ForInStatement=A;var F=function(e,t,n){this.type=r.Syntax.ForOfStatement,this.left=e,this.right=t,this.body=n};t.ForOfStatement=F;var M=function(e,t,n,i){this.type=r.Syntax.ForStatement,this.init=e,this.test=t,this.update=n,this.body=i};t.ForStatement=M;var B=function(e,t,n,i){this.type=r.Syntax.FunctionDeclaration,this.id=e,this.params=t,this.body=n,this.generator=i,this.expression=!1};t.FunctionDeclaration=B;var P=function(e,t,n,i){this.type=r.Syntax.FunctionExpression,this.id=e,this.params=t,this.body=n,this.generator=i,this.expression=!1};t.FunctionExpression=P;var N=function(e){this.type=r.Syntax.Identifier,this.name=e};t.Identifier=N;var O=function(e,t,n){this.type=r.Syntax.IfStatement,this.test=e,this.consequent=t,this.alternate=n};t.IfStatement=O;var R=function(e,t){this.type=r.Syntax.ImportDeclaration,this.specifiers=e,this.source=t};t.ImportDeclaration=R;var I=function(e){this.type=r.Syntax.ImportDefaultSpecifier,this.local=e};t.ImportDefaultSpecifier=I;var L=function(e){this.type=r.Syntax.ImportNamespaceSpecifier,this.local=e};t.ImportNamespaceSpecifier=L;var j=function(e,t){this.type=r.Syntax.ImportSpecifier,this.local=e,this.imported=t};t.ImportSpecifier=j;var U=function(e,t){this.type=r.Syntax.LabeledStatement,this.label=e,this.body=t};t.LabeledStatement=U;var z=function(e,t){this.type=r.Syntax.Literal,this.value=e,this.raw=t};t.Literal=z;var W=function(e,t){this.type=r.Syntax.MetaProperty,this.meta=e,this.property=t};t.MetaProperty=W;var H=function(e,t,n,i,o){this.type=r.Syntax.MethodDefinition,this.key=e,this.computed=t,this.value=n,this.kind=i,this.static=o};t.MethodDefinition=H;var X=function(e,t){this.type=r.Syntax.NewExpression,this.callee=e,this.arguments=t};t.NewExpression=X;var J=function(e){this.type=r.Syntax.ObjectExpression,this.properties=e};t.ObjectExpression=J;var G=function(e){this.type=r.Syntax.ObjectPattern,this.properties=e};t.ObjectPattern=G;var q=function(e,t){this.type=r.Syntax.Program,this.body=e,this.sourceType=t};t.Program=q;var $=function(e,t,n,i,o,a){this.type=r.Syntax.Property,this.key=t,this.computed=n,this.value=i,this.kind=e,this.method=o,this.shorthand=a};t.Property=$;var V=function(e,t,n){this.type=r.Syntax.Literal,this.value=e,this.raw=t,this.regex=n};t.RegexLiteral=V;var Y=function(e){this.type=r.Syntax.RestElement,this.argument=e};t.RestElement=Y;var K=function(e){this.type=r.Syntax.ReturnStatement,this.argument=e};t.ReturnStatement=K;var Q=function(e){this.type=r.Syntax.SequenceExpression,this.expressions=e};t.SequenceExpression=Q;var Z=function(e){this.type=r.Syntax.SpreadElement,this.argument=e};t.SpreadElement=Z;var ee=function(e,t){this.type=r.Syntax.MemberExpression,this.computed=!1,this.object=e,this.property=t};t.StaticMemberExpression=ee;var te=function(){this.type=r.Syntax.Super};t.Super=te;var ne=function(e,t){this.type=r.Syntax.SwitchCase,this.test=e,this.consequent=t};t.SwitchCase=ne;var re=function(e,t){this.type=r.Syntax.SwitchStatement,this.discriminant=e,this.cases=t};t.SwitchStatement=re;var ie=function(e,t){this.type=r.Syntax.TaggedTemplateExpression,this.tag=e,this.quasi=t};t.TaggedTemplateExpression=ie;var oe=function(e,t){this.type=r.Syntax.TemplateElement,this.value=e,this.tail=t};t.TemplateElement=oe;var ae=function(e,t){this.type=r.Syntax.TemplateLiteral,this.quasis=e,this.expressions=t};t.TemplateLiteral=ae;var ue=function(){this.type=r.Syntax.ThisExpression};t.ThisExpression=ue;var se=function(e){this.type=r.Syntax.ThrowStatement,this.argument=e};t.ThrowStatement=se;var le=function(e,t,n){this.type=r.Syntax.TryStatement,this.block=e,this.handler=t,this.finalizer=n};t.TryStatement=le;var ce=function(e,t){this.type=r.Syntax.UnaryExpression,this.operator=e,this.argument=t,this.prefix=!0};t.UnaryExpression=ce;var fe=function(e,t,n){this.type=r.Syntax.UpdateExpression,this.operator=e,this.argument=t,this.prefix=n};t.UpdateExpression=fe;var de=function(e,t){this.type=r.Syntax.VariableDeclaration,this.declarations=e,this.kind=t};t.VariableDeclaration=de;var he=function(e,t){this.type=r.Syntax.VariableDeclarator,this.id=e,this.init=t};t.VariableDeclarator=he;var pe=function(e,t){this.type=r.Syntax.WhileStatement,this.test=e,this.body=t};t.WhileStatement=pe;var me=function(e,t){this.type=r.Syntax.WithStatement,this.object=e,this.body=t};t.WithStatement=me;var ge=function(e,t){this.type=r.Syntax.YieldExpression,this.argument=e,this.delegate=t};t.YieldExpression=ge},function(e,t,n){"use strict";var r,i=this&&this.__extends||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);function r(){this.constructor=e}e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=n(9),a=n(7),u=n(3),s=n(12),l=n(13),c=n(10),f=n(14);function d(e){var t;switch(e.type){case l.JSXSyntax.JSXIdentifier:t=e.name;break;case l.JSXSyntax.JSXNamespacedName:var n=e;t=d(n.namespace)+":"+d(n.name);break;case l.JSXSyntax.JSXMemberExpression:var r=e;t=d(r.object)+"."+d(r.property)}return t}!function(e){e[e.Identifier=100]="Identifier",e[e.Text=101]="Text"}(r||(r={})),a.TokenName[r.Identifier]="JSXIdentifier",a.TokenName[r.Text]="JSXText";var h=function(e){function t(t,n,r){e.call(this,t,n,r)}return i(t,e),t.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():e.prototype.parsePrimaryExpression.call(this)},t.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.lineNumber,this.scanner.lineStart=this.startMarker.lineStart},t.prototype.finishJSX=function(){this.nextToken()},t.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},t.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},t.prototype.scanXHTMLEntity=function(){for(var e="&",t="";!this.scanner.eof();){var n=this.scanner.source[this.scanner.index++];if(";"===n){if("#"===t[0]){var r="x"===(t=t.substr(1))[0]?parseInt("0"+t,16):parseInt(t,10);e=String.fromCharCode(r)}else s.XHTMLEntities[t]?e=s.XHTMLEntities[t]:e+=n;break}t+=n,e+=n}return e},t.prototype.lexJSX=function(){var e=this.scanner.source.charCodeAt(this.scanner.index);if(60===e||62===e||47===e||58===e||61===e||123===e||125===e){var t=this.scanner.source[this.scanner.index++];return{type:a.Token.Punctuator,value:t,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index}}if(34===e||39===e){for(var n=this.scanner.index,i=this.scanner.source[this.scanner.index++],u="";!this.scanner.eof();){if((c=this.scanner.source[this.scanner.index++])===i)break;u+="&"===c?this.scanXHTMLEntity():c}return{type:a.Token.StringLiteral,value:u,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:n,end:this.scanner.index}}if(46===e){var s=this.scanner.source.charCodeAt(this.scanner.index+1),l=this.scanner.source.charCodeAt(this.scanner.index+2);t=46===s&&46===l?"...":".",n=this.scanner.index;return this.scanner.index+=t.length,{type:a.Token.Punctuator,value:t,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:n,end:this.scanner.index}}if(o.Character.isIdentifierStart(e)&&92!==e){n=this.scanner.index;for(++this.scanner.index;!this.scanner.eof();){var c=this.scanner.source.charCodeAt(this.scanner.index);if(o.Character.isIdentifierPart(c)&&92!==c)++this.scanner.index;else{if(45!==c)break;++this.scanner.index}}var f=this.scanner.source.slice(n,this.scanner.index);return{type:r.Identifier,value:f,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:n,end:this.scanner.index}}this.scanner.throwUnexpectedToken()},t.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.lineNumber=this.scanner.lineNumber,this.startMarker.lineStart=this.scanner.lineStart;var e=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.lineNumber=this.scanner.lineNumber,this.lastMarker.lineStart=this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(e)),e},t.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.lineNumber=this.scanner.lineNumber,this.startMarker.lineStart=this.scanner.lineStart;for(var e=this.scanner.index,t="";!this.scanner.eof();){var n=this.scanner.source[this.scanner.index];if("{"===n||"<"===n)break;++this.scanner.index,t+=n,o.Character.isLineTerminator(n.charCodeAt(0))&&(++this.scanner.lineNumber,"\r"===n&&"\n"===this.scanner.source[this.scanner.index]&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.lineNumber=this.scanner.lineNumber,this.lastMarker.lineStart=this.scanner.lineStart;var i={type:r.Text,value:t,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:e,end:this.scanner.index};return t.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(i)),i},t.prototype.peekJSXToken=function(){var e=this.scanner.index,t=this.scanner.lineNumber,n=this.scanner.lineStart;this.scanner.scanComments();var r=this.lexJSX();return this.scanner.index=e,this.scanner.lineNumber=t,this.scanner.lineStart=n,r},t.prototype.expectJSX=function(e){var t=this.nextJSXToken();t.type===a.Token.Punctuator&&t.value===e||this.throwUnexpectedToken(t)},t.prototype.matchJSX=function(e){var t=this.peekJSXToken();return t.type===a.Token.Punctuator&&t.value===e},t.prototype.parseJSXIdentifier=function(){var e=this.createJSXNode(),t=this.nextJSXToken();return t.type!==r.Identifier&&this.throwUnexpectedToken(t),this.finalize(e,new f.JSXIdentifier(t.value))},t.prototype.parseJSXElementName=function(){var e=this.createJSXNode(),t=this.parseJSXIdentifier();if(this.matchJSX(":")){var n=t;this.expectJSX(":");var r=this.parseJSXIdentifier();t=this.finalize(e,new f.JSXNamespacedName(n,r))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var i=t;this.expectJSX(".");var o=this.parseJSXIdentifier();t=this.finalize(e,new f.JSXMemberExpression(i,o))}return t},t.prototype.parseJSXAttributeName=function(){var e,t=this.createJSXNode(),n=this.parseJSXIdentifier();if(this.matchJSX(":")){var r=n;this.expectJSX(":");var i=this.parseJSXIdentifier();e=this.finalize(t,new f.JSXNamespacedName(r,i))}else e=n;return e},t.prototype.parseJSXStringLiteralAttribute=function(){var e=this.createJSXNode(),t=this.nextJSXToken();t.type!==a.Token.StringLiteral&&this.throwUnexpectedToken(t);var n=this.getTokenRaw(t);return this.finalize(e,new c.Literal(t.value,n))},t.prototype.parseJSXExpressionAttribute=function(){var e=this.createJSXNode();this.expectJSX("{");var t;return this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression"),t=this.parseAssignmentExpression(),this.startJSX(),this.expectJSX("}"),this.finalize(e,new f.JSXExpressionContainer(t))},t.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},t.prototype.parseJSXNameValueAttribute=function(){var e=this.createJSXNode(),t=this.parseJSXAttributeName(),n=null;return this.matchJSX("=")&&(this.expectJSX("="),n=this.parseJSXAttributeValue()),this.finalize(e,new f.JSXAttribute(t,n))},t.prototype.parseJSXSpreadAttribute=function(){var e=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var t=this.parseAssignmentExpression();return this.startJSX(),this.expectJSX("}"),this.finalize(e,new f.JSXSpreadAttribute(t))},t.prototype.parseJSXAttributes=function(){for(var e=[];!this.matchJSX("/")&&!this.matchJSX(">");){var t=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();e.push(t)}return e},t.prototype.parseJSXOpeningElement=function(){var e=this.createJSXNode();this.expectJSX("<");var t=this.parseJSXElementName(),n=this.parseJSXAttributes(),r=this.matchJSX("/");return r&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(e,new f.JSXOpeningElement(t,r,n))},t.prototype.parseJSXBoundaryElement=function(){var e=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var t=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(e,new f.JSXClosingElement(t))}var n=this.parseJSXElementName(),r=this.parseJSXAttributes(),i=this.matchJSX("/");return i&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(e,new f.JSXOpeningElement(n,i,r))},t.prototype.parseJSXEmptyExpression=function(){var e=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.lineNumber=this.scanner.lineNumber,this.lastMarker.lineStart=this.scanner.lineStart,this.finalize(e,new f.JSXEmptyExpression)},t.prototype.parseJSXExpression=function(){var e;return this.matchJSX("}")?e=this.parseJSXEmptyExpression():(this.finishJSX(),e=this.parseAssignmentExpression(),this.startJSX()),e},t.prototype.parseJSXExpressionContainer=function(){var e=this.createJSXNode();this.expectJSX("{");var t=this.parseJSXExpression();return this.expectJSX("}"),this.finalize(e,new f.JSXExpressionContainer(t))},t.prototype.parseJSXChildren=function(){for(var e=[];!this.scanner.eof();){var t=this.createJSXChildNode(),n=this.nextJSXText();if(n.start0))break;o=this.finalize(e.node,new f.JSXElement(e.opening,e.children,e.closing));(e=t.pop()).children.push(o)}}return e},t.prototype.parseJSXElement=function(){var e=this.createJSXNode(),t=this.parseJSXOpeningElement(),n=[],r=null;if(!t.selfClosing){var i=this.parseComplexJSXElement({node:e,opening:t,closing:r,children:n});n=i.children,r=i.closing}return this.finalize(e,new f.JSXElement(t,n,r))},t.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var e=this.parseJSXElement();return this.finishJSX(),e},t}(u.Parser);t.JSXParser=h},function(e,t){"use strict";t.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",lang:"⟨",rang:"⟩"}},function(e,t){"use strict";t.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(e,t,n){"use strict";var r=n(13),i=function(e){this.type=r.JSXSyntax.JSXClosingElement,this.name=e};t.JSXClosingElement=i;var o=function(e,t,n){this.type=r.JSXSyntax.JSXElement,this.openingElement=e,this.children=t,this.closingElement=n};t.JSXElement=o;var a=function(){this.type=r.JSXSyntax.JSXEmptyExpression};t.JSXEmptyExpression=a;var u=function(e){this.type=r.JSXSyntax.JSXExpressionContainer,this.expression=e};t.JSXExpressionContainer=u;var s=function(e){this.type=r.JSXSyntax.JSXIdentifier,this.name=e};t.JSXIdentifier=s;var l=function(e,t){this.type=r.JSXSyntax.JSXMemberExpression,this.object=e,this.property=t};t.JSXMemberExpression=l;var c=function(e,t){this.type=r.JSXSyntax.JSXAttribute,this.name=e,this.value=t};t.JSXAttribute=c;var f=function(e,t){this.type=r.JSXSyntax.JSXNamespacedName,this.namespace=e,this.name=t};t.JSXNamespacedName=f;var d=function(e,t,n){this.type=r.JSXSyntax.JSXOpeningElement,this.name=e,this.selfClosing=t,this.attributes=n};t.JSXOpeningElement=d;var h=function(e){this.type=r.JSXSyntax.JSXSpreadAttribute,this.argument=e};t.JSXSpreadAttribute=h;var p=function(e,t){this.type=r.JSXSyntax.JSXText,this.value=e,this.raw=t};t.JSXText=p},function(e,t,n){"use strict";var r=n(8),i=n(6),o=n(7),a=function(){function e(){this.values=[],this.curly=this.paren=-1}return e.prototype.beforeFunctionExpression=function(e){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(e)>=0},e.prototype.isRegexStart=function(){var e=this.values[this.values.length-1],t=null!==e;switch(e){case"this":case"]":t=!1;break;case")":var n=this.values[this.paren-1];t="if"===n||"while"===n||"for"===n||"with"===n;break;case"}":if(t=!1,"function"===this.values[this.curly-3]){var r=this.values[this.curly-4];t=!!r&&!this.beforeFunctionExpression(r)}else if("function"===this.values[this.curly-4]){var i=this.values[this.curly-5];t=!i||!this.beforeFunctionExpression(i)}}return t},e.prototype.push=function(e){e.type===o.Token.Punctuator||e.type===o.Token.Keyword?("{"===e.value?this.curly=this.values.length:"("===e.value&&(this.paren=this.values.length),this.values.push(e.value)):this.values.push(null)},e}(),u=function(){function e(e,t){this.errorHandler=new i.ErrorHandler,this.errorHandler.tolerant=!!t&&("boolean"==typeof t.tolerant&&t.tolerant),this.scanner=new r.Scanner(e,this.errorHandler),this.scanner.trackComment=!!t&&("boolean"==typeof t.comment&&t.comment),this.trackRange=!!t&&("boolean"==typeof t.range&&t.range),this.trackLoc=!!t&&("boolean"==typeof t.loc&&t.loc),this.buffer=[],this.reader=new a}return e.prototype.errors=function(){return this.errorHandler.errors},e.prototype.getNextToken=function(){if(0===this.buffer.length){var e=this.scanner.scanComments();if(this.scanner.trackComment)for(var t=0;t]*>)/g,m=/\$([$&'`]|\d\d?)/g;r("replace",2,function(e,t,n){return[function(n,r){var i=s(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,o){var s=n(t,e,this,o);if(s.done)return s.value;var h=i(e),p=String(this),m="function"==typeof o;m||(o=String(o));var g=h.global;if(g){var v=h.unicode;h.lastIndex=0}for(var y=[];;){var _=c(h,p);if(null===_)break;if(y.push(_),!g)break;""===String(_[0])&&(h.lastIndex=l(p,a(h.lastIndex),v))}for(var b,D="",x=0,w=0;w=x&&(D+=p.slice(x,k)+F,x=k+E.length)}return D+p.slice(x)}];function r(e,n,r,i,a,u){var s=r+e.length,l=i.length,c=m;return void 0!==a&&(a=o(a),c=p),t.call(u,c,function(t,o){var u;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":u=a[o.slice(1,-1)];break;default:var c=+o;if(0===c)return t;if(c>l){var f=h(c/10);return 0===f?t:f<=l?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):t}u=i[c-1]}return void 0===u?"":u})}})},function(e,t,n){"use strict";var r,i,o=n(216),a=RegExp.prototype.exec,u=String.prototype.replace,s=a,l=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),c=void 0!==/()??/.exec("")[1];(l||c)&&(s=function(e){var t,n,r,i,s=this;return c&&(n=new RegExp("^"+s.source+"$(?!\\s)",o.call(s))),l&&(t=s.lastIndex),r=a.call(s,e),l&&r&&(s.lastIndex=s.global?r.index+r[0].length:t),c&&r&&r.length>1&&u.call(r[0],n,function(){for(i=1;i","license":"MIT","dependencies":{"find-versions":"^2.0.0","ink":"^2.1.0","ink-spinner":"^3.0.0","ink-tab":"^2.1.3","marked":"^0.3.19","marked-terminal":"^2.0.0","marked-to-md":"^1.0.1","minimist":"^1.2.0","node-fetch":"^2.1.2","react":"^16.0.0","semver":"^5.4.1"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.4","@babel/node":"^7.2.2","@babel/polyfill":"^7.4.0","@babel/preset-env":"^7.4.2","@babel/preset-react":"^7.0.0","babel-loader":"^8.0.5","babel-polyfill":"^6.26.0","core-js":"^3.0.0","jest":"^24.5.0","lint-staged":"^7.1.0","nock":"^9.2.6","prettier":"^1.16.4","svg-term-cli":"^2.1.1","webpack":"^4.29.6","webpack-cli":"^3.3.0"},"scripts":{"test":"jest","build":"webpack --config webpack.config.js && (git commit -m \'build binary\' bin/bin.js || true)","demo":"clear && babel-node ./src/bin.js sebastianbergmann/diff@3.0.0 jdeniau/ink-tab@1.0.0","prepublishOnly":"npm run build","precommit":"lint-staged"},"jest":{"transform":{".+\\\\.(js)$":"babel-jest",".+\\\\.(md)$":"/fileTransformer.js"}},"lint-staged":{"*.{js,jsx,json}":["prettier --write","git add"]}}')},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0)),i=u(n(12)),o=n(1),a=u(n(186));function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class l extends r.Component{constructor(...e){super(...e),s(this,"state",{frame:0}),s(this,"switchFrame",()=>{const{frame:e}=this.state,t=e===this.getSpinner().frames.length-1?0:e+1;this.setState({frame:t})})}render(){const e=this.getSpinner();return r.default.createElement(o.Box,null,e.frames[this.state.frame])}componentDidMount(){const e=this.getSpinner();this.timer=setInterval(this.switchFrame,e.interval)}componentWillUnmount(){clearInterval(this.timer)}getSpinner(){return a.default[this.props.type]||a.default.dots}}t.default=l,s(l,"propTypes",{type:i.default.string}),s(l,"defaultProps",{type:"dots"})},function(e,t,n){"use strict";var r=n(188),i=n(193),o=n(205),a=n(206),u=n(211),s="^*||*^",l=new RegExp(A("*|*|*|*"),"g"),c=new RegExp(A("*#COLON|*"),"g"),f=["\t"],d="\r",h=new RegExp(d),p=new RegExp(d+"|
    "),m={code:r.yellow,blockquote:r.gray.italic,html:r.gray,heading:r.green.bold,firstHeading:r.magenta.underline.bold,hr:r.reset,listitem:r.reset,list:function(e,t,n){return e=e.trim(),e=t?function(e,t){var n=function(e,t,n){return x(t,e)?t:E(n+1)+t}.bind(null,t);return e.split("\n").filter(M).map(n).join("\n")}(e,n):function(e,t){var n=function(e,t){return x(t,e)?t:w+t}.bind(null,t);return e.split("\n").filter(M).map(n).join("\n")}(e,n)},table:r.reset,paragraph:r.reset,strong:r.bold,em:r.italic,codespan:r.yellow,del:r.dim.gray.strikethrough,link:r.blue,href:r.blue.underline,text:M,unescape:!0,emoji:!0,width:80,showSectionPrefix:!0,reflowText:!1,tab:4,tableOptions:{}};function g(e,t){var n,r,i;this.o=o({},m,e),this.tab=(n=this.o.tab,r=m.tab,"number"==typeof n?new Array(n+1).join(" "):"string"==typeof n&&(i=n,f.some(function(e){return i.match("^("+e+")+$")}))?n:new Array(r+1).join(" ")),this.tableSettings=this.o.tableOptions,this.emoji=this.o.emoji?C:M,this.unescape=this.o.unescape?F:M,this.highlightOptions=t||{},this.transform=B(S,this.unescape,this.emoji)}function v(e){return e.replace(/\u001b\[(?:\d{1,3})(?:;\d{1,3})*m/g,"").length}function y(e,t){return t?e.replace(d,/\n/g):e}function _(e,t,n){var r=n?p:h,i=e.split(r),o=[];return i.forEach(function(e){var n=e.split(/[ \t\n]+/),r=0,i="";n.forEach(function(e){var n=0!=r;r+v(e)+n>t?(i+="\n",r=0):n&&(i+=" ",r+=1),i+=e,r+=v(e)}),o.push(i)}),o.join("\n")}function b(e,t){return t?e+t.split("\n").join("\n"+e):t}g.prototype.textLength=v,g.prototype.text=function(e){return this.o.text(e)},g.prototype.code=function(e,t,n){return k(b(this.tab,function(e,t,n,i){if(!r.enabled)return e;var o=n.code;if(e=y(e,n.reflowText),"javascript"!==t&&"js"!==t)return o(e);try{return a.highlight(e,i)}catch(t){return o(e)}}(e,t,this.o,this.highlightOptions)))},g.prototype.blockquote=function(e){return k(this.o.blockquote(b(this.tab,e.trim())))},g.prototype.html=function(e){return this.o.html(e)},g.prototype.heading=function(e,t,n){return e=this.transform(e),e=(this.o.showSectionPrefix?new Array(t+1).join("#")+" ":"")+e,this.o.reflowText&&(e=_(e,this.o.width,this.options.gfm)),k(1===t?this.o.firstHeading(e):this.o.heading(e))},g.prototype.hr=function(){return k(this.o.hr((e="-",t=(t=this.o.reflowText&&this.o.width)||process.stdout.columns,new Array(t).join(e))));var e,t},g.prototype.list=function(e,t){return e=this.o.list(e,t,this.tab),k(function(e,t){var n=new RegExp("(\\S(?: | )?)((?:"+t+")+)("+D+"(?:.*)+)$","m");return e.replace(n,"$1\n"+t+"$2$3")}((n=this.tab,e.replace(/(^|\n)(.+)/g,"$1"+n+"$2")),this.tab));var n},g.prototype.listitem=function(e){var t=B(this.o.listitem,this.transform);return-1!==e.indexOf("\n")&&(e=e.trim()),"\n"+t(e)},g.prototype.paragraph=function(e){return e=B(this.o.paragraph,this.transform)(e),this.o.reflowText&&(e=_(e,this.o.width,this.options.gfm)),k(e)},g.prototype.table=function(e,t){var n=new i(o({},{head:T(e)[0]},this.tableSettings));return T(t,this.transform).forEach(function(e){n.push(e)}),k(this.o.table(n.toString()))},g.prototype.tablerow=function(e){return"*|*|*|*"+e+"*|*|*|*\n"},g.prototype.tablecell=function(e,t){return e+s},g.prototype.strong=function(e){return this.o.strong(e)},g.prototype.em=function(e){return e=y(e,this.o.reflowText),this.o.em(e)},g.prototype.codespan=function(e){return e=y(e,this.o.reflowText),this.o.codespan(e.replace(/:/g,"*#COLON|*"))},g.prototype.br=function(){return this.o.reflowText?d:"\n"},g.prototype.del=function(e){return this.o.del(e)},g.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(unescape(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return""}if(0===r.indexOf("javascript:"))return""}var i=n&&n!==e,o="";return i&&(o+=this.emoji(n)+" ("),o+=this.o.href(e),i&&(o+=")"),this.o.link(o)},g.prototype.image=function(e,t,n){var r="!["+n;return t&&(r+=" – "+t),r+"]("+e+")\n"},e.exports=g;var D="(?:"+["\\*","\\d+\\."].join("|")+")";var x=function(e,t){return e.match("^(?:"+t+")*"+D)},w="* ";var E=function(e){return e+". "};function k(e){return e+"\n\n"}function C(e){return e.replace(/:([A-Za-z0-9_\-\+]+?):/g,function(e){var t=u.get(e);return t?t+" ":e})}function S(e){return e.replace(c,":")}function T(e,t){if(!e)return[];var n=(t=t||M)(e).split("\n"),r=[];return n.forEach(function(e){if(e){var t=e.replace(l,"").split(s);r.push(t.splice(0,t.length-1))}}),r}function A(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function F(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'")}function M(e){return e}function B(){var e=arguments;return function(){for(var t=arguments,n=e.length;n-- >0;)t=[e[n].apply(this,t)];return t[0]}}},function(e,t){e.exports=require("https")},function(e,t,n){"use strict";e.exports=function(e){var t="";return e.code=function(e,t){return"```"+(t||"")+"\n"+e+"\n```\n"},e.blockquote=function(e){return"> "+e.trim().replace(/\n/g,"\n> ")+"\n\n"},e.html=function(e){return e},e.heading=function(e,t,n){return new Array(t+1).join("#")+" "+n+"\n"},e.hr=function(){return"\n---\n"},e.list=function(e,t){return e.replace(/doubidoubidou/g,t?"1.":"-")+"\n\n"},e.listitem=function(e){var t=[];return e.split("\n").forEach(function(e){""!==e.trim()&&("-"!==e.trim()[0]&&isNaN(e.trim()[0])?t.push(e):t.push(" "+e))}),"\ndoubidoubidou "+t.join("\n")},e.paragraph=function(e){return e+"\n\n"},e.table=function(e,n){var r=e+"|"+t+"\n"+n+"\n";return t="",r},e.tablerow=function(e){return"| "+e+"\n"},e.tablecell=function(e,n){return n.header&&(t+=("center"===n.align?":":"")+"--"+(-1!==["center","right"].indexOf(n.align)?":":"")+"|")," "+e+" | "},e.strong=function(e){return"**"+e+"**"},e.em=function(e){return"*"+e+"*"},e.codespan=function(e){return"`"+e+"`"},e.br=function(){return" \n"},e.del=function(e){return"~~"+e+"~~"},e.link=function(e,t,n){return"["+n+"]("+e+(t?' "'+t+'"':"")+")"},e.image=function(e,t,n){return"!["+n+"]("+e+(t?' "'+t+'"':"")+")"},e}},function(e,t,n){"use strict";var r=n(221),i=n(222);e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("Expected a string");t=t||{};var n=new RegExp("(?:"+r().source+")|(?:v?(?:\\d+\\.\\d+)(?:\\.\\d+)?)","g"),o=e.match(!0===t.loose?n:r())||[];return i(o.map(function(e){return e.trim().replace(/^v/,"").replace(/^\d+\.\d+$/,"$&.0")}))}},function(e,t,n){var r=n(7),i=n(13),o="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(3),i=n(53),o=n(8),a=r("unscopables"),u=Array.prototype;null==u[a]&&o(u,a,i(null)),e.exports=function(e){u[a][e]=!0}},function(e,t,n){var r=n(7);e.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},function(e,t,n){var r=n(14),i=n(17),o=n(5),a=n(104);e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),u=r.length,s=0;u>s;)i.f(e,n=r[s++],t[n]);return e}},function(e,t,n){var r=n(54),i=n(36);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(22),i=n(34),o=n(106),a=function(e){return function(t,n,a){var u,s=r(t),l=i(s.length),c=o(a,l);if(e&&n!=n){for(;l>c;)if((u=s[c++])!=u)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(26),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},function(e,t,n){var r=n(2),i=n(57),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(i.call(o))},function(e,t,n){"use strict";var r=n(39),i=n(114),o=n(60),a=n(116),u=n(42),s=n(8),l=n(28),c=n(3),f=n(25),d=n(18),h=n(59),p=h.IteratorPrototype,m=h.BUGGY_SAFARI_ITERATORS,g=c("iterator"),v=function(){return this};e.exports=function(e,t,n,c,h,y,_){i(n,t,c);var b,D,x,w=function(e){if(e===h&&T)return T;if(!m&&e in C)return C[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},E=t+" Iterator",k=!1,C=e.prototype,S=C[g]||C["@@iterator"]||h&&C[h],T=!m&&S||w(h),A="Array"==t&&C.entries||S;if(A&&(b=o(A.call(new e)),p!==Object.prototype&&b.next&&(f||o(b)===p||(a?a(b,p):"function"!=typeof b[g]&&s(b,g,v)),u(b,E,!0,!0),f&&(d[E]=v))),"values"==h&&S&&"values"!==S.name&&(k=!0,T=function(){return S.call(this)}),f&&!_||C[g]===T||s(C,g,T),d[t]=T,h)if(D={values:w("values"),keys:y?T:w("keys"),entries:w("entries")},_)for(x in D)!m&&!k&&x in C||l(C,x,D[x]);else r({target:t,proto:!0,forced:m||k},D);return D}},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(9),i=n(111),o=n(40),a=n(17);e.exports=function(e,t){for(var n=i(t),u=a.f,s=o.f,l=0;l{if("number"!=typeof e)throw new TypeError("The `x` argument is required");return"number"!=typeof t?i+(e+1)+"G":i+(t+1)+";"+(e+1)+"H"},r.cursorMove=(e,t)=>{if("number"!=typeof e)throw new TypeError("The `x` argument is required");let n="";return e<0?n+=i+-e+"D":e>0&&(n+=i+e+"C"),t<0?n+=i+-t+"A":t>0&&(n+=i+t+"B"),n},r.cursorUp=e=>i+("number"==typeof e?e:1)+"A",r.cursorDown=e=>i+("number"==typeof e?e:1)+"B",r.cursorForward=e=>i+("number"==typeof e?e:1)+"C",r.cursorBackward=e=>i+("number"==typeof e?e:1)+"D",r.cursorLeft="",r.cursorSavePosition=i+(s?"7":"s"),r.cursorRestorePosition=i+(s?"8":"u"),r.cursorGetPosition="",r.cursorNextLine="",r.cursorPrevLine="",r.cursorHide="[?25l",r.cursorShow="[?25h",r.eraseLines=e=>{let t="";for(let n=0;n[o,"8",u,u,t,a,e,o,"8",u,u,a].join(""),r.image=(e,t)=>{let n=o+"1337;File=inline=1";return(t=t||{}).width&&(n+=`;width=${t.width}`),t.height&&(n+=`;height=${t.height}`),!1===t.preserveAspectRatio&&(n+=";preserveAspectRatio=0"),n+":"+e.toString("base64")+a},r.iTerm={},r.iTerm.setCwd=e=>o+"50;CurrentDir="+(e||process.cwd())+a},function(e,t,n){"use strict";const r=n(123);let i=!1;t.show=e=>{const t=e||process.stderr;t.isTTY&&(i=!1,t.write("[?25h"))},t.hide=e=>{const t=e||process.stderr;t.isTTY&&(r(),i=!0,t.write("[?25l"))},t.toggle=(e,n)=>{void 0!==e&&(i=e),i?t.show(n):t.hide(n)}},function(e,t,n){var r,i=n(126),o=n(127),a=n(128);function u(){c&&(c=!1,o.forEach(function(e){try{process.removeListener(e,l[e])}catch(e){}}),process.emit=p,process.reallyExit=h,r.count-=1)}function s(e,t,n){r.emitted[e]||(r.emitted[e]=!0,r.emit(e,t,n))}"function"!=typeof a&&(a=a.EventEmitter),process.__signal_exit_emitter__?r=process.__signal_exit_emitter__:((r=process.__signal_exit_emitter__=new a).count=0,r.emitted={}),r.infinite||(r.setMaxListeners(1/0),r.infinite=!0),e.exports=function(e,t){i.equal(typeof e,"function","a callback must be provided for exit handler"),!1===c&&f();var n="exit";t&&t.alwaysLast&&(n="afterexit");return r.on(n,e),function(){r.removeListener(n,e),0===r.listeners("exit").length&&0===r.listeners("afterexit").length&&u()}},e.exports.unload=u;var l={};o.forEach(function(e){l[e]=function(){process.listeners(e).length===r.count&&(u(),s("exit",null,e),s("afterexit",null,e),process.kill(process.pid,e))}}),e.exports.signals=function(){return o},e.exports.load=f;var c=!1;function f(){c||(c=!0,r.count+=1,o=o.filter(function(e){try{return process.on(e,l[e]),!0}catch(e){return!1}}),process.emit=m,process.reallyExit=d)}var h=process.reallyExit;function d(e){process.exitCode=e||0,s("exit",process.exitCode,null),s("afterexit",process.exitCode,null),h.call(process,process.exitCode)}var p=process.emit;function m(e,t){if("exit"===e){void 0!==t&&(process.exitCode=t);var n=p.apply(this,arguments);return s("exit",process.exitCode,null),s("afterexit",process.exitCode,null),n}return p.apply(this,arguments)}},function(e,t,n){"use strict";const r=n(129),i=n(67),o=n(68),a=new Set(["","›"]),u=e=>`${a.values().next().value}[${e}m`,s=(e,t,n)=>{const o=[...t];let u=!1,s=r(i(e[e.length-1]));for(const[t,i]of o.entries()){const l=r(i);if(s+l<=n?e[e.length-1]+=i:(e.push(i),s=0),a.has(i))u=!0;else if(u&&"m"===i){u=!1;continue}u||(s+=l)===n&&t0&&e.length>1&&(e[e.length-2]+=e.pop())},l=e=>{const t=e.split(" ");let n=t.length;for(;n>0&&!(r(t[n-1])>0);)n--;return n===t.length?e:t.slice(0,n).join(" ")+t.slice(n).join("")},c=(e,t,n={})=>{if(!1!==n.trim&&""===e.trim())return"";let i,c="",f="";const h=(e=>e.split(" ").map(e=>r(e)))(e);let d=[""];for(const[i,o]of e.split(" ").entries()){!1!==n.trim&&(d[d.length-1]=d[d.length-1].trimLeft());let e=r(d[d.length-1]);if(0!==i&&(e>=t&&(!1===n.wordWrap||!1===n.trim)&&(d.push(""),e=0),(e>0||!1===n.trim)&&(d[d.length-1]+=" ",e++)),n.hard&&h[i]>t){const n=t-e,r=1+Math.floor((h[i]-n-1)/t);Math.floor((h[i]-1)/t)t&&e>0&&h[i]>0){if(!1===n.wordWrap&&et&&!1===n.wordWrap?s(d,o,t):d[d.length-1]+=o}}!1!==n.trim&&(d=d.map(l)),c=d.join("\n");for(const[e,t]of[...c].entries()){if(f+=t,a.has(t)){const t=parseFloat(/\d[^m]*/.exec(c.slice(e,e+4)));i=39===t?null:t}const n=o.codes.get(Number(i));i&&n&&("\n"===c[e+1]?f+=u(n):"\n"===t&&(f+=u(i)))}return f};e.exports=(e,t,n)=>String(e).normalize().split("\n").map(e=>c(e,t,n)).join("\n")},function(e,t,n){"use strict";const r=n(130),i=e=>"string"==typeof e?e.replace(r(),""):e;e.exports=i,e.exports.default=i},function(e,t,n){"use strict";(function(e){const t=n(133),r=(e,n)=>(function(){const r=e.apply(t,arguments);return`[${r+n}m`}),i=(e,n)=>(function(){const r=e.apply(t,arguments);return`[${38+n};5;${r}m`}),o=(e,n)=>(function(){const r=e.apply(t,arguments);return`[${38+n};2;${r[0]};${r[1]};${r[2]}m`});Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,n={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};n.color.grey=n.color.gray;for(const t of Object.keys(n)){const r=n[t];for(const t of Object.keys(r)){const i=r[t];n[t]={open:`[${i[0]}m`,close:`[${i[1]}m`},r[t]=n[t],e.set(i[0],i[1])}Object.defineProperty(n,t,{value:r,enumerable:!1}),Object.defineProperty(n,"codes",{value:e,enumerable:!1})}const a=e=>e,u=(e,t,n)=>[e,t,n];n.color.close="",n.bgColor.close="",n.color.ansi={ansi:r(a,0)},n.color.ansi256={ansi256:i(a,0)},n.color.ansi16m={rgb:o(u,0)},n.bgColor.ansi={ansi:r(a,10)},n.bgColor.ansi256={ansi256:i(a,10)},n.bgColor.ansi16m={rgb:o(u,10)};for(let e of Object.keys(t)){if("object"!=typeof t[e])continue;const a=t[e];"ansi16"===e&&(e="ansi"),"ansi16"in a&&(n.color.ansi[e]=r(a.ansi16,0),n.bgColor.ansi[e]=r(a.ansi16,10)),"ansi256"in a&&(n.color.ansi256[e]=i(a.ansi256,0),n.bgColor.ansi256[e]=i(a.ansi256,10)),"rgb"in a&&(n.color.ansi16m[e]=o(a.rgb,0),n.bgColor.ansi16m[e]=o(a.rgb,10))}return n}})}).call(this,n(132)(e))},function(e,t,n){var r=n(134),i={};for(var o in r)r.hasOwnProperty(o)&&(i[r[o]]=o);var a=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var u in a)if(a.hasOwnProperty(u)){if(!("channels"in a[u]))throw new Error("missing channels property: "+u);if(!("labels"in a[u]))throw new Error("missing channel labels property: "+u);if(a[u].labels.length!==a[u].channels)throw new Error("channel and label counts mismatch: "+u);var s=a[u].channels,l=a[u].labels;delete a[u].channels,delete a[u].labels,Object.defineProperty(a[u],"channels",{value:s}),Object.defineProperty(a[u],"labels",{value:l})}a.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),u=Math.max(r,i,o),s=u-a;return u===a?t=0:r===u?t=(i-o)/s:i===u?t=2+(o-r)/s:o===u&&(t=4+(r-i)/s),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+u)/2,[t,100*(u===a?0:n<=.5?s/(u+a):s/(2-u-a)),100*n]},a.rgb.hsv=function(e){var t,n,r,i,o,a=e[0]/255,u=e[1]/255,s=e[2]/255,l=Math.max(a,u,s),c=l-Math.min(a,u,s),f=function(e){return(l-e)/6/c+.5};return 0===c?i=o=0:(o=c/l,t=f(a),n=f(u),r=f(s),a===l?i=r-n:u===l?i=1/3+t-r:s===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*l]},a.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[a.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,r))),100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},a.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},a.rgb.keyword=function(e){var t=i[e];if(t)return t;var n,o,a,u=1/0;for(var s in r)if(r.hasOwnProperty(s)){var l=r[s],c=(o=e,a=l,Math.pow(o[0]-a[0],2)+Math.pow(o[1]-a[1],2)+Math.pow(o[2]-a[2],2));c.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},a.rgb.lab=function(e){var t=a.rgb.xyz(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},a.hsl.rgb=function(e){var t,n,r,i,o,a=e[0]/360,u=e[1]/100,s=e[2]/100;if(0===u)return[o=255*s,o,o];t=2*s-(n=s<.5?s*(1+u):s+u-s*u),i=[0,0,0];for(var l=0;l<3;l++)(r=a+1/3*-(l-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*o;return i},a.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),100*((r+n)/2)]},a.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),u=255*r*(1-n*o),s=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,s,a];case 1:return[u,r,a];case 2:return[a,r,s];case 3:return[a,u,r];case 4:return[s,a,r];case 5:return[r,a,u]}},a.hsv.hsl=function(e){var t,n,r,i=e[0],o=e[1]/100,a=e[2]/100,u=Math.max(a,.01);return r=(2-o)*a,n=o*u,[i,100*(n=(n/=(t=(2-o)*u)<=1?t:2-t)||0),100*(r/=2)]},a.hwb.rgb=function(e){var t,n,r,i,o,a,u,s=e[0]/360,l=e[1]/100,c=e[2]/100,f=l+c;switch(f>1&&(l/=f,c/=f),r=6*s-(t=Math.floor(6*s)),0!=(1&t)&&(r=1-r),i=l+r*((n=1-c)-l),t){default:case 6:case 0:o=n,a=i,u=l;break;case 1:o=i,a=n,u=l;break;case 2:o=l,a=n,u=i;break;case 3:o=l,a=i,u=n;break;case 4:o=i,a=l,u=n;break;case 5:o=n,a=l,u=i}return[255*o,255*a,255*u]},a.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},a.xyz.rgb=function(e){var t,n,r,i=e[0]/100,o=e[1]/100,a=e[2]/100;return n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,t=(t=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},a.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},a.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),a=Math.pow(t,3),u=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=u>.008856?u:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},a.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},a.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},a.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],i=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var o=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(o+=60),o},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},a.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},a.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map(function(e){return e+e}).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},a.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,o=Math.max(Math.max(n,r),i),a=Math.min(Math.min(n,r),i),u=o-a;return t=u<=0?0:o===n?(r-i)/u%6:o===r?2+(i-n)/u:4+(n-r)/u+4,t/=6,[360*(t%=1),100*u,100*(u<1?a/(1-u):0)]},a.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},a.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},a.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,o=[0,0,0],a=t%1*6,u=a%1,s=1-u;switch(Math.floor(a)){case 0:o[0]=1,o[1]=u,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=u;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=u,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return i=(1-n)*r,[255*(n*o[0]+i),255*(n*o[1]+i),255*(n*o[2]+i)]},a.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},a.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},a.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},a.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},function(e,t,n){"use strict";e.exports=n(140)},function(e,t,n){"use strict";const r=n(43),i=["","›"],o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/,a=new Map([[0,0],[1,22],[2,22],[3,23],[4,24],[7,27],[8,28],[9,29],[30,39],[31,39],[32,39],[33,39],[34,39],[35,39],[36,39],[37,39],[90,39],[40,49],[41,49],[42,49],[43,49],[44,49],[45,49],[46,49],[47,49]]),u=e=>`${i[0]}[${e}m`;e.exports=(e,t,n)=>{const s=Array.from(e.normalize());n="number"==typeof n?n:s.length;let l,c=!1,f=0,h="";for(const d of s.entries()){const s=d[0],p=d[1];let m=!1;if(-1!==i.indexOf(p)){c=!0;const t=/\d[^m]*/.exec(e.slice(s,s+4));l=39===t?null:t}else c&&"m"===p&&(c=!1,m=!0);if(c||m||++f,!o.test(p)&&r(p.codePointAt())&&++f,f>t&&f<=n)h+=p;else if(f!==t||c||void 0===l||39===l){if(f>=n){void 0!==l&&(h+=u(a.get(parseInt(l,10))||39));break}}else h+=u(l)}return h}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(73))&&r.__esModule?r:{default:r};t.default=e=>{return{width:(0,i.default)(e),height:e.split("\n").length}}},function(e,t,n){"use strict";const r=n(74);e.exports=e=>{let t=0;for(const n of e.split("\n"))t=Math.max(t,r(n));return t}},function(e,t,n){"use strict";const r=n(154),i=n(43);e.exports=e=>{if("string"!=typeof e||0===e.length)return 0;e=r(e);let t=0;for(let n=0;n=127&&r<=159||(r>=768&&r<=879||(r>65535&&n++,t+=i(r)?2:1))}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(66)),i=o(n(157));function o(e){return e&&e.__esModule?e:{default:e}}t.default=(e,t,{textWrap:n}={})=>{if("wrap"===n)return(0,r.default)(e,t,{trim:!1,hard:!0});if(String(n).startsWith("truncate")){let r;return"truncate"!==n&&"truncate-end"!==n||(r="end"),"truncate-middle"===n&&(r="middle"),"truncate-start"===n&&(r="start"),(0,i.default)(e,t,{position:r})}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=e=>e.getComputedWidth()-2*e.getComputedPadding()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=new WeakMap;t.default=r},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=((r=n(0))&&r.__esModule?r:{default:r}).default.createContext({exit(){}});t.default=i},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=((r=n(0))&&r.__esModule?r:{default:r}).default.createContext({stdin:void 0,setRawMode:void 0});t.default=i},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=((r=n(0))&&r.__esModule?r:{default:r}).default.createContext({stdout:void 0});t.default=i},function(e,t){e.exports=require("os")},function(e,t,n){"use strict";var r,i,o,a=n(39),u=n(25),s=n(2),l=n(57),c=n(171),f=n(42),h=n(172),d=n(11),p=n(19),m=n(173),g=n(13),v=n(174),y=n(179),_=n(180),b=n(84).set,D=n(181),E=n(182),x=n(183),w=n(86),C=n(184),k=n(85),S=n(38),A=n(59),T=n(3)("species"),F="Promise",M=S.get,O=S.set,N=S.getterFor(F),P=s.Promise,R=s.TypeError,B=s.document,I=s.process,L=s.fetch,j=I&&I.versions,U=j&&j.v8||"",z=w.f,W=z,X="process"==g(I),H=!!(B&&B.createEvent&&s.dispatchEvent),G=A(F,function(){var e=P.resolve(1),t=function(){},n=(e.constructor={})[T]=function(e){e(t,t)};return!((X||"function"==typeof PromiseRejectionEvent)&&(!u||e.finally)&&e.then(t)instanceof n&&0!==U.indexOf("6.6")&&-1===k.indexOf("Chrome/66"))}),J=G||!y(function(e){P.all(e).catch(function(){})}),$=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},q=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;D(function(){for(var i=t.value,o=1==t.state,a=0;r.length>a;){var u,s,l,c=r[a++],f=o?c.ok:c.fail,h=c.resolve,d=c.reject,p=c.domain;try{f?(o||(2===t.rejection&&Z(e,t),t.rejection=1),!0===f?u=i:(p&&p.enter(),u=f(i),p&&(p.exit(),l=!0)),u===c.promise?d(R("Promise-chain cycle")):(s=$(u))?s.call(u,h,d):h(u)):d(i)}catch(e){p&&!l&&p.exit(),d(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&Y(e,t)})}},V=function(e,t,n){var r,i;H?((r=B.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),s.dispatchEvent(r)):r={promise:t,reason:n},(i=s["on"+e])?i(r):"unhandledrejection"===e&&x("Unhandled promise rejection",n)},Y=function(e,t){b.call(s,function(){var n,r=t.value;if(K(t)&&(n=C(function(){X?I.emit("unhandledRejection",r,e):V("unhandledrejection",e,r)}),t.rejection=X||K(t)?2:1,n.error))throw n.value})},K=function(e){return 1!==e.rejection&&!e.parent},Z=function(e,t){b.call(s,function(){X?I.emit("rejectionHandled",e):V("rejectionhandled",e,t.value)})},Q=function(e,t,n,r){return function(i){e(t,n,i,r)}},ee=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,q(e,t,!0))},te=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw R("Promise can't be resolved itself");var i=$(n);i?D(function(){var r={done:!1};try{i.call(n,Q(te,e,r,t),Q(ee,e,r,t))}catch(n){ee(e,r,n,t)}}):(t.value=n,t.state=1,q(e,t,!1))}catch(n){ee(e,{done:!1},n,t)}}};G&&(P=function(e){m(this,P,F),p(e),r.call(this);var t=M(this);try{e(Q(te,this,t),Q(ee,this,t))}catch(e){ee(this,t,e)}},(r=function(e){O(this,{type:F,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=c(P.prototype,{then:function(e,t){var n=N(this),r=z(_(this,P));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=X?I.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&q(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r,t=M(e);this.promise=e,this.resolve=Q(te,e,t),this.reject=Q(ee,e,t)},w.f=z=function(e){return e===P||e===o?new i(e):W(e)},u||"function"!=typeof L||a({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return E(P,L.apply(s,arguments))}})),a({global:!0,wrap:!0,forced:G},{Promise:P}),f(P,F,!1,!0),h(F),o=l.Promise,a({target:F,stat:!0,forced:G},{reject:function(e){var t=z(this);return t.reject.call(void 0,e),t.promise}}),a({target:F,stat:!0,forced:u||G},{resolve:function(e){return E(u&&this===o?P:this,e)}}),a({target:F,stat:!0,forced:J},{all:function(e){var t=this,n=z(t),r=n.resolve,i=n.reject,o=C(function(){var n=p(t.resolve),o=[],a=0,u=1;v(e,function(e){var s=a++,l=!1;o.push(void 0),u++,n.call(t,e).then(function(e){l||(l=!0,o[s]=e,--u||r(o))},i)}),--u||r(o)});return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=z(t),r=n.reject,i=C(function(){var i=p(t.resolve);v(e,function(e){i.call(t,e).then(n.resolve,r)})});return i.error&&r(i.value),n.promise}})},function(e,t,n){var r=n(19);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};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,i,o,a=n(2),u=n(7),s=n(13),l=n(83),c=n(56),f=n(32),h=a.location,d=a.setImmediate,p=a.clearImmediate,m=a.process,g=a.MessageChannel,v=a.Dispatch,y=0,_={},b=function(e){if(_.hasOwnProperty(e)){var t=_[e];delete _[e],t()}},D=function(e){return function(){b(e)}},E=function(e){b(e.data)},x=function(e){a.postMessage(e+"",h.protocol+"//"+h.host)};d&&p||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return _[++y]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(y),y},p=function(e){delete _[e]},"process"==s(m)?r=function(e){m.nextTick(D(e))}:v&&v.now?r=function(e){v.now(D(e))}:g?(o=(i=new g).port2,i.port1.onmessage=E,r=l(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||u(x)?r="onreadystatechange"in f("script")?function(e){c.appendChild(f("script")).onreadystatechange=function(){c.removeChild(this),b(e)}}:function(e){setTimeout(D(e),0)}:(r=x,a.addEventListener("message",E,!1))),e.exports={set:d,clear:p}},function(e,t,n){var r=n(27);e.exports=r("navigator","userAgent")||""},function(e,t,n){"use strict";var r=n(19),i=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},function(e,t,n){var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(3),o=n(8),a=n(15);function u(e,t,n){var a=null,u=function(e,t){n&&n(e,t),a&&a.visit(e,t)},s="function"==typeof n?u:null,l=!1;if(t){l="boolean"==typeof t.comment&&t.comment;var c="boolean"==typeof t.attachComment&&t.attachComment;(l||c)&&((a=new r.CommentHandler).attach=c,t.comment=!0,s=u)}var f,h=!1;t&&"string"==typeof t.sourceType&&(h="module"===t.sourceType),f=t&&"boolean"==typeof t.jsx&&t.jsx?new i.JSXParser(e,t,s):new o.Parser(e,t,s);var d=h?f.parseModule():f.parseScript();return l&&a&&(d.comments=a.comments),f.config.tokens&&(d.tokens=f.tokens),f.config.tolerant&&(d.errors=f.errorHandler.errors),d}t.parse=u,t.parseModule=function(e,t,n){var r=t||{};return r.sourceType="module",u(e,r,n)},t.parseScript=function(e,t,n){var r=t||{};return r.sourceType="script",u(e,r,n)},t.tokenize=function(e,t,n){var r,i=new a.Tokenizer(e,t);r=[];try{for(;;){var o=i.getNextToken();if(!o)break;n&&(o=n(o)),r.push(o)}}catch(e){i.errorHandler.tolerate(e)}return i.errorHandler.tolerant&&(r.errors=i.errors()),r};var s=n(2);t.Syntax=s.Syntax,t.version="4.0.1"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=function(){function e(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return e.prototype.insertInnerComments=function(e,t){if(e.type===r.Syntax.BlockStatement&&0===e.body.length){for(var n=[],i=this.leading.length-1;i>=0;--i){var o=this.leading[i];t.end.offset>=o.start&&(n.unshift(o.comment),this.leading.splice(i,1),this.trailing.splice(i,1))}n.length&&(e.innerComments=n)}},e.prototype.findTrailingComments=function(e){var t=[];if(this.trailing.length>0){for(var n=this.trailing.length-1;n>=0;--n){var r=this.trailing[n];r.start>=e.end.offset&&t.unshift(r.comment)}return this.trailing.length=0,t}var i=this.stack[this.stack.length-1];if(i&&i.node.trailingComments){var o=i.node.trailingComments[0];o&&o.range[0]>=e.end.offset&&(t=i.node.trailingComments,delete i.node.trailingComments)}return t},e.prototype.findLeadingComments=function(e){for(var t,n=[];this.stack.length>0;){if(!((o=this.stack[this.stack.length-1])&&o.start>=e.start.offset))break;t=o.node,this.stack.pop()}if(t){for(var r=(t.leadingComments?t.leadingComments.length:0)-1;r>=0;--r){var i=t.leadingComments[r];i.range[1]<=e.start.offset&&(n.unshift(i),t.leadingComments.splice(r,1))}return t.leadingComments&&0===t.leadingComments.length&&delete t.leadingComments,n}for(r=this.leading.length-1;r>=0;--r){var o;(o=this.leading[r]).start<=e.start.offset&&(n.unshift(o.comment),this.leading.splice(r,1))}return n},e.prototype.visitNode=function(e,t){if(!(e.type===r.Syntax.Program&&e.body.length>0)){this.insertInnerComments(e,t);var n=this.findTrailingComments(t),i=this.findLeadingComments(t);i.length>0&&(e.leadingComments=i),n.length>0&&(e.trailingComments=n),this.stack.push({node:e,start:t.start.offset})}},e.prototype.visitComment=function(e,t){var n="L"===e.type[0]?"Line":"Block",r={type:n,value:e.value};if(e.range&&(r.range=e.range),e.loc&&(r.loc=e.loc),this.comments.push(r),this.attach){var i={comment:{type:n,value:e.value,range:[t.start.offset,t.end.offset]},start:t.start.offset};e.loc&&(i.comment.loc=e.loc),e.type=n,this.leading.push(i),this.trailing.push(i)}},e.prototype.visit=function(e,t){"LineComment"===e.type?this.visitComment(e,t):"BlockComment"===e.type?this.visitComment(e,t):this.attach&&this.visitNode(e,t)},e}();t.CommentHandler=i},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=n(4),a=n(5),u=n(6),s=n(7),l=n(8),c=n(13),f=n(14);function h(e){var t;switch(e.type){case u.JSXSyntax.JSXIdentifier:t=e.name;break;case u.JSXSyntax.JSXNamespacedName:var n=e;t=h(n.namespace)+":"+h(n.name);break;case u.JSXSyntax.JSXMemberExpression:var r=e;t=h(r.object)+"."+h(r.property)}return t}c.TokenName[100]="JSXIdentifier",c.TokenName[101]="JSXText";var d=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}return i(t,e),t.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():e.prototype.parsePrimaryExpression.call(this)},t.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},t.prototype.finishJSX=function(){this.nextToken()},t.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},t.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},t.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},t.prototype.scanXHTMLEntity=function(e){for(var t="&",n=!0,r=!1,i=!1,a=!1;!this.scanner.eof()&&n&&!r;){var u=this.scanner.source[this.scanner.index];if(u===e)break;if(r=";"===u,t+=u,++this.scanner.index,!r)switch(t.length){case 2:i="#"===u;break;case 3:i&&(n=(a="x"===u)||o.Character.isDecimalDigit(u.charCodeAt(0)),i=i&&!a);break;default:n=(n=n&&!(i&&!o.Character.isDecimalDigit(u.charCodeAt(0))))&&!(a&&!o.Character.isHexDigit(u.charCodeAt(0)))}}if(n&&r&&t.length>2){var s=t.substr(1,t.length-2);i&&s.length>1?t=String.fromCharCode(parseInt(s.substr(1),10)):a&&s.length>2?t=String.fromCharCode(parseInt("0"+s.substr(1),16)):i||a||!f.XHTMLEntities[s]||(t=f.XHTMLEntities[s])}return t},t.prototype.lexJSX=function(){var e=this.scanner.source.charCodeAt(this.scanner.index);if(60===e||62===e||47===e||58===e||61===e||123===e||125===e)return{type:7,value:u=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(34===e||39===e){for(var t=this.scanner.index,n=this.scanner.source[this.scanner.index++],r="";!this.scanner.eof();){if((s=this.scanner.source[this.scanner.index++])===n)break;r+="&"===s?this.scanXHTMLEntity(n):s}return{type:8,value:r,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:t,end:this.scanner.index}}if(46===e){var i=this.scanner.source.charCodeAt(this.scanner.index+1),a=this.scanner.source.charCodeAt(this.scanner.index+2),u=46===i&&46===a?"...":".";t=this.scanner.index;return this.scanner.index+=u.length,{type:7,value:u,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:t,end:this.scanner.index}}if(96===e)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(o.Character.isIdentifierStart(e)&&92!==e){t=this.scanner.index;for(++this.scanner.index;!this.scanner.eof();){var s=this.scanner.source.charCodeAt(this.scanner.index);if(o.Character.isIdentifierPart(s)&&92!==s)++this.scanner.index;else{if(45!==s)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(t,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:t,end:this.scanner.index}}return this.scanner.lex()},t.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var e=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(e)),e},t.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var e=this.scanner.index,t="";!this.scanner.eof();){var n=this.scanner.source[this.scanner.index];if("{"===n||"<"===n)break;++this.scanner.index,t+=n,o.Character.isLineTerminator(n.charCodeAt(0))&&(++this.scanner.lineNumber,"\r"===n&&"\n"===this.scanner.source[this.scanner.index]&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var r={type:101,value:t,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:e,end:this.scanner.index};return t.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(r)),r},t.prototype.peekJSXToken=function(){var e=this.scanner.saveState();this.scanner.scanComments();var t=this.lexJSX();return this.scanner.restoreState(e),t},t.prototype.expectJSX=function(e){var t=this.nextJSXToken();7===t.type&&t.value===e||this.throwUnexpectedToken(t)},t.prototype.matchJSX=function(e){var t=this.peekJSXToken();return 7===t.type&&t.value===e},t.prototype.parseJSXIdentifier=function(){var e=this.createJSXNode(),t=this.nextJSXToken();return 100!==t.type&&this.throwUnexpectedToken(t),this.finalize(e,new a.JSXIdentifier(t.value))},t.prototype.parseJSXElementName=function(){var e=this.createJSXNode(),t=this.parseJSXIdentifier();if(this.matchJSX(":")){var n=t;this.expectJSX(":");var r=this.parseJSXIdentifier();t=this.finalize(e,new a.JSXNamespacedName(n,r))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var i=t;this.expectJSX(".");var o=this.parseJSXIdentifier();t=this.finalize(e,new a.JSXMemberExpression(i,o))}return t},t.prototype.parseJSXAttributeName=function(){var e,t=this.createJSXNode(),n=this.parseJSXIdentifier();if(this.matchJSX(":")){var r=n;this.expectJSX(":");var i=this.parseJSXIdentifier();e=this.finalize(t,new a.JSXNamespacedName(r,i))}else e=n;return e},t.prototype.parseJSXStringLiteralAttribute=function(){var e=this.createJSXNode(),t=this.nextJSXToken();8!==t.type&&this.throwUnexpectedToken(t);var n=this.getTokenRaw(t);return this.finalize(e,new s.Literal(t.value,n))},t.prototype.parseJSXExpressionAttribute=function(){var e=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var t=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(e,new a.JSXExpressionContainer(t))},t.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},t.prototype.parseJSXNameValueAttribute=function(){var e=this.createJSXNode(),t=this.parseJSXAttributeName(),n=null;return this.matchJSX("=")&&(this.expectJSX("="),n=this.parseJSXAttributeValue()),this.finalize(e,new a.JSXAttribute(t,n))},t.prototype.parseJSXSpreadAttribute=function(){var e=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var t=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(e,new a.JSXSpreadAttribute(t))},t.prototype.parseJSXAttributes=function(){for(var e=[];!this.matchJSX("/")&&!this.matchJSX(">");){var t=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();e.push(t)}return e},t.prototype.parseJSXOpeningElement=function(){var e=this.createJSXNode();this.expectJSX("<");var t=this.parseJSXElementName(),n=this.parseJSXAttributes(),r=this.matchJSX("/");return r&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(e,new a.JSXOpeningElement(t,r,n))},t.prototype.parseJSXBoundaryElement=function(){var e=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var t=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(e,new a.JSXClosingElement(t))}var n=this.parseJSXElementName(),r=this.parseJSXAttributes(),i=this.matchJSX("/");return i&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(e,new a.JSXOpeningElement(n,i,r))},t.prototype.parseJSXEmptyExpression=function(){var e=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(e,new a.JSXEmptyExpression)},t.prototype.parseJSXExpressionContainer=function(){var e,t=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(e=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),e=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(t,new a.JSXExpressionContainer(e))},t.prototype.parseJSXChildren=function(){for(var e=[];!this.scanner.eof();){var t=this.createJSXChildNode(),n=this.nextJSXText();if(n.start0))break;o=this.finalize(e.node,new a.JSXElement(e.opening,e.children,e.closing));(e=t[t.length-1]).children.push(o),t.pop()}}return e},t.prototype.parseJSXElement=function(){var e=this.createJSXNode(),t=this.parseJSXOpeningElement(),n=[],r=null;if(!t.selfClosing){var i=this.parseComplexJSXElement({node:e,opening:t,closing:r,children:n});n=i.children,r=i.closing}return this.finalize(e,new a.JSXElement(t,n,r))},t.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var e=this.parseJSXElement();return this.finishJSX(),e},t.prototype.isStartOfExpression=function(){return e.prototype.isStartOfExpression.call(this)||this.match("<")},t}(l.Parser);t.JSXParser=d},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};t.Character={fromCodePoint:function(e){return e<65536?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10))+String.fromCharCode(56320+(e-65536&1023))},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStart:function(e){return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||92===e||e>=128&&n.NonAsciiIdentifierStart.test(t.Character.fromCodePoint(e))},isIdentifierPart:function(e){return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||92===e||e>=128&&n.NonAsciiIdentifierPart.test(t.Character.fromCodePoint(e))},isDecimalDigit:function(e){return e>=48&&e<=57},isHexDigit:function(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102},isOctalDigit:function(e){return e>=48&&e<=55}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),i=function(e){this.type=r.JSXSyntax.JSXClosingElement,this.name=e};t.JSXClosingElement=i;var o=function(e,t,n){this.type=r.JSXSyntax.JSXElement,this.openingElement=e,this.children=t,this.closingElement=n};t.JSXElement=o;var a=function(){this.type=r.JSXSyntax.JSXEmptyExpression};t.JSXEmptyExpression=a;var u=function(e){this.type=r.JSXSyntax.JSXExpressionContainer,this.expression=e};t.JSXExpressionContainer=u;var s=function(e){this.type=r.JSXSyntax.JSXIdentifier,this.name=e};t.JSXIdentifier=s;var l=function(e,t){this.type=r.JSXSyntax.JSXMemberExpression,this.object=e,this.property=t};t.JSXMemberExpression=l;var c=function(e,t){this.type=r.JSXSyntax.JSXAttribute,this.name=e,this.value=t};t.JSXAttribute=c;var f=function(e,t){this.type=r.JSXSyntax.JSXNamespacedName,this.namespace=e,this.name=t};t.JSXNamespacedName=f;var h=function(e,t,n){this.type=r.JSXSyntax.JSXOpeningElement,this.name=e,this.selfClosing=t,this.attributes=n};t.JSXOpeningElement=h;var d=function(e){this.type=r.JSXSyntax.JSXSpreadAttribute,this.argument=e};t.JSXSpreadAttribute=d;var p=function(e,t){this.type=r.JSXSyntax.JSXText,this.value=e,this.raw=t};t.JSXText=p},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=function(e){this.type=r.Syntax.ArrayExpression,this.elements=e};t.ArrayExpression=i;var o=function(e){this.type=r.Syntax.ArrayPattern,this.elements=e};t.ArrayPattern=o;var a=function(e,t,n){this.type=r.Syntax.ArrowFunctionExpression,this.id=null,this.params=e,this.body=t,this.generator=!1,this.expression=n,this.async=!1};t.ArrowFunctionExpression=a;var u=function(e,t,n){this.type=r.Syntax.AssignmentExpression,this.operator=e,this.left=t,this.right=n};t.AssignmentExpression=u;var s=function(e,t){this.type=r.Syntax.AssignmentPattern,this.left=e,this.right=t};t.AssignmentPattern=s;var l=function(e,t,n){this.type=r.Syntax.ArrowFunctionExpression,this.id=null,this.params=e,this.body=t,this.generator=!1,this.expression=n,this.async=!0};t.AsyncArrowFunctionExpression=l;var c=function(e,t,n){this.type=r.Syntax.FunctionDeclaration,this.id=e,this.params=t,this.body=n,this.generator=!1,this.expression=!1,this.async=!0};t.AsyncFunctionDeclaration=c;var f=function(e,t,n){this.type=r.Syntax.FunctionExpression,this.id=e,this.params=t,this.body=n,this.generator=!1,this.expression=!1,this.async=!0};t.AsyncFunctionExpression=f;var h=function(e){this.type=r.Syntax.AwaitExpression,this.argument=e};t.AwaitExpression=h;var d=function(e,t,n){var i="||"===e||"&&"===e;this.type=i?r.Syntax.LogicalExpression:r.Syntax.BinaryExpression,this.operator=e,this.left=t,this.right=n};t.BinaryExpression=d;var p=function(e){this.type=r.Syntax.BlockStatement,this.body=e};t.BlockStatement=p;var m=function(e){this.type=r.Syntax.BreakStatement,this.label=e};t.BreakStatement=m;var g=function(e,t){this.type=r.Syntax.CallExpression,this.callee=e,this.arguments=t};t.CallExpression=g;var v=function(e,t){this.type=r.Syntax.CatchClause,this.param=e,this.body=t};t.CatchClause=v;var y=function(e){this.type=r.Syntax.ClassBody,this.body=e};t.ClassBody=y;var _=function(e,t,n){this.type=r.Syntax.ClassDeclaration,this.id=e,this.superClass=t,this.body=n};t.ClassDeclaration=_;var b=function(e,t,n){this.type=r.Syntax.ClassExpression,this.id=e,this.superClass=t,this.body=n};t.ClassExpression=b;var D=function(e,t){this.type=r.Syntax.MemberExpression,this.computed=!0,this.object=e,this.property=t};t.ComputedMemberExpression=D;var E=function(e,t,n){this.type=r.Syntax.ConditionalExpression,this.test=e,this.consequent=t,this.alternate=n};t.ConditionalExpression=E;var x=function(e){this.type=r.Syntax.ContinueStatement,this.label=e};t.ContinueStatement=x;var w=function(){this.type=r.Syntax.DebuggerStatement};t.DebuggerStatement=w;var C=function(e,t){this.type=r.Syntax.ExpressionStatement,this.expression=e,this.directive=t};t.Directive=C;var k=function(e,t){this.type=r.Syntax.DoWhileStatement,this.body=e,this.test=t};t.DoWhileStatement=k;var S=function(){this.type=r.Syntax.EmptyStatement};t.EmptyStatement=S;var A=function(e){this.type=r.Syntax.ExportAllDeclaration,this.source=e};t.ExportAllDeclaration=A;var T=function(e){this.type=r.Syntax.ExportDefaultDeclaration,this.declaration=e};t.ExportDefaultDeclaration=T;var F=function(e,t,n){this.type=r.Syntax.ExportNamedDeclaration,this.declaration=e,this.specifiers=t,this.source=n};t.ExportNamedDeclaration=F;var M=function(e,t){this.type=r.Syntax.ExportSpecifier,this.exported=t,this.local=e};t.ExportSpecifier=M;var O=function(e){this.type=r.Syntax.ExpressionStatement,this.expression=e};t.ExpressionStatement=O;var N=function(e,t,n){this.type=r.Syntax.ForInStatement,this.left=e,this.right=t,this.body=n,this.each=!1};t.ForInStatement=N;var P=function(e,t,n){this.type=r.Syntax.ForOfStatement,this.left=e,this.right=t,this.body=n};t.ForOfStatement=P;var R=function(e,t,n,i){this.type=r.Syntax.ForStatement,this.init=e,this.test=t,this.update=n,this.body=i};t.ForStatement=R;var B=function(e,t,n,i){this.type=r.Syntax.FunctionDeclaration,this.id=e,this.params=t,this.body=n,this.generator=i,this.expression=!1,this.async=!1};t.FunctionDeclaration=B;var I=function(e,t,n,i){this.type=r.Syntax.FunctionExpression,this.id=e,this.params=t,this.body=n,this.generator=i,this.expression=!1,this.async=!1};t.FunctionExpression=I;var L=function(e){this.type=r.Syntax.Identifier,this.name=e};t.Identifier=L;var j=function(e,t,n){this.type=r.Syntax.IfStatement,this.test=e,this.consequent=t,this.alternate=n};t.IfStatement=j;var U=function(e,t){this.type=r.Syntax.ImportDeclaration,this.specifiers=e,this.source=t};t.ImportDeclaration=U;var z=function(e){this.type=r.Syntax.ImportDefaultSpecifier,this.local=e};t.ImportDefaultSpecifier=z;var W=function(e){this.type=r.Syntax.ImportNamespaceSpecifier,this.local=e};t.ImportNamespaceSpecifier=W;var X=function(e,t){this.type=r.Syntax.ImportSpecifier,this.local=e,this.imported=t};t.ImportSpecifier=X;var H=function(e,t){this.type=r.Syntax.LabeledStatement,this.label=e,this.body=t};t.LabeledStatement=H;var G=function(e,t){this.type=r.Syntax.Literal,this.value=e,this.raw=t};t.Literal=G;var J=function(e,t){this.type=r.Syntax.MetaProperty,this.meta=e,this.property=t};t.MetaProperty=J;var $=function(e,t,n,i,o){this.type=r.Syntax.MethodDefinition,this.key=e,this.computed=t,this.value=n,this.kind=i,this.static=o};t.MethodDefinition=$;var q=function(e){this.type=r.Syntax.Program,this.body=e,this.sourceType="module"};t.Module=q;var V=function(e,t){this.type=r.Syntax.NewExpression,this.callee=e,this.arguments=t};t.NewExpression=V;var Y=function(e){this.type=r.Syntax.ObjectExpression,this.properties=e};t.ObjectExpression=Y;var K=function(e){this.type=r.Syntax.ObjectPattern,this.properties=e};t.ObjectPattern=K;var Z=function(e,t,n,i,o,a){this.type=r.Syntax.Property,this.key=t,this.computed=n,this.value=i,this.kind=e,this.method=o,this.shorthand=a};t.Property=Z;var Q=function(e,t,n,i){this.type=r.Syntax.Literal,this.value=e,this.raw=t,this.regex={pattern:n,flags:i}};t.RegexLiteral=Q;var ee=function(e){this.type=r.Syntax.RestElement,this.argument=e};t.RestElement=ee;var te=function(e){this.type=r.Syntax.ReturnStatement,this.argument=e};t.ReturnStatement=te;var ne=function(e){this.type=r.Syntax.Program,this.body=e,this.sourceType="script"};t.Script=ne;var re=function(e){this.type=r.Syntax.SequenceExpression,this.expressions=e};t.SequenceExpression=re;var ie=function(e){this.type=r.Syntax.SpreadElement,this.argument=e};t.SpreadElement=ie;var oe=function(e,t){this.type=r.Syntax.MemberExpression,this.computed=!1,this.object=e,this.property=t};t.StaticMemberExpression=oe;var ae=function(){this.type=r.Syntax.Super};t.Super=ae;var ue=function(e,t){this.type=r.Syntax.SwitchCase,this.test=e,this.consequent=t};t.SwitchCase=ue;var se=function(e,t){this.type=r.Syntax.SwitchStatement,this.discriminant=e,this.cases=t};t.SwitchStatement=se;var le=function(e,t){this.type=r.Syntax.TaggedTemplateExpression,this.tag=e,this.quasi=t};t.TaggedTemplateExpression=le;var ce=function(e,t){this.type=r.Syntax.TemplateElement,this.value=e,this.tail=t};t.TemplateElement=ce;var fe=function(e,t){this.type=r.Syntax.TemplateLiteral,this.quasis=e,this.expressions=t};t.TemplateLiteral=fe;var he=function(){this.type=r.Syntax.ThisExpression};t.ThisExpression=he;var de=function(e){this.type=r.Syntax.ThrowStatement,this.argument=e};t.ThrowStatement=de;var pe=function(e,t,n){this.type=r.Syntax.TryStatement,this.block=e,this.handler=t,this.finalizer=n};t.TryStatement=pe;var me=function(e,t){this.type=r.Syntax.UnaryExpression,this.operator=e,this.argument=t,this.prefix=!0};t.UnaryExpression=me;var ge=function(e,t,n){this.type=r.Syntax.UpdateExpression,this.operator=e,this.argument=t,this.prefix=n};t.UpdateExpression=ge;var ve=function(e,t){this.type=r.Syntax.VariableDeclaration,this.declarations=e,this.kind=t};t.VariableDeclaration=ve;var ye=function(e,t){this.type=r.Syntax.VariableDeclarator,this.id=e,this.init=t};t.VariableDeclarator=ye;var _e=function(e,t){this.type=r.Syntax.WhileStatement,this.test=e,this.body=t};t.WhileStatement=_e;var be=function(e,t){this.type=r.Syntax.WithStatement,this.object=e,this.body=t};t.WithStatement=be;var De=function(e,t){this.type=r.Syntax.YieldExpression,this.argument=e,this.delegate=t};t.YieldExpression=De},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9),i=n(10),o=n(11),a=n(7),u=n(12),s=n(2),l=n(13),c=function(){function e(e,t,n){void 0===t&&(t={}),this.config={range:"boolean"==typeof t.range&&t.range,loc:"boolean"==typeof t.loc&&t.loc,source:null,tokens:"boolean"==typeof t.tokens&&t.tokens,comment:"boolean"==typeof t.comment&&t.comment,tolerant:"boolean"==typeof t.tolerant&&t.tolerant},this.config.loc&&t.source&&null!==t.source&&(this.config.source=String(t.source)),this.delegate=n,this.errorHandler=new i.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new u.Scanner(e,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return e.prototype.throwError=function(e){for(var t=[],n=1;n0&&this.delegate)for(var t=0;t>="===e||">>>="===e||"&="===e||"^="===e||"|="===e},e.prototype.isolateCoverGrammar=function(e){var t=this.context.isBindingElement,n=this.context.isAssignmentTarget,r=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var i=e.call(this);return null!==this.context.firstCoverInitializedNameError&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=t,this.context.isAssignmentTarget=n,this.context.firstCoverInitializedNameError=r,i},e.prototype.inheritCoverGrammar=function(e){var t=this.context.isBindingElement,n=this.context.isAssignmentTarget,r=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var i=e.call(this);return this.context.isBindingElement=this.context.isBindingElement&&t,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&n,this.context.firstCoverInitializedNameError=r||this.context.firstCoverInitializedNameError,i},e.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(2===this.lookahead.type||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},e.prototype.parsePrimaryExpression=function(){var e,t,n,r=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&"await"===this.lookahead.value&&this.tolerateUnexpectedToken(this.lookahead),e=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(r,new a.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,o.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,t=this.nextToken(),n=this.getTokenRaw(t),e=this.finalize(r,new a.Literal(t.value,n));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,t=this.nextToken(),n=this.getTokenRaw(t),e=this.finalize(r,new a.Literal("true"===t.value,n));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,t=this.nextToken(),n=this.getTokenRaw(t),e=this.finalize(r,new a.Literal(null,n));break;case 10:e=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,e=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":e=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":e=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,t=this.nextRegexToken(),n=this.getTokenRaw(t),e=this.finalize(r,new a.RegexLiteral(t.regex,n,t.pattern,t.flags));break;default:e=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?e=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?e=this.finalize(r,new a.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?e=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),e=this.finalize(r,new a.ThisExpression)):e=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:e=this.throwUnexpectedToken(this.nextToken())}return e},e.prototype.parseSpreadElement=function(){var e=this.createNode();this.expect("...");var t=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(e,new a.SpreadElement(t))},e.prototype.parseArrayInitializer=function(){var e=this.createNode(),t=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),t.push(null);else if(this.match("...")){var n=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),t.push(n)}else t.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(e,new a.ArrayExpression(t))},e.prototype.parsePropertyMethod=function(e){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var t=this.context.strict,n=this.context.allowStrictDirective;this.context.allowStrictDirective=e.simple;var r=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&e.firstRestricted&&this.tolerateUnexpectedToken(e.firstRestricted,e.message),this.context.strict&&e.stricted&&this.tolerateUnexpectedToken(e.stricted,e.message),this.context.strict=t,this.context.allowStrictDirective=n,r},e.prototype.parsePropertyMethodFunction=function(){var e=this.createNode(),t=this.context.allowYield;this.context.allowYield=!0;var n=this.parseFormalParameters(),r=this.parsePropertyMethod(n);return this.context.allowYield=t,this.finalize(e,new a.FunctionExpression(null,n.params,r,!1))},e.prototype.parsePropertyMethodAsyncFunction=function(){var e=this.createNode(),t=this.context.allowYield,n=this.context.await;this.context.allowYield=!1,this.context.await=!0;var r=this.parseFormalParameters(),i=this.parsePropertyMethod(r);return this.context.allowYield=t,this.context.await=n,this.finalize(e,new a.AsyncFunctionExpression(null,r.params,i))},e.prototype.parseObjectPropertyKey=function(){var e,t=this.createNode(),n=this.nextToken();switch(n.type){case 8:case 6:this.context.strict&&n.octal&&this.tolerateUnexpectedToken(n,o.Messages.StrictOctalLiteral);var r=this.getTokenRaw(n);e=this.finalize(t,new a.Literal(n.value,r));break;case 3:case 1:case 5:case 4:e=this.finalize(t,new a.Identifier(n.value));break;case 7:"["===n.value?(e=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):e=this.throwUnexpectedToken(n);break;default:e=this.throwUnexpectedToken(n)}return e},e.prototype.isPropertyKey=function(e,t){return e.type===s.Syntax.Identifier&&e.name===t||e.type===s.Syntax.Literal&&e.value===t},e.prototype.parseObjectProperty=function(e){var t,n=this.createNode(),r=this.lookahead,i=null,u=null,s=!1,l=!1,c=!1,f=!1;if(3===r.type){var h=r.value;this.nextToken(),s=this.match("["),i=(f=!(this.hasLineTerminator||"async"!==h||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(n,new a.Identifier(h))}else this.match("*")?this.nextToken():(s=this.match("["),i=this.parseObjectPropertyKey());var d=this.qualifiedPropertyName(this.lookahead);if(3===r.type&&!f&&"get"===r.value&&d)t="get",s=this.match("["),i=this.parseObjectPropertyKey(),this.context.allowYield=!1,u=this.parseGetterMethod();else if(3===r.type&&!f&&"set"===r.value&&d)t="set",s=this.match("["),i=this.parseObjectPropertyKey(),u=this.parseSetterMethod();else if(7===r.type&&"*"===r.value&&d)t="init",s=this.match("["),i=this.parseObjectPropertyKey(),u=this.parseGeneratorMethod(),l=!0;else if(i||this.throwUnexpectedToken(this.lookahead),t="init",this.match(":")&&!f)!s&&this.isPropertyKey(i,"__proto__")&&(e.value&&this.tolerateError(o.Messages.DuplicateProtoProperty),e.value=!0),this.nextToken(),u=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))u=f?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),l=!0;else if(3===r.type){h=this.finalize(n,new a.Identifier(r.value));if(this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),c=!0;var p=this.isolateCoverGrammar(this.parseAssignmentExpression);u=this.finalize(n,new a.AssignmentPattern(h,p))}else c=!0,u=h}else this.throwUnexpectedToken(this.nextToken());return this.finalize(n,new a.Property(t,i,s,u,l,c))},e.prototype.parseObjectInitializer=function(){var e=this.createNode();this.expect("{");for(var t=[],n={value:!1};!this.match("}");)t.push(this.parseObjectProperty(n)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(e,new a.ObjectExpression(t))},e.prototype.parseTemplateHead=function(){r.assert(this.lookahead.head,"Template literal must start with a template head");var e=this.createNode(),t=this.nextToken(),n=t.value,i=t.cooked;return this.finalize(e,new a.TemplateElement({raw:n,cooked:i},t.tail))},e.prototype.parseTemplateElement=function(){10!==this.lookahead.type&&this.throwUnexpectedToken();var e=this.createNode(),t=this.nextToken(),n=t.value,r=t.cooked;return this.finalize(e,new a.TemplateElement({raw:n,cooked:r},t.tail))},e.prototype.parseTemplateLiteral=function(){var e=this.createNode(),t=[],n=[],r=this.parseTemplateHead();for(n.push(r);!r.tail;)t.push(this.parseExpression()),r=this.parseTemplateElement(),n.push(r);return this.finalize(e,new a.TemplateLiteral(n,t))},e.prototype.reinterpretExpressionAsPattern=function(e){switch(e.type){case s.Syntax.Identifier:case s.Syntax.MemberExpression:case s.Syntax.RestElement:case s.Syntax.AssignmentPattern:break;case s.Syntax.SpreadElement:e.type=s.Syntax.RestElement,this.reinterpretExpressionAsPattern(e.argument);break;case s.Syntax.ArrayExpression:e.type=s.Syntax.ArrayPattern;for(var t=0;t")||this.expect("=>"),e={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var t=this.lookahead,n=[];if(this.match("..."))e=this.parseRestElement(n),this.expect(")"),this.match("=>")||this.expect("=>"),e={type:"ArrowParameterPlaceHolder",params:[e],async:!1};else{var r=!1;if(this.context.isBindingElement=!0,e=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var i=[];for(this.context.isAssignmentTarget=!1,i.push(e);2!==this.lookahead.type&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var o=0;o")||this.expect("=>"),this.context.isBindingElement=!1;for(o=0;o")&&(e.type===s.Syntax.Identifier&&"yield"===e.name&&(r=!0,e={type:"ArrowParameterPlaceHolder",params:[e],async:!1}),!r)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),e.type===s.Syntax.SequenceExpression)for(o=0;o")){for(var s=0;s0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var i=[e,this.lookahead],o=t,u=this.isolateCoverGrammar(this.parseExponentiationExpression),s=[o,n.value,u],l=[r];!((r=this.binaryPrecedence(this.lookahead))<=0);){for(;s.length>2&&r<=l[l.length-1];){u=s.pop();var c=s.pop();l.pop(),o=s.pop(),i.pop();var f=this.startNode(i[i.length-1]);s.push(this.finalize(f,new a.BinaryExpression(c,o,u)))}s.push(this.nextToken().value),l.push(r),i.push(this.lookahead),s.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var h=s.length-1;t=s[h];for(var d=i.pop();h>1;){var p=i.pop(),m=d&&d.lineStart;f=this.startNode(p,m),c=s[h-1];t=this.finalize(f,new a.BinaryExpression(c,s[h-2],t)),h-=2,d=p}}return t},e.prototype.parseConditionalExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var n=this.context.allowIn;this.context.allowIn=!0;var r=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=n,this.expect(":");var i=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new a.ConditionalExpression(t,r,i)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return t},e.prototype.checkPatternParam=function(e,t){switch(t.type){case s.Syntax.Identifier:this.validateParam(e,t,t.name);break;case s.Syntax.RestElement:this.checkPatternParam(e,t.argument);break;case s.Syntax.AssignmentPattern:this.checkPatternParam(e,t.left);break;case s.Syntax.ArrayPattern:for(var n=0;n")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var i=e.async,u=this.reinterpretAsCoverFormalsList(e);if(u){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var l=this.context.strict,c=this.context.allowStrictDirective;this.context.allowStrictDirective=u.simple;var f=this.context.allowYield,h=this.context.await;this.context.allowYield=!0,this.context.await=i;var d=this.startNode(t);this.expect("=>");var p=void 0;if(this.match("{")){var m=this.context.allowIn;this.context.allowIn=!0,p=this.parseFunctionSourceElements(),this.context.allowIn=m}else p=this.isolateCoverGrammar(this.parseAssignmentExpression);var g=p.type!==s.Syntax.BlockStatement;this.context.strict&&u.firstRestricted&&this.throwUnexpectedToken(u.firstRestricted,u.message),this.context.strict&&u.stricted&&this.tolerateUnexpectedToken(u.stricted,u.message),e=i?this.finalize(d,new a.AsyncArrowFunctionExpression(u.params,p,g)):this.finalize(d,new a.ArrowFunctionExpression(u.params,p,g)),this.context.strict=l,this.context.allowStrictDirective=c,this.context.allowYield=f,this.context.await=h}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(o.Messages.InvalidLHSInAssignment),this.context.strict&&e.type===s.Syntax.Identifier){var v=e;this.scanner.isRestrictedWord(v.name)&&this.tolerateUnexpectedToken(n,o.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(v.name)&&this.tolerateUnexpectedToken(n,o.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(e):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var y=(n=this.nextToken()).value,_=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new a.AssignmentExpression(y,e,_)),this.context.firstCoverInitializedNameError=null}}return e},e.prototype.parseExpression=function(){var e=this.lookahead,t=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var n=[];for(n.push(t);2!==this.lookahead.type&&this.match(",");)this.nextToken(),n.push(this.isolateCoverGrammar(this.parseAssignmentExpression));t=this.finalize(this.startNode(e),new a.SequenceExpression(n))}return t},e.prototype.parseStatementListItem=function(){var e;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,4===this.lookahead.type)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,o.Messages.IllegalExportDeclaration),e=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,o.Messages.IllegalImportDeclaration),e=this.parseImportDeclaration();break;case"const":e=this.parseLexicalDeclaration({inFor:!1});break;case"function":e=this.parseFunctionDeclaration();break;case"class":e=this.parseClassDeclaration();break;case"let":e=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:e=this.parseStatement()}else e=this.parseStatement();return e},e.prototype.parseBlock=function(){var e=this.createNode();this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseStatementListItem());return this.expect("}"),this.finalize(e,new a.BlockStatement(t))},e.prototype.parseLexicalBinding=function(e,t){var n=this.createNode(),r=this.parsePattern([],e);this.context.strict&&r.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(r.name)&&this.tolerateError(o.Messages.StrictVarName);var i=null;return"const"===e?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),i=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(o.Messages.DeclarationMissingInitializer,"const")):(!t.inFor&&r.type!==s.Syntax.Identifier||this.match("="))&&(this.expect("="),i=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(n,new a.VariableDeclarator(r,i))},e.prototype.parseBindingList=function(e,t){for(var n=[this.parseLexicalBinding(e,t)];this.match(",");)this.nextToken(),n.push(this.parseLexicalBinding(e,t));return n},e.prototype.isLexicalDeclaration=function(){var e=this.scanner.saveState();this.scanner.scanComments();var t=this.scanner.lex();return this.scanner.restoreState(e),3===t.type||7===t.type&&"["===t.value||7===t.type&&"{"===t.value||4===t.type&&"let"===t.value||4===t.type&&"yield"===t.value},e.prototype.parseLexicalDeclaration=function(e){var t=this.createNode(),n=this.nextToken().value;r.assert("let"===n||"const"===n,"Lexical declaration must be either let or const");var i=this.parseBindingList(n,e);return this.consumeSemicolon(),this.finalize(t,new a.VariableDeclaration(i,n))},e.prototype.parseBindingRestElement=function(e,t){var n=this.createNode();this.expect("...");var r=this.parsePattern(e,t);return this.finalize(n,new a.RestElement(r))},e.prototype.parseArrayPattern=function(e,t){var n=this.createNode();this.expect("[");for(var r=[];!this.match("]");)if(this.match(","))this.nextToken(),r.push(null);else{if(this.match("...")){r.push(this.parseBindingRestElement(e,t));break}r.push(this.parsePatternWithDefault(e,t)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(n,new a.ArrayPattern(r))},e.prototype.parsePropertyPattern=function(e,t){var n,r,i=this.createNode(),o=!1,u=!1;if(3===this.lookahead.type){var s=this.lookahead;n=this.parseVariableIdentifier();var l=this.finalize(i,new a.Identifier(s.value));if(this.match("=")){e.push(s),u=!0,this.nextToken();var c=this.parseAssignmentExpression();r=this.finalize(this.startNode(s),new a.AssignmentPattern(l,c))}else this.match(":")?(this.expect(":"),r=this.parsePatternWithDefault(e,t)):(e.push(s),u=!0,r=l)}else o=this.match("["),n=this.parseObjectPropertyKey(),this.expect(":"),r=this.parsePatternWithDefault(e,t);return this.finalize(i,new a.Property("init",n,o,r,!1,u))},e.prototype.parseObjectPattern=function(e,t){var n=this.createNode(),r=[];for(this.expect("{");!this.match("}");)r.push(this.parsePropertyPattern(e,t)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(n,new a.ObjectPattern(r))},e.prototype.parsePattern=function(e,t){var n;return this.match("[")?n=this.parseArrayPattern(e,t):this.match("{")?n=this.parseObjectPattern(e,t):(!this.matchKeyword("let")||"const"!==t&&"let"!==t||this.tolerateUnexpectedToken(this.lookahead,o.Messages.LetInLexicalBinding),e.push(this.lookahead),n=this.parseVariableIdentifier(t)),n},e.prototype.parsePatternWithDefault=function(e,t){var n=this.lookahead,r=this.parsePattern(e,t);if(this.match("=")){this.nextToken();var i=this.context.allowYield;this.context.allowYield=!0;var o=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=i,r=this.finalize(this.startNode(n),new a.AssignmentPattern(r,o))}return r},e.prototype.parseVariableIdentifier=function(e){var t=this.createNode(),n=this.nextToken();return 4===n.type&&"yield"===n.value?this.context.strict?this.tolerateUnexpectedToken(n,o.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(n):3!==n.type?this.context.strict&&4===n.type&&this.scanner.isStrictModeReservedWord(n.value)?this.tolerateUnexpectedToken(n,o.Messages.StrictReservedWord):(this.context.strict||"let"!==n.value||"var"!==e)&&this.throwUnexpectedToken(n):(this.context.isModule||this.context.await)&&3===n.type&&"await"===n.value&&this.tolerateUnexpectedToken(n),this.finalize(t,new a.Identifier(n.value))},e.prototype.parseVariableDeclaration=function(e){var t=this.createNode(),n=this.parsePattern([],"var");this.context.strict&&n.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(n.name)&&this.tolerateError(o.Messages.StrictVarName);var r=null;return this.match("=")?(this.nextToken(),r=this.isolateCoverGrammar(this.parseAssignmentExpression)):n.type===s.Syntax.Identifier||e.inFor||this.expect("="),this.finalize(t,new a.VariableDeclarator(n,r))},e.prototype.parseVariableDeclarationList=function(e){var t={inFor:e.inFor},n=[];for(n.push(this.parseVariableDeclaration(t));this.match(",");)this.nextToken(),n.push(this.parseVariableDeclaration(t));return n},e.prototype.parseVariableStatement=function(){var e=this.createNode();this.expectKeyword("var");var t=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(e,new a.VariableDeclaration(t,"var"))},e.prototype.parseEmptyStatement=function(){var e=this.createNode();return this.expect(";"),this.finalize(e,new a.EmptyStatement)},e.prototype.parseExpressionStatement=function(){var e=this.createNode(),t=this.parseExpression();return this.consumeSemicolon(),this.finalize(e,new a.ExpressionStatement(t))},e.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(o.Messages.StrictFunction),this.parseStatement()},e.prototype.parseIfStatement=function(){var e,t=this.createNode(),n=null;this.expectKeyword("if"),this.expect("(");var r=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),e=this.finalize(this.createNode(),new a.EmptyStatement)):(this.expect(")"),e=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),n=this.parseIfClause())),this.finalize(t,new a.IfStatement(r,e,n))},e.prototype.parseDoWhileStatement=function(){var e=this.createNode();this.expectKeyword("do");var t=this.context.inIteration;this.context.inIteration=!0;var n=this.parseStatement();this.context.inIteration=t,this.expectKeyword("while"),this.expect("(");var r=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(e,new a.DoWhileStatement(n,r))},e.prototype.parseWhileStatement=function(){var e,t=this.createNode();this.expectKeyword("while"),this.expect("(");var n=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),e=this.finalize(this.createNode(),new a.EmptyStatement);else{this.expect(")");var r=this.context.inIteration;this.context.inIteration=!0,e=this.parseStatement(),this.context.inIteration=r}return this.finalize(t,new a.WhileStatement(n,e))},e.prototype.parseForStatement=function(){var e,t,n,r=null,i=null,u=null,l=!0,c=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){r=this.createNode(),this.nextToken();var f=this.context.allowIn;this.context.allowIn=!1;var h=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=f,1===h.length&&this.matchKeyword("in")){var d=h[0];d.init&&(d.id.type===s.Syntax.ArrayPattern||d.id.type===s.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(o.Messages.ForInOfLoopInitializer,"for-in"),r=this.finalize(r,new a.VariableDeclaration(h,"var")),this.nextToken(),e=r,t=this.parseExpression(),r=null}else 1===h.length&&null===h[0].init&&this.matchContextualKeyword("of")?(r=this.finalize(r,new a.VariableDeclaration(h,"var")),this.nextToken(),e=r,t=this.parseAssignmentExpression(),r=null,l=!1):(r=this.finalize(r,new a.VariableDeclaration(h,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){r=this.createNode();var p=this.nextToken().value;if(this.context.strict||"in"!==this.lookahead.value){f=this.context.allowIn;this.context.allowIn=!1;h=this.parseBindingList(p,{inFor:!0});this.context.allowIn=f,1===h.length&&null===h[0].init&&this.matchKeyword("in")?(r=this.finalize(r,new a.VariableDeclaration(h,p)),this.nextToken(),e=r,t=this.parseExpression(),r=null):1===h.length&&null===h[0].init&&this.matchContextualKeyword("of")?(r=this.finalize(r,new a.VariableDeclaration(h,p)),this.nextToken(),e=r,t=this.parseAssignmentExpression(),r=null,l=!1):(this.consumeSemicolon(),r=this.finalize(r,new a.VariableDeclaration(h,p)))}else r=this.finalize(r,new a.Identifier(p)),this.nextToken(),e=r,t=this.parseExpression(),r=null}else{var m=this.lookahead;f=this.context.allowIn;if(this.context.allowIn=!1,r=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=f,this.matchKeyword("in"))this.context.isAssignmentTarget&&r.type!==s.Syntax.AssignmentExpression||this.tolerateError(o.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(r),e=r,t=this.parseExpression(),r=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&r.type!==s.Syntax.AssignmentExpression||this.tolerateError(o.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(r),e=r,t=this.parseAssignmentExpression(),r=null,l=!1;else{if(this.match(",")){for(var g=[r];this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));r=this.finalize(this.startNode(m),new a.SequenceExpression(g))}this.expect(";")}}if(void 0===e&&(this.match(";")||(i=this.parseExpression()),this.expect(";"),this.match(")")||(u=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),n=this.finalize(this.createNode(),new a.EmptyStatement);else{this.expect(")");var v=this.context.inIteration;this.context.inIteration=!0,n=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=v}return void 0===e?this.finalize(c,new a.ForStatement(r,i,u,n)):l?this.finalize(c,new a.ForInStatement(e,t,n)):this.finalize(c,new a.ForOfStatement(e,t,n))},e.prototype.parseContinueStatement=function(){var e=this.createNode();this.expectKeyword("continue");var t=null;if(3===this.lookahead.type&&!this.hasLineTerminator){var n=this.parseVariableIdentifier();t=n;var r="$"+n.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,r)||this.throwError(o.Messages.UnknownLabel,n.name)}return this.consumeSemicolon(),null!==t||this.context.inIteration||this.throwError(o.Messages.IllegalContinue),this.finalize(e,new a.ContinueStatement(t))},e.prototype.parseBreakStatement=function(){var e=this.createNode();this.expectKeyword("break");var t=null;if(3===this.lookahead.type&&!this.hasLineTerminator){var n=this.parseVariableIdentifier(),r="$"+n.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,r)||this.throwError(o.Messages.UnknownLabel,n.name),t=n}return this.consumeSemicolon(),null!==t||this.context.inIteration||this.context.inSwitch||this.throwError(o.Messages.IllegalBreak),this.finalize(e,new a.BreakStatement(t))},e.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(o.Messages.IllegalReturn);var e=this.createNode();this.expectKeyword("return");var t=!this.match(";")&&!this.match("}")&&!this.hasLineTerminator&&2!==this.lookahead.type||8===this.lookahead.type||10===this.lookahead.type?this.parseExpression():null;return this.consumeSemicolon(),this.finalize(e,new a.ReturnStatement(t))},e.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(o.Messages.StrictModeWith);var e,t=this.createNode();this.expectKeyword("with"),this.expect("(");var n=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),e=this.finalize(this.createNode(),new a.EmptyStatement)):(this.expect(")"),e=this.parseStatement()),this.finalize(t,new a.WithStatement(n,e))},e.prototype.parseSwitchCase=function(){var e,t=this.createNode();this.matchKeyword("default")?(this.nextToken(),e=null):(this.expectKeyword("case"),e=this.parseExpression()),this.expect(":");for(var n=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)n.push(this.parseStatementListItem());return this.finalize(t,new a.SwitchCase(e,n))},e.prototype.parseSwitchStatement=function(){var e=this.createNode();this.expectKeyword("switch"),this.expect("(");var t=this.parseExpression();this.expect(")");var n=this.context.inSwitch;this.context.inSwitch=!0;var r=[],i=!1;for(this.expect("{");!this.match("}");){var u=this.parseSwitchCase();null===u.test&&(i&&this.throwError(o.Messages.MultipleDefaultsInSwitch),i=!0),r.push(u)}return this.expect("}"),this.context.inSwitch=n,this.finalize(e,new a.SwitchStatement(t,r))},e.prototype.parseLabelledStatement=function(){var e,t=this.createNode(),n=this.parseExpression();if(n.type===s.Syntax.Identifier&&this.match(":")){this.nextToken();var r=n,i="$"+r.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,i)&&this.throwError(o.Messages.Redeclaration,"Label",r.name),this.context.labelSet[i]=!0;var u=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),u=this.parseClassDeclaration();else if(this.matchKeyword("function")){var l=this.lookahead,c=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(l,o.Messages.StrictFunction):c.generator&&this.tolerateUnexpectedToken(l,o.Messages.GeneratorInLegacyContext),u=c}else u=this.parseStatement();delete this.context.labelSet[i],e=new a.LabeledStatement(r,u)}else this.consumeSemicolon(),e=new a.ExpressionStatement(n);return this.finalize(t,e)},e.prototype.parseThrowStatement=function(){var e=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(o.Messages.NewlineAfterThrow);var t=this.parseExpression();return this.consumeSemicolon(),this.finalize(e,new a.ThrowStatement(t))},e.prototype.parseCatchClause=function(){var e=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var t=[],n=this.parsePattern(t),r={},i=0;i0&&this.tolerateError(o.Messages.BadGetterArity);var r=this.parsePropertyMethod(n);return this.context.allowYield=t,this.finalize(e,new a.FunctionExpression(null,n.params,r,!1))},e.prototype.parseSetterMethod=function(){var e=this.createNode(),t=this.context.allowYield;this.context.allowYield=!0;var n=this.parseFormalParameters();1!==n.params.length?this.tolerateError(o.Messages.BadSetterArity):n.params[0]instanceof a.RestElement&&this.tolerateError(o.Messages.BadSetterRestParameter);var r=this.parsePropertyMethod(n);return this.context.allowYield=t,this.finalize(e,new a.FunctionExpression(null,n.params,r,!1))},e.prototype.parseGeneratorMethod=function(){var e=this.createNode(),t=this.context.allowYield;this.context.allowYield=!0;var n=this.parseFormalParameters();this.context.allowYield=!1;var r=this.parsePropertyMethod(n);return this.context.allowYield=t,this.finalize(e,new a.FunctionExpression(null,n.params,r,!0))},e.prototype.isStartOfExpression=function(){var e=!0,t=this.lookahead.value;switch(this.lookahead.type){case 7:e="["===t||"("===t||"{"===t||"+"===t||"-"===t||"!"===t||"~"===t||"++"===t||"--"===t||"/"===t||"/="===t;break;case 4:e="class"===t||"delete"===t||"function"===t||"let"===t||"new"===t||"super"===t||"this"===t||"typeof"===t||"void"===t||"yield"===t}return e},e.prototype.parseYieldExpression=function(){var e=this.createNode();this.expectKeyword("yield");var t=null,n=!1;if(!this.hasLineTerminator){var r=this.context.allowYield;this.context.allowYield=!1,(n=this.match("*"))?(this.nextToken(),t=this.parseAssignmentExpression()):this.isStartOfExpression()&&(t=this.parseAssignmentExpression()),this.context.allowYield=r}return this.finalize(e,new a.YieldExpression(t,n))},e.prototype.parseClassElement=function(e){var t=this.lookahead,n=this.createNode(),r="",i=null,u=null,s=!1,l=!1,c=!1,f=!1;if(this.match("*"))this.nextToken();else if(s=this.match("["),"static"===(i=this.parseObjectPropertyKey()).name&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(t=this.lookahead,c=!0,s=this.match("["),this.match("*")?this.nextToken():i=this.parseObjectPropertyKey()),3===t.type&&!this.hasLineTerminator&&"async"===t.value){var h=this.lookahead.value;":"!==h&&"("!==h&&"*"!==h&&(f=!0,t=this.lookahead,i=this.parseObjectPropertyKey(),3===t.type&&"constructor"===t.value&&this.tolerateUnexpectedToken(t,o.Messages.ConstructorIsAsync))}var d=this.qualifiedPropertyName(this.lookahead);return 3===t.type?"get"===t.value&&d?(r="get",s=this.match("["),i=this.parseObjectPropertyKey(),this.context.allowYield=!1,u=this.parseGetterMethod()):"set"===t.value&&d&&(r="set",s=this.match("["),i=this.parseObjectPropertyKey(),u=this.parseSetterMethod()):7===t.type&&"*"===t.value&&d&&(r="init",s=this.match("["),i=this.parseObjectPropertyKey(),u=this.parseGeneratorMethod(),l=!0),!r&&i&&this.match("(")&&(r="init",u=f?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),l=!0),r||this.throwUnexpectedToken(this.lookahead),"init"===r&&(r="method"),s||(c&&this.isPropertyKey(i,"prototype")&&this.throwUnexpectedToken(t,o.Messages.StaticPrototype),!c&&this.isPropertyKey(i,"constructor")&&(("method"!==r||!l||u&&u.generator)&&this.throwUnexpectedToken(t,o.Messages.ConstructorSpecialMethod),e.value?this.throwUnexpectedToken(t,o.Messages.DuplicateConstructor):e.value=!0,r="constructor")),this.finalize(n,new a.MethodDefinition(i,s,u,r,c))},e.prototype.parseClassElementList=function(){var e=[],t={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():e.push(this.parseClassElement(t));return this.expect("}"),e},e.prototype.parseClassBody=function(){var e=this.createNode(),t=this.parseClassElementList();return this.finalize(e,new a.ClassBody(t))},e.prototype.parseClassDeclaration=function(e){var t=this.createNode(),n=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var r=e&&3!==this.lookahead.type?null:this.parseVariableIdentifier(),i=null;this.matchKeyword("extends")&&(this.nextToken(),i=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var o=this.parseClassBody();return this.context.strict=n,this.finalize(t,new a.ClassDeclaration(r,i,o))},e.prototype.parseClassExpression=function(){var e=this.createNode(),t=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var n=3===this.lookahead.type?this.parseVariableIdentifier():null,r=null;this.matchKeyword("extends")&&(this.nextToken(),r=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var i=this.parseClassBody();return this.context.strict=t,this.finalize(e,new a.ClassExpression(n,r,i))},e.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var e=this.createNode(),t=this.parseDirectivePrologues();2!==this.lookahead.type;)t.push(this.parseStatementListItem());return this.finalize(e,new a.Module(t))},e.prototype.parseScript=function(){for(var e=this.createNode(),t=this.parseDirectivePrologues();2!==this.lookahead.type;)t.push(this.parseStatementListItem());return this.finalize(e,new a.Script(t))},e.prototype.parseModuleSpecifier=function(){var e=this.createNode();8!==this.lookahead.type&&this.throwError(o.Messages.InvalidModuleSpecifier);var t=this.nextToken(),n=this.getTokenRaw(t);return this.finalize(e,new a.Literal(t.value,n))},e.prototype.parseImportSpecifier=function(){var e,t,n=this.createNode();return 3===this.lookahead.type?(t=e=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),t=this.parseVariableIdentifier())):(t=e=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),t=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(n,new a.ImportSpecifier(t,e))},e.prototype.parseNamedImports=function(){this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),e},e.prototype.parseImportDefaultSpecifier=function(){var e=this.createNode(),t=this.parseIdentifierName();return this.finalize(e,new a.ImportDefaultSpecifier(t))},e.prototype.parseImportNamespaceSpecifier=function(){var e=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(o.Messages.NoAsAfterImportNamespace),this.nextToken();var t=this.parseIdentifierName();return this.finalize(e,new a.ImportNamespaceSpecifier(t))},e.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(o.Messages.IllegalImportDeclaration);var e,t=this.createNode();this.expectKeyword("import");var n=[];if(8===this.lookahead.type)e=this.parseModuleSpecifier();else{if(this.match("{")?n=n.concat(this.parseNamedImports()):this.match("*")?n.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(n.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?n.push(this.parseImportNamespaceSpecifier()):this.match("{")?n=n.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var r=this.lookahead.value?o.Messages.UnexpectedToken:o.Messages.MissingFromClause;this.throwError(r,this.lookahead.value)}this.nextToken(),e=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(t,new a.ImportDeclaration(n,e))},e.prototype.parseExportSpecifier=function(){var e=this.createNode(),t=this.parseIdentifierName(),n=t;return this.matchContextualKeyword("as")&&(this.nextToken(),n=this.parseIdentifierName()),this.finalize(e,new a.ExportSpecifier(t,n))},e.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(o.Messages.IllegalExportDeclaration);var e,t=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var n=this.parseFunctionDeclaration(!0);e=this.finalize(t,new a.ExportDefaultDeclaration(n))}else if(this.matchKeyword("class")){n=this.parseClassDeclaration(!0);e=this.finalize(t,new a.ExportDefaultDeclaration(n))}else if(this.matchContextualKeyword("async")){n=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression();e=this.finalize(t,new a.ExportDefaultDeclaration(n))}else{this.matchContextualKeyword("from")&&this.throwError(o.Messages.UnexpectedToken,this.lookahead.value);n=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression();this.consumeSemicolon(),e=this.finalize(t,new a.ExportDefaultDeclaration(n))}else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var r=this.lookahead.value?o.Messages.UnexpectedToken:o.Messages.MissingFromClause;this.throwError(r,this.lookahead.value)}this.nextToken();var i=this.parseModuleSpecifier();this.consumeSemicolon(),e=this.finalize(t,new a.ExportAllDeclaration(i))}else if(4===this.lookahead.type){n=void 0;switch(this.lookahead.value){case"let":case"const":n=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":n=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}e=this.finalize(t,new a.ExportNamedDeclaration(n,[],null))}else if(this.matchAsyncFunction()){n=this.parseFunctionDeclaration();e=this.finalize(t,new a.ExportNamedDeclaration(n,[],null))}else{var u=[],s=null,l=!1;for(this.expect("{");!this.match("}");)l=l||this.matchKeyword("default"),u.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");if(this.expect("}"),this.matchContextualKeyword("from"))this.nextToken(),s=this.parseModuleSpecifier(),this.consumeSemicolon();else if(l){r=this.lookahead.value?o.Messages.UnexpectedToken:o.Messages.MissingFromClause;this.throwError(r,this.lookahead.value)}else this.consumeSemicolon();e=this.finalize(t,new a.ExportNamedDeclaration(null,u,s))}return e},e}();t.Parser=c},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=function(e,t){if(!e)throw new Error("ASSERT: "+t)}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.errors=[],this.tolerant=!1}return e.prototype.recordError=function(e){this.errors.push(e)},e.prototype.tolerate=function(e){if(!this.tolerant)throw e;this.recordError(e)},e.prototype.constructError=function(e,t){var n=new Error(e);try{throw n}catch(e){Object.create&&Object.defineProperty&&(n=Object.create(e),Object.defineProperty(n,"column",{value:t}))}return n},e.prototype.createError=function(e,t,n,r){var i="Line "+t+": "+r,o=this.constructError(i,n);return o.index=e,o.lineNumber=t,o.description=r,o},e.prototype.throwError=function(e,t,n,r){throw this.createError(e,t,n,r)},e.prototype.tolerateError=function(e,t,n,r){var i=this.createError(e,t,n,r);if(!this.tolerant)throw i;this.recordError(i)},e}();t.ErrorHandler=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9),i=n(4),o=n(11);function a(e){return"0123456789abcdef".indexOf(e.toLowerCase())}function u(e){return"01234567".indexOf(e)}var s=function(){function e(e,t){this.source=e,this.errorHandler=t,this.trackComment=!1,this.isModule=!1,this.length=e.length,this.index=0,this.lineNumber=e.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return e.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},e.prototype.restoreState=function(e){this.index=e.index,this.lineNumber=e.lineNumber,this.lineStart=e.lineStart},e.prototype.eof=function(){return this.index>=this.length},e.prototype.throwUnexpectedToken=function(e){return void 0===e&&(e=o.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,e)},e.prototype.tolerateUnexpectedToken=function(e){void 0===e&&(e=o.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,e)},e.prototype.skipSingleLineComment=function(e){var t,n,r=[];for(this.trackComment&&(r=[],t=this.index-e,n={start:{line:this.lineNumber,column:this.index-this.lineStart-e},end:{}});!this.eof();){var o=this.source.charCodeAt(this.index);if(++this.index,i.Character.isLineTerminator(o)){if(this.trackComment){n.end={line:this.lineNumber,column:this.index-this.lineStart-1};var a={multiLine:!1,slice:[t+e,this.index-1],range:[t,this.index-1],loc:n};r.push(a)}return 13===o&&10===this.source.charCodeAt(this.index)&&++this.index,++this.lineNumber,this.lineStart=this.index,r}}if(this.trackComment){n.end={line:this.lineNumber,column:this.index-this.lineStart};a={multiLine:!1,slice:[t+e,this.index],range:[t,this.index],loc:n};r.push(a)}return r},e.prototype.skipMultiLineComment=function(){var e,t,n=[];for(this.trackComment&&(n=[],e=this.index-2,t={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var r=this.source.charCodeAt(this.index);if(i.Character.isLineTerminator(r))13===r&&10===this.source.charCodeAt(this.index+1)&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(42===r){if(47===this.source.charCodeAt(this.index+1)){if(this.index+=2,this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart};var o={multiLine:!0,slice:[e+2,this.index-2],range:[e,this.index],loc:t};n.push(o)}return n}++this.index}else++this.index}if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart};o={multiLine:!0,slice:[e+2,this.index],range:[e,this.index],loc:t};n.push(o)}return this.tolerateUnexpectedToken(),n},e.prototype.scanComments=function(){var e;this.trackComment&&(e=[]);for(var t=0===this.index;!this.eof();){var n=this.source.charCodeAt(this.index);if(i.Character.isWhiteSpace(n))++this.index;else if(i.Character.isLineTerminator(n))++this.index,13===n&&10===this.source.charCodeAt(this.index)&&++this.index,++this.lineNumber,this.lineStart=this.index,t=!0;else if(47===n)if(47===(n=this.source.charCodeAt(this.index+1))){this.index+=2;var r=this.skipSingleLineComment(2);this.trackComment&&(e=e.concat(r)),t=!0}else{if(42!==n)break;this.index+=2;r=this.skipMultiLineComment();this.trackComment&&(e=e.concat(r))}else if(t&&45===n){if(45!==this.source.charCodeAt(this.index+1)||62!==this.source.charCodeAt(this.index+2))break;this.index+=3;r=this.skipSingleLineComment(3);this.trackComment&&(e=e.concat(r))}else{if(60!==n||this.isModule)break;if("!--"!==this.source.slice(this.index+1,this.index+4))break;this.index+=4;r=this.skipSingleLineComment(4);this.trackComment&&(e=e.concat(r))}}return e},e.prototype.isFutureReservedWord=function(e){switch(e){case"enum":case"export":case"import":case"super":return!0;default:return!1}},e.prototype.isStrictModeReservedWord=function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},e.prototype.isRestrictedWord=function(e){return"eval"===e||"arguments"===e},e.prototype.isKeyword=function(e){switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e||"let"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}},e.prototype.codePointAt=function(e){var t=this.source.charCodeAt(e);if(t>=55296&&t<=56319){var n=this.source.charCodeAt(e+1);if(n>=56320&&n<=57343)t=1024*(t-55296)+n-56320+65536}return t},e.prototype.scanHexEscape=function(e){for(var t="u"===e?4:2,n=0,r=0;r1114111||"}"!==e)&&this.throwUnexpectedToken(),i.Character.fromCodePoint(t)},e.prototype.getIdentifier=function(){for(var e=this.index++;!this.eof();){var t=this.source.charCodeAt(this.index);if(92===t)return this.index=e,this.getComplexIdentifier();if(t>=55296&&t<57343)return this.index=e,this.getComplexIdentifier();if(!i.Character.isIdentifierPart(t))break;++this.index}return this.source.slice(e,this.index)},e.prototype.getComplexIdentifier=function(){var e,t=this.codePointAt(this.index),n=i.Character.fromCodePoint(t);for(this.index+=n.length,92===t&&(117!==this.source.charCodeAt(this.index)&&this.throwUnexpectedToken(),++this.index,"{"===this.source[this.index]?(++this.index,e=this.scanUnicodeCodePointEscape()):null!==(e=this.scanHexEscape("u"))&&"\\"!==e&&i.Character.isIdentifierStart(e.charCodeAt(0))||this.throwUnexpectedToken(),n=e);!this.eof()&&(t=this.codePointAt(this.index),i.Character.isIdentifierPart(t));)n+=e=i.Character.fromCodePoint(t),this.index+=e.length,92===t&&(n=n.substr(0,n.length-1),117!==this.source.charCodeAt(this.index)&&this.throwUnexpectedToken(),++this.index,"{"===this.source[this.index]?(++this.index,e=this.scanUnicodeCodePointEscape()):null!==(e=this.scanHexEscape("u"))&&"\\"!==e&&i.Character.isIdentifierPart(e.charCodeAt(0))||this.throwUnexpectedToken(),n+=e);return n},e.prototype.octalToDecimal=function(e){var t="0"!==e,n=u(e);return!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=!0,n=8*n+u(this.source[this.index++]),"0123".indexOf(e)>=0&&!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(n=8*n+u(this.source[this.index++]))),{code:n,octal:t}},e.prototype.scanIdentifier=function(){var e,t=this.index,n=92===this.source.charCodeAt(t)?this.getComplexIdentifier():this.getIdentifier();if(3!==(e=1===n.length?3:this.isKeyword(n)?4:"null"===n?5:"true"===n||"false"===n?1:3)&&t+n.length!==this.index){var r=this.index;this.index=t,this.tolerateUnexpectedToken(o.Messages.InvalidEscapedReservedWord),this.index=r}return{type:e,value:n,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},e.prototype.scanPunctuator=function(){var e=this.index,t=this.source[this.index];switch(t){case"(":case"{":"{"===t&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,"."===this.source[this.index]&&"."===this.source[this.index+1]&&(this.index+=2,t="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:">>>="===(t=this.source.substr(this.index,4))?this.index+=4:"==="===(t=t.substr(0,3))||"!=="===t||">>>"===t||"<<="===t||">>="===t||"**="===t?this.index+=3:"&&"===(t=t.substr(0,2))||"||"===t||"=="===t||"!="===t||"+="===t||"-="===t||"*="===t||"/="===t||"++"===t||"--"===t||"<<"===t||">>"===t||"&="===t||"|="===t||"^="===t||"%="===t||"<="===t||">="===t||"=>"===t||"**"===t?this.index+=2:(t=this.source[this.index],"<>=!+-*%&|^/".indexOf(t)>=0&&++this.index)}return this.index===e&&this.throwUnexpectedToken(),{type:7,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanHexLiteral=function(e){for(var t="";!this.eof()&&i.Character.isHexDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return 0===t.length&&this.throwUnexpectedToken(),i.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+t,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanBinaryLiteral=function(e){for(var t,n="";!this.eof()&&("0"===(t=this.source[this.index])||"1"===t);)n+=this.source[this.index++];return 0===n.length&&this.throwUnexpectedToken(),this.eof()||(t=this.source.charCodeAt(this.index),(i.Character.isIdentifierStart(t)||i.Character.isDecimalDigit(t))&&this.throwUnexpectedToken()),{type:6,value:parseInt(n,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanOctalLiteral=function(e,t){var n="",r=!1;for(i.Character.isOctalDigit(e.charCodeAt(0))?(r=!0,n="0"+this.source[this.index++]):++this.index;!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index));)n+=this.source[this.index++];return r||0!==n.length||this.throwUnexpectedToken(),(i.Character.isIdentifierStart(this.source.charCodeAt(this.index))||i.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(n,8),octal:r,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},e.prototype.isImplicitOctalLiteral=function(){for(var e=this.index+1;e=0&&(n=n.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(e,t,n){var i=parseInt(t||n,16);return i>1114111&&r.throwUnexpectedToken(o.Messages.InvalidRegExp),i<=65535?String.fromCharCode(i):"￿"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"￿"));try{RegExp(n)}catch(e){this.throwUnexpectedToken(o.Messages.InvalidRegExp)}try{return new RegExp(e,t)}catch(e){return null}},e.prototype.scanRegExpBody=function(){var e=this.source[this.index];r.assert("/"===e,"Regular expression literal must start with a slash");for(var t=this.source[this.index++],n=!1,a=!1;!this.eof();)if(t+=e=this.source[this.index++],"\\"===e)e=this.source[this.index++],i.Character.isLineTerminator(e.charCodeAt(0))&&this.throwUnexpectedToken(o.Messages.UnterminatedRegExp),t+=e;else if(i.Character.isLineTerminator(e.charCodeAt(0)))this.throwUnexpectedToken(o.Messages.UnterminatedRegExp);else if(n)"]"===e&&(n=!1);else{if("/"===e){a=!0;break}"["===e&&(n=!0)}return a||this.throwUnexpectedToken(o.Messages.UnterminatedRegExp),t.substr(1,t.length-2)},e.prototype.scanRegExpFlags=function(){for(var e="";!this.eof();){var t=this.source[this.index];if(!i.Character.isIdentifierPart(t.charCodeAt(0)))break;if(++this.index,"\\"!==t||this.eof())e+=t,t;else if("u"===(t=this.source[this.index])){++this.index;var n=this.index,r=this.scanHexEscape("u");if(null!==r)for(e+=r,"\\u";n=55296&&e<57343&&i.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},e}();t.Scanner=s},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenName={},t.TokenName[1]="Boolean",t.TokenName[2]="",t.TokenName[3]="Identifier",t.TokenName[4]="Keyword",t.TokenName[5]="Null",t.TokenName[6]="Numeric",t.TokenName[7]="Punctuator",t.TokenName[8]="String",t.TokenName[9]="RegularExpression",t.TokenName[10]="Template"},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",lang:"⟨",rang:"⟩"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),i=n(12),o=n(13),a=function(){function e(){this.values=[],this.curly=this.paren=-1}return e.prototype.beforeFunctionExpression=function(e){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(e)>=0},e.prototype.isRegexStart=function(){var e=this.values[this.values.length-1],t=null!==e;switch(e){case"this":case"]":t=!1;break;case")":var n=this.values[this.paren-1];t="if"===n||"while"===n||"for"===n||"with"===n;break;case"}":if(t=!1,"function"===this.values[this.curly-3])t=!!(r=this.values[this.curly-4])&&!this.beforeFunctionExpression(r);else if("function"===this.values[this.curly-4]){var r;t=!(r=this.values[this.curly-5])||!this.beforeFunctionExpression(r)}}return t},e.prototype.push=function(e){7===e.type||4===e.type?("{"===e.value?this.curly=this.values.length:"("===e.value&&(this.paren=this.values.length),this.values.push(e.value)):this.values.push(null)},e}(),u=function(){function e(e,t){this.errorHandler=new r.ErrorHandler,this.errorHandler.tolerant=!!t&&("boolean"==typeof t.tolerant&&t.tolerant),this.scanner=new i.Scanner(e,this.errorHandler),this.scanner.trackComment=!!t&&("boolean"==typeof t.comment&&t.comment),this.trackRange=!!t&&("boolean"==typeof t.range&&t.range),this.trackLoc=!!t&&("boolean"==typeof t.loc&&t.loc),this.buffer=[],this.reader=new a}return e.prototype.errors=function(){return this.errorHandler.errors},e.prototype.getNextToken=function(){if(0===this.buffer.length){var e=this.scanner.scanComments();if(this.scanner.trackComment)for(var t=0;t]*>)/g,m=/\$([$&'`]|\d\d?)/g;r("replace",2,function(e,t,n){return[function(n,r){var i=s(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,o){var s=n(t,e,this,o);if(s.done)return s.value;var d=i(e),p=String(this),m="function"==typeof o;m||(o=String(o));var g=d.global;if(g){var v=d.unicode;d.lastIndex=0}for(var y=[];;){var _=c(d,p);if(null===_)break;if(y.push(_),!g)break;""===String(_[0])&&(d.lastIndex=l(p,a(d.lastIndex),v))}for(var b,D="",E=0,x=0;x=E&&(D+=p.slice(E,C)+F,E=C+w.length)}return D+p.slice(E)}];function r(e,n,r,i,a,u){var s=r+e.length,l=i.length,c=m;return void 0!==a&&(a=o(a),c=p),t.call(u,c,function(t,o){var u;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":u=a[o.slice(1,-1)];break;default:var c=+o;if(0===c)return t;if(c>l){var f=d(c/10);return 0===f?t:f<=l?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):t}u=i[c-1]}return void 0===u?"":u})}})},function(e,t,n){"use strict";var r,i,o=n(213),a=RegExp.prototype.exec,u=String.prototype.replace,s=a,l=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),c=void 0!==/()??/.exec("")[1];(l||c)&&(s=function(e){var t,n,r,i,s=this;return c&&(n=new RegExp("^"+s.source+"$(?!\\s)",o.call(s))),l&&(t=s.lastIndex),r=a.call(s,e),l&&r&&(s.lastIndex=s.global?r.index+r[0].length:t),c&&r&&r.length>1&&u.call(r[0],n,function(){for(i=1;i","license":"MIT","dependencies":{"find-versions":"^3.0.0","ink":"^2.1.0","ink-spinner":"^3.0.0","ink-tab":"^2.1.3","marked":"^0.7.0","marked-terminal":"^3.2.0","marked-to-md":"^1.0.1","minimist":"^1.2.0","node-fetch":"^2.1.2","react":"^16.0.0","semver":"^6.0.0"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.3.4","@babel/node":"^7.2.2","@babel/polyfill":"^7.4.0","@babel/preset-env":"^7.4.2","@babel/preset-react":"^7.0.0","babel-loader":"^8.0.5","babel-polyfill":"^6.26.0","core-js":"^3.0.0","jest":"^24.5.0","lint-staged":"^9.2.1","nock":"^10.0.0","prettier":"^1.16.4","svg-term-cli":"^2.1.1","webpack":"^4.29.6","webpack-cli":"^3.3.0"},"scripts":{"test":"jest","build":"webpack --config webpack.config.js && (git commit -m \'build binary\' bin/bin.js || true)","demo":"clear && babel-node ./src/bin.js sebastianbergmann/diff@3.0.0 jdeniau/ink-tab@1.0.0","prepublishOnly":"npm run build","precommit":"lint-staged"},"jest":{"transform":{".+\\\\.(js)$":"babel-jest",".+\\\\.(md)$":"/fileTransformer.js"}},"lint-staged":{"*.{js,jsx,json}":["prettier --write","git add"]}}')},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0)),i=u(n(12)),o=n(1),a=u(n(185));function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class l extends r.Component{constructor(...e){super(...e),s(this,"state",{frame:0}),s(this,"switchFrame",()=>{const{frame:e}=this.state,t=e===this.getSpinner().frames.length-1?0:e+1;this.setState({frame:t})})}render(){const e=this.getSpinner();return r.default.createElement(o.Box,null,e.frames[this.state.frame])}componentDidMount(){const e=this.getSpinner();this.timer=setInterval(this.switchFrame,e.interval)}componentWillUnmount(){clearInterval(this.timer)}getSpinner(){return a.default[this.props.type]||a.default.dots}}t.default=l,s(l,"propTypes",{type:i.default.string}),s(l,"defaultProps",{type:"dots"})},function(e,t,n){"use strict";var r=n(46),i=n(187),o=n(199),a=n(204);const u=n(63),s=n(208);var l="^*||*^",c=new RegExp(M("*|*|*|*"),"g"),f=new RegExp(M("*#COLON|*"),"g"),h=["\t"],d="\r",p=new RegExp(d),m=new RegExp(d+"|
    "),g={code:r.yellow,blockquote:r.gray.italic,html:r.gray,heading:r.green.bold,firstHeading:r.magenta.underline.bold,hr:r.reset,listitem:r.reset,list:function(e,t,n){return e=e.trim(),e=t?function(e,t){var n=function(e,t,n){return x(t,e)?{num:n+1,line:t.replace(C,k(n+1))}:{num:n,line:w(k(n))+t}}.bind(null,t);let r=0;return e.split("\n").filter(N).map(e=>{const t=n(e,r);return r=t.num,t.line}).join("\n")}(e,n):function(e,t){var n=function(e,t){return x(t,e)?t:w(C)+t}.bind(null,t);return e.split("\n").filter(N).map(n).join("\n")}(e,n)},table:r.reset,paragraph:r.reset,strong:r.bold,em:r.italic,codespan:r.yellow,del:r.dim.gray.strikethrough,link:r.blue,href:r.blue.underline,text:N,unescape:!0,emoji:!0,width:80,showSectionPrefix:!0,reflowText:!1,tab:4,tableOptions:{}};function v(e,t){var n,r,i;this.o=Object.assign({},g,e),this.tab=(n=this.o.tab,r=g.tab,"number"==typeof n?new Array(n+1).join(" "):"string"==typeof n&&(i=n,h.some(function(e){return i.match("^("+e+")+$")}))?n:new Array(r+1).join(" ")),this.tableSettings=this.o.tableOptions,this.emoji=this.o.emoji?A:N,this.unescape=this.o.unescape?O:N,this.highlightOptions=t||{},this.transform=P(T,this.unescape,this.emoji)}function y(e){return e.replace(/\u001b\[(?:\d{1,3})(?:;\d{1,3})*m/g,"").length}function _(e,t){return t?e.replace(d,/\n/g):e}function b(e,t,n){var r=n?m:p,i=e.split(r),o=[];return i.forEach(function(e){for(var n=e.split(/(\u001b\[(?:\d{1,3})(?:;\d{1,3})*m)/g),r=0,i="",a=!1;n.length;){var u=n[0];if(""!==u)if(y(u)){for(var s=u.split(/[ \t\n]+/),l=0;lt)if(c.length<=t)o.push(i),i=c,r=c.length;else for(f&&(i+=" "),i+=h=c.substr(0,t-r-f),o.push(i),i="",r=0,c=c.substr(h.length);c.length;){var h;if(!(h=c.substr(0,t)).length)break;if(h.length").replace(/"/g,'"').replace(/'/g,"'")}function N(e){return e}function P(){var e=arguments;return function(){for(var t=arguments,n=e.length;n-- >0;)t=[e[n].apply(this,t)];return t[0]}}},function(e,t){e.exports=require("https")},function(e,t,n){"use strict";e.exports=function(e){var t="";return e.code=function(e,t){return"```"+(t||"")+"\n"+e+"\n```\n"},e.blockquote=function(e){return"> "+e.trim().replace(/\n/g,"\n> ")+"\n\n"},e.html=function(e){return e},e.heading=function(e,t,n){return new Array(t+1).join("#")+" "+n+"\n"},e.hr=function(){return"\n---\n"},e.list=function(e,t){return e.replace(/doubidoubidou/g,t?"1.":"-")+"\n\n"},e.listitem=function(e){var t=[];return e.split("\n").forEach(function(e){""!==e.trim()&&("-"!==e.trim()[0]&&isNaN(e.trim()[0])?t.push(e):t.push(" "+e))}),"\ndoubidoubidou "+t.join("\n")},e.paragraph=function(e){return e+"\n\n"},e.table=function(e,n){var r=e+"|"+t+"\n"+n+"\n";return t="",r},e.tablerow=function(e){return"| "+e+"\n"},e.tablecell=function(e,n){return n.header&&(t+=("center"===n.align?":":"")+"--"+(-1!==["center","right"].indexOf(n.align)?":":"")+"|")," "+e+" | "},e.strong=function(e){return"**"+e+"**"},e.em=function(e){return"*"+e+"*"},e.codespan=function(e){return"`"+e+"`"},e.br=function(){return" \n"},e.del=function(e){return"~~"+e+"~~"},e.link=function(e,t,n){return"["+n+"]("+e+(t?' "'+t+'"':"")+")"},e.image=function(e,t,n){return"!["+n+"]("+e+(t?' "'+t+'"':"")+")"},e}},function(e,t,n){"use strict";const r=n(218),i=n(219);e.exports=(e,t={})=>{if("string"!=typeof e)throw new TypeError(`Expected a string, got ${typeof e}`);const n=new RegExp(`(?:${r().source})|(?:v?(?:\\d+\\.\\d+)(?:\\.\\d+)?)`,"g"),o=e.match(!0===t.loose?n:r())||[];return i(o.map(e=>e.trim().replace(/^v/,"").replace(/^\d+\.\d+$/,"$&.0")))}},function(e,t,n){var r=n(7),i=n(13),o="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(3),i=n(54),o=n(8),a=r("unscopables"),u=Array.prototype;null==u[a]&&o(u,a,i(null)),e.exports=function(e){u[a][e]=!0}},function(e,t,n){var r=n(7);e.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},function(e,t,n){var r=n(14),i=n(17),o=n(5),a=n(103);e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),u=r.length,s=0;u>s;)i.f(e,n=r[s++],t[n]);return e}},function(e,t,n){var r=n(55),i=n(36);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(22),i=n(34),o=n(105),a=function(e){return function(t,n,a){var u,s=r(t),l=i(s.length),c=o(a,l);if(e&&n!=n){for(;l>c;)if((u=s[c++])!=u)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(26),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},function(e,t,n){var r=n(2),i=n(58),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(i.call(o))},function(e,t,n){"use strict";var r=n(39),i=n(113),o=n(61),a=n(115),u=n(42),s=n(8),l=n(28),c=n(3),f=n(25),h=n(18),d=n(60),p=d.IteratorPrototype,m=d.BUGGY_SAFARI_ITERATORS,g=c("iterator"),v=function(){return this};e.exports=function(e,t,n,c,d,y,_){i(n,t,c);var b,D,E,x=function(e){if(e===d&&A)return A;if(!m&&e in k)return k[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},w=t+" Iterator",C=!1,k=e.prototype,S=k[g]||k["@@iterator"]||d&&k[d],A=!m&&S||x(d),T="Array"==t&&k.entries||S;if(T&&(b=o(T.call(new e)),p!==Object.prototype&&b.next&&(f||o(b)===p||(a?a(b,p):"function"!=typeof b[g]&&s(b,g,v)),u(b,w,!0,!0),f&&(h[w]=v))),"values"==d&&S&&"values"!==S.name&&(C=!0,A=function(){return S.call(this)}),f&&!_||k[g]===A||s(k,g,A),h[t]=A,d)if(D={values:x("values"),keys:y?A:x("keys"),entries:x("entries")},_)for(E in D)!m&&!C&&E in k||l(k,E,D[E]);else r({target:t,proto:!0,forced:m||C},D);return D}},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(9),i=n(110),o=n(40),a=n(17);e.exports=function(e,t){for(var n=i(t),u=a.f,s=o.f,l=0;lB.length&&B.push(e)}function O(e,t,n){return null==e?0:function e(t,n,r,i){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var s=!1;if(null===t)s=!0;else switch(u){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case o:case a:s=!0}}if(s)return r(i,t,""===n?"."+R(t,0):n),1;if(s=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l{let n;return"function"==typeof t.write&&(t={stdout:t,stdin:process.stdin}),t=function(e){for(var t=1;tn.unmount(),waitUntilExit:n.waitUntilExit,cleanup:()=>i.default.delete(t.stdout)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=p(n(0)),i=p(n(121)),o=p(n(122)),a=p(n(123)),u=p(n(137)),s=p(n(63)),l=p(n(140)),c=p(n(144)),f=n(44),d=p(n(76)),h=p(n(159));function p(e){return e&&e.__esModule?e:{default:e}}t.default=class{constructor(e){(0,o.default)(this),this.options=e,this.rootNode=(0,f.createNode)("root"),this.rootNode.onRender=this.onRender,this.renderer=(0,c.default)({terminalWidth:e.stdout.columns}),this.log=a.default.create(e.stdout),this.throttledLog=e.debug?this.log:(0,i.default)(this.log,{leading:!0,trailing:!0}),this.isUnmounted=!1,this.lastOutput="",this.fullStaticOutput="",this.container=l.default.createContainer(this.rootNode,!1,!1),this.exitPromise=new Promise((e,t)=>{this.resolveExitPromise=e,this.rejectExitPromise=t}),this.unsubscribeExit=(0,s.default)(this.unmount,{alwaysLast:!1})}onRender(){if(this.isUnmounted)return;const{output:e,staticOutput:t}=this.renderer(this.rootNode),n=t&&"\n"!==t;if(this.options.debug)return n&&(this.fullStaticOutput+=t),void this.options.stdout.write(this.fullStaticOutput+e);n&&(u.default||this.log.clear(),this.options.stdout.write(t),u.default||this.log(e)),e!==this.lastOutput&&(u.default||this.throttledLog(e),this.lastOutput=e)}render(e){const t=r.default.createElement(h.default,{stdin:this.options.stdin,stdout:this.options.stdout,exitOnCtrlC:this.options.exitOnCtrlC,onExit:this.unmount},e);l.default.updateContainer(t,this.container)}unmount(e){this.isUnmounted||(this.onRender(),this.unsubscribeExit(),u.default?this.options.stdout.write(this.lastOutput+"\n"):this.options.debug||this.log.done(),this.isUnmounted=!0,l.default.updateContainer(null,this.container),d.default.delete(this.options.stdout),e instanceof Error?this.rejectExitPromise(e):this.resolveExitPromise())}waitUntilExit(){return this.exitPromise}}},function(e,t){var n="Expected a function",r=NaN,i="[object Symbol]",o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,c="object"==typeof global&&global&&global.Object===Object&&global,f="object"==typeof self&&self&&self.Object===Object&&self,d=c||f||Function("return this")(),h=Object.prototype.toString,p=Math.max,m=Math.min,g=function(){return d.Date.now()};function v(e,t,r){var i,o,a,u,s,l,c=0,f=!1,d=!1,h=!0;if("function"!=typeof e)throw new TypeError(n);function v(t){var n=i,r=o;return i=o=void 0,c=t,u=e.apply(r,n)}function b(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=a}function D(){var e=g();if(b(e))return x(e);s=setTimeout(D,function(e){var n=t-(e-l);return d?m(n,a-(e-c)):n}(e))}function x(e){return s=void 0,h&&i?v(e):(i=o=void 0,u)}function w(){var e=g(),n=b(e);if(i=arguments,o=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(D,t),f?v(e):u}(l);if(d)return s=setTimeout(D,t),v(l)}return void 0===s&&(s=setTimeout(D,t)),u}return t=_(t)||0,y(r)&&(f=!!r.leading,a=(d="maxWait"in r)?p(_(r.maxWait)||0,t):a,h="trailing"in r?!!r.trailing:h),w.cancel=function(){void 0!==s&&clearTimeout(s),c=0,i=l=o=s=void 0},w.flush=function(){return void 0===s?u:x(g())},w}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function _(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&h.call(e)==i}(e))return r;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=u.test(e);return n||s.test(e)?l(e.slice(2),n?2:8):a.test(e)?r:+e}e.exports=function(e,t,r){var i=!0,o=!0;if("function"!=typeof e)throw new TypeError(n);return y(r)&&(i="leading"in r?!!r.leading:i,o="trailing"in r?!!r.trailing:o),v(e,t,{leading:i,maxWait:t,trailing:o})}},function(e,t,n){"use strict";e.exports=(e,t)=>{t=Object.assign({},t);const n=e=>{const n=t=>"string"==typeof t?e===t:t.test(e);return t.include?t.include.some(n):!t.exclude||!t.exclude.some(n)};for(const[t,r]of(e=>{const t=new Set;do{for(const n of Reflect.ownKeys(e))t.add([e,n])}while((e=Reflect.getPrototypeOf(e))&&e!==Object.prototype);return t})(e.constructor.prototype)){if("constructor"===r||!n(r))continue;const i=Reflect.getOwnPropertyDescriptor(t,r);i&&"function"==typeof i.value&&(e[r]=e[r].bind(e))}return e};const r=["componentWillMount","UNSAFE_componentWillMount","render","getSnapshotBeforeUpdate","componentDidMount","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","UNSAFE_componentWillUpdate","componentDidUpdate","componentWillUnmount","componentDidCatch","setState","forceUpdate"];e.exports.react=(t,n)=>((n=Object.assign({},n)).exclude=(n.exclude||[]).concat(r),e.exports(t,n))},function(e,t,n){"use strict";const r=n(124),i=n(62),o=n(64),a=(e,t)=>{t=Object.assign({showCursor:!1},t);let n=0;const a=(...a)=>{t.showCursor||i.hide();let u=a.join(" ")+"\n";u=o(u,(e=>{const{columns:t}=e;return t?"win32"===process.platform?t-1:t:80})(e),{trim:!1,hard:!0,wordWrap:!1}),e.write(r.eraseLines(n)+u),n=u.split("\n").length};return a.clear=()=>{e.write(r.eraseLines(n)),n=0},a.done=()=>{n=0,t.showCursor||i.show()},a};e.exports=a(process.stdout),e.exports.default=e.exports,e.exports.stderr=a(process.stderr),e.exports.create=a},function(e,t,n){"use strict";const r=e.exports,i="[",o="]",a="",u=";",s="Apple_Terminal"===process.env.TERM_PROGRAM;r.cursorTo=(e,t)=>{if("number"!=typeof e)throw new TypeError("The `x` argument is required");return"number"!=typeof t?i+(e+1)+"G":i+(t+1)+";"+(e+1)+"H"},r.cursorMove=(e,t)=>{if("number"!=typeof e)throw new TypeError("The `x` argument is required");let n="";return e<0?n+=i+-e+"D":e>0&&(n+=i+e+"C"),t<0?n+=i+-t+"A":t>0&&(n+=i+t+"B"),n},r.cursorUp=e=>i+("number"==typeof e?e:1)+"A",r.cursorDown=e=>i+("number"==typeof e?e:1)+"B",r.cursorForward=e=>i+("number"==typeof e?e:1)+"C",r.cursorBackward=e=>i+("number"==typeof e?e:1)+"D",r.cursorLeft="",r.cursorSavePosition=i+(s?"7":"s"),r.cursorRestorePosition=i+(s?"8":"u"),r.cursorGetPosition="",r.cursorNextLine="",r.cursorPrevLine="",r.cursorHide="[?25l",r.cursorShow="[?25h",r.eraseLines=e=>{let t="";for(let n=0;n[o,"8",u,u,t,a,e,o,"8",u,u,a].join(""),r.image=(e,t)=>{let n=o+"1337;File=inline=1";return(t=t||{}).width&&(n+=`;width=${t.width}`),t.height&&(n+=`;height=${t.height}`),!1===t.preserveAspectRatio&&(n+=";preserveAspectRatio=0"),n+":"+e.toString("base64")+a},r.iTerm={},r.iTerm.setCwd=e=>o+"50;CurrentDir="+(e||process.cwd())+a},function(e,t,n){"use strict";const r=n(126),i=n(63);e.exports=r(()=>{i(()=>{process.stderr.write("[?25h")},{alwaysLast:!0})})},function(e,t,n){"use strict";const r=n(127);e.exports=(e,t)=>{if(!0===t)throw new TypeError("The second argument is now an options object");if("function"!=typeof e)throw new TypeError("Expected a function");let n;t=t||{};let i=!1;const o=e.displayName||e.name||"",a=function(){if(i){if(!0===t.throw)throw new Error(`Function \`${o}\` can only be called once`);return n}return i=!0,n=e.apply(this,arguments),e=null,n};return r(a,e),a}},function(e,t,n){"use strict";e.exports=(e,t)=>{for(const n of Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t)))Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));return e}},function(e,t){e.exports=require("assert")},function(e,t){e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],"win32"!==process.platform&&e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")},function(e,t){e.exports=require("events")},function(e,t,n){"use strict";const r=n(65),i=n(43),o=n(133)();e.exports=e=>{if("string"!=typeof(e=e.replace(o," "))||0===e.length)return 0;e=r(e);let t=0;for(let n=0;n=127&&r<=159||(r>=768&&r<=879||(r>65535&&n++,t+=i(r)?2:1))}return t}},function(e,t,n){"use strict";e.exports=e=>{e=Object.assign({onlyFirst:!1},e);const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e.onlyFirst?void 0:"g")}},function(e,t,n){"use strict";e.exports=function(){return/\uD83C\uDFF4(?:\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74)\uDB40\uDC7F|\u200D\u2620\uFE0F)|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDB0-\uDDB3])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDB0-\uDDB3]))|\uD83D\uDC69\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDB0-\uDDB3])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83D\uDC69\u200D[\u2695\u2696\u2708])\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC68(?:\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDB0-\uDDB3])|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF9]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD70\uDD73-\uDD76\uDD7A\uDD7C-\uDDA2\uDDB0-\uDDB9\uDDC0-\uDDC2\uDDD0-\uDDFF])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF9]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD70\uDD73-\uDD76\uDD7A\uDD7C-\uDDA2\uDDB0-\uDDB9\uDDC0-\uDDC2\uDDD0-\uDDFF])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDD1-\uDDDD])/g}},function(e,t,n){var r=n(68),i=n(136),o={};Object.keys(r).forEach(function(e){o[e]={},Object.defineProperty(o[e],"channels",{value:r[e].channels}),Object.defineProperty(o[e],"labels",{value:r[e].labels});var t=i(e);Object.keys(t).forEach(function(n){var r=t[n];o[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,i=0;i1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)})}),e.exports=o},function(e,t,n){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,n){var r=n(68);function i(e){var t=function(){for(var e={},t=Object.keys(r),n=t.length,i=0;i!0,prepareForCommit:()=>{},resetAfterCommit:e=>{e.onRender()},getChildHostContext:()=>!0,shouldSetTextContent:(e,t)=>"string"==typeof t.children||"number"==typeof t.children,createInstance:(e,t)=>{const n=(0,a.createNode)(e);for(const[r,i]of Object.entries(t))if("children"===r){if("string"==typeof i||"number"==typeof i){if("div"===e){const e=(0,a.createNode)("div");e.textContent=String(i),(0,a.appendChildNode)(n,e)}"span"===e&&(n.textContent=String(i))}}else"style"===r?Object.assign(n.style,i):"unstable__transformChildren"===r?n.unstable__transformChildren=i:"unstable__static"===r?n.unstable__static=!0:(0,a.setAttribute)(n,r,i);return n},createTextInstance:a.createTextNode,resetTextContent:e=>{if(e.textContent&&(e.textContent=""),e.childNodes.length>0)for(const t of e.childNodes)t.yogaNode.free(),(0,a.removeChildNode)(e,t)},getPublicInstance:e=>e,appendInitialChild:a.appendChildNode,appendChild:a.appendChildNode,insertBefore:a.insertBeforeNode,finalizeInitialChildren:()=>{},supportsMutation:!0,appendChildToContainer:a.appendChildNode,insertInContainerBefore:a.insertBeforeNode,removeChildFromContainer:a.removeChildNode,prepareUpdate:()=>!0,commitUpdate:(e,t,n,r,i)=>{for(const[t,r]of Object.entries(i))if("children"===t){if("string"==typeof r||"number"==typeof r){if("div"===n)if(0===e.childNodes.length){const t=(0,a.createNode)("div");t.textContent=String(r),(0,a.appendChildNode)(e,t)}else e.childNodes[0].textContent=String(r);"span"===n&&(e.textContent=String(r))}}else"style"===t?Object.assign(e.style,r):"unstable__transformChildren"===t?e.unstable__transformChildren=r:"unstable__static"===t?e.unstable__static=!0:(0,a.setAttribute)(e,t,r)},commitTextUpdate:(e,t,n)=>{"#text"===e.nodeName?e.nodeValue=n:e.textContent=n},removeChild:a.removeChildNode};var s=(0,o.default)(u);t.default=s},function(e,t,n){"use strict"; + */var r=n(62),i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,u=i?Symbol.for("react.fragment"):60107,s=i?Symbol.for("react.strict_mode"):60108,l=i?Symbol.for("react.profiler"):60114,c=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,h=i?Symbol.for("react.concurrent_mode"):60111,d=i?Symbol.for("react.forward_ref"):60112,p=i?Symbol.for("react.suspense"):60113,m=i?Symbol.for("react.memo"):60115,g=i?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function y(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rO.length&&O.push(e)}function R(e,t,n){return null==e?0:function e(t,n,r,i){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var s=!1;if(null===t)s=!0;else switch(u){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case o:case a:s=!0}}if(s)return r(i,t,""===n?"."+B(t,0):n),1;if(s=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l{let n;return"function"==typeof t.write&&(t={stdout:t,stdin:process.stdin}),t=function(e){for(var t=1;tn.unmount(),waitUntilExit:n.waitUntilExit,cleanup:()=>i.default.delete(t.stdout)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=p(n(0)),i=p(n(120)),o=p(n(121)),a=p(n(122)),u=p(n(136)),s=p(n(65)),l=p(n(139)),c=p(n(143)),f=n(44),h=p(n(77)),d=p(n(158));function p(e){return e&&e.__esModule?e:{default:e}}t.default=class{constructor(e){(0,o.default)(this),this.options=e,this.rootNode=(0,f.createNode)("root"),this.rootNode.onRender=this.onRender,this.renderer=(0,c.default)({terminalWidth:e.stdout.columns}),this.log=a.default.create(e.stdout),this.throttledLog=e.debug?this.log:(0,i.default)(this.log,{leading:!0,trailing:!0}),this.isUnmounted=!1,this.lastOutput="",this.fullStaticOutput="",this.container=l.default.createContainer(this.rootNode,!1,!1),this.exitPromise=new Promise((e,t)=>{this.resolveExitPromise=e,this.rejectExitPromise=t}),this.unsubscribeExit=(0,s.default)(this.unmount,{alwaysLast:!1})}onRender(){if(this.isUnmounted)return;const{output:e,staticOutput:t}=this.renderer(this.rootNode),n=t&&"\n"!==t;if(this.options.debug)return n&&(this.fullStaticOutput+=t),void this.options.stdout.write(this.fullStaticOutput+e);n&&(u.default||this.log.clear(),this.options.stdout.write(t),u.default||this.log(e)),e!==this.lastOutput&&(u.default||this.throttledLog(e),this.lastOutput=e)}render(e){const t=r.default.createElement(d.default,{stdin:this.options.stdin,stdout:this.options.stdout,exitOnCtrlC:this.options.exitOnCtrlC,onExit:this.unmount},e);l.default.updateContainer(t,this.container)}unmount(e){this.isUnmounted||(this.onRender(),this.unsubscribeExit(),u.default?this.options.stdout.write(this.lastOutput+"\n"):this.options.debug||this.log.done(),this.isUnmounted=!0,l.default.updateContainer(null,this.container),h.default.delete(this.options.stdout),e instanceof Error?this.rejectExitPromise(e):this.resolveExitPromise())}waitUntilExit(){return this.exitPromise}}},function(e,t){var n="Expected a function",r=NaN,i="[object Symbol]",o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,c="object"==typeof global&&global&&global.Object===Object&&global,f="object"==typeof self&&self&&self.Object===Object&&self,h=c||f||Function("return this")(),d=Object.prototype.toString,p=Math.max,m=Math.min,g=function(){return h.Date.now()};function v(e,t,r){var i,o,a,u,s,l,c=0,f=!1,h=!1,d=!0;if("function"!=typeof e)throw new TypeError(n);function v(t){var n=i,r=o;return i=o=void 0,c=t,u=e.apply(r,n)}function b(e){var n=e-l;return void 0===l||n>=t||n<0||h&&e-c>=a}function D(){var e=g();if(b(e))return E(e);s=setTimeout(D,function(e){var n=t-(e-l);return h?m(n,a-(e-c)):n}(e))}function E(e){return s=void 0,d&&i?v(e):(i=o=void 0,u)}function x(){var e=g(),n=b(e);if(i=arguments,o=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(D,t),f?v(e):u}(l);if(h)return s=setTimeout(D,t),v(l)}return void 0===s&&(s=setTimeout(D,t)),u}return t=_(t)||0,y(r)&&(f=!!r.leading,a=(h="maxWait"in r)?p(_(r.maxWait)||0,t):a,d="trailing"in r?!!r.trailing:d),x.cancel=function(){void 0!==s&&clearTimeout(s),c=0,i=l=o=s=void 0},x.flush=function(){return void 0===s?u:E(g())},x}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function _(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&d.call(e)==i}(e))return r;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=u.test(e);return n||s.test(e)?l(e.slice(2),n?2:8):a.test(e)?r:+e}e.exports=function(e,t,r){var i=!0,o=!0;if("function"!=typeof e)throw new TypeError(n);return y(r)&&(i="leading"in r?!!r.leading:i,o="trailing"in r?!!r.trailing:o),v(e,t,{leading:i,maxWait:t,trailing:o})}},function(e,t,n){"use strict";e.exports=(e,t)=>{t=Object.assign({},t);const n=e=>{const n=t=>"string"==typeof t?e===t:t.test(e);return t.include?t.include.some(n):!t.exclude||!t.exclude.some(n)};for(const[t,r]of(e=>{const t=new Set;do{for(const n of Reflect.ownKeys(e))t.add([e,n])}while((e=Reflect.getPrototypeOf(e))&&e!==Object.prototype);return t})(e.constructor.prototype)){if("constructor"===r||!n(r))continue;const i=Reflect.getOwnPropertyDescriptor(t,r);i&&"function"==typeof i.value&&(e[r]=e[r].bind(e))}return e};const r=["componentWillMount","UNSAFE_componentWillMount","render","getSnapshotBeforeUpdate","componentDidMount","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","UNSAFE_componentWillUpdate","componentDidUpdate","componentWillUnmount","componentDidCatch","setState","forceUpdate"];e.exports.react=(t,n)=>((n=Object.assign({},n)).exclude=(n.exclude||[]).concat(r),e.exports(t,n))},function(e,t,n){"use strict";const r=n(63),i=n(64),o=n(66),a=(e,t)=>{t=Object.assign({showCursor:!1},t);let n=0;const a=(...a)=>{t.showCursor||i.hide();let u=a.join(" ")+"\n";u=o(u,(e=>{const{columns:t}=e;return t?"win32"===process.platform?t-1:t:80})(e),{trim:!1,hard:!0,wordWrap:!1}),e.write(r.eraseLines(n)+u),n=u.split("\n").length};return a.clear=()=>{e.write(r.eraseLines(n)),n=0},a.done=()=>{n=0,t.showCursor||i.show()},a};e.exports=a(process.stdout),e.exports.default=e.exports,e.exports.stderr=a(process.stderr),e.exports.create=a},function(e,t,n){"use strict";const r=n(124),i=n(65);e.exports=r(()=>{i(()=>{process.stderr.write("[?25h")},{alwaysLast:!0})})},function(e,t,n){"use strict";const r=n(125);e.exports=(e,t)=>{if(!0===t)throw new TypeError("The second argument is now an options object");if("function"!=typeof e)throw new TypeError("Expected a function");let n;t=t||{};let i=!1;const o=e.displayName||e.name||"",a=function(){if(i){if(!0===t.throw)throw new Error(`Function \`${o}\` can only be called once`);return n}return i=!0,n=e.apply(this,arguments),e=null,n};return r(a,e),a}},function(e,t,n){"use strict";e.exports=(e,t)=>{for(const n of Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t)))Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));return e}},function(e,t){e.exports=require("assert")},function(e,t){e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],"win32"!==process.platform&&e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")},function(e,t){e.exports=require("events")},function(e,t,n){"use strict";const r=n(67),i=n(43),o=n(131)();e.exports=e=>{if("string"!=typeof(e=e.replace(o," "))||0===e.length)return 0;e=r(e);let t=0;for(let n=0;n=127&&r<=159||(r>=768&&r<=879||(r>65535&&n++,t+=i(r)?2:1))}return t}},function(e,t,n){"use strict";e.exports=e=>{e=Object.assign({onlyFirst:!1},e);const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e.onlyFirst?void 0:"g")}},function(e,t,n){"use strict";e.exports=function(){return/\uD83C\uDFF4(?:\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74)\uDB40\uDC7F|\u200D\u2620\uFE0F)|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDB0-\uDDB3])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDB0-\uDDB3]))|\uD83D\uDC69\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDB0-\uDDB3])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83D\uDC69\u200D[\u2695\u2696\u2708])\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC68(?:\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDB0-\uDDB3])|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF9]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD70\uDD73-\uDD76\uDD7A\uDD7C-\uDDA2\uDDB0-\uDDB9\uDDC0-\uDDC2\uDDD0-\uDDFF])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF9]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD70\uDD73-\uDD76\uDD7A\uDD7C-\uDDA2\uDDB0-\uDDB9\uDDC0-\uDDC2\uDDD0-\uDDFF])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDD1-\uDDDD])/g}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(69),i=n(135),o={};Object.keys(r).forEach(function(e){o[e]={},Object.defineProperty(o[e],"channels",{value:r[e].channels}),Object.defineProperty(o[e],"labels",{value:r[e].labels});var t=i(e);Object.keys(t).forEach(function(n){var r=t[n];o[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,i=0;i1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)})}),e.exports=o},function(e,t,n){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,n){var r=n(69);function i(e){var t=function(){for(var e={},t=Object.keys(r),n=t.length,i=0;i!0,prepareForCommit:()=>{},resetAfterCommit:e=>{e.onRender()},getChildHostContext:()=>!0,shouldSetTextContent:(e,t)=>"string"==typeof t.children||"number"==typeof t.children,createInstance:(e,t)=>{const n=(0,a.createNode)(e);for(const[r,i]of Object.entries(t))if("children"===r){if("string"==typeof i||"number"==typeof i){if("div"===e){const e=(0,a.createNode)("div");e.textContent=String(i),(0,a.appendChildNode)(n,e)}"span"===e&&(n.textContent=String(i))}}else"style"===r?Object.assign(n.style,i):"unstable__transformChildren"===r?n.unstable__transformChildren=i:"unstable__static"===r?n.unstable__static=!0:(0,a.setAttribute)(n,r,i);return n},createTextInstance:a.createTextNode,resetTextContent:e=>{if(e.textContent&&(e.textContent=""),e.childNodes.length>0)for(const t of e.childNodes)t.yogaNode.free(),(0,a.removeChildNode)(e,t)},getPublicInstance:e=>e,appendInitialChild:a.appendChildNode,appendChild:a.appendChildNode,insertBefore:a.insertBeforeNode,finalizeInitialChildren:()=>{},supportsMutation:!0,appendChildToContainer:a.appendChildNode,insertInContainerBefore:a.insertBeforeNode,removeChildFromContainer:a.removeChildNode,prepareUpdate:()=>!0,commitUpdate:(e,t,n,r,i)=>{for(const[t,r]of Object.entries(i))if("children"===t){if("string"==typeof r||"number"==typeof r){if("div"===n)if(0===e.childNodes.length){const t=(0,a.createNode)("div");t.textContent=String(r),(0,a.appendChildNode)(e,t)}else e.childNodes[0].textContent=String(r);"span"===n&&(e.textContent=String(r))}}else"style"===t?Object.assign(e.style,r):"unstable__transformChildren"===t?e.unstable__transformChildren=r:"unstable__static"===t?e.unstable__static=!0:(0,a.setAttribute)(e,t,r)},commitTextUpdate:(e,t,n)=>{"#text"===e.nodeName?e.nodeValue=n:e.textContent=n},removeChild:a.removeChildNode};var s=(0,o.default)(u);t.default=s},function(e,t,n){"use strict"; /** @license React v0.13.6 * scheduler.production.min.js * @@ -19,7 +19,7 @@ object-assign * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */Object.defineProperty(t,"__esModule",{value:!0});var r=null,i=!1,o=3,a=-1,u=-1,s=!1,l=!1;function c(){if(!s){var e=r.expirationTime;l?E():l=!0,w(h,e)}}function f(){var e=r,t=r.next;if(r===t)r=null;else{var n=r.previous;r=n.next=t,t.previous=n}e.next=e.previous=null,n=e.callback,t=e.expirationTime,e=e.priorityLevel;var i=o,a=u;o=e,u=t;try{var s=n()}finally{o=i,u=a}if("function"==typeof s)if(s={callback:s,priorityLevel:e,expirationTime:t,next:null,previous:null},null===r)r=s.next=s.previous=s;else{n=null,e=r;do{if(e.expirationTime>=t){n=e;break}e=e.next}while(e!==r);null===n?n=r:n===r&&(r=s,c()),(t=n.previous).next=n.previous=s,s.next=n,s.previous=t}}function d(){if(-1===a&&null!==r&&1===r.priorityLevel){s=!0;try{do{f()}while(null!==r&&1===r.priorityLevel)}finally{s=!1,null!==r?c():l=!1}}}function h(e){s=!0;var n=i;i=e;try{if(e)for(;null!==r;){var o=t.unstable_now();if(!(r.expirationTime<=o))break;do{f()}while(null!==r&&r.expirationTime<=o)}else if(null!==r)do{f()}while(null!==r&&!k())}finally{s=!1,i=n,null!==r?c():l=!1,d()}}var p,m,g=Date,v="function"==typeof setTimeout?setTimeout:void 0,y="function"==typeof clearTimeout?clearTimeout:void 0,_="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,b="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function D(e){p=_(function(t){y(m),e(t)}),m=v(function(){b(p),e(t.unstable_now())},100)}if("object"==typeof performance&&"function"==typeof performance.now){var x=performance;t.unstable_now=function(){return x.now()}}else t.unstable_now=function(){return g.now()};var w,E,k,C=null;if("undefined"!=typeof window?C=window:"undefined"!=typeof global&&(C=global),C&&C._schedMock){var S=C._schedMock;w=S[0],E=S[1],k=S[2],t.unstable_now=S[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var T=null,A=function(e){if(null!==T)try{T(e)}finally{T=null}};w=function(e){null!==T?setTimeout(w,0,e):(T=e,setTimeout(A,0,!1))},E=function(){T=null},k=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof _&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof b&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var F=null,M=!1,B=-1,P=!1,N=!1,O=0,R=33,I=33;k=function(){return O<=t.unstable_now()};var L=new MessageChannel,j=L.port2;L.port1.onmessage=function(){M=!1;var e=F,n=B;F=null,B=-1;var r=t.unstable_now(),i=!1;if(0>=O-r){if(!(-1!==n&&n<=r))return P||(P=!0,D(U)),F=e,void(B=n);i=!0}if(null!==e){N=!0;try{e(i)}finally{N=!1}}};var U=function(e){if(null!==F){D(U);var t=e-O+I;tt&&(t=8),I=tt?j.postMessage(void 0):P||(P=!0,D(U))},E=function(){F=null,M=!1,B=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=o,i=a;o=e,a=t.unstable_now();try{return n()}finally{o=r,a=i,d()}},t.unstable_next=function(e){switch(o){case 1:case 2:case 3:var n=3;break;default:n=o}var r=o,i=a;o=n,a=t.unstable_now();try{return e()}finally{o=r,a=i,d()}},t.unstable_scheduleCallback=function(e,n){var i=-1!==a?a:t.unstable_now();if("object"==typeof n&&null!==n&&"number"==typeof n.timeout)n=i+n.timeout;else switch(o){case 1:n=i+-1;break;case 2:n=i+250;break;case 5:n=i+1073741823;break;case 4:n=i+1e4;break;default:n=i+5e3}if(e={callback:e,priorityLevel:o,expirationTime:n,next:null,previous:null},null===r)r=e.next=e.previous=e,c();else{i=null;var u=r;do{if(u.expirationTime>n){i=u;break}u=u.next}while(u!==r);null===i?i=r:i===r&&(r=e,c()),(n=i.previous).next=i.previous=e,e.next=i,e.previous=n}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)r=null;else{e===r&&(r=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=o;return function(){var r=o,i=a;o=n,a=t.unstable_now();try{return e.apply(this,arguments)}finally{o=r,a=i,d()}}},t.unstable_getCurrentPriorityLevel=function(){return o},t.unstable_shouldYield=function(){return!i&&(null!==r&&r.expirationTime=t){n=e;break}e=e.next}while(e!==r);null===n?n=r:n===r&&(r=s,c()),(t=n.previous).next=n.previous=s,s.next=n,s.previous=t}}function h(){if(-1===a&&null!==r&&1===r.priorityLevel){s=!0;try{do{f()}while(null!==r&&1===r.priorityLevel)}finally{s=!1,null!==r?c():l=!1}}}function d(e){s=!0;var n=i;i=e;try{if(e)for(;null!==r;){var o=t.unstable_now();if(!(r.expirationTime<=o))break;do{f()}while(null!==r&&r.expirationTime<=o)}else if(null!==r)do{f()}while(null!==r&&!C())}finally{s=!1,i=n,null!==r?c():l=!1,h()}}var p,m,g=Date,v="function"==typeof setTimeout?setTimeout:void 0,y="function"==typeof clearTimeout?clearTimeout:void 0,_="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,b="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function D(e){p=_(function(t){y(m),e(t)}),m=v(function(){b(p),e(t.unstable_now())},100)}if("object"==typeof performance&&"function"==typeof performance.now){var E=performance;t.unstable_now=function(){return E.now()}}else t.unstable_now=function(){return g.now()};var x,w,C,k=null;if("undefined"!=typeof window?k=window:"undefined"!=typeof global&&(k=global),k&&k._schedMock){var S=k._schedMock;x=S[0],w=S[1],C=S[2],t.unstable_now=S[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var A=null,T=function(e){if(null!==A)try{A(e)}finally{A=null}};x=function(e){null!==A?setTimeout(x,0,e):(A=e,setTimeout(T,0,!1))},w=function(){A=null},C=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof _&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof b&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var F=null,M=!1,O=-1,N=!1,P=!1,R=0,B=33,I=33;C=function(){return R<=t.unstable_now()};var L=new MessageChannel,j=L.port2;L.port1.onmessage=function(){M=!1;var e=F,n=O;F=null,O=-1;var r=t.unstable_now(),i=!1;if(0>=R-r){if(!(-1!==n&&n<=r))return N||(N=!0,D(U)),F=e,void(O=n);i=!0}if(null!==e){P=!0;try{e(i)}finally{P=!1}}};var U=function(e){if(null!==F){D(U);var t=e-R+I;tt&&(t=8),I=tt?j.postMessage(void 0):N||(N=!0,D(U))},w=function(){F=null,M=!1,O=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=o,i=a;o=e,a=t.unstable_now();try{return n()}finally{o=r,a=i,h()}},t.unstable_next=function(e){switch(o){case 1:case 2:case 3:var n=3;break;default:n=o}var r=o,i=a;o=n,a=t.unstable_now();try{return e()}finally{o=r,a=i,h()}},t.unstable_scheduleCallback=function(e,n){var i=-1!==a?a:t.unstable_now();if("object"==typeof n&&null!==n&&"number"==typeof n.timeout)n=i+n.timeout;else switch(o){case 1:n=i+-1;break;case 2:n=i+250;break;case 5:n=i+1073741823;break;case 4:n=i+1e4;break;default:n=i+5e3}if(e={callback:e,priorityLevel:o,expirationTime:n,next:null,previous:null},null===r)r=e.next=e.previous=e,c();else{i=null;var u=r;do{if(u.expirationTime>n){i=u;break}u=u.next}while(u!==r);null===i?i=r:i===r&&(r=e,c()),(n=i.previous).next=i.previous=e,e.next=i,e.previous=n}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)r=null;else{e===r&&(r=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=o;return function(){var r=o,i=a;o=n,a=t.unstable_now();try{return e.apply(this,arguments)}finally{o=r,a=i,h()}}},t.unstable_getCurrentPriorityLevel=function(){return o},t.unstable_shouldYield=function(){return!i&&(null!==r&&r.expirationTimeMe||(e.current=Fe[Me],Fe[Me]=null,Me--)}function Pe(e,t){Fe[++Me]=e.current,e.current=t}var Ne={},Oe={current:Ne},Re={current:!1},Ie=Ne;function Le(e,t){var n=e.type.contextTypes;if(!n)return Ne;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function je(e){return null!=(e=e.childContextTypes)}function Ue(e){Be(Re),Be(Oe)}function ze(e){Be(Re),Be(Oe)}function We(e,t,n){Oe.current!==Ne&&u("168"),Pe(Oe,t),Pe(Re,n)}function He(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())o in e||u("108",E(t)||"Unknown",o);return i({},n,r)}function Xe(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Ne,Ie=Oe.current,Pe(Oe,t),Pe(Re,Re.current),!0}function Je(e,t,n){var r=e.stateNode;r||u("169"),n?(t=He(e,t,Ie),r.__reactInternalMemoizedMergedChildContext=t,Be(Re),Be(Oe),Pe(Oe,t)):Be(Re),Pe(Re,n)}var Ge=null,qe=null;function $e(e){return function(t){try{return e(t)}catch(e){}}}function Ve(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.contextDependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Ye(e,t,n,r){return new Ve(e,t,n,r)}function Ke(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Qe(e,t){var n=e.alternate;return null===n?((n=Ye(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.contextDependencies=e.contextDependencies,n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ze(e,t,n,r,i,o){var a=2;if(r=e,"function"==typeof e)Ke(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case d:return et(n.children,i,o,t);case v:return tt(n,3|i,o,t);case h:return tt(n,2|i,o,t);case p:return(e=Ye(12,n,t,4|i)).elementType=p,e.type=p,e.expirationTime=o,e;case _:return(e=Ye(13,n,t,i)).elementType=_,e.type=_,e.expirationTime=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case m:a=10;break e;case g:a=9;break e;case y:a=11;break e;case b:a=14;break e;case D:a=16,r=null;break e}u("130",null==e?e:typeof e,"")}return(t=Ye(a,n,t,i)).elementType=e,t.type=r,t.expirationTime=o,t}function et(e,t,n,r){return(e=Ye(7,e,r,t)).expirationTime=n,e}function tt(e,t,n,r){return e=Ye(8,e,r,t),t=0==(1&t)?h:v,e.elementType=t,e.type=t,e.expirationTime=n,e}function nt(e,t,n){return(e=Ye(6,e,null,t)).expirationTime=n,e}function rt(e,t,n){return(t=Ye(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function it(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:nt&&(e.latestPendingTime=t),ut(t,e)}function ot(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var n=e.earliestPendingTime,r=e.latestPendingTime;n===t?e.earliestPendingTime=r===t?e.latestPendingTime=0:r:r===t&&(e.latestPendingTime=n),n=e.earliestSuspendedTime,r=e.latestSuspendedTime,0===n?e.earliestSuspendedTime=e.latestSuspendedTime=t:nt&&(e.latestSuspendedTime=t),ut(t,e)}function at(e,t){var n=e.earliestPendingTime;return n>t&&(t=n),(e=e.earliestSuspendedTime)>t&&(t=e),t}function ut(e,t){var n=t.earliestSuspendedTime,r=t.latestSuspendedTime,i=t.earliestPendingTime,o=t.latestPingedTime;0===(i=0!==i?i:o)&&(0===e||re&&(e=n),t.nextExpirationTimeToWorkOn=i,t.expirationTime=e}function st(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var lt=Object.prototype.hasOwnProperty;function ct(e,t){if(st(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;rd?(h=f,f=null):h=f.sibling;var p=g(i,f,u[d],s);if(null===p){null===f&&(f=h);break}e&&f&&null===p.alternate&&t(i,f),a=o(p,a,d),null===c?l=p:c.sibling=p,c=p,f=h}if(d===u.length)return n(i,f),l;if(null===f){for(;dh?(p=d,d=null):p=d.sibling;var _=g(i,d,y.value,l);if(null===_){d||(d=p);break}e&&d&&null===_.alternate&&t(i,d),a=o(_,a,h),null===f?c=_:f.sibling=_,f=_,d=p}if(y.done)return n(i,d),c;if(null===d){for(;!y.done;h++,y=s.next())null!==(y=m(i,y.value,l))&&(a=o(y,a,h),null===f?c=y:f.sibling=y,f=y);return c}for(d=r(i,d);!y.done;h++,y=s.next())null!==(y=v(d,i,h,y.value,l))&&(e&&null!==y.alternate&&d.delete(null===y.key?h:y.key),a=o(y,a,h),null===f?c=y:f.sibling=y,f=y);return e&&d.forEach(function(e){return t(i,e)}),c}return function(e,r,o,s){var l="object"==typeof o&&null!==o&&o.type===d&&null===o.key;l&&(o=o.props.children);var h="object"==typeof o&&null!==o;if(h)switch(o.$$typeof){case c:e:{for(h=o.key,l=r;null!==l;){if(l.key===h){if(7===l.tag?o.type===d:l.elementType===o.type){n(e,l.sibling),(r=i(l,o.type===d?o.props.children:o.props)).ref=bt(e,l,o),r.return=e,e=r;break e}n(e,l);break}t(e,l),l=l.sibling}o.type===d?((r=et(o.props.children,e.mode,s,o.key)).return=e,e=r):((s=Ze(o.type,o.key,o.props,null,e.mode,s)).ref=bt(e,r,o),s.return=e,e=s)}return a(e);case f:e:{for(l=o.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=rt(o,e.mode,s)).return=e,e=r}return a(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=nt(o,e.mode,s)).return=e,e=r),a(e);if(_t(o))return y(e,r,o,s);if(w(o))return _(e,r,o,s);if(h&&Dt(e,o),void 0===o&&!l)switch(e.tag){case 1:case 0:u("152",(s=e.type).displayName||s.name||"Component")}return n(e,r)}}var wt=xt(!0),Et=xt(!1),kt={},Ct={current:kt},St={current:kt},Tt={current:kt};function At(e){return e===kt&&u("174"),e}function Ft(e,t){Pe(Tt,t),Pe(St,e),Pe(Ct,kt),t=F(t),Be(Ct),Pe(Ct,t)}function Mt(e){Be(Ct),Be(St),Be(Tt)}function Bt(){return At(Ct.current)}function Pt(e){var t=At(Tt.current),n=At(Ct.current);n!==(t=M(n,e.type,t))&&(Pe(St,e),Pe(Ct,t))}function Nt(e){St.current===e&&(Be(Ct),Be(St))}var Ot=0,Rt=2,It=4,Lt=8,jt=16,Ut=32,zt=64,Wt=128,Ht=s.ReactCurrentDispatcher,Xt=0,Jt=null,Gt=null,qt=null,$t=null,Vt=null,Yt=null,Kt=0,Qt=null,Zt=0,en=!1,tn=null,nn=0;function rn(){u("321")}function on(e,t){if(null===t)return!1;for(var n=0;nKt&&(Kt=f)):o=l.eagerReducer===e?l.eagerState:e(o,l.action),a=l,l=l.next}while(null!==l&&l!==r);c||(s=a,i=o),st(o,t.memoizedState)||(Mn=!0),t.memoizedState=o,t.baseUpdate=s,t.baseState=i,n.lastRenderedState=o}return[t.memoizedState,n.dispatch]}function dn(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===Qt?(Qt={lastEffect:null}).lastEffect=e.next=e:null===(t=Qt.lastEffect)?Qt.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,Qt.lastEffect=e),e}function hn(e,t,n,r){var i=sn();Zt|=e,i.memoizedState=dn(t,n,void 0,void 0===r?null:r)}function pn(e,t,n,r){var i=ln();r=void 0===r?null:r;var o=void 0;if(null!==Gt){var a=Gt.memoizedState;if(o=a.destroy,null!==r&&on(r,a.deps))return void dn(Ot,n,o,r)}Zt|=e,i.memoizedState=dn(t,n,o,r)}function mn(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function gn(){}function vn(e,t,n){25>nn||u("301");var r=e.alternate;if(e===Jt||null!==r&&r===Jt)if(en=!0,e={expirationTime:Xt,action:n,eagerReducer:null,eagerState:null,next:null},null===tn&&(tn=new Map),void 0===(n=tn.get(t)))tn.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{ei();var i=Pi(),o={expirationTime:i=ai(i,e),action:n,eagerReducer:null,eagerState:null,next:null},a=t.last;if(null===a)o.next=o;else{var s=a.next;null!==s&&(o.next=s),a.next=o}if(t.last=o,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var l=t.lastRenderedState,c=r(l,n);if(o.eagerReducer=r,o.eagerState=c,st(c,l))return}catch(e){}li(e,i)}}var yn={readContext:Kn,useCallback:rn,useContext:rn,useEffect:rn,useImperativeHandle:rn,useLayoutEffect:rn,useMemo:rn,useReducer:rn,useRef:rn,useState:rn,useDebugValue:rn},_n={readContext:Kn,useCallback:function(e,t){return sn().memoizedState=[e,void 0===t?null:t],e},useContext:Kn,useEffect:function(e,t){return hn(516,Wt|zt,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,hn(4,It|Ut,mn.bind(null,t,e),n)},useLayoutEffect:function(e,t){return hn(4,It|Ut,e,t)},useMemo:function(e,t){var n=sn();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=sn();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=vn.bind(null,Jt,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},sn().memoizedState=e},useState:function(e){var t=sn();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={last:null,dispatch:null,lastRenderedReducer:cn,lastRenderedState:e}).dispatch=vn.bind(null,Jt,e),[t.memoizedState,e]},useDebugValue:gn},bn={readContext:Kn,useCallback:function(e,t){var n=ln();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&on(t,r[1])?r[0]:(n.memoizedState=[e,t],e)},useContext:Kn,useEffect:function(e,t){return pn(516,Wt|zt,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,pn(4,It|Ut,mn.bind(null,t,e),n)},useLayoutEffect:function(e,t){return pn(4,It|Ut,e,t)},useMemo:function(e,t){var n=ln();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&on(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:fn,useRef:function(){return ln().memoizedState},useState:function(e){return fn(cn)},useDebugValue:gn},Dn=null,xn=null,wn=!1;function En(e,t){var n=Ye(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function kn(e,t){switch(e.tag){case 5:return null!==(t=xe(t,e.type,e.pendingProps))&&(e.stateNode=t,!0);case 6:return null!==(t=we(t,e.pendingProps))&&(e.stateNode=t,!0);case 13:default:return!1}}function Cn(e){if(wn){var t=xn;if(t){var n=t;if(!kn(e,t)){if(!(t=Ee(n))||!kn(e,t))return e.effectTag|=2,wn=!1,void(Dn=e);En(Dn,n)}Dn=e,xn=ke(t)}else e.effectTag|=2,wn=!1,Dn=e}}function Sn(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&18!==e.tag;)e=e.return;Dn=e}function Tn(e){if(!Z||e!==Dn)return!1;if(!wn)return Sn(e),wn=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!L(t,e.memoizedProps))for(t=xn;t;)En(e,t),t=Ee(t);return Sn(e),xn=Dn?Ee(e.stateNode):null,!0}function An(){Z&&(xn=Dn=null,wn=!1)}var Fn=s.ReactCurrentOwner,Mn=!1;function Bn(e,t,n,r){t.child=null===e?Et(t,null,n,r):wt(t,e.child,n,r)}function Pn(e,t,n,r,i){n=n.render;var o=t.ref;return Yn(t,i),r=an(e,t,n,r,o,i),null===e||Mn?(t.effectTag|=1,Bn(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Wn(e,t,i))}function Nn(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!=typeof a||Ke(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ze(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,On(e,t,a,r,i,o))}return a=e.child,i=n?zn(e,t,n):null!==(t=Wn(e,t,n))?t.sibling:null}return Wn(e,t,n)}}else Mn=!1;switch(t.expirationTime=0,t.tag){case 2:r=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps;var i=Le(t,Oe.current);if(Yn(t,n),i=an(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,un(),je(r)){var o=!0;Xe(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null;var a=r.getDerivedStateFromProps;"function"==typeof a&&ht(t,r,a,e),i.updater=pt,t.stateNode=i,i._reactInternalFiber=t,yt(t,r,e,n),t=jn(null,t,r,!0,o,n)}else t.tag=0,Bn(null,t,i,n),t=t.child;return t;case 16:switch(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),o=t.pendingProps,e=function(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:switch(e._status=0,(t=(t=e._ctor)()).then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)}),e._status){case 1:return e._result;case 2:throw e._result}throw e._result=t,t}}(i),t.type=e,i=t.tag=function(e){if("function"==typeof e)return Ke(e)?1:0;if(null!=e){if((e=e.$$typeof)===y)return 11;if(e===b)return 14}return 2}(e),o=ft(e,o),a=void 0,i){case 0:a=In(null,t,e,o,n);break;case 1:a=Ln(null,t,e,o,n);break;case 11:a=Pn(null,t,e,o,n);break;case 14:a=Nn(null,t,e,ft(e.type,o),r,n);break;default:u("306",e,"")}return a;case 0:return r=t.type,i=t.pendingProps,In(e,t,r,i=t.elementType===r?i:ft(r,i),n);case 1:return r=t.type,i=t.pendingProps,Ln(e,t,r,i=t.elementType===r?i:ft(r,i),n);case 3:return Un(t),null===(r=t.updateQueue)&&u("282"),i=null!==(i=t.memoizedState)?i.element:null,fr(t,r,t.pendingProps,null,n),(r=t.memoizedState.element)===i?(An(),t=Wn(e,t,n)):(i=t.stateNode,(i=(null===e||null===e.child)&&i.hydrate)&&(Z?(xn=ke(t.stateNode.containerInfo),Dn=t,i=wn=!0):i=!1),i?(t.effectTag|=2,t.child=Et(t,null,r,n)):(Bn(e,t,r,n),An()),t=t.child),t;case 5:return Pt(t),null===e&&Cn(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,a=i.children,L(r,i)?a=null:null!==o&&L(r,o)&&(t.effectTag|=16),Rn(e,t),1!==n&&1&t.mode&&j(r,i)?(t.expirationTime=t.childExpirationTime=1,t=null):(Bn(e,t,a,n),t=t.child),t;case 6:return null===e&&Cn(t),null;case 13:return zn(e,t,n);case 4:return Ft(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=wt(t,null,r,n):Bn(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Pn(e,t,r,i=t.elementType===r?i:ft(r,i),n);case 7:return Bn(e,t,t.pendingProps,n),t.child;case 8:case 12:return Bn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,$n(t,o=i.value),null!==a){var s=a.value;if(0===(o=st(s,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(s,o):1073741823))){if(a.children===i.children&&!Re.current){t=Wn(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var l=s.contextDependencies;if(null!==l){a=s.child;for(var c=l.first;null!==c;){if(c.context===r&&0!=(c.observedBits&o)){1===s.tag&&((c=or(n)).tag=er,ur(s,c)),s.expirationTime=t&&(Mn=!0),e.contextDependencies=null}function Kn(e,t){return qn!==e&&!1!==t&&0!==t&&("number"==typeof t&&1073741823!==t||(qn=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Gn?(null===Jn&&u("308"),Gn=t,Jn.contextDependencies={first:t,expirationTime:0}):Gn=Gn.next=t),Y?e._currentValue:e._currentValue2}var Qn=0,Zn=1,er=2,tr=3,nr=!1;function rr(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function ir(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function or(e){return{expirationTime:e,tag:Qn,payload:null,callback:null,next:null,nextEffect:null}}function ar(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function ur(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,i=null;null===r&&(r=e.updateQueue=rr(e.memoizedState))}else r=e.updateQueue,i=n.updateQueue,null===r?null===i?(r=e.updateQueue=rr(e.memoizedState),i=n.updateQueue=rr(n.memoizedState)):r=e.updateQueue=ir(i):null===i&&(i=n.updateQueue=ir(r));null===i||r===i?ar(r,t):null===r.lastUpdate||null===i.lastUpdate?(ar(r,t),ar(i,t)):(ar(r,t),i.lastUpdate=t)}function sr(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=rr(e.memoizedState):lr(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function lr(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=ir(t)),t}function cr(e,t,n,r,o,a){switch(n.tag){case Zn:return"function"==typeof(e=n.payload)?e.call(a,r,o):e;case tr:e.effectTag=-2049&e.effectTag|64;case Qn:if(null==(o="function"==typeof(e=n.payload)?e.call(a,r,o):e))break;return i({},r,o);case er:nr=!0}return r}function fr(e,t,n,r,i){nr=!1;for(var o=(t=lr(e,t)).baseState,a=null,u=0,s=t.firstUpdate,l=o;null!==s;){var c=s.expirationTime;ct?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>t&&(e.earliestPendingTime=e.latestPendingTime)),0===(n=e.earliestSuspendedTime)?it(e,t):tn&&it(e,t)}ut(0,e)}(e,i>r?i:r),Rr.current=null,r=void 0,1n?t:n)&&(Vr=null),function(e,t){e.expirationTime=t,e.finishedWork=null}(e,t)}function ni(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0==(1024&e.effectTag)){jr=e;e:{var i=t,o=zr,a=(t=e).pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:je(t.type)&&Ue();break;case 3:Mt(),ze(),(a=t.stateNode).pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),null!==i&&null!==i.child||(Tn(t),t.effectTag&=-3),vr(t);break;case 5:Nt(t),o=At(Tt.current);var s=t.type;if(null!==i&&null!=t.stateNode)yr(i,t,s,a,o),i.ref!==t.ref&&(t.effectTag|=128);else if(a){if(i=Bt(),Tn(t))a=t,Z||u("175"),i=Ce(a.stateNode,a.type,a.memoizedProps,o,i,a),a.updateQueue=i,(i=null!==i)&&mr(t);else{var l=N(s,a,o,i,t);gr(l,t,!1,!1),R(l,s,a,o,i)&&mr(t),t.stateNode=l}null!==t.ref&&(t.effectTag|=128)}else null===t.stateNode&&u("166");break;case 6:i&&null!=t.stateNode?_r(i,t,i.memoizedProps,a):("string"!=typeof a&&(null===t.stateNode&&u("166")),i=At(Tt.current),o=Bt(),Tn(t)?(i=t,Z||u("176"),(i=Se(i.stateNode,i.memoizedProps,i))&&mr(t)):t.stateNode=U(a,i,o,t));break;case 11:break;case 13:if(a=t.memoizedState,0!=(64&t.effectTag)){t.expirationTime=o,jr=t;break e}a=null!==a,o=null!==i&&null!==i.memoizedState,null!==i&&!a&&o&&(null!==(i=i.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=i,i.nextEffect=s):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),(a||o)&&(t.effectTag|=4);break;case 7:case 8:case 12:break;case 4:Mt(),vr(t);break;case 10:Vn(t);break;case 9:case 14:break;case 17:je(t.type)&&Ue();break;case 18:break;default:u("156")}jr=null}if(t=e,1===zr||1!==t.childExpirationTime){for(i=0,a=t.child;null!==a;)(o=a.expirationTime)>i&&(i=o),(s=a.childExpirationTime)>i&&(i=s),a=a.sibling;t.childExpirationTime=i}if(null!==jr)return jr;null!==n&&0==(1024&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1=m?h=0:(-1===h||m component higher in the tree to provide a loading indicator or placeholder to display."+Ae(c))}Hr=!0,f=pr(f,c),s=l;do{switch(s.tag){case 3:s.effectTag|=2048,s.expirationTime=a,sr(s,a=Br(s,f,a));break e;case 1:if(h=f,p=s.type,c=s.stateNode,0==(64&s.effectTag)&&("function"==typeof p.getDerivedStateFromError||null!==c&&"function"==typeof c.componentDidCatch&&(null===Vr||!Vr.has(c)))){s.effectTag|=2048,s.expirationTime=a,sr(s,a=Pr(s,h,a));break e}}s=s.return}while(null!==s)}jr=ni(o);continue}i=!0,Hi(t)}}break}if(Lr=!1,Or.current=n,qn=Gn=Jn=null,un(),i)Ur=null,e.finishedWork=null;else if(null!==jr)e.finishedWork=null;else{if(null===(n=e.current.alternate)&&u("281"),Ur=null,Hr){if(i=e.latestPendingTime,o=e.latestSuspendedTime,a=e.latestPingedTime,0!==i&&it?0:t)):(e.pendingCommitExpirationTime=r,e.finishedWork=n)}}function oi(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 1:var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Vr||!Vr.has(r)))return ur(n,e=Pr(n,e=pr(t,e),1073741823)),void li(n,1073741823);break;case 3:return ur(n,e=Br(n,e=pr(t,e),1073741823)),void li(n,1073741823)}n=n.return}3===e.tag&&(ur(e,n=Br(e,n=pr(t,e),1073741823)),li(e,1073741823))}function ai(e,t){var n=a.unstable_getCurrentPriorityLevel(),r=void 0;if(0==(1&t.mode))r=1073741823;else if(Lr&&!Jr)r=zr;else{switch(n){case a.unstable_ImmediatePriority:r=1073741823;break;case a.unstable_UserBlockingPriority:r=1073741822-10*(1+((1073741822-e+15)/10|0));break;case a.unstable_NormalPriority:r=1073741822-25*(1+((1073741822-e+500)/25|0));break;case a.unstable_LowPriority:case a.unstable_IdlePriority:r=1;break;default:u("313")}null!==Ur&&r===zr&&--r}return n===a.unstable_UserBlockingPriority&&(0===yi||r=r&&(e.didError=!1,(0===(t=e.latestPingedTime)||t>n)&&(e.latestPingedTime=n),ut(n,e),0!==(n=e.expirationTime)&&Ni(e,n)))}function si(e,t){e.expirationTimezr&&Yr(),it(e,t),Lr&&!Jr&&Ur===e||Ni(e,e.expirationTime),Ti>Si&&(Ti=0,u("185")))}function ci(e,t,n,r,i){return a.unstable_runWithPriority(a.unstable_ImmediatePriority,function(){return e(t,n,r,i)})}var fi=null,di=null,hi=0,pi=void 0,mi=!1,gi=null,vi=0,yi=0,_i=!1,bi=null,Di=!1,xi=!1,wi=null,Ei=V(),ki=1073741822-(Ei/10|0),Ci=ki,Si=50,Ti=0,Ai=null;function Fi(){ki=1073741822-((V()-Ei)/10|0)}function Mi(e,t){if(0!==hi){if(te.expirationTime&&(e.expirationTime=t),mi||(Di?xi&&(gi=e,vi=1073741823,zi(e,1073741823,!1)):1073741823===t?ji(1073741823,!1):Mi(e,t))}function Oi(){var e=0,t=null;if(null!==di)for(var n=di,r=fi;null!==r;){var i=r.expirationTime;if(0===i){if((null===n||null===di)&&u("244"),r===r.nextScheduledRoot){fi=di=r.nextScheduledRoot=null;break}if(r===fi)fi=i=r.nextScheduledRoot,di.nextScheduledRoot=i,r.nextScheduledRoot=null;else{if(r===di){(di=n).nextScheduledRoot=fi,r.nextScheduledRoot=null;break}n.nextScheduledRoot=r.nextScheduledRoot,r.nextScheduledRoot=null}r=n.nextScheduledRoot}else{if(i>e&&(e=i,t=r),r===di)break;if(1073741823===e)break;n=r,r=r.nextScheduledRoot}}gi=t,vi=e}var Ri=!1;function Ii(){return!!Ri||!!H()&&(Ri=!0)}function Li(){try{if(!Ii()&&null!==fi){Fi();var e=fi;do{var t=e.expirationTime;0!==t&&ki<=t&&(e.nextExpirationTimeToWorkOn=ki),e=e.nextScheduledRoot}while(e!==fi)}ji(0,!0)}finally{Ri=!1}}function ji(e,t){if(Oi(),t)for(Fi(),Ci=ki;null!==gi&&0!==vi&&e<=vi&&!(Ri&&ki>vi);)zi(gi,vi,ki>vi),Oi(),Fi(),Ci=ki;else for(;null!==gi&&0!==vi&&e<=vi;)zi(gi,vi,!1),Oi();if(t&&(hi=0,pi=null),0!==vi&&Mi(gi,vi),Ti=0,Ai=null,null!==wi)for(e=wi,wi=null,t=0;t=n&&(null===wi?wi=[r]:wi.push(r),r._defer))return e.finishedWork=t,void(e.expirationTime=0);e.finishedWork=null,e===Ai?Ti++:(Ai=e,Ti=0),a.unstable_runWithPriority(a.unstable_ImmediatePriority,function(){ti(e,t)})}function Hi(e){null===gi&&u("246"),gi.expirationTime=0,_i||(_i=!0,bi=e)}function Xi(e,t,n,r,i){var o=t.current;e:if(n){t:{2===k(n=n._reactInternalFiber)&&1===n.tag||u("170");var a=n;do{switch(a.tag){case 3:a=a.stateNode.context;break t;case 1:if(je(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break t}}a=a.return}while(null!==a);u("171"),a=void 0}if(1===n.tag){var s=n.type;if(je(s)){n=He(n,s,a);break e}}n=a}else n=Ne;return null===t.context?t.context=n:t.pendingContext=n,t=i,(i=or(r)).payload={element:e},null!==(t=void 0===t?null:t)&&(i.callback=t),ei(),ur(o,i),li(o,r),r}function Ji(e){var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?u("188"):u("268",Object.keys(e))),null===(e=T(t))?null:e.stateNode}var Gi={updateContainerAtExpirationTime:Xi,createContainer:function(e,t,n){return e={current:t=Ye(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:G,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},t.stateNode=e},updateContainer:function(e,t,n,r){var i=t.current;return Xi(e,t,n,i=ai(Pi(),i),r)},flushRoot:Ui,requestWork:Ni,computeUniqueAsyncExpiration:function(){var e=1073741822-25*(1+((1073741822-Pi()+500)/25|0));return e>=Ir&&(e=Ir-1),Ir=e},batchedUpdates:function(e,t){var n=Di;Di=!0;try{return e(t)}finally{(Di=n)||mi||ji(1073741823,!1)}},unbatchedUpdates:function(e,t){if(Di&&!xi){xi=!0;try{return e(t)}finally{xi=!1}}return e(t)},deferredUpdates:a.unstable_next,syncUpdates:ci,interactiveUpdates:function(e,t,n){Di||mi||0===yi||(ji(yi,!1),yi=0);var r=Di;Di=!0;try{return a.unstable_runWithPriority(a.unstable_UserBlockingPriority,function(){return e(t,n)})}finally{(Di=r)||mi||ji(1073741823,!1)}},flushInteractiveUpdates:function(){mi||0===yi||(ji(yi,!1),yi=0)},flushControlled:function(e){var t=Di;Di=!0;try{ci(e)}finally{(Di=t)||mi||ji(1073741823,!1)}},flushSync:function(e,t){mi&&u("187");var n=Di;Di=!0;try{return ci(e,t)}finally{Di=n,ji(1073741823,!1)}},getPublicRootInstance:function(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:return A(e.child.stateNode);default:return e.child.stateNode}},findHostInstance:Ji,findHostInstanceWithWarning:function(e){return Ji(e)},findHostInstanceWithNoPortals:function(e){return null===(e=function(e){if(!(e=S(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child&&4!==t.tag)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}(e))?null:e.stateNode},injectIntoDevTools:function(e){var t=e.findFiberByHostInstance;return function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Ge=$e(function(e){return t.onCommitFiberRoot(n,e)}),qe=$e(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}(i({},e,{overrideProps:null,currentDispatcherRef:s.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=T(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}};e.exports=Gi.default||Gi;var qi=e.exports;return e.exports=t,qi}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(45)),i=f(n(148)),o=n(44),a=f(n(153)),u=f(n(157)),s=f(n(71)),l=f(n(74)),c=f(n(75));function f(e){return e&&e.__esModule?e:{default:e}}const d=e=>{if(e.textContent&&"string"==typeof e.parentNode.style.textWrap){const{yogaNode:t}=e,n=e.parentNode.yogaNode,r=(0,c.default)(n);if(t.getComputedWidth()>r){const{textWrap:n}=e.parentNode.style,i=(0,l.default)(e.textContent,r,{textWrap:n}),{width:o,height:a}=(0,s.default)(i);t.setWidth(o),t.setHeight(a)}}else if(Array.isArray(e.childNodes)&&e.childNodes.length>0)for(const t of e.childNodes)d(t)},h=e=>{const t=[];for(const n of e.childNodes)n.unstable__static&&t.push(n),Array.isArray(n.childNodes)&&n.childNodes.length>0&&t.push(...h(n));return t};t.default=({terminalWidth:e})=>{const t=r.default.Config.create();let n,s;return l=>{n&&n.freeRecursive(),s&&s.freeRecursive();const c=h(l);let f;if(c.length,1===c.length){const n=(0,o.createNode)("root");(0,o.appendStaticNode)(n,c[0]);const{yogaNode:l}=(0,a.default)(n,{config:t,terminalWidth:e,skipStaticElements:!1});l.calculateLayout(r.default.UNDEFINED,r.default.UNDEFINED,r.default.DIRECTION_LTR),d(n),l.calculateLayout(r.default.UNDEFINED,r.default.UNDEFINED,r.default.DIRECTION_LTR),s=l,f=new i.default({width:l.getComputedWidth(),height:l.getComputedHeight()}),(0,u.default)(n,f,{skipStaticElements:!1})}const{yogaNode:p}=(0,a.default)(l,{config:t,terminalWidth:e,skipStaticElements:!0});p.calculateLayout(r.default.UNDEFINED,r.default.UNDEFINED,r.default.DIRECTION_LTR),d(l),p.calculateLayout(r.default.UNDEFINED,r.default.UNDEFINED,r.default.DIRECTION_LTR),n=p;const m=new i.default({width:p.getComputedWidth(),height:p.getComputedHeight()});return(0,u.default)(l,m,{skipStaticElements:!0}),{output:m.get(),staticOutput:f?`${f.get()}\n`:void 0}}}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t"}}]),e}(),l=function(){function e(t,n){a(this,e),this.width=t,this.height=n}return i(e,null,[{key:"fromJS",value:function(t){return new e(t.width,t.height)}}]),i(e,[{key:"fromJS",value:function(e){e(this.width,this.height)}},{key:"toString",value:function(){return""}}]),e}(),c=function(){function e(t,n){a(this,e),this.unit=t,this.value=n}return i(e,[{key:"fromJS",value:function(e){e(this.unit,this.value)}},{key:"toString",value:function(){switch(this.unit){case u.UNIT_POINT:return String(this.value);case u.UNIT_PERCENT:return this.value+"%";case u.UNIT_AUTO:return"auto";default:return this.value+"?"}}},{key:"valueOf",value:function(){return this.value}}]),e}();e.exports=function(e,t){function n(e,t,n){var r=e[t];e[t]=function(){for(var e=arguments.length,t=Array(e),i=0;i1?t-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:NaN,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:NaN,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u.DIRECTION_LTR;return e.call(this,t,n,r)}),r({Config:t.Config,Node:t.Node,Layout:e("Layout",s),Size:e("Size",l),Value:e("Value",c),getInstanceCount:function(){return t.getInstanceCount.apply(t,arguments)}},u)}},function(e,t,n){"use strict";e.exports={ALIGN_COUNT:8,ALIGN_AUTO:0,ALIGN_FLEX_START:1,ALIGN_CENTER:2,ALIGN_FLEX_END:3,ALIGN_STRETCH:4,ALIGN_BASELINE:5,ALIGN_SPACE_BETWEEN:6,ALIGN_SPACE_AROUND:7,DIMENSION_COUNT:2,DIMENSION_WIDTH:0,DIMENSION_HEIGHT:1,DIRECTION_COUNT:3,DIRECTION_INHERIT:0,DIRECTION_LTR:1,DIRECTION_RTL:2,DISPLAY_COUNT:2,DISPLAY_FLEX:0,DISPLAY_NONE:1,EDGE_COUNT:9,EDGE_LEFT:0,EDGE_TOP:1,EDGE_RIGHT:2,EDGE_BOTTOM:3,EDGE_START:4,EDGE_END:5,EDGE_HORIZONTAL:6,EDGE_VERTICAL:7,EDGE_ALL:8,EXPERIMENTAL_FEATURE_COUNT:1,EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS:0,FLEX_DIRECTION_COUNT:4,FLEX_DIRECTION_COLUMN:0,FLEX_DIRECTION_COLUMN_REVERSE:1,FLEX_DIRECTION_ROW:2,FLEX_DIRECTION_ROW_REVERSE:3,JUSTIFY_COUNT:6,JUSTIFY_FLEX_START:0,JUSTIFY_CENTER:1,JUSTIFY_FLEX_END:2,JUSTIFY_SPACE_BETWEEN:3,JUSTIFY_SPACE_AROUND:4,JUSTIFY_SPACE_EVENLY:5,LOG_LEVEL_COUNT:6,LOG_LEVEL_ERROR:0,LOG_LEVEL_WARN:1,LOG_LEVEL_INFO:2,LOG_LEVEL_DEBUG:3,LOG_LEVEL_VERBOSE:4,LOG_LEVEL_FATAL:5,MEASURE_MODE_COUNT:3,MEASURE_MODE_UNDEFINED:0,MEASURE_MODE_EXACTLY:1,MEASURE_MODE_AT_MOST:2,NODE_TYPE_COUNT:2,NODE_TYPE_DEFAULT:0,NODE_TYPE_TEXT:1,OVERFLOW_COUNT:3,OVERFLOW_VISIBLE:0,OVERFLOW_HIDDEN:1,OVERFLOW_SCROLL:2,POSITION_TYPE_COUNT:2,POSITION_TYPE_RELATIVE:0,POSITION_TYPE_ABSOLUTE:1,PRINT_OPTIONS_COUNT:3,PRINT_OPTIONS_LAYOUT:1,PRINT_OPTIONS_STYLE:2,PRINT_OPTIONS_CHILDREN:4,UNIT_COUNT:4,UNIT_UNDEFINED:0,UNIT_POINT:1,UNIT_PERCENT:2,UNIT_AUTO:3,WRAP_COUNT:3,WRAP_NO_WRAP:0,WRAP_WRAP:1,WRAP_WRAP_REVERSE:2}},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__,wrapper;wrapper=function(Module,cb){var Module;"function"==typeof Module&&(cb=Module,Module={}),Module.onRuntimeInitialized=function(e,t){return function(){e&&e.apply(this,arguments);try{Module.ccall("nbind_init")}catch(e){return void t(e)}t(null,{bind:Module._nbind_value,reflect:Module.NBind.reflect,queryType:Module.NBind.queryType,toggleLightGC:Module.toggleLightGC,lib:Module})}}(Module.onRuntimeInitialized,cb),Module||(Module=(void 0!==Module?Module:null)||{});var moduleOverrides={};for(var key in Module)Module.hasOwnProperty(key)&&(moduleOverrides[key]=Module[key]);var ENVIRONMENT_IS_WEB=!1,ENVIRONMENT_IS_WORKER=!1,ENVIRONMENT_IS_NODE=!1,ENVIRONMENT_IS_SHELL=!1,nodeFS,nodePath;if(Module.ENVIRONMENT)if("WEB"===Module.ENVIRONMENT)ENVIRONMENT_IS_WEB=!0;else if("WORKER"===Module.ENVIRONMENT)ENVIRONMENT_IS_WORKER=!0;else if("NODE"===Module.ENVIRONMENT)ENVIRONMENT_IS_NODE=!0;else{if("SHELL"!==Module.ENVIRONMENT)throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.");ENVIRONMENT_IS_SHELL=!0}else ENVIRONMENT_IS_WEB="object"==typeof window,ENVIRONMENT_IS_WORKER="function"==typeof importScripts,ENVIRONMENT_IS_NODE="object"==typeof process&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER,ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;if(ENVIRONMENT_IS_NODE)Module.print||(Module.print=console.log),Module.printErr||(Module.printErr=console.warn),Module.read=function(e,t){nodeFS||(nodeFS={}("")),nodePath||(nodePath={}("")),e=nodePath.normalize(e);var n=nodeFS.readFileSync(e);return t?n:n.toString()},Module.readBinary=function(e){var t=Module.read(e,!0);return t.buffer||(t=new Uint8Array(t)),assert(t.buffer),t},Module.load=function(e){globalEval(read(e))},Module.thisProgram||(process.argv.length>1?Module.thisProgram=process.argv[1].replace(/\\/g,"/"):Module.thisProgram="unknown-program"),Module.arguments=process.argv.slice(2),module.exports=Module,process.on("uncaughtException",function(e){if(!(e instanceof ExitStatus))throw e}),Module.inspect=function(){return"[Emscripten Module object]"};else if(ENVIRONMENT_IS_SHELL)Module.print||(Module.print=print),"undefined"!=typeof printErr&&(Module.printErr=printErr),"undefined"!=typeof read?Module.read=read:Module.read=function(){throw"no read() available"},Module.readBinary=function(e){if("function"==typeof readbuffer)return new Uint8Array(readbuffer(e));var t=read(e,"binary");return assert("object"==typeof t),t},"undefined"!=typeof scriptArgs?Module.arguments=scriptArgs:void 0!==arguments&&(Module.arguments=arguments),"function"==typeof quit&&(Module.quit=function(e,t){quit(e)});else{if(!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER)throw"Unknown runtime environment. Where are we?";if(Module.read=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},ENVIRONMENT_IS_WORKER&&(Module.readBinary=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),Module.readAsync=function(e,t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="arraybuffer",r.onload=function(){200==r.status||0==r.status&&r.response?t(r.response):n()},r.onerror=n,r.send(null)},void 0!==arguments&&(Module.arguments=arguments),"undefined"!=typeof console)Module.print||(Module.print=function(e){console.log(e)}),Module.printErr||(Module.printErr=function(e){console.warn(e)});else{var TRY_USE_DUMP=!1;Module.print||(Module.print=TRY_USE_DUMP&&"undefined"!=typeof dump?function(e){dump(e)}:function(e){})}ENVIRONMENT_IS_WORKER&&(Module.load=importScripts),void 0===Module.setWindowTitle&&(Module.setWindowTitle=function(e){document.title=e})}function globalEval(e){eval.call(null,e)}for(var key in!Module.load&&Module.read&&(Module.load=function(e){globalEval(Module.read(e))}),Module.print||(Module.print=function(){}),Module.printErr||(Module.printErr=Module.print),Module.arguments||(Module.arguments=[]),Module.thisProgram||(Module.thisProgram="./this.program"),Module.quit||(Module.quit=function(e,t){throw t}),Module.print=Module.print,Module.printErr=Module.printErr,Module.preRun=[],Module.postRun=[],moduleOverrides)moduleOverrides.hasOwnProperty(key)&&(Module[key]=moduleOverrides[key]);moduleOverrides=void 0;var Runtime={setTempRet0:function(e){return tempRet0=e,e},getTempRet0:function(){return tempRet0},stackSave:function(){return STACKTOP},stackRestore:function(e){STACKTOP=e},getNativeTypeSize:function(e){switch(e){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:if("*"===e[e.length-1])return Runtime.QUANTUM_SIZE;if("i"===e[0]){var t=parseInt(e.substr(1));return assert(t%8==0),t/8}return 0}},getNativeFieldSize:function(e){return Math.max(Runtime.getNativeTypeSize(e),Runtime.QUANTUM_SIZE)},STACK_ALIGN:16,prepVararg:function(e,t){return"double"===t||"i64"===t?7&e&&(assert(4==(7&e)),e+=4):assert(0==(3&e)),e},getAlignSize:function(e,t,n){return n||"i64"!=e&&"double"!=e?e?Math.min(t||(e?Runtime.getNativeFieldSize(e):0),Runtime.QUANTUM_SIZE):Math.min(t,8):8},dynCall:function(e,t,n){return n&&n.length?Module["dynCall_"+e].apply(null,[t].concat(n)):Module["dynCall_"+e].call(null,t)},functionPointers:[],addFunction:function(e){for(var t=0;t>2],n=-16&(t+e+15|0);if((HEAP32[DYNAMICTOP_PTR>>2]=n,n>=TOTAL_MEMORY)&&!enlargeMemory())return HEAP32[DYNAMICTOP_PTR>>2]=t,0;return t},alignMemory:function(e,t){return e=Math.ceil(e/(t||16))*(t||16)},makeBigInt:function(e,t,n){return n?+(e>>>0)+4294967296*+(t>>>0):+(e>>>0)+4294967296*+(0|t)},GLOBAL_BASE:8,QUANTUM_SIZE:4,__dummy__:0};Module.Runtime=Runtime;var ABORT=0,EXITSTATUS=0,cwrap,ccall;function assert(e,t){e||abort("Assertion failed: "+t)}function getCFunc(ident){var func=Module["_"+ident];if(!func)try{func=eval("_"+ident)}catch(e){}return assert(func,"Cannot call unknown function "+ident+" (perhaps LLVM optimizations or closure removed it?)"),func}function setValue(e,t,n,r){switch("*"===(n=n||"i8").charAt(n.length-1)&&(n="i32"),n){case"i1":case"i8":HEAP8[e>>0]=t;break;case"i16":HEAP16[e>>1]=t;break;case"i32":HEAP32[e>>2]=t;break;case"i64":tempI64=[t>>>0,(tempDouble=t,+Math_abs(tempDouble)>=1?tempDouble>0?(0|Math_min(+Math_floor(tempDouble/4294967296),4294967295))>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[e>>2]=tempI64[0],HEAP32[e+4>>2]=tempI64[1];break;case"float":HEAPF32[e>>2]=t;break;case"double":HEAPF64[e>>3]=t;break;default:abort("invalid type for setValue: "+n)}}function getValue(e,t,n){switch("*"===(t=t||"i8").charAt(t.length-1)&&(t="i32"),t){case"i1":case"i8":return HEAP8[e>>0];case"i16":return HEAP16[e>>1];case"i32":case"i64":return HEAP32[e>>2];case"float":return HEAPF32[e>>2];case"double":return HEAPF64[e>>3];default:abort("invalid type for setValue: "+t)}return null}!function(){var JSfuncs={stackSave:function(){Runtime.stackSave()},stackRestore:function(){Runtime.stackRestore()},arrayToC:function(e){var t=Runtime.stackAlloc(e.length);return writeArrayToMemory(e,t),t},stringToC:function(e){var t=0;if(null!=e&&0!==e){var n=1+(e.length<<2);stringToUTF8(e,t=Runtime.stackAlloc(n),n)}return t}},toC={string:JSfuncs.stringToC,array:JSfuncs.arrayToC};ccall=function(e,t,n,r,i){var o=getCFunc(e),a=[],u=0;if(r)for(var s=0;s>2]=0;for(s=a+o;r>0]=0;return a}if("i8"===u)return e.subarray||e.slice?HEAPU8.set(e,a):HEAPU8.set(new Uint8Array(e),a),a;for(var l,c,f,d=0;d>0],(0!=n||t)&&(i++,!t||i!=t););t||(t=i);var o="";if(r<128){for(var a;t>0;)a=String.fromCharCode.apply(String,HEAPU8.subarray(e,e+Math.min(t,1024))),o=o?o+a:a,e+=1024,t-=1024;return o}return Module.UTF8ToString(e)}function AsciiToString(e){for(var t="";;){var n=HEAP8[e++>>0];if(!n)return t;t+=String.fromCharCode(n)}}function stringToAscii(e,t){return writeAsciiToMemory(e,t,!1)}Module.ALLOC_NORMAL=ALLOC_NORMAL,Module.ALLOC_STACK=ALLOC_STACK,Module.ALLOC_STATIC=ALLOC_STATIC,Module.ALLOC_DYNAMIC=ALLOC_DYNAMIC,Module.ALLOC_NONE=ALLOC_NONE,Module.allocate=allocate,Module.getMemory=getMemory,Module.Pointer_stringify=Pointer_stringify,Module.AsciiToString=AsciiToString,Module.stringToAscii=stringToAscii;var UTF8Decoder="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function UTF8ArrayToString(e,t){for(var n=t;e[n];)++n;if(n-t>16&&e.subarray&&UTF8Decoder)return UTF8Decoder.decode(e.subarray(t,n));for(var r,i,o,a,u,s="";;){if(!(r=e[t++]))return s;if(128&r)if(i=63&e[t++],192!=(224&r))if(o=63&e[t++],224==(240&r)?r=(15&r)<<12|i<<6|o:(a=63&e[t++],240==(248&r)?r=(7&r)<<18|i<<12|o<<6|a:(u=63&e[t++],r=248==(252&r)?(3&r)<<24|i<<18|o<<12|a<<6|u:(1&r)<<30|i<<24|o<<18|a<<12|u<<6|63&e[t++])),r<65536)s+=String.fromCharCode(r);else{var l=r-65536;s+=String.fromCharCode(55296|l>>10,56320|1023&l)}else s+=String.fromCharCode((31&r)<<6|i);else s+=String.fromCharCode(r)}}function UTF8ToString(e){return UTF8ArrayToString(HEAPU8,e)}function stringToUTF8Array(e,t,n,r){if(!(r>0))return 0;for(var i=n,o=n+r-1,a=0;a=55296&&u<=57343&&(u=65536+((1023&u)<<10)|1023&e.charCodeAt(++a)),u<=127){if(n>=o)break;t[n++]=u}else if(u<=2047){if(n+1>=o)break;t[n++]=192|u>>6,t[n++]=128|63&u}else if(u<=65535){if(n+2>=o)break;t[n++]=224|u>>12,t[n++]=128|u>>6&63,t[n++]=128|63&u}else if(u<=2097151){if(n+3>=o)break;t[n++]=240|u>>18,t[n++]=128|u>>12&63,t[n++]=128|u>>6&63,t[n++]=128|63&u}else if(u<=67108863){if(n+4>=o)break;t[n++]=248|u>>24,t[n++]=128|u>>18&63,t[n++]=128|u>>12&63,t[n++]=128|u>>6&63,t[n++]=128|63&u}else{if(n+5>=o)break;t[n++]=252|u>>30,t[n++]=128|u>>24&63,t[n++]=128|u>>18&63,t[n++]=128|u>>12&63,t[n++]=128|u>>6&63,t[n++]=128|63&u}}return t[n]=0,n-i}function stringToUTF8(e,t,n){return stringToUTF8Array(e,HEAPU8,t,n)}function lengthBytesUTF8(e){for(var t=0,n=0;n=55296&&r<=57343&&(r=65536+((1023&r)<<10)|1023&e.charCodeAt(++n)),r<=127?++t:t+=r<=2047?2:r<=65535?3:r<=2097151?4:r<=67108863?5:6}return t}Module.UTF8ArrayToString=UTF8ArrayToString,Module.UTF8ToString=UTF8ToString,Module.stringToUTF8Array=stringToUTF8Array,Module.stringToUTF8=stringToUTF8,Module.lengthBytesUTF8=lengthBytesUTF8;var UTF16Decoder="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,HEAP,buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64,STATIC_BASE,STATICTOP,staticSealed,STACK_BASE,STACKTOP,STACK_MAX,DYNAMIC_BASE,DYNAMICTOP_PTR;function demangle(e){var t=Module.___cxa_demangle||Module.__cxa_demangle;if(t){try{var n=e.substr(1),r=lengthBytesUTF8(n)+1,i=_malloc(r);stringToUTF8(n,i,r);var o=_malloc(4),a=t(i,0,0,o);if(0===getValue(o,"i32")&&a)return Pointer_stringify(a)}catch(e){}finally{i&&_free(i),o&&_free(o),a&&_free(a)}return e}return Runtime.warnOnce("warning: build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling"),e}function demangleAll(e){return e.replace(/__Z[\w\d_]+/g,function(e){var t=demangle(e);return e===t?e:e+" ["+t+"]"})}function jsStackTrace(){var e=new Error;if(!e.stack){try{throw new Error(0)}catch(t){e=t}if(!e.stack)return"(no stack trace available)"}return e.stack.toString()}function stackTrace(){var e=jsStackTrace();return Module.extraStackTrace&&(e+="\n"+Module.extraStackTrace()),demangleAll(e)}function updateGlobalBufferViews(){Module.HEAP8=HEAP8=new Int8Array(buffer),Module.HEAP16=HEAP16=new Int16Array(buffer),Module.HEAP32=HEAP32=new Int32Array(buffer),Module.HEAPU8=HEAPU8=new Uint8Array(buffer),Module.HEAPU16=HEAPU16=new Uint16Array(buffer),Module.HEAPU32=HEAPU32=new Uint32Array(buffer),Module.HEAPF32=HEAPF32=new Float32Array(buffer),Module.HEAPF64=HEAPF64=new Float64Array(buffer)}function abortOnCannotGrowMemory(){abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value "+TOTAL_MEMORY+", (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ")}function enlargeMemory(){abortOnCannotGrowMemory()}Module.stackTrace=stackTrace,STATIC_BASE=STATICTOP=STACK_BASE=STACKTOP=STACK_MAX=DYNAMIC_BASE=DYNAMICTOP_PTR=0,staticSealed=!1;var TOTAL_STACK=Module.TOTAL_STACK||5242880,TOTAL_MEMORY=Module.TOTAL_MEMORY||134217728;function getTotalMemory(){return TOTAL_MEMORY}if(TOTAL_MEMORY0;){var t=e.shift();if("function"!=typeof t){var n=t.func;"number"==typeof n?void 0===t.arg?Module.dynCall_v(n):Module.dynCall_vi(n,t.arg):n(void 0===t.arg?null:t.arg)}else t()}}Module.HEAP=HEAP,Module.buffer=buffer,Module.HEAP8=HEAP8,Module.HEAP16=HEAP16,Module.HEAP32=HEAP32,Module.HEAPU8=HEAPU8,Module.HEAPU16=HEAPU16,Module.HEAPU32=HEAPU32,Module.HEAPF32=HEAPF32,Module.HEAPF64=HEAPF64;var __ATPRERUN__=[],__ATINIT__=[],__ATMAIN__=[],__ATEXIT__=[],__ATPOSTRUN__=[],runtimeInitialized=!1,runtimeExited=!1;function preRun(){if(Module.preRun)for("function"==typeof Module.preRun&&(Module.preRun=[Module.preRun]);Module.preRun.length;)addOnPreRun(Module.preRun.shift());callRuntimeCallbacks(__ATPRERUN__)}function ensureInitRuntime(){runtimeInitialized||(runtimeInitialized=!0,callRuntimeCallbacks(__ATINIT__))}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){callRuntimeCallbacks(__ATEXIT__),runtimeExited=!0}function postRun(){if(Module.postRun)for("function"==typeof Module.postRun&&(Module.postRun=[Module.postRun]);Module.postRun.length;)addOnPostRun(Module.postRun.shift());callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(e){__ATPRERUN__.unshift(e)}function addOnInit(e){__ATINIT__.unshift(e)}function addOnPreMain(e){__ATMAIN__.unshift(e)}function addOnExit(e){__ATEXIT__.unshift(e)}function addOnPostRun(e){__ATPOSTRUN__.unshift(e)}function intArrayFromString(e,t,n){var r=n>0?n:lengthBytesUTF8(e)+1,i=new Array(r),o=stringToUTF8Array(e,i,0,i.length);return t&&(i.length=o),i}function intArrayToString(e){for(var t=[],n=0;n255&&(r&=255),t.push(String.fromCharCode(r))}return t.join("")}function writeStringToMemory(e,t,n){var r,i;Runtime.warnOnce("writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!"),n&&(i=t+lengthBytesUTF8(e),r=HEAP8[i]),stringToUTF8(e,t,1/0),n&&(HEAP8[i]=r)}function writeArrayToMemory(e,t){HEAP8.set(e,t)}function writeAsciiToMemory(e,t,n){for(var r=0;r>0]=e.charCodeAt(r);n||(HEAP8[t>>0]=0)}if(Module.addOnPreRun=addOnPreRun,Module.addOnInit=addOnInit,Module.addOnPreMain=addOnPreMain,Module.addOnExit=addOnExit,Module.addOnPostRun=addOnPostRun,Module.intArrayFromString=intArrayFromString,Module.intArrayToString=intArrayToString,Module.writeStringToMemory=writeStringToMemory,Module.writeArrayToMemory=writeArrayToMemory,Module.writeAsciiToMemory=writeAsciiToMemory,Math.imul&&-5===Math.imul(4294967295,5)||(Math.imul=function(e,t){var n=65535&e,r=65535&t;return n*r+((e>>>16)*r+n*(t>>>16)<<16)|0}),Math.imul=Math.imul,!Math.fround){var froundBuffer=new Float32Array(1);Math.fround=function(e){return froundBuffer[0]=e,froundBuffer[0]}}Math.fround=Math.fround,Math.clz32||(Math.clz32=function(e){e>>>=0;for(var t=0;t<32;t++)if(e&1<<31-t)return t;return 32}),Math.clz32=Math.clz32,Math.trunc||(Math.trunc=function(e){return e<0?Math.ceil(e):Math.floor(e)}),Math.trunc=Math.trunc;var Math_abs=Math.abs,Math_cos=Math.cos,Math_sin=Math.sin,Math_tan=Math.tan,Math_acos=Math.acos,Math_asin=Math.asin,Math_atan=Math.atan,Math_atan2=Math.atan2,Math_exp=Math.exp,Math_log=Math.log,Math_sqrt=Math.sqrt,Math_ceil=Math.ceil,Math_floor=Math.floor,Math_pow=Math.pow,Math_imul=Math.imul,Math_fround=Math.fround,Math_round=Math.round,Math_min=Math.min,Math_clz32=Math.clz32,Math_trunc=Math.trunc,runDependencies=0,runDependencyWatcher=null,dependenciesFulfilled=null;function getUniqueRunDependency(e){return e}function addRunDependency(e){runDependencies++,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies)}function removeRunDependency(e){if(runDependencies--,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies),0==runDependencies&&(null!==runDependencyWatcher&&(clearInterval(runDependencyWatcher),runDependencyWatcher=null),dependenciesFulfilled)){var t=dependenciesFulfilled;dependenciesFulfilled=null,t()}}Module.addRunDependency=addRunDependency,Module.removeRunDependency=removeRunDependency,Module.preloadedImages={},Module.preloadedAudios={};var ASM_CONSTS=[function(e,t,n,r,i,o,a,u){return _nbind.callbackSignatureList[e].apply(this,arguments)}];function _emscripten_asm_const_iiiiiiii(e,t,n,r,i,o,a,u){return ASM_CONSTS[e](t,n,r,i,o,a,u)}function _emscripten_asm_const_iiiii(e,t,n,r,i){return ASM_CONSTS[e](t,n,r,i)}function _emscripten_asm_const_iiidddddd(e,t,n,r,i,o,a,u,s){return ASM_CONSTS[e](t,n,r,i,o,a,u,s)}function _emscripten_asm_const_iiididi(e,t,n,r,i,o,a){return ASM_CONSTS[e](t,n,r,i,o,a)}function _emscripten_asm_const_iiii(e,t,n,r){return ASM_CONSTS[e](t,n,r)}function _emscripten_asm_const_iiiid(e,t,n,r,i){return ASM_CONSTS[e](t,n,r,i)}function _emscripten_asm_const_iiiiii(e,t,n,r,i,o){return ASM_CONSTS[e](t,n,r,i,o)}STATIC_BASE=Runtime.GLOBAL_BASE,STATICTOP=STATIC_BASE+12800,__ATINIT__.push({func:function(){__GLOBAL__sub_I_Yoga_cpp()}},{func:function(){__GLOBAL__sub_I_nbind_cc()}},{func:function(){__GLOBAL__sub_I_common_cc()}},{func:function(){__GLOBAL__sub_I_Binding_cc()}}),allocate([0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,192,127,0,0,192,127,0,0,192,127,0,0,192,127,3,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,3,0,0,0,0,0,192,127,3,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,192,127,0,0,192,127,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,192,127,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,192,127,0,0,192,127,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,0,0,128,191,0,0,128,191,0,0,192,127,0,0,0,0,0,0,0,0,0,0,128,63,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,3,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,190,12,0,0,200,12,0,0,208,12,0,0,216,12,0,0,230,12,0,0,242,12,0,0,1,0,0,0,3,0,0,0,0,0,0,0,2,0,0,0,0,0,192,127,3,0,0,0,180,45,0,0,181,45,0,0,182,45,0,0,181,45,0,0,182,45,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,1,0,0,0,4,0,0,0,183,45,0,0,181,45,0,0,181,45,0,0,181,45,0,0,181,45,0,0,181,45,0,0,181,45,0,0,184,45,0,0,185,45,0,0,181,45,0,0,181,45,0,0,182,45,0,0,186,45,0,0,185,45,0,0,148,4,0,0,3,0,0,0,187,45,0,0,164,4,0,0,188,45,0,0,2,0,0,0,189,45,0,0,164,4,0,0,188,45,0,0,185,45,0,0,164,4,0,0,185,45,0,0,164,4,0,0,188,45,0,0,181,45,0,0,182,45,0,0,181,45,0,0,0,0,0,0,0,0,0,0,1,0,0,0,5,0,0,0,6,0,0,0,1,0,0,0,7,0,0,0,183,45,0,0,182,45,0,0,181,45,0,0,190,45,0,0,190,45,0,0,182,45,0,0,182,45,0,0,185,45,0,0,181,45,0,0,185,45,0,0,182,45,0,0,181,45,0,0,185,45,0,0,182,45,0,0,185,45,0,0,48,5,0,0,3,0,0,0,56,5,0,0,1,0,0,0,189,45,0,0,185,45,0,0,164,4,0,0,76,5,0,0,2,0,0,0,191,45,0,0,186,45,0,0,182,45,0,0,185,45,0,0,192,45,0,0,185,45,0,0,182,45,0,0,186,45,0,0,185,45,0,0,76,5,0,0,76,5,0,0,136,5,0,0,182,45,0,0,181,45,0,0,2,0,0,0,190,45,0,0,136,5,0,0,56,19,0,0,156,5,0,0,2,0,0,0,184,45,0,0,0,0,0,0,0,0,0,0,1,0,0,0,8,0,0,0,9,0,0,0,1,0,0,0,10,0,0,0,204,5,0,0,181,45,0,0,181,45,0,0,2,0,0,0,180,45,0,0,204,5,0,0,2,0,0,0,195,45,0,0,236,5,0,0,97,19,0,0,198,45,0,0,211,45,0,0,212,45,0,0,213,45,0,0,214,45,0,0,215,45,0,0,188,45,0,0,182,45,0,0,216,45,0,0,217,45,0,0,218,45,0,0,219,45,0,0,192,45,0,0,181,45,0,0,0,0,0,0,185,45,0,0,110,19,0,0,186,45,0,0,115,19,0,0,221,45,0,0,120,19,0,0,148,4,0,0,132,19,0,0,96,6,0,0,145,19,0,0,222,45,0,0,164,19,0,0,223,45,0,0,173,19,0,0,0,0,0,0,3,0,0,0,104,6,0,0,1,0,0,0,187,45,0,0,0,0,0,0,0,0,0,0,1,0,0,0,11,0,0,0,12,0,0,0,1,0,0,0,13,0,0,0,185,45,0,0,224,45,0,0,164,6,0,0,188,45,0,0,172,6,0,0,180,6,0,0,2,0,0,0,188,6,0,0,7,0,0,0,224,45,0,0,7,0,0,0,164,6,0,0,1,0,0,0,213,45,0,0,185,45,0,0,224,45,0,0,172,6,0,0,185,45,0,0,224,45,0,0,164,6,0,0,185,45,0,0,224,45,0,0,211,45,0,0,211,45,0,0,222,45,0,0,211,45,0,0,224,45,0,0,222,45,0,0,211,45,0,0,224,45,0,0,172,6,0,0,222,45,0,0,211,45,0,0,224,45,0,0,188,45,0,0,222,45,0,0,211,45,0,0,40,7,0,0,188,45,0,0,2,0,0,0,224,45,0,0,185,45,0,0,188,45,0,0,188,45,0,0,188,45,0,0,188,45,0,0,222,45,0,0,224,45,0,0,148,4,0,0,185,45,0,0,148,4,0,0,148,4,0,0,148,4,0,0,148,4,0,0,148,4,0,0,185,45,0,0,164,6,0,0,148,4,0,0,0,0,0,0,0,0,0,0,1,0,0,0,14,0,0,0,15,0,0,0,1,0,0,0,16,0,0,0,148,7,0,0,2,0,0,0,225,45,0,0,183,45,0,0,188,45,0,0,168,7,0,0,5,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,234,45,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,148,45,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,9,0,0,5,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,2,0,0,0,242,45,0,0,0,4,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,67,111,117,108,100,32,110,111,116,32,97,108,108,111,99,97,116,101,32,109,101,109,111,114,121,32,102,111,114,32,110,111,100,101,0,67,97,110,110,111,116,32,114,101,115,101,116,32,97,32,110,111,100,101,32,119,104,105,99,104,32,115,116,105,108,108,32,104,97,115,32,99,104,105,108,100,114,101,110,32,97,116,116,97,99,104,101,100,0,67,97,110,110,111,116,32,114,101,115,101,116,32,97,32,110,111,100,101,32,115,116,105,108,108,32,97,116,116,97,99,104,101,100,32,116,111,32,97,32,112,97,114,101,110,116,0,67,111,117,108,100,32,110,111,116,32,97,108,108,111,99,97,116,101,32,109,101,109,111,114,121,32,102,111,114,32,99,111,110,102,105,103,0,67,97,110,110,111,116,32,115,101,116,32,109,101,97,115,117,114,101,32,102,117,110,99,116,105,111,110,58,32,78,111,100,101,115,32,119,105,116,104,32,109,101,97,115,117,114,101,32,102,117,110,99,116,105,111,110,115,32,99,97,110,110,111,116,32,104,97,118,101,32,99,104,105,108,100,114,101,110,46,0,67,104,105,108,100,32,97,108,114,101,97,100,121,32,104,97,115,32,97,32,112,97,114,101,110,116,44,32,105,116,32,109,117,115,116,32,98,101,32,114,101,109,111,118,101,100,32,102,105,114,115,116,46,0,67,97,110,110,111,116,32,97,100,100,32,99,104,105,108,100,58,32,78,111,100,101,115,32,119,105,116,104,32,109,101,97,115,117,114,101,32,102,117,110,99,116,105,111,110,115,32,99,97,110,110,111,116,32,104,97,118,101,32,99,104,105,108,100,114,101,110,46,0,79,110,108,121,32,108,101,97,102,32,110,111,100,101,115,32,119,105,116,104,32,99,117,115,116,111,109,32,109,101,97,115,117,114,101,32,102,117,110,99,116,105,111,110,115,115,104,111,117,108,100,32,109,97,110,117,97,108,108,121,32,109,97,114,107,32,116,104,101,109,115,101,108,118,101,115,32,97,115,32,100,105,114,116,121,0,67,97,110,110,111,116,32,103,101,116,32,108,97,121,111,117,116,32,112,114,111,112,101,114,116,105,101,115,32,111,102,32,109,117,108,116,105,45,101,100,103,101,32,115,104,111,114,116,104,97,110,100,115,0,37,115,37,100,46,123,91,115,107,105,112,112,101,100,93,32,0,119,109,58,32,37,115,44,32,104,109,58,32,37,115,44,32,97,119,58,32,37,102,32,97,104,58,32,37,102,32,61,62,32,100,58,32,40,37,102,44,32,37,102,41,32,37,115,10,0,37,115,37,100,46,123,37,115,0,42,0,119,109,58,32,37,115,44,32,104,109,58,32,37,115,44,32,97,119,58,32,37,102,32,97,104,58,32,37,102,32,37,115,10,0,37,115,37,100,46,125,37,115,0,119,109,58,32,37,115,44,32,104,109,58,32,37,115,44,32,100,58,32,40,37,102,44,32,37,102,41,32,37,115,10,0,79,117,116,32,111,102,32,99,97,99,104,101,32,101,110,116,114,105,101,115,33,10,0,83,99,97,108,101,32,102,97,99,116,111,114,32,115,104,111,117,108,100,32,110,111,116,32,98,101,32,108,101,115,115,32,116,104,97,110,32,122,101,114,111,0,105,110,105,116,105,97,108,0,37,115,10,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,85,78,68,69,70,73,78,69,68,0,69,88,65,67,84,76,89,0,65,84,95,77,79,83,84,0,76,65,89,95,85,78,68,69,70,73,78,69,68,0,76,65,89,95,69,88,65,67,84,76,89,0,76,65,89,95,65,84,95,77,79,83,84,0,97,118,97,105,108,97,98,108,101,87,105,100,116,104,32,105,115,32,105,110,100,101,102,105,110,105,116,101,32,115,111,32,119,105,100,116,104,77,101,97,115,117,114,101,77,111,100,101,32,109,117,115,116,32,98,101,32,89,71,77,101,97,115,117,114,101,77,111,100,101,85,110,100,101,102,105,110,101,100,0,97,118,97,105,108,97,98,108,101,72,101,105,103,104,116,32,105,115,32,105,110,100,101,102,105,110,105,116,101,32,115,111,32,104,101,105,103,104,116,77,101,97,115,117,114,101,77,111,100,101,32,109,117,115,116,32,98,101,32,89,71,77,101,97,115,117,114,101,77,111,100,101,85,110,100,101,102,105,110,101,100,0,102,108,101,120,0,115,116,114,101,116,99,104,0,109,117,108,116,105,108,105,110,101,45,115,116,114,101,116,99,104,0,69,120,112,101,99,116,101,100,32,110,111,100,101,32,116,111,32,104,97,118,101,32,99,117,115,116,111,109,32,109,101,97,115,117,114,101,32,102,117,110,99,116,105,111,110,0,109,101,97,115,117,114,101,0,69,120,112,101,99,116,32,99,117,115,116,111,109,32,98,97,115,101,108,105,110,101,32,102,117,110,99,116,105,111,110,32,116,111,32,110,111,116,32,114,101,116,117,114,110,32,78,97,78,0,97,98,115,45,109,101,97,115,117,114,101,0,97,98,115,45,108,97,121,111,117,116,0,78,111,100,101,0,99,114,101,97,116,101,68,101,102,97,117,108,116,0,99,114,101,97,116,101,87,105,116,104,67,111,110,102,105,103,0,100,101,115,116,114,111,121,0,114,101,115,101,116,0,99,111,112,121,83,116,121,108,101,0,115,101,116,80,111,115,105,116,105,111,110,84,121,112,101,0,115,101,116,80,111,115,105,116,105,111,110,0,115,101,116,80,111,115,105,116,105,111,110,80,101,114,99,101,110,116,0,115,101,116,65,108,105,103,110,67,111,110,116,101,110,116,0,115,101,116,65,108,105,103,110,73,116,101,109,115,0,115,101,116,65,108,105,103,110,83,101,108,102,0,115,101,116,70,108,101,120,68,105,114,101,99,116,105,111,110,0,115,101,116,70,108,101,120,87,114,97,112,0,115,101,116,74,117,115,116,105,102,121,67,111,110,116,101,110,116,0,115,101,116,77,97,114,103,105,110,0,115,101,116,77,97,114,103,105,110,80,101,114,99,101,110,116,0,115,101,116,77,97,114,103,105,110,65,117,116,111,0,115,101,116,79,118,101,114,102,108,111,119,0,115,101,116,68,105,115,112,108,97,121,0,115,101,116,70,108,101,120,0,115,101,116,70,108,101,120,66,97,115,105,115,0,115,101,116,70,108,101,120,66,97,115,105,115,80,101,114,99,101,110,116,0,115,101,116,70,108,101,120,71,114,111,119,0,115,101,116,70,108,101,120,83,104,114,105,110,107,0,115,101,116,87,105,100,116,104,0,115,101,116,87,105,100,116,104,80,101,114,99,101,110,116,0,115,101,116,87,105,100,116,104,65,117,116,111,0,115,101,116,72,101,105,103,104,116,0,115,101,116,72,101,105,103,104,116,80,101,114,99,101,110,116,0,115,101,116,72,101,105,103,104,116,65,117,116,111,0,115,101,116,77,105,110,87,105,100,116,104,0,115,101,116,77,105,110,87,105,100,116,104,80,101,114,99,101,110,116,0,115,101,116,77,105,110,72,101,105,103,104,116,0,115,101,116,77,105,110,72,101,105,103,104,116,80,101,114,99,101,110,116,0,115,101,116,77,97,120,87,105,100,116,104,0,115,101,116,77,97,120,87,105,100,116,104,80,101,114,99,101,110,116,0,115,101,116,77,97,120,72,101,105,103,104,116,0,115,101,116,77,97,120,72,101,105,103,104,116,80,101,114,99,101,110,116,0,115,101,116,65,115,112,101,99,116,82,97,116,105,111,0,115,101,116,66,111,114,100,101,114,0,115,101,116,80,97,100,100,105,110,103,0,115,101,116,80,97,100,100,105,110,103,80,101,114,99,101,110,116,0,103,101,116,80,111,115,105,116,105,111,110,84,121,112,101,0,103,101,116,80,111,115,105,116,105,111,110,0,103,101,116,65,108,105,103,110,67,111,110,116,101,110,116,0,103,101,116,65,108,105,103,110,73,116,101,109,115,0,103,101,116,65,108,105,103,110,83,101,108,102,0,103,101,116,70,108,101,120,68,105,114,101,99,116,105,111,110,0,103,101,116,70,108,101,120,87,114,97,112,0,103,101,116,74,117,115,116,105,102,121,67,111,110,116,101,110,116,0,103,101,116,77,97,114,103,105,110,0,103,101,116,70,108,101,120,66,97,115,105,115,0,103,101,116,70,108,101,120,71,114,111,119,0,103,101,116,70,108,101,120,83,104,114,105,110,107,0,103,101,116,87,105,100,116,104,0,103,101,116,72,101,105,103,104,116,0,103,101,116,77,105,110,87,105,100,116,104,0,103,101,116,77,105,110,72,101,105,103,104,116,0,103,101,116,77,97,120,87,105,100,116,104,0,103,101,116,77,97,120,72,101,105,103,104,116,0,103,101,116,65,115,112,101,99,116,82,97,116,105,111,0,103,101,116,66,111,114,100,101,114,0,103,101,116,79,118,101,114,102,108,111,119,0,103,101,116,68,105,115,112,108,97,121,0,103,101,116,80,97,100,100,105,110,103,0,105,110,115,101,114,116,67,104,105,108,100,0,114,101,109,111,118,101,67,104,105,108,100,0,103,101,116,67,104,105,108,100,67,111,117,110,116,0,103,101,116,80,97,114,101,110,116,0,103,101,116,67,104,105,108,100,0,115,101,116,77,101,97,115,117,114,101,70,117,110,99,0,117,110,115,101,116,77,101,97,115,117,114,101,70,117,110,99,0,109,97,114,107,68,105,114,116,121,0,105,115,68,105,114,116,121,0,99,97,108,99,117,108,97,116,101,76,97,121,111,117,116,0,103,101,116,67,111,109,112,117,116,101,100,76,101,102,116,0,103,101,116,67,111,109,112,117,116,101,100,82,105,103,104,116,0,103,101,116,67,111,109,112,117,116,101,100,84,111,112,0,103,101,116,67,111,109,112,117,116,101,100,66,111,116,116,111,109,0,103,101,116,67,111,109,112,117,116,101,100,87,105,100,116,104,0,103,101,116,67,111,109,112,117,116,101,100,72,101,105,103,104,116,0,103,101,116,67,111,109,112,117,116,101,100,76,97,121,111,117,116,0,103,101,116,67,111,109,112,117,116,101,100,77,97,114,103,105,110,0,103,101,116,67,111,109,112,117,116,101,100,66,111,114,100,101,114,0,103,101,116,67,111,109,112,117,116,101,100,80,97,100,100,105,110,103,0,67,111,110,102,105,103,0,99,114,101,97,116,101,0,115,101,116,69,120,112,101,114,105,109,101,110,116,97,108,70,101,97,116,117,114,101,69,110,97,98,108,101,100,0,115,101,116,80,111,105,110,116,83,99,97,108,101,70,97,99,116,111,114,0,105,115,69,120,112,101,114,105,109,101,110,116,97,108,70,101,97,116,117,114,101,69,110,97,98,108,101,100,0,86,97,108,117,101,0,76,97,121,111,117,116,0,83,105,122,101,0,103,101,116,73,110,115,116,97,110,99,101,67,111,117,110,116,0,73,110,116,54,52,0,1,1,1,2,2,4,4,4,4,8,8,4,8,118,111,105,100,0,98,111,111,108,0,115,116,100,58,58,115,116,114,105,110,103,0,99,98,70,117,110,99,116,105,111,110,32,38,0,99,111,110,115,116,32,99,98,70,117,110,99,116,105,111,110,32,38,0,69,120,116,101,114,110,97,108,0,66,117,102,102,101,114,0,78,66,105,110,100,73,68,0,78,66,105,110,100,0,98,105,110,100,95,118,97,108,117,101,0,114,101,102,108,101,99,116,0,113,117,101,114,121,84,121,112,101,0,108,97,108,108,111,99,0,108,114,101,115,101,116,0,123,114,101,116,117,114,110,40,95,110,98,105,110,100,46,99,97,108,108,98,97,99,107,83,105,103,110,97,116,117,114,101,76,105,115,116,91,36,48,93,46,97,112,112,108,121,40,116,104,105,115,44,97,114,103,117,109,101,110,116,115,41,41,59,125,0,95,110,98,105,110,100,95,110,101,119,0,17,0,10,0,17,17,17,0,0,0,0,5,0,0,0,0,0,0,9,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,15,10,17,17,17,3,10,7,0,1,19,9,11,11,0,0,9,6,11,0,0,11,0,6,17,0,0,0,17,17,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,10,10,17,17,17,0,10,0,0,2,0,9,11,0,0,0,9,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,13,0,0,0,4,13,0,0,0,0,9,14,0,0,0,0,0,14,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,15,0,0,0,0,15,0,0,0,0,9,16,0,0,0,0,0,16,0,0,16,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,10,0,0,0,0,9,11,0,0,0,0,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,45,43,32,32,32,48,88,48,120,0,40,110,117,108,108,41,0,45,48,88,43,48,88,32,48,88,45,48,120,43,48,120,32,48,120,0,105,110,102,0,73,78,70,0,110,97,110,0,78,65,78,0,48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,46,0,84,33,34,25,13,1,2,3,17,75,28,12,16,4,11,29,18,30,39,104,110,111,112,113,98,32,5,6,15,19,20,21,26,8,22,7,40,36,23,24,9,10,14,27,31,37,35,131,130,125,38,42,43,60,61,62,63,67,71,74,77,88,89,90,91,92,93,94,95,96,97,99,100,101,102,103,105,106,107,108,114,115,116,121,122,123,124,0,73,108,108,101,103,97,108,32,98,121,116,101,32,115,101,113,117,101,110,99,101,0,68,111,109,97,105,110,32,101,114,114,111,114,0,82,101,115,117,108,116,32,110,111,116,32,114,101,112,114,101,115,101,110,116,97,98,108,101,0,78,111,116,32,97,32,116,116,121,0,80,101,114,109,105,115,115,105,111,110,32,100,101,110,105,101,100,0,79,112,101,114,97,116,105,111,110,32,110,111,116,32,112,101,114,109,105,116,116,101,100,0,78,111,32,115,117,99,104,32,102,105,108,101,32,111,114,32,100,105,114,101,99,116,111,114,121,0,78,111,32,115,117,99,104,32,112,114,111,99,101,115,115,0,70,105,108,101,32,101,120,105,115,116,115,0,86,97,108,117,101,32,116,111,111,32,108,97,114,103,101,32,102,111,114,32,100,97,116,97,32,116,121,112,101,0,78,111,32,115,112,97,99,101,32,108,101,102,116,32,111,110,32,100,101,118,105,99,101,0,79,117,116,32,111,102,32,109,101,109,111,114,121,0,82,101,115,111,117,114,99,101,32,98,117,115,121,0,73,110,116,101,114,114,117,112,116,101,100,32,115,121,115,116,101,109,32,99,97,108,108,0,82,101,115,111,117,114,99,101,32,116,101,109,112,111,114,97,114,105,108,121,32,117,110,97,118,97,105,108,97,98,108,101,0,73,110,118,97,108,105,100,32,115,101,101,107,0,67,114,111,115,115,45,100,101,118,105,99,101,32,108,105,110,107,0,82,101,97,100,45,111,110,108,121,32,102,105,108,101,32,115,121,115,116,101,109,0,68,105,114,101,99,116,111,114,121,32,110,111,116,32,101,109,112,116,121,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,112,101,101,114,0,79,112,101,114,97,116,105,111,110,32,116,105,109,101,100,32,111,117,116,0,67,111,110,110,101,99,116,105,111,110,32,114,101,102,117,115,101,100,0,72,111,115,116,32,105,115,32,100,111,119,110,0,72,111,115,116,32,105,115,32,117,110,114,101,97,99,104,97,98,108,101,0,65,100,100,114,101,115,115,32,105,110,32,117,115,101,0,66,114,111,107,101,110,32,112,105,112,101,0,73,47,79,32,101,114,114,111,114,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,32,111,114,32,97,100,100,114,101,115,115,0,66,108,111,99,107,32,100,101,118,105,99,101,32,114,101,113,117,105,114,101,100,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,0,78,111,116,32,97,32,100,105,114,101,99,116,111,114,121,0,73,115,32,97,32,100,105,114,101,99,116,111,114,121,0,84,101,120,116,32,102,105,108,101,32,98,117,115,121,0,69,120,101,99,32,102,111,114,109,97,116,32,101,114,114,111,114,0,73,110,118,97,108,105,100,32,97,114,103,117,109,101,110,116,0,65,114,103,117,109,101,110,116,32,108,105,115,116,32,116,111,111,32,108,111,110,103,0,83,121,109,98,111,108,105,99,32,108,105,110,107,32,108,111,111,112,0,70,105,108,101,110,97,109,101,32,116,111,111,32,108,111,110,103,0,84,111,111,32,109,97,110,121,32,111,112,101,110,32,102,105,108,101,115,32,105,110,32,115,121,115,116,101,109,0,78,111,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,115,32,97,118,97,105,108,97,98,108,101,0,66,97,100,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,0,78,111,32,99,104,105,108,100,32,112,114,111,99,101,115,115,0,66,97,100,32,97,100,100,114,101,115,115,0,70,105,108,101,32,116,111,111,32,108,97,114,103,101,0,84,111,111,32,109,97,110,121,32,108,105,110,107,115,0,78,111,32,108,111,99,107,115,32,97,118,97,105,108,97,98,108,101,0,82,101,115,111,117,114,99,101,32,100,101,97,100,108,111,99,107,32,119,111,117,108,100,32,111,99,99,117,114,0,83,116,97,116,101,32,110,111,116,32,114,101,99,111,118,101,114,97,98,108,101,0,80,114,101,118,105,111,117,115,32,111,119,110,101,114,32,100,105,101,100,0,79,112,101,114,97,116,105,111,110,32,99,97,110,99,101,108,101,100,0,70,117,110,99,116,105,111,110,32,110,111,116,32,105,109,112,108,101,109,101,110,116,101,100,0,78,111,32,109,101,115,115,97,103,101,32,111,102,32,100,101,115,105,114,101,100,32,116,121,112,101,0,73,100,101,110,116,105,102,105,101,114,32,114,101,109,111,118,101,100,0,68,101,118,105,99,101,32,110,111,116,32,97,32,115,116,114,101,97,109,0,78,111,32,100,97,116,97,32,97,118,97,105,108,97,98,108,101,0,68,101,118,105,99,101,32,116,105,109,101,111,117,116,0,79,117,116,32,111,102,32,115,116,114,101,97,109,115,32,114,101,115,111,117,114,99,101,115,0,76,105,110,107,32,104,97,115,32,98,101,101,110,32,115,101,118,101,114,101,100,0,80,114,111,116,111,99,111,108,32,101,114,114,111,114,0,66,97,100,32,109,101,115,115,97,103,101,0,70,105,108,101,32,100,101,115,99,114,105,112,116,111,114,32,105,110,32,98,97,100,32,115,116,97,116,101,0,78,111,116,32,97,32,115,111,99,107,101,116,0,68,101,115,116,105,110,97,116,105,111,110,32,97,100,100,114,101,115,115,32,114,101,113,117,105,114,101,100,0,77,101,115,115,97,103,101,32,116,111,111,32,108,97,114,103,101,0,80,114,111,116,111,99,111,108,32,119,114,111,110,103,32,116,121,112,101,32,102,111,114,32,115,111,99,107,101,116,0,80,114,111,116,111,99,111,108,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,80,114,111,116,111,99,111,108,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,83,111,99,107,101,116,32,116,121,112,101,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,78,111,116,32,115,117,112,112,111,114,116,101,100,0,80,114,111,116,111,99,111,108,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,65,100,100,114,101,115,115,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,32,98,121,32,112,114,111,116,111,99,111,108,0,65,100,100,114,101,115,115,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,78,101,116,119,111,114,107,32,105,115,32,100,111,119,110,0,78,101,116,119,111,114,107,32,117,110,114,101,97,99,104,97,98,108,101,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,110,101,116,119,111,114,107,0,67,111,110,110,101,99,116,105,111,110,32,97,98,111,114,116,101,100,0,78,111,32,98,117,102,102,101,114,32,115,112,97,99,101,32,97,118,97,105,108,97,98,108,101,0,83,111,99,107,101,116,32,105,115,32,99,111,110,110,101,99,116,101,100,0,83,111,99,107,101,116,32,110,111,116,32,99,111,110,110,101,99,116,101,100,0,67,97,110,110,111,116,32,115,101,110,100,32,97,102,116,101,114,32,115,111,99,107,101,116,32,115,104,117,116,100,111,119,110,0,79,112,101,114,97,116,105,111,110,32,97,108,114,101,97,100,121,32,105,110,32,112,114,111,103,114,101,115,115,0,79,112,101,114,97,116,105,111,110,32,105,110,32,112,114,111,103,114,101,115,115,0,83,116,97,108,101,32,102,105,108,101,32,104,97,110,100,108,101,0,82,101,109,111,116,101,32,73,47,79,32,101,114,114,111,114,0,81,117,111,116,97,32,101,120,99,101,101,100,101,100,0,78,111,32,109,101,100,105,117,109,32,102,111,117,110,100,0,87,114,111,110,103,32,109,101,100,105,117,109,32,116,121,112,101,0,78,111,32,101,114,114,111,114,32,105,110,102,111,114,109,97,116,105,111,110,0,0],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE);var tempDoublePtr=STATICTOP;function _atexit(e,t){__ATEXIT__.unshift({func:e,arg:t})}function ___cxa_atexit(){return _atexit.apply(null,arguments)}function _abort(){Module.abort()}function __ZN8facebook4yoga14YGNodeToStringEPNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEP6YGNode14YGPrintOptionsj(){Module.printErr("missing function: _ZN8facebook4yoga14YGNodeToStringEPNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEP6YGNode14YGPrintOptionsj"),abort(-1)}function __decorate(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function _defineHidden(e){return function(t,n){Object.defineProperty(t,n,{configurable:!1,enumerable:!1,value:e,writable:!0})}}STATICTOP+=16;var _nbind={};function __nbind_free_external(e){_nbind.externalList[e].dereference(e)}function __nbind_reference_external(e){_nbind.externalList[e].reference()}function _llvm_stackrestore(e){var t=_llvm_stacksave,n=t.LLVM_SAVEDSTACKS[e];t.LLVM_SAVEDSTACKS.splice(e,1),Runtime.stackRestore(n)}function __nbind_register_pool(e,t,n,r){_nbind.Pool.pageSize=e,_nbind.Pool.usedPtr=t/4,_nbind.Pool.rootPtr=n,_nbind.Pool.pagePtr=r/4,HEAP32[t/4]=16909060,1==HEAP8[t]&&(_nbind.bigEndian=!0),HEAP32[t/4]=0,_nbind.makeTypeKindTbl=((i={})[1024]=_nbind.PrimitiveType,i[64]=_nbind.Int64Type,i[2048]=_nbind.BindClass,i[3072]=_nbind.BindClassPtr,i[4096]=_nbind.SharedClassPtr,i[5120]=_nbind.ArrayType,i[6144]=_nbind.ArrayType,i[7168]=_nbind.CStringType,i[9216]=_nbind.CallbackType,i[10240]=_nbind.BindType,i),_nbind.makeTypeNameTbl={Buffer:_nbind.BufferType,External:_nbind.ExternalType,Int64:_nbind.Int64Type,_nbind_new:_nbind.CreateValueType,bool:_nbind.BooleanType,"cbFunction &":_nbind.CallbackType,"const cbFunction &":_nbind.CallbackType,"const std::string &":_nbind.StringType,"std::string":_nbind.StringType},Module.toggleLightGC=_nbind.toggleLightGC,_nbind.callUpcast=Module.dynCall_ii;var i,o=_nbind.makeType(_nbind.constructType,{flags:2048,id:0,name:""});o.proto=Module,_nbind.BindClass.list.push(o)}function _emscripten_set_main_loop_timing(e,t){if(Browser.mainLoop.timingMode=e,Browser.mainLoop.timingValue=t,!Browser.mainLoop.func)return 1;if(0==e)Browser.mainLoop.scheduler=function(){var e=0|Math.max(0,Browser.mainLoop.tickStartTime+t-_emscripten_get_now());setTimeout(Browser.mainLoop.runner,e)},Browser.mainLoop.method="timeout";else if(1==e)Browser.mainLoop.scheduler=function(){Browser.requestAnimationFrame(Browser.mainLoop.runner)},Browser.mainLoop.method="rAF";else if(2==e){if(!window.setImmediate){var n=[],r="setimmediate";window.addEventListener("message",function(e){e.source===window&&e.data===r&&(e.stopPropagation(),n.shift()())},!0),window.setImmediate=function(e){n.push(e),ENVIRONMENT_IS_WORKER?(void 0===Module.setImmediates&&(Module.setImmediates=[]),Module.setImmediates.push(e),window.postMessage({target:r})):window.postMessage(r,"*")}}Browser.mainLoop.scheduler=function(){window.setImmediate(Browser.mainLoop.runner)},Browser.mainLoop.method="immediate"}return 0}function _emscripten_get_now(){abort()}function _emscripten_set_main_loop(e,t,n,r,i){var o;Module.noExitRuntime=!0,assert(!Browser.mainLoop.func,"emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters."),Browser.mainLoop.func=e,Browser.mainLoop.arg=r,o=void 0!==r?function(){Module.dynCall_vi(e,r)}:function(){Module.dynCall_v(e)};var a=Browser.mainLoop.currentlyRunningMainloop;if(Browser.mainLoop.runner=function(){if(!ABORT)if(Browser.mainLoop.queue.length>0){var e=Date.now(),t=Browser.mainLoop.queue.shift();if(t.func(t.arg),Browser.mainLoop.remainingBlockers){var n=Browser.mainLoop.remainingBlockers,r=n%1==0?n-1:Math.floor(n);t.counted?Browser.mainLoop.remainingBlockers=r:(r+=.5,Browser.mainLoop.remainingBlockers=(8*n+r)/9)}if(console.log('main loop blocker "'+t.name+'" took '+(Date.now()-e)+" ms"),Browser.mainLoop.updateStatus(),a1&&Browser.mainLoop.currentFrameNumber%Browser.mainLoop.timingValue!=0?Browser.mainLoop.scheduler():(0==Browser.mainLoop.timingMode&&(Browser.mainLoop.tickStartTime=_emscripten_get_now()),"timeout"===Browser.mainLoop.method&&Module.ctx&&(Module.printErr("Looks like you are rendering without using requestAnimationFrame for the main loop. You should use 0 for the frame rate in emscripten_set_main_loop in order to use requestAnimationFrame, as that can greatly improve your frame rates!"),Browser.mainLoop.method=""),Browser.mainLoop.runIter(o),a0?_emscripten_set_main_loop_timing(0,1e3/t):_emscripten_set_main_loop_timing(1,1),Browser.mainLoop.scheduler()),n)throw"SimulateInfiniteLoop"}var Browser={mainLoop:{scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause:function(){Browser.mainLoop.scheduler=null,Browser.mainLoop.currentlyRunningMainloop++},resume:function(){Browser.mainLoop.currentlyRunningMainloop++;var e=Browser.mainLoop.timingMode,t=Browser.mainLoop.timingValue,n=Browser.mainLoop.func;Browser.mainLoop.func=null,_emscripten_set_main_loop(n,0,!1,Browser.mainLoop.arg,!0),_emscripten_set_main_loop_timing(e,t),Browser.mainLoop.scheduler()},updateStatus:function(){if(Module.setStatus){var e=Module.statusMessage||"Please wait...",t=Browser.mainLoop.remainingBlockers,n=Browser.mainLoop.expectedBlockers;t?t=6;){var a=r>>i-6&63;i-=6,n+=t[a]}return 2==i?(n+=t[(3&r)<<4],n+="=="):4==i&&(n+=t[(15&r)<<2],n+="="),n}(e),o(l))},l.src=s,Browser.safeSetTimeout(function(){o(l)},1e4)}};Module.preloadPlugins.push(t);var n=Module.canvas;n&&(n.requestPointerLock=n.requestPointerLock||n.mozRequestPointerLock||n.webkitRequestPointerLock||n.msRequestPointerLock||function(){},n.exitPointerLock=document.exitPointerLock||document.mozExitPointerLock||document.webkitExitPointerLock||document.msExitPointerLock||function(){},n.exitPointerLock=n.exitPointerLock.bind(document),document.addEventListener("pointerlockchange",r,!1),document.addEventListener("mozpointerlockchange",r,!1),document.addEventListener("webkitpointerlockchange",r,!1),document.addEventListener("mspointerlockchange",r,!1),Module.elementPointerLock&&n.addEventListener("click",function(e){!Browser.pointerLock&&Module.canvas.requestPointerLock&&(Module.canvas.requestPointerLock(),e.preventDefault())},!1))}function r(){Browser.pointerLock=document.pointerLockElement===Module.canvas||document.mozPointerLockElement===Module.canvas||document.webkitPointerLockElement===Module.canvas||document.msPointerLockElement===Module.canvas}},createContext:function(e,t,n,r){if(t&&Module.ctx&&e==Module.canvas)return Module.ctx;var i,o;if(t){var a={antialias:!1,alpha:!1};if(r)for(var u in r)a[u]=r[u];(o=GL.createContext(e,a))&&(i=GL.getContext(o).GLctx)}else i=e.getContext("2d");return i?(n&&(t||assert("undefined"==typeof GLctx,"cannot set in module if GLctx is used, but we are a non-GL context that would replace it"),Module.ctx=i,t&&GL.makeContextCurrent(o),Module.useWebGL=t,Browser.moduleContextCreatedCallbacks.forEach(function(e){e()}),Browser.init()),i):null},destroyContext:function(e,t,n){},fullscreenHandlersInstalled:!1,lockPointer:void 0,resizeCanvas:void 0,requestFullscreen:function(e,t,n){Browser.lockPointer=e,Browser.resizeCanvas=t,Browser.vrDevice=n,void 0===Browser.lockPointer&&(Browser.lockPointer=!0),void 0===Browser.resizeCanvas&&(Browser.resizeCanvas=!1),void 0===Browser.vrDevice&&(Browser.vrDevice=null);var r=Module.canvas;function i(){Browser.isFullscreen=!1;var e=r.parentNode;(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===e?(r.exitFullscreen=document.exitFullscreen||document.cancelFullScreen||document.mozCancelFullScreen||document.msExitFullscreen||document.webkitCancelFullScreen||function(){},r.exitFullscreen=r.exitFullscreen.bind(document),Browser.lockPointer&&r.requestPointerLock(),Browser.isFullscreen=!0,Browser.resizeCanvas&&Browser.setFullscreenCanvasSize()):(e.parentNode.insertBefore(r,e),e.parentNode.removeChild(e),Browser.resizeCanvas&&Browser.setWindowedCanvasSize()),Module.onFullScreen&&Module.onFullScreen(Browser.isFullscreen),Module.onFullscreen&&Module.onFullscreen(Browser.isFullscreen),Browser.updateCanvasDimensions(r)}Browser.fullscreenHandlersInstalled||(Browser.fullscreenHandlersInstalled=!0,document.addEventListener("fullscreenchange",i,!1),document.addEventListener("mozfullscreenchange",i,!1),document.addEventListener("webkitfullscreenchange",i,!1),document.addEventListener("MSFullscreenChange",i,!1));var o=document.createElement("div");r.parentNode.insertBefore(o,r),o.appendChild(r),o.requestFullscreen=o.requestFullscreen||o.mozRequestFullScreen||o.msRequestFullscreen||(o.webkitRequestFullscreen?function(){o.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)}:null)||(o.webkitRequestFullScreen?function(){o.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)}:null),n?o.requestFullscreen({vrDisplay:n}):o.requestFullscreen()},requestFullScreen:function(e,t,n){return Module.printErr("Browser.requestFullScreen() is deprecated. Please call Browser.requestFullscreen instead."),Browser.requestFullScreen=function(e,t,n){return Browser.requestFullscreen(e,t,n)},Browser.requestFullscreen(e,t,n)},nextRAF:0,fakeRequestAnimationFrame:function(e){var t=Date.now();if(0===Browser.nextRAF)Browser.nextRAF=t+1e3/60;else for(;t+2>=Browser.nextRAF;)Browser.nextRAF+=1e3/60;var n=Math.max(Browser.nextRAF-t,0);setTimeout(e,n)},requestAnimationFrame:function(e){"undefined"==typeof window?Browser.fakeRequestAnimationFrame(e):(window.requestAnimationFrame||(window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||Browser.fakeRequestAnimationFrame),window.requestAnimationFrame(e))},safeCallback:function(e){return function(){if(!ABORT)return e.apply(null,arguments)}},allowAsyncCallbacks:!0,queuedAsyncCallbacks:[],pauseAsyncCallbacks:function(){Browser.allowAsyncCallbacks=!1},resumeAsyncCallbacks:function(){if(Browser.allowAsyncCallbacks=!0,Browser.queuedAsyncCallbacks.length>0){var e=Browser.queuedAsyncCallbacks;Browser.queuedAsyncCallbacks=[],e.forEach(function(e){e()})}},safeRequestAnimationFrame:function(e){return Browser.requestAnimationFrame(function(){ABORT||(Browser.allowAsyncCallbacks?e():Browser.queuedAsyncCallbacks.push(e))})},safeSetTimeout:function(e,t){return Module.noExitRuntime=!0,setTimeout(function(){ABORT||(Browser.allowAsyncCallbacks?e():Browser.queuedAsyncCallbacks.push(e))},t)},safeSetInterval:function(e,t){return Module.noExitRuntime=!0,setInterval(function(){ABORT||Browser.allowAsyncCallbacks&&e()},t)},getMimetype:function(e){return{jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",bmp:"image/bmp",ogg:"audio/ogg",wav:"audio/wav",mp3:"audio/mpeg"}[e.substr(e.lastIndexOf(".")+1)]},getUserMedia:function(e){window.getUserMedia||(window.getUserMedia=navigator.getUserMedia||navigator.mozGetUserMedia),window.getUserMedia(e)},getMovementX:function(e){return e.movementX||e.mozMovementX||e.webkitMovementX||0},getMovementY:function(e){return e.movementY||e.mozMovementY||e.webkitMovementY||0},getMouseWheelDelta:function(e){var t=0;switch(e.type){case"DOMMouseScroll":t=e.detail;break;case"mousewheel":t=e.wheelDelta;break;case"wheel":t=e.deltaY;break;default:throw"unrecognized mouse wheel event: "+e.type}return t},mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:function(e){if(Browser.pointerLock)"mousemove"!=e.type&&"mozMovementX"in e?Browser.mouseMovementX=Browser.mouseMovementY=0:(Browser.mouseMovementX=Browser.getMovementX(e),Browser.mouseMovementY=Browser.getMovementY(e)),"undefined"!=typeof SDL?(Browser.mouseX=SDL.mouseX+Browser.mouseMovementX,Browser.mouseY=SDL.mouseY+Browser.mouseMovementY):(Browser.mouseX+=Browser.mouseMovementX,Browser.mouseY+=Browser.mouseMovementY);else{var t=Module.canvas.getBoundingClientRect(),n=Module.canvas.width,r=Module.canvas.height,i=void 0!==window.scrollX?window.scrollX:window.pageXOffset,o=void 0!==window.scrollY?window.scrollY:window.pageYOffset;if("touchstart"===e.type||"touchend"===e.type||"touchmove"===e.type){var a=e.touch;if(void 0===a)return;var u=a.pageX-(i+t.left),s=a.pageY-(o+t.top),l={x:u*=n/t.width,y:s*=r/t.height};if("touchstart"===e.type)Browser.lastTouches[a.identifier]=l,Browser.touches[a.identifier]=l;else if("touchend"===e.type||"touchmove"===e.type){var c=Browser.touches[a.identifier];c||(c=l),Browser.lastTouches[a.identifier]=c,Browser.touches[a.identifier]=l}return}var f=e.pageX-(i+t.left),d=e.pageY-(o+t.top);f*=n/t.width,d*=r/t.height,Browser.mouseMovementX=f-Browser.mouseX,Browser.mouseMovementY=d-Browser.mouseY,Browser.mouseX=f,Browser.mouseY=d}},asyncLoad:function(e,t,n,r){var i=r?"":getUniqueRunDependency("al "+e);Module.readAsync(e,function(n){assert(n,'Loading data file "'+e+'" failed (no arrayBuffer).'),t(new Uint8Array(n)),i&&removeRunDependency(i)},function(t){if(!n)throw'Loading data file "'+e+'" failed.';n()}),i&&addRunDependency(i)},resizeListeners:[],updateResizeListeners:function(){var e=Module.canvas;Browser.resizeListeners.forEach(function(t){t(e.width,e.height)})},setCanvasSize:function(e,t,n){var r=Module.canvas;Browser.updateCanvasDimensions(r,e,t),n||Browser.updateResizeListeners()},windowedWidth:0,windowedHeight:0,setFullscreenCanvasSize:function(){if("undefined"!=typeof SDL){var e=HEAPU32[SDL.screen+0*Runtime.QUANTUM_SIZE>>2];e|=8388608,HEAP32[SDL.screen+0*Runtime.QUANTUM_SIZE>>2]=e}Browser.updateResizeListeners()},setWindowedCanvasSize:function(){if("undefined"!=typeof SDL){var e=HEAPU32[SDL.screen+0*Runtime.QUANTUM_SIZE>>2];e&=-8388609,HEAP32[SDL.screen+0*Runtime.QUANTUM_SIZE>>2]=e}Browser.updateResizeListeners()},updateCanvasDimensions:function(e,t,n){t&&n?(e.widthNative=t,e.heightNative=n):(t=e.widthNative,n=e.heightNative);var r=t,i=n;if(Module.forcedAspectRatio&&Module.forcedAspectRatio>0&&(r/i>2]},getStr:function(){return Pointer_stringify(SYSCALLS.get())},get64:function(){var e=SYSCALLS.get(),t=SYSCALLS.get();return assert(e>=0?0===t:-1===t),e},getZero:function(){assert(0===SYSCALLS.get())}};function ___syscall6(e,t){SYSCALLS.varargs=t;try{var n=SYSCALLS.getStreamFromFD();return FS.close(n),0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}function ___syscall54(e,t){SYSCALLS.varargs=t;try{return 0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}function _typeModule(e){var t=[[0,1,"X"],[1,1,"const X"],[128,1,"X *"],[256,1,"X &"],[384,1,"X &&"],[512,1,"std::shared_ptr"],[640,1,"std::unique_ptr"],[5120,1,"std::vector"],[6144,2,"std::array"],[9216,-1,"std::function"]];function n(e,t,n,r,i,o){if(1==t){var a=896&r;128!=a&&256!=a&&384!=a||(e="X const")}return(o?n.replace("X",e).replace("Y",i):e.replace("X",n).replace("Y",i)).replace(/([*&]) (?=[*&])/g,"$1")}function r(e,t){var n=t.flags,r=896&n,i=15360&n;return t.name||1024!=i||(1==t.ptrSize?t.name=(16&n?"":(8&n?"un":"")+"signed ")+"char":t.name=(8&n?"u":"")+(32&n?"float":"int")+8*t.ptrSize+"_t"),8!=t.ptrSize||32&n||(i=64),2048==i&&(512==r||640==r?i=4096:r&&(i=3072)),e(i,t)}var i={Type:function(){function e(e){this.id=e.id,this.name=e.name,this.flags=e.flags,this.spec=e}return e.prototype.toString=function(){return this.name},e}(),getComplexType:function e(i,o,a,u,s,l,c,f){void 0===l&&(l="X"),void 0===f&&(f=1);var d=a(i);if(d)return d;var h,p=u(i),m=p.placeholderFlag,g=t[m];c&&g&&(l=n(c[2],c[0],l,g[0],"?",!0)),0==m&&(h="Unbound"),m>=10&&(h="Corrupt"),f>20&&(h="Deeply nested"),h&&function(e,t,n,r,i){throw new Error(e+" type "+n.replace("X",t+"?")+(r?" with flag "+r:"")+" in "+i)}(h,i,l,m,s||"?");var v,y=e(p.paramList[0],o,a,u,s,l,g,f+1),_={flags:g[0],id:i,name:"",paramList:[y]},b=[],D="?";switch(p.placeholderFlag){case 1:v=y.spec;break;case 2:if(1024==(15360&y.flags)&&1==y.spec.ptrSize){_.flags=7168;break}case 3:case 6:case 5:v=y.spec,y.flags;break;case 8:D=""+p.paramList[1],_.paramList.push(p.paramList[1]);break;case 9:for(var x=0,w=p.paramList[1];x>2]=e),e}function _llvm_stacksave(){var e=_llvm_stacksave;return e.LLVM_SAVEDSTACKS||(e.LLVM_SAVEDSTACKS=[]),e.LLVM_SAVEDSTACKS.push(Runtime.stackSave()),e.LLVM_SAVEDSTACKS.length-1}function ___syscall140(e,t){SYSCALLS.varargs=t;try{var n=SYSCALLS.getStreamFromFD(),r=(SYSCALLS.get(),SYSCALLS.get()),i=SYSCALLS.get(),o=SYSCALLS.get(),a=r;return FS.llseek(n,a,o),HEAP32[i>>2]=n.position,n.getdents&&0===a&&0===o&&(n.getdents=null),0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}function ___syscall146(e,t){SYSCALLS.varargs=t;try{var n=SYSCALLS.get(),r=SYSCALLS.get(),i=SYSCALLS.get(),o=0;___syscall146.buffer||(___syscall146.buffers=[null,[],[]],___syscall146.printChar=function(e,t){var n=___syscall146.buffers[e];assert(n),0===t||10===t?((1===e?Module.print:Module.printErr)(UTF8ArrayToString(n,0)),n.length=0):n.push(t)});for(var a=0;a>2],s=HEAP32[r+(8*a+4)>>2],l=0;le.pageSize/2||t>e.pageSize-n?_nbind.typeNameTbl.NBind.proto.lalloc(t):(HEAPU32[e.usedPtr]=n+t,e.rootPtr+n)},e.lreset=function(t,n){HEAPU32[e.pagePtr]?_nbind.typeNameTbl.NBind.proto.lreset(t,n):HEAPU32[e.usedPtr]=t},e}();function constructType(e,t){var n=new(10240==e?_nbind.makeTypeNameTbl[t.name]||_nbind.BindType:_nbind.makeTypeKindTbl[e])(t);return typeIdTbl[t.id]=n,_nbind.typeNameTbl[t.name]=n,n}function getType(e){return typeIdTbl[e]}function queryType(e){var t=HEAPU8[e],n=_nbind.structureList[t][1];e/=4,n<0&&(n=HEAPU32[++e]+1);var r=Array.prototype.slice.call(HEAPU32.subarray(e+1,e+1+n));return 9==t&&(r=[r[0],r.slice(1)]),{paramList:r,placeholderFlag:t}}function getTypes(e,t){return e.map(function(e){return"number"==typeof e?_nbind.getComplexType(e,constructType,getType,queryType,t):_nbind.typeNameTbl[e]})}function readTypeIdList(e,t){return Array.prototype.slice.call(HEAPU32,e/4,e/4+t)}function readAsciiString(e){for(var t=e;HEAPU8[t++];);return String.fromCharCode.apply("",HEAPU8.subarray(e,t-1))}function readPolicyList(e){var t={};if(e)for(;;){var n=HEAPU32[e/4];if(!n)break;t[readAsciiString(n)]=!0,e+=4}return t}function getDynCall(e,t){var n={float32_t:"d",float64_t:"d",int64_t:"d",uint64_t:"d",void:"v"},r=e.map(function(e){return n[e.name]||"i"}).join(""),i=Module["dynCall_"+r];if(!i)throw new Error("dynCall_"+r+" not found for "+t+"("+e.map(function(e){return e.name}).join(", ")+")");return i}function addMethod(e,t,n,r){var i=e[t];e.hasOwnProperty(t)&&i?((i.arity||0===i.arity)&&(i=_nbind.makeOverloader(i,i.arity),e[t]=i),i.addMethod(n,r)):(n.arity=r,e[t]=n)}function throwError(e){throw new Error(e)}_nbind.Pool=Pool,_nbind.constructType=constructType,_nbind.getType=getType,_nbind.queryType=queryType,_nbind.getTypes=getTypes,_nbind.readTypeIdList=readTypeIdList,_nbind.readAsciiString=readAsciiString,_nbind.readPolicyList=readPolicyList,_nbind.getDynCall=getDynCall,_nbind.addMethod=addMethod,_nbind.throwError=throwError,_nbind.bigEndian=!1,_a=_typeModule(_typeModule),_nbind.Type=_a.Type,_nbind.makeType=_a.makeType,_nbind.getComplexType=_a.getComplexType,_nbind.structureList=_a.structureList;var BindType=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.heap=HEAPU32,t.ptrSize=4,t}return __extends(t,e),t.prototype.needsWireRead=function(e){return!!this.wireRead||!!this.makeWireRead},t.prototype.needsWireWrite=function(e){return!!this.wireWrite||!!this.makeWireWrite},t}(_nbind.Type);_nbind.BindType=BindType;var PrimitiveType=function(e){function t(t){var n=e.call(this,t)||this,r=32&t.flags?{32:HEAPF32,64:HEAPF64}:8&t.flags?{8:HEAPU8,16:HEAPU16,32:HEAPU32}:{8:HEAP8,16:HEAP16,32:HEAP32};return n.heap=r[8*t.ptrSize],n.ptrSize=t.ptrSize,n}return __extends(t,e),t.prototype.needsWireWrite=function(e){return!!e&&!!e.Strict},t.prototype.makeWireWrite=function(e,t){return t&&t.Strict&&function(e){if("number"==typeof e)return e;throw new Error("Type mismatch")}},t}(BindType);function pushCString(e,t){if(null==e){if(t&&t.Nullable)return 0;throw new Error("Type mismatch")}if(t&&t.Strict){if("string"!=typeof e)throw new Error("Type mismatch")}else e=e.toString();var n=Module.lengthBytesUTF8(e)+1,r=_nbind.Pool.lalloc(n);return Module.stringToUTF8Array(e,HEAPU8,r,n),r}function popCString(e){return 0===e?null:Module.Pointer_stringify(e)}_nbind.PrimitiveType=PrimitiveType,_nbind.pushCString=pushCString,_nbind.popCString=popCString;var CStringType=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.wireRead=popCString,t.wireWrite=pushCString,t.readResources=[_nbind.resources.pool],t.writeResources=[_nbind.resources.pool],t}return __extends(t,e),t.prototype.makeWireWrite=function(e,t){return function(e){return pushCString(e,t)}},t}(BindType);_nbind.CStringType=CStringType;var BooleanType=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.wireRead=function(e){return!!e},t}return __extends(t,e),t.prototype.needsWireWrite=function(e){return!!e&&!!e.Strict},t.prototype.makeWireRead=function(e){return"!!("+e+")"},t.prototype.makeWireWrite=function(e,t){return t&&t.Strict&&function(e){if("boolean"==typeof e)return e;throw new Error("Type mismatch")}||e},t}(BindType);_nbind.BooleanType=BooleanType;var Wrapper=function(){function e(){}return e.prototype.persist=function(){this.__nbindState|=1},e}();function makeBound(e,t){var n=function(e){function n(t,r,i,o){var a=e.call(this)||this;if(!(a instanceof n))return new(Function.prototype.bind.apply(n,Array.prototype.concat.apply([null],arguments)));var u=r,s=i,l=o;if(t!==_nbind.ptrMarker){var c=a.__nbindConstructor.apply(a,arguments);u=4608,l=HEAPU32[c/4],s=HEAPU32[c/4+1]}var f={configurable:!0,enumerable:!1,value:null,writable:!1},d={__nbindFlags:u,__nbindPtr:s};l&&(d.__nbindShared=l,_nbind.mark(a));for(var h=0,p=Object.keys(d);h>=1;var n=_nbind.valueList[e];return _nbind.valueList[e]=firstFreeValue,firstFreeValue=e,n}if(t)return _nbind.popShared(e,t);throw new Error("Invalid value slot "+e)}_nbind.pushValue=pushValue,_nbind.popValue=popValue;var valueBase=0x10000000000000000;function push64(e){return"number"==typeof e?e:4096*pushValue(e)+valueBase}function pop64(e){return e=3?Buffer.from(o):new Buffer(o)).copy(r)}else getBuffer(r).set(o)}}_nbind.BufferType=BufferType,_nbind.commitBuffer=commitBuffer;var dirtyList=[],gcTimer=0;function sweep(){for(var e=0,t=dirtyList;e>2]=DYNAMIC_BASE,staticSealed=!0,Module.asmGlobalArg={Math:Math,Int8Array:Int8Array,Int16Array:Int16Array,Int32Array:Int32Array,Uint8Array:Uint8Array,Uint16Array:Uint16Array,Uint32Array:Uint32Array,Float32Array:Float32Array,Float64Array:Float64Array,NaN:NaN,Infinity:1/0},Module.asmLibraryArg={abort:abort,assert:assert,enlargeMemory:enlargeMemory,getTotalMemory:getTotalMemory,abortOnCannotGrowMemory:abortOnCannotGrowMemory,invoke_viiiii:invoke_viiiii,invoke_vif:invoke_vif,invoke_vid:invoke_vid,invoke_fiff:invoke_fiff,invoke_vi:invoke_vi,invoke_vii:invoke_vii,invoke_ii:invoke_ii,invoke_viddi:invoke_viddi,invoke_vidd:invoke_vidd,invoke_iiii:invoke_iiii,invoke_diii:invoke_diii,invoke_di:invoke_di,invoke_iid:invoke_iid,invoke_iii:invoke_iii,invoke_viiddi:invoke_viiddi,invoke_viiiiii:invoke_viiiiii,invoke_dii:invoke_dii,invoke_i:invoke_i,invoke_iiiiii:invoke_iiiiii,invoke_viiid:invoke_viiid,invoke_viififi:invoke_viififi,invoke_viii:invoke_viii,invoke_v:invoke_v,invoke_viid:invoke_viid,invoke_idd:invoke_idd,invoke_viiii:invoke_viiii,_emscripten_asm_const_iiiii:_emscripten_asm_const_iiiii,_emscripten_asm_const_iiidddddd:_emscripten_asm_const_iiidddddd,_emscripten_asm_const_iiiid:_emscripten_asm_const_iiiid,__nbind_reference_external:__nbind_reference_external,_emscripten_asm_const_iiiiiiii:_emscripten_asm_const_iiiiiiii,_removeAccessorPrefix:_removeAccessorPrefix,_typeModule:_typeModule,__nbind_register_pool:__nbind_register_pool,__decorate:__decorate,_llvm_stackrestore:_llvm_stackrestore,___cxa_atexit:___cxa_atexit,__extends:__extends,__nbind_get_value_object:__nbind_get_value_object,__ZN8facebook4yoga14YGNodeToStringEPNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEP6YGNode14YGPrintOptionsj:__ZN8facebook4yoga14YGNodeToStringEPNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEP6YGNode14YGPrintOptionsj,_emscripten_set_main_loop_timing:_emscripten_set_main_loop_timing,__nbind_register_primitive:__nbind_register_primitive,__nbind_register_type:__nbind_register_type,_emscripten_memcpy_big:_emscripten_memcpy_big,__nbind_register_function:__nbind_register_function,___setErrNo:___setErrNo,__nbind_register_class:__nbind_register_class,__nbind_finish:__nbind_finish,_abort:_abort,_nbind_value:_nbind_value,_llvm_stacksave:_llvm_stacksave,___syscall54:___syscall54,_defineHidden:_defineHidden,_emscripten_set_main_loop:_emscripten_set_main_loop,_emscripten_get_now:_emscripten_get_now,__nbind_register_callback_signature:__nbind_register_callback_signature,_emscripten_asm_const_iiiiii:_emscripten_asm_const_iiiiii,__nbind_free_external:__nbind_free_external,_emscripten_asm_const_iiii:_emscripten_asm_const_iiii,_emscripten_asm_const_iiididi:_emscripten_asm_const_iiididi,___syscall6:___syscall6,_atexit:_atexit,___syscall140:___syscall140,___syscall146:___syscall146,DYNAMICTOP_PTR:DYNAMICTOP_PTR,tempDoublePtr:tempDoublePtr,ABORT:ABORT,STACKTOP:STACKTOP,STACK_MAX:STACK_MAX,cttz_i8:cttz_i8,___dso_handle:___dso_handle};var asm=function(e,t,n){"use asm";var r=new e.Int8Array(n);var i=new e.Int16Array(n);var o=new e.Int32Array(n);var a=new e.Uint8Array(n);var u=new e.Uint16Array(n);var s=new e.Uint32Array(n);var l=new e.Float32Array(n);var c=new e.Float64Array(n);var f=t.DYNAMICTOP_PTR|0;var d=t.tempDoublePtr|0;var h=t.ABORT|0;var p=t.STACKTOP|0;var m=t.STACK_MAX|0;var g=t.cttz_i8|0;var v=t.___dso_handle|0;var y=0;var _=0;var b=0;var D=0;var x=e.NaN,w=e.Infinity;var E=0,k=0,C=0,S=0,T=0.0;var A=0;var F=e.Math.floor;var M=e.Math.abs;var B=e.Math.sqrt;var P=e.Math.pow;var N=e.Math.cos;var O=e.Math.sin;var R=e.Math.tan;var I=e.Math.acos;var L=e.Math.asin;var j=e.Math.atan;var U=e.Math.atan2;var z=e.Math.exp;var W=e.Math.log;var H=e.Math.ceil;var X=e.Math.imul;var J=e.Math.min;var G=e.Math.max;var q=e.Math.clz32;var $=e.Math.fround;var V=t.abort;var Y=t.assert;var K=t.enlargeMemory;var Q=t.getTotalMemory;var Z=t.abortOnCannotGrowMemory;var ee=t.invoke_viiiii;var te=t.invoke_vif;var ne=t.invoke_vid;var re=t.invoke_fiff;var ie=t.invoke_vi;var oe=t.invoke_vii;var ae=t.invoke_ii;var ue=t.invoke_viddi;var se=t.invoke_vidd;var le=t.invoke_iiii;var ce=t.invoke_diii;var fe=t.invoke_di;var de=t.invoke_iid;var he=t.invoke_iii;var pe=t.invoke_viiddi;var me=t.invoke_viiiiii;var ge=t.invoke_dii;var ve=t.invoke_i;var ye=t.invoke_iiiiii;var _e=t.invoke_viiid;var be=t.invoke_viififi;var De=t.invoke_viii;var xe=t.invoke_v;var we=t.invoke_viid;var Ee=t.invoke_idd;var ke=t.invoke_viiii;var Ce=t._emscripten_asm_const_iiiii;var Se=t._emscripten_asm_const_iiidddddd;var Te=t._emscripten_asm_const_iiiid;var Ae=t.__nbind_reference_external;var Fe=t._emscripten_asm_const_iiiiiiii;var Me=t._removeAccessorPrefix;var Be=t._typeModule;var Pe=t.__nbind_register_pool;var Ne=t.__decorate;var Oe=t._llvm_stackrestore;var Re=t.___cxa_atexit;var Ie=t.__extends;var Le=t.__nbind_get_value_object;var je=t.__ZN8facebook4yoga14YGNodeToStringEPNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEP6YGNode14YGPrintOptionsj;var Ue=t._emscripten_set_main_loop_timing;var ze=t.__nbind_register_primitive;var We=t.__nbind_register_type;var He=t._emscripten_memcpy_big;var Xe=t.__nbind_register_function;var Je=t.___setErrNo;var Ge=t.__nbind_register_class;var qe=t.__nbind_finish;var $e=t._abort;var Ve=t._nbind_value;var Ye=t._llvm_stacksave;var Ke=t.___syscall54;var Qe=t._defineHidden;var Ze=t._emscripten_set_main_loop;var et=t._emscripten_get_now;var tt=t.__nbind_register_callback_signature;var nt=t._emscripten_asm_const_iiiiii;var rt=t.__nbind_free_external;var it=t._emscripten_asm_const_iiii;var ot=t._emscripten_asm_const_iiididi;var at=t.___syscall6;var ut=t._atexit;var st=t.___syscall140;var lt=t.___syscall146;var ct=$(0);const ft=$(0);function dt(e){e=e|0;var t=0;t=p;p=p+e|0;p=p+15&-16;return t|0}function ht(){return p|0}function pt(e){e=e|0;p=e}function mt(e,t){e=e|0;t=t|0;p=e;m=t}function gt(e,t){e=e|0;t=t|0;if(!y){y=e;_=t}}function vt(e){e=e|0;A=e}function yt(){return A|0}function _t(){var e=0,t=0;iT(8104,8,400)|0;iT(8504,408,540)|0;e=9044;t=e+44|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));r[9088]=0;r[9089]=1;o[2273]=0;o[2274]=948;o[2275]=948;Re(17,8104,v|0)|0;return}function bt(e){e=e|0;Jt(e+948|0);return}function Dt(e){e=$(e);return((Bi(e)|0)&2147483647)>>>0>2139095040|0}function xt(e,t,n){e=e|0;t=t|0;n=n|0;e:do{if(!(o[e+(t<<3)+4>>2]|0)){if((t|2|0)==3?o[e+60>>2]|0:0){e=e+56|0;break}switch(t|0){case 0:case 2:case 4:case 5:{if(o[e+52>>2]|0){e=e+48|0;break e}break}default:{}}if(!(o[e+68>>2]|0)){e=(t|1|0)==5?948:n;break}else{e=e+64|0;break}}else e=e+(t<<3)|0}while(0);return e|0}function wt(e){e=e|0;var t=0;t=JC(1e3)|0;Et(e,(t|0)!=0,2456);o[2276]=(o[2276]|0)+1;iT(t|0,8104,1e3)|0;if(r[e+2>>0]|0){o[t+4>>2]=2;o[t+12>>2]=4}o[t+976>>2]=e;return t|0}function Et(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0;i=p;p=p+16|0;r=i;if(!t){o[r>>2]=n;Ir(e,5,3197,r)}p=i;return}function kt(){return wt(956)|0}function Ct(e){e=e|0;var t=0;t=qS(1e3)|0;St(t,e);Et(o[e+976>>2]|0,1,2456);o[2276]=(o[2276]|0)+1;o[t+944>>2]=0;return t|0}function St(e,t){e=e|0;t=t|0;var n=0;iT(e|0,t|0,948)|0;Ur(e+948|0,t+948|0);n=e+960|0;e=t+960|0;t=n+40|0;do{o[n>>2]=o[e>>2];n=n+4|0;e=e+4|0}while((n|0)<(t|0));return}function Tt(e){e=e|0;var t=0,n=0,r=0,i=0;t=e+944|0;n=o[t>>2]|0;if(n|0){At(n+948|0,e)|0;o[t>>2]=0}n=Ft(e)|0;if(n|0){t=0;do{o[(Mt(e,t)|0)+944>>2]=0;t=t+1|0}while((t|0)!=(n|0))}n=e+948|0;r=o[n>>2]|0;i=e+952|0;t=o[i>>2]|0;if((t|0)!=(r|0))o[i>>2]=t+(~((t+-4-r|0)>>>2)<<2);Bt(n);GC(e);o[2276]=(o[2276]|0)+-1;return}function At(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0;r=o[e>>2]|0;s=e+4|0;n=o[s>>2]|0;a=n;e:do{if((r|0)==(n|0)){i=r;u=4}else{e=r;while(1){if((o[e>>2]|0)==(t|0)){i=e;u=4;break e}e=e+4|0;if((e|0)==(n|0)){e=0;break}}}}while(0);if((u|0)==4)if((i|0)!=(n|0)){r=i+4|0;e=a-r|0;t=e>>2;if(t){lT(i|0,r|0,e|0)|0;n=o[s>>2]|0}e=i+(t<<2)|0;if((n|0)==(e|0))e=1;else{o[s>>2]=n+(~((n+-4-e|0)>>>2)<<2);e=1}}else e=0;return e|0}function Ft(e){e=e|0;return(o[e+952>>2]|0)-(o[e+948>>2]|0)>>2|0}function Mt(e,t){e=e|0;t=t|0;var n=0;n=o[e+948>>2]|0;if((o[e+952>>2]|0)-n>>2>>>0>t>>>0)e=o[n+(t<<2)>>2]|0;else e=0;return e|0}function Bt(e){e=e|0;var t=0,n=0,r=0,i=0;r=p;p=p+32|0;t=r;i=o[e>>2]|0;n=(o[e+4>>2]|0)-i|0;if(((o[e+8>>2]|0)-i|0)>>>0>n>>>0){i=n>>2;Pi(t,i,i,e+8|0);Ni(e,t);Oi(t)}p=r;return}function Pt(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0;c=Ft(e)|0;do{if(c|0){if((o[(Mt(e,0)|0)+944>>2]|0)==(e|0)){if(!(At(e+948|0,t)|0))break;iT(t+400|0,8504,540)|0;o[t+944>>2]=0;Xt(e);break}u=o[(o[e+976>>2]|0)+12>>2]|0;s=e+948|0;l=(u|0)==0;n=0;a=0;do{r=o[(o[s>>2]|0)+(a<<2)>>2]|0;if((r|0)==(t|0))Xt(e);else{i=Ct(r)|0;o[(o[s>>2]|0)+(n<<2)>>2]=i;o[i+944>>2]=e;if(!l)OA[u&15](r,i,e,n);n=n+1|0}a=a+1|0}while((a|0)!=(c|0));if(n>>>0>>0){l=e+948|0;s=e+952|0;u=n;n=o[s>>2]|0;do{a=(o[l>>2]|0)+(u<<2)|0;r=a+4|0;i=n-r|0;t=i>>2;if(!t)i=n;else{lT(a|0,r|0,i|0)|0;n=o[s>>2]|0;i=n}r=a+(t<<2)|0;if((i|0)!=(r|0)){n=i+(~((i+-4-r|0)>>>2)<<2)|0;o[s>>2]=n}u=u+1|0}while((u|0)!=(c|0))}}}while(0);return}function Nt(e){e=e|0;var t=0,n=0,i=0,a=0;Ot(e,(Ft(e)|0)==0,2491);Ot(e,(o[e+944>>2]|0)==0,2545);t=e+948|0;n=o[t>>2]|0;i=e+952|0;a=o[i>>2]|0;if((a|0)!=(n|0))o[i>>2]=a+(~((a+-4-n|0)>>>2)<<2);Bt(t);t=e+976|0;n=o[t>>2]|0;iT(e|0,8104,1e3)|0;if(r[n+2>>0]|0){o[e+4>>2]=2;o[e+12>>2]=4}o[t>>2]=n;return}function Ot(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0;i=p;p=p+16|0;r=i;if(!t){o[r>>2]=n;kr(e,5,3197,r)}p=i;return}function Rt(){return o[2276]|0}function It(){var e=0;e=JC(20)|0;Lt((e|0)!=0,2592);o[2277]=(o[2277]|0)+1;o[e>>2]=o[239];o[e+4>>2]=o[240];o[e+8>>2]=o[241];o[e+12>>2]=o[242];o[e+16>>2]=o[243];return e|0}function Lt(e,t){e=e|0;t=t|0;var n=0,r=0;r=p;p=p+16|0;n=r;if(!e){o[n>>2]=t;kr(0,5,3197,n)}p=r;return}function jt(e){e=e|0;GC(e);o[2277]=(o[2277]|0)+-1;return}function Ut(e,t){e=e|0;t=t|0;var n=0;if(!t){n=0;t=0}else{Ot(e,(Ft(e)|0)==0,2629);n=1}o[e+964>>2]=t;o[e+988>>2]=n;return}function zt(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;a=r+8|0;i=r+4|0;u=r;o[i>>2]=t;Ot(e,(o[t+944>>2]|0)==0,2709);Ot(e,(o[e+964>>2]|0)==0,2763);Wt(e);t=e+948|0;o[u>>2]=(o[t>>2]|0)+(n<<2);o[a>>2]=o[u>>2];Ht(t,a,i)|0;o[(o[i>>2]|0)+944>>2]=e;Xt(e);p=r;return}function Wt(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,u=0,s=0;n=Ft(e)|0;if(n|0?(o[(Mt(e,0)|0)+944>>2]|0)!=(e|0):0){r=o[(o[e+976>>2]|0)+12>>2]|0;i=e+948|0;a=(r|0)==0;t=0;do{u=o[(o[i>>2]|0)+(t<<2)>>2]|0;s=Ct(u)|0;o[(o[i>>2]|0)+(t<<2)>>2]=s;o[s+944>>2]=e;if(!a)OA[r&15](u,s,e,t);t=t+1|0}while((t|0)!=(n|0))}return}function Ht(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0,m=0,g=0,v=0,y=0,_=0;y=p;p=p+64|0;d=y+52|0;s=y+48|0;h=y+28|0;m=y+24|0;g=y+20|0;v=y;r=o[e>>2]|0;a=r;t=r+((o[t>>2]|0)-a>>2<<2)|0;r=e+4|0;i=o[r>>2]|0;u=e+8|0;do{if(i>>>0<(o[u>>2]|0)>>>0){if((t|0)==(i|0)){o[t>>2]=o[n>>2];o[r>>2]=(o[r>>2]|0)+4;break}Ri(e,t,i,t+4|0);if(t>>>0<=n>>>0)n=(o[r>>2]|0)>>>0>n>>>0?n+4|0:n;o[t>>2]=o[n>>2]}else{r=(i-a>>2)+1|0;i=Hr(e)|0;if(i>>>0>>0)US(e);f=o[e>>2]|0;c=(o[u>>2]|0)-f|0;a=c>>1;Pi(v,c>>2>>>0>>1>>>0?a>>>0>>0?r:a:i,t-f>>2,e+8|0);f=v+8|0;r=o[f>>2]|0;a=v+12|0;c=o[a>>2]|0;u=c;l=r;do{if((r|0)==(c|0)){c=v+4|0;r=o[c>>2]|0;_=o[v>>2]|0;i=_;if(r>>>0<=_>>>0){r=u-i>>1;r=(r|0)==0?1:r;Pi(h,r,r>>>2,o[v+16>>2]|0);o[m>>2]=o[c>>2];o[g>>2]=o[f>>2];o[s>>2]=o[m>>2];o[d>>2]=o[g>>2];Li(h,s,d);r=o[v>>2]|0;o[v>>2]=o[h>>2];o[h>>2]=r;r=h+4|0;_=o[c>>2]|0;o[c>>2]=o[r>>2];o[r>>2]=_;r=h+8|0;_=o[f>>2]|0;o[f>>2]=o[r>>2];o[r>>2]=_;r=h+12|0;_=o[a>>2]|0;o[a>>2]=o[r>>2];o[r>>2]=_;Oi(h);r=o[f>>2]|0;break}a=r;u=((a-i>>2)+1|0)/-2|0;s=r+(u<<2)|0;i=l-a|0;a=i>>2;if(a){lT(s|0,r|0,i|0)|0;r=o[c>>2]|0}_=s+(a<<2)|0;o[f>>2]=_;o[c>>2]=r+(u<<2);r=_}}while(0);o[r>>2]=o[n>>2];o[f>>2]=(o[f>>2]|0)+4;t=Ii(e,v,t)|0;Oi(v)}}while(0);p=y;return t|0}function Xt(e){e=e|0;var t=0;do{t=e+984|0;if(r[t>>0]|0)break;r[t>>0]=1;l[e+504>>2]=$(x);e=o[e+944>>2]|0}while((e|0)!=0);return}function Jt(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-4-r|0)>>>2)<<2);VS(n)}return}function Gt(e){e=e|0;return o[e+944>>2]|0}function qt(e){e=e|0;Ot(e,(o[e+964>>2]|0)!=0,2832);Xt(e);return}function $t(e){e=e|0;return(r[e+984>>0]|0)!=0|0}function Vt(e,t){e=e|0;t=t|0;if(iS(e,t,400)|0){iT(e|0,t|0,400)|0;Xt(e)}return}function Yt(e){e=e|0;var t=ft;t=$(l[e+44>>2]);e=Dt(t)|0;return $(e?$(0.0):t)}function Kt(e){e=e|0;var t=ft;t=$(l[e+48>>2]);if(Dt(t)|0)t=r[(o[e+976>>2]|0)+2>>0]|0?$(1.0):$(0.0);return $(t)}function Qt(e,t){e=e|0;t=t|0;o[e+980>>2]=t;return}function Zt(e){e=e|0;return o[e+980>>2]|0}function en(e,t){e=e|0;t=t|0;var n=0;n=e+4|0;if((o[n>>2]|0)!=(t|0)){o[n>>2]=t;Xt(e)}return}function tn(e){e=e|0;return o[e+4>>2]|0}function nn(e,t){e=e|0;t=t|0;var n=0;n=e+8|0;if((o[n>>2]|0)!=(t|0)){o[n>>2]=t;Xt(e)}return}function rn(e){e=e|0;return o[e+8>>2]|0}function on(e,t){e=e|0;t=t|0;var n=0;n=e+12|0;if((o[n>>2]|0)!=(t|0)){o[n>>2]=t;Xt(e)}return}function an(e){e=e|0;return o[e+12>>2]|0}function un(e,t){e=e|0;t=t|0;var n=0;n=e+16|0;if((o[n>>2]|0)!=(t|0)){o[n>>2]=t;Xt(e)}return}function sn(e){e=e|0;return o[e+16>>2]|0}function ln(e,t){e=e|0;t=t|0;var n=0;n=e+20|0;if((o[n>>2]|0)!=(t|0)){o[n>>2]=t;Xt(e)}return}function cn(e){e=e|0;return o[e+20>>2]|0}function fn(e,t){e=e|0;t=t|0;var n=0;n=e+24|0;if((o[n>>2]|0)!=(t|0)){o[n>>2]=t;Xt(e)}return}function dn(e){e=e|0;return o[e+24>>2]|0}function hn(e,t){e=e|0;t=t|0;var n=0;n=e+28|0;if((o[n>>2]|0)!=(t|0)){o[n>>2]=t;Xt(e)}return}function pn(e){e=e|0;return o[e+28>>2]|0}function mn(e,t){e=e|0;t=t|0;var n=0;n=e+32|0;if((o[n>>2]|0)!=(t|0)){o[n>>2]=t;Xt(e)}return}function gn(e){e=e|0;return o[e+32>>2]|0}function vn(e,t){e=e|0;t=t|0;var n=0;n=e+36|0;if((o[n>>2]|0)!=(t|0)){o[n>>2]=t;Xt(e)}return}function yn(e){e=e|0;return o[e+36>>2]|0}function _n(e,t){e=e|0;t=$(t);var n=0;n=e+40|0;if($(l[n>>2])!=t){l[n>>2]=t;Xt(e)}return}function bn(e,t){e=e|0;t=$(t);var n=0;n=e+44|0;if($(l[n>>2])!=t){l[n>>2]=t;Xt(e)}return}function Dn(e,t){e=e|0;t=$(t);var n=0;n=e+48|0;if($(l[n>>2])!=t){l[n>>2]=t;Xt(e)}return}function xn(e,t){e=e|0;t=$(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=(a^1)&1;r=e+52|0;i=e+56|0;if(!(a|$(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Xt(e)}return}function wn(e,t){e=e|0;t=$(t);var n=0,r=0;r=e+52|0;n=e+56|0;if(!(!($(l[r>>2])!=t)?(o[n>>2]|0)==2:0)){l[r>>2]=t;r=Dt(t)|0;o[n>>2]=r?3:2;Xt(e)}return}function En(e,t){e=e|0;t=t|0;var n=0,r=0;r=t+52|0;n=o[r+4>>2]|0;t=e;o[t>>2]=o[r>>2];o[t+4>>2]=n;return}function kn(e,t,n){e=e|0;t=t|0;n=$(n);var r=0,i=0,a=0;a=Dt(n)|0;r=(a^1)&1;i=e+132+(t<<3)|0;t=e+132+(t<<3)+4|0;if(!(a|$(l[i>>2])==n?(o[t>>2]|0)==(r|0):0)){l[i>>2]=n;o[t>>2]=r;Xt(e)}return}function Cn(e,t,n){e=e|0;t=t|0;n=$(n);var r=0,i=0,a=0;a=Dt(n)|0;r=a?0:2;i=e+132+(t<<3)|0;t=e+132+(t<<3)+4|0;if(!(a|$(l[i>>2])==n?(o[t>>2]|0)==(r|0):0)){l[i>>2]=n;o[t>>2]=r;Xt(e)}return}function Sn(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=t+132+(n<<3)|0;t=o[r+4>>2]|0;n=e;o[n>>2]=o[r>>2];o[n+4>>2]=t;return}function Tn(e,t,n){e=e|0;t=t|0;n=$(n);var r=0,i=0,a=0;a=Dt(n)|0;r=(a^1)&1;i=e+60+(t<<3)|0;t=e+60+(t<<3)+4|0;if(!(a|$(l[i>>2])==n?(o[t>>2]|0)==(r|0):0)){l[i>>2]=n;o[t>>2]=r;Xt(e)}return}function An(e,t,n){e=e|0;t=t|0;n=$(n);var r=0,i=0,a=0;a=Dt(n)|0;r=a?0:2;i=e+60+(t<<3)|0;t=e+60+(t<<3)+4|0;if(!(a|$(l[i>>2])==n?(o[t>>2]|0)==(r|0):0)){l[i>>2]=n;o[t>>2]=r;Xt(e)}return}function Fn(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=t+60+(n<<3)|0;t=o[r+4>>2]|0;n=e;o[n>>2]=o[r>>2];o[n+4>>2]=t;return}function Mn(e,t){e=e|0;t=t|0;var n=0;n=e+60+(t<<3)+4|0;if((o[n>>2]|0)!=3){l[e+60+(t<<3)>>2]=$(x);o[n>>2]=3;Xt(e)}return}function Bn(e,t,n){e=e|0;t=t|0;n=$(n);var r=0,i=0,a=0;a=Dt(n)|0;r=(a^1)&1;i=e+204+(t<<3)|0;t=e+204+(t<<3)+4|0;if(!(a|$(l[i>>2])==n?(o[t>>2]|0)==(r|0):0)){l[i>>2]=n;o[t>>2]=r;Xt(e)}return}function Pn(e,t,n){e=e|0;t=t|0;n=$(n);var r=0,i=0,a=0;a=Dt(n)|0;r=a?0:2;i=e+204+(t<<3)|0;t=e+204+(t<<3)+4|0;if(!(a|$(l[i>>2])==n?(o[t>>2]|0)==(r|0):0)){l[i>>2]=n;o[t>>2]=r;Xt(e)}return}function Nn(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=t+204+(n<<3)|0;t=o[r+4>>2]|0;n=e;o[n>>2]=o[r>>2];o[n+4>>2]=t;return}function On(e,t,n){e=e|0;t=t|0;n=$(n);var r=0,i=0,a=0;a=Dt(n)|0;r=(a^1)&1;i=e+276+(t<<3)|0;t=e+276+(t<<3)+4|0;if(!(a|$(l[i>>2])==n?(o[t>>2]|0)==(r|0):0)){l[i>>2]=n;o[t>>2]=r;Xt(e)}return}function Rn(e,t){e=e|0;t=t|0;return $(l[e+276+(t<<3)>>2])}function In(e,t){e=e|0;t=$(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=(a^1)&1;r=e+348|0;i=e+352|0;if(!(a|$(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Xt(e)}return}function Ln(e,t){e=e|0;t=$(t);var n=0,r=0;r=e+348|0;n=e+352|0;if(!(!($(l[r>>2])!=t)?(o[n>>2]|0)==2:0)){l[r>>2]=t;r=Dt(t)|0;o[n>>2]=r?3:2;Xt(e)}return}function jn(e){e=e|0;var t=0;t=e+352|0;if((o[t>>2]|0)!=3){l[e+348>>2]=$(x);o[t>>2]=3;Xt(e)}return}function Un(e,t){e=e|0;t=t|0;var n=0,r=0;r=t+348|0;n=o[r+4>>2]|0;t=e;o[t>>2]=o[r>>2];o[t+4>>2]=n;return}function zn(e,t){e=e|0;t=$(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=(a^1)&1;r=e+356|0;i=e+360|0;if(!(a|$(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Xt(e)}return}function Wn(e,t){e=e|0;t=$(t);var n=0,r=0;r=e+356|0;n=e+360|0;if(!(!($(l[r>>2])!=t)?(o[n>>2]|0)==2:0)){l[r>>2]=t;r=Dt(t)|0;o[n>>2]=r?3:2;Xt(e)}return}function Hn(e){e=e|0;var t=0;t=e+360|0;if((o[t>>2]|0)!=3){l[e+356>>2]=$(x);o[t>>2]=3;Xt(e)}return}function Xn(e,t){e=e|0;t=t|0;var n=0,r=0;r=t+356|0;n=o[r+4>>2]|0;t=e;o[t>>2]=o[r>>2];o[t+4>>2]=n;return}function Jn(e,t){e=e|0;t=$(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=(a^1)&1;r=e+364|0;i=e+368|0;if(!(a|$(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Xt(e)}return}function Gn(e,t){e=e|0;t=$(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=a?0:2;r=e+364|0;i=e+368|0;if(!(a|$(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Xt(e)}return}function qn(e,t){e=e|0;t=t|0;var n=0,r=0;r=t+364|0;n=o[r+4>>2]|0;t=e;o[t>>2]=o[r>>2];o[t+4>>2]=n;return}function $n(e,t){e=e|0;t=$(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=(a^1)&1;r=e+372|0;i=e+376|0;if(!(a|$(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Xt(e)}return}function Vn(e,t){e=e|0;t=$(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=a?0:2;r=e+372|0;i=e+376|0;if(!(a|$(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Xt(e)}return}function Yn(e,t){e=e|0;t=t|0;var n=0,r=0;r=t+372|0;n=o[r+4>>2]|0;t=e;o[t>>2]=o[r>>2];o[t+4>>2]=n;return}function Kn(e,t){e=e|0;t=$(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=(a^1)&1;r=e+380|0;i=e+384|0;if(!(a|$(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Xt(e)}return}function Qn(e,t){e=e|0;t=$(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=a?0:2;r=e+380|0;i=e+384|0;if(!(a|$(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Xt(e)}return}function Zn(e,t){e=e|0;t=t|0;var n=0,r=0;r=t+380|0;n=o[r+4>>2]|0;t=e;o[t>>2]=o[r>>2];o[t+4>>2]=n;return}function er(e,t){e=e|0;t=$(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=(a^1)&1;r=e+388|0;i=e+392|0;if(!(a|$(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Xt(e)}return}function tr(e,t){e=e|0;t=$(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=a?0:2;r=e+388|0;i=e+392|0;if(!(a|$(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Xt(e)}return}function nr(e,t){e=e|0;t=t|0;var n=0,r=0;r=t+388|0;n=o[r+4>>2]|0;t=e;o[t>>2]=o[r>>2];o[t+4>>2]=n;return}function rr(e,t){e=e|0;t=$(t);var n=0;n=e+396|0;if($(l[n>>2])!=t){l[n>>2]=t;Xt(e)}return}function ir(e){e=e|0;return $(l[e+396>>2])}function or(e){e=e|0;return $(l[e+400>>2])}function ar(e){e=e|0;return $(l[e+404>>2])}function ur(e){e=e|0;return $(l[e+408>>2])}function sr(e){e=e|0;return $(l[e+412>>2])}function lr(e){e=e|0;return $(l[e+416>>2])}function cr(e){e=e|0;return $(l[e+420>>2])}function fr(e,t){e=e|0;t=t|0;Ot(e,(t|0)<6,2918);switch(t|0){case 0:{t=(o[e+496>>2]|0)==2?5:4;break}case 2:{t=(o[e+496>>2]|0)==2?4:5;break}default:{}}return $(l[e+424+(t<<2)>>2])}function dr(e,t){e=e|0;t=t|0;Ot(e,(t|0)<6,2918);switch(t|0){case 0:{t=(o[e+496>>2]|0)==2?5:4;break}case 2:{t=(o[e+496>>2]|0)==2?4:5;break}default:{}}return $(l[e+448+(t<<2)>>2])}function hr(e,t){e=e|0;t=t|0;Ot(e,(t|0)<6,2918);switch(t|0){case 0:{t=(o[e+496>>2]|0)==2?5:4;break}case 2:{t=(o[e+496>>2]|0)==2?4:5;break}default:{}}return $(l[e+472+(t<<2)>>2])}function pr(e,t){e=e|0;t=t|0;var n=0,r=ft;n=o[e+4>>2]|0;if((n|0)==(o[t+4>>2]|0)){if(!n)e=1;else{r=$(l[e>>2]);e=$(M($(r-$(l[t>>2]))))<$(.0000999999974)}}else e=0;return e|0}function mr(e,t){e=$(e);t=$(t);var n=0;if(Dt(e)|0)n=Dt(t)|0;else n=$(M($(e-t)))<$(.0000999999974);return n|0}function gr(e,t){e=e|0;t=t|0;vr(e,t);return}function vr(e,t){e=e|0;t=t|0;var n=0,i=0;n=p;p=p+16|0;i=n+4|0;o[i>>2]=0;o[i+4>>2]=0;o[i+8>>2]=0;je(i|0,e|0,t|0,0);kr(e,3,(r[i+11>>0]|0)<0?o[i>>2]|0:i,n);YS(i);p=n;return}function yr(e,t,n,r){e=$(e);t=$(t);n=n|0;r=r|0;var i=ft;e=$(e*t);i=$(IS(e,$(1.0)));do{if(!(mr(i,$(0.0))|0)){e=$(e-i);if(mr(i,$(1.0))|0){e=$(e+$(1.0));break}if(n){e=$(e+$(1.0));break}if(!r){if(i>$(.5))i=$(1.0);else{r=mr(i,$(.5))|0;i=r?$(1.0):$(0.0)}e=$(e+i)}}else e=$(e-i)}while(0);return $(e/t)}function _r(e,t,n,r,i,o,a,u,s,c,f,d,h){e=e|0;t=$(t);n=n|0;r=$(r);i=i|0;o=$(o);a=a|0;u=$(u);s=$(s);c=$(c);f=$(f);d=$(d);h=h|0;var p=0,m=ft,g=ft,v=ft,y=ft,_=ft,b=ft;if(s<$(0.0)|c<$(0.0))h=0;else{if((h|0)!=0?(m=$(l[h+4>>2]),m!=$(0.0)):0){v=$(yr(t,m,0,0));y=$(yr(r,m,0,0));g=$(yr(o,m,0,0));m=$(yr(u,m,0,0))}else{g=o;v=t;m=u;y=r}if((i|0)==(e|0))p=mr(g,v)|0;else p=0;if((a|0)==(n|0))h=mr(m,y)|0;else h=0;if((!p?(_=$(t-f),!(br(e,_,s)|0)):0)?!(Dr(e,_,i,s)|0):0)p=xr(e,_,i,o,s)|0;else p=1;if((!h?(b=$(r-d),!(br(n,b,c)|0)):0)?!(Dr(n,b,a,c)|0):0)h=xr(n,b,a,u,c)|0;else h=1;h=p&h}return h|0}function br(e,t,n){e=e|0;t=$(t);n=$(n);if((e|0)==1)e=mr(t,n)|0;else e=0;return e|0}function Dr(e,t,n,r){e=e|0;t=$(t);n=n|0;r=$(r);if((e|0)==2&(n|0)==0){if(!(t>=r))e=mr(t,r)|0;else e=1}else e=0;return e|0}function xr(e,t,n,r,i){e=e|0;t=$(t);n=n|0;r=$(r);i=$(i);if((e|0)==2&(n|0)==2&r>t){if(!(i<=t))e=mr(t,i)|0;else e=1}else e=0;return e|0}function wr(e,t,n,i,a,u,s,f,d,h,m){e=e|0;t=$(t);n=$(n);i=i|0;a=a|0;u=u|0;s=$(s);f=$(f);d=d|0;h=h|0;m=m|0;var g=0,v=0,y=0,_=0,b=ft,D=ft,x=0,w=0,E=0,k=0,C=0,S=0,T=0,A=0,F=0,M=0,B=0,P=ft,N=ft,O=ft,R=0.0,I=0.0;B=p;p=p+160|0;A=B+152|0;T=B+120|0;S=B+104|0;E=B+72|0;_=B+56|0;C=B+8|0;w=B;k=(o[2279]|0)+1|0;o[2279]=k;F=e+984|0;if((r[F>>0]|0)!=0?(o[e+512>>2]|0)!=(o[2278]|0):0)x=4;else if((o[e+516>>2]|0)==(i|0))M=0;else x=4;if((x|0)==4){o[e+520>>2]=0;o[e+924>>2]=-1;o[e+928>>2]=-1;l[e+932>>2]=$(-1.0);l[e+936>>2]=$(-1.0);M=1}e:do{if(!(o[e+964>>2]|0)){if(d){g=e+916|0;if(!(mr($(l[g>>2]),t)|0)){x=21;break}if(!(mr($(l[e+920>>2]),n)|0)){x=21;break}if((o[e+924>>2]|0)!=(a|0)){x=21;break}g=(o[e+928>>2]|0)==(u|0)?g:0;x=22;break}y=o[e+520>>2]|0;if(!y)x=21;else{v=0;while(1){g=e+524+(v*24|0)|0;if(((mr($(l[g>>2]),t)|0?mr($(l[e+524+(v*24|0)+4>>2]),n)|0:0)?(o[e+524+(v*24|0)+8>>2]|0)==(a|0):0)?(o[e+524+(v*24|0)+12>>2]|0)==(u|0):0){x=22;break e}v=v+1|0;if(v>>>0>=y>>>0){x=21;break}}}}else{b=$(Er(e,2,s));D=$(Er(e,0,s));g=e+916|0;O=$(l[g>>2]);N=$(l[e+920>>2]);P=$(l[e+932>>2]);if(!(_r(a,t,u,n,o[e+924>>2]|0,O,o[e+928>>2]|0,N,P,$(l[e+936>>2]),b,D,m)|0)){y=o[e+520>>2]|0;if(!y)x=21;else{v=0;while(1){g=e+524+(v*24|0)|0;P=$(l[g>>2]);N=$(l[e+524+(v*24|0)+4>>2]);O=$(l[e+524+(v*24|0)+16>>2]);if(_r(a,t,u,n,o[e+524+(v*24|0)+8>>2]|0,P,o[e+524+(v*24|0)+12>>2]|0,N,O,$(l[e+524+(v*24|0)+20>>2]),b,D,m)|0){x=22;break e}v=v+1|0;if(v>>>0>=y>>>0){x=21;break}}}}else x=22}}while(0);do{if((x|0)==21){if(!(r[11697]|0)){g=0;x=31}else{g=0;x=28}}else if((x|0)==22){v=(r[11697]|0)!=0;if(!((g|0)!=0&(M^1)))if(v){x=28;break}else{x=31;break}_=g+16|0;o[e+908>>2]=o[_>>2];y=g+20|0;o[e+912>>2]=o[y>>2];if(!((r[11698]|0)==0|v^1)){o[w>>2]=Cr(k)|0;o[w+4>>2]=k;kr(e,4,2972,w);v=o[e+972>>2]|0;if(v|0)pA[v&127](e);a=Sr(a,d)|0;u=Sr(u,d)|0;I=+$(l[_>>2]);R=+$(l[y>>2]);o[C>>2]=a;o[C+4>>2]=u;c[C+8>>3]=+t;c[C+16>>3]=+n;c[C+24>>3]=I;c[C+32>>3]=R;o[C+40>>2]=h;kr(e,4,2989,C)}}}while(0);if((x|0)==28){v=Cr(k)|0;o[_>>2]=v;o[_+4>>2]=k;o[_+8>>2]=M?3047:11699;kr(e,4,3038,_);v=o[e+972>>2]|0;if(v|0)pA[v&127](e);C=Sr(a,d)|0;x=Sr(u,d)|0;o[E>>2]=C;o[E+4>>2]=x;c[E+8>>3]=+t;c[E+16>>3]=+n;o[E+24>>2]=h;kr(e,4,3049,E);x=31}if((x|0)==31){Tr(e,t,n,i,a,u,s,f,d,m);if(r[11697]|0){v=o[2279]|0;C=Cr(v)|0;o[S>>2]=C;o[S+4>>2]=v;o[S+8>>2]=M?3047:11699;kr(e,4,3083,S);v=o[e+972>>2]|0;if(v|0)pA[v&127](e);C=Sr(a,d)|0;S=Sr(u,d)|0;R=+$(l[e+908>>2]);I=+$(l[e+912>>2]);o[T>>2]=C;o[T+4>>2]=S;c[T+8>>3]=R;c[T+16>>3]=I;o[T+24>>2]=h;kr(e,4,3092,T)}o[e+516>>2]=i;if(!g){v=e+520|0;g=o[v>>2]|0;if((g|0)==16){if(r[11697]|0)kr(e,4,3124,A);o[v>>2]=0;g=0}if(d)g=e+916|0;else{o[v>>2]=g+1;g=e+524+(g*24|0)|0}l[g>>2]=t;l[g+4>>2]=n;o[g+8>>2]=a;o[g+12>>2]=u;o[g+16>>2]=o[e+908>>2];o[g+20>>2]=o[e+912>>2];g=0}}if(d){o[e+416>>2]=o[e+908>>2];o[e+420>>2]=o[e+912>>2];r[e+985>>0]=1;r[F>>0]=0}o[2279]=(o[2279]|0)+-1;o[e+512>>2]=o[2278];p=B;return M|(g|0)==0|0}function Er(e,t,n){e=e|0;t=t|0;n=$(n);var r=ft;r=$(Xr(e,t,n));return $(r+$(Jr(e,t,n)))}function kr(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=p;p=p+16|0;i=a;o[i>>2]=r;if(!e)r=0;else r=o[e+976>>2]|0;Lr(r,e,t,n,i);p=a;return}function Cr(e){e=e|0;return(e>>>0>60?3201:3201+(60-e)|0)|0}function Sr(e,t){e=e|0;t=t|0;var n=0,r=0,i=0;i=p;p=p+32|0;n=i+12|0;r=i;o[n>>2]=o[254];o[n+4>>2]=o[255];o[n+8>>2]=o[256];o[r>>2]=o[257];o[r+4>>2]=o[258];o[r+8>>2]=o[259];if((e|0)>2)e=11699;else e=o[(t?r:n)+(e<<2)>>2]|0;p=i;return e|0}function Tr(e,t,n,i,u,s,c,f,h,m){e=e|0;t=$(t);n=$(n);i=i|0;u=u|0;s=s|0;c=$(c);f=$(f);h=h|0;m=m|0;var g=0,v=0,y=0,_=0,b=ft,D=ft,x=ft,w=ft,E=ft,k=ft,C=ft,S=0,T=0,A=0,F=ft,M=ft,B=0,P=ft,N=0,O=0,R=0,I=0,L=0,j=0,U=0,z=0,W=0,H=0,X=0,J=0,G=0,q=0,V=0,Y=0,K=0,Q=0,Z=ft,ee=ft,te=ft,ne=ft,re=ft,ie=0,oe=0,ae=0,ue=0,se=0,le=ft,ce=ft,fe=ft,de=ft,he=ft,pe=ft,me=0,ge=ft,ve=ft,ye=ft,_e=ft,be=ft,De=ft,xe=0,we=0,Ee=ft,ke=ft,Ce=0,Se=0,Te=0,Ae=0,Fe=ft,Me=0,Be=0,Pe=0,Ne=0,Oe=0,Re=0,Ie=0,Le=ft,je=0,Ue=0;Ie=p;p=p+16|0;ie=Ie+12|0;oe=Ie+8|0;ae=Ie+4|0;ue=Ie;Ot(e,(u|0)==0|(Dt(t)|0)^1,3326);Ot(e,(s|0)==0|(Dt(n)|0)^1,3406);Be=$r(e,i)|0;o[e+496>>2]=Be;Oe=Vr(2,Be)|0;Re=Vr(0,Be)|0;l[e+440>>2]=$(Xr(e,Oe,c));l[e+444>>2]=$(Jr(e,Oe,c));l[e+428>>2]=$(Xr(e,Re,c));l[e+436>>2]=$(Jr(e,Re,c));l[e+464>>2]=$(Yr(e,Oe));l[e+468>>2]=$(Kr(e,Oe));l[e+452>>2]=$(Yr(e,Re));l[e+460>>2]=$(Kr(e,Re));l[e+488>>2]=$(Qr(e,Oe,c));l[e+492>>2]=$(Zr(e,Oe,c));l[e+476>>2]=$(Qr(e,Re,c));l[e+484>>2]=$(Zr(e,Re,c));do{if(!(o[e+964>>2]|0)){Pe=e+948|0;Ne=(o[e+952>>2]|0)-(o[Pe>>2]|0)>>2;if(!Ne){ti(e,t,n,u,s,c,f);break}if(!h?ni(e,t,n,u,s,c,f)|0:0)break;Wt(e);Y=e+508|0;r[Y>>0]=0;Oe=Vr(o[e+4>>2]|0,Be)|0;Re=ri(Oe,Be)|0;Me=Gr(Oe)|0;K=o[e+8>>2]|0;Se=e+28|0;Q=(o[Se>>2]|0)!=0;be=Me?c:f;Ee=Me?f:c;Z=$(ii(e,Oe,c));ee=$(oi(e,Oe,c));b=$(ii(e,Re,c));De=$(ai(e,Oe,c));ke=$(ai(e,Re,c));A=Me?u:s;Ce=Me?s:u;Fe=Me?De:ke;E=Me?ke:De;_e=$(Er(e,2,c));w=$(Er(e,0,c));D=$($(Pr(e+364|0,c))-Fe);x=$($(Pr(e+380|0,c))-Fe);k=$($(Pr(e+372|0,f))-E);C=$($(Pr(e+388|0,f))-E);te=Me?D:k;ne=Me?x:C;_e=$(t-_e);t=$(_e-Fe);if(Dt(t)|0)Fe=t;else Fe=$(PS($(OS(t,x)),D));ve=$(n-w);t=$(ve-E);if(Dt(t)|0)ye=t;else ye=$(PS($(OS(t,C)),k));D=Me?Fe:ye;ge=Me?ye:Fe;e:do{if((A|0)==1){i=0;v=0;while(1){g=Mt(e,v)|0;if(!i){if($(si(g))>$(0.0)?$(li(g))>$(0.0):0)i=g;else i=0}else if(ui(g)|0){_=0;break e}v=v+1|0;if(v>>>0>=Ne>>>0){_=i;break}}}else _=0}while(0);S=_+500|0;T=_+504|0;i=0;g=0;t=$(0.0);y=0;do{v=o[(o[Pe>>2]|0)+(y<<2)>>2]|0;if((o[v+36>>2]|0)==1){ci(v);r[v+985>>0]=1;r[v+984>>0]=0}else{Mr(v);if(h)Nr(v,$r(v,Be)|0,D,ge,Fe);do{if((o[v+24>>2]|0)!=1){if((v|0)==(_|0)){o[S>>2]=o[2278];l[T>>2]=$(0.0);break}else{fi(e,v,Fe,u,ye,Fe,ye,s,Be,m);break}}else{if(g|0)o[g+960>>2]=v;o[v+960>>2]=0;g=v;i=(i|0)==0?v:i}}while(0);pe=$(l[v+504>>2]);t=$(t+$(pe+$(Er(v,Oe,Fe))))}y=y+1|0}while((y|0)!=(Ne|0));R=t>D;me=Q&((A|0)==2&R)?1:A;N=(Ce|0)==1;L=N&(h^1);j=(me|0)==1;U=(me|0)==2;z=976+(Oe<<2)|0;W=(Ce|2|0)==2;q=N&(Q^1);H=1040+(Re<<2)|0;X=1040+(Oe<<2)|0;J=976+(Re<<2)|0;G=(Ce|0)!=1;R=Q&((A|0)!=0&R);O=e+976|0;N=N^1;t=D;B=0;I=0;pe=$(0.0);re=$(0.0);while(1){e:do{if(B>>>0>>0){T=o[Pe>>2]|0;y=0;C=$(0.0);k=$(0.0);x=$(0.0);D=$(0.0);v=0;g=0;_=B;while(1){S=o[T+(_<<2)>>2]|0;if((o[S+36>>2]|0)!=1?(o[S+940>>2]=I,(o[S+24>>2]|0)!=1):0){w=$(Er(S,Oe,Fe));V=o[z>>2]|0;n=$(Pr(S+380+(V<<3)|0,be));E=$(l[S+504>>2]);n=$(OS(n,E));n=$(PS($(Pr(S+364+(V<<3)|0,be)),n));if(Q&(y|0)!=0&$(w+$(k+n))>t){s=y;w=C;A=_;break e}w=$(w+n);n=$(k+w);w=$(C+w);if(ui(S)|0){x=$(x+$(si(S)));D=$(D-$(E*$(li(S))))}if(g|0)o[g+960>>2]=S;o[S+960>>2]=0;y=y+1|0;g=S;v=(v|0)==0?S:v}else{w=C;n=k}_=_+1|0;if(_>>>0>>0){C=w;k=n}else{s=y;A=_;break}}}else{s=0;w=$(0.0);x=$(0.0);D=$(0.0);v=0;A=B}}while(0);V=x>$(0.0)&x<$(1.0);F=V?$(1.0):x;V=D>$(0.0)&D<$(1.0);C=V?$(1.0):D;do{if(!j){if(!(wne&((Dt(ne)|0)^1))){if(!(r[(o[O>>2]|0)+3>>0]|0)){if(!(F==$(0.0))?!($(si(e))==$(0.0)):0){V=53;break}t=w;V=53}else V=51}else{t=ne;V=51}}else{t=te;V=51}}else V=51}while(0);if((V|0)==51){V=0;if(Dt(t)|0)V=53;else{M=$(t-w);P=t}}if((V|0)==53){V=0;if(w<$(0.0)){M=$(-w);P=t}else{M=$(0.0);P=t}}if(!L?(se=(v|0)==0,!se):0){y=o[z>>2]|0;_=M<$(0.0);E=$(M/C);S=M>$(0.0);k=$(M/F);x=$(0.0);w=$(0.0);t=$(0.0);g=v;do{n=$(Pr(g+380+(y<<3)|0,be));D=$(Pr(g+364+(y<<3)|0,be));D=$(OS(n,$(PS(D,$(l[g+504>>2])))));if(_){n=$(D*$(li(g)));if(n!=$(-0.0)?(Le=$(D-$(E*n)),le=$(di(g,Oe,Le,P,Fe)),Le!=le):0){x=$(x-$(le-D));t=$(t+n)}}else if((S?(ce=$(si(g)),ce!=$(0.0)):0)?(Le=$(D+$(k*ce)),fe=$(di(g,Oe,Le,P,Fe)),Le!=fe):0){x=$(x-$(fe-D));w=$(w-ce)}g=o[g+960>>2]|0}while((g|0)!=0);t=$(C+t);D=$(M+x);if(!se){E=$(F+w);_=o[z>>2]|0;S=D<$(0.0);T=t==$(0.0);k=$(D/t);y=D>$(0.0);E=$(D/E);t=$(0.0);do{Le=$(Pr(v+380+(_<<3)|0,be));x=$(Pr(v+364+(_<<3)|0,be));x=$(OS(Le,$(PS(x,$(l[v+504>>2])))));if(S){Le=$(x*$(li(v)));D=$(-Le);if(Le!=$(-0.0)){Le=$(k*D);D=$(di(v,Oe,$(x+(T?D:Le)),P,Fe))}else D=x}else if(y?(de=$(si(v)),de!=$(0.0)):0)D=$(di(v,Oe,$(x+$(E*de)),P,Fe));else D=x;t=$(t-$(D-x));w=$(Er(v,Oe,Fe));n=$(Er(v,Re,Fe));D=$(D+w);l[oe>>2]=D;o[ue>>2]=1;x=$(l[v+396>>2]);e:do{if(Dt(x)|0){g=Dt(ge)|0;do{if(!g){if(R|(Br(v,Re,ge)|0|N))break;if((hi(e,v)|0)!=4)break;if((o[(pi(v,Re)|0)+4>>2]|0)==3)break;if((o[(mi(v,Re)|0)+4>>2]|0)==3)break;l[ie>>2]=ge;o[ae>>2]=1;break e}}while(0);if(Br(v,Re,ge)|0){g=o[v+992+(o[J>>2]<<2)>>2]|0;Le=$(n+$(Pr(g,ge)));l[ie>>2]=Le;g=G&(o[g+4>>2]|0)==2;o[ae>>2]=((Dt(Le)|0|g)^1)&1;break}else{l[ie>>2]=ge;o[ae>>2]=g?0:2;break}}else{Le=$(D-w);F=$(Le/x);Le=$(x*Le);o[ae>>2]=1;l[ie>>2]=$(n+(Me?F:Le))}}while(0);gi(v,Oe,P,Fe,ue,oe);gi(v,Re,ge,Fe,ae,ie);do{if(!(Br(v,Re,ge)|0)?(hi(e,v)|0)==4:0){if((o[(pi(v,Re)|0)+4>>2]|0)==3){g=0;break}g=(o[(mi(v,Re)|0)+4>>2]|0)!=3}else g=0}while(0);Le=$(l[oe>>2]);F=$(l[ie>>2]);je=o[ue>>2]|0;Ue=o[ae>>2]|0;wr(v,Me?Le:F,Me?F:Le,Be,Me?je:Ue,Me?Ue:je,Fe,ye,h&(g^1),3488,m)|0;r[Y>>0]=r[Y>>0]|r[v+508>>0];v=o[v+960>>2]|0}while((v|0)!=0)}else t=$(0.0)}else t=$(0.0);t=$(M+t);Ue=t<$(0.0)&1;r[Y>>0]=Ue|a[Y>>0];if(U&t>$(0.0)){g=o[z>>2]|0;if((o[e+364+(g<<3)+4>>2]|0)!=0?(he=$(Pr(e+364+(g<<3)|0,be)),he>=$(0.0)):0)D=$(PS($(0.0),$(he-$(P-t))));else D=$(0.0)}else D=t;S=B>>>0
    >>0;if(S){_=o[Pe>>2]|0;y=B;g=0;do{v=o[_+(y<<2)>>2]|0;if(!(o[v+24>>2]|0)){g=((o[(pi(v,Oe)|0)+4>>2]|0)==3&1)+g|0;g=g+((o[(mi(v,Oe)|0)+4>>2]|0)==3&1)|0}y=y+1|0}while((y|0)!=(A|0));if(g){w=$(0.0);n=$(0.0)}else V=101}else V=101;e:do{if((V|0)==101){V=0;switch(K|0){case 1:{g=0;w=$(D*$(.5));n=$(0.0);break e}case 2:{g=0;w=D;n=$(0.0);break e}case 3:{if(s>>>0<=1){g=0;w=$(0.0);n=$(0.0);break e}n=$((s+-1|0)>>>0);g=0;w=$(0.0);n=$($(PS(D,$(0.0)))/n);break e}case 5:{n=$(D/$((s+1|0)>>>0));g=0;w=n;break e}case 4:{n=$(D/$(s>>>0));g=0;w=$(n*$(.5));break e}default:{g=0;w=$(0.0);n=$(0.0);break e}}}}while(0);t=$(Z+w);if(S){x=$(D/$(g|0));y=o[Pe>>2]|0;v=B;D=$(0.0);do{g=o[y+(v<<2)>>2]|0;e:do{if((o[g+36>>2]|0)!=1){switch(o[g+24>>2]|0){case 1:{if(vi(g,Oe)|0){if(!h)break e;Le=$(yi(g,Oe,P));Le=$(Le+$(Yr(e,Oe)));Le=$(Le+$(Xr(g,Oe,Fe)));l[g+400+(o[X>>2]<<2)>>2]=Le;break e}break}case 0:{Ue=(o[(pi(g,Oe)|0)+4>>2]|0)==3;Le=$(x+t);t=Ue?Le:t;if(h){Ue=g+400+(o[X>>2]<<2)|0;l[Ue>>2]=$(t+$(l[Ue>>2]))}Ue=(o[(mi(g,Oe)|0)+4>>2]|0)==3;Le=$(x+t);t=Ue?Le:t;if(L){Le=$(n+$(Er(g,Oe,Fe)));D=ge;t=$(t+$(Le+$(l[g+504>>2])));break e}else{t=$(t+$(n+$(_i(g,Oe,Fe))));D=$(PS(D,$(_i(g,Re,Fe))));break e}}default:{}}if(h){Le=$(w+$(Yr(e,Oe)));Ue=g+400+(o[X>>2]<<2)|0;l[Ue>>2]=$(Le+$(l[Ue>>2]))}}}while(0);v=v+1|0}while((v|0)!=(A|0))}else D=$(0.0);n=$(ee+t);if(W)w=$($(di(e,Re,$(ke+D),Ee,c))-ke);else w=ge;x=$($(di(e,Re,$(ke+(q?ge:D)),Ee,c))-ke);if(S&h){v=B;do{y=o[(o[Pe>>2]|0)+(v<<2)>>2]|0;do{if((o[y+36>>2]|0)!=1){if((o[y+24>>2]|0)==1){if(vi(y,Re)|0){Le=$(yi(y,Re,ge));Le=$(Le+$(Yr(e,Re)));Le=$(Le+$(Xr(y,Re,Fe)));g=o[H>>2]|0;l[y+400+(g<<2)>>2]=Le;if(!(Dt(Le)|0))break}else g=o[H>>2]|0;Le=$(Yr(e,Re));l[y+400+(g<<2)>>2]=$(Le+$(Xr(y,Re,Fe)));break}g=hi(e,y)|0;do{if((g|0)==4){if((o[(pi(y,Re)|0)+4>>2]|0)==3){V=139;break}if((o[(mi(y,Re)|0)+4>>2]|0)==3){V=139;break}if(Br(y,Re,ge)|0){t=b;break}je=o[y+908+(o[z>>2]<<2)>>2]|0;o[ie>>2]=je;t=$(l[y+396>>2]);Ue=Dt(t)|0;D=(o[d>>2]=je,$(l[d>>2]));if(Ue)t=x;else{M=$(Er(y,Re,Fe));Le=$(D/t);t=$(t*D);t=$(M+(Me?Le:t))}l[oe>>2]=t;l[ie>>2]=$($(Er(y,Oe,Fe))+D);o[ae>>2]=1;o[ue>>2]=1;gi(y,Oe,P,Fe,ae,ie);gi(y,Re,ge,Fe,ue,oe);t=$(l[ie>>2]);M=$(l[oe>>2]);Le=Me?t:M;t=Me?M:t;Ue=((Dt(Le)|0)^1)&1;wr(y,Le,t,Be,Ue,((Dt(t)|0)^1)&1,Fe,ye,1,3493,m)|0;t=b}else V=139}while(0);e:do{if((V|0)==139){V=0;t=$(w-$(_i(y,Re,Fe)));do{if((o[(pi(y,Re)|0)+4>>2]|0)==3){if((o[(mi(y,Re)|0)+4>>2]|0)!=3)break;t=$(b+$(PS($(0.0),$(t*$(.5)))));break e}}while(0);if((o[(mi(y,Re)|0)+4>>2]|0)==3){t=b;break}if((o[(pi(y,Re)|0)+4>>2]|0)==3){t=$(b+$(PS($(0.0),t)));break}switch(g|0){case 1:{t=b;break e}case 2:{t=$(b+$(t*$(.5)));break e}default:{t=$(b+t);break e}}}}while(0);Le=$(pe+t);Ue=y+400+(o[H>>2]<<2)|0;l[Ue>>2]=$(Le+$(l[Ue>>2]))}}while(0);v=v+1|0}while((v|0)!=(A|0))}pe=$(pe+x);re=$(PS(re,n));s=I+1|0;if(A>>>0>=Ne>>>0)break;else{t=P;B=A;I=s}}do{if(h){g=s>>>0>1;if(!g?!(bi(e)|0):0)break;if(!(Dt(ge)|0)){t=$(ge-pe);e:do{switch(o[e+12>>2]|0){case 3:{b=$(b+t);k=$(0.0);break}case 2:{b=$(b+$(t*$(.5)));k=$(0.0);break}case 4:{if(ge>pe)k=$(t/$(s>>>0));else k=$(0.0);break}case 7:if(ge>pe){b=$(b+$(t/$(s<<1>>>0)));k=$(t/$(s>>>0));k=g?k:$(0.0);break e}else{b=$(b+$(t*$(.5)));k=$(0.0);break e}case 6:{k=$(t/$(I>>>0));k=ge>pe&g?k:$(0.0);break}default:k=$(0.0)}}while(0);if(s|0){S=1040+(Re<<2)|0;T=976+(Re<<2)|0;_=0;v=0;while(1){e:do{if(v>>>0>>0){D=$(0.0);x=$(0.0);t=$(0.0);y=v;while(1){g=o[(o[Pe>>2]|0)+(y<<2)>>2]|0;do{if((o[g+36>>2]|0)!=1?(o[g+24>>2]|0)==0:0){if((o[g+940>>2]|0)!=(_|0))break e;if(Di(g,Re)|0){Le=$(l[g+908+(o[T>>2]<<2)>>2]);t=$(PS(t,$(Le+$(Er(g,Re,Fe)))))}if((hi(e,g)|0)!=5)break;he=$(xi(g));he=$(he+$(Xr(g,0,Fe)));Le=$(l[g+912>>2]);Le=$($(Le+$(Er(g,0,Fe)))-he);he=$(PS(x,he));Le=$(PS(D,Le));D=Le;x=he;t=$(PS(t,$(he+Le)))}}while(0);g=y+1|0;if(g>>>0>>0)y=g;else{y=g;break}}}else{x=$(0.0);t=$(0.0);y=v}}while(0);E=$(k+t);n=b;b=$(b+E);if(v>>>0>>0){w=$(n+x);g=v;do{v=o[(o[Pe>>2]|0)+(g<<2)>>2]|0;e:do{if((o[v+36>>2]|0)!=1?(o[v+24>>2]|0)==0:0)switch(hi(e,v)|0){case 1:{Le=$(n+$(Xr(v,Re,Fe)));l[v+400+(o[S>>2]<<2)>>2]=Le;break e}case 3:{Le=$($(b-$(Jr(v,Re,Fe)))-$(l[v+908+(o[T>>2]<<2)>>2]));l[v+400+(o[S>>2]<<2)>>2]=Le;break e}case 2:{Le=$(n+$($(E-$(l[v+908+(o[T>>2]<<2)>>2]))*$(.5)));l[v+400+(o[S>>2]<<2)>>2]=Le;break e}case 4:{Le=$(n+$(Xr(v,Re,Fe)));l[v+400+(o[S>>2]<<2)>>2]=Le;if(Br(v,Re,ge)|0)break e;if(Me){D=$(l[v+908>>2]);t=$(D+$(Er(v,Oe,Fe)));x=E}else{x=$(l[v+912>>2]);x=$(x+$(Er(v,Re,Fe)));t=E;D=$(l[v+908>>2])}if(mr(t,D)|0?mr(x,$(l[v+912>>2]))|0:0)break e;wr(v,t,x,Be,1,1,Fe,ye,1,3501,m)|0;break e}case 5:{l[v+404>>2]=$($(w-$(xi(v)))+$(yi(v,0,ge)));break e}default:break e}}while(0);g=g+1|0}while((g|0)!=(y|0))}_=_+1|0;if((_|0)==(s|0))break;else v=y}}}}}while(0);l[e+908>>2]=$(di(e,2,_e,c,c));l[e+912>>2]=$(di(e,0,ve,f,c));if((me|0)!=0?(xe=o[e+32>>2]|0,we=(me|0)==2,!(we&(xe|0)!=2)):0){if(we&(xe|0)==2){t=$(De+P);t=$(PS($(OS(t,$(wi(e,Oe,re,be)))),De));V=198}}else{t=$(di(e,Oe,re,be,c));V=198}if((V|0)==198)l[e+908+(o[976+(Oe<<2)>>2]<<2)>>2]=t;if((Ce|0)!=0?(Te=o[e+32>>2]|0,Ae=(Ce|0)==2,!(Ae&(Te|0)!=2)):0){if(Ae&(Te|0)==2){t=$(ke+ge);t=$(PS($(OS(t,$(wi(e,Re,$(ke+pe),Ee)))),ke));V=204}}else{t=$(di(e,Re,$(ke+pe),Ee,c));V=204}if((V|0)==204)l[e+908+(o[976+(Re<<2)>>2]<<2)>>2]=t;if(h){if((o[Se>>2]|0)==2){v=976+(Re<<2)|0;y=1040+(Re<<2)|0;g=0;do{_=Mt(e,g)|0;if(!(o[_+24>>2]|0)){je=o[v>>2]|0;Le=$(l[e+908+(je<<2)>>2]);Ue=_+400+(o[y>>2]<<2)|0;Le=$(Le-$(l[Ue>>2]));l[Ue>>2]=$(Le-$(l[_+908+(je<<2)>>2]))}g=g+1|0}while((g|0)!=(Ne|0))}if(i|0){g=Me?me:u;do{Ei(e,i,Fe,g,ye,Be,m);i=o[i+960>>2]|0}while((i|0)!=0)}g=(Oe|2|0)==3;v=(Re|2|0)==3;if(g|v){i=0;do{y=o[(o[Pe>>2]|0)+(i<<2)>>2]|0;if((o[y+36>>2]|0)!=1){if(g)ki(e,y,Oe);if(v)ki(e,y,Re)}i=i+1|0}while((i|0)!=(Ne|0))}}}else ei(e,t,n,u,s,c,f)}while(0);p=Ie;return}function Ar(e,t){e=e|0;t=$(t);var n=0;Et(e,t>=$(0.0),3147);n=t==$(0.0);l[e+4>>2]=n?$(0.0):t;return}function Fr(e,t,n,i){e=e|0;t=$(t);n=$(n);i=i|0;var a=ft,u=ft,s=0,c=0,f=0;o[2278]=(o[2278]|0)+1;Mr(e);if(!(Br(e,2,t)|0)){a=$(Pr(e+380|0,t));if(!(a>=$(0.0))){f=((Dt(t)|0)^1)&1;a=t}else f=2}else{a=$(Pr(o[e+992>>2]|0,t));f=1;a=$(a+$(Er(e,2,t)))}if(!(Br(e,0,n)|0)){u=$(Pr(e+388|0,n));if(!(u>=$(0.0))){c=((Dt(n)|0)^1)&1;u=n}else c=2}else{u=$(Pr(o[e+996>>2]|0,n));c=1;u=$(u+$(Er(e,0,t)))}s=e+976|0;if(wr(e,a,u,i,f,c,t,n,1,3189,o[s>>2]|0)|0?(Nr(e,o[e+496>>2]|0,t,n,t),Or(e,$(l[(o[s>>2]|0)+4>>2]),$(0.0),$(0.0)),r[11696]|0):0)gr(e,7);return}function Mr(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;u=s+24|0;a=s+16|0;r=s+8|0;i=s;n=0;do{t=e+380+(n<<3)|0;if(!((o[e+380+(n<<3)+4>>2]|0)!=0?(l=t,c=o[l+4>>2]|0,f=r,o[f>>2]=o[l>>2],o[f+4>>2]=c,f=e+364+(n<<3)|0,c=o[f+4>>2]|0,l=i,o[l>>2]=o[f>>2],o[l+4>>2]=c,o[a>>2]=o[r>>2],o[a+4>>2]=o[r+4>>2],o[u>>2]=o[i>>2],o[u+4>>2]=o[i+4>>2],pr(a,u)|0):0))t=e+348+(n<<3)|0;o[e+992+(n<<2)>>2]=t;n=n+1|0}while((n|0)!=2);p=s;return}function Br(e,t,n){e=e|0;t=t|0;n=$(n);var r=0;e=o[e+992+(o[976+(t<<2)>>2]<<2)>>2]|0;switch(o[e+4>>2]|0){case 0:case 3:{e=0;break}case 1:{if($(l[e>>2])<$(0.0))e=0;else r=5;break}case 2:{if($(l[e>>2])<$(0.0))e=0;else e=(Dt(n)|0)^1;break}default:r=5}if((r|0)==5)e=1;return e|0}function Pr(e,t){e=e|0;t=$(t);switch(o[e+4>>2]|0){case 2:{t=$($($(l[e>>2])*t)/$(100.0));break}case 1:{t=$(l[e>>2]);break}default:t=$(x)}return $(t)}function Nr(e,t,n,r,i){e=e|0;t=t|0;n=$(n);r=$(r);i=$(i);var a=0,u=ft;t=o[e+944>>2]|0?t:1;a=Vr(o[e+4>>2]|0,t)|0;t=ri(a,t)|0;n=$(Mi(e,a,n));r=$(Mi(e,t,r));u=$(n+$(Xr(e,a,i)));l[e+400+(o[1040+(a<<2)>>2]<<2)>>2]=u;n=$(n+$(Jr(e,a,i)));l[e+400+(o[1e3+(a<<2)>>2]<<2)>>2]=n;n=$(r+$(Xr(e,t,i)));l[e+400+(o[1040+(t<<2)>>2]<<2)>>2]=n;i=$(r+$(Jr(e,t,i)));l[e+400+(o[1e3+(t<<2)>>2]<<2)>>2]=i;return}function Or(e,t,n,r){e=e|0;t=$(t);n=$(n);r=$(r);var i=0,a=0,u=ft,s=ft,c=0,f=0,d=ft,h=0,p=ft,m=ft,g=ft,v=ft;if(!(t==$(0.0))){i=e+400|0;v=$(l[i>>2]);a=e+404|0;g=$(l[a>>2]);h=e+416|0;m=$(l[h>>2]);f=e+420|0;u=$(l[f>>2]);p=$(v+n);d=$(g+r);r=$(p+m);s=$(d+u);c=(o[e+988>>2]|0)==1;l[i>>2]=$(yr(v,t,0,c));l[a>>2]=$(yr(g,t,0,c));n=$(IS($(m*t),$(1.0)));if(mr(n,$(0.0))|0)a=0;else a=(mr(n,$(1.0))|0)^1;n=$(IS($(u*t),$(1.0)));if(mr(n,$(0.0))|0)i=0;else i=(mr(n,$(1.0))|0)^1;v=$(yr(r,t,c&a,c&(a^1)));l[h>>2]=$(v-$(yr(p,t,0,c)));v=$(yr(s,t,c&i,c&(i^1)));l[f>>2]=$(v-$(yr(d,t,0,c)));a=(o[e+952>>2]|0)-(o[e+948>>2]|0)>>2;if(a|0){i=0;do{Or(Mt(e,i)|0,t,p,d);i=i+1|0}while((i|0)!=(a|0))}}return}function Rr(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;switch(n|0){case 5:case 0:{e=oS(o[489]|0,r,i)|0;break}default:e=jS(r,i)|0}return e|0}function Ir(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;i=p;p=p+16|0;a=i;o[a>>2]=r;Lr(e,0,t,n,a);p=i;return}function Lr(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;e=e|0?e:956;TA[o[e+8>>2]&1](e,t,n,r,i)|0;if((n|0)==5)$e();else return}function jr(e,t,n){e=e|0;t=t|0;n=n|0;r[e+t>>0]=n&1;return}function Ur(e,t){e=e|0;t=t|0;var n=0,r=0;o[e>>2]=0;o[e+4>>2]=0;o[e+8>>2]=0;n=t+4|0;r=(o[n>>2]|0)-(o[t>>2]|0)>>2;if(r|0){zr(e,r);Wr(e,o[t>>2]|0,o[n>>2]|0,r)}return}function zr(e,t){e=e|0;t=t|0;var n=0;if((Hr(e)|0)>>>0>>0)US(e);if(t>>>0>1073741823)$e();else{n=qS(t<<2)|0;o[e+4>>2]=n;o[e>>2]=n;o[e+8>>2]=n+(t<<2);return}}function Wr(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;r=e+4|0;e=n-t|0;if((e|0)>0){iT(o[r>>2]|0,t|0,e|0)|0;o[r>>2]=(o[r>>2]|0)+(e>>>2<<2)}return}function Hr(e){e=e|0;return 1073741823}function Xr(e,t,n){e=e|0;t=t|0;n=$(n);if(Gr(t)|0?(o[e+96>>2]|0)!=0:0)e=e+92|0;else e=xt(e+60|0,o[1040+(t<<2)>>2]|0,992)|0;return $(qr(e,n))}function Jr(e,t,n){e=e|0;t=t|0;n=$(n);if(Gr(t)|0?(o[e+104>>2]|0)!=0:0)e=e+100|0;else e=xt(e+60|0,o[1e3+(t<<2)>>2]|0,992)|0;return $(qr(e,n))}function Gr(e){e=e|0;return(e|1|0)==3|0}function qr(e,t){e=e|0;t=$(t);if((o[e+4>>2]|0)==3)t=$(0.0);else t=$(Pr(e,t));return $(t)}function $r(e,t){e=e|0;t=t|0;e=o[e>>2]|0;return((e|0)==0?(t|0)>1?t:1:e)|0}function Vr(e,t){e=e|0;t=t|0;var n=0;e:do{if((t|0)==2){switch(e|0){case 2:{e=3;break e}case 3:break;default:{n=4;break e}}e=2}else n=4}while(0);return e|0}function Yr(e,t){e=e|0;t=t|0;var n=ft;if(!((Gr(t)|0?(o[e+312>>2]|0)!=0:0)?(n=$(l[e+308>>2]),n>=$(0.0)):0))n=$(PS($(l[(xt(e+276|0,o[1040+(t<<2)>>2]|0,992)|0)>>2]),$(0.0)));return $(n)}function Kr(e,t){e=e|0;t=t|0;var n=ft;if(!((Gr(t)|0?(o[e+320>>2]|0)!=0:0)?(n=$(l[e+316>>2]),n>=$(0.0)):0))n=$(PS($(l[(xt(e+276|0,o[1e3+(t<<2)>>2]|0,992)|0)>>2]),$(0.0)));return $(n)}function Qr(e,t,n){e=e|0;t=t|0;n=$(n);var r=ft;if(!((Gr(t)|0?(o[e+240>>2]|0)!=0:0)?(r=$(Pr(e+236|0,n)),r>=$(0.0)):0))r=$(PS($(Pr(xt(e+204|0,o[1040+(t<<2)>>2]|0,992)|0,n)),$(0.0)));return $(r)}function Zr(e,t,n){e=e|0;t=t|0;n=$(n);var r=ft;if(!((Gr(t)|0?(o[e+248>>2]|0)!=0:0)?(r=$(Pr(e+244|0,n)),r>=$(0.0)):0))r=$(PS($(Pr(xt(e+204|0,o[1e3+(t<<2)>>2]|0,992)|0,n)),$(0.0)));return $(r)}function ei(e,t,n,r,i,a,u){e=e|0;t=$(t);n=$(n);r=r|0;i=i|0;a=$(a);u=$(u);var s=ft,c=ft,f=ft,d=ft,h=ft,m=ft,g=0,v=0,y=0;y=p;p=p+16|0;g=y;v=e+964|0;Ot(e,(o[v>>2]|0)!=0,3519);s=$(ai(e,2,t));c=$(ai(e,0,t));f=$(Er(e,2,t));d=$(Er(e,0,t));if(Dt(t)|0)h=t;else h=$(PS($(0.0),$($(t-f)-s)));if(Dt(n)|0)m=n;else m=$(PS($(0.0),$($(n-d)-c)));if((r|0)==1&(i|0)==1){l[e+908>>2]=$(di(e,2,$(t-f),a,a));t=$(di(e,0,$(n-d),u,a))}else{FA[o[v>>2]&1](g,e,h,r,m,i);h=$(s+$(l[g>>2]));m=$(t-f);l[e+908>>2]=$(di(e,2,(r|2|0)==2?h:m,a,a));m=$(c+$(l[g+4>>2]));t=$(n-d);t=$(di(e,0,(i|2|0)==2?m:t,u,a))}l[e+912>>2]=t;p=y;return}function ti(e,t,n,r,i,o,a){e=e|0;t=$(t);n=$(n);r=r|0;i=i|0;o=$(o);a=$(a);var u=ft,s=ft,c=ft,f=ft;c=$(ai(e,2,o));u=$(ai(e,0,o));f=$(Er(e,2,o));s=$(Er(e,0,o));t=$(t-f);l[e+908>>2]=$(di(e,2,(r|2|0)==2?c:t,o,o));n=$(n-s);l[e+912>>2]=$(di(e,0,(i|2|0)==2?u:n,a,o));return}function ni(e,t,n,r,i,o,a){e=e|0;t=$(t);n=$(n);r=r|0;i=i|0;o=$(o);a=$(a);var u=0,s=ft,c=ft;u=(r|0)==2;if((!(t<=$(0.0)&u)?!(n<=$(0.0)&(i|0)==2):0)?!((r|0)==1&(i|0)==1):0)e=0;else{s=$(Er(e,0,o));c=$(Er(e,2,o));u=t<$(0.0)&u|(Dt(t)|0);t=$(t-c);l[e+908>>2]=$(di(e,2,u?$(0.0):t,o,o));t=$(n-s);u=n<$(0.0)&(i|0)==2|(Dt(n)|0);l[e+912>>2]=$(di(e,0,u?$(0.0):t,a,o));e=1}return e|0}function ri(e,t){e=e|0;t=t|0;if(Ci(e)|0)e=Vr(2,t)|0;else e=0;return e|0}function ii(e,t,n){e=e|0;t=t|0;n=$(n);n=$(Qr(e,t,n));return $(n+$(Yr(e,t)))}function oi(e,t,n){e=e|0;t=t|0;n=$(n);n=$(Zr(e,t,n));return $(n+$(Kr(e,t)))}function ai(e,t,n){e=e|0;t=t|0;n=$(n);var r=ft;r=$(ii(e,t,n));return $(r+$(oi(e,t,n)))}function ui(e){e=e|0;if(!(o[e+24>>2]|0)){if($(si(e))!=$(0.0))e=1;else e=$(li(e))!=$(0.0)}else e=0;return e|0}function si(e){e=e|0;var t=ft;if(o[e+944>>2]|0){t=$(l[e+44>>2]);if(Dt(t)|0){t=$(l[e+40>>2]);e=t>$(0.0)&((Dt(t)|0)^1);return $(e?t:$(0.0))}}else t=$(0.0);return $(t)}function li(e){e=e|0;var t=ft,n=0,i=ft;do{if(o[e+944>>2]|0){t=$(l[e+48>>2]);if(Dt(t)|0){n=r[(o[e+976>>2]|0)+2>>0]|0;if(n<<24>>24==0?(i=$(l[e+40>>2]),i<$(0.0)&((Dt(i)|0)^1)):0){t=$(-i);break}t=n<<24>>24?$(1.0):$(0.0)}}else t=$(0.0)}while(0);return $(t)}function ci(e){e=e|0;var t=0,n=0;tT(e+400|0,0,540)|0;r[e+985>>0]=1;Wt(e);n=Ft(e)|0;if(n|0){t=e+948|0;e=0;do{ci(o[(o[t>>2]|0)+(e<<2)>>2]|0);e=e+1|0}while((e|0)!=(n|0))}return}function fi(e,t,n,r,i,a,u,s,c,f){e=e|0;t=t|0;n=$(n);r=r|0;i=$(i);a=$(a);u=$(u);s=s|0;c=c|0;f=f|0;var d=0,h=ft,m=0,g=0,v=ft,y=ft,_=0,b=ft,D=0,w=ft,E=0,k=0,C=0,S=0,T=0,A=0,F=0,M=0,B=0,P=0;B=p;p=p+16|0;C=B+12|0;S=B+8|0;T=B+4|0;A=B;M=Vr(o[e+4>>2]|0,c)|0;E=Gr(M)|0;h=$(Pr(Si(t)|0,E?a:u));k=Br(t,2,a)|0;F=Br(t,0,u)|0;do{if(!(Dt(h)|0)?!(Dt(E?n:i)|0):0){d=t+504|0;if(!(Dt($(l[d>>2]))|0)){if(!(Ti(o[t+976>>2]|0,0)|0))break;if((o[t+500>>2]|0)==(o[2278]|0))break}l[d>>2]=$(PS(h,$(ai(t,M,a))))}else m=7}while(0);do{if((m|0)==7){D=E^1;if(!(D|k^1)){u=$(Pr(o[t+992>>2]|0,a));l[t+504>>2]=$(PS(u,$(ai(t,2,a))));break}if(!(E|F^1)){u=$(Pr(o[t+996>>2]|0,u));l[t+504>>2]=$(PS(u,$(ai(t,0,a))));break}l[C>>2]=$(x);l[S>>2]=$(x);o[T>>2]=0;o[A>>2]=0;b=$(Er(t,2,a));w=$(Er(t,0,a));if(k){v=$(b+$(Pr(o[t+992>>2]|0,a)));l[C>>2]=v;o[T>>2]=1;g=1}else{g=0;v=$(x)}if(F){h=$(w+$(Pr(o[t+996>>2]|0,u)));l[S>>2]=h;o[A>>2]=1;d=1}else{d=0;h=$(x)}m=o[e+32>>2]|0;if(!(E&(m|0)==2)){if(Dt(v)|0?!(Dt(n)|0):0){l[C>>2]=n;o[T>>2]=2;g=2;v=n}}else m=2;if((!((m|0)==2&D)?Dt(h)|0:0)?!(Dt(i)|0):0){l[S>>2]=i;o[A>>2]=2;d=2;h=i}y=$(l[t+396>>2]);_=Dt(y)|0;do{if(!_){if((g|0)==1&D){l[S>>2]=$($(v-b)/y);o[A>>2]=1;d=1;m=1;break}if(E&(d|0)==1){l[C>>2]=$(y*$(h-w));o[T>>2]=1;d=1;m=1}else m=g}else m=g}while(0);P=Dt(n)|0;g=(hi(e,t)|0)!=4;if(!(E|k|((r|0)!=1|P)|(g|(m|0)==1))?(l[C>>2]=n,o[T>>2]=1,!_):0){l[S>>2]=$($(n-b)/y);o[A>>2]=1;d=1}if(!(F|D|((s|0)!=1|(Dt(i)|0))|(g|(d|0)==1))?(l[S>>2]=i,o[A>>2]=1,!_):0){l[C>>2]=$(y*$(i-w));o[T>>2]=1}gi(t,2,a,a,T,C);gi(t,0,u,a,A,S);n=$(l[C>>2]);i=$(l[S>>2]);wr(t,n,i,c,o[T>>2]|0,o[A>>2]|0,a,u,0,3565,f)|0;u=$(l[t+908+(o[976+(M<<2)>>2]<<2)>>2]);l[t+504>>2]=$(PS(u,$(ai(t,M,a))))}}while(0);o[t+500>>2]=o[2278];p=B;return}function di(e,t,n,r,i){e=e|0;t=t|0;n=$(n);r=$(r);i=$(i);r=$(wi(e,t,n,r));return $(PS(r,$(ai(e,t,i))))}function hi(e,t){e=e|0;t=t|0;t=t+20|0;t=o[((o[t>>2]|0)==0?e+16|0:t)>>2]|0;if((t|0)==5?Ci(o[e+4>>2]|0)|0:0)t=1;return t|0}function pi(e,t){e=e|0;t=t|0;if(Gr(t)|0?(o[e+96>>2]|0)!=0:0)t=4;else t=o[1040+(t<<2)>>2]|0;return e+60+(t<<3)|0}function mi(e,t){e=e|0;t=t|0;if(Gr(t)|0?(o[e+104>>2]|0)!=0:0)t=5;else t=o[1e3+(t<<2)>>2]|0;return e+60+(t<<3)|0}function gi(e,t,n,r,i,a){e=e|0;t=t|0;n=$(n);r=$(r);i=i|0;a=a|0;n=$(Pr(e+380+(o[976+(t<<2)>>2]<<3)|0,n));n=$(n+$(Er(e,t,r)));switch(o[i>>2]|0){case 2:case 1:{i=Dt(n)|0;r=$(l[a>>2]);l[a>>2]=i|r>2]=2;l[a>>2]=n}break}default:{}}return}function vi(e,t){e=e|0;t=t|0;e=e+132|0;if(Gr(t)|0?(o[(xt(e,4,948)|0)+4>>2]|0)!=0:0)e=1;else e=(o[(xt(e,o[1040+(t<<2)>>2]|0,948)|0)+4>>2]|0)!=0;return e|0}function yi(e,t,n){e=e|0;t=t|0;n=$(n);var r=0,i=0;e=e+132|0;if(Gr(t)|0?(r=xt(e,4,948)|0,(o[r+4>>2]|0)!=0):0)i=4;else{r=xt(e,o[1040+(t<<2)>>2]|0,948)|0;if(!(o[r+4>>2]|0))n=$(0.0);else i=4}if((i|0)==4)n=$(Pr(r,n));return $(n)}function _i(e,t,n){e=e|0;t=t|0;n=$(n);var r=ft;r=$(l[e+908+(o[976+(t<<2)>>2]<<2)>>2]);r=$(r+$(Xr(e,t,n)));return $(r+$(Jr(e,t,n)))}function bi(e){e=e|0;var t=0,n=0,r=0;e:do{if(!(Ci(o[e+4>>2]|0)|0)){if((o[e+16>>2]|0)!=5){n=Ft(e)|0;if(!n)t=0;else{t=0;while(1){r=Mt(e,t)|0;if((o[r+24>>2]|0)==0?(o[r+20>>2]|0)==5:0){t=1;break e}t=t+1|0;if(t>>>0>=n>>>0){t=0;break}}}}else t=1}else t=0}while(0);return t|0}function Di(e,t){e=e|0;t=t|0;var n=ft;n=$(l[e+908+(o[976+(t<<2)>>2]<<2)>>2]);return n>=$(0.0)&((Dt(n)|0)^1)|0}function xi(e){e=e|0;var t=ft,n=0,r=0,i=0,a=0,u=0,s=0,c=ft;n=o[e+968>>2]|0;if(!n){a=Ft(e)|0;do{if(a|0){n=0;i=0;while(1){r=Mt(e,i)|0;if(o[r+940>>2]|0){u=8;break}if((o[r+24>>2]|0)!=1){s=(hi(e,r)|0)==5;if(s){n=r;break}else n=(n|0)==0?r:n}i=i+1|0;if(i>>>0>=a>>>0){u=8;break}}if((u|0)==8)if(!n)break;t=$(xi(n));return $(t+$(l[n+404>>2]))}}while(0);t=$(l[e+912>>2])}else{c=$(l[e+908>>2]);t=$(l[e+912>>2]);t=$(hA[n&0](e,c,t));Ot(e,(Dt(t)|0)^1,3573)}return $(t)}function wi(e,t,n,r){e=e|0;t=t|0;n=$(n);r=$(r);var i=ft,o=0;if(!(Ci(t)|0)){if(Gr(t)|0){t=0;o=3}else{r=$(x);i=$(x)}}else{t=1;o=3}if((o|0)==3){i=$(Pr(e+364+(t<<3)|0,r));r=$(Pr(e+380+(t<<3)|0,r))}o=r=$(0.0)&((Dt(r)|0)^1));n=o?r:n;o=i>=$(0.0)&((Dt(i)|0)^1)&n>2]|0,a)|0;g=ri(y,a)|0;v=Gr(y)|0;h=$(Er(t,2,n));p=$(Er(t,0,n));if(!(Br(t,2,n)|0)){if(vi(t,2)|0?Ai(t,2)|0:0){s=$(l[e+908>>2]);c=$(Yr(e,2));c=$(s-$(c+$(Kr(e,2))));s=$(yi(t,2,n));s=$(di(t,2,$(c-$(s+$(Fi(t,2,n)))),n,n))}else s=$(x)}else s=$(h+$(Pr(o[t+992>>2]|0,n)));if(!(Br(t,0,i)|0)){if(vi(t,0)|0?Ai(t,0)|0:0){c=$(l[e+912>>2]);b=$(Yr(e,0));b=$(c-$(b+$(Kr(e,0))));c=$(yi(t,0,i));c=$(di(t,0,$(b-$(c+$(Fi(t,0,i)))),i,n))}else c=$(x)}else c=$(p+$(Pr(o[t+996>>2]|0,i)));f=Dt(s)|0;d=Dt(c)|0;do{if(f^d?(m=$(l[t+396>>2]),!(Dt(m)|0)):0)if(f){s=$(h+$($(c-p)*m));break}else{b=$(p+$($(s-h)/m));c=d?b:c;break}}while(0);d=Dt(s)|0;f=Dt(c)|0;if(d|f){D=(d^1)&1;r=n>$(0.0)&((r|0)!=0&d);s=v?s:r?n:s;wr(t,s,c,a,v?D:r?2:D,d&(f^1)&1,s,c,0,3623,u)|0;s=$(l[t+908>>2]);s=$(s+$(Er(t,2,n)));c=$(l[t+912>>2]);c=$(c+$(Er(t,0,n)))}wr(t,s,c,a,1,1,s,c,1,3635,u)|0;if(Ai(t,y)|0?!(vi(t,y)|0):0){D=o[976+(y<<2)>>2]|0;b=$(l[e+908+(D<<2)>>2]);b=$(b-$(l[t+908+(D<<2)>>2]));b=$(b-$(Kr(e,y)));b=$(b-$(Jr(t,y,n)));b=$(b-$(Fi(t,y,v?n:i)));l[t+400+(o[1040+(y<<2)>>2]<<2)>>2]=b}else _=21;do{if((_|0)==21){if(!(vi(t,y)|0)?(o[e+8>>2]|0)==1:0){D=o[976+(y<<2)>>2]|0;b=$(l[e+908+(D<<2)>>2]);b=$($(b-$(l[t+908+(D<<2)>>2]))*$(.5));l[t+400+(o[1040+(y<<2)>>2]<<2)>>2]=b;break}if(!(vi(t,y)|0)?(o[e+8>>2]|0)==2:0){D=o[976+(y<<2)>>2]|0;b=$(l[e+908+(D<<2)>>2]);b=$(b-$(l[t+908+(D<<2)>>2]));l[t+400+(o[1040+(y<<2)>>2]<<2)>>2]=b}}}while(0);if(Ai(t,g)|0?!(vi(t,g)|0):0){D=o[976+(g<<2)>>2]|0;b=$(l[e+908+(D<<2)>>2]);b=$(b-$(l[t+908+(D<<2)>>2]));b=$(b-$(Kr(e,g)));b=$(b-$(Jr(t,g,n)));b=$(b-$(Fi(t,g,v?i:n)));l[t+400+(o[1040+(g<<2)>>2]<<2)>>2]=b}else _=30;do{if((_|0)==30?!(vi(t,g)|0):0){if((hi(e,t)|0)==2){D=o[976+(g<<2)>>2]|0;b=$(l[e+908+(D<<2)>>2]);b=$($(b-$(l[t+908+(D<<2)>>2]))*$(.5));l[t+400+(o[1040+(g<<2)>>2]<<2)>>2]=b;break}D=(hi(e,t)|0)==3;if(D^(o[e+28>>2]|0)==2){D=o[976+(g<<2)>>2]|0;b=$(l[e+908+(D<<2)>>2]);b=$(b-$(l[t+908+(D<<2)>>2]));l[t+400+(o[1040+(g<<2)>>2]<<2)>>2]=b}}}while(0);return}function ki(e,t,n){e=e|0;t=t|0;n=n|0;var r=ft,i=0;i=o[976+(n<<2)>>2]|0;r=$(l[t+908+(i<<2)>>2]);r=$($(l[e+908+(i<<2)>>2])-r);r=$(r-$(l[t+400+(o[1040+(n<<2)>>2]<<2)>>2]));l[t+400+(o[1e3+(n<<2)>>2]<<2)>>2]=r;return}function Ci(e){e=e|0;return(e|1|0)==1|0}function Si(e){e=e|0;var t=ft;switch(o[e+56>>2]|0){case 0:case 3:{t=$(l[e+40>>2]);if(t>$(0.0)&((Dt(t)|0)^1))e=r[(o[e+976>>2]|0)+2>>0]|0?1056:992;else e=1056;break}default:e=e+52|0}return e|0}function Ti(e,t){e=e|0;t=t|0;return(r[e+t>>0]|0)!=0|0}function Ai(e,t){e=e|0;t=t|0;e=e+132|0;if(Gr(t)|0?(o[(xt(e,5,948)|0)+4>>2]|0)!=0:0)e=1;else e=(o[(xt(e,o[1e3+(t<<2)>>2]|0,948)|0)+4>>2]|0)!=0;return e|0}function Fi(e,t,n){e=e|0;t=t|0;n=$(n);var r=0,i=0;e=e+132|0;if(Gr(t)|0?(r=xt(e,5,948)|0,(o[r+4>>2]|0)!=0):0)i=4;else{r=xt(e,o[1e3+(t<<2)>>2]|0,948)|0;if(!(o[r+4>>2]|0))n=$(0.0);else i=4}if((i|0)==4)n=$(Pr(r,n));return $(n)}function Mi(e,t,n){e=e|0;t=t|0;n=$(n);if(vi(e,t)|0)n=$(yi(e,t,n));else n=$(-$(Fi(e,t,n)));return $(n)}function Bi(e){e=$(e);return(l[d>>2]=e,o[d>>2]|0)|0}function Pi(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>1073741823)$e();else{i=qS(t<<2)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<2)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<2);return}function Ni(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>2)<<2)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Oi(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-4-t|0)>>>2)<<2);e=o[e>>2]|0;if(e|0)VS(e);return}function Ri(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0;u=e+4|0;s=o[u>>2]|0;i=s-r|0;a=i>>2;e=t+(a<<2)|0;if(e>>>0>>0){r=s;do{o[r>>2]=o[e>>2];e=e+4|0;r=(o[u>>2]|0)+4|0;o[u>>2]=r}while(e>>>0>>0)}if(a|0)lT(s+(0-a<<2)|0,t|0,i|0)|0;return}function Ii(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0;s=t+4|0;l=o[s>>2]|0;i=o[e>>2]|0;u=n;a=u-i|0;r=l+(0-(a>>2)<<2)|0;o[s>>2]=r;if((a|0)>0)iT(r|0,i|0,a|0)|0;i=e+4|0;a=t+8|0;r=(o[i>>2]|0)-u|0;if((r|0)>0){iT(o[a>>2]|0,n|0,r|0)|0;o[a>>2]=(o[a>>2]|0)+(r>>>2<<2)}u=o[e>>2]|0;o[e>>2]=o[s>>2];o[s>>2]=u;u=o[i>>2]|0;o[i>>2]=o[a>>2];o[a>>2]=u;u=e+8|0;n=t+12|0;e=o[u>>2]|0;o[u>>2]=o[n>>2];o[n>>2]=e;o[t>>2]=o[s>>2];return l|0}function Li(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;u=o[t>>2]|0;a=o[n>>2]|0;if((u|0)!=(a|0)){i=e+8|0;n=((a+-4-u|0)>>>2)+1|0;e=u;r=o[i>>2]|0;do{o[r>>2]=o[e>>2];r=(o[i>>2]|0)+4|0;o[i>>2]=r;e=e+4|0}while((e|0)!=(a|0));o[t>>2]=u+(n<<2)}return}function ji(){_t();return}function Ui(){var e=0;e=qS(4)|0;zi(e);return e|0}function zi(e){e=e|0;o[e>>2]=It()|0;return}function Wi(e){e=e|0;if(e|0){Hi(e);VS(e)}return}function Hi(e){e=e|0;jt(o[e>>2]|0);return}function Xi(e,t,n){e=e|0;t=t|0;n=n|0;jr(o[e>>2]|0,t,n);return}function Ji(e,t){e=e|0;t=$(t);Ar(o[e>>2]|0,t);return}function Gi(e,t){e=e|0;t=t|0;return Ti(o[e>>2]|0,t)|0}function qi(){var e=0;e=qS(8)|0;$i(e,0);return e|0}function $i(e,t){e=e|0;t=t|0;if(!t)t=kt()|0;else t=wt(o[t>>2]|0)|0;o[e>>2]=t;o[e+4>>2]=0;Qt(t,e);return}function Vi(e){e=e|0;var t=0;t=qS(8)|0;$i(t,e);return t|0}function Yi(e){e=e|0;if(e|0){Ki(e);VS(e)}return}function Ki(e){e=e|0;var t=0;Tt(o[e>>2]|0);t=e+4|0;e=o[t>>2]|0;o[t>>2]=0;if(e|0){Qi(e);VS(e)}return}function Qi(e){e=e|0;Zi(e);return}function Zi(e){e=e|0;e=o[e>>2]|0;if(e|0)rt(e|0);return}function eo(e){e=e|0;return Zt(e)|0}function to(e){e=e|0;var t=0,n=0;n=e+4|0;t=o[n>>2]|0;o[n>>2]=0;if(t|0){Qi(t);VS(t)}Nt(o[e>>2]|0);return}function no(e,t){e=e|0;t=t|0;Vt(o[e>>2]|0,o[t>>2]|0);return}function ro(e,t){e=e|0;t=t|0;fn(o[e>>2]|0,t);return}function io(e,t,n){e=e|0;t=t|0;n=+n;kn(o[e>>2]|0,t,$(n));return}function oo(e,t,n){e=e|0;t=t|0;n=+n;Cn(o[e>>2]|0,t,$(n));return}function ao(e,t){e=e|0;t=t|0;on(o[e>>2]|0,t);return}function uo(e,t){e=e|0;t=t|0;un(o[e>>2]|0,t);return}function so(e,t){e=e|0;t=t|0;ln(o[e>>2]|0,t);return}function lo(e,t){e=e|0;t=t|0;en(o[e>>2]|0,t);return}function co(e,t){e=e|0;t=t|0;hn(o[e>>2]|0,t);return}function fo(e,t){e=e|0;t=t|0;nn(o[e>>2]|0,t);return}function ho(e,t,n){e=e|0;t=t|0;n=+n;Tn(o[e>>2]|0,t,$(n));return}function po(e,t,n){e=e|0;t=t|0;n=+n;An(o[e>>2]|0,t,$(n));return}function mo(e,t){e=e|0;t=t|0;Mn(o[e>>2]|0,t);return}function go(e,t){e=e|0;t=t|0;mn(o[e>>2]|0,t);return}function vo(e,t){e=e|0;t=t|0;vn(o[e>>2]|0,t);return}function yo(e,t){e=e|0;t=+t;_n(o[e>>2]|0,$(t));return}function _o(e,t){e=e|0;t=+t;xn(o[e>>2]|0,$(t));return}function bo(e,t){e=e|0;t=+t;wn(o[e>>2]|0,$(t));return}function Do(e,t){e=e|0;t=+t;bn(o[e>>2]|0,$(t));return}function xo(e,t){e=e|0;t=+t;Dn(o[e>>2]|0,$(t));return}function wo(e,t){e=e|0;t=+t;In(o[e>>2]|0,$(t));return}function Eo(e,t){e=e|0;t=+t;Ln(o[e>>2]|0,$(t));return}function ko(e){e=e|0;jn(o[e>>2]|0);return}function Co(e,t){e=e|0;t=+t;zn(o[e>>2]|0,$(t));return}function So(e,t){e=e|0;t=+t;Wn(o[e>>2]|0,$(t));return}function To(e){e=e|0;Hn(o[e>>2]|0);return}function Ao(e,t){e=e|0;t=+t;Jn(o[e>>2]|0,$(t));return}function Fo(e,t){e=e|0;t=+t;Gn(o[e>>2]|0,$(t));return}function Mo(e,t){e=e|0;t=+t;$n(o[e>>2]|0,$(t));return}function Bo(e,t){e=e|0;t=+t;Vn(o[e>>2]|0,$(t));return}function Po(e,t){e=e|0;t=+t;Kn(o[e>>2]|0,$(t));return}function No(e,t){e=e|0;t=+t;Qn(o[e>>2]|0,$(t));return}function Oo(e,t){e=e|0;t=+t;er(o[e>>2]|0,$(t));return}function Ro(e,t){e=e|0;t=+t;tr(o[e>>2]|0,$(t));return}function Io(e,t){e=e|0;t=+t;rr(o[e>>2]|0,$(t));return}function Lo(e,t,n){e=e|0;t=t|0;n=+n;On(o[e>>2]|0,t,$(n));return}function jo(e,t,n){e=e|0;t=t|0;n=+n;Bn(o[e>>2]|0,t,$(n));return}function Uo(e,t,n){e=e|0;t=t|0;n=+n;Pn(o[e>>2]|0,t,$(n));return}function zo(e){e=e|0;return dn(o[e>>2]|0)|0}function Wo(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0;r=p;p=p+16|0;i=r;Sn(i,o[t>>2]|0,n);Ho(e,i);p=r;return}function Ho(e,t){e=e|0;t=t|0;Xo(e,o[t+4>>2]|0,+$(l[t>>2]));return}function Xo(e,t,n){e=e|0;t=t|0;n=+n;o[e>>2]=t;c[e+8>>3]=n;return}function Jo(e){e=e|0;return an(o[e>>2]|0)|0}function Go(e){e=e|0;return sn(o[e>>2]|0)|0}function qo(e){e=e|0;return cn(o[e>>2]|0)|0}function $o(e){e=e|0;return tn(o[e>>2]|0)|0}function Vo(e){e=e|0;return pn(o[e>>2]|0)|0}function Yo(e){e=e|0;return rn(o[e>>2]|0)|0}function Ko(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0;r=p;p=p+16|0;i=r;Fn(i,o[t>>2]|0,n);Ho(e,i);p=r;return}function Qo(e){e=e|0;return gn(o[e>>2]|0)|0}function Zo(e){e=e|0;return yn(o[e>>2]|0)|0}function ea(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;En(r,o[t>>2]|0);Ho(e,r);p=n;return}function ta(e){e=e|0;return+ +$(Yt(o[e>>2]|0))}function na(e){e=e|0;return+ +$(Kt(o[e>>2]|0))}function ra(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;Un(r,o[t>>2]|0);Ho(e,r);p=n;return}function ia(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;Xn(r,o[t>>2]|0);Ho(e,r);p=n;return}function oa(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;qn(r,o[t>>2]|0);Ho(e,r);p=n;return}function aa(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;Yn(r,o[t>>2]|0);Ho(e,r);p=n;return}function ua(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;Zn(r,o[t>>2]|0);Ho(e,r);p=n;return}function sa(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;nr(r,o[t>>2]|0);Ho(e,r);p=n;return}function la(e){e=e|0;return+ +$(ir(o[e>>2]|0))}function ca(e,t){e=e|0;t=t|0;return+ +$(Rn(o[e>>2]|0,t))}function fa(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0;r=p;p=p+16|0;i=r;Nn(i,o[t>>2]|0,n);Ho(e,i);p=r;return}function da(e,t,n){e=e|0;t=t|0;n=n|0;zt(o[e>>2]|0,o[t>>2]|0,n);return}function ha(e,t){e=e|0;t=t|0;Pt(o[e>>2]|0,o[t>>2]|0);return}function pa(e){e=e|0;return Ft(o[e>>2]|0)|0}function ma(e){e=e|0;e=Gt(o[e>>2]|0)|0;if(!e)e=0;else e=eo(e)|0;return e|0}function ga(e,t){e=e|0;t=t|0;e=Mt(o[e>>2]|0,t)|0;if(!e)e=0;else e=eo(e)|0;return e|0}function va(e,t){e=e|0;t=t|0;var n=0,r=0;r=qS(4)|0;ya(r,t);n=e+4|0;t=o[n>>2]|0;o[n>>2]=r;if(t|0){Qi(t);VS(t)}Ut(o[e>>2]|0,1);return}function ya(e,t){e=e|0;t=t|0;La(e,t);return}function _a(e,t,n,r,i,o){e=e|0;t=t|0;n=$(n);r=r|0;i=$(i);o=o|0;var a=0,u=0;a=p;p=p+16|0;u=a;ba(u,Zt(t)|0,+n,r,+i,o);l[e>>2]=$(+c[u>>3]);l[e+4>>2]=$(+c[u+8>>3]);p=a;return}function ba(e,t,n,r,i,a){e=e|0;t=t|0;n=+n;r=r|0;i=+i;a=a|0;var u=0,s=0,l=0,f=0,d=0;u=p;p=p+32|0;d=u+8|0;f=u+20|0;l=u;s=u+16|0;c[d>>3]=n;o[f>>2]=r;c[l>>3]=i;o[s>>2]=a;Da(e,o[t+4>>2]|0,d,f,l,s);p=u;return}function Da(e,t,n,r,i,a){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;a=a|0;var u=0,s=0;u=p;p=p+16|0;s=u;wC(s);t=xa(t)|0;wa(e,t,+c[n>>3],o[r>>2]|0,+c[i>>3],o[a>>2]|0);kC(s);p=u;return}function xa(e){e=e|0;return o[e>>2]|0}function wa(e,t,n,r,i,o){e=e|0;t=t|0;n=+n;r=r|0;i=+i;o=o|0;var a=0;a=ka(Ea()|0)|0;n=+Ca(n);r=Sa(r)|0;i=+Ca(i);Ta(e,ot(0,a|0,t|0,+n,r|0,+i,Sa(o)|0)|0);return}function Ea(){var e=0;if(!(r[7608]|0)){Oa(9120);e=7608;o[e>>2]=1;o[e+4>>2]=0}return 9120}function ka(e){e=e|0;return o[e+8>>2]|0}function Ca(e){e=+e;return+ +Na(e)}function Sa(e){e=e|0;return Pa(e)|0}function Ta(e,t){e=e|0;t=t|0;var n=0,r=0,i=0;i=p;p=p+32|0;n=i;r=t;if(!(r&1)){o[e>>2]=o[t>>2];o[e+4>>2]=o[t+4>>2];o[e+8>>2]=o[t+8>>2];o[e+12>>2]=o[t+12>>2]}else{Aa(n,0);Le(r|0,n|0)|0;Fa(e,n);Ma(n)}p=i;return}function Aa(e,t){e=e|0;t=t|0;Ba(e,t);o[e+8>>2]=0;r[e+24>>0]=0;return}function Fa(e,t){e=e|0;t=t|0;t=t+8|0;o[e>>2]=o[t>>2];o[e+4>>2]=o[t+4>>2];o[e+8>>2]=o[t+8>>2];o[e+12>>2]=o[t+12>>2];return}function Ma(e){e=e|0;r[e+24>>0]=0;return}function Ba(e,t){e=e|0;t=t|0;o[e>>2]=t;return}function Pa(e){e=e|0;return e|0}function Na(e){e=+e;return+e}function Oa(e){e=e|0;Ia(e,Ra()|0,4);return}function Ra(){return 1064}function Ia(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;o[e+8>>2]=tt(t|0,n+1|0)|0;return}function La(e,t){e=e|0;t=t|0;t=o[t>>2]|0;o[e>>2]=t;Ae(t|0);return}function ja(e){e=e|0;var t=0,n=0;n=e+4|0;t=o[n>>2]|0;o[n>>2]=0;if(t|0){Qi(t);VS(t)}Ut(o[e>>2]|0,0);return}function Ua(e){e=e|0;qt(o[e>>2]|0);return}function za(e){e=e|0;return $t(o[e>>2]|0)|0}function Wa(e,t,n,r){e=e|0;t=+t;n=+n;r=r|0;Fr(o[e>>2]|0,$(t),$(n),r);return}function Ha(e){e=e|0;return+ +$(or(o[e>>2]|0))}function Xa(e){e=e|0;return+ +$(ur(o[e>>2]|0))}function Ja(e){e=e|0;return+ +$(ar(o[e>>2]|0))}function Ga(e){e=e|0;return+ +$(sr(o[e>>2]|0))}function qa(e){e=e|0;return+ +$(lr(o[e>>2]|0))}function $a(e){e=e|0;return+ +$(cr(o[e>>2]|0))}function Va(e,t){e=e|0;t=t|0;c[e>>3]=+$(or(o[t>>2]|0));c[e+8>>3]=+$(ur(o[t>>2]|0));c[e+16>>3]=+$(ar(o[t>>2]|0));c[e+24>>3]=+$(sr(o[t>>2]|0));c[e+32>>3]=+$(lr(o[t>>2]|0));c[e+40>>3]=+$(cr(o[t>>2]|0));return}function Ya(e,t){e=e|0;t=t|0;return+ +$(fr(o[e>>2]|0,t))}function Ka(e,t){e=e|0;t=t|0;return+ +$(dr(o[e>>2]|0,t))}function Qa(e,t){e=e|0;t=t|0;return+ +$(hr(o[e>>2]|0,t))}function Za(){return Rt()|0}function eu(){tu();nu();ru();iu();ou();au();return}function tu(){zb(11713,4938,1);return}function nu(){tb(10448);return}function ru(){O_(10408);return}function iu(){Qy(10324);return}function ou(){Jg(10096);return}function au(){uu(9132);return}function uu(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0,m=0,g=0,v=0,y=0,_=0,b=0,D=0,x=0,w=0,E=0,k=0,C=0,S=0,T=0,A=0,F=0,M=0,B=0,P=0,N=0,O=0,R=0,I=0,L=0,j=0,U=0,z=0,W=0,H=0,X=0,J=0,G=0,q=0,$=0,V=0,Y=0,K=0,Q=0,Z=0,ee=0,te=0,ne=0,re=0,ie=0,oe=0,ae=0,ue=0,se=0,le=0,ce=0,fe=0,de=0,he=0,pe=0,me=0,ge=0,ve=0,ye=0,_e=0,be=0,De=0,xe=0,we=0,Ee=0,ke=0,Ce=0,Se=0,Te=0,Ae=0,Fe=0,Me=0,Be=0;t=p;p=p+672|0;n=t+656|0;Be=t+648|0;Me=t+640|0;Fe=t+632|0;Ae=t+624|0;Te=t+616|0;Se=t+608|0;Ce=t+600|0;ke=t+592|0;Ee=t+584|0;we=t+576|0;xe=t+568|0;De=t+560|0;be=t+552|0;_e=t+544|0;ye=t+536|0;ve=t+528|0;ge=t+520|0;me=t+512|0;pe=t+504|0;he=t+496|0;de=t+488|0;fe=t+480|0;ce=t+472|0;le=t+464|0;se=t+456|0;ue=t+448|0;ae=t+440|0;oe=t+432|0;ie=t+424|0;re=t+416|0;ne=t+408|0;te=t+400|0;ee=t+392|0;Z=t+384|0;Q=t+376|0;K=t+368|0;Y=t+360|0;V=t+352|0;$=t+344|0;q=t+336|0;G=t+328|0;J=t+320|0;X=t+312|0;H=t+304|0;W=t+296|0;z=t+288|0;U=t+280|0;j=t+272|0;L=t+264|0;I=t+256|0;R=t+248|0;O=t+240|0;N=t+232|0;P=t+224|0;B=t+216|0;M=t+208|0;F=t+200|0;A=t+192|0;T=t+184|0;S=t+176|0;C=t+168|0;k=t+160|0;E=t+152|0;w=t+144|0;x=t+136|0;D=t+128|0;b=t+120|0;_=t+112|0;y=t+104|0;v=t+96|0;g=t+88|0;m=t+80|0;h=t+72|0;d=t+64|0;f=t+56|0;c=t+48|0;l=t+40|0;s=t+32|0;u=t+24|0;a=t+16|0;i=t+8|0;r=t;su(e,3646);lu(e,3651,2)|0;cu(e,3665,2)|0;fu(e,3682,18)|0;o[Be>>2]=19;o[Be+4>>2]=0;o[n>>2]=o[Be>>2];o[n+4>>2]=o[Be+4>>2];du(e,3690,n)|0;o[Me>>2]=1;o[Me+4>>2]=0;o[n>>2]=o[Me>>2];o[n+4>>2]=o[Me+4>>2];hu(e,3696,n)|0;o[Fe>>2]=2;o[Fe+4>>2]=0;o[n>>2]=o[Fe>>2];o[n+4>>2]=o[Fe+4>>2];pu(e,3706,n)|0;o[Ae>>2]=1;o[Ae+4>>2]=0;o[n>>2]=o[Ae>>2];o[n+4>>2]=o[Ae+4>>2];mu(e,3722,n)|0;o[Te>>2]=2;o[Te+4>>2]=0;o[n>>2]=o[Te>>2];o[n+4>>2]=o[Te+4>>2];mu(e,3734,n)|0;o[Se>>2]=3;o[Se+4>>2]=0;o[n>>2]=o[Se>>2];o[n+4>>2]=o[Se+4>>2];pu(e,3753,n)|0;o[Ce>>2]=4;o[Ce+4>>2]=0;o[n>>2]=o[Ce>>2];o[n+4>>2]=o[Ce+4>>2];pu(e,3769,n)|0;o[ke>>2]=5;o[ke+4>>2]=0;o[n>>2]=o[ke>>2];o[n+4>>2]=o[ke+4>>2];pu(e,3783,n)|0;o[Ee>>2]=6;o[Ee+4>>2]=0;o[n>>2]=o[Ee>>2];o[n+4>>2]=o[Ee+4>>2];pu(e,3796,n)|0;o[we>>2]=7;o[we+4>>2]=0;o[n>>2]=o[we>>2];o[n+4>>2]=o[we+4>>2];pu(e,3813,n)|0;o[xe>>2]=8;o[xe+4>>2]=0;o[n>>2]=o[xe>>2];o[n+4>>2]=o[xe+4>>2];pu(e,3825,n)|0;o[De>>2]=3;o[De+4>>2]=0;o[n>>2]=o[De>>2];o[n+4>>2]=o[De+4>>2];mu(e,3843,n)|0;o[be>>2]=4;o[be+4>>2]=0;o[n>>2]=o[be>>2];o[n+4>>2]=o[be+4>>2];mu(e,3853,n)|0;o[_e>>2]=9;o[_e+4>>2]=0;o[n>>2]=o[_e>>2];o[n+4>>2]=o[_e+4>>2];pu(e,3870,n)|0;o[ye>>2]=10;o[ye+4>>2]=0;o[n>>2]=o[ye>>2];o[n+4>>2]=o[ye+4>>2];pu(e,3884,n)|0;o[ve>>2]=11;o[ve+4>>2]=0;o[n>>2]=o[ve>>2];o[n+4>>2]=o[ve+4>>2];pu(e,3896,n)|0;o[ge>>2]=1;o[ge+4>>2]=0;o[n>>2]=o[ge>>2];o[n+4>>2]=o[ge+4>>2];gu(e,3907,n)|0;o[me>>2]=2;o[me+4>>2]=0;o[n>>2]=o[me>>2];o[n+4>>2]=o[me+4>>2];gu(e,3915,n)|0;o[pe>>2]=3;o[pe+4>>2]=0;o[n>>2]=o[pe>>2];o[n+4>>2]=o[pe+4>>2];gu(e,3928,n)|0;o[he>>2]=4;o[he+4>>2]=0;o[n>>2]=o[he>>2];o[n+4>>2]=o[he+4>>2];gu(e,3948,n)|0;o[de>>2]=5;o[de+4>>2]=0;o[n>>2]=o[de>>2];o[n+4>>2]=o[de+4>>2];gu(e,3960,n)|0;o[fe>>2]=6;o[fe+4>>2]=0;o[n>>2]=o[fe>>2];o[n+4>>2]=o[fe+4>>2];gu(e,3974,n)|0;o[ce>>2]=7;o[ce+4>>2]=0;o[n>>2]=o[ce>>2];o[n+4>>2]=o[ce+4>>2];gu(e,3983,n)|0;o[le>>2]=20;o[le+4>>2]=0;o[n>>2]=o[le>>2];o[n+4>>2]=o[le+4>>2];du(e,3999,n)|0;o[se>>2]=8;o[se+4>>2]=0;o[n>>2]=o[se>>2];o[n+4>>2]=o[se+4>>2];gu(e,4012,n)|0;o[ue>>2]=9;o[ue+4>>2]=0;o[n>>2]=o[ue>>2];o[n+4>>2]=o[ue+4>>2];gu(e,4022,n)|0;o[ae>>2]=21;o[ae+4>>2]=0;o[n>>2]=o[ae>>2];o[n+4>>2]=o[ae+4>>2];du(e,4039,n)|0;o[oe>>2]=10;o[oe+4>>2]=0;o[n>>2]=o[oe>>2];o[n+4>>2]=o[oe+4>>2];gu(e,4053,n)|0;o[ie>>2]=11;o[ie+4>>2]=0;o[n>>2]=o[ie>>2];o[n+4>>2]=o[ie+4>>2];gu(e,4065,n)|0;o[re>>2]=12;o[re+4>>2]=0;o[n>>2]=o[re>>2];o[n+4>>2]=o[re+4>>2];gu(e,4084,n)|0;o[ne>>2]=13;o[ne+4>>2]=0;o[n>>2]=o[ne>>2];o[n+4>>2]=o[ne+4>>2];gu(e,4097,n)|0;o[te>>2]=14;o[te+4>>2]=0;o[n>>2]=o[te>>2];o[n+4>>2]=o[te+4>>2];gu(e,4117,n)|0;o[ee>>2]=15;o[ee+4>>2]=0;o[n>>2]=o[ee>>2];o[n+4>>2]=o[ee+4>>2];gu(e,4129,n)|0;o[Z>>2]=16;o[Z+4>>2]=0;o[n>>2]=o[Z>>2];o[n+4>>2]=o[Z+4>>2];gu(e,4148,n)|0;o[Q>>2]=17;o[Q+4>>2]=0;o[n>>2]=o[Q>>2];o[n+4>>2]=o[Q+4>>2];gu(e,4161,n)|0;o[K>>2]=18;o[K+4>>2]=0;o[n>>2]=o[K>>2];o[n+4>>2]=o[K+4>>2];gu(e,4181,n)|0;o[Y>>2]=5;o[Y+4>>2]=0;o[n>>2]=o[Y>>2];o[n+4>>2]=o[Y+4>>2];mu(e,4196,n)|0;o[V>>2]=6;o[V+4>>2]=0;o[n>>2]=o[V>>2];o[n+4>>2]=o[V+4>>2];mu(e,4206,n)|0;o[$>>2]=7;o[$+4>>2]=0;o[n>>2]=o[$>>2];o[n+4>>2]=o[$+4>>2];mu(e,4217,n)|0;o[q>>2]=3;o[q+4>>2]=0;o[n>>2]=o[q>>2];o[n+4>>2]=o[q+4>>2];vu(e,4235,n)|0;o[G>>2]=1;o[G+4>>2]=0;o[n>>2]=o[G>>2];o[n+4>>2]=o[G+4>>2];yu(e,4251,n)|0;o[J>>2]=4;o[J+4>>2]=0;o[n>>2]=o[J>>2];o[n+4>>2]=o[J+4>>2];vu(e,4263,n)|0;o[X>>2]=5;o[X+4>>2]=0;o[n>>2]=o[X>>2];o[n+4>>2]=o[X+4>>2];vu(e,4279,n)|0;o[H>>2]=6;o[H+4>>2]=0;o[n>>2]=o[H>>2];o[n+4>>2]=o[H+4>>2];vu(e,4293,n)|0;o[W>>2]=7;o[W+4>>2]=0;o[n>>2]=o[W>>2];o[n+4>>2]=o[W+4>>2];vu(e,4306,n)|0;o[z>>2]=8;o[z+4>>2]=0;o[n>>2]=o[z>>2];o[n+4>>2]=o[z+4>>2];vu(e,4323,n)|0;o[U>>2]=9;o[U+4>>2]=0;o[n>>2]=o[U>>2];o[n+4>>2]=o[U+4>>2];vu(e,4335,n)|0;o[j>>2]=2;o[j+4>>2]=0;o[n>>2]=o[j>>2];o[n+4>>2]=o[j+4>>2];yu(e,4353,n)|0;o[L>>2]=12;o[L+4>>2]=0;o[n>>2]=o[L>>2];o[n+4>>2]=o[L+4>>2];_u(e,4363,n)|0;o[I>>2]=1;o[I+4>>2]=0;o[n>>2]=o[I>>2];o[n+4>>2]=o[I+4>>2];bu(e,4376,n)|0;o[R>>2]=2;o[R+4>>2]=0;o[n>>2]=o[R>>2];o[n+4>>2]=o[R+4>>2];bu(e,4388,n)|0;o[O>>2]=13;o[O+4>>2]=0;o[n>>2]=o[O>>2];o[n+4>>2]=o[O+4>>2];_u(e,4402,n)|0;o[N>>2]=14;o[N+4>>2]=0;o[n>>2]=o[N>>2];o[n+4>>2]=o[N+4>>2];_u(e,4411,n)|0;o[P>>2]=15;o[P+4>>2]=0;o[n>>2]=o[P>>2];o[n+4>>2]=o[P+4>>2];_u(e,4421,n)|0;o[B>>2]=16;o[B+4>>2]=0;o[n>>2]=o[B>>2];o[n+4>>2]=o[B+4>>2];_u(e,4433,n)|0;o[M>>2]=17;o[M+4>>2]=0;o[n>>2]=o[M>>2];o[n+4>>2]=o[M+4>>2];_u(e,4446,n)|0;o[F>>2]=18;o[F+4>>2]=0;o[n>>2]=o[F>>2];o[n+4>>2]=o[F+4>>2];_u(e,4458,n)|0;o[A>>2]=3;o[A+4>>2]=0;o[n>>2]=o[A>>2];o[n+4>>2]=o[A+4>>2];bu(e,4471,n)|0;o[T>>2]=1;o[T+4>>2]=0;o[n>>2]=o[T>>2];o[n+4>>2]=o[T+4>>2];Du(e,4486,n)|0;o[S>>2]=10;o[S+4>>2]=0;o[n>>2]=o[S>>2];o[n+4>>2]=o[S+4>>2];vu(e,4496,n)|0;o[C>>2]=11;o[C+4>>2]=0;o[n>>2]=o[C>>2];o[n+4>>2]=o[C+4>>2];vu(e,4508,n)|0;o[k>>2]=3;o[k+4>>2]=0;o[n>>2]=o[k>>2];o[n+4>>2]=o[k+4>>2];yu(e,4519,n)|0;o[E>>2]=4;o[E+4>>2]=0;o[n>>2]=o[E>>2];o[n+4>>2]=o[E+4>>2];xu(e,4530,n)|0;o[w>>2]=19;o[w+4>>2]=0;o[n>>2]=o[w>>2];o[n+4>>2]=o[w+4>>2];wu(e,4542,n)|0;o[x>>2]=12;o[x+4>>2]=0;o[n>>2]=o[x>>2];o[n+4>>2]=o[x+4>>2];Eu(e,4554,n)|0;o[D>>2]=13;o[D+4>>2]=0;o[n>>2]=o[D>>2];o[n+4>>2]=o[D+4>>2];ku(e,4568,n)|0;o[b>>2]=2;o[b+4>>2]=0;o[n>>2]=o[b>>2];o[n+4>>2]=o[b+4>>2];Cu(e,4578,n)|0;o[_>>2]=20;o[_+4>>2]=0;o[n>>2]=o[_>>2];o[n+4>>2]=o[_+4>>2];Su(e,4587,n)|0;o[y>>2]=22;o[y+4>>2]=0;o[n>>2]=o[y>>2];o[n+4>>2]=o[y+4>>2];du(e,4602,n)|0;o[v>>2]=23;o[v+4>>2]=0;o[n>>2]=o[v>>2];o[n+4>>2]=o[v+4>>2];du(e,4619,n)|0;o[g>>2]=14;o[g+4>>2]=0;o[n>>2]=o[g>>2];o[n+4>>2]=o[g+4>>2];Tu(e,4629,n)|0;o[m>>2]=1;o[m+4>>2]=0;o[n>>2]=o[m>>2];o[n+4>>2]=o[m+4>>2];Au(e,4637,n)|0;o[h>>2]=4;o[h+4>>2]=0;o[n>>2]=o[h>>2];o[n+4>>2]=o[h+4>>2];bu(e,4653,n)|0;o[d>>2]=5;o[d+4>>2]=0;o[n>>2]=o[d>>2];o[n+4>>2]=o[d+4>>2];bu(e,4669,n)|0;o[f>>2]=6;o[f+4>>2]=0;o[n>>2]=o[f>>2];o[n+4>>2]=o[f+4>>2];bu(e,4686,n)|0;o[c>>2]=7;o[c+4>>2]=0;o[n>>2]=o[c>>2];o[n+4>>2]=o[c+4>>2];bu(e,4701,n)|0;o[l>>2]=8;o[l+4>>2]=0;o[n>>2]=o[l>>2];o[n+4>>2]=o[l+4>>2];bu(e,4719,n)|0;o[s>>2]=9;o[s+4>>2]=0;o[n>>2]=o[s>>2];o[n+4>>2]=o[s+4>>2];bu(e,4736,n)|0;o[u>>2]=21;o[u+4>>2]=0;o[n>>2]=o[u>>2];o[n+4>>2]=o[u+4>>2];Fu(e,4754,n)|0;o[a>>2]=2;o[a+4>>2]=0;o[n>>2]=o[a>>2];o[n+4>>2]=o[a+4>>2];Du(e,4772,n)|0;o[i>>2]=3;o[i+4>>2]=0;o[n>>2]=o[i>>2];o[n+4>>2]=o[i+4>>2];Du(e,4790,n)|0;o[r>>2]=4;o[r+4>>2]=0;o[n>>2]=o[r>>2];o[n+4>>2]=o[r+4>>2];Du(e,4808,n)|0;p=t;return}function su(e,t){e=e|0;t=t|0;var n=0;n=Ng()|0;o[e>>2]=n;Og(n,t);cD(o[e>>2]|0);return}function lu(e,t,n){e=e|0;t=t|0;n=n|0;vg(e,Bu(t)|0,n,0);return e|0}function cu(e,t,n){e=e|0;t=t|0;n=n|0;Ym(e,Bu(t)|0,n,0);return e|0}function fu(e,t,n){e=e|0;t=t|0;n=n|0;Pm(e,Bu(t)|0,n,0);return e|0}function du(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];pm(e,t,i);p=r;return e|0}function hu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Gp(e,t,i);p=r;return e|0}function pu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Sp(e,t,i);p=r;return e|0}function mu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];sp(e,t,i);p=r;return e|0}function gu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Hh(e,t,i);p=r;return e|0}function vu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Eh(e,t,i);p=r;return e|0}function yu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];oh(e,t,i);p=r;return e|0}function _u(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];kd(e,t,i);p=r;return e|0}function bu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];ad(e,t,i);p=r;return e|0}function Du(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];zf(e,t,i);p=r;return e|0}function xu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];xf(e,t,i);p=r;return e|0}function wu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Zc(e,t,i);p=r;return e|0}function Eu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Pc(e,t,i);p=r;return e|0}function ku(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];pc(e,t,i);p=r;return e|0}function Cu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Jl(e,t,i);p=r;return e|0}function Su(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Dl(e,t,i);p=r;return e|0}function Tu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];tl(e,t,i);p=r;return e|0}function Au(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Fs(e,t,i);p=r;return e|0}function Fu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Mu(e,t,i);p=r;return e|0}function Mu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Pu(e,n,i,1);p=r;return}function Bu(e){e=e|0;return e|0}function Pu(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=Nu()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=Ou(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Ru(a,r)|0,r);p=i;return}function Nu(){var e=0,t=0;if(!(r[7616]|0)){$u(9136);Re(24,9136,v|0)|0;t=7616;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9136)|0)){e=9136;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));$u(9136)}return 9136}function Ou(e){e=e|0;return 0}function Ru(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=Nu()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Wu(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Hu(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Iu(e,t,n,r,i,a){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;a=a|0;var u=0,s=0,l=0,c=0,f=0,d=0,h=0,m=0;u=p;p=p+32|0;h=u+24|0;d=u+20|0;l=u+16|0;f=u+12|0;c=u+8|0;s=u+4|0;m=u;o[d>>2]=t;o[l>>2]=n;o[f>>2]=r;o[c>>2]=i;o[s>>2]=a;a=e+28|0;o[m>>2]=o[a>>2];o[h>>2]=o[m>>2];Lu(e+24|0,h,d,f,c,l,s)|0;o[a>>2]=o[o[a>>2]>>2];p=u;return}function Lu(e,t,n,r,i,a,u){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;a=a|0;u=u|0;e=ju(t)|0;t=qS(24)|0;Uu(t+4|0,o[n>>2]|0,o[r>>2]|0,o[i>>2]|0,o[a>>2]|0,o[u>>2]|0);o[t>>2]=o[e>>2];o[e>>2]=t;return t|0}function ju(e){e=e|0;return o[e>>2]|0}function Uu(e,t,n,r,i,a){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;a=a|0;o[e>>2]=t;o[e+4>>2]=n;o[e+8>>2]=r;o[e+12>>2]=i;o[e+16>>2]=a;return}function zu(e,t){e=e|0;t=t|0;return t|e|0}function Wu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Hu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Xu(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;Ju(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Wu(a,r,n);o[l>>2]=(o[l>>2]|0)+12;Gu(e,s);qu(s);p=c;return}}function Xu(e){e=e|0;return 357913941}function Ju(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function Gu(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function qu(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function $u(e){e=e|0;Qu(e);return}function Vu(e){e=e|0;Ku(e+24|0);return}function Yu(e){e=e|0;return o[e>>2]|0}function Ku(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function Qu(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,3,t,es()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Zu(){return 9228}function es(){return 1140}function ts(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0;n=p;p=p+16|0;r=n+8|0;i=n;a=rs(e)|0;e=o[a+4>>2]|0;o[i>>2]=o[a>>2];o[i+4>>2]=e;o[r>>2]=o[i>>2];o[r+4>>2]=o[i+4>>2];t=is(t,r)|0;p=n;return t|0}function ns(e,t,n,r,i,a){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;a=a|0;o[e>>2]=t;o[e+4>>2]=n;o[e+8>>2]=r;o[e+12>>2]=i;o[e+16>>2]=a;return}function rs(e){e=e|0;return(o[(Nu()|0)+24>>2]|0)+(e*12|0)|0}function is(e,t){e=e|0;t=t|0;var n=0,r=0,i=0;i=p;p=p+48|0;r=i;n=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)n=o[(o[e>>2]|0)+n>>2]|0;mA[n&31](r,e);r=os(r)|0;p=i;return r|0}function os(e){e=e|0;var t=0,n=0,r=0,i=0;i=p;p=p+32|0;t=i+12|0;n=i;r=us(as()|0)|0;if(!r)e=ds(e)|0;else{ss(t,r);ls(n,t);cs(e,n);e=fs(t)|0}p=i;return e|0}function as(){var e=0;if(!(r[7632]|0)){ws(9184);Re(25,9184,v|0)|0;e=7632;o[e>>2]=1;o[e+4>>2]=0}return 9184}function us(e){e=e|0;return o[e+36>>2]|0}function ss(e,t){e=e|0;t=t|0;o[e>>2]=t;o[e+4>>2]=e;o[e+8>>2]=0;return}function ls(e,t){e=e|0;t=t|0;o[e>>2]=o[t>>2];o[e+4>>2]=o[t+4>>2];o[e+8>>2]=0;return}function cs(e,t){e=e|0;t=t|0;vs(t,e,e+8|0,e+16|0,e+24|0,e+32|0,e+40|0)|0;return}function fs(e){e=e|0;return o[(o[e+4>>2]|0)+8>>2]|0}function ds(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,u=0,s=0,l=0;l=p;p=p+16|0;n=l+4|0;r=l;i=Uw(8)|0;a=i;u=qS(48)|0;s=u;t=s+48|0;do{o[s>>2]=o[e>>2];s=s+4|0;e=e+4|0}while((s|0)<(t|0));t=a+4|0;o[t>>2]=u;s=qS(8)|0;u=o[t>>2]|0;o[r>>2]=0;o[n>>2]=o[r>>2];hs(s,u,n);o[i>>2]=s;p=l;return a|0}function hs(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;n=qS(16)|0;o[n+4>>2]=0;o[n+8>>2]=0;o[n>>2]=1092;o[n+12>>2]=t;o[e+4>>2]=n;return}function ps(e){e=e|0;zS(e);VS(e);return}function ms(e){e=e|0;e=o[e+12>>2]|0;if(e|0)VS(e);return}function gs(e){e=e|0;VS(e);return}function vs(e,t,n,r,i,a,u){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;a=a|0;u=u|0;a=ys(o[e>>2]|0,t,n,r,i,a,u)|0;u=e+4|0;o[(o[u>>2]|0)+8>>2]=a;return o[(o[u>>2]|0)+8>>2]|0}function ys(e,t,n,r,i,o,a){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;o=o|0;a=a|0;var u=0,s=0;u=p;p=p+16|0;s=u;wC(s);e=xa(e)|0;a=_s(e,+c[t>>3],+c[n>>3],+c[r>>3],+c[i>>3],+c[o>>3],+c[a>>3])|0;kC(s);p=u;return a|0}function _s(e,t,n,r,i,o,a){e=e|0;t=+t;n=+n;r=+r;i=+i;o=+o;a=+a;var u=0;u=ka(bs()|0)|0;t=+Ca(t);n=+Ca(n);r=+Ca(r);i=+Ca(i);o=+Ca(o);return Se(0,u|0,e|0,+t,+n,+r,+i,+o,+ +Ca(a))|0}function bs(){var e=0;if(!(r[7624]|0)){Ds(9172);e=7624;o[e>>2]=1;o[e+4>>2]=0}return 9172}function Ds(e){e=e|0;Ia(e,xs()|0,6);return}function xs(){return 1112}function ws(e){e=e|0;As(e);return}function Es(e){e=e|0;ks(e+24|0);Cs(e+16|0);return}function ks(e){e=e|0;Ts(e);return}function Cs(e){e=e|0;Ss(e);return}function Ss(e){e=e|0;var t=0,n=0;t=o[e>>2]|0;if(t|0)do{n=t;t=o[t>>2]|0;VS(n)}while((t|0)!=0);o[e>>2]=0;return}function Ts(e){e=e|0;var t=0,n=0;t=o[e>>2]|0;if(t|0)do{n=t;t=o[t>>2]|0;VS(n)}while((t|0)!=0);o[e>>2]=0;return}function As(e){e=e|0;var t=0;o[e+16>>2]=0;o[e+20>>2]=0;t=e+24|0;o[t>>2]=0;o[e+28>>2]=t;o[e+36>>2]=0;r[e+40>>0]=0;r[e+41>>0]=0;return}function Fs(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Ms(e,n,i,0);p=r;return}function Ms(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=Bs()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=Ps(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Ns(a,r)|0,r);p=i;return}function Bs(){var e=0,t=0;if(!(r[7640]|0)){zs(9232);Re(26,9232,v|0)|0;t=7640;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9232)|0)){e=9232;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));zs(9232)}return 9232}function Ps(e){e=e|0;return 0}function Ns(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=Bs()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Os(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Rs(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Os(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Rs(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Is(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;Ls(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Os(a,r,n);o[l>>2]=(o[l>>2]|0)+12;js(e,s);Us(s);p=c;return}}function Is(e){e=e|0;return 357913941}function Ls(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function js(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Us(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function zs(e){e=e|0;Xs(e);return}function Ws(e){e=e|0;Hs(e+24|0);return}function Hs(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function Xs(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,1,t,Js()|0,3);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Js(){return 1144}function Gs(e,t,n,r,i){e=e|0;t=t|0;n=+n;r=+r;i=i|0;var a=0,u=0,s=0,l=0;a=p;p=p+16|0;u=a+8|0;s=a;l=qs(e)|0;e=o[l+4>>2]|0;o[s>>2]=o[l>>2];o[s+4>>2]=e;o[u>>2]=o[s>>2];o[u+4>>2]=o[s+4>>2];$s(t,u,n,r,i);p=a;return}function qs(e){e=e|0;return(o[(Bs()|0)+24>>2]|0)+(e*12|0)|0}function $s(e,t,n,r,i){e=e|0;t=t|0;n=+n;r=+r;i=i|0;var a=0,u=0,s=0,l=0,c=0;c=p;p=p+16|0;u=c+2|0;s=c+1|0;l=c;a=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)a=o[(o[e>>2]|0)+a>>2]|0;Vs(u,n);n=+Ys(u,n);Vs(s,r);r=+Ys(s,r);Ks(l,i);l=Qs(l,i)|0;vA[a&1](e,n,r,l);p=c;return}function Vs(e,t){e=e|0;t=+t;return}function Ys(e,t){e=e|0;t=+t;return+ +el(t)}function Ks(e,t){e=e|0;t=t|0;return}function Qs(e,t){e=e|0;t=t|0;return Zs(t)|0}function Zs(e){e=e|0;return e|0}function el(e){e=+e;return+e}function tl(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];nl(e,n,i,1);p=r;return}function nl(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=rl()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=il(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,ol(a,r)|0,r);p=i;return}function rl(){var e=0,t=0;if(!(r[7648]|0)){dl(9268);Re(27,9268,v|0)|0;t=7648;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9268)|0)){e=9268;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));dl(9268)}return 9268}function il(e){e=e|0;return 0}function ol(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=rl()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];al(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{ul(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function al(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function ul(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=sl(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;ll(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];al(a,r,n);o[l>>2]=(o[l>>2]|0)+12;cl(e,s);fl(s);p=c;return}}function sl(e){e=e|0;return 357913941}function ll(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function cl(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function fl(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function dl(e){e=e|0;ml(e);return}function hl(e){e=e|0;pl(e+24|0);return}function pl(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function ml(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,4,t,gl()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function gl(){return 1160}function vl(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0;n=p;p=p+16|0;r=n+8|0;i=n;a=yl(e)|0;e=o[a+4>>2]|0;o[i>>2]=o[a>>2];o[i+4>>2]=e;o[r>>2]=o[i>>2];o[r+4>>2]=o[i+4>>2];t=_l(t,r)|0;p=n;return t|0}function yl(e){e=e|0;return(o[(rl()|0)+24>>2]|0)+(e*12|0)|0}function _l(e,t){e=e|0;t=t|0;var n=0;n=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)n=o[(o[e>>2]|0)+n>>2]|0;return bl(gA[n&31](e)|0)|0}function bl(e){e=e|0;return e&1|0}function Dl(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];xl(e,n,i,0);p=r;return}function xl(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=wl()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=El(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,kl(a,r)|0,r);p=i;return}function wl(){var e=0,t=0;if(!(r[7656]|0)){Bl(9304);Re(28,9304,v|0)|0;t=7656;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9304)|0)){e=9304;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Bl(9304)}return 9304}function El(e){e=e|0;return 0}function kl(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=wl()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Cl(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Sl(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Cl(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Sl(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Tl(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;Al(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Cl(a,r,n);o[l>>2]=(o[l>>2]|0)+12;Fl(e,s);Ml(s);p=c;return}}function Tl(e){e=e|0;return 357913941}function Al(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function Fl(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Ml(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function Bl(e){e=e|0;Ol(e);return}function Pl(e){e=e|0;Nl(e+24|0);return}function Nl(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function Ol(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,5,t,Rl()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Rl(){return 1164}function Il(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=Ll(e)|0;e=o[u+4>>2]|0;o[a>>2]=o[u>>2];o[a+4>>2]=e;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];jl(t,i,n);p=r;return}function Ll(e){e=e|0;return(o[(wl()|0)+24>>2]|0)+(e*12|0)|0}function jl(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0;a=p;p=p+16|0;i=a;r=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)r=o[(o[e>>2]|0)+r>>2]|0;Ul(i,n);n=zl(i,n)|0;mA[r&31](e,n);Wl(i);p=a;return}function Ul(e,t){e=e|0;t=t|0;Hl(e,t);return}function zl(e,t){e=e|0;t=t|0;return e|0}function Wl(e){e=e|0;Qi(e);return}function Hl(e,t){e=e|0;t=t|0;Xl(e,t);return}function Xl(e,t){e=e|0;t=t|0;o[e>>2]=t;return}function Jl(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Gl(e,n,i,0);p=r;return}function Gl(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=ql()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=$l(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Vl(a,r)|0,r);p=i;return}function ql(){var e=0,t=0;if(!(r[7664]|0)){nc(9340);Re(29,9340,v|0)|0;t=7664;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9340)|0)){e=9340;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));nc(9340)}return 9340}function $l(e){e=e|0;return 0}function Vl(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=ql()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Yl(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Kl(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Yl(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Kl(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Ql(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;Zl(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Yl(a,r,n);o[l>>2]=(o[l>>2]|0)+12;ec(e,s);tc(s);p=c;return}}function Ql(e){e=e|0;return 357913941}function Zl(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function ec(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function tc(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function nc(e){e=e|0;oc(e);return}function rc(e){e=e|0;ic(e+24|0);return}function ic(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function oc(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,4,t,ac()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function ac(){return 1180}function uc(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=sc(e)|0;e=o[u+4>>2]|0;o[a>>2]=o[u>>2];o[a+4>>2]=e;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];n=lc(t,i,n)|0;p=r;return n|0}function sc(e){e=e|0;return(o[(ql()|0)+24>>2]|0)+(e*12|0)|0}function lc(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0;a=p;p=p+16|0;i=a;r=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)r=o[(o[e>>2]|0)+r>>2]|0;cc(i,n);i=fc(i,n)|0;i=dc(wA[r&15](e,i)|0)|0;p=a;return i|0}function cc(e,t){e=e|0;t=t|0;return}function fc(e,t){e=e|0;t=t|0;return hc(t)|0}function dc(e){e=e|0;return e|0}function hc(e){e=e|0;return e|0}function pc(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];mc(e,n,i,0);p=r;return}function mc(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=gc()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=vc(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,yc(a,r)|0,r);p=i;return}function gc(){var e=0,t=0;if(!(r[7672]|0)){kc(9376);Re(30,9376,v|0)|0;t=7672;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9376)|0)){e=9376;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));kc(9376)}return 9376}function vc(e){e=e|0;return 0}function yc(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=gc()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];_c(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{bc(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function _c(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function bc(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Dc(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;xc(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];_c(a,r,n);o[l>>2]=(o[l>>2]|0)+12;wc(e,s);Ec(s);p=c;return}}function Dc(e){e=e|0;return 357913941}function xc(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function wc(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Ec(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function kc(e){e=e|0;Tc(e);return}function Cc(e){e=e|0;Sc(e+24|0);return}function Sc(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function Tc(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,5,t,Ac()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Ac(){return 1196}function Fc(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0;n=p;p=p+16|0;r=n+8|0;i=n;a=Mc(e)|0;e=o[a+4>>2]|0;o[i>>2]=o[a>>2];o[i+4>>2]=e;o[r>>2]=o[i>>2];o[r+4>>2]=o[i+4>>2];t=Bc(t,r)|0;p=n;return t|0}function Mc(e){e=e|0;return(o[(gc()|0)+24>>2]|0)+(e*12|0)|0}function Bc(e,t){e=e|0;t=t|0;var n=0;n=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)n=o[(o[e>>2]|0)+n>>2]|0;return dc(gA[n&31](e)|0)|0}function Pc(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Nc(e,n,i,1);p=r;return}function Nc(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=Oc()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=Rc(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Ic(a,r)|0,r);p=i;return}function Oc(){var e=0,t=0;if(!(r[7680]|0)){Xc(9412);Re(31,9412,v|0)|0;t=7680;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9412)|0)){e=9412;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Xc(9412)}return 9412}function Rc(e){e=e|0;return 0}function Ic(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=Oc()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Lc(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{jc(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Lc(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function jc(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Uc(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;zc(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Lc(a,r,n);o[l>>2]=(o[l>>2]|0)+12;Wc(e,s);Hc(s);p=c;return}}function Uc(e){e=e|0;return 357913941}function zc(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function Wc(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Hc(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function Xc(e){e=e|0;qc(e);return}function Jc(e){e=e|0;Gc(e+24|0);return}function Gc(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function qc(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,6,t,$c()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function $c(){return 1200}function Vc(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0;n=p;p=p+16|0;r=n+8|0;i=n;a=Yc(e)|0;e=o[a+4>>2]|0;o[i>>2]=o[a>>2];o[i+4>>2]=e;o[r>>2]=o[i>>2];o[r+4>>2]=o[i+4>>2];t=Kc(t,r)|0;p=n;return t|0}function Yc(e){e=e|0;return(o[(Oc()|0)+24>>2]|0)+(e*12|0)|0}function Kc(e,t){e=e|0;t=t|0;var n=0;n=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)n=o[(o[e>>2]|0)+n>>2]|0;return Qc(gA[n&31](e)|0)|0}function Qc(e){e=e|0;return e|0}function Zc(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];ef(e,n,i,0);p=r;return}function ef(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=tf()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=nf(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,rf(a,r)|0,r);p=i;return}function tf(){var e=0,t=0;if(!(r[7688]|0)){ff(9448);Re(32,9448,v|0)|0;t=7688;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9448)|0)){e=9448;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));ff(9448)}return 9448}function nf(e){e=e|0;return 0}function rf(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=tf()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];of(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{af(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function of(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function af(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=uf(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;sf(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];of(a,r,n);o[l>>2]=(o[l>>2]|0)+12;lf(e,s);cf(s);p=c;return}}function uf(e){e=e|0;return 357913941}function sf(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function lf(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function cf(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function ff(e){e=e|0;pf(e);return}function df(e){e=e|0;hf(e+24|0);return}function hf(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function pf(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,6,t,mf()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function mf(){return 1204}function gf(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=vf(e)|0;e=o[u+4>>2]|0;o[a>>2]=o[u>>2];o[a+4>>2]=e;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];yf(t,i,n);p=r;return}function vf(e){e=e|0;return(o[(tf()|0)+24>>2]|0)+(e*12|0)|0}function yf(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0;a=p;p=p+16|0;i=a;r=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)r=o[(o[e>>2]|0)+r>>2]|0;_f(i,n);i=bf(i,n)|0;mA[r&31](e,i);p=a;return}function _f(e,t){e=e|0;t=t|0;return}function bf(e,t){e=e|0;t=t|0;return Df(t)|0}function Df(e){e=e|0;return e|0}function xf(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];wf(e,n,i,0);p=r;return}function wf(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=Ef()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=kf(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Cf(a,r)|0,r);p=i;return}function Ef(){var e=0,t=0;if(!(r[7696]|0)){Pf(9484);Re(33,9484,v|0)|0;t=7696;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9484)|0)){e=9484;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Pf(9484)}return 9484}function kf(e){e=e|0;return 0}function Cf(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=Ef()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Sf(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Tf(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Sf(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Tf(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Af(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;Ff(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Sf(a,r,n);o[l>>2]=(o[l>>2]|0)+12;Mf(e,s);Bf(s);p=c;return}}function Af(e){e=e|0;return 357913941}function Ff(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function Mf(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Bf(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function Pf(e){e=e|0;Rf(e);return}function Nf(e){e=e|0;Of(e+24|0);return}function Of(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function Rf(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,1,t,If()|0,2);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function If(){return 1212}function Lf(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0;i=p;p=p+16|0;a=i+8|0;u=i;s=jf(e)|0;e=o[s+4>>2]|0;o[u>>2]=o[s>>2];o[u+4>>2]=e;o[a>>2]=o[u>>2];o[a+4>>2]=o[u+4>>2];Uf(t,a,n,r);p=i;return}function jf(e){e=e|0;return(o[(Ef()|0)+24>>2]|0)+(e*12|0)|0}function Uf(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0;s=p;p=p+16|0;a=s+1|0;u=s;i=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)i=o[(o[e>>2]|0)+i>>2]|0;_f(a,n);a=bf(a,n)|0;cc(u,r);u=fc(u,r)|0;MA[i&15](e,a,u);p=s;return}function zf(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Wf(e,n,i,1);p=r;return}function Wf(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=Hf()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=Xf(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Jf(a,r)|0,r);p=i;return}function Hf(){var e=0,t=0;if(!(r[7704]|0)){Qf(9520);Re(34,9520,v|0)|0;t=7704;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9520)|0)){e=9520;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Qf(9520)}return 9520}function Xf(e){e=e|0;return 0}function Jf(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=Hf()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Gf(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{qf(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Gf(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function qf(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=$f(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;Vf(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Gf(a,r,n);o[l>>2]=(o[l>>2]|0)+12;Yf(e,s);Kf(s);p=c;return}}function $f(e){e=e|0;return 357913941}function Vf(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function Yf(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Kf(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function Qf(e){e=e|0;td(e);return}function Zf(e){e=e|0;ed(e+24|0);return}function ed(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function td(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,1,t,nd()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function nd(){return 1224}function rd(e,t,n){e=e|0;t=t|0;n=n|0;var r=0.0,i=0,a=0,u=0,s=0;i=p;p=p+16|0;a=i+8|0;u=i;s=id(e)|0;e=o[s+4>>2]|0;o[u>>2]=o[s>>2];o[u+4>>2]=e;o[a>>2]=o[u>>2];o[a+4>>2]=o[u+4>>2];r=+od(t,a,n);p=i;return+r}function id(e){e=e|0;return(o[(Hf()|0)+24>>2]|0)+(e*12|0)|0}function od(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0.0;a=p;p=p+16|0;i=a;r=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)r=o[(o[e>>2]|0)+r>>2]|0;Ks(i,n);i=Qs(i,n)|0;u=+Na(+CA[r&7](e,i));p=a;return+u}function ad(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];ud(e,n,i,1);p=r;return}function ud(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=sd()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=ld(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,cd(a,r)|0,r);p=i;return}function sd(){var e=0,t=0;if(!(r[7712]|0)){vd(9556);Re(35,9556,v|0)|0;t=7712;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9556)|0)){e=9556;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));vd(9556)}return 9556}function ld(e){e=e|0;return 0}function cd(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=sd()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];fd(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{dd(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function fd(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function dd(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=hd(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;pd(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];fd(a,r,n);o[l>>2]=(o[l>>2]|0)+12;md(e,s);gd(s);p=c;return}}function hd(e){e=e|0;return 357913941}function pd(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function md(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function gd(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function vd(e){e=e|0;bd(e);return}function yd(e){e=e|0;_d(e+24|0);return}function _d(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function bd(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,5,t,Dd()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Dd(){return 1232}function xd(e,t){e=e|0;t=t|0;var n=0.0,r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=wd(e)|0;e=o[u+4>>2]|0;o[a>>2]=o[u>>2];o[a+4>>2]=e;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];n=+Ed(t,i);p=r;return+n}function wd(e){e=e|0;return(o[(sd()|0)+24>>2]|0)+(e*12|0)|0}function Ed(e,t){e=e|0;t=t|0;var n=0;n=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)n=o[(o[e>>2]|0)+n>>2]|0;return+ +Na(+DA[n&15](e))}function kd(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Cd(e,n,i,1);p=r;return}function Cd(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=Sd()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=Td(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Ad(a,r)|0,r);p=i;return}function Sd(){var e=0,t=0;if(!(r[7720]|0)){Rd(9592);Re(36,9592,v|0)|0;t=7720;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9592)|0)){e=9592;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Rd(9592)}return 9592}function Td(e){e=e|0;return 0}function Ad(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=Sd()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Fd(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Md(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Fd(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Md(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Bd(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;Pd(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Fd(a,r,n);o[l>>2]=(o[l>>2]|0)+12;Nd(e,s);Od(s);p=c;return}}function Bd(e){e=e|0;return 357913941}function Pd(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function Nd(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Od(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function Rd(e){e=e|0;jd(e);return}function Id(e){e=e|0;Ld(e+24|0);return}function Ld(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function jd(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,7,t,Ud()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Ud(){return 1276}function zd(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0;n=p;p=p+16|0;r=n+8|0;i=n;a=Wd(e)|0;e=o[a+4>>2]|0;o[i>>2]=o[a>>2];o[i+4>>2]=e;o[r>>2]=o[i>>2];o[r+4>>2]=o[i+4>>2];t=Hd(t,r)|0;p=n;return t|0}function Wd(e){e=e|0;return(o[(Sd()|0)+24>>2]|0)+(e*12|0)|0}function Hd(e,t){e=e|0;t=t|0;var n=0,r=0,i=0;i=p;p=p+16|0;r=i;n=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)n=o[(o[e>>2]|0)+n>>2]|0;mA[n&31](r,e);r=Xd(r)|0;p=i;return r|0}function Xd(e){e=e|0;var t=0,n=0,r=0,i=0;i=p;p=p+32|0;t=i+12|0;n=i;r=us(Jd()|0)|0;if(!r)e=qd(e)|0;else{ss(t,r);ls(n,t);Gd(e,n);e=fs(t)|0}p=i;return e|0}function Jd(){var e=0;if(!(r[7736]|0)){ih(9640);Re(25,9640,v|0)|0;e=7736;o[e>>2]=1;o[e+4>>2]=0}return 9640}function Gd(e,t){e=e|0;t=t|0;Qd(t,e,e+8|0)|0;return}function qd(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,u=0,s=0;n=p;p=p+16|0;i=n+4|0;u=n;r=Uw(8)|0;t=r;s=qS(16)|0;o[s>>2]=o[e>>2];o[s+4>>2]=o[e+4>>2];o[s+8>>2]=o[e+8>>2];o[s+12>>2]=o[e+12>>2];a=t+4|0;o[a>>2]=s;e=qS(8)|0;a=o[a>>2]|0;o[u>>2]=0;o[i>>2]=o[u>>2];$d(e,a,i);o[r>>2]=e;p=n;return t|0}function $d(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;n=qS(16)|0;o[n+4>>2]=0;o[n+8>>2]=0;o[n>>2]=1244;o[n+12>>2]=t;o[e+4>>2]=n;return}function Vd(e){e=e|0;zS(e);VS(e);return}function Yd(e){e=e|0;e=o[e+12>>2]|0;if(e|0)VS(e);return}function Kd(e){e=e|0;VS(e);return}function Qd(e,t,n){e=e|0;t=t|0;n=n|0;t=Zd(o[e>>2]|0,t,n)|0;n=e+4|0;o[(o[n>>2]|0)+8>>2]=t;return o[(o[n>>2]|0)+8>>2]|0}function Zd(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0;r=p;p=p+16|0;i=r;wC(i);e=xa(e)|0;n=eh(e,o[t>>2]|0,+c[n>>3])|0;kC(i);p=r;return n|0}function eh(e,t,n){e=e|0;t=t|0;n=+n;var r=0;r=ka(th()|0)|0;t=Sa(t)|0;return Te(0,r|0,e|0,t|0,+ +Ca(n))|0}function th(){var e=0;if(!(r[7728]|0)){nh(9628);e=7728;o[e>>2]=1;o[e+4>>2]=0}return 9628}function nh(e){e=e|0;Ia(e,rh()|0,2);return}function rh(){return 1264}function ih(e){e=e|0;As(e);return}function oh(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];ah(e,n,i,1);p=r;return}function ah(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=uh()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=sh(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,lh(a,r)|0,r);p=i;return}function uh(){var e=0,t=0;if(!(r[7744]|0)){gh(9684);Re(37,9684,v|0)|0;t=7744;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9684)|0)){e=9684;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));gh(9684)}return 9684}function sh(e){e=e|0;return 0}function lh(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=uh()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];ch(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{fh(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function ch(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function fh(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=dh(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;hh(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];ch(a,r,n);o[l>>2]=(o[l>>2]|0)+12;ph(e,s);mh(s);p=c;return}}function dh(e){e=e|0;return 357913941}function hh(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function ph(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function mh(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function gh(e){e=e|0;_h(e);return}function vh(e){e=e|0;yh(e+24|0);return}function yh(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function _h(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,5,t,bh()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function bh(){return 1280}function Dh(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=xh(e)|0;e=o[u+4>>2]|0;o[a>>2]=o[u>>2];o[a+4>>2]=e;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];n=wh(t,i,n)|0;p=r;return n|0}function xh(e){e=e|0;return(o[(uh()|0)+24>>2]|0)+(e*12|0)|0}function wh(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;u=p;p=p+32|0;i=u;a=u+16|0;r=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)r=o[(o[e>>2]|0)+r>>2]|0;Ks(a,n);a=Qs(a,n)|0;MA[r&15](i,e,a);a=Xd(i)|0;p=u;return a|0}function Eh(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];kh(e,n,i,1);p=r;return}function kh(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=Ch()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=Sh(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Th(a,r)|0,r);p=i;return}function Ch(){var e=0,t=0;if(!(r[7752]|0)){Oh(9720);Re(38,9720,v|0)|0;t=7752;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9720)|0)){e=9720;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Oh(9720)}return 9720}function Sh(e){e=e|0;return 0}function Th(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=Ch()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Ah(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Fh(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Ah(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Fh(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Mh(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;Bh(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Ah(a,r,n);o[l>>2]=(o[l>>2]|0)+12;Ph(e,s);Nh(s);p=c;return}}function Mh(e){e=e|0;return 357913941}function Bh(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function Ph(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Nh(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function Oh(e){e=e|0;Lh(e);return}function Rh(e){e=e|0;Ih(e+24|0);return}function Ih(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function Lh(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,8,t,jh()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function jh(){return 1288}function Uh(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0;n=p;p=p+16|0;r=n+8|0;i=n;a=zh(e)|0;e=o[a+4>>2]|0;o[i>>2]=o[a>>2];o[i+4>>2]=e;o[r>>2]=o[i>>2];o[r+4>>2]=o[i+4>>2];t=Wh(t,r)|0;p=n;return t|0}function zh(e){e=e|0;return(o[(Ch()|0)+24>>2]|0)+(e*12|0)|0}function Wh(e,t){e=e|0;t=t|0;var n=0;n=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)n=o[(o[e>>2]|0)+n>>2]|0;return Pa(gA[n&31](e)|0)|0}function Hh(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Xh(e,n,i,0);p=r;return}function Xh(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=Jh()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=Gh(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,qh(a,r)|0,r);p=i;return}function Jh(){var e=0,t=0;if(!(r[7760]|0)){ep(9756);Re(39,9756,v|0)|0;t=7760;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9756)|0)){e=9756;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));ep(9756)}return 9756}function Gh(e){e=e|0;return 0}function qh(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=Jh()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];$h(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Vh(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function $h(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Vh(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Yh(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;Kh(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];$h(a,r,n);o[l>>2]=(o[l>>2]|0)+12;Qh(e,s);Zh(s);p=c;return}}function Yh(e){e=e|0;return 357913941}function Kh(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function Qh(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Zh(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function ep(e){e=e|0;rp(e);return}function tp(e){e=e|0;np(e+24|0);return}function np(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function rp(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,8,t,ip()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function ip(){return 1292}function op(e,t,n){e=e|0;t=t|0;n=+n;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=ap(e)|0;e=o[u+4>>2]|0;o[a>>2]=o[u>>2];o[a+4>>2]=e;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];up(t,i,n);p=r;return}function ap(e){e=e|0;return(o[(Jh()|0)+24>>2]|0)+(e*12|0)|0}function up(e,t,n){e=e|0;t=t|0;n=+n;var r=0,i=0,a=0;a=p;p=p+16|0;i=a;r=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)r=o[(o[e>>2]|0)+r>>2]|0;Vs(i,n);n=+Ys(i,n);dA[r&31](e,n);p=a;return}function sp(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];lp(e,n,i,0);p=r;return}function lp(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=cp()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=fp(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,dp(a,r)|0,r);p=i;return}function cp(){var e=0,t=0;if(!(r[7768]|0)){_p(9792);Re(40,9792,v|0)|0;t=7768;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9792)|0)){e=9792;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));_p(9792)}return 9792}function fp(e){e=e|0;return 0}function dp(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=cp()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];hp(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{pp(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function hp(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function pp(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=mp(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;gp(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];hp(a,r,n);o[l>>2]=(o[l>>2]|0)+12;vp(e,s);yp(s);p=c;return}}function mp(e){e=e|0;return 357913941}function gp(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function vp(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function yp(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function _p(e){e=e|0;xp(e);return}function bp(e){e=e|0;Dp(e+24|0);return}function Dp(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function xp(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,1,t,wp()|0,2);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function wp(){return 1300}function Ep(e,t,n,r){e=e|0;t=t|0;n=n|0;r=+r;var i=0,a=0,u=0,s=0;i=p;p=p+16|0;a=i+8|0;u=i;s=kp(e)|0;e=o[s+4>>2]|0;o[u>>2]=o[s>>2];o[u+4>>2]=e;o[a>>2]=o[u>>2];o[a+4>>2]=o[u+4>>2];Cp(t,a,n,r);p=i;return}function kp(e){e=e|0;return(o[(cp()|0)+24>>2]|0)+(e*12|0)|0}function Cp(e,t,n,r){e=e|0;t=t|0;n=n|0;r=+r;var i=0,a=0,u=0,s=0;s=p;p=p+16|0;a=s+1|0;u=s;i=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)i=o[(o[e>>2]|0)+i>>2]|0;Ks(a,n);a=Qs(a,n)|0;Vs(u,r);r=+Ys(u,r);PA[i&15](e,a,r);p=s;return}function Sp(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Tp(e,n,i,0);p=r;return}function Tp(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=Ap()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=Fp(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Mp(a,r)|0,r);p=i;return}function Ap(){var e=0,t=0;if(!(r[7776]|0)){Lp(9828);Re(41,9828,v|0)|0;t=7776;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9828)|0)){e=9828;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Lp(9828)}return 9828}function Fp(e){e=e|0;return 0}function Mp(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=Ap()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Bp(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Pp(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Bp(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Pp(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Np(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;Op(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Bp(a,r,n);o[l>>2]=(o[l>>2]|0)+12;Rp(e,s);Ip(s);p=c;return}}function Np(e){e=e|0;return 357913941}function Op(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function Rp(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Ip(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function Lp(e){e=e|0;zp(e);return}function jp(e){e=e|0;Up(e+24|0);return}function Up(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function zp(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,7,t,Wp()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Wp(){return 1312}function Hp(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=Xp(e)|0;e=o[u+4>>2]|0;o[a>>2]=o[u>>2];o[a+4>>2]=e;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Jp(t,i,n);p=r;return}function Xp(e){e=e|0;return(o[(Ap()|0)+24>>2]|0)+(e*12|0)|0}function Jp(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0;a=p;p=p+16|0;i=a;r=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)r=o[(o[e>>2]|0)+r>>2]|0;Ks(i,n);i=Qs(i,n)|0;mA[r&31](e,i);p=a;return}function Gp(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];qp(e,n,i,0);p=r;return}function qp(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=$p()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=Vp(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Yp(a,r)|0,r);p=i;return}function $p(){var e=0,t=0;if(!(r[7784]|0)){rm(9864);Re(42,9864,v|0)|0;t=7784;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9864)|0)){e=9864;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));rm(9864)}return 9864}function Vp(e){e=e|0;return 0}function Yp(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=$p()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Kp(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Qp(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Kp(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Qp(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Zp(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;em(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Kp(a,r,n);o[l>>2]=(o[l>>2]|0)+12;tm(e,s);nm(s);p=c;return}}function Zp(e){e=e|0;return 357913941}function em(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function tm(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function nm(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function rm(e){e=e|0;am(e);return}function im(e){e=e|0;om(e+24|0);return}function om(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function am(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,8,t,um()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function um(){return 1320}function sm(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=lm(e)|0;e=o[u+4>>2]|0;o[a>>2]=o[u>>2];o[a+4>>2]=e;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];cm(t,i,n);p=r;return}function lm(e){e=e|0;return(o[($p()|0)+24>>2]|0)+(e*12|0)|0}function cm(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0;a=p;p=p+16|0;i=a;r=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)r=o[(o[e>>2]|0)+r>>2]|0;fm(i,n);i=dm(i,n)|0;mA[r&31](e,i);p=a;return}function fm(e,t){e=e|0;t=t|0;return}function dm(e,t){e=e|0;t=t|0;return hm(t)|0}function hm(e){e=e|0;return e|0}function pm(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];mm(e,n,i,0);p=r;return}function mm(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=gm()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=vm(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,ym(a,r)|0,r);p=i;return}function gm(){var e=0,t=0;if(!(r[7792]|0)){km(9900);Re(43,9900,v|0)|0;t=7792;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9900)|0)){e=9900;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));km(9900)}return 9900}function vm(e){e=e|0;return 0}function ym(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=gm()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];_m(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{bm(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function _m(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function bm(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Dm(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;xm(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];_m(a,r,n);o[l>>2]=(o[l>>2]|0)+12;wm(e,s);Em(s);p=c;return}}function Dm(e){e=e|0;return 357913941}function xm(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function wm(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Em(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function km(e){e=e|0;Tm(e);return}function Cm(e){e=e|0;Sm(e+24|0);return}function Sm(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function Tm(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,22,t,Am()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Am(){return 1344}function Fm(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0;n=p;p=p+16|0;r=n+8|0;i=n;a=Mm(e)|0;e=o[a+4>>2]|0;o[i>>2]=o[a>>2];o[i+4>>2]=e;o[r>>2]=o[i>>2];o[r+4>>2]=o[i+4>>2];Bm(t,r);p=n;return}function Mm(e){e=e|0;return(o[(gm()|0)+24>>2]|0)+(e*12|0)|0}function Bm(e,t){e=e|0;t=t|0;var n=0;n=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)n=o[(o[e>>2]|0)+n>>2]|0;pA[n&127](e);return}function Pm(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=o[e>>2]|0;i=Nm()|0;e=Om(n)|0;Iu(a,t,i,e,Rm(n,r)|0,r);return}function Nm(){var e=0,t=0;if(!(r[7800]|0)){Hm(9936);Re(44,9936,v|0)|0;t=7800;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9936)|0)){e=9936;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Hm(9936)}return 9936}function Om(e){e=e|0;return e|0}function Rm(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=Nm()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){Im(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{Lm(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function Im(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function Lm(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=jm(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;Um(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;Im(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;zm(e,i);Wm(i);p=s;return}}function jm(e){e=e|0;return 536870911}function Um(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)$e();else{i=qS(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function zm(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Wm(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function Hm(e){e=e|0;Gm(e);return}function Xm(e){e=e|0;Jm(e+24|0);return}function Jm(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function Gm(e){e=e|0;var t=0;t=Zu()|0;ns(e,1,23,t,mf()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function qm(e,t){e=e|0;t=t|0;Vm(o[($m(e)|0)>>2]|0,t);return}function $m(e){e=e|0;return(o[(Nm()|0)+24>>2]|0)+(e<<3)|0}function Vm(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;_f(r,t);t=bf(r,t)|0;pA[e&127](t);p=n;return}function Ym(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=o[e>>2]|0;i=Km()|0;e=Qm(n)|0;Iu(a,t,i,e,Zm(n,r)|0,r);return}function Km(){var e=0,t=0;if(!(r[7808]|0)){ag(9972);Re(45,9972,v|0)|0;t=7808;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9972)|0)){e=9972;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));ag(9972)}return 9972}function Qm(e){e=e|0;return e|0}function Zm(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=Km()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){eg(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{tg(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function eg(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function tg(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=ng(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;rg(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;eg(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;ig(e,i);og(i);p=s;return}}function ng(e){e=e|0;return 536870911}function rg(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)$e();else{i=qS(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function ig(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function og(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function ag(e){e=e|0;lg(e);return}function ug(e){e=e|0;sg(e+24|0);return}function sg(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function lg(e){e=e|0;var t=0;t=Zu()|0;ns(e,1,9,t,cg()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function cg(){return 1348}function fg(e,t){e=e|0;t=t|0;return hg(o[(dg(e)|0)>>2]|0,t)|0}function dg(e){e=e|0;return(o[(Km()|0)+24>>2]|0)+(e<<3)|0}function hg(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;pg(r,t);t=mg(r,t)|0;t=dc(gA[e&31](t)|0)|0;p=n;return t|0}function pg(e,t){e=e|0;t=t|0;return}function mg(e,t){e=e|0;t=t|0;return gg(t)|0}function gg(e){e=e|0;return e|0}function vg(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=o[e>>2]|0;i=yg()|0;e=_g(n)|0;Iu(a,t,i,e,bg(n,r)|0,r);return}function yg(){var e=0,t=0;if(!(r[7816]|0)){Sg(10008);Re(46,10008,v|0)|0;t=7816;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10008)|0)){e=10008;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Sg(10008)}return 10008}function _g(e){e=e|0;return e|0}function bg(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=yg()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){Dg(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{xg(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function Dg(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function xg(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=wg(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;Eg(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;Dg(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;kg(e,i);Cg(i);p=s;return}}function wg(e){e=e|0;return 536870911}function Eg(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)$e();else{i=qS(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function kg(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Cg(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function Sg(e){e=e|0;Fg(e);return}function Tg(e){e=e|0;Ag(e+24|0);return}function Ag(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function Fg(e){e=e|0;var t=0;t=Zu()|0;ns(e,1,15,t,Ac()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Mg(e){e=e|0;return Pg(o[(Bg(e)|0)>>2]|0)|0}function Bg(e){e=e|0;return(o[(yg()|0)+24>>2]|0)+(e<<3)|0}function Pg(e){e=e|0;return dc(SA[e&7]()|0)|0}function Ng(){var e=0;if(!(r[7832]|0)){Xg(10052);Re(25,10052,v|0)|0;e=7832;o[e>>2]=1;o[e+4>>2]=0}return 10052}function Og(e,t){e=e|0;t=t|0;o[e>>2]=Rg()|0;o[e+4>>2]=Ig()|0;o[e+12>>2]=t;o[e+8>>2]=Lg()|0;o[e+32>>2]=2;return}function Rg(){return 11709}function Ig(){return 1188}function Lg(){return Wg()|0}function jg(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;if((Ug(r,896)|0)==512){if(n|0){zg(n);VS(n)}}else if(t|0){Ki(t);VS(t)}return}function Ug(e,t){e=e|0;t=t|0;return t&e|0}function zg(e){e=e|0;e=o[e+4>>2]|0;if(e|0)JS(e);return}function Wg(){var e=0;if(!(r[7824]|0)){o[2511]=Hg()|0;o[2512]=0;e=7824;o[e>>2]=1;o[e+4>>2]=0}return 10044}function Hg(){return 0}function Xg(e){e=e|0;As(e);return}function Jg(e){e=e|0;var t=0,n=0,r=0,i=0,a=0;t=p;p=p+32|0;n=t+24|0;a=t+16|0;i=t+8|0;r=t;Gg(e,4827);qg(e,4834,3)|0;$g(e,3682,47)|0;o[a>>2]=9;o[a+4>>2]=0;o[n>>2]=o[a>>2];o[n+4>>2]=o[a+4>>2];Vg(e,4841,n)|0;o[i>>2]=1;o[i+4>>2]=0;o[n>>2]=o[i>>2];o[n+4>>2]=o[i+4>>2];Yg(e,4871,n)|0;o[r>>2]=10;o[r+4>>2]=0;o[n>>2]=o[r>>2];o[n+4>>2]=o[r+4>>2];Kg(e,4891,n)|0;p=t;return}function Gg(e,t){e=e|0;t=t|0;var n=0;n=Xy()|0;o[e>>2]=n;Jy(n,t);cD(o[e>>2]|0);return}function qg(e,t,n){e=e|0;t=t|0;n=n|0;ky(e,Bu(t)|0,n,0);return e|0}function $g(e,t,n){e=e|0;t=t|0;n=n|0;uy(e,Bu(t)|0,n,0);return e|0}function Vg(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];jv(e,t,i);p=r;return e|0}function Yg(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];vv(e,t,i);p=r;return e|0}function Kg(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Qg(e,t,i);p=r;return e|0}function Qg(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Zg(e,n,i,1);p=r;return}function Zg(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=ev()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=tv(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,nv(a,r)|0,r);p=i;return}function ev(){var e=0,t=0;if(!(r[7840]|0)){lv(10100);Re(48,10100,v|0)|0;t=7840;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10100)|0)){e=10100;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));lv(10100)}return 10100}function tv(e){e=e|0;return 0}function nv(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=ev()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];rv(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{iv(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function rv(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function iv(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=ov(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;av(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];rv(a,r,n);o[l>>2]=(o[l>>2]|0)+12;uv(e,s);sv(s);p=c;return}}function ov(e){e=e|0;return 357913941}function av(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function uv(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function sv(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function lv(e){e=e|0;dv(e);return}function cv(e){e=e|0;fv(e+24|0);return}function fv(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function dv(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,6,t,hv()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function hv(){return 1364}function pv(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=mv(e)|0;e=o[u+4>>2]|0;o[a>>2]=o[u>>2];o[a+4>>2]=e;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];n=gv(t,i,n)|0;p=r;return n|0}function mv(e){e=e|0;return(o[(ev()|0)+24>>2]|0)+(e*12|0)|0}function gv(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0;a=p;p=p+16|0;i=a;r=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)r=o[(o[e>>2]|0)+r>>2]|0;Ks(i,n);i=Qs(i,n)|0;i=bl(wA[r&15](e,i)|0)|0;p=a;return i|0}function vv(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];yv(e,n,i,0);p=r;return}function yv(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=_v()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=bv(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Dv(a,r)|0,r);p=i;return}function _v(){var e=0,t=0;if(!(r[7848]|0)){Tv(10136);Re(49,10136,v|0)|0;t=7848;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10136)|0)){e=10136;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Tv(10136)}return 10136}function bv(e){e=e|0;return 0}function Dv(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=_v()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];xv(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{wv(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function xv(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function wv(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Ev(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;kv(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];xv(a,r,n);o[l>>2]=(o[l>>2]|0)+12;Cv(e,s);Sv(s);p=c;return}}function Ev(e){e=e|0;return 357913941}function kv(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function Cv(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Sv(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function Tv(e){e=e|0;Mv(e);return}function Av(e){e=e|0;Fv(e+24|0);return}function Fv(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function Mv(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,9,t,Bv()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Bv(){return 1372}function Pv(e,t,n){e=e|0;t=t|0;n=+n;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=Nv(e)|0;e=o[u+4>>2]|0;o[a>>2]=o[u>>2];o[a+4>>2]=e;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Ov(t,i,n);p=r;return}function Nv(e){e=e|0;return(o[(_v()|0)+24>>2]|0)+(e*12|0)|0}function Ov(e,t,n){e=e|0;t=t|0;n=+n;var r=0,i=0,a=0,u=ft;a=p;p=p+16|0;i=a;r=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)r=o[(o[e>>2]|0)+r>>2]|0;Rv(i,n);u=$(Iv(i,n));fA[r&1](e,u);p=a;return}function Rv(e,t){e=e|0;t=+t;return}function Iv(e,t){e=e|0;t=+t;return $(Lv(t))}function Lv(e){e=+e;return $(e)}function jv(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Bu(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Uv(e,n,i,0);p=r;return}function Uv(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=zv()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=Wv(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Hv(a,r)|0,r);p=i;return}function zv(){var e=0,t=0;if(!(r[7856]|0)){Yv(10172);Re(50,10172,v|0)|0;t=7856;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10172)|0)){e=10172;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Yv(10172)}return 10172}function Wv(e){e=e|0;return 0}function Hv(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;d=zv()|0;c=d+24|0;e=zu(t,4)|0;o[l>>2]=e;t=d+28|0;n=o[t>>2]|0;if(n>>>0<(o[d+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Xv(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Jv(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Xv(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Jv(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Gv(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;h=((o[e+8>>2]|0)-f|0)/12|0;d=h<<1;qv(s,h>>>0>>1>>>0?d>>>0>>0?i:d:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Xv(a,r,n);o[l>>2]=(o[l>>2]|0)+12;$v(e,s);Vv(s);p=c;return}}function Gv(e){e=e|0;return 357913941}function qv(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)$e();else{i=qS(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function $v(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Vv(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function Yv(e){e=e|0;Zv(e);return}function Kv(e){e=e|0;Qv(e+24|0);return}function Qv(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function Zv(e){e=e|0;var t=0;t=Zu()|0;ns(e,2,3,t,ey()|0,2);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function ey(){return 1380}function ty(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0;i=p;p=p+16|0;a=i+8|0;u=i;s=ny(e)|0;e=o[s+4>>2]|0;o[u>>2]=o[s>>2];o[u+4>>2]=e;o[a>>2]=o[u>>2];o[a+4>>2]=o[u+4>>2];ry(t,a,n,r);p=i;return}function ny(e){e=e|0;return(o[(zv()|0)+24>>2]|0)+(e*12|0)|0}function ry(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0;s=p;p=p+16|0;a=s+1|0;u=s;i=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)i=o[(o[e>>2]|0)+i>>2]|0;Ks(a,n);a=Qs(a,n)|0;iy(u,r);u=oy(u,r)|0;MA[i&15](e,a,u);p=s;return}function iy(e,t){e=e|0;t=t|0;return}function oy(e,t){e=e|0;t=t|0;return ay(t)|0}function ay(e){e=e|0;return(e|0)!=0|0}function uy(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=o[e>>2]|0;i=sy()|0;e=ly(n)|0;Iu(a,t,i,e,cy(n,r)|0,r);return}function sy(){var e=0,t=0;if(!(r[7864]|0)){vy(10208);Re(51,10208,v|0)|0;t=7864;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10208)|0)){e=10208;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));vy(10208)}return 10208}function ly(e){e=e|0;return e|0}function cy(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=sy()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){fy(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{dy(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function fy(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function dy(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=hy(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;py(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;fy(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;my(e,i);gy(i);p=s;return}}function hy(e){e=e|0;return 536870911}function py(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)$e();else{i=qS(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function my(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function gy(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function vy(e){e=e|0;by(e);return}function yy(e){e=e|0;_y(e+24|0);return}function _y(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function by(e){e=e|0;var t=0;t=Zu()|0;ns(e,1,24,t,Dy()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Dy(){return 1392}function xy(e,t){e=e|0;t=t|0;Ey(o[(wy(e)|0)>>2]|0,t);return}function wy(e){e=e|0;return(o[(sy()|0)+24>>2]|0)+(e<<3)|0}function Ey(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;pg(r,t);t=mg(r,t)|0;pA[e&127](t);p=n;return}function ky(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=o[e>>2]|0;i=Cy()|0;e=Sy(n)|0;Iu(a,t,i,e,Ty(n,r)|0,r);return}function Cy(){var e=0,t=0;if(!(r[7872]|0)){Oy(10244);Re(52,10244,v|0)|0;t=7872;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10244)|0)){e=10244;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Oy(10244)}return 10244}function Sy(e){e=e|0;return e|0}function Ty(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=Cy()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){Ay(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{Fy(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function Ay(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function Fy(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=My(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;By(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;Ay(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;Py(e,i);Ny(i);p=s;return}}function My(e){e=e|0;return 536870911}function By(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)$e();else{i=qS(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function Py(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Ny(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function Oy(e){e=e|0;Ly(e);return}function Ry(e){e=e|0;Iy(e+24|0);return}function Iy(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function Ly(e){e=e|0;var t=0;t=Zu()|0;ns(e,1,16,t,jy()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function jy(){return 1400}function Uy(e){e=e|0;return Wy(o[(zy(e)|0)>>2]|0)|0}function zy(e){e=e|0;return(o[(Cy()|0)+24>>2]|0)+(e<<3)|0}function Wy(e){e=e|0;return Hy(SA[e&7]()|0)|0}function Hy(e){e=e|0;return e|0}function Xy(){var e=0;if(!(r[7880]|0)){Ky(10280);Re(25,10280,v|0)|0;e=7880;o[e>>2]=1;o[e+4>>2]=0}return 10280}function Jy(e,t){e=e|0;t=t|0;o[e>>2]=Gy()|0;o[e+4>>2]=qy()|0;o[e+12>>2]=t;o[e+8>>2]=$y()|0;o[e+32>>2]=4;return}function Gy(){return 11711}function qy(){return 1356}function $y(){return Wg()|0}function Vy(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;if((Ug(r,896)|0)==512){if(n|0){Yy(n);VS(n)}}else if(t|0){Hi(t);VS(t)}return}function Yy(e){e=e|0;e=o[e+4>>2]|0;if(e|0)JS(e);return}function Ky(e){e=e|0;As(e);return}function Qy(e){e=e|0;Zy(e,4920);e_(e)|0;t_(e)|0;return}function Zy(e,t){e=e|0;t=t|0;var n=0;n=Jd()|0;o[e>>2]=n;S_(n,t);cD(o[e>>2]|0);return}function e_(e){e=e|0;var t=0;t=o[e>>2]|0;r_(t,m_()|0);return e|0}function t_(e){e=e|0;var t=0;t=o[e>>2]|0;r_(t,n_()|0);return e|0}function n_(){var e=0;if(!(r[7888]|0)){i_(10328);Re(53,10328,v|0)|0;e=7888;o[e>>2]=1;o[e+4>>2]=0}if(!(Yu(10328)|0))i_(10328);return 10328}function r_(e,t){e=e|0;t=t|0;Iu(e,0,t,0,0,0);return}function i_(e){e=e|0;u_(e);l_(e,10);return}function o_(e){e=e|0;a_(e+24|0);return}function a_(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function u_(e){e=e|0;var t=0;t=Zu()|0;ns(e,5,1,t,d_()|0,2);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function s_(e,t,n){e=e|0;t=t|0;n=+n;c_(e,t,n);return}function l_(e,t){e=e|0;t=t|0;o[e+20>>2]=t;return}function c_(e,t,n){e=e|0;t=t|0;n=+n;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;a=r+8|0;s=r+13|0;i=r;u=r+12|0;Ks(s,t);o[a>>2]=Qs(s,t)|0;Vs(u,n);c[i>>3]=+Ys(u,n);f_(e,a,i);p=r;return}function f_(e,t,n){e=e|0;t=t|0;n=n|0;Xo(e+8|0,o[t>>2]|0,+c[n>>3]);r[e+24>>0]=1;return}function d_(){return 1404}function h_(e,t){e=e|0;t=+t;return p_(e,t)|0}function p_(e,t){e=e|0;t=+t;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;r=p;p=p+16|0;a=r+4|0;u=r+8|0;s=r;i=Uw(8)|0;n=i;l=qS(16)|0;Ks(a,e);e=Qs(a,e)|0;Vs(u,t);Xo(l,e,+Ys(u,t));u=n+4|0;o[u>>2]=l;e=qS(8)|0;u=o[u>>2]|0;o[s>>2]=0;o[a>>2]=o[s>>2];$d(e,u,a);o[i>>2]=e;p=r;return n|0}function m_(){var e=0;if(!(r[7896]|0)){g_(10364);Re(54,10364,v|0)|0;e=7896;o[e>>2]=1;o[e+4>>2]=0}if(!(Yu(10364)|0))g_(10364);return 10364}function g_(e){e=e|0;__(e);l_(e,55);return}function v_(e){e=e|0;y_(e+24|0);return}function y_(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function __(e){e=e|0;var t=0;t=Zu()|0;ns(e,5,4,t,E_()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function b_(e){e=e|0;D_(e);return}function D_(e){e=e|0;x_(e);return}function x_(e){e=e|0;w_(e+8|0);r[e+24>>0]=1;return}function w_(e){e=e|0;o[e>>2]=0;c[e+8>>3]=0.0;return}function E_(){return 1424}function k_(){return C_()|0}function C_(){var e=0,t=0,n=0,r=0,i=0,a=0,u=0;t=p;p=p+16|0;i=t+4|0;u=t;n=Uw(8)|0;e=n;r=qS(16)|0;w_(r);a=e+4|0;o[a>>2]=r;r=qS(8)|0;a=o[a>>2]|0;o[u>>2]=0;o[i>>2]=o[u>>2];$d(r,a,i);o[n>>2]=r;p=t;return e|0}function S_(e,t){e=e|0;t=t|0;o[e>>2]=T_()|0;o[e+4>>2]=A_()|0;o[e+12>>2]=t;o[e+8>>2]=F_()|0;o[e+32>>2]=5;return}function T_(){return 11710}function A_(){return 1416}function F_(){return P_()|0}function M_(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;if((Ug(r,896)|0)==512){if(n|0){B_(n);VS(n)}}else if(t|0)VS(t);return}function B_(e){e=e|0;e=o[e+4>>2]|0;if(e|0)JS(e);return}function P_(){var e=0;if(!(r[7904]|0)){o[2600]=N_()|0;o[2601]=0;e=7904;o[e>>2]=1;o[e+4>>2]=0}return 10400}function N_(){return o[357]|0}function O_(e){e=e|0;R_(e,4926);I_(e)|0;return}function R_(e,t){e=e|0;t=t|0;var n=0;n=as()|0;o[e>>2]=n;V_(n,t);cD(o[e>>2]|0);return}function I_(e){e=e|0;var t=0;t=o[e>>2]|0;r_(t,L_()|0);return e|0}function L_(){var e=0;if(!(r[7912]|0)){j_(10412);Re(56,10412,v|0)|0;e=7912;o[e>>2]=1;o[e+4>>2]=0}if(!(Yu(10412)|0))j_(10412);return 10412}function j_(e){e=e|0;W_(e);l_(e,57);return}function U_(e){e=e|0;z_(e+24|0);return}function z_(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function W_(e){e=e|0;var t=0;t=Zu()|0;ns(e,5,5,t,G_()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function H_(e){e=e|0;X_(e);return}function X_(e){e=e|0;J_(e);return}function J_(e){e=e|0;var t=0,n=0;t=e+8|0;n=t+48|0;do{o[t>>2]=0;t=t+4|0}while((t|0)<(n|0));r[e+56>>0]=1;return}function G_(){return 1432}function q_(){return $_()|0}function $_(){var e=0,t=0,n=0,r=0,i=0,a=0,u=0,s=0;u=p;p=p+16|0;e=u+4|0;t=u;n=Uw(8)|0;r=n;i=qS(48)|0;a=i;s=a+48|0;do{o[a>>2]=0;a=a+4|0}while((a|0)<(s|0));a=r+4|0;o[a>>2]=i;s=qS(8)|0;a=o[a>>2]|0;o[t>>2]=0;o[e>>2]=o[t>>2];hs(s,a,e);o[n>>2]=s;p=u;return r|0}function V_(e,t){e=e|0;t=t|0;o[e>>2]=Y_()|0;o[e+4>>2]=K_()|0;o[e+12>>2]=t;o[e+8>>2]=Q_()|0;o[e+32>>2]=6;return}function Y_(){return 11704}function K_(){return 1436}function Q_(){return P_()|0}function Z_(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;if((Ug(r,896)|0)==512){if(n|0){eb(n);VS(n)}}else if(t|0)VS(t);return}function eb(e){e=e|0;e=o[e+4>>2]|0;if(e|0)JS(e);return}function tb(e){e=e|0;nb(e,4933);rb(e)|0;ib(e)|0;return}function nb(e,t){e=e|0;t=t|0;var n=0;n=Pb()|0;o[e>>2]=n;Nb(n,t);cD(o[e>>2]|0);return}function rb(e){e=e|0;var t=0;t=o[e>>2]|0;r_(t,Db()|0);return e|0}function ib(e){e=e|0;var t=0;t=o[e>>2]|0;r_(t,ob()|0);return e|0}function ob(){var e=0;if(!(r[7920]|0)){ab(10452);Re(58,10452,v|0)|0;e=7920;o[e>>2]=1;o[e+4>>2]=0}if(!(Yu(10452)|0))ab(10452);return 10452}function ab(e){e=e|0;lb(e);l_(e,1);return}function ub(e){e=e|0;sb(e+24|0);return}function sb(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function lb(e){e=e|0;var t=0;t=Zu()|0;ns(e,5,1,t,pb()|0,2);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function cb(e,t,n){e=e|0;t=+t;n=+n;fb(e,t,n);return}function fb(e,t,n){e=e|0;t=+t;n=+n;var r=0,i=0,o=0,a=0,u=0;r=p;p=p+32|0;o=r+8|0;u=r+17|0;i=r;a=r+16|0;Vs(u,t);c[o>>3]=+Ys(u,t);Vs(a,n);c[i>>3]=+Ys(a,n);db(e,o,i);p=r;return}function db(e,t,n){e=e|0;t=t|0;n=n|0;hb(e+8|0,+c[t>>3],+c[n>>3]);r[e+24>>0]=1;return}function hb(e,t,n){e=e|0;t=+t;n=+n;c[e>>3]=t;c[e+8>>3]=n;return}function pb(){return 1472}function mb(e,t){e=+e;t=+t;return gb(e,t)|0}function gb(e,t){e=+e;t=+t;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;r=p;p=p+16|0;u=r+4|0;s=r+8|0;l=r;i=Uw(8)|0;n=i;a=qS(16)|0;Vs(u,e);e=+Ys(u,e);Vs(s,t);hb(a,e,+Ys(s,t));s=n+4|0;o[s>>2]=a;a=qS(8)|0;s=o[s>>2]|0;o[l>>2]=0;o[u>>2]=o[l>>2];vb(a,s,u);o[i>>2]=a;p=r;return n|0}function vb(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;n=qS(16)|0;o[n+4>>2]=0;o[n+8>>2]=0;o[n>>2]=1452;o[n+12>>2]=t;o[e+4>>2]=n;return}function yb(e){e=e|0;zS(e);VS(e);return}function _b(e){e=e|0;e=o[e+12>>2]|0;if(e|0)VS(e);return}function bb(e){e=e|0;VS(e);return}function Db(){var e=0;if(!(r[7928]|0)){xb(10488);Re(59,10488,v|0)|0;e=7928;o[e>>2]=1;o[e+4>>2]=0}if(!(Yu(10488)|0))xb(10488);return 10488}function xb(e){e=e|0;kb(e);l_(e,60);return}function wb(e){e=e|0;Eb(e+24|0);return}function Eb(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function kb(e){e=e|0;var t=0;t=Zu()|0;ns(e,5,6,t,Fb()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Cb(e){e=e|0;Sb(e);return}function Sb(e){e=e|0;Tb(e);return}function Tb(e){e=e|0;Ab(e+8|0);r[e+24>>0]=1;return}function Ab(e){e=e|0;o[e>>2]=0;o[e+4>>2]=0;o[e+8>>2]=0;o[e+12>>2]=0;return}function Fb(){return 1492}function Mb(){return Bb()|0}function Bb(){var e=0,t=0,n=0,r=0,i=0,a=0,u=0;t=p;p=p+16|0;i=t+4|0;u=t;n=Uw(8)|0;e=n;r=qS(16)|0;Ab(r);a=e+4|0;o[a>>2]=r;r=qS(8)|0;a=o[a>>2]|0;o[u>>2]=0;o[i>>2]=o[u>>2];vb(r,a,i);o[n>>2]=r;p=t;return e|0}function Pb(){var e=0;if(!(r[7936]|0)){Ub(10524);Re(25,10524,v|0)|0;e=7936;o[e>>2]=1;o[e+4>>2]=0}return 10524}function Nb(e,t){e=e|0;t=t|0;o[e>>2]=Ob()|0;o[e+4>>2]=Rb()|0;o[e+12>>2]=t;o[e+8>>2]=Ib()|0;o[e+32>>2]=7;return}function Ob(){return 11700}function Rb(){return 1484}function Ib(){return P_()|0}function Lb(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;if((Ug(r,896)|0)==512){if(n|0){jb(n);VS(n)}}else if(t|0)VS(t);return}function jb(e){e=e|0;e=o[e+4>>2]|0;if(e|0)JS(e);return}function Ub(e){e=e|0;As(e);return}function zb(e,t,n){e=e|0;t=t|0;n=n|0;e=Bu(t)|0;t=Wb(n)|0;n=Hb(n,0)|0;TD(e,t,n,Xb()|0,0);return}function Wb(e){e=e|0;return e|0}function Hb(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=Xb()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){Qb(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{Zb(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function Xb(){var e=0,t=0;if(!(r[7944]|0)){Jb(10568);Re(61,10568,v|0)|0;t=7944;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10568)|0)){e=10568;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Jb(10568)}return 10568}function Jb(e){e=e|0;$b(e);return}function Gb(e){e=e|0;qb(e+24|0);return}function qb(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function $b(e){e=e|0;var t=0;t=Zu()|0;ns(e,1,17,t,$c()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Vb(e){e=e|0;return Kb(o[(Yb(e)|0)>>2]|0)|0}function Yb(e){e=e|0;return(o[(Xb()|0)+24>>2]|0)+(e<<3)|0}function Kb(e){e=e|0;return Qc(SA[e&7]()|0)|0}function Qb(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function Zb(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=eD(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;tD(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;Qb(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;nD(e,i);rD(i);p=s;return}}function eD(e){e=e|0;return 536870911}function tD(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)$e();else{i=qS(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function nD(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function rD(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function iD(){oD();return}function oD(){aD(10604);return}function aD(e){e=e|0;uD(e,4955);return}function uD(e,t){e=e|0;t=t|0;var n=0;n=sD()|0;o[e>>2]=n;lD(n,t);cD(o[e>>2]|0);return}function sD(){var e=0;if(!(r[7952]|0)){bD(10612);Re(25,10612,v|0)|0;e=7952;o[e>>2]=1;o[e+4>>2]=0}return 10612}function lD(e,t){e=e|0;t=t|0;o[e>>2]=mD()|0;o[e+4>>2]=gD()|0;o[e+12>>2]=t;o[e+8>>2]=vD()|0;o[e+32>>2]=8;return}function cD(e){e=e|0;var t=0,n=0;t=p;p=p+16|0;n=t;fD()|0;o[n>>2]=e;dD(10608,n);p=t;return}function fD(){if(!(r[11714]|0)){o[2652]=0;Re(62,10608,v|0)|0;r[11714]=1}return 10608}function dD(e,t){e=e|0;t=t|0;var n=0;n=qS(8)|0;o[n+4>>2]=o[t>>2];o[n>>2]=o[e>>2];o[e>>2]=n;return}function hD(e){e=e|0;pD(e);return}function pD(e){e=e|0;var t=0,n=0;t=o[e>>2]|0;if(t|0)do{n=t;t=o[t>>2]|0;VS(n)}while((t|0)!=0);o[e>>2]=0;return}function mD(){return 11715}function gD(){return 1496}function vD(){return Wg()|0}function yD(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;if((Ug(r,896)|0)==512){if(n|0){_D(n);VS(n)}}else if(t|0)VS(t);return}function _D(e){e=e|0;e=o[e+4>>2]|0;if(e|0)JS(e);return}function bD(e){e=e|0;As(e);return}function DD(e,t){e=e|0;t=t|0;var n=0,r=0;fD()|0;n=o[2652]|0;e:do{if(n|0){while(1){r=o[n+4>>2]|0;if(r|0?(rS(xD(r)|0,e)|0)==0:0)break;n=o[n>>2]|0;if(!n)break e}wD(r,t)}}while(0);return}function xD(e){e=e|0;return o[e+12>>2]|0}function wD(e,t){e=e|0;t=t|0;var n=0;e=e+36|0;n=o[e>>2]|0;if(n|0){Qi(n);VS(n)}n=qS(4)|0;ya(n,t);o[e>>2]=n;return}function ED(){if(!(r[11716]|0)){o[2664]=0;Re(63,10656,v|0)|0;r[11716]=1}return 10656}function kD(){var e=0;if(!(r[11717]|0)){CD();o[2665]=1504;r[11717]=1;e=1504}else e=o[2665]|0;return e|0}function CD(){if(!(r[11740]|0)){r[11718]=zu(zu(8,0)|0,0)|0;r[11719]=zu(zu(0,0)|0,0)|0;r[11720]=zu(zu(0,16)|0,0)|0;r[11721]=zu(zu(8,0)|0,0)|0;r[11722]=zu(zu(0,0)|0,0)|0;r[11723]=zu(zu(8,0)|0,0)|0;r[11724]=zu(zu(0,0)|0,0)|0;r[11725]=zu(zu(8,0)|0,0)|0;r[11726]=zu(zu(0,0)|0,0)|0;r[11727]=zu(zu(8,0)|0,0)|0;r[11728]=zu(zu(0,0)|0,0)|0;r[11729]=zu(zu(0,0)|0,32)|0;r[11730]=zu(zu(0,0)|0,32)|0;r[11740]=1}return}function SD(){return 1572}function TD(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;var a=0,u=0,s=0,l=0,c=0,f=0;a=p;p=p+32|0;f=a+16|0;c=a+12|0;l=a+8|0;s=a+4|0;u=a;o[f>>2]=e;o[c>>2]=t;o[l>>2]=n;o[s>>2]=r;o[u>>2]=i;ED()|0;AD(10656,f,c,l,s,u);p=a;return}function AD(e,t,n,r,i,a){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;a=a|0;var u=0;u=qS(24)|0;Uu(u+4|0,o[t>>2]|0,o[n>>2]|0,o[r>>2]|0,o[i>>2]|0,o[a>>2]|0);o[u>>2]=o[e>>2];o[e>>2]=u;return}function FD(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0,m=0,g=0,v=0,y=0,_=0,b=0;b=p;p=p+32|0;g=b+20|0;v=b+8|0;y=b+4|0;_=b;t=o[t>>2]|0;if(t|0){m=g+4|0;l=g+8|0;c=v+4|0;f=v+8|0;d=v+8|0;h=g+8|0;do{u=t+4|0;s=MD(u)|0;if(s|0){i=BD(s)|0;o[g>>2]=0;o[m>>2]=0;o[l>>2]=0;r=(PD(s)|0)+1|0;ND(g,r);if(r|0)while(1){r=r+-1|0;vC(v,o[i>>2]|0);a=o[m>>2]|0;if(a>>>0<(o[h>>2]|0)>>>0){o[a>>2]=o[v>>2];o[m>>2]=(o[m>>2]|0)+4}else OD(g,v);if(!r)break;else i=i+4|0}r=RD(s)|0;o[v>>2]=0;o[c>>2]=0;o[f>>2]=0;e:do{if(o[r>>2]|0){i=0;a=0;while(1){if((i|0)==(a|0))ID(v,r);else{o[i>>2]=o[r>>2];o[c>>2]=(o[c>>2]|0)+4}r=r+4|0;if(!(o[r>>2]|0))break e;i=o[c>>2]|0;a=o[d>>2]|0}}}while(0);o[y>>2]=LD(u)|0;o[_>>2]=Yu(s)|0;jD(n,e,y,_,g,v);UD(v);zD(g)}t=o[t>>2]|0}while((t|0)!=0)}p=b;return}function MD(e){e=e|0;return o[e+12>>2]|0}function BD(e){e=e|0;return o[e+12>>2]|0}function PD(e){e=e|0;return o[e+16>>2]|0}function ND(e,t){e=e|0;t=t|0;var n=0,r=0,i=0;i=p;p=p+32|0;n=i;r=o[e>>2]|0;if((o[e+8>>2]|0)-r>>2>>>0>>0){bx(n,t,(o[e+4>>2]|0)-r>>2,e+8|0);Dx(e,n);xx(n)}p=i;return}function OD(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0;u=p;p=p+32|0;n=u;r=e+4|0;i=((o[r>>2]|0)-(o[e>>2]|0)>>2)+1|0;a=gx(e)|0;if(a>>>0>>0)US(e);else{s=o[e>>2]|0;c=(o[e+8>>2]|0)-s|0;l=c>>1;bx(n,c>>2>>>0>>1>>>0?l>>>0>>0?i:l:a,(o[r>>2]|0)-s>>2,e+8|0);a=n+8|0;o[o[a>>2]>>2]=o[t>>2];o[a>>2]=(o[a>>2]|0)+4;Dx(e,n);xx(n);p=u;return}}function RD(e){e=e|0;return o[e+8>>2]|0}function ID(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0;u=p;p=p+32|0;n=u;r=e+4|0;i=((o[r>>2]|0)-(o[e>>2]|0)>>2)+1|0;a=hx(e)|0;if(a>>>0>>0)US(e);else{s=o[e>>2]|0;c=(o[e+8>>2]|0)-s|0;l=c>>1;vx(n,c>>2>>>0>>1>>>0?l>>>0>>0?i:l:a,(o[r>>2]|0)-s>>2,e+8|0);a=n+8|0;o[o[a>>2]>>2]=o[t>>2];o[a>>2]=(o[a>>2]|0)+4;yx(e,n);_x(n);p=u;return}}function LD(e){e=e|0;return o[e>>2]|0}function jD(e,t,n,r,i,o){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;o=o|0;WD(e,t,n,r,i,o);return}function UD(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-4-r|0)>>>2)<<2);VS(n)}return}function zD(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-4-r|0)>>>2)<<2);VS(n)}return}function WD(e,t,n,r,i,a){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;a=a|0;var u=0,s=0,l=0,c=0,f=0,d=0;u=p;p=p+48|0;f=u+40|0;s=u+32|0;d=u+24|0;l=u+12|0;c=u;wC(s);e=xa(e)|0;o[d>>2]=o[t>>2];n=o[n>>2]|0;r=o[r>>2]|0;HD(l,i);XD(c,a);o[f>>2]=o[d>>2];JD(e,f,n,r,l,c);UD(c);zD(l);kC(s);p=u;return}function HD(e,t){e=e|0;t=t|0;var n=0,r=0;o[e>>2]=0;o[e+4>>2]=0;o[e+8>>2]=0;n=t+4|0;r=(o[n>>2]|0)-(o[t>>2]|0)>>2;if(r|0){px(e,r);mx(e,o[t>>2]|0,o[n>>2]|0,r)}return}function XD(e,t){e=e|0;t=t|0;var n=0,r=0;o[e>>2]=0;o[e+4>>2]=0;o[e+8>>2]=0;n=t+4|0;r=(o[n>>2]|0)-(o[t>>2]|0)>>2;if(r|0){fx(e,r);dx(e,o[t>>2]|0,o[n>>2]|0,r)}return}function JD(e,t,n,r,i,a){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;a=a|0;var u=0,s=0,l=0,c=0,f=0,d=0;u=p;p=p+32|0;f=u+28|0;d=u+24|0;s=u+12|0;l=u;c=ka(GD()|0)|0;o[d>>2]=o[t>>2];o[f>>2]=o[d>>2];t=qD(f)|0;n=$D(n)|0;r=VD(r)|0;o[s>>2]=o[i>>2];f=i+4|0;o[s+4>>2]=o[f>>2];d=i+8|0;o[s+8>>2]=o[d>>2];o[d>>2]=0;o[f>>2]=0;o[i>>2]=0;i=YD(s)|0;o[l>>2]=o[a>>2];f=a+4|0;o[l+4>>2]=o[f>>2];d=a+8|0;o[l+8>>2]=o[d>>2];o[d>>2]=0;o[f>>2]=0;o[a>>2]=0;Fe(0,c|0,e|0,t|0,n|0,r|0,i|0,KD(l)|0)|0;UD(l);zD(s);p=u;return}function GD(){var e=0;if(!(r[7968]|0)){lx(10708);e=7968;o[e>>2]=1;o[e+4>>2]=0}return 10708}function qD(e){e=e|0;return tx(e)|0}function $D(e){e=e|0;return ZD(e)|0}function VD(e){e=e|0;return Qc(e)|0}function YD(e){e=e|0;return ex(e)|0}function KD(e){e=e|0;return QD(e)|0}function QD(e){e=e|0;var t=0,n=0,r=0;r=(o[e+4>>2]|0)-(o[e>>2]|0)|0;n=r>>2;r=Uw(r+4|0)|0;o[r>>2]=n;if(n|0){t=0;do{o[r+4+(t<<2)>>2]=ZD(o[(o[e>>2]|0)+(t<<2)>>2]|0)|0;t=t+1|0}while((t|0)!=(n|0))}return r|0}function ZD(e){e=e|0;return e|0}function ex(e){e=e|0;var t=0,n=0,r=0;r=(o[e+4>>2]|0)-(o[e>>2]|0)|0;n=r>>2;r=Uw(r+4|0)|0;o[r>>2]=n;if(n|0){t=0;do{o[r+4+(t<<2)>>2]=tx((o[e>>2]|0)+(t<<2)|0)|0;t=t+1|0}while((t|0)!=(n|0))}return r|0}function tx(e){e=e|0;var t=0,n=0,r=0,i=0;i=p;p=p+32|0;t=i+12|0;n=i;r=us(nx()|0)|0;if(!r)e=rx(e)|0;else{ss(t,r);ls(n,t);bC(e,n);e=fs(t)|0}p=i;return e|0}function nx(){var e=0;if(!(r[7960]|0)){sx(10664);Re(25,10664,v|0)|0;e=7960;o[e>>2]=1;o[e+4>>2]=0}return 10664}function rx(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,u=0,s=0;n=p;p=p+16|0;i=n+4|0;u=n;r=Uw(8)|0;t=r;s=qS(4)|0;o[s>>2]=o[e>>2];a=t+4|0;o[a>>2]=s;e=qS(8)|0;a=o[a>>2]|0;o[u>>2]=0;o[i>>2]=o[u>>2];ix(e,a,i);o[r>>2]=e;p=n;return t|0}function ix(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;n=qS(16)|0;o[n+4>>2]=0;o[n+8>>2]=0;o[n>>2]=1656;o[n+12>>2]=t;o[e+4>>2]=n;return}function ox(e){e=e|0;zS(e);VS(e);return}function ax(e){e=e|0;e=o[e+12>>2]|0;if(e|0)VS(e);return}function ux(e){e=e|0;VS(e);return}function sx(e){e=e|0;As(e);return}function lx(e){e=e|0;Ia(e,cx()|0,5);return}function cx(){return 1676}function fx(e,t){e=e|0;t=t|0;var n=0;if((hx(e)|0)>>>0>>0)US(e);if(t>>>0>1073741823)$e();else{n=qS(t<<2)|0;o[e+4>>2]=n;o[e>>2]=n;o[e+8>>2]=n+(t<<2);return}}function dx(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;r=e+4|0;e=n-t|0;if((e|0)>0){iT(o[r>>2]|0,t|0,e|0)|0;o[r>>2]=(o[r>>2]|0)+(e>>>2<<2)}return}function hx(e){e=e|0;return 1073741823}function px(e,t){e=e|0;t=t|0;var n=0;if((gx(e)|0)>>>0>>0)US(e);if(t>>>0>1073741823)$e();else{n=qS(t<<2)|0;o[e+4>>2]=n;o[e>>2]=n;o[e+8>>2]=n+(t<<2);return}}function mx(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;r=e+4|0;e=n-t|0;if((e|0)>0){iT(o[r>>2]|0,t|0,e|0)|0;o[r>>2]=(o[r>>2]|0)+(e>>>2<<2)}return}function gx(e){e=e|0;return 1073741823}function vx(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>1073741823)$e();else{i=qS(t<<2)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<2)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<2);return}function yx(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>2)<<2)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function _x(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-4-t|0)>>>2)<<2);e=o[e>>2]|0;if(e|0)VS(e);return}function bx(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>1073741823)$e();else{i=qS(t<<2)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<2)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<2);return}function Dx(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>2)<<2)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function xx(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-4-t|0)>>>2)<<2);e=o[e>>2]|0;if(e|0)VS(e);return}function wx(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;var a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0,m=0,g=0,v=0;v=p;p=p+32|0;f=v+20|0;d=v+12|0;c=v+16|0;h=v+4|0;m=v;g=v+8|0;s=kD()|0;a=o[s>>2]|0;u=o[a>>2]|0;if(u|0){l=o[s+8>>2]|0;s=o[s+4>>2]|0;while(1){vC(f,u);Ex(e,f,s,l);a=a+4|0;u=o[a>>2]|0;if(!u)break;else{l=l+1|0;s=s+1|0}}}a=SD()|0;u=o[a>>2]|0;if(u|0)do{vC(f,u);o[d>>2]=o[a+4>>2];kx(t,f,d);a=a+8|0;u=o[a>>2]|0}while((u|0)!=0);a=o[(fD()|0)>>2]|0;if(a|0)do{t=o[a+4>>2]|0;vC(f,o[(Cx(t)|0)>>2]|0);o[d>>2]=xD(t)|0;Sx(n,f,d);a=o[a>>2]|0}while((a|0)!=0);vC(c,0);a=ED()|0;o[f>>2]=o[c>>2];FD(f,a,i);a=o[(fD()|0)>>2]|0;if(a|0){e=f+4|0;t=f+8|0;n=f+8|0;do{l=o[a+4>>2]|0;vC(d,o[(Cx(l)|0)>>2]|0);Ax(h,Tx(l)|0);u=o[h>>2]|0;if(u|0){o[f>>2]=0;o[e>>2]=0;o[t>>2]=0;do{vC(m,o[(Cx(o[u+4>>2]|0)|0)>>2]|0);s=o[e>>2]|0;if(s>>>0<(o[n>>2]|0)>>>0){o[s>>2]=o[m>>2];o[e>>2]=(o[e>>2]|0)+4}else OD(f,m);u=o[u>>2]|0}while((u|0)!=0);Fx(r,d,f);zD(f)}o[g>>2]=o[d>>2];c=Mx(l)|0;o[f>>2]=o[g>>2];FD(f,c,i);Cs(h);a=o[a>>2]|0}while((a|0)!=0)}p=v;return}function Ex(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;Jx(e,t,n,r);return}function kx(e,t,n){e=e|0;t=t|0;n=n|0;Xx(e,t,n);return}function Cx(e){e=e|0;return e|0}function Sx(e,t,n){e=e|0;t=t|0;n=n|0;jx(e,t,n);return}function Tx(e){e=e|0;return e+16|0}function Ax(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;a=p;p=p+16|0;i=a+8|0;n=a;o[e>>2]=0;r=o[t>>2]|0;o[i>>2]=r;o[n>>2]=e;n=Ix(n)|0;if(r|0){r=qS(12)|0;u=(Lx(i)|0)+4|0;e=o[u+4>>2]|0;t=r+4|0;o[t>>2]=o[u>>2];o[t+4>>2]=e;t=o[o[i>>2]>>2]|0;o[i>>2]=t;if(!t)e=r;else{t=r;while(1){e=qS(12)|0;l=(Lx(i)|0)+4|0;s=o[l+4>>2]|0;u=e+4|0;o[u>>2]=o[l>>2];o[u+4>>2]=s;o[t>>2]=e;u=o[o[i>>2]>>2]|0;o[i>>2]=u;if(!u)break;else t=e}}o[e>>2]=o[n>>2];o[n>>2]=r}p=a;return}function Fx(e,t,n){e=e|0;t=t|0;n=n|0;Bx(e,t,n);return}function Mx(e){e=e|0;return e+24|0}function Bx(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+32|0;u=r+24|0;i=r+16|0;s=r+12|0;a=r;wC(i);e=xa(e)|0;o[s>>2]=o[t>>2];HD(a,n);o[u>>2]=o[s>>2];Px(e,u,a);zD(a);kC(i);p=r;return}function Px(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+32|0;u=r+16|0;s=r+12|0;i=r;a=ka(Nx()|0)|0;o[s>>2]=o[t>>2];o[u>>2]=o[s>>2];t=qD(u)|0;o[i>>2]=o[n>>2];u=n+4|0;o[i+4>>2]=o[u>>2];s=n+8|0;o[i+8>>2]=o[s>>2];o[s>>2]=0;o[u>>2]=0;o[n>>2]=0;Ce(0,a|0,e|0,t|0,YD(i)|0)|0;zD(i);p=r;return}function Nx(){var e=0;if(!(r[7976]|0)){Ox(10720);e=7976;o[e>>2]=1;o[e+4>>2]=0}return 10720}function Ox(e){e=e|0;Ia(e,Rx()|0,2);return}function Rx(){return 1732}function Ix(e){e=e|0;return o[e>>2]|0}function Lx(e){e=e|0;return o[e>>2]|0}function jx(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+32|0;a=r+16|0;i=r+8|0;u=r;wC(i);e=xa(e)|0;o[u>>2]=o[t>>2];n=o[n>>2]|0;o[a>>2]=o[u>>2];Ux(e,a,n);kC(i);p=r;return}function Ux(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;a=r+4|0;u=r;i=ka(zx()|0)|0;o[u>>2]=o[t>>2];o[a>>2]=o[u>>2];t=qD(a)|0;Ce(0,i|0,e|0,t|0,$D(n)|0)|0;p=r;return}function zx(){var e=0;if(!(r[7984]|0)){Wx(10732);e=7984;o[e>>2]=1;o[e+4>>2]=0}return 10732}function Wx(e){e=e|0;Ia(e,Hx()|0,2);return}function Hx(){return 1744}function Xx(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+32|0;a=r+16|0;i=r+8|0;u=r;wC(i);e=xa(e)|0;o[u>>2]=o[t>>2];n=o[n>>2]|0;o[a>>2]=o[u>>2];Ux(e,a,n);kC(i);p=r;return}function Jx(e,t,n,i){e=e|0;t=t|0;n=n|0;i=i|0;var a=0,u=0,s=0,l=0;a=p;p=p+32|0;s=a+16|0;u=a+8|0;l=a;wC(u);e=xa(e)|0;o[l>>2]=o[t>>2];n=r[n>>0]|0;i=r[i>>0]|0;o[s>>2]=o[l>>2];Gx(e,s,n,i);kC(u);p=a;return}function Gx(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0;i=p;p=p+16|0;u=i+4|0;s=i;a=ka(qx()|0)|0;o[s>>2]=o[t>>2];o[u>>2]=o[s>>2];t=qD(u)|0;n=$x(n)|0;nt(0,a|0,e|0,t|0,n|0,$x(r)|0)|0;p=i;return}function qx(){var e=0;if(!(r[7992]|0)){Yx(10744);e=7992;o[e>>2]=1;o[e+4>>2]=0}return 10744}function $x(e){e=e|0;return Vx(e)|0}function Vx(e){e=e|0;return e&255|0}function Yx(e){e=e|0;Ia(e,Kx()|0,3);return}function Kx(){return 1756}function Qx(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0,m=0;m=p;p=p+32|0;l=m+8|0;c=m+4|0;f=m+20|0;d=m;Xl(e,0);i=_C(t)|0;o[l>>2]=0;h=l+4|0;o[h>>2]=0;o[l+8>>2]=0;switch(i<<24>>24){case 0:{r[f>>0]=0;Zx(c,n,f);ew(e,c)|0;Zi(c);break}case 8:{h=yC(t)|0;r[f>>0]=8;vC(d,o[h+4>>2]|0);tw(c,n,f,d,h+8|0);ew(e,c)|0;Zi(c);break}case 9:{u=yC(t)|0;t=o[u+4>>2]|0;if(t|0){s=l+8|0;a=u+12|0;while(1){t=t+-1|0;vC(c,o[a>>2]|0);i=o[h>>2]|0;if(i>>>0<(o[s>>2]|0)>>>0){o[i>>2]=o[c>>2];o[h>>2]=(o[h>>2]|0)+4}else OD(l,c);if(!t)break;else a=a+4|0}}r[f>>0]=9;vC(d,o[u+8>>2]|0);nw(c,n,f,d,l);ew(e,c)|0;Zi(c);break}default:{h=yC(t)|0;r[f>>0]=i;vC(d,o[h+4>>2]|0);rw(c,n,f,d);ew(e,c)|0;Zi(c)}}zD(l);p=m;return}function Zx(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,o=0;i=p;p=p+16|0;o=i;wC(o);t=xa(t)|0;vw(e,t,r[n>>0]|0);kC(o);p=i;return}function ew(e,t){e=e|0;t=t|0;var n=0;n=o[e>>2]|0;if(n|0)rt(n|0);o[e>>2]=o[t>>2];o[t>>2]=0;return e|0}function tw(e,t,n,i,a){e=e|0;t=t|0;n=n|0;i=i|0;a=a|0;var u=0,s=0,l=0,c=0;u=p;p=p+32|0;l=u+16|0;s=u+8|0;c=u;wC(s);t=xa(t)|0;n=r[n>>0]|0;o[c>>2]=o[i>>2];a=o[a>>2]|0;o[l>>2]=o[c>>2];hw(e,t,n,l,a);kC(s);p=u;return}function nw(e,t,n,i,a){e=e|0;t=t|0;n=n|0;i=i|0;a=a|0;var u=0,s=0,l=0,c=0,f=0;u=p;p=p+32|0;c=u+24|0;s=u+16|0;f=u+12|0;l=u;wC(s);t=xa(t)|0;n=r[n>>0]|0;o[f>>2]=o[i>>2];HD(l,a);o[c>>2]=o[f>>2];lw(e,t,n,c,l);zD(l);kC(s);p=u;return}function rw(e,t,n,i){e=e|0;t=t|0;n=n|0;i=i|0;var a=0,u=0,s=0,l=0;a=p;p=p+32|0;s=a+16|0;u=a+8|0;l=a;wC(u);t=xa(t)|0;n=r[n>>0]|0;o[l>>2]=o[i>>2];o[s>>2]=o[l>>2];iw(e,t,n,s);kC(u);p=a;return}function iw(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0;i=p;p=p+16|0;a=i+4|0;s=i;u=ka(ow()|0)|0;n=$x(n)|0;o[s>>2]=o[r>>2];o[a>>2]=o[s>>2];aw(e,Ce(0,u|0,t|0,n|0,qD(a)|0)|0);p=i;return}function ow(){var e=0;if(!(r[8e3]|0)){uw(10756);e=8e3;o[e>>2]=1;o[e+4>>2]=0}return 10756}function aw(e,t){e=e|0;t=t|0;Xl(e,t);return}function uw(e){e=e|0;Ia(e,sw()|0,2);return}function sw(){return 1772}function lw(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;var a=0,u=0,s=0,l=0,c=0;a=p;p=p+32|0;l=a+16|0;c=a+12|0;u=a;s=ka(cw()|0)|0;n=$x(n)|0;o[c>>2]=o[r>>2];o[l>>2]=o[c>>2];r=qD(l)|0;o[u>>2]=o[i>>2];l=i+4|0;o[u+4>>2]=o[l>>2];c=i+8|0;o[u+8>>2]=o[c>>2];o[c>>2]=0;o[l>>2]=0;o[i>>2]=0;aw(e,nt(0,s|0,t|0,n|0,r|0,YD(u)|0)|0);zD(u);p=a;return}function cw(){var e=0;if(!(r[8008]|0)){fw(10768);e=8008;o[e>>2]=1;o[e+4>>2]=0}return 10768}function fw(e){e=e|0;Ia(e,dw()|0,3);return}function dw(){return 1784}function hw(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;var a=0,u=0,s=0,l=0;a=p;p=p+16|0;s=a+4|0;l=a;u=ka(pw()|0)|0;n=$x(n)|0;o[l>>2]=o[r>>2];o[s>>2]=o[l>>2];r=qD(s)|0;aw(e,nt(0,u|0,t|0,n|0,r|0,VD(i)|0)|0);p=a;return}function pw(){var e=0;if(!(r[8016]|0)){mw(10780);e=8016;o[e>>2]=1;o[e+4>>2]=0}return 10780}function mw(e){e=e|0;Ia(e,gw()|0,3);return}function gw(){return 1800}function vw(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=ka(yw()|0)|0;aw(e,it(0,r|0,t|0,$x(n)|0)|0);return}function yw(){var e=0;if(!(r[8024]|0)){_w(10792);e=8024;o[e>>2]=1;o[e+4>>2]=0}return 10792}function _w(e){e=e|0;Ia(e,bw()|0,1);return}function bw(){return 1816}function Dw(){xw();ww();Ew();return}function xw(){o[2702]=$S(65536)|0;return}function ww(){qw(10856);return}function Ew(){kw(10816);return}function kw(e){e=e|0;Cw(e,5044);Sw(e)|0;return}function Cw(e,t){e=e|0;t=t|0;var n=0;n=nx()|0;o[e>>2]=n;zw(n,t);cD(o[e>>2]|0);return}function Sw(e){e=e|0;var t=0;t=o[e>>2]|0;r_(t,Tw()|0);return e|0}function Tw(){var e=0;if(!(r[8032]|0)){Aw(10820);Re(64,10820,v|0)|0;e=8032;o[e>>2]=1;o[e+4>>2]=0}if(!(Yu(10820)|0))Aw(10820);return 10820}function Aw(e){e=e|0;Bw(e);l_(e,25);return}function Fw(e){e=e|0;Mw(e+24|0);return}function Mw(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function Bw(e){e=e|0;var t=0;t=Zu()|0;ns(e,5,18,t,Iw()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Pw(e,t){e=e|0;t=t|0;Nw(e,t);return}function Nw(e,t){e=e|0;t=t|0;var n=0,r=0,i=0;n=p;p=p+16|0;r=n;i=n+4|0;cc(i,t);o[r>>2]=fc(i,t)|0;Ow(e,r);p=n;return}function Ow(e,t){e=e|0;t=t|0;Rw(e+4|0,o[t>>2]|0);r[e+8>>0]=1;return}function Rw(e,t){e=e|0;t=t|0;o[e>>2]=t;return}function Iw(){return 1824}function Lw(e){e=e|0;return jw(e)|0}function jw(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,u=0,s=0;n=p;p=p+16|0;i=n+4|0;u=n;r=Uw(8)|0;t=r;s=qS(4)|0;cc(i,e);Rw(s,fc(i,e)|0);a=t+4|0;o[a>>2]=s;e=qS(8)|0;a=o[a>>2]|0;o[u>>2]=0;o[i>>2]=o[u>>2];ix(e,a,i);o[r>>2]=e;p=n;return t|0}function Uw(e){e=e|0;var t=0,n=0;e=e+7&-8;if(e>>>0<=32768?(t=o[2701]|0,e>>>0<=(65536-t|0)>>>0):0){n=(o[2702]|0)+t|0;o[2701]=t+e;e=n}else{e=$S(e+8|0)|0;o[e>>2]=o[2703];o[2703]=e;e=e+8|0}return e|0}function zw(e,t){e=e|0;t=t|0;o[e>>2]=Ww()|0;o[e+4>>2]=Hw()|0;o[e+12>>2]=t;o[e+8>>2]=Xw()|0;o[e+32>>2]=9;return}function Ww(){return 11744}function Hw(){return 1832}function Xw(){return P_()|0}function Jw(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;if((Ug(r,896)|0)==512){if(n|0){Gw(n);VS(n)}}else if(t|0)VS(t);return}function Gw(e){e=e|0;e=o[e+4>>2]|0;if(e|0)JS(e);return}function qw(e){e=e|0;$w(e,5052);Vw(e)|0;Yw(e,5058,26)|0;Kw(e,5069,1)|0;Qw(e,5077,10)|0;Zw(e,5087,19)|0;tE(e,5094,27)|0;return}function $w(e,t){e=e|0;t=t|0;var n=0;n=lC()|0;o[e>>2]=n;cC(n,t);cD(o[e>>2]|0);return}function Vw(e){e=e|0;var t=0;t=o[e>>2]|0;r_(t,$k()|0);return e|0}function Yw(e,t,n){e=e|0;t=t|0;n=n|0;Sk(e,Bu(t)|0,n,0);return e|0}function Kw(e,t,n){e=e|0;t=t|0;n=n|0;lk(e,Bu(t)|0,n,0);return e|0}function Qw(e,t,n){e=e|0;t=t|0;n=n|0;LE(e,Bu(t)|0,n,0);return e|0}function Zw(e,t,n){e=e|0;t=t|0;n=n|0;bE(e,Bu(t)|0,n,0);return e|0}function eE(e,t){e=e|0;t=t|0;var n=0,r=0;e:while(1){n=o[2703]|0;while(1){if((n|0)==(t|0))break e;r=o[n>>2]|0;o[2703]=r;if(!n)n=r;else break}VS(n)}o[2701]=e;return}function tE(e,t,n){e=e|0;t=t|0;n=n|0;nE(e,Bu(t)|0,n,0);return e|0}function nE(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=o[e>>2]|0;i=rE()|0;e=iE(n)|0;Iu(a,t,i,e,oE(n,r)|0,r);return}function rE(){var e=0,t=0;if(!(r[8040]|0)){dE(10860);Re(65,10860,v|0)|0;t=8040;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10860)|0)){e=10860;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));dE(10860)}return 10860}function iE(e){e=e|0;return e|0}function oE(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=rE()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){aE(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{uE(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function aE(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function uE(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=sE(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;lE(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;aE(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;cE(e,i);fE(i);p=s;return}}function sE(e){e=e|0;return 536870911}function lE(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)$e();else{i=qS(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function cE(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function fE(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function dE(e){e=e|0;mE(e);return}function hE(e){e=e|0;pE(e+24|0);return}function pE(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function mE(e){e=e|0;var t=0;t=Zu()|0;ns(e,1,11,t,gE()|0,2);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function gE(){return 1840}function vE(e,t,n){e=e|0;t=t|0;n=n|0;_E(o[(yE(e)|0)>>2]|0,t,n);return}function yE(e){e=e|0;return(o[(rE()|0)+24>>2]|0)+(e<<3)|0}function _E(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,o=0;r=p;p=p+16|0;o=r+1|0;i=r;cc(o,t);t=fc(o,t)|0;cc(i,n);n=fc(i,n)|0;mA[e&31](t,n);p=r;return}function bE(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=o[e>>2]|0;i=DE()|0;e=xE(n)|0;Iu(a,t,i,e,wE(n,r)|0,r);return}function DE(){var e=0,t=0;if(!(r[8048]|0)){FE(10896);Re(66,10896,v|0)|0;t=8048;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10896)|0)){e=10896;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));FE(10896)}return 10896}function xE(e){e=e|0;return e|0}function wE(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=DE()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){EE(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{kE(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function EE(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function kE(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=CE(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;SE(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;EE(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;TE(e,i);AE(i);p=s;return}}function CE(e){e=e|0;return 536870911}function SE(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)$e();else{i=qS(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function TE(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function AE(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function FE(e){e=e|0;PE(e);return}function ME(e){e=e|0;BE(e+24|0);return}function BE(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function PE(e){e=e|0;var t=0;t=Zu()|0;ns(e,1,11,t,NE()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function NE(){return 1852}function OE(e,t){e=e|0;t=t|0;return IE(o[(RE(e)|0)>>2]|0,t)|0}function RE(e){e=e|0;return(o[(DE()|0)+24>>2]|0)+(e<<3)|0}function IE(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;cc(r,t);t=fc(r,t)|0;t=Qc(gA[e&31](t)|0)|0;p=n;return t|0}function LE(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=o[e>>2]|0;i=jE()|0;e=UE(n)|0;Iu(a,t,i,e,zE(n,r)|0,r);return}function jE(){var e=0,t=0;if(!(r[8056]|0)){$E(10932);Re(67,10932,v|0)|0;t=8056;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10932)|0)){e=10932;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));$E(10932)}return 10932}function UE(e){e=e|0;return e|0}function zE(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=jE()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){WE(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{HE(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function WE(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function HE(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=XE(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;JE(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;WE(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;GE(e,i);qE(i);p=s;return}}function XE(e){e=e|0;return 536870911}function JE(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)$e();else{i=qS(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function GE(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function qE(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function $E(e){e=e|0;KE(e);return}function VE(e){e=e|0;YE(e+24|0);return}function YE(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function KE(e){e=e|0;var t=0;t=Zu()|0;ns(e,1,7,t,QE()|0,2);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function QE(){return 1860}function ZE(e,t,n){e=e|0;t=t|0;n=n|0;return tk(o[(ek(e)|0)>>2]|0,t,n)|0}function ek(e){e=e|0;return(o[(jE()|0)+24>>2]|0)+(e<<3)|0}function tk(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0;r=p;p=p+32|0;u=r+12|0;a=r+8|0;s=r;l=r+16|0;i=r+4|0;nk(l,t);rk(s,l,t);Ul(i,n);n=zl(i,n)|0;o[u>>2]=o[s>>2];MA[e&15](a,u,n);n=ik(a)|0;Zi(a);Wl(i);p=r;return n|0}function nk(e,t){e=e|0;t=t|0;return}function rk(e,t,n){e=e|0;t=t|0;n=n|0;ok(e,n);return}function ik(e){e=e|0;return xa(e)|0}function ok(e,t){e=e|0;t=t|0;var n=0,r=0,i=0;i=p;p=p+16|0;n=i;r=t;if(!(r&1))o[e>>2]=o[t>>2];else{ak(n,0);Le(r|0,n|0)|0;uk(e,n);sk(n)}p=i;return}function ak(e,t){e=e|0;t=t|0;Ba(e,t);o[e+4>>2]=0;r[e+8>>0]=0;return}function uk(e,t){e=e|0;t=t|0;o[e>>2]=o[t+4>>2];return}function sk(e){e=e|0;r[e+8>>0]=0;return}function lk(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=o[e>>2]|0;i=ck()|0;e=fk(n)|0;Iu(a,t,i,e,dk(n,r)|0,r);return}function ck(){var e=0,t=0;if(!(r[8064]|0)){_k(10968);Re(68,10968,v|0)|0;t=8064;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10968)|0)){e=10968;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));_k(10968)}return 10968}function fk(e){e=e|0;return e|0}function dk(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=ck()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){hk(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{pk(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function hk(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function pk(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=mk(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;gk(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;hk(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;vk(e,i);yk(i);p=s;return}}function mk(e){e=e|0;return 536870911}function gk(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)$e();else{i=qS(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function vk(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function yk(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function _k(e){e=e|0;xk(e);return}function bk(e){e=e|0;Dk(e+24|0);return}function Dk(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function xk(e){e=e|0;var t=0;t=Zu()|0;ns(e,1,1,t,wk()|0,5);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function wk(){return 1872}function Ek(e,t,n,r,i,a){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;a=a|0;Ck(o[(kk(e)|0)>>2]|0,t,n,r,i,a);return}function kk(e){e=e|0;return(o[(ck()|0)+24>>2]|0)+(e<<3)|0}function Ck(e,t,n,r,i,o){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;o=o|0;var a=0,u=0,s=0,l=0,c=0,f=0;a=p;p=p+32|0;u=a+16|0;s=a+12|0;l=a+8|0;c=a+4|0;f=a;Ul(u,t);t=zl(u,t)|0;Ul(s,n);n=zl(s,n)|0;Ul(l,r);r=zl(l,r)|0;Ul(c,i);i=zl(c,i)|0;Ul(f,o);o=zl(f,o)|0;cA[e&1](t,n,r,i,o);Wl(f);Wl(c);Wl(l);Wl(s);Wl(u);p=a;return}function Sk(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=o[e>>2]|0;i=Tk()|0;e=Ak(n)|0;Iu(a,t,i,e,Fk(n,r)|0,r);return}function Tk(){var e=0,t=0;if(!(r[8072]|0)){Ik(11004);Re(69,11004,v|0)|0;t=8072;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(11004)|0)){e=11004;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Ik(11004)}return 11004}function Ak(e){e=e|0;return e|0}function Fk(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=Tk()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){Mk(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{Bk(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function Mk(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function Bk(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=Pk(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;Nk(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;Mk(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;Ok(e,i);Rk(i);p=s;return}}function Pk(e){e=e|0;return 536870911}function Nk(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)$e();else{i=qS(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function Ok(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iT(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Rk(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function Ik(e){e=e|0;Uk(e);return}function Lk(e){e=e|0;jk(e+24|0);return}function jk(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function Uk(e){e=e|0;var t=0;t=Zu()|0;ns(e,1,12,t,zk()|0,2);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function zk(){return 1896}function Wk(e,t,n){e=e|0;t=t|0;n=n|0;Xk(o[(Hk(e)|0)>>2]|0,t,n);return}function Hk(e){e=e|0;return(o[(Tk()|0)+24>>2]|0)+(e<<3)|0}function Xk(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,o=0;r=p;p=p+16|0;o=r+4|0;i=r;Jk(o,t);t=Gk(o,t)|0;Ul(i,n);n=zl(i,n)|0;mA[e&31](t,n);Wl(i);p=r;return}function Jk(e,t){e=e|0;t=t|0;return}function Gk(e,t){e=e|0;t=t|0;return qk(t)|0}function qk(e){e=e|0;return e|0}function $k(){var e=0;if(!(r[8080]|0)){Vk(11040);Re(70,11040,v|0)|0;e=8080;o[e>>2]=1;o[e+4>>2]=0}if(!(Yu(11040)|0))Vk(11040);return 11040}function Vk(e){e=e|0;Qk(e);l_(e,71);return}function Yk(e){e=e|0;Kk(e+24|0);return}function Kk(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function Qk(e){e=e|0;var t=0;t=Zu()|0;ns(e,5,7,t,nC()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Zk(e){e=e|0;eC(e);return}function eC(e){e=e|0;tC(e);return}function tC(e){e=e|0;r[e+8>>0]=1;return}function nC(){return 1936}function rC(){return iC()|0}function iC(){var e=0,t=0,n=0,r=0,i=0,a=0,u=0;t=p;p=p+16|0;i=t+4|0;u=t;n=Uw(8)|0;e=n;a=e+4|0;o[a>>2]=qS(1)|0;r=qS(8)|0;a=o[a>>2]|0;o[u>>2]=0;o[i>>2]=o[u>>2];oC(r,a,i);o[n>>2]=r;p=t;return e|0}function oC(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;n=qS(16)|0;o[n+4>>2]=0;o[n+8>>2]=0;o[n>>2]=1916;o[n+12>>2]=t;o[e+4>>2]=n;return}function aC(e){e=e|0;zS(e);VS(e);return}function uC(e){e=e|0;e=o[e+12>>2]|0;if(e|0)VS(e);return}function sC(e){e=e|0;VS(e);return}function lC(){var e=0;if(!(r[8088]|0)){gC(11076);Re(25,11076,v|0)|0;e=8088;o[e>>2]=1;o[e+4>>2]=0}return 11076}function cC(e,t){e=e|0;t=t|0;o[e>>2]=fC()|0;o[e+4>>2]=dC()|0;o[e+12>>2]=t;o[e+8>>2]=hC()|0;o[e+32>>2]=10;return}function fC(){return 11745}function dC(){return 1940}function hC(){return Wg()|0}function pC(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;if((Ug(r,896)|0)==512){if(n|0){mC(n);VS(n)}}else if(t|0)VS(t);return}function mC(e){e=e|0;e=o[e+4>>2]|0;if(e|0)JS(e);return}function gC(e){e=e|0;As(e);return}function vC(e,t){e=e|0;t=t|0;o[e>>2]=t;return}function yC(e){e=e|0;return o[e>>2]|0}function _C(e){e=e|0;return r[o[e>>2]>>0]|0}function bC(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;o[r>>2]=o[e>>2];DC(t,r)|0;p=n;return}function DC(e,t){e=e|0;t=t|0;var n=0;n=xC(o[e>>2]|0,t)|0;t=e+4|0;o[(o[t>>2]|0)+8>>2]=n;return o[(o[t>>2]|0)+8>>2]|0}function xC(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;wC(r);e=xa(e)|0;t=EC(e,o[t>>2]|0)|0;kC(r);p=n;return t|0}function wC(e){e=e|0;o[e>>2]=o[2701];o[e+4>>2]=o[2703];return}function EC(e,t){e=e|0;t=t|0;var n=0;n=ka(CC()|0)|0;return it(0,n|0,e|0,VD(t)|0)|0}function kC(e){e=e|0;eE(o[e>>2]|0,o[e+4>>2]|0);return}function CC(){var e=0;if(!(r[8096]|0)){SC(11120);e=8096;o[e>>2]=1;o[e+4>>2]=0}return 11120}function SC(e){e=e|0;Ia(e,TC()|0,1);return}function TC(){return 1948}function AC(){FC();return}function FC(){var e=0,t=0,n=0,i=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0,m=0,g=0,v=0,y=0,_=0;y=p;p=p+16|0;h=y+4|0;m=y;Pe(65536,10804,o[2702]|0,10812);n=kD()|0;t=o[n>>2]|0;e=o[t>>2]|0;if(e|0){i=o[n+8>>2]|0;n=o[n+4>>2]|0;while(1){ze(e|0,a[n>>0]|0|0,r[i>>0]|0);t=t+4|0;e=o[t>>2]|0;if(!e)break;else{i=i+1|0;n=n+1|0}}}e=SD()|0;t=o[e>>2]|0;if(t|0)do{We(t|0,o[e+4>>2]|0);e=e+8|0;t=o[e>>2]|0}while((t|0)!=0);We(MC()|0,5167);d=fD()|0;e=o[d>>2]|0;e:do{if(e|0){do{BC(o[e+4>>2]|0);e=o[e>>2]|0}while((e|0)!=0);e=o[d>>2]|0;if(e|0){f=d;do{while(1){u=e;e=o[e>>2]|0;u=o[u+4>>2]|0;if(!(PC(u)|0))break;o[m>>2]=f;o[h>>2]=o[m>>2];NC(d,h)|0;if(!e)break e}OC(u);f=o[f>>2]|0;t=RC(u)|0;s=Ye()|0;l=p;p=p+((1*(t<<2)|0)+15&-16)|0;c=p;p=p+((1*(t<<2)|0)+15&-16)|0;t=o[(Tx(u)|0)>>2]|0;if(t|0){n=l;i=c;while(1){o[n>>2]=o[(Cx(o[t+4>>2]|0)|0)>>2];o[i>>2]=o[t+8>>2];t=o[t>>2]|0;if(!t)break;else{n=n+4|0;i=i+4|0}}}_=Cx(u)|0;t=IC(u)|0;n=RC(u)|0;i=LC(u)|0;Ge(_|0,t|0,l|0,c|0,n|0,i|0,xD(u)|0);Oe(s|0)}while((e|0)!=0)}}}while(0);e=o[(ED()|0)>>2]|0;if(e|0)do{_=e+4|0;d=MD(_)|0;u=RD(d)|0;s=BD(d)|0;l=(PD(d)|0)+1|0;c=jC(d)|0;f=UC(_)|0;d=Yu(d)|0;h=LD(_)|0;m=zC(_)|0;Xe(0,u|0,s|0,l|0,c|0,f|0,d|0,h|0,m|0,WC(_)|0);e=o[e>>2]|0}while((e|0)!=0);e=o[(fD()|0)>>2]|0;e:do{if(e|0){t:while(1){t=o[e+4>>2]|0;if(t|0?(g=o[(Cx(t)|0)>>2]|0,v=o[(Mx(t)|0)>>2]|0,v|0):0){n=v;do{t=n+4|0;i=MD(t)|0;n:do{if(i|0)switch(Yu(i)|0){case 0:break t;case 4:case 3:case 2:{c=RD(i)|0;f=BD(i)|0;d=(PD(i)|0)+1|0;h=jC(i)|0;m=Yu(i)|0;_=LD(t)|0;Xe(g|0,c|0,f|0,d|0,h|0,0,m|0,_|0,zC(t)|0,WC(t)|0);break n}case 1:{l=RD(i)|0;c=BD(i)|0;f=(PD(i)|0)+1|0;d=jC(i)|0;h=UC(t)|0;m=Yu(i)|0;_=LD(t)|0;Xe(g|0,l|0,c|0,f|0,d|0,h|0,m|0,_|0,zC(t)|0,WC(t)|0);break n}case 5:{d=RD(i)|0;h=BD(i)|0;m=(PD(i)|0)+1|0;_=jC(i)|0;Xe(g|0,d|0,h|0,m|0,_|0,HC(i)|0,Yu(i)|0,0,0,0);break n}default:break n}}while(0);n=o[n>>2]|0}while((n|0)!=0)}e=o[e>>2]|0;if(!e)break e}$e()}}while(0);qe();p=y;return}function MC(){return 11703}function BC(e){e=e|0;r[e+40>>0]=0;return}function PC(e){e=e|0;return(r[e+40>>0]|0)!=0|0}function NC(e,t){e=e|0;t=t|0;t=XC(t)|0;e=o[t>>2]|0;o[t>>2]=o[e>>2];VS(e);return o[t>>2]|0}function OC(e){e=e|0;r[e+40>>0]=1;return}function RC(e){e=e|0;return o[e+20>>2]|0}function IC(e){e=e|0;return o[e+8>>2]|0}function LC(e){e=e|0;return o[e+32>>2]|0}function jC(e){e=e|0;return o[e+4>>2]|0}function UC(e){e=e|0;return o[e+4>>2]|0}function zC(e){e=e|0;return o[e+8>>2]|0}function WC(e){e=e|0;return o[e+16>>2]|0}function HC(e){e=e|0;return o[e+20>>2]|0}function XC(e){e=e|0;return o[e>>2]|0}function JC(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0,m=0,g=0,v=0,y=0,_=0,b=0,D=0,x=0,w=0;w=p;p=p+16|0;h=w;do{if(e>>>0<245){c=e>>>0<11?16:e+11&-8;e=c>>>3;d=o[2783]|0;n=d>>>e;if(n&3|0){t=(n&1^1)+e|0;e=11172+(t<<1<<2)|0;n=e+8|0;r=o[n>>2]|0;i=r+8|0;a=o[i>>2]|0;if((e|0)==(a|0))o[2783]=d&~(1<>2]=e;o[n>>2]=a}x=t<<3;o[r+4>>2]=x|3;x=r+x+4|0;o[x>>2]=o[x>>2]|1;x=i;p=w;return x|0}f=o[2785]|0;if(c>>>0>f>>>0){if(n|0){t=2<>>12&16;t=t>>>u;n=t>>>5&8;t=t>>>n;i=t>>>2&4;t=t>>>i;e=t>>>1&2;t=t>>>e;r=t>>>1&1;r=(n|u|i|e|r)+(t>>>r)|0;t=11172+(r<<1<<2)|0;e=t+8|0;i=o[e>>2]|0;u=i+8|0;n=o[u>>2]|0;if((t|0)==(n|0)){e=d&~(1<>2]=t;o[e>>2]=n;e=d}a=(r<<3)-c|0;o[i+4>>2]=c|3;r=i+c|0;o[r+4>>2]=a|1;o[r+a>>2]=a;if(f|0){i=o[2788]|0;t=f>>>3;n=11172+(t<<1<<2)|0;t=1<>2]|0}o[e>>2]=i;o[t+12>>2]=i;o[i+8>>2]=t;o[i+12>>2]=n}o[2785]=a;o[2788]=r;x=u;p=w;return x|0}s=o[2784]|0;if(s){n=(s&0-s)+-1|0;u=n>>>12&16;n=n>>>u;a=n>>>5&8;n=n>>>a;l=n>>>2&4;n=n>>>l;r=n>>>1&2;n=n>>>r;e=n>>>1&1;e=o[11436+((a|u|l|r|e)+(n>>>e)<<2)>>2]|0;n=(o[e+4>>2]&-8)-c|0;r=o[e+16+(((o[e+16>>2]|0)==0&1)<<2)>>2]|0;if(!r){l=e;a=n}else{do{u=(o[r+4>>2]&-8)-c|0;l=u>>>0>>0;n=l?u:n;e=l?r:e;r=o[r+16+(((o[r+16>>2]|0)==0&1)<<2)>>2]|0}while((r|0)!=0);l=e;a=n}u=l+c|0;if(l>>>0>>0){i=o[l+24>>2]|0;t=o[l+12>>2]|0;do{if((t|0)==(l|0)){e=l+20|0;t=o[e>>2]|0;if(!t){e=l+16|0;t=o[e>>2]|0;if(!t){n=0;break}}while(1){n=t+20|0;r=o[n>>2]|0;if(r|0){t=r;e=n;continue}n=t+16|0;r=o[n>>2]|0;if(!r)break;else{t=r;e=n}}o[e>>2]=0;n=t}else{n=o[l+8>>2]|0;o[n+12>>2]=t;o[t+8>>2]=n;n=t}}while(0);do{if(i|0){t=o[l+28>>2]|0;e=11436+(t<<2)|0;if((l|0)==(o[e>>2]|0)){o[e>>2]=n;if(!n){o[2784]=s&~(1<>2]|0)!=(l|0)&1)<<2)>>2]=n;if(!n)break}o[n+24>>2]=i;t=o[l+16>>2]|0;if(t|0){o[n+16>>2]=t;o[t+24>>2]=n}t=o[l+20>>2]|0;if(t|0){o[n+20>>2]=t;o[t+24>>2]=n}}}while(0);if(a>>>0<16){x=a+c|0;o[l+4>>2]=x|3;x=l+x+4|0;o[x>>2]=o[x>>2]|1}else{o[l+4>>2]=c|3;o[u+4>>2]=a|1;o[u+a>>2]=a;if(f|0){r=o[2788]|0;t=f>>>3;n=11172+(t<<1<<2)|0;t=1<>2]|0}o[e>>2]=r;o[t+12>>2]=r;o[r+8>>2]=t;o[r+12>>2]=n}o[2785]=a;o[2788]=u}x=l+8|0;p=w;return x|0}else d=c}else d=c}else d=c}else if(e>>>0<=4294967231){e=e+11|0;c=e&-8;l=o[2784]|0;if(l){r=0-c|0;e=e>>>8;if(e){if(c>>>0>16777215)s=31;else{d=(e+1048320|0)>>>16&8;D=e<>>16&4;D=D<>>16&2;s=14-(f|d|s)+(D<>>15)|0;s=c>>>(s+7|0)&1|s<<1}}else s=0;n=o[11436+(s<<2)>>2]|0;e:do{if(!n){n=0;e=0;D=57}else{e=0;u=c<<((s|0)==31?0:25-(s>>>1)|0);a=0;while(1){i=(o[n+4>>2]&-8)-c|0;if(i>>>0>>0)if(!i){e=n;r=0;i=n;D=61;break e}else{e=n;r=i}i=o[n+20>>2]|0;n=o[n+16+(u>>>31<<2)>>2]|0;a=(i|0)==0|(i|0)==(n|0)?a:i;i=(n|0)==0;if(i){n=a;D=57;break}else u=u<<((i^1)&1)}}}while(0);if((D|0)==57){if((n|0)==0&(e|0)==0){e=2<>>12&16;d=d>>>u;a=d>>>5&8;d=d>>>a;s=d>>>2&4;d=d>>>s;f=d>>>1&2;d=d>>>f;n=d>>>1&1;e=0;n=o[11436+((a|u|s|f|n)+(d>>>n)<<2)>>2]|0}if(!n){s=e;u=r}else{i=n;D=61}}if((D|0)==61)while(1){D=0;n=(o[i+4>>2]&-8)-c|0;d=n>>>0>>0;n=d?n:r;e=d?i:e;i=o[i+16+(((o[i+16>>2]|0)==0&1)<<2)>>2]|0;if(!i){s=e;u=n;break}else{r=n;D=61}}if((s|0)!=0?u>>>0<((o[2785]|0)-c|0)>>>0:0){a=s+c|0;if(s>>>0>=a>>>0){x=0;p=w;return x|0}i=o[s+24>>2]|0;t=o[s+12>>2]|0;do{if((t|0)==(s|0)){e=s+20|0;t=o[e>>2]|0;if(!t){e=s+16|0;t=o[e>>2]|0;if(!t){t=0;break}}while(1){n=t+20|0;r=o[n>>2]|0;if(r|0){t=r;e=n;continue}n=t+16|0;r=o[n>>2]|0;if(!r)break;else{t=r;e=n}}o[e>>2]=0}else{x=o[s+8>>2]|0;o[x+12>>2]=t;o[t+8>>2]=x}}while(0);do{if(i){e=o[s+28>>2]|0;n=11436+(e<<2)|0;if((s|0)==(o[n>>2]|0)){o[n>>2]=t;if(!t){r=l&~(1<>2]|0)!=(s|0)&1)<<2)>>2]=t;if(!t){r=l;break}}o[t+24>>2]=i;e=o[s+16>>2]|0;if(e|0){o[t+16>>2]=e;o[e+24>>2]=t}e=o[s+20>>2]|0;if(e){o[t+20>>2]=e;o[e+24>>2]=t;r=l}else r=l}else r=l}while(0);do{if(u>>>0>=16){o[s+4>>2]=c|3;o[a+4>>2]=u|1;o[a+u>>2]=u;t=u>>>3;if(u>>>0<256){n=11172+(t<<1<<2)|0;e=o[2783]|0;t=1<>2]|0}o[e>>2]=a;o[t+12>>2]=a;o[a+8>>2]=t;o[a+12>>2]=n;break}t=u>>>8;if(t){if(u>>>0>16777215)t=31;else{D=(t+1048320|0)>>>16&8;x=t<>>16&4;x=x<>>16&2;t=14-(b|D|t)+(x<>>15)|0;t=u>>>(t+7|0)&1|t<<1}}else t=0;n=11436+(t<<2)|0;o[a+28>>2]=t;e=a+16|0;o[e+4>>2]=0;o[e>>2]=0;e=1<>2]=a;o[a+24>>2]=n;o[a+12>>2]=a;o[a+8>>2]=a;break}e=u<<((t|0)==31?0:25-(t>>>1)|0);n=o[n>>2]|0;while(1){if((o[n+4>>2]&-8|0)==(u|0)){D=97;break}r=n+16+(e>>>31<<2)|0;t=o[r>>2]|0;if(!t){D=96;break}else{e=e<<1;n=t}}if((D|0)==96){o[r>>2]=a;o[a+24>>2]=n;o[a+12>>2]=a;o[a+8>>2]=a;break}else if((D|0)==97){D=n+8|0;x=o[D>>2]|0;o[x+12>>2]=a;o[D>>2]=a;o[a+8>>2]=x;o[a+12>>2]=n;o[a+24>>2]=0;break}}else{x=u+c|0;o[s+4>>2]=x|3;x=s+x+4|0;o[x>>2]=o[x>>2]|1}}while(0);x=s+8|0;p=w;return x|0}else d=c}else d=c}else d=-1}while(0);n=o[2785]|0;if(n>>>0>=d>>>0){t=n-d|0;e=o[2788]|0;if(t>>>0>15){x=e+d|0;o[2788]=x;o[2785]=t;o[x+4>>2]=t|1;o[x+t>>2]=t;o[e+4>>2]=d|3}else{o[2785]=0;o[2788]=0;o[e+4>>2]=n|3;x=e+n+4|0;o[x>>2]=o[x>>2]|1}x=e+8|0;p=w;return x|0}u=o[2786]|0;if(u>>>0>d>>>0){b=u-d|0;o[2786]=b;x=o[2789]|0;D=x+d|0;o[2789]=D;o[D+4>>2]=b|1;o[x+4>>2]=d|3;x=x+8|0;p=w;return x|0}if(!(o[2901]|0)){o[2903]=4096;o[2902]=4096;o[2904]=-1;o[2905]=-1;o[2906]=0;o[2894]=0;e=h&-16^1431655768;o[h>>2]=e;o[2901]=e;e=4096}else e=o[2903]|0;s=d+48|0;l=d+47|0;a=e+l|0;i=0-e|0;c=a&i;if(c>>>0<=d>>>0){x=0;p=w;return x|0}e=o[2893]|0;if(e|0?(f=o[2891]|0,h=f+c|0,h>>>0<=f>>>0|h>>>0>e>>>0):0){x=0;p=w;return x|0}e:do{if(!(o[2894]&4)){n=o[2789]|0;t:do{if(n){r=11580;while(1){e=o[r>>2]|0;if(e>>>0<=n>>>0?(v=r+4|0,(e+(o[v>>2]|0)|0)>>>0>n>>>0):0)break;e=o[r+8>>2]|0;if(!e){D=118;break t}else r=e}t=a-u&i;if(t>>>0<2147483647){e=sT(t|0)|0;if((e|0)==((o[r>>2]|0)+(o[v>>2]|0)|0)){if((e|0)!=(-1|0)){u=t;a=e;D=135;break e}}else{r=e;D=126}}else t=0}else D=118}while(0);do{if((D|0)==118){n=sT(0)|0;if((n|0)!=(-1|0)?(t=n,m=o[2902]|0,g=m+-1|0,t=((g&t|0)==0?0:(g+t&0-m)-t|0)+c|0,m=o[2891]|0,g=t+m|0,t>>>0>d>>>0&t>>>0<2147483647):0){v=o[2893]|0;if(v|0?g>>>0<=m>>>0|g>>>0>v>>>0:0){t=0;break}e=sT(t|0)|0;if((e|0)==(n|0)){u=t;a=n;D=135;break e}else{r=e;D=126}}else t=0}}while(0);do{if((D|0)==126){n=0-t|0;if(!(s>>>0>t>>>0&(t>>>0<2147483647&(r|0)!=(-1|0))))if((r|0)==(-1|0)){t=0;break}else{u=t;a=r;D=135;break e}e=o[2903]|0;e=l-t+e&0-e;if(e>>>0>=2147483647){u=t;a=r;D=135;break e}if((sT(e|0)|0)==(-1|0)){sT(n|0)|0;t=0;break}else{u=e+t|0;a=r;D=135;break e}}}while(0);o[2894]=o[2894]|4;D=133}else{t=0;D=133}}while(0);if(((D|0)==133?c>>>0<2147483647:0)?(b=sT(c|0)|0,v=sT(0)|0,y=v-b|0,_=y>>>0>(d+40|0)>>>0,!((b|0)==(-1|0)|_^1|b>>>0>>0&((b|0)!=(-1|0)&(v|0)!=(-1|0))^1)):0){u=_?y:t;a=b;D=135}if((D|0)==135){t=(o[2891]|0)+u|0;o[2891]=t;if(t>>>0>(o[2892]|0)>>>0)o[2892]=t;l=o[2789]|0;do{if(l){t=11580;while(1){e=o[t>>2]|0;n=t+4|0;r=o[n>>2]|0;if((a|0)==(e+r|0)){D=145;break}i=o[t+8>>2]|0;if(!i)break;else t=i}if(((D|0)==145?(o[t+12>>2]&8|0)==0:0)?l>>>0>>0&l>>>0>=e>>>0:0){o[n>>2]=r+u;x=l+8|0;x=(x&7|0)==0?0:0-x&7;D=l+x|0;x=(o[2786]|0)+(u-x)|0;o[2789]=D;o[2786]=x;o[D+4>>2]=x|1;o[D+x+4>>2]=40;o[2790]=o[2905];break}if(a>>>0<(o[2787]|0)>>>0)o[2787]=a;n=a+u|0;t=11580;while(1){if((o[t>>2]|0)==(n|0)){D=153;break}e=o[t+8>>2]|0;if(!e)break;else t=e}if((D|0)==153?(o[t+12>>2]&8|0)==0:0){o[t>>2]=a;f=t+4|0;o[f>>2]=(o[f>>2]|0)+u;f=a+8|0;f=a+((f&7|0)==0?0:0-f&7)|0;t=n+8|0;t=n+((t&7|0)==0?0:0-t&7)|0;c=f+d|0;s=t-f-d|0;o[f+4>>2]=d|3;do{if((t|0)!=(l|0)){if((t|0)==(o[2788]|0)){x=(o[2785]|0)+s|0;o[2785]=x;o[2788]=c;o[c+4>>2]=x|1;o[c+x>>2]=x;break}e=o[t+4>>2]|0;if((e&3|0)==1){u=e&-8;r=e>>>3;e:do{if(e>>>0<256){e=o[t+8>>2]|0;n=o[t+12>>2]|0;if((n|0)==(e|0)){o[2783]=o[2783]&~(1<>2]=n;o[n+8>>2]=e;break}}else{a=o[t+24>>2]|0;e=o[t+12>>2]|0;do{if((e|0)==(t|0)){r=t+16|0;n=r+4|0;e=o[n>>2]|0;if(!e){e=o[r>>2]|0;if(!e){e=0;break}else n=r}while(1){r=e+20|0;i=o[r>>2]|0;if(i|0){e=i;n=r;continue}r=e+16|0;i=o[r>>2]|0;if(!i)break;else{e=i;n=r}}o[n>>2]=0}else{x=o[t+8>>2]|0;o[x+12>>2]=e;o[e+8>>2]=x}}while(0);if(!a)break;n=o[t+28>>2]|0;r=11436+(n<<2)|0;do{if((t|0)!=(o[r>>2]|0)){o[a+16+(((o[a+16>>2]|0)!=(t|0)&1)<<2)>>2]=e;if(!e)break e}else{o[r>>2]=e;if(e|0)break;o[2784]=o[2784]&~(1<>2]=a;n=t+16|0;r=o[n>>2]|0;if(r|0){o[e+16>>2]=r;o[r+24>>2]=e}n=o[n+4>>2]|0;if(!n)break;o[e+20>>2]=n;o[n+24>>2]=e}}while(0);t=t+u|0;i=u+s|0}else i=s;t=t+4|0;o[t>>2]=o[t>>2]&-2;o[c+4>>2]=i|1;o[c+i>>2]=i;t=i>>>3;if(i>>>0<256){n=11172+(t<<1<<2)|0;e=o[2783]|0;t=1<>2]|0}o[e>>2]=c;o[t+12>>2]=c;o[c+8>>2]=t;o[c+12>>2]=n;break}t=i>>>8;do{if(!t)t=0;else{if(i>>>0>16777215){t=31;break}D=(t+1048320|0)>>>16&8;x=t<>>16&4;x=x<>>16&2;t=14-(b|D|t)+(x<>>15)|0;t=i>>>(t+7|0)&1|t<<1}}while(0);r=11436+(t<<2)|0;o[c+28>>2]=t;e=c+16|0;o[e+4>>2]=0;o[e>>2]=0;e=o[2784]|0;n=1<>2]=c;o[c+24>>2]=r;o[c+12>>2]=c;o[c+8>>2]=c;break}e=i<<((t|0)==31?0:25-(t>>>1)|0);n=o[r>>2]|0;while(1){if((o[n+4>>2]&-8|0)==(i|0)){D=194;break}r=n+16+(e>>>31<<2)|0;t=o[r>>2]|0;if(!t){D=193;break}else{e=e<<1;n=t}}if((D|0)==193){o[r>>2]=c;o[c+24>>2]=n;o[c+12>>2]=c;o[c+8>>2]=c;break}else if((D|0)==194){D=n+8|0;x=o[D>>2]|0;o[x+12>>2]=c;o[D>>2]=c;o[c+8>>2]=x;o[c+12>>2]=n;o[c+24>>2]=0;break}}else{x=(o[2786]|0)+s|0;o[2786]=x;o[2789]=c;o[c+4>>2]=x|1}}while(0);x=f+8|0;p=w;return x|0}t=11580;while(1){e=o[t>>2]|0;if(e>>>0<=l>>>0?(x=e+(o[t+4>>2]|0)|0,x>>>0>l>>>0):0)break;t=o[t+8>>2]|0}i=x+-47|0;e=i+8|0;e=i+((e&7|0)==0?0:0-e&7)|0;i=l+16|0;e=e>>>0>>0?l:e;t=e+8|0;n=a+8|0;n=(n&7|0)==0?0:0-n&7;D=a+n|0;n=u+-40-n|0;o[2789]=D;o[2786]=n;o[D+4>>2]=n|1;o[D+n+4>>2]=40;o[2790]=o[2905];n=e+4|0;o[n>>2]=27;o[t>>2]=o[2895];o[t+4>>2]=o[2896];o[t+8>>2]=o[2897];o[t+12>>2]=o[2898];o[2895]=a;o[2896]=u;o[2898]=0;o[2897]=t;t=e+24|0;do{D=t;t=t+4|0;o[t>>2]=7}while((D+8|0)>>>0>>0);if((e|0)!=(l|0)){a=e-l|0;o[n>>2]=o[n>>2]&-2;o[l+4>>2]=a|1;o[e>>2]=a;t=a>>>3;if(a>>>0<256){n=11172+(t<<1<<2)|0;e=o[2783]|0;t=1<>2]|0}o[e>>2]=l;o[t+12>>2]=l;o[l+8>>2]=t;o[l+12>>2]=n;break}t=a>>>8;if(t){if(a>>>0>16777215)n=31;else{D=(t+1048320|0)>>>16&8;x=t<>>16&4;x=x<>>16&2;n=14-(b|D|n)+(x<>>15)|0;n=a>>>(n+7|0)&1|n<<1}}else n=0;r=11436+(n<<2)|0;o[l+28>>2]=n;o[l+20>>2]=0;o[i>>2]=0;t=o[2784]|0;e=1<>2]=l;o[l+24>>2]=r;o[l+12>>2]=l;o[l+8>>2]=l;break}e=a<<((n|0)==31?0:25-(n>>>1)|0);n=o[r>>2]|0;while(1){if((o[n+4>>2]&-8|0)==(a|0)){D=216;break}r=n+16+(e>>>31<<2)|0;t=o[r>>2]|0;if(!t){D=215;break}else{e=e<<1;n=t}}if((D|0)==215){o[r>>2]=l;o[l+24>>2]=n;o[l+12>>2]=l;o[l+8>>2]=l;break}else if((D|0)==216){D=n+8|0;x=o[D>>2]|0;o[x+12>>2]=l;o[D>>2]=l;o[l+8>>2]=x;o[l+12>>2]=n;o[l+24>>2]=0;break}}}else{x=o[2787]|0;if((x|0)==0|a>>>0>>0)o[2787]=a;o[2895]=a;o[2896]=u;o[2898]=0;o[2792]=o[2901];o[2791]=-1;t=0;do{x=11172+(t<<1<<2)|0;o[x+12>>2]=x;o[x+8>>2]=x;t=t+1|0}while((t|0)!=32);x=a+8|0;x=(x&7|0)==0?0:0-x&7;D=a+x|0;x=u+-40-x|0;o[2789]=D;o[2786]=x;o[D+4>>2]=x|1;o[D+x+4>>2]=40;o[2790]=o[2905]}}while(0);t=o[2786]|0;if(t>>>0>d>>>0){b=t-d|0;o[2786]=b;x=o[2789]|0;D=x+d|0;o[2789]=D;o[D+4>>2]=b|1;o[x+4>>2]=d|3;x=x+8|0;p=w;return x|0}}o[(QC()|0)>>2]=12;x=0;p=w;return x|0}function GC(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,u=0,s=0,l=0;if(!e)return;n=e+-8|0;i=o[2787]|0;e=o[e+-4>>2]|0;t=e&-8;l=n+t|0;do{if(!(e&1)){r=o[n>>2]|0;if(!(e&3))return;u=n+(0-r)|0;a=r+t|0;if(u>>>0>>0)return;if((u|0)==(o[2788]|0)){e=l+4|0;t=o[e>>2]|0;if((t&3|0)!=3){s=u;t=a;break}o[2785]=a;o[e>>2]=t&-2;o[u+4>>2]=a|1;o[u+a>>2]=a;return}n=r>>>3;if(r>>>0<256){e=o[u+8>>2]|0;t=o[u+12>>2]|0;if((t|0)==(e|0)){o[2783]=o[2783]&~(1<>2]=t;o[t+8>>2]=e;s=u;t=a;break}}i=o[u+24>>2]|0;e=o[u+12>>2]|0;do{if((e|0)==(u|0)){n=u+16|0;t=n+4|0;e=o[t>>2]|0;if(!e){e=o[n>>2]|0;if(!e){e=0;break}else t=n}while(1){n=e+20|0;r=o[n>>2]|0;if(r|0){e=r;t=n;continue}n=e+16|0;r=o[n>>2]|0;if(!r)break;else{e=r;t=n}}o[t>>2]=0}else{s=o[u+8>>2]|0;o[s+12>>2]=e;o[e+8>>2]=s}}while(0);if(i){t=o[u+28>>2]|0;n=11436+(t<<2)|0;if((u|0)==(o[n>>2]|0)){o[n>>2]=e;if(!e){o[2784]=o[2784]&~(1<>2]|0)!=(u|0)&1)<<2)>>2]=e;if(!e){s=u;t=a;break}}o[e+24>>2]=i;t=u+16|0;n=o[t>>2]|0;if(n|0){o[e+16>>2]=n;o[n+24>>2]=e}t=o[t+4>>2]|0;if(t){o[e+20>>2]=t;o[t+24>>2]=e;s=u;t=a}else{s=u;t=a}}else{s=u;t=a}}else{s=n;u=n}}while(0);if(u>>>0>=l>>>0)return;e=l+4|0;r=o[e>>2]|0;if(!(r&1))return;if(!(r&2)){e=o[2788]|0;if((l|0)==(o[2789]|0)){l=(o[2786]|0)+t|0;o[2786]=l;o[2789]=s;o[s+4>>2]=l|1;if((s|0)!=(e|0))return;o[2788]=0;o[2785]=0;return}if((l|0)==(e|0)){l=(o[2785]|0)+t|0;o[2785]=l;o[2788]=u;o[s+4>>2]=l|1;o[u+l>>2]=l;return}i=(r&-8)+t|0;n=r>>>3;do{if(r>>>0<256){t=o[l+8>>2]|0;e=o[l+12>>2]|0;if((e|0)==(t|0)){o[2783]=o[2783]&~(1<>2]=e;o[e+8>>2]=t;break}}else{a=o[l+24>>2]|0;e=o[l+12>>2]|0;do{if((e|0)==(l|0)){n=l+16|0;t=n+4|0;e=o[t>>2]|0;if(!e){e=o[n>>2]|0;if(!e){n=0;break}else t=n}while(1){n=e+20|0;r=o[n>>2]|0;if(r|0){e=r;t=n;continue}n=e+16|0;r=o[n>>2]|0;if(!r)break;else{e=r;t=n}}o[t>>2]=0;n=e}else{n=o[l+8>>2]|0;o[n+12>>2]=e;o[e+8>>2]=n;n=e}}while(0);if(a|0){e=o[l+28>>2]|0;t=11436+(e<<2)|0;if((l|0)==(o[t>>2]|0)){o[t>>2]=n;if(!n){o[2784]=o[2784]&~(1<>2]|0)!=(l|0)&1)<<2)>>2]=n;if(!n)break}o[n+24>>2]=a;e=l+16|0;t=o[e>>2]|0;if(t|0){o[n+16>>2]=t;o[t+24>>2]=n}e=o[e+4>>2]|0;if(e|0){o[n+20>>2]=e;o[e+24>>2]=n}}}}while(0);o[s+4>>2]=i|1;o[u+i>>2]=i;if((s|0)==(o[2788]|0)){o[2785]=i;return}}else{o[e>>2]=r&-2;o[s+4>>2]=t|1;o[u+t>>2]=t;i=t}e=i>>>3;if(i>>>0<256){n=11172+(e<<1<<2)|0;t=o[2783]|0;e=1<>2]|0}o[t>>2]=s;o[e+12>>2]=s;o[s+8>>2]=e;o[s+12>>2]=n;return}e=i>>>8;if(e){if(i>>>0>16777215)e=31;else{u=(e+1048320|0)>>>16&8;l=e<>>16&4;l=l<>>16&2;e=14-(a|u|e)+(l<>>15)|0;e=i>>>(e+7|0)&1|e<<1}}else e=0;r=11436+(e<<2)|0;o[s+28>>2]=e;o[s+20>>2]=0;o[s+16>>2]=0;t=o[2784]|0;n=1<>>1)|0);n=o[r>>2]|0;while(1){if((o[n+4>>2]&-8|0)==(i|0)){e=73;break}r=n+16+(t>>>31<<2)|0;e=o[r>>2]|0;if(!e){e=72;break}else{t=t<<1;n=e}}if((e|0)==72){o[r>>2]=s;o[s+24>>2]=n;o[s+12>>2]=s;o[s+8>>2]=s;break}else if((e|0)==73){u=n+8|0;l=o[u>>2]|0;o[l+12>>2]=s;o[u>>2]=s;o[s+8>>2]=l;o[s+12>>2]=n;o[s+24>>2]=0;break}}else{o[2784]=t|n;o[r>>2]=s;o[s+24>>2]=r;o[s+12>>2]=s;o[s+8>>2]=s}}while(0);l=(o[2791]|0)+-1|0;o[2791]=l;if(!l)e=11588;else return;while(1){e=o[e>>2]|0;if(!e)break;else e=e+8|0}o[2791]=-1;return}function qC(){return 11628}function $C(e){e=e|0;var t=0,n=0;t=p;p=p+16|0;n=t;o[n>>2]=tS(o[e+60>>2]|0)|0;e=KC(at(6,n|0)|0)|0;p=t;return e|0}function VC(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0,m=0;d=p;p=p+48|0;c=d+16|0;a=d;i=d+32|0;s=e+28|0;r=o[s>>2]|0;o[i>>2]=r;l=e+20|0;r=(o[l>>2]|0)-r|0;o[i+4>>2]=r;o[i+8>>2]=t;o[i+12>>2]=n;r=r+n|0;u=e+60|0;o[a>>2]=o[u>>2];o[a+4>>2]=i;o[a+8>>2]=2;a=KC(lt(146,a|0)|0)|0;e:do{if((r|0)!=(a|0)){t=2;while(1){if((a|0)<0)break;r=r-a|0;m=o[i+4>>2]|0;h=a>>>0>m>>>0;i=h?i+8|0:i;t=(h<<31>>31)+t|0;m=a-(h?m:0)|0;o[i>>2]=(o[i>>2]|0)+m;h=i+4|0;o[h>>2]=(o[h>>2]|0)-m;o[c>>2]=o[u>>2];o[c+4>>2]=i;o[c+8>>2]=t;a=KC(lt(146,c|0)|0)|0;if((r|0)==(a|0)){f=3;break e}}o[e+16>>2]=0;o[s>>2]=0;o[l>>2]=0;o[e>>2]=o[e>>2]|32;if((t|0)==2)n=0;else n=n-(o[i+4>>2]|0)|0}else f=3}while(0);if((f|0)==3){m=o[e+44>>2]|0;o[e+16>>2]=m+(o[e+48>>2]|0);o[s>>2]=m;o[l>>2]=m}p=d;return n|0}function YC(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0;i=p;p=p+32|0;a=i;r=i+20|0;o[a>>2]=o[e+60>>2];o[a+4>>2]=0;o[a+8>>2]=t;o[a+12>>2]=r;o[a+16>>2]=n;if((KC(st(140,a|0)|0)|0)<0){o[r>>2]=-1;e=-1}else e=o[r>>2]|0;p=i;return e|0}function KC(e){e=e|0;if(e>>>0>4294963200){o[(QC()|0)>>2]=0-e;e=-1}return e|0}function QC(){return(ZC()|0)+64|0}function ZC(){return eS()|0}function eS(){return 2084}function tS(e){e=e|0;return e|0}function nS(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0;a=p;p=p+32|0;i=a;o[e+36>>2]=1;if((o[e>>2]&64|0)==0?(o[i>>2]=o[e+60>>2],o[i+4>>2]=21523,o[i+8>>2]=a+16,Ke(54,i|0)|0):0)r[e+75>>0]=-1;i=VC(e,t,n)|0;p=a;return i|0}function rS(e,t){e=e|0;t=t|0;var n=0,i=0;n=r[e>>0]|0;i=r[t>>0]|0;if(n<<24>>24==0?1:n<<24>>24!=i<<24>>24)e=i;else{do{e=e+1|0;t=t+1|0;n=r[e>>0]|0;i=r[t>>0]|0}while(!(n<<24>>24==0?1:n<<24>>24!=i<<24>>24));e=i}return(n&255)-(e&255)|0}function iS(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,o=0;e:do{if(!n)e=0;else{while(1){i=r[e>>0]|0;o=r[t>>0]|0;if(i<<24>>24!=o<<24>>24)break;n=n+-1|0;if(!n){e=0;break e}else{e=e+1|0;t=t+1|0}}e=(i&255)-(o&255)|0}}while(0);return e|0}function oS(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0,m=0,g=0,v=0,y=0;y=p;p=p+224|0;d=y+120|0;h=y+80|0;g=y;v=y+136|0;i=h;a=i+40|0;do{o[i>>2]=0;i=i+4|0}while((i|0)<(a|0));o[d>>2]=o[n>>2];if((aS(0,t,d,g,h)|0)<0)n=-1;else{if((o[e+76>>2]|0)>-1)m=uS(e)|0;else m=0;n=o[e>>2]|0;f=n&32;if((r[e+74>>0]|0)<1)o[e>>2]=n&-33;i=e+48|0;if(!(o[i>>2]|0)){a=e+44|0;u=o[a>>2]|0;o[a>>2]=v;s=e+28|0;o[s>>2]=v;l=e+20|0;o[l>>2]=v;o[i>>2]=80;c=e+16|0;o[c>>2]=v+80;n=aS(e,t,d,g,h)|0;if(u){_A[o[e+36>>2]&7](e,0,0)|0;n=(o[l>>2]|0)==0?-1:n;o[a>>2]=u;o[i>>2]=0;o[c>>2]=0;o[s>>2]=0;o[l>>2]=0}}else n=aS(e,t,d,g,h)|0;i=o[e>>2]|0;o[e>>2]=i|f;if(m|0)sS(e);n=(i&32|0)==0?n:-1}p=y;return n|0}function aS(e,t,n,a,u){e=e|0;t=t|0;n=n|0;a=a|0;u=u|0;var s=0,l=0,f=0,d=0,h=0,m=0,g=0,v=0,y=0,_=0,b=0,D=0,x=0,w=0,E=0,k=0,C=0,S=0,T=0,F=0,M=0,B=0,P=0;P=p;p=p+64|0;T=P+16|0;F=P;C=P+24|0;M=P+8|0;B=P+20|0;o[T>>2]=t;w=(e|0)!=0;E=C+40|0;k=E;C=C+39|0;S=M+4|0;l=0;s=0;m=0;e:while(1){do{if((s|0)>-1)if((l|0)>(2147483647-s|0)){o[(QC()|0)>>2]=75;s=-1;break}else{s=l+s|0;break}}while(0);l=r[t>>0]|0;if(!(l<<24>>24)){x=87;break}else f=t;t:while(1){switch(l<<24>>24){case 37:{l=f;x=9;break t}case 0:{l=f;break t}default:{}}D=f+1|0;o[T>>2]=D;l=r[D>>0]|0;f=D}t:do{if((x|0)==9)while(1){x=0;if((r[f+1>>0]|0)!=37)break t;l=l+1|0;f=f+2|0;o[T>>2]=f;if((r[f>>0]|0)==37)x=9;else break}}while(0);l=l-t|0;if(w)lS(e,t,l);if(l|0){t=f;continue}d=f+1|0;l=(r[d>>0]|0)+-48|0;if(l>>>0<10){D=(r[f+2>>0]|0)==36;b=D?l:-1;m=D?1:m;d=D?f+3|0:d}else b=-1;o[T>>2]=d;l=r[d>>0]|0;f=(l<<24>>24)+-32|0;t:do{if(f>>>0<32){h=0;g=l;while(1){l=1<>2]=d;l=r[d>>0]|0;f=(l<<24>>24)+-32|0;if(f>>>0>=32)break;else g=l}}else h=0}while(0);if(l<<24>>24==42){f=d+1|0;l=(r[f>>0]|0)+-48|0;if(l>>>0<10?(r[d+2>>0]|0)==36:0){o[u+(l<<2)>>2]=10;l=o[a+((r[f>>0]|0)+-48<<3)>>2]|0;m=1;d=d+3|0}else{if(m|0){s=-1;break}if(w){m=(o[n>>2]|0)+(4-1)&~(4-1);l=o[m>>2]|0;o[n>>2]=m+4;m=0;d=f}else{l=0;m=0;d=f}}o[T>>2]=d;D=(l|0)<0;l=D?0-l|0:l;h=D?h|8192:h}else{l=cS(T)|0;if((l|0)<0){s=-1;break}d=o[T>>2]|0}do{if((r[d>>0]|0)==46){if((r[d+1>>0]|0)!=42){o[T>>2]=d+1;f=cS(T)|0;d=o[T>>2]|0;break}g=d+2|0;f=(r[g>>0]|0)+-48|0;if(f>>>0<10?(r[d+3>>0]|0)==36:0){o[u+(f<<2)>>2]=10;f=o[a+((r[g>>0]|0)+-48<<3)>>2]|0;d=d+4|0;o[T>>2]=d;break}if(m|0){s=-1;break e}if(w){D=(o[n>>2]|0)+(4-1)&~(4-1);f=o[D>>2]|0;o[n>>2]=D+4}else f=0;o[T>>2]=g;d=g}else f=-1}while(0);_=0;while(1){if(((r[d>>0]|0)+-65|0)>>>0>57){s=-1;break e}D=d+1|0;o[T>>2]=D;g=r[(r[d>>0]|0)+-65+(5178+(_*58|0))>>0]|0;v=g&255;if((v+-1|0)>>>0<8){_=v;d=D}else break}if(!(g<<24>>24)){s=-1;break}y=(b|0)>-1;do{if(g<<24>>24==19){if(y){s=-1;break e}else x=49}else{if(y){o[u+(b<<2)>>2]=v;y=a+(b<<3)|0;b=o[y+4>>2]|0;x=F;o[x>>2]=o[y>>2];o[x+4>>2]=b;x=49;break}if(!w){s=0;break e}fS(F,v,n)}}while(0);if((x|0)==49?(x=0,!w):0){l=0;t=D;continue}d=r[d>>0]|0;d=(_|0)!=0&(d&15|0)==3?d&-33:d;y=h&-65537;b=(h&8192|0)==0?h:y;t:do{switch(d|0){case 110:switch((_&255)<<24>>24){case 0:{o[o[F>>2]>>2]=s;l=0;t=D;continue e}case 1:{o[o[F>>2]>>2]=s;l=0;t=D;continue e}case 2:{l=o[F>>2]|0;o[l>>2]=s;o[l+4>>2]=((s|0)<0)<<31>>31;l=0;t=D;continue e}case 3:{i[o[F>>2]>>1]=s;l=0;t=D;continue e}case 4:{r[o[F>>2]>>0]=s;l=0;t=D;continue e}case 6:{o[o[F>>2]>>2]=s;l=0;t=D;continue e}case 7:{l=o[F>>2]|0;o[l>>2]=s;o[l+4>>2]=((s|0)<0)<<31>>31;l=0;t=D;continue e}default:{l=0;t=D;continue e}}case 112:{d=120;f=f>>>0>8?f:8;t=b|8;x=61;break}case 88:case 120:{t=b;x=61;break}case 111:{d=F;t=o[d>>2]|0;d=o[d+4>>2]|0;v=hS(t,d,E)|0;y=k-v|0;h=0;g=5642;f=(b&8|0)==0|(f|0)>(y|0)?f:y+1|0;y=b;x=67;break}case 105:case 100:{d=F;t=o[d>>2]|0;d=o[d+4>>2]|0;if((d|0)<0){t=ZS(0,0,t|0,d|0)|0;d=A;h=F;o[h>>2]=t;o[h+4>>2]=d;h=1;g=5642;x=66;break t}else{h=(b&2049|0)!=0&1;g=(b&2048|0)==0?(b&1|0)==0?5642:5644:5643;x=66;break t}}case 117:{d=F;h=0;g=5642;t=o[d>>2]|0;d=o[d+4>>2]|0;x=66;break}case 99:{r[C>>0]=o[F>>2];t=C;h=0;g=5642;v=E;d=1;f=y;break}case 109:{d=mS(o[(QC()|0)>>2]|0)|0;x=71;break}case 115:{d=o[F>>2]|0;d=d|0?d:5652;x=71;break}case 67:{o[M>>2]=o[F>>2];o[S>>2]=0;o[F>>2]=M;v=-1;d=M;x=75;break}case 83:{t=o[F>>2]|0;if(!f){vS(e,32,l,0,b);t=0;x=84}else{v=f;d=t;x=75}break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{l=_S(e,+c[F>>3],l,f,b,d)|0;t=D;continue e}default:{h=0;g=5642;v=E;d=f;f=b}}}while(0);t:do{if((x|0)==61){b=F;_=o[b>>2]|0;b=o[b+4>>2]|0;v=dS(_,b,E,d&32)|0;g=(t&8|0)==0|(_|0)==0&(b|0)==0;h=g?0:2;g=g?5642:5642+(d>>4)|0;y=t;t=_;d=b;x=67}else if((x|0)==66){v=pS(t,d,E)|0;y=b;x=67}else if((x|0)==71){x=0;b=gS(d,0,f)|0;_=(b|0)==0;t=d;h=0;g=5642;v=_?d+f|0:b;d=_?f:b-d|0;f=y}else if((x|0)==75){x=0;g=d;t=0;f=0;while(1){h=o[g>>2]|0;if(!h)break;f=yS(B,h)|0;if((f|0)<0|f>>>0>(v-t|0)>>>0)break;t=f+t|0;if(v>>>0>t>>>0)g=g+4|0;else break}if((f|0)<0){s=-1;break e}vS(e,32,l,t,b);if(!t){t=0;x=84}else{h=0;while(1){f=o[d>>2]|0;if(!f){x=84;break t}f=yS(B,f)|0;h=f+h|0;if((h|0)>(t|0)){x=84;break t}lS(e,B,f);if(h>>>0>=t>>>0){x=84;break}else d=d+4|0}}}}while(0);if((x|0)==67){x=0;d=(t|0)!=0|(d|0)!=0;b=(f|0)!=0|d;d=((d^1)&1)+(k-v)|0;t=b?v:E;v=E;d=b?(f|0)>(d|0)?f:d:f;f=(f|0)>-1?y&-65537:y}else if((x|0)==84){x=0;vS(e,32,l,t,b^8192);l=(l|0)>(t|0)?l:t;t=D;continue}_=v-t|0;y=(d|0)<(_|0)?_:d;b=y+h|0;l=(l|0)<(b|0)?b:l;vS(e,32,l,b,f);lS(e,g,h);vS(e,48,l,b,f^65536);vS(e,48,y,_,0);lS(e,t,_);vS(e,32,l,b,f^8192);t=D}e:do{if((x|0)==87)if(!e)if(!m)s=0;else{s=1;while(1){t=o[u+(s<<2)>>2]|0;if(!t)break;fS(a+(s<<3)|0,t,n);s=s+1|0;if((s|0)>=10){s=1;break e}}while(1){if(o[u+(s<<2)>>2]|0){s=-1;break e}s=s+1|0;if((s|0)>=10){s=1;break}}}}while(0);p=P;return s|0}function uS(e){e=e|0;return 0}function sS(e){e=e|0;return}function lS(e,t,n){e=e|0;t=t|0;n=n|0;if(!(o[e>>2]&32))MS(t,n,e)|0;return}function cS(e){e=e|0;var t=0,n=0,i=0;n=o[e>>2]|0;i=(r[n>>0]|0)+-48|0;if(i>>>0<10){t=0;do{t=i+(t*10|0)|0;n=n+1|0;o[e>>2]=n;i=(r[n>>0]|0)+-48|0}while(i>>>0<10)}else t=0;return t|0}function fS(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0.0;e:do{if(t>>>0<=20)do{switch(t|0){case 9:{r=(o[n>>2]|0)+(4-1)&~(4-1);t=o[r>>2]|0;o[n>>2]=r+4;o[e>>2]=t;break e}case 10:{r=(o[n>>2]|0)+(4-1)&~(4-1);t=o[r>>2]|0;o[n>>2]=r+4;r=e;o[r>>2]=t;o[r+4>>2]=((t|0)<0)<<31>>31;break e}case 11:{r=(o[n>>2]|0)+(4-1)&~(4-1);t=o[r>>2]|0;o[n>>2]=r+4;r=e;o[r>>2]=t;o[r+4>>2]=0;break e}case 12:{r=(o[n>>2]|0)+(8-1)&~(8-1);t=r;i=o[t>>2]|0;t=o[t+4>>2]|0;o[n>>2]=r+8;r=e;o[r>>2]=i;o[r+4>>2]=t;break e}case 13:{i=(o[n>>2]|0)+(4-1)&~(4-1);r=o[i>>2]|0;o[n>>2]=i+4;r=(r&65535)<<16>>16;i=e;o[i>>2]=r;o[i+4>>2]=((r|0)<0)<<31>>31;break e}case 14:{i=(o[n>>2]|0)+(4-1)&~(4-1);r=o[i>>2]|0;o[n>>2]=i+4;i=e;o[i>>2]=r&65535;o[i+4>>2]=0;break e}case 15:{i=(o[n>>2]|0)+(4-1)&~(4-1);r=o[i>>2]|0;o[n>>2]=i+4;r=(r&255)<<24>>24;i=e;o[i>>2]=r;o[i+4>>2]=((r|0)<0)<<31>>31;break e}case 16:{i=(o[n>>2]|0)+(4-1)&~(4-1);r=o[i>>2]|0;o[n>>2]=i+4;i=e;o[i>>2]=r&255;o[i+4>>2]=0;break e}case 17:{i=(o[n>>2]|0)+(8-1)&~(8-1);a=+c[i>>3];o[n>>2]=i+8;c[e>>3]=a;break e}case 18:{i=(o[n>>2]|0)+(8-1)&~(8-1);a=+c[i>>3];o[n>>2]=i+8;c[e>>3]=a;break e}default:break e}}while(0)}while(0);return}function dS(e,t,n,i){e=e|0;t=t|0;n=n|0;i=i|0;if(!((e|0)==0&(t|0)==0))do{n=n+-1|0;r[n>>0]=a[5694+(e&15)>>0]|0|i;e=rT(e|0,t|0,4)|0;t=A}while(!((e|0)==0&(t|0)==0));return n|0}function hS(e,t,n){e=e|0;t=t|0;n=n|0;if(!((e|0)==0&(t|0)==0))do{n=n+-1|0;r[n>>0]=e&7|48;e=rT(e|0,t|0,3)|0;t=A}while(!((e|0)==0&(t|0)==0));return n|0}function pS(e,t,n){e=e|0;t=t|0;n=n|0;var i=0;if(t>>>0>0|(t|0)==0&e>>>0>4294967295){while(1){i=cT(e|0,t|0,10,0)|0;n=n+-1|0;r[n>>0]=i&255|48;i=e;e=uT(e|0,t|0,10,0)|0;if(!(t>>>0>9|(t|0)==9&i>>>0>4294967295))break;else t=A}t=e}else t=e;if(t)while(1){n=n+-1|0;r[n>>0]=(t>>>0)%10|0|48;if(t>>>0<10)break;else t=(t>>>0)/10|0}return n|0}function mS(e){e=e|0;return CS(e,o[(kS()|0)+188>>2]|0)|0}function gS(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0,u=0,s=0;u=t&255;i=(n|0)!=0;e:do{if(i&(e&3|0)!=0){a=t&255;while(1){if((r[e>>0]|0)==a<<24>>24){s=6;break e}e=e+1|0;n=n+-1|0;i=(n|0)!=0;if(!(i&(e&3|0)!=0)){s=5;break}}}else s=5}while(0);if((s|0)==5)if(i)s=6;else n=0;e:do{if((s|0)==6){a=t&255;if((r[e>>0]|0)!=a<<24>>24){i=X(u,16843009)|0;t:do{if(n>>>0>3)while(1){u=o[e>>2]^i;if((u&-2139062144^-2139062144)&u+-16843009|0)break;e=e+4|0;n=n+-4|0;if(n>>>0<=3){s=11;break t}}else s=11}while(0);if((s|0)==11)if(!n){n=0;break}while(1){if((r[e>>0]|0)==a<<24>>24)break e;e=e+1|0;n=n+-1|0;if(!n){n=0;break}}}}}while(0);return(n|0?e:0)|0}function vS(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;var o=0,a=0;a=p;p=p+256|0;o=a;if((n|0)>(r|0)&(i&73728|0)==0){i=n-r|0;tT(o|0,t|0,(i>>>0<256?i:256)|0)|0;if(i>>>0>255){t=n-r|0;do{lS(e,o,256);i=i+-256|0}while(i>>>0>255);i=t&255}lS(e,o,i)}p=a;return}function yS(e,t){e=e|0;t=t|0;if(!e)e=0;else e=wS(e,t,0)|0;return e|0}function _S(e,t,n,i,u,s){e=e|0;t=+t;n=n|0;i=i|0;u=u|0;s=s|0;var l=0,c=0,f=0,d=0,h=0,m=0,g=0,v=0.0,y=0,_=0,b=0,D=0,x=0,w=0,E=0,k=0,C=0,S=0,T=0,F=0,M=0,B=0,P=0;P=p;p=p+560|0;f=P+8|0;b=P;B=P+524|0;M=B;d=P+512|0;o[b>>2]=0;F=d+12|0;bS(t)|0;if((A|0)<0){t=-t;S=1;C=5659}else{S=(u&2049|0)!=0&1;C=(u&2048|0)==0?(u&1|0)==0?5660:5665:5662}bS(t)|0;T=A&2146435072;do{if(T>>>0<2146435072|(T|0)==2146435072&0<0){v=+DS(t,b)*2.0;l=v!=0.0;if(l)o[b>>2]=(o[b>>2]|0)+-1;x=s|32;if((x|0)==97){y=s&32;g=(y|0)==0?C:C+9|0;m=S|2;l=12-i|0;do{if(!(i>>>0>11|(l|0)==0)){t=8.0;do{l=l+-1|0;t=t*16.0}while((l|0)!=0);if((r[g>>0]|0)==45){t=-(t+(-v-t));break}else{t=v+t-t;break}}else t=v}while(0);c=o[b>>2]|0;l=(c|0)<0?0-c|0:c;l=pS(l,((l|0)<0)<<31>>31,F)|0;if((l|0)==(F|0)){l=d+11|0;r[l>>0]=48}r[l+-1>>0]=(c>>31&2)+43;h=l+-2|0;r[h>>0]=s+15;d=(i|0)<1;f=(u&8|0)==0;l=B;do{T=~~t;c=l+1|0;r[l>>0]=a[5694+T>>0]|y;t=(t-+(T|0))*16.0;if((c-M|0)==1?!(f&(d&t==0.0)):0){r[c>>0]=46;l=l+2|0}else l=c}while(t!=0.0);T=l-M|0;M=F-h|0;F=(i|0)!=0&(T+-2|0)<(i|0)?i+2|0:T;l=M+m+F|0;vS(e,32,n,l,u);lS(e,g,m);vS(e,48,n,l,u^65536);lS(e,B,T);vS(e,48,F-T|0,0,0);lS(e,h,M);vS(e,32,n,l,u^8192);break}c=(i|0)<0?6:i;if(l){l=(o[b>>2]|0)+-28|0;o[b>>2]=l;t=v*268435456.0}else{t=v;l=o[b>>2]|0}T=(l|0)<0?f:f+288|0;f=T;do{E=~~t>>>0;o[f>>2]=E;f=f+4|0;t=(t-+(E>>>0))*1.0e9}while(t!=0.0);if((l|0)>0){d=T;m=f;while(1){h=(l|0)<29?l:29;l=m+-4|0;if(l>>>0>=d>>>0){f=0;do{w=nT(o[l>>2]|0,0,h|0)|0;w=eT(w|0,A|0,f|0,0)|0;E=A;D=cT(w|0,E|0,1e9,0)|0;o[l>>2]=D;f=uT(w|0,E|0,1e9,0)|0;l=l+-4|0}while(l>>>0>=d>>>0);if(f){d=d+-4|0;o[d>>2]=f}}f=m;while(1){if(f>>>0<=d>>>0)break;l=f+-4|0;if(!(o[l>>2]|0))f=l;else break}l=(o[b>>2]|0)-h|0;o[b>>2]=l;if((l|0)>0)m=f;else break}}else d=T;if((l|0)<0){i=((c+25|0)/9|0)+1|0;_=(x|0)==102;do{y=0-l|0;y=(y|0)<9?y:9;if(d>>>0>>0){h=(1<>>y;g=0;l=d;do{E=o[l>>2]|0;o[l>>2]=(E>>>y)+g;g=X(E&h,m)|0;l=l+4|0}while(l>>>0>>0);l=(o[d>>2]|0)==0?d+4|0:d;if(!g){d=l;l=f}else{o[f>>2]=g;d=l;l=f+4|0}}else{d=(o[d>>2]|0)==0?d+4|0:d;l=f}f=_?T:d;f=(l-f>>2|0)>(i|0)?f+(i<<2)|0:l;l=(o[b>>2]|0)+y|0;o[b>>2]=l}while((l|0)<0);l=d;i=f}else{l=d;i=f}E=T;if(l>>>0>>0){f=(E-l>>2)*9|0;h=o[l>>2]|0;if(h>>>0>=10){d=10;do{d=d*10|0;f=f+1|0}while(h>>>0>=d>>>0)}}else f=0;_=(x|0)==103;D=(c|0)!=0;d=c-((x|0)!=102?f:0)+((D&_)<<31>>31)|0;if((d|0)<(((i-E>>2)*9|0)+-9|0)){d=d+9216|0;y=T+4+(((d|0)/9|0)+-1024<<2)|0;d=((d|0)%9|0)+1|0;if((d|0)<9){h=10;do{h=h*10|0;d=d+1|0}while((d|0)!=9)}else h=10;m=o[y>>2]|0;g=(m>>>0)%(h>>>0)|0;d=(y+4|0)==(i|0);if(!(d&(g|0)==0)){v=(((m>>>0)/(h>>>0)|0)&1|0)==0?9007199254740992.0:9007199254740994.0;w=(h|0)/2|0;t=g>>>0>>0?.5:d&(g|0)==(w|0)?1.0:1.5;if(S){w=(r[C>>0]|0)==45;t=w?-t:t;v=w?-v:v}d=m-g|0;o[y>>2]=d;if(v+t!=v){w=d+h|0;o[y>>2]=w;if(w>>>0>999999999){f=y;while(1){d=f+-4|0;o[f>>2]=0;if(d>>>0>>0){l=l+-4|0;o[l>>2]=0}w=(o[d>>2]|0)+1|0;o[d>>2]=w;if(w>>>0>999999999)f=d;else break}}else d=y;f=(E-l>>2)*9|0;m=o[l>>2]|0;if(m>>>0>=10){h=10;do{h=h*10|0;f=f+1|0}while(m>>>0>=h>>>0)}}else d=y}else d=y;d=d+4|0;d=i>>>0>d>>>0?d:i;w=l}else{d=i;w=l}x=d;while(1){if(x>>>0<=w>>>0){b=0;break}l=x+-4|0;if(!(o[l>>2]|0))x=l;else{b=1;break}}i=0-f|0;do{if(_){l=((D^1)&1)+c|0;if((l|0)>(f|0)&(f|0)>-5){h=s+-1|0;c=l+-1-f|0}else{h=s+-2|0;c=l+-1|0}l=u&8;if(!l){if(b?(k=o[x+-4>>2]|0,(k|0)!=0):0){if(!((k>>>0)%10|0)){d=0;l=10;do{l=l*10|0;d=d+1|0}while(!((k>>>0)%(l>>>0)|0|0))}else d=0}else d=9;l=((x-E>>2)*9|0)+-9|0;if((h|32|0)==102){y=l-d|0;y=(y|0)>0?y:0;c=(c|0)<(y|0)?c:y;y=0;break}else{y=l+f-d|0;y=(y|0)>0?y:0;c=(c|0)<(y|0)?c:y;y=0;break}}else y=l}else{h=s;y=u&8}}while(0);_=c|y;m=(_|0)!=0&1;g=(h|32|0)==102;if(g){D=0;l=(f|0)>0?f:0}else{l=(f|0)<0?i:f;l=pS(l,((l|0)<0)<<31>>31,F)|0;d=F;if((d-l|0)<2)do{l=l+-1|0;r[l>>0]=48}while((d-l|0)<2);r[l+-1>>0]=(f>>31&2)+43;l=l+-2|0;r[l>>0]=h;D=l;l=d-l|0}l=S+1+c+m+l|0;vS(e,32,n,l,u);lS(e,C,S);vS(e,48,n,l,u^65536);if(g){h=w>>>0>T>>>0?T:w;y=B+9|0;m=y;g=B+8|0;d=h;do{f=pS(o[d>>2]|0,0,y)|0;if((d|0)==(h|0)){if((f|0)==(y|0)){r[g>>0]=48;f=g}}else if(f>>>0>B>>>0){tT(B|0,48,f-M|0)|0;do{f=f+-1|0}while(f>>>0>B>>>0)}lS(e,f,m-f|0);d=d+4|0}while(d>>>0<=T>>>0);if(_|0)lS(e,5710,1);if(d>>>0>>0&(c|0)>0)while(1){f=pS(o[d>>2]|0,0,y)|0;if(f>>>0>B>>>0){tT(B|0,48,f-M|0)|0;do{f=f+-1|0}while(f>>>0>B>>>0)}lS(e,f,(c|0)<9?c:9);d=d+4|0;f=c+-9|0;if(!(d>>>0>>0&(c|0)>9)){c=f;break}else c=f}vS(e,48,c+9|0,9,0)}else{_=b?x:w+4|0;if((c|0)>-1){b=B+9|0;y=(y|0)==0;i=b;m=0-M|0;g=B+8|0;h=w;do{f=pS(o[h>>2]|0,0,b)|0;if((f|0)==(b|0)){r[g>>0]=48;f=g}do{if((h|0)==(w|0)){d=f+1|0;lS(e,f,1);if(y&(c|0)<1){f=d;break}lS(e,5710,1);f=d}else{if(f>>>0<=B>>>0)break;tT(B|0,48,f+m|0)|0;do{f=f+-1|0}while(f>>>0>B>>>0)}}while(0);M=i-f|0;lS(e,f,(c|0)>(M|0)?M:c);c=c-M|0;h=h+4|0}while(h>>>0<_>>>0&(c|0)>-1)}vS(e,48,c+18|0,18,0);lS(e,D,F-D|0)}vS(e,32,n,l,u^8192)}else{B=(s&32|0)!=0;l=S+3|0;vS(e,32,n,l,u&-65537);lS(e,C,S);lS(e,t!=t|0.0!=0.0?B?5686:5690:B?5678:5682,3);vS(e,32,n,l,u^8192)}}while(0);p=P;return((l|0)<(n|0)?n:l)|0}function bS(e){e=+e;var t=0;c[d>>3]=e;t=o[d>>2]|0;A=o[d+4>>2]|0;return t|0}function DS(e,t){e=+e;t=t|0;return+ +xS(e,t)}function xS(e,t){e=+e;t=t|0;var n=0,r=0,i=0;c[d>>3]=e;n=o[d>>2]|0;r=o[d+4>>2]|0;i=rT(n|0,r|0,52)|0;switch(i&2047){case 0:{if(e!=0.0){e=+xS(e*18446744073709551616.0,t);n=(o[t>>2]|0)+-64|0}else n=0;o[t>>2]=n;break}case 2047:break;default:{o[t>>2]=(i&2047)+-1022;o[d>>2]=n;o[d+4>>2]=r&-2146435073|1071644672;e=+c[d>>3]}}return+e}function wS(e,t,n){e=e|0;t=t|0;n=n|0;do{if(e){if(t>>>0<128){r[e>>0]=t;e=1;break}if(!(o[o[(ES()|0)+188>>2]>>2]|0))if((t&-128|0)==57216){r[e>>0]=t;e=1;break}else{o[(QC()|0)>>2]=84;e=-1;break}if(t>>>0<2048){r[e>>0]=t>>>6|192;r[e+1>>0]=t&63|128;e=2;break}if(t>>>0<55296|(t&-8192|0)==57344){r[e>>0]=t>>>12|224;r[e+1>>0]=t>>>6&63|128;r[e+2>>0]=t&63|128;e=3;break}if((t+-65536|0)>>>0<1048576){r[e>>0]=t>>>18|240;r[e+1>>0]=t>>>12&63|128;r[e+2>>0]=t>>>6&63|128;r[e+3>>0]=t&63|128;e=4;break}else{o[(QC()|0)>>2]=84;e=-1;break}}else e=1}while(0);return e|0}function ES(){return eS()|0}function kS(){return eS()|0}function CS(e,t){e=e|0;t=t|0;var n=0,i=0;i=0;while(1){if((a[5712+i>>0]|0)==(e|0)){e=2;break}n=i+1|0;if((n|0)==87){n=5800;i=87;e=5;break}else i=n}if((e|0)==2)if(!i)n=5800;else{n=5800;e=5}if((e|0)==5)while(1){do{e=n;n=n+1|0}while((r[e>>0]|0)!=0);i=i+-1|0;if(!i)break;else e=5}return SS(n,o[t+20>>2]|0)|0}function SS(e,t){e=e|0;t=t|0;return TS(e,t)|0}function TS(e,t){e=e|0;t=t|0;if(!t)t=0;else t=AS(o[t>>2]|0,o[t+4>>2]|0,e)|0;return(t|0?t:e)|0}function AS(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0,p=0;p=(o[e>>2]|0)+1794895138|0;u=FS(o[e+8>>2]|0,p)|0;i=FS(o[e+12>>2]|0,p)|0;a=FS(o[e+16>>2]|0,p)|0;e:do{if((u>>>0>>2>>>0?(h=t-(u<<2)|0,i>>>0>>0&a>>>0>>0):0)?((a|i)&3|0)==0:0){h=i>>>2;d=a>>>2;f=0;while(1){l=u>>>1;c=f+l|0;s=c<<1;a=s+h|0;i=FS(o[e+(a<<2)>>2]|0,p)|0;a=FS(o[e+(a+1<<2)>>2]|0,p)|0;if(!(a>>>0>>0&i>>>0<(t-a|0)>>>0)){i=0;break e}if(r[e+(a+i)>>0]|0){i=0;break e}i=rS(n,e+a|0)|0;if(!i)break;i=(i|0)<0;if((u|0)==1){i=0;break e}else{f=i?f:c;u=i?l:u-l|0}}i=s+d|0;a=FS(o[e+(i<<2)>>2]|0,p)|0;i=FS(o[e+(i+1<<2)>>2]|0,p)|0;if(i>>>0>>0&a>>>0<(t-i|0)>>>0)i=(r[e+(i+a)>>0]|0)==0?e+i|0:0;else i=0}else i=0}while(0);return i|0}function FS(e,t){e=e|0;t=t|0;var n=0;n=fT(e|0)|0;return((t|0)==0?e:n)|0}function MS(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0,u=0,s=0,l=0;i=n+16|0;a=o[i>>2]|0;if(!a){if(!(BS(n)|0)){a=o[i>>2]|0;u=5}else i=0}else u=5;e:do{if((u|0)==5){l=n+20|0;s=o[l>>2]|0;i=s;if((a-s|0)>>>0>>0){i=_A[o[n+36>>2]&7](n,e,t)|0;break}t:do{if((r[n+75>>0]|0)>-1){s=t;while(1){if(!s){u=0;a=e;break t}a=s+-1|0;if((r[e+a>>0]|0)==10)break;else s=a}i=_A[o[n+36>>2]&7](n,e,s)|0;if(i>>>0>>0)break e;u=s;a=e+s|0;t=t-s|0;i=o[l>>2]|0}else{u=0;a=e}}while(0);iT(i|0,a|0,t|0)|0;o[l>>2]=(o[l>>2]|0)+t;i=u+t|0}}while(0);return i|0}function BS(e){e=e|0;var t=0,n=0;t=e+74|0;n=r[t>>0]|0;r[t>>0]=n+255|n;t=o[e>>2]|0;if(!(t&8)){o[e+8>>2]=0;o[e+4>>2]=0;n=o[e+44>>2]|0;o[e+28>>2]=n;o[e+20>>2]=n;o[e+16>>2]=n+(o[e+48>>2]|0);e=0}else{o[e>>2]=t|32;e=-1}return e|0}function PS(e,t){e=$(e);t=$(t);var n=0,r=0;n=NS(e)|0;do{if((n&2147483647)>>>0<=2139095040){r=NS(t)|0;if((r&2147483647)>>>0<=2139095040)if((r^n|0)<0){e=(n|0)<0?t:e;break}else{e=e>2]=e,o[d>>2]|0)|0}function OS(e,t){e=$(e);t=$(t);var n=0,r=0;n=RS(e)|0;do{if((n&2147483647)>>>0<=2139095040){r=RS(t)|0;if((r&2147483647)>>>0<=2139095040)if((r^n|0)<0){e=(n|0)<0?e:t;break}else{e=e>2]=e,o[d>>2]|0)|0}function IS(e,t){e=$(e);t=$(t);var n=0,r=0,i=0,a=0,u=0,s=0,c=0,f=0;a=(l[d>>2]=e,o[d>>2]|0);s=(l[d>>2]=t,o[d>>2]|0);n=a>>>23&255;u=s>>>23&255;c=a&-2147483648;i=s<<1;e:do{if((i|0)!=0?!((n|0)==255|((LS(t)|0)&2147483647)>>>0>2139095040):0){r=a<<1;if(r>>>0<=i>>>0){t=$(e*$(0.0));return $((r|0)==(i|0)?t:e)}if(!n){n=a<<9;if((n|0)>-1){r=n;n=0;do{n=n+-1|0;r=r<<1}while((r|0)>-1)}else n=0;r=a<<1-n}else r=a&8388607|8388608;if(!u){a=s<<9;if((a|0)>-1){i=0;do{i=i+-1|0;a=a<<1}while((a|0)>-1)}else i=0;u=i;s=s<<1-i}else s=s&8388607|8388608;i=r-s|0;a=(i|0)>-1;t:do{if((n|0)>(u|0)){while(1){if(a)if(!i)break;else r=i;r=r<<1;n=n+-1|0;i=r-s|0;a=(i|0)>-1;if((n|0)<=(u|0))break t}t=$(e*$(0.0));break e}}while(0);if(a)if(!i){t=$(e*$(0.0));break}else r=i;if(r>>>0<8388608)do{r=r<<1;n=n+-1|0}while(r>>>0<8388608);if((n|0)>0)n=r+-8388608|n<<23;else n=r>>>(1-n|0);t=(o[d>>2]=n|c,$(l[d>>2]))}else f=3}while(0);if((f|0)==3){t=$(e*t);t=$(t/t)}return $(t)}function LS(e){e=$(e);return(l[d>>2]=e,o[d>>2]|0)|0}function jS(e,t){e=e|0;t=t|0;return oS(o[582]|0,e,t)|0}function US(e){e=e|0;$e()}function zS(e){e=e|0;return}function WS(e,t){e=e|0;t=t|0;return 0}function HS(e){e=e|0;if((XS(e+4|0)|0)==-1){pA[o[(o[e>>2]|0)+8>>2]&127](e);e=1}else e=0;return e|0}function XS(e){e=e|0;var t=0;t=o[e>>2]|0;o[e>>2]=t+-1;return t+-1|0}function JS(e){e=e|0;if(HS(e)|0)GS(e);return}function GS(e){e=e|0;var t=0;t=e+8|0;if(!((o[t>>2]|0)!=0?(XS(t)|0)!=-1:0))pA[o[(o[e>>2]|0)+16>>2]&127](e);return}function qS(e){e=e|0;var t=0;t=(e|0)==0?1:e;while(1){e=JC(t)|0;if(e|0)break;e=KS()|0;if(!e){e=0;break}BA[e&0]()}return e|0}function $S(e){e=e|0;return qS(e)|0}function VS(e){e=e|0;GC(e);return}function YS(e){e=e|0;if((r[e+11>>0]|0)<0)VS(o[e>>2]|0);return}function KS(){var e=0;e=o[2923]|0;o[2923]=e+0;return e|0}function QS(){}function ZS(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;r=t-r-(n>>>0>e>>>0|0)>>>0;return(A=r,e-n>>>0|0)|0}function eT(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;n=e+n>>>0;return(A=t+r+(n>>>0>>0|0)>>>0,n|0)|0}function tT(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0,u=0,s=0;u=e+n|0;t=t&255;if((n|0)>=67){while(e&3){r[e>>0]=t;e=e+1|0}i=u&-4|0;a=i-64|0;s=t|t<<8|t<<16|t<<24;while((e|0)<=(a|0)){o[e>>2]=s;o[e+4>>2]=s;o[e+8>>2]=s;o[e+12>>2]=s;o[e+16>>2]=s;o[e+20>>2]=s;o[e+24>>2]=s;o[e+28>>2]=s;o[e+32>>2]=s;o[e+36>>2]=s;o[e+40>>2]=s;o[e+44>>2]=s;o[e+48>>2]=s;o[e+52>>2]=s;o[e+56>>2]=s;o[e+60>>2]=s;e=e+64|0}while((e|0)<(i|0)){o[e>>2]=s;e=e+4|0}}while((e|0)<(u|0)){r[e>>0]=t;e=e+1|0}return u-n|0}function nT(e,t,n){e=e|0;t=t|0;n=n|0;if((n|0)<32){A=t<>>32-n;return e<>>n;return e>>>n|(t&(1<>>n-32|0}function iT(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0,u=0;if((n|0)>=8192)return He(e|0,t|0,n|0)|0;u=e|0;a=e+n|0;if((e&3)==(t&3)){while(e&3){if(!n)return u|0;r[e>>0]=r[t>>0]|0;e=e+1|0;t=t+1|0;n=n-1|0}n=a&-4|0;i=n-64|0;while((e|0)<=(i|0)){o[e>>2]=o[t>>2];o[e+4>>2]=o[t+4>>2];o[e+8>>2]=o[t+8>>2];o[e+12>>2]=o[t+12>>2];o[e+16>>2]=o[t+16>>2];o[e+20>>2]=o[t+20>>2];o[e+24>>2]=o[t+24>>2];o[e+28>>2]=o[t+28>>2];o[e+32>>2]=o[t+32>>2];o[e+36>>2]=o[t+36>>2];o[e+40>>2]=o[t+40>>2];o[e+44>>2]=o[t+44>>2];o[e+48>>2]=o[t+48>>2];o[e+52>>2]=o[t+52>>2];o[e+56>>2]=o[t+56>>2];o[e+60>>2]=o[t+60>>2];e=e+64|0;t=t+64|0}while((e|0)<(n|0)){o[e>>2]=o[t>>2];e=e+4|0;t=t+4|0}}else{n=a-4|0;while((e|0)<(n|0)){r[e>>0]=r[t>>0]|0;r[e+1>>0]=r[t+1>>0]|0;r[e+2>>0]=r[t+2>>0]|0;r[e+3>>0]=r[t+3>>0]|0;e=e+4|0;t=t+4|0}}while((e|0)<(a|0)){r[e>>0]=r[t>>0]|0;e=e+1|0;t=t+1|0}return u|0}function oT(e){e=e|0;var t=0;t=r[g+(e&255)>>0]|0;if((t|0)<8)return t|0;t=r[g+(e>>8&255)>>0]|0;if((t|0)<8)return t+8|0;t=r[g+(e>>16&255)>>0]|0;if((t|0)<8)return t+16|0;return(r[g+(e>>>24)>>0]|0)+24|0}function aT(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;var a=0,u=0,s=0,l=0,c=0,f=0,d=0,h=0,p=0,m=0;f=e;l=t;c=l;u=n;h=r;s=h;if(!c){a=(i|0)!=0;if(!s){if(a){o[i>>2]=(f>>>0)%(u>>>0);o[i+4>>2]=0}h=0;i=(f>>>0)/(u>>>0)>>>0;return(A=h,i)|0}else{if(!a){h=0;i=0;return(A=h,i)|0}o[i>>2]=e|0;o[i+4>>2]=t&0;h=0;i=0;return(A=h,i)|0}}a=(s|0)==0;do{if(u){if(!a){a=(q(s|0)|0)-(q(c|0)|0)|0;if(a>>>0<=31){d=a+1|0;s=31-a|0;t=a-31>>31;u=d;e=f>>>(d>>>0)&t|c<>>(d>>>0)&t;a=0;s=f<>2]=e|0;o[i+4>>2]=l|t&0;h=0;i=0;return(A=h,i)|0}a=u-1|0;if(a&u|0){s=(q(u|0)|0)+33-(q(c|0)|0)|0;m=64-s|0;d=32-s|0;l=d>>31;p=s-32|0;t=p>>31;u=s;e=d-1>>31&c>>>(p>>>0)|(c<>>(s>>>0))&t;t=t&c>>>(s>>>0);a=f<>>(p>>>0))&l|f<>31;break}if(i|0){o[i>>2]=a&f;o[i+4>>2]=0}if((u|0)==1){p=l|t&0;m=e|0|0;return(A=p,m)|0}else{m=oT(u|0)|0;p=c>>>(m>>>0)|0;m=c<<32-m|f>>>(m>>>0)|0;return(A=p,m)|0}}else{if(a){if(i|0){o[i>>2]=(c>>>0)%(u>>>0);o[i+4>>2]=0}p=0;m=(c>>>0)/(u>>>0)>>>0;return(A=p,m)|0}if(!f){if(i|0){o[i>>2]=0;o[i+4>>2]=(c>>>0)%(s>>>0)}p=0;m=(c>>>0)/(s>>>0)>>>0;return(A=p,m)|0}a=s-1|0;if(!(a&s)){if(i|0){o[i>>2]=e|0;o[i+4>>2]=a&c|t&0}p=0;m=c>>>((oT(s|0)|0)>>>0);return(A=p,m)|0}a=(q(s|0)|0)-(q(c|0)|0)|0;if(a>>>0<=30){t=a+1|0;s=31-a|0;u=t;e=c<>>(t>>>0);t=c>>>(t>>>0);a=0;s=f<>2]=e|0;o[i+4>>2]=l|t&0;p=0;m=0;return(A=p,m)|0}}while(0);if(!u){c=s;l=0;s=0}else{d=n|0|0;f=h|r&0;c=eT(d|0,f|0,-1,-1)|0;n=A;l=s;s=0;do{r=l;l=a>>>31|l<<1;a=s|a<<1;r=e<<1|r>>>31|0;h=e>>>31|t<<1|0;ZS(c|0,n|0,r|0,h|0)|0;m=A;p=m>>31|((m|0)<0?-1:0)<<1;s=p&1;e=ZS(r|0,h|0,p&d|0,(((m|0)<0?-1:0)>>31|((m|0)<0?-1:0)<<1)&f|0)|0;t=A;u=u-1|0}while((u|0)!=0);c=l;l=0}u=0;if(i|0){o[i>>2]=e;o[i+4>>2]=t}p=(a|0)>>>31|(c|u)<<1|(u<<1|a>>>31)&0|l;m=(a<<1|0>>>31)&-2|s;return(A=p,m)|0}function uT(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;return aT(e,t,n,r,0)|0}function sT(e){e=e|0;var t=0,n=0;n=e+15&-16|0;t=o[f>>2]|0;e=t+n|0;if((n|0)>0&(e|0)<(t|0)|(e|0)<0){Z()|0;Je(12);return-1}o[f>>2]=e;if((e|0)>(Q()|0)?(K()|0)==0:0){o[f>>2]=t;Je(12);return-1}return t|0}function lT(e,t,n){e=e|0;t=t|0;n=n|0;var i=0;if((t|0)<(e|0)&(e|0)<(t+n|0)){i=e;t=t+n|0;e=e+n|0;while((n|0)>0){e=e-1|0;t=t-1|0;n=n-1|0;r[e>>0]=r[t>>0]|0}e=i}else iT(e,t,n)|0;return e|0}function cT(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=p;p=p+16|0;i=a|0;aT(e,t,n,r,i)|0;p=a;return(A=o[i+4>>2]|0,o[i>>2]|0)|0}function fT(e){e=e|0;return(e&255)<<24|(e>>8&255)<<16|(e>>16&255)<<8|e>>>24|0}function dT(e,t,n,r,i,o){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;o=o|0;cA[e&1](t|0,n|0,r|0,i|0,o|0)}function hT(e,t,n){e=e|0;t=t|0;n=$(n);fA[e&1](t|0,$(n))}function pT(e,t,n){e=e|0;t=t|0;n=+n;dA[e&31](t|0,+n)}function mT(e,t,n,r){e=e|0;t=t|0;n=$(n);r=$(r);return $(hA[e&0](t|0,$(n),$(r)))}function gT(e,t){e=e|0;t=t|0;pA[e&127](t|0)}function vT(e,t,n){e=e|0;t=t|0;n=n|0;mA[e&31](t|0,n|0)}function yT(e,t){e=e|0;t=t|0;return gA[e&31](t|0)|0}function _T(e,t,n,r,i){e=e|0;t=t|0;n=+n;r=+r;i=i|0;vA[e&1](t|0,+n,+r,i|0)}function bT(e,t,n,r){e=e|0;t=t|0;n=+n;r=+r;yA[e&1](t|0,+n,+r)}function DT(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;return _A[e&7](t|0,n|0,r|0)|0}function xT(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;return+bA[e&1](t|0,n|0,r|0)}function wT(e,t){e=e|0;t=t|0;return+DA[e&15](t|0)}function ET(e,t,n){e=e|0;t=t|0;n=+n;return xA[e&1](t|0,+n)|0}function kT(e,t,n){e=e|0;t=t|0;n=n|0;return wA[e&15](t|0,n|0)|0}function CT(e,t,n,r,i,o){e=e|0;t=t|0;n=n|0;r=+r;i=+i;o=o|0;EA[e&1](t|0,n|0,+r,+i,o|0)}function ST(e,t,n,r,i,o,a){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;o=o|0;a=a|0;kA[e&1](t|0,n|0,r|0,i|0,o|0,a|0)}function TT(e,t,n){e=e|0;t=t|0;n=n|0;return+CA[e&7](t|0,n|0)}function AT(e){e=e|0;return SA[e&7]()|0}function FT(e,t,n,r,i,o){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;o=o|0;return TA[e&1](t|0,n|0,r|0,i|0,o|0)|0}function MT(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=+i;AA[e&1](t|0,n|0,r|0,+i)}function BT(e,t,n,r,i,o,a){e=e|0;t=t|0;n=n|0;r=$(r);i=i|0;o=$(o);a=a|0;FA[e&1](t|0,n|0,$(r),i|0,$(o),a|0)}function PT(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;MA[e&15](t|0,n|0,r|0)}function NT(e){e=e|0;BA[e&0]()}function OT(e,t,n,r){e=e|0;t=t|0;n=n|0;r=+r;PA[e&15](t|0,n|0,+r)}function RT(e,t,n){e=e|0;t=+t;n=+n;return NA[e&1](+t,+n)|0}function IT(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;OA[e&15](t|0,n|0,r|0,i|0)}function LT(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;V(0)}function jT(e,t){e=e|0;t=$(t);V(1)}function UT(e,t){e=e|0;t=+t;V(2)}function zT(e,t,n){e=e|0;t=$(t);n=$(n);V(3);return ft}function WT(e){e=e|0;V(4)}function HT(e,t){e=e|0;t=t|0;V(5)}function XT(e){e=e|0;V(6);return 0}function JT(e,t,n,r){e=e|0;t=+t;n=+n;r=r|0;V(7)}function GT(e,t,n){e=e|0;t=+t;n=+n;V(8)}function qT(e,t,n){e=e|0;t=t|0;n=n|0;V(9);return 0}function $T(e,t,n){e=e|0;t=t|0;n=n|0;V(10);return 0.0}function VT(e){e=e|0;V(11);return 0.0}function YT(e,t){e=e|0;t=+t;V(12);return 0}function KT(e,t){e=e|0;t=t|0;V(13);return 0}function QT(e,t,n,r,i){e=e|0;t=t|0;n=+n;r=+r;i=i|0;V(14)}function ZT(e,t,n,r,i,o){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;o=o|0;V(15)}function eA(e,t){e=e|0;t=t|0;V(16);return 0.0}function tA(){V(17);return 0}function nA(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;V(18);return 0}function rA(e,t,n,r){e=e|0;t=t|0;n=n|0;r=+r;V(19)}function iA(e,t,n,r,i,o){e=e|0;t=t|0;n=$(n);r=r|0;i=$(i);o=o|0;V(20)}function oA(e,t,n){e=e|0;t=t|0;n=n|0;V(21)}function aA(){V(22)}function uA(e,t,n){e=e|0;t=t|0;n=+n;V(23)}function sA(e,t){e=+e;t=+t;V(24);return 0}function lA(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;V(25)}var cA=[LT,wx];var fA=[jT,Ji];var dA=[UT,yo,_o,bo,Do,xo,wo,Eo,Co,So,Ao,Fo,Mo,Bo,Po,No,Oo,Ro,Io,UT,UT,UT,UT,UT,UT,UT,UT,UT,UT,UT,UT,UT];var hA=[zT];var pA=[WT,zS,ps,ms,gs,Vd,Yd,Kd,yb,_b,bb,ox,ax,ux,aC,uC,sC,bt,Yi,to,ko,To,ja,Ua,Vu,Es,Ws,hl,Pl,rc,Cc,Jc,df,Nf,Zf,yd,Id,vh,Rh,tp,bp,jp,im,Cm,Xm,ug,Tg,Wi,cv,Av,Kv,yy,Ry,o_,v_,b_,U_,H_,ub,wb,Cb,Gb,hD,ks,Fw,hE,ME,VE,bk,Lk,Yk,Zk,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT,WT];var mA=[HT,no,ro,ao,uo,so,lo,co,fo,mo,go,vo,ea,ra,ia,oa,aa,ua,sa,ha,va,Va,Fm,qm,xy,Pw,DD,eE,HT,HT,HT,HT];var gA=[XT,$C,Vi,zo,Jo,Go,qo,$o,Vo,Yo,Qo,Zo,pa,ma,za,Mg,Uy,Vb,Lw,Uw,XT,XT,XT,XT,XT,XT,XT,XT,XT,XT,XT,XT];var vA=[JT,Wa];var yA=[GT,cb];var _A=[qT,VC,YC,nS,uc,Dh,pv,ZE];var bA=[$T,rd];var DA=[VT,ta,na,la,Ha,Xa,Ja,Ga,qa,$a,VT,VT,VT,VT,VT,VT];var xA=[YT,h_];var wA=[KT,WS,ga,ts,vl,Fc,Vc,zd,Uh,fg,Gi,OE,KT,KT,KT,KT];var EA=[QT,Gs];var kA=[ZT,Ek];var CA=[eA,ca,Ya,Ka,Qa,xd,eA,eA];var SA=[tA,Za,qi,Ui,k_,q_,Mb,rC];var TA=[nA,Rr];var AA=[rA,Ep];var FA=[iA,_a];var MA=[oA,Wo,Ko,fa,da,Il,gf,Hp,sm,Xi,Qx,vE,Wk,oA,oA,oA];var BA=[aA];var PA=[uA,io,oo,ho,po,Lo,jo,Uo,op,Pv,s_,uA,uA,uA,uA,uA];var NA=[sA,mb];var OA=[lA,Lf,jg,ty,Vy,M_,Z_,Lb,yD,Jw,pC,lA,lA,lA,lA,lA];return{_llvm_bswap_i32:fT,dynCall_idd:RT,dynCall_i:AT,_i64Subtract:ZS,___udivdi3:uT,dynCall_vif:hT,setThrew:gt,dynCall_viii:PT,_bitshift64Lshr:rT,_bitshift64Shl:nT,dynCall_vi:gT,dynCall_viiddi:CT,dynCall_diii:xT,dynCall_iii:kT,_memset:tT,_sbrk:sT,_memcpy:iT,__GLOBAL__sub_I_Yoga_cpp:ji,dynCall_vii:vT,___uremdi3:cT,dynCall_vid:pT,stackAlloc:dt,_nbind_init:AC,getTempRet0:yt,dynCall_di:wT,dynCall_iid:ET,setTempRet0:vt,_i64Add:eT,dynCall_fiff:mT,dynCall_iiii:DT,_emscripten_get_global_libc:qC,dynCall_viid:OT,dynCall_viiid:MT,dynCall_viififi:BT,dynCall_ii:yT,__GLOBAL__sub_I_Binding_cc:Dw,dynCall_viiii:IT,dynCall_iiiiii:FT,stackSave:ht,dynCall_viiiii:dT,__GLOBAL__sub_I_nbind_cc:eu,dynCall_vidd:bT,_free:GC,runPostSets:QS,dynCall_viiiiii:ST,establishStackSpace:mt,_memmove:lT,stackRestore:pt,_malloc:JC,__GLOBAL__sub_I_common_cc:iD,dynCall_viddi:_T,dynCall_dii:TT,dynCall_v:NT}}(Module.asmGlobalArg,Module.asmLibraryArg,buffer),_llvm_bswap_i32=Module._llvm_bswap_i32=asm._llvm_bswap_i32,getTempRet0=Module.getTempRet0=asm.getTempRet0,___udivdi3=Module.___udivdi3=asm.___udivdi3,setThrew=Module.setThrew=asm.setThrew,_bitshift64Lshr=Module._bitshift64Lshr=asm._bitshift64Lshr,_bitshift64Shl=Module._bitshift64Shl=asm._bitshift64Shl,_memset=Module._memset=asm._memset,_sbrk=Module._sbrk=asm._sbrk,_memcpy=Module._memcpy=asm._memcpy,stackAlloc=Module.stackAlloc=asm.stackAlloc,___uremdi3=Module.___uremdi3=asm.___uremdi3,_nbind_init=Module._nbind_init=asm._nbind_init,_i64Subtract=Module._i64Subtract=asm._i64Subtract,setTempRet0=Module.setTempRet0=asm.setTempRet0,_i64Add=Module._i64Add=asm._i64Add,_emscripten_get_global_libc=Module._emscripten_get_global_libc=asm._emscripten_get_global_libc,__GLOBAL__sub_I_Yoga_cpp=Module.__GLOBAL__sub_I_Yoga_cpp=asm.__GLOBAL__sub_I_Yoga_cpp,__GLOBAL__sub_I_Binding_cc=Module.__GLOBAL__sub_I_Binding_cc=asm.__GLOBAL__sub_I_Binding_cc,stackSave=Module.stackSave=asm.stackSave,__GLOBAL__sub_I_nbind_cc=Module.__GLOBAL__sub_I_nbind_cc=asm.__GLOBAL__sub_I_nbind_cc,_free=Module._free=asm._free,runPostSets=Module.runPostSets=asm.runPostSets,establishStackSpace=Module.establishStackSpace=asm.establishStackSpace,_memmove=Module._memmove=asm._memmove,stackRestore=Module.stackRestore=asm.stackRestore,_malloc=Module._malloc=asm._malloc,__GLOBAL__sub_I_common_cc=Module.__GLOBAL__sub_I_common_cc=asm.__GLOBAL__sub_I_common_cc,dynCall_viiiii=Module.dynCall_viiiii=asm.dynCall_viiiii,dynCall_vif=Module.dynCall_vif=asm.dynCall_vif,dynCall_vid=Module.dynCall_vid=asm.dynCall_vid,dynCall_fiff=Module.dynCall_fiff=asm.dynCall_fiff,dynCall_vi=Module.dynCall_vi=asm.dynCall_vi,dynCall_vii=Module.dynCall_vii=asm.dynCall_vii,dynCall_ii=Module.dynCall_ii=asm.dynCall_ii,dynCall_viddi=Module.dynCall_viddi=asm.dynCall_viddi,dynCall_vidd=Module.dynCall_vidd=asm.dynCall_vidd,dynCall_iiii=Module.dynCall_iiii=asm.dynCall_iiii,dynCall_diii=Module.dynCall_diii=asm.dynCall_diii,dynCall_di=Module.dynCall_di=asm.dynCall_di,dynCall_iid=Module.dynCall_iid=asm.dynCall_iid,dynCall_iii=Module.dynCall_iii=asm.dynCall_iii,dynCall_viiddi=Module.dynCall_viiddi=asm.dynCall_viiddi,dynCall_viiiiii=Module.dynCall_viiiiii=asm.dynCall_viiiiii,dynCall_dii=Module.dynCall_dii=asm.dynCall_dii,dynCall_i=Module.dynCall_i=asm.dynCall_i,dynCall_iiiiii=Module.dynCall_iiiiii=asm.dynCall_iiiiii,dynCall_viiid=Module.dynCall_viiid=asm.dynCall_viiid,dynCall_viififi=Module.dynCall_viififi=asm.dynCall_viififi,dynCall_viii=Module.dynCall_viii=asm.dynCall_viii,dynCall_v=Module.dynCall_v=asm.dynCall_v,dynCall_viid=Module.dynCall_viid=asm.dynCall_viid,dynCall_idd=Module.dynCall_idd=asm.dynCall_idd,dynCall_viiii=Module.dynCall_viiii=asm.dynCall_viiii,initialStackTop;function ExitStatus(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}Runtime.stackAlloc=Module.stackAlloc,Runtime.stackSave=Module.stackSave,Runtime.stackRestore=Module.stackRestore,Runtime.establishStackSpace=Module.establishStackSpace,Runtime.setTempRet0=Module.setTempRet0,Runtime.getTempRet0=Module.getTempRet0,Module.asm=asm,ExitStatus.prototype=new Error,ExitStatus.prototype.constructor=ExitStatus;var preloadStartTime=null,calledMain=!1;function run(e){function t(){Module.calledRun||(Module.calledRun=!0,ABORT||(ensureInitRuntime(),preMain(),Module.onRuntimeInitialized&&Module.onRuntimeInitialized(),Module._main&&shouldRunNow&&Module.callMain(e),postRun()))}e=e||Module.arguments,null===preloadStartTime&&(preloadStartTime=Date.now()),runDependencies>0||(preRun(),runDependencies>0||Module.calledRun||(Module.setStatus?(Module.setStatus("Running..."),setTimeout(function(){setTimeout(function(){Module.setStatus("")},1),t()},1)):t()))}function exit(e,t){t&&Module.noExitRuntime||(Module.noExitRuntime||(ABORT=!0,EXITSTATUS=e,STACKTOP=initialStackTop,exitRuntime(),Module.onExit&&Module.onExit(e)),ENVIRONMENT_IS_NODE&&process.exit(e),Module.quit(e,new ExitStatus(e)))}dependenciesFulfilled=function e(){Module.calledRun||run(),Module.calledRun||(dependenciesFulfilled=e)},Module.callMain=Module.callMain=function(e){e=e||[],ensureInitRuntime();var t=e.length+1;function n(){for(var e=0;e<3;e++)r.push(0)}var r=[allocate(intArrayFromString(Module.thisProgram),"i8",ALLOC_NORMAL)];n();for(var i=0;i0;)Module.preInit.pop()();var shouldRunNow=!0;Module.noInitialRun&&(shouldRunNow=!1),run()},void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return wrapper}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__=[]))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(149)),i=o(n(70));function o(e){return e&&e.__esModule?e:{default:e}}t.default=class{constructor({width:e,height:t}){const n=[];for(let r=0;re.trimRight()).join("\n")}}},function(e,t,n){"use strict";const r=n(150),i=n(152);e.exports=e=>r(e).replace(i()," ").length},function(e,t,n){"use strict";const r=n(151);e.exports=e=>"string"==typeof e?e.replace(r(),""):e},function(e,t,n){"use strict";e.exports=()=>{const e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|");return new RegExp(e,"g")}},function(e,t,n){"use strict";const r="[\ud800-\udbff][\udc00-\udfff]";e.exports=e=>e&&e.exact?new RegExp(`^${r}$`):new RegExp(r,"g")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(45)),i=a(n(154)),o=a(n(71));function a(e){return e&&e.__esModule?e:{default:e}}const u=(e,t)=>{const{config:n,terminalWidth:a,skipStaticElements:s}=t,l=r.default.Node.create(n);e.yogaNode=l;const c=e.style||{};if("ROOT"===e.nodeName){if(l.setWidth(a||100),e.childNodes.length>0){const n=e.childNodes.filter(e=>!s||!e.unstable__static);for(const[e,r]of Object.entries(n)){const n=u(r,t).yogaNode;l.insertChild(n,e)}}return e}if((0,i.default)(l,c),e.textContent||e.nodeValue){const{width:t,height:n}=(0,o.default)(e.textContent||e.nodeValue);return l.setWidth(c.width||t),l.setHeight(c.height||n),e}if(Array.isArray(e.childNodes)&&e.childNodes.length>0){const n=e.childNodes.filter(e=>!s||!e.unstable__static);for(const[e,r]of Object.entries(n)){const{yogaNode:n}=u(r,t);l.insertChild(n,e)}}return e};var s=u;t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(45))&&r.__esModule?r:{default:r};const o=(e,t)=>({}).hasOwnProperty.call(e,t);t.default=(e,t={})=>{((e,t)=>{t.margin&&(e.setMargin(i.default.EDGE_TOP,t.margin),e.setMargin(i.default.EDGE_BOTTOM,t.margin),e.setMargin(i.default.EDGE_START,t.margin),e.setMargin(i.default.EDGE_END,t.margin)),t.marginX&&(e.setMargin(i.default.EDGE_START,t.marginX),e.setMargin(i.default.EDGE_END,t.marginX)),t.marginY&&(e.setMargin(i.default.EDGE_TOP,t.marginY),e.setMargin(i.default.EDGE_BOTTOM,t.marginY)),t.marginTop&&e.setMargin(i.default.EDGE_TOP,t.marginTop),t.marginBottom&&e.setMargin(i.default.EDGE_BOTTOM,t.marginBottom),t.marginLeft&&e.setMargin(i.default.EDGE_START,t.marginLeft),t.marginRight&&e.setMargin(i.default.EDGE_END,t.marginRight)})(e,t),((e,t)=>{t.padding&&(e.setPadding(i.default.EDGE_TOP,t.padding),e.setPadding(i.default.EDGE_BOTTOM,t.padding),e.setPadding(i.default.EDGE_LEFT,t.padding),e.setPadding(i.default.EDGE_RIGHT,t.padding)),t.paddingX&&(e.setPadding(i.default.EDGE_LEFT,t.paddingX),e.setPadding(i.default.EDGE_RIGHT,t.paddingX)),t.paddingY&&(e.setPadding(i.default.EDGE_TOP,t.paddingY),e.setPadding(i.default.EDGE_BOTTOM,t.paddingY)),t.paddingTop&&e.setPadding(i.default.EDGE_TOP,t.paddingTop),t.paddingBottom&&e.setPadding(i.default.EDGE_BOTTOM,t.paddingBottom),t.paddingLeft&&e.setPadding(i.default.EDGE_LEFT,t.paddingLeft),t.paddingRight&&e.setPadding(i.default.EDGE_RIGHT,t.paddingRight)})(e,t),((e,t)=>{t.flexGrow&&e.setFlexGrow(t.flexGrow),t.flexShrink&&e.setFlexShrink(t.flexShrink),t.flexDirection&&("row"===t.flexDirection&&e.setFlexDirection(i.default.FLEX_DIRECTION_ROW),"row-reverse"===t.flexDirection&&e.setFlexDirection(i.default.FLEX_DIRECTION_ROW_REVERSE),"column"===t.flexDirection&&e.setFlexDirection(i.default.FLEX_DIRECTION_COLUMN),"column-reverse"===t.flexDirection&&e.setFlexDirection(i.default.FLEX_DIRECTION_COLUMN_REVERSE)),o(t,"flexBasis")&&e.setFlexBasis(t.flexBasis),t.alignItems&&("flex-start"===t.alignItems&&e.setAlignItems(i.default.ALIGN_FLEX_START),"center"===t.alignItems&&e.setAlignItems(i.default.ALIGN_CENTER),"flex-end"===t.alignItems&&e.setAlignItems(i.default.ALIGN_FLEX_END)),t.justifyContent&&("flex-start"===t.justifyContent&&e.setJustifyContent(i.default.JUSTIFY_FLEX_START),"center"===t.justifyContent&&e.setJustifyContent(i.default.JUSTIFY_CENTER),"flex-end"===t.justifyContent&&e.setJustifyContent(i.default.JUSTIFY_FLEX_END),"space-between"===t.justifyContent&&e.setJustifyContent(i.default.JUSTIFY_SPACE_BETWEEN),"space-around"===t.justifyContent&&e.setJustifyContent(i.default.JUSTIFY_SPACE_AROUND))})(e,t),((e,t)=>{o(t,"width")&&e.setWidth(t.width),o(t,"height")&&e.setHeight(t.height),o(t,"minWidth")&&e.setMinWidth(t.minWidth),o(t,"minHeight")&&e.setMinHeight(t.minHeight)})(e,t)}},function(e,t,n){"use strict";const r=n(156);e.exports=e=>"string"==typeof e?e.replace(r(),""):e},function(e,t,n){"use strict";e.exports=()=>{const e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|");return new RegExp(e,"g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(72)),i=a(n(74)),o=a(n(75));function a(e){return e&&e.__esModule?e:{default:e}}const u=e=>{if("#text"===e.nodeName)return!0;if("SPAN"===e.nodeName){if(e.textContent)return!0;if(Array.isArray(e.childNodes))return e.childNodes.every(u)}return!1},s=e=>{let t="";for(const n of e.childNodes){let e;"#text"===n.nodeName&&(e=n.nodeValue),"SPAN"===n.nodeName&&(e=n.textContent||s(n)),n.unstable__transformChildren&&(e=n.unstable__transformChildren(e)),t+=e}return t},l=(e,t,{offsetX:n=0,offsetY:a=0,transformers:c=[],skipStaticElements:f})=>{if(e.unstable__static&&f)return;const{yogaNode:d}=e,h=n+d.getComputedLeft(),p=a+d.getComputedTop();let m=c;if(e.unstable__transformChildren&&(m=[e.unstable__transformChildren,...c]),e.textContent){let n=e.textContent;if(e.parentNode.style.textWrap){const t=(0,r.default)(n),a=(0,o.default)(e.parentNode.yogaNode);t>a&&(n=(0,i.default)(n,a,{textWrap:e.parentNode.style.textWrap}))}t.write(h,p,n,{transformers:m})}else if("#text"!==e.nodeName){if(Array.isArray(e.childNodes)&&e.childNodes.length>0){if("row"===e.style.flexDirection&&e.childNodes.every(u)){let n=s(e);if(e.style.textWrap){const t=(0,r.default)(n),a=(0,o.default)(d);t>a&&(n=(0,i.default)(n,a,{textWrap:e.style.textWrap}))}return void t.write(h,p,n,{transformers:m})}for(const n of e.childNodes)l(n,t,{offsetX:h,offsetY:p,transformers:m,skipStaticElements:f})}}else t.write(h,p,e.nodeValue,{transformers:m})};var c=l;t.default=c},function(e,t,n){"use strict";const r=n(70),i=n(73);e.exports=(e,t,n)=>{const o=(n=Object.assign({position:"end"},n)).position;if("string"!=typeof e)throw new TypeError(`Expected \`input\` to be a string, got ${typeof e}`);if("number"!=typeof t)throw new TypeError(`Expected \`columns\` to be a number, got ${typeof t}`);if(t<1)return"";if(1===t)return"…";const a=i(e);if(a<=t)return e;if("start"===o)return"…"+r(e,a-t+1,a);if("middle"===o){const n=Math.floor(t/2);return r(e,0,n)+"…"+r(e,a-(t-n)+1,a)}if("end"===o)return r(e,0,t-1)+"…";throw new Error(`Expected \`options.position\` to be either \`start\`, \`middle\` or \`end\`, got ${o}`)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(160)),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0)),o=c(n(12)),a=c(n(62)),u=c(n(77)),s=c(n(78)),l=c(n(79));function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class d extends i.PureComponent{isRawModeSupported(){return this.props.stdin.isTTY}constructor(){super(),f(this,"handleSetRawMode",e=>{const{stdin:t}=this.props;if(!this.isRawModeSupported())throw t===process.stdin?new Error("Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default.\nRead about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported"):new Error("Raw mode is not supported on the stdin provided to Ink.\nRead about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported");if(t.setEncoding("utf8"),e)return 0===this.rawModeEnabledCount&&(t.addListener("data",this.handleInput),t.resume(),t.setRawMode(!0),r.default.emitKeypressEvents(t)),void this.rawModeEnabledCount++;0==--this.rawModeEnabledCount&&(t.setRawMode(!1),t.removeListener("data",this.handleInput),t.pause())}),f(this,"handleInput",e=>{""===e&&this.props.exitOnCtrlC&&this.handleExit()}),f(this,"handleExit",e=>{this.isRawModeSupported()&&this.handleSetRawMode(!1),this.props.onExit(e)}),this.rawModeEnabledCount=0}render(){return i.default.createElement(u.default.Provider,{value:{exit:this.handleExit}},i.default.createElement(s.default.Provider,{value:{stdin:this.props.stdin,setRawMode:this.handleSetRawMode,isRawModeSupported:this.isRawModeSupported()}},i.default.createElement(l.default.Provider,{value:{stdout:this.props.stdout}},this.props.children)))}componentDidMount(){a.default.hide(this.props.stdout)}componentWillUnmount(){a.default.show(this.props.stdout),this.isRawModeSupported()&&this.handleSetRawMode(!1)}componentDidCatch(e){this.handleExit(e)}}t.default=d,f(d,"propTypes",{children:o.default.node.isRequired,stdin:o.default.object.isRequired,stdout:o.default.object.isRequired,exitOnCtrlC:o.default.bool.isRequired,onExit:o.default.func.isRequired})},function(e,t){e.exports=require("readline")},function(e,t,n){"use strict";var r=n(162);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0)),o=(r=n(12))&&r.__esModule?r:{default:r};function a(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class s extends i.PureComponent{constructor(){super(),this.nodeRef=i.default.createRef()}render(){const e=this.props,{children:t,unstable__transformChildren:n}=e,r=a(e,["children","unstable__transformChildren"]);return i.default.createElement("div",{ref:this.nodeRef,style:r,unstable__transformChildren:n},t)}unstable__getComputedWidth(){return this.nodeRef.current.yogaNode.getComputedWidth()}}t.default=s,u(s,"propTypes",{margin:o.default.number,marginX:o.default.number,marginY:o.default.number,marginTop:o.default.number,marginBottom:o.default.number,marginLeft:o.default.number,marginRight:o.default.number,padding:o.default.number,paddingX:o.default.number,paddingY:o.default.number,paddingTop:o.default.number,paddingBottom:o.default.number,paddingLeft:o.default.number,paddingRight:o.default.number,width:o.default.oneOfType([o.default.number,o.default.string]),minWidth:o.default.number,height:o.default.oneOfType([o.default.number,o.default.string]),minHeight:o.default.number,flexGrow:o.default.number,flexShrink:o.default.number,flexDirection:o.default.oneOf(["row","row-reverse","column","column-reverse"]),flexBasis:o.default.oneOfType([o.default.number,o.default.string]),alignItems:o.default.oneOf(["flex-start","center","flex-end"]),justifyContent:o.default.oneOf(["flex-start","center","flex-end","space-between","space-around"]),textWrap:o.default.oneOf(["wrap","truncate","truncate-start","truncate-middle","truncate-end"]),unstable__transformChildren:o.default.func,children:o.default.node}),u(s,"defaultProps",{flexDirection:"row",flexGrow:0,flexShrink:1})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(0)),i=a(n(12)),o=a(n(80));function a(e){return e&&e.__esModule?e:{default:e}}const u=({bold:e,italic:t,underline:n,strikethrough:i,children:a,unstable__transformChildren:u})=>{return r.default.createElement("span",{style:{flexDirection:"row"},unstable__transformChildren:r=>(e&&(r=o.default.bold(r)),t&&(r=o.default.italic(r)),n&&(r=o.default.underline(r)),i&&(r=o.default.strikethrough(r)),u&&(r=u(r)),r)},a)};u.propTypes={bold:i.default.bool,italic:i.default.bool,underline:i.default.bool,strikethrough:i.default.bool,children:i.default.node.isRequired,unstable__transformChildren:i.default.func},u.defaultProps={bold:!1,italic:!1,underline:!1,strikethrough:!1,unstable__transformChildren:void 0};var s=u;t.default=s},function(e,t,n){"use strict";const r=n(166),i=n(167),o=process.env;let a;function u(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===a)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(e&&!e.isTTY&&!0!==a)return 0;const t=a?1:0;if("win32"===process.platform){const e=r.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in o)||"codeship"===o.CI_NAME?1:t;if("TEAMCITY_VERSION"in o)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0;if("truecolor"===o.COLORTERM)return 3;if("TERM_PROGRAM"in o){const e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)?1:"COLORTERM"in o?1:(o.TERM,t)}(e))}i("no-color")||i("no-colors")||i("color=false")?a=!1:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(a=!0),"FORCE_COLOR"in o&&(a=0===o.FORCE_COLOR.length||0!==parseInt(o.FORCE_COLOR,10)),e.exports={supportsColor:u,stdout:u(process.stdout),stderr:u(process.stderr)}},function(e,t){e.exports=require("os")},function(e,t,n){"use strict";e.exports=(e,t)=>{t=t||process.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||rt?s(t):n))}else n.push(Number(t));return n}function c(e){i.lastIndex=0;const t=[];let n;for(;null!==(n=i.exec(e));){const e=n[1];if(n[2]){const r=l(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function f(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const e of Object.keys(n))if(Array.isArray(n[e])){if(!(e in r))throw new Error(`Unknown Chalk style: ${e}`);r=n[e].length>0?r[e].apply(r,n[e]):r[e]}return r}e.exports=(e,t)=>{const n=[],i=[];let o=[];if(t.replace(r,(t,r,a,u,l,d)=>{if(r)o.push(s(r));else if(u){const t=o.join("");o=[],i.push(0===n.length?t:f(e,n)(t)),n.push({inverse:a,styles:c(u)})}else if(l){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");i.push(f(e,n)(o.join(""))),o=[],n.pop()}else o.push(d)}),i.push(o.join("")),n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${1===n.length?"":"s"} (\`}\`)`;throw new Error(e)}return i.join("")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(0)),i=u(n(12)),o=u(n(170)),a=u(n(80));function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}const l=["hex","hsl","hsv","hwb","rgb","keyword","bgHex","bgHsl","bgHsv","bgHwb","bgRgb","bgKeyword"],c=e=>{let{children:t}=e,n=s(e,["children"]);return r.default.createElement("span",{style:{flexDirection:"row"},unstable__transformChildren:e=>(Object.keys(n).forEach(t=>{n[t]&&(l.includes(t)?e=a.default[t](...(0,o.default)(n[t]))(e):"function"==typeof a.default[t]&&(e=a.default[t](e)))}),e)},t)};c.propTypes={children:i.default.node.isRequired};var f=c;t.default=f},function(e,t,n){"use strict";e.exports=function(e){return null==e?[]:Array.isArray(e)?e:[e]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0)),o=(r=n(12))&&r.__esModule?r:{default:r};function a(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>Array.isArray(e)?e:[e];class l extends i.Component{constructor(...e){super(...e),u(this,"state",{lastIndex:null})}render(){const e=this.props,{children:t}=e,n=a(e,["children"]),{lastIndex:r}=this.state;let o=t;return"number"==typeof r&&(o=s(t).slice(r)),i.default.createElement("div",{unstable__static:!0,style:n},o)}componentDidMount(){this.saveLastIndex(this.props.children)}componentDidUpdate(e,t){t.lastIndex===this.state.lastIndex&&this.saveLastIndex(this.props.children)}saveLastIndex(e){const t=s(e).length;this.state.lastIndex!==t&&this.setState({lastIndex:t})}}t.default=l,u(l,"propTypes",{children:o.default.node})},function(e,t,n){var r=n(28);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t,n){"use strict";var r=n(27),i=n(17),o=n(3),a=n(14),u=o("species");e.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[u]&&n(t,u,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){var r=n(5),i=n(176),o=n(34),a=n(83),u=n(177),s=n(179),l=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,c,f){var d,h,p,m,g,v,y=a(t,n,c?2:1);if(f)d=e;else{if("function"!=typeof(h=u(e)))throw TypeError("Target is not iterable");if(i(h)){for(p=0,m=o(e.length);m>p;p++)if((g=c?y(r(v=e[p])[0],v[1]):y(e[p]))&&g instanceof l)return g;return new l(!1)}d=h.call(e)}for(;!(v=d.next()).done;)if((g=s(d,y,v.value,c))&&g instanceof l)return g;return new l(!1)}).stop=function(e){return new l(!0,e)}},function(e,t,n){var r=n(3),i=n(18),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},function(e,t,n){var r=n(178),i=n(18),o=n(3)("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(13),i=n(3)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var r=n(5);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t,n){var r=n(3)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},function(e,t,n){var r=n(5),i=n(19),o=n(3)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},function(e,t,n){var r,i,o,a,u,s,l,c=n(2),f=n(40).f,d=n(13),h=n(84).set,p=n(85),m=c.MutationObserver||c.WebKitMutationObserver,g=c.process,v=c.Promise,y="process"==d(g),_=f(c,"queueMicrotask"),b=_&&_.value;b||(r=function(){var e,t;for(y&&(e=g.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},y?a=function(){g.nextTick(r)}:m&&!/(iphone|ipod|ipad).*applewebkit/i.test(p)?(u=!0,s=document.createTextNode(""),new m(r).observe(s,{characterData:!0}),a=function(){s.data=u=!u}):v&&v.resolve?(l=v.resolve(void 0),a=function(){l.then(r)}):a=function(){h.call(c,r)}),e.exports=b||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},function(e,t,n){var r=n(5),i=n(11),o=n(86);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var r=n(2);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){"use strict";e.exports=n(187)},function(e){e.exports=JSON.parse('{"dots":{"interval":80,"frames":["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},"dots2":{"interval":80,"frames":["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},"dots3":{"interval":80,"frames":["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},"dots4":{"interval":80,"frames":["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},"dots5":{"interval":80,"frames":["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},"dots6":{"interval":80,"frames":["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},"dots7":{"interval":80,"frames":["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},"dots8":{"interval":80,"frames":["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},"dots9":{"interval":80,"frames":["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},"dots10":{"interval":80,"frames":["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},"dots11":{"interval":100,"frames":["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},"dots12":{"interval":80,"frames":["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},"line":{"interval":130,"frames":["-","\\\\","|","/"]},"line2":{"interval":100,"frames":["⠂","-","–","—","–","-"]},"pipe":{"interval":100,"frames":["┤","┘","┴","└","├","┌","┬","┐"]},"simpleDots":{"interval":400,"frames":[". ",".. ","..."," "]},"simpleDotsScrolling":{"interval":200,"frames":[". ",".. ","..."," .."," ."," "]},"star":{"interval":70,"frames":["✶","✸","✹","✺","✹","✷"]},"star2":{"interval":80,"frames":["+","x","*"]},"flip":{"interval":70,"frames":["_","_","_","-","`","`","\'","´","-","_","_","_"]},"hamburger":{"interval":100,"frames":["☱","☲","☴"]},"growVertical":{"interval":120,"frames":["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},"growHorizontal":{"interval":120,"frames":["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},"balloon":{"interval":140,"frames":[" ",".","o","O","@","*"," "]},"balloon2":{"interval":120,"frames":[".","o","O","°","O","o","."]},"noise":{"interval":100,"frames":["▓","▒","░"]},"bounce":{"interval":120,"frames":["⠁","⠂","⠄","⠂"]},"boxBounce":{"interval":120,"frames":["▖","▘","▝","▗"]},"boxBounce2":{"interval":100,"frames":["▌","▀","▐","▄"]},"triangle":{"interval":50,"frames":["◢","◣","◤","◥"]},"arc":{"interval":100,"frames":["◜","◠","◝","◞","◡","◟"]},"circle":{"interval":120,"frames":["◡","⊙","◠"]},"squareCorners":{"interval":180,"frames":["◰","◳","◲","◱"]},"circleQuarters":{"interval":120,"frames":["◴","◷","◶","◵"]},"circleHalves":{"interval":50,"frames":["◐","◓","◑","◒"]},"squish":{"interval":100,"frames":["╫","╪"]},"toggle":{"interval":250,"frames":["⊶","⊷"]},"toggle2":{"interval":80,"frames":["▫","▪"]},"toggle3":{"interval":120,"frames":["□","■"]},"toggle4":{"interval":100,"frames":["■","□","▪","▫"]},"toggle5":{"interval":100,"frames":["▮","▯"]},"toggle6":{"interval":300,"frames":["ဝ","၀"]},"toggle7":{"interval":80,"frames":["⦾","⦿"]},"toggle8":{"interval":100,"frames":["◍","◌"]},"toggle9":{"interval":100,"frames":["◉","◎"]},"toggle10":{"interval":100,"frames":["㊂","㊀","㊁"]},"toggle11":{"interval":50,"frames":["⧇","⧆"]},"toggle12":{"interval":120,"frames":["☗","☖"]},"toggle13":{"interval":80,"frames":["=","*","-"]},"arrow":{"interval":100,"frames":["←","↖","↑","↗","→","↘","↓","↙"]},"arrow2":{"interval":80,"frames":["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},"arrow3":{"interval":120,"frames":["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},"bouncingBar":{"interval":80,"frames":["[ ]","[= ]","[== ]","[=== ]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},"bouncingBall":{"interval":80,"frames":["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},"smiley":{"interval":200,"frames":["😄 ","😝 "]},"monkey":{"interval":300,"frames":["🙈 ","🙈 ","🙉 ","🙊 "]},"hearts":{"interval":100,"frames":["💛 ","💙 ","💜 ","💚 ","❤️ "]},"clock":{"interval":100,"frames":["🕛 ","🕐 ","🕑 ","🕒 ","🕓 ","🕔 ","🕕 ","🕖 ","🕗 ","🕘 ","🕙 ","🕚 "]},"earth":{"interval":180,"frames":["🌍 ","🌎 ","🌏 "]},"moon":{"interval":80,"frames":["🌑 ","🌒 ","🌓 ","🌔 ","🌕 ","🌖 ","🌗 ","🌘 "]},"runner":{"interval":140,"frames":["🚶 ","🏃 "]},"pong":{"interval":80,"frames":["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},"shark":{"interval":120,"frames":["▐|\\\\____________▌","▐_|\\\\___________▌","▐__|\\\\__________▌","▐___|\\\\_________▌","▐____|\\\\________▌","▐_____|\\\\_______▌","▐______|\\\\______▌","▐_______|\\\\_____▌","▐________|\\\\____▌","▐_________|\\\\___▌","▐__________|\\\\__▌","▐___________|\\\\_▌","▐____________|\\\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},"dqpb":{"interval":100,"frames":["d","q","p","b"]},"weather":{"interval":100,"frames":["☀️ ","☀️ ","☀️ ","🌤 ","⛅️ ","🌥 ","☁️ ","🌧 ","🌨 ","🌧 ","🌨 ","🌧 ","🌨 ","⛈ ","🌨 ","🌧 ","🌨 ","☁️ ","🌥 ","⛅️ ","🌤 ","☀️ ","☀️ "]},"christmas":{"interval":400,"frames":["🌲","🎄"]},"grenade":{"interval":80,"frames":["، ","′ "," ´ "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},"point":{"interval":125,"frames":["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},"layer":{"interval":150,"frames":["-","=","≡"]}}')},function(e,t,n){"use strict";var r=n(81),i=n(189),o=n(190),a=n(191),u=n(192),s=Object.defineProperties,l="win32"===process.platform&&!/^xterm/i.test(process.env.TERM);function c(e){this.enabled=e&&void 0!==e.enabled?e.enabled:u}l&&(i.blue.open="");var f,d=(f={},Object.keys(i).forEach(function(e){i[e].closeRe=new RegExp(r(i[e].close),"g"),f[e]={get:function(){return p.call(this,this._styles.concat(e))}}}),f),h=s(function(){},d);function p(e){var t=function(){return m.apply(t,arguments)};return t._styles=e,t.enabled=this.enabled,t.__proto__=h,t}function m(){var e=arguments,t=e.length,n=0!==t&&String(arguments[0]);if(t>1)for(var r=1;ri&&(i=o),r.push({contents:n,height:o})});var s=new Array(i);r.forEach(function(e,r){e.contents.forEach(function(e,i){s[i]||(s[i]=[]),(n||u&&0===r&&t.style.head)&&(e=_(t.style.head,e)),s[i].push(e)});for(var o=e.height,a=i;o0&&(c+="\n"+_(t.style.border,l.left)),c+=e.join(_(t.style.border,l.middle))+_(t.style.border,l.right)}),_(t.style.border,l.left)+c}function _(e,t){return t?(e.forEach(function(e){t=r[e](t)}),t):""}function b(e,r){e=String("object"==typeof e&&e.text?e.text:e);var s=i.strlen(e),l=f[r]-(n["padding-left"]||0)-(n["padding-right"]||0),d=t.colAligns[r]||"left";return o(" ",n["padding-left"]||0)+(s==l?e:s=e.length)switch(r){case"left":e=Array(t+1-e.length).join(n)+e;break;case"both":var i=Math.ceil((padlen=t-e.length)/2),o=padlen-i;e=Array(o+1).join(n)+e+Array(i+1).join(n);break;default:e+=Array(t+1-e.length).join(n)}return e},t.truncate=function(e,t,n){return n=n||"…",e.length>=t?e.substr(0,t-n.length)+n:e},t.options=function e(t,n){for(var r in n)n[r]&&n[r].constructor&&n[r].constructor===Object?(t[r]=t[r]||{},e(t[r],n[r])):t[r]=n[r];return t},t.strlen=function(e){return(""+e).replace(/\u001b\[(?:\d*;){0,5}\d*m/g,"").split("\n").reduce(function(e,t){return t.length>e?t.length:e},0)}},function(e,t){var n=9007199254740991,r="[object Arguments]",i="[object Function]",o="[object GeneratorFunction]",a=/^(?:0|[1-9]\d*)$/;function u(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var s,l,c=Object.prototype,f=c.hasOwnProperty,d=c.toString,h=c.propertyIsEnumerable,p=(s=Object.keys,l=Object,function(e){return s(l(e))}),m=Math.max,g=!h.call({valueOf:1},"valueOf");function v(e,t){var n=x(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&w(e)}(e)&&f.call(e,"callee")&&(!h.call(e,"callee")||d.call(e)==r)}(e)?function(e,t){for(var n=-1,r=Array(e);++n-1&&e%1==0&&e-1&&e%1==0&&e<=n}(e.length)&&!function(e){var t=E(e)?d.call(e):"";return t==i||t==o}(e)}function E(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var k,C=(k=function(e,t){if(g||b(t)||w(t))!function(e,t,n,r){n||(n={});for(var i=-1,o=t.length;++i1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=k.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!E(n))return!1;var r=typeof t;return!!("number"==r?w(n)&&_(t,n.length):"string"==r&&t in n)&&D(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n2)throw new Error("illegal string config: "+e+'\nShould be of format "before:after"');return 1===t.length||0===t[1].length?t.indexOf(":")<0?{_before:t[0]}:{_after:t[0]}:{_before:t[0],_after:t[1]}}(u)),u._parent=e,r(u))return u._before||u._after?(u._before=u._before||t(u,"_before"),void(u._after=u._after||t(u,"_after"))):a(u);throw new Error("nodes need to be either {String}, {Object} or {Function}."+u+" is neither.")}}e._default&&u("_default"),Object.keys(e).filter(function(t){return i(t)&&e.hasOwnProperty(t)&&"_before"!==t&&"_after"!==t&&"_default"!==t}).forEach(u)}function u(e){a(e),function e(t){Object.keys(t).filter(function(e){return i(e)&&t.hasOwnProperty(e)}).forEach(function(i){var o=t[i];if(!n(o)&&r(o)){if(!o._before&&!o._after)return e(o);var a=o._before||"",u=o._after||"";return t[i]=function(e,t){return function(n){return e+n+t}}(a,u),t[i]}})}(e)}function s(t,i,o){var a,s,l,c,f,d,h=(o=o||{}).parser||e,p=!!o.buildAst,m="",g=0,v=[];function y(e){var n,i,o,a,u=0;return r(n=e(t.slice(x,w),d))?(v.push(n.replacement),i=d.tokenIndex,a=(u=(o=function(e,t,n){var r,i=t.range[0];for(r=n;r0?s[o-1].range[1]:w):(v.push(n),a=w),{skip:u,splitEnd:a}}function _(e,n,r,i){var o,a=0;if(!(e>=n))return r?(a=(o=y(r)).skip,g=o.splitEnd):(v.push(t.slice(e,n)),g=n),a}"#"===t[0]&&"!"===t[1]&&(m=t.substr(0,t.indexOf("\n")+1),t=Array.apply(0,Array(m.length)).join(" ")+"\n"+t.substr(m.length)),p?(a=h.parse(t,{tokens:!0,comment:!0,range:!0,tolerant:!0}),s=a.tokens,l=a.comments):(s=[],l=[],h.tokenize(t,{range:!0,comment:!0},function(e){"LineComment"===e.type?(e.type="Line",l.push(e)):"BlockComment"===e.type?(e.type="Block",l.push(e)):("Identifier"===e.type&&"static"===e.value&&(e.type="Keyword"),s.push(e))})),u(i),f=function(e,t){var n={};function r(e){n[e.range[0]]=e}return e.forEach(r),t.forEach(r),Object.keys(n).map(function(e){return n[e]})}(s,l);for(var b=0;b0&&(c=m+c.substr(m.length))),{ast:a,tokens:s,comments:l,splits:v,code:c}}return t?t(s):s}"object"==typeof e.exports?a(n(88),function(t){e.exports=t}):(r=[n(88)],void 0===(i=function(e){return a(e)}.apply(t,r))||(e.exports=i))}()},function(e,t,n){var r=n(89);e.exports={Boolean:{true:void 0,false:void 0,_default:r.brightRed},Identifier:{undefined:r.brightBlack,self:r.brightRed,console:r.blue,log:r.blue,warn:r.red,error:r.brightRed,_default:r.white},Null:{_default:r.brightBlack},Numeric:{_default:r.blue},String:{_default:function(e,t){var n=t.tokens[t.tokenIndex+1];return n&&"Punctuator"===n.type&&":"===n.value?r.green(e):r.brightGreen(e)}},Keyword:{break:void 0,case:void 0,catch:r.cyan,class:void 0,const:void 0,continue:void 0,debugger:void 0,default:void 0,delete:r.red,do:void 0,else:void 0,enum:void 0,export:void 0,extends:void 0,finally:r.cyan,for:void 0,function:void 0,if:void 0,implements:void 0,import:void 0,in:void 0,instanceof:void 0,let:void 0,new:r.red,package:void 0,private:void 0,protected:void 0,public:void 0,return:r.red,static:void 0,super:void 0,switch:void 0,this:r.brightRed,throw:void 0,try:r.cyan,typeof:void 0,var:r.green,void:void 0,while:void 0,with:void 0,yield:void 0,_default:r.brightBlue},Punctuator:{";":r.brightBlack,".":r.green,",":r.green,"{":r.yellow,"}":r.yellow,"(":r.brightBlack,")":r.brightBlack,"[":r.yellow,"]":r.yellow,"<":void 0,">":void 0,"+":void 0,"-":void 0,"*":void 0,"%":void 0,"&":void 0,"|":void 0,"^":void 0,"!":void 0,"~":void 0,"?":void 0,":":void 0,"=":void 0,"<=":void 0,">=":void 0,"==":void 0,"!=":void 0,"++":void 0,"--":void 0,"<<":void 0,">>":void 0,"&&":void 0,"||":void 0,"+=":void 0,"-=":void 0,"*=":void 0,"%=":void 0,"&=":void 0,"|=":void 0,"^=":void 0,"/=":void 0,"=>":void 0,"===":void 0,"!==":void 0,">>>":void 0,"<<=":void 0,">>=":void 0,"...":void 0,">>>=":void 0,_default:r.brightYellow},Line:{_default:r.brightBlack},Block:{_default:r.brightBlack},_default:void 0}},function(e,t,n){var r=n(21),i=n(46);e.exports=function(e,t,n){var o;o=t,"[object Function]"==toString.call(o)&&(n=t,t={}),t=t||{},r.readFile(e,"utf-8",function(e,r){if(e)return n(e);try{n(null,i(r,t))}catch(e){n(e)}})}},function(e,t,n){var r=n(21),i=n(46);e.exports=function(e,t){var n=r.readFileSync(e,"utf-8");return i(n,t=t||{})}},function(e,t,n){e.exports=n(212)},function(e,t,n){var r=n(213),i=n(214),o=/:([a-zA-Z0-9_\-\+]+):/g,a=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function u(e){var t=e.indexOf(":");return t>-1?t===e.length-1?u(e=e.substring(0,t)):u(e=e.substr(t+1)):e}function s(e){return"string"==typeof e&&e.length>0?":"+e+":":e}var l=String.fromCharCode(65039),c=new RegExp(l,"g");function f(e){return e.replace(c,"")}var d=Object.keys(i).reduce(function(e,t){return e[f(i[t])]=t,e},{}),h={emoji:i};h._get=function(e){return i.hasOwnProperty(e)?i[e]:"string"==typeof(t=e)&&":"!==t[0]?s(t):t;var t},h.get=function(e){return e=u(e),h._get(e)},h.find=function(e){return h.findByName(e)||h.findByCode(e)},h.findByName=function(e){var t=u(e),n=i[t];return n?{emoji:n,key:t}:void 0},h.findByCode=function(e){var t=f(e),n=d[t];return n?{emoji:i[n],key:n}:void 0},h.hasEmoji=function(e){return h.hasEmojiByName(e)||h.hasEmojiByCode(e)},h.hasEmojiByName=function(e){var t=h.findByName(e);return!!t&&t.key===u(e)},h.hasEmojiByCode=function(e){var t=h.findByCode(e);return!!t&&f(t.emoji)===f(e)},h.which=function(e,t){var n=f(e),r=d[n];return t?s(r):r},h.emojify=function(e,t,n){return e?e.split(o).map(function(e,r){if(r%2==0)return e;var i=h._get(e),o=i.indexOf(":")>-1;return o&&"function"==typeof t?t(e):o||"function"!=typeof n?i:n(i,e)}).join(""):""},h.random=function(){var e=Object.keys(i),t=e[Math.floor(Math.random()*e.length)];return{key:t,emoji:h._get(t)}},h.search=function(e){var t=Object.keys(i),n=u(e);return t.filter(function(e){return 0===e.toString().indexOf(n)}).map(function(e){return{key:e,emoji:h._get(e)}})},h.unemojify=function(e){return e?r(e).map(function(e){return h.which(e,!0)||e}).join(""):""},h.replace=function(e,t,n){if(!e)return"";var i="function"==typeof t?t:function(){return t},o=r(e),u=o.map(function(e,t){var r=h.findByCode(e);return r&&n&&" "===o[t+1]&&(o[t+1]=""),r?i(r):e}).join("");return n?u.replace(a,""):u},h.strip=function(e){return h.replace(e,"",!0)},e.exports=h},function(e,t){var n=9007199254740991,r="[object Arguments]",i="[object Function]",o="[object GeneratorFunction]",a="[object Map]",u="[object Set]",s="[object String]",l=/^\[object .+?Constructor\]$/,c=/^(?:0|[1-9]\d*)$/,f="[\\ud800-\\udfff]",d="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",h="\\ud83c[\\udffb-\\udfff]",p="[^\\ud800-\\udfff]",m="(?:\\ud83c[\\udde6-\\uddff]){2}",g="[\\ud800-\\udbff][\\udc00-\\udfff]",v="(?:"+d+"|"+h+")"+"?",y="[\\ufe0e\\ufe0f]?"+v+("(?:\\u200d(?:"+[p,m,g].join("|")+")[\\ufe0e\\ufe0f]?"+v+")*"),_="(?:"+[p+d+"?",d,m,g,f].join("|")+")",b=RegExp(h+"(?="+h+")|"+_+y,"g"),D=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),x="object"==typeof global&&global&&global.Object===Object&&global,w="object"==typeof self&&self&&self.Object===Object&&self,E=x||w||Function("return this")();function k(e,t){return function(e,t){for(var n=-1,r=e?e.length:0,i=Array(r);++n-1&&e%1==0&&e-1&&e%1==0&&e<=n}(e.length)&&!le(e)}function le(e){var t=ce(e)?L.call(e):"";return t==i||t==o}function ce(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function fe(e){return!!e&&"object"==typeof e}function de(e){return e?k(e,function(e){return se(e)?ee(e):ne(e)}(e)):[]}e.exports=function(e){if(!e)return[];if(se(e))return function(e){return"string"==typeof e||!ue(e)&&fe(e)&&L.call(e)==s}(e)?T(e):function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n")}),c=!o(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]});e.exports=function(e,t,n,f){var d=a(e),h=!o(function(){var t={};return t[d]=function(){return 7},7!=""[e](t)}),p=h&&!o(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[s]=function(){return n}),n[d](""),!t});if(!h||!p||"replace"===e&&!l||"split"===e&&!c){var m=/./[d],g=n(d,""[e],function(e,t,n,r,i){return t.exec===u?h&&!i?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),v=g[0],y=g[1];i(String.prototype,e,v),i(RegExp.prototype,d,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)}),f&&r(RegExp.prototype[d],"sham",!0)}}},function(e,t,n){"use strict";var r=n(5);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(218).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r=n(26),i=n(23),o=function(e){return function(t,n){var o,a,u=String(i(t)),s=r(n),l=u.length;return s<0||s>=l?e?"":void 0:(o=u.charCodeAt(s))<55296||o>56319||s+1===l||(a=u.charCodeAt(s+1))<56320||a>57343?e?u.charAt(s):o:e?u.slice(s,s+2):a-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},function(e,t,n){var r=n(13),i=n(91);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},function(e,t,n){"use strict";var r=n(7);e.exports=function(e,t){var n=[][e];return!n||!r(function(){n.call(null,t||function(){throw 1},1)})}},function(e,t,n){"use strict";e.exports=function(){return/\bv?(?:0|[1-9][0-9]*)\.(?:0|[1-9][0-9]*)\.(?:0|[1-9][0-9]*)(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?\b/gi}},function(e,t,n){"use strict";var r;"Set"in global?"function"==typeof Set.prototype.forEach&&(r=!1,new Set([!0]).forEach(function(e){r=e}),!0===r)?e.exports=function(e){var t=[];return new Set(e).forEach(function(e){t.push(e)}),t}:e.exports=function(e){var t=new Set;return e.filter(function(e){return!t.has(e)&&(t.add(e),!0)})}:e.exports=function(e){for(var t=[],n=0;ns.a.createElement(l.Box,null,new Array(e.columns).fill("─").join("")))},p=n(16),m=n.n(p),g=n(96),v=n.n(g);var y=function({children:e}){return m()(e,{renderer:new v.a})};var _=function({result:e}){const[t,n]=Object(u.useState)(e.versionList&&e.versionList[0]?e.versionList[0].content:e.message),{versionList:r,message:i}=e;if(!r)return s.a.createElement(l.Box,{textWrap:"wrap"},s.a.createElement(y,null,i));r.map(e=>({label:e.version,value:e.version}));const o=r.reduce((e,t)=>Math.max(e,t.version.length),0);return s.a.createElement(l.Box,null,s.a.createElement(l.Box,{width:o+7,marginRight:5},s.a.createElement(c.Tabs,{flexDirection:"column",width:o+4,onChange:t=>{const r=e.versionList.find(e=>e.version===t);r&&n(r.content)},keyMap:{useTab:!1,useNumbers:!1}},r.map(({version:e})=>s.a.createElement(c.Tab,{key:e,name:e},e)))),s.a.createElement(l.Box,{textWrap:"wrap"},s.a.createElement(y,null,t)))},b=(n(90),n(21)),D=n.n(b),x=n(47),w=n.n(x),E=n(48),k=n.n(E);const C=/([^\/:]+\/[^\/:]+)$/;function S(e){return function(e){const t=e.match(/(.*)@(\d+\.\d+\.\d+)/);if(t){const[e,n,r]=t;return{packageName:n,version:r}}}(e)||function(e){try{const t=D.a.readFileSync(w.a.join(k.a.cwd(),"composer.lock"),{encoding:"utf8"}),n=JSON.parse(t),r=n.packages.concat(n["packages-dev"]||[]),i=r.find(t=>t.name===e);if(i)return{packageName:T(i.source.url),version:i.version}}catch(e){return null}}(e)||function(e){try{const t=D.a.readFileSync(w.a.join(k.a.cwd(),"node_modules",e,"package.json"),{encoding:"utf8"}),n=JSON.parse(t);if(n){const e=n.repository;if(!e)return null;const t="string"==typeof e?e:e.url;return{version:n.version,packageName:T(t)}}}catch(e){return null}}(e)}function T(e){const t=e.replace(/\.git$/,"").match(C);return t&&t[1]}var A=n(4),F=n(49),M=n(29),B=n(97),P=n(10);const N=A.Readable,O=Symbol("buffer"),R=Symbol("type");class I{constructor(){this[R]="";const e=arguments[0],t=arguments[1],n=[];let r=0;if(e){const t=e,i=Number(t.length);for(let e=0;e1&&void 0!==arguments[1]?arguments[1]:{},r=n.size;let i=void 0===r?0:r;var o=n.timeout;let a=void 0===o?0:o;null==e?e=null:X(e)?e=Buffer.from(e.toString()):J(e)||Buffer.isBuffer(e)||("[object ArrayBuffer]"===Object.prototype.toString.call(e)?e=Buffer.from(e):ArrayBuffer.isView(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):e instanceof A||(e=Buffer.from(String(e)))),this[U]={body:e,disturbed:!1,error:null},this.size=i,this.timeout=a,e instanceof A&&e.on("error",function(e){const n="AbortError"===e.name?e:new L(`Invalid response body while trying to fetch ${t.url}: ${e.message}`,"system",e);t[U].error=n})}function H(){var e=this;if(this[U].disturbed)return W.Promise.reject(new TypeError(`body used already for: ${this.url}`));if(this[U].disturbed=!0,this[U].error)return W.Promise.reject(this[U].error);let t=this.body;if(null===t)return W.Promise.resolve(Buffer.alloc(0));if(J(t)&&(t=t.stream()),Buffer.isBuffer(t))return W.Promise.resolve(t);if(!(t instanceof A))return W.Promise.resolve(Buffer.alloc(0));let n=[],r=0,i=!1;return new W.Promise(function(o,a){let u;e.timeout&&(u=setTimeout(function(){i=!0,a(new L(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))},e.timeout)),t.on("error",function(t){"AbortError"===t.name?(i=!0,a(t)):a(new L(`Invalid response body while trying to fetch ${e.url}: ${t.message}`,"system",t))}),t.on("data",function(t){if(!i&&null!==t){if(e.size&&r+t.length>e.size)return i=!0,void a(new L(`content size at ${e.url} over limit: ${e.size}`,"max-size"));r+=t.length,n.push(t)}}),t.on("end",function(){if(!i){clearTimeout(u);try{o(Buffer.concat(n,r))}catch(t){a(new L(`Could not create Buffer from response body for ${e.url}: ${t.message}`,"system",t))}}})})}function X(e){return"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&("URLSearchParams"===e.constructor.name||"[object URLSearchParams]"===Object.prototype.toString.call(e)||"function"==typeof e.sort)}function J(e){return"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&"function"==typeof e.constructor&&"string"==typeof e.constructor.name&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function G(e){let t,n,r=e.body;if(e.bodyUsed)throw new Error("cannot clone body after it is used");return r instanceof A&&"function"!=typeof r.getBoundary&&(t=new z,n=new z,r.pipe(t),r.pipe(n),e[U].body=t,r=n),r}function q(e){return null===e?null:"string"==typeof e?"text/plain;charset=UTF-8":X(e)?"application/x-www-form-urlencoded;charset=UTF-8":J(e)?e.type||null:Buffer.isBuffer(e)?null:"[object ArrayBuffer]"===Object.prototype.toString.call(e)?null:ArrayBuffer.isView(e)?null:"function"==typeof e.getBoundary?`multipart/form-data;boundary=${e.getBoundary()}`:e instanceof A?null:"text/plain;charset=UTF-8"}function $(e){const t=e.body;return null===t?0:J(t)?t.size:Buffer.isBuffer(t)?t.length:t&&"function"==typeof t.getLengthSync&&(t._lengthRetrievers&&0==t._lengthRetrievers.length||t.hasKnownLength&&t.hasKnownLength())?t.getLengthSync():null}W.prototype={get body(){return this[U].body},get bodyUsed(){return this[U].disturbed},arrayBuffer(){return H.call(this).then(function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)})},blob(){let e=this.headers&&this.headers.get("content-type")||"";return H.call(this).then(function(t){return Object.assign(new I([],{type:e.toLowerCase()}),{[O]:t})})},json(){var e=this;return H.call(this).then(function(t){try{return JSON.parse(t.toString())}catch(t){return W.Promise.reject(new L(`invalid json response body at ${e.url} reason: ${t.message}`,"invalid-json"))}})},text(){return H.call(this).then(function(e){return e.toString()})},buffer(){return H.call(this)},textConverted(){var e=this;return H.call(this).then(function(t){return function(e,t){if("function"!=typeof j)throw new Error("The package `encoding` must be installed to use the textConverted() function");const n=t.get("content-type");let r,i,o="utf-8";n&&(r=/charset=([^;]*)/i.exec(n));i=e.slice(0,1024).toString(),!r&&i&&(r=/0&&void 0!==arguments[0]?arguments[0]:void 0;if(this[ee]=Object.create(null),e instanceof te){const t=e.raw(),n=Object.keys(t);for(const e of n)for(const n of t[e])this.append(e,n)}else if(null==e);else{if("object"!=typeof e)throw new TypeError("Provided initializer must be an object");{const t=e[Symbol.iterator];if(null!=t){if("function"!=typeof t)throw new TypeError("Header pairs must be iterable");const n=[];for(const t of e){if("object"!=typeof t||"function"!=typeof t[Symbol.iterator])throw new TypeError("Each header pair must be iterable");n.push(Array.from(t))}for(const e of n){if(2!==e.length)throw new TypeError("Each header pair must be a name/value tuple");this.append(e[0],e[1])}}else for(const t of Object.keys(e)){const n=e[t];this.append(t,n)}}}}get(e){K(e=`${e}`);const t=Z(this[ee],e);return void 0===t?null:this[ee][t].join(", ")}forEach(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=ne(this),r=0;for(;r1&&void 0!==arguments[1]?arguments[1]:"key+value";return Object.keys(e[ee]).sort().map("key"===t?function(e){return e.toLowerCase()}:"value"===t?function(t){return e[ee][t].join(", ")}:function(t){return[t.toLowerCase(),e[ee][t].join(", ")]})}te.prototype.entries=te.prototype[Symbol.iterator],Object.defineProperty(te.prototype,Symbol.toStringTag,{value:"Headers",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(te.prototype,{get:{enumerable:!0},forEach:{enumerable:!0},set:{enumerable:!0},append:{enumerable:!0},has:{enumerable:!0},delete:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0}});const re=Symbol("internal");function ie(e,t){const n=Object.create(oe);return n[re]={target:e,kind:t,index:0},n}const oe=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==oe)throw new TypeError("Value of `this` is not a HeadersIterator");var e=this[re];const t=e.target,n=e.kind,r=e.index,i=ne(t,n);return r>=i.length?{value:void 0,done:!0}:(this[re].index=r+1,{value:i[r],done:!1})}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));function ae(e){const t=Object.assign({__proto__:null},e[ee]),n=Z(e[ee],"Host");return void 0!==n&&(t[n]=t[n][0]),t}Object.defineProperty(oe,Symbol.toStringTag,{value:"HeadersIterator",writable:!1,enumerable:!1,configurable:!0});const ue=Symbol("Response internals"),se=F.STATUS_CODES;class le{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};W.call(this,e,t);const n=t.status||200,r=new te(t.headers);if(null!=e&&!r.has("Content-Type")){const t=q(e);t&&r.append("Content-Type",t)}this[ue]={url:t.url,status:n,statusText:t.statusText||se[n],headers:r,counter:t.counter}}get url(){return this[ue].url||""}get status(){return this[ue].status}get ok(){return this[ue].status>=200&&this[ue].status<300}get redirected(){return this[ue].counter>0}get statusText(){return this[ue].statusText}get headers(){return this[ue].headers}clone(){return new le(G(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}W.mixIn(le.prototype),Object.defineProperties(le.prototype,{url:{enumerable:!0},status:{enumerable:!0},ok:{enumerable:!0},redirected:{enumerable:!0},statusText:{enumerable:!0},headers:{enumerable:!0},clone:{enumerable:!0}}),Object.defineProperty(le.prototype,Symbol.toStringTag,{value:"Response",writable:!1,enumerable:!1,configurable:!0});const ce=Symbol("Request internals"),fe=M.parse,de=M.format,he="destroy"in A.Readable.prototype;function pe(e){return"object"==typeof e&&"object"==typeof e[ce]}class me{constructor(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};pe(e)?t=fe(e.url):(t=e&&e.href?fe(e.href):fe(`${e}`),e={});let r=n.method||e.method||"GET";if(r=r.toUpperCase(),(null!=n.body||pe(e)&&null!==e.body)&&("GET"===r||"HEAD"===r))throw new TypeError("Request with GET/HEAD method cannot have body");let i=null!=n.body?n.body:pe(e)&&null!==e.body?G(e):null;W.call(this,i,{timeout:n.timeout||e.timeout||0,size:n.size||e.size||0});const o=new te(n.headers||e.headers||{});if(null!=i&&!o.has("Content-Type")){const e=q(i);e&&o.append("Content-Type",e)}let a=pe(e)?e.signal:null;if("signal"in n&&(a=n.signal),null!=a&&!function(e){const t=e&&"object"==typeof e&&Object.getPrototypeOf(e);return!(!t||"AbortSignal"!==t.constructor.name)}(a))throw new TypeError("Expected signal to be an instanceof AbortSignal");this[ce]={method:r,redirect:n.redirect||e.redirect||"follow",headers:o,parsedURL:t,signal:a},this.follow=void 0!==n.follow?n.follow:void 0!==e.follow?e.follow:20,this.compress=void 0!==n.compress?n.compress:void 0===e.compress||e.compress,this.counter=n.counter||e.counter||0,this.agent=n.agent||e.agent}get method(){return this[ce].method}get url(){return de(this[ce].parsedURL)}get headers(){return this[ce].headers}get redirect(){return this[ce].redirect}get signal(){return this[ce].signal}clone(){return new me(this)}}function ge(e){Error.call(this,e),this.type="aborted",this.message=e,Error.captureStackTrace(this,this.constructor)}W.mixIn(me.prototype),Object.defineProperty(me.prototype,Symbol.toStringTag,{value:"Request",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(me.prototype,{method:{enumerable:!0},url:{enumerable:!0},headers:{enumerable:!0},redirect:{enumerable:!0},clone:{enumerable:!0},signal:{enumerable:!0}}),ge.prototype=Object.create(Error.prototype),ge.prototype.constructor=ge,ge.prototype.name="AbortError";const ve=A.PassThrough,ye=M.resolve;function _e(e,t){if(!_e.Promise)throw new Error("native promise missing, set fetch.Promise to your favorite alternative");return W.Promise=_e.Promise,new _e.Promise(function(n,r){const i=new me(e,t),o=function(e){const t=e[ce].parsedURL,n=new te(e[ce].headers);if(n.has("Accept")||n.set("Accept","*/*"),!t.protocol||!t.hostname)throw new TypeError("Only absolute URLs are supported");if(!/^https?:$/.test(t.protocol))throw new TypeError("Only HTTP(S) protocols are supported");if(e.signal&&e.body instanceof A.Readable&&!he)throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8");let r=null;if(null==e.body&&/^(POST|PUT)$/i.test(e.method)&&(r="0"),null!=e.body){const t=$(e);"number"==typeof t&&(r=String(t))}r&&n.set("Content-Length",r),n.has("User-Agent")||n.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"),e.compress&&!n.has("Accept-Encoding")&&n.set("Accept-Encoding","gzip,deflate");let i=e.agent;return"function"==typeof i&&(i=i(t)),n.has("Connection")||i||n.set("Connection","close"),Object.assign({},t,{method:e.method,headers:ae(n),agent:i})}(i),a=("https:"===o.protocol?B:F).request,u=i.signal;let s=null;const l=function(){let e=new ge("The user aborted a request.");r(e),i.body&&i.body instanceof A.Readable&&i.body.destroy(e),s&&s.body&&s.body.emit("error",e)};if(u&&u.aborted)return void l();const c=function(){l(),h()},f=a(o);let d;function h(){f.abort(),u&&u.removeEventListener("abort",c),clearTimeout(d)}u&&u.addEventListener("abort",c),i.timeout&&f.once("socket",function(e){d=setTimeout(function(){r(new L(`network timeout at: ${i.url}`,"request-timeout")),h()},i.timeout)}),f.on("error",function(e){r(new L(`request to ${i.url} failed, reason: ${e.message}`,"system",e)),h()}),f.on("response",function(e){clearTimeout(d);const t=function(e){const t=new te;for(const n of Object.keys(e))if(!V.test(n))if(Array.isArray(e[n]))for(const r of e[n])Y.test(r)||(void 0===t[ee][n]?t[ee][n]=[r]:t[ee][n].push(r));else Y.test(e[n])||(t[ee][n]=[e[n]]);return t}(e.headers);if(_e.isRedirect(e.statusCode)){const o=t.get("Location"),a=null===o?null:ye(i.url,o);switch(i.redirect){case"error":return r(new L(`redirect mode is set to error: ${i.url}`,"no-redirect")),void h();case"manual":if(null!==a)try{t.set("Location",a)}catch(e){r(e)}break;case"follow":if(null===a)break;if(i.counter>=i.follow)return r(new L(`maximum redirect reached at: ${i.url}`,"max-redirect")),void h();const o={headers:new te(i.headers),follow:i.follow,counter:i.counter+1,agent:i.agent,compress:i.compress,method:i.method,body:i.body,signal:i.signal,timeout:i.timeout};return 303!==e.statusCode&&i.body&&null===$(i)?(r(new L("Cannot follow redirect with body being a readable stream","unsupported-redirect")),void h()):(303!==e.statusCode&&(301!==e.statusCode&&302!==e.statusCode||"POST"!==i.method)||(o.method="GET",o.body=void 0,o.headers.delete("content-length")),n(_e(new me(a,o))),void h())}}e.once("end",function(){u&&u.removeEventListener("abort",c)});let o=e.pipe(new ve);const a={url:i.url,status:e.statusCode,statusText:e.statusMessage,headers:t,size:i.size,timeout:i.timeout,counter:i.counter},l=t.get("Content-Encoding");if(!i.compress||"HEAD"===i.method||null===l||204===e.statusCode||304===e.statusCode)return s=new le(o,a),void n(s);const f={flush:P.Z_SYNC_FLUSH,finishFlush:P.Z_SYNC_FLUSH};if("gzip"==l||"x-gzip"==l)return o=o.pipe(P.createGunzip(f)),s=new le(o,a),void n(s);if("deflate"!=l&&"x-deflate"!=l){if("br"==l&&"function"==typeof P.createBrotliDecompress)return o=o.pipe(P.createBrotliDecompress()),s=new le(o,a),void n(s);s=new le(o,a),n(s)}else{e.pipe(new ve).once("data",function(e){o=8==(15&e[0])?o.pipe(P.createInflate()):o.pipe(P.createInflateRaw()),s=new le(o,a),n(s)})}}),function(e,t){const n=t.body;null===n?e.end():J(n)?n.stream().pipe(e):Buffer.isBuffer(n)?(e.write(n),e.end()):n.pipe(e)}(f,i)})}_e.isRedirect=function(e){return 301===e||302===e||303===e||307===e||308===e},_e.Promise=global.Promise;var be=_e,De=n(6),xe=n.n(De);n(92);var we=n(98),Ee=n.n(we),ke=n(99),Ce=n.n(ke);function Se(e){const t=function(e){e=(e=e.replace(/(\d+\.\d+)\.x/,"$1.99999")).replace(/(\d+)\.x/,"$1.99999.99999");const t=Ce()(e,{loose:!0});return t&&0!==t.length?t.sort(xe.a.compare).pop():null}(e);return xe.a.valid(t)?{version:t}:null}function Te(e){var t;const n=function(e){let t=null;return e.reduce((e,n)=>{if("heading"===n.type){const r=Se(n.text);r&&(e[t=r.version]||(e[t]=[]))}return t&&e[t].push(n),e},{})}((t=e,(new m.a.Lexer).lex(t)));return Object.keys(n).map(e=>{const t=n[e];return t.links={},{version:e,content:m.a.parser(t,{renderer:Ee()(new m.a.Renderer)})}}).sort((e,t)=>xe.a.compare(t.version,e.version))}function Ae(e){if(!e)return null;const t=e.match(/<([^>]*)>/);return t?t[1]:void 0}const Fe=[{type:"github-file",fileName:"CHANGELOG.md"},{type:"github-file",fileName:"HISTORY.md"},{type:"github-file",fileName:"ChangeLog.md"},{type:"github-releases"}];class Me extends Error{constructor(e,t){super(e),this.testedProcess=t}}class Be extends Error{constructor(e){super(),this.response=e}}class Pe extends Error{}function Ne(e,t){return async function(e,t=null){o.log(`Package: ${e}, current version: ${t}`);for(let n=0;n{switch(t){case"markdown":return Te(e);case"github-release":return function(e){return e.map(e=>({version:xe.a.clean(e.tag_name),content:`# ${xe.a.clean(e.tag_name)}\r\n${e.body}`})).sort((e,t)=>xe.a.compare(t.version,e.version))}(e);default:throw new Error(`Unable to determine how to convert version list from "${t}"`)}}).then(n=>{const r=function(e,t){return e.filter(e=>xe.a.gt(e.version,t))}(n,t);return o.log(`found ${r.length} versions greater than "${t}" for package "${e}"`),r})}function Oe(e){return be(e,{headers:{"User-Agent":"changelog-view"}}).then(e=>{if(e.status>=300)throw new Be(e);return e})}async function Re(e,t){let n=`https://api.github.com/repos/${e}/releases`,r=!1,i=[];do{const e=await Oe(n),o=await e.json();r=o.filter(e=>xe.a.eq(e.tag_name,t)).length>0,i=i.concat(o),r||(n=Ae(e.headers.get("link")))}while(!r&&n);return i}const Ie={};function Le(e){return new Promise((t,n)=>{Ie[e]?"success"===Ie[e].type?t(Ie[e]):n(Ie[e]):function(e){const t=S(e);if(!t)return new Promise((t,n)=>{n({message:`*package "${e}" version is not well formatted*`,type:"error"})});const{packageName:n,version:r}=t;return Ne(n,r).then(e=>0===e.length?{versionList:e,message:`*No changes found for "${n}"*`,type:"success",packageName:n,currentVersion:r}:{versionList:e,message:null,type:"success",packageName:n,currentVersion:r}).catch(e=>({type:"error",message:`${e.message}\nTested files: ${e.testedProcess.map(e=>`\n * [${e.type}] ${e.fileName}`)}`,error:e}))}(e).then(n=>{Ie[e]=n,t(Ie[e])}).catch(t=>{Ie[e]=t,n(Ie[e])})})}var je=class extends u.Component{constructor(e){super(e),this.handleTabChange=this.handleTabChange.bind(this),this.state={activeTabName:null,changelogViewResult:null}}handleTabChange(e,t){this.setState({activeTabName:e,changelogViewResult:null}),Le(e).then(e=>{this.setState({changelogViewResult:e})}).catch(e=>{o.log(e),this.setState({changelogViewResult:e})})}render(){const{packageStringList:e}=this.props,{changelogViewResult:t}=this.state;return s.a.createElement(u.Fragment,null,t&&s.a.createElement(u.Fragment,null,s.a.createElement(h,null),s.a.createElement(l.Box,{marginTop:0},'CHANGELOG for "',t.packageName,'" (current version: `',t.currentVersion,"`)"),s.a.createElement(h,null),s.a.createElement(l.Box,null,s.a.createElement(_,{result:t}))),!t&&s.a.createElement(l.Box,null,s.a.createElement(d.a,{orange:!0})," Loading"),s.a.createElement(h,null),s.a.createElement(c.Tabs,{onChange:this.handleTabChange},e.map(e=>s.a.createElement(c.Tab,{key:e,name:e},e))),s.a.createElement(h,null))}};function Ue(){return(Ue=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}class We extends u.PureComponent{constructor(e){super(e),this.handleKeyPress=this.handleKeyPress.bind(this)}componentDidMount(){const{stdin:e}=this.props;e.on("keypress",this.handleKeyPress)}componentWillUnmount(){const{stdin:e}=this.props;e.removeListener("keypress",this.handleKeyPress)}handleKeyPress(e,t){"q"===e&&this.props.onExit()}render(){const e=this.props,{stdin:t}=e,n=ze(e,["stdin"]);return s.a.createElement(l.Box,{flexDirection:"column"},s.a.createElement(je,n),s.a.createElement(l.Text,{italic:!0},s.a.createElement(l.Color,{gray:!0},'Press "q" or "CTRL+c" to quit.')))}}var He=function(e){return s.a.createElement(l.AppContext.Consumer,null,({exit:t})=>s.a.createElement(l.StdinContext.Consumer,null,({stdin:n})=>s.a.createElement(We,Ue({stdin:n,onExit:t},e))))};const Xe=i()(process.argv.slice(2),{alias:{help:"h",verbose:"v"}});if(Xe.help||0===Xe._.length){const e=Xe.help?console.log:console.error;e("Usage: changelog-view [ ...]"),e(`Current version: ${a.version}`),e(""),e(" See changelogs for your dependencies."),e(""),e("Options:"),e(""),e(" -h, --help Display this usage info"),e(" -v, --verbose Display debug informations"),process.exit(Xe.help?0:1)}else!function(e){e.verbose&&o.setLogLevel(e.verbose);t=e._,Object(l.render)(s.a.createElement(He,{packageStringList:t}));var t}(Xe)}]); \ No newline at end of file +e.exports=function t(r){"use strict";var i=n(62),o=n(0),a=n(70);function u(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rMe||(e.current=Fe[Me],Fe[Me]=null,Me--)}function Ne(e,t){Fe[++Me]=e.current,e.current=t}var Pe={},Re={current:Pe},Be={current:!1},Ie=Pe;function Le(e,t){var n=e.type.contextTypes;if(!n)return Pe;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function je(e){return null!=(e=e.childContextTypes)}function Ue(e){Oe(Be),Oe(Re)}function ze(e){Oe(Be),Oe(Re)}function We(e,t,n){Re.current!==Pe&&u("168"),Ne(Re,t),Ne(Be,n)}function Xe(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())o in e||u("108",w(t)||"Unknown",o);return i({},n,r)}function He(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Pe,Ie=Re.current,Ne(Re,t),Ne(Be,Be.current),!0}function Ge(e,t,n){var r=e.stateNode;r||u("169"),n?(t=Xe(e,t,Ie),r.__reactInternalMemoizedMergedChildContext=t,Oe(Be),Oe(Re),Ne(Re,t)):Oe(Be),Ne(Be,n)}var Je=null,$e=null;function qe(e){return function(t){try{return e(t)}catch(e){}}}function Ve(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.contextDependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Ye(e,t,n,r){return new Ve(e,t,n,r)}function Ke(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ze(e,t){var n=e.alternate;return null===n?((n=Ye(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.contextDependencies=e.contextDependencies,n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Qe(e,t,n,r,i,o){var a=2;if(r=e,"function"==typeof e)Ke(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case h:return et(n.children,i,o,t);case v:return tt(n,3|i,o,t);case d:return tt(n,2|i,o,t);case p:return(e=Ye(12,n,t,4|i)).elementType=p,e.type=p,e.expirationTime=o,e;case _:return(e=Ye(13,n,t,i)).elementType=_,e.type=_,e.expirationTime=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case m:a=10;break e;case g:a=9;break e;case y:a=11;break e;case b:a=14;break e;case D:a=16,r=null;break e}u("130",null==e?e:typeof e,"")}return(t=Ye(a,n,t,i)).elementType=e,t.type=r,t.expirationTime=o,t}function et(e,t,n,r){return(e=Ye(7,e,r,t)).expirationTime=n,e}function tt(e,t,n,r){return e=Ye(8,e,r,t),t=0==(1&t)?d:v,e.elementType=t,e.type=t,e.expirationTime=n,e}function nt(e,t,n){return(e=Ye(6,e,null,t)).expirationTime=n,e}function rt(e,t,n){return(t=Ye(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function it(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:nt&&(e.latestPendingTime=t),ut(t,e)}function ot(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var n=e.earliestPendingTime,r=e.latestPendingTime;n===t?e.earliestPendingTime=r===t?e.latestPendingTime=0:r:r===t&&(e.latestPendingTime=n),n=e.earliestSuspendedTime,r=e.latestSuspendedTime,0===n?e.earliestSuspendedTime=e.latestSuspendedTime=t:nt&&(e.latestSuspendedTime=t),ut(t,e)}function at(e,t){var n=e.earliestPendingTime;return n>t&&(t=n),(e=e.earliestSuspendedTime)>t&&(t=e),t}function ut(e,t){var n=t.earliestSuspendedTime,r=t.latestSuspendedTime,i=t.earliestPendingTime,o=t.latestPingedTime;0===(i=0!==i?i:o)&&(0===e||re&&(e=n),t.nextExpirationTimeToWorkOn=i,t.expirationTime=e}function st(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var lt=Object.prototype.hasOwnProperty;function ct(e,t){if(st(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;rh?(d=f,f=null):d=f.sibling;var p=g(i,f,u[h],s);if(null===p){null===f&&(f=d);break}e&&f&&null===p.alternate&&t(i,f),a=o(p,a,h),null===c?l=p:c.sibling=p,c=p,f=d}if(h===u.length)return n(i,f),l;if(null===f){for(;hd?(p=h,h=null):p=h.sibling;var _=g(i,h,y.value,l);if(null===_){h||(h=p);break}e&&h&&null===_.alternate&&t(i,h),a=o(_,a,d),null===f?c=_:f.sibling=_,f=_,h=p}if(y.done)return n(i,h),c;if(null===h){for(;!y.done;d++,y=s.next())null!==(y=m(i,y.value,l))&&(a=o(y,a,d),null===f?c=y:f.sibling=y,f=y);return c}for(h=r(i,h);!y.done;d++,y=s.next())null!==(y=v(h,i,d,y.value,l))&&(e&&null!==y.alternate&&h.delete(null===y.key?d:y.key),a=o(y,a,d),null===f?c=y:f.sibling=y,f=y);return e&&h.forEach(function(e){return t(i,e)}),c}return function(e,r,o,s){var l="object"==typeof o&&null!==o&&o.type===h&&null===o.key;l&&(o=o.props.children);var d="object"==typeof o&&null!==o;if(d)switch(o.$$typeof){case c:e:{for(d=o.key,l=r;null!==l;){if(l.key===d){if(7===l.tag?o.type===h:l.elementType===o.type){n(e,l.sibling),(r=i(l,o.type===h?o.props.children:o.props)).ref=bt(e,l,o),r.return=e,e=r;break e}n(e,l);break}t(e,l),l=l.sibling}o.type===h?((r=et(o.props.children,e.mode,s,o.key)).return=e,e=r):((s=Qe(o.type,o.key,o.props,null,e.mode,s)).ref=bt(e,r,o),s.return=e,e=s)}return a(e);case f:e:{for(l=o.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=rt(o,e.mode,s)).return=e,e=r}return a(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=nt(o,e.mode,s)).return=e,e=r),a(e);if(_t(o))return y(e,r,o,s);if(x(o))return _(e,r,o,s);if(d&&Dt(e,o),void 0===o&&!l)switch(e.tag){case 1:case 0:u("152",(s=e.type).displayName||s.name||"Component")}return n(e,r)}}var xt=Et(!0),wt=Et(!1),Ct={},kt={current:Ct},St={current:Ct},At={current:Ct};function Tt(e){return e===Ct&&u("174"),e}function Ft(e,t){Ne(At,t),Ne(St,e),Ne(kt,Ct),t=F(t),Oe(kt),Ne(kt,t)}function Mt(e){Oe(kt),Oe(St),Oe(At)}function Ot(){return Tt(kt.current)}function Nt(e){var t=Tt(At.current),n=Tt(kt.current);n!==(t=M(n,e.type,t))&&(Ne(St,e),Ne(kt,t))}function Pt(e){St.current===e&&(Oe(kt),Oe(St))}var Rt=0,Bt=2,It=4,Lt=8,jt=16,Ut=32,zt=64,Wt=128,Xt=s.ReactCurrentDispatcher,Ht=0,Gt=null,Jt=null,$t=null,qt=null,Vt=null,Yt=null,Kt=0,Zt=null,Qt=0,en=!1,tn=null,nn=0;function rn(){u("321")}function on(e,t){if(null===t)return!1;for(var n=0;nKt&&(Kt=f)):o=l.eagerReducer===e?l.eagerState:e(o,l.action),a=l,l=l.next}while(null!==l&&l!==r);c||(s=a,i=o),st(o,t.memoizedState)||(Mn=!0),t.memoizedState=o,t.baseUpdate=s,t.baseState=i,n.lastRenderedState=o}return[t.memoizedState,n.dispatch]}function hn(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===Zt?(Zt={lastEffect:null}).lastEffect=e.next=e:null===(t=Zt.lastEffect)?Zt.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,Zt.lastEffect=e),e}function dn(e,t,n,r){var i=sn();Qt|=e,i.memoizedState=hn(t,n,void 0,void 0===r?null:r)}function pn(e,t,n,r){var i=ln();r=void 0===r?null:r;var o=void 0;if(null!==Jt){var a=Jt.memoizedState;if(o=a.destroy,null!==r&&on(r,a.deps))return void hn(Rt,n,o,r)}Qt|=e,i.memoizedState=hn(t,n,o,r)}function mn(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function gn(){}function vn(e,t,n){25>nn||u("301");var r=e.alternate;if(e===Gt||null!==r&&r===Gt)if(en=!0,e={expirationTime:Ht,action:n,eagerReducer:null,eagerState:null,next:null},null===tn&&(tn=new Map),void 0===(n=tn.get(t)))tn.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{ei();var i=Ni(),o={expirationTime:i=ai(i,e),action:n,eagerReducer:null,eagerState:null,next:null},a=t.last;if(null===a)o.next=o;else{var s=a.next;null!==s&&(o.next=s),a.next=o}if(t.last=o,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var l=t.lastRenderedState,c=r(l,n);if(o.eagerReducer=r,o.eagerState=c,st(c,l))return}catch(e){}li(e,i)}}var yn={readContext:Kn,useCallback:rn,useContext:rn,useEffect:rn,useImperativeHandle:rn,useLayoutEffect:rn,useMemo:rn,useReducer:rn,useRef:rn,useState:rn,useDebugValue:rn},_n={readContext:Kn,useCallback:function(e,t){return sn().memoizedState=[e,void 0===t?null:t],e},useContext:Kn,useEffect:function(e,t){return dn(516,Wt|zt,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,dn(4,It|Ut,mn.bind(null,t,e),n)},useLayoutEffect:function(e,t){return dn(4,It|Ut,e,t)},useMemo:function(e,t){var n=sn();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=sn();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=vn.bind(null,Gt,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},sn().memoizedState=e},useState:function(e){var t=sn();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={last:null,dispatch:null,lastRenderedReducer:cn,lastRenderedState:e}).dispatch=vn.bind(null,Gt,e),[t.memoizedState,e]},useDebugValue:gn},bn={readContext:Kn,useCallback:function(e,t){var n=ln();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&on(t,r[1])?r[0]:(n.memoizedState=[e,t],e)},useContext:Kn,useEffect:function(e,t){return pn(516,Wt|zt,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,pn(4,It|Ut,mn.bind(null,t,e),n)},useLayoutEffect:function(e,t){return pn(4,It|Ut,e,t)},useMemo:function(e,t){var n=ln();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&on(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:fn,useRef:function(){return ln().memoizedState},useState:function(e){return fn(cn)},useDebugValue:gn},Dn=null,En=null,xn=!1;function wn(e,t){var n=Ye(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Cn(e,t){switch(e.tag){case 5:return null!==(t=Ee(t,e.type,e.pendingProps))&&(e.stateNode=t,!0);case 6:return null!==(t=xe(t,e.pendingProps))&&(e.stateNode=t,!0);case 13:default:return!1}}function kn(e){if(xn){var t=En;if(t){var n=t;if(!Cn(e,t)){if(!(t=we(n))||!Cn(e,t))return e.effectTag|=2,xn=!1,void(Dn=e);wn(Dn,n)}Dn=e,En=Ce(t)}else e.effectTag|=2,xn=!1,Dn=e}}function Sn(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&18!==e.tag;)e=e.return;Dn=e}function An(e){if(!Q||e!==Dn)return!1;if(!xn)return Sn(e),xn=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!L(t,e.memoizedProps))for(t=En;t;)wn(e,t),t=we(t);return Sn(e),En=Dn?we(e.stateNode):null,!0}function Tn(){Q&&(En=Dn=null,xn=!1)}var Fn=s.ReactCurrentOwner,Mn=!1;function On(e,t,n,r){t.child=null===e?wt(t,null,n,r):xt(t,e.child,n,r)}function Nn(e,t,n,r,i){n=n.render;var o=t.ref;return Yn(t,i),r=an(e,t,n,r,o,i),null===e||Mn?(t.effectTag|=1,On(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Wn(e,t,i))}function Pn(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!=typeof a||Ke(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Qe(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Rn(e,t,a,r,i,o))}return a=e.child,i=n?zn(e,t,n):null!==(t=Wn(e,t,n))?t.sibling:null}return Wn(e,t,n)}}else Mn=!1;switch(t.expirationTime=0,t.tag){case 2:r=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps;var i=Le(t,Re.current);if(Yn(t,n),i=an(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,un(),je(r)){var o=!0;He(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null;var a=r.getDerivedStateFromProps;"function"==typeof a&&dt(t,r,a,e),i.updater=pt,t.stateNode=i,i._reactInternalFiber=t,yt(t,r,e,n),t=jn(null,t,r,!0,o,n)}else t.tag=0,On(null,t,i,n),t=t.child;return t;case 16:switch(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),o=t.pendingProps,e=function(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:switch(e._status=0,(t=(t=e._ctor)()).then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)}),e._status){case 1:return e._result;case 2:throw e._result}throw e._result=t,t}}(i),t.type=e,i=t.tag=function(e){if("function"==typeof e)return Ke(e)?1:0;if(null!=e){if((e=e.$$typeof)===y)return 11;if(e===b)return 14}return 2}(e),o=ft(e,o),a=void 0,i){case 0:a=In(null,t,e,o,n);break;case 1:a=Ln(null,t,e,o,n);break;case 11:a=Nn(null,t,e,o,n);break;case 14:a=Pn(null,t,e,ft(e.type,o),r,n);break;default:u("306",e,"")}return a;case 0:return r=t.type,i=t.pendingProps,In(e,t,r,i=t.elementType===r?i:ft(r,i),n);case 1:return r=t.type,i=t.pendingProps,Ln(e,t,r,i=t.elementType===r?i:ft(r,i),n);case 3:return Un(t),null===(r=t.updateQueue)&&u("282"),i=null!==(i=t.memoizedState)?i.element:null,fr(t,r,t.pendingProps,null,n),(r=t.memoizedState.element)===i?(Tn(),t=Wn(e,t,n)):(i=t.stateNode,(i=(null===e||null===e.child)&&i.hydrate)&&(Q?(En=Ce(t.stateNode.containerInfo),Dn=t,i=xn=!0):i=!1),i?(t.effectTag|=2,t.child=wt(t,null,r,n)):(On(e,t,r,n),Tn()),t=t.child),t;case 5:return Nt(t),null===e&&kn(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,a=i.children,L(r,i)?a=null:null!==o&&L(r,o)&&(t.effectTag|=16),Bn(e,t),1!==n&&1&t.mode&&j(r,i)?(t.expirationTime=t.childExpirationTime=1,t=null):(On(e,t,a,n),t=t.child),t;case 6:return null===e&&kn(t),null;case 13:return zn(e,t,n);case 4:return Ft(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=xt(t,null,r,n):On(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Nn(e,t,r,i=t.elementType===r?i:ft(r,i),n);case 7:return On(e,t,t.pendingProps,n),t.child;case 8:case 12:return On(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,qn(t,o=i.value),null!==a){var s=a.value;if(0===(o=st(s,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(s,o):1073741823))){if(a.children===i.children&&!Be.current){t=Wn(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var l=s.contextDependencies;if(null!==l){a=s.child;for(var c=l.first;null!==c;){if(c.context===r&&0!=(c.observedBits&o)){1===s.tag&&((c=or(n)).tag=er,ur(s,c)),s.expirationTime=t&&(Mn=!0),e.contextDependencies=null}function Kn(e,t){return $n!==e&&!1!==t&&0!==t&&("number"==typeof t&&1073741823!==t||($n=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Jn?(null===Gn&&u("308"),Jn=t,Gn.contextDependencies={first:t,expirationTime:0}):Jn=Jn.next=t),Y?e._currentValue:e._currentValue2}var Zn=0,Qn=1,er=2,tr=3,nr=!1;function rr(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function ir(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function or(e){return{expirationTime:e,tag:Zn,payload:null,callback:null,next:null,nextEffect:null}}function ar(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function ur(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,i=null;null===r&&(r=e.updateQueue=rr(e.memoizedState))}else r=e.updateQueue,i=n.updateQueue,null===r?null===i?(r=e.updateQueue=rr(e.memoizedState),i=n.updateQueue=rr(n.memoizedState)):r=e.updateQueue=ir(i):null===i&&(i=n.updateQueue=ir(r));null===i||r===i?ar(r,t):null===r.lastUpdate||null===i.lastUpdate?(ar(r,t),ar(i,t)):(ar(r,t),i.lastUpdate=t)}function sr(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=rr(e.memoizedState):lr(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function lr(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=ir(t)),t}function cr(e,t,n,r,o,a){switch(n.tag){case Qn:return"function"==typeof(e=n.payload)?e.call(a,r,o):e;case tr:e.effectTag=-2049&e.effectTag|64;case Zn:if(null==(o="function"==typeof(e=n.payload)?e.call(a,r,o):e))break;return i({},r,o);case er:nr=!0}return r}function fr(e,t,n,r,i){nr=!1;for(var o=(t=lr(e,t)).baseState,a=null,u=0,s=t.firstUpdate,l=o;null!==s;){var c=s.expirationTime;ct?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>t&&(e.earliestPendingTime=e.latestPendingTime)),0===(n=e.earliestSuspendedTime)?it(e,t):tn&&it(e,t)}ut(0,e)}(e,i>r?i:r),Br.current=null,r=void 0,1n?t:n)&&(Vr=null),function(e,t){e.expirationTime=t,e.finishedWork=null}(e,t)}function ni(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0==(1024&e.effectTag)){jr=e;e:{var i=t,o=zr,a=(t=e).pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:je(t.type)&&Ue();break;case 3:Mt(),ze(),(a=t.stateNode).pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),null!==i&&null!==i.child||(An(t),t.effectTag&=-3),vr(t);break;case 5:Pt(t),o=Tt(At.current);var s=t.type;if(null!==i&&null!=t.stateNode)yr(i,t,s,a,o),i.ref!==t.ref&&(t.effectTag|=128);else if(a){if(i=Ot(),An(t))a=t,Q||u("175"),i=ke(a.stateNode,a.type,a.memoizedProps,o,i,a),a.updateQueue=i,(i=null!==i)&&mr(t);else{var l=P(s,a,o,i,t);gr(l,t,!1,!1),B(l,s,a,o,i)&&mr(t),t.stateNode=l}null!==t.ref&&(t.effectTag|=128)}else null===t.stateNode&&u("166");break;case 6:i&&null!=t.stateNode?_r(i,t,i.memoizedProps,a):("string"!=typeof a&&(null===t.stateNode&&u("166")),i=Tt(At.current),o=Ot(),An(t)?(i=t,Q||u("176"),(i=Se(i.stateNode,i.memoizedProps,i))&&mr(t)):t.stateNode=U(a,i,o,t));break;case 11:break;case 13:if(a=t.memoizedState,0!=(64&t.effectTag)){t.expirationTime=o,jr=t;break e}a=null!==a,o=null!==i&&null!==i.memoizedState,null!==i&&!a&&o&&(null!==(i=i.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=i,i.nextEffect=s):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),(a||o)&&(t.effectTag|=4);break;case 7:case 8:case 12:break;case 4:Mt(),vr(t);break;case 10:Vn(t);break;case 9:case 14:break;case 17:je(t.type)&&Ue();break;case 18:break;default:u("156")}jr=null}if(t=e,1===zr||1!==t.childExpirationTime){for(i=0,a=t.child;null!==a;)(o=a.expirationTime)>i&&(i=o),(s=a.childExpirationTime)>i&&(i=s),a=a.sibling;t.childExpirationTime=i}if(null!==jr)return jr;null!==n&&0==(1024&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1=m?d=0:(-1===d||m component higher in the tree to provide a loading indicator or placeholder to display."+Te(c))}Xr=!0,f=pr(f,c),s=l;do{switch(s.tag){case 3:s.effectTag|=2048,s.expirationTime=a,sr(s,a=Or(s,f,a));break e;case 1:if(d=f,p=s.type,c=s.stateNode,0==(64&s.effectTag)&&("function"==typeof p.getDerivedStateFromError||null!==c&&"function"==typeof c.componentDidCatch&&(null===Vr||!Vr.has(c)))){s.effectTag|=2048,s.expirationTime=a,sr(s,a=Nr(s,d,a));break e}}s=s.return}while(null!==s)}jr=ni(o);continue}i=!0,Xi(t)}}break}if(Lr=!1,Rr.current=n,$n=Jn=Gn=null,un(),i)Ur=null,e.finishedWork=null;else if(null!==jr)e.finishedWork=null;else{if(null===(n=e.current.alternate)&&u("281"),Ur=null,Xr){if(i=e.latestPendingTime,o=e.latestSuspendedTime,a=e.latestPingedTime,0!==i&&it?0:t)):(e.pendingCommitExpirationTime=r,e.finishedWork=n)}}function oi(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 1:var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Vr||!Vr.has(r)))return ur(n,e=Nr(n,e=pr(t,e),1073741823)),void li(n,1073741823);break;case 3:return ur(n,e=Or(n,e=pr(t,e),1073741823)),void li(n,1073741823)}n=n.return}3===e.tag&&(ur(e,n=Or(e,n=pr(t,e),1073741823)),li(e,1073741823))}function ai(e,t){var n=a.unstable_getCurrentPriorityLevel(),r=void 0;if(0==(1&t.mode))r=1073741823;else if(Lr&&!Gr)r=zr;else{switch(n){case a.unstable_ImmediatePriority:r=1073741823;break;case a.unstable_UserBlockingPriority:r=1073741822-10*(1+((1073741822-e+15)/10|0));break;case a.unstable_NormalPriority:r=1073741822-25*(1+((1073741822-e+500)/25|0));break;case a.unstable_LowPriority:case a.unstable_IdlePriority:r=1;break;default:u("313")}null!==Ur&&r===zr&&--r}return n===a.unstable_UserBlockingPriority&&(0===yi||r=r&&(e.didError=!1,(0===(t=e.latestPingedTime)||t>n)&&(e.latestPingedTime=n),ut(n,e),0!==(n=e.expirationTime)&&Pi(e,n)))}function si(e,t){e.expirationTimezr&&Yr(),it(e,t),Lr&&!Gr&&Ur===e||Pi(e,e.expirationTime),Ai>Si&&(Ai=0,u("185")))}function ci(e,t,n,r,i){return a.unstable_runWithPriority(a.unstable_ImmediatePriority,function(){return e(t,n,r,i)})}var fi=null,hi=null,di=0,pi=void 0,mi=!1,gi=null,vi=0,yi=0,_i=!1,bi=null,Di=!1,Ei=!1,xi=null,wi=V(),Ci=1073741822-(wi/10|0),ki=Ci,Si=50,Ai=0,Ti=null;function Fi(){Ci=1073741822-((V()-wi)/10|0)}function Mi(e,t){if(0!==di){if(te.expirationTime&&(e.expirationTime=t),mi||(Di?Ei&&(gi=e,vi=1073741823,zi(e,1073741823,!1)):1073741823===t?ji(1073741823,!1):Mi(e,t))}function Ri(){var e=0,t=null;if(null!==hi)for(var n=hi,r=fi;null!==r;){var i=r.expirationTime;if(0===i){if((null===n||null===hi)&&u("244"),r===r.nextScheduledRoot){fi=hi=r.nextScheduledRoot=null;break}if(r===fi)fi=i=r.nextScheduledRoot,hi.nextScheduledRoot=i,r.nextScheduledRoot=null;else{if(r===hi){(hi=n).nextScheduledRoot=fi,r.nextScheduledRoot=null;break}n.nextScheduledRoot=r.nextScheduledRoot,r.nextScheduledRoot=null}r=n.nextScheduledRoot}else{if(i>e&&(e=i,t=r),r===hi)break;if(1073741823===e)break;n=r,r=r.nextScheduledRoot}}gi=t,vi=e}var Bi=!1;function Ii(){return!!Bi||!!X()&&(Bi=!0)}function Li(){try{if(!Ii()&&null!==fi){Fi();var e=fi;do{var t=e.expirationTime;0!==t&&Ci<=t&&(e.nextExpirationTimeToWorkOn=Ci),e=e.nextScheduledRoot}while(e!==fi)}ji(0,!0)}finally{Bi=!1}}function ji(e,t){if(Ri(),t)for(Fi(),ki=Ci;null!==gi&&0!==vi&&e<=vi&&!(Bi&&Ci>vi);)zi(gi,vi,Ci>vi),Ri(),Fi(),ki=Ci;else for(;null!==gi&&0!==vi&&e<=vi;)zi(gi,vi,!1),Ri();if(t&&(di=0,pi=null),0!==vi&&Mi(gi,vi),Ai=0,Ti=null,null!==xi)for(e=xi,xi=null,t=0;t=n&&(null===xi?xi=[r]:xi.push(r),r._defer))return e.finishedWork=t,void(e.expirationTime=0);e.finishedWork=null,e===Ti?Ai++:(Ti=e,Ai=0),a.unstable_runWithPriority(a.unstable_ImmediatePriority,function(){ti(e,t)})}function Xi(e){null===gi&&u("246"),gi.expirationTime=0,_i||(_i=!0,bi=e)}function Hi(e,t,n,r,i){var o=t.current;e:if(n){t:{2===C(n=n._reactInternalFiber)&&1===n.tag||u("170");var a=n;do{switch(a.tag){case 3:a=a.stateNode.context;break t;case 1:if(je(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break t}}a=a.return}while(null!==a);u("171"),a=void 0}if(1===n.tag){var s=n.type;if(je(s)){n=Xe(n,s,a);break e}}n=a}else n=Pe;return null===t.context?t.context=n:t.pendingContext=n,t=i,(i=or(r)).payload={element:e},null!==(t=void 0===t?null:t)&&(i.callback=t),ei(),ur(o,i),li(o,r),r}function Gi(e){var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?u("188"):u("268",Object.keys(e))),null===(e=A(t))?null:e.stateNode}var Ji={updateContainerAtExpirationTime:Hi,createContainer:function(e,t,n){return e={current:t=Ye(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:J,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},t.stateNode=e},updateContainer:function(e,t,n,r){var i=t.current;return Hi(e,t,n,i=ai(Ni(),i),r)},flushRoot:Ui,requestWork:Pi,computeUniqueAsyncExpiration:function(){var e=1073741822-25*(1+((1073741822-Ni()+500)/25|0));return e>=Ir&&(e=Ir-1),Ir=e},batchedUpdates:function(e,t){var n=Di;Di=!0;try{return e(t)}finally{(Di=n)||mi||ji(1073741823,!1)}},unbatchedUpdates:function(e,t){if(Di&&!Ei){Ei=!0;try{return e(t)}finally{Ei=!1}}return e(t)},deferredUpdates:a.unstable_next,syncUpdates:ci,interactiveUpdates:function(e,t,n){Di||mi||0===yi||(ji(yi,!1),yi=0);var r=Di;Di=!0;try{return a.unstable_runWithPriority(a.unstable_UserBlockingPriority,function(){return e(t,n)})}finally{(Di=r)||mi||ji(1073741823,!1)}},flushInteractiveUpdates:function(){mi||0===yi||(ji(yi,!1),yi=0)},flushControlled:function(e){var t=Di;Di=!0;try{ci(e)}finally{(Di=t)||mi||ji(1073741823,!1)}},flushSync:function(e,t){mi&&u("187");var n=Di;Di=!0;try{return ci(e,t)}finally{Di=n,ji(1073741823,!1)}},getPublicRootInstance:function(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:return T(e.child.stateNode);default:return e.child.stateNode}},findHostInstance:Gi,findHostInstanceWithWarning:function(e){return Gi(e)},findHostInstanceWithNoPortals:function(e){return null===(e=function(e){if(!(e=S(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child&&4!==t.tag)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}(e))?null:e.stateNode},injectIntoDevTools:function(e){var t=e.findFiberByHostInstance;return function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Je=qe(function(e){return t.onCommitFiberRoot(n,e)}),$e=qe(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}(i({},e,{overrideProps:null,currentDispatcherRef:s.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=A(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}};e.exports=Ji.default||Ji;var $i=e.exports;return e.exports=t,$i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(45)),i=f(n(147)),o=n(44),a=f(n(152)),u=f(n(156)),s=f(n(72)),l=f(n(75)),c=f(n(76));function f(e){return e&&e.__esModule?e:{default:e}}const h=e=>{if(e.textContent&&"string"==typeof e.parentNode.style.textWrap){const{yogaNode:t}=e,n=e.parentNode.yogaNode,r=(0,c.default)(n);if(t.getComputedWidth()>r){const{textWrap:n}=e.parentNode.style,i=(0,l.default)(e.textContent,r,{textWrap:n}),{width:o,height:a}=(0,s.default)(i);t.setWidth(o),t.setHeight(a)}}else if(Array.isArray(e.childNodes)&&e.childNodes.length>0)for(const t of e.childNodes)h(t)},d=e=>{const t=[];for(const n of e.childNodes)n.unstable__static&&t.push(n),Array.isArray(n.childNodes)&&n.childNodes.length>0&&t.push(...d(n));return t};t.default=({terminalWidth:e})=>{const t=r.default.Config.create();let n,s;return l=>{n&&n.freeRecursive(),s&&s.freeRecursive();const c=d(l);let f;if(c.length,1===c.length){const n=(0,o.createNode)("root");(0,o.appendStaticNode)(n,c[0]);const{yogaNode:l}=(0,a.default)(n,{config:t,terminalWidth:e,skipStaticElements:!1});l.calculateLayout(r.default.UNDEFINED,r.default.UNDEFINED,r.default.DIRECTION_LTR),h(n),l.calculateLayout(r.default.UNDEFINED,r.default.UNDEFINED,r.default.DIRECTION_LTR),s=l,f=new i.default({width:l.getComputedWidth(),height:l.getComputedHeight()}),(0,u.default)(n,f,{skipStaticElements:!1})}const{yogaNode:p}=(0,a.default)(l,{config:t,terminalWidth:e,skipStaticElements:!0});p.calculateLayout(r.default.UNDEFINED,r.default.UNDEFINED,r.default.DIRECTION_LTR),h(l),p.calculateLayout(r.default.UNDEFINED,r.default.UNDEFINED,r.default.DIRECTION_LTR),n=p;const m=new i.default({width:p.getComputedWidth(),height:p.getComputedHeight()});return(0,u.default)(l,m,{skipStaticElements:!0}),{output:m.get(),staticOutput:f?`${f.get()}\n`:void 0}}}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t"}}]),e}(),l=function(){function e(t,n){a(this,e),this.width=t,this.height=n}return i(e,null,[{key:"fromJS",value:function(t){return new e(t.width,t.height)}}]),i(e,[{key:"fromJS",value:function(e){e(this.width,this.height)}},{key:"toString",value:function(){return""}}]),e}(),c=function(){function e(t,n){a(this,e),this.unit=t,this.value=n}return i(e,[{key:"fromJS",value:function(e){e(this.unit,this.value)}},{key:"toString",value:function(){switch(this.unit){case u.UNIT_POINT:return String(this.value);case u.UNIT_PERCENT:return this.value+"%";case u.UNIT_AUTO:return"auto";default:return this.value+"?"}}},{key:"valueOf",value:function(){return this.value}}]),e}();e.exports=function(e,t){function n(e,t,n){var r=e[t];e[t]=function(){for(var e=arguments.length,t=Array(e),i=0;i1?t-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:NaN,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:NaN,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u.DIRECTION_LTR;return e.call(this,t,n,r)}),r({Config:t.Config,Node:t.Node,Layout:e("Layout",s),Size:e("Size",l),Value:e("Value",c),getInstanceCount:function(){return t.getInstanceCount.apply(t,arguments)}},u)}},function(e,t,n){"use strict";e.exports={ALIGN_COUNT:8,ALIGN_AUTO:0,ALIGN_FLEX_START:1,ALIGN_CENTER:2,ALIGN_FLEX_END:3,ALIGN_STRETCH:4,ALIGN_BASELINE:5,ALIGN_SPACE_BETWEEN:6,ALIGN_SPACE_AROUND:7,DIMENSION_COUNT:2,DIMENSION_WIDTH:0,DIMENSION_HEIGHT:1,DIRECTION_COUNT:3,DIRECTION_INHERIT:0,DIRECTION_LTR:1,DIRECTION_RTL:2,DISPLAY_COUNT:2,DISPLAY_FLEX:0,DISPLAY_NONE:1,EDGE_COUNT:9,EDGE_LEFT:0,EDGE_TOP:1,EDGE_RIGHT:2,EDGE_BOTTOM:3,EDGE_START:4,EDGE_END:5,EDGE_HORIZONTAL:6,EDGE_VERTICAL:7,EDGE_ALL:8,EXPERIMENTAL_FEATURE_COUNT:1,EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS:0,FLEX_DIRECTION_COUNT:4,FLEX_DIRECTION_COLUMN:0,FLEX_DIRECTION_COLUMN_REVERSE:1,FLEX_DIRECTION_ROW:2,FLEX_DIRECTION_ROW_REVERSE:3,JUSTIFY_COUNT:6,JUSTIFY_FLEX_START:0,JUSTIFY_CENTER:1,JUSTIFY_FLEX_END:2,JUSTIFY_SPACE_BETWEEN:3,JUSTIFY_SPACE_AROUND:4,JUSTIFY_SPACE_EVENLY:5,LOG_LEVEL_COUNT:6,LOG_LEVEL_ERROR:0,LOG_LEVEL_WARN:1,LOG_LEVEL_INFO:2,LOG_LEVEL_DEBUG:3,LOG_LEVEL_VERBOSE:4,LOG_LEVEL_FATAL:5,MEASURE_MODE_COUNT:3,MEASURE_MODE_UNDEFINED:0,MEASURE_MODE_EXACTLY:1,MEASURE_MODE_AT_MOST:2,NODE_TYPE_COUNT:2,NODE_TYPE_DEFAULT:0,NODE_TYPE_TEXT:1,OVERFLOW_COUNT:3,OVERFLOW_VISIBLE:0,OVERFLOW_HIDDEN:1,OVERFLOW_SCROLL:2,POSITION_TYPE_COUNT:2,POSITION_TYPE_RELATIVE:0,POSITION_TYPE_ABSOLUTE:1,PRINT_OPTIONS_COUNT:3,PRINT_OPTIONS_LAYOUT:1,PRINT_OPTIONS_STYLE:2,PRINT_OPTIONS_CHILDREN:4,UNIT_COUNT:4,UNIT_UNDEFINED:0,UNIT_POINT:1,UNIT_PERCENT:2,UNIT_AUTO:3,WRAP_COUNT:3,WRAP_NO_WRAP:0,WRAP_WRAP:1,WRAP_WRAP_REVERSE:2}},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__,wrapper;wrapper=function(Module,cb){var Module;"function"==typeof Module&&(cb=Module,Module={}),Module.onRuntimeInitialized=function(e,t){return function(){e&&e.apply(this,arguments);try{Module.ccall("nbind_init")}catch(e){return void t(e)}t(null,{bind:Module._nbind_value,reflect:Module.NBind.reflect,queryType:Module.NBind.queryType,toggleLightGC:Module.toggleLightGC,lib:Module})}}(Module.onRuntimeInitialized,cb),Module||(Module=(void 0!==Module?Module:null)||{});var moduleOverrides={};for(var key in Module)Module.hasOwnProperty(key)&&(moduleOverrides[key]=Module[key]);var ENVIRONMENT_IS_WEB=!1,ENVIRONMENT_IS_WORKER=!1,ENVIRONMENT_IS_NODE=!1,ENVIRONMENT_IS_SHELL=!1,nodeFS,nodePath;if(Module.ENVIRONMENT)if("WEB"===Module.ENVIRONMENT)ENVIRONMENT_IS_WEB=!0;else if("WORKER"===Module.ENVIRONMENT)ENVIRONMENT_IS_WORKER=!0;else if("NODE"===Module.ENVIRONMENT)ENVIRONMENT_IS_NODE=!0;else{if("SHELL"!==Module.ENVIRONMENT)throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.");ENVIRONMENT_IS_SHELL=!0}else ENVIRONMENT_IS_WEB="object"==typeof window,ENVIRONMENT_IS_WORKER="function"==typeof importScripts,ENVIRONMENT_IS_NODE="object"==typeof process&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER,ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;if(ENVIRONMENT_IS_NODE)Module.print||(Module.print=console.log),Module.printErr||(Module.printErr=console.warn),Module.read=function(e,t){nodeFS||(nodeFS={}("")),nodePath||(nodePath={}("")),e=nodePath.normalize(e);var n=nodeFS.readFileSync(e);return t?n:n.toString()},Module.readBinary=function(e){var t=Module.read(e,!0);return t.buffer||(t=new Uint8Array(t)),assert(t.buffer),t},Module.load=function(e){globalEval(read(e))},Module.thisProgram||(process.argv.length>1?Module.thisProgram=process.argv[1].replace(/\\/g,"/"):Module.thisProgram="unknown-program"),Module.arguments=process.argv.slice(2),module.exports=Module,process.on("uncaughtException",function(e){if(!(e instanceof ExitStatus))throw e}),Module.inspect=function(){return"[Emscripten Module object]"};else if(ENVIRONMENT_IS_SHELL)Module.print||(Module.print=print),"undefined"!=typeof printErr&&(Module.printErr=printErr),"undefined"!=typeof read?Module.read=read:Module.read=function(){throw"no read() available"},Module.readBinary=function(e){if("function"==typeof readbuffer)return new Uint8Array(readbuffer(e));var t=read(e,"binary");return assert("object"==typeof t),t},"undefined"!=typeof scriptArgs?Module.arguments=scriptArgs:void 0!==arguments&&(Module.arguments=arguments),"function"==typeof quit&&(Module.quit=function(e,t){quit(e)});else{if(!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER)throw"Unknown runtime environment. Where are we?";if(Module.read=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},ENVIRONMENT_IS_WORKER&&(Module.readBinary=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),Module.readAsync=function(e,t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="arraybuffer",r.onload=function(){200==r.status||0==r.status&&r.response?t(r.response):n()},r.onerror=n,r.send(null)},void 0!==arguments&&(Module.arguments=arguments),"undefined"!=typeof console)Module.print||(Module.print=function(e){console.log(e)}),Module.printErr||(Module.printErr=function(e){console.warn(e)});else{var TRY_USE_DUMP=!1;Module.print||(Module.print=TRY_USE_DUMP&&"undefined"!=typeof dump?function(e){dump(e)}:function(e){})}ENVIRONMENT_IS_WORKER&&(Module.load=importScripts),void 0===Module.setWindowTitle&&(Module.setWindowTitle=function(e){document.title=e})}function globalEval(e){eval.call(null,e)}for(var key in!Module.load&&Module.read&&(Module.load=function(e){globalEval(Module.read(e))}),Module.print||(Module.print=function(){}),Module.printErr||(Module.printErr=Module.print),Module.arguments||(Module.arguments=[]),Module.thisProgram||(Module.thisProgram="./this.program"),Module.quit||(Module.quit=function(e,t){throw t}),Module.print=Module.print,Module.printErr=Module.printErr,Module.preRun=[],Module.postRun=[],moduleOverrides)moduleOverrides.hasOwnProperty(key)&&(Module[key]=moduleOverrides[key]);moduleOverrides=void 0;var Runtime={setTempRet0:function(e){return tempRet0=e,e},getTempRet0:function(){return tempRet0},stackSave:function(){return STACKTOP},stackRestore:function(e){STACKTOP=e},getNativeTypeSize:function(e){switch(e){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:if("*"===e[e.length-1])return Runtime.QUANTUM_SIZE;if("i"===e[0]){var t=parseInt(e.substr(1));return assert(t%8==0),t/8}return 0}},getNativeFieldSize:function(e){return Math.max(Runtime.getNativeTypeSize(e),Runtime.QUANTUM_SIZE)},STACK_ALIGN:16,prepVararg:function(e,t){return"double"===t||"i64"===t?7&e&&(assert(4==(7&e)),e+=4):assert(0==(3&e)),e},getAlignSize:function(e,t,n){return n||"i64"!=e&&"double"!=e?e?Math.min(t||(e?Runtime.getNativeFieldSize(e):0),Runtime.QUANTUM_SIZE):Math.min(t,8):8},dynCall:function(e,t,n){return n&&n.length?Module["dynCall_"+e].apply(null,[t].concat(n)):Module["dynCall_"+e].call(null,t)},functionPointers:[],addFunction:function(e){for(var t=0;t>2],n=-16&(t+e+15|0);if((HEAP32[DYNAMICTOP_PTR>>2]=n,n>=TOTAL_MEMORY)&&!enlargeMemory())return HEAP32[DYNAMICTOP_PTR>>2]=t,0;return t},alignMemory:function(e,t){return e=Math.ceil(e/(t||16))*(t||16)},makeBigInt:function(e,t,n){return n?+(e>>>0)+4294967296*+(t>>>0):+(e>>>0)+4294967296*+(0|t)},GLOBAL_BASE:8,QUANTUM_SIZE:4,__dummy__:0};Module.Runtime=Runtime;var ABORT=0,EXITSTATUS=0,cwrap,ccall;function assert(e,t){e||abort("Assertion failed: "+t)}function getCFunc(ident){var func=Module["_"+ident];if(!func)try{func=eval("_"+ident)}catch(e){}return assert(func,"Cannot call unknown function "+ident+" (perhaps LLVM optimizations or closure removed it?)"),func}function setValue(e,t,n,r){switch("*"===(n=n||"i8").charAt(n.length-1)&&(n="i32"),n){case"i1":case"i8":HEAP8[e>>0]=t;break;case"i16":HEAP16[e>>1]=t;break;case"i32":HEAP32[e>>2]=t;break;case"i64":tempI64=[t>>>0,(tempDouble=t,+Math_abs(tempDouble)>=1?tempDouble>0?(0|Math_min(+Math_floor(tempDouble/4294967296),4294967295))>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[e>>2]=tempI64[0],HEAP32[e+4>>2]=tempI64[1];break;case"float":HEAPF32[e>>2]=t;break;case"double":HEAPF64[e>>3]=t;break;default:abort("invalid type for setValue: "+n)}}function getValue(e,t,n){switch("*"===(t=t||"i8").charAt(t.length-1)&&(t="i32"),t){case"i1":case"i8":return HEAP8[e>>0];case"i16":return HEAP16[e>>1];case"i32":case"i64":return HEAP32[e>>2];case"float":return HEAPF32[e>>2];case"double":return HEAPF64[e>>3];default:abort("invalid type for setValue: "+t)}return null}!function(){var JSfuncs={stackSave:function(){Runtime.stackSave()},stackRestore:function(){Runtime.stackRestore()},arrayToC:function(e){var t=Runtime.stackAlloc(e.length);return writeArrayToMemory(e,t),t},stringToC:function(e){var t=0;if(null!=e&&0!==e){var n=1+(e.length<<2);stringToUTF8(e,t=Runtime.stackAlloc(n),n)}return t}},toC={string:JSfuncs.stringToC,array:JSfuncs.arrayToC};ccall=function(e,t,n,r,i){var o=getCFunc(e),a=[],u=0;if(r)for(var s=0;s>2]=0;for(s=a+o;r>0]=0;return a}if("i8"===u)return e.subarray||e.slice?HEAPU8.set(e,a):HEAPU8.set(new Uint8Array(e),a),a;for(var l,c,f,h=0;h>0],(0!=n||t)&&(i++,!t||i!=t););t||(t=i);var o="";if(r<128){for(var a;t>0;)a=String.fromCharCode.apply(String,HEAPU8.subarray(e,e+Math.min(t,1024))),o=o?o+a:a,e+=1024,t-=1024;return o}return Module.UTF8ToString(e)}function AsciiToString(e){for(var t="";;){var n=HEAP8[e++>>0];if(!n)return t;t+=String.fromCharCode(n)}}function stringToAscii(e,t){return writeAsciiToMemory(e,t,!1)}Module.ALLOC_NORMAL=ALLOC_NORMAL,Module.ALLOC_STACK=ALLOC_STACK,Module.ALLOC_STATIC=ALLOC_STATIC,Module.ALLOC_DYNAMIC=ALLOC_DYNAMIC,Module.ALLOC_NONE=ALLOC_NONE,Module.allocate=allocate,Module.getMemory=getMemory,Module.Pointer_stringify=Pointer_stringify,Module.AsciiToString=AsciiToString,Module.stringToAscii=stringToAscii;var UTF8Decoder="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function UTF8ArrayToString(e,t){for(var n=t;e[n];)++n;if(n-t>16&&e.subarray&&UTF8Decoder)return UTF8Decoder.decode(e.subarray(t,n));for(var r,i,o,a,u,s="";;){if(!(r=e[t++]))return s;if(128&r)if(i=63&e[t++],192!=(224&r))if(o=63&e[t++],224==(240&r)?r=(15&r)<<12|i<<6|o:(a=63&e[t++],240==(248&r)?r=(7&r)<<18|i<<12|o<<6|a:(u=63&e[t++],r=248==(252&r)?(3&r)<<24|i<<18|o<<12|a<<6|u:(1&r)<<30|i<<24|o<<18|a<<12|u<<6|63&e[t++])),r<65536)s+=String.fromCharCode(r);else{var l=r-65536;s+=String.fromCharCode(55296|l>>10,56320|1023&l)}else s+=String.fromCharCode((31&r)<<6|i);else s+=String.fromCharCode(r)}}function UTF8ToString(e){return UTF8ArrayToString(HEAPU8,e)}function stringToUTF8Array(e,t,n,r){if(!(r>0))return 0;for(var i=n,o=n+r-1,a=0;a=55296&&u<=57343&&(u=65536+((1023&u)<<10)|1023&e.charCodeAt(++a)),u<=127){if(n>=o)break;t[n++]=u}else if(u<=2047){if(n+1>=o)break;t[n++]=192|u>>6,t[n++]=128|63&u}else if(u<=65535){if(n+2>=o)break;t[n++]=224|u>>12,t[n++]=128|u>>6&63,t[n++]=128|63&u}else if(u<=2097151){if(n+3>=o)break;t[n++]=240|u>>18,t[n++]=128|u>>12&63,t[n++]=128|u>>6&63,t[n++]=128|63&u}else if(u<=67108863){if(n+4>=o)break;t[n++]=248|u>>24,t[n++]=128|u>>18&63,t[n++]=128|u>>12&63,t[n++]=128|u>>6&63,t[n++]=128|63&u}else{if(n+5>=o)break;t[n++]=252|u>>30,t[n++]=128|u>>24&63,t[n++]=128|u>>18&63,t[n++]=128|u>>12&63,t[n++]=128|u>>6&63,t[n++]=128|63&u}}return t[n]=0,n-i}function stringToUTF8(e,t,n){return stringToUTF8Array(e,HEAPU8,t,n)}function lengthBytesUTF8(e){for(var t=0,n=0;n=55296&&r<=57343&&(r=65536+((1023&r)<<10)|1023&e.charCodeAt(++n)),r<=127?++t:t+=r<=2047?2:r<=65535?3:r<=2097151?4:r<=67108863?5:6}return t}Module.UTF8ArrayToString=UTF8ArrayToString,Module.UTF8ToString=UTF8ToString,Module.stringToUTF8Array=stringToUTF8Array,Module.stringToUTF8=stringToUTF8,Module.lengthBytesUTF8=lengthBytesUTF8;var UTF16Decoder="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,HEAP,buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64,STATIC_BASE,STATICTOP,staticSealed,STACK_BASE,STACKTOP,STACK_MAX,DYNAMIC_BASE,DYNAMICTOP_PTR;function demangle(e){var t=Module.___cxa_demangle||Module.__cxa_demangle;if(t){try{var n=e.substr(1),r=lengthBytesUTF8(n)+1,i=_malloc(r);stringToUTF8(n,i,r);var o=_malloc(4),a=t(i,0,0,o);if(0===getValue(o,"i32")&&a)return Pointer_stringify(a)}catch(e){}finally{i&&_free(i),o&&_free(o),a&&_free(a)}return e}return Runtime.warnOnce("warning: build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling"),e}function demangleAll(e){return e.replace(/__Z[\w\d_]+/g,function(e){var t=demangle(e);return e===t?e:e+" ["+t+"]"})}function jsStackTrace(){var e=new Error;if(!e.stack){try{throw new Error(0)}catch(t){e=t}if(!e.stack)return"(no stack trace available)"}return e.stack.toString()}function stackTrace(){var e=jsStackTrace();return Module.extraStackTrace&&(e+="\n"+Module.extraStackTrace()),demangleAll(e)}function updateGlobalBufferViews(){Module.HEAP8=HEAP8=new Int8Array(buffer),Module.HEAP16=HEAP16=new Int16Array(buffer),Module.HEAP32=HEAP32=new Int32Array(buffer),Module.HEAPU8=HEAPU8=new Uint8Array(buffer),Module.HEAPU16=HEAPU16=new Uint16Array(buffer),Module.HEAPU32=HEAPU32=new Uint32Array(buffer),Module.HEAPF32=HEAPF32=new Float32Array(buffer),Module.HEAPF64=HEAPF64=new Float64Array(buffer)}function abortOnCannotGrowMemory(){abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value "+TOTAL_MEMORY+", (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ")}function enlargeMemory(){abortOnCannotGrowMemory()}Module.stackTrace=stackTrace,STATIC_BASE=STATICTOP=STACK_BASE=STACKTOP=STACK_MAX=DYNAMIC_BASE=DYNAMICTOP_PTR=0,staticSealed=!1;var TOTAL_STACK=Module.TOTAL_STACK||5242880,TOTAL_MEMORY=Module.TOTAL_MEMORY||134217728;function getTotalMemory(){return TOTAL_MEMORY}if(TOTAL_MEMORY0;){var t=e.shift();if("function"!=typeof t){var n=t.func;"number"==typeof n?void 0===t.arg?Module.dynCall_v(n):Module.dynCall_vi(n,t.arg):n(void 0===t.arg?null:t.arg)}else t()}}Module.HEAP=HEAP,Module.buffer=buffer,Module.HEAP8=HEAP8,Module.HEAP16=HEAP16,Module.HEAP32=HEAP32,Module.HEAPU8=HEAPU8,Module.HEAPU16=HEAPU16,Module.HEAPU32=HEAPU32,Module.HEAPF32=HEAPF32,Module.HEAPF64=HEAPF64;var __ATPRERUN__=[],__ATINIT__=[],__ATMAIN__=[],__ATEXIT__=[],__ATPOSTRUN__=[],runtimeInitialized=!1,runtimeExited=!1;function preRun(){if(Module.preRun)for("function"==typeof Module.preRun&&(Module.preRun=[Module.preRun]);Module.preRun.length;)addOnPreRun(Module.preRun.shift());callRuntimeCallbacks(__ATPRERUN__)}function ensureInitRuntime(){runtimeInitialized||(runtimeInitialized=!0,callRuntimeCallbacks(__ATINIT__))}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){callRuntimeCallbacks(__ATEXIT__),runtimeExited=!0}function postRun(){if(Module.postRun)for("function"==typeof Module.postRun&&(Module.postRun=[Module.postRun]);Module.postRun.length;)addOnPostRun(Module.postRun.shift());callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(e){__ATPRERUN__.unshift(e)}function addOnInit(e){__ATINIT__.unshift(e)}function addOnPreMain(e){__ATMAIN__.unshift(e)}function addOnExit(e){__ATEXIT__.unshift(e)}function addOnPostRun(e){__ATPOSTRUN__.unshift(e)}function intArrayFromString(e,t,n){var r=n>0?n:lengthBytesUTF8(e)+1,i=new Array(r),o=stringToUTF8Array(e,i,0,i.length);return t&&(i.length=o),i}function intArrayToString(e){for(var t=[],n=0;n255&&(r&=255),t.push(String.fromCharCode(r))}return t.join("")}function writeStringToMemory(e,t,n){var r,i;Runtime.warnOnce("writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!"),n&&(i=t+lengthBytesUTF8(e),r=HEAP8[i]),stringToUTF8(e,t,1/0),n&&(HEAP8[i]=r)}function writeArrayToMemory(e,t){HEAP8.set(e,t)}function writeAsciiToMemory(e,t,n){for(var r=0;r>0]=e.charCodeAt(r);n||(HEAP8[t>>0]=0)}if(Module.addOnPreRun=addOnPreRun,Module.addOnInit=addOnInit,Module.addOnPreMain=addOnPreMain,Module.addOnExit=addOnExit,Module.addOnPostRun=addOnPostRun,Module.intArrayFromString=intArrayFromString,Module.intArrayToString=intArrayToString,Module.writeStringToMemory=writeStringToMemory,Module.writeArrayToMemory=writeArrayToMemory,Module.writeAsciiToMemory=writeAsciiToMemory,Math.imul&&-5===Math.imul(4294967295,5)||(Math.imul=function(e,t){var n=65535&e,r=65535&t;return n*r+((e>>>16)*r+n*(t>>>16)<<16)|0}),Math.imul=Math.imul,!Math.fround){var froundBuffer=new Float32Array(1);Math.fround=function(e){return froundBuffer[0]=e,froundBuffer[0]}}Math.fround=Math.fround,Math.clz32||(Math.clz32=function(e){e>>>=0;for(var t=0;t<32;t++)if(e&1<<31-t)return t;return 32}),Math.clz32=Math.clz32,Math.trunc||(Math.trunc=function(e){return e<0?Math.ceil(e):Math.floor(e)}),Math.trunc=Math.trunc;var Math_abs=Math.abs,Math_cos=Math.cos,Math_sin=Math.sin,Math_tan=Math.tan,Math_acos=Math.acos,Math_asin=Math.asin,Math_atan=Math.atan,Math_atan2=Math.atan2,Math_exp=Math.exp,Math_log=Math.log,Math_sqrt=Math.sqrt,Math_ceil=Math.ceil,Math_floor=Math.floor,Math_pow=Math.pow,Math_imul=Math.imul,Math_fround=Math.fround,Math_round=Math.round,Math_min=Math.min,Math_clz32=Math.clz32,Math_trunc=Math.trunc,runDependencies=0,runDependencyWatcher=null,dependenciesFulfilled=null;function getUniqueRunDependency(e){return e}function addRunDependency(e){runDependencies++,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies)}function removeRunDependency(e){if(runDependencies--,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies),0==runDependencies&&(null!==runDependencyWatcher&&(clearInterval(runDependencyWatcher),runDependencyWatcher=null),dependenciesFulfilled)){var t=dependenciesFulfilled;dependenciesFulfilled=null,t()}}Module.addRunDependency=addRunDependency,Module.removeRunDependency=removeRunDependency,Module.preloadedImages={},Module.preloadedAudios={};var ASM_CONSTS=[function(e,t,n,r,i,o,a,u){return _nbind.callbackSignatureList[e].apply(this,arguments)}];function _emscripten_asm_const_iiiiiiii(e,t,n,r,i,o,a,u){return ASM_CONSTS[e](t,n,r,i,o,a,u)}function _emscripten_asm_const_iiiii(e,t,n,r,i){return ASM_CONSTS[e](t,n,r,i)}function _emscripten_asm_const_iiidddddd(e,t,n,r,i,o,a,u,s){return ASM_CONSTS[e](t,n,r,i,o,a,u,s)}function _emscripten_asm_const_iiididi(e,t,n,r,i,o,a){return ASM_CONSTS[e](t,n,r,i,o,a)}function _emscripten_asm_const_iiii(e,t,n,r){return ASM_CONSTS[e](t,n,r)}function _emscripten_asm_const_iiiid(e,t,n,r,i){return ASM_CONSTS[e](t,n,r,i)}function _emscripten_asm_const_iiiiii(e,t,n,r,i,o){return ASM_CONSTS[e](t,n,r,i,o)}STATIC_BASE=Runtime.GLOBAL_BASE,STATICTOP=STATIC_BASE+12800,__ATINIT__.push({func:function(){__GLOBAL__sub_I_Yoga_cpp()}},{func:function(){__GLOBAL__sub_I_nbind_cc()}},{func:function(){__GLOBAL__sub_I_common_cc()}},{func:function(){__GLOBAL__sub_I_Binding_cc()}}),allocate([0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,192,127,0,0,192,127,0,0,192,127,0,0,192,127,3,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,3,0,0,0,0,0,192,127,3,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,192,127,0,0,192,127,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,192,127,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,192,127,0,0,192,127,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,0,0,128,191,0,0,128,191,0,0,192,127,0,0,0,0,0,0,0,0,0,0,128,63,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,3,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,190,12,0,0,200,12,0,0,208,12,0,0,216,12,0,0,230,12,0,0,242,12,0,0,1,0,0,0,3,0,0,0,0,0,0,0,2,0,0,0,0,0,192,127,3,0,0,0,180,45,0,0,181,45,0,0,182,45,0,0,181,45,0,0,182,45,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,1,0,0,0,4,0,0,0,183,45,0,0,181,45,0,0,181,45,0,0,181,45,0,0,181,45,0,0,181,45,0,0,181,45,0,0,184,45,0,0,185,45,0,0,181,45,0,0,181,45,0,0,182,45,0,0,186,45,0,0,185,45,0,0,148,4,0,0,3,0,0,0,187,45,0,0,164,4,0,0,188,45,0,0,2,0,0,0,189,45,0,0,164,4,0,0,188,45,0,0,185,45,0,0,164,4,0,0,185,45,0,0,164,4,0,0,188,45,0,0,181,45,0,0,182,45,0,0,181,45,0,0,0,0,0,0,0,0,0,0,1,0,0,0,5,0,0,0,6,0,0,0,1,0,0,0,7,0,0,0,183,45,0,0,182,45,0,0,181,45,0,0,190,45,0,0,190,45,0,0,182,45,0,0,182,45,0,0,185,45,0,0,181,45,0,0,185,45,0,0,182,45,0,0,181,45,0,0,185,45,0,0,182,45,0,0,185,45,0,0,48,5,0,0,3,0,0,0,56,5,0,0,1,0,0,0,189,45,0,0,185,45,0,0,164,4,0,0,76,5,0,0,2,0,0,0,191,45,0,0,186,45,0,0,182,45,0,0,185,45,0,0,192,45,0,0,185,45,0,0,182,45,0,0,186,45,0,0,185,45,0,0,76,5,0,0,76,5,0,0,136,5,0,0,182,45,0,0,181,45,0,0,2,0,0,0,190,45,0,0,136,5,0,0,56,19,0,0,156,5,0,0,2,0,0,0,184,45,0,0,0,0,0,0,0,0,0,0,1,0,0,0,8,0,0,0,9,0,0,0,1,0,0,0,10,0,0,0,204,5,0,0,181,45,0,0,181,45,0,0,2,0,0,0,180,45,0,0,204,5,0,0,2,0,0,0,195,45,0,0,236,5,0,0,97,19,0,0,198,45,0,0,211,45,0,0,212,45,0,0,213,45,0,0,214,45,0,0,215,45,0,0,188,45,0,0,182,45,0,0,216,45,0,0,217,45,0,0,218,45,0,0,219,45,0,0,192,45,0,0,181,45,0,0,0,0,0,0,185,45,0,0,110,19,0,0,186,45,0,0,115,19,0,0,221,45,0,0,120,19,0,0,148,4,0,0,132,19,0,0,96,6,0,0,145,19,0,0,222,45,0,0,164,19,0,0,223,45,0,0,173,19,0,0,0,0,0,0,3,0,0,0,104,6,0,0,1,0,0,0,187,45,0,0,0,0,0,0,0,0,0,0,1,0,0,0,11,0,0,0,12,0,0,0,1,0,0,0,13,0,0,0,185,45,0,0,224,45,0,0,164,6,0,0,188,45,0,0,172,6,0,0,180,6,0,0,2,0,0,0,188,6,0,0,7,0,0,0,224,45,0,0,7,0,0,0,164,6,0,0,1,0,0,0,213,45,0,0,185,45,0,0,224,45,0,0,172,6,0,0,185,45,0,0,224,45,0,0,164,6,0,0,185,45,0,0,224,45,0,0,211,45,0,0,211,45,0,0,222,45,0,0,211,45,0,0,224,45,0,0,222,45,0,0,211,45,0,0,224,45,0,0,172,6,0,0,222,45,0,0,211,45,0,0,224,45,0,0,188,45,0,0,222,45,0,0,211,45,0,0,40,7,0,0,188,45,0,0,2,0,0,0,224,45,0,0,185,45,0,0,188,45,0,0,188,45,0,0,188,45,0,0,188,45,0,0,222,45,0,0,224,45,0,0,148,4,0,0,185,45,0,0,148,4,0,0,148,4,0,0,148,4,0,0,148,4,0,0,148,4,0,0,185,45,0,0,164,6,0,0,148,4,0,0,0,0,0,0,0,0,0,0,1,0,0,0,14,0,0,0,15,0,0,0,1,0,0,0,16,0,0,0,148,7,0,0,2,0,0,0,225,45,0,0,183,45,0,0,188,45,0,0,168,7,0,0,5,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,234,45,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,148,45,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,9,0,0,5,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,2,0,0,0,242,45,0,0,0,4,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,67,111,117,108,100,32,110,111,116,32,97,108,108,111,99,97,116,101,32,109,101,109,111,114,121,32,102,111,114,32,110,111,100,101,0,67,97,110,110,111,116,32,114,101,115,101,116,32,97,32,110,111,100,101,32,119,104,105,99,104,32,115,116,105,108,108,32,104,97,115,32,99,104,105,108,100,114,101,110,32,97,116,116,97,99,104,101,100,0,67,97,110,110,111,116,32,114,101,115,101,116,32,97,32,110,111,100,101,32,115,116,105,108,108,32,97,116,116,97,99,104,101,100,32,116,111,32,97,32,112,97,114,101,110,116,0,67,111,117,108,100,32,110,111,116,32,97,108,108,111,99,97,116,101,32,109,101,109,111,114,121,32,102,111,114,32,99,111,110,102,105,103,0,67,97,110,110,111,116,32,115,101,116,32,109,101,97,115,117,114,101,32,102,117,110,99,116,105,111,110,58,32,78,111,100,101,115,32,119,105,116,104,32,109,101,97,115,117,114,101,32,102,117,110,99,116,105,111,110,115,32,99,97,110,110,111,116,32,104,97,118,101,32,99,104,105,108,100,114,101,110,46,0,67,104,105,108,100,32,97,108,114,101,97,100,121,32,104,97,115,32,97,32,112,97,114,101,110,116,44,32,105,116,32,109,117,115,116,32,98,101,32,114,101,109,111,118,101,100,32,102,105,114,115,116,46,0,67,97,110,110,111,116,32,97,100,100,32,99,104,105,108,100,58,32,78,111,100,101,115,32,119,105,116,104,32,109,101,97,115,117,114,101,32,102,117,110,99,116,105,111,110,115,32,99,97,110,110,111,116,32,104,97,118,101,32,99,104,105,108,100,114,101,110,46,0,79,110,108,121,32,108,101,97,102,32,110,111,100,101,115,32,119,105,116,104,32,99,117,115,116,111,109,32,109,101,97,115,117,114,101,32,102,117,110,99,116,105,111,110,115,115,104,111,117,108,100,32,109,97,110,117,97,108,108,121,32,109,97,114,107,32,116,104,101,109,115,101,108,118,101,115,32,97,115,32,100,105,114,116,121,0,67,97,110,110,111,116,32,103,101,116,32,108,97,121,111,117,116,32,112,114,111,112,101,114,116,105,101,115,32,111,102,32,109,117,108,116,105,45,101,100,103,101,32,115,104,111,114,116,104,97,110,100,115,0,37,115,37,100,46,123,91,115,107,105,112,112,101,100,93,32,0,119,109,58,32,37,115,44,32,104,109,58,32,37,115,44,32,97,119,58,32,37,102,32,97,104,58,32,37,102,32,61,62,32,100,58,32,40,37,102,44,32,37,102,41,32,37,115,10,0,37,115,37,100,46,123,37,115,0,42,0,119,109,58,32,37,115,44,32,104,109,58,32,37,115,44,32,97,119,58,32,37,102,32,97,104,58,32,37,102,32,37,115,10,0,37,115,37,100,46,125,37,115,0,119,109,58,32,37,115,44,32,104,109,58,32,37,115,44,32,100,58,32,40,37,102,44,32,37,102,41,32,37,115,10,0,79,117,116,32,111,102,32,99,97,99,104,101,32,101,110,116,114,105,101,115,33,10,0,83,99,97,108,101,32,102,97,99,116,111,114,32,115,104,111,117,108,100,32,110,111,116,32,98,101,32,108,101,115,115,32,116,104,97,110,32,122,101,114,111,0,105,110,105,116,105,97,108,0,37,115,10,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,85,78,68,69,70,73,78,69,68,0,69,88,65,67,84,76,89,0,65,84,95,77,79,83,84,0,76,65,89,95,85,78,68,69,70,73,78,69,68,0,76,65,89,95,69,88,65,67,84,76,89,0,76,65,89,95,65,84,95,77,79,83,84,0,97,118,97,105,108,97,98,108,101,87,105,100,116,104,32,105,115,32,105,110,100,101,102,105,110,105,116,101,32,115,111,32,119,105,100,116,104,77,101,97,115,117,114,101,77,111,100,101,32,109,117,115,116,32,98,101,32,89,71,77,101,97,115,117,114,101,77,111,100,101,85,110,100,101,102,105,110,101,100,0,97,118,97,105,108,97,98,108,101,72,101,105,103,104,116,32,105,115,32,105,110,100,101,102,105,110,105,116,101,32,115,111,32,104,101,105,103,104,116,77,101,97,115,117,114,101,77,111,100,101,32,109,117,115,116,32,98,101,32,89,71,77,101,97,115,117,114,101,77,111,100,101,85,110,100,101,102,105,110,101,100,0,102,108,101,120,0,115,116,114,101,116,99,104,0,109,117,108,116,105,108,105,110,101,45,115,116,114,101,116,99,104,0,69,120,112,101,99,116,101,100,32,110,111,100,101,32,116,111,32,104,97,118,101,32,99,117,115,116,111,109,32,109,101,97,115,117,114,101,32,102,117,110,99,116,105,111,110,0,109,101,97,115,117,114,101,0,69,120,112,101,99,116,32,99,117,115,116,111,109,32,98,97,115,101,108,105,110,101,32,102,117,110,99,116,105,111,110,32,116,111,32,110,111,116,32,114,101,116,117,114,110,32,78,97,78,0,97,98,115,45,109,101,97,115,117,114,101,0,97,98,115,45,108,97,121,111,117,116,0,78,111,100,101,0,99,114,101,97,116,101,68,101,102,97,117,108,116,0,99,114,101,97,116,101,87,105,116,104,67,111,110,102,105,103,0,100,101,115,116,114,111,121,0,114,101,115,101,116,0,99,111,112,121,83,116,121,108,101,0,115,101,116,80,111,115,105,116,105,111,110,84,121,112,101,0,115,101,116,80,111,115,105,116,105,111,110,0,115,101,116,80,111,115,105,116,105,111,110,80,101,114,99,101,110,116,0,115,101,116,65,108,105,103,110,67,111,110,116,101,110,116,0,115,101,116,65,108,105,103,110,73,116,101,109,115,0,115,101,116,65,108,105,103,110,83,101,108,102,0,115,101,116,70,108,101,120,68,105,114,101,99,116,105,111,110,0,115,101,116,70,108,101,120,87,114,97,112,0,115,101,116,74,117,115,116,105,102,121,67,111,110,116,101,110,116,0,115,101,116,77,97,114,103,105,110,0,115,101,116,77,97,114,103,105,110,80,101,114,99,101,110,116,0,115,101,116,77,97,114,103,105,110,65,117,116,111,0,115,101,116,79,118,101,114,102,108,111,119,0,115,101,116,68,105,115,112,108,97,121,0,115,101,116,70,108,101,120,0,115,101,116,70,108,101,120,66,97,115,105,115,0,115,101,116,70,108,101,120,66,97,115,105,115,80,101,114,99,101,110,116,0,115,101,116,70,108,101,120,71,114,111,119,0,115,101,116,70,108,101,120,83,104,114,105,110,107,0,115,101,116,87,105,100,116,104,0,115,101,116,87,105,100,116,104,80,101,114,99,101,110,116,0,115,101,116,87,105,100,116,104,65,117,116,111,0,115,101,116,72,101,105,103,104,116,0,115,101,116,72,101,105,103,104,116,80,101,114,99,101,110,116,0,115,101,116,72,101,105,103,104,116,65,117,116,111,0,115,101,116,77,105,110,87,105,100,116,104,0,115,101,116,77,105,110,87,105,100,116,104,80,101,114,99,101,110,116,0,115,101,116,77,105,110,72,101,105,103,104,116,0,115,101,116,77,105,110,72,101,105,103,104,116,80,101,114,99,101,110,116,0,115,101,116,77,97,120,87,105,100,116,104,0,115,101,116,77,97,120,87,105,100,116,104,80,101,114,99,101,110,116,0,115,101,116,77,97,120,72,101,105,103,104,116,0,115,101,116,77,97,120,72,101,105,103,104,116,80,101,114,99,101,110,116,0,115,101,116,65,115,112,101,99,116,82,97,116,105,111,0,115,101,116,66,111,114,100,101,114,0,115,101,116,80,97,100,100,105,110,103,0,115,101,116,80,97,100,100,105,110,103,80,101,114,99,101,110,116,0,103,101,116,80,111,115,105,116,105,111,110,84,121,112,101,0,103,101,116,80,111,115,105,116,105,111,110,0,103,101,116,65,108,105,103,110,67,111,110,116,101,110,116,0,103,101,116,65,108,105,103,110,73,116,101,109,115,0,103,101,116,65,108,105,103,110,83,101,108,102,0,103,101,116,70,108,101,120,68,105,114,101,99,116,105,111,110,0,103,101,116,70,108,101,120,87,114,97,112,0,103,101,116,74,117,115,116,105,102,121,67,111,110,116,101,110,116,0,103,101,116,77,97,114,103,105,110,0,103,101,116,70,108,101,120,66,97,115,105,115,0,103,101,116,70,108,101,120,71,114,111,119,0,103,101,116,70,108,101,120,83,104,114,105,110,107,0,103,101,116,87,105,100,116,104,0,103,101,116,72,101,105,103,104,116,0,103,101,116,77,105,110,87,105,100,116,104,0,103,101,116,77,105,110,72,101,105,103,104,116,0,103,101,116,77,97,120,87,105,100,116,104,0,103,101,116,77,97,120,72,101,105,103,104,116,0,103,101,116,65,115,112,101,99,116,82,97,116,105,111,0,103,101,116,66,111,114,100,101,114,0,103,101,116,79,118,101,114,102,108,111,119,0,103,101,116,68,105,115,112,108,97,121,0,103,101,116,80,97,100,100,105,110,103,0,105,110,115,101,114,116,67,104,105,108,100,0,114,101,109,111,118,101,67,104,105,108,100,0,103,101,116,67,104,105,108,100,67,111,117,110,116,0,103,101,116,80,97,114,101,110,116,0,103,101,116,67,104,105,108,100,0,115,101,116,77,101,97,115,117,114,101,70,117,110,99,0,117,110,115,101,116,77,101,97,115,117,114,101,70,117,110,99,0,109,97,114,107,68,105,114,116,121,0,105,115,68,105,114,116,121,0,99,97,108,99,117,108,97,116,101,76,97,121,111,117,116,0,103,101,116,67,111,109,112,117,116,101,100,76,101,102,116,0,103,101,116,67,111,109,112,117,116,101,100,82,105,103,104,116,0,103,101,116,67,111,109,112,117,116,101,100,84,111,112,0,103,101,116,67,111,109,112,117,116,101,100,66,111,116,116,111,109,0,103,101,116,67,111,109,112,117,116,101,100,87,105,100,116,104,0,103,101,116,67,111,109,112,117,116,101,100,72,101,105,103,104,116,0,103,101,116,67,111,109,112,117,116,101,100,76,97,121,111,117,116,0,103,101,116,67,111,109,112,117,116,101,100,77,97,114,103,105,110,0,103,101,116,67,111,109,112,117,116,101,100,66,111,114,100,101,114,0,103,101,116,67,111,109,112,117,116,101,100,80,97,100,100,105,110,103,0,67,111,110,102,105,103,0,99,114,101,97,116,101,0,115,101,116,69,120,112,101,114,105,109,101,110,116,97,108,70,101,97,116,117,114,101,69,110,97,98,108,101,100,0,115,101,116,80,111,105,110,116,83,99,97,108,101,70,97,99,116,111,114,0,105,115,69,120,112,101,114,105,109,101,110,116,97,108,70,101,97,116,117,114,101,69,110,97,98,108,101,100,0,86,97,108,117,101,0,76,97,121,111,117,116,0,83,105,122,101,0,103,101,116,73,110,115,116,97,110,99,101,67,111,117,110,116,0,73,110,116,54,52,0,1,1,1,2,2,4,4,4,4,8,8,4,8,118,111,105,100,0,98,111,111,108,0,115,116,100,58,58,115,116,114,105,110,103,0,99,98,70,117,110,99,116,105,111,110,32,38,0,99,111,110,115,116,32,99,98,70,117,110,99,116,105,111,110,32,38,0,69,120,116,101,114,110,97,108,0,66,117,102,102,101,114,0,78,66,105,110,100,73,68,0,78,66,105,110,100,0,98,105,110,100,95,118,97,108,117,101,0,114,101,102,108,101,99,116,0,113,117,101,114,121,84,121,112,101,0,108,97,108,108,111,99,0,108,114,101,115,101,116,0,123,114,101,116,117,114,110,40,95,110,98,105,110,100,46,99,97,108,108,98,97,99,107,83,105,103,110,97,116,117,114,101,76,105,115,116,91,36,48,93,46,97,112,112,108,121,40,116,104,105,115,44,97,114,103,117,109,101,110,116,115,41,41,59,125,0,95,110,98,105,110,100,95,110,101,119,0,17,0,10,0,17,17,17,0,0,0,0,5,0,0,0,0,0,0,9,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,15,10,17,17,17,3,10,7,0,1,19,9,11,11,0,0,9,6,11,0,0,11,0,6,17,0,0,0,17,17,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,10,10,17,17,17,0,10,0,0,2,0,9,11,0,0,0,9,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,13,0,0,0,4,13,0,0,0,0,9,14,0,0,0,0,0,14,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,15,0,0,0,0,15,0,0,0,0,9,16,0,0,0,0,0,16,0,0,16,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,10,0,0,0,0,9,11,0,0,0,0,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,45,43,32,32,32,48,88,48,120,0,40,110,117,108,108,41,0,45,48,88,43,48,88,32,48,88,45,48,120,43,48,120,32,48,120,0,105,110,102,0,73,78,70,0,110,97,110,0,78,65,78,0,48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,46,0,84,33,34,25,13,1,2,3,17,75,28,12,16,4,11,29,18,30,39,104,110,111,112,113,98,32,5,6,15,19,20,21,26,8,22,7,40,36,23,24,9,10,14,27,31,37,35,131,130,125,38,42,43,60,61,62,63,67,71,74,77,88,89,90,91,92,93,94,95,96,97,99,100,101,102,103,105,106,107,108,114,115,116,121,122,123,124,0,73,108,108,101,103,97,108,32,98,121,116,101,32,115,101,113,117,101,110,99,101,0,68,111,109,97,105,110,32,101,114,114,111,114,0,82,101,115,117,108,116,32,110,111,116,32,114,101,112,114,101,115,101,110,116,97,98,108,101,0,78,111,116,32,97,32,116,116,121,0,80,101,114,109,105,115,115,105,111,110,32,100,101,110,105,101,100,0,79,112,101,114,97,116,105,111,110,32,110,111,116,32,112,101,114,109,105,116,116,101,100,0,78,111,32,115,117,99,104,32,102,105,108,101,32,111,114,32,100,105,114,101,99,116,111,114,121,0,78,111,32,115,117,99,104,32,112,114,111,99,101,115,115,0,70,105,108,101,32,101,120,105,115,116,115,0,86,97,108,117,101,32,116,111,111,32,108,97,114,103,101,32,102,111,114,32,100,97,116,97,32,116,121,112,101,0,78,111,32,115,112,97,99,101,32,108,101,102,116,32,111,110,32,100,101,118,105,99,101,0,79,117,116,32,111,102,32,109,101,109,111,114,121,0,82,101,115,111,117,114,99,101,32,98,117,115,121,0,73,110,116,101,114,114,117,112,116,101,100,32,115,121,115,116,101,109,32,99,97,108,108,0,82,101,115,111,117,114,99,101,32,116,101,109,112,111,114,97,114,105,108,121,32,117,110,97,118,97,105,108,97,98,108,101,0,73,110,118,97,108,105,100,32,115,101,101,107,0,67,114,111,115,115,45,100,101,118,105,99,101,32,108,105,110,107,0,82,101,97,100,45,111,110,108,121,32,102,105,108,101,32,115,121,115,116,101,109,0,68,105,114,101,99,116,111,114,121,32,110,111,116,32,101,109,112,116,121,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,112,101,101,114,0,79,112,101,114,97,116,105,111,110,32,116,105,109,101,100,32,111,117,116,0,67,111,110,110,101,99,116,105,111,110,32,114,101,102,117,115,101,100,0,72,111,115,116,32,105,115,32,100,111,119,110,0,72,111,115,116,32,105,115,32,117,110,114,101,97,99,104,97,98,108,101,0,65,100,100,114,101,115,115,32,105,110,32,117,115,101,0,66,114,111,107,101,110,32,112,105,112,101,0,73,47,79,32,101,114,114,111,114,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,32,111,114,32,97,100,100,114,101,115,115,0,66,108,111,99,107,32,100,101,118,105,99,101,32,114,101,113,117,105,114,101,100,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,0,78,111,116,32,97,32,100,105,114,101,99,116,111,114,121,0,73,115,32,97,32,100,105,114,101,99,116,111,114,121,0,84,101,120,116,32,102,105,108,101,32,98,117,115,121,0,69,120,101,99,32,102,111,114,109,97,116,32,101,114,114,111,114,0,73,110,118,97,108,105,100,32,97,114,103,117,109,101,110,116,0,65,114,103,117,109,101,110,116,32,108,105,115,116,32,116,111,111,32,108,111,110,103,0,83,121,109,98,111,108,105,99,32,108,105,110,107,32,108,111,111,112,0,70,105,108,101,110,97,109,101,32,116,111,111,32,108,111,110,103,0,84,111,111,32,109,97,110,121,32,111,112,101,110,32,102,105,108,101,115,32,105,110,32,115,121,115,116,101,109,0,78,111,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,115,32,97,118,97,105,108,97,98,108,101,0,66,97,100,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,0,78,111,32,99,104,105,108,100,32,112,114,111,99,101,115,115,0,66,97,100,32,97,100,100,114,101,115,115,0,70,105,108,101,32,116,111,111,32,108,97,114,103,101,0,84,111,111,32,109,97,110,121,32,108,105,110,107,115,0,78,111,32,108,111,99,107,115,32,97,118,97,105,108,97,98,108,101,0,82,101,115,111,117,114,99,101,32,100,101,97,100,108,111,99,107,32,119,111,117,108,100,32,111,99,99,117,114,0,83,116,97,116,101,32,110,111,116,32,114,101,99,111,118,101,114,97,98,108,101,0,80,114,101,118,105,111,117,115,32,111,119,110,101,114,32,100,105,101,100,0,79,112,101,114,97,116,105,111,110,32,99,97,110,99,101,108,101,100,0,70,117,110,99,116,105,111,110,32,110,111,116,32,105,109,112,108,101,109,101,110,116,101,100,0,78,111,32,109,101,115,115,97,103,101,32,111,102,32,100,101,115,105,114,101,100,32,116,121,112,101,0,73,100,101,110,116,105,102,105,101,114,32,114,101,109,111,118,101,100,0,68,101,118,105,99,101,32,110,111,116,32,97,32,115,116,114,101,97,109,0,78,111,32,100,97,116,97,32,97,118,97,105,108,97,98,108,101,0,68,101,118,105,99,101,32,116,105,109,101,111,117,116,0,79,117,116,32,111,102,32,115,116,114,101,97,109,115,32,114,101,115,111,117,114,99,101,115,0,76,105,110,107,32,104,97,115,32,98,101,101,110,32,115,101,118,101,114,101,100,0,80,114,111,116,111,99,111,108,32,101,114,114,111,114,0,66,97,100,32,109,101,115,115,97,103,101,0,70,105,108,101,32,100,101,115,99,114,105,112,116,111,114,32,105,110,32,98,97,100,32,115,116,97,116,101,0,78,111,116,32,97,32,115,111,99,107,101,116,0,68,101,115,116,105,110,97,116,105,111,110,32,97,100,100,114,101,115,115,32,114,101,113,117,105,114,101,100,0,77,101,115,115,97,103,101,32,116,111,111,32,108,97,114,103,101,0,80,114,111,116,111,99,111,108,32,119,114,111,110,103,32,116,121,112,101,32,102,111,114,32,115,111,99,107,101,116,0,80,114,111,116,111,99,111,108,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,80,114,111,116,111,99,111,108,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,83,111,99,107,101,116,32,116,121,112,101,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,78,111,116,32,115,117,112,112,111,114,116,101,100,0,80,114,111,116,111,99,111,108,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,65,100,100,114,101,115,115,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,32,98,121,32,112,114,111,116,111,99,111,108,0,65,100,100,114,101,115,115,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,78,101,116,119,111,114,107,32,105,115,32,100,111,119,110,0,78,101,116,119,111,114,107,32,117,110,114,101,97,99,104,97,98,108,101,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,110,101,116,119,111,114,107,0,67,111,110,110,101,99,116,105,111,110,32,97,98,111,114,116,101,100,0,78,111,32,98,117,102,102,101,114,32,115,112,97,99,101,32,97,118,97,105,108,97,98,108,101,0,83,111,99,107,101,116,32,105,115,32,99,111,110,110,101,99,116,101,100,0,83,111,99,107,101,116,32,110,111,116,32,99,111,110,110,101,99,116,101,100,0,67,97,110,110,111,116,32,115,101,110,100,32,97,102,116,101,114,32,115,111,99,107,101,116,32,115,104,117,116,100,111,119,110,0,79,112,101,114,97,116,105,111,110,32,97,108,114,101,97,100,121,32,105,110,32,112,114,111,103,114,101,115,115,0,79,112,101,114,97,116,105,111,110,32,105,110,32,112,114,111,103,114,101,115,115,0,83,116,97,108,101,32,102,105,108,101,32,104,97,110,100,108,101,0,82,101,109,111,116,101,32,73,47,79,32,101,114,114,111,114,0,81,117,111,116,97,32,101,120,99,101,101,100,101,100,0,78,111,32,109,101,100,105,117,109,32,102,111,117,110,100,0,87,114,111,110,103,32,109,101,100,105,117,109,32,116,121,112,101,0,78,111,32,101,114,114,111,114,32,105,110,102,111,114,109,97,116,105,111,110,0,0],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE);var tempDoublePtr=STATICTOP;function _atexit(e,t){__ATEXIT__.unshift({func:e,arg:t})}function ___cxa_atexit(){return _atexit.apply(null,arguments)}function _abort(){Module.abort()}function __ZN8facebook4yoga14YGNodeToStringEPNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEP6YGNode14YGPrintOptionsj(){Module.printErr("missing function: _ZN8facebook4yoga14YGNodeToStringEPNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEP6YGNode14YGPrintOptionsj"),abort(-1)}function __decorate(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function _defineHidden(e){return function(t,n){Object.defineProperty(t,n,{configurable:!1,enumerable:!1,value:e,writable:!0})}}STATICTOP+=16;var _nbind={};function __nbind_free_external(e){_nbind.externalList[e].dereference(e)}function __nbind_reference_external(e){_nbind.externalList[e].reference()}function _llvm_stackrestore(e){var t=_llvm_stacksave,n=t.LLVM_SAVEDSTACKS[e];t.LLVM_SAVEDSTACKS.splice(e,1),Runtime.stackRestore(n)}function __nbind_register_pool(e,t,n,r){_nbind.Pool.pageSize=e,_nbind.Pool.usedPtr=t/4,_nbind.Pool.rootPtr=n,_nbind.Pool.pagePtr=r/4,HEAP32[t/4]=16909060,1==HEAP8[t]&&(_nbind.bigEndian=!0),HEAP32[t/4]=0,_nbind.makeTypeKindTbl=((i={})[1024]=_nbind.PrimitiveType,i[64]=_nbind.Int64Type,i[2048]=_nbind.BindClass,i[3072]=_nbind.BindClassPtr,i[4096]=_nbind.SharedClassPtr,i[5120]=_nbind.ArrayType,i[6144]=_nbind.ArrayType,i[7168]=_nbind.CStringType,i[9216]=_nbind.CallbackType,i[10240]=_nbind.BindType,i),_nbind.makeTypeNameTbl={Buffer:_nbind.BufferType,External:_nbind.ExternalType,Int64:_nbind.Int64Type,_nbind_new:_nbind.CreateValueType,bool:_nbind.BooleanType,"cbFunction &":_nbind.CallbackType,"const cbFunction &":_nbind.CallbackType,"const std::string &":_nbind.StringType,"std::string":_nbind.StringType},Module.toggleLightGC=_nbind.toggleLightGC,_nbind.callUpcast=Module.dynCall_ii;var i,o=_nbind.makeType(_nbind.constructType,{flags:2048,id:0,name:""});o.proto=Module,_nbind.BindClass.list.push(o)}function _emscripten_set_main_loop_timing(e,t){if(Browser.mainLoop.timingMode=e,Browser.mainLoop.timingValue=t,!Browser.mainLoop.func)return 1;if(0==e)Browser.mainLoop.scheduler=function(){var e=0|Math.max(0,Browser.mainLoop.tickStartTime+t-_emscripten_get_now());setTimeout(Browser.mainLoop.runner,e)},Browser.mainLoop.method="timeout";else if(1==e)Browser.mainLoop.scheduler=function(){Browser.requestAnimationFrame(Browser.mainLoop.runner)},Browser.mainLoop.method="rAF";else if(2==e){if(!window.setImmediate){var n=[],r="setimmediate";window.addEventListener("message",function(e){e.source===window&&e.data===r&&(e.stopPropagation(),n.shift()())},!0),window.setImmediate=function(e){n.push(e),ENVIRONMENT_IS_WORKER?(void 0===Module.setImmediates&&(Module.setImmediates=[]),Module.setImmediates.push(e),window.postMessage({target:r})):window.postMessage(r,"*")}}Browser.mainLoop.scheduler=function(){window.setImmediate(Browser.mainLoop.runner)},Browser.mainLoop.method="immediate"}return 0}function _emscripten_get_now(){abort()}function _emscripten_set_main_loop(e,t,n,r,i){var o;Module.noExitRuntime=!0,assert(!Browser.mainLoop.func,"emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters."),Browser.mainLoop.func=e,Browser.mainLoop.arg=r,o=void 0!==r?function(){Module.dynCall_vi(e,r)}:function(){Module.dynCall_v(e)};var a=Browser.mainLoop.currentlyRunningMainloop;if(Browser.mainLoop.runner=function(){if(!ABORT)if(Browser.mainLoop.queue.length>0){var e=Date.now(),t=Browser.mainLoop.queue.shift();if(t.func(t.arg),Browser.mainLoop.remainingBlockers){var n=Browser.mainLoop.remainingBlockers,r=n%1==0?n-1:Math.floor(n);t.counted?Browser.mainLoop.remainingBlockers=r:(r+=.5,Browser.mainLoop.remainingBlockers=(8*n+r)/9)}if(console.log('main loop blocker "'+t.name+'" took '+(Date.now()-e)+" ms"),Browser.mainLoop.updateStatus(),a1&&Browser.mainLoop.currentFrameNumber%Browser.mainLoop.timingValue!=0?Browser.mainLoop.scheduler():(0==Browser.mainLoop.timingMode&&(Browser.mainLoop.tickStartTime=_emscripten_get_now()),"timeout"===Browser.mainLoop.method&&Module.ctx&&(Module.printErr("Looks like you are rendering without using requestAnimationFrame for the main loop. You should use 0 for the frame rate in emscripten_set_main_loop in order to use requestAnimationFrame, as that can greatly improve your frame rates!"),Browser.mainLoop.method=""),Browser.mainLoop.runIter(o),a0?_emscripten_set_main_loop_timing(0,1e3/t):_emscripten_set_main_loop_timing(1,1),Browser.mainLoop.scheduler()),n)throw"SimulateInfiniteLoop"}var Browser={mainLoop:{scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause:function(){Browser.mainLoop.scheduler=null,Browser.mainLoop.currentlyRunningMainloop++},resume:function(){Browser.mainLoop.currentlyRunningMainloop++;var e=Browser.mainLoop.timingMode,t=Browser.mainLoop.timingValue,n=Browser.mainLoop.func;Browser.mainLoop.func=null,_emscripten_set_main_loop(n,0,!1,Browser.mainLoop.arg,!0),_emscripten_set_main_loop_timing(e,t),Browser.mainLoop.scheduler()},updateStatus:function(){if(Module.setStatus){var e=Module.statusMessage||"Please wait...",t=Browser.mainLoop.remainingBlockers,n=Browser.mainLoop.expectedBlockers;t?t=6;){var a=r>>i-6&63;i-=6,n+=t[a]}return 2==i?(n+=t[(3&r)<<4],n+="=="):4==i&&(n+=t[(15&r)<<2],n+="="),n}(e),o(l))},l.src=s,Browser.safeSetTimeout(function(){o(l)},1e4)}};Module.preloadPlugins.push(t);var n=Module.canvas;n&&(n.requestPointerLock=n.requestPointerLock||n.mozRequestPointerLock||n.webkitRequestPointerLock||n.msRequestPointerLock||function(){},n.exitPointerLock=document.exitPointerLock||document.mozExitPointerLock||document.webkitExitPointerLock||document.msExitPointerLock||function(){},n.exitPointerLock=n.exitPointerLock.bind(document),document.addEventListener("pointerlockchange",r,!1),document.addEventListener("mozpointerlockchange",r,!1),document.addEventListener("webkitpointerlockchange",r,!1),document.addEventListener("mspointerlockchange",r,!1),Module.elementPointerLock&&n.addEventListener("click",function(e){!Browser.pointerLock&&Module.canvas.requestPointerLock&&(Module.canvas.requestPointerLock(),e.preventDefault())},!1))}function r(){Browser.pointerLock=document.pointerLockElement===Module.canvas||document.mozPointerLockElement===Module.canvas||document.webkitPointerLockElement===Module.canvas||document.msPointerLockElement===Module.canvas}},createContext:function(e,t,n,r){if(t&&Module.ctx&&e==Module.canvas)return Module.ctx;var i,o;if(t){var a={antialias:!1,alpha:!1};if(r)for(var u in r)a[u]=r[u];(o=GL.createContext(e,a))&&(i=GL.getContext(o).GLctx)}else i=e.getContext("2d");return i?(n&&(t||assert("undefined"==typeof GLctx,"cannot set in module if GLctx is used, but we are a non-GL context that would replace it"),Module.ctx=i,t&&GL.makeContextCurrent(o),Module.useWebGL=t,Browser.moduleContextCreatedCallbacks.forEach(function(e){e()}),Browser.init()),i):null},destroyContext:function(e,t,n){},fullscreenHandlersInstalled:!1,lockPointer:void 0,resizeCanvas:void 0,requestFullscreen:function(e,t,n){Browser.lockPointer=e,Browser.resizeCanvas=t,Browser.vrDevice=n,void 0===Browser.lockPointer&&(Browser.lockPointer=!0),void 0===Browser.resizeCanvas&&(Browser.resizeCanvas=!1),void 0===Browser.vrDevice&&(Browser.vrDevice=null);var r=Module.canvas;function i(){Browser.isFullscreen=!1;var e=r.parentNode;(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===e?(r.exitFullscreen=document.exitFullscreen||document.cancelFullScreen||document.mozCancelFullScreen||document.msExitFullscreen||document.webkitCancelFullScreen||function(){},r.exitFullscreen=r.exitFullscreen.bind(document),Browser.lockPointer&&r.requestPointerLock(),Browser.isFullscreen=!0,Browser.resizeCanvas&&Browser.setFullscreenCanvasSize()):(e.parentNode.insertBefore(r,e),e.parentNode.removeChild(e),Browser.resizeCanvas&&Browser.setWindowedCanvasSize()),Module.onFullScreen&&Module.onFullScreen(Browser.isFullscreen),Module.onFullscreen&&Module.onFullscreen(Browser.isFullscreen),Browser.updateCanvasDimensions(r)}Browser.fullscreenHandlersInstalled||(Browser.fullscreenHandlersInstalled=!0,document.addEventListener("fullscreenchange",i,!1),document.addEventListener("mozfullscreenchange",i,!1),document.addEventListener("webkitfullscreenchange",i,!1),document.addEventListener("MSFullscreenChange",i,!1));var o=document.createElement("div");r.parentNode.insertBefore(o,r),o.appendChild(r),o.requestFullscreen=o.requestFullscreen||o.mozRequestFullScreen||o.msRequestFullscreen||(o.webkitRequestFullscreen?function(){o.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)}:null)||(o.webkitRequestFullScreen?function(){o.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)}:null),n?o.requestFullscreen({vrDisplay:n}):o.requestFullscreen()},requestFullScreen:function(e,t,n){return Module.printErr("Browser.requestFullScreen() is deprecated. Please call Browser.requestFullscreen instead."),Browser.requestFullScreen=function(e,t,n){return Browser.requestFullscreen(e,t,n)},Browser.requestFullscreen(e,t,n)},nextRAF:0,fakeRequestAnimationFrame:function(e){var t=Date.now();if(0===Browser.nextRAF)Browser.nextRAF=t+1e3/60;else for(;t+2>=Browser.nextRAF;)Browser.nextRAF+=1e3/60;var n=Math.max(Browser.nextRAF-t,0);setTimeout(e,n)},requestAnimationFrame:function(e){"undefined"==typeof window?Browser.fakeRequestAnimationFrame(e):(window.requestAnimationFrame||(window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||Browser.fakeRequestAnimationFrame),window.requestAnimationFrame(e))},safeCallback:function(e){return function(){if(!ABORT)return e.apply(null,arguments)}},allowAsyncCallbacks:!0,queuedAsyncCallbacks:[],pauseAsyncCallbacks:function(){Browser.allowAsyncCallbacks=!1},resumeAsyncCallbacks:function(){if(Browser.allowAsyncCallbacks=!0,Browser.queuedAsyncCallbacks.length>0){var e=Browser.queuedAsyncCallbacks;Browser.queuedAsyncCallbacks=[],e.forEach(function(e){e()})}},safeRequestAnimationFrame:function(e){return Browser.requestAnimationFrame(function(){ABORT||(Browser.allowAsyncCallbacks?e():Browser.queuedAsyncCallbacks.push(e))})},safeSetTimeout:function(e,t){return Module.noExitRuntime=!0,setTimeout(function(){ABORT||(Browser.allowAsyncCallbacks?e():Browser.queuedAsyncCallbacks.push(e))},t)},safeSetInterval:function(e,t){return Module.noExitRuntime=!0,setInterval(function(){ABORT||Browser.allowAsyncCallbacks&&e()},t)},getMimetype:function(e){return{jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",bmp:"image/bmp",ogg:"audio/ogg",wav:"audio/wav",mp3:"audio/mpeg"}[e.substr(e.lastIndexOf(".")+1)]},getUserMedia:function(e){window.getUserMedia||(window.getUserMedia=navigator.getUserMedia||navigator.mozGetUserMedia),window.getUserMedia(e)},getMovementX:function(e){return e.movementX||e.mozMovementX||e.webkitMovementX||0},getMovementY:function(e){return e.movementY||e.mozMovementY||e.webkitMovementY||0},getMouseWheelDelta:function(e){var t=0;switch(e.type){case"DOMMouseScroll":t=e.detail;break;case"mousewheel":t=e.wheelDelta;break;case"wheel":t=e.deltaY;break;default:throw"unrecognized mouse wheel event: "+e.type}return t},mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:function(e){if(Browser.pointerLock)"mousemove"!=e.type&&"mozMovementX"in e?Browser.mouseMovementX=Browser.mouseMovementY=0:(Browser.mouseMovementX=Browser.getMovementX(e),Browser.mouseMovementY=Browser.getMovementY(e)),"undefined"!=typeof SDL?(Browser.mouseX=SDL.mouseX+Browser.mouseMovementX,Browser.mouseY=SDL.mouseY+Browser.mouseMovementY):(Browser.mouseX+=Browser.mouseMovementX,Browser.mouseY+=Browser.mouseMovementY);else{var t=Module.canvas.getBoundingClientRect(),n=Module.canvas.width,r=Module.canvas.height,i=void 0!==window.scrollX?window.scrollX:window.pageXOffset,o=void 0!==window.scrollY?window.scrollY:window.pageYOffset;if("touchstart"===e.type||"touchend"===e.type||"touchmove"===e.type){var a=e.touch;if(void 0===a)return;var u=a.pageX-(i+t.left),s=a.pageY-(o+t.top),l={x:u*=n/t.width,y:s*=r/t.height};if("touchstart"===e.type)Browser.lastTouches[a.identifier]=l,Browser.touches[a.identifier]=l;else if("touchend"===e.type||"touchmove"===e.type){var c=Browser.touches[a.identifier];c||(c=l),Browser.lastTouches[a.identifier]=c,Browser.touches[a.identifier]=l}return}var f=e.pageX-(i+t.left),h=e.pageY-(o+t.top);f*=n/t.width,h*=r/t.height,Browser.mouseMovementX=f-Browser.mouseX,Browser.mouseMovementY=h-Browser.mouseY,Browser.mouseX=f,Browser.mouseY=h}},asyncLoad:function(e,t,n,r){var i=r?"":getUniqueRunDependency("al "+e);Module.readAsync(e,function(n){assert(n,'Loading data file "'+e+'" failed (no arrayBuffer).'),t(new Uint8Array(n)),i&&removeRunDependency(i)},function(t){if(!n)throw'Loading data file "'+e+'" failed.';n()}),i&&addRunDependency(i)},resizeListeners:[],updateResizeListeners:function(){var e=Module.canvas;Browser.resizeListeners.forEach(function(t){t(e.width,e.height)})},setCanvasSize:function(e,t,n){var r=Module.canvas;Browser.updateCanvasDimensions(r,e,t),n||Browser.updateResizeListeners()},windowedWidth:0,windowedHeight:0,setFullscreenCanvasSize:function(){if("undefined"!=typeof SDL){var e=HEAPU32[SDL.screen+0*Runtime.QUANTUM_SIZE>>2];e|=8388608,HEAP32[SDL.screen+0*Runtime.QUANTUM_SIZE>>2]=e}Browser.updateResizeListeners()},setWindowedCanvasSize:function(){if("undefined"!=typeof SDL){var e=HEAPU32[SDL.screen+0*Runtime.QUANTUM_SIZE>>2];e&=-8388609,HEAP32[SDL.screen+0*Runtime.QUANTUM_SIZE>>2]=e}Browser.updateResizeListeners()},updateCanvasDimensions:function(e,t,n){t&&n?(e.widthNative=t,e.heightNative=n):(t=e.widthNative,n=e.heightNative);var r=t,i=n;if(Module.forcedAspectRatio&&Module.forcedAspectRatio>0&&(r/i>2]},getStr:function(){return Pointer_stringify(SYSCALLS.get())},get64:function(){var e=SYSCALLS.get(),t=SYSCALLS.get();return assert(e>=0?0===t:-1===t),e},getZero:function(){assert(0===SYSCALLS.get())}};function ___syscall6(e,t){SYSCALLS.varargs=t;try{var n=SYSCALLS.getStreamFromFD();return FS.close(n),0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}function ___syscall54(e,t){SYSCALLS.varargs=t;try{return 0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}function _typeModule(e){var t=[[0,1,"X"],[1,1,"const X"],[128,1,"X *"],[256,1,"X &"],[384,1,"X &&"],[512,1,"std::shared_ptr"],[640,1,"std::unique_ptr"],[5120,1,"std::vector"],[6144,2,"std::array"],[9216,-1,"std::function"]];function n(e,t,n,r,i,o){if(1==t){var a=896&r;128!=a&&256!=a&&384!=a||(e="X const")}return(o?n.replace("X",e).replace("Y",i):e.replace("X",n).replace("Y",i)).replace(/([*&]) (?=[*&])/g,"$1")}function r(e,t){var n=t.flags,r=896&n,i=15360&n;return t.name||1024!=i||(1==t.ptrSize?t.name=(16&n?"":(8&n?"un":"")+"signed ")+"char":t.name=(8&n?"u":"")+(32&n?"float":"int")+8*t.ptrSize+"_t"),8!=t.ptrSize||32&n||(i=64),2048==i&&(512==r||640==r?i=4096:r&&(i=3072)),e(i,t)}var i={Type:function(){function e(e){this.id=e.id,this.name=e.name,this.flags=e.flags,this.spec=e}return e.prototype.toString=function(){return this.name},e}(),getComplexType:function e(i,o,a,u,s,l,c,f){void 0===l&&(l="X"),void 0===f&&(f=1);var h=a(i);if(h)return h;var d,p=u(i),m=p.placeholderFlag,g=t[m];c&&g&&(l=n(c[2],c[0],l,g[0],"?",!0)),0==m&&(d="Unbound"),m>=10&&(d="Corrupt"),f>20&&(d="Deeply nested"),d&&function(e,t,n,r,i){throw new Error(e+" type "+n.replace("X",t+"?")+(r?" with flag "+r:"")+" in "+i)}(d,i,l,m,s||"?");var v,y=e(p.paramList[0],o,a,u,s,l,g,f+1),_={flags:g[0],id:i,name:"",paramList:[y]},b=[],D="?";switch(p.placeholderFlag){case 1:v=y.spec;break;case 2:if(1024==(15360&y.flags)&&1==y.spec.ptrSize){_.flags=7168;break}case 3:case 6:case 5:v=y.spec,y.flags;break;case 8:D=""+p.paramList[1],_.paramList.push(p.paramList[1]);break;case 9:for(var E=0,x=p.paramList[1];E>2]=e),e}function _llvm_stacksave(){var e=_llvm_stacksave;return e.LLVM_SAVEDSTACKS||(e.LLVM_SAVEDSTACKS=[]),e.LLVM_SAVEDSTACKS.push(Runtime.stackSave()),e.LLVM_SAVEDSTACKS.length-1}function ___syscall140(e,t){SYSCALLS.varargs=t;try{var n=SYSCALLS.getStreamFromFD(),r=(SYSCALLS.get(),SYSCALLS.get()),i=SYSCALLS.get(),o=SYSCALLS.get(),a=r;return FS.llseek(n,a,o),HEAP32[i>>2]=n.position,n.getdents&&0===a&&0===o&&(n.getdents=null),0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}function ___syscall146(e,t){SYSCALLS.varargs=t;try{var n=SYSCALLS.get(),r=SYSCALLS.get(),i=SYSCALLS.get(),o=0;___syscall146.buffer||(___syscall146.buffers=[null,[],[]],___syscall146.printChar=function(e,t){var n=___syscall146.buffers[e];assert(n),0===t||10===t?((1===e?Module.print:Module.printErr)(UTF8ArrayToString(n,0)),n.length=0):n.push(t)});for(var a=0;a>2],s=HEAP32[r+(8*a+4)>>2],l=0;le.pageSize/2||t>e.pageSize-n?_nbind.typeNameTbl.NBind.proto.lalloc(t):(HEAPU32[e.usedPtr]=n+t,e.rootPtr+n)},e.lreset=function(t,n){HEAPU32[e.pagePtr]?_nbind.typeNameTbl.NBind.proto.lreset(t,n):HEAPU32[e.usedPtr]=t},e}();function constructType(e,t){var n=new(10240==e?_nbind.makeTypeNameTbl[t.name]||_nbind.BindType:_nbind.makeTypeKindTbl[e])(t);return typeIdTbl[t.id]=n,_nbind.typeNameTbl[t.name]=n,n}function getType(e){return typeIdTbl[e]}function queryType(e){var t=HEAPU8[e],n=_nbind.structureList[t][1];e/=4,n<0&&(n=HEAPU32[++e]+1);var r=Array.prototype.slice.call(HEAPU32.subarray(e+1,e+1+n));return 9==t&&(r=[r[0],r.slice(1)]),{paramList:r,placeholderFlag:t}}function getTypes(e,t){return e.map(function(e){return"number"==typeof e?_nbind.getComplexType(e,constructType,getType,queryType,t):_nbind.typeNameTbl[e]})}function readTypeIdList(e,t){return Array.prototype.slice.call(HEAPU32,e/4,e/4+t)}function readAsciiString(e){for(var t=e;HEAPU8[t++];);return String.fromCharCode.apply("",HEAPU8.subarray(e,t-1))}function readPolicyList(e){var t={};if(e)for(;;){var n=HEAPU32[e/4];if(!n)break;t[readAsciiString(n)]=!0,e+=4}return t}function getDynCall(e,t){var n={float32_t:"d",float64_t:"d",int64_t:"d",uint64_t:"d",void:"v"},r=e.map(function(e){return n[e.name]||"i"}).join(""),i=Module["dynCall_"+r];if(!i)throw new Error("dynCall_"+r+" not found for "+t+"("+e.map(function(e){return e.name}).join(", ")+")");return i}function addMethod(e,t,n,r){var i=e[t];e.hasOwnProperty(t)&&i?((i.arity||0===i.arity)&&(i=_nbind.makeOverloader(i,i.arity),e[t]=i),i.addMethod(n,r)):(n.arity=r,e[t]=n)}function throwError(e){throw new Error(e)}_nbind.Pool=Pool,_nbind.constructType=constructType,_nbind.getType=getType,_nbind.queryType=queryType,_nbind.getTypes=getTypes,_nbind.readTypeIdList=readTypeIdList,_nbind.readAsciiString=readAsciiString,_nbind.readPolicyList=readPolicyList,_nbind.getDynCall=getDynCall,_nbind.addMethod=addMethod,_nbind.throwError=throwError,_nbind.bigEndian=!1,_a=_typeModule(_typeModule),_nbind.Type=_a.Type,_nbind.makeType=_a.makeType,_nbind.getComplexType=_a.getComplexType,_nbind.structureList=_a.structureList;var BindType=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.heap=HEAPU32,t.ptrSize=4,t}return __extends(t,e),t.prototype.needsWireRead=function(e){return!!this.wireRead||!!this.makeWireRead},t.prototype.needsWireWrite=function(e){return!!this.wireWrite||!!this.makeWireWrite},t}(_nbind.Type);_nbind.BindType=BindType;var PrimitiveType=function(e){function t(t){var n=e.call(this,t)||this,r=32&t.flags?{32:HEAPF32,64:HEAPF64}:8&t.flags?{8:HEAPU8,16:HEAPU16,32:HEAPU32}:{8:HEAP8,16:HEAP16,32:HEAP32};return n.heap=r[8*t.ptrSize],n.ptrSize=t.ptrSize,n}return __extends(t,e),t.prototype.needsWireWrite=function(e){return!!e&&!!e.Strict},t.prototype.makeWireWrite=function(e,t){return t&&t.Strict&&function(e){if("number"==typeof e)return e;throw new Error("Type mismatch")}},t}(BindType);function pushCString(e,t){if(null==e){if(t&&t.Nullable)return 0;throw new Error("Type mismatch")}if(t&&t.Strict){if("string"!=typeof e)throw new Error("Type mismatch")}else e=e.toString();var n=Module.lengthBytesUTF8(e)+1,r=_nbind.Pool.lalloc(n);return Module.stringToUTF8Array(e,HEAPU8,r,n),r}function popCString(e){return 0===e?null:Module.Pointer_stringify(e)}_nbind.PrimitiveType=PrimitiveType,_nbind.pushCString=pushCString,_nbind.popCString=popCString;var CStringType=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.wireRead=popCString,t.wireWrite=pushCString,t.readResources=[_nbind.resources.pool],t.writeResources=[_nbind.resources.pool],t}return __extends(t,e),t.prototype.makeWireWrite=function(e,t){return function(e){return pushCString(e,t)}},t}(BindType);_nbind.CStringType=CStringType;var BooleanType=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.wireRead=function(e){return!!e},t}return __extends(t,e),t.prototype.needsWireWrite=function(e){return!!e&&!!e.Strict},t.prototype.makeWireRead=function(e){return"!!("+e+")"},t.prototype.makeWireWrite=function(e,t){return t&&t.Strict&&function(e){if("boolean"==typeof e)return e;throw new Error("Type mismatch")}||e},t}(BindType);_nbind.BooleanType=BooleanType;var Wrapper=function(){function e(){}return e.prototype.persist=function(){this.__nbindState|=1},e}();function makeBound(e,t){var n=function(e){function n(t,r,i,o){var a=e.call(this)||this;if(!(a instanceof n))return new(Function.prototype.bind.apply(n,Array.prototype.concat.apply([null],arguments)));var u=r,s=i,l=o;if(t!==_nbind.ptrMarker){var c=a.__nbindConstructor.apply(a,arguments);u=4608,l=HEAPU32[c/4],s=HEAPU32[c/4+1]}var f={configurable:!0,enumerable:!1,value:null,writable:!1},h={__nbindFlags:u,__nbindPtr:s};l&&(h.__nbindShared=l,_nbind.mark(a));for(var d=0,p=Object.keys(h);d>=1;var n=_nbind.valueList[e];return _nbind.valueList[e]=firstFreeValue,firstFreeValue=e,n}if(t)return _nbind.popShared(e,t);throw new Error("Invalid value slot "+e)}_nbind.pushValue=pushValue,_nbind.popValue=popValue;var valueBase=0x10000000000000000;function push64(e){return"number"==typeof e?e:4096*pushValue(e)+valueBase}function pop64(e){return e=3?Buffer.from(o):new Buffer(o)).copy(r)}else getBuffer(r).set(o)}}_nbind.BufferType=BufferType,_nbind.commitBuffer=commitBuffer;var dirtyList=[],gcTimer=0;function sweep(){for(var e=0,t=dirtyList;e>2]=DYNAMIC_BASE,staticSealed=!0,Module.asmGlobalArg={Math:Math,Int8Array:Int8Array,Int16Array:Int16Array,Int32Array:Int32Array,Uint8Array:Uint8Array,Uint16Array:Uint16Array,Uint32Array:Uint32Array,Float32Array:Float32Array,Float64Array:Float64Array,NaN:NaN,Infinity:1/0},Module.asmLibraryArg={abort:abort,assert:assert,enlargeMemory:enlargeMemory,getTotalMemory:getTotalMemory,abortOnCannotGrowMemory:abortOnCannotGrowMemory,invoke_viiiii:invoke_viiiii,invoke_vif:invoke_vif,invoke_vid:invoke_vid,invoke_fiff:invoke_fiff,invoke_vi:invoke_vi,invoke_vii:invoke_vii,invoke_ii:invoke_ii,invoke_viddi:invoke_viddi,invoke_vidd:invoke_vidd,invoke_iiii:invoke_iiii,invoke_diii:invoke_diii,invoke_di:invoke_di,invoke_iid:invoke_iid,invoke_iii:invoke_iii,invoke_viiddi:invoke_viiddi,invoke_viiiiii:invoke_viiiiii,invoke_dii:invoke_dii,invoke_i:invoke_i,invoke_iiiiii:invoke_iiiiii,invoke_viiid:invoke_viiid,invoke_viififi:invoke_viififi,invoke_viii:invoke_viii,invoke_v:invoke_v,invoke_viid:invoke_viid,invoke_idd:invoke_idd,invoke_viiii:invoke_viiii,_emscripten_asm_const_iiiii:_emscripten_asm_const_iiiii,_emscripten_asm_const_iiidddddd:_emscripten_asm_const_iiidddddd,_emscripten_asm_const_iiiid:_emscripten_asm_const_iiiid,__nbind_reference_external:__nbind_reference_external,_emscripten_asm_const_iiiiiiii:_emscripten_asm_const_iiiiiiii,_removeAccessorPrefix:_removeAccessorPrefix,_typeModule:_typeModule,__nbind_register_pool:__nbind_register_pool,__decorate:__decorate,_llvm_stackrestore:_llvm_stackrestore,___cxa_atexit:___cxa_atexit,__extends:__extends,__nbind_get_value_object:__nbind_get_value_object,__ZN8facebook4yoga14YGNodeToStringEPNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEP6YGNode14YGPrintOptionsj:__ZN8facebook4yoga14YGNodeToStringEPNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEP6YGNode14YGPrintOptionsj,_emscripten_set_main_loop_timing:_emscripten_set_main_loop_timing,__nbind_register_primitive:__nbind_register_primitive,__nbind_register_type:__nbind_register_type,_emscripten_memcpy_big:_emscripten_memcpy_big,__nbind_register_function:__nbind_register_function,___setErrNo:___setErrNo,__nbind_register_class:__nbind_register_class,__nbind_finish:__nbind_finish,_abort:_abort,_nbind_value:_nbind_value,_llvm_stacksave:_llvm_stacksave,___syscall54:___syscall54,_defineHidden:_defineHidden,_emscripten_set_main_loop:_emscripten_set_main_loop,_emscripten_get_now:_emscripten_get_now,__nbind_register_callback_signature:__nbind_register_callback_signature,_emscripten_asm_const_iiiiii:_emscripten_asm_const_iiiiii,__nbind_free_external:__nbind_free_external,_emscripten_asm_const_iiii:_emscripten_asm_const_iiii,_emscripten_asm_const_iiididi:_emscripten_asm_const_iiididi,___syscall6:___syscall6,_atexit:_atexit,___syscall140:___syscall140,___syscall146:___syscall146,DYNAMICTOP_PTR:DYNAMICTOP_PTR,tempDoublePtr:tempDoublePtr,ABORT:ABORT,STACKTOP:STACKTOP,STACK_MAX:STACK_MAX,cttz_i8:cttz_i8,___dso_handle:___dso_handle};var asm=function(e,t,n){"use asm";var r=new e.Int8Array(n);var i=new e.Int16Array(n);var o=new e.Int32Array(n);var a=new e.Uint8Array(n);var u=new e.Uint16Array(n);var s=new e.Uint32Array(n);var l=new e.Float32Array(n);var c=new e.Float64Array(n);var f=t.DYNAMICTOP_PTR|0;var h=t.tempDoublePtr|0;var d=t.ABORT|0;var p=t.STACKTOP|0;var m=t.STACK_MAX|0;var g=t.cttz_i8|0;var v=t.___dso_handle|0;var y=0;var _=0;var b=0;var D=0;var E=e.NaN,x=e.Infinity;var w=0,C=0,k=0,S=0,A=0.0;var T=0;var F=e.Math.floor;var M=e.Math.abs;var O=e.Math.sqrt;var N=e.Math.pow;var P=e.Math.cos;var R=e.Math.sin;var B=e.Math.tan;var I=e.Math.acos;var L=e.Math.asin;var j=e.Math.atan;var U=e.Math.atan2;var z=e.Math.exp;var W=e.Math.log;var X=e.Math.ceil;var H=e.Math.imul;var G=e.Math.min;var J=e.Math.max;var $=e.Math.clz32;var q=e.Math.fround;var V=t.abort;var Y=t.assert;var K=t.enlargeMemory;var Z=t.getTotalMemory;var Q=t.abortOnCannotGrowMemory;var ee=t.invoke_viiiii;var te=t.invoke_vif;var ne=t.invoke_vid;var re=t.invoke_fiff;var ie=t.invoke_vi;var oe=t.invoke_vii;var ae=t.invoke_ii;var ue=t.invoke_viddi;var se=t.invoke_vidd;var le=t.invoke_iiii;var ce=t.invoke_diii;var fe=t.invoke_di;var he=t.invoke_iid;var de=t.invoke_iii;var pe=t.invoke_viiddi;var me=t.invoke_viiiiii;var ge=t.invoke_dii;var ve=t.invoke_i;var ye=t.invoke_iiiiii;var _e=t.invoke_viiid;var be=t.invoke_viififi;var De=t.invoke_viii;var Ee=t.invoke_v;var xe=t.invoke_viid;var we=t.invoke_idd;var Ce=t.invoke_viiii;var ke=t._emscripten_asm_const_iiiii;var Se=t._emscripten_asm_const_iiidddddd;var Ae=t._emscripten_asm_const_iiiid;var Te=t.__nbind_reference_external;var Fe=t._emscripten_asm_const_iiiiiiii;var Me=t._removeAccessorPrefix;var Oe=t._typeModule;var Ne=t.__nbind_register_pool;var Pe=t.__decorate;var Re=t._llvm_stackrestore;var Be=t.___cxa_atexit;var Ie=t.__extends;var Le=t.__nbind_get_value_object;var je=t.__ZN8facebook4yoga14YGNodeToStringEPNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEP6YGNode14YGPrintOptionsj;var Ue=t._emscripten_set_main_loop_timing;var ze=t.__nbind_register_primitive;var We=t.__nbind_register_type;var Xe=t._emscripten_memcpy_big;var He=t.__nbind_register_function;var Ge=t.___setErrNo;var Je=t.__nbind_register_class;var $e=t.__nbind_finish;var qe=t._abort;var Ve=t._nbind_value;var Ye=t._llvm_stacksave;var Ke=t.___syscall54;var Ze=t._defineHidden;var Qe=t._emscripten_set_main_loop;var et=t._emscripten_get_now;var tt=t.__nbind_register_callback_signature;var nt=t._emscripten_asm_const_iiiiii;var rt=t.__nbind_free_external;var it=t._emscripten_asm_const_iiii;var ot=t._emscripten_asm_const_iiididi;var at=t.___syscall6;var ut=t._atexit;var st=t.___syscall140;var lt=t.___syscall146;var ct=q(0);const ft=q(0);function ht(e){e=e|0;var t=0;t=p;p=p+e|0;p=p+15&-16;return t|0}function dt(){return p|0}function pt(e){e=e|0;p=e}function mt(e,t){e=e|0;t=t|0;p=e;m=t}function gt(e,t){e=e|0;t=t|0;if(!y){y=e;_=t}}function vt(e){e=e|0;T=e}function yt(){return T|0}function _t(){var e=0,t=0;iA(8104,8,400)|0;iA(8504,408,540)|0;e=9044;t=e+44|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));r[9088]=0;r[9089]=1;o[2273]=0;o[2274]=948;o[2275]=948;Be(17,8104,v|0)|0;return}function bt(e){e=e|0;Gt(e+948|0);return}function Dt(e){e=q(e);return((Oi(e)|0)&2147483647)>>>0>2139095040|0}function Et(e,t,n){e=e|0;t=t|0;n=n|0;e:do{if(!(o[e+(t<<3)+4>>2]|0)){if((t|2|0)==3?o[e+60>>2]|0:0){e=e+56|0;break}switch(t|0){case 0:case 2:case 4:case 5:{if(o[e+52>>2]|0){e=e+48|0;break e}break}default:{}}if(!(o[e+68>>2]|0)){e=(t|1|0)==5?948:n;break}else{e=e+64|0;break}}else e=e+(t<<3)|0}while(0);return e|0}function xt(e){e=e|0;var t=0;t=Gk(1e3)|0;wt(e,(t|0)!=0,2456);o[2276]=(o[2276]|0)+1;iA(t|0,8104,1e3)|0;if(r[e+2>>0]|0){o[t+4>>2]=2;o[t+12>>2]=4}o[t+976>>2]=e;return t|0}function wt(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0;i=p;p=p+16|0;r=i;if(!t){o[r>>2]=n;Ir(e,5,3197,r)}p=i;return}function Ct(){return xt(956)|0}function kt(e){e=e|0;var t=0;t=$S(1e3)|0;St(t,e);wt(o[e+976>>2]|0,1,2456);o[2276]=(o[2276]|0)+1;o[t+944>>2]=0;return t|0}function St(e,t){e=e|0;t=t|0;var n=0;iA(e|0,t|0,948)|0;Ur(e+948|0,t+948|0);n=e+960|0;e=t+960|0;t=n+40|0;do{o[n>>2]=o[e>>2];n=n+4|0;e=e+4|0}while((n|0)<(t|0));return}function At(e){e=e|0;var t=0,n=0,r=0,i=0;t=e+944|0;n=o[t>>2]|0;if(n|0){Tt(n+948|0,e)|0;o[t>>2]=0}n=Ft(e)|0;if(n|0){t=0;do{o[(Mt(e,t)|0)+944>>2]=0;t=t+1|0}while((t|0)!=(n|0))}n=e+948|0;r=o[n>>2]|0;i=e+952|0;t=o[i>>2]|0;if((t|0)!=(r|0))o[i>>2]=t+(~((t+-4-r|0)>>>2)<<2);Ot(n);Jk(e);o[2276]=(o[2276]|0)+-1;return}function Tt(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0;r=o[e>>2]|0;s=e+4|0;n=o[s>>2]|0;a=n;e:do{if((r|0)==(n|0)){i=r;u=4}else{e=r;while(1){if((o[e>>2]|0)==(t|0)){i=e;u=4;break e}e=e+4|0;if((e|0)==(n|0)){e=0;break}}}}while(0);if((u|0)==4)if((i|0)!=(n|0)){r=i+4|0;e=a-r|0;t=e>>2;if(t){lA(i|0,r|0,e|0)|0;n=o[s>>2]|0}e=i+(t<<2)|0;if((n|0)==(e|0))e=1;else{o[s>>2]=n+(~((n+-4-e|0)>>>2)<<2);e=1}}else e=0;return e|0}function Ft(e){e=e|0;return(o[e+952>>2]|0)-(o[e+948>>2]|0)>>2|0}function Mt(e,t){e=e|0;t=t|0;var n=0;n=o[e+948>>2]|0;if((o[e+952>>2]|0)-n>>2>>>0>t>>>0)e=o[n+(t<<2)>>2]|0;else e=0;return e|0}function Ot(e){e=e|0;var t=0,n=0,r=0,i=0;r=p;p=p+32|0;t=r;i=o[e>>2]|0;n=(o[e+4>>2]|0)-i|0;if(((o[e+8>>2]|0)-i|0)>>>0>n>>>0){i=n>>2;Ni(t,i,i,e+8|0);Pi(e,t);Ri(t)}p=r;return}function Nt(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0;c=Ft(e)|0;do{if(c|0){if((o[(Mt(e,0)|0)+944>>2]|0)==(e|0)){if(!(Tt(e+948|0,t)|0))break;iA(t+400|0,8504,540)|0;o[t+944>>2]=0;Ht(e);break}u=o[(o[e+976>>2]|0)+12>>2]|0;s=e+948|0;l=(u|0)==0;n=0;a=0;do{r=o[(o[s>>2]|0)+(a<<2)>>2]|0;if((r|0)==(t|0))Ht(e);else{i=kt(r)|0;o[(o[s>>2]|0)+(n<<2)>>2]=i;o[i+944>>2]=e;if(!l)RT[u&15](r,i,e,n);n=n+1|0}a=a+1|0}while((a|0)!=(c|0));if(n>>>0>>0){l=e+948|0;s=e+952|0;u=n;n=o[s>>2]|0;do{a=(o[l>>2]|0)+(u<<2)|0;r=a+4|0;i=n-r|0;t=i>>2;if(!t)i=n;else{lA(a|0,r|0,i|0)|0;n=o[s>>2]|0;i=n}r=a+(t<<2)|0;if((i|0)!=(r|0)){n=i+(~((i+-4-r|0)>>>2)<<2)|0;o[s>>2]=n}u=u+1|0}while((u|0)!=(c|0))}}}while(0);return}function Pt(e){e=e|0;var t=0,n=0,i=0,a=0;Rt(e,(Ft(e)|0)==0,2491);Rt(e,(o[e+944>>2]|0)==0,2545);t=e+948|0;n=o[t>>2]|0;i=e+952|0;a=o[i>>2]|0;if((a|0)!=(n|0))o[i>>2]=a+(~((a+-4-n|0)>>>2)<<2);Ot(t);t=e+976|0;n=o[t>>2]|0;iA(e|0,8104,1e3)|0;if(r[n+2>>0]|0){o[e+4>>2]=2;o[e+12>>2]=4}o[t>>2]=n;return}function Rt(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0;i=p;p=p+16|0;r=i;if(!t){o[r>>2]=n;Cr(e,5,3197,r)}p=i;return}function Bt(){return o[2276]|0}function It(){var e=0;e=Gk(20)|0;Lt((e|0)!=0,2592);o[2277]=(o[2277]|0)+1;o[e>>2]=o[239];o[e+4>>2]=o[240];o[e+8>>2]=o[241];o[e+12>>2]=o[242];o[e+16>>2]=o[243];return e|0}function Lt(e,t){e=e|0;t=t|0;var n=0,r=0;r=p;p=p+16|0;n=r;if(!e){o[n>>2]=t;Cr(0,5,3197,n)}p=r;return}function jt(e){e=e|0;Jk(e);o[2277]=(o[2277]|0)+-1;return}function Ut(e,t){e=e|0;t=t|0;var n=0;if(!t){n=0;t=0}else{Rt(e,(Ft(e)|0)==0,2629);n=1}o[e+964>>2]=t;o[e+988>>2]=n;return}function zt(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;a=r+8|0;i=r+4|0;u=r;o[i>>2]=t;Rt(e,(o[t+944>>2]|0)==0,2709);Rt(e,(o[e+964>>2]|0)==0,2763);Wt(e);t=e+948|0;o[u>>2]=(o[t>>2]|0)+(n<<2);o[a>>2]=o[u>>2];Xt(t,a,i)|0;o[(o[i>>2]|0)+944>>2]=e;Ht(e);p=r;return}function Wt(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,u=0,s=0;n=Ft(e)|0;if(n|0?(o[(Mt(e,0)|0)+944>>2]|0)!=(e|0):0){r=o[(o[e+976>>2]|0)+12>>2]|0;i=e+948|0;a=(r|0)==0;t=0;do{u=o[(o[i>>2]|0)+(t<<2)>>2]|0;s=kt(u)|0;o[(o[i>>2]|0)+(t<<2)>>2]=s;o[s+944>>2]=e;if(!a)RT[r&15](u,s,e,t);t=t+1|0}while((t|0)!=(n|0))}return}function Xt(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0,m=0,g=0,v=0,y=0,_=0;y=p;p=p+64|0;h=y+52|0;s=y+48|0;d=y+28|0;m=y+24|0;g=y+20|0;v=y;r=o[e>>2]|0;a=r;t=r+((o[t>>2]|0)-a>>2<<2)|0;r=e+4|0;i=o[r>>2]|0;u=e+8|0;do{if(i>>>0<(o[u>>2]|0)>>>0){if((t|0)==(i|0)){o[t>>2]=o[n>>2];o[r>>2]=(o[r>>2]|0)+4;break}Bi(e,t,i,t+4|0);if(t>>>0<=n>>>0)n=(o[r>>2]|0)>>>0>n>>>0?n+4|0:n;o[t>>2]=o[n>>2]}else{r=(i-a>>2)+1|0;i=Xr(e)|0;if(i>>>0>>0)US(e);f=o[e>>2]|0;c=(o[u>>2]|0)-f|0;a=c>>1;Ni(v,c>>2>>>0>>1>>>0?a>>>0>>0?r:a:i,t-f>>2,e+8|0);f=v+8|0;r=o[f>>2]|0;a=v+12|0;c=o[a>>2]|0;u=c;l=r;do{if((r|0)==(c|0)){c=v+4|0;r=o[c>>2]|0;_=o[v>>2]|0;i=_;if(r>>>0<=_>>>0){r=u-i>>1;r=(r|0)==0?1:r;Ni(d,r,r>>>2,o[v+16>>2]|0);o[m>>2]=o[c>>2];o[g>>2]=o[f>>2];o[s>>2]=o[m>>2];o[h>>2]=o[g>>2];Li(d,s,h);r=o[v>>2]|0;o[v>>2]=o[d>>2];o[d>>2]=r;r=d+4|0;_=o[c>>2]|0;o[c>>2]=o[r>>2];o[r>>2]=_;r=d+8|0;_=o[f>>2]|0;o[f>>2]=o[r>>2];o[r>>2]=_;r=d+12|0;_=o[a>>2]|0;o[a>>2]=o[r>>2];o[r>>2]=_;Ri(d);r=o[f>>2]|0;break}a=r;u=((a-i>>2)+1|0)/-2|0;s=r+(u<<2)|0;i=l-a|0;a=i>>2;if(a){lA(s|0,r|0,i|0)|0;r=o[c>>2]|0}_=s+(a<<2)|0;o[f>>2]=_;o[c>>2]=r+(u<<2);r=_}}while(0);o[r>>2]=o[n>>2];o[f>>2]=(o[f>>2]|0)+4;t=Ii(e,v,t)|0;Ri(v)}}while(0);p=y;return t|0}function Ht(e){e=e|0;var t=0;do{t=e+984|0;if(r[t>>0]|0)break;r[t>>0]=1;l[e+504>>2]=q(E);e=o[e+944>>2]|0}while((e|0)!=0);return}function Gt(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-4-r|0)>>>2)<<2);VS(n)}return}function Jt(e){e=e|0;return o[e+944>>2]|0}function $t(e){e=e|0;Rt(e,(o[e+964>>2]|0)!=0,2832);Ht(e);return}function qt(e){e=e|0;return(r[e+984>>0]|0)!=0|0}function Vt(e,t){e=e|0;t=t|0;if(iS(e,t,400)|0){iA(e|0,t|0,400)|0;Ht(e)}return}function Yt(e){e=e|0;var t=ft;t=q(l[e+44>>2]);e=Dt(t)|0;return q(e?q(0.0):t)}function Kt(e){e=e|0;var t=ft;t=q(l[e+48>>2]);if(Dt(t)|0)t=r[(o[e+976>>2]|0)+2>>0]|0?q(1.0):q(0.0);return q(t)}function Zt(e,t){e=e|0;t=t|0;o[e+980>>2]=t;return}function Qt(e){e=e|0;return o[e+980>>2]|0}function en(e,t){e=e|0;t=t|0;var n=0;n=e+4|0;if((o[n>>2]|0)!=(t|0)){o[n>>2]=t;Ht(e)}return}function tn(e){e=e|0;return o[e+4>>2]|0}function nn(e,t){e=e|0;t=t|0;var n=0;n=e+8|0;if((o[n>>2]|0)!=(t|0)){o[n>>2]=t;Ht(e)}return}function rn(e){e=e|0;return o[e+8>>2]|0}function on(e,t){e=e|0;t=t|0;var n=0;n=e+12|0;if((o[n>>2]|0)!=(t|0)){o[n>>2]=t;Ht(e)}return}function an(e){e=e|0;return o[e+12>>2]|0}function un(e,t){e=e|0;t=t|0;var n=0;n=e+16|0;if((o[n>>2]|0)!=(t|0)){o[n>>2]=t;Ht(e)}return}function sn(e){e=e|0;return o[e+16>>2]|0}function ln(e,t){e=e|0;t=t|0;var n=0;n=e+20|0;if((o[n>>2]|0)!=(t|0)){o[n>>2]=t;Ht(e)}return}function cn(e){e=e|0;return o[e+20>>2]|0}function fn(e,t){e=e|0;t=t|0;var n=0;n=e+24|0;if((o[n>>2]|0)!=(t|0)){o[n>>2]=t;Ht(e)}return}function hn(e){e=e|0;return o[e+24>>2]|0}function dn(e,t){e=e|0;t=t|0;var n=0;n=e+28|0;if((o[n>>2]|0)!=(t|0)){o[n>>2]=t;Ht(e)}return}function pn(e){e=e|0;return o[e+28>>2]|0}function mn(e,t){e=e|0;t=t|0;var n=0;n=e+32|0;if((o[n>>2]|0)!=(t|0)){o[n>>2]=t;Ht(e)}return}function gn(e){e=e|0;return o[e+32>>2]|0}function vn(e,t){e=e|0;t=t|0;var n=0;n=e+36|0;if((o[n>>2]|0)!=(t|0)){o[n>>2]=t;Ht(e)}return}function yn(e){e=e|0;return o[e+36>>2]|0}function _n(e,t){e=e|0;t=q(t);var n=0;n=e+40|0;if(q(l[n>>2])!=t){l[n>>2]=t;Ht(e)}return}function bn(e,t){e=e|0;t=q(t);var n=0;n=e+44|0;if(q(l[n>>2])!=t){l[n>>2]=t;Ht(e)}return}function Dn(e,t){e=e|0;t=q(t);var n=0;n=e+48|0;if(q(l[n>>2])!=t){l[n>>2]=t;Ht(e)}return}function En(e,t){e=e|0;t=q(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=(a^1)&1;r=e+52|0;i=e+56|0;if(!(a|q(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Ht(e)}return}function xn(e,t){e=e|0;t=q(t);var n=0,r=0;r=e+52|0;n=e+56|0;if(!(!(q(l[r>>2])!=t)?(o[n>>2]|0)==2:0)){l[r>>2]=t;r=Dt(t)|0;o[n>>2]=r?3:2;Ht(e)}return}function wn(e,t){e=e|0;t=t|0;var n=0,r=0;r=t+52|0;n=o[r+4>>2]|0;t=e;o[t>>2]=o[r>>2];o[t+4>>2]=n;return}function Cn(e,t,n){e=e|0;t=t|0;n=q(n);var r=0,i=0,a=0;a=Dt(n)|0;r=(a^1)&1;i=e+132+(t<<3)|0;t=e+132+(t<<3)+4|0;if(!(a|q(l[i>>2])==n?(o[t>>2]|0)==(r|0):0)){l[i>>2]=n;o[t>>2]=r;Ht(e)}return}function kn(e,t,n){e=e|0;t=t|0;n=q(n);var r=0,i=0,a=0;a=Dt(n)|0;r=a?0:2;i=e+132+(t<<3)|0;t=e+132+(t<<3)+4|0;if(!(a|q(l[i>>2])==n?(o[t>>2]|0)==(r|0):0)){l[i>>2]=n;o[t>>2]=r;Ht(e)}return}function Sn(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=t+132+(n<<3)|0;t=o[r+4>>2]|0;n=e;o[n>>2]=o[r>>2];o[n+4>>2]=t;return}function An(e,t,n){e=e|0;t=t|0;n=q(n);var r=0,i=0,a=0;a=Dt(n)|0;r=(a^1)&1;i=e+60+(t<<3)|0;t=e+60+(t<<3)+4|0;if(!(a|q(l[i>>2])==n?(o[t>>2]|0)==(r|0):0)){l[i>>2]=n;o[t>>2]=r;Ht(e)}return}function Tn(e,t,n){e=e|0;t=t|0;n=q(n);var r=0,i=0,a=0;a=Dt(n)|0;r=a?0:2;i=e+60+(t<<3)|0;t=e+60+(t<<3)+4|0;if(!(a|q(l[i>>2])==n?(o[t>>2]|0)==(r|0):0)){l[i>>2]=n;o[t>>2]=r;Ht(e)}return}function Fn(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=t+60+(n<<3)|0;t=o[r+4>>2]|0;n=e;o[n>>2]=o[r>>2];o[n+4>>2]=t;return}function Mn(e,t){e=e|0;t=t|0;var n=0;n=e+60+(t<<3)+4|0;if((o[n>>2]|0)!=3){l[e+60+(t<<3)>>2]=q(E);o[n>>2]=3;Ht(e)}return}function On(e,t,n){e=e|0;t=t|0;n=q(n);var r=0,i=0,a=0;a=Dt(n)|0;r=(a^1)&1;i=e+204+(t<<3)|0;t=e+204+(t<<3)+4|0;if(!(a|q(l[i>>2])==n?(o[t>>2]|0)==(r|0):0)){l[i>>2]=n;o[t>>2]=r;Ht(e)}return}function Nn(e,t,n){e=e|0;t=t|0;n=q(n);var r=0,i=0,a=0;a=Dt(n)|0;r=a?0:2;i=e+204+(t<<3)|0;t=e+204+(t<<3)+4|0;if(!(a|q(l[i>>2])==n?(o[t>>2]|0)==(r|0):0)){l[i>>2]=n;o[t>>2]=r;Ht(e)}return}function Pn(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=t+204+(n<<3)|0;t=o[r+4>>2]|0;n=e;o[n>>2]=o[r>>2];o[n+4>>2]=t;return}function Rn(e,t,n){e=e|0;t=t|0;n=q(n);var r=0,i=0,a=0;a=Dt(n)|0;r=(a^1)&1;i=e+276+(t<<3)|0;t=e+276+(t<<3)+4|0;if(!(a|q(l[i>>2])==n?(o[t>>2]|0)==(r|0):0)){l[i>>2]=n;o[t>>2]=r;Ht(e)}return}function Bn(e,t){e=e|0;t=t|0;return q(l[e+276+(t<<3)>>2])}function In(e,t){e=e|0;t=q(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=(a^1)&1;r=e+348|0;i=e+352|0;if(!(a|q(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Ht(e)}return}function Ln(e,t){e=e|0;t=q(t);var n=0,r=0;r=e+348|0;n=e+352|0;if(!(!(q(l[r>>2])!=t)?(o[n>>2]|0)==2:0)){l[r>>2]=t;r=Dt(t)|0;o[n>>2]=r?3:2;Ht(e)}return}function jn(e){e=e|0;var t=0;t=e+352|0;if((o[t>>2]|0)!=3){l[e+348>>2]=q(E);o[t>>2]=3;Ht(e)}return}function Un(e,t){e=e|0;t=t|0;var n=0,r=0;r=t+348|0;n=o[r+4>>2]|0;t=e;o[t>>2]=o[r>>2];o[t+4>>2]=n;return}function zn(e,t){e=e|0;t=q(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=(a^1)&1;r=e+356|0;i=e+360|0;if(!(a|q(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Ht(e)}return}function Wn(e,t){e=e|0;t=q(t);var n=0,r=0;r=e+356|0;n=e+360|0;if(!(!(q(l[r>>2])!=t)?(o[n>>2]|0)==2:0)){l[r>>2]=t;r=Dt(t)|0;o[n>>2]=r?3:2;Ht(e)}return}function Xn(e){e=e|0;var t=0;t=e+360|0;if((o[t>>2]|0)!=3){l[e+356>>2]=q(E);o[t>>2]=3;Ht(e)}return}function Hn(e,t){e=e|0;t=t|0;var n=0,r=0;r=t+356|0;n=o[r+4>>2]|0;t=e;o[t>>2]=o[r>>2];o[t+4>>2]=n;return}function Gn(e,t){e=e|0;t=q(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=(a^1)&1;r=e+364|0;i=e+368|0;if(!(a|q(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Ht(e)}return}function Jn(e,t){e=e|0;t=q(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=a?0:2;r=e+364|0;i=e+368|0;if(!(a|q(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Ht(e)}return}function $n(e,t){e=e|0;t=t|0;var n=0,r=0;r=t+364|0;n=o[r+4>>2]|0;t=e;o[t>>2]=o[r>>2];o[t+4>>2]=n;return}function qn(e,t){e=e|0;t=q(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=(a^1)&1;r=e+372|0;i=e+376|0;if(!(a|q(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Ht(e)}return}function Vn(e,t){e=e|0;t=q(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=a?0:2;r=e+372|0;i=e+376|0;if(!(a|q(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Ht(e)}return}function Yn(e,t){e=e|0;t=t|0;var n=0,r=0;r=t+372|0;n=o[r+4>>2]|0;t=e;o[t>>2]=o[r>>2];o[t+4>>2]=n;return}function Kn(e,t){e=e|0;t=q(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=(a^1)&1;r=e+380|0;i=e+384|0;if(!(a|q(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Ht(e)}return}function Zn(e,t){e=e|0;t=q(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=a?0:2;r=e+380|0;i=e+384|0;if(!(a|q(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Ht(e)}return}function Qn(e,t){e=e|0;t=t|0;var n=0,r=0;r=t+380|0;n=o[r+4>>2]|0;t=e;o[t>>2]=o[r>>2];o[t+4>>2]=n;return}function er(e,t){e=e|0;t=q(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=(a^1)&1;r=e+388|0;i=e+392|0;if(!(a|q(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Ht(e)}return}function tr(e,t){e=e|0;t=q(t);var n=0,r=0,i=0,a=0;a=Dt(t)|0;n=a?0:2;r=e+388|0;i=e+392|0;if(!(a|q(l[r>>2])==t?(o[i>>2]|0)==(n|0):0)){l[r>>2]=t;o[i>>2]=n;Ht(e)}return}function nr(e,t){e=e|0;t=t|0;var n=0,r=0;r=t+388|0;n=o[r+4>>2]|0;t=e;o[t>>2]=o[r>>2];o[t+4>>2]=n;return}function rr(e,t){e=e|0;t=q(t);var n=0;n=e+396|0;if(q(l[n>>2])!=t){l[n>>2]=t;Ht(e)}return}function ir(e){e=e|0;return q(l[e+396>>2])}function or(e){e=e|0;return q(l[e+400>>2])}function ar(e){e=e|0;return q(l[e+404>>2])}function ur(e){e=e|0;return q(l[e+408>>2])}function sr(e){e=e|0;return q(l[e+412>>2])}function lr(e){e=e|0;return q(l[e+416>>2])}function cr(e){e=e|0;return q(l[e+420>>2])}function fr(e,t){e=e|0;t=t|0;Rt(e,(t|0)<6,2918);switch(t|0){case 0:{t=(o[e+496>>2]|0)==2?5:4;break}case 2:{t=(o[e+496>>2]|0)==2?4:5;break}default:{}}return q(l[e+424+(t<<2)>>2])}function hr(e,t){e=e|0;t=t|0;Rt(e,(t|0)<6,2918);switch(t|0){case 0:{t=(o[e+496>>2]|0)==2?5:4;break}case 2:{t=(o[e+496>>2]|0)==2?4:5;break}default:{}}return q(l[e+448+(t<<2)>>2])}function dr(e,t){e=e|0;t=t|0;Rt(e,(t|0)<6,2918);switch(t|0){case 0:{t=(o[e+496>>2]|0)==2?5:4;break}case 2:{t=(o[e+496>>2]|0)==2?4:5;break}default:{}}return q(l[e+472+(t<<2)>>2])}function pr(e,t){e=e|0;t=t|0;var n=0,r=ft;n=o[e+4>>2]|0;if((n|0)==(o[t+4>>2]|0)){if(!n)e=1;else{r=q(l[e>>2]);e=q(M(q(r-q(l[t>>2]))))>2]=0;o[i+4>>2]=0;o[i+8>>2]=0;je(i|0,e|0,t|0,0);Cr(e,3,(r[i+11>>0]|0)<0?o[i>>2]|0:i,n);YS(i);p=n;return}function yr(e,t,n,r){e=q(e);t=q(t);n=n|0;r=r|0;var i=ft;e=q(e*t);i=q(IS(e,q(1.0)));do{if(!(mr(i,q(0.0))|0)){e=q(e-i);if(mr(i,q(1.0))|0){e=q(e+q(1.0));break}if(n){e=q(e+q(1.0));break}if(!r){if(i>q(.5))i=q(1.0);else{r=mr(i,q(.5))|0;i=r?q(1.0):q(0.0)}e=q(e+i)}}else e=q(e-i)}while(0);return q(e/t)}function _r(e,t,n,r,i,o,a,u,s,c,f,h,d){e=e|0;t=q(t);n=n|0;r=q(r);i=i|0;o=q(o);a=a|0;u=q(u);s=q(s);c=q(c);f=q(f);h=q(h);d=d|0;var p=0,m=ft,g=ft,v=ft,y=ft,_=ft,b=ft;if(s>2]),m!=q(0.0)):0){v=q(yr(t,m,0,0));y=q(yr(r,m,0,0));g=q(yr(o,m,0,0));m=q(yr(u,m,0,0))}else{g=o;v=t;m=u;y=r}if((i|0)==(e|0))p=mr(g,v)|0;else p=0;if((a|0)==(n|0))d=mr(m,y)|0;else d=0;if((!p?(_=q(t-f),!(br(e,_,s)|0)):0)?!(Dr(e,_,i,s)|0):0)p=Er(e,_,i,o,s)|0;else p=1;if((!d?(b=q(r-h),!(br(n,b,c)|0)):0)?!(Dr(n,b,a,c)|0):0)d=Er(n,b,a,u,c)|0;else d=1;d=p&d}return d|0}function br(e,t,n){e=e|0;t=q(t);n=q(n);if((e|0)==1)e=mr(t,n)|0;else e=0;return e|0}function Dr(e,t,n,r){e=e|0;t=q(t);n=n|0;r=q(r);if((e|0)==2&(n|0)==0){if(!(t>=r))e=mr(t,r)|0;else e=1}else e=0;return e|0}function Er(e,t,n,r,i){e=e|0;t=q(t);n=n|0;r=q(r);i=q(i);if((e|0)==2&(n|0)==2&r>t){if(!(i<=t))e=mr(t,i)|0;else e=1}else e=0;return e|0}function xr(e,t,n,i,a,u,s,f,h,d,m){e=e|0;t=q(t);n=q(n);i=i|0;a=a|0;u=u|0;s=q(s);f=q(f);h=h|0;d=d|0;m=m|0;var g=0,v=0,y=0,_=0,b=ft,D=ft,E=0,x=0,w=0,C=0,k=0,S=0,A=0,T=0,F=0,M=0,O=0,N=ft,P=ft,R=ft,B=0.0,I=0.0;O=p;p=p+160|0;T=O+152|0;A=O+120|0;S=O+104|0;w=O+72|0;_=O+56|0;k=O+8|0;x=O;C=(o[2279]|0)+1|0;o[2279]=C;F=e+984|0;if((r[F>>0]|0)!=0?(o[e+512>>2]|0)!=(o[2278]|0):0)E=4;else if((o[e+516>>2]|0)==(i|0))M=0;else E=4;if((E|0)==4){o[e+520>>2]=0;o[e+924>>2]=-1;o[e+928>>2]=-1;l[e+932>>2]=q(-1.0);l[e+936>>2]=q(-1.0);M=1}e:do{if(!(o[e+964>>2]|0)){if(h){g=e+916|0;if(!(mr(q(l[g>>2]),t)|0)){E=21;break}if(!(mr(q(l[e+920>>2]),n)|0)){E=21;break}if((o[e+924>>2]|0)!=(a|0)){E=21;break}g=(o[e+928>>2]|0)==(u|0)?g:0;E=22;break}y=o[e+520>>2]|0;if(!y)E=21;else{v=0;while(1){g=e+524+(v*24|0)|0;if(((mr(q(l[g>>2]),t)|0?mr(q(l[e+524+(v*24|0)+4>>2]),n)|0:0)?(o[e+524+(v*24|0)+8>>2]|0)==(a|0):0)?(o[e+524+(v*24|0)+12>>2]|0)==(u|0):0){E=22;break e}v=v+1|0;if(v>>>0>=y>>>0){E=21;break}}}}else{b=q(wr(e,2,s));D=q(wr(e,0,s));g=e+916|0;R=q(l[g>>2]);P=q(l[e+920>>2]);N=q(l[e+932>>2]);if(!(_r(a,t,u,n,o[e+924>>2]|0,R,o[e+928>>2]|0,P,N,q(l[e+936>>2]),b,D,m)|0)){y=o[e+520>>2]|0;if(!y)E=21;else{v=0;while(1){g=e+524+(v*24|0)|0;N=q(l[g>>2]);P=q(l[e+524+(v*24|0)+4>>2]);R=q(l[e+524+(v*24|0)+16>>2]);if(_r(a,t,u,n,o[e+524+(v*24|0)+8>>2]|0,N,o[e+524+(v*24|0)+12>>2]|0,P,R,q(l[e+524+(v*24|0)+20>>2]),b,D,m)|0){E=22;break e}v=v+1|0;if(v>>>0>=y>>>0){E=21;break}}}}else E=22}}while(0);do{if((E|0)==21){if(!(r[11697]|0)){g=0;E=31}else{g=0;E=28}}else if((E|0)==22){v=(r[11697]|0)!=0;if(!((g|0)!=0&(M^1)))if(v){E=28;break}else{E=31;break}_=g+16|0;o[e+908>>2]=o[_>>2];y=g+20|0;o[e+912>>2]=o[y>>2];if(!((r[11698]|0)==0|v^1)){o[x>>2]=kr(C)|0;o[x+4>>2]=C;Cr(e,4,2972,x);v=o[e+972>>2]|0;if(v|0)pT[v&127](e);a=Sr(a,h)|0;u=Sr(u,h)|0;I=+q(l[_>>2]);B=+q(l[y>>2]);o[k>>2]=a;o[k+4>>2]=u;c[k+8>>3]=+t;c[k+16>>3]=+n;c[k+24>>3]=I;c[k+32>>3]=B;o[k+40>>2]=d;Cr(e,4,2989,k)}}}while(0);if((E|0)==28){v=kr(C)|0;o[_>>2]=v;o[_+4>>2]=C;o[_+8>>2]=M?3047:11699;Cr(e,4,3038,_);v=o[e+972>>2]|0;if(v|0)pT[v&127](e);k=Sr(a,h)|0;E=Sr(u,h)|0;o[w>>2]=k;o[w+4>>2]=E;c[w+8>>3]=+t;c[w+16>>3]=+n;o[w+24>>2]=d;Cr(e,4,3049,w);E=31}if((E|0)==31){Ar(e,t,n,i,a,u,s,f,h,m);if(r[11697]|0){v=o[2279]|0;k=kr(v)|0;o[S>>2]=k;o[S+4>>2]=v;o[S+8>>2]=M?3047:11699;Cr(e,4,3083,S);v=o[e+972>>2]|0;if(v|0)pT[v&127](e);k=Sr(a,h)|0;S=Sr(u,h)|0;B=+q(l[e+908>>2]);I=+q(l[e+912>>2]);o[A>>2]=k;o[A+4>>2]=S;c[A+8>>3]=B;c[A+16>>3]=I;o[A+24>>2]=d;Cr(e,4,3092,A)}o[e+516>>2]=i;if(!g){v=e+520|0;g=o[v>>2]|0;if((g|0)==16){if(r[11697]|0)Cr(e,4,3124,T);o[v>>2]=0;g=0}if(h)g=e+916|0;else{o[v>>2]=g+1;g=e+524+(g*24|0)|0}l[g>>2]=t;l[g+4>>2]=n;o[g+8>>2]=a;o[g+12>>2]=u;o[g+16>>2]=o[e+908>>2];o[g+20>>2]=o[e+912>>2];g=0}}if(h){o[e+416>>2]=o[e+908>>2];o[e+420>>2]=o[e+912>>2];r[e+985>>0]=1;r[F>>0]=0}o[2279]=(o[2279]|0)+-1;o[e+512>>2]=o[2278];p=O;return M|(g|0)==0|0}function wr(e,t,n){e=e|0;t=t|0;n=q(n);var r=ft;r=q(Hr(e,t,n));return q(r+q(Gr(e,t,n)))}function Cr(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=p;p=p+16|0;i=a;o[i>>2]=r;if(!e)r=0;else r=o[e+976>>2]|0;Lr(r,e,t,n,i);p=a;return}function kr(e){e=e|0;return(e>>>0>60?3201:3201+(60-e)|0)|0}function Sr(e,t){e=e|0;t=t|0;var n=0,r=0,i=0;i=p;p=p+32|0;n=i+12|0;r=i;o[n>>2]=o[254];o[n+4>>2]=o[255];o[n+8>>2]=o[256];o[r>>2]=o[257];o[r+4>>2]=o[258];o[r+8>>2]=o[259];if((e|0)>2)e=11699;else e=o[(t?r:n)+(e<<2)>>2]|0;p=i;return e|0}function Ar(e,t,n,i,u,s,c,f,d,m){e=e|0;t=q(t);n=q(n);i=i|0;u=u|0;s=s|0;c=q(c);f=q(f);d=d|0;m=m|0;var g=0,v=0,y=0,_=0,b=ft,D=ft,E=ft,x=ft,w=ft,C=ft,k=ft,S=0,A=0,T=0,F=ft,M=ft,O=0,N=ft,P=0,R=0,B=0,I=0,L=0,j=0,U=0,z=0,W=0,X=0,H=0,G=0,J=0,$=0,V=0,Y=0,K=0,Z=0,Q=ft,ee=ft,te=ft,ne=ft,re=ft,ie=0,oe=0,ae=0,ue=0,se=0,le=ft,ce=ft,fe=ft,he=ft,de=ft,pe=ft,me=0,ge=ft,ve=ft,ye=ft,_e=ft,be=ft,De=ft,Ee=0,xe=0,we=ft,Ce=ft,ke=0,Se=0,Ae=0,Te=0,Fe=ft,Me=0,Oe=0,Ne=0,Pe=0,Re=0,Be=0,Ie=0,Le=ft,je=0,Ue=0;Ie=p;p=p+16|0;ie=Ie+12|0;oe=Ie+8|0;ae=Ie+4|0;ue=Ie;Rt(e,(u|0)==0|(Dt(t)|0)^1,3326);Rt(e,(s|0)==0|(Dt(n)|0)^1,3406);Oe=qr(e,i)|0;o[e+496>>2]=Oe;Re=Vr(2,Oe)|0;Be=Vr(0,Oe)|0;l[e+440>>2]=q(Hr(e,Re,c));l[e+444>>2]=q(Gr(e,Re,c));l[e+428>>2]=q(Hr(e,Be,c));l[e+436>>2]=q(Gr(e,Be,c));l[e+464>>2]=q(Yr(e,Re));l[e+468>>2]=q(Kr(e,Re));l[e+452>>2]=q(Yr(e,Be));l[e+460>>2]=q(Kr(e,Be));l[e+488>>2]=q(Zr(e,Re,c));l[e+492>>2]=q(Qr(e,Re,c));l[e+476>>2]=q(Zr(e,Be,c));l[e+484>>2]=q(Qr(e,Be,c));do{if(!(o[e+964>>2]|0)){Ne=e+948|0;Pe=(o[e+952>>2]|0)-(o[Ne>>2]|0)>>2;if(!Pe){ti(e,t,n,u,s,c,f);break}if(!d?ni(e,t,n,u,s,c,f)|0:0)break;Wt(e);Y=e+508|0;r[Y>>0]=0;Re=Vr(o[e+4>>2]|0,Oe)|0;Be=ri(Re,Oe)|0;Me=Jr(Re)|0;K=o[e+8>>2]|0;Se=e+28|0;Z=(o[Se>>2]|0)!=0;be=Me?c:f;we=Me?f:c;Q=q(ii(e,Re,c));ee=q(oi(e,Re,c));b=q(ii(e,Be,c));De=q(ai(e,Re,c));Ce=q(ai(e,Be,c));T=Me?u:s;ke=Me?s:u;Fe=Me?De:Ce;w=Me?Ce:De;_e=q(wr(e,2,c));x=q(wr(e,0,c));D=q(q(Nr(e+364|0,c))-Fe);E=q(q(Nr(e+380|0,c))-Fe);C=q(q(Nr(e+372|0,f))-w);k=q(q(Nr(e+388|0,f))-w);te=Me?D:C;ne=Me?E:k;_e=q(t-_e);t=q(_e-Fe);if(Dt(t)|0)Fe=t;else Fe=q(NS(q(RS(t,E)),D));ve=q(n-x);t=q(ve-w);if(Dt(t)|0)ye=t;else ye=q(NS(q(RS(t,k)),C));D=Me?Fe:ye;ge=Me?ye:Fe;e:do{if((T|0)==1){i=0;v=0;while(1){g=Mt(e,v)|0;if(!i){if(q(si(g))>q(0.0)?q(li(g))>q(0.0):0)i=g;else i=0}else if(ui(g)|0){_=0;break e}v=v+1|0;if(v>>>0>=Pe>>>0){_=i;break}}}else _=0}while(0);S=_+500|0;A=_+504|0;i=0;g=0;t=q(0.0);y=0;do{v=o[(o[Ne>>2]|0)+(y<<2)>>2]|0;if((o[v+36>>2]|0)==1){ci(v);r[v+985>>0]=1;r[v+984>>0]=0}else{Mr(v);if(d)Pr(v,qr(v,Oe)|0,D,ge,Fe);do{if((o[v+24>>2]|0)!=1){if((v|0)==(_|0)){o[S>>2]=o[2278];l[A>>2]=q(0.0);break}else{fi(e,v,Fe,u,ye,Fe,ye,s,Oe,m);break}}else{if(g|0)o[g+960>>2]=v;o[v+960>>2]=0;g=v;i=(i|0)==0?v:i}}while(0);pe=q(l[v+504>>2]);t=q(t+q(pe+q(wr(v,Re,Fe))))}y=y+1|0}while((y|0)!=(Pe|0));B=t>D;me=Z&((T|0)==2&B)?1:T;P=(ke|0)==1;L=P&(d^1);j=(me|0)==1;U=(me|0)==2;z=976+(Re<<2)|0;W=(ke|2|0)==2;$=P&(Z^1);X=1040+(Be<<2)|0;H=1040+(Re<<2)|0;G=976+(Be<<2)|0;J=(ke|0)!=1;B=Z&((T|0)!=0&B);R=e+976|0;P=P^1;t=D;O=0;I=0;pe=q(0.0);re=q(0.0);while(1){e:do{if(O>>>0>>0){A=o[Ne>>2]|0;y=0;k=q(0.0);C=q(0.0);E=q(0.0);D=q(0.0);v=0;g=0;_=O;while(1){S=o[A+(_<<2)>>2]|0;if((o[S+36>>2]|0)!=1?(o[S+940>>2]=I,(o[S+24>>2]|0)!=1):0){x=q(wr(S,Re,Fe));V=o[z>>2]|0;n=q(Nr(S+380+(V<<3)|0,be));w=q(l[S+504>>2]);n=q(RS(n,w));n=q(NS(q(Nr(S+364+(V<<3)|0,be)),n));if(Z&(y|0)!=0&q(x+q(C+n))>t){s=y;x=k;T=_;break e}x=q(x+n);n=q(C+x);x=q(k+x);if(ui(S)|0){E=q(E+q(si(S)));D=q(D-q(w*q(li(S))))}if(g|0)o[g+960>>2]=S;o[S+960>>2]=0;y=y+1|0;g=S;v=(v|0)==0?S:v}else{x=k;n=C}_=_+1|0;if(_>>>0>>0){k=x;C=n}else{s=y;T=_;break}}}else{s=0;x=q(0.0);E=q(0.0);D=q(0.0);v=0;T=O}}while(0);V=E>q(0.0)&Eq(0.0)&Dne&((Dt(ne)|0)^1))){if(!(r[(o[R>>2]|0)+3>>0]|0)){if(!(F==q(0.0))?!(q(si(e))==q(0.0)):0){V=53;break}t=x;V=53}else V=51}else{t=ne;V=51}}else{t=te;V=51}}else V=51}while(0);if((V|0)==51){V=0;if(Dt(t)|0)V=53;else{M=q(t-x);N=t}}if((V|0)==53){V=0;if(x>2]|0;_=Mq(0.0);C=q(M/F);E=q(0.0);x=q(0.0);t=q(0.0);g=v;do{n=q(Nr(g+380+(y<<3)|0,be));D=q(Nr(g+364+(y<<3)|0,be));D=q(RS(n,q(NS(D,q(l[g+504>>2])))));if(_){n=q(D*q(li(g)));if(n!=q(-0.0)?(Le=q(D-q(w*n)),le=q(hi(g,Re,Le,N,Fe)),Le!=le):0){E=q(E-q(le-D));t=q(t+n)}}else if((S?(ce=q(si(g)),ce!=q(0.0)):0)?(Le=q(D+q(C*ce)),fe=q(hi(g,Re,Le,N,Fe)),Le!=fe):0){E=q(E-q(fe-D));x=q(x-ce)}g=o[g+960>>2]|0}while((g|0)!=0);t=q(k+t);D=q(M+E);if(!se){w=q(F+x);_=o[z>>2]|0;S=Dq(0.0);w=q(D/w);t=q(0.0);do{Le=q(Nr(v+380+(_<<3)|0,be));E=q(Nr(v+364+(_<<3)|0,be));E=q(RS(Le,q(NS(E,q(l[v+504>>2])))));if(S){Le=q(E*q(li(v)));D=q(-Le);if(Le!=q(-0.0)){Le=q(C*D);D=q(hi(v,Re,q(E+(A?D:Le)),N,Fe))}else D=E}else if(y?(he=q(si(v)),he!=q(0.0)):0)D=q(hi(v,Re,q(E+q(w*he)),N,Fe));else D=E;t=q(t-q(D-E));x=q(wr(v,Re,Fe));n=q(wr(v,Be,Fe));D=q(D+x);l[oe>>2]=D;o[ue>>2]=1;E=q(l[v+396>>2]);e:do{if(Dt(E)|0){g=Dt(ge)|0;do{if(!g){if(B|(Or(v,Be,ge)|0|P))break;if((di(e,v)|0)!=4)break;if((o[(pi(v,Be)|0)+4>>2]|0)==3)break;if((o[(mi(v,Be)|0)+4>>2]|0)==3)break;l[ie>>2]=ge;o[ae>>2]=1;break e}}while(0);if(Or(v,Be,ge)|0){g=o[v+992+(o[G>>2]<<2)>>2]|0;Le=q(n+q(Nr(g,ge)));l[ie>>2]=Le;g=J&(o[g+4>>2]|0)==2;o[ae>>2]=((Dt(Le)|0|g)^1)&1;break}else{l[ie>>2]=ge;o[ae>>2]=g?0:2;break}}else{Le=q(D-x);F=q(Le/E);Le=q(E*Le);o[ae>>2]=1;l[ie>>2]=q(n+(Me?F:Le))}}while(0);gi(v,Re,N,Fe,ue,oe);gi(v,Be,ge,Fe,ae,ie);do{if(!(Or(v,Be,ge)|0)?(di(e,v)|0)==4:0){if((o[(pi(v,Be)|0)+4>>2]|0)==3){g=0;break}g=(o[(mi(v,Be)|0)+4>>2]|0)!=3}else g=0}while(0);Le=q(l[oe>>2]);F=q(l[ie>>2]);je=o[ue>>2]|0;Ue=o[ae>>2]|0;xr(v,Me?Le:F,Me?F:Le,Oe,Me?je:Ue,Me?Ue:je,Fe,ye,d&(g^1),3488,m)|0;r[Y>>0]=r[Y>>0]|r[v+508>>0];v=o[v+960>>2]|0}while((v|0)!=0)}else t=q(0.0)}else t=q(0.0);t=q(M+t);Ue=t>0]=Ue|a[Y>>0];if(U&t>q(0.0)){g=o[z>>2]|0;if((o[e+364+(g<<3)+4>>2]|0)!=0?(de=q(Nr(e+364+(g<<3)|0,be)),de>=q(0.0)):0)D=q(NS(q(0.0),q(de-q(N-t))));else D=q(0.0)}else D=t;S=O>>>0>>0;if(S){_=o[Ne>>2]|0;y=O;g=0;do{v=o[_+(y<<2)>>2]|0;if(!(o[v+24>>2]|0)){g=((o[(pi(v,Re)|0)+4>>2]|0)==3&1)+g|0;g=g+((o[(mi(v,Re)|0)+4>>2]|0)==3&1)|0}y=y+1|0}while((y|0)!=(T|0));if(g){x=q(0.0);n=q(0.0)}else V=101}else V=101;e:do{if((V|0)==101){V=0;switch(K|0){case 1:{g=0;x=q(D*q(.5));n=q(0.0);break e}case 2:{g=0;x=D;n=q(0.0);break e}case 3:{if(s>>>0<=1){g=0;x=q(0.0);n=q(0.0);break e}n=q((s+-1|0)>>>0);g=0;x=q(0.0);n=q(q(NS(D,q(0.0)))/n);break e}case 5:{n=q(D/q((s+1|0)>>>0));g=0;x=n;break e}case 4:{n=q(D/q(s>>>0));g=0;x=q(n*q(.5));break e}default:{g=0;x=q(0.0);n=q(0.0);break e}}}}while(0);t=q(Q+x);if(S){E=q(D/q(g|0));y=o[Ne>>2]|0;v=O;D=q(0.0);do{g=o[y+(v<<2)>>2]|0;e:do{if((o[g+36>>2]|0)!=1){switch(o[g+24>>2]|0){case 1:{if(vi(g,Re)|0){if(!d)break e;Le=q(yi(g,Re,N));Le=q(Le+q(Yr(e,Re)));Le=q(Le+q(Hr(g,Re,Fe)));l[g+400+(o[H>>2]<<2)>>2]=Le;break e}break}case 0:{Ue=(o[(pi(g,Re)|0)+4>>2]|0)==3;Le=q(E+t);t=Ue?Le:t;if(d){Ue=g+400+(o[H>>2]<<2)|0;l[Ue>>2]=q(t+q(l[Ue>>2]))}Ue=(o[(mi(g,Re)|0)+4>>2]|0)==3;Le=q(E+t);t=Ue?Le:t;if(L){Le=q(n+q(wr(g,Re,Fe)));D=ge;t=q(t+q(Le+q(l[g+504>>2])));break e}else{t=q(t+q(n+q(_i(g,Re,Fe))));D=q(NS(D,q(_i(g,Be,Fe))));break e}}default:{}}if(d){Le=q(x+q(Yr(e,Re)));Ue=g+400+(o[H>>2]<<2)|0;l[Ue>>2]=q(Le+q(l[Ue>>2]))}}}while(0);v=v+1|0}while((v|0)!=(T|0))}else D=q(0.0);n=q(ee+t);if(W)x=q(q(hi(e,Be,q(Ce+D),we,c))-Ce);else x=ge;E=q(q(hi(e,Be,q(Ce+($?ge:D)),we,c))-Ce);if(S&d){v=O;do{y=o[(o[Ne>>2]|0)+(v<<2)>>2]|0;do{if((o[y+36>>2]|0)!=1){if((o[y+24>>2]|0)==1){if(vi(y,Be)|0){Le=q(yi(y,Be,ge));Le=q(Le+q(Yr(e,Be)));Le=q(Le+q(Hr(y,Be,Fe)));g=o[X>>2]|0;l[y+400+(g<<2)>>2]=Le;if(!(Dt(Le)|0))break}else g=o[X>>2]|0;Le=q(Yr(e,Be));l[y+400+(g<<2)>>2]=q(Le+q(Hr(y,Be,Fe)));break}g=di(e,y)|0;do{if((g|0)==4){if((o[(pi(y,Be)|0)+4>>2]|0)==3){V=139;break}if((o[(mi(y,Be)|0)+4>>2]|0)==3){V=139;break}if(Or(y,Be,ge)|0){t=b;break}je=o[y+908+(o[z>>2]<<2)>>2]|0;o[ie>>2]=je;t=q(l[y+396>>2]);Ue=Dt(t)|0;D=(o[h>>2]=je,q(l[h>>2]));if(Ue)t=E;else{M=q(wr(y,Be,Fe));Le=q(D/t);t=q(t*D);t=q(M+(Me?Le:t))}l[oe>>2]=t;l[ie>>2]=q(q(wr(y,Re,Fe))+D);o[ae>>2]=1;o[ue>>2]=1;gi(y,Re,N,Fe,ae,ie);gi(y,Be,ge,Fe,ue,oe);t=q(l[ie>>2]);M=q(l[oe>>2]);Le=Me?t:M;t=Me?M:t;Ue=((Dt(Le)|0)^1)&1;xr(y,Le,t,Oe,Ue,((Dt(t)|0)^1)&1,Fe,ye,1,3493,m)|0;t=b}else V=139}while(0);e:do{if((V|0)==139){V=0;t=q(x-q(_i(y,Be,Fe)));do{if((o[(pi(y,Be)|0)+4>>2]|0)==3){if((o[(mi(y,Be)|0)+4>>2]|0)!=3)break;t=q(b+q(NS(q(0.0),q(t*q(.5)))));break e}}while(0);if((o[(mi(y,Be)|0)+4>>2]|0)==3){t=b;break}if((o[(pi(y,Be)|0)+4>>2]|0)==3){t=q(b+q(NS(q(0.0),t)));break}switch(g|0){case 1:{t=b;break e}case 2:{t=q(b+q(t*q(.5)));break e}default:{t=q(b+t);break e}}}}while(0);Le=q(pe+t);Ue=y+400+(o[X>>2]<<2)|0;l[Ue>>2]=q(Le+q(l[Ue>>2]))}}while(0);v=v+1|0}while((v|0)!=(T|0))}pe=q(pe+E);re=q(NS(re,n));s=I+1|0;if(T>>>0>=Pe>>>0)break;else{t=N;O=T;I=s}}do{if(d){g=s>>>0>1;if(!g?!(bi(e)|0):0)break;if(!(Dt(ge)|0)){t=q(ge-pe);e:do{switch(o[e+12>>2]|0){case 3:{b=q(b+t);C=q(0.0);break}case 2:{b=q(b+q(t*q(.5)));C=q(0.0);break}case 4:{if(ge>pe)C=q(t/q(s>>>0));else C=q(0.0);break}case 7:if(ge>pe){b=q(b+q(t/q(s<<1>>>0)));C=q(t/q(s>>>0));C=g?C:q(0.0);break e}else{b=q(b+q(t*q(.5)));C=q(0.0);break e}case 6:{C=q(t/q(I>>>0));C=ge>pe&g?C:q(0.0);break}default:C=q(0.0)}}while(0);if(s|0){S=1040+(Be<<2)|0;A=976+(Be<<2)|0;_=0;v=0;while(1){e:do{if(v>>>0>>0){D=q(0.0);E=q(0.0);t=q(0.0);y=v;while(1){g=o[(o[Ne>>2]|0)+(y<<2)>>2]|0;do{if((o[g+36>>2]|0)!=1?(o[g+24>>2]|0)==0:0){if((o[g+940>>2]|0)!=(_|0))break e;if(Di(g,Be)|0){Le=q(l[g+908+(o[A>>2]<<2)>>2]);t=q(NS(t,q(Le+q(wr(g,Be,Fe)))))}if((di(e,g)|0)!=5)break;de=q(Ei(g));de=q(de+q(Hr(g,0,Fe)));Le=q(l[g+912>>2]);Le=q(q(Le+q(wr(g,0,Fe)))-de);de=q(NS(E,de));Le=q(NS(D,Le));D=Le;E=de;t=q(NS(t,q(de+Le)))}}while(0);g=y+1|0;if(g>>>0>>0)y=g;else{y=g;break}}}else{E=q(0.0);t=q(0.0);y=v}}while(0);w=q(C+t);n=b;b=q(b+w);if(v>>>0>>0){x=q(n+E);g=v;do{v=o[(o[Ne>>2]|0)+(g<<2)>>2]|0;e:do{if((o[v+36>>2]|0)!=1?(o[v+24>>2]|0)==0:0)switch(di(e,v)|0){case 1:{Le=q(n+q(Hr(v,Be,Fe)));l[v+400+(o[S>>2]<<2)>>2]=Le;break e}case 3:{Le=q(q(b-q(Gr(v,Be,Fe)))-q(l[v+908+(o[A>>2]<<2)>>2]));l[v+400+(o[S>>2]<<2)>>2]=Le;break e}case 2:{Le=q(n+q(q(w-q(l[v+908+(o[A>>2]<<2)>>2]))*q(.5)));l[v+400+(o[S>>2]<<2)>>2]=Le;break e}case 4:{Le=q(n+q(Hr(v,Be,Fe)));l[v+400+(o[S>>2]<<2)>>2]=Le;if(Or(v,Be,ge)|0)break e;if(Me){D=q(l[v+908>>2]);t=q(D+q(wr(v,Re,Fe)));E=w}else{E=q(l[v+912>>2]);E=q(E+q(wr(v,Be,Fe)));t=w;D=q(l[v+908>>2])}if(mr(t,D)|0?mr(E,q(l[v+912>>2]))|0:0)break e;xr(v,t,E,Oe,1,1,Fe,ye,1,3501,m)|0;break e}case 5:{l[v+404>>2]=q(q(x-q(Ei(v)))+q(yi(v,0,ge)));break e}default:break e}}while(0);g=g+1|0}while((g|0)!=(y|0))}_=_+1|0;if((_|0)==(s|0))break;else v=y}}}}}while(0);l[e+908>>2]=q(hi(e,2,_e,c,c));l[e+912>>2]=q(hi(e,0,ve,f,c));if((me|0)!=0?(Ee=o[e+32>>2]|0,xe=(me|0)==2,!(xe&(Ee|0)!=2)):0){if(xe&(Ee|0)==2){t=q(De+N);t=q(NS(q(RS(t,q(xi(e,Re,re,be)))),De));V=198}}else{t=q(hi(e,Re,re,be,c));V=198}if((V|0)==198)l[e+908+(o[976+(Re<<2)>>2]<<2)>>2]=t;if((ke|0)!=0?(Ae=o[e+32>>2]|0,Te=(ke|0)==2,!(Te&(Ae|0)!=2)):0){if(Te&(Ae|0)==2){t=q(Ce+ge);t=q(NS(q(RS(t,q(xi(e,Be,q(Ce+pe),we)))),Ce));V=204}}else{t=q(hi(e,Be,q(Ce+pe),we,c));V=204}if((V|0)==204)l[e+908+(o[976+(Be<<2)>>2]<<2)>>2]=t;if(d){if((o[Se>>2]|0)==2){v=976+(Be<<2)|0;y=1040+(Be<<2)|0;g=0;do{_=Mt(e,g)|0;if(!(o[_+24>>2]|0)){je=o[v>>2]|0;Le=q(l[e+908+(je<<2)>>2]);Ue=_+400+(o[y>>2]<<2)|0;Le=q(Le-q(l[Ue>>2]));l[Ue>>2]=q(Le-q(l[_+908+(je<<2)>>2]))}g=g+1|0}while((g|0)!=(Pe|0))}if(i|0){g=Me?me:u;do{wi(e,i,Fe,g,ye,Oe,m);i=o[i+960>>2]|0}while((i|0)!=0)}g=(Re|2|0)==3;v=(Be|2|0)==3;if(g|v){i=0;do{y=o[(o[Ne>>2]|0)+(i<<2)>>2]|0;if((o[y+36>>2]|0)!=1){if(g)Ci(e,y,Re);if(v)Ci(e,y,Be)}i=i+1|0}while((i|0)!=(Pe|0))}}}else ei(e,t,n,u,s,c,f)}while(0);p=Ie;return}function Tr(e,t){e=e|0;t=q(t);var n=0;wt(e,t>=q(0.0),3147);n=t==q(0.0);l[e+4>>2]=n?q(0.0):t;return}function Fr(e,t,n,i){e=e|0;t=q(t);n=q(n);i=i|0;var a=ft,u=ft,s=0,c=0,f=0;o[2278]=(o[2278]|0)+1;Mr(e);if(!(Or(e,2,t)|0)){a=q(Nr(e+380|0,t));if(!(a>=q(0.0))){f=((Dt(t)|0)^1)&1;a=t}else f=2}else{a=q(Nr(o[e+992>>2]|0,t));f=1;a=q(a+q(wr(e,2,t)))}if(!(Or(e,0,n)|0)){u=q(Nr(e+388|0,n));if(!(u>=q(0.0))){c=((Dt(n)|0)^1)&1;u=n}else c=2}else{u=q(Nr(o[e+996>>2]|0,n));c=1;u=q(u+q(wr(e,0,t)))}s=e+976|0;if(xr(e,a,u,i,f,c,t,n,1,3189,o[s>>2]|0)|0?(Pr(e,o[e+496>>2]|0,t,n,t),Rr(e,q(l[(o[s>>2]|0)+4>>2]),q(0.0),q(0.0)),r[11696]|0):0)gr(e,7);return}function Mr(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;u=s+24|0;a=s+16|0;r=s+8|0;i=s;n=0;do{t=e+380+(n<<3)|0;if(!((o[e+380+(n<<3)+4>>2]|0)!=0?(l=t,c=o[l+4>>2]|0,f=r,o[f>>2]=o[l>>2],o[f+4>>2]=c,f=e+364+(n<<3)|0,c=o[f+4>>2]|0,l=i,o[l>>2]=o[f>>2],o[l+4>>2]=c,o[a>>2]=o[r>>2],o[a+4>>2]=o[r+4>>2],o[u>>2]=o[i>>2],o[u+4>>2]=o[i+4>>2],pr(a,u)|0):0))t=e+348+(n<<3)|0;o[e+992+(n<<2)>>2]=t;n=n+1|0}while((n|0)!=2);p=s;return}function Or(e,t,n){e=e|0;t=t|0;n=q(n);var r=0;e=o[e+992+(o[976+(t<<2)>>2]<<2)>>2]|0;switch(o[e+4>>2]|0){case 0:case 3:{e=0;break}case 1:{if(q(l[e>>2])>2])>2]|0){case 2:{t=q(q(q(l[e>>2])*t)/q(100.0));break}case 1:{t=q(l[e>>2]);break}default:t=q(E)}return q(t)}function Pr(e,t,n,r,i){e=e|0;t=t|0;n=q(n);r=q(r);i=q(i);var a=0,u=ft;t=o[e+944>>2]|0?t:1;a=Vr(o[e+4>>2]|0,t)|0;t=ri(a,t)|0;n=q(Mi(e,a,n));r=q(Mi(e,t,r));u=q(n+q(Hr(e,a,i)));l[e+400+(o[1040+(a<<2)>>2]<<2)>>2]=u;n=q(n+q(Gr(e,a,i)));l[e+400+(o[1e3+(a<<2)>>2]<<2)>>2]=n;n=q(r+q(Hr(e,t,i)));l[e+400+(o[1040+(t<<2)>>2]<<2)>>2]=n;i=q(r+q(Gr(e,t,i)));l[e+400+(o[1e3+(t<<2)>>2]<<2)>>2]=i;return}function Rr(e,t,n,r){e=e|0;t=q(t);n=q(n);r=q(r);var i=0,a=0,u=ft,s=ft,c=0,f=0,h=ft,d=0,p=ft,m=ft,g=ft,v=ft;if(!(t==q(0.0))){i=e+400|0;v=q(l[i>>2]);a=e+404|0;g=q(l[a>>2]);d=e+416|0;m=q(l[d>>2]);f=e+420|0;u=q(l[f>>2]);p=q(v+n);h=q(g+r);r=q(p+m);s=q(h+u);c=(o[e+988>>2]|0)==1;l[i>>2]=q(yr(v,t,0,c));l[a>>2]=q(yr(g,t,0,c));n=q(IS(q(m*t),q(1.0)));if(mr(n,q(0.0))|0)a=0;else a=(mr(n,q(1.0))|0)^1;n=q(IS(q(u*t),q(1.0)));if(mr(n,q(0.0))|0)i=0;else i=(mr(n,q(1.0))|0)^1;v=q(yr(r,t,c&a,c&(a^1)));l[d>>2]=q(v-q(yr(p,t,0,c)));v=q(yr(s,t,c&i,c&(i^1)));l[f>>2]=q(v-q(yr(h,t,0,c)));a=(o[e+952>>2]|0)-(o[e+948>>2]|0)>>2;if(a|0){i=0;do{Rr(Mt(e,i)|0,t,p,h);i=i+1|0}while((i|0)!=(a|0))}}return}function Br(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;switch(n|0){case 5:case 0:{e=oS(o[489]|0,r,i)|0;break}default:e=jS(r,i)|0}return e|0}function Ir(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;i=p;p=p+16|0;a=i;o[a>>2]=r;Lr(e,0,t,n,a);p=i;return}function Lr(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;e=e|0?e:956;AT[o[e+8>>2]&1](e,t,n,r,i)|0;if((n|0)==5)qe();else return}function jr(e,t,n){e=e|0;t=t|0;n=n|0;r[e+t>>0]=n&1;return}function Ur(e,t){e=e|0;t=t|0;var n=0,r=0;o[e>>2]=0;o[e+4>>2]=0;o[e+8>>2]=0;n=t+4|0;r=(o[n>>2]|0)-(o[t>>2]|0)>>2;if(r|0){zr(e,r);Wr(e,o[t>>2]|0,o[n>>2]|0,r)}return}function zr(e,t){e=e|0;t=t|0;var n=0;if((Xr(e)|0)>>>0>>0)US(e);if(t>>>0>1073741823)qe();else{n=$S(t<<2)|0;o[e+4>>2]=n;o[e>>2]=n;o[e+8>>2]=n+(t<<2);return}}function Wr(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;r=e+4|0;e=n-t|0;if((e|0)>0){iA(o[r>>2]|0,t|0,e|0)|0;o[r>>2]=(o[r>>2]|0)+(e>>>2<<2)}return}function Xr(e){e=e|0;return 1073741823}function Hr(e,t,n){e=e|0;t=t|0;n=q(n);if(Jr(t)|0?(o[e+96>>2]|0)!=0:0)e=e+92|0;else e=Et(e+60|0,o[1040+(t<<2)>>2]|0,992)|0;return q($r(e,n))}function Gr(e,t,n){e=e|0;t=t|0;n=q(n);if(Jr(t)|0?(o[e+104>>2]|0)!=0:0)e=e+100|0;else e=Et(e+60|0,o[1e3+(t<<2)>>2]|0,992)|0;return q($r(e,n))}function Jr(e){e=e|0;return(e|1|0)==3|0}function $r(e,t){e=e|0;t=q(t);if((o[e+4>>2]|0)==3)t=q(0.0);else t=q(Nr(e,t));return q(t)}function qr(e,t){e=e|0;t=t|0;e=o[e>>2]|0;return((e|0)==0?(t|0)>1?t:1:e)|0}function Vr(e,t){e=e|0;t=t|0;var n=0;e:do{if((t|0)==2){switch(e|0){case 2:{e=3;break e}case 3:break;default:{n=4;break e}}e=2}else n=4}while(0);return e|0}function Yr(e,t){e=e|0;t=t|0;var n=ft;if(!((Jr(t)|0?(o[e+312>>2]|0)!=0:0)?(n=q(l[e+308>>2]),n>=q(0.0)):0))n=q(NS(q(l[(Et(e+276|0,o[1040+(t<<2)>>2]|0,992)|0)>>2]),q(0.0)));return q(n)}function Kr(e,t){e=e|0;t=t|0;var n=ft;if(!((Jr(t)|0?(o[e+320>>2]|0)!=0:0)?(n=q(l[e+316>>2]),n>=q(0.0)):0))n=q(NS(q(l[(Et(e+276|0,o[1e3+(t<<2)>>2]|0,992)|0)>>2]),q(0.0)));return q(n)}function Zr(e,t,n){e=e|0;t=t|0;n=q(n);var r=ft;if(!((Jr(t)|0?(o[e+240>>2]|0)!=0:0)?(r=q(Nr(e+236|0,n)),r>=q(0.0)):0))r=q(NS(q(Nr(Et(e+204|0,o[1040+(t<<2)>>2]|0,992)|0,n)),q(0.0)));return q(r)}function Qr(e,t,n){e=e|0;t=t|0;n=q(n);var r=ft;if(!((Jr(t)|0?(o[e+248>>2]|0)!=0:0)?(r=q(Nr(e+244|0,n)),r>=q(0.0)):0))r=q(NS(q(Nr(Et(e+204|0,o[1e3+(t<<2)>>2]|0,992)|0,n)),q(0.0)));return q(r)}function ei(e,t,n,r,i,a,u){e=e|0;t=q(t);n=q(n);r=r|0;i=i|0;a=q(a);u=q(u);var s=ft,c=ft,f=ft,h=ft,d=ft,m=ft,g=0,v=0,y=0;y=p;p=p+16|0;g=y;v=e+964|0;Rt(e,(o[v>>2]|0)!=0,3519);s=q(ai(e,2,t));c=q(ai(e,0,t));f=q(wr(e,2,t));h=q(wr(e,0,t));if(Dt(t)|0)d=t;else d=q(NS(q(0.0),q(q(t-f)-s)));if(Dt(n)|0)m=n;else m=q(NS(q(0.0),q(q(n-h)-c)));if((r|0)==1&(i|0)==1){l[e+908>>2]=q(hi(e,2,q(t-f),a,a));t=q(hi(e,0,q(n-h),u,a))}else{FT[o[v>>2]&1](g,e,d,r,m,i);d=q(s+q(l[g>>2]));m=q(t-f);l[e+908>>2]=q(hi(e,2,(r|2|0)==2?d:m,a,a));m=q(c+q(l[g+4>>2]));t=q(n-h);t=q(hi(e,0,(i|2|0)==2?m:t,u,a))}l[e+912>>2]=t;p=y;return}function ti(e,t,n,r,i,o,a){e=e|0;t=q(t);n=q(n);r=r|0;i=i|0;o=q(o);a=q(a);var u=ft,s=ft,c=ft,f=ft;c=q(ai(e,2,o));u=q(ai(e,0,o));f=q(wr(e,2,o));s=q(wr(e,0,o));t=q(t-f);l[e+908>>2]=q(hi(e,2,(r|2|0)==2?c:t,o,o));n=q(n-s);l[e+912>>2]=q(hi(e,0,(i|2|0)==2?u:n,a,o));return}function ni(e,t,n,r,i,o,a){e=e|0;t=q(t);n=q(n);r=r|0;i=i|0;o=q(o);a=q(a);var u=0,s=ft,c=ft;u=(r|0)==2;if((!(t<=q(0.0)&u)?!(n<=q(0.0)&(i|0)==2):0)?!((r|0)==1&(i|0)==1):0)e=0;else{s=q(wr(e,0,o));c=q(wr(e,2,o));u=t>2]=q(hi(e,2,u?q(0.0):t,o,o));t=q(n-s);u=n>2]=q(hi(e,0,u?q(0.0):t,a,o));e=1}return e|0}function ri(e,t){e=e|0;t=t|0;if(ki(e)|0)e=Vr(2,t)|0;else e=0;return e|0}function ii(e,t,n){e=e|0;t=t|0;n=q(n);n=q(Zr(e,t,n));return q(n+q(Yr(e,t)))}function oi(e,t,n){e=e|0;t=t|0;n=q(n);n=q(Qr(e,t,n));return q(n+q(Kr(e,t)))}function ai(e,t,n){e=e|0;t=t|0;n=q(n);var r=ft;r=q(ii(e,t,n));return q(r+q(oi(e,t,n)))}function ui(e){e=e|0;if(!(o[e+24>>2]|0)){if(q(si(e))!=q(0.0))e=1;else e=q(li(e))!=q(0.0)}else e=0;return e|0}function si(e){e=e|0;var t=ft;if(o[e+944>>2]|0){t=q(l[e+44>>2]);if(Dt(t)|0){t=q(l[e+40>>2]);e=t>q(0.0)&((Dt(t)|0)^1);return q(e?t:q(0.0))}}else t=q(0.0);return q(t)}function li(e){e=e|0;var t=ft,n=0,i=ft;do{if(o[e+944>>2]|0){t=q(l[e+48>>2]);if(Dt(t)|0){n=r[(o[e+976>>2]|0)+2>>0]|0;if(n<<24>>24==0?(i=q(l[e+40>>2]),i>24?q(1.0):q(0.0)}}else t=q(0.0)}while(0);return q(t)}function ci(e){e=e|0;var t=0,n=0;tA(e+400|0,0,540)|0;r[e+985>>0]=1;Wt(e);n=Ft(e)|0;if(n|0){t=e+948|0;e=0;do{ci(o[(o[t>>2]|0)+(e<<2)>>2]|0);e=e+1|0}while((e|0)!=(n|0))}return}function fi(e,t,n,r,i,a,u,s,c,f){e=e|0;t=t|0;n=q(n);r=r|0;i=q(i);a=q(a);u=q(u);s=s|0;c=c|0;f=f|0;var h=0,d=ft,m=0,g=0,v=ft,y=ft,_=0,b=ft,D=0,x=ft,w=0,C=0,k=0,S=0,A=0,T=0,F=0,M=0,O=0,N=0;O=p;p=p+16|0;k=O+12|0;S=O+8|0;A=O+4|0;T=O;M=Vr(o[e+4>>2]|0,c)|0;w=Jr(M)|0;d=q(Nr(Si(t)|0,w?a:u));C=Or(t,2,a)|0;F=Or(t,0,u)|0;do{if(!(Dt(d)|0)?!(Dt(w?n:i)|0):0){h=t+504|0;if(!(Dt(q(l[h>>2]))|0)){if(!(Ai(o[t+976>>2]|0,0)|0))break;if((o[t+500>>2]|0)==(o[2278]|0))break}l[h>>2]=q(NS(d,q(ai(t,M,a))))}else m=7}while(0);do{if((m|0)==7){D=w^1;if(!(D|C^1)){u=q(Nr(o[t+992>>2]|0,a));l[t+504>>2]=q(NS(u,q(ai(t,2,a))));break}if(!(w|F^1)){u=q(Nr(o[t+996>>2]|0,u));l[t+504>>2]=q(NS(u,q(ai(t,0,a))));break}l[k>>2]=q(E);l[S>>2]=q(E);o[A>>2]=0;o[T>>2]=0;b=q(wr(t,2,a));x=q(wr(t,0,a));if(C){v=q(b+q(Nr(o[t+992>>2]|0,a)));l[k>>2]=v;o[A>>2]=1;g=1}else{g=0;v=q(E)}if(F){d=q(x+q(Nr(o[t+996>>2]|0,u)));l[S>>2]=d;o[T>>2]=1;h=1}else{h=0;d=q(E)}m=o[e+32>>2]|0;if(!(w&(m|0)==2)){if(Dt(v)|0?!(Dt(n)|0):0){l[k>>2]=n;o[A>>2]=2;g=2;v=n}}else m=2;if((!((m|0)==2&D)?Dt(d)|0:0)?!(Dt(i)|0):0){l[S>>2]=i;o[T>>2]=2;h=2;d=i}y=q(l[t+396>>2]);_=Dt(y)|0;do{if(!_){if((g|0)==1&D){l[S>>2]=q(q(v-b)/y);o[T>>2]=1;h=1;m=1;break}if(w&(h|0)==1){l[k>>2]=q(y*q(d-x));o[A>>2]=1;h=1;m=1}else m=g}else m=g}while(0);N=Dt(n)|0;g=(di(e,t)|0)!=4;if(!(w|C|((r|0)!=1|N)|(g|(m|0)==1))?(l[k>>2]=n,o[A>>2]=1,!_):0){l[S>>2]=q(q(n-b)/y);o[T>>2]=1;h=1}if(!(F|D|((s|0)!=1|(Dt(i)|0))|(g|(h|0)==1))?(l[S>>2]=i,o[T>>2]=1,!_):0){l[k>>2]=q(y*q(i-x));o[A>>2]=1}gi(t,2,a,a,A,k);gi(t,0,u,a,T,S);n=q(l[k>>2]);i=q(l[S>>2]);xr(t,n,i,c,o[A>>2]|0,o[T>>2]|0,a,u,0,3565,f)|0;u=q(l[t+908+(o[976+(M<<2)>>2]<<2)>>2]);l[t+504>>2]=q(NS(u,q(ai(t,M,a))))}}while(0);o[t+500>>2]=o[2278];p=O;return}function hi(e,t,n,r,i){e=e|0;t=t|0;n=q(n);r=q(r);i=q(i);r=q(xi(e,t,n,r));return q(NS(r,q(ai(e,t,i))))}function di(e,t){e=e|0;t=t|0;t=t+20|0;t=o[((o[t>>2]|0)==0?e+16|0:t)>>2]|0;if((t|0)==5?ki(o[e+4>>2]|0)|0:0)t=1;return t|0}function pi(e,t){e=e|0;t=t|0;if(Jr(t)|0?(o[e+96>>2]|0)!=0:0)t=4;else t=o[1040+(t<<2)>>2]|0;return e+60+(t<<3)|0}function mi(e,t){e=e|0;t=t|0;if(Jr(t)|0?(o[e+104>>2]|0)!=0:0)t=5;else t=o[1e3+(t<<2)>>2]|0;return e+60+(t<<3)|0}function gi(e,t,n,r,i,a){e=e|0;t=t|0;n=q(n);r=q(r);i=i|0;a=a|0;n=q(Nr(e+380+(o[976+(t<<2)>>2]<<3)|0,n));n=q(n+q(wr(e,t,r)));switch(o[i>>2]|0){case 2:case 1:{i=Dt(n)|0;r=q(l[a>>2]);l[a>>2]=i|r>2]=2;l[a>>2]=n}break}default:{}}return}function vi(e,t){e=e|0;t=t|0;e=e+132|0;if(Jr(t)|0?(o[(Et(e,4,948)|0)+4>>2]|0)!=0:0)e=1;else e=(o[(Et(e,o[1040+(t<<2)>>2]|0,948)|0)+4>>2]|0)!=0;return e|0}function yi(e,t,n){e=e|0;t=t|0;n=q(n);var r=0,i=0;e=e+132|0;if(Jr(t)|0?(r=Et(e,4,948)|0,(o[r+4>>2]|0)!=0):0)i=4;else{r=Et(e,o[1040+(t<<2)>>2]|0,948)|0;if(!(o[r+4>>2]|0))n=q(0.0);else i=4}if((i|0)==4)n=q(Nr(r,n));return q(n)}function _i(e,t,n){e=e|0;t=t|0;n=q(n);var r=ft;r=q(l[e+908+(o[976+(t<<2)>>2]<<2)>>2]);r=q(r+q(Hr(e,t,n)));return q(r+q(Gr(e,t,n)))}function bi(e){e=e|0;var t=0,n=0,r=0;e:do{if(!(ki(o[e+4>>2]|0)|0)){if((o[e+16>>2]|0)!=5){n=Ft(e)|0;if(!n)t=0;else{t=0;while(1){r=Mt(e,t)|0;if((o[r+24>>2]|0)==0?(o[r+20>>2]|0)==5:0){t=1;break e}t=t+1|0;if(t>>>0>=n>>>0){t=0;break}}}}else t=1}else t=0}while(0);return t|0}function Di(e,t){e=e|0;t=t|0;var n=ft;n=q(l[e+908+(o[976+(t<<2)>>2]<<2)>>2]);return n>=q(0.0)&((Dt(n)|0)^1)|0}function Ei(e){e=e|0;var t=ft,n=0,r=0,i=0,a=0,u=0,s=0,c=ft;n=o[e+968>>2]|0;if(!n){a=Ft(e)|0;do{if(a|0){n=0;i=0;while(1){r=Mt(e,i)|0;if(o[r+940>>2]|0){u=8;break}if((o[r+24>>2]|0)!=1){s=(di(e,r)|0)==5;if(s){n=r;break}else n=(n|0)==0?r:n}i=i+1|0;if(i>>>0>=a>>>0){u=8;break}}if((u|0)==8)if(!n)break;t=q(Ei(n));return q(t+q(l[n+404>>2]))}}while(0);t=q(l[e+912>>2])}else{c=q(l[e+908>>2]);t=q(l[e+912>>2]);t=q(dT[n&0](e,c,t));Rt(e,(Dt(t)|0)^1,3573)}return q(t)}function xi(e,t,n,r){e=e|0;t=t|0;n=q(n);r=q(r);var i=ft,o=0;if(!(ki(t)|0)){if(Jr(t)|0){t=0;o=3}else{r=q(E);i=q(E)}}else{t=1;o=3}if((o|0)==3){i=q(Nr(e+364+(t<<3)|0,r));r=q(Nr(e+380+(t<<3)|0,r))}o=r=q(0.0)&((Dt(r)|0)^1));n=o?r:n;o=i>=q(0.0)&((Dt(i)|0)^1)&n>2]|0,a)|0;g=ri(y,a)|0;v=Jr(y)|0;d=q(wr(t,2,n));p=q(wr(t,0,n));if(!(Or(t,2,n)|0)){if(vi(t,2)|0?Ti(t,2)|0:0){s=q(l[e+908>>2]);c=q(Yr(e,2));c=q(s-q(c+q(Kr(e,2))));s=q(yi(t,2,n));s=q(hi(t,2,q(c-q(s+q(Fi(t,2,n)))),n,n))}else s=q(E)}else s=q(d+q(Nr(o[t+992>>2]|0,n)));if(!(Or(t,0,i)|0)){if(vi(t,0)|0?Ti(t,0)|0:0){c=q(l[e+912>>2]);b=q(Yr(e,0));b=q(c-q(b+q(Kr(e,0))));c=q(yi(t,0,i));c=q(hi(t,0,q(b-q(c+q(Fi(t,0,i)))),i,n))}else c=q(E)}else c=q(p+q(Nr(o[t+996>>2]|0,i)));f=Dt(s)|0;h=Dt(c)|0;do{if(f^h?(m=q(l[t+396>>2]),!(Dt(m)|0)):0)if(f){s=q(d+q(q(c-p)*m));break}else{b=q(p+q(q(s-d)/m));c=h?b:c;break}}while(0);h=Dt(s)|0;f=Dt(c)|0;if(h|f){D=(h^1)&1;r=n>q(0.0)&((r|0)!=0&h);s=v?s:r?n:s;xr(t,s,c,a,v?D:r?2:D,h&(f^1)&1,s,c,0,3623,u)|0;s=q(l[t+908>>2]);s=q(s+q(wr(t,2,n)));c=q(l[t+912>>2]);c=q(c+q(wr(t,0,n)))}xr(t,s,c,a,1,1,s,c,1,3635,u)|0;if(Ti(t,y)|0?!(vi(t,y)|0):0){D=o[976+(y<<2)>>2]|0;b=q(l[e+908+(D<<2)>>2]);b=q(b-q(l[t+908+(D<<2)>>2]));b=q(b-q(Kr(e,y)));b=q(b-q(Gr(t,y,n)));b=q(b-q(Fi(t,y,v?n:i)));l[t+400+(o[1040+(y<<2)>>2]<<2)>>2]=b}else _=21;do{if((_|0)==21){if(!(vi(t,y)|0)?(o[e+8>>2]|0)==1:0){D=o[976+(y<<2)>>2]|0;b=q(l[e+908+(D<<2)>>2]);b=q(q(b-q(l[t+908+(D<<2)>>2]))*q(.5));l[t+400+(o[1040+(y<<2)>>2]<<2)>>2]=b;break}if(!(vi(t,y)|0)?(o[e+8>>2]|0)==2:0){D=o[976+(y<<2)>>2]|0;b=q(l[e+908+(D<<2)>>2]);b=q(b-q(l[t+908+(D<<2)>>2]));l[t+400+(o[1040+(y<<2)>>2]<<2)>>2]=b}}}while(0);if(Ti(t,g)|0?!(vi(t,g)|0):0){D=o[976+(g<<2)>>2]|0;b=q(l[e+908+(D<<2)>>2]);b=q(b-q(l[t+908+(D<<2)>>2]));b=q(b-q(Kr(e,g)));b=q(b-q(Gr(t,g,n)));b=q(b-q(Fi(t,g,v?i:n)));l[t+400+(o[1040+(g<<2)>>2]<<2)>>2]=b}else _=30;do{if((_|0)==30?!(vi(t,g)|0):0){if((di(e,t)|0)==2){D=o[976+(g<<2)>>2]|0;b=q(l[e+908+(D<<2)>>2]);b=q(q(b-q(l[t+908+(D<<2)>>2]))*q(.5));l[t+400+(o[1040+(g<<2)>>2]<<2)>>2]=b;break}D=(di(e,t)|0)==3;if(D^(o[e+28>>2]|0)==2){D=o[976+(g<<2)>>2]|0;b=q(l[e+908+(D<<2)>>2]);b=q(b-q(l[t+908+(D<<2)>>2]));l[t+400+(o[1040+(g<<2)>>2]<<2)>>2]=b}}}while(0);return}function Ci(e,t,n){e=e|0;t=t|0;n=n|0;var r=ft,i=0;i=o[976+(n<<2)>>2]|0;r=q(l[t+908+(i<<2)>>2]);r=q(q(l[e+908+(i<<2)>>2])-r);r=q(r-q(l[t+400+(o[1040+(n<<2)>>2]<<2)>>2]));l[t+400+(o[1e3+(n<<2)>>2]<<2)>>2]=r;return}function ki(e){e=e|0;return(e|1|0)==1|0}function Si(e){e=e|0;var t=ft;switch(o[e+56>>2]|0){case 0:case 3:{t=q(l[e+40>>2]);if(t>q(0.0)&((Dt(t)|0)^1))e=r[(o[e+976>>2]|0)+2>>0]|0?1056:992;else e=1056;break}default:e=e+52|0}return e|0}function Ai(e,t){e=e|0;t=t|0;return(r[e+t>>0]|0)!=0|0}function Ti(e,t){e=e|0;t=t|0;e=e+132|0;if(Jr(t)|0?(o[(Et(e,5,948)|0)+4>>2]|0)!=0:0)e=1;else e=(o[(Et(e,o[1e3+(t<<2)>>2]|0,948)|0)+4>>2]|0)!=0;return e|0}function Fi(e,t,n){e=e|0;t=t|0;n=q(n);var r=0,i=0;e=e+132|0;if(Jr(t)|0?(r=Et(e,5,948)|0,(o[r+4>>2]|0)!=0):0)i=4;else{r=Et(e,o[1e3+(t<<2)>>2]|0,948)|0;if(!(o[r+4>>2]|0))n=q(0.0);else i=4}if((i|0)==4)n=q(Nr(r,n));return q(n)}function Mi(e,t,n){e=e|0;t=t|0;n=q(n);if(vi(e,t)|0)n=q(yi(e,t,n));else n=q(-q(Fi(e,t,n)));return q(n)}function Oi(e){e=q(e);return(l[h>>2]=e,o[h>>2]|0)|0}function Ni(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>1073741823)qe();else{i=$S(t<<2)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<2)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<2);return}function Pi(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>2)<<2)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Ri(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-4-t|0)>>>2)<<2);e=o[e>>2]|0;if(e|0)VS(e);return}function Bi(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0;u=e+4|0;s=o[u>>2]|0;i=s-r|0;a=i>>2;e=t+(a<<2)|0;if(e>>>0>>0){r=s;do{o[r>>2]=o[e>>2];e=e+4|0;r=(o[u>>2]|0)+4|0;o[u>>2]=r}while(e>>>0>>0)}if(a|0)lA(s+(0-a<<2)|0,t|0,i|0)|0;return}function Ii(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0;s=t+4|0;l=o[s>>2]|0;i=o[e>>2]|0;u=n;a=u-i|0;r=l+(0-(a>>2)<<2)|0;o[s>>2]=r;if((a|0)>0)iA(r|0,i|0,a|0)|0;i=e+4|0;a=t+8|0;r=(o[i>>2]|0)-u|0;if((r|0)>0){iA(o[a>>2]|0,n|0,r|0)|0;o[a>>2]=(o[a>>2]|0)+(r>>>2<<2)}u=o[e>>2]|0;o[e>>2]=o[s>>2];o[s>>2]=u;u=o[i>>2]|0;o[i>>2]=o[a>>2];o[a>>2]=u;u=e+8|0;n=t+12|0;e=o[u>>2]|0;o[u>>2]=o[n>>2];o[n>>2]=e;o[t>>2]=o[s>>2];return l|0}function Li(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;u=o[t>>2]|0;a=o[n>>2]|0;if((u|0)!=(a|0)){i=e+8|0;n=((a+-4-u|0)>>>2)+1|0;e=u;r=o[i>>2]|0;do{o[r>>2]=o[e>>2];r=(o[i>>2]|0)+4|0;o[i>>2]=r;e=e+4|0}while((e|0)!=(a|0));o[t>>2]=u+(n<<2)}return}function ji(){_t();return}function Ui(){var e=0;e=$S(4)|0;zi(e);return e|0}function zi(e){e=e|0;o[e>>2]=It()|0;return}function Wi(e){e=e|0;if(e|0){Xi(e);VS(e)}return}function Xi(e){e=e|0;jt(o[e>>2]|0);return}function Hi(e,t,n){e=e|0;t=t|0;n=n|0;jr(o[e>>2]|0,t,n);return}function Gi(e,t){e=e|0;t=q(t);Tr(o[e>>2]|0,t);return}function Ji(e,t){e=e|0;t=t|0;return Ai(o[e>>2]|0,t)|0}function $i(){var e=0;e=$S(8)|0;qi(e,0);return e|0}function qi(e,t){e=e|0;t=t|0;if(!t)t=Ct()|0;else t=xt(o[t>>2]|0)|0;o[e>>2]=t;o[e+4>>2]=0;Zt(t,e);return}function Vi(e){e=e|0;var t=0;t=$S(8)|0;qi(t,e);return t|0}function Yi(e){e=e|0;if(e|0){Ki(e);VS(e)}return}function Ki(e){e=e|0;var t=0;At(o[e>>2]|0);t=e+4|0;e=o[t>>2]|0;o[t>>2]=0;if(e|0){Zi(e);VS(e)}return}function Zi(e){e=e|0;Qi(e);return}function Qi(e){e=e|0;e=o[e>>2]|0;if(e|0)rt(e|0);return}function eo(e){e=e|0;return Qt(e)|0}function to(e){e=e|0;var t=0,n=0;n=e+4|0;t=o[n>>2]|0;o[n>>2]=0;if(t|0){Zi(t);VS(t)}Pt(o[e>>2]|0);return}function no(e,t){e=e|0;t=t|0;Vt(o[e>>2]|0,o[t>>2]|0);return}function ro(e,t){e=e|0;t=t|0;fn(o[e>>2]|0,t);return}function io(e,t,n){e=e|0;t=t|0;n=+n;Cn(o[e>>2]|0,t,q(n));return}function oo(e,t,n){e=e|0;t=t|0;n=+n;kn(o[e>>2]|0,t,q(n));return}function ao(e,t){e=e|0;t=t|0;on(o[e>>2]|0,t);return}function uo(e,t){e=e|0;t=t|0;un(o[e>>2]|0,t);return}function so(e,t){e=e|0;t=t|0;ln(o[e>>2]|0,t);return}function lo(e,t){e=e|0;t=t|0;en(o[e>>2]|0,t);return}function co(e,t){e=e|0;t=t|0;dn(o[e>>2]|0,t);return}function fo(e,t){e=e|0;t=t|0;nn(o[e>>2]|0,t);return}function ho(e,t,n){e=e|0;t=t|0;n=+n;An(o[e>>2]|0,t,q(n));return}function po(e,t,n){e=e|0;t=t|0;n=+n;Tn(o[e>>2]|0,t,q(n));return}function mo(e,t){e=e|0;t=t|0;Mn(o[e>>2]|0,t);return}function go(e,t){e=e|0;t=t|0;mn(o[e>>2]|0,t);return}function vo(e,t){e=e|0;t=t|0;vn(o[e>>2]|0,t);return}function yo(e,t){e=e|0;t=+t;_n(o[e>>2]|0,q(t));return}function _o(e,t){e=e|0;t=+t;En(o[e>>2]|0,q(t));return}function bo(e,t){e=e|0;t=+t;xn(o[e>>2]|0,q(t));return}function Do(e,t){e=e|0;t=+t;bn(o[e>>2]|0,q(t));return}function Eo(e,t){e=e|0;t=+t;Dn(o[e>>2]|0,q(t));return}function xo(e,t){e=e|0;t=+t;In(o[e>>2]|0,q(t));return}function wo(e,t){e=e|0;t=+t;Ln(o[e>>2]|0,q(t));return}function Co(e){e=e|0;jn(o[e>>2]|0);return}function ko(e,t){e=e|0;t=+t;zn(o[e>>2]|0,q(t));return}function So(e,t){e=e|0;t=+t;Wn(o[e>>2]|0,q(t));return}function Ao(e){e=e|0;Xn(o[e>>2]|0);return}function To(e,t){e=e|0;t=+t;Gn(o[e>>2]|0,q(t));return}function Fo(e,t){e=e|0;t=+t;Jn(o[e>>2]|0,q(t));return}function Mo(e,t){e=e|0;t=+t;qn(o[e>>2]|0,q(t));return}function Oo(e,t){e=e|0;t=+t;Vn(o[e>>2]|0,q(t));return}function No(e,t){e=e|0;t=+t;Kn(o[e>>2]|0,q(t));return}function Po(e,t){e=e|0;t=+t;Zn(o[e>>2]|0,q(t));return}function Ro(e,t){e=e|0;t=+t;er(o[e>>2]|0,q(t));return}function Bo(e,t){e=e|0;t=+t;tr(o[e>>2]|0,q(t));return}function Io(e,t){e=e|0;t=+t;rr(o[e>>2]|0,q(t));return}function Lo(e,t,n){e=e|0;t=t|0;n=+n;Rn(o[e>>2]|0,t,q(n));return}function jo(e,t,n){e=e|0;t=t|0;n=+n;On(o[e>>2]|0,t,q(n));return}function Uo(e,t,n){e=e|0;t=t|0;n=+n;Nn(o[e>>2]|0,t,q(n));return}function zo(e){e=e|0;return hn(o[e>>2]|0)|0}function Wo(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0;r=p;p=p+16|0;i=r;Sn(i,o[t>>2]|0,n);Xo(e,i);p=r;return}function Xo(e,t){e=e|0;t=t|0;Ho(e,o[t+4>>2]|0,+q(l[t>>2]));return}function Ho(e,t,n){e=e|0;t=t|0;n=+n;o[e>>2]=t;c[e+8>>3]=n;return}function Go(e){e=e|0;return an(o[e>>2]|0)|0}function Jo(e){e=e|0;return sn(o[e>>2]|0)|0}function $o(e){e=e|0;return cn(o[e>>2]|0)|0}function qo(e){e=e|0;return tn(o[e>>2]|0)|0}function Vo(e){e=e|0;return pn(o[e>>2]|0)|0}function Yo(e){e=e|0;return rn(o[e>>2]|0)|0}function Ko(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0;r=p;p=p+16|0;i=r;Fn(i,o[t>>2]|0,n);Xo(e,i);p=r;return}function Zo(e){e=e|0;return gn(o[e>>2]|0)|0}function Qo(e){e=e|0;return yn(o[e>>2]|0)|0}function ea(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;wn(r,o[t>>2]|0);Xo(e,r);p=n;return}function ta(e){e=e|0;return+ +q(Yt(o[e>>2]|0))}function na(e){e=e|0;return+ +q(Kt(o[e>>2]|0))}function ra(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;Un(r,o[t>>2]|0);Xo(e,r);p=n;return}function ia(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;Hn(r,o[t>>2]|0);Xo(e,r);p=n;return}function oa(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;$n(r,o[t>>2]|0);Xo(e,r);p=n;return}function aa(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;Yn(r,o[t>>2]|0);Xo(e,r);p=n;return}function ua(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;Qn(r,o[t>>2]|0);Xo(e,r);p=n;return}function sa(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;nr(r,o[t>>2]|0);Xo(e,r);p=n;return}function la(e){e=e|0;return+ +q(ir(o[e>>2]|0))}function ca(e,t){e=e|0;t=t|0;return+ +q(Bn(o[e>>2]|0,t))}function fa(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0;r=p;p=p+16|0;i=r;Pn(i,o[t>>2]|0,n);Xo(e,i);p=r;return}function ha(e,t,n){e=e|0;t=t|0;n=n|0;zt(o[e>>2]|0,o[t>>2]|0,n);return}function da(e,t){e=e|0;t=t|0;Nt(o[e>>2]|0,o[t>>2]|0);return}function pa(e){e=e|0;return Ft(o[e>>2]|0)|0}function ma(e){e=e|0;e=Jt(o[e>>2]|0)|0;if(!e)e=0;else e=eo(e)|0;return e|0}function ga(e,t){e=e|0;t=t|0;e=Mt(o[e>>2]|0,t)|0;if(!e)e=0;else e=eo(e)|0;return e|0}function va(e,t){e=e|0;t=t|0;var n=0,r=0;r=$S(4)|0;ya(r,t);n=e+4|0;t=o[n>>2]|0;o[n>>2]=r;if(t|0){Zi(t);VS(t)}Ut(o[e>>2]|0,1);return}function ya(e,t){e=e|0;t=t|0;La(e,t);return}function _a(e,t,n,r,i,o){e=e|0;t=t|0;n=q(n);r=r|0;i=q(i);o=o|0;var a=0,u=0;a=p;p=p+16|0;u=a;ba(u,Qt(t)|0,+n,r,+i,o);l[e>>2]=q(+c[u>>3]);l[e+4>>2]=q(+c[u+8>>3]);p=a;return}function ba(e,t,n,r,i,a){e=e|0;t=t|0;n=+n;r=r|0;i=+i;a=a|0;var u=0,s=0,l=0,f=0,h=0;u=p;p=p+32|0;h=u+8|0;f=u+20|0;l=u;s=u+16|0;c[h>>3]=n;o[f>>2]=r;c[l>>3]=i;o[s>>2]=a;Da(e,o[t+4>>2]|0,h,f,l,s);p=u;return}function Da(e,t,n,r,i,a){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;a=a|0;var u=0,s=0;u=p;p=p+16|0;s=u;xk(s);t=Ea(t)|0;xa(e,t,+c[n>>3],o[r>>2]|0,+c[i>>3],o[a>>2]|0);Ck(s);p=u;return}function Ea(e){e=e|0;return o[e>>2]|0}function xa(e,t,n,r,i,o){e=e|0;t=t|0;n=+n;r=r|0;i=+i;o=o|0;var a=0;a=Ca(wa()|0)|0;n=+ka(n);r=Sa(r)|0;i=+ka(i);Aa(e,ot(0,a|0,t|0,+n,r|0,+i,Sa(o)|0)|0);return}function wa(){var e=0;if(!(r[7608]|0)){Ra(9120);e=7608;o[e>>2]=1;o[e+4>>2]=0}return 9120}function Ca(e){e=e|0;return o[e+8>>2]|0}function ka(e){e=+e;return+ +Pa(e)}function Sa(e){e=e|0;return Na(e)|0}function Aa(e,t){e=e|0;t=t|0;var n=0,r=0,i=0;i=p;p=p+32|0;n=i;r=t;if(!(r&1)){o[e>>2]=o[t>>2];o[e+4>>2]=o[t+4>>2];o[e+8>>2]=o[t+8>>2];o[e+12>>2]=o[t+12>>2]}else{Ta(n,0);Le(r|0,n|0)|0;Fa(e,n);Ma(n)}p=i;return}function Ta(e,t){e=e|0;t=t|0;Oa(e,t);o[e+8>>2]=0;r[e+24>>0]=0;return}function Fa(e,t){e=e|0;t=t|0;t=t+8|0;o[e>>2]=o[t>>2];o[e+4>>2]=o[t+4>>2];o[e+8>>2]=o[t+8>>2];o[e+12>>2]=o[t+12>>2];return}function Ma(e){e=e|0;r[e+24>>0]=0;return}function Oa(e,t){e=e|0;t=t|0;o[e>>2]=t;return}function Na(e){e=e|0;return e|0}function Pa(e){e=+e;return+e}function Ra(e){e=e|0;Ia(e,Ba()|0,4);return}function Ba(){return 1064}function Ia(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;o[e+8>>2]=tt(t|0,n+1|0)|0;return}function La(e,t){e=e|0;t=t|0;t=o[t>>2]|0;o[e>>2]=t;Te(t|0);return}function ja(e){e=e|0;var t=0,n=0;n=e+4|0;t=o[n>>2]|0;o[n>>2]=0;if(t|0){Zi(t);VS(t)}Ut(o[e>>2]|0,0);return}function Ua(e){e=e|0;$t(o[e>>2]|0);return}function za(e){e=e|0;return qt(o[e>>2]|0)|0}function Wa(e,t,n,r){e=e|0;t=+t;n=+n;r=r|0;Fr(o[e>>2]|0,q(t),q(n),r);return}function Xa(e){e=e|0;return+ +q(or(o[e>>2]|0))}function Ha(e){e=e|0;return+ +q(ur(o[e>>2]|0))}function Ga(e){e=e|0;return+ +q(ar(o[e>>2]|0))}function Ja(e){e=e|0;return+ +q(sr(o[e>>2]|0))}function $a(e){e=e|0;return+ +q(lr(o[e>>2]|0))}function qa(e){e=e|0;return+ +q(cr(o[e>>2]|0))}function Va(e,t){e=e|0;t=t|0;c[e>>3]=+q(or(o[t>>2]|0));c[e+8>>3]=+q(ur(o[t>>2]|0));c[e+16>>3]=+q(ar(o[t>>2]|0));c[e+24>>3]=+q(sr(o[t>>2]|0));c[e+32>>3]=+q(lr(o[t>>2]|0));c[e+40>>3]=+q(cr(o[t>>2]|0));return}function Ya(e,t){e=e|0;t=t|0;return+ +q(fr(o[e>>2]|0,t))}function Ka(e,t){e=e|0;t=t|0;return+ +q(hr(o[e>>2]|0,t))}function Za(e,t){e=e|0;t=t|0;return+ +q(dr(o[e>>2]|0,t))}function Qa(){return Bt()|0}function eu(){tu();nu();ru();iu();ou();au();return}function tu(){zb(11713,4938,1);return}function nu(){tb(10448);return}function ru(){R_(10408);return}function iu(){Zy(10324);return}function ou(){Gg(10096);return}function au(){uu(9132);return}function uu(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0,m=0,g=0,v=0,y=0,_=0,b=0,D=0,E=0,x=0,w=0,C=0,k=0,S=0,A=0,T=0,F=0,M=0,O=0,N=0,P=0,R=0,B=0,I=0,L=0,j=0,U=0,z=0,W=0,X=0,H=0,G=0,J=0,$=0,q=0,V=0,Y=0,K=0,Z=0,Q=0,ee=0,te=0,ne=0,re=0,ie=0,oe=0,ae=0,ue=0,se=0,le=0,ce=0,fe=0,he=0,de=0,pe=0,me=0,ge=0,ve=0,ye=0,_e=0,be=0,De=0,Ee=0,xe=0,we=0,Ce=0,ke=0,Se=0,Ae=0,Te=0,Fe=0,Me=0,Oe=0;t=p;p=p+672|0;n=t+656|0;Oe=t+648|0;Me=t+640|0;Fe=t+632|0;Te=t+624|0;Ae=t+616|0;Se=t+608|0;ke=t+600|0;Ce=t+592|0;we=t+584|0;xe=t+576|0;Ee=t+568|0;De=t+560|0;be=t+552|0;_e=t+544|0;ye=t+536|0;ve=t+528|0;ge=t+520|0;me=t+512|0;pe=t+504|0;de=t+496|0;he=t+488|0;fe=t+480|0;ce=t+472|0;le=t+464|0;se=t+456|0;ue=t+448|0;ae=t+440|0;oe=t+432|0;ie=t+424|0;re=t+416|0;ne=t+408|0;te=t+400|0;ee=t+392|0;Q=t+384|0;Z=t+376|0;K=t+368|0;Y=t+360|0;V=t+352|0;q=t+344|0;$=t+336|0;J=t+328|0;G=t+320|0;H=t+312|0;X=t+304|0;W=t+296|0;z=t+288|0;U=t+280|0;j=t+272|0;L=t+264|0;I=t+256|0;B=t+248|0;R=t+240|0;P=t+232|0;N=t+224|0;O=t+216|0;M=t+208|0;F=t+200|0;T=t+192|0;A=t+184|0;S=t+176|0;k=t+168|0;C=t+160|0;w=t+152|0;x=t+144|0;E=t+136|0;D=t+128|0;b=t+120|0;_=t+112|0;y=t+104|0;v=t+96|0;g=t+88|0;m=t+80|0;d=t+72|0;h=t+64|0;f=t+56|0;c=t+48|0;l=t+40|0;s=t+32|0;u=t+24|0;a=t+16|0;i=t+8|0;r=t;su(e,3646);lu(e,3651,2)|0;cu(e,3665,2)|0;fu(e,3682,18)|0;o[Oe>>2]=19;o[Oe+4>>2]=0;o[n>>2]=o[Oe>>2];o[n+4>>2]=o[Oe+4>>2];hu(e,3690,n)|0;o[Me>>2]=1;o[Me+4>>2]=0;o[n>>2]=o[Me>>2];o[n+4>>2]=o[Me+4>>2];du(e,3696,n)|0;o[Fe>>2]=2;o[Fe+4>>2]=0;o[n>>2]=o[Fe>>2];o[n+4>>2]=o[Fe+4>>2];pu(e,3706,n)|0;o[Te>>2]=1;o[Te+4>>2]=0;o[n>>2]=o[Te>>2];o[n+4>>2]=o[Te+4>>2];mu(e,3722,n)|0;o[Ae>>2]=2;o[Ae+4>>2]=0;o[n>>2]=o[Ae>>2];o[n+4>>2]=o[Ae+4>>2];mu(e,3734,n)|0;o[Se>>2]=3;o[Se+4>>2]=0;o[n>>2]=o[Se>>2];o[n+4>>2]=o[Se+4>>2];pu(e,3753,n)|0;o[ke>>2]=4;o[ke+4>>2]=0;o[n>>2]=o[ke>>2];o[n+4>>2]=o[ke+4>>2];pu(e,3769,n)|0;o[Ce>>2]=5;o[Ce+4>>2]=0;o[n>>2]=o[Ce>>2];o[n+4>>2]=o[Ce+4>>2];pu(e,3783,n)|0;o[we>>2]=6;o[we+4>>2]=0;o[n>>2]=o[we>>2];o[n+4>>2]=o[we+4>>2];pu(e,3796,n)|0;o[xe>>2]=7;o[xe+4>>2]=0;o[n>>2]=o[xe>>2];o[n+4>>2]=o[xe+4>>2];pu(e,3813,n)|0;o[Ee>>2]=8;o[Ee+4>>2]=0;o[n>>2]=o[Ee>>2];o[n+4>>2]=o[Ee+4>>2];pu(e,3825,n)|0;o[De>>2]=3;o[De+4>>2]=0;o[n>>2]=o[De>>2];o[n+4>>2]=o[De+4>>2];mu(e,3843,n)|0;o[be>>2]=4;o[be+4>>2]=0;o[n>>2]=o[be>>2];o[n+4>>2]=o[be+4>>2];mu(e,3853,n)|0;o[_e>>2]=9;o[_e+4>>2]=0;o[n>>2]=o[_e>>2];o[n+4>>2]=o[_e+4>>2];pu(e,3870,n)|0;o[ye>>2]=10;o[ye+4>>2]=0;o[n>>2]=o[ye>>2];o[n+4>>2]=o[ye+4>>2];pu(e,3884,n)|0;o[ve>>2]=11;o[ve+4>>2]=0;o[n>>2]=o[ve>>2];o[n+4>>2]=o[ve+4>>2];pu(e,3896,n)|0;o[ge>>2]=1;o[ge+4>>2]=0;o[n>>2]=o[ge>>2];o[n+4>>2]=o[ge+4>>2];gu(e,3907,n)|0;o[me>>2]=2;o[me+4>>2]=0;o[n>>2]=o[me>>2];o[n+4>>2]=o[me+4>>2];gu(e,3915,n)|0;o[pe>>2]=3;o[pe+4>>2]=0;o[n>>2]=o[pe>>2];o[n+4>>2]=o[pe+4>>2];gu(e,3928,n)|0;o[de>>2]=4;o[de+4>>2]=0;o[n>>2]=o[de>>2];o[n+4>>2]=o[de+4>>2];gu(e,3948,n)|0;o[he>>2]=5;o[he+4>>2]=0;o[n>>2]=o[he>>2];o[n+4>>2]=o[he+4>>2];gu(e,3960,n)|0;o[fe>>2]=6;o[fe+4>>2]=0;o[n>>2]=o[fe>>2];o[n+4>>2]=o[fe+4>>2];gu(e,3974,n)|0;o[ce>>2]=7;o[ce+4>>2]=0;o[n>>2]=o[ce>>2];o[n+4>>2]=o[ce+4>>2];gu(e,3983,n)|0;o[le>>2]=20;o[le+4>>2]=0;o[n>>2]=o[le>>2];o[n+4>>2]=o[le+4>>2];hu(e,3999,n)|0;o[se>>2]=8;o[se+4>>2]=0;o[n>>2]=o[se>>2];o[n+4>>2]=o[se+4>>2];gu(e,4012,n)|0;o[ue>>2]=9;o[ue+4>>2]=0;o[n>>2]=o[ue>>2];o[n+4>>2]=o[ue+4>>2];gu(e,4022,n)|0;o[ae>>2]=21;o[ae+4>>2]=0;o[n>>2]=o[ae>>2];o[n+4>>2]=o[ae+4>>2];hu(e,4039,n)|0;o[oe>>2]=10;o[oe+4>>2]=0;o[n>>2]=o[oe>>2];o[n+4>>2]=o[oe+4>>2];gu(e,4053,n)|0;o[ie>>2]=11;o[ie+4>>2]=0;o[n>>2]=o[ie>>2];o[n+4>>2]=o[ie+4>>2];gu(e,4065,n)|0;o[re>>2]=12;o[re+4>>2]=0;o[n>>2]=o[re>>2];o[n+4>>2]=o[re+4>>2];gu(e,4084,n)|0;o[ne>>2]=13;o[ne+4>>2]=0;o[n>>2]=o[ne>>2];o[n+4>>2]=o[ne+4>>2];gu(e,4097,n)|0;o[te>>2]=14;o[te+4>>2]=0;o[n>>2]=o[te>>2];o[n+4>>2]=o[te+4>>2];gu(e,4117,n)|0;o[ee>>2]=15;o[ee+4>>2]=0;o[n>>2]=o[ee>>2];o[n+4>>2]=o[ee+4>>2];gu(e,4129,n)|0;o[Q>>2]=16;o[Q+4>>2]=0;o[n>>2]=o[Q>>2];o[n+4>>2]=o[Q+4>>2];gu(e,4148,n)|0;o[Z>>2]=17;o[Z+4>>2]=0;o[n>>2]=o[Z>>2];o[n+4>>2]=o[Z+4>>2];gu(e,4161,n)|0;o[K>>2]=18;o[K+4>>2]=0;o[n>>2]=o[K>>2];o[n+4>>2]=o[K+4>>2];gu(e,4181,n)|0;o[Y>>2]=5;o[Y+4>>2]=0;o[n>>2]=o[Y>>2];o[n+4>>2]=o[Y+4>>2];mu(e,4196,n)|0;o[V>>2]=6;o[V+4>>2]=0;o[n>>2]=o[V>>2];o[n+4>>2]=o[V+4>>2];mu(e,4206,n)|0;o[q>>2]=7;o[q+4>>2]=0;o[n>>2]=o[q>>2];o[n+4>>2]=o[q+4>>2];mu(e,4217,n)|0;o[$>>2]=3;o[$+4>>2]=0;o[n>>2]=o[$>>2];o[n+4>>2]=o[$+4>>2];vu(e,4235,n)|0;o[J>>2]=1;o[J+4>>2]=0;o[n>>2]=o[J>>2];o[n+4>>2]=o[J+4>>2];yu(e,4251,n)|0;o[G>>2]=4;o[G+4>>2]=0;o[n>>2]=o[G>>2];o[n+4>>2]=o[G+4>>2];vu(e,4263,n)|0;o[H>>2]=5;o[H+4>>2]=0;o[n>>2]=o[H>>2];o[n+4>>2]=o[H+4>>2];vu(e,4279,n)|0;o[X>>2]=6;o[X+4>>2]=0;o[n>>2]=o[X>>2];o[n+4>>2]=o[X+4>>2];vu(e,4293,n)|0;o[W>>2]=7;o[W+4>>2]=0;o[n>>2]=o[W>>2];o[n+4>>2]=o[W+4>>2];vu(e,4306,n)|0;o[z>>2]=8;o[z+4>>2]=0;o[n>>2]=o[z>>2];o[n+4>>2]=o[z+4>>2];vu(e,4323,n)|0;o[U>>2]=9;o[U+4>>2]=0;o[n>>2]=o[U>>2];o[n+4>>2]=o[U+4>>2];vu(e,4335,n)|0;o[j>>2]=2;o[j+4>>2]=0;o[n>>2]=o[j>>2];o[n+4>>2]=o[j+4>>2];yu(e,4353,n)|0;o[L>>2]=12;o[L+4>>2]=0;o[n>>2]=o[L>>2];o[n+4>>2]=o[L+4>>2];_u(e,4363,n)|0;o[I>>2]=1;o[I+4>>2]=0;o[n>>2]=o[I>>2];o[n+4>>2]=o[I+4>>2];bu(e,4376,n)|0;o[B>>2]=2;o[B+4>>2]=0;o[n>>2]=o[B>>2];o[n+4>>2]=o[B+4>>2];bu(e,4388,n)|0;o[R>>2]=13;o[R+4>>2]=0;o[n>>2]=o[R>>2];o[n+4>>2]=o[R+4>>2];_u(e,4402,n)|0;o[P>>2]=14;o[P+4>>2]=0;o[n>>2]=o[P>>2];o[n+4>>2]=o[P+4>>2];_u(e,4411,n)|0;o[N>>2]=15;o[N+4>>2]=0;o[n>>2]=o[N>>2];o[n+4>>2]=o[N+4>>2];_u(e,4421,n)|0;o[O>>2]=16;o[O+4>>2]=0;o[n>>2]=o[O>>2];o[n+4>>2]=o[O+4>>2];_u(e,4433,n)|0;o[M>>2]=17;o[M+4>>2]=0;o[n>>2]=o[M>>2];o[n+4>>2]=o[M+4>>2];_u(e,4446,n)|0;o[F>>2]=18;o[F+4>>2]=0;o[n>>2]=o[F>>2];o[n+4>>2]=o[F+4>>2];_u(e,4458,n)|0;o[T>>2]=3;o[T+4>>2]=0;o[n>>2]=o[T>>2];o[n+4>>2]=o[T+4>>2];bu(e,4471,n)|0;o[A>>2]=1;o[A+4>>2]=0;o[n>>2]=o[A>>2];o[n+4>>2]=o[A+4>>2];Du(e,4486,n)|0;o[S>>2]=10;o[S+4>>2]=0;o[n>>2]=o[S>>2];o[n+4>>2]=o[S+4>>2];vu(e,4496,n)|0;o[k>>2]=11;o[k+4>>2]=0;o[n>>2]=o[k>>2];o[n+4>>2]=o[k+4>>2];vu(e,4508,n)|0;o[C>>2]=3;o[C+4>>2]=0;o[n>>2]=o[C>>2];o[n+4>>2]=o[C+4>>2];yu(e,4519,n)|0;o[w>>2]=4;o[w+4>>2]=0;o[n>>2]=o[w>>2];o[n+4>>2]=o[w+4>>2];Eu(e,4530,n)|0;o[x>>2]=19;o[x+4>>2]=0;o[n>>2]=o[x>>2];o[n+4>>2]=o[x+4>>2];xu(e,4542,n)|0;o[E>>2]=12;o[E+4>>2]=0;o[n>>2]=o[E>>2];o[n+4>>2]=o[E+4>>2];wu(e,4554,n)|0;o[D>>2]=13;o[D+4>>2]=0;o[n>>2]=o[D>>2];o[n+4>>2]=o[D+4>>2];Cu(e,4568,n)|0;o[b>>2]=2;o[b+4>>2]=0;o[n>>2]=o[b>>2];o[n+4>>2]=o[b+4>>2];ku(e,4578,n)|0;o[_>>2]=20;o[_+4>>2]=0;o[n>>2]=o[_>>2];o[n+4>>2]=o[_+4>>2];Su(e,4587,n)|0;o[y>>2]=22;o[y+4>>2]=0;o[n>>2]=o[y>>2];o[n+4>>2]=o[y+4>>2];hu(e,4602,n)|0;o[v>>2]=23;o[v+4>>2]=0;o[n>>2]=o[v>>2];o[n+4>>2]=o[v+4>>2];hu(e,4619,n)|0;o[g>>2]=14;o[g+4>>2]=0;o[n>>2]=o[g>>2];o[n+4>>2]=o[g+4>>2];Au(e,4629,n)|0;o[m>>2]=1;o[m+4>>2]=0;o[n>>2]=o[m>>2];o[n+4>>2]=o[m+4>>2];Tu(e,4637,n)|0;o[d>>2]=4;o[d+4>>2]=0;o[n>>2]=o[d>>2];o[n+4>>2]=o[d+4>>2];bu(e,4653,n)|0;o[h>>2]=5;o[h+4>>2]=0;o[n>>2]=o[h>>2];o[n+4>>2]=o[h+4>>2];bu(e,4669,n)|0;o[f>>2]=6;o[f+4>>2]=0;o[n>>2]=o[f>>2];o[n+4>>2]=o[f+4>>2];bu(e,4686,n)|0;o[c>>2]=7;o[c+4>>2]=0;o[n>>2]=o[c>>2];o[n+4>>2]=o[c+4>>2];bu(e,4701,n)|0;o[l>>2]=8;o[l+4>>2]=0;o[n>>2]=o[l>>2];o[n+4>>2]=o[l+4>>2];bu(e,4719,n)|0;o[s>>2]=9;o[s+4>>2]=0;o[n>>2]=o[s>>2];o[n+4>>2]=o[s+4>>2];bu(e,4736,n)|0;o[u>>2]=21;o[u+4>>2]=0;o[n>>2]=o[u>>2];o[n+4>>2]=o[u+4>>2];Fu(e,4754,n)|0;o[a>>2]=2;o[a+4>>2]=0;o[n>>2]=o[a>>2];o[n+4>>2]=o[a+4>>2];Du(e,4772,n)|0;o[i>>2]=3;o[i+4>>2]=0;o[n>>2]=o[i>>2];o[n+4>>2]=o[i+4>>2];Du(e,4790,n)|0;o[r>>2]=4;o[r+4>>2]=0;o[n>>2]=o[r>>2];o[n+4>>2]=o[r+4>>2];Du(e,4808,n)|0;p=t;return}function su(e,t){e=e|0;t=t|0;var n=0;n=Pg()|0;o[e>>2]=n;Rg(n,t);cD(o[e>>2]|0);return}function lu(e,t,n){e=e|0;t=t|0;n=n|0;vg(e,Ou(t)|0,n,0);return e|0}function cu(e,t,n){e=e|0;t=t|0;n=n|0;Ym(e,Ou(t)|0,n,0);return e|0}function fu(e,t,n){e=e|0;t=t|0;n=n|0;Nm(e,Ou(t)|0,n,0);return e|0}function hu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];pm(e,t,i);p=r;return e|0}function du(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Jp(e,t,i);p=r;return e|0}function pu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Sp(e,t,i);p=r;return e|0}function mu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];sp(e,t,i);p=r;return e|0}function gu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Xd(e,t,i);p=r;return e|0}function vu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];wd(e,t,i);p=r;return e|0}function yu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];od(e,t,i);p=r;return e|0}function _u(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Ch(e,t,i);p=r;return e|0}function bu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];ah(e,t,i);p=r;return e|0}function Du(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];zf(e,t,i);p=r;return e|0}function Eu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Ef(e,t,i);p=r;return e|0}function xu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Qc(e,t,i);p=r;return e|0}function wu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Nc(e,t,i);p=r;return e|0}function Cu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];pc(e,t,i);p=r;return e|0}function ku(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Gl(e,t,i);p=r;return e|0}function Su(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Dl(e,t,i);p=r;return e|0}function Au(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];tl(e,t,i);p=r;return e|0}function Tu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Fs(e,t,i);p=r;return e|0}function Fu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Mu(e,t,i);p=r;return e|0}function Mu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Nu(e,n,i,1);p=r;return}function Ou(e){e=e|0;return e|0}function Nu(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=Pu()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=Ru(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Bu(a,r)|0,r);p=i;return}function Pu(){var e=0,t=0;if(!(r[7616]|0)){qu(9136);Be(24,9136,v|0)|0;t=7616;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9136)|0)){e=9136;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));qu(9136)}return 9136}function Ru(e){e=e|0;return 0}function Bu(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=Pu()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Wu(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Xu(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Iu(e,t,n,r,i,a){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;a=a|0;var u=0,s=0,l=0,c=0,f=0,h=0,d=0,m=0;u=p;p=p+32|0;d=u+24|0;h=u+20|0;l=u+16|0;f=u+12|0;c=u+8|0;s=u+4|0;m=u;o[h>>2]=t;o[l>>2]=n;o[f>>2]=r;o[c>>2]=i;o[s>>2]=a;a=e+28|0;o[m>>2]=o[a>>2];o[d>>2]=o[m>>2];Lu(e+24|0,d,h,f,c,l,s)|0;o[a>>2]=o[o[a>>2]>>2];p=u;return}function Lu(e,t,n,r,i,a,u){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;a=a|0;u=u|0;e=ju(t)|0;t=$S(24)|0;Uu(t+4|0,o[n>>2]|0,o[r>>2]|0,o[i>>2]|0,o[a>>2]|0,o[u>>2]|0);o[t>>2]=o[e>>2];o[e>>2]=t;return t|0}function ju(e){e=e|0;return o[e>>2]|0}function Uu(e,t,n,r,i,a){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;a=a|0;o[e>>2]=t;o[e+4>>2]=n;o[e+8>>2]=r;o[e+12>>2]=i;o[e+16>>2]=a;return}function zu(e,t){e=e|0;t=t|0;return t|e|0}function Wu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Xu(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Hu(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;Gu(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Wu(a,r,n);o[l>>2]=(o[l>>2]|0)+12;Ju(e,s);$u(s);p=c;return}}function Hu(e){e=e|0;return 357913941}function Gu(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function Ju(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function $u(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function qu(e){e=e|0;Zu(e);return}function Vu(e){e=e|0;Ku(e+24|0);return}function Yu(e){e=e|0;return o[e>>2]|0}function Ku(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function Zu(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,3,t,es()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Qu(){return 9228}function es(){return 1140}function ts(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0;n=p;p=p+16|0;r=n+8|0;i=n;a=rs(e)|0;e=o[a+4>>2]|0;o[i>>2]=o[a>>2];o[i+4>>2]=e;o[r>>2]=o[i>>2];o[r+4>>2]=o[i+4>>2];t=is(t,r)|0;p=n;return t|0}function ns(e,t,n,r,i,a){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;a=a|0;o[e>>2]=t;o[e+4>>2]=n;o[e+8>>2]=r;o[e+12>>2]=i;o[e+16>>2]=a;return}function rs(e){e=e|0;return(o[(Pu()|0)+24>>2]|0)+(e*12|0)|0}function is(e,t){e=e|0;t=t|0;var n=0,r=0,i=0;i=p;p=p+48|0;r=i;n=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)n=o[(o[e>>2]|0)+n>>2]|0;mT[n&31](r,e);r=os(r)|0;p=i;return r|0}function os(e){e=e|0;var t=0,n=0,r=0,i=0;i=p;p=p+32|0;t=i+12|0;n=i;r=us(as()|0)|0;if(!r)e=hs(e)|0;else{ss(t,r);ls(n,t);cs(e,n);e=fs(t)|0}p=i;return e|0}function as(){var e=0;if(!(r[7632]|0)){xs(9184);Be(25,9184,v|0)|0;e=7632;o[e>>2]=1;o[e+4>>2]=0}return 9184}function us(e){e=e|0;return o[e+36>>2]|0}function ss(e,t){e=e|0;t=t|0;o[e>>2]=t;o[e+4>>2]=e;o[e+8>>2]=0;return}function ls(e,t){e=e|0;t=t|0;o[e>>2]=o[t>>2];o[e+4>>2]=o[t+4>>2];o[e+8>>2]=0;return}function cs(e,t){e=e|0;t=t|0;vs(t,e,e+8|0,e+16|0,e+24|0,e+32|0,e+40|0)|0;return}function fs(e){e=e|0;return o[(o[e+4>>2]|0)+8>>2]|0}function hs(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,u=0,s=0,l=0;l=p;p=p+16|0;n=l+4|0;r=l;i=Ux(8)|0;a=i;u=$S(48)|0;s=u;t=s+48|0;do{o[s>>2]=o[e>>2];s=s+4|0;e=e+4|0}while((s|0)<(t|0));t=a+4|0;o[t>>2]=u;s=$S(8)|0;u=o[t>>2]|0;o[r>>2]=0;o[n>>2]=o[r>>2];ds(s,u,n);o[i>>2]=s;p=l;return a|0}function ds(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;n=$S(16)|0;o[n+4>>2]=0;o[n+8>>2]=0;o[n>>2]=1092;o[n+12>>2]=t;o[e+4>>2]=n;return}function ps(e){e=e|0;zS(e);VS(e);return}function ms(e){e=e|0;e=o[e+12>>2]|0;if(e|0)VS(e);return}function gs(e){e=e|0;VS(e);return}function vs(e,t,n,r,i,a,u){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;a=a|0;u=u|0;a=ys(o[e>>2]|0,t,n,r,i,a,u)|0;u=e+4|0;o[(o[u>>2]|0)+8>>2]=a;return o[(o[u>>2]|0)+8>>2]|0}function ys(e,t,n,r,i,o,a){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;o=o|0;a=a|0;var u=0,s=0;u=p;p=p+16|0;s=u;xk(s);e=Ea(e)|0;a=_s(e,+c[t>>3],+c[n>>3],+c[r>>3],+c[i>>3],+c[o>>3],+c[a>>3])|0;Ck(s);p=u;return a|0}function _s(e,t,n,r,i,o,a){e=e|0;t=+t;n=+n;r=+r;i=+i;o=+o;a=+a;var u=0;u=Ca(bs()|0)|0;t=+ka(t);n=+ka(n);r=+ka(r);i=+ka(i);o=+ka(o);return Se(0,u|0,e|0,+t,+n,+r,+i,+o,+ +ka(a))|0}function bs(){var e=0;if(!(r[7624]|0)){Ds(9172);e=7624;o[e>>2]=1;o[e+4>>2]=0}return 9172}function Ds(e){e=e|0;Ia(e,Es()|0,6);return}function Es(){return 1112}function xs(e){e=e|0;Ts(e);return}function ws(e){e=e|0;Cs(e+24|0);ks(e+16|0);return}function Cs(e){e=e|0;As(e);return}function ks(e){e=e|0;Ss(e);return}function Ss(e){e=e|0;var t=0,n=0;t=o[e>>2]|0;if(t|0)do{n=t;t=o[t>>2]|0;VS(n)}while((t|0)!=0);o[e>>2]=0;return}function As(e){e=e|0;var t=0,n=0;t=o[e>>2]|0;if(t|0)do{n=t;t=o[t>>2]|0;VS(n)}while((t|0)!=0);o[e>>2]=0;return}function Ts(e){e=e|0;var t=0;o[e+16>>2]=0;o[e+20>>2]=0;t=e+24|0;o[t>>2]=0;o[e+28>>2]=t;o[e+36>>2]=0;r[e+40>>0]=0;r[e+41>>0]=0;return}function Fs(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Ms(e,n,i,0);p=r;return}function Ms(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=Os()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=Ns(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Ps(a,r)|0,r);p=i;return}function Os(){var e=0,t=0;if(!(r[7640]|0)){zs(9232);Be(26,9232,v|0)|0;t=7640;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9232)|0)){e=9232;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));zs(9232)}return 9232}function Ns(e){e=e|0;return 0}function Ps(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=Os()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Rs(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Bs(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Rs(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Bs(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Is(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;Ls(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Rs(a,r,n);o[l>>2]=(o[l>>2]|0)+12;js(e,s);Us(s);p=c;return}}function Is(e){e=e|0;return 357913941}function Ls(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function js(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Us(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function zs(e){e=e|0;Hs(e);return}function Ws(e){e=e|0;Xs(e+24|0);return}function Xs(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function Hs(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,1,t,Gs()|0,3);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Gs(){return 1144}function Js(e,t,n,r,i){e=e|0;t=t|0;n=+n;r=+r;i=i|0;var a=0,u=0,s=0,l=0;a=p;p=p+16|0;u=a+8|0;s=a;l=$s(e)|0;e=o[l+4>>2]|0;o[s>>2]=o[l>>2];o[s+4>>2]=e;o[u>>2]=o[s>>2];o[u+4>>2]=o[s+4>>2];qs(t,u,n,r,i);p=a;return}function $s(e){e=e|0;return(o[(Os()|0)+24>>2]|0)+(e*12|0)|0}function qs(e,t,n,r,i){e=e|0;t=t|0;n=+n;r=+r;i=i|0;var a=0,u=0,s=0,l=0,c=0;c=p;p=p+16|0;u=c+2|0;s=c+1|0;l=c;a=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)a=o[(o[e>>2]|0)+a>>2]|0;Vs(u,n);n=+Ys(u,n);Vs(s,r);r=+Ys(s,r);Ks(l,i);l=Zs(l,i)|0;vT[a&1](e,n,r,l);p=c;return}function Vs(e,t){e=e|0;t=+t;return}function Ys(e,t){e=e|0;t=+t;return+ +el(t)}function Ks(e,t){e=e|0;t=t|0;return}function Zs(e,t){e=e|0;t=t|0;return Qs(t)|0}function Qs(e){e=e|0;return e|0}function el(e){e=+e;return+e}function tl(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];nl(e,n,i,1);p=r;return}function nl(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=rl()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=il(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,ol(a,r)|0,r);p=i;return}function rl(){var e=0,t=0;if(!(r[7648]|0)){hl(9268);Be(27,9268,v|0)|0;t=7648;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9268)|0)){e=9268;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));hl(9268)}return 9268}function il(e){e=e|0;return 0}function ol(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=rl()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];al(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{ul(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function al(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function ul(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=sl(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;ll(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];al(a,r,n);o[l>>2]=(o[l>>2]|0)+12;cl(e,s);fl(s);p=c;return}}function sl(e){e=e|0;return 357913941}function ll(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function cl(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function fl(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function hl(e){e=e|0;ml(e);return}function dl(e){e=e|0;pl(e+24|0);return}function pl(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function ml(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,4,t,gl()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function gl(){return 1160}function vl(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0;n=p;p=p+16|0;r=n+8|0;i=n;a=yl(e)|0;e=o[a+4>>2]|0;o[i>>2]=o[a>>2];o[i+4>>2]=e;o[r>>2]=o[i>>2];o[r+4>>2]=o[i+4>>2];t=_l(t,r)|0;p=n;return t|0}function yl(e){e=e|0;return(o[(rl()|0)+24>>2]|0)+(e*12|0)|0}function _l(e,t){e=e|0;t=t|0;var n=0;n=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)n=o[(o[e>>2]|0)+n>>2]|0;return bl(gT[n&31](e)|0)|0}function bl(e){e=e|0;return e&1|0}function Dl(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];El(e,n,i,0);p=r;return}function El(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=xl()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=wl(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Cl(a,r)|0,r);p=i;return}function xl(){var e=0,t=0;if(!(r[7656]|0)){Ol(9304);Be(28,9304,v|0)|0;t=7656;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9304)|0)){e=9304;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Ol(9304)}return 9304}function wl(e){e=e|0;return 0}function Cl(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=xl()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];kl(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Sl(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function kl(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Sl(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Al(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;Tl(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];kl(a,r,n);o[l>>2]=(o[l>>2]|0)+12;Fl(e,s);Ml(s);p=c;return}}function Al(e){e=e|0;return 357913941}function Tl(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function Fl(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Ml(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function Ol(e){e=e|0;Rl(e);return}function Nl(e){e=e|0;Pl(e+24|0);return}function Pl(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function Rl(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,5,t,Bl()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Bl(){return 1164}function Il(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=Ll(e)|0;e=o[u+4>>2]|0;o[a>>2]=o[u>>2];o[a+4>>2]=e;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];jl(t,i,n);p=r;return}function Ll(e){e=e|0;return(o[(xl()|0)+24>>2]|0)+(e*12|0)|0}function jl(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0;a=p;p=p+16|0;i=a;r=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)r=o[(o[e>>2]|0)+r>>2]|0;Ul(i,n);n=zl(i,n)|0;mT[r&31](e,n);Wl(i);p=a;return}function Ul(e,t){e=e|0;t=t|0;Xl(e,t);return}function zl(e,t){e=e|0;t=t|0;return e|0}function Wl(e){e=e|0;Zi(e);return}function Xl(e,t){e=e|0;t=t|0;Hl(e,t);return}function Hl(e,t){e=e|0;t=t|0;o[e>>2]=t;return}function Gl(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Jl(e,n,i,0);p=r;return}function Jl(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=$l()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=ql(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Vl(a,r)|0,r);p=i;return}function $l(){var e=0,t=0;if(!(r[7664]|0)){nc(9340);Be(29,9340,v|0)|0;t=7664;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9340)|0)){e=9340;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));nc(9340)}return 9340}function ql(e){e=e|0;return 0}function Vl(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=$l()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Yl(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Kl(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Yl(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Kl(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Zl(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;Ql(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Yl(a,r,n);o[l>>2]=(o[l>>2]|0)+12;ec(e,s);tc(s);p=c;return}}function Zl(e){e=e|0;return 357913941}function Ql(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function ec(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function tc(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function nc(e){e=e|0;oc(e);return}function rc(e){e=e|0;ic(e+24|0);return}function ic(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function oc(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,4,t,ac()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function ac(){return 1180}function uc(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=sc(e)|0;e=o[u+4>>2]|0;o[a>>2]=o[u>>2];o[a+4>>2]=e;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];n=lc(t,i,n)|0;p=r;return n|0}function sc(e){e=e|0;return(o[($l()|0)+24>>2]|0)+(e*12|0)|0}function lc(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0;a=p;p=p+16|0;i=a;r=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)r=o[(o[e>>2]|0)+r>>2]|0;cc(i,n);i=fc(i,n)|0;i=hc(xT[r&15](e,i)|0)|0;p=a;return i|0}function cc(e,t){e=e|0;t=t|0;return}function fc(e,t){e=e|0;t=t|0;return dc(t)|0}function hc(e){e=e|0;return e|0}function dc(e){e=e|0;return e|0}function pc(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];mc(e,n,i,0);p=r;return}function mc(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=gc()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=vc(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,yc(a,r)|0,r);p=i;return}function gc(){var e=0,t=0;if(!(r[7672]|0)){Cc(9376);Be(30,9376,v|0)|0;t=7672;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9376)|0)){e=9376;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Cc(9376)}return 9376}function vc(e){e=e|0;return 0}function yc(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=gc()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];_c(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{bc(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function _c(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function bc(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Dc(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;Ec(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];_c(a,r,n);o[l>>2]=(o[l>>2]|0)+12;xc(e,s);wc(s);p=c;return}}function Dc(e){e=e|0;return 357913941}function Ec(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function xc(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function wc(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function Cc(e){e=e|0;Ac(e);return}function kc(e){e=e|0;Sc(e+24|0);return}function Sc(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function Ac(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,5,t,Tc()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Tc(){return 1196}function Fc(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0;n=p;p=p+16|0;r=n+8|0;i=n;a=Mc(e)|0;e=o[a+4>>2]|0;o[i>>2]=o[a>>2];o[i+4>>2]=e;o[r>>2]=o[i>>2];o[r+4>>2]=o[i+4>>2];t=Oc(t,r)|0;p=n;return t|0}function Mc(e){e=e|0;return(o[(gc()|0)+24>>2]|0)+(e*12|0)|0}function Oc(e,t){e=e|0;t=t|0;var n=0;n=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)n=o[(o[e>>2]|0)+n>>2]|0;return hc(gT[n&31](e)|0)|0}function Nc(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Pc(e,n,i,1);p=r;return}function Pc(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=Rc()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=Bc(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Ic(a,r)|0,r);p=i;return}function Rc(){var e=0,t=0;if(!(r[7680]|0)){Hc(9412);Be(31,9412,v|0)|0;t=7680;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9412)|0)){e=9412;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Hc(9412)}return 9412}function Bc(e){e=e|0;return 0}function Ic(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=Rc()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Lc(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{jc(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Lc(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function jc(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Uc(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;zc(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Lc(a,r,n);o[l>>2]=(o[l>>2]|0)+12;Wc(e,s);Xc(s);p=c;return}}function Uc(e){e=e|0;return 357913941}function zc(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function Wc(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Xc(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function Hc(e){e=e|0;$c(e);return}function Gc(e){e=e|0;Jc(e+24|0);return}function Jc(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function $c(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,6,t,qc()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function qc(){return 1200}function Vc(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0;n=p;p=p+16|0;r=n+8|0;i=n;a=Yc(e)|0;e=o[a+4>>2]|0;o[i>>2]=o[a>>2];o[i+4>>2]=e;o[r>>2]=o[i>>2];o[r+4>>2]=o[i+4>>2];t=Kc(t,r)|0;p=n;return t|0}function Yc(e){e=e|0;return(o[(Rc()|0)+24>>2]|0)+(e*12|0)|0}function Kc(e,t){e=e|0;t=t|0;var n=0;n=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)n=o[(o[e>>2]|0)+n>>2]|0;return Zc(gT[n&31](e)|0)|0}function Zc(e){e=e|0;return e|0}function Qc(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];ef(e,n,i,0);p=r;return}function ef(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=tf()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=nf(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,rf(a,r)|0,r);p=i;return}function tf(){var e=0,t=0;if(!(r[7688]|0)){ff(9448);Be(32,9448,v|0)|0;t=7688;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9448)|0)){e=9448;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));ff(9448)}return 9448}function nf(e){e=e|0;return 0}function rf(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=tf()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];of(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{af(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function of(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function af(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=uf(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;sf(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];of(a,r,n);o[l>>2]=(o[l>>2]|0)+12;lf(e,s);cf(s);p=c;return}}function uf(e){e=e|0;return 357913941}function sf(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function lf(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function cf(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function ff(e){e=e|0;pf(e);return}function hf(e){e=e|0;df(e+24|0);return}function df(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function pf(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,6,t,mf()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function mf(){return 1204}function gf(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=vf(e)|0;e=o[u+4>>2]|0;o[a>>2]=o[u>>2];o[a+4>>2]=e;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];yf(t,i,n);p=r;return}function vf(e){e=e|0;return(o[(tf()|0)+24>>2]|0)+(e*12|0)|0}function yf(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0;a=p;p=p+16|0;i=a;r=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)r=o[(o[e>>2]|0)+r>>2]|0;_f(i,n);i=bf(i,n)|0;mT[r&31](e,i);p=a;return}function _f(e,t){e=e|0;t=t|0;return}function bf(e,t){e=e|0;t=t|0;return Df(t)|0}function Df(e){e=e|0;return e|0}function Ef(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];xf(e,n,i,0);p=r;return}function xf(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=wf()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=Cf(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,kf(a,r)|0,r);p=i;return}function wf(){var e=0,t=0;if(!(r[7696]|0)){Nf(9484);Be(33,9484,v|0)|0;t=7696;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9484)|0)){e=9484;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Nf(9484)}return 9484}function Cf(e){e=e|0;return 0}function kf(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=wf()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Sf(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Af(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Sf(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Af(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Tf(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;Ff(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Sf(a,r,n);o[l>>2]=(o[l>>2]|0)+12;Mf(e,s);Of(s);p=c;return}}function Tf(e){e=e|0;return 357913941}function Ff(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function Mf(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Of(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function Nf(e){e=e|0;Bf(e);return}function Pf(e){e=e|0;Rf(e+24|0);return}function Rf(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function Bf(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,1,t,If()|0,2);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function If(){return 1212}function Lf(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0;i=p;p=p+16|0;a=i+8|0;u=i;s=jf(e)|0;e=o[s+4>>2]|0;o[u>>2]=o[s>>2];o[u+4>>2]=e;o[a>>2]=o[u>>2];o[a+4>>2]=o[u+4>>2];Uf(t,a,n,r);p=i;return}function jf(e){e=e|0;return(o[(wf()|0)+24>>2]|0)+(e*12|0)|0}function Uf(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0;s=p;p=p+16|0;a=s+1|0;u=s;i=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)i=o[(o[e>>2]|0)+i>>2]|0;_f(a,n);a=bf(a,n)|0;cc(u,r);u=fc(u,r)|0;MT[i&15](e,a,u);p=s;return}function zf(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Wf(e,n,i,1);p=r;return}function Wf(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=Xf()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=Hf(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Gf(a,r)|0,r);p=i;return}function Xf(){var e=0,t=0;if(!(r[7704]|0)){Zf(9520);Be(34,9520,v|0)|0;t=7704;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9520)|0)){e=9520;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Zf(9520)}return 9520}function Hf(e){e=e|0;return 0}function Gf(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=Xf()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Jf(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{$f(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Jf(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function $f(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=qf(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;Vf(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Jf(a,r,n);o[l>>2]=(o[l>>2]|0)+12;Yf(e,s);Kf(s);p=c;return}}function qf(e){e=e|0;return 357913941}function Vf(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function Yf(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Kf(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function Zf(e){e=e|0;th(e);return}function Qf(e){e=e|0;eh(e+24|0);return}function eh(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function th(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,1,t,nh()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function nh(){return 1224}function rh(e,t,n){e=e|0;t=t|0;n=n|0;var r=0.0,i=0,a=0,u=0,s=0;i=p;p=p+16|0;a=i+8|0;u=i;s=ih(e)|0;e=o[s+4>>2]|0;o[u>>2]=o[s>>2];o[u+4>>2]=e;o[a>>2]=o[u>>2];o[a+4>>2]=o[u+4>>2];r=+oh(t,a,n);p=i;return+r}function ih(e){e=e|0;return(o[(Xf()|0)+24>>2]|0)+(e*12|0)|0}function oh(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0.0;a=p;p=p+16|0;i=a;r=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)r=o[(o[e>>2]|0)+r>>2]|0;Ks(i,n);i=Zs(i,n)|0;u=+Pa(+kT[r&7](e,i));p=a;return+u}function ah(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];uh(e,n,i,1);p=r;return}function uh(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=sh()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=lh(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,ch(a,r)|0,r);p=i;return}function sh(){var e=0,t=0;if(!(r[7712]|0)){vh(9556);Be(35,9556,v|0)|0;t=7712;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9556)|0)){e=9556;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));vh(9556)}return 9556}function lh(e){e=e|0;return 0}function ch(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=sh()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];fh(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{hh(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function fh(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function hh(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=dh(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;ph(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];fh(a,r,n);o[l>>2]=(o[l>>2]|0)+12;mh(e,s);gh(s);p=c;return}}function dh(e){e=e|0;return 357913941}function ph(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function mh(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function gh(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function vh(e){e=e|0;bh(e);return}function yh(e){e=e|0;_h(e+24|0);return}function _h(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function bh(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,5,t,Dh()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Dh(){return 1232}function Eh(e,t){e=e|0;t=t|0;var n=0.0,r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=xh(e)|0;e=o[u+4>>2]|0;o[a>>2]=o[u>>2];o[a+4>>2]=e;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];n=+wh(t,i);p=r;return+n}function xh(e){e=e|0;return(o[(sh()|0)+24>>2]|0)+(e*12|0)|0}function wh(e,t){e=e|0;t=t|0;var n=0;n=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)n=o[(o[e>>2]|0)+n>>2]|0;return+ +Pa(+DT[n&15](e))}function Ch(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];kh(e,n,i,1);p=r;return}function kh(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=Sh()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=Ah(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Th(a,r)|0,r);p=i;return}function Sh(){var e=0,t=0;if(!(r[7720]|0)){Bh(9592);Be(36,9592,v|0)|0;t=7720;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9592)|0)){e=9592;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Bh(9592)}return 9592}function Ah(e){e=e|0;return 0}function Th(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=Sh()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Fh(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Mh(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Fh(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Mh(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Oh(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;Nh(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Fh(a,r,n);o[l>>2]=(o[l>>2]|0)+12;Ph(e,s);Rh(s);p=c;return}}function Oh(e){e=e|0;return 357913941}function Nh(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function Ph(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Rh(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function Bh(e){e=e|0;jh(e);return}function Ih(e){e=e|0;Lh(e+24|0);return}function Lh(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function jh(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,7,t,Uh()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Uh(){return 1276}function zh(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0;n=p;p=p+16|0;r=n+8|0;i=n;a=Wh(e)|0;e=o[a+4>>2]|0;o[i>>2]=o[a>>2];o[i+4>>2]=e;o[r>>2]=o[i>>2];o[r+4>>2]=o[i+4>>2];t=Xh(t,r)|0;p=n;return t|0}function Wh(e){e=e|0;return(o[(Sh()|0)+24>>2]|0)+(e*12|0)|0}function Xh(e,t){e=e|0;t=t|0;var n=0,r=0,i=0;i=p;p=p+16|0;r=i;n=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)n=o[(o[e>>2]|0)+n>>2]|0;mT[n&31](r,e);r=Hh(r)|0;p=i;return r|0}function Hh(e){e=e|0;var t=0,n=0,r=0,i=0;i=p;p=p+32|0;t=i+12|0;n=i;r=us(Gh()|0)|0;if(!r)e=$h(e)|0;else{ss(t,r);ls(n,t);Jh(e,n);e=fs(t)|0}p=i;return e|0}function Gh(){var e=0;if(!(r[7736]|0)){id(9640);Be(25,9640,v|0)|0;e=7736;o[e>>2]=1;o[e+4>>2]=0}return 9640}function Jh(e,t){e=e|0;t=t|0;Zh(t,e,e+8|0)|0;return}function $h(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,u=0,s=0;n=p;p=p+16|0;i=n+4|0;u=n;r=Ux(8)|0;t=r;s=$S(16)|0;o[s>>2]=o[e>>2];o[s+4>>2]=o[e+4>>2];o[s+8>>2]=o[e+8>>2];o[s+12>>2]=o[e+12>>2];a=t+4|0;o[a>>2]=s;e=$S(8)|0;a=o[a>>2]|0;o[u>>2]=0;o[i>>2]=o[u>>2];qh(e,a,i);o[r>>2]=e;p=n;return t|0}function qh(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;n=$S(16)|0;o[n+4>>2]=0;o[n+8>>2]=0;o[n>>2]=1244;o[n+12>>2]=t;o[e+4>>2]=n;return}function Vh(e){e=e|0;zS(e);VS(e);return}function Yh(e){e=e|0;e=o[e+12>>2]|0;if(e|0)VS(e);return}function Kh(e){e=e|0;VS(e);return}function Zh(e,t,n){e=e|0;t=t|0;n=n|0;t=Qh(o[e>>2]|0,t,n)|0;n=e+4|0;o[(o[n>>2]|0)+8>>2]=t;return o[(o[n>>2]|0)+8>>2]|0}function Qh(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0;r=p;p=p+16|0;i=r;xk(i);e=Ea(e)|0;n=ed(e,o[t>>2]|0,+c[n>>3])|0;Ck(i);p=r;return n|0}function ed(e,t,n){e=e|0;t=t|0;n=+n;var r=0;r=Ca(td()|0)|0;t=Sa(t)|0;return Ae(0,r|0,e|0,t|0,+ +ka(n))|0}function td(){var e=0;if(!(r[7728]|0)){nd(9628);e=7728;o[e>>2]=1;o[e+4>>2]=0}return 9628}function nd(e){e=e|0;Ia(e,rd()|0,2);return}function rd(){return 1264}function id(e){e=e|0;Ts(e);return}function od(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];ad(e,n,i,1);p=r;return}function ad(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=ud()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=sd(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,ld(a,r)|0,r);p=i;return}function ud(){var e=0,t=0;if(!(r[7744]|0)){gd(9684);Be(37,9684,v|0)|0;t=7744;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9684)|0)){e=9684;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));gd(9684)}return 9684}function sd(e){e=e|0;return 0}function ld(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=ud()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];cd(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{fd(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function cd(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function fd(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=hd(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;dd(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];cd(a,r,n);o[l>>2]=(o[l>>2]|0)+12;pd(e,s);md(s);p=c;return}}function hd(e){e=e|0;return 357913941}function dd(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function pd(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function md(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function gd(e){e=e|0;_d(e);return}function vd(e){e=e|0;yd(e+24|0);return}function yd(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function _d(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,5,t,bd()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function bd(){return 1280}function Dd(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=Ed(e)|0;e=o[u+4>>2]|0;o[a>>2]=o[u>>2];o[a+4>>2]=e;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];n=xd(t,i,n)|0;p=r;return n|0}function Ed(e){e=e|0;return(o[(ud()|0)+24>>2]|0)+(e*12|0)|0}function xd(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;u=p;p=p+32|0;i=u;a=u+16|0;r=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)r=o[(o[e>>2]|0)+r>>2]|0;Ks(a,n);a=Zs(a,n)|0;MT[r&15](i,e,a);a=Hh(i)|0;p=u;return a|0}function wd(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Cd(e,n,i,1);p=r;return}function Cd(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=kd()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=Sd(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Ad(a,r)|0,r);p=i;return}function kd(){var e=0,t=0;if(!(r[7752]|0)){Rd(9720);Be(38,9720,v|0)|0;t=7752;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9720)|0)){e=9720;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Rd(9720)}return 9720}function Sd(e){e=e|0;return 0}function Ad(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=kd()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Td(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Fd(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Td(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Fd(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Md(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;Od(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Td(a,r,n);o[l>>2]=(o[l>>2]|0)+12;Nd(e,s);Pd(s);p=c;return}}function Md(e){e=e|0;return 357913941}function Od(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function Nd(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Pd(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function Rd(e){e=e|0;Ld(e);return}function Bd(e){e=e|0;Id(e+24|0);return}function Id(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function Ld(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,8,t,jd()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function jd(){return 1288}function Ud(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0;n=p;p=p+16|0;r=n+8|0;i=n;a=zd(e)|0;e=o[a+4>>2]|0;o[i>>2]=o[a>>2];o[i+4>>2]=e;o[r>>2]=o[i>>2];o[r+4>>2]=o[i+4>>2];t=Wd(t,r)|0;p=n;return t|0}function zd(e){e=e|0;return(o[(kd()|0)+24>>2]|0)+(e*12|0)|0}function Wd(e,t){e=e|0;t=t|0;var n=0;n=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)n=o[(o[e>>2]|0)+n>>2]|0;return Na(gT[n&31](e)|0)|0}function Xd(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Hd(e,n,i,0);p=r;return}function Hd(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=Gd()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=Jd(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,$d(a,r)|0,r);p=i;return}function Gd(){var e=0,t=0;if(!(r[7760]|0)){ep(9756);Be(39,9756,v|0)|0;t=7760;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9756)|0)){e=9756;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));ep(9756)}return 9756}function Jd(e){e=e|0;return 0}function $d(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=Gd()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];qd(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Vd(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function qd(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Vd(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Yd(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;Kd(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];qd(a,r,n);o[l>>2]=(o[l>>2]|0)+12;Zd(e,s);Qd(s);p=c;return}}function Yd(e){e=e|0;return 357913941}function Kd(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function Zd(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Qd(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function ep(e){e=e|0;rp(e);return}function tp(e){e=e|0;np(e+24|0);return}function np(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function rp(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,8,t,ip()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function ip(){return 1292}function op(e,t,n){e=e|0;t=t|0;n=+n;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=ap(e)|0;e=o[u+4>>2]|0;o[a>>2]=o[u>>2];o[a+4>>2]=e;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];up(t,i,n);p=r;return}function ap(e){e=e|0;return(o[(Gd()|0)+24>>2]|0)+(e*12|0)|0}function up(e,t,n){e=e|0;t=t|0;n=+n;var r=0,i=0,a=0;a=p;p=p+16|0;i=a;r=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)r=o[(o[e>>2]|0)+r>>2]|0;Vs(i,n);n=+Ys(i,n);hT[r&31](e,n);p=a;return}function sp(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];lp(e,n,i,0);p=r;return}function lp(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=cp()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=fp(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,hp(a,r)|0,r);p=i;return}function cp(){var e=0,t=0;if(!(r[7768]|0)){_p(9792);Be(40,9792,v|0)|0;t=7768;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9792)|0)){e=9792;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));_p(9792)}return 9792}function fp(e){e=e|0;return 0}function hp(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=cp()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];dp(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{pp(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function dp(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function pp(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=mp(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;gp(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];dp(a,r,n);o[l>>2]=(o[l>>2]|0)+12;vp(e,s);yp(s);p=c;return}}function mp(e){e=e|0;return 357913941}function gp(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function vp(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function yp(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function _p(e){e=e|0;Ep(e);return}function bp(e){e=e|0;Dp(e+24|0);return}function Dp(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function Ep(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,1,t,xp()|0,2);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function xp(){return 1300}function wp(e,t,n,r){e=e|0;t=t|0;n=n|0;r=+r;var i=0,a=0,u=0,s=0;i=p;p=p+16|0;a=i+8|0;u=i;s=Cp(e)|0;e=o[s+4>>2]|0;o[u>>2]=o[s>>2];o[u+4>>2]=e;o[a>>2]=o[u>>2];o[a+4>>2]=o[u+4>>2];kp(t,a,n,r);p=i;return}function Cp(e){e=e|0;return(o[(cp()|0)+24>>2]|0)+(e*12|0)|0}function kp(e,t,n,r){e=e|0;t=t|0;n=n|0;r=+r;var i=0,a=0,u=0,s=0;s=p;p=p+16|0;a=s+1|0;u=s;i=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)i=o[(o[e>>2]|0)+i>>2]|0;Ks(a,n);a=Zs(a,n)|0;Vs(u,r);r=+Ys(u,r);NT[i&15](e,a,r);p=s;return}function Sp(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Ap(e,n,i,0);p=r;return}function Ap(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=Tp()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=Fp(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Mp(a,r)|0,r);p=i;return}function Tp(){var e=0,t=0;if(!(r[7776]|0)){Lp(9828);Be(41,9828,v|0)|0;t=7776;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9828)|0)){e=9828;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Lp(9828)}return 9828}function Fp(e){e=e|0;return 0}function Mp(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=Tp()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Op(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Np(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Op(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Np(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Pp(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;Rp(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Op(a,r,n);o[l>>2]=(o[l>>2]|0)+12;Bp(e,s);Ip(s);p=c;return}}function Pp(e){e=e|0;return 357913941}function Rp(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function Bp(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Ip(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function Lp(e){e=e|0;zp(e);return}function jp(e){e=e|0;Up(e+24|0);return}function Up(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function zp(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,7,t,Wp()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Wp(){return 1312}function Xp(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=Hp(e)|0;e=o[u+4>>2]|0;o[a>>2]=o[u>>2];o[a+4>>2]=e;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Gp(t,i,n);p=r;return}function Hp(e){e=e|0;return(o[(Tp()|0)+24>>2]|0)+(e*12|0)|0}function Gp(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0;a=p;p=p+16|0;i=a;r=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)r=o[(o[e>>2]|0)+r>>2]|0;Ks(i,n);i=Zs(i,n)|0;mT[r&31](e,i);p=a;return}function Jp(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];$p(e,n,i,0);p=r;return}function $p(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=qp()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=Vp(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Yp(a,r)|0,r);p=i;return}function qp(){var e=0,t=0;if(!(r[7784]|0)){rm(9864);Be(42,9864,v|0)|0;t=7784;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9864)|0)){e=9864;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));rm(9864)}return 9864}function Vp(e){e=e|0;return 0}function Yp(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=qp()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Kp(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Zp(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Kp(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Zp(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Qp(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;em(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Kp(a,r,n);o[l>>2]=(o[l>>2]|0)+12;tm(e,s);nm(s);p=c;return}}function Qp(e){e=e|0;return 357913941}function em(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function tm(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function nm(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function rm(e){e=e|0;am(e);return}function im(e){e=e|0;om(e+24|0);return}function om(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function am(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,8,t,um()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function um(){return 1320}function sm(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=lm(e)|0;e=o[u+4>>2]|0;o[a>>2]=o[u>>2];o[a+4>>2]=e;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];cm(t,i,n);p=r;return}function lm(e){e=e|0;return(o[(qp()|0)+24>>2]|0)+(e*12|0)|0}function cm(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0;a=p;p=p+16|0;i=a;r=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)r=o[(o[e>>2]|0)+r>>2]|0;fm(i,n);i=hm(i,n)|0;mT[r&31](e,i);p=a;return}function fm(e,t){e=e|0;t=t|0;return}function hm(e,t){e=e|0;t=t|0;return dm(t)|0}function dm(e){e=e|0;return e|0}function pm(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];mm(e,n,i,0);p=r;return}function mm(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=gm()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=vm(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,ym(a,r)|0,r);p=i;return}function gm(){var e=0,t=0;if(!(r[7792]|0)){Cm(9900);Be(43,9900,v|0)|0;t=7792;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9900)|0)){e=9900;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Cm(9900)}return 9900}function vm(e){e=e|0;return 0}function ym(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=gm()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];_m(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{bm(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function _m(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function bm(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Dm(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;Em(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];_m(a,r,n);o[l>>2]=(o[l>>2]|0)+12;xm(e,s);wm(s);p=c;return}}function Dm(e){e=e|0;return 357913941}function Em(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function xm(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function wm(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function Cm(e){e=e|0;Am(e);return}function km(e){e=e|0;Sm(e+24|0);return}function Sm(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function Am(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,22,t,Tm()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Tm(){return 1344}function Fm(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0;n=p;p=p+16|0;r=n+8|0;i=n;a=Mm(e)|0;e=o[a+4>>2]|0;o[i>>2]=o[a>>2];o[i+4>>2]=e;o[r>>2]=o[i>>2];o[r+4>>2]=o[i+4>>2];Om(t,r);p=n;return}function Mm(e){e=e|0;return(o[(gm()|0)+24>>2]|0)+(e*12|0)|0}function Om(e,t){e=e|0;t=t|0;var n=0;n=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)n=o[(o[e>>2]|0)+n>>2]|0;pT[n&127](e);return}function Nm(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=o[e>>2]|0;i=Pm()|0;e=Rm(n)|0;Iu(a,t,i,e,Bm(n,r)|0,r);return}function Pm(){var e=0,t=0;if(!(r[7800]|0)){Xm(9936);Be(44,9936,v|0)|0;t=7800;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9936)|0)){e=9936;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Xm(9936)}return 9936}function Rm(e){e=e|0;return e|0}function Bm(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=Pm()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){Im(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{Lm(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function Im(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function Lm(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=jm(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;Um(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;Im(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;zm(e,i);Wm(i);p=s;return}}function jm(e){e=e|0;return 536870911}function Um(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)qe();else{i=$S(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function zm(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Wm(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function Xm(e){e=e|0;Jm(e);return}function Hm(e){e=e|0;Gm(e+24|0);return}function Gm(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function Jm(e){e=e|0;var t=0;t=Qu()|0;ns(e,1,23,t,mf()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function $m(e,t){e=e|0;t=t|0;Vm(o[(qm(e)|0)>>2]|0,t);return}function qm(e){e=e|0;return(o[(Pm()|0)+24>>2]|0)+(e<<3)|0}function Vm(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;_f(r,t);t=bf(r,t)|0;pT[e&127](t);p=n;return}function Ym(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=o[e>>2]|0;i=Km()|0;e=Zm(n)|0;Iu(a,t,i,e,Qm(n,r)|0,r);return}function Km(){var e=0,t=0;if(!(r[7808]|0)){ag(9972);Be(45,9972,v|0)|0;t=7808;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(9972)|0)){e=9972;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));ag(9972)}return 9972}function Zm(e){e=e|0;return e|0}function Qm(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=Km()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){eg(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{tg(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function eg(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function tg(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=ng(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;rg(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;eg(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;ig(e,i);og(i);p=s;return}}function ng(e){e=e|0;return 536870911}function rg(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)qe();else{i=$S(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function ig(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function og(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function ag(e){e=e|0;lg(e);return}function ug(e){e=e|0;sg(e+24|0);return}function sg(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function lg(e){e=e|0;var t=0;t=Qu()|0;ns(e,1,9,t,cg()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function cg(){return 1348}function fg(e,t){e=e|0;t=t|0;return dg(o[(hg(e)|0)>>2]|0,t)|0}function hg(e){e=e|0;return(o[(Km()|0)+24>>2]|0)+(e<<3)|0}function dg(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;pg(r,t);t=mg(r,t)|0;t=hc(gT[e&31](t)|0)|0;p=n;return t|0}function pg(e,t){e=e|0;t=t|0;return}function mg(e,t){e=e|0;t=t|0;return gg(t)|0}function gg(e){e=e|0;return e|0}function vg(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=o[e>>2]|0;i=yg()|0;e=_g(n)|0;Iu(a,t,i,e,bg(n,r)|0,r);return}function yg(){var e=0,t=0;if(!(r[7816]|0)){Sg(10008);Be(46,10008,v|0)|0;t=7816;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10008)|0)){e=10008;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Sg(10008)}return 10008}function _g(e){e=e|0;return e|0}function bg(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=yg()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){Dg(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{Eg(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function Dg(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function Eg(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=xg(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;wg(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;Dg(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;Cg(e,i);kg(i);p=s;return}}function xg(e){e=e|0;return 536870911}function wg(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)qe();else{i=$S(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function Cg(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function kg(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function Sg(e){e=e|0;Fg(e);return}function Ag(e){e=e|0;Tg(e+24|0);return}function Tg(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function Fg(e){e=e|0;var t=0;t=Qu()|0;ns(e,1,15,t,Tc()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Mg(e){e=e|0;return Ng(o[(Og(e)|0)>>2]|0)|0}function Og(e){e=e|0;return(o[(yg()|0)+24>>2]|0)+(e<<3)|0}function Ng(e){e=e|0;return hc(ST[e&7]()|0)|0}function Pg(){var e=0;if(!(r[7832]|0)){Hg(10052);Be(25,10052,v|0)|0;e=7832;o[e>>2]=1;o[e+4>>2]=0}return 10052}function Rg(e,t){e=e|0;t=t|0;o[e>>2]=Bg()|0;o[e+4>>2]=Ig()|0;o[e+12>>2]=t;o[e+8>>2]=Lg()|0;o[e+32>>2]=2;return}function Bg(){return 11709}function Ig(){return 1188}function Lg(){return Wg()|0}function jg(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;if((Ug(r,896)|0)==512){if(n|0){zg(n);VS(n)}}else if(t|0){Ki(t);VS(t)}return}function Ug(e,t){e=e|0;t=t|0;return t&e|0}function zg(e){e=e|0;e=o[e+4>>2]|0;if(e|0)GS(e);return}function Wg(){var e=0;if(!(r[7824]|0)){o[2511]=Xg()|0;o[2512]=0;e=7824;o[e>>2]=1;o[e+4>>2]=0}return 10044}function Xg(){return 0}function Hg(e){e=e|0;Ts(e);return}function Gg(e){e=e|0;var t=0,n=0,r=0,i=0,a=0;t=p;p=p+32|0;n=t+24|0;a=t+16|0;i=t+8|0;r=t;Jg(e,4827);$g(e,4834,3)|0;qg(e,3682,47)|0;o[a>>2]=9;o[a+4>>2]=0;o[n>>2]=o[a>>2];o[n+4>>2]=o[a+4>>2];Vg(e,4841,n)|0;o[i>>2]=1;o[i+4>>2]=0;o[n>>2]=o[i>>2];o[n+4>>2]=o[i+4>>2];Yg(e,4871,n)|0;o[r>>2]=10;o[r+4>>2]=0;o[n>>2]=o[r>>2];o[n+4>>2]=o[r+4>>2];Kg(e,4891,n)|0;p=t;return}function Jg(e,t){e=e|0;t=t|0;var n=0;n=Hy()|0;o[e>>2]=n;Gy(n,t);cD(o[e>>2]|0);return}function $g(e,t,n){e=e|0;t=t|0;n=n|0;Cy(e,Ou(t)|0,n,0);return e|0}function qg(e,t,n){e=e|0;t=t|0;n=n|0;uy(e,Ou(t)|0,n,0);return e|0}function Vg(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];jv(e,t,i);p=r;return e|0}function Yg(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];vv(e,t,i);p=r;return e|0}function Kg(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=o[n+4>>2]|0;o[a>>2]=o[n>>2];o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Zg(e,t,i);p=r;return e|0}function Zg(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Qg(e,n,i,1);p=r;return}function Qg(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=ev()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=tv(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,nv(a,r)|0,r);p=i;return}function ev(){var e=0,t=0;if(!(r[7840]|0)){lv(10100);Be(48,10100,v|0)|0;t=7840;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10100)|0)){e=10100;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));lv(10100)}return 10100}function tv(e){e=e|0;return 0}function nv(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=ev()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];rv(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{iv(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function rv(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function iv(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=ov(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;av(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];rv(a,r,n);o[l>>2]=(o[l>>2]|0)+12;uv(e,s);sv(s);p=c;return}}function ov(e){e=e|0;return 357913941}function av(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function uv(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function sv(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function lv(e){e=e|0;hv(e);return}function cv(e){e=e|0;fv(e+24|0);return}function fv(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function hv(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,6,t,dv()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function dv(){return 1364}function pv(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=mv(e)|0;e=o[u+4>>2]|0;o[a>>2]=o[u>>2];o[a+4>>2]=e;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];n=gv(t,i,n)|0;p=r;return n|0}function mv(e){e=e|0;return(o[(ev()|0)+24>>2]|0)+(e*12|0)|0}function gv(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0;a=p;p=p+16|0;i=a;r=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)r=o[(o[e>>2]|0)+r>>2]|0;Ks(i,n);i=Zs(i,n)|0;i=bl(xT[r&15](e,i)|0)|0;p=a;return i|0}function vv(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];yv(e,n,i,0);p=r;return}function yv(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=_v()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=bv(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Dv(a,r)|0,r);p=i;return}function _v(){var e=0,t=0;if(!(r[7848]|0)){Av(10136);Be(49,10136,v|0)|0;t=7848;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10136)|0)){e=10136;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Av(10136)}return 10136}function bv(e){e=e|0;return 0}function Dv(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=_v()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Ev(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{xv(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Ev(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function xv(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=wv(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;Cv(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Ev(a,r,n);o[l>>2]=(o[l>>2]|0)+12;kv(e,s);Sv(s);p=c;return}}function wv(e){e=e|0;return 357913941}function Cv(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function kv(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Sv(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function Av(e){e=e|0;Mv(e);return}function Tv(e){e=e|0;Fv(e+24|0);return}function Fv(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function Mv(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,9,t,Ov()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Ov(){return 1372}function Nv(e,t,n){e=e|0;t=t|0;n=+n;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;i=r+8|0;a=r;u=Pv(e)|0;e=o[u+4>>2]|0;o[a>>2]=o[u>>2];o[a+4>>2]=e;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Rv(t,i,n);p=r;return}function Pv(e){e=e|0;return(o[(_v()|0)+24>>2]|0)+(e*12|0)|0}function Rv(e,t,n){e=e|0;t=t|0;n=+n;var r=0,i=0,a=0,u=ft;a=p;p=p+16|0;i=a;r=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)r=o[(o[e>>2]|0)+r>>2]|0;Bv(i,n);u=q(Iv(i,n));fT[r&1](e,u);p=a;return}function Bv(e,t){e=e|0;t=+t;return}function Iv(e,t){e=e|0;t=+t;return q(Lv(t))}function Lv(e){e=+e;return q(e)}function jv(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;i=r+8|0;a=r;s=o[n>>2]|0;u=o[n+4>>2]|0;n=Ou(t)|0;o[a>>2]=s;o[a+4>>2]=u;o[i>>2]=o[a>>2];o[i+4>>2]=o[a+4>>2];Uv(e,n,i,0);p=r;return}function Uv(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0;i=p;p=p+32|0;a=i+16|0;f=i+8|0;s=i;c=o[n>>2]|0;l=o[n+4>>2]|0;u=o[e>>2]|0;e=zv()|0;o[f>>2]=c;o[f+4>>2]=l;o[a>>2]=o[f>>2];o[a+4>>2]=o[f+4>>2];n=Wv(a)|0;o[s>>2]=c;o[s+4>>2]=l;o[a>>2]=o[s>>2];o[a+4>>2]=o[s+4>>2];Iu(u,t,e,n,Xv(a,r)|0,r);p=i;return}function zv(){var e=0,t=0;if(!(r[7856]|0)){Yv(10172);Be(50,10172,v|0)|0;t=7856;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10172)|0)){e=10172;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Yv(10172)}return 10172}function Wv(e){e=e|0;return 0}function Xv(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0;f=p;p=p+32|0;i=f+24|0;u=f+16|0;s=f;l=f+8|0;a=o[e>>2]|0;r=o[e+4>>2]|0;o[s>>2]=a;o[s+4>>2]=r;h=zv()|0;c=h+24|0;e=zu(t,4)|0;o[l>>2]=e;t=h+28|0;n=o[t>>2]|0;if(n>>>0<(o[h+32>>2]|0)>>>0){o[u>>2]=a;o[u+4>>2]=r;o[i>>2]=o[u>>2];o[i+4>>2]=o[u+4>>2];Hv(n,i,e);e=(o[t>>2]|0)+12|0;o[t>>2]=e}else{Gv(c,s,l);e=o[t>>2]|0}p=f;return((e-(o[c>>2]|0)|0)/12|0)+-1|0}function Hv(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=o[t+4>>2]|0;o[e>>2]=o[t>>2];o[e+4>>2]=r;o[e+8>>2]=n;return}function Gv(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0;c=p;p=p+48|0;r=c+32|0;u=c+24|0;s=c;l=e+4|0;i=(((o[l>>2]|0)-(o[e>>2]|0)|0)/12|0)+1|0;a=Jv(e)|0;if(a>>>0>>0)US(e);else{f=o[e>>2]|0;d=((o[e+8>>2]|0)-f|0)/12|0;h=d<<1;$v(s,d>>>0>>1>>>0?h>>>0>>0?i:h:a,((o[l>>2]|0)-f|0)/12|0,e+8|0);l=s+8|0;a=o[l>>2]|0;i=o[t+4>>2]|0;n=o[n>>2]|0;o[u>>2]=o[t>>2];o[u+4>>2]=i;o[r>>2]=o[u>>2];o[r+4>>2]=o[u+4>>2];Hv(a,r,n);o[l>>2]=(o[l>>2]|0)+12;qv(e,s);Vv(s);p=c;return}}function Jv(e){e=e|0;return 357913941}function $v(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>357913941)qe();else{i=$S(t*12|0)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n*12|0)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t*12|0);return}function qv(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(((i|0)/-12|0)*12|0)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Vv(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~(((r+-12-t|0)>>>0)/12|0)*12|0);e=o[e>>2]|0;if(e|0)VS(e);return}function Yv(e){e=e|0;Qv(e);return}function Kv(e){e=e|0;Zv(e+24|0);return}function Zv(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~(((t+-12-r|0)>>>0)/12|0)*12|0);VS(n)}return}function Qv(e){e=e|0;var t=0;t=Qu()|0;ns(e,2,3,t,ey()|0,2);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function ey(){return 1380}function ty(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0;i=p;p=p+16|0;a=i+8|0;u=i;s=ny(e)|0;e=o[s+4>>2]|0;o[u>>2]=o[s>>2];o[u+4>>2]=e;o[a>>2]=o[u>>2];o[a+4>>2]=o[u+4>>2];ry(t,a,n,r);p=i;return}function ny(e){e=e|0;return(o[(zv()|0)+24>>2]|0)+(e*12|0)|0}function ry(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0;s=p;p=p+16|0;a=s+1|0;u=s;i=o[t>>2]|0;t=o[t+4>>2]|0;e=e+(t>>1)|0;if(t&1)i=o[(o[e>>2]|0)+i>>2]|0;Ks(a,n);a=Zs(a,n)|0;iy(u,r);u=oy(u,r)|0;MT[i&15](e,a,u);p=s;return}function iy(e,t){e=e|0;t=t|0;return}function oy(e,t){e=e|0;t=t|0;return ay(t)|0}function ay(e){e=e|0;return(e|0)!=0|0}function uy(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=o[e>>2]|0;i=sy()|0;e=ly(n)|0;Iu(a,t,i,e,cy(n,r)|0,r);return}function sy(){var e=0,t=0;if(!(r[7864]|0)){vy(10208);Be(51,10208,v|0)|0;t=7864;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10208)|0)){e=10208;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));vy(10208)}return 10208}function ly(e){e=e|0;return e|0}function cy(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=sy()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){fy(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{hy(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function fy(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function hy(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=dy(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;py(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;fy(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;my(e,i);gy(i);p=s;return}}function dy(e){e=e|0;return 536870911}function py(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)qe();else{i=$S(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function my(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function gy(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function vy(e){e=e|0;by(e);return}function yy(e){e=e|0;_y(e+24|0);return}function _y(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function by(e){e=e|0;var t=0;t=Qu()|0;ns(e,1,24,t,Dy()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Dy(){return 1392}function Ey(e,t){e=e|0;t=t|0;wy(o[(xy(e)|0)>>2]|0,t);return}function xy(e){e=e|0;return(o[(sy()|0)+24>>2]|0)+(e<<3)|0}function wy(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;pg(r,t);t=mg(r,t)|0;pT[e&127](t);p=n;return}function Cy(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=o[e>>2]|0;i=ky()|0;e=Sy(n)|0;Iu(a,t,i,e,Ay(n,r)|0,r);return}function ky(){var e=0,t=0;if(!(r[7872]|0)){Ry(10244);Be(52,10244,v|0)|0;t=7872;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10244)|0)){e=10244;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Ry(10244)}return 10244}function Sy(e){e=e|0;return e|0}function Ay(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=ky()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){Ty(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{Fy(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function Ty(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function Fy(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=My(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;Oy(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;Ty(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;Ny(e,i);Py(i);p=s;return}}function My(e){e=e|0;return 536870911}function Oy(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)qe();else{i=$S(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function Ny(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Py(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function Ry(e){e=e|0;Ly(e);return}function By(e){e=e|0;Iy(e+24|0);return}function Iy(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function Ly(e){e=e|0;var t=0;t=Qu()|0;ns(e,1,16,t,jy()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function jy(){return 1400}function Uy(e){e=e|0;return Wy(o[(zy(e)|0)>>2]|0)|0}function zy(e){e=e|0;return(o[(ky()|0)+24>>2]|0)+(e<<3)|0}function Wy(e){e=e|0;return Xy(ST[e&7]()|0)|0}function Xy(e){e=e|0;return e|0}function Hy(){var e=0;if(!(r[7880]|0)){Ky(10280);Be(25,10280,v|0)|0;e=7880;o[e>>2]=1;o[e+4>>2]=0}return 10280}function Gy(e,t){e=e|0;t=t|0;o[e>>2]=Jy()|0;o[e+4>>2]=$y()|0;o[e+12>>2]=t;o[e+8>>2]=qy()|0;o[e+32>>2]=4;return}function Jy(){return 11711}function $y(){return 1356}function qy(){return Wg()|0}function Vy(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;if((Ug(r,896)|0)==512){if(n|0){Yy(n);VS(n)}}else if(t|0){Xi(t);VS(t)}return}function Yy(e){e=e|0;e=o[e+4>>2]|0;if(e|0)GS(e);return}function Ky(e){e=e|0;Ts(e);return}function Zy(e){e=e|0;Qy(e,4920);e_(e)|0;t_(e)|0;return}function Qy(e,t){e=e|0;t=t|0;var n=0;n=Gh()|0;o[e>>2]=n;S_(n,t);cD(o[e>>2]|0);return}function e_(e){e=e|0;var t=0;t=o[e>>2]|0;r_(t,m_()|0);return e|0}function t_(e){e=e|0;var t=0;t=o[e>>2]|0;r_(t,n_()|0);return e|0}function n_(){var e=0;if(!(r[7888]|0)){i_(10328);Be(53,10328,v|0)|0;e=7888;o[e>>2]=1;o[e+4>>2]=0}if(!(Yu(10328)|0))i_(10328);return 10328}function r_(e,t){e=e|0;t=t|0;Iu(e,0,t,0,0,0);return}function i_(e){e=e|0;u_(e);l_(e,10);return}function o_(e){e=e|0;a_(e+24|0);return}function a_(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function u_(e){e=e|0;var t=0;t=Qu()|0;ns(e,5,1,t,h_()|0,2);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function s_(e,t,n){e=e|0;t=t|0;n=+n;c_(e,t,n);return}function l_(e,t){e=e|0;t=t|0;o[e+20>>2]=t;return}function c_(e,t,n){e=e|0;t=t|0;n=+n;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+16|0;a=r+8|0;s=r+13|0;i=r;u=r+12|0;Ks(s,t);o[a>>2]=Zs(s,t)|0;Vs(u,n);c[i>>3]=+Ys(u,n);f_(e,a,i);p=r;return}function f_(e,t,n){e=e|0;t=t|0;n=n|0;Ho(e+8|0,o[t>>2]|0,+c[n>>3]);r[e+24>>0]=1;return}function h_(){return 1404}function d_(e,t){e=e|0;t=+t;return p_(e,t)|0}function p_(e,t){e=e|0;t=+t;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;r=p;p=p+16|0;a=r+4|0;u=r+8|0;s=r;i=Ux(8)|0;n=i;l=$S(16)|0;Ks(a,e);e=Zs(a,e)|0;Vs(u,t);Ho(l,e,+Ys(u,t));u=n+4|0;o[u>>2]=l;e=$S(8)|0;u=o[u>>2]|0;o[s>>2]=0;o[a>>2]=o[s>>2];qh(e,u,a);o[i>>2]=e;p=r;return n|0}function m_(){var e=0;if(!(r[7896]|0)){g_(10364);Be(54,10364,v|0)|0;e=7896;o[e>>2]=1;o[e+4>>2]=0}if(!(Yu(10364)|0))g_(10364);return 10364}function g_(e){e=e|0;__(e);l_(e,55);return}function v_(e){e=e|0;y_(e+24|0);return}function y_(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function __(e){e=e|0;var t=0;t=Qu()|0;ns(e,5,4,t,w_()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function b_(e){e=e|0;D_(e);return}function D_(e){e=e|0;E_(e);return}function E_(e){e=e|0;x_(e+8|0);r[e+24>>0]=1;return}function x_(e){e=e|0;o[e>>2]=0;c[e+8>>3]=0.0;return}function w_(){return 1424}function C_(){return k_()|0}function k_(){var e=0,t=0,n=0,r=0,i=0,a=0,u=0;t=p;p=p+16|0;i=t+4|0;u=t;n=Ux(8)|0;e=n;r=$S(16)|0;x_(r);a=e+4|0;o[a>>2]=r;r=$S(8)|0;a=o[a>>2]|0;o[u>>2]=0;o[i>>2]=o[u>>2];qh(r,a,i);o[n>>2]=r;p=t;return e|0}function S_(e,t){e=e|0;t=t|0;o[e>>2]=A_()|0;o[e+4>>2]=T_()|0;o[e+12>>2]=t;o[e+8>>2]=F_()|0;o[e+32>>2]=5;return}function A_(){return 11710}function T_(){return 1416}function F_(){return N_()|0}function M_(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;if((Ug(r,896)|0)==512){if(n|0){O_(n);VS(n)}}else if(t|0)VS(t);return}function O_(e){e=e|0;e=o[e+4>>2]|0;if(e|0)GS(e);return}function N_(){var e=0;if(!(r[7904]|0)){o[2600]=P_()|0;o[2601]=0;e=7904;o[e>>2]=1;o[e+4>>2]=0}return 10400}function P_(){return o[357]|0}function R_(e){e=e|0;B_(e,4926);I_(e)|0;return}function B_(e,t){e=e|0;t=t|0;var n=0;n=as()|0;o[e>>2]=n;V_(n,t);cD(o[e>>2]|0);return}function I_(e){e=e|0;var t=0;t=o[e>>2]|0;r_(t,L_()|0);return e|0}function L_(){var e=0;if(!(r[7912]|0)){j_(10412);Be(56,10412,v|0)|0;e=7912;o[e>>2]=1;o[e+4>>2]=0}if(!(Yu(10412)|0))j_(10412);return 10412}function j_(e){e=e|0;W_(e);l_(e,57);return}function U_(e){e=e|0;z_(e+24|0);return}function z_(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function W_(e){e=e|0;var t=0;t=Qu()|0;ns(e,5,5,t,J_()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function X_(e){e=e|0;H_(e);return}function H_(e){e=e|0;G_(e);return}function G_(e){e=e|0;var t=0,n=0;t=e+8|0;n=t+48|0;do{o[t>>2]=0;t=t+4|0}while((t|0)<(n|0));r[e+56>>0]=1;return}function J_(){return 1432}function $_(){return q_()|0}function q_(){var e=0,t=0,n=0,r=0,i=0,a=0,u=0,s=0;u=p;p=p+16|0;e=u+4|0;t=u;n=Ux(8)|0;r=n;i=$S(48)|0;a=i;s=a+48|0;do{o[a>>2]=0;a=a+4|0}while((a|0)<(s|0));a=r+4|0;o[a>>2]=i;s=$S(8)|0;a=o[a>>2]|0;o[t>>2]=0;o[e>>2]=o[t>>2];ds(s,a,e);o[n>>2]=s;p=u;return r|0}function V_(e,t){e=e|0;t=t|0;o[e>>2]=Y_()|0;o[e+4>>2]=K_()|0;o[e+12>>2]=t;o[e+8>>2]=Z_()|0;o[e+32>>2]=6;return}function Y_(){return 11704}function K_(){return 1436}function Z_(){return N_()|0}function Q_(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;if((Ug(r,896)|0)==512){if(n|0){eb(n);VS(n)}}else if(t|0)VS(t);return}function eb(e){e=e|0;e=o[e+4>>2]|0;if(e|0)GS(e);return}function tb(e){e=e|0;nb(e,4933);rb(e)|0;ib(e)|0;return}function nb(e,t){e=e|0;t=t|0;var n=0;n=Nb()|0;o[e>>2]=n;Pb(n,t);cD(o[e>>2]|0);return}function rb(e){e=e|0;var t=0;t=o[e>>2]|0;r_(t,Db()|0);return e|0}function ib(e){e=e|0;var t=0;t=o[e>>2]|0;r_(t,ob()|0);return e|0}function ob(){var e=0;if(!(r[7920]|0)){ab(10452);Be(58,10452,v|0)|0;e=7920;o[e>>2]=1;o[e+4>>2]=0}if(!(Yu(10452)|0))ab(10452);return 10452}function ab(e){e=e|0;lb(e);l_(e,1);return}function ub(e){e=e|0;sb(e+24|0);return}function sb(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function lb(e){e=e|0;var t=0;t=Qu()|0;ns(e,5,1,t,pb()|0,2);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function cb(e,t,n){e=e|0;t=+t;n=+n;fb(e,t,n);return}function fb(e,t,n){e=e|0;t=+t;n=+n;var r=0,i=0,o=0,a=0,u=0;r=p;p=p+32|0;o=r+8|0;u=r+17|0;i=r;a=r+16|0;Vs(u,t);c[o>>3]=+Ys(u,t);Vs(a,n);c[i>>3]=+Ys(a,n);hb(e,o,i);p=r;return}function hb(e,t,n){e=e|0;t=t|0;n=n|0;db(e+8|0,+c[t>>3],+c[n>>3]);r[e+24>>0]=1;return}function db(e,t,n){e=e|0;t=+t;n=+n;c[e>>3]=t;c[e+8>>3]=n;return}function pb(){return 1472}function mb(e,t){e=+e;t=+t;return gb(e,t)|0}function gb(e,t){e=+e;t=+t;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;r=p;p=p+16|0;u=r+4|0;s=r+8|0;l=r;i=Ux(8)|0;n=i;a=$S(16)|0;Vs(u,e);e=+Ys(u,e);Vs(s,t);db(a,e,+Ys(s,t));s=n+4|0;o[s>>2]=a;a=$S(8)|0;s=o[s>>2]|0;o[l>>2]=0;o[u>>2]=o[l>>2];vb(a,s,u);o[i>>2]=a;p=r;return n|0}function vb(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;n=$S(16)|0;o[n+4>>2]=0;o[n+8>>2]=0;o[n>>2]=1452;o[n+12>>2]=t;o[e+4>>2]=n;return}function yb(e){e=e|0;zS(e);VS(e);return}function _b(e){e=e|0;e=o[e+12>>2]|0;if(e|0)VS(e);return}function bb(e){e=e|0;VS(e);return}function Db(){var e=0;if(!(r[7928]|0)){Eb(10488);Be(59,10488,v|0)|0;e=7928;o[e>>2]=1;o[e+4>>2]=0}if(!(Yu(10488)|0))Eb(10488);return 10488}function Eb(e){e=e|0;Cb(e);l_(e,60);return}function xb(e){e=e|0;wb(e+24|0);return}function wb(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function Cb(e){e=e|0;var t=0;t=Qu()|0;ns(e,5,6,t,Fb()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function kb(e){e=e|0;Sb(e);return}function Sb(e){e=e|0;Ab(e);return}function Ab(e){e=e|0;Tb(e+8|0);r[e+24>>0]=1;return}function Tb(e){e=e|0;o[e>>2]=0;o[e+4>>2]=0;o[e+8>>2]=0;o[e+12>>2]=0;return}function Fb(){return 1492}function Mb(){return Ob()|0}function Ob(){var e=0,t=0,n=0,r=0,i=0,a=0,u=0;t=p;p=p+16|0;i=t+4|0;u=t;n=Ux(8)|0;e=n;r=$S(16)|0;Tb(r);a=e+4|0;o[a>>2]=r;r=$S(8)|0;a=o[a>>2]|0;o[u>>2]=0;o[i>>2]=o[u>>2];vb(r,a,i);o[n>>2]=r;p=t;return e|0}function Nb(){var e=0;if(!(r[7936]|0)){Ub(10524);Be(25,10524,v|0)|0;e=7936;o[e>>2]=1;o[e+4>>2]=0}return 10524}function Pb(e,t){e=e|0;t=t|0;o[e>>2]=Rb()|0;o[e+4>>2]=Bb()|0;o[e+12>>2]=t;o[e+8>>2]=Ib()|0;o[e+32>>2]=7;return}function Rb(){return 11700}function Bb(){return 1484}function Ib(){return N_()|0}function Lb(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;if((Ug(r,896)|0)==512){if(n|0){jb(n);VS(n)}}else if(t|0)VS(t);return}function jb(e){e=e|0;e=o[e+4>>2]|0;if(e|0)GS(e);return}function Ub(e){e=e|0;Ts(e);return}function zb(e,t,n){e=e|0;t=t|0;n=n|0;e=Ou(t)|0;t=Wb(n)|0;n=Xb(n,0)|0;AD(e,t,n,Hb()|0,0);return}function Wb(e){e=e|0;return e|0}function Xb(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=Hb()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){Zb(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{Qb(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function Hb(){var e=0,t=0;if(!(r[7944]|0)){Gb(10568);Be(61,10568,v|0)|0;t=7944;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10568)|0)){e=10568;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Gb(10568)}return 10568}function Gb(e){e=e|0;qb(e);return}function Jb(e){e=e|0;$b(e+24|0);return}function $b(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function qb(e){e=e|0;var t=0;t=Qu()|0;ns(e,1,17,t,qc()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Vb(e){e=e|0;return Kb(o[(Yb(e)|0)>>2]|0)|0}function Yb(e){e=e|0;return(o[(Hb()|0)+24>>2]|0)+(e<<3)|0}function Kb(e){e=e|0;return Zc(ST[e&7]()|0)|0}function Zb(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function Qb(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=eD(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;tD(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;Zb(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;nD(e,i);rD(i);p=s;return}}function eD(e){e=e|0;return 536870911}function tD(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)qe();else{i=$S(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function nD(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function rD(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function iD(){oD();return}function oD(){aD(10604);return}function aD(e){e=e|0;uD(e,4955);return}function uD(e,t){e=e|0;t=t|0;var n=0;n=sD()|0;o[e>>2]=n;lD(n,t);cD(o[e>>2]|0);return}function sD(){var e=0;if(!(r[7952]|0)){bD(10612);Be(25,10612,v|0)|0;e=7952;o[e>>2]=1;o[e+4>>2]=0}return 10612}function lD(e,t){e=e|0;t=t|0;o[e>>2]=mD()|0;o[e+4>>2]=gD()|0;o[e+12>>2]=t;o[e+8>>2]=vD()|0;o[e+32>>2]=8;return}function cD(e){e=e|0;var t=0,n=0;t=p;p=p+16|0;n=t;fD()|0;o[n>>2]=e;hD(10608,n);p=t;return}function fD(){if(!(r[11714]|0)){o[2652]=0;Be(62,10608,v|0)|0;r[11714]=1}return 10608}function hD(e,t){e=e|0;t=t|0;var n=0;n=$S(8)|0;o[n+4>>2]=o[t>>2];o[n>>2]=o[e>>2];o[e>>2]=n;return}function dD(e){e=e|0;pD(e);return}function pD(e){e=e|0;var t=0,n=0;t=o[e>>2]|0;if(t|0)do{n=t;t=o[t>>2]|0;VS(n)}while((t|0)!=0);o[e>>2]=0;return}function mD(){return 11715}function gD(){return 1496}function vD(){return Wg()|0}function yD(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;if((Ug(r,896)|0)==512){if(n|0){_D(n);VS(n)}}else if(t|0)VS(t);return}function _D(e){e=e|0;e=o[e+4>>2]|0;if(e|0)GS(e);return}function bD(e){e=e|0;Ts(e);return}function DD(e,t){e=e|0;t=t|0;var n=0,r=0;fD()|0;n=o[2652]|0;e:do{if(n|0){while(1){r=o[n+4>>2]|0;if(r|0?(rS(ED(r)|0,e)|0)==0:0)break;n=o[n>>2]|0;if(!n)break e}xD(r,t)}}while(0);return}function ED(e){e=e|0;return o[e+12>>2]|0}function xD(e,t){e=e|0;t=t|0;var n=0;e=e+36|0;n=o[e>>2]|0;if(n|0){Zi(n);VS(n)}n=$S(4)|0;ya(n,t);o[e>>2]=n;return}function wD(){if(!(r[11716]|0)){o[2664]=0;Be(63,10656,v|0)|0;r[11716]=1}return 10656}function CD(){var e=0;if(!(r[11717]|0)){kD();o[2665]=1504;r[11717]=1;e=1504}else e=o[2665]|0;return e|0}function kD(){if(!(r[11740]|0)){r[11718]=zu(zu(8,0)|0,0)|0;r[11719]=zu(zu(0,0)|0,0)|0;r[11720]=zu(zu(0,16)|0,0)|0;r[11721]=zu(zu(8,0)|0,0)|0;r[11722]=zu(zu(0,0)|0,0)|0;r[11723]=zu(zu(8,0)|0,0)|0;r[11724]=zu(zu(0,0)|0,0)|0;r[11725]=zu(zu(8,0)|0,0)|0;r[11726]=zu(zu(0,0)|0,0)|0;r[11727]=zu(zu(8,0)|0,0)|0;r[11728]=zu(zu(0,0)|0,0)|0;r[11729]=zu(zu(0,0)|0,32)|0;r[11730]=zu(zu(0,0)|0,32)|0;r[11740]=1}return}function SD(){return 1572}function AD(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;var a=0,u=0,s=0,l=0,c=0,f=0;a=p;p=p+32|0;f=a+16|0;c=a+12|0;l=a+8|0;s=a+4|0;u=a;o[f>>2]=e;o[c>>2]=t;o[l>>2]=n;o[s>>2]=r;o[u>>2]=i;wD()|0;TD(10656,f,c,l,s,u);p=a;return}function TD(e,t,n,r,i,a){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;a=a|0;var u=0;u=$S(24)|0;Uu(u+4|0,o[t>>2]|0,o[n>>2]|0,o[r>>2]|0,o[i>>2]|0,o[a>>2]|0);o[u>>2]=o[e>>2];o[e>>2]=u;return}function FD(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0,m=0,g=0,v=0,y=0,_=0,b=0;b=p;p=p+32|0;g=b+20|0;v=b+8|0;y=b+4|0;_=b;t=o[t>>2]|0;if(t|0){m=g+4|0;l=g+8|0;c=v+4|0;f=v+8|0;h=v+8|0;d=g+8|0;do{u=t+4|0;s=MD(u)|0;if(s|0){i=OD(s)|0;o[g>>2]=0;o[m>>2]=0;o[l>>2]=0;r=(ND(s)|0)+1|0;PD(g,r);if(r|0)while(1){r=r+-1|0;vk(v,o[i>>2]|0);a=o[m>>2]|0;if(a>>>0<(o[d>>2]|0)>>>0){o[a>>2]=o[v>>2];o[m>>2]=(o[m>>2]|0)+4}else RD(g,v);if(!r)break;else i=i+4|0}r=BD(s)|0;o[v>>2]=0;o[c>>2]=0;o[f>>2]=0;e:do{if(o[r>>2]|0){i=0;a=0;while(1){if((i|0)==(a|0))ID(v,r);else{o[i>>2]=o[r>>2];o[c>>2]=(o[c>>2]|0)+4}r=r+4|0;if(!(o[r>>2]|0))break e;i=o[c>>2]|0;a=o[h>>2]|0}}}while(0);o[y>>2]=LD(u)|0;o[_>>2]=Yu(s)|0;jD(n,e,y,_,g,v);UD(v);zD(g)}t=o[t>>2]|0}while((t|0)!=0)}p=b;return}function MD(e){e=e|0;return o[e+12>>2]|0}function OD(e){e=e|0;return o[e+12>>2]|0}function ND(e){e=e|0;return o[e+16>>2]|0}function PD(e,t){e=e|0;t=t|0;var n=0,r=0,i=0;i=p;p=p+32|0;n=i;r=o[e>>2]|0;if((o[e+8>>2]|0)-r>>2>>>0>>0){bE(n,t,(o[e+4>>2]|0)-r>>2,e+8|0);DE(e,n);EE(n)}p=i;return}function RD(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0;u=p;p=p+32|0;n=u;r=e+4|0;i=((o[r>>2]|0)-(o[e>>2]|0)>>2)+1|0;a=gE(e)|0;if(a>>>0>>0)US(e);else{s=o[e>>2]|0;c=(o[e+8>>2]|0)-s|0;l=c>>1;bE(n,c>>2>>>0>>1>>>0?l>>>0>>0?i:l:a,(o[r>>2]|0)-s>>2,e+8|0);a=n+8|0;o[o[a>>2]>>2]=o[t>>2];o[a>>2]=(o[a>>2]|0)+4;DE(e,n);EE(n);p=u;return}}function BD(e){e=e|0;return o[e+8>>2]|0}function ID(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0;u=p;p=p+32|0;n=u;r=e+4|0;i=((o[r>>2]|0)-(o[e>>2]|0)>>2)+1|0;a=dE(e)|0;if(a>>>0>>0)US(e);else{s=o[e>>2]|0;c=(o[e+8>>2]|0)-s|0;l=c>>1;vE(n,c>>2>>>0>>1>>>0?l>>>0>>0?i:l:a,(o[r>>2]|0)-s>>2,e+8|0);a=n+8|0;o[o[a>>2]>>2]=o[t>>2];o[a>>2]=(o[a>>2]|0)+4;yE(e,n);_E(n);p=u;return}}function LD(e){e=e|0;return o[e>>2]|0}function jD(e,t,n,r,i,o){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;o=o|0;WD(e,t,n,r,i,o);return}function UD(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-4-r|0)>>>2)<<2);VS(n)}return}function zD(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-4-r|0)>>>2)<<2);VS(n)}return}function WD(e,t,n,r,i,a){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;a=a|0;var u=0,s=0,l=0,c=0,f=0,h=0;u=p;p=p+48|0;f=u+40|0;s=u+32|0;h=u+24|0;l=u+12|0;c=u;xk(s);e=Ea(e)|0;o[h>>2]=o[t>>2];n=o[n>>2]|0;r=o[r>>2]|0;XD(l,i);HD(c,a);o[f>>2]=o[h>>2];GD(e,f,n,r,l,c);UD(c);zD(l);Ck(s);p=u;return}function XD(e,t){e=e|0;t=t|0;var n=0,r=0;o[e>>2]=0;o[e+4>>2]=0;o[e+8>>2]=0;n=t+4|0;r=(o[n>>2]|0)-(o[t>>2]|0)>>2;if(r|0){pE(e,r);mE(e,o[t>>2]|0,o[n>>2]|0,r)}return}function HD(e,t){e=e|0;t=t|0;var n=0,r=0;o[e>>2]=0;o[e+4>>2]=0;o[e+8>>2]=0;n=t+4|0;r=(o[n>>2]|0)-(o[t>>2]|0)>>2;if(r|0){fE(e,r);hE(e,o[t>>2]|0,o[n>>2]|0,r)}return}function GD(e,t,n,r,i,a){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;a=a|0;var u=0,s=0,l=0,c=0,f=0,h=0;u=p;p=p+32|0;f=u+28|0;h=u+24|0;s=u+12|0;l=u;c=Ca(JD()|0)|0;o[h>>2]=o[t>>2];o[f>>2]=o[h>>2];t=$D(f)|0;n=qD(n)|0;r=VD(r)|0;o[s>>2]=o[i>>2];f=i+4|0;o[s+4>>2]=o[f>>2];h=i+8|0;o[s+8>>2]=o[h>>2];o[h>>2]=0;o[f>>2]=0;o[i>>2]=0;i=YD(s)|0;o[l>>2]=o[a>>2];f=a+4|0;o[l+4>>2]=o[f>>2];h=a+8|0;o[l+8>>2]=o[h>>2];o[h>>2]=0;o[f>>2]=0;o[a>>2]=0;Fe(0,c|0,e|0,t|0,n|0,r|0,i|0,KD(l)|0)|0;UD(l);zD(s);p=u;return}function JD(){var e=0;if(!(r[7968]|0)){lE(10708);e=7968;o[e>>2]=1;o[e+4>>2]=0}return 10708}function $D(e){e=e|0;return tE(e)|0}function qD(e){e=e|0;return QD(e)|0}function VD(e){e=e|0;return Zc(e)|0}function YD(e){e=e|0;return eE(e)|0}function KD(e){e=e|0;return ZD(e)|0}function ZD(e){e=e|0;var t=0,n=0,r=0;r=(o[e+4>>2]|0)-(o[e>>2]|0)|0;n=r>>2;r=Ux(r+4|0)|0;o[r>>2]=n;if(n|0){t=0;do{o[r+4+(t<<2)>>2]=QD(o[(o[e>>2]|0)+(t<<2)>>2]|0)|0;t=t+1|0}while((t|0)!=(n|0))}return r|0}function QD(e){e=e|0;return e|0}function eE(e){e=e|0;var t=0,n=0,r=0;r=(o[e+4>>2]|0)-(o[e>>2]|0)|0;n=r>>2;r=Ux(r+4|0)|0;o[r>>2]=n;if(n|0){t=0;do{o[r+4+(t<<2)>>2]=tE((o[e>>2]|0)+(t<<2)|0)|0;t=t+1|0}while((t|0)!=(n|0))}return r|0}function tE(e){e=e|0;var t=0,n=0,r=0,i=0;i=p;p=p+32|0;t=i+12|0;n=i;r=us(nE()|0)|0;if(!r)e=rE(e)|0;else{ss(t,r);ls(n,t);bk(e,n);e=fs(t)|0}p=i;return e|0}function nE(){var e=0;if(!(r[7960]|0)){sE(10664);Be(25,10664,v|0)|0;e=7960;o[e>>2]=1;o[e+4>>2]=0}return 10664}function rE(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,u=0,s=0;n=p;p=p+16|0;i=n+4|0;u=n;r=Ux(8)|0;t=r;s=$S(4)|0;o[s>>2]=o[e>>2];a=t+4|0;o[a>>2]=s;e=$S(8)|0;a=o[a>>2]|0;o[u>>2]=0;o[i>>2]=o[u>>2];iE(e,a,i);o[r>>2]=e;p=n;return t|0}function iE(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;n=$S(16)|0;o[n+4>>2]=0;o[n+8>>2]=0;o[n>>2]=1656;o[n+12>>2]=t;o[e+4>>2]=n;return}function oE(e){e=e|0;zS(e);VS(e);return}function aE(e){e=e|0;e=o[e+12>>2]|0;if(e|0)VS(e);return}function uE(e){e=e|0;VS(e);return}function sE(e){e=e|0;Ts(e);return}function lE(e){e=e|0;Ia(e,cE()|0,5);return}function cE(){return 1676}function fE(e,t){e=e|0;t=t|0;var n=0;if((dE(e)|0)>>>0>>0)US(e);if(t>>>0>1073741823)qe();else{n=$S(t<<2)|0;o[e+4>>2]=n;o[e>>2]=n;o[e+8>>2]=n+(t<<2);return}}function hE(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;r=e+4|0;e=n-t|0;if((e|0)>0){iA(o[r>>2]|0,t|0,e|0)|0;o[r>>2]=(o[r>>2]|0)+(e>>>2<<2)}return}function dE(e){e=e|0;return 1073741823}function pE(e,t){e=e|0;t=t|0;var n=0;if((gE(e)|0)>>>0>>0)US(e);if(t>>>0>1073741823)qe();else{n=$S(t<<2)|0;o[e+4>>2]=n;o[e>>2]=n;o[e+8>>2]=n+(t<<2);return}}function mE(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;r=e+4|0;e=n-t|0;if((e|0)>0){iA(o[r>>2]|0,t|0,e|0)|0;o[r>>2]=(o[r>>2]|0)+(e>>>2<<2)}return}function gE(e){e=e|0;return 1073741823}function vE(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>1073741823)qe();else{i=$S(t<<2)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<2)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<2);return}function yE(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>2)<<2)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function _E(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-4-t|0)>>>2)<<2);e=o[e>>2]|0;if(e|0)VS(e);return}function bE(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>1073741823)qe();else{i=$S(t<<2)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<2)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<2);return}function DE(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>2)<<2)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function EE(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-4-t|0)>>>2)<<2);e=o[e>>2]|0;if(e|0)VS(e);return}function xE(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;var a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0,m=0,g=0,v=0;v=p;p=p+32|0;f=v+20|0;h=v+12|0;c=v+16|0;d=v+4|0;m=v;g=v+8|0;s=CD()|0;a=o[s>>2]|0;u=o[a>>2]|0;if(u|0){l=o[s+8>>2]|0;s=o[s+4>>2]|0;while(1){vk(f,u);wE(e,f,s,l);a=a+4|0;u=o[a>>2]|0;if(!u)break;else{l=l+1|0;s=s+1|0}}}a=SD()|0;u=o[a>>2]|0;if(u|0)do{vk(f,u);o[h>>2]=o[a+4>>2];CE(t,f,h);a=a+8|0;u=o[a>>2]|0}while((u|0)!=0);a=o[(fD()|0)>>2]|0;if(a|0)do{t=o[a+4>>2]|0;vk(f,o[(kE(t)|0)>>2]|0);o[h>>2]=ED(t)|0;SE(n,f,h);a=o[a>>2]|0}while((a|0)!=0);vk(c,0);a=wD()|0;o[f>>2]=o[c>>2];FD(f,a,i);a=o[(fD()|0)>>2]|0;if(a|0){e=f+4|0;t=f+8|0;n=f+8|0;do{l=o[a+4>>2]|0;vk(h,o[(kE(l)|0)>>2]|0);TE(d,AE(l)|0);u=o[d>>2]|0;if(u|0){o[f>>2]=0;o[e>>2]=0;o[t>>2]=0;do{vk(m,o[(kE(o[u+4>>2]|0)|0)>>2]|0);s=o[e>>2]|0;if(s>>>0<(o[n>>2]|0)>>>0){o[s>>2]=o[m>>2];o[e>>2]=(o[e>>2]|0)+4}else RD(f,m);u=o[u>>2]|0}while((u|0)!=0);FE(r,h,f);zD(f)}o[g>>2]=o[h>>2];c=ME(l)|0;o[f>>2]=o[g>>2];FD(f,c,i);ks(d);a=o[a>>2]|0}while((a|0)!=0)}p=v;return}function wE(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;GE(e,t,n,r);return}function CE(e,t,n){e=e|0;t=t|0;n=n|0;HE(e,t,n);return}function kE(e){e=e|0;return e|0}function SE(e,t,n){e=e|0;t=t|0;n=n|0;jE(e,t,n);return}function AE(e){e=e|0;return e+16|0}function TE(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;a=p;p=p+16|0;i=a+8|0;n=a;o[e>>2]=0;r=o[t>>2]|0;o[i>>2]=r;o[n>>2]=e;n=IE(n)|0;if(r|0){r=$S(12)|0;u=(LE(i)|0)+4|0;e=o[u+4>>2]|0;t=r+4|0;o[t>>2]=o[u>>2];o[t+4>>2]=e;t=o[o[i>>2]>>2]|0;o[i>>2]=t;if(!t)e=r;else{t=r;while(1){e=$S(12)|0;l=(LE(i)|0)+4|0;s=o[l+4>>2]|0;u=e+4|0;o[u>>2]=o[l>>2];o[u+4>>2]=s;o[t>>2]=e;u=o[o[i>>2]>>2]|0;o[i>>2]=u;if(!u)break;else t=e}}o[e>>2]=o[n>>2];o[n>>2]=r}p=a;return}function FE(e,t,n){e=e|0;t=t|0;n=n|0;OE(e,t,n);return}function ME(e){e=e|0;return e+24|0}function OE(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+32|0;u=r+24|0;i=r+16|0;s=r+12|0;a=r;xk(i);e=Ea(e)|0;o[s>>2]=o[t>>2];XD(a,n);o[u>>2]=o[s>>2];NE(e,u,a);zD(a);Ck(i);p=r;return}function NE(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0;r=p;p=p+32|0;u=r+16|0;s=r+12|0;i=r;a=Ca(PE()|0)|0;o[s>>2]=o[t>>2];o[u>>2]=o[s>>2];t=$D(u)|0;o[i>>2]=o[n>>2];u=n+4|0;o[i+4>>2]=o[u>>2];s=n+8|0;o[i+8>>2]=o[s>>2];o[s>>2]=0;o[u>>2]=0;o[n>>2]=0;ke(0,a|0,e|0,t|0,YD(i)|0)|0;zD(i);p=r;return}function PE(){var e=0;if(!(r[7976]|0)){RE(10720);e=7976;o[e>>2]=1;o[e+4>>2]=0}return 10720}function RE(e){e=e|0;Ia(e,BE()|0,2);return}function BE(){return 1732}function IE(e){e=e|0;return o[e>>2]|0}function LE(e){e=e|0;return o[e>>2]|0}function jE(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+32|0;a=r+16|0;i=r+8|0;u=r;xk(i);e=Ea(e)|0;o[u>>2]=o[t>>2];n=o[n>>2]|0;o[a>>2]=o[u>>2];UE(e,a,n);Ck(i);p=r;return}function UE(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+16|0;a=r+4|0;u=r;i=Ca(zE()|0)|0;o[u>>2]=o[t>>2];o[a>>2]=o[u>>2];t=$D(a)|0;ke(0,i|0,e|0,t|0,qD(n)|0)|0;p=r;return}function zE(){var e=0;if(!(r[7984]|0)){WE(10732);e=7984;o[e>>2]=1;o[e+4>>2]=0}return 10732}function WE(e){e=e|0;Ia(e,XE()|0,2);return}function XE(){return 1744}function HE(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0;r=p;p=p+32|0;a=r+16|0;i=r+8|0;u=r;xk(i);e=Ea(e)|0;o[u>>2]=o[t>>2];n=o[n>>2]|0;o[a>>2]=o[u>>2];UE(e,a,n);Ck(i);p=r;return}function GE(e,t,n,i){e=e|0;t=t|0;n=n|0;i=i|0;var a=0,u=0,s=0,l=0;a=p;p=p+32|0;s=a+16|0;u=a+8|0;l=a;xk(u);e=Ea(e)|0;o[l>>2]=o[t>>2];n=r[n>>0]|0;i=r[i>>0]|0;o[s>>2]=o[l>>2];JE(e,s,n,i);Ck(u);p=a;return}function JE(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0;i=p;p=p+16|0;u=i+4|0;s=i;a=Ca($E()|0)|0;o[s>>2]=o[t>>2];o[u>>2]=o[s>>2];t=$D(u)|0;n=qE(n)|0;nt(0,a|0,e|0,t|0,n|0,qE(r)|0)|0;p=i;return}function $E(){var e=0;if(!(r[7992]|0)){YE(10744);e=7992;o[e>>2]=1;o[e+4>>2]=0}return 10744}function qE(e){e=e|0;return VE(e)|0}function VE(e){e=e|0;return e&255|0}function YE(e){e=e|0;Ia(e,KE()|0,3);return}function KE(){return 1756}function ZE(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0,m=0;m=p;p=p+32|0;l=m+8|0;c=m+4|0;f=m+20|0;h=m;Hl(e,0);i=_k(t)|0;o[l>>2]=0;d=l+4|0;o[d>>2]=0;o[l+8>>2]=0;switch(i<<24>>24){case 0:{r[f>>0]=0;QE(c,n,f);ex(e,c)|0;Qi(c);break}case 8:{d=yk(t)|0;r[f>>0]=8;vk(h,o[d+4>>2]|0);tx(c,n,f,h,d+8|0);ex(e,c)|0;Qi(c);break}case 9:{u=yk(t)|0;t=o[u+4>>2]|0;if(t|0){s=l+8|0;a=u+12|0;while(1){t=t+-1|0;vk(c,o[a>>2]|0);i=o[d>>2]|0;if(i>>>0<(o[s>>2]|0)>>>0){o[i>>2]=o[c>>2];o[d>>2]=(o[d>>2]|0)+4}else RD(l,c);if(!t)break;else a=a+4|0}}r[f>>0]=9;vk(h,o[u+8>>2]|0);nx(c,n,f,h,l);ex(e,c)|0;Qi(c);break}default:{d=yk(t)|0;r[f>>0]=i;vk(h,o[d+4>>2]|0);rx(c,n,f,h);ex(e,c)|0;Qi(c)}}zD(l);p=m;return}function QE(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,o=0;i=p;p=p+16|0;o=i;xk(o);t=Ea(t)|0;vx(e,t,r[n>>0]|0);Ck(o);p=i;return}function ex(e,t){e=e|0;t=t|0;var n=0;n=o[e>>2]|0;if(n|0)rt(n|0);o[e>>2]=o[t>>2];o[t>>2]=0;return e|0}function tx(e,t,n,i,a){e=e|0;t=t|0;n=n|0;i=i|0;a=a|0;var u=0,s=0,l=0,c=0;u=p;p=p+32|0;l=u+16|0;s=u+8|0;c=u;xk(s);t=Ea(t)|0;n=r[n>>0]|0;o[c>>2]=o[i>>2];a=o[a>>2]|0;o[l>>2]=o[c>>2];dx(e,t,n,l,a);Ck(s);p=u;return}function nx(e,t,n,i,a){e=e|0;t=t|0;n=n|0;i=i|0;a=a|0;var u=0,s=0,l=0,c=0,f=0;u=p;p=p+32|0;c=u+24|0;s=u+16|0;f=u+12|0;l=u;xk(s);t=Ea(t)|0;n=r[n>>0]|0;o[f>>2]=o[i>>2];XD(l,a);o[c>>2]=o[f>>2];lx(e,t,n,c,l);zD(l);Ck(s);p=u;return}function rx(e,t,n,i){e=e|0;t=t|0;n=n|0;i=i|0;var a=0,u=0,s=0,l=0;a=p;p=p+32|0;s=a+16|0;u=a+8|0;l=a;xk(u);t=Ea(t)|0;n=r[n>>0]|0;o[l>>2]=o[i>>2];o[s>>2]=o[l>>2];ix(e,t,n,s);Ck(u);p=a;return}function ix(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,u=0,s=0;i=p;p=p+16|0;a=i+4|0;s=i;u=Ca(ox()|0)|0;n=qE(n)|0;o[s>>2]=o[r>>2];o[a>>2]=o[s>>2];ax(e,ke(0,u|0,t|0,n|0,$D(a)|0)|0);p=i;return}function ox(){var e=0;if(!(r[8e3]|0)){ux(10756);e=8e3;o[e>>2]=1;o[e+4>>2]=0}return 10756}function ax(e,t){e=e|0;t=t|0;Hl(e,t);return}function ux(e){e=e|0;Ia(e,sx()|0,2);return}function sx(){return 1772}function lx(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;var a=0,u=0,s=0,l=0,c=0;a=p;p=p+32|0;l=a+16|0;c=a+12|0;u=a;s=Ca(cx()|0)|0;n=qE(n)|0;o[c>>2]=o[r>>2];o[l>>2]=o[c>>2];r=$D(l)|0;o[u>>2]=o[i>>2];l=i+4|0;o[u+4>>2]=o[l>>2];c=i+8|0;o[u+8>>2]=o[c>>2];o[c>>2]=0;o[l>>2]=0;o[i>>2]=0;ax(e,nt(0,s|0,t|0,n|0,r|0,YD(u)|0)|0);zD(u);p=a;return}function cx(){var e=0;if(!(r[8008]|0)){fx(10768);e=8008;o[e>>2]=1;o[e+4>>2]=0}return 10768}function fx(e){e=e|0;Ia(e,hx()|0,3);return}function hx(){return 1784}function dx(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;var a=0,u=0,s=0,l=0;a=p;p=p+16|0;s=a+4|0;l=a;u=Ca(px()|0)|0;n=qE(n)|0;o[l>>2]=o[r>>2];o[s>>2]=o[l>>2];r=$D(s)|0;ax(e,nt(0,u|0,t|0,n|0,r|0,VD(i)|0)|0);p=a;return}function px(){var e=0;if(!(r[8016]|0)){mx(10780);e=8016;o[e>>2]=1;o[e+4>>2]=0}return 10780}function mx(e){e=e|0;Ia(e,gx()|0,3);return}function gx(){return 1800}function vx(e,t,n){e=e|0;t=t|0;n=n|0;var r=0;r=Ca(yx()|0)|0;ax(e,it(0,r|0,t|0,qE(n)|0)|0);return}function yx(){var e=0;if(!(r[8024]|0)){_x(10792);e=8024;o[e>>2]=1;o[e+4>>2]=0}return 10792}function _x(e){e=e|0;Ia(e,bx()|0,1);return}function bx(){return 1816}function Dx(){Ex();xx();wx();return}function Ex(){o[2702]=qS(65536)|0;return}function xx(){$x(10856);return}function wx(){Cx(10816);return}function Cx(e){e=e|0;kx(e,5044);Sx(e)|0;return}function kx(e,t){e=e|0;t=t|0;var n=0;n=nE()|0;o[e>>2]=n;zx(n,t);cD(o[e>>2]|0);return}function Sx(e){e=e|0;var t=0;t=o[e>>2]|0;r_(t,Ax()|0);return e|0}function Ax(){var e=0;if(!(r[8032]|0)){Tx(10820);Be(64,10820,v|0)|0;e=8032;o[e>>2]=1;o[e+4>>2]=0}if(!(Yu(10820)|0))Tx(10820);return 10820}function Tx(e){e=e|0;Ox(e);l_(e,25);return}function Fx(e){e=e|0;Mx(e+24|0);return}function Mx(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function Ox(e){e=e|0;var t=0;t=Qu()|0;ns(e,5,18,t,Ix()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Nx(e,t){e=e|0;t=t|0;Px(e,t);return}function Px(e,t){e=e|0;t=t|0;var n=0,r=0,i=0;n=p;p=p+16|0;r=n;i=n+4|0;cc(i,t);o[r>>2]=fc(i,t)|0;Rx(e,r);p=n;return}function Rx(e,t){e=e|0;t=t|0;Bx(e+4|0,o[t>>2]|0);r[e+8>>0]=1;return}function Bx(e,t){e=e|0;t=t|0;o[e>>2]=t;return}function Ix(){return 1824}function Lx(e){e=e|0;return jx(e)|0}function jx(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,u=0,s=0;n=p;p=p+16|0;i=n+4|0;u=n;r=Ux(8)|0;t=r;s=$S(4)|0;cc(i,e);Bx(s,fc(i,e)|0);a=t+4|0;o[a>>2]=s;e=$S(8)|0;a=o[a>>2]|0;o[u>>2]=0;o[i>>2]=o[u>>2];iE(e,a,i);o[r>>2]=e;p=n;return t|0}function Ux(e){e=e|0;var t=0,n=0;e=e+7&-8;if(e>>>0<=32768?(t=o[2701]|0,e>>>0<=(65536-t|0)>>>0):0){n=(o[2702]|0)+t|0;o[2701]=t+e;e=n}else{e=qS(e+8|0)|0;o[e>>2]=o[2703];o[2703]=e;e=e+8|0}return e|0}function zx(e,t){e=e|0;t=t|0;o[e>>2]=Wx()|0;o[e+4>>2]=Xx()|0;o[e+12>>2]=t;o[e+8>>2]=Hx()|0;o[e+32>>2]=9;return}function Wx(){return 11744}function Xx(){return 1832}function Hx(){return N_()|0}function Gx(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;if((Ug(r,896)|0)==512){if(n|0){Jx(n);VS(n)}}else if(t|0)VS(t);return}function Jx(e){e=e|0;e=o[e+4>>2]|0;if(e|0)GS(e);return}function $x(e){e=e|0;qx(e,5052);Vx(e)|0;Yx(e,5058,26)|0;Kx(e,5069,1)|0;Zx(e,5077,10)|0;Qx(e,5087,19)|0;tw(e,5094,27)|0;return}function qx(e,t){e=e|0;t=t|0;var n=0;n=lk()|0;o[e>>2]=n;ck(n,t);cD(o[e>>2]|0);return}function Vx(e){e=e|0;var t=0;t=o[e>>2]|0;r_(t,qC()|0);return e|0}function Yx(e,t,n){e=e|0;t=t|0;n=n|0;SC(e,Ou(t)|0,n,0);return e|0}function Kx(e,t,n){e=e|0;t=t|0;n=n|0;lC(e,Ou(t)|0,n,0);return e|0}function Zx(e,t,n){e=e|0;t=t|0;n=n|0;Lw(e,Ou(t)|0,n,0);return e|0}function Qx(e,t,n){e=e|0;t=t|0;n=n|0;bw(e,Ou(t)|0,n,0);return e|0}function ew(e,t){e=e|0;t=t|0;var n=0,r=0;e:while(1){n=o[2703]|0;while(1){if((n|0)==(t|0))break e;r=o[n>>2]|0;o[2703]=r;if(!n)n=r;else break}VS(n)}o[2701]=e;return}function tw(e,t,n){e=e|0;t=t|0;n=n|0;nw(e,Ou(t)|0,n,0);return e|0}function nw(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=o[e>>2]|0;i=rw()|0;e=iw(n)|0;Iu(a,t,i,e,ow(n,r)|0,r);return}function rw(){var e=0,t=0;if(!(r[8040]|0)){hw(10860);Be(65,10860,v|0)|0;t=8040;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10860)|0)){e=10860;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));hw(10860)}return 10860}function iw(e){e=e|0;return e|0}function ow(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=rw()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){aw(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{uw(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function aw(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function uw(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=sw(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;lw(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;aw(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;cw(e,i);fw(i);p=s;return}}function sw(e){e=e|0;return 536870911}function lw(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)qe();else{i=$S(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function cw(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function fw(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function hw(e){e=e|0;mw(e);return}function dw(e){e=e|0;pw(e+24|0);return}function pw(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function mw(e){e=e|0;var t=0;t=Qu()|0;ns(e,1,11,t,gw()|0,2);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function gw(){return 1840}function vw(e,t,n){e=e|0;t=t|0;n=n|0;_w(o[(yw(e)|0)>>2]|0,t,n);return}function yw(e){e=e|0;return(o[(rw()|0)+24>>2]|0)+(e<<3)|0}function _w(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,o=0;r=p;p=p+16|0;o=r+1|0;i=r;cc(o,t);t=fc(o,t)|0;cc(i,n);n=fc(i,n)|0;mT[e&31](t,n);p=r;return}function bw(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=o[e>>2]|0;i=Dw()|0;e=Ew(n)|0;Iu(a,t,i,e,xw(n,r)|0,r);return}function Dw(){var e=0,t=0;if(!(r[8048]|0)){Fw(10896);Be(66,10896,v|0)|0;t=8048;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10896)|0)){e=10896;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));Fw(10896)}return 10896}function Ew(e){e=e|0;return e|0}function xw(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=Dw()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){ww(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{Cw(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function ww(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function Cw(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=kw(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;Sw(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;ww(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;Aw(e,i);Tw(i);p=s;return}}function kw(e){e=e|0;return 536870911}function Sw(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)qe();else{i=$S(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function Aw(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function Tw(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function Fw(e){e=e|0;Nw(e);return}function Mw(e){e=e|0;Ow(e+24|0);return}function Ow(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function Nw(e){e=e|0;var t=0;t=Qu()|0;ns(e,1,11,t,Pw()|0,1);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Pw(){return 1852}function Rw(e,t){e=e|0;t=t|0;return Iw(o[(Bw(e)|0)>>2]|0,t)|0}function Bw(e){e=e|0;return(o[(Dw()|0)+24>>2]|0)+(e<<3)|0}function Iw(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;cc(r,t);t=fc(r,t)|0;t=Zc(gT[e&31](t)|0)|0;p=n;return t|0}function Lw(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=o[e>>2]|0;i=jw()|0;e=Uw(n)|0;Iu(a,t,i,e,zw(n,r)|0,r);return}function jw(){var e=0,t=0;if(!(r[8056]|0)){qw(10932);Be(67,10932,v|0)|0;t=8056;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10932)|0)){e=10932;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));qw(10932)}return 10932}function Uw(e){e=e|0;return e|0}function zw(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=jw()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){Ww(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{Xw(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function Ww(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function Xw(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=Hw(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;Gw(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;Ww(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;Jw(e,i);$w(i);p=s;return}}function Hw(e){e=e|0;return 536870911}function Gw(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)qe();else{i=$S(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function Jw(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function $w(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function qw(e){e=e|0;Kw(e);return}function Vw(e){e=e|0;Yw(e+24|0);return}function Yw(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function Kw(e){e=e|0;var t=0;t=Qu()|0;ns(e,1,7,t,Zw()|0,2);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function Zw(){return 1860}function Qw(e,t,n){e=e|0;t=t|0;n=n|0;return tC(o[(eC(e)|0)>>2]|0,t,n)|0}function eC(e){e=e|0;return(o[(jw()|0)+24>>2]|0)+(e<<3)|0}function tC(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0;r=p;p=p+32|0;u=r+12|0;a=r+8|0;s=r;l=r+16|0;i=r+4|0;nC(l,t);rC(s,l,t);Ul(i,n);n=zl(i,n)|0;o[u>>2]=o[s>>2];MT[e&15](a,u,n);n=iC(a)|0;Qi(a);Wl(i);p=r;return n|0}function nC(e,t){e=e|0;t=t|0;return}function rC(e,t,n){e=e|0;t=t|0;n=n|0;oC(e,n);return}function iC(e){e=e|0;return Ea(e)|0}function oC(e,t){e=e|0;t=t|0;var n=0,r=0,i=0;i=p;p=p+16|0;n=i;r=t;if(!(r&1))o[e>>2]=o[t>>2];else{aC(n,0);Le(r|0,n|0)|0;uC(e,n);sC(n)}p=i;return}function aC(e,t){e=e|0;t=t|0;Oa(e,t);o[e+4>>2]=0;r[e+8>>0]=0;return}function uC(e,t){e=e|0;t=t|0;o[e>>2]=o[t+4>>2];return}function sC(e){e=e|0;r[e+8>>0]=0;return}function lC(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=o[e>>2]|0;i=cC()|0;e=fC(n)|0;Iu(a,t,i,e,hC(n,r)|0,r);return}function cC(){var e=0,t=0;if(!(r[8064]|0)){_C(10968);Be(68,10968,v|0)|0;t=8064;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(10968)|0)){e=10968;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));_C(10968)}return 10968}function fC(e){e=e|0;return e|0}function hC(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=cC()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){dC(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{pC(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function dC(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function pC(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=mC(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;gC(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;dC(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;vC(e,i);yC(i);p=s;return}}function mC(e){e=e|0;return 536870911}function gC(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)qe();else{i=$S(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function vC(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function yC(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function _C(e){e=e|0;EC(e);return}function bC(e){e=e|0;DC(e+24|0);return}function DC(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function EC(e){e=e|0;var t=0;t=Qu()|0;ns(e,1,1,t,xC()|0,5);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function xC(){return 1872}function wC(e,t,n,r,i,a){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;a=a|0;kC(o[(CC(e)|0)>>2]|0,t,n,r,i,a);return}function CC(e){e=e|0;return(o[(cC()|0)+24>>2]|0)+(e<<3)|0}function kC(e,t,n,r,i,o){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;o=o|0;var a=0,u=0,s=0,l=0,c=0,f=0;a=p;p=p+32|0;u=a+16|0;s=a+12|0;l=a+8|0;c=a+4|0;f=a;Ul(u,t);t=zl(u,t)|0;Ul(s,n);n=zl(s,n)|0;Ul(l,r);r=zl(l,r)|0;Ul(c,i);i=zl(c,i)|0;Ul(f,o);o=zl(f,o)|0;cT[e&1](t,n,r,i,o);Wl(f);Wl(c);Wl(l);Wl(s);Wl(u);p=a;return}function SC(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=o[e>>2]|0;i=AC()|0;e=TC(n)|0;Iu(a,t,i,e,FC(n,r)|0,r);return}function AC(){var e=0,t=0;if(!(r[8072]|0)){IC(11004);Be(69,11004,v|0)|0;t=8072;o[t>>2]=1;o[t+4>>2]=0}if(!(Yu(11004)|0)){e=11004;t=e+36|0;do{o[e>>2]=0;e=e+4|0}while((e|0)<(t|0));IC(11004)}return 11004}function TC(e){e=e|0;return e|0}function FC(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0,s=0,l=0;s=p;p=p+16|0;i=s;a=s+4|0;o[i>>2]=e;l=AC()|0;u=l+24|0;t=zu(t,4)|0;o[a>>2]=t;n=l+28|0;r=o[n>>2]|0;if(r>>>0<(o[l+32>>2]|0)>>>0){MC(r,e,t);t=(o[n>>2]|0)+8|0;o[n>>2]=t}else{OC(u,i,a);t=o[n>>2]|0}p=s;return(t-(o[u>>2]|0)>>3)+-1|0}function MC(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;o[e+4>>2]=n;return}function OC(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0;s=p;p=p+32|0;i=s;a=e+4|0;u=((o[a>>2]|0)-(o[e>>2]|0)>>3)+1|0;r=NC(e)|0;if(r>>>0>>0)US(e);else{l=o[e>>2]|0;f=(o[e+8>>2]|0)-l|0;c=f>>2;PC(i,f>>3>>>0>>1>>>0?c>>>0>>0?u:c:r,(o[a>>2]|0)-l>>3,e+8|0);u=i+8|0;MC(o[u>>2]|0,o[t>>2]|0,o[n>>2]|0);o[u>>2]=(o[u>>2]|0)+8;RC(e,i);BC(i);p=s;return}}function NC(e){e=e|0;return 536870911}function PC(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;o[e+12>>2]=0;o[e+16>>2]=r;do{if(t){if(t>>>0>536870911)qe();else{i=$S(t<<3)|0;break}}else i=0}while(0);o[e>>2]=i;r=i+(n<<3)|0;o[e+8>>2]=r;o[e+4>>2]=r;o[e+12>>2]=i+(t<<3);return}function RC(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,u=0;r=o[e>>2]|0;u=e+4|0;a=t+4|0;i=(o[u>>2]|0)-r|0;n=(o[a>>2]|0)+(0-(i>>3)<<3)|0;o[a>>2]=n;if((i|0)>0){iA(n|0,r|0,i|0)|0;r=a;n=o[a>>2]|0}else r=a;a=o[e>>2]|0;o[e>>2]=n;o[r>>2]=a;a=t+8|0;i=o[u>>2]|0;o[u>>2]=o[a>>2];o[a>>2]=i;a=e+8|0;u=t+12|0;e=o[a>>2]|0;o[a>>2]=o[u>>2];o[u>>2]=e;o[t>>2]=o[r>>2];return}function BC(e){e=e|0;var t=0,n=0,r=0;t=o[e+4>>2]|0;n=e+8|0;r=o[n>>2]|0;if((r|0)!=(t|0))o[n>>2]=r+(~((r+-8-t|0)>>>3)<<3);e=o[e>>2]|0;if(e|0)VS(e);return}function IC(e){e=e|0;UC(e);return}function LC(e){e=e|0;jC(e+24|0);return}function jC(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function UC(e){e=e|0;var t=0;t=Qu()|0;ns(e,1,12,t,zC()|0,2);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function zC(){return 1896}function WC(e,t,n){e=e|0;t=t|0;n=n|0;HC(o[(XC(e)|0)>>2]|0,t,n);return}function XC(e){e=e|0;return(o[(AC()|0)+24>>2]|0)+(e<<3)|0}function HC(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,o=0;r=p;p=p+16|0;o=r+4|0;i=r;GC(o,t);t=JC(o,t)|0;Ul(i,n);n=zl(i,n)|0;mT[e&31](t,n);Wl(i);p=r;return}function GC(e,t){e=e|0;t=t|0;return}function JC(e,t){e=e|0;t=t|0;return $C(t)|0}function $C(e){e=e|0;return e|0}function qC(){var e=0;if(!(r[8080]|0)){VC(11040);Be(70,11040,v|0)|0;e=8080;o[e>>2]=1;o[e+4>>2]=0}if(!(Yu(11040)|0))VC(11040);return 11040}function VC(e){e=e|0;ZC(e);l_(e,71);return}function YC(e){e=e|0;KC(e+24|0);return}function KC(e){e=e|0;var t=0,n=0,r=0;n=o[e>>2]|0;r=n;if(n|0){e=e+4|0;t=o[e>>2]|0;if((t|0)!=(n|0))o[e>>2]=t+(~((t+-8-r|0)>>>3)<<3);VS(n)}return}function ZC(e){e=e|0;var t=0;t=Qu()|0;ns(e,5,7,t,nk()|0,0);o[e+24>>2]=0;o[e+28>>2]=0;o[e+32>>2]=0;return}function QC(e){e=e|0;ek(e);return}function ek(e){e=e|0;tk(e);return}function tk(e){e=e|0;r[e+8>>0]=1;return}function nk(){return 1936}function rk(){return ik()|0}function ik(){var e=0,t=0,n=0,r=0,i=0,a=0,u=0;t=p;p=p+16|0;i=t+4|0;u=t;n=Ux(8)|0;e=n;a=e+4|0;o[a>>2]=$S(1)|0;r=$S(8)|0;a=o[a>>2]|0;o[u>>2]=0;o[i>>2]=o[u>>2];ok(r,a,i);o[n>>2]=r;p=t;return e|0}function ok(e,t,n){e=e|0;t=t|0;n=n|0;o[e>>2]=t;n=$S(16)|0;o[n+4>>2]=0;o[n+8>>2]=0;o[n>>2]=1916;o[n+12>>2]=t;o[e+4>>2]=n;return}function ak(e){e=e|0;zS(e);VS(e);return}function uk(e){e=e|0;e=o[e+12>>2]|0;if(e|0)VS(e);return}function sk(e){e=e|0;VS(e);return}function lk(){var e=0;if(!(r[8088]|0)){gk(11076);Be(25,11076,v|0)|0;e=8088;o[e>>2]=1;o[e+4>>2]=0}return 11076}function ck(e,t){e=e|0;t=t|0;o[e>>2]=fk()|0;o[e+4>>2]=hk()|0;o[e+12>>2]=t;o[e+8>>2]=dk()|0;o[e+32>>2]=10;return}function fk(){return 11745}function hk(){return 1940}function dk(){return Wg()|0}function pk(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;if((Ug(r,896)|0)==512){if(n|0){mk(n);VS(n)}}else if(t|0)VS(t);return}function mk(e){e=e|0;e=o[e+4>>2]|0;if(e|0)GS(e);return}function gk(e){e=e|0;Ts(e);return}function vk(e,t){e=e|0;t=t|0;o[e>>2]=t;return}function yk(e){e=e|0;return o[e>>2]|0}function _k(e){e=e|0;return r[o[e>>2]>>0]|0}function bk(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;o[r>>2]=o[e>>2];Dk(t,r)|0;p=n;return}function Dk(e,t){e=e|0;t=t|0;var n=0;n=Ek(o[e>>2]|0,t)|0;t=e+4|0;o[(o[t>>2]|0)+8>>2]=n;return o[(o[t>>2]|0)+8>>2]|0}function Ek(e,t){e=e|0;t=t|0;var n=0,r=0;n=p;p=p+16|0;r=n;xk(r);e=Ea(e)|0;t=wk(e,o[t>>2]|0)|0;Ck(r);p=n;return t|0}function xk(e){e=e|0;o[e>>2]=o[2701];o[e+4>>2]=o[2703];return}function wk(e,t){e=e|0;t=t|0;var n=0;n=Ca(kk()|0)|0;return it(0,n|0,e|0,VD(t)|0)|0}function Ck(e){e=e|0;ew(o[e>>2]|0,o[e+4>>2]|0);return}function kk(){var e=0;if(!(r[8096]|0)){Sk(11120);e=8096;o[e>>2]=1;o[e+4>>2]=0}return 11120}function Sk(e){e=e|0;Ia(e,Ak()|0,1);return}function Ak(){return 1948}function Tk(){Fk();return}function Fk(){var e=0,t=0,n=0,i=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0,m=0,g=0,v=0,y=0,_=0;y=p;p=p+16|0;d=y+4|0;m=y;Ne(65536,10804,o[2702]|0,10812);n=CD()|0;t=o[n>>2]|0;e=o[t>>2]|0;if(e|0){i=o[n+8>>2]|0;n=o[n+4>>2]|0;while(1){ze(e|0,a[n>>0]|0|0,r[i>>0]|0);t=t+4|0;e=o[t>>2]|0;if(!e)break;else{i=i+1|0;n=n+1|0}}}e=SD()|0;t=o[e>>2]|0;if(t|0)do{We(t|0,o[e+4>>2]|0);e=e+8|0;t=o[e>>2]|0}while((t|0)!=0);We(Mk()|0,5167);h=fD()|0;e=o[h>>2]|0;e:do{if(e|0){do{Ok(o[e+4>>2]|0);e=o[e>>2]|0}while((e|0)!=0);e=o[h>>2]|0;if(e|0){f=h;do{while(1){u=e;e=o[e>>2]|0;u=o[u+4>>2]|0;if(!(Nk(u)|0))break;o[m>>2]=f;o[d>>2]=o[m>>2];Pk(h,d)|0;if(!e)break e}Rk(u);f=o[f>>2]|0;t=Bk(u)|0;s=Ye()|0;l=p;p=p+((1*(t<<2)|0)+15&-16)|0;c=p;p=p+((1*(t<<2)|0)+15&-16)|0;t=o[(AE(u)|0)>>2]|0;if(t|0){n=l;i=c;while(1){o[n>>2]=o[(kE(o[t+4>>2]|0)|0)>>2];o[i>>2]=o[t+8>>2];t=o[t>>2]|0;if(!t)break;else{n=n+4|0;i=i+4|0}}}_=kE(u)|0;t=Ik(u)|0;n=Bk(u)|0;i=Lk(u)|0;Je(_|0,t|0,l|0,c|0,n|0,i|0,ED(u)|0);Re(s|0)}while((e|0)!=0)}}}while(0);e=o[(wD()|0)>>2]|0;if(e|0)do{_=e+4|0;h=MD(_)|0;u=BD(h)|0;s=OD(h)|0;l=(ND(h)|0)+1|0;c=jk(h)|0;f=Uk(_)|0;h=Yu(h)|0;d=LD(_)|0;m=zk(_)|0;He(0,u|0,s|0,l|0,c|0,f|0,h|0,d|0,m|0,Wk(_)|0);e=o[e>>2]|0}while((e|0)!=0);e=o[(fD()|0)>>2]|0;e:do{if(e|0){t:while(1){t=o[e+4>>2]|0;if(t|0?(g=o[(kE(t)|0)>>2]|0,v=o[(ME(t)|0)>>2]|0,v|0):0){n=v;do{t=n+4|0;i=MD(t)|0;n:do{if(i|0)switch(Yu(i)|0){case 0:break t;case 4:case 3:case 2:{c=BD(i)|0;f=OD(i)|0;h=(ND(i)|0)+1|0;d=jk(i)|0;m=Yu(i)|0;_=LD(t)|0;He(g|0,c|0,f|0,h|0,d|0,0,m|0,_|0,zk(t)|0,Wk(t)|0);break n}case 1:{l=BD(i)|0;c=OD(i)|0;f=(ND(i)|0)+1|0;h=jk(i)|0;d=Uk(t)|0;m=Yu(i)|0;_=LD(t)|0;He(g|0,l|0,c|0,f|0,h|0,d|0,m|0,_|0,zk(t)|0,Wk(t)|0);break n}case 5:{h=BD(i)|0;d=OD(i)|0;m=(ND(i)|0)+1|0;_=jk(i)|0;He(g|0,h|0,d|0,m|0,_|0,Xk(i)|0,Yu(i)|0,0,0,0);break n}default:break n}}while(0);n=o[n>>2]|0}while((n|0)!=0)}e=o[e>>2]|0;if(!e)break e}qe()}}while(0);$e();p=y;return}function Mk(){return 11703}function Ok(e){e=e|0;r[e+40>>0]=0;return}function Nk(e){e=e|0;return(r[e+40>>0]|0)!=0|0}function Pk(e,t){e=e|0;t=t|0;t=Hk(t)|0;e=o[t>>2]|0;o[t>>2]=o[e>>2];VS(e);return o[t>>2]|0}function Rk(e){e=e|0;r[e+40>>0]=1;return}function Bk(e){e=e|0;return o[e+20>>2]|0}function Ik(e){e=e|0;return o[e+8>>2]|0}function Lk(e){e=e|0;return o[e+32>>2]|0}function jk(e){e=e|0;return o[e+4>>2]|0}function Uk(e){e=e|0;return o[e+4>>2]|0}function zk(e){e=e|0;return o[e+8>>2]|0}function Wk(e){e=e|0;return o[e+16>>2]|0}function Xk(e){e=e|0;return o[e+20>>2]|0}function Hk(e){e=e|0;return o[e>>2]|0}function Gk(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0,m=0,g=0,v=0,y=0,_=0,b=0,D=0,E=0,x=0;x=p;p=p+16|0;d=x;do{if(e>>>0<245){c=e>>>0<11?16:e+11&-8;e=c>>>3;h=o[2783]|0;n=h>>>e;if(n&3|0){t=(n&1^1)+e|0;e=11172+(t<<1<<2)|0;n=e+8|0;r=o[n>>2]|0;i=r+8|0;a=o[i>>2]|0;if((e|0)==(a|0))o[2783]=h&~(1<>2]=e;o[n>>2]=a}E=t<<3;o[r+4>>2]=E|3;E=r+E+4|0;o[E>>2]=o[E>>2]|1;E=i;p=x;return E|0}f=o[2785]|0;if(c>>>0>f>>>0){if(n|0){t=2<>>12&16;t=t>>>u;n=t>>>5&8;t=t>>>n;i=t>>>2&4;t=t>>>i;e=t>>>1&2;t=t>>>e;r=t>>>1&1;r=(n|u|i|e|r)+(t>>>r)|0;t=11172+(r<<1<<2)|0;e=t+8|0;i=o[e>>2]|0;u=i+8|0;n=o[u>>2]|0;if((t|0)==(n|0)){e=h&~(1<>2]=t;o[e>>2]=n;e=h}a=(r<<3)-c|0;o[i+4>>2]=c|3;r=i+c|0;o[r+4>>2]=a|1;o[r+a>>2]=a;if(f|0){i=o[2788]|0;t=f>>>3;n=11172+(t<<1<<2)|0;t=1<>2]|0}o[e>>2]=i;o[t+12>>2]=i;o[i+8>>2]=t;o[i+12>>2]=n}o[2785]=a;o[2788]=r;E=u;p=x;return E|0}s=o[2784]|0;if(s){n=(s&0-s)+-1|0;u=n>>>12&16;n=n>>>u;a=n>>>5&8;n=n>>>a;l=n>>>2&4;n=n>>>l;r=n>>>1&2;n=n>>>r;e=n>>>1&1;e=o[11436+((a|u|l|r|e)+(n>>>e)<<2)>>2]|0;n=(o[e+4>>2]&-8)-c|0;r=o[e+16+(((o[e+16>>2]|0)==0&1)<<2)>>2]|0;if(!r){l=e;a=n}else{do{u=(o[r+4>>2]&-8)-c|0;l=u>>>0>>0;n=l?u:n;e=l?r:e;r=o[r+16+(((o[r+16>>2]|0)==0&1)<<2)>>2]|0}while((r|0)!=0);l=e;a=n}u=l+c|0;if(l>>>0>>0){i=o[l+24>>2]|0;t=o[l+12>>2]|0;do{if((t|0)==(l|0)){e=l+20|0;t=o[e>>2]|0;if(!t){e=l+16|0;t=o[e>>2]|0;if(!t){n=0;break}}while(1){n=t+20|0;r=o[n>>2]|0;if(r|0){t=r;e=n;continue}n=t+16|0;r=o[n>>2]|0;if(!r)break;else{t=r;e=n}}o[e>>2]=0;n=t}else{n=o[l+8>>2]|0;o[n+12>>2]=t;o[t+8>>2]=n;n=t}}while(0);do{if(i|0){t=o[l+28>>2]|0;e=11436+(t<<2)|0;if((l|0)==(o[e>>2]|0)){o[e>>2]=n;if(!n){o[2784]=s&~(1<>2]|0)!=(l|0)&1)<<2)>>2]=n;if(!n)break}o[n+24>>2]=i;t=o[l+16>>2]|0;if(t|0){o[n+16>>2]=t;o[t+24>>2]=n}t=o[l+20>>2]|0;if(t|0){o[n+20>>2]=t;o[t+24>>2]=n}}}while(0);if(a>>>0<16){E=a+c|0;o[l+4>>2]=E|3;E=l+E+4|0;o[E>>2]=o[E>>2]|1}else{o[l+4>>2]=c|3;o[u+4>>2]=a|1;o[u+a>>2]=a;if(f|0){r=o[2788]|0;t=f>>>3;n=11172+(t<<1<<2)|0;t=1<>2]|0}o[e>>2]=r;o[t+12>>2]=r;o[r+8>>2]=t;o[r+12>>2]=n}o[2785]=a;o[2788]=u}E=l+8|0;p=x;return E|0}else h=c}else h=c}else h=c}else if(e>>>0<=4294967231){e=e+11|0;c=e&-8;l=o[2784]|0;if(l){r=0-c|0;e=e>>>8;if(e){if(c>>>0>16777215)s=31;else{h=(e+1048320|0)>>>16&8;D=e<>>16&4;D=D<>>16&2;s=14-(f|h|s)+(D<>>15)|0;s=c>>>(s+7|0)&1|s<<1}}else s=0;n=o[11436+(s<<2)>>2]|0;e:do{if(!n){n=0;e=0;D=57}else{e=0;u=c<<((s|0)==31?0:25-(s>>>1)|0);a=0;while(1){i=(o[n+4>>2]&-8)-c|0;if(i>>>0>>0)if(!i){e=n;r=0;i=n;D=61;break e}else{e=n;r=i}i=o[n+20>>2]|0;n=o[n+16+(u>>>31<<2)>>2]|0;a=(i|0)==0|(i|0)==(n|0)?a:i;i=(n|0)==0;if(i){n=a;D=57;break}else u=u<<((i^1)&1)}}}while(0);if((D|0)==57){if((n|0)==0&(e|0)==0){e=2<>>12&16;h=h>>>u;a=h>>>5&8;h=h>>>a;s=h>>>2&4;h=h>>>s;f=h>>>1&2;h=h>>>f;n=h>>>1&1;e=0;n=o[11436+((a|u|s|f|n)+(h>>>n)<<2)>>2]|0}if(!n){s=e;u=r}else{i=n;D=61}}if((D|0)==61)while(1){D=0;n=(o[i+4>>2]&-8)-c|0;h=n>>>0>>0;n=h?n:r;e=h?i:e;i=o[i+16+(((o[i+16>>2]|0)==0&1)<<2)>>2]|0;if(!i){s=e;u=n;break}else{r=n;D=61}}if((s|0)!=0?u>>>0<((o[2785]|0)-c|0)>>>0:0){a=s+c|0;if(s>>>0>=a>>>0){E=0;p=x;return E|0}i=o[s+24>>2]|0;t=o[s+12>>2]|0;do{if((t|0)==(s|0)){e=s+20|0;t=o[e>>2]|0;if(!t){e=s+16|0;t=o[e>>2]|0;if(!t){t=0;break}}while(1){n=t+20|0;r=o[n>>2]|0;if(r|0){t=r;e=n;continue}n=t+16|0;r=o[n>>2]|0;if(!r)break;else{t=r;e=n}}o[e>>2]=0}else{E=o[s+8>>2]|0;o[E+12>>2]=t;o[t+8>>2]=E}}while(0);do{if(i){e=o[s+28>>2]|0;n=11436+(e<<2)|0;if((s|0)==(o[n>>2]|0)){o[n>>2]=t;if(!t){r=l&~(1<>2]|0)!=(s|0)&1)<<2)>>2]=t;if(!t){r=l;break}}o[t+24>>2]=i;e=o[s+16>>2]|0;if(e|0){o[t+16>>2]=e;o[e+24>>2]=t}e=o[s+20>>2]|0;if(e){o[t+20>>2]=e;o[e+24>>2]=t;r=l}else r=l}else r=l}while(0);do{if(u>>>0>=16){o[s+4>>2]=c|3;o[a+4>>2]=u|1;o[a+u>>2]=u;t=u>>>3;if(u>>>0<256){n=11172+(t<<1<<2)|0;e=o[2783]|0;t=1<>2]|0}o[e>>2]=a;o[t+12>>2]=a;o[a+8>>2]=t;o[a+12>>2]=n;break}t=u>>>8;if(t){if(u>>>0>16777215)t=31;else{D=(t+1048320|0)>>>16&8;E=t<>>16&4;E=E<>>16&2;t=14-(b|D|t)+(E<>>15)|0;t=u>>>(t+7|0)&1|t<<1}}else t=0;n=11436+(t<<2)|0;o[a+28>>2]=t;e=a+16|0;o[e+4>>2]=0;o[e>>2]=0;e=1<>2]=a;o[a+24>>2]=n;o[a+12>>2]=a;o[a+8>>2]=a;break}e=u<<((t|0)==31?0:25-(t>>>1)|0);n=o[n>>2]|0;while(1){if((o[n+4>>2]&-8|0)==(u|0)){D=97;break}r=n+16+(e>>>31<<2)|0;t=o[r>>2]|0;if(!t){D=96;break}else{e=e<<1;n=t}}if((D|0)==96){o[r>>2]=a;o[a+24>>2]=n;o[a+12>>2]=a;o[a+8>>2]=a;break}else if((D|0)==97){D=n+8|0;E=o[D>>2]|0;o[E+12>>2]=a;o[D>>2]=a;o[a+8>>2]=E;o[a+12>>2]=n;o[a+24>>2]=0;break}}else{E=u+c|0;o[s+4>>2]=E|3;E=s+E+4|0;o[E>>2]=o[E>>2]|1}}while(0);E=s+8|0;p=x;return E|0}else h=c}else h=c}else h=-1}while(0);n=o[2785]|0;if(n>>>0>=h>>>0){t=n-h|0;e=o[2788]|0;if(t>>>0>15){E=e+h|0;o[2788]=E;o[2785]=t;o[E+4>>2]=t|1;o[E+t>>2]=t;o[e+4>>2]=h|3}else{o[2785]=0;o[2788]=0;o[e+4>>2]=n|3;E=e+n+4|0;o[E>>2]=o[E>>2]|1}E=e+8|0;p=x;return E|0}u=o[2786]|0;if(u>>>0>h>>>0){b=u-h|0;o[2786]=b;E=o[2789]|0;D=E+h|0;o[2789]=D;o[D+4>>2]=b|1;o[E+4>>2]=h|3;E=E+8|0;p=x;return E|0}if(!(o[2901]|0)){o[2903]=4096;o[2902]=4096;o[2904]=-1;o[2905]=-1;o[2906]=0;o[2894]=0;e=d&-16^1431655768;o[d>>2]=e;o[2901]=e;e=4096}else e=o[2903]|0;s=h+48|0;l=h+47|0;a=e+l|0;i=0-e|0;c=a&i;if(c>>>0<=h>>>0){E=0;p=x;return E|0}e=o[2893]|0;if(e|0?(f=o[2891]|0,d=f+c|0,d>>>0<=f>>>0|d>>>0>e>>>0):0){E=0;p=x;return E|0}e:do{if(!(o[2894]&4)){n=o[2789]|0;t:do{if(n){r=11580;while(1){e=o[r>>2]|0;if(e>>>0<=n>>>0?(v=r+4|0,(e+(o[v>>2]|0)|0)>>>0>n>>>0):0)break;e=o[r+8>>2]|0;if(!e){D=118;break t}else r=e}t=a-u&i;if(t>>>0<2147483647){e=sA(t|0)|0;if((e|0)==((o[r>>2]|0)+(o[v>>2]|0)|0)){if((e|0)!=(-1|0)){u=t;a=e;D=135;break e}}else{r=e;D=126}}else t=0}else D=118}while(0);do{if((D|0)==118){n=sA(0)|0;if((n|0)!=(-1|0)?(t=n,m=o[2902]|0,g=m+-1|0,t=((g&t|0)==0?0:(g+t&0-m)-t|0)+c|0,m=o[2891]|0,g=t+m|0,t>>>0>h>>>0&t>>>0<2147483647):0){v=o[2893]|0;if(v|0?g>>>0<=m>>>0|g>>>0>v>>>0:0){t=0;break}e=sA(t|0)|0;if((e|0)==(n|0)){u=t;a=n;D=135;break e}else{r=e;D=126}}else t=0}}while(0);do{if((D|0)==126){n=0-t|0;if(!(s>>>0>t>>>0&(t>>>0<2147483647&(r|0)!=(-1|0))))if((r|0)==(-1|0)){t=0;break}else{u=t;a=r;D=135;break e}e=o[2903]|0;e=l-t+e&0-e;if(e>>>0>=2147483647){u=t;a=r;D=135;break e}if((sA(e|0)|0)==(-1|0)){sA(n|0)|0;t=0;break}else{u=e+t|0;a=r;D=135;break e}}}while(0);o[2894]=o[2894]|4;D=133}else{t=0;D=133}}while(0);if(((D|0)==133?c>>>0<2147483647:0)?(b=sA(c|0)|0,v=sA(0)|0,y=v-b|0,_=y>>>0>(h+40|0)>>>0,!((b|0)==(-1|0)|_^1|b>>>0>>0&((b|0)!=(-1|0)&(v|0)!=(-1|0))^1)):0){u=_?y:t;a=b;D=135}if((D|0)==135){t=(o[2891]|0)+u|0;o[2891]=t;if(t>>>0>(o[2892]|0)>>>0)o[2892]=t;l=o[2789]|0;do{if(l){t=11580;while(1){e=o[t>>2]|0;n=t+4|0;r=o[n>>2]|0;if((a|0)==(e+r|0)){D=145;break}i=o[t+8>>2]|0;if(!i)break;else t=i}if(((D|0)==145?(o[t+12>>2]&8|0)==0:0)?l>>>0>>0&l>>>0>=e>>>0:0){o[n>>2]=r+u;E=l+8|0;E=(E&7|0)==0?0:0-E&7;D=l+E|0;E=(o[2786]|0)+(u-E)|0;o[2789]=D;o[2786]=E;o[D+4>>2]=E|1;o[D+E+4>>2]=40;o[2790]=o[2905];break}if(a>>>0<(o[2787]|0)>>>0)o[2787]=a;n=a+u|0;t=11580;while(1){if((o[t>>2]|0)==(n|0)){D=153;break}e=o[t+8>>2]|0;if(!e)break;else t=e}if((D|0)==153?(o[t+12>>2]&8|0)==0:0){o[t>>2]=a;f=t+4|0;o[f>>2]=(o[f>>2]|0)+u;f=a+8|0;f=a+((f&7|0)==0?0:0-f&7)|0;t=n+8|0;t=n+((t&7|0)==0?0:0-t&7)|0;c=f+h|0;s=t-f-h|0;o[f+4>>2]=h|3;do{if((t|0)!=(l|0)){if((t|0)==(o[2788]|0)){E=(o[2785]|0)+s|0;o[2785]=E;o[2788]=c;o[c+4>>2]=E|1;o[c+E>>2]=E;break}e=o[t+4>>2]|0;if((e&3|0)==1){u=e&-8;r=e>>>3;e:do{if(e>>>0<256){e=o[t+8>>2]|0;n=o[t+12>>2]|0;if((n|0)==(e|0)){o[2783]=o[2783]&~(1<>2]=n;o[n+8>>2]=e;break}}else{a=o[t+24>>2]|0;e=o[t+12>>2]|0;do{if((e|0)==(t|0)){r=t+16|0;n=r+4|0;e=o[n>>2]|0;if(!e){e=o[r>>2]|0;if(!e){e=0;break}else n=r}while(1){r=e+20|0;i=o[r>>2]|0;if(i|0){e=i;n=r;continue}r=e+16|0;i=o[r>>2]|0;if(!i)break;else{e=i;n=r}}o[n>>2]=0}else{E=o[t+8>>2]|0;o[E+12>>2]=e;o[e+8>>2]=E}}while(0);if(!a)break;n=o[t+28>>2]|0;r=11436+(n<<2)|0;do{if((t|0)!=(o[r>>2]|0)){o[a+16+(((o[a+16>>2]|0)!=(t|0)&1)<<2)>>2]=e;if(!e)break e}else{o[r>>2]=e;if(e|0)break;o[2784]=o[2784]&~(1<>2]=a;n=t+16|0;r=o[n>>2]|0;if(r|0){o[e+16>>2]=r;o[r+24>>2]=e}n=o[n+4>>2]|0;if(!n)break;o[e+20>>2]=n;o[n+24>>2]=e}}while(0);t=t+u|0;i=u+s|0}else i=s;t=t+4|0;o[t>>2]=o[t>>2]&-2;o[c+4>>2]=i|1;o[c+i>>2]=i;t=i>>>3;if(i>>>0<256){n=11172+(t<<1<<2)|0;e=o[2783]|0;t=1<>2]|0}o[e>>2]=c;o[t+12>>2]=c;o[c+8>>2]=t;o[c+12>>2]=n;break}t=i>>>8;do{if(!t)t=0;else{if(i>>>0>16777215){t=31;break}D=(t+1048320|0)>>>16&8;E=t<>>16&4;E=E<>>16&2;t=14-(b|D|t)+(E<>>15)|0;t=i>>>(t+7|0)&1|t<<1}}while(0);r=11436+(t<<2)|0;o[c+28>>2]=t;e=c+16|0;o[e+4>>2]=0;o[e>>2]=0;e=o[2784]|0;n=1<>2]=c;o[c+24>>2]=r;o[c+12>>2]=c;o[c+8>>2]=c;break}e=i<<((t|0)==31?0:25-(t>>>1)|0);n=o[r>>2]|0;while(1){if((o[n+4>>2]&-8|0)==(i|0)){D=194;break}r=n+16+(e>>>31<<2)|0;t=o[r>>2]|0;if(!t){D=193;break}else{e=e<<1;n=t}}if((D|0)==193){o[r>>2]=c;o[c+24>>2]=n;o[c+12>>2]=c;o[c+8>>2]=c;break}else if((D|0)==194){D=n+8|0;E=o[D>>2]|0;o[E+12>>2]=c;o[D>>2]=c;o[c+8>>2]=E;o[c+12>>2]=n;o[c+24>>2]=0;break}}else{E=(o[2786]|0)+s|0;o[2786]=E;o[2789]=c;o[c+4>>2]=E|1}}while(0);E=f+8|0;p=x;return E|0}t=11580;while(1){e=o[t>>2]|0;if(e>>>0<=l>>>0?(E=e+(o[t+4>>2]|0)|0,E>>>0>l>>>0):0)break;t=o[t+8>>2]|0}i=E+-47|0;e=i+8|0;e=i+((e&7|0)==0?0:0-e&7)|0;i=l+16|0;e=e>>>0>>0?l:e;t=e+8|0;n=a+8|0;n=(n&7|0)==0?0:0-n&7;D=a+n|0;n=u+-40-n|0;o[2789]=D;o[2786]=n;o[D+4>>2]=n|1;o[D+n+4>>2]=40;o[2790]=o[2905];n=e+4|0;o[n>>2]=27;o[t>>2]=o[2895];o[t+4>>2]=o[2896];o[t+8>>2]=o[2897];o[t+12>>2]=o[2898];o[2895]=a;o[2896]=u;o[2898]=0;o[2897]=t;t=e+24|0;do{D=t;t=t+4|0;o[t>>2]=7}while((D+8|0)>>>0>>0);if((e|0)!=(l|0)){a=e-l|0;o[n>>2]=o[n>>2]&-2;o[l+4>>2]=a|1;o[e>>2]=a;t=a>>>3;if(a>>>0<256){n=11172+(t<<1<<2)|0;e=o[2783]|0;t=1<>2]|0}o[e>>2]=l;o[t+12>>2]=l;o[l+8>>2]=t;o[l+12>>2]=n;break}t=a>>>8;if(t){if(a>>>0>16777215)n=31;else{D=(t+1048320|0)>>>16&8;E=t<>>16&4;E=E<>>16&2;n=14-(b|D|n)+(E<>>15)|0;n=a>>>(n+7|0)&1|n<<1}}else n=0;r=11436+(n<<2)|0;o[l+28>>2]=n;o[l+20>>2]=0;o[i>>2]=0;t=o[2784]|0;e=1<>2]=l;o[l+24>>2]=r;o[l+12>>2]=l;o[l+8>>2]=l;break}e=a<<((n|0)==31?0:25-(n>>>1)|0);n=o[r>>2]|0;while(1){if((o[n+4>>2]&-8|0)==(a|0)){D=216;break}r=n+16+(e>>>31<<2)|0;t=o[r>>2]|0;if(!t){D=215;break}else{e=e<<1;n=t}}if((D|0)==215){o[r>>2]=l;o[l+24>>2]=n;o[l+12>>2]=l;o[l+8>>2]=l;break}else if((D|0)==216){D=n+8|0;E=o[D>>2]|0;o[E+12>>2]=l;o[D>>2]=l;o[l+8>>2]=E;o[l+12>>2]=n;o[l+24>>2]=0;break}}}else{E=o[2787]|0;if((E|0)==0|a>>>0>>0)o[2787]=a;o[2895]=a;o[2896]=u;o[2898]=0;o[2792]=o[2901];o[2791]=-1;t=0;do{E=11172+(t<<1<<2)|0;o[E+12>>2]=E;o[E+8>>2]=E;t=t+1|0}while((t|0)!=32);E=a+8|0;E=(E&7|0)==0?0:0-E&7;D=a+E|0;E=u+-40-E|0;o[2789]=D;o[2786]=E;o[D+4>>2]=E|1;o[D+E+4>>2]=40;o[2790]=o[2905]}}while(0);t=o[2786]|0;if(t>>>0>h>>>0){b=t-h|0;o[2786]=b;E=o[2789]|0;D=E+h|0;o[2789]=D;o[D+4>>2]=b|1;o[E+4>>2]=h|3;E=E+8|0;p=x;return E|0}}o[(Zk()|0)>>2]=12;E=0;p=x;return E|0}function Jk(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,u=0,s=0,l=0;if(!e)return;n=e+-8|0;i=o[2787]|0;e=o[e+-4>>2]|0;t=e&-8;l=n+t|0;do{if(!(e&1)){r=o[n>>2]|0;if(!(e&3))return;u=n+(0-r)|0;a=r+t|0;if(u>>>0>>0)return;if((u|0)==(o[2788]|0)){e=l+4|0;t=o[e>>2]|0;if((t&3|0)!=3){s=u;t=a;break}o[2785]=a;o[e>>2]=t&-2;o[u+4>>2]=a|1;o[u+a>>2]=a;return}n=r>>>3;if(r>>>0<256){e=o[u+8>>2]|0;t=o[u+12>>2]|0;if((t|0)==(e|0)){o[2783]=o[2783]&~(1<>2]=t;o[t+8>>2]=e;s=u;t=a;break}}i=o[u+24>>2]|0;e=o[u+12>>2]|0;do{if((e|0)==(u|0)){n=u+16|0;t=n+4|0;e=o[t>>2]|0;if(!e){e=o[n>>2]|0;if(!e){e=0;break}else t=n}while(1){n=e+20|0;r=o[n>>2]|0;if(r|0){e=r;t=n;continue}n=e+16|0;r=o[n>>2]|0;if(!r)break;else{e=r;t=n}}o[t>>2]=0}else{s=o[u+8>>2]|0;o[s+12>>2]=e;o[e+8>>2]=s}}while(0);if(i){t=o[u+28>>2]|0;n=11436+(t<<2)|0;if((u|0)==(o[n>>2]|0)){o[n>>2]=e;if(!e){o[2784]=o[2784]&~(1<>2]|0)!=(u|0)&1)<<2)>>2]=e;if(!e){s=u;t=a;break}}o[e+24>>2]=i;t=u+16|0;n=o[t>>2]|0;if(n|0){o[e+16>>2]=n;o[n+24>>2]=e}t=o[t+4>>2]|0;if(t){o[e+20>>2]=t;o[t+24>>2]=e;s=u;t=a}else{s=u;t=a}}else{s=u;t=a}}else{s=n;u=n}}while(0);if(u>>>0>=l>>>0)return;e=l+4|0;r=o[e>>2]|0;if(!(r&1))return;if(!(r&2)){e=o[2788]|0;if((l|0)==(o[2789]|0)){l=(o[2786]|0)+t|0;o[2786]=l;o[2789]=s;o[s+4>>2]=l|1;if((s|0)!=(e|0))return;o[2788]=0;o[2785]=0;return}if((l|0)==(e|0)){l=(o[2785]|0)+t|0;o[2785]=l;o[2788]=u;o[s+4>>2]=l|1;o[u+l>>2]=l;return}i=(r&-8)+t|0;n=r>>>3;do{if(r>>>0<256){t=o[l+8>>2]|0;e=o[l+12>>2]|0;if((e|0)==(t|0)){o[2783]=o[2783]&~(1<>2]=e;o[e+8>>2]=t;break}}else{a=o[l+24>>2]|0;e=o[l+12>>2]|0;do{if((e|0)==(l|0)){n=l+16|0;t=n+4|0;e=o[t>>2]|0;if(!e){e=o[n>>2]|0;if(!e){n=0;break}else t=n}while(1){n=e+20|0;r=o[n>>2]|0;if(r|0){e=r;t=n;continue}n=e+16|0;r=o[n>>2]|0;if(!r)break;else{e=r;t=n}}o[t>>2]=0;n=e}else{n=o[l+8>>2]|0;o[n+12>>2]=e;o[e+8>>2]=n;n=e}}while(0);if(a|0){e=o[l+28>>2]|0;t=11436+(e<<2)|0;if((l|0)==(o[t>>2]|0)){o[t>>2]=n;if(!n){o[2784]=o[2784]&~(1<>2]|0)!=(l|0)&1)<<2)>>2]=n;if(!n)break}o[n+24>>2]=a;e=l+16|0;t=o[e>>2]|0;if(t|0){o[n+16>>2]=t;o[t+24>>2]=n}e=o[e+4>>2]|0;if(e|0){o[n+20>>2]=e;o[e+24>>2]=n}}}}while(0);o[s+4>>2]=i|1;o[u+i>>2]=i;if((s|0)==(o[2788]|0)){o[2785]=i;return}}else{o[e>>2]=r&-2;o[s+4>>2]=t|1;o[u+t>>2]=t;i=t}e=i>>>3;if(i>>>0<256){n=11172+(e<<1<<2)|0;t=o[2783]|0;e=1<>2]|0}o[t>>2]=s;o[e+12>>2]=s;o[s+8>>2]=e;o[s+12>>2]=n;return}e=i>>>8;if(e){if(i>>>0>16777215)e=31;else{u=(e+1048320|0)>>>16&8;l=e<>>16&4;l=l<>>16&2;e=14-(a|u|e)+(l<>>15)|0;e=i>>>(e+7|0)&1|e<<1}}else e=0;r=11436+(e<<2)|0;o[s+28>>2]=e;o[s+20>>2]=0;o[s+16>>2]=0;t=o[2784]|0;n=1<>>1)|0);n=o[r>>2]|0;while(1){if((o[n+4>>2]&-8|0)==(i|0)){e=73;break}r=n+16+(t>>>31<<2)|0;e=o[r>>2]|0;if(!e){e=72;break}else{t=t<<1;n=e}}if((e|0)==72){o[r>>2]=s;o[s+24>>2]=n;o[s+12>>2]=s;o[s+8>>2]=s;break}else if((e|0)==73){u=n+8|0;l=o[u>>2]|0;o[l+12>>2]=s;o[u>>2]=s;o[s+8>>2]=l;o[s+12>>2]=n;o[s+24>>2]=0;break}}else{o[2784]=t|n;o[r>>2]=s;o[s+24>>2]=r;o[s+12>>2]=s;o[s+8>>2]=s}}while(0);l=(o[2791]|0)+-1|0;o[2791]=l;if(!l)e=11588;else return;while(1){e=o[e>>2]|0;if(!e)break;else e=e+8|0}o[2791]=-1;return}function $k(){return 11628}function qk(e){e=e|0;var t=0,n=0;t=p;p=p+16|0;n=t;o[n>>2]=tS(o[e+60>>2]|0)|0;e=Kk(at(6,n|0)|0)|0;p=t;return e|0}function Vk(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0,m=0;h=p;p=p+48|0;c=h+16|0;a=h;i=h+32|0;s=e+28|0;r=o[s>>2]|0;o[i>>2]=r;l=e+20|0;r=(o[l>>2]|0)-r|0;o[i+4>>2]=r;o[i+8>>2]=t;o[i+12>>2]=n;r=r+n|0;u=e+60|0;o[a>>2]=o[u>>2];o[a+4>>2]=i;o[a+8>>2]=2;a=Kk(lt(146,a|0)|0)|0;e:do{if((r|0)!=(a|0)){t=2;while(1){if((a|0)<0)break;r=r-a|0;m=o[i+4>>2]|0;d=a>>>0>m>>>0;i=d?i+8|0:i;t=(d<<31>>31)+t|0;m=a-(d?m:0)|0;o[i>>2]=(o[i>>2]|0)+m;d=i+4|0;o[d>>2]=(o[d>>2]|0)-m;o[c>>2]=o[u>>2];o[c+4>>2]=i;o[c+8>>2]=t;a=Kk(lt(146,c|0)|0)|0;if((r|0)==(a|0)){f=3;break e}}o[e+16>>2]=0;o[s>>2]=0;o[l>>2]=0;o[e>>2]=o[e>>2]|32;if((t|0)==2)n=0;else n=n-(o[i+4>>2]|0)|0}else f=3}while(0);if((f|0)==3){m=o[e+44>>2]|0;o[e+16>>2]=m+(o[e+48>>2]|0);o[s>>2]=m;o[l>>2]=m}p=h;return n|0}function Yk(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0;i=p;p=p+32|0;a=i;r=i+20|0;o[a>>2]=o[e+60>>2];o[a+4>>2]=0;o[a+8>>2]=t;o[a+12>>2]=r;o[a+16>>2]=n;if((Kk(st(140,a|0)|0)|0)<0){o[r>>2]=-1;e=-1}else e=o[r>>2]|0;p=i;return e|0}function Kk(e){e=e|0;if(e>>>0>4294963200){o[(Zk()|0)>>2]=0-e;e=-1}return e|0}function Zk(){return(Qk()|0)+64|0}function Qk(){return eS()|0}function eS(){return 2084}function tS(e){e=e|0;return e|0}function nS(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0;a=p;p=p+32|0;i=a;o[e+36>>2]=1;if((o[e>>2]&64|0)==0?(o[i>>2]=o[e+60>>2],o[i+4>>2]=21523,o[i+8>>2]=a+16,Ke(54,i|0)|0):0)r[e+75>>0]=-1;i=Vk(e,t,n)|0;p=a;return i|0}function rS(e,t){e=e|0;t=t|0;var n=0,i=0;n=r[e>>0]|0;i=r[t>>0]|0;if(n<<24>>24==0?1:n<<24>>24!=i<<24>>24)e=i;else{do{e=e+1|0;t=t+1|0;n=r[e>>0]|0;i=r[t>>0]|0}while(!(n<<24>>24==0?1:n<<24>>24!=i<<24>>24));e=i}return(n&255)-(e&255)|0}function iS(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,o=0;e:do{if(!n)e=0;else{while(1){i=r[e>>0]|0;o=r[t>>0]|0;if(i<<24>>24!=o<<24>>24)break;n=n+-1|0;if(!n){e=0;break e}else{e=e+1|0;t=t+1|0}}e=(i&255)-(o&255)|0}}while(0);return e|0}function oS(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0,m=0,g=0,v=0,y=0;y=p;p=p+224|0;h=y+120|0;d=y+80|0;g=y;v=y+136|0;i=d;a=i+40|0;do{o[i>>2]=0;i=i+4|0}while((i|0)<(a|0));o[h>>2]=o[n>>2];if((aS(0,t,h,g,d)|0)<0)n=-1;else{if((o[e+76>>2]|0)>-1)m=uS(e)|0;else m=0;n=o[e>>2]|0;f=n&32;if((r[e+74>>0]|0)<1)o[e>>2]=n&-33;i=e+48|0;if(!(o[i>>2]|0)){a=e+44|0;u=o[a>>2]|0;o[a>>2]=v;s=e+28|0;o[s>>2]=v;l=e+20|0;o[l>>2]=v;o[i>>2]=80;c=e+16|0;o[c>>2]=v+80;n=aS(e,t,h,g,d)|0;if(u){_T[o[e+36>>2]&7](e,0,0)|0;n=(o[l>>2]|0)==0?-1:n;o[a>>2]=u;o[i>>2]=0;o[c>>2]=0;o[s>>2]=0;o[l>>2]=0}}else n=aS(e,t,h,g,d)|0;i=o[e>>2]|0;o[e>>2]=i|f;if(m|0)sS(e);n=(i&32|0)==0?n:-1}p=y;return n|0}function aS(e,t,n,a,u){e=e|0;t=t|0;n=n|0;a=a|0;u=u|0;var s=0,l=0,f=0,h=0,d=0,m=0,g=0,v=0,y=0,_=0,b=0,D=0,E=0,x=0,w=0,C=0,k=0,S=0,A=0,F=0,M=0,O=0,N=0;N=p;p=p+64|0;A=N+16|0;F=N;k=N+24|0;M=N+8|0;O=N+20|0;o[A>>2]=t;x=(e|0)!=0;w=k+40|0;C=w;k=k+39|0;S=M+4|0;l=0;s=0;m=0;e:while(1){do{if((s|0)>-1)if((l|0)>(2147483647-s|0)){o[(Zk()|0)>>2]=75;s=-1;break}else{s=l+s|0;break}}while(0);l=r[t>>0]|0;if(!(l<<24>>24)){E=87;break}else f=t;t:while(1){switch(l<<24>>24){case 37:{l=f;E=9;break t}case 0:{l=f;break t}default:{}}D=f+1|0;o[A>>2]=D;l=r[D>>0]|0;f=D}t:do{if((E|0)==9)while(1){E=0;if((r[f+1>>0]|0)!=37)break t;l=l+1|0;f=f+2|0;o[A>>2]=f;if((r[f>>0]|0)==37)E=9;else break}}while(0);l=l-t|0;if(x)lS(e,t,l);if(l|0){t=f;continue}h=f+1|0;l=(r[h>>0]|0)+-48|0;if(l>>>0<10){D=(r[f+2>>0]|0)==36;b=D?l:-1;m=D?1:m;h=D?f+3|0:h}else b=-1;o[A>>2]=h;l=r[h>>0]|0;f=(l<<24>>24)+-32|0;t:do{if(f>>>0<32){d=0;g=l;while(1){l=1<>2]=h;l=r[h>>0]|0;f=(l<<24>>24)+-32|0;if(f>>>0>=32)break;else g=l}}else d=0}while(0);if(l<<24>>24==42){f=h+1|0;l=(r[f>>0]|0)+-48|0;if(l>>>0<10?(r[h+2>>0]|0)==36:0){o[u+(l<<2)>>2]=10;l=o[a+((r[f>>0]|0)+-48<<3)>>2]|0;m=1;h=h+3|0}else{if(m|0){s=-1;break}if(x){m=(o[n>>2]|0)+(4-1)&~(4-1);l=o[m>>2]|0;o[n>>2]=m+4;m=0;h=f}else{l=0;m=0;h=f}}o[A>>2]=h;D=(l|0)<0;l=D?0-l|0:l;d=D?d|8192:d}else{l=cS(A)|0;if((l|0)<0){s=-1;break}h=o[A>>2]|0}do{if((r[h>>0]|0)==46){if((r[h+1>>0]|0)!=42){o[A>>2]=h+1;f=cS(A)|0;h=o[A>>2]|0;break}g=h+2|0;f=(r[g>>0]|0)+-48|0;if(f>>>0<10?(r[h+3>>0]|0)==36:0){o[u+(f<<2)>>2]=10;f=o[a+((r[g>>0]|0)+-48<<3)>>2]|0;h=h+4|0;o[A>>2]=h;break}if(m|0){s=-1;break e}if(x){D=(o[n>>2]|0)+(4-1)&~(4-1);f=o[D>>2]|0;o[n>>2]=D+4}else f=0;o[A>>2]=g;h=g}else f=-1}while(0);_=0;while(1){if(((r[h>>0]|0)+-65|0)>>>0>57){s=-1;break e}D=h+1|0;o[A>>2]=D;g=r[(r[h>>0]|0)+-65+(5178+(_*58|0))>>0]|0;v=g&255;if((v+-1|0)>>>0<8){_=v;h=D}else break}if(!(g<<24>>24)){s=-1;break}y=(b|0)>-1;do{if(g<<24>>24==19){if(y){s=-1;break e}else E=49}else{if(y){o[u+(b<<2)>>2]=v;y=a+(b<<3)|0;b=o[y+4>>2]|0;E=F;o[E>>2]=o[y>>2];o[E+4>>2]=b;E=49;break}if(!x){s=0;break e}fS(F,v,n)}}while(0);if((E|0)==49?(E=0,!x):0){l=0;t=D;continue}h=r[h>>0]|0;h=(_|0)!=0&(h&15|0)==3?h&-33:h;y=d&-65537;b=(d&8192|0)==0?d:y;t:do{switch(h|0){case 110:switch((_&255)<<24>>24){case 0:{o[o[F>>2]>>2]=s;l=0;t=D;continue e}case 1:{o[o[F>>2]>>2]=s;l=0;t=D;continue e}case 2:{l=o[F>>2]|0;o[l>>2]=s;o[l+4>>2]=((s|0)<0)<<31>>31;l=0;t=D;continue e}case 3:{i[o[F>>2]>>1]=s;l=0;t=D;continue e}case 4:{r[o[F>>2]>>0]=s;l=0;t=D;continue e}case 6:{o[o[F>>2]>>2]=s;l=0;t=D;continue e}case 7:{l=o[F>>2]|0;o[l>>2]=s;o[l+4>>2]=((s|0)<0)<<31>>31;l=0;t=D;continue e}default:{l=0;t=D;continue e}}case 112:{h=120;f=f>>>0>8?f:8;t=b|8;E=61;break}case 88:case 120:{t=b;E=61;break}case 111:{h=F;t=o[h>>2]|0;h=o[h+4>>2]|0;v=dS(t,h,w)|0;y=C-v|0;d=0;g=5642;f=(b&8|0)==0|(f|0)>(y|0)?f:y+1|0;y=b;E=67;break}case 105:case 100:{h=F;t=o[h>>2]|0;h=o[h+4>>2]|0;if((h|0)<0){t=QS(0,0,t|0,h|0)|0;h=T;d=F;o[d>>2]=t;o[d+4>>2]=h;d=1;g=5642;E=66;break t}else{d=(b&2049|0)!=0&1;g=(b&2048|0)==0?(b&1|0)==0?5642:5644:5643;E=66;break t}}case 117:{h=F;d=0;g=5642;t=o[h>>2]|0;h=o[h+4>>2]|0;E=66;break}case 99:{r[k>>0]=o[F>>2];t=k;d=0;g=5642;v=w;h=1;f=y;break}case 109:{h=mS(o[(Zk()|0)>>2]|0)|0;E=71;break}case 115:{h=o[F>>2]|0;h=h|0?h:5652;E=71;break}case 67:{o[M>>2]=o[F>>2];o[S>>2]=0;o[F>>2]=M;v=-1;h=M;E=75;break}case 83:{t=o[F>>2]|0;if(!f){vS(e,32,l,0,b);t=0;E=84}else{v=f;h=t;E=75}break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{l=_S(e,+c[F>>3],l,f,b,h)|0;t=D;continue e}default:{d=0;g=5642;v=w;h=f;f=b}}}while(0);t:do{if((E|0)==61){b=F;_=o[b>>2]|0;b=o[b+4>>2]|0;v=hS(_,b,w,h&32)|0;g=(t&8|0)==0|(_|0)==0&(b|0)==0;d=g?0:2;g=g?5642:5642+(h>>4)|0;y=t;t=_;h=b;E=67}else if((E|0)==66){v=pS(t,h,w)|0;y=b;E=67}else if((E|0)==71){E=0;b=gS(h,0,f)|0;_=(b|0)==0;t=h;d=0;g=5642;v=_?h+f|0:b;h=_?f:b-h|0;f=y}else if((E|0)==75){E=0;g=h;t=0;f=0;while(1){d=o[g>>2]|0;if(!d)break;f=yS(O,d)|0;if((f|0)<0|f>>>0>(v-t|0)>>>0)break;t=f+t|0;if(v>>>0>t>>>0)g=g+4|0;else break}if((f|0)<0){s=-1;break e}vS(e,32,l,t,b);if(!t){t=0;E=84}else{d=0;while(1){f=o[h>>2]|0;if(!f){E=84;break t}f=yS(O,f)|0;d=f+d|0;if((d|0)>(t|0)){E=84;break t}lS(e,O,f);if(d>>>0>=t>>>0){E=84;break}else h=h+4|0}}}}while(0);if((E|0)==67){E=0;h=(t|0)!=0|(h|0)!=0;b=(f|0)!=0|h;h=((h^1)&1)+(C-v)|0;t=b?v:w;v=w;h=b?(f|0)>(h|0)?f:h:f;f=(f|0)>-1?y&-65537:y}else if((E|0)==84){E=0;vS(e,32,l,t,b^8192);l=(l|0)>(t|0)?l:t;t=D;continue}_=v-t|0;y=(h|0)<(_|0)?_:h;b=y+d|0;l=(l|0)<(b|0)?b:l;vS(e,32,l,b,f);lS(e,g,d);vS(e,48,l,b,f^65536);vS(e,48,y,_,0);lS(e,t,_);vS(e,32,l,b,f^8192);t=D}e:do{if((E|0)==87)if(!e)if(!m)s=0;else{s=1;while(1){t=o[u+(s<<2)>>2]|0;if(!t)break;fS(a+(s<<3)|0,t,n);s=s+1|0;if((s|0)>=10){s=1;break e}}while(1){if(o[u+(s<<2)>>2]|0){s=-1;break e}s=s+1|0;if((s|0)>=10){s=1;break}}}}while(0);p=N;return s|0}function uS(e){e=e|0;return 0}function sS(e){e=e|0;return}function lS(e,t,n){e=e|0;t=t|0;n=n|0;if(!(o[e>>2]&32))MS(t,n,e)|0;return}function cS(e){e=e|0;var t=0,n=0,i=0;n=o[e>>2]|0;i=(r[n>>0]|0)+-48|0;if(i>>>0<10){t=0;do{t=i+(t*10|0)|0;n=n+1|0;o[e>>2]=n;i=(r[n>>0]|0)+-48|0}while(i>>>0<10)}else t=0;return t|0}function fS(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0.0;e:do{if(t>>>0<=20)do{switch(t|0){case 9:{r=(o[n>>2]|0)+(4-1)&~(4-1);t=o[r>>2]|0;o[n>>2]=r+4;o[e>>2]=t;break e}case 10:{r=(o[n>>2]|0)+(4-1)&~(4-1);t=o[r>>2]|0;o[n>>2]=r+4;r=e;o[r>>2]=t;o[r+4>>2]=((t|0)<0)<<31>>31;break e}case 11:{r=(o[n>>2]|0)+(4-1)&~(4-1);t=o[r>>2]|0;o[n>>2]=r+4;r=e;o[r>>2]=t;o[r+4>>2]=0;break e}case 12:{r=(o[n>>2]|0)+(8-1)&~(8-1);t=r;i=o[t>>2]|0;t=o[t+4>>2]|0;o[n>>2]=r+8;r=e;o[r>>2]=i;o[r+4>>2]=t;break e}case 13:{i=(o[n>>2]|0)+(4-1)&~(4-1);r=o[i>>2]|0;o[n>>2]=i+4;r=(r&65535)<<16>>16;i=e;o[i>>2]=r;o[i+4>>2]=((r|0)<0)<<31>>31;break e}case 14:{i=(o[n>>2]|0)+(4-1)&~(4-1);r=o[i>>2]|0;o[n>>2]=i+4;i=e;o[i>>2]=r&65535;o[i+4>>2]=0;break e}case 15:{i=(o[n>>2]|0)+(4-1)&~(4-1);r=o[i>>2]|0;o[n>>2]=i+4;r=(r&255)<<24>>24;i=e;o[i>>2]=r;o[i+4>>2]=((r|0)<0)<<31>>31;break e}case 16:{i=(o[n>>2]|0)+(4-1)&~(4-1);r=o[i>>2]|0;o[n>>2]=i+4;i=e;o[i>>2]=r&255;o[i+4>>2]=0;break e}case 17:{i=(o[n>>2]|0)+(8-1)&~(8-1);a=+c[i>>3];o[n>>2]=i+8;c[e>>3]=a;break e}case 18:{i=(o[n>>2]|0)+(8-1)&~(8-1);a=+c[i>>3];o[n>>2]=i+8;c[e>>3]=a;break e}default:break e}}while(0)}while(0);return}function hS(e,t,n,i){e=e|0;t=t|0;n=n|0;i=i|0;if(!((e|0)==0&(t|0)==0))do{n=n+-1|0;r[n>>0]=a[5694+(e&15)>>0]|0|i;e=rA(e|0,t|0,4)|0;t=T}while(!((e|0)==0&(t|0)==0));return n|0}function dS(e,t,n){e=e|0;t=t|0;n=n|0;if(!((e|0)==0&(t|0)==0))do{n=n+-1|0;r[n>>0]=e&7|48;e=rA(e|0,t|0,3)|0;t=T}while(!((e|0)==0&(t|0)==0));return n|0}function pS(e,t,n){e=e|0;t=t|0;n=n|0;var i=0;if(t>>>0>0|(t|0)==0&e>>>0>4294967295){while(1){i=cA(e|0,t|0,10,0)|0;n=n+-1|0;r[n>>0]=i&255|48;i=e;e=uA(e|0,t|0,10,0)|0;if(!(t>>>0>9|(t|0)==9&i>>>0>4294967295))break;else t=T}t=e}else t=e;if(t)while(1){n=n+-1|0;r[n>>0]=(t>>>0)%10|0|48;if(t>>>0<10)break;else t=(t>>>0)/10|0}return n|0}function mS(e){e=e|0;return kS(e,o[(CS()|0)+188>>2]|0)|0}function gS(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0,u=0,s=0;u=t&255;i=(n|0)!=0;e:do{if(i&(e&3|0)!=0){a=t&255;while(1){if((r[e>>0]|0)==a<<24>>24){s=6;break e}e=e+1|0;n=n+-1|0;i=(n|0)!=0;if(!(i&(e&3|0)!=0)){s=5;break}}}else s=5}while(0);if((s|0)==5)if(i)s=6;else n=0;e:do{if((s|0)==6){a=t&255;if((r[e>>0]|0)!=a<<24>>24){i=H(u,16843009)|0;t:do{if(n>>>0>3)while(1){u=o[e>>2]^i;if((u&-2139062144^-2139062144)&u+-16843009|0)break;e=e+4|0;n=n+-4|0;if(n>>>0<=3){s=11;break t}}else s=11}while(0);if((s|0)==11)if(!n){n=0;break}while(1){if((r[e>>0]|0)==a<<24>>24)break e;e=e+1|0;n=n+-1|0;if(!n){n=0;break}}}}}while(0);return(n|0?e:0)|0}function vS(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;var o=0,a=0;a=p;p=p+256|0;o=a;if((n|0)>(r|0)&(i&73728|0)==0){i=n-r|0;tA(o|0,t|0,(i>>>0<256?i:256)|0)|0;if(i>>>0>255){t=n-r|0;do{lS(e,o,256);i=i+-256|0}while(i>>>0>255);i=t&255}lS(e,o,i)}p=a;return}function yS(e,t){e=e|0;t=t|0;if(!e)e=0;else e=xS(e,t,0)|0;return e|0}function _S(e,t,n,i,u,s){e=e|0;t=+t;n=n|0;i=i|0;u=u|0;s=s|0;var l=0,c=0,f=0,h=0,d=0,m=0,g=0,v=0.0,y=0,_=0,b=0,D=0,E=0,x=0,w=0,C=0,k=0,S=0,A=0,F=0,M=0,O=0,N=0;N=p;p=p+560|0;f=N+8|0;b=N;O=N+524|0;M=O;h=N+512|0;o[b>>2]=0;F=h+12|0;bS(t)|0;if((T|0)<0){t=-t;S=1;k=5659}else{S=(u&2049|0)!=0&1;k=(u&2048|0)==0?(u&1|0)==0?5660:5665:5662}bS(t)|0;A=T&2146435072;do{if(A>>>0<2146435072|(A|0)==2146435072&0<0){v=+DS(t,b)*2.0;l=v!=0.0;if(l)o[b>>2]=(o[b>>2]|0)+-1;E=s|32;if((E|0)==97){y=s&32;g=(y|0)==0?k:k+9|0;m=S|2;l=12-i|0;do{if(!(i>>>0>11|(l|0)==0)){t=8.0;do{l=l+-1|0;t=t*16.0}while((l|0)!=0);if((r[g>>0]|0)==45){t=-(t+(-v-t));break}else{t=v+t-t;break}}else t=v}while(0);c=o[b>>2]|0;l=(c|0)<0?0-c|0:c;l=pS(l,((l|0)<0)<<31>>31,F)|0;if((l|0)==(F|0)){l=h+11|0;r[l>>0]=48}r[l+-1>>0]=(c>>31&2)+43;d=l+-2|0;r[d>>0]=s+15;h=(i|0)<1;f=(u&8|0)==0;l=O;do{A=~~t;c=l+1|0;r[l>>0]=a[5694+A>>0]|y;t=(t-+(A|0))*16.0;if((c-M|0)==1?!(f&(h&t==0.0)):0){r[c>>0]=46;l=l+2|0}else l=c}while(t!=0.0);A=l-M|0;M=F-d|0;F=(i|0)!=0&(A+-2|0)<(i|0)?i+2|0:A;l=M+m+F|0;vS(e,32,n,l,u);lS(e,g,m);vS(e,48,n,l,u^65536);lS(e,O,A);vS(e,48,F-A|0,0,0);lS(e,d,M);vS(e,32,n,l,u^8192);break}c=(i|0)<0?6:i;if(l){l=(o[b>>2]|0)+-28|0;o[b>>2]=l;t=v*268435456.0}else{t=v;l=o[b>>2]|0}A=(l|0)<0?f:f+288|0;f=A;do{w=~~t>>>0;o[f>>2]=w;f=f+4|0;t=(t-+(w>>>0))*1.0e9}while(t!=0.0);if((l|0)>0){h=A;m=f;while(1){d=(l|0)<29?l:29;l=m+-4|0;if(l>>>0>=h>>>0){f=0;do{x=nA(o[l>>2]|0,0,d|0)|0;x=eA(x|0,T|0,f|0,0)|0;w=T;D=cA(x|0,w|0,1e9,0)|0;o[l>>2]=D;f=uA(x|0,w|0,1e9,0)|0;l=l+-4|0}while(l>>>0>=h>>>0);if(f){h=h+-4|0;o[h>>2]=f}}f=m;while(1){if(f>>>0<=h>>>0)break;l=f+-4|0;if(!(o[l>>2]|0))f=l;else break}l=(o[b>>2]|0)-d|0;o[b>>2]=l;if((l|0)>0)m=f;else break}}else h=A;if((l|0)<0){i=((c+25|0)/9|0)+1|0;_=(E|0)==102;do{y=0-l|0;y=(y|0)<9?y:9;if(h>>>0>>0){d=(1<>>y;g=0;l=h;do{w=o[l>>2]|0;o[l>>2]=(w>>>y)+g;g=H(w&d,m)|0;l=l+4|0}while(l>>>0>>0);l=(o[h>>2]|0)==0?h+4|0:h;if(!g){h=l;l=f}else{o[f>>2]=g;h=l;l=f+4|0}}else{h=(o[h>>2]|0)==0?h+4|0:h;l=f}f=_?A:h;f=(l-f>>2|0)>(i|0)?f+(i<<2)|0:l;l=(o[b>>2]|0)+y|0;o[b>>2]=l}while((l|0)<0);l=h;i=f}else{l=h;i=f}w=A;if(l>>>0>>0){f=(w-l>>2)*9|0;d=o[l>>2]|0;if(d>>>0>=10){h=10;do{h=h*10|0;f=f+1|0}while(d>>>0>=h>>>0)}}else f=0;_=(E|0)==103;D=(c|0)!=0;h=c-((E|0)!=102?f:0)+((D&_)<<31>>31)|0;if((h|0)<(((i-w>>2)*9|0)+-9|0)){h=h+9216|0;y=A+4+(((h|0)/9|0)+-1024<<2)|0;h=((h|0)%9|0)+1|0;if((h|0)<9){d=10;do{d=d*10|0;h=h+1|0}while((h|0)!=9)}else d=10;m=o[y>>2]|0;g=(m>>>0)%(d>>>0)|0;h=(y+4|0)==(i|0);if(!(h&(g|0)==0)){v=(((m>>>0)/(d>>>0)|0)&1|0)==0?9007199254740992.0:9007199254740994.0;x=(d|0)/2|0;t=g>>>0>>0?.5:h&(g|0)==(x|0)?1.0:1.5;if(S){x=(r[k>>0]|0)==45;t=x?-t:t;v=x?-v:v}h=m-g|0;o[y>>2]=h;if(v+t!=v){x=h+d|0;o[y>>2]=x;if(x>>>0>999999999){f=y;while(1){h=f+-4|0;o[f>>2]=0;if(h>>>0>>0){l=l+-4|0;o[l>>2]=0}x=(o[h>>2]|0)+1|0;o[h>>2]=x;if(x>>>0>999999999)f=h;else break}}else h=y;f=(w-l>>2)*9|0;m=o[l>>2]|0;if(m>>>0>=10){d=10;do{d=d*10|0;f=f+1|0}while(m>>>0>=d>>>0)}}else h=y}else h=y;h=h+4|0;h=i>>>0>h>>>0?h:i;x=l}else{h=i;x=l}E=h;while(1){if(E>>>0<=x>>>0){b=0;break}l=E+-4|0;if(!(o[l>>2]|0))E=l;else{b=1;break}}i=0-f|0;do{if(_){l=((D^1)&1)+c|0;if((l|0)>(f|0)&(f|0)>-5){d=s+-1|0;c=l+-1-f|0}else{d=s+-2|0;c=l+-1|0}l=u&8;if(!l){if(b?(C=o[E+-4>>2]|0,(C|0)!=0):0){if(!((C>>>0)%10|0)){h=0;l=10;do{l=l*10|0;h=h+1|0}while(!((C>>>0)%(l>>>0)|0|0))}else h=0}else h=9;l=((E-w>>2)*9|0)+-9|0;if((d|32|0)==102){y=l-h|0;y=(y|0)>0?y:0;c=(c|0)<(y|0)?c:y;y=0;break}else{y=l+f-h|0;y=(y|0)>0?y:0;c=(c|0)<(y|0)?c:y;y=0;break}}else y=l}else{d=s;y=u&8}}while(0);_=c|y;m=(_|0)!=0&1;g=(d|32|0)==102;if(g){D=0;l=(f|0)>0?f:0}else{l=(f|0)<0?i:f;l=pS(l,((l|0)<0)<<31>>31,F)|0;h=F;if((h-l|0)<2)do{l=l+-1|0;r[l>>0]=48}while((h-l|0)<2);r[l+-1>>0]=(f>>31&2)+43;l=l+-2|0;r[l>>0]=d;D=l;l=h-l|0}l=S+1+c+m+l|0;vS(e,32,n,l,u);lS(e,k,S);vS(e,48,n,l,u^65536);if(g){d=x>>>0>A>>>0?A:x;y=O+9|0;m=y;g=O+8|0;h=d;do{f=pS(o[h>>2]|0,0,y)|0;if((h|0)==(d|0)){if((f|0)==(y|0)){r[g>>0]=48;f=g}}else if(f>>>0>O>>>0){tA(O|0,48,f-M|0)|0;do{f=f+-1|0}while(f>>>0>O>>>0)}lS(e,f,m-f|0);h=h+4|0}while(h>>>0<=A>>>0);if(_|0)lS(e,5710,1);if(h>>>0>>0&(c|0)>0)while(1){f=pS(o[h>>2]|0,0,y)|0;if(f>>>0>O>>>0){tA(O|0,48,f-M|0)|0;do{f=f+-1|0}while(f>>>0>O>>>0)}lS(e,f,(c|0)<9?c:9);h=h+4|0;f=c+-9|0;if(!(h>>>0>>0&(c|0)>9)){c=f;break}else c=f}vS(e,48,c+9|0,9,0)}else{_=b?E:x+4|0;if((c|0)>-1){b=O+9|0;y=(y|0)==0;i=b;m=0-M|0;g=O+8|0;d=x;do{f=pS(o[d>>2]|0,0,b)|0;if((f|0)==(b|0)){r[g>>0]=48;f=g}do{if((d|0)==(x|0)){h=f+1|0;lS(e,f,1);if(y&(c|0)<1){f=h;break}lS(e,5710,1);f=h}else{if(f>>>0<=O>>>0)break;tA(O|0,48,f+m|0)|0;do{f=f+-1|0}while(f>>>0>O>>>0)}}while(0);M=i-f|0;lS(e,f,(c|0)>(M|0)?M:c);c=c-M|0;d=d+4|0}while(d>>>0<_>>>0&(c|0)>-1)}vS(e,48,c+18|0,18,0);lS(e,D,F-D|0)}vS(e,32,n,l,u^8192)}else{O=(s&32|0)!=0;l=S+3|0;vS(e,32,n,l,u&-65537);lS(e,k,S);lS(e,t!=t|0.0!=0.0?O?5686:5690:O?5678:5682,3);vS(e,32,n,l,u^8192)}}while(0);p=N;return((l|0)<(n|0)?n:l)|0}function bS(e){e=+e;var t=0;c[h>>3]=e;t=o[h>>2]|0;T=o[h+4>>2]|0;return t|0}function DS(e,t){e=+e;t=t|0;return+ +ES(e,t)}function ES(e,t){e=+e;t=t|0;var n=0,r=0,i=0;c[h>>3]=e;n=o[h>>2]|0;r=o[h+4>>2]|0;i=rA(n|0,r|0,52)|0;switch(i&2047){case 0:{if(e!=0.0){e=+ES(e*18446744073709551616.0,t);n=(o[t>>2]|0)+-64|0}else n=0;o[t>>2]=n;break}case 2047:break;default:{o[t>>2]=(i&2047)+-1022;o[h>>2]=n;o[h+4>>2]=r&-2146435073|1071644672;e=+c[h>>3]}}return+e}function xS(e,t,n){e=e|0;t=t|0;n=n|0;do{if(e){if(t>>>0<128){r[e>>0]=t;e=1;break}if(!(o[o[(wS()|0)+188>>2]>>2]|0))if((t&-128|0)==57216){r[e>>0]=t;e=1;break}else{o[(Zk()|0)>>2]=84;e=-1;break}if(t>>>0<2048){r[e>>0]=t>>>6|192;r[e+1>>0]=t&63|128;e=2;break}if(t>>>0<55296|(t&-8192|0)==57344){r[e>>0]=t>>>12|224;r[e+1>>0]=t>>>6&63|128;r[e+2>>0]=t&63|128;e=3;break}if((t+-65536|0)>>>0<1048576){r[e>>0]=t>>>18|240;r[e+1>>0]=t>>>12&63|128;r[e+2>>0]=t>>>6&63|128;r[e+3>>0]=t&63|128;e=4;break}else{o[(Zk()|0)>>2]=84;e=-1;break}}else e=1}while(0);return e|0}function wS(){return eS()|0}function CS(){return eS()|0}function kS(e,t){e=e|0;t=t|0;var n=0,i=0;i=0;while(1){if((a[5712+i>>0]|0)==(e|0)){e=2;break}n=i+1|0;if((n|0)==87){n=5800;i=87;e=5;break}else i=n}if((e|0)==2)if(!i)n=5800;else{n=5800;e=5}if((e|0)==5)while(1){do{e=n;n=n+1|0}while((r[e>>0]|0)!=0);i=i+-1|0;if(!i)break;else e=5}return SS(n,o[t+20>>2]|0)|0}function SS(e,t){e=e|0;t=t|0;return AS(e,t)|0}function AS(e,t){e=e|0;t=t|0;if(!t)t=0;else t=TS(o[t>>2]|0,o[t+4>>2]|0,e)|0;return(t|0?t:e)|0}function TS(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0,p=0;p=(o[e>>2]|0)+1794895138|0;u=FS(o[e+8>>2]|0,p)|0;i=FS(o[e+12>>2]|0,p)|0;a=FS(o[e+16>>2]|0,p)|0;e:do{if((u>>>0>>2>>>0?(d=t-(u<<2)|0,i>>>0>>0&a>>>0>>0):0)?((a|i)&3|0)==0:0){d=i>>>2;h=a>>>2;f=0;while(1){l=u>>>1;c=f+l|0;s=c<<1;a=s+d|0;i=FS(o[e+(a<<2)>>2]|0,p)|0;a=FS(o[e+(a+1<<2)>>2]|0,p)|0;if(!(a>>>0>>0&i>>>0<(t-a|0)>>>0)){i=0;break e}if(r[e+(a+i)>>0]|0){i=0;break e}i=rS(n,e+a|0)|0;if(!i)break;i=(i|0)<0;if((u|0)==1){i=0;break e}else{f=i?f:c;u=i?l:u-l|0}}i=s+h|0;a=FS(o[e+(i<<2)>>2]|0,p)|0;i=FS(o[e+(i+1<<2)>>2]|0,p)|0;if(i>>>0>>0&a>>>0<(t-i|0)>>>0)i=(r[e+(i+a)>>0]|0)==0?e+i|0:0;else i=0}else i=0}while(0);return i|0}function FS(e,t){e=e|0;t=t|0;var n=0;n=fA(e|0)|0;return((t|0)==0?e:n)|0}function MS(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0,u=0,s=0,l=0;i=n+16|0;a=o[i>>2]|0;if(!a){if(!(OS(n)|0)){a=o[i>>2]|0;u=5}else i=0}else u=5;e:do{if((u|0)==5){l=n+20|0;s=o[l>>2]|0;i=s;if((a-s|0)>>>0>>0){i=_T[o[n+36>>2]&7](n,e,t)|0;break}t:do{if((r[n+75>>0]|0)>-1){s=t;while(1){if(!s){u=0;a=e;break t}a=s+-1|0;if((r[e+a>>0]|0)==10)break;else s=a}i=_T[o[n+36>>2]&7](n,e,s)|0;if(i>>>0>>0)break e;u=s;a=e+s|0;t=t-s|0;i=o[l>>2]|0}else{u=0;a=e}}while(0);iA(i|0,a|0,t|0)|0;o[l>>2]=(o[l>>2]|0)+t;i=u+t|0}}while(0);return i|0}function OS(e){e=e|0;var t=0,n=0;t=e+74|0;n=r[t>>0]|0;r[t>>0]=n+255|n;t=o[e>>2]|0;if(!(t&8)){o[e+8>>2]=0;o[e+4>>2]=0;n=o[e+44>>2]|0;o[e+28>>2]=n;o[e+20>>2]=n;o[e+16>>2]=n+(o[e+48>>2]|0);e=0}else{o[e>>2]=t|32;e=-1}return e|0}function NS(e,t){e=q(e);t=q(t);var n=0,r=0;n=PS(e)|0;do{if((n&2147483647)>>>0<=2139095040){r=PS(t)|0;if((r&2147483647)>>>0<=2139095040)if((r^n|0)<0){e=(n|0)<0?t:e;break}else{e=e>2]=e,o[h>>2]|0)|0}function RS(e,t){e=q(e);t=q(t);var n=0,r=0;n=BS(e)|0;do{if((n&2147483647)>>>0<=2139095040){r=BS(t)|0;if((r&2147483647)>>>0<=2139095040)if((r^n|0)<0){e=(n|0)<0?e:t;break}else{e=e>2]=e,o[h>>2]|0)|0}function IS(e,t){e=q(e);t=q(t);var n=0,r=0,i=0,a=0,u=0,s=0,c=0,f=0;a=(l[h>>2]=e,o[h>>2]|0);s=(l[h>>2]=t,o[h>>2]|0);n=a>>>23&255;u=s>>>23&255;c=a&-2147483648;i=s<<1;e:do{if((i|0)!=0?!((n|0)==255|((LS(t)|0)&2147483647)>>>0>2139095040):0){r=a<<1;if(r>>>0<=i>>>0){t=q(e*q(0.0));return q((r|0)==(i|0)?t:e)}if(!n){n=a<<9;if((n|0)>-1){r=n;n=0;do{n=n+-1|0;r=r<<1}while((r|0)>-1)}else n=0;r=a<<1-n}else r=a&8388607|8388608;if(!u){a=s<<9;if((a|0)>-1){i=0;do{i=i+-1|0;a=a<<1}while((a|0)>-1)}else i=0;u=i;s=s<<1-i}else s=s&8388607|8388608;i=r-s|0;a=(i|0)>-1;t:do{if((n|0)>(u|0)){while(1){if(a)if(!i)break;else r=i;r=r<<1;n=n+-1|0;i=r-s|0;a=(i|0)>-1;if((n|0)<=(u|0))break t}t=q(e*q(0.0));break e}}while(0);if(a)if(!i){t=q(e*q(0.0));break}else r=i;if(r>>>0<8388608)do{r=r<<1;n=n+-1|0}while(r>>>0<8388608);if((n|0)>0)n=r+-8388608|n<<23;else n=r>>>(1-n|0);t=(o[h>>2]=n|c,q(l[h>>2]))}else f=3}while(0);if((f|0)==3){t=q(e*t);t=q(t/t)}return q(t)}function LS(e){e=q(e);return(l[h>>2]=e,o[h>>2]|0)|0}function jS(e,t){e=e|0;t=t|0;return oS(o[582]|0,e,t)|0}function US(e){e=e|0;qe()}function zS(e){e=e|0;return}function WS(e,t){e=e|0;t=t|0;return 0}function XS(e){e=e|0;if((HS(e+4|0)|0)==-1){pT[o[(o[e>>2]|0)+8>>2]&127](e);e=1}else e=0;return e|0}function HS(e){e=e|0;var t=0;t=o[e>>2]|0;o[e>>2]=t+-1;return t+-1|0}function GS(e){e=e|0;if(XS(e)|0)JS(e);return}function JS(e){e=e|0;var t=0;t=e+8|0;if(!((o[t>>2]|0)!=0?(HS(t)|0)!=-1:0))pT[o[(o[e>>2]|0)+16>>2]&127](e);return}function $S(e){e=e|0;var t=0;t=(e|0)==0?1:e;while(1){e=Gk(t)|0;if(e|0)break;e=KS()|0;if(!e){e=0;break}OT[e&0]()}return e|0}function qS(e){e=e|0;return $S(e)|0}function VS(e){e=e|0;Jk(e);return}function YS(e){e=e|0;if((r[e+11>>0]|0)<0)VS(o[e>>2]|0);return}function KS(){var e=0;e=o[2923]|0;o[2923]=e+0;return e|0}function ZS(){}function QS(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;r=t-r-(n>>>0>e>>>0|0)>>>0;return(T=r,e-n>>>0|0)|0}function eA(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;n=e+n>>>0;return(T=t+r+(n>>>0>>0|0)>>>0,n|0)|0}function tA(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0,u=0,s=0;u=e+n|0;t=t&255;if((n|0)>=67){while(e&3){r[e>>0]=t;e=e+1|0}i=u&-4|0;a=i-64|0;s=t|t<<8|t<<16|t<<24;while((e|0)<=(a|0)){o[e>>2]=s;o[e+4>>2]=s;o[e+8>>2]=s;o[e+12>>2]=s;o[e+16>>2]=s;o[e+20>>2]=s;o[e+24>>2]=s;o[e+28>>2]=s;o[e+32>>2]=s;o[e+36>>2]=s;o[e+40>>2]=s;o[e+44>>2]=s;o[e+48>>2]=s;o[e+52>>2]=s;o[e+56>>2]=s;o[e+60>>2]=s;e=e+64|0}while((e|0)<(i|0)){o[e>>2]=s;e=e+4|0}}while((e|0)<(u|0)){r[e>>0]=t;e=e+1|0}return u-n|0}function nA(e,t,n){e=e|0;t=t|0;n=n|0;if((n|0)<32){T=t<>>32-n;return e<>>n;return e>>>n|(t&(1<>>n-32|0}function iA(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0,u=0;if((n|0)>=8192)return Xe(e|0,t|0,n|0)|0;u=e|0;a=e+n|0;if((e&3)==(t&3)){while(e&3){if(!n)return u|0;r[e>>0]=r[t>>0]|0;e=e+1|0;t=t+1|0;n=n-1|0}n=a&-4|0;i=n-64|0;while((e|0)<=(i|0)){o[e>>2]=o[t>>2];o[e+4>>2]=o[t+4>>2];o[e+8>>2]=o[t+8>>2];o[e+12>>2]=o[t+12>>2];o[e+16>>2]=o[t+16>>2];o[e+20>>2]=o[t+20>>2];o[e+24>>2]=o[t+24>>2];o[e+28>>2]=o[t+28>>2];o[e+32>>2]=o[t+32>>2];o[e+36>>2]=o[t+36>>2];o[e+40>>2]=o[t+40>>2];o[e+44>>2]=o[t+44>>2];o[e+48>>2]=o[t+48>>2];o[e+52>>2]=o[t+52>>2];o[e+56>>2]=o[t+56>>2];o[e+60>>2]=o[t+60>>2];e=e+64|0;t=t+64|0}while((e|0)<(n|0)){o[e>>2]=o[t>>2];e=e+4|0;t=t+4|0}}else{n=a-4|0;while((e|0)<(n|0)){r[e>>0]=r[t>>0]|0;r[e+1>>0]=r[t+1>>0]|0;r[e+2>>0]=r[t+2>>0]|0;r[e+3>>0]=r[t+3>>0]|0;e=e+4|0;t=t+4|0}}while((e|0)<(a|0)){r[e>>0]=r[t>>0]|0;e=e+1|0;t=t+1|0}return u|0}function oA(e){e=e|0;var t=0;t=r[g+(e&255)>>0]|0;if((t|0)<8)return t|0;t=r[g+(e>>8&255)>>0]|0;if((t|0)<8)return t+8|0;t=r[g+(e>>16&255)>>0]|0;if((t|0)<8)return t+16|0;return(r[g+(e>>>24)>>0]|0)+24|0}function aA(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;var a=0,u=0,s=0,l=0,c=0,f=0,h=0,d=0,p=0,m=0;f=e;l=t;c=l;u=n;d=r;s=d;if(!c){a=(i|0)!=0;if(!s){if(a){o[i>>2]=(f>>>0)%(u>>>0);o[i+4>>2]=0}d=0;i=(f>>>0)/(u>>>0)>>>0;return(T=d,i)|0}else{if(!a){d=0;i=0;return(T=d,i)|0}o[i>>2]=e|0;o[i+4>>2]=t&0;d=0;i=0;return(T=d,i)|0}}a=(s|0)==0;do{if(u){if(!a){a=($(s|0)|0)-($(c|0)|0)|0;if(a>>>0<=31){h=a+1|0;s=31-a|0;t=a-31>>31;u=h;e=f>>>(h>>>0)&t|c<>>(h>>>0)&t;a=0;s=f<>2]=e|0;o[i+4>>2]=l|t&0;d=0;i=0;return(T=d,i)|0}a=u-1|0;if(a&u|0){s=($(u|0)|0)+33-($(c|0)|0)|0;m=64-s|0;h=32-s|0;l=h>>31;p=s-32|0;t=p>>31;u=s;e=h-1>>31&c>>>(p>>>0)|(c<>>(s>>>0))&t;t=t&c>>>(s>>>0);a=f<>>(p>>>0))&l|f<>31;break}if(i|0){o[i>>2]=a&f;o[i+4>>2]=0}if((u|0)==1){p=l|t&0;m=e|0|0;return(T=p,m)|0}else{m=oA(u|0)|0;p=c>>>(m>>>0)|0;m=c<<32-m|f>>>(m>>>0)|0;return(T=p,m)|0}}else{if(a){if(i|0){o[i>>2]=(c>>>0)%(u>>>0);o[i+4>>2]=0}p=0;m=(c>>>0)/(u>>>0)>>>0;return(T=p,m)|0}if(!f){if(i|0){o[i>>2]=0;o[i+4>>2]=(c>>>0)%(s>>>0)}p=0;m=(c>>>0)/(s>>>0)>>>0;return(T=p,m)|0}a=s-1|0;if(!(a&s)){if(i|0){o[i>>2]=e|0;o[i+4>>2]=a&c|t&0}p=0;m=c>>>((oA(s|0)|0)>>>0);return(T=p,m)|0}a=($(s|0)|0)-($(c|0)|0)|0;if(a>>>0<=30){t=a+1|0;s=31-a|0;u=t;e=c<>>(t>>>0);t=c>>>(t>>>0);a=0;s=f<>2]=e|0;o[i+4>>2]=l|t&0;p=0;m=0;return(T=p,m)|0}}while(0);if(!u){c=s;l=0;s=0}else{h=n|0|0;f=d|r&0;c=eA(h|0,f|0,-1,-1)|0;n=T;l=s;s=0;do{r=l;l=a>>>31|l<<1;a=s|a<<1;r=e<<1|r>>>31|0;d=e>>>31|t<<1|0;QS(c|0,n|0,r|0,d|0)|0;m=T;p=m>>31|((m|0)<0?-1:0)<<1;s=p&1;e=QS(r|0,d|0,p&h|0,(((m|0)<0?-1:0)>>31|((m|0)<0?-1:0)<<1)&f|0)|0;t=T;u=u-1|0}while((u|0)!=0);c=l;l=0}u=0;if(i|0){o[i>>2]=e;o[i+4>>2]=t}p=(a|0)>>>31|(c|u)<<1|(u<<1|a>>>31)&0|l;m=(a<<1|0>>>31)&-2|s;return(T=p,m)|0}function uA(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;return aA(e,t,n,r,0)|0}function sA(e){e=e|0;var t=0,n=0;n=e+15&-16|0;t=o[f>>2]|0;e=t+n|0;if((n|0)>0&(e|0)<(t|0)|(e|0)<0){Q()|0;Ge(12);return-1}o[f>>2]=e;if((e|0)>(Z()|0)?(K()|0)==0:0){o[f>>2]=t;Ge(12);return-1}return t|0}function lA(e,t,n){e=e|0;t=t|0;n=n|0;var i=0;if((t|0)<(e|0)&(e|0)<(t+n|0)){i=e;t=t+n|0;e=e+n|0;while((n|0)>0){e=e-1|0;t=t-1|0;n=n-1|0;r[e>>0]=r[t>>0]|0}e=i}else iA(e,t,n)|0;return e|0}function cA(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;a=p;p=p+16|0;i=a|0;aA(e,t,n,r,i)|0;p=a;return(T=o[i+4>>2]|0,o[i>>2]|0)|0}function fA(e){e=e|0;return(e&255)<<24|(e>>8&255)<<16|(e>>16&255)<<8|e>>>24|0}function hA(e,t,n,r,i,o){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;o=o|0;cT[e&1](t|0,n|0,r|0,i|0,o|0)}function dA(e,t,n){e=e|0;t=t|0;n=q(n);fT[e&1](t|0,q(n))}function pA(e,t,n){e=e|0;t=t|0;n=+n;hT[e&31](t|0,+n)}function mA(e,t,n,r){e=e|0;t=t|0;n=q(n);r=q(r);return q(dT[e&0](t|0,q(n),q(r)))}function gA(e,t){e=e|0;t=t|0;pT[e&127](t|0)}function vA(e,t,n){e=e|0;t=t|0;n=n|0;mT[e&31](t|0,n|0)}function yA(e,t){e=e|0;t=t|0;return gT[e&31](t|0)|0}function _A(e,t,n,r,i){e=e|0;t=t|0;n=+n;r=+r;i=i|0;vT[e&1](t|0,+n,+r,i|0)}function bA(e,t,n,r){e=e|0;t=t|0;n=+n;r=+r;yT[e&1](t|0,+n,+r)}function DA(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;return _T[e&7](t|0,n|0,r|0)|0}function EA(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;return+bT[e&1](t|0,n|0,r|0)}function xA(e,t){e=e|0;t=t|0;return+DT[e&15](t|0)}function wA(e,t,n){e=e|0;t=t|0;n=+n;return ET[e&1](t|0,+n)|0}function CA(e,t,n){e=e|0;t=t|0;n=n|0;return xT[e&15](t|0,n|0)|0}function kA(e,t,n,r,i,o){e=e|0;t=t|0;n=n|0;r=+r;i=+i;o=o|0;wT[e&1](t|0,n|0,+r,+i,o|0)}function SA(e,t,n,r,i,o,a){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;o=o|0;a=a|0;CT[e&1](t|0,n|0,r|0,i|0,o|0,a|0)}function AA(e,t,n){e=e|0;t=t|0;n=n|0;return+kT[e&7](t|0,n|0)}function TA(e){e=e|0;return ST[e&7]()|0}function FA(e,t,n,r,i,o){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;o=o|0;return AT[e&1](t|0,n|0,r|0,i|0,o|0)|0}function MA(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=+i;TT[e&1](t|0,n|0,r|0,+i)}function OA(e,t,n,r,i,o,a){e=e|0;t=t|0;n=n|0;r=q(r);i=i|0;o=q(o);a=a|0;FT[e&1](t|0,n|0,q(r),i|0,q(o),a|0)}function NA(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;MT[e&15](t|0,n|0,r|0)}function PA(e){e=e|0;OT[e&0]()}function RA(e,t,n,r){e=e|0;t=t|0;n=n|0;r=+r;NT[e&15](t|0,n|0,+r)}function BA(e,t,n){e=e|0;t=+t;n=+n;return PT[e&1](+t,+n)|0}function IA(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;RT[e&15](t|0,n|0,r|0,i|0)}function LA(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;V(0)}function jA(e,t){e=e|0;t=q(t);V(1)}function UA(e,t){e=e|0;t=+t;V(2)}function zA(e,t,n){e=e|0;t=q(t);n=q(n);V(3);return ft}function WA(e){e=e|0;V(4)}function XA(e,t){e=e|0;t=t|0;V(5)}function HA(e){e=e|0;V(6);return 0}function GA(e,t,n,r){e=e|0;t=+t;n=+n;r=r|0;V(7)}function JA(e,t,n){e=e|0;t=+t;n=+n;V(8)}function $A(e,t,n){e=e|0;t=t|0;n=n|0;V(9);return 0}function qA(e,t,n){e=e|0;t=t|0;n=n|0;V(10);return 0.0}function VA(e){e=e|0;V(11);return 0.0}function YA(e,t){e=e|0;t=+t;V(12);return 0}function KA(e,t){e=e|0;t=t|0;V(13);return 0}function ZA(e,t,n,r,i){e=e|0;t=t|0;n=+n;r=+r;i=i|0;V(14)}function QA(e,t,n,r,i,o){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;o=o|0;V(15)}function eT(e,t){e=e|0;t=t|0;V(16);return 0.0}function tT(){V(17);return 0}function nT(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;V(18);return 0}function rT(e,t,n,r){e=e|0;t=t|0;n=n|0;r=+r;V(19)}function iT(e,t,n,r,i,o){e=e|0;t=t|0;n=q(n);r=r|0;i=q(i);o=o|0;V(20)}function oT(e,t,n){e=e|0;t=t|0;n=n|0;V(21)}function aT(){V(22)}function uT(e,t,n){e=e|0;t=t|0;n=+n;V(23)}function sT(e,t){e=+e;t=+t;V(24);return 0}function lT(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;V(25)}var cT=[LA,xE];var fT=[jA,Gi];var hT=[UA,yo,_o,bo,Do,Eo,xo,wo,ko,So,To,Fo,Mo,Oo,No,Po,Ro,Bo,Io,UA,UA,UA,UA,UA,UA,UA,UA,UA,UA,UA,UA,UA];var dT=[zA];var pT=[WA,zS,ps,ms,gs,Vh,Yh,Kh,yb,_b,bb,oE,aE,uE,ak,uk,sk,bt,Yi,to,Co,Ao,ja,Ua,Vu,ws,Ws,dl,Nl,rc,kc,Gc,hf,Pf,Qf,yh,Ih,vd,Bd,tp,bp,jp,im,km,Hm,ug,Ag,Wi,cv,Tv,Kv,yy,By,o_,v_,b_,U_,X_,ub,xb,kb,Jb,dD,Cs,Fx,dw,Mw,Vw,bC,LC,YC,QC,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA,WA];var mT=[XA,no,ro,ao,uo,so,lo,co,fo,mo,go,vo,ea,ra,ia,oa,aa,ua,sa,da,va,Va,Fm,$m,Ey,Nx,DD,ew,XA,XA,XA,XA];var gT=[HA,qk,Vi,zo,Go,Jo,$o,qo,Vo,Yo,Zo,Qo,pa,ma,za,Mg,Uy,Vb,Lx,Ux,HA,HA,HA,HA,HA,HA,HA,HA,HA,HA,HA,HA];var vT=[GA,Wa];var yT=[JA,cb];var _T=[$A,Vk,Yk,nS,uc,Dd,pv,Qw];var bT=[qA,rh];var DT=[VA,ta,na,la,Xa,Ha,Ga,Ja,$a,qa,VA,VA,VA,VA,VA,VA];var ET=[YA,d_];var xT=[KA,WS,ga,ts,vl,Fc,Vc,zh,Ud,fg,Ji,Rw,KA,KA,KA,KA];var wT=[ZA,Js];var CT=[QA,wC];var kT=[eT,ca,Ya,Ka,Za,Eh,eT,eT];var ST=[tT,Qa,$i,Ui,C_,$_,Mb,rk];var AT=[nT,Br];var TT=[rT,wp];var FT=[iT,_a];var MT=[oT,Wo,Ko,fa,ha,Il,gf,Xp,sm,Hi,ZE,vw,WC,oT,oT,oT];var OT=[aT];var NT=[uT,io,oo,ho,po,Lo,jo,Uo,op,Nv,s_,uT,uT,uT,uT,uT];var PT=[sT,mb];var RT=[lT,Lf,jg,ty,Vy,M_,Q_,Lb,yD,Gx,pk,lT,lT,lT,lT,lT];return{_llvm_bswap_i32:fA,dynCall_idd:BA,dynCall_i:TA,_i64Subtract:QS,___udivdi3:uA,dynCall_vif:dA,setThrew:gt,dynCall_viii:NA,_bitshift64Lshr:rA,_bitshift64Shl:nA,dynCall_vi:gA,dynCall_viiddi:kA,dynCall_diii:EA,dynCall_iii:CA,_memset:tA,_sbrk:sA,_memcpy:iA,__GLOBAL__sub_I_Yoga_cpp:ji,dynCall_vii:vA,___uremdi3:cA,dynCall_vid:pA,stackAlloc:ht,_nbind_init:Tk,getTempRet0:yt,dynCall_di:xA,dynCall_iid:wA,setTempRet0:vt,_i64Add:eA,dynCall_fiff:mA,dynCall_iiii:DA,_emscripten_get_global_libc:$k,dynCall_viid:RA,dynCall_viiid:MA,dynCall_viififi:OA,dynCall_ii:yA,__GLOBAL__sub_I_Binding_cc:Dx,dynCall_viiii:IA,dynCall_iiiiii:FA,stackSave:dt,dynCall_viiiii:hA,__GLOBAL__sub_I_nbind_cc:eu,dynCall_vidd:bA,_free:Jk,runPostSets:ZS,dynCall_viiiiii:SA,establishStackSpace:mt,_memmove:lA,stackRestore:pt,_malloc:Gk,__GLOBAL__sub_I_common_cc:iD,dynCall_viddi:_A,dynCall_dii:AA,dynCall_v:PA}}(Module.asmGlobalArg,Module.asmLibraryArg,buffer),_llvm_bswap_i32=Module._llvm_bswap_i32=asm._llvm_bswap_i32,getTempRet0=Module.getTempRet0=asm.getTempRet0,___udivdi3=Module.___udivdi3=asm.___udivdi3,setThrew=Module.setThrew=asm.setThrew,_bitshift64Lshr=Module._bitshift64Lshr=asm._bitshift64Lshr,_bitshift64Shl=Module._bitshift64Shl=asm._bitshift64Shl,_memset=Module._memset=asm._memset,_sbrk=Module._sbrk=asm._sbrk,_memcpy=Module._memcpy=asm._memcpy,stackAlloc=Module.stackAlloc=asm.stackAlloc,___uremdi3=Module.___uremdi3=asm.___uremdi3,_nbind_init=Module._nbind_init=asm._nbind_init,_i64Subtract=Module._i64Subtract=asm._i64Subtract,setTempRet0=Module.setTempRet0=asm.setTempRet0,_i64Add=Module._i64Add=asm._i64Add,_emscripten_get_global_libc=Module._emscripten_get_global_libc=asm._emscripten_get_global_libc,__GLOBAL__sub_I_Yoga_cpp=Module.__GLOBAL__sub_I_Yoga_cpp=asm.__GLOBAL__sub_I_Yoga_cpp,__GLOBAL__sub_I_Binding_cc=Module.__GLOBAL__sub_I_Binding_cc=asm.__GLOBAL__sub_I_Binding_cc,stackSave=Module.stackSave=asm.stackSave,__GLOBAL__sub_I_nbind_cc=Module.__GLOBAL__sub_I_nbind_cc=asm.__GLOBAL__sub_I_nbind_cc,_free=Module._free=asm._free,runPostSets=Module.runPostSets=asm.runPostSets,establishStackSpace=Module.establishStackSpace=asm.establishStackSpace,_memmove=Module._memmove=asm._memmove,stackRestore=Module.stackRestore=asm.stackRestore,_malloc=Module._malloc=asm._malloc,__GLOBAL__sub_I_common_cc=Module.__GLOBAL__sub_I_common_cc=asm.__GLOBAL__sub_I_common_cc,dynCall_viiiii=Module.dynCall_viiiii=asm.dynCall_viiiii,dynCall_vif=Module.dynCall_vif=asm.dynCall_vif,dynCall_vid=Module.dynCall_vid=asm.dynCall_vid,dynCall_fiff=Module.dynCall_fiff=asm.dynCall_fiff,dynCall_vi=Module.dynCall_vi=asm.dynCall_vi,dynCall_vii=Module.dynCall_vii=asm.dynCall_vii,dynCall_ii=Module.dynCall_ii=asm.dynCall_ii,dynCall_viddi=Module.dynCall_viddi=asm.dynCall_viddi,dynCall_vidd=Module.dynCall_vidd=asm.dynCall_vidd,dynCall_iiii=Module.dynCall_iiii=asm.dynCall_iiii,dynCall_diii=Module.dynCall_diii=asm.dynCall_diii,dynCall_di=Module.dynCall_di=asm.dynCall_di,dynCall_iid=Module.dynCall_iid=asm.dynCall_iid,dynCall_iii=Module.dynCall_iii=asm.dynCall_iii,dynCall_viiddi=Module.dynCall_viiddi=asm.dynCall_viiddi,dynCall_viiiiii=Module.dynCall_viiiiii=asm.dynCall_viiiiii,dynCall_dii=Module.dynCall_dii=asm.dynCall_dii,dynCall_i=Module.dynCall_i=asm.dynCall_i,dynCall_iiiiii=Module.dynCall_iiiiii=asm.dynCall_iiiiii,dynCall_viiid=Module.dynCall_viiid=asm.dynCall_viiid,dynCall_viififi=Module.dynCall_viififi=asm.dynCall_viififi,dynCall_viii=Module.dynCall_viii=asm.dynCall_viii,dynCall_v=Module.dynCall_v=asm.dynCall_v,dynCall_viid=Module.dynCall_viid=asm.dynCall_viid,dynCall_idd=Module.dynCall_idd=asm.dynCall_idd,dynCall_viiii=Module.dynCall_viiii=asm.dynCall_viiii,initialStackTop;function ExitStatus(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}Runtime.stackAlloc=Module.stackAlloc,Runtime.stackSave=Module.stackSave,Runtime.stackRestore=Module.stackRestore,Runtime.establishStackSpace=Module.establishStackSpace,Runtime.setTempRet0=Module.setTempRet0,Runtime.getTempRet0=Module.getTempRet0,Module.asm=asm,ExitStatus.prototype=new Error,ExitStatus.prototype.constructor=ExitStatus;var preloadStartTime=null,calledMain=!1;function run(e){function t(){Module.calledRun||(Module.calledRun=!0,ABORT||(ensureInitRuntime(),preMain(),Module.onRuntimeInitialized&&Module.onRuntimeInitialized(),Module._main&&shouldRunNow&&Module.callMain(e),postRun()))}e=e||Module.arguments,null===preloadStartTime&&(preloadStartTime=Date.now()),runDependencies>0||(preRun(),runDependencies>0||Module.calledRun||(Module.setStatus?(Module.setStatus("Running..."),setTimeout(function(){setTimeout(function(){Module.setStatus("")},1),t()},1)):t()))}function exit(e,t){t&&Module.noExitRuntime||(Module.noExitRuntime||(ABORT=!0,EXITSTATUS=e,STACKTOP=initialStackTop,exitRuntime(),Module.onExit&&Module.onExit(e)),ENVIRONMENT_IS_NODE&&process.exit(e),Module.quit(e,new ExitStatus(e)))}dependenciesFulfilled=function e(){Module.calledRun||run(),Module.calledRun||(dependenciesFulfilled=e)},Module.callMain=Module.callMain=function(e){e=e||[],ensureInitRuntime();var t=e.length+1;function n(){for(var e=0;e<3;e++)r.push(0)}var r=[allocate(intArrayFromString(Module.thisProgram),"i8",ALLOC_NORMAL)];n();for(var i=0;i0;)Module.preInit.pop()();var shouldRunNow=!0;Module.noInitialRun&&(shouldRunNow=!1),run()},void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return wrapper}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__=[]))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(148)),i=o(n(71));function o(e){return e&&e.__esModule?e:{default:e}}t.default=class{constructor({width:e,height:t}){const n=[];for(let r=0;re.trimRight()).join("\n")}}},function(e,t,n){"use strict";const r=n(149),i=n(151);e.exports=e=>r(e).replace(i()," ").length},function(e,t,n){"use strict";const r=n(150);e.exports=e=>"string"==typeof e?e.replace(r(),""):e},function(e,t,n){"use strict";e.exports=()=>{const e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|");return new RegExp(e,"g")}},function(e,t,n){"use strict";const r="[\ud800-\udbff][\udc00-\udfff]";e.exports=e=>e&&e.exact?new RegExp(`^${r}$`):new RegExp(r,"g")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(45)),i=a(n(153)),o=a(n(72));function a(e){return e&&e.__esModule?e:{default:e}}const u=(e,t)=>{const{config:n,terminalWidth:a,skipStaticElements:s}=t,l=r.default.Node.create(n);e.yogaNode=l;const c=e.style||{};if("ROOT"===e.nodeName){if(l.setWidth(a||100),e.childNodes.length>0){const n=e.childNodes.filter(e=>!s||!e.unstable__static);for(const[e,r]of Object.entries(n)){const n=u(r,t).yogaNode;l.insertChild(n,e)}}return e}if((0,i.default)(l,c),e.textContent||e.nodeValue){const{width:t,height:n}=(0,o.default)(e.textContent||e.nodeValue);return l.setWidth(c.width||t),l.setHeight(c.height||n),e}if(Array.isArray(e.childNodes)&&e.childNodes.length>0){const n=e.childNodes.filter(e=>!s||!e.unstable__static);for(const[e,r]of Object.entries(n)){const{yogaNode:n}=u(r,t);l.insertChild(n,e)}}return e};var s=u;t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(45))&&r.__esModule?r:{default:r};const o=(e,t)=>({}).hasOwnProperty.call(e,t);t.default=(e,t={})=>{((e,t)=>{t.margin&&(e.setMargin(i.default.EDGE_TOP,t.margin),e.setMargin(i.default.EDGE_BOTTOM,t.margin),e.setMargin(i.default.EDGE_START,t.margin),e.setMargin(i.default.EDGE_END,t.margin)),t.marginX&&(e.setMargin(i.default.EDGE_START,t.marginX),e.setMargin(i.default.EDGE_END,t.marginX)),t.marginY&&(e.setMargin(i.default.EDGE_TOP,t.marginY),e.setMargin(i.default.EDGE_BOTTOM,t.marginY)),t.marginTop&&e.setMargin(i.default.EDGE_TOP,t.marginTop),t.marginBottom&&e.setMargin(i.default.EDGE_BOTTOM,t.marginBottom),t.marginLeft&&e.setMargin(i.default.EDGE_START,t.marginLeft),t.marginRight&&e.setMargin(i.default.EDGE_END,t.marginRight)})(e,t),((e,t)=>{t.padding&&(e.setPadding(i.default.EDGE_TOP,t.padding),e.setPadding(i.default.EDGE_BOTTOM,t.padding),e.setPadding(i.default.EDGE_LEFT,t.padding),e.setPadding(i.default.EDGE_RIGHT,t.padding)),t.paddingX&&(e.setPadding(i.default.EDGE_LEFT,t.paddingX),e.setPadding(i.default.EDGE_RIGHT,t.paddingX)),t.paddingY&&(e.setPadding(i.default.EDGE_TOP,t.paddingY),e.setPadding(i.default.EDGE_BOTTOM,t.paddingY)),t.paddingTop&&e.setPadding(i.default.EDGE_TOP,t.paddingTop),t.paddingBottom&&e.setPadding(i.default.EDGE_BOTTOM,t.paddingBottom),t.paddingLeft&&e.setPadding(i.default.EDGE_LEFT,t.paddingLeft),t.paddingRight&&e.setPadding(i.default.EDGE_RIGHT,t.paddingRight)})(e,t),((e,t)=>{t.flexGrow&&e.setFlexGrow(t.flexGrow),t.flexShrink&&e.setFlexShrink(t.flexShrink),t.flexDirection&&("row"===t.flexDirection&&e.setFlexDirection(i.default.FLEX_DIRECTION_ROW),"row-reverse"===t.flexDirection&&e.setFlexDirection(i.default.FLEX_DIRECTION_ROW_REVERSE),"column"===t.flexDirection&&e.setFlexDirection(i.default.FLEX_DIRECTION_COLUMN),"column-reverse"===t.flexDirection&&e.setFlexDirection(i.default.FLEX_DIRECTION_COLUMN_REVERSE)),o(t,"flexBasis")&&e.setFlexBasis(t.flexBasis),t.alignItems&&("flex-start"===t.alignItems&&e.setAlignItems(i.default.ALIGN_FLEX_START),"center"===t.alignItems&&e.setAlignItems(i.default.ALIGN_CENTER),"flex-end"===t.alignItems&&e.setAlignItems(i.default.ALIGN_FLEX_END)),t.justifyContent&&("flex-start"===t.justifyContent&&e.setJustifyContent(i.default.JUSTIFY_FLEX_START),"center"===t.justifyContent&&e.setJustifyContent(i.default.JUSTIFY_CENTER),"flex-end"===t.justifyContent&&e.setJustifyContent(i.default.JUSTIFY_FLEX_END),"space-between"===t.justifyContent&&e.setJustifyContent(i.default.JUSTIFY_SPACE_BETWEEN),"space-around"===t.justifyContent&&e.setJustifyContent(i.default.JUSTIFY_SPACE_AROUND))})(e,t),((e,t)=>{o(t,"width")&&e.setWidth(t.width),o(t,"height")&&e.setHeight(t.height),o(t,"minWidth")&&e.setMinWidth(t.minWidth),o(t,"minHeight")&&e.setMinHeight(t.minHeight)})(e,t)}},function(e,t,n){"use strict";const r=n(155);e.exports=e=>"string"==typeof e?e.replace(r(),""):e},function(e,t,n){"use strict";e.exports=()=>{const e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|");return new RegExp(e,"g")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(73)),i=a(n(75)),o=a(n(76));function a(e){return e&&e.__esModule?e:{default:e}}const u=e=>{if("#text"===e.nodeName)return!0;if("SPAN"===e.nodeName){if(e.textContent)return!0;if(Array.isArray(e.childNodes))return e.childNodes.every(u)}return!1},s=e=>{let t="";for(const n of e.childNodes){let e;"#text"===n.nodeName&&(e=n.nodeValue),"SPAN"===n.nodeName&&(e=n.textContent||s(n)),n.unstable__transformChildren&&(e=n.unstable__transformChildren(e)),t+=e}return t},l=(e,t,{offsetX:n=0,offsetY:a=0,transformers:c=[],skipStaticElements:f})=>{if(e.unstable__static&&f)return;const{yogaNode:h}=e,d=n+h.getComputedLeft(),p=a+h.getComputedTop();let m=c;if(e.unstable__transformChildren&&(m=[e.unstable__transformChildren,...c]),e.textContent){let n=e.textContent;if(e.parentNode.style.textWrap){const t=(0,r.default)(n),a=(0,o.default)(e.parentNode.yogaNode);t>a&&(n=(0,i.default)(n,a,{textWrap:e.parentNode.style.textWrap}))}t.write(d,p,n,{transformers:m})}else if("#text"!==e.nodeName){if(Array.isArray(e.childNodes)&&e.childNodes.length>0){if("row"===e.style.flexDirection&&e.childNodes.every(u)){let n=s(e);if(e.style.textWrap){const t=(0,r.default)(n),a=(0,o.default)(h);t>a&&(n=(0,i.default)(n,a,{textWrap:e.style.textWrap}))}return void t.write(d,p,n,{transformers:m})}for(const n of e.childNodes)l(n,t,{offsetX:d,offsetY:p,transformers:m,skipStaticElements:f})}}else t.write(d,p,e.nodeValue,{transformers:m})};var c=l;t.default=c},function(e,t,n){"use strict";const r=n(71),i=n(74);e.exports=(e,t,n)=>{const o=(n=Object.assign({position:"end"},n)).position;if("string"!=typeof e)throw new TypeError(`Expected \`input\` to be a string, got ${typeof e}`);if("number"!=typeof t)throw new TypeError(`Expected \`columns\` to be a number, got ${typeof t}`);if(t<1)return"";if(1===t)return"…";const a=i(e);if(a<=t)return e;if("start"===o)return"…"+r(e,a-t+1,a);if("middle"===o){const n=Math.floor(t/2);return r(e,0,n)+"…"+r(e,a-(t-n)+1,a)}if("end"===o)return r(e,0,t-1)+"…";throw new Error(`Expected \`options.position\` to be either \`start\`, \`middle\` or \`end\`, got ${o}`)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(159)),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0)),o=c(n(12)),a=c(n(64)),u=c(n(78)),s=c(n(79)),l=c(n(80));function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class h extends i.PureComponent{isRawModeSupported(){return this.props.stdin.isTTY}constructor(){super(),f(this,"handleSetRawMode",e=>{const{stdin:t}=this.props;if(!this.isRawModeSupported())throw t===process.stdin?new Error("Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default.\nRead about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported"):new Error("Raw mode is not supported on the stdin provided to Ink.\nRead about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported");if(t.setEncoding("utf8"),e)return 0===this.rawModeEnabledCount&&(t.addListener("data",this.handleInput),t.resume(),t.setRawMode(!0),r.default.emitKeypressEvents(t)),void this.rawModeEnabledCount++;0==--this.rawModeEnabledCount&&(t.setRawMode(!1),t.removeListener("data",this.handleInput),t.pause())}),f(this,"handleInput",e=>{""===e&&this.props.exitOnCtrlC&&this.handleExit()}),f(this,"handleExit",e=>{this.isRawModeSupported()&&this.handleSetRawMode(!1),this.props.onExit(e)}),this.rawModeEnabledCount=0}render(){return i.default.createElement(u.default.Provider,{value:{exit:this.handleExit}},i.default.createElement(s.default.Provider,{value:{stdin:this.props.stdin,setRawMode:this.handleSetRawMode,isRawModeSupported:this.isRawModeSupported()}},i.default.createElement(l.default.Provider,{value:{stdout:this.props.stdout}},this.props.children)))}componentDidMount(){a.default.hide(this.props.stdout)}componentWillUnmount(){a.default.show(this.props.stdout),this.isRawModeSupported()&&this.handleSetRawMode(!1)}componentDidCatch(e){this.handleExit(e)}}t.default=h,f(h,"propTypes",{children:o.default.node.isRequired,stdin:o.default.object.isRequired,stdout:o.default.object.isRequired,exitOnCtrlC:o.default.bool.isRequired,onExit:o.default.func.isRequired})},function(e,t){e.exports=require("readline")},function(e,t,n){"use strict";var r=n(161);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0)),o=(r=n(12))&&r.__esModule?r:{default:r};function a(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class s extends i.PureComponent{constructor(){super(),this.nodeRef=i.default.createRef()}render(){const e=this.props,{children:t,unstable__transformChildren:n}=e,r=a(e,["children","unstable__transformChildren"]);return i.default.createElement("div",{ref:this.nodeRef,style:r,unstable__transformChildren:n},t)}unstable__getComputedWidth(){return this.nodeRef.current.yogaNode.getComputedWidth()}}t.default=s,u(s,"propTypes",{margin:o.default.number,marginX:o.default.number,marginY:o.default.number,marginTop:o.default.number,marginBottom:o.default.number,marginLeft:o.default.number,marginRight:o.default.number,padding:o.default.number,paddingX:o.default.number,paddingY:o.default.number,paddingTop:o.default.number,paddingBottom:o.default.number,paddingLeft:o.default.number,paddingRight:o.default.number,width:o.default.oneOfType([o.default.number,o.default.string]),minWidth:o.default.number,height:o.default.oneOfType([o.default.number,o.default.string]),minHeight:o.default.number,flexGrow:o.default.number,flexShrink:o.default.number,flexDirection:o.default.oneOf(["row","row-reverse","column","column-reverse"]),flexBasis:o.default.oneOfType([o.default.number,o.default.string]),alignItems:o.default.oneOf(["flex-start","center","flex-end"]),justifyContent:o.default.oneOf(["flex-start","center","flex-end","space-between","space-around"]),textWrap:o.default.oneOf(["wrap","truncate","truncate-start","truncate-middle","truncate-end"]),unstable__transformChildren:o.default.func,children:o.default.node}),u(s,"defaultProps",{flexDirection:"row",flexGrow:0,flexShrink:1})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(0)),i=a(n(12)),o=a(n(46));function a(e){return e&&e.__esModule?e:{default:e}}const u=({bold:e,italic:t,underline:n,strikethrough:i,children:a,unstable__transformChildren:u})=>{return r.default.createElement("span",{style:{flexDirection:"row"},unstable__transformChildren:r=>(e&&(r=o.default.bold(r)),t&&(r=o.default.italic(r)),n&&(r=o.default.underline(r)),i&&(r=o.default.strikethrough(r)),u&&(r=u(r)),r)},a)};u.propTypes={bold:i.default.bool,italic:i.default.bool,underline:i.default.bool,strikethrough:i.default.bool,children:i.default.node.isRequired,unstable__transformChildren:i.default.func},u.defaultProps={bold:!1,italic:!1,underline:!1,strikethrough:!1,unstable__transformChildren:void 0};var s=u;t.default=s},function(e,t,n){"use strict";var r=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(r,"\\$&")}},function(e,t,n){"use strict";const r=n(81),i=n(166),o=process.env;let a;function u(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===a)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(e&&!e.isTTY&&!0!==a)return 0;const t=a?1:0;if("win32"===process.platform){const e=r.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in o)||"codeship"===o.CI_NAME?1:t;if("TEAMCITY_VERSION"in o)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0;if("truecolor"===o.COLORTERM)return 3;if("TERM_PROGRAM"in o){const e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)?1:"COLORTERM"in o?1:(o.TERM,t)}(e))}i("no-color")||i("no-colors")||i("color=false")?a=!1:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(a=!0),"FORCE_COLOR"in o&&(a=0===o.FORCE_COLOR.length||0!==parseInt(o.FORCE_COLOR,10)),e.exports={supportsColor:u,stdout:u(process.stdout),stderr:u(process.stderr)}},function(e,t,n){"use strict";e.exports=(e,t)=>{t=t||process.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||rt?s(t):n))}else n.push(Number(t));return n}function c(e){i.lastIndex=0;const t=[];let n;for(;null!==(n=i.exec(e));){const e=n[1];if(n[2]){const r=l(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function f(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const e of Object.keys(n))if(Array.isArray(n[e])){if(!(e in r))throw new Error(`Unknown Chalk style: ${e}`);r=n[e].length>0?r[e].apply(r,n[e]):r[e]}return r}e.exports=(e,t)=>{const n=[],i=[];let o=[];if(t.replace(r,(t,r,a,u,l,h)=>{if(r)o.push(s(r));else if(u){const t=o.join("");o=[],i.push(0===n.length?t:f(e,n)(t)),n.push({inverse:a,styles:c(u)})}else if(l){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");i.push(f(e,n)(o.join(""))),o=[],n.pop()}else o.push(h)}),i.push(o.join("")),n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${1===n.length?"":"s"} (\`}\`)`;throw new Error(e)}return i.join("")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(0)),i=u(n(12)),o=u(n(169)),a=u(n(46));function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}const l=["hex","hsl","hsv","hwb","rgb","keyword","bgHex","bgHsl","bgHsv","bgHwb","bgRgb","bgKeyword"],c=e=>{let{children:t}=e,n=s(e,["children"]);return r.default.createElement("span",{style:{flexDirection:"row"},unstable__transformChildren:e=>(Object.keys(n).forEach(t=>{n[t]&&(l.includes(t)?e=a.default[t](...(0,o.default)(n[t]))(e):"function"==typeof a.default[t]&&(e=a.default[t](e)))}),e)},t)};c.propTypes={children:i.default.node.isRequired};var f=c;t.default=f},function(e,t,n){"use strict";e.exports=function(e){return null==e?[]:Array.isArray(e)?e:[e]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0)),o=(r=n(12))&&r.__esModule?r:{default:r};function a(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>Array.isArray(e)?e:[e];class l extends i.Component{constructor(...e){super(...e),u(this,"state",{lastIndex:null})}render(){const e=this.props,{children:t}=e,n=a(e,["children"]),{lastIndex:r}=this.state;let o=t;return"number"==typeof r&&(o=s(t).slice(r)),i.default.createElement("div",{unstable__static:!0,style:n},o)}componentDidMount(){this.saveLastIndex(this.props.children)}componentDidUpdate(e,t){t.lastIndex===this.state.lastIndex&&this.saveLastIndex(this.props.children)}saveLastIndex(e){const t=s(e).length;this.state.lastIndex!==t&&this.setState({lastIndex:t})}}t.default=l,u(l,"propTypes",{children:o.default.node})},function(e,t,n){var r=n(28);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t,n){"use strict";var r=n(27),i=n(17),o=n(3),a=n(14),u=o("species");e.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[u]&&n(t,u,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){var r=n(5),i=n(175),o=n(34),a=n(83),u=n(176),s=n(178),l=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,c,f){var h,d,p,m,g,v,y=a(t,n,c?2:1);if(f)h=e;else{if("function"!=typeof(d=u(e)))throw TypeError("Target is not iterable");if(i(d)){for(p=0,m=o(e.length);m>p;p++)if((g=c?y(r(v=e[p])[0],v[1]):y(e[p]))&&g instanceof l)return g;return new l(!1)}h=d.call(e)}for(;!(v=h.next()).done;)if((g=s(h,y,v.value,c))&&g instanceof l)return g;return new l(!1)}).stop=function(e){return new l(!0,e)}},function(e,t,n){var r=n(3),i=n(18),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},function(e,t,n){var r=n(177),i=n(18),o=n(3)("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(13),i=n(3)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var r=n(5);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t,n){var r=n(3)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},function(e,t,n){var r=n(5),i=n(19),o=n(3)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},function(e,t,n){var r,i,o,a,u,s,l,c=n(2),f=n(40).f,h=n(13),d=n(84).set,p=n(85),m=c.MutationObserver||c.WebKitMutationObserver,g=c.process,v=c.Promise,y="process"==h(g),_=f(c,"queueMicrotask"),b=_&&_.value;b||(r=function(){var e,t;for(y&&(e=g.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},y?a=function(){g.nextTick(r)}:m&&!/(iphone|ipod|ipad).*applewebkit/i.test(p)?(u=!0,s=document.createTextNode(""),new m(r).observe(s,{characterData:!0}),a=function(){s.data=u=!u}):v&&v.resolve?(l=v.resolve(void 0),a=function(){l.then(r)}):a=function(){d.call(c,r)}),e.exports=b||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},function(e,t,n){var r=n(5),i=n(11),o=n(86);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var r=n(2);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){"use strict";e.exports=n(186)},function(e){e.exports=JSON.parse('{"dots":{"interval":80,"frames":["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},"dots2":{"interval":80,"frames":["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},"dots3":{"interval":80,"frames":["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},"dots4":{"interval":80,"frames":["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},"dots5":{"interval":80,"frames":["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},"dots6":{"interval":80,"frames":["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},"dots7":{"interval":80,"frames":["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},"dots8":{"interval":80,"frames":["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},"dots9":{"interval":80,"frames":["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},"dots10":{"interval":80,"frames":["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},"dots11":{"interval":100,"frames":["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},"dots12":{"interval":80,"frames":["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},"line":{"interval":130,"frames":["-","\\\\","|","/"]},"line2":{"interval":100,"frames":["⠂","-","–","—","–","-"]},"pipe":{"interval":100,"frames":["┤","┘","┴","└","├","┌","┬","┐"]},"simpleDots":{"interval":400,"frames":[". ",".. ","..."," "]},"simpleDotsScrolling":{"interval":200,"frames":[". ",".. ","..."," .."," ."," "]},"star":{"interval":70,"frames":["✶","✸","✹","✺","✹","✷"]},"star2":{"interval":80,"frames":["+","x","*"]},"flip":{"interval":70,"frames":["_","_","_","-","`","`","\'","´","-","_","_","_"]},"hamburger":{"interval":100,"frames":["☱","☲","☴"]},"growVertical":{"interval":120,"frames":["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},"growHorizontal":{"interval":120,"frames":["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},"balloon":{"interval":140,"frames":[" ",".","o","O","@","*"," "]},"balloon2":{"interval":120,"frames":[".","o","O","°","O","o","."]},"noise":{"interval":100,"frames":["▓","▒","░"]},"bounce":{"interval":120,"frames":["⠁","⠂","⠄","⠂"]},"boxBounce":{"interval":120,"frames":["▖","▘","▝","▗"]},"boxBounce2":{"interval":100,"frames":["▌","▀","▐","▄"]},"triangle":{"interval":50,"frames":["◢","◣","◤","◥"]},"arc":{"interval":100,"frames":["◜","◠","◝","◞","◡","◟"]},"circle":{"interval":120,"frames":["◡","⊙","◠"]},"squareCorners":{"interval":180,"frames":["◰","◳","◲","◱"]},"circleQuarters":{"interval":120,"frames":["◴","◷","◶","◵"]},"circleHalves":{"interval":50,"frames":["◐","◓","◑","◒"]},"squish":{"interval":100,"frames":["╫","╪"]},"toggle":{"interval":250,"frames":["⊶","⊷"]},"toggle2":{"interval":80,"frames":["▫","▪"]},"toggle3":{"interval":120,"frames":["□","■"]},"toggle4":{"interval":100,"frames":["■","□","▪","▫"]},"toggle5":{"interval":100,"frames":["▮","▯"]},"toggle6":{"interval":300,"frames":["ဝ","၀"]},"toggle7":{"interval":80,"frames":["⦾","⦿"]},"toggle8":{"interval":100,"frames":["◍","◌"]},"toggle9":{"interval":100,"frames":["◉","◎"]},"toggle10":{"interval":100,"frames":["㊂","㊀","㊁"]},"toggle11":{"interval":50,"frames":["⧇","⧆"]},"toggle12":{"interval":120,"frames":["☗","☖"]},"toggle13":{"interval":80,"frames":["=","*","-"]},"arrow":{"interval":100,"frames":["←","↖","↑","↗","→","↘","↓","↙"]},"arrow2":{"interval":80,"frames":["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},"arrow3":{"interval":120,"frames":["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},"bouncingBar":{"interval":80,"frames":["[ ]","[= ]","[== ]","[=== ]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},"bouncingBall":{"interval":80,"frames":["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},"smiley":{"interval":200,"frames":["😄 ","😝 "]},"monkey":{"interval":300,"frames":["🙈 ","🙈 ","🙉 ","🙊 "]},"hearts":{"interval":100,"frames":["💛 ","💙 ","💜 ","💚 ","❤️ "]},"clock":{"interval":100,"frames":["🕛 ","🕐 ","🕑 ","🕒 ","🕓 ","🕔 ","🕕 ","🕖 ","🕗 ","🕘 ","🕙 ","🕚 "]},"earth":{"interval":180,"frames":["🌍 ","🌎 ","🌏 "]},"moon":{"interval":80,"frames":["🌑 ","🌒 ","🌓 ","🌔 ","🌕 ","🌖 ","🌗 ","🌘 "]},"runner":{"interval":140,"frames":["🚶 ","🏃 "]},"pong":{"interval":80,"frames":["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},"shark":{"interval":120,"frames":["▐|\\\\____________▌","▐_|\\\\___________▌","▐__|\\\\__________▌","▐___|\\\\_________▌","▐____|\\\\________▌","▐_____|\\\\_______▌","▐______|\\\\______▌","▐_______|\\\\_____▌","▐________|\\\\____▌","▐_________|\\\\___▌","▐__________|\\\\__▌","▐___________|\\\\_▌","▐____________|\\\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},"dqpb":{"interval":100,"frames":["d","q","p","b"]},"weather":{"interval":100,"frames":["☀️ ","☀️ ","☀️ ","🌤 ","⛅️ ","🌥 ","☁️ ","🌧 ","🌨 ","🌧 ","🌨 ","🌧 ","🌨 ","⛈ ","🌨 ","🌧 ","🌨 ","☁️ ","🌥 ","⛅️ ","🌤 ","☀️ ","☀️ "]},"christmas":{"interval":400,"frames":["🌲","🎄"]},"grenade":{"interval":80,"frames":["، ","′ "," ´ "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},"point":{"interval":125,"frames":["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},"layer":{"interval":150,"frames":["-","=","≡"]}}')},function(e,t,n){var r=n(188),i=n(198),o=i.repeat,a=i.truncate,u=i.pad;function s(e){this.options=i.options({chars:{top:"─","top-mid":"┬","top-left":"┌","top-right":"┐",bottom:"─","bottom-mid":"┴","bottom-left":"└","bottom-right":"┘",left:"│","left-mid":"├",mid:"─","mid-mid":"┼",right:"│","right-mid":"┤",middle:"│"},truncate:"…",colWidths:[],colAligns:[],style:{"padding-left":1,"padding-right":1,head:["red"],border:["grey"],compact:!1},head:[]},e)}s.prototype.__proto__=Array.prototype,s.prototype.__defineGetter__("width",function(){var e=this.toString().split("\n");return e.length?e[0].length:0}),s.prototype.render,s.prototype.toString=function(){var e="",t=this.options,n=t.style,s=t.head,l=t.chars,c=t.truncate,f=t.colWidths||new Array(this.head.length),h=0;if(!s.length&&!this.length)return"";if(!f.length){var d=this.slice(0);s.length&&(d=d.concat([s])),d.forEach(function(e){if("object"==typeof e&&e.length)p(e);else{var t=Object.keys(e)[0],n=e[t];f[0]=Math.max(f[0]||0,m(t)||0),"object"==typeof n&&n.length?p(n,1):f[1]=Math.max(f[1]||0,m(n)||0)}})}function p(e,t){t=t||0;e.forEach(function(e,n){f[n+t]=Math.max(f[n+t]||0,m(e)||0)})}function m(e){return"object"==typeof e&&null!=e.width?e.width:("object"==typeof e?i.strlen(e.text):i.strlen(e))+(n["padding-left"]||0)+(n["padding-right"]||0)}function g(e,n,r,i){var a=0;e=n+o(e,h-2)+r;return f.forEach(function(t,n){n!=f.length-1&&(a+=t+1,e=e.substr(0,a)+i+e.substr(a+1))}),_(t.style.border,e)}function v(){var t=g(l.top,l["top-left"]||l.top,l["top-right"]||l.top,l["top-mid"]);t&&(e+=t+"\n")}function y(e,n){var r=[],i=0;if(!Array.isArray(e)&&"object"==typeof e){var o=Object.keys(e)[0],a=e[o],u=!0;Array.isArray(a)?(e=a).unshift(o):e=[o,a]}e.forEach(function(e,t){var n=e.toString().split("\n").reduce(function(e,n){return e.push(b(n,t)),e},[]),o=n.length;o>i&&(i=o),r.push({contents:n,height:o})});var s=new Array(i);r.forEach(function(e,r){e.contents.forEach(function(e,i){s[i]||(s[i]=[]),(n||u&&0===r&&t.style.head)&&(e=_(t.style.head,e)),s[i].push(e)});for(var o=e.height,a=i;o0&&(c+="\n"+_(t.style.border,l.left)),c+=e.join(_(t.style.border,l.middle))+_(t.style.border,l.right)}),_(t.style.border,l.left)+c}function _(e,t){return t?(e.forEach(function(e){t=r[e](t)}),t):""}function b(e,r){e=String("object"==typeof e&&e.text?e.text:e);var s=i.strlen(e),l=f[r]-(n["padding-left"]||0)-(n["padding-right"]||0),h=t.colAligns[r]||"left";return o(" ",n["padding-left"]||0)+(s==l?e:s=e.length)switch(r){case"left":e=Array(t+1-e.length).join(n)+e;break;case"both":var i=Math.ceil((padlen=t-e.length)/2),o=padlen-i;e=Array(o+1).join(n)+e+Array(i+1).join(n);break;default:e+=Array(t+1-e.length).join(n)}return e},t.truncate=function(e,t,n){return n=n||"…",e.length>=t?e.substr(0,t-n.length)+n:e},t.options=function e(t,n){for(var r in n)n[r]&&n[r].constructor&&n[r].constructor===Object?(t[r]=t[r]||{},e(t[r],n[r])):t[r]=n[r];return t},t.strlen=function(e){return(""+e).replace(/\u001b\[(?:\d*;){0,5}\d*m/g,"").split("\n").reduce(function(e,t){return t.length>e?t.length:e},0)}},function(e,t,n){"use strict";e.exports={highlight:n(47),highlightFile:n(202),highlightFileSync:n(203)}},function(e,t,n){var r,i;!function(){"use strict";var o=Object.prototype.toString;function a(e,t){function n(e){return"[object Function]"===o.call(e)}function r(e){return"[object Object]"===o.call(e)}function i(e){return"_parent"!==e}function a(e){function t(e,t){if(e._parent){if(e._parent._default&&e._parent._default[t])return e._parent._default[t];var n=e._parent._parent;if(n)return n._default?n._default[t]:void 0}}function u(i){var u=e[i];if(u&&!n(u)){var s;if(s=u,"[object String]"===o.call(s)&&(e[i]=u=function(e){var t=e.split(":");if(0===t.length||t.length>2)throw new Error("illegal string config: "+e+'\nShould be of format "before:after"');return 1===t.length||0===t[1].length?t.indexOf(":")<0?{_before:t[0]}:{_after:t[0]}:{_before:t[0],_after:t[1]}}(u)),u._parent=e,r(u))return u._before||u._after?(u._before=u._before||t(u,"_before"),void(u._after=u._after||t(u,"_after"))):a(u);throw new Error("nodes need to be either {String}, {Object} or {Function}."+u+" is neither.")}}e._default&&u("_default"),Object.keys(e).filter(function(t){return i(t)&&e.hasOwnProperty(t)&&"_before"!==t&&"_after"!==t&&"_default"!==t}).forEach(u)}function u(e){a(e),function e(t){Object.keys(t).filter(function(e){return i(e)&&t.hasOwnProperty(e)}).forEach(function(i){var o=t[i];if(!n(o)&&r(o)){if(!o._before&&!o._after)return e(o);var a=o._before||"",u=o._after||"";return t[i]=function(e,t){return function(n){return e+n+t}}(a,u),t[i]}})}(e)}function s(t,i,o){var a,s,l,c,f,h,d=(o=o||{}).parser||e,p=!!o.jsx||!!o.buildAst,m="",g=0,v=[];function y(e){var n,i,o,a,u=0;return r(n=e(t.slice(E,x),h))?(v.push(n.replacement),i=h.tokenIndex,a=(u=(o=function(e,t,n){var r,i=t.range[0];for(r=n;r0?s[o-1].range[1]:x):(v.push(n),a=x),{skip:u,splitEnd:a}}function _(e,n,r,i){var o,a=0;if(!(e>=n))return r?(a=(o=y(r)).skip,g=o.splitEnd):(v.push(t.slice(e,n)),g=n),a}"#"===t[0]&&"!"===t[1]&&(m=t.substr(0,t.indexOf("\n")+1),t=Array.apply(0,Array(m.length)).join(" ")+"\n"+t.substr(m.length)),p?(a=d.parse(t,{tokens:!0,comment:!0,range:!0,loc:!0,tolerant:!0,jsx:!0}),s=a.tokens,l=a.comments):(s=[],l=[],d.tokenize(t,{range:!0,loc:!0,comment:!0},function(e){"LineComment"===e.type?(e.type="Line",l.push(e)):"BlockComment"===e.type?(e.type="Block",l.push(e)):("Identifier"===e.type&&"static"===e.value&&(e.type="Keyword"),s.push(e))})),u(i),f=function(e,t){var n={};function r(e){n[e.range[0]]=e}return e.forEach(r),t.forEach(r),Object.keys(n).map(function(e){return n[e]})}(s,l);for(var b=0;b0&&(c=m+c.substr(m.length))),{ast:a,tokens:s,comments:l,splits:v,code:c}}return t?t(s):s}"object"==typeof e.exports?a(n(87),function(t){e.exports=t}):(r=[n(87)],void 0===(i=function(e){return a(e)}.apply(t,r))||(e.exports=i))}()},function(e,t,n){var r=n(88);e.exports={Boolean:{true:void 0,false:void 0,_default:r.brightRed},Identifier:{undefined:r.brightBlack,self:r.brightRed,console:r.blue,log:r.blue,warn:r.red,error:r.brightRed,_default:r.white},Null:{_default:r.brightBlack},Numeric:{_default:r.blue},String:{_default:function(e,t){var n=t.tokens[t.tokenIndex+1];return n&&"Punctuator"===n.type&&":"===n.value?r.green(e):r.brightGreen(e)}},Keyword:{break:void 0,case:void 0,catch:r.cyan,class:void 0,const:void 0,continue:void 0,debugger:void 0,default:void 0,delete:r.red,do:void 0,else:void 0,enum:void 0,export:void 0,extends:void 0,finally:r.cyan,for:void 0,function:void 0,if:void 0,implements:void 0,import:void 0,in:void 0,instanceof:void 0,let:void 0,new:r.red,package:void 0,private:void 0,protected:void 0,public:void 0,return:r.red,static:void 0,super:void 0,switch:void 0,this:r.brightRed,throw:void 0,try:r.cyan,typeof:void 0,var:r.green,void:void 0,while:void 0,with:void 0,yield:void 0,_default:r.brightBlue},Punctuator:{";":r.brightBlack,".":r.green,",":r.green,"{":r.yellow,"}":r.yellow,"(":r.brightBlack,")":r.brightBlack,"[":r.yellow,"]":r.yellow,"<":void 0,">":void 0,"+":void 0,"-":void 0,"*":void 0,"%":void 0,"&":void 0,"|":void 0,"^":void 0,"!":void 0,"~":void 0,"?":void 0,":":void 0,"=":void 0,"<=":void 0,">=":void 0,"==":void 0,"!=":void 0,"++":void 0,"--":void 0,"<<":void 0,">>":void 0,"&&":void 0,"||":void 0,"+=":void 0,"-=":void 0,"*=":void 0,"%=":void 0,"&=":void 0,"|=":void 0,"^=":void 0,"/=":void 0,"=>":void 0,"**":void 0,"===":void 0,"!==":void 0,">>>":void 0,"<<=":void 0,">>=":void 0,"...":void 0,"**=":void 0,">>>=":void 0,_default:r.brightYellow},Line:{_default:r.brightBlack},Block:{_default:r.brightBlack},JSXAttribute:{_default:r.magenta},JSXClosingElement:{_default:r.magenta},JSXElement:{_default:r.magenta},JSXEmptyExpression:{_default:r.magenta},JSXExpressionContainer:{_default:r.magenta},JSXIdentifier:{className:r.blue,_default:r.magenta},JSXMemberExpression:{_default:r.magenta},JSXNamespacedName:{_default:r.magenta},JSXOpeningElement:{_default:r.magenta},JSXSpreadAttribute:{_default:r.magenta},JSXText:{_default:r.brightGreen},_default:void 0}},function(e,t,n){"use strict";var r=n(21),i=n(47);e.exports=function(e,t,n){var o;o=t,"[object Function]"===toString.call(o)&&(n=t,t={}),t=t||{},r.readFile(e,"utf-8",function(e,r){if(e)return n(e);try{n(null,i(r,t))}catch(e){n(e)}})}},function(e,t,n){"use strict";var r=n(21),i=n(47);e.exports=function(e,t){var n=r.readFileSync(e,"utf-8");return i(n,t=t||{})}},function(e,t,n){e.exports=n(205)},function(e,t,n){var r=n(206),i=n(207),o=/:([a-zA-Z0-9_\-\+]+):/g,a=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function u(e){var t=e.indexOf(":");return t>-1?t===e.length-1?u(e=e.substring(0,t)):u(e=e.substr(t+1)):e}function s(e){return"string"==typeof e&&e.length>0?":"+e+":":e}var l=String.fromCharCode(65039),c=new RegExp(l,"g");function f(e){return e.replace(c,"")}var h=Object.keys(i).reduce(function(e,t){return e[f(i[t])]=t,e},{}),d={emoji:i};d._get=function(e){return i.hasOwnProperty(e)?i[e]:"string"==typeof(t=e)&&":"!==t[0]?s(t):t;var t},d.get=function(e){return e=u(e),d._get(e)},d.find=function(e){return d.findByName(e)||d.findByCode(e)},d.findByName=function(e){var t=u(e),n=i[t];return n?{emoji:n,key:t}:void 0},d.findByCode=function(e){var t=f(e),n=h[t];return n?{emoji:i[n],key:n}:void 0},d.hasEmoji=function(e){return d.hasEmojiByName(e)||d.hasEmojiByCode(e)},d.hasEmojiByName=function(e){var t=d.findByName(e);return!!t&&t.key===u(e)},d.hasEmojiByCode=function(e){var t=d.findByCode(e);return!!t&&f(t.emoji)===f(e)},d.which=function(e,t){var n=f(e),r=h[n];return t?s(r):r},d.emojify=function(e,t,n){return e?e.split(o).map(function(e,r){if(r%2==0)return e;var i=d._get(e),o=i.indexOf(":")>-1;return o&&"function"==typeof t?t(e):o||"function"!=typeof n?i:n(i,e)}).join(""):""},d.random=function(){var e=Object.keys(i),t=e[Math.floor(Math.random()*e.length)];return{key:t,emoji:d._get(t)}},d.search=function(e){var t=Object.keys(i),n=u(e);return t.filter(function(e){return 0===e.toString().indexOf(n)}).map(function(e){return{key:e,emoji:d._get(e)}})},d.unemojify=function(e){return e?r(e).map(function(e){return d.which(e,!0)||e}).join(""):""},d.replace=function(e,t,n){if(!e)return"";var i="function"==typeof t?t:function(){return t},o=r(e),u=o.map(function(e,t){var r=d.findByCode(e);return r&&n&&" "===o[t+1]&&(o[t+1]=""),r?i(r):e}).join("");return n?u.replace(a,""):u},d.strip=function(e){return d.replace(e,"",!0)},e.exports=d},function(e,t){var n=9007199254740991,r="[object Arguments]",i="[object Function]",o="[object GeneratorFunction]",a="[object Map]",u="[object Set]",s="[object String]",l=/^\[object .+?Constructor\]$/,c=/^(?:0|[1-9]\d*)$/,f="[\\ud800-\\udfff]",h="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",d="\\ud83c[\\udffb-\\udfff]",p="[^\\ud800-\\udfff]",m="(?:\\ud83c[\\udde6-\\uddff]){2}",g="[\\ud800-\\udbff][\\udc00-\\udfff]",v="(?:"+h+"|"+d+")"+"?",y="[\\ufe0e\\ufe0f]?"+v+("(?:\\u200d(?:"+[p,m,g].join("|")+")[\\ufe0e\\ufe0f]?"+v+")*"),_="(?:"+[p+h+"?",h,m,g,f].join("|")+")",b=RegExp(d+"(?="+d+")|"+_+y,"g"),D=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),E="object"==typeof global&&global&&global.Object===Object&&global,x="object"==typeof self&&self&&self.Object===Object&&self,w=E||x||Function("return this")();function C(e,t){return function(e,t){for(var n=-1,r=e?e.length:0,i=Array(r);++n-1&&e%1==0&&e-1&&e%1==0&&e<=n}(e.length)&&!le(e)}function le(e){var t=ce(e)?L.call(e):"";return t==i||t==o}function ce(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function fe(e){return!!e&&"object"==typeof e}function he(e){return e?C(e,function(e){return se(e)?ee(e):ne(e)}(e)):[]}e.exports=function(e){if(!e)return[];if(se(e))return function(e){return"string"==typeof e||!ue(e)&&fe(e)&&L.call(e)==s}(e)?A(e):function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++nparseInt(e,10));return{major:t[0],minor:t[1],patch:t[2]}}function a(e){const t=process.env;if("FORCE_HYPERLINK"in t)return!(t.FORCE_HYPERLINK.length>0&&0===parseInt(t.FORCE_HYPERLINK,10));if(i("no-hyperlink")||i("no-hyperlinks")||i("hyperlink=false")||i("hyperlink=never"))return!1;if(i("hyperlink=true")||i("hyperlink=always"))return!0;if(!r.supportsColor(e))return!1;if(e&&!e.isTTY)return!1;if("win32"===process.platform)return!1;if("CI"in t)return!1;if("TEAMCITY_VERSION"in t)return!1;if("TERM_PROGRAM"in t){const e=o(t.TERM_PROGRAM_VERSION);switch(t.TERM_PROGRAM){case"iTerm.app":return 3===e.major?e.minor>=1:e.major>3}}if("VTE_VERSION"in t){if("0.50.0"===t.VTE_VERSION)return!1;const e=o(t.VTE_VERSION);return e.major>0||e.minor>=50}return!1}e.exports={supportsHyperlink:a,stdout:a(process.stdout),stderr:a(process.stderr)}},function(e,t,n){"use strict";const r=n(81),i=n(210),o=process.env;let a;function u(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===a)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(e&&!e.isTTY&&!0!==a)return 0;const t=a?1:0;if("win32"===process.platform){const e=r.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in o)||"codeship"===o.CI_NAME?1:t;if("TEAMCITY_VERSION"in o)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0;if("truecolor"===o.COLORTERM)return 3;if("TERM_PROGRAM"in o){const e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)?1:"COLORTERM"in o?1:(o.TERM,t)}(e))}i("no-color")||i("no-colors")||i("color=false")?a=!1:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(a=!0),"FORCE_COLOR"in o&&(a=0===o.FORCE_COLOR.length||0!==parseInt(o.FORCE_COLOR,10)),e.exports={supportsColor:u,stdout:u(process.stdout),stderr:u(process.stderr)}},function(e,t,n){"use strict";e.exports=(e,t)=>{t=t||process.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r")}),c=!o(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]});e.exports=function(e,t,n,f){var h=a(e),d=!o(function(){var t={};return t[h]=function(){return 7},7!=""[e](t)}),p=d&&!o(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[s]=function(){return n}),n[h](""),!t});if(!d||!p||"replace"===e&&!l||"split"===e&&!c){var m=/./[h],g=n(h,""[e],function(e,t,n,r,i){return t.exec===u?d&&!i?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),v=g[0],y=g[1];i(String.prototype,e,v),i(RegExp.prototype,h,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)}),f&&r(RegExp.prototype[h],"sham",!0)}}},function(e,t,n){"use strict";var r=n(5);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(215).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r=n(26),i=n(23),o=function(e){return function(t,n){var o,a,u=String(i(t)),s=r(n),l=u.length;return s<0||s>=l?e?"":void 0:(o=u.charCodeAt(s))<55296||o>56319||s+1===l||(a=u.charCodeAt(s+1))<56320||a>57343?e?u.charAt(s):o:e?u.slice(s,s+2):a-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},function(e,t,n){var r=n(13),i=n(90);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},function(e,t,n){"use strict";var r=n(7);e.exports=function(e,t){var n=[][e];return!n||!r(function(){n.call(null,t||function(){throw 1},1)})}},function(e,t,n){"use strict";e.exports=()=>/\bv?(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)(?:-[\da-z-]+(?:\.[\da-z-]+)*)?(?:\+[\da-z-]+(?:\.[\da-z-]+)*)?\b/gi},function(e,t,n){"use strict";e.exports=e=>[...new Set(e)]},function(e,t,n){"use strict";n.r(t);var r=n(92),i=n.n(r);n(30);var o=new class{constructor(){this.logLevel=null}setLogLevel(e){this.logLevel=e}log(...e){this.logLevel&&console.log(...e)}debug(...e){this.logLevel&&console.debug(...e)}},a=n(93),u=n(0),s=n.n(u),l=n(1),c=(n(82),n(15)),f=n(94),h=n.n(f);var d=function(){return s.a.createElement(l.StdoutContext.Consumer,null,({stdout:e})=>s.a.createElement(l.Box,null,new Array(e.columns).fill("─").join("")))},p=n(16),m=n.n(p),g=n(95),v=n.n(g);var y=function({children:e}){return m()(e,{renderer:new v.a})};var _=function({result:e}){const[t,n]=Object(u.useState)(e.versionList&&e.versionList[0]?e.versionList[0].content:e.message),{versionList:r,message:i}=e;if(!r)return s.a.createElement(l.Box,{textWrap:"wrap"},s.a.createElement(y,null,i));r.map(e=>({label:e.version,value:e.version}));const o=r.reduce((e,t)=>Math.max(e,t.version.length),0);return s.a.createElement(l.Box,null,s.a.createElement(l.Box,{width:o+7,marginRight:5},s.a.createElement(c.Tabs,{flexDirection:"column",width:o+4,onChange:t=>{const r=e.versionList.find(e=>e.version===t);r&&n(r.content)},keyMap:{useTab:!1,useNumbers:!1}},r.map(({version:e})=>s.a.createElement(c.Tab,{key:e,name:e},e)))),s.a.createElement(l.Box,{textWrap:"wrap"},s.a.createElement(y,null,t)))},b=(n(89),n(21)),D=n.n(b),E=n(48),x=n.n(E),w=n(49),C=n.n(w);const k=/([^\/:]+\/[^\/:]+)$/;function S(e){return function(e){const t=e.match(/(.*)@(\d+\.\d+\.\d+)/);if(t){const[e,n,r]=t;return{packageName:n,version:r}}}(e)||function(e){try{const t=D.a.readFileSync(x.a.join(C.a.cwd(),"composer.lock"),{encoding:"utf8"}),n=JSON.parse(t),r=n.packages.concat(n["packages-dev"]||[]),i=r.find(t=>t.name===e);if(i)return{packageName:A(i.source.url),version:i.version}}catch(e){return null}}(e)||function(e){try{const t=D.a.readFileSync(x.a.join(C.a.cwd(),"node_modules",e,"package.json"),{encoding:"utf8"}),n=JSON.parse(t);if(n){const e=n.repository;if(!e)return null;const t="string"==typeof e?e:e.url;return{version:n.version,packageName:A(t)}}}catch(e){return null}}(e)}function A(e){const t=e.replace(/\.git$/,"").match(k);return t&&t[1]}var T=n(4),F=n(50),M=n(29),O=n(96),N=n(10);const P=T.Readable,R=Symbol("buffer"),B=Symbol("type");class I{constructor(){this[B]="";const e=arguments[0],t=arguments[1],n=[];let r=0;if(e){const t=e,i=Number(t.length);for(let e=0;e1&&void 0!==arguments[1]?arguments[1]:{},r=n.size;let i=void 0===r?0:r;var o=n.timeout;let a=void 0===o?0:o;null==e?e=null:H(e)?e=Buffer.from(e.toString()):G(e)||Buffer.isBuffer(e)||("[object ArrayBuffer]"===Object.prototype.toString.call(e)?e=Buffer.from(e):ArrayBuffer.isView(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):e instanceof T||(e=Buffer.from(String(e)))),this[U]={body:e,disturbed:!1,error:null},this.size=i,this.timeout=a,e instanceof T&&e.on("error",function(e){const n="AbortError"===e.name?e:new L(`Invalid response body while trying to fetch ${t.url}: ${e.message}`,"system",e);t[U].error=n})}function X(){var e=this;if(this[U].disturbed)return W.Promise.reject(new TypeError(`body used already for: ${this.url}`));if(this[U].disturbed=!0,this[U].error)return W.Promise.reject(this[U].error);let t=this.body;if(null===t)return W.Promise.resolve(Buffer.alloc(0));if(G(t)&&(t=t.stream()),Buffer.isBuffer(t))return W.Promise.resolve(t);if(!(t instanceof T))return W.Promise.resolve(Buffer.alloc(0));let n=[],r=0,i=!1;return new W.Promise(function(o,a){let u;e.timeout&&(u=setTimeout(function(){i=!0,a(new L(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))},e.timeout)),t.on("error",function(t){"AbortError"===t.name?(i=!0,a(t)):a(new L(`Invalid response body while trying to fetch ${e.url}: ${t.message}`,"system",t))}),t.on("data",function(t){if(!i&&null!==t){if(e.size&&r+t.length>e.size)return i=!0,void a(new L(`content size at ${e.url} over limit: ${e.size}`,"max-size"));r+=t.length,n.push(t)}}),t.on("end",function(){if(!i){clearTimeout(u);try{o(Buffer.concat(n,r))}catch(t){a(new L(`Could not create Buffer from response body for ${e.url}: ${t.message}`,"system",t))}}})})}function H(e){return"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&("URLSearchParams"===e.constructor.name||"[object URLSearchParams]"===Object.prototype.toString.call(e)||"function"==typeof e.sort)}function G(e){return"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&"function"==typeof e.constructor&&"string"==typeof e.constructor.name&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function J(e){let t,n,r=e.body;if(e.bodyUsed)throw new Error("cannot clone body after it is used");return r instanceof T&&"function"!=typeof r.getBoundary&&(t=new z,n=new z,r.pipe(t),r.pipe(n),e[U].body=t,r=n),r}function $(e){return null===e?null:"string"==typeof e?"text/plain;charset=UTF-8":H(e)?"application/x-www-form-urlencoded;charset=UTF-8":G(e)?e.type||null:Buffer.isBuffer(e)?null:"[object ArrayBuffer]"===Object.prototype.toString.call(e)?null:ArrayBuffer.isView(e)?null:"function"==typeof e.getBoundary?`multipart/form-data;boundary=${e.getBoundary()}`:e instanceof T?null:"text/plain;charset=UTF-8"}function q(e){const t=e.body;return null===t?0:G(t)?t.size:Buffer.isBuffer(t)?t.length:t&&"function"==typeof t.getLengthSync&&(t._lengthRetrievers&&0==t._lengthRetrievers.length||t.hasKnownLength&&t.hasKnownLength())?t.getLengthSync():null}W.prototype={get body(){return this[U].body},get bodyUsed(){return this[U].disturbed},arrayBuffer(){return X.call(this).then(function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)})},blob(){let e=this.headers&&this.headers.get("content-type")||"";return X.call(this).then(function(t){return Object.assign(new I([],{type:e.toLowerCase()}),{[R]:t})})},json(){var e=this;return X.call(this).then(function(t){try{return JSON.parse(t.toString())}catch(t){return W.Promise.reject(new L(`invalid json response body at ${e.url} reason: ${t.message}`,"invalid-json"))}})},text(){return X.call(this).then(function(e){return e.toString()})},buffer(){return X.call(this)},textConverted(){var e=this;return X.call(this).then(function(t){return function(e,t){if("function"!=typeof j)throw new Error("The package `encoding` must be installed to use the textConverted() function");const n=t.get("content-type");let r,i,o="utf-8";n&&(r=/charset=([^;]*)/i.exec(n));i=e.slice(0,1024).toString(),!r&&i&&(r=/0&&void 0!==arguments[0]?arguments[0]:void 0;if(this[ee]=Object.create(null),e instanceof te){const t=e.raw(),n=Object.keys(t);for(const e of n)for(const n of t[e])this.append(e,n)}else if(null==e);else{if("object"!=typeof e)throw new TypeError("Provided initializer must be an object");{const t=e[Symbol.iterator];if(null!=t){if("function"!=typeof t)throw new TypeError("Header pairs must be iterable");const n=[];for(const t of e){if("object"!=typeof t||"function"!=typeof t[Symbol.iterator])throw new TypeError("Each header pair must be iterable");n.push(Array.from(t))}for(const e of n){if(2!==e.length)throw new TypeError("Each header pair must be a name/value tuple");this.append(e[0],e[1])}}else for(const t of Object.keys(e)){const n=e[t];this.append(t,n)}}}}get(e){K(e=`${e}`);const t=Q(this[ee],e);return void 0===t?null:this[ee][t].join(", ")}forEach(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=ne(this),r=0;for(;r1&&void 0!==arguments[1]?arguments[1]:"key+value";return Object.keys(e[ee]).sort().map("key"===t?function(e){return e.toLowerCase()}:"value"===t?function(t){return e[ee][t].join(", ")}:function(t){return[t.toLowerCase(),e[ee][t].join(", ")]})}te.prototype.entries=te.prototype[Symbol.iterator],Object.defineProperty(te.prototype,Symbol.toStringTag,{value:"Headers",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(te.prototype,{get:{enumerable:!0},forEach:{enumerable:!0},set:{enumerable:!0},append:{enumerable:!0},has:{enumerable:!0},delete:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0}});const re=Symbol("internal");function ie(e,t){const n=Object.create(oe);return n[re]={target:e,kind:t,index:0},n}const oe=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==oe)throw new TypeError("Value of `this` is not a HeadersIterator");var e=this[re];const t=e.target,n=e.kind,r=e.index,i=ne(t,n);return r>=i.length?{value:void 0,done:!0}:(this[re].index=r+1,{value:i[r],done:!1})}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));function ae(e){const t=Object.assign({__proto__:null},e[ee]),n=Q(e[ee],"Host");return void 0!==n&&(t[n]=t[n][0]),t}Object.defineProperty(oe,Symbol.toStringTag,{value:"HeadersIterator",writable:!1,enumerable:!1,configurable:!0});const ue=Symbol("Response internals"),se=F.STATUS_CODES;class le{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};W.call(this,e,t);const n=t.status||200,r=new te(t.headers);if(null!=e&&!r.has("Content-Type")){const t=$(e);t&&r.append("Content-Type",t)}this[ue]={url:t.url,status:n,statusText:t.statusText||se[n],headers:r,counter:t.counter}}get url(){return this[ue].url||""}get status(){return this[ue].status}get ok(){return this[ue].status>=200&&this[ue].status<300}get redirected(){return this[ue].counter>0}get statusText(){return this[ue].statusText}get headers(){return this[ue].headers}clone(){return new le(J(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}W.mixIn(le.prototype),Object.defineProperties(le.prototype,{url:{enumerable:!0},status:{enumerable:!0},ok:{enumerable:!0},redirected:{enumerable:!0},statusText:{enumerable:!0},headers:{enumerable:!0},clone:{enumerable:!0}}),Object.defineProperty(le.prototype,Symbol.toStringTag,{value:"Response",writable:!1,enumerable:!1,configurable:!0});const ce=Symbol("Request internals"),fe=M.parse,he=M.format,de="destroy"in T.Readable.prototype;function pe(e){return"object"==typeof e&&"object"==typeof e[ce]}class me{constructor(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};pe(e)?t=fe(e.url):(t=e&&e.href?fe(e.href):fe(`${e}`),e={});let r=n.method||e.method||"GET";if(r=r.toUpperCase(),(null!=n.body||pe(e)&&null!==e.body)&&("GET"===r||"HEAD"===r))throw new TypeError("Request with GET/HEAD method cannot have body");let i=null!=n.body?n.body:pe(e)&&null!==e.body?J(e):null;W.call(this,i,{timeout:n.timeout||e.timeout||0,size:n.size||e.size||0});const o=new te(n.headers||e.headers||{});if(null!=i&&!o.has("Content-Type")){const e=$(i);e&&o.append("Content-Type",e)}let a=pe(e)?e.signal:null;if("signal"in n&&(a=n.signal),null!=a&&!function(e){const t=e&&"object"==typeof e&&Object.getPrototypeOf(e);return!(!t||"AbortSignal"!==t.constructor.name)}(a))throw new TypeError("Expected signal to be an instanceof AbortSignal");this[ce]={method:r,redirect:n.redirect||e.redirect||"follow",headers:o,parsedURL:t,signal:a},this.follow=void 0!==n.follow?n.follow:void 0!==e.follow?e.follow:20,this.compress=void 0!==n.compress?n.compress:void 0===e.compress||e.compress,this.counter=n.counter||e.counter||0,this.agent=n.agent||e.agent}get method(){return this[ce].method}get url(){return he(this[ce].parsedURL)}get headers(){return this[ce].headers}get redirect(){return this[ce].redirect}get signal(){return this[ce].signal}clone(){return new me(this)}}function ge(e){Error.call(this,e),this.type="aborted",this.message=e,Error.captureStackTrace(this,this.constructor)}W.mixIn(me.prototype),Object.defineProperty(me.prototype,Symbol.toStringTag,{value:"Request",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(me.prototype,{method:{enumerable:!0},url:{enumerable:!0},headers:{enumerable:!0},redirect:{enumerable:!0},clone:{enumerable:!0},signal:{enumerable:!0}}),ge.prototype=Object.create(Error.prototype),ge.prototype.constructor=ge,ge.prototype.name="AbortError";const ve=T.PassThrough,ye=M.resolve;function _e(e,t){if(!_e.Promise)throw new Error("native promise missing, set fetch.Promise to your favorite alternative");return W.Promise=_e.Promise,new _e.Promise(function(n,r){const i=new me(e,t),o=function(e){const t=e[ce].parsedURL,n=new te(e[ce].headers);if(n.has("Accept")||n.set("Accept","*/*"),!t.protocol||!t.hostname)throw new TypeError("Only absolute URLs are supported");if(!/^https?:$/.test(t.protocol))throw new TypeError("Only HTTP(S) protocols are supported");if(e.signal&&e.body instanceof T.Readable&&!de)throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8");let r=null;if(null==e.body&&/^(POST|PUT)$/i.test(e.method)&&(r="0"),null!=e.body){const t=q(e);"number"==typeof t&&(r=String(t))}r&&n.set("Content-Length",r),n.has("User-Agent")||n.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"),e.compress&&!n.has("Accept-Encoding")&&n.set("Accept-Encoding","gzip,deflate");let i=e.agent;return"function"==typeof i&&(i=i(t)),n.has("Connection")||i||n.set("Connection","close"),Object.assign({},t,{method:e.method,headers:ae(n),agent:i})}(i),a=("https:"===o.protocol?O:F).request,u=i.signal;let s=null;const l=function(){let e=new ge("The user aborted a request.");r(e),i.body&&i.body instanceof T.Readable&&i.body.destroy(e),s&&s.body&&s.body.emit("error",e)};if(u&&u.aborted)return void l();const c=function(){l(),d()},f=a(o);let h;function d(){f.abort(),u&&u.removeEventListener("abort",c),clearTimeout(h)}u&&u.addEventListener("abort",c),i.timeout&&f.once("socket",function(e){h=setTimeout(function(){r(new L(`network timeout at: ${i.url}`,"request-timeout")),d()},i.timeout)}),f.on("error",function(e){r(new L(`request to ${i.url} failed, reason: ${e.message}`,"system",e)),d()}),f.on("response",function(e){clearTimeout(h);const t=function(e){const t=new te;for(const n of Object.keys(e))if(!V.test(n))if(Array.isArray(e[n]))for(const r of e[n])Y.test(r)||(void 0===t[ee][n]?t[ee][n]=[r]:t[ee][n].push(r));else Y.test(e[n])||(t[ee][n]=[e[n]]);return t}(e.headers);if(_e.isRedirect(e.statusCode)){const o=t.get("Location"),a=null===o?null:ye(i.url,o);switch(i.redirect){case"error":return r(new L(`redirect mode is set to error: ${i.url}`,"no-redirect")),void d();case"manual":if(null!==a)try{t.set("Location",a)}catch(e){r(e)}break;case"follow":if(null===a)break;if(i.counter>=i.follow)return r(new L(`maximum redirect reached at: ${i.url}`,"max-redirect")),void d();const o={headers:new te(i.headers),follow:i.follow,counter:i.counter+1,agent:i.agent,compress:i.compress,method:i.method,body:i.body,signal:i.signal,timeout:i.timeout};return 303!==e.statusCode&&i.body&&null===q(i)?(r(new L("Cannot follow redirect with body being a readable stream","unsupported-redirect")),void d()):(303!==e.statusCode&&(301!==e.statusCode&&302!==e.statusCode||"POST"!==i.method)||(o.method="GET",o.body=void 0,o.headers.delete("content-length")),n(_e(new me(a,o))),void d())}}e.once("end",function(){u&&u.removeEventListener("abort",c)});let o=e.pipe(new ve);const a={url:i.url,status:e.statusCode,statusText:e.statusMessage,headers:t,size:i.size,timeout:i.timeout,counter:i.counter},l=t.get("Content-Encoding");if(!i.compress||"HEAD"===i.method||null===l||204===e.statusCode||304===e.statusCode)return s=new le(o,a),void n(s);const f={flush:N.Z_SYNC_FLUSH,finishFlush:N.Z_SYNC_FLUSH};if("gzip"==l||"x-gzip"==l)return o=o.pipe(N.createGunzip(f)),s=new le(o,a),void n(s);if("deflate"!=l&&"x-deflate"!=l){if("br"==l&&"function"==typeof N.createBrotliDecompress)return o=o.pipe(N.createBrotliDecompress()),s=new le(o,a),void n(s);s=new le(o,a),n(s)}else{e.pipe(new ve).once("data",function(e){o=8==(15&e[0])?o.pipe(N.createInflate()):o.pipe(N.createInflateRaw()),s=new le(o,a),n(s)})}}),function(e,t){const n=t.body;null===n?e.end():G(n)?n.stream().pipe(e):Buffer.isBuffer(n)?(e.write(n),e.end()):n.pipe(e)}(f,i)})}_e.isRedirect=function(e){return 301===e||302===e||303===e||307===e||308===e},_e.Promise=global.Promise;var be=_e,De=n(6),Ee=n.n(De);n(91);var xe=n(97),we=n.n(xe),Ce=n(98),ke=n.n(Ce);function Se(e){const t=function(e){e=(e=e.replace(/(\d+\.\d+)\.x/,"$1.99999")).replace(/(\d+)\.x/,"$1.99999.99999");const t=ke()(e,{loose:!0});return t&&0!==t.length?t.sort(Ee.a.compare).pop():null}(e);return Ee.a.valid(t)?{version:t}:null}function Ae(e){var t;const n=function(e){let t=null;return e.reduce((e,n)=>{if("heading"===n.type){const r=Se(n.text);r&&(e[t=r.version]||(e[t]=[]))}return t&&e[t].push(n),e},{})}((t=e,(new m.a.Lexer).lex(t)));return Object.keys(n).map(e=>{const t=n[e];return t.links={},{version:e,content:m.a.parser(t,{renderer:we()(new m.a.Renderer)})}}).sort((e,t)=>Ee.a.compare(t.version,e.version))}function Te(e){if(!e)return null;const t=e.match(/<([^>]*)>/);return t?t[1]:void 0}const Fe=[{type:"github-file",fileName:"CHANGELOG.md"},{type:"github-file",fileName:"HISTORY.md"},{type:"github-file",fileName:"ChangeLog.md"},{type:"github-releases"}];class Me extends Error{constructor(e,t){super(e),this.testedProcess=t}}class Oe extends Error{constructor(e){super(),this.response=e}}class Ne extends Error{}function Pe(e,t){return async function(e,t=null){o.log(`Package: ${e}, current version: ${t}`);for(let n=0;n{switch(t){case"markdown":return Ae(e);case"github-release":return function(e){return e.map(e=>({version:Ee.a.clean(e.tag_name),content:`# ${Ee.a.clean(e.tag_name)}\r\n${e.body}`})).sort((e,t)=>Ee.a.compare(t.version,e.version))}(e);default:throw new Error(`Unable to determine how to convert version list from "${t}"`)}}).then(n=>{const r=function(e,t){return e.filter(e=>Ee.a.gt(e.version,t))}(n,t);return o.log(`found ${r.length} versions greater than "${t}" for package "${e}"`),r})}function Re(e){return be(e,{headers:{"User-Agent":"changelog-view"}}).then(e=>{if(e.status>=300)throw new Oe(e);return e})}async function Be(e,t){let n=`https://api.github.com/repos/${e}/releases`,r=!1,i=[];do{const e=await Re(n),o=await e.json();r=o.filter(e=>Ee.a.eq(e.tag_name,t)).length>0,i=i.concat(o),r||(n=Te(e.headers.get("link")))}while(!r&&n);return i}const Ie={};function Le(e){return new Promise((t,n)=>{Ie[e]?"success"===Ie[e].type?t(Ie[e]):n(Ie[e]):function(e){const t=S(e);if(!t)return new Promise((t,n)=>{n({message:`*package "${e}" version is not well formatted*`,type:"error"})});const{packageName:n,version:r}=t;return Pe(n,r).then(e=>0===e.length?{versionList:e,message:`*No changes found for "${n}"*`,type:"success",packageName:n,currentVersion:r}:{versionList:e,message:null,type:"success",packageName:n,currentVersion:r}).catch(e=>({type:"error",message:`${e.message}\nTested files: ${e.testedProcess.map(e=>`\n * [${e.type}] ${e.fileName}`)}`,error:e}))}(e).then(n=>{Ie[e]=n,t(Ie[e])}).catch(t=>{Ie[e]=t,n(Ie[e])})})}var je=class extends u.Component{constructor(e){super(e),this.handleTabChange=this.handleTabChange.bind(this),this.state={activeTabName:null,changelogViewResult:null}}handleTabChange(e,t){this.setState({activeTabName:e,changelogViewResult:null}),Le(e).then(e=>{this.setState({changelogViewResult:e})}).catch(e=>{o.log(e),this.setState({changelogViewResult:e})})}render(){const{packageStringList:e}=this.props,{changelogViewResult:t}=this.state;return s.a.createElement(u.Fragment,null,t&&s.a.createElement(u.Fragment,null,s.a.createElement(d,null),s.a.createElement(l.Box,{marginTop:0},'CHANGELOG for "',t.packageName,'" (current version: `',t.currentVersion,"`)"),s.a.createElement(d,null),s.a.createElement(l.Box,null,s.a.createElement(_,{result:t}))),!t&&s.a.createElement(l.Box,null,s.a.createElement(h.a,{orange:!0})," Loading"),s.a.createElement(d,null),s.a.createElement(c.Tabs,{onChange:this.handleTabChange},e.map(e=>s.a.createElement(c.Tab,{key:e,name:e},e))),s.a.createElement(d,null))}};function Ue(){return(Ue=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}class We extends u.PureComponent{constructor(e){super(e),this.handleKeyPress=this.handleKeyPress.bind(this)}componentDidMount(){const{stdin:e}=this.props;e.on("keypress",this.handleKeyPress)}componentWillUnmount(){const{stdin:e}=this.props;e.removeListener("keypress",this.handleKeyPress)}handleKeyPress(e,t){"q"===e&&this.props.onExit()}render(){const e=this.props,{stdin:t}=e,n=ze(e,["stdin"]);return s.a.createElement(l.Box,{flexDirection:"column"},s.a.createElement(je,n),s.a.createElement(l.Text,{italic:!0},s.a.createElement(l.Color,{gray:!0},'Press "q" or "CTRL+c" to quit.')))}}var Xe=function(e){return s.a.createElement(l.AppContext.Consumer,null,({exit:t})=>s.a.createElement(l.StdinContext.Consumer,null,({stdin:n})=>s.a.createElement(We,Ue({stdin:n,onExit:t},e))))};const He=i()(process.argv.slice(2),{alias:{help:"h",verbose:"v"}});if(He.help||0===He._.length){const e=He.help?console.log:console.error;e("Usage: changelog-view [ ...]"),e(`Current version: ${a.version}`),e(""),e(" See changelogs for your dependencies."),e(""),e("Options:"),e(""),e(" -h, --help Display this usage info"),e(" -v, --verbose Display debug informations"),process.exit(He.help?0:1)}else!function(e){e.verbose&&o.setLogLevel(e.verbose);t=e._,Object(l.render)(s.a.createElement(Xe,{packageStringList:t}));var t}(He)}]); \ No newline at end of file