Author: janpio
Date: Sun Mar 15 17:32:44 2020
New Revision: 1875214

URL: http://svn.apache.org/viewvc?rev=1875214&view=rev
Log:
Updated docs

Modified:
    cordova/site/public/docs/en/dev/guide/platforms/android/index.html
    
cordova/site/public/docs/en/dev/reference/cordova-plugin-inappbrowser/index.html
    cordova/site/public/feed.xml
    cordova/site/public/static/js/plugins.js

Modified: cordova/site/public/docs/en/dev/guide/platforms/android/index.html
URL: 
http://svn.apache.org/viewvc/cordova/site/public/docs/en/dev/guide/platforms/android/index.html?rev=1875214&r1=1875213&r2=1875214&view=diff
==============================================================================
--- cordova/site/public/docs/en/dev/guide/platforms/android/index.html 
(original)
+++ cordova/site/public/docs/en/dev/guide/platforms/android/index.html Sun Mar 
15 17:32:44 2020
@@ -3360,6 +3360,27 @@ requires cordova-android <strong>5.1.0+<
     <span class="nt">&lt;/body&gt;</span>
 <span class="nt">&lt;/html&gt;</span>
 </code></pre></div>
+<h3>Android Quirks</h3>
+
+<p>The default API level in the Cordova Android platform has been upgraded. On 
an Android 9 device, clear text communication is now disabled by default.</p>
+
+<p>By default HTTP and FTP etc. will refuse the apps requests to use cleartext 
traffic. The key reason for avoiding cleartext traffic is the lack of 
confidentiality, authenticity, and protections against tampering; a network 
attacker can eavesdrop on transmitted data and also modify it without being 
detected. You can learn more about the 
<code>android:usesCleartextTraffic</code> or any other android application 
elements setting in the <a 
href="https://developer.android.com/guide/topics/manifest/application-element";>documentation
 for Android developers</a>.</p>
+
+<p>To allow clear text communication again, set the 
<code>android:usesCleartextTraffic</code> on your application tag to true in 
<code>config.xml</code> file:</p>
+<div class="highlight"><pre><code class="language-xml" data-lang="xml"><span 
class="nt">&lt;platform</span> <span class="na">name=</span><span 
class="s">"android"</span><span class="nt">&gt;</span>
+  <span class="nt">&lt;edit-config</span> <span class="na">file=</span><span 
class="s">"app/src/main/AndroidManifest.xml"</span> <span 
class="na">mode=</span><span class="s">"merge"</span> <span 
class="na">target=</span><span class="s">"/manifest/application"</span><span 
class="nt">&gt;</span>
+      <span class="nt">&lt;application</span> <span 
class="na">android:usesCleartextTraffic=</span><span class="s">"true"</span> 
<span class="nt">/&gt;</span>
+  <span class="nt">&lt;/edit-config&gt;</span>
+<span class="nt">&lt;/platform&gt;</span>
+</code></pre></div>
+<p>And also you need to add Android XML namespace 
<code>xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;</code>
 to your widget tag in the same <code>config.xml</code>, like so:
+<code>&lt;widget id=&quot;io.cordova.hellocordova&quot; 
version=&quot;0.0.1&quot; android-versionCode=&quot;13&quot; 
xmlns=&quot;http://www.w3.org/ns/widgets&quot; 
xmlns:cdv=&quot;http://cordova.apache.org/ns/1.0&quot; 
xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&gt;
+&lt;/widget&gt;</code></p>
+
+<h3>Android Manifest Information</h3>
+
+<p>You can learn more about the Android manifest information in the <a 
href="https://developer.android.com/guide/topics/manifest/manifest-intro";>documentation
 for Android developers</a>.</p>
+
 <h3>Testing the Activity Lifecycle</h3>
 
 <p>Android provides a developer setting for testing Activity destruction on low

Modified: 
cordova/site/public/docs/en/dev/reference/cordova-plugin-inappbrowser/index.html
URL: 
http://svn.apache.org/viewvc/cordova/site/public/docs/en/dev/reference/cordova-plugin-inappbrowser/index.html?rev=1875214&r1=1875213&r2=1875214&view=diff
==============================================================================
--- 
cordova/site/public/docs/en/dev/reference/cordova-plugin-inappbrowser/index.html
 (original)
+++ 
cordova/site/public/docs/en/dev/reference/cordova-plugin-inappbrowser/index.html
 Sun Mar 15 17:32:44 2020
@@ -2684,7 +2684,6 @@ Only has effect if user has <strong>foot
 <p>iOS supports these additional options:</p>
 
 <ul>
-<li><strong>usewkwebview</strong>: set to <code>yes</code> to use WKWebView 
engine for the InappBrowser. Omit or set to <code>no</code> (default) to use 
UIWebView. Note: Using <code>usewkwebview=yes</code> requires that a WKWebView 
engine plugin be installed in the Cordova project (e.g. <a 
href="https://github.com/apache/cordova-plugin-wkwebview-engine";>cordova-plugin-wkwebview-engine</a>
 or <a 
href="https://github.com/ionic-team/cordova-plugin-ionic-webview";>cordova-plugin-ionic-webview</a>).</li>
 <li><strong>hidden</strong>: set to <code>yes</code> to create the browser and 
load the page, but not show it. The loadstop event fires when loading is 
complete. Omit or set to <code>no</code> (default) to have the browser open and 
load normally.</li>
 <li><strong>beforeload</strong>: set to enable the <code>beforeload</code> 
event to modify which pages are actually loaded in the browser. Accepted values 
are <code>get</code> to intercept only GET requests, <code>post</code> to 
intercept on POST requests or <code>yes</code> to intercept both GET &amp; POST 
requests. Note that POST requests are not currently supported and will be 
ignored (if you set <code>beforeload=post</code> it will raise an error).</li>
 <li><strong>clearcache</strong>: set to <code>yes</code> to have the 
browser&#39;s cookie cache cleared before the new window is opened</li>
@@ -2692,18 +2691,16 @@ Only has effect if user has <strong>foot
 <li><strong>cleardata</strong>: set to <code>yes</code> to have the 
browser&#39;s entire local storage cleared (cookies, HTML5 local storage, 
IndexedDB, etc.) before the new window is opened</li>
 <li><strong>closebuttoncolor</strong>: set as a valid hex color string, for 
example: <code>#00ff00</code>, to change from the default <strong>Done</strong> 
button&#39;s color. Only applicable if toolbar is not disabled.</li>
 <li><strong>closebuttoncaption</strong>: set to a string to use as the 
<strong>Done</strong> button&#39;s caption. Note that you need to localize this 
value yourself.</li>
-<li><strong>disallowoverscroll</strong>: Set to <code>yes</code> or 
<code>no</code> (default is <code>no</code>). Turns on/off the UIWebViewBounce 
property.</li>
+<li><strong>disallowoverscroll</strong>: Set to <code>yes</code> or 
<code>no</code> (default is <code>no</code>). Turns on/off the the bounce of 
the WKWebView&#39;s UIScrollView.</li>
 <li><strong>hidenavigationbuttons</strong>:  set to <code>yes</code> or 
<code>no</code> to turn the toolbar navigation buttons on or off (defaults to 
<code>no</code>). Only applicable if toolbar is not disabled.</li>
 <li><strong>navigationbuttoncolor</strong>:  set as a valid hex color string, 
for example: <code>#00ff00</code>, to change from the default color. Only 
applicable if navigation buttons are visible.</li>
 <li><strong>toolbar</strong>:  set to <code>yes</code> or <code>no</code> to 
turn the toolbar on or off for the InAppBrowser (defaults to 
<code>yes</code>)</li>
 <li><strong>toolbarcolor</strong>: set as a valid hex color string, for 
example: <code>#00ff00</code>, to change from the default color of the toolbar. 
Only applicable if toolbar is not disabled.</li>
 <li><strong>toolbartranslucent</strong>:  set to <code>yes</code> or 
<code>no</code> to make the toolbar translucent(semi-transparent)  (defaults to 
<code>yes</code>). Only applicable if toolbar is not disabled.</li>
 <li><strong>lefttoright</strong>: Set to <code>yes</code> to swap positions of 
the navigation buttons and the close button. Specifically, close button goes to 
the right and navigation buttons to the left.</li>
-<li><strong>enableViewportScale</strong>:  Set to <code>yes</code> or 
<code>no</code> to prevent viewport scaling through a meta tag (defaults to 
<code>no</code>). Only applicable to UIWebView (<code>usewkwebview=no</code>) 
and WKWebView (<code>usewkwebview=yes</code>) on iOS 10+.</li>
-<li><strong>mediaPlaybackRequiresUserAction</strong>: Set to <code>yes</code> 
to prevent HTML5 audio or video from autoplaying (defaults to <code>no</code>). 
Applicable to UIWebView (<code>usewkwebview=no</code>) and WKWebView 
(<code>usewkwebview=yes</code>).</li>
-<li><strong>allowInlineMediaPlayback</strong>: Set to <code>yes</code> or 
<code>no</code> to allow in-line HTML5 media playback, displaying within the 
browser window rather than a device-specific playback interface. The HTML&#39;s 
<code>video</code> element must also include the 
<code>webkit-playsinline</code> attribute (defaults to <code>no</code>). 
Applicable to UIWebView (<code>usewkwebview=no</code>) and WKWebView 
(<code>usewkwebview=yes</code>).</li>
-<li><strong>keyboardDisplayRequiresUserAction</strong>: Set to 
<code>yes</code> or <code>no</code> to open the keyboard when form elements 
receive focus via JavaScript&#39;s <code>focus()</code> call (defaults to 
<code>yes</code>). Only applicable to UIWebView 
(<code>usewkwebview=no</code>).</li>
-<li><strong>suppressesIncrementalRendering</strong>: Set to <code>yes</code> 
or <code>no</code> to wait until all new view content is received before being 
rendered (defaults to <code>no</code>). Only applicable to UIWebView 
(<code>usewkwebview=no</code>).</li>
+<li><strong>enableViewportScale</strong>:  Set to <code>yes</code> or 
<code>no</code> to prevent viewport scaling through a meta tag (defaults to 
<code>no</code>).</li>
+<li><strong>mediaPlaybackRequiresUserAction</strong>: Set to <code>yes</code> 
to prevent HTML5 audio or video from autoplaying (defaults to 
<code>no</code>).</li>
+<li><strong>allowInlineMediaPlayback</strong>: Set to <code>yes</code> or 
<code>no</code> to allow in-line HTML5 media playback, displaying within the 
browser window rather than a device-specific playback interface. The HTML&#39;s 
<code>video</code> element must also include the 
<code>webkit-playsinline</code> attribute (defaults to <code>no</code>).</li>
 <li><strong>presentationstyle</strong>:  Set to <code>pagesheet</code>, 
<code>formsheet</code> or <code>fullscreen</code> to set the <a 
href="http://developer.apple.com/library/ios/documentation/UIKit/Reference/UIViewController_Class/Reference/Reference.html#//apple_ref/occ/instp/UIViewController/modalPresentationStyle";>presentation
 style</a> (defaults to <code>fullscreen</code>).</li>
 <li><strong>transitionstyle</strong>: Set to <code>fliphorizontal</code>, 
<code>crossdissolve</code> or <code>coververtical</code> to set the <a 
href="http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIViewController_Class/Reference/Reference.html#//apple_ref/occ/instp/UIViewController/modalTransitionStyle";>transition
 style</a> (defaults to <code>coververtical</code>).</li>
 <li><strong>toolbarposition</strong>: Set to <code>top</code> or 
<code>bottom</code> (default is <code>bottom</code>). Causes the toolbar to be 
at the top or bottom of the window.</li>

Modified: cordova/site/public/feed.xml
URL: 
http://svn.apache.org/viewvc/cordova/site/public/feed.xml?rev=1875214&r1=1875213&r2=1875214&view=diff
==============================================================================
--- cordova/site/public/feed.xml (original)
+++ cordova/site/public/feed.xml Sun Mar 15 17:32:44 2020
@@ -6,8 +6,8 @@
 </description>
     <link>https://cordova.apache.org/</link>
     <atom:link href="https://cordova.apache.org/feed.xml"; rel="self" 
type="application/rss+xml"/>
-    <pubDate>Sat, 18 Jan 2020 11:17:08 +0000</pubDate>
-    <lastBuildDate>Sat, 18 Jan 2020 11:17:08 +0000</lastBuildDate>
+    <pubDate>Sun, 15 Mar 2020 17:13:37 +0000</pubDate>
+    <lastBuildDate>Sun, 15 Mar 2020 17:13:37 +0000</lastBuildDate>
     <generator>Jekyll v2.5.3</generator>
     
       <item>

Modified: cordova/site/public/static/js/plugins.js
URL: 
http://svn.apache.org/viewvc/cordova/site/public/static/js/plugins.js?rev=1875214&r1=1875213&r2=1875214&view=diff
==============================================================================
--- cordova/site/public/static/js/plugins.js (original)
+++ cordova/site/public/static/js/plugins.js Sun Mar 15 17:32:44 2020
@@ -1,4 +1,4 @@
-!function t(e,n,r){function o(u,s){if(!n[u]){if(!e[u]){var 
a="function"==typeof require&&require;if(!s&&a)return a(u,!0);if(i)return 
i(u,!0);var c=new Error("Cannot find module '"+u+"'");throw 
c.code="MODULE_NOT_FOUND",c}var 
l=n[u]={exports:{}};e[u][0].call(l.exports,function(t){var n=e[u][1][t];return 
o(n?n:t)},l,l.exports,t,e,n,r)}return n[u].exports}for(var i="function"==typeof 
require&&require,u=0;u<r.length;u++)o(r[u]);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 
u(t){this.value=t}function s(){this.id=++ot}function a(t,e){return this 
instanceof a?(s.call(this),void(!e&&L.isFunction(t)||(null!=t?t._isNext:void 
0)?(this.valueF=t,this.valueInternal=void 0):(this.valueF=void 
0,this.valueInternal=t))):new a(t,
 e)}function c(t,e){return this instanceof c?void a.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 
h(){var t=arguments.length<=0||void 
0===arguments[0]?[]:arguments[0];this.unsubscribe=L.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 
d(t,e){this._subscribe=t,this._handleEvent=e,this.subscribe=L.bind(this.subscribe,this),this.handleEvent=L.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?(L.isFunction(t)&&(n=e,e=t,t=i.empty),p.call(this,t),T(e),this.dispatcher=new 
d(e,n),void lt(this)):new v(t,e,n)}function 
y(t,e,n){d.call(this,e,n),this.property=t,this.subscribe=L.b
 ind(this.subscribe,this),this.current=nt,this.currentValueRootId=void 
0,this.propertyEnded=!1}function 
m(t,e,n){p.call(this,t),T(e),this.dispatcher=new y(this,e,n),lt(this)}function 
b(){return this instanceof 
b?(this.unsubAll=L.bind(this.unsubAll,this),this.subscribeAll=L.bind(this.subscribeAll,this),this.guardedSink=L.bind(this.guardedSink,this),this.sink=void
 0,this.subscriptions=[],this.ended=!1,void v.call(this,new 
_.Desc(_,"Bus",[]),this.subscribeAll)):new b}function 
g(t){return[t,st()]}function w(t){this.observable=t}var 
S=Array.prototype.slice,_={toString:function(){return"Bacon"}};_.version="0.7.95";var
 x=("undefined"!=typeof 
t&&null!==t?t:this).Error,C=function(){},E=function(t,e){return 
t},P=function(t){return t.slice(0)},O=function(t,e){if(!e)throw new 
x(t)},D=function(t){if((null!=t?t._isObservable:void 
0)&&!(null!=t?t._isProperty:void 0))throw new x("Observable is not a Property : 
"+t)},k=function(t){if(!(null!=t?t._isEventStream:void 0))throw new x("not an 
EventStream 
 : "+t)},N=function(t){if(!(null!=t?t._isObservable:void 0))throw new x("not an 
Observable : "+t)},T=function(t){return O("not a function : 
"+t,L.isFunction(t))},A=Array.isArray||function(t){return t instanceof 
Array},M=function(t){return t&&t._isObservable},j=function(t){if(!A(t))throw 
new x("not an array : "+t)},I=function(t){return O("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},U=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},W=function(t){return"undefined"!=typeof 
Symbol&&Symbol[t]?Symbol[t]:"undefined"!=typeof Symbol&&"function"==typeof 
Symbol["for"]?Symbol[t]=Symbol["for"](t):"@@"+t},L={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 
A(t)?t:[t]},contains:function(t,e){return 
L.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]?L.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]?L.id:arguments[1],r=0;r<t.length;r++)if(e=t[r],n(
 e))return!0;return!1},without:function(t,e){return L.filter(function(e){return 
e!==t},e)},remove:function(t,e){var n=L.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 
L.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 
$++,null==t?"undefined":L.isFunction(t)?"function":A(t)?$>5?"[..]":"["+L.map(L.toString,t).toString()+"]":null!=(null!=t?t.toString:void
 0)&&t.toString!==Object.prototype.toString?t.toString():"object"==typeof 
t?$>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(L.toString(n)+":"+L.toString(r)));retur
 n e}(),"{"+e+"}"):t}finally{$--}}},$=0;_._=L;var 
F=_.UpdateBarrier=function(){function 
t(t){t<=s||(u[t-1]||(u[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=u[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],a=(i[0],i[1]);n[1]++,t(s+1);var 
c=!1;try{for(a(),c=!0;s>e&&0==u[s-1][0].length;)s--}finally{c||(u=[],s=0)}}}var 
r,o=[],i={},u=[],s=0,a={},c=function(o,i){if(!r&&!u.length)return 
i();t(1);for(var a=0;a<s-1&&!e(o,u[a][0]);)a++;var 
c=u[a][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;)h(0,!0);a={}},h=function(t,e){var 
n=o[t],r=n.id,u=i[r];o.splice(t,1),delete i[r],e&&o.length>0&&d(n);for(var 
s,a=0;a<u.length;a++)(s=u[a])()},d=function(t){if(!a[t.id]){for(var 
e,n=t.internalDeps(),r=0;r<n.leng
 th;r++)if(e=n[r],d(e),i[e.id]){var 
u=L.indexOf(o,e);h(u,!1)}a[t.id]=!0}},v=function(t,e,o,i){if(r)return 
o.apply(e,i);r=t;try{var u=o.apply(e,i);p()}finally{r=void 0,n()}return 
u},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===_.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:L.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}),U(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}),U(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=H([this.context].concat(this.args))),this.cached},toString:function(){return
 
L.toString(this.context)+"."+L.toString(this.method)+"("+L.map(L.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),u=2;u<r;u++)o[u-
 2]=arguments[u];return new i(t,e,o)},B=function(t,e){return 
e.desc=t,e},H=function(t){return 
A(t)?L.flatMap(H,t):M(t)?[t]:("undefined"!=typeof t&&null!==t?t._isSource:void 
0)?[t.obs]:[]};_.Desc=i,_.Desc.empty=new _.Desc("","",[]);var 
q=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,u=r[0];e=function(){return 
i[u].apply(i,arguments)},r=r.slice(1)}return t.apply(void 
0,[e].concat(r))}},z=function(t){return 
t=Array.prototype.slice.call(t),X.apply(void 0,t)},Q=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))}},J=function(t){return function(e){return 
function(n){if("undefined"!=typeof n&&null!==n){var r=n[e];return 
L.isFunction(r)?r.apply(n,t):r}}}},Z=function(t,e){var 
n=t.slice(1).split("."),r=L.map(J(e),n);return function(t){for(var 
e,n=0;n<r.length;n++)e=r[n],t=e(t);return t}},G=function(t){return"s
 tring"==typeof t&&t.length>1&&"."===t.charAt(0)},X=q(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 
L.isFunction(t)?n.length?Q(t,n):t:G(t)?Z(t,n):L.always(t)}),Y=function(t,e){return
 X.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=Y(e,n),r.call(t,e)},tt=function(t){if(L.isFunction(t))return t;if(G(t)){var 
e=et(t);return function(t,n){return t[e](n)}}throw new x("not a function or a 
field key: "+t)},et=function(t){return 
t.slice(1)};R(u.prototype,{_isSome:!0,getOrElse:function(){return 
this.value},get:function(){return this.value},filter:function(t){return 
t(this.value)?new u(this.value):nt},map:function(t){return new 
u(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 u(t)};_.noMore="<no-more>",_.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()},U(a,s),a.prototype.isNext=function(){return!0},a.pro
 totype.hasValue=function(){return!0},a.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},a.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())}))},a.prototype.apply=function(t){return new 
a(t)},a.prototype.filter=function(t){return 
t(this.value())},a.prototype.toString=function(){return 
L.toString(this.value())},a.prototype.log=function(){return 
this.value()},a.prototype._isNext=!0,U(c,a),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 
a(this)},U(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>"},U(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> 
"+L.toString(this.error)},_.Event=s,_.Initial=c,_.Next=a,_.End=l,_.Error=f;var 
it=function(t){return new c(t,(!0))},ut=function(t){return new 
a(t,(!0))},st=function(){return new l},at=function(t){return 
t&&t._isEvent?t:ut(t)},ct=0,lt=function(){};R(p.prototype,{_isObservable:!0,subscribe:function(t){return
 F.wrappedSubscribe(this,t)},subscribeInternal:function(t){return 
this.dispatcher.subscribe(t)},onValue:function(){var t=z(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=z(arguments);return 
this.subscribe(function(e){if(e.isError())return 
t(e.error)})},onEnd:function(){var t=z(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,_.Observable=p,R(h.prototype,{add:function(t){var
 e=this;if(!this.unsubscribed){var n=!1,r=C;this.starting.push(t);var 
o=function(){if(!e.unsubscribed)return 
n=!0,e.remove(r),L.remove(t,e.starting)};return 
r=t(this.unsubscribe,o),this.unsubscribed||n?r():this.subscriptions.push(r),L.remove(t,this.starting),r}},remove:function(t){if(!this.unsubscribed)return
 void 0!==L.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()}}),_.CompositeUnsubscribe=h,d.prototype.hasSubscribers=function(){return
 this.subscriptions.length>0},d.prototype.removeSub=function(t){return 
this.subscriptions=L.without(t,this.subscriptions),this.subscriptions},d.prototype.push=function(t){return
 
t.isEnd()&&(this.ended=!0),F.inTransaction(t,this,this.pushIt,[t])},d.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===_.noMore||t.isEnd())&&this.removeSub(o)}return!0}catch(u){throw
 
this.pushing=!1,this.queue=[],u}},d.prototype.pushIt=function(t){if(this.pushing)return
 
this.queue.push(t),_.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()?_.more:(this.unsubscribeFromSource(),_.noMore)}},d.prototype.handleEvent=function(t){return
 
this._handleEvent?this._handleEvent(t):this.push(t)},d.prototype.unsubscribeFromSource=function(){this.unsubSrc&&this.unsubSrc(),this.unsubSrc=void
 0},d.prototype.subscribe=function(t){var e;return 
this.ended?(t(st()),C):(T(t),e={sink:t},this.subscriptions.push(e),1===this.subscriptions.length&&(this.unsubSrc=this._subscribe(this.handleEvent),T(this.unsubSrc)),function(t){return
 function(){if(t.removeSub(e),!t.hasSubscribers())return 
t.unsubscribeFromSource()}}(this))},_.Dispatcher=d,U(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 
_.Desc(this,"toProperty",[t]);return new m(r,function(t){var 
r=!1,o=!1,i=C,s=_.more,a=function(){if(!r)return 
e.forEach(function(e){if(r=!0,s=t(new c(e)),s===_.noMore)return 
i(),i=C,C})};return i=n.subscribe(function(n){return 
n.hasValue()?n.isInitial()&&!o?(e=n
 ew u(function(){return n.value()}),_.more):(n.isInitial()||a(),r=!0,e=new 
u(n),t(n)):(n.isEnd()&&(s=a()),s!==_.noMore?t(n):void 
0)}),o=!0,a(),i})},toEventStream:function(){return 
this},withHandler:function(t){return new v(new 
_.Desc(this,"withHandler",[t]),this.dispatcher.subscribe,t)}}),_.EventStream=v,_.never=function(){return
 new v(V(_,"never"),function(t){return 
t(st()),C})},_.when=function(){if(0===arguments.length)return _.never();var 
t=arguments.length,e="when: expecting arguments in the form 
(Observable+,function)+";O(e,t%2===0);for(var 
r=[],o=[],i=0,u=[];i<t;){u[i]=arguments[i],u[i+1]=arguments[i+1];for(var 
s,a=L.toArray(arguments[i]),c=pt(arguments[i+1]),l={f:c,ixs:[]},f=!1,p=0;p<a.length;p++){s=a[p];var
 h=L.indexOf(r,s);f||(f=n.isTrigger(s)),h<0&&(r.push(s),h=r.length-1);for(var 
d,y=0;y<l.ixs.length;y++)d=l.ixs[y],d.index===h&&d.count++;l.ixs.push({index:h,count:1})}O("At
 least one EventStream 
required",f||!a.length),a.length>0&&o.push(l),i+=2}if(!r.length)return _.never(
 );r=L.map(n.fromObservable,r);var m=L.any(r,function(t){return 
t.flatten})&&ft(L.map(function(t){return t.obs},r)),b=new 
_.Desc(_,"when",u),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},u=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},a=function(t){return!t.source.flatten},c=function(c){return
 function(l){var f=function(){return 
F.whenDoneWith(g,h)},p=function(){if(!(e.length>0))return _.more;for(var 
n,u=_.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 u=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=L.filter(a,e)),u===_.noMore?u:p()}},h=function(){var
 e=p();return n&&(L.all(
 r,u)||L.all(o,s))&&(e=_.noMore,t(st())),e===_.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||F.hasWaiters()?f():h());return 
o===_.noMore&&l(),o||_.more})}};return new 
_.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(L.contains(e,t))return!0;var 
r=t.internalDeps();return 
r.length?(e.push(t),L.any(r,n)):(e.push(t),!1)};return 
L.any(t,n)},pt=function(t){return 
L.isFunction(t)?t:L.always(t)};_.groupSimultaneous=function(){for(var 
t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];1===e.length&&A(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 _.Desc(_,"groupSimultaneous",e),_.when(r,function(){for(var 
t=arguments.length,e=A
 rray(t),n=0;n<t;n++)e[n]=arguments[n];return 
e}))},U(y,d),R(y.prototype,{push:function(t){return 
t.isEnd()&&(this.propertyEnded=!0),t.hasValue()&&(this.current=new 
u(t),this.currentValueRootId=F.currentEventId()),d.prototype.push.call(this,t)},maybeSubSource:function(t,e){return
 
e===_.noMore?C:this.propertyEnded?(t(st()),C):d.prototype.subscribe.call(this,t)},subscribe:function(t){var
 
e=this,n=_.more;if(this.current.isDefined&&(this.hasSubscribers()||this.propertyEnded)){var
 
r=F.currentEventId(),o=this.currentValueRootId;return!this.propertyEnded&&o&&r&&r!==o?(F.whenDoneWith(this.property,function(){if(e.currentValueRootId===o)return
 
t(it(e.current.get().value()))}),this.maybeSubSource(t,n)):(F.inTransaction(void
 0,this,function(){return 
n=t(it(this.current.get().value()))},[]),this.maybeSubSource(t,n))}return 
this.maybeSubSource(t,n)}}),U(m,p),R(m.prototype,{_isProperty:!0,changes:function(){var
 t=this;return new v(new _.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 
_.Desc(this,"withHandler",[t]),this.dispatcher.subscribe,t)},toProperty:function(){return
 I(arguments),this},toEventStream:function(){var t=this;return new v(new 
_.Desc(this,"toEventStream",[]),function(e){return 
t.dispatcher.subscribe(function(t){return 
t.isInitial()&&(t=t.toNext()),e(t)})})}}),_.Property=m,_.constant=function(t){return
 new m(new _.Desc(_,"constant",[t]),function(e){return 
e(it(t)),e(st()),C})},_.fromBinder=function(t){var e=arguments.length<=1||void 
0===arguments[1]?L.id:arguments[1],n=new _.Desc(_,"fromBinder",[t,e]);return 
new v(n,function(n){var r=!1,o=!1,i=function(){if(!r)return"undefined"!=typeof 
u&&null!==u?(u(),r=!0):o=!0},u=t(function(){for(var 
t,r=arguments.length,o=Array(r),u=0;u<r;u++)o[u]=arguments[u];var 
s=e.apply(this,o);A(s)&&(null!=(t=L.last(s))?t._isEvent:void 
0)||(s=[s]);for(var 
a,c=_.more,l=0;l<s.length;l++)if(a=s[l],c=n(a=at(a)),c===_.noMore||a.isEnd()
 )return i(),c;return c});return 
o&&i(),i})},_.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 
_.Desc(this,"map",[t]),this.withHandler(function(e){return 
this.push(e.fmap(t))}))})};var ht=function(t){return 
A(t[0])?t[0]:Array.prototype.slice.call(t)},dt=function(t){return 
L.isFunction(t[0])?[ht(Array.prototype.slice.call(t,1)),t[0]]:[ht(Array.prototype.slice.call(t,0,t.length-1)),L.last(t)]};_.combineAsArray=function(){var
 t=ht(arguments);if(t.length){for(var e=[],r=0;r<t.length;r++){var 
o=M(t[r])?t[r]:_.constant(t[r]);e.push(new n(o,(!0)))}return B(new 
_.Desc(_,"combineAsArray",t),_.when(e,function(){for(var 
t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return 
e}).toProperty())}return _.constant([])},_.onValues=function(){return 
_.combineAsArray(Array.prototype.slice.call(arguments,0,arguments.length-1)).onValues(arguments[arguments.length-1])},_.combineWith=fu
 nction(){var t=dt(arguments),e=t[0],n=t[1],r=new 
_.Desc(_,"combineWith",[n].concat(e));return 
B(r,_.combineAsArray(e).map(function(t){return n.apply(void 
0,t)}))},_.Observable.prototype.combine=function(t,e){var n=tt(e),r=new 
_.Desc(this,"combine",[t,e]);return 
B(r,_.combineAsArray(this,t).map(function(t){return 
n(t[0],t[1])}))},_.Observable.prototype.withStateMachine=function(t,e){var 
n=t,r=new _.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 
u,s=_.more,a=0;a<i.length;a++)if(u=i[a],s=this.push(u),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};_.Observable.prototype.skipDuplicates=function(){var 
t=arguments.length<=0||void 0===arguments[0]?vt:arguments[0],e=new 
_.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 
u(n.value()),[n]]:[
 e,[]]:[e,[n]]}))},_.Observable.prototype.awaiting=function(t){var e=new 
_.Desc(this,"awaiting",[t]);return 
B(e,_.groupSimultaneous(this,t).map(function(t){return 
0===t[1].length}).toProperty(!1).skipDuplicates())},_.Observable.prototype.not=function(){return
 B(new 
_.Desc(this,"not",[]),this.map(function(t){return!t}))},_.Property.prototype.and=function(t){return
 B(new _.Desc(this,"and",[t]),this.combine(t,function(t,e){return 
t&&e}))},_.Property.prototype.or=function(t){return B(new 
_.Desc(this,"or",[t]),this.combine(t,function(t,e){return 
t||e}))},_.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()}},_.EventStream.prototype.bufferWithTime=function(t){return 
B(new 
_.Desc(this,"bufferWithTime",[t]),this.bufferWithTimeOrCount(t,Number.MAX_VALUE))},_.EventStream.prototype.bufferWithCoun
 t=function(t){return B(new 
_.Desc(this,"bufferWithCount",[t]),this.bufferWithTimeOrCount(void 
0,t))},_.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 _.Desc(this,"bufferWithTimeOrCount",[t,e]);return 
B(r,this.buffer(t,n,n))},_.EventStream.prototype.buffer=function(t){var 
e=arguments.length<=1||void 
0===arguments[1]?C:arguments[1],n=arguments.length<=2||void 
0===arguments[2]?C:arguments[2],r={scheduled:null,end:void 
0,values:[],flush:function(){if(this.scheduled&&(_.scheduler.clearTimeout(this.scheduled),this.scheduled=null),this.values.length>0){var
 t=this.values;this.values=[];var e=this.push(ut(t));if(null!=this.end)return 
this.push(this.end);if(e!==_.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=_.more;if(!L.isFunction(t)){var i=t;t=function(t){
 return _.scheduler.setTimeout(t,i)}}return B(new 
_.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}))},_.Observable.prototype.filter=function(t){D(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 
_.Desc(this,"filter",[t]),this.withHandler(function(e){return 
e.filter(t)?this.push(e):_.more}))})},_.once=function(t){return new v(new 
i(_,"once",[t]),function(e){return 
e(at(t)),e(st()),C})},_.EventStream.prototype.concat=function(t){var 
e=this;return new v(new _.Desc(e,"concat",[t]),function(n){var 
r=C,o=e.dispatcher.subscribe(function(e){return 
e.isEnd()?r=t.toEventStream().dispatcher.subscribe(n):n(e)});return 
function(){return o(),r()}})},_.Property.prototype.concat=function(t){return 
mt(this,this.changes().concat(t))},_.concatAll=function(){var t=ht(
 arguments);return t.length?B(new 
_.Desc(_,"concatAll",t),L.fold(L.tail(t),L.head(t).toEventStream(),function(t,e){return
 t.concat(e)})):_.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),_.noMore});return 
F.whenDoneWith(n,function(){return"undefined"!=typeof 
r&&null!==r&&e(r),e(st())}),o});return 
n.concat(e).toProperty()};_.Observable.prototype.flatMap=function(){return 
wt(this,bt(arguments))},_.Observable.prototype.flatMapFirst=function(){return 
wt(this,bt(arguments),!0)};var bt=function(t){return 
1===t.length&&M(t[0])?L.always(t[0]):z(t)},gt=function(t){return 
M(t)?t:_.once(t)},wt=function(t,e,n,r){var o=[t],i=[],u=new 
_.Desc(t,"flatMap"+(n?"First":""),[e]),s=new v(u,function(o){var u=new 
h,s=[],a=function(t){var n=gt(e(t.value()));return 
i.push(n),u.add(function(t,e){return 
n.dispatcher.subscribe(function(r){if(r.isEnd())return 
L.remove(n,i),c(),l(e),_.noMore;("undefined"!=typeof r
 &&null!==r?r._isInitial:void 0)&&(r=r.toNext());var u=o(r);return 
u===_.noMore&&t(),u})})},c=function(){var t=s.shift();if(t)return 
a(t)},l=function(t){if(t(),u.empty())return o(st())};return 
u.add(function(e,i){return t.dispatcher.subscribe(function(t){return 
t.isEnd()?l(i):t.isError()?o(t):n&&u.count()>1?_.more:u.unsubscribed?_.noMore:r&&u.count()>r?s.push(t):a(t)})}),u.unsubscribe});return
 s.internalDeps=function(){return 
i.length?o.concat(i):o},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 _.Desc(this,"flatMapWithConcurrencyLimit",[t].concat(n));return 
B(o,wt(this,bt(n),!1,t))},_.Observable.prototype.flatMapConcat=function(){var 
t=new 
_.Desc(this,"flatMapConcat",Array.prototype.slice.call(arguments,0));return 
B(t,this.flatMapWithConcurrencyLimit.apply(this,[1].concat(S.call(arguments))))},_.later=function(t,e){return
 B(new _.Desc(_,"later",[t,e]),_.fromBinder(function(n){v
 ar r=function(){return n([e,st()])},o=_.scheduler.setTimeout(r,t);return 
function(){return 
_.scheduler.clearTimeout(o)}}))},_.Observable.prototype.bufferingThrottle=function(t){var
 e=new _.Desc(this,"bufferingThrottle",[t]);return 
B(e,this.flatMapConcat(function(e){return 
_.once(e).concat(_.later(t).filter(!1))}))},_.Property.prototype.bufferingThrottle=function(){return
 
_.Observable.prototype.bufferingThrottle.apply(this,arguments).toProperty()},U(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=P(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),_.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(ut(t))}finally{if(e&&this.pushQueue){for(var 
n=0;n<this.pushQueue.length;){var 
t=this.pushQueue[n];this.sink(ut(t)),n++}this.pushQueue=null}this.pushing=!1}}},error:function(t){if("function"==typeof
 this.sink)return this.sink(new f(t))}}),_.Bus=b;var St=function(t,e){return 
q(function(n){for(var r=Q(e,[function(t,e){return n.apply(void
  
0,t.concat([e]))}]),o=arguments.length,i=Array(o>1?o-1:0),u=1;u<o;u++)i[u-1]=arguments[u];return
 B(new 
_.Desc(_,t,[n].concat(i)),_.combineAsArray(i).flatMap(r))})};_.fromCallback=St("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 
_.fromBinder(function(e){return 
Y(t,n)(e),C},function(t){return[t,st()]})}),_.fromNodeCallback=St("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 
_.fromBinder(function(e){return Y(t,n)(e),C},function(t,e){return t?[new 
f(t),st()]:[e,st()]})}),_.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 A(t)?[]:{}}function u(t,e){return 
function(r){var o=i(e);n(r,t,o),r.push(o)}}function 
s(t){if(M(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 a(t,e){if(M(e))p.push(e),
-f.push(r(t,p.length-1));else if(s(e)){var 
n=function(t){t.pop()};f.push(u(t,e)),l(e),f.push(n)}else 
f.push(o(t,e))}function c(e){for(var 
n,r=i(t),o=[r],u=0;u<f.length;u++)(n=f[u])(o,e);return r}function 
l(t){L.each(t,a)}var 
f=[],p=[],h=s(t)?(l(t),_.combineAsArray(p).map(c)):_.constant(t);return B(new 
_.Desc(_,"combineTemplate",[t]),h)},_.Observable.prototype.mapEnd=function(){var
 t=z(arguments);return B(new 
_.Desc(this,"mapEnd",[t]),this.withHandler(function(e){return 
e.isEnd()?(this.push(ut(t(e))),this.push(st()),_.noMore):this.push(e)}))},_.Observable.prototype.skipErrors=function(){return
 B(new _.Desc(this,"skipErrors",[]),this.withHandler(function(t){return 
t.isError()?_.more:this.push(t)}))},_.EventStream.prototype.takeUntil=function(t){var
 e={};return B(new 
_.Desc(this,"takeUntil",[t]),_.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,u=_.more,s=0;s<r.length;s++
 )i=r[s],u=i===e?this.push(st()):this.push(ut(i));return u}return 
this.push(t)}))},_.Property.prototype.takeUntil=function(t){var 
e=this.changes().takeUntil(t);return B(new 
_.Desc(this,"takeUntil",[t]),mt(this,e))},_.Observable.prototype.flatMapLatest=function(){var
 t=bt(arguments),e=this.toEventStream();return B(new 
_.Desc(this,"flatMapLatest",[t]),e.flatMap(function(n){return 
gt(t(n)).takeUntil(e)}))},_.Property.prototype.delayChanges=function(t,e){return
 
B(t,mt(this,e(this.changes())))},_.EventStream.prototype.delayChanges=function(t,e){return
 B(t,e(this))},_.Observable.prototype.delay=function(t){return 
this.delayChanges(new _.Desc(this,"delay",[t]),function(e){return 
e.flatMap(function(e){return 
_.later(t,e)})})},_.Observable.prototype.debounce=function(t){return 
this.delayChanges(new _.Desc(this,"debounce",[t]),function(e){return 
e.flatMapLatest(function(e){return 
_.later(t,e)})})},_.Observable.prototype.debounceImmediate=function(t){return 
this.delayChanges(new _.Desc(this,"de
 bounceImmediate",[t]),function(e){return e.flatMapFirst(function(e){return 
_.once(e).concat(_.later(t).filter(!1))})})},_.Observable.prototype.decode=function(t){return
 B(new 
_.Desc(this,"decode",[t]),this.combine(_.combineTemplate(t),function(t,e){return
 e[t]}))},_.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,a=C,l=_.more,f=function(){if(!s)return 
o.forEach(function(e){if(s=i=!0,l=t(new c(function(){return 
e})),l===_.noMore)return a(),a=C})};return 
a=r.dispatcher.subscribe(function(n){if(n.hasValue()){if(i&&n.isInitial())return
 _.more;n.isInitial()||f(),s=i=!0;var r=o.getOrElse(void 
0),a=e(r,n.value());return o=new u(a),t(n.apply(function(){return 
a}))}if(n.isEnd()&&(l=f()),l!==_.noMore)return 
t(n)}),F.whenDoneWith(n,f),a};return n=new m(new 
_.Desc(this,"scan",[t,e]),s)},_.Observable.prototype.diff=function(t,e){return 
e=tt(e),B(new 
_.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]}))},_.Observable.prototype.doAction=function(){var t=z(arguments);return 
B(new _.Desc(this,"doAction",[t]),this.withHandler(function(e){return 
e.hasValue()&&t(e.value()),this.push(e)}))},_.Observable.prototype.doEnd=function(){var
 t=z(arguments);return B(new 
_.Desc(this,"doEnd",[t]),this.withHandler(function(e){return 
e.isEnd()&&t(),this.push(e)}))},_.Observable.prototype.doError=function(){var 
t=z(arguments);return B(new 
_.Desc(this,"doError",[t]),this.withHandler(function(e){return 
e.isError()&&t(e.error),this.push(e)}))},_.Observable.prototype.doLog=function(){for(var
 t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return B(new 
_.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)}))},_.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 
_.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 
_.Desc(this,"errors",[]),this.filter(function(){return!1}))},_.Observable.prototype.take=function(t){return
 t<=0?_.never():B(new 
_.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()),_.noMore)):this.push(e)}))},_.Observable.prototype.first=function(){return
 B(new 
_.Desc(this,"first",[]),this.take(1))},_.Observable.prototype.mapError=function(){var
 t=z(arguments);return B(new 
_.Desc(this,"mapError",[t]),this.withHandler(function(e){return 
e.isError()?this.push(ut(t(e.error))):this.push(e)}))},_.Observable.prototype.flatMapError=function(t){var
 e=new _.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):_.once(e)}))},_.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)},_.EventStream.prototype.sampledBy=function(t,e){return 
B(new 
_.Desc(this,"sampledBy",[t,e]),this.toProperty().sampledBy(t,e))},_.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),u=_.when([o,i],e),s=t._isProperty?u.toProperty():u;return B(new 
_.Desc(this,"sampledBy",[t,e]),s)},_.Property.prototype.sample=function(t){return
 B(new 
_.Desc(this,"sample",[t]),this.sampledBy(_.interval(t,{})))},_.Observable.prototype.map=function(t){if(t&&t._isProperty)return
 t.sampledBy(this,E);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 _.Desc(this,"map",[t]),this.wi
 thHandler(function(e){return 
this.push(e.fmap(t))}))})},_.Observable.prototype.fold=function(t,e){return 
B(new 
_.Desc(this,"fold",[t,e]),this.scan(t,e).sampledBy(this.filter(!1).mapEnd().toProperty()))},p.prototype.reduce=p.prototype.fold;var
 
_t=[["addEventListener","removeEventListener"],["addListener","removeListener"],["on","off"],["bind","unbind"]],xt=function(t){for(var
 e,n=0;n<_t.length;n++){e=_t[n];var r=[t[e[0]],t[e[1]]];if(r[0]&&r[1])return 
r}for(var o=0;o<_t.length;o++){e=_t[o];var 
i=t[e[0]];if(i)return[i,function(){}]}throw new f("No suitable event methods in 
"+t)};_.fromEventTarget=function(t,e,n){var r=xt(t),o=r[0],i=r[1],u=new 
_.Desc(_,"fromEvent",[t,e]);return B(u,_.fromBinder(function(n){return 
o.call(t,e,n),function(){return 
i.call(t,e,n)}},n))},_.fromEvent=_.fromEventTarget,_.fromPoll=function(t,e){var 
n=new _.Desc(_,"fromPoll",[t,e]);return B(n,_.fromBinder(function(e){var 
n=_.scheduler.setInterval(e,t);return function(){return 
_.scheduler.clearInterval(n)}},e))},
 _.fromPromise=function(t,e){var n=arguments.length<=2||void 
0===arguments[2]?g:arguments[2];return B(new 
_.Desc(_,"fromPromise",[t]),_.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))},_.Observable.prototype.groupBy=function(t){var 
e=arguments.length<=1||void 
0===arguments[1]?_._.id:arguments[1],n={},r=this;return 
r.filter(function(e){return!n[t(e)]}).map(function(o){var 
i=t(o),u=r.filter(function(e){return 
t(e)===i}),s=_.once(o).concat(u),a=e(s,o).withHandler(function(t){if(this.push(t),t.isEnd())return
 delete n[i]});return n[i]=a,a})},_.fromArray=function(t){if(j(t),t.length){var 
e=0,n=new v(new _.Desc(_,"fromArray",[t]),function(r){function 
o(){if(a=!0,!s){for(s=!0;a;)if(a=!1,u!==_.noMore&&!i){var 
c=t[e++];u=r(at(c)),u!==_.noMore&&(e===t.length?r(st()):F.afterTransaction(n,o))}return
 s=!1}}var i=!1,u=_.more,s=!1,a=!1;return o(),functio
 n(){return i=!0}});return n}return B(new 
_.Desc(_,"fromArray",t),_.never())},_.EventStream.prototype.holdWhen=function(t){var
 e=!1,n=[],r=this,o=!1;return new v(new 
_.Desc(this,"holdWhen",[t]),function(i){var u=new 
h,s=!1,a=function(t){if("function"==typeof t&&t(),u.empty()&&s)return 
i(st())};return u.add(function(r,u){return 
t.subscribeInternal(function(t){if(!t.hasValue())return 
t.isEnd()?a(u):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(ut(t)));return 
o&&(e.push(i(st())),u()),e}()}})}),u.add(function(t,u){return 
r.subscribeInternal(function(t){return 
e&&t.hasValue()?n.push(t.value()):t.isEnd()&&n.length?(o=!0,a(u)):i(t)})}),s=!0,a(),u.unsubscribe})},_.interval=function(t){var
 e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return B(new 
_.Desc(_,"interval",[t,e]),_.fromPoll(t,function(){return 
ut(e)}))},_.$={},_.$.asEventStream=function(t,e,n){var r=this;return 
L.isFunction(e)&&(n=e,e=void 0),B(new _.Desc(thi
 s.selector||this,"asEventStream",[t]),_.fromBinder(function(n){return 
r.on(t,e,n),function(){return r.off(t,e,n)}},n))},"undefined"!=typeof 
jQuery&&jQuery&&(jQuery.fn.asEventStream=_.$.asEventStream),"undefined"!=typeof 
Zepto&&Zepto&&(Zepto.fn.asEventStream=_.$.asEventStream),_.Observable.prototype.last=function(){var
 t;return B(new _.Desc(this,"last",[]),this.withHandler(function(e){return 
e.isEnd()?(t&&this.push(t),this.push(st()),_.noMore):void(t=e)}))},_.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},_.EventStream.prototype.merge=function(t){k(t);var
 e=this;return B(new 
_.Desc(e,"merge",[t]),_.mergeAll(this,t))},_.mergeAll=function(){var 
t=ht(arguments);return t.length?new v(new 
_.Desc(_,"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()):_.more;var 
i=e(r);return i===_.noMore&&o(),i})}},o=L.map(r,t);return new 
_.CompositeUnsubscribe(o).unsubscribe}):_.never()},_.repeatedly=function(t,e){var
 n=0;return B(new _.Desc(_,"repeatedly",[t,e]),_.fromPoll(t,function(){return 
e[n++%e.length]}))},_.repeat=function(t){var e=0;return 
_.fromBinder(function(n){function r(t){return 
t.isEnd()?i?o():i=!0:u=n(t)}function o(){var 
o;for(i=!0;i&&u!==_.noMore;)o=t(e++),i=!1,o?s=o.subscribeInternal(r):n(st());return
 i=!0}var i=!1,u=_.more,s=function(){};return o(),function(){return 
s()}})},_.retry=function(t){if(!L.isFunction(t.source))throw new x("'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},u=!1,s=null;return B(new 
_.Desc(_,"retry",[t]),_.repeat(function(t){function a(){return 
e(t).endOnError().withHandler(function(t){return 
t.isError()?(s=t,i(s.error)&&(0===n||r<n)?void 0:(u=!0
 ,this.push(t))):(t.hasValue()&&(s=null,u=!0),this.push(t))})}if(u)return 
null;if(s){var 
c={error:s.error,retriesDone:r},l=_.later(o(c)).filter(!1);return 
r++,l.concat(_.once().flatMap(a))}return 
a()}))},_.sequentially=function(t,e){var n=0;return B(new 
_.Desc(_,"sequentially",[t,e]),_.fromPoll(t,function(){var t=e[n++];return 
n<e.length?t:n===e.length?[t,st()]:st()}))},_.Observable.prototype.skip=function(t){return
 B(new _.Desc(this,"skip",[t]),this.withHandler(function(e){return 
e.hasValue()&&t>0?(t--,_.more):this.push(e)}))},_.EventStream.prototype.skipUntil=function(t){var
 e=t.take(1).map(!0).toProperty(!1);return B(new 
_.Desc(this,"skipUntil",[t]),this.filter(e))},_.EventStream.prototype.skipWhile=function(t){D(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 
_.Desc(this,"skipWhile",[t]),this.withHandler(function(n){return!e&&n.hasValue()&&t(n.value())?_.more:(n.hasValue()&&(e=!0),this.push(n))}))})}
 ,_.Observable.prototype.slidingWindow=function(t){var 
e=arguments.length<=1||void 0===arguments[1]?0:arguments[1];return B(new 
_.Desc(this,"slidingWindow",[t,e]),this.scan([],function(e,n){return 
e.concat([n]).slice(-t)}).filter(function(t){return t.length>=e}))};var 
Ct=[],lt=function(t){if(Ct.length&&!lt.running)try{lt.running=!0,Ct.forEach(function(e){e(t)})}finally{delete
 lt.running}};_.spy=function(t){return 
Ct.push(t)},_.Property.prototype.startWith=function(t){return B(new 
_.Desc(this,"startWith",[t]),this.scan(t,function(t,e){return 
e}))},_.EventStream.prototype.startWith=function(t){return B(new 
_.Desc(this,"startWith",[t]),_.once(t).concat(this))},_.Observable.prototype.takeWhile=function(t){D(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 
_.Desc(this,"takeWhile",[t]),this.withHandler(function(e){return 
e.filter(t)?this.push(e):(this.push(st()),_.noMore)}))})},_.Observable.prototype.throttle=functi
 on(t){return this.delayChanges(new 
_.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 
x("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),_.noMore})})},p.prototype.toPromise=function(t){return
 this.last().firstToPromise(t)},_["try"]=function(t){return 
function(e){try{return _.once(t(e))}catch(n){return new 
_.Error(n)}}},_.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]=L.always(r[i])),r[i]=e(r[i]),i-=2;return B(new _.Desc(_,"u
 pdate",[t].concat(r)),_.when.apply(_,r).scan(t,function(t,e){return 
e(t)}))},_.zipAsArray=function(){for(var 
t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=ht(e);return 
B(new _.Desc(_,"zipAsArray",r),_.zipWith(r,function(){for(var 
t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return 
e}))},_.zipWith=function(){for(var 
t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var 
r=dt(e),o=r[0],i=r[1];return o=L.map(function(t){return 
t.toEventStream()},o),B(new 
_.Desc(_,"zipWith",[i].concat(o)),_.when(o,i))},_.Observable.prototype.zip=function(t,e){return
 B(new 
_.Desc(this,"zip",[t]),_.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[W("observable")]=function(){return 
this},_.Observable.prototype.toESObservable=function(){return new 
w(this)},_.Observable.prototype[W("observable")]=_.Observable.prototype.toESObservable,_.fromESObservable=function(t){var
 e;e=t[W("observable")]?t[W("observable")]():t;var n=new 
_.Desc(_,"fromESObservable",[e]);return new _.EventStream(n,function(t){var 
n=e.subscribe({error:function(){t(new _.Error),t(new 
_.End)},next:function(e){t(new _.Next(e,(!0)))},complete:function(){t(new 
_.End)}});return 
n.unsubscribe?function(){n.unsubscribe()}:n})},"undefined"!=typeof 
define&&null!==define&&null!=define.amd?(define([],function(){return 
_}),"undefined"!=typeof this&&null!==this&&(this.Bacon=_)):"undefined"!=typeof 
e&&null!==e&&null!=e.exports?(e.exports=_,_.Bacon=_):this.Bacon=_}).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 u=t.apply(null,o);u&&e.push(u)}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&&C(t.attributes,e.defaultProps),n&&C(t.attributes,n)}function
 u(t,e){var n,r,o;if(e){for
 (o in e)if(n=z.test(o))break;if(n){r=t.attributes={};for(o in 
e)e.hasOwnProperty(o)&&(r[z.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
 u=e.render(t,n,o);return 
n&&(n._preactCompatRendered=u&&(u._component||{base:u})),"function"==typeof 
r&&r(),u&&u._component||u}function a(t,n,r,o){var 
i=e.h(K,{context:t.context},n),u=s(i,r),a=u._component||u.base;return 
o&&o.call(a,u),a}function c(t){a(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 h(t,e){for(var n=e||0;n<t.length;n++){var 
r=t[n];Array.isArray(r)?h(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
 d(t){return"function"==typeof t&&!(t.prototype&&t.prototype.render)}function 
v(t){return D({displayName:t.displayName||t.name,render:function(){return 
t(this.props,this.context)}})}function y(t){var e=t[H];return 
e?e===!0?t:e:(e=v(t),Object.defineProperty(e,H,{configurable:!0,value:!0}),e.displayName=t.displayName,e.propTypes=t.propTypes,e.defaultProps=t.defaultProps,Object.defineProperty(t,H,{configurable:!0,value:e}),e)}function
 m(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return 
h(t,2),b(e.h.apply(void 0,t))}function 
b(t){t.preactCompatNormalized=!0,x(t),d(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=S(e,tt)),_(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,u=e.h(t.nodeName
 ||t.type,C({},i),t.children||i&&i.children),s=[u,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 G||t.$$typeof===B)}function 
S(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 _(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]=M([n[i],n[r.onchange]]),delete 
n[r.onchange])}}}function x(t){var 
e=t.attributes||(t.attributes={});it.enumerable="className"in 
e,e.className&&(e["class"]=e.className),Object.defineProperty(e,"className",it)}function
 C(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 E(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 
P(t){return t&&(t.base||1===t.nodeType&&t)||null}function O(){}function 
D(t){function e(t,e){T(this),W.call(this,t,e,Q),j.call(this,t,e)}return 
t=C({constructor:e},t),t.mixins&&N(t,k(t.mixins)),t.statics&&C(e,t.statics),t.propTypes&&(e.propTypes=t.propTypes),t.defaultProps&&(e.defaultProps=t.defaultProps),t.getDefaultProps&&(e.defaultProps=t.getDefaultProps.call(e)),O.prototype=W.prototype,e.prototype=C(new
 O,t),e.displayName=t.displayName||"Component",e}function k(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]=M(e[n].concat(t[n]||et),"getDefaultProps"===n||"getInitialState"===n||"getChildContext"===n))}function
 T(t){for(var e in t){var n=t[e];"function"!=typeof 
n||n.__bound||q.hasOwnProperty(e)||((t
 [e]=n.bind(t)).__bound=!0)}}function A(t,e,n){if("string"==typeof 
e&&(e=t.constructor.prototype[e]),"function"==typeof e)return 
e.apply(t,n)}function M(t,e){return function(){for(var 
n,r=arguments,o=this,i=0;i<t.length;i++){var 
u=A(o,t[i],r);if(e&&null!=u){n||(n={});for(var s in 
u)u.hasOwnProperty(s)&&(n[s]=u[s])}else"undefined"!=typeof u&&(n=u)}return 
n}}function 
j(t,e){I.call(this,t,e),this.componentWillReceiveProps=M([I,this.componentWillReceiveProps||"componentWillReceiveProps"]),this.render=M([I,R,this.render||"render",U])}function
 I(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 
G)&&(e.children=r[0],e.children&&"object"==typeof 
e.children&&(e.children.length=1,e.children[0]=e.children)),J){var 
o="function"==typeof 
this?this:this.constructor,i=this.propTypes||o.propTypes,u=this.displayName||o.name;i&&t.checkPropTypes(i,e,"prop",u)}}}function
 R(t){tt=this}function U(){tt===this&&(tt=null)}function
  
W(t,n,r){e.Component.call(this,t,n),this.state=this.getInitialState?this.getInitialState():{},this.refs={},this._refProxies={},r!==Q&&j.call(this,t,n)}function
 L(t,e){W.call(this,t,e)}function 
$(t){t()}t=t&&t.hasOwnProperty("default")?t["default"]:t;var F="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,H="undefined"!=typeof
 
Symbol&&Symbol["for"]?Symbol["for"]("__preactCompatWrapper"):"__preactCompatWrapper",q={constructor:1,render:1,shouldComponentUpdate:1,componentWillReceiveProps:1,componentWillUpdate:1,componentDidUpdate:1,componentWillMount:1,componentDidMount:1,componentWillUnmount:1,componentDidUnmount:1},z=/^(?: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]/,Q={},J=!1;try{J="production"!==r.env.NODE_ENV}catch(Z){}var
 
G=e.h("a",null).constructor;G.prototype.$$typeof=B,G.prototype.preactCompatUpgraded=!1,G.prototype.preactCompatNormalized=!1,Object.defineProperty(G.prototype,"type",{get:function(){return
 
this.nodeName},set:function(t){this.nodeName=t},configurable:!0}),Object.defineProperty(G.prototype,"props",{get:function(){return
 this.
 attributes},set:function(t){this.attributes=t},configurable:!0});var 
X=e.options.event;e.options.event=function(t){return 
X&&(t=X(t)),t.persist=Object,t.nativeEvent=t,t};var 
Y=e.options.vnode;e.options.vnode=function(t){if(!t.preactCompatUpgraded){t.preactCompatUpgraded=!0;var
 
e=t.nodeName,n=t.attributes=null==t.attributes?{}:C({},t.attributes);"function"==typeof
 e?(e[H]===!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),u(t,n))}Y&&Y(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}};C(W.prototype=new 
e.Component,{constructor:W,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}}),O.prototype=W.prototype,L.prototype=new
 
O,L.prototype.isPureReactComponent=!0,L.prototype.shouldComponentUpdate=function(t,e){return
 E(this.props,t)||E(this.state,e)};var 
ut={version:F,DOM:rt,PropTypes:t,Children:nt,render:s,hydrate:s,createClass:D,createContext:n.createConte
 
xt,createPortal:l,createFactory:p,createElement:m,cloneElement:g,createRef:e.createRef,isValidElement:w,findDOMNode:P,unmountComponentAtNode:f,Component:W,PureComponent:L,unstable_renderSubtreeIntoContainer:a,unstable_batchedUpdates:$,__spread:C};return
 
ut})}).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}u(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 
u="_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={})[u]=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?a: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[u];r!==this.context[u]&&((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[u]||s},r}(e.Component)}}var 
u=function(t,e){return(u=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){}},a=1073741823,c=function(){return
 
a},l=0,f=i;t["default"]=i,t.createContext=f,Object.defineProperty(t,"__esModule",{value:!0
 })})},{preact:5}],5:[function(t,e,n){!function(){"use strict";function 
t(t,e){var n,r,o,i,u=M;for(i=arguments.length;i-- 
>2;)A.push(arguments[i]);for(e&&null!=e.children&&(A.length||A.push(e.children),delete
 e.children);A.length;)if((r=A.pop())&&void 
0!==r.pop)for(i=r.length;i--;)A.push(r[i]);else"boolean"==typeof 
r&&(r=null),(o="function"!=typeof t)&&(null==r?r="":"number"==typeof 
r?r=String(r):"string"!=typeof 
r&&(o=!1)),o&&n?u[u.length-1]+=r:u===M?u=[r]:u.push(r),n=o;var s=new N;return 
s.nodeName=t,s.children=u,s.attributes=null==e?void 0:e,s.key=null==e?void 
0:e.key,void 0!==T.vnode&&T.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(e,r){return 
t(e.nodeName,n(n({},e.attributes),r),arguments.length>2?[].slice.call(arguments,2):e.children)}function
 i(t){!t.__d&&(t.__d=!0)&&1==R.push(t)&&(T.debounceRendering||j)(u)}function 
u(){for(var t;t=R.pop();)t.__d&&C(t)}function s(t,e,n){return"string"==typeof
  e||"number"==typeof e?void 0!==t.splitText:"string"==typeof 
e.nodeName?!t._componentConstructor&&a(t,e.nodeName):n||t._componentConstructor===e.nodeName}function
 a(t,e){return t.__n===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.__n=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&&"object"==typeof o){if("string"!=typeof n)for(var 
u in n)u in o||(t.style[u]="");for(var u in o)t.style[u]="number"==typeof 
o[u]&&!1===I.test(u)?o[u]+"px":o[u]}}else 
if("dangerouslySetInnerHTML"===e)o&&(t.innerHTML=o.__ht
 ml||"");else if("o"==e[0]&&"n"==e[1]){var 
s=e!==(e=e.replace(/Capture$/,""));e=e.toLowerCase().substring(2),o?n||t.addEventListener(e,h,s):t.removeEventListener(e,h,s),(t.__l||(t.__l={}))[e]=o}else
 if("list"!==e&&"type"!==e&&!i&&e in 
t){try{t[e]=null==o?"":o}catch(a){}null!=o&&!1!==o||"spellcheck"==e||t.removeAttribute(e)}else{var
 
c=i&&e!==(e=e.replace(/^xlink:?/,""));null==o||!1===o?c?t.removeAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase()):t.removeAttribute(e):"function"!=typeof
 
o&&(c?t.setAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase(),o):t.setAttribute(e,o))}else
 t.className=o||""}function h(t){return 
this.__l[t.type](T.event&&T.event(t)||t)}function d(){for(var 
t;t=U.shift();)T.afterMount&&T.afterMount(t),t.componentDidMount&&t.componentDidMount()}function
 v(t,e,n,r,o,i){W++||(L=null!=o&&void 
0!==o.ownerSVGElement,$=null!=t&&!("__preactattr_"in t));var 
u=y(t,e,n,r,i);return 
o&&u.parentNode!==o&&o.appendChild(u),--W||($=!1,i||d()),u}function 
y(t,e,n,r,o){va
 r i=t,u=L;if(null!=e&&"boolean"!=typeof e||(e=""),"string"==typeof 
e||"number"==typeof e)return t&&void 
0!==t.splitText&&t.parentNode&&(!t._component||o)?t.nodeValue!=e&&(t.nodeValue=e):(i=document.createTextNode(e),

[... 9 lines stripped ...]


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

Reply via email to