cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblot...@apache.org
Subject svn commit: r1738205 [17/18] - in /cordova/site/public: ./ blog/ docs/de/3.1.0/cordova/contacts/ContactField/ docs/de/3.1.0/cordova/media/ docs/de/3.1.0/cordova/notification/ docs/de/6.x/ docs/de/dev/ docs/en/1.5.0/phonegap/contacts/ContactField/ docs/...
Date Fri, 08 Apr 2016 04:21:12 GMT
Modified: cordova/site/public/static/js/lib/toc.min.js
URL: http://svn.apache.org/viewvc/cordova/site/public/static/js/lib/toc.min.js?rev=1738205&r1=1738204&r2=1738205&view=diff
==============================================================================
--- cordova/site/public/static/js/lib/toc.min.js (original)
+++ cordova/site/public/static/js/lib/toc.min.js Fri Apr  8 04:21:10 2016
@@ -1,8 +1,8 @@
-/*!
- * toc - jQuery Table of Contents Plugin
- * v0.3.2
- * http://projects.jga.me/toc/
- * copyright Greg Allen 2014
- * MIT License
-*/
-!function(a){a.fn.smoothScroller=function(b){b=a.extend({},a.fn.smoothScroller.defaults,b);var c=a(this);return a(b.scrollEl).animate({scrollTop:c.offset().top-a(b.scrollEl).offset().top-b.offset},b.speed,b.ease,function(){var a=c.attr("id");a.length&&(history.pushState?history.pushState(null,null,"#"+a):document.location.hash=a),c.trigger("smoothScrollerComplete")}),this},a.fn.smoothScroller.defaults={speed:400,ease:"swing",scrollEl:"body,html",offset:0},a("body").on("click","[data-smoothscroller]",function(b){b.preventDefault();var c=a(this).attr("href");0===c.indexOf("#")&&a(c).smoothScroller()})}(jQuery),function(a){var b={};a.fn.toc=function(b){var c,d=this,e=a.extend({},jQuery.fn.toc.defaults,b),f=a(e.container),g=a(e.selectors,f),h=[],i=e.activeClass,j=function(b,c){if(e.smoothScrolling&&"function"==typeof e.smoothScrolling){b.preventDefault();var f=a(b.target).attr("href");e.smoothScrolling(f,e,c)}a("li",d).removeClass(i),a(b.target).parent().addClass(i)},k=function(){c&&cle
 arTimeout(c),c=setTimeout(function(){for(var b,c=a(window).scrollTop(),f=Number.MAX_VALUE,g=0,j=0,k=h.length;k>j;j++){var l=Math.abs(h[j]-c);f>l&&(g=j,f=l)}a("li",d).removeClass(i),b=a("li:eq("+g+")",d).addClass(i),e.onHighlight(b)},50)};return e.highlightOnScroll&&(a(window).bind("scroll",k),k()),this.each(function(){var b=a(this),c=a(e.listType);g.each(function(d,f){var g=a(f);h.push(g.offset().top-e.highlightOffset);var i=e.anchorName(d,f,e.prefix);if(f.id!==i){a("<span/>").attr("id",i).insertBefore(g)}var l=a("<a/>").text(e.headerText(d,f,g)).attr("href","#"+i).bind("click",function(c){a(window).unbind("scroll",k),j(c,function(){a(window).bind("scroll",k)}),b.trigger("selected",a(this).attr("href"))}),m=a("<li/>").addClass(e.itemClass(d,f,g,e.prefix)).append(l);c.append(m)}),b.html(c)})},jQuery.fn.toc.defaults={container:"body",listType:"<ul/>",selectors:"h1,h2,h3",smoothScrolling:function(b,c,d){a(b).smoothScroller({offset:c.scrollToOffset}).on("smoothScrollerComplete",function
 (){d()})},scrollToOffset:0,prefix:"toc",activeClass:"toc-active",onHighlight:function(){},highlightOnScroll:!0,highlightOffset:100,anchorName:function(c,d,e){if(d.id.length)return d.id;var f=a(d).text().replace(/[^a-z0-9]/gi," ").replace(/\s+/g,"-").toLowerCase();if(b[f]){for(var g=2;b[f+g];)g++;f=f+"-"+g}return b[f]=!0,e+"-"+f},headerText:function(a,b,c){return c.text()},itemClass:function(a,b,c,d){return d+"-"+c[0].tagName.toLowerCase()}}}(jQuery);
+/*!
+ * toc - jQuery Table of Contents Plugin
+ * v0.3.2
+ * http://projects.jga.me/toc/
+ * copyright Greg Allen 2014
+ * MIT License
+*/
+!function(a){a.fn.smoothScroller=function(b){b=a.extend({},a.fn.smoothScroller.defaults,b);var c=a(this);return a(b.scrollEl).animate({scrollTop:c.offset().top-a(b.scrollEl).offset().top-b.offset},b.speed,b.ease,function(){var a=c.attr("id");a.length&&(history.pushState?history.pushState(null,null,"#"+a):document.location.hash=a),c.trigger("smoothScrollerComplete")}),this},a.fn.smoothScroller.defaults={speed:400,ease:"swing",scrollEl:"body,html",offset:0},a("body").on("click","[data-smoothscroller]",function(b){b.preventDefault();var c=a(this).attr("href");0===c.indexOf("#")&&a(c).smoothScroller()})}(jQuery),function(a){var b={};a.fn.toc=function(b){var c,d=this,e=a.extend({},jQuery.fn.toc.defaults,b),f=a(e.container),g=a(e.selectors,f),h=[],i=e.activeClass,j=function(b,c){if(e.smoothScrolling&&"function"==typeof e.smoothScrolling){b.preventDefault();var f=a(b.target).attr("href");e.smoothScrolling(f,e,c)}a("li",d).removeClass(i),a(b.target).parent().addClass(i)},k=function(){c&&cle
 arTimeout(c),c=setTimeout(function(){for(var b,c=a(window).scrollTop(),f=Number.MAX_VALUE,g=0,j=0,k=h.length;k>j;j++){var l=Math.abs(h[j]-c);f>l&&(g=j,f=l)}a("li",d).removeClass(i),b=a("li:eq("+g+")",d).addClass(i),e.onHighlight(b)},50)};return e.highlightOnScroll&&(a(window).bind("scroll",k),k()),this.each(function(){var b=a(this),c=a(e.listType);g.each(function(d,f){var g=a(f);h.push(g.offset().top-e.highlightOffset);var i=e.anchorName(d,f,e.prefix);if(f.id!==i){a("<span/>").attr("id",i).insertBefore(g)}var l=a("<a/>").text(e.headerText(d,f,g)).attr("href","#"+i).bind("click",function(c){a(window).unbind("scroll",k),j(c,function(){a(window).bind("scroll",k)}),b.trigger("selected",a(this).attr("href"))}),m=a("<li/>").addClass(e.itemClass(d,f,g,e.prefix)).append(l);c.append(m)}),b.html(c)})},jQuery.fn.toc.defaults={container:"body",listType:"<ul/>",selectors:"h1,h2,h3",smoothScrolling:function(b,c,d){a(b).smoothScroller({offset:c.scrollToOffset}).on("smoothScrollerComplete",function
 (){d()})},scrollToOffset:0,prefix:"toc",activeClass:"toc-active",onHighlight:function(){},highlightOnScroll:!0,highlightOffset:100,anchorName:function(c,d,e){if(d.id.length)return d.id;var f=a(d).text().replace(/[^a-z0-9]/gi," ").replace(/\s+/g,"-").toLowerCase();if(b[f]){for(var g=2;b[f+g];)g++;f=f+"-"+g}return b[f]=!0,e+"-"+f},headerText:function(a,b,c){return c.text()},itemClass:function(a,b,c,d){return d+"-"+c[0].tagName.toLowerCase()}}}(jQuery);

Modified: cordova/site/public/static/js/plugins.js
URL: http://svn.apache.org/viewvc/cordova/site/public/static/js/plugins.js?rev=1738205&r1=1738204&r2=1738205&view=diff
==============================================================================
--- cordova/site/public/static/js/plugins.js (original)
+++ cordova/site/public/static/js/plugins.js Fri Apr  8 04:21:10 2016
@@ -1,8 +1,21 @@
-!function e(t,n,r){function o(a,s){if(!n[a]){if(!t[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:{}};t[a][0].call(l.exports,function(e){var n=t[a][1][e];return o(n?n:e)},l,l.exports,e,t,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(e,t,n){(function(e){(function(){function n(e,t){var n=arguments.length<=2||void 0===arguments[2]?!1:arguments[2];this.obs=e,this.sync=t,this.lazy=n,this.queue=[]}function r(){n.apply(this,arguments)}function o(e){n.call(this,e,!0)}function i(e,t,n){this.context=e,this.method=t,this.args=n}function a(e){this.value=e}function s(){this.id=++ne}function u(e,t){return this instanceof u?(s.call(this),void(!t&&U.isFunction(e)||(null!=e?e._isNext:void 0)?(this.valueF=e,this.valueInternal=void 0):(this.valueF=void 0,this.valueInternal=e))):new u(e,t
 )}function c(e,t){return this instanceof c?void u.call(this,e,t):new c(e,t)}function l(){return this instanceof l?void s.call(this):new l}function p(e){return this instanceof p?(this.error=e,void s.call(this)):new p(e)}function f(e){this.desc=e,this.id=++se,this.initialDesc=this.desc}function d(){var e=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];this.unsubscribe=U.bind(this.unsubscribe,this),this.unsubscribed=!1,this.subscriptions=[],this.starting=[];for(var t,n=0;n<e.length;n++)t=e[n],this.add(t)}function h(e,t){this._subscribe=e,this._handleEvent=t,this.subscribe=U.bind(this.subscribe,this),this.handleEvent=U.bind(this.handleEvent,this),this.pushing=!1,this.ended=!1,this.prevError=void 0,this.unsubSrc=void 0,this.subscriptions=[],this.queue=[]}function v(e,t,n){return this instanceof v?(U.isFunction(e)&&(n=t,t=e,e=i.empty),f.call(this,e),S(t),this.dispatcher=new h(t,n),void ue(this)):new v(e,t,n)}function m(e,t,n){h.call(this,t,n),this.property=e,this.subscribe=U.bi
 nd(this.subscribe,this),this.current=ee,this.currentValueRootId=void 0,this.propertyEnded=!1}function y(e,t,n){f.call(this,e),S(t),this.dispatcher=new m(this,t,n),ue(this)}function g(){return this instanceof g?(this.unsubAll=U.bind(this.unsubAll,this),this.subscribeAll=U.bind(this.subscribeAll,this),this.guardedSink=U.bind(this.guardedSink,this),this.sink=void 0,this.subscriptions=[],this.ended=!1,void v.call(this,new C.Desc(C,"Bus",[]),this.subscribeAll)):new g}function b(e){return[e,ie()]}var E=Array.prototype.slice,C={toString:function(){return"Bacon"}};C.version="0.7.84";var w=("undefined"!=typeof e&&null!==e?e:this).Error,R=function(){},x=function(e,t){return e},M=function(e){return e.slice(0)},D=function(e,t){if(!t)throw new w(e)},O=function(e){if((null!=e?e._isObservable:void 0)&&!(null!=e?e._isProperty:void 0))throw new w("Observable is not a Property : "+e)},_=function(e){if(!(null!=e?e._isEventStream:void 0))throw new w("not an EventStream : "+e)},I=function(e){if(!(null!=
 e?e._isObservable:void 0))throw new w("not an Observable : "+e)},S=function(e){return D("not a function : "+e,U.isFunction(e))},P=function(e){return e instanceof Array},T=function(e){return e&&e._isObservable},N=function(e){if(!P(e))throw new w("not an array : "+e)},k=function(e){return D("no arguments supported",0===e.length)},A=function(e){for(var t=arguments.length,n=1;t>1?t>n:n>t;t>1?n++:n--)for(var r in arguments[n])e[r]=arguments[n][r];return e},L=function(e,t){var n={}.hasOwnProperty,r=function(){};r.prototype=t.prototype,e.prototype=new r;for(var o in t)n.call(t,o)&&(e[o]=t[o]);return e},U={indexOf:function(){return Array.prototype.indexOf?function(e,t){return e.indexOf(t)}:function(e,t){for(var n,r=0;r<e.length;r++)if(n=e[r],t===n)return r;return-1}}(),indexWhere:function(e,t){for(var n,r=0;r<e.length;r++)if(n=e[r],t(n))return r;return-1},head:function(e){return e[0]},always:function(e){return function(){return e}},negate:function(e){return function(t){return!e(t)}},empty:f
 unction(e){return 0===e.length},tail:function(e){return e.slice(1,e.length)},filter:function(e,t){for(var n,r=[],o=0;o<t.length;o++)n=t[o],e(n)&&r.push(n);return r},map:function(e,t){return function(){for(var n,r=[],o=0;o<t.length;o++)n=t[o],r.push(e(n));return r}()},each:function(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=e[n];t(n,r)}},toArray:function(e){return P(e)?e:[e]},contains:function(e,t){return-1!==U.indexOf(e,t)},id:function(e){return e},last:function(e){return e[e.length-1]},all:function(e){for(var t,n=arguments.length<=1||void 0===arguments[1]?U.id:arguments[1],r=0;r<e.length;r++)if(t=e[r],!n(t))return!1;return!0},any:function(e){for(var t,n=arguments.length<=1||void 0===arguments[1]?U.id:arguments[1],r=0;r<e.length;r++)if(t=e[r],n(t))return!0;return!1},without:function(e,t){return U.filter(function(t){return t!==e},t)},remove:function(e,t){var n=U.indexOf(t,e);return n>=0?t.splice(n,1):void 0},fold:function(e,t,n){for(var r,o=0;o<e.length;o
 ++)r=e[o],t=n(t,r);return t},flatMap:function(e,t){return U.fold(t,[],function(t,n){return t.concat(e(n))})},cached:function(e){var t=ee;return function(){return("undefined"!=typeof t&&null!==t?t._isNone:void 0)&&(t=e(),e=void 0),t}},bind:function(e,t){return function(){return e.apply(t,arguments)}},isFunction:function(e){return"function"==typeof e},toString:function(e){var t,n,r,o={}.hasOwnProperty;try{return F++,null==e?"undefined":U.isFunction(e)?"function":P(e)?F>5?"[..]":"["+U.map(U.toString,e).toString()+"]":null!=(null!=e?e.toString:void 0)&&e.toString!==Object.prototype.toString?e.toString():"object"==typeof e?F>5?"{..}":(t=function(){var t=[];for(n in e)o.call(e,n)&&(r=function(){var t;try{return e[n]}catch(t){return t}}(),t.push(U.toString(n)+":"+U.toString(r)));return t}(),"{"+t+"}"):e}finally{F--}}},F=0;C._=U;var j=C.UpdateBarrier=function(){var e,t=[],n={},r=[],o=0,i={},a=function(t){return e?r.push(t):t()},s=function(r,o){if(e){var i=n[r.id];return"undefined"==typeof i
 ||null===i?(i=n[r.id]=[o],t.push(r)):i.push(o)}return o()},u=function(){for(;t.length>0;)c(0,!0);i={}},c=function(e,r){var o=t[e],i=o.id,a=n[i];t.splice(e,1),delete n[i],r&&t.length>0&&l(o);for(var s,u=0;u<a.length;u++)(s=a[u])()},l=function(e){if(!i[e.id]){for(var r,o=e.internalDeps(),a=0;a<o.length;a++)if(r=o[a],l(r),n[r.id]){var s=U.indexOf(t,r);c(s,!1)}i[e.id]=!0}},p=function(t,n,i,a){if(e)return i.apply(n,a);e=t;try{var s=i.apply(n,a);u()}finally{for(e=void 0;o<r.length;){var c=r[o];o++,c()}o=0,r=[]}return s},f=function(){return e?e.id:void 0},d=function(e,t){var n=!1,r=!1,o=function(){return r=!0},i=function(){return n=!0,o()};return o=e.dispatcher.subscribe(function(e){return a(function(){if(!n){var r=t(e);if(r===C.noMore)return i()}})}),r&&o(),i},h=function(){return t.length>0};return{whenDoneWith:s,hasWaiters:h,inTransaction:p,currentEventId:f,wrappedSubscribe:d,afterTransaction:a}}();A(n.prototype,{_isSource:!0,subscribe:function(e){return this.obs.dispatcher.subscribe(e)}
 ,toString:function(){return this.obs.toString()},markEnded:function(){return this.ended=!0,!0},consume:function(){return this.lazy?{value:U.always(this.queue[0])}:this.queue[0]},push:function(e){return this.queue=[e],[e]},mayHave:function(){return!0},hasAtLeast:function(){return this.queue.length},flatten:!0}),L(r,n),A(r.prototype,{consume:function(){return this.queue.shift()},push:function(e){return this.queue.push(e)},mayHave:function(e){return!this.ended||this.queue.length>=e},hasAtLeast:function(e){return this.queue.length>=e},flatten:!1}),L(o,n),A(o.prototype,{consume:function(){var e=this.queue;return this.queue=[],{value:function(){return e}}},push:function(e){return this.queue.push(e.value())},hasAtLeast:function(){return!0}}),n.isTrigger=function(e){return(null!=e?e._isSource:void 0)?e.sync:null!=e?e._isEventStream:void 0},n.fromObservable=function(e){return(null!=e?e._isSource:void 0)?e:(null!=e?e._isProperty:void 0)?new n(e,!1):new r(e,!0)},A(i.prototype,{_isDesc:!0,deps:
 function(){return this.cached||(this.cached=H([this.context].concat(this.args))),this.cached},toString:function(){return U.toString(this.context)+"."+U.toString(this.method)+"("+U.map(U.toString,this.args)+")"}});var B=function(e,t){var n=e||t;if(n&&n._isDesc)return e||t;for(var r=arguments.length,o=Array(r>2?r-2:0),a=2;r>a;a++)o[a-2]=arguments[a];return new i(e,t,o)},V=function(e,t){return t.desc=e,t},H=function(e){return P(e)?U.flatMap(H,e):T(e)?[e]:("undefined"!=typeof e&&null!==e?e._isSource:void 0)?[e.obs]:[]};C.Desc=i,C.Desc.empty=new C.Desc("","",[]);var W=function(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;n>o;o++)r[o-1]=arguments[o];if("object"==typeof t&&r.length){var i=t,a=r[0];t=function(){return i[a].apply(i,arguments)},r=r.slice(1)}return e.apply(void 0,[t].concat(r))}},z=function(e){return e=Array.prototype.slice.call(e),X.apply(void 0,e)},q=function(e,t){return function(){for(var n=arguments.length,r=Array(n),o=0;n>o;o++)r[o]=arguments[o]
 ;return e.apply(void 0,t.concat(r))}},K=function(e){return function(t){return function(n){if("undefined"!=typeof n&&null!==n){var r=n[t];return U.isFunction(r)?r.apply(n,e):r}}}},Q=function(e,t){var n=e.slice(1).split("."),r=U.map(K(t),n);return function(e){for(var t,n=0;n<r.length;n++)t=r[n],e=t(e);return e}},Y=function(e){return"string"==typeof e&&e.length>1&&"."===e.charAt(0)},X=W(function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;t>r;r++)n[r-1]=arguments[r];return U.isFunction(e)?n.length?q(e,n):e:Y(e)?Q(e,n):U.always(e)}),G=function(e,t){return X.apply(void 0,[e].concat(t))},Z=function(e,t,n,r){if("undefined"!=typeof t&&null!==t?t._isProperty:void 0){var o=t.sampledBy(e,function(e,t){return[e,t]});return r.call(o,function(e){var t=e[0];e[1];return t}).map(function(e){var t=(e[0],e[1]);return t})}return t=G(t,n),r.call(e,t)},$=function(e){if(U.isFunction(e))return e;if(Y(e)){var t=J(e);return function(e,n){return e[t](n)}}throw new w("not a function or a field key: "+
 e)},J=function(e){return e.slice(1)};A(a.prototype,{_isSome:!0,getOrElse:function(){return this.value},get:function(){return this.value},filter:function(e){return e(this.value)?new a(this.value):ee},map:function(e){return new a(e(this.value))},forEach:function(e){return e(this.value)},isDefined:!0,toArray:function(){return[this.value]},inspect:function(){return"Some("+this.value+")"},toString:function(){return this.inspect()}});var ee={_isNone:!0,getOrElse:function(e){return e},filter:function(){return ee},map:function(){return ee},forEach:function(){},isDefined:!1,toArray:function(){return[]},inspect:function(){return"None"},toString:function(){return this.inspect()}},te=function(e){return("undefined"!=typeof e&&null!==e?e._isSome:void 0)||("undefined"!=typeof e&&null!==e?e._isNone:void 0)?e:new a(e)};C.noMore="<no-more>",C.more="<more>";var ne=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.prototype.hasValue=function(){return!0},u.prototype.value=function(){var e;return(null!=(e=this.valueF)?e._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(e){var t,n;return this.valueInternal?(n=this.valueInternal,this.apply(function(){return e(n)})):(t=this,this.apply(function(){return e(t.value())}))},u.prototype.apply=function(e){return new u(e)},u.prototype.filter=function(e){return e(this.value())},u.prototype.toString=function(){return U.toString(this.value())},u.prototype.log=function(){return this.value()},u.prototy
 pe._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(e){return new c(e)},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(p,s),p.prototype.isError=function(){return!0},p.prototype.fmap=function(){return this},p.prototype.apply=function(){return this},p.prototype.toString=function(){return"<error> "+U.toString(this.error)},C.Event=s,C.Initial=c,C.Next=u,C.End=l,C.Error=p;var re=function(e){return new c(e,!0)},oe=function(e){return new u(e,!0)},ie=function(){return new l},ae=function(e){return e&&e._isEvent?e:oe(e)},se=0,ue=function(){};A(f.prototype,{_isObservable:!0,subscribe:function(e){return j.wrappedSubscribe(this,e)},subscribeInternal:function(e){return this.dispatcher.subscribe(e)},onValue:function(
 ){var e=z(arguments);return this.subscribe(function(t){return t.hasValue()?e(t.value()):void 0})},onValues:function(e){return this.onValue(function(t){return e.apply(void 0,t)})},onError:function(){var e=z(arguments);return this.subscribe(function(t){return t.isError()?e(t.error):void 0})},onEnd:function(){var e=z(arguments);return this.subscribe(function(t){return t.isEnd()?e():void 0})},name:function(e){return this._name=e,this},withDescription:function(){return this.desc=B.apply(void 0,arguments),this},toString:function(){return this._name?this._name:this.desc.toString()},internalDeps:function(){return this.initialDesc.deps()}}),f.prototype.assign=f.prototype.onValue,f.prototype.forEach=f.prototype.onValue,f.prototype.inspect=f.prototype.toString,C.Observable=f,A(d.prototype,{add:function(e){var t=this;if(!this.unsubscribed){var n=!1,r=R;this.starting.push(e);var o=function(){return t.unsubscribed?void 0:(n=!0,t.remove(r),U.remove(e,t.starting))};return r=e(this.unsubscribe,o),th
 is.unsubscribed||n?r():this.subscriptions.push(r),U.remove(e,this.starting),r}},remove:function(e){return this.unsubscribed?void 0:void 0!==U.remove(e,this.subscriptions)?e():void 0},unsubscribe:function(){if(!this.unsubscribed){this.unsubscribed=!0;for(var e=this.subscriptions,t=0;t<e.length;t++)e[t]();return this.subscriptions=[],this.starting=[],[]}},count:function(){return this.unsubscribed?0:this.subscriptions.length+this.starting.length},empty:function(){return 0===this.count()}}),C.CompositeUnsubscribe=d,h.prototype.hasSubscribers=function(){return this.subscriptions.length>0},h.prototype.removeSub=function(e){return this.subscriptions=U.without(e,this.subscriptions),this.subscriptions},h.prototype.push=function(e){return e.isEnd()&&(this.ended=!0),j.inTransaction(e,this,this.pushIt,[e])},h.prototype.pushToSubscriptions=function(e){try{for(var t=this.subscriptions,n=t.length,r=0;n>r;r++){var o=t[r],i=o.sink(e);(i===C.noMore||e.isEnd())&&this.removeSub(o)}return!0}catch(a){thr
 ow this.pushing=!1,this.queue=[],a}},h.prototype.pushIt=function(e){if(this.pushing)return this.queue.push(e),C.more;if(e!==this.prevError){for(e.isError()&&(this.prevError=e),this.pushing=!0,this.pushToSubscriptions(e),this.pushing=!1;this.queue.length;)e=this.queue.shift(),this.push(e);return this.hasSubscribers()?C.more:(this.unsubscribeFromSource(),C.noMore)}},h.prototype.handleEvent=function(e){return this._handleEvent?this._handleEvent(e):this.push(e)},h.prototype.unsubscribeFromSource=function(){this.unsubSrc&&this.unsubSrc(),this.unsubSrc=void 0},h.prototype.subscribe=function(e){var t;return this.ended?(e(ie()),R):(S(e),t={sink:e},this.subscriptions.push(t),1===this.subscriptions.length&&(this.unsubSrc=this._subscribe(this.handleEvent),S(this.unsubSrc)),function(e){return function(){return e.removeSub(t),e.hasSubscribers()?void 0:e.unsubscribeFromSource()}}(this))},C.Dispatcher=h,L(v,f),A(v.prototype,{_isEventStream:!0,toProperty:function(e){var t=0===arguments.length?ee:te
 (function(){return e}),n=this.dispatcher,r=new C.Desc(this,"toProperty",[e]);return new y(r,function(e){var r=!1,o=!1,i=R,s=C.more,u=function(){return r?void 0:t.forEach(function(t){return r=!0,s=e(new c(t)),s===C.noMore?(i(),i=R,R):void 0})};return i=n.subscribe(function(n){return n.hasValue()?n.isInitial()&&!o?(t=new a(function(){return n.value()}),C.more):(n.isInitial()||u(),r=!0,t=new a(n),e(n)):(n.isEnd()&&(s=u()),s!==C.noMore?e(n):void 0)}),o=!0,u(),i})},toEventStream:function(){return this},withHandler:function(e){return new v(new C.Desc(this,"withHandler",[e]),this.dispatcher.subscribe,e)}}),C.EventStream=v,C.never=function(){return new v(B(C,"never"),function(e){return e(ie()),R})},C.when=function(){if(0===arguments.length)return C.never();var e=arguments.length,t="when: expecting arguments in the form (Observable+,function)+";D(t,e%2===0);for(var r=[],o=[],i=0,a=[];e>i;){a[i]=arguments[i],a[i+1]=arguments[i+1];for(var s,u=U.toArray(arguments[i]),c=le(arguments[i+1]),l={f:c
 ,ixs:[]},p=!1,f=0;f<u.length;f++){s=u[f];var d=U.indexOf(r,s);p||(p=n.isTrigger(s)),0>d&&(r.push(s),d=r.length-1);for(var h,m=0;m<l.ixs.length;m++)h=l.ixs[m],h.index===d&&h.count++;l.ixs.push({index:d,count:1})}D("At least one EventStream required",p||!u.length),u.length>0&&o.push(l),i+=2}if(!r.length)return C.never();r=U.map(n.fromObservable,r);var y=U.any(r,function(e){return e.flatten})&&ce(U.map(function(e){return e.obs},r)),g=new C.Desc(C,"when",a),b=new v(g,function(e){var t=[],n=!1,i=function(e){for(var t,n=0;n<e.ixs.length;n++)if(t=e.ixs[n],!r[t.index].hasAtLeast(t.count))return!1;return!0},a=function(e){return!e.sync||e.ended},s=function(e){for(var t,n=0;n<e.ixs.length;n++)if(t=e.ixs[n],!r[t.index].mayHave(t.count))return!0},u=function(e){return!e.source.flatten},c=function(c){return function(l){var p=function(){return j.whenDoneWith(b,d)},f=function(){if(!(t.length>0))return C.more;for(var n,a=C.more,s=t.pop(),c=0;c<o.length;c++)if(n=o[c],i(n)){var l=function(){for(var e,t
 =[],o=0;o<n.ixs.length;o++)e=n.ixs[o],t.push(r[e.index].consume());return t}();return a=e(s.e.apply(function(){var e,t=function(){for(var e,t=[],n=0;n<l.length;n++)e=l[n],t.push(e.value());return t}();return(e=n).f.apply(e,t)})),t.length&&(t=U.filter(u,t)),a===C.noMore?a:f()}},d=function(){var t=f();return n&&(U.all(r,a)||U.all(o,s))&&(t=C.noMore,e(ie())),t===C.noMore&&l(),t};return c.subscribe(function(r){if(r.isEnd())n=!0,c.markEnded(),p();else if(r.isError())var o=e(r);else c.push(r),c.sync&&(t.push({source:c,e:r}),y||j.hasWaiters()?p():d());return o===C.noMore&&l(),o||C.more})}};return new C.CompositeUnsubscribe(function(){for(var e,t=[],n=0;n<r.length;n++)e=r[n],t.push(c(e));return t}()).unsubscribe});return b};var ce=function(e){var t=arguments.length<=1||void 0===arguments[1]?[]:arguments[1],n=function(e){if(U.contains(t,e))return!0;var r=e.internalDeps();return r.length?(t.push(e),U.any(r,n)):(t.push(e),!1)};return U.any(e,n)},le=function(e){return U.isFunction(e)?e:U.always
 (e)};C.groupSimultaneous=function(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];1===t.length&&P(t[0])&&(t=t[0]);var r=function(){for(var e,n=[],r=0;r<t.length;r++)e=t[r],n.push(new o(e));return n}();return V(new C.Desc(C,"groupSimultaneous",t),C.when(r,function(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];return t}))},L(m,h),A(m.prototype,{push:function(e){return e.isEnd()&&(this.propertyEnded=!0),e.hasValue()&&(this.current=new a(e),this.currentValueRootId=j.currentEventId()),h.prototype.push.call(this,e)},maybeSubSource:function(e,t){return t===C.noMore?R:this.propertyEnded?(e(ie()),R):h.prototype.subscribe.call(this,e)},subscribe:function(e){var t=this,n=C.more;if(this.current.isDefined&&(this.hasSubscribers()||this.propertyEnded)){var r=j.currentEventId(),o=this.currentValueRootId;return!this.propertyEnded&&o&&r&&r!==o?(j.whenDoneWith(this.property,function(){return t.currentValueRootId===o?e(re(t.current.get().value())):void 0}),
 this.maybeSubSource(e,n)):(j.inTransaction(void 0,this,function(){return n=e(re(this.current.get().value()))},[]),this.maybeSubSource(e,n))}return this.maybeSubSource(e,n)}}),L(y,f),A(y.prototype,{_isProperty:!0,changes:function(){var e=this;return new v(new C.Desc(this,"changes",[]),function(t){return e.dispatcher.subscribe(function(e){return e.isInitial()?void 0:t(e)})})},withHandler:function(e){return new y(new C.Desc(this,"withHandler",[e]),this.dispatcher.subscribe,e)},toProperty:function(){return k(arguments),this},toEventStream:function(){var e=this;return new v(new C.Desc(this,"toEventStream",[]),function(t){return e.dispatcher.subscribe(function(e){return e.isInitial()&&(e=e.toNext()),t(e)})})}}),C.Property=y,C.constant=function(e){return new y(new C.Desc(C,"constant",[e]),function(t){return t(re(e)),t(ie()),R})},C.fromBinder=function(e){var t=arguments.length<=1||void 0===arguments[1]?U.id:arguments[1],n=new C.Desc(C,"fromBinder",[e,t]);return new v(n,function(n){var r=!1,
 o=!1,i=function(){return r?void 0:"undefined"!=typeof a&&null!==a?(a(),r=!0):o=!0},a=e(function(){for(var e,r=arguments.length,o=Array(r),a=0;r>a;a++)o[a]=arguments[a];var s=t.apply(this,o);P(s)&&(null!=(e=U.last(s))?e._isEvent:void 0)||(s=[s]);for(var u,c=C.more,l=0;l<s.length;l++)if(u=s[l],c=n(u=ae(u)),c===C.noMore||u.isEnd())return i(),c;return c});return o&&i(),i})},C.Observable.prototype.map=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;t>r;r++)n[r-1]=arguments[r];return Z(this,e,n,function(e){return V(new C.Desc(this,"map",[e]),this.withHandler(function(t){return this.push(t.fmap(e))}))})};var pe=function(e){return P(e[0])?e[0]:Array.prototype.slice.call(e)},fe=function(e){return U.isFunction(e[0])?[pe(Array.prototype.slice.call(e,1)),e[0]]:[pe(Array.prototype.slice.call(e,0,e.length-1)),U.last(e)]};C.combineAsArray=function(){for(var e,t=pe(arguments),r=0;r<t.length;r++)e=t[r],T(e)||(t[r]=C.constant(e));if(t.length){var o=function(){for(var e,r=[],o=0;o<t.leng
 th;o++)e=t[o],r.push(new n(e,!0));return r}();return V(new C.Desc(C,"combineAsArray",t),C.when(o,function(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];return t}).toProperty())}return C.constant([])},C.onValues=function(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];return C.combineAsArray(t.slice(0,t.length-1)).onValues(t[t.length-1])},C.combineWith=function(){var e=fe(arguments),t=e[0],n=e[1],r=new C.Desc(C,"combineWith",[n].concat(t));return V(r,C.combineAsArray(t).map(function(e){return n.apply(void 0,e)}))},C.Observable.prototype.combine=function(e,t){var n=$(t),r=new C.Desc(this,"combine",[e,t]);return V(r,C.combineAsArray(this,e).map(function(e){return n(e[0],e[1])}))},C.Observable.prototype.withStateMachine=function(e,t){var n=e,r=new C.Desc(this,"withStateMachine",[e,t]);return V(r,this.withHandler(function(e){var r=t(n,e),o=r[0],i=r[1];n=o;for(var a,s=C.more,u=0;u<i.length;u++)if(a=i[u],s=this.push(a),s===C.noMore)return s;ret
 urn s}))};var de=function(e,t){return e===t},he=function(e){return"undefined"!=typeof e&&null!==e?e._isNone:!1};C.Observable.prototype.skipDuplicates=function(){var e=arguments.length<=0||void 0===arguments[0]?de:arguments[0],t=new C.Desc(this,"skipDuplicates",[]);return V(t,this.withStateMachine(ee,function(t,n){return n.hasValue()?n.isInitial()||he(t)||!e(t.get(),n.value())?[new a(n.value()),[n]]:[t,[]]:[t,[n]]}))},C.Observable.prototype.awaiting=function(e){var t=new C.Desc(this,"awaiting",[e]);return V(t,C.groupSimultaneous(this,e).map(function(e){return 0===e[1].length}).toProperty(!1).skipDuplicates())},C.Observable.prototype.not=function(){return V(new C.Desc(this,"not",[]),this.map(function(e){return!e}))},C.Property.prototype.and=function(e){return V(new C.Desc(this,"and",[e]),this.combine(e,function(e,t){return e&&t}))},C.Property.prototype.or=function(e){return V(new C.Desc(this,"or",[e]),this.combine(e,function(e,t){return e||t}))},C.scheduler={setTimeout:function(e,t){r
 eturn setTimeout(e,t)},setInterval:function(e,t){return setInterval(e,t)},clearInterval:function(e){return clearInterval(e)},clearTimeout:function(e){return clearTimeout(e)},now:function(){return(new Date).getTime()}},C.EventStream.prototype.bufferWithTime=function(e){return V(new C.Desc(this,"bufferWithTime",[e]),this.bufferWithTimeOrCount(e,Number.MAX_VALUE))},C.EventStream.prototype.bufferWithCount=function(e){return V(new C.Desc(this,"bufferWithCount",[e]),this.bufferWithTimeOrCount(void 0,e))},C.EventStream.prototype.bufferWithTimeOrCount=function(e,t){var n=function(n){return n.values.length===t?n.flush():void 0!==e?n.schedule():void 0},r=new C.Desc(this,"bufferWithTimeOrCount",[e,t]);return V(r,this.buffer(e,n,n))},C.EventStream.prototype.buffer=function(e){var t=arguments.length<=1||void 0===arguments[1]?R:arguments[1],n=arguments.length<=2||void 0===arguments[2]?R:arguments[2],r={scheduled:null,end:void 0,values:[],flush:function(){if(this.scheduled&&(C.scheduler.clearTimeo
 ut(this.scheduled),this.scheduled=null),this.values.length>0){var e=this.values;this.values=[];var t=this.push(oe(e));if(null!=this.end)return this.push(this.end);if(t!==C.noMore)return n(this)}else if(null!=this.end)return this.push(this.end)},schedule:function(){var t=this;return this.scheduled?void 0:this.scheduled=e(function(){return t.flush()})}},o=C.more;if(!U.isFunction(e)){var i=e;e=function(e){return C.scheduler.setTimeout(e,i)}}return V(new C.Desc(this,"buffer",[]),this.withHandler(function(e){var n=this;return r.push=function(e){return n.push(e)},e.isError()?o=this.push(e):e.isEnd()?(r.end=e,r.scheduled||r.flush()):(r.values.push(e.value()),t(r)),o}))},C.Observable.prototype.filter=function(e){O(e);for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;t>r;r++)n[r-1]=arguments[r];return Z(this,e,n,function(e){return V(new C.Desc(this,"filter",[e]),this.withHandler(function(t){return t.filter(e)?this.push(t):C.more}))})},C.once=function(e){return new v(new i(C,"once",[e]),funct
 ion(t){return t(ae(e)),t(ie()),R})},C.EventStream.prototype.concat=function(e){var t=this;return new v(new C.Desc(t,"concat",[e]),function(n){var r=R,o=t.dispatcher.subscribe(function(t){return t.isEnd()?r=e.dispatcher.subscribe(n):n(t)});return function(){return o(),r()}})},C.Observable.prototype.flatMap=function(){return ye(this,ve(arguments))},C.Observable.prototype.flatMapFirst=function(){return ye(this,ve(arguments),!0)};var ve=function(e){return 1===e.length&&T(e[0])?U.always(e[0]):z(e)},me=function(e){return T(e)?e:C.once(e)},ye=function(e,t,n,r){var o=[e],i=[],a=new C.Desc(e,"flatMap"+(n?"First":""),[t]),s=new v(a,function(o){var a=new d,s=[],u=function(e){var n=me(t(e.value()));return i.push(n),a.add(function(e,t){return n.dispatcher.subscribe(function(r){if(r.isEnd())return U.remove(n,i),c(),l(t),C.noMore;("undefined"!=typeof r&&null!==r?r._isInitial:void 0)&&(r=r.toNext());var a=o(r);return a===C.noMore&&e(),a})})},c=function(){var e=s.shift();return e?u(e):void 0},l=func
 tion(e){return e(),a.empty()?o(ie()):void 0};return a.add(function(t,i){return e.dispatcher.subscribe(function(e){return e.isEnd()?l(i):e.isError()?o(e):n&&a.count()>1?C.more:a.unsubscribed?C.noMore:r&&a.count()>r?s.push(e):u(e)})}),a.unsubscribe});return s.internalDeps=function(){return i.length?o.concat(i):o},s};C.Observable.prototype.flatMapWithConcurrencyLimit=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;t>r;r++)n[r-1]=arguments[r];var o=new C.Desc(this,"flatMapWithConcurrencyLimit",[e].concat(n));return V(o,ye(this,ve(n),!1,e))},C.Observable.prototype.flatMapConcat=function(){var e=new C.Desc(this,"flatMapConcat",Array.prototype.slice.call(arguments,0));return V(e,this.flatMapWithConcurrencyLimit.apply(this,[1].concat(E.call(arguments))))},C.later=function(e,t){return V(new C.Desc(C,"later",[e,t]),C.fromBinder(function(n){var r=function(){return n([t,ie()])},o=C.scheduler.setTimeout(r,e);return function(){return C.scheduler.clearTimeout(o)}}))},C.Observable.pro
 totype.bufferingThrottle=function(e){var t=new C.Desc(this,"bufferingThrottle",[e]);return V(t,this.flatMapConcat(function(t){return C.once(t).concat(C.later(e).filter(!1))}))},C.Property.prototype.bufferingThrottle=function(){return C.Observable.prototype.bufferingThrottle.apply(this,arguments).toProperty()},L(g,v),A(g.prototype,{unsubAll:function(){for(var e,t=this.subscriptions,n=0;n<t.length;n++)e=t[n],"function"==typeof e.unsub&&e.unsub()},subscribeAll:function(e){if(this.ended)e(ie());else{this.sink=e;for(var t,n=M(this.subscriptions),r=0;r<n.length;r++)t=n[r],this.subscribeInput(t)}return this.unsubAll},guardedSink:function(e){var t=this;return function(n){return n.isEnd()?(t.unsubscribeInput(e),C.noMore):t.sink(n)}},subscribeInput:function(e){return e.unsub=e.input.dispatcher.subscribe(this.guardedSink(e.input)),e.unsub},unsubscribeInput:function(e){for(var t,n=this.subscriptions,r=0;r<n.length;r++)if(t=n[r],t.input===e)return"function"==typeof t.unsub&&t.unsub(),void this.s
 ubscriptions.splice(r,1)},plug:function(e){var t=this;if(I(e),!this.ended){var n={input:e};return this.subscriptions.push(n),"undefined"!=typeof this.sink&&this.subscribeInput(n),function(){return t.unsubscribeInput(e)}}},end:function(){return this.ended=!0,this.unsubAll(),"function"==typeof this.sink?this.sink(ie()):void 0},push:function(e){return this.ended||"function"!=typeof this.sink?void 0:this.sink(oe(e))},error:function(e){return"function"==typeof this.sink?this.sink(new p(e)):void 0}}),C.Bus=g;var ge=function(e,t){return W(function(n){for(var r=q(t,[function(e,t){return n.apply(void 0,e.concat([t]))}]),o=arguments.length,i=Array(o>1?o-1:0),a=1;o>a;a++)i[a-1]=arguments[a];return V(new C.Desc(C,e,[n].concat(i)),C.combineAsArray(i).flatMap(r))})};C.fromCallback=ge("fromCallback",function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;t>r;r++)n[r-1]=arguments[r];return C.fromBinder(function(t){return G(e,n)(t),R},function(e){return[e,ie()]})}),C.fromNodeCallback=ge("fromN
 odeCallback",function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;t>r;r++)n[r-1]=arguments[r];return C.fromBinder(function(t){return G(e,n)(t),R},function(e,t){return e?[new p(e),ie()]:[t,ie()]})}),C.combineTemplate=function(e){function t(e){return e[e.length-1]}function n(e,n,r){return t(e)[n]=r,r}function r(e,t){return function(r,o){return n(r,e,o[t])}}function o(e,t){return function(r){return n(r,e,t)}}function i(e){return P(e)?[]:{}}function a(e,t){return function(r){var o=i(t);return n(r,e,o),r.push(o)}}function s(e,t){if(T(t))return p.push(t),l.push(r(e,p.length-1));if(!t||t.constructor!=Object&&t.constructor!=Array)return l.push(o(e,t));var n=function(e){return e.pop()};return l.push(a(e,t)),c(t),l.push(n)}function u(t){for(var n,r=i(e),o=[r],a=0;a<l.length;a++)(n=l[a])(o,t);return r}function c(e){return U.each(e,s)}var l=[],p=[];return c(e),V(new C.Desc(C,"combineTemplate",[e]),C.combineAsArray(p).map(u))};var be=function(e,t){var n=new v(B(e,"justInitValue"),functi
 on(t){var r=void 0,o=e.dispatcher.subscribe(function(e){return e.isEnd()||(r=e),C.noMore});return j.whenDoneWith(n,function(){return"undefined"!=typeof r&&null!==r&&t(r),t(ie())}),o});return n.concat(t).toProperty()};C.Observable.prototype.mapEnd=function(){var e=z(arguments);return V(new C.Desc(this,"mapEnd",[e]),this.withHandler(function(t){return t.isEnd()?(this.push(oe(e(t))),this.push(ie()),C.noMore):this.push(t)}))},C.Observable.prototype.skipErrors=function(){return V(new C.Desc(this,"skipErrors",[]),this.withHandler(function(e){return e.isError()?C.more:this.push(e)}))},C.EventStream.prototype.takeUntil=function(e){var t={};return V(new C.Desc(this,"takeUntil",[e]),C.groupSimultaneous(this.mapEnd(t),e.skipErrors()).withHandler(function(e){if(e.hasValue()){var n=e.value(),r=n[0],o=n[1];if(o.length)return this.push(ie());for(var i,a=C.more,s=0;s<r.length;s++)i=r[s],a=i===t?this.push(ie()):this.push(oe(i));return a}return this.push(e)}))},C.Property.prototype.takeUntil=function
 (e){var t=this.changes().takeUntil(e);return V(new C.Desc(this,"takeUntil",[e]),be(this,t))},C.Observable.prototype.flatMapLatest=function(){
-var e=ve(arguments),t=this.toEventStream();return V(new C.Desc(this,"flatMapLatest",[e]),t.flatMap(function(n){return me(e(n)).takeUntil(t)}))},C.Property.prototype.delayChanges=function(e,t){return V(e,be(this,t(this.changes())))},C.EventStream.prototype.delay=function(e){return V(new C.Desc(this,"delay",[e]),this.flatMap(function(t){return C.later(e,t)}))},C.Property.prototype.delay=function(e){return this.delayChanges(new C.Desc(this,"delay",[e]),function(t){return t.delay(e)})},C.EventStream.prototype.debounce=function(e){return V(new C.Desc(this,"debounce",[e]),this.flatMapLatest(function(t){return C.later(e,t)}))},C.Property.prototype.debounce=function(e){return this.delayChanges(new C.Desc(this,"debounce",[e]),function(t){return t.debounce(e)})},C.EventStream.prototype.debounceImmediate=function(e){return V(new C.Desc(this,"debounceImmediate",[e]),this.flatMapFirst(function(t){return C.once(t).concat(C.later(e).filter(!1))}))},C.Observable.prototype.decode=function(e){return 
 V(new C.Desc(this,"decode",[e]),this.combine(C.combineTemplate(e),function(e,t){return t[e]}))},C.Observable.prototype.scan=function(e,t){var n,r=this;t=$(t);var o=te(e),i=!1,s=function(e){var s=!1,u=R,l=C.more,p=function(){return s?void 0:o.forEach(function(t){return s=i=!0,l=e(new c(function(){return t})),l===C.noMore?(u(),u=R):void 0})};return u=r.dispatcher.subscribe(function(n){if(n.hasValue()){if(i&&n.isInitial())return C.more;n.isInitial()||p(),s=i=!0;var r=o.getOrElse(void 0),u=t(r,n.value());return o=new a(u),e(n.apply(function(){return u}))}return n.isEnd()&&(l=p()),l!==C.noMore?e(n):void 0}),j.whenDoneWith(n,p),u};return n=new y(new C.Desc(this,"scan",[e,t]),s)},C.Observable.prototype.diff=function(e,t){return t=$(t),V(new C.Desc(this,"diff",[e,t]),this.scan([e],function(e,n){return[n,t(e[0],n)]}).filter(function(e){return 2===e.length}).map(function(e){return e[1]}))},C.Observable.prototype.doAction=function(){var e=z(arguments);return V(new C.Desc(this,"doAction",[e]),t
 his.withHandler(function(t){return t.hasValue()&&e(t.value()),this.push(t)}))},C.Observable.prototype.doEnd=function(){var e=z(arguments);return V(new C.Desc(this,"doEnd",[e]),this.withHandler(function(t){return t.isEnd()&&e(),this.push(t)}))},C.Observable.prototype.doError=function(){var e=z(arguments);return V(new C.Desc(this,"doError",[e]),this.withHandler(function(t){return t.isError()&&e(t.error),this.push(t)}))},C.Observable.prototype.doLog=function(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];return V(new C.Desc(this,"doLog",t),this.withHandler(function(e){return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log&&console.log.apply(console,t.concat([e.log()])),this.push(e)}))},C.Observable.prototype.endOnError=function(e){"undefined"!=typeof e&&null!==e||(e=!0);for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;t>r;r++)n[r-1]=arguments[r];return Z(this,e,n,function(e){return V(new C.Desc(this,"endOnError",[]),this.withHandler(fu
 nction(t){return t.isError()&&e(t.error)?(this.push(t),this.push(ie())):this.push(t)}))})},f.prototype.errors=function(){return V(new C.Desc(this,"errors",[]),this.filter(function(){return!1}))},C.Observable.prototype.take=function(e){return 0>=e?C.never():V(new C.Desc(this,"take",[e]),this.withHandler(function(t){return t.hasValue()?(e--,e>0?this.push(t):(0===e&&this.push(t),this.push(ie()),C.noMore)):this.push(t)}))},C.Observable.prototype.first=function(){return V(new C.Desc(this,"first",[]),this.take(1))},C.Observable.prototype.mapError=function(){var e=z(arguments);return V(new C.Desc(this,"mapError",[e]),this.withHandler(function(t){return t.isError()?this.push(oe(e(t.error))):this.push(t)}))},C.Observable.prototype.flatMapError=function(e){var t=new C.Desc(this,"flatMapError",[e]);return V(t,this.mapError(function(e){return new p(e)}).flatMap(function(t){return t instanceof p?e(t.error):C.once(t)}))},C.EventStream.prototype.sampledBy=function(e,t){return V(new C.Desc(this,"sa
 mpledBy",[e,t]),this.toProperty().sampledBy(e,t))},C.Property.prototype.sampledBy=function(e,t){var r=!1;"undefined"!=typeof t&&null!==t?t=$(t):(r=!0,t=function(e){return e.value()});var o=new n(this,!1,r),i=new n(e,!0,r),a=C.when([o,i],t),s=e._isProperty?a.toProperty():a;return V(new C.Desc(this,"sampledBy",[e,t]),s)},C.Property.prototype.sample=function(e){return V(new C.Desc(this,"sample",[e]),this.sampledBy(C.interval(e,{})))},C.Observable.prototype.map=function(e){if(e&&e._isProperty)return e.sampledBy(this,x);for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;t>r;r++)n[r-1]=arguments[r];return Z(this,e,n,function(e){return V(new C.Desc(this,"map",[e]),this.withHandler(function(t){return this.push(t.fmap(e))}))})},C.Observable.prototype.fold=function(e,t){return V(new C.Desc(this,"fold",[e,t]),this.scan(e,t).sampledBy(this.filter(!1).mapEnd().toProperty()))},f.prototype.reduce=f.prototype.fold;var Ee=[["addEventListener","removeEventListener"],["addListener","removeListener"],["
 on","off"],["bind","unbind"]],Ce=function(e){for(var t,n=0;n<Ee.length;n++){t=Ee[n];var r=[e[t[0]],e[t[1]]];if(r[0]&&r[1])return r}for(var o=0;o<Ee.length;o++){t=Ee[o];var i=e[t[0]];if(i)return[i,function(){}]}throw new p("No suitable event methods in "+e)};C.fromEventTarget=function(e,t,n){var r=Ce(e),o=r[0],i=r[1],a=new C.Desc(C,"fromEvent",[e,t]);return V(a,C.fromBinder(function(n){return o.call(e,t,n),function(){return i.call(e,t,n)}},n))},C.fromEvent=C.fromEventTarget,C.fromPoll=function(e,t){var n=new C.Desc(C,"fromPoll",[e,t]);return V(n,C.fromBinder(function(t){var n=C.scheduler.setInterval(t,e);return function(){return C.scheduler.clearInterval(n)}},t))},C.fromPromise=function(e,t){var n=arguments.length<=2||void 0===arguments[2]?b:arguments[2];return V(new C.Desc(C,"fromPromise",[e]),C.fromBinder(function(n){var r=e.then(n,function(e){return n(new p(e))});return r&&"function"==typeof r.done&&r.done(),t?function(){return"function"==typeof e.abort?e.abort():void 0}:function(
 ){}},n))},C.Observable.prototype.groupBy=function(e){var t=arguments.length<=1||void 0===arguments[1]?C._.id:arguments[1],n={},r=this;return r.filter(function(t){return!n[e(t)]}).map(function(o){var i=e(o),a=r.filter(function(t){return e(t)===i}),s=C.once(o).concat(a),u=t(s,o).withHandler(function(e){return this.push(e),e.isEnd()?delete n[i]:void 0});return n[i]=u,u})},C.fromArray=function(e){if(N(e),e.length){var t=0;return new v(new C.Desc(C,"fromArray",[e]),function(n){var r=!1,o=C.more,i=!1,a=!1,s=function(){if(a=!0,!i){for(i=!0;a;)if(a=!1,o!==C.noMore&&!r){var u=e[t++];o=n(ae(u)),o!==C.noMore&&(t===e.length?n(ie()):j.afterTransaction(s))}return i=!1}};return s(),function(){return r=!0}})}return V(new C.Desc(C,"fromArray",e),C.never())},C.EventStream.prototype.holdWhen=function(e){var t=!1,n=[],r=this,o=!1;return new v(new C.Desc(this,"holdWhen",[e]),function(i){var a=new d,s=!1,u=function(e){return"function"==typeof e&&e(),a.empty()&&s?i(ie()):void 0};return a.add(function(r,a)
 {return e.subscribeInternal(function(e){if(!e.hasValue())return e.isEnd()?u(a):i(e);if(t=e.value(),!t){var r=n;return n=[],function(){for(var e,t=[],n=0;n<r.length;n++)e=r[n],t.push(i(oe(e)));return o&&(t.push(i(ie())),a()),t}()}})}),a.add(function(e,a){return r.subscribeInternal(function(e){return t&&e.hasValue()?n.push(e.value()):e.isEnd()&&n.length?(o=!0,u(a)):i(e)})}),s=!0,u(),a.unsubscribe})},C.interval=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return V(new C.Desc(C,"interval",[e,t]),C.fromPoll(e,function(){return oe(t)}))},C.$={},C.$.asEventStream=function(e,t,n){var r=this;return U.isFunction(t)&&(n=t,t=void 0),V(new C.Desc(this.selector||this,"asEventStream",[e]),C.fromBinder(function(n){return r.on(e,t,n),function(){return r.off(e,t,n)}},n))},"undefined"!=typeof jQuery&&jQuery&&(jQuery.fn.asEventStream=C.$.asEventStream),"undefined"!=typeof Zepto&&Zepto&&(Zepto.fn.asEventStream=C.$.asEventStream),C.Observable.prototype.last=function(){var 
 e;return V(new C.Desc(this,"last",[]),this.withHandler(function(t){return t.isEnd()?(e&&this.push(e),this.push(ie()),C.noMore):void(e=t)}))},C.Observable.prototype.log=function(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];return this.subscribe(function(e){"undefined"!=typeof console&&"function"==typeof console.log&&console.log.apply(console,t.concat([e.log()]))}),this},C.EventStream.prototype.merge=function(e){_(e);var t=this;return V(new C.Desc(t,"merge",[e]),C.mergeAll(this,e))},C.mergeAll=function(){var e=pe(arguments);return e.length?new v(new C.Desc(C,"mergeAll",e),function(t){var n=0,r=function(r){return function(o){return r.dispatcher.subscribe(function(r){if(r.isEnd())return n++,n===e.length?t(ie()):C.more;var i=t(r);return i===C.noMore&&o(),i})}},o=U.map(r,e);return new C.CompositeUnsubscribe(o).unsubscribe}):C.never()},C.repeatedly=function(e,t){var n=0;return V(new C.Desc(C,"repeatedly",[e,t]),C.fromPoll(e,function(){return t[n++%t.length]}))},C.r
 epeat=function(e){var t=0;return C.fromBinder(function(n){function r(e){return e.isEnd()?i?o():i=!0:a=n(e)}function o(){var o;for(i=!0;i&&a!==C.noMore;)o=e(t++),i=!1,o?s=o.subscribeInternal(r):n(ie());return i=!0}var i=!1,a=C.more,s=function(){};return o(),function(){return s()}})},C.retry=function(e){if(!U.isFunction(e.source))throw new w("'source' option has to be a function");var t=e.source,n=e.retries||0,r=e.maxRetries||n,o=e.delay||function(){return 0},i=e.isRetryable||function(){return!0},a=!1,s=null;return V(new C.Desc(C,"retry",[e]),C.repeat(function(){function e(){return t().endOnError().withHandler(function(e){return e.isError()?(s=e,i(s.error)&&n>0?void 0:(a=!0,this.push(e))):(e.hasValue()&&(s=null,a=!0),this.push(e))})}if(a)return null;if(s){var u={error:s.error,retriesDone:r-n},c=C.later(o(u)).filter(!1);return n-=1,c.concat(C.once().flatMap(e))}return e()}))},C.sequentially=function(e,t){var n=0;return V(new C.Desc(C,"sequentially",[e,t]),C.fromPoll(e,function(){var e=
 t[n++];return n<t.length?e:n===t.length?[e,ie()]:ie()}))},C.Observable.prototype.skip=function(e){return V(new C.Desc(this,"skip",[e]),this.withHandler(function(t){return t.hasValue()&&e>0?(e--,C.more):this.push(t)}))},C.EventStream.prototype.skipUntil=function(e){var t=e.take(1).map(!0).toProperty(!1);return V(new C.Desc(this,"skipUntil",[e]),this.filter(t))},C.EventStream.prototype.skipWhile=function(e){O(e);for(var t=!1,n=arguments.length,r=Array(n>1?n-1:0),o=1;n>o;o++)r[o-1]=arguments[o];return Z(this,e,r,function(e){return V(new C.Desc(this,"skipWhile",[e]),this.withHandler(function(n){return!t&&n.hasValue()&&e(n.value())?C.more:(n.hasValue()&&(t=!0),this.push(n))}))})},C.Observable.prototype.slidingWindow=function(e){var t=arguments.length<=1||void 0===arguments[1]?0:arguments[1];return V(new C.Desc(this,"slidingWindow",[e,t]),this.scan([],function(t,n){return t.concat([n]).slice(-e)}).filter(function(e){return e.length>=t}))};var we=[],ue=function(e){if(we.length&&!ue.running
 )try{ue.running=!0,we.forEach(function(t){t(e)})}finally{delete ue.running}};C.spy=function(e){return we.push(e)},C.Property.prototype.startWith=function(e){return V(new C.Desc(this,"startWith",[e]),this.scan(e,function(e,t){return t}))},C.EventStream.prototype.startWith=function(e){return V(new C.Desc(this,"startWith",[e]),C.once(e).concat(this))},C.Observable.prototype.takeWhile=function(e){O(e);for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;t>r;r++)n[r-1]=arguments[r];return Z(this,e,n,function(e){return V(new C.Desc(this,"takeWhile",[e]),this.withHandler(function(t){return t.filter(e)?this.push(t):(this.push(ie()),C.noMore)}))})},C.EventStream.prototype.throttle=function(e){return V(new C.Desc(this,"throttle",[e]),this.bufferWithTime(e).map(function(e){return e[e.length-1]}))},C.Property.prototype.throttle=function(e){return this.delayChanges(new C.Desc(this,"throttle",[e]),function(t){return t.throttle(e)})},f.prototype.firstToPromise=function(e){var t=this;if("function"!=ty
 peof e){if("function"!=typeof Promise)throw new w("There isn't default Promise, use shim or parameter");e=Promise}return new e(function(e,n){return t.subscribe(function(t){return t.hasValue()&&e(t.value()),t.isError()&&n(t.error),C.noMore})})},f.prototype.toPromise=function(e){return this.last().firstToPromise(e)},C["try"]=function(e){return function(t){try{return C.once(e(t))}catch(n){return new C.Error(n)}}},C.update=function(e){function t(e){return function(){for(var t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return function(t){return e.apply(void 0,[t].concat(n))}}}for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;n>o;o++)r[o-1]=arguments[o];for(var i=r.length-1;i>0;)r[i]instanceof Function||(r[i]=U.always(r[i])),r[i]=t(r[i]),i-=2;return V(new C.Desc(C,"update",[e].concat(r)),C.when.apply(C,r).scan(e,function(e,t){return t(e)}))},C.zipAsArray=function(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];var r=pe(t);return V(new C.Desc(C,"zipAsAr
 ray",r),C.zipWith(r,function(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];return t}))},C.zipWith=function(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];var r=fe(t),o=r[0],i=r[1];return o=U.map(function(e){return e.toEventStream()},o),V(new C.Desc(C,"zipWith",[i].concat(o)),C.when(o,i))},C.Observable.prototype.zip=function(e,t){return V(new C.Desc(this,"zip",[e]),C.zipWith([this,e],t||Array))},"undefined"!=typeof define&&null!==define&&null!=define.amd?(define([],function(){return C}),"undefined"!=typeof this&&null!==this&&(this.Bacon=C)):"undefined"!=typeof t&&null!==t&&null!=t.exports?(t.exports=C,C.Bacon=C):this.Bacon=C}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,n){!function(){"use strict";function e(){for(var t=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var i=typeof o;if("string"===i||"number"===i)t.push(o);else if(
 Array.isArray(o))t.push(e.apply(null,o));else if("object"===i)for(var a in o)n.call(o,a)&&o[a]&&t.push(a)}}return t.join(" ")}var n={}.hasOwnProperty;"undefined"!=typeof t&&t.exports?t.exports=e:"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return e}):window.classNames=e}()},{}],3:[function(e,t,n){"use strict";var r=e("./focusNode"),o={componentDidMount:function(){this.props.autoFocus&&r(this.getDOMNode())}};t.exports=o},{"./focusNode":121}],4:[function(e,t,n){"use strict";function r(){var e=window.opera;return"object"==typeof e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}function o(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function i(e){switch(e){case _.topCompositionStart:return I.compositionStart;case _.topCompositionEnd:return I.compositionEnd;case _.topCompositionUpdate:return I.compositionUpdate}}function a(e,t){return e===_.topKeyDown&&t.keyCode===C}function s(e,t){switch(e){case _.
 topKeyUp:return-1!==E.indexOf(t.keyCode);case _.topKeyDown:return t.keyCode!==C;case _.topKeyPress:case _.topMouseDown:case _.topBlur:return!0;default:return!1}}function u(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function c(e,t,n,r){var o,c;if(w?o=i(e):P?s(e,r)&&(o=I.compositionEnd):a(e,r)&&(o=I.compositionStart),!o)return null;M&&(P||o!==I.compositionStart?o===I.compositionEnd&&P&&(c=P.getData()):P=m.getPooled(t));var l=y.getPooled(o,n,r);if(c)l.data=c;else{var p=u(r);null!==p&&(l.data=p)}return h.accumulateTwoPhaseDispatches(l),l}function l(e,t){switch(e){case _.topCompositionEnd:return u(t);case _.topKeyPress:var n=t.which;return n!==D?null:(S=!0,O);case _.topTextInput:var r=t.data;return r===O&&S?null:r;default:return null}}function p(e,t){if(P){if(e===_.topCompositionEnd||s(e,t)){var n=P.getData();return m.release(P),P=null,n}return null}switch(e){case _.topPaste:return null;case _.topKeyPress:return t.which&&!o(t)?String.fromCharCode(t.which):null;cas
 e _.topCompositionEnd:return M?null:t.data;default:return null}}function f(e,t,n,r){var o;if(o=x?l(e,r):p(e,r),!o)return null;var i=g.getPooled(I.beforeInput,n,r);return i.data=o,h.accumulateTwoPhaseDispatches(i),i}var d=e("./EventConstants"),h=e("./EventPropagators"),v=e("./ExecutionEnvironment"),m=e("./FallbackCompositionState"),y=e("./SyntheticCompositionEvent"),g=e("./SyntheticInputEvent"),b=e("./keyOf"),E=[9,13,27,32],C=229,w=v.canUseDOM&&"CompositionEvent"in window,R=null;v.canUseDOM&&"documentMode"in document&&(R=document.documentMode);var x=v.canUseDOM&&"TextEvent"in window&&!R&&!r(),M=v.canUseDOM&&(!w||R&&R>8&&11>=R),D=32,O=String.fromCharCode(D),_=d.topLevelTypes,I={beforeInput:{phasedRegistrationNames:{bubbled:b({onBeforeInput:null}),captured:b({onBeforeInputCapture:null})},dependencies:[_.topCompositionEnd,_.topKeyPress,_.topTextInput,_.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:b({onCompositionEnd:null}),captured:b({onCompositionEndCapture:null})},depen
 dencies:[_.topBlur,_.topCompositionEnd,_.topKeyDown,_.topKeyPress,_.topKeyUp,_.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:b({onCompositionStart:null}),captured:b({onCompositionStartCapture:null})},dependencies:[_.topBlur,_.topCompositionStart,_.topKeyDown,_.topKeyPress,_.topKeyUp,_.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:b({onCompositionUpdate:null}),captured:b({onCompositionUpdateCapture:null})},dependencies:[_.topBlur,_.topCompositionUpdate,_.topKeyDown,_.topKeyPress,_.topKeyUp,_.topMouseDown]}},S=!1,P=null,T={eventTypes:I,extractEvents:function(e,t,n,r){return[c(e,t,n,r),f(e,t,n,r)]}};t.exports=T},{"./EventConstants":16,"./EventPropagators":21,"./ExecutionEnvironment":22,"./FallbackCompositionState":23,"./SyntheticCompositionEvent":95,"./SyntheticInputEvent":99,"./keyOf":143}],5:[function(e,t,n){"use strict";function r(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var o={boxFlex:!0,boxFlexGroup:!0,columnCount:!0,flex:!0,f
 lexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0},i=["Webkit","ms","Moz","O"];Object.keys(o).forEach(function(e){i.forEach(function(t){o[r(t,e)]=o[e]})});var a={background:{backgroundImage:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundColor:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0}},s={isUnitlessNumber:o,shorthandPropertyExpansions:a};t.exports=s},{}],6:[function(e,t,n){"use strict";var r=e("./CSSProperty"),o=e("./Ex
 ecutionEnvironment"),i=(e("./camelizeStyleName"),e("./dangerousStyleValue")),a=e("./hyphenateStyleName"),s=e("./memoizeStringOnly"),u=(e("./warning"),s(function(e){return a(e)})),c="cssFloat";o.canUseDOM&&void 0===document.documentElement.style.cssFloat&&(c="styleFloat");var l={createMarkupForStyles:function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];null!=r&&(t+=u(n)+":",t+=i(n,r)+";")}return t||null},setValueForStyles:function(e,t){var n=e.style;for(var o in t)if(t.hasOwnProperty(o)){var a=i(o,t[o]);if("float"===o&&(o=c),a)n[o]=a;else{var s=r.shorthandPropertyExpansions[o];if(s)for(var u in s)n[u]="";else n[o]=""}}}};t.exports=l},{"./CSSProperty":5,"./ExecutionEnvironment":22,"./camelizeStyleName":110,"./dangerousStyleValue":115,"./hyphenateStyleName":135,"./memoizeStringOnly":145,"./warning":156}],7:[function(e,t,n){"use strict";function r(){this._callbacks=null,this._contexts=null}var o=e("./PooledClass"),i=e("./Object.assign"),a=e("./invariant");i(r.prototype
 ,{enqueue:function(e,t){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var e=this._callbacks,t=this._contexts;if(e){a(e.length===t.length),this._callbacks=null,this._contexts=null;for(var n=0,r=e.length;r>n;n++)e[n].call(t[n]);e.length=0,t.length=0}},reset:function(){this._callbacks=null,this._contexts=null},destructor:function(){this.reset()}}),o.addPoolingTo(r),t.exports=r},{"./Object.assign":28,"./PooledClass":29,"./invariant":137}],8:[function(e,t,n){"use strict";function r(e){return"SELECT"===e.nodeName||"INPUT"===e.nodeName&&"file"===e.type}function o(e){var t=R.getPooled(_.change,S,e);E.accumulateTwoPhaseDispatches(t),w.batchedUpdates(i,t)}function i(e){b.enqueueEvents(e),b.processEventQueue()}function a(e,t){I=e,S=t,I.attachEvent("onchange",o)}function s(){I&&(I.detachEvent("onchange",o),I=null,S=null)}function u(e,t,n){return e===O.topChange?n:void 0}function c(e,t,n){e===O.topFocus?
 (s(),a(t,n)):e===O.topBlur&&s()}function l(e,t){I=e,S=t,P=e.value,T=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(I,"value",A),I.attachEvent("onpropertychange",f)}function p(){I&&(delete I.value,I.detachEvent("onpropertychange",f),I=null,S=null,P=null,T=null)}function f(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==P&&(P=t,o(e))}}function d(e,t,n){return e===O.topInput?n:void 0}function h(e,t,n){e===O.topFocus?(p(),l(t,n)):e===O.topBlur&&p()}function v(e,t,n){return e!==O.topSelectionChange&&e!==O.topKeyUp&&e!==O.topKeyDown||!I||I.value===P?void 0:(P=I.value,S)}function m(e){return"INPUT"===e.nodeName&&("checkbox"===e.type||"radio"===e.type)}function y(e,t,n){return e===O.topClick?n:void 0}var g=e("./EventConstants"),b=e("./EventPluginHub"),E=e("./EventPropagators"),C=e("./ExecutionEnvironment"),w=e("./ReactUpdates"),R=e("./SyntheticEvent"),x=e("./isEventSupported"),M=e("./isTextInputElement"),D=e("./keyOf"),O=g.topLevelTypes,_
 ={change:{phasedRegistrationNames:{bubbled:D({onChange:null}),captured:D({onChangeCapture:null})},dependencies:[O.topBlur,O.topChange,O.topClick,O.topFocus,O.topInput,O.topKeyDown,O.topKeyUp,O.topSelectionChange]}},I=null,S=null,P=null,T=null,N=!1;C.canUseDOM&&(N=x("change")&&(!("documentMode"in document)||document.documentMode>8));var k=!1;C.canUseDOM&&(k=x("input")&&(!("documentMode"in document)||document.documentMode>9));var A={get:function(){return T.get.call(this)},set:function(e){P=""+e,T.set.call(this,e)}},L={eventTypes:_,extractEvents:function(e,t,n,o){var i,a;if(r(t)?N?i=u:a=c:M(t)?k?i=d:(i=v,a=h):m(t)&&(i=y),i){var s=i(e,t,n);if(s){var l=R.getPooled(_.change,s,o);return E.accumulateTwoPhaseDispatches(l),l}}a&&a(e,t,n)}};t.exports=L},{"./EventConstants":16,"./EventPluginHub":18,"./EventPropagators":21,"./ExecutionEnvironment":22,"./ReactUpdates":89,"./SyntheticEvent":97,"./isEventSupported":138,"./isTextInputElement":140,"./keyOf":143}],9:[function(e,t,n){"use strict";var r
 =0,o={createReactRootIndex:function(){return r++}};t.exports=o},{}],10:[function(e,t,n){"use strict";function r(e,t,n){e.insertBefore(t,e.childNodes[n]||null)}var o=e("./Danger"),i=e("./ReactMultiChildUpdateTypes"),a=e("./setTextContent"),s=e("./invariant"),u={dangerouslyReplaceNodeWithMarkup:o.dangerouslyReplaceNodeWithMarkup,updateTextContent:a,processUpdates:function(e,t){for(var n,u=null,c=null,l=0;l<e.length;l++)if(n=e[l],n.type===i.MOVE_EXISTING||n.type===i.REMOVE_NODE){var p=n.fromIndex,f=n.parentNode.childNodes[p],d=n.parentID;s(f),u=u||{},u[d]=u[d]||[],u[d][p]=f,c=c||[],c.push(f)}var h=o.dangerouslyRenderMarkup(t);if(c)for(var v=0;v<c.length;v++)c[v].parentNode.removeChild(c[v]);for(var m=0;m<e.length;m++)switch(n=e[m],n.type){case i.INSERT_MARKUP:r(n.parentNode,h[n.markupIndex],n.toIndex);break;case i.MOVE_EXISTING:r(n.parentNode,u[n.parentID][n.fromIndex],n.toIndex);break;case i.TEXT_CONTENT:a(n.parentNode,n.textContent);break;case i.REMOVE_NODE:}}};t.exports=u},{"./Dange
 r":13,"./ReactMultiChildUpdateTypes":74,"./invariant":137,"./setTextContent":151}],11:[function(e,t,n){"use strict";function r(e,t){return(e&t)===t}var o=e("./invariant"),i={MUST_USE_ATTRIBUTE:1,MUST_USE_PROPERTY:2,HAS_SIDE_EFFECTS:4,HAS_BOOLEAN_VALUE:8,HAS_NUMERIC_VALUE:16,HAS_POSITIVE_NUMERIC_VALUE:48,HAS_OVERLOADED_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(e){var t=e.Properties||{},n=e.DOMAttributeNames||{},a=e.DOMPropertyNames||{},u=e.DOMMutationMethods||{};e.isCustomAttribute&&s._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var c in t){o(!s.isStandardName.hasOwnProperty(c)),s.isStandardName[c]=!0;var l=c.toLowerCase();if(s.getPossibleStandardName[l]=c,n.hasOwnProperty(c)){var p=n[c];s.getPossibleStandardName[p]=c,s.getAttributeName[c]=p}else s.getAttributeName[c]=l;s.getPropertyName[c]=a.hasOwnProperty(c)?a[c]:c,u.hasOwnProperty(c)?s.getMutationMethod[c]=u[c]:s.getMutationMethod[c]=null;var f=t[c];s.mustUseAttribute[c]=r(f,i.MUST_USE_ATTRIBUTE),s.mustUseProp
 erty[c]=r(f,i.MUST_USE_PROPERTY),s.hasSideEffects[c]=r(f,i.HAS_SIDE_EFFECTS),s.hasBooleanValue[c]=r(f,i.HAS_BOOLEAN_VALUE),s.hasNumericValue[c]=r(f,i.HAS_NUMERIC_VALUE),s.hasPositiveNumericValue[c]=r(f,i.HAS_POSITIVE_NUMERIC_VALUE),s.hasOverloadedBooleanValue[c]=r(f,i.HAS_OVERLOADED_BOOLEAN_VALUE),o(!s.mustUseAttribute[c]||!s.mustUseProperty[c]),o(s.mustUseProperty[c]||!s.hasSideEffects[c]),o(!!s.hasBooleanValue[c]+!!s.hasNumericValue[c]+!!s.hasOverloadedBooleanValue[c]<=1)}}},a={},s={ID_ATTRIBUTE_NAME:"data-reactid",isStandardName:{},getPossibleStandardName:{},getAttributeName:{},getPropertyName:{},getMutationMethod:{},mustUseAttribute:{},mustUseProperty:{},hasSideEffects:{},hasBooleanValue:{},hasNumericValue:{},hasPositiveNumericValue:{},hasOverloadedBooleanValue:{},_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<s._isCustomAttributeFunctions.length;t++){var n=s._isCustomAttributeFunctions[t];if(n(e))return!0}return!1},getDefaultValueForProperty:function
 (e,t){var n,r=a[e];return r||(a[e]=r={}),t in r||(n=document.createElement(e),r[t]=n[t]),r[t]},injection:i};t.exports=s},{"./invariant":137}],12:[function(e,t,n){"use strict";function r(e,t){return null==t||o.hasBooleanValue[e]&&!t||o.hasNumericValue[e]&&isNaN(t)||o.hasPositiveNumericValue[e]&&1>t||o.hasOverloadedBooleanValue[e]&&t===!1}var o=e("./DOMProperty"),i=e("./quoteAttributeValueForBrowser"),a=(e("./warning"),{createMarkupForID:function(e){return o.ID_ATTRIBUTE_NAME+"="+i(e)},createMarkupForProperty:function(e,t){if(o.isStandardName.hasOwnProperty(e)&&o.isStandardName[e]){if(r(e,t))return"";var n=o.getAttributeName[e];return o.hasBooleanValue[e]||o.hasOverloadedBooleanValue[e]&&t===!0?n:n+"="+i(t)}return o.isCustomAttribute(e)?null==t?"":e+"="+i(t):null},setValueForProperty:function(e,t,n){if(o.isStandardName.hasOwnProperty(t)&&o.isStandardName[t]){var i=o.getMutationMethod[t];if(i)i(e,n);else if(r(t,n))this.deleteValueForProperty(e,t);else if(o.mustUseAttribute[t])e.setAttr
 ibute(o.getAttributeName[t],""+n);else{var a=o.getPropertyName[t];o.hasSideEffects[t]&&""+e[a]==""+n||(e[a]=n)}}else o.isCustomAttribute(t)&&(null==n?e.removeAttribute(t):e.setAttribute(t,""+n))},deleteValueForProperty:function(e,t){if(o.isStandardName.hasOwnProperty(t)&&o.isStandardName[t]){var n=o.getMutationMethod[t];if(n)n(e,void 0);else if(o.mustUseAttribute[t])e.removeAttribute(o.getAttributeName[t]);else{var r=o.getPropertyName[t],i=o.getDefaultValueForProperty(e.nodeName,r);o.hasSideEffects[t]&&""+e[r]===i||(e[r]=i)}}else o.isCustomAttribute(t)&&e.removeAttribute(t)}});t.exports=a},{"./DOMProperty":11,"./quoteAttributeValueForBrowser":149,"./warning":156}],13:[function(e,t,n){"use strict";function r(e){return e.substring(1,e.indexOf(" "))}var o=e("./ExecutionEnvironment"),i=e("./createNodesFromMarkup"),a=e("./emptyFunction"),s=e("./getMarkupWrap"),u=e("./invariant"),c=/^(<[^ \/>]+)/,l="data-danger-index",p={dangerouslyRenderMarkup:function(e){u(o.canUseDOM);for(var t,n={},p=
 0;p<e.length;p++)u(e[p]),t=r(e[p]),t=s(t)?t:"*",n[t]=n[t]||[],n[t][p]=e[p];var f=[],d=0;for(t in n)if(n.hasOwnProperty(t)){var h,v=n[t];for(h in v)if(v.hasOwnProperty(h)){var m=v[h];v[h]=m.replace(c,"$1 "+l+'="'+h+'" ')}for(var y=i(v.join(""),a),g=0;g<y.length;++g){var b=y[g];b.hasAttribute&&b.hasAttribute(l)&&(h=+b.getAttribute(l),b.removeAttribute(l),u(!f.hasOwnProperty(h)),f[h]=b,d+=1)}}return u(d===f.length),u(f.length===e.length),f},dangerouslyReplaceNodeWithMarkup:function(e,t){u(o.canUseDOM),u(t),u("html"!==e.tagName.toLowerCase());var n=i(t,a)[0];e.parentNode.replaceChild(n,e)}};t.exports=p},{"./ExecutionEnvironment":22,"./createNodesFromMarkup":114,"./emptyFunction":116,"./getMarkupWrap":129,"./invariant":137}],14:[function(e,t,n){"use strict";var r=e("./keyOf"),o=[r({ResponderEventPlugin:null}),r({SimpleEventPlugin:null}),r({TapEventPlugin:null}),r({EnterLeaveEventPlugin:null}),r({ChangeEventPlugin:null}),r({SelectEventPlugin:null}),r({BeforeInputEventPlugin:null}),r({Anal
 yticsEventPlugin:null}),r({MobileSafariClickEventPlugin:null})];t.exports=o},{"./keyOf":143}],15:[function(e,t,n){"use strict";var r=e("./EventConstants"),o=e("./EventPropagators"),i=e("./SyntheticMouseEvent"),a=e("./ReactMount"),s=e("./keyOf"),u=r.topLevelTypes,c=a.getFirstReactDOM,l={mouseEnter:{registrationName:s({onMouseEnter:null}),dependencies:[u.topMouseOut,u.topMouseOver]},mouseLeave:{registrationName:s({onMouseLeave:null}),dependencies:[u.topMouseOut,u.topMouseOver]}},p=[null,null],f={eventTypes:l,extractEvents:function(e,t,n,r){if(e===u.topMouseOver&&(r.relatedTarget||r.fromElement))return null;if(e!==u.topMouseOut&&e!==u.topMouseOver)return null;var s;if(t.window===t)s=t;else{var f=t.ownerDocument;s=f?f.defaultView||f.parentWindow:window}var d,h;if(e===u.topMouseOut?(d=t,h=c(r.relatedTarget||r.toElement)||s):(d=s,h=t),d===h)return null;var v=d?a.getID(d):"",m=h?a.getID(h):"",y=i.getPooled(l.mouseLeave,v,r);y.type="mouseleave",y.target=d,y.relatedTarget=h;var g=i.getPooled
 (l.mouseEnter,m,r);return g.type="mouseenter",g.target=h,g.relatedTarget=d,o.accumulateEnterLeaveDispatches(y,g,v,m),p[0]=y,p[1]=g,p}};t.exports=f},{"./EventConstants":16,"./EventPropagators":21,"./ReactMount":72,"./SyntheticMouseEvent":101,"./keyOf":143}],16:[function(e,t,n){"use strict";var r=e("./keyMirror"),o=r({bubbled:null,captured:null}),i=r({topBlur:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topError:null,topFocus:null,topInput:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topReset:null,topScroll:null,topSelectionChange:null,topSubmit:null,topTextInput:null,topTouchCancel:null,topTouchEnd:null,topTouch
 Move:null,topTouchStart:null,topWheel:null}),a={topLevelTypes:i,PropagationPhases:o};t.exports=a},{"./keyMirror":142}],17:[function(e,t,n){var r=e("./emptyFunction"),o={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):{remove:r}},registerDefault:function(){}};t.exports=o},{"./emptyFunction":116}],18:[function(e,t,n){"use strict";var r=e("./EventPluginRegistry"),o=e("./EventPluginUtils"),i=e("./accumulateInto"),a=e("./forEachAccumulated"),s=e("./invariant"),u={},c=null,l=function(e){if(e){var t=o.executeDispatch,n=r.getPluginModuleForEvent(e);n&&n.executeDispatch&&(t=n.executeDispatch),o.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e)}},p=null,f={injection:{inje
 ctMount:o.injection.injectMount,injectInstanceHandle:function(e){p=e},getInstanceHandle:function(){

[... 30 lines stripped ...]
Modified: cordova/site/public/static/js/twitter.js
URL: http://svn.apache.org/viewvc/cordova/site/public/static/js/twitter.js?rev=1738205&r1=1738204&r2=1738205&view=diff
==============================================================================
--- cordova/site/public/static/js/twitter.js (original)
+++ cordova/site/public/static/js/twitter.js Fri Apr  8 04:21:10 2016
@@ -1 +1 @@
-!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');
+!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');



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


Mime
View raw message