From 183c9a7411104de464dfad88003be8c56f88447e Mon Sep 17 00:00:00 2001 From: unocelli Date: Fri, 27 Aug 2021 20:35:52 +0200 Subject: [PATCH] Build for production --- client/dist/assets/i18n/en.json | 1 + client/dist/index.html | 2 +- ...ain.64ebdb3deb9e3ef3c7e7.js => main.8cc5f0fab54e621d5076.js} | 2 +- client/package.json | 2 +- client/src/app/editor/card-config/card-config.component.html | 2 +- client/src/assets/i18n/en.json | 1 + server/package.json | 2 +- 7 files changed, 7 insertions(+), 5 deletions(-) rename client/dist/{main.64ebdb3deb9e3ef3c7e7.js => main.8cc5f0fab54e621d5076.js} (92%) diff --git a/client/dist/assets/i18n/en.json b/client/dist/assets/i18n/en.json index eba2c76fa..e7068ac69 100644 --- a/client/dist/assets/i18n/en.json +++ b/client/dist/assets/i18n/en.json @@ -22,6 +22,7 @@ "header.help-tutorial": "Tutorial", "header.help-info": "About", "header.info-version": "Version ", + "header.theme": "Theme light/dark", "sidenav.title": "FUXA", diff --git a/client/dist/index.html b/client/dist/index.html index a0935977e..7a4b37ee8 100644 --- a/client/dist/index.html +++ b/client/dist/index.html @@ -47,6 +47,6 @@ - + \ No newline at end of file diff --git a/client/dist/main.64ebdb3deb9e3ef3c7e7.js b/client/dist/main.8cc5f0fab54e621d5076.js similarity index 92% rename from client/dist/main.64ebdb3deb9e3ef3c7e7.js rename to client/dist/main.8cc5f0fab54e621d5076.js index 405bd66c5..5bdd0fc30 100644 --- a/client/dist/main.64ebdb3deb9e3ef3c7e7.js +++ b/client/dist/main.8cc5f0fab54e621d5076.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"++Oj":function(t,e,n){"use strict";var l=n("GecO"),i=n("yElV");l.Observable.fromEvent=i.fromEvent},"+1Rd":function(t,e,n){"use strict";n.r(e),n.d(e,"switchMapTo",function(){return i});var l=n(null);function i(t,e){return e?Object(l.a)(function(){return t},e):Object(l.a)(function(){return t})}},"+3ZY":function(t,e,n){"use strict";var l=n("GecO"),i=n("RBnY");l.Observable.prototype.share=i.share},"+9I4":function(t,e,n){"use strict";var l=n("dBxh");e.exhaustMap=function(t,e){return l.exhaustMap(t,e)(this)}},"+CsA":function(t,e,n){"use strict";var l="undefined"!=typeof window&&window,i="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,o="undefined"!=typeof global&&global,r=l||o||i;e.root=r,function(){if(!r)throw new Error("RxJS could not find any global context (window, self, global)")}()},"+NDP":function(t,e,n){"use strict";var l=n("vd1h");e.partition=function(t,e){return l.partition(t,e)(this)}},"+Slb":function(t,e,n){"use strict";var l=n("bb6g").__extends,i=n("Qfl1"),o=n("K+XC");e.finalize=function(t){return function(e){return e.lift(new r(t))}};var r=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.callback))},t}(),a=function(t){function e(e,n){t.call(this,e),this.add(new o.Subscription(n))}return l(e,t),e}(i.Subscriber)},"+UKv":function(t,e,n){"use strict";var l=n("GecO"),i=n("SLMY");l.Observable.prototype.windowWhen=i.windowWhen},"+uxj":function(t,e,n){"use strict";var l=n("sdxo"),i=n("E79F");e.asap=new i.AsapScheduler(l.AsapAction)},"/477":function(t,e,n){"use strict";var l=n("v3JD");e.pairwise=function(){return l.pairwise()(this)}},"/FRJ":function(t,e,n){"use strict";var l=n("5xPA");e.scan=function(t,e){return arguments.length>=2?l.scan(t,e)(this):l.scan(t)(this)}},"/GF6":function(t,e,n){"use strict";var l=n("GecO"),i=n("DC5Z");l.Observable.prototype.race=i.race},"/Nlv":function(t,e,n){"use strict";n.r(e),n.d(e,"VirtualTimeScheduler",function(){return o}),n.d(e,"VirtualAction",function(){return r});var l=n("bb6g"),i=n(null),o=function(t){function e(e,n){void 0===e&&(e=r),void 0===n&&(n=Number.POSITIVE_INFINITY);var l=t.call(this,e,function(){return l.frame})||this;return l.maxFrames=n,l.frame=0,l.index=-1,l}return l.__extends(e,t),e.prototype.flush=function(){for(var t,e,n=this.actions,l=this.maxFrames;(e=n.shift())&&(this.frame=e.delay)<=l&&!(t=e.execute(e.state,e.delay)););if(t){for(;e=n.shift();)e.unsubscribe();throw t}},e.frameTimeFactor=10,e}(n(null).a),r=function(t){function e(e,n,l){void 0===l&&(l=e.index+=1);var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i.index=l,i.active=!0,i.index=e.index=l,i}return l.__extends(e,t),e.prototype.schedule=function(n,l){if(void 0===l&&(l=0),!this.id)return t.prototype.schedule.call(this,n,l);this.active=!1;var i=new e(this.scheduler,this.work);return this.add(i),i.schedule(n,l)},e.prototype.requestAsyncId=function(t,n,l){void 0===l&&(l=0),this.delay=t.frame+l;var i=t.actions;return i.push(this),i.sort(e.sortActions),!0},e.prototype.recycleAsyncId=function(t,e,n){void 0===n&&(n=0)},e.prototype._execute=function(e,n){if(!0===this.active)return t.prototype._execute.call(this,e,n)},e.sortActions=function(t,e){return t.delay===e.delay?t.index===e.index?0:t.index>e.index?1:-1:t.delay>e.delay?1:-1},e}(i.a)},"/RXt":function(t,e,n){"use strict";var l=n("J3Lx"),i=n("qQ7n");e.mergeStatic=i.merge,e.merge=function(){for(var t=[],e=0;e1&&(l=Array.prototype.splice.call(arguments,1));for(var o=0;o0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(a.a)},"0aQ1":function(t,e,n){"use strict";n.r(e),n.d(e,"single",function(){return r});var l=n("bb6g"),i=n(null),o=n(null);function r(t){return function(e){return e.lift(new a(t,e))}}var a=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.source))},t}(),s=function(t){function e(e,n,l){var i=t.call(this,e)||this;return i.predicate=n,i.source=l,i.seenValue=!1,i.index=0,i}return l.__extends(e,t),e.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},e.prototype._next=function(t){var e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)},e.prototype.tryNext=function(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new o.a)},e}(i.a)},"0bRg":function(t,e){function n(){}t.exports=function(t,e,l){var i=!1;return l=l||n,o.count=t,0===t?e():o;function o(t,n){if(o.count<=0)throw new Error("after called too many times");--o.count,t?(i=!0,e(t),e=l):0!==o.count||i||e(null,n)}}},"0iak":function(t,e,n){"use strict";var l=n("vVSt");e.filter=function(t,e){return l.filter(t,e)(this)}},"15oV":function(t,e,n){"use strict";var l=n("GecO"),i=n("Yk9G");l.Observable.ajax=i.ajax},"1FJM":function(t,e,n){"use strict";var l=n("5xPA"),i=n("IklA"),o=n("cZdD"),r=n("EYNf");e.reduce=function(t,e){return arguments.length>=2?function(n){return r.pipe(l.scan(t,e),i.takeLast(1),o.defaultIfEmpty(e))(n)}:function(e){return r.pipe(l.scan(function(e,n,l){return t(e,n,l+1)}),i.takeLast(1))(e)}}},"1Mdi":function(t,e,n){"use strict";e.isObject=function(t){return null!=t&&"object"==typeof t}},"1Pye":function(t,e,n){"use strict";n.r(e),n.d(e,"switchAll",function(){return o});var l=n(null),i=n(null);function o(){return Object(l.a)(i.a)}},"1bl3":function(t,e,n){"use strict";var l=n("GecO"),i=n("kP0d");l.Observable.prototype.skipUntil=i.skipUntil},"1oLC":function(t,e){t.exports=Object.keys||function(t){var e=[],n=Object.prototype.hasOwnProperty;for(var l in t)n.call(t,l)&&e.push(l);return e}},"1zhX":function(t,e,n){"use strict";n.r(e),n.d(e,"shareReplay",function(){return i});var l=n(null);function i(t,e,n){return function(i){return i.lift(function(t,e,n){var i,o,r=0,a=!1,s=!1;return function(u){r++,i&&!a||(a=!1,i=new l.a(t,e,n),o=u.subscribe({next:function(t){i.next(t)},error:function(t){a=!0,i.error(t)},complete:function(){s=!0,i.complete()}}));var c=i.subscribe(this);return function(){r--,c.unsubscribe(),o&&0===r&&s&&o.unsubscribe()}}}(t,e,n))}}},2:function(t,e){},"2IHC":function(t,e,n){"use strict";n.r(e),n.d(e,"throttleTime",function(){return a});var l=n("bb6g"),i=n(null),o=n(null),r=n("CZog");function a(t,e,n){return void 0===e&&(e=o.a),void 0===n&&(n=r.defaultThrottleConfig),function(l){return l.lift(new s(t,e,n.leading,n.trailing))}}var s=function(){function t(t,e,n,l){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=l}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),u=function(t){function e(e,n,l,i,o){var r=t.call(this,e)||this;return r.duration=n,r.scheduler=l,r.leading=i,r.trailing=o,r._hasTrailingValue=!1,r._trailingValue=null,r}return l.__extends(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(c,this.duration,{subscriber:this})),this.leading&&this.destination.next(t))},e.prototype._complete=function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(i.a);function c(t){t.subscriber.clearThrottle()}},"2amD":function(t,e,n){"use strict";var l=n("bb6g").__extends,i=n("qHJU"),o=n("SXtd");e.mergeMap=function(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(l){return"number"==typeof e&&(n=e,e=null),l.lift(new r(t,e,n))}};var r=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.resultSelector,this.concurrent))},t}();e.MergeMapOperator=r;var a=function(t){function e(e,n,l,i){void 0===i&&(i=Number.POSITIVE_INFINITY),t.call(this,e),this.project=n,this.resultSelector=l,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return l(e,t),e.prototype._next=function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber);e.MergeMapSubscriber=a},"2bTz":function(t,e,n){"use strict";var l=n("m3aQ"),i=n("p9Eh");e.async=new i.AsyncScheduler(l.AsyncAction)},"2j9Z":function(t,e,n){"use strict";var l=n("GecO"),i=n("SSoA");l.Observable.prototype.zipAll=i.zipAll},"2sKk":function(t,e,n){"use strict";var l=n("GecO"),i=n("sLn1");l.Observable.prototype.buffer=i.buffer},"2vbv":function(t,e,n){"use strict";var l=n("GecO"),i=n("jotx");l.Observable.prototype.timeInterval=i.timeInterval},"2wKQ":function(t,e,n){var l=n("uIq8"),i=n("ybsm")("socket.io-client:url");t.exports=function(t,e){var n=t;e=e||"undefined"!=typeof location&&location,null==t&&(t=e.protocol+"//"+e.host),"string"==typeof t&&("/"===t.charAt(0)&&(t="/"===t.charAt(1)?e.protocol+t:e.host+t),/^(https?|wss?):\/\//.test(t)||(i("protocol-less url %s",t),t=void 0!==e?e.protocol+"//"+t:"https://"+t),i("parse %s",t),n=l(t)),n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443")),n.path=n.path||"/";var o=-1!==n.host.indexOf(":")?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+o+":"+n.port,n.href=n.protocol+"://"+o+(e&&e.port===n.port?"":":"+n.port),n}},"2xjR":function(t,e,n){var l=n("AQzJ"),i=n("tsDd"),o=Object.prototype.toString,r="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===o.call(Blob),a="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===o.call(File);e.deconstructPacket=function(t){var e=[],n=t;return n.data=function t(e,n){if(!e)return e;if(i(e)){var o={_placeholder:!0,num:n.length};return n.push(e),o}if(l(e)){for(var r=new Array(e.length),a=0;a0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(a.OuterSubscriber);e.MergeScanSubscriber=u},"3QAR":function(t,e,n){"use strict";n.r(e),n.d(e,"withLatestFrom",function(){return r});var l=n("bb6g"),i=n(null),o=n(null);function r(){for(var t=[],e=0;e0){var r=o.indexOf(n);-1!==r&&o.splice(r,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.a)},"3T97":function(t,e,n){var l,i,o=n("vQoW"),r=n("5vl5"),a=n("aBHN"),s=n("J3A0"),u=n("WFfE"),c=n("aJCo")("engine.io-client:websocket");if("undefined"!=typeof WebSocket?l=WebSocket:"undefined"!=typeof self&&(l=self.WebSocket||self.MozWebSocket),"undefined"==typeof window)try{i=n(2)}catch(t){}var d=l||i;function p(t){t&&t.forceBase64&&(this.supportsBinary=!1),this.perMessageDeflate=t.perMessageDeflate,this.usingBrowserWebSocket=l&&!t.forceNode,this.protocols=t.protocols,this.usingBrowserWebSocket||(d=i),o.call(this,t)}t.exports=p,s(p,o),p.prototype.name="websocket",p.prototype.supportsBinary=!0,p.prototype.doOpen=function(){if(this.check()){var t=this.uri(),e=this.protocols,n={};this.isReactNative||(n.agent=this.agent,n.perMessageDeflate=this.perMessageDeflate,n.pfx=this.pfx,n.key=this.key,n.passphrase=this.passphrase,n.cert=this.cert,n.ca=this.ca,n.ciphers=this.ciphers,n.rejectUnauthorized=this.rejectUnauthorized),this.extraHeaders&&(n.headers=this.extraHeaders),this.localAddress&&(n.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket&&!this.isReactNative?e?new d(t,e):new d(t):new d(t,e,n)}catch(t){return this.emit("error",t)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},p.prototype.addEventListeners=function(){var t=this;this.ws.onopen=function(){t.onOpen()},this.ws.onclose=function(){t.onClose()},this.ws.onmessage=function(e){t.onData(e.data)},this.ws.onerror=function(e){t.onError("websocket error",e)}},p.prototype.write=function(t){var e=this;this.writable=!1;for(var n=t.length,l=0,i=n;l=e){l.complete();break}if(l.next(t++),l.closed)break}})}function o(t){var e=t.start,n=t.index,l=t.subscriber;n>=t.count?l.complete():(l.next(e),l.closed||(t.index=n+1,t.start=e+1,this.schedule(t)))}},"3i9V":function(t,e){t.exports=function(t,e,n){var l=t.byteLength;if(e=e||0,n=n||l,t.slice)return t.slice(e,n);if(e<0&&(e+=l),n<0&&(n+=l),n>l&&(n=l),e>=l||e>=n||0===l)return new ArrayBuffer(0);for(var i=new Uint8Array(t),o=new Uint8Array(n-e),r=e,a=0;r=t.length?l.complete():(l.next(e[n]),t.index=n+1,this.schedule(t)))},e.prototype._subscribe=function(t){var n=this.arrayLike,l=this.scheduler,i=n.length;if(l)return l.schedule(e.dispatch,0,{arrayLike:n,index:0,length:i,subscriber:t});for(var o=0;o1?{type:h[i],data:t.substring(1)}:{type:h[i]}:f}i=new Uint8Array(t)[0];var o=r(t,1);return m&&"blob"===n&&(o=new m([o])),{type:h[i],data:o}},e.decodeBase64Packet=function(t,e){var n=h[t.charAt(0)];if(!l)return{type:n,data:{base64:!0,data:t.substr(1)}};var i=l.decode(t.substr(1));return"blob"===e&&m&&(i=new m([i])),{type:n,data:i}},e.encodePayload=function(t,n,l){"function"==typeof n&&(l=n,n=null);var i=o(t);return n&&i?m&&!d?e.encodePayloadAsBlob(t,l):e.encodePayloadAsArrayBuffer(t,l):t.length?void g(t,function(t,l){e.encodePacket(t,!!i&&n,!1,function(t){l(null,function(t){return t.length+":"+t}(t))})},function(t,e){return l(e.join(""))}):l("0:")},e.decodePayload=function(t,n,l){if("string"!=typeof t)return e.decodePayloadAsBinary(t,n,l);var i;if("function"==typeof n&&(l=n,n=null),""===t)return l(f,0,1);for(var o,r,a="",s=0,u=t.length;s0;){for(var a=new Uint8Array(i),s=0===a[0],u="",c=1;255!==a[c];c++){if(u.length>310)return l(f,0,1);u+=a[c]}i=r(i,2+u.length),u=parseInt(u);var d=r(i,0,u);if(s)try{d=String.fromCharCode.apply(null,new Uint8Array(d))}catch(t){var p=new Uint8Array(d);for(d="",c=0;c=2&&(n=!0),function(l){return l.lift(new o(t,e,n))}};var o=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new r(t,this.accumulator,this.seed,this.hasSeed))},t}(),r=function(t){function e(e,n,l,i){t.call(this,e),this.accumulator=n,this._seed=l,this.hasSeed=i,this.index=0}return l(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(i.Subscriber)},"6+6T":function(t,e,n){"use strict";var l=n("GecO"),i=n("DiEz");l.Observable.prototype.takeWhile=i.takeWhile},"6/Wk":function(t,e,n){"use strict";n.r(e),n.d(e,"skip",function(){return o});var l=n("bb6g"),i=n(null);function o(t){return function(e){return e.lift(new r(t))}}var r=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.total))},t}(),a=function(t){function e(e,n){var l=t.call(this,e)||this;return l.total=n,l.count=0,l}return l.__extends(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(i.a)},"64vs":function(t,e,n){"use strict";e.letProto=function(t){return t(this)}},"67w8":function(t,e,n){"use strict";n.r(e),n.d(e,"windowToggle",function(){return c});var l=n("bb6g"),i=n(null),o=n(null),r=n(null),a=n(null),s=n(null),u=n(null);function c(t,e){return function(n){return n.lift(new d(t,e))}}var d=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.openings,this.closingSelector))},t}(),p=function(t){function e(e,n,l){var i=t.call(this,e)||this;return i.openings=n,i.closingSelector=l,i.contexts=[],i.add(i.openSubscription=Object(u.a)(i,n,n)),i}return l.__extends(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,l=0;l=2&&(l=arguments[1]);var o=Number.POSITIVE_INFINITY;return e>=3&&(o=arguments[2]),function(e){return e.lift(new a(t,l,o,n))}};var a=function(){function t(t,e,n,l){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=l}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),s=function(t){function e(e,n,l,i,o){t.call(this,e),this.bufferTimeSpan=n,this.bufferCreationInterval=l,this.maxBufferSize=i,this.scheduler=o,this.contexts=[];var r=this.openContext();if(this.timespanOnly=null==l||l<0,this.timespanOnly)this.add(r.closeAction=o.schedule(u,n,{subscriber:this,context:r,bufferTimeSpan:n}));else{var a={bufferTimeSpan:n,bufferCreationInterval:l,subscriber:this,scheduler:o};this.add(r.closeAction=o.schedule(d,n,{subscriber:this,context:r})),this.add(o.schedule(c,l,a))}}return l(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,l=n.length,i=0;i0;){var l=e.shift();n.next(l.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan;this.add(t.closeAction=this.scheduler.schedule(u,n,{subscriber:this,context:t,bufferTimeSpan:n}))}},e.prototype.openContext=function(){var t=new function(){this.buffer=[]};return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(o.Subscriber);function u(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function c(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,l=t.subscriber,i=t.scheduler,o=l.openContext();l.closed||(l.add(o.closeAction=i.schedule(d,n,{subscriber:l,context:o})),this.schedule(t,e))}function d(t){t.subscriber.closeContext(t.context)}},"8dx2":function(t,e,n){"use strict";e.identity=function(t){return t}},"8v/T":function(t,e,n){"use strict";var l=n("2bTz"),i=n("THam");e.auditTime=function(t,e){return void 0===e&&(e=l.async),i.auditTime(t,e)(this)}},"9/R5":function(t,e,n){"use strict";var l=n("bb6g").__extends,i=n("GecO");e.ErrorObservable=function(t){function e(e,n){t.call(this),this.error=e,this.scheduler=n}return l(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){t.subscriber.error(t.error)},e.prototype._subscribe=function(t){var n=this.error,l=this.scheduler;if(t.syncErrorThrowable=!0,l)return l.schedule(e.dispatch,0,{error:n,subscriber:t});t.error(n)},e}(i.Observable)},"90pK":function(t,e,n){"use strict";var l=n("jYVh");e.elementAt=function(t,e){return l.elementAt(t,e)(this)}},"93YE":function(t,e,n){"use strict";var l=n("Qfl1"),i=n("XTo5"),o=n("sKqi");e.toSubscriber=function(t,e,n){if(t){if(t instanceof l.Subscriber)return t;if(t[i.rxSubscriber])return t[i.rxSubscriber]()}return t||e||n?new l.Subscriber(t,e,n):new l.Subscriber(o.empty)}},"9HQy":function(t,e,n){"use strict";var l=n("GecO"),i=n("BK7w");l.Observable.prototype.retryWhen=i.retryWhen},"9USs":function(t,e,n){"use strict";var l=n("oJ0S");e.bufferToggle=function(t,e){return l.bufferToggle(t,e)(this)}},"9VSF":function(t,e,n){"use strict";n.r(e),n.d(e,"race",function(){return o});var l=n(null),i=n("Ndw7");function o(){for(var t=[],e=0;e=2;return function(s){return s.pipe(Object(i.a)(function(e,n){return n===t}),Object(a.a)(1),n?Object(r.a)(e):Object(o.a)(function(){return new l.a}))}}},A4pk:function(t,e,n){"use strict";var l=n("GecO"),i=n("PW98");l.Observable.prototype.repeat=i.repeat},A9Ve:function(t,e,n){"use strict";var l=n("GecO"),i=n("MZBl");l.Observable.pairs=i.pairs},AESq:function(t,e){t.exports=function(t,e){for(var n=[],l=(e=e||0)||0;l=2&&(l=arguments[1]);var o=Number.POSITIVE_INFINITY;return e>=3&&(o=arguments[2]),function(e){return e.lift(new s(t,l,o,n))}}var s=function(){function t(t,e,n,l){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=l}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),u=function(t){function e(e,n,l,i,o){var r=t.call(this,e)||this;r.bufferTimeSpan=n,r.bufferCreationInterval=l,r.maxBufferSize=i,r.scheduler=o,r.contexts=[];var a=r.openContext();if(r.timespanOnly=null==l||l<0,r.timespanOnly)r.add(a.closeAction=o.schedule(c,n,{subscriber:r,context:a,bufferTimeSpan:n}));else{var s={bufferTimeSpan:n,bufferCreationInterval:l,subscriber:r,scheduler:o};r.add(a.closeAction=o.schedule(p,n,{subscriber:r,context:a})),r.add(o.schedule(d,l,s))}return r}return l.__extends(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,l=n.length,i=0;i0;){var l=e.shift();n.next(l.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan;this.add(t.closeAction=this.scheduler.schedule(c,n,{subscriber:this,context:t,bufferTimeSpan:n}))}},e.prototype.openContext=function(){var t=new function(){this.buffer=[]};return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(o.a);function c(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function d(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,l=t.subscriber,i=t.scheduler,o=l.openContext();l.closed||(l.add(o.closeAction=i.schedule(p,n,{subscriber:l,context:o})),this.schedule(t,e))}function p(t){t.subscriber.closeContext(t.context)}},BK7w:function(t,e,n){"use strict";var l=n("tbXI");e.retryWhen=function(t){return l.retryWhen(t)(this)}},BWB3:function(t,e){try{t.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(e){t.exports=!1}},BXZm:function(t,e,n){"use strict";var l=n("SH36");e.webSocket=l.WebSocketSubject.create},Bcpe:function(t,e,n){"use strict";var l=n("Nm6Q");e.observeOn=function(t,e){return void 0===e&&(e=0),l.observeOn(t,e)(this)}},BjQ1:function(t,e,n){"use strict";var l=n("8DOl");e.audit=l.audit;var i=n("THam");e.auditTime=i.auditTime;var o=n("H7J8");e.buffer=o.buffer;var r=n("P7Ql");e.bufferCount=r.bufferCount;var a=n("8XwW");e.bufferTime=a.bufferTime;var s=n("oJ0S");e.bufferToggle=s.bufferToggle;var u=n("cZyF");e.bufferWhen=u.bufferWhen;var c=n("vWEj");e.catchError=c.catchError;var d=n("MtIw");e.combineAll=d.combineAll;var p=n("zHlM");e.combineLatest=p.combineLatest;var h=n("C7GQ");e.concat=h.concat;var f=n("oLjf");e.concatAll=f.concatAll;var m=n("JRaX");e.concatMap=m.concatMap;var g=n("UKR2");e.concatMapTo=g.concatMapTo;var v=n("Pxm2");e.count=v.count;var b=n("glu9");e.debounce=b.debounce;var y=n("XN1E");e.debounceTime=y.debounceTime;var _=n("cZdD");e.defaultIfEmpty=_.defaultIfEmpty;var w=n("xR3A");e.delay=w.delay;var x=n("afAL");e.delayWhen=x.delayWhen;var C=n("UCDb");e.dematerialize=C.dematerialize;var k=n("7b+m");e.distinct=k.distinct;var S=n("FjAN");e.distinctUntilChanged=S.distinctUntilChanged;var O=n("n6lX");e.distinctUntilKeyChanged=O.distinctUntilKeyChanged;var T=n("jYVh");e.elementAt=T.elementAt;var I=n("dIMH");e.every=I.every;var E=n("4PXQ");e.exhaust=E.exhaust;var P=n("dBxh");e.exhaustMap=P.exhaustMap;var A=n("csGb");e.expand=A.expand;var M=n("vVSt");e.filter=M.filter;var D=n("+Slb");e.finalize=D.finalize;var R=n("a1Hg");e.find=R.find;var V=n("XTU8");e.findIndex=V.findIndex;var F=n("FTqo");e.first=F.first;var j=n("L37k");e.groupBy=j.groupBy;var N=n("s7iE");e.ignoreElements=N.ignoreElements;var L=n("LP9M");e.isEmpty=L.isEmpty;var B=n("jW+2");e.last=B.last;var z=n("SiOS");e.map=z.map;var H=n("yk5m");e.mapTo=H.mapTo;var U=n("zs5+");e.materialize=U.materialize;var W=n("wy13");e.max=W.max;var G=n("J3Lx");e.merge=G.merge;var K=n("kIah");e.mergeAll=K.mergeAll;var q=n("2amD");e.mergeMap=q.mergeMap;var Y=n("2amD");e.flatMap=Y.mergeMap;var $=n("e1fg");e.mergeMapTo=$.mergeMapTo;var X=n("3PFB");e.mergeScan=X.mergeScan;var Z=n("IoVO");e.min=Z.min;var J=n("PMfh");e.multicast=J.multicast;var Q=n("Nm6Q");e.observeOn=Q.observeOn;var tt=n("R8U+");e.onErrorResumeNext=tt.onErrorResumeNext;var et=n("v3JD");e.pairwise=et.pairwise;var nt=n("vd1h");e.partition=nt.partition;var lt=n("mrpI");e.pluck=lt.pluck;var it=n("JpG+");e.publish=it.publish;var ot=n("Us9P");e.publishBehavior=ot.publishBehavior;var rt=n("z78u");e.publishLast=rt.publishLast;var at=n("xMu/");e.publishReplay=at.publishReplay;var st=n("lVC4");e.race=st.race;var ut=n("1FJM");e.reduce=ut.reduce;var ct=n("QT40");e.repeat=ct.repeat;var dt=n("cVww");e.repeatWhen=dt.repeatWhen;var pt=n("cGO5");e.retry=pt.retry;var ht=n("tbXI");e.retryWhen=ht.retryWhen;var ft=n("O5iV");e.refCount=ft.refCount;var mt=n("NRoY");e.sample=mt.sample;var gt=n("maP7");e.sampleTime=gt.sampleTime;var vt=n("5xPA");e.scan=vt.scan;var bt=n("c843");e.sequenceEqual=bt.sequenceEqual;var yt=n("/tbZ");e.share=yt.share;var _t=n("o9Ls");e.shareReplay=_t.shareReplay;var wt=n("iv63");e.single=wt.single;var xt=n("YcMH");e.skip=xt.skip;var Ct=n("XjLC");e.skipLast=Ct.skipLast;var kt=n("ZcIq");e.skipUntil=kt.skipUntil;var St=n("Nesa");e.skipWhile=St.skipWhile;var Ot=n("rot0");e.startWith=Ot.startWith;var Tt=n("a8xw");e.switchAll=Tt.switchAll;var It=n("N6+2");e.switchMap=It.switchMap;var Et=n("E3ij");e.switchMapTo=Et.switchMapTo;var Pt=n("rfk5");e.take=Pt.take;var At=n("IklA");e.takeLast=At.takeLast;var Mt=n("ZPro");e.takeUntil=Mt.takeUntil;var Dt=n("/x26");e.takeWhile=Dt.takeWhile;var Rt=n("Pr3o");e.tap=Rt.tap;var Vt=n("HcxL");e.throttle=Vt.throttle;var Ft=n("A/4X");e.throttleTime=Ft.throttleTime;var jt=n("k1zG");e.timeInterval=jt.timeInterval;var Nt=n("Ro5A");e.timeout=Nt.timeout;var Lt=n("iPAT");e.timeoutWith=Lt.timeoutWith;var Bt=n("U8Ef");e.timestamp=Bt.timestamp;var zt=n("A1u9");e.toArray=zt.toArray;var Ht=n("uun/");e.window=Ht.window;var Ut=n("MlSQ");e.windowCount=Ut.windowCount;var Wt=n("nVgp");e.windowTime=Wt.windowTime;var Gt=n("MMbL");e.windowToggle=Gt.windowToggle;var Kt=n("kX1b");e.windowWhen=Kt.windowWhen;var qt=n("ryvC");e.withLatestFrom=qt.withLatestFrom;var Yt=n("M+TI");e.zip=Yt.zip;var $t=n("DH+8");e.zipAll=$t.zipAll},BjQG:function(t,e,n){"use strict";var l=n("GecO"),i=n("CrhJ");l.Observable.prototype.delayWhen=i.delayWhen},BreU:function(t,e,n){"use strict";var l=n("2amD");e.mergeMap=function(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),l.mergeMap(t,e,n)(this)}},C4vd:function(t,e,n){"use strict";var l=n("zHlM");e.combineLatest=function(){for(var t=[],e=0;e0?this.startWindowEvery:this.windowSize,n=this.destination,l=this.windowSize,i=this.windows,r=i.length,a=0;a=0&&s%e==0&&!this.closed&&i.shift().complete(),++this.count%e==0&&!this.closed){var u=new o.a;i.push(u),n.next(u)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(i.a)},DtQk:function(t,e,n){var l=n("JROp"),i={ease:l(.25,.1,.25,1),easeIn:l(.42,0,1,1),easeOut:l(0,0,.58,1),easeInOut:l(.42,0,.58,1),linear:l(0,0,1,1)};function o(){}function r(){var t=new Set,e=new Set,n=0;return{next:l,cancel:l,clearAll:function(){t.clear(),e.clear(),cancelAnimationFrame(n),n=0}};function l(t){e.add(t),n||(n=requestAnimationFrame(i))}function i(){n=0;var l=e;e=t,(t=l).forEach(function(t){t()}),t.clear()}}t.exports=function(t,e,n){var l=Object.create(null),r=Object.create(null),a="function"==typeof(n=n||{}).easing?n.easing:i[n.easing];a||(n.easing&&console.warn("Unknown easing function in amator: "+n.easing),a=i.ease);var s="function"==typeof n.step?n.step:o,u="function"==typeof n.done?n.done:o,c=function(t){if(!t)return"undefined"!=typeof window&&window.requestAnimationFrame?{next:window.requestAnimationFrame.bind(window),cancel:window.cancelAnimationFrame.bind(window)}:{next:function(t){return setTimeout(t,1e3/60)},cancel:function(t){return clearTimeout(t)}};if("function"!=typeof t.next)throw new Error("Scheduler is supposed to have next(cb) function");if("function"!=typeof t.cancel)throw new Error("Scheduler is supposed to have cancel(handle) function");return t}(n.scheduler),d=Object.keys(e);d.forEach(function(n){l[n]=t[n],r[n]=e[n]-t[n]});var p,h=Math.max(1,.06*("number"==typeof n.duration?n.duration:400)),f=0;return p=c.next(function e(){var n=a(f/h);f+=1,function(e){d.forEach(function(n){t[n]=r[n]*e+l[n]})}(n),f<=h?(p=c.next(e),s(t)):(p=0,setTimeout(function(){u(t)},0))}),{cancel:function(){c.cancel(p),p=0}}},t.exports.makeAggregateRaf=r,t.exports.sharedScheduler=r()},E3ij:function(t,e,n){"use strict";var l=n("bb6g").__extends,i=n("SXtd"),o=n("qHJU");e.switchMapTo=function(t,e){return function(n){return n.lift(new r(t,e))}};var r=function(){function t(t,e){this.observable=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.observable,this.resultSelector))},t}(),a=function(t){function e(e,n,l){t.call(this,e),this.inner=n,this.resultSelector=l,this.index=0}return l(e,t),e.prototype._next=function(t){var e=this.innerSubscription;e&&e.unsubscribe(),this.add(this.innerSubscription=o.subscribeToResult(this,this.inner,t,this.index++))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,l,i){var o=this.destination;this.resultSelector?this.tryResultSelector(t,e,n,l):o.next(e)},e.prototype.tryResultSelector=function(t,e,n,l){var i,o=this.resultSelector,r=this.destination;try{i=o(t,e,n,l)}catch(t){return void r.error(t)}r.next(i)},e}(i.OuterSubscriber)},E79F:function(t,e,n){"use strict";var l=n("bb6g").__extends,i=n("p9Eh");e.AsapScheduler=function(t){function e(){t.apply(this,arguments)}return l(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,l=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++l=0}},FTqo:function(t,e,n){"use strict";var l=n("bb6g").__extends,i=n("Qfl1"),o=n("47D0");e.first=function(t,e,n){return function(l){return l.lift(new r(t,e,n,l))}};var r=function(){function t(t,e,n,l){this.predicate=t,this.resultSelector=e,this.defaultValue=n,this.source=l}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.resultSelector,this.defaultValue,this.source))},t}(),a=function(t){function e(e,n,l,i,o){t.call(this,e),this.predicate=n,this.resultSelector=l,this.defaultValue=i,this.source=o,this.index=0,this.hasCompleted=!1,this._emitted=!1}return l(e,t),e.prototype._next=function(t){var e=this.index++;this.predicate?this._tryPredicate(t,e):this._emit(t,e)},e.prototype._tryPredicate=function(t,e){var n;try{n=this.predicate(t,e,this.source)}catch(t){return void this.destination.error(t)}n&&this._emit(t,e)},e.prototype._emit=function(t,e){this.resultSelector?this._tryResultSelector(t,e):this._emitFinal(t)},e.prototype._tryResultSelector=function(t,e){var n;try{n=this.resultSelector(t,e)}catch(t){return void this.destination.error(t)}this._emitFinal(n)},e.prototype._emitFinal=function(t){var e=this.destination;this._emitted||(this._emitted=!0,e.next(t),e.complete(),this.hasCompleted=!0)},e.prototype._complete=function(){var t=this.destination;this.hasCompleted||void 0===this.defaultValue?this.hasCompleted||t.error(new o.EmptyError):(t.next(this.defaultValue),t.complete())},e}(i.Subscriber)},FjAN:function(t,e,n){"use strict";var l=n("bb6g").__extends,i=n("Qfl1"),o=n("Zc51"),r=n("Fq+f");e.distinctUntilChanged=function(t,e){return function(n){return n.lift(new a(t,e))}};var a=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.compare,this.keySelector))},t}(),s=function(t){function e(e,n,l){t.call(this,e),this.keySelector=l,this.hasKey=!1,"function"==typeof n&&(this.compare=n)}return l(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e=t;if(this.keySelector&&(e=o.tryCatch(this.keySelector)(t))===r.errorObject)return this.destination.error(r.errorObject.e);var n=!1;if(this.hasKey){if((n=o.tryCatch(this.compare)(this.key,e))===r.errorObject)return this.destination.error(r.errorObject.e)}else this.hasKey=!0;!1===Boolean(n)&&(this.key=e,this.destination.next(t))},e}(i.Subscriber)},"Fq+f":function(t,e,n){"use strict";e.errorObject={e:{}}},FvFj:function(t,e,n){"use strict";var l=n("rot0");e.startWith=function(){for(var t=[],e=0;e0?e:n}:function(t,e){return t>e?t:e};return Object(l.a)(e)}},GN8l:function(t,e,n){"use strict";n.r(e),n.d(e,"takeWhile",function(){return o});var l=n("bb6g"),i=n(null);function o(t){return function(e){return e.lift(new r(t))}}var r=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate))},t}(),a=function(t){function e(e,n){var l=t.call(this,e)||this;return l.predicate=n,l.index=0,l}return l.__extends(e,t),e.prototype._next=function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(t){return void n.error(t)}this.nextOrComplete(t,e)},e.prototype.nextOrComplete=function(t,e){var n=this.destination;Boolean(e)?n.next(t):n.complete()},e}(i.a)},GSuJ:function(t,e,n){"use strict";var l=n("c843");e.sequenceEqual=function(t,e){return l.sequenceEqual(t,e)(this)}},GTOb:function(t,e,n){"use strict";var l=n("GecO"),i=n("ZU5J");l.Observable.prototype.switchMapTo=i.switchMapTo},GYMO:function(t,e,n){"use strict";var l=n("LP9M");e.isEmpty=function(){return l.isEmpty()(this)}},GecO:function(t,e,n){"use strict";var l=n("+CsA"),i=n("93YE"),o=n("RoWn"),r=n("EYNf");e.Observable=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var l=this.operator,o=i.toSubscriber(t,e,n);if(l?l.call(o,this.source):o.add(this.source||!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.syncErrorThrown=!0,t.syncErrorValue=e,t.error(e)}},t.prototype.forEach=function(t,e){var n=this;if(e||(l.root.Rx&&l.root.Rx.config&&l.root.Rx.config.Promise?e=l.root.Rx.config.Promise:l.root.Promise&&(e=l.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,l){var i;i=n.subscribe(function(e){if(i)try{t(e)}catch(t){l(t),i.unsubscribe()}else t(e)},l,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[o.observable]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e=t.count?l.complete():(l.next(e),l.closed||(t.index=n+1,t.start=e+1,this.schedule(t)))},e.prototype._subscribe=function(t){var n=0,l=this.start,i=this._count,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{index:n,count:i,start:l,subscriber:t});for(;;){if(n++>=i){t.complete();break}if(t.next(l++),t.closed)break}},e}(i.Observable)},ICoS:function(t,e,n){"use strict";n.r(e),n.d(e,"findIndex",function(){return i});var l=n("MfEY");function i(t,e){return function(n){return n.lift(new l.FindValueOperator(t,n,!0,e))}}},IDlA:function(t,e,n){"use strict";var l=n("s7iE");e.ignoreElements=function(){return l.ignoreElements()(this)}},Iatl:function(t,e,n){"use strict";var l=n("yBgS"),i=n("VIYp");e.animationFrame=new i.AnimationFrameScheduler(l.AnimationFrameAction)},IklA:function(t,e,n){"use strict";var l=n("bb6g").__extends,i=n("Qfl1"),o=n("o5Sn"),r=n("VZn0");e.takeLast=function(t){return function(e){return 0===t?new r.EmptyObservable:e.lift(new a(t))}};var a=function(){function t(t){if(this.total=t,this.total<0)throw new o.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.total))},t}(),s=function(t){function e(e,n){t.call(this,e),this.total=n,this.ring=new Array,this.count=0}return l(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,l=this.count++;e.length0)for(var n=this.count>=this.total?this.total:this.count,l=this.ring,i=0;i=.001?function(t,e,n,l){for(var i=0;i<4;++i){var o=a(e,n,l);if(0===o)return e;e-=(r(e,n,l)-t)/o}return e}(e,s,t,l):0===u?s:function(t,e,n,l,i){var o,a,s=0;do{(o=r(a=e+(n-e)/2,l,i)-t)>0?n=a:e=a}while(Math.abs(o)>1e-7&&++s<10);return a}(e,n,n+.1,t,l)}(n),e,i)}}},JRaX:function(t,e,n){"use strict";var l=n("2amD");e.concatMap=function(t,e){return l.mergeMap(t,e,1)}},JWn3:function(t,e,n){"use strict";var l=n("oLjf");e.concatAll=function(){return l.concatAll()(this)}},JZWq:function(t,e,n){"use strict";var l=n("GecO"),i=n("e/uh");l.Observable.prototype.reduce=i.reduce},"JpG+":function(t,e,n){"use strict";var l=n("ZhzQ"),i=n("PMfh");e.publish=function(t){return t?i.multicast(function(){return new l.Subject},t):i.multicast(new l.Subject)}},JpxC:function(t,e,n){"use strict";var l=n("GecO"),i=n("Z87m");l.Observable.prototype.timestamp=i.timestamp},Jugf:function(t,e,n){"use strict";var l=n("GecO"),i=n("sZQP");l.Observable.forkJoin=i.forkJoin},"K+XC":function(t,e,n){"use strict";var l=n("Dliv"),i=n("1Mdi"),o=n("dDvu"),r=n("Zc51"),a=n("Fq+f"),s=n("fapG");function u(t){return t.reduce(function(t,e){return t.concat(e instanceof s.UnsubscriptionError?e.errors:e)},[])}e.Subscription=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this._parent,c=this._parents,d=this._unsubscribe,p=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var h=-1,f=c?c.length:0;n;)n.remove(this),n=++hthis.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),m=function(t){function e(e,n,l){t.call(this,e),this.parent=n,this.observable=l,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return l(e,t),e.prototype[u.iterator]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t,e,n,l,i){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return s.subscribeToResult(this,this.observable,this,e)},e}(a.OuterSubscriber)},M9qk:function(t,e,n){"use strict";var l=n("bb6g").__extends,i=n("m3aQ");e.QueueAction=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return l(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,l){return void 0===l&&(l=0),null!==l&&l>0||null===l&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,l):e.flush(this)},e}(i.AsyncAction)},MDEs:function(t,e,n){"use strict";var l=n("+CsA"),i=function(t){t.requestAnimationFrame?(this.cancelAnimationFrame=t.cancelAnimationFrame.bind(t),this.requestAnimationFrame=t.requestAnimationFrame.bind(t)):t.mozRequestAnimationFrame?(this.cancelAnimationFrame=t.mozCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.mozRequestAnimationFrame.bind(t)):t.webkitRequestAnimationFrame?(this.cancelAnimationFrame=t.webkitCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.webkitRequestAnimationFrame.bind(t)):t.msRequestAnimationFrame?(this.cancelAnimationFrame=t.msCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.msRequestAnimationFrame.bind(t)):t.oRequestAnimationFrame?(this.cancelAnimationFrame=t.oCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.oRequestAnimationFrame.bind(t)):(this.cancelAnimationFrame=t.clearTimeout.bind(t),this.requestAnimationFrame=function(e){return t.setTimeout(e,1e3/60)})};e.RequestAnimationFrameDefinition=i,e.AnimationFrame=new i(l.root)},MMHN:function(t,e,n){"use strict";var l=n("GecO"),i=n("b+HX");l.Observable.prototype.distinctUntilChanged=i.distinctUntilChanged},MMbL:function(t,e,n){"use strict";var l=n("bb6g").__extends,i=n("ZhzQ"),o=n("K+XC"),r=n("Zc51"),a=n("Fq+f"),s=n("SXtd"),u=n("qHJU");e.windowToggle=function(t,e){return function(n){return n.lift(new c(t,e))}};var c=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new d(t,this.openings,this.closingSelector))},t}(),d=function(t){function e(e,n,l){t.call(this,e),this.openings=n,this.closingSelector=l,this.contexts=[],this.add(this.openSubscription=u.subscribeToResult(this,n,n))}return l(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,l=0;l1?new e(t,l):1===i?new o.ScalarObservable(t[0],l):new r.EmptyObservable(l)},e.dispatch=function(t){var e=t.array,n=t.index,l=t.subscriber;n>=t.count?l.complete():(l.next(e[n]),l.closed||(t.index=n+1,this.schedule(t)))},e.prototype._subscribe=function(t){var n=this.array,l=n.length,i=this.scheduler;if(i)return i.schedule(e.dispatch,0,{array:n,index:0,count:l,subscriber:t});for(var o=0;o0?this.startWindowEvery:this.windowSize,n=this.destination,l=this.windowSize,i=this.windows,r=i.length,a=0;a=0&&s%e==0&&!this.closed&&i.shift().complete(),++this.count%e==0&&!this.closed){var u=new o.Subject;i.push(u),n.next(u)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(i.Subscriber)},MtIw:function(t,e,n){"use strict";var l=n("zHlM");e.combineAll=function(t){return function(e){return e.lift(new l.CombineLatestOperator(t))}}},MvUB:function(t,e,n){"use strict";var l=n("bb6g").__extends,i=n("Ey+o"),o=n("GecO"),r=n("2bTz"),a=n("7sP0"),s=n("hVCa");e.TimerObservable=function(t){function e(e,n,l){void 0===e&&(e=0),t.call(this),this.period=-1,this.dueTime=0,i.isNumeric(n)?this.period=Number(n)<1?1:Number(n):a.isScheduler(n)&&(l=n),a.isScheduler(l)||(l=r.async),this.scheduler=l,this.dueTime=s.isDate(e)?+e-this.scheduler.now():e}return l(e,t),e.create=function(t,n,l){return void 0===t&&(t=0),new e(t,n,l)},e.dispatch=function(t){var e=t.index,n=t.period,l=t.subscriber;if(l.next(e),!l.closed){if(-1===n)return l.complete();t.index=e+1,this.schedule(t,n)}},e.prototype._subscribe=function(t){return this.scheduler.schedule(e.dispatch,this.dueTime,{index:0,period:this.period,subscriber:t})},e}(o.Observable)},"N+qN":function(t,e,n){"use strict";var l=n("Pxm2");e.count=function(t){return l.count(t)(this)}},"N6+2":function(t,e,n){"use strict";var l=n("bb6g").__extends,i=n("SXtd"),o=n("qHJU");e.switchMap=function(t,e){return function(n){return n.lift(new r(t,e))}};var r=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.resultSelector))},t}(),a=function(t){function e(e,n,l){t.call(this,e),this.project=n,this.resultSelector=l,this.index=0}return l(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var l=this.innerSubscription;l&&l.unsubscribe(),this.add(this.innerSubscription=o.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,l,i){this.resultSelector?this._tryNotifyNext(t,e,n,l):this.destination.next(e)},e.prototype._tryNotifyNext=function(t,e,n,l){var i;try{i=this.resultSelector(t,e,n,l)}catch(t){return void this.destination.error(t)}this.destination.next(i)},e}(i.OuterSubscriber)},NRoY:function(t,e,n){"use strict";var l=n("bb6g").__extends,i=n("SXtd"),o=n("qHJU");e.sample=function(t){return function(e){return e.lift(new r(t))}};var r=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new a(t),l=e.subscribe(n);return l.add(o.subscribeToResult(n,this.notifier)),l},t}(),a=function(t){function e(){t.apply(this,arguments),this.hasValue=!1}return l(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,n,l,i){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(i.OuterSubscriber)},NXW2:function(t,e,n){"use strict";var l=n("bb6g").__extends,i=n("ZhzQ"),o=n("mdrN"),r=n("K+XC"),a=n("Nm6Q"),s=n("0Pen"),u=n("G4LL");e.ReplaySubject=function(t){function e(e,n,l){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY),t.call(this),this.scheduler=l,this._events=[],this._bufferSize=e<1?1:e,this._windowTime=n<1?1:n}return l(e,t),e.prototype.next=function(e){var n=this._getNow();this._events.push(new c(n,e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._trimBufferThenGetEvents(),l=this.scheduler;if(this.closed)throw new s.ObjectUnsubscribedError;this.hasError?e=r.Subscription.EMPTY:this.isStopped?e=r.Subscription.EMPTY:(this.observers.push(t),e=new u.SubjectSubscription(this,t)),l&&t.add(t=new a.ObserveOnSubscriber(t,l));for(var i=n.length,o=0;oe&&(o=Math.max(o,i-e)),o>0&&l.splice(0,o),l},e}(i.Subject);var c=function(t,e){this.time=t,this.value=e}},NXxG:function(t,e,n){"use strict";e.SubscriptionLog=function(){return function(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.subscribedFrame=t,this.unsubscribedFrame=e}}()},Ndw7:function(t,e,n){"use strict";n.r(e),n.d(e,"race",function(){return s}),n.d(e,"RaceOperator",function(){return u}),n.d(e,"RaceSubscriber",function(){return c});var l=n("bb6g"),i=n(null),o=n(null),r=n(null),a=n(null);function s(){for(var t=[],e=0;e0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},h.prototype.cleanup=function(){u("cleanup");for(var t=this.subs.length,e=0;e=this._reconnectionAttempts)u("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var e=this.backoff.duration();u("will wait %dms before reconnect attempt",e),this.reconnecting=!0;var n=setTimeout(function(){t.skipReconnect||(u("attempting reconnect"),t.emitAll("reconnect_attempt",t.backoff.attempts),t.emitAll("reconnecting",t.backoff.attempts),t.skipReconnect||t.open(function(e){e?(u("reconnect attempt error"),t.reconnecting=!1,t.reconnect(),t.emitAll("reconnect_error",e.data)):(u("reconnect success"),t.onreconnect())}))},e);this.subs.push({destroy:function(){clearTimeout(n)}})}},h.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",t)}},Nm6Q:function(t,e,n){"use strict";var l=n("bb6g").__extends,i=n("Qfl1"),o=n("K9Pc");e.observeOn=function(t,e){return void 0===e&&(e=0),function(n){return n.lift(new r(t,e))}};var r=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.scheduler,this.delay))},t}();e.ObserveOnOperator=r;var a=function(t){function e(e,n,l){void 0===l&&(l=0),t.call(this,e),this.scheduler=n,this.delay=l}return l(e,t),e.dispatch=function(t){t.notification.observe(t.destination),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.add(this.scheduler.schedule(e.dispatch,this.delay,new s(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(o.Notification.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(o.Notification.createError(t))},e.prototype._complete=function(){this.scheduleMessage(o.Notification.createComplete())},e}(i.Subscriber);e.ObserveOnSubscriber=a;var s=function(t,e){this.notification=t,this.destination=e};e.ObserveOnMessage=s},O1o2:function(t,e,n){"use strict";var l=n("uun/");e.window=function(t){return l.window(t)(this)}},O5iV:function(t,e,n){"use strict";var l=n("bb6g").__extends,i=n("Qfl1");e.refCount=function(){return function(t){return t.lift(new o(t))}};var o=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var l=new r(t,n),i=e.subscribe(l);return l.closed||(l.connection=n.connect()),i},t}(),r=function(t){function e(e,n){t.call(this,e),this.connectable=n}return l(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,l=t._connection;this.connection=null,!l||n&&l!==n||l.unsubscribe()}}else this.connection=null},e}(i.Subscriber)},O7CI:function(t,e,n){var l=n("AGeO"),i=n("zUwS"),o=n("AESq"),r=n("SgU8"),a=n("aIHR"),s=n("ybsm")("socket.io-client:socket"),u=n("aBHN"),c=n("Zavu");t.exports=h;var d={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},p=i.prototype.emit;function h(t,e,n){this.io=t,this.nsp=e,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},n&&n.query&&(this.query=n.query),this.io.autoConnect&&this.open()}i(h.prototype),h.prototype.subEvents=function(){if(!this.subs){var t=this.io;this.subs=[r(t,"open",a(this,"onopen")),r(t,"packet",a(this,"onpacket")),r(t,"close",a(this,"onclose"))]}},h.prototype.open=h.prototype.connect=function(){return this.connected?this:(this.subEvents(),this.io.reconnecting||this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting"),this)},h.prototype.send=function(){var t=o(arguments);return t.unshift("message"),this.emit.apply(this,t),this},h.prototype.emit=function(t){if(d.hasOwnProperty(t))return p.apply(this,arguments),this;var e=o(arguments),n={type:(void 0!==this.flags.binary?this.flags.binary:c(e))?l.BINARY_EVENT:l.EVENT,data:e,options:{}};return n.options.compress=!this.flags||!1!==this.flags.compress,"function"==typeof e[e.length-1]&&(s("emitting packet with ack id %d",this.ids),this.acks[this.ids]=e.pop(),n.id=this.ids++),this.connected?this.packet(n):this.sendBuffer.push(n),this.flags={},this},h.prototype.packet=function(t){t.nsp=this.nsp,this.io.packet(t)},h.prototype.onopen=function(){if(s("transport is open - connecting"),"/"!==this.nsp)if(this.query){var t="object"==typeof this.query?u.encode(this.query):this.query;s("sending connect packet with query %s",t),this.packet({type:l.CONNECT,query:t})}else this.packet({type:l.CONNECT})},h.prototype.onclose=function(t){s("close (%s)",t),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",t)},h.prototype.onpacket=function(t){if(t.nsp===this.nsp||t.type===l.ERROR&&"/"===t.nsp)switch(t.type){case l.CONNECT:this.onconnect();break;case l.EVENT:case l.BINARY_EVENT:this.onevent(t);break;case l.ACK:case l.BINARY_ACK:this.onack(t);break;case l.DISCONNECT:this.ondisconnect();break;case l.ERROR:this.emit("error",t.data)}},h.prototype.onevent=function(t){var e=t.data||[];s("emitting event %j",e),null!=t.id&&(s("attaching ack callback to event"),e.push(this.ack(t.id))),this.connected?p.apply(this,e):this.receiveBuffer.push(e)},h.prototype.ack=function(t){var e=this,n=!1;return function(){if(!n){n=!0;var i=o(arguments);s("sending ack %j",i),e.packet({type:c(i)?l.BINARY_ACK:l.ACK,id:t,data:i})}}},h.prototype.onack=function(t){var e=this.acks[t.id];"function"==typeof e?(s("calling ack %s with %j",t.id,t.data),e.apply(this,t.data),delete this.acks[t.id]):s("bad ack %s",t.id)},h.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},h.prototype.emitBuffered=function(){var t;for(t=0;t0&&this.destination.next(e),t.prototype._complete.call(this)},e}(i.Subscriber),a=function(t){function e(e,n,l){t.call(this,e),this.bufferSize=n,this.startBufferEvery=l,this.buffers=[],this.count=0}return l(e,t),e.prototype._next=function(t){var e=this.bufferSize,n=this.startBufferEvery,l=this.buffers,i=this.count;this.count++,i%n==0&&l.push([]);for(var o=l.length;o--;){var r=l[o];r.push(t),r.length===e&&(l.splice(o,1),this.destination.next(r))}},e.prototype._complete=function(){for(var e=this.buffers,n=this.destination;e.length>0;){var l=e.shift();l.length>0&&n.next(l)}t.prototype._complete.call(this)},e}(i.Subscriber)},PFmZ:function(t,e){},PHus:function(t,e,n){var l=n("rze+"),i=n("J3A0"),o=n("oYvz");t.exports=c;var r,a=/\n/g,s=/\\n/g;function u(){}function c(t){l.call(this,t),this.query=this.query||{},r||(r=o.___eio=o.___eio||[]),this.index=r.length;var e=this;r.push(function(t){e.onData(t)}),this.query.j=this.index,"function"==typeof addEventListener&&addEventListener("beforeunload",function(){e.script&&(e.script.onerror=u)},!1)}i(c,l),c.prototype.supportsBinary=!1,c.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),l.prototype.doClose.call(this)},c.prototype.doPoll=function(){var t=this,e=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),e.async=!0,e.src=this.uri(),e.onerror=function(e){t.onError("jsonp poll error",e)};var n=document.getElementsByTagName("script")[0];n?n.parentNode.insertBefore(e,n):(document.head||document.body).appendChild(e),this.script=e,"undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent)&&setTimeout(function(){var t=document.createElement("iframe");document.body.appendChild(t),document.body.removeChild(t)},100)},c.prototype.doWrite=function(t,e){var n=this;if(!this.form){var l,i=document.createElement("form"),o=document.createElement("textarea"),r=this.iframeId="eio_iframe_"+this.index;i.className="socketio",i.style.position="absolute",i.style.top="-1000px",i.style.left="-1000px",i.target=r,i.method="POST",i.setAttribute("accept-charset","utf-8"),o.name="d",i.appendChild(o),document.body.appendChild(i),this.form=i,this.area=o}function u(){c(),e()}function c(){if(n.iframe)try{n.form.removeChild(n.iframe)}catch(t){n.onError("jsonp polling iframe removal error",t)}try{l=document.createElement('