wikipathways-api-client
Version:
JS client for the WikiPathways.org webservices API
27 lines • 160 kB
JavaScript
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var e=r();for(var n in e)("object"==typeof exports?exports:t)[n]=e[n]}}(this,function(){return function(t){function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var e={};return r.m=t,r.c=e,r.i=function(t){return t},r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},r.p="",r(r.s=62)}([function(t,r,e){"use strict";var n=e(2),o=e(60),i=e(6),u=e(59),s=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(r){var e=new t;return e.source=this,e.operator=r,e},t.prototype.subscribe=function(t,r,e){var n=this.operator,i=o.toSubscriber(t,r,e);if(n?n.call(i,this.source):i.add(this.source||!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.syncErrorThrown=!0,t.syncErrorValue=r,t.error(r)}},t.prototype.forEach=function(t,r){var e=this;if(r||(n.root.Rx&&n.root.Rx.config&&n.root.Rx.config.Promise?r=n.root.Rx.config.Promise:n.root.Promise&&(r=n.root.Promise)),!r)throw new Error("no Promise impl found");return new r(function(r,n){var o;o=e.subscribe(function(r){if(o)try{t(r)}catch(t){n(t),o.unsubscribe()}else t(r)},n,r)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[i.observable]=function(){return this},t.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r-0]=arguments[r];return 0===t.length?this:u.pipeFromArray(t)(this)},t.prototype.toPromise=function(t){var r=this;if(t||(n.root.Rx&&n.root.Rx.config&&n.root.Rx.config.Promise?t=n.root.Rx.config.Promise:n.root.Promise&&(t=n.root.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,e){var n;r.subscribe(function(t){return n=t},function(t){return e(t)},function(){return t(n)})})},t.create=function(r){return new t(r)},t}();r.Observable=s},function(t,r,e){"use strict";function n(t){return t instanceof c||"syncErrorThrowable"in t&&t[a.rxSubscriber]}var o=this&&this.__extends||function(t,r){function e(){this.constructor=t}for(var n in r)r.hasOwnProperty(n)&&(t[n]=r[n]);t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)},i=e(16),u=e(29),s=e(9),a=e(14),c=function(t){function r(r,e,o){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.empty;break;case 1:if(!r){this.destination=s.empty;break}if("object"==typeof r){if(n(r)){var i=r[a.rxSubscriber]();this.syncErrorThrowable=i.syncErrorThrowable,this.destination=i,i.add(this)}else this.syncErrorThrowable=!0,this.destination=new f(this,r);break}default:this.syncErrorThrowable=!0,this.destination=new f(this,r,e,o)}}return o(r,t),r.prototype[a.rxSubscriber]=function(){return this},r.create=function(t,e,n){var o=new r(t,e,n);return o.syncErrorThrowable=!1,o},r.prototype.next=function(t){this.isStopped||this._next(t)},r.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},r.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},r.prototype._next=function(t){this.destination.next(t)},r.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},r.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},r.prototype._unsubscribeAndRecycle=function(){var t=this,r=t._parent,e=t._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=r,this._parents=e,this},r}(u.Subscription);r.Subscriber=c;var f=function(t){function r(r,e,n,o){t.call(this),this._parentSubscriber=r;var u,a=this;i.isFunction(e)?u=e:e&&(u=e.next,n=e.error,o=e.complete,e!==s.empty&&(a=Object.create(e),i.isFunction(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=u,this._error=n,this._complete=o}return o(r,t),r.prototype.next=function(t){if(!this.isStopped&&this._next){var r=this._parentSubscriber;r.syncErrorThrowable?this.__tryOrSetError(r,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},r.prototype.error=function(t){if(!this.isStopped){var r=this._parentSubscriber;if(this._error)r.syncErrorThrowable?(this.__tryOrSetError(r,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else{if(!r.syncErrorThrowable)throw this.unsubscribe(),t;r.syncErrorValue=t,r.syncErrorThrown=!0,this.unsubscribe()}}},r.prototype.complete=function(){var t=this;if(!this.isStopped){var r=this._parentSubscriber;if(this._complete){var e=function(){return t._complete.call(t._context)};r.syncErrorThrowable?(this.__tryOrSetError(r,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}},r.prototype.__tryOrUnsub=function(t,r){try{t.call(this._context,r)}catch(t){throw this.unsubscribe(),t}},r.prototype.__tryOrSetError=function(t,r,e){try{r.call(this._context,e)}catch(r){return t.syncErrorValue=r,t.syncErrorThrown=!0,!0}return!1},r.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},r}(c)},function(t,r,e){"use strict";(function(t){var e="undefined"!=typeof window&&window,n="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,o=void 0!==t&&t,i=e||o||n;r.root=i,function(){if(!i)throw new Error("RxJS could not find any global context (window, self, global)")}()}).call(r,e(4))},function(t,r,e){"use strict";function n(t){var r=t.Symbol;if("function"==typeof r)return r.iterator||(r.iterator=r("iterator polyfill")),r.iterator;var e=t.Set;if(e&&"function"==typeof(new e)["@@iterator"])return"@@iterator";var n=t.Map;if(n)for(var o=Object.getOwnPropertyNames(n.prototype),i=0;i<o.length;++i){var u=o[i];if("entries"!==u&&"size"!==u&&n.prototype[u]===n.prototype.entries)return u}return"@@iterator"}var o=e(2);r.symbolIteratorPonyfill=n,r.iterator=n(o.root),r.$$iterator=r.iterator},function(t,r){var e;e=function(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,r,e){"use strict";var n=this&&this.__extends||function(t,r){function e(){this.constructor=t}for(var n in r)r.hasOwnProperty(n)&&(t[n]=r[n]);t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)},o=e(0),i=e(12),u=e(11),s=e(57),a=function(t){function r(r,e){t.call(this),this.array=r,this.scheduler=e,e||1!==r.length||(this._isScalar=!0,this.value=r[0])}return n(r,t),r.create=function(t,e){return new r(t,e)},r.of=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=t[t.length-1];s.isScheduler(n)?t.pop():n=null;var o=t.length;return o>1?new r(t,n):1===o?new i.ScalarObservable(t[0],n):new u.EmptyObservable(n)},r.dispatch=function(t){var r=t.array,e=t.index,n=t.count,o=t.subscriber;if(e>=n)return void o.complete();o.next(r[e]),o.closed||(t.index=e+1,this.schedule(t))},r.prototype._subscribe=function(t){var e=this.array,n=e.length,o=this.scheduler;if(o)return o.schedule(r.dispatch,0,{array:e,index:0,count:n,subscriber:t});for(var i=0;i<n&&!t.closed;i++)t.next(e[i]);t.complete()},r}(o.Observable);r.ArrayObservable=a},function(t,r,e){"use strict";function n(t){var r,e=t.Symbol;return"function"==typeof e?e.observable?r=e.observable:(r=e("observable"),e.observable=r):r="@@observable",r}var o=e(2);r.getSymbolObservable=n,r.observable=n(o.root),r.$$observable=r.observable},function(t,r,e){"use strict";r.errorObject={e:{}}},function(t,r,e){"use strict";r.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},function(t,r,e){"use strict";r.empty={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},function(t,r,e){"use strict";var n=this&&this.__extends||function(t,r){function e(){this.constructor=t}for(var n in r)r.hasOwnProperty(n)&&(t[n]=r[n]);t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)},o=e(1),i=function(t){function r(){t.apply(this,arguments)}return n(r,t),r.prototype.notifyNext=function(t,r,e,n,o){this.destination.next(r)},r.prototype.notifyError=function(t,r){this.destination.error(t)},r.prototype.notifyComplete=function(t){this.destination.complete()},r}(o.Subscriber);r.OuterSubscriber=i},function(t,r,e){"use strict";var n=this&&this.__extends||function(t,r){function e(){this.constructor=t}for(var n in r)r.hasOwnProperty(n)&&(t[n]=r[n]);t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)},o=e(0),i=function(t){function r(r){t.call(this),this.scheduler=r}return n(r,t),r.create=function(t){return new r(t)},r.dispatch=function(t){t.subscriber.complete()},r.prototype._subscribe=function(t){var e=this.scheduler;if(e)return e.schedule(r.dispatch,0,{subscriber:t});t.complete()},r}(o.Observable);r.EmptyObservable=i},function(t,r,e){"use strict";var n=this&&this.__extends||function(t,r){function e(){this.constructor=t}for(var n in r)r.hasOwnProperty(n)&&(t[n]=r[n]);t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)},o=e(0),i=function(t){function r(r,e){t.call(this),this.value=r,this.scheduler=e,this._isScalar=!0,e&&(this._isScalar=!1)}return n(r,t),r.create=function(t,e){return new r(t,e)},r.dispatch=function(t){var r=t.done,e=t.value,n=t.subscriber;if(r)return void n.complete();n.next(e),n.closed||(t.done=!0,this.schedule(t))},r.prototype._subscribe=function(t){var e=this.value,n=this.scheduler;if(n)return n.schedule(r.dispatch,0,{done:!1,value:e,subscriber:t});t.next(e),t.closed||t.complete()},r}(o.Observable);r.ScalarObservable=i},function(t,r,e){"use strict";function n(t,r){return function(e){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return e.lift(new u(t,r))}}var o=this&&this.__extends||function(t,r){function e(){this.constructor=t}for(var n in r)r.hasOwnProperty(n)&&(t[n]=r[n]);t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)},i=e(1);r.map=n;var u=function(){function t(t,r){this.project=t,this.thisArg=r}return t.prototype.call=function(t,r){return r.subscribe(new s(t,this.project,this.thisArg))},t}();r.MapOperator=u;var s=function(t){function r(r,e,n){t.call(this,r),this.project=e,this.count=0,this.thisArg=n||this}return o(r,t),r.prototype._next=function(t){var r;try{r=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(r)},r}(i.Subscriber)},function(t,r,e){"use strict";var n=e(2),o=n.root.Symbol;r.rxSubscriber="function"==typeof o&&"function"==typeof o.for?o.for("rxSubscriber"):"@@rxSubscriber",r.$$rxSubscriber=r.rxSubscriber},function(t,r,e){"use strict";r.isArrayLike=function(t){return t&&"number"==typeof t.length}},function(t,r,e){"use strict";function n(t){return"function"==typeof t}r.isFunction=n},function(t,r,e){"use strict";function n(t){return null!=t&&"object"==typeof t}r.isObject=n},function(t,r,e){"use strict";function n(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}r.isPromise=n},function(t,r,e){"use strict";function n(t,r,e,n){var p=new f.InnerSubscriber(t,e,n);if(p.closed)return null;if(r instanceof a.Observable)return r._isScalar?(p.next(r.value),p.complete(),null):(p.syncErrorThrowable=!0,r.subscribe(p));if(i.isArrayLike(r)){for(var h=0,d=r.length;h<d&&!p.closed;h++)p.next(r[h]);p.closed||p.complete()}else{if(u.isPromise(r))return r.then(function(t){p.closed||(p.next(t),p.complete())},function(t){return p.error(t)}).then(null,function(t){o.root.setTimeout(function(){throw t})}),p;if(r&&"function"==typeof r[c.iterator])for(var v=r[c.iterator]();;){var g=v.next();if(g.done){p.complete();break}if(p.next(g.value),p.closed)break}else if(r&&"function"==typeof r[l.observable]){var b=r[l.observable]();if("function"==typeof b.subscribe)return b.subscribe(new f.InnerSubscriber(t,e,n));p.error(new TypeError("Provided object does not correctly implement Symbol.observable"))}else{var y=s.isObject(r)?"an invalid object":"'"+r+"'",m="You provided "+y+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";p.error(new TypeError(m))}}return null}var o=e(2),i=e(15),u=e(18),s=e(17),a=e(0),c=e(3),f=e(27),l=e(6);r.subscribeToResult=n},function(t,r,e){"use strict";function n(){try{return i.apply(this,arguments)}catch(t){return u.errorObject.e=t,u.errorObject}}function o(t){return i=t,n}var i,u=e(7);r.tryCatch=o},function(t,r,e){var n,o;/*!
* URI.js - Mutating URLs
* IPv6 Support
*
* Version: 1.19.2
*
* Author: Rodney Rehm
* Web: http://medialize.github.io/URI.js/
*
* Licensed under
* MIT License http://www.opensource.org/licenses/mit-license
*
*/
!function(i,u){"use strict";"object"==typeof t&&t.exports?t.exports=u():(n=u,void 0!==(o="function"==typeof n?n.call(r,e,r,t):n)&&(t.exports=o))}(0,function(t){"use strict";function r(t){var r=t.toLowerCase(),e=r.split(":"),n=e.length,o=8;""===e[0]&&""===e[1]&&""===e[2]?(e.shift(),e.shift()):""===e[0]&&""===e[1]?e.shift():""===e[n-1]&&""===e[n-2]&&e.pop(),n=e.length,-1!==e[n-1].indexOf(".")&&(o=7);var i;for(i=0;i<n&&""!==e[i];i++);if(i<o)for(e.splice(i,1,"0000");e.length<o;)e.splice(i,0,"0000");for(var u,s=0;s<o;s++){u=e[s].split("");for(var a=0;a<3&&"0"===u[0]&&u.length>1;a++)u.splice(0,1);e[s]=u.join("")}var c=-1,f=0,l=0,p=-1,h=!1;for(s=0;s<o;s++)h?"0"===e[s]?l+=1:(h=!1,l>f&&(c=p,f=l)):"0"===e[s]&&(h=!0,p=s,l=1);l>f&&(c=p,f=l),f>1&&e.splice(c,f,""),n=e.length;var d="";for(""===e[0]&&(d=":"),s=0;s<n&&(d+=e[s],s!==n-1);s++)d+=":";return""===e[n-1]&&(d+=":"),d}function e(){return t.IPv6===this&&(t.IPv6=n),this}var n=t&&t.IPv6;return{best:r,noConflict:e}})},function(t,r,e){var n,o;/*!
* URI.js - Mutating URLs
* Second Level Domain (SLD) Support
*
* Version: 1.19.2
*
* Author: Rodney Rehm
* Web: http://medialize.github.io/URI.js/
*
* Licensed under
* MIT License http://www.opensource.org/licenses/mit-license
*
*/
!function(i,u){"use strict";"object"==typeof t&&t.exports?t.exports=u():(n=u,void 0!==(o="function"==typeof n?n.call(r,e,r,t):n)&&(t.exports=o))}(0,function(t){"use strict";var r=t&&t.SecondLevelDomains,e={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(t){var r=t.lastIndexOf(".");if(r<=0||r>=t.length-1)return!1;var n=t.lastIndexOf(".",r-1);if(n<=0||n>=r-1)return!1;var o=e.list[t.slice(r+1)];return!!o&&o.indexOf(" "+t.slice(n+1,r)+" ")>=0},is:function(t){var r=t.lastIndexOf(".");if(r<=0||r>=t.length-1)return!1;if(t.lastIndexOf(".",r-1)>=0)return!1;var n=e.list[t.slice(r+1)];return!!n&&n.indexOf(" "+t.slice(0,r)+" ")>=0},get:function(t){var r=t.lastIndexOf(".");if(r<=0||r>=t.length-1)return null;var n=t.lastIndexOf(".",r-1);if(n<=0||n>=r-1)return null;var o=e.list[t.slice(r+1)];return o?o.indexOf(" "+t.slice(n+1,r)+" ")<0?null:t.slice(n+1):null},noConflict:function(){return t.SecondLevelDomains===this&&(t.SecondLevelDomains=r),this}};return e})},function(t,r,e){(function(t,n){var o;!function(n){function i(t){throw new RangeError(I[t])}function u(t,r){for(var e=t.length,n=[];e--;)n[e]=r(t[e]);return n}function s(t,r){var e=t.split("@"),n="";return e.length>1&&(n=e[0]+"@",t=e[1]),t=t.replace(P,"."),n+u(t.split("."),r).join(".")}function a(t){for(var r,e,n=[],o=0,i=t.length;o<i;)r=t.charCodeAt(o++),r>=55296&&r<=56319&&o<i?(e=t.charCodeAt(o++),56320==(64512&e)?n.push(((1023&r)<<10)+(1023&e)+65536):(n.push(r),o--)):n.push(r);return n}function c(t){return u(t,function(t){var r="";return t>65535&&(t-=65536,r+=R(t>>>10&1023|55296),t=56320|1023&t),r+=R(t)}).join("")}function f(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:m}function l(t,r){return t+22+75*(t<26)-((0!=r)<<5)}function p(t,r,e){var n=0;for(t=e?T(t/O):t>>1,t+=T(t/r);t>z*w>>1;n+=m)t=T(t/z);return T(n+(z+1)*t/(t+x))}function h(t){var r,e,n,o,u,s,a,l,h,d,v=[],g=t.length,b=0,x=S,O=j;for(e=t.lastIndexOf(k),e<0&&(e=0),n=0;n<e;++n)t.charCodeAt(n)>=128&&i("not-basic"),v.push(t.charCodeAt(n));for(o=e>0?e+1:0;o<g;){for(u=b,s=1,a=m;o>=g&&i("invalid-input"),l=f(t.charCodeAt(o++)),(l>=m||l>T((y-b)/s))&&i("overflow"),b+=l*s,h=a<=O?_:a>=O+w?w:a-O,!(l<h);a+=m)d=m-h,s>T(y/d)&&i("overflow"),s*=d;r=v.length+1,O=p(b-u,r,0==u),T(b/r)>y-x&&i("overflow"),x+=T(b/r),b%=r,v.splice(b++,0,x)}return c(v)}function d(t){var r,e,n,o,u,s,c,f,h,d,v,g,b,x,O,E=[];for(t=a(t),g=t.length,r=S,e=0,u=j,s=0;s<g;++s)(v=t[s])<128&&E.push(R(v));for(n=o=E.length,o&&E.push(k);n<g;){for(c=y,s=0;s<g;++s)(v=t[s])>=r&&v<c&&(c=v);for(b=n+1,c-r>T((y-e)/b)&&i("overflow"),e+=(c-r)*b,r=c,s=0;s<g;++s)if(v=t[s],v<r&&++e>y&&i("overflow"),v==r){for(f=e,h=m;d=h<=u?_:h>=u+w?w:h-u,!(f<d);h+=m)O=f-d,x=m-d,E.push(R(l(d+O%x,0))),f=T(O/x);E.push(R(l(f,0))),u=p(e,b,n==o),e=0,++n}++e,++r}return E.join("")}function v(t){return s(t,function(t){return E.test(t)?h(t.slice(4).toLowerCase()):t})}function g(t){return s(t,function(t){return A.test(t)?"xn--"+d(t):t})}var b,y=("object"==typeof r&&r&&r.nodeType,"object"==typeof t&&t&&t.nodeType,2147483647),m=36,_=1,w=26,x=38,O=700,j=72,S=128,k="-",E=/^xn--/,A=/[^\x20-\x7E]/,P=/[\x2E\u3002\uFF0E\uFF61]/g,I={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},z=m-_,T=Math.floor,R=String.fromCharCode;b={version:"1.3.2",ucs2:{decode:a,encode:c},decode:h,encode:d,toASCII:g,toUnicode:v},void 0!==(o=function(){return b}.call(r,e,r,t))&&(t.exports=o)}()}).call(r,e(24)(t),e(4))},function(t,r){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,r,e){"use strict";(function(t){e.d(r,"a",function(){return g});var n=e(65),o=(e.n(n),e(63)),i=e(0),u=(e.n(i),e(30)),s=(e.n(u),e(31)),a=(e.n(s),e(33)),c=(e.n(a),e(34)),f=(e.n(c),e(35)),l=(e.n(f),e(36)),p=(e.n(l),e(37)),h=(e.n(p),e(64)),d=(e.n(h),e(61));t.hasOwnProperty("XMLHttpRequest")||(t.XMLHttpRequest=e(66)),t.hasOwnProperty("atob")||(t.atob=n);var v=function(t){var r="";for(var e in t)t.hasOwnProperty(e)&&"function"!=typeof t[e]&&("object"==typeof t[e]?r+=v(t[e]):r+=e+"="+encodeURIComponent(t[e])+"&");return r},g=function(){function t(t){var r=void 0===t?{baseIri:null,timeout:1e4}:t,e=r.baseIri,n=r.timeout;if(this.SUPPORTED=o.a,this.timeout=n,!e)if("undefined"!=typeof window&&"undefined"!=typeof document){var i=window.location.hostname.split("wikipathways.org");e=""===i[i.length-1]?window.location.origin+"/wpi/webservicetest/":"https://webservice.wikipathways.org/"}else e="https://webservice.wikipathways.org/";this.baseIri=e}return t.prototype.getPathway=function(t){var r=void 0===t?{identifier:void 0,version:0,fileFormat:"application/ld+json"}:t,e=r.identifier,n=r.version,u=r.fileFormat;if(!e)throw new Error("Please provide identifier");var s=o.b[u.toLowerCase()],a=h(this.baseIri).filename("getPathwayAs").query({pwId:e,fileType:o.c[s],revision:n||0,format:"json"}),c={};c["@id"]="http://identifiers.org/wikipathways/"+e,c.version=n;var f={url:a.toString(),method:"GET",responseType:"json",timeout:this.timeout,crossDomain:!0};return i.Observable.ajax(f).map(function(t){return t.xhr.response}).map(function(t){return atob(t.data).toString()})},t.prototype.getPathwayInfo=function(t){if(!t)throw new Error("Please provide identifier");var r=h(this.baseIri).filename("getPathwayInfo").query({pwId:t,format:"json"}),e={url:r.toString(),method:"GET",responseType:"json",timeout:this.timeout,crossDomain:!0};return i.Observable.ajax(e).map(function(t){return t.xhr.response.pathwayInfo}).map(function(t){return{identifier:t.id,url:t.url,name:t.name,organism:t.species,version:t.revision}})},t.prototype.listPathways=function(){var t=h(this.baseIri).filename("listPathways").query({format:"json"}),r={url:t.toString(),method:"GET",responseType:"json",timeout:this.timeout,crossDomain:!0};return i.Observable.ajax(r).map(function(t){return t.xhr.response}).mergeMap(function(t){return i.Observable.from(t.pathways)}).map(function(t){return{"@context":["https://wikipathwayscontexts.firebaseio.com/biopax.json","https://wikipathwayscontexts.firebaseio.com/organism.json",{"@vocab":"http://www.biopax.org/release/biopax-level3.owl#"}],"@id":"http://identifiers.org/wikipathways/"+t.id,db:"wikipathways",identifier:t.id,name:t.name,webPage:t.url,version:t.revision,organism:t.species}})},t.prototype.login=function(t){var r=t.username,e=t.password,n=h(this.baseIri).filename("login").query({name:r,pass:e,format:"json"}),o={url:n.toString(),method:"GET",responseType:"json",timeout:this.timeout,crossDomain:!0};return i.Observable.ajax(o).map(function(t){return t.xhr.response}).map(function(t){return t.hasOwnProperty("auth")?t.auth:i.Observable.throw(new Error("Login problem. No auth property on response body."))})},t.prototype.updatePathway=function(t){var r=t.description,e=t.username,n=t.password,o=t.identifier,u=t.gpml,s=this.baseIri,a='<?xml version="1.0" encoding="UTF-8"?>',c=(0===u.indexOf(a)?"":a).concat(u);return i.Observable.zip(this.login({username:e,password:n}),this.getPathwayInfo(o)).mergeMap(function(t){var n=t[0],u=t[1],a=h(s).filename("updatePathway"),f={url:a.toString(),method:"POST",responseType:"document",timeout:this.timeout,crossDomain:!0,headers:{"Content-Type":"application/x-www-form-urlencoded"},body:v({pwId:o,description:r,revision:u.version,gpml:c,username:e,auth:n})};return i.Observable.ajax(f).mergeMap(d.a).map(function(t){var r=t.status,e=t.statusText,n=t.message,o={status:r,statusText:e},i=o.status;return 200<=i&&i<300?o.version=parseInt(n):o.error=n,o})})},t}()}).call(r,e(4))},function(t,r,e){(function(t,n){var o;(function(){function i(t,r,e){switch(e.length){case 0:return t.call(r);case 1:return t.call(r,e[0]);case 2:return t.call(r,e[0],e[1]);case 3:return t.call(r,e[0],e[1],e[2])}return t.apply(r,e)}function u(t,r,e,n){for(var o=-1,i=null==t?0:t.length;++o<i;){var u=t[o];r(n,u,e(u),t)}return n}function s(t,r){for(var e=-1,n=null==t?0:t.length;++e<n&&!1!==r(t[e],e,t););return t}function a(t,r){for(var e=null==t?0:t.length;e--&&!1!==r(t[e],e,t););return t}function c(t,r){for(var e=-1,n=null==t?0:t.length;++e<n;)if(!r(t[e],e,t))return!1;return!0}function f(t,r){for(var e=-1,n=null==t?0:t.length,o=0,i=[];++e<n;){var u=t[e];r(u,e,t)&&(i[o++]=u)}return i}function l(t,r){return!!(null==t?0:t.length)&&x(t,r,0)>-1}function p(t,r,e){for(var n=-1,o=null==t?0:t.length;++n<o;)if(e(r,t[n]))return!0;return!1}function h(t,r){for(var e=-1,n=null==t?0:t.length,o=Array(n);++e<n;)o[e]=r(t[e],e,t);return o}function d(t,r){for(var e=-1,n=r.length,o=t.length;++e<n;)t[o+e]=r[e];return t}function v(t,r,e,n){var o=-1,i=null==t?0:t.length;for(n&&i&&(e=t[++o]);++o<i;)e=r(e,t[o],o,t);return e}function g(t,r,e,n){var o=null==t?0:t.length;for(n&&o&&(e=t[--o]);o--;)e=r(e,t[o],o,t);return e}function b(t,r){for(var e=-1,n=null==t?0:t.length;++e<n;)if(r(t[e],e,t))return!0;return!1}function y(t){return t.split("")}function m(t){return t.match(Ur)||[]}function _(t,r,e){var n;return e(t,function(t,e,o){if(r(t,e,o))return n=e,!1}),n}function w(t,r,e,n){for(var o=t.length,i=e+(n?1:-1);n?i--:++i<o;)if(r(t[i],i,t))return i;return-1}function x(t,r,e){return r===r?X(t,r,e):w(t,j,e)}function O(t,r,e,n){for(var o=e-1,i=t.length;++o<i;)if(n(t[o],r))return o;return-1}function j(t){return t!==t}function S(t,r){var e=null==t?0:t.length;return e?I(t,r)/e:Tt}function k(t){return function(r){return null==r?et:r[t]}}function E(t){return function(r){return null==t?et:t[r]}}function A(t,r,e,n,o){return o(t,function(t,o,i){e=n?(n=!1,t):r(e,t,o,i)}),e}function P(t,r){var e=t.length;for(t.sort(r);e--;)t[e]=t[e].value;return t}function I(t,r){for(var e,n=-1,o=t.length;++n<o;){var i=r(t[n]);i!==et&&(e=e===et?i:e+i)}return e}function z(t,r){for(var e=-1,n=Array(t);++e<t;)n[e]=r(e);return n}function T(t,r){return h(r,function(r){return[r,t[r]]})}function R(t){return function(r){return t(r)}}function C(t,r){return h(r,function(r){return t[r]})}function q(t,r){return t.has(r)}function U(t,r){for(var e=-1,n=t.length;++e<n&&x(r,t[e],0)>-1;);return e}function Q(t,r){for(var e=t.length;e--&&x(r,t[e],0)>-1;);return e}function L(t,r){for(var e=t.length,n=0;e--;)t[e]===r&&++n;return n}function F(t){return"\\"+xe[t]}function N(t,r){return null==t?et:t[r]}function M(t){return he.test(t)}function D(t){return de.test(t)}function $(t){for(var r,e=[];!(r=t.next()).done;)e.push(r.value);return e}function H(t){var r=-1,e=Array(t.size);return t.forEach(function(t,n){e[++r]=[n,t]}),e}function B(t,r){return function(e){return t(r(e))}}function W(t,r){for(var e=-1,n=t.length,o=0,i=[];++e<n;){var u=t[e];u!==r&&u!==st||(t[e]=st,i[o++]=e)}return i}function V(t){var r=-1,e=Array(t.size);return t.forEach(function(t){e[++r]=t}),e}function Z(t){var r=-1,e=Array(t.size);return t.forEach(function(t){e[++r]=[t,t]}),e}function X(t,r,e){for(var n=e-1,o=t.length;++n<o;)if(t[n]===r)return n;return-1}function G(t,r,e){for(var n=e+1;n--;)if(t[n]===r)return n;return n}function Y(t){return M(t)?K(t):Fe(t)}function J(t){return M(t)?tt(t):y(t)}function K(t){for(var r=le.lastIndex=0;le.test(t);)++r;return r}function tt(t){return t.match(le)||[]}function rt(t){return t.match(pe)||[]}var et,nt=200,ot="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",it="Expected a function",ut="__lodash_hash_undefined__",st="__lodash_placeholder__",at=1,ct=2,ft=4,lt=1,pt=2,ht=1,dt=2,vt=4,gt=8,bt=16,yt=32,mt=64,_t=128,wt=256,xt=512,Ot=30,jt="...",St=800,kt=16,Et=1,At=2,Pt=1/0,It=9007199254740991,zt=1.7976931348623157e308,Tt=NaN,Rt=4294967295,Ct=Rt-1,qt=Rt>>>1,Ut=[["ary",_t],["bind",ht],["bindKey",dt],["curry",gt],["curryRight",bt],["flip",xt],["partial",yt],["partialRight",mt],["rearg",wt]],Qt="[object Arguments]",Lt="[object Array]",Ft="[object AsyncFunction]",Nt="[object Boolean]",Mt="[object Date]",Dt="[object DOMException]",$t="[object Error]",Ht="[object Function]",Bt="[object GeneratorFunction]",Wt="[object Map]",Vt="[object Number]",Zt="[object Null]",Xt="[object Object]",Gt="[object Proxy]",Yt="[object RegExp]",Jt="[object Set]",Kt="[object String]",tr="[object Symbol]",rr="[object Undefined]",er="[object WeakMap]",nr="[object WeakSet]",or="[object ArrayBuffer]",ir="[object DataView]",ur="[object Float32Array]",sr="[object Float64Array]",ar="[object Int8Array]",cr="[object Int16Array]",fr="[object Int32Array]",lr="[object Uint8Array]",pr="[object Uint8ClampedArray]",hr="[object Uint16Array]",dr="[object Uint32Array]",vr=/\b__p \+= '';/g,gr=/\b(__p \+=) '' \+/g,br=/(__e\(.*?\)|\b__t\)) \+\n'';/g,yr=/&(?:amp|lt|gt|quot|#39);/g,mr=/[&<>"']/g,_r=RegExp(yr.source),wr=RegExp(mr.source),xr=/<%-([\s\S]+?)%>/g,Or=/<%([\s\S]+?)%>/g,jr=/<%=([\s\S]+?)%>/g,Sr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,kr=/^\w*$/,Er=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ar=/[\\^$.*+?()[\]{}|]/g,Pr=RegExp(Ar.source),Ir=/^\s+|\s+$/g,zr=/^\s+/,Tr=/\s+$/,Rr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Cr=/\{\n\/\* \[wrapped with (.+)\] \*/,qr=/,? & /,Ur=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Qr=/\\(\\)?/g,Lr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Fr=/\w*$/,Nr=/^[-+]0x[0-9a-f]+$/i,Mr=/^0b[01]+$/i,Dr=/^\[object .+?Constructor\]$/,$r=/^0o[0-7]+$/i,Hr=/^(?:0|[1-9]\d*)$/,Br=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Wr=/($^)/,Vr=/['\n\r\u2028\u2029\\]/g,Zr="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Xr="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Gr="["+Xr+"]",Yr="["+Zr+"]",Jr="[a-z\\xdf-\\xf6\\xf8-\\xff]",Kr="\\ud83c[\\udffb-\\udfff]",te="(?:\\ud83c[\\udde6-\\uddff]){2}",re="[\\ud800-\\udbff][\\udc00-\\udfff]",ee="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ne="(?:"+Jr+"|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])",oe="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",ie="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",te,re].join("|")+")[\\ufe0e\\ufe0f]?"+oe+")*",ue="[\\ufe0e\\ufe0f]?"+oe+ie,se="(?:"+["[\\u2700-\\u27bf]",te,re].join("|")+")"+ue,ae="(?:"+["[^\\ud800-\\udfff]"+Yr+"?",Yr,te,re,"[\\ud800-\\udfff]"].join("|")+")",ce=RegExp("['’]","g"),fe=RegExp(Yr,"g"),le=RegExp(Kr+"(?="+Kr+")|"+ae+ue,"g"),pe=RegExp([ee+"?"+Jr+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Gr,ee,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Gr,ee+ne,"$"].join("|")+")",ee+"?"+ne+"+(?:['’](?:d|ll|m|re|s|t|ve))?",ee+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",se].join("|"),"g"),he=RegExp("[\\u200d\\ud800-\\udfff"+Zr+"\\ufe0e\\ufe0f]"),de=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ve=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ge=-1,be={};be[ur]=be[sr]=be[ar]=be[cr]=be[fr]=be[lr]=be[pr]=be[hr]=be[dr]=!0,be[Qt]=be[Lt]=be[or]=be[Nt]=be[ir]=be[Mt]=be[$t]=be[Ht]=be[Wt]=be[Vt]=be[Xt]=be[Yt]=be[Jt]=be[Kt]=be[er]=!1;var ye={};ye[Qt]=ye[Lt]=ye[or]=ye[ir]=ye[Nt]=ye[Mt]=ye[ur]=ye[sr]=ye[ar]=ye[cr]=ye[fr]=ye[Wt]=ye[Vt]=ye[Xt]=ye[Yt]=ye[Jt]=ye[Kt]=ye[tr]=ye[lr]=ye[pr]=ye[hr]=ye[dr]=!0,ye[$t]=ye[Ht]=ye[er]=!1;var me={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},_e={"&":"&","<":"<",">":">",'"':""","'":"'"},we={"&":"&","<":"<",">":">",""":'"',"'":"'"},xe={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Oe=parseFloat,je=parseInt,Se="object"==typeof t&&t&&t.Object===Object&&t,ke="object"==typeof self&&self&&self.Object===Object&&self,Ee=Se||ke||Function("return this")(),Ae="object"==typeof r&&r&&!r.nodeType&&r,Pe=Ae&&"object"==typeof n&&n&&!n.nodeType&&n,Ie=Pe&&Pe.exports===Ae,ze=Ie&&Se.process,Te=function(){try{return Pe&&Pe.require&&Pe.require("util").types||ze&&ze.binding&&ze.binding("util")}catch(t){}}(),Re=Te&&Te.isArrayBuffer,Ce=Te&&Te.isDate,qe=Te&&Te.isMap,Ue=Te&&Te.isRegExp,Qe=Te&&Te.isSet,Le=Te&&Te.isTypedArray,Fe=k("length"),Ne=E(me),Me=E(_e),De=E(we),$e=function t(r){function e(t){if(ta(t)&&!pp(t)&&!(t instanceof y)){if(t instanceof o)return t;if(pf.call(t,"__wrapped__"))return Yi(t)}return new o(t)}function n(){}function o(t,r){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=et}function y(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Rt,this.__views__=[]}function E(){var t=new y(this.__wrapped__);return t.__actions__=To(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=To(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=To(this.__views__),t}function X(){if(this.__filtered__){var t=new y(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function K(){var t=this.__wrapped__.value(),r=this.__dir__,e=pp(t),n=r<0,o=e?t.length:0,i=wi(0,o,this.__views__),u=i.start,s=i.end,a=s-u,c=n?s:u-1,f=this.__iteratees__,l=f.length,p=0,h=Df(a,this.__takeCount__);if(!e||!n&&o==a&&h==a)return vo(t,this.__actions__);var d=[];t:for(;a--&&p<h;){c+=r;for(var v=-1,g=t[c];++v<l;){var b=f[v],y=b.iteratee,m=b.type,_=y(g);if(m==At)g=_;else if(!_){if(m==Et)continue t;break t}}d[p++]=g}return d}function tt(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}function Ur(){this.__data__=Jf?Jf(null):{},this.size=0}function Zr(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}function Xr(t){var r=this.__data__;if(Jf){var e=r[t];return e===ut?et:e}return pf.call(r,t)?r[t]:et}function Gr(t){var r=this.__data__;return Jf?r[t]!==et:pf.call(r,t)}function Yr(t,r){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=Jf&&r===et?ut:r,this}function Jr(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}function Kr(){this.__data__=[],this.size=0}function te(t){var r=this.__data__,e=Be(r,t);return!(e<0||(e==r.length-1?r.pop():kf.call(r,e,1),--this.size,0))}function re(t){var r=this.__data__,e=Be(r,t);return e<0?et:r[e][1]}function ee(t){return Be(this.__data__,t)>-1}function ne(t,r){var e=this.__data__,n=Be(e,t);return n<0?(++this.size,e.push([t,r])):e[n][1]=r,this}function oe(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}function ie(){this.size=0,this.__data__={hash:new tt,map:new(Zf||Jr),string:new tt}}function ue(t){var r=bi(this,t).delete(t);return this.size-=r?1:0,r}function se(t){return bi(this,t).get(t)}function ae(t){return bi(this,t).has(t)}function le(t,r){var e=bi(this,t),n=e.size;return e.set(t,r),this.size+=e.size==n?0:1,this}function pe(t){var r=-1,e=null==t?0:t.length;for(this.__data__=new oe;++r<e;)this.add(t[r])}function he(t){return this.__data__.set(t,ut),this}function de(t){return this.__data__.has(t)}function me(t){var r=this.__data__=new Jr(t);this.size=r.size}function _e(){this.__data__=new Jr,this.size=0}function we(t){var r=this.__data__,e=r.delete(t);return this.size=r.size,e}function xe(t){return this.__data__.get(t)}function Se(t){return this.__data__.has(t)}function ke(t,r){var e=this.__data__;if(e instanceof Jr){var n=e.__data__;if(!Zf||n.length<nt-1)return n.push([t,r]),this.size=++e.size,this;e=this.__data__=new oe(n)}return e.set(t,r),this.size=e.size,this}function Ae(t,r){var e=pp(t),n=!e&&lp(t),o=!e&&!n&&dp(t),i=!e&&!n&&!o&&mp(t),u=e||n||o||i,s=u?z(t.length,of):[],a=s.length;for(var c in t)!r&&!pf.call(t,c)||u&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Pi(c,a))||s.push(c);return s}function Pe(t){var r=t.length;return r?t[Xn(0,r-1)]:et}function ze(t,r){return Vi(To(t),Ye(r,0,t.length))}function Te(t){return Vi(To(t))}function Fe(t,r,e){(e===et||Ns(t[r],e))&&(e!==et||r in t)||Xe(t,r,e)}function He(t,r,e){var n=t[r];pf.call(t,r)&&Ns(n,e)&&(e!==et||r in t)||Xe(t,r,e)}function Be(t,r){for(var e=t.length;e--;)if(Ns(t[e][0],r))return e;return-1}function We(t,r,e,n){return fl(t,function(t,o,i){r(n,t,e(t),i)}),n}function Ve(t,r){return t&&Ro(r,qa(r),t)}function Ze(t,r){return t&&Ro(r,Ua(r),t)}function Xe(t,r,e){"__proto__"==r&&If?If(t,r,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[r]=e}function Ge(t,r){for(var e=-1,n=r.length,o=Yc(n),i=null==t;++e<n;)o[e]=i?et:Ta(t,r[e]);return o}function Ye(t,r,e){return t===t&&(e!==et&&(t=t<=e?t:e),r!==et&&(t=t>=r?t:r)),t}function Je(t,r,e,n,o,i){var u,a=r&at,c=r&ct,f=r&ft;if(e&&(u=o?e(t,n,o,i):e(t)),u!==et)return u;if(!Ks(t))return t;var l=pp(t);if(l){if(u=ji(t),!a)return To(t,u)}else{var p=xl(t),h=p==Ht||p==Bt;if(dp(t))return xo(t,a);if(p==Xt||p==Qt||h&&!o){if(u=c||h?{}:Si(t),!a)return c?qo(t,Ze(u,t)):Co(t,Ve(u,t))}else{if(!ye[p])return o?t:{};u=ki(t,p,a)}}i||(i=new me);var d=i.get(t);if(d)return d;i.set(t,u),yp(t)?t.forEach(function(n){u.add(Je(n,r,e,n,t,i))}):gp(t)&&t.forEach(function(n,o){u.set(o,Je(n,r,e,o,t,i))});var v=f?c?hi:pi:c?Ua:qa,g=l?et:v(t);return s(g||t,function(n,o){g&&(o=n,n=t[o]),He(u,o,Je(n,r,e,o,t,i))}),u}function Ke(t){var r=qa(t);return function(e){return tn(e,t,r)}}function tn(t,r,e){var n=e.length;if(null==t)return!n;for(t=ef(t);n--;){var o=e[n],i=r[o],u=t[o];if(u===et&&!(o in t)||!i(u))return!1}return!0}function rn(t,r,e){if("function"!=typeof t)throw new uf(it);return Sl(function(){t.apply(et,e)},r)}function en(t,r,e,n){var o=-1,i=l,u=!0,s=t.length,a=[],c=r.length;if(!s)return a;e&&(r=h(r,R(e))),n?(i=p,u=!1):r.length>=nt&&(i=q,u=!1,r=new pe(r));t:for(;++o<s;){var f=t[o],d=null==e?f:e(f);if(f=n||0!==f?f:0,u&&d===d){for(var v=c;v--;)if(r[v]===d)continue t;a.push(f)}else i(r,d,n)||a.push(f)}return a}function nn(t,r){var e=!0;return fl(t,function(t,n,o){return e=!!r(t,n,o)}),e}function on(t,r,e){for(var n=-1,o=t.length;++n<o;){var i=t[n],u=r(i);if(null!=u&&(s===et?u===u&&!la(u):e(u,s)))var s=u,a=i}return a}function un(t,r,e,n){var o=t.length;for(e=ba(e),e<0&&(e=-e>o?0:o+e),n=n===et||n>o?o:ba(n),n<0&&(n+=o),n=e>n?0:ya(n);e<n;)t[e++]=r;return t}function sn(t,r){var e=[];return fl(t,function(t,n,o){r(t,n,o)&&e.push(t)}),e}function an(t,r,e,n,o){var i=-1,u=t.length;for(e||(e=Ai),o||(o=[]);++i<u;){var s=t[i];r>0&&e(s)?r>1?an(s,r-1,e,n,o):d(o,s):n||(o[o.length]=s)}return o}function cn(t,r){return t&&pl(t,r,qa)}function fn(t,r){return t&&hl(t,r,qa)}function ln(t,r){return f(r,function(r){return Gs(t[r])})}function pn(t,r){r=_o(r,t);for(var e=0,n=r.length;null!=t&&e<n;)t=t[Zi(r[e++])];return e&&e==n?t:et}function hn(t,r,e){var n=r(t);return pp(t)?n:d(n,e(t))}function dn(t){return null==t?t===et?rr:Zt:Pf&&Pf in ef(t)?_i(t):Ni(t)}function vn(t,r){return t>r}function gn(t,r){return null!=t&&pf.call(t,r)}function bn(t,r){return null!=t&&r in ef(t)}function yn(t,r,e){return t>=Df(r,e)&&t<Mf(r,e)}function mn(t,r,e){for(var n=e?p:l,o=t[0].length,i=t.length,u=i,s=Yc(i),a=1/0,c=[];u--;){var f=t[u];u&&r&&(f=h(f,R(r))),a=Df(f.length,a),s[u]=!e&&(r||o>=120&&f.length>=120)?new pe(u&&f):et}f=t[0];var d=-1,v=s[0];t:for(;++d<o&&c.length<a;){var g=f[d],b=r?r(g):g;if(g=e||0!==g?g:0,!(v?q(v,b):n(c,b,e))){for(u=i;--u;){var y=s[u];if(!(y?q(y,b):n(t[u],b,e)))continue t}v&&v.push(b),c.push(g)}}return c}function _n(t,r,e,n){return cn(t,function(t,o,i){r(n,e(t),o,i)}),n}function wn(t,r,e){r=_o(r,t),t=Di(t,r);var n=null==t?t:t[Zi(gu(r))];return null==n?et:i(n,t,e)}function xn(t){return ta(t)&&dn(t)==Qt}function On(t){return ta(t)&&dn(t)==or}function jn(t){return ta(t)&&dn(t)==Mt}function Sn(t,r,e,n,o){return t===r||(null==t||null==r||!ta(t)&&!ta(r)?t!==t&&r!==r:kn(t,r,e,n,Sn,o))}function kn(t,r,e,n,o,i){var u=pp(t),s=pp(r),a=u?Lt:xl(t),c=s?Lt:xl(r);a=a==Qt?Xt:a,c=c==Qt?Xt:c;var f=a==Xt,l=c==Xt,p=a==c;if(p&&dp(t)){if(!dp(r))return!1;u=!0,f=!1}if(p&&!f)return i||(i=new me),u||mp(t)?ai(t,r,e,n,o,i):ci(t,r,a,e,n,o,i);if(!(e<)){var h=f&&pf.call(t,"__wrapped__"),d=l&&pf.call(r,"__wrapped__");if(h||d){var v=h?t.value():t,g=d?r.value():r;return i||(i=new me),o(v,g,e,n,i)}}return!!p&&(i||(i=new me),fi(t,r,e,n,o,i))}function En(t){return ta(t)&&xl(t)==Wt}function An(t,r,e,n){var o=e.length,i=o,u=!n;if(null==t)return!i;for(t=ef(t);o--;){var s=e[o];if(u&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++o<i;){s=e[o];var a=s[0],c=t[a],f=s[1];if(u&&s[2]){if(c===et&&!(a in t))return!1}else{var l=new me;if(n)var p=n(c,f,a,t,r,l);if(!(p===et?Sn(f,c,lt|pt,n,l):p))return!1}}return!0}function Pn(t){return!(!Ks(t)||Ci(t))&&(Gs(t)?yf:Dr).test(Xi(t))}function In(t){return ta(t)&&dn(t)==Yt}function zn(t){return ta(t)&&xl(t)==Jt}function Tn(t){return ta(t)&&Js(t.length)&&!!be[dn(t)]}function Rn(t){return"function"==typeof t?t:null==t?Sc:"object"==typeof t?pp(t)?Fn(t[0],t[1]):Ln(t):Rc(t)}function Cn(t){if(!qi(t))return Nf(t);var r=[];for(var e in ef(t))pf.call(t,e)&&"constructor"!=e&&r.push(e);return r}function qn(t){if(!Ks(t))return Fi(t);var r=qi(t),e=[];for(var n in t)("constructor"!=n||!r&&pf.call(t,n))&&e.push(n);return e}function Un(t,r){return t<r}function Qn(t,r){var e=-1,n=Ms(t)?Yc(t.length):[];return fl(t,function(t,o,i){n[++e]=r(t,o,i)}),n}function Ln(t){var r=yi(t);return 1==r.length&&r[0][2]?Qi(r[0][0],r[0][1]):function(e){return e===t||An(e,t,r)}}function Fn(t,r){return zi(t)&&Ui(r)?Qi(Zi(t),r):function(e){var n=Ta(e,t);return n===et&&n===r?Ca(e,t):Sn(r,n,lt|pt)}}function Nn(t,r,e,n,o){t!==r&&pl(r,function(i,u){if(o||(o=new me),Ks(i))Mn(t,r,u,e,Nn,n,o);else{var s=n?n(Hi(t,u),i,u+"",t,r,o):et;s===et&&(s=i),Fe(t,u,s)}},Ua)}function Mn(t,r,e,n,o,i,u){var s=Hi(t,e),a=Hi(r,e),c=u.get(a);if(c)return void Fe(t,e,c);var f=i?i(s,a,e+"",t,r,u):et,l=f===et;if(l){var p=pp(a),h=!p&&dp(a),d=!p&&!h&&mp(a);f=a,p||h||d?pp(s)?f=s:Ds(s)?f=To(s):h?(l=!1,f=xo(a,!0)):d?(l=!1,f=Eo(a,!0)):f