You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2019/11/25 15:56:56 UTC

svn commit: r1870392 [2/2] - in /cordova/site/public: ./ announcements/2019/11/05/ announcements/2019/11/25/ blog/ docs/en/dev/reference/cordova-cli/ docs/en/dev/reference/cordova-plugin-statusbar/ docs/en/dev/reference/cordova-plugin-whitelist/ static...

Modified: cordova/site/public/static/js/plugins.js
URL: http://svn.apache.org/viewvc/cordova/site/public/static/js/plugins.js?rev=1870392&r1=1870391&r2=1870392&view=diff
==============================================================================
--- cordova/site/public/static/js/plugins.js (original)
+++ cordova/site/public/static/js/plugins.js Mon Nov 25 15:56:56 2019
@@ -1,5 +1,5 @@
-!function t(e,n,r){function o(a,s){if(!n[a]){if(!e[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[a]={exports:{}};e[a][0].call(l.exports,function(t){var n=e[a][1][t];return o(n?n:t)},l,l.exports,t,e,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(t,e,n){(function(t){(function(){function n(t,e){var n=!(arguments.length<=2||void 0===arguments[2])&&arguments[2];this.obs=t,this.sync=e,this.lazy=n,this.queue=[]}function r(){n.apply(this,arguments)}function o(t){n.call(this,t,!0)}function i(t,e,n){this.context=t,this.method=e,this.args=n}function a(t){this.value=t}function s(){this.id=++ot}function u(t,e){return this instanceof u?(s.call(this),void(!e&&W.isFunction(t)||(null!=t?t._isNext:void 0)?(this.valueF=t,this.valueInternal=void 0):(this.valueF=void 0,this.valueInternal=t))):new u(t,
 e)}function c(t,e){return this instanceof c?void u.call(this,t,e):new c(t,e)}function l(){return this instanceof l?void s.call(this):new l}function f(t){return this instanceof f?(this.error=t,void s.call(this)):new f(t)}function p(t){this.desc=t,this.id=++ct,this.initialDesc=this.desc}function d(){var t=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];this.unsubscribe=W.bind(this.unsubscribe,this),this.unsubscribed=!1,this.subscriptions=[],this.starting=[];for(var e,n=0;n<t.length;n++)e=t[n],this.add(e)}function h(t,e){this._subscribe=t,this._handleEvent=e,this.subscribe=W.bind(this.subscribe,this),this.handleEvent=W.bind(this.handleEvent,this),this.pushing=!1,this.ended=!1,this.prevError=void 0,this.unsubSrc=void 0,this.subscriptions=[],this.queue=[]}function v(t,e,n){return this instanceof v?(W.isFunction(t)&&(n=e,e=t,t=i.empty),p.call(this,t),P(e),this.dispatcher=new h(e,n),void lt(this)):new v(t,e,n)}function y(t,e,n){h.call(this,e,n),this.property=t,this.subscribe=W.b
 ind(this.subscribe,this),this.current=nt,this.currentValueRootId=void 0,this.propertyEnded=!1}function m(t,e,n){p.call(this,t),P(e),this.dispatcher=new y(this,e,n),lt(this)}function b(){return this instanceof b?(this.unsubAll=W.bind(this.unsubAll,this),this.subscribeAll=W.bind(this.subscribeAll,this),this.guardedSink=W.bind(this.guardedSink,this),this.sink=void 0,this.subscriptions=[],this.ended=!1,void v.call(this,new S.Desc(S,"Bus",[]),this.subscribeAll)):new b}function g(t){return[t,st()]}function w(t){this.observable=t}var x=Array.prototype.slice,S={toString:function(){return"Bacon"}};S.version="0.7.95";var C=("undefined"!=typeof t&&null!==t?t:this).Error,E=function(){},O=function(t,e){return t},_=function(t){return t.slice(0)},D=function(t,e){if(!e)throw new C(t)},k=function(t){if((null!=t?t._isObservable:void 0)&&!(null!=t?t._isProperty:void 0))throw new C("Observable is not a Property : "+t)},T=function(t){if(!(null!=t?t._isEventStream:void 0))throw new C("not an EventStream 
 : "+t)},N=function(t){if(!(null!=t?t._isObservable:void 0))throw new C("not an Observable : "+t)},P=function(t){return D("not a function : "+t,W.isFunction(t))},j=Array.isArray||function(t){return t instanceof Array},A=function(t){return t&&t._isObservable},I=function(t){if(!j(t))throw new C("not an array : "+t)},M=function(t){return D("no arguments supported",0===t.length)},R=function(t){for(var e=arguments.length,n=1;1<e?n<e:n>e;1<e?n++:n--)for(var r in arguments[n])t[r]=arguments[n][r];return t},L=function(t,e){var n={}.hasOwnProperty,r=function(){};r.prototype=e.prototype,t.prototype=new r;for(var o in e)n.call(e,o)&&(t[o]=e[o]);return t},F=function(t){return"undefined"!=typeof Symbol&&Symbol[t]?Symbol[t]:"undefined"!=typeof Symbol&&"function"==typeof Symbol["for"]?Symbol[t]=Symbol["for"](t):"@@"+t},W={indexOf:function(){return Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var n,r=0;r<t.length;r++)if(n=t[r],e===n)return r;return-1}}(),indexWhere:fu
 nction(t,e){for(var n,r=0;r<t.length;r++)if(n=t[r],e(n))return r;return-1},head:function(t){return t[0]},always:function(t){return function(){return t}},negate:function(t){return function(e){return!t(e)}},empty:function(t){return 0===t.length},tail:function(t){return t.slice(1,t.length)},filter:function(t,e){for(var n,r=[],o=0;o<e.length;o++)n=e[o],t(n)&&r.push(n);return r},map:function(t,e){return function(){for(var n,r=[],o=0;o<e.length;o++)n=e[o],r.push(t(n));return r}()},each:function(t,e){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=t[n];e(n,r)}},toArray:function(t){return j(t)?t:[t]},contains:function(t,e){return W.indexOf(t,e)!==-1},id:function(t){return t},last:function(t){return t[t.length-1]},all:function(t){for(var e,n=arguments.length<=1||void 0===arguments[1]?W.id:arguments[1],r=0;r<t.length;r++)if(e=t[r],!n(e))return!1;return!0},any:function(t){for(var e,n=arguments.length<=1||void 0===arguments[1]?W.id:arguments[1],r=0;r<t.length;r++)if(e=t[r],n(
 e))return!0;return!1},without:function(t,e){return W.filter(function(e){return e!==t},e)},remove:function(t,e){var n=W.indexOf(e,t);if(n>=0)return e.splice(n,1)},fold:function(t,e,n){for(var r,o=0;o<t.length;o++)r=t[o],e=n(e,r);return e},flatMap:function(t,e){return W.fold(e,[],function(e,n){return e.concat(t(n))})},cached:function(t){var e=nt;return function(){return("undefined"!=typeof e&&null!==e?e._isNone:void 0)&&(e=t(),t=void 0),e}},bind:function(t,e){return function(){return t.apply(e,arguments)}},isFunction:function(t){return"function"==typeof t},toString:function(t){var e,n,r,o={}.hasOwnProperty;try{return U++,null==t?"undefined":W.isFunction(t)?"function":j(t)?U>5?"[..]":"["+W.map(W.toString,t).toString()+"]":null!=(null!=t?t.toString:void 0)&&t.toString!==Object.prototype.toString?t.toString():"object"==typeof t?U>5?"{..}":(e=function(){var e=[];for(n in t)o.call(t,n)&&(r=function(){var e;try{return t[n]}catch(e){return e}}(),e.push(W.toString(n)+":"+W.toString(r)));retur
 n e}(),"{"+e+"}"):t}finally{U--}}},U=0;S._=W;var $=S.UpdateBarrier=function(){function t(t){t<=s||(a[t-1]||(a[t-1]=[[],0]),s=t)}function e(t,e){for(var n=0;n<e.length;n++)if(e[n][0].id==t.id)return!0;return!1}function n(){var e=s;if(e)for(;s>=e;){var n=a[s-1];if(!n)throw new f("Unexpected stack top: "+n);var r=n[0],o=n[1];if(!(o<r.length)){n[0]=[],n[1]=0;break}var i=r[o],u=(i[0],i[1]);n[1]++,t(s+1);var c=!1;try{for(u(),c=!0;s>e&&0==a[s-1][0].length;)s--}finally{c||(a=[],s=0)}}}var r,o=[],i={},a=[],s=0,u={},c=function(o,i){if(!r&&!a.length)return i();t(1);for(var u=0;u<s-1&&!e(o,a[u][0]);)u++;var c=a[u][0];c.push([o,i]),r||n()},l=function(t,e){if(r){var n=i[t.id];return"undefined"==typeof n||null===n?(n=i[t.id]=[e],o.push(t)):n.push(e)}return e()},p=function(){for(;o.length>0;)d(0,!0);u={}},d=function(t,e){var n=o[t],r=n.id,a=i[r];o.splice(t,1),delete i[r],e&&o.length>0&&h(n);for(var s,u=0;u<a.length;u++)(s=a[u])()},h=function(t){if(!u[t.id]){for(var e,n=t.internalDeps(),r=0;r<n.leng
 th;r++)if(e=n[r],h(e),i[e.id]){var a=W.indexOf(o,e);d(a,!1)}u[t.id]=!0}},v=function(t,e,o,i){if(r)return o.apply(e,i);r=t;try{var a=o.apply(e,i);p()}finally{r=void 0,n()}return a},y=function(){return r?r.id:void 0},m=function(t,e){var n=!1,r=!1,o=function(){return r=!0},i=function(){return n=!0,o()};return o=t.dispatcher.subscribe(function(r){return c(t,function(){if(!n){var t=e(r);if(t===S.noMore)return i()}})}),r&&o(),i},b=function(){return o.length>0};return{whenDoneWith:l,hasWaiters:b,inTransaction:v,currentEventId:y,wrappedSubscribe:m,afterTransaction:c}}();R(n.prototype,{_isSource:!0,subscribe:function(t){return this.obs.dispatcher.subscribe(t)},toString:function(){return this.obs.toString()},markEnded:function(){return this.ended=!0,!0},consume:function(){return this.lazy?{value:W.always(this.queue[0])}:this.queue[0]},push:function(t){return this.queue=[t],[t]},mayHave:function(){return!0},hasAtLeast:function(){return this.queue.length},flatten:!0}),L(r,n),R(r.prototype,{cons
 ume:function(){return this.queue.shift()},push:function(t){return this.queue.push(t)},mayHave:function(t){return!this.ended||this.queue.length>=t},hasAtLeast:function(t){return this.queue.length>=t},flatten:!1}),L(o,n),R(o.prototype,{consume:function(){var t=this.queue;return this.queue=[],{value:function(){return t}}},push:function(t){return this.queue.push(t.value())},hasAtLeast:function(){return!0}}),n.isTrigger=function(t){return(null!=t?t._isSource:void 0)?t.sync:null!=t?t._isEventStream:void 0},n.fromObservable=function(t){return(null!=t?t._isSource:void 0)?t:(null!=t?t._isProperty:void 0)?new n(t,(!1)):new r(t,(!0))},R(i.prototype,{_isDesc:!0,deps:function(){return this.cached||(this.cached=z([this.context].concat(this.args))),this.cached},toString:function(){return W.toString(this.context)+"."+W.toString(this.method)+"("+W.map(W.toString,this.args)+")"}});var V=function(t,e){var n=t||e;if(n&&n._isDesc)return t||e;for(var r=arguments.length,o=Array(r>2?r-2:0),a=2;a<r;a++)o[a-
 2]=arguments[a];return new i(t,e,o)},B=function(t,e){return e.desc=t,e},z=function(t){return j(t)?W.flatMap(z,t):A(t)?[t]:("undefined"!=typeof t&&null!==t?t._isSource:void 0)?[t.obs]:[]};S.Desc=i,S.Desc.empty=new S.Desc("","",[]);var H=function(t){return function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if("object"==typeof e&&r.length){var i=e,a=r[0];e=function(){return i[a].apply(i,arguments)},r=r.slice(1)}return t.apply(void 0,[e].concat(r))}},q=function(t){return t=Array.prototype.slice.call(t),J.apply(void 0,t)},Z=function(t,e){return function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.apply(void 0,e.concat(r))}},Q=function(t){return function(e){return function(n){if("undefined"!=typeof n&&null!==n){var r=n[e];return W.isFunction(r)?r.apply(n,t):r}}}},X=function(t,e){var n=t.slice(1).split("."),r=W.map(Q(e),n);return function(t){for(var e,n=0;n<r.length;n++)e=r[n],t=e(t);return t}},Y=function(t){return"s
 tring"==typeof t&&t.length>1&&"."===t.charAt(0)},J=H(function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return W.isFunction(t)?n.length?Z(t,n):t:Y(t)?X(t,n):W.always(t)}),G=function(t,e){return J.apply(void 0,[t].concat(e))},K=function(t,e,n,r){if("undefined"!=typeof e&&null!==e?e._isProperty:void 0){var o=e.sampledBy(t,function(t,e){return[t,e]});return r.call(o,function(t){var e=t[0];t[1];return e}).map(function(t){var e=(t[0],t[1]);return e})}return e=G(e,n),r.call(t,e)},tt=function(t){if(W.isFunction(t))return t;if(Y(t)){var e=et(t);return function(t,n){return t[e](n)}}throw new C("not a function or a field key: "+t)},et=function(t){return t.slice(1)};R(a.prototype,{_isSome:!0,getOrElse:function(){return this.value},get:function(){return this.value},filter:function(t){return t(this.value)?new a(this.value):nt},map:function(t){return new a(t(this.value))},forEach:function(t){return t(this.value)},isDefined:!0,toArray:function(){return[this.v
 alue]},inspect:function(){return"Some("+this.value+")"},toString:function(){return this.inspect()}});var nt={_isNone:!0,getOrElse:function(t){return t},filter:function(){return nt},map:function(){return nt},forEach:function(){},isDefined:!1,toArray:function(){return[]},inspect:function(){return"None"},toString:function(){return this.inspect()}},rt=function(t){return("undefined"!=typeof t&&null!==t?t._isSome:void 0)||("undefined"!=typeof t&&null!==t?t._isNone:void 0)?t:new a(t)};S.noMore="<no-more>",S.more="<more>";var ot=0;s.prototype._isEvent=!0,s.prototype.isEvent=function(){return!0},s.prototype.isEnd=function(){return!1},s.prototype.isInitial=function(){return!1},s.prototype.isNext=function(){return!1},s.prototype.isError=function(){return!1},s.prototype.hasValue=function(){return!1},s.prototype.filter=function(){return!0},s.prototype.inspect=function(){return this.toString()},s.prototype.log=function(){return this.toString()},L(u,s),u.prototype.isNext=function(){return!0},u.pro
 totype.hasValue=function(){return!0},u.prototype.value=function(){var t;return(null!=(t=this.valueF)?t._isNext:void 0)?(this.valueInternal=this.valueF.value(),this.valueF=void 0):this.valueF&&(this.valueInternal=this.valueF(),this.valueF=void 0),this.valueInternal},u.prototype.fmap=function(t){var e,n;return this.valueInternal?(n=this.valueInternal,this.apply(function(){return t(n)})):(e=this,this.apply(function(){return t(e.value())}))},u.prototype.apply=function(t){return new u(t)},u.prototype.filter=function(t){return t(this.value())},u.prototype.toString=function(){return W.toString(this.value())},u.prototype.log=function(){return this.value()},u.prototype._isNext=!0,L(c,u),c.prototype._isInitial=!0,c.prototype.isInitial=function(){return!0},c.prototype.isNext=function(){return!1},c.prototype.apply=function(t){return new c(t)},c.prototype.toNext=function(){return new u(this)},L(l,s),l.prototype.isEnd=function(){return!0},l.prototype.fmap=function(){return this},l.prototype.apply
 =function(){return this},l.prototype.toString=function(){return"<end>"},L(f,s),f.prototype.isError=function(){return!0},f.prototype.fmap=function(){return this},f.prototype.apply=function(){return this},f.prototype.toString=function(){return"<error> "+W.toString(this.error)},S.Event=s,S.Initial=c,S.Next=u,S.End=l,S.Error=f;var it=function(t){return new c(t,(!0))},at=function(t){return new u(t,(!0))},st=function(){return new l},ut=function(t){return t&&t._isEvent?t:at(t)},ct=0,lt=function(){};R(p.prototype,{_isObservable:!0,subscribe:function(t){return $.wrappedSubscribe(this,t)},subscribeInternal:function(t){return this.dispatcher.subscribe(t)},onValue:function(){var t=q(arguments);return this.subscribe(function(e){if(e.hasValue())return t(e.value())})},onValues:function(t){return this.onValue(function(e){return t.apply(void 0,e)})},onError:function(){var t=q(arguments);return this.subscribe(function(e){if(e.isError())return t(e.error)})},onEnd:function(){var t=q(arguments);return t
 his.subscribe(function(e){if(e.isEnd())return t()})},name:function(t){return this._name=t,this},withDescription:function(){return this.desc=V.apply(void 0,arguments),this},toString:function(){return this._name?this._name:this.desc.toString()},deps:function(){return this.desc.deps()},internalDeps:function(){return this.initialDesc.deps()}}),p.prototype.assign=p.prototype.onValue,p.prototype.forEach=p.prototype.onValue,p.prototype.inspect=p.prototype.toString,S.Observable=p,R(d.prototype,{add:function(t){var e=this;if(!this.unsubscribed){var n=!1,r=E;this.starting.push(t);var o=function(){if(!e.unsubscribed)return n=!0,e.remove(r),W.remove(t,e.starting)};return r=t(this.unsubscribe,o),this.unsubscribed||n?r():this.subscriptions.push(r),W.remove(t,this.starting),r}},remove:function(t){if(!this.unsubscribed)return void 0!==W.remove(t,this.subscriptions)?t():void 0},unsubscribe:function(){if(!this.unsubscribed){this.unsubscribed=!0;for(var t=this.subscriptions,e=0;e<t.length;e++)t[e]();r
 eturn this.subscriptions=[],this.starting=[],[]}},count:function(){return this.unsubscribed?0:this.subscriptions.length+this.starting.length},empty:function(){return 0===this.count()}}),S.CompositeUnsubscribe=d,h.prototype.hasSubscribers=function(){return this.subscriptions.length>0},h.prototype.removeSub=function(t){return this.subscriptions=W.without(t,this.subscriptions),this.subscriptions},h.prototype.push=function(t){return t.isEnd()&&(this.ended=!0),$.inTransaction(t,this,this.pushIt,[t])},h.prototype.pushToSubscriptions=function(t){try{for(var e=this.subscriptions,n=e.length,r=0;r<n;r++){var o=e[r],i=o.sink(t);(i===S.noMore||t.isEnd())&&this.removeSub(o)}return!0}catch(a){throw this.pushing=!1,this.queue=[],a}},h.prototype.pushIt=function(t){if(this.pushing)return this.queue.push(t),S.more;if(t!==this.prevError){for(t.isError()&&(this.prevError=t),this.pushing=!0,this.pushToSubscriptions(t),this.pushing=!1;this.queue.length;)t=this.queue.shift(),this.push(t);return this.hasSu
 bscribers()?S.more:(this.unsubscribeFromSource(),S.noMore)}},h.prototype.handleEvent=function(t){return this._handleEvent?this._handleEvent(t):this.push(t)},h.prototype.unsubscribeFromSource=function(){this.unsubSrc&&this.unsubSrc(),this.unsubSrc=void 0},h.prototype.subscribe=function(t){var e;return this.ended?(t(st()),E):(P(t),e={sink:t},this.subscriptions.push(e),1===this.subscriptions.length&&(this.unsubSrc=this._subscribe(this.handleEvent),P(this.unsubSrc)),function(t){return function(){if(t.removeSub(e),!t.hasSubscribers())return t.unsubscribeFromSource()}}(this))},S.Dispatcher=h,L(v,p),R(v.prototype,{_isEventStream:!0,toProperty:function(t){var e=0===arguments.length?nt:rt(function(){return t}),n=this.dispatcher,r=new S.Desc(this,"toProperty",[t]);return new m(r,function(t){var r=!1,o=!1,i=E,s=S.more,u=function(){if(!r)return e.forEach(function(e){if(r=!0,s=t(new c(e)),s===S.noMore)return i(),i=E,E})};return i=n.subscribe(function(n){return n.hasValue()?n.isInitial()&&!o?(e=n
 ew a(function(){return n.value()}),S.more):(n.isInitial()||u(),r=!0,e=new a(n),t(n)):(n.isEnd()&&(s=u()),s!==S.noMore?t(n):void 0)}),o=!0,u(),i})},toEventStream:function(){return this},withHandler:function(t){return new v(new S.Desc(this,"withHandler",[t]),this.dispatcher.subscribe,t)}}),S.EventStream=v,S.never=function(){return new v(V(S,"never"),function(t){return t(st()),E})},S.when=function(){if(0===arguments.length)return S.never();var t=arguments.length,e="when: expecting arguments in the form (Observable+,function)+";D(e,t%2===0);for(var r=[],o=[],i=0,a=[];i<t;){a[i]=arguments[i],a[i+1]=arguments[i+1];for(var s,u=W.toArray(arguments[i]),c=pt(arguments[i+1]),l={f:c,ixs:[]},f=!1,p=0;p<u.length;p++){s=u[p];var d=W.indexOf(r,s);f||(f=n.isTrigger(s)),d<0&&(r.push(s),d=r.length-1);for(var h,y=0;y<l.ixs.length;y++)h=l.ixs[y],h.index===d&&h.count++;l.ixs.push({index:d,count:1})}D("At least one EventStream required",f||!u.length),u.length>0&&o.push(l),i+=2}if(!r.length)return S.never(
 );r=W.map(n.fromObservable,r);var m=W.any(r,function(t){return t.flatten})&&ft(W.map(function(t){return t.obs},r)),b=new S.Desc(S,"when",a),g=new v(b,function(t){var e=[],n=!1,i=function(t){for(var e,n=0;n<t.ixs.length;n++)if(e=t.ixs[n],!r[e.index].hasAtLeast(e.count))return!1;return!0},a=function(t){return!t.sync||t.ended},s=function(t){for(var e,n=0;n<t.ixs.length;n++)if(e=t.ixs[n],!r[e.index].mayHave(e.count))return!0},u=function(t){return!t.source.flatten},c=function(c){return function(l){var f=function(){return $.whenDoneWith(g,d)},p=function(){if(!(e.length>0))return S.more;for(var n,a=S.more,s=e.pop(),c=0;c<o.length;c++)if(n=o[c],i(n)){var l=function(){for(var t,e=[],o=0;o<n.ixs.length;o++)t=n.ixs[o],e.push(r[t.index].consume());return e}();return a=t(s.e.apply(function(){var t,e=function(){for(var t,e=[],n=0;n<l.length;n++)t=l[n],e.push(t.value());return e}();return(t=n).f.apply(t,e)})),e.length&&(e=W.filter(u,e)),a===S.noMore?a:p()}},d=function(){var e=p();return n&&(W.all(
 r,a)||W.all(o,s))&&(e=S.noMore,t(st())),e===S.noMore&&l(),e};return c.subscribe(function(r){if(r.isEnd())n=!0,c.markEnded(),f();else if(r.isError())var o=t(r);else c.push(r),c.sync&&(e.push({source:c,e:r}),m||$.hasWaiters()?f():d());return o===S.noMore&&l(),o||S.more})}};return new S.CompositeUnsubscribe(function(){for(var t,e=[],n=0;n<r.length;n++)t=r[n],e.push(c(t));return e}()).unsubscribe});return g};var ft=function(t){var e=arguments.length<=1||void 0===arguments[1]?[]:arguments[1],n=function(t){if(W.contains(e,t))return!0;var r=t.internalDeps();return r.length?(e.push(t),W.any(r,n)):(e.push(t),!1)};return W.any(t,n)},pt=function(t){return W.isFunction(t)?t:W.always(t)};S.groupSimultaneous=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];1===e.length&&j(e[0])&&(e=e[0]);var r=function(){for(var t,n=[],r=0;r<e.length;r++)t=e[r],n.push(new o(t));return n}();return B(new S.Desc(S,"groupSimultaneous",e),S.when(r,function(){for(var t=arguments.length,e=A
 rray(t),n=0;n<t;n++)e[n]=arguments[n];return e}))},L(y,h),R(y.prototype,{push:function(t){return t.isEnd()&&(this.propertyEnded=!0),t.hasValue()&&(this.current=new a(t),this.currentValueRootId=$.currentEventId()),h.prototype.push.call(this,t)},maybeSubSource:function(t,e){return e===S.noMore?E:this.propertyEnded?(t(st()),E):h.prototype.subscribe.call(this,t)},subscribe:function(t){var e=this,n=S.more;if(this.current.isDefined&&(this.hasSubscribers()||this.propertyEnded)){var r=$.currentEventId(),o=this.currentValueRootId;return!this.propertyEnded&&o&&r&&r!==o?($.whenDoneWith(this.property,function(){if(e.currentValueRootId===o)return t(it(e.current.get().value()))}),this.maybeSubSource(t,n)):($.inTransaction(void 0,this,function(){return n=t(it(this.current.get().value()))},[]),this.maybeSubSource(t,n))}return this.maybeSubSource(t,n)}}),L(m,p),R(m.prototype,{_isProperty:!0,changes:function(){var t=this;return new v(new S.Desc(this,"changes",[]),function(e){return t.dispatcher.subsc
 ribe(function(t){if(!t.isInitial())return e(t)})})},withHandler:function(t){return new m(new S.Desc(this,"withHandler",[t]),this.dispatcher.subscribe,t)},toProperty:function(){return M(arguments),this},toEventStream:function(){var t=this;return new v(new S.Desc(this,"toEventStream",[]),function(e){return t.dispatcher.subscribe(function(t){return t.isInitial()&&(t=t.toNext()),e(t)})})}}),S.Property=m,S.constant=function(t){return new m(new S.Desc(S,"constant",[t]),function(e){return e(it(t)),e(st()),E})},S.fromBinder=function(t){var e=arguments.length<=1||void 0===arguments[1]?W.id:arguments[1],n=new S.Desc(S,"fromBinder",[t,e]);return new v(n,function(n){var r=!1,o=!1,i=function(){if(!r)return"undefined"!=typeof a&&null!==a?(a(),r=!0):o=!0},a=t(function(){for(var t,r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];var s=e.apply(this,o);j(s)&&(null!=(t=W.last(s))?t._isEvent:void 0)||(s=[s]);for(var u,c=S.more,l=0;l<s.length;l++)if(u=s[l],c=n(u=ut(u)),c===S.noMore||u.isEnd()
 )return i(),c;return c});return o&&i(),i})},S.Observable.prototype.map=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return K(this,t,n,function(t){return B(new S.Desc(this,"map",[t]),this.withHandler(function(e){return this.push(e.fmap(t))}))})};var dt=function(t){return j(t[0])?t[0]:Array.prototype.slice.call(t)},ht=function(t){return W.isFunction(t[0])?[dt(Array.prototype.slice.call(t,1)),t[0]]:[dt(Array.prototype.slice.call(t,0,t.length-1)),W.last(t)]};S.combineAsArray=function(){var t=dt(arguments);if(t.length){for(var e=[],r=0;r<t.length;r++){var o=A(t[r])?t[r]:S.constant(t[r]);e.push(new n(o,(!0)))}return B(new S.Desc(S,"combineAsArray",t),S.when(e,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return e}).toProperty())}return S.constant([])},S.onValues=function(){return S.combineAsArray(Array.prototype.slice.call(arguments,0,arguments.length-1)).onValues(arguments[arguments.length-1])},S.combineWith=fu
 nction(){var t=ht(arguments),e=t[0],n=t[1],r=new S.Desc(S,"combineWith",[n].concat(e));return B(r,S.combineAsArray(e).map(function(t){return n.apply(void 0,t)}))},S.Observable.prototype.combine=function(t,e){var n=tt(e),r=new S.Desc(this,"combine",[t,e]);return B(r,S.combineAsArray(this,t).map(function(t){return n(t[0],t[1])}))},S.Observable.prototype.withStateMachine=function(t,e){var n=t,r=new S.Desc(this,"withStateMachine",[t,e]);return B(r,this.withHandler(function(t){var r=e(n,t),o=r[0],i=r[1];n=o;for(var a,s=S.more,u=0;u<i.length;u++)if(a=i[u],s=this.push(a),s===S.noMore)return s;return s}))};var vt=function(t,e){return t===e},yt=function(t){return"undefined"!=typeof t&&null!==t&&t._isNone};S.Observable.prototype.skipDuplicates=function(){var t=arguments.length<=0||void 0===arguments[0]?vt:arguments[0],e=new S.Desc(this,"skipDuplicates",[]);return B(e,this.withStateMachine(nt,function(e,n){return n.hasValue()?n.isInitial()||yt(e)||!t(e.get(),n.value())?[new a(n.value()),[n]]:[
 e,[]]:[e,[n]]}))},S.Observable.prototype.awaiting=function(t){var e=new S.Desc(this,"awaiting",[t]);return B(e,S.groupSimultaneous(this,t).map(function(t){return 0===t[1].length}).toProperty(!1).skipDuplicates())},S.Observable.prototype.not=function(){return B(new S.Desc(this,"not",[]),this.map(function(t){return!t}))},S.Property.prototype.and=function(t){return B(new S.Desc(this,"and",[t]),this.combine(t,function(t,e){return t&&e}))},S.Property.prototype.or=function(t){return B(new S.Desc(this,"or",[t]),this.combine(t,function(t,e){return t||e}))},S.scheduler={setTimeout:function(t,e){return setTimeout(t,e)},setInterval:function(t,e){return setInterval(t,e)},clearInterval:function(t){return clearInterval(t)},clearTimeout:function(t){return clearTimeout(t)},now:function(){return(new Date).getTime()}},S.EventStream.prototype.bufferWithTime=function(t){return B(new S.Desc(this,"bufferWithTime",[t]),this.bufferWithTimeOrCount(t,Number.MAX_VALUE))},S.EventStream.prototype.bufferWithCoun
 t=function(t){return B(new S.Desc(this,"bufferWithCount",[t]),this.bufferWithTimeOrCount(void 0,t))},S.EventStream.prototype.bufferWithTimeOrCount=function(t,e){var n=function(n){return n.values.length===e?n.flush():void 0!==t?n.schedule():void 0},r=new S.Desc(this,"bufferWithTimeOrCount",[t,e]);return B(r,this.buffer(t,n,n))},S.EventStream.prototype.buffer=function(t){var e=arguments.length<=1||void 0===arguments[1]?E:arguments[1],n=arguments.length<=2||void 0===arguments[2]?E:arguments[2],r={scheduled:null,end:void 0,values:[],flush:function(){if(this.scheduled&&(S.scheduler.clearTimeout(this.scheduled),this.scheduled=null),this.values.length>0){var t=this.values;this.values=[];var e=this.push(at(t));if(null!=this.end)return this.push(this.end);if(e!==S.noMore)return n(this)}else if(null!=this.end)return this.push(this.end)},schedule:function(){var e=this;if(!this.scheduled)return this.scheduled=t(function(){return e.flush()})}},o=S.more;if(!W.isFunction(t)){var i=t;t=function(t){
 return S.scheduler.setTimeout(t,i)}}return B(new S.Desc(this,"buffer",[]),this.withHandler(function(t){var n=this;return r.push=function(t){return n.push(t)},t.isError()?o=this.push(t):t.isEnd()?(r.end=t,r.scheduled||r.flush()):(r.values.push(t.value()),e(r)),o}))},S.Observable.prototype.filter=function(t){k(t);for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return K(this,t,n,function(t){return B(new S.Desc(this,"filter",[t]),this.withHandler(function(e){return e.filter(t)?this.push(e):S.more}))})},S.once=function(t){return new v(new i(S,"once",[t]),function(e){return e(ut(t)),e(st()),E})},S.EventStream.prototype.concat=function(t){var e=this;return new v(new S.Desc(e,"concat",[t]),function(n){var r=E,o=e.dispatcher.subscribe(function(e){return e.isEnd()?r=t.toEventStream().dispatcher.subscribe(n):n(e)});return function(){return o(),r()}})},S.Property.prototype.concat=function(t){return mt(this,this.changes().concat(t))},S.concatAll=function(){var t=dt(
 arguments);return t.length?B(new S.Desc(S,"concatAll",t),W.fold(W.tail(t),W.head(t).toEventStream(),function(t,e){return t.concat(e)})):S.never()};var mt=function(t,e){var n=new v(V(t,"justInitValue"),function(e){var r=void 0,o=t.dispatcher.subscribe(function(t){return t.isEnd()||(r=t),S.noMore});return $.whenDoneWith(n,function(){return"undefined"!=typeof r&&null!==r&&e(r),e(st())}),o});return n.concat(e).toProperty()};S.Observable.prototype.flatMap=function(){return wt(this,bt(arguments))},S.Observable.prototype.flatMapFirst=function(){return wt(this,bt(arguments),!0)};var bt=function(t){return 1===t.length&&A(t[0])?W.always(t[0]):q(t)},gt=function(t){return A(t)?t:S.once(t)},wt=function(t,e,n,r){var o=[t],i=[],a=new S.Desc(t,"flatMap"+(n?"First":""),[e]),s=new v(a,function(o){var a=new d,s=[],u=function(t){var n=gt(e(t.value()));return i.push(n),a.add(function(t,e){return n.dispatcher.subscribe(function(r){if(r.isEnd())return W.remove(n,i),c(),l(e),S.noMore;("undefined"!=typeof r
 &&null!==r?r._isInitial:void 0)&&(r=r.toNext());var a=o(r);return a===S.noMore&&t(),a})})},c=function(){var t=s.shift();if(t)return u(t)},l=function(t){if(t(),a.empty())return o(st())};return a.add(function(e,i){return t.dispatcher.subscribe(function(t){return t.isEnd()?l(i):t.isError()?o(t):n&&a.count()>1?S.more:a.unsubscribed?S.noMore:r&&a.count()>r?s.push(t):u(t)})}),a.unsubscribe});return s.internalDeps=function(){return i.length?o.concat(i):o},s};S.Observable.prototype.flatMapWithConcurrencyLimit=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=new S.Desc(this,"flatMapWithConcurrencyLimit",[t].concat(n));return B(o,wt(this,bt(n),!1,t))},S.Observable.prototype.flatMapConcat=function(){var t=new S.Desc(this,"flatMapConcat",Array.prototype.slice.call(arguments,0));return B(t,this.flatMapWithConcurrencyLimit.apply(this,[1].concat(x.call(arguments))))},S.later=function(t,e){return B(new S.Desc(S,"later",[t,e]),S.fromBinder(function(n){v
 ar r=function(){return n([e,st()])},o=S.scheduler.setTimeout(r,t);return function(){return S.scheduler.clearTimeout(o)}}))},S.Observable.prototype.bufferingThrottle=function(t){var e=new S.Desc(this,"bufferingThrottle",[t]);return B(e,this.flatMapConcat(function(e){return S.once(e).concat(S.later(t).filter(!1))}))},S.Property.prototype.bufferingThrottle=function(){return S.Observable.prototype.bufferingThrottle.apply(this,arguments).toProperty()},L(b,v),R(b.prototype,{unsubAll:function(){for(var t,e=this.subscriptions,n=0;n<e.length;n++)t=e[n],"function"==typeof t.unsub&&t.unsub()},subscribeAll:function(t){if(this.ended)t(st());else{this.sink=t;for(var e,n=_(this.subscriptions),r=0;r<n.length;r++)e=n[r],this.subscribeInput(e)}return this.unsubAll},guardedSink:function(t){var e=this;return function(n){return n.isEnd()?(e.unsubscribeInput(t),S.noMore):e.sink(n)}},subscribeInput:function(t){return t.unsub=t.input.dispatcher.subscribe(this.guardedSink(t.input)),t.unsub},unsubscribeInput
 :function(t){for(var e,n=this.subscriptions,r=0;r<n.length;r++)if(e=n[r],e.input===t)return"function"==typeof e.unsub&&e.unsub(),void this.subscriptions.splice(r,1)},plug:function(t){var e=this;if(N(t),!this.ended){var n={input:t};return this.subscriptions.push(n),"undefined"!=typeof this.sink&&this.subscribeInput(n),function(){return e.unsubscribeInput(t)}}},end:function(){if(this.ended=!0,this.unsubAll(),"function"==typeof this.sink)return this.sink(st())},push:function(t){if(!this.ended&&"function"==typeof this.sink){var e=!this.pushing;if(!e)return this.pushQueue||(this.pushQueue=[]),void this.pushQueue.push(t);this.pushing=!0;try{return this.sink(at(t))}finally{if(e&&this.pushQueue){for(var n=0;n<this.pushQueue.length;){var t=this.pushQueue[n];this.sink(at(t)),n++}this.pushQueue=null}this.pushing=!1}}},error:function(t){if("function"==typeof this.sink)return this.sink(new f(t))}}),S.Bus=b;var xt=function(t,e){return H(function(n){for(var r=Z(e,[function(t,e){return n.apply(void
  0,t.concat([e]))}]),o=arguments.length,i=Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return B(new S.Desc(S,t,[n].concat(i)),S.combineAsArray(i).flatMap(r))})};S.fromCallback=xt("fromCallback",function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return S.fromBinder(function(e){return G(t,n)(e),E},function(t){return[t,st()]})}),S.fromNodeCallback=xt("fromNodeCallback",function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return S.fromBinder(function(e){return G(t,n)(e),E},function(t,e){return t?[new f(t),st()]:[e,st()]})}),S.combineTemplate=function(t){function e(t){return t[t.length-1]}function n(t,n,r){return e(t)[n]=r,r}function r(t,e){return function(r,o){n(r,t,o[e])}}function o(t,e){return function(r){n(r,t,e)}}function i(t){return j(t)?[]:{}}function a(t,e){return function(r){var o=i(e);n(r,t,o),r.push(o)}}function s(t){if(A(t))return!0;if(t&&(t.constructor==Object||t.constructor==Array))for(var e in 
 t)if(Object.prototype.hasOwnProperty.call(t,e)){var n=t[e];if(s(n))return!0}}function u(t,e){if(A(e))p.push(e),
-f.push(r(t,p.length-1));else if(s(e)){var n=function(t){t.pop()};f.push(a(t,e)),l(e),f.push(n)}else f.push(o(t,e))}function c(e){for(var n,r=i(t),o=[r],a=0;a<f.length;a++)(n=f[a])(o,e);return r}function l(t){W.each(t,u)}var f=[],p=[],d=s(t)?(l(t),S.combineAsArray(p).map(c)):S.constant(t);return B(new S.Desc(S,"combineTemplate",[t]),d)},S.Observable.prototype.mapEnd=function(){var t=q(arguments);return B(new S.Desc(this,"mapEnd",[t]),this.withHandler(function(e){return e.isEnd()?(this.push(at(t(e))),this.push(st()),S.noMore):this.push(e)}))},S.Observable.prototype.skipErrors=function(){return B(new S.Desc(this,"skipErrors",[]),this.withHandler(function(t){return t.isError()?S.more:this.push(t)}))},S.EventStream.prototype.takeUntil=function(t){var e={};return B(new S.Desc(this,"takeUntil",[t]),S.groupSimultaneous(this.mapEnd(e),t.skipErrors()).withHandler(function(t){if(t.hasValue()){var n=t.value(),r=n[0],o=n[1];if(o.length)return this.push(st());for(var i,a=S.more,s=0;s<r.length;s++
 )i=r[s],a=i===e?this.push(st()):this.push(at(i));return a}return this.push(t)}))},S.Property.prototype.takeUntil=function(t){var e=this.changes().takeUntil(t);return B(new S.Desc(this,"takeUntil",[t]),mt(this,e))},S.Observable.prototype.flatMapLatest=function(){var t=bt(arguments),e=this.toEventStream();return B(new S.Desc(this,"flatMapLatest",[t]),e.flatMap(function(n){return gt(t(n)).takeUntil(e)}))},S.Property.prototype.delayChanges=function(t,e){return B(t,mt(this,e(this.changes())))},S.EventStream.prototype.delayChanges=function(t,e){return B(t,e(this))},S.Observable.prototype.delay=function(t){return this.delayChanges(new S.Desc(this,"delay",[t]),function(e){return e.flatMap(function(e){return S.later(t,e)})})},S.Observable.prototype.debounce=function(t){return this.delayChanges(new S.Desc(this,"debounce",[t]),function(e){return e.flatMapLatest(function(e){return S.later(t,e)})})},S.Observable.prototype.debounceImmediate=function(t){return this.delayChanges(new S.Desc(this,"de
 bounceImmediate",[t]),function(e){return e.flatMapFirst(function(e){return S.once(e).concat(S.later(t).filter(!1))})})},S.Observable.prototype.decode=function(t){return B(new S.Desc(this,"decode",[t]),this.combine(S.combineTemplate(t),function(t,e){return e[t]}))},S.Observable.prototype.scan=function(t,e){var n,r=this;e=tt(e);var o=rt(t),i=!1,s=function(t){var s=!1,u=E,l=S.more,f=function(){if(!s)return o.forEach(function(e){if(s=i=!0,l=t(new c(function(){return e})),l===S.noMore)return u(),u=E})};return u=r.dispatcher.subscribe(function(n){if(n.hasValue()){if(i&&n.isInitial())return S.more;n.isInitial()||f(),s=i=!0;var r=o.getOrElse(void 0),u=e(r,n.value());return o=new a(u),t(n.apply(function(){return u}))}if(n.isEnd()&&(l=f()),l!==S.noMore)return t(n)}),$.whenDoneWith(n,f),u};return n=new m(new S.Desc(this,"scan",[t,e]),s)},S.Observable.prototype.diff=function(t,e){return e=tt(e),B(new S.Desc(this,"diff",[t,e]),this.scan([t],function(t,n){return[n,e(t[0],n)]}).filter(function(t){
 return 2===t.length}).map(function(t){return t[1]}))},S.Observable.prototype.doAction=function(){var t=q(arguments);return B(new S.Desc(this,"doAction",[t]),this.withHandler(function(e){return e.hasValue()&&t(e.value()),this.push(e)}))},S.Observable.prototype.doEnd=function(){var t=q(arguments);return B(new S.Desc(this,"doEnd",[t]),this.withHandler(function(e){return e.isEnd()&&t(),this.push(e)}))},S.Observable.prototype.doError=function(){var t=q(arguments);return B(new S.Desc(this,"doError",[t]),this.withHandler(function(e){return e.isError()&&t(e.error),this.push(e)}))},S.Observable.prototype.doLog=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return B(new S.Desc(this,"doLog",e),this.withHandler(function(t){return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log&&console.log.apply(console,e.concat([t.log()])),this.push(t)}))},S.Observable.prototype.endOnError=function(t){"undefined"!=typeof t&&null!==t||(t=!0);for(var e=a
 rguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return K(this,t,n,function(t){return B(new S.Desc(this,"endOnError",[]),this.withHandler(function(e){return e.isError()&&t(e.error)?(this.push(e),this.push(st())):this.push(e)}))})},p.prototype.errors=function(){return B(new S.Desc(this,"errors",[]),this.filter(function(){return!1}))},S.Observable.prototype.take=function(t){return t<=0?S.never():B(new S.Desc(this,"take",[t]),this.withHandler(function(e){return e.hasValue()?(t--,t>0?this.push(e):(0===t&&this.push(e),this.push(st()),S.noMore)):this.push(e)}))},S.Observable.prototype.first=function(){return B(new S.Desc(this,"first",[]),this.take(1))},S.Observable.prototype.mapError=function(){var t=q(arguments);return B(new S.Desc(this,"mapError",[t]),this.withHandler(function(e){return e.isError()?this.push(at(t(e.error))):this.push(e)}))},S.Observable.prototype.flatMapError=function(t){var e=new S.Desc(this,"flatMapError",[t]);return B(e,this.mapError(function(t){ret
 urn new f(t)}).flatMap(function(e){return e instanceof f?t(e.error):S.once(e)}))},S.EventStream.prototype.flatScan=function(t,e){var n=t;return this.flatMapConcat(function(t){return gt(e(n,t)).doAction(function(t){return n=t})}).toProperty(t)},S.EventStream.prototype.sampledBy=function(t,e){return B(new S.Desc(this,"sampledBy",[t,e]),this.toProperty().sampledBy(t,e))},S.Property.prototype.sampledBy=function(t,e){var r=!1;"undefined"!=typeof e&&null!==e?e=tt(e):(r=!0,e=function(t){return t.value()});var o=new n(this,(!1),r),i=new n(t,(!0),r),a=S.when([o,i],e),s=t._isProperty?a.toProperty():a;return B(new S.Desc(this,"sampledBy",[t,e]),s)},S.Property.prototype.sample=function(t){return B(new S.Desc(this,"sample",[t]),this.sampledBy(S.interval(t,{})))},S.Observable.prototype.map=function(t){if(t&&t._isProperty)return t.sampledBy(this,O);for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return K(this,t,n,function(t){return B(new S.Desc(this,"map",[t]),this.wi
 thHandler(function(e){return this.push(e.fmap(t))}))})},S.Observable.prototype.fold=function(t,e){return B(new S.Desc(this,"fold",[t,e]),this.scan(t,e).sampledBy(this.filter(!1).mapEnd().toProperty()))},p.prototype.reduce=p.prototype.fold;var St=[["addEventListener","removeEventListener"],["addListener","removeListener"],["on","off"],["bind","unbind"]],Ct=function(t){for(var e,n=0;n<St.length;n++){e=St[n];var r=[t[e[0]],t[e[1]]];if(r[0]&&r[1])return r}for(var o=0;o<St.length;o++){e=St[o];var i=t[e[0]];if(i)return[i,function(){}]}throw new f("No suitable event methods in "+t)};S.fromEventTarget=function(t,e,n){var r=Ct(t),o=r[0],i=r[1],a=new S.Desc(S,"fromEvent",[t,e]);return B(a,S.fromBinder(function(n){return o.call(t,e,n),function(){return i.call(t,e,n)}},n))},S.fromEvent=S.fromEventTarget,S.fromPoll=function(t,e){var n=new S.Desc(S,"fromPoll",[t,e]);return B(n,S.fromBinder(function(e){var n=S.scheduler.setInterval(e,t);return function(){return S.scheduler.clearInterval(n)}},e))},
 S.fromPromise=function(t,e){var n=arguments.length<=2||void 0===arguments[2]?g:arguments[2];return B(new S.Desc(S,"fromPromise",[t]),S.fromBinder(function(n){var r=t.then(n,function(t){return n(new f(t))});return r&&"function"==typeof r.done&&r.done(),e?function(){if("function"==typeof t.abort)return t.abort()}:function(){}},n))},S.Observable.prototype.groupBy=function(t){var e=arguments.length<=1||void 0===arguments[1]?S._.id:arguments[1],n={},r=this;return r.filter(function(e){return!n[t(e)]}).map(function(o){var i=t(o),a=r.filter(function(e){return t(e)===i}),s=S.once(o).concat(a),u=e(s,o).withHandler(function(t){if(this.push(t),t.isEnd())return delete n[i]});return n[i]=u,u})},S.fromArray=function(t){if(I(t),t.length){var e=0,n=new v(new S.Desc(S,"fromArray",[t]),function(r){function o(){if(u=!0,!s){for(s=!0;u;)if(u=!1,a!==S.noMore&&!i){var c=t[e++];a=r(ut(c)),a!==S.noMore&&(e===t.length?r(st()):$.afterTransaction(n,o))}return s=!1}}var i=!1,a=S.more,s=!1,u=!1;return o(),functio
 n(){return i=!0}});return n}return B(new S.Desc(S,"fromArray",t),S.never())},S.EventStream.prototype.holdWhen=function(t){var e=!1,n=[],r=this,o=!1;return new v(new S.Desc(this,"holdWhen",[t]),function(i){var a=new d,s=!1,u=function(t){if("function"==typeof t&&t(),a.empty()&&s)return i(st())};return a.add(function(r,a){return t.subscribeInternal(function(t){if(!t.hasValue())return t.isEnd()?u(a):i(t);if(e=t.value(),!e){var r=n;return n=[],function(){for(var t,e=[],n=0;n<r.length;n++)t=r[n],e.push(i(at(t)));return o&&(e.push(i(st())),a()),e}()}})}),a.add(function(t,a){return r.subscribeInternal(function(t){return e&&t.hasValue()?n.push(t.value()):t.isEnd()&&n.length?(o=!0,u(a)):i(t)})}),s=!0,u(),a.unsubscribe})},S.interval=function(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return B(new S.Desc(S,"interval",[t,e]),S.fromPoll(t,function(){return at(e)}))},S.$={},S.$.asEventStream=function(t,e,n){var r=this;return W.isFunction(e)&&(n=e,e=void 0),B(new S.Desc(thi
 s.selector||this,"asEventStream",[t]),S.fromBinder(function(n){return r.on(t,e,n),function(){return r.off(t,e,n)}},n))},"undefined"!=typeof jQuery&&jQuery&&(jQuery.fn.asEventStream=S.$.asEventStream),"undefined"!=typeof Zepto&&Zepto&&(Zepto.fn.asEventStream=S.$.asEventStream),S.Observable.prototype.last=function(){var t;return B(new S.Desc(this,"last",[]),this.withHandler(function(e){return e.isEnd()?(t&&this.push(t),this.push(st()),S.noMore):void(t=e)}))},S.Observable.prototype.log=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.subscribe(function(t){"undefined"!=typeof console&&"function"==typeof console.log&&console.log.apply(console,e.concat([t.log()]))}),this},S.EventStream.prototype.merge=function(t){T(t);var e=this;return B(new S.Desc(e,"merge",[t]),S.mergeAll(this,t))},S.mergeAll=function(){var t=dt(arguments);return t.length?new v(new S.Desc(S,"mergeAll",t),function(e){var n=0,r=function(r){return function(o){return r.dispatcher.su
 bscribe(function(r){if(r.isEnd())return n++,n===t.length?e(st()):S.more;var i=e(r);return i===S.noMore&&o(),i})}},o=W.map(r,t);return new S.CompositeUnsubscribe(o).unsubscribe}):S.never()},S.repeatedly=function(t,e){var n=0;return B(new S.Desc(S,"repeatedly",[t,e]),S.fromPoll(t,function(){return e[n++%e.length]}))},S.repeat=function(t){var e=0;return S.fromBinder(function(n){function r(t){return t.isEnd()?i?o():i=!0:a=n(t)}function o(){var o;for(i=!0;i&&a!==S.noMore;)o=t(e++),i=!1,o?s=o.subscribeInternal(r):n(st());return i=!0}var i=!1,a=S.more,s=function(){};return o(),function(){return s()}})},S.retry=function(t){if(!W.isFunction(t.source))throw new C("'source' option has to be a function");var e=t.source,n=t.retries||0,r=0,o=t.delay||function(){return 0},i=t.isRetryable||function(){return!0},a=!1,s=null;return B(new S.Desc(S,"retry",[t]),S.repeat(function(t){function u(){return e(t).endOnError().withHandler(function(t){return t.isError()?(s=t,i(s.error)&&(0===n||r<n)?void 0:(a=!0
 ,this.push(t))):(t.hasValue()&&(s=null,a=!0),this.push(t))})}if(a)return null;if(s){var c={error:s.error,retriesDone:r},l=S.later(o(c)).filter(!1);return r++,l.concat(S.once().flatMap(u))}return u()}))},S.sequentially=function(t,e){var n=0;return B(new S.Desc(S,"sequentially",[t,e]),S.fromPoll(t,function(){var t=e[n++];return n<e.length?t:n===e.length?[t,st()]:st()}))},S.Observable.prototype.skip=function(t){return B(new S.Desc(this,"skip",[t]),this.withHandler(function(e){return e.hasValue()&&t>0?(t--,S.more):this.push(e)}))},S.EventStream.prototype.skipUntil=function(t){var e=t.take(1).map(!0).toProperty(!1);return B(new S.Desc(this,"skipUntil",[t]),this.filter(e))},S.EventStream.prototype.skipWhile=function(t){k(t);for(var e=!1,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return K(this,t,r,function(t){return B(new S.Desc(this,"skipWhile",[t]),this.withHandler(function(n){return!e&&n.hasValue()&&t(n.value())?S.more:(n.hasValue()&&(e=!0),this.push(n))}))})}
 ,S.Observable.prototype.slidingWindow=function(t){var e=arguments.length<=1||void 0===arguments[1]?0:arguments[1];return B(new S.Desc(this,"slidingWindow",[t,e]),this.scan([],function(e,n){return e.concat([n]).slice(-t)}).filter(function(t){return t.length>=e}))};var Et=[],lt=function(t){if(Et.length&&!lt.running)try{lt.running=!0,Et.forEach(function(e){e(t)})}finally{delete lt.running}};S.spy=function(t){return Et.push(t)},S.Property.prototype.startWith=function(t){return B(new S.Desc(this,"startWith",[t]),this.scan(t,function(t,e){return e}))},S.EventStream.prototype.startWith=function(t){return B(new S.Desc(this,"startWith",[t]),S.once(t).concat(this))},S.Observable.prototype.takeWhile=function(t){k(t);for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return K(this,t,n,function(t){return B(new S.Desc(this,"takeWhile",[t]),this.withHandler(function(e){return e.filter(t)?this.push(e):(this.push(st()),S.noMore)}))})},S.Observable.prototype.throttle=functi
 on(t){return this.delayChanges(new S.Desc(this,"throttle",[t]),function(e){return e.bufferWithTime(t).map(function(t){return t[t.length-1]})})},p.prototype.firstToPromise=function(t){var e=this;if("function"!=typeof t){if("function"!=typeof Promise)throw new C("There isn't default Promise, use shim or parameter");t=Promise}return new t(function(t,n){return e.subscribe(function(e){return e.hasValue()&&t(e.value()),e.isError()&&n(e.error),S.noMore})})},p.prototype.toPromise=function(t){return this.last().firstToPromise(t)},S["try"]=function(t){return function(e){try{return S.once(t(e))}catch(n){return new S.Error(n)}}},S.update=function(t){function e(t){return function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(e){return t.apply(void 0,[e].concat(n))}}}for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(var i=r.length-1;i>0;)r[i]instanceof Function||(r[i]=W.always(r[i])),r[i]=e(r[i]),i-=2;return B(new S.Desc(S,"u
 pdate",[t].concat(r)),S.when.apply(S,r).scan(t,function(t,e){return e(t)}))},S.zipAsArray=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=dt(e);return B(new S.Desc(S,"zipAsArray",r),S.zipWith(r,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return e}))},S.zipWith=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=ht(e),o=r[0],i=r[1];return o=W.map(function(t){return t.toEventStream()},o),B(new S.Desc(S,"zipWith",[i].concat(o)),S.when(o,i))},S.Observable.prototype.zip=function(t,e){return B(new S.Desc(this,"zip",[t]),S.zipWith([this,t],e||Array))},w.prototype.subscribe=function(t,e,n){var r="function"==typeof t?{next:t,error:e,complete:n}:t,o={closed:!1,unsubscribe:function(){o.closed=!0,i()}},i=this.observable.subscribe(function(t){t.isError()?(r.error&&r.error(t.error),o.unsubscribe()):t.isEnd()?(o.closed=!0,r.complete&&r.complete()):r.next&&r.next(t.value())});return o},w.prototy
 pe[F("observable")]=function(){return this},S.Observable.prototype.toESObservable=function(){return new w(this)},S.Observable.prototype[F("observable")]=S.Observable.prototype.toESObservable,S.fromESObservable=function(t){var e;e=t[F("observable")]?t[F("observable")]():t;var n=new S.Desc(S,"fromESObservable",[e]);return new S.EventStream(n,function(t){var n=e.subscribe({error:function(){t(new S.Error),t(new S.End)},next:function(e){t(new S.Next(e,(!0)))},complete:function(){t(new S.End)}});return n.unsubscribe?function(){n.unsubscribe()}:n})},"undefined"!=typeof define&&null!==define&&null!=define.amd?(define([],function(){return S}),"undefined"!=typeof this&&null!==this&&(this.Bacon=S)):"undefined"!=typeof e&&null!==e&&null!=e.exports?(e.exports=S,S.Bacon=S):this.Bacon=S}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(t,e,n){!function(){"use strict";function t(){for(var e=[],r=0;r<argume
 nts.length;r++){var o=arguments[r];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=t.apply(null,o);a&&e.push(a)}else if("object"===i)for(var s in o)n.call(o,s)&&o[s]&&e.push(s)}}return e.join(" ")}var n={}.hasOwnProperty;"undefined"!=typeof e&&e.exports?(t["default"]=t,e.exports=t):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return t}):window.classNames=t}()},{}],3:[function(t,e,n){(function(r){!function(r,o){"object"==typeof n&&"undefined"!=typeof e?e.exports=o(t("prop-types"),t("preact"),t("preact-context")):"function"==typeof define&&define.amd?define(["prop-types","preact","preact-context"],o):r.preactCompat=o(r.PropTypes,r.preact,r.preactContext)}(this,function(t,e,n){"use strict";function o(){return null}function i(t){var e=t.nodeName,n=t.attributes;t.attributes={},e.defaultProps&&E(t.attributes,e.defaultProps),n&&E(t.attributes,n)}function a(t,e){var n,r,o;if(e){for
 (o in e)if(n=q.test(o))break;if(n){r=t.attributes={};for(o in e)e.hasOwnProperty(o)&&(r[q.test(o)?o.replace(/([A-Z0-9])/,"-$1").toLowerCase():o]=e[o])}}}function s(t,n,r){var o=n&&n._preactCompatRendered&&n._preactCompatRendered.base;o&&o.parentNode!==n&&(o=null),!o&&n&&(o=n.firstElementChild);for(var i=n.childNodes.length;i--;)n.childNodes[i]!==o&&n.removeChild(n.childNodes[i]);var a=e.render(t,n,o);return n&&(n._preactCompatRendered=a&&(a._component||{base:a})),"function"==typeof r&&r(),a&&a._component||a}function u(t,n,r,o){var i=e.h(K,{context:t.context},n),a=s(i,r),u=a._component||a.base;return o&&o.call(u,a),u}function c(t){u(this,t.vnode,t.container)}function l(t,n){return e.h(c,{vnode:t,container:n})}function f(t){var n=t._preactCompatRendered&&t._preactCompatRendered.base;return!(!n||n.parentNode!==t)&&(e.render(e.h(o),t,n),!0)}function p(t){return m.bind(null,t)}function d(t,e){for(var n=e||0;n<t.length;n++){var r=t[n];Array.isArray(r)?d(r):r&&"object"==typeof r&&!w(r)&&(r
 .props&&r.type||r.attributes&&r.nodeName||r.children)&&(t[n]=m(r.type||r.nodeName,r.props||r.attributes,r.children))}}function h(t){return"function"==typeof t&&!(t.prototype&&t.prototype.render)}function v(t){return k({displayName:t.displayName||t.name,render:function(){return t(this.props,this.context)}})}function y(t){var e=t[z];return e?e===!0?t:e:(e=v(t),Object.defineProperty(e,z,{configurable:!0,value:!0}),e.displayName=t.displayName,e.propTypes=t.propTypes,e.defaultProps=t.defaultProps,Object.defineProperty(t,z,{configurable:!0,value:e}),e)}function m(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return d(t,2),b(e.h.apply(void 0,t))}function b(t){t.preactCompatNormalized=!0,C(t),h(t.nodeName)&&(t.nodeName=y(t.nodeName));var e=t.attributes.ref,n=e&&typeof e;return!tt||"string"!==n&&"number"!==n||(t.attributes.ref=x(e,tt)),S(t),t}function g(t,n){for(var r=[],o=arguments.length-2;o-- >0;)r[o]=arguments[o+2];if(!w(t))return t;var i=t.attributes||t.props,a=e.h(t.nodeName
 ||t.type,E({},i),t.children||i&&i.children),s=[a,n];return r&&r.length?s.push(r):n&&n.children&&s.push(n.children),b(e.cloneElement.apply(void 0,s))}function w(t){return t&&(t instanceof Y||t.$$typeof===B)}function x(t,e){return e._refProxies[t]||(e._refProxies[t]=function(n){e&&e.refs&&(e.refs[t]=n,null===n&&(delete e._refProxies[t],e=null))})}function S(t){var e=t.nodeName,n=t.attributes;if(n&&"string"==typeof e){var r={};for(var o in n)r[o.toLowerCase()]=o;if(r.ondoubleclick&&(n.ondblclick=n[r.ondoubleclick],delete n[r.ondoubleclick]),r.onchange&&("textarea"===e||"input"===e.toLowerCase()&&!/^fil|che|rad/i.test(n.type))){var i=r.oninput||"oninput";n[i]||(n[i]=A([n[i],n[r.onchange]]),delete n[r.onchange])}}}function C(t){var e=t.attributes||(t.attributes={});it.enumerable="className"in e,e.className&&(e["class"]=e.className),Object.defineProperty(e,"className",it)}function E(t,e){for(var n=arguments,r=1,o=void 0;r<arguments.length;r++)if(o=n[r])for(var i in o)o.hasOwnProperty(i)&&
 (t[i]=o[i]);return t}function O(t,e){for(var n in t)if(!(n in e))return!0;for(var r in e)if(t[r]!==e[r])return!0;return!1}function _(t){return t&&(t.base||1===t.nodeType&&t)||null}function D(){}function k(t){function e(t,e){P(this),F.call(this,t,e,Z),I.call(this,t,e)}return t=E({constructor:e},t),t.mixins&&N(t,T(t.mixins)),t.statics&&E(e,t.statics),t.propTypes&&(e.propTypes=t.propTypes),t.defaultProps&&(e.defaultProps=t.defaultProps),t.getDefaultProps&&(e.defaultProps=t.getDefaultProps.call(e)),D.prototype=F.prototype,e.prototype=E(new D,t),e.displayName=t.displayName||"Component",e}function T(t){for(var e={},n=0;n<t.length;n++){var r=t[n];for(var o in r)r.hasOwnProperty(o)&&"function"==typeof r[o]&&(e[o]||(e[o]=[])).push(r[o])}return e}function N(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=A(e[n].concat(t[n]||et),"getDefaultProps"===n||"getInitialState"===n||"getChildContext"===n))}function P(t){for(var e in t){var n=t[e];"function"!=typeof n||n.__bound||H.hasOwnProperty(e)||((t
 [e]=n.bind(t)).__bound=!0)}}function j(t,e,n){if("string"==typeof e&&(e=t.constructor.prototype[e]),"function"==typeof e)return e.apply(t,n)}function A(t,e){return function(){for(var n,r=arguments,o=this,i=0;i<t.length;i++){var a=j(o,t[i],r);if(e&&null!=a){n||(n={});for(var s in a)a.hasOwnProperty(s)&&(n[s]=a[s])}else"undefined"!=typeof a&&(n=a)}return n}}function I(t,e){M.call(this,t,e),this.componentWillReceiveProps=A([M,this.componentWillReceiveProps||"componentWillReceiveProps"]),this.render=A([M,R,this.render||"render",L])}function M(e,n){if(e){var r=e.children;if(r&&Array.isArray(r)&&1===r.length&&("string"==typeof r[0]||"function"==typeof r[0]||r[0]instanceof Y)&&(e.children=r[0],e.children&&"object"==typeof e.children&&(e.children.length=1,e.children[0]=e.children)),Q){var o="function"==typeof this?this:this.constructor,i=this.propTypes||o.propTypes,a=this.displayName||o.name;i&&t.checkPropTypes(i,e,"prop",a)}}}function R(t){tt=this}function L(){tt===this&&(tt=null)}function
  F(t,n,r){e.Component.call(this,t,n),this.state=this.getInitialState?this.getInitialState():{},this.refs={},this._refProxies={},r!==Z&&I.call(this,t,n)}function W(t,e){F.call(this,t,e)}function U(t){t()}t=t&&t.hasOwnProperty("default")?t["default"]:t;var $="15.1.0",V="a abbr address area article aside audio b base bdi bdo big blockquote body br button canvas caption cite code col colgroup data datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 head header hgroup hr html i iframe img input ins kbd keygen label legend li link main map mark menu menuitem meta meter nav noscript object ol optgroup option output p param picture pre progress q rp rt ruby s samp script section select small source span strong style sub summary sup table tbody td textarea tfoot th thead time title tr track u ul var video wbr circle clipPath defs ellipse g image line linearGradient mask path pattern polygon polyline radialGradient rect stop svg text 
 tspan".split(" "),B="undefined"!=typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,z="undefined"!=typeof Symbol&&Symbol["for"]?Symbol["for"]("__preactCompatWrapper"):"__preactCompatWrapper",H={constructor:1,render:1,shouldComponentUpdate:1,componentWillReceiveProps:1,componentWillUpdate:1,componentDidUpdate:1,componentWillMount:1,componentDidMount:1,componentWillUnmount:1,componentDidUnmount:1},q=/^(?:accent|alignment|arabic|baseline|cap|clip|color|fill|flood|font|glyph|horiz|marker|overline|paint|stop|strikethrough|stroke|text|underline|unicode|units|v|vector|vert|word|writing|x)[A-Z]/,Z={},Q=!1;try{Q="production"!==r.env.NODE_ENV}catch(X){}var Y=e.h("a",null).constructor;Y.prototype.$$typeof=B,Y.prototype.preactCompatUpgraded=!1,Y.prototype.preactCompatNormalized=!1,Object.defineProperty(Y.prototype,"type",{get:function(){return this.nodeName},set:function(t){this.nodeName=t},configurable:!0}),Object.defineProperty(Y.prototype,"props",{get:function(){return this.
 attributes},set:function(t){this.attributes=t},configurable:!0});var J=e.options.event;e.options.event=function(t){return J&&(t=J(t)),t.persist=Object,t.nativeEvent=t,t};var G=e.options.vnode;e.options.vnode=function(t){if(!t.preactCompatUpgraded){t.preactCompatUpgraded=!0;var e=t.nodeName,n=t.attributes=null==t.attributes?{}:E({},t.attributes);"function"==typeof e?(e[z]===!0||e.prototype&&"isReactComponent"in e.prototype)&&(t.children&&""===String(t.children)&&(t.children=void 0),t.children&&(n.children=t.children),t.preactCompatNormalized||b(t),i(t)):(t.children&&""===String(t.children)&&(t.children=void 0),t.children&&(n.children=t.children),n.defaultValue&&(n.value||0===n.value||(n.value=n.defaultValue),delete n.defaultValue),a(t,n))}G&&G(t)};var K=function(){};K.prototype.getChildContext=function(){return this.props.context},K.prototype.render=function(t){return t.children[0]};for(var tt,et=[],nt={map:function(t,e,n){return null==t?null:(t=nt.toArray(t),n&&n!==t&&(e=e.bind(n)),
 t.map(e))},forEach:function(t,e,n){return null==t?null:(t=nt.toArray(t),n&&n!==t&&(e=e.bind(n)),void t.forEach(e))},count:function(t){return t&&t.length||0},only:function(t){if(t=nt.toArray(t),1!==t.length)throw new Error("Children.only() expects only one child.");return t[0]},toArray:function(t){return null==t?[]:et.concat(t)}},rt={},ot=V.length;ot--;)rt[V[ot]]=p(V[ot]);var it={configurable:!0,get:function(){return this["class"]},set:function(t){this["class"]=t}};E(F.prototype=new e.Component,{constructor:F,isReactComponent:{},replaceState:function(t,e){var n=this;this.setState(t,e);for(var r in n.state)r in t||delete n.state[r]},getDOMNode:function(){return this.base},isMounted:function(){return!!this.base}}),D.prototype=F.prototype,W.prototype=new D,W.prototype.isPureReactComponent=!0,W.prototype.shouldComponentUpdate=function(t,e){return O(this.props,t)||O(this.state,e)};var at={version:$,DOM:rt,PropTypes:t,Children:nt,render:s,hydrate:s,createClass:k,createContext:n.createConte
 xt,createPortal:l,createFactory:p,createElement:m,cloneElement:g,createRef:e.createRef,isValidElement:w,findDOMNode:_,unmountComponentAtNode:f,Component:F,PureComponent:W,unstable_renderSubtreeIntoContainer:u,unstable_batchedUpdates:U,__spread:E};return at})}).call(this,t("_process"))},{_process:6,preact:5,"preact-context":4,"prop-types":10}],4:[function(t,e,n){!function(r,o){"object"==typeof n&&"undefined"!=typeof e?o(n,t("preact")):"function"==typeof define&&define.amd?define(["exports","preact"],o):o((r=r||self).preactContext={},r.preact)}(this,function(t,e){"use strict";function n(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function r(t){var e=t.children;return{child:1===e.length?e[0]:null,children:e}}function o(t){return r(t).child||"render"in t&&t.render}function i(t,i){var a="_preactContextProvider-"+l++;return{Provider:function(t){function o(e){var n=t.call(this,e)||this;return n.t=function(t,e){var n=[],r
 =t,o=function(t){return 0|e(r,t)};return{register:function(t){n.push(t),t(r,o(r))},unregister:function(t){n=n.filter(function(e){return e!==t})},val:function(t){if(void 0===t||t==r)return r;var e=o(t);return r=t,n.forEach(function(n){return n(t,e)}),r}}}(e.value,i||c),n}return n(o,t),o.prototype.getChildContext=function(){var t;return(t={})[a]=this.t,t},o.prototype.componentDidUpdate=function(){this.t.val(this.props.value)},o.prototype.render=function(){var t=r(this.props),n=t.child,o=t.children;return n||e.h("span",null,o)},o}(e.Component),Consumer:function(e){function r(n,r){var o=e.call(this,n,r)||this;return o.i=function(t,e){var n=o.props.unstable_observedBits,r=void 0===n||null===n?u:n;0!=((r|=0)&e)&&o.setState({value:t})},o.state={value:o.u().val()||t},o}return n(r,e),r.prototype.componentDidMount=function(){this.u().register(this.i)},r.prototype.shouldComponentUpdate=function(t,e){return this.state.value!==e.value||o(this.props)!==o(t)},r.prototype.componentWillUnmount=funct
 ion(){this.u().unregister(this.i)},r.prototype.componentDidUpdate=function(t,e,n){var r=n[a];r!==this.context[a]&&((r||s).unregister(this.i),this.componentDidMount())},r.prototype.render=function(){var t="render"in this.props&&this.props.render,e=o(this.props);return t&&t!==e&&console.warn("Both children and a render function are defined. Children will be used"),"function"==typeof e?e(this.state.value):void console.warn("Consumer is expecting a function as one and only child but didn't find any")},r.prototype.u=function(){return this.context[a]||s},r}(e.Component)}}var a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},s={register:function(t){console.warn("Consumer used without a Provider")},unregister:function(t){},val:function(t){}},u=1073741823,c=function(){return u},l=0,f=i;t["default"]=i,t.createContext=f,Object.defineProperty(t,"__esModule",{value:!0
 })})},{preact:5}],5:[function(t,e,n){!function(t,r){"object"==typeof n&&"undefined"!=typeof e?r(n):"function"==typeof define&&define.amd?define(["exports"],r):r(t.preact={})}(this,function(t){"use strict";function e(t,e){var n=A,r=void 0,o=void 0,i=void 0,a=void 0;for(a=arguments.length;a-- >2;)j.push(arguments[a]);for(e&&null!=e.children&&(j.length||j.push(e.children),delete e.children);j.length;)if((o=j.pop())&&void 0!==o.pop)for(a=o.length;a--;)j.push(o[a]);else"boolean"==typeof o&&(o=null),(i="function"!=typeof t)&&(null==o?o="":"number"==typeof o?o=String(o):"string"!=typeof o&&(i=!1)),i&&r?n[n.length-1]+=o:n===A?n=[o]:n.push(o),r=i;var s=new N;return s.nodeName=t,s.children=n,s.attributes=null==e?void 0:e,s.key=null==e?void 0:e.key,void 0!==P.vnode&&P.vnode(s),s}function n(t,e){for(var n in e)t[n]=e[n];return t}function r(t,e){t&&("function"==typeof t?t(e):t.current=e)}function o(t,r){return e(t.nodeName,n(n({},t.attributes),r),arguments.length>2?[].slice.call(arguments,2):t.c
 hildren)}function i(t){!t._dirty&&(t._dirty=!0)&&1==$.push(t)&&(P.debounceRendering||I)(a)}function a(){for(var t=void 0;t=$.pop();)t._dirty&&E(t)}function s(t,e,n){return"string"==typeof e||"number"==typeof e?void 0!==t.splitText:"string"==typeof e.nodeName?!t._componentConstructor&&u(t,e.nodeName):n||t._componentConstructor===e.nodeName}function u(t,e){return t.normalizedNodeName===e||t.nodeName.toLowerCase()===e.toLowerCase()}function c(t){var e=n({},t.attributes);e.children=t.children;var r=t.nodeName.defaultProps;if(void 0!==r)for(var o in r)void 0===e[o]&&(e[o]=r[o]);return e}function l(t,e){var n=e?document.createElementNS("http://www.w3.org/2000/svg",t):document.createElement(t);return n.normalizedNodeName=t,n}function f(t){var e=t.parentNode;e&&e.removeChild(t)}function p(t,e,n,o,i){if("className"===e&&(e="class"),"key"===e);else if("ref"===e)r(n,null),r(o,t);else if("class"!==e||i)if("style"===e){if(o&&"string"!=typeof o&&"string"!=typeof n||(t.style.cssText=o||""),o&&"obj
 ect"==typeof o){if("string"!=typeof n)for(var a in n)a in o||(t.style[a]="");for(var s in o)t.style[s]="number"==typeof o[s]&&U.test(s)===!1?o[s]+"px":o[s]}}else if("dangerouslySetInnerHTML"===e)o&&(t.innerHTML=o.__html||"");else if("o"==e[0]&&"n"==e[1]){var u=e!==(e=e.replace(/Capture$/,""));e=e.toLowerCase().substring(2),o?n||t.addEventListener(e,d,u):t.removeEventListener(e,d,u),(t._listeners||(t._listeners={}))[e]=o}else if("list"!==e&&"type"!==e&&!i&&e in t){try{t[e]=null==o?"":o}catch(c){}null!=o&&o!==!1||"spellcheck"==e||t.removeAttribute(e)}else{var l=i&&e!==(e=e.replace(/^xlink:?/,""));null==o||o===!1?l?t.removeAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase()):t.removeAttribute(e):"function"!=typeof o&&(l?t.setAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase(),o):t.setAttribute(e,o))}else t.className=o||""}function d(t){return this._listeners[t.type](P.event&&P.event(t)||t)}function h(){for(var t=void 0;t=V.shift();)P.afterMount&&P.afterMount(t),t.componen
 tDidMount&&t.componentDidMount()}function v(t,e,n,r,o,i){B++||(z=null!=o&&void 0!==o.ownerSVGElement,

[... 11 lines stripped ...]


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org