214 lines
216 KiB
JavaScript
214 lines
216 KiB
JavaScript
|
/**
|
||
|
@license
|
||
|
Apache License
|
||
|
Version 2.0, January 2004
|
||
|
http://www.apache.org/licenses/
|
||
|
|
||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||
|
|
||
|
1. Definitions.
|
||
|
|
||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||
|
|
||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||
|
the copyright owner that is granting the License.
|
||
|
|
||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||
|
other entities that control, are controlled by, or are under common
|
||
|
control with that entity. For the purposes of this definition,
|
||
|
"control" means (i) the power, direct or indirect, to cause the
|
||
|
direction or management of such entity, whether by contract or
|
||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||
|
|
||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||
|
exercising permissions granted by this License.
|
||
|
|
||
|
"Source" form shall mean the preferred form for making modifications,
|
||
|
including but not limited to software source code, documentation
|
||
|
source, and configuration files.
|
||
|
|
||
|
"Object" form shall mean any form resulting from mechanical
|
||
|
transformation or translation of a Source form, including but
|
||
|
not limited to compiled object code, generated documentation,
|
||
|
and conversions to other media types.
|
||
|
|
||
|
"Work" shall mean the work of authorship, whether in Source or
|
||
|
Object form, made available under the License, as indicated by a
|
||
|
copyright notice that is included in or attached to the work
|
||
|
(an example is provided in the Appendix below).
|
||
|
|
||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||
|
form, that is based on (or derived from) the Work and for which the
|
||
|
editorial revisions, annotations, elaborations, or other modifications
|
||
|
represent, as a whole, an original work of authorship. For the purposes
|
||
|
of this License, Derivative Works shall not include works that remain
|
||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||
|
the Work and Derivative Works thereof.
|
||
|
|
||
|
"Contribution" shall mean any work of authorship, including
|
||
|
the original version of the Work and any modifications or additions
|
||
|
to that Work or Derivative Works thereof, that is intentionally
|
||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||
|
means any form of electronic, verbal, or written communication sent
|
||
|
to the Licensor or its representatives, including but not limited to
|
||
|
communication on electronic mailing lists, source code control systems,
|
||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||
|
Licensor for the purpose of discussing and improving the Work, but
|
||
|
excluding communication that is conspicuously marked or otherwise
|
||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||
|
|
||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||
|
on behalf of whom a Contribution has been received by Licensor and
|
||
|
subsequently incorporated within the Work.
|
||
|
|
||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||
|
this License, each Contributor hereby grants to You a perpetual,
|
||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||
|
copyright license to reproduce, prepare Derivative Works of,
|
||
|
publicly display, publicly perform, sublicense, and distribute the
|
||
|
Work and such Derivative Works in Source or Object form.
|
||
|
|
||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||
|
this License, each Contributor hereby grants to You a perpetual,
|
||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||
|
(except as stated in this section) patent license to make, have made,
|
||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||
|
where such license applies only to those patent claims licensable
|
||
|
by such Contributor that are necessarily infringed by their
|
||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||
|
with the Work to which such Contribution(s) was submitted. If You
|
||
|
institute patent litigation against any entity (including a
|
||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||
|
or a Contribution incorporated within the Work constitutes direct
|
||
|
or contributory patent infringement, then any patent licenses
|
||
|
granted to You under this License for that Work shall terminate
|
||
|
as of the date such litigation is filed.
|
||
|
|
||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||
|
Work or Derivative Works thereof in any medium, with or without
|
||
|
modifications, and in Source or Object form, provided that You
|
||
|
meet the following conditions:
|
||
|
|
||
|
(a) You must give any other recipients of the Work or
|
||
|
Derivative Works a copy of this License; and
|
||
|
|
||
|
(b) You must cause any modified files to carry prominent notices
|
||
|
stating that You changed the files; and
|
||
|
|
||
|
(c) You must retain, in the Source form of any Derivative Works
|
||
|
that You distribute, all copyright, patent, trademark, and
|
||
|
attribution notices from the Source form of the Work,
|
||
|
excluding those notices that do not pertain to any part of
|
||
|
the Derivative Works; and
|
||
|
|
||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||
|
distribution, then any Derivative Works that You distribute must
|
||
|
include a readable copy of the attribution notices contained
|
||
|
within such NOTICE file, excluding those notices that do not
|
||
|
pertain to any part of the Derivative Works, in at least one
|
||
|
of the following places: within a NOTICE text file distributed
|
||
|
as part of the Derivative Works; within the Source form or
|
||
|
documentation, if provided along with the Derivative Works; or,
|
||
|
within a display generated by the Derivative Works, if and
|
||
|
wherever such third-party notices normally appear. The contents
|
||
|
of the NOTICE file are for informational purposes only and
|
||
|
do not modify the License. You may add Your own attribution
|
||
|
notices within Derivative Works that You distribute, alongside
|
||
|
or as an addendum to the NOTICE text from the Work, provided
|
||
|
that such additional attribution notices cannot be construed
|
||
|
as modifying the License.
|
||
|
|
||
|
You may add Your own copyright statement to Your modifications and
|
||
|
may provide additional or different license terms and conditions
|
||
|
for use, reproduction, or distribution of Your modifications, or
|
||
|
for any such Derivative Works as a whole, provided Your use,
|
||
|
reproduction, and distribution of the Work otherwise complies with
|
||
|
the conditions stated in this License.
|
||
|
|
||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||
|
any Contribution intentionally submitted for inclusion in the Work
|
||
|
by You to the Licensor shall be under the terms and conditions of
|
||
|
this License, without any additional terms or conditions.
|
||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||
|
the terms of any separate license agreement you may have executed
|
||
|
with Licensor regarding such Contributions.
|
||
|
|
||
|
6. Trademarks. This License does not grant permission to use the trade
|
||
|
names, trademarks, service marks, or product names of the Licensor,
|
||
|
except as required for reasonable and customary use in describing the
|
||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||
|
|
||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||
|
agreed to in writing, Licensor provides the Work (and each
|
||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||
|
implied, including, without limitation, any warranties or conditions
|
||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||
|
appropriateness of using or redistributing the Work and assume any
|
||
|
risks associated with Your exercise of permissions under this License.
|
||
|
|
||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||
|
whether in tort (including negligence), contract, or otherwise,
|
||
|
unless required by applicable law (such as deliberate and grossly
|
||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||
|
liable to You for damages, including any direct, indirect, special,
|
||
|
incidental, or consequential damages of any character arising as a
|
||
|
result of this License or out of the use or inability to use the
|
||
|
Work (including but not limited to damages for loss of goodwill,
|
||
|
work stoppage, computer failure or malfunction, or any and all
|
||
|
other commercial damages or losses), even if such Contributor
|
||
|
has been advised of the possibility of such damages.
|
||
|
|
||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||
|
or other liability obligations and/or rights consistent with this
|
||
|
License. However, in accepting such obligations, You may act only
|
||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||
|
of any other Contributor, and only if You agree to indemnify,
|
||
|
defend, and hold each Contributor harmless for any liability
|
||
|
incurred by, or claims asserted against, such Contributor by reason
|
||
|
of your accepting any such warranty or additional liability.
|
||
|
|
||
|
END OF TERMS AND CONDITIONS
|
||
|
|
||
|
APPENDIX: How to apply the Apache License to your work.
|
||
|
|
||
|
To apply the Apache License to your work, attach the following
|
||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||
|
replaced with your own identifying information. (Don't include
|
||
|
the brackets!) The text should be enclosed in the appropriate
|
||
|
comment syntax for the file format. We also recommend that a
|
||
|
file or class name and description of purpose be included on the
|
||
|
same "printed page" as the copyright notice for easier
|
||
|
identification within third-party archives.
|
||
|
|
||
|
Copyright 2015-2016 Netflix, Inc.
|
||
|
|
||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
you may not use this file except in compliance with the License.
|
||
|
You may obtain a copy of the License at
|
||
|
|
||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||
|
|
||
|
Unless required by applicable law or agreed to in writing, software
|
||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
See the License for the specific language governing permissions and
|
||
|
limitations under the License.
|
||
|
|
||
|
**/
|
||
|
"format register";System.register("rxjs/util/root",[],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i={"boolean":!1,"function":!0,object:!0,number:!1,string:!1,undefined:!1};e.root=i[typeof self]&&self||i[typeof window]&&window;var o=(i[typeof e]&&e&&!e.nodeType&&e,i[typeof t]&&t&&!t.nodeType&&t,i[typeof r]&&r);return!o||o.global!==o&&o.window!==o||(e.root=o),r.define=s,t.exports}),System.register("rxjs/util/SymbolShim",["rxjs/util/root"],!0,function(require,e,t){function r(e){var t=i(e);return n(t,e),a(t),s(t),t}function s(e){e["for"]||(e["for"]=o)}function i(e){return e.Symbol||(e.Symbol=function(e){return"@@Symbol("+e+"):"+p++}),e.Symbol}function o(e){return"@@"+e}function n(e,t){if(!e.iterator)if("function"==typeof e["for"])e.iterator=e["for"]("iterator");else if(t.Set&&"function"==typeof(new t.Set)["@@iterator"])e.iterator="@@iterator";else if(t.Map)for(var r=Object.getOwnPropertyNames(t.Map.prototype),s=0;s<r.length;++s){var i=r[s];if("entries"!==i&&"size"!==i&&t.Map.prototype[i]===t.Map.prototype.entries){e.iterator=i;break}}else e.iterator="@@iterator"}function a(e){e.observable||("function"==typeof e["for"]?e.observable=e["for"]("observable"):e.observable="@@observable")}var u=System.global,c=u.define;u.define=void 0;var l=require("rxjs/util/root");e.polyfillSymbol=r,e.ensureFor=s;var p=0;return e.ensureSymbol=i,e.symbolForPolyfill=o,e.ensureIterator=n,e.ensureObservable=a,e.SymbolShim=r(l.root),u.define=c,t.exports}),System.register("rxjs/util/isFunction",[],!0,function(require,e,t){function r(e){return"function"==typeof e}var s=System.global,i=s.define;return s.define=void 0,e.isFunction=r,s.define=i,t.exports}),System.register("rxjs/util/isArray",[],!0,function(require,e,t){var r=System.global,s=r.define;return r.define=void 0,e.isArray=Array.isArray||function(e){return e&&"number"==typeof e.length},r.define=s,t.exports}),System.register("rxjs/util/isObject",[],!0,function(require,e,t){function r(e){return null!=e&&"object"==typeof e}var s=System.global,i=s.define;return s.define=void 0,e.isObject=r,s.define=i,t.exports}),System.register("rxjs/util/errorObject",[],!0,function(require,e,t){var r=System.global,s=r.define;return r.define=void 0,e.errorObject={e:{}},r.define=s,t.exports}),System.register("rxjs/symbol/rxSubscriber",["rxjs/util/SymbolShim"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=require("rxjs/util/SymbolShim");return e.rxSubscriber=i.SymbolShim["for"]("rxSubscriber"),r.define=s,t.exports}),System.register("rxjs/Observer",[],!0,function(require,e,t){var r=System.global,s=r.define;return r.define=void 0,e.empty={isUnsubscribed:!0,next:function(e){},error:function(e){throw e},complete:function(){}},r.define=s,t.exports}),System.register("rxjs/subject/SubjectSubscription",["rxjs/Subscription"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=this&&this.__extends||function(e,t){function r(){this.constructor=e}for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=require("rxjs/Subscription"),n=function(e){function t(t,r){e.call(this),this.subject=t,this.observer=r,this.isUnsubscribed=!1}return i(t,e),t.prototype.unsubscribe=function(){if(!this.isUnsubscribed){this.isUnsubscribed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isUnsubscribed){var r=t.indexOf(this.observer);-1!==r&&t.splice(r,1)}}},t}(o.Subscription);return e.SubjectSubscription=n,r.define=s,t.exports}),System.register("rxjs/util/throwError",[],!0,function(require,e,t){function r(e){throw e}var s=System.global,i=s.define;return s.define=void 0,e.throwError=r,s.define=i,t.exports}),System.register("rxjs/util/ObjectUnsubscribedError",[],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=this&&this.__extends||function(e,t){function r(){this.constructor=e}for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=function(e){function t(){e.call(this,"object unsubsc
|
||
|
var e=this,t=e.id,r=e.scheduler,s=r.actions,i=s.indexOf(this);null!=t&&(this.id=null,o.root.clearTimeout(t)),-1!==i&&s.splice(i,1),this.work=null,this.state=null,this.scheduler=null},t}(n.Subscription);return e.FutureAction=a,r.define=s,t.exports}),System.register("rxjs/scheduler/QueueAction",["rxjs/scheduler/FutureAction"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=this&&this.__extends||function(e,t){function r(){this.constructor=e}for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=require("rxjs/scheduler/FutureAction"),n=function(e){function t(){e.apply(this,arguments)}return i(t,e),t.prototype._schedule=function(t,r){if(void 0===r&&(r=0),r>0)return e.prototype._schedule.call(this,t,r);this.delay=r,this.state=t;var s=this.scheduler;return s.actions.push(this),s.flush(),this},t}(o.FutureAction);return e.QueueAction=n,r.define=s,t.exports}),System.register("rxjs/util/noop",[],!0,function(require,e,t){function r(){}var s=System.global,i=s.define;return s.define=void 0,e.noop=r,s.define=i,t.exports}),System.register("rxjs/observable/RangeObservable",["rxjs/Observable"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=this&&this.__extends||function(e,t){function r(){this.constructor=e}for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=require("rxjs/Observable"),n=function(e){function t(t,r,s){e.call(this),this.start=t,this.end=r,this.scheduler=s}return i(t,e),t.create=function(e,r,s){return void 0===e&&(e=0),void 0===r&&(r=0),new t(e,r,s)},t.dispatch=function(e){var t=e.start,r=e.index,s=e.end,i=e.subscriber;return r>=s?void i.complete():(i.next(t),void(i.isUnsubscribed||(e.index=r+1,e.start=t+1,this.schedule(e))))},t.prototype._subscribe=function(e){var r=0,s=this.start,i=this.end,o=this.scheduler;if(o)return o.schedule(t.dispatch,0,{index:r,end:i,start:s,subscriber:e});for(;;){if(r++>=i){e.complete();break}if(e.next(s++),e.isUnsubscribed)break}},t}(o.Observable);return e.RangeObservable=n,r.define=s,t.exports}),System.register("rxjs/observable/ErrorObservable",["rxjs/Observable"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=this&&this.__extends||function(e,t){function r(){this.constructor=e}for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=require("rxjs/Observable"),n=function(e){function t(t,r){e.call(this),this.error=t,this.scheduler=r}return i(t,e),t.create=function(e,r){return new t(e,r)},t.dispatch=function(e){var t=e.error,r=e.subscriber;r.error(t)},t.prototype._subscribe=function(e){var r=this.error,s=this.scheduler;return s?s.schedule(t.dispatch,0,{error:r,subscriber:e}):void e.error(r)},t}(o.Observable);return e.ErrorObservable=n,r.define=s,t.exports}),System.register("rxjs/util/isDate",[],!0,function(require,e,t){function r(e){return e instanceof Date&&!isNaN(+e)}var s=System.global,i=s.define;return s.define=void 0,e.isDate=r,s.define=i,t.exports}),System.register("rxjs/operator/zip",["rxjs/observable/ArrayObservable","rxjs/util/isArray","rxjs/Subscriber","rxjs/OuterSubscriber","rxjs/util/subscribeToResult","rxjs/util/SymbolShim"],!0,function(require,e,t){function r(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return e.unshift(this),s.apply(this,e)}function s(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var r=e[e.length-1];return"function"==typeof r&&e.pop(),new a.ArrayObservable(e).lift(new h(r))}var i=System.global,o=i.define;i.define=void 0;var n=this&&this.__extends||function(e,t){function r(){this.constructor=e}for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},a=require("rxjs/observable/ArrayObservable"),u=require("rxjs/util/isArray"),c=require("rxjs/Subscriber"),l=require("rxjs/OuterSubscriber"),p=require("rxjs/util/subscribeToResult"),b=require("rxjs/util/SymbolShim");e.zipProto=r,e.zipStatic=s;var h
|
||
|
this.time=e,this.notification=t}return e}();return s.define=i,t.exports}),System.register("rxjs/operator/delayWhen",["rxjs/Subscriber","rxjs/Observable","rxjs/OuterSubscriber","rxjs/util/subscribeToResult"],!0,function(require,e,t){function r(e,t){return t?new b(this,t).lift(new l(e)):this.lift(new l(e))}var s=System.global,i=s.define;s.define=void 0;var o=this&&this.__extends||function(e,t){function r(){this.constructor=e}for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},n=require("rxjs/Subscriber"),a=require("rxjs/Observable"),u=require("rxjs/OuterSubscriber"),c=require("rxjs/util/subscribeToResult");e.delayWhen=r;var l=function(){function e(e){this.delayDurationSelector=e}return e.prototype.call=function(e){return new p(e,this.delayDurationSelector)},e}(),p=function(e){function t(t,r){e.call(this,t),this.delayDurationSelector=r,this.completed=!1,this.delayNotifierSubscriptions=[],this.values=[]}return o(t,e),t.prototype.notifyNext=function(e,t,r,s,i){this.destination.next(e),this.removeSubscription(i),this.tryComplete()},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype.notifyComplete=function(e){var t=this.removeSubscription(e);t&&this.destination.next(t),this.tryComplete()},t.prototype._next=function(e){try{var t=this.delayDurationSelector(e);t&&this.tryDelay(t,e)}catch(r){this.destination.error(r)}},t.prototype._complete=function(){this.completed=!0,this.tryComplete()},t.prototype.removeSubscription=function(e){e.unsubscribe();var t=this.delayNotifierSubscriptions.indexOf(e),r=null;return-1!==t&&(r=this.values[t],this.delayNotifierSubscriptions.splice(t,1),this.values.splice(t,1)),r},t.prototype.tryDelay=function(e,t){var r=c.subscribeToResult(this,e,t);this.add(r),this.delayNotifierSubscriptions.push(r),this.values.push(t)},t.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},t}(u.OuterSubscriber),b=function(e){function t(t,r){e.call(this),this.source=t,this.subscriptionDelay=r}return o(t,e),t.prototype._subscribe=function(e){this.subscriptionDelay.subscribe(new h(e,this.source))},t}(a.Observable),h=function(e){function t(t,r){e.call(this),this.parent=t,this.source=r,this.sourceSubscribed=!1}return o(t,e),t.prototype._next=function(e){this.subscribeToSource()},t.prototype._error=function(e){this.unsubscribe(),this.parent.error(e)},t.prototype._complete=function(){this.subscribeToSource()},t.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},t}(n.Subscriber);return s.define=i,t.exports}),System.register("rxjs/operator/distinctUntilChanged",["rxjs/Subscriber","rxjs/util/tryCatch","rxjs/util/errorObject"],!0,function(require,e,t){function r(e,t){return this.lift(new c(e,t))}var s=System.global,i=s.define;s.define=void 0;var o=this&&this.__extends||function(e,t){function r(){this.constructor=e}for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},n=require("rxjs/Subscriber"),a=require("rxjs/util/tryCatch"),u=require("rxjs/util/errorObject");e.distinctUntilChanged=r;var c=function(){function e(e,t){this.compare=e,this.keySelector=t}return e.prototype.call=function(e){return new l(e,this.compare,this.keySelector)},e}(),l=function(e){function t(t,r,s){e.call(this,t),this.keySelector=s,this.hasKey=!1,"function"==typeof r&&(this.compare=r)}return o(t,e),t.prototype.compare=function(e,t){return e===t},t.prototype._next=function(e){var t=this.keySelector,r=e;if(t&&(r=a.tryCatch(this.keySelector)(e),r===u.errorObject))return this.destination.error(u.errorObject.e);var s=!1;if(this.hasKey){if(s=a.tryCatch(this.compare)(this.key,r),s===u.errorObject)return this.destination.error(u.errorObject.e)}else this.hasKey=!0;Boolean(s)===!1&&(this.key=r,this.destination.next(e))},t}(n.Subscriber);return s.define=i,t.exports}),System.register("rxjs/operator/do",["rxjs/Subscriber","rxjs/util/noop"],!0,function(require,e,t){functio
|
||
|
this.delay=e,this.scheduler=t}return e.prototype.call=function(e){return new l(e,this.delay,this.scheduler)},e}(),l=function(e){function t(t,r,i){e.call(this,t),this.delay=r,this.scheduler=i,this.hasValue=!1,this.add(i.schedule(s,r,{subscriber:this,delay:r}))}return n(t,e),t.prototype._next=function(e){this.lastValue=e,this.hasValue=!0},t.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},t}(a.Subscriber);return i.define=o,t.exports}),System.register("rxjs/operator/scan",["rxjs/Subscriber"],!0,function(require,e,t){function r(e,t){return this.lift(new a(e,t))}var s=System.global,i=s.define;s.define=void 0;var o=this&&this.__extends||function(e,t){function r(){this.constructor=e}for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},n=require("rxjs/Subscriber");e.scan=r;var a=function(){function e(e,t){this.accumulator=e,this.seed=t}return e.prototype.call=function(e){return new u(e,this.accumulator,this.seed)},e}(),u=function(e){function t(t,r,s){e.call(this,t),this.accumulator=r,this.accumulatorSet=!1,this.seed=s,this.accumulator=r,this.accumulatorSet="undefined"!=typeof s}return o(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.accumulatorSet=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){return this.accumulatorSet?this._tryNext(e):(this.seed=e,void this.destination.next(e))},t.prototype._tryNext=function(e){var t;try{t=this.accumulator(this.seed,e)}catch(r){this.destination.error(r)}this.seed=t,this.destination.next(t)},t}(n.Subscriber);return s.define=i,t.exports}),System.register("rxjs/operator/share",["rxjs/operator/multicast","rxjs/Subject"],!0,function(require,e,t){function r(){return new a.Subject}function s(){return n.multicast.call(this,r).refCount()}var i=System.global,o=i.define;i.define=void 0;var n=require("rxjs/operator/multicast"),a=require("rxjs/Subject");return e.share=s,i.define=o,t.exports}),System.register("rxjs/operator/single",["rxjs/Subscriber","rxjs/util/EmptyError"],!0,function(require,e,t){function r(e){return this.lift(new u(e,this))}var s=System.global,i=s.define;s.define=void 0;var o=this&&this.__extends||function(e,t){function r(){this.constructor=e}for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},n=require("rxjs/Subscriber"),a=require("rxjs/util/EmptyError");e.single=r;var u=function(){function e(e,t){this.predicate=e,this.source=t}return e.prototype.call=function(e){return new c(e,this.predicate,this.source)},e}(),c=function(e){function t(t,r,s){e.call(this,t),this.predicate=r,this.source=s,this.seenValue=!1,this.index=0}return o(t,e),t.prototype.applySingleValue=function(e){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=e)},t.prototype._next=function(e){var t=this.predicate;this.index++,t?this.tryNext(e):this.applySingleValue(e)},t.prototype.tryNext=function(e){try{var t=this.predicate(e,this.index,this.source);t&&this.applySingleValue(e)}catch(r){this.destination.error(r)}},t.prototype._complete=function(){var e=this.destination;this.index>0?(e.next(this.seenValue?this.singleValue:void 0),e.complete()):e.error(new a.EmptyError)},t}(n.Subscriber);return s.define=i,t.exports}),System.register("rxjs/operator/skip",["rxjs/Subscriber"],!0,function(require,e,t){function r(e){return this.lift(new a(e))}var s=System.global,i=s.define;s.define=void 0;var o=this&&this.__extends||function(e,t){function r(){this.constructor=e}for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},n=require("rxjs/Subscriber");e.skip=r;var a=function(){function e(e){this.total=e}return e.prototype.call=function(e){return new u(e,this.total)},e}(),u=function(e){function t(t,r){e.call(this,t),this.total=r,this.count=0}return o(t,e),t.prototype._next=function(e){++this.count>this.total&&this.destination.next(e)},t}(n.
|
||
|
},t.prototype.closeWindow=function(e){var t=this.contexts,r=t[e],s=r.window,i=r.subscription;t.splice(e,1),s.complete(),i.unsubscribe()},t}(l.OuterSubscriber);return s.define=i,t.exports}),System.register("rxjs/operator/windowWhen",["rxjs/Subject","rxjs/util/tryCatch","rxjs/util/errorObject","rxjs/OuterSubscriber","rxjs/util/subscribeToResult"],!0,function(require,e,t){function r(e){return this.lift(new p(e))}var s=System.global,i=s.define;s.define=void 0;var o=this&&this.__extends||function(e,t){function r(){this.constructor=e}for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},n=require("rxjs/Subject"),a=require("rxjs/util/tryCatch"),u=require("rxjs/util/errorObject"),c=require("rxjs/OuterSubscriber"),l=require("rxjs/util/subscribeToResult");e.windowWhen=r;var p=function(){function e(e){this.closingSelector=e}return e.prototype.call=function(e){return new b(e,this.closingSelector)},e}(),b=function(e){function t(t,r){e.call(this,t),this.destination=t,this.closingSelector=r,this.openWindow()}return o(t,e),t.prototype.notifyNext=function(e,t,r,s,i){this.openWindow(i)},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype.notifyComplete=function(e){this.openWindow(e)},t.prototype._next=function(e){this.window.next(e)},t.prototype._error=function(e){this.window.error(e),this.destination.error(e),this.unsubscribeClosingNotification()},t.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},t.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},t.prototype.openWindow=function(e){void 0===e&&(e=null),e&&(this.remove(e),e.unsubscribe());var t=this.window;t&&t.complete();var r=this.window=new n.Subject;this.destination.next(r);var s=a.tryCatch(this.closingSelector)();if(s===u.errorObject){var i=u.errorObject.e;this.destination.error(i),this.window.error(i)}else this.add(this.closingNotification=l.subscribeToResult(this,s)),this.add(r)},t}(c.OuterSubscriber);return s.define=i,t.exports}),System.register("rxjs/operator/withLatestFrom",["rxjs/OuterSubscriber","rxjs/util/subscribeToResult"],!0,function(require,e,t){function r(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var r;"function"==typeof e[e.length-1]&&(r=e.pop());var s=e;return this.lift(new u(s,r))}var s=System.global,i=s.define;s.define=void 0;var o=this&&this.__extends||function(e,t){function r(){this.constructor=e}for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},n=require("rxjs/OuterSubscriber"),a=require("rxjs/util/subscribeToResult");e.withLatestFrom=r;var u=function(){function e(e,t){this.observables=e,this.project=t}return e.prototype.call=function(e){return new c(e,this.observables,this.project)},e}(),c=function(e){function t(t,r,s){e.call(this,t),this.observables=r,this.project=s,this.toRespond=[];var i=r.length;this.values=new Array(i);for(var o=0;i>o;o++)this.toRespond.push(o);for(var o=0;i>o;o++){var n=r[o];this.add(a.subscribeToResult(this,n,n,o))}}return o(t,e),t.prototype.notifyNext=function(e,t,r,s,i){this.values[r]=t;var o=this.toRespond;if(o.length>0){var n=o.indexOf(r);-1!==n&&o.splice(n,1)}},t.prototype.notifyComplete=function(){},t.prototype._next=function(e){if(0===this.toRespond.length){var t=[e].concat(this.values);this.project?this._tryProject(t):this.destination.next(t)}},t.prototype._tryProject=function(e){var t;try{t=this.project.apply(this,e)}catch(r){return void this.destination.error(r)}this.destination.next(t)},t}(n.OuterSubscriber);return s.define=i,t.exports}),System.register("rxjs/add/operator/zip",["rxjs/Observable","rxjs/operator/zip"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=require("rxjs/Observable"),o=require("rxjs/operator/zip");return i.Observable.prototype.zip=o.zipProto,r.define=s,t.exports}),System.register("rxjs/operator/zipAll",["rxjs/operator/zip"],!0,function(require,e,t){function r(e){return thi
|
||
|
return i.Observable.prototype.inspectTime=o.inspectTime,r.define=s,t.exports}),System.register("rxjs/add/operator/every",["rxjs/Observable","rxjs/operator/every"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=require("rxjs/Observable"),o=require("rxjs/operator/every");return i.Observable.prototype.every=o.every,r.define=s,t.exports}),System.register("rxjs/add/operator/last",["rxjs/Observable","rxjs/operator/last"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=require("rxjs/Observable"),o=require("rxjs/operator/last");return i.Observable.prototype.last=o.last,r.define=s,t.exports}),System.register("rxjs/add/operator/let",["rxjs/Observable","rxjs/operator/let"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=require("rxjs/Observable"),o=require("rxjs/operator/let");return i.Observable.prototype.let=o.letProto,i.Observable.prototype.letBind=o.letProto,r.define=s,t.exports}),System.register("rxjs/add/operator/map",["rxjs/Observable","rxjs/operator/map"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=require("rxjs/Observable"),o=require("rxjs/operator/map");return i.Observable.prototype.map=o.map,r.define=s,t.exports}),System.register("rxjs/add/operator/mapTo",["rxjs/Observable","rxjs/operator/mapTo"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=require("rxjs/Observable"),o=require("rxjs/operator/mapTo");return i.Observable.prototype.mapTo=o.mapTo,r.define=s,t.exports}),System.register("rxjs/add/operator/materialize",["rxjs/Observable","rxjs/operator/materialize"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=require("rxjs/Observable"),o=require("rxjs/operator/materialize");return i.Observable.prototype.materialize=o.materialize,r.define=s,t.exports}),System.register("rxjs/operator/partition",["rxjs/util/not","rxjs/operator/filter"],!0,function(require,e,t){function r(e,t){return[n.filter.call(this,e),n.filter.call(this,o.not(e,t))]}var s=System.global,i=s.define;s.define=void 0;var o=require("rxjs/util/not"),n=require("rxjs/operator/filter");return e.partition=r,s.define=i,t.exports}),System.register("rxjs/add/operator/pluck",["rxjs/Observable","rxjs/operator/pluck"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=require("rxjs/Observable"),o=require("rxjs/operator/pluck");return i.Observable.prototype.pluck=o.pluck,r.define=s,t.exports}),System.register("rxjs/add/operator/publish",["rxjs/Observable","rxjs/operator/publish"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=require("rxjs/Observable"),o=require("rxjs/operator/publish");return i.Observable.prototype.publish=o.publish,r.define=s,t.exports}),System.register("rxjs/operator/publishBehavior",["rxjs/subject/BehaviorSubject","rxjs/operator/multicast"],!0,function(require,e,t){function r(e){return n.multicast.call(this,new o.BehaviorSubject(e))}var s=System.global,i=s.define;s.define=void 0;var o=require("rxjs/subject/BehaviorSubject"),n=require("rxjs/operator/multicast");return e.publishBehavior=r,s.define=i,t.exports}),System.register("rxjs/add/operator/publishLast",["rxjs/Observable","rxjs/operator/publishLast"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=require("rxjs/Observable"),o=require("rxjs/operator/publishLast");return i.Observable.prototype.publishLast=o.publishLast,r.define=s,t.exports}),System.register("rxjs/add/operator/reduce",["rxjs/Observable","rxjs/operator/reduce"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=require("rxjs/Observable"),o=require("rxjs/operator/reduce");return i.Observable.prototype.reduce=o.reduce,r.define=s,t.exports}),System.register("rxjs/add/operator/repeat",["rxjs/Observable","rxjs/operator/repeat"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=require("rxjs/Observable"),o=require("rxjs/operator/repeat");return i.Observable.prototype.repeat=o.repeat,r.define=s,t.exports}),System.regist
|
||
|
this.unsubscribe()):(this.__tryOrUnsub(this._complete),this.unsubscribe()):this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(r){throw this.unsubscribe(),r}},t.prototype.__tryOrSetError=function(e,t,r){try{t.call(this._context,r)}catch(s){return e.syncErrorValue=s,e.syncErrorThrown=!0,!0}return!1},t.prototype._unsubscribe=function(){var e=this._parent;this._context=null,this._parent=null,e.unsubscribe()},t}(c);return r.define=s,t.exports}),System.register("rxjs/add/observable/combineLatest",["rxjs/Observable","rxjs/operator/combineLatest"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=require("rxjs/Observable"),o=require("rxjs/operator/combineLatest");return i.Observable.combineLatest=o.combineLatestStatic,r.define=s,t.exports}),System.register("rxjs/add/observable/from",["rxjs/Observable","rxjs/observable/FromObservable"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=require("rxjs/Observable"),o=require("rxjs/observable/FromObservable");return i.Observable.from=o.FromObservable.create,r.define=s,t.exports}),System.register("rxjs/scheduler/asap",["rxjs/scheduler/AsapScheduler"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=require("rxjs/scheduler/AsapScheduler");return e.asap=new i.AsapScheduler,r.define=s,t.exports}),System.register("rxjs/operator/cache",["rxjs/operator/publishReplay"],!0,function(require,e,t){function r(e,t,r){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===t&&(t=Number.POSITIVE_INFINITY),o.publishReplay.call(this,e,t,r).refCount()}var s=System.global,i=s.define;s.define=void 0;var o=require("rxjs/operator/publishReplay");return e.cache=r,s.define=i,t.exports}),System.register("rxjs/add/operator/groupBy",["rxjs/Observable","rxjs/operator/groupBy"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=require("rxjs/Observable"),o=require("rxjs/operator/groupBy");return i.Observable.prototype.groupBy=o.groupBy,r.define=s,t.exports}),System.register("rxjs/util/toSubscriber",["rxjs/Subscriber","rxjs/symbol/rxSubscriber"],!0,function(require,e,t){function r(e,t,r){if(e&&"object"==typeof e){if(e instanceof o.Subscriber)return e;if("function"==typeof e[n.rxSubscriber])return e[n.rxSubscriber]()}return new o.Subscriber(e,t,r)}var s=System.global,i=s.define;s.define=void 0;var o=require("rxjs/Subscriber"),n=require("rxjs/symbol/rxSubscriber");return e.toSubscriber=r,s.define=i,t.exports}),System.register("rxjs/observable/IntervalObservable",["rxjs/util/isNumeric","rxjs/Observable","rxjs/scheduler/asap"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=this&&this.__extends||function(e,t){function r(){this.constructor=e}for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=require("rxjs/util/isNumeric"),n=require("rxjs/Observable"),a=require("rxjs/scheduler/asap"),u=function(e){function t(t,r){void 0===t&&(t=0),void 0===r&&(r=a.asap),e.call(this),this.period=t,this.scheduler=r,(!o.isNumeric(t)||0>t)&&(this.period=0),r&&"function"==typeof r.schedule||(this.scheduler=a.asap)}return i(t,e),t.create=function(e,r){return void 0===e&&(e=0),void 0===r&&(r=a.asap),new t(e,r)},t.dispatch=function(e){var t=e.index,r=e.subscriber,s=e.period;r.next(t),r.isUnsubscribed||(e.index+=1,this.schedule(e,s))},t.prototype._subscribe=function(e){var r=0,s=this.period,i=this.scheduler;e.add(i.schedule(t.dispatch,s,{index:r,subscriber:e,period:s}))},t}(n.Observable);return e.IntervalObservable=u,r.define=s,t.exports}),System.register("rxjs/add/operator/cache",["rxjs/Observable","rxjs/operator/cache"],!0,function(require,e,t){var r=System.global,s=r.define;r.define=void 0;var i=require("rxjs/Observable"),o=require("rxjs/operator/cache");return i.Observable.prototype.cache=o.cache,r.define=s,t.exports}),System.register("rxjs/Observable",["rxjs/util/root","rxjs/util/SymbolShim","rxjs/util/toSubscriber","rxjs/util/tryCatch","rxjs/util/errorObject"],!0,function(require,e,t){var
|
||
|
//# sourceMappingURL=Rx.min.js.map
|