From 170854784cfd6a9b6ff69bea347abd522f498aa0 Mon Sep 17 00:00:00 2001 From: Lawrence Wu Date: Fri, 23 Mar 2018 16:20:34 -0400 Subject: [PATCH 01/10] hello world --- .DS_Store | Bin 0 -> 6148 bytes .gitignore | 37 ---------------------------- .vscode/launch.json | 17 +++++++++++++ .vscode/tasks.json | 19 +++++++++++++++ app.ts | 8 +++++++ casino.js | 2 ++ casino.js.map | 1 + casino.ts | 1 + css/style.css | 2 +- js/app.js | 12 ++++++++++ js/app.js.map | 1 + tsconfig.json | 57 ++++++++++++++++++++++++++++++++++++++++++++ 12 files changed, 119 insertions(+), 38 deletions(-) create mode 100644 .DS_Store delete mode 100644 .gitignore create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json create mode 100644 app.ts create mode 100644 casino.js create mode 100644 casino.js.map create mode 100644 casino.ts create mode 100644 js/app.js create mode 100644 js/app.js.map create mode 100644 tsconfig.json diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..86faa6455c05815d86cb21c475fba2ee6a0e2f5d GIT binary patch literal 6148 zcmeHKJx{|h5Pfc|ss$l+gE1phC1#dTr2_*C`~heK1r!KUip0Q>h5x|H$nWC^z`L_m z@=?Tqgb=!`?C03`&gbVSt^v5oeYyvX01Q|JJ404$Ova_OtP^^K=QPGOio-0Q&$4{h z^0tn@sDSKUA7{AZZ;bl>@uhH&9DjLN)AT=mm$khX-)(w4SA2($HtWu;GzEQUD7 z6bDFfL>!ZmHW+UW#unoi%srUK Date: Fri, 23 Mar 2018 17:33:17 -0400 Subject: [PATCH 02/10] what is going on son --- app.js | 19 +++++++++++++++++++ app.js.map | 1 + app.ts | 13 ++++++++++--- casino.js | 2 -- casino.js.map | 1 - casino.ts | 1 - index.html | 4 ++-- js/app.js | 12 ------------ js/app.js.map | 1 - 9 files changed, 32 insertions(+), 22 deletions(-) create mode 100644 app.js create mode 100644 app.js.map delete mode 100644 casino.js delete mode 100644 casino.js.map delete mode 100644 casino.ts delete mode 100644 js/app.js delete mode 100644 js/app.js.map diff --git a/app.js b/app.js new file mode 100644 index 00000000..fee51483 --- /dev/null +++ b/app.js @@ -0,0 +1,19 @@ +"use strict"; +var Startup = /** @class */ (function () { + function Startup() { + } + Startup.main = function () { + var button = document.getElementById("submit"); + var userInput = document.getElementById("user_input"); + var button = document.getElementById("submit_button"); + button.addEventListener("click", function (e) { return putToDisplay(userInput.value); }); + }; + return Startup; +}()); +var webElement = document.getElementById("display"); +function putToDisplay(text) { + webElement.innerText += "\n"; + webElement.innerText += text; +} +Startup.main(); +//# sourceMappingURL=app.js.map \ No newline at end of file diff --git a/app.js.map b/app.js.map new file mode 100644 index 00000000..6e024e6c --- /dev/null +++ b/app.js.map @@ -0,0 +1 @@ +{"version":3,"file":"app.js","sourceRoot":"","sources":["app.ts"],"names":[],"mappings":";AAAA;IAAA;IAOA,CAAC;IANiB,YAAI,GAAlB;QACI,IAAI,MAAM,GAAG,QAAQ,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;QAC/C,IAAI,SAAS,GAAwC,QAAQ,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC;QAC3F,IAAI,MAAM,GAAG,QAAQ,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC;QACtD,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,UAAC,CAAO,IAAI,OAAA,YAAY,CAAC,SAAS,CAAC,KAAK,CAAC,EAA7B,CAA6B,CAAC,CAAC;IAChF,CAAC;IACL,cAAC;AAAD,CAAC,AAPD,IAOC;AACG,IAAI,UAAU,GAAG,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;AACpD,sBAAsB,IAAY;IAC9B,UAAU,CAAC,SAAS,IAAI,IAAI,CAAC;IAC7B,UAAU,CAAC,SAAS,IAAI,IAAI,CAAC;AACjC,CAAC;AAEL,OAAO,CAAC,IAAI,EAAE,CAAC"} \ No newline at end of file diff --git a/app.ts b/app.ts index acc13fbc..20616714 100644 --- a/app.ts +++ b/app.ts @@ -1,8 +1,15 @@ class Startup { public static main(): void { - var webElement = document.getElementById("display"); - webElement.innerText += "Hello World"; + var button = document.getElementById("submit"); + var userInput: HTMLInputElement = document.getElementById("user_input"); + var button = document.getElementById("submit_button"); + button.addEventListener("click", (e:Event)=> putToDisplay(userInput.value)); } } - + var webElement = document.getElementById("display"); + function putToDisplay(text: string){ + webElement.innerText += "\n"; + webElement.innerText += text; + } + Startup.main(); \ No newline at end of file diff --git a/casino.js b/casino.js deleted file mode 100644 index 37e3757c..00000000 --- a/casino.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict"; -//# sourceMappingURL=casino.js.map \ No newline at end of file diff --git a/casino.js.map b/casino.js.map deleted file mode 100644 index 123470ac..00000000 --- a/casino.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"casino.js","sourceRoot":"","sources":["casino.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/casino.ts b/casino.ts deleted file mode 100644 index 8b137891..00000000 --- a/casino.ts +++ /dev/null @@ -1 +0,0 @@ - diff --git a/index.html b/index.html index d2c3c254..49f4376d 100644 --- a/index.html +++ b/index.html @@ -22,10 +22,10 @@

TypeScript Casino

- +
- + diff --git a/js/app.js b/js/app.js deleted file mode 100644 index 37899411..00000000 --- a/js/app.js +++ /dev/null @@ -1,12 +0,0 @@ -"use strict"; -var Startup = /** @class */ (function () { - function Startup() { - } - Startup.main = function () { - var webElement = document.getElementById("display"); - webElement.innerText += "Hello World"; - }; - return Startup; -}()); -Startup.main(); -//# sourceMappingURL=app.js.map \ No newline at end of file diff --git a/js/app.js.map b/js/app.js.map deleted file mode 100644 index efdd718a..00000000 --- a/js/app.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"app.js","sourceRoot":"","sources":["app.ts"],"names":[],"mappings":";AAAA;IAAA;IAKA,CAAC;IAJiB,YAAI,GAAlB;QACI,IAAI,UAAU,GAAG,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;QACpD,UAAU,CAAC,SAAS,IAAI,aAAa,CAAC;IAC1C,CAAC;IACL,cAAC;AAAD,CAAC,AALD,IAKC;AAED,OAAO,CAAC,IAAI,EAAE,CAAC"} \ No newline at end of file From b3d1356e01d13c5a8a3e50513ed6edba521ca9b8 Mon Sep 17 00:00:00 2001 From: Lawrence Wu Date: Fri, 23 Mar 2018 18:53:52 -0400 Subject: [PATCH 03/10] "testing visual studio auto commit" --- tsconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 4a31cebe..7be9a58c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,7 +17,7 @@ // "importHelpers": true, /* Import emit helpers from 'tslib'. */ // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ - + /* Strict Type-Checking Options */ "strict": true, /* Enable all strict type-checking options. */ "noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */ @@ -41,7 +41,7 @@ // "typeRoots": [], /* List of folders to include type definitions from. */ // "types": [], /* Type declaration files to be included in compilation. */ // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ - "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ + //"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ /* Source Map Options */ From 4bc133c280a43e04abcacfd4c595adf6e46500db Mon Sep 17 00:00:00 2001 From: Lawrence Wu Date: Sat, 24 Mar 2018 16:08:44 -0400 Subject: [PATCH 04/10] "tutorial stuff" --- .DS_Store | Bin 6148 -> 6148 bytes .vscode/launch.json | 7 +++++++ app.js.map | 1 - card.js | 30 ++++++++++++++++++++++++++++++ card.ts | 35 +++++++++++++++++++++++++++++++++++ deck.js | 25 +++++++++++++++++++++++++ deck.ts | 13 +++++++++++++ app.js => main.js | 4 +++- app.ts => main.ts | 6 +++++- tsconfig.json | 2 +- 10 files changed, 119 insertions(+), 4 deletions(-) delete mode 100644 app.js.map create mode 100644 card.js create mode 100644 card.ts create mode 100644 deck.js create mode 100644 deck.ts rename app.js => main.js (73%) rename app.ts => main.ts (69%) diff --git a/.DS_Store b/.DS_Store index 86faa6455c05815d86cb21c475fba2ee6a0e2f5d..8da36ef306c8a7bd5c1f26006d0b038d897542d7 100644 GIT binary patch delta 245 zcmZoMXfc=|#>B!ku~2NHo+2a9#(>?7i!U%UG4f32VUnA?i%C$Eiy@Jr00{LMvKWei zWG;yBnUkNKl#`#tz`!5?#4CYVV{#vp^yG3TC4F9oWT2X2hD?S$hJ3vGtQi;>Ie_|t zm>63pKVs5m{5+YD*=X__W9aFh^%1-07H~K A761SM delta 153 zcmZoMXfc=|#>B)qu~2NHo+2aX#(>?7jGU8sSmY!aYZw?97XAkVAd7*4jUkbtfT3XW z0ai)I8Iv!tNKdY3QJQ?4#eMPw7S_q?tQwQAvI3?$&ODi4#E}DJ1tS9k%jO7?HOv6{Ff73U diff --git a/.vscode/launch.json b/.vscode/launch.json index 0382e5cb..494bc33e 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,6 +4,13 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ + { + "type": "chrome", + "request": "launch", + "name": "Launch Chrome", + "url": "http://localhost:8080", + "webRoot": "${workspaceFolder}" + }, { "type": "node", "request": "launch", diff --git a/app.js.map b/app.js.map deleted file mode 100644 index 6e024e6c..00000000 --- a/app.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"app.js","sourceRoot":"","sources":["app.ts"],"names":[],"mappings":";AAAA;IAAA;IAOA,CAAC;IANiB,YAAI,GAAlB;QACI,IAAI,MAAM,GAAG,QAAQ,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;QAC/C,IAAI,SAAS,GAAwC,QAAQ,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC;QAC3F,IAAI,MAAM,GAAG,QAAQ,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC;QACtD,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,UAAC,CAAO,IAAI,OAAA,YAAY,CAAC,SAAS,CAAC,KAAK,CAAC,EAA7B,CAA6B,CAAC,CAAC;IAChF,CAAC;IACL,cAAC;AAAD,CAAC,AAPD,IAOC;AACG,IAAI,UAAU,GAAG,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;AACpD,sBAAsB,IAAY;IAC9B,UAAU,CAAC,SAAS,IAAI,IAAI,CAAC;IAC7B,UAAU,CAAC,SAAS,IAAI,IAAI,CAAC;AACjC,CAAC;AAEL,OAAO,CAAC,IAAI,EAAE,CAAC"} \ No newline at end of file diff --git a/card.js b/card.js new file mode 100644 index 00000000..0cd1acef --- /dev/null +++ b/card.js @@ -0,0 +1,30 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var Card = /** @class */ (function () { + function Card(card) { + this.firstName = "Ezio"; + this.card = card; + } + Card.prototype.getCard = function () { + return this.card; + }; + Card.prototype.passOutCards = function (numCards) { + console.log("I am passing out " + numCards + "and they are " + this.card); + }; + Card.prototype.sayHello = function () { + var _this = this; + setTimeout(function () { + console.log("Hello, " + _this.firstName); + }, 500); + }; + return Card; +}()); +exports.Card = Card; +var myCard = new Card("Hearts"); +myCard.passOutCards(4); +myCard.sayHello(); +function greet(firstName, lastName) { + if (lastName === void 0) { lastName = "Wu"; } + console.log("Hello, my name is " + firstName + " " + lastName); +} +greet("Lawrence", "Stu"); diff --git a/card.ts b/card.ts new file mode 100644 index 00000000..9bd490eb --- /dev/null +++ b/card.ts @@ -0,0 +1,35 @@ +class Card { + private card: string; + firstName = "Ezio"; + + constructor(card: string) { + this.card = card; + } + + getCard(){ + return this.card; + } + + passOutCards(numCards: number){ + console.log("I am passing out " + numCards + " and they are " + this.card); + } + + sayHello(){ + setTimeout(() => + { console.log("Hello, " + this.firstName); + } + , 500); + } +} + +let myCard = new Card("Hearts"); +myCard.passOutCards(4); +myCard.sayHello(); + +function greet(firstName: string, lastName : string = "Wu"): void{ + console.log("Hello, my name is " + firstName + " " + lastName); + +} +greet("Lawrence", "Stu"); + +export {Card} \ No newline at end of file diff --git a/deck.js b/deck.js new file mode 100644 index 00000000..52e4c085 --- /dev/null +++ b/deck.js @@ -0,0 +1,25 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +var card_1 = require("./card"); +var Deck = /** @class */ (function (_super) { + __extends(Deck, _super); + function Deck(card) { + return _super.call(this, card) || this; + } + Deck.prototype.passOutCards = function (numberCard) { + console.log("I am passing out " + numberCard + "and they are " + this.getCard); + }; + return Deck; +}(card_1.Card)); +var myDeck = new card_1.Card("Goobly"); +myDeck.passOutCards(3); diff --git a/deck.ts b/deck.ts new file mode 100644 index 00000000..0f81ac7d --- /dev/null +++ b/deck.ts @@ -0,0 +1,13 @@ +import { Card } from "./card" + +class Deck extends Card{ + + constructor(card: string) { + super(card); + } + passOutCards(numberCard: number){ + console.log("I am passing out " + numberCard + "and they are " + this.getCard); + } +} +let myDeck = new Card("Goobly"); +myDeck.passOutCards(3); diff --git a/app.js b/main.js similarity index 73% rename from app.js rename to main.js index fee51483..8e1c63cb 100644 --- a/app.js +++ b/main.js @@ -6,6 +6,9 @@ var Startup = /** @class */ (function () { var button = document.getElementById("submit"); var userInput = document.getElementById("user_input"); var button = document.getElementById("submit_button"); + var welcomeCasino = document.getElementById("display"); + welcomeCasino.innerText += "Welcome to the Zip Code Casino! Would you like to play?"; + welcomeCasino.innerText += "\nPress Y/N to play."; button.addEventListener("click", function (e) { return putToDisplay(userInput.value); }); }; return Startup; @@ -16,4 +19,3 @@ function putToDisplay(text) { webElement.innerText += text; } Startup.main(); -//# sourceMappingURL=app.js.map \ No newline at end of file diff --git a/app.ts b/main.ts similarity index 69% rename from app.ts rename to main.ts index 20616714..cdf91d59 100644 --- a/app.ts +++ b/main.ts @@ -3,6 +3,9 @@ class Startup { var button = document.getElementById("submit"); var userInput: HTMLInputElement = document.getElementById("user_input"); var button = document.getElementById("submit_button"); + const welcomeCasino = document.getElementById("display"); + welcomeCasino.innerText += "Welcome to the Zip Code Casino! Would you like to play?"; + welcomeCasino.innerText += "\nPress Y/N to play."; button.addEventListener("click", (e:Event)=> putToDisplay(userInput.value)); } } @@ -12,4 +15,5 @@ class Startup { webElement.innerText += text; } -Startup.main(); \ No newline at end of file +Startup.main(); + diff --git a/tsconfig.json b/tsconfig.json index 7be9a58c..c1980300 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,7 +8,7 @@ // "checkJs": true, /* Report errors in .js files. */ // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ // "declaration": true, /* Generates corresponding '.d.ts' file. */ - "sourceMap": true, /* Generates corresponding '.map' file. */ + // "sourceMap": true, /* Generates corresponding '.map' file. */ // "outFile": "./", /* Concatenate and emit output to single file. */ // "outDir": "./", /* Redirect output structure to the directory. */ // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ From 3a6649cf25b503c0cf7376470826bda951bce530 Mon Sep 17 00:00:00 2001 From: Lawrence Wu Date: Sun, 25 Mar 2018 12:40:11 -0400 Subject: [PATCH 05/10] added more classes --- card.js | 64 ++++++++++++++++++++++++++++-------------- card.ts | 81 +++++++++++++++++++++++++++++++++--------------------- deck.js | 51 +++++++++++++++++++++------------- deck.ts | 45 +++++++++++++++++++++++------- index.html | 2 +- player.js | 22 +++++++++++++++ player.ts | 25 +++++++++++++++++ 7 files changed, 209 insertions(+), 81 deletions(-) create mode 100644 player.js create mode 100644 player.ts diff --git a/card.js b/card.js index 0cd1acef..1d37bdd1 100644 --- a/card.js +++ b/card.js @@ -1,30 +1,54 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Card = /** @class */ (function () { - function Card(card) { - this.firstName = "Ezio"; - this.card = card; + function Card(rank, suit) { + this.rank = rank; + this.suit = suit; + switch (rank) { + case 'A': + this.value = 11; + break; + case 'K': + case 'Q': + case 'J': + this.value = 10; + break; + default: + this.value = parseInt(rank); + break; + } } - Card.prototype.getCard = function () { - return this.card; + Card.prototype.rankToString = function () { + switch (this.rank) { + case 'A': + return "Ace"; + case 'K': + return "King"; + case 'Q': + return "Queen"; + case 'J': + return "Jack"; + default: + return this.value.toString(); + } }; - Card.prototype.passOutCards = function (numCards) { - console.log("I am passing out " + numCards + "and they are " + this.card); + Card.prototype.suitToString = function () { + switch (this.suit) { + case '♥': + return "Hearts"; + case '♦': + return "Diamonds"; + case '♣': + return "Clubs"; + case '♠': + return "Spades"; + default: + return this.value.toString(); + } }; - Card.prototype.sayHello = function () { - var _this = this; - setTimeout(function () { - console.log("Hello, " + _this.firstName); - }, 500); + Card.prototype.cardToString = function () { + return this.rankToString() + " of " + this.suitToString(); }; return Card; }()); exports.Card = Card; -var myCard = new Card("Hearts"); -myCard.passOutCards(4); -myCard.sayHello(); -function greet(firstName, lastName) { - if (lastName === void 0) { lastName = "Wu"; } - console.log("Hello, my name is " + firstName + " " + lastName); -} -greet("Lawrence", "Stu"); diff --git a/card.ts b/card.ts index 9bd490eb..db0bdbec 100644 --- a/card.ts +++ b/card.ts @@ -1,35 +1,54 @@ -class Card { - private card: string; - firstName = "Ezio"; - - constructor(card: string) { - this.card = card; - } +export class Card{ + rank: string; + suit: string; + value: number; - getCard(){ - return this.card; + constructor(rank: string, suit: string){ + this.rank = rank; + this.suit = suit; + switch(rank){ + case 'A': + this.value = 11; + break; + case 'K': + case 'Q': + case 'J': + this.value = 10; + break; + default: + this.value = parseInt(rank); + break; + } } - - passOutCards(numCards: number){ - console.log("I am passing out " + numCards + " and they are " + this.card); + rankToString(): string { + switch (this.rank){ + case 'A': + return "Ace"; + case 'K': + return "King"; + case 'Q': + return "Queen"; + case 'J': + return "Jack"; + default: + return this.value.toString(); + } } - - sayHello(){ - setTimeout(() => - { console.log("Hello, " + this.firstName); - } - , 500); + suitToString(): string { + switch (this.suit){ + case '♥': + return "Hearts"; + case '♦': + return "Diamonds"; + case '♣': + return "Clubs"; + case '♠': + return "Spades"; + default: + return this.value.toString(); + } } -} - -let myCard = new Card("Hearts"); -myCard.passOutCards(4); -myCard.sayHello(); - -function greet(firstName: string, lastName : string = "Wu"): void{ - console.log("Hello, my name is " + firstName + " " + lastName); - -} -greet("Lawrence", "Stu"); - -export {Card} \ No newline at end of file + cardToString(): string { + return `${this.rankToString()} of ${this.suitToString()}`; + } +} \ No newline at end of file diff --git a/deck.js b/deck.js index 52e4c085..0ba1da41 100644 --- a/deck.js +++ b/deck.js @@ -1,25 +1,38 @@ "use strict"; -var __extends = (this && this.__extends) || (function () { - var extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return function (d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); Object.defineProperty(exports, "__esModule", { value: true }); var card_1 = require("./card"); -var Deck = /** @class */ (function (_super) { - __extends(Deck, _super); - function Deck(card) { - return _super.call(this, card) || this; +var Deck = /** @class */ (function () { + function Deck() { + this.cards = []; + this.currentCard = 0; + for (var i = 0; i < 13; i++) { + for (var suit = 0; suit < 4; suit++) { + this.cards.push(new card_1.Card(Deck.RANKS[i], Deck.SUITS[suit])); + } + } + this.shuffle(3); } - Deck.prototype.passOutCards = function (numberCard) { - console.log("I am passing out " + numberCard + "and they are " + this.getCard); + Deck.prototype.shuffle = function (times) { + for (var i = 0; i < (times || 1); i++) { + this.cards.sort(function () { + return (0.5 - Math.random()); + }); + } + }; + Deck.prototype.printDeck = function () { + this.cards.forEach(function (card) { + console.log(card.cardToString()); + }); + }; + Deck.prototype.draw = function () { + if (this.currentCard === this.cards.length - 1) { + this.shuffle(); + this.currentCard = 0; + } + return this.cards[this.currentCard++]; }; + Deck.SUITS = ['♥', '♦', '♠', '♣']; + Deck.RANKS = ['A', '2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K']; return Deck; -}(card_1.Card)); -var myDeck = new card_1.Card("Goobly"); -myDeck.passOutCards(3); +}()); +exports.Deck = Deck; diff --git a/deck.ts b/deck.ts index 0f81ac7d..f0367b7e 100644 --- a/deck.ts +++ b/deck.ts @@ -1,13 +1,38 @@ -import { Card } from "./card" +import {Card} from "./card"; -class Deck extends Card{ - - constructor(card: string) { - super(card); +export class Deck{ + static SUITS = ['♥', '♦', '♠', '♣']; + static RANKS = ['A', '2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K']; + + cards: Card[]; + currentCard: number; + + constructor(){ + this.cards = []; + this.currentCard = 0; + for (var i = 0; i < 13; i++){ + for (var suit = 0; suit < 4; suit++){ + this.cards.push(new Card(Deck.RANKS[i], Deck.SUITS[suit])); + } + } + this.shuffle(3); + } + shuffle(times?:number) { + for (var i = 0; i < (times||1); i++) { + this.cards.sort(function(){ + return (0.5 - Math.random()); }); + } + } + printDeck(){ + this.cards.forEach(function(card:Card){ + console.log(card.cardToString()); + }); } - passOutCards(numberCard: number){ - console.log("I am passing out " + numberCard + "and they are " + this.getCard); + draw(): Card{ + if (this.currentCard === this.cards.length-1){ + this.shuffle(); + this.currentCard = 0; + } + return this.cards[this.currentCard++]; } -} -let myDeck = new Card("Goobly"); -myDeck.passOutCards(3); +} \ No newline at end of file diff --git a/index.html b/index.html index 49f4376d..53e67f51 100644 --- a/index.html +++ b/index.html @@ -26,6 +26,6 @@

TypeScript Casino

- + diff --git a/player.js b/player.js new file mode 100644 index 00000000..50ef7a29 --- /dev/null +++ b/player.js @@ -0,0 +1,22 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var Observer = require('observed'); +var Player = /** @class */ (function () { + function Player(name) { + this.name = name; + this.hand = []; + this.handScore = 0; + } + Player.prototype.playerNameToString = function () { + return this.name; + }; + Player.prototype.handToString = function () { + var handString = ""; + for (var i = 0; i < this.hand.length; i++) { + handString += this.hand[i].cardToString + " "; + } + return handString; + }; + return Player; +}()); +exports.Player = Player; diff --git a/player.ts b/player.ts new file mode 100644 index 00000000..66999cde --- /dev/null +++ b/player.ts @@ -0,0 +1,25 @@ +declare function require(name:string); +var Observer = require('observed'); +import { Card } from "./card"; + +export class Player { + name: string; + hand: Card[]; + handScore: number; + + constructor(name: string){ + this.name = name; + this.hand = []; + this.handScore = 0; + } + playerNameToString(): string{ + return this.name; + } + handToString(): string{ + var handString = ""; + for (var i = 0; i < this.hand.length; i++){ + handString += this.hand[i].cardToString + " "; + } + return handString; + } +} \ No newline at end of file From 2c12231f07b71971546ad6aa82bf85bd31c7b36a Mon Sep 17 00:00:00 2001 From: Lawrence Wu Date: Sun, 25 Mar 2018 14:02:44 -0400 Subject: [PATCH 06/10] game logic --- BlackJack.js | 200 +++++++++++++++++++++++++++++++++++++++++++++ BlackJack.ts | 203 ++++++++++++++++++++++++++++++++++++++++++++++ CardGame.js | 50 ++++++++++++ CardGame.ts | 51 ++++++++++++ dealer.js | 21 +++++ dealer.ts | 9 ++ package-lock.json | 3 + player.js | 1 - player.ts | 2 - 9 files changed, 537 insertions(+), 3 deletions(-) create mode 100644 BlackJack.js create mode 100644 BlackJack.ts create mode 100644 CardGame.js create mode 100644 CardGame.ts create mode 100644 dealer.js create mode 100644 dealer.ts create mode 100644 package-lock.json diff --git a/BlackJack.js b/BlackJack.js new file mode 100644 index 00000000..e874b549 --- /dev/null +++ b/BlackJack.js @@ -0,0 +1,200 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +var player_1 = require("./player"); +var CardGame_1 = require("./CardGame"); +var inquirer = require('inquirer'); +var BlackJack = /** @class */ (function (_super) { + __extends(BlackJack, _super); + function BlackJack() { + var _this = _super.call(this) || this; + _this.userPrompts = [ + { + type: "list", + name: "turn", + message: "Hit or Stay?", + userChoice: ["Hit", "Stay"] + } + ]; + return _this; + } + BlackJack.prototype.turnPrompt = function () { + var turn = this; + inquirer.prompt(this.userPrompts, function (answers) { + switch (answers.turn) { + case 'Hit': + turn.hit(); + break; + case 'Stay': + turn.stay(); + break; + } + }); + }; + BlackJack.prototype.roundPrompt = function () { + var game = this; + inquirer.prompt([ + { + type: "list", + name: "keepPlaying", + message: "Do you want to keep playing?", + userChoice: [ + "Yes", + "No" + ] + } + ], function (answers) { + switch (answers.keepPlaying) { + case 'Yes': + game.newHand(); + game.start(); + break; + case 'No': + console.log('Peace out'); + break; + } + }); + }; + BlackJack.prototype.start = function () { + this.currentPlayer = 1; + this.dealCards(2); + this.gameStartState(); + this.evaluateState(); + }; + BlackJack.prototype.quit = function () { + console.log('Goodbye!'); + }; + BlackJack.prototype.hit = function () { + this.draw(); + this.printLastDraw(); + console.log("Your hand value is now: " + this.players[this.currentPlayer].handScore); + this.evaluateState(); + }; + BlackJack.prototype.stay = function () { + this.incrementTurn(); + this.evaluateState(); + }; + // fold() { + // console.log("You folded. Better luck next time!"); + // this.players[this.currentPlayer].hand = []; + // this.players[this.currentPlayer].handScore = this.calculateHandValue(this.players[this.currentPlayer].hand); + // this.evaluateState(); + // } + BlackJack.prototype.draw = function () { + _super.prototype.draw.call(this); + this.players[this.currentPlayer].handScore = this.calculateHandScores(this.players[this.currentPlayer].hand); + }; + /** + * This function should evaluate the current state. + * Ex Flow: + * If the current player has come back around to the dealer + * Evaluate if the dealer should hit or stay + * If the dealer's hand value is under 16 then hit + * Else stay + * Evalue who won based on the hand value + * Else + * If the current player's hand value is 21 then automatically stay and go to the next player + * If the current player busted wipe out their hand value and go to the next player + */ + BlackJack.prototype.evaluateState = function () { + var winner = new player_1.Player("No One"), draw = false; + // If turns have gone back around to the dealer + if (this.currentPlayer === 0) { + // The dealer takes his actions + console.log("The dealer has " + this.players[0].handToString()); + while (this.players[0].handScore < 16) { + this.draw(); + this.printLastDraw(); + if (this.players[0].handScore > 21) { + console.log('The Dealer busted!'); + this.players[0].handScore = 0; + break; + } + } + // Then check for a winner + this.players.forEach(function (player) { + if (player.handScore > winner.handScore) { + winner = player; + draw = false; + } + else if (player.handScore === winner.handScore) { + draw = true; + } + }); + if (draw) { + console.log("This round was a draw."); + } + else { + console.log(winner.name + " won the round with " + winner.handScore + "."); + } + this.roundPrompt(); + } + else { + if (this.players[this.currentPlayer].handScore === 21) { + console.log('Blackjack!'); + this.currentPlayer++; + this.roundPrompt(); + } + else if (this.players[this.currentPlayer].handScore > 21) { + console.log('Busted! You lose that one.'); + this.players[this.currentPlayer].handScore = 0; + this.currentPlayer++; + //TODO: needs to be modified to support more players + this.roundPrompt(); + } + else { + this.turnPrompt(); + } + } + }; + BlackJack.prototype.calculateHandScores = function (cards) { + var value = 0; + cards.forEach(function (card) { + value += card.value; + if (card.rank == 'A' && value > 21) { + value -= 10; + } + }); + return value; + }; + /** + * Prints out the state of the dealer and the player at the start of the round. + */ + BlackJack.prototype.gameStartState = function () { + //TODO: make dynamic to handle more players + this.printDealerState(); + this.printPlayerState(1); + }; + /** + * Prints the state of the dealer, only revealing one card. + */ + BlackJack.prototype.printDealerState = function () { + console.log("The dealer has " + this.players[0].hand[0].toString() + " showing"); + }; + /** + * Prints out the hand and the value of the hand for the given player. + * @param playerIndex The index of the player in the list of players + */ + BlackJack.prototype.printPlayerState = function (playerIndex) { + //TODO: make dynamic to handle more players (maybe change to say the players name instead of Your). + console.log("Your hand is: " + this.players[playerIndex].handToString()); + console.log("Your hand value is now: " + this.players[playerIndex].handScore); + }; + /** + * Prints the last drawn card to the console. + */ + BlackJack.prototype.printLastDraw = function () { + console.log(this.players[this.currentPlayer].name + " drew " + this.players[this.currentPlayer].hand[this.players[this.currentPlayer].hand.length - 1]); + }; + return BlackJack; +}(CardGame_1.CardGame)); +exports.BlackJack = BlackJack; diff --git a/BlackJack.ts b/BlackJack.ts new file mode 100644 index 00000000..67b5f02b --- /dev/null +++ b/BlackJack.ts @@ -0,0 +1,203 @@ +import { Player } from "./player"; +import { Deck } from "./deck"; +import { CardGame } from "./CardGame"; +import { Dealer } from "./dealer"; +import { Card } from "./card"; +declare function require(name:string); +var inquirer = require('inquirer'); + +export class BlackJack extends CardGame{ + userPrompts: Object[]; + + constructor(){ + super(); + this.userPrompts = [ + { + type: "list", + name: "turn", + message: "Hit or Stay?", + userChoice: ["Hit", "Stay"] + } + ]; + } + turnPrompt() { + var turn = this; + inquirer.prompt( this.userPrompts, + function(answers) { + switch(answers.turn){ + case 'Hit': + turn.hit(); + break; + case 'Stay': + turn.stay(); + break; + } + }); + } + + roundPrompt() { + var game = this; + inquirer.prompt([ + { + type: "list", + name: "keepPlaying", + message: "Do you want to keep playing?", + userChoice: [ + "Yes", + "No" + ] + } + ], function(answers){ + switch(answers.keepPlaying){ + case 'Yes': + game.newHand(); + game.start(); + break; + case 'No': + console.log('Peace out'); + break; + } + }); + } + + start() { + this.currentPlayer = 1; + this.dealCards(2); + this.gameStartState(); + this.evaluateState(); + } + + quit() { + console.log('Goodbye!'); + } + + hit() { + this.draw(); + this.printLastDraw(); + console.log(`Your hand value is now: ${this.players[this.currentPlayer].handScore}`); + this.evaluateState(); + } + + stay() { + this.incrementTurn(); + this.evaluateState(); + } + + // fold() { + // console.log("You folded. Better luck next time!"); + // this.players[this.currentPlayer].hand = []; + // this.players[this.currentPlayer].handScore = this.calculateHandValue(this.players[this.currentPlayer].hand); + // this.evaluateState(); + // } + + draw() { + super.draw(); + this.players[this.currentPlayer].handScore = this.calculateHandScores(this.players[this.currentPlayer].hand); + } + + /** + * This function should evaluate the current state. + * Ex Flow: + * If the current player has come back around to the dealer + * Evaluate if the dealer should hit or stay + * If the dealer's hand value is under 16 then hit + * Else stay + * Evalue who won based on the hand value + * Else + * If the current player's hand value is 21 then automatically stay and go to the next player + * If the current player busted wipe out their hand value and go to the next player + */ + evaluateState() { + var winner = new Player("No One"), draw = false; + // If turns have gone back around to the dealer + if (this.currentPlayer === 0) { + // The dealer takes his actions + console.log(`The dealer has ${this.players[0].handToString()}`); + while (this.players[0].handScore < 16) { + this.draw(); + this.printLastDraw(); + if(this.players[0].handScore > 21) { + console.log('The Dealer busted!'); + this.players[0].handScore = 0; + break; + } + } + // Then check for a winner + this.players.forEach(function(player){ + if (player.handScore > winner.handScore) { + winner = player; + draw = false; + } + else if(player.handScore === winner.handScore) { + draw = true; + } + }); + if(draw) { + console.log(`This round was a draw.`); + } + else { + console.log(`${winner.name} won the round with ${winner.handScore}.`); + } + this.roundPrompt(); + } else { + if (this.players[this.currentPlayer].handScore === 21) { + console.log('Blackjack!'); + this.currentPlayer++; + this.roundPrompt(); + } + else if (this.players[this.currentPlayer].handScore > 21) { + console.log('Busted! You lose that one.'); + this.players[this.currentPlayer].handScore = 0; + this.currentPlayer++; + //TODO: needs to be modified to support more players + this.roundPrompt(); + } else { + this.turnPrompt(); + } + } + } + + calculateHandScores(cards: Card[]): number { + var value = 0; + cards.forEach(function(card){ + value += card.value; + if(card.rank == 'A' && value > 21) { + value -= 10; + } + }); + return value; + } + + /** + * Prints out the state of the dealer and the player at the start of the round. + */ + gameStartState() { + //TODO: make dynamic to handle more players + this.printDealerState(); + this.printPlayerState(1); + } + + /** + * Prints the state of the dealer, only revealing one card. + */ + printDealerState() { + console.log(`The dealer has ${this.players[0].hand[0].toString()} showing`); + } + + /** + * Prints out the hand and the value of the hand for the given player. + * @param playerIndex The index of the player in the list of players + */ + printPlayerState(playerIndex:number) { + //TODO: make dynamic to handle more players (maybe change to say the players name instead of Your). + console.log(`Your hand is: ${this.players[playerIndex].handToString()}`); + console.log(`Your hand value is now: ${this.players[playerIndex].handScore}`); + } + + /** + * Prints the last drawn card to the console. + */ + printLastDraw() { + console.log(`${this.players[this.currentPlayer].name} drew ${this.players[this.currentPlayer].hand[this.players[this.currentPlayer].hand.length-1]}`); + } +} \ No newline at end of file diff --git a/CardGame.js b/CardGame.js new file mode 100644 index 00000000..7013d66b --- /dev/null +++ b/CardGame.js @@ -0,0 +1,50 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var player_1 = require("./player"); +var deck_1 = require("./deck"); +var dealer_1 = require("./dealer"); +var CardGame = /** @class */ (function () { + function CardGame() { + this.players = []; + this.currentPlayer = 1; + this.players.push(new dealer_1.Dealer("Dealer")); + this.deck = new deck_1.Deck(); + } + CardGame.prototype.draw = function () { + var card = this.deck.draw(); + this.players[this.currentPlayer].hand.push(card); + }; + CardGame.prototype.incrementTurn = function () { + this.currentPlayer++; + if (this.currentPlayer === this.players.length) { + this.currentPlayer = 0; + } + }; + CardGame.prototype.dealCards = function (numOfCards) { + for (var i = 0; i < (numOfCards || 2); i++) { + for (var player = 0; player < this.players.length; player++) { + this.draw(); + this.incrementTurn(); + } + } + }; + CardGame.prototype.addNewPlayer = function (name) { + this.players.push(new player_1.Player((name || "Player " + (this.players.length + 1)))); + }; + CardGame.prototype.showHands = function () { + this.players.forEach(function (player) { + console.log(player.name + "'s hand:"); + player.hand.forEach(function (card) { + console.log(card.cardToString()); + }); + }); + }; + CardGame.prototype.newHand = function () { + for (var player = 0; player < this.players.length; player++) { + this.players[player].hand = []; + this.players[player].handScore = 0; + } + }; + return CardGame; +}()); +exports.CardGame = CardGame; diff --git a/CardGame.ts b/CardGame.ts new file mode 100644 index 00000000..1486a9f4 --- /dev/null +++ b/CardGame.ts @@ -0,0 +1,51 @@ +import { Player } from "./player"; +import { Deck } from "./deck"; +import { Dealer } from "./dealer"; + +export class CardGame{ + players: Player[]; + currentPlayer: number; + deck: Deck; + + constructor(){ + this.players = []; + this.currentPlayer = 1; + this.players.push(new Dealer("Dealer")); + this.deck = new Deck(); + } + draw(){ + var card = this.deck.draw(); + this.players[this.currentPlayer].hand.push(card); + } + incrementTurn() { + this.currentPlayer++; + if (this.currentPlayer === this.players.length) { + this.currentPlayer = 0; + } + } + dealCards(numOfCards?: number){ + for (var i = 0; i < (numOfCards||2); i++){ + for (var player = 0; player < this.players.length; player++){ + this.draw(); + this.incrementTurn(); + } + } + } + addNewPlayer(name?: string){ + this.players.push(new Player((name|| `Player ${this.players.length+1}`))); + } + showHands(){ + this.players.forEach(function(player) { + console.log(`${player.name}'s hand:`); + player.hand.forEach(function(card) { + console.log(card.cardToString()); + }); + }); + } + newHand(){ + for (var player = 0; player < this.players.length; player++){ + this.players[player].hand = []; + this.players[player].handScore = 0; + } + } +} \ No newline at end of file diff --git a/dealer.js b/dealer.js new file mode 100644 index 00000000..71d5580f --- /dev/null +++ b/dealer.js @@ -0,0 +1,21 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +var player_1 = require("./player"); +var Dealer = /** @class */ (function (_super) { + __extends(Dealer, _super); + function Dealer(name) { + return _super.call(this, "Dealer") || this; + } + return Dealer; +}(player_1.Player)); +exports.Dealer = Dealer; diff --git a/dealer.ts b/dealer.ts new file mode 100644 index 00000000..21f1eeab --- /dev/null +++ b/dealer.ts @@ -0,0 +1,9 @@ +import { Player } from "./player"; + +export class Dealer extends Player{ + + constructor(name : string) { + super("Dealer"); + + } +} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 00000000..48e341a0 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,3 @@ +{ + "lockfileVersion": 1 +} diff --git a/player.js b/player.js index 50ef7a29..ae794327 100644 --- a/player.js +++ b/player.js @@ -1,6 +1,5 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -var Observer = require('observed'); var Player = /** @class */ (function () { function Player(name) { this.name = name; diff --git a/player.ts b/player.ts index 66999cde..df2ccd0a 100644 --- a/player.ts +++ b/player.ts @@ -1,5 +1,3 @@ -declare function require(name:string); -var Observer = require('observed'); import { Card } from "./card"; export class Player { From a33aa8eb1ca4fa3d9990f6d6cca70df4089b7b4f Mon Sep 17 00:00:00 2001 From: Lawrence Wu Date: Sun, 25 Mar 2018 14:10:00 -0400 Subject: [PATCH 07/10] downloaded some node module thing... --- BlackJack.js | 28 - BlackJack.ts | 32 +- node_modules/ansi-escapes/index.js | 122 + node_modules/ansi-escapes/license | 9 + node_modules/ansi-escapes/package.json | 82 + node_modules/ansi-escapes/readme.md | 180 + node_modules/ansi-regex/index.js | 10 + node_modules/ansi-regex/license | 9 + node_modules/ansi-regex/package.json | 85 + node_modules/ansi-regex/readme.md | 46 + node_modules/ansi-styles/index.js | 165 + node_modules/ansi-styles/license | 9 + node_modules/ansi-styles/package.json | 88 + node_modules/ansi-styles/readme.md | 147 + node_modules/chalk/index.js | 228 + node_modules/chalk/license | 9 + node_modules/chalk/package.json | 98 + node_modules/chalk/readme.md | 309 + node_modules/chalk/templates.js | 128 + node_modules/chalk/types/index.d.ts | 97 + node_modules/chardet/.npmignore | 2 + node_modules/chardet/.travis.yml | 5 + node_modules/chardet/LICENSE | 19 + node_modules/chardet/README.md | 66 + node_modules/chardet/encoding/iso2022.js | 141 + node_modules/chardet/encoding/mbcs.js | 502 + node_modules/chardet/encoding/sbcs.js | 907 + node_modules/chardet/encoding/unicode.js | 112 + node_modules/chardet/encoding/utf8.js | 84 + node_modules/chardet/index.js | 117 + node_modules/chardet/match.js | 6 + node_modules/chardet/package.json | 71 + node_modules/chardet/yarn.lock | 364 + node_modules/cli-cursor/index.js | 39 + node_modules/cli-cursor/license | 21 + node_modules/cli-cursor/package.json | 78 + node_modules/cli-cursor/readme.md | 45 + node_modules/cli-width/.npmignore | 3 + node_modules/cli-width/.travis.yml | 11 + node_modules/cli-width/CHANGELOG.md | 16 + node_modules/cli-width/LICENSE | 13 + node_modules/cli-width/README.md | 72 + node_modules/cli-width/index.js | 49 + node_modules/cli-width/package.json | 59 + node_modules/color-convert/CHANGELOG.md | 54 + node_modules/color-convert/LICENSE | 21 + node_modules/color-convert/README.md | 68 + node_modules/color-convert/conversions.js | 861 + node_modules/color-convert/index.js | 78 + node_modules/color-convert/package.json | 81 + node_modules/color-convert/route.js | 97 + node_modules/color-name/.eslintrc.json | 43 + node_modules/color-name/.npmignore | 107 + node_modules/color-name/LICENSE | 8 + node_modules/color-name/README.md | 11 + node_modules/color-name/index.js | 152 + node_modules/color-name/package.json | 53 + node_modules/color-name/test.js | 7 + node_modules/escape-string-regexp/index.js | 11 + node_modules/escape-string-regexp/license | 21 + .../escape-string-regexp/package.json | 82 + node_modules/escape-string-regexp/readme.md | 27 + node_modules/external-editor/LICENSE | 21 + node_modules/external-editor/README.md | 147 + node_modules/external-editor/example_async.js | 40 + node_modules/external-editor/example_sync.js | 34 + .../main/errors/CreateFileError.js | 29 + .../main/errors/LaunchEditorError.js | 29 + .../main/errors/ReadFileError.js | 29 + .../main/errors/RemoveFileError.js | 29 + node_modules/external-editor/main/index.js | 219 + node_modules/external-editor/package.json | 76 + node_modules/figures/index.js | 147 + node_modules/figures/license | 21 + node_modules/figures/package.json | 79 + node_modules/figures/readme.md | 120 + node_modules/has-flag/index.js | 8 + node_modules/has-flag/license | 9 + node_modules/has-flag/package.json | 76 + node_modules/has-flag/readme.md | 70 + node_modules/iconv-lite/.npmignore | 6 + node_modules/iconv-lite/.travis.yml | 23 + node_modules/iconv-lite/Changelog.md | 134 + node_modules/iconv-lite/LICENSE | 21 + node_modules/iconv-lite/README.md | 160 + .../iconv-lite/encodings/dbcs-codec.js | 555 + .../iconv-lite/encodings/dbcs-data.js | 176 + node_modules/iconv-lite/encodings/index.js | 22 + node_modules/iconv-lite/encodings/internal.js | 188 + .../iconv-lite/encodings/sbcs-codec.js | 73 + .../encodings/sbcs-data-generated.js | 451 + .../iconv-lite/encodings/sbcs-data.js | 169 + .../encodings/tables/big5-added.json | 122 + .../iconv-lite/encodings/tables/cp936.json | 264 + .../iconv-lite/encodings/tables/cp949.json | 273 + .../iconv-lite/encodings/tables/cp950.json | 177 + .../iconv-lite/encodings/tables/eucjp.json | 182 + .../encodings/tables/gb18030-ranges.json | 1 + .../encodings/tables/gbk-added.json | 55 + .../iconv-lite/encodings/tables/shiftjis.json | 125 + node_modules/iconv-lite/encodings/utf16.js | 177 + node_modules/iconv-lite/encodings/utf7.js | 290 + node_modules/iconv-lite/lib/bom-handling.js | 52 + node_modules/iconv-lite/lib/extend-node.js | 215 + node_modules/iconv-lite/lib/index.d.ts | 24 + node_modules/iconv-lite/lib/index.js | 148 + node_modules/iconv-lite/lib/streams.js | 121 + node_modules/iconv-lite/package.json | 123 + node_modules/inquirer/README.md | 389 + node_modules/inquirer/lib/inquirer.js | 85 + node_modules/inquirer/lib/objects/choice.js | 37 + node_modules/inquirer/lib/objects/choices.js | 114 + .../inquirer/lib/objects/separator.js | 37 + node_modules/inquirer/lib/prompts/base.js | 133 + node_modules/inquirer/lib/prompts/checkbox.js | 243 + node_modules/inquirer/lib/prompts/confirm.js | 99 + node_modules/inquirer/lib/prompts/editor.js | 100 + node_modules/inquirer/lib/prompts/expand.js | 266 + node_modules/inquirer/lib/prompts/input.js | 96 + node_modules/inquirer/lib/prompts/list.js | 177 + node_modules/inquirer/lib/prompts/password.js | 106 + node_modules/inquirer/lib/prompts/rawlist.js | 178 + node_modules/inquirer/lib/ui/baseUI.js | 82 + node_modules/inquirer/lib/ui/bottom-bar.js | 99 + node_modules/inquirer/lib/ui/prompt.js | 119 + node_modules/inquirer/lib/utils/events.js | 40 + node_modules/inquirer/lib/utils/paginator.js | 53 + node_modules/inquirer/lib/utils/readline.js | 51 + .../inquirer/lib/utils/screen-manager.js | 138 + node_modules/inquirer/lib/utils/utils.js | 26 + node_modules/inquirer/package.json | 138 + node_modules/is-fullwidth-code-point/index.js | 46 + node_modules/is-fullwidth-code-point/license | 21 + .../is-fullwidth-code-point/package.json | 77 + .../is-fullwidth-code-point/readme.md | 39 + node_modules/is-promise/.npmignore | 6 + node_modules/is-promise/.travis.yml | 3 + node_modules/is-promise/LICENSE | 19 + node_modules/is-promise/index.js | 5 + node_modules/is-promise/package.json | 50 + node_modules/is-promise/readme.md | 29 + node_modules/lodash/LICENSE | 47 + node_modules/lodash/README.md | 39 + node_modules/lodash/_DataView.js | 7 + node_modules/lodash/_Hash.js | 32 + node_modules/lodash/_LazyWrapper.js | 28 + node_modules/lodash/_ListCache.js | 32 + node_modules/lodash/_LodashWrapper.js | 22 + node_modules/lodash/_Map.js | 7 + node_modules/lodash/_MapCache.js | 32 + node_modules/lodash/_Promise.js | 7 + node_modules/lodash/_Set.js | 7 + node_modules/lodash/_SetCache.js | 27 + node_modules/lodash/_Stack.js | 27 + node_modules/lodash/_Symbol.js | 6 + node_modules/lodash/_Uint8Array.js | 6 + node_modules/lodash/_WeakMap.js | 7 + node_modules/lodash/_apply.js | 21 + node_modules/lodash/_arrayAggregator.js | 22 + node_modules/lodash/_arrayEach.js | 22 + node_modules/lodash/_arrayEachRight.js | 21 + node_modules/lodash/_arrayEvery.js | 23 + node_modules/lodash/_arrayFilter.js | 25 + node_modules/lodash/_arrayIncludes.js | 17 + node_modules/lodash/_arrayIncludesWith.js | 22 + node_modules/lodash/_arrayLikeKeys.js | 49 + node_modules/lodash/_arrayMap.js | 21 + node_modules/lodash/_arrayPush.js | 20 + node_modules/lodash/_arrayReduce.js | 26 + node_modules/lodash/_arrayReduceRight.js | 24 + node_modules/lodash/_arraySample.js | 15 + node_modules/lodash/_arraySampleSize.js | 17 + node_modules/lodash/_arrayShuffle.js | 15 + node_modules/lodash/_arraySome.js | 23 + node_modules/lodash/_asciiSize.js | 12 + node_modules/lodash/_asciiToArray.js | 12 + node_modules/lodash/_asciiWords.js | 15 + node_modules/lodash/_assignMergeValue.js | 20 + node_modules/lodash/_assignValue.js | 28 + node_modules/lodash/_assocIndexOf.js | 21 + node_modules/lodash/_baseAggregator.js | 21 + node_modules/lodash/_baseAssign.js | 17 + node_modules/lodash/_baseAssignIn.js | 17 + node_modules/lodash/_baseAssignValue.js | 25 + node_modules/lodash/_baseAt.js | 23 + node_modules/lodash/_baseClamp.js | 22 + node_modules/lodash/_baseClone.js | 171 + node_modules/lodash/_baseConforms.js | 18 + node_modules/lodash/_baseConformsTo.js | 27 + node_modules/lodash/_baseCreate.js | 30 + node_modules/lodash/_baseDelay.js | 21 + node_modules/lodash/_baseDifference.js | 67 + node_modules/lodash/_baseEach.js | 14 + node_modules/lodash/_baseEachRight.js | 14 + node_modules/lodash/_baseEvery.js | 21 + node_modules/lodash/_baseExtremum.js | 32 + node_modules/lodash/_baseFill.js | 32 + node_modules/lodash/_baseFilter.js | 21 + node_modules/lodash/_baseFindIndex.js | 24 + node_modules/lodash/_baseFindKey.js | 23 + node_modules/lodash/_baseFlatten.js | 38 + node_modules/lodash/_baseFor.js | 16 + node_modules/lodash/_baseForOwn.js | 16 + node_modules/lodash/_baseForOwnRight.js | 16 + node_modules/lodash/_baseForRight.js | 15 + node_modules/lodash/_baseFunctions.js | 19 + node_modules/lodash/_baseGet.js | 24 + node_modules/lodash/_baseGetAllKeys.js | 20 + node_modules/lodash/_baseGetTag.js | 28 + node_modules/lodash/_baseGt.js | 14 + node_modules/lodash/_baseHas.js | 19 + node_modules/lodash/_baseHasIn.js | 13 + node_modules/lodash/_baseInRange.js | 18 + node_modules/lodash/_baseIndexOf.js | 20 + node_modules/lodash/_baseIndexOfWith.js | 23 + node_modules/lodash/_baseIntersection.js | 74 + node_modules/lodash/_baseInverter.js | 21 + node_modules/lodash/_baseInvoke.js | 24 + node_modules/lodash/_baseIsArguments.js | 18 + node_modules/lodash/_baseIsArrayBuffer.js | 17 + node_modules/lodash/_baseIsDate.js | 18 + node_modules/lodash/_baseIsEqual.js | 28 + node_modules/lodash/_baseIsEqualDeep.js | 83 + node_modules/lodash/_baseIsMap.js | 18 + node_modules/lodash/_baseIsMatch.js | 62 + node_modules/lodash/_baseIsNaN.js | 12 + node_modules/lodash/_baseIsNative.js | 47 + node_modules/lodash/_baseIsRegExp.js | 18 + node_modules/lodash/_baseIsSet.js | 18 + node_modules/lodash/_baseIsTypedArray.js | 60 + node_modules/lodash/_baseIteratee.js | 31 + node_modules/lodash/_baseKeys.js | 30 + node_modules/lodash/_baseKeysIn.js | 33 + node_modules/lodash/_baseLodash.js | 10 + node_modules/lodash/_baseLt.js | 14 + node_modules/lodash/_baseMap.js | 22 + node_modules/lodash/_baseMatches.js | 22 + node_modules/lodash/_baseMatchesProperty.js | 33 + node_modules/lodash/_baseMean.js | 20 + node_modules/lodash/_baseMerge.js | 42 + node_modules/lodash/_baseMergeDeep.js | 94 + node_modules/lodash/_baseNth.js | 20 + node_modules/lodash/_baseOrderBy.js | 34 + node_modules/lodash/_basePick.js | 19 + node_modules/lodash/_basePickBy.js | 30 + node_modules/lodash/_baseProperty.js | 14 + node_modules/lodash/_basePropertyDeep.js | 16 + node_modules/lodash/_basePropertyOf.js | 14 + node_modules/lodash/_basePullAll.js | 51 + node_modules/lodash/_basePullAt.js | 37 + node_modules/lodash/_baseRandom.js | 18 + node_modules/lodash/_baseRange.js | 28 + node_modules/lodash/_baseReduce.js | 23 + node_modules/lodash/_baseRepeat.js | 35 + node_modules/lodash/_baseRest.js | 17 + node_modules/lodash/_baseSample.js | 15 + node_modules/lodash/_baseSampleSize.js | 18 + node_modules/lodash/_baseSet.js | 47 + node_modules/lodash/_baseSetData.js | 17 + node_modules/lodash/_baseSetToString.js | 22 + node_modules/lodash/_baseShuffle.js | 15 + node_modules/lodash/_baseSlice.js | 31 + node_modules/lodash/_baseSome.js | 22 + node_modules/lodash/_baseSortBy.js | 21 + node_modules/lodash/_baseSortedIndex.js | 42 + node_modules/lodash/_baseSortedIndexBy.js | 64 + node_modules/lodash/_baseSortedUniq.js | 30 + node_modules/lodash/_baseSum.js | 24 + node_modules/lodash/_baseTimes.js | 20 + node_modules/lodash/_baseToNumber.js | 24 + node_modules/lodash/_baseToPairs.js | 18 + node_modules/lodash/_baseToString.js | 37 + node_modules/lodash/_baseUnary.js | 14 + node_modules/lodash/_baseUniq.js | 72 + node_modules/lodash/_baseUnset.js | 20 + node_modules/lodash/_baseUpdate.js | 18 + node_modules/lodash/_baseValues.js | 19 + node_modules/lodash/_baseWhile.js | 26 + node_modules/lodash/_baseWrapperValue.js | 25 + node_modules/lodash/_baseXor.js | 36 + node_modules/lodash/_baseZipObject.js | 23 + node_modules/lodash/_cacheHas.js | 13 + node_modules/lodash/_castArrayLikeObject.js | 14 + node_modules/lodash/_castFunction.js | 14 + node_modules/lodash/_castPath.js | 21 + node_modules/lodash/_castRest.js | 14 + node_modules/lodash/_castSlice.js | 18 + node_modules/lodash/_charsEndIndex.js | 19 + node_modules/lodash/_charsStartIndex.js | 20 + node_modules/lodash/_cloneArrayBuffer.js | 16 + node_modules/lodash/_cloneBuffer.js | 35 + node_modules/lodash/_cloneDataView.js | 16 + node_modules/lodash/_cloneRegExp.js | 17 + node_modules/lodash/_cloneSymbol.js | 18 + node_modules/lodash/_cloneTypedArray.js | 16 + node_modules/lodash/_compareAscending.js | 41 + node_modules/lodash/_compareMultiple.js | 44 + node_modules/lodash/_composeArgs.js | 39 + node_modules/lodash/_composeArgsRight.js | 41 + node_modules/lodash/_copyArray.js | 20 + node_modules/lodash/_copyObject.js | 40 + node_modules/lodash/_copySymbols.js | 16 + node_modules/lodash/_copySymbolsIn.js | 16 + node_modules/lodash/_coreJsData.js | 6 + node_modules/lodash/_countHolders.js | 21 + node_modules/lodash/_createAggregator.js | 23 + node_modules/lodash/_createAssigner.js | 37 + node_modules/lodash/_createBaseEach.js | 32 + node_modules/lodash/_createBaseFor.js | 25 + node_modules/lodash/_createBind.js | 28 + node_modules/lodash/_createCaseFirst.js | 33 + node_modules/lodash/_createCompounder.js | 24 + node_modules/lodash/_createCtor.js | 37 + node_modules/lodash/_createCurry.js | 46 + node_modules/lodash/_createFind.js | 25 + node_modules/lodash/_createFlow.js | 78 + node_modules/lodash/_createHybrid.js | 92 + node_modules/lodash/_createInverter.js | 17 + node_modules/lodash/_createMathOperation.js | 38 + node_modules/lodash/_createOver.js | 27 + node_modules/lodash/_createPadding.js | 33 + node_modules/lodash/_createPartial.js | 43 + node_modules/lodash/_createRange.js | 30 + node_modules/lodash/_createRecurry.js | 56 + .../lodash/_createRelationalOperation.js | 20 + node_modules/lodash/_createRound.js | 33 + node_modules/lodash/_createSet.js | 19 + node_modules/lodash/_createToPairs.js | 30 + node_modules/lodash/_createWrap.js | 106 + .../lodash/_customDefaultsAssignIn.js | 29 + node_modules/lodash/_customDefaultsMerge.js | 28 + node_modules/lodash/_customOmitClone.js | 16 + node_modules/lodash/_deburrLetter.js | 71 + node_modules/lodash/_defineProperty.js | 11 + node_modules/lodash/_equalArrays.js | 83 + node_modules/lodash/_equalByTag.js | 112 + node_modules/lodash/_equalObjects.js | 89 + node_modules/lodash/_escapeHtmlChar.js | 21 + node_modules/lodash/_escapeStringChar.js | 22 + node_modules/lodash/_flatRest.js | 16 + node_modules/lodash/_freeGlobal.js | 4 + node_modules/lodash/_getAllKeys.js | 16 + node_modules/lodash/_getAllKeysIn.js | 17 + node_modules/lodash/_getData.js | 15 + node_modules/lodash/_getFuncName.js | 31 + node_modules/lodash/_getHolder.js | 13 + node_modules/lodash/_getMapData.js | 18 + node_modules/lodash/_getMatchData.js | 24 + node_modules/lodash/_getNative.js | 17 + node_modules/lodash/_getPrototype.js | 6 + node_modules/lodash/_getRawTag.js | 46 + node_modules/lodash/_getSymbols.js | 30 + node_modules/lodash/_getSymbolsIn.js | 25 + node_modules/lodash/_getTag.js | 58 + node_modules/lodash/_getValue.js | 13 + node_modules/lodash/_getView.js | 33 + node_modules/lodash/_getWrapDetails.js | 17 + node_modules/lodash/_hasPath.js | 39 + node_modules/lodash/_hasUnicode.js | 26 + node_modules/lodash/_hasUnicodeWord.js | 15 + node_modules/lodash/_hashClear.js | 15 + node_modules/lodash/_hashDelete.js | 17 + node_modules/lodash/_hashGet.js | 30 + node_modules/lodash/_hashHas.js | 23 + node_modules/lodash/_hashSet.js | 23 + node_modules/lodash/_initCloneArray.js | 26 + node_modules/lodash/_initCloneByTag.js | 77 + node_modules/lodash/_initCloneObject.js | 18 + node_modules/lodash/_insertWrapDetails.js | 23 + node_modules/lodash/_isFlattenable.js | 20 + node_modules/lodash/_isIndex.js | 25 + node_modules/lodash/_isIterateeCall.js | 30 + node_modules/lodash/_isKey.js | 29 + node_modules/lodash/_isKeyable.js | 15 + node_modules/lodash/_isLaziable.js | 28 + node_modules/lodash/_isMaskable.js | 14 + node_modules/lodash/_isMasked.js | 20 + node_modules/lodash/_isPrototype.js | 18 + node_modules/lodash/_isStrictComparable.js | 15 + node_modules/lodash/_iteratorToArray.js | 18 + node_modules/lodash/_lazyClone.js | 23 + node_modules/lodash/_lazyReverse.js | 23 + node_modules/lodash/_lazyValue.js | 69 + node_modules/lodash/_listCacheClear.js | 13 + node_modules/lodash/_listCacheDelete.js | 35 + node_modules/lodash/_listCacheGet.js | 19 + node_modules/lodash/_listCacheHas.js | 16 + node_modules/lodash/_listCacheSet.js | 26 + node_modules/lodash/_mapCacheClear.js | 21 + node_modules/lodash/_mapCacheDelete.js | 18 + node_modules/lodash/_mapCacheGet.js | 16 + node_modules/lodash/_mapCacheHas.js | 16 + node_modules/lodash/_mapCacheSet.js | 22 + node_modules/lodash/_mapToArray.js | 18 + .../lodash/_matchesStrictComparable.js | 20 + node_modules/lodash/_memoizeCapped.js | 26 + node_modules/lodash/_mergeData.js | 90 + node_modules/lodash/_metaMap.js | 6 + node_modules/lodash/_nativeCreate.js | 6 + node_modules/lodash/_nativeKeys.js | 6 + node_modules/lodash/_nativeKeysIn.js | 20 + node_modules/lodash/_nodeUtil.js | 22 + node_modules/lodash/_objectToString.js | 22 + node_modules/lodash/_overArg.js | 15 + node_modules/lodash/_overRest.js | 36 + node_modules/lodash/_parent.js | 16 + node_modules/lodash/_reEscape.js | 4 + node_modules/lodash/_reEvaluate.js | 4 + node_modules/lodash/_reInterpolate.js | 4 + node_modules/lodash/_realNames.js | 4 + node_modules/lodash/_reorder.js | 29 + node_modules/lodash/_replaceHolders.js | 29 + node_modules/lodash/_root.js | 9 + node_modules/lodash/_safeGet.js | 15 + node_modules/lodash/_setCacheAdd.js | 19 + node_modules/lodash/_setCacheHas.js | 14 + node_modules/lodash/_setData.js | 20 + node_modules/lodash/_setToArray.js | 18 + node_modules/lodash/_setToPairs.js | 18 + node_modules/lodash/_setToString.js | 14 + node_modules/lodash/_setWrapToString.js | 21 + node_modules/lodash/_shortOut.js | 37 + node_modules/lodash/_shuffleSelf.js | 28 + node_modules/lodash/_stackClear.js | 15 + node_modules/lodash/_stackDelete.js | 18 + node_modules/lodash/_stackGet.js | 14 + node_modules/lodash/_stackHas.js | 14 + node_modules/lodash/_stackSet.js | 34 + node_modules/lodash/_strictIndexOf.js | 23 + node_modules/lodash/_strictLastIndexOf.js | 21 + node_modules/lodash/_stringSize.js | 18 + node_modules/lodash/_stringToArray.js | 18 + node_modules/lodash/_stringToPath.js | 27 + node_modules/lodash/_toKey.js | 21 + node_modules/lodash/_toSource.js | 26 + node_modules/lodash/_unescapeHtmlChar.js | 21 + node_modules/lodash/_unicodeSize.js | 44 + node_modules/lodash/_unicodeToArray.js | 40 + node_modules/lodash/_unicodeWords.js | 69 + node_modules/lodash/_updateWrapDetails.js | 46 + node_modules/lodash/_wrapperClone.js | 23 + node_modules/lodash/add.js | 22 + node_modules/lodash/after.js | 42 + node_modules/lodash/array.js | 67 + node_modules/lodash/ary.js | 29 + node_modules/lodash/assign.js | 58 + node_modules/lodash/assignIn.js | 40 + node_modules/lodash/assignInWith.js | 38 + node_modules/lodash/assignWith.js | 37 + node_modules/lodash/at.js | 23 + node_modules/lodash/attempt.js | 35 + node_modules/lodash/before.js | 40 + node_modules/lodash/bind.js | 57 + node_modules/lodash/bindAll.js | 41 + node_modules/lodash/bindKey.js | 68 + node_modules/lodash/camelCase.js | 29 + node_modules/lodash/capitalize.js | 23 + node_modules/lodash/castArray.js | 44 + node_modules/lodash/ceil.js | 26 + node_modules/lodash/chain.js | 38 + node_modules/lodash/chunk.js | 50 + node_modules/lodash/clamp.js | 39 + node_modules/lodash/clone.js | 36 + node_modules/lodash/cloneDeep.js | 29 + node_modules/lodash/cloneDeepWith.js | 40 + node_modules/lodash/cloneWith.js | 42 + node_modules/lodash/collection.js | 30 + node_modules/lodash/commit.js | 33 + node_modules/lodash/compact.js | 31 + node_modules/lodash/concat.js | 43 + node_modules/lodash/cond.js | 60 + node_modules/lodash/conforms.js | 35 + node_modules/lodash/conformsTo.js | 32 + node_modules/lodash/constant.js | 26 + node_modules/lodash/core.js | 3854 +++ node_modules/lodash/core.min.js | 29 + node_modules/lodash/countBy.js | 40 + node_modules/lodash/create.js | 43 + node_modules/lodash/curry.js | 57 + node_modules/lodash/curryRight.js | 54 + node_modules/lodash/date.js | 3 + node_modules/lodash/debounce.js | 190 + node_modules/lodash/deburr.js | 45 + node_modules/lodash/defaultTo.js | 25 + node_modules/lodash/defaults.js | 64 + node_modules/lodash/defaultsDeep.js | 30 + node_modules/lodash/defer.js | 26 + node_modules/lodash/delay.js | 28 + node_modules/lodash/difference.js | 33 + node_modules/lodash/differenceBy.js | 44 + node_modules/lodash/differenceWith.js | 40 + node_modules/lodash/divide.js | 22 + node_modules/lodash/drop.js | 38 + node_modules/lodash/dropRight.js | 39 + node_modules/lodash/dropRightWhile.js | 45 + node_modules/lodash/dropWhile.js | 45 + node_modules/lodash/each.js | 1 + node_modules/lodash/eachRight.js | 1 + node_modules/lodash/endsWith.js | 43 + node_modules/lodash/entries.js | 1 + node_modules/lodash/entriesIn.js | 1 + node_modules/lodash/eq.js | 37 + node_modules/lodash/escape.js | 43 + node_modules/lodash/escapeRegExp.js | 32 + node_modules/lodash/every.js | 56 + node_modules/lodash/extend.js | 1 + node_modules/lodash/extendWith.js | 1 + node_modules/lodash/fill.js | 45 + node_modules/lodash/filter.js | 48 + node_modules/lodash/find.js | 42 + node_modules/lodash/findIndex.js | 55 + node_modules/lodash/findKey.js | 44 + node_modules/lodash/findLast.js | 25 + node_modules/lodash/findLastIndex.js | 59 + node_modules/lodash/findLastKey.js | 44 + node_modules/lodash/first.js | 1 + node_modules/lodash/flatMap.js | 29 + node_modules/lodash/flatMapDeep.js | 31 + node_modules/lodash/flatMapDepth.js | 31 + node_modules/lodash/flatten.js | 22 + node_modules/lodash/flattenDeep.js | 25 + node_modules/lodash/flattenDepth.js | 33 + node_modules/lodash/flip.js | 28 + node_modules/lodash/floor.js | 26 + node_modules/lodash/flow.js | 27 + node_modules/lodash/flowRight.js | 26 + node_modules/lodash/forEach.js | 41 + node_modules/lodash/forEachRight.js | 31 + node_modules/lodash/forIn.js | 39 + node_modules/lodash/forInRight.js | 37 + node_modules/lodash/forOwn.js | 36 + node_modules/lodash/forOwnRight.js | 34 + node_modules/lodash/fp.js | 2 + node_modules/lodash/fp/F.js | 1 + node_modules/lodash/fp/T.js | 1 + node_modules/lodash/fp/__.js | 1 + node_modules/lodash/fp/_baseConvert.js | 573 + node_modules/lodash/fp/_convertBrowser.js | 18 + node_modules/lodash/fp/_falseOptions.js | 7 + node_modules/lodash/fp/_mapping.js | 368 + node_modules/lodash/fp/_util.js | 16 + node_modules/lodash/fp/add.js | 5 + node_modules/lodash/fp/after.js | 5 + node_modules/lodash/fp/all.js | 1 + node_modules/lodash/fp/allPass.js | 1 + node_modules/lodash/fp/always.js | 1 + node_modules/lodash/fp/any.js | 1 + node_modules/lodash/fp/anyPass.js | 1 + node_modules/lodash/fp/apply.js | 1 + node_modules/lodash/fp/array.js | 2 + node_modules/lodash/fp/ary.js | 5 + node_modules/lodash/fp/assign.js | 5 + node_modules/lodash/fp/assignAll.js | 5 + node_modules/lodash/fp/assignAllWith.js | 5 + node_modules/lodash/fp/assignIn.js | 5 + node_modules/lodash/fp/assignInAll.js | 5 + node_modules/lodash/fp/assignInAllWith.js | 5 + node_modules/lodash/fp/assignInWith.js | 5 + node_modules/lodash/fp/assignWith.js | 5 + node_modules/lodash/fp/assoc.js | 1 + node_modules/lodash/fp/assocPath.js | 1 + node_modules/lodash/fp/at.js | 5 + node_modules/lodash/fp/attempt.js | 5 + node_modules/lodash/fp/before.js | 5 + node_modules/lodash/fp/bind.js | 5 + node_modules/lodash/fp/bindAll.js | 5 + node_modules/lodash/fp/bindKey.js | 5 + node_modules/lodash/fp/camelCase.js | 5 + node_modules/lodash/fp/capitalize.js | 5 + node_modules/lodash/fp/castArray.js | 5 + node_modules/lodash/fp/ceil.js | 5 + node_modules/lodash/fp/chain.js | 5 + node_modules/lodash/fp/chunk.js | 5 + node_modules/lodash/fp/clamp.js | 5 + node_modules/lodash/fp/clone.js | 5 + node_modules/lodash/fp/cloneDeep.js | 5 + node_modules/lodash/fp/cloneDeepWith.js | 5 + node_modules/lodash/fp/cloneWith.js | 5 + node_modules/lodash/fp/collection.js | 2 + node_modules/lodash/fp/commit.js | 5 + node_modules/lodash/fp/compact.js | 5 + node_modules/lodash/fp/complement.js | 1 + node_modules/lodash/fp/compose.js | 1 + node_modules/lodash/fp/concat.js | 5 + node_modules/lodash/fp/cond.js | 5 + node_modules/lodash/fp/conforms.js | 1 + node_modules/lodash/fp/conformsTo.js | 5 + node_modules/lodash/fp/constant.js | 5 + node_modules/lodash/fp/contains.js | 1 + node_modules/lodash/fp/convert.js | 18 + node_modules/lodash/fp/countBy.js | 5 + node_modules/lodash/fp/create.js | 5 + node_modules/lodash/fp/curry.js | 5 + node_modules/lodash/fp/curryN.js | 5 + node_modules/lodash/fp/curryRight.js | 5 + node_modules/lodash/fp/curryRightN.js | 5 + node_modules/lodash/fp/date.js | 2 + node_modules/lodash/fp/debounce.js | 5 + node_modules/lodash/fp/deburr.js | 5 + node_modules/lodash/fp/defaultTo.js | 5 + node_modules/lodash/fp/defaults.js | 5 + node_modules/lodash/fp/defaultsAll.js | 5 + node_modules/lodash/fp/defaultsDeep.js | 5 + node_modules/lodash/fp/defaultsDeepAll.js | 5 + node_modules/lodash/fp/defer.js | 5 + node_modules/lodash/fp/delay.js | 5 + node_modules/lodash/fp/difference.js | 5 + node_modules/lodash/fp/differenceBy.js | 5 + node_modules/lodash/fp/differenceWith.js | 5 + node_modules/lodash/fp/dissoc.js | 1 + node_modules/lodash/fp/dissocPath.js | 1 + node_modules/lodash/fp/divide.js | 5 + node_modules/lodash/fp/drop.js | 5 + node_modules/lodash/fp/dropLast.js | 1 + node_modules/lodash/fp/dropLastWhile.js | 1 + node_modules/lodash/fp/dropRight.js | 5 + node_modules/lodash/fp/dropRightWhile.js | 5 + node_modules/lodash/fp/dropWhile.js | 5 + node_modules/lodash/fp/each.js | 1 + node_modules/lodash/fp/eachRight.js | 1 + node_modules/lodash/fp/endsWith.js | 5 + node_modules/lodash/fp/entries.js | 1 + node_modules/lodash/fp/entriesIn.js | 1 + node_modules/lodash/fp/eq.js | 5 + node_modules/lodash/fp/equals.js | 1 + node_modules/lodash/fp/escape.js | 5 + node_modules/lodash/fp/escapeRegExp.js | 5 + node_modules/lodash/fp/every.js | 5 + node_modules/lodash/fp/extend.js | 1 + node_modules/lodash/fp/extendAll.js | 1 + node_modules/lodash/fp/extendAllWith.js | 1 + node_modules/lodash/fp/extendWith.js | 1 + node_modules/lodash/fp/fill.js | 5 + node_modules/lodash/fp/filter.js | 5 + node_modules/lodash/fp/find.js | 5 + node_modules/lodash/fp/findFrom.js | 5 + node_modules/lodash/fp/findIndex.js | 5 + node_modules/lodash/fp/findIndexFrom.js | 5 + node_modules/lodash/fp/findKey.js | 5 + node_modules/lodash/fp/findLast.js | 5 + node_modules/lodash/fp/findLastFrom.js | 5 + node_modules/lodash/fp/findLastIndex.js | 5 + node_modules/lodash/fp/findLastIndexFrom.js | 5 + node_modules/lodash/fp/findLastKey.js | 5 + node_modules/lodash/fp/first.js | 1 + node_modules/lodash/fp/flatMap.js | 5 + node_modules/lodash/fp/flatMapDeep.js | 5 + node_modules/lodash/fp/flatMapDepth.js | 5 + node_modules/lodash/fp/flatten.js | 5 + node_modules/lodash/fp/flattenDeep.js | 5 + node_modules/lodash/fp/flattenDepth.js | 5 + node_modules/lodash/fp/flip.js | 5 + node_modules/lodash/fp/floor.js | 5 + node_modules/lodash/fp/flow.js | 5 + node_modules/lodash/fp/flowRight.js | 5 + node_modules/lodash/fp/forEach.js | 5 + node_modules/lodash/fp/forEachRight.js | 5 + node_modules/lodash/fp/forIn.js | 5 + node_modules/lodash/fp/forInRight.js | 5 + node_modules/lodash/fp/forOwn.js | 5 + node_modules/lodash/fp/forOwnRight.js | 5 + node_modules/lodash/fp/fromPairs.js | 5 + node_modules/lodash/fp/function.js | 2 + node_modules/lodash/fp/functions.js | 5 + node_modules/lodash/fp/functionsIn.js | 5 + node_modules/lodash/fp/get.js | 5 + node_modules/lodash/fp/getOr.js | 5 + node_modules/lodash/fp/groupBy.js | 5 + node_modules/lodash/fp/gt.js | 5 + node_modules/lodash/fp/gte.js | 5 + node_modules/lodash/fp/has.js | 5 + node_modules/lodash/fp/hasIn.js | 5 + node_modules/lodash/fp/head.js | 5 + node_modules/lodash/fp/identical.js | 1 + node_modules/lodash/fp/identity.js | 5 + node_modules/lodash/fp/inRange.js | 5 + node_modules/lodash/fp/includes.js | 5 + node_modules/lodash/fp/includesFrom.js | 5 + node_modules/lodash/fp/indexBy.js | 1 + node_modules/lodash/fp/indexOf.js | 5 + node_modules/lodash/fp/indexOfFrom.js | 5 + node_modules/lodash/fp/init.js | 1 + node_modules/lodash/fp/initial.js | 5 + node_modules/lodash/fp/intersection.js | 5 + node_modules/lodash/fp/intersectionBy.js | 5 + node_modules/lodash/fp/intersectionWith.js | 5 + node_modules/lodash/fp/invert.js | 5 + node_modules/lodash/fp/invertBy.js | 5 + node_modules/lodash/fp/invertObj.js | 1 + node_modules/lodash/fp/invoke.js | 5 + node_modules/lodash/fp/invokeArgs.js | 5 + node_modules/lodash/fp/invokeArgsMap.js | 5 + node_modules/lodash/fp/invokeMap.js | 5 + node_modules/lodash/fp/isArguments.js | 5 + node_modules/lodash/fp/isArray.js | 5 + node_modules/lodash/fp/isArrayBuffer.js | 5 + node_modules/lodash/fp/isArrayLike.js | 5 + node_modules/lodash/fp/isArrayLikeObject.js | 5 + node_modules/lodash/fp/isBoolean.js | 5 + node_modules/lodash/fp/isBuffer.js | 5 + node_modules/lodash/fp/isDate.js | 5 + node_modules/lodash/fp/isElement.js | 5 + node_modules/lodash/fp/isEmpty.js | 5 + node_modules/lodash/fp/isEqual.js | 5 + node_modules/lodash/fp/isEqualWith.js | 5 + node_modules/lodash/fp/isError.js | 5 + node_modules/lodash/fp/isFinite.js | 5 + node_modules/lodash/fp/isFunction.js | 5 + node_modules/lodash/fp/isInteger.js | 5 + node_modules/lodash/fp/isLength.js | 5 + node_modules/lodash/fp/isMap.js | 5 + node_modules/lodash/fp/isMatch.js | 5 + node_modules/lodash/fp/isMatchWith.js | 5 + node_modules/lodash/fp/isNaN.js | 5 + node_modules/lodash/fp/isNative.js | 5 + node_modules/lodash/fp/isNil.js | 5 + node_modules/lodash/fp/isNull.js | 5 + node_modules/lodash/fp/isNumber.js | 5 + node_modules/lodash/fp/isObject.js | 5 + node_modules/lodash/fp/isObjectLike.js | 5 + node_modules/lodash/fp/isPlainObject.js | 5 + node_modules/lodash/fp/isRegExp.js | 5 + node_modules/lodash/fp/isSafeInteger.js | 5 + node_modules/lodash/fp/isSet.js | 5 + node_modules/lodash/fp/isString.js | 5 + node_modules/lodash/fp/isSymbol.js | 5 + node_modules/lodash/fp/isTypedArray.js | 5 + node_modules/lodash/fp/isUndefined.js | 5 + node_modules/lodash/fp/isWeakMap.js | 5 + node_modules/lodash/fp/isWeakSet.js | 5 + node_modules/lodash/fp/iteratee.js | 5 + node_modules/lodash/fp/join.js | 5 + node_modules/lodash/fp/juxt.js | 1 + node_modules/lodash/fp/kebabCase.js | 5 + node_modules/lodash/fp/keyBy.js | 5 + node_modules/lodash/fp/keys.js | 5 + node_modules/lodash/fp/keysIn.js | 5 + node_modules/lodash/fp/lang.js | 2 + node_modules/lodash/fp/last.js | 5 + node_modules/lodash/fp/lastIndexOf.js | 5 + node_modules/lodash/fp/lastIndexOfFrom.js | 5 + node_modules/lodash/fp/lowerCase.js | 5 + node_modules/lodash/fp/lowerFirst.js | 5 + node_modules/lodash/fp/lt.js | 5 + node_modules/lodash/fp/lte.js | 5 + node_modules/lodash/fp/map.js | 5 + node_modules/lodash/fp/mapKeys.js | 5 + node_modules/lodash/fp/mapValues.js | 5 + node_modules/lodash/fp/matches.js | 1 + node_modules/lodash/fp/matchesProperty.js | 5 + node_modules/lodash/fp/math.js | 2 + node_modules/lodash/fp/max.js | 5 + node_modules/lodash/fp/maxBy.js | 5 + node_modules/lodash/fp/mean.js | 5 + node_modules/lodash/fp/meanBy.js | 5 + node_modules/lodash/fp/memoize.js | 5 + node_modules/lodash/fp/merge.js | 5 + node_modules/lodash/fp/mergeAll.js | 5 + node_modules/lodash/fp/mergeAllWith.js | 5 + node_modules/lodash/fp/mergeWith.js | 5 + node_modules/lodash/fp/method.js | 5 + node_modules/lodash/fp/methodOf.js | 5 + node_modules/lodash/fp/min.js | 5 + node_modules/lodash/fp/minBy.js | 5 + node_modules/lodash/fp/mixin.js | 5 + node_modules/lodash/fp/multiply.js | 5 + node_modules/lodash/fp/nAry.js | 1 + node_modules/lodash/fp/negate.js | 5 + node_modules/lodash/fp/next.js | 5 + node_modules/lodash/fp/noop.js | 5 + node_modules/lodash/fp/now.js | 5 + node_modules/lodash/fp/nth.js | 5 + node_modules/lodash/fp/nthArg.js | 5 + node_modules/lodash/fp/number.js | 2 + node_modules/lodash/fp/object.js | 2 + node_modules/lodash/fp/omit.js | 5 + node_modules/lodash/fp/omitAll.js | 1 + node_modules/lodash/fp/omitBy.js | 5 + node_modules/lodash/fp/once.js | 5 + node_modules/lodash/fp/orderBy.js | 5 + node_modules/lodash/fp/over.js | 5 + node_modules/lodash/fp/overArgs.js | 5 + node_modules/lodash/fp/overEvery.js | 5 + node_modules/lodash/fp/overSome.js | 5 + node_modules/lodash/fp/pad.js | 5 + node_modules/lodash/fp/padChars.js | 5 + node_modules/lodash/fp/padCharsEnd.js | 5 + node_modules/lodash/fp/padCharsStart.js | 5 + node_modules/lodash/fp/padEnd.js | 5 + node_modules/lodash/fp/padStart.js | 5 + node_modules/lodash/fp/parseInt.js | 5 + node_modules/lodash/fp/partial.js | 5 + node_modules/lodash/fp/partialRight.js | 5 + node_modules/lodash/fp/partition.js | 5 + node_modules/lodash/fp/path.js | 1 + node_modules/lodash/fp/pathEq.js | 1 + node_modules/lodash/fp/pathOr.js | 1 + node_modules/lodash/fp/paths.js | 1 + node_modules/lodash/fp/pick.js | 5 + node_modules/lodash/fp/pickAll.js | 1 + node_modules/lodash/fp/pickBy.js | 5 + node_modules/lodash/fp/pipe.js | 1 + node_modules/lodash/fp/placeholder.js | 6 + node_modules/lodash/fp/plant.js | 5 + node_modules/lodash/fp/pluck.js | 1 + node_modules/lodash/fp/prop.js | 1 + node_modules/lodash/fp/propEq.js | 1 + node_modules/lodash/fp/propOr.js | 1 + node_modules/lodash/fp/property.js | 1 + node_modules/lodash/fp/propertyOf.js | 5 + node_modules/lodash/fp/props.js | 1 + node_modules/lodash/fp/pull.js | 5 + node_modules/lodash/fp/pullAll.js | 5 + node_modules/lodash/fp/pullAllBy.js | 5 + node_modules/lodash/fp/pullAllWith.js | 5 + node_modules/lodash/fp/pullAt.js | 5 + node_modules/lodash/fp/random.js | 5 + node_modules/lodash/fp/range.js | 5 + node_modules/lodash/fp/rangeRight.js | 5 + node_modules/lodash/fp/rangeStep.js | 5 + node_modules/lodash/fp/rangeStepRight.js | 5 + node_modules/lodash/fp/rearg.js | 5 + node_modules/lodash/fp/reduce.js | 5 + node_modules/lodash/fp/reduceRight.js | 5 + node_modules/lodash/fp/reject.js | 5 + node_modules/lodash/fp/remove.js | 5 + node_modules/lodash/fp/repeat.js | 5 + node_modules/lodash/fp/replace.js | 5 + node_modules/lodash/fp/rest.js | 5 + node_modules/lodash/fp/restFrom.js | 5 + node_modules/lodash/fp/result.js | 5 + node_modules/lodash/fp/reverse.js | 5 + node_modules/lodash/fp/round.js | 5 + node_modules/lodash/fp/sample.js | 5 + node_modules/lodash/fp/sampleSize.js | 5 + node_modules/lodash/fp/seq.js | 2 + node_modules/lodash/fp/set.js | 5 + node_modules/lodash/fp/setWith.js | 5 + node_modules/lodash/fp/shuffle.js | 5 + node_modules/lodash/fp/size.js | 5 + node_modules/lodash/fp/slice.js | 5 + node_modules/lodash/fp/snakeCase.js | 5 + node_modules/lodash/fp/some.js | 5 + node_modules/lodash/fp/sortBy.js | 5 + node_modules/lodash/fp/sortedIndex.js | 5 + node_modules/lodash/fp/sortedIndexBy.js | 5 + node_modules/lodash/fp/sortedIndexOf.js | 5 + node_modules/lodash/fp/sortedLastIndex.js | 5 + node_modules/lodash/fp/sortedLastIndexBy.js | 5 + node_modules/lodash/fp/sortedLastIndexOf.js | 5 + node_modules/lodash/fp/sortedUniq.js | 5 + node_modules/lodash/fp/sortedUniqBy.js | 5 + node_modules/lodash/fp/split.js | 5 + node_modules/lodash/fp/spread.js | 5 + node_modules/lodash/fp/spreadFrom.js | 5 + node_modules/lodash/fp/startCase.js | 5 + node_modules/lodash/fp/startsWith.js | 5 + node_modules/lodash/fp/string.js | 2 + node_modules/lodash/fp/stubArray.js | 5 + node_modules/lodash/fp/stubFalse.js | 5 + node_modules/lodash/fp/stubObject.js | 5 + node_modules/lodash/fp/stubString.js | 5 + node_modules/lodash/fp/stubTrue.js | 5 + node_modules/lodash/fp/subtract.js | 5 + node_modules/lodash/fp/sum.js | 5 + node_modules/lodash/fp/sumBy.js | 5 + node_modules/lodash/fp/symmetricDifference.js | 1 + .../lodash/fp/symmetricDifferenceBy.js | 1 + .../lodash/fp/symmetricDifferenceWith.js | 1 + node_modules/lodash/fp/tail.js | 5 + node_modules/lodash/fp/take.js | 5 + node_modules/lodash/fp/takeLast.js | 1 + node_modules/lodash/fp/takeLastWhile.js | 1 + node_modules/lodash/fp/takeRight.js | 5 + node_modules/lodash/fp/takeRightWhile.js | 5 + node_modules/lodash/fp/takeWhile.js | 5 + node_modules/lodash/fp/tap.js | 5 + node_modules/lodash/fp/template.js | 5 + node_modules/lodash/fp/templateSettings.js | 5 + node_modules/lodash/fp/throttle.js | 5 + node_modules/lodash/fp/thru.js | 5 + node_modules/lodash/fp/times.js | 5 + node_modules/lodash/fp/toArray.js | 5 + node_modules/lodash/fp/toFinite.js | 5 + node_modules/lodash/fp/toInteger.js | 5 + node_modules/lodash/fp/toIterator.js | 5 + node_modules/lodash/fp/toJSON.js | 5 + node_modules/lodash/fp/toLength.js | 5 + node_modules/lodash/fp/toLower.js | 5 + node_modules/lodash/fp/toNumber.js | 5 + node_modules/lodash/fp/toPairs.js | 5 + node_modules/lodash/fp/toPairsIn.js | 5 + node_modules/lodash/fp/toPath.js | 5 + node_modules/lodash/fp/toPlainObject.js | 5 + node_modules/lodash/fp/toSafeInteger.js | 5 + node_modules/lodash/fp/toString.js | 5 + node_modules/lodash/fp/toUpper.js | 5 + node_modules/lodash/fp/transform.js | 5 + node_modules/lodash/fp/trim.js | 5 + node_modules/lodash/fp/trimChars.js | 5 + node_modules/lodash/fp/trimCharsEnd.js | 5 + node_modules/lodash/fp/trimCharsStart.js | 5 + node_modules/lodash/fp/trimEnd.js | 5 + node_modules/lodash/fp/trimStart.js | 5 + node_modules/lodash/fp/truncate.js | 5 + node_modules/lodash/fp/unapply.js | 1 + node_modules/lodash/fp/unary.js | 5 + node_modules/lodash/fp/unescape.js | 5 + node_modules/lodash/fp/union.js | 5 + node_modules/lodash/fp/unionBy.js | 5 + node_modules/lodash/fp/unionWith.js | 5 + node_modules/lodash/fp/uniq.js | 5 + node_modules/lodash/fp/uniqBy.js | 5 + node_modules/lodash/fp/uniqWith.js | 5 + node_modules/lodash/fp/uniqueId.js | 5 + node_modules/lodash/fp/unnest.js | 1 + node_modules/lodash/fp/unset.js | 5 + node_modules/lodash/fp/unzip.js | 5 + node_modules/lodash/fp/unzipWith.js | 5 + node_modules/lodash/fp/update.js | 5 + node_modules/lodash/fp/updateWith.js | 5 + node_modules/lodash/fp/upperCase.js | 5 + node_modules/lodash/fp/upperFirst.js | 5 + node_modules/lodash/fp/useWith.js | 1 + node_modules/lodash/fp/util.js | 2 + node_modules/lodash/fp/value.js | 5 + node_modules/lodash/fp/valueOf.js | 5 + node_modules/lodash/fp/values.js | 5 + node_modules/lodash/fp/valuesIn.js | 5 + node_modules/lodash/fp/where.js | 1 + node_modules/lodash/fp/whereEq.js | 1 + node_modules/lodash/fp/without.js | 5 + node_modules/lodash/fp/words.js | 5 + node_modules/lodash/fp/wrap.js | 5 + node_modules/lodash/fp/wrapperAt.js | 5 + node_modules/lodash/fp/wrapperChain.js | 5 + node_modules/lodash/fp/wrapperLodash.js | 5 + node_modules/lodash/fp/wrapperReverse.js | 5 + node_modules/lodash/fp/wrapperValue.js | 5 + node_modules/lodash/fp/xor.js | 5 + node_modules/lodash/fp/xorBy.js | 5 + node_modules/lodash/fp/xorWith.js | 5 + node_modules/lodash/fp/zip.js | 5 + node_modules/lodash/fp/zipAll.js | 5 + node_modules/lodash/fp/zipObj.js | 1 + node_modules/lodash/fp/zipObject.js | 5 + node_modules/lodash/fp/zipObjectDeep.js | 5 + node_modules/lodash/fp/zipWith.js | 5 + node_modules/lodash/fromPairs.js | 28 + node_modules/lodash/function.js | 25 + node_modules/lodash/functions.js | 31 + node_modules/lodash/functionsIn.js | 31 + node_modules/lodash/get.js | 33 + node_modules/lodash/groupBy.js | 41 + node_modules/lodash/gt.js | 29 + node_modules/lodash/gte.js | 30 + node_modules/lodash/has.js | 35 + node_modules/lodash/hasIn.js | 34 + node_modules/lodash/head.js | 23 + node_modules/lodash/identity.js | 21 + node_modules/lodash/inRange.js | 55 + node_modules/lodash/includes.js | 53 + node_modules/lodash/index.js | 1 + node_modules/lodash/indexOf.js | 42 + node_modules/lodash/initial.js | 22 + node_modules/lodash/intersection.js | 30 + node_modules/lodash/intersectionBy.js | 45 + node_modules/lodash/intersectionWith.js | 41 + node_modules/lodash/invert.js | 42 + node_modules/lodash/invertBy.js | 56 + node_modules/lodash/invoke.js | 24 + node_modules/lodash/invokeMap.js | 41 + node_modules/lodash/isArguments.js | 36 + node_modules/lodash/isArray.js | 26 + node_modules/lodash/isArrayBuffer.js | 27 + node_modules/lodash/isArrayLike.js | 33 + node_modules/lodash/isArrayLikeObject.js | 33 + node_modules/lodash/isBoolean.js | 29 + node_modules/lodash/isBuffer.js | 38 + node_modules/lodash/isDate.js | 27 + node_modules/lodash/isElement.js | 25 + node_modules/lodash/isEmpty.js | 77 + node_modules/lodash/isEqual.js | 35 + node_modules/lodash/isEqualWith.js | 41 + node_modules/lodash/isError.js | 36 + node_modules/lodash/isFinite.js | 36 + node_modules/lodash/isFunction.js | 37 + node_modules/lodash/isInteger.js | 33 + node_modules/lodash/isLength.js | 35 + node_modules/lodash/isMap.js | 27 + node_modules/lodash/isMatch.js | 36 + node_modules/lodash/isMatchWith.js | 41 + node_modules/lodash/isNaN.js | 38 + node_modules/lodash/isNative.js | 40 + node_modules/lodash/isNil.js | 25 + node_modules/lodash/isNull.js | 22 + node_modules/lodash/isNumber.js | 38 + node_modules/lodash/isObject.js | 31 + node_modules/lodash/isObjectLike.js | 29 + node_modules/lodash/isPlainObject.js | 62 + node_modules/lodash/isRegExp.js | 27 + node_modules/lodash/isSafeInteger.js | 37 + node_modules/lodash/isSet.js | 27 + node_modules/lodash/isString.js | 30 + node_modules/lodash/isSymbol.js | 29 + node_modules/lodash/isTypedArray.js | 27 + node_modules/lodash/isUndefined.js | 22 + node_modules/lodash/isWeakMap.js | 28 + node_modules/lodash/isWeakSet.js | 28 + node_modules/lodash/iteratee.js | 53 + node_modules/lodash/join.js | 26 + node_modules/lodash/kebabCase.js | 28 + node_modules/lodash/keyBy.js | 36 + node_modules/lodash/keys.js | 37 + node_modules/lodash/keysIn.js | 32 + node_modules/lodash/lang.js | 58 + node_modules/lodash/last.js | 20 + node_modules/lodash/lastIndexOf.js | 46 + node_modules/lodash/lodash.js | 17097 +++++++++++++ node_modules/lodash/lodash.min.js | 137 + node_modules/lodash/lowerCase.js | 27 + node_modules/lodash/lowerFirst.js | 22 + node_modules/lodash/lt.js | 29 + node_modules/lodash/lte.js | 30 + node_modules/lodash/map.js | 53 + node_modules/lodash/mapKeys.js | 36 + node_modules/lodash/mapValues.js | 43 + node_modules/lodash/matches.js | 39 + node_modules/lodash/matchesProperty.js | 37 + node_modules/lodash/math.js | 17 + node_modules/lodash/max.js | 29 + node_modules/lodash/maxBy.js | 34 + node_modules/lodash/mean.js | 22 + node_modules/lodash/meanBy.js | 31 + node_modules/lodash/memoize.js | 73 + node_modules/lodash/merge.js | 39 + node_modules/lodash/mergeWith.js | 39 + node_modules/lodash/method.js | 34 + node_modules/lodash/methodOf.js | 33 + node_modules/lodash/min.js | 29 + node_modules/lodash/minBy.js | 34 + node_modules/lodash/mixin.js | 74 + node_modules/lodash/multiply.js | 22 + node_modules/lodash/negate.js | 40 + node_modules/lodash/next.js | 35 + node_modules/lodash/noop.js | 17 + node_modules/lodash/now.js | 23 + node_modules/lodash/nth.js | 29 + node_modules/lodash/nthArg.js | 32 + node_modules/lodash/number.js | 5 + node_modules/lodash/object.js | 49 + node_modules/lodash/omit.js | 57 + node_modules/lodash/omitBy.js | 29 + node_modules/lodash/once.js | 25 + node_modules/lodash/orderBy.js | 47 + node_modules/lodash/over.js | 24 + node_modules/lodash/overArgs.js | 61 + node_modules/lodash/overEvery.js | 30 + node_modules/lodash/overSome.js | 30 + node_modules/lodash/package.json | 66 + node_modules/lodash/pad.js | 49 + node_modules/lodash/padEnd.js | 39 + node_modules/lodash/padStart.js | 39 + node_modules/lodash/parseInt.js | 43 + node_modules/lodash/partial.js | 50 + node_modules/lodash/partialRight.js | 49 + node_modules/lodash/partition.js | 43 + node_modules/lodash/pick.js | 25 + node_modules/lodash/pickBy.js | 37 + node_modules/lodash/plant.js | 48 + node_modules/lodash/property.js | 32 + node_modules/lodash/propertyOf.js | 30 + node_modules/lodash/pull.js | 29 + node_modules/lodash/pullAll.js | 29 + node_modules/lodash/pullAllBy.js | 33 + node_modules/lodash/pullAllWith.js | 32 + node_modules/lodash/pullAt.js | 43 + node_modules/lodash/random.js | 82 + node_modules/lodash/range.js | 46 + node_modules/lodash/rangeRight.js | 41 + node_modules/lodash/rearg.js | 33 + node_modules/lodash/reduce.js | 51 + node_modules/lodash/reduceRight.js | 36 + node_modules/lodash/reject.js | 46 + node_modules/lodash/remove.js | 53 + node_modules/lodash/repeat.js | 37 + node_modules/lodash/replace.js | 29 + node_modules/lodash/rest.js | 40 + node_modules/lodash/result.js | 56 + node_modules/lodash/reverse.js | 34 + node_modules/lodash/round.js | 26 + node_modules/lodash/sample.js | 24 + node_modules/lodash/sampleSize.js | 37 + node_modules/lodash/seq.js | 16 + node_modules/lodash/set.js | 35 + node_modules/lodash/setWith.js | 32 + node_modules/lodash/shuffle.js | 25 + node_modules/lodash/size.js | 46 + node_modules/lodash/slice.js | 37 + node_modules/lodash/snakeCase.js | 28 + node_modules/lodash/some.js | 51 + node_modules/lodash/sortBy.js | 48 + node_modules/lodash/sortedIndex.js | 24 + node_modules/lodash/sortedIndexBy.js | 33 + node_modules/lodash/sortedIndexOf.js | 31 + node_modules/lodash/sortedLastIndex.js | 25 + node_modules/lodash/sortedLastIndexBy.js | 33 + node_modules/lodash/sortedLastIndexOf.js | 31 + node_modules/lodash/sortedUniq.js | 24 + node_modules/lodash/sortedUniqBy.js | 26 + node_modules/lodash/split.js | 52 + node_modules/lodash/spread.js | 63 + node_modules/lodash/startCase.js | 29 + node_modules/lodash/startsWith.js | 39 + node_modules/lodash/string.js | 33 + node_modules/lodash/stubArray.js | 23 + node_modules/lodash/stubFalse.js | 18 + node_modules/lodash/stubObject.js | 23 + node_modules/lodash/stubString.js | 18 + node_modules/lodash/stubTrue.js | 18 + node_modules/lodash/subtract.js | 22 + node_modules/lodash/sum.js | 24 + node_modules/lodash/sumBy.js | 33 + node_modules/lodash/tail.js | 22 + node_modules/lodash/take.js | 37 + node_modules/lodash/takeRight.js | 39 + node_modules/lodash/takeRightWhile.js | 45 + node_modules/lodash/takeWhile.js | 45 + node_modules/lodash/tap.js | 29 + node_modules/lodash/template.js | 238 + node_modules/lodash/templateSettings.js | 67 + node_modules/lodash/throttle.js | 69 + node_modules/lodash/thru.js | 28 + node_modules/lodash/times.js | 51 + node_modules/lodash/toArray.js | 58 + node_modules/lodash/toFinite.js | 42 + node_modules/lodash/toInteger.js | 36 + node_modules/lodash/toIterator.js | 23 + node_modules/lodash/toJSON.js | 1 + node_modules/lodash/toLength.js | 38 + node_modules/lodash/toLower.js | 28 + node_modules/lodash/toNumber.js | 66 + node_modules/lodash/toPairs.js | 30 + node_modules/lodash/toPairsIn.js | 30 + node_modules/lodash/toPath.js | 33 + node_modules/lodash/toPlainObject.js | 32 + node_modules/lodash/toSafeInteger.js | 37 + node_modules/lodash/toString.js | 28 + node_modules/lodash/toUpper.js | 28 + node_modules/lodash/transform.js | 65 + node_modules/lodash/trim.js | 49 + node_modules/lodash/trimEnd.js | 43 + node_modules/lodash/trimStart.js | 43 + node_modules/lodash/truncate.js | 111 + node_modules/lodash/unary.js | 22 + node_modules/lodash/unescape.js | 34 + node_modules/lodash/union.js | 26 + node_modules/lodash/unionBy.js | 39 + node_modules/lodash/unionWith.js | 34 + node_modules/lodash/uniq.js | 25 + node_modules/lodash/uniqBy.js | 31 + node_modules/lodash/uniqWith.js | 28 + node_modules/lodash/uniqueId.js | 28 + node_modules/lodash/unset.js | 34 + node_modules/lodash/unzip.js | 45 + node_modules/lodash/unzipWith.js | 39 + node_modules/lodash/update.js | 35 + node_modules/lodash/updateWith.js | 33 + node_modules/lodash/upperCase.js | 27 + node_modules/lodash/upperFirst.js | 22 + node_modules/lodash/util.js | 34 + node_modules/lodash/value.js | 1 + node_modules/lodash/valueOf.js | 1 + node_modules/lodash/values.js | 34 + node_modules/lodash/valuesIn.js | 32 + node_modules/lodash/without.js | 31 + node_modules/lodash/words.js | 35 + node_modules/lodash/wrap.js | 30 + node_modules/lodash/wrapperAt.js | 48 + node_modules/lodash/wrapperChain.js | 34 + node_modules/lodash/wrapperLodash.js | 147 + node_modules/lodash/wrapperReverse.js | 44 + node_modules/lodash/wrapperValue.js | 21 + node_modules/lodash/xor.js | 28 + node_modules/lodash/xorBy.js | 39 + node_modules/lodash/xorWith.js | 34 + node_modules/lodash/zip.js | 22 + node_modules/lodash/zipObject.js | 24 + node_modules/lodash/zipObjectDeep.js | 23 + node_modules/lodash/zipWith.js | 32 + node_modules/mimic-fn/index.js | 9 + node_modules/mimic-fn/license | 9 + node_modules/mimic-fn/package.json | 72 + node_modules/mimic-fn/readme.md | 68 + .../mute-stream/.nyc_output/33508.json | 1 + .../mute-stream/.nyc_output/33510.json | 1 + node_modules/mute-stream/.travis.yml | 9 + node_modules/mute-stream/LICENSE | 15 + node_modules/mute-stream/README.md | 68 + .../coverage/lcov-report/__root__/index.html | 93 + .../lcov-report/__root__/mute.js.html | 500 + .../mute-stream/coverage/lcov-report/base.css | 212 + .../coverage/lcov-report/index.html | 93 + .../coverage/lcov-report/prettify.css | 1 + .../coverage/lcov-report/prettify.js | 1 + .../lcov-report/sort-arrow-sprite.png | Bin 0 -> 209 bytes .../coverage/lcov-report/sorter.js | 158 + node_modules/mute-stream/coverage/lcov.info | 155 + node_modules/mute-stream/mute.js | 145 + node_modules/mute-stream/package.json | 59 + node_modules/mute-stream/test/basic.js | 207 + node_modules/onetime/index.js | 39 + node_modules/onetime/license | 21 + node_modules/onetime/package.json | 72 + node_modules/onetime/readme.md | 65 + node_modules/os-tmpdir/index.js | 25 + node_modules/os-tmpdir/license | 21 + node_modules/os-tmpdir/package.json | 73 + node_modules/os-tmpdir/readme.md | 32 + node_modules/restore-cursor/index.js | 9 + node_modules/restore-cursor/license | 21 + node_modules/restore-cursor/package.json | 76 + node_modules/restore-cursor/readme.md | 25 + node_modules/run-async/LICENSE | 21 + node_modules/run-async/README.md | 79 + node_modules/run-async/index.js | 61 + node_modules/run-async/package.json | 64 + node_modules/rxjs/AsyncSubject.d.ts | 15 + node_modules/rxjs/AsyncSubject.js | 53 + node_modules/rxjs/AsyncSubject.js.map | 1 + node_modules/rxjs/BehaviorSubject.d.ts | 14 + node_modules/rxjs/BehaviorSubject.js | 49 + node_modules/rxjs/BehaviorSubject.js.map | 1 + node_modules/rxjs/InnerSubscriber.d.ts | 17 + node_modules/rxjs/InnerSubscriber.js | 36 + node_modules/rxjs/InnerSubscriber.js.map | 1 + node_modules/rxjs/LICENSE.txt | 202 + node_modules/rxjs/Notification.d.ts | 77 + node_modules/rxjs/Notification.js | 127 + node_modules/rxjs/Notification.js.map | 1 + node_modules/rxjs/Observable.d.ts | 75 + node_modules/rxjs/Observable.js | 305 + node_modules/rxjs/Observable.js.map | 1 + node_modules/rxjs/Observer.d.ts | 26 + node_modules/rxjs/Observer.js | 8 + node_modules/rxjs/Observer.js.map | 1 + node_modules/rxjs/Operator.d.ts | 5 + node_modules/rxjs/Operator.js | 2 + node_modules/rxjs/Operator.js.map | 1 + node_modules/rxjs/OuterSubscriber.d.ts | 12 + node_modules/rxjs/OuterSubscriber.js | 30 + node_modules/rxjs/OuterSubscriber.js.map | 1 + node_modules/rxjs/README.md | 204 + node_modules/rxjs/ReplaySubject.d.ts | 18 + node_modules/rxjs/ReplaySubject.js | 102 + node_modules/rxjs/ReplaySubject.js.map | 1 + node_modules/rxjs/Rx.d.ts | 195 + node_modules/rxjs/Rx.js | 233 + node_modules/rxjs/Rx.js.map | 1 + node_modules/rxjs/Scheduler.d.ts | 54 + node_modules/rxjs/Scheduler.js | 49 + node_modules/rxjs/Scheduler.js.map | 1 + node_modules/rxjs/Subject.d.ts | 43 + node_modules/rxjs/Subject.js | 168 + node_modules/rxjs/Subject.js.map | 1 + node_modules/rxjs/SubjectSubscription.d.ts | 15 + node_modules/rxjs/SubjectSubscription.js | 40 + node_modules/rxjs/SubjectSubscription.js.map | 1 + node_modules/rxjs/Subscriber.d.ts | 68 + node_modules/rxjs/Subscriber.js | 265 + node_modules/rxjs/Subscriber.js.map | 1 + node_modules/rxjs/Subscription.d.ts | 70 + node_modules/rxjs/Subscription.js | 193 + node_modules/rxjs/Subscription.js.map | 1 + node_modules/rxjs/_esm2015/AsyncSubject.js | 44 + .../rxjs/_esm2015/AsyncSubject.js.map | 1 + node_modules/rxjs/_esm2015/BehaviorSubject.js | 36 + .../rxjs/_esm2015/BehaviorSubject.js.map | 1 + node_modules/rxjs/_esm2015/InnerSubscriber.js | 27 + .../rxjs/_esm2015/InnerSubscriber.js.map | 1 + node_modules/rxjs/_esm2015/LICENSE.txt | 202 + node_modules/rxjs/_esm2015/Notification.js | 124 + .../rxjs/_esm2015/Notification.js.map | 1 + node_modules/rxjs/_esm2015/Observable.js | 296 + node_modules/rxjs/_esm2015/Observable.js.map | 1 + node_modules/rxjs/_esm2015/Observer.js | 7 + node_modules/rxjs/_esm2015/Observer.js.map | 1 + node_modules/rxjs/_esm2015/Operator.js | 1 + node_modules/rxjs/_esm2015/Operator.js.map | 1 + node_modules/rxjs/_esm2015/OuterSubscriber.js | 18 + .../rxjs/_esm2015/OuterSubscriber.js.map | 1 + node_modules/rxjs/_esm2015/README.md | 204 + node_modules/rxjs/_esm2015/ReplaySubject.js | 90 + .../rxjs/_esm2015/ReplaySubject.js.map | 1 + node_modules/rxjs/_esm2015/Rx.js | 204 + node_modules/rxjs/_esm2015/Rx.js.map | 1 + node_modules/rxjs/_esm2015/Scheduler.js | 44 + node_modules/rxjs/_esm2015/Scheduler.js.map | 1 + node_modules/rxjs/_esm2015/Subject.js | 153 + node_modules/rxjs/_esm2015/Subject.js.map | 1 + .../rxjs/_esm2015/SubjectSubscription.js | 31 + .../rxjs/_esm2015/SubjectSubscription.js.map | 1 + node_modules/rxjs/_esm2015/Subscriber.js | 253 + node_modules/rxjs/_esm2015/Subscriber.js.map | 1 + node_modules/rxjs/_esm2015/Subscription.js | 190 + .../rxjs/_esm2015/Subscription.js.map | 1 + .../_esm2015/add/observable/bindCallback.js | 4 + .../add/observable/bindCallback.js.map | 1 + .../add/observable/bindNodeCallback.js | 4 + .../add/observable/bindNodeCallback.js.map | 1 + .../_esm2015/add/observable/combineLatest.js | 4 + .../add/observable/combineLatest.js.map | 1 + .../rxjs/_esm2015/add/observable/concat.js | 4 + .../_esm2015/add/observable/concat.js.map | 1 + .../rxjs/_esm2015/add/observable/defer.js | 4 + .../rxjs/_esm2015/add/observable/defer.js.map | 1 + .../rxjs/_esm2015/add/observable/dom/ajax.js | 4 + .../_esm2015/add/observable/dom/ajax.js.map | 1 + .../_esm2015/add/observable/dom/webSocket.js | 4 + .../add/observable/dom/webSocket.js.map | 1 + .../rxjs/_esm2015/add/observable/empty.js | 4 + .../rxjs/_esm2015/add/observable/empty.js.map | 1 + .../rxjs/_esm2015/add/observable/forkJoin.js | 4 + .../_esm2015/add/observable/forkJoin.js.map | 1 + .../rxjs/_esm2015/add/observable/from.js | 4 + .../rxjs/_esm2015/add/observable/from.js.map | 1 + .../rxjs/_esm2015/add/observable/fromEvent.js | 4 + .../_esm2015/add/observable/fromEvent.js.map | 1 + .../add/observable/fromEventPattern.js | 4 + .../add/observable/fromEventPattern.js.map | 1 + .../_esm2015/add/observable/fromPromise.js | 4 + .../add/observable/fromPromise.js.map | 1 + .../rxjs/_esm2015/add/observable/generate.js | 4 + .../_esm2015/add/observable/generate.js.map | 1 + .../rxjs/_esm2015/add/observable/if.js | 4 + .../rxjs/_esm2015/add/observable/if.js.map | 1 + .../rxjs/_esm2015/add/observable/interval.js | 4 + .../_esm2015/add/observable/interval.js.map | 1 + .../rxjs/_esm2015/add/observable/merge.js | 4 + .../rxjs/_esm2015/add/observable/merge.js.map | 1 + .../rxjs/_esm2015/add/observable/never.js | 4 + .../rxjs/_esm2015/add/observable/never.js.map | 1 + .../rxjs/_esm2015/add/observable/of.js | 4 + .../rxjs/_esm2015/add/observable/of.js.map | 1 + .../add/observable/onErrorResumeNext.js | 4 + .../add/observable/onErrorResumeNext.js.map | 1 + .../rxjs/_esm2015/add/observable/pairs.js | 4 + .../rxjs/_esm2015/add/observable/pairs.js.map | 1 + .../rxjs/_esm2015/add/observable/race.js | 4 + .../rxjs/_esm2015/add/observable/race.js.map | 1 + .../rxjs/_esm2015/add/observable/range.js | 4 + .../rxjs/_esm2015/add/observable/range.js.map | 1 + .../rxjs/_esm2015/add/observable/throw.js | 4 + .../rxjs/_esm2015/add/observable/throw.js.map | 1 + .../rxjs/_esm2015/add/observable/timer.js | 4 + .../rxjs/_esm2015/add/observable/timer.js.map | 1 + .../rxjs/_esm2015/add/observable/using.js | 4 + .../rxjs/_esm2015/add/observable/using.js.map | 1 + .../rxjs/_esm2015/add/observable/zip.js | 4 + .../rxjs/_esm2015/add/observable/zip.js.map | 1 + .../rxjs/_esm2015/add/operator/audit.js | 4 + .../rxjs/_esm2015/add/operator/audit.js.map | 1 + .../rxjs/_esm2015/add/operator/auditTime.js | 4 + .../_esm2015/add/operator/auditTime.js.map | 1 + .../rxjs/_esm2015/add/operator/buffer.js | 4 + .../rxjs/_esm2015/add/operator/buffer.js.map | 1 + .../rxjs/_esm2015/add/operator/bufferCount.js | 4 + .../_esm2015/add/operator/bufferCount.js.map | 1 + .../rxjs/_esm2015/add/operator/bufferTime.js | 4 + .../_esm2015/add/operator/bufferTime.js.map | 1 + .../_esm2015/add/operator/bufferToggle.js | 4 + .../_esm2015/add/operator/bufferToggle.js.map | 1 + .../rxjs/_esm2015/add/operator/bufferWhen.js | 4 + .../_esm2015/add/operator/bufferWhen.js.map | 1 + .../rxjs/_esm2015/add/operator/catch.js | 5 + .../rxjs/_esm2015/add/operator/catch.js.map | 1 + .../rxjs/_esm2015/add/operator/combineAll.js | 4 + .../_esm2015/add/operator/combineAll.js.map | 1 + .../_esm2015/add/operator/combineLatest.js | 4 + .../add/operator/combineLatest.js.map | 1 + .../rxjs/_esm2015/add/operator/concat.js | 4 + .../rxjs/_esm2015/add/operator/concat.js.map | 1 + .../rxjs/_esm2015/add/operator/concatAll.js | 4 + .../_esm2015/add/operator/concatAll.js.map | 1 + .../rxjs/_esm2015/add/operator/concatMap.js | 4 + .../_esm2015/add/operator/concatMap.js.map | 1 + .../rxjs/_esm2015/add/operator/concatMapTo.js | 4 + .../_esm2015/add/operator/concatMapTo.js.map | 1 + .../rxjs/_esm2015/add/operator/count.js | 4 + .../rxjs/_esm2015/add/operator/count.js.map | 1 + .../rxjs/_esm2015/add/operator/debounce.js | 4 + .../_esm2015/add/operator/debounce.js.map | 1 + .../_esm2015/add/operator/debounceTime.js | 4 + .../_esm2015/add/operator/debounceTime.js.map | 1 + .../_esm2015/add/operator/defaultIfEmpty.js | 4 + .../add/operator/defaultIfEmpty.js.map | 1 + .../rxjs/_esm2015/add/operator/delay.js | 4 + .../rxjs/_esm2015/add/operator/delay.js.map | 1 + .../rxjs/_esm2015/add/operator/delayWhen.js | 4 + .../_esm2015/add/operator/delayWhen.js.map | 1 + .../_esm2015/add/operator/dematerialize.js | 4 + .../add/operator/dematerialize.js.map | 1 + .../rxjs/_esm2015/add/operator/distinct.js | 4 + .../_esm2015/add/operator/distinct.js.map | 1 + .../add/operator/distinctUntilChanged.js | 4 + .../add/operator/distinctUntilChanged.js.map | 1 + .../add/operator/distinctUntilKeyChanged.js | 4 + .../operator/distinctUntilKeyChanged.js.map | 1 + node_modules/rxjs/_esm2015/add/operator/do.js | 5 + .../rxjs/_esm2015/add/operator/do.js.map | 1 + .../rxjs/_esm2015/add/operator/elementAt.js | 4 + .../_esm2015/add/operator/elementAt.js.map | 1 + .../rxjs/_esm2015/add/operator/every.js | 4 + .../rxjs/_esm2015/add/operator/every.js.map | 1 + .../rxjs/_esm2015/add/operator/exhaust.js | 4 + .../rxjs/_esm2015/add/operator/exhaust.js.map | 1 + .../rxjs/_esm2015/add/operator/exhaustMap.js | 4 + .../_esm2015/add/operator/exhaustMap.js.map | 1 + .../rxjs/_esm2015/add/operator/expand.js | 4 + .../rxjs/_esm2015/add/operator/expand.js.map | 1 + .../rxjs/_esm2015/add/operator/filter.js | 4 + .../rxjs/_esm2015/add/operator/filter.js.map | 1 + .../rxjs/_esm2015/add/operator/finally.js | 5 + .../rxjs/_esm2015/add/operator/finally.js.map | 1 + .../rxjs/_esm2015/add/operator/find.js | 4 + .../rxjs/_esm2015/add/operator/find.js.map | 1 + .../rxjs/_esm2015/add/operator/findIndex.js | 4 + .../_esm2015/add/operator/findIndex.js.map | 1 + .../rxjs/_esm2015/add/operator/first.js | 4 + .../rxjs/_esm2015/add/operator/first.js.map | 1 + .../rxjs/_esm2015/add/operator/groupBy.js | 4 + .../rxjs/_esm2015/add/operator/groupBy.js.map | 1 + .../_esm2015/add/operator/ignoreElements.js | 4 + .../add/operator/ignoreElements.js.map | 1 + .../rxjs/_esm2015/add/operator/isEmpty.js | 4 + .../rxjs/_esm2015/add/operator/isEmpty.js.map | 1 + .../rxjs/_esm2015/add/operator/last.js | 4 + .../rxjs/_esm2015/add/operator/last.js.map | 1 + .../rxjs/_esm2015/add/operator/let.js | 5 + .../rxjs/_esm2015/add/operator/let.js.map | 1 + .../rxjs/_esm2015/add/operator/map.js | 4 + .../rxjs/_esm2015/add/operator/map.js.map | 1 + .../rxjs/_esm2015/add/operator/mapTo.js | 4 + .../rxjs/_esm2015/add/operator/mapTo.js.map | 1 + .../rxjs/_esm2015/add/operator/materialize.js | 4 + .../_esm2015/add/operator/materialize.js.map | 1 + .../rxjs/_esm2015/add/operator/max.js | 4 + .../rxjs/_esm2015/add/operator/max.js.map | 1 + .../rxjs/_esm2015/add/operator/merge.js | 4 + .../rxjs/_esm2015/add/operator/merge.js.map | 1 + .../rxjs/_esm2015/add/operator/mergeAll.js | 4 + .../_esm2015/add/operator/mergeAll.js.map | 1 + .../rxjs/_esm2015/add/operator/mergeMap.js | 5 + .../_esm2015/add/operator/mergeMap.js.map | 1 + .../rxjs/_esm2015/add/operator/mergeMapTo.js | 5 + .../_esm2015/add/operator/mergeMapTo.js.map | 1 + .../rxjs/_esm2015/add/operator/mergeScan.js | 4 + .../_esm2015/add/operator/mergeScan.js.map | 1 + .../rxjs/_esm2015/add/operator/min.js | 4 + .../rxjs/_esm2015/add/operator/min.js.map | 1 + .../rxjs/_esm2015/add/operator/multicast.js | 4 + .../_esm2015/add/operator/multicast.js.map | 1 + .../rxjs/_esm2015/add/operator/observeOn.js | 4 + .../_esm2015/add/operator/observeOn.js.map | 1 + .../add/operator/onErrorResumeNext.js | 4 + .../add/operator/onErrorResumeNext.js.map | 1 + .../rxjs/_esm2015/add/operator/pairwise.js | 4 + .../_esm2015/add/operator/pairwise.js.map | 1 + .../rxjs/_esm2015/add/operator/partition.js | 4 + .../_esm2015/add/operator/partition.js.map | 1 + .../rxjs/_esm2015/add/operator/pluck.js | 4 + .../rxjs/_esm2015/add/operator/pluck.js.map | 1 + .../rxjs/_esm2015/add/operator/publish.js | 4 + .../rxjs/_esm2015/add/operator/publish.js.map | 1 + .../_esm2015/add/operator/publishBehavior.js | 4 + .../add/operator/publishBehavior.js.map | 1 + .../rxjs/_esm2015/add/operator/publishLast.js | 4 + .../_esm2015/add/operator/publishLast.js.map | 1 + .../_esm2015/add/operator/publishReplay.js | 4 + .../add/operator/publishReplay.js.map | 1 + .../rxjs/_esm2015/add/operator/race.js | 4 + .../rxjs/_esm2015/add/operator/race.js.map | 1 + .../rxjs/_esm2015/add/operator/reduce.js | 4 + .../rxjs/_esm2015/add/operator/reduce.js.map | 1 + .../rxjs/_esm2015/add/operator/repeat.js | 4 + .../rxjs/_esm2015/add/operator/repeat.js.map | 1 + .../rxjs/_esm2015/add/operator/repeatWhen.js | 4 + .../_esm2015/add/operator/repeatWhen.js.map | 1 + .../rxjs/_esm2015/add/operator/retry.js | 4 + .../rxjs/_esm2015/add/operator/retry.js.map | 1 + .../rxjs/_esm2015/add/operator/retryWhen.js | 4 + .../_esm2015/add/operator/retryWhen.js.map | 1 + .../rxjs/_esm2015/add/operator/sample.js | 4 + .../rxjs/_esm2015/add/operator/sample.js.map | 1 + .../rxjs/_esm2015/add/operator/sampleTime.js | 4 + .../_esm2015/add/operator/sampleTime.js.map | 1 + .../rxjs/_esm2015/add/operator/scan.js | 4 + .../rxjs/_esm2015/add/operator/scan.js.map | 1 + .../_esm2015/add/operator/sequenceEqual.js | 4 + .../add/operator/sequenceEqual.js.map | 1 + .../rxjs/_esm2015/add/operator/share.js | 4 + .../rxjs/_esm2015/add/operator/share.js.map | 1 + .../rxjs/_esm2015/add/operator/shareReplay.js | 4 + .../_esm2015/add/operator/shareReplay.js.map | 1 + .../rxjs/_esm2015/add/operator/single.js | 4 + .../rxjs/_esm2015/add/operator/single.js.map | 1 + .../rxjs/_esm2015/add/operator/skip.js | 4 + .../rxjs/_esm2015/add/operator/skip.js.map | 1 + .../rxjs/_esm2015/add/operator/skipLast.js | 4 + .../_esm2015/add/operator/skipLast.js.map | 1 + .../rxjs/_esm2015/add/operator/skipUntil.js | 4 + .../_esm2015/add/operator/skipUntil.js.map | 1 + .../rxjs/_esm2015/add/operator/skipWhile.js | 4 + .../_esm2015/add/operator/skipWhile.js.map | 1 + .../rxjs/_esm2015/add/operator/startWith.js | 4 + .../_esm2015/add/operator/startWith.js.map | 1 + .../rxjs/_esm2015/add/operator/subscribeOn.js | 4 + .../_esm2015/add/operator/subscribeOn.js.map | 1 + .../rxjs/_esm2015/add/operator/switch.js | 5 + .../rxjs/_esm2015/add/operator/switch.js.map | 1 + .../rxjs/_esm2015/add/operator/switchMap.js | 4 + .../_esm2015/add/operator/switchMap.js.map | 1 + .../rxjs/_esm2015/add/operator/switchMapTo.js | 4 + .../_esm2015/add/operator/switchMapTo.js.map | 1 + .../rxjs/_esm2015/add/operator/take.js | 4 + .../rxjs/_esm2015/add/operator/take.js.map | 1 + .../rxjs/_esm2015/add/operator/takeLast.js | 4 + .../_esm2015/add/operator/takeLast.js.map | 1 + .../rxjs/_esm2015/add/operator/takeUntil.js | 4 + .../_esm2015/add/operator/takeUntil.js.map | 1 + .../rxjs/_esm2015/add/operator/takeWhile.js | 4 + .../_esm2015/add/operator/takeWhile.js.map | 1 + .../rxjs/_esm2015/add/operator/throttle.js | 4 + .../_esm2015/add/operator/throttle.js.map | 1 + .../_esm2015/add/operator/throttleTime.js | 4 + .../_esm2015/add/operator/throttleTime.js.map | 1 + .../_esm2015/add/operator/timeInterval.js | 4 + .../_esm2015/add/operator/timeInterval.js.map | 1 + .../rxjs/_esm2015/add/operator/timeout.js | 4 + .../rxjs/_esm2015/add/operator/timeout.js.map | 1 + .../rxjs/_esm2015/add/operator/timeoutWith.js | 4 + .../_esm2015/add/operator/timeoutWith.js.map | 1 + .../rxjs/_esm2015/add/operator/timestamp.js | 4 + .../_esm2015/add/operator/timestamp.js.map | 1 + .../rxjs/_esm2015/add/operator/toArray.js | 4 + .../rxjs/_esm2015/add/operator/toArray.js.map | 1 + .../rxjs/_esm2015/add/operator/toPromise.js | 3 + .../_esm2015/add/operator/toPromise.js.map | 1 + .../rxjs/_esm2015/add/operator/window.js | 4 + .../rxjs/_esm2015/add/operator/window.js.map | 1 + .../rxjs/_esm2015/add/operator/windowCount.js | 4 + .../_esm2015/add/operator/windowCount.js.map | 1 + .../rxjs/_esm2015/add/operator/windowTime.js | 4 + .../_esm2015/add/operator/windowTime.js.map | 1 + .../_esm2015/add/operator/windowToggle.js | 4 + .../_esm2015/add/operator/windowToggle.js.map | 1 + .../rxjs/_esm2015/add/operator/windowWhen.js | 4 + .../_esm2015/add/operator/windowWhen.js.map | 1 + .../_esm2015/add/operator/withLatestFrom.js | 4 + .../add/operator/withLatestFrom.js.map | 1 + .../rxjs/_esm2015/add/operator/zip.js | 4 + .../rxjs/_esm2015/add/operator/zip.js.map | 1 + .../rxjs/_esm2015/add/operator/zipAll.js | 4 + .../rxjs/_esm2015/add/operator/zipAll.js.map | 1 + node_modules/rxjs/_esm2015/interfaces.js | 1 + node_modules/rxjs/_esm2015/interfaces.js.map | 1 + .../observable/ArrayLikeObservable.js | 61 + .../observable/ArrayLikeObservable.js.map | 1 + .../_esm2015/observable/ArrayObservable.js | 109 + .../observable/ArrayObservable.js.map | 1 + .../observable/BoundCallbackObservable.js | 242 + .../observable/BoundCallbackObservable.js.map | 1 + .../observable/BoundNodeCallbackObservable.js | 241 + .../BoundNodeCallbackObservable.js.map | 1 + .../observable/ConnectableObservable.js | 156 + .../observable/ConnectableObservable.js.map | 1 + .../_esm2015/observable/DeferObservable.js | 88 + .../observable/DeferObservable.js.map | 1 + .../_esm2015/observable/EmptyObservable.js | 72 + .../observable/EmptyObservable.js.map | 1 + .../_esm2015/observable/ErrorObservable.js | 74 + .../observable/ErrorObservable.js.map | 1 + .../_esm2015/observable/ForkJoinObservable.js | 187 + .../observable/ForkJoinObservable.js.map | 1 + .../observable/FromEventObservable.js | 203 + .../observable/FromEventObservable.js.map | 1 + .../observable/FromEventPatternObservable.js | 99 + .../FromEventPatternObservable.js.map | 1 + .../_esm2015/observable/FromObservable.js | 113 + .../_esm2015/observable/FromObservable.js.map | 1 + .../_esm2015/observable/GenerateObservable.js | 126 + .../observable/GenerateObservable.js.map | 1 + .../rxjs/_esm2015/observable/IfObservable.js | 50 + .../_esm2015/observable/IfObservable.js.map | 1 + .../_esm2015/observable/IntervalObservable.js | 75 + .../observable/IntervalObservable.js.map | 1 + .../_esm2015/observable/IteratorObservable.js | 148 + .../observable/IteratorObservable.js.map | 1 + .../_esm2015/observable/NeverObservable.js | 50 + .../observable/NeverObservable.js.map | 1 + .../_esm2015/observable/PairsObservable.js | 76 + .../observable/PairsObservable.js.map | 1 + .../_esm2015/observable/PromiseObservable.js | 111 + .../observable/PromiseObservable.js.map | 1 + .../_esm2015/observable/RangeObservable.js | 85 + .../observable/RangeObservable.js.map | 1 + .../_esm2015/observable/ScalarObservable.js | 49 + .../observable/ScalarObservable.js.map | 1 + .../observable/SubscribeOnObservable.js | 38 + .../observable/SubscribeOnObservable.js.map | 1 + .../_esm2015/observable/TimerObservable.js | 96 + .../observable/TimerObservable.js.map | 1 + .../_esm2015/observable/UsingObservable.js | 50 + .../observable/UsingObservable.js.map | 1 + .../rxjs/_esm2015/observable/bindCallback.js | 3 + .../_esm2015/observable/bindCallback.js.map | 1 + .../_esm2015/observable/bindNodeCallback.js | 3 + .../observable/bindNodeCallback.js.map | 1 + .../rxjs/_esm2015/observable/combineLatest.js | 130 + .../_esm2015/observable/combineLatest.js.map | 1 + .../rxjs/_esm2015/observable/concat.js | 105 + .../rxjs/_esm2015/observable/concat.js.map | 1 + .../rxjs/_esm2015/observable/defer.js | 3 + .../rxjs/_esm2015/observable/defer.js.map | 1 + .../_esm2015/observable/dom/AjaxObservable.js | 399 + .../observable/dom/AjaxObservable.js.map | 1 + .../observable/dom/WebSocketSubject.js | 239 + .../observable/dom/WebSocketSubject.js.map | 1 + .../rxjs/_esm2015/observable/dom/ajax.js | 3 + .../rxjs/_esm2015/observable/dom/ajax.js.map | 1 + .../rxjs/_esm2015/observable/dom/webSocket.js | 3 + .../_esm2015/observable/dom/webSocket.js.map | 1 + .../rxjs/_esm2015/observable/empty.js | 3 + .../rxjs/_esm2015/observable/empty.js.map | 1 + .../rxjs/_esm2015/observable/forkJoin.js | 3 + .../rxjs/_esm2015/observable/forkJoin.js.map | 1 + node_modules/rxjs/_esm2015/observable/from.js | 3 + .../rxjs/_esm2015/observable/from.js.map | 1 + .../rxjs/_esm2015/observable/fromEvent.js | 3 + .../rxjs/_esm2015/observable/fromEvent.js.map | 1 + .../_esm2015/observable/fromEventPattern.js | 3 + .../observable/fromEventPattern.js.map | 1 + .../rxjs/_esm2015/observable/fromPromise.js | 3 + .../_esm2015/observable/fromPromise.js.map | 1 + .../rxjs/_esm2015/observable/generate.js | 3 + .../rxjs/_esm2015/observable/generate.js.map | 1 + node_modules/rxjs/_esm2015/observable/if.js | 3 + .../rxjs/_esm2015/observable/if.js.map | 1 + .../rxjs/_esm2015/observable/interval.js | 3 + .../rxjs/_esm2015/observable/interval.js.map | 1 + .../rxjs/_esm2015/observable/merge.js | 84 + .../rxjs/_esm2015/observable/merge.js.map | 1 + .../rxjs/_esm2015/observable/never.js | 3 + .../rxjs/_esm2015/observable/never.js.map | 1 + node_modules/rxjs/_esm2015/observable/of.js | 3 + .../rxjs/_esm2015/observable/of.js.map | 1 + .../_esm2015/observable/onErrorResumeNext.js | 3 + .../observable/onErrorResumeNext.js.map | 1 + .../rxjs/_esm2015/observable/pairs.js | 3 + .../rxjs/_esm2015/observable/pairs.js.map | 1 + node_modules/rxjs/_esm2015/observable/race.js | 71 + .../rxjs/_esm2015/observable/race.js.map | 1 + .../rxjs/_esm2015/observable/range.js | 3 + .../rxjs/_esm2015/observable/range.js.map | 1 + .../rxjs/_esm2015/observable/throw.js | 3 + .../rxjs/_esm2015/observable/throw.js.map | 1 + .../rxjs/_esm2015/observable/timer.js | 3 + .../rxjs/_esm2015/observable/timer.js.map | 1 + .../rxjs/_esm2015/observable/using.js | 3 + .../rxjs/_esm2015/observable/using.js.map | 1 + node_modules/rxjs/_esm2015/observable/zip.js | 3 + .../rxjs/_esm2015/observable/zip.js.map | 1 + node_modules/rxjs/_esm2015/operator/audit.js | 45 + .../rxjs/_esm2015/operator/audit.js.map | 1 + .../rxjs/_esm2015/operator/auditTime.js | 48 + .../rxjs/_esm2015/operator/auditTime.js.map | 1 + node_modules/rxjs/_esm2015/operator/buffer.js | 37 + .../rxjs/_esm2015/operator/buffer.js.map | 1 + .../rxjs/_esm2015/operator/bufferCount.js | 46 + .../rxjs/_esm2015/operator/bufferCount.js.map | 1 + .../rxjs/_esm2015/operator/bufferTime.js | 65 + .../rxjs/_esm2015/operator/bufferTime.js.map | 1 + .../rxjs/_esm2015/operator/bufferToggle.js | 43 + .../_esm2015/operator/bufferToggle.js.map | 1 + .../rxjs/_esm2015/operator/bufferWhen.js | 38 + .../rxjs/_esm2015/operator/bufferWhen.js.map | 1 + node_modules/rxjs/_esm2015/operator/catch.js | 64 + .../rxjs/_esm2015/operator/catch.js.map | 1 + .../rxjs/_esm2015/operator/combineAll.js | 45 + .../rxjs/_esm2015/operator/combineAll.js.map | 1 + .../rxjs/_esm2015/operator/combineLatest.js | 49 + .../_esm2015/operator/combineLatest.js.map | 1 + node_modules/rxjs/_esm2015/operator/concat.js | 56 + .../rxjs/_esm2015/operator/concat.js.map | 1 + .../rxjs/_esm2015/operator/concatAll.js | 54 + .../rxjs/_esm2015/operator/concatAll.js.map | 1 + .../rxjs/_esm2015/operator/concatMap.js | 65 + .../rxjs/_esm2015/operator/concatMap.js.map | 1 + .../rxjs/_esm2015/operator/concatMapTo.js | 62 + .../rxjs/_esm2015/operator/concatMapTo.js.map | 1 + node_modules/rxjs/_esm2015/operator/count.js | 53 + .../rxjs/_esm2015/operator/count.js.map | 1 + .../rxjs/_esm2015/operator/debounce.js | 47 + .../rxjs/_esm2015/operator/debounce.js.map | 1 + .../rxjs/_esm2015/operator/debounceTime.js | 52 + .../_esm2015/operator/debounceTime.js.map | 1 + .../rxjs/_esm2015/operator/defaultIfEmpty.js | 36 + .../_esm2015/operator/defaultIfEmpty.js.map | 1 + node_modules/rxjs/_esm2015/operator/delay.js | 45 + .../rxjs/_esm2015/operator/delay.js.map | 1 + .../rxjs/_esm2015/operator/delayWhen.js | 50 + .../rxjs/_esm2015/operator/delayWhen.js.map | 1 + .../rxjs/_esm2015/operator/dematerialize.js | 45 + .../_esm2015/operator/dematerialize.js.map | 1 + .../rxjs/_esm2015/operator/distinct.js | 50 + .../rxjs/_esm2015/operator/distinct.js.map | 1 + .../_esm2015/operator/distinctUntilChanged.js | 45 + .../operator/distinctUntilChanged.js.map | 1 + .../operator/distinctUntilKeyChanged.js | 63 + .../operator/distinctUntilKeyChanged.js.map | 1 + node_modules/rxjs/_esm2015/operator/do.js | 49 + node_modules/rxjs/_esm2015/operator/do.js.map | 1 + .../rxjs/_esm2015/operator/elementAt.js | 47 + .../rxjs/_esm2015/operator/elementAt.js.map | 1 + node_modules/rxjs/_esm2015/operator/every.js | 19 + .../rxjs/_esm2015/operator/every.js.map | 1 + .../rxjs/_esm2015/operator/exhaust.js | 40 + .../rxjs/_esm2015/operator/exhaust.js.map | 1 + .../rxjs/_esm2015/operator/exhaustMap.js | 51 + .../rxjs/_esm2015/operator/exhaustMap.js.map | 1 + node_modules/rxjs/_esm2015/operator/expand.js | 52 + .../rxjs/_esm2015/operator/expand.js.map | 1 + node_modules/rxjs/_esm2015/operator/filter.js | 45 + .../rxjs/_esm2015/operator/filter.js.map | 1 + .../rxjs/_esm2015/operator/finally.js | 13 + .../rxjs/_esm2015/operator/finally.js.map | 1 + node_modules/rxjs/_esm2015/operator/find.js | 39 + .../rxjs/_esm2015/operator/find.js.map | 1 + .../rxjs/_esm2015/operator/findIndex.js | 39 + .../rxjs/_esm2015/operator/findIndex.js.map | 1 + node_modules/rxjs/_esm2015/operator/first.js | 54 + .../rxjs/_esm2015/operator/first.js.map | 1 + .../rxjs/_esm2015/operator/groupBy.js | 74 + .../rxjs/_esm2015/operator/groupBy.js.map | 1 + .../rxjs/_esm2015/operator/ignoreElements.js | 16 + .../_esm2015/operator/ignoreElements.js.map | 1 + .../rxjs/_esm2015/operator/isEmpty.js | 14 + .../rxjs/_esm2015/operator/isEmpty.js.map | 1 + node_modules/rxjs/_esm2015/operator/last.js | 23 + .../rxjs/_esm2015/operator/last.js.map | 1 + node_modules/rxjs/_esm2015/operator/let.js | 10 + .../rxjs/_esm2015/operator/let.js.map | 1 + node_modules/rxjs/_esm2015/operator/map.js | 38 + .../rxjs/_esm2015/operator/map.js.map | 1 + node_modules/rxjs/_esm2015/operator/mapTo.js | 31 + .../rxjs/_esm2015/operator/mapTo.js.map | 1 + .../rxjs/_esm2015/operator/materialize.js | 49 + .../rxjs/_esm2015/operator/materialize.js.map | 1 + node_modules/rxjs/_esm2015/operator/max.js | 36 + .../rxjs/_esm2015/operator/max.js.map | 1 + node_modules/rxjs/_esm2015/operator/merge.js | 53 + .../rxjs/_esm2015/operator/merge.js.map | 1 + .../rxjs/_esm2015/operator/mergeAll.js | 49 + .../rxjs/_esm2015/operator/mergeAll.js.map | 1 + .../rxjs/_esm2015/operator/mergeMap.js | 64 + .../rxjs/_esm2015/operator/mergeMap.js.map | 1 + .../rxjs/_esm2015/operator/mergeMapTo.js | 49 + .../rxjs/_esm2015/operator/mergeMapTo.js.map | 1 + .../rxjs/_esm2015/operator/mergeScan.js | 36 + .../rxjs/_esm2015/operator/mergeScan.js.map | 1 + node_modules/rxjs/_esm2015/operator/min.js | 36 + .../rxjs/_esm2015/operator/min.js.map | 1 + .../rxjs/_esm2015/operator/multicast.js | 100 + .../rxjs/_esm2015/operator/multicast.js.map | 1 + .../rxjs/_esm2015/operator/observeOn.js | 51 + .../rxjs/_esm2015/operator/observeOn.js.map | 1 + .../_esm2015/operator/onErrorResumeNext.js | 67 + .../operator/onErrorResumeNext.js.map | 1 + .../rxjs/_esm2015/operator/pairwise.js | 40 + .../rxjs/_esm2015/operator/pairwise.js.map | 1 + .../rxjs/_esm2015/operator/partition.js | 46 + .../rxjs/_esm2015/operator/partition.js.map | 1 + node_modules/rxjs/_esm2015/operator/pluck.js | 31 + .../rxjs/_esm2015/operator/pluck.js.map | 1 + .../rxjs/_esm2015/operator/publish.js | 19 + .../rxjs/_esm2015/operator/publish.js.map | 1 + .../rxjs/_esm2015/operator/publishBehavior.js | 11 + .../_esm2015/operator/publishBehavior.js.map | 1 + .../rxjs/_esm2015/operator/publishLast.js | 11 + .../rxjs/_esm2015/operator/publishLast.js.map | 1 + .../rxjs/_esm2015/operator/publishReplay.js | 15 + .../_esm2015/operator/publishReplay.js.map | 1 + node_modules/rxjs/_esm2015/operator/race.js | 16 + .../rxjs/_esm2015/operator/race.js.map | 1 + node_modules/rxjs/_esm2015/operator/reduce.js | 58 + .../rxjs/_esm2015/operator/reduce.js.map | 1 + node_modules/rxjs/_esm2015/operator/repeat.js | 17 + .../rxjs/_esm2015/operator/repeat.js.map | 1 + .../rxjs/_esm2015/operator/repeatWhen.js | 19 + .../rxjs/_esm2015/operator/repeatWhen.js.map | 1 + node_modules/rxjs/_esm2015/operator/retry.js | 21 + .../rxjs/_esm2015/operator/retry.js.map | 1 + .../rxjs/_esm2015/operator/retryWhen.js | 19 + .../rxjs/_esm2015/operator/retryWhen.js.map | 1 + node_modules/rxjs/_esm2015/operator/sample.js | 39 + .../rxjs/_esm2015/operator/sample.js.map | 1 + .../rxjs/_esm2015/operator/sampleTime.js | 42 + .../rxjs/_esm2015/operator/sampleTime.js.map | 1 + node_modules/rxjs/_esm2015/operator/scan.js | 46 + .../rxjs/_esm2015/operator/scan.js.map | 1 + .../rxjs/_esm2015/operator/sequenceEqual.js | 57 + .../_esm2015/operator/sequenceEqual.js.map | 1 + node_modules/rxjs/_esm2015/operator/share.js | 22 + .../rxjs/_esm2015/operator/share.js.map | 1 + .../rxjs/_esm2015/operator/shareReplay.js | 10 + .../rxjs/_esm2015/operator/shareReplay.js.map | 1 + node_modules/rxjs/_esm2015/operator/single.js | 21 + .../rxjs/_esm2015/operator/single.js.map | 1 + node_modules/rxjs/_esm2015/operator/skip.js | 16 + .../rxjs/_esm2015/operator/skip.js.map | 1 + .../rxjs/_esm2015/operator/skipLast.js | 37 + .../rxjs/_esm2015/operator/skipLast.js.map | 1 + .../rxjs/_esm2015/operator/skipUntil.js | 17 + .../rxjs/_esm2015/operator/skipUntil.js.map | 1 + .../rxjs/_esm2015/operator/skipWhile.js | 17 + .../rxjs/_esm2015/operator/skipWhile.js.map | 1 + .../rxjs/_esm2015/operator/startWith.js | 20 + .../rxjs/_esm2015/operator/startWith.js.map | 1 + .../rxjs/_esm2015/operator/subscribeOn.js | 16 + .../rxjs/_esm2015/operator/subscribeOn.js.map | 1 + node_modules/rxjs/_esm2015/operator/switch.js | 47 + .../rxjs/_esm2015/operator/switch.js.map | 1 + .../rxjs/_esm2015/operator/switchMap.js | 53 + .../rxjs/_esm2015/operator/switchMap.js.map | 1 + .../rxjs/_esm2015/operator/switchMapTo.js | 48 + .../rxjs/_esm2015/operator/switchMapTo.js.map | 1 + node_modules/rxjs/_esm2015/operator/take.js | 38 + .../rxjs/_esm2015/operator/take.js.map | 1 + .../rxjs/_esm2015/operator/takeLast.js | 41 + .../rxjs/_esm2015/operator/takeLast.js.map | 1 + .../rxjs/_esm2015/operator/takeUntil.js | 38 + .../rxjs/_esm2015/operator/takeUntil.js.map | 1 + .../rxjs/_esm2015/operator/takeWhile.js | 41 + .../rxjs/_esm2015/operator/takeWhile.js.map | 1 + .../rxjs/_esm2015/operator/throttle.js | 45 + .../rxjs/_esm2015/operator/throttle.js.map | 1 + .../rxjs/_esm2015/operator/throttleTime.js | 46 + .../_esm2015/operator/throttleTime.js.map | 1 + .../rxjs/_esm2015/operator/timeInterval.js | 13 + .../_esm2015/operator/timeInterval.js.map | 1 + .../rxjs/_esm2015/operator/timeout.js | 71 + .../rxjs/_esm2015/operator/timeout.js.map | 1 + .../rxjs/_esm2015/operator/timeoutWith.js | 54 + .../rxjs/_esm2015/operator/timeoutWith.js.map | 1 + .../rxjs/_esm2015/operator/timestamp.js | 12 + .../rxjs/_esm2015/operator/timestamp.js.map | 1 + .../rxjs/_esm2015/operator/toArray.js | 28 + .../rxjs/_esm2015/operator/toArray.js.map | 1 + .../rxjs/_esm2015/operator/toPromise.js | 5 + .../rxjs/_esm2015/operator/toPromise.js.map | 1 + node_modules/rxjs/_esm2015/operator/window.js | 41 + .../rxjs/_esm2015/operator/window.js.map | 1 + .../rxjs/_esm2015/operator/windowCount.js | 53 + .../rxjs/_esm2015/operator/windowCount.js.map | 1 + .../rxjs/_esm2015/operator/windowTime.js | 26 + .../rxjs/_esm2015/operator/windowTime.js.map | 1 + .../rxjs/_esm2015/operator/windowToggle.js | 46 + .../_esm2015/operator/windowToggle.js.map | 1 + .../rxjs/_esm2015/operator/windowWhen.js | 43 + .../rxjs/_esm2015/operator/windowWhen.js.map | 1 + .../rxjs/_esm2015/operator/withLatestFrom.js | 44 + .../_esm2015/operator/withLatestFrom.js.map | 1 + node_modules/rxjs/_esm2015/operator/zip.js | 12 + .../rxjs/_esm2015/operator/zip.js.map | 1 + node_modules/rxjs/_esm2015/operator/zipAll.js | 11 + .../rxjs/_esm2015/operator/zipAll.js.map | 1 + node_modules/rxjs/_esm2015/operators.js | 109 + node_modules/rxjs/_esm2015/operators.js.map | 1 + node_modules/rxjs/_esm2015/operators/audit.js | 108 + .../rxjs/_esm2015/operators/audit.js.map | 1 + .../rxjs/_esm2015/operators/auditTime.js | 49 + .../rxjs/_esm2015/operators/auditTime.js.map | 1 + .../rxjs/_esm2015/operators/buffer.js | 68 + .../rxjs/_esm2015/operators/buffer.js.map | 1 + .../rxjs/_esm2015/operators/bufferCount.js | 129 + .../_esm2015/operators/bufferCount.js.map | 1 + .../rxjs/_esm2015/operators/bufferTime.js | 190 + .../rxjs/_esm2015/operators/bufferTime.js.map | 1 + .../rxjs/_esm2015/operators/bufferToggle.js | 144 + .../_esm2015/operators/bufferToggle.js.map | 1 + .../rxjs/_esm2015/operators/bufferWhen.js | 114 + .../rxjs/_esm2015/operators/bufferWhen.js.map | 1 + .../rxjs/_esm2015/operators/catchError.js | 106 + .../rxjs/_esm2015/operators/catchError.js.map | 1 + .../rxjs/_esm2015/operators/combineAll.js | 5 + .../rxjs/_esm2015/operators/combineAll.js.map | 1 + .../rxjs/_esm2015/operators/combineLatest.js | 135 + .../_esm2015/operators/combineLatest.js.map | 1 + .../rxjs/_esm2015/operators/concat.js | 56 + .../rxjs/_esm2015/operators/concat.js.map | 1 + .../rxjs/_esm2015/operators/concatAll.js | 53 + .../rxjs/_esm2015/operators/concatAll.js.map | 1 + .../rxjs/_esm2015/operators/concatMap.js | 65 + .../rxjs/_esm2015/operators/concatMap.js.map | 1 + .../rxjs/_esm2015/operators/concatMapTo.js | 62 + .../_esm2015/operators/concatMapTo.js.map | 1 + node_modules/rxjs/_esm2015/operators/count.js | 101 + .../rxjs/_esm2015/operators/count.js.map | 1 + .../rxjs/_esm2015/operators/debounce.js | 117 + .../rxjs/_esm2015/operators/debounce.js.map | 1 + .../rxjs/_esm2015/operators/debounceTime.js | 105 + .../_esm2015/operators/debounceTime.js.map | 1 + .../rxjs/_esm2015/operators/defaultIfEmpty.js | 66 + .../_esm2015/operators/defaultIfEmpty.js.map | 1 + node_modules/rxjs/_esm2015/operators/delay.js | 123 + .../rxjs/_esm2015/operators/delay.js.map | 1 + .../rxjs/_esm2015/operators/delayWhen.js | 178 + .../rxjs/_esm2015/operators/delayWhen.js.map | 1 + .../rxjs/_esm2015/operators/dematerialize.js | 65 + .../_esm2015/operators/dematerialize.js.map | 1 + .../rxjs/_esm2015/operators/distinct.js | 109 + .../rxjs/_esm2015/operators/distinct.js.map | 1 + .../operators/distinctUntilChanged.js | 98 + .../operators/distinctUntilChanged.js.map | 1 + .../operators/distinctUntilKeyChanged.js | 63 + .../operators/distinctUntilKeyChanged.js.map | 1 + .../rxjs/_esm2015/operators/elementAt.js | 90 + .../rxjs/_esm2015/operators/elementAt.js.map | 1 + node_modules/rxjs/_esm2015/operators/every.js | 64 + .../rxjs/_esm2015/operators/every.js.map | 1 + .../rxjs/_esm2015/operators/exhaust.js | 77 + .../rxjs/_esm2015/operators/exhaust.js.map | 1 + .../rxjs/_esm2015/operators/exhaustMap.js | 128 + .../rxjs/_esm2015/operators/exhaustMap.js.map | 1 + .../rxjs/_esm2015/operators/expand.js | 137 + .../rxjs/_esm2015/operators/expand.js.map | 1 + .../rxjs/_esm2015/operators/filter.js | 84 + .../rxjs/_esm2015/operators/filter.js.map | 1 + .../rxjs/_esm2015/operators/finalize.js | 33 + .../rxjs/_esm2015/operators/finalize.js.map | 1 + node_modules/rxjs/_esm2015/operators/find.js | 88 + .../rxjs/_esm2015/operators/find.js.map | 1 + .../rxjs/_esm2015/operators/findIndex.js | 39 + .../rxjs/_esm2015/operators/findIndex.js.map | 1 + node_modules/rxjs/_esm2015/operators/first.js | 142 + .../rxjs/_esm2015/operators/first.js.map | 1 + .../rxjs/_esm2015/operators/groupBy.js | 257 + .../rxjs/_esm2015/operators/groupBy.js.map | 1 + .../rxjs/_esm2015/operators/ignoreElements.js | 33 + .../_esm2015/operators/ignoreElements.js.map | 1 + .../rxjs/_esm2015/operators/isEmpty.js | 31 + .../rxjs/_esm2015/operators/isEmpty.js.map | 1 + node_modules/rxjs/_esm2015/operators/last.js | 109 + .../rxjs/_esm2015/operators/last.js.map | 1 + node_modules/rxjs/_esm2015/operators/map.js | 78 + .../rxjs/_esm2015/operators/map.js.map | 1 + node_modules/rxjs/_esm2015/operators/mapTo.js | 53 + .../rxjs/_esm2015/operators/mapTo.js.map | 1 + .../rxjs/_esm2015/operators/materialize.js | 80 + .../_esm2015/operators/materialize.js.map | 1 + node_modules/rxjs/_esm2015/operators/max.js | 39 + .../rxjs/_esm2015/operators/max.js.map | 1 + node_modules/rxjs/_esm2015/operators/merge.js | 53 + .../rxjs/_esm2015/operators/merge.js.map | 1 + .../rxjs/_esm2015/operators/mergeAll.js | 50 + .../rxjs/_esm2015/operators/mergeAll.js.map | 1 + .../rxjs/_esm2015/operators/mergeMap.js | 158 + .../rxjs/_esm2015/operators/mergeMap.js.map | 1 + .../rxjs/_esm2015/operators/mergeMapTo.js | 140 + .../rxjs/_esm2015/operators/mergeMapTo.js.map | 1 + .../rxjs/_esm2015/operators/mergeScan.js | 116 + .../rxjs/_esm2015/operators/mergeScan.js.map | 1 + node_modules/rxjs/_esm2015/operators/min.js | 39 + .../rxjs/_esm2015/operators/min.js.map | 1 + .../rxjs/_esm2015/operators/multicast.js | 55 + .../rxjs/_esm2015/operators/multicast.js.map | 1 + .../rxjs/_esm2015/operators/observeOn.js | 98 + .../rxjs/_esm2015/operators/observeOn.js.map | 1 + .../_esm2015/operators/onErrorResumeNext.js | 118 + .../operators/onErrorResumeNext.js.map | 1 + .../rxjs/_esm2015/operators/pairwise.js | 65 + .../rxjs/_esm2015/operators/pairwise.js.map | 1 + .../rxjs/_esm2015/operators/partition.js | 50 + .../rxjs/_esm2015/operators/partition.js.map | 1 + node_modules/rxjs/_esm2015/operators/pluck.js | 51 + .../rxjs/_esm2015/operators/pluck.js.map | 1 + .../rxjs/_esm2015/operators/publish.js | 22 + .../rxjs/_esm2015/operators/publish.js.map | 1 + .../_esm2015/operators/publishBehavior.js | 12 + .../_esm2015/operators/publishBehavior.js.map | 1 + .../rxjs/_esm2015/operators/publishLast.js | 6 + .../_esm2015/operators/publishLast.js.map | 1 + .../rxjs/_esm2015/operators/publishReplay.js | 12 + .../_esm2015/operators/publishReplay.js.map | 1 + node_modules/rxjs/_esm2015/operators/race.js | 22 + .../rxjs/_esm2015/operators/race.js.map | 1 + .../rxjs/_esm2015/operators/reduce.js | 67 + .../rxjs/_esm2015/operators/reduce.js.map | 1 + .../rxjs/_esm2015/operators/refCount.js | 75 + .../rxjs/_esm2015/operators/refCount.js.map | 1 + .../rxjs/_esm2015/operators/repeat.js | 61 + .../rxjs/_esm2015/operators/repeat.js.map | 1 + .../rxjs/_esm2015/operators/repeatWhen.js | 98 + .../rxjs/_esm2015/operators/repeatWhen.js.map | 1 + node_modules/rxjs/_esm2015/operators/retry.js | 54 + .../rxjs/_esm2015/operators/retry.js.map | 1 + .../rxjs/_esm2015/operators/retryWhen.js | 91 + .../rxjs/_esm2015/operators/retryWhen.js.map | 1 + .../rxjs/_esm2015/operators/sample.js | 78 + .../rxjs/_esm2015/operators/sample.js.map | 1 + .../rxjs/_esm2015/operators/sampleTime.js | 80 + .../rxjs/_esm2015/operators/sampleTime.js.map | 1 + node_modules/rxjs/_esm2015/operators/scan.js | 106 + .../rxjs/_esm2015/operators/scan.js.map | 1 + .../rxjs/_esm2015/operators/sequenceEqual.js | 150 + .../_esm2015/operators/sequenceEqual.js.map | 1 + node_modules/rxjs/_esm2015/operators/share.js | 23 + .../rxjs/_esm2015/operators/share.js.map | 1 + .../rxjs/_esm2015/operators/shareReplay.js | 43 + .../_esm2015/operators/shareReplay.js.map | 1 + .../rxjs/_esm2015/operators/single.js | 83 + .../rxjs/_esm2015/operators/single.js.map | 1 + node_modules/rxjs/_esm2015/operators/skip.js | 41 + .../rxjs/_esm2015/operators/skip.js.map | 1 + .../rxjs/_esm2015/operators/skipLast.js | 83 + .../rxjs/_esm2015/operators/skipLast.js.map | 1 + .../rxjs/_esm2015/operators/skipUntil.js | 61 + .../rxjs/_esm2015/operators/skipUntil.js.map | 1 + .../rxjs/_esm2015/operators/skipWhile.js | 56 + .../rxjs/_esm2015/operators/skipWhile.js.map | 1 + .../rxjs/_esm2015/operators/startWith.js | 42 + .../rxjs/_esm2015/operators/startWith.js.map | 1 + .../rxjs/_esm2015/operators/subscribeOn.js | 27 + .../_esm2015/operators/subscribeOn.js.map | 1 + .../rxjs/_esm2015/operators/switchAll.js | 6 + .../rxjs/_esm2015/operators/switchAll.js.map | 1 + .../rxjs/_esm2015/operators/switchMap.js | 132 + .../rxjs/_esm2015/operators/switchMap.js.map | 1 + .../rxjs/_esm2015/operators/switchMapTo.js | 115 + .../_esm2015/operators/switchMapTo.js.map | 1 + node_modules/rxjs/_esm2015/operators/take.js | 81 + .../rxjs/_esm2015/operators/take.js.map | 1 + .../rxjs/_esm2015/operators/takeLast.js | 99 + .../rxjs/_esm2015/operators/takeLast.js.map | 1 + .../rxjs/_esm2015/operators/takeUntil.js | 65 + .../rxjs/_esm2015/operators/takeUntil.js.map | 1 + .../rxjs/_esm2015/operators/takeWhile.js | 82 + .../rxjs/_esm2015/operators/takeWhile.js.map | 1 + node_modules/rxjs/_esm2015/operators/tap.js | 103 + .../rxjs/_esm2015/operators/tap.js.map | 1 + .../rxjs/_esm2015/operators/throttle.js | 131 + .../rxjs/_esm2015/operators/throttle.js.map | 1 + .../rxjs/_esm2015/operators/throttleTime.js | 104 + .../_esm2015/operators/throttleTime.js.map | 1 + .../rxjs/_esm2015/operators/timeInterval.js | 40 + .../_esm2015/operators/timeInterval.js.map | 1 + .../rxjs/_esm2015/operators/timeout.js | 130 + .../rxjs/_esm2015/operators/timeout.js.map | 1 + .../rxjs/_esm2015/operators/timeoutWith.js | 117 + .../_esm2015/operators/timeoutWith.js.map | 1 + .../rxjs/_esm2015/operators/timestamp.js | 20 + .../rxjs/_esm2015/operators/timestamp.js.map | 1 + .../rxjs/_esm2015/operators/toArray.js | 12 + .../rxjs/_esm2015/operators/toArray.js.map | 1 + .../rxjs/_esm2015/operators/window.js | 102 + .../rxjs/_esm2015/operators/window.js.map | 1 + .../rxjs/_esm2015/operators/windowCount.js | 122 + .../_esm2015/operators/windowCount.js.map | 1 + .../rxjs/_esm2015/operators/windowTime.js | 147 + .../rxjs/_esm2015/operators/windowTime.js.map | 1 + .../rxjs/_esm2015/operators/windowToggle.js | 170 + .../_esm2015/operators/windowToggle.js.map | 1 + .../rxjs/_esm2015/operators/windowWhen.js | 118 + .../rxjs/_esm2015/operators/windowWhen.js.map | 1 + .../rxjs/_esm2015/operators/withLatestFrom.js | 118 + .../_esm2015/operators/withLatestFrom.js.map | 1 + node_modules/rxjs/_esm2015/operators/zip.js | 255 + .../rxjs/_esm2015/operators/zip.js.map | 1 + .../rxjs/_esm2015/operators/zipAll.js | 5 + .../rxjs/_esm2015/operators/zipAll.js.map | 1 + node_modules/rxjs/_esm2015/path-mapping.js | 465 + .../rxjs/_esm2015/scheduler/Action.js | 34 + .../rxjs/_esm2015/scheduler/Action.js.map | 1 + .../scheduler/AnimationFrameAction.js | 44 + .../scheduler/AnimationFrameAction.js.map | 1 + .../scheduler/AnimationFrameScheduler.js | 25 + .../scheduler/AnimationFrameScheduler.js.map | 1 + .../rxjs/_esm2015/scheduler/AsapAction.js | 44 + .../rxjs/_esm2015/scheduler/AsapAction.js.map | 1 + .../rxjs/_esm2015/scheduler/AsapScheduler.js | 25 + .../_esm2015/scheduler/AsapScheduler.js.map | 1 + .../rxjs/_esm2015/scheduler/AsyncAction.js | 130 + .../_esm2015/scheduler/AsyncAction.js.map | 1 + .../rxjs/_esm2015/scheduler/AsyncScheduler.js | 42 + .../_esm2015/scheduler/AsyncScheduler.js.map | 1 + .../rxjs/_esm2015/scheduler/QueueAction.js | 38 + .../_esm2015/scheduler/QueueAction.js.map | 1 + .../rxjs/_esm2015/scheduler/QueueScheduler.js | 4 + .../_esm2015/scheduler/QueueScheduler.js.map | 1 + .../scheduler/VirtualTimeScheduler.js | 94 + .../scheduler/VirtualTimeScheduler.js.map | 1 + .../rxjs/_esm2015/scheduler/animationFrame.js | 34 + .../_esm2015/scheduler/animationFrame.js.map | 1 + node_modules/rxjs/_esm2015/scheduler/asap.js | 38 + .../rxjs/_esm2015/scheduler/asap.js.map | 1 + node_modules/rxjs/_esm2015/scheduler/async.js | 46 + .../rxjs/_esm2015/scheduler/async.js.map | 1 + node_modules/rxjs/_esm2015/scheduler/queue.js | 65 + .../rxjs/_esm2015/scheduler/queue.js.map | 1 + node_modules/rxjs/_esm2015/symbol/iterator.js | 36 + .../rxjs/_esm2015/symbol/iterator.js.map | 1 + .../rxjs/_esm2015/symbol/observable.js | 24 + .../rxjs/_esm2015/symbol/observable.js.map | 1 + .../rxjs/_esm2015/symbol/rxSubscriber.js | 9 + .../rxjs/_esm2015/symbol/rxSubscriber.js.map | 1 + .../rxjs/_esm2015/testing/ColdObservable.js | 34 + .../_esm2015/testing/ColdObservable.js.map | 1 + .../rxjs/_esm2015/testing/HotObservable.js | 39 + .../_esm2015/testing/HotObservable.js.map | 1 + .../rxjs/_esm2015/testing/SubscriptionLog.js | 7 + .../_esm2015/testing/SubscriptionLog.js.map | 1 + .../_esm2015/testing/SubscriptionLoggable.js | 16 + .../testing/SubscriptionLoggable.js.map | 1 + .../rxjs/_esm2015/testing/TestMessage.js | 1 + .../rxjs/_esm2015/testing/TestMessage.js.map | 1 + .../rxjs/_esm2015/testing/TestScheduler.js | 208 + .../_esm2015/testing/TestScheduler.js.map | 1 + .../rxjs/_esm2015/util/AnimationFrame.js | 31 + .../rxjs/_esm2015/util/AnimationFrame.js.map | 1 + .../_esm2015/util/ArgumentOutOfRangeError.js | 19 + .../util/ArgumentOutOfRangeError.js.map | 1 + node_modules/rxjs/_esm2015/util/EmptyError.js | 19 + .../rxjs/_esm2015/util/EmptyError.js.map | 1 + node_modules/rxjs/_esm2015/util/FastMap.js | 28 + .../rxjs/_esm2015/util/FastMap.js.map | 1 + node_modules/rxjs/_esm2015/util/Immediate.js | 201 + .../rxjs/_esm2015/util/Immediate.js.map | 1 + node_modules/rxjs/_esm2015/util/Map.js | 4 + node_modules/rxjs/_esm2015/util/Map.js.map | 1 + .../rxjs/_esm2015/util/MapPolyfill.js | 44 + .../rxjs/_esm2015/util/MapPolyfill.js.map | 1 + .../_esm2015/util/ObjectUnsubscribedError.js | 18 + .../util/ObjectUnsubscribedError.js.map | 1 + node_modules/rxjs/_esm2015/util/Set.js | 27 + node_modules/rxjs/_esm2015/util/Set.js.map | 1 + .../rxjs/_esm2015/util/TimeoutError.js | 16 + .../rxjs/_esm2015/util/TimeoutError.js.map | 1 + .../rxjs/_esm2015/util/UnsubscriptionError.js | 17 + .../_esm2015/util/UnsubscriptionError.js.map | 1 + .../rxjs/_esm2015/util/applyMixins.js | 11 + .../rxjs/_esm2015/util/applyMixins.js.map | 1 + node_modules/rxjs/_esm2015/util/assign.js | 19 + node_modules/rxjs/_esm2015/util/assign.js.map | 1 + .../rxjs/_esm2015/util/errorObject.js | 3 + .../rxjs/_esm2015/util/errorObject.js.map | 1 + node_modules/rxjs/_esm2015/util/identity.js | 4 + .../rxjs/_esm2015/util/identity.js.map | 1 + node_modules/rxjs/_esm2015/util/isArray.js | 2 + .../rxjs/_esm2015/util/isArray.js.map | 1 + .../rxjs/_esm2015/util/isArrayLike.js | 2 + .../rxjs/_esm2015/util/isArrayLike.js.map | 1 + node_modules/rxjs/_esm2015/util/isDate.js | 4 + node_modules/rxjs/_esm2015/util/isDate.js.map | 1 + node_modules/rxjs/_esm2015/util/isFunction.js | 4 + .../rxjs/_esm2015/util/isFunction.js.map | 1 + node_modules/rxjs/_esm2015/util/isNumeric.js | 10 + .../rxjs/_esm2015/util/isNumeric.js.map | 1 + node_modules/rxjs/_esm2015/util/isObject.js | 4 + .../rxjs/_esm2015/util/isObject.js.map | 1 + node_modules/rxjs/_esm2015/util/isPromise.js | 4 + .../rxjs/_esm2015/util/isPromise.js.map | 1 + .../rxjs/_esm2015/util/isScheduler.js | 4 + .../rxjs/_esm2015/util/isScheduler.js.map | 1 + node_modules/rxjs/_esm2015/util/noop.js | 3 + node_modules/rxjs/_esm2015/util/noop.js.map | 1 + node_modules/rxjs/_esm2015/util/not.js | 9 + node_modules/rxjs/_esm2015/util/not.js.map | 1 + node_modules/rxjs/_esm2015/util/pipe.js | 18 + node_modules/rxjs/_esm2015/util/pipe.js.map | 1 + node_modules/rxjs/_esm2015/util/root.js | 18 + node_modules/rxjs/_esm2015/util/root.js.map | 1 + .../rxjs/_esm2015/util/subscribeToResult.js | 77 + .../_esm2015/util/subscribeToResult.js.map | 1 + .../rxjs/_esm2015/util/toSubscriber.js | 18 + .../rxjs/_esm2015/util/toSubscriber.js.map | 1 + node_modules/rxjs/_esm2015/util/tryCatch.js | 17 + .../rxjs/_esm2015/util/tryCatch.js.map | 1 + node_modules/rxjs/_esm5/AsyncSubject.js | 54 + node_modules/rxjs/_esm5/AsyncSubject.js.map | 1 + node_modules/rxjs/_esm5/BehaviorSubject.js | 50 + .../rxjs/_esm5/BehaviorSubject.js.map | 1 + node_modules/rxjs/_esm5/InnerSubscriber.js | 37 + .../rxjs/_esm5/InnerSubscriber.js.map | 1 + node_modules/rxjs/_esm5/LICENSE.txt | 202 + node_modules/rxjs/_esm5/Notification.js | 126 + node_modules/rxjs/_esm5/Notification.js.map | 1 + node_modules/rxjs/_esm5/Observable.js | 304 + node_modules/rxjs/_esm5/Observable.js.map | 1 + node_modules/rxjs/_esm5/Observer.js | 8 + node_modules/rxjs/_esm5/Observer.js.map | 1 + node_modules/rxjs/_esm5/Operator.js | 1 + node_modules/rxjs/_esm5/Operator.js.map | 1 + node_modules/rxjs/_esm5/OuterSubscriber.js | 31 + .../rxjs/_esm5/OuterSubscriber.js.map | 1 + node_modules/rxjs/_esm5/README.md | 204 + node_modules/rxjs/_esm5/ReplaySubject.js | 107 + node_modules/rxjs/_esm5/ReplaySubject.js.map | 1 + node_modules/rxjs/_esm5/Rx.js | 205 + node_modules/rxjs/_esm5/Rx.js.map | 1 + node_modules/rxjs/_esm5/Scheduler.js | 51 + node_modules/rxjs/_esm5/Scheduler.js.map | 1 + node_modules/rxjs/_esm5/Subject.js | 167 + node_modules/rxjs/_esm5/Subject.js.map | 1 + .../rxjs/_esm5/SubjectSubscription.js | 41 + .../rxjs/_esm5/SubjectSubscription.js.map | 1 + node_modules/rxjs/_esm5/Subscriber.js | 266 + node_modules/rxjs/_esm5/Subscriber.js.map | 1 + node_modules/rxjs/_esm5/Subscription.js | 192 + node_modules/rxjs/_esm5/Subscription.js.map | 1 + .../rxjs/_esm5/add/observable/bindCallback.js | 5 + .../_esm5/add/observable/bindCallback.js.map | 1 + .../_esm5/add/observable/bindNodeCallback.js | 5 + .../add/observable/bindNodeCallback.js.map | 1 + .../_esm5/add/observable/combineLatest.js | 5 + .../_esm5/add/observable/combineLatest.js.map | 1 + .../rxjs/_esm5/add/observable/concat.js | 5 + .../rxjs/_esm5/add/observable/concat.js.map | 1 + .../rxjs/_esm5/add/observable/defer.js | 5 + .../rxjs/_esm5/add/observable/defer.js.map | 1 + .../rxjs/_esm5/add/observable/dom/ajax.js | 5 + .../rxjs/_esm5/add/observable/dom/ajax.js.map | 1 + .../_esm5/add/observable/dom/webSocket.js | 5 + .../_esm5/add/observable/dom/webSocket.js.map | 1 + .../rxjs/_esm5/add/observable/empty.js | 5 + .../rxjs/_esm5/add/observable/empty.js.map | 1 + .../rxjs/_esm5/add/observable/forkJoin.js | 5 + .../rxjs/_esm5/add/observable/forkJoin.js.map | 1 + .../rxjs/_esm5/add/observable/from.js | 5 + .../rxjs/_esm5/add/observable/from.js.map | 1 + .../rxjs/_esm5/add/observable/fromEvent.js | 5 + .../_esm5/add/observable/fromEvent.js.map | 1 + .../_esm5/add/observable/fromEventPattern.js | 5 + .../add/observable/fromEventPattern.js.map | 1 + .../rxjs/_esm5/add/observable/fromPromise.js | 5 + .../_esm5/add/observable/fromPromise.js.map | 1 + .../rxjs/_esm5/add/observable/generate.js | 5 + .../rxjs/_esm5/add/observable/generate.js.map | 1 + node_modules/rxjs/_esm5/add/observable/if.js | 5 + .../rxjs/_esm5/add/observable/if.js.map | 1 + .../rxjs/_esm5/add/observable/interval.js | 5 + .../rxjs/_esm5/add/observable/interval.js.map | 1 + .../rxjs/_esm5/add/observable/merge.js | 5 + .../rxjs/_esm5/add/observable/merge.js.map | 1 + .../rxjs/_esm5/add/observable/never.js | 5 + .../rxjs/_esm5/add/observable/never.js.map | 1 + node_modules/rxjs/_esm5/add/observable/of.js | 5 + .../rxjs/_esm5/add/observable/of.js.map | 1 + .../_esm5/add/observable/onErrorResumeNext.js | 5 + .../add/observable/onErrorResumeNext.js.map | 1 + .../rxjs/_esm5/add/observable/pairs.js | 5 + .../rxjs/_esm5/add/observable/pairs.js.map | 1 + .../rxjs/_esm5/add/observable/race.js | 5 + .../rxjs/_esm5/add/observable/race.js.map | 1 + .../rxjs/_esm5/add/observable/range.js | 5 + .../rxjs/_esm5/add/observable/range.js.map | 1 + .../rxjs/_esm5/add/observable/throw.js | 5 + .../rxjs/_esm5/add/observable/throw.js.map | 1 + .../rxjs/_esm5/add/observable/timer.js | 5 + .../rxjs/_esm5/add/observable/timer.js.map | 1 + .../rxjs/_esm5/add/observable/using.js | 5 + .../rxjs/_esm5/add/observable/using.js.map | 1 + node_modules/rxjs/_esm5/add/observable/zip.js | 5 + .../rxjs/_esm5/add/observable/zip.js.map | 1 + node_modules/rxjs/_esm5/add/operator/audit.js | 5 + .../rxjs/_esm5/add/operator/audit.js.map | 1 + .../rxjs/_esm5/add/operator/auditTime.js | 5 + .../rxjs/_esm5/add/operator/auditTime.js.map | 1 + .../rxjs/_esm5/add/operator/buffer.js | 5 + .../rxjs/_esm5/add/operator/buffer.js.map | 1 + .../rxjs/_esm5/add/operator/bufferCount.js | 5 + .../_esm5/add/operator/bufferCount.js.map | 1 + .../rxjs/_esm5/add/operator/bufferTime.js | 5 + .../rxjs/_esm5/add/operator/bufferTime.js.map | 1 + .../rxjs/_esm5/add/operator/bufferToggle.js | 5 + .../_esm5/add/operator/bufferToggle.js.map | 1 + .../rxjs/_esm5/add/operator/bufferWhen.js | 5 + .../rxjs/_esm5/add/operator/bufferWhen.js.map | 1 + node_modules/rxjs/_esm5/add/operator/catch.js | 6 + .../rxjs/_esm5/add/operator/catch.js.map | 1 + .../rxjs/_esm5/add/operator/combineAll.js | 5 + .../rxjs/_esm5/add/operator/combineAll.js.map | 1 + .../rxjs/_esm5/add/operator/combineLatest.js | 5 + .../_esm5/add/operator/combineLatest.js.map | 1 + .../rxjs/_esm5/add/operator/concat.js | 5 + .../rxjs/_esm5/add/operator/concat.js.map | 1 + .../rxjs/_esm5/add/operator/concatAll.js | 5 + .../rxjs/_esm5/add/operator/concatAll.js.map | 1 + .../rxjs/_esm5/add/operator/concatMap.js | 5 + .../rxjs/_esm5/add/operator/concatMap.js.map | 1 + .../rxjs/_esm5/add/operator/concatMapTo.js | 5 + .../_esm5/add/operator/concatMapTo.js.map | 1 + node_modules/rxjs/_esm5/add/operator/count.js | 5 + .../rxjs/_esm5/add/operator/count.js.map | 1 + .../rxjs/_esm5/add/operator/debounce.js | 5 + .../rxjs/_esm5/add/operator/debounce.js.map | 1 + .../rxjs/_esm5/add/operator/debounceTime.js | 5 + .../_esm5/add/operator/debounceTime.js.map | 1 + .../rxjs/_esm5/add/operator/defaultIfEmpty.js | 5 + .../_esm5/add/operator/defaultIfEmpty.js.map | 1 + node_modules/rxjs/_esm5/add/operator/delay.js | 5 + .../rxjs/_esm5/add/operator/delay.js.map | 1 + .../rxjs/_esm5/add/operator/delayWhen.js | 5 + .../rxjs/_esm5/add/operator/delayWhen.js.map | 1 + .../rxjs/_esm5/add/operator/dematerialize.js | 5 + .../_esm5/add/operator/dematerialize.js.map | 1 + .../rxjs/_esm5/add/operator/distinct.js | 5 + .../rxjs/_esm5/add/operator/distinct.js.map | 1 + .../add/operator/distinctUntilChanged.js | 5 + .../add/operator/distinctUntilChanged.js.map | 1 + .../add/operator/distinctUntilKeyChanged.js | 5 + .../operator/distinctUntilKeyChanged.js.map | 1 + node_modules/rxjs/_esm5/add/operator/do.js | 6 + .../rxjs/_esm5/add/operator/do.js.map | 1 + .../rxjs/_esm5/add/operator/elementAt.js | 5 + .../rxjs/_esm5/add/operator/elementAt.js.map | 1 + node_modules/rxjs/_esm5/add/operator/every.js | 5 + .../rxjs/_esm5/add/operator/every.js.map | 1 + .../rxjs/_esm5/add/operator/exhaust.js | 5 + .../rxjs/_esm5/add/operator/exhaust.js.map | 1 + .../rxjs/_esm5/add/operator/exhaustMap.js | 5 + .../rxjs/_esm5/add/operator/exhaustMap.js.map | 1 + .../rxjs/_esm5/add/operator/expand.js | 5 + .../rxjs/_esm5/add/operator/expand.js.map | 1 + .../rxjs/_esm5/add/operator/filter.js | 5 + .../rxjs/_esm5/add/operator/filter.js.map | 1 + .../rxjs/_esm5/add/operator/finally.js | 6 + .../rxjs/_esm5/add/operator/finally.js.map | 1 + node_modules/rxjs/_esm5/add/operator/find.js | 5 + .../rxjs/_esm5/add/operator/find.js.map | 1 + .../rxjs/_esm5/add/operator/findIndex.js | 5 + .../rxjs/_esm5/add/operator/findIndex.js.map | 1 + node_modules/rxjs/_esm5/add/operator/first.js | 5 + .../rxjs/_esm5/add/operator/first.js.map | 1 + .../rxjs/_esm5/add/operator/groupBy.js | 5 + .../rxjs/_esm5/add/operator/groupBy.js.map | 1 + .../rxjs/_esm5/add/operator/ignoreElements.js | 5 + .../_esm5/add/operator/ignoreElements.js.map | 1 + .../rxjs/_esm5/add/operator/isEmpty.js | 5 + .../rxjs/_esm5/add/operator/isEmpty.js.map | 1 + node_modules/rxjs/_esm5/add/operator/last.js | 5 + .../rxjs/_esm5/add/operator/last.js.map | 1 + node_modules/rxjs/_esm5/add/operator/let.js | 6 + .../rxjs/_esm5/add/operator/let.js.map | 1 + node_modules/rxjs/_esm5/add/operator/map.js | 5 + .../rxjs/_esm5/add/operator/map.js.map | 1 + node_modules/rxjs/_esm5/add/operator/mapTo.js | 5 + .../rxjs/_esm5/add/operator/mapTo.js.map | 1 + .../rxjs/_esm5/add/operator/materialize.js | 5 + .../_esm5/add/operator/materialize.js.map | 1 + node_modules/rxjs/_esm5/add/operator/max.js | 5 + .../rxjs/_esm5/add/operator/max.js.map | 1 + node_modules/rxjs/_esm5/add/operator/merge.js | 5 + .../rxjs/_esm5/add/operator/merge.js.map | 1 + .../rxjs/_esm5/add/operator/mergeAll.js | 5 + .../rxjs/_esm5/add/operator/mergeAll.js.map | 1 + .../rxjs/_esm5/add/operator/mergeMap.js | 6 + .../rxjs/_esm5/add/operator/mergeMap.js.map | 1 + .../rxjs/_esm5/add/operator/mergeMapTo.js | 6 + .../rxjs/_esm5/add/operator/mergeMapTo.js.map | 1 + .../rxjs/_esm5/add/operator/mergeScan.js | 5 + .../rxjs/_esm5/add/operator/mergeScan.js.map | 1 + node_modules/rxjs/_esm5/add/operator/min.js | 5 + .../rxjs/_esm5/add/operator/min.js.map | 1 + .../rxjs/_esm5/add/operator/multicast.js | 5 + .../rxjs/_esm5/add/operator/multicast.js.map | 1 + .../rxjs/_esm5/add/operator/observeOn.js | 5 + .../rxjs/_esm5/add/operator/observeOn.js.map | 1 + .../_esm5/add/operator/onErrorResumeNext.js | 5 + .../add/operator/onErrorResumeNext.js.map | 1 + .../rxjs/_esm5/add/operator/pairwise.js | 5 + .../rxjs/_esm5/add/operator/pairwise.js.map | 1 + .../rxjs/_esm5/add/operator/partition.js | 5 + .../rxjs/_esm5/add/operator/partition.js.map | 1 + node_modules/rxjs/_esm5/add/operator/pluck.js | 5 + .../rxjs/_esm5/add/operator/pluck.js.map | 1 + .../rxjs/_esm5/add/operator/publish.js | 5 + .../rxjs/_esm5/add/operator/publish.js.map | 1 + .../_esm5/add/operator/publishBehavior.js | 5 + .../_esm5/add/operator/publishBehavior.js.map | 1 + .../rxjs/_esm5/add/operator/publishLast.js | 5 + .../_esm5/add/operator/publishLast.js.map | 1 + .../rxjs/_esm5/add/operator/publishReplay.js | 5 + .../_esm5/add/operator/publishReplay.js.map | 1 + node_modules/rxjs/_esm5/add/operator/race.js | 5 + .../rxjs/_esm5/add/operator/race.js.map | 1 + .../rxjs/_esm5/add/operator/reduce.js | 5 + .../rxjs/_esm5/add/operator/reduce.js.map | 1 + .../rxjs/_esm5/add/operator/repeat.js | 5 + .../rxjs/_esm5/add/operator/repeat.js.map | 1 + .../rxjs/_esm5/add/operator/repeatWhen.js | 5 + .../rxjs/_esm5/add/operator/repeatWhen.js.map | 1 + node_modules/rxjs/_esm5/add/operator/retry.js | 5 + .../rxjs/_esm5/add/operator/retry.js.map | 1 + .../rxjs/_esm5/add/operator/retryWhen.js | 5 + .../rxjs/_esm5/add/operator/retryWhen.js.map | 1 + .../rxjs/_esm5/add/operator/sample.js | 5 + .../rxjs/_esm5/add/operator/sample.js.map | 1 + .../rxjs/_esm5/add/operator/sampleTime.js | 5 + .../rxjs/_esm5/add/operator/sampleTime.js.map | 1 + node_modules/rxjs/_esm5/add/operator/scan.js | 5 + .../rxjs/_esm5/add/operator/scan.js.map | 1 + .../rxjs/_esm5/add/operator/sequenceEqual.js | 5 + .../_esm5/add/operator/sequenceEqual.js.map | 1 + node_modules/rxjs/_esm5/add/operator/share.js | 5 + .../rxjs/_esm5/add/operator/share.js.map | 1 + .../rxjs/_esm5/add/operator/shareReplay.js | 5 + .../_esm5/add/operator/shareReplay.js.map | 1 + .../rxjs/_esm5/add/operator/single.js | 5 + .../rxjs/_esm5/add/operator/single.js.map | 1 + node_modules/rxjs/_esm5/add/operator/skip.js | 5 + .../rxjs/_esm5/add/operator/skip.js.map | 1 + .../rxjs/_esm5/add/operator/skipLast.js | 5 + .../rxjs/_esm5/add/operator/skipLast.js.map | 1 + .../rxjs/_esm5/add/operator/skipUntil.js | 5 + .../rxjs/_esm5/add/operator/skipUntil.js.map | 1 + .../rxjs/_esm5/add/operator/skipWhile.js | 5 + .../rxjs/_esm5/add/operator/skipWhile.js.map | 1 + .../rxjs/_esm5/add/operator/startWith.js | 5 + .../rxjs/_esm5/add/operator/startWith.js.map | 1 + .../rxjs/_esm5/add/operator/subscribeOn.js | 5 + .../_esm5/add/operator/subscribeOn.js.map | 1 + .../rxjs/_esm5/add/operator/switch.js | 6 + .../rxjs/_esm5/add/operator/switch.js.map | 1 + .../rxjs/_esm5/add/operator/switchMap.js | 5 + .../rxjs/_esm5/add/operator/switchMap.js.map | 1 + .../rxjs/_esm5/add/operator/switchMapTo.js | 5 + .../_esm5/add/operator/switchMapTo.js.map | 1 + node_modules/rxjs/_esm5/add/operator/take.js | 5 + .../rxjs/_esm5/add/operator/take.js.map | 1 + .../rxjs/_esm5/add/operator/takeLast.js | 5 + .../rxjs/_esm5/add/operator/takeLast.js.map | 1 + .../rxjs/_esm5/add/operator/takeUntil.js | 5 + .../rxjs/_esm5/add/operator/takeUntil.js.map | 1 + .../rxjs/_esm5/add/operator/takeWhile.js | 5 + .../rxjs/_esm5/add/operator/takeWhile.js.map | 1 + .../rxjs/_esm5/add/operator/throttle.js | 5 + .../rxjs/_esm5/add/operator/throttle.js.map | 1 + .../rxjs/_esm5/add/operator/throttleTime.js | 5 + .../_esm5/add/operator/throttleTime.js.map | 1 + .../rxjs/_esm5/add/operator/timeInterval.js | 5 + .../_esm5/add/operator/timeInterval.js.map | 1 + .../rxjs/_esm5/add/operator/timeout.js | 5 + .../rxjs/_esm5/add/operator/timeout.js.map | 1 + .../rxjs/_esm5/add/operator/timeoutWith.js | 5 + .../_esm5/add/operator/timeoutWith.js.map | 1 + .../rxjs/_esm5/add/operator/timestamp.js | 5 + .../rxjs/_esm5/add/operator/timestamp.js.map | 1 + .../rxjs/_esm5/add/operator/toArray.js | 5 + .../rxjs/_esm5/add/operator/toArray.js.map | 1 + .../rxjs/_esm5/add/operator/toPromise.js | 3 + .../rxjs/_esm5/add/operator/toPromise.js.map | 1 + .../rxjs/_esm5/add/operator/window.js | 5 + .../rxjs/_esm5/add/operator/window.js.map | 1 + .../rxjs/_esm5/add/operator/windowCount.js | 5 + .../_esm5/add/operator/windowCount.js.map | 1 + .../rxjs/_esm5/add/operator/windowTime.js | 5 + .../rxjs/_esm5/add/operator/windowTime.js.map | 1 + .../rxjs/_esm5/add/operator/windowToggle.js | 5 + .../_esm5/add/operator/windowToggle.js.map | 1 + .../rxjs/_esm5/add/operator/windowWhen.js | 5 + .../rxjs/_esm5/add/operator/windowWhen.js.map | 1 + .../rxjs/_esm5/add/operator/withLatestFrom.js | 5 + .../_esm5/add/operator/withLatestFrom.js.map | 1 + node_modules/rxjs/_esm5/add/operator/zip.js | 5 + .../rxjs/_esm5/add/operator/zip.js.map | 1 + .../rxjs/_esm5/add/operator/zipAll.js | 5 + .../rxjs/_esm5/add/operator/zipAll.js.map | 1 + node_modules/rxjs/_esm5/interfaces.js | 1 + node_modules/rxjs/_esm5/interfaces.js.map | 1 + .../_esm5/observable/ArrayLikeObservable.js | 71 + .../observable/ArrayLikeObservable.js.map | 1 + .../rxjs/_esm5/observable/ArrayObservable.js | 123 + .../_esm5/observable/ArrayObservable.js.map | 1 + .../observable/BoundCallbackObservable.js | 267 + .../observable/BoundCallbackObservable.js.map | 1 + .../observable/BoundNodeCallbackObservable.js | 266 + .../BoundNodeCallbackObservable.js.map | 1 + .../_esm5/observable/ConnectableObservable.js | 171 + .../observable/ConnectableObservable.js.map | 1 + .../rxjs/_esm5/observable/DeferObservable.js | 100 + .../_esm5/observable/DeferObservable.js.map | 1 + .../rxjs/_esm5/observable/EmptyObservable.js | 82 + .../_esm5/observable/EmptyObservable.js.map | 1 + .../rxjs/_esm5/observable/ErrorObservable.js | 84 + .../_esm5/observable/ErrorObservable.js.map | 1 + .../_esm5/observable/ForkJoinObservable.js | 203 + .../observable/ForkJoinObservable.js.map | 1 + .../_esm5/observable/FromEventObservable.js | 217 + .../observable/FromEventObservable.js.map | 1 + .../observable/FromEventPatternObservable.js | 114 + .../FromEventPatternObservable.js.map | 1 + .../rxjs/_esm5/observable/FromObservable.js | 123 + .../_esm5/observable/FromObservable.js.map | 1 + .../_esm5/observable/GenerateObservable.js | 137 + .../observable/GenerateObservable.js.map | 1 + .../rxjs/_esm5/observable/IfObservable.js | 62 + .../rxjs/_esm5/observable/IfObservable.js.map | 1 + .../_esm5/observable/IntervalObservable.js | 97 + .../observable/IntervalObservable.js.map | 1 + .../_esm5/observable/IteratorObservable.js | 172 + .../observable/IteratorObservable.js.map | 1 + .../rxjs/_esm5/observable/NeverObservable.js | 60 + .../_esm5/observable/NeverObservable.js.map | 1 + .../rxjs/_esm5/observable/PairsObservable.js | 86 + .../_esm5/observable/PairsObservable.js.map | 1 + .../_esm5/observable/PromiseObservable.js | 122 + .../_esm5/observable/PromiseObservable.js.map | 1 + .../rxjs/_esm5/observable/RangeObservable.js | 101 + .../_esm5/observable/RangeObservable.js.map | 1 + .../rxjs/_esm5/observable/ScalarObservable.js | 59 + .../_esm5/observable/ScalarObservable.js.map | 1 + .../_esm5/observable/SubscribeOnObservable.js | 60 + .../observable/SubscribeOnObservable.js.map | 1 + .../rxjs/_esm5/observable/TimerObservable.js | 112 + .../_esm5/observable/TimerObservable.js.map | 1 + .../rxjs/_esm5/observable/UsingObservable.js | 62 + .../_esm5/observable/UsingObservable.js.map | 1 + .../rxjs/_esm5/observable/bindCallback.js | 4 + .../rxjs/_esm5/observable/bindCallback.js.map | 1 + .../rxjs/_esm5/observable/bindNodeCallback.js | 4 + .../_esm5/observable/bindNodeCallback.js.map | 1 + .../rxjs/_esm5/observable/combineLatest.js | 135 + .../_esm5/observable/combineLatest.js.map | 1 + node_modules/rxjs/_esm5/observable/concat.js | 110 + .../rxjs/_esm5/observable/concat.js.map | 1 + node_modules/rxjs/_esm5/observable/defer.js | 4 + .../rxjs/_esm5/observable/defer.js.map | 1 + .../_esm5/observable/dom/AjaxObservable.js | 419 + .../observable/dom/AjaxObservable.js.map | 1 + .../_esm5/observable/dom/WebSocketSubject.js | 251 + .../observable/dom/WebSocketSubject.js.map | 1 + .../rxjs/_esm5/observable/dom/ajax.js | 4 + .../rxjs/_esm5/observable/dom/ajax.js.map | 1 + .../rxjs/_esm5/observable/dom/webSocket.js | 4 + .../_esm5/observable/dom/webSocket.js.map | 1 + node_modules/rxjs/_esm5/observable/empty.js | 4 + .../rxjs/_esm5/observable/empty.js.map | 1 + .../rxjs/_esm5/observable/forkJoin.js | 4 + .../rxjs/_esm5/observable/forkJoin.js.map | 1 + node_modules/rxjs/_esm5/observable/from.js | 4 + .../rxjs/_esm5/observable/from.js.map | 1 + .../rxjs/_esm5/observable/fromEvent.js | 4 + .../rxjs/_esm5/observable/fromEvent.js.map | 1 + .../rxjs/_esm5/observable/fromEventPattern.js | 4 + .../_esm5/observable/fromEventPattern.js.map | 1 + .../rxjs/_esm5/observable/fromPromise.js | 4 + .../rxjs/_esm5/observable/fromPromise.js.map | 1 + .../rxjs/_esm5/observable/generate.js | 4 + .../rxjs/_esm5/observable/generate.js.map | 1 + node_modules/rxjs/_esm5/observable/if.js | 4 + node_modules/rxjs/_esm5/observable/if.js.map | 1 + .../rxjs/_esm5/observable/interval.js | 4 + .../rxjs/_esm5/observable/interval.js.map | 1 + node_modules/rxjs/_esm5/observable/merge.js | 89 + .../rxjs/_esm5/observable/merge.js.map | 1 + node_modules/rxjs/_esm5/observable/never.js | 4 + .../rxjs/_esm5/observable/never.js.map | 1 + node_modules/rxjs/_esm5/observable/of.js | 4 + node_modules/rxjs/_esm5/observable/of.js.map | 1 + .../_esm5/observable/onErrorResumeNext.js | 4 + .../_esm5/observable/onErrorResumeNext.js.map | 1 + node_modules/rxjs/_esm5/observable/pairs.js | 4 + .../rxjs/_esm5/observable/pairs.js.map | 1 + node_modules/rxjs/_esm5/observable/race.js | 88 + .../rxjs/_esm5/observable/race.js.map | 1 + node_modules/rxjs/_esm5/observable/range.js | 4 + .../rxjs/_esm5/observable/range.js.map | 1 + node_modules/rxjs/_esm5/observable/throw.js | 4 + .../rxjs/_esm5/observable/throw.js.map | 1 + node_modules/rxjs/_esm5/observable/timer.js | 4 + .../rxjs/_esm5/observable/timer.js.map | 1 + node_modules/rxjs/_esm5/observable/using.js | 4 + .../rxjs/_esm5/observable/using.js.map | 1 + node_modules/rxjs/_esm5/observable/zip.js | 4 + node_modules/rxjs/_esm5/observable/zip.js.map | 1 + node_modules/rxjs/_esm5/operator/audit.js | 46 + node_modules/rxjs/_esm5/operator/audit.js.map | 1 + node_modules/rxjs/_esm5/operator/auditTime.js | 52 + .../rxjs/_esm5/operator/auditTime.js.map | 1 + node_modules/rxjs/_esm5/operator/buffer.js | 38 + .../rxjs/_esm5/operator/buffer.js.map | 1 + .../rxjs/_esm5/operator/bufferCount.js | 50 + .../rxjs/_esm5/operator/bufferCount.js.map | 1 + .../rxjs/_esm5/operator/bufferTime.js | 66 + .../rxjs/_esm5/operator/bufferTime.js.map | 1 + .../rxjs/_esm5/operator/bufferToggle.js | 44 + .../rxjs/_esm5/operator/bufferToggle.js.map | 1 + .../rxjs/_esm5/operator/bufferWhen.js | 39 + .../rxjs/_esm5/operator/bufferWhen.js.map | 1 + node_modules/rxjs/_esm5/operator/catch.js | 65 + node_modules/rxjs/_esm5/operator/catch.js.map | 1 + .../rxjs/_esm5/operator/combineAll.js | 46 + .../rxjs/_esm5/operator/combineAll.js.map | 1 + .../rxjs/_esm5/operator/combineLatest.js | 54 + .../rxjs/_esm5/operator/combineLatest.js.map | 1 + node_modules/rxjs/_esm5/operator/concat.js | 61 + .../rxjs/_esm5/operator/concat.js.map | 1 + node_modules/rxjs/_esm5/operator/concatAll.js | 55 + .../rxjs/_esm5/operator/concatAll.js.map | 1 + node_modules/rxjs/_esm5/operator/concatMap.js | 66 + .../rxjs/_esm5/operator/concatMap.js.map | 1 + .../rxjs/_esm5/operator/concatMapTo.js | 63 + .../rxjs/_esm5/operator/concatMapTo.js.map | 1 + node_modules/rxjs/_esm5/operator/count.js | 54 + node_modules/rxjs/_esm5/operator/count.js.map | 1 + node_modules/rxjs/_esm5/operator/debounce.js | 48 + .../rxjs/_esm5/operator/debounce.js.map | 1 + .../rxjs/_esm5/operator/debounceTime.js | 56 + .../rxjs/_esm5/operator/debounceTime.js.map | 1 + .../rxjs/_esm5/operator/defaultIfEmpty.js | 40 + .../rxjs/_esm5/operator/defaultIfEmpty.js.map | 1 + node_modules/rxjs/_esm5/operator/delay.js | 49 + node_modules/rxjs/_esm5/operator/delay.js.map | 1 + node_modules/rxjs/_esm5/operator/delayWhen.js | 51 + .../rxjs/_esm5/operator/delayWhen.js.map | 1 + .../rxjs/_esm5/operator/dematerialize.js | 46 + .../rxjs/_esm5/operator/dematerialize.js.map | 1 + node_modules/rxjs/_esm5/operator/distinct.js | 51 + .../rxjs/_esm5/operator/distinct.js.map | 1 + .../_esm5/operator/distinctUntilChanged.js | 46 + .../operator/distinctUntilChanged.js.map | 1 + .../_esm5/operator/distinctUntilKeyChanged.js | 64 + .../operator/distinctUntilKeyChanged.js.map | 1 + node_modules/rxjs/_esm5/operator/do.js | 50 + node_modules/rxjs/_esm5/operator/do.js.map | 1 + node_modules/rxjs/_esm5/operator/elementAt.js | 48 + .../rxjs/_esm5/operator/elementAt.js.map | 1 + node_modules/rxjs/_esm5/operator/every.js | 20 + node_modules/rxjs/_esm5/operator/every.js.map | 1 + node_modules/rxjs/_esm5/operator/exhaust.js | 41 + .../rxjs/_esm5/operator/exhaust.js.map | 1 + .../rxjs/_esm5/operator/exhaustMap.js | 52 + .../rxjs/_esm5/operator/exhaustMap.js.map | 1 + node_modules/rxjs/_esm5/operator/expand.js | 59 + .../rxjs/_esm5/operator/expand.js.map | 1 + node_modules/rxjs/_esm5/operator/filter.js | 46 + .../rxjs/_esm5/operator/filter.js.map | 1 + node_modules/rxjs/_esm5/operator/finally.js | 14 + .../rxjs/_esm5/operator/finally.js.map | 1 + node_modules/rxjs/_esm5/operator/find.js | 40 + node_modules/rxjs/_esm5/operator/find.js.map | 1 + node_modules/rxjs/_esm5/operator/findIndex.js | 40 + .../rxjs/_esm5/operator/findIndex.js.map | 1 + node_modules/rxjs/_esm5/operator/first.js | 55 + node_modules/rxjs/_esm5/operator/first.js.map | 1 + node_modules/rxjs/_esm5/operator/groupBy.js | 75 + .../rxjs/_esm5/operator/groupBy.js.map | 1 + .../rxjs/_esm5/operator/ignoreElements.js | 17 + .../rxjs/_esm5/operator/ignoreElements.js.map | 1 + node_modules/rxjs/_esm5/operator/isEmpty.js | 15 + .../rxjs/_esm5/operator/isEmpty.js.map | 1 + node_modules/rxjs/_esm5/operator/last.js | 24 + node_modules/rxjs/_esm5/operator/last.js.map | 1 + node_modules/rxjs/_esm5/operator/let.js | 11 + node_modules/rxjs/_esm5/operator/let.js.map | 1 + node_modules/rxjs/_esm5/operator/map.js | 39 + node_modules/rxjs/_esm5/operator/map.js.map | 1 + node_modules/rxjs/_esm5/operator/mapTo.js | 32 + node_modules/rxjs/_esm5/operator/mapTo.js.map | 1 + .../rxjs/_esm5/operator/materialize.js | 50 + .../rxjs/_esm5/operator/materialize.js.map | 1 + node_modules/rxjs/_esm5/operator/max.js | 37 + node_modules/rxjs/_esm5/operator/max.js.map | 1 + node_modules/rxjs/_esm5/operator/merge.js | 58 + node_modules/rxjs/_esm5/operator/merge.js.map | 1 + node_modules/rxjs/_esm5/operator/mergeAll.js | 53 + .../rxjs/_esm5/operator/mergeAll.js.map | 1 + node_modules/rxjs/_esm5/operator/mergeMap.js | 68 + .../rxjs/_esm5/operator/mergeMap.js.map | 1 + .../rxjs/_esm5/operator/mergeMapTo.js | 53 + .../rxjs/_esm5/operator/mergeMapTo.js.map | 1 + node_modules/rxjs/_esm5/operator/mergeScan.js | 40 + .../rxjs/_esm5/operator/mergeScan.js.map | 1 + node_modules/rxjs/_esm5/operator/min.js | 37 + node_modules/rxjs/_esm5/operator/min.js.map | 1 + node_modules/rxjs/_esm5/operator/multicast.js | 101 + .../rxjs/_esm5/operator/multicast.js.map | 1 + node_modules/rxjs/_esm5/operator/observeOn.js | 55 + .../rxjs/_esm5/operator/observeOn.js.map | 1 + .../rxjs/_esm5/operator/onErrorResumeNext.js | 72 + .../_esm5/operator/onErrorResumeNext.js.map | 1 + node_modules/rxjs/_esm5/operator/pairwise.js | 41 + .../rxjs/_esm5/operator/pairwise.js.map | 1 + node_modules/rxjs/_esm5/operator/partition.js | 47 + .../rxjs/_esm5/operator/partition.js.map | 1 + node_modules/rxjs/_esm5/operator/pluck.js | 36 + node_modules/rxjs/_esm5/operator/pluck.js.map | 1 + node_modules/rxjs/_esm5/operator/publish.js | 20 + .../rxjs/_esm5/operator/publish.js.map | 1 + .../rxjs/_esm5/operator/publishBehavior.js | 12 + .../_esm5/operator/publishBehavior.js.map | 1 + .../rxjs/_esm5/operator/publishLast.js | 12 + .../rxjs/_esm5/operator/publishLast.js.map | 1 + .../rxjs/_esm5/operator/publishReplay.js | 16 + .../rxjs/_esm5/operator/publishReplay.js.map | 1 + node_modules/rxjs/_esm5/operator/race.js | 21 + node_modules/rxjs/_esm5/operator/race.js.map | 1 + node_modules/rxjs/_esm5/operator/reduce.js | 59 + .../rxjs/_esm5/operator/reduce.js.map | 1 + node_modules/rxjs/_esm5/operator/repeat.js | 21 + .../rxjs/_esm5/operator/repeat.js.map | 1 + .../rxjs/_esm5/operator/repeatWhen.js | 20 + .../rxjs/_esm5/operator/repeatWhen.js.map | 1 + node_modules/rxjs/_esm5/operator/retry.js | 25 + node_modules/rxjs/_esm5/operator/retry.js.map | 1 + node_modules/rxjs/_esm5/operator/retryWhen.js | 20 + .../rxjs/_esm5/operator/retryWhen.js.map | 1 + node_modules/rxjs/_esm5/operator/sample.js | 40 + .../rxjs/_esm5/operator/sample.js.map | 1 + .../rxjs/_esm5/operator/sampleTime.js | 46 + .../rxjs/_esm5/operator/sampleTime.js.map | 1 + node_modules/rxjs/_esm5/operator/scan.js | 47 + node_modules/rxjs/_esm5/operator/scan.js.map | 1 + .../rxjs/_esm5/operator/sequenceEqual.js | 58 + .../rxjs/_esm5/operator/sequenceEqual.js.map | 1 + node_modules/rxjs/_esm5/operator/share.js | 23 + node_modules/rxjs/_esm5/operator/share.js.map | 1 + .../rxjs/_esm5/operator/shareReplay.js | 11 + .../rxjs/_esm5/operator/shareReplay.js.map | 1 + node_modules/rxjs/_esm5/operator/single.js | 22 + .../rxjs/_esm5/operator/single.js.map | 1 + node_modules/rxjs/_esm5/operator/skip.js | 17 + node_modules/rxjs/_esm5/operator/skip.js.map | 1 + node_modules/rxjs/_esm5/operator/skipLast.js | 38 + .../rxjs/_esm5/operator/skipLast.js.map | 1 + node_modules/rxjs/_esm5/operator/skipUntil.js | 18 + .../rxjs/_esm5/operator/skipUntil.js.map | 1 + node_modules/rxjs/_esm5/operator/skipWhile.js | 18 + .../rxjs/_esm5/operator/skipWhile.js.map | 1 + node_modules/rxjs/_esm5/operator/startWith.js | 25 + .../rxjs/_esm5/operator/startWith.js.map | 1 + .../rxjs/_esm5/operator/subscribeOn.js | 20 + .../rxjs/_esm5/operator/subscribeOn.js.map | 1 + node_modules/rxjs/_esm5/operator/switch.js | 48 + .../rxjs/_esm5/operator/switch.js.map | 1 + node_modules/rxjs/_esm5/operator/switchMap.js | 54 + .../rxjs/_esm5/operator/switchMap.js.map | 1 + .../rxjs/_esm5/operator/switchMapTo.js | 49 + .../rxjs/_esm5/operator/switchMapTo.js.map | 1 + node_modules/rxjs/_esm5/operator/take.js | 39 + node_modules/rxjs/_esm5/operator/take.js.map | 1 + node_modules/rxjs/_esm5/operator/takeLast.js | 42 + .../rxjs/_esm5/operator/takeLast.js.map | 1 + node_modules/rxjs/_esm5/operator/takeUntil.js | 39 + .../rxjs/_esm5/operator/takeUntil.js.map | 1 + node_modules/rxjs/_esm5/operator/takeWhile.js | 42 + .../rxjs/_esm5/operator/takeWhile.js.map | 1 + node_modules/rxjs/_esm5/operator/throttle.js | 49 + .../rxjs/_esm5/operator/throttle.js.map | 1 + .../rxjs/_esm5/operator/throttleTime.js | 53 + .../rxjs/_esm5/operator/throttleTime.js.map | 1 + .../rxjs/_esm5/operator/timeInterval.js | 17 + .../rxjs/_esm5/operator/timeInterval.js.map | 1 + node_modules/rxjs/_esm5/operator/timeout.js | 75 + .../rxjs/_esm5/operator/timeout.js.map | 1 + .../rxjs/_esm5/operator/timeoutWith.js | 58 + .../rxjs/_esm5/operator/timeoutWith.js.map | 1 + node_modules/rxjs/_esm5/operator/timestamp.js | 16 + .../rxjs/_esm5/operator/timestamp.js.map | 1 + node_modules/rxjs/_esm5/operator/toArray.js | 29 + .../rxjs/_esm5/operator/toArray.js.map | 1 + node_modules/rxjs/_esm5/operator/toPromise.js | 6 + .../rxjs/_esm5/operator/toPromise.js.map | 1 + node_modules/rxjs/_esm5/operator/window.js | 42 + .../rxjs/_esm5/operator/window.js.map | 1 + .../rxjs/_esm5/operator/windowCount.js | 57 + .../rxjs/_esm5/operator/windowCount.js.map | 1 + .../rxjs/_esm5/operator/windowTime.js | 27 + .../rxjs/_esm5/operator/windowTime.js.map | 1 + .../rxjs/_esm5/operator/windowToggle.js | 47 + .../rxjs/_esm5/operator/windowToggle.js.map | 1 + .../rxjs/_esm5/operator/windowWhen.js | 44 + .../rxjs/_esm5/operator/windowWhen.js.map | 1 + .../rxjs/_esm5/operator/withLatestFrom.js | 49 + .../rxjs/_esm5/operator/withLatestFrom.js.map | 1 + node_modules/rxjs/_esm5/operator/zip.js | 17 + node_modules/rxjs/_esm5/operator/zip.js.map | 1 + node_modules/rxjs/_esm5/operator/zipAll.js | 12 + .../rxjs/_esm5/operator/zipAll.js.map | 1 + node_modules/rxjs/_esm5/operators.js | 110 + node_modules/rxjs/_esm5/operators.js.map | 1 + node_modules/rxjs/_esm5/operators/audit.js | 119 + .../rxjs/_esm5/operators/audit.js.map | 1 + .../rxjs/_esm5/operators/auditTime.js | 53 + .../rxjs/_esm5/operators/auditTime.js.map | 1 + node_modules/rxjs/_esm5/operators/buffer.js | 79 + .../rxjs/_esm5/operators/buffer.js.map | 1 + .../rxjs/_esm5/operators/bufferCount.js | 145 + .../rxjs/_esm5/operators/bufferCount.js.map | 1 + .../rxjs/_esm5/operators/bufferTime.js | 202 + .../rxjs/_esm5/operators/bufferTime.js.map | 1 + .../rxjs/_esm5/operators/bufferToggle.js | 155 + .../rxjs/_esm5/operators/bufferToggle.js.map | 1 + .../rxjs/_esm5/operators/bufferWhen.js | 125 + .../rxjs/_esm5/operators/bufferWhen.js.map | 1 + .../rxjs/_esm5/operators/catchError.js | 117 + .../rxjs/_esm5/operators/catchError.js.map | 1 + .../rxjs/_esm5/operators/combineAll.js | 6 + .../rxjs/_esm5/operators/combineAll.js.map | 1 + .../rxjs/_esm5/operators/combineLatest.js | 150 + .../rxjs/_esm5/operators/combineLatest.js.map | 1 + node_modules/rxjs/_esm5/operators/concat.js | 61 + .../rxjs/_esm5/operators/concat.js.map | 1 + .../rxjs/_esm5/operators/concatAll.js | 54 + .../rxjs/_esm5/operators/concatAll.js.map | 1 + .../rxjs/_esm5/operators/concatMap.js | 66 + .../rxjs/_esm5/operators/concatMap.js.map | 1 + .../rxjs/_esm5/operators/concatMapTo.js | 63 + .../rxjs/_esm5/operators/concatMapTo.js.map | 1 + node_modules/rxjs/_esm5/operators/count.js | 112 + .../rxjs/_esm5/operators/count.js.map | 1 + node_modules/rxjs/_esm5/operators/debounce.js | 128 + .../rxjs/_esm5/operators/debounce.js.map | 1 + .../rxjs/_esm5/operators/debounceTime.js | 119 + .../rxjs/_esm5/operators/debounceTime.js.map | 1 + .../rxjs/_esm5/operators/defaultIfEmpty.js | 80 + .../_esm5/operators/defaultIfEmpty.js.map | 1 + node_modules/rxjs/_esm5/operators/delay.js | 138 + .../rxjs/_esm5/operators/delay.js.map | 1 + .../rxjs/_esm5/operators/delayWhen.js | 195 + .../rxjs/_esm5/operators/delayWhen.js.map | 1 + .../rxjs/_esm5/operators/dematerialize.js | 78 + .../rxjs/_esm5/operators/dematerialize.js.map | 1 + node_modules/rxjs/_esm5/operators/distinct.js | 120 + .../rxjs/_esm5/operators/distinct.js.map | 1 + .../_esm5/operators/distinctUntilChanged.js | 109 + .../operators/distinctUntilChanged.js.map | 1 + .../operators/distinctUntilKeyChanged.js | 64 + .../operators/distinctUntilKeyChanged.js.map | 1 + .../rxjs/_esm5/operators/elementAt.js | 101 + .../rxjs/_esm5/operators/elementAt.js.map | 1 + node_modules/rxjs/_esm5/operators/every.js | 75 + .../rxjs/_esm5/operators/every.js.map | 1 + node_modules/rxjs/_esm5/operators/exhaust.js | 90 + .../rxjs/_esm5/operators/exhaust.js.map | 1 + .../rxjs/_esm5/operators/exhaustMap.js | 139 + .../rxjs/_esm5/operators/exhaustMap.js.map | 1 + node_modules/rxjs/_esm5/operators/expand.js | 154 + .../rxjs/_esm5/operators/expand.js.map | 1 + node_modules/rxjs/_esm5/operators/filter.js | 95 + .../rxjs/_esm5/operators/filter.js.map | 1 + node_modules/rxjs/_esm5/operators/finalize.js | 44 + .../rxjs/_esm5/operators/finalize.js.map | 1 + node_modules/rxjs/_esm5/operators/find.js | 99 + node_modules/rxjs/_esm5/operators/find.js.map | 1 + .../rxjs/_esm5/operators/findIndex.js | 40 + .../rxjs/_esm5/operators/findIndex.js.map | 1 + node_modules/rxjs/_esm5/operators/first.js | 153 + .../rxjs/_esm5/operators/first.js.map | 1 + node_modules/rxjs/_esm5/operators/groupBy.js | 276 + .../rxjs/_esm5/operators/groupBy.js.map | 1 + .../rxjs/_esm5/operators/ignoreElements.js | 49 + .../_esm5/operators/ignoreElements.js.map | 1 + node_modules/rxjs/_esm5/operators/isEmpty.js | 44 + .../rxjs/_esm5/operators/isEmpty.js.map | 1 + node_modules/rxjs/_esm5/operators/last.js | 120 + node_modules/rxjs/_esm5/operators/last.js.map | 1 + node_modules/rxjs/_esm5/operators/map.js | 89 + node_modules/rxjs/_esm5/operators/map.js.map | 1 + node_modules/rxjs/_esm5/operators/mapTo.js | 64 + .../rxjs/_esm5/operators/mapTo.js.map | 1 + .../rxjs/_esm5/operators/materialize.js | 93 + .../rxjs/_esm5/operators/materialize.js.map | 1 + node_modules/rxjs/_esm5/operators/max.js | 40 + node_modules/rxjs/_esm5/operators/max.js.map | 1 + node_modules/rxjs/_esm5/operators/merge.js | 58 + .../rxjs/_esm5/operators/merge.js.map | 1 + node_modules/rxjs/_esm5/operators/mergeAll.js | 54 + .../rxjs/_esm5/operators/mergeAll.js.map | 1 + node_modules/rxjs/_esm5/operators/mergeMap.js | 178 + .../rxjs/_esm5/operators/mergeMap.js.map | 1 + .../rxjs/_esm5/operators/mergeMapTo.js | 160 + .../rxjs/_esm5/operators/mergeMapTo.js.map | 1 + .../rxjs/_esm5/operators/mergeScan.js | 130 + .../rxjs/_esm5/operators/mergeScan.js.map | 1 + node_modules/rxjs/_esm5/operators/min.js | 40 + node_modules/rxjs/_esm5/operators/min.js.map | 1 + .../rxjs/_esm5/operators/multicast.js | 57 + .../rxjs/_esm5/operators/multicast.js.map | 1 + .../rxjs/_esm5/operators/observeOn.js | 119 + .../rxjs/_esm5/operators/observeOn.js.map | 1 + .../rxjs/_esm5/operators/onErrorResumeNext.js | 137 + .../_esm5/operators/onErrorResumeNext.js.map | 1 + node_modules/rxjs/_esm5/operators/pairwise.js | 78 + .../rxjs/_esm5/operators/pairwise.js.map | 1 + .../rxjs/_esm5/operators/partition.js | 53 + .../rxjs/_esm5/operators/partition.js.map | 1 + node_modules/rxjs/_esm5/operators/pluck.js | 56 + .../rxjs/_esm5/operators/pluck.js.map | 1 + node_modules/rxjs/_esm5/operators/publish.js | 23 + .../rxjs/_esm5/operators/publish.js.map | 1 + .../rxjs/_esm5/operators/publishBehavior.js | 13 + .../_esm5/operators/publishBehavior.js.map | 1 + .../rxjs/_esm5/operators/publishLast.js | 7 + .../rxjs/_esm5/operators/publishLast.js.map | 1 + .../rxjs/_esm5/operators/publishReplay.js | 13 + .../rxjs/_esm5/operators/publishReplay.js.map | 1 + node_modules/rxjs/_esm5/operators/race.js | 27 + node_modules/rxjs/_esm5/operators/race.js.map | 1 + node_modules/rxjs/_esm5/operators/reduce.js | 68 + .../rxjs/_esm5/operators/reduce.js.map | 1 + node_modules/rxjs/_esm5/operators/refCount.js | 86 + .../rxjs/_esm5/operators/refCount.js.map | 1 + node_modules/rxjs/_esm5/operators/repeat.js | 75 + .../rxjs/_esm5/operators/repeat.js.map | 1 + .../rxjs/_esm5/operators/repeatWhen.js | 109 + .../rxjs/_esm5/operators/repeatWhen.js.map | 1 + node_modules/rxjs/_esm5/operators/retry.js | 68 + .../rxjs/_esm5/operators/retry.js.map | 1 + .../rxjs/_esm5/operators/retryWhen.js | 102 + .../rxjs/_esm5/operators/retryWhen.js.map | 1 + node_modules/rxjs/_esm5/operators/sample.js | 89 + .../rxjs/_esm5/operators/sample.js.map | 1 + .../rxjs/_esm5/operators/sampleTime.js | 94 + .../rxjs/_esm5/operators/sampleTime.js.map | 1 + node_modules/rxjs/_esm5/operators/scan.js | 124 + node_modules/rxjs/_esm5/operators/scan.js.map | 1 + .../rxjs/_esm5/operators/sequenceEqual.js | 163 + .../rxjs/_esm5/operators/sequenceEqual.js.map | 1 + node_modules/rxjs/_esm5/operators/share.js | 24 + .../rxjs/_esm5/operators/share.js.map | 1 + .../rxjs/_esm5/operators/shareReplay.js | 44 + .../rxjs/_esm5/operators/shareReplay.js.map | 1 + node_modules/rxjs/_esm5/operators/single.js | 94 + .../rxjs/_esm5/operators/single.js.map | 1 + node_modules/rxjs/_esm5/operators/skip.js | 52 + node_modules/rxjs/_esm5/operators/skip.js.map | 1 + node_modules/rxjs/_esm5/operators/skipLast.js | 94 + .../rxjs/_esm5/operators/skipLast.js.map | 1 + .../rxjs/_esm5/operators/skipUntil.js | 72 + .../rxjs/_esm5/operators/skipUntil.js.map | 1 + .../rxjs/_esm5/operators/skipWhile.js | 67 + .../rxjs/_esm5/operators/skipWhile.js.map | 1 + .../rxjs/_esm5/operators/startWith.js | 47 + .../rxjs/_esm5/operators/startWith.js.map | 1 + .../rxjs/_esm5/operators/subscribeOn.js | 32 + .../rxjs/_esm5/operators/subscribeOn.js.map | 1 + .../rxjs/_esm5/operators/switchAll.js | 7 + .../rxjs/_esm5/operators/switchAll.js.map | 1 + .../rxjs/_esm5/operators/switchMap.js | 143 + .../rxjs/_esm5/operators/switchMap.js.map | 1 + .../rxjs/_esm5/operators/switchMapTo.js | 126 + .../rxjs/_esm5/operators/switchMapTo.js.map | 1 + node_modules/rxjs/_esm5/operators/take.js | 92 + node_modules/rxjs/_esm5/operators/take.js.map | 1 + node_modules/rxjs/_esm5/operators/takeLast.js | 110 + .../rxjs/_esm5/operators/takeLast.js.map | 1 + .../rxjs/_esm5/operators/takeUntil.js | 76 + .../rxjs/_esm5/operators/takeUntil.js.map | 1 + .../rxjs/_esm5/operators/takeWhile.js | 93 + .../rxjs/_esm5/operators/takeWhile.js.map | 1 + node_modules/rxjs/_esm5/operators/tap.js | 114 + node_modules/rxjs/_esm5/operators/tap.js.map | 1 + node_modules/rxjs/_esm5/operators/throttle.js | 145 + .../rxjs/_esm5/operators/throttle.js.map | 1 + .../rxjs/_esm5/operators/throttleTime.js | 121 + .../rxjs/_esm5/operators/throttleTime.js.map | 1 + .../rxjs/_esm5/operators/timeInterval.js | 55 + .../rxjs/_esm5/operators/timeInterval.js.map | 1 + node_modules/rxjs/_esm5/operators/timeout.js | 144 + .../rxjs/_esm5/operators/timeout.js.map | 1 + .../rxjs/_esm5/operators/timeoutWith.js | 131 + .../rxjs/_esm5/operators/timeoutWith.js.map | 1 + .../rxjs/_esm5/operators/timestamp.js | 25 + .../rxjs/_esm5/operators/timestamp.js.map | 1 + node_modules/rxjs/_esm5/operators/toArray.js | 13 + .../rxjs/_esm5/operators/toArray.js.map | 1 + node_modules/rxjs/_esm5/operators/window.js | 113 + .../rxjs/_esm5/operators/window.js.map | 1 + .../rxjs/_esm5/operators/windowCount.js | 136 + .../rxjs/_esm5/operators/windowCount.js.map | 1 + .../rxjs/_esm5/operators/windowTime.js | 164 + .../rxjs/_esm5/operators/windowTime.js.map | 1 + .../rxjs/_esm5/operators/windowToggle.js | 181 + .../rxjs/_esm5/operators/windowToggle.js.map | 1 + .../rxjs/_esm5/operators/windowWhen.js | 132 + .../rxjs/_esm5/operators/windowWhen.js.map | 1 + .../rxjs/_esm5/operators/withLatestFrom.js | 133 + .../_esm5/operators/withLatestFrom.js.map | 1 + node_modules/rxjs/_esm5/operators/zip.js | 281 + node_modules/rxjs/_esm5/operators/zip.js.map | 1 + node_modules/rxjs/_esm5/operators/zipAll.js | 6 + .../rxjs/_esm5/operators/zipAll.js.map | 1 + node_modules/rxjs/_esm5/path-mapping.js | 465 + node_modules/rxjs/_esm5/scheduler/Action.js | 47 + .../rxjs/_esm5/scheduler/Action.js.map | 1 + .../_esm5/scheduler/AnimationFrameAction.js | 60 + .../scheduler/AnimationFrameAction.js.map | 1 + .../scheduler/AnimationFrameScheduler.js | 38 + .../scheduler/AnimationFrameScheduler.js.map | 1 + .../rxjs/_esm5/scheduler/AsapAction.js | 60 + .../rxjs/_esm5/scheduler/AsapAction.js.map | 1 + .../rxjs/_esm5/scheduler/AsapScheduler.js | 38 + .../rxjs/_esm5/scheduler/AsapScheduler.js.map | 1 + .../rxjs/_esm5/scheduler/AsyncAction.js | 149 + .../rxjs/_esm5/scheduler/AsyncAction.js.map | 1 + .../rxjs/_esm5/scheduler/AsyncScheduler.js | 52 + .../_esm5/scheduler/AsyncScheduler.js.map | 1 + .../rxjs/_esm5/scheduler/QueueAction.js | 54 + .../rxjs/_esm5/scheduler/QueueAction.js.map | 1 + .../rxjs/_esm5/scheduler/QueueScheduler.js | 17 + .../_esm5/scheduler/QueueScheduler.js.map | 1 + .../_esm5/scheduler/VirtualTimeScheduler.js | 125 + .../scheduler/VirtualTimeScheduler.js.map | 1 + .../rxjs/_esm5/scheduler/animationFrame.js | 35 + .../_esm5/scheduler/animationFrame.js.map | 1 + node_modules/rxjs/_esm5/scheduler/asap.js | 39 + node_modules/rxjs/_esm5/scheduler/asap.js.map | 1 + node_modules/rxjs/_esm5/scheduler/async.js | 47 + .../rxjs/_esm5/scheduler/async.js.map | 1 + node_modules/rxjs/_esm5/scheduler/queue.js | 66 + .../rxjs/_esm5/scheduler/queue.js.map | 1 + node_modules/rxjs/_esm5/symbol/iterator.js | 37 + .../rxjs/_esm5/symbol/iterator.js.map | 1 + node_modules/rxjs/_esm5/symbol/observable.js | 25 + .../rxjs/_esm5/symbol/observable.js.map | 1 + .../rxjs/_esm5/symbol/rxSubscriber.js | 10 + .../rxjs/_esm5/symbol/rxSubscriber.js.map | 1 + .../rxjs/_esm5/testing/ColdObservable.js | 47 + .../rxjs/_esm5/testing/ColdObservable.js.map | 1 + .../rxjs/_esm5/testing/HotObservable.js | 49 + .../rxjs/_esm5/testing/HotObservable.js.map | 1 + .../rxjs/_esm5/testing/SubscriptionLog.js | 11 + .../rxjs/_esm5/testing/SubscriptionLog.js.map | 1 + .../_esm5/testing/SubscriptionLoggable.js | 18 + .../_esm5/testing/SubscriptionLoggable.js.map | 1 + .../rxjs/_esm5/testing/TestMessage.js | 1 + .../rxjs/_esm5/testing/TestMessage.js.map | 1 + .../rxjs/_esm5/testing/TestScheduler.js | 228 + .../rxjs/_esm5/testing/TestScheduler.js.map | 1 + .../rxjs/_esm5/util/AnimationFrame.js | 33 + .../rxjs/_esm5/util/AnimationFrame.js.map | 1 + .../_esm5/util/ArgumentOutOfRangeError.js | 29 + .../_esm5/util/ArgumentOutOfRangeError.js.map | 1 + node_modules/rxjs/_esm5/util/EmptyError.js | 29 + .../rxjs/_esm5/util/EmptyError.js.map | 1 + node_modules/rxjs/_esm5/util/FastMap.js | 29 + node_modules/rxjs/_esm5/util/FastMap.js.map | 1 + node_modules/rxjs/_esm5/util/Immediate.js | 208 + node_modules/rxjs/_esm5/util/Immediate.js.map | 1 + node_modules/rxjs/_esm5/util/Map.js | 5 + node_modules/rxjs/_esm5/util/Map.js.map | 1 + node_modules/rxjs/_esm5/util/MapPolyfill.js | 45 + .../rxjs/_esm5/util/MapPolyfill.js.map | 1 + .../_esm5/util/ObjectUnsubscribedError.js | 28 + .../_esm5/util/ObjectUnsubscribedError.js.map | 1 + node_modules/rxjs/_esm5/util/Set.js | 32 + node_modules/rxjs/_esm5/util/Set.js.map | 1 + node_modules/rxjs/_esm5/util/TimeoutError.js | 26 + .../rxjs/_esm5/util/TimeoutError.js.map | 1 + .../rxjs/_esm5/util/UnsubscriptionError.js | 26 + .../_esm5/util/UnsubscriptionError.js.map | 1 + node_modules/rxjs/_esm5/util/applyMixins.js | 12 + .../rxjs/_esm5/util/applyMixins.js.map | 1 + node_modules/rxjs/_esm5/util/assign.js | 24 + node_modules/rxjs/_esm5/util/assign.js.map | 1 + node_modules/rxjs/_esm5/util/errorObject.js | 4 + .../rxjs/_esm5/util/errorObject.js.map | 1 + node_modules/rxjs/_esm5/util/identity.js | 5 + node_modules/rxjs/_esm5/util/identity.js.map | 1 + node_modules/rxjs/_esm5/util/isArray.js | 3 + node_modules/rxjs/_esm5/util/isArray.js.map | 1 + node_modules/rxjs/_esm5/util/isArrayLike.js | 3 + .../rxjs/_esm5/util/isArrayLike.js.map | 1 + node_modules/rxjs/_esm5/util/isDate.js | 5 + node_modules/rxjs/_esm5/util/isDate.js.map | 1 + node_modules/rxjs/_esm5/util/isFunction.js | 5 + .../rxjs/_esm5/util/isFunction.js.map | 1 + node_modules/rxjs/_esm5/util/isNumeric.js | 11 + node_modules/rxjs/_esm5/util/isNumeric.js.map | 1 + node_modules/rxjs/_esm5/util/isObject.js | 5 + node_modules/rxjs/_esm5/util/isObject.js.map | 1 + node_modules/rxjs/_esm5/util/isPromise.js | 5 + node_modules/rxjs/_esm5/util/isPromise.js.map | 1 + node_modules/rxjs/_esm5/util/isScheduler.js | 5 + .../rxjs/_esm5/util/isScheduler.js.map | 1 + node_modules/rxjs/_esm5/util/noop.js | 4 + node_modules/rxjs/_esm5/util/noop.js.map | 1 + node_modules/rxjs/_esm5/util/not.js | 10 + node_modules/rxjs/_esm5/util/not.js.map | 1 + node_modules/rxjs/_esm5/util/pipe.js | 23 + node_modules/rxjs/_esm5/util/pipe.js.map | 1 + node_modules/rxjs/_esm5/util/root.js | 19 + node_modules/rxjs/_esm5/util/root.js.map | 1 + .../rxjs/_esm5/util/subscribeToResult.js | 78 + .../rxjs/_esm5/util/subscribeToResult.js.map | 1 + node_modules/rxjs/_esm5/util/toSubscriber.js | 19 + .../rxjs/_esm5/util/toSubscriber.js.map | 1 + node_modules/rxjs/_esm5/util/tryCatch.js | 18 + node_modules/rxjs/_esm5/util/tryCatch.js.map | 1 + .../rxjs/add/observable/bindCallback.d.ts | 6 + .../rxjs/add/observable/bindCallback.js | 5 + .../rxjs/add/observable/bindCallback.js.map | 1 + .../rxjs/add/observable/bindNodeCallback.d.ts | 6 + .../rxjs/add/observable/bindNodeCallback.js | 5 + .../add/observable/bindNodeCallback.js.map | 1 + .../rxjs/add/observable/combineLatest.d.ts | 6 + .../rxjs/add/observable/combineLatest.js | 5 + .../rxjs/add/observable/combineLatest.js.map | 1 + node_modules/rxjs/add/observable/concat.d.ts | 6 + node_modules/rxjs/add/observable/concat.js | 5 + .../rxjs/add/observable/concat.js.map | 1 + node_modules/rxjs/add/observable/defer.d.ts | 6 + node_modules/rxjs/add/observable/defer.js | 5 + node_modules/rxjs/add/observable/defer.js.map | 1 + .../rxjs/add/observable/dom/ajax.d.ts | 6 + node_modules/rxjs/add/observable/dom/ajax.js | 5 + .../rxjs/add/observable/dom/ajax.js.map | 1 + .../rxjs/add/observable/dom/webSocket.d.ts | 6 + .../rxjs/add/observable/dom/webSocket.js | 5 + .../rxjs/add/observable/dom/webSocket.js.map | 1 + node_modules/rxjs/add/observable/empty.d.ts | 6 + node_modules/rxjs/add/observable/empty.js | 5 + node_modules/rxjs/add/observable/empty.js.map | 1 + .../rxjs/add/observable/forkJoin.d.ts | 6 + node_modules/rxjs/add/observable/forkJoin.js | 5 + .../rxjs/add/observable/forkJoin.js.map | 1 + node_modules/rxjs/add/observable/from.d.ts | 6 + node_modules/rxjs/add/observable/from.js | 5 + node_modules/rxjs/add/observable/from.js.map | 1 + .../rxjs/add/observable/fromEvent.d.ts | 6 + node_modules/rxjs/add/observable/fromEvent.js | 5 + .../rxjs/add/observable/fromEvent.js.map | 1 + .../rxjs/add/observable/fromEventPattern.d.ts | 6 + .../rxjs/add/observable/fromEventPattern.js | 5 + .../add/observable/fromEventPattern.js.map | 1 + .../rxjs/add/observable/fromPromise.d.ts | 6 + .../rxjs/add/observable/fromPromise.js | 5 + .../rxjs/add/observable/fromPromise.js.map | 1 + .../rxjs/add/observable/generate.d.ts | 6 + node_modules/rxjs/add/observable/generate.js | 5 + .../rxjs/add/observable/generate.js.map | 1 + node_modules/rxjs/add/observable/if.d.ts | 0 node_modules/rxjs/add/observable/if.js | 5 + node_modules/rxjs/add/observable/if.js.map | 1 + .../rxjs/add/observable/interval.d.ts | 6 + node_modules/rxjs/add/observable/interval.js | 5 + .../rxjs/add/observable/interval.js.map | 1 + node_modules/rxjs/add/observable/merge.d.ts | 6 + node_modules/rxjs/add/observable/merge.js | 5 + node_modules/rxjs/add/observable/merge.js.map | 1 + node_modules/rxjs/add/observable/never.d.ts | 6 + node_modules/rxjs/add/observable/never.js | 5 + node_modules/rxjs/add/observable/never.js.map | 1 + node_modules/rxjs/add/observable/of.d.ts | 6 + node_modules/rxjs/add/observable/of.js | 5 + node_modules/rxjs/add/observable/of.js.map | 1 + .../add/observable/onErrorResumeNext.d.ts | 6 + .../rxjs/add/observable/onErrorResumeNext.js | 5 + .../add/observable/onErrorResumeNext.js.map | 1 + node_modules/rxjs/add/observable/pairs.d.ts | 6 + node_modules/rxjs/add/observable/pairs.js | 5 + node_modules/rxjs/add/observable/pairs.js.map | 1 + node_modules/rxjs/add/observable/race.d.ts | 6 + node_modules/rxjs/add/observable/race.js | 5 + node_modules/rxjs/add/observable/race.js.map | 1 + node_modules/rxjs/add/observable/range.d.ts | 6 + node_modules/rxjs/add/observable/range.js | 5 + node_modules/rxjs/add/observable/range.js.map | 1 + node_modules/rxjs/add/observable/throw.d.ts | 0 node_modules/rxjs/add/observable/throw.js | 5 + node_modules/rxjs/add/observable/throw.js.map | 1 + node_modules/rxjs/add/observable/timer.d.ts | 6 + node_modules/rxjs/add/observable/timer.js | 5 + node_modules/rxjs/add/observable/timer.js.map | 1 + node_modules/rxjs/add/observable/using.d.ts | 6 + node_modules/rxjs/add/observable/using.js | 5 + node_modules/rxjs/add/observable/using.js.map | 1 + node_modules/rxjs/add/observable/zip.d.ts | 6 + node_modules/rxjs/add/observable/zip.js | 5 + node_modules/rxjs/add/observable/zip.js.map | 1 + node_modules/rxjs/add/operator/audit.d.ts | 6 + node_modules/rxjs/add/operator/audit.js | 5 + node_modules/rxjs/add/operator/audit.js.map | 1 + node_modules/rxjs/add/operator/auditTime.d.ts | 6 + node_modules/rxjs/add/operator/auditTime.js | 5 + .../rxjs/add/operator/auditTime.js.map | 1 + node_modules/rxjs/add/operator/buffer.d.ts | 6 + node_modules/rxjs/add/operator/buffer.js | 5 + node_modules/rxjs/add/operator/buffer.js.map | 1 + .../rxjs/add/operator/bufferCount.d.ts | 6 + node_modules/rxjs/add/operator/bufferCount.js | 5 + .../rxjs/add/operator/bufferCount.js.map | 1 + .../rxjs/add/operator/bufferTime.d.ts | 6 + node_modules/rxjs/add/operator/bufferTime.js | 5 + .../rxjs/add/operator/bufferTime.js.map | 1 + .../rxjs/add/operator/bufferToggle.d.ts | 6 + .../rxjs/add/operator/bufferToggle.js | 5 + .../rxjs/add/operator/bufferToggle.js.map | 1 + .../rxjs/add/operator/bufferWhen.d.ts | 6 + node_modules/rxjs/add/operator/bufferWhen.js | 5 + .../rxjs/add/operator/bufferWhen.js.map | 1 + node_modules/rxjs/add/operator/catch.d.ts | 7 + node_modules/rxjs/add/operator/catch.js | 6 + node_modules/rxjs/add/operator/catch.js.map | 1 + .../rxjs/add/operator/combineAll.d.ts | 6 + node_modules/rxjs/add/operator/combineAll.js | 5 + .../rxjs/add/operator/combineAll.js.map | 1 + .../rxjs/add/operator/combineLatest.d.ts | 6 + .../rxjs/add/operator/combineLatest.js | 5 + .../rxjs/add/operator/combineLatest.js.map | 1 + node_modules/rxjs/add/operator/concat.d.ts | 6 + node_modules/rxjs/add/operator/concat.js | 5 + node_modules/rxjs/add/operator/concat.js.map | 1 + node_modules/rxjs/add/operator/concatAll.d.ts | 6 + node_modules/rxjs/add/operator/concatAll.js | 5 + .../rxjs/add/operator/concatAll.js.map | 1 + node_modules/rxjs/add/operator/concatMap.d.ts | 6 + node_modules/rxjs/add/operator/concatMap.js | 5 + .../rxjs/add/operator/concatMap.js.map | 1 + .../rxjs/add/operator/concatMapTo.d.ts | 6 + node_modules/rxjs/add/operator/concatMapTo.js | 5 + .../rxjs/add/operator/concatMapTo.js.map | 1 + node_modules/rxjs/add/operator/count.d.ts | 6 + node_modules/rxjs/add/operator/count.js | 5 + node_modules/rxjs/add/operator/count.js.map | 1 + node_modules/rxjs/add/operator/debounce.d.ts | 6 + node_modules/rxjs/add/operator/debounce.js | 5 + .../rxjs/add/operator/debounce.js.map | 1 + .../rxjs/add/operator/debounceTime.d.ts | 6 + .../rxjs/add/operator/debounceTime.js | 5 + .../rxjs/add/operator/debounceTime.js.map | 1 + .../rxjs/add/operator/defaultIfEmpty.d.ts | 6 + .../rxjs/add/operator/defaultIfEmpty.js | 5 + .../rxjs/add/operator/defaultIfEmpty.js.map | 1 + node_modules/rxjs/add/operator/delay.d.ts | 6 + node_modules/rxjs/add/operator/delay.js | 5 + node_modules/rxjs/add/operator/delay.js.map | 1 + node_modules/rxjs/add/operator/delayWhen.d.ts | 6 + node_modules/rxjs/add/operator/delayWhen.js | 5 + .../rxjs/add/operator/delayWhen.js.map | 1 + .../rxjs/add/operator/dematerialize.d.ts | 6 + .../rxjs/add/operator/dematerialize.js | 5 + .../rxjs/add/operator/dematerialize.js.map | 1 + node_modules/rxjs/add/operator/distinct.d.ts | 6 + node_modules/rxjs/add/operator/distinct.js | 5 + .../rxjs/add/operator/distinct.js.map | 1 + .../add/operator/distinctUntilChanged.d.ts | 6 + .../rxjs/add/operator/distinctUntilChanged.js | 5 + .../add/operator/distinctUntilChanged.js.map | 1 + .../add/operator/distinctUntilKeyChanged.d.ts | 6 + .../add/operator/distinctUntilKeyChanged.js | 5 + .../operator/distinctUntilKeyChanged.js.map | 1 + node_modules/rxjs/add/operator/do.d.ts | 7 + node_modules/rxjs/add/operator/do.js | 6 + node_modules/rxjs/add/operator/do.js.map | 1 + node_modules/rxjs/add/operator/elementAt.d.ts | 6 + node_modules/rxjs/add/operator/elementAt.js | 5 + .../rxjs/add/operator/elementAt.js.map | 1 + node_modules/rxjs/add/operator/every.d.ts | 6 + node_modules/rxjs/add/operator/every.js | 5 + node_modules/rxjs/add/operator/every.js.map | 1 + node_modules/rxjs/add/operator/exhaust.d.ts | 6 + node_modules/rxjs/add/operator/exhaust.js | 5 + node_modules/rxjs/add/operator/exhaust.js.map | 1 + .../rxjs/add/operator/exhaustMap.d.ts | 6 + node_modules/rxjs/add/operator/exhaustMap.js | 5 + .../rxjs/add/operator/exhaustMap.js.map | 1 + node_modules/rxjs/add/operator/expand.d.ts | 6 + node_modules/rxjs/add/operator/expand.js | 5 + node_modules/rxjs/add/operator/expand.js.map | 1 + node_modules/rxjs/add/operator/filter.d.ts | 6 + node_modules/rxjs/add/operator/filter.js | 5 + node_modules/rxjs/add/operator/filter.js.map | 1 + node_modules/rxjs/add/operator/finally.d.ts | 7 + node_modules/rxjs/add/operator/finally.js | 6 + node_modules/rxjs/add/operator/finally.js.map | 1 + node_modules/rxjs/add/operator/find.d.ts | 6 + node_modules/rxjs/add/operator/find.js | 5 + node_modules/rxjs/add/operator/find.js.map | 1 + node_modules/rxjs/add/operator/findIndex.d.ts | 6 + node_modules/rxjs/add/operator/findIndex.js | 5 + .../rxjs/add/operator/findIndex.js.map | 1 + node_modules/rxjs/add/operator/first.d.ts | 6 + node_modules/rxjs/add/operator/first.js | 5 + node_modules/rxjs/add/operator/first.js.map | 1 + node_modules/rxjs/add/operator/groupBy.d.ts | 6 + node_modules/rxjs/add/operator/groupBy.js | 5 + node_modules/rxjs/add/operator/groupBy.js.map | 1 + .../rxjs/add/operator/ignoreElements.d.ts | 6 + .../rxjs/add/operator/ignoreElements.js | 5 + .../rxjs/add/operator/ignoreElements.js.map | 1 + node_modules/rxjs/add/operator/isEmpty.d.ts | 6 + node_modules/rxjs/add/operator/isEmpty.js | 5 + node_modules/rxjs/add/operator/isEmpty.js.map | 1 + node_modules/rxjs/add/operator/last.d.ts | 6 + node_modules/rxjs/add/operator/last.js | 5 + node_modules/rxjs/add/operator/last.js.map | 1 + node_modules/rxjs/add/operator/let.d.ts | 7 + node_modules/rxjs/add/operator/let.js | 6 + node_modules/rxjs/add/operator/let.js.map | 1 + node_modules/rxjs/add/operator/map.d.ts | 6 + node_modules/rxjs/add/operator/map.js | 5 + node_modules/rxjs/add/operator/map.js.map | 1 + node_modules/rxjs/add/operator/mapTo.d.ts | 6 + node_modules/rxjs/add/operator/mapTo.js | 5 + node_modules/rxjs/add/operator/mapTo.js.map | 1 + .../rxjs/add/operator/materialize.d.ts | 6 + node_modules/rxjs/add/operator/materialize.js | 5 + .../rxjs/add/operator/materialize.js.map | 1 + node_modules/rxjs/add/operator/max.d.ts | 6 + node_modules/rxjs/add/operator/max.js | 5 + node_modules/rxjs/add/operator/max.js.map | 1 + node_modules/rxjs/add/operator/merge.d.ts | 6 + node_modules/rxjs/add/operator/merge.js | 5 + node_modules/rxjs/add/operator/merge.js.map | 1 + node_modules/rxjs/add/operator/mergeAll.d.ts | 6 + node_modules/rxjs/add/operator/mergeAll.js | 5 + .../rxjs/add/operator/mergeAll.js.map | 1 + node_modules/rxjs/add/operator/mergeMap.d.ts | 7 + node_modules/rxjs/add/operator/mergeMap.js | 6 + .../rxjs/add/operator/mergeMap.js.map | 1 + .../rxjs/add/operator/mergeMapTo.d.ts | 7 + node_modules/rxjs/add/operator/mergeMapTo.js | 6 + .../rxjs/add/operator/mergeMapTo.js.map | 1 + node_modules/rxjs/add/operator/mergeScan.d.ts | 6 + node_modules/rxjs/add/operator/mergeScan.js | 5 + .../rxjs/add/operator/mergeScan.js.map | 1 + node_modules/rxjs/add/operator/min.d.ts | 6 + node_modules/rxjs/add/operator/min.js | 5 + node_modules/rxjs/add/operator/min.js.map | 1 + node_modules/rxjs/add/operator/multicast.d.ts | 6 + node_modules/rxjs/add/operator/multicast.js | 5 + .../rxjs/add/operator/multicast.js.map | 1 + node_modules/rxjs/add/operator/observeOn.d.ts | 6 + node_modules/rxjs/add/operator/observeOn.js | 5 + .../rxjs/add/operator/observeOn.js.map | 1 + .../rxjs/add/operator/onErrorResumeNext.d.ts | 6 + .../rxjs/add/operator/onErrorResumeNext.js | 5 + .../add/operator/onErrorResumeNext.js.map | 1 + node_modules/rxjs/add/operator/pairwise.d.ts | 6 + node_modules/rxjs/add/operator/pairwise.js | 5 + .../rxjs/add/operator/pairwise.js.map | 1 + node_modules/rxjs/add/operator/partition.d.ts | 6 + node_modules/rxjs/add/operator/partition.js | 5 + .../rxjs/add/operator/partition.js.map | 1 + node_modules/rxjs/add/operator/pluck.d.ts | 6 + node_modules/rxjs/add/operator/pluck.js | 5 + node_modules/rxjs/add/operator/pluck.js.map | 1 + node_modules/rxjs/add/operator/publish.d.ts | 6 + node_modules/rxjs/add/operator/publish.js | 5 + node_modules/rxjs/add/operator/publish.js.map | 1 + .../rxjs/add/operator/publishBehavior.d.ts | 6 + .../rxjs/add/operator/publishBehavior.js | 5 + .../rxjs/add/operator/publishBehavior.js.map | 1 + .../rxjs/add/operator/publishLast.d.ts | 6 + node_modules/rxjs/add/operator/publishLast.js | 5 + .../rxjs/add/operator/publishLast.js.map | 1 + .../rxjs/add/operator/publishReplay.d.ts | 6 + .../rxjs/add/operator/publishReplay.js | 5 + .../rxjs/add/operator/publishReplay.js.map | 1 + node_modules/rxjs/add/operator/race.d.ts | 6 + node_modules/rxjs/add/operator/race.js | 5 + node_modules/rxjs/add/operator/race.js.map | 1 + node_modules/rxjs/add/operator/reduce.d.ts | 6 + node_modules/rxjs/add/operator/reduce.js | 5 + node_modules/rxjs/add/operator/reduce.js.map | 1 + node_modules/rxjs/add/operator/repeat.d.ts | 6 + node_modules/rxjs/add/operator/repeat.js | 5 + node_modules/rxjs/add/operator/repeat.js.map | 1 + .../rxjs/add/operator/repeatWhen.d.ts | 6 + node_modules/rxjs/add/operator/repeatWhen.js | 5 + .../rxjs/add/operator/repeatWhen.js.map | 1 + node_modules/rxjs/add/operator/retry.d.ts | 6 + node_modules/rxjs/add/operator/retry.js | 5 + node_modules/rxjs/add/operator/retry.js.map | 1 + node_modules/rxjs/add/operator/retryWhen.d.ts | 6 + node_modules/rxjs/add/operator/retryWhen.js | 5 + .../rxjs/add/operator/retryWhen.js.map | 1 + node_modules/rxjs/add/operator/sample.d.ts | 6 + node_modules/rxjs/add/operator/sample.js | 5 + node_modules/rxjs/add/operator/sample.js.map | 1 + .../rxjs/add/operator/sampleTime.d.ts | 6 + node_modules/rxjs/add/operator/sampleTime.js | 5 + .../rxjs/add/operator/sampleTime.js.map | 1 + node_modules/rxjs/add/operator/scan.d.ts | 6 + node_modules/rxjs/add/operator/scan.js | 5 + node_modules/rxjs/add/operator/scan.js.map | 1 + .../rxjs/add/operator/sequenceEqual.d.ts | 6 + .../rxjs/add/operator/sequenceEqual.js | 5 + .../rxjs/add/operator/sequenceEqual.js.map | 1 + node_modules/rxjs/add/operator/share.d.ts | 6 + node_modules/rxjs/add/operator/share.js | 5 + node_modules/rxjs/add/operator/share.js.map | 1 + .../rxjs/add/operator/shareReplay.d.ts | 6 + node_modules/rxjs/add/operator/shareReplay.js | 5 + .../rxjs/add/operator/shareReplay.js.map | 1 + node_modules/rxjs/add/operator/single.d.ts | 6 + node_modules/rxjs/add/operator/single.js | 5 + node_modules/rxjs/add/operator/single.js.map | 1 + node_modules/rxjs/add/operator/skip.d.ts | 6 + node_modules/rxjs/add/operator/skip.js | 5 + node_modules/rxjs/add/operator/skip.js.map | 1 + node_modules/rxjs/add/operator/skipLast.d.ts | 6 + node_modules/rxjs/add/operator/skipLast.js | 5 + .../rxjs/add/operator/skipLast.js.map | 1 + node_modules/rxjs/add/operator/skipUntil.d.ts | 6 + node_modules/rxjs/add/operator/skipUntil.js | 5 + .../rxjs/add/operator/skipUntil.js.map | 1 + node_modules/rxjs/add/operator/skipWhile.d.ts | 6 + node_modules/rxjs/add/operator/skipWhile.js | 5 + .../rxjs/add/operator/skipWhile.js.map | 1 + node_modules/rxjs/add/operator/startWith.d.ts | 6 + node_modules/rxjs/add/operator/startWith.js | 5 + .../rxjs/add/operator/startWith.js.map | 1 + .../rxjs/add/operator/subscribeOn.d.ts | 6 + node_modules/rxjs/add/operator/subscribeOn.js | 5 + .../rxjs/add/operator/subscribeOn.js.map | 1 + node_modules/rxjs/add/operator/switch.d.ts | 7 + node_modules/rxjs/add/operator/switch.js | 6 + node_modules/rxjs/add/operator/switch.js.map | 1 + node_modules/rxjs/add/operator/switchMap.d.ts | 6 + node_modules/rxjs/add/operator/switchMap.js | 5 + .../rxjs/add/operator/switchMap.js.map | 1 + .../rxjs/add/operator/switchMapTo.d.ts | 6 + node_modules/rxjs/add/operator/switchMapTo.js | 5 + .../rxjs/add/operator/switchMapTo.js.map | 1 + node_modules/rxjs/add/operator/take.d.ts | 6 + node_modules/rxjs/add/operator/take.js | 5 + node_modules/rxjs/add/operator/take.js.map | 1 + node_modules/rxjs/add/operator/takeLast.d.ts | 6 + node_modules/rxjs/add/operator/takeLast.js | 5 + .../rxjs/add/operator/takeLast.js.map | 1 + node_modules/rxjs/add/operator/takeUntil.d.ts | 6 + node_modules/rxjs/add/operator/takeUntil.js | 5 + .../rxjs/add/operator/takeUntil.js.map | 1 + node_modules/rxjs/add/operator/takeWhile.d.ts | 6 + node_modules/rxjs/add/operator/takeWhile.js | 5 + .../rxjs/add/operator/takeWhile.js.map | 1 + node_modules/rxjs/add/operator/throttle.d.ts | 6 + node_modules/rxjs/add/operator/throttle.js | 5 + .../rxjs/add/operator/throttle.js.map | 1 + .../rxjs/add/operator/throttleTime.d.ts | 6 + .../rxjs/add/operator/throttleTime.js | 5 + .../rxjs/add/operator/throttleTime.js.map | 1 + .../rxjs/add/operator/timeInterval.d.ts | 6 + .../rxjs/add/operator/timeInterval.js | 5 + .../rxjs/add/operator/timeInterval.js.map | 1 + node_modules/rxjs/add/operator/timeout.d.ts | 6 + node_modules/rxjs/add/operator/timeout.js | 5 + node_modules/rxjs/add/operator/timeout.js.map | 1 + .../rxjs/add/operator/timeoutWith.d.ts | 6 + node_modules/rxjs/add/operator/timeoutWith.js | 5 + .../rxjs/add/operator/timeoutWith.js.map | 1 + node_modules/rxjs/add/operator/timestamp.d.ts | 6 + node_modules/rxjs/add/operator/timestamp.js | 5 + .../rxjs/add/operator/timestamp.js.map | 1 + node_modules/rxjs/add/operator/toArray.d.ts | 6 + node_modules/rxjs/add/operator/toArray.js | 5 + node_modules/rxjs/add/operator/toArray.js.map | 1 + node_modules/rxjs/add/operator/toPromise.d.ts | 0 node_modules/rxjs/add/operator/toPromise.js | 3 + .../rxjs/add/operator/toPromise.js.map | 1 + node_modules/rxjs/add/operator/window.d.ts | 6 + node_modules/rxjs/add/operator/window.js | 5 + node_modules/rxjs/add/operator/window.js.map | 1 + .../rxjs/add/operator/windowCount.d.ts | 6 + node_modules/rxjs/add/operator/windowCount.js | 5 + .../rxjs/add/operator/windowCount.js.map | 1 + .../rxjs/add/operator/windowTime.d.ts | 6 + node_modules/rxjs/add/operator/windowTime.js | 5 + .../rxjs/add/operator/windowTime.js.map | 1 + .../rxjs/add/operator/windowToggle.d.ts | 6 + .../rxjs/add/operator/windowToggle.js | 5 + .../rxjs/add/operator/windowToggle.js.map | 1 + .../rxjs/add/operator/windowWhen.d.ts | 6 + node_modules/rxjs/add/operator/windowWhen.js | 5 + .../rxjs/add/operator/windowWhen.js.map | 1 + .../rxjs/add/operator/withLatestFrom.d.ts | 6 + .../rxjs/add/operator/withLatestFrom.js | 5 + .../rxjs/add/operator/withLatestFrom.js.map | 1 + node_modules/rxjs/add/operator/zip.d.ts | 6 + node_modules/rxjs/add/operator/zip.js | 5 + node_modules/rxjs/add/operator/zip.js.map | 1 + node_modules/rxjs/add/operator/zipAll.d.ts | 6 + node_modules/rxjs/add/operator/zipAll.js | 5 + node_modules/rxjs/add/operator/zipAll.js.map | 1 + node_modules/rxjs/bundles/Rx.js | 20254 ++++++++++++++++ node_modules/rxjs/bundles/Rx.js.map | 1 + node_modules/rxjs/bundles/Rx.min.js | 315 + node_modules/rxjs/bundles/Rx.min.js.map | 8 + node_modules/rxjs/interfaces.d.ts | 5 + node_modules/rxjs/interfaces.js | 2 + node_modules/rxjs/interfaces.js.map | 1 + .../rxjs/observable/ArrayLikeObservable.d.ts | 18 + .../rxjs/observable/ArrayLikeObservable.js | 70 + .../observable/ArrayLikeObservable.js.map | 1 + .../rxjs/observable/ArrayObservable.d.ts | 25 + .../rxjs/observable/ArrayObservable.js | 122 + .../rxjs/observable/ArrayObservable.js.map | 1 + .../observable/BoundCallbackObservable.d.ts | 42 + .../observable/BoundCallbackObservable.js | 264 + .../observable/BoundCallbackObservable.js.map | 1 + .../BoundNodeCallbackObservable.d.ts | 29 + .../observable/BoundNodeCallbackObservable.js | 263 + .../BoundNodeCallbackObservable.js.map | 1 + .../observable/ConnectableObservable.d.ts | 21 + .../rxjs/observable/ConnectableObservable.js | 170 + .../observable/ConnectableObservable.js.map | 1 + .../rxjs/observable/DeferObservable.d.ts | 60 + .../rxjs/observable/DeferObservable.js | 99 + .../rxjs/observable/DeferObservable.js.map | 1 + .../rxjs/observable/EmptyObservable.d.ts | 62 + .../rxjs/observable/EmptyObservable.js | 81 + .../rxjs/observable/EmptyObservable.js.map | 1 + .../rxjs/observable/ErrorObservable.d.ts | 61 + .../rxjs/observable/ErrorObservable.js | 83 + .../rxjs/observable/ErrorObservable.js.map | 1 + .../rxjs/observable/ForkJoinObservable.d.ts | 31 + .../rxjs/observable/ForkJoinObservable.js | 202 + .../rxjs/observable/ForkJoinObservable.js.map | 1 + .../rxjs/observable/FromEventObservable.d.ts | 35 + .../rxjs/observable/FromEventObservable.js | 216 + .../observable/FromEventObservable.js.map | 1 + .../FromEventPatternObservable.d.ts | 65 + .../observable/FromEventPatternObservable.js | 113 + .../FromEventPatternObservable.js.map | 1 + .../rxjs/observable/FromObservable.d.ts | 16 + .../rxjs/observable/FromObservable.js | 122 + .../rxjs/observable/FromObservable.js.map | 1 + .../rxjs/observable/GenerateObservable.d.ts | 144 + .../rxjs/observable/GenerateObservable.js | 135 + .../rxjs/observable/GenerateObservable.js.map | 1 + .../rxjs/observable/IfObservable.d.ts | 16 + node_modules/rxjs/observable/IfObservable.js | 61 + .../rxjs/observable/IfObservable.js.map | 1 + .../rxjs/observable/IntervalObservable.d.ts | 49 + .../rxjs/observable/IntervalObservable.js | 88 + .../rxjs/observable/IntervalObservable.js.map | 1 + .../rxjs/observable/IteratorObservable.d.ts | 17 + .../rxjs/observable/IteratorObservable.js | 163 + .../rxjs/observable/IteratorObservable.js.map | 1 + .../rxjs/observable/NeverObservable.d.ts | 43 + .../rxjs/observable/NeverObservable.js | 59 + .../rxjs/observable/NeverObservable.js.map | 1 + .../rxjs/observable/PairsObservable.d.ts | 48 + .../rxjs/observable/PairsObservable.js | 85 + .../rxjs/observable/PairsObservable.js.map | 1 + .../rxjs/observable/PromiseObservable.d.ts | 43 + .../rxjs/observable/PromiseObservable.js | 121 + .../rxjs/observable/PromiseObservable.js.map | 1 + .../rxjs/observable/RangeObservable.d.ts | 48 + .../rxjs/observable/RangeObservable.js | 96 + .../rxjs/observable/RangeObservable.js.map | 1 + .../rxjs/observable/ScalarObservable.d.ts | 18 + .../rxjs/observable/ScalarObservable.js | 58 + .../rxjs/observable/ScalarObservable.js.map | 1 + .../observable/SubscribeOnObservable.d.ts | 23 + .../rxjs/observable/SubscribeOnObservable.js | 51 + .../observable/SubscribeOnObservable.js.map | 1 + .../rxjs/observable/TimerObservable.d.ts | 60 + .../rxjs/observable/TimerObservable.js | 107 + .../rxjs/observable/TimerObservable.js.map | 1 + .../rxjs/observable/UsingObservable.d.ts | 15 + .../rxjs/observable/UsingObservable.js | 61 + .../rxjs/observable/UsingObservable.js.map | 1 + .../rxjs/observable/bindCallback.d.ts | 2 + node_modules/rxjs/observable/bindCallback.js | 4 + .../rxjs/observable/bindCallback.js.map | 1 + .../rxjs/observable/bindNodeCallback.d.ts | 2 + .../rxjs/observable/bindNodeCallback.js | 4 + .../rxjs/observable/bindNodeCallback.js.map | 1 + .../rxjs/observable/combineLatest.d.ts | 20 + node_modules/rxjs/observable/combineLatest.js | 136 + .../rxjs/observable/combineLatest.js.map | 1 + node_modules/rxjs/observable/concat.d.ts | 10 + node_modules/rxjs/observable/concat.js | 111 + node_modules/rxjs/observable/concat.js.map | 1 + node_modules/rxjs/observable/defer.d.ts | 2 + node_modules/rxjs/observable/defer.js | 4 + node_modules/rxjs/observable/defer.js.map | 1 + .../rxjs/observable/dom/AjaxObservable.d.ts | 137 + .../rxjs/observable/dom/AjaxObservable.js | 426 + .../rxjs/observable/dom/AjaxObservable.js.map | 1 + .../rxjs/observable/dom/WebSocketSubject.d.ts | 83 + .../rxjs/observable/dom/WebSocketSubject.js | 250 + .../observable/dom/WebSocketSubject.js.map | 1 + node_modules/rxjs/observable/dom/ajax.d.ts | 2 + node_modules/rxjs/observable/dom/ajax.js | 4 + node_modules/rxjs/observable/dom/ajax.js.map | 1 + .../rxjs/observable/dom/webSocket.d.ts | 2 + node_modules/rxjs/observable/dom/webSocket.js | 4 + .../rxjs/observable/dom/webSocket.js.map | 1 + node_modules/rxjs/observable/empty.d.ts | 2 + node_modules/rxjs/observable/empty.js | 4 + node_modules/rxjs/observable/empty.js.map | 1 + node_modules/rxjs/observable/forkJoin.d.ts | 2 + node_modules/rxjs/observable/forkJoin.js | 4 + node_modules/rxjs/observable/forkJoin.js.map | 1 + node_modules/rxjs/observable/from.d.ts | 2 + node_modules/rxjs/observable/from.js | 4 + node_modules/rxjs/observable/from.js.map | 1 + node_modules/rxjs/observable/fromEvent.d.ts | 2 + node_modules/rxjs/observable/fromEvent.js | 4 + node_modules/rxjs/observable/fromEvent.js.map | 1 + .../rxjs/observable/fromEventPattern.d.ts | 2 + .../rxjs/observable/fromEventPattern.js | 4 + .../rxjs/observable/fromEventPattern.js.map | 1 + node_modules/rxjs/observable/fromPromise.d.ts | 2 + node_modules/rxjs/observable/fromPromise.js | 4 + .../rxjs/observable/fromPromise.js.map | 1 + node_modules/rxjs/observable/generate.d.ts | 2 + node_modules/rxjs/observable/generate.js | 4 + node_modules/rxjs/observable/generate.js.map | 1 + node_modules/rxjs/observable/if.d.ts | 2 + node_modules/rxjs/observable/if.js | 4 + node_modules/rxjs/observable/if.js.map | 1 + node_modules/rxjs/observable/interval.d.ts | 2 + node_modules/rxjs/observable/interval.js | 4 + node_modules/rxjs/observable/interval.js.map | 1 + node_modules/rxjs/observable/merge.d.ts | 16 + node_modules/rxjs/observable/merge.js | 90 + node_modules/rxjs/observable/merge.js.map | 1 + node_modules/rxjs/observable/never.d.ts | 2 + node_modules/rxjs/observable/never.js | 4 + node_modules/rxjs/observable/never.js.map | 1 + node_modules/rxjs/observable/of.d.ts | 2 + node_modules/rxjs/observable/of.js | 4 + node_modules/rxjs/observable/of.js.map | 1 + .../rxjs/observable/onErrorResumeNext.d.ts | 2 + .../rxjs/observable/onErrorResumeNext.js | 4 + .../rxjs/observable/onErrorResumeNext.js.map | 1 + node_modules/rxjs/observable/pairs.d.ts | 2 + node_modules/rxjs/observable/pairs.js | 4 + node_modules/rxjs/observable/pairs.js.map | 1 + node_modules/rxjs/observable/race.d.ts | 34 + node_modules/rxjs/observable/race.js | 89 + node_modules/rxjs/observable/race.js.map | 1 + node_modules/rxjs/observable/range.d.ts | 2 + node_modules/rxjs/observable/range.js | 4 + node_modules/rxjs/observable/range.js.map | 1 + node_modules/rxjs/observable/throw.d.ts | 2 + node_modules/rxjs/observable/throw.js | 4 + node_modules/rxjs/observable/throw.js.map | 1 + node_modules/rxjs/observable/timer.d.ts | 2 + node_modules/rxjs/observable/timer.js | 4 + node_modules/rxjs/observable/timer.js.map | 1 + node_modules/rxjs/observable/using.d.ts | 2 + node_modules/rxjs/observable/using.js | 4 + node_modules/rxjs/observable/using.js.map | 1 + node_modules/rxjs/observable/zip.d.ts | 2 + node_modules/rxjs/observable/zip.js | 4 + node_modules/rxjs/observable/zip.js.map | 1 + node_modules/rxjs/operator/audit.d.ts | 42 + node_modules/rxjs/operator/audit.js | 47 + node_modules/rxjs/operator/audit.js.map | 1 + node_modules/rxjs/operator/auditTime.d.ts | 45 + node_modules/rxjs/operator/auditTime.js | 51 + node_modules/rxjs/operator/auditTime.js.map | 1 + node_modules/rxjs/operator/buffer.d.ts | 34 + node_modules/rxjs/operator/buffer.js | 39 + node_modules/rxjs/operator/buffer.js.map | 1 + node_modules/rxjs/operator/bufferCount.d.ts | 43 + node_modules/rxjs/operator/bufferCount.js | 49 + node_modules/rxjs/operator/bufferCount.js.map | 1 + node_modules/rxjs/operator/bufferTime.d.ts | 5 + node_modules/rxjs/operator/bufferTime.js | 67 + node_modules/rxjs/operator/bufferTime.js.map | 1 + node_modules/rxjs/operator/bufferToggle.d.ts | 40 + node_modules/rxjs/operator/bufferToggle.js | 45 + .../rxjs/operator/bufferToggle.js.map | 1 + node_modules/rxjs/operator/bufferWhen.d.ts | 35 + node_modules/rxjs/operator/bufferWhen.js | 40 + node_modules/rxjs/operator/bufferWhen.js.map | 1 + node_modules/rxjs/operator/catch.d.ts | 61 + node_modules/rxjs/operator/catch.js | 66 + node_modules/rxjs/operator/catch.js.map | 1 + node_modules/rxjs/operator/combineAll.d.ts | 42 + node_modules/rxjs/operator/combineAll.js | 47 + node_modules/rxjs/operator/combineAll.js.map | 1 + node_modules/rxjs/operator/combineLatest.d.ts | 15 + node_modules/rxjs/operator/combineLatest.js | 55 + .../rxjs/operator/combineLatest.js.map | 1 + node_modules/rxjs/operator/concat.d.ts | 11 + node_modules/rxjs/operator/concat.js | 63 + node_modules/rxjs/operator/concat.js.map | 1 + node_modules/rxjs/operator/concatAll.d.ts | 4 + node_modules/rxjs/operator/concatAll.js | 56 + node_modules/rxjs/operator/concatAll.js.map | 1 + node_modules/rxjs/operator/concatMap.d.ts | 3 + node_modules/rxjs/operator/concatMap.js | 67 + node_modules/rxjs/operator/concatMap.js.map | 1 + node_modules/rxjs/operator/concatMapTo.d.ts | 3 + node_modules/rxjs/operator/concatMapTo.js | 64 + node_modules/rxjs/operator/concatMapTo.js.map | 1 + node_modules/rxjs/operator/count.d.ts | 50 + node_modules/rxjs/operator/count.js | 55 + node_modules/rxjs/operator/count.js.map | 1 + node_modules/rxjs/operator/debounce.d.ts | 44 + node_modules/rxjs/operator/debounce.js | 49 + node_modules/rxjs/operator/debounce.js.map | 1 + node_modules/rxjs/operator/debounceTime.d.ts | 49 + node_modules/rxjs/operator/debounceTime.js | 55 + .../rxjs/operator/debounceTime.js.map | 1 + .../rxjs/operator/defaultIfEmpty.d.ts | 3 + node_modules/rxjs/operator/defaultIfEmpty.js | 39 + .../rxjs/operator/defaultIfEmpty.js.map | 1 + node_modules/rxjs/operator/delay.d.ts | 42 + node_modules/rxjs/operator/delay.js | 48 + node_modules/rxjs/operator/delay.js.map | 1 + node_modules/rxjs/operator/delayWhen.d.ts | 47 + node_modules/rxjs/operator/delayWhen.js | 52 + node_modules/rxjs/operator/delayWhen.js.map | 1 + node_modules/rxjs/operator/dematerialize.d.ts | 43 + node_modules/rxjs/operator/dematerialize.js | 47 + .../rxjs/operator/dematerialize.js.map | 1 + node_modules/rxjs/operator/distinct.d.ts | 47 + node_modules/rxjs/operator/distinct.js | 52 + node_modules/rxjs/operator/distinct.js.map | 1 + .../rxjs/operator/distinctUntilChanged.d.ts | 3 + .../rxjs/operator/distinctUntilChanged.js | 47 + .../rxjs/operator/distinctUntilChanged.js.map | 1 + .../operator/distinctUntilKeyChanged.d.ts | 3 + .../rxjs/operator/distinctUntilKeyChanged.js | 65 + .../operator/distinctUntilKeyChanged.js.map | 1 + node_modules/rxjs/operator/do.d.ts | 4 + node_modules/rxjs/operator/do.js | 51 + node_modules/rxjs/operator/do.js.map | 1 + node_modules/rxjs/operator/elementAt.d.ts | 44 + node_modules/rxjs/operator/elementAt.js | 49 + node_modules/rxjs/operator/elementAt.js.map | 1 + node_modules/rxjs/operator/every.d.ts | 16 + node_modules/rxjs/operator/every.js | 21 + node_modules/rxjs/operator/every.js.map | 1 + node_modules/rxjs/operator/exhaust.d.ts | 37 + node_modules/rxjs/operator/exhaust.js | 42 + node_modules/rxjs/operator/exhaust.js.map | 1 + node_modules/rxjs/operator/exhaustMap.d.ts | 3 + node_modules/rxjs/operator/exhaustMap.js | 53 + node_modules/rxjs/operator/exhaustMap.js.map | 1 + node_modules/rxjs/operator/expand.d.ts | 4 + node_modules/rxjs/operator/expand.js | 56 + node_modules/rxjs/operator/expand.js.map | 1 + node_modules/rxjs/operator/filter.d.ts | 3 + node_modules/rxjs/operator/filter.js | 47 + node_modules/rxjs/operator/filter.js.map | 1 + node_modules/rxjs/operator/finally.d.ts | 10 + node_modules/rxjs/operator/finally.js | 15 + node_modules/rxjs/operator/finally.js.map | 1 + node_modules/rxjs/operator/find.d.ts | 3 + node_modules/rxjs/operator/find.js | 41 + node_modules/rxjs/operator/find.js.map | 1 + node_modules/rxjs/operator/findIndex.d.ts | 36 + node_modules/rxjs/operator/findIndex.js | 41 + node_modules/rxjs/operator/findIndex.js.map | 1 + node_modules/rxjs/operator/first.d.ts | 7 + node_modules/rxjs/operator/first.js | 56 + node_modules/rxjs/operator/first.js.map | 1 + node_modules/rxjs/operator/groupBy.d.ts | 8 + node_modules/rxjs/operator/groupBy.js | 76 + node_modules/rxjs/operator/groupBy.js.map | 1 + .../rxjs/operator/ignoreElements.d.ts | 12 + node_modules/rxjs/operator/ignoreElements.js | 18 + .../rxjs/operator/ignoreElements.js.map | 1 + node_modules/rxjs/operator/isEmpty.d.ts | 11 + node_modules/rxjs/operator/isEmpty.js | 16 + node_modules/rxjs/operator/isEmpty.js.map | 1 + node_modules/rxjs/operator/last.d.ts | 7 + node_modules/rxjs/operator/last.js | 25 + node_modules/rxjs/operator/last.js.map | 1 + node_modules/rxjs/operator/let.d.ts | 8 + node_modules/rxjs/operator/let.js | 12 + node_modules/rxjs/operator/let.js.map | 1 + node_modules/rxjs/operator/map.d.ts | 35 + node_modules/rxjs/operator/map.js | 40 + node_modules/rxjs/operator/map.js.map | 1 + node_modules/rxjs/operator/mapTo.d.ts | 28 + node_modules/rxjs/operator/mapTo.js | 33 + node_modules/rxjs/operator/mapTo.js.map | 1 + node_modules/rxjs/operator/materialize.d.ts | 47 + node_modules/rxjs/operator/materialize.js | 51 + node_modules/rxjs/operator/materialize.js.map | 1 + node_modules/rxjs/operator/max.d.ts | 33 + node_modules/rxjs/operator/max.js | 38 + node_modules/rxjs/operator/max.js.map | 1 + node_modules/rxjs/operator/merge.d.ts | 17 + node_modules/rxjs/operator/merge.js | 60 + node_modules/rxjs/operator/merge.js.map | 1 + node_modules/rxjs/operator/mergeAll.d.ts | 4 + node_modules/rxjs/operator/mergeAll.js | 52 + node_modules/rxjs/operator/mergeAll.js.map | 1 + node_modules/rxjs/operator/mergeMap.d.ts | 3 + node_modules/rxjs/operator/mergeMap.js | 67 + node_modules/rxjs/operator/mergeMap.js.map | 1 + node_modules/rxjs/operator/mergeMapTo.d.ts | 3 + node_modules/rxjs/operator/mergeMapTo.js | 52 + node_modules/rxjs/operator/mergeMapTo.js.map | 1 + node_modules/rxjs/operator/mergeScan.d.ts | 33 + node_modules/rxjs/operator/mergeScan.js | 39 + node_modules/rxjs/operator/mergeScan.js.map | 1 + node_modules/rxjs/operator/min.d.ts | 33 + node_modules/rxjs/operator/min.js | 38 + node_modules/rxjs/operator/min.js.map | 1 + node_modules/rxjs/operator/multicast.d.ts | 7 + node_modules/rxjs/operator/multicast.js | 102 + node_modules/rxjs/operator/multicast.js.map | 1 + node_modules/rxjs/operator/observeOn.d.ts | 49 + node_modules/rxjs/operator/observeOn.js | 54 + node_modules/rxjs/operator/observeOn.js.map | 1 + .../rxjs/operator/onErrorResumeNext.d.ts | 8 + .../rxjs/operator/onErrorResumeNext.js | 73 + .../rxjs/operator/onErrorResumeNext.js.map | 1 + node_modules/rxjs/operator/pairwise.d.ts | 37 + node_modules/rxjs/operator/pairwise.js | 42 + node_modules/rxjs/operator/pairwise.js.map | 1 + node_modules/rxjs/operator/partition.d.ts | 43 + node_modules/rxjs/operator/partition.js | 48 + node_modules/rxjs/operator/partition.js.map | 1 + node_modules/rxjs/operator/pluck.d.ts | 28 + node_modules/rxjs/operator/pluck.js | 37 + node_modules/rxjs/operator/pluck.js.map | 1 + node_modules/rxjs/operator/publish.d.ts | 6 + node_modules/rxjs/operator/publish.js | 21 + node_modules/rxjs/operator/publish.js.map | 1 + .../rxjs/operator/publishBehavior.d.ts | 9 + node_modules/rxjs/operator/publishBehavior.js | 13 + .../rxjs/operator/publishBehavior.js.map | 1 + node_modules/rxjs/operator/publishLast.d.ts | 8 + node_modules/rxjs/operator/publishLast.js | 13 + node_modules/rxjs/operator/publishLast.js.map | 1 + node_modules/rxjs/operator/publishReplay.d.ts | 7 + node_modules/rxjs/operator/publishReplay.js | 17 + .../rxjs/operator/publishReplay.js.map | 1 + node_modules/rxjs/operator/race.d.ts | 6 + node_modules/rxjs/operator/race.js | 23 + node_modules/rxjs/operator/race.js.map | 1 + node_modules/rxjs/operator/reduce.d.ts | 4 + node_modules/rxjs/operator/reduce.js | 60 + node_modules/rxjs/operator/reduce.js.map | 1 + node_modules/rxjs/operator/repeat.d.ts | 14 + node_modules/rxjs/operator/repeat.js | 20 + node_modules/rxjs/operator/repeat.js.map | 1 + node_modules/rxjs/operator/repeatWhen.d.ts | 16 + node_modules/rxjs/operator/repeatWhen.js | 21 + node_modules/rxjs/operator/repeatWhen.js.map | 1 + node_modules/rxjs/operator/retry.d.ts | 18 + node_modules/rxjs/operator/retry.js | 24 + node_modules/rxjs/operator/retry.js.map | 1 + node_modules/rxjs/operator/retryWhen.d.ts | 16 + node_modules/rxjs/operator/retryWhen.js | 21 + node_modules/rxjs/operator/retryWhen.js.map | 1 + node_modules/rxjs/operator/sample.d.ts | 36 + node_modules/rxjs/operator/sample.js | 41 + node_modules/rxjs/operator/sample.js.map | 1 + node_modules/rxjs/operator/sampleTime.d.ts | 39 + node_modules/rxjs/operator/sampleTime.js | 45 + node_modules/rxjs/operator/sampleTime.js.map | 1 + node_modules/rxjs/operator/scan.d.ts | 4 + node_modules/rxjs/operator/scan.js | 48 + node_modules/rxjs/operator/scan.js.map | 1 + node_modules/rxjs/operator/sequenceEqual.d.ts | 54 + node_modules/rxjs/operator/sequenceEqual.js | 59 + .../rxjs/operator/sequenceEqual.js.map | 1 + node_modules/rxjs/operator/share.d.ts | 18 + node_modules/rxjs/operator/share.js | 24 + node_modules/rxjs/operator/share.js.map | 1 + node_modules/rxjs/operator/shareReplay.d.ts | 7 + node_modules/rxjs/operator/shareReplay.js | 12 + node_modules/rxjs/operator/shareReplay.js.map | 1 + node_modules/rxjs/operator/single.d.ts | 18 + node_modules/rxjs/operator/single.js | 23 + node_modules/rxjs/operator/single.js.map | 1 + node_modules/rxjs/operator/skip.d.ts | 13 + node_modules/rxjs/operator/skip.js | 18 + node_modules/rxjs/operator/skip.js.map | 1 + node_modules/rxjs/operator/skipLast.d.ts | 34 + node_modules/rxjs/operator/skipLast.js | 39 + node_modules/rxjs/operator/skipLast.js.map | 1 + node_modules/rxjs/operator/skipUntil.d.ts | 14 + node_modules/rxjs/operator/skipUntil.js | 19 + node_modules/rxjs/operator/skipUntil.js.map | 1 + node_modules/rxjs/operator/skipWhile.d.ts | 14 + node_modules/rxjs/operator/skipWhile.js | 19 + node_modules/rxjs/operator/skipWhile.js.map | 1 + node_modules/rxjs/operator/startWith.d.ts | 9 + node_modules/rxjs/operator/startWith.js | 26 + node_modules/rxjs/operator/startWith.js.map | 1 + node_modules/rxjs/operator/subscribeOn.d.ts | 14 + node_modules/rxjs/operator/subscribeOn.js | 19 + node_modules/rxjs/operator/subscribeOn.js.map | 1 + node_modules/rxjs/operator/switch.d.ts | 44 + node_modules/rxjs/operator/switch.js | 49 + node_modules/rxjs/operator/switch.js.map | 1 + node_modules/rxjs/operator/switchMap.d.ts | 3 + node_modules/rxjs/operator/switchMap.js | 55 + node_modules/rxjs/operator/switchMap.js.map | 1 + node_modules/rxjs/operator/switchMapTo.d.ts | 3 + node_modules/rxjs/operator/switchMapTo.js | 50 + node_modules/rxjs/operator/switchMapTo.js.map | 1 + node_modules/rxjs/operator/take.d.ts | 35 + node_modules/rxjs/operator/take.js | 40 + node_modules/rxjs/operator/take.js.map | 1 + node_modules/rxjs/operator/takeLast.d.ts | 38 + node_modules/rxjs/operator/takeLast.js | 43 + node_modules/rxjs/operator/takeLast.js.map | 1 + node_modules/rxjs/operator/takeUntil.d.ts | 35 + node_modules/rxjs/operator/takeUntil.js | 40 + node_modules/rxjs/operator/takeUntil.js.map | 1 + node_modules/rxjs/operator/takeWhile.d.ts | 38 + node_modules/rxjs/operator/takeWhile.js | 43 + node_modules/rxjs/operator/takeWhile.js.map | 1 + node_modules/rxjs/operator/throttle.d.ts | 43 + node_modules/rxjs/operator/throttle.js | 48 + node_modules/rxjs/operator/throttle.js.map | 1 + node_modules/rxjs/operator/throttleTime.d.ts | 43 + node_modules/rxjs/operator/throttleTime.js | 50 + .../rxjs/operator/throttleTime.js.map | 1 + node_modules/rxjs/operator/timeInterval.d.ts | 11 + node_modules/rxjs/operator/timeInterval.js | 16 + .../rxjs/operator/timeInterval.js.map | 1 + node_modules/rxjs/operator/timeout.d.ts | 68 + node_modules/rxjs/operator/timeout.js | 74 + node_modules/rxjs/operator/timeout.js.map | 1 + node_modules/rxjs/operator/timeoutWith.d.ts | 4 + node_modules/rxjs/operator/timeoutWith.js | 57 + node_modules/rxjs/operator/timeoutWith.js.map | 1 + node_modules/rxjs/operator/timestamp.d.ts | 10 + node_modules/rxjs/operator/timestamp.js | 15 + node_modules/rxjs/operator/timestamp.js.map | 1 + node_modules/rxjs/operator/toArray.d.ts | 25 + node_modules/rxjs/operator/toArray.js | 30 + node_modules/rxjs/operator/toArray.js.map | 1 + node_modules/rxjs/operator/toPromise.d.ts | 2 + node_modules/rxjs/operator/toPromise.js | 6 + node_modules/rxjs/operator/toPromise.js.map | 1 + node_modules/rxjs/operator/window.d.ts | 38 + node_modules/rxjs/operator/window.js | 43 + node_modules/rxjs/operator/window.js.map | 1 + node_modules/rxjs/operator/windowCount.d.ts | 50 + node_modules/rxjs/operator/windowCount.js | 56 + node_modules/rxjs/operator/windowCount.js.map | 1 + node_modules/rxjs/operator/windowTime.d.ts | 65 + node_modules/rxjs/operator/windowTime.js | 28 + node_modules/rxjs/operator/windowTime.js.map | 1 + node_modules/rxjs/operator/windowToggle.d.ts | 43 + node_modules/rxjs/operator/windowToggle.js | 48 + .../rxjs/operator/windowToggle.js.map | 1 + node_modules/rxjs/operator/windowWhen.d.ts | 40 + node_modules/rxjs/operator/windowWhen.js | 45 + node_modules/rxjs/operator/windowWhen.js.map | 1 + .../rxjs/operator/withLatestFrom.d.ts | 15 + node_modules/rxjs/operator/withLatestFrom.js | 50 + .../rxjs/operator/withLatestFrom.js.map | 1 + node_modules/rxjs/operator/zip.d.ts | 16 + node_modules/rxjs/operator/zip.js | 18 + node_modules/rxjs/operator/zip.js.map | 1 + node_modules/rxjs/operator/zipAll.d.ts | 8 + node_modules/rxjs/operator/zipAll.js | 13 + node_modules/rxjs/operator/zipAll.js.map | 1 + node_modules/rxjs/operators.d.ts | 107 + node_modules/rxjs/operators.js | 211 + node_modules/rxjs/operators.js.map | 1 + node_modules/rxjs/operators/audit.d.ts | 43 + node_modules/rxjs/operators/audit.js | 118 + node_modules/rxjs/operators/audit.js.map | 1 + node_modules/rxjs/operators/auditTime.d.ts | 45 + node_modules/rxjs/operators/auditTime.js | 52 + node_modules/rxjs/operators/auditTime.js.map | 1 + node_modules/rxjs/operators/buffer.d.ts | 35 + node_modules/rxjs/operators/buffer.js | 78 + node_modules/rxjs/operators/buffer.js.map | 1 + node_modules/rxjs/operators/bufferCount.d.ts | 43 + node_modules/rxjs/operators/bufferCount.js | 142 + .../rxjs/operators/bufferCount.js.map | 1 + node_modules/rxjs/operators/bufferTime.d.ts | 5 + node_modules/rxjs/operators/bufferTime.js | 201 + node_modules/rxjs/operators/bufferTime.js.map | 1 + node_modules/rxjs/operators/bufferToggle.d.ts | 41 + node_modules/rxjs/operators/bufferToggle.js | 154 + .../rxjs/operators/bufferToggle.js.map | 1 + node_modules/rxjs/operators/bufferWhen.d.ts | 36 + node_modules/rxjs/operators/bufferWhen.js | 124 + node_modules/rxjs/operators/bufferWhen.js.map | 1 + node_modules/rxjs/operators/catchError.d.ts | 60 + node_modules/rxjs/operators/catchError.js | 116 + node_modules/rxjs/operators/catchError.js.map | 1 + node_modules/rxjs/operators/combineAll.d.ts | 2 + node_modules/rxjs/operators/combineAll.js | 7 + node_modules/rxjs/operators/combineAll.js.map | 1 + .../rxjs/operators/combineLatest.d.ts | 43 + node_modules/rxjs/operators/combineLatest.js | 151 + .../rxjs/operators/combineLatest.js.map | 1 + node_modules/rxjs/operators/concat.d.ts | 12 + node_modules/rxjs/operators/concat.js | 63 + node_modules/rxjs/operators/concat.js.map | 1 + node_modules/rxjs/operators/concatAll.d.ts | 50 + node_modules/rxjs/operators/concatAll.js | 55 + node_modules/rxjs/operators/concatAll.js.map | 1 + node_modules/rxjs/operators/concatMap.d.ts | 4 + node_modules/rxjs/operators/concatMap.js | 67 + node_modules/rxjs/operators/concatMap.js.map | 1 + node_modules/rxjs/operators/concatMapTo.d.ts | 4 + node_modules/rxjs/operators/concatMapTo.js | 64 + .../rxjs/operators/concatMapTo.js.map | 1 + node_modules/rxjs/operators/count.d.ts | 51 + node_modules/rxjs/operators/count.js | 111 + node_modules/rxjs/operators/count.js.map | 1 + node_modules/rxjs/operators/debounce.d.ts | 45 + node_modules/rxjs/operators/debounce.js | 127 + node_modules/rxjs/operators/debounce.js.map | 1 + node_modules/rxjs/operators/debounceTime.d.ts | 49 + node_modules/rxjs/operators/debounceTime.js | 116 + .../rxjs/operators/debounceTime.js.map | 1 + .../rxjs/operators/defaultIfEmpty.d.ts | 3 + node_modules/rxjs/operators/defaultIfEmpty.js | 77 + .../rxjs/operators/defaultIfEmpty.js.map | 1 + node_modules/rxjs/operators/delay.d.ts | 42 + node_modules/rxjs/operators/delay.js | 135 + node_modules/rxjs/operators/delay.js.map | 1 + node_modules/rxjs/operators/delayWhen.d.ts | 48 + node_modules/rxjs/operators/delayWhen.js | 194 + node_modules/rxjs/operators/delayWhen.js.map | 1 + .../rxjs/operators/dematerialize.d.ts | 43 + node_modules/rxjs/operators/dematerialize.js | 77 + .../rxjs/operators/dematerialize.js.map | 1 + node_modules/rxjs/operators/distinct.d.ts | 66 + node_modules/rxjs/operators/distinct.js | 120 + node_modules/rxjs/operators/distinct.js.map | 1 + .../rxjs/operators/distinctUntilChanged.d.ts | 3 + .../rxjs/operators/distinctUntilChanged.js | 108 + .../operators/distinctUntilChanged.js.map | 1 + .../operators/distinctUntilKeyChanged.d.ts | 3 + .../rxjs/operators/distinctUntilKeyChanged.js | 65 + .../operators/distinctUntilKeyChanged.js.map | 1 + node_modules/rxjs/operators/elementAt.d.ts | 44 + node_modules/rxjs/operators/elementAt.js | 100 + node_modules/rxjs/operators/elementAt.js.map | 1 + node_modules/rxjs/operators/every.d.ts | 17 + node_modules/rxjs/operators/every.js | 74 + node_modules/rxjs/operators/every.js.map | 1 + node_modules/rxjs/operators/exhaust.d.ts | 37 + node_modules/rxjs/operators/exhaust.js | 89 + node_modules/rxjs/operators/exhaust.js.map | 1 + node_modules/rxjs/operators/exhaustMap.d.ts | 4 + node_modules/rxjs/operators/exhaustMap.js | 138 + node_modules/rxjs/operators/exhaustMap.js.map | 1 + node_modules/rxjs/operators/expand.d.ts | 38 + node_modules/rxjs/operators/expand.js | 151 + node_modules/rxjs/operators/expand.js.map | 1 + node_modules/rxjs/operators/filter.d.ts | 3 + node_modules/rxjs/operators/filter.js | 94 + node_modules/rxjs/operators/filter.js.map | 1 + node_modules/rxjs/operators/finalize.d.ts | 10 + node_modules/rxjs/operators/finalize.js | 43 + node_modules/rxjs/operators/finalize.js.map | 1 + node_modules/rxjs/operators/find.d.ts | 32 + node_modules/rxjs/operators/find.js | 100 + node_modules/rxjs/operators/find.js.map | 1 + node_modules/rxjs/operators/findIndex.d.ts | 37 + node_modules/rxjs/operators/findIndex.js | 41 + node_modules/rxjs/operators/findIndex.js.map | 1 + node_modules/rxjs/operators/first.d.ts | 8 + node_modules/rxjs/operators/first.js | 152 + node_modules/rxjs/operators/first.js.map | 1 + node_modules/rxjs/operators/groupBy.d.ts | 30 + node_modules/rxjs/operators/groupBy.js | 276 + node_modules/rxjs/operators/groupBy.js.map | 1 + .../rxjs/operators/ignoreElements.d.ts | 12 + node_modules/rxjs/operators/ignoreElements.js | 48 + .../rxjs/operators/ignoreElements.js.map | 1 + node_modules/rxjs/operators/isEmpty.d.ts | 2 + node_modules/rxjs/operators/isEmpty.js | 43 + node_modules/rxjs/operators/isEmpty.js.map | 1 + node_modules/rxjs/operators/last.d.ts | 8 + node_modules/rxjs/operators/last.js | 119 + node_modules/rxjs/operators/last.js.map | 1 + node_modules/rxjs/operators/map.d.ts | 43 + node_modules/rxjs/operators/map.js | 89 + node_modules/rxjs/operators/map.js.map | 1 + node_modules/rxjs/operators/mapTo.d.ts | 28 + node_modules/rxjs/operators/mapTo.js | 63 + node_modules/rxjs/operators/mapTo.js.map | 1 + node_modules/rxjs/operators/materialize.d.ts | 47 + node_modules/rxjs/operators/materialize.js | 92 + .../rxjs/operators/materialize.js.map | 1 + node_modules/rxjs/operators/max.d.ts | 33 + node_modules/rxjs/operators/max.js | 41 + node_modules/rxjs/operators/max.js.map | 1 + node_modules/rxjs/operators/merge.d.ts | 18 + node_modules/rxjs/operators/merge.js | 60 + node_modules/rxjs/operators/merge.js.map | 1 + node_modules/rxjs/operators/mergeAll.d.ts | 46 + node_modules/rxjs/operators/mergeAll.js | 53 + node_modules/rxjs/operators/mergeAll.js.map | 1 + node_modules/rxjs/operators/mergeMap.d.ts | 38 + node_modules/rxjs/operators/mergeMap.js | 173 + node_modules/rxjs/operators/mergeMap.js.map | 1 + node_modules/rxjs/operators/mergeMapTo.d.ts | 38 + node_modules/rxjs/operators/mergeMapTo.js | 155 + node_modules/rxjs/operators/mergeMapTo.js.map | 1 + node_modules/rxjs/operators/mergeScan.d.ts | 67 + node_modules/rxjs/operators/mergeScan.js | 129 + node_modules/rxjs/operators/mergeScan.js.map | 1 + node_modules/rxjs/operators/min.d.ts | 33 + node_modules/rxjs/operators/min.js | 41 + node_modules/rxjs/operators/min.js.map | 1 + node_modules/rxjs/operators/multicast.d.ts | 15 + node_modules/rxjs/operators/multicast.js | 59 + node_modules/rxjs/operators/multicast.js.map | 1 + node_modules/rxjs/operators/observeOn.d.ts | 81 + node_modules/rxjs/operators/observeOn.js | 115 + node_modules/rxjs/operators/observeOn.js.map | 1 + .../rxjs/operators/onErrorResumeNext.d.ts | 16 + .../rxjs/operators/onErrorResumeNext.js | 137 + .../rxjs/operators/onErrorResumeNext.js.map | 1 + node_modules/rxjs/operators/pairwise.d.ts | 37 + node_modules/rxjs/operators/pairwise.js | 77 + node_modules/rxjs/operators/pairwise.js.map | 1 + node_modules/rxjs/operators/partition.d.ts | 44 + node_modules/rxjs/operators/partition.js | 52 + node_modules/rxjs/operators/partition.js.map | 1 + node_modules/rxjs/operators/pluck.d.ts | 28 + node_modules/rxjs/operators/pluck.js | 57 + node_modules/rxjs/operators/pluck.js.map | 1 + node_modules/rxjs/operators/publish.d.ts | 6 + node_modules/rxjs/operators/publish.js | 24 + node_modules/rxjs/operators/publish.js.map | 1 + .../rxjs/operators/publishBehavior.d.ts | 10 + .../rxjs/operators/publishBehavior.js | 14 + .../rxjs/operators/publishBehavior.js.map | 1 + node_modules/rxjs/operators/publishLast.d.ts | 4 + node_modules/rxjs/operators/publishLast.js | 8 + .../rxjs/operators/publishLast.js.map | 1 + .../rxjs/operators/publishReplay.d.ts | 7 + node_modules/rxjs/operators/publishReplay.js | 14 + .../rxjs/operators/publishReplay.js.map | 1 + node_modules/rxjs/operators/race.d.ts | 6 + node_modules/rxjs/operators/race.js | 28 + node_modules/rxjs/operators/race.js.map | 1 + node_modules/rxjs/operators/reduce.d.ts | 4 + node_modules/rxjs/operators/reduce.js | 69 + node_modules/rxjs/operators/reduce.js.map | 1 + node_modules/rxjs/operators/refCount.d.ts | 2 + node_modules/rxjs/operators/refCount.js | 85 + node_modules/rxjs/operators/refCount.js.map | 1 + node_modules/rxjs/operators/repeat.d.ts | 14 + node_modules/rxjs/operators/repeat.js | 72 + node_modules/rxjs/operators/repeat.js.map | 1 + node_modules/rxjs/operators/repeatWhen.d.ts | 17 + node_modules/rxjs/operators/repeatWhen.js | 108 + node_modules/rxjs/operators/repeatWhen.js.map | 1 + node_modules/rxjs/operators/retry.d.ts | 18 + node_modules/rxjs/operators/retry.js | 65 + node_modules/rxjs/operators/retry.js.map | 1 + node_modules/rxjs/operators/retryWhen.d.ts | 17 + node_modules/rxjs/operators/retryWhen.js | 101 + node_modules/rxjs/operators/retryWhen.js.map | 1 + node_modules/rxjs/operators/sample.d.ts | 37 + node_modules/rxjs/operators/sample.js | 88 + node_modules/rxjs/operators/sample.js.map | 1 + node_modules/rxjs/operators/sampleTime.d.ts | 39 + node_modules/rxjs/operators/sampleTime.js | 91 + node_modules/rxjs/operators/sampleTime.js.map | 1 + node_modules/rxjs/operators/scan.d.ts | 4 + node_modules/rxjs/operators/scan.js | 121 + node_modules/rxjs/operators/scan.js.map | 1 + .../rxjs/operators/sequenceEqual.d.ts | 82 + node_modules/rxjs/operators/sequenceEqual.js | 164 + .../rxjs/operators/sequenceEqual.js.map | 1 + node_modules/rxjs/operators/share.d.ts | 14 + node_modules/rxjs/operators/share.js | 25 + node_modules/rxjs/operators/share.js.map | 1 + node_modules/rxjs/operators/shareReplay.d.ts | 7 + node_modules/rxjs/operators/shareReplay.js | 45 + .../rxjs/operators/shareReplay.js.map | 1 + node_modules/rxjs/operators/single.d.ts | 19 + node_modules/rxjs/operators/single.js | 93 + node_modules/rxjs/operators/single.js.map | 1 + node_modules/rxjs/operators/skip.d.ts | 13 + node_modules/rxjs/operators/skip.js | 51 + node_modules/rxjs/operators/skip.js.map | 1 + node_modules/rxjs/operators/skipLast.d.ts | 34 + node_modules/rxjs/operators/skipLast.js | 93 + node_modules/rxjs/operators/skipLast.js.map | 1 + node_modules/rxjs/operators/skipUntil.d.ts | 15 + node_modules/rxjs/operators/skipUntil.js | 71 + node_modules/rxjs/operators/skipUntil.js.map | 1 + node_modules/rxjs/operators/skipWhile.d.ts | 14 + node_modules/rxjs/operators/skipWhile.js | 66 + node_modules/rxjs/operators/skipWhile.js.map | 1 + node_modules/rxjs/operators/startWith.d.ts | 9 + node_modules/rxjs/operators/startWith.js | 48 + node_modules/rxjs/operators/startWith.js.map | 1 + node_modules/rxjs/operators/subscribeOn.d.ts | 14 + node_modules/rxjs/operators/subscribeOn.js | 31 + .../rxjs/operators/subscribeOn.js.map | 1 + node_modules/rxjs/operators/switchAll.d.ts | 3 + node_modules/rxjs/operators/switchAll.js | 8 + node_modules/rxjs/operators/switchAll.js.map | 1 + node_modules/rxjs/operators/switchMap.d.ts | 4 + node_modules/rxjs/operators/switchMap.js | 142 + node_modules/rxjs/operators/switchMap.js.map | 1 + node_modules/rxjs/operators/switchMapTo.d.ts | 4 + node_modules/rxjs/operators/switchMapTo.js | 125 + .../rxjs/operators/switchMapTo.js.map | 1 + node_modules/rxjs/operators/take.d.ts | 35 + node_modules/rxjs/operators/take.js | 91 + node_modules/rxjs/operators/take.js.map | 1 + node_modules/rxjs/operators/takeLast.d.ts | 38 + node_modules/rxjs/operators/takeLast.js | 109 + node_modules/rxjs/operators/takeLast.js.map | 1 + node_modules/rxjs/operators/takeUntil.d.ts | 36 + node_modules/rxjs/operators/takeUntil.js | 75 + node_modules/rxjs/operators/takeUntil.js.map | 1 + node_modules/rxjs/operators/takeWhile.d.ts | 38 + node_modules/rxjs/operators/takeWhile.js | 92 + node_modules/rxjs/operators/takeWhile.js.map | 1 + node_modules/rxjs/operators/tap.d.ts | 4 + node_modules/rxjs/operators/tap.js | 113 + node_modules/rxjs/operators/tap.js.map | 1 + node_modules/rxjs/operators/throttle.d.ts | 48 + node_modules/rxjs/operators/throttle.js | 142 + node_modules/rxjs/operators/throttle.js.map | 1 + node_modules/rxjs/operators/throttleTime.d.ts | 43 + node_modules/rxjs/operators/throttleTime.js | 116 + .../rxjs/operators/throttleTime.js.map | 1 + node_modules/rxjs/operators/timeInterval.d.ts | 8 + node_modules/rxjs/operators/timeInterval.js | 53 + .../rxjs/operators/timeInterval.js.map | 1 + node_modules/rxjs/operators/timeout.d.ts | 68 + node_modules/rxjs/operators/timeout.js | 141 + node_modules/rxjs/operators/timeout.js.map | 1 + node_modules/rxjs/operators/timeoutWith.d.ts | 5 + node_modules/rxjs/operators/timeoutWith.js | 128 + .../rxjs/operators/timeoutWith.js.map | 1 + node_modules/rxjs/operators/timestamp.d.ts | 14 + node_modules/rxjs/operators/timestamp.js | 25 + node_modules/rxjs/operators/timestamp.js.map | 1 + node_modules/rxjs/operators/toArray.d.ts | 2 + node_modules/rxjs/operators/toArray.js | 14 + node_modules/rxjs/operators/toArray.js.map | 1 + node_modules/rxjs/operators/window.d.ts | 39 + node_modules/rxjs/operators/window.js | 112 + node_modules/rxjs/operators/window.js.map | 1 + node_modules/rxjs/operators/windowCount.d.ts | 51 + node_modules/rxjs/operators/windowCount.js | 133 + .../rxjs/operators/windowCount.js.map | 1 + node_modules/rxjs/operators/windowTime.d.ts | 66 + node_modules/rxjs/operators/windowTime.js | 163 + node_modules/rxjs/operators/windowTime.js.map | 1 + node_modules/rxjs/operators/windowToggle.d.ts | 44 + node_modules/rxjs/operators/windowToggle.js | 180 + .../rxjs/operators/windowToggle.js.map | 1 + node_modules/rxjs/operators/windowWhen.d.ts | 41 + node_modules/rxjs/operators/windowWhen.js | 129 + node_modules/rxjs/operators/windowWhen.js.map | 1 + .../rxjs/operators/withLatestFrom.d.ts | 16 + node_modules/rxjs/operators/withLatestFrom.js | 132 + .../rxjs/operators/withLatestFrom.js.map | 1 + node_modules/rxjs/operators/zip.d.ts | 58 + node_modules/rxjs/operators/zip.js | 281 + node_modules/rxjs/operators/zip.js.map | 1 + node_modules/rxjs/operators/zipAll.d.ts | 2 + node_modules/rxjs/operators/zipAll.js | 7 + node_modules/rxjs/operators/zipAll.js.map | 1 + node_modules/rxjs/package.json | 198 + node_modules/rxjs/scheduler/Action.d.ts | 30 + node_modules/rxjs/scheduler/Action.js | 44 + node_modules/rxjs/scheduler/Action.js.map | 1 + .../rxjs/scheduler/AnimationFrameAction.d.ts | 14 + .../rxjs/scheduler/AnimationFrameAction.js | 55 + .../scheduler/AnimationFrameAction.js.map | 1 + .../scheduler/AnimationFrameScheduler.d.ts | 5 + .../rxjs/scheduler/AnimationFrameScheduler.js | 37 + .../scheduler/AnimationFrameScheduler.js.map | 1 + node_modules/rxjs/scheduler/AsapAction.d.ts | 14 + node_modules/rxjs/scheduler/AsapAction.js | 55 + node_modules/rxjs/scheduler/AsapAction.js.map | 1 + .../rxjs/scheduler/AsapScheduler.d.ts | 5 + node_modules/rxjs/scheduler/AsapScheduler.js | 37 + .../rxjs/scheduler/AsapScheduler.js.map | 1 + node_modules/rxjs/scheduler/AsyncAction.d.ts | 27 + node_modules/rxjs/scheduler/AsyncAction.js | 142 + .../rxjs/scheduler/AsyncAction.js.map | 1 + .../rxjs/scheduler/AsyncScheduler.d.ts | 19 + node_modules/rxjs/scheduler/AsyncScheduler.js | 51 + .../rxjs/scheduler/AsyncScheduler.js.map | 1 + node_modules/rxjs/scheduler/QueueAction.d.ts | 16 + node_modules/rxjs/scheduler/QueueAction.js | 49 + .../rxjs/scheduler/QueueAction.js.map | 1 + .../rxjs/scheduler/QueueScheduler.d.ts | 3 + node_modules/rxjs/scheduler/QueueScheduler.js | 16 + .../rxjs/scheduler/QueueScheduler.js.map | 1 + .../rxjs/scheduler/VirtualTimeScheduler.d.ts | 33 + .../rxjs/scheduler/VirtualTimeScheduler.js | 113 + .../scheduler/VirtualTimeScheduler.js.map | 1 + .../rxjs/scheduler/animationFrame.d.ts | 32 + node_modules/rxjs/scheduler/animationFrame.js | 35 + .../rxjs/scheduler/animationFrame.js.map | 1 + node_modules/rxjs/scheduler/asap.d.ts | 36 + node_modules/rxjs/scheduler/asap.js | 39 + node_modules/rxjs/scheduler/asap.js.map | 1 + node_modules/rxjs/scheduler/async.d.ts | 44 + node_modules/rxjs/scheduler/async.js | 47 + node_modules/rxjs/scheduler/async.js.map | 1 + node_modules/rxjs/scheduler/queue.d.ts | 63 + node_modules/rxjs/scheduler/queue.js | 66 + node_modules/rxjs/scheduler/queue.js.map | 1 + node_modules/rxjs/src/AsyncSubject.ts | 45 + node_modules/rxjs/src/BUILD.bazel | 18 + node_modules/rxjs/src/BehaviorSubject.ts | 40 + node_modules/rxjs/src/InnerSubscriber.ts | 29 + node_modules/rxjs/src/LICENSE.txt | 202 + node_modules/rxjs/src/MiscJSDoc.ts | 451 + node_modules/rxjs/src/Notification.ts | 131 + node_modules/rxjs/src/Observable.ts | 354 + node_modules/rxjs/src/Observer.ts | 36 + node_modules/rxjs/src/Operator.ts | 6 + node_modules/rxjs/src/OuterSubscriber.ts | 23 + node_modules/rxjs/src/README.md | 204 + node_modules/rxjs/src/ReplaySubject.ts | 104 + node_modules/rxjs/src/Rx.global.js | 5 + node_modules/rxjs/src/Rx.ts | 227 + node_modules/rxjs/src/Scheduler.ts | 63 + node_modules/rxjs/src/Subject.ts | 170 + node_modules/rxjs/src/SubjectSubscription.ts | 39 + node_modules/rxjs/src/Subscriber.ts | 279 + node_modules/rxjs/src/Subscription.ts | 222 + node_modules/rxjs/src/WORKSPACE | 1 + .../rxjs/src/add/observable/bindCallback.ts | 10 + .../src/add/observable/bindNodeCallback.ts | 10 + .../rxjs/src/add/observable/combineLatest.ts | 10 + .../rxjs/src/add/observable/concat.ts | 10 + node_modules/rxjs/src/add/observable/defer.ts | 10 + .../rxjs/src/add/observable/dom/ajax.ts | 11 + .../rxjs/src/add/observable/dom/webSocket.ts | 10 + node_modules/rxjs/src/add/observable/empty.ts | 10 + .../rxjs/src/add/observable/forkJoin.ts | 10 + node_modules/rxjs/src/add/observable/from.ts | 10 + .../rxjs/src/add/observable/fromEvent.ts | 10 + .../src/add/observable/fromEventPattern.ts | 10 + .../rxjs/src/add/observable/fromPromise.ts | 10 + .../rxjs/src/add/observable/generate.ts | 10 + node_modules/rxjs/src/add/observable/if.ts | 4 + .../rxjs/src/add/observable/interval.ts | 10 + node_modules/rxjs/src/add/observable/merge.ts | 10 + node_modules/rxjs/src/add/observable/never.ts | 10 + node_modules/rxjs/src/add/observable/of.ts | 10 + .../src/add/observable/onErrorResumeNext.ts | 10 + node_modules/rxjs/src/add/observable/pairs.ts | 10 + node_modules/rxjs/src/add/observable/race.ts | 10 + node_modules/rxjs/src/add/observable/range.ts | 10 + node_modules/rxjs/src/add/observable/throw.ts | 4 + node_modules/rxjs/src/add/observable/timer.ts | 10 + node_modules/rxjs/src/add/observable/using.ts | 10 + node_modules/rxjs/src/add/observable/zip.ts | 10 + node_modules/rxjs/src/add/operator/audit.ts | 10 + .../rxjs/src/add/operator/auditTime.ts | 10 + node_modules/rxjs/src/add/operator/buffer.ts | 11 + .../rxjs/src/add/operator/bufferCount.ts | 11 + .../rxjs/src/add/operator/bufferTime.ts | 11 + .../rxjs/src/add/operator/bufferToggle.ts | 11 + .../rxjs/src/add/operator/bufferWhen.ts | 11 + node_modules/rxjs/src/add/operator/catch.ts | 13 + .../rxjs/src/add/operator/combineAll.ts | 11 + .../rxjs/src/add/operator/combineLatest.ts | 11 + node_modules/rxjs/src/add/operator/concat.ts | 11 + .../rxjs/src/add/operator/concatAll.ts | 11 + .../rxjs/src/add/operator/concatMap.ts | 11 + .../rxjs/src/add/operator/concatMapTo.ts | 11 + node_modules/rxjs/src/add/operator/count.ts | 11 + .../rxjs/src/add/operator/debounce.ts | 11 + .../rxjs/src/add/operator/debounceTime.ts | 11 + .../rxjs/src/add/operator/defaultIfEmpty.ts | 11 + node_modules/rxjs/src/add/operator/delay.ts | 11 + .../rxjs/src/add/operator/delayWhen.ts | 11 + .../rxjs/src/add/operator/dematerialize.ts | 11 + .../rxjs/src/add/operator/distinct.ts | 10 + .../src/add/operator/distinctUntilChanged.ts | 11 + .../add/operator/distinctUntilKeyChanged.ts | 11 + node_modules/rxjs/src/add/operator/do.ts | 13 + .../rxjs/src/add/operator/elementAt.ts | 11 + node_modules/rxjs/src/add/operator/every.ts | 11 + node_modules/rxjs/src/add/operator/exhaust.ts | 11 + .../rxjs/src/add/operator/exhaustMap.ts | 11 + node_modules/rxjs/src/add/operator/expand.ts | 11 + node_modules/rxjs/src/add/operator/filter.ts | 11 + node_modules/rxjs/src/add/operator/finally.ts | 13 + node_modules/rxjs/src/add/operator/find.ts | 11 + .../rxjs/src/add/operator/findIndex.ts | 11 + node_modules/rxjs/src/add/operator/first.ts | 11 + node_modules/rxjs/src/add/operator/groupBy.ts | 11 + .../rxjs/src/add/operator/ignoreElements.ts | 11 + node_modules/rxjs/src/add/operator/isEmpty.ts | 11 + node_modules/rxjs/src/add/operator/last.ts | 11 + node_modules/rxjs/src/add/operator/let.ts | 13 + node_modules/rxjs/src/add/operator/map.ts | 11 + node_modules/rxjs/src/add/operator/mapTo.ts | 11 + .../rxjs/src/add/operator/materialize.ts | 11 + node_modules/rxjs/src/add/operator/max.ts | 11 + node_modules/rxjs/src/add/operator/merge.ts | 11 + .../rxjs/src/add/operator/mergeAll.ts | 11 + .../rxjs/src/add/operator/mergeMap.ts | 13 + .../rxjs/src/add/operator/mergeMapTo.ts | 13 + .../rxjs/src/add/operator/mergeScan.ts | 11 + node_modules/rxjs/src/add/operator/min.ts | 11 + .../rxjs/src/add/operator/multicast.ts | 11 + .../rxjs/src/add/operator/observeOn.ts | 11 + .../src/add/operator/onErrorResumeNext.ts | 10 + .../rxjs/src/add/operator/pairwise.ts | 11 + .../rxjs/src/add/operator/partition.ts | 11 + node_modules/rxjs/src/add/operator/pluck.ts | 11 + node_modules/rxjs/src/add/operator/publish.ts | 11 + .../rxjs/src/add/operator/publishBehavior.ts | 11 + .../rxjs/src/add/operator/publishLast.ts | 11 + .../rxjs/src/add/operator/publishReplay.ts | 11 + node_modules/rxjs/src/add/operator/race.ts | 11 + node_modules/rxjs/src/add/operator/reduce.ts | 11 + node_modules/rxjs/src/add/operator/repeat.ts | 11 + .../rxjs/src/add/operator/repeatWhen.ts | 11 + node_modules/rxjs/src/add/operator/retry.ts | 11 + .../rxjs/src/add/operator/retryWhen.ts | 11 + node_modules/rxjs/src/add/operator/sample.ts | 11 + .../rxjs/src/add/operator/sampleTime.ts | 11 + node_modules/rxjs/src/add/operator/scan.ts | 12 + .../rxjs/src/add/operator/sequenceEqual.ts | 11 + node_modules/rxjs/src/add/operator/share.ts | 11 + .../rxjs/src/add/operator/shareReplay.ts | 11 + node_modules/rxjs/src/add/operator/single.ts | 11 + node_modules/rxjs/src/add/operator/skip.ts | 11 + .../rxjs/src/add/operator/skipLast.ts | 10 + .../rxjs/src/add/operator/skipUntil.ts | 11 + .../rxjs/src/add/operator/skipWhile.ts | 11 + .../rxjs/src/add/operator/startWith.ts | 11 + .../rxjs/src/add/operator/subscribeOn.ts | 11 + node_modules/rxjs/src/add/operator/switch.ts | 13 + .../rxjs/src/add/operator/switchMap.ts | 11 + .../rxjs/src/add/operator/switchMapTo.ts | 11 + node_modules/rxjs/src/add/operator/take.ts | 11 + .../rxjs/src/add/operator/takeLast.ts | 10 + .../rxjs/src/add/operator/takeUntil.ts | 11 + .../rxjs/src/add/operator/takeWhile.ts | 11 + .../rxjs/src/add/operator/throttle.ts | 11 + .../rxjs/src/add/operator/throttleTime.ts | 11 + .../rxjs/src/add/operator/timeInterval.ts | 11 + node_modules/rxjs/src/add/operator/timeout.ts | 11 + .../rxjs/src/add/operator/timeoutWith.ts | 11 + .../rxjs/src/add/operator/timestamp.ts | 10 + node_modules/rxjs/src/add/operator/toArray.ts | 11 + .../rxjs/src/add/operator/toPromise.ts | 2 + node_modules/rxjs/src/add/operator/window.ts | 11 + .../rxjs/src/add/operator/windowCount.ts | 11 + .../rxjs/src/add/operator/windowTime.ts | 11 + .../rxjs/src/add/operator/windowToggle.ts | 11 + .../rxjs/src/add/operator/windowWhen.ts | 11 + .../rxjs/src/add/operator/withLatestFrom.ts | 11 + node_modules/rxjs/src/add/operator/zip.ts | 11 + node_modules/rxjs/src/add/operator/zipAll.ts | 11 + node_modules/rxjs/src/interfaces.ts | 9 + .../src/observable/ArrayLikeObservable.ts | 72 + .../rxjs/src/observable/ArrayObservable.ts | 129 + .../src/observable/BoundCallbackObservable.ts | 281 + .../observable/BoundNodeCallbackObservable.ts | 279 + .../src/observable/ConnectableObservable.ts | 180 + .../rxjs/src/observable/DeferObservable.ts | 94 + .../rxjs/src/observable/EmptyObservable.ts | 83 + .../rxjs/src/observable/ErrorObservable.ts | 85 + .../rxjs/src/observable/ForkJoinObservable.ts | 233 + .../src/observable/FromEventObservable.ts | 241 + .../observable/FromEventPatternObservable.ts | 110 + .../rxjs/src/observable/FromObservable.ts | 115 + .../rxjs/src/observable/GenerateObservable.ts | 295 + .../rxjs/src/observable/IfObservable.ts | 59 + .../rxjs/src/observable/IntervalObservable.ts | 85 + .../rxjs/src/observable/IteratorObservable.ts | 168 + .../rxjs/src/observable/NeverObservable.ts | 53 + .../rxjs/src/observable/PairsObservable.ts | 95 + .../rxjs/src/observable/PromiseObservable.ts | 130 + .../rxjs/src/observable/RangeObservable.ts | 106 + .../rxjs/src/observable/ScalarObservable.ts | 57 + .../src/observable/SubscribeOnObservable.ts | 50 + .../rxjs/src/observable/TimerObservable.ts | 115 + .../rxjs/src/observable/UsingObservable.ts | 57 + .../rxjs/src/observable/bindCallback.ts | 3 + .../rxjs/src/observable/bindNodeCallback.ts | 3 + .../rxjs/src/observable/combineLatest.ts | 161 + node_modules/rxjs/src/observable/concat.ts | 116 + node_modules/rxjs/src/observable/defer.ts | 3 + .../rxjs/src/observable/dom/AjaxObservable.ts | 488 + .../rxjs/src/observable/dom/MiscJSDoc.ts | 73 + .../src/observable/dom/WebSocketSubject.ts | 280 + node_modules/rxjs/src/observable/dom/ajax.ts | 3 + .../rxjs/src/observable/dom/webSocket.ts | 3 + node_modules/rxjs/src/observable/empty.ts | 3 + node_modules/rxjs/src/observable/forkJoin.ts | 3 + node_modules/rxjs/src/observable/from.ts | 3 + node_modules/rxjs/src/observable/fromEvent.ts | 3 + .../rxjs/src/observable/fromEventPattern.ts | 3 + .../rxjs/src/observable/fromPromise.ts | 3 + node_modules/rxjs/src/observable/generate.ts | 3 + node_modules/rxjs/src/observable/if.ts | 3 + node_modules/rxjs/src/observable/interval.ts | 3 + node_modules/rxjs/src/observable/merge.ts | 101 + node_modules/rxjs/src/observable/never.ts | 3 + node_modules/rxjs/src/observable/of.ts | 3 + .../rxjs/src/observable/onErrorResumeNext.ts | 3 + node_modules/rxjs/src/observable/pairs.ts | 3 + node_modules/rxjs/src/observable/race.ts | 100 + node_modules/rxjs/src/observable/range.ts | 3 + node_modules/rxjs/src/observable/throw.ts | 3 + node_modules/rxjs/src/observable/timer.ts | 3 + node_modules/rxjs/src/observable/using.ts | 3 + node_modules/rxjs/src/observable/zip.ts | 3 + node_modules/rxjs/src/operator/audit.ts | 47 + node_modules/rxjs/src/operator/auditTime.ts | 50 + node_modules/rxjs/src/operator/buffer.ts | 39 + node_modules/rxjs/src/operator/bufferCount.ts | 48 + node_modules/rxjs/src/operator/bufferTime.ts | 76 + .../rxjs/src/operator/bufferToggle.ts | 46 + node_modules/rxjs/src/operator/bufferWhen.ts | 40 + node_modules/rxjs/src/operator/catch.ts | 66 + node_modules/rxjs/src/operator/combineAll.ts | 47 + .../rxjs/src/operator/combineLatest.ts | 68 + node_modules/rxjs/src/operator/concat.ts | 69 + node_modules/rxjs/src/operator/concatAll.ts | 60 + node_modules/rxjs/src/operator/concatMap.ts | 71 + node_modules/rxjs/src/operator/concatMapTo.ts | 68 + node_modules/rxjs/src/operator/count.ts | 54 + node_modules/rxjs/src/operator/debounce.ts | 49 + .../rxjs/src/operator/debounceTime.ts | 55 + .../rxjs/src/operator/defaultIfEmpty.ts | 42 + node_modules/rxjs/src/operator/delay.ts | 48 + node_modules/rxjs/src/operator/delayWhen.ts | 53 + .../rxjs/src/operator/dematerialize.ts | 48 + node_modules/rxjs/src/operator/distinct.ts | 53 + .../rxjs/src/operator/distinctUntilChanged.ts | 51 + .../src/operator/distinctUntilKeyChanged.ts | 69 + node_modules/rxjs/src/operator/do.ts | 58 + node_modules/rxjs/src/operator/elementAt.ts | 49 + node_modules/rxjs/src/operator/every.ts | 22 + node_modules/rxjs/src/operator/exhaust.ts | 42 + node_modules/rxjs/src/operator/exhaustMap.ts | 58 + node_modules/rxjs/src/operator/expand.ts | 61 + node_modules/rxjs/src/operator/filter.ts | 56 + node_modules/rxjs/src/operator/finally.ts | 15 + node_modules/rxjs/src/operator/find.ts | 49 + node_modules/rxjs/src/operator/findIndex.ts | 40 + node_modules/rxjs/src/operator/first.ts | 78 + node_modules/rxjs/src/operator/groupBy.ts | 86 + .../rxjs/src/operator/ignoreElements.ts | 16 + node_modules/rxjs/src/operator/isEmpty.ts | 16 + node_modules/rxjs/src/operator/last.ts | 47 + node_modules/rxjs/src/operator/let.ts | 11 + node_modules/rxjs/src/operator/map.ts | 39 + node_modules/rxjs/src/operator/mapTo.ts | 32 + node_modules/rxjs/src/operator/materialize.ts | 52 + node_modules/rxjs/src/operator/max.ts | 37 + node_modules/rxjs/src/operator/merge.ts | 72 + node_modules/rxjs/src/operator/mergeAll.ts | 54 + node_modules/rxjs/src/operator/mergeMap.ts | 71 + node_modules/rxjs/src/operator/mergeMapTo.ts | 56 + node_modules/rxjs/src/operator/mergeScan.ts | 41 + node_modules/rxjs/src/operator/min.ts | 37 + node_modules/rxjs/src/operator/multicast.ts | 110 + node_modules/rxjs/src/operator/observeOn.ts | 53 + .../rxjs/src/operator/onErrorResumeNext.ts | 80 + node_modules/rxjs/src/operator/pairwise.ts | 41 + node_modules/rxjs/src/operator/partition.ts | 46 + node_modules/rxjs/src/operator/pluck.ts | 32 + node_modules/rxjs/src/operator/publish.ts | 29 + .../rxjs/src/operator/publishBehavior.ts | 13 + node_modules/rxjs/src/operator/publishLast.ts | 12 + .../rxjs/src/operator/publishReplay.ts | 28 + node_modules/rxjs/src/operator/race.ts | 24 + node_modules/rxjs/src/operator/reduce.ts | 65 + node_modules/rxjs/src/operator/repeat.ts | 19 + node_modules/rxjs/src/operator/repeatWhen.ts | 20 + node_modules/rxjs/src/operator/retry.ts | 22 + node_modules/rxjs/src/operator/retryWhen.ts | 19 + node_modules/rxjs/src/operator/sample.ts | 40 + node_modules/rxjs/src/operator/sampleTime.ts | 44 + node_modules/rxjs/src/operator/scan.ts | 53 + .../rxjs/src/operator/sequenceEqual.ts | 59 + node_modules/rxjs/src/operator/share.ts | 22 + node_modules/rxjs/src/operator/shareReplay.ts | 12 + node_modules/rxjs/src/operator/single.ts | 22 + node_modules/rxjs/src/operator/skip.ts | 17 + node_modules/rxjs/src/operator/skipLast.ts | 38 + node_modules/rxjs/src/operator/skipUntil.ts | 18 + node_modules/rxjs/src/operator/skipWhile.ts | 18 + node_modules/rxjs/src/operator/startWith.ts | 31 + node_modules/rxjs/src/operator/subscribeOn.ts | 19 + node_modules/rxjs/src/operator/switch.ts | 48 + node_modules/rxjs/src/operator/switchMap.ts | 60 + node_modules/rxjs/src/operator/switchMapTo.ts | 57 + node_modules/rxjs/src/operator/take.ts | 39 + node_modules/rxjs/src/operator/takeLast.ts | 43 + node_modules/rxjs/src/operator/takeUntil.ts | 39 + node_modules/rxjs/src/operator/takeWhile.ts | 42 + node_modules/rxjs/src/operator/throttle.ts | 48 + .../rxjs/src/operator/throttleTime.ts | 51 + .../rxjs/src/operator/timeInterval.ts | 15 + node_modules/rxjs/src/operator/timeout.ts | 75 + node_modules/rxjs/src/operator/timeoutWith.ts | 62 + node_modules/rxjs/src/operator/timestamp.ts | 14 + node_modules/rxjs/src/operator/toArray.ts | 30 + node_modules/rxjs/src/operator/toPromise.ts | 5 + node_modules/rxjs/src/operator/window.ts | 43 + node_modules/rxjs/src/operator/windowCount.ts | 56 + node_modules/rxjs/src/operator/windowTime.ts | 102 + .../rxjs/src/operator/windowToggle.ts | 49 + node_modules/rxjs/src/operator/windowWhen.ts | 45 + .../rxjs/src/operator/withLatestFrom.ts | 61 + node_modules/rxjs/src/operator/zip.ts | 30 + node_modules/rxjs/src/operator/zipAll.ts | 12 + node_modules/rxjs/src/operators.ts | 108 + node_modules/rxjs/src/operators/audit.ts | 122 + node_modules/rxjs/src/operators/auditTime.ts | 51 + node_modules/rxjs/src/operators/buffer.ts | 81 + .../rxjs/src/operators/bufferCount.ts | 145 + node_modules/rxjs/src/operators/bufferTime.ts | 237 + .../rxjs/src/operators/bufferToggle.ts | 174 + node_modules/rxjs/src/operators/bufferWhen.ts | 136 + node_modules/rxjs/src/operators/catchError.ts | 115 + node_modules/rxjs/src/operators/combineAll.ts | 7 + .../rxjs/src/operators/combineLatest.ts | 169 + node_modules/rxjs/src/operators/concat.ts | 70 + node_modules/rxjs/src/operators/concatAll.ts | 55 + node_modules/rxjs/src/operators/concatMap.ts | 72 + .../rxjs/src/operators/concatMapTo.ts | 71 + node_modules/rxjs/src/operators/count.ts | 111 + node_modules/rxjs/src/operators/debounce.ts | 137 + .../rxjs/src/operators/debounceTime.ts | 119 + .../rxjs/src/operators/defaultIfEmpty.ts | 78 + node_modules/rxjs/src/operators/delay.ts | 149 + node_modules/rxjs/src/operators/delayWhen.ts | 205 + .../rxjs/src/operators/dematerialize.ts | 72 + node_modules/rxjs/src/operators/distinct.ts | 124 + .../src/operators/distinctUntilChanged.ts | 117 + .../src/operators/distinctUntilKeyChanged.ts | 68 + node_modules/rxjs/src/operators/elementAt.ts | 96 + node_modules/rxjs/src/operators/every.ts | 75 + node_modules/rxjs/src/operators/exhaust.ts | 88 + node_modules/rxjs/src/operators/exhaustMap.ts | 152 + node_modules/rxjs/src/operators/expand.ts | 169 + node_modules/rxjs/src/operators/filter.ts | 99 + node_modules/rxjs/src/operators/finalize.ts | 38 + node_modules/rxjs/src/operators/find.ts | 106 + node_modules/rxjs/src/operators/findIndex.ts | 41 + node_modules/rxjs/src/operators/first.ts | 166 + node_modules/rxjs/src/operators/groupBy.ts | 295 + .../rxjs/src/operators/ignoreElements.ts | 38 + node_modules/rxjs/src/operators/isEmpty.ts | 40 + node_modules/rxjs/src/operators/last.ts | 133 + node_modules/rxjs/src/operators/map.ts | 85 + node_modules/rxjs/src/operators/mapTo.ts | 66 + .../rxjs/src/operators/materialize.ts | 88 + node_modules/rxjs/src/operators/max.ts | 41 + node_modules/rxjs/src/operators/merge.ts | 72 + node_modules/rxjs/src/operators/mergeAll.ts | 53 + node_modules/rxjs/src/operators/mergeMap.ts | 179 + node_modules/rxjs/src/operators/mergeMapTo.ts | 168 + node_modules/rxjs/src/operators/mergeScan.ts | 133 + node_modules/rxjs/src/operators/min.ts | 40 + node_modules/rxjs/src/operators/multicast.ts | 68 + node_modules/rxjs/src/operators/observeOn.ts | 115 + .../rxjs/src/operators/onErrorResumeNext.ts | 156 + node_modules/rxjs/src/operators/pairwise.ts | 73 + node_modules/rxjs/src/operators/partition.ts | 53 + node_modules/rxjs/src/operators/pluck.ts | 54 + node_modules/rxjs/src/operators/publish.ts | 30 + .../rxjs/src/operators/publishBehavior.ts | 15 + .../rxjs/src/operators/publishLast.ts | 9 + .../rxjs/src/operators/publishReplay.ts | 27 + node_modules/rxjs/src/operators/race.ts | 31 + node_modules/rxjs/src/operators/reduce.ts | 74 + node_modules/rxjs/src/operators/refCount.ts | 94 + node_modules/rxjs/src/operators/repeat.ts | 63 + node_modules/rxjs/src/operators/repeatWhen.ts | 122 + node_modules/rxjs/src/operators/retry.ts | 60 + node_modules/rxjs/src/operators/retryWhen.ts | 118 + node_modules/rxjs/src/operators/sample.ts | 91 + node_modules/rxjs/src/operators/sampleTime.ts | 94 + node_modules/rxjs/src/operators/scan.ts | 115 + .../rxjs/src/operators/sequenceEqual.ts | 163 + node_modules/rxjs/src/operators/share.ts | 26 + .../rxjs/src/operators/shareReplay.ts | 51 + node_modules/rxjs/src/operators/single.ts | 95 + node_modules/rxjs/src/operators/skip.ts | 48 + node_modules/rxjs/src/operators/skipLast.ts | 91 + node_modules/rxjs/src/operators/skipUntil.ts | 77 + node_modules/rxjs/src/operators/skipWhile.ts | 65 + node_modules/rxjs/src/operators/startWith.ts | 52 + .../rxjs/src/operators/subscribeOn.ts | 35 + node_modules/rxjs/src/operators/switchAll.ts | 8 + node_modules/rxjs/src/operators/switchMap.ts | 155 + .../rxjs/src/operators/switchMapTo.ts | 141 + node_modules/rxjs/src/operators/take.ts | 87 + node_modules/rxjs/src/operators/takeLast.ts | 109 + node_modules/rxjs/src/operators/takeUntil.ts | 80 + node_modules/rxjs/src/operators/takeWhile.ts | 89 + node_modules/rxjs/src/operators/tap.ts | 122 + node_modules/rxjs/src/operators/throttle.ts | 160 + .../rxjs/src/operators/throttleTime.ts | 123 + .../rxjs/src/operators/timeInterval.ts | 49 + node_modules/rxjs/src/operators/timeout.ts | 148 + .../rxjs/src/operators/timeoutWith.ts | 141 + node_modules/rxjs/src/operators/timestamp.ts | 21 + node_modules/rxjs/src/operators/toArray.ts | 14 + node_modules/rxjs/src/operators/window.ts | 122 + .../rxjs/src/operators/windowCount.ts | 134 + node_modules/rxjs/src/operators/windowTime.ts | 262 + .../rxjs/src/operators/windowToggle.ts | 206 + node_modules/rxjs/src/operators/windowWhen.ts | 140 + .../rxjs/src/operators/withLatestFrom.ts | 149 + node_modules/rxjs/src/operators/zip.ts | 344 + node_modules/rxjs/src/operators/zipAll.ts | 7 + node_modules/rxjs/src/scheduler/Action.ts | 35 + .../src/scheduler/AnimationFrameAction.ts | 48 + .../src/scheduler/AnimationFrameScheduler.ts | 31 + node_modules/rxjs/src/scheduler/AsapAction.ts | 48 + .../rxjs/src/scheduler/AsapScheduler.ts | 31 + .../rxjs/src/scheduler/AsyncAction.ts | 154 + .../rxjs/src/scheduler/AsyncScheduler.ts | 47 + .../rxjs/src/scheduler/QueueAction.ts | 43 + .../rxjs/src/scheduler/QueueScheduler.ts | 4 + .../src/scheduler/VirtualTimeScheduler.ts | 105 + .../rxjs/src/scheduler/animationFrame.ts | 35 + node_modules/rxjs/src/scheduler/asap.ts | 39 + node_modules/rxjs/src/scheduler/async.ts | 47 + node_modules/rxjs/src/scheduler/queue.ts | 66 + node_modules/rxjs/src/symbol/iterator.ts | 38 + node_modules/rxjs/src/symbol/observable.ts | 26 + node_modules/rxjs/src/symbol/rxSubscriber.ts | 11 + .../rxjs/src/testing/ColdObservable.ts | 47 + .../rxjs/src/testing/HotObservable.ts | 52 + .../rxjs/src/testing/SubscriptionLog.ts | 5 + .../rxjs/src/testing/SubscriptionLoggable.ts | 21 + node_modules/rxjs/src/testing/TestMessage.ts | 6 + .../rxjs/src/testing/TestScheduler.ts | 244 + node_modules/rxjs/src/tsconfig.json | 32 + node_modules/rxjs/src/util/AnimationFrame.ts | 29 + .../rxjs/src/util/ArgumentOutOfRangeError.ts | 18 + node_modules/rxjs/src/util/EmptyError.ts | 18 + node_modules/rxjs/src/util/FastMap.ts | 30 + node_modules/rxjs/src/util/Immediate.ts | 238 + node_modules/rxjs/src/util/Map.ts | 4 + node_modules/rxjs/src/util/MapPolyfill.ts | 43 + .../rxjs/src/util/ObjectUnsubscribedError.ts | 17 + node_modules/rxjs/src/util/Set.ts | 40 + node_modules/rxjs/src/util/TimeoutError.ts | 15 + .../rxjs/src/util/UnsubscriptionError.ts | 15 + node_modules/rxjs/src/util/applyMixins.ts | 10 + node_modules/rxjs/src/util/assign.ts | 20 + node_modules/rxjs/src/util/errorObject.ts | 2 + node_modules/rxjs/src/util/identity.ts | 3 + node_modules/rxjs/src/util/isArray.ts | 1 + node_modules/rxjs/src/util/isArrayLike.ts | 1 + node_modules/rxjs/src/util/isDate.ts | 3 + node_modules/rxjs/src/util/isFunction.ts | 3 + node_modules/rxjs/src/util/isNumeric.ts | 9 + node_modules/rxjs/src/util/isObject.ts | 3 + node_modules/rxjs/src/util/isPromise.ts | 3 + node_modules/rxjs/src/util/isScheduler.ts | 4 + node_modules/rxjs/src/util/noop.ts | 2 + node_modules/rxjs/src/util/not.ts | 8 + node_modules/rxjs/src/util/pipe.ts | 34 + node_modules/rxjs/src/util/root.ts | 31 + .../rxjs/src/util/subscribeToResult.ts | 85 + node_modules/rxjs/src/util/toSubscriber.ts | 25 + node_modules/rxjs/src/util/tryCatch.ts | 17 + node_modules/rxjs/symbol/iterator.d.ts | 6 + node_modules/rxjs/symbol/iterator.js | 38 + node_modules/rxjs/symbol/iterator.js.map | 1 + node_modules/rxjs/symbol/observable.d.ts | 6 + node_modules/rxjs/symbol/observable.js | 26 + node_modules/rxjs/symbol/observable.js.map | 1 + node_modules/rxjs/symbol/rxSubscriber.d.ts | 5 + node_modules/rxjs/symbol/rxSubscriber.js | 10 + node_modules/rxjs/symbol/rxSubscriber.js.map | 1 + node_modules/rxjs/testing/ColdObservable.d.ts | 20 + node_modules/rxjs/testing/ColdObservable.js | 46 + .../rxjs/testing/ColdObservable.js.map | 1 + node_modules/rxjs/testing/HotObservable.d.ts | 22 + node_modules/rxjs/testing/HotObservable.js | 48 + .../rxjs/testing/HotObservable.js.map | 1 + .../rxjs/testing/SubscriptionLog.d.ts | 5 + node_modules/rxjs/testing/SubscriptionLog.js | 11 + .../rxjs/testing/SubscriptionLog.js.map | 1 + .../rxjs/testing/SubscriptionLoggable.d.ts | 8 + .../rxjs/testing/SubscriptionLoggable.js | 19 + .../rxjs/testing/SubscriptionLoggable.js.map | 1 + node_modules/rxjs/testing/TestMessage.d.ts | 5 + node_modules/rxjs/testing/TestMessage.js | 2 + node_modules/rxjs/testing/TestMessage.js.map | 1 + node_modules/rxjs/testing/TestScheduler.d.ts | 28 + node_modules/rxjs/testing/TestScheduler.js | 223 + .../rxjs/testing/TestScheduler.js.map | 1 + node_modules/rxjs/util/AnimationFrame.d.ts | 6 + node_modules/rxjs/util/AnimationFrame.js | 34 + node_modules/rxjs/util/AnimationFrame.js.map | 1 + .../rxjs/util/ArgumentOutOfRangeError.d.ts | 13 + .../rxjs/util/ArgumentOutOfRangeError.js | 28 + .../rxjs/util/ArgumentOutOfRangeError.js.map | 1 + node_modules/rxjs/util/EmptyError.d.ts | 13 + node_modules/rxjs/util/EmptyError.js | 28 + node_modules/rxjs/util/EmptyError.js.map | 1 + node_modules/rxjs/util/FastMap.d.ts | 8 + node_modules/rxjs/util/FastMap.js | 31 + node_modules/rxjs/util/FastMap.js.map | 1 + node_modules/rxjs/util/Immediate.d.ts | 23 + node_modules/rxjs/util/Immediate.js | 209 + node_modules/rxjs/util/Immediate.js.map | 1 + node_modules/rxjs/util/Map.d.ts | 1 + node_modules/rxjs/util/Map.js | 5 + node_modules/rxjs/util/Map.js.map | 1 + node_modules/rxjs/util/MapPolyfill.d.ts | 10 + node_modules/rxjs/util/MapPolyfill.js | 47 + node_modules/rxjs/util/MapPolyfill.js.map | 1 + .../rxjs/util/ObjectUnsubscribedError.d.ts | 12 + .../rxjs/util/ObjectUnsubscribedError.js | 27 + .../rxjs/util/ObjectUnsubscribedError.js.map | 1 + node_modules/rxjs/util/Set.d.ts | 11 + node_modules/rxjs/util/Set.js | 33 + node_modules/rxjs/util/Set.js.map | 1 + node_modules/rxjs/util/TimeoutError.d.ts | 10 + node_modules/rxjs/util/TimeoutError.js | 25 + node_modules/rxjs/util/TimeoutError.js.map | 1 + .../rxjs/util/UnsubscriptionError.d.ts | 8 + node_modules/rxjs/util/UnsubscriptionError.js | 25 + .../rxjs/util/UnsubscriptionError.js.map | 1 + node_modules/rxjs/util/applyMixins.d.ts | 1 + node_modules/rxjs/util/applyMixins.js | 13 + node_modules/rxjs/util/applyMixins.js.map | 1 + node_modules/rxjs/util/assign.d.ts | 3 + node_modules/rxjs/util/assign.js | 26 + node_modules/rxjs/util/assign.js.map | 1 + node_modules/rxjs/util/errorObject.d.ts | 1 + node_modules/rxjs/util/errorObject.js | 4 + node_modules/rxjs/util/errorObject.js.map | 1 + node_modules/rxjs/util/identity.d.ts | 1 + node_modules/rxjs/util/identity.js | 6 + node_modules/rxjs/util/identity.js.map | 1 + node_modules/rxjs/util/isArray.d.ts | 1 + node_modules/rxjs/util/isArray.js | 3 + node_modules/rxjs/util/isArray.js.map | 1 + node_modules/rxjs/util/isArrayLike.d.ts | 1 + node_modules/rxjs/util/isArrayLike.js | 3 + node_modules/rxjs/util/isArrayLike.js.map | 1 + node_modules/rxjs/util/isDate.d.ts | 1 + node_modules/rxjs/util/isDate.js | 6 + node_modules/rxjs/util/isDate.js.map | 1 + node_modules/rxjs/util/isFunction.d.ts | 1 + node_modules/rxjs/util/isFunction.js | 6 + node_modules/rxjs/util/isFunction.js.map | 1 + node_modules/rxjs/util/isNumeric.d.ts | 1 + node_modules/rxjs/util/isNumeric.js | 12 + node_modules/rxjs/util/isNumeric.js.map | 1 + node_modules/rxjs/util/isObject.d.ts | 1 + node_modules/rxjs/util/isObject.js | 6 + node_modules/rxjs/util/isObject.js.map | 1 + node_modules/rxjs/util/isPromise.d.ts | 1 + node_modules/rxjs/util/isPromise.js | 6 + node_modules/rxjs/util/isPromise.js.map | 1 + node_modules/rxjs/util/isScheduler.d.ts | 2 + node_modules/rxjs/util/isScheduler.js | 6 + node_modules/rxjs/util/isScheduler.js.map | 1 + node_modules/rxjs/util/noop.d.ts | 1 + node_modules/rxjs/util/noop.js | 5 + node_modules/rxjs/util/noop.js.map | 1 + node_modules/rxjs/util/not.d.ts | 1 + node_modules/rxjs/util/not.js | 11 + node_modules/rxjs/util/not.js.map | 1 + node_modules/rxjs/util/pipe.d.ts | 12 + node_modules/rxjs/util/pipe.js | 25 + node_modules/rxjs/util/pipe.js.map | 1 + node_modules/rxjs/util/root.d.ts | 2 + node_modules/rxjs/util/root.js | 19 + node_modules/rxjs/util/root.js.map | 1 + node_modules/rxjs/util/subscribeToResult.d.ts | 3 + node_modules/rxjs/util/subscribeToResult.js | 79 + .../rxjs/util/subscribeToResult.js.map | 1 + node_modules/rxjs/util/toSubscriber.d.ts | 3 + node_modules/rxjs/util/toSubscriber.js | 20 + node_modules/rxjs/util/toSubscriber.js.map | 1 + node_modules/rxjs/util/tryCatch.d.ts | 1 + node_modules/rxjs/util/tryCatch.js | 19 + node_modules/rxjs/util/tryCatch.js.map | 1 + node_modules/signal-exit/CHANGELOG.md | 27 + node_modules/signal-exit/LICENSE.txt | 16 + node_modules/signal-exit/README.md | 40 + node_modules/signal-exit/index.js | 157 + node_modules/signal-exit/package.json | 66 + node_modules/signal-exit/signals.js | 53 + node_modules/string-width/index.js | 36 + node_modules/string-width/license | 9 + node_modules/string-width/package.json | 87 + node_modules/string-width/readme.md | 42 + node_modules/strip-ansi/index.js | 4 + node_modules/strip-ansi/license | 9 + node_modules/strip-ansi/package.json | 85 + node_modules/strip-ansi/readme.md | 39 + node_modules/supports-color/browser.js | 5 + node_modules/supports-color/index.js | 135 + node_modules/supports-color/license | 9 + node_modules/supports-color/package.json | 85 + node_modules/supports-color/readme.md | 66 + node_modules/symbol-observable/CHANGELOG.md | 75 + node_modules/symbol-observable/es/index.js | 12 + node_modules/symbol-observable/es/ponyfill.js | 17 + node_modules/symbol-observable/index.d.ts | 2 + node_modules/symbol-observable/index.js | 1 + node_modules/symbol-observable/lib/index.js | 22 + .../symbol-observable/lib/ponyfill.js | 23 + node_modules/symbol-observable/license | 22 + node_modules/symbol-observable/package.json | 77 + node_modules/symbol-observable/readme.md | 31 + node_modules/through/.travis.yml | 5 + node_modules/through/LICENSE.APACHE2 | 15 + node_modules/through/LICENSE.MIT | 24 + node_modules/through/index.js | 108 + node_modules/through/package.json | 68 + node_modules/through/readme.markdown | 64 + node_modules/through/test/async.js | 28 + node_modules/through/test/auto-destroy.js | 30 + node_modules/through/test/buffering.js | 71 + node_modules/through/test/end.js | 45 + node_modules/through/test/index.js | 133 + node_modules/tmp/LICENSE | 21 + node_modules/tmp/README.md | 314 + node_modules/tmp/lib/tmp.js | 611 + node_modules/tmp/package.json | 70 + package-lock.json | 228 +- 4933 files changed, 187532 insertions(+), 58 deletions(-) create mode 100644 node_modules/ansi-escapes/index.js create mode 100644 node_modules/ansi-escapes/license create mode 100644 node_modules/ansi-escapes/package.json create mode 100644 node_modules/ansi-escapes/readme.md create mode 100644 node_modules/ansi-regex/index.js create mode 100644 node_modules/ansi-regex/license create mode 100644 node_modules/ansi-regex/package.json create mode 100644 node_modules/ansi-regex/readme.md create mode 100644 node_modules/ansi-styles/index.js create mode 100644 node_modules/ansi-styles/license create mode 100644 node_modules/ansi-styles/package.json create mode 100644 node_modules/ansi-styles/readme.md create mode 100644 node_modules/chalk/index.js create mode 100644 node_modules/chalk/license create mode 100644 node_modules/chalk/package.json create mode 100644 node_modules/chalk/readme.md create mode 100644 node_modules/chalk/templates.js create mode 100644 node_modules/chalk/types/index.d.ts create mode 100644 node_modules/chardet/.npmignore create mode 100644 node_modules/chardet/.travis.yml create mode 100644 node_modules/chardet/LICENSE create mode 100644 node_modules/chardet/README.md create mode 100644 node_modules/chardet/encoding/iso2022.js create mode 100644 node_modules/chardet/encoding/mbcs.js create mode 100644 node_modules/chardet/encoding/sbcs.js create mode 100644 node_modules/chardet/encoding/unicode.js create mode 100644 node_modules/chardet/encoding/utf8.js create mode 100644 node_modules/chardet/index.js create mode 100644 node_modules/chardet/match.js create mode 100644 node_modules/chardet/package.json create mode 100644 node_modules/chardet/yarn.lock create mode 100644 node_modules/cli-cursor/index.js create mode 100644 node_modules/cli-cursor/license create mode 100644 node_modules/cli-cursor/package.json create mode 100644 node_modules/cli-cursor/readme.md create mode 100644 node_modules/cli-width/.npmignore create mode 100644 node_modules/cli-width/.travis.yml create mode 100644 node_modules/cli-width/CHANGELOG.md create mode 100644 node_modules/cli-width/LICENSE create mode 100644 node_modules/cli-width/README.md create mode 100644 node_modules/cli-width/index.js create mode 100644 node_modules/cli-width/package.json create mode 100644 node_modules/color-convert/CHANGELOG.md create mode 100644 node_modules/color-convert/LICENSE create mode 100644 node_modules/color-convert/README.md create mode 100644 node_modules/color-convert/conversions.js create mode 100644 node_modules/color-convert/index.js create mode 100644 node_modules/color-convert/package.json create mode 100644 node_modules/color-convert/route.js create mode 100644 node_modules/color-name/.eslintrc.json create mode 100644 node_modules/color-name/.npmignore create mode 100644 node_modules/color-name/LICENSE create mode 100644 node_modules/color-name/README.md create mode 100644 node_modules/color-name/index.js create mode 100644 node_modules/color-name/package.json create mode 100644 node_modules/color-name/test.js create mode 100644 node_modules/escape-string-regexp/index.js create mode 100644 node_modules/escape-string-regexp/license create mode 100644 node_modules/escape-string-regexp/package.json create mode 100644 node_modules/escape-string-regexp/readme.md create mode 100644 node_modules/external-editor/LICENSE create mode 100644 node_modules/external-editor/README.md create mode 100644 node_modules/external-editor/example_async.js create mode 100644 node_modules/external-editor/example_sync.js create mode 100644 node_modules/external-editor/main/errors/CreateFileError.js create mode 100644 node_modules/external-editor/main/errors/LaunchEditorError.js create mode 100644 node_modules/external-editor/main/errors/ReadFileError.js create mode 100644 node_modules/external-editor/main/errors/RemoveFileError.js create mode 100644 node_modules/external-editor/main/index.js create mode 100644 node_modules/external-editor/package.json create mode 100644 node_modules/figures/index.js create mode 100644 node_modules/figures/license create mode 100644 node_modules/figures/package.json create mode 100644 node_modules/figures/readme.md create mode 100644 node_modules/has-flag/index.js create mode 100644 node_modules/has-flag/license create mode 100644 node_modules/has-flag/package.json create mode 100644 node_modules/has-flag/readme.md create mode 100644 node_modules/iconv-lite/.npmignore create mode 100644 node_modules/iconv-lite/.travis.yml create mode 100644 node_modules/iconv-lite/Changelog.md create mode 100644 node_modules/iconv-lite/LICENSE create mode 100644 node_modules/iconv-lite/README.md create mode 100644 node_modules/iconv-lite/encodings/dbcs-codec.js create mode 100644 node_modules/iconv-lite/encodings/dbcs-data.js create mode 100644 node_modules/iconv-lite/encodings/index.js create mode 100644 node_modules/iconv-lite/encodings/internal.js create mode 100644 node_modules/iconv-lite/encodings/sbcs-codec.js create mode 100644 node_modules/iconv-lite/encodings/sbcs-data-generated.js create mode 100644 node_modules/iconv-lite/encodings/sbcs-data.js create mode 100644 node_modules/iconv-lite/encodings/tables/big5-added.json create mode 100644 node_modules/iconv-lite/encodings/tables/cp936.json create mode 100644 node_modules/iconv-lite/encodings/tables/cp949.json create mode 100644 node_modules/iconv-lite/encodings/tables/cp950.json create mode 100644 node_modules/iconv-lite/encodings/tables/eucjp.json create mode 100644 node_modules/iconv-lite/encodings/tables/gb18030-ranges.json create mode 100644 node_modules/iconv-lite/encodings/tables/gbk-added.json create mode 100644 node_modules/iconv-lite/encodings/tables/shiftjis.json create mode 100644 node_modules/iconv-lite/encodings/utf16.js create mode 100644 node_modules/iconv-lite/encodings/utf7.js create mode 100644 node_modules/iconv-lite/lib/bom-handling.js create mode 100644 node_modules/iconv-lite/lib/extend-node.js create mode 100644 node_modules/iconv-lite/lib/index.d.ts create mode 100644 node_modules/iconv-lite/lib/index.js create mode 100644 node_modules/iconv-lite/lib/streams.js create mode 100644 node_modules/iconv-lite/package.json create mode 100644 node_modules/inquirer/README.md create mode 100644 node_modules/inquirer/lib/inquirer.js create mode 100644 node_modules/inquirer/lib/objects/choice.js create mode 100644 node_modules/inquirer/lib/objects/choices.js create mode 100644 node_modules/inquirer/lib/objects/separator.js create mode 100644 node_modules/inquirer/lib/prompts/base.js create mode 100644 node_modules/inquirer/lib/prompts/checkbox.js create mode 100644 node_modules/inquirer/lib/prompts/confirm.js create mode 100644 node_modules/inquirer/lib/prompts/editor.js create mode 100644 node_modules/inquirer/lib/prompts/expand.js create mode 100644 node_modules/inquirer/lib/prompts/input.js create mode 100644 node_modules/inquirer/lib/prompts/list.js create mode 100644 node_modules/inquirer/lib/prompts/password.js create mode 100644 node_modules/inquirer/lib/prompts/rawlist.js create mode 100644 node_modules/inquirer/lib/ui/baseUI.js create mode 100644 node_modules/inquirer/lib/ui/bottom-bar.js create mode 100644 node_modules/inquirer/lib/ui/prompt.js create mode 100644 node_modules/inquirer/lib/utils/events.js create mode 100644 node_modules/inquirer/lib/utils/paginator.js create mode 100644 node_modules/inquirer/lib/utils/readline.js create mode 100644 node_modules/inquirer/lib/utils/screen-manager.js create mode 100644 node_modules/inquirer/lib/utils/utils.js create mode 100644 node_modules/inquirer/package.json create mode 100644 node_modules/is-fullwidth-code-point/index.js create mode 100644 node_modules/is-fullwidth-code-point/license create mode 100644 node_modules/is-fullwidth-code-point/package.json create mode 100644 node_modules/is-fullwidth-code-point/readme.md create mode 100644 node_modules/is-promise/.npmignore create mode 100644 node_modules/is-promise/.travis.yml create mode 100644 node_modules/is-promise/LICENSE create mode 100644 node_modules/is-promise/index.js create mode 100644 node_modules/is-promise/package.json create mode 100644 node_modules/is-promise/readme.md create mode 100644 node_modules/lodash/LICENSE create mode 100644 node_modules/lodash/README.md create mode 100644 node_modules/lodash/_DataView.js create mode 100644 node_modules/lodash/_Hash.js create mode 100644 node_modules/lodash/_LazyWrapper.js create mode 100644 node_modules/lodash/_ListCache.js create mode 100644 node_modules/lodash/_LodashWrapper.js create mode 100644 node_modules/lodash/_Map.js create mode 100644 node_modules/lodash/_MapCache.js create mode 100644 node_modules/lodash/_Promise.js create mode 100644 node_modules/lodash/_Set.js create mode 100644 node_modules/lodash/_SetCache.js create mode 100644 node_modules/lodash/_Stack.js create mode 100644 node_modules/lodash/_Symbol.js create mode 100644 node_modules/lodash/_Uint8Array.js create mode 100644 node_modules/lodash/_WeakMap.js create mode 100644 node_modules/lodash/_apply.js create mode 100644 node_modules/lodash/_arrayAggregator.js create mode 100644 node_modules/lodash/_arrayEach.js create mode 100644 node_modules/lodash/_arrayEachRight.js create mode 100644 node_modules/lodash/_arrayEvery.js create mode 100644 node_modules/lodash/_arrayFilter.js create mode 100644 node_modules/lodash/_arrayIncludes.js create mode 100644 node_modules/lodash/_arrayIncludesWith.js create mode 100644 node_modules/lodash/_arrayLikeKeys.js create mode 100644 node_modules/lodash/_arrayMap.js create mode 100644 node_modules/lodash/_arrayPush.js create mode 100644 node_modules/lodash/_arrayReduce.js create mode 100644 node_modules/lodash/_arrayReduceRight.js create mode 100644 node_modules/lodash/_arraySample.js create mode 100644 node_modules/lodash/_arraySampleSize.js create mode 100644 node_modules/lodash/_arrayShuffle.js create mode 100644 node_modules/lodash/_arraySome.js create mode 100644 node_modules/lodash/_asciiSize.js create mode 100644 node_modules/lodash/_asciiToArray.js create mode 100644 node_modules/lodash/_asciiWords.js create mode 100644 node_modules/lodash/_assignMergeValue.js create mode 100644 node_modules/lodash/_assignValue.js create mode 100644 node_modules/lodash/_assocIndexOf.js create mode 100644 node_modules/lodash/_baseAggregator.js create mode 100644 node_modules/lodash/_baseAssign.js create mode 100644 node_modules/lodash/_baseAssignIn.js create mode 100644 node_modules/lodash/_baseAssignValue.js create mode 100644 node_modules/lodash/_baseAt.js create mode 100644 node_modules/lodash/_baseClamp.js create mode 100644 node_modules/lodash/_baseClone.js create mode 100644 node_modules/lodash/_baseConforms.js create mode 100644 node_modules/lodash/_baseConformsTo.js create mode 100644 node_modules/lodash/_baseCreate.js create mode 100644 node_modules/lodash/_baseDelay.js create mode 100644 node_modules/lodash/_baseDifference.js create mode 100644 node_modules/lodash/_baseEach.js create mode 100644 node_modules/lodash/_baseEachRight.js create mode 100644 node_modules/lodash/_baseEvery.js create mode 100644 node_modules/lodash/_baseExtremum.js create mode 100644 node_modules/lodash/_baseFill.js create mode 100644 node_modules/lodash/_baseFilter.js create mode 100644 node_modules/lodash/_baseFindIndex.js create mode 100644 node_modules/lodash/_baseFindKey.js create mode 100644 node_modules/lodash/_baseFlatten.js create mode 100644 node_modules/lodash/_baseFor.js create mode 100644 node_modules/lodash/_baseForOwn.js create mode 100644 node_modules/lodash/_baseForOwnRight.js create mode 100644 node_modules/lodash/_baseForRight.js create mode 100644 node_modules/lodash/_baseFunctions.js create mode 100644 node_modules/lodash/_baseGet.js create mode 100644 node_modules/lodash/_baseGetAllKeys.js create mode 100644 node_modules/lodash/_baseGetTag.js create mode 100644 node_modules/lodash/_baseGt.js create mode 100644 node_modules/lodash/_baseHas.js create mode 100644 node_modules/lodash/_baseHasIn.js create mode 100644 node_modules/lodash/_baseInRange.js create mode 100644 node_modules/lodash/_baseIndexOf.js create mode 100644 node_modules/lodash/_baseIndexOfWith.js create mode 100644 node_modules/lodash/_baseIntersection.js create mode 100644 node_modules/lodash/_baseInverter.js create mode 100644 node_modules/lodash/_baseInvoke.js create mode 100644 node_modules/lodash/_baseIsArguments.js create mode 100644 node_modules/lodash/_baseIsArrayBuffer.js create mode 100644 node_modules/lodash/_baseIsDate.js create mode 100644 node_modules/lodash/_baseIsEqual.js create mode 100644 node_modules/lodash/_baseIsEqualDeep.js create mode 100644 node_modules/lodash/_baseIsMap.js create mode 100644 node_modules/lodash/_baseIsMatch.js create mode 100644 node_modules/lodash/_baseIsNaN.js create mode 100644 node_modules/lodash/_baseIsNative.js create mode 100644 node_modules/lodash/_baseIsRegExp.js create mode 100644 node_modules/lodash/_baseIsSet.js create mode 100644 node_modules/lodash/_baseIsTypedArray.js create mode 100644 node_modules/lodash/_baseIteratee.js create mode 100644 node_modules/lodash/_baseKeys.js create mode 100644 node_modules/lodash/_baseKeysIn.js create mode 100644 node_modules/lodash/_baseLodash.js create mode 100644 node_modules/lodash/_baseLt.js create mode 100644 node_modules/lodash/_baseMap.js create mode 100644 node_modules/lodash/_baseMatches.js create mode 100644 node_modules/lodash/_baseMatchesProperty.js create mode 100644 node_modules/lodash/_baseMean.js create mode 100644 node_modules/lodash/_baseMerge.js create mode 100644 node_modules/lodash/_baseMergeDeep.js create mode 100644 node_modules/lodash/_baseNth.js create mode 100644 node_modules/lodash/_baseOrderBy.js create mode 100644 node_modules/lodash/_basePick.js create mode 100644 node_modules/lodash/_basePickBy.js create mode 100644 node_modules/lodash/_baseProperty.js create mode 100644 node_modules/lodash/_basePropertyDeep.js create mode 100644 node_modules/lodash/_basePropertyOf.js create mode 100644 node_modules/lodash/_basePullAll.js create mode 100644 node_modules/lodash/_basePullAt.js create mode 100644 node_modules/lodash/_baseRandom.js create mode 100644 node_modules/lodash/_baseRange.js create mode 100644 node_modules/lodash/_baseReduce.js create mode 100644 node_modules/lodash/_baseRepeat.js create mode 100644 node_modules/lodash/_baseRest.js create mode 100644 node_modules/lodash/_baseSample.js create mode 100644 node_modules/lodash/_baseSampleSize.js create mode 100644 node_modules/lodash/_baseSet.js create mode 100644 node_modules/lodash/_baseSetData.js create mode 100644 node_modules/lodash/_baseSetToString.js create mode 100644 node_modules/lodash/_baseShuffle.js create mode 100644 node_modules/lodash/_baseSlice.js create mode 100644 node_modules/lodash/_baseSome.js create mode 100644 node_modules/lodash/_baseSortBy.js create mode 100644 node_modules/lodash/_baseSortedIndex.js create mode 100644 node_modules/lodash/_baseSortedIndexBy.js create mode 100644 node_modules/lodash/_baseSortedUniq.js create mode 100644 node_modules/lodash/_baseSum.js create mode 100644 node_modules/lodash/_baseTimes.js create mode 100644 node_modules/lodash/_baseToNumber.js create mode 100644 node_modules/lodash/_baseToPairs.js create mode 100644 node_modules/lodash/_baseToString.js create mode 100644 node_modules/lodash/_baseUnary.js create mode 100644 node_modules/lodash/_baseUniq.js create mode 100644 node_modules/lodash/_baseUnset.js create mode 100644 node_modules/lodash/_baseUpdate.js create mode 100644 node_modules/lodash/_baseValues.js create mode 100644 node_modules/lodash/_baseWhile.js create mode 100644 node_modules/lodash/_baseWrapperValue.js create mode 100644 node_modules/lodash/_baseXor.js create mode 100644 node_modules/lodash/_baseZipObject.js create mode 100644 node_modules/lodash/_cacheHas.js create mode 100644 node_modules/lodash/_castArrayLikeObject.js create mode 100644 node_modules/lodash/_castFunction.js create mode 100644 node_modules/lodash/_castPath.js create mode 100644 node_modules/lodash/_castRest.js create mode 100644 node_modules/lodash/_castSlice.js create mode 100644 node_modules/lodash/_charsEndIndex.js create mode 100644 node_modules/lodash/_charsStartIndex.js create mode 100644 node_modules/lodash/_cloneArrayBuffer.js create mode 100644 node_modules/lodash/_cloneBuffer.js create mode 100644 node_modules/lodash/_cloneDataView.js create mode 100644 node_modules/lodash/_cloneRegExp.js create mode 100644 node_modules/lodash/_cloneSymbol.js create mode 100644 node_modules/lodash/_cloneTypedArray.js create mode 100644 node_modules/lodash/_compareAscending.js create mode 100644 node_modules/lodash/_compareMultiple.js create mode 100644 node_modules/lodash/_composeArgs.js create mode 100644 node_modules/lodash/_composeArgsRight.js create mode 100644 node_modules/lodash/_copyArray.js create mode 100644 node_modules/lodash/_copyObject.js create mode 100644 node_modules/lodash/_copySymbols.js create mode 100644 node_modules/lodash/_copySymbolsIn.js create mode 100644 node_modules/lodash/_coreJsData.js create mode 100644 node_modules/lodash/_countHolders.js create mode 100644 node_modules/lodash/_createAggregator.js create mode 100644 node_modules/lodash/_createAssigner.js create mode 100644 node_modules/lodash/_createBaseEach.js create mode 100644 node_modules/lodash/_createBaseFor.js create mode 100644 node_modules/lodash/_createBind.js create mode 100644 node_modules/lodash/_createCaseFirst.js create mode 100644 node_modules/lodash/_createCompounder.js create mode 100644 node_modules/lodash/_createCtor.js create mode 100644 node_modules/lodash/_createCurry.js create mode 100644 node_modules/lodash/_createFind.js create mode 100644 node_modules/lodash/_createFlow.js create mode 100644 node_modules/lodash/_createHybrid.js create mode 100644 node_modules/lodash/_createInverter.js create mode 100644 node_modules/lodash/_createMathOperation.js create mode 100644 node_modules/lodash/_createOver.js create mode 100644 node_modules/lodash/_createPadding.js create mode 100644 node_modules/lodash/_createPartial.js create mode 100644 node_modules/lodash/_createRange.js create mode 100644 node_modules/lodash/_createRecurry.js create mode 100644 node_modules/lodash/_createRelationalOperation.js create mode 100644 node_modules/lodash/_createRound.js create mode 100644 node_modules/lodash/_createSet.js create mode 100644 node_modules/lodash/_createToPairs.js create mode 100644 node_modules/lodash/_createWrap.js create mode 100644 node_modules/lodash/_customDefaultsAssignIn.js create mode 100644 node_modules/lodash/_customDefaultsMerge.js create mode 100644 node_modules/lodash/_customOmitClone.js create mode 100644 node_modules/lodash/_deburrLetter.js create mode 100644 node_modules/lodash/_defineProperty.js create mode 100644 node_modules/lodash/_equalArrays.js create mode 100644 node_modules/lodash/_equalByTag.js create mode 100644 node_modules/lodash/_equalObjects.js create mode 100644 node_modules/lodash/_escapeHtmlChar.js create mode 100644 node_modules/lodash/_escapeStringChar.js create mode 100644 node_modules/lodash/_flatRest.js create mode 100644 node_modules/lodash/_freeGlobal.js create mode 100644 node_modules/lodash/_getAllKeys.js create mode 100644 node_modules/lodash/_getAllKeysIn.js create mode 100644 node_modules/lodash/_getData.js create mode 100644 node_modules/lodash/_getFuncName.js create mode 100644 node_modules/lodash/_getHolder.js create mode 100644 node_modules/lodash/_getMapData.js create mode 100644 node_modules/lodash/_getMatchData.js create mode 100644 node_modules/lodash/_getNative.js create mode 100644 node_modules/lodash/_getPrototype.js create mode 100644 node_modules/lodash/_getRawTag.js create mode 100644 node_modules/lodash/_getSymbols.js create mode 100644 node_modules/lodash/_getSymbolsIn.js create mode 100644 node_modules/lodash/_getTag.js create mode 100644 node_modules/lodash/_getValue.js create mode 100644 node_modules/lodash/_getView.js create mode 100644 node_modules/lodash/_getWrapDetails.js create mode 100644 node_modules/lodash/_hasPath.js create mode 100644 node_modules/lodash/_hasUnicode.js create mode 100644 node_modules/lodash/_hasUnicodeWord.js create mode 100644 node_modules/lodash/_hashClear.js create mode 100644 node_modules/lodash/_hashDelete.js create mode 100644 node_modules/lodash/_hashGet.js create mode 100644 node_modules/lodash/_hashHas.js create mode 100644 node_modules/lodash/_hashSet.js create mode 100644 node_modules/lodash/_initCloneArray.js create mode 100644 node_modules/lodash/_initCloneByTag.js create mode 100644 node_modules/lodash/_initCloneObject.js create mode 100644 node_modules/lodash/_insertWrapDetails.js create mode 100644 node_modules/lodash/_isFlattenable.js create mode 100644 node_modules/lodash/_isIndex.js create mode 100644 node_modules/lodash/_isIterateeCall.js create mode 100644 node_modules/lodash/_isKey.js create mode 100644 node_modules/lodash/_isKeyable.js create mode 100644 node_modules/lodash/_isLaziable.js create mode 100644 node_modules/lodash/_isMaskable.js create mode 100644 node_modules/lodash/_isMasked.js create mode 100644 node_modules/lodash/_isPrototype.js create mode 100644 node_modules/lodash/_isStrictComparable.js create mode 100644 node_modules/lodash/_iteratorToArray.js create mode 100644 node_modules/lodash/_lazyClone.js create mode 100644 node_modules/lodash/_lazyReverse.js create mode 100644 node_modules/lodash/_lazyValue.js create mode 100644 node_modules/lodash/_listCacheClear.js create mode 100644 node_modules/lodash/_listCacheDelete.js create mode 100644 node_modules/lodash/_listCacheGet.js create mode 100644 node_modules/lodash/_listCacheHas.js create mode 100644 node_modules/lodash/_listCacheSet.js create mode 100644 node_modules/lodash/_mapCacheClear.js create mode 100644 node_modules/lodash/_mapCacheDelete.js create mode 100644 node_modules/lodash/_mapCacheGet.js create mode 100644 node_modules/lodash/_mapCacheHas.js create mode 100644 node_modules/lodash/_mapCacheSet.js create mode 100644 node_modules/lodash/_mapToArray.js create mode 100644 node_modules/lodash/_matchesStrictComparable.js create mode 100644 node_modules/lodash/_memoizeCapped.js create mode 100644 node_modules/lodash/_mergeData.js create mode 100644 node_modules/lodash/_metaMap.js create mode 100644 node_modules/lodash/_nativeCreate.js create mode 100644 node_modules/lodash/_nativeKeys.js create mode 100644 node_modules/lodash/_nativeKeysIn.js create mode 100644 node_modules/lodash/_nodeUtil.js create mode 100644 node_modules/lodash/_objectToString.js create mode 100644 node_modules/lodash/_overArg.js create mode 100644 node_modules/lodash/_overRest.js create mode 100644 node_modules/lodash/_parent.js create mode 100644 node_modules/lodash/_reEscape.js create mode 100644 node_modules/lodash/_reEvaluate.js create mode 100644 node_modules/lodash/_reInterpolate.js create mode 100644 node_modules/lodash/_realNames.js create mode 100644 node_modules/lodash/_reorder.js create mode 100644 node_modules/lodash/_replaceHolders.js create mode 100644 node_modules/lodash/_root.js create mode 100644 node_modules/lodash/_safeGet.js create mode 100644 node_modules/lodash/_setCacheAdd.js create mode 100644 node_modules/lodash/_setCacheHas.js create mode 100644 node_modules/lodash/_setData.js create mode 100644 node_modules/lodash/_setToArray.js create mode 100644 node_modules/lodash/_setToPairs.js create mode 100644 node_modules/lodash/_setToString.js create mode 100644 node_modules/lodash/_setWrapToString.js create mode 100644 node_modules/lodash/_shortOut.js create mode 100644 node_modules/lodash/_shuffleSelf.js create mode 100644 node_modules/lodash/_stackClear.js create mode 100644 node_modules/lodash/_stackDelete.js create mode 100644 node_modules/lodash/_stackGet.js create mode 100644 node_modules/lodash/_stackHas.js create mode 100644 node_modules/lodash/_stackSet.js create mode 100644 node_modules/lodash/_strictIndexOf.js create mode 100644 node_modules/lodash/_strictLastIndexOf.js create mode 100644 node_modules/lodash/_stringSize.js create mode 100644 node_modules/lodash/_stringToArray.js create mode 100644 node_modules/lodash/_stringToPath.js create mode 100644 node_modules/lodash/_toKey.js create mode 100644 node_modules/lodash/_toSource.js create mode 100644 node_modules/lodash/_unescapeHtmlChar.js create mode 100644 node_modules/lodash/_unicodeSize.js create mode 100644 node_modules/lodash/_unicodeToArray.js create mode 100644 node_modules/lodash/_unicodeWords.js create mode 100644 node_modules/lodash/_updateWrapDetails.js create mode 100644 node_modules/lodash/_wrapperClone.js create mode 100644 node_modules/lodash/add.js create mode 100644 node_modules/lodash/after.js create mode 100644 node_modules/lodash/array.js create mode 100644 node_modules/lodash/ary.js create mode 100644 node_modules/lodash/assign.js create mode 100644 node_modules/lodash/assignIn.js create mode 100644 node_modules/lodash/assignInWith.js create mode 100644 node_modules/lodash/assignWith.js create mode 100644 node_modules/lodash/at.js create mode 100644 node_modules/lodash/attempt.js create mode 100644 node_modules/lodash/before.js create mode 100644 node_modules/lodash/bind.js create mode 100644 node_modules/lodash/bindAll.js create mode 100644 node_modules/lodash/bindKey.js create mode 100644 node_modules/lodash/camelCase.js create mode 100644 node_modules/lodash/capitalize.js create mode 100644 node_modules/lodash/castArray.js create mode 100644 node_modules/lodash/ceil.js create mode 100644 node_modules/lodash/chain.js create mode 100644 node_modules/lodash/chunk.js create mode 100644 node_modules/lodash/clamp.js create mode 100644 node_modules/lodash/clone.js create mode 100644 node_modules/lodash/cloneDeep.js create mode 100644 node_modules/lodash/cloneDeepWith.js create mode 100644 node_modules/lodash/cloneWith.js create mode 100644 node_modules/lodash/collection.js create mode 100644 node_modules/lodash/commit.js create mode 100644 node_modules/lodash/compact.js create mode 100644 node_modules/lodash/concat.js create mode 100644 node_modules/lodash/cond.js create mode 100644 node_modules/lodash/conforms.js create mode 100644 node_modules/lodash/conformsTo.js create mode 100644 node_modules/lodash/constant.js create mode 100644 node_modules/lodash/core.js create mode 100644 node_modules/lodash/core.min.js create mode 100644 node_modules/lodash/countBy.js create mode 100644 node_modules/lodash/create.js create mode 100644 node_modules/lodash/curry.js create mode 100644 node_modules/lodash/curryRight.js create mode 100644 node_modules/lodash/date.js create mode 100644 node_modules/lodash/debounce.js create mode 100644 node_modules/lodash/deburr.js create mode 100644 node_modules/lodash/defaultTo.js create mode 100644 node_modules/lodash/defaults.js create mode 100644 node_modules/lodash/defaultsDeep.js create mode 100644 node_modules/lodash/defer.js create mode 100644 node_modules/lodash/delay.js create mode 100644 node_modules/lodash/difference.js create mode 100644 node_modules/lodash/differenceBy.js create mode 100644 node_modules/lodash/differenceWith.js create mode 100644 node_modules/lodash/divide.js create mode 100644 node_modules/lodash/drop.js create mode 100644 node_modules/lodash/dropRight.js create mode 100644 node_modules/lodash/dropRightWhile.js create mode 100644 node_modules/lodash/dropWhile.js create mode 100644 node_modules/lodash/each.js create mode 100644 node_modules/lodash/eachRight.js create mode 100644 node_modules/lodash/endsWith.js create mode 100644 node_modules/lodash/entries.js create mode 100644 node_modules/lodash/entriesIn.js create mode 100644 node_modules/lodash/eq.js create mode 100644 node_modules/lodash/escape.js create mode 100644 node_modules/lodash/escapeRegExp.js create mode 100644 node_modules/lodash/every.js create mode 100644 node_modules/lodash/extend.js create mode 100644 node_modules/lodash/extendWith.js create mode 100644 node_modules/lodash/fill.js create mode 100644 node_modules/lodash/filter.js create mode 100644 node_modules/lodash/find.js create mode 100644 node_modules/lodash/findIndex.js create mode 100644 node_modules/lodash/findKey.js create mode 100644 node_modules/lodash/findLast.js create mode 100644 node_modules/lodash/findLastIndex.js create mode 100644 node_modules/lodash/findLastKey.js create mode 100644 node_modules/lodash/first.js create mode 100644 node_modules/lodash/flatMap.js create mode 100644 node_modules/lodash/flatMapDeep.js create mode 100644 node_modules/lodash/flatMapDepth.js create mode 100644 node_modules/lodash/flatten.js create mode 100644 node_modules/lodash/flattenDeep.js create mode 100644 node_modules/lodash/flattenDepth.js create mode 100644 node_modules/lodash/flip.js create mode 100644 node_modules/lodash/floor.js create mode 100644 node_modules/lodash/flow.js create mode 100644 node_modules/lodash/flowRight.js create mode 100644 node_modules/lodash/forEach.js create mode 100644 node_modules/lodash/forEachRight.js create mode 100644 node_modules/lodash/forIn.js create mode 100644 node_modules/lodash/forInRight.js create mode 100644 node_modules/lodash/forOwn.js create mode 100644 node_modules/lodash/forOwnRight.js create mode 100644 node_modules/lodash/fp.js create mode 100644 node_modules/lodash/fp/F.js create mode 100644 node_modules/lodash/fp/T.js create mode 100644 node_modules/lodash/fp/__.js create mode 100644 node_modules/lodash/fp/_baseConvert.js create mode 100644 node_modules/lodash/fp/_convertBrowser.js create mode 100644 node_modules/lodash/fp/_falseOptions.js create mode 100644 node_modules/lodash/fp/_mapping.js create mode 100644 node_modules/lodash/fp/_util.js create mode 100644 node_modules/lodash/fp/add.js create mode 100644 node_modules/lodash/fp/after.js create mode 100644 node_modules/lodash/fp/all.js create mode 100644 node_modules/lodash/fp/allPass.js create mode 100644 node_modules/lodash/fp/always.js create mode 100644 node_modules/lodash/fp/any.js create mode 100644 node_modules/lodash/fp/anyPass.js create mode 100644 node_modules/lodash/fp/apply.js create mode 100644 node_modules/lodash/fp/array.js create mode 100644 node_modules/lodash/fp/ary.js create mode 100644 node_modules/lodash/fp/assign.js create mode 100644 node_modules/lodash/fp/assignAll.js create mode 100644 node_modules/lodash/fp/assignAllWith.js create mode 100644 node_modules/lodash/fp/assignIn.js create mode 100644 node_modules/lodash/fp/assignInAll.js create mode 100644 node_modules/lodash/fp/assignInAllWith.js create mode 100644 node_modules/lodash/fp/assignInWith.js create mode 100644 node_modules/lodash/fp/assignWith.js create mode 100644 node_modules/lodash/fp/assoc.js create mode 100644 node_modules/lodash/fp/assocPath.js create mode 100644 node_modules/lodash/fp/at.js create mode 100644 node_modules/lodash/fp/attempt.js create mode 100644 node_modules/lodash/fp/before.js create mode 100644 node_modules/lodash/fp/bind.js create mode 100644 node_modules/lodash/fp/bindAll.js create mode 100644 node_modules/lodash/fp/bindKey.js create mode 100644 node_modules/lodash/fp/camelCase.js create mode 100644 node_modules/lodash/fp/capitalize.js create mode 100644 node_modules/lodash/fp/castArray.js create mode 100644 node_modules/lodash/fp/ceil.js create mode 100644 node_modules/lodash/fp/chain.js create mode 100644 node_modules/lodash/fp/chunk.js create mode 100644 node_modules/lodash/fp/clamp.js create mode 100644 node_modules/lodash/fp/clone.js create mode 100644 node_modules/lodash/fp/cloneDeep.js create mode 100644 node_modules/lodash/fp/cloneDeepWith.js create mode 100644 node_modules/lodash/fp/cloneWith.js create mode 100644 node_modules/lodash/fp/collection.js create mode 100644 node_modules/lodash/fp/commit.js create mode 100644 node_modules/lodash/fp/compact.js create mode 100644 node_modules/lodash/fp/complement.js create mode 100644 node_modules/lodash/fp/compose.js create mode 100644 node_modules/lodash/fp/concat.js create mode 100644 node_modules/lodash/fp/cond.js create mode 100644 node_modules/lodash/fp/conforms.js create mode 100644 node_modules/lodash/fp/conformsTo.js create mode 100644 node_modules/lodash/fp/constant.js create mode 100644 node_modules/lodash/fp/contains.js create mode 100644 node_modules/lodash/fp/convert.js create mode 100644 node_modules/lodash/fp/countBy.js create mode 100644 node_modules/lodash/fp/create.js create mode 100644 node_modules/lodash/fp/curry.js create mode 100644 node_modules/lodash/fp/curryN.js create mode 100644 node_modules/lodash/fp/curryRight.js create mode 100644 node_modules/lodash/fp/curryRightN.js create mode 100644 node_modules/lodash/fp/date.js create mode 100644 node_modules/lodash/fp/debounce.js create mode 100644 node_modules/lodash/fp/deburr.js create mode 100644 node_modules/lodash/fp/defaultTo.js create mode 100644 node_modules/lodash/fp/defaults.js create mode 100644 node_modules/lodash/fp/defaultsAll.js create mode 100644 node_modules/lodash/fp/defaultsDeep.js create mode 100644 node_modules/lodash/fp/defaultsDeepAll.js create mode 100644 node_modules/lodash/fp/defer.js create mode 100644 node_modules/lodash/fp/delay.js create mode 100644 node_modules/lodash/fp/difference.js create mode 100644 node_modules/lodash/fp/differenceBy.js create mode 100644 node_modules/lodash/fp/differenceWith.js create mode 100644 node_modules/lodash/fp/dissoc.js create mode 100644 node_modules/lodash/fp/dissocPath.js create mode 100644 node_modules/lodash/fp/divide.js create mode 100644 node_modules/lodash/fp/drop.js create mode 100644 node_modules/lodash/fp/dropLast.js create mode 100644 node_modules/lodash/fp/dropLastWhile.js create mode 100644 node_modules/lodash/fp/dropRight.js create mode 100644 node_modules/lodash/fp/dropRightWhile.js create mode 100644 node_modules/lodash/fp/dropWhile.js create mode 100644 node_modules/lodash/fp/each.js create mode 100644 node_modules/lodash/fp/eachRight.js create mode 100644 node_modules/lodash/fp/endsWith.js create mode 100644 node_modules/lodash/fp/entries.js create mode 100644 node_modules/lodash/fp/entriesIn.js create mode 100644 node_modules/lodash/fp/eq.js create mode 100644 node_modules/lodash/fp/equals.js create mode 100644 node_modules/lodash/fp/escape.js create mode 100644 node_modules/lodash/fp/escapeRegExp.js create mode 100644 node_modules/lodash/fp/every.js create mode 100644 node_modules/lodash/fp/extend.js create mode 100644 node_modules/lodash/fp/extendAll.js create mode 100644 node_modules/lodash/fp/extendAllWith.js create mode 100644 node_modules/lodash/fp/extendWith.js create mode 100644 node_modules/lodash/fp/fill.js create mode 100644 node_modules/lodash/fp/filter.js create mode 100644 node_modules/lodash/fp/find.js create mode 100644 node_modules/lodash/fp/findFrom.js create mode 100644 node_modules/lodash/fp/findIndex.js create mode 100644 node_modules/lodash/fp/findIndexFrom.js create mode 100644 node_modules/lodash/fp/findKey.js create mode 100644 node_modules/lodash/fp/findLast.js create mode 100644 node_modules/lodash/fp/findLastFrom.js create mode 100644 node_modules/lodash/fp/findLastIndex.js create mode 100644 node_modules/lodash/fp/findLastIndexFrom.js create mode 100644 node_modules/lodash/fp/findLastKey.js create mode 100644 node_modules/lodash/fp/first.js create mode 100644 node_modules/lodash/fp/flatMap.js create mode 100644 node_modules/lodash/fp/flatMapDeep.js create mode 100644 node_modules/lodash/fp/flatMapDepth.js create mode 100644 node_modules/lodash/fp/flatten.js create mode 100644 node_modules/lodash/fp/flattenDeep.js create mode 100644 node_modules/lodash/fp/flattenDepth.js create mode 100644 node_modules/lodash/fp/flip.js create mode 100644 node_modules/lodash/fp/floor.js create mode 100644 node_modules/lodash/fp/flow.js create mode 100644 node_modules/lodash/fp/flowRight.js create mode 100644 node_modules/lodash/fp/forEach.js create mode 100644 node_modules/lodash/fp/forEachRight.js create mode 100644 node_modules/lodash/fp/forIn.js create mode 100644 node_modules/lodash/fp/forInRight.js create mode 100644 node_modules/lodash/fp/forOwn.js create mode 100644 node_modules/lodash/fp/forOwnRight.js create mode 100644 node_modules/lodash/fp/fromPairs.js create mode 100644 node_modules/lodash/fp/function.js create mode 100644 node_modules/lodash/fp/functions.js create mode 100644 node_modules/lodash/fp/functionsIn.js create mode 100644 node_modules/lodash/fp/get.js create mode 100644 node_modules/lodash/fp/getOr.js create mode 100644 node_modules/lodash/fp/groupBy.js create mode 100644 node_modules/lodash/fp/gt.js create mode 100644 node_modules/lodash/fp/gte.js create mode 100644 node_modules/lodash/fp/has.js create mode 100644 node_modules/lodash/fp/hasIn.js create mode 100644 node_modules/lodash/fp/head.js create mode 100644 node_modules/lodash/fp/identical.js create mode 100644 node_modules/lodash/fp/identity.js create mode 100644 node_modules/lodash/fp/inRange.js create mode 100644 node_modules/lodash/fp/includes.js create mode 100644 node_modules/lodash/fp/includesFrom.js create mode 100644 node_modules/lodash/fp/indexBy.js create mode 100644 node_modules/lodash/fp/indexOf.js create mode 100644 node_modules/lodash/fp/indexOfFrom.js create mode 100644 node_modules/lodash/fp/init.js create mode 100644 node_modules/lodash/fp/initial.js create mode 100644 node_modules/lodash/fp/intersection.js create mode 100644 node_modules/lodash/fp/intersectionBy.js create mode 100644 node_modules/lodash/fp/intersectionWith.js create mode 100644 node_modules/lodash/fp/invert.js create mode 100644 node_modules/lodash/fp/invertBy.js create mode 100644 node_modules/lodash/fp/invertObj.js create mode 100644 node_modules/lodash/fp/invoke.js create mode 100644 node_modules/lodash/fp/invokeArgs.js create mode 100644 node_modules/lodash/fp/invokeArgsMap.js create mode 100644 node_modules/lodash/fp/invokeMap.js create mode 100644 node_modules/lodash/fp/isArguments.js create mode 100644 node_modules/lodash/fp/isArray.js create mode 100644 node_modules/lodash/fp/isArrayBuffer.js create mode 100644 node_modules/lodash/fp/isArrayLike.js create mode 100644 node_modules/lodash/fp/isArrayLikeObject.js create mode 100644 node_modules/lodash/fp/isBoolean.js create mode 100644 node_modules/lodash/fp/isBuffer.js create mode 100644 node_modules/lodash/fp/isDate.js create mode 100644 node_modules/lodash/fp/isElement.js create mode 100644 node_modules/lodash/fp/isEmpty.js create mode 100644 node_modules/lodash/fp/isEqual.js create mode 100644 node_modules/lodash/fp/isEqualWith.js create mode 100644 node_modules/lodash/fp/isError.js create mode 100644 node_modules/lodash/fp/isFinite.js create mode 100644 node_modules/lodash/fp/isFunction.js create mode 100644 node_modules/lodash/fp/isInteger.js create mode 100644 node_modules/lodash/fp/isLength.js create mode 100644 node_modules/lodash/fp/isMap.js create mode 100644 node_modules/lodash/fp/isMatch.js create mode 100644 node_modules/lodash/fp/isMatchWith.js create mode 100644 node_modules/lodash/fp/isNaN.js create mode 100644 node_modules/lodash/fp/isNative.js create mode 100644 node_modules/lodash/fp/isNil.js create mode 100644 node_modules/lodash/fp/isNull.js create mode 100644 node_modules/lodash/fp/isNumber.js create mode 100644 node_modules/lodash/fp/isObject.js create mode 100644 node_modules/lodash/fp/isObjectLike.js create mode 100644 node_modules/lodash/fp/isPlainObject.js create mode 100644 node_modules/lodash/fp/isRegExp.js create mode 100644 node_modules/lodash/fp/isSafeInteger.js create mode 100644 node_modules/lodash/fp/isSet.js create mode 100644 node_modules/lodash/fp/isString.js create mode 100644 node_modules/lodash/fp/isSymbol.js create mode 100644 node_modules/lodash/fp/isTypedArray.js create mode 100644 node_modules/lodash/fp/isUndefined.js create mode 100644 node_modules/lodash/fp/isWeakMap.js create mode 100644 node_modules/lodash/fp/isWeakSet.js create mode 100644 node_modules/lodash/fp/iteratee.js create mode 100644 node_modules/lodash/fp/join.js create mode 100644 node_modules/lodash/fp/juxt.js create mode 100644 node_modules/lodash/fp/kebabCase.js create mode 100644 node_modules/lodash/fp/keyBy.js create mode 100644 node_modules/lodash/fp/keys.js create mode 100644 node_modules/lodash/fp/keysIn.js create mode 100644 node_modules/lodash/fp/lang.js create mode 100644 node_modules/lodash/fp/last.js create mode 100644 node_modules/lodash/fp/lastIndexOf.js create mode 100644 node_modules/lodash/fp/lastIndexOfFrom.js create mode 100644 node_modules/lodash/fp/lowerCase.js create mode 100644 node_modules/lodash/fp/lowerFirst.js create mode 100644 node_modules/lodash/fp/lt.js create mode 100644 node_modules/lodash/fp/lte.js create mode 100644 node_modules/lodash/fp/map.js create mode 100644 node_modules/lodash/fp/mapKeys.js create mode 100644 node_modules/lodash/fp/mapValues.js create mode 100644 node_modules/lodash/fp/matches.js create mode 100644 node_modules/lodash/fp/matchesProperty.js create mode 100644 node_modules/lodash/fp/math.js create mode 100644 node_modules/lodash/fp/max.js create mode 100644 node_modules/lodash/fp/maxBy.js create mode 100644 node_modules/lodash/fp/mean.js create mode 100644 node_modules/lodash/fp/meanBy.js create mode 100644 node_modules/lodash/fp/memoize.js create mode 100644 node_modules/lodash/fp/merge.js create mode 100644 node_modules/lodash/fp/mergeAll.js create mode 100644 node_modules/lodash/fp/mergeAllWith.js create mode 100644 node_modules/lodash/fp/mergeWith.js create mode 100644 node_modules/lodash/fp/method.js create mode 100644 node_modules/lodash/fp/methodOf.js create mode 100644 node_modules/lodash/fp/min.js create mode 100644 node_modules/lodash/fp/minBy.js create mode 100644 node_modules/lodash/fp/mixin.js create mode 100644 node_modules/lodash/fp/multiply.js create mode 100644 node_modules/lodash/fp/nAry.js create mode 100644 node_modules/lodash/fp/negate.js create mode 100644 node_modules/lodash/fp/next.js create mode 100644 node_modules/lodash/fp/noop.js create mode 100644 node_modules/lodash/fp/now.js create mode 100644 node_modules/lodash/fp/nth.js create mode 100644 node_modules/lodash/fp/nthArg.js create mode 100644 node_modules/lodash/fp/number.js create mode 100644 node_modules/lodash/fp/object.js create mode 100644 node_modules/lodash/fp/omit.js create mode 100644 node_modules/lodash/fp/omitAll.js create mode 100644 node_modules/lodash/fp/omitBy.js create mode 100644 node_modules/lodash/fp/once.js create mode 100644 node_modules/lodash/fp/orderBy.js create mode 100644 node_modules/lodash/fp/over.js create mode 100644 node_modules/lodash/fp/overArgs.js create mode 100644 node_modules/lodash/fp/overEvery.js create mode 100644 node_modules/lodash/fp/overSome.js create mode 100644 node_modules/lodash/fp/pad.js create mode 100644 node_modules/lodash/fp/padChars.js create mode 100644 node_modules/lodash/fp/padCharsEnd.js create mode 100644 node_modules/lodash/fp/padCharsStart.js create mode 100644 node_modules/lodash/fp/padEnd.js create mode 100644 node_modules/lodash/fp/padStart.js create mode 100644 node_modules/lodash/fp/parseInt.js create mode 100644 node_modules/lodash/fp/partial.js create mode 100644 node_modules/lodash/fp/partialRight.js create mode 100644 node_modules/lodash/fp/partition.js create mode 100644 node_modules/lodash/fp/path.js create mode 100644 node_modules/lodash/fp/pathEq.js create mode 100644 node_modules/lodash/fp/pathOr.js create mode 100644 node_modules/lodash/fp/paths.js create mode 100644 node_modules/lodash/fp/pick.js create mode 100644 node_modules/lodash/fp/pickAll.js create mode 100644 node_modules/lodash/fp/pickBy.js create mode 100644 node_modules/lodash/fp/pipe.js create mode 100644 node_modules/lodash/fp/placeholder.js create mode 100644 node_modules/lodash/fp/plant.js create mode 100644 node_modules/lodash/fp/pluck.js create mode 100644 node_modules/lodash/fp/prop.js create mode 100644 node_modules/lodash/fp/propEq.js create mode 100644 node_modules/lodash/fp/propOr.js create mode 100644 node_modules/lodash/fp/property.js create mode 100644 node_modules/lodash/fp/propertyOf.js create mode 100644 node_modules/lodash/fp/props.js create mode 100644 node_modules/lodash/fp/pull.js create mode 100644 node_modules/lodash/fp/pullAll.js create mode 100644 node_modules/lodash/fp/pullAllBy.js create mode 100644 node_modules/lodash/fp/pullAllWith.js create mode 100644 node_modules/lodash/fp/pullAt.js create mode 100644 node_modules/lodash/fp/random.js create mode 100644 node_modules/lodash/fp/range.js create mode 100644 node_modules/lodash/fp/rangeRight.js create mode 100644 node_modules/lodash/fp/rangeStep.js create mode 100644 node_modules/lodash/fp/rangeStepRight.js create mode 100644 node_modules/lodash/fp/rearg.js create mode 100644 node_modules/lodash/fp/reduce.js create mode 100644 node_modules/lodash/fp/reduceRight.js create mode 100644 node_modules/lodash/fp/reject.js create mode 100644 node_modules/lodash/fp/remove.js create mode 100644 node_modules/lodash/fp/repeat.js create mode 100644 node_modules/lodash/fp/replace.js create mode 100644 node_modules/lodash/fp/rest.js create mode 100644 node_modules/lodash/fp/restFrom.js create mode 100644 node_modules/lodash/fp/result.js create mode 100644 node_modules/lodash/fp/reverse.js create mode 100644 node_modules/lodash/fp/round.js create mode 100644 node_modules/lodash/fp/sample.js create mode 100644 node_modules/lodash/fp/sampleSize.js create mode 100644 node_modules/lodash/fp/seq.js create mode 100644 node_modules/lodash/fp/set.js create mode 100644 node_modules/lodash/fp/setWith.js create mode 100644 node_modules/lodash/fp/shuffle.js create mode 100644 node_modules/lodash/fp/size.js create mode 100644 node_modules/lodash/fp/slice.js create mode 100644 node_modules/lodash/fp/snakeCase.js create mode 100644 node_modules/lodash/fp/some.js create mode 100644 node_modules/lodash/fp/sortBy.js create mode 100644 node_modules/lodash/fp/sortedIndex.js create mode 100644 node_modules/lodash/fp/sortedIndexBy.js create mode 100644 node_modules/lodash/fp/sortedIndexOf.js create mode 100644 node_modules/lodash/fp/sortedLastIndex.js create mode 100644 node_modules/lodash/fp/sortedLastIndexBy.js create mode 100644 node_modules/lodash/fp/sortedLastIndexOf.js create mode 100644 node_modules/lodash/fp/sortedUniq.js create mode 100644 node_modules/lodash/fp/sortedUniqBy.js create mode 100644 node_modules/lodash/fp/split.js create mode 100644 node_modules/lodash/fp/spread.js create mode 100644 node_modules/lodash/fp/spreadFrom.js create mode 100644 node_modules/lodash/fp/startCase.js create mode 100644 node_modules/lodash/fp/startsWith.js create mode 100644 node_modules/lodash/fp/string.js create mode 100644 node_modules/lodash/fp/stubArray.js create mode 100644 node_modules/lodash/fp/stubFalse.js create mode 100644 node_modules/lodash/fp/stubObject.js create mode 100644 node_modules/lodash/fp/stubString.js create mode 100644 node_modules/lodash/fp/stubTrue.js create mode 100644 node_modules/lodash/fp/subtract.js create mode 100644 node_modules/lodash/fp/sum.js create mode 100644 node_modules/lodash/fp/sumBy.js create mode 100644 node_modules/lodash/fp/symmetricDifference.js create mode 100644 node_modules/lodash/fp/symmetricDifferenceBy.js create mode 100644 node_modules/lodash/fp/symmetricDifferenceWith.js create mode 100644 node_modules/lodash/fp/tail.js create mode 100644 node_modules/lodash/fp/take.js create mode 100644 node_modules/lodash/fp/takeLast.js create mode 100644 node_modules/lodash/fp/takeLastWhile.js create mode 100644 node_modules/lodash/fp/takeRight.js create mode 100644 node_modules/lodash/fp/takeRightWhile.js create mode 100644 node_modules/lodash/fp/takeWhile.js create mode 100644 node_modules/lodash/fp/tap.js create mode 100644 node_modules/lodash/fp/template.js create mode 100644 node_modules/lodash/fp/templateSettings.js create mode 100644 node_modules/lodash/fp/throttle.js create mode 100644 node_modules/lodash/fp/thru.js create mode 100644 node_modules/lodash/fp/times.js create mode 100644 node_modules/lodash/fp/toArray.js create mode 100644 node_modules/lodash/fp/toFinite.js create mode 100644 node_modules/lodash/fp/toInteger.js create mode 100644 node_modules/lodash/fp/toIterator.js create mode 100644 node_modules/lodash/fp/toJSON.js create mode 100644 node_modules/lodash/fp/toLength.js create mode 100644 node_modules/lodash/fp/toLower.js create mode 100644 node_modules/lodash/fp/toNumber.js create mode 100644 node_modules/lodash/fp/toPairs.js create mode 100644 node_modules/lodash/fp/toPairsIn.js create mode 100644 node_modules/lodash/fp/toPath.js create mode 100644 node_modules/lodash/fp/toPlainObject.js create mode 100644 node_modules/lodash/fp/toSafeInteger.js create mode 100644 node_modules/lodash/fp/toString.js create mode 100644 node_modules/lodash/fp/toUpper.js create mode 100644 node_modules/lodash/fp/transform.js create mode 100644 node_modules/lodash/fp/trim.js create mode 100644 node_modules/lodash/fp/trimChars.js create mode 100644 node_modules/lodash/fp/trimCharsEnd.js create mode 100644 node_modules/lodash/fp/trimCharsStart.js create mode 100644 node_modules/lodash/fp/trimEnd.js create mode 100644 node_modules/lodash/fp/trimStart.js create mode 100644 node_modules/lodash/fp/truncate.js create mode 100644 node_modules/lodash/fp/unapply.js create mode 100644 node_modules/lodash/fp/unary.js create mode 100644 node_modules/lodash/fp/unescape.js create mode 100644 node_modules/lodash/fp/union.js create mode 100644 node_modules/lodash/fp/unionBy.js create mode 100644 node_modules/lodash/fp/unionWith.js create mode 100644 node_modules/lodash/fp/uniq.js create mode 100644 node_modules/lodash/fp/uniqBy.js create mode 100644 node_modules/lodash/fp/uniqWith.js create mode 100644 node_modules/lodash/fp/uniqueId.js create mode 100644 node_modules/lodash/fp/unnest.js create mode 100644 node_modules/lodash/fp/unset.js create mode 100644 node_modules/lodash/fp/unzip.js create mode 100644 node_modules/lodash/fp/unzipWith.js create mode 100644 node_modules/lodash/fp/update.js create mode 100644 node_modules/lodash/fp/updateWith.js create mode 100644 node_modules/lodash/fp/upperCase.js create mode 100644 node_modules/lodash/fp/upperFirst.js create mode 100644 node_modules/lodash/fp/useWith.js create mode 100644 node_modules/lodash/fp/util.js create mode 100644 node_modules/lodash/fp/value.js create mode 100644 node_modules/lodash/fp/valueOf.js create mode 100644 node_modules/lodash/fp/values.js create mode 100644 node_modules/lodash/fp/valuesIn.js create mode 100644 node_modules/lodash/fp/where.js create mode 100644 node_modules/lodash/fp/whereEq.js create mode 100644 node_modules/lodash/fp/without.js create mode 100644 node_modules/lodash/fp/words.js create mode 100644 node_modules/lodash/fp/wrap.js create mode 100644 node_modules/lodash/fp/wrapperAt.js create mode 100644 node_modules/lodash/fp/wrapperChain.js create mode 100644 node_modules/lodash/fp/wrapperLodash.js create mode 100644 node_modules/lodash/fp/wrapperReverse.js create mode 100644 node_modules/lodash/fp/wrapperValue.js create mode 100644 node_modules/lodash/fp/xor.js create mode 100644 node_modules/lodash/fp/xorBy.js create mode 100644 node_modules/lodash/fp/xorWith.js create mode 100644 node_modules/lodash/fp/zip.js create mode 100644 node_modules/lodash/fp/zipAll.js create mode 100644 node_modules/lodash/fp/zipObj.js create mode 100644 node_modules/lodash/fp/zipObject.js create mode 100644 node_modules/lodash/fp/zipObjectDeep.js create mode 100644 node_modules/lodash/fp/zipWith.js create mode 100644 node_modules/lodash/fromPairs.js create mode 100644 node_modules/lodash/function.js create mode 100644 node_modules/lodash/functions.js create mode 100644 node_modules/lodash/functionsIn.js create mode 100644 node_modules/lodash/get.js create mode 100644 node_modules/lodash/groupBy.js create mode 100644 node_modules/lodash/gt.js create mode 100644 node_modules/lodash/gte.js create mode 100644 node_modules/lodash/has.js create mode 100644 node_modules/lodash/hasIn.js create mode 100644 node_modules/lodash/head.js create mode 100644 node_modules/lodash/identity.js create mode 100644 node_modules/lodash/inRange.js create mode 100644 node_modules/lodash/includes.js create mode 100644 node_modules/lodash/index.js create mode 100644 node_modules/lodash/indexOf.js create mode 100644 node_modules/lodash/initial.js create mode 100644 node_modules/lodash/intersection.js create mode 100644 node_modules/lodash/intersectionBy.js create mode 100644 node_modules/lodash/intersectionWith.js create mode 100644 node_modules/lodash/invert.js create mode 100644 node_modules/lodash/invertBy.js create mode 100644 node_modules/lodash/invoke.js create mode 100644 node_modules/lodash/invokeMap.js create mode 100644 node_modules/lodash/isArguments.js create mode 100644 node_modules/lodash/isArray.js create mode 100644 node_modules/lodash/isArrayBuffer.js create mode 100644 node_modules/lodash/isArrayLike.js create mode 100644 node_modules/lodash/isArrayLikeObject.js create mode 100644 node_modules/lodash/isBoolean.js create mode 100644 node_modules/lodash/isBuffer.js create mode 100644 node_modules/lodash/isDate.js create mode 100644 node_modules/lodash/isElement.js create mode 100644 node_modules/lodash/isEmpty.js create mode 100644 node_modules/lodash/isEqual.js create mode 100644 node_modules/lodash/isEqualWith.js create mode 100644 node_modules/lodash/isError.js create mode 100644 node_modules/lodash/isFinite.js create mode 100644 node_modules/lodash/isFunction.js create mode 100644 node_modules/lodash/isInteger.js create mode 100644 node_modules/lodash/isLength.js create mode 100644 node_modules/lodash/isMap.js create mode 100644 node_modules/lodash/isMatch.js create mode 100644 node_modules/lodash/isMatchWith.js create mode 100644 node_modules/lodash/isNaN.js create mode 100644 node_modules/lodash/isNative.js create mode 100644 node_modules/lodash/isNil.js create mode 100644 node_modules/lodash/isNull.js create mode 100644 node_modules/lodash/isNumber.js create mode 100644 node_modules/lodash/isObject.js create mode 100644 node_modules/lodash/isObjectLike.js create mode 100644 node_modules/lodash/isPlainObject.js create mode 100644 node_modules/lodash/isRegExp.js create mode 100644 node_modules/lodash/isSafeInteger.js create mode 100644 node_modules/lodash/isSet.js create mode 100644 node_modules/lodash/isString.js create mode 100644 node_modules/lodash/isSymbol.js create mode 100644 node_modules/lodash/isTypedArray.js create mode 100644 node_modules/lodash/isUndefined.js create mode 100644 node_modules/lodash/isWeakMap.js create mode 100644 node_modules/lodash/isWeakSet.js create mode 100644 node_modules/lodash/iteratee.js create mode 100644 node_modules/lodash/join.js create mode 100644 node_modules/lodash/kebabCase.js create mode 100644 node_modules/lodash/keyBy.js create mode 100644 node_modules/lodash/keys.js create mode 100644 node_modules/lodash/keysIn.js create mode 100644 node_modules/lodash/lang.js create mode 100644 node_modules/lodash/last.js create mode 100644 node_modules/lodash/lastIndexOf.js create mode 100644 node_modules/lodash/lodash.js create mode 100644 node_modules/lodash/lodash.min.js create mode 100644 node_modules/lodash/lowerCase.js create mode 100644 node_modules/lodash/lowerFirst.js create mode 100644 node_modules/lodash/lt.js create mode 100644 node_modules/lodash/lte.js create mode 100644 node_modules/lodash/map.js create mode 100644 node_modules/lodash/mapKeys.js create mode 100644 node_modules/lodash/mapValues.js create mode 100644 node_modules/lodash/matches.js create mode 100644 node_modules/lodash/matchesProperty.js create mode 100644 node_modules/lodash/math.js create mode 100644 node_modules/lodash/max.js create mode 100644 node_modules/lodash/maxBy.js create mode 100644 node_modules/lodash/mean.js create mode 100644 node_modules/lodash/meanBy.js create mode 100644 node_modules/lodash/memoize.js create mode 100644 node_modules/lodash/merge.js create mode 100644 node_modules/lodash/mergeWith.js create mode 100644 node_modules/lodash/method.js create mode 100644 node_modules/lodash/methodOf.js create mode 100644 node_modules/lodash/min.js create mode 100644 node_modules/lodash/minBy.js create mode 100644 node_modules/lodash/mixin.js create mode 100644 node_modules/lodash/multiply.js create mode 100644 node_modules/lodash/negate.js create mode 100644 node_modules/lodash/next.js create mode 100644 node_modules/lodash/noop.js create mode 100644 node_modules/lodash/now.js create mode 100644 node_modules/lodash/nth.js create mode 100644 node_modules/lodash/nthArg.js create mode 100644 node_modules/lodash/number.js create mode 100644 node_modules/lodash/object.js create mode 100644 node_modules/lodash/omit.js create mode 100644 node_modules/lodash/omitBy.js create mode 100644 node_modules/lodash/once.js create mode 100644 node_modules/lodash/orderBy.js create mode 100644 node_modules/lodash/over.js create mode 100644 node_modules/lodash/overArgs.js create mode 100644 node_modules/lodash/overEvery.js create mode 100644 node_modules/lodash/overSome.js create mode 100644 node_modules/lodash/package.json create mode 100644 node_modules/lodash/pad.js create mode 100644 node_modules/lodash/padEnd.js create mode 100644 node_modules/lodash/padStart.js create mode 100644 node_modules/lodash/parseInt.js create mode 100644 node_modules/lodash/partial.js create mode 100644 node_modules/lodash/partialRight.js create mode 100644 node_modules/lodash/partition.js create mode 100644 node_modules/lodash/pick.js create mode 100644 node_modules/lodash/pickBy.js create mode 100644 node_modules/lodash/plant.js create mode 100644 node_modules/lodash/property.js create mode 100644 node_modules/lodash/propertyOf.js create mode 100644 node_modules/lodash/pull.js create mode 100644 node_modules/lodash/pullAll.js create mode 100644 node_modules/lodash/pullAllBy.js create mode 100644 node_modules/lodash/pullAllWith.js create mode 100644 node_modules/lodash/pullAt.js create mode 100644 node_modules/lodash/random.js create mode 100644 node_modules/lodash/range.js create mode 100644 node_modules/lodash/rangeRight.js create mode 100644 node_modules/lodash/rearg.js create mode 100644 node_modules/lodash/reduce.js create mode 100644 node_modules/lodash/reduceRight.js create mode 100644 node_modules/lodash/reject.js create mode 100644 node_modules/lodash/remove.js create mode 100644 node_modules/lodash/repeat.js create mode 100644 node_modules/lodash/replace.js create mode 100644 node_modules/lodash/rest.js create mode 100644 node_modules/lodash/result.js create mode 100644 node_modules/lodash/reverse.js create mode 100644 node_modules/lodash/round.js create mode 100644 node_modules/lodash/sample.js create mode 100644 node_modules/lodash/sampleSize.js create mode 100644 node_modules/lodash/seq.js create mode 100644 node_modules/lodash/set.js create mode 100644 node_modules/lodash/setWith.js create mode 100644 node_modules/lodash/shuffle.js create mode 100644 node_modules/lodash/size.js create mode 100644 node_modules/lodash/slice.js create mode 100644 node_modules/lodash/snakeCase.js create mode 100644 node_modules/lodash/some.js create mode 100644 node_modules/lodash/sortBy.js create mode 100644 node_modules/lodash/sortedIndex.js create mode 100644 node_modules/lodash/sortedIndexBy.js create mode 100644 node_modules/lodash/sortedIndexOf.js create mode 100644 node_modules/lodash/sortedLastIndex.js create mode 100644 node_modules/lodash/sortedLastIndexBy.js create mode 100644 node_modules/lodash/sortedLastIndexOf.js create mode 100644 node_modules/lodash/sortedUniq.js create mode 100644 node_modules/lodash/sortedUniqBy.js create mode 100644 node_modules/lodash/split.js create mode 100644 node_modules/lodash/spread.js create mode 100644 node_modules/lodash/startCase.js create mode 100644 node_modules/lodash/startsWith.js create mode 100644 node_modules/lodash/string.js create mode 100644 node_modules/lodash/stubArray.js create mode 100644 node_modules/lodash/stubFalse.js create mode 100644 node_modules/lodash/stubObject.js create mode 100644 node_modules/lodash/stubString.js create mode 100644 node_modules/lodash/stubTrue.js create mode 100644 node_modules/lodash/subtract.js create mode 100644 node_modules/lodash/sum.js create mode 100644 node_modules/lodash/sumBy.js create mode 100644 node_modules/lodash/tail.js create mode 100644 node_modules/lodash/take.js create mode 100644 node_modules/lodash/takeRight.js create mode 100644 node_modules/lodash/takeRightWhile.js create mode 100644 node_modules/lodash/takeWhile.js create mode 100644 node_modules/lodash/tap.js create mode 100644 node_modules/lodash/template.js create mode 100644 node_modules/lodash/templateSettings.js create mode 100644 node_modules/lodash/throttle.js create mode 100644 node_modules/lodash/thru.js create mode 100644 node_modules/lodash/times.js create mode 100644 node_modules/lodash/toArray.js create mode 100644 node_modules/lodash/toFinite.js create mode 100644 node_modules/lodash/toInteger.js create mode 100644 node_modules/lodash/toIterator.js create mode 100644 node_modules/lodash/toJSON.js create mode 100644 node_modules/lodash/toLength.js create mode 100644 node_modules/lodash/toLower.js create mode 100644 node_modules/lodash/toNumber.js create mode 100644 node_modules/lodash/toPairs.js create mode 100644 node_modules/lodash/toPairsIn.js create mode 100644 node_modules/lodash/toPath.js create mode 100644 node_modules/lodash/toPlainObject.js create mode 100644 node_modules/lodash/toSafeInteger.js create mode 100644 node_modules/lodash/toString.js create mode 100644 node_modules/lodash/toUpper.js create mode 100644 node_modules/lodash/transform.js create mode 100644 node_modules/lodash/trim.js create mode 100644 node_modules/lodash/trimEnd.js create mode 100644 node_modules/lodash/trimStart.js create mode 100644 node_modules/lodash/truncate.js create mode 100644 node_modules/lodash/unary.js create mode 100644 node_modules/lodash/unescape.js create mode 100644 node_modules/lodash/union.js create mode 100644 node_modules/lodash/unionBy.js create mode 100644 node_modules/lodash/unionWith.js create mode 100644 node_modules/lodash/uniq.js create mode 100644 node_modules/lodash/uniqBy.js create mode 100644 node_modules/lodash/uniqWith.js create mode 100644 node_modules/lodash/uniqueId.js create mode 100644 node_modules/lodash/unset.js create mode 100644 node_modules/lodash/unzip.js create mode 100644 node_modules/lodash/unzipWith.js create mode 100644 node_modules/lodash/update.js create mode 100644 node_modules/lodash/updateWith.js create mode 100644 node_modules/lodash/upperCase.js create mode 100644 node_modules/lodash/upperFirst.js create mode 100644 node_modules/lodash/util.js create mode 100644 node_modules/lodash/value.js create mode 100644 node_modules/lodash/valueOf.js create mode 100644 node_modules/lodash/values.js create mode 100644 node_modules/lodash/valuesIn.js create mode 100644 node_modules/lodash/without.js create mode 100644 node_modules/lodash/words.js create mode 100644 node_modules/lodash/wrap.js create mode 100644 node_modules/lodash/wrapperAt.js create mode 100644 node_modules/lodash/wrapperChain.js create mode 100644 node_modules/lodash/wrapperLodash.js create mode 100644 node_modules/lodash/wrapperReverse.js create mode 100644 node_modules/lodash/wrapperValue.js create mode 100644 node_modules/lodash/xor.js create mode 100644 node_modules/lodash/xorBy.js create mode 100644 node_modules/lodash/xorWith.js create mode 100644 node_modules/lodash/zip.js create mode 100644 node_modules/lodash/zipObject.js create mode 100644 node_modules/lodash/zipObjectDeep.js create mode 100644 node_modules/lodash/zipWith.js create mode 100644 node_modules/mimic-fn/index.js create mode 100644 node_modules/mimic-fn/license create mode 100644 node_modules/mimic-fn/package.json create mode 100644 node_modules/mimic-fn/readme.md create mode 100644 node_modules/mute-stream/.nyc_output/33508.json create mode 100644 node_modules/mute-stream/.nyc_output/33510.json create mode 100644 node_modules/mute-stream/.travis.yml create mode 100644 node_modules/mute-stream/LICENSE create mode 100644 node_modules/mute-stream/README.md create mode 100644 node_modules/mute-stream/coverage/lcov-report/__root__/index.html create mode 100644 node_modules/mute-stream/coverage/lcov-report/__root__/mute.js.html create mode 100644 node_modules/mute-stream/coverage/lcov-report/base.css create mode 100644 node_modules/mute-stream/coverage/lcov-report/index.html create mode 100644 node_modules/mute-stream/coverage/lcov-report/prettify.css create mode 100644 node_modules/mute-stream/coverage/lcov-report/prettify.js create mode 100644 node_modules/mute-stream/coverage/lcov-report/sort-arrow-sprite.png create mode 100644 node_modules/mute-stream/coverage/lcov-report/sorter.js create mode 100644 node_modules/mute-stream/coverage/lcov.info create mode 100644 node_modules/mute-stream/mute.js create mode 100644 node_modules/mute-stream/package.json create mode 100644 node_modules/mute-stream/test/basic.js create mode 100644 node_modules/onetime/index.js create mode 100644 node_modules/onetime/license create mode 100644 node_modules/onetime/package.json create mode 100644 node_modules/onetime/readme.md create mode 100644 node_modules/os-tmpdir/index.js create mode 100644 node_modules/os-tmpdir/license create mode 100644 node_modules/os-tmpdir/package.json create mode 100644 node_modules/os-tmpdir/readme.md create mode 100644 node_modules/restore-cursor/index.js create mode 100644 node_modules/restore-cursor/license create mode 100644 node_modules/restore-cursor/package.json create mode 100644 node_modules/restore-cursor/readme.md create mode 100644 node_modules/run-async/LICENSE create mode 100644 node_modules/run-async/README.md create mode 100644 node_modules/run-async/index.js create mode 100644 node_modules/run-async/package.json create mode 100644 node_modules/rxjs/AsyncSubject.d.ts create mode 100644 node_modules/rxjs/AsyncSubject.js create mode 100644 node_modules/rxjs/AsyncSubject.js.map create mode 100644 node_modules/rxjs/BehaviorSubject.d.ts create mode 100644 node_modules/rxjs/BehaviorSubject.js create mode 100644 node_modules/rxjs/BehaviorSubject.js.map create mode 100644 node_modules/rxjs/InnerSubscriber.d.ts create mode 100644 node_modules/rxjs/InnerSubscriber.js create mode 100644 node_modules/rxjs/InnerSubscriber.js.map create mode 100644 node_modules/rxjs/LICENSE.txt create mode 100644 node_modules/rxjs/Notification.d.ts create mode 100644 node_modules/rxjs/Notification.js create mode 100644 node_modules/rxjs/Notification.js.map create mode 100644 node_modules/rxjs/Observable.d.ts create mode 100644 node_modules/rxjs/Observable.js create mode 100644 node_modules/rxjs/Observable.js.map create mode 100644 node_modules/rxjs/Observer.d.ts create mode 100644 node_modules/rxjs/Observer.js create mode 100644 node_modules/rxjs/Observer.js.map create mode 100644 node_modules/rxjs/Operator.d.ts create mode 100644 node_modules/rxjs/Operator.js create mode 100644 node_modules/rxjs/Operator.js.map create mode 100644 node_modules/rxjs/OuterSubscriber.d.ts create mode 100644 node_modules/rxjs/OuterSubscriber.js create mode 100644 node_modules/rxjs/OuterSubscriber.js.map create mode 100644 node_modules/rxjs/README.md create mode 100644 node_modules/rxjs/ReplaySubject.d.ts create mode 100644 node_modules/rxjs/ReplaySubject.js create mode 100644 node_modules/rxjs/ReplaySubject.js.map create mode 100644 node_modules/rxjs/Rx.d.ts create mode 100644 node_modules/rxjs/Rx.js create mode 100644 node_modules/rxjs/Rx.js.map create mode 100644 node_modules/rxjs/Scheduler.d.ts create mode 100644 node_modules/rxjs/Scheduler.js create mode 100644 node_modules/rxjs/Scheduler.js.map create mode 100644 node_modules/rxjs/Subject.d.ts create mode 100644 node_modules/rxjs/Subject.js create mode 100644 node_modules/rxjs/Subject.js.map create mode 100644 node_modules/rxjs/SubjectSubscription.d.ts create mode 100644 node_modules/rxjs/SubjectSubscription.js create mode 100644 node_modules/rxjs/SubjectSubscription.js.map create mode 100644 node_modules/rxjs/Subscriber.d.ts create mode 100644 node_modules/rxjs/Subscriber.js create mode 100644 node_modules/rxjs/Subscriber.js.map create mode 100644 node_modules/rxjs/Subscription.d.ts create mode 100644 node_modules/rxjs/Subscription.js create mode 100644 node_modules/rxjs/Subscription.js.map create mode 100644 node_modules/rxjs/_esm2015/AsyncSubject.js create mode 100644 node_modules/rxjs/_esm2015/AsyncSubject.js.map create mode 100644 node_modules/rxjs/_esm2015/BehaviorSubject.js create mode 100644 node_modules/rxjs/_esm2015/BehaviorSubject.js.map create mode 100644 node_modules/rxjs/_esm2015/InnerSubscriber.js create mode 100644 node_modules/rxjs/_esm2015/InnerSubscriber.js.map create mode 100644 node_modules/rxjs/_esm2015/LICENSE.txt create mode 100644 node_modules/rxjs/_esm2015/Notification.js create mode 100644 node_modules/rxjs/_esm2015/Notification.js.map create mode 100644 node_modules/rxjs/_esm2015/Observable.js create mode 100644 node_modules/rxjs/_esm2015/Observable.js.map create mode 100644 node_modules/rxjs/_esm2015/Observer.js create mode 100644 node_modules/rxjs/_esm2015/Observer.js.map create mode 100644 node_modules/rxjs/_esm2015/Operator.js create mode 100644 node_modules/rxjs/_esm2015/Operator.js.map create mode 100644 node_modules/rxjs/_esm2015/OuterSubscriber.js create mode 100644 node_modules/rxjs/_esm2015/OuterSubscriber.js.map create mode 100644 node_modules/rxjs/_esm2015/README.md create mode 100644 node_modules/rxjs/_esm2015/ReplaySubject.js create mode 100644 node_modules/rxjs/_esm2015/ReplaySubject.js.map create mode 100644 node_modules/rxjs/_esm2015/Rx.js create mode 100644 node_modules/rxjs/_esm2015/Rx.js.map create mode 100644 node_modules/rxjs/_esm2015/Scheduler.js create mode 100644 node_modules/rxjs/_esm2015/Scheduler.js.map create mode 100644 node_modules/rxjs/_esm2015/Subject.js create mode 100644 node_modules/rxjs/_esm2015/Subject.js.map create mode 100644 node_modules/rxjs/_esm2015/SubjectSubscription.js create mode 100644 node_modules/rxjs/_esm2015/SubjectSubscription.js.map create mode 100644 node_modules/rxjs/_esm2015/Subscriber.js create mode 100644 node_modules/rxjs/_esm2015/Subscriber.js.map create mode 100644 node_modules/rxjs/_esm2015/Subscription.js create mode 100644 node_modules/rxjs/_esm2015/Subscription.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/bindCallback.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/bindCallback.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/bindNodeCallback.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/bindNodeCallback.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/combineLatest.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/combineLatest.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/concat.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/concat.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/defer.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/defer.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/dom/ajax.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/dom/ajax.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/dom/webSocket.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/dom/webSocket.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/empty.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/empty.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/forkJoin.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/forkJoin.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/from.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/from.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/fromEvent.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/fromEvent.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/fromEventPattern.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/fromEventPattern.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/fromPromise.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/fromPromise.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/generate.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/generate.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/if.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/if.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/interval.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/interval.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/merge.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/merge.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/never.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/never.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/of.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/of.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/onErrorResumeNext.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/onErrorResumeNext.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/pairs.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/pairs.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/race.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/race.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/range.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/range.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/throw.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/throw.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/timer.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/timer.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/using.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/using.js.map create mode 100644 node_modules/rxjs/_esm2015/add/observable/zip.js create mode 100644 node_modules/rxjs/_esm2015/add/observable/zip.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/audit.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/audit.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/auditTime.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/auditTime.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/buffer.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/buffer.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/bufferCount.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/bufferCount.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/bufferTime.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/bufferTime.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/bufferToggle.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/bufferToggle.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/bufferWhen.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/bufferWhen.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/catch.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/catch.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/combineAll.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/combineAll.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/combineLatest.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/combineLatest.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/concat.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/concat.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/concatAll.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/concatAll.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/concatMap.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/concatMap.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/concatMapTo.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/concatMapTo.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/count.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/count.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/debounce.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/debounce.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/debounceTime.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/debounceTime.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/defaultIfEmpty.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/defaultIfEmpty.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/delay.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/delay.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/delayWhen.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/delayWhen.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/dematerialize.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/dematerialize.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/distinct.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/distinct.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/distinctUntilChanged.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/distinctUntilChanged.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/distinctUntilKeyChanged.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/distinctUntilKeyChanged.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/do.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/do.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/elementAt.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/elementAt.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/every.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/every.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/exhaust.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/exhaust.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/exhaustMap.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/exhaustMap.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/expand.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/expand.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/filter.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/filter.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/finally.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/finally.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/find.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/find.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/findIndex.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/findIndex.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/first.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/first.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/groupBy.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/groupBy.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/ignoreElements.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/ignoreElements.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/isEmpty.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/isEmpty.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/last.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/last.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/let.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/let.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/map.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/map.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/mapTo.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/mapTo.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/materialize.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/materialize.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/max.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/max.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/merge.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/merge.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/mergeAll.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/mergeAll.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/mergeMap.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/mergeMap.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/mergeMapTo.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/mergeMapTo.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/mergeScan.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/mergeScan.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/min.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/min.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/multicast.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/multicast.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/observeOn.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/observeOn.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/onErrorResumeNext.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/onErrorResumeNext.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/pairwise.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/pairwise.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/partition.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/partition.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/pluck.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/pluck.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/publish.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/publish.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/publishBehavior.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/publishBehavior.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/publishLast.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/publishLast.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/publishReplay.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/publishReplay.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/race.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/race.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/reduce.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/reduce.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/repeat.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/repeat.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/repeatWhen.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/repeatWhen.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/retry.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/retry.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/retryWhen.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/retryWhen.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/sample.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/sample.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/sampleTime.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/sampleTime.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/scan.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/scan.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/sequenceEqual.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/sequenceEqual.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/share.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/share.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/shareReplay.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/shareReplay.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/single.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/single.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/skip.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/skip.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/skipLast.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/skipLast.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/skipUntil.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/skipUntil.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/skipWhile.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/skipWhile.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/startWith.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/startWith.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/subscribeOn.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/subscribeOn.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/switch.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/switch.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/switchMap.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/switchMap.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/switchMapTo.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/switchMapTo.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/take.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/take.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/takeLast.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/takeLast.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/takeUntil.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/takeUntil.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/takeWhile.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/takeWhile.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/throttle.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/throttle.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/throttleTime.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/throttleTime.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/timeInterval.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/timeInterval.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/timeout.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/timeout.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/timeoutWith.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/timeoutWith.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/timestamp.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/timestamp.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/toArray.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/toArray.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/toPromise.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/toPromise.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/window.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/window.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/windowCount.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/windowCount.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/windowTime.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/windowTime.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/windowToggle.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/windowToggle.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/windowWhen.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/windowWhen.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/withLatestFrom.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/withLatestFrom.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/zip.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/zip.js.map create mode 100644 node_modules/rxjs/_esm2015/add/operator/zipAll.js create mode 100644 node_modules/rxjs/_esm2015/add/operator/zipAll.js.map create mode 100644 node_modules/rxjs/_esm2015/interfaces.js create mode 100644 node_modules/rxjs/_esm2015/interfaces.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/ArrayLikeObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/ArrayLikeObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/ArrayObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/ArrayObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/BoundCallbackObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/BoundCallbackObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/BoundNodeCallbackObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/BoundNodeCallbackObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/ConnectableObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/ConnectableObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/DeferObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/DeferObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/EmptyObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/EmptyObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/ErrorObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/ErrorObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/ForkJoinObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/ForkJoinObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/FromEventObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/FromEventObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/FromEventPatternObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/FromEventPatternObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/FromObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/FromObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/GenerateObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/GenerateObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/IfObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/IfObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/IntervalObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/IntervalObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/IteratorObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/IteratorObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/NeverObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/NeverObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/PairsObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/PairsObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/PromiseObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/PromiseObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/RangeObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/RangeObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/ScalarObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/ScalarObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/SubscribeOnObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/SubscribeOnObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/TimerObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/TimerObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/UsingObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/UsingObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/bindCallback.js create mode 100644 node_modules/rxjs/_esm2015/observable/bindCallback.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/bindNodeCallback.js create mode 100644 node_modules/rxjs/_esm2015/observable/bindNodeCallback.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/combineLatest.js create mode 100644 node_modules/rxjs/_esm2015/observable/combineLatest.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/concat.js create mode 100644 node_modules/rxjs/_esm2015/observable/concat.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/defer.js create mode 100644 node_modules/rxjs/_esm2015/observable/defer.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/dom/AjaxObservable.js create mode 100644 node_modules/rxjs/_esm2015/observable/dom/AjaxObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/dom/WebSocketSubject.js create mode 100644 node_modules/rxjs/_esm2015/observable/dom/WebSocketSubject.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/dom/ajax.js create mode 100644 node_modules/rxjs/_esm2015/observable/dom/ajax.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/dom/webSocket.js create mode 100644 node_modules/rxjs/_esm2015/observable/dom/webSocket.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/empty.js create mode 100644 node_modules/rxjs/_esm2015/observable/empty.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/forkJoin.js create mode 100644 node_modules/rxjs/_esm2015/observable/forkJoin.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/from.js create mode 100644 node_modules/rxjs/_esm2015/observable/from.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/fromEvent.js create mode 100644 node_modules/rxjs/_esm2015/observable/fromEvent.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/fromEventPattern.js create mode 100644 node_modules/rxjs/_esm2015/observable/fromEventPattern.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/fromPromise.js create mode 100644 node_modules/rxjs/_esm2015/observable/fromPromise.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/generate.js create mode 100644 node_modules/rxjs/_esm2015/observable/generate.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/if.js create mode 100644 node_modules/rxjs/_esm2015/observable/if.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/interval.js create mode 100644 node_modules/rxjs/_esm2015/observable/interval.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/merge.js create mode 100644 node_modules/rxjs/_esm2015/observable/merge.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/never.js create mode 100644 node_modules/rxjs/_esm2015/observable/never.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/of.js create mode 100644 node_modules/rxjs/_esm2015/observable/of.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/onErrorResumeNext.js create mode 100644 node_modules/rxjs/_esm2015/observable/onErrorResumeNext.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/pairs.js create mode 100644 node_modules/rxjs/_esm2015/observable/pairs.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/race.js create mode 100644 node_modules/rxjs/_esm2015/observable/race.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/range.js create mode 100644 node_modules/rxjs/_esm2015/observable/range.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/throw.js create mode 100644 node_modules/rxjs/_esm2015/observable/throw.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/timer.js create mode 100644 node_modules/rxjs/_esm2015/observable/timer.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/using.js create mode 100644 node_modules/rxjs/_esm2015/observable/using.js.map create mode 100644 node_modules/rxjs/_esm2015/observable/zip.js create mode 100644 node_modules/rxjs/_esm2015/observable/zip.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/audit.js create mode 100644 node_modules/rxjs/_esm2015/operator/audit.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/auditTime.js create mode 100644 node_modules/rxjs/_esm2015/operator/auditTime.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/buffer.js create mode 100644 node_modules/rxjs/_esm2015/operator/buffer.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/bufferCount.js create mode 100644 node_modules/rxjs/_esm2015/operator/bufferCount.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/bufferTime.js create mode 100644 node_modules/rxjs/_esm2015/operator/bufferTime.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/bufferToggle.js create mode 100644 node_modules/rxjs/_esm2015/operator/bufferToggle.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/bufferWhen.js create mode 100644 node_modules/rxjs/_esm2015/operator/bufferWhen.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/catch.js create mode 100644 node_modules/rxjs/_esm2015/operator/catch.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/combineAll.js create mode 100644 node_modules/rxjs/_esm2015/operator/combineAll.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/combineLatest.js create mode 100644 node_modules/rxjs/_esm2015/operator/combineLatest.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/concat.js create mode 100644 node_modules/rxjs/_esm2015/operator/concat.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/concatAll.js create mode 100644 node_modules/rxjs/_esm2015/operator/concatAll.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/concatMap.js create mode 100644 node_modules/rxjs/_esm2015/operator/concatMap.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/concatMapTo.js create mode 100644 node_modules/rxjs/_esm2015/operator/concatMapTo.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/count.js create mode 100644 node_modules/rxjs/_esm2015/operator/count.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/debounce.js create mode 100644 node_modules/rxjs/_esm2015/operator/debounce.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/debounceTime.js create mode 100644 node_modules/rxjs/_esm2015/operator/debounceTime.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/defaultIfEmpty.js create mode 100644 node_modules/rxjs/_esm2015/operator/defaultIfEmpty.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/delay.js create mode 100644 node_modules/rxjs/_esm2015/operator/delay.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/delayWhen.js create mode 100644 node_modules/rxjs/_esm2015/operator/delayWhen.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/dematerialize.js create mode 100644 node_modules/rxjs/_esm2015/operator/dematerialize.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/distinct.js create mode 100644 node_modules/rxjs/_esm2015/operator/distinct.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/distinctUntilChanged.js create mode 100644 node_modules/rxjs/_esm2015/operator/distinctUntilChanged.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/distinctUntilKeyChanged.js create mode 100644 node_modules/rxjs/_esm2015/operator/distinctUntilKeyChanged.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/do.js create mode 100644 node_modules/rxjs/_esm2015/operator/do.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/elementAt.js create mode 100644 node_modules/rxjs/_esm2015/operator/elementAt.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/every.js create mode 100644 node_modules/rxjs/_esm2015/operator/every.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/exhaust.js create mode 100644 node_modules/rxjs/_esm2015/operator/exhaust.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/exhaustMap.js create mode 100644 node_modules/rxjs/_esm2015/operator/exhaustMap.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/expand.js create mode 100644 node_modules/rxjs/_esm2015/operator/expand.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/filter.js create mode 100644 node_modules/rxjs/_esm2015/operator/filter.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/finally.js create mode 100644 node_modules/rxjs/_esm2015/operator/finally.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/find.js create mode 100644 node_modules/rxjs/_esm2015/operator/find.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/findIndex.js create mode 100644 node_modules/rxjs/_esm2015/operator/findIndex.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/first.js create mode 100644 node_modules/rxjs/_esm2015/operator/first.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/groupBy.js create mode 100644 node_modules/rxjs/_esm2015/operator/groupBy.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/ignoreElements.js create mode 100644 node_modules/rxjs/_esm2015/operator/ignoreElements.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/isEmpty.js create mode 100644 node_modules/rxjs/_esm2015/operator/isEmpty.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/last.js create mode 100644 node_modules/rxjs/_esm2015/operator/last.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/let.js create mode 100644 node_modules/rxjs/_esm2015/operator/let.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/map.js create mode 100644 node_modules/rxjs/_esm2015/operator/map.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/mapTo.js create mode 100644 node_modules/rxjs/_esm2015/operator/mapTo.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/materialize.js create mode 100644 node_modules/rxjs/_esm2015/operator/materialize.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/max.js create mode 100644 node_modules/rxjs/_esm2015/operator/max.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/merge.js create mode 100644 node_modules/rxjs/_esm2015/operator/merge.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/mergeAll.js create mode 100644 node_modules/rxjs/_esm2015/operator/mergeAll.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/mergeMap.js create mode 100644 node_modules/rxjs/_esm2015/operator/mergeMap.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/mergeMapTo.js create mode 100644 node_modules/rxjs/_esm2015/operator/mergeMapTo.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/mergeScan.js create mode 100644 node_modules/rxjs/_esm2015/operator/mergeScan.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/min.js create mode 100644 node_modules/rxjs/_esm2015/operator/min.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/multicast.js create mode 100644 node_modules/rxjs/_esm2015/operator/multicast.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/observeOn.js create mode 100644 node_modules/rxjs/_esm2015/operator/observeOn.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/onErrorResumeNext.js create mode 100644 node_modules/rxjs/_esm2015/operator/onErrorResumeNext.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/pairwise.js create mode 100644 node_modules/rxjs/_esm2015/operator/pairwise.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/partition.js create mode 100644 node_modules/rxjs/_esm2015/operator/partition.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/pluck.js create mode 100644 node_modules/rxjs/_esm2015/operator/pluck.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/publish.js create mode 100644 node_modules/rxjs/_esm2015/operator/publish.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/publishBehavior.js create mode 100644 node_modules/rxjs/_esm2015/operator/publishBehavior.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/publishLast.js create mode 100644 node_modules/rxjs/_esm2015/operator/publishLast.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/publishReplay.js create mode 100644 node_modules/rxjs/_esm2015/operator/publishReplay.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/race.js create mode 100644 node_modules/rxjs/_esm2015/operator/race.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/reduce.js create mode 100644 node_modules/rxjs/_esm2015/operator/reduce.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/repeat.js create mode 100644 node_modules/rxjs/_esm2015/operator/repeat.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/repeatWhen.js create mode 100644 node_modules/rxjs/_esm2015/operator/repeatWhen.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/retry.js create mode 100644 node_modules/rxjs/_esm2015/operator/retry.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/retryWhen.js create mode 100644 node_modules/rxjs/_esm2015/operator/retryWhen.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/sample.js create mode 100644 node_modules/rxjs/_esm2015/operator/sample.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/sampleTime.js create mode 100644 node_modules/rxjs/_esm2015/operator/sampleTime.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/scan.js create mode 100644 node_modules/rxjs/_esm2015/operator/scan.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/sequenceEqual.js create mode 100644 node_modules/rxjs/_esm2015/operator/sequenceEqual.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/share.js create mode 100644 node_modules/rxjs/_esm2015/operator/share.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/shareReplay.js create mode 100644 node_modules/rxjs/_esm2015/operator/shareReplay.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/single.js create mode 100644 node_modules/rxjs/_esm2015/operator/single.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/skip.js create mode 100644 node_modules/rxjs/_esm2015/operator/skip.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/skipLast.js create mode 100644 node_modules/rxjs/_esm2015/operator/skipLast.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/skipUntil.js create mode 100644 node_modules/rxjs/_esm2015/operator/skipUntil.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/skipWhile.js create mode 100644 node_modules/rxjs/_esm2015/operator/skipWhile.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/startWith.js create mode 100644 node_modules/rxjs/_esm2015/operator/startWith.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/subscribeOn.js create mode 100644 node_modules/rxjs/_esm2015/operator/subscribeOn.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/switch.js create mode 100644 node_modules/rxjs/_esm2015/operator/switch.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/switchMap.js create mode 100644 node_modules/rxjs/_esm2015/operator/switchMap.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/switchMapTo.js create mode 100644 node_modules/rxjs/_esm2015/operator/switchMapTo.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/take.js create mode 100644 node_modules/rxjs/_esm2015/operator/take.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/takeLast.js create mode 100644 node_modules/rxjs/_esm2015/operator/takeLast.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/takeUntil.js create mode 100644 node_modules/rxjs/_esm2015/operator/takeUntil.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/takeWhile.js create mode 100644 node_modules/rxjs/_esm2015/operator/takeWhile.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/throttle.js create mode 100644 node_modules/rxjs/_esm2015/operator/throttle.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/throttleTime.js create mode 100644 node_modules/rxjs/_esm2015/operator/throttleTime.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/timeInterval.js create mode 100644 node_modules/rxjs/_esm2015/operator/timeInterval.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/timeout.js create mode 100644 node_modules/rxjs/_esm2015/operator/timeout.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/timeoutWith.js create mode 100644 node_modules/rxjs/_esm2015/operator/timeoutWith.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/timestamp.js create mode 100644 node_modules/rxjs/_esm2015/operator/timestamp.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/toArray.js create mode 100644 node_modules/rxjs/_esm2015/operator/toArray.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/toPromise.js create mode 100644 node_modules/rxjs/_esm2015/operator/toPromise.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/window.js create mode 100644 node_modules/rxjs/_esm2015/operator/window.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/windowCount.js create mode 100644 node_modules/rxjs/_esm2015/operator/windowCount.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/windowTime.js create mode 100644 node_modules/rxjs/_esm2015/operator/windowTime.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/windowToggle.js create mode 100644 node_modules/rxjs/_esm2015/operator/windowToggle.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/windowWhen.js create mode 100644 node_modules/rxjs/_esm2015/operator/windowWhen.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/withLatestFrom.js create mode 100644 node_modules/rxjs/_esm2015/operator/withLatestFrom.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/zip.js create mode 100644 node_modules/rxjs/_esm2015/operator/zip.js.map create mode 100644 node_modules/rxjs/_esm2015/operator/zipAll.js create mode 100644 node_modules/rxjs/_esm2015/operator/zipAll.js.map create mode 100644 node_modules/rxjs/_esm2015/operators.js create mode 100644 node_modules/rxjs/_esm2015/operators.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/audit.js create mode 100644 node_modules/rxjs/_esm2015/operators/audit.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/auditTime.js create mode 100644 node_modules/rxjs/_esm2015/operators/auditTime.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/buffer.js create mode 100644 node_modules/rxjs/_esm2015/operators/buffer.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/bufferCount.js create mode 100644 node_modules/rxjs/_esm2015/operators/bufferCount.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/bufferTime.js create mode 100644 node_modules/rxjs/_esm2015/operators/bufferTime.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/bufferToggle.js create mode 100644 node_modules/rxjs/_esm2015/operators/bufferToggle.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/bufferWhen.js create mode 100644 node_modules/rxjs/_esm2015/operators/bufferWhen.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/catchError.js create mode 100644 node_modules/rxjs/_esm2015/operators/catchError.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/combineAll.js create mode 100644 node_modules/rxjs/_esm2015/operators/combineAll.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/combineLatest.js create mode 100644 node_modules/rxjs/_esm2015/operators/combineLatest.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/concat.js create mode 100644 node_modules/rxjs/_esm2015/operators/concat.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/concatAll.js create mode 100644 node_modules/rxjs/_esm2015/operators/concatAll.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/concatMap.js create mode 100644 node_modules/rxjs/_esm2015/operators/concatMap.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/concatMapTo.js create mode 100644 node_modules/rxjs/_esm2015/operators/concatMapTo.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/count.js create mode 100644 node_modules/rxjs/_esm2015/operators/count.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/debounce.js create mode 100644 node_modules/rxjs/_esm2015/operators/debounce.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/debounceTime.js create mode 100644 node_modules/rxjs/_esm2015/operators/debounceTime.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/defaultIfEmpty.js create mode 100644 node_modules/rxjs/_esm2015/operators/defaultIfEmpty.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/delay.js create mode 100644 node_modules/rxjs/_esm2015/operators/delay.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/delayWhen.js create mode 100644 node_modules/rxjs/_esm2015/operators/delayWhen.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/dematerialize.js create mode 100644 node_modules/rxjs/_esm2015/operators/dematerialize.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/distinct.js create mode 100644 node_modules/rxjs/_esm2015/operators/distinct.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/distinctUntilChanged.js create mode 100644 node_modules/rxjs/_esm2015/operators/distinctUntilChanged.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/distinctUntilKeyChanged.js create mode 100644 node_modules/rxjs/_esm2015/operators/distinctUntilKeyChanged.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/elementAt.js create mode 100644 node_modules/rxjs/_esm2015/operators/elementAt.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/every.js create mode 100644 node_modules/rxjs/_esm2015/operators/every.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/exhaust.js create mode 100644 node_modules/rxjs/_esm2015/operators/exhaust.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/exhaustMap.js create mode 100644 node_modules/rxjs/_esm2015/operators/exhaustMap.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/expand.js create mode 100644 node_modules/rxjs/_esm2015/operators/expand.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/filter.js create mode 100644 node_modules/rxjs/_esm2015/operators/filter.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/finalize.js create mode 100644 node_modules/rxjs/_esm2015/operators/finalize.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/find.js create mode 100644 node_modules/rxjs/_esm2015/operators/find.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/findIndex.js create mode 100644 node_modules/rxjs/_esm2015/operators/findIndex.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/first.js create mode 100644 node_modules/rxjs/_esm2015/operators/first.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/groupBy.js create mode 100644 node_modules/rxjs/_esm2015/operators/groupBy.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/ignoreElements.js create mode 100644 node_modules/rxjs/_esm2015/operators/ignoreElements.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/isEmpty.js create mode 100644 node_modules/rxjs/_esm2015/operators/isEmpty.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/last.js create mode 100644 node_modules/rxjs/_esm2015/operators/last.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/map.js create mode 100644 node_modules/rxjs/_esm2015/operators/map.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/mapTo.js create mode 100644 node_modules/rxjs/_esm2015/operators/mapTo.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/materialize.js create mode 100644 node_modules/rxjs/_esm2015/operators/materialize.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/max.js create mode 100644 node_modules/rxjs/_esm2015/operators/max.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/merge.js create mode 100644 node_modules/rxjs/_esm2015/operators/merge.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/mergeAll.js create mode 100644 node_modules/rxjs/_esm2015/operators/mergeAll.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/mergeMap.js create mode 100644 node_modules/rxjs/_esm2015/operators/mergeMap.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/mergeMapTo.js create mode 100644 node_modules/rxjs/_esm2015/operators/mergeMapTo.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/mergeScan.js create mode 100644 node_modules/rxjs/_esm2015/operators/mergeScan.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/min.js create mode 100644 node_modules/rxjs/_esm2015/operators/min.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/multicast.js create mode 100644 node_modules/rxjs/_esm2015/operators/multicast.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/observeOn.js create mode 100644 node_modules/rxjs/_esm2015/operators/observeOn.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/onErrorResumeNext.js create mode 100644 node_modules/rxjs/_esm2015/operators/onErrorResumeNext.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/pairwise.js create mode 100644 node_modules/rxjs/_esm2015/operators/pairwise.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/partition.js create mode 100644 node_modules/rxjs/_esm2015/operators/partition.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/pluck.js create mode 100644 node_modules/rxjs/_esm2015/operators/pluck.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/publish.js create mode 100644 node_modules/rxjs/_esm2015/operators/publish.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/publishBehavior.js create mode 100644 node_modules/rxjs/_esm2015/operators/publishBehavior.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/publishLast.js create mode 100644 node_modules/rxjs/_esm2015/operators/publishLast.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/publishReplay.js create mode 100644 node_modules/rxjs/_esm2015/operators/publishReplay.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/race.js create mode 100644 node_modules/rxjs/_esm2015/operators/race.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/reduce.js create mode 100644 node_modules/rxjs/_esm2015/operators/reduce.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/refCount.js create mode 100644 node_modules/rxjs/_esm2015/operators/refCount.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/repeat.js create mode 100644 node_modules/rxjs/_esm2015/operators/repeat.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/repeatWhen.js create mode 100644 node_modules/rxjs/_esm2015/operators/repeatWhen.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/retry.js create mode 100644 node_modules/rxjs/_esm2015/operators/retry.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/retryWhen.js create mode 100644 node_modules/rxjs/_esm2015/operators/retryWhen.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/sample.js create mode 100644 node_modules/rxjs/_esm2015/operators/sample.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/sampleTime.js create mode 100644 node_modules/rxjs/_esm2015/operators/sampleTime.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/scan.js create mode 100644 node_modules/rxjs/_esm2015/operators/scan.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/sequenceEqual.js create mode 100644 node_modules/rxjs/_esm2015/operators/sequenceEqual.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/share.js create mode 100644 node_modules/rxjs/_esm2015/operators/share.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/shareReplay.js create mode 100644 node_modules/rxjs/_esm2015/operators/shareReplay.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/single.js create mode 100644 node_modules/rxjs/_esm2015/operators/single.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/skip.js create mode 100644 node_modules/rxjs/_esm2015/operators/skip.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/skipLast.js create mode 100644 node_modules/rxjs/_esm2015/operators/skipLast.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/skipUntil.js create mode 100644 node_modules/rxjs/_esm2015/operators/skipUntil.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/skipWhile.js create mode 100644 node_modules/rxjs/_esm2015/operators/skipWhile.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/startWith.js create mode 100644 node_modules/rxjs/_esm2015/operators/startWith.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/subscribeOn.js create mode 100644 node_modules/rxjs/_esm2015/operators/subscribeOn.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/switchAll.js create mode 100644 node_modules/rxjs/_esm2015/operators/switchAll.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/switchMap.js create mode 100644 node_modules/rxjs/_esm2015/operators/switchMap.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/switchMapTo.js create mode 100644 node_modules/rxjs/_esm2015/operators/switchMapTo.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/take.js create mode 100644 node_modules/rxjs/_esm2015/operators/take.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/takeLast.js create mode 100644 node_modules/rxjs/_esm2015/operators/takeLast.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/takeUntil.js create mode 100644 node_modules/rxjs/_esm2015/operators/takeUntil.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/takeWhile.js create mode 100644 node_modules/rxjs/_esm2015/operators/takeWhile.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/tap.js create mode 100644 node_modules/rxjs/_esm2015/operators/tap.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/throttle.js create mode 100644 node_modules/rxjs/_esm2015/operators/throttle.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/throttleTime.js create mode 100644 node_modules/rxjs/_esm2015/operators/throttleTime.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/timeInterval.js create mode 100644 node_modules/rxjs/_esm2015/operators/timeInterval.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/timeout.js create mode 100644 node_modules/rxjs/_esm2015/operators/timeout.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/timeoutWith.js create mode 100644 node_modules/rxjs/_esm2015/operators/timeoutWith.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/timestamp.js create mode 100644 node_modules/rxjs/_esm2015/operators/timestamp.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/toArray.js create mode 100644 node_modules/rxjs/_esm2015/operators/toArray.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/window.js create mode 100644 node_modules/rxjs/_esm2015/operators/window.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/windowCount.js create mode 100644 node_modules/rxjs/_esm2015/operators/windowCount.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/windowTime.js create mode 100644 node_modules/rxjs/_esm2015/operators/windowTime.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/windowToggle.js create mode 100644 node_modules/rxjs/_esm2015/operators/windowToggle.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/windowWhen.js create mode 100644 node_modules/rxjs/_esm2015/operators/windowWhen.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/withLatestFrom.js create mode 100644 node_modules/rxjs/_esm2015/operators/withLatestFrom.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/zip.js create mode 100644 node_modules/rxjs/_esm2015/operators/zip.js.map create mode 100644 node_modules/rxjs/_esm2015/operators/zipAll.js create mode 100644 node_modules/rxjs/_esm2015/operators/zipAll.js.map create mode 100644 node_modules/rxjs/_esm2015/path-mapping.js create mode 100644 node_modules/rxjs/_esm2015/scheduler/Action.js create mode 100644 node_modules/rxjs/_esm2015/scheduler/Action.js.map create mode 100644 node_modules/rxjs/_esm2015/scheduler/AnimationFrameAction.js create mode 100644 node_modules/rxjs/_esm2015/scheduler/AnimationFrameAction.js.map create mode 100644 node_modules/rxjs/_esm2015/scheduler/AnimationFrameScheduler.js create mode 100644 node_modules/rxjs/_esm2015/scheduler/AnimationFrameScheduler.js.map create mode 100644 node_modules/rxjs/_esm2015/scheduler/AsapAction.js create mode 100644 node_modules/rxjs/_esm2015/scheduler/AsapAction.js.map create mode 100644 node_modules/rxjs/_esm2015/scheduler/AsapScheduler.js create mode 100644 node_modules/rxjs/_esm2015/scheduler/AsapScheduler.js.map create mode 100644 node_modules/rxjs/_esm2015/scheduler/AsyncAction.js create mode 100644 node_modules/rxjs/_esm2015/scheduler/AsyncAction.js.map create mode 100644 node_modules/rxjs/_esm2015/scheduler/AsyncScheduler.js create mode 100644 node_modules/rxjs/_esm2015/scheduler/AsyncScheduler.js.map create mode 100644 node_modules/rxjs/_esm2015/scheduler/QueueAction.js create mode 100644 node_modules/rxjs/_esm2015/scheduler/QueueAction.js.map create mode 100644 node_modules/rxjs/_esm2015/scheduler/QueueScheduler.js create mode 100644 node_modules/rxjs/_esm2015/scheduler/QueueScheduler.js.map create mode 100644 node_modules/rxjs/_esm2015/scheduler/VirtualTimeScheduler.js create mode 100644 node_modules/rxjs/_esm2015/scheduler/VirtualTimeScheduler.js.map create mode 100644 node_modules/rxjs/_esm2015/scheduler/animationFrame.js create mode 100644 node_modules/rxjs/_esm2015/scheduler/animationFrame.js.map create mode 100644 node_modules/rxjs/_esm2015/scheduler/asap.js create mode 100644 node_modules/rxjs/_esm2015/scheduler/asap.js.map create mode 100644 node_modules/rxjs/_esm2015/scheduler/async.js create mode 100644 node_modules/rxjs/_esm2015/scheduler/async.js.map create mode 100644 node_modules/rxjs/_esm2015/scheduler/queue.js create mode 100644 node_modules/rxjs/_esm2015/scheduler/queue.js.map create mode 100644 node_modules/rxjs/_esm2015/symbol/iterator.js create mode 100644 node_modules/rxjs/_esm2015/symbol/iterator.js.map create mode 100644 node_modules/rxjs/_esm2015/symbol/observable.js create mode 100644 node_modules/rxjs/_esm2015/symbol/observable.js.map create mode 100644 node_modules/rxjs/_esm2015/symbol/rxSubscriber.js create mode 100644 node_modules/rxjs/_esm2015/symbol/rxSubscriber.js.map create mode 100644 node_modules/rxjs/_esm2015/testing/ColdObservable.js create mode 100644 node_modules/rxjs/_esm2015/testing/ColdObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/testing/HotObservable.js create mode 100644 node_modules/rxjs/_esm2015/testing/HotObservable.js.map create mode 100644 node_modules/rxjs/_esm2015/testing/SubscriptionLog.js create mode 100644 node_modules/rxjs/_esm2015/testing/SubscriptionLog.js.map create mode 100644 node_modules/rxjs/_esm2015/testing/SubscriptionLoggable.js create mode 100644 node_modules/rxjs/_esm2015/testing/SubscriptionLoggable.js.map create mode 100644 node_modules/rxjs/_esm2015/testing/TestMessage.js create mode 100644 node_modules/rxjs/_esm2015/testing/TestMessage.js.map create mode 100644 node_modules/rxjs/_esm2015/testing/TestScheduler.js create mode 100644 node_modules/rxjs/_esm2015/testing/TestScheduler.js.map create mode 100644 node_modules/rxjs/_esm2015/util/AnimationFrame.js create mode 100644 node_modules/rxjs/_esm2015/util/AnimationFrame.js.map create mode 100644 node_modules/rxjs/_esm2015/util/ArgumentOutOfRangeError.js create mode 100644 node_modules/rxjs/_esm2015/util/ArgumentOutOfRangeError.js.map create mode 100644 node_modules/rxjs/_esm2015/util/EmptyError.js create mode 100644 node_modules/rxjs/_esm2015/util/EmptyError.js.map create mode 100644 node_modules/rxjs/_esm2015/util/FastMap.js create mode 100644 node_modules/rxjs/_esm2015/util/FastMap.js.map create mode 100644 node_modules/rxjs/_esm2015/util/Immediate.js create mode 100644 node_modules/rxjs/_esm2015/util/Immediate.js.map create mode 100644 node_modules/rxjs/_esm2015/util/Map.js create mode 100644 node_modules/rxjs/_esm2015/util/Map.js.map create mode 100644 node_modules/rxjs/_esm2015/util/MapPolyfill.js create mode 100644 node_modules/rxjs/_esm2015/util/MapPolyfill.js.map create mode 100644 node_modules/rxjs/_esm2015/util/ObjectUnsubscribedError.js create mode 100644 node_modules/rxjs/_esm2015/util/ObjectUnsubscribedError.js.map create mode 100644 node_modules/rxjs/_esm2015/util/Set.js create mode 100644 node_modules/rxjs/_esm2015/util/Set.js.map create mode 100644 node_modules/rxjs/_esm2015/util/TimeoutError.js create mode 100644 node_modules/rxjs/_esm2015/util/TimeoutError.js.map create mode 100644 node_modules/rxjs/_esm2015/util/UnsubscriptionError.js create mode 100644 node_modules/rxjs/_esm2015/util/UnsubscriptionError.js.map create mode 100644 node_modules/rxjs/_esm2015/util/applyMixins.js create mode 100644 node_modules/rxjs/_esm2015/util/applyMixins.js.map create mode 100644 node_modules/rxjs/_esm2015/util/assign.js create mode 100644 node_modules/rxjs/_esm2015/util/assign.js.map create mode 100644 node_modules/rxjs/_esm2015/util/errorObject.js create mode 100644 node_modules/rxjs/_esm2015/util/errorObject.js.map create mode 100644 node_modules/rxjs/_esm2015/util/identity.js create mode 100644 node_modules/rxjs/_esm2015/util/identity.js.map create mode 100644 node_modules/rxjs/_esm2015/util/isArray.js create mode 100644 node_modules/rxjs/_esm2015/util/isArray.js.map create mode 100644 node_modules/rxjs/_esm2015/util/isArrayLike.js create mode 100644 node_modules/rxjs/_esm2015/util/isArrayLike.js.map create mode 100644 node_modules/rxjs/_esm2015/util/isDate.js create mode 100644 node_modules/rxjs/_esm2015/util/isDate.js.map create mode 100644 node_modules/rxjs/_esm2015/util/isFunction.js create mode 100644 node_modules/rxjs/_esm2015/util/isFunction.js.map create mode 100644 node_modules/rxjs/_esm2015/util/isNumeric.js create mode 100644 node_modules/rxjs/_esm2015/util/isNumeric.js.map create mode 100644 node_modules/rxjs/_esm2015/util/isObject.js create mode 100644 node_modules/rxjs/_esm2015/util/isObject.js.map create mode 100644 node_modules/rxjs/_esm2015/util/isPromise.js create mode 100644 node_modules/rxjs/_esm2015/util/isPromise.js.map create mode 100644 node_modules/rxjs/_esm2015/util/isScheduler.js create mode 100644 node_modules/rxjs/_esm2015/util/isScheduler.js.map create mode 100644 node_modules/rxjs/_esm2015/util/noop.js create mode 100644 node_modules/rxjs/_esm2015/util/noop.js.map create mode 100644 node_modules/rxjs/_esm2015/util/not.js create mode 100644 node_modules/rxjs/_esm2015/util/not.js.map create mode 100644 node_modules/rxjs/_esm2015/util/pipe.js create mode 100644 node_modules/rxjs/_esm2015/util/pipe.js.map create mode 100644 node_modules/rxjs/_esm2015/util/root.js create mode 100644 node_modules/rxjs/_esm2015/util/root.js.map create mode 100644 node_modules/rxjs/_esm2015/util/subscribeToResult.js create mode 100644 node_modules/rxjs/_esm2015/util/subscribeToResult.js.map create mode 100644 node_modules/rxjs/_esm2015/util/toSubscriber.js create mode 100644 node_modules/rxjs/_esm2015/util/toSubscriber.js.map create mode 100644 node_modules/rxjs/_esm2015/util/tryCatch.js create mode 100644 node_modules/rxjs/_esm2015/util/tryCatch.js.map create mode 100644 node_modules/rxjs/_esm5/AsyncSubject.js create mode 100644 node_modules/rxjs/_esm5/AsyncSubject.js.map create mode 100644 node_modules/rxjs/_esm5/BehaviorSubject.js create mode 100644 node_modules/rxjs/_esm5/BehaviorSubject.js.map create mode 100644 node_modules/rxjs/_esm5/InnerSubscriber.js create mode 100644 node_modules/rxjs/_esm5/InnerSubscriber.js.map create mode 100644 node_modules/rxjs/_esm5/LICENSE.txt create mode 100644 node_modules/rxjs/_esm5/Notification.js create mode 100644 node_modules/rxjs/_esm5/Notification.js.map create mode 100644 node_modules/rxjs/_esm5/Observable.js create mode 100644 node_modules/rxjs/_esm5/Observable.js.map create mode 100644 node_modules/rxjs/_esm5/Observer.js create mode 100644 node_modules/rxjs/_esm5/Observer.js.map create mode 100644 node_modules/rxjs/_esm5/Operator.js create mode 100644 node_modules/rxjs/_esm5/Operator.js.map create mode 100644 node_modules/rxjs/_esm5/OuterSubscriber.js create mode 100644 node_modules/rxjs/_esm5/OuterSubscriber.js.map create mode 100644 node_modules/rxjs/_esm5/README.md create mode 100644 node_modules/rxjs/_esm5/ReplaySubject.js create mode 100644 node_modules/rxjs/_esm5/ReplaySubject.js.map create mode 100644 node_modules/rxjs/_esm5/Rx.js create mode 100644 node_modules/rxjs/_esm5/Rx.js.map create mode 100644 node_modules/rxjs/_esm5/Scheduler.js create mode 100644 node_modules/rxjs/_esm5/Scheduler.js.map create mode 100644 node_modules/rxjs/_esm5/Subject.js create mode 100644 node_modules/rxjs/_esm5/Subject.js.map create mode 100644 node_modules/rxjs/_esm5/SubjectSubscription.js create mode 100644 node_modules/rxjs/_esm5/SubjectSubscription.js.map create mode 100644 node_modules/rxjs/_esm5/Subscriber.js create mode 100644 node_modules/rxjs/_esm5/Subscriber.js.map create mode 100644 node_modules/rxjs/_esm5/Subscription.js create mode 100644 node_modules/rxjs/_esm5/Subscription.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/bindCallback.js create mode 100644 node_modules/rxjs/_esm5/add/observable/bindCallback.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/bindNodeCallback.js create mode 100644 node_modules/rxjs/_esm5/add/observable/bindNodeCallback.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/combineLatest.js create mode 100644 node_modules/rxjs/_esm5/add/observable/combineLatest.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/concat.js create mode 100644 node_modules/rxjs/_esm5/add/observable/concat.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/defer.js create mode 100644 node_modules/rxjs/_esm5/add/observable/defer.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/dom/ajax.js create mode 100644 node_modules/rxjs/_esm5/add/observable/dom/ajax.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/dom/webSocket.js create mode 100644 node_modules/rxjs/_esm5/add/observable/dom/webSocket.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/empty.js create mode 100644 node_modules/rxjs/_esm5/add/observable/empty.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/forkJoin.js create mode 100644 node_modules/rxjs/_esm5/add/observable/forkJoin.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/from.js create mode 100644 node_modules/rxjs/_esm5/add/observable/from.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/fromEvent.js create mode 100644 node_modules/rxjs/_esm5/add/observable/fromEvent.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/fromEventPattern.js create mode 100644 node_modules/rxjs/_esm5/add/observable/fromEventPattern.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/fromPromise.js create mode 100644 node_modules/rxjs/_esm5/add/observable/fromPromise.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/generate.js create mode 100644 node_modules/rxjs/_esm5/add/observable/generate.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/if.js create mode 100644 node_modules/rxjs/_esm5/add/observable/if.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/interval.js create mode 100644 node_modules/rxjs/_esm5/add/observable/interval.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/merge.js create mode 100644 node_modules/rxjs/_esm5/add/observable/merge.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/never.js create mode 100644 node_modules/rxjs/_esm5/add/observable/never.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/of.js create mode 100644 node_modules/rxjs/_esm5/add/observable/of.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/onErrorResumeNext.js create mode 100644 node_modules/rxjs/_esm5/add/observable/onErrorResumeNext.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/pairs.js create mode 100644 node_modules/rxjs/_esm5/add/observable/pairs.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/race.js create mode 100644 node_modules/rxjs/_esm5/add/observable/race.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/range.js create mode 100644 node_modules/rxjs/_esm5/add/observable/range.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/throw.js create mode 100644 node_modules/rxjs/_esm5/add/observable/throw.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/timer.js create mode 100644 node_modules/rxjs/_esm5/add/observable/timer.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/using.js create mode 100644 node_modules/rxjs/_esm5/add/observable/using.js.map create mode 100644 node_modules/rxjs/_esm5/add/observable/zip.js create mode 100644 node_modules/rxjs/_esm5/add/observable/zip.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/audit.js create mode 100644 node_modules/rxjs/_esm5/add/operator/audit.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/auditTime.js create mode 100644 node_modules/rxjs/_esm5/add/operator/auditTime.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/buffer.js create mode 100644 node_modules/rxjs/_esm5/add/operator/buffer.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/bufferCount.js create mode 100644 node_modules/rxjs/_esm5/add/operator/bufferCount.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/bufferTime.js create mode 100644 node_modules/rxjs/_esm5/add/operator/bufferTime.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/bufferToggle.js create mode 100644 node_modules/rxjs/_esm5/add/operator/bufferToggle.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/bufferWhen.js create mode 100644 node_modules/rxjs/_esm5/add/operator/bufferWhen.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/catch.js create mode 100644 node_modules/rxjs/_esm5/add/operator/catch.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/combineAll.js create mode 100644 node_modules/rxjs/_esm5/add/operator/combineAll.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/combineLatest.js create mode 100644 node_modules/rxjs/_esm5/add/operator/combineLatest.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/concat.js create mode 100644 node_modules/rxjs/_esm5/add/operator/concat.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/concatAll.js create mode 100644 node_modules/rxjs/_esm5/add/operator/concatAll.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/concatMap.js create mode 100644 node_modules/rxjs/_esm5/add/operator/concatMap.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/concatMapTo.js create mode 100644 node_modules/rxjs/_esm5/add/operator/concatMapTo.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/count.js create mode 100644 node_modules/rxjs/_esm5/add/operator/count.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/debounce.js create mode 100644 node_modules/rxjs/_esm5/add/operator/debounce.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/debounceTime.js create mode 100644 node_modules/rxjs/_esm5/add/operator/debounceTime.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/defaultIfEmpty.js create mode 100644 node_modules/rxjs/_esm5/add/operator/defaultIfEmpty.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/delay.js create mode 100644 node_modules/rxjs/_esm5/add/operator/delay.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/delayWhen.js create mode 100644 node_modules/rxjs/_esm5/add/operator/delayWhen.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/dematerialize.js create mode 100644 node_modules/rxjs/_esm5/add/operator/dematerialize.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/distinct.js create mode 100644 node_modules/rxjs/_esm5/add/operator/distinct.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/distinctUntilChanged.js create mode 100644 node_modules/rxjs/_esm5/add/operator/distinctUntilChanged.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/distinctUntilKeyChanged.js create mode 100644 node_modules/rxjs/_esm5/add/operator/distinctUntilKeyChanged.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/do.js create mode 100644 node_modules/rxjs/_esm5/add/operator/do.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/elementAt.js create mode 100644 node_modules/rxjs/_esm5/add/operator/elementAt.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/every.js create mode 100644 node_modules/rxjs/_esm5/add/operator/every.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/exhaust.js create mode 100644 node_modules/rxjs/_esm5/add/operator/exhaust.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/exhaustMap.js create mode 100644 node_modules/rxjs/_esm5/add/operator/exhaustMap.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/expand.js create mode 100644 node_modules/rxjs/_esm5/add/operator/expand.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/filter.js create mode 100644 node_modules/rxjs/_esm5/add/operator/filter.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/finally.js create mode 100644 node_modules/rxjs/_esm5/add/operator/finally.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/find.js create mode 100644 node_modules/rxjs/_esm5/add/operator/find.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/findIndex.js create mode 100644 node_modules/rxjs/_esm5/add/operator/findIndex.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/first.js create mode 100644 node_modules/rxjs/_esm5/add/operator/first.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/groupBy.js create mode 100644 node_modules/rxjs/_esm5/add/operator/groupBy.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/ignoreElements.js create mode 100644 node_modules/rxjs/_esm5/add/operator/ignoreElements.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/isEmpty.js create mode 100644 node_modules/rxjs/_esm5/add/operator/isEmpty.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/last.js create mode 100644 node_modules/rxjs/_esm5/add/operator/last.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/let.js create mode 100644 node_modules/rxjs/_esm5/add/operator/let.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/map.js create mode 100644 node_modules/rxjs/_esm5/add/operator/map.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/mapTo.js create mode 100644 node_modules/rxjs/_esm5/add/operator/mapTo.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/materialize.js create mode 100644 node_modules/rxjs/_esm5/add/operator/materialize.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/max.js create mode 100644 node_modules/rxjs/_esm5/add/operator/max.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/merge.js create mode 100644 node_modules/rxjs/_esm5/add/operator/merge.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/mergeAll.js create mode 100644 node_modules/rxjs/_esm5/add/operator/mergeAll.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/mergeMap.js create mode 100644 node_modules/rxjs/_esm5/add/operator/mergeMap.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/mergeMapTo.js create mode 100644 node_modules/rxjs/_esm5/add/operator/mergeMapTo.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/mergeScan.js create mode 100644 node_modules/rxjs/_esm5/add/operator/mergeScan.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/min.js create mode 100644 node_modules/rxjs/_esm5/add/operator/min.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/multicast.js create mode 100644 node_modules/rxjs/_esm5/add/operator/multicast.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/observeOn.js create mode 100644 node_modules/rxjs/_esm5/add/operator/observeOn.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/onErrorResumeNext.js create mode 100644 node_modules/rxjs/_esm5/add/operator/onErrorResumeNext.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/pairwise.js create mode 100644 node_modules/rxjs/_esm5/add/operator/pairwise.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/partition.js create mode 100644 node_modules/rxjs/_esm5/add/operator/partition.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/pluck.js create mode 100644 node_modules/rxjs/_esm5/add/operator/pluck.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/publish.js create mode 100644 node_modules/rxjs/_esm5/add/operator/publish.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/publishBehavior.js create mode 100644 node_modules/rxjs/_esm5/add/operator/publishBehavior.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/publishLast.js create mode 100644 node_modules/rxjs/_esm5/add/operator/publishLast.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/publishReplay.js create mode 100644 node_modules/rxjs/_esm5/add/operator/publishReplay.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/race.js create mode 100644 node_modules/rxjs/_esm5/add/operator/race.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/reduce.js create mode 100644 node_modules/rxjs/_esm5/add/operator/reduce.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/repeat.js create mode 100644 node_modules/rxjs/_esm5/add/operator/repeat.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/repeatWhen.js create mode 100644 node_modules/rxjs/_esm5/add/operator/repeatWhen.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/retry.js create mode 100644 node_modules/rxjs/_esm5/add/operator/retry.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/retryWhen.js create mode 100644 node_modules/rxjs/_esm5/add/operator/retryWhen.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/sample.js create mode 100644 node_modules/rxjs/_esm5/add/operator/sample.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/sampleTime.js create mode 100644 node_modules/rxjs/_esm5/add/operator/sampleTime.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/scan.js create mode 100644 node_modules/rxjs/_esm5/add/operator/scan.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/sequenceEqual.js create mode 100644 node_modules/rxjs/_esm5/add/operator/sequenceEqual.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/share.js create mode 100644 node_modules/rxjs/_esm5/add/operator/share.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/shareReplay.js create mode 100644 node_modules/rxjs/_esm5/add/operator/shareReplay.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/single.js create mode 100644 node_modules/rxjs/_esm5/add/operator/single.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/skip.js create mode 100644 node_modules/rxjs/_esm5/add/operator/skip.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/skipLast.js create mode 100644 node_modules/rxjs/_esm5/add/operator/skipLast.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/skipUntil.js create mode 100644 node_modules/rxjs/_esm5/add/operator/skipUntil.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/skipWhile.js create mode 100644 node_modules/rxjs/_esm5/add/operator/skipWhile.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/startWith.js create mode 100644 node_modules/rxjs/_esm5/add/operator/startWith.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/subscribeOn.js create mode 100644 node_modules/rxjs/_esm5/add/operator/subscribeOn.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/switch.js create mode 100644 node_modules/rxjs/_esm5/add/operator/switch.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/switchMap.js create mode 100644 node_modules/rxjs/_esm5/add/operator/switchMap.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/switchMapTo.js create mode 100644 node_modules/rxjs/_esm5/add/operator/switchMapTo.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/take.js create mode 100644 node_modules/rxjs/_esm5/add/operator/take.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/takeLast.js create mode 100644 node_modules/rxjs/_esm5/add/operator/takeLast.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/takeUntil.js create mode 100644 node_modules/rxjs/_esm5/add/operator/takeUntil.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/takeWhile.js create mode 100644 node_modules/rxjs/_esm5/add/operator/takeWhile.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/throttle.js create mode 100644 node_modules/rxjs/_esm5/add/operator/throttle.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/throttleTime.js create mode 100644 node_modules/rxjs/_esm5/add/operator/throttleTime.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/timeInterval.js create mode 100644 node_modules/rxjs/_esm5/add/operator/timeInterval.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/timeout.js create mode 100644 node_modules/rxjs/_esm5/add/operator/timeout.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/timeoutWith.js create mode 100644 node_modules/rxjs/_esm5/add/operator/timeoutWith.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/timestamp.js create mode 100644 node_modules/rxjs/_esm5/add/operator/timestamp.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/toArray.js create mode 100644 node_modules/rxjs/_esm5/add/operator/toArray.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/toPromise.js create mode 100644 node_modules/rxjs/_esm5/add/operator/toPromise.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/window.js create mode 100644 node_modules/rxjs/_esm5/add/operator/window.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/windowCount.js create mode 100644 node_modules/rxjs/_esm5/add/operator/windowCount.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/windowTime.js create mode 100644 node_modules/rxjs/_esm5/add/operator/windowTime.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/windowToggle.js create mode 100644 node_modules/rxjs/_esm5/add/operator/windowToggle.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/windowWhen.js create mode 100644 node_modules/rxjs/_esm5/add/operator/windowWhen.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/withLatestFrom.js create mode 100644 node_modules/rxjs/_esm5/add/operator/withLatestFrom.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/zip.js create mode 100644 node_modules/rxjs/_esm5/add/operator/zip.js.map create mode 100644 node_modules/rxjs/_esm5/add/operator/zipAll.js create mode 100644 node_modules/rxjs/_esm5/add/operator/zipAll.js.map create mode 100644 node_modules/rxjs/_esm5/interfaces.js create mode 100644 node_modules/rxjs/_esm5/interfaces.js.map create mode 100644 node_modules/rxjs/_esm5/observable/ArrayLikeObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/ArrayLikeObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/ArrayObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/ArrayObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/BoundCallbackObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/BoundCallbackObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/BoundNodeCallbackObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/BoundNodeCallbackObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/ConnectableObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/ConnectableObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/DeferObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/DeferObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/EmptyObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/EmptyObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/ErrorObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/ErrorObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/ForkJoinObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/ForkJoinObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/FromEventObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/FromEventObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/FromEventPatternObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/FromEventPatternObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/FromObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/FromObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/GenerateObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/GenerateObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/IfObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/IfObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/IntervalObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/IntervalObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/IteratorObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/IteratorObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/NeverObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/NeverObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/PairsObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/PairsObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/PromiseObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/PromiseObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/RangeObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/RangeObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/ScalarObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/ScalarObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/SubscribeOnObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/SubscribeOnObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/TimerObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/TimerObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/UsingObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/UsingObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/bindCallback.js create mode 100644 node_modules/rxjs/_esm5/observable/bindCallback.js.map create mode 100644 node_modules/rxjs/_esm5/observable/bindNodeCallback.js create mode 100644 node_modules/rxjs/_esm5/observable/bindNodeCallback.js.map create mode 100644 node_modules/rxjs/_esm5/observable/combineLatest.js create mode 100644 node_modules/rxjs/_esm5/observable/combineLatest.js.map create mode 100644 node_modules/rxjs/_esm5/observable/concat.js create mode 100644 node_modules/rxjs/_esm5/observable/concat.js.map create mode 100644 node_modules/rxjs/_esm5/observable/defer.js create mode 100644 node_modules/rxjs/_esm5/observable/defer.js.map create mode 100644 node_modules/rxjs/_esm5/observable/dom/AjaxObservable.js create mode 100644 node_modules/rxjs/_esm5/observable/dom/AjaxObservable.js.map create mode 100644 node_modules/rxjs/_esm5/observable/dom/WebSocketSubject.js create mode 100644 node_modules/rxjs/_esm5/observable/dom/WebSocketSubject.js.map create mode 100644 node_modules/rxjs/_esm5/observable/dom/ajax.js create mode 100644 node_modules/rxjs/_esm5/observable/dom/ajax.js.map create mode 100644 node_modules/rxjs/_esm5/observable/dom/webSocket.js create mode 100644 node_modules/rxjs/_esm5/observable/dom/webSocket.js.map create mode 100644 node_modules/rxjs/_esm5/observable/empty.js create mode 100644 node_modules/rxjs/_esm5/observable/empty.js.map create mode 100644 node_modules/rxjs/_esm5/observable/forkJoin.js create mode 100644 node_modules/rxjs/_esm5/observable/forkJoin.js.map create mode 100644 node_modules/rxjs/_esm5/observable/from.js create mode 100644 node_modules/rxjs/_esm5/observable/from.js.map create mode 100644 node_modules/rxjs/_esm5/observable/fromEvent.js create mode 100644 node_modules/rxjs/_esm5/observable/fromEvent.js.map create mode 100644 node_modules/rxjs/_esm5/observable/fromEventPattern.js create mode 100644 node_modules/rxjs/_esm5/observable/fromEventPattern.js.map create mode 100644 node_modules/rxjs/_esm5/observable/fromPromise.js create mode 100644 node_modules/rxjs/_esm5/observable/fromPromise.js.map create mode 100644 node_modules/rxjs/_esm5/observable/generate.js create mode 100644 node_modules/rxjs/_esm5/observable/generate.js.map create mode 100644 node_modules/rxjs/_esm5/observable/if.js create mode 100644 node_modules/rxjs/_esm5/observable/if.js.map create mode 100644 node_modules/rxjs/_esm5/observable/interval.js create mode 100644 node_modules/rxjs/_esm5/observable/interval.js.map create mode 100644 node_modules/rxjs/_esm5/observable/merge.js create mode 100644 node_modules/rxjs/_esm5/observable/merge.js.map create mode 100644 node_modules/rxjs/_esm5/observable/never.js create mode 100644 node_modules/rxjs/_esm5/observable/never.js.map create mode 100644 node_modules/rxjs/_esm5/observable/of.js create mode 100644 node_modules/rxjs/_esm5/observable/of.js.map create mode 100644 node_modules/rxjs/_esm5/observable/onErrorResumeNext.js create mode 100644 node_modules/rxjs/_esm5/observable/onErrorResumeNext.js.map create mode 100644 node_modules/rxjs/_esm5/observable/pairs.js create mode 100644 node_modules/rxjs/_esm5/observable/pairs.js.map create mode 100644 node_modules/rxjs/_esm5/observable/race.js create mode 100644 node_modules/rxjs/_esm5/observable/race.js.map create mode 100644 node_modules/rxjs/_esm5/observable/range.js create mode 100644 node_modules/rxjs/_esm5/observable/range.js.map create mode 100644 node_modules/rxjs/_esm5/observable/throw.js create mode 100644 node_modules/rxjs/_esm5/observable/throw.js.map create mode 100644 node_modules/rxjs/_esm5/observable/timer.js create mode 100644 node_modules/rxjs/_esm5/observable/timer.js.map create mode 100644 node_modules/rxjs/_esm5/observable/using.js create mode 100644 node_modules/rxjs/_esm5/observable/using.js.map create mode 100644 node_modules/rxjs/_esm5/observable/zip.js create mode 100644 node_modules/rxjs/_esm5/observable/zip.js.map create mode 100644 node_modules/rxjs/_esm5/operator/audit.js create mode 100644 node_modules/rxjs/_esm5/operator/audit.js.map create mode 100644 node_modules/rxjs/_esm5/operator/auditTime.js create mode 100644 node_modules/rxjs/_esm5/operator/auditTime.js.map create mode 100644 node_modules/rxjs/_esm5/operator/buffer.js create mode 100644 node_modules/rxjs/_esm5/operator/buffer.js.map create mode 100644 node_modules/rxjs/_esm5/operator/bufferCount.js create mode 100644 node_modules/rxjs/_esm5/operator/bufferCount.js.map create mode 100644 node_modules/rxjs/_esm5/operator/bufferTime.js create mode 100644 node_modules/rxjs/_esm5/operator/bufferTime.js.map create mode 100644 node_modules/rxjs/_esm5/operator/bufferToggle.js create mode 100644 node_modules/rxjs/_esm5/operator/bufferToggle.js.map create mode 100644 node_modules/rxjs/_esm5/operator/bufferWhen.js create mode 100644 node_modules/rxjs/_esm5/operator/bufferWhen.js.map create mode 100644 node_modules/rxjs/_esm5/operator/catch.js create mode 100644 node_modules/rxjs/_esm5/operator/catch.js.map create mode 100644 node_modules/rxjs/_esm5/operator/combineAll.js create mode 100644 node_modules/rxjs/_esm5/operator/combineAll.js.map create mode 100644 node_modules/rxjs/_esm5/operator/combineLatest.js create mode 100644 node_modules/rxjs/_esm5/operator/combineLatest.js.map create mode 100644 node_modules/rxjs/_esm5/operator/concat.js create mode 100644 node_modules/rxjs/_esm5/operator/concat.js.map create mode 100644 node_modules/rxjs/_esm5/operator/concatAll.js create mode 100644 node_modules/rxjs/_esm5/operator/concatAll.js.map create mode 100644 node_modules/rxjs/_esm5/operator/concatMap.js create mode 100644 node_modules/rxjs/_esm5/operator/concatMap.js.map create mode 100644 node_modules/rxjs/_esm5/operator/concatMapTo.js create mode 100644 node_modules/rxjs/_esm5/operator/concatMapTo.js.map create mode 100644 node_modules/rxjs/_esm5/operator/count.js create mode 100644 node_modules/rxjs/_esm5/operator/count.js.map create mode 100644 node_modules/rxjs/_esm5/operator/debounce.js create mode 100644 node_modules/rxjs/_esm5/operator/debounce.js.map create mode 100644 node_modules/rxjs/_esm5/operator/debounceTime.js create mode 100644 node_modules/rxjs/_esm5/operator/debounceTime.js.map create mode 100644 node_modules/rxjs/_esm5/operator/defaultIfEmpty.js create mode 100644 node_modules/rxjs/_esm5/operator/defaultIfEmpty.js.map create mode 100644 node_modules/rxjs/_esm5/operator/delay.js create mode 100644 node_modules/rxjs/_esm5/operator/delay.js.map create mode 100644 node_modules/rxjs/_esm5/operator/delayWhen.js create mode 100644 node_modules/rxjs/_esm5/operator/delayWhen.js.map create mode 100644 node_modules/rxjs/_esm5/operator/dematerialize.js create mode 100644 node_modules/rxjs/_esm5/operator/dematerialize.js.map create mode 100644 node_modules/rxjs/_esm5/operator/distinct.js create mode 100644 node_modules/rxjs/_esm5/operator/distinct.js.map create mode 100644 node_modules/rxjs/_esm5/operator/distinctUntilChanged.js create mode 100644 node_modules/rxjs/_esm5/operator/distinctUntilChanged.js.map create mode 100644 node_modules/rxjs/_esm5/operator/distinctUntilKeyChanged.js create mode 100644 node_modules/rxjs/_esm5/operator/distinctUntilKeyChanged.js.map create mode 100644 node_modules/rxjs/_esm5/operator/do.js create mode 100644 node_modules/rxjs/_esm5/operator/do.js.map create mode 100644 node_modules/rxjs/_esm5/operator/elementAt.js create mode 100644 node_modules/rxjs/_esm5/operator/elementAt.js.map create mode 100644 node_modules/rxjs/_esm5/operator/every.js create mode 100644 node_modules/rxjs/_esm5/operator/every.js.map create mode 100644 node_modules/rxjs/_esm5/operator/exhaust.js create mode 100644 node_modules/rxjs/_esm5/operator/exhaust.js.map create mode 100644 node_modules/rxjs/_esm5/operator/exhaustMap.js create mode 100644 node_modules/rxjs/_esm5/operator/exhaustMap.js.map create mode 100644 node_modules/rxjs/_esm5/operator/expand.js create mode 100644 node_modules/rxjs/_esm5/operator/expand.js.map create mode 100644 node_modules/rxjs/_esm5/operator/filter.js create mode 100644 node_modules/rxjs/_esm5/operator/filter.js.map create mode 100644 node_modules/rxjs/_esm5/operator/finally.js create mode 100644 node_modules/rxjs/_esm5/operator/finally.js.map create mode 100644 node_modules/rxjs/_esm5/operator/find.js create mode 100644 node_modules/rxjs/_esm5/operator/find.js.map create mode 100644 node_modules/rxjs/_esm5/operator/findIndex.js create mode 100644 node_modules/rxjs/_esm5/operator/findIndex.js.map create mode 100644 node_modules/rxjs/_esm5/operator/first.js create mode 100644 node_modules/rxjs/_esm5/operator/first.js.map create mode 100644 node_modules/rxjs/_esm5/operator/groupBy.js create mode 100644 node_modules/rxjs/_esm5/operator/groupBy.js.map create mode 100644 node_modules/rxjs/_esm5/operator/ignoreElements.js create mode 100644 node_modules/rxjs/_esm5/operator/ignoreElements.js.map create mode 100644 node_modules/rxjs/_esm5/operator/isEmpty.js create mode 100644 node_modules/rxjs/_esm5/operator/isEmpty.js.map create mode 100644 node_modules/rxjs/_esm5/operator/last.js create mode 100644 node_modules/rxjs/_esm5/operator/last.js.map create mode 100644 node_modules/rxjs/_esm5/operator/let.js create mode 100644 node_modules/rxjs/_esm5/operator/let.js.map create mode 100644 node_modules/rxjs/_esm5/operator/map.js create mode 100644 node_modules/rxjs/_esm5/operator/map.js.map create mode 100644 node_modules/rxjs/_esm5/operator/mapTo.js create mode 100644 node_modules/rxjs/_esm5/operator/mapTo.js.map create mode 100644 node_modules/rxjs/_esm5/operator/materialize.js create mode 100644 node_modules/rxjs/_esm5/operator/materialize.js.map create mode 100644 node_modules/rxjs/_esm5/operator/max.js create mode 100644 node_modules/rxjs/_esm5/operator/max.js.map create mode 100644 node_modules/rxjs/_esm5/operator/merge.js create mode 100644 node_modules/rxjs/_esm5/operator/merge.js.map create mode 100644 node_modules/rxjs/_esm5/operator/mergeAll.js create mode 100644 node_modules/rxjs/_esm5/operator/mergeAll.js.map create mode 100644 node_modules/rxjs/_esm5/operator/mergeMap.js create mode 100644 node_modules/rxjs/_esm5/operator/mergeMap.js.map create mode 100644 node_modules/rxjs/_esm5/operator/mergeMapTo.js create mode 100644 node_modules/rxjs/_esm5/operator/mergeMapTo.js.map create mode 100644 node_modules/rxjs/_esm5/operator/mergeScan.js create mode 100644 node_modules/rxjs/_esm5/operator/mergeScan.js.map create mode 100644 node_modules/rxjs/_esm5/operator/min.js create mode 100644 node_modules/rxjs/_esm5/operator/min.js.map create mode 100644 node_modules/rxjs/_esm5/operator/multicast.js create mode 100644 node_modules/rxjs/_esm5/operator/multicast.js.map create mode 100644 node_modules/rxjs/_esm5/operator/observeOn.js create mode 100644 node_modules/rxjs/_esm5/operator/observeOn.js.map create mode 100644 node_modules/rxjs/_esm5/operator/onErrorResumeNext.js create mode 100644 node_modules/rxjs/_esm5/operator/onErrorResumeNext.js.map create mode 100644 node_modules/rxjs/_esm5/operator/pairwise.js create mode 100644 node_modules/rxjs/_esm5/operator/pairwise.js.map create mode 100644 node_modules/rxjs/_esm5/operator/partition.js create mode 100644 node_modules/rxjs/_esm5/operator/partition.js.map create mode 100644 node_modules/rxjs/_esm5/operator/pluck.js create mode 100644 node_modules/rxjs/_esm5/operator/pluck.js.map create mode 100644 node_modules/rxjs/_esm5/operator/publish.js create mode 100644 node_modules/rxjs/_esm5/operator/publish.js.map create mode 100644 node_modules/rxjs/_esm5/operator/publishBehavior.js create mode 100644 node_modules/rxjs/_esm5/operator/publishBehavior.js.map create mode 100644 node_modules/rxjs/_esm5/operator/publishLast.js create mode 100644 node_modules/rxjs/_esm5/operator/publishLast.js.map create mode 100644 node_modules/rxjs/_esm5/operator/publishReplay.js create mode 100644 node_modules/rxjs/_esm5/operator/publishReplay.js.map create mode 100644 node_modules/rxjs/_esm5/operator/race.js create mode 100644 node_modules/rxjs/_esm5/operator/race.js.map create mode 100644 node_modules/rxjs/_esm5/operator/reduce.js create mode 100644 node_modules/rxjs/_esm5/operator/reduce.js.map create mode 100644 node_modules/rxjs/_esm5/operator/repeat.js create mode 100644 node_modules/rxjs/_esm5/operator/repeat.js.map create mode 100644 node_modules/rxjs/_esm5/operator/repeatWhen.js create mode 100644 node_modules/rxjs/_esm5/operator/repeatWhen.js.map create mode 100644 node_modules/rxjs/_esm5/operator/retry.js create mode 100644 node_modules/rxjs/_esm5/operator/retry.js.map create mode 100644 node_modules/rxjs/_esm5/operator/retryWhen.js create mode 100644 node_modules/rxjs/_esm5/operator/retryWhen.js.map create mode 100644 node_modules/rxjs/_esm5/operator/sample.js create mode 100644 node_modules/rxjs/_esm5/operator/sample.js.map create mode 100644 node_modules/rxjs/_esm5/operator/sampleTime.js create mode 100644 node_modules/rxjs/_esm5/operator/sampleTime.js.map create mode 100644 node_modules/rxjs/_esm5/operator/scan.js create mode 100644 node_modules/rxjs/_esm5/operator/scan.js.map create mode 100644 node_modules/rxjs/_esm5/operator/sequenceEqual.js create mode 100644 node_modules/rxjs/_esm5/operator/sequenceEqual.js.map create mode 100644 node_modules/rxjs/_esm5/operator/share.js create mode 100644 node_modules/rxjs/_esm5/operator/share.js.map create mode 100644 node_modules/rxjs/_esm5/operator/shareReplay.js create mode 100644 node_modules/rxjs/_esm5/operator/shareReplay.js.map create mode 100644 node_modules/rxjs/_esm5/operator/single.js create mode 100644 node_modules/rxjs/_esm5/operator/single.js.map create mode 100644 node_modules/rxjs/_esm5/operator/skip.js create mode 100644 node_modules/rxjs/_esm5/operator/skip.js.map create mode 100644 node_modules/rxjs/_esm5/operator/skipLast.js create mode 100644 node_modules/rxjs/_esm5/operator/skipLast.js.map create mode 100644 node_modules/rxjs/_esm5/operator/skipUntil.js create mode 100644 node_modules/rxjs/_esm5/operator/skipUntil.js.map create mode 100644 node_modules/rxjs/_esm5/operator/skipWhile.js create mode 100644 node_modules/rxjs/_esm5/operator/skipWhile.js.map create mode 100644 node_modules/rxjs/_esm5/operator/startWith.js create mode 100644 node_modules/rxjs/_esm5/operator/startWith.js.map create mode 100644 node_modules/rxjs/_esm5/operator/subscribeOn.js create mode 100644 node_modules/rxjs/_esm5/operator/subscribeOn.js.map create mode 100644 node_modules/rxjs/_esm5/operator/switch.js create mode 100644 node_modules/rxjs/_esm5/operator/switch.js.map create mode 100644 node_modules/rxjs/_esm5/operator/switchMap.js create mode 100644 node_modules/rxjs/_esm5/operator/switchMap.js.map create mode 100644 node_modules/rxjs/_esm5/operator/switchMapTo.js create mode 100644 node_modules/rxjs/_esm5/operator/switchMapTo.js.map create mode 100644 node_modules/rxjs/_esm5/operator/take.js create mode 100644 node_modules/rxjs/_esm5/operator/take.js.map create mode 100644 node_modules/rxjs/_esm5/operator/takeLast.js create mode 100644 node_modules/rxjs/_esm5/operator/takeLast.js.map create mode 100644 node_modules/rxjs/_esm5/operator/takeUntil.js create mode 100644 node_modules/rxjs/_esm5/operator/takeUntil.js.map create mode 100644 node_modules/rxjs/_esm5/operator/takeWhile.js create mode 100644 node_modules/rxjs/_esm5/operator/takeWhile.js.map create mode 100644 node_modules/rxjs/_esm5/operator/throttle.js create mode 100644 node_modules/rxjs/_esm5/operator/throttle.js.map create mode 100644 node_modules/rxjs/_esm5/operator/throttleTime.js create mode 100644 node_modules/rxjs/_esm5/operator/throttleTime.js.map create mode 100644 node_modules/rxjs/_esm5/operator/timeInterval.js create mode 100644 node_modules/rxjs/_esm5/operator/timeInterval.js.map create mode 100644 node_modules/rxjs/_esm5/operator/timeout.js create mode 100644 node_modules/rxjs/_esm5/operator/timeout.js.map create mode 100644 node_modules/rxjs/_esm5/operator/timeoutWith.js create mode 100644 node_modules/rxjs/_esm5/operator/timeoutWith.js.map create mode 100644 node_modules/rxjs/_esm5/operator/timestamp.js create mode 100644 node_modules/rxjs/_esm5/operator/timestamp.js.map create mode 100644 node_modules/rxjs/_esm5/operator/toArray.js create mode 100644 node_modules/rxjs/_esm5/operator/toArray.js.map create mode 100644 node_modules/rxjs/_esm5/operator/toPromise.js create mode 100644 node_modules/rxjs/_esm5/operator/toPromise.js.map create mode 100644 node_modules/rxjs/_esm5/operator/window.js create mode 100644 node_modules/rxjs/_esm5/operator/window.js.map create mode 100644 node_modules/rxjs/_esm5/operator/windowCount.js create mode 100644 node_modules/rxjs/_esm5/operator/windowCount.js.map create mode 100644 node_modules/rxjs/_esm5/operator/windowTime.js create mode 100644 node_modules/rxjs/_esm5/operator/windowTime.js.map create mode 100644 node_modules/rxjs/_esm5/operator/windowToggle.js create mode 100644 node_modules/rxjs/_esm5/operator/windowToggle.js.map create mode 100644 node_modules/rxjs/_esm5/operator/windowWhen.js create mode 100644 node_modules/rxjs/_esm5/operator/windowWhen.js.map create mode 100644 node_modules/rxjs/_esm5/operator/withLatestFrom.js create mode 100644 node_modules/rxjs/_esm5/operator/withLatestFrom.js.map create mode 100644 node_modules/rxjs/_esm5/operator/zip.js create mode 100644 node_modules/rxjs/_esm5/operator/zip.js.map create mode 100644 node_modules/rxjs/_esm5/operator/zipAll.js create mode 100644 node_modules/rxjs/_esm5/operator/zipAll.js.map create mode 100644 node_modules/rxjs/_esm5/operators.js create mode 100644 node_modules/rxjs/_esm5/operators.js.map create mode 100644 node_modules/rxjs/_esm5/operators/audit.js create mode 100644 node_modules/rxjs/_esm5/operators/audit.js.map create mode 100644 node_modules/rxjs/_esm5/operators/auditTime.js create mode 100644 node_modules/rxjs/_esm5/operators/auditTime.js.map create mode 100644 node_modules/rxjs/_esm5/operators/buffer.js create mode 100644 node_modules/rxjs/_esm5/operators/buffer.js.map create mode 100644 node_modules/rxjs/_esm5/operators/bufferCount.js create mode 100644 node_modules/rxjs/_esm5/operators/bufferCount.js.map create mode 100644 node_modules/rxjs/_esm5/operators/bufferTime.js create mode 100644 node_modules/rxjs/_esm5/operators/bufferTime.js.map create mode 100644 node_modules/rxjs/_esm5/operators/bufferToggle.js create mode 100644 node_modules/rxjs/_esm5/operators/bufferToggle.js.map create mode 100644 node_modules/rxjs/_esm5/operators/bufferWhen.js create mode 100644 node_modules/rxjs/_esm5/operators/bufferWhen.js.map create mode 100644 node_modules/rxjs/_esm5/operators/catchError.js create mode 100644 node_modules/rxjs/_esm5/operators/catchError.js.map create mode 100644 node_modules/rxjs/_esm5/operators/combineAll.js create mode 100644 node_modules/rxjs/_esm5/operators/combineAll.js.map create mode 100644 node_modules/rxjs/_esm5/operators/combineLatest.js create mode 100644 node_modules/rxjs/_esm5/operators/combineLatest.js.map create mode 100644 node_modules/rxjs/_esm5/operators/concat.js create mode 100644 node_modules/rxjs/_esm5/operators/concat.js.map create mode 100644 node_modules/rxjs/_esm5/operators/concatAll.js create mode 100644 node_modules/rxjs/_esm5/operators/concatAll.js.map create mode 100644 node_modules/rxjs/_esm5/operators/concatMap.js create mode 100644 node_modules/rxjs/_esm5/operators/concatMap.js.map create mode 100644 node_modules/rxjs/_esm5/operators/concatMapTo.js create mode 100644 node_modules/rxjs/_esm5/operators/concatMapTo.js.map create mode 100644 node_modules/rxjs/_esm5/operators/count.js create mode 100644 node_modules/rxjs/_esm5/operators/count.js.map create mode 100644 node_modules/rxjs/_esm5/operators/debounce.js create mode 100644 node_modules/rxjs/_esm5/operators/debounce.js.map create mode 100644 node_modules/rxjs/_esm5/operators/debounceTime.js create mode 100644 node_modules/rxjs/_esm5/operators/debounceTime.js.map create mode 100644 node_modules/rxjs/_esm5/operators/defaultIfEmpty.js create mode 100644 node_modules/rxjs/_esm5/operators/defaultIfEmpty.js.map create mode 100644 node_modules/rxjs/_esm5/operators/delay.js create mode 100644 node_modules/rxjs/_esm5/operators/delay.js.map create mode 100644 node_modules/rxjs/_esm5/operators/delayWhen.js create mode 100644 node_modules/rxjs/_esm5/operators/delayWhen.js.map create mode 100644 node_modules/rxjs/_esm5/operators/dematerialize.js create mode 100644 node_modules/rxjs/_esm5/operators/dematerialize.js.map create mode 100644 node_modules/rxjs/_esm5/operators/distinct.js create mode 100644 node_modules/rxjs/_esm5/operators/distinct.js.map create mode 100644 node_modules/rxjs/_esm5/operators/distinctUntilChanged.js create mode 100644 node_modules/rxjs/_esm5/operators/distinctUntilChanged.js.map create mode 100644 node_modules/rxjs/_esm5/operators/distinctUntilKeyChanged.js create mode 100644 node_modules/rxjs/_esm5/operators/distinctUntilKeyChanged.js.map create mode 100644 node_modules/rxjs/_esm5/operators/elementAt.js create mode 100644 node_modules/rxjs/_esm5/operators/elementAt.js.map create mode 100644 node_modules/rxjs/_esm5/operators/every.js create mode 100644 node_modules/rxjs/_esm5/operators/every.js.map create mode 100644 node_modules/rxjs/_esm5/operators/exhaust.js create mode 100644 node_modules/rxjs/_esm5/operators/exhaust.js.map create mode 100644 node_modules/rxjs/_esm5/operators/exhaustMap.js create mode 100644 node_modules/rxjs/_esm5/operators/exhaustMap.js.map create mode 100644 node_modules/rxjs/_esm5/operators/expand.js create mode 100644 node_modules/rxjs/_esm5/operators/expand.js.map create mode 100644 node_modules/rxjs/_esm5/operators/filter.js create mode 100644 node_modules/rxjs/_esm5/operators/filter.js.map create mode 100644 node_modules/rxjs/_esm5/operators/finalize.js create mode 100644 node_modules/rxjs/_esm5/operators/finalize.js.map create mode 100644 node_modules/rxjs/_esm5/operators/find.js create mode 100644 node_modules/rxjs/_esm5/operators/find.js.map create mode 100644 node_modules/rxjs/_esm5/operators/findIndex.js create mode 100644 node_modules/rxjs/_esm5/operators/findIndex.js.map create mode 100644 node_modules/rxjs/_esm5/operators/first.js create mode 100644 node_modules/rxjs/_esm5/operators/first.js.map create mode 100644 node_modules/rxjs/_esm5/operators/groupBy.js create mode 100644 node_modules/rxjs/_esm5/operators/groupBy.js.map create mode 100644 node_modules/rxjs/_esm5/operators/ignoreElements.js create mode 100644 node_modules/rxjs/_esm5/operators/ignoreElements.js.map create mode 100644 node_modules/rxjs/_esm5/operators/isEmpty.js create mode 100644 node_modules/rxjs/_esm5/operators/isEmpty.js.map create mode 100644 node_modules/rxjs/_esm5/operators/last.js create mode 100644 node_modules/rxjs/_esm5/operators/last.js.map create mode 100644 node_modules/rxjs/_esm5/operators/map.js create mode 100644 node_modules/rxjs/_esm5/operators/map.js.map create mode 100644 node_modules/rxjs/_esm5/operators/mapTo.js create mode 100644 node_modules/rxjs/_esm5/operators/mapTo.js.map create mode 100644 node_modules/rxjs/_esm5/operators/materialize.js create mode 100644 node_modules/rxjs/_esm5/operators/materialize.js.map create mode 100644 node_modules/rxjs/_esm5/operators/max.js create mode 100644 node_modules/rxjs/_esm5/operators/max.js.map create mode 100644 node_modules/rxjs/_esm5/operators/merge.js create mode 100644 node_modules/rxjs/_esm5/operators/merge.js.map create mode 100644 node_modules/rxjs/_esm5/operators/mergeAll.js create mode 100644 node_modules/rxjs/_esm5/operators/mergeAll.js.map create mode 100644 node_modules/rxjs/_esm5/operators/mergeMap.js create mode 100644 node_modules/rxjs/_esm5/operators/mergeMap.js.map create mode 100644 node_modules/rxjs/_esm5/operators/mergeMapTo.js create mode 100644 node_modules/rxjs/_esm5/operators/mergeMapTo.js.map create mode 100644 node_modules/rxjs/_esm5/operators/mergeScan.js create mode 100644 node_modules/rxjs/_esm5/operators/mergeScan.js.map create mode 100644 node_modules/rxjs/_esm5/operators/min.js create mode 100644 node_modules/rxjs/_esm5/operators/min.js.map create mode 100644 node_modules/rxjs/_esm5/operators/multicast.js create mode 100644 node_modules/rxjs/_esm5/operators/multicast.js.map create mode 100644 node_modules/rxjs/_esm5/operators/observeOn.js create mode 100644 node_modules/rxjs/_esm5/operators/observeOn.js.map create mode 100644 node_modules/rxjs/_esm5/operators/onErrorResumeNext.js create mode 100644 node_modules/rxjs/_esm5/operators/onErrorResumeNext.js.map create mode 100644 node_modules/rxjs/_esm5/operators/pairwise.js create mode 100644 node_modules/rxjs/_esm5/operators/pairwise.js.map create mode 100644 node_modules/rxjs/_esm5/operators/partition.js create mode 100644 node_modules/rxjs/_esm5/operators/partition.js.map create mode 100644 node_modules/rxjs/_esm5/operators/pluck.js create mode 100644 node_modules/rxjs/_esm5/operators/pluck.js.map create mode 100644 node_modules/rxjs/_esm5/operators/publish.js create mode 100644 node_modules/rxjs/_esm5/operators/publish.js.map create mode 100644 node_modules/rxjs/_esm5/operators/publishBehavior.js create mode 100644 node_modules/rxjs/_esm5/operators/publishBehavior.js.map create mode 100644 node_modules/rxjs/_esm5/operators/publishLast.js create mode 100644 node_modules/rxjs/_esm5/operators/publishLast.js.map create mode 100644 node_modules/rxjs/_esm5/operators/publishReplay.js create mode 100644 node_modules/rxjs/_esm5/operators/publishReplay.js.map create mode 100644 node_modules/rxjs/_esm5/operators/race.js create mode 100644 node_modules/rxjs/_esm5/operators/race.js.map create mode 100644 node_modules/rxjs/_esm5/operators/reduce.js create mode 100644 node_modules/rxjs/_esm5/operators/reduce.js.map create mode 100644 node_modules/rxjs/_esm5/operators/refCount.js create mode 100644 node_modules/rxjs/_esm5/operators/refCount.js.map create mode 100644 node_modules/rxjs/_esm5/operators/repeat.js create mode 100644 node_modules/rxjs/_esm5/operators/repeat.js.map create mode 100644 node_modules/rxjs/_esm5/operators/repeatWhen.js create mode 100644 node_modules/rxjs/_esm5/operators/repeatWhen.js.map create mode 100644 node_modules/rxjs/_esm5/operators/retry.js create mode 100644 node_modules/rxjs/_esm5/operators/retry.js.map create mode 100644 node_modules/rxjs/_esm5/operators/retryWhen.js create mode 100644 node_modules/rxjs/_esm5/operators/retryWhen.js.map create mode 100644 node_modules/rxjs/_esm5/operators/sample.js create mode 100644 node_modules/rxjs/_esm5/operators/sample.js.map create mode 100644 node_modules/rxjs/_esm5/operators/sampleTime.js create mode 100644 node_modules/rxjs/_esm5/operators/sampleTime.js.map create mode 100644 node_modules/rxjs/_esm5/operators/scan.js create mode 100644 node_modules/rxjs/_esm5/operators/scan.js.map create mode 100644 node_modules/rxjs/_esm5/operators/sequenceEqual.js create mode 100644 node_modules/rxjs/_esm5/operators/sequenceEqual.js.map create mode 100644 node_modules/rxjs/_esm5/operators/share.js create mode 100644 node_modules/rxjs/_esm5/operators/share.js.map create mode 100644 node_modules/rxjs/_esm5/operators/shareReplay.js create mode 100644 node_modules/rxjs/_esm5/operators/shareReplay.js.map create mode 100644 node_modules/rxjs/_esm5/operators/single.js create mode 100644 node_modules/rxjs/_esm5/operators/single.js.map create mode 100644 node_modules/rxjs/_esm5/operators/skip.js create mode 100644 node_modules/rxjs/_esm5/operators/skip.js.map create mode 100644 node_modules/rxjs/_esm5/operators/skipLast.js create mode 100644 node_modules/rxjs/_esm5/operators/skipLast.js.map create mode 100644 node_modules/rxjs/_esm5/operators/skipUntil.js create mode 100644 node_modules/rxjs/_esm5/operators/skipUntil.js.map create mode 100644 node_modules/rxjs/_esm5/operators/skipWhile.js create mode 100644 node_modules/rxjs/_esm5/operators/skipWhile.js.map create mode 100644 node_modules/rxjs/_esm5/operators/startWith.js create mode 100644 node_modules/rxjs/_esm5/operators/startWith.js.map create mode 100644 node_modules/rxjs/_esm5/operators/subscribeOn.js create mode 100644 node_modules/rxjs/_esm5/operators/subscribeOn.js.map create mode 100644 node_modules/rxjs/_esm5/operators/switchAll.js create mode 100644 node_modules/rxjs/_esm5/operators/switchAll.js.map create mode 100644 node_modules/rxjs/_esm5/operators/switchMap.js create mode 100644 node_modules/rxjs/_esm5/operators/switchMap.js.map create mode 100644 node_modules/rxjs/_esm5/operators/switchMapTo.js create mode 100644 node_modules/rxjs/_esm5/operators/switchMapTo.js.map create mode 100644 node_modules/rxjs/_esm5/operators/take.js create mode 100644 node_modules/rxjs/_esm5/operators/take.js.map create mode 100644 node_modules/rxjs/_esm5/operators/takeLast.js create mode 100644 node_modules/rxjs/_esm5/operators/takeLast.js.map create mode 100644 node_modules/rxjs/_esm5/operators/takeUntil.js create mode 100644 node_modules/rxjs/_esm5/operators/takeUntil.js.map create mode 100644 node_modules/rxjs/_esm5/operators/takeWhile.js create mode 100644 node_modules/rxjs/_esm5/operators/takeWhile.js.map create mode 100644 node_modules/rxjs/_esm5/operators/tap.js create mode 100644 node_modules/rxjs/_esm5/operators/tap.js.map create mode 100644 node_modules/rxjs/_esm5/operators/throttle.js create mode 100644 node_modules/rxjs/_esm5/operators/throttle.js.map create mode 100644 node_modules/rxjs/_esm5/operators/throttleTime.js create mode 100644 node_modules/rxjs/_esm5/operators/throttleTime.js.map create mode 100644 node_modules/rxjs/_esm5/operators/timeInterval.js create mode 100644 node_modules/rxjs/_esm5/operators/timeInterval.js.map create mode 100644 node_modules/rxjs/_esm5/operators/timeout.js create mode 100644 node_modules/rxjs/_esm5/operators/timeout.js.map create mode 100644 node_modules/rxjs/_esm5/operators/timeoutWith.js create mode 100644 node_modules/rxjs/_esm5/operators/timeoutWith.js.map create mode 100644 node_modules/rxjs/_esm5/operators/timestamp.js create mode 100644 node_modules/rxjs/_esm5/operators/timestamp.js.map create mode 100644 node_modules/rxjs/_esm5/operators/toArray.js create mode 100644 node_modules/rxjs/_esm5/operators/toArray.js.map create mode 100644 node_modules/rxjs/_esm5/operators/window.js create mode 100644 node_modules/rxjs/_esm5/operators/window.js.map create mode 100644 node_modules/rxjs/_esm5/operators/windowCount.js create mode 100644 node_modules/rxjs/_esm5/operators/windowCount.js.map create mode 100644 node_modules/rxjs/_esm5/operators/windowTime.js create mode 100644 node_modules/rxjs/_esm5/operators/windowTime.js.map create mode 100644 node_modules/rxjs/_esm5/operators/windowToggle.js create mode 100644 node_modules/rxjs/_esm5/operators/windowToggle.js.map create mode 100644 node_modules/rxjs/_esm5/operators/windowWhen.js create mode 100644 node_modules/rxjs/_esm5/operators/windowWhen.js.map create mode 100644 node_modules/rxjs/_esm5/operators/withLatestFrom.js create mode 100644 node_modules/rxjs/_esm5/operators/withLatestFrom.js.map create mode 100644 node_modules/rxjs/_esm5/operators/zip.js create mode 100644 node_modules/rxjs/_esm5/operators/zip.js.map create mode 100644 node_modules/rxjs/_esm5/operators/zipAll.js create mode 100644 node_modules/rxjs/_esm5/operators/zipAll.js.map create mode 100644 node_modules/rxjs/_esm5/path-mapping.js create mode 100644 node_modules/rxjs/_esm5/scheduler/Action.js create mode 100644 node_modules/rxjs/_esm5/scheduler/Action.js.map create mode 100644 node_modules/rxjs/_esm5/scheduler/AnimationFrameAction.js create mode 100644 node_modules/rxjs/_esm5/scheduler/AnimationFrameAction.js.map create mode 100644 node_modules/rxjs/_esm5/scheduler/AnimationFrameScheduler.js create mode 100644 node_modules/rxjs/_esm5/scheduler/AnimationFrameScheduler.js.map create mode 100644 node_modules/rxjs/_esm5/scheduler/AsapAction.js create mode 100644 node_modules/rxjs/_esm5/scheduler/AsapAction.js.map create mode 100644 node_modules/rxjs/_esm5/scheduler/AsapScheduler.js create mode 100644 node_modules/rxjs/_esm5/scheduler/AsapScheduler.js.map create mode 100644 node_modules/rxjs/_esm5/scheduler/AsyncAction.js create mode 100644 node_modules/rxjs/_esm5/scheduler/AsyncAction.js.map create mode 100644 node_modules/rxjs/_esm5/scheduler/AsyncScheduler.js create mode 100644 node_modules/rxjs/_esm5/scheduler/AsyncScheduler.js.map create mode 100644 node_modules/rxjs/_esm5/scheduler/QueueAction.js create mode 100644 node_modules/rxjs/_esm5/scheduler/QueueAction.js.map create mode 100644 node_modules/rxjs/_esm5/scheduler/QueueScheduler.js create mode 100644 node_modules/rxjs/_esm5/scheduler/QueueScheduler.js.map create mode 100644 node_modules/rxjs/_esm5/scheduler/VirtualTimeScheduler.js create mode 100644 node_modules/rxjs/_esm5/scheduler/VirtualTimeScheduler.js.map create mode 100644 node_modules/rxjs/_esm5/scheduler/animationFrame.js create mode 100644 node_modules/rxjs/_esm5/scheduler/animationFrame.js.map create mode 100644 node_modules/rxjs/_esm5/scheduler/asap.js create mode 100644 node_modules/rxjs/_esm5/scheduler/asap.js.map create mode 100644 node_modules/rxjs/_esm5/scheduler/async.js create mode 100644 node_modules/rxjs/_esm5/scheduler/async.js.map create mode 100644 node_modules/rxjs/_esm5/scheduler/queue.js create mode 100644 node_modules/rxjs/_esm5/scheduler/queue.js.map create mode 100644 node_modules/rxjs/_esm5/symbol/iterator.js create mode 100644 node_modules/rxjs/_esm5/symbol/iterator.js.map create mode 100644 node_modules/rxjs/_esm5/symbol/observable.js create mode 100644 node_modules/rxjs/_esm5/symbol/observable.js.map create mode 100644 node_modules/rxjs/_esm5/symbol/rxSubscriber.js create mode 100644 node_modules/rxjs/_esm5/symbol/rxSubscriber.js.map create mode 100644 node_modules/rxjs/_esm5/testing/ColdObservable.js create mode 100644 node_modules/rxjs/_esm5/testing/ColdObservable.js.map create mode 100644 node_modules/rxjs/_esm5/testing/HotObservable.js create mode 100644 node_modules/rxjs/_esm5/testing/HotObservable.js.map create mode 100644 node_modules/rxjs/_esm5/testing/SubscriptionLog.js create mode 100644 node_modules/rxjs/_esm5/testing/SubscriptionLog.js.map create mode 100644 node_modules/rxjs/_esm5/testing/SubscriptionLoggable.js create mode 100644 node_modules/rxjs/_esm5/testing/SubscriptionLoggable.js.map create mode 100644 node_modules/rxjs/_esm5/testing/TestMessage.js create mode 100644 node_modules/rxjs/_esm5/testing/TestMessage.js.map create mode 100644 node_modules/rxjs/_esm5/testing/TestScheduler.js create mode 100644 node_modules/rxjs/_esm5/testing/TestScheduler.js.map create mode 100644 node_modules/rxjs/_esm5/util/AnimationFrame.js create mode 100644 node_modules/rxjs/_esm5/util/AnimationFrame.js.map create mode 100644 node_modules/rxjs/_esm5/util/ArgumentOutOfRangeError.js create mode 100644 node_modules/rxjs/_esm5/util/ArgumentOutOfRangeError.js.map create mode 100644 node_modules/rxjs/_esm5/util/EmptyError.js create mode 100644 node_modules/rxjs/_esm5/util/EmptyError.js.map create mode 100644 node_modules/rxjs/_esm5/util/FastMap.js create mode 100644 node_modules/rxjs/_esm5/util/FastMap.js.map create mode 100644 node_modules/rxjs/_esm5/util/Immediate.js create mode 100644 node_modules/rxjs/_esm5/util/Immediate.js.map create mode 100644 node_modules/rxjs/_esm5/util/Map.js create mode 100644 node_modules/rxjs/_esm5/util/Map.js.map create mode 100644 node_modules/rxjs/_esm5/util/MapPolyfill.js create mode 100644 node_modules/rxjs/_esm5/util/MapPolyfill.js.map create mode 100644 node_modules/rxjs/_esm5/util/ObjectUnsubscribedError.js create mode 100644 node_modules/rxjs/_esm5/util/ObjectUnsubscribedError.js.map create mode 100644 node_modules/rxjs/_esm5/util/Set.js create mode 100644 node_modules/rxjs/_esm5/util/Set.js.map create mode 100644 node_modules/rxjs/_esm5/util/TimeoutError.js create mode 100644 node_modules/rxjs/_esm5/util/TimeoutError.js.map create mode 100644 node_modules/rxjs/_esm5/util/UnsubscriptionError.js create mode 100644 node_modules/rxjs/_esm5/util/UnsubscriptionError.js.map create mode 100644 node_modules/rxjs/_esm5/util/applyMixins.js create mode 100644 node_modules/rxjs/_esm5/util/applyMixins.js.map create mode 100644 node_modules/rxjs/_esm5/util/assign.js create mode 100644 node_modules/rxjs/_esm5/util/assign.js.map create mode 100644 node_modules/rxjs/_esm5/util/errorObject.js create mode 100644 node_modules/rxjs/_esm5/util/errorObject.js.map create mode 100644 node_modules/rxjs/_esm5/util/identity.js create mode 100644 node_modules/rxjs/_esm5/util/identity.js.map create mode 100644 node_modules/rxjs/_esm5/util/isArray.js create mode 100644 node_modules/rxjs/_esm5/util/isArray.js.map create mode 100644 node_modules/rxjs/_esm5/util/isArrayLike.js create mode 100644 node_modules/rxjs/_esm5/util/isArrayLike.js.map create mode 100644 node_modules/rxjs/_esm5/util/isDate.js create mode 100644 node_modules/rxjs/_esm5/util/isDate.js.map create mode 100644 node_modules/rxjs/_esm5/util/isFunction.js create mode 100644 node_modules/rxjs/_esm5/util/isFunction.js.map create mode 100644 node_modules/rxjs/_esm5/util/isNumeric.js create mode 100644 node_modules/rxjs/_esm5/util/isNumeric.js.map create mode 100644 node_modules/rxjs/_esm5/util/isObject.js create mode 100644 node_modules/rxjs/_esm5/util/isObject.js.map create mode 100644 node_modules/rxjs/_esm5/util/isPromise.js create mode 100644 node_modules/rxjs/_esm5/util/isPromise.js.map create mode 100644 node_modules/rxjs/_esm5/util/isScheduler.js create mode 100644 node_modules/rxjs/_esm5/util/isScheduler.js.map create mode 100644 node_modules/rxjs/_esm5/util/noop.js create mode 100644 node_modules/rxjs/_esm5/util/noop.js.map create mode 100644 node_modules/rxjs/_esm5/util/not.js create mode 100644 node_modules/rxjs/_esm5/util/not.js.map create mode 100644 node_modules/rxjs/_esm5/util/pipe.js create mode 100644 node_modules/rxjs/_esm5/util/pipe.js.map create mode 100644 node_modules/rxjs/_esm5/util/root.js create mode 100644 node_modules/rxjs/_esm5/util/root.js.map create mode 100644 node_modules/rxjs/_esm5/util/subscribeToResult.js create mode 100644 node_modules/rxjs/_esm5/util/subscribeToResult.js.map create mode 100644 node_modules/rxjs/_esm5/util/toSubscriber.js create mode 100644 node_modules/rxjs/_esm5/util/toSubscriber.js.map create mode 100644 node_modules/rxjs/_esm5/util/tryCatch.js create mode 100644 node_modules/rxjs/_esm5/util/tryCatch.js.map create mode 100644 node_modules/rxjs/add/observable/bindCallback.d.ts create mode 100644 node_modules/rxjs/add/observable/bindCallback.js create mode 100644 node_modules/rxjs/add/observable/bindCallback.js.map create mode 100644 node_modules/rxjs/add/observable/bindNodeCallback.d.ts create mode 100644 node_modules/rxjs/add/observable/bindNodeCallback.js create mode 100644 node_modules/rxjs/add/observable/bindNodeCallback.js.map create mode 100644 node_modules/rxjs/add/observable/combineLatest.d.ts create mode 100644 node_modules/rxjs/add/observable/combineLatest.js create mode 100644 node_modules/rxjs/add/observable/combineLatest.js.map create mode 100644 node_modules/rxjs/add/observable/concat.d.ts create mode 100644 node_modules/rxjs/add/observable/concat.js create mode 100644 node_modules/rxjs/add/observable/concat.js.map create mode 100644 node_modules/rxjs/add/observable/defer.d.ts create mode 100644 node_modules/rxjs/add/observable/defer.js create mode 100644 node_modules/rxjs/add/observable/defer.js.map create mode 100644 node_modules/rxjs/add/observable/dom/ajax.d.ts create mode 100644 node_modules/rxjs/add/observable/dom/ajax.js create mode 100644 node_modules/rxjs/add/observable/dom/ajax.js.map create mode 100644 node_modules/rxjs/add/observable/dom/webSocket.d.ts create mode 100644 node_modules/rxjs/add/observable/dom/webSocket.js create mode 100644 node_modules/rxjs/add/observable/dom/webSocket.js.map create mode 100644 node_modules/rxjs/add/observable/empty.d.ts create mode 100644 node_modules/rxjs/add/observable/empty.js create mode 100644 node_modules/rxjs/add/observable/empty.js.map create mode 100644 node_modules/rxjs/add/observable/forkJoin.d.ts create mode 100644 node_modules/rxjs/add/observable/forkJoin.js create mode 100644 node_modules/rxjs/add/observable/forkJoin.js.map create mode 100644 node_modules/rxjs/add/observable/from.d.ts create mode 100644 node_modules/rxjs/add/observable/from.js create mode 100644 node_modules/rxjs/add/observable/from.js.map create mode 100644 node_modules/rxjs/add/observable/fromEvent.d.ts create mode 100644 node_modules/rxjs/add/observable/fromEvent.js create mode 100644 node_modules/rxjs/add/observable/fromEvent.js.map create mode 100644 node_modules/rxjs/add/observable/fromEventPattern.d.ts create mode 100644 node_modules/rxjs/add/observable/fromEventPattern.js create mode 100644 node_modules/rxjs/add/observable/fromEventPattern.js.map create mode 100644 node_modules/rxjs/add/observable/fromPromise.d.ts create mode 100644 node_modules/rxjs/add/observable/fromPromise.js create mode 100644 node_modules/rxjs/add/observable/fromPromise.js.map create mode 100644 node_modules/rxjs/add/observable/generate.d.ts create mode 100644 node_modules/rxjs/add/observable/generate.js create mode 100644 node_modules/rxjs/add/observable/generate.js.map create mode 100644 node_modules/rxjs/add/observable/if.d.ts create mode 100644 node_modules/rxjs/add/observable/if.js create mode 100644 node_modules/rxjs/add/observable/if.js.map create mode 100644 node_modules/rxjs/add/observable/interval.d.ts create mode 100644 node_modules/rxjs/add/observable/interval.js create mode 100644 node_modules/rxjs/add/observable/interval.js.map create mode 100644 node_modules/rxjs/add/observable/merge.d.ts create mode 100644 node_modules/rxjs/add/observable/merge.js create mode 100644 node_modules/rxjs/add/observable/merge.js.map create mode 100644 node_modules/rxjs/add/observable/never.d.ts create mode 100644 node_modules/rxjs/add/observable/never.js create mode 100644 node_modules/rxjs/add/observable/never.js.map create mode 100644 node_modules/rxjs/add/observable/of.d.ts create mode 100644 node_modules/rxjs/add/observable/of.js create mode 100644 node_modules/rxjs/add/observable/of.js.map create mode 100644 node_modules/rxjs/add/observable/onErrorResumeNext.d.ts create mode 100644 node_modules/rxjs/add/observable/onErrorResumeNext.js create mode 100644 node_modules/rxjs/add/observable/onErrorResumeNext.js.map create mode 100644 node_modules/rxjs/add/observable/pairs.d.ts create mode 100644 node_modules/rxjs/add/observable/pairs.js create mode 100644 node_modules/rxjs/add/observable/pairs.js.map create mode 100644 node_modules/rxjs/add/observable/race.d.ts create mode 100644 node_modules/rxjs/add/observable/race.js create mode 100644 node_modules/rxjs/add/observable/race.js.map create mode 100644 node_modules/rxjs/add/observable/range.d.ts create mode 100644 node_modules/rxjs/add/observable/range.js create mode 100644 node_modules/rxjs/add/observable/range.js.map create mode 100644 node_modules/rxjs/add/observable/throw.d.ts create mode 100644 node_modules/rxjs/add/observable/throw.js create mode 100644 node_modules/rxjs/add/observable/throw.js.map create mode 100644 node_modules/rxjs/add/observable/timer.d.ts create mode 100644 node_modules/rxjs/add/observable/timer.js create mode 100644 node_modules/rxjs/add/observable/timer.js.map create mode 100644 node_modules/rxjs/add/observable/using.d.ts create mode 100644 node_modules/rxjs/add/observable/using.js create mode 100644 node_modules/rxjs/add/observable/using.js.map create mode 100644 node_modules/rxjs/add/observable/zip.d.ts create mode 100644 node_modules/rxjs/add/observable/zip.js create mode 100644 node_modules/rxjs/add/observable/zip.js.map create mode 100644 node_modules/rxjs/add/operator/audit.d.ts create mode 100644 node_modules/rxjs/add/operator/audit.js create mode 100644 node_modules/rxjs/add/operator/audit.js.map create mode 100644 node_modules/rxjs/add/operator/auditTime.d.ts create mode 100644 node_modules/rxjs/add/operator/auditTime.js create mode 100644 node_modules/rxjs/add/operator/auditTime.js.map create mode 100644 node_modules/rxjs/add/operator/buffer.d.ts create mode 100644 node_modules/rxjs/add/operator/buffer.js create mode 100644 node_modules/rxjs/add/operator/buffer.js.map create mode 100644 node_modules/rxjs/add/operator/bufferCount.d.ts create mode 100644 node_modules/rxjs/add/operator/bufferCount.js create mode 100644 node_modules/rxjs/add/operator/bufferCount.js.map create mode 100644 node_modules/rxjs/add/operator/bufferTime.d.ts create mode 100644 node_modules/rxjs/add/operator/bufferTime.js create mode 100644 node_modules/rxjs/add/operator/bufferTime.js.map create mode 100644 node_modules/rxjs/add/operator/bufferToggle.d.ts create mode 100644 node_modules/rxjs/add/operator/bufferToggle.js create mode 100644 node_modules/rxjs/add/operator/bufferToggle.js.map create mode 100644 node_modules/rxjs/add/operator/bufferWhen.d.ts create mode 100644 node_modules/rxjs/add/operator/bufferWhen.js create mode 100644 node_modules/rxjs/add/operator/bufferWhen.js.map create mode 100644 node_modules/rxjs/add/operator/catch.d.ts create mode 100644 node_modules/rxjs/add/operator/catch.js create mode 100644 node_modules/rxjs/add/operator/catch.js.map create mode 100644 node_modules/rxjs/add/operator/combineAll.d.ts create mode 100644 node_modules/rxjs/add/operator/combineAll.js create mode 100644 node_modules/rxjs/add/operator/combineAll.js.map create mode 100644 node_modules/rxjs/add/operator/combineLatest.d.ts create mode 100644 node_modules/rxjs/add/operator/combineLatest.js create mode 100644 node_modules/rxjs/add/operator/combineLatest.js.map create mode 100644 node_modules/rxjs/add/operator/concat.d.ts create mode 100644 node_modules/rxjs/add/operator/concat.js create mode 100644 node_modules/rxjs/add/operator/concat.js.map create mode 100644 node_modules/rxjs/add/operator/concatAll.d.ts create mode 100644 node_modules/rxjs/add/operator/concatAll.js create mode 100644 node_modules/rxjs/add/operator/concatAll.js.map create mode 100644 node_modules/rxjs/add/operator/concatMap.d.ts create mode 100644 node_modules/rxjs/add/operator/concatMap.js create mode 100644 node_modules/rxjs/add/operator/concatMap.js.map create mode 100644 node_modules/rxjs/add/operator/concatMapTo.d.ts create mode 100644 node_modules/rxjs/add/operator/concatMapTo.js create mode 100644 node_modules/rxjs/add/operator/concatMapTo.js.map create mode 100644 node_modules/rxjs/add/operator/count.d.ts create mode 100644 node_modules/rxjs/add/operator/count.js create mode 100644 node_modules/rxjs/add/operator/count.js.map create mode 100644 node_modules/rxjs/add/operator/debounce.d.ts create mode 100644 node_modules/rxjs/add/operator/debounce.js create mode 100644 node_modules/rxjs/add/operator/debounce.js.map create mode 100644 node_modules/rxjs/add/operator/debounceTime.d.ts create mode 100644 node_modules/rxjs/add/operator/debounceTime.js create mode 100644 node_modules/rxjs/add/operator/debounceTime.js.map create mode 100644 node_modules/rxjs/add/operator/defaultIfEmpty.d.ts create mode 100644 node_modules/rxjs/add/operator/defaultIfEmpty.js create mode 100644 node_modules/rxjs/add/operator/defaultIfEmpty.js.map create mode 100644 node_modules/rxjs/add/operator/delay.d.ts create mode 100644 node_modules/rxjs/add/operator/delay.js create mode 100644 node_modules/rxjs/add/operator/delay.js.map create mode 100644 node_modules/rxjs/add/operator/delayWhen.d.ts create mode 100644 node_modules/rxjs/add/operator/delayWhen.js create mode 100644 node_modules/rxjs/add/operator/delayWhen.js.map create mode 100644 node_modules/rxjs/add/operator/dematerialize.d.ts create mode 100644 node_modules/rxjs/add/operator/dematerialize.js create mode 100644 node_modules/rxjs/add/operator/dematerialize.js.map create mode 100644 node_modules/rxjs/add/operator/distinct.d.ts create mode 100644 node_modules/rxjs/add/operator/distinct.js create mode 100644 node_modules/rxjs/add/operator/distinct.js.map create mode 100644 node_modules/rxjs/add/operator/distinctUntilChanged.d.ts create mode 100644 node_modules/rxjs/add/operator/distinctUntilChanged.js create mode 100644 node_modules/rxjs/add/operator/distinctUntilChanged.js.map create mode 100644 node_modules/rxjs/add/operator/distinctUntilKeyChanged.d.ts create mode 100644 node_modules/rxjs/add/operator/distinctUntilKeyChanged.js create mode 100644 node_modules/rxjs/add/operator/distinctUntilKeyChanged.js.map create mode 100644 node_modules/rxjs/add/operator/do.d.ts create mode 100644 node_modules/rxjs/add/operator/do.js create mode 100644 node_modules/rxjs/add/operator/do.js.map create mode 100644 node_modules/rxjs/add/operator/elementAt.d.ts create mode 100644 node_modules/rxjs/add/operator/elementAt.js create mode 100644 node_modules/rxjs/add/operator/elementAt.js.map create mode 100644 node_modules/rxjs/add/operator/every.d.ts create mode 100644 node_modules/rxjs/add/operator/every.js create mode 100644 node_modules/rxjs/add/operator/every.js.map create mode 100644 node_modules/rxjs/add/operator/exhaust.d.ts create mode 100644 node_modules/rxjs/add/operator/exhaust.js create mode 100644 node_modules/rxjs/add/operator/exhaust.js.map create mode 100644 node_modules/rxjs/add/operator/exhaustMap.d.ts create mode 100644 node_modules/rxjs/add/operator/exhaustMap.js create mode 100644 node_modules/rxjs/add/operator/exhaustMap.js.map create mode 100644 node_modules/rxjs/add/operator/expand.d.ts create mode 100644 node_modules/rxjs/add/operator/expand.js create mode 100644 node_modules/rxjs/add/operator/expand.js.map create mode 100644 node_modules/rxjs/add/operator/filter.d.ts create mode 100644 node_modules/rxjs/add/operator/filter.js create mode 100644 node_modules/rxjs/add/operator/filter.js.map create mode 100644 node_modules/rxjs/add/operator/finally.d.ts create mode 100644 node_modules/rxjs/add/operator/finally.js create mode 100644 node_modules/rxjs/add/operator/finally.js.map create mode 100644 node_modules/rxjs/add/operator/find.d.ts create mode 100644 node_modules/rxjs/add/operator/find.js create mode 100644 node_modules/rxjs/add/operator/find.js.map create mode 100644 node_modules/rxjs/add/operator/findIndex.d.ts create mode 100644 node_modules/rxjs/add/operator/findIndex.js create mode 100644 node_modules/rxjs/add/operator/findIndex.js.map create mode 100644 node_modules/rxjs/add/operator/first.d.ts create mode 100644 node_modules/rxjs/add/operator/first.js create mode 100644 node_modules/rxjs/add/operator/first.js.map create mode 100644 node_modules/rxjs/add/operator/groupBy.d.ts create mode 100644 node_modules/rxjs/add/operator/groupBy.js create mode 100644 node_modules/rxjs/add/operator/groupBy.js.map create mode 100644 node_modules/rxjs/add/operator/ignoreElements.d.ts create mode 100644 node_modules/rxjs/add/operator/ignoreElements.js create mode 100644 node_modules/rxjs/add/operator/ignoreElements.js.map create mode 100644 node_modules/rxjs/add/operator/isEmpty.d.ts create mode 100644 node_modules/rxjs/add/operator/isEmpty.js create mode 100644 node_modules/rxjs/add/operator/isEmpty.js.map create mode 100644 node_modules/rxjs/add/operator/last.d.ts create mode 100644 node_modules/rxjs/add/operator/last.js create mode 100644 node_modules/rxjs/add/operator/last.js.map create mode 100644 node_modules/rxjs/add/operator/let.d.ts create mode 100644 node_modules/rxjs/add/operator/let.js create mode 100644 node_modules/rxjs/add/operator/let.js.map create mode 100644 node_modules/rxjs/add/operator/map.d.ts create mode 100644 node_modules/rxjs/add/operator/map.js create mode 100644 node_modules/rxjs/add/operator/map.js.map create mode 100644 node_modules/rxjs/add/operator/mapTo.d.ts create mode 100644 node_modules/rxjs/add/operator/mapTo.js create mode 100644 node_modules/rxjs/add/operator/mapTo.js.map create mode 100644 node_modules/rxjs/add/operator/materialize.d.ts create mode 100644 node_modules/rxjs/add/operator/materialize.js create mode 100644 node_modules/rxjs/add/operator/materialize.js.map create mode 100644 node_modules/rxjs/add/operator/max.d.ts create mode 100644 node_modules/rxjs/add/operator/max.js create mode 100644 node_modules/rxjs/add/operator/max.js.map create mode 100644 node_modules/rxjs/add/operator/merge.d.ts create mode 100644 node_modules/rxjs/add/operator/merge.js create mode 100644 node_modules/rxjs/add/operator/merge.js.map create mode 100644 node_modules/rxjs/add/operator/mergeAll.d.ts create mode 100644 node_modules/rxjs/add/operator/mergeAll.js create mode 100644 node_modules/rxjs/add/operator/mergeAll.js.map create mode 100644 node_modules/rxjs/add/operator/mergeMap.d.ts create mode 100644 node_modules/rxjs/add/operator/mergeMap.js create mode 100644 node_modules/rxjs/add/operator/mergeMap.js.map create mode 100644 node_modules/rxjs/add/operator/mergeMapTo.d.ts create mode 100644 node_modules/rxjs/add/operator/mergeMapTo.js create mode 100644 node_modules/rxjs/add/operator/mergeMapTo.js.map create mode 100644 node_modules/rxjs/add/operator/mergeScan.d.ts create mode 100644 node_modules/rxjs/add/operator/mergeScan.js create mode 100644 node_modules/rxjs/add/operator/mergeScan.js.map create mode 100644 node_modules/rxjs/add/operator/min.d.ts create mode 100644 node_modules/rxjs/add/operator/min.js create mode 100644 node_modules/rxjs/add/operator/min.js.map create mode 100644 node_modules/rxjs/add/operator/multicast.d.ts create mode 100644 node_modules/rxjs/add/operator/multicast.js create mode 100644 node_modules/rxjs/add/operator/multicast.js.map create mode 100644 node_modules/rxjs/add/operator/observeOn.d.ts create mode 100644 node_modules/rxjs/add/operator/observeOn.js create mode 100644 node_modules/rxjs/add/operator/observeOn.js.map create mode 100644 node_modules/rxjs/add/operator/onErrorResumeNext.d.ts create mode 100644 node_modules/rxjs/add/operator/onErrorResumeNext.js create mode 100644 node_modules/rxjs/add/operator/onErrorResumeNext.js.map create mode 100644 node_modules/rxjs/add/operator/pairwise.d.ts create mode 100644 node_modules/rxjs/add/operator/pairwise.js create mode 100644 node_modules/rxjs/add/operator/pairwise.js.map create mode 100644 node_modules/rxjs/add/operator/partition.d.ts create mode 100644 node_modules/rxjs/add/operator/partition.js create mode 100644 node_modules/rxjs/add/operator/partition.js.map create mode 100644 node_modules/rxjs/add/operator/pluck.d.ts create mode 100644 node_modules/rxjs/add/operator/pluck.js create mode 100644 node_modules/rxjs/add/operator/pluck.js.map create mode 100644 node_modules/rxjs/add/operator/publish.d.ts create mode 100644 node_modules/rxjs/add/operator/publish.js create mode 100644 node_modules/rxjs/add/operator/publish.js.map create mode 100644 node_modules/rxjs/add/operator/publishBehavior.d.ts create mode 100644 node_modules/rxjs/add/operator/publishBehavior.js create mode 100644 node_modules/rxjs/add/operator/publishBehavior.js.map create mode 100644 node_modules/rxjs/add/operator/publishLast.d.ts create mode 100644 node_modules/rxjs/add/operator/publishLast.js create mode 100644 node_modules/rxjs/add/operator/publishLast.js.map create mode 100644 node_modules/rxjs/add/operator/publishReplay.d.ts create mode 100644 node_modules/rxjs/add/operator/publishReplay.js create mode 100644 node_modules/rxjs/add/operator/publishReplay.js.map create mode 100644 node_modules/rxjs/add/operator/race.d.ts create mode 100644 node_modules/rxjs/add/operator/race.js create mode 100644 node_modules/rxjs/add/operator/race.js.map create mode 100644 node_modules/rxjs/add/operator/reduce.d.ts create mode 100644 node_modules/rxjs/add/operator/reduce.js create mode 100644 node_modules/rxjs/add/operator/reduce.js.map create mode 100644 node_modules/rxjs/add/operator/repeat.d.ts create mode 100644 node_modules/rxjs/add/operator/repeat.js create mode 100644 node_modules/rxjs/add/operator/repeat.js.map create mode 100644 node_modules/rxjs/add/operator/repeatWhen.d.ts create mode 100644 node_modules/rxjs/add/operator/repeatWhen.js create mode 100644 node_modules/rxjs/add/operator/repeatWhen.js.map create mode 100644 node_modules/rxjs/add/operator/retry.d.ts create mode 100644 node_modules/rxjs/add/operator/retry.js create mode 100644 node_modules/rxjs/add/operator/retry.js.map create mode 100644 node_modules/rxjs/add/operator/retryWhen.d.ts create mode 100644 node_modules/rxjs/add/operator/retryWhen.js create mode 100644 node_modules/rxjs/add/operator/retryWhen.js.map create mode 100644 node_modules/rxjs/add/operator/sample.d.ts create mode 100644 node_modules/rxjs/add/operator/sample.js create mode 100644 node_modules/rxjs/add/operator/sample.js.map create mode 100644 node_modules/rxjs/add/operator/sampleTime.d.ts create mode 100644 node_modules/rxjs/add/operator/sampleTime.js create mode 100644 node_modules/rxjs/add/operator/sampleTime.js.map create mode 100644 node_modules/rxjs/add/operator/scan.d.ts create mode 100644 node_modules/rxjs/add/operator/scan.js create mode 100644 node_modules/rxjs/add/operator/scan.js.map create mode 100644 node_modules/rxjs/add/operator/sequenceEqual.d.ts create mode 100644 node_modules/rxjs/add/operator/sequenceEqual.js create mode 100644 node_modules/rxjs/add/operator/sequenceEqual.js.map create mode 100644 node_modules/rxjs/add/operator/share.d.ts create mode 100644 node_modules/rxjs/add/operator/share.js create mode 100644 node_modules/rxjs/add/operator/share.js.map create mode 100644 node_modules/rxjs/add/operator/shareReplay.d.ts create mode 100644 node_modules/rxjs/add/operator/shareReplay.js create mode 100644 node_modules/rxjs/add/operator/shareReplay.js.map create mode 100644 node_modules/rxjs/add/operator/single.d.ts create mode 100644 node_modules/rxjs/add/operator/single.js create mode 100644 node_modules/rxjs/add/operator/single.js.map create mode 100644 node_modules/rxjs/add/operator/skip.d.ts create mode 100644 node_modules/rxjs/add/operator/skip.js create mode 100644 node_modules/rxjs/add/operator/skip.js.map create mode 100644 node_modules/rxjs/add/operator/skipLast.d.ts create mode 100644 node_modules/rxjs/add/operator/skipLast.js create mode 100644 node_modules/rxjs/add/operator/skipLast.js.map create mode 100644 node_modules/rxjs/add/operator/skipUntil.d.ts create mode 100644 node_modules/rxjs/add/operator/skipUntil.js create mode 100644 node_modules/rxjs/add/operator/skipUntil.js.map create mode 100644 node_modules/rxjs/add/operator/skipWhile.d.ts create mode 100644 node_modules/rxjs/add/operator/skipWhile.js create mode 100644 node_modules/rxjs/add/operator/skipWhile.js.map create mode 100644 node_modules/rxjs/add/operator/startWith.d.ts create mode 100644 node_modules/rxjs/add/operator/startWith.js create mode 100644 node_modules/rxjs/add/operator/startWith.js.map create mode 100644 node_modules/rxjs/add/operator/subscribeOn.d.ts create mode 100644 node_modules/rxjs/add/operator/subscribeOn.js create mode 100644 node_modules/rxjs/add/operator/subscribeOn.js.map create mode 100644 node_modules/rxjs/add/operator/switch.d.ts create mode 100644 node_modules/rxjs/add/operator/switch.js create mode 100644 node_modules/rxjs/add/operator/switch.js.map create mode 100644 node_modules/rxjs/add/operator/switchMap.d.ts create mode 100644 node_modules/rxjs/add/operator/switchMap.js create mode 100644 node_modules/rxjs/add/operator/switchMap.js.map create mode 100644 node_modules/rxjs/add/operator/switchMapTo.d.ts create mode 100644 node_modules/rxjs/add/operator/switchMapTo.js create mode 100644 node_modules/rxjs/add/operator/switchMapTo.js.map create mode 100644 node_modules/rxjs/add/operator/take.d.ts create mode 100644 node_modules/rxjs/add/operator/take.js create mode 100644 node_modules/rxjs/add/operator/take.js.map create mode 100644 node_modules/rxjs/add/operator/takeLast.d.ts create mode 100644 node_modules/rxjs/add/operator/takeLast.js create mode 100644 node_modules/rxjs/add/operator/takeLast.js.map create mode 100644 node_modules/rxjs/add/operator/takeUntil.d.ts create mode 100644 node_modules/rxjs/add/operator/takeUntil.js create mode 100644 node_modules/rxjs/add/operator/takeUntil.js.map create mode 100644 node_modules/rxjs/add/operator/takeWhile.d.ts create mode 100644 node_modules/rxjs/add/operator/takeWhile.js create mode 100644 node_modules/rxjs/add/operator/takeWhile.js.map create mode 100644 node_modules/rxjs/add/operator/throttle.d.ts create mode 100644 node_modules/rxjs/add/operator/throttle.js create mode 100644 node_modules/rxjs/add/operator/throttle.js.map create mode 100644 node_modules/rxjs/add/operator/throttleTime.d.ts create mode 100644 node_modules/rxjs/add/operator/throttleTime.js create mode 100644 node_modules/rxjs/add/operator/throttleTime.js.map create mode 100644 node_modules/rxjs/add/operator/timeInterval.d.ts create mode 100644 node_modules/rxjs/add/operator/timeInterval.js create mode 100644 node_modules/rxjs/add/operator/timeInterval.js.map create mode 100644 node_modules/rxjs/add/operator/timeout.d.ts create mode 100644 node_modules/rxjs/add/operator/timeout.js create mode 100644 node_modules/rxjs/add/operator/timeout.js.map create mode 100644 node_modules/rxjs/add/operator/timeoutWith.d.ts create mode 100644 node_modules/rxjs/add/operator/timeoutWith.js create mode 100644 node_modules/rxjs/add/operator/timeoutWith.js.map create mode 100644 node_modules/rxjs/add/operator/timestamp.d.ts create mode 100644 node_modules/rxjs/add/operator/timestamp.js create mode 100644 node_modules/rxjs/add/operator/timestamp.js.map create mode 100644 node_modules/rxjs/add/operator/toArray.d.ts create mode 100644 node_modules/rxjs/add/operator/toArray.js create mode 100644 node_modules/rxjs/add/operator/toArray.js.map create mode 100644 node_modules/rxjs/add/operator/toPromise.d.ts create mode 100644 node_modules/rxjs/add/operator/toPromise.js create mode 100644 node_modules/rxjs/add/operator/toPromise.js.map create mode 100644 node_modules/rxjs/add/operator/window.d.ts create mode 100644 node_modules/rxjs/add/operator/window.js create mode 100644 node_modules/rxjs/add/operator/window.js.map create mode 100644 node_modules/rxjs/add/operator/windowCount.d.ts create mode 100644 node_modules/rxjs/add/operator/windowCount.js create mode 100644 node_modules/rxjs/add/operator/windowCount.js.map create mode 100644 node_modules/rxjs/add/operator/windowTime.d.ts create mode 100644 node_modules/rxjs/add/operator/windowTime.js create mode 100644 node_modules/rxjs/add/operator/windowTime.js.map create mode 100644 node_modules/rxjs/add/operator/windowToggle.d.ts create mode 100644 node_modules/rxjs/add/operator/windowToggle.js create mode 100644 node_modules/rxjs/add/operator/windowToggle.js.map create mode 100644 node_modules/rxjs/add/operator/windowWhen.d.ts create mode 100644 node_modules/rxjs/add/operator/windowWhen.js create mode 100644 node_modules/rxjs/add/operator/windowWhen.js.map create mode 100644 node_modules/rxjs/add/operator/withLatestFrom.d.ts create mode 100644 node_modules/rxjs/add/operator/withLatestFrom.js create mode 100644 node_modules/rxjs/add/operator/withLatestFrom.js.map create mode 100644 node_modules/rxjs/add/operator/zip.d.ts create mode 100644 node_modules/rxjs/add/operator/zip.js create mode 100644 node_modules/rxjs/add/operator/zip.js.map create mode 100644 node_modules/rxjs/add/operator/zipAll.d.ts create mode 100644 node_modules/rxjs/add/operator/zipAll.js create mode 100644 node_modules/rxjs/add/operator/zipAll.js.map create mode 100644 node_modules/rxjs/bundles/Rx.js create mode 100644 node_modules/rxjs/bundles/Rx.js.map create mode 100644 node_modules/rxjs/bundles/Rx.min.js create mode 100644 node_modules/rxjs/bundles/Rx.min.js.map create mode 100644 node_modules/rxjs/interfaces.d.ts create mode 100644 node_modules/rxjs/interfaces.js create mode 100644 node_modules/rxjs/interfaces.js.map create mode 100644 node_modules/rxjs/observable/ArrayLikeObservable.d.ts create mode 100644 node_modules/rxjs/observable/ArrayLikeObservable.js create mode 100644 node_modules/rxjs/observable/ArrayLikeObservable.js.map create mode 100644 node_modules/rxjs/observable/ArrayObservable.d.ts create mode 100644 node_modules/rxjs/observable/ArrayObservable.js create mode 100644 node_modules/rxjs/observable/ArrayObservable.js.map create mode 100644 node_modules/rxjs/observable/BoundCallbackObservable.d.ts create mode 100644 node_modules/rxjs/observable/BoundCallbackObservable.js create mode 100644 node_modules/rxjs/observable/BoundCallbackObservable.js.map create mode 100644 node_modules/rxjs/observable/BoundNodeCallbackObservable.d.ts create mode 100644 node_modules/rxjs/observable/BoundNodeCallbackObservable.js create mode 100644 node_modules/rxjs/observable/BoundNodeCallbackObservable.js.map create mode 100644 node_modules/rxjs/observable/ConnectableObservable.d.ts create mode 100644 node_modules/rxjs/observable/ConnectableObservable.js create mode 100644 node_modules/rxjs/observable/ConnectableObservable.js.map create mode 100644 node_modules/rxjs/observable/DeferObservable.d.ts create mode 100644 node_modules/rxjs/observable/DeferObservable.js create mode 100644 node_modules/rxjs/observable/DeferObservable.js.map create mode 100644 node_modules/rxjs/observable/EmptyObservable.d.ts create mode 100644 node_modules/rxjs/observable/EmptyObservable.js create mode 100644 node_modules/rxjs/observable/EmptyObservable.js.map create mode 100644 node_modules/rxjs/observable/ErrorObservable.d.ts create mode 100644 node_modules/rxjs/observable/ErrorObservable.js create mode 100644 node_modules/rxjs/observable/ErrorObservable.js.map create mode 100644 node_modules/rxjs/observable/ForkJoinObservable.d.ts create mode 100644 node_modules/rxjs/observable/ForkJoinObservable.js create mode 100644 node_modules/rxjs/observable/ForkJoinObservable.js.map create mode 100644 node_modules/rxjs/observable/FromEventObservable.d.ts create mode 100644 node_modules/rxjs/observable/FromEventObservable.js create mode 100644 node_modules/rxjs/observable/FromEventObservable.js.map create mode 100644 node_modules/rxjs/observable/FromEventPatternObservable.d.ts create mode 100644 node_modules/rxjs/observable/FromEventPatternObservable.js create mode 100644 node_modules/rxjs/observable/FromEventPatternObservable.js.map create mode 100644 node_modules/rxjs/observable/FromObservable.d.ts create mode 100644 node_modules/rxjs/observable/FromObservable.js create mode 100644 node_modules/rxjs/observable/FromObservable.js.map create mode 100644 node_modules/rxjs/observable/GenerateObservable.d.ts create mode 100644 node_modules/rxjs/observable/GenerateObservable.js create mode 100644 node_modules/rxjs/observable/GenerateObservable.js.map create mode 100644 node_modules/rxjs/observable/IfObservable.d.ts create mode 100644 node_modules/rxjs/observable/IfObservable.js create mode 100644 node_modules/rxjs/observable/IfObservable.js.map create mode 100644 node_modules/rxjs/observable/IntervalObservable.d.ts create mode 100644 node_modules/rxjs/observable/IntervalObservable.js create mode 100644 node_modules/rxjs/observable/IntervalObservable.js.map create mode 100644 node_modules/rxjs/observable/IteratorObservable.d.ts create mode 100644 node_modules/rxjs/observable/IteratorObservable.js create mode 100644 node_modules/rxjs/observable/IteratorObservable.js.map create mode 100644 node_modules/rxjs/observable/NeverObservable.d.ts create mode 100644 node_modules/rxjs/observable/NeverObservable.js create mode 100644 node_modules/rxjs/observable/NeverObservable.js.map create mode 100644 node_modules/rxjs/observable/PairsObservable.d.ts create mode 100644 node_modules/rxjs/observable/PairsObservable.js create mode 100644 node_modules/rxjs/observable/PairsObservable.js.map create mode 100644 node_modules/rxjs/observable/PromiseObservable.d.ts create mode 100644 node_modules/rxjs/observable/PromiseObservable.js create mode 100644 node_modules/rxjs/observable/PromiseObservable.js.map create mode 100644 node_modules/rxjs/observable/RangeObservable.d.ts create mode 100644 node_modules/rxjs/observable/RangeObservable.js create mode 100644 node_modules/rxjs/observable/RangeObservable.js.map create mode 100644 node_modules/rxjs/observable/ScalarObservable.d.ts create mode 100644 node_modules/rxjs/observable/ScalarObservable.js create mode 100644 node_modules/rxjs/observable/ScalarObservable.js.map create mode 100644 node_modules/rxjs/observable/SubscribeOnObservable.d.ts create mode 100644 node_modules/rxjs/observable/SubscribeOnObservable.js create mode 100644 node_modules/rxjs/observable/SubscribeOnObservable.js.map create mode 100644 node_modules/rxjs/observable/TimerObservable.d.ts create mode 100644 node_modules/rxjs/observable/TimerObservable.js create mode 100644 node_modules/rxjs/observable/TimerObservable.js.map create mode 100644 node_modules/rxjs/observable/UsingObservable.d.ts create mode 100644 node_modules/rxjs/observable/UsingObservable.js create mode 100644 node_modules/rxjs/observable/UsingObservable.js.map create mode 100644 node_modules/rxjs/observable/bindCallback.d.ts create mode 100644 node_modules/rxjs/observable/bindCallback.js create mode 100644 node_modules/rxjs/observable/bindCallback.js.map create mode 100644 node_modules/rxjs/observable/bindNodeCallback.d.ts create mode 100644 node_modules/rxjs/observable/bindNodeCallback.js create mode 100644 node_modules/rxjs/observable/bindNodeCallback.js.map create mode 100644 node_modules/rxjs/observable/combineLatest.d.ts create mode 100644 node_modules/rxjs/observable/combineLatest.js create mode 100644 node_modules/rxjs/observable/combineLatest.js.map create mode 100644 node_modules/rxjs/observable/concat.d.ts create mode 100644 node_modules/rxjs/observable/concat.js create mode 100644 node_modules/rxjs/observable/concat.js.map create mode 100644 node_modules/rxjs/observable/defer.d.ts create mode 100644 node_modules/rxjs/observable/defer.js create mode 100644 node_modules/rxjs/observable/defer.js.map create mode 100644 node_modules/rxjs/observable/dom/AjaxObservable.d.ts create mode 100644 node_modules/rxjs/observable/dom/AjaxObservable.js create mode 100644 node_modules/rxjs/observable/dom/AjaxObservable.js.map create mode 100644 node_modules/rxjs/observable/dom/WebSocketSubject.d.ts create mode 100644 node_modules/rxjs/observable/dom/WebSocketSubject.js create mode 100644 node_modules/rxjs/observable/dom/WebSocketSubject.js.map create mode 100644 node_modules/rxjs/observable/dom/ajax.d.ts create mode 100644 node_modules/rxjs/observable/dom/ajax.js create mode 100644 node_modules/rxjs/observable/dom/ajax.js.map create mode 100644 node_modules/rxjs/observable/dom/webSocket.d.ts create mode 100644 node_modules/rxjs/observable/dom/webSocket.js create mode 100644 node_modules/rxjs/observable/dom/webSocket.js.map create mode 100644 node_modules/rxjs/observable/empty.d.ts create mode 100644 node_modules/rxjs/observable/empty.js create mode 100644 node_modules/rxjs/observable/empty.js.map create mode 100644 node_modules/rxjs/observable/forkJoin.d.ts create mode 100644 node_modules/rxjs/observable/forkJoin.js create mode 100644 node_modules/rxjs/observable/forkJoin.js.map create mode 100644 node_modules/rxjs/observable/from.d.ts create mode 100644 node_modules/rxjs/observable/from.js create mode 100644 node_modules/rxjs/observable/from.js.map create mode 100644 node_modules/rxjs/observable/fromEvent.d.ts create mode 100644 node_modules/rxjs/observable/fromEvent.js create mode 100644 node_modules/rxjs/observable/fromEvent.js.map create mode 100644 node_modules/rxjs/observable/fromEventPattern.d.ts create mode 100644 node_modules/rxjs/observable/fromEventPattern.js create mode 100644 node_modules/rxjs/observable/fromEventPattern.js.map create mode 100644 node_modules/rxjs/observable/fromPromise.d.ts create mode 100644 node_modules/rxjs/observable/fromPromise.js create mode 100644 node_modules/rxjs/observable/fromPromise.js.map create mode 100644 node_modules/rxjs/observable/generate.d.ts create mode 100644 node_modules/rxjs/observable/generate.js create mode 100644 node_modules/rxjs/observable/generate.js.map create mode 100644 node_modules/rxjs/observable/if.d.ts create mode 100644 node_modules/rxjs/observable/if.js create mode 100644 node_modules/rxjs/observable/if.js.map create mode 100644 node_modules/rxjs/observable/interval.d.ts create mode 100644 node_modules/rxjs/observable/interval.js create mode 100644 node_modules/rxjs/observable/interval.js.map create mode 100644 node_modules/rxjs/observable/merge.d.ts create mode 100644 node_modules/rxjs/observable/merge.js create mode 100644 node_modules/rxjs/observable/merge.js.map create mode 100644 node_modules/rxjs/observable/never.d.ts create mode 100644 node_modules/rxjs/observable/never.js create mode 100644 node_modules/rxjs/observable/never.js.map create mode 100644 node_modules/rxjs/observable/of.d.ts create mode 100644 node_modules/rxjs/observable/of.js create mode 100644 node_modules/rxjs/observable/of.js.map create mode 100644 node_modules/rxjs/observable/onErrorResumeNext.d.ts create mode 100644 node_modules/rxjs/observable/onErrorResumeNext.js create mode 100644 node_modules/rxjs/observable/onErrorResumeNext.js.map create mode 100644 node_modules/rxjs/observable/pairs.d.ts create mode 100644 node_modules/rxjs/observable/pairs.js create mode 100644 node_modules/rxjs/observable/pairs.js.map create mode 100644 node_modules/rxjs/observable/race.d.ts create mode 100644 node_modules/rxjs/observable/race.js create mode 100644 node_modules/rxjs/observable/race.js.map create mode 100644 node_modules/rxjs/observable/range.d.ts create mode 100644 node_modules/rxjs/observable/range.js create mode 100644 node_modules/rxjs/observable/range.js.map create mode 100644 node_modules/rxjs/observable/throw.d.ts create mode 100644 node_modules/rxjs/observable/throw.js create mode 100644 node_modules/rxjs/observable/throw.js.map create mode 100644 node_modules/rxjs/observable/timer.d.ts create mode 100644 node_modules/rxjs/observable/timer.js create mode 100644 node_modules/rxjs/observable/timer.js.map create mode 100644 node_modules/rxjs/observable/using.d.ts create mode 100644 node_modules/rxjs/observable/using.js create mode 100644 node_modules/rxjs/observable/using.js.map create mode 100644 node_modules/rxjs/observable/zip.d.ts create mode 100644 node_modules/rxjs/observable/zip.js create mode 100644 node_modules/rxjs/observable/zip.js.map create mode 100644 node_modules/rxjs/operator/audit.d.ts create mode 100644 node_modules/rxjs/operator/audit.js create mode 100644 node_modules/rxjs/operator/audit.js.map create mode 100644 node_modules/rxjs/operator/auditTime.d.ts create mode 100644 node_modules/rxjs/operator/auditTime.js create mode 100644 node_modules/rxjs/operator/auditTime.js.map create mode 100644 node_modules/rxjs/operator/buffer.d.ts create mode 100644 node_modules/rxjs/operator/buffer.js create mode 100644 node_modules/rxjs/operator/buffer.js.map create mode 100644 node_modules/rxjs/operator/bufferCount.d.ts create mode 100644 node_modules/rxjs/operator/bufferCount.js create mode 100644 node_modules/rxjs/operator/bufferCount.js.map create mode 100644 node_modules/rxjs/operator/bufferTime.d.ts create mode 100644 node_modules/rxjs/operator/bufferTime.js create mode 100644 node_modules/rxjs/operator/bufferTime.js.map create mode 100644 node_modules/rxjs/operator/bufferToggle.d.ts create mode 100644 node_modules/rxjs/operator/bufferToggle.js create mode 100644 node_modules/rxjs/operator/bufferToggle.js.map create mode 100644 node_modules/rxjs/operator/bufferWhen.d.ts create mode 100644 node_modules/rxjs/operator/bufferWhen.js create mode 100644 node_modules/rxjs/operator/bufferWhen.js.map create mode 100644 node_modules/rxjs/operator/catch.d.ts create mode 100644 node_modules/rxjs/operator/catch.js create mode 100644 node_modules/rxjs/operator/catch.js.map create mode 100644 node_modules/rxjs/operator/combineAll.d.ts create mode 100644 node_modules/rxjs/operator/combineAll.js create mode 100644 node_modules/rxjs/operator/combineAll.js.map create mode 100644 node_modules/rxjs/operator/combineLatest.d.ts create mode 100644 node_modules/rxjs/operator/combineLatest.js create mode 100644 node_modules/rxjs/operator/combineLatest.js.map create mode 100644 node_modules/rxjs/operator/concat.d.ts create mode 100644 node_modules/rxjs/operator/concat.js create mode 100644 node_modules/rxjs/operator/concat.js.map create mode 100644 node_modules/rxjs/operator/concatAll.d.ts create mode 100644 node_modules/rxjs/operator/concatAll.js create mode 100644 node_modules/rxjs/operator/concatAll.js.map create mode 100644 node_modules/rxjs/operator/concatMap.d.ts create mode 100644 node_modules/rxjs/operator/concatMap.js create mode 100644 node_modules/rxjs/operator/concatMap.js.map create mode 100644 node_modules/rxjs/operator/concatMapTo.d.ts create mode 100644 node_modules/rxjs/operator/concatMapTo.js create mode 100644 node_modules/rxjs/operator/concatMapTo.js.map create mode 100644 node_modules/rxjs/operator/count.d.ts create mode 100644 node_modules/rxjs/operator/count.js create mode 100644 node_modules/rxjs/operator/count.js.map create mode 100644 node_modules/rxjs/operator/debounce.d.ts create mode 100644 node_modules/rxjs/operator/debounce.js create mode 100644 node_modules/rxjs/operator/debounce.js.map create mode 100644 node_modules/rxjs/operator/debounceTime.d.ts create mode 100644 node_modules/rxjs/operator/debounceTime.js create mode 100644 node_modules/rxjs/operator/debounceTime.js.map create mode 100644 node_modules/rxjs/operator/defaultIfEmpty.d.ts create mode 100644 node_modules/rxjs/operator/defaultIfEmpty.js create mode 100644 node_modules/rxjs/operator/defaultIfEmpty.js.map create mode 100644 node_modules/rxjs/operator/delay.d.ts create mode 100644 node_modules/rxjs/operator/delay.js create mode 100644 node_modules/rxjs/operator/delay.js.map create mode 100644 node_modules/rxjs/operator/delayWhen.d.ts create mode 100644 node_modules/rxjs/operator/delayWhen.js create mode 100644 node_modules/rxjs/operator/delayWhen.js.map create mode 100644 node_modules/rxjs/operator/dematerialize.d.ts create mode 100644 node_modules/rxjs/operator/dematerialize.js create mode 100644 node_modules/rxjs/operator/dematerialize.js.map create mode 100644 node_modules/rxjs/operator/distinct.d.ts create mode 100644 node_modules/rxjs/operator/distinct.js create mode 100644 node_modules/rxjs/operator/distinct.js.map create mode 100644 node_modules/rxjs/operator/distinctUntilChanged.d.ts create mode 100644 node_modules/rxjs/operator/distinctUntilChanged.js create mode 100644 node_modules/rxjs/operator/distinctUntilChanged.js.map create mode 100644 node_modules/rxjs/operator/distinctUntilKeyChanged.d.ts create mode 100644 node_modules/rxjs/operator/distinctUntilKeyChanged.js create mode 100644 node_modules/rxjs/operator/distinctUntilKeyChanged.js.map create mode 100644 node_modules/rxjs/operator/do.d.ts create mode 100644 node_modules/rxjs/operator/do.js create mode 100644 node_modules/rxjs/operator/do.js.map create mode 100644 node_modules/rxjs/operator/elementAt.d.ts create mode 100644 node_modules/rxjs/operator/elementAt.js create mode 100644 node_modules/rxjs/operator/elementAt.js.map create mode 100644 node_modules/rxjs/operator/every.d.ts create mode 100644 node_modules/rxjs/operator/every.js create mode 100644 node_modules/rxjs/operator/every.js.map create mode 100644 node_modules/rxjs/operator/exhaust.d.ts create mode 100644 node_modules/rxjs/operator/exhaust.js create mode 100644 node_modules/rxjs/operator/exhaust.js.map create mode 100644 node_modules/rxjs/operator/exhaustMap.d.ts create mode 100644 node_modules/rxjs/operator/exhaustMap.js create mode 100644 node_modules/rxjs/operator/exhaustMap.js.map create mode 100644 node_modules/rxjs/operator/expand.d.ts create mode 100644 node_modules/rxjs/operator/expand.js create mode 100644 node_modules/rxjs/operator/expand.js.map create mode 100644 node_modules/rxjs/operator/filter.d.ts create mode 100644 node_modules/rxjs/operator/filter.js create mode 100644 node_modules/rxjs/operator/filter.js.map create mode 100644 node_modules/rxjs/operator/finally.d.ts create mode 100644 node_modules/rxjs/operator/finally.js create mode 100644 node_modules/rxjs/operator/finally.js.map create mode 100644 node_modules/rxjs/operator/find.d.ts create mode 100644 node_modules/rxjs/operator/find.js create mode 100644 node_modules/rxjs/operator/find.js.map create mode 100644 node_modules/rxjs/operator/findIndex.d.ts create mode 100644 node_modules/rxjs/operator/findIndex.js create mode 100644 node_modules/rxjs/operator/findIndex.js.map create mode 100644 node_modules/rxjs/operator/first.d.ts create mode 100644 node_modules/rxjs/operator/first.js create mode 100644 node_modules/rxjs/operator/first.js.map create mode 100644 node_modules/rxjs/operator/groupBy.d.ts create mode 100644 node_modules/rxjs/operator/groupBy.js create mode 100644 node_modules/rxjs/operator/groupBy.js.map create mode 100644 node_modules/rxjs/operator/ignoreElements.d.ts create mode 100644 node_modules/rxjs/operator/ignoreElements.js create mode 100644 node_modules/rxjs/operator/ignoreElements.js.map create mode 100644 node_modules/rxjs/operator/isEmpty.d.ts create mode 100644 node_modules/rxjs/operator/isEmpty.js create mode 100644 node_modules/rxjs/operator/isEmpty.js.map create mode 100644 node_modules/rxjs/operator/last.d.ts create mode 100644 node_modules/rxjs/operator/last.js create mode 100644 node_modules/rxjs/operator/last.js.map create mode 100644 node_modules/rxjs/operator/let.d.ts create mode 100644 node_modules/rxjs/operator/let.js create mode 100644 node_modules/rxjs/operator/let.js.map create mode 100644 node_modules/rxjs/operator/map.d.ts create mode 100644 node_modules/rxjs/operator/map.js create mode 100644 node_modules/rxjs/operator/map.js.map create mode 100644 node_modules/rxjs/operator/mapTo.d.ts create mode 100644 node_modules/rxjs/operator/mapTo.js create mode 100644 node_modules/rxjs/operator/mapTo.js.map create mode 100644 node_modules/rxjs/operator/materialize.d.ts create mode 100644 node_modules/rxjs/operator/materialize.js create mode 100644 node_modules/rxjs/operator/materialize.js.map create mode 100644 node_modules/rxjs/operator/max.d.ts create mode 100644 node_modules/rxjs/operator/max.js create mode 100644 node_modules/rxjs/operator/max.js.map create mode 100644 node_modules/rxjs/operator/merge.d.ts create mode 100644 node_modules/rxjs/operator/merge.js create mode 100644 node_modules/rxjs/operator/merge.js.map create mode 100644 node_modules/rxjs/operator/mergeAll.d.ts create mode 100644 node_modules/rxjs/operator/mergeAll.js create mode 100644 node_modules/rxjs/operator/mergeAll.js.map create mode 100644 node_modules/rxjs/operator/mergeMap.d.ts create mode 100644 node_modules/rxjs/operator/mergeMap.js create mode 100644 node_modules/rxjs/operator/mergeMap.js.map create mode 100644 node_modules/rxjs/operator/mergeMapTo.d.ts create mode 100644 node_modules/rxjs/operator/mergeMapTo.js create mode 100644 node_modules/rxjs/operator/mergeMapTo.js.map create mode 100644 node_modules/rxjs/operator/mergeScan.d.ts create mode 100644 node_modules/rxjs/operator/mergeScan.js create mode 100644 node_modules/rxjs/operator/mergeScan.js.map create mode 100644 node_modules/rxjs/operator/min.d.ts create mode 100644 node_modules/rxjs/operator/min.js create mode 100644 node_modules/rxjs/operator/min.js.map create mode 100644 node_modules/rxjs/operator/multicast.d.ts create mode 100644 node_modules/rxjs/operator/multicast.js create mode 100644 node_modules/rxjs/operator/multicast.js.map create mode 100644 node_modules/rxjs/operator/observeOn.d.ts create mode 100644 node_modules/rxjs/operator/observeOn.js create mode 100644 node_modules/rxjs/operator/observeOn.js.map create mode 100644 node_modules/rxjs/operator/onErrorResumeNext.d.ts create mode 100644 node_modules/rxjs/operator/onErrorResumeNext.js create mode 100644 node_modules/rxjs/operator/onErrorResumeNext.js.map create mode 100644 node_modules/rxjs/operator/pairwise.d.ts create mode 100644 node_modules/rxjs/operator/pairwise.js create mode 100644 node_modules/rxjs/operator/pairwise.js.map create mode 100644 node_modules/rxjs/operator/partition.d.ts create mode 100644 node_modules/rxjs/operator/partition.js create mode 100644 node_modules/rxjs/operator/partition.js.map create mode 100644 node_modules/rxjs/operator/pluck.d.ts create mode 100644 node_modules/rxjs/operator/pluck.js create mode 100644 node_modules/rxjs/operator/pluck.js.map create mode 100644 node_modules/rxjs/operator/publish.d.ts create mode 100644 node_modules/rxjs/operator/publish.js create mode 100644 node_modules/rxjs/operator/publish.js.map create mode 100644 node_modules/rxjs/operator/publishBehavior.d.ts create mode 100644 node_modules/rxjs/operator/publishBehavior.js create mode 100644 node_modules/rxjs/operator/publishBehavior.js.map create mode 100644 node_modules/rxjs/operator/publishLast.d.ts create mode 100644 node_modules/rxjs/operator/publishLast.js create mode 100644 node_modules/rxjs/operator/publishLast.js.map create mode 100644 node_modules/rxjs/operator/publishReplay.d.ts create mode 100644 node_modules/rxjs/operator/publishReplay.js create mode 100644 node_modules/rxjs/operator/publishReplay.js.map create mode 100644 node_modules/rxjs/operator/race.d.ts create mode 100644 node_modules/rxjs/operator/race.js create mode 100644 node_modules/rxjs/operator/race.js.map create mode 100644 node_modules/rxjs/operator/reduce.d.ts create mode 100644 node_modules/rxjs/operator/reduce.js create mode 100644 node_modules/rxjs/operator/reduce.js.map create mode 100644 node_modules/rxjs/operator/repeat.d.ts create mode 100644 node_modules/rxjs/operator/repeat.js create mode 100644 node_modules/rxjs/operator/repeat.js.map create mode 100644 node_modules/rxjs/operator/repeatWhen.d.ts create mode 100644 node_modules/rxjs/operator/repeatWhen.js create mode 100644 node_modules/rxjs/operator/repeatWhen.js.map create mode 100644 node_modules/rxjs/operator/retry.d.ts create mode 100644 node_modules/rxjs/operator/retry.js create mode 100644 node_modules/rxjs/operator/retry.js.map create mode 100644 node_modules/rxjs/operator/retryWhen.d.ts create mode 100644 node_modules/rxjs/operator/retryWhen.js create mode 100644 node_modules/rxjs/operator/retryWhen.js.map create mode 100644 node_modules/rxjs/operator/sample.d.ts create mode 100644 node_modules/rxjs/operator/sample.js create mode 100644 node_modules/rxjs/operator/sample.js.map create mode 100644 node_modules/rxjs/operator/sampleTime.d.ts create mode 100644 node_modules/rxjs/operator/sampleTime.js create mode 100644 node_modules/rxjs/operator/sampleTime.js.map create mode 100644 node_modules/rxjs/operator/scan.d.ts create mode 100644 node_modules/rxjs/operator/scan.js create mode 100644 node_modules/rxjs/operator/scan.js.map create mode 100644 node_modules/rxjs/operator/sequenceEqual.d.ts create mode 100644 node_modules/rxjs/operator/sequenceEqual.js create mode 100644 node_modules/rxjs/operator/sequenceEqual.js.map create mode 100644 node_modules/rxjs/operator/share.d.ts create mode 100644 node_modules/rxjs/operator/share.js create mode 100644 node_modules/rxjs/operator/share.js.map create mode 100644 node_modules/rxjs/operator/shareReplay.d.ts create mode 100644 node_modules/rxjs/operator/shareReplay.js create mode 100644 node_modules/rxjs/operator/shareReplay.js.map create mode 100644 node_modules/rxjs/operator/single.d.ts create mode 100644 node_modules/rxjs/operator/single.js create mode 100644 node_modules/rxjs/operator/single.js.map create mode 100644 node_modules/rxjs/operator/skip.d.ts create mode 100644 node_modules/rxjs/operator/skip.js create mode 100644 node_modules/rxjs/operator/skip.js.map create mode 100644 node_modules/rxjs/operator/skipLast.d.ts create mode 100644 node_modules/rxjs/operator/skipLast.js create mode 100644 node_modules/rxjs/operator/skipLast.js.map create mode 100644 node_modules/rxjs/operator/skipUntil.d.ts create mode 100644 node_modules/rxjs/operator/skipUntil.js create mode 100644 node_modules/rxjs/operator/skipUntil.js.map create mode 100644 node_modules/rxjs/operator/skipWhile.d.ts create mode 100644 node_modules/rxjs/operator/skipWhile.js create mode 100644 node_modules/rxjs/operator/skipWhile.js.map create mode 100644 node_modules/rxjs/operator/startWith.d.ts create mode 100644 node_modules/rxjs/operator/startWith.js create mode 100644 node_modules/rxjs/operator/startWith.js.map create mode 100644 node_modules/rxjs/operator/subscribeOn.d.ts create mode 100644 node_modules/rxjs/operator/subscribeOn.js create mode 100644 node_modules/rxjs/operator/subscribeOn.js.map create mode 100644 node_modules/rxjs/operator/switch.d.ts create mode 100644 node_modules/rxjs/operator/switch.js create mode 100644 node_modules/rxjs/operator/switch.js.map create mode 100644 node_modules/rxjs/operator/switchMap.d.ts create mode 100644 node_modules/rxjs/operator/switchMap.js create mode 100644 node_modules/rxjs/operator/switchMap.js.map create mode 100644 node_modules/rxjs/operator/switchMapTo.d.ts create mode 100644 node_modules/rxjs/operator/switchMapTo.js create mode 100644 node_modules/rxjs/operator/switchMapTo.js.map create mode 100644 node_modules/rxjs/operator/take.d.ts create mode 100644 node_modules/rxjs/operator/take.js create mode 100644 node_modules/rxjs/operator/take.js.map create mode 100644 node_modules/rxjs/operator/takeLast.d.ts create mode 100644 node_modules/rxjs/operator/takeLast.js create mode 100644 node_modules/rxjs/operator/takeLast.js.map create mode 100644 node_modules/rxjs/operator/takeUntil.d.ts create mode 100644 node_modules/rxjs/operator/takeUntil.js create mode 100644 node_modules/rxjs/operator/takeUntil.js.map create mode 100644 node_modules/rxjs/operator/takeWhile.d.ts create mode 100644 node_modules/rxjs/operator/takeWhile.js create mode 100644 node_modules/rxjs/operator/takeWhile.js.map create mode 100644 node_modules/rxjs/operator/throttle.d.ts create mode 100644 node_modules/rxjs/operator/throttle.js create mode 100644 node_modules/rxjs/operator/throttle.js.map create mode 100644 node_modules/rxjs/operator/throttleTime.d.ts create mode 100644 node_modules/rxjs/operator/throttleTime.js create mode 100644 node_modules/rxjs/operator/throttleTime.js.map create mode 100644 node_modules/rxjs/operator/timeInterval.d.ts create mode 100644 node_modules/rxjs/operator/timeInterval.js create mode 100644 node_modules/rxjs/operator/timeInterval.js.map create mode 100644 node_modules/rxjs/operator/timeout.d.ts create mode 100644 node_modules/rxjs/operator/timeout.js create mode 100644 node_modules/rxjs/operator/timeout.js.map create mode 100644 node_modules/rxjs/operator/timeoutWith.d.ts create mode 100644 node_modules/rxjs/operator/timeoutWith.js create mode 100644 node_modules/rxjs/operator/timeoutWith.js.map create mode 100644 node_modules/rxjs/operator/timestamp.d.ts create mode 100644 node_modules/rxjs/operator/timestamp.js create mode 100644 node_modules/rxjs/operator/timestamp.js.map create mode 100644 node_modules/rxjs/operator/toArray.d.ts create mode 100644 node_modules/rxjs/operator/toArray.js create mode 100644 node_modules/rxjs/operator/toArray.js.map create mode 100644 node_modules/rxjs/operator/toPromise.d.ts create mode 100644 node_modules/rxjs/operator/toPromise.js create mode 100644 node_modules/rxjs/operator/toPromise.js.map create mode 100644 node_modules/rxjs/operator/window.d.ts create mode 100644 node_modules/rxjs/operator/window.js create mode 100644 node_modules/rxjs/operator/window.js.map create mode 100644 node_modules/rxjs/operator/windowCount.d.ts create mode 100644 node_modules/rxjs/operator/windowCount.js create mode 100644 node_modules/rxjs/operator/windowCount.js.map create mode 100644 node_modules/rxjs/operator/windowTime.d.ts create mode 100644 node_modules/rxjs/operator/windowTime.js create mode 100644 node_modules/rxjs/operator/windowTime.js.map create mode 100644 node_modules/rxjs/operator/windowToggle.d.ts create mode 100644 node_modules/rxjs/operator/windowToggle.js create mode 100644 node_modules/rxjs/operator/windowToggle.js.map create mode 100644 node_modules/rxjs/operator/windowWhen.d.ts create mode 100644 node_modules/rxjs/operator/windowWhen.js create mode 100644 node_modules/rxjs/operator/windowWhen.js.map create mode 100644 node_modules/rxjs/operator/withLatestFrom.d.ts create mode 100644 node_modules/rxjs/operator/withLatestFrom.js create mode 100644 node_modules/rxjs/operator/withLatestFrom.js.map create mode 100644 node_modules/rxjs/operator/zip.d.ts create mode 100644 node_modules/rxjs/operator/zip.js create mode 100644 node_modules/rxjs/operator/zip.js.map create mode 100644 node_modules/rxjs/operator/zipAll.d.ts create mode 100644 node_modules/rxjs/operator/zipAll.js create mode 100644 node_modules/rxjs/operator/zipAll.js.map create mode 100644 node_modules/rxjs/operators.d.ts create mode 100644 node_modules/rxjs/operators.js create mode 100644 node_modules/rxjs/operators.js.map create mode 100644 node_modules/rxjs/operators/audit.d.ts create mode 100644 node_modules/rxjs/operators/audit.js create mode 100644 node_modules/rxjs/operators/audit.js.map create mode 100644 node_modules/rxjs/operators/auditTime.d.ts create mode 100644 node_modules/rxjs/operators/auditTime.js create mode 100644 node_modules/rxjs/operators/auditTime.js.map create mode 100644 node_modules/rxjs/operators/buffer.d.ts create mode 100644 node_modules/rxjs/operators/buffer.js create mode 100644 node_modules/rxjs/operators/buffer.js.map create mode 100644 node_modules/rxjs/operators/bufferCount.d.ts create mode 100644 node_modules/rxjs/operators/bufferCount.js create mode 100644 node_modules/rxjs/operators/bufferCount.js.map create mode 100644 node_modules/rxjs/operators/bufferTime.d.ts create mode 100644 node_modules/rxjs/operators/bufferTime.js create mode 100644 node_modules/rxjs/operators/bufferTime.js.map create mode 100644 node_modules/rxjs/operators/bufferToggle.d.ts create mode 100644 node_modules/rxjs/operators/bufferToggle.js create mode 100644 node_modules/rxjs/operators/bufferToggle.js.map create mode 100644 node_modules/rxjs/operators/bufferWhen.d.ts create mode 100644 node_modules/rxjs/operators/bufferWhen.js create mode 100644 node_modules/rxjs/operators/bufferWhen.js.map create mode 100644 node_modules/rxjs/operators/catchError.d.ts create mode 100644 node_modules/rxjs/operators/catchError.js create mode 100644 node_modules/rxjs/operators/catchError.js.map create mode 100644 node_modules/rxjs/operators/combineAll.d.ts create mode 100644 node_modules/rxjs/operators/combineAll.js create mode 100644 node_modules/rxjs/operators/combineAll.js.map create mode 100644 node_modules/rxjs/operators/combineLatest.d.ts create mode 100644 node_modules/rxjs/operators/combineLatest.js create mode 100644 node_modules/rxjs/operators/combineLatest.js.map create mode 100644 node_modules/rxjs/operators/concat.d.ts create mode 100644 node_modules/rxjs/operators/concat.js create mode 100644 node_modules/rxjs/operators/concat.js.map create mode 100644 node_modules/rxjs/operators/concatAll.d.ts create mode 100644 node_modules/rxjs/operators/concatAll.js create mode 100644 node_modules/rxjs/operators/concatAll.js.map create mode 100644 node_modules/rxjs/operators/concatMap.d.ts create mode 100644 node_modules/rxjs/operators/concatMap.js create mode 100644 node_modules/rxjs/operators/concatMap.js.map create mode 100644 node_modules/rxjs/operators/concatMapTo.d.ts create mode 100644 node_modules/rxjs/operators/concatMapTo.js create mode 100644 node_modules/rxjs/operators/concatMapTo.js.map create mode 100644 node_modules/rxjs/operators/count.d.ts create mode 100644 node_modules/rxjs/operators/count.js create mode 100644 node_modules/rxjs/operators/count.js.map create mode 100644 node_modules/rxjs/operators/debounce.d.ts create mode 100644 node_modules/rxjs/operators/debounce.js create mode 100644 node_modules/rxjs/operators/debounce.js.map create mode 100644 node_modules/rxjs/operators/debounceTime.d.ts create mode 100644 node_modules/rxjs/operators/debounceTime.js create mode 100644 node_modules/rxjs/operators/debounceTime.js.map create mode 100644 node_modules/rxjs/operators/defaultIfEmpty.d.ts create mode 100644 node_modules/rxjs/operators/defaultIfEmpty.js create mode 100644 node_modules/rxjs/operators/defaultIfEmpty.js.map create mode 100644 node_modules/rxjs/operators/delay.d.ts create mode 100644 node_modules/rxjs/operators/delay.js create mode 100644 node_modules/rxjs/operators/delay.js.map create mode 100644 node_modules/rxjs/operators/delayWhen.d.ts create mode 100644 node_modules/rxjs/operators/delayWhen.js create mode 100644 node_modules/rxjs/operators/delayWhen.js.map create mode 100644 node_modules/rxjs/operators/dematerialize.d.ts create mode 100644 node_modules/rxjs/operators/dematerialize.js create mode 100644 node_modules/rxjs/operators/dematerialize.js.map create mode 100644 node_modules/rxjs/operators/distinct.d.ts create mode 100644 node_modules/rxjs/operators/distinct.js create mode 100644 node_modules/rxjs/operators/distinct.js.map create mode 100644 node_modules/rxjs/operators/distinctUntilChanged.d.ts create mode 100644 node_modules/rxjs/operators/distinctUntilChanged.js create mode 100644 node_modules/rxjs/operators/distinctUntilChanged.js.map create mode 100644 node_modules/rxjs/operators/distinctUntilKeyChanged.d.ts create mode 100644 node_modules/rxjs/operators/distinctUntilKeyChanged.js create mode 100644 node_modules/rxjs/operators/distinctUntilKeyChanged.js.map create mode 100644 node_modules/rxjs/operators/elementAt.d.ts create mode 100644 node_modules/rxjs/operators/elementAt.js create mode 100644 node_modules/rxjs/operators/elementAt.js.map create mode 100644 node_modules/rxjs/operators/every.d.ts create mode 100644 node_modules/rxjs/operators/every.js create mode 100644 node_modules/rxjs/operators/every.js.map create mode 100644 node_modules/rxjs/operators/exhaust.d.ts create mode 100644 node_modules/rxjs/operators/exhaust.js create mode 100644 node_modules/rxjs/operators/exhaust.js.map create mode 100644 node_modules/rxjs/operators/exhaustMap.d.ts create mode 100644 node_modules/rxjs/operators/exhaustMap.js create mode 100644 node_modules/rxjs/operators/exhaustMap.js.map create mode 100644 node_modules/rxjs/operators/expand.d.ts create mode 100644 node_modules/rxjs/operators/expand.js create mode 100644 node_modules/rxjs/operators/expand.js.map create mode 100644 node_modules/rxjs/operators/filter.d.ts create mode 100644 node_modules/rxjs/operators/filter.js create mode 100644 node_modules/rxjs/operators/filter.js.map create mode 100644 node_modules/rxjs/operators/finalize.d.ts create mode 100644 node_modules/rxjs/operators/finalize.js create mode 100644 node_modules/rxjs/operators/finalize.js.map create mode 100644 node_modules/rxjs/operators/find.d.ts create mode 100644 node_modules/rxjs/operators/find.js create mode 100644 node_modules/rxjs/operators/find.js.map create mode 100644 node_modules/rxjs/operators/findIndex.d.ts create mode 100644 node_modules/rxjs/operators/findIndex.js create mode 100644 node_modules/rxjs/operators/findIndex.js.map create mode 100644 node_modules/rxjs/operators/first.d.ts create mode 100644 node_modules/rxjs/operators/first.js create mode 100644 node_modules/rxjs/operators/first.js.map create mode 100644 node_modules/rxjs/operators/groupBy.d.ts create mode 100644 node_modules/rxjs/operators/groupBy.js create mode 100644 node_modules/rxjs/operators/groupBy.js.map create mode 100644 node_modules/rxjs/operators/ignoreElements.d.ts create mode 100644 node_modules/rxjs/operators/ignoreElements.js create mode 100644 node_modules/rxjs/operators/ignoreElements.js.map create mode 100644 node_modules/rxjs/operators/isEmpty.d.ts create mode 100644 node_modules/rxjs/operators/isEmpty.js create mode 100644 node_modules/rxjs/operators/isEmpty.js.map create mode 100644 node_modules/rxjs/operators/last.d.ts create mode 100644 node_modules/rxjs/operators/last.js create mode 100644 node_modules/rxjs/operators/last.js.map create mode 100644 node_modules/rxjs/operators/map.d.ts create mode 100644 node_modules/rxjs/operators/map.js create mode 100644 node_modules/rxjs/operators/map.js.map create mode 100644 node_modules/rxjs/operators/mapTo.d.ts create mode 100644 node_modules/rxjs/operators/mapTo.js create mode 100644 node_modules/rxjs/operators/mapTo.js.map create mode 100644 node_modules/rxjs/operators/materialize.d.ts create mode 100644 node_modules/rxjs/operators/materialize.js create mode 100644 node_modules/rxjs/operators/materialize.js.map create mode 100644 node_modules/rxjs/operators/max.d.ts create mode 100644 node_modules/rxjs/operators/max.js create mode 100644 node_modules/rxjs/operators/max.js.map create mode 100644 node_modules/rxjs/operators/merge.d.ts create mode 100644 node_modules/rxjs/operators/merge.js create mode 100644 node_modules/rxjs/operators/merge.js.map create mode 100644 node_modules/rxjs/operators/mergeAll.d.ts create mode 100644 node_modules/rxjs/operators/mergeAll.js create mode 100644 node_modules/rxjs/operators/mergeAll.js.map create mode 100644 node_modules/rxjs/operators/mergeMap.d.ts create mode 100644 node_modules/rxjs/operators/mergeMap.js create mode 100644 node_modules/rxjs/operators/mergeMap.js.map create mode 100644 node_modules/rxjs/operators/mergeMapTo.d.ts create mode 100644 node_modules/rxjs/operators/mergeMapTo.js create mode 100644 node_modules/rxjs/operators/mergeMapTo.js.map create mode 100644 node_modules/rxjs/operators/mergeScan.d.ts create mode 100644 node_modules/rxjs/operators/mergeScan.js create mode 100644 node_modules/rxjs/operators/mergeScan.js.map create mode 100644 node_modules/rxjs/operators/min.d.ts create mode 100644 node_modules/rxjs/operators/min.js create mode 100644 node_modules/rxjs/operators/min.js.map create mode 100644 node_modules/rxjs/operators/multicast.d.ts create mode 100644 node_modules/rxjs/operators/multicast.js create mode 100644 node_modules/rxjs/operators/multicast.js.map create mode 100644 node_modules/rxjs/operators/observeOn.d.ts create mode 100644 node_modules/rxjs/operators/observeOn.js create mode 100644 node_modules/rxjs/operators/observeOn.js.map create mode 100644 node_modules/rxjs/operators/onErrorResumeNext.d.ts create mode 100644 node_modules/rxjs/operators/onErrorResumeNext.js create mode 100644 node_modules/rxjs/operators/onErrorResumeNext.js.map create mode 100644 node_modules/rxjs/operators/pairwise.d.ts create mode 100644 node_modules/rxjs/operators/pairwise.js create mode 100644 node_modules/rxjs/operators/pairwise.js.map create mode 100644 node_modules/rxjs/operators/partition.d.ts create mode 100644 node_modules/rxjs/operators/partition.js create mode 100644 node_modules/rxjs/operators/partition.js.map create mode 100644 node_modules/rxjs/operators/pluck.d.ts create mode 100644 node_modules/rxjs/operators/pluck.js create mode 100644 node_modules/rxjs/operators/pluck.js.map create mode 100644 node_modules/rxjs/operators/publish.d.ts create mode 100644 node_modules/rxjs/operators/publish.js create mode 100644 node_modules/rxjs/operators/publish.js.map create mode 100644 node_modules/rxjs/operators/publishBehavior.d.ts create mode 100644 node_modules/rxjs/operators/publishBehavior.js create mode 100644 node_modules/rxjs/operators/publishBehavior.js.map create mode 100644 node_modules/rxjs/operators/publishLast.d.ts create mode 100644 node_modules/rxjs/operators/publishLast.js create mode 100644 node_modules/rxjs/operators/publishLast.js.map create mode 100644 node_modules/rxjs/operators/publishReplay.d.ts create mode 100644 node_modules/rxjs/operators/publishReplay.js create mode 100644 node_modules/rxjs/operators/publishReplay.js.map create mode 100644 node_modules/rxjs/operators/race.d.ts create mode 100644 node_modules/rxjs/operators/race.js create mode 100644 node_modules/rxjs/operators/race.js.map create mode 100644 node_modules/rxjs/operators/reduce.d.ts create mode 100644 node_modules/rxjs/operators/reduce.js create mode 100644 node_modules/rxjs/operators/reduce.js.map create mode 100644 node_modules/rxjs/operators/refCount.d.ts create mode 100644 node_modules/rxjs/operators/refCount.js create mode 100644 node_modules/rxjs/operators/refCount.js.map create mode 100644 node_modules/rxjs/operators/repeat.d.ts create mode 100644 node_modules/rxjs/operators/repeat.js create mode 100644 node_modules/rxjs/operators/repeat.js.map create mode 100644 node_modules/rxjs/operators/repeatWhen.d.ts create mode 100644 node_modules/rxjs/operators/repeatWhen.js create mode 100644 node_modules/rxjs/operators/repeatWhen.js.map create mode 100644 node_modules/rxjs/operators/retry.d.ts create mode 100644 node_modules/rxjs/operators/retry.js create mode 100644 node_modules/rxjs/operators/retry.js.map create mode 100644 node_modules/rxjs/operators/retryWhen.d.ts create mode 100644 node_modules/rxjs/operators/retryWhen.js create mode 100644 node_modules/rxjs/operators/retryWhen.js.map create mode 100644 node_modules/rxjs/operators/sample.d.ts create mode 100644 node_modules/rxjs/operators/sample.js create mode 100644 node_modules/rxjs/operators/sample.js.map create mode 100644 node_modules/rxjs/operators/sampleTime.d.ts create mode 100644 node_modules/rxjs/operators/sampleTime.js create mode 100644 node_modules/rxjs/operators/sampleTime.js.map create mode 100644 node_modules/rxjs/operators/scan.d.ts create mode 100644 node_modules/rxjs/operators/scan.js create mode 100644 node_modules/rxjs/operators/scan.js.map create mode 100644 node_modules/rxjs/operators/sequenceEqual.d.ts create mode 100644 node_modules/rxjs/operators/sequenceEqual.js create mode 100644 node_modules/rxjs/operators/sequenceEqual.js.map create mode 100644 node_modules/rxjs/operators/share.d.ts create mode 100644 node_modules/rxjs/operators/share.js create mode 100644 node_modules/rxjs/operators/share.js.map create mode 100644 node_modules/rxjs/operators/shareReplay.d.ts create mode 100644 node_modules/rxjs/operators/shareReplay.js create mode 100644 node_modules/rxjs/operators/shareReplay.js.map create mode 100644 node_modules/rxjs/operators/single.d.ts create mode 100644 node_modules/rxjs/operators/single.js create mode 100644 node_modules/rxjs/operators/single.js.map create mode 100644 node_modules/rxjs/operators/skip.d.ts create mode 100644 node_modules/rxjs/operators/skip.js create mode 100644 node_modules/rxjs/operators/skip.js.map create mode 100644 node_modules/rxjs/operators/skipLast.d.ts create mode 100644 node_modules/rxjs/operators/skipLast.js create mode 100644 node_modules/rxjs/operators/skipLast.js.map create mode 100644 node_modules/rxjs/operators/skipUntil.d.ts create mode 100644 node_modules/rxjs/operators/skipUntil.js create mode 100644 node_modules/rxjs/operators/skipUntil.js.map create mode 100644 node_modules/rxjs/operators/skipWhile.d.ts create mode 100644 node_modules/rxjs/operators/skipWhile.js create mode 100644 node_modules/rxjs/operators/skipWhile.js.map create mode 100644 node_modules/rxjs/operators/startWith.d.ts create mode 100644 node_modules/rxjs/operators/startWith.js create mode 100644 node_modules/rxjs/operators/startWith.js.map create mode 100644 node_modules/rxjs/operators/subscribeOn.d.ts create mode 100644 node_modules/rxjs/operators/subscribeOn.js create mode 100644 node_modules/rxjs/operators/subscribeOn.js.map create mode 100644 node_modules/rxjs/operators/switchAll.d.ts create mode 100644 node_modules/rxjs/operators/switchAll.js create mode 100644 node_modules/rxjs/operators/switchAll.js.map create mode 100644 node_modules/rxjs/operators/switchMap.d.ts create mode 100644 node_modules/rxjs/operators/switchMap.js create mode 100644 node_modules/rxjs/operators/switchMap.js.map create mode 100644 node_modules/rxjs/operators/switchMapTo.d.ts create mode 100644 node_modules/rxjs/operators/switchMapTo.js create mode 100644 node_modules/rxjs/operators/switchMapTo.js.map create mode 100644 node_modules/rxjs/operators/take.d.ts create mode 100644 node_modules/rxjs/operators/take.js create mode 100644 node_modules/rxjs/operators/take.js.map create mode 100644 node_modules/rxjs/operators/takeLast.d.ts create mode 100644 node_modules/rxjs/operators/takeLast.js create mode 100644 node_modules/rxjs/operators/takeLast.js.map create mode 100644 node_modules/rxjs/operators/takeUntil.d.ts create mode 100644 node_modules/rxjs/operators/takeUntil.js create mode 100644 node_modules/rxjs/operators/takeUntil.js.map create mode 100644 node_modules/rxjs/operators/takeWhile.d.ts create mode 100644 node_modules/rxjs/operators/takeWhile.js create mode 100644 node_modules/rxjs/operators/takeWhile.js.map create mode 100644 node_modules/rxjs/operators/tap.d.ts create mode 100644 node_modules/rxjs/operators/tap.js create mode 100644 node_modules/rxjs/operators/tap.js.map create mode 100644 node_modules/rxjs/operators/throttle.d.ts create mode 100644 node_modules/rxjs/operators/throttle.js create mode 100644 node_modules/rxjs/operators/throttle.js.map create mode 100644 node_modules/rxjs/operators/throttleTime.d.ts create mode 100644 node_modules/rxjs/operators/throttleTime.js create mode 100644 node_modules/rxjs/operators/throttleTime.js.map create mode 100644 node_modules/rxjs/operators/timeInterval.d.ts create mode 100644 node_modules/rxjs/operators/timeInterval.js create mode 100644 node_modules/rxjs/operators/timeInterval.js.map create mode 100644 node_modules/rxjs/operators/timeout.d.ts create mode 100644 node_modules/rxjs/operators/timeout.js create mode 100644 node_modules/rxjs/operators/timeout.js.map create mode 100644 node_modules/rxjs/operators/timeoutWith.d.ts create mode 100644 node_modules/rxjs/operators/timeoutWith.js create mode 100644 node_modules/rxjs/operators/timeoutWith.js.map create mode 100644 node_modules/rxjs/operators/timestamp.d.ts create mode 100644 node_modules/rxjs/operators/timestamp.js create mode 100644 node_modules/rxjs/operators/timestamp.js.map create mode 100644 node_modules/rxjs/operators/toArray.d.ts create mode 100644 node_modules/rxjs/operators/toArray.js create mode 100644 node_modules/rxjs/operators/toArray.js.map create mode 100644 node_modules/rxjs/operators/window.d.ts create mode 100644 node_modules/rxjs/operators/window.js create mode 100644 node_modules/rxjs/operators/window.js.map create mode 100644 node_modules/rxjs/operators/windowCount.d.ts create mode 100644 node_modules/rxjs/operators/windowCount.js create mode 100644 node_modules/rxjs/operators/windowCount.js.map create mode 100644 node_modules/rxjs/operators/windowTime.d.ts create mode 100644 node_modules/rxjs/operators/windowTime.js create mode 100644 node_modules/rxjs/operators/windowTime.js.map create mode 100644 node_modules/rxjs/operators/windowToggle.d.ts create mode 100644 node_modules/rxjs/operators/windowToggle.js create mode 100644 node_modules/rxjs/operators/windowToggle.js.map create mode 100644 node_modules/rxjs/operators/windowWhen.d.ts create mode 100644 node_modules/rxjs/operators/windowWhen.js create mode 100644 node_modules/rxjs/operators/windowWhen.js.map create mode 100644 node_modules/rxjs/operators/withLatestFrom.d.ts create mode 100644 node_modules/rxjs/operators/withLatestFrom.js create mode 100644 node_modules/rxjs/operators/withLatestFrom.js.map create mode 100644 node_modules/rxjs/operators/zip.d.ts create mode 100644 node_modules/rxjs/operators/zip.js create mode 100644 node_modules/rxjs/operators/zip.js.map create mode 100644 node_modules/rxjs/operators/zipAll.d.ts create mode 100644 node_modules/rxjs/operators/zipAll.js create mode 100644 node_modules/rxjs/operators/zipAll.js.map create mode 100644 node_modules/rxjs/package.json create mode 100644 node_modules/rxjs/scheduler/Action.d.ts create mode 100644 node_modules/rxjs/scheduler/Action.js create mode 100644 node_modules/rxjs/scheduler/Action.js.map create mode 100644 node_modules/rxjs/scheduler/AnimationFrameAction.d.ts create mode 100644 node_modules/rxjs/scheduler/AnimationFrameAction.js create mode 100644 node_modules/rxjs/scheduler/AnimationFrameAction.js.map create mode 100644 node_modules/rxjs/scheduler/AnimationFrameScheduler.d.ts create mode 100644 node_modules/rxjs/scheduler/AnimationFrameScheduler.js create mode 100644 node_modules/rxjs/scheduler/AnimationFrameScheduler.js.map create mode 100644 node_modules/rxjs/scheduler/AsapAction.d.ts create mode 100644 node_modules/rxjs/scheduler/AsapAction.js create mode 100644 node_modules/rxjs/scheduler/AsapAction.js.map create mode 100644 node_modules/rxjs/scheduler/AsapScheduler.d.ts create mode 100644 node_modules/rxjs/scheduler/AsapScheduler.js create mode 100644 node_modules/rxjs/scheduler/AsapScheduler.js.map create mode 100644 node_modules/rxjs/scheduler/AsyncAction.d.ts create mode 100644 node_modules/rxjs/scheduler/AsyncAction.js create mode 100644 node_modules/rxjs/scheduler/AsyncAction.js.map create mode 100644 node_modules/rxjs/scheduler/AsyncScheduler.d.ts create mode 100644 node_modules/rxjs/scheduler/AsyncScheduler.js create mode 100644 node_modules/rxjs/scheduler/AsyncScheduler.js.map create mode 100644 node_modules/rxjs/scheduler/QueueAction.d.ts create mode 100644 node_modules/rxjs/scheduler/QueueAction.js create mode 100644 node_modules/rxjs/scheduler/QueueAction.js.map create mode 100644 node_modules/rxjs/scheduler/QueueScheduler.d.ts create mode 100644 node_modules/rxjs/scheduler/QueueScheduler.js create mode 100644 node_modules/rxjs/scheduler/QueueScheduler.js.map create mode 100644 node_modules/rxjs/scheduler/VirtualTimeScheduler.d.ts create mode 100644 node_modules/rxjs/scheduler/VirtualTimeScheduler.js create mode 100644 node_modules/rxjs/scheduler/VirtualTimeScheduler.js.map create mode 100644 node_modules/rxjs/scheduler/animationFrame.d.ts create mode 100644 node_modules/rxjs/scheduler/animationFrame.js create mode 100644 node_modules/rxjs/scheduler/animationFrame.js.map create mode 100644 node_modules/rxjs/scheduler/asap.d.ts create mode 100644 node_modules/rxjs/scheduler/asap.js create mode 100644 node_modules/rxjs/scheduler/asap.js.map create mode 100644 node_modules/rxjs/scheduler/async.d.ts create mode 100644 node_modules/rxjs/scheduler/async.js create mode 100644 node_modules/rxjs/scheduler/async.js.map create mode 100644 node_modules/rxjs/scheduler/queue.d.ts create mode 100644 node_modules/rxjs/scheduler/queue.js create mode 100644 node_modules/rxjs/scheduler/queue.js.map create mode 100644 node_modules/rxjs/src/AsyncSubject.ts create mode 100644 node_modules/rxjs/src/BUILD.bazel create mode 100644 node_modules/rxjs/src/BehaviorSubject.ts create mode 100644 node_modules/rxjs/src/InnerSubscriber.ts create mode 100644 node_modules/rxjs/src/LICENSE.txt create mode 100644 node_modules/rxjs/src/MiscJSDoc.ts create mode 100644 node_modules/rxjs/src/Notification.ts create mode 100644 node_modules/rxjs/src/Observable.ts create mode 100644 node_modules/rxjs/src/Observer.ts create mode 100644 node_modules/rxjs/src/Operator.ts create mode 100644 node_modules/rxjs/src/OuterSubscriber.ts create mode 100644 node_modules/rxjs/src/README.md create mode 100644 node_modules/rxjs/src/ReplaySubject.ts create mode 100644 node_modules/rxjs/src/Rx.global.js create mode 100644 node_modules/rxjs/src/Rx.ts create mode 100644 node_modules/rxjs/src/Scheduler.ts create mode 100644 node_modules/rxjs/src/Subject.ts create mode 100644 node_modules/rxjs/src/SubjectSubscription.ts create mode 100644 node_modules/rxjs/src/Subscriber.ts create mode 100644 node_modules/rxjs/src/Subscription.ts create mode 100644 node_modules/rxjs/src/WORKSPACE create mode 100644 node_modules/rxjs/src/add/observable/bindCallback.ts create mode 100644 node_modules/rxjs/src/add/observable/bindNodeCallback.ts create mode 100644 node_modules/rxjs/src/add/observable/combineLatest.ts create mode 100644 node_modules/rxjs/src/add/observable/concat.ts create mode 100644 node_modules/rxjs/src/add/observable/defer.ts create mode 100644 node_modules/rxjs/src/add/observable/dom/ajax.ts create mode 100644 node_modules/rxjs/src/add/observable/dom/webSocket.ts create mode 100644 node_modules/rxjs/src/add/observable/empty.ts create mode 100644 node_modules/rxjs/src/add/observable/forkJoin.ts create mode 100644 node_modules/rxjs/src/add/observable/from.ts create mode 100644 node_modules/rxjs/src/add/observable/fromEvent.ts create mode 100644 node_modules/rxjs/src/add/observable/fromEventPattern.ts create mode 100644 node_modules/rxjs/src/add/observable/fromPromise.ts create mode 100644 node_modules/rxjs/src/add/observable/generate.ts create mode 100644 node_modules/rxjs/src/add/observable/if.ts create mode 100644 node_modules/rxjs/src/add/observable/interval.ts create mode 100644 node_modules/rxjs/src/add/observable/merge.ts create mode 100644 node_modules/rxjs/src/add/observable/never.ts create mode 100644 node_modules/rxjs/src/add/observable/of.ts create mode 100644 node_modules/rxjs/src/add/observable/onErrorResumeNext.ts create mode 100644 node_modules/rxjs/src/add/observable/pairs.ts create mode 100644 node_modules/rxjs/src/add/observable/race.ts create mode 100644 node_modules/rxjs/src/add/observable/range.ts create mode 100644 node_modules/rxjs/src/add/observable/throw.ts create mode 100644 node_modules/rxjs/src/add/observable/timer.ts create mode 100644 node_modules/rxjs/src/add/observable/using.ts create mode 100644 node_modules/rxjs/src/add/observable/zip.ts create mode 100644 node_modules/rxjs/src/add/operator/audit.ts create mode 100644 node_modules/rxjs/src/add/operator/auditTime.ts create mode 100644 node_modules/rxjs/src/add/operator/buffer.ts create mode 100644 node_modules/rxjs/src/add/operator/bufferCount.ts create mode 100644 node_modules/rxjs/src/add/operator/bufferTime.ts create mode 100644 node_modules/rxjs/src/add/operator/bufferToggle.ts create mode 100644 node_modules/rxjs/src/add/operator/bufferWhen.ts create mode 100644 node_modules/rxjs/src/add/operator/catch.ts create mode 100644 node_modules/rxjs/src/add/operator/combineAll.ts create mode 100644 node_modules/rxjs/src/add/operator/combineLatest.ts create mode 100644 node_modules/rxjs/src/add/operator/concat.ts create mode 100644 node_modules/rxjs/src/add/operator/concatAll.ts create mode 100644 node_modules/rxjs/src/add/operator/concatMap.ts create mode 100644 node_modules/rxjs/src/add/operator/concatMapTo.ts create mode 100644 node_modules/rxjs/src/add/operator/count.ts create mode 100644 node_modules/rxjs/src/add/operator/debounce.ts create mode 100644 node_modules/rxjs/src/add/operator/debounceTime.ts create mode 100644 node_modules/rxjs/src/add/operator/defaultIfEmpty.ts create mode 100644 node_modules/rxjs/src/add/operator/delay.ts create mode 100644 node_modules/rxjs/src/add/operator/delayWhen.ts create mode 100644 node_modules/rxjs/src/add/operator/dematerialize.ts create mode 100644 node_modules/rxjs/src/add/operator/distinct.ts create mode 100644 node_modules/rxjs/src/add/operator/distinctUntilChanged.ts create mode 100644 node_modules/rxjs/src/add/operator/distinctUntilKeyChanged.ts create mode 100644 node_modules/rxjs/src/add/operator/do.ts create mode 100644 node_modules/rxjs/src/add/operator/elementAt.ts create mode 100644 node_modules/rxjs/src/add/operator/every.ts create mode 100644 node_modules/rxjs/src/add/operator/exhaust.ts create mode 100644 node_modules/rxjs/src/add/operator/exhaustMap.ts create mode 100644 node_modules/rxjs/src/add/operator/expand.ts create mode 100644 node_modules/rxjs/src/add/operator/filter.ts create mode 100644 node_modules/rxjs/src/add/operator/finally.ts create mode 100644 node_modules/rxjs/src/add/operator/find.ts create mode 100644 node_modules/rxjs/src/add/operator/findIndex.ts create mode 100644 node_modules/rxjs/src/add/operator/first.ts create mode 100644 node_modules/rxjs/src/add/operator/groupBy.ts create mode 100644 node_modules/rxjs/src/add/operator/ignoreElements.ts create mode 100644 node_modules/rxjs/src/add/operator/isEmpty.ts create mode 100644 node_modules/rxjs/src/add/operator/last.ts create mode 100644 node_modules/rxjs/src/add/operator/let.ts create mode 100644 node_modules/rxjs/src/add/operator/map.ts create mode 100644 node_modules/rxjs/src/add/operator/mapTo.ts create mode 100644 node_modules/rxjs/src/add/operator/materialize.ts create mode 100644 node_modules/rxjs/src/add/operator/max.ts create mode 100644 node_modules/rxjs/src/add/operator/merge.ts create mode 100644 node_modules/rxjs/src/add/operator/mergeAll.ts create mode 100644 node_modules/rxjs/src/add/operator/mergeMap.ts create mode 100644 node_modules/rxjs/src/add/operator/mergeMapTo.ts create mode 100644 node_modules/rxjs/src/add/operator/mergeScan.ts create mode 100644 node_modules/rxjs/src/add/operator/min.ts create mode 100644 node_modules/rxjs/src/add/operator/multicast.ts create mode 100644 node_modules/rxjs/src/add/operator/observeOn.ts create mode 100644 node_modules/rxjs/src/add/operator/onErrorResumeNext.ts create mode 100644 node_modules/rxjs/src/add/operator/pairwise.ts create mode 100644 node_modules/rxjs/src/add/operator/partition.ts create mode 100644 node_modules/rxjs/src/add/operator/pluck.ts create mode 100644 node_modules/rxjs/src/add/operator/publish.ts create mode 100644 node_modules/rxjs/src/add/operator/publishBehavior.ts create mode 100644 node_modules/rxjs/src/add/operator/publishLast.ts create mode 100644 node_modules/rxjs/src/add/operator/publishReplay.ts create mode 100644 node_modules/rxjs/src/add/operator/race.ts create mode 100644 node_modules/rxjs/src/add/operator/reduce.ts create mode 100644 node_modules/rxjs/src/add/operator/repeat.ts create mode 100644 node_modules/rxjs/src/add/operator/repeatWhen.ts create mode 100644 node_modules/rxjs/src/add/operator/retry.ts create mode 100644 node_modules/rxjs/src/add/operator/retryWhen.ts create mode 100644 node_modules/rxjs/src/add/operator/sample.ts create mode 100644 node_modules/rxjs/src/add/operator/sampleTime.ts create mode 100644 node_modules/rxjs/src/add/operator/scan.ts create mode 100644 node_modules/rxjs/src/add/operator/sequenceEqual.ts create mode 100644 node_modules/rxjs/src/add/operator/share.ts create mode 100644 node_modules/rxjs/src/add/operator/shareReplay.ts create mode 100644 node_modules/rxjs/src/add/operator/single.ts create mode 100644 node_modules/rxjs/src/add/operator/skip.ts create mode 100644 node_modules/rxjs/src/add/operator/skipLast.ts create mode 100644 node_modules/rxjs/src/add/operator/skipUntil.ts create mode 100644 node_modules/rxjs/src/add/operator/skipWhile.ts create mode 100644 node_modules/rxjs/src/add/operator/startWith.ts create mode 100644 node_modules/rxjs/src/add/operator/subscribeOn.ts create mode 100644 node_modules/rxjs/src/add/operator/switch.ts create mode 100644 node_modules/rxjs/src/add/operator/switchMap.ts create mode 100644 node_modules/rxjs/src/add/operator/switchMapTo.ts create mode 100644 node_modules/rxjs/src/add/operator/take.ts create mode 100644 node_modules/rxjs/src/add/operator/takeLast.ts create mode 100644 node_modules/rxjs/src/add/operator/takeUntil.ts create mode 100644 node_modules/rxjs/src/add/operator/takeWhile.ts create mode 100644 node_modules/rxjs/src/add/operator/throttle.ts create mode 100644 node_modules/rxjs/src/add/operator/throttleTime.ts create mode 100644 node_modules/rxjs/src/add/operator/timeInterval.ts create mode 100644 node_modules/rxjs/src/add/operator/timeout.ts create mode 100644 node_modules/rxjs/src/add/operator/timeoutWith.ts create mode 100644 node_modules/rxjs/src/add/operator/timestamp.ts create mode 100644 node_modules/rxjs/src/add/operator/toArray.ts create mode 100644 node_modules/rxjs/src/add/operator/toPromise.ts create mode 100644 node_modules/rxjs/src/add/operator/window.ts create mode 100644 node_modules/rxjs/src/add/operator/windowCount.ts create mode 100644 node_modules/rxjs/src/add/operator/windowTime.ts create mode 100644 node_modules/rxjs/src/add/operator/windowToggle.ts create mode 100644 node_modules/rxjs/src/add/operator/windowWhen.ts create mode 100644 node_modules/rxjs/src/add/operator/withLatestFrom.ts create mode 100644 node_modules/rxjs/src/add/operator/zip.ts create mode 100644 node_modules/rxjs/src/add/operator/zipAll.ts create mode 100644 node_modules/rxjs/src/interfaces.ts create mode 100644 node_modules/rxjs/src/observable/ArrayLikeObservable.ts create mode 100644 node_modules/rxjs/src/observable/ArrayObservable.ts create mode 100644 node_modules/rxjs/src/observable/BoundCallbackObservable.ts create mode 100644 node_modules/rxjs/src/observable/BoundNodeCallbackObservable.ts create mode 100644 node_modules/rxjs/src/observable/ConnectableObservable.ts create mode 100644 node_modules/rxjs/src/observable/DeferObservable.ts create mode 100644 node_modules/rxjs/src/observable/EmptyObservable.ts create mode 100644 node_modules/rxjs/src/observable/ErrorObservable.ts create mode 100644 node_modules/rxjs/src/observable/ForkJoinObservable.ts create mode 100644 node_modules/rxjs/src/observable/FromEventObservable.ts create mode 100644 node_modules/rxjs/src/observable/FromEventPatternObservable.ts create mode 100644 node_modules/rxjs/src/observable/FromObservable.ts create mode 100644 node_modules/rxjs/src/observable/GenerateObservable.ts create mode 100644 node_modules/rxjs/src/observable/IfObservable.ts create mode 100644 node_modules/rxjs/src/observable/IntervalObservable.ts create mode 100644 node_modules/rxjs/src/observable/IteratorObservable.ts create mode 100644 node_modules/rxjs/src/observable/NeverObservable.ts create mode 100644 node_modules/rxjs/src/observable/PairsObservable.ts create mode 100644 node_modules/rxjs/src/observable/PromiseObservable.ts create mode 100644 node_modules/rxjs/src/observable/RangeObservable.ts create mode 100644 node_modules/rxjs/src/observable/ScalarObservable.ts create mode 100644 node_modules/rxjs/src/observable/SubscribeOnObservable.ts create mode 100644 node_modules/rxjs/src/observable/TimerObservable.ts create mode 100644 node_modules/rxjs/src/observable/UsingObservable.ts create mode 100644 node_modules/rxjs/src/observable/bindCallback.ts create mode 100644 node_modules/rxjs/src/observable/bindNodeCallback.ts create mode 100644 node_modules/rxjs/src/observable/combineLatest.ts create mode 100644 node_modules/rxjs/src/observable/concat.ts create mode 100644 node_modules/rxjs/src/observable/defer.ts create mode 100644 node_modules/rxjs/src/observable/dom/AjaxObservable.ts create mode 100644 node_modules/rxjs/src/observable/dom/MiscJSDoc.ts create mode 100644 node_modules/rxjs/src/observable/dom/WebSocketSubject.ts create mode 100644 node_modules/rxjs/src/observable/dom/ajax.ts create mode 100644 node_modules/rxjs/src/observable/dom/webSocket.ts create mode 100644 node_modules/rxjs/src/observable/empty.ts create mode 100644 node_modules/rxjs/src/observable/forkJoin.ts create mode 100644 node_modules/rxjs/src/observable/from.ts create mode 100644 node_modules/rxjs/src/observable/fromEvent.ts create mode 100644 node_modules/rxjs/src/observable/fromEventPattern.ts create mode 100644 node_modules/rxjs/src/observable/fromPromise.ts create mode 100644 node_modules/rxjs/src/observable/generate.ts create mode 100644 node_modules/rxjs/src/observable/if.ts create mode 100644 node_modules/rxjs/src/observable/interval.ts create mode 100644 node_modules/rxjs/src/observable/merge.ts create mode 100644 node_modules/rxjs/src/observable/never.ts create mode 100644 node_modules/rxjs/src/observable/of.ts create mode 100644 node_modules/rxjs/src/observable/onErrorResumeNext.ts create mode 100644 node_modules/rxjs/src/observable/pairs.ts create mode 100644 node_modules/rxjs/src/observable/race.ts create mode 100644 node_modules/rxjs/src/observable/range.ts create mode 100644 node_modules/rxjs/src/observable/throw.ts create mode 100644 node_modules/rxjs/src/observable/timer.ts create mode 100644 node_modules/rxjs/src/observable/using.ts create mode 100644 node_modules/rxjs/src/observable/zip.ts create mode 100644 node_modules/rxjs/src/operator/audit.ts create mode 100644 node_modules/rxjs/src/operator/auditTime.ts create mode 100644 node_modules/rxjs/src/operator/buffer.ts create mode 100644 node_modules/rxjs/src/operator/bufferCount.ts create mode 100644 node_modules/rxjs/src/operator/bufferTime.ts create mode 100644 node_modules/rxjs/src/operator/bufferToggle.ts create mode 100644 node_modules/rxjs/src/operator/bufferWhen.ts create mode 100644 node_modules/rxjs/src/operator/catch.ts create mode 100644 node_modules/rxjs/src/operator/combineAll.ts create mode 100644 node_modules/rxjs/src/operator/combineLatest.ts create mode 100644 node_modules/rxjs/src/operator/concat.ts create mode 100644 node_modules/rxjs/src/operator/concatAll.ts create mode 100644 node_modules/rxjs/src/operator/concatMap.ts create mode 100644 node_modules/rxjs/src/operator/concatMapTo.ts create mode 100644 node_modules/rxjs/src/operator/count.ts create mode 100644 node_modules/rxjs/src/operator/debounce.ts create mode 100644 node_modules/rxjs/src/operator/debounceTime.ts create mode 100644 node_modules/rxjs/src/operator/defaultIfEmpty.ts create mode 100644 node_modules/rxjs/src/operator/delay.ts create mode 100644 node_modules/rxjs/src/operator/delayWhen.ts create mode 100644 node_modules/rxjs/src/operator/dematerialize.ts create mode 100644 node_modules/rxjs/src/operator/distinct.ts create mode 100644 node_modules/rxjs/src/operator/distinctUntilChanged.ts create mode 100644 node_modules/rxjs/src/operator/distinctUntilKeyChanged.ts create mode 100644 node_modules/rxjs/src/operator/do.ts create mode 100644 node_modules/rxjs/src/operator/elementAt.ts create mode 100644 node_modules/rxjs/src/operator/every.ts create mode 100644 node_modules/rxjs/src/operator/exhaust.ts create mode 100644 node_modules/rxjs/src/operator/exhaustMap.ts create mode 100644 node_modules/rxjs/src/operator/expand.ts create mode 100644 node_modules/rxjs/src/operator/filter.ts create mode 100644 node_modules/rxjs/src/operator/finally.ts create mode 100644 node_modules/rxjs/src/operator/find.ts create mode 100644 node_modules/rxjs/src/operator/findIndex.ts create mode 100644 node_modules/rxjs/src/operator/first.ts create mode 100644 node_modules/rxjs/src/operator/groupBy.ts create mode 100644 node_modules/rxjs/src/operator/ignoreElements.ts create mode 100644 node_modules/rxjs/src/operator/isEmpty.ts create mode 100644 node_modules/rxjs/src/operator/last.ts create mode 100644 node_modules/rxjs/src/operator/let.ts create mode 100644 node_modules/rxjs/src/operator/map.ts create mode 100644 node_modules/rxjs/src/operator/mapTo.ts create mode 100644 node_modules/rxjs/src/operator/materialize.ts create mode 100644 node_modules/rxjs/src/operator/max.ts create mode 100644 node_modules/rxjs/src/operator/merge.ts create mode 100644 node_modules/rxjs/src/operator/mergeAll.ts create mode 100644 node_modules/rxjs/src/operator/mergeMap.ts create mode 100644 node_modules/rxjs/src/operator/mergeMapTo.ts create mode 100644 node_modules/rxjs/src/operator/mergeScan.ts create mode 100644 node_modules/rxjs/src/operator/min.ts create mode 100644 node_modules/rxjs/src/operator/multicast.ts create mode 100644 node_modules/rxjs/src/operator/observeOn.ts create mode 100644 node_modules/rxjs/src/operator/onErrorResumeNext.ts create mode 100644 node_modules/rxjs/src/operator/pairwise.ts create mode 100644 node_modules/rxjs/src/operator/partition.ts create mode 100644 node_modules/rxjs/src/operator/pluck.ts create mode 100644 node_modules/rxjs/src/operator/publish.ts create mode 100644 node_modules/rxjs/src/operator/publishBehavior.ts create mode 100644 node_modules/rxjs/src/operator/publishLast.ts create mode 100644 node_modules/rxjs/src/operator/publishReplay.ts create mode 100644 node_modules/rxjs/src/operator/race.ts create mode 100644 node_modules/rxjs/src/operator/reduce.ts create mode 100644 node_modules/rxjs/src/operator/repeat.ts create mode 100644 node_modules/rxjs/src/operator/repeatWhen.ts create mode 100644 node_modules/rxjs/src/operator/retry.ts create mode 100644 node_modules/rxjs/src/operator/retryWhen.ts create mode 100644 node_modules/rxjs/src/operator/sample.ts create mode 100644 node_modules/rxjs/src/operator/sampleTime.ts create mode 100644 node_modules/rxjs/src/operator/scan.ts create mode 100644 node_modules/rxjs/src/operator/sequenceEqual.ts create mode 100644 node_modules/rxjs/src/operator/share.ts create mode 100644 node_modules/rxjs/src/operator/shareReplay.ts create mode 100644 node_modules/rxjs/src/operator/single.ts create mode 100644 node_modules/rxjs/src/operator/skip.ts create mode 100644 node_modules/rxjs/src/operator/skipLast.ts create mode 100644 node_modules/rxjs/src/operator/skipUntil.ts create mode 100644 node_modules/rxjs/src/operator/skipWhile.ts create mode 100644 node_modules/rxjs/src/operator/startWith.ts create mode 100644 node_modules/rxjs/src/operator/subscribeOn.ts create mode 100644 node_modules/rxjs/src/operator/switch.ts create mode 100644 node_modules/rxjs/src/operator/switchMap.ts create mode 100644 node_modules/rxjs/src/operator/switchMapTo.ts create mode 100644 node_modules/rxjs/src/operator/take.ts create mode 100644 node_modules/rxjs/src/operator/takeLast.ts create mode 100644 node_modules/rxjs/src/operator/takeUntil.ts create mode 100644 node_modules/rxjs/src/operator/takeWhile.ts create mode 100644 node_modules/rxjs/src/operator/throttle.ts create mode 100644 node_modules/rxjs/src/operator/throttleTime.ts create mode 100644 node_modules/rxjs/src/operator/timeInterval.ts create mode 100644 node_modules/rxjs/src/operator/timeout.ts create mode 100644 node_modules/rxjs/src/operator/timeoutWith.ts create mode 100644 node_modules/rxjs/src/operator/timestamp.ts create mode 100644 node_modules/rxjs/src/operator/toArray.ts create mode 100644 node_modules/rxjs/src/operator/toPromise.ts create mode 100644 node_modules/rxjs/src/operator/window.ts create mode 100644 node_modules/rxjs/src/operator/windowCount.ts create mode 100644 node_modules/rxjs/src/operator/windowTime.ts create mode 100644 node_modules/rxjs/src/operator/windowToggle.ts create mode 100644 node_modules/rxjs/src/operator/windowWhen.ts create mode 100644 node_modules/rxjs/src/operator/withLatestFrom.ts create mode 100644 node_modules/rxjs/src/operator/zip.ts create mode 100644 node_modules/rxjs/src/operator/zipAll.ts create mode 100644 node_modules/rxjs/src/operators.ts create mode 100644 node_modules/rxjs/src/operators/audit.ts create mode 100644 node_modules/rxjs/src/operators/auditTime.ts create mode 100644 node_modules/rxjs/src/operators/buffer.ts create mode 100644 node_modules/rxjs/src/operators/bufferCount.ts create mode 100644 node_modules/rxjs/src/operators/bufferTime.ts create mode 100644 node_modules/rxjs/src/operators/bufferToggle.ts create mode 100644 node_modules/rxjs/src/operators/bufferWhen.ts create mode 100644 node_modules/rxjs/src/operators/catchError.ts create mode 100644 node_modules/rxjs/src/operators/combineAll.ts create mode 100644 node_modules/rxjs/src/operators/combineLatest.ts create mode 100644 node_modules/rxjs/src/operators/concat.ts create mode 100644 node_modules/rxjs/src/operators/concatAll.ts create mode 100644 node_modules/rxjs/src/operators/concatMap.ts create mode 100644 node_modules/rxjs/src/operators/concatMapTo.ts create mode 100644 node_modules/rxjs/src/operators/count.ts create mode 100644 node_modules/rxjs/src/operators/debounce.ts create mode 100644 node_modules/rxjs/src/operators/debounceTime.ts create mode 100644 node_modules/rxjs/src/operators/defaultIfEmpty.ts create mode 100644 node_modules/rxjs/src/operators/delay.ts create mode 100644 node_modules/rxjs/src/operators/delayWhen.ts create mode 100644 node_modules/rxjs/src/operators/dematerialize.ts create mode 100644 node_modules/rxjs/src/operators/distinct.ts create mode 100644 node_modules/rxjs/src/operators/distinctUntilChanged.ts create mode 100644 node_modules/rxjs/src/operators/distinctUntilKeyChanged.ts create mode 100644 node_modules/rxjs/src/operators/elementAt.ts create mode 100644 node_modules/rxjs/src/operators/every.ts create mode 100644 node_modules/rxjs/src/operators/exhaust.ts create mode 100644 node_modules/rxjs/src/operators/exhaustMap.ts create mode 100644 node_modules/rxjs/src/operators/expand.ts create mode 100644 node_modules/rxjs/src/operators/filter.ts create mode 100644 node_modules/rxjs/src/operators/finalize.ts create mode 100644 node_modules/rxjs/src/operators/find.ts create mode 100644 node_modules/rxjs/src/operators/findIndex.ts create mode 100644 node_modules/rxjs/src/operators/first.ts create mode 100644 node_modules/rxjs/src/operators/groupBy.ts create mode 100644 node_modules/rxjs/src/operators/ignoreElements.ts create mode 100644 node_modules/rxjs/src/operators/isEmpty.ts create mode 100644 node_modules/rxjs/src/operators/last.ts create mode 100644 node_modules/rxjs/src/operators/map.ts create mode 100644 node_modules/rxjs/src/operators/mapTo.ts create mode 100644 node_modules/rxjs/src/operators/materialize.ts create mode 100644 node_modules/rxjs/src/operators/max.ts create mode 100644 node_modules/rxjs/src/operators/merge.ts create mode 100644 node_modules/rxjs/src/operators/mergeAll.ts create mode 100644 node_modules/rxjs/src/operators/mergeMap.ts create mode 100644 node_modules/rxjs/src/operators/mergeMapTo.ts create mode 100644 node_modules/rxjs/src/operators/mergeScan.ts create mode 100644 node_modules/rxjs/src/operators/min.ts create mode 100644 node_modules/rxjs/src/operators/multicast.ts create mode 100644 node_modules/rxjs/src/operators/observeOn.ts create mode 100644 node_modules/rxjs/src/operators/onErrorResumeNext.ts create mode 100644 node_modules/rxjs/src/operators/pairwise.ts create mode 100644 node_modules/rxjs/src/operators/partition.ts create mode 100644 node_modules/rxjs/src/operators/pluck.ts create mode 100644 node_modules/rxjs/src/operators/publish.ts create mode 100644 node_modules/rxjs/src/operators/publishBehavior.ts create mode 100644 node_modules/rxjs/src/operators/publishLast.ts create mode 100644 node_modules/rxjs/src/operators/publishReplay.ts create mode 100644 node_modules/rxjs/src/operators/race.ts create mode 100644 node_modules/rxjs/src/operators/reduce.ts create mode 100644 node_modules/rxjs/src/operators/refCount.ts create mode 100644 node_modules/rxjs/src/operators/repeat.ts create mode 100644 node_modules/rxjs/src/operators/repeatWhen.ts create mode 100644 node_modules/rxjs/src/operators/retry.ts create mode 100644 node_modules/rxjs/src/operators/retryWhen.ts create mode 100644 node_modules/rxjs/src/operators/sample.ts create mode 100644 node_modules/rxjs/src/operators/sampleTime.ts create mode 100644 node_modules/rxjs/src/operators/scan.ts create mode 100644 node_modules/rxjs/src/operators/sequenceEqual.ts create mode 100644 node_modules/rxjs/src/operators/share.ts create mode 100644 node_modules/rxjs/src/operators/shareReplay.ts create mode 100644 node_modules/rxjs/src/operators/single.ts create mode 100644 node_modules/rxjs/src/operators/skip.ts create mode 100644 node_modules/rxjs/src/operators/skipLast.ts create mode 100644 node_modules/rxjs/src/operators/skipUntil.ts create mode 100644 node_modules/rxjs/src/operators/skipWhile.ts create mode 100644 node_modules/rxjs/src/operators/startWith.ts create mode 100644 node_modules/rxjs/src/operators/subscribeOn.ts create mode 100644 node_modules/rxjs/src/operators/switchAll.ts create mode 100644 node_modules/rxjs/src/operators/switchMap.ts create mode 100644 node_modules/rxjs/src/operators/switchMapTo.ts create mode 100644 node_modules/rxjs/src/operators/take.ts create mode 100644 node_modules/rxjs/src/operators/takeLast.ts create mode 100644 node_modules/rxjs/src/operators/takeUntil.ts create mode 100644 node_modules/rxjs/src/operators/takeWhile.ts create mode 100644 node_modules/rxjs/src/operators/tap.ts create mode 100644 node_modules/rxjs/src/operators/throttle.ts create mode 100644 node_modules/rxjs/src/operators/throttleTime.ts create mode 100644 node_modules/rxjs/src/operators/timeInterval.ts create mode 100644 node_modules/rxjs/src/operators/timeout.ts create mode 100644 node_modules/rxjs/src/operators/timeoutWith.ts create mode 100644 node_modules/rxjs/src/operators/timestamp.ts create mode 100644 node_modules/rxjs/src/operators/toArray.ts create mode 100644 node_modules/rxjs/src/operators/window.ts create mode 100644 node_modules/rxjs/src/operators/windowCount.ts create mode 100644 node_modules/rxjs/src/operators/windowTime.ts create mode 100644 node_modules/rxjs/src/operators/windowToggle.ts create mode 100644 node_modules/rxjs/src/operators/windowWhen.ts create mode 100644 node_modules/rxjs/src/operators/withLatestFrom.ts create mode 100644 node_modules/rxjs/src/operators/zip.ts create mode 100644 node_modules/rxjs/src/operators/zipAll.ts create mode 100644 node_modules/rxjs/src/scheduler/Action.ts create mode 100644 node_modules/rxjs/src/scheduler/AnimationFrameAction.ts create mode 100644 node_modules/rxjs/src/scheduler/AnimationFrameScheduler.ts create mode 100644 node_modules/rxjs/src/scheduler/AsapAction.ts create mode 100644 node_modules/rxjs/src/scheduler/AsapScheduler.ts create mode 100644 node_modules/rxjs/src/scheduler/AsyncAction.ts create mode 100644 node_modules/rxjs/src/scheduler/AsyncScheduler.ts create mode 100644 node_modules/rxjs/src/scheduler/QueueAction.ts create mode 100644 node_modules/rxjs/src/scheduler/QueueScheduler.ts create mode 100644 node_modules/rxjs/src/scheduler/VirtualTimeScheduler.ts create mode 100644 node_modules/rxjs/src/scheduler/animationFrame.ts create mode 100644 node_modules/rxjs/src/scheduler/asap.ts create mode 100644 node_modules/rxjs/src/scheduler/async.ts create mode 100644 node_modules/rxjs/src/scheduler/queue.ts create mode 100644 node_modules/rxjs/src/symbol/iterator.ts create mode 100644 node_modules/rxjs/src/symbol/observable.ts create mode 100644 node_modules/rxjs/src/symbol/rxSubscriber.ts create mode 100644 node_modules/rxjs/src/testing/ColdObservable.ts create mode 100644 node_modules/rxjs/src/testing/HotObservable.ts create mode 100644 node_modules/rxjs/src/testing/SubscriptionLog.ts create mode 100644 node_modules/rxjs/src/testing/SubscriptionLoggable.ts create mode 100644 node_modules/rxjs/src/testing/TestMessage.ts create mode 100644 node_modules/rxjs/src/testing/TestScheduler.ts create mode 100644 node_modules/rxjs/src/tsconfig.json create mode 100644 node_modules/rxjs/src/util/AnimationFrame.ts create mode 100644 node_modules/rxjs/src/util/ArgumentOutOfRangeError.ts create mode 100644 node_modules/rxjs/src/util/EmptyError.ts create mode 100644 node_modules/rxjs/src/util/FastMap.ts create mode 100644 node_modules/rxjs/src/util/Immediate.ts create mode 100644 node_modules/rxjs/src/util/Map.ts create mode 100644 node_modules/rxjs/src/util/MapPolyfill.ts create mode 100644 node_modules/rxjs/src/util/ObjectUnsubscribedError.ts create mode 100644 node_modules/rxjs/src/util/Set.ts create mode 100644 node_modules/rxjs/src/util/TimeoutError.ts create mode 100644 node_modules/rxjs/src/util/UnsubscriptionError.ts create mode 100644 node_modules/rxjs/src/util/applyMixins.ts create mode 100644 node_modules/rxjs/src/util/assign.ts create mode 100644 node_modules/rxjs/src/util/errorObject.ts create mode 100644 node_modules/rxjs/src/util/identity.ts create mode 100644 node_modules/rxjs/src/util/isArray.ts create mode 100644 node_modules/rxjs/src/util/isArrayLike.ts create mode 100644 node_modules/rxjs/src/util/isDate.ts create mode 100644 node_modules/rxjs/src/util/isFunction.ts create mode 100644 node_modules/rxjs/src/util/isNumeric.ts create mode 100644 node_modules/rxjs/src/util/isObject.ts create mode 100644 node_modules/rxjs/src/util/isPromise.ts create mode 100644 node_modules/rxjs/src/util/isScheduler.ts create mode 100644 node_modules/rxjs/src/util/noop.ts create mode 100644 node_modules/rxjs/src/util/not.ts create mode 100644 node_modules/rxjs/src/util/pipe.ts create mode 100644 node_modules/rxjs/src/util/root.ts create mode 100644 node_modules/rxjs/src/util/subscribeToResult.ts create mode 100644 node_modules/rxjs/src/util/toSubscriber.ts create mode 100644 node_modules/rxjs/src/util/tryCatch.ts create mode 100644 node_modules/rxjs/symbol/iterator.d.ts create mode 100644 node_modules/rxjs/symbol/iterator.js create mode 100644 node_modules/rxjs/symbol/iterator.js.map create mode 100644 node_modules/rxjs/symbol/observable.d.ts create mode 100644 node_modules/rxjs/symbol/observable.js create mode 100644 node_modules/rxjs/symbol/observable.js.map create mode 100644 node_modules/rxjs/symbol/rxSubscriber.d.ts create mode 100644 node_modules/rxjs/symbol/rxSubscriber.js create mode 100644 node_modules/rxjs/symbol/rxSubscriber.js.map create mode 100644 node_modules/rxjs/testing/ColdObservable.d.ts create mode 100644 node_modules/rxjs/testing/ColdObservable.js create mode 100644 node_modules/rxjs/testing/ColdObservable.js.map create mode 100644 node_modules/rxjs/testing/HotObservable.d.ts create mode 100644 node_modules/rxjs/testing/HotObservable.js create mode 100644 node_modules/rxjs/testing/HotObservable.js.map create mode 100644 node_modules/rxjs/testing/SubscriptionLog.d.ts create mode 100644 node_modules/rxjs/testing/SubscriptionLog.js create mode 100644 node_modules/rxjs/testing/SubscriptionLog.js.map create mode 100644 node_modules/rxjs/testing/SubscriptionLoggable.d.ts create mode 100644 node_modules/rxjs/testing/SubscriptionLoggable.js create mode 100644 node_modules/rxjs/testing/SubscriptionLoggable.js.map create mode 100644 node_modules/rxjs/testing/TestMessage.d.ts create mode 100644 node_modules/rxjs/testing/TestMessage.js create mode 100644 node_modules/rxjs/testing/TestMessage.js.map create mode 100644 node_modules/rxjs/testing/TestScheduler.d.ts create mode 100644 node_modules/rxjs/testing/TestScheduler.js create mode 100644 node_modules/rxjs/testing/TestScheduler.js.map create mode 100644 node_modules/rxjs/util/AnimationFrame.d.ts create mode 100644 node_modules/rxjs/util/AnimationFrame.js create mode 100644 node_modules/rxjs/util/AnimationFrame.js.map create mode 100644 node_modules/rxjs/util/ArgumentOutOfRangeError.d.ts create mode 100644 node_modules/rxjs/util/ArgumentOutOfRangeError.js create mode 100644 node_modules/rxjs/util/ArgumentOutOfRangeError.js.map create mode 100644 node_modules/rxjs/util/EmptyError.d.ts create mode 100644 node_modules/rxjs/util/EmptyError.js create mode 100644 node_modules/rxjs/util/EmptyError.js.map create mode 100644 node_modules/rxjs/util/FastMap.d.ts create mode 100644 node_modules/rxjs/util/FastMap.js create mode 100644 node_modules/rxjs/util/FastMap.js.map create mode 100644 node_modules/rxjs/util/Immediate.d.ts create mode 100644 node_modules/rxjs/util/Immediate.js create mode 100644 node_modules/rxjs/util/Immediate.js.map create mode 100644 node_modules/rxjs/util/Map.d.ts create mode 100644 node_modules/rxjs/util/Map.js create mode 100644 node_modules/rxjs/util/Map.js.map create mode 100644 node_modules/rxjs/util/MapPolyfill.d.ts create mode 100644 node_modules/rxjs/util/MapPolyfill.js create mode 100644 node_modules/rxjs/util/MapPolyfill.js.map create mode 100644 node_modules/rxjs/util/ObjectUnsubscribedError.d.ts create mode 100644 node_modules/rxjs/util/ObjectUnsubscribedError.js create mode 100644 node_modules/rxjs/util/ObjectUnsubscribedError.js.map create mode 100644 node_modules/rxjs/util/Set.d.ts create mode 100644 node_modules/rxjs/util/Set.js create mode 100644 node_modules/rxjs/util/Set.js.map create mode 100644 node_modules/rxjs/util/TimeoutError.d.ts create mode 100644 node_modules/rxjs/util/TimeoutError.js create mode 100644 node_modules/rxjs/util/TimeoutError.js.map create mode 100644 node_modules/rxjs/util/UnsubscriptionError.d.ts create mode 100644 node_modules/rxjs/util/UnsubscriptionError.js create mode 100644 node_modules/rxjs/util/UnsubscriptionError.js.map create mode 100644 node_modules/rxjs/util/applyMixins.d.ts create mode 100644 node_modules/rxjs/util/applyMixins.js create mode 100644 node_modules/rxjs/util/applyMixins.js.map create mode 100644 node_modules/rxjs/util/assign.d.ts create mode 100644 node_modules/rxjs/util/assign.js create mode 100644 node_modules/rxjs/util/assign.js.map create mode 100644 node_modules/rxjs/util/errorObject.d.ts create mode 100644 node_modules/rxjs/util/errorObject.js create mode 100644 node_modules/rxjs/util/errorObject.js.map create mode 100644 node_modules/rxjs/util/identity.d.ts create mode 100644 node_modules/rxjs/util/identity.js create mode 100644 node_modules/rxjs/util/identity.js.map create mode 100644 node_modules/rxjs/util/isArray.d.ts create mode 100644 node_modules/rxjs/util/isArray.js create mode 100644 node_modules/rxjs/util/isArray.js.map create mode 100644 node_modules/rxjs/util/isArrayLike.d.ts create mode 100644 node_modules/rxjs/util/isArrayLike.js create mode 100644 node_modules/rxjs/util/isArrayLike.js.map create mode 100644 node_modules/rxjs/util/isDate.d.ts create mode 100644 node_modules/rxjs/util/isDate.js create mode 100644 node_modules/rxjs/util/isDate.js.map create mode 100644 node_modules/rxjs/util/isFunction.d.ts create mode 100644 node_modules/rxjs/util/isFunction.js create mode 100644 node_modules/rxjs/util/isFunction.js.map create mode 100644 node_modules/rxjs/util/isNumeric.d.ts create mode 100644 node_modules/rxjs/util/isNumeric.js create mode 100644 node_modules/rxjs/util/isNumeric.js.map create mode 100644 node_modules/rxjs/util/isObject.d.ts create mode 100644 node_modules/rxjs/util/isObject.js create mode 100644 node_modules/rxjs/util/isObject.js.map create mode 100644 node_modules/rxjs/util/isPromise.d.ts create mode 100644 node_modules/rxjs/util/isPromise.js create mode 100644 node_modules/rxjs/util/isPromise.js.map create mode 100644 node_modules/rxjs/util/isScheduler.d.ts create mode 100644 node_modules/rxjs/util/isScheduler.js create mode 100644 node_modules/rxjs/util/isScheduler.js.map create mode 100644 node_modules/rxjs/util/noop.d.ts create mode 100644 node_modules/rxjs/util/noop.js create mode 100644 node_modules/rxjs/util/noop.js.map create mode 100644 node_modules/rxjs/util/not.d.ts create mode 100644 node_modules/rxjs/util/not.js create mode 100644 node_modules/rxjs/util/not.js.map create mode 100644 node_modules/rxjs/util/pipe.d.ts create mode 100644 node_modules/rxjs/util/pipe.js create mode 100644 node_modules/rxjs/util/pipe.js.map create mode 100644 node_modules/rxjs/util/root.d.ts create mode 100644 node_modules/rxjs/util/root.js create mode 100644 node_modules/rxjs/util/root.js.map create mode 100644 node_modules/rxjs/util/subscribeToResult.d.ts create mode 100644 node_modules/rxjs/util/subscribeToResult.js create mode 100644 node_modules/rxjs/util/subscribeToResult.js.map create mode 100644 node_modules/rxjs/util/toSubscriber.d.ts create mode 100644 node_modules/rxjs/util/toSubscriber.js create mode 100644 node_modules/rxjs/util/toSubscriber.js.map create mode 100644 node_modules/rxjs/util/tryCatch.d.ts create mode 100644 node_modules/rxjs/util/tryCatch.js create mode 100644 node_modules/rxjs/util/tryCatch.js.map create mode 100644 node_modules/signal-exit/CHANGELOG.md create mode 100644 node_modules/signal-exit/LICENSE.txt create mode 100644 node_modules/signal-exit/README.md create mode 100644 node_modules/signal-exit/index.js create mode 100644 node_modules/signal-exit/package.json create mode 100644 node_modules/signal-exit/signals.js create mode 100644 node_modules/string-width/index.js create mode 100644 node_modules/string-width/license create mode 100644 node_modules/string-width/package.json create mode 100644 node_modules/string-width/readme.md create mode 100644 node_modules/strip-ansi/index.js create mode 100644 node_modules/strip-ansi/license create mode 100644 node_modules/strip-ansi/package.json create mode 100644 node_modules/strip-ansi/readme.md create mode 100644 node_modules/supports-color/browser.js create mode 100644 node_modules/supports-color/index.js create mode 100644 node_modules/supports-color/license create mode 100644 node_modules/supports-color/package.json create mode 100644 node_modules/supports-color/readme.md create mode 100644 node_modules/symbol-observable/CHANGELOG.md create mode 100644 node_modules/symbol-observable/es/index.js create mode 100644 node_modules/symbol-observable/es/ponyfill.js create mode 100644 node_modules/symbol-observable/index.d.ts create mode 100644 node_modules/symbol-observable/index.js create mode 100644 node_modules/symbol-observable/lib/index.js create mode 100644 node_modules/symbol-observable/lib/ponyfill.js create mode 100644 node_modules/symbol-observable/license create mode 100644 node_modules/symbol-observable/package.json create mode 100644 node_modules/symbol-observable/readme.md create mode 100644 node_modules/through/.travis.yml create mode 100644 node_modules/through/LICENSE.APACHE2 create mode 100644 node_modules/through/LICENSE.MIT create mode 100644 node_modules/through/index.js create mode 100644 node_modules/through/package.json create mode 100644 node_modules/through/readme.markdown create mode 100644 node_modules/through/test/async.js create mode 100644 node_modules/through/test/auto-destroy.js create mode 100644 node_modules/through/test/buffering.js create mode 100644 node_modules/through/test/end.js create mode 100644 node_modules/through/test/index.js create mode 100644 node_modules/tmp/LICENSE create mode 100644 node_modules/tmp/README.md create mode 100644 node_modules/tmp/lib/tmp.js create mode 100644 node_modules/tmp/package.json diff --git a/BlackJack.js b/BlackJack.js index e874b549..da2c1638 100644 --- a/BlackJack.js +++ b/BlackJack.js @@ -93,18 +93,6 @@ var BlackJack = /** @class */ (function (_super) { _super.prototype.draw.call(this); this.players[this.currentPlayer].handScore = this.calculateHandScores(this.players[this.currentPlayer].hand); }; - /** - * This function should evaluate the current state. - * Ex Flow: - * If the current player has come back around to the dealer - * Evaluate if the dealer should hit or stay - * If the dealer's hand value is under 16 then hit - * Else stay - * Evalue who won based on the hand value - * Else - * If the current player's hand value is 21 then automatically stay and go to the next player - * If the current player busted wipe out their hand value and go to the next player - */ BlackJack.prototype.evaluateState = function () { var winner = new player_1.Player("No One"), draw = false; // If turns have gone back around to the dealer @@ -148,7 +136,6 @@ var BlackJack = /** @class */ (function (_super) { console.log('Busted! You lose that one.'); this.players[this.currentPlayer].handScore = 0; this.currentPlayer++; - //TODO: needs to be modified to support more players this.roundPrompt(); } else { @@ -166,32 +153,17 @@ var BlackJack = /** @class */ (function (_super) { }); return value; }; - /** - * Prints out the state of the dealer and the player at the start of the round. - */ BlackJack.prototype.gameStartState = function () { - //TODO: make dynamic to handle more players this.printDealerState(); this.printPlayerState(1); }; - /** - * Prints the state of the dealer, only revealing one card. - */ BlackJack.prototype.printDealerState = function () { console.log("The dealer has " + this.players[0].hand[0].toString() + " showing"); }; - /** - * Prints out the hand and the value of the hand for the given player. - * @param playerIndex The index of the player in the list of players - */ BlackJack.prototype.printPlayerState = function (playerIndex) { - //TODO: make dynamic to handle more players (maybe change to say the players name instead of Your). console.log("Your hand is: " + this.players[playerIndex].handToString()); console.log("Your hand value is now: " + this.players[playerIndex].handScore); }; - /** - * Prints the last drawn card to the console. - */ BlackJack.prototype.printLastDraw = function () { console.log(this.players[this.currentPlayer].name + " drew " + this.players[this.currentPlayer].hand[this.players[this.currentPlayer].hand.length - 1]); }; diff --git a/BlackJack.ts b/BlackJack.ts index 67b5f02b..fe0be1c5 100644 --- a/BlackJack.ts +++ b/BlackJack.ts @@ -95,18 +95,7 @@ export class BlackJack extends CardGame{ this.players[this.currentPlayer].handScore = this.calculateHandScores(this.players[this.currentPlayer].hand); } - /** - * This function should evaluate the current state. - * Ex Flow: - * If the current player has come back around to the dealer - * Evaluate if the dealer should hit or stay - * If the dealer's hand value is under 16 then hit - * Else stay - * Evalue who won based on the hand value - * Else - * If the current player's hand value is 21 then automatically stay and go to the next player - * If the current player busted wipe out their hand value and go to the next player - */ + evaluateState() { var winner = new Player("No One"), draw = false; // If turns have gone back around to the dealer @@ -149,7 +138,6 @@ export class BlackJack extends CardGame{ console.log('Busted! You lose that one.'); this.players[this.currentPlayer].handScore = 0; this.currentPlayer++; - //TODO: needs to be modified to support more players this.roundPrompt(); } else { this.turnPrompt(); @@ -168,35 +156,21 @@ export class BlackJack extends CardGame{ return value; } - /** - * Prints out the state of the dealer and the player at the start of the round. - */ + gameStartState() { - //TODO: make dynamic to handle more players this.printDealerState(); this.printPlayerState(1); } - - /** - * Prints the state of the dealer, only revealing one card. - */ + printDealerState() { console.log(`The dealer has ${this.players[0].hand[0].toString()} showing`); } - /** - * Prints out the hand and the value of the hand for the given player. - * @param playerIndex The index of the player in the list of players - */ printPlayerState(playerIndex:number) { - //TODO: make dynamic to handle more players (maybe change to say the players name instead of Your). console.log(`Your hand is: ${this.players[playerIndex].handToString()}`); console.log(`Your hand value is now: ${this.players[playerIndex].handScore}`); } - /** - * Prints the last drawn card to the console. - */ printLastDraw() { console.log(`${this.players[this.currentPlayer].name} drew ${this.players[this.currentPlayer].hand[this.players[this.currentPlayer].hand.length-1]}`); } diff --git a/node_modules/ansi-escapes/index.js b/node_modules/ansi-escapes/index.js new file mode 100644 index 00000000..1122cbfb --- /dev/null +++ b/node_modules/ansi-escapes/index.js @@ -0,0 +1,122 @@ +'use strict'; +const x = module.exports; +const ESC = '\u001B['; +const OSC = '\u001B]'; +const BEL = '\u0007'; +const SEP = ';'; +const isTerminalApp = process.env.TERM_PROGRAM === 'Apple_Terminal'; + +x.cursorTo = (x, y) => { + if (typeof x !== 'number') { + throw new TypeError('The `x` argument is required'); + } + + if (typeof y !== 'number') { + return ESC + (x + 1) + 'G'; + } + + return ESC + (y + 1) + ';' + (x + 1) + 'H'; +}; + +x.cursorMove = (x, y) => { + if (typeof x !== 'number') { + throw new TypeError('The `x` argument is required'); + } + + let ret = ''; + + if (x < 0) { + ret += ESC + (-x) + 'D'; + } else if (x > 0) { + ret += ESC + x + 'C'; + } + + if (y < 0) { + ret += ESC + (-y) + 'A'; + } else if (y > 0) { + ret += ESC + y + 'B'; + } + + return ret; +}; + +x.cursorUp = count => ESC + (typeof count === 'number' ? count : 1) + 'A'; +x.cursorDown = count => ESC + (typeof count === 'number' ? count : 1) + 'B'; +x.cursorForward = count => ESC + (typeof count === 'number' ? count : 1) + 'C'; +x.cursorBackward = count => ESC + (typeof count === 'number' ? count : 1) + 'D'; + +x.cursorLeft = ESC + 'G'; +x.cursorSavePosition = ESC + (isTerminalApp ? '7' : 's'); +x.cursorRestorePosition = ESC + (isTerminalApp ? '8' : 'u'); +x.cursorGetPosition = ESC + '6n'; +x.cursorNextLine = ESC + 'E'; +x.cursorPrevLine = ESC + 'F'; +x.cursorHide = ESC + '?25l'; +x.cursorShow = ESC + '?25h'; + +x.eraseLines = count => { + let clear = ''; + + for (let i = 0; i < count; i++) { + clear += x.eraseLine + (i < count - 1 ? x.cursorUp() : ''); + } + + if (count) { + clear += x.cursorLeft; + } + + return clear; +}; + +x.eraseEndLine = ESC + 'K'; +x.eraseStartLine = ESC + '1K'; +x.eraseLine = ESC + '2K'; +x.eraseDown = ESC + 'J'; +x.eraseUp = ESC + '1J'; +x.eraseScreen = ESC + '2J'; +x.scrollUp = ESC + 'S'; +x.scrollDown = ESC + 'T'; + +x.clearScreen = '\u001Bc'; +x.beep = BEL; + +x.link = (text, url) => { + return [ + OSC, + '8', + SEP, + SEP, + url, + BEL, + text, + OSC, + '8', + SEP, + SEP, + BEL + ].join(''); +}; + +x.image = (buf, opts) => { + opts = opts || {}; + + let ret = OSC + '1337;File=inline=1'; + + if (opts.width) { + ret += `;width=${opts.width}`; + } + + if (opts.height) { + ret += `;height=${opts.height}`; + } + + if (opts.preserveAspectRatio === false) { + ret += ';preserveAspectRatio=0'; + } + + return ret + ':' + buf.toString('base64') + BEL; +}; + +x.iTerm = {}; + +x.iTerm.setCwd = cwd => OSC + '50;CurrentDir=' + (cwd || process.cwd()) + BEL; diff --git a/node_modules/ansi-escapes/license b/node_modules/ansi-escapes/license new file mode 100644 index 00000000..e7af2f77 --- /dev/null +++ b/node_modules/ansi-escapes/license @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/ansi-escapes/package.json b/node_modules/ansi-escapes/package.json new file mode 100644 index 00000000..7f8004c3 --- /dev/null +++ b/node_modules/ansi-escapes/package.json @@ -0,0 +1,82 @@ +{ + "_from": "ansi-escapes@^3.0.0", + "_id": "ansi-escapes@3.1.0", + "_inBundle": false, + "_integrity": "sha512-UgAb8H9D41AQnu/PbWlCofQVcnV4Gs2bBJi9eZPxfU/hgglFh3SMDMENRIqdr7H6XFnXdoknctFByVsCOotTVw==", + "_location": "/ansi-escapes", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "ansi-escapes@^3.0.0", + "name": "ansi-escapes", + "escapedName": "ansi-escapes", + "rawSpec": "^3.0.0", + "saveSpec": null, + "fetchSpec": "^3.0.0" + }, + "_requiredBy": [ + "/inquirer" + ], + "_resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.1.0.tgz", + "_shasum": "f73207bb81207d75fd6c83f125af26eea378ca30", + "_spec": "ansi-escapes@^3.0.0", + "_where": "/Users/lawrencewu/Dev/CR-MacroLabs-TypeScript-Casino/node_modules/inquirer", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/ansi-escapes/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "ANSI escape codes for manipulating the terminal", + "devDependencies": { + "ava": "*", + "xo": "*" + }, + "engines": { + "node": ">=4" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/sindresorhus/ansi-escapes#readme", + "keywords": [ + "ansi", + "terminal", + "console", + "cli", + "string", + "tty", + "escape", + "escapes", + "formatting", + "shell", + "xterm", + "log", + "logging", + "command-line", + "text", + "vt100", + "sequence", + "control", + "code", + "codes", + "cursor", + "iterm", + "iterm2" + ], + "license": "MIT", + "name": "ansi-escapes", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/ansi-escapes.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "3.1.0" +} diff --git a/node_modules/ansi-escapes/readme.md b/node_modules/ansi-escapes/readme.md new file mode 100644 index 00000000..38b459fc --- /dev/null +++ b/node_modules/ansi-escapes/readme.md @@ -0,0 +1,180 @@ +# ansi-escapes [![Build Status](https://travis-ci.org/sindresorhus/ansi-escapes.svg?branch=master)](https://travis-ci.org/sindresorhus/ansi-escapes) + +> [ANSI escape codes](http://www.termsys.demon.co.uk/vtansi.htm) for manipulating the terminal + + +## Install + +``` +$ npm install ansi-escapes +``` + + +## Usage + +```js +const ansiEscapes = require('ansi-escapes'); + +// Moves the cursor two rows up and to the left +process.stdout.write(ansiEscapes.cursorUp(2) + ansiEscapes.cursorLeft); +//=> '\u001B[2A\u001B[1000D' +``` + + +## API + +### cursorTo(x, [y]) + +Set the absolute position of the cursor. `x0` `y0` is the top left of the screen. + +### cursorMove(x, [y]) + +Set the position of the cursor relative to its current position. + +### cursorUp(count) + +Move cursor up a specific amount of rows. Default is `1`. + +### cursorDown(count) + +Move cursor down a specific amount of rows. Default is `1`. + +### cursorForward(count) + +Move cursor forward a specific amount of rows. Default is `1`. + +### cursorBackward(count) + +Move cursor backward a specific amount of rows. Default is `1`. + +### cursorLeft + +Move cursor to the left side. + +### cursorSavePosition + +Save cursor position. + +### cursorRestorePosition + +Restore saved cursor position. + +### cursorGetPosition + +Get cursor position. + +### cursorNextLine + +Move cursor to the next line. + +### cursorPrevLine + +Move cursor to the previous line. + +### cursorHide + +Hide cursor. + +### cursorShow + +Show cursor. + +### eraseLines(count) + +Erase from the current cursor position up the specified amount of rows. + +### eraseEndLine + +Erase from the current cursor position to the end of the current line. + +### eraseStartLine + +Erase from the current cursor position to the start of the current line. + +### eraseLine + +Erase the entire current line. + +### eraseDown + +Erase the screen from the current line down to the bottom of the screen. + +### eraseUp + +Erase the screen from the current line up to the top of the screen. + +### eraseScreen + +Erase the screen and move the cursor the top left position. + +### scrollUp + +Scroll display up one line. + +### scrollDown + +Scroll display down one line. + +### clearScreen + +Clear the terminal screen. + +### beep + +Output a beeping sound. + +### link(text, url) + +Create a clickable link. + +[Supported terminals.](https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda) Use [`supports-hyperlinks`](https://github.com/jamestalmage/supports-hyperlinks) to detect link support. + +### image(input, [options]) + +Display an image. + +*Currently only supported on iTerm2 >=3* + +See [term-img](https://github.com/sindresorhus/term-img) for a higher-level module. + +#### input + +Type: `Buffer` + +Buffer of an image. Usually read in with `fs.readFile()`. + +#### options + +##### width +##### height + +Type: `string` `number` + +The width and height are given as a number followed by a unit, or the word "auto". + +- `N`: N character cells. +- `Npx`: N pixels. +- `N%`: N percent of the session's width or height. +- `auto`: The image's inherent size will be used to determine an appropriate dimension. + +##### preserveAspectRatio + +Type: `boolean`
+Default: `true` + +### iTerm.setCwd([path]) + +Type: `string`
+Default: `process.cwd()` + +[Inform iTerm2](https://www.iterm2.com/documentation-escape-codes.html) of the current directory to help semantic history and enable [Cmd-clicking relative paths](https://coderwall.com/p/b7e82q/quickly-open-files-in-iterm-with-cmd-click). + + +## Related + +- [ansi-styles](https://github.com/chalk/ansi-styles) - ANSI escape codes for styling strings in the terminal + + +## License + +MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/ansi-regex/index.js b/node_modules/ansi-regex/index.js new file mode 100644 index 00000000..c4aaecf5 --- /dev/null +++ b/node_modules/ansi-regex/index.js @@ -0,0 +1,10 @@ +'use strict'; + +module.exports = () => { + const pattern = [ + '[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)', + '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))' + ].join('|'); + + return new RegExp(pattern, 'g'); +}; diff --git a/node_modules/ansi-regex/license b/node_modules/ansi-regex/license new file mode 100644 index 00000000..e7af2f77 --- /dev/null +++ b/node_modules/ansi-regex/license @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/ansi-regex/package.json b/node_modules/ansi-regex/package.json new file mode 100644 index 00000000..2a18c5ad --- /dev/null +++ b/node_modules/ansi-regex/package.json @@ -0,0 +1,85 @@ +{ + "_from": "ansi-regex@^3.0.0", + "_id": "ansi-regex@3.0.0", + "_inBundle": false, + "_integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "_location": "/ansi-regex", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "ansi-regex@^3.0.0", + "name": "ansi-regex", + "escapedName": "ansi-regex", + "rawSpec": "^3.0.0", + "saveSpec": null, + "fetchSpec": "^3.0.0" + }, + "_requiredBy": [ + "/strip-ansi" + ], + "_resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "_shasum": "ed0317c322064f79466c02966bddb605ab37d998", + "_spec": "ansi-regex@^3.0.0", + "_where": "/Users/lawrencewu/Dev/CR-MacroLabs-TypeScript-Casino/node_modules/strip-ansi", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/chalk/ansi-regex/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Regular expression for matching ANSI escape codes", + "devDependencies": { + "ava": "*", + "xo": "*" + }, + "engines": { + "node": ">=4" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/chalk/ansi-regex#readme", + "keywords": [ + "ansi", + "styles", + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "string", + "tty", + "escape", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "command-line", + "text", + "regex", + "regexp", + "re", + "match", + "test", + "find", + "pattern" + ], + "license": "MIT", + "name": "ansi-regex", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/ansi-regex.git" + }, + "scripts": { + "test": "xo && ava", + "view-supported": "node fixtures/view-codes.js" + }, + "version": "3.0.0" +} diff --git a/node_modules/ansi-regex/readme.md b/node_modules/ansi-regex/readme.md new file mode 100644 index 00000000..22db1c34 --- /dev/null +++ b/node_modules/ansi-regex/readme.md @@ -0,0 +1,46 @@ +# ansi-regex [![Build Status](https://travis-ci.org/chalk/ansi-regex.svg?branch=master)](https://travis-ci.org/chalk/ansi-regex) + +> Regular expression for matching [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) + + +## Install + +``` +$ npm install ansi-regex +``` + + +## Usage + +```js +const ansiRegex = require('ansi-regex'); + +ansiRegex().test('\u001B[4mcake\u001B[0m'); +//=> true + +ansiRegex().test('cake'); +//=> false + +'\u001B[4mcake\u001B[0m'.match(ansiRegex()); +//=> ['\u001B[4m', '\u001B[0m'] +``` + + +## FAQ + +### Why do you test for codes not in the ECMA 48 standard? + +Some of the codes we run as a test are codes that we acquired finding various lists of non-standard or manufacturer specific codes. We test for both standard and non-standard codes, as most of them follow the same or similar format and can be safely matched in strings without the risk of removing actual string content. There are a few non-standard control codes that do not follow the traditional format (i.e. they end in numbers) thus forcing us to exclude them from the test because we cannot reliably match them. + +On the historical side, those ECMA standards were established in the early 90's whereas the VT100, for example, was designed in the mid/late 70's. At that point in time, control codes were still pretty ungoverned and engineers used them for a multitude of things, namely to activate hardware ports that may have been proprietary. Somewhere else you see a similar 'anarchy' of codes is in the x86 architecture for processors; there are a ton of "interrupts" that can mean different things on certain brands of processors, most of which have been phased out. + + +## Maintainers + +- [Sindre Sorhus](https://github.com/sindresorhus) +- [Josh Junon](https://github.com/qix-) + + +## License + +MIT diff --git a/node_modules/ansi-styles/index.js b/node_modules/ansi-styles/index.js new file mode 100644 index 00000000..90a871c4 --- /dev/null +++ b/node_modules/ansi-styles/index.js @@ -0,0 +1,165 @@ +'use strict'; +const colorConvert = require('color-convert'); + +const wrapAnsi16 = (fn, offset) => function () { + const code = fn.apply(colorConvert, arguments); + return `\u001B[${code + offset}m`; +}; + +const wrapAnsi256 = (fn, offset) => function () { + const code = fn.apply(colorConvert, arguments); + return `\u001B[${38 + offset};5;${code}m`; +}; + +const wrapAnsi16m = (fn, offset) => function () { + const rgb = fn.apply(colorConvert, arguments); + return `\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`; +}; + +function assembleStyles() { + const codes = new Map(); + const styles = { + modifier: { + reset: [0, 0], + // 21 isn't widely supported and 22 does the same thing + bold: [1, 22], + dim: [2, 22], + italic: [3, 23], + underline: [4, 24], + inverse: [7, 27], + hidden: [8, 28], + strikethrough: [9, 29] + }, + color: { + black: [30, 39], + red: [31, 39], + green: [32, 39], + yellow: [33, 39], + blue: [34, 39], + magenta: [35, 39], + cyan: [36, 39], + white: [37, 39], + gray: [90, 39], + + // Bright color + redBright: [91, 39], + greenBright: [92, 39], + yellowBright: [93, 39], + blueBright: [94, 39], + magentaBright: [95, 39], + cyanBright: [96, 39], + whiteBright: [97, 39] + }, + bgColor: { + bgBlack: [40, 49], + bgRed: [41, 49], + bgGreen: [42, 49], + bgYellow: [43, 49], + bgBlue: [44, 49], + bgMagenta: [45, 49], + bgCyan: [46, 49], + bgWhite: [47, 49], + + // Bright color + bgBlackBright: [100, 49], + bgRedBright: [101, 49], + bgGreenBright: [102, 49], + bgYellowBright: [103, 49], + bgBlueBright: [104, 49], + bgMagentaBright: [105, 49], + bgCyanBright: [106, 49], + bgWhiteBright: [107, 49] + } + }; + + // Fix humans + styles.color.grey = styles.color.gray; + + for (const groupName of Object.keys(styles)) { + const group = styles[groupName]; + + for (const styleName of Object.keys(group)) { + const style = group[styleName]; + + styles[styleName] = { + open: `\u001B[${style[0]}m`, + close: `\u001B[${style[1]}m` + }; + + group[styleName] = styles[styleName]; + + codes.set(style[0], style[1]); + } + + Object.defineProperty(styles, groupName, { + value: group, + enumerable: false + }); + + Object.defineProperty(styles, 'codes', { + value: codes, + enumerable: false + }); + } + + const ansi2ansi = n => n; + const rgb2rgb = (r, g, b) => [r, g, b]; + + styles.color.close = '\u001B[39m'; + styles.bgColor.close = '\u001B[49m'; + + styles.color.ansi = { + ansi: wrapAnsi16(ansi2ansi, 0) + }; + styles.color.ansi256 = { + ansi256: wrapAnsi256(ansi2ansi, 0) + }; + styles.color.ansi16m = { + rgb: wrapAnsi16m(rgb2rgb, 0) + }; + + styles.bgColor.ansi = { + ansi: wrapAnsi16(ansi2ansi, 10) + }; + styles.bgColor.ansi256 = { + ansi256: wrapAnsi256(ansi2ansi, 10) + }; + styles.bgColor.ansi16m = { + rgb: wrapAnsi16m(rgb2rgb, 10) + }; + + for (let key of Object.keys(colorConvert)) { + if (typeof colorConvert[key] !== 'object') { + continue; + } + + const suite = colorConvert[key]; + + if (key === 'ansi16') { + key = 'ansi'; + } + + if ('ansi16' in suite) { + styles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0); + styles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10); + } + + if ('ansi256' in suite) { + styles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0); + styles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10); + } + + if ('rgb' in suite) { + styles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0); + styles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10); + } + } + + return styles; +} + +// Make the export immutable +Object.defineProperty(module, 'exports', { + enumerable: true, + get: assembleStyles +}); diff --git a/node_modules/ansi-styles/license b/node_modules/ansi-styles/license new file mode 100644 index 00000000..e7af2f77 --- /dev/null +++ b/node_modules/ansi-styles/license @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/ansi-styles/package.json b/node_modules/ansi-styles/package.json new file mode 100644 index 00000000..c9c946f8 --- /dev/null +++ b/node_modules/ansi-styles/package.json @@ -0,0 +1,88 @@ +{ + "_from": "ansi-styles@^3.2.1", + "_id": "ansi-styles@3.2.1", + "_inBundle": false, + "_integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "_location": "/ansi-styles", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "ansi-styles@^3.2.1", + "name": "ansi-styles", + "escapedName": "ansi-styles", + "rawSpec": "^3.2.1", + "saveSpec": null, + "fetchSpec": "^3.2.1" + }, + "_requiredBy": [ + "/chalk" + ], + "_resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "_shasum": "41fbb20243e50b12be0f04b8dedbf07520ce841d", + "_spec": "ansi-styles@^3.2.1", + "_where": "/Users/lawrencewu/Dev/CR-MacroLabs-TypeScript-Casino/node_modules/chalk", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "ava": { + "require": "babel-polyfill" + }, + "bugs": { + "url": "https://github.com/chalk/ansi-styles/issues" + }, + "bundleDependencies": false, + "dependencies": { + "color-convert": "^1.9.0" + }, + "deprecated": false, + "description": "ANSI escape codes for styling strings in the terminal", + "devDependencies": { + "ava": "*", + "babel-polyfill": "^6.23.0", + "svg-term-cli": "^2.1.1", + "xo": "*" + }, + "engines": { + "node": ">=4" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/chalk/ansi-styles#readme", + "keywords": [ + "ansi", + "styles", + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "string", + "tty", + "escape", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "log", + "logging", + "command-line", + "text" + ], + "license": "MIT", + "name": "ansi-styles", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/ansi-styles.git" + }, + "scripts": { + "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor", + "test": "xo && ava" + }, + "version": "3.2.1" +} diff --git a/node_modules/ansi-styles/readme.md b/node_modules/ansi-styles/readme.md new file mode 100644 index 00000000..3158e2df --- /dev/null +++ b/node_modules/ansi-styles/readme.md @@ -0,0 +1,147 @@ +# ansi-styles [![Build Status](https://travis-ci.org/chalk/ansi-styles.svg?branch=master)](https://travis-ci.org/chalk/ansi-styles) + +> [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for styling strings in the terminal + +You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings. + + + + +## Install + +``` +$ npm install ansi-styles +``` + + +## Usage + +```js +const style = require('ansi-styles'); + +console.log(`${style.green.open}Hello world!${style.green.close}`); + + +// Color conversion between 16/256/truecolor +// NOTE: If conversion goes to 16 colors or 256 colors, the original color +// may be degraded to fit that color palette. This means terminals +// that do not support 16 million colors will best-match the +// original color. +console.log(style.bgColor.ansi.hsl(120, 80, 72) + 'Hello world!' + style.bgColor.close); +console.log(style.color.ansi256.rgb(199, 20, 250) + 'Hello world!' + style.color.close); +console.log(style.color.ansi16m.hex('#ABCDEF') + 'Hello world!' + style.color.close); +``` + +## API + +Each style has an `open` and `close` property. + + +## Styles + +### Modifiers + +- `reset` +- `bold` +- `dim` +- `italic` *(Not widely supported)* +- `underline` +- `inverse` +- `hidden` +- `strikethrough` *(Not widely supported)* + +### Colors + +- `black` +- `red` +- `green` +- `yellow` +- `blue` +- `magenta` +- `cyan` +- `white` +- `gray` ("bright black") +- `redBright` +- `greenBright` +- `yellowBright` +- `blueBright` +- `magentaBright` +- `cyanBright` +- `whiteBright` + +### Background colors + +- `bgBlack` +- `bgRed` +- `bgGreen` +- `bgYellow` +- `bgBlue` +- `bgMagenta` +- `bgCyan` +- `bgWhite` +- `bgBlackBright` +- `bgRedBright` +- `bgGreenBright` +- `bgYellowBright` +- `bgBlueBright` +- `bgMagentaBright` +- `bgCyanBright` +- `bgWhiteBright` + + +## Advanced usage + +By default, you get a map of styles, but the styles are also available as groups. They are non-enumerable so they don't show up unless you access them explicitly. This makes it easier to expose only a subset in a higher-level module. + +- `style.modifier` +- `style.color` +- `style.bgColor` + +###### Example + +```js +console.log(style.color.green.open); +``` + +Raw escape codes (i.e. without the CSI escape prefix `\u001B[` and render mode postfix `m`) are available under `style.codes`, which returns a `Map` with the open codes as keys and close codes as values. + +###### Example + +```js +console.log(style.codes.get(36)); +//=> 39 +``` + + +## [256 / 16 million (TrueColor) support](https://gist.github.com/XVilka/8346728) + +`ansi-styles` uses the [`color-convert`](https://github.com/Qix-/color-convert) package to allow for converting between various colors and ANSI escapes, with support for 256 and 16 million colors. + +To use these, call the associated conversion function with the intended output, for example: + +```js +style.color.ansi.rgb(100, 200, 15); // RGB to 16 color ansi foreground code +style.bgColor.ansi.rgb(100, 200, 15); // RGB to 16 color ansi background code + +style.color.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code +style.bgColor.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code + +style.color.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color foreground code +style.bgColor.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color background code +``` + + +## Related + +- [ansi-escapes](https://github.com/sindresorhus/ansi-escapes) - ANSI escape codes for manipulating the terminal + + +## Maintainers + +- [Sindre Sorhus](https://github.com/sindresorhus) +- [Josh Junon](https://github.com/qix-) + + +## License + +MIT diff --git a/node_modules/chalk/index.js b/node_modules/chalk/index.js new file mode 100644 index 00000000..1cc5fa89 --- /dev/null +++ b/node_modules/chalk/index.js @@ -0,0 +1,228 @@ +'use strict'; +const escapeStringRegexp = require('escape-string-regexp'); +const ansiStyles = require('ansi-styles'); +const stdoutColor = require('supports-color').stdout; + +const template = require('./templates.js'); + +const isSimpleWindowsTerm = process.platform === 'win32' && !(process.env.TERM || '').toLowerCase().startsWith('xterm'); + +// `supportsColor.level` → `ansiStyles.color[name]` mapping +const levelMapping = ['ansi', 'ansi', 'ansi256', 'ansi16m']; + +// `color-convert` models to exclude from the Chalk API due to conflicts and such +const skipModels = new Set(['gray']); + +const styles = Object.create(null); + +function applyOptions(obj, options) { + options = options || {}; + + // Detect level if not set manually + const scLevel = stdoutColor ? stdoutColor.level : 0; + obj.level = options.level === undefined ? scLevel : options.level; + obj.enabled = 'enabled' in options ? options.enabled : obj.level > 0; +} + +function Chalk(options) { + // We check for this.template here since calling `chalk.constructor()` + // by itself will have a `this` of a previously constructed chalk object + if (!this || !(this instanceof Chalk) || this.template) { + const chalk = {}; + applyOptions(chalk, options); + + chalk.template = function () { + const args = [].slice.call(arguments); + return chalkTag.apply(null, [chalk.template].concat(args)); + }; + + Object.setPrototypeOf(chalk, Chalk.prototype); + Object.setPrototypeOf(chalk.template, chalk); + + chalk.template.constructor = Chalk; + + return chalk.template; + } + + applyOptions(this, options); +} + +// Use bright blue on Windows as the normal blue color is illegible +if (isSimpleWindowsTerm) { + ansiStyles.blue.open = '\u001B[94m'; +} + +for (const key of Object.keys(ansiStyles)) { + ansiStyles[key].closeRe = new RegExp(escapeStringRegexp(ansiStyles[key].close), 'g'); + + styles[key] = { + get() { + const codes = ansiStyles[key]; + return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, key); + } + }; +} + +styles.visible = { + get() { + return build.call(this, this._styles || [], true, 'visible'); + } +}; + +ansiStyles.color.closeRe = new RegExp(escapeStringRegexp(ansiStyles.color.close), 'g'); +for (const model of Object.keys(ansiStyles.color.ansi)) { + if (skipModels.has(model)) { + continue; + } + + styles[model] = { + get() { + const level = this.level; + return function () { + const open = ansiStyles.color[levelMapping[level]][model].apply(null, arguments); + const codes = { + open, + close: ansiStyles.color.close, + closeRe: ansiStyles.color.closeRe + }; + return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model); + }; + } + }; +} + +ansiStyles.bgColor.closeRe = new RegExp(escapeStringRegexp(ansiStyles.bgColor.close), 'g'); +for (const model of Object.keys(ansiStyles.bgColor.ansi)) { + if (skipModels.has(model)) { + continue; + } + + const bgModel = 'bg' + model[0].toUpperCase() + model.slice(1); + styles[bgModel] = { + get() { + const level = this.level; + return function () { + const open = ansiStyles.bgColor[levelMapping[level]][model].apply(null, arguments); + const codes = { + open, + close: ansiStyles.bgColor.close, + closeRe: ansiStyles.bgColor.closeRe + }; + return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model); + }; + } + }; +} + +const proto = Object.defineProperties(() => {}, styles); + +function build(_styles, _empty, key) { + const builder = function () { + return applyStyle.apply(builder, arguments); + }; + + builder._styles = _styles; + builder._empty = _empty; + + const self = this; + + Object.defineProperty(builder, 'level', { + enumerable: true, + get() { + return self.level; + }, + set(level) { + self.level = level; + } + }); + + Object.defineProperty(builder, 'enabled', { + enumerable: true, + get() { + return self.enabled; + }, + set(enabled) { + self.enabled = enabled; + } + }); + + // See below for fix regarding invisible grey/dim combination on Windows + builder.hasGrey = this.hasGrey || key === 'gray' || key === 'grey'; + + // `__proto__` is used because we must return a function, but there is + // no way to create a function with a different prototype + builder.__proto__ = proto; // eslint-disable-line no-proto + + return builder; +} + +function applyStyle() { + // Support varags, but simply cast to string in case there's only one arg + const args = arguments; + const argsLen = args.length; + let str = String(arguments[0]); + + if (argsLen === 0) { + return ''; + } + + if (argsLen > 1) { + // Don't slice `arguments`, it prevents V8 optimizations + for (let a = 1; a < argsLen; a++) { + str += ' ' + args[a]; + } + } + + if (!this.enabled || this.level <= 0 || !str) { + return this._empty ? '' : str; + } + + // Turns out that on Windows dimmed gray text becomes invisible in cmd.exe, + // see https://github.com/chalk/chalk/issues/58 + // If we're on Windows and we're dealing with a gray color, temporarily make 'dim' a noop. + const originalDim = ansiStyles.dim.open; + if (isSimpleWindowsTerm && this.hasGrey) { + ansiStyles.dim.open = ''; + } + + for (const code of this._styles.slice().reverse()) { + // Replace any instances already present with a re-opening code + // otherwise only the part of the string until said closing code + // will be colored, and the rest will simply be 'plain'. + str = code.open + str.replace(code.closeRe, code.open) + code.close; + + // Close the styling before a linebreak and reopen + // after next line to fix a bleed issue on macOS + // https://github.com/chalk/chalk/pull/92 + str = str.replace(/\r?\n/g, `${code.close}$&${code.open}`); + } + + // Reset the original `dim` if we changed it to work around the Windows dimmed gray issue + ansiStyles.dim.open = originalDim; + + return str; +} + +function chalkTag(chalk, strings) { + if (!Array.isArray(strings)) { + // If chalk() was called by itself or with a string, + // return the string itself as a string. + return [].slice.call(arguments, 1).join(' '); + } + + const args = [].slice.call(arguments, 2); + const parts = [strings.raw[0]]; + + for (let i = 1; i < strings.length; i++) { + parts.push(String(args[i - 1]).replace(/[{}\\]/g, '\\$&')); + parts.push(String(strings.raw[i])); + } + + return template(chalk, parts.join('')); +} + +Object.defineProperties(Chalk.prototype, styles); + +module.exports = Chalk(); // eslint-disable-line new-cap +module.exports.supportsColor = stdoutColor; +module.exports.default = module.exports; // For TypeScript diff --git a/node_modules/chalk/license b/node_modules/chalk/license new file mode 100644 index 00000000..e7af2f77 --- /dev/null +++ b/node_modules/chalk/license @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/chalk/package.json b/node_modules/chalk/package.json new file mode 100644 index 00000000..9fef5da4 --- /dev/null +++ b/node_modules/chalk/package.json @@ -0,0 +1,98 @@ +{ + "_from": "chalk@^2.0.0", + "_id": "chalk@2.3.2", + "_inBundle": false, + "_integrity": "sha512-ZM4j2/ld/YZDc3Ma8PgN7gyAk+kHMMMyzLNryCPGhWrsfAuDVeuid5bpRFTDgMH9JBK2lA4dyyAkkZYF/WcqDQ==", + "_location": "/chalk", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "chalk@^2.0.0", + "name": "chalk", + "escapedName": "chalk", + "rawSpec": "^2.0.0", + "saveSpec": null, + "fetchSpec": "^2.0.0" + }, + "_requiredBy": [ + "/inquirer" + ], + "_resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.2.tgz", + "_shasum": "250dc96b07491bfd601e648d66ddf5f60c7a5c65", + "_spec": "chalk@^2.0.0", + "_where": "/Users/lawrencewu/Dev/CR-MacroLabs-TypeScript-Casino/node_modules/inquirer", + "bugs": { + "url": "https://github.com/chalk/chalk/issues" + }, + "bundleDependencies": false, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "deprecated": false, + "description": "Terminal string styling done right", + "devDependencies": { + "ava": "*", + "coveralls": "^3.0.0", + "execa": "^0.9.0", + "import-fresh": "^2.0.0", + "matcha": "^0.7.0", + "nyc": "^11.0.2", + "resolve-from": "^4.0.0", + "typescript": "^2.5.3", + "xo": "*" + }, + "engines": { + "node": ">=4" + }, + "files": [ + "index.js", + "templates.js", + "types/index.d.ts" + ], + "homepage": "https://github.com/chalk/chalk#readme", + "keywords": [ + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "string", + "str", + "ansi", + "style", + "styles", + "tty", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "log", + "logging", + "command-line", + "text" + ], + "license": "MIT", + "name": "chalk", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/chalk.git" + }, + "scripts": { + "bench": "matcha benchmark.js", + "coveralls": "nyc report --reporter=text-lcov | coveralls", + "test": "xo && tsc --project types && nyc ava" + }, + "types": "types/index.d.ts", + "version": "2.3.2", + "xo": { + "envs": [ + "node", + "mocha" + ] + } +} diff --git a/node_modules/chalk/readme.md b/node_modules/chalk/readme.md new file mode 100644 index 00000000..f96a9642 --- /dev/null +++ b/node_modules/chalk/readme.md @@ -0,0 +1,309 @@ +

+
+
+ chalk +
+
+
+

+ +> Terminal string styling done right + +[![Build Status](https://travis-ci.org/chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk) [![Coverage Status](https://coveralls.io/repos/github/chalk/chalk/badge.svg?branch=master)](https://coveralls.io/github/chalk/chalk?branch=master) [![](https://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) [![Mentioned in Awesome Node.js](https://awesome.re/mentioned-badge.svg)](https://github.com/sindresorhus/awesome-nodejs) + +### [See what's new in Chalk 2](https://github.com/chalk/chalk/releases/tag/v2.0.0) + + + + +## Highlights + +- Expressive API +- Highly performant +- Ability to nest styles +- [256/Truecolor color support](#256-and-truecolor-color-support) +- Auto-detects color support +- Doesn't extend `String.prototype` +- Clean and focused +- Actively maintained +- [Used by ~23,000 packages](https://www.npmjs.com/browse/depended/chalk) as of December 31, 2017 + + +## Install + +```console +$ npm install chalk +``` + + +## Usage + +```js +const chalk = require('chalk'); + +console.log(chalk.blue('Hello world!')); +``` + +Chalk comes with an easy to use composable API where you just chain and nest the styles you want. + +```js +const chalk = require('chalk'); +const log = console.log; + +// Combine styled and normal strings +log(chalk.blue('Hello') + ' World' + chalk.red('!')); + +// Compose multiple styles using the chainable API +log(chalk.blue.bgRed.bold('Hello world!')); + +// Pass in multiple arguments +log(chalk.blue('Hello', 'World!', 'Foo', 'bar', 'biz', 'baz')); + +// Nest styles +log(chalk.red('Hello', chalk.underline.bgBlue('world') + '!')); + +// Nest styles of the same type even (color, underline, background) +log(chalk.green( + 'I am a green line ' + + chalk.blue.underline.bold('with a blue substring') + + ' that becomes green again!' +)); + +// ES2015 template literal +log(` +CPU: ${chalk.red('90%')} +RAM: ${chalk.green('40%')} +DISK: ${chalk.yellow('70%')} +`); + +// ES2015 tagged template literal +log(chalk` +CPU: {red ${cpu.totalPercent}%} +RAM: {green ${ram.used / ram.total * 100}%} +DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%} +`); + +// Use RGB colors in terminal emulators that support it. +log(chalk.keyword('orange')('Yay for orange colored text!')); +log(chalk.rgb(123, 45, 67).underline('Underlined reddish color')); +log(chalk.hex('#DEADED').bold('Bold gray!')); +``` + +Easily define your own themes: + +```js +const chalk = require('chalk'); + +const error = chalk.bold.red; +const warning = chalk.keyword('orange'); + +console.log(error('Error!')); +console.log(warning('Warning!')); +``` + +Take advantage of console.log [string substitution](https://nodejs.org/docs/latest/api/console.html#console_console_log_data_args): + +```js +const name = 'Sindre'; +console.log(chalk.green('Hello %s'), name); +//=> 'Hello Sindre' +``` + + +## API + +### chalk.` + + +
+
+

+ all files __root__/ +

+
+
+ 77.03% + Statements + 57/74 +
+
+ 57.14% + Branches + 28/49 +
+
+ 93.33% + Functions + 14/15 +
+
+ 79.1% + Lines + 53/67 +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FileStatementsBranchesFunctionsLines
mute.js
77.03%57/7457.14%28/4993.33%14/1579.1%53/67
+
+
+ + + + + + + diff --git a/node_modules/mute-stream/coverage/lcov-report/__root__/mute.js.html b/node_modules/mute-stream/coverage/lcov-report/__root__/mute.js.html new file mode 100644 index 00000000..375a8326 --- /dev/null +++ b/node_modules/mute-stream/coverage/lcov-report/__root__/mute.js.html @@ -0,0 +1,500 @@ + + + + Code coverage report for mute.js + + + + + + + +
+
+

+ all files / __root__/ mute.js +

+
+
+ 77.03% + Statements + 57/74 +
+
+ 57.14% + Branches + 28/49 +
+
+ 93.33% + Functions + 14/15 +
+
+ 79.1% + Lines + 53/67 +
+
+
+
+

+
+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72 +73 +74 +75 +76 +77 +78 +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89 +90 +91 +92 +93 +94 +95 +96 +97 +98 +99 +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 +110 +111 +112 +113 +114 +115 +116 +117 +118 +119 +120 +121 +122 +123 +124 +125 +126 +127 +128 +129 +130 +131 +132 +133 +134 +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +  + +  +  +  + + + + + + + +  +  +  +  + + +  +  + +  + +  +  +  +  + +10× +  +  + + +  +  + +  +  +  +  +  +  + + +  +  + +  +  +  +  +  +  + + +  +  +  +  +  +  + + +  +  +  +  +  +  +  + +  + +  +  +  +  + +  + +  +  +  +  +  + + + +  +  + + +  +  + + +  +  + +25× +13× + +  +  +  +  +  +  +  +  + +  +  +  +  +  + +  +  +20× +  +  + + + +  +  + +  +  + + +  +  + +  +  +  +  +  +  + + + + 
var Stream = require('stream')
+ 
+module.exports = MuteStream
+ 
+// var out = new MuteStream(process.stdout)
+// argument auto-pipes
+function MuteStream (opts) {
+  Stream.apply(this)
+  opts = opts || {}
+  this.writable = this.readable = true
+  this.muted = false
+  this.on('pipe', this._onpipe)
+  this.replace = opts.replace
+ 
+  // For readline-type situations
+  // This much at the start of a line being redrawn after a ctrl char
+  // is seen (such as backspace) won't be redrawn as the replacement
+  this._prompt = opts.prompt || null
+  this._hadControl = false
+}
+ 
+MuteStream.prototype = Object.create(Stream.prototype)
+ 
+Object.defineProperty(MuteStream.prototype, 'constructor', {
+  value: MuteStream,
+  enumerable: false
+})
+ 
+MuteStream.prototype.mute = function () {
+  this.muted = true
+}
+ 
+MuteStream.prototype.unmute = function () {
+  this.muted = false
+}
+ 
+Object.defineProperty(MuteStream.prototype, '_onpipe', {
+  value: onPipe,
+  enumerable: false,
+  writable: true,
+  configurable: true
+})
+ 
+function onPipe (src) {
+  this._src = src
+}
+ 
+Object.defineProperty(MuteStream.prototype, 'isTTY', {
+  get: getIsTTY,
+  set: setIsTTY,
+  enumerable: true,
+  configurable: true
+})
+ 
+function getIsTTY () {
+  return( (this._dest) ? this._dest.isTTY
+        : (this._src) ? this._src.isTTY
+        : false
+        )
+}
+ 
+// basically just get replace the getter/setter with a regular value
+function setIsTTY (isTTY) {
+  Object.defineProperty(this, 'isTTY', {
+    value: isTTY,
+    enumerable: true,
+    writable: true,
+    configurable: true
+  })
+}
+ 
+Object.defineProperty(MuteStream.prototype, 'rows', {
+  get: function () {
+    return( this._dest ? this._dest.rows
+          : this._src ? this._src.rows
+          : undefined )
+  }, enumerable: true, configurable: true })
+ 
+Object.defineProperty(MuteStream.prototype, 'columns', {
+  get: function () {
+    return( this._dest ? this._dest.columns
+          : this._src ? this._src.columns
+          : undefined )
+  }, enumerable: true, configurable: true })
+ 
+ 
+MuteStream.prototype.pipe = function (dest, options) {
+  this._dest = dest
+  return Stream.prototype.pipe.call(this, dest, options)
+}
+ 
+MuteStream.prototype.pause = function () {
+  Eif (this._src) return this._src.pause()
+}
+ 
+MuteStream.prototype.resume = function () {
+  Eif (this._src) return this._src.resume()
+}
+ 
+MuteStream.prototype.write = function (c) {
+  if (this.muted) {
+    if (!this.replace) return true
+    Iif (c.match(/^\u001b/)) {
+      if(c.indexOf(this._prompt) === 0) {
+        c = c.substr(this._prompt.length);
+        c = c.replace(/./g, this.replace);
+        c = this._prompt + c;
+      }
+      this._hadControl = true
+      return this.emit('data', c)
+    } else {
+      Iif (this._prompt && this._hadControl &&
+          c.indexOf(this._prompt) === 0) {
+        this._hadControl = false
+        this.emit('data', this._prompt)
+        c = c.substr(this._prompt.length)
+      }
+      c = c.toString().replace(/./g, this.replace)
+    }
+  }
+  this.emit('data', c)
+}
+ 
+MuteStream.prototype.end = function (c) {
+  Eif (this.muted) {
+    Iif (c && this.replace) {
+      c = c.toString().replace(/./g, this.replace)
+    } else {
+      c = null
+    }
+  }
+  Iif (c) this.emit('data', c)
+  this.emit('end')
+}
+ 
+function proxy (fn) { return function () {
+  var d = this._dest
+  var s = this._src
+  if (d && d[fn]) d[fn].apply(d, arguments)
+  if (s && s[fn]) s[fn].apply(s, arguments)
+}}
+ 
+MuteStream.prototype.destroy = proxy('destroy')
+MuteStream.prototype.destroySoon = proxy('destroySoon')
+MuteStream.prototype.close = proxy('close')
+ 
+
+
+ + + + + + + diff --git a/node_modules/mute-stream/coverage/lcov-report/base.css b/node_modules/mute-stream/coverage/lcov-report/base.css new file mode 100644 index 00000000..0c0571da --- /dev/null +++ b/node_modules/mute-stream/coverage/lcov-report/base.css @@ -0,0 +1,212 @@ +body, html { + margin:0; padding: 0; + height: 100%; +} +body { + font-family: Helvetica Neue, Helvetica, Arial; + font-size: 14px; + color:#333; +} +.small { font-size: 12px;; } +*, *:after, *:before { + -webkit-box-sizing:border-box; + -moz-box-sizing:border-box; + box-sizing:border-box; + } +h1 { font-size: 20px; margin: 0;} +h2 { font-size: 14px; } +pre { + font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace; + margin: 0; + padding: 0; + -moz-tab-size: 2; + -o-tab-size: 2; + tab-size: 2; +} +a { color:#0074D9; text-decoration:none; } +a:hover { text-decoration:underline; } +.strong { font-weight: bold; } +.space-top1 { padding: 10px 0 0 0; } +.pad2y { padding: 20px 0; } +.pad1y { padding: 10px 0; } +.pad2x { padding: 0 20px; } +.pad2 { padding: 20px; } +.pad1 { padding: 10px; } +.space-left2 { padding-left:55px; } +.space-right2 { padding-right:20px; } +.center { text-align:center; } +.clearfix { display:block; } +.clearfix:after { + content:''; + display:block; + height:0; + clear:both; + visibility:hidden; + } +.fl { float: left; } +@media only screen and (max-width:640px) { + .col3 { width:100%; max-width:100%; } + .hide-mobile { display:none!important; } +} + +.quiet { + color: #7f7f7f; + color: rgba(0,0,0,0.5); +} +.quiet a { opacity: 0.7; } + +.fraction { + font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; + font-size: 10px; + color: #555; + background: #E8E8E8; + padding: 4px 5px; + border-radius: 3px; + vertical-align: middle; +} + +div.path a:link, div.path a:visited { color: #333; } +table.coverage { + border-collapse: collapse; + margin: 10px 0 0 0; + padding: 0; +} + +table.coverage td { + margin: 0; + padding: 0; + vertical-align: top; +} +table.coverage td.line-count { + text-align: right; + padding: 0 5px 0 20px; +} +table.coverage td.line-coverage { + text-align: right; + padding-right: 10px; + min-width:20px; +} + +table.coverage td span.cline-any { + display: inline-block; + padding: 0 5px; + width: 100%; +} +.missing-if-branch { + display: inline-block; + margin-right: 5px; + border-radius: 3px; + position: relative; + padding: 0 4px; + background: #333; + color: yellow; +} + +.skip-if-branch { + display: none; + margin-right: 10px; + position: relative; + padding: 0 4px; + background: #ccc; + color: white; +} +.missing-if-branch .typ, .skip-if-branch .typ { + color: inherit !important; +} +.coverage-summary { + border-collapse: collapse; + width: 100%; +} +.coverage-summary tr { border-bottom: 1px solid #bbb; } +.keyline-all { border: 1px solid #ddd; } +.coverage-summary td, .coverage-summary th { padding: 10px; } +.coverage-summary tbody { border: 1px solid #bbb; } +.coverage-summary td { border-right: 1px solid #bbb; } +.coverage-summary td:last-child { border-right: none; } +.coverage-summary th { + text-align: left; + font-weight: normal; + white-space: nowrap; +} +.coverage-summary th.file { border-right: none !important; } +.coverage-summary th.pct { } +.coverage-summary th.pic, +.coverage-summary th.abs, +.coverage-summary td.pct, +.coverage-summary td.abs { text-align: right; } +.coverage-summary td.file { white-space: nowrap; } +.coverage-summary td.pic { min-width: 120px !important; } +.coverage-summary tfoot td { } + +.coverage-summary .sorter { + height: 10px; + width: 7px; + display: inline-block; + margin-left: 0.5em; + background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent; +} +.coverage-summary .sorted .sorter { + background-position: 0 -20px; +} +.coverage-summary .sorted-desc .sorter { + background-position: 0 -10px; +} +.status-line { height: 10px; } +/* dark red */ +.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 } +.low .chart { border:1px solid #C21F39 } +/* medium red */ +.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE } +/* light red */ +.low, .cline-no { background:#FCE1E5 } +/* light green */ +.high, .cline-yes { background:rgb(230,245,208) } +/* medium green */ +.cstat-yes { background:rgb(161,215,106) } +/* dark green */ +.status-line.high, .high .cover-fill { background:rgb(77,146,33) } +.high .chart { border:1px solid rgb(77,146,33) } + + +.medium .chart { border:1px solid #666; } +.medium .cover-fill { background: #666; } + +.cbranch-no { background: yellow !important; color: #111; } + +.cstat-skip { background: #ddd; color: #111; } +.fstat-skip { background: #ddd; color: #111 !important; } +.cbranch-skip { background: #ddd !important; color: #111; } + +span.cline-neutral { background: #eaeaea; } +.medium { background: #eaeaea; } + +.cover-fill, .cover-empty { + display:inline-block; + height: 12px; +} +.chart { + line-height: 0; +} +.cover-empty { + background: white; +} +.cover-full { + border-right: none !important; +} +pre.prettyprint { + border: none !important; + padding: 0 !important; + margin: 0 !important; +} +.com { color: #999 !important; } +.ignore-none { color: #999; font-weight: normal; } + +.wrapper { + min-height: 100%; + height: auto !important; + height: 100%; + margin: 0 auto -48px; +} +.footer, .push { + height: 48px; +} diff --git a/node_modules/mute-stream/coverage/lcov-report/index.html b/node_modules/mute-stream/coverage/lcov-report/index.html new file mode 100644 index 00000000..17d7a760 --- /dev/null +++ b/node_modules/mute-stream/coverage/lcov-report/index.html @@ -0,0 +1,93 @@ + + + + Code coverage report for All files + + + + + + + +
+
+

+ / +

+
+
+ 77.03% + Statements + 57/74 +
+
+ 57.14% + Branches + 28/49 +
+
+ 93.33% + Functions + 14/15 +
+
+ 79.1% + Lines + 53/67 +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FileStatementsBranchesFunctionsLines
__root__/
77.03%57/7457.14%28/4993.33%14/1579.1%53/67
+
+
+ + + + + + + diff --git a/node_modules/mute-stream/coverage/lcov-report/prettify.css b/node_modules/mute-stream/coverage/lcov-report/prettify.css new file mode 100644 index 00000000..b317a7cd --- /dev/null +++ b/node_modules/mute-stream/coverage/lcov-report/prettify.css @@ -0,0 +1 @@ +.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee} diff --git a/node_modules/mute-stream/coverage/lcov-report/prettify.js b/node_modules/mute-stream/coverage/lcov-report/prettify.js new file mode 100644 index 00000000..ef51e038 --- /dev/null +++ b/node_modules/mute-stream/coverage/lcov-report/prettify.js @@ -0,0 +1 @@ +window.PR_SHOULD_USE_CONTINUATION=true;(function(){var h=["break,continue,do,else,for,if,return,while"];var u=[h,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"];var p=[u,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"];var l=[p,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"];var x=[p,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"];var R=[x,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"];var r="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes";var w=[p,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"];var s="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END";var I=[h,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"];var f=[h,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"];var H=[h,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"];var A=[l,R,w,s+I,f,H];var e=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/;var C="str";var z="kwd";var j="com";var O="typ";var G="lit";var L="pun";var F="pln";var m="tag";var E="dec";var J="src";var P="atn";var n="atv";var N="nocode";var M="(?:^^\\.?|[+-]|\\!|\\!=|\\!==|\\#|\\%|\\%=|&|&&|&&=|&=|\\(|\\*|\\*=|\\+=|\\,|\\-=|\\->|\\/|\\/=|:|::|\\;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\@|\\[|\\^|\\^=|\\^\\^|\\^\\^=|\\{|\\||\\|=|\\|\\||\\|\\|=|\\~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function k(Z){var ad=0;var S=false;var ac=false;for(var V=0,U=Z.length;V122)){if(!(al<65||ag>90)){af.push([Math.max(65,ag)|32,Math.min(al,90)|32])}if(!(al<97||ag>122)){af.push([Math.max(97,ag)&~32,Math.min(al,122)&~32])}}}}af.sort(function(av,au){return(av[0]-au[0])||(au[1]-av[1])});var ai=[];var ap=[NaN,NaN];for(var ar=0;arat[0]){if(at[1]+1>at[0]){an.push("-")}an.push(T(at[1]))}}an.push("]");return an.join("")}function W(al){var aj=al.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g"));var ah=aj.length;var an=[];for(var ak=0,am=0;ak=2&&ai==="["){aj[ak]=X(ag)}else{if(ai!=="\\"){aj[ak]=ag.replace(/[a-zA-Z]/g,function(ao){var ap=ao.charCodeAt(0);return"["+String.fromCharCode(ap&~32,ap|32)+"]"})}}}}return aj.join("")}var aa=[];for(var V=0,U=Z.length;V=0;){S[ac.charAt(ae)]=Y}}var af=Y[1];var aa=""+af;if(!ag.hasOwnProperty(aa)){ah.push(af);ag[aa]=null}}ah.push(/[\0-\uffff]/);V=k(ah)})();var X=T.length;var W=function(ah){var Z=ah.sourceCode,Y=ah.basePos;var ad=[Y,F];var af=0;var an=Z.match(V)||[];var aj={};for(var ae=0,aq=an.length;ae=5&&"lang-"===ap.substring(0,5);if(am&&!(ai&&typeof ai[1]==="string")){am=false;ap=J}if(!am){aj[ag]=ap}}var ab=af;af+=ag.length;if(!am){ad.push(Y+ab,ap)}else{var al=ai[1];var ak=ag.indexOf(al);var ac=ak+al.length;if(ai[2]){ac=ag.length-ai[2].length;ak=ac-al.length}var ar=ap.substring(5);B(Y+ab,ag.substring(0,ak),W,ad);B(Y+ab+ak,al,q(ar,al),ad);B(Y+ab+ac,ag.substring(ac),W,ad)}}ah.decorations=ad};return W}function i(T){var W=[],S=[];if(T.tripleQuotedStrings){W.push([C,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""])}else{if(T.multiLineStrings){W.push([C,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"])}else{W.push([C,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"])}}if(T.verbatimStrings){S.push([C,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null])}var Y=T.hashComments;if(Y){if(T.cStyleComments){if(Y>1){W.push([j,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"])}else{W.push([j,/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"])}S.push([C,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,null])}else{W.push([j,/^#[^\r\n]*/,null,"#"])}}if(T.cStyleComments){S.push([j,/^\/\/[^\r\n]*/,null]);S.push([j,/^\/\*[\s\S]*?(?:\*\/|$)/,null])}if(T.regexLiterals){var X=("/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/");S.push(["lang-regex",new RegExp("^"+M+"("+X+")")])}var V=T.types;if(V){S.push([O,V])}var U=(""+T.keywords).replace(/^ | $/g,"");if(U.length){S.push([z,new RegExp("^(?:"+U.replace(/[\s,]+/g,"|")+")\\b"),null])}W.push([F,/^\s+/,null," \r\n\t\xA0"]);S.push([G,/^@[a-z_$][a-z_$@0-9]*/i,null],[O,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[F,/^[a-z_$][a-z_$@0-9]*/i,null],[G,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[F,/^\\[\s\S]?/,null],[L,/^.[^\s\w\.$@\'\"\`\/\#\\]*/,null]);return g(W,S)}var K=i({keywords:A,hashComments:true,cStyleComments:true,multiLineStrings:true,regexLiterals:true});function Q(V,ag){var U=/(?:^|\s)nocode(?:\s|$)/;var ab=/\r\n?|\n/;var ac=V.ownerDocument;var S;if(V.currentStyle){S=V.currentStyle.whiteSpace}else{if(window.getComputedStyle){S=ac.defaultView.getComputedStyle(V,null).getPropertyValue("white-space")}}var Z=S&&"pre"===S.substring(0,3);var af=ac.createElement("LI");while(V.firstChild){af.appendChild(V.firstChild)}var W=[af];function ae(al){switch(al.nodeType){case 1:if(U.test(al.className)){break}if("BR"===al.nodeName){ad(al);if(al.parentNode){al.parentNode.removeChild(al)}}else{for(var an=al.firstChild;an;an=an.nextSibling){ae(an)}}break;case 3:case 4:if(Z){var am=al.nodeValue;var aj=am.match(ab);if(aj){var ai=am.substring(0,aj.index);al.nodeValue=ai;var ah=am.substring(aj.index+aj[0].length);if(ah){var ak=al.parentNode;ak.insertBefore(ac.createTextNode(ah),al.nextSibling)}ad(al);if(!ai){al.parentNode.removeChild(al)}}}break}}function ad(ak){while(!ak.nextSibling){ak=ak.parentNode;if(!ak){return}}function ai(al,ar){var aq=ar?al.cloneNode(false):al;var ao=al.parentNode;if(ao){var ap=ai(ao,1);var an=al.nextSibling;ap.appendChild(aq);for(var am=an;am;am=an){an=am.nextSibling;ap.appendChild(am)}}return aq}var ah=ai(ak.nextSibling,0);for(var aj;(aj=ah.parentNode)&&aj.nodeType===1;){ah=aj}W.push(ah)}for(var Y=0;Y=S){ah+=2}if(V>=ap){Z+=2}}}var t={};function c(U,V){for(var S=V.length;--S>=0;){var T=V[S];if(!t.hasOwnProperty(T)){t[T]=U}else{if(window.console){console.warn("cannot override language handler %s",T)}}}}function q(T,S){if(!(T&&t.hasOwnProperty(T))){T=/^\s*]*(?:>|$)/],[j,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[L,/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);c(g([[F,/^[\s]+/,null," \t\r\n"],[n,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[[m,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[P,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[L,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]);c(g([],[[n,/^[\s\S]+/]]),["uq.val"]);c(i({keywords:l,hashComments:true,cStyleComments:true,types:e}),["c","cc","cpp","cxx","cyc","m"]);c(i({keywords:"null,true,false"}),["json"]);c(i({keywords:R,hashComments:true,cStyleComments:true,verbatimStrings:true,types:e}),["cs"]);c(i({keywords:x,cStyleComments:true}),["java"]);c(i({keywords:H,hashComments:true,multiLineStrings:true}),["bsh","csh","sh"]);c(i({keywords:I,hashComments:true,multiLineStrings:true,tripleQuotedStrings:true}),["cv","py"]);c(i({keywords:s,hashComments:true,multiLineStrings:true,regexLiterals:true}),["perl","pl","pm"]);c(i({keywords:f,hashComments:true,multiLineStrings:true,regexLiterals:true}),["rb"]);c(i({keywords:w,cStyleComments:true,regexLiterals:true}),["js"]);c(i({keywords:r,hashComments:3,cStyleComments:true,multilineStrings:true,tripleQuotedStrings:true,regexLiterals:true}),["coffee"]);c(g([],[[C,/^[\s\S]+/]]),["regex"]);function d(V){var U=V.langExtension;try{var S=a(V.sourceNode);var T=S.sourceCode;V.sourceCode=T;V.spans=S.spans;V.basePos=0;q(U,T)(V);D(V)}catch(W){if("console" in window){console.log(W&&W.stack?W.stack:W)}}}function y(W,V,U){var S=document.createElement("PRE");S.innerHTML=W;if(U){Q(S,U)}var T={langExtension:V,numberLines:U,sourceNode:S};d(T);return S.innerHTML}function b(ad){function Y(af){return document.getElementsByTagName(af)}var ac=[Y("pre"),Y("code"),Y("xmp")];var T=[];for(var aa=0;aa=0){var ah=ai.match(ab);var am;if(!ah&&(am=o(aj))&&"CODE"===am.tagName){ah=am.className.match(ab)}if(ah){ah=ah[1]}var al=false;for(var ak=aj.parentNode;ak;ak=ak.parentNode){if((ak.tagName==="pre"||ak.tagName==="code"||ak.tagName==="xmp")&&ak.className&&ak.className.indexOf("prettyprint")>=0){al=true;break}}if(!al){var af=aj.className.match(/\blinenums\b(?::(\d+))?/);af=af?af[1]&&af[1].length?+af[1]:true:false;if(af){Q(aj,af)}S={langExtension:ah,sourceNode:aj,numberLines:af};d(S)}}}if(X]*(?:>|$)/],[PR.PR_COMMENT,/^<\!--[\s\S]*?(?:-\->|$)/],[PR.PR_PUNCTUATION,/^(?:<[%?]|[%?]>)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-handlebars",/^]*type\s*=\s*['"]?text\/x-handlebars-template['"]?\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i],[PR.PR_DECLARATION,/^{{[#^>/]?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{&?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{{>?\s*[\w.][^}]*}}}/],[PR.PR_COMMENT,/^{{![^}]*}}/]]),["handlebars","hbs"]);PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_PLAIN,/^[ \t\r\n\f]+/,null," \t\r\n\f"]],[[PR.PR_STRING,/^\"(?:[^\n\r\f\\\"]|\\(?:\r\n?|\n|\f)|\\[\s\S])*\"/,null],[PR.PR_STRING,/^\'(?:[^\n\r\f\\\']|\\(?:\r\n?|\n|\f)|\\[\s\S])*\'/,null],["lang-css-str",/^url\(([^\)\"\']*)\)/i],[PR.PR_KEYWORD,/^(?:url|rgb|\!important|@import|@page|@media|@charset|inherit)(?=[^\-\w]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|(?:\\[0-9a-f]+ ?))(?:[_a-z0-9\-]|\\(?:\\[0-9a-f]+ ?))*)\s*:/i],[PR.PR_COMMENT,/^\/\*[^*]*\*+(?:[^\/*][^*]*\*+)*\//],[PR.PR_COMMENT,/^(?:)/],[PR.PR_LITERAL,/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],[PR.PR_LITERAL,/^#(?:[0-9a-f]{3}){1,2}/i],[PR.PR_PLAIN,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i],[PR.PR_PUNCTUATION,/^[^\s\w\'\"]+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_KEYWORD,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_STRING,/^[^\)\"\']+/]]),["css-str"]); diff --git a/node_modules/mute-stream/coverage/lcov-report/sort-arrow-sprite.png b/node_modules/mute-stream/coverage/lcov-report/sort-arrow-sprite.png new file mode 100644 index 0000000000000000000000000000000000000000..03f704a609c6fd0dbfdac63466a7d7c958b5cbf3 GIT binary patch literal 209 zcmeAS@N?(olHy`uVBq!ia0vp^>_9Bd!3HEZxJ@+%Qj#UE5hcO-X(i=}MX3yqDfvmM z3ZA)%>8U}fi7AzZCsS>Jii$m5978H@?Fn+^JD|Y9yzj{W`447Gxa{7*dM7nnnD-Lb z6^}Hx2)'; + } + } + return cols; + } + // attaches a data attribute to every tr element with an object + // of data values keyed by column name + function loadRowData(tableRow) { + var tableCols = tableRow.querySelectorAll('td'), + colNode, + col, + data = {}, + i, + val; + for (i = 0; i < tableCols.length; i += 1) { + colNode = tableCols[i]; + col = cols[i]; + val = colNode.getAttribute('data-value'); + if (col.type === 'number') { + val = Number(val); + } + data[col.key] = val; + } + return data; + } + // loads all row data + function loadData() { + var rows = getTableBody().querySelectorAll('tr'), + i; + + for (i = 0; i < rows.length; i += 1) { + rows[i].data = loadRowData(rows[i]); + } + } + // sorts the table using the data for the ith column + function sortByIndex(index, desc) { + var key = cols[index].key, + sorter = function (a, b) { + a = a.data[key]; + b = b.data[key]; + return a < b ? -1 : a > b ? 1 : 0; + }, + finalSorter = sorter, + tableBody = document.querySelector('.coverage-summary tbody'), + rowNodes = tableBody.querySelectorAll('tr'), + rows = [], + i; + + if (desc) { + finalSorter = function (a, b) { + return -1 * sorter(a, b); + }; + } + + for (i = 0; i < rowNodes.length; i += 1) { + rows.push(rowNodes[i]); + tableBody.removeChild(rowNodes[i]); + } + + rows.sort(finalSorter); + + for (i = 0; i < rows.length; i += 1) { + tableBody.appendChild(rows[i]); + } + } + // removes sort indicators for current column being sorted + function removeSortIndicators() { + var col = getNthColumn(currentSort.index), + cls = col.className; + + cls = cls.replace(/ sorted$/, '').replace(/ sorted-desc$/, ''); + col.className = cls; + } + // adds sort indicators for current column being sorted + function addSortIndicators() { + getNthColumn(currentSort.index).className += currentSort.desc ? ' sorted-desc' : ' sorted'; + } + // adds event listeners for all sorter widgets + function enableUI() { + var i, + el, + ithSorter = function ithSorter(i) { + var col = cols[i]; + + return function () { + var desc = col.defaultDescSort; + + if (currentSort.index === i) { + desc = !currentSort.desc; + } + sortByIndex(i, desc); + removeSortIndicators(); + currentSort.index = i; + currentSort.desc = desc; + addSortIndicators(); + }; + }; + for (i =0 ; i < cols.length; i += 1) { + if (cols[i].sortable) { + // add the click event handler on the th so users + // dont have to click on those tiny arrows + el = getNthColumn(i).querySelector('.sorter').parentElement; + if (el.addEventListener) { + el.addEventListener('click', ithSorter(i)); + } else { + el.attachEvent('onclick', ithSorter(i)); + } + } + } + } + // adds sorting functionality to the UI + return function () { + if (!getTable()) { + return; + } + cols = loadColumns(); + loadData(cols); + addSortIndicators(); + enableUI(); + }; +})(); + +window.addEventListener('load', addSorting); diff --git a/node_modules/mute-stream/coverage/lcov.info b/node_modules/mute-stream/coverage/lcov.info new file mode 100644 index 00000000..5f2a58e4 --- /dev/null +++ b/node_modules/mute-stream/coverage/lcov.info @@ -0,0 +1,155 @@ +TN: +SF:./mute.js +FN:7,MuteStream +FN:29,(anonymous_2) +FN:33,(anonymous_3) +FN:44,onPipe +FN:55,getIsTTY +FN:63,setIsTTY +FN:73,(anonymous_7) +FN:80,(anonymous_8) +FN:87,(anonymous_9) +FN:92,(anonymous_10) +FN:96,(anonymous_11) +FN:100,(anonymous_12) +FN:124,(anonymous_13) +FN:136,proxy +FN:136,(anonymous_15) +FNF:15 +FNH:14 +FNDA:7,MuteStream +FNDA:10,(anonymous_2) +FNDA:6,(anonymous_3) +FNDA:5,onPipe +FNDA:8,getIsTTY +FNDA:2,setIsTTY +FNDA:5,(anonymous_7) +FNDA:5,(anonymous_8) +FNDA:2,(anonymous_9) +FNDA:2,(anonymous_10) +FNDA:2,(anonymous_11) +FNDA:25,(anonymous_12) +FNDA:2,(anonymous_13) +FNDA:3,proxy +FNDA:0,(anonymous_15) +DA:1,1 +DA:3,1 +DA:7,1 +DA:8,7 +DA:9,7 +DA:10,7 +DA:11,7 +DA:12,7 +DA:13,7 +DA:18,7 +DA:19,7 +DA:22,1 +DA:24,1 +DA:29,1 +DA:30,10 +DA:33,1 +DA:34,6 +DA:37,1 +DA:44,1 +DA:45,5 +DA:48,1 +DA:55,1 +DA:56,8 +DA:63,1 +DA:64,2 +DA:72,1 +DA:74,5 +DA:79,1 +DA:81,5 +DA:87,1 +DA:88,2 +DA:89,2 +DA:92,1 +DA:93,2 +DA:96,1 +DA:97,2 +DA:100,1 +DA:101,25 +DA:102,13 +DA:103,8 +DA:104,0 +DA:105,0 +DA:106,0 +DA:107,0 +DA:109,0 +DA:110,0 +DA:112,8 +DA:114,0 +DA:115,0 +DA:116,0 +DA:118,8 +DA:121,20 +DA:124,1 +DA:125,2 +DA:126,2 +DA:127,0 +DA:129,2 +DA:132,2 +DA:133,2 +DA:136,3 +DA:137,0 +DA:138,0 +DA:139,0 +DA:140,0 +DA:143,1 +DA:144,1 +DA:145,1 +LF:67 +LH:53 +BRDA:9,1,0,7 +BRDA:9,1,1,5 +BRDA:18,2,0,7 +BRDA:18,2,1,7 +BRDA:56,3,0,3 +BRDA:56,3,1,5 +BRDA:57,4,0,3 +BRDA:57,4,1,2 +BRDA:74,5,0,4 +BRDA:74,5,1,1 +BRDA:75,6,0,0 +BRDA:75,6,1,1 +BRDA:81,7,0,4 +BRDA:81,7,1,1 +BRDA:82,8,0,0 +BRDA:82,8,1,1 +BRDA:93,9,0,2 +BRDA:93,9,1,0 +BRDA:97,10,0,2 +BRDA:97,10,1,0 +BRDA:101,11,0,13 +BRDA:101,11,1,12 +BRDA:102,12,0,5 +BRDA:102,12,1,8 +BRDA:103,13,0,0 +BRDA:103,13,1,8 +BRDA:104,14,0,0 +BRDA:104,14,1,0 +BRDA:112,15,0,0 +BRDA:112,15,1,8 +BRDA:112,16,0,8 +BRDA:112,16,1,0 +BRDA:112,16,2,0 +BRDA:125,17,0,2 +BRDA:125,17,1,0 +BRDA:126,18,0,0 +BRDA:126,18,1,2 +BRDA:126,19,0,2 +BRDA:126,19,1,1 +BRDA:132,20,0,0 +BRDA:132,20,1,2 +BRDA:139,21,0,0 +BRDA:139,21,1,0 +BRDA:139,22,0,0 +BRDA:139,22,1,0 +BRDA:140,23,0,0 +BRDA:140,23,1,0 +BRDA:140,24,0,0 +BRDA:140,24,1,0 +BRF:49 +BRH:28 +end_of_record diff --git a/node_modules/mute-stream/mute.js b/node_modules/mute-stream/mute.js new file mode 100644 index 00000000..a24fc099 --- /dev/null +++ b/node_modules/mute-stream/mute.js @@ -0,0 +1,145 @@ +var Stream = require('stream') + +module.exports = MuteStream + +// var out = new MuteStream(process.stdout) +// argument auto-pipes +function MuteStream (opts) { + Stream.apply(this) + opts = opts || {} + this.writable = this.readable = true + this.muted = false + this.on('pipe', this._onpipe) + this.replace = opts.replace + + // For readline-type situations + // This much at the start of a line being redrawn after a ctrl char + // is seen (such as backspace) won't be redrawn as the replacement + this._prompt = opts.prompt || null + this._hadControl = false +} + +MuteStream.prototype = Object.create(Stream.prototype) + +Object.defineProperty(MuteStream.prototype, 'constructor', { + value: MuteStream, + enumerable: false +}) + +MuteStream.prototype.mute = function () { + this.muted = true +} + +MuteStream.prototype.unmute = function () { + this.muted = false +} + +Object.defineProperty(MuteStream.prototype, '_onpipe', { + value: onPipe, + enumerable: false, + writable: true, + configurable: true +}) + +function onPipe (src) { + this._src = src +} + +Object.defineProperty(MuteStream.prototype, 'isTTY', { + get: getIsTTY, + set: setIsTTY, + enumerable: true, + configurable: true +}) + +function getIsTTY () { + return( (this._dest) ? this._dest.isTTY + : (this._src) ? this._src.isTTY + : false + ) +} + +// basically just get replace the getter/setter with a regular value +function setIsTTY (isTTY) { + Object.defineProperty(this, 'isTTY', { + value: isTTY, + enumerable: true, + writable: true, + configurable: true + }) +} + +Object.defineProperty(MuteStream.prototype, 'rows', { + get: function () { + return( this._dest ? this._dest.rows + : this._src ? this._src.rows + : undefined ) + }, enumerable: true, configurable: true }) + +Object.defineProperty(MuteStream.prototype, 'columns', { + get: function () { + return( this._dest ? this._dest.columns + : this._src ? this._src.columns + : undefined ) + }, enumerable: true, configurable: true }) + + +MuteStream.prototype.pipe = function (dest, options) { + this._dest = dest + return Stream.prototype.pipe.call(this, dest, options) +} + +MuteStream.prototype.pause = function () { + if (this._src) return this._src.pause() +} + +MuteStream.prototype.resume = function () { + if (this._src) return this._src.resume() +} + +MuteStream.prototype.write = function (c) { + if (this.muted) { + if (!this.replace) return true + if (c.match(/^\u001b/)) { + if(c.indexOf(this._prompt) === 0) { + c = c.substr(this._prompt.length); + c = c.replace(/./g, this.replace); + c = this._prompt + c; + } + this._hadControl = true + return this.emit('data', c) + } else { + if (this._prompt && this._hadControl && + c.indexOf(this._prompt) === 0) { + this._hadControl = false + this.emit('data', this._prompt) + c = c.substr(this._prompt.length) + } + c = c.toString().replace(/./g, this.replace) + } + } + this.emit('data', c) +} + +MuteStream.prototype.end = function (c) { + if (this.muted) { + if (c && this.replace) { + c = c.toString().replace(/./g, this.replace) + } else { + c = null + } + } + if (c) this.emit('data', c) + this.emit('end') +} + +function proxy (fn) { return function () { + var d = this._dest + var s = this._src + if (d && d[fn]) d[fn].apply(d, arguments) + if (s && s[fn]) s[fn].apply(s, arguments) +}} + +MuteStream.prototype.destroy = proxy('destroy') +MuteStream.prototype.destroySoon = proxy('destroySoon') +MuteStream.prototype.close = proxy('close') diff --git a/node_modules/mute-stream/package.json b/node_modules/mute-stream/package.json new file mode 100644 index 00000000..8541d77b --- /dev/null +++ b/node_modules/mute-stream/package.json @@ -0,0 +1,59 @@ +{ + "_from": "mute-stream@0.0.7", + "_id": "mute-stream@0.0.7", + "_inBundle": false, + "_integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", + "_location": "/mute-stream", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "mute-stream@0.0.7", + "name": "mute-stream", + "escapedName": "mute-stream", + "rawSpec": "0.0.7", + "saveSpec": null, + "fetchSpec": "0.0.7" + }, + "_requiredBy": [ + "/inquirer" + ], + "_resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", + "_shasum": "3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab", + "_spec": "mute-stream@0.0.7", + "_where": "/Users/lawrencewu/Dev/CR-MacroLabs-TypeScript-Casino/node_modules/inquirer", + "author": { + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": "http://blog.izs.me/" + }, + "bugs": { + "url": "https://github.com/isaacs/mute-stream/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Bytes go in, but they don't come out (when muted).", + "devDependencies": { + "tap": "^5.4.4" + }, + "directories": { + "test": "test" + }, + "homepage": "https://github.com/isaacs/mute-stream#readme", + "keywords": [ + "mute", + "stream", + "pipe" + ], + "license": "ISC", + "main": "mute.js", + "name": "mute-stream", + "repository": { + "type": "git", + "url": "git://github.com/isaacs/mute-stream.git" + }, + "scripts": { + "test": "tap test/*.js --cov" + }, + "version": "0.0.7" +} diff --git a/node_modules/mute-stream/test/basic.js b/node_modules/mute-stream/test/basic.js new file mode 100644 index 00000000..41f9e10c --- /dev/null +++ b/node_modules/mute-stream/test/basic.js @@ -0,0 +1,207 @@ +var Stream = require('stream') +var tap = require('tap') +var MS = require('../mute.js') + +// some marker objects +var END = {} +var PAUSE = {} +var RESUME = {} + +function PassThrough () { + Stream.call(this) + this.readable = this.writable = true +} + +PassThrough.prototype = Object.create(Stream.prototype, { + constructor: { + value: PassThrough + }, + write: { + value: function (c) { + this.emit('data', c) + return true + } + }, + end: { + value: function (c) { + if (c) this.write(c) + this.emit('end') + } + }, + pause: { + value: function () { + this.emit('pause') + } + }, + resume: { + value: function () { + this.emit('resume') + } + } +}) + +tap.test('incoming', function (t) { + var ms = new MS + var str = new PassThrough + str.pipe(ms) + + var expect = ['foo', 'boo', END] + ms.on('data', function (c) { + t.equal(c, expect.shift()) + }) + ms.on('end', function () { + t.equal(END, expect.shift()) + t.end() + }) + str.write('foo') + ms.mute() + str.write('bar') + ms.unmute() + str.write('boo') + ms.mute() + str.write('blaz') + str.end('grelb') +}) + +tap.test('outgoing', function (t) { + var ms = new MS + var str = new PassThrough + ms.pipe(str) + + var expect = ['foo', 'boo', END] + str.on('data', function (c) { + t.equal(c, expect.shift()) + }) + str.on('end', function () { + t.equal(END, expect.shift()) + t.end() + }) + + ms.write('foo') + ms.mute() + ms.write('bar') + ms.unmute() + ms.write('boo') + ms.mute() + ms.write('blaz') + ms.end('grelb') +}) + +tap.test('isTTY', function (t) { + var str = new PassThrough + str.isTTY = true + str.columns=80 + str.rows=24 + + var ms = new MS + t.equal(ms.isTTY, false) + t.equal(ms.columns, undefined) + t.equal(ms.rows, undefined) + ms.pipe(str) + t.equal(ms.isTTY, true) + t.equal(ms.columns, 80) + t.equal(ms.rows, 24) + str.isTTY = false + t.equal(ms.isTTY, false) + t.equal(ms.columns, 80) + t.equal(ms.rows, 24) + str.isTTY = true + t.equal(ms.isTTY, true) + t.equal(ms.columns, 80) + t.equal(ms.rows, 24) + ms.isTTY = false + t.equal(ms.isTTY, false) + t.equal(ms.columns, 80) + t.equal(ms.rows, 24) + + ms = new MS + t.equal(ms.isTTY, false) + str.pipe(ms) + t.equal(ms.isTTY, true) + str.isTTY = false + t.equal(ms.isTTY, false) + str.isTTY = true + t.equal(ms.isTTY, true) + ms.isTTY = false + t.equal(ms.isTTY, false) + + t.end() +}) + +tap.test('pause/resume incoming', function (t) { + var str = new PassThrough + var ms = new MS + str.on('pause', function () { + t.equal(PAUSE, expect.shift()) + }) + str.on('resume', function () { + t.equal(RESUME, expect.shift()) + }) + var expect = [PAUSE, RESUME, PAUSE, RESUME] + str.pipe(ms) + ms.pause() + ms.resume() + ms.pause() + ms.resume() + t.equal(expect.length, 0, 'saw all events') + t.end() +}) + +tap.test('replace with *', function (t) { + var str = new PassThrough + var ms = new MS({replace: '*'}) + str.pipe(ms) + var expect = ['foo', '*****', 'bar', '***', 'baz', 'boo', '**', '****'] + + ms.on('data', function (c) { + t.equal(c, expect.shift()) + }) + + str.write('foo') + ms.mute() + str.write('12345') + ms.unmute() + str.write('bar') + ms.mute() + str.write('baz') + ms.unmute() + str.write('baz') + str.write('boo') + ms.mute() + str.write('xy') + str.write('xyzΩ') + + t.equal(expect.length, 0) + t.end() +}) + +tap.test('replace with ~YARG~', function (t) { + var str = new PassThrough + var ms = new MS({replace: '~YARG~'}) + str.pipe(ms) + var expect = ['foo', '~YARG~~YARG~~YARG~~YARG~~YARG~', 'bar', + '~YARG~~YARG~~YARG~', 'baz', 'boo', '~YARG~~YARG~', + '~YARG~~YARG~~YARG~~YARG~'] + + ms.on('data', function (c) { + t.equal(c, expect.shift()) + }) + + // also throw some unicode in there, just for good measure. + str.write('foo') + ms.mute() + str.write('ΩΩ') + ms.unmute() + str.write('bar') + ms.mute() + str.write('Ω') + ms.unmute() + str.write('baz') + str.write('boo') + ms.mute() + str.write('Ω') + str.write('ΩΩ') + + t.equal(expect.length, 0) + t.end() +}) diff --git a/node_modules/onetime/index.js b/node_modules/onetime/index.js new file mode 100644 index 00000000..0d76476b --- /dev/null +++ b/node_modules/onetime/index.js @@ -0,0 +1,39 @@ +'use strict'; +const mimicFn = require('mimic-fn'); + +module.exports = (fn, opts) => { + // TODO: Remove this in v3 + if (opts === true) { + throw new TypeError('The second argument is now an options object'); + } + + if (typeof fn !== 'function') { + throw new TypeError('Expected a function'); + } + + opts = opts || {}; + + let ret; + let called = false; + const fnName = fn.displayName || fn.name || ''; + + const onetime = function () { + if (called) { + if (opts.throw === true) { + throw new Error(`Function \`${fnName}\` can only be called once`); + } + + return ret; + } + + called = true; + ret = fn.apply(this, arguments); + fn = null; + + return ret; + }; + + mimicFn(onetime, fn); + + return onetime; +}; diff --git a/node_modules/onetime/license b/node_modules/onetime/license new file mode 100644 index 00000000..654d0bfe --- /dev/null +++ b/node_modules/onetime/license @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_modules/onetime/package.json b/node_modules/onetime/package.json new file mode 100644 index 00000000..6aba44c4 --- /dev/null +++ b/node_modules/onetime/package.json @@ -0,0 +1,72 @@ +{ + "_from": "onetime@^2.0.0", + "_id": "onetime@2.0.1", + "_inBundle": false, + "_integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", + "_location": "/onetime", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "onetime@^2.0.0", + "name": "onetime", + "escapedName": "onetime", + "rawSpec": "^2.0.0", + "saveSpec": null, + "fetchSpec": "^2.0.0" + }, + "_requiredBy": [ + "/restore-cursor" + ], + "_resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", + "_shasum": "067428230fd67443b2794b22bba528b6867962d4", + "_spec": "onetime@^2.0.0", + "_where": "/Users/lawrencewu/Dev/CR-MacroLabs-TypeScript-Casino/node_modules/restore-cursor", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/onetime/issues" + }, + "bundleDependencies": false, + "dependencies": { + "mimic-fn": "^1.0.0" + }, + "deprecated": false, + "description": "Ensure a function is only called once", + "devDependencies": { + "ava": "*", + "xo": "*" + }, + "engines": { + "node": ">=4" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/sindresorhus/onetime#readme", + "keywords": [ + "once", + "function", + "one", + "onetime", + "func", + "fn", + "single", + "call", + "called", + "prevent" + ], + "license": "MIT", + "name": "onetime", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/onetime.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "2.0.1" +} diff --git a/node_modules/onetime/readme.md b/node_modules/onetime/readme.md new file mode 100644 index 00000000..95eb3b7c --- /dev/null +++ b/node_modules/onetime/readme.md @@ -0,0 +1,65 @@ +# onetime [![Build Status](https://travis-ci.org/sindresorhus/onetime.svg?branch=master)](https://travis-ci.org/sindresorhus/onetime) + +> Ensure a function is only called once + +When called multiple times it will return the return value from the first call. + +*Unlike the module [once](https://github.com/isaacs/once), this one isn't naughty extending `Function.prototype`.* + + +## Install + +``` +$ npm install --save onetime +``` + + +## Usage + +```js +let i = 0; + +const foo = onetime(() => i++); + +foo(); //=> 0 +foo(); //=> 0 +foo(); //=> 0 +``` + +```js +const foo = onetime(() => {}, {throw: true}); + +foo(); + +foo(); +//=> Error: Function `foo` can only be called once +``` + + +## API + +### onetime(fn, [options]) + +Returns a function that only calls `fn` once. + +#### fn + +Type: `Function` + +Function that should only be called once. + +#### options + +Type: `Object` + +##### throw + +Type: `boolean`
+Default: `false` + +Throw an error when called more than once. + + +## License + +MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/os-tmpdir/index.js b/node_modules/os-tmpdir/index.js new file mode 100644 index 00000000..2077b1ce --- /dev/null +++ b/node_modules/os-tmpdir/index.js @@ -0,0 +1,25 @@ +'use strict'; +var isWindows = process.platform === 'win32'; +var trailingSlashRe = isWindows ? /[^:]\\$/ : /.\/$/; + +// https://github.com/nodejs/node/blob/3e7a14381497a3b73dda68d05b5130563cdab420/lib/os.js#L25-L43 +module.exports = function () { + var path; + + if (isWindows) { + path = process.env.TEMP || + process.env.TMP || + (process.env.SystemRoot || process.env.windir) + '\\temp'; + } else { + path = process.env.TMPDIR || + process.env.TMP || + process.env.TEMP || + '/tmp'; + } + + if (trailingSlashRe.test(path)) { + path = path.slice(0, -1); + } + + return path; +}; diff --git a/node_modules/os-tmpdir/license b/node_modules/os-tmpdir/license new file mode 100644 index 00000000..654d0bfe --- /dev/null +++ b/node_modules/os-tmpdir/license @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_modules/os-tmpdir/package.json b/node_modules/os-tmpdir/package.json new file mode 100644 index 00000000..ef9fdaa7 --- /dev/null +++ b/node_modules/os-tmpdir/package.json @@ -0,0 +1,73 @@ +{ + "_from": "os-tmpdir@~1.0.2", + "_id": "os-tmpdir@1.0.2", + "_inBundle": false, + "_integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", + "_location": "/os-tmpdir", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "os-tmpdir@~1.0.2", + "name": "os-tmpdir", + "escapedName": "os-tmpdir", + "rawSpec": "~1.0.2", + "saveSpec": null, + "fetchSpec": "~1.0.2" + }, + "_requiredBy": [ + "/tmp" + ], + "_resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "_shasum": "bbe67406c79aa85c5cfec766fe5734555dfa1274", + "_spec": "os-tmpdir@~1.0.2", + "_where": "/Users/lawrencewu/Dev/CR-MacroLabs-TypeScript-Casino/node_modules/tmp", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/os-tmpdir/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Node.js os.tmpdir() ponyfill", + "devDependencies": { + "ava": "*", + "xo": "^0.16.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/sindresorhus/os-tmpdir#readme", + "keywords": [ + "built-in", + "core", + "ponyfill", + "polyfill", + "shim", + "os", + "tmpdir", + "tempdir", + "tmp", + "temp", + "dir", + "directory", + "env", + "environment" + ], + "license": "MIT", + "name": "os-tmpdir", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/os-tmpdir.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "1.0.2" +} diff --git a/node_modules/os-tmpdir/readme.md b/node_modules/os-tmpdir/readme.md new file mode 100644 index 00000000..c09f7ed8 --- /dev/null +++ b/node_modules/os-tmpdir/readme.md @@ -0,0 +1,32 @@ +# os-tmpdir [![Build Status](https://travis-ci.org/sindresorhus/os-tmpdir.svg?branch=master)](https://travis-ci.org/sindresorhus/os-tmpdir) + +> Node.js [`os.tmpdir()`](https://nodejs.org/api/os.html#os_os_tmpdir) [ponyfill](https://ponyfill.com) + +Use this instead of `require('os').tmpdir()` to get a consistent behavior on different Node.js versions (even 0.8). + + +## Install + +``` +$ npm install --save os-tmpdir +``` + + +## Usage + +```js +const osTmpdir = require('os-tmpdir'); + +osTmpdir(); +//=> '/var/folders/m3/5574nnhn0yj488ccryqr7tc80000gn/T' +``` + + +## API + +See the [`os.tmpdir()` docs](https://nodejs.org/api/os.html#os_os_tmpdir). + + +## License + +MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/restore-cursor/index.js b/node_modules/restore-cursor/index.js new file mode 100644 index 00000000..2b8e0098 --- /dev/null +++ b/node_modules/restore-cursor/index.js @@ -0,0 +1,9 @@ +'use strict'; +const onetime = require('onetime'); +const signalExit = require('signal-exit'); + +module.exports = onetime(() => { + signalExit(() => { + process.stderr.write('\u001b[?25h'); + }, {alwaysLast: true}); +}); diff --git a/node_modules/restore-cursor/license b/node_modules/restore-cursor/license new file mode 100644 index 00000000..654d0bfe --- /dev/null +++ b/node_modules/restore-cursor/license @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_modules/restore-cursor/package.json b/node_modules/restore-cursor/package.json new file mode 100644 index 00000000..47960882 --- /dev/null +++ b/node_modules/restore-cursor/package.json @@ -0,0 +1,76 @@ +{ + "_from": "restore-cursor@^2.0.0", + "_id": "restore-cursor@2.0.0", + "_inBundle": false, + "_integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", + "_location": "/restore-cursor", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "restore-cursor@^2.0.0", + "name": "restore-cursor", + "escapedName": "restore-cursor", + "rawSpec": "^2.0.0", + "saveSpec": null, + "fetchSpec": "^2.0.0" + }, + "_requiredBy": [ + "/cli-cursor" + ], + "_resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", + "_shasum": "9f7ee287f82fd326d4fd162923d62129eee0dfaf", + "_spec": "restore-cursor@^2.0.0", + "_where": "/Users/lawrencewu/Dev/CR-MacroLabs-TypeScript-Casino/node_modules/cli-cursor", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/restore-cursor/issues" + }, + "bundleDependencies": false, + "dependencies": { + "onetime": "^2.0.0", + "signal-exit": "^3.0.2" + }, + "deprecated": false, + "description": "Gracefully restore the CLI cursor on exit", + "engines": { + "node": ">=4" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/sindresorhus/restore-cursor#readme", + "keywords": [ + "exit", + "quit", + "process", + "graceful", + "shutdown", + "sigterm", + "sigint", + "terminate", + "kill", + "stop", + "cli", + "cursor", + "ansi", + "show", + "term", + "terminal", + "console", + "tty", + "shell", + "command-line" + ], + "license": "MIT", + "name": "restore-cursor", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/restore-cursor.git" + }, + "version": "2.0.0" +} diff --git a/node_modules/restore-cursor/readme.md b/node_modules/restore-cursor/readme.md new file mode 100644 index 00000000..a2f5afbc --- /dev/null +++ b/node_modules/restore-cursor/readme.md @@ -0,0 +1,25 @@ +# restore-cursor + +> Gracefully restore the CLI cursor on exit + +Prevent the cursor you've hidden interactively from remaining hidden if the process crashes. + + +## Install + +``` +$ npm install --save restore-cursor +``` + + +## Usage + +```js +const restoreCursor = require('restore-cursor'); +restoreCursor(); +``` + + +## License + +MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/run-async/LICENSE b/node_modules/run-async/LICENSE new file mode 100644 index 00000000..e895e99b --- /dev/null +++ b/node_modules/run-async/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Simon Boudrias + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/run-async/README.md b/node_modules/run-async/README.md new file mode 100644 index 00000000..8eb62c24 --- /dev/null +++ b/node_modules/run-async/README.md @@ -0,0 +1,79 @@ +Run Async +========= + +[![npm](https://badge.fury.io/js/run-async.svg)](http://badge.fury.io/js/run-async) [![tests](https://travis-ci.org/SBoudrias/run-async.svg?branch=master)](http://travis-ci.org/SBoudrias/run-async) [![dependencies](https://david-dm.org/SBoudrias/run-async.svg?theme=shields.io)](https://david-dm.org/SBoudrias/run-async) + +Utility method to run a function either synchronously or asynchronously using a series of common patterns. This is useful for library author accepting sync or async functions as parameter. `runAsync` will always run them as an async method, and normalize the multiple signature. + +Installation +========= + +```bash +npm install --save run-async +``` + +Usage +========= + +Here's a simple example print the function results and three options a user can provide a function. + +```js +var runAsync = require('run-async'); + +var printAfter = function (func) { + var cb = function (err, returnValue) { + console.log(returnValue); + }; + runAsync(func, cb)(/* arguments for func */); +}; +``` + +#### Using `this.async` +```js +printAfter(function () { + var done = this.async(); + + setTimeout(function () { + done(null, 'done running with callback'); + }, 10); +}); +``` + +#### Returning a promise +```js +printAfter(function () { + return new Promise(function (resolve, reject) { + resolve('done running with promises'); + }); +}); +``` + +#### Synchronous function +```js +printAfter(function () { + return 'done running sync function'; +}); +``` + +### runAsync.cb + +`runAsync.cb` supports all the function types that `runAsync` does and additionally a traditional **callback as the last argument** signature: + +```js +var runAsync = require('run-async'); + +// IMPORTANT: The wrapped function must have a fixed number of parameters. +runAsync.cb(function(a, b, cb) { + cb(null, a + b); +}, function(err, result) { + console.log(result) +})(1, 2) +``` + +If your version of node support Promises natively (node >= 0.12), `runAsync` will return a promise. Example: `runAsync(func)(arg1, arg2).then(cb)` + +Licence +======== + +Copyright (c) 2014 Simon Boudrias (twitter: @vaxilart) +Licensed under the MIT license. diff --git a/node_modules/run-async/index.js b/node_modules/run-async/index.js new file mode 100644 index 00000000..f623326c --- /dev/null +++ b/node_modules/run-async/index.js @@ -0,0 +1,61 @@ +'use strict'; + +var isPromise = require('is-promise'); + +/** + * Return a function that will run a function asynchronously or synchronously + * + * example: + * runAsync(wrappedFunction, callback)(...args); + * + * @param {Function} func Function to run + * @param {Function} cb Callback function passed the `func` returned value + * @return {Function(arguments)} Arguments to pass to `func`. This function will in turn + * return a Promise (Node >= 0.12) or call the callbacks. + */ + +var runAsync = module.exports = function (func, cb) { + cb = cb || function () {}; + + return function () { + var async = false; + var args = arguments; + + var promise = new Promise(function (resolve, reject) { + var answer = func.apply({ + async: function () { + async = true; + return function (err, value) { + if (err) { + reject(err); + } else { + resolve(value); + } + }; + } + }, Array.prototype.slice.call(args)); + + if (!async) { + if (isPromise(answer)) { + answer.then(resolve, reject); + } else { + resolve(answer); + } + } + }); + + promise.then(cb.bind(null, null), cb); + + return promise; + } +}; + +runAsync.cb = function (func, cb) { + return runAsync(function () { + var args = Array.prototype.slice.call(arguments); + if (args.length === func.length - 1) { + args.push(this.async()); + } + return func.apply(this, args); + }, cb); +}; diff --git a/node_modules/run-async/package.json b/node_modules/run-async/package.json new file mode 100644 index 00000000..2cc2c22c --- /dev/null +++ b/node_modules/run-async/package.json @@ -0,0 +1,64 @@ +{ + "_from": "run-async@^2.2.0", + "_id": "run-async@2.3.0", + "_inBundle": false, + "_integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", + "_location": "/run-async", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "run-async@^2.2.0", + "name": "run-async", + "escapedName": "run-async", + "rawSpec": "^2.2.0", + "saveSpec": null, + "fetchSpec": "^2.2.0" + }, + "_requiredBy": [ + "/inquirer" + ], + "_resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", + "_shasum": "0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0", + "_spec": "run-async@^2.2.0", + "_where": "/Users/lawrencewu/Dev/CR-MacroLabs-TypeScript-Casino/node_modules/inquirer", + "author": { + "name": "Simon Boudrias", + "email": "admin@simonboudrias.com" + }, + "bugs": { + "url": "https://github.com/SBoudrias/run-async/issues" + }, + "bundleDependencies": false, + "dependencies": { + "is-promise": "^2.1.0" + }, + "deprecated": false, + "description": "Utility method to run function either synchronously or asynchronously using the common `this.async()` style.", + "devDependencies": { + "mocha": "^3.1.2" + }, + "engines": { + "node": ">=0.12.0" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/SBoudrias/run-async#readme", + "keywords": [ + "flow", + "flow-control", + "async" + ], + "license": "MIT", + "main": "index.js", + "name": "run-async", + "repository": { + "type": "git", + "url": "git+https://github.com/SBoudrias/run-async.git" + }, + "scripts": { + "test": "mocha -R spec" + }, + "version": "2.3.0" +} diff --git a/node_modules/rxjs/AsyncSubject.d.ts b/node_modules/rxjs/AsyncSubject.d.ts new file mode 100644 index 00000000..509ac4ce --- /dev/null +++ b/node_modules/rxjs/AsyncSubject.d.ts @@ -0,0 +1,15 @@ +import { Subject } from './Subject'; +import { Subscriber } from './Subscriber'; +import { Subscription } from './Subscription'; +/** + * @class AsyncSubject + */ +export declare class AsyncSubject extends Subject { + private value; + private hasNext; + private hasCompleted; + protected _subscribe(subscriber: Subscriber): Subscription; + next(value: T): void; + error(error: any): void; + complete(): void; +} diff --git a/node_modules/rxjs/AsyncSubject.js b/node_modules/rxjs/AsyncSubject.js new file mode 100644 index 00000000..10b893a8 --- /dev/null +++ b/node_modules/rxjs/AsyncSubject.js @@ -0,0 +1,53 @@ +"use strict"; +var __extends = (this && this.__extends) || function (d, b) { + for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +}; +var Subject_1 = require('./Subject'); +var Subscription_1 = require('./Subscription'); +/** + * @class AsyncSubject + */ +var AsyncSubject = (function (_super) { + __extends(AsyncSubject, _super); + function AsyncSubject() { + _super.apply(this, arguments); + this.value = null; + this.hasNext = false; + this.hasCompleted = false; + } + AsyncSubject.prototype._subscribe = function (subscriber) { + if (this.hasError) { + subscriber.error(this.thrownError); + return Subscription_1.Subscription.EMPTY; + } + else if (this.hasCompleted && this.hasNext) { + subscriber.next(this.value); + subscriber.complete(); + return Subscription_1.Subscription.EMPTY; + } + return _super.prototype._subscribe.call(this, subscriber); + }; + AsyncSubject.prototype.next = function (value) { + if (!this.hasCompleted) { + this.value = value; + this.hasNext = true; + } + }; + AsyncSubject.prototype.error = function (error) { + if (!this.hasCompleted) { + _super.prototype.error.call(this, error); + } + }; + AsyncSubject.prototype.complete = function () { + this.hasCompleted = true; + if (this.hasNext) { + _super.prototype.next.call(this, this.value); + } + _super.prototype.complete.call(this); + }; + return AsyncSubject; +}(Subject_1.Subject)); +exports.AsyncSubject = AsyncSubject; +//# sourceMappingURL=AsyncSubject.js.map \ No newline at end of file diff --git a/node_modules/rxjs/AsyncSubject.js.map b/node_modules/rxjs/AsyncSubject.js.map new file mode 100644 index 00000000..2174adba --- /dev/null +++ b/node_modules/rxjs/AsyncSubject.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AsyncSubject.js","sourceRoot":"","sources":["../src/AsyncSubject.ts"],"names":[],"mappings":";;;;;;AAAA,wBAAwB,WAAW,CAAC,CAAA;AAEpC,6BAA6B,gBAAgB,CAAC,CAAA;AAE9C;;GAEG;AACH;IAAqC,gCAAU;IAA/C;QAAqC,8BAAU;QACrC,UAAK,GAAM,IAAI,CAAC;QAChB,YAAO,GAAY,KAAK,CAAC;QACzB,iBAAY,GAAY,KAAK,CAAC;IAkCxC,CAAC;IAhCW,iCAAU,GAApB,UAAqB,UAA2B;QAC9C,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YAClB,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YACnC,MAAM,CAAC,2BAAY,CAAC,KAAK,CAAC;QAC5B,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;YAC7C,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAC5B,UAAU,CAAC,QAAQ,EAAE,CAAC;YACtB,MAAM,CAAC,2BAAY,CAAC,KAAK,CAAC;QAC5B,CAAC;QACD,MAAM,CAAC,gBAAK,CAAC,UAAU,YAAC,UAAU,CAAC,CAAC;IACtC,CAAC;IAED,2BAAI,GAAJ,UAAK,KAAQ;QACX,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;YACvB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;YACnB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACtB,CAAC;IACH,CAAC;IAED,4BAAK,GAAL,UAAM,KAAU;QACd,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;YACvB,gBAAK,CAAC,KAAK,YAAC,KAAK,CAAC,CAAC;QACrB,CAAC;IACH,CAAC;IAED,+BAAQ,GAAR;QACE,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;QACzB,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;YACjB,gBAAK,CAAC,IAAI,YAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACzB,CAAC;QACD,gBAAK,CAAC,QAAQ,WAAE,CAAC;IACnB,CAAC;IACH,mBAAC;AAAD,CAAC,AArCD,CAAqC,iBAAO,GAqC3C;AArCY,oBAAY,eAqCxB,CAAA","sourcesContent":["import { Subject } from './Subject';\nimport { Subscriber } from './Subscriber';\nimport { Subscription } from './Subscription';\n\n/**\n * @class AsyncSubject\n */\nexport class AsyncSubject extends Subject {\n private value: T = null;\n private hasNext: boolean = false;\n private hasCompleted: boolean = false;\n\n protected _subscribe(subscriber: Subscriber): Subscription {\n if (this.hasError) {\n subscriber.error(this.thrownError);\n return Subscription.EMPTY;\n } else if (this.hasCompleted && this.hasNext) {\n subscriber.next(this.value);\n subscriber.complete();\n return Subscription.EMPTY;\n }\n return super._subscribe(subscriber);\n }\n\n next(value: T): void {\n if (!this.hasCompleted) {\n this.value = value;\n this.hasNext = true;\n }\n }\n\n error(error: any): void {\n if (!this.hasCompleted) {\n super.error(error);\n }\n }\n\n complete(): void {\n this.hasCompleted = true;\n if (this.hasNext) {\n super.next(this.value);\n }\n super.complete();\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/BehaviorSubject.d.ts b/node_modules/rxjs/BehaviorSubject.d.ts new file mode 100644 index 00000000..27922780 --- /dev/null +++ b/node_modules/rxjs/BehaviorSubject.d.ts @@ -0,0 +1,14 @@ +import { Subject } from './Subject'; +import { Subscriber } from './Subscriber'; +import { Subscription } from './Subscription'; +/** + * @class BehaviorSubject + */ +export declare class BehaviorSubject extends Subject { + private _value; + constructor(_value: T); + readonly value: T; + protected _subscribe(subscriber: Subscriber): Subscription; + getValue(): T; + next(value: T): void; +} diff --git a/node_modules/rxjs/BehaviorSubject.js b/node_modules/rxjs/BehaviorSubject.js new file mode 100644 index 00000000..07af4aba --- /dev/null +++ b/node_modules/rxjs/BehaviorSubject.js @@ -0,0 +1,49 @@ +"use strict"; +var __extends = (this && this.__extends) || function (d, b) { + for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +}; +var Subject_1 = require('./Subject'); +var ObjectUnsubscribedError_1 = require('./util/ObjectUnsubscribedError'); +/** + * @class BehaviorSubject + */ +var BehaviorSubject = (function (_super) { + __extends(BehaviorSubject, _super); + function BehaviorSubject(_value) { + _super.call(this); + this._value = _value; + } + Object.defineProperty(BehaviorSubject.prototype, "value", { + get: function () { + return this.getValue(); + }, + enumerable: true, + configurable: true + }); + BehaviorSubject.prototype._subscribe = function (subscriber) { + var subscription = _super.prototype._subscribe.call(this, subscriber); + if (subscription && !subscription.closed) { + subscriber.next(this._value); + } + return subscription; + }; + BehaviorSubject.prototype.getValue = function () { + if (this.hasError) { + throw this.thrownError; + } + else if (this.closed) { + throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); + } + else { + return this._value; + } + }; + BehaviorSubject.prototype.next = function (value) { + _super.prototype.next.call(this, this._value = value); + }; + return BehaviorSubject; +}(Subject_1.Subject)); +exports.BehaviorSubject = BehaviorSubject; +//# sourceMappingURL=BehaviorSubject.js.map \ No newline at end of file diff --git a/node_modules/rxjs/BehaviorSubject.js.map b/node_modules/rxjs/BehaviorSubject.js.map new file mode 100644 index 00000000..756c72ae --- /dev/null +++ b/node_modules/rxjs/BehaviorSubject.js.map @@ -0,0 +1 @@ +{"version":3,"file":"BehaviorSubject.js","sourceRoot":"","sources":["../src/BehaviorSubject.ts"],"names":[],"mappings":";;;;;;AAAA,wBAAwB,WAAW,CAAC,CAAA;AAGpC,wCAAwC,gCAAgC,CAAC,CAAA;AAEzE;;GAEG;AACH;IAAwC,mCAAU;IAEhD,yBAAoB,MAAS;QAC3B,iBAAO,CAAC;QADU,WAAM,GAAN,MAAM,CAAG;IAE7B,CAAC;IAED,sBAAI,kCAAK;aAAT;YACE,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;QACzB,CAAC;;;OAAA;IAES,oCAAU,GAApB,UAAqB,UAAyB;QAC5C,IAAM,YAAY,GAAG,gBAAK,CAAC,UAAU,YAAC,UAAU,CAAC,CAAC;QAClD,EAAE,CAAC,CAAC,YAAY,IAAI,CAAiB,YAAa,CAAC,MAAM,CAAC,CAAC,CAAC;YAC1D,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC/B,CAAC;QACD,MAAM,CAAC,YAAY,CAAC;IACtB,CAAC;IAED,kCAAQ,GAAR;QACE,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YAClB,MAAM,IAAI,CAAC,WAAW,CAAC;QACzB,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YACvB,MAAM,IAAI,iDAAuB,EAAE,CAAC;QACtC,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;QACrB,CAAC;IACH,CAAC;IAED,8BAAI,GAAJ,UAAK,KAAQ;QACX,gBAAK,CAAC,IAAI,YAAC,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,CAAC;IAClC,CAAC;IACH,sBAAC;AAAD,CAAC,AA/BD,CAAwC,iBAAO,GA+B9C;AA/BY,uBAAe,kBA+B3B,CAAA","sourcesContent":["import { Subject } from './Subject';\nimport { Subscriber } from './Subscriber';\nimport { Subscription, ISubscription } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\n\n/**\n * @class BehaviorSubject\n */\nexport class BehaviorSubject extends Subject {\n\n constructor(private _value: T) {\n super();\n }\n\n get value(): T {\n return this.getValue();\n }\n\n protected _subscribe(subscriber: Subscriber): Subscription {\n const subscription = super._subscribe(subscriber);\n if (subscription && !(subscription).closed) {\n subscriber.next(this._value);\n }\n return subscription;\n }\n\n getValue(): T {\n if (this.hasError) {\n throw this.thrownError;\n } else if (this.closed) {\n throw new ObjectUnsubscribedError();\n } else {\n return this._value;\n }\n }\n\n next(value: T): void {\n super.next(this._value = value);\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/InnerSubscriber.d.ts b/node_modules/rxjs/InnerSubscriber.d.ts new file mode 100644 index 00000000..72087f19 --- /dev/null +++ b/node_modules/rxjs/InnerSubscriber.d.ts @@ -0,0 +1,17 @@ +import { Subscriber } from './Subscriber'; +import { OuterSubscriber } from './OuterSubscriber'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export declare class InnerSubscriber extends Subscriber { + private parent; + private outerValue; + private outerIndex; + private index; + constructor(parent: OuterSubscriber, outerValue: T, outerIndex: number); + protected _next(value: R): void; + protected _error(error: any): void; + protected _complete(): void; +} diff --git a/node_modules/rxjs/InnerSubscriber.js b/node_modules/rxjs/InnerSubscriber.js new file mode 100644 index 00000000..85044bf6 --- /dev/null +++ b/node_modules/rxjs/InnerSubscriber.js @@ -0,0 +1,36 @@ +"use strict"; +var __extends = (this && this.__extends) || function (d, b) { + for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +}; +var Subscriber_1 = require('./Subscriber'); +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +var InnerSubscriber = (function (_super) { + __extends(InnerSubscriber, _super); + function InnerSubscriber(parent, outerValue, outerIndex) { + _super.call(this); + this.parent = parent; + this.outerValue = outerValue; + this.outerIndex = outerIndex; + this.index = 0; + } + InnerSubscriber.prototype._next = function (value) { + this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this); + }; + InnerSubscriber.prototype._error = function (error) { + this.parent.notifyError(error, this); + this.unsubscribe(); + }; + InnerSubscriber.prototype._complete = function () { + this.parent.notifyComplete(this); + this.unsubscribe(); + }; + return InnerSubscriber; +}(Subscriber_1.Subscriber)); +exports.InnerSubscriber = InnerSubscriber; +//# sourceMappingURL=InnerSubscriber.js.map \ No newline at end of file diff --git a/node_modules/rxjs/InnerSubscriber.js.map b/node_modules/rxjs/InnerSubscriber.js.map new file mode 100644 index 00000000..3f3092b1 --- /dev/null +++ b/node_modules/rxjs/InnerSubscriber.js.map @@ -0,0 +1 @@ +{"version":3,"file":"InnerSubscriber.js","sourceRoot":"","sources":["../src/InnerSubscriber.ts"],"names":[],"mappings":";;;;;;AAAA,2BAA2B,cAAc,CAAC,CAAA;AAG1C;;;;GAIG;AACH;IAA2C,mCAAa;IAGtD,yBAAoB,MAA6B,EAAU,UAAa,EAAU,UAAkB;QAClG,iBAAO,CAAC;QADU,WAAM,GAAN,MAAM,CAAuB;QAAU,eAAU,GAAV,UAAU,CAAG;QAAU,eAAU,GAAV,UAAU,CAAQ;QAF5F,UAAK,GAAW,CAAC,CAAC;IAI1B,CAAC;IAES,+BAAK,GAAf,UAAgB,KAAQ;QACtB,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,UAAU,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,CAAC;IACtF,CAAC;IAES,gCAAM,GAAhB,UAAiB,KAAU;QACzB,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IAES,mCAAS,GAAnB;QACE,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IACH,sBAAC;AAAD,CAAC,AApBD,CAA2C,uBAAU,GAoBpD;AApBY,uBAAe,kBAoB3B,CAAA","sourcesContent":["import { Subscriber } from './Subscriber';\nimport { OuterSubscriber } from './OuterSubscriber';\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nexport class InnerSubscriber extends Subscriber {\n private index: number = 0;\n\n constructor(private parent: OuterSubscriber, private outerValue: T, private outerIndex: number) {\n super();\n }\n\n protected _next(value: R): void {\n this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this);\n }\n\n protected _error(error: any): void {\n this.parent.notifyError(error, this);\n this.unsubscribe();\n }\n\n protected _complete(): void {\n this.parent.notifyComplete(this);\n this.unsubscribe();\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/LICENSE.txt b/node_modules/rxjs/LICENSE.txt new file mode 100644 index 00000000..b6c40015 --- /dev/null +++ b/node_modules/rxjs/LICENSE.txt @@ -0,0 +1,202 @@ + 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 (c) 2015-2017 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors + + 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. + diff --git a/node_modules/rxjs/Notification.d.ts b/node_modules/rxjs/Notification.d.ts new file mode 100644 index 00000000..19ba442c --- /dev/null +++ b/node_modules/rxjs/Notification.d.ts @@ -0,0 +1,77 @@ +import { PartialObserver } from './Observer'; +import { Observable } from './Observable'; +/** + * Represents a push-based event or value that an {@link Observable} can emit. + * This class is particularly useful for operators that manage notifications, + * like {@link materialize}, {@link dematerialize}, {@link observeOn}, and + * others. Besides wrapping the actual delivered value, it also annotates it + * with metadata of, for instance, what type of push message it is (`next`, + * `error`, or `complete`). + * + * @see {@link materialize} + * @see {@link dematerialize} + * @see {@link observeOn} + * + * @class Notification + */ +export declare class Notification { + kind: string; + value: T; + error: any; + hasValue: boolean; + constructor(kind: string, value?: T, error?: any); + /** + * Delivers to the given `observer` the value wrapped by this Notification. + * @param {Observer} observer + * @return + */ + observe(observer: PartialObserver): any; + /** + * Given some {@link Observer} callbacks, deliver the value represented by the + * current Notification to the correctly corresponding callback. + * @param {function(value: T): void} next An Observer `next` callback. + * @param {function(err: any): void} [error] An Observer `error` callback. + * @param {function(): void} [complete] An Observer `complete` callback. + * @return {any} + */ + do(next: (value: T) => void, error?: (err: any) => void, complete?: () => void): any; + /** + * Takes an Observer or its individual callback functions, and calls `observe` + * or `do` methods accordingly. + * @param {Observer|function(value: T): void} nextOrObserver An Observer or + * the `next` callback. + * @param {function(err: any): void} [error] An Observer `error` callback. + * @param {function(): void} [complete] An Observer `complete` callback. + * @return {any} + */ + accept(nextOrObserver: PartialObserver | ((value: T) => void), error?: (err: any) => void, complete?: () => void): any; + /** + * Returns a simple Observable that just delivers the notification represented + * by this Notification instance. + * @return {any} + */ + toObservable(): Observable; + private static completeNotification; + private static undefinedValueNotification; + /** + * A shortcut to create a Notification instance of the type `next` from a + * given value. + * @param {T} value The `next` value. + * @return {Notification} The "next" Notification representing the + * argument. + */ + static createNext(value: T): Notification; + /** + * A shortcut to create a Notification instance of the type `error` from a + * given error. + * @param {any} [err] The `error` error. + * @return {Notification} The "error" Notification representing the + * argument. + */ + static createError(err?: any): Notification; + /** + * A shortcut to create a Notification instance of the type `complete`. + * @return {Notification} The valueless "complete" Notification. + */ + static createComplete(): Notification; +} diff --git a/node_modules/rxjs/Notification.js b/node_modules/rxjs/Notification.js new file mode 100644 index 00000000..ae933e4a --- /dev/null +++ b/node_modules/rxjs/Notification.js @@ -0,0 +1,127 @@ +"use strict"; +var Observable_1 = require('./Observable'); +/** + * Represents a push-based event or value that an {@link Observable} can emit. + * This class is particularly useful for operators that manage notifications, + * like {@link materialize}, {@link dematerialize}, {@link observeOn}, and + * others. Besides wrapping the actual delivered value, it also annotates it + * with metadata of, for instance, what type of push message it is (`next`, + * `error`, or `complete`). + * + * @see {@link materialize} + * @see {@link dematerialize} + * @see {@link observeOn} + * + * @class Notification + */ +var Notification = (function () { + function Notification(kind, value, error) { + this.kind = kind; + this.value = value; + this.error = error; + this.hasValue = kind === 'N'; + } + /** + * Delivers to the given `observer` the value wrapped by this Notification. + * @param {Observer} observer + * @return + */ + Notification.prototype.observe = function (observer) { + switch (this.kind) { + case 'N': + return observer.next && observer.next(this.value); + case 'E': + return observer.error && observer.error(this.error); + case 'C': + return observer.complete && observer.complete(); + } + }; + /** + * Given some {@link Observer} callbacks, deliver the value represented by the + * current Notification to the correctly corresponding callback. + * @param {function(value: T): void} next An Observer `next` callback. + * @param {function(err: any): void} [error] An Observer `error` callback. + * @param {function(): void} [complete] An Observer `complete` callback. + * @return {any} + */ + Notification.prototype.do = function (next, error, complete) { + var kind = this.kind; + switch (kind) { + case 'N': + return next && next(this.value); + case 'E': + return error && error(this.error); + case 'C': + return complete && complete(); + } + }; + /** + * Takes an Observer or its individual callback functions, and calls `observe` + * or `do` methods accordingly. + * @param {Observer|function(value: T): void} nextOrObserver An Observer or + * the `next` callback. + * @param {function(err: any): void} [error] An Observer `error` callback. + * @param {function(): void} [complete] An Observer `complete` callback. + * @return {any} + */ + Notification.prototype.accept = function (nextOrObserver, error, complete) { + if (nextOrObserver && typeof nextOrObserver.next === 'function') { + return this.observe(nextOrObserver); + } + else { + return this.do(nextOrObserver, error, complete); + } + }; + /** + * Returns a simple Observable that just delivers the notification represented + * by this Notification instance. + * @return {any} + */ + Notification.prototype.toObservable = function () { + var kind = this.kind; + switch (kind) { + case 'N': + return Observable_1.Observable.of(this.value); + case 'E': + return Observable_1.Observable.throw(this.error); + case 'C': + return Observable_1.Observable.empty(); + } + throw new Error('unexpected notification kind value'); + }; + /** + * A shortcut to create a Notification instance of the type `next` from a + * given value. + * @param {T} value The `next` value. + * @return {Notification} The "next" Notification representing the + * argument. + */ + Notification.createNext = function (value) { + if (typeof value !== 'undefined') { + return new Notification('N', value); + } + return Notification.undefinedValueNotification; + }; + /** + * A shortcut to create a Notification instance of the type `error` from a + * given error. + * @param {any} [err] The `error` error. + * @return {Notification} The "error" Notification representing the + * argument. + */ + Notification.createError = function (err) { + return new Notification('E', undefined, err); + }; + /** + * A shortcut to create a Notification instance of the type `complete`. + * @return {Notification} The valueless "complete" Notification. + */ + Notification.createComplete = function () { + return Notification.completeNotification; + }; + Notification.completeNotification = new Notification('C'); + Notification.undefinedValueNotification = new Notification('N', undefined); + return Notification; +}()); +exports.Notification = Notification; +//# sourceMappingURL=Notification.js.map \ No newline at end of file diff --git a/node_modules/rxjs/Notification.js.map b/node_modules/rxjs/Notification.js.map new file mode 100644 index 00000000..b554d335 --- /dev/null +++ b/node_modules/rxjs/Notification.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Notification.js","sourceRoot":"","sources":["../src/Notification.ts"],"names":[],"mappings":";AACA,2BAA2B,cAAc,CAAC,CAAA;AAE1C;;;;;;;;;;;;;GAaG;AACH;IAGE,sBAAmB,IAAY,EAAS,KAAS,EAAS,KAAW;QAAlD,SAAI,GAAJ,IAAI,CAAQ;QAAS,UAAK,GAAL,KAAK,CAAI;QAAS,UAAK,GAAL,KAAK,CAAM;QACnE,IAAI,CAAC,QAAQ,GAAG,IAAI,KAAK,GAAG,CAAC;IAC/B,CAAC;IAED;;;;OAIG;IACH,8BAAO,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E,CAAC;IACH,CAAC;IAED;;;;OAIG;IACH,mCAAY,GAAZ;QACE,IAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QACvB,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YACb,KAAK,GAAG;gBACN,MAAM,CAAC,uBAAU,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnC,KAAK,GAAG;gBACN,MAAM,CAAC,uBAAU,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACtC,KAAK,GAAG;gBACN,MAAM,CAAC,uBAAU,CAAC,KAAK,EAAK,CAAC;QACjC,CAAC;QACD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;IACxD,CAAC;IAKD;;;;;;OAMG;IACI,uBAAU,GAAjB,UAAqB,KAAQ;QAC3B,EAAE,CAAC,CAAC,OAAO,KAAK,KAAK,WAAW,CAAC,CAAC,CAAC;YACjC,MAAM,CAAC,IAAI,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,CAAC,YAAY,CAAC,0BAA0B,CAAC;IACjD,CAAC;IAED;;;;;;OAMG;IACI,wBAAW,GAAlB,UAAsB,GAAS;QAC7B,MAAM,CAAC,IAAI,YAAY,CAAC,GAAG,EAAE,SAAS,EAAE,GAAG,CAAC,CAAC;IAC/C,CAAC;IAED;;;OAGG;IACI,2BAAc,GAArB;QACE,MAAM,CAAC,YAAY,CAAC,oBAAoB,CAAC;IAC3C,CAAC;IAlCc,iCAAoB,GAAsB,IAAI,YAAY,CAAC,GAAG,CAAC,CAAC;IAChE,uCAA0B,GAAsB,IAAI,YAAY,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;IAkClG,mBAAC;AAAD,CAAC,AAjHD,IAiHC;AAjHY,oBAAY,eAiHxB,CAAA","sourcesContent":["import { PartialObserver } from './Observer';\nimport { Observable } from './Observable';\n\n/**\n * Represents a push-based event or value that an {@link Observable} can emit.\n * This class is particularly useful for operators that manage notifications,\n * like {@link materialize}, {@link dematerialize}, {@link observeOn}, and\n * others. Besides wrapping the actual delivered value, it also annotates it\n * with metadata of, for instance, what type of push message it is (`next`,\n * `error`, or `complete`).\n *\n * @see {@link materialize}\n * @see {@link dematerialize}\n * @see {@link observeOn}\n *\n * @class Notification\n */\nexport class Notification {\n hasValue: boolean;\n\n constructor(public kind: string, public value?: T, public error?: any) {\n this.hasValue = kind === 'N';\n }\n\n /**\n * Delivers to the given `observer` the value wrapped by this Notification.\n * @param {Observer} observer\n * @return\n */\n observe(observer: PartialObserver): any {\n switch (this.kind) {\n case 'N':\n return observer.next && observer.next(this.value);\n case 'E':\n return observer.error && observer.error(this.error);\n case 'C':\n return observer.complete && observer.complete();\n }\n }\n\n /**\n * Given some {@link Observer} callbacks, deliver the value represented by the\n * current Notification to the correctly corresponding callback.\n * @param {function(value: T): void} next An Observer `next` callback.\n * @param {function(err: any): void} [error] An Observer `error` callback.\n * @param {function(): void} [complete] An Observer `complete` callback.\n * @return {any}\n */\n do(next: (value: T) => void, error?: (err: any) => void, complete?: () => void): any {\n const kind = this.kind;\n switch (kind) {\n case 'N':\n return next && next(this.value);\n case 'E':\n return error && error(this.error);\n case 'C':\n return complete && complete();\n }\n }\n\n /**\n * Takes an Observer or its individual callback functions, and calls `observe`\n * or `do` methods accordingly.\n * @param {Observer|function(value: T): void} nextOrObserver An Observer or\n * the `next` callback.\n * @param {function(err: any): void} [error] An Observer `error` callback.\n * @param {function(): void} [complete] An Observer `complete` callback.\n * @return {any}\n */\n accept(nextOrObserver: PartialObserver | ((value: T) => void), error?: (err: any) => void, complete?: () => void) {\n if (nextOrObserver && typeof (>nextOrObserver).next === 'function') {\n return this.observe(>nextOrObserver);\n } else {\n return this.do(<(value: T) => void>nextOrObserver, error, complete);\n }\n }\n\n /**\n * Returns a simple Observable that just delivers the notification represented\n * by this Notification instance.\n * @return {any}\n */\n toObservable(): Observable {\n const kind = this.kind;\n switch (kind) {\n case 'N':\n return Observable.of(this.value);\n case 'E':\n return Observable.throw(this.error);\n case 'C':\n return Observable.empty();\n }\n throw new Error('unexpected notification kind value');\n }\n\n private static completeNotification: Notification = new Notification('C');\n private static undefinedValueNotification: Notification = new Notification('N', undefined);\n\n /**\n * A shortcut to create a Notification instance of the type `next` from a\n * given value.\n * @param {T} value The `next` value.\n * @return {Notification} The \"next\" Notification representing the\n * argument.\n */\n static createNext(value: T): Notification {\n if (typeof value !== 'undefined') {\n return new Notification('N', value);\n }\n return Notification.undefinedValueNotification;\n }\n\n /**\n * A shortcut to create a Notification instance of the type `error` from a\n * given error.\n * @param {any} [err] The `error` error.\n * @return {Notification} The \"error\" Notification representing the\n * argument.\n */\n static createError(err?: any): Notification {\n return new Notification('E', undefined, err);\n }\n\n /**\n * A shortcut to create a Notification instance of the type `complete`.\n * @return {Notification} The valueless \"complete\" Notification.\n */\n static createComplete(): Notification {\n return Notification.completeNotification;\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/Observable.d.ts b/node_modules/rxjs/Observable.d.ts new file mode 100644 index 00000000..a2f8caa4 --- /dev/null +++ b/node_modules/rxjs/Observable.d.ts @@ -0,0 +1,75 @@ +import { PartialObserver } from './Observer'; +import { Operator } from './Operator'; +import { Subscriber } from './Subscriber'; +import { Subscription, AnonymousSubscription, TeardownLogic } from './Subscription'; +import { IfObservable } from './observable/IfObservable'; +import { ErrorObservable } from './observable/ErrorObservable'; +import { OperatorFunction } from './interfaces'; +export interface Subscribable { + subscribe(observerOrNext?: PartialObserver | ((value: T) => void), error?: (error: any) => void, complete?: () => void): AnonymousSubscription; +} +export declare type SubscribableOrPromise = Subscribable | PromiseLike; +export declare type ObservableInput = SubscribableOrPromise | ArrayLike; +/** + * A representation of any set of values over any amount of time. This is the most basic building block + * of RxJS. + * + * @class Observable + */ +export declare class Observable implements Subscribable { + _isScalar: boolean; + protected source: Observable; + protected operator: Operator; + /** + * @constructor + * @param {Function} subscribe the function that is called when the Observable is + * initially subscribed to. This function is given a Subscriber, to which new values + * can be `next`ed, or an `error` method can be called to raise an error, or + * `complete` can be called to notify of a successful completion. + */ + constructor(subscribe?: (this: Observable, subscriber: Subscriber) => TeardownLogic); + /** + * Creates a new cold Observable by calling the Observable constructor + * @static true + * @owner Observable + * @method create + * @param {Function} subscribe? the subscriber function to be passed to the Observable constructor + * @return {Observable} a new cold observable + */ + static create: Function; + /** + * Creates a new Observable, with this Observable as the source, and the passed + * operator defined as the new observable's operator. + * @method lift + * @param {Operator} operator the operator defining the operation to take on the observable + * @return {Observable} a new observable with the Operator applied + */ + lift(operator: Operator): Observable; + subscribe(observer?: PartialObserver): Subscription; + subscribe(next?: (value: T) => void, error?: (error: any) => void, complete?: () => void): Subscription; + protected _trySubscribe(sink: Subscriber): TeardownLogic; + /** + * @method forEach + * @param {Function} next a handler for each value emitted by the observable + * @param {PromiseConstructor} [PromiseCtor] a constructor function used to instantiate the Promise + * @return {Promise} a promise that either resolves on observable completion or + * rejects with the handled error + */ + forEach(next: (value: T) => void, PromiseCtor?: typeof Promise): Promise; + protected _subscribe(subscriber: Subscriber): TeardownLogic; + static if: typeof IfObservable.create; + static throw: typeof ErrorObservable.create; + pipe(): Observable; + pipe(op1: OperatorFunction): Observable; + pipe(op1: OperatorFunction, op2: OperatorFunction): Observable; + pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction): Observable; + pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction): Observable; + pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction, op5: OperatorFunction): Observable; + pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction, op5: OperatorFunction, op6: OperatorFunction): Observable; + pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction, op5: OperatorFunction, op6: OperatorFunction, op7: OperatorFunction): Observable; + pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction, op5: OperatorFunction, op6: OperatorFunction, op7: OperatorFunction, op8: OperatorFunction): Observable; + pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction, op5: OperatorFunction, op6: OperatorFunction, op7: OperatorFunction, op8: OperatorFunction, op9: OperatorFunction): Observable; + toPromise(this: Observable): Promise; + toPromise(this: Observable, PromiseCtor: typeof Promise): Promise; + toPromise(this: Observable, PromiseCtor: PromiseConstructorLike): Promise; +} diff --git a/node_modules/rxjs/Observable.js b/node_modules/rxjs/Observable.js new file mode 100644 index 00000000..90687457 --- /dev/null +++ b/node_modules/rxjs/Observable.js @@ -0,0 +1,305 @@ +"use strict"; +var root_1 = require('./util/root'); +var toSubscriber_1 = require('./util/toSubscriber'); +var observable_1 = require('./symbol/observable'); +var pipe_1 = require('./util/pipe'); +/** + * A representation of any set of values over any amount of time. This is the most basic building block + * of RxJS. + * + * @class Observable + */ +var Observable = (function () { + /** + * @constructor + * @param {Function} subscribe the function that is called when the Observable is + * initially subscribed to. This function is given a Subscriber, to which new values + * can be `next`ed, or an `error` method can be called to raise an error, or + * `complete` can be called to notify of a successful completion. + */ + function Observable(subscribe) { + this._isScalar = false; + if (subscribe) { + this._subscribe = subscribe; + } + } + /** + * Creates a new Observable, with this Observable as the source, and the passed + * operator defined as the new observable's operator. + * @method lift + * @param {Operator} operator the operator defining the operation to take on the observable + * @return {Observable} a new observable with the Operator applied + */ + Observable.prototype.lift = function (operator) { + var observable = new Observable(); + observable.source = this; + observable.operator = operator; + return observable; + }; + /** + * Invokes an execution of an Observable and registers Observer handlers for notifications it will emit. + * + * Use it when you have all these Observables, but still nothing is happening. + * + * `subscribe` is not a regular operator, but a method that calls Observable's internal `subscribe` function. It + * might be for example a function that you passed to a {@link create} static factory, but most of the time it is + * a library implementation, which defines what and when will be emitted by an Observable. This means that calling + * `subscribe` is actually the moment when Observable starts its work, not when it is created, as it is often + * thought. + * + * Apart from starting the execution of an Observable, this method allows you to listen for values + * that an Observable emits, as well as for when it completes or errors. You can achieve this in two + * following ways. + * + * The first way is creating an object that implements {@link Observer} interface. It should have methods + * defined by that interface, but note that it should be just a regular JavaScript object, which you can create + * yourself in any way you want (ES6 class, classic function constructor, object literal etc.). In particular do + * not attempt to use any RxJS implementation details to create Observers - you don't need them. Remember also + * that your object does not have to implement all methods. If you find yourself creating a method that doesn't + * do anything, you can simply omit it. Note however, that if `error` method is not provided, all errors will + * be left uncaught. + * + * The second way is to give up on Observer object altogether and simply provide callback functions in place of its methods. + * This means you can provide three functions as arguments to `subscribe`, where first function is equivalent + * of a `next` method, second of an `error` method and third of a `complete` method. Just as in case of Observer, + * if you do not need to listen for something, you can omit a function, preferably by passing `undefined` or `null`, + * since `subscribe` recognizes these functions by where they were placed in function call. When it comes + * to `error` function, just as before, if not provided, errors emitted by an Observable will be thrown. + * + * Whatever style of calling `subscribe` you use, in both cases it returns a Subscription object. + * This object allows you to call `unsubscribe` on it, which in turn will stop work that an Observable does and will clean + * up all resources that an Observable used. Note that cancelling a subscription will not call `complete` callback + * provided to `subscribe` function, which is reserved for a regular completion signal that comes from an Observable. + * + * Remember that callbacks provided to `subscribe` are not guaranteed to be called asynchronously. + * It is an Observable itself that decides when these functions will be called. For example {@link of} + * by default emits all its values synchronously. Always check documentation for how given Observable + * will behave when subscribed and if its default behavior can be modified with a {@link Scheduler}. + * + * @example Subscribe with an Observer + * const sumObserver = { + * sum: 0, + * next(value) { + * console.log('Adding: ' + value); + * this.sum = this.sum + value; + * }, + * error() { // We actually could just remove this method, + * }, // since we do not really care about errors right now. + * complete() { + * console.log('Sum equals: ' + this.sum); + * } + * }; + * + * Rx.Observable.of(1, 2, 3) // Synchronously emits 1, 2, 3 and then completes. + * .subscribe(sumObserver); + * + * // Logs: + * // "Adding: 1" + * // "Adding: 2" + * // "Adding: 3" + * // "Sum equals: 6" + * + * + * @example Subscribe with functions + * let sum = 0; + * + * Rx.Observable.of(1, 2, 3) + * .subscribe( + * function(value) { + * console.log('Adding: ' + value); + * sum = sum + value; + * }, + * undefined, + * function() { + * console.log('Sum equals: ' + sum); + * } + * ); + * + * // Logs: + * // "Adding: 1" + * // "Adding: 2" + * // "Adding: 3" + * // "Sum equals: 6" + * + * + * @example Cancel a subscription + * const subscription = Rx.Observable.interval(1000).subscribe( + * num => console.log(num), + * undefined, + * () => console.log('completed!') // Will not be called, even + * ); // when cancelling subscription + * + * + * setTimeout(() => { + * subscription.unsubscribe(); + * console.log('unsubscribed!'); + * }, 2500); + * + * // Logs: + * // 0 after 1s + * // 1 after 2s + * // "unsubscribed!" after 2.5s + * + * + * @param {Observer|Function} observerOrNext (optional) Either an observer with methods to be called, + * or the first of three possible handlers, which is the handler for each value emitted from the subscribed + * Observable. + * @param {Function} error (optional) A handler for a terminal event resulting from an error. If no error handler is provided, + * the error will be thrown as unhandled. + * @param {Function} complete (optional) A handler for a terminal event resulting from successful completion. + * @return {ISubscription} a subscription reference to the registered handlers + * @method subscribe + */ + Observable.prototype.subscribe = function (observerOrNext, error, complete) { + var operator = this.operator; + var sink = toSubscriber_1.toSubscriber(observerOrNext, error, complete); + if (operator) { + operator.call(sink, this.source); + } + else { + sink.add(this.source || !sink.syncErrorThrowable ? this._subscribe(sink) : this._trySubscribe(sink)); + } + if (sink.syncErrorThrowable) { + sink.syncErrorThrowable = false; + if (sink.syncErrorThrown) { + throw sink.syncErrorValue; + } + } + return sink; + }; + Observable.prototype._trySubscribe = function (sink) { + try { + return this._subscribe(sink); + } + catch (err) { + sink.syncErrorThrown = true; + sink.syncErrorValue = err; + sink.error(err); + } + }; + /** + * @method forEach + * @param {Function} next a handler for each value emitted by the observable + * @param {PromiseConstructor} [PromiseCtor] a constructor function used to instantiate the Promise + * @return {Promise} a promise that either resolves on observable completion or + * rejects with the handled error + */ + Observable.prototype.forEach = function (next, PromiseCtor) { + var _this = this; + if (!PromiseCtor) { + if (root_1.root.Rx && root_1.root.Rx.config && root_1.root.Rx.config.Promise) { + PromiseCtor = root_1.root.Rx.config.Promise; + } + else if (root_1.root.Promise) { + PromiseCtor = root_1.root.Promise; + } + } + if (!PromiseCtor) { + throw new Error('no Promise impl found'); + } + return new PromiseCtor(function (resolve, reject) { + // Must be declared in a separate statement to avoid a RefernceError when + // accessing subscription below in the closure due to Temporal Dead Zone. + var subscription; + subscription = _this.subscribe(function (value) { + if (subscription) { + // if there is a subscription, then we can surmise + // the next handling is asynchronous. Any errors thrown + // need to be rejected explicitly and unsubscribe must be + // called manually + try { + next(value); + } + catch (err) { + reject(err); + subscription.unsubscribe(); + } + } + else { + // if there is NO subscription, then we're getting a nexted + // value synchronously during subscription. We can just call it. + // If it errors, Observable's `subscribe` will ensure the + // unsubscription logic is called, then synchronously rethrow the error. + // After that, Promise will trap the error and send it + // down the rejection path. + next(value); + } + }, reject, resolve); + }); + }; + Observable.prototype._subscribe = function (subscriber) { + return this.source.subscribe(subscriber); + }; + /** + * An interop point defined by the es7-observable spec https://github.com/zenparsing/es-observable + * @method Symbol.observable + * @return {Observable} this instance of the observable + */ + Observable.prototype[observable_1.observable] = function () { + return this; + }; + /* tslint:enable:max-line-length */ + /** + * Used to stitch together functional operators into a chain. + * @method pipe + * @return {Observable} the Observable result of all of the operators having + * been called in the order they were passed in. + * + * @example + * + * import { map, filter, scan } from 'rxjs/operators'; + * + * Rx.Observable.interval(1000) + * .pipe( + * filter(x => x % 2 === 0), + * map(x => x + x), + * scan((acc, x) => acc + x) + * ) + * .subscribe(x => console.log(x)) + */ + Observable.prototype.pipe = function () { + var operations = []; + for (var _i = 0; _i < arguments.length; _i++) { + operations[_i - 0] = arguments[_i]; + } + if (operations.length === 0) { + return this; + } + return pipe_1.pipeFromArray(operations)(this); + }; + /* tslint:enable:max-line-length */ + Observable.prototype.toPromise = function (PromiseCtor) { + var _this = this; + if (!PromiseCtor) { + if (root_1.root.Rx && root_1.root.Rx.config && root_1.root.Rx.config.Promise) { + PromiseCtor = root_1.root.Rx.config.Promise; + } + else if (root_1.root.Promise) { + PromiseCtor = root_1.root.Promise; + } + } + if (!PromiseCtor) { + throw new Error('no Promise impl found'); + } + return new PromiseCtor(function (resolve, reject) { + var value; + _this.subscribe(function (x) { return value = x; }, function (err) { return reject(err); }, function () { return resolve(value); }); + }); + }; + // HACK: Since TypeScript inherits static properties too, we have to + // fight against TypeScript here so Subject can have a different static create signature + /** + * Creates a new cold Observable by calling the Observable constructor + * @static true + * @owner Observable + * @method create + * @param {Function} subscribe? the subscriber function to be passed to the Observable constructor + * @return {Observable} a new cold observable + */ + Observable.create = function (subscribe) { + return new Observable(subscribe); + }; + return Observable; +}()); +exports.Observable = Observable; +//# sourceMappingURL=Observable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/Observable.js.map b/node_modules/rxjs/Observable.js.map new file mode 100644 index 00000000..827570eb --- /dev/null +++ b/node_modules/rxjs/Observable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Observable.js","sourceRoot":"","sources":["../src/Observable.ts"],"names":[],"mappings":";AAIA,qBAAqB,aAAa,CAAC,CAAA;AACnC,6BAA6B,qBAAqB,CAAC,CAAA;AAGnD,2BAAgD,qBAAqB,CAAC,CAAA;AAEtE,qBAA8B,aAAa,CAAC,CAAA;AAW5C;;;;;GAKG;AACH;IAOE;;;;;;OAMG;IACH,oBAAY,SAA6E;QAZlF,cAAS,GAAY,KAAK,CAAC;QAahC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;YACd,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC9B,CAAC;IACH,CAAC;IAgBD;;;;;;OAMG;IACH,yBAAI,GAAJ,UAAQ,QAAwB;QAC9B,IAAM,UAAU,GAAG,IAAI,UAAU,EAAK,CAAC;QACvC,UAAU,CAAC,MAAM,GAAG,IAAI,CAAC;QACzB,UAAU,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAC/B,MAAM,CAAC,UAAU,CAAC;IACpB,CAAC;IAID;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AED,MAAM,CAAC,IAAI,WAAW,CAAC,UAAC,OAAO,EAAE,MAAM;YACrC,IAAI,KAAU,CAAC;YACf,KAAI,CAAC,SAAS,CAAC,UAAC,CAAI,IAAK,OAAA,KAAK,GAAG,CAAC,EAAT,CAAS,EAAE,UAAC,GAAQ,IAAK,OAAA,MAAM,CAAC,GAAG,CAAC,EAAX,CAAW,EAAE,cAAM,OAAA,OAAO,CAAC,KAAK,CAAC,EAAd,CAAc,CAAC,CAAC;QACvF,CAAC,CAAe,CAAC;IACnB,CAAC;IAjTD,oEAAoE;IACpE,wFAAwF;IACxF;;;;;;;OAOG;IACI,iBAAM,GAAa,UAAI,SAAwD;QACpF,MAAM,CAAC,IAAI,UAAU,CAAI,SAAS,CAAC,CAAC;IACtC,CAAC,CAAA;IAsSH,iBAAC;AAAD,CAAC,AAtUD,IAsUC;AAtUY,kBAAU,aAsUtB,CAAA","sourcesContent":["import { PartialObserver } from './Observer';\nimport { Operator } from './Operator';\nimport { Subscriber } from './Subscriber';\nimport { Subscription, AnonymousSubscription, TeardownLogic } from './Subscription';\nimport { root } from './util/root';\nimport { toSubscriber } from './util/toSubscriber';\nimport { IfObservable } from './observable/IfObservable';\nimport { ErrorObservable } from './observable/ErrorObservable';\nimport { observable as Symbol_observable } from './symbol/observable';\nimport { OperatorFunction } from './interfaces';\nimport { pipeFromArray } from './util/pipe';\n\nexport interface Subscribable {\n subscribe(observerOrNext?: PartialObserver | ((value: T) => void),\n error?: (error: any) => void,\n complete?: () => void): AnonymousSubscription;\n}\n\nexport type SubscribableOrPromise = Subscribable | PromiseLike;\nexport type ObservableInput = SubscribableOrPromise | ArrayLike;\n\n/**\n * A representation of any set of values over any amount of time. This is the most basic building block\n * of RxJS.\n *\n * @class Observable\n */\nexport class Observable implements Subscribable {\n\n public _isScalar: boolean = false;\n\n protected source: Observable;\n protected operator: Operator;\n\n /**\n * @constructor\n * @param {Function} subscribe the function that is called when the Observable is\n * initially subscribed to. This function is given a Subscriber, to which new values\n * can be `next`ed, or an `error` method can be called to raise an error, or\n * `complete` can be called to notify of a successful completion.\n */\n constructor(subscribe?: (this: Observable, subscriber: Subscriber) => TeardownLogic) {\n if (subscribe) {\n this._subscribe = subscribe;\n }\n }\n\n // HACK: Since TypeScript inherits static properties too, we have to\n // fight against TypeScript here so Subject can have a different static create signature\n /**\n * Creates a new cold Observable by calling the Observable constructor\n * @static true\n * @owner Observable\n * @method create\n * @param {Function} subscribe? the subscriber function to be passed to the Observable constructor\n * @return {Observable} a new cold observable\n */\n static create: Function = (subscribe?: (subscriber: Subscriber) => TeardownLogic) => {\n return new Observable(subscribe);\n }\n\n /**\n * Creates a new Observable, with this Observable as the source, and the passed\n * operator defined as the new observable's operator.\n * @method lift\n * @param {Operator} operator the operator defining the operation to take on the observable\n * @return {Observable} a new observable with the Operator applied\n */\n lift(operator: Operator): Observable {\n const observable = new Observable();\n observable.source = this;\n observable.operator = operator;\n return observable;\n }\n\n subscribe(observer?: PartialObserver): Subscription;\n subscribe(next?: (value: T) => void, error?: (error: any) => void, complete?: () => void): Subscription;\n /**\n * Invokes an execution of an Observable and registers Observer handlers for notifications it will emit.\n *\n * Use it when you have all these Observables, but still nothing is happening.\n *\n * `subscribe` is not a regular operator, but a method that calls Observable's internal `subscribe` function. It\n * might be for example a function that you passed to a {@link create} static factory, but most of the time it is\n * a library implementation, which defines what and when will be emitted by an Observable. This means that calling\n * `subscribe` is actually the moment when Observable starts its work, not when it is created, as it is often\n * thought.\n *\n * Apart from starting the execution of an Observable, this method allows you to listen for values\n * that an Observable emits, as well as for when it completes or errors. You can achieve this in two\n * following ways.\n *\n * The first way is creating an object that implements {@link Observer} interface. It should have methods\n * defined by that interface, but note that it should be just a regular JavaScript object, which you can create\n * yourself in any way you want (ES6 class, classic function constructor, object literal etc.). In particular do\n * not attempt to use any RxJS implementation details to create Observers - you don't need them. Remember also\n * that your object does not have to implement all methods. If you find yourself creating a method that doesn't\n * do anything, you can simply omit it. Note however, that if `error` method is not provided, all errors will\n * be left uncaught.\n *\n * The second way is to give up on Observer object altogether and simply provide callback functions in place of its methods.\n * This means you can provide three functions as arguments to `subscribe`, where first function is equivalent\n * of a `next` method, second of an `error` method and third of a `complete` method. Just as in case of Observer,\n * if you do not need to listen for something, you can omit a function, preferably by passing `undefined` or `null`,\n * since `subscribe` recognizes these functions by where they were placed in function call. When it comes\n * to `error` function, just as before, if not provided, errors emitted by an Observable will be thrown.\n *\n * Whatever style of calling `subscribe` you use, in both cases it returns a Subscription object.\n * This object allows you to call `unsubscribe` on it, which in turn will stop work that an Observable does and will clean\n * up all resources that an Observable used. Note that cancelling a subscription will not call `complete` callback\n * provided to `subscribe` function, which is reserved for a regular completion signal that comes from an Observable.\n *\n * Remember that callbacks provided to `subscribe` are not guaranteed to be called asynchronously.\n * It is an Observable itself that decides when these functions will be called. For example {@link of}\n * by default emits all its values synchronously. Always check documentation for how given Observable\n * will behave when subscribed and if its default behavior can be modified with a {@link Scheduler}.\n *\n * @example Subscribe with an Observer\n * const sumObserver = {\n * sum: 0,\n * next(value) {\n * console.log('Adding: ' + value);\n * this.sum = this.sum + value;\n * },\n * error() { // We actually could just remove this method,\n * }, // since we do not really care about errors right now.\n * complete() {\n * console.log('Sum equals: ' + this.sum);\n * }\n * };\n *\n * Rx.Observable.of(1, 2, 3) // Synchronously emits 1, 2, 3 and then completes.\n * .subscribe(sumObserver);\n *\n * // Logs:\n * // \"Adding: 1\"\n * // \"Adding: 2\"\n * // \"Adding: 3\"\n * // \"Sum equals: 6\"\n *\n *\n * @example Subscribe with functions\n * let sum = 0;\n *\n * Rx.Observable.of(1, 2, 3)\n * .subscribe(\n * function(value) {\n * console.log('Adding: ' + value);\n * sum = sum + value;\n * },\n * undefined,\n * function() {\n * console.log('Sum equals: ' + sum);\n * }\n * );\n *\n * // Logs:\n * // \"Adding: 1\"\n * // \"Adding: 2\"\n * // \"Adding: 3\"\n * // \"Sum equals: 6\"\n *\n *\n * @example Cancel a subscription\n * const subscription = Rx.Observable.interval(1000).subscribe(\n * num => console.log(num),\n * undefined,\n * () => console.log('completed!') // Will not be called, even\n * ); // when cancelling subscription\n *\n *\n * setTimeout(() => {\n * subscription.unsubscribe();\n * console.log('unsubscribed!');\n * }, 2500);\n *\n * // Logs:\n * // 0 after 1s\n * // 1 after 2s\n * // \"unsubscribed!\" after 2.5s\n *\n *\n * @param {Observer|Function} observerOrNext (optional) Either an observer with methods to be called,\n * or the first of three possible handlers, which is the handler for each value emitted from the subscribed\n * Observable.\n * @param {Function} error (optional) A handler for a terminal event resulting from an error. If no error handler is provided,\n * the error will be thrown as unhandled.\n * @param {Function} complete (optional) A handler for a terminal event resulting from successful completion.\n * @return {ISubscription} a subscription reference to the registered handlers\n * @method subscribe\n */\n subscribe(observerOrNext?: PartialObserver | ((value: T) => void),\n error?: (error: any) => void,\n complete?: () => void): Subscription {\n\n const { operator } = this;\n const sink = toSubscriber(observerOrNext, error, complete);\n\n if (operator) {\n operator.call(sink, this.source);\n } else {\n sink.add(this.source || !sink.syncErrorThrowable ? this._subscribe(sink) : this._trySubscribe(sink));\n }\n\n if (sink.syncErrorThrowable) {\n sink.syncErrorThrowable = false;\n if (sink.syncErrorThrown) {\n throw sink.syncErrorValue;\n }\n }\n\n return sink;\n }\n\n protected _trySubscribe(sink: Subscriber): TeardownLogic {\n try {\n return this._subscribe(sink);\n } catch (err) {\n sink.syncErrorThrown = true;\n sink.syncErrorValue = err;\n sink.error(err);\n }\n }\n\n /**\n * @method forEach\n * @param {Function} next a handler for each value emitted by the observable\n * @param {PromiseConstructor} [PromiseCtor] a constructor function used to instantiate the Promise\n * @return {Promise} a promise that either resolves on observable completion or\n * rejects with the handled error\n */\n forEach(next: (value: T) => void, PromiseCtor?: typeof Promise): Promise {\n if (!PromiseCtor) {\n if (root.Rx && root.Rx.config && root.Rx.config.Promise) {\n PromiseCtor = root.Rx.config.Promise;\n } else if (root.Promise) {\n PromiseCtor = root.Promise;\n }\n }\n\n if (!PromiseCtor) {\n throw new Error('no Promise impl found');\n }\n\n return new PromiseCtor((resolve, reject) => {\n // Must be declared in a separate statement to avoid a RefernceError when\n // accessing subscription below in the closure due to Temporal Dead Zone.\n let subscription: Subscription;\n subscription = this.subscribe((value) => {\n if (subscription) {\n // if there is a subscription, then we can surmise\n // the next handling is asynchronous. Any errors thrown\n // need to be rejected explicitly and unsubscribe must be\n // called manually\n try {\n next(value);\n } catch (err) {\n reject(err);\n subscription.unsubscribe();\n }\n } else {\n // if there is NO subscription, then we're getting a nexted\n // value synchronously during subscription. We can just call it.\n // If it errors, Observable's `subscribe` will ensure the\n // unsubscription logic is called, then synchronously rethrow the error.\n // After that, Promise will trap the error and send it\n // down the rejection path.\n next(value);\n }\n }, reject, resolve);\n });\n }\n\n protected _subscribe(subscriber: Subscriber): TeardownLogic {\n return this.source.subscribe(subscriber);\n }\n\n // `if` and `throw` are special snow flakes, the compiler sees them as reserved words\n static if: typeof IfObservable.create;\n static throw: typeof ErrorObservable.create;\n\n /**\n * An interop point defined by the es7-observable spec https://github.com/zenparsing/es-observable\n * @method Symbol.observable\n * @return {Observable} this instance of the observable\n */\n [Symbol_observable]() {\n return this;\n }\n\n /* tslint:disable:max-line-length */\n pipe(): Observable\n pipe(op1: OperatorFunction): Observable\n pipe(op1: OperatorFunction, op2: OperatorFunction): Observable\n pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction): Observable\n pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction): Observable\n pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction, op5: OperatorFunction): Observable\n pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction, op5: OperatorFunction, op6: OperatorFunction): Observable\n pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction, op5: OperatorFunction, op6: OperatorFunction, op7: OperatorFunction): Observable\n pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction, op5: OperatorFunction, op6: OperatorFunction, op7: OperatorFunction, op8: OperatorFunction): Observable\n pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction, op5: OperatorFunction, op6: OperatorFunction, op7: OperatorFunction, op8: OperatorFunction, op9: OperatorFunction): Observable\n /* tslint:enable:max-line-length */\n\n /**\n * Used to stitch together functional operators into a chain.\n * @method pipe\n * @return {Observable} the Observable result of all of the operators having\n * been called in the order they were passed in.\n *\n * @example\n *\n * import { map, filter, scan } from 'rxjs/operators';\n *\n * Rx.Observable.interval(1000)\n * .pipe(\n * filter(x => x % 2 === 0),\n * map(x => x + x),\n * scan((acc, x) => acc + x)\n * )\n * .subscribe(x => console.log(x))\n */\n pipe(...operations: OperatorFunction[]): Observable {\n if (operations.length === 0) {\n return this as any;\n }\n\n return pipeFromArray(operations)(this);\n }\n\n /* tslint:disable:max-line-length */\n toPromise(this: Observable): Promise;\n toPromise(this: Observable, PromiseCtor: typeof Promise): Promise;\n toPromise(this: Observable, PromiseCtor: PromiseConstructorLike): Promise;\n /* tslint:enable:max-line-length */\n\n toPromise(PromiseCtor?: PromiseConstructorLike) {\n if (!PromiseCtor) {\n if (root.Rx && root.Rx.config && root.Rx.config.Promise) {\n PromiseCtor = root.Rx.config.Promise;\n } else if (root.Promise) {\n PromiseCtor = root.Promise;\n }\n }\n\n if (!PromiseCtor) {\n throw new Error('no Promise impl found');\n }\n\n return new PromiseCtor((resolve, reject) => {\n let value: any;\n this.subscribe((x: T) => value = x, (err: any) => reject(err), () => resolve(value));\n }) as Promise;\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/Observer.d.ts b/node_modules/rxjs/Observer.d.ts new file mode 100644 index 00000000..99815a7c --- /dev/null +++ b/node_modules/rxjs/Observer.d.ts @@ -0,0 +1,26 @@ +export interface NextObserver { + closed?: boolean; + next: (value: T) => void; + error?: (err: any) => void; + complete?: () => void; +} +export interface ErrorObserver { + closed?: boolean; + next?: (value: T) => void; + error: (err: any) => void; + complete?: () => void; +} +export interface CompletionObserver { + closed?: boolean; + next?: (value: T) => void; + error?: (err: any) => void; + complete: () => void; +} +export declare type PartialObserver = NextObserver | ErrorObserver | CompletionObserver; +export interface Observer { + closed?: boolean; + next: (value: T) => void; + error: (err: any) => void; + complete: () => void; +} +export declare const empty: Observer; diff --git a/node_modules/rxjs/Observer.js b/node_modules/rxjs/Observer.js new file mode 100644 index 00000000..db3df936 --- /dev/null +++ b/node_modules/rxjs/Observer.js @@ -0,0 +1,8 @@ +"use strict"; +exports.empty = { + closed: true, + next: function (value) { }, + error: function (err) { throw err; }, + complete: function () { } +}; +//# sourceMappingURL=Observer.js.map \ No newline at end of file diff --git a/node_modules/rxjs/Observer.js.map b/node_modules/rxjs/Observer.js.map new file mode 100644 index 00000000..6e2f9308 --- /dev/null +++ b/node_modules/rxjs/Observer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Observer.js","sourceRoot":"","sources":["../src/Observer.ts"],"names":[],"mappings":";AA8Ba,aAAK,GAAkB;IAClC,MAAM,EAAE,IAAI;IACZ,IAAI,YAAC,KAAU,IAAoB,CAAC;IACpC,KAAK,YAAC,GAAQ,IAAU,MAAM,GAAG,CAAC,CAAC,CAAC;IACpC,QAAQ,gBAAoB,CAAC;CAC9B,CAAC","sourcesContent":["export interface NextObserver {\n closed?: boolean;\n next: (value: T) => void;\n error?: (err: any) => void;\n complete?: () => void;\n}\n\nexport interface ErrorObserver {\n closed?: boolean;\n next?: (value: T) => void;\n error: (err: any) => void;\n complete?: () => void;\n}\n\nexport interface CompletionObserver {\n closed?: boolean;\n next?: (value: T) => void;\n error?: (err: any) => void;\n complete: () => void;\n}\n\nexport type PartialObserver = NextObserver | ErrorObserver | CompletionObserver;\n\nexport interface Observer {\n closed?: boolean;\n next: (value: T) => void;\n error: (err: any) => void;\n complete: () => void;\n}\n\nexport const empty: Observer = {\n closed: true,\n next(value: any): void { /* noop */},\n error(err: any): void { throw err; },\n complete(): void { /*noop*/ }\n};\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/Operator.d.ts b/node_modules/rxjs/Operator.d.ts new file mode 100644 index 00000000..643dd9af --- /dev/null +++ b/node_modules/rxjs/Operator.d.ts @@ -0,0 +1,5 @@ +import { Subscriber } from './Subscriber'; +import { TeardownLogic } from './Subscription'; +export interface Operator { + call(subscriber: Subscriber, source: any): TeardownLogic; +} diff --git a/node_modules/rxjs/Operator.js b/node_modules/rxjs/Operator.js new file mode 100644 index 00000000..f99eac52 --- /dev/null +++ b/node_modules/rxjs/Operator.js @@ -0,0 +1,2 @@ +"use strict"; +//# sourceMappingURL=Operator.js.map \ No newline at end of file diff --git a/node_modules/rxjs/Operator.js.map b/node_modules/rxjs/Operator.js.map new file mode 100644 index 00000000..d1d8dce0 --- /dev/null +++ b/node_modules/rxjs/Operator.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Operator.js","sourceRoot":"","sources":["../src/Operator.ts"],"names":[],"mappings":"","sourcesContent":["import { Subscriber } from './Subscriber';\nimport { TeardownLogic } from './Subscription';\n\nexport interface Operator {\n call(subscriber: Subscriber, source: any): TeardownLogic;\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/OuterSubscriber.d.ts b/node_modules/rxjs/OuterSubscriber.d.ts new file mode 100644 index 00000000..15501206 --- /dev/null +++ b/node_modules/rxjs/OuterSubscriber.d.ts @@ -0,0 +1,12 @@ +import { Subscriber } from './Subscriber'; +import { InnerSubscriber } from './InnerSubscriber'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export declare class OuterSubscriber extends Subscriber { + notifyNext(outerValue: T, innerValue: R, outerIndex: number, innerIndex: number, innerSub: InnerSubscriber): void; + notifyError(error: any, innerSub: InnerSubscriber): void; + notifyComplete(innerSub: InnerSubscriber): void; +} diff --git a/node_modules/rxjs/OuterSubscriber.js b/node_modules/rxjs/OuterSubscriber.js new file mode 100644 index 00000000..a0397e76 --- /dev/null +++ b/node_modules/rxjs/OuterSubscriber.js @@ -0,0 +1,30 @@ +"use strict"; +var __extends = (this && this.__extends) || function (d, b) { + for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +}; +var Subscriber_1 = require('./Subscriber'); +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +var OuterSubscriber = (function (_super) { + __extends(OuterSubscriber, _super); + function OuterSubscriber() { + _super.apply(this, arguments); + } + OuterSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) { + this.destination.next(innerValue); + }; + OuterSubscriber.prototype.notifyError = function (error, innerSub) { + this.destination.error(error); + }; + OuterSubscriber.prototype.notifyComplete = function (innerSub) { + this.destination.complete(); + }; + return OuterSubscriber; +}(Subscriber_1.Subscriber)); +exports.OuterSubscriber = OuterSubscriber; +//# sourceMappingURL=OuterSubscriber.js.map \ No newline at end of file diff --git a/node_modules/rxjs/OuterSubscriber.js.map b/node_modules/rxjs/OuterSubscriber.js.map new file mode 100644 index 00000000..09c26b79 --- /dev/null +++ b/node_modules/rxjs/OuterSubscriber.js.map @@ -0,0 +1 @@ +{"version":3,"file":"OuterSubscriber.js","sourceRoot":"","sources":["../src/OuterSubscriber.ts"],"names":[],"mappings":";;;;;;AAAA,2BAA2B,cAAc,CAAC,CAAA;AAG1C;;;;GAIG;AACH;IAA2C,mCAAa;IAAxD;QAA2C,8BAAa;IAcxD,CAAC;IAbC,oCAAU,GAAV,UAAW,UAAa,EAAE,UAAa,EAC5B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IAED,qCAAW,GAAX,UAAY,KAAU,EAAE,QAA+B;QACrD,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAChC,CAAC;IAED,wCAAc,GAAd,UAAe,QAA+B;QAC5C,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;IACH,sBAAC;AAAD,CAAC,AAdD,CAA2C,uBAAU,GAcpD;AAdY,uBAAe,kBAc3B,CAAA","sourcesContent":["import { Subscriber } from './Subscriber';\nimport { InnerSubscriber } from './InnerSubscriber';\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nexport class OuterSubscriber extends Subscriber {\n notifyNext(outerValue: T, innerValue: R,\n outerIndex: number, innerIndex: number,\n innerSub: InnerSubscriber): void {\n this.destination.next(innerValue);\n }\n\n notifyError(error: any, innerSub: InnerSubscriber): void {\n this.destination.error(error);\n }\n\n notifyComplete(innerSub: InnerSubscriber): void {\n this.destination.complete();\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/README.md b/node_modules/rxjs/README.md new file mode 100644 index 00000000..f8eda12a --- /dev/null +++ b/node_modules/rxjs/README.md @@ -0,0 +1,204 @@ +[![Build Status](https://travis-ci.org/ReactiveX/rxjs.svg?branch=master)](https://travis-ci.org/ReactiveX/rxjs) +[![Coverage Status](https://coveralls.io/repos/github/ReactiveX/rxjs/badge.svg?branch=master)](https://coveralls.io/github/ReactiveX/rxjs?branch=master) +[![npm version](https://badge.fury.io/js/%40reactivex%2Frxjs.svg)](http://badge.fury.io/js/%40reactivex%2Frxjs) +[![Join the chat at https://gitter.im/Reactive-Extensions/RxJS](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Reactive-Extensions/RxJS?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) + +[![Selenium Test Status](https://saucelabs.com/browser-matrix/rxjs5.svg)](https://saucelabs.com/u/rxjs5) + +# RxJS 5 + +Reactive Extensions Library for JavaScript. This is a rewrite of [Reactive-Extensions/RxJS](https://github.com/Reactive-Extensions/RxJS) and is the latest production-ready version of RxJS. This rewrite is meant to have better performance, better modularity, better debuggable call stacks, while staying mostly backwards compatible, with some breaking changes that reduce the API surface. + +[Apache 2.0 License](LICENSE.txt) + +- [Code of Conduct](CODE_OF_CONDUCT.md) +- [Contribution Guidelines](CONTRIBUTING.md) +- [Maintainer Guidelines](doc/maintainer-guidelines.md) +- [Creating Operators](doc/operator-creation.md) +- [Migrating From RxJS 4 to RxJS 5](MIGRATION.md) +- [API Documentation (WIP)](http://reactivex.io/rxjs) + +## Versions In This Repository + +- [master](https://github.com/ReactiveX/rxjs/commits/master) - commits that will be included in the next _minor_ or _patch_ release +- [next](https://github.com/ReactiveX/rxjs/commits/next) - commits that will be included in the next _major_ release (breaking changes) + +Most PRs should be made to **master**, unless you know it is a breaking change. + +## Important + +By contributing or commenting on issues in this repository, whether you've read them or not, you're agreeing to the [Contributor Code of Conduct](CODE_OF_CONDUCT.md). Much like traffic laws, ignorance doesn't grant you immunity. + +## Installation and Usage + +### ES6 via npm + +```sh +npm install rxjs +``` + +To import the entire core set of functionality: + +```js +import Rx from 'rxjs/Rx'; + +Rx.Observable.of(1,2,3) +``` + +To import only what you need by patching (this is useful for size-sensitive bundling): + +```js +import { Observable } from 'rxjs/Observable'; +import 'rxjs/add/observable/of'; +import 'rxjs/add/operator/map'; + +Observable.of(1,2,3).map(x => x + '!!!'); // etc +``` + +To import what you need and use it with proposed [bind operator](https://github.com/tc39/proposal-bind-operator): + +> Note: This additional syntax requires [transpiler support](http://babeljs.io/docs/plugins/transform-function-bind/) and this syntax may be completely withdrawn from TC39 without notice! Use at your own risk. + +```js +import { Observable } from 'rxjs/Observable'; +import { of } from 'rxjs/observable/of'; +import { map } from 'rxjs/operator/map'; + +Observable::of(1,2,3)::map(x => x + '!!!'); // etc +``` + +### CommonJS via npm + +To install this library for CommonJS (CJS) usage, use the following command: + +```sh +npm install rxjs +``` + +Import all core functionality: + +```js +var Rx = require('rxjs/Rx'); + +Rx.Observable.of(1,2,3); // etc +``` + +Import only what you need and patch Observable (this is useful in size-sensitive bundling scenarios): + +```js +var Observable = require('rxjs/Observable').Observable; +// patch Observable with appropriate methods +require('rxjs/add/observable/of'); +require('rxjs/add/operator/map'); + +Observable.of(1,2,3).map(function (x) { return x + '!!!'; }); // etc +``` + +Import operators and use them _manually_ you can do the following (this is also useful for bundling): + +```js +var of = require('rxjs/observable/of').of; +var map = require('rxjs/operator/map').map; + +map.call(of(1,2,3), function (x) { return x + '!!!'; }); +``` + +You can also use the above method to build your own Observable and export it from your own module. + + +### All Module Types (CJS/ES6/AMD/TypeScript) via npm + +To install this library via [npm](https://www.npmjs.org) **version 3**, use the following command: + +```sh +npm install @reactivex/rxjs +``` + +This will include CJS/Global builds and can be used for all module types. + +If you are using npm **version 2** before this library has achieved a stable version, you need to specify the library version explicitly: + +```sh +npm install @reactivex/rxjs@5.0.0 +``` + +### CDN + +For CDN, you can use [unpkg](https://unpkg.com/): + +https://unpkg.com/rxjs/bundles/Rx.min.js + +#### Node.js Usage: + +```js +var Rx = require('@reactivex/rxjs'); + +Rx.Observable.of('hello world') + .subscribe(function(x) { console.log(x); }); +``` + +## Goals + +- Provide better performance than preceding versions of RxJS +- To model/follow the [Observable Spec Proposal](https://github.com/zenparsing/es-observable) to the observable. +- Provide more modular file structure in a variety of formats +- Provide more debuggable call stacks than preceding versions of RxJS + +## Building/Testing + +The build and test structure is fairly primitive at the moment. There are various npm scripts that can be run: + +- build_es6: Transpiles the TypeScript files from `src/` to `dist/es6` +- build_cjs: Transpiles the ES6 files from `dist/es6` to `dist/cjs` +- build_amd: Transpiles the ES6 files from `dist/es6` to `dist/amd` +- build_global: Transpiles/Bundles the CommonJS files from `dist/cjs` to `dist/global/Rx.js` +- build_all: Performs all of the above in the proper order. +- build_test: builds ES6, then CommonJS, then runs the tests with `jasmine` +- build_perf: builds ES6, CommonJS, then global, then runs the performance tests with `protractor` +- build_docs: generates API documentation from `dist/es6` to `dist/docs` +- build_cover: runs `istanbul` code coverage against test cases +- test: runs tests with `jasmine`, must have built prior to running. +- tests2png: generates PNG marble diagrams from test cases. + +`npm run info` will list available script. + +### Example + +```sh +# build all the things! +npm run build_all +``` + +## Performance Tests + +Run `npm run build_perf` or `npm run perf` to run the performance tests with `protractor`. +Run `npm run perf_micro` to run micro performance test benchmarking operator. + +## Adding documentation +RxNext uses [ESDoc](https://esdoc.org/) to generate API documentation. Refer to ESDoc's documentation for syntax. Run `npm run build_docs` to generate. + +## Generating PNG marble diagrams + +The script `npm run tests2png` requires some native packages installed locally: `imagemagick`, `graphicsmagick`, and `ghostscript`. + +For Mac OS X with [Homebrew](http://brew.sh/): + +- `brew install imagemagick` +- `brew install graphicsmagick` +- `brew install ghostscript` +- You may need to install the Ghostscript fonts manually: + - Download the tarball from the [gs-fonts project](https://sourceforge.net/projects/gs-fonts) + - `mkdir -p /usr/local/share/ghostscript && tar zxvf /path/to/ghostscript-fonts.tar.gz -C /usr/local/share/ghostscript` + +For Debian Linux: + +- `sudo add-apt-repository ppa:dhor/myway` +- `apt-get install imagemagick` +- `apt-get install graphicsmagick` +- `apt-get install ghostscript` + +For Windows and other Operating Systems, check the download instructions here: + +- http://imagemagick.org +- http://www.graphicsmagick.org +- http://www.ghostscript.com/ diff --git a/node_modules/rxjs/ReplaySubject.d.ts b/node_modules/rxjs/ReplaySubject.d.ts new file mode 100644 index 00000000..ad92e47c --- /dev/null +++ b/node_modules/rxjs/ReplaySubject.d.ts @@ -0,0 +1,18 @@ +import { Subject } from './Subject'; +import { IScheduler } from './Scheduler'; +import { Subscriber } from './Subscriber'; +import { Subscription } from './Subscription'; +/** + * @class ReplaySubject + */ +export declare class ReplaySubject extends Subject { + private scheduler; + private _events; + private _bufferSize; + private _windowTime; + constructor(bufferSize?: number, windowTime?: number, scheduler?: IScheduler); + next(value: T): void; + protected _subscribe(subscriber: Subscriber): Subscription; + _getNow(): number; + private _trimBufferThenGetEvents(); +} diff --git a/node_modules/rxjs/ReplaySubject.js b/node_modules/rxjs/ReplaySubject.js new file mode 100644 index 00000000..c7d9a9d5 --- /dev/null +++ b/node_modules/rxjs/ReplaySubject.js @@ -0,0 +1,102 @@ +"use strict"; +var __extends = (this && this.__extends) || function (d, b) { + for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +}; +var Subject_1 = require('./Subject'); +var queue_1 = require('./scheduler/queue'); +var Subscription_1 = require('./Subscription'); +var observeOn_1 = require('./operators/observeOn'); +var ObjectUnsubscribedError_1 = require('./util/ObjectUnsubscribedError'); +var SubjectSubscription_1 = require('./SubjectSubscription'); +/** + * @class ReplaySubject + */ +var ReplaySubject = (function (_super) { + __extends(ReplaySubject, _super); + function ReplaySubject(bufferSize, windowTime, scheduler) { + if (bufferSize === void 0) { bufferSize = Number.POSITIVE_INFINITY; } + if (windowTime === void 0) { windowTime = Number.POSITIVE_INFINITY; } + _super.call(this); + this.scheduler = scheduler; + this._events = []; + this._bufferSize = bufferSize < 1 ? 1 : bufferSize; + this._windowTime = windowTime < 1 ? 1 : windowTime; + } + ReplaySubject.prototype.next = function (value) { + var now = this._getNow(); + this._events.push(new ReplayEvent(now, value)); + this._trimBufferThenGetEvents(); + _super.prototype.next.call(this, value); + }; + ReplaySubject.prototype._subscribe = function (subscriber) { + var _events = this._trimBufferThenGetEvents(); + var scheduler = this.scheduler; + var subscription; + if (this.closed) { + throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); + } + else if (this.hasError) { + subscription = Subscription_1.Subscription.EMPTY; + } + else if (this.isStopped) { + subscription = Subscription_1.Subscription.EMPTY; + } + else { + this.observers.push(subscriber); + subscription = new SubjectSubscription_1.SubjectSubscription(this, subscriber); + } + if (scheduler) { + subscriber.add(subscriber = new observeOn_1.ObserveOnSubscriber(subscriber, scheduler)); + } + var len = _events.length; + for (var i = 0; i < len && !subscriber.closed; i++) { + subscriber.next(_events[i].value); + } + if (this.hasError) { + subscriber.error(this.thrownError); + } + else if (this.isStopped) { + subscriber.complete(); + } + return subscription; + }; + ReplaySubject.prototype._getNow = function () { + return (this.scheduler || queue_1.queue).now(); + }; + ReplaySubject.prototype._trimBufferThenGetEvents = function () { + var now = this._getNow(); + var _bufferSize = this._bufferSize; + var _windowTime = this._windowTime; + var _events = this._events; + var eventsCount = _events.length; + var spliceCount = 0; + // Trim events that fall out of the time window. + // Start at the front of the list. Break early once + // we encounter an event that falls within the window. + while (spliceCount < eventsCount) { + if ((now - _events[spliceCount].time) < _windowTime) { + break; + } + spliceCount++; + } + if (eventsCount > _bufferSize) { + spliceCount = Math.max(spliceCount, eventsCount - _bufferSize); + } + if (spliceCount > 0) { + _events.splice(0, spliceCount); + } + return _events; + }; + return ReplaySubject; +}(Subject_1.Subject)); +exports.ReplaySubject = ReplaySubject; +var ReplayEvent = (function () { + function ReplayEvent(time, value) { + this.time = time; + this.value = value; + } + return ReplayEvent; +}()); +//# sourceMappingURL=ReplaySubject.js.map \ No newline at end of file diff --git a/node_modules/rxjs/ReplaySubject.js.map b/node_modules/rxjs/ReplaySubject.js.map new file mode 100644 index 00000000..6a95551a --- /dev/null +++ b/node_modules/rxjs/ReplaySubject.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ReplaySubject.js","sourceRoot":"","sources":["../src/ReplaySubject.ts"],"names":[],"mappings":";;;;;;AAAA,wBAAwB,WAAW,CAAC,CAAA;AAEpC,sBAAsB,mBAAmB,CAAC,CAAA;AAE1C,6BAA6B,gBAAgB,CAAC,CAAA;AAC9C,0BAAoC,uBAAuB,CAAC,CAAA;AAC5D,wCAAwC,gCAAgC,CAAC,CAAA;AACzE,oCAAoC,uBAAuB,CAAC,CAAA;AAC5D;;GAEG;AACH;IAAsC,iCAAU;IAK9C,uBAAY,UAA6C,EAC7C,UAA6C,EACrC,SAAsB;QAF9B,0BAA6C,GAA7C,aAAqB,MAAM,CAAC,iBAAiB;QAC7C,0BAA6C,GAA7C,aAAqB,MAAM,CAAC,iBAAiB;QAEvD,iBAAO,CAAC;QADU,cAAS,GAAT,SAAS,CAAa;QANlC,YAAO,GAAqB,EAAE,CAAC;QAQrC,I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AW,CAAC,CAAC,CAAC;gBACpD,KAAK,CAAC;YACR,CAAC;YACD,WAAW,EAAE,CAAC;QAChB,CAAC;QAED,EAAE,CAAC,CAAC,WAAW,GAAG,WAAW,CAAC,CAAC,CAAC;YAC9B,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,WAAW,GAAG,WAAW,CAAC,CAAC;QACjE,CAAC;QAED,EAAE,CAAC,CAAC,WAAW,GAAG,CAAC,CAAC,CAAC,CAAC;YACpB,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC;QACjC,CAAC;QAED,MAAM,CAAC,OAAO,CAAC;IACjB,CAAC;IACH,oBAAC;AAAD,CAAC,AAvFD,CAAsC,iBAAO,GAuF5C;AAvFY,qBAAa,gBAuFzB,CAAA;AAED;IACE,qBAAmB,IAAY,EAAS,KAAQ;QAA7B,SAAI,GAAJ,IAAI,CAAQ;QAAS,UAAK,GAAL,KAAK,CAAG;IAChD,CAAC;IACH,kBAAC;AAAD,CAAC,AAHD,IAGC","sourcesContent":["import { Subject } from './Subject';\nimport { IScheduler } from './Scheduler';\nimport { queue } from './scheduler/queue';\nimport { Subscriber } from './Subscriber';\nimport { Subscription } from './Subscription';\nimport { ObserveOnSubscriber } from './operators/observeOn';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { SubjectSubscription } from './SubjectSubscription';\n/**\n * @class ReplaySubject\n */\nexport class ReplaySubject extends Subject {\n private _events: ReplayEvent[] = [];\n private _bufferSize: number;\n private _windowTime: number;\n\n constructor(bufferSize: number = Number.POSITIVE_INFINITY,\n windowTime: number = Number.POSITIVE_INFINITY,\n private scheduler?: IScheduler) {\n super();\n this._bufferSize = bufferSize < 1 ? 1 : bufferSize;\n this._windowTime = windowTime < 1 ? 1 : windowTime;\n }\n\n next(value: T): void {\n const now = this._getNow();\n this._events.push(new ReplayEvent(now, value));\n this._trimBufferThenGetEvents();\n super.next(value);\n }\n\n protected _subscribe(subscriber: Subscriber): Subscription {\n const _events = this._trimBufferThenGetEvents();\n const scheduler = this.scheduler;\n let subscription: Subscription;\n\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n } else if (this.hasError) {\n subscription = Subscription.EMPTY;\n } else if (this.isStopped) {\n subscription = Subscription.EMPTY;\n } else {\n this.observers.push(subscriber);\n subscription = new SubjectSubscription(this, subscriber);\n }\n\n if (scheduler) {\n subscriber.add(subscriber = new ObserveOnSubscriber(subscriber, scheduler));\n }\n\n const len = _events.length;\n for (let i = 0; i < len && !subscriber.closed; i++) {\n subscriber.next(_events[i].value);\n }\n\n if (this.hasError) {\n subscriber.error(this.thrownError);\n } else if (this.isStopped) {\n subscriber.complete();\n }\n\n return subscription;\n }\n\n _getNow(): number {\n return (this.scheduler || queue).now();\n }\n\n private _trimBufferThenGetEvents(): ReplayEvent[] {\n const now = this._getNow();\n const _bufferSize = this._bufferSize;\n const _windowTime = this._windowTime;\n const _events = this._events;\n\n let eventsCount = _events.length;\n let spliceCount = 0;\n\n // Trim events that fall out of the time window.\n // Start at the front of the list. Break early once\n // we encounter an event that falls within the window.\n while (spliceCount < eventsCount) {\n if ((now - _events[spliceCount].time) < _windowTime) {\n break;\n }\n spliceCount++;\n }\n\n if (eventsCount > _bufferSize) {\n spliceCount = Math.max(spliceCount, eventsCount - _bufferSize);\n }\n\n if (spliceCount > 0) {\n _events.splice(0, spliceCount);\n }\n\n return _events;\n }\n}\n\nclass ReplayEvent {\n constructor(public time: number, public value: T) {\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/Rx.d.ts b/node_modules/rxjs/Rx.d.ts new file mode 100644 index 00000000..314d4aff --- /dev/null +++ b/node_modules/rxjs/Rx.d.ts @@ -0,0 +1,195 @@ +export { Subject, AnonymousSubject } from './Subject'; +export { Observable } from './Observable'; +import './add/observable/bindCallback'; +import './add/observable/bindNodeCallback'; +import './add/observable/combineLatest'; +import './add/observable/concat'; +import './add/observable/defer'; +import './add/observable/empty'; +import './add/observable/forkJoin'; +import './add/observable/from'; +import './add/observable/fromEvent'; +import './add/observable/fromEventPattern'; +import './add/observable/fromPromise'; +import './add/observable/generate'; +import './add/observable/if'; +import './add/observable/interval'; +import './add/observable/merge'; +import './add/observable/race'; +import './add/observable/never'; +import './add/observable/of'; +import './add/observable/onErrorResumeNext'; +import './add/observable/pairs'; +import './add/observable/range'; +import './add/observable/using'; +import './add/observable/throw'; +import './add/observable/timer'; +import './add/observable/zip'; +import './add/observable/dom/ajax'; +import './add/observable/dom/webSocket'; +import './add/operator/buffer'; +import './add/operator/bufferCount'; +import './add/operator/bufferTime'; +import './add/operator/bufferToggle'; +import './add/operator/bufferWhen'; +import './add/operator/catch'; +import './add/operator/combineAll'; +import './add/operator/combineLatest'; +import './add/operator/concat'; +import './add/operator/concatAll'; +import './add/operator/concatMap'; +import './add/operator/concatMapTo'; +import './add/operator/count'; +import './add/operator/dematerialize'; +import './add/operator/debounce'; +import './add/operator/debounceTime'; +import './add/operator/defaultIfEmpty'; +import './add/operator/delay'; +import './add/operator/delayWhen'; +import './add/operator/distinct'; +import './add/operator/distinctUntilChanged'; +import './add/operator/distinctUntilKeyChanged'; +import './add/operator/do'; +import './add/operator/exhaust'; +import './add/operator/exhaustMap'; +import './add/operator/expand'; +import './add/operator/elementAt'; +import './add/operator/filter'; +import './add/operator/finally'; +import './add/operator/find'; +import './add/operator/findIndex'; +import './add/operator/first'; +import './add/operator/groupBy'; +import './add/operator/ignoreElements'; +import './add/operator/isEmpty'; +import './add/operator/audit'; +import './add/operator/auditTime'; +import './add/operator/last'; +import './add/operator/let'; +import './add/operator/every'; +import './add/operator/map'; +import './add/operator/mapTo'; +import './add/operator/materialize'; +import './add/operator/max'; +import './add/operator/merge'; +import './add/operator/mergeAll'; +import './add/operator/mergeMap'; +import './add/operator/mergeMapTo'; +import './add/operator/mergeScan'; +import './add/operator/min'; +import './add/operator/multicast'; +import './add/operator/observeOn'; +import './add/operator/onErrorResumeNext'; +import './add/operator/pairwise'; +import './add/operator/partition'; +import './add/operator/pluck'; +import './add/operator/publish'; +import './add/operator/publishBehavior'; +import './add/operator/publishReplay'; +import './add/operator/publishLast'; +import './add/operator/race'; +import './add/operator/reduce'; +import './add/operator/repeat'; +import './add/operator/repeatWhen'; +import './add/operator/retry'; +import './add/operator/retryWhen'; +import './add/operator/sample'; +import './add/operator/sampleTime'; +import './add/operator/scan'; +import './add/operator/sequenceEqual'; +import './add/operator/share'; +import './add/operator/shareReplay'; +import './add/operator/single'; +import './add/operator/skip'; +import './add/operator/skipLast'; +import './add/operator/skipUntil'; +import './add/operator/skipWhile'; +import './add/operator/startWith'; +import './add/operator/subscribeOn'; +import './add/operator/switch'; +import './add/operator/switchMap'; +import './add/operator/switchMapTo'; +import './add/operator/take'; +import './add/operator/takeLast'; +import './add/operator/takeUntil'; +import './add/operator/takeWhile'; +import './add/operator/throttle'; +import './add/operator/throttleTime'; +import './add/operator/timeInterval'; +import './add/operator/timeout'; +import './add/operator/timeoutWith'; +import './add/operator/timestamp'; +import './add/operator/toArray'; +import './add/operator/toPromise'; +import './add/operator/window'; +import './add/operator/windowCount'; +import './add/operator/windowTime'; +import './add/operator/windowToggle'; +import './add/operator/windowWhen'; +import './add/operator/withLatestFrom'; +import './add/operator/zip'; +import './add/operator/zipAll'; +export { Operator } from './Operator'; +export { Observer } from './Observer'; +export { Subscription } from './Subscription'; +export { Subscriber } from './Subscriber'; +export { AsyncSubject } from './AsyncSubject'; +export { ReplaySubject } from './ReplaySubject'; +export { BehaviorSubject } from './BehaviorSubject'; +export { ConnectableObservable } from './observable/ConnectableObservable'; +export { Notification } from './Notification'; +export { EmptyError } from './util/EmptyError'; +export { ArgumentOutOfRangeError } from './util/ArgumentOutOfRangeError'; +export { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError'; +export { TimeoutError } from './util/TimeoutError'; +export { UnsubscriptionError } from './util/UnsubscriptionError'; +export { TimeInterval } from './operator/timeInterval'; +export { Timestamp } from './operators/timestamp'; +export { TestScheduler } from './testing/TestScheduler'; +export { VirtualTimeScheduler } from './scheduler/VirtualTimeScheduler'; +export { AjaxRequest, AjaxResponse, AjaxError, AjaxTimeoutError } from './observable/dom/AjaxObservable'; +export { pipe } from './util/pipe'; +import { AsapScheduler } from './scheduler/AsapScheduler'; +import { AsyncScheduler } from './scheduler/AsyncScheduler'; +import { QueueScheduler } from './scheduler/QueueScheduler'; +import { AnimationFrameScheduler } from './scheduler/AnimationFrameScheduler'; +import * as _operators from './operators'; +export declare const operators: typeof _operators; +/** + * @typedef {Object} Rx.Scheduler + * @property {Scheduler} queue Schedules on a queue in the current event frame + * (trampoline scheduler). Use this for iteration operations. + * @property {Scheduler} asap Schedules on the micro task queue, which uses the + * fastest transport mechanism available, either Node.js' `process.nextTick()` + * or Web Worker MessageChannel or setTimeout or others. Use this for + * asynchronous conversions. + * @property {Scheduler} async Schedules work with `setInterval`. Use this for + * time-based operations. + * @property {Scheduler} animationFrame Schedules work with `requestAnimationFrame`. + * Use this for synchronizing with the platform's painting + */ +declare let Scheduler: { + asap: AsapScheduler; + queue: QueueScheduler; + animationFrame: AnimationFrameScheduler; + async: AsyncScheduler; +}; +/** + * @typedef {Object} Rx.Symbol + * @property {Symbol|string} rxSubscriber A symbol to use as a property name to + * retrieve an "Rx safe" Observer from an object. "Rx safety" can be defined as + * an object that has all of the traits of an Rx Subscriber, including the + * ability to add and remove subscriptions to the subscription chain and + * guarantees involving event triggering (can't "next" after unsubscription, + * etc). + * @property {Symbol|string} observable A symbol to use as a property name to + * retrieve an Observable as defined by the [ECMAScript "Observable" spec](https://github.com/zenparsing/es-observable). + * @property {Symbol|string} iterator The ES6 symbol to use as a property name + * to retrieve an iterator from an object. + */ +declare let Symbol: { + rxSubscriber: any; + observable: any; + iterator: any; +}; +export { Scheduler, Symbol }; diff --git a/node_modules/rxjs/Rx.js b/node_modules/rxjs/Rx.js new file mode 100644 index 00000000..c159fee5 --- /dev/null +++ b/node_modules/rxjs/Rx.js @@ -0,0 +1,233 @@ +"use strict"; +/* tslint:disable:no-unused-variable */ +// Subject imported before Observable to bypass circular dependency issue since +// Subject extends Observable and Observable references Subject in it's +// definition +var Subject_1 = require('./Subject'); +exports.Subject = Subject_1.Subject; +exports.AnonymousSubject = Subject_1.AnonymousSubject; +/* tslint:enable:no-unused-variable */ +var Observable_1 = require('./Observable'); +exports.Observable = Observable_1.Observable; +// statics +/* tslint:disable:no-use-before-declare */ +require('./add/observable/bindCallback'); +require('./add/observable/bindNodeCallback'); +require('./add/observable/combineLatest'); +require('./add/observable/concat'); +require('./add/observable/defer'); +require('./add/observable/empty'); +require('./add/observable/forkJoin'); +require('./add/observable/from'); +require('./add/observable/fromEvent'); +require('./add/observable/fromEventPattern'); +require('./add/observable/fromPromise'); +require('./add/observable/generate'); +require('./add/observable/if'); +require('./add/observable/interval'); +require('./add/observable/merge'); +require('./add/observable/race'); +require('./add/observable/never'); +require('./add/observable/of'); +require('./add/observable/onErrorResumeNext'); +require('./add/observable/pairs'); +require('./add/observable/range'); +require('./add/observable/using'); +require('./add/observable/throw'); +require('./add/observable/timer'); +require('./add/observable/zip'); +//dom +require('./add/observable/dom/ajax'); +require('./add/observable/dom/webSocket'); +//operators +require('./add/operator/buffer'); +require('./add/operator/bufferCount'); +require('./add/operator/bufferTime'); +require('./add/operator/bufferToggle'); +require('./add/operator/bufferWhen'); +require('./add/operator/catch'); +require('./add/operator/combineAll'); +require('./add/operator/combineLatest'); +require('./add/operator/concat'); +require('./add/operator/concatAll'); +require('./add/operator/concatMap'); +require('./add/operator/concatMapTo'); +require('./add/operator/count'); +require('./add/operator/dematerialize'); +require('./add/operator/debounce'); +require('./add/operator/debounceTime'); +require('./add/operator/defaultIfEmpty'); +require('./add/operator/delay'); +require('./add/operator/delayWhen'); +require('./add/operator/distinct'); +require('./add/operator/distinctUntilChanged'); +require('./add/operator/distinctUntilKeyChanged'); +require('./add/operator/do'); +require('./add/operator/exhaust'); +require('./add/operator/exhaustMap'); +require('./add/operator/expand'); +require('./add/operator/elementAt'); +require('./add/operator/filter'); +require('./add/operator/finally'); +require('./add/operator/find'); +require('./add/operator/findIndex'); +require('./add/operator/first'); +require('./add/operator/groupBy'); +require('./add/operator/ignoreElements'); +require('./add/operator/isEmpty'); +require('./add/operator/audit'); +require('./add/operator/auditTime'); +require('./add/operator/last'); +require('./add/operator/let'); +require('./add/operator/every'); +require('./add/operator/map'); +require('./add/operator/mapTo'); +require('./add/operator/materialize'); +require('./add/operator/max'); +require('./add/operator/merge'); +require('./add/operator/mergeAll'); +require('./add/operator/mergeMap'); +require('./add/operator/mergeMapTo'); +require('./add/operator/mergeScan'); +require('./add/operator/min'); +require('./add/operator/multicast'); +require('./add/operator/observeOn'); +require('./add/operator/onErrorResumeNext'); +require('./add/operator/pairwise'); +require('./add/operator/partition'); +require('./add/operator/pluck'); +require('./add/operator/publish'); +require('./add/operator/publishBehavior'); +require('./add/operator/publishReplay'); +require('./add/operator/publishLast'); +require('./add/operator/race'); +require('./add/operator/reduce'); +require('./add/operator/repeat'); +require('./add/operator/repeatWhen'); +require('./add/operator/retry'); +require('./add/operator/retryWhen'); +require('./add/operator/sample'); +require('./add/operator/sampleTime'); +require('./add/operator/scan'); +require('./add/operator/sequenceEqual'); +require('./add/operator/share'); +require('./add/operator/shareReplay'); +require('./add/operator/single'); +require('./add/operator/skip'); +require('./add/operator/skipLast'); +require('./add/operator/skipUntil'); +require('./add/operator/skipWhile'); +require('./add/operator/startWith'); +require('./add/operator/subscribeOn'); +require('./add/operator/switch'); +require('./add/operator/switchMap'); +require('./add/operator/switchMapTo'); +require('./add/operator/take'); +require('./add/operator/takeLast'); +require('./add/operator/takeUntil'); +require('./add/operator/takeWhile'); +require('./add/operator/throttle'); +require('./add/operator/throttleTime'); +require('./add/operator/timeInterval'); +require('./add/operator/timeout'); +require('./add/operator/timeoutWith'); +require('./add/operator/timestamp'); +require('./add/operator/toArray'); +require('./add/operator/toPromise'); +require('./add/operator/window'); +require('./add/operator/windowCount'); +require('./add/operator/windowTime'); +require('./add/operator/windowToggle'); +require('./add/operator/windowWhen'); +require('./add/operator/withLatestFrom'); +require('./add/operator/zip'); +require('./add/operator/zipAll'); +/* tslint:disable:no-unused-variable */ +var Subscription_1 = require('./Subscription'); +exports.Subscription = Subscription_1.Subscription; +var Subscriber_1 = require('./Subscriber'); +exports.Subscriber = Subscriber_1.Subscriber; +var AsyncSubject_1 = require('./AsyncSubject'); +exports.AsyncSubject = AsyncSubject_1.AsyncSubject; +var ReplaySubject_1 = require('./ReplaySubject'); +exports.ReplaySubject = ReplaySubject_1.ReplaySubject; +var BehaviorSubject_1 = require('./BehaviorSubject'); +exports.BehaviorSubject = BehaviorSubject_1.BehaviorSubject; +var ConnectableObservable_1 = require('./observable/ConnectableObservable'); +exports.ConnectableObservable = ConnectableObservable_1.ConnectableObservable; +var Notification_1 = require('./Notification'); +exports.Notification = Notification_1.Notification; +var EmptyError_1 = require('./util/EmptyError'); +exports.EmptyError = EmptyError_1.EmptyError; +var ArgumentOutOfRangeError_1 = require('./util/ArgumentOutOfRangeError'); +exports.ArgumentOutOfRangeError = ArgumentOutOfRangeError_1.ArgumentOutOfRangeError; +var ObjectUnsubscribedError_1 = require('./util/ObjectUnsubscribedError'); +exports.ObjectUnsubscribedError = ObjectUnsubscribedError_1.ObjectUnsubscribedError; +var TimeoutError_1 = require('./util/TimeoutError'); +exports.TimeoutError = TimeoutError_1.TimeoutError; +var UnsubscriptionError_1 = require('./util/UnsubscriptionError'); +exports.UnsubscriptionError = UnsubscriptionError_1.UnsubscriptionError; +var timeInterval_1 = require('./operator/timeInterval'); +exports.TimeInterval = timeInterval_1.TimeInterval; +var timestamp_1 = require('./operators/timestamp'); +exports.Timestamp = timestamp_1.Timestamp; +var TestScheduler_1 = require('./testing/TestScheduler'); +exports.TestScheduler = TestScheduler_1.TestScheduler; +var VirtualTimeScheduler_1 = require('./scheduler/VirtualTimeScheduler'); +exports.VirtualTimeScheduler = VirtualTimeScheduler_1.VirtualTimeScheduler; +var AjaxObservable_1 = require('./observable/dom/AjaxObservable'); +exports.AjaxResponse = AjaxObservable_1.AjaxResponse; +exports.AjaxError = AjaxObservable_1.AjaxError; +exports.AjaxTimeoutError = AjaxObservable_1.AjaxTimeoutError; +var pipe_1 = require('./util/pipe'); +exports.pipe = pipe_1.pipe; +var asap_1 = require('./scheduler/asap'); +var async_1 = require('./scheduler/async'); +var queue_1 = require('./scheduler/queue'); +var animationFrame_1 = require('./scheduler/animationFrame'); +var rxSubscriber_1 = require('./symbol/rxSubscriber'); +var iterator_1 = require('./symbol/iterator'); +var observable_1 = require('./symbol/observable'); +var _operators = require('./operators'); +exports.operators = _operators; +/* tslint:enable:no-unused-variable */ +/** + * @typedef {Object} Rx.Scheduler + * @property {Scheduler} queue Schedules on a queue in the current event frame + * (trampoline scheduler). Use this for iteration operations. + * @property {Scheduler} asap Schedules on the micro task queue, which uses the + * fastest transport mechanism available, either Node.js' `process.nextTick()` + * or Web Worker MessageChannel or setTimeout or others. Use this for + * asynchronous conversions. + * @property {Scheduler} async Schedules work with `setInterval`. Use this for + * time-based operations. + * @property {Scheduler} animationFrame Schedules work with `requestAnimationFrame`. + * Use this for synchronizing with the platform's painting + */ +var Scheduler = { + asap: asap_1.asap, + queue: queue_1.queue, + animationFrame: animationFrame_1.animationFrame, + async: async_1.async +}; +exports.Scheduler = Scheduler; +/** + * @typedef {Object} Rx.Symbol + * @property {Symbol|string} rxSubscriber A symbol to use as a property name to + * retrieve an "Rx safe" Observer from an object. "Rx safety" can be defined as + * an object that has all of the traits of an Rx Subscriber, including the + * ability to add and remove subscriptions to the subscription chain and + * guarantees involving event triggering (can't "next" after unsubscription, + * etc). + * @property {Symbol|string} observable A symbol to use as a property name to + * retrieve an Observable as defined by the [ECMAScript "Observable" spec](https://github.com/zenparsing/es-observable). + * @property {Symbol|string} iterator The ES6 symbol to use as a property name + * to retrieve an iterator from an object. + */ +var Symbol = { + rxSubscriber: rxSubscriber_1.rxSubscriber, + observable: observable_1.observable, + iterator: iterator_1.iterator +}; +exports.Symbol = Symbol; +//# sourceMappingURL=Rx.js.map \ No newline at end of file diff --git a/node_modules/rxjs/Rx.js.map b/node_modules/rxjs/Rx.js.map new file mode 100644 index 00000000..1a505ea4 --- /dev/null +++ b/node_modules/rxjs/Rx.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Rx.js","sourceRoot":"","sources":["../src/Rx.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,+EAA+E;AAC/E,uEAAuE;AACvE,aAAa;AACb,wBAAwC,WAAW,CAAC;AAA5C,oCAAO;AAAE,sDAAmC;AACpD,sCAAsC;AACtC,2BAAyB,cAAc,CAAC;AAAhC,6CAAgC;AAExC,UAAU;AACV,0CAA0C;AAC1C,QAAO,+BAA+B,CAAC,CAAA;AACvC,QAAO,mCAAmC,CAAC,CAAA;AAC3C,QAAO,gCAAgC,CAAC,CAAA;AACxC,QAAO,yBAAyB,CAAC,CAAA;AACjC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,2BAA2B,CAAC,CAAA;AACnC,QAAO,uBAAuB,CAAC,CAAA;AAC/B,QAAO,4BAA4B,CAAC,CAAA;AACpC,QAAO,mCAAmC,CAAC,CAAA;AAC3C,QAAO,8BAA8B,CAAC,CAAA;AACtC,QAAO,2BAA2B,CAAC,CAAA;AACnC,QAAO,qBAAqB,CAAC,CAAA;AAC7B,QAAO,2BAA2B,CAAC,CAAA;AACnC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,uBAAuB,CAAC,CAAA;AAC/B,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,qBAAqB,CAAC,CAAA;AAC7B,QAAO,oCAAoC,CAAC,CAAA;AAC5C,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,sBA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able to bypass circular dependency issue since\n// Subject extends Observable and Observable references Subject in it's\n// definition\nexport {Subject, AnonymousSubject} from './Subject';\n/* tslint:enable:no-unused-variable */\nexport {Observable} from './Observable';\n\n// statics\n/* tslint:disable:no-use-before-declare */\nimport './add/observable/bindCallback';\nimport './add/observable/bindNodeCallback';\nimport './add/observable/combineLatest';\nimport './add/observable/concat';\nimport './add/observable/defer';\nimport './add/observable/empty';\nimport './add/observable/forkJoin';\nimport './add/observable/from';\nimport './add/observable/fromEvent';\nimport './add/observable/fromEventPattern';\nimport './add/observable/fromPromise';\nimport './add/observable/generate';\nimport './add/observable/if';\nimport './add/observable/interval';\nimport './add/observable/merge';\nimport './add/observable/race';\nimport './add/observable/never';\nimport './add/observable/of';\nimport './add/observable/onErrorResumeNext';\nimport './add/observable/pairs';\nimport './add/observable/range';\nimport './add/observable/using';\nimport './add/observable/throw';\nimport './add/observable/timer';\nimport './add/observable/zip';\n\n//dom\nimport './add/observable/dom/ajax';\nimport './add/observable/dom/webSocket';\n\n//operators\nimport './add/operator/buffer';\nimport './add/operator/bufferCount';\nimport './add/operator/bufferTime';\nimport './add/operator/bufferToggle';\nimport './add/operator/bufferWhen';\nimport './add/operator/catch';\nimport './add/operator/combineAll';\nimport './add/operator/combineLatest';\nimport './add/operator/concat';\nimport './add/operator/concatAll';\nimport './add/operator/concatMap';\nimport './add/operator/concatMapTo';\nimport './add/operator/count';\nimport './add/operator/dematerialize';\nimport './add/operator/debounce';\nimport './add/operator/debounceTime';\nimport './add/operator/defaultIfEmpty';\nimport './add/operator/delay';\nimport './add/operator/delayWhen';\nimport './add/operator/distinct';\nimport './add/operator/distinctUntilChanged';\nimport './add/operator/distinctUntilKeyChanged';\nimport './add/operator/do';\nimport './add/operator/exhaust';\nimport './add/operator/exhaustMap';\nimport './add/operator/expand';\nimport './add/operator/elementAt';\nimport './add/operator/filter';\nimport './add/operator/finally';\nimport './add/operator/find';\nimport './add/operator/findIndex';\nimport './add/operator/first';\nimport './add/operator/groupBy';\nimport './add/operator/ignoreElements';\nimport './add/operator/isEmpty';\nimport './add/operator/audit';\nimport './add/operator/auditTime';\nimport './add/operator/last';\nimport './add/operator/let';\nimport './add/operator/every';\nimport './add/operator/map';\nimport './add/operator/mapTo';\nimport './add/operator/materialize';\nimport './add/operator/max';\nimport './add/operator/merge';\nimport './add/operator/mergeAll';\nimport './add/operator/mergeMap';\nimport './add/operator/mergeMapTo';\nimport './add/operator/mergeScan';\nimport './add/operator/min';\nimport './add/operator/multicast';\nimport './add/operator/observeOn';\nimport './add/operator/onErrorResumeNext';\nimport './add/operator/pairwise';\nimport './add/operator/partition';\nimport './add/operator/pluck';\nimport './add/operator/publish';\nimport './add/operator/publishBehavior';\nimport './add/operator/publishReplay';\nimport './add/operator/publishLast';\nimport './add/operator/race';\nimport './add/operator/reduce';\nimport './add/operator/repeat';\nimport './add/operator/repeatWhen';\nimport './add/operator/retry';\nimport './add/operator/retryWhen';\nimport './add/operator/sample';\nimport './add/operator/sampleTime';\nimport './add/operator/scan';\nimport './add/operator/sequenceEqual';\nimport './add/operator/share';\nimport './add/operator/shareReplay';\nimport './add/operator/single';\nimport './add/operator/skip';\nimport './add/operator/skipLast';\nimport './add/operator/skipUntil';\nimport './add/operator/skipWhile';\nimport './add/operator/startWith';\nimport './add/operator/subscribeOn';\nimport './add/operator/switch';\nimport './add/operator/switchMap';\nimport './add/operator/switchMapTo';\nimport './add/operator/take';\nimport './add/operator/takeLast';\nimport './add/operator/takeUntil';\nimport './add/operator/takeWhile';\nimport './add/operator/throttle';\nimport './add/operator/throttleTime';\nimport './add/operator/timeInterval';\nimport './add/operator/timeout';\nimport './add/operator/timeoutWith';\nimport './add/operator/timestamp';\nimport './add/operator/toArray';\nimport './add/operator/toPromise';\nimport './add/operator/window';\nimport './add/operator/windowCount';\nimport './add/operator/windowTime';\nimport './add/operator/windowToggle';\nimport './add/operator/windowWhen';\nimport './add/operator/withLatestFrom';\nimport './add/operator/zip';\nimport './add/operator/zipAll';\n\n/* tslint:disable:no-unused-variable */\nexport {Operator} from './Operator';\nexport {Observer} from './Observer';\nexport {Subscription} from './Subscription';\nexport {Subscriber} from './Subscriber';\nexport {AsyncSubject} from './AsyncSubject';\nexport {ReplaySubject} from './ReplaySubject';\nexport {BehaviorSubject} from './BehaviorSubject';\nexport {ConnectableObservable} from './observable/ConnectableObservable';\nexport {Notification} from './Notification';\nexport {EmptyError} from './util/EmptyError';\nexport {ArgumentOutOfRangeError} from './util/ArgumentOutOfRangeError';\nexport {ObjectUnsubscribedError} from './util/ObjectUnsubscribedError';\nexport {TimeoutError} from './util/TimeoutError';\nexport {UnsubscriptionError} from './util/UnsubscriptionError';\nexport {TimeInterval} from './operator/timeInterval';\nexport {Timestamp} from './operators/timestamp';\nexport {TestScheduler} from './testing/TestScheduler';\nexport {VirtualTimeScheduler} from './scheduler/VirtualTimeScheduler';\nexport {AjaxRequest, AjaxResponse, AjaxError, AjaxTimeoutError} from './observable/dom/AjaxObservable';\nexport { pipe } from './util/pipe';\n\nimport { asap } from './scheduler/asap';\nimport { async } from './scheduler/async';\nimport { queue } from './scheduler/queue';\nimport { animationFrame } from './scheduler/animationFrame';\nimport { AsapScheduler } from './scheduler/AsapScheduler';\nimport { AsyncScheduler } from './scheduler/AsyncScheduler';\nimport { QueueScheduler } from './scheduler/QueueScheduler';\nimport { AnimationFrameScheduler } from './scheduler/AnimationFrameScheduler';\nimport { rxSubscriber } from './symbol/rxSubscriber';\nimport { iterator } from './symbol/iterator';\nimport { observable } from './symbol/observable';\n\nimport * as _operators from './operators';\n\nexport const operators = _operators;\n\n/* tslint:enable:no-unused-variable */\n\n/**\n * @typedef {Object} Rx.Scheduler\n * @property {Scheduler} queue Schedules on a queue in the current event frame\n * (trampoline scheduler). Use this for iteration operations.\n * @property {Scheduler} asap Schedules on the micro task queue, which uses the\n * fastest transport mechanism available, either Node.js' `process.nextTick()`\n * or Web Worker MessageChannel or setTimeout or others. Use this for\n * asynchronous conversions.\n * @property {Scheduler} async Schedules work with `setInterval`. Use this for\n * time-based operations.\n * @property {Scheduler} animationFrame Schedules work with `requestAnimationFrame`.\n * Use this for synchronizing with the platform's painting\n */\nlet Scheduler = {\n asap,\n queue,\n animationFrame,\n async\n};\n\n/**\n * @typedef {Object} Rx.Symbol\n * @property {Symbol|string} rxSubscriber A symbol to use as a property name to\n * retrieve an \"Rx safe\" Observer from an object. \"Rx safety\" can be defined as\n * an object that has all of the traits of an Rx Subscriber, including the\n * ability to add and remove subscriptions to the subscription chain and\n * guarantees involving event triggering (can't \"next\" after unsubscription,\n * etc).\n * @property {Symbol|string} observable A symbol to use as a property name to\n * retrieve an Observable as defined by the [ECMAScript \"Observable\" spec](https://github.com/zenparsing/es-observable).\n * @property {Symbol|string} iterator The ES6 symbol to use as a property name\n * to retrieve an iterator from an object.\n */\nlet Symbol = {\n rxSubscriber,\n observable,\n iterator\n};\n\nexport {\n Scheduler,\n Symbol\n};\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/Scheduler.d.ts b/node_modules/rxjs/Scheduler.d.ts new file mode 100644 index 00000000..8feeb423 --- /dev/null +++ b/node_modules/rxjs/Scheduler.d.ts @@ -0,0 +1,54 @@ +import { Action } from './scheduler/Action'; +import { Subscription } from './Subscription'; +export interface IScheduler { + now(): number; + schedule(work: (this: Action, state?: T) => void, delay?: number, state?: T): Subscription; +} +/** + * An execution context and a data structure to order tasks and schedule their + * execution. Provides a notion of (potentially virtual) time, through the + * `now()` getter method. + * + * Each unit of work in a Scheduler is called an {@link Action}. + * + * ```ts + * class Scheduler { + * now(): number; + * schedule(work, delay?, state?): Subscription; + * } + * ``` + * + * @class Scheduler + */ +export declare class Scheduler implements IScheduler { + private SchedulerAction; + static now: () => number; + constructor(SchedulerAction: typeof Action, now?: () => number); + /** + * A getter method that returns a number representing the current time + * (at the time this function was called) according to the scheduler's own + * internal clock. + * @return {number} A number that represents the current time. May or may not + * have a relation to wall-clock time. May or may not refer to a time unit + * (e.g. milliseconds). + */ + now: () => number; + /** + * Schedules a function, `work`, for execution. May happen at some point in + * the future, according to the `delay` parameter, if specified. May be passed + * some context object, `state`, which will be passed to the `work` function. + * + * The given arguments will be processed an stored as an Action object in a + * queue of actions. + * + * @param {function(state: ?T): ?Subscription} work A function representing a + * task, or some unit of work to be executed by the Scheduler. + * @param {number} [delay] Time to wait before executing the work, where the + * time unit is implicit and defined by the Scheduler itself. + * @param {T} [state] Some contextual data that the `work` function uses when + * called by the Scheduler. + * @return {Subscription} A subscription in order to be able to unsubscribe + * the scheduled work. + */ + schedule(work: (this: Action, state?: T) => void, delay?: number, state?: T): Subscription; +} diff --git a/node_modules/rxjs/Scheduler.js b/node_modules/rxjs/Scheduler.js new file mode 100644 index 00000000..3bfbaf12 --- /dev/null +++ b/node_modules/rxjs/Scheduler.js @@ -0,0 +1,49 @@ +"use strict"; +/** + * An execution context and a data structure to order tasks and schedule their + * execution. Provides a notion of (potentially virtual) time, through the + * `now()` getter method. + * + * Each unit of work in a Scheduler is called an {@link Action}. + * + * ```ts + * class Scheduler { + * now(): number; + * schedule(work, delay?, state?): Subscription; + * } + * ``` + * + * @class Scheduler + */ +var Scheduler = (function () { + function Scheduler(SchedulerAction, now) { + if (now === void 0) { now = Scheduler.now; } + this.SchedulerAction = SchedulerAction; + this.now = now; + } + /** + * Schedules a function, `work`, for execution. May happen at some point in + * the future, according to the `delay` parameter, if specified. May be passed + * some context object, `state`, which will be passed to the `work` function. + * + * The given arguments will be processed an stored as an Action object in a + * queue of actions. + * + * @param {function(state: ?T): ?Subscription} work A function representing a + * task, or some unit of work to be executed by the Scheduler. + * @param {number} [delay] Time to wait before executing the work, where the + * time unit is implicit and defined by the Scheduler itself. + * @param {T} [state] Some contextual data that the `work` function uses when + * called by the Scheduler. + * @return {Subscription} A subscription in order to be able to unsubscribe + * the scheduled work. + */ + Scheduler.prototype.schedule = function (work, delay, state) { + if (delay === void 0) { delay = 0; } + return new this.SchedulerAction(this, work).schedule(state, delay); + }; + Scheduler.now = Date.now ? Date.now : function () { return +new Date(); }; + return Scheduler; +}()); +exports.Scheduler = Scheduler; +//# sourceMappingURL=Scheduler.js.map \ No newline at end of file diff --git a/node_modules/rxjs/Scheduler.js.map b/node_modules/rxjs/Scheduler.js.map new file mode 100644 index 00000000..b9bd546a --- /dev/null +++ b/node_modules/rxjs/Scheduler.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Scheduler.js","sourceRoot":"","sources":["../src/Scheduler.ts"],"names":[],"mappings":";AAOA;;;;;;;;;;;;;;;GAeG;AACH;IAIE,mBAAoB,eAA8B,EACtC,GAAiC;QAAjC,mBAAiC,GAAjC,MAAoB,SAAS,CAAC,GAAG;QADzB,oBAAe,GAAf,eAAe,CAAe;QAEhD,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;IACjB,CAAC;IAYD;;;;;;;;;;;;;;;;OAgBG;IACI,4BAAQ,GAAf,UAAmB,IAA0C,EAAE,KAAiB,EAAE,KAAS;QAA5B,qBAAiB,GAAjB,SAAiB;QAC9E,MAAM,CAAC,IAAI,IAAI,CAAC,eAAe,CAAI,IAAI,EAAE,IAAI,CAAC,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IACxE,CAAC;IApCa,aAAG,GAAiB,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,GAAG,cAAM,OAAA,CAAC,IAAI,IAAI,EAAE,EAAX,CAAW,CAAC;IAqC5E,gBAAC;AAAD,CAAC,AAvCD,IAuCC;AAvCY,iBAAS,YAuCrB,CAAA","sourcesContent":["import { Action } from './scheduler/Action';\nimport { Subscription } from './Subscription';\n\nexport interface IScheduler {\n now(): number;\n schedule(work: (this: Action, state?: T) => void, delay?: number, state?: T): Subscription;\n}\n/**\n * An execution context and a data structure to order tasks and schedule their\n * execution. Provides a notion of (potentially virtual) time, through the\n * `now()` getter method.\n *\n * Each unit of work in a Scheduler is called an {@link Action}.\n *\n * ```ts\n * class Scheduler {\n * now(): number;\n * schedule(work, delay?, state?): Subscription;\n * }\n * ```\n *\n * @class Scheduler\n */\nexport class Scheduler implements IScheduler {\n\n public static now: () => number = Date.now ? Date.now : () => +new Date();\n\n constructor(private SchedulerAction: typeof Action,\n now: () => number = Scheduler.now) {\n this.now = now;\n }\n\n /**\n * A getter method that returns a number representing the current time\n * (at the time this function was called) according to the scheduler's own\n * internal clock.\n * @return {number} A number that represents the current time. May or may not\n * have a relation to wall-clock time. May or may not refer to a time unit\n * (e.g. milliseconds).\n */\n public now: () => number;\n\n /**\n * Schedules a function, `work`, for execution. May happen at some point in\n * the future, according to the `delay` parameter, if specified. May be passed\n * some context object, `state`, which will be passed to the `work` function.\n *\n * The given arguments will be processed an stored as an Action object in a\n * queue of actions.\n *\n * @param {function(state: ?T): ?Subscription} work A function representing a\n * task, or some unit of work to be executed by the Scheduler.\n * @param {number} [delay] Time to wait before executing the work, where the\n * time unit is implicit and defined by the Scheduler itself.\n * @param {T} [state] Some contextual data that the `work` function uses when\n * called by the Scheduler.\n * @return {Subscription} A subscription in order to be able to unsubscribe\n * the scheduled work.\n */\n public schedule(work: (this: Action, state?: T) => void, delay: number = 0, state?: T): Subscription {\n return new this.SchedulerAction(this, work).schedule(state, delay);\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/Subject.d.ts b/node_modules/rxjs/Subject.d.ts new file mode 100644 index 00000000..6659e6a4 --- /dev/null +++ b/node_modules/rxjs/Subject.d.ts @@ -0,0 +1,43 @@ +import { Operator } from './Operator'; +import { Observer } from './Observer'; +import { Observable } from './Observable'; +import { Subscriber } from './Subscriber'; +import { ISubscription, Subscription, TeardownLogic } from './Subscription'; +/** + * @class SubjectSubscriber + */ +export declare class SubjectSubscriber extends Subscriber { + protected destination: Subject; + constructor(destination: Subject); +} +/** + * @class Subject + */ +export declare class Subject extends Observable implements ISubscription { + observers: Observer[]; + closed: boolean; + isStopped: boolean; + hasError: boolean; + thrownError: any; + constructor(); + static create: Function; + lift(operator: Operator): Observable; + next(value?: T): void; + error(err: any): void; + complete(): void; + unsubscribe(): void; + protected _trySubscribe(subscriber: Subscriber): TeardownLogic; + protected _subscribe(subscriber: Subscriber): Subscription; + asObservable(): Observable; +} +/** + * @class AnonymousSubject + */ +export declare class AnonymousSubject extends Subject { + protected destination: Observer; + constructor(destination?: Observer, source?: Observable); + next(value: T): void; + error(err: any): void; + complete(): void; + protected _subscribe(subscriber: Subscriber): Subscription; +} diff --git a/node_modules/rxjs/Subject.js b/node_modules/rxjs/Subject.js new file mode 100644 index 00000000..66754be5 --- /dev/null +++ b/node_modules/rxjs/Subject.js @@ -0,0 +1,168 @@ +"use strict"; +var __extends = (this && this.__extends) || function (d, b) { + for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +}; +var Observable_1 = require('./Observable'); +var Subscriber_1 = require('./Subscriber'); +var Subscription_1 = require('./Subscription'); +var ObjectUnsubscribedError_1 = require('./util/ObjectUnsubscribedError'); +var SubjectSubscription_1 = require('./SubjectSubscription'); +var rxSubscriber_1 = require('./symbol/rxSubscriber'); +/** + * @class SubjectSubscriber + */ +var SubjectSubscriber = (function (_super) { + __extends(SubjectSubscriber, _super); + function SubjectSubscriber(destination) { + _super.call(this, destination); + this.destination = destination; + } + return SubjectSubscriber; +}(Subscriber_1.Subscriber)); +exports.SubjectSubscriber = SubjectSubscriber; +/** + * @class Subject + */ +var Subject = (function (_super) { + __extends(Subject, _super); + function Subject() { + _super.call(this); + this.observers = []; + this.closed = false; + this.isStopped = false; + this.hasError = false; + this.thrownError = null; + } + Subject.prototype[rxSubscriber_1.rxSubscriber] = function () { + return new SubjectSubscriber(this); + }; + Subject.prototype.lift = function (operator) { + var subject = new AnonymousSubject(this, this); + subject.operator = operator; + return subject; + }; + Subject.prototype.next = function (value) { + if (this.closed) { + throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); + } + if (!this.isStopped) { + var observers = this.observers; + var len = observers.length; + var copy = observers.slice(); + for (var i = 0; i < len; i++) { + copy[i].next(value); + } + } + }; + Subject.prototype.error = function (err) { + if (this.closed) { + throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); + } + this.hasError = true; + this.thrownError = err; + this.isStopped = true; + var observers = this.observers; + var len = observers.length; + var copy = observers.slice(); + for (var i = 0; i < len; i++) { + copy[i].error(err); + } + this.observers.length = 0; + }; + Subject.prototype.complete = function () { + if (this.closed) { + throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); + } + this.isStopped = true; + var observers = this.observers; + var len = observers.length; + var copy = observers.slice(); + for (var i = 0; i < len; i++) { + copy[i].complete(); + } + this.observers.length = 0; + }; + Subject.prototype.unsubscribe = function () { + this.isStopped = true; + this.closed = true; + this.observers = null; + }; + Subject.prototype._trySubscribe = function (subscriber) { + if (this.closed) { + throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); + } + else { + return _super.prototype._trySubscribe.call(this, subscriber); + } + }; + Subject.prototype._subscribe = function (subscriber) { + if (this.closed) { + throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); + } + else if (this.hasError) { + subscriber.error(this.thrownError); + return Subscription_1.Subscription.EMPTY; + } + else if (this.isStopped) { + subscriber.complete(); + return Subscription_1.Subscription.EMPTY; + } + else { + this.observers.push(subscriber); + return new SubjectSubscription_1.SubjectSubscription(this, subscriber); + } + }; + Subject.prototype.asObservable = function () { + var observable = new Observable_1.Observable(); + observable.source = this; + return observable; + }; + Subject.create = function (destination, source) { + return new AnonymousSubject(destination, source); + }; + return Subject; +}(Observable_1.Observable)); +exports.Subject = Subject; +/** + * @class AnonymousSubject + */ +var AnonymousSubject = (function (_super) { + __extends(AnonymousSubject, _super); + function AnonymousSubject(destination, source) { + _super.call(this); + this.destination = destination; + this.source = source; + } + AnonymousSubject.prototype.next = function (value) { + var destination = this.destination; + if (destination && destination.next) { + destination.next(value); + } + }; + AnonymousSubject.prototype.error = function (err) { + var destination = this.destination; + if (destination && destination.error) { + this.destination.error(err); + } + }; + AnonymousSubject.prototype.complete = function () { + var destination = this.destination; + if (destination && destination.complete) { + this.destination.complete(); + } + }; + AnonymousSubject.prototype._subscribe = function (subscriber) { + var source = this.source; + if (source) { + return this.source.subscribe(subscriber); + } + else { + return Subscription_1.Subscription.EMPTY; + } + }; + return AnonymousSubject; +}(Subject)); +exports.AnonymousSubject = AnonymousSubject; +//# sourceMappingURL=Subject.js.map \ No newline at end of file diff --git a/node_modules/rxjs/Subject.js.map b/node_modules/rxjs/Subject.js.map new file mode 100644 index 00000000..730e7fca --- /dev/null +++ b/node_modules/rxjs/Subject.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Subject.js","sourceRoot":"","sources":["../src/Subject.ts"],"names":[],"mappings":";;;;;;AAEA,2BAA2B,cAAc,CAAC,CAAA;AAC1C,2BAA2B,cAAc,CAAC,CAAA;AAC1C,6BAA2D,gBAAgB,CAAC,CAAA;AAC5E,wCAAwC,gCAAgC,CAAC,CAAA;AACzE,oCAAoC,uBAAuB,CAAC,CAAA;AAC5D,6BAAmD,uBAAuB,CAAC,CAAA;AAE3E;;GAEG;AACH;IAA0C,qCAAa;IACrD,2BAAsB,WAAuB;QAC3C,kBAAM,WAAW,CAAC,CAAC;QADC,gBAAW,GAAX,WAAW,CAAY;IAE7C,CAAC;IACH,wBAAC;AAAD,CAAC,AAJD,CAA0C,uBAAU,GAInD;AAJY,yBAAiB,oBAI7B,CAAA;AAED;;GAEG;AACH;IAAgC,2BAAa;IAgB3C;QACE,iBAAO,CAAC;QAXV,cAAS,GAAkB,EAAE,CAAC;QAE9B,WAAM,GAAG,KAAK,CAAC;QAEf,cAAS,GAAG,KAAK,CAAC;QAElB,aAAQ,GAAG,KAAK,CAAC;QAEjB,gBAAW,GAAQ,IAAI,CAAC;IAIxB,CAAC;IAhBD,kBAAC,2BAAkB,CAAC,GAApB;QACE,MAAM,CAAC,IAAI,iBAAiB,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;IAoBD,sBAAI,GAAJ,UAAQ,QAAwB;QAC9B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GAAL,UAAM,GAAQ;QACJ,kCAAW,CAAU;QAC7B,EAAE,CAAC,CAAC,WAAW,IAAI,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;YACrC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC9B,CAAC;IACH,CAAC;IAED,mCAAQ,GAAR;QACU,kCAAW,CAAU;QAC7B,EAAE,CAAC,CAAC,WAAW,IAAI,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;YACxC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;IAES,qCAAU,GAApB,UAAqB,UAAyB;QACpC,wBAAM,CAAU;QACxB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;YACX,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QAC3C,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,CAAC,2BAAY,CAAC,KAAK,CAAC;QAC5B,CAAC;IACH,CAAC;IACH,uBAAC;AAAD,CAAC,AAnCD,CAAyC,OAAO,GAmC/C;AAnCY,wBAAgB,mBAmC5B,CAAA","sourcesContent":["import { Operator } from './Operator';\nimport { Observer } from './Observer';\nimport { Observable } from './Observable';\nimport { Subscriber } from './Subscriber';\nimport { ISubscription, Subscription, TeardownLogic } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { SubjectSubscription } from './SubjectSubscription';\nimport { rxSubscriber as rxSubscriberSymbol } from './symbol/rxSubscriber';\n\n/**\n * @class SubjectSubscriber\n */\nexport class SubjectSubscriber extends Subscriber {\n constructor(protected destination: Subject) {\n super(destination);\n }\n}\n\n/**\n * @class Subject\n */\nexport class Subject extends Observable implements ISubscription {\n\n [rxSubscriberSymbol]() {\n return new SubjectSubscriber(this);\n }\n\n observers: Observer[] = [];\n\n closed = false;\n\n isStopped = false;\n\n hasError = false;\n\n thrownError: any = null;\n\n constructor() {\n super();\n }\n\n static create: Function = (destination: Observer, source: Observable): AnonymousSubject => {\n return new AnonymousSubject(destination, source);\n }\n\n lift(operator: Operator): Observable {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n\n next(value?: T) {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n if (!this.isStopped) {\n const { observers } = this;\n const len = observers.length;\n const copy = observers.slice();\n for (let i = 0; i < len; i++) {\n copy[i].next(value);\n }\n }\n }\n\n error(err: any) {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n this.hasError = true;\n this.thrownError = err;\n this.isStopped = true;\n const { observers } = this;\n const len = observers.length;\n const copy = observers.slice();\n for (let i = 0; i < len; i++) {\n copy[i].error(err);\n }\n this.observers.length = 0;\n }\n\n complete() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n this.isStopped = true;\n const { observers } = this;\n const len = observers.length;\n const copy = observers.slice();\n for (let i = 0; i < len; i++) {\n copy[i].complete();\n }\n this.observers.length = 0;\n }\n\n unsubscribe() {\n this.isStopped = true;\n this.closed = true;\n this.observers = null;\n }\n\n protected _trySubscribe(subscriber: Subscriber): TeardownLogic {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n } else {\n return super._trySubscribe(subscriber);\n }\n }\n\n protected _subscribe(subscriber: Subscriber): Subscription {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n } else if (this.hasError) {\n subscriber.error(this.thrownError);\n return Subscription.EMPTY;\n } else if (this.isStopped) {\n subscriber.complete();\n return Subscription.EMPTY;\n } else {\n this.observers.push(subscriber);\n return new SubjectSubscription(this, subscriber);\n }\n }\n\n asObservable(): Observable {\n const observable = new Observable();\n (observable).source = this;\n return observable;\n }\n}\n\n/**\n * @class AnonymousSubject\n */\nexport class AnonymousSubject extends Subject {\n constructor(protected destination?: Observer, source?: Observable) {\n super();\n this.source = source;\n }\n\n next(value: T) {\n const { destination } = this;\n if (destination && destination.next) {\n destination.next(value);\n }\n }\n\n error(err: any) {\n const { destination } = this;\n if (destination && destination.error) {\n this.destination.error(err);\n }\n }\n\n complete() {\n const { destination } = this;\n if (destination && destination.complete) {\n this.destination.complete();\n }\n }\n\n protected _subscribe(subscriber: Subscriber): Subscription {\n const { source } = this;\n if (source) {\n return this.source.subscribe(subscriber);\n } else {\n return Subscription.EMPTY;\n }\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/SubjectSubscription.d.ts b/node_modules/rxjs/SubjectSubscription.d.ts new file mode 100644 index 00000000..f22deafe --- /dev/null +++ b/node_modules/rxjs/SubjectSubscription.d.ts @@ -0,0 +1,15 @@ +import { Subject } from './Subject'; +import { Observer } from './Observer'; +import { Subscription } from './Subscription'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export declare class SubjectSubscription extends Subscription { + subject: Subject; + subscriber: Observer; + closed: boolean; + constructor(subject: Subject, subscriber: Observer); + unsubscribe(): void; +} diff --git a/node_modules/rxjs/SubjectSubscription.js b/node_modules/rxjs/SubjectSubscription.js new file mode 100644 index 00000000..8e7b6afa --- /dev/null +++ b/node_modules/rxjs/SubjectSubscription.js @@ -0,0 +1,40 @@ +"use strict"; +var __extends = (this && this.__extends) || function (d, b) { + for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +}; +var Subscription_1 = require('./Subscription'); +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +var SubjectSubscription = (function (_super) { + __extends(SubjectSubscription, _super); + function SubjectSubscription(subject, subscriber) { + _super.call(this); + this.subject = subject; + this.subscriber = subscriber; + this.closed = false; + } + SubjectSubscription.prototype.unsubscribe = function () { + if (this.closed) { + return; + } + this.closed = true; + var subject = this.subject; + var observers = subject.observers; + this.subject = null; + if (!observers || observers.length === 0 || subject.isStopped || subject.closed) { + return; + } + var subscriberIndex = observers.indexOf(this.subscriber); + if (subscriberIndex !== -1) { + observers.splice(subscriberIndex, 1); + } + }; + return SubjectSubscription; +}(Subscription_1.Subscription)); +exports.SubjectSubscription = SubjectSubscription; +//# sourceMappingURL=SubjectSubscription.js.map \ No newline at end of file diff --git a/node_modules/rxjs/SubjectSubscription.js.map b/node_modules/rxjs/SubjectSubscription.js.map new file mode 100644 index 00000000..2a94c562 --- /dev/null +++ b/node_modules/rxjs/SubjectSubscription.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SubjectSubscription.js","sourceRoot":"","sources":["../src/SubjectSubscription.ts"],"names":[],"mappings":";;;;;;AAEA,6BAA6B,gBAAgB,CAAC,CAAA;AAE9C;;;;GAIG;AACH;IAA4C,uCAAY;IAGtD,6BAAmB,OAAmB,EAAS,UAAuB;QACpE,iBAAO,CAAC;QADS,YAAO,GAAP,OAAO,CAAY;QAAS,eAAU,GAAV,UAAU,CAAa;QAFtE,WAAM,GAAY,KAAK,CAAC;IAIxB,CAAC;IAED,yCAAW,GAAX;QACE,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YAChB,MAAM,CAAC;QACT,CAAC;QAED,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QAEnB,IAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC7B,IAAM,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;QAEpC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QAEpB,EAAE,CAAC,CAAC,CAAC,SAAS,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,IAAI,OAAO,CAAC,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;YAChF,MAAM,CAAC;QACT,CAAC;QAED,IAAM,eAAe,GAAG,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAE3D,EAAE,CAAC,CAAC,eAAe,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YAC3B,SAAS,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;QACvC,CAAC;IACH,CAAC;IACH,0BAAC;AAAD,CAAC,AA7BD,CAA4C,2BAAY,GA6BvD;AA7BY,2BAAmB,sBA6B/B,CAAA","sourcesContent":["import { Subject } from './Subject';\nimport { Observer } from './Observer';\nimport { Subscription } from './Subscription';\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nexport class SubjectSubscription extends Subscription {\n closed: boolean = false;\n\n constructor(public subject: Subject, public subscriber: Observer) {\n super();\n }\n\n unsubscribe() {\n if (this.closed) {\n return;\n }\n\n this.closed = true;\n\n const subject = this.subject;\n const observers = subject.observers;\n\n this.subject = null;\n\n if (!observers || observers.length === 0 || subject.isStopped || subject.closed) {\n return;\n }\n\n const subscriberIndex = observers.indexOf(this.subscriber);\n\n if (subscriberIndex !== -1) {\n observers.splice(subscriberIndex, 1);\n }\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/Subscriber.d.ts b/node_modules/rxjs/Subscriber.d.ts new file mode 100644 index 00000000..c30633f1 --- /dev/null +++ b/node_modules/rxjs/Subscriber.d.ts @@ -0,0 +1,68 @@ +import { Observer, PartialObserver } from './Observer'; +import { Subscription } from './Subscription'; +/** + * Implements the {@link Observer} interface and extends the + * {@link Subscription} class. While the {@link Observer} is the public API for + * consuming the values of an {@link Observable}, all Observers get converted to + * a Subscriber, in order to provide Subscription-like capabilities such as + * `unsubscribe`. Subscriber is a common type in RxJS, and crucial for + * implementing operators, but it is rarely used as a public API. + * + * @class Subscriber + */ +export declare class Subscriber extends Subscription implements Observer { + /** + * A static factory for a Subscriber, given a (potentially partial) definition + * of an Observer. + * @param {function(x: ?T): void} [next] The `next` callback of an Observer. + * @param {function(e: ?any): void} [error] The `error` callback of an + * Observer. + * @param {function(): void} [complete] The `complete` callback of an + * Observer. + * @return {Subscriber} A Subscriber wrapping the (partially defined) + * Observer represented by the given arguments. + */ + static create(next?: (x?: T) => void, error?: (e?: any) => void, complete?: () => void): Subscriber; + syncErrorValue: any; + syncErrorThrown: boolean; + syncErrorThrowable: boolean; + protected isStopped: boolean; + protected destination: PartialObserver; + /** + * @param {Observer|function(value: T): void} [destinationOrNext] A partially + * defined Observer or a `next` callback function. + * @param {function(e: ?any): void} [error] The `error` callback of an + * Observer. + * @param {function(): void} [complete] The `complete` callback of an + * Observer. + */ + constructor(destinationOrNext?: PartialObserver | ((value: T) => void), error?: (e?: any) => void, complete?: () => void); + /** + * The {@link Observer} callback to receive notifications of type `next` from + * the Observable, with a value. The Observable may call this method 0 or more + * times. + * @param {T} [value] The `next` value. + * @return {void} + */ + next(value?: T): void; + /** + * The {@link Observer} callback to receive notifications of type `error` from + * the Observable, with an attached {@link Error}. Notifies the Observer that + * the Observable has experienced an error condition. + * @param {any} [err] The `error` exception. + * @return {void} + */ + error(err?: any): void; + /** + * The {@link Observer} callback to receive a valueless notification of type + * `complete` from the Observable. Notifies the Observer that the Observable + * has finished sending push-based notifications. + * @return {void} + */ + complete(): void; + unsubscribe(): void; + protected _next(value: T): void; + protected _error(err: any): void; + protected _complete(): void; + protected _unsubscribeAndRecycle(): Subscriber; +} diff --git a/node_modules/rxjs/Subscriber.js b/node_modules/rxjs/Subscriber.js new file mode 100644 index 00000000..6aed3788 --- /dev/null +++ b/node_modules/rxjs/Subscriber.js @@ -0,0 +1,265 @@ +"use strict"; +var __extends = (this && this.__extends) || function (d, b) { + for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +}; +var isFunction_1 = require('./util/isFunction'); +var Subscription_1 = require('./Subscription'); +var Observer_1 = require('./Observer'); +var rxSubscriber_1 = require('./symbol/rxSubscriber'); +/** + * Implements the {@link Observer} interface and extends the + * {@link Subscription} class. While the {@link Observer} is the public API for + * consuming the values of an {@link Observable}, all Observers get converted to + * a Subscriber, in order to provide Subscription-like capabilities such as + * `unsubscribe`. Subscriber is a common type in RxJS, and crucial for + * implementing operators, but it is rarely used as a public API. + * + * @class Subscriber + */ +var Subscriber = (function (_super) { + __extends(Subscriber, _super); + /** + * @param {Observer|function(value: T): void} [destinationOrNext] A partially + * defined Observer or a `next` callback function. + * @param {function(e: ?any): void} [error] The `error` callback of an + * Observer. + * @param {function(): void} [complete] The `complete` callback of an + * Observer. + */ + function Subscriber(destinationOrNext, error, complete) { + _super.call(this); + this.syncErrorValue = null; + this.syncErrorThrown = false; + this.syncErrorThrowable = false; + this.isStopped = false; + switch (arguments.length) { + case 0: + this.destination = Observer_1.empty; + break; + case 1: + if (!destinationOrNext) { + this.destination = Observer_1.empty; + break; + } + if (typeof destinationOrNext === 'object') { + if (destinationOrNext instanceof Subscriber) { + this.syncErrorThrowable = destinationOrNext.syncErrorThrowable; + this.destination = destinationOrNext; + this.destination.add(this); + } + else { + this.syncErrorThrowable = true; + this.destination = new SafeSubscriber(this, destinationOrNext); + } + break; + } + default: + this.syncErrorThrowable = true; + this.destination = new SafeSubscriber(this, destinationOrNext, error, complete); + break; + } + } + Subscriber.prototype[rxSubscriber_1.rxSubscriber] = function () { return this; }; + /** + * A static factory for a Subscriber, given a (potentially partial) definition + * of an Observer. + * @param {function(x: ?T): void} [next] The `next` callback of an Observer. + * @param {function(e: ?any): void} [error] The `error` callback of an + * Observer. + * @param {function(): void} [complete] The `complete` callback of an + * Observer. + * @return {Subscriber} A Subscriber wrapping the (partially defined) + * Observer represented by the given arguments. + */ + Subscriber.create = function (next, error, complete) { + var subscriber = new Subscriber(next, error, complete); + subscriber.syncErrorThrowable = false; + return subscriber; + }; + /** + * The {@link Observer} callback to receive notifications of type `next` from + * the Observable, with a value. The Observable may call this method 0 or more + * times. + * @param {T} [value] The `next` value. + * @return {void} + */ + Subscriber.prototype.next = function (value) { + if (!this.isStopped) { + this._next(value); + } + }; + /** + * The {@link Observer} callback to receive notifications of type `error` from + * the Observable, with an attached {@link Error}. Notifies the Observer that + * the Observable has experienced an error condition. + * @param {any} [err] The `error` exception. + * @return {void} + */ + Subscriber.prototype.error = function (err) { + if (!this.isStopped) { + this.isStopped = true; + this._error(err); + } + }; + /** + * The {@link Observer} callback to receive a valueless notification of type + * `complete` from the Observable. Notifies the Observer that the Observable + * has finished sending push-based notifications. + * @return {void} + */ + Subscriber.prototype.complete = function () { + if (!this.isStopped) { + this.isStopped = true; + this._complete(); + } + }; + Subscriber.prototype.unsubscribe = function () { + if (this.closed) { + return; + } + this.isStopped = true; + _super.prototype.unsubscribe.call(this); + }; + Subscriber.prototype._next = function (value) { + this.destination.next(value); + }; + Subscriber.prototype._error = function (err) { + this.destination.error(err); + this.unsubscribe(); + }; + Subscriber.prototype._complete = function () { + this.destination.complete(); + this.unsubscribe(); + }; + Subscriber.prototype._unsubscribeAndRecycle = function () { + var _a = this, _parent = _a._parent, _parents = _a._parents; + this._parent = null; + this._parents = null; + this.unsubscribe(); + this.closed = false; + this.isStopped = false; + this._parent = _parent; + this._parents = _parents; + return this; + }; + return Subscriber; +}(Subscription_1.Subscription)); +exports.Subscriber = Subscriber; +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +var SafeSubscriber = (function (_super) { + __extends(SafeSubscriber, _super); + function SafeSubscriber(_parentSubscriber, observerOrNext, error, complete) { + _super.call(this); + this._parentSubscriber = _parentSubscriber; + var next; + var context = this; + if (isFunction_1.isFunction(observerOrNext)) { + next = observerOrNext; + } + else if (observerOrNext) { + next = observerOrNext.next; + error = observerOrNext.error; + complete = observerOrNext.complete; + if (observerOrNext !== Observer_1.empty) { + context = Object.create(observerOrNext); + if (isFunction_1.isFunction(context.unsubscribe)) { + this.add(context.unsubscribe.bind(context)); + } + context.unsubscribe = this.unsubscribe.bind(this); + } + } + this._context = context; + this._next = next; + this._error = error; + this._complete = complete; + } + SafeSubscriber.prototype.next = function (value) { + if (!this.isStopped && this._next) { + var _parentSubscriber = this._parentSubscriber; + if (!_parentSubscriber.syncErrorThrowable) { + this.__tryOrUnsub(this._next, value); + } + else if (this.__tryOrSetError(_parentSubscriber, this._next, value)) { + this.unsubscribe(); + } + } + }; + SafeSubscriber.prototype.error = function (err) { + if (!this.isStopped) { + var _parentSubscriber = this._parentSubscriber; + if (this._error) { + if (!_parentSubscriber.syncErrorThrowable) { + this.__tryOrUnsub(this._error, err); + this.unsubscribe(); + } + else { + this.__tryOrSetError(_parentSubscriber, this._error, err); + this.unsubscribe(); + } + } + else if (!_parentSubscriber.syncErrorThrowable) { + this.unsubscribe(); + throw err; + } + else { + _parentSubscriber.syncErrorValue = err; + _parentSubscriber.syncErrorThrown = true; + this.unsubscribe(); + } + } + }; + SafeSubscriber.prototype.complete = function () { + var _this = this; + if (!this.isStopped) { + var _parentSubscriber = this._parentSubscriber; + if (this._complete) { + var wrappedComplete = function () { return _this._complete.call(_this._context); }; + if (!_parentSubscriber.syncErrorThrowable) { + this.__tryOrUnsub(wrappedComplete); + this.unsubscribe(); + } + else { + this.__tryOrSetError(_parentSubscriber, wrappedComplete); + this.unsubscribe(); + } + } + else { + this.unsubscribe(); + } + } + }; + SafeSubscriber.prototype.__tryOrUnsub = function (fn, value) { + try { + fn.call(this._context, value); + } + catch (err) { + this.unsubscribe(); + throw err; + } + }; + SafeSubscriber.prototype.__tryOrSetError = function (parent, fn, value) { + try { + fn.call(this._context, value); + } + catch (err) { + parent.syncErrorValue = err; + parent.syncErrorThrown = true; + return true; + } + return false; + }; + SafeSubscriber.prototype._unsubscribe = function () { + var _parentSubscriber = this._parentSubscriber; + this._context = null; + this._parentSubscriber = null; + _parentSubscriber.unsubscribe(); + }; + return SafeSubscriber; +}(Subscriber)); +//# sourceMappingURL=Subscriber.js.map \ No newline at end of file diff --git a/node_modules/rxjs/Subscriber.js.map b/node_modules/rxjs/Subscriber.js.map new file mode 100644 index 00000000..420ee879 --- /dev/null +++ b/node_modules/rxjs/Subscriber.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Subscriber.js","sourceRoot":"","sources":["../src/Subscriber.ts"],"names":[],"m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C;QACrB,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC;QAC9B,iBAAiB,CAAC,WAAW,EAAE,CAAC;IAClC,CAAC;IACH,qBAAC;AAAD,CAAC,AAhHD,CAAgC,UAAU,GAgHzC","sourcesContent":["import { isFunction } from './util/isFunction';\nimport { Observer, PartialObserver } from './Observer';\nimport { Subscription } from './Subscription';\nimport { empty as emptyObserver } from './Observer';\nimport { rxSubscriber as rxSubscriberSymbol } from './symbol/rxSubscriber';\n\n/**\n * Implements the {@link Observer} interface and extends the\n * {@link Subscription} class. While the {@link Observer} is the public API for\n * consuming the values of an {@link Observable}, all Observers get converted to\n * a Subscriber, in order to provide Subscription-like capabilities such as\n * `unsubscribe`. Subscriber is a common type in RxJS, and crucial for\n * implementing operators, but it is rarely used as a public API.\n *\n * @class Subscriber\n */\nexport class Subscriber extends Subscription implements Observer {\n\n [rxSubscriberSymbol]() { return this; }\n\n /**\n * A static factory for a Subscriber, given a (potentially partial) definition\n * of an Observer.\n * @param {function(x: ?T): void} [next] The `next` callback of an Observer.\n * @param {function(e: ?any): void} [error] The `error` callback of an\n * Observer.\n * @param {function(): void} [complete] The `complete` callback of an\n * Observer.\n * @return {Subscriber} A Subscriber wrapping the (partially defined)\n * Observer represented by the given arguments.\n */\n static create(next?: (x?: T) => void,\n error?: (e?: any) => void,\n complete?: () => void): Subscriber {\n const subscriber = new Subscriber(next, error, complete);\n subscriber.syncErrorThrowable = false;\n return subscriber;\n }\n\n public syncErrorValue: any = null;\n public syncErrorThrown: boolean = false;\n public syncErrorThrowable: boolean = false;\n\n protected isStopped: boolean = false;\n protected destination: PartialObserver; // this `any` is the escape hatch to erase extra type param (e.g. R)\n\n /**\n * @param {Observer|function(value: T): void} [destinationOrNext] A partially\n * defined Observer or a `next` callback function.\n * @param {function(e: ?any): void} [error] The `error` callback of an\n * Observer.\n * @param {function(): void} [complete] The `complete` callback of an\n * Observer.\n */\n constructor(destinationOrNext?: PartialObserver | ((value: T) => void),\n error?: (e?: any) => void,\n complete?: () => void) {\n super();\n\n switch (arguments.length) {\n case 0:\n this.destination = emptyObserver;\n break;\n case 1:\n if (!destinationOrNext) {\n this.destination = emptyObserver;\n break;\n }\n if (typeof destinationOrNext === 'object') {\n if (destinationOrNext instanceof Subscriber) {\n this.syncErrorThrowable = destinationOrNext.syncErrorThrowable;\n this.destination = (> destinationOrNext);\n ( this.destination).add(this);\n } else {\n this.syncErrorThrowable = true;\n this.destination = new SafeSubscriber(this, > destinationOrNext);\n }\n break;\n }\n default:\n this.syncErrorThrowable = true;\n this.destination = new SafeSubscriber(this, <((value: T) => void)> destinationOrNext, error, complete);\n break;\n }\n }\n\n /**\n * The {@link Observer} callback to receive notifications of type `next` from\n * the Observable, with a value. The Observable may call this method 0 or more\n * times.\n * @param {T} [value] The `next` value.\n * @return {void}\n */\n next(value?: T): void {\n if (!this.isStopped) {\n this._next(value);\n }\n }\n\n /**\n * The {@link Observer} callback to receive notifications of type `error` from\n * the Observable, with an attached {@link Error}. Notifies the Observer that\n * the Observable has experienced an error condition.\n * @param {any} [err] The `error` exception.\n * @return {void}\n */\n error(err?: any): void {\n if (!this.isStopped) {\n this.isStopped = true;\n this._error(err);\n }\n }\n\n /**\n * The {@link Observer} callback to receive a valueless notification of type\n * `complete` from the Observable. Notifies the Observer that the Observable\n * has finished sending push-based notifications.\n * @return {void}\n */\n complete(): void {\n if (!this.isStopped) {\n this.isStopped = true;\n this._complete();\n }\n }\n\n unsubscribe(): void {\n if (this.closed) {\n return;\n }\n this.isStopped = true;\n super.unsubscribe();\n }\n\n protected _next(value: T): void {\n this.destination.next(value);\n }\n\n protected _error(err: any): void {\n this.destination.error(err);\n this.unsubscribe();\n }\n\n protected _complete(): void {\n this.destination.complete();\n this.unsubscribe();\n }\n\n protected _unsubscribeAndRecycle(): Subscriber {\n const { _parent, _parents } = this;\n this._parent = null;\n this._parents = null;\n this.unsubscribe();\n this.closed = false;\n this.isStopped = false;\n this._parent = _parent;\n this._parents = _parents;\n return this;\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass SafeSubscriber extends Subscriber {\n\n private _context: any;\n\n constructor(private _parentSubscriber: Subscriber,\n observerOrNext?: PartialObserver | ((value: T) => void),\n error?: (e?: any) => void,\n complete?: () => void) {\n super();\n\n let next: ((value: T) => void);\n let context: any = this;\n\n if (isFunction(observerOrNext)) {\n next = (<((value: T) => void)> observerOrNext);\n } else if (observerOrNext) {\n next = (> observerOrNext).next;\n error = (> observerOrNext).error;\n complete = (> observerOrNext).complete;\n if (observerOrNext !== emptyObserver) {\n context = Object.create(observerOrNext);\n if (isFunction(context.unsubscribe)) {\n this.add(<() => void> context.unsubscribe.bind(context));\n }\n context.unsubscribe = this.unsubscribe.bind(this);\n }\n }\n\n this._context = context;\n this._next = next;\n this._error = error;\n this._complete = complete;\n }\n\n next(value?: T): void {\n if (!this.isStopped && this._next) {\n const { _parentSubscriber } = this;\n if (!_parentSubscriber.syncErrorThrowable) {\n this.__tryOrUnsub(this._next, value);\n } else if (this.__tryOrSetError(_parentSubscriber, this._next, value)) {\n this.unsubscribe();\n }\n }\n }\n\n error(err?: any): void {\n if (!this.isStopped) {\n const { _parentSubscriber } = this;\n if (this._error) {\n if (!_parentSubscriber.syncErrorThrowable) {\n this.__tryOrUnsub(this._error, err);\n this.unsubscribe();\n } else {\n this.__tryOrSetError(_parentSubscriber, this._error, err);\n this.unsubscribe();\n }\n } else if (!_parentSubscriber.syncErrorThrowable) {\n this.unsubscribe();\n throw err;\n } else {\n _parentSubscriber.syncErrorValue = err;\n _parentSubscriber.syncErrorThrown = true;\n this.unsubscribe();\n }\n }\n }\n\n complete(): void {\n if (!this.isStopped) {\n const { _parentSubscriber } = this;\n if (this._complete) {\n const wrappedComplete = () => this._complete.call(this._context);\n\n if (!_parentSubscriber.syncErrorThrowable) {\n this.__tryOrUnsub(wrappedComplete);\n this.unsubscribe();\n } else {\n this.__tryOrSetError(_parentSubscriber, wrappedComplete);\n this.unsubscribe();\n }\n } else {\n this.unsubscribe();\n }\n }\n }\n\n private __tryOrUnsub(fn: Function, value?: any): void {\n try {\n fn.call(this._context, value);\n } catch (err) {\n this.unsubscribe();\n throw err;\n }\n }\n\n private __tryOrSetError(parent: Subscriber, fn: Function, value?: any): boolean {\n try {\n fn.call(this._context, value);\n } catch (err) {\n parent.syncErrorValue = err;\n parent.syncErrorThrown = true;\n return true;\n }\n return false;\n }\n\n protected _unsubscribe(): void {\n const { _parentSubscriber } = this;\n this._context = null;\n this._parentSubscriber = null;\n _parentSubscriber.unsubscribe();\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/Subscription.d.ts b/node_modules/rxjs/Subscription.d.ts new file mode 100644 index 00000000..afe5f177 --- /dev/null +++ b/node_modules/rxjs/Subscription.d.ts @@ -0,0 +1,70 @@ +export interface AnonymousSubscription { + unsubscribe(): void; +} +export declare type TeardownLogic = AnonymousSubscription | Function | void; +export interface ISubscription extends AnonymousSubscription { + unsubscribe(): void; + readonly closed: boolean; +} +/** + * Represents a disposable resource, such as the execution of an Observable. A + * Subscription has one important method, `unsubscribe`, that takes no argument + * and just disposes the resource held by the subscription. + * + * Additionally, subscriptions may be grouped together through the `add()` + * method, which will attach a child Subscription to the current Subscription. + * When a Subscription is unsubscribed, all its children (and its grandchildren) + * will be unsubscribed as well. + * + * @class Subscription + */ +export declare class Subscription implements ISubscription { + static EMPTY: Subscription; + /** + * A flag to indicate whether this Subscription has already been unsubscribed. + * @type {boolean} + */ + closed: boolean; + protected _parent: Subscription; + protected _parents: Subscription[]; + private _subscriptions; + /** + * @param {function(): void} [unsubscribe] A function describing how to + * perform the disposal of resources when the `unsubscribe` method is called. + */ + constructor(unsubscribe?: () => void); + /** + * Disposes the resources held by the subscription. May, for instance, cancel + * an ongoing Observable execution or cancel any other type of work that + * started when the Subscription was created. + * @return {void} + */ + unsubscribe(): void; + /** + * Adds a tear down to be called during the unsubscribe() of this + * Subscription. + * + * If the tear down being added is a subscription that is already + * unsubscribed, is the same reference `add` is being called on, or is + * `Subscription.EMPTY`, it will not be added. + * + * If this subscription is already in an `closed` state, the passed + * tear down logic will be executed immediately. + * + * @param {TeardownLogic} teardown The additional logic to execute on + * teardown. + * @return {Subscription} Returns the Subscription used or created to be + * added to the inner subscriptions list. This Subscription can be used with + * `remove()` to remove the passed teardown logic from the inner subscriptions + * list. + */ + add(teardown: TeardownLogic): Subscription; + /** + * Removes a Subscription from the internal list of subscriptions that will + * unsubscribe during the unsubscribe process of this Subscription. + * @param {Subscription} subscription The subscription to remove. + * @return {void} + */ + remove(subscription: Subscription): void; + private _addParent(parent); +} diff --git a/node_modules/rxjs/Subscription.js b/node_modules/rxjs/Subscription.js new file mode 100644 index 00000000..198728c0 --- /dev/null +++ b/node_modules/rxjs/Subscription.js @@ -0,0 +1,193 @@ +"use strict"; +var isArray_1 = require('./util/isArray'); +var isObject_1 = require('./util/isObject'); +var isFunction_1 = require('./util/isFunction'); +var tryCatch_1 = require('./util/tryCatch'); +var errorObject_1 = require('./util/errorObject'); +var UnsubscriptionError_1 = require('./util/UnsubscriptionError'); +/** + * Represents a disposable resource, such as the execution of an Observable. A + * Subscription has one important method, `unsubscribe`, that takes no argument + * and just disposes the resource held by the subscription. + * + * Additionally, subscriptions may be grouped together through the `add()` + * method, which will attach a child Subscription to the current Subscription. + * When a Subscription is unsubscribed, all its children (and its grandchildren) + * will be unsubscribed as well. + * + * @class Subscription + */ +var Subscription = (function () { + /** + * @param {function(): void} [unsubscribe] A function describing how to + * perform the disposal of resources when the `unsubscribe` method is called. + */ + function Subscription(unsubscribe) { + /** + * A flag to indicate whether this Subscription has already been unsubscribed. + * @type {boolean} + */ + this.closed = false; + this._parent = null; + this._parents = null; + this._subscriptions = null; + if (unsubscribe) { + this._unsubscribe = unsubscribe; + } + } + /** + * Disposes the resources held by the subscription. May, for instance, cancel + * an ongoing Observable execution or cancel any other type of work that + * started when the Subscription was created. + * @return {void} + */ + Subscription.prototype.unsubscribe = function () { + var hasErrors = false; + var errors; + if (this.closed) { + return; + } + var _a = this, _parent = _a._parent, _parents = _a._parents, _unsubscribe = _a._unsubscribe, _subscriptions = _a._subscriptions; + this.closed = true; + this._parent = null; + this._parents = null; + // null out _subscriptions first so any child subscriptions that attempt + // to remove themselves from this subscription will noop + this._subscriptions = null; + var index = -1; + var len = _parents ? _parents.length : 0; + // if this._parent is null, then so is this._parents, and we + // don't have to remove ourselves from any parent subscriptions. + while (_parent) { + _parent.remove(this); + // if this._parents is null or index >= len, + // then _parent is set to null, and the loop exits + _parent = ++index < len && _parents[index] || null; + } + if (isFunction_1.isFunction(_unsubscribe)) { + var trial = tryCatch_1.tryCatch(_unsubscribe).call(this); + if (trial === errorObject_1.errorObject) { + hasErrors = true; + errors = errors || (errorObject_1.errorObject.e instanceof UnsubscriptionError_1.UnsubscriptionError ? + flattenUnsubscriptionErrors(errorObject_1.errorObject.e.errors) : [errorObject_1.errorObject.e]); + } + } + if (isArray_1.isArray(_subscriptions)) { + index = -1; + len = _subscriptions.length; + while (++index < len) { + var sub = _subscriptions[index]; + if (isObject_1.isObject(sub)) { + var trial = tryCatch_1.tryCatch(sub.unsubscribe).call(sub); + if (trial === errorObject_1.errorObject) { + hasErrors = true; + errors = errors || []; + var err = errorObject_1.errorObject.e; + if (err instanceof UnsubscriptionError_1.UnsubscriptionError) { + errors = errors.concat(flattenUnsubscriptionErrors(err.errors)); + } + else { + errors.push(err); + } + } + } + } + } + if (hasErrors) { + throw new UnsubscriptionError_1.UnsubscriptionError(errors); + } + }; + /** + * Adds a tear down to be called during the unsubscribe() of this + * Subscription. + * + * If the tear down being added is a subscription that is already + * unsubscribed, is the same reference `add` is being called on, or is + * `Subscription.EMPTY`, it will not be added. + * + * If this subscription is already in an `closed` state, the passed + * tear down logic will be executed immediately. + * + * @param {TeardownLogic} teardown The additional logic to execute on + * teardown. + * @return {Subscription} Returns the Subscription used or created to be + * added to the inner subscriptions list. This Subscription can be used with + * `remove()` to remove the passed teardown logic from the inner subscriptions + * list. + */ + Subscription.prototype.add = function (teardown) { + if (!teardown || (teardown === Subscription.EMPTY)) { + return Subscription.EMPTY; + } + if (teardown === this) { + return this; + } + var subscription = teardown; + switch (typeof teardown) { + case 'function': + subscription = new Subscription(teardown); + case 'object': + if (subscription.closed || typeof subscription.unsubscribe !== 'function') { + return subscription; + } + else if (this.closed) { + subscription.unsubscribe(); + return subscription; + } + else if (typeof subscription._addParent !== 'function' /* quack quack */) { + var tmp = subscription; + subscription = new Subscription(); + subscription._subscriptions = [tmp]; + } + break; + default: + throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.'); + } + var subscriptions = this._subscriptions || (this._subscriptions = []); + subscriptions.push(subscription); + subscription._addParent(this); + return subscription; + }; + /** + * Removes a Subscription from the internal list of subscriptions that will + * unsubscribe during the unsubscribe process of this Subscription. + * @param {Subscription} subscription The subscription to remove. + * @return {void} + */ + Subscription.prototype.remove = function (subscription) { + var subscriptions = this._subscriptions; + if (subscriptions) { + var subscriptionIndex = subscriptions.indexOf(subscription); + if (subscriptionIndex !== -1) { + subscriptions.splice(subscriptionIndex, 1); + } + } + }; + Subscription.prototype._addParent = function (parent) { + var _a = this, _parent = _a._parent, _parents = _a._parents; + if (!_parent || _parent === parent) { + // If we don't have a parent, or the new parent is the same as the + // current parent, then set this._parent to the new parent. + this._parent = parent; + } + else if (!_parents) { + // If there's already one parent, but not multiple, allocate an Array to + // store the rest of the parent Subscriptions. + this._parents = [parent]; + } + else if (_parents.indexOf(parent) === -1) { + // Only add the new parent to the _parents list if it's not already there. + _parents.push(parent); + } + }; + Subscription.EMPTY = (function (empty) { + empty.closed = true; + return empty; + }(new Subscription())); + return Subscription; +}()); +exports.Subscription = Subscription; +function flattenUnsubscriptionErrors(errors) { + return errors.reduce(function (errs, err) { return errs.concat((err instanceof UnsubscriptionError_1.UnsubscriptionError) ? err.errors : err); }, []); +} +//# sourceMappingURL=Subscription.js.map \ No newline at end of file diff --git a/node_modules/rxjs/Subscription.js.map b/node_modules/rxjs/Subscription.js.map new file mode 100644 index 00000000..793c4bf7 --- /dev/null +++ b/node_modules/rxjs/Subscription.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Subscription.js","sourceRoot":"","sources":["../src/Subscription.ts"],"names":[],"mappings":";AAAA,wBAAwB,gBAAgB,CAAC,CAAA;AACzC,yBAAyB,iBAAiB,CAAC,CAAA;AAC3C,2BAA2B,mBAAmB,CAAC,CAAA;AAC/C,yBAAyB,iBAAiB,CAAC,CAAA;AAC3C,4BAA4B,oBAAoB,CAAC,CAAA;AACjD,oCAAoC,4BAA4B,CAAC,CAAA;AAajE;;;;;;;;;;;GAWG;AACH;IAgBE;;;OAGG;IACH,sBAAY,WAAwB;QAdpC;;;WAGG;QACI,WAAM,GAAY,KAAK,CAAC;QAErB,YAAO,GAAiB,IAAI,CAAC;QAC7B,aAAQ,GAAmB,IAAI,CAAC;QAClC,mBAAc,GAAoB,IAAI,CAAC;QAO7C,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC;YACT,IAAK,CAAC,YAAY,GAAG,WAAW,CAAC;QAC1C,CAAC;IACH,CAAC;IAED;;;;;OAKG;IACH,kCAAW,GAAX;QACE,IAAI,SAAS,GAAG,KAAK,CAAC;QACtB,IAAI,MAAa,CAAC;QAElB,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YAChB,MAAM,CAAC;QACT,CAAC;QAED,IAAA,SAAsE,EAAhE,oBAAO,EAAE,sBAAQ,EAAE,8BAAY,EAAE,kCAAc,CAAkB;QAEvE,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACrB,wEAAwE;QACxE,wDAAwD;QACxD,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;QAE3B,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC;QACf,IAAI,GAAG,GAAG,QAAQ,GAAG,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OAAO,KAAK,MAAM,CAAC,CAAC,CAAC;YACnC,kEAAkE;YAClE,2DAA2D;YAC3D,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACxB,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;YACrB,wEAAwE;YACxE,8CAA8C;YAC9C,IAAI,CAAC,QAAQ,GAAG,CAAC,MAAM,CAAC,CAAC;QAC3B,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YAC3C,0EAA0E;YAC1E,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACxB,CAAC;IACH,CAAC;IAzLa,kBAAK,GAAiB,CAAC,UAAS,KAAU;QACtD,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC;QACpB,MAAM,CAAC,KAAK,CAAC;IACf,CAAC,CAAC,IAAI,YAAY,EAAE,CAAC,CAAC,CAAC;IAuLzB,mBAAC;AAAD,CAAC,AA3LD,IA2LC;AA3LY,oBAAY,eA2LxB,CAAA;AAED,qCAAqC,MAAa;IACjD,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,UAAC,IAAI,EAAE,GAAG,IAAK,OAAA,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,YAAY,yCAAmB,CAAC,GAAG,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,EAApE,CAAoE,EAAE,EAAE,CAAC,CAAC;AAC/G,CAAC","sourcesContent":["import { isArray } from './util/isArray';\nimport { isObject } from './util/isObject';\nimport { isFunction } from './util/isFunction';\nimport { tryCatch } from './util/tryCatch';\nimport { errorObject } from './util/errorObject';\nimport { UnsubscriptionError } from './util/UnsubscriptionError';\n\nexport interface AnonymousSubscription {\n unsubscribe(): void;\n}\n\nexport type TeardownLogic = AnonymousSubscription | Function | void;\n\nexport interface ISubscription extends AnonymousSubscription {\n unsubscribe(): void;\n readonly closed: boolean;\n}\n\n/**\n * Represents a disposable resource, such as the execution of an Observable. A\n * Subscription has one important method, `unsubscribe`, that takes no argument\n * and just disposes the resource held by the subscription.\n *\n * Additionally, subscriptions may be grouped together through the `add()`\n * method, which will attach a child Subscription to the current Subscription.\n * When a Subscription is unsubscribed, all its children (and its grandchildren)\n * will be unsubscribed as well.\n *\n * @class Subscription\n */\nexport class Subscription implements ISubscription {\n public static EMPTY: Subscription = (function(empty: any){\n empty.closed = true;\n return empty;\n }(new Subscription()));\n\n /**\n * A flag to indicate whether this Subscription has already been unsubscribed.\n * @type {boolean}\n */\n public closed: boolean = false;\n\n protected _parent: Subscription = null;\n protected _parents: Subscription[] = null;\n private _subscriptions: ISubscription[] = null;\n\n /**\n * @param {function(): void} [unsubscribe] A function describing how to\n * perform the disposal of resources when the `unsubscribe` method is called.\n */\n constructor(unsubscribe?: () => void) {\n if (unsubscribe) {\n ( this)._unsubscribe = unsubscribe;\n }\n }\n\n /**\n * Disposes the resources held by the subscription. May, for instance, cancel\n * an ongoing Observable execution or cancel any other type of work that\n * started when the Subscription was created.\n * @return {void}\n */\n unsubscribe(): void {\n let hasErrors = false;\n let errors: any[];\n\n if (this.closed) {\n return;\n }\n\n let { _parent, _parents, _unsubscribe, _subscriptions } = ( this);\n\n this.closed = true;\n this._parent = null;\n this._parents = null;\n // null out _subscriptions first so any child subscriptions that attempt\n // to remove themselves from this subscription will noop\n this._subscriptions = null;\n\n let index = -1;\n let len = _parents ? _parents.length : 0;\n\n // if this._parent is null, then so is this._parents, and we\n // don't have to remove ourselves from any parent subscriptions.\n while (_parent) {\n _parent.remove(this);\n // if this._parents is null or index >= len,\n // then _parent is set to null, and the loop exits\n _parent = ++index < len && _parents[index] || null;\n }\n\n if (isFunction(_unsubscribe)) {\n let trial = tryCatch(_unsubscribe).call(this);\n if (trial === errorObject) {\n hasErrors = true;\n errors = errors || (\n errorObject.e instanceof UnsubscriptionError ?\n flattenUnsubscriptionErrors(errorObject.e.errors) : [errorObject.e]\n );\n }\n }\n\n if (isArray(_subscriptions)) {\n\n index = -1;\n len = _subscriptions.length;\n\n while (++index < len) {\n const sub = _subscriptions[index];\n if (isObject(sub)) {\n let trial = tryCatch(sub.unsubscribe).call(sub);\n if (trial === errorObject) {\n hasErrors = true;\n errors = errors || [];\n let err = errorObject.e;\n if (err instanceof UnsubscriptionError) {\n errors = errors.concat(flattenUnsubscriptionErrors(err.errors));\n } else {\n errors.push(err);\n }\n }\n }\n }\n }\n\n if (hasErrors) {\n throw new UnsubscriptionError(errors);\n }\n }\n\n /**\n * Adds a tear down to be called during the unsubscribe() of this\n * Subscription.\n *\n * If the tear down being added is a subscription that is already\n * unsubscribed, is the same reference `add` is being called on, or is\n * `Subscription.EMPTY`, it will not be added.\n *\n * If this subscription is already in an `closed` state, the passed\n * tear down logic will be executed immediately.\n *\n * @param {TeardownLogic} teardown The additional logic to execute on\n * teardown.\n * @return {Subscription} Returns the Subscription used or created to be\n * added to the inner subscriptions list. This Subscription can be used with\n * `remove()` to remove the passed teardown logic from the inner subscriptions\n * list.\n */\n add(teardown: TeardownLogic): Subscription {\n if (!teardown || (teardown === Subscription.EMPTY)) {\n return Subscription.EMPTY;\n }\n\n if (teardown === this) {\n return this;\n }\n\n let subscription = ( teardown);\n\n switch (typeof teardown) {\n case 'function':\n subscription = new Subscription(<(() => void) > teardown);\n case 'object':\n if (subscription.closed || typeof subscription.unsubscribe !== 'function') {\n return subscription;\n } else if (this.closed) {\n subscription.unsubscribe();\n return subscription;\n } else if (typeof subscription._addParent !== 'function' /* quack quack */) {\n const tmp = subscription;\n subscription = new Subscription();\n subscription._subscriptions = [tmp];\n }\n break;\n default:\n throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.');\n }\n\n const subscriptions = this._subscriptions || (this._subscriptions = []);\n\n subscriptions.push(subscription);\n subscription._addParent(this);\n\n return subscription;\n }\n\n /**\n * Removes a Subscription from the internal list of subscriptions that will\n * unsubscribe during the unsubscribe process of this Subscription.\n * @param {Subscription} subscription The subscription to remove.\n * @return {void}\n */\n remove(subscription: Subscription): void {\n const subscriptions = this._subscriptions;\n if (subscriptions) {\n const subscriptionIndex = subscriptions.indexOf(subscription);\n if (subscriptionIndex !== -1) {\n subscriptions.splice(subscriptionIndex, 1);\n }\n }\n }\n\n private _addParent(parent: Subscription) {\n let { _parent, _parents } = this;\n if (!_parent || _parent === parent) {\n // If we don't have a parent, or the new parent is the same as the\n // current parent, then set this._parent to the new parent.\n this._parent = parent;\n } else if (!_parents) {\n // If there's already one parent, but not multiple, allocate an Array to\n // store the rest of the parent Subscriptions.\n this._parents = [parent];\n } else if (_parents.indexOf(parent) === -1) {\n // Only add the new parent to the _parents list if it's not already there.\n _parents.push(parent);\n }\n }\n}\n\nfunction flattenUnsubscriptionErrors(errors: any[]) {\n return errors.reduce((errs, err) => errs.concat((err instanceof UnsubscriptionError) ? err.errors : err), []);\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/AsyncSubject.js b/node_modules/rxjs/_esm2015/AsyncSubject.js new file mode 100644 index 00000000..72f112fd --- /dev/null +++ b/node_modules/rxjs/_esm2015/AsyncSubject.js @@ -0,0 +1,44 @@ +import { Subject } from './Subject'; +import { Subscription } from './Subscription'; +/** + * @class AsyncSubject + */ +export class AsyncSubject extends Subject { + constructor() { + super(...arguments); + this.value = null; + this.hasNext = false; + this.hasCompleted = false; + } + _subscribe(subscriber) { + if (this.hasError) { + subscriber.error(this.thrownError); + return Subscription.EMPTY; + } + else if (this.hasCompleted && this.hasNext) { + subscriber.next(this.value); + subscriber.complete(); + return Subscription.EMPTY; + } + return super._subscribe(subscriber); + } + next(value) { + if (!this.hasCompleted) { + this.value = value; + this.hasNext = true; + } + } + error(error) { + if (!this.hasCompleted) { + super.error(error); + } + } + complete() { + this.hasCompleted = true; + if (this.hasNext) { + super.next(this.value); + } + super.complete(); + } +} +//# sourceMappingURL=AsyncSubject.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/AsyncSubject.js.map b/node_modules/rxjs/_esm2015/AsyncSubject.js.map new file mode 100644 index 00000000..1ae7c81d --- /dev/null +++ b/node_modules/rxjs/_esm2015/AsyncSubject.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AsyncSubject.js","sourceRoot":"","sources":["../src/AsyncSubject.ts"],"names":[],"mappings":"OAAO,EAAE,OAAO,EAAE,MAAM,WAAW;OAE5B,EAAE,YAAY,EAAE,MAAM,gBAAgB;AAE7C;;GAEG;AACH,kCAAqC,OAAO;IAA5C;QAAqC,oBAAU;QACrC,UAAK,GAAM,IAAI,CAAC;QAChB,YAAO,GAAY,KAAK,CAAC;QACzB,iBAAY,GAAY,KAAK,CAAC;IAkCxC,CAAC;IAhCW,UAAU,CAAC,UAA2B;QAC9C,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YAClB,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YACnC,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC;QAC5B,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;YAC7C,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAC5B,UAAU,CAAC,QAAQ,EAAE,CAAC;YACtB,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC;QAC5B,CAAC;QACD,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;IACtC,CAAC;IAED,IAAI,CAAC,KAAQ;QACX,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;YACvB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;YACnB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACtB,CAAC;IACH,CAAC;IAED,KAAK,CAAC,KAAU;QACd,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;YACvB,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACrB,CAAC;IACH,CAAC;IAED,QAAQ;QACN,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;QACzB,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;YACjB,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACzB,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/BehaviorSubject.js b/node_modules/rxjs/_esm2015/BehaviorSubject.js new file mode 100644 index 00000000..658d06c6 --- /dev/null +++ b/node_modules/rxjs/_esm2015/BehaviorSubject.js @@ -0,0 +1,36 @@ +import { Subject } from './Subject'; +import { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError'; +/** + * @class BehaviorSubject + */ +export class BehaviorSubject extends Subject { + constructor(_value) { + super(); + this._value = _value; + } + get value() { + return this.getValue(); + } + _subscribe(subscriber) { + const subscription = super._subscribe(subscriber); + if (subscription && !subscription.closed) { + subscriber.next(this._value); + } + return subscription; + } + getValue() { + if (this.hasError) { + throw this.thrownError; + } + else if (this.closed) { + throw new ObjectUnsubscribedError(); + } + else { + return this._value; + } + } + next(value) { + super.next(this._value = value); + } +} +//# sourceMappingURL=BehaviorSubject.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/BehaviorSubject.js.map b/node_modules/rxjs/_esm2015/BehaviorSubject.js.map new file mode 100644 index 00000000..a752ec9d --- /dev/null +++ b/node_modules/rxjs/_esm2015/BehaviorSubject.js.map @@ -0,0 +1 @@ +{"version":3,"file":"BehaviorSubject.js","sourceRoot":"","sources":["../src/BehaviorSubject.ts"],"names":[],"mappings":"OAAO,EAAE,OAAO,EAAE,MAAM,WAAW;OAG5B,EAAE,uBAAuB,EAAE,MAAM,gCAAgC;AAExE;;GAEG;AACH,qCAAwC,OAAO;IAE7C,YAAoB,MAAS;QAC3B,OAAO,CAAC;QADU,WAAM,GAAN,MAAM,CAAG;IAE7B,CAAC;IAED,IAAI,KAAK;QACP,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;IAES,UAAU,CAAC,UAAyB;QAC5C,MAAM,YAAY,GAAG,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;QAClD,EAAE,CAAC,CAAC,YAAY,IAAI,CAAiB,YAAa,CAAC,MAAM,CAAC,CAAC,CAAC;YAC1D,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC/B,CAAC;QACD,MAAM,CAAC,YAAY,CAAC;IACtB,CAAC;IAED,QAAQ;QACN,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YAClB,MAAM,IAAI,CAAC,WAAW,CAAC;QACzB,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YACvB,MAAM,IAAI,uBAAuB,EAAE,CAAC;QACtC,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;QACrB,CAAC;IACH,CAAC;IAED,IAAI,CAAC,KAAQ;QACX,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,CAAC;IAClC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/InnerSubscriber.js b/node_modules/rxjs/_esm2015/InnerSubscriber.js new file mode 100644 index 00000000..90b76936 --- /dev/null +++ b/node_modules/rxjs/_esm2015/InnerSubscriber.js @@ -0,0 +1,27 @@ +import { Subscriber } from './Subscriber'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class InnerSubscriber extends Subscriber { + constructor(parent, outerValue, outerIndex) { + super(); + this.parent = parent; + this.outerValue = outerValue; + this.outerIndex = outerIndex; + this.index = 0; + } + _next(value) { + this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this); + } + _error(error) { + this.parent.notifyError(error, this); + this.unsubscribe(); + } + _complete() { + this.parent.notifyComplete(this); + this.unsubscribe(); + } +} +//# sourceMappingURL=InnerSubscriber.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/InnerSubscriber.js.map b/node_modules/rxjs/_esm2015/InnerSubscriber.js.map new file mode 100644 index 00000000..e1922b3b --- /dev/null +++ b/node_modules/rxjs/_esm2015/InnerSubscriber.js.map @@ -0,0 +1 @@ +{"version":3,"file":"InnerSubscriber.js","sourceRoot":"","sources":["../src/InnerSubscriber.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,cAAc;AAGzC;;;;GAIG;AACH,qCAA2C,UAAU;IAGnD,YAAoB,MAA6B,EAAU,UAAa,EAAU,UAAkB;QAClG,OAAO,CAAC;QADU,WAAM,GAAN,MAAM,CAAuB;QAAU,eAAU,GAAV,UAAU,CAAG;QAAU,eAAU,GAAV,UAAU,CAAQ;QAF5F,UAAK,GAAW,CAAC,CAAC;IAI1B,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,UAAU,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,CAAC;IACtF,CAAC;IAES,MAAM,CAAC,KAAU;QACzB,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/LICENSE.txt b/node_modules/rxjs/_esm2015/LICENSE.txt new file mode 100644 index 00000000..b6c40015 --- /dev/null +++ b/node_modules/rxjs/_esm2015/LICENSE.txt @@ -0,0 +1,202 @@ + 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 (c) 2015-2017 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors + + 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. + diff --git a/node_modules/rxjs/_esm2015/Notification.js b/node_modules/rxjs/_esm2015/Notification.js new file mode 100644 index 00000000..7faf7605 --- /dev/null +++ b/node_modules/rxjs/_esm2015/Notification.js @@ -0,0 +1,124 @@ +import { Observable } from './Observable'; +/** + * Represents a push-based event or value that an {@link Observable} can emit. + * This class is particularly useful for operators that manage notifications, + * like {@link materialize}, {@link dematerialize}, {@link observeOn}, and + * others. Besides wrapping the actual delivered value, it also annotates it + * with metadata of, for instance, what type of push message it is (`next`, + * `error`, or `complete`). + * + * @see {@link materialize} + * @see {@link dematerialize} + * @see {@link observeOn} + * + * @class Notification + */ +export class Notification { + constructor(kind, value, error) { + this.kind = kind; + this.value = value; + this.error = error; + this.hasValue = kind === 'N'; + } + /** + * Delivers to the given `observer` the value wrapped by this Notification. + * @param {Observer} observer + * @return + */ + observe(observer) { + switch (this.kind) { + case 'N': + return observer.next && observer.next(this.value); + case 'E': + return observer.error && observer.error(this.error); + case 'C': + return observer.complete && observer.complete(); + } + } + /** + * Given some {@link Observer} callbacks, deliver the value represented by the + * current Notification to the correctly corresponding callback. + * @param {function(value: T): void} next An Observer `next` callback. + * @param {function(err: any): void} [error] An Observer `error` callback. + * @param {function(): void} [complete] An Observer `complete` callback. + * @return {any} + */ + do(next, error, complete) { + const kind = this.kind; + switch (kind) { + case 'N': + return next && next(this.value); + case 'E': + return error && error(this.error); + case 'C': + return complete && complete(); + } + } + /** + * Takes an Observer or its individual callback functions, and calls `observe` + * or `do` methods accordingly. + * @param {Observer|function(value: T): void} nextOrObserver An Observer or + * the `next` callback. + * @param {function(err: any): void} [error] An Observer `error` callback. + * @param {function(): void} [complete] An Observer `complete` callback. + * @return {any} + */ + accept(nextOrObserver, error, complete) { + if (nextOrObserver && typeof nextOrObserver.next === 'function') { + return this.observe(nextOrObserver); + } + else { + return this.do(nextOrObserver, error, complete); + } + } + /** + * Returns a simple Observable that just delivers the notification represented + * by this Notification instance. + * @return {any} + */ + toObservable() { + const kind = this.kind; + switch (kind) { + case 'N': + return Observable.of(this.value); + case 'E': + return Observable.throw(this.error); + case 'C': + return Observable.empty(); + } + throw new Error('unexpected notification kind value'); + } + /** + * A shortcut to create a Notification instance of the type `next` from a + * given value. + * @param {T} value The `next` value. + * @return {Notification} The "next" Notification representing the + * argument. + */ + static createNext(value) { + if (typeof value !== 'undefined') { + return new Notification('N', value); + } + return Notification.undefinedValueNotification; + } + /** + * A shortcut to create a Notification instance of the type `error` from a + * given error. + * @param {any} [err] The `error` error. + * @return {Notification} The "error" Notification representing the + * argument. + */ + static createError(err) { + return new Notification('E', undefined, err); + } + /** + * A shortcut to create a Notification instance of the type `complete`. + * @return {Notification} The valueless "complete" Notification. + */ + static createComplete() { + return Notification.completeNotification; + } +} +Notification.completeNotification = new Notification('C'); +Notification.undefinedValueNotification = new Notification('N', undefined); +//# sourceMappingURL=Notification.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Notification.js.map b/node_modules/rxjs/_esm2015/Notification.js.map new file mode 100644 index 00000000..7a2dfb7e --- /dev/null +++ b/node_modules/rxjs/_esm2015/Notification.js.map @@ -0,0 +1 @@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,YAAY,CAAC,oBAAoB,CAAC;IAC3C,CAAC;AACH,CAAC;AAnCgB,iCAAoB,GAAsB,IAAI,YAAY,CAAC,GAAG,CAAC,CAAC;AAChE,uCAA0B,GAAsB,IAAI,YAAY,CAAC,GAAG,EAAE,SAAS,CAAC,CAkChG"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Observable.js b/node_modules/rxjs/_esm2015/Observable.js new file mode 100644 index 00000000..ee827ec4 --- /dev/null +++ b/node_modules/rxjs/_esm2015/Observable.js @@ -0,0 +1,296 @@ +import { root } from './util/root'; +import { toSubscriber } from './util/toSubscriber'; +import { observable as Symbol_observable } from './symbol/observable'; +import { pipeFromArray } from './util/pipe'; +/** + * A representation of any set of values over any amount of time. This is the most basic building block + * of RxJS. + * + * @class Observable + */ +export class Observable { + /** + * @constructor + * @param {Function} subscribe the function that is called when the Observable is + * initially subscribed to. This function is given a Subscriber, to which new values + * can be `next`ed, or an `error` method can be called to raise an error, or + * `complete` can be called to notify of a successful completion. + */ + constructor(subscribe) { + this._isScalar = false; + if (subscribe) { + this._subscribe = subscribe; + } + } + /** + * Creates a new Observable, with this Observable as the source, and the passed + * operator defined as the new observable's operator. + * @method lift + * @param {Operator} operator the operator defining the operation to take on the observable + * @return {Observable} a new observable with the Operator applied + */ + lift(operator) { + const observable = new Observable(); + observable.source = this; + observable.operator = operator; + return observable; + } + /** + * Invokes an execution of an Observable and registers Observer handlers for notifications it will emit. + * + * Use it when you have all these Observables, but still nothing is happening. + * + * `subscribe` is not a regular operator, but a method that calls Observable's internal `subscribe` function. It + * might be for example a function that you passed to a {@link create} static factory, but most of the time it is + * a library implementation, which defines what and when will be emitted by an Observable. This means that calling + * `subscribe` is actually the moment when Observable starts its work, not when it is created, as it is often + * thought. + * + * Apart from starting the execution of an Observable, this method allows you to listen for values + * that an Observable emits, as well as for when it completes or errors. You can achieve this in two + * following ways. + * + * The first way is creating an object that implements {@link Observer} interface. It should have methods + * defined by that interface, but note that it should be just a regular JavaScript object, which you can create + * yourself in any way you want (ES6 class, classic function constructor, object literal etc.). In particular do + * not attempt to use any RxJS implementation details to create Observers - you don't need them. Remember also + * that your object does not have to implement all methods. If you find yourself creating a method that doesn't + * do anything, you can simply omit it. Note however, that if `error` method is not provided, all errors will + * be left uncaught. + * + * The second way is to give up on Observer object altogether and simply provide callback functions in place of its methods. + * This means you can provide three functions as arguments to `subscribe`, where first function is equivalent + * of a `next` method, second of an `error` method and third of a `complete` method. Just as in case of Observer, + * if you do not need to listen for something, you can omit a function, preferably by passing `undefined` or `null`, + * since `subscribe` recognizes these functions by where they were placed in function call. When it comes + * to `error` function, just as before, if not provided, errors emitted by an Observable will be thrown. + * + * Whatever style of calling `subscribe` you use, in both cases it returns a Subscription object. + * This object allows you to call `unsubscribe` on it, which in turn will stop work that an Observable does and will clean + * up all resources that an Observable used. Note that cancelling a subscription will not call `complete` callback + * provided to `subscribe` function, which is reserved for a regular completion signal that comes from an Observable. + * + * Remember that callbacks provided to `subscribe` are not guaranteed to be called asynchronously. + * It is an Observable itself that decides when these functions will be called. For example {@link of} + * by default emits all its values synchronously. Always check documentation for how given Observable + * will behave when subscribed and if its default behavior can be modified with a {@link Scheduler}. + * + * @example Subscribe with an Observer + * const sumObserver = { + * sum: 0, + * next(value) { + * console.log('Adding: ' + value); + * this.sum = this.sum + value; + * }, + * error() { // We actually could just remove this method, + * }, // since we do not really care about errors right now. + * complete() { + * console.log('Sum equals: ' + this.sum); + * } + * }; + * + * Rx.Observable.of(1, 2, 3) // Synchronously emits 1, 2, 3 and then completes. + * .subscribe(sumObserver); + * + * // Logs: + * // "Adding: 1" + * // "Adding: 2" + * // "Adding: 3" + * // "Sum equals: 6" + * + * + * @example Subscribe with functions + * let sum = 0; + * + * Rx.Observable.of(1, 2, 3) + * .subscribe( + * function(value) { + * console.log('Adding: ' + value); + * sum = sum + value; + * }, + * undefined, + * function() { + * console.log('Sum equals: ' + sum); + * } + * ); + * + * // Logs: + * // "Adding: 1" + * // "Adding: 2" + * // "Adding: 3" + * // "Sum equals: 6" + * + * + * @example Cancel a subscription + * const subscription = Rx.Observable.interval(1000).subscribe( + * num => console.log(num), + * undefined, + * () => console.log('completed!') // Will not be called, even + * ); // when cancelling subscription + * + * + * setTimeout(() => { + * subscription.unsubscribe(); + * console.log('unsubscribed!'); + * }, 2500); + * + * // Logs: + * // 0 after 1s + * // 1 after 2s + * // "unsubscribed!" after 2.5s + * + * + * @param {Observer|Function} observerOrNext (optional) Either an observer with methods to be called, + * or the first of three possible handlers, which is the handler for each value emitted from the subscribed + * Observable. + * @param {Function} error (optional) A handler for a terminal event resulting from an error. If no error handler is provided, + * the error will be thrown as unhandled. + * @param {Function} complete (optional) A handler for a terminal event resulting from successful completion. + * @return {ISubscription} a subscription reference to the registered handlers + * @method subscribe + */ + subscribe(observerOrNext, error, complete) { + const { operator } = this; + const sink = toSubscriber(observerOrNext, error, complete); + if (operator) { + operator.call(sink, this.source); + } + else { + sink.add(this.source || !sink.syncErrorThrowable ? this._subscribe(sink) : this._trySubscribe(sink)); + } + if (sink.syncErrorThrowable) { + sink.syncErrorThrowable = false; + if (sink.syncErrorThrown) { + throw sink.syncErrorValue; + } + } + return sink; + } + _trySubscribe(sink) { + try { + return this._subscribe(sink); + } + catch (err) { + sink.syncErrorThrown = true; + sink.syncErrorValue = err; + sink.error(err); + } + } + /** + * @method forEach + * @param {Function} next a handler for each value emitted by the observable + * @param {PromiseConstructor} [PromiseCtor] a constructor function used to instantiate the Promise + * @return {Promise} a promise that either resolves on observable completion or + * rejects with the handled error + */ + forEach(next, PromiseCtor) { + if (!PromiseCtor) { + if (root.Rx && root.Rx.config && root.Rx.config.Promise) { + PromiseCtor = root.Rx.config.Promise; + } + else if (root.Promise) { + PromiseCtor = root.Promise; + } + } + if (!PromiseCtor) { + throw new Error('no Promise impl found'); + } + return new PromiseCtor((resolve, reject) => { + // Must be declared in a separate statement to avoid a RefernceError when + // accessing subscription below in the closure due to Temporal Dead Zone. + let subscription; + subscription = this.subscribe((value) => { + if (subscription) { + // if there is a subscription, then we can surmise + // the next handling is asynchronous. Any errors thrown + // need to be rejected explicitly and unsubscribe must be + // called manually + try { + next(value); + } + catch (err) { + reject(err); + subscription.unsubscribe(); + } + } + else { + // if there is NO subscription, then we're getting a nexted + // value synchronously during subscription. We can just call it. + // If it errors, Observable's `subscribe` will ensure the + // unsubscription logic is called, then synchronously rethrow the error. + // After that, Promise will trap the error and send it + // down the rejection path. + next(value); + } + }, reject, resolve); + }); + } + _subscribe(subscriber) { + return this.source.subscribe(subscriber); + } + /** + * An interop point defined by the es7-observable spec https://github.com/zenparsing/es-observable + * @method Symbol.observable + * @return {Observable} this instance of the observable + */ + [Symbol_observable]() { + return this; + } + /* tslint:enable:max-line-length */ + /** + * Used to stitch together functional operators into a chain. + * @method pipe + * @return {Observable} the Observable result of all of the operators having + * been called in the order they were passed in. + * + * @example + * + * import { map, filter, scan } from 'rxjs/operators'; + * + * Rx.Observable.interval(1000) + * .pipe( + * filter(x => x % 2 === 0), + * map(x => x + x), + * scan((acc, x) => acc + x) + * ) + * .subscribe(x => console.log(x)) + */ + pipe(...operations) { + if (operations.length === 0) { + return this; + } + return pipeFromArray(operations)(this); + } + /* tslint:enable:max-line-length */ + toPromise(PromiseCtor) { + if (!PromiseCtor) { + if (root.Rx && root.Rx.config && root.Rx.config.Promise) { + PromiseCtor = root.Rx.config.Promise; + } + else if (root.Promise) { + PromiseCtor = root.Promise; + } + } + if (!PromiseCtor) { + throw new Error('no Promise impl found'); + } + return new PromiseCtor((resolve, reject) => { + let value; + this.subscribe((x) => value = x, (err) => reject(err), () => resolve(value)); + }); + } +} +// HACK: Since TypeScript inherits static properties too, we have to +// fight against TypeScript here so Subject can have a different static create signature +/** + * Creates a new cold Observable by calling the Observable constructor + * @static true + * @owner Observable + * @method create + * @param {Function} subscribe? the subscriber function to be passed to the Observable constructor + * @return {Observable} a new cold observable + */ +Observable.create = (subscribe) => { + return new Observable(subscribe); +}; +//# sourceMappingURL=Observable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Observable.js.map b/node_modules/rxjs/_esm2015/Observable.js.map new file mode 100644 index 00000000..44a35469 --- /dev/null +++ b/node_modules/rxjs/_esm2015/Observable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Observable.js","sourceRoot":"","sources":["../src/Observable.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,aAAa;OAC3B,EAAE,YAAY,EAAE,MAAM,qBAAqB;OAG3C,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,qBAAqB;OAE9D,EAAE,aAAa,EAAE,MAAM,aAAa;AAW3C;;;;;GAKG;AACH;IAOE;;;;;;OAMG;IACH,YAAY,SAA6E;QAZlF,cAAS,GAAY,KAAK,CAAC;QAahC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;YACd,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC9B,CAAC;IACH,CAAC;IAgBD;;;;;;OAMG;IACH,IAAI,CAAI,QAAwB;QAC9B,MAAM,UAAU,GAAG,IAAI,UAAU,EAAK,CAAC;QACvC,UAAU,CAAC,MAAM,GAAG,IAAI,CAAC;QACzB,UAAU,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAC/B,MAAM,CAAC,UAAU,CAAC;IACpB,CAAC;IAID;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiHG;IACH,SAAS,CAAC,cAA0D,EAC1D,KAA4B,EAC5B,QAAqB;QAE7B,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;QAC1B,MAAM,IAAI,GAAG,YAAY,CAAC,cAAc,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;QAE3D,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;YACb,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE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js/_esm2015/Observer.js b/node_modules/rxjs/_esm2015/Observer.js new file mode 100644 index 00000000..edfadbaa --- /dev/null +++ b/node_modules/rxjs/_esm2015/Observer.js @@ -0,0 +1,7 @@ +export const empty = { + closed: true, + next(value) { }, + error(err) { throw err; }, + complete() { } +}; +//# sourceMappingURL=Observer.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Observer.js.map b/node_modules/rxjs/_esm2015/Observer.js.map new file mode 100644 index 00000000..162fe924 --- /dev/null +++ b/node_modules/rxjs/_esm2015/Observer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Observer.js","sourceRoot":"","sources":["../src/Observer.ts"],"names":[],"mappings":"AA8BA,OAAO,MAAM,KAAK,GAAkB;IAClC,MAAM,EAAE,IAAI;IACZ,IAAI,CAAC,KAAU,IAAoB,CAAC;IACpC,KAAK,CAAC,GAAQ,IAAU,MAAM,GAAG,CAAC,CAAC,CAAC;IACpC,QAAQ,KAAoB,CAAC;CAC9B,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Operator.js b/node_modules/rxjs/_esm2015/Operator.js new file mode 100644 index 00000000..463a42e4 --- /dev/null +++ b/node_modules/rxjs/_esm2015/Operator.js @@ -0,0 +1 @@ +//# sourceMappingURL=Operator.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Operator.js.map b/node_modules/rxjs/_esm2015/Operator.js.map new file mode 100644 index 00000000..ce9fa2ec --- /dev/null +++ b/node_modules/rxjs/_esm2015/Operator.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Operator.js","sourceRoot":"","sources":["../src/Operator.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/OuterSubscriber.js b/node_modules/rxjs/_esm2015/OuterSubscriber.js new file mode 100644 index 00000000..4ee8be3f --- /dev/null +++ b/node_modules/rxjs/_esm2015/OuterSubscriber.js @@ -0,0 +1,18 @@ +import { Subscriber } from './Subscriber'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class OuterSubscriber extends Subscriber { + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + this.destination.next(innerValue); + } + notifyError(error, innerSub) { + this.destination.error(error); + } + notifyComplete(innerSub) { + this.destination.complete(); + } +} +//# sourceMappingURL=OuterSubscriber.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/OuterSubscriber.js.map b/node_modules/rxjs/_esm2015/OuterSubscriber.js.map new file mode 100644 index 00000000..8701c263 --- /dev/null +++ b/node_modules/rxjs/_esm2015/OuterSubscriber.js.map @@ -0,0 +1 @@ +{"version":3,"file":"OuterSubscriber.js","sourceRoot":"","sources":["../src/OuterSubscriber.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,cAAc;AAGzC;;;;GAIG;AACH,qCAA2C,UAAU;IACnD,UAAU,CAAC,UAAa,EAAE,UAAa,EAC5B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IAED,WAAW,CAAC,KAAU,EAAE,QAA+B;QACrD,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAChC,CAAC;IAED,cAAc,CAAC,QAA+B;QAC5C,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/README.md b/node_modules/rxjs/_esm2015/README.md new file mode 100644 index 00000000..f8eda12a --- /dev/null +++ b/node_modules/rxjs/_esm2015/README.md @@ -0,0 +1,204 @@ +[![Build Status](https://travis-ci.org/ReactiveX/rxjs.svg?branch=master)](https://travis-ci.org/ReactiveX/rxjs) +[![Coverage Status](https://coveralls.io/repos/github/ReactiveX/rxjs/badge.svg?branch=master)](https://coveralls.io/github/ReactiveX/rxjs?branch=master) +[![npm version](https://badge.fury.io/js/%40reactivex%2Frxjs.svg)](http://badge.fury.io/js/%40reactivex%2Frxjs) +[![Join the chat at https://gitter.im/Reactive-Extensions/RxJS](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Reactive-Extensions/RxJS?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) + +[![Selenium Test Status](https://saucelabs.com/browser-matrix/rxjs5.svg)](https://saucelabs.com/u/rxjs5) + +# RxJS 5 + +Reactive Extensions Library for JavaScript. This is a rewrite of [Reactive-Extensions/RxJS](https://github.com/Reactive-Extensions/RxJS) and is the latest production-ready version of RxJS. This rewrite is meant to have better performance, better modularity, better debuggable call stacks, while staying mostly backwards compatible, with some breaking changes that reduce the API surface. + +[Apache 2.0 License](LICENSE.txt) + +- [Code of Conduct](CODE_OF_CONDUCT.md) +- [Contribution Guidelines](CONTRIBUTING.md) +- [Maintainer Guidelines](doc/maintainer-guidelines.md) +- [Creating Operators](doc/operator-creation.md) +- [Migrating From RxJS 4 to RxJS 5](MIGRATION.md) +- [API Documentation (WIP)](http://reactivex.io/rxjs) + +## Versions In This Repository + +- [master](https://github.com/ReactiveX/rxjs/commits/master) - commits that will be included in the next _minor_ or _patch_ release +- [next](https://github.com/ReactiveX/rxjs/commits/next) - commits that will be included in the next _major_ release (breaking changes) + +Most PRs should be made to **master**, unless you know it is a breaking change. + +## Important + +By contributing or commenting on issues in this repository, whether you've read them or not, you're agreeing to the [Contributor Code of Conduct](CODE_OF_CONDUCT.md). Much like traffic laws, ignorance doesn't grant you immunity. + +## Installation and Usage + +### ES6 via npm + +```sh +npm install rxjs +``` + +To import the entire core set of functionality: + +```js +import Rx from 'rxjs/Rx'; + +Rx.Observable.of(1,2,3) +``` + +To import only what you need by patching (this is useful for size-sensitive bundling): + +```js +import { Observable } from 'rxjs/Observable'; +import 'rxjs/add/observable/of'; +import 'rxjs/add/operator/map'; + +Observable.of(1,2,3).map(x => x + '!!!'); // etc +``` + +To import what you need and use it with proposed [bind operator](https://github.com/tc39/proposal-bind-operator): + +> Note: This additional syntax requires [transpiler support](http://babeljs.io/docs/plugins/transform-function-bind/) and this syntax may be completely withdrawn from TC39 without notice! Use at your own risk. + +```js +import { Observable } from 'rxjs/Observable'; +import { of } from 'rxjs/observable/of'; +import { map } from 'rxjs/operator/map'; + +Observable::of(1,2,3)::map(x => x + '!!!'); // etc +``` + +### CommonJS via npm + +To install this library for CommonJS (CJS) usage, use the following command: + +```sh +npm install rxjs +``` + +Import all core functionality: + +```js +var Rx = require('rxjs/Rx'); + +Rx.Observable.of(1,2,3); // etc +``` + +Import only what you need and patch Observable (this is useful in size-sensitive bundling scenarios): + +```js +var Observable = require('rxjs/Observable').Observable; +// patch Observable with appropriate methods +require('rxjs/add/observable/of'); +require('rxjs/add/operator/map'); + +Observable.of(1,2,3).map(function (x) { return x + '!!!'; }); // etc +``` + +Import operators and use them _manually_ you can do the following (this is also useful for bundling): + +```js +var of = require('rxjs/observable/of').of; +var map = require('rxjs/operator/map').map; + +map.call(of(1,2,3), function (x) { return x + '!!!'; }); +``` + +You can also use the above method to build your own Observable and export it from your own module. + + +### All Module Types (CJS/ES6/AMD/TypeScript) via npm + +To install this library via [npm](https://www.npmjs.org) **version 3**, use the following command: + +```sh +npm install @reactivex/rxjs +``` + +This will include CJS/Global builds and can be used for all module types. + +If you are using npm **version 2** before this library has achieved a stable version, you need to specify the library version explicitly: + +```sh +npm install @reactivex/rxjs@5.0.0 +``` + +### CDN + +For CDN, you can use [unpkg](https://unpkg.com/): + +https://unpkg.com/rxjs/bundles/Rx.min.js + +#### Node.js Usage: + +```js +var Rx = require('@reactivex/rxjs'); + +Rx.Observable.of('hello world') + .subscribe(function(x) { console.log(x); }); +``` + +## Goals + +- Provide better performance than preceding versions of RxJS +- To model/follow the [Observable Spec Proposal](https://github.com/zenparsing/es-observable) to the observable. +- Provide more modular file structure in a variety of formats +- Provide more debuggable call stacks than preceding versions of RxJS + +## Building/Testing + +The build and test structure is fairly primitive at the moment. There are various npm scripts that can be run: + +- build_es6: Transpiles the TypeScript files from `src/` to `dist/es6` +- build_cjs: Transpiles the ES6 files from `dist/es6` to `dist/cjs` +- build_amd: Transpiles the ES6 files from `dist/es6` to `dist/amd` +- build_global: Transpiles/Bundles the CommonJS files from `dist/cjs` to `dist/global/Rx.js` +- build_all: Performs all of the above in the proper order. +- build_test: builds ES6, then CommonJS, then runs the tests with `jasmine` +- build_perf: builds ES6, CommonJS, then global, then runs the performance tests with `protractor` +- build_docs: generates API documentation from `dist/es6` to `dist/docs` +- build_cover: runs `istanbul` code coverage against test cases +- test: runs tests with `jasmine`, must have built prior to running. +- tests2png: generates PNG marble diagrams from test cases. + +`npm run info` will list available script. + +### Example + +```sh +# build all the things! +npm run build_all +``` + +## Performance Tests + +Run `npm run build_perf` or `npm run perf` to run the performance tests with `protractor`. +Run `npm run perf_micro` to run micro performance test benchmarking operator. + +## Adding documentation +RxNext uses [ESDoc](https://esdoc.org/) to generate API documentation. Refer to ESDoc's documentation for syntax. Run `npm run build_docs` to generate. + +## Generating PNG marble diagrams + +The script `npm run tests2png` requires some native packages installed locally: `imagemagick`, `graphicsmagick`, and `ghostscript`. + +For Mac OS X with [Homebrew](http://brew.sh/): + +- `brew install imagemagick` +- `brew install graphicsmagick` +- `brew install ghostscript` +- You may need to install the Ghostscript fonts manually: + - Download the tarball from the [gs-fonts project](https://sourceforge.net/projects/gs-fonts) + - `mkdir -p /usr/local/share/ghostscript && tar zxvf /path/to/ghostscript-fonts.tar.gz -C /usr/local/share/ghostscript` + +For Debian Linux: + +- `sudo add-apt-repository ppa:dhor/myway` +- `apt-get install imagemagick` +- `apt-get install graphicsmagick` +- `apt-get install ghostscript` + +For Windows and other Operating Systems, check the download instructions here: + +- http://imagemagick.org +- http://www.graphicsmagick.org +- http://www.ghostscript.com/ diff --git a/node_modules/rxjs/_esm2015/ReplaySubject.js b/node_modules/rxjs/_esm2015/ReplaySubject.js new file mode 100644 index 00000000..8e2dbc0c --- /dev/null +++ b/node_modules/rxjs/_esm2015/ReplaySubject.js @@ -0,0 +1,90 @@ +import { Subject } from './Subject'; +import { queue } from './scheduler/queue'; +import { Subscription } from './Subscription'; +import { ObserveOnSubscriber } from './operators/observeOn'; +import { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError'; +import { SubjectSubscription } from './SubjectSubscription'; +/** + * @class ReplaySubject + */ +export class ReplaySubject extends Subject { + constructor(bufferSize = Number.POSITIVE_INFINITY, windowTime = Number.POSITIVE_INFINITY, scheduler) { + super(); + this.scheduler = scheduler; + this._events = []; + this._bufferSize = bufferSize < 1 ? 1 : bufferSize; + this._windowTime = windowTime < 1 ? 1 : windowTime; + } + next(value) { + const now = this._getNow(); + this._events.push(new ReplayEvent(now, value)); + this._trimBufferThenGetEvents(); + super.next(value); + } + _subscribe(subscriber) { + const _events = this._trimBufferThenGetEvents(); + const scheduler = this.scheduler; + let subscription; + if (this.closed) { + throw new ObjectUnsubscribedError(); + } + else if (this.hasError) { + subscription = Subscription.EMPTY; + } + else if (this.isStopped) { + subscription = Subscription.EMPTY; + } + else { + this.observers.push(subscriber); + subscription = new SubjectSubscription(this, subscriber); + } + if (scheduler) { + subscriber.add(subscriber = new ObserveOnSubscriber(subscriber, scheduler)); + } + const len = _events.length; + for (let i = 0; i < len && !subscriber.closed; i++) { + subscriber.next(_events[i].value); + } + if (this.hasError) { + subscriber.error(this.thrownError); + } + else if (this.isStopped) { + subscriber.complete(); + } + return subscription; + } + _getNow() { + return (this.scheduler || queue).now(); + } + _trimBufferThenGetEvents() { + const now = this._getNow(); + const _bufferSize = this._bufferSize; + const _windowTime = this._windowTime; + const _events = this._events; + let eventsCount = _events.length; + let spliceCount = 0; + // Trim events that fall out of the time window. + // Start at the front of the list. Break early once + // we encounter an event that falls within the window. + while (spliceCount < eventsCount) { + if ((now - _events[spliceCount].time) < _windowTime) { + break; + } + spliceCount++; + } + if (eventsCount > _bufferSize) { + spliceCount = Math.max(spliceCount, eventsCount - _bufferSize); + } + if (spliceCount > 0) { + _events.splice(0, spliceCount); + } + return _events; + } +} +class ReplayEvent { + constructor(time, value) { + this.time = time; + this.value = value; + } +} +//# sourceMappingURL=ReplaySubject.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/ReplaySubject.js.map b/node_modules/rxjs/_esm2015/ReplaySubject.js.map new file mode 100644 index 00000000..e829945b --- /dev/null +++ b/node_modules/rxjs/_esm2015/ReplaySubject.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ReplaySubject.js","sourceRoot":"","sources":["../src/ReplaySubject.ts"],"names":[],"mappings":"OAAO,EAAE,OAAO,EAAE,MAAM,WAAW;OAE5B,EAAE,KAAK,EAAE,MAAM,mBAAmB;OAElC,EAAE,YAAY,EAAE,MAAM,gBAAgB;OACtC,EAAE,mBAAmB,EAAE,MAAM,uBAAuB;OACpD,EAAE,uBAAuB,EAAE,MAAM,gCAAgC;OACjE,EAAE,mBAAmB,EAAE,MAAM,uBAAuB;AAC3D;;GAEG;AACH,mCAAsC,OAAO;IAK3C,YAAY,UAAU,GAAW,MAAM,CAAC,iBAAiB,EAC7C,UAAU,GAAW,MAAM,CAAC,iBAAiB,EACrC,SAAsB;QACxC,OAAO,CAAC;QADU,cAAS,GAAT,SAAS,CAAa;QANlC,YAAO,GAAqB,EAAE,CAAC;QAQrC,IAAI,CAAC,WAAW,GAAG,UAAU,GAAG,CAAC,GAAG,CAAC,GAAG,UAAU,CAAC;QACnD,IAAI,CAAC,WAAW,GAAG,UAAU,GAAG,CAAC,GAAG,CAAC,GAAG,UAAU,CAAC;IACrD,CAAC;IAED,IAAI,CAAC,KAAQ;QACX,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;QAC3B,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,WAAW,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC;QAC/C,IAAI,CAAC,wBAAwB,EAAE,CAAC;QAChC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACpB,CAAC;IAES,UAA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AAJ,IAAI,CAAQ;QAAS,UAAK,GAAL,KAAK,CAAG;IAChD,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Rx.js b/node_modules/rxjs/_esm2015/Rx.js new file mode 100644 index 00000000..23fd5c3f --- /dev/null +++ b/node_modules/rxjs/_esm2015/Rx.js @@ -0,0 +1,204 @@ +/* tslint:disable:no-unused-variable */ +// Subject imported before Observable to bypass circular dependency issue since +// Subject extends Observable and Observable references Subject in it's +// definition +export { Subject, AnonymousSubject } from './Subject'; +/* tslint:enable:no-unused-variable */ +export { Observable } from './Observable'; +import './add/observable/bindCallback'; +import './add/observable/bindNodeCallback'; +import './add/observable/combineLatest'; +import './add/observable/concat'; +import './add/observable/defer'; +import './add/observable/empty'; +import './add/observable/forkJoin'; +import './add/observable/from'; +import './add/observable/fromEvent'; +import './add/observable/fromEventPattern'; +import './add/observable/fromPromise'; +import './add/observable/generate'; +import './add/observable/if'; +import './add/observable/interval'; +import './add/observable/merge'; +import './add/observable/race'; +import './add/observable/never'; +import './add/observable/of'; +import './add/observable/onErrorResumeNext'; +import './add/observable/pairs'; +import './add/observable/range'; +import './add/observable/using'; +import './add/observable/throw'; +import './add/observable/timer'; +import './add/observable/zip'; +import './add/observable/dom/ajax'; +import './add/observable/dom/webSocket'; +import './add/operator/buffer'; +import './add/operator/bufferCount'; +import './add/operator/bufferTime'; +import './add/operator/bufferToggle'; +import './add/operator/bufferWhen'; +import './add/operator/catch'; +import './add/operator/combineAll'; +import './add/operator/combineLatest'; +import './add/operator/concat'; +import './add/operator/concatAll'; +import './add/operator/concatMap'; +import './add/operator/concatMapTo'; +import './add/operator/count'; +import './add/operator/dematerialize'; +import './add/operator/debounce'; +import './add/operator/debounceTime'; +import './add/operator/defaultIfEmpty'; +import './add/operator/delay'; +import './add/operator/delayWhen'; +import './add/operator/distinct'; +import './add/operator/distinctUntilChanged'; +import './add/operator/distinctUntilKeyChanged'; +import './add/operator/do'; +import './add/operator/exhaust'; +import './add/operator/exhaustMap'; +import './add/operator/expand'; +import './add/operator/elementAt'; +import './add/operator/filter'; +import './add/operator/finally'; +import './add/operator/find'; +import './add/operator/findIndex'; +import './add/operator/first'; +import './add/operator/groupBy'; +import './add/operator/ignoreElements'; +import './add/operator/isEmpty'; +import './add/operator/audit'; +import './add/operator/auditTime'; +import './add/operator/last'; +import './add/operator/let'; +import './add/operator/every'; +import './add/operator/map'; +import './add/operator/mapTo'; +import './add/operator/materialize'; +import './add/operator/max'; +import './add/operator/merge'; +import './add/operator/mergeAll'; +import './add/operator/mergeMap'; +import './add/operator/mergeMapTo'; +import './add/operator/mergeScan'; +import './add/operator/min'; +import './add/operator/multicast'; +import './add/operator/observeOn'; +import './add/operator/onErrorResumeNext'; +import './add/operator/pairwise'; +import './add/operator/partition'; +import './add/operator/pluck'; +import './add/operator/publish'; +import './add/operator/publishBehavior'; +import './add/operator/publishReplay'; +import './add/operator/publishLast'; +import './add/operator/race'; +import './add/operator/reduce'; +import './add/operator/repeat'; +import './add/operator/repeatWhen'; +import './add/operator/retry'; +import './add/operator/retryWhen'; +import './add/operator/sample'; +import './add/operator/sampleTime'; +import './add/operator/scan'; +import './add/operator/sequenceEqual'; +import './add/operator/share'; +import './add/operator/shareReplay'; +import './add/operator/single'; +import './add/operator/skip'; +import './add/operator/skipLast'; +import './add/operator/skipUntil'; +import './add/operator/skipWhile'; +import './add/operator/startWith'; +import './add/operator/subscribeOn'; +import './add/operator/switch'; +import './add/operator/switchMap'; +import './add/operator/switchMapTo'; +import './add/operator/take'; +import './add/operator/takeLast'; +import './add/operator/takeUntil'; +import './add/operator/takeWhile'; +import './add/operator/throttle'; +import './add/operator/throttleTime'; +import './add/operator/timeInterval'; +import './add/operator/timeout'; +import './add/operator/timeoutWith'; +import './add/operator/timestamp'; +import './add/operator/toArray'; +import './add/operator/toPromise'; +import './add/operator/window'; +import './add/operator/windowCount'; +import './add/operator/windowTime'; +import './add/operator/windowToggle'; +import './add/operator/windowWhen'; +import './add/operator/withLatestFrom'; +import './add/operator/zip'; +import './add/operator/zipAll'; +/* tslint:disable:no-unused-variable */ +export { Subscription } from './Subscription'; +export { Subscriber } from './Subscriber'; +export { AsyncSubject } from './AsyncSubject'; +export { ReplaySubject } from './ReplaySubject'; +export { BehaviorSubject } from './BehaviorSubject'; +export { ConnectableObservable } from './observable/ConnectableObservable'; +export { Notification } from './Notification'; +export { EmptyError } from './util/EmptyError'; +export { ArgumentOutOfRangeError } from './util/ArgumentOutOfRangeError'; +export { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError'; +export { TimeoutError } from './util/TimeoutError'; +export { UnsubscriptionError } from './util/UnsubscriptionError'; +export { TimeInterval } from './operator/timeInterval'; +export { Timestamp } from './operators/timestamp'; +export { TestScheduler } from './testing/TestScheduler'; +export { VirtualTimeScheduler } from './scheduler/VirtualTimeScheduler'; +export { AjaxResponse, AjaxError, AjaxTimeoutError } from './observable/dom/AjaxObservable'; +export { pipe } from './util/pipe'; +import { asap } from './scheduler/asap'; +import { async } from './scheduler/async'; +import { queue } from './scheduler/queue'; +import { animationFrame } from './scheduler/animationFrame'; +import { rxSubscriber } from './symbol/rxSubscriber'; +import { iterator } from './symbol/iterator'; +import { observable } from './symbol/observable'; +import * as _operators from './operators'; +export const operators = _operators; +/* tslint:enable:no-unused-variable */ +/** + * @typedef {Object} Rx.Scheduler + * @property {Scheduler} queue Schedules on a queue in the current event frame + * (trampoline scheduler). Use this for iteration operations. + * @property {Scheduler} asap Schedules on the micro task queue, which uses the + * fastest transport mechanism available, either Node.js' `process.nextTick()` + * or Web Worker MessageChannel or setTimeout or others. Use this for + * asynchronous conversions. + * @property {Scheduler} async Schedules work with `setInterval`. Use this for + * time-based operations. + * @property {Scheduler} animationFrame Schedules work with `requestAnimationFrame`. + * Use this for synchronizing with the platform's painting + */ +let Scheduler = { + asap, + queue, + animationFrame, + async +}; +/** + * @typedef {Object} Rx.Symbol + * @property {Symbol|string} rxSubscriber A symbol to use as a property name to + * retrieve an "Rx safe" Observer from an object. "Rx safety" can be defined as + * an object that has all of the traits of an Rx Subscriber, including the + * ability to add and remove subscriptions to the subscription chain and + * guarantees involving event triggering (can't "next" after unsubscription, + * etc). + * @property {Symbol|string} observable A symbol to use as a property name to + * retrieve an Observable as defined by the [ECMAScript "Observable" spec](https://github.com/zenparsing/es-observable). + * @property {Symbol|string} iterator The ES6 symbol to use as a property name + * to retrieve an iterator from an object. + */ +let Symbol = { + rxSubscriber, + observable, + iterator +}; +export { Scheduler, Symbol }; +//# sourceMappingURL=Rx.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Rx.js.map b/node_modules/rxjs/_esm2015/Rx.js.map new file mode 100644 index 00000000..0da980e5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/Rx.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Rx.js","sourceRoot":"","sources":["../src/Rx.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,+EAA+E;AAC/E,uEAAuE;AACvE,aAAa;AACb,SAAQ,OAAO,EAAE,gBAAgB,QAAO,WAAW,CAAC;AACpD,sCAAsC;AACtC,SAAQ,UAAU,QAAO,cAAc,CAAC;OAIjC,+BAA+B;OAC/B,mCAAmC;OACnC,gCAAgC;OAChC,yBAAyB;OACzB,wBAAwB;OACxB,wBAAwB;OACxB,2BAA2B;OAC3B,uBAAuB;OACvB,4BAA4B;OAC5B,mCAAmC;OACnC,8BAA8B;OAC9B,2BAA2B;OAC3B,qBAAqB;OACrB,2BAA2B;OAC3B,wBAAwB;OACxB,uBAAuB;OACvB,wBAAwB;OACxB,qBAAqB;OACrB,oCAAoC;OACpC,wBAAwB;OACxB,wBAAwB;OACxB,wBAAwB;OACxB,wBAAwB;OACxB,wBAAwB;OACxB,sBAAsB;OAGtB,2BAA2B;OAC3B,gCAAgC;OAGhC,uBAAuB;OACvB,4BAA4B;OAC5B,2BAA2B;OAC3B,6BAA6B;OAC7B,2BAA2B;OAC3B,sBAAsB;OACtB,2BAA2B;OA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AAqB;OAEzC,KAAK,UAAU,MAAM,aAAa;AAEzC,OAAO,MAAM,SAAS,GAAG,UAAU,CAAC;AAEpC,sCAAsC;AAEtC;;;;;;;;;;;;GAYG;AACH,IAAI,SAAS,GAAG;IACd,IAAI;IACJ,KAAK;IACL,cAAc;IACd,KAAK;CACN,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,IAAI,MAAM,GAAG;IACX,YAAY;IACZ,UAAU;IACV,QAAQ;CACT,CAAC;AAEF,SACI,SAAS,EACT,MAAM,GACR"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Scheduler.js b/node_modules/rxjs/_esm2015/Scheduler.js new file mode 100644 index 00000000..c04bab29 --- /dev/null +++ b/node_modules/rxjs/_esm2015/Scheduler.js @@ -0,0 +1,44 @@ +/** + * An execution context and a data structure to order tasks and schedule their + * execution. Provides a notion of (potentially virtual) time, through the + * `now()` getter method. + * + * Each unit of work in a Scheduler is called an {@link Action}. + * + * ```ts + * class Scheduler { + * now(): number; + * schedule(work, delay?, state?): Subscription; + * } + * ``` + * + * @class Scheduler + */ +export class Scheduler { + constructor(SchedulerAction, now = Scheduler.now) { + this.SchedulerAction = SchedulerAction; + this.now = now; + } + /** + * Schedules a function, `work`, for execution. May happen at some point in + * the future, according to the `delay` parameter, if specified. May be passed + * some context object, `state`, which will be passed to the `work` function. + * + * The given arguments will be processed an stored as an Action object in a + * queue of actions. + * + * @param {function(state: ?T): ?Subscription} work A function representing a + * task, or some unit of work to be executed by the Scheduler. + * @param {number} [delay] Time to wait before executing the work, where the + * time unit is implicit and defined by the Scheduler itself. + * @param {T} [state] Some contextual data that the `work` function uses when + * called by the Scheduler. + * @return {Subscription} A subscription in order to be able to unsubscribe + * the scheduled work. + */ + schedule(work, delay = 0, state) { + return new this.SchedulerAction(this, work).schedule(state, delay); + } +} +Scheduler.now = Date.now ? Date.now : () => +new Date(); +//# sourceMappingURL=Scheduler.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Scheduler.js.map b/node_modules/rxjs/_esm2015/Scheduler.js.map new file mode 100644 index 00000000..e02e8a73 --- /dev/null +++ b/node_modules/rxjs/_esm2015/Scheduler.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Scheduler.js","sourceRoot":"","sources":["../src/Scheduler.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;GAeG;AACH;IAIE,YAAoB,eAA8B,EACtC,GAAG,GAAiB,SAAS,CAAC,GAAG;QADzB,oBAAe,GAAf,eAAe,CAAe;QAEhD,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;IACjB,CAAC;IAYD;;;;;;;;;;;;;;;;OAgBG;IACI,QAAQ,CAAI,IAA0C,EAAE,KAAK,GAAW,CAAC,EAAE,KAAS;QACzF,MAAM,CAAC,IAAI,IAAI,CAAC,eAAe,CAAI,IAAI,EAAE,IAAI,CAAC,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IACxE,CAAC;AACH,CAAC;AArCe,aAAG,GAAiB,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,GAAG,MAAM,CAAC,IAAI,IAAI,EAAE,CAqC1E"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Subject.js b/node_modules/rxjs/_esm2015/Subject.js new file mode 100644 index 00000000..7d4d4268 --- /dev/null +++ b/node_modules/rxjs/_esm2015/Subject.js @@ -0,0 +1,153 @@ +import { Observable } from './Observable'; +import { Subscriber } from './Subscriber'; +import { Subscription } from './Subscription'; +import { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError'; +import { SubjectSubscription } from './SubjectSubscription'; +import { rxSubscriber as rxSubscriberSymbol } from './symbol/rxSubscriber'; +/** + * @class SubjectSubscriber + */ +export class SubjectSubscriber extends Subscriber { + constructor(destination) { + super(destination); + this.destination = destination; + } +} +/** + * @class Subject + */ +export class Subject extends Observable { + constructor() { + super(); + this.observers = []; + this.closed = false; + this.isStopped = false; + this.hasError = false; + this.thrownError = null; + } + [rxSubscriberSymbol]() { + return new SubjectSubscriber(this); + } + lift(operator) { + const subject = new AnonymousSubject(this, this); + subject.operator = operator; + return subject; + } + next(value) { + if (this.closed) { + throw new ObjectUnsubscribedError(); + } + if (!this.isStopped) { + const { observers } = this; + const len = observers.length; + const copy = observers.slice(); + for (let i = 0; i < len; i++) { + copy[i].next(value); + } + } + } + error(err) { + if (this.closed) { + throw new ObjectUnsubscribedError(); + } + this.hasError = true; + this.thrownError = err; + this.isStopped = true; + const { observers } = this; + const len = observers.length; + const copy = observers.slice(); + for (let i = 0; i < len; i++) { + copy[i].error(err); + } + this.observers.length = 0; + } + complete() { + if (this.closed) { + throw new ObjectUnsubscribedError(); + } + this.isStopped = true; + const { observers } = this; + const len = observers.length; + const copy = observers.slice(); + for (let i = 0; i < len; i++) { + copy[i].complete(); + } + this.observers.length = 0; + } + unsubscribe() { + this.isStopped = true; + this.closed = true; + this.observers = null; + } + _trySubscribe(subscriber) { + if (this.closed) { + throw new ObjectUnsubscribedError(); + } + else { + return super._trySubscribe(subscriber); + } + } + _subscribe(subscriber) { + if (this.closed) { + throw new ObjectUnsubscribedError(); + } + else if (this.hasError) { + subscriber.error(this.thrownError); + return Subscription.EMPTY; + } + else if (this.isStopped) { + subscriber.complete(); + return Subscription.EMPTY; + } + else { + this.observers.push(subscriber); + return new SubjectSubscription(this, subscriber); + } + } + asObservable() { + const observable = new Observable(); + observable.source = this; + return observable; + } +} +Subject.create = (destination, source) => { + return new AnonymousSubject(destination, source); +}; +/** + * @class AnonymousSubject + */ +export class AnonymousSubject extends Subject { + constructor(destination, source) { + super(); + this.destination = destination; + this.source = source; + } + next(value) { + const { destination } = this; + if (destination && destination.next) { + destination.next(value); + } + } + error(err) { + const { destination } = this; + if (destination && destination.error) { + this.destination.error(err); + } + } + complete() { + const { destination } = this; + if (destination && destination.complete) { + this.destination.complete(); + } + } + _subscribe(subscriber) { + const { source } = this; + if (source) { + return this.source.subscribe(subscriber); + } + else { + return Subscription.EMPTY; + } + } +} +//# sourceMappingURL=Subject.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Subject.js.map b/node_modules/rxjs/_esm2015/Subject.js.map new file mode 100644 index 00000000..58087d36 --- /dev/null +++ b/node_modules/rxjs/_esm2015/Subject.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Subject.js","sourceRoot":"","sources":["../src/Subject.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,cAAc;OAClC,EAAE,UAAU,EAAE,MAAM,cAAc;OAClC,EAAiB,YAAY,EAAiB,MAAM,gBAAgB;OACpE,EAAE,uBAAuB,EAAE,MAAM,gCAAgC;OACjE,EAAE,mBAAmB,EAAE,MAAM,uBAAuB;OACpD,EAAE,YAAY,IAAI,kBAAkB,EAAE,MAAM,uBAAuB;AAE1E;;GAEG;AACH,uCAA0C,UAAU;IAClD,YAAsB,WAAuB;QAC3C,MAAM,WAAW,CAAC,CAAC;QADC,gBAAW,GAAX,WAAW,CAAY;IAE7C,CAAC;AACH,CAAC;AAED;;GAEG;AACH,6BAAgC,UAAU;IAgBxC;QACE,OAAO,CAAC;QAXV,cAAS,GAAkB,EAAE,CAAC;QAE9B,WAAM,GAAG,KAAK,CAAC;QAEf,cAAS,GAAG,KAAK,CAAC;QAElB,aAAQ,GAAG,KAAK,CAAC;QAEjB,gBAAW,GAAQ,IAAI,CAAC;IAIxB,CAAC;IAhBD,CAAC,kBAAkB,CAAC;QAClB,MAAM,CAAC,IAAI,iBAAiB,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;IAoBD,IAAI,CAAI,QAAwB;QAC9B,MAAM,OAAO,GAAG,IAAI,gBAAgB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACjD,OAAO,CAAC,QAAQ,GAAQ,QAAQ,CAAC;QACjC,MAAM,CAAM,OAAO,CAAC;IACtB,CAAC;IAED,IAAI,CAAC,KAAS;QACZ,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YAChB,MAAM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C;QAC7B,EAAE,CAAC,CAAC,WAAW,IAAI,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;YACxC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;IAES,UAAU,CAAC,UAAyB;QAC5C,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QACxB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;YACX,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QAC3C,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC;QAC5B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/SubjectSubscription.js b/node_modules/rxjs/_esm2015/SubjectSubscription.js new file mode 100644 index 00000000..7687174f --- /dev/null +++ b/node_modules/rxjs/_esm2015/SubjectSubscription.js @@ -0,0 +1,31 @@ +import { Subscription } from './Subscription'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class SubjectSubscription extends Subscription { + constructor(subject, subscriber) { + super(); + this.subject = subject; + this.subscriber = subscriber; + this.closed = false; + } + unsubscribe() { + if (this.closed) { + return; + } + this.closed = true; + const subject = this.subject; + const observers = subject.observers; + this.subject = null; + if (!observers || observers.length === 0 || subject.isStopped || subject.closed) { + return; + } + const subscriberIndex = observers.indexOf(this.subscriber); + if (subscriberIndex !== -1) { + observers.splice(subscriberIndex, 1); + } + } +} +//# sourceMappingURL=SubjectSubscription.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/SubjectSubscription.js.map b/node_modules/rxjs/_esm2015/SubjectSubscription.js.map new file mode 100644 index 00000000..2f93eed2 --- /dev/null +++ b/node_modules/rxjs/_esm2015/SubjectSubscription.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SubjectSubscription.js","sourceRoot":"","sources":["../src/SubjectSubscription.ts"],"names":[],"mappings":"OAEO,EAAE,YAAY,EAAE,MAAM,gBAAgB;AAE7C;;;;GAIG;AACH,yCAA4C,YAAY;IAGtD,YAAmB,OAAmB,EAAS,UAAuB;QACpE,OAAO,CAAC;QADS,YAAO,GAAP,OAAO,CAAY;QAAS,eAAU,GAAV,UAAU,CAAa;QAFtE,WAAM,GAAY,KAAK,CAAC;IAIxB,CAAC;IAED,WAAW;QACT,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YAChB,MAAM,CAAC;QACT,CAAC;QAED,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QAEnB,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC7B,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;QAEpC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QAEpB,EAAE,CAAC,CAAC,CAAC,SAAS,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,IAAI,OAAO,CAAC,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;YAChF,MAAM,CAAC;QACT,CAAC;QAED,MAAM,eAAe,GAAG,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAE3D,EAAE,CAAC,CAAC,eAAe,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YAC3B,SAAS,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;QACvC,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Subscriber.js b/node_modules/rxjs/_esm2015/Subscriber.js new file mode 100644 index 00000000..2200b466 --- /dev/null +++ b/node_modules/rxjs/_esm2015/Subscriber.js @@ -0,0 +1,253 @@ +import { isFunction } from './util/isFunction'; +import { Subscription } from './Subscription'; +import { empty as emptyObserver } from './Observer'; +import { rxSubscriber as rxSubscriberSymbol } from './symbol/rxSubscriber'; +/** + * Implements the {@link Observer} interface and extends the + * {@link Subscription} class. While the {@link Observer} is the public API for + * consuming the values of an {@link Observable}, all Observers get converted to + * a Subscriber, in order to provide Subscription-like capabilities such as + * `unsubscribe`. Subscriber is a common type in RxJS, and crucial for + * implementing operators, but it is rarely used as a public API. + * + * @class Subscriber + */ +export class Subscriber extends Subscription { + /** + * @param {Observer|function(value: T): void} [destinationOrNext] A partially + * defined Observer or a `next` callback function. + * @param {function(e: ?any): void} [error] The `error` callback of an + * Observer. + * @param {function(): void} [complete] The `complete` callback of an + * Observer. + */ + constructor(destinationOrNext, error, complete) { + super(); + this.syncErrorValue = null; + this.syncErrorThrown = false; + this.syncErrorThrowable = false; + this.isStopped = false; + switch (arguments.length) { + case 0: + this.destination = emptyObserver; + break; + case 1: + if (!destinationOrNext) { + this.destination = emptyObserver; + break; + } + if (typeof destinationOrNext === 'object') { + if (destinationOrNext instanceof Subscriber) { + this.syncErrorThrowable = destinationOrNext.syncErrorThrowable; + this.destination = destinationOrNext; + this.destination.add(this); + } + else { + this.syncErrorThrowable = true; + this.destination = new SafeSubscriber(this, destinationOrNext); + } + break; + } + default: + this.syncErrorThrowable = true; + this.destination = new SafeSubscriber(this, destinationOrNext, error, complete); + break; + } + } + [rxSubscriberSymbol]() { return this; } + /** + * A static factory for a Subscriber, given a (potentially partial) definition + * of an Observer. + * @param {function(x: ?T): void} [next] The `next` callback of an Observer. + * @param {function(e: ?any): void} [error] The `error` callback of an + * Observer. + * @param {function(): void} [complete] The `complete` callback of an + * Observer. + * @return {Subscriber} A Subscriber wrapping the (partially defined) + * Observer represented by the given arguments. + */ + static create(next, error, complete) { + const subscriber = new Subscriber(next, error, complete); + subscriber.syncErrorThrowable = false; + return subscriber; + } + /** + * The {@link Observer} callback to receive notifications of type `next` from + * the Observable, with a value. The Observable may call this method 0 or more + * times. + * @param {T} [value] The `next` value. + * @return {void} + */ + next(value) { + if (!this.isStopped) { + this._next(value); + } + } + /** + * The {@link Observer} callback to receive notifications of type `error` from + * the Observable, with an attached {@link Error}. Notifies the Observer that + * the Observable has experienced an error condition. + * @param {any} [err] The `error` exception. + * @return {void} + */ + error(err) { + if (!this.isStopped) { + this.isStopped = true; + this._error(err); + } + } + /** + * The {@link Observer} callback to receive a valueless notification of type + * `complete` from the Observable. Notifies the Observer that the Observable + * has finished sending push-based notifications. + * @return {void} + */ + complete() { + if (!this.isStopped) { + this.isStopped = true; + this._complete(); + } + } + unsubscribe() { + if (this.closed) { + return; + } + this.isStopped = true; + super.unsubscribe(); + } + _next(value) { + this.destination.next(value); + } + _error(err) { + this.destination.error(err); + this.unsubscribe(); + } + _complete() { + this.destination.complete(); + this.unsubscribe(); + } + _unsubscribeAndRecycle() { + const { _parent, _parents } = this; + this._parent = null; + this._parents = null; + this.unsubscribe(); + this.closed = false; + this.isStopped = false; + this._parent = _parent; + this._parents = _parents; + return this; + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class SafeSubscriber extends Subscriber { + constructor(_parentSubscriber, observerOrNext, error, complete) { + super(); + this._parentSubscriber = _parentSubscriber; + let next; + let context = this; + if (isFunction(observerOrNext)) { + next = observerOrNext; + } + else if (observerOrNext) { + next = observerOrNext.next; + error = observerOrNext.error; + complete = observerOrNext.complete; + if (observerOrNext !== emptyObserver) { + context = Object.create(observerOrNext); + if (isFunction(context.unsubscribe)) { + this.add(context.unsubscribe.bind(context)); + } + context.unsubscribe = this.unsubscribe.bind(this); + } + } + this._context = context; + this._next = next; + this._error = error; + this._complete = complete; + } + next(value) { + if (!this.isStopped && this._next) { + const { _parentSubscriber } = this; + if (!_parentSubscriber.syncErrorThrowable) { + this.__tryOrUnsub(this._next, value); + } + else if (this.__tryOrSetError(_parentSubscriber, this._next, value)) { + this.unsubscribe(); + } + } + } + error(err) { + if (!this.isStopped) { + const { _parentSubscriber } = this; + if (this._error) { + if (!_parentSubscriber.syncErrorThrowable) { + this.__tryOrUnsub(this._error, err); + this.unsubscribe(); + } + else { + this.__tryOrSetError(_parentSubscriber, this._error, err); + this.unsubscribe(); + } + } + else if (!_parentSubscriber.syncErrorThrowable) { + this.unsubscribe(); + throw err; + } + else { + _parentSubscriber.syncErrorValue = err; + _parentSubscriber.syncErrorThrown = true; + this.unsubscribe(); + } + } + } + complete() { + if (!this.isStopped) { + const { _parentSubscriber } = this; + if (this._complete) { + const wrappedComplete = () => this._complete.call(this._context); + if (!_parentSubscriber.syncErrorThrowable) { + this.__tryOrUnsub(wrappedComplete); + this.unsubscribe(); + } + else { + this.__tryOrSetError(_parentSubscriber, wrappedComplete); + this.unsubscribe(); + } + } + else { + this.unsubscribe(); + } + } + } + __tryOrUnsub(fn, value) { + try { + fn.call(this._context, value); + } + catch (err) { + this.unsubscribe(); + throw err; + } + } + __tryOrSetError(parent, fn, value) { + try { + fn.call(this._context, value); + } + catch (err) { + parent.syncErrorValue = err; + parent.syncErrorThrown = true; + return true; + } + return false; + } + _unsubscribe() { + const { _parentSubscriber } = this; + this._context = null; + this._parentSubscriber = null; + _parentSubscriber.unsubscribe(); + } +} +//# sourceMappingURL=Subscriber.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Subscriber.js.map b/node_modules/rxjs/_esm2015/Subscriber.js.map new file mode 100644 index 00000000..a8781395 --- /dev/null +++ b/node_modules/rxjs/_esm2015/Subscriber.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Subscriber.js","sourceRoot":"","sources":["../src/Subscriber.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB;OAEvC,EAAE,YAAY,EAAE,MAAM,gBAAgB;OACtC,EAAE,KAAK,IAAI,aAAa,EAAE,MAAM,YAAY;OAC5C,EAAE,YAAY,IAAI,kBAAkB,EAAE,MAAM,uBAAuB;AAE1E;;;;;;;;;GASG;AACH,gCAAmC,YAAY;IA8B7C;;;;;;;OAOG;IACH,YAAY,iBAA+D,EAC/D,KAAyB,EACzB,QAAqB;QAC/B,OAAO,CAAC;QAlBH,mBAAc,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AAI,CAAC,CAAC;gBACN,IAAI,CAAC,WAAW,EAAE,CAAC;YACrB,CAAC;QACH,CAAC;IACH,CAAC;IAEO,YAAY,CAAC,EAAY,EAAE,KAAW;QAC5C,IAAI,CAAC;YACH,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;QAChC,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,EAAE,CAAC;YACnB,MAAM,GAAG,CAAC;QACZ,CAAC;IACH,CAAC;IAEO,eAAe,CAAC,MAAqB,EAAE,EAAY,EAAE,KAAW;QACtE,IAAI,CAAC;YACH,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;QAChC,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,MAAM,CAAC,cAAc,GAAG,GAAG,CAAC;YAC5B,MAAM,CAAC,eAAe,GAAG,IAAI,CAAC;YAC9B,MAAM,CAAC,IAAI,CAAC;QACd,CAAC;QACD,MAAM,CAAC,KAAK,CAAC;IACf,CAAC;IAES,YAAY;QACpB,MAAM,EAAE,iBAAiB,EAAE,GAAG,IAAI,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACrB,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC;QAC9B,iBAAiB,CAAC,WAAW,EAAE,CAAC;IAClC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Subscription.js b/node_modules/rxjs/_esm2015/Subscription.js new file mode 100644 index 00000000..9752ef89 --- /dev/null +++ b/node_modules/rxjs/_esm2015/Subscription.js @@ -0,0 +1,190 @@ +import { isArray } from './util/isArray'; +import { isObject } from './util/isObject'; +import { isFunction } from './util/isFunction'; +import { tryCatch } from './util/tryCatch'; +import { errorObject } from './util/errorObject'; +import { UnsubscriptionError } from './util/UnsubscriptionError'; +/** + * Represents a disposable resource, such as the execution of an Observable. A + * Subscription has one important method, `unsubscribe`, that takes no argument + * and just disposes the resource held by the subscription. + * + * Additionally, subscriptions may be grouped together through the `add()` + * method, which will attach a child Subscription to the current Subscription. + * When a Subscription is unsubscribed, all its children (and its grandchildren) + * will be unsubscribed as well. + * + * @class Subscription + */ +export class Subscription { + /** + * @param {function(): void} [unsubscribe] A function describing how to + * perform the disposal of resources when the `unsubscribe` method is called. + */ + constructor(unsubscribe) { + /** + * A flag to indicate whether this Subscription has already been unsubscribed. + * @type {boolean} + */ + this.closed = false; + this._parent = null; + this._parents = null; + this._subscriptions = null; + if (unsubscribe) { + this._unsubscribe = unsubscribe; + } + } + /** + * Disposes the resources held by the subscription. May, for instance, cancel + * an ongoing Observable execution or cancel any other type of work that + * started when the Subscription was created. + * @return {void} + */ + unsubscribe() { + let hasErrors = false; + let errors; + if (this.closed) { + return; + } + let { _parent, _parents, _unsubscribe, _subscriptions } = this; + this.closed = true; + this._parent = null; + this._parents = null; + // null out _subscriptions first so any child subscriptions that attempt + // to remove themselves from this subscription will noop + this._subscriptions = null; + let index = -1; + let len = _parents ? _parents.length : 0; + // if this._parent is null, then so is this._parents, and we + // don't have to remove ourselves from any parent subscriptions. + while (_parent) { + _parent.remove(this); + // if this._parents is null or index >= len, + // then _parent is set to null, and the loop exits + _parent = ++index < len && _parents[index] || null; + } + if (isFunction(_unsubscribe)) { + let trial = tryCatch(_unsubscribe).call(this); + if (trial === errorObject) { + hasErrors = true; + errors = errors || (errorObject.e instanceof UnsubscriptionError ? + flattenUnsubscriptionErrors(errorObject.e.errors) : [errorObject.e]); + } + } + if (isArray(_subscriptions)) { + index = -1; + len = _subscriptions.length; + while (++index < len) { + const sub = _subscriptions[index]; + if (isObject(sub)) { + let trial = tryCatch(sub.unsubscribe).call(sub); + if (trial === errorObject) { + hasErrors = true; + errors = errors || []; + let err = errorObject.e; + if (err instanceof UnsubscriptionError) { + errors = errors.concat(flattenUnsubscriptionErrors(err.errors)); + } + else { + errors.push(err); + } + } + } + } + } + if (hasErrors) { + throw new UnsubscriptionError(errors); + } + } + /** + * Adds a tear down to be called during the unsubscribe() of this + * Subscription. + * + * If the tear down being added is a subscription that is already + * unsubscribed, is the same reference `add` is being called on, or is + * `Subscription.EMPTY`, it will not be added. + * + * If this subscription is already in an `closed` state, the passed + * tear down logic will be executed immediately. + * + * @param {TeardownLogic} teardown The additional logic to execute on + * teardown. + * @return {Subscription} Returns the Subscription used or created to be + * added to the inner subscriptions list. This Subscription can be used with + * `remove()` to remove the passed teardown logic from the inner subscriptions + * list. + */ + add(teardown) { + if (!teardown || (teardown === Subscription.EMPTY)) { + return Subscription.EMPTY; + } + if (teardown === this) { + return this; + } + let subscription = teardown; + switch (typeof teardown) { + case 'function': + subscription = new Subscription(teardown); + case 'object': + if (subscription.closed || typeof subscription.unsubscribe !== 'function') { + return subscription; + } + else if (this.closed) { + subscription.unsubscribe(); + return subscription; + } + else if (typeof subscription._addParent !== 'function' /* quack quack */) { + const tmp = subscription; + subscription = new Subscription(); + subscription._subscriptions = [tmp]; + } + break; + default: + throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.'); + } + const subscriptions = this._subscriptions || (this._subscriptions = []); + subscriptions.push(subscription); + subscription._addParent(this); + return subscription; + } + /** + * Removes a Subscription from the internal list of subscriptions that will + * unsubscribe during the unsubscribe process of this Subscription. + * @param {Subscription} subscription The subscription to remove. + * @return {void} + */ + remove(subscription) { + const subscriptions = this._subscriptions; + if (subscriptions) { + const subscriptionIndex = subscriptions.indexOf(subscription); + if (subscriptionIndex !== -1) { + subscriptions.splice(subscriptionIndex, 1); + } + } + } + _addParent(parent) { + let { _parent, _parents } = this; + if (!_parent || _parent === parent) { + // If we don't have a parent, or the new parent is the same as the + // current parent, then set this._parent to the new parent. + this._parent = parent; + } + else if (!_parents) { + // If there's already one parent, but not multiple, allocate an Array to + // store the rest of the parent Subscriptions. + this._parents = [parent]; + } + else if (_parents.indexOf(parent) === -1) { + // Only add the new parent to the _parents list if it's not already there. + _parents.push(parent); + } + } +} +Subscription.EMPTY = (function (empty) { + empty.closed = true; + return empty; +}(new Subscription())); +function flattenUnsubscriptionErrors(errors) { + return errors.reduce((errs, err) => errs.concat((err instanceof UnsubscriptionError) ? err.errors : err), []); +} +//# sourceMappingURL=Subscription.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Subscription.js.map b/node_modules/rxjs/_esm2015/Subscription.js.map new file mode 100644 index 00000000..903318ea --- /dev/null +++ b/node_modules/rxjs/_esm2015/Subscription.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Subscription.js","sourceRoot":"","sources":["../src/Subscription.ts"],"names":[],"mappings":"OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB;OACjC,EAAE,QAAQ,EAAE,MAAM,iBAAiB;OACnC,EAAE,UAAU,EAAE,MAAM,mBAAmB;OACvC,EAAE,QAAQ,EAAE,MAAM,iBAAiB;OACnC,EAAE,WAAW,EAAE,MAAM,oBAAoB;OACzC,EAAE,mBAAmB,EAAE,MAAM,4BAA4B;AAahE;;;;;;;;;;;GAWG;AACH;IAgBE;;;OAGG;IACH,YAAY,WAAwB;QAdpC;;;WAGG;QACI,WAAM,GAAY,KAAK,CAAC;QAErB,YAAO,GAAiB,IAAI,CAAC;QAC7B,aAAQ,GAAmB,IAAI,CAAC;QAClC,mBAAc,GAAoB,IAAI,CAAC;QAO7C,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC;YACT,IAAK,CAAC,YAAY,GAAG,WAAW,CAAC;QAC1C,CAAC;IACH,CAAC;IAED;;;;;OAKG;IACH,WAAW;QACT,IAAI,SAAS,GAAG,KAAK,CAAC;QACtB,IAAI,MAAa,CAAC;QAElB,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YAChB,MAAM,CAAC;QACT,CAAC;QAED,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,cAAc,EAAE,GAAU,IA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Callback.js new file mode 100644 index 00000000..0f1db94a --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/bindCallback.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { bindCallback as staticBindCallback } from '../../observable/bindCallback'; +Observable.bindCallback = staticBindCallback; +//# sourceMappingURL=bindCallback.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/bindCallback.js.map b/node_modules/rxjs/_esm2015/add/observable/bindCallback.js.map new file mode 100644 index 00000000..356b47e9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/bindCallback.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bindCallback.js","sourceRoot":"","sources":["../../../src/add/observable/bindCallback.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,YAAY,IAAI,kBAAkB,EAAE,MAAM,+BAA+B;AAElF,UAAU,CAAC,YAAY,GAAG,kBAAkB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/bindNodeCallback.js b/node_modules/rxjs/_esm2015/add/observable/bindNodeCallback.js new file mode 100644 index 00000000..2b1e47e9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/bindNodeCallback.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { bindNodeCallback as staticBindNodeCallback } from '../../observable/bindNodeCallback'; +Observable.bindNodeCallback = staticBindNodeCallback; +//# sourceMappingURL=bindNodeCallback.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/bindNodeCallback.js.map b/node_modules/rxjs/_esm2015/add/observable/bindNodeCallback.js.map new file mode 100644 index 00000000..1e4b0a2d --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/bindNodeCallback.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bindNodeCallback.js","sourceRoot":"","sources":["../../../src/add/observable/bindNodeCallback.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,gBAAgB,IAAI,sBAAsB,EAAE,MAAM,mCAAmC;AAE9F,UAAU,CAAC,gBAAgB,GAAG,sBAAsB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/combineLatest.js b/node_modules/rxjs/_esm2015/add/observable/combineLatest.js new file mode 100644 index 00000000..39b7bc09 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/combineLatest.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { combineLatest as combineLatestStatic } from '../../observable/combineLatest'; +Observable.combineLatest = combineLatestStatic; +//# sourceMappingURL=combineLatest.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/combineLatest.js.map b/node_modules/rxjs/_esm2015/add/observable/combineLatest.js.map new file mode 100644 index 00000000..adf36f0b --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/combineLatest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"combineLatest.js","sourceRoot":"","sources":["../../../src/add/observable/combineLatest.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,gCAAgC;AAErF,UAAU,CAAC,aAAa,GAAG,mBAAmB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/concat.js b/node_modules/rxjs/_esm2015/add/observable/concat.js new file mode 100644 index 00000000..3fbd22fb --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/concat.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { concat as concatStatic } from '../../observable/concat'; +Observable.concat = concatStatic; +//# sourceMappingURL=concat.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/concat.js.map b/node_modules/rxjs/_esm2015/add/observable/concat.js.map new file mode 100644 index 00000000..cb035092 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/concat.js.map @@ -0,0 +1 @@ +{"version":3,"file":"concat.js","sourceRoot":"","sources":["../../../src/add/observable/concat.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,yBAAyB;AAEhE,UAAU,CAAC,MAAM,GAAG,YAAY,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/defer.js b/node_modules/rxjs/_esm2015/add/observable/defer.js new file mode 100644 index 00000000..eeaf67d4 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/defer.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { defer as staticDefer } from '../../observable/defer'; +Observable.defer = staticDefer; +//# sourceMappingURL=defer.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/defer.js.map b/node_modules/rxjs/_esm2015/add/observable/defer.js.map new file mode 100644 index 00000000..39bdc567 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/defer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"defer.js","sourceRoot":"","sources":["../../../src/add/observable/defer.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAE7D,UAAU,CAAC,KAAK,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/dom/ajax.js b/node_modules/rxjs/_esm2015/add/observable/dom/ajax.js new file mode 100644 index 00000000..24174932 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/dom/ajax.js @@ -0,0 +1,4 @@ +import { Observable } from '../../../Observable'; +import { ajax as staticAjax } from '../../../observable/dom/ajax'; +Observable.ajax = staticAjax; +//# sourceMappingURL=ajax.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/dom/ajax.js.map b/node_modules/rxjs/_esm2015/add/observable/dom/ajax.js.map new file mode 100644 index 00000000..b1a72fce --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/dom/ajax.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ajax.js","sourceRoot":"","sources":["../../../../src/add/observable/dom/ajax.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB;OACzC,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,8BAA8B;AAGjE,UAAU,CAAC,IAAI,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/dom/webSocket.js b/node_modules/rxjs/_esm2015/add/observable/dom/webSocket.js new file mode 100644 index 00000000..acd4cf0e --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/dom/webSocket.js @@ -0,0 +1,4 @@ +import { Observable } from '../../../Observable'; +import { webSocket as staticWebSocket } from '../../../observable/dom/webSocket'; +Observable.webSocket = staticWebSocket; +//# sourceMappingURL=webSocket.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/dom/webSocket.js.map b/node_modules/rxjs/_esm2015/add/observable/dom/webSocket.js.map new file mode 100644 index 00000000..c57fcff3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/dom/webSocket.js.map @@ -0,0 +1 @@ +{"version":3,"file":"webSocket.js","sourceRoot":"","sources":["../../../../src/add/observable/dom/webSocket.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB;OACzC,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,mCAAmC;AAEhF,UAAU,CAAC,SAAS,GAAG,eAAe,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/empty.js b/node_modules/rxjs/_esm2015/add/observable/empty.js new file mode 100644 index 00000000..b19ba02f --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/empty.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { empty as staticEmpty } from '../../observable/empty'; +Observable.empty = staticEmpty; +//# sourceMappingURL=empty.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/empty.js.map b/node_modules/rxjs/_esm2015/add/observable/empty.js.map new file mode 100644 index 00000000..f7e8ba68 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/empty.js.map @@ -0,0 +1 @@ +{"version":3,"file":"empty.js","sourceRoot":"","sources":["../../../src/add/observable/empty.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAE7D,UAAU,CAAC,KAAK,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/forkJoin.js b/node_modules/rxjs/_esm2015/add/observable/forkJoin.js new file mode 100644 index 00000000..77162a1f --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/forkJoin.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { forkJoin as staticForkJoin } from '../../observable/forkJoin'; +Observable.forkJoin = staticForkJoin; +//# sourceMappingURL=forkJoin.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/forkJoin.js.map b/node_modules/rxjs/_esm2015/add/observable/forkJoin.js.map new file mode 100644 index 00000000..8ced0a5c --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/forkJoin.js.map @@ -0,0 +1 @@ +{"version":3,"file":"forkJoin.js","sourceRoot":"","sources":["../../../src/add/observable/forkJoin.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,2BAA2B;AAEtE,UAAU,CAAC,QAAQ,GAAG,cAAc,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/from.js b/node_modules/rxjs/_esm2015/add/observable/from.js new file mode 100644 index 00000000..c13211da --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/from.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { from as staticFrom } from '../../observable/from'; +Observable.from = staticFrom; +//# sourceMappingURL=from.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/from.js.map b/node_modules/rxjs/_esm2015/add/observable/from.js.map new file mode 100644 index 00000000..1c72bc29 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/from.js.map @@ -0,0 +1 @@ +{"version":3,"file":"from.js","sourceRoot":"","sources":["../../../src/add/observable/from.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,uBAAuB;AAE1D,UAAU,CAAC,IAAI,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/fromEvent.js b/node_modules/rxjs/_esm2015/add/observable/fromEvent.js new file mode 100644 index 00000000..2ab5efa9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/fromEvent.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { fromEvent as staticFromEvent } from '../../observable/fromEvent'; +Observable.fromEvent = staticFromEvent; +//# sourceMappingURL=fromEvent.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/fromEvent.js.map b/node_modules/rxjs/_esm2015/add/observable/fromEvent.js.map new file mode 100644 index 00000000..cf5ee497 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/fromEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fromEvent.js","sourceRoot":"","sources":["../../../src/add/observable/fromEvent.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,4BAA4B;AAEzE,UAAU,CAAC,SAAS,GAAG,eAAe,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/fromEventPattern.js b/node_modules/rxjs/_esm2015/add/observable/fromEventPattern.js new file mode 100644 index 00000000..35205b52 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/fromEventPattern.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { fromEventPattern as staticFromEventPattern } from '../../observable/fromEventPattern'; +Observable.fromEventPattern = staticFromEventPattern; +//# sourceMappingURL=fromEventPattern.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/fromEventPattern.js.map b/node_modules/rxjs/_esm2015/add/observable/fromEventPattern.js.map new file mode 100644 index 00000000..47ea597d --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/fromEventPattern.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fromEventPattern.js","sourceRoot":"","sources":["../../../src/add/observable/fromEventPattern.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,gBAAgB,IAAI,sBAAsB,EAAE,MAAM,mCAAmC;AAE9F,UAAU,CAAC,gBAAgB,GAAG,sBAAsB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/fromPromise.js b/node_modules/rxjs/_esm2015/add/observable/fromPromise.js new file mode 100644 index 00000000..166b5e4c --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/fromPromise.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { fromPromise as staticFromPromise } from '../../observable/fromPromise'; +Observable.fromPromise = staticFromPromise; +//# sourceMappingURL=fromPromise.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/fromPromise.js.map b/node_modules/rxjs/_esm2015/add/observable/fromPromise.js.map new file mode 100644 index 00000000..3901e0a5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/fromPromise.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fromPromise.js","sourceRoot":"","sources":["../../../src/add/observable/fromPromise.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,8BAA8B;AAE/E,UAAU,CAAC,WAAW,GAAG,iBAAiB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/generate.js b/node_modules/rxjs/_esm2015/add/observable/generate.js new file mode 100644 index 00000000..c2ecc29c --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/generate.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { generate as staticGenerate } from '../../observable/generate'; +Observable.generate = staticGenerate; +//# sourceMappingURL=generate.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/generate.js.map b/node_modules/rxjs/_esm2015/add/observable/generate.js.map new file mode 100644 index 00000000..4fbe3479 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/generate.js.map @@ -0,0 +1 @@ +{"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../src/add/observable/generate.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,2BAA2B;AAEtE,UAAU,CAAC,QAAQ,GAAG,cAAc,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/if.js b/node_modules/rxjs/_esm2015/add/observable/if.js new file mode 100644 index 00000000..bf4da939 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/if.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { _if } from '../../observable/if'; +Observable.if = _if; +//# sourceMappingURL=if.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/if.js.map b/node_modules/rxjs/_esm2015/add/observable/if.js.map new file mode 100644 index 00000000..8b2343f3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/if.js.map @@ -0,0 +1 @@ +{"version":3,"file":"if.js","sourceRoot":"","sources":["../../../src/add/observable/if.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,GAAG,EAAE,MAAM,qBAAqB;AAEzC,UAAU,CAAC,EAAE,GAAG,GAAG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/interval.js b/node_modules/rxjs/_esm2015/add/observable/interval.js new file mode 100644 index 00000000..df4048e0 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/interval.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { interval as staticInterval } from '../../observable/interval'; +Observable.interval = staticInterval; +//# sourceMappingURL=interval.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/interval.js.map b/node_modules/rxjs/_esm2015/add/observable/interval.js.map new file mode 100644 index 00000000..06684f89 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/interval.js.map @@ -0,0 +1 @@ +{"version":3,"file":"interval.js","sourceRoot":"","sources":["../../../src/add/observable/interval.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,2BAA2B;AAEtE,UAAU,CAAC,QAAQ,GAAG,cAAc,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/merge.js b/node_modules/rxjs/_esm2015/add/observable/merge.js new file mode 100644 index 00000000..1e846ddd --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/merge.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { merge as mergeStatic } from '../../observable/merge'; +Observable.merge = mergeStatic; +//# sourceMappingURL=merge.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/merge.js.map b/node_modules/rxjs/_esm2015/add/observable/merge.js.map new file mode 100644 index 00000000..c592cade --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/merge.js.map @@ -0,0 +1 @@ +{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../../src/add/observable/merge.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAE7D,UAAU,CAAC,KAAK,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/never.js b/node_modules/rxjs/_esm2015/add/observable/never.js new file mode 100644 index 00000000..e44cfa01 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/never.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { never as staticNever } from '../../observable/never'; +Observable.never = staticNever; +//# sourceMappingURL=never.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/never.js.map b/node_modules/rxjs/_esm2015/add/observable/never.js.map new file mode 100644 index 00000000..5e139d5c --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/never.js.map @@ -0,0 +1 @@ +{"version":3,"file":"never.js","sourceRoot":"","sources":["../../../src/add/observable/never.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAE7D,UAAU,CAAC,KAAK,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/of.js b/node_modules/rxjs/_esm2015/add/observable/of.js new file mode 100644 index 00000000..267d9bbb --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/of.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { of as staticOf } from '../../observable/of'; +Observable.of = staticOf; +//# sourceMappingURL=of.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/of.js.map b/node_modules/rxjs/_esm2015/add/observable/of.js.map new file mode 100644 index 00000000..37b7c88b --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/of.js.map @@ -0,0 +1 @@ +{"version":3,"file":"of.js","sourceRoot":"","sources":["../../../src/add/observable/of.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,EAAE,IAAI,QAAQ,EAAE,MAAM,qBAAqB;AAEpD,UAAU,CAAC,EAAE,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/onErrorResumeNext.js b/node_modules/rxjs/_esm2015/add/observable/onErrorResumeNext.js new file mode 100644 index 00000000..a2b8b29c --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/onErrorResumeNext.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { onErrorResumeNext as staticOnErrorResumeNext } from '../../observable/onErrorResumeNext'; +Observable.onErrorResumeNext = staticOnErrorResumeNext; +//# sourceMappingURL=onErrorResumeNext.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/onErrorResumeNext.js.map b/node_modules/rxjs/_esm2015/add/observable/onErrorResumeNext.js.map new file mode 100644 index 00000000..af74b572 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/onErrorResumeNext.js.map @@ -0,0 +1 @@ +{"version":3,"file":"onErrorResumeNext.js","sourceRoot":"","sources":["../../../src/add/observable/onErrorResumeNext.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,iBAAiB,IAAI,uBAAuB,EAAE,MAAM,oCAAoC;AAEjG,UAAU,CAAC,iBAAiB,GAAG,uBAAuB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/pairs.js b/node_modules/rxjs/_esm2015/add/observable/pairs.js new file mode 100644 index 00000000..5654a6c4 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/pairs.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { pairs as staticPairs } from '../../observable/pairs'; +Observable.pairs = staticPairs; +//# sourceMappingURL=pairs.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/pairs.js.map b/node_modules/rxjs/_esm2015/add/observable/pairs.js.map new file mode 100644 index 00000000..2a046c87 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/pairs.js.map @@ -0,0 +1 @@ +{"version":3,"file":"pairs.js","sourceRoot":"","sources":["../../../src/add/observable/pairs.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAE7D,UAAU,CAAC,KAAK,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/race.js b/node_modules/rxjs/_esm2015/add/observable/race.js new file mode 100644 index 00000000..dc8e8586 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/race.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { race as staticRace } from '../../observable/race'; +Observable.race = staticRace; +//# sourceMappingURL=race.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/race.js.map b/node_modules/rxjs/_esm2015/add/observable/race.js.map new file mode 100644 index 00000000..e9daf89b --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/race.js.map @@ -0,0 +1 @@ +{"version":3,"file":"race.js","sourceRoot":"","sources":["../../../src/add/observable/race.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,uBAAuB;AAE1D,UAAU,CAAC,IAAI,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/range.js b/node_modules/rxjs/_esm2015/add/observable/range.js new file mode 100644 index 00000000..3967d03b --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/range.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { range as staticRange } from '../../observable/range'; +Observable.range = staticRange; +//# sourceMappingURL=range.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/range.js.map b/node_modules/rxjs/_esm2015/add/observable/range.js.map new file mode 100644 index 00000000..a0fb1323 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/range.js.map @@ -0,0 +1 @@ +{"version":3,"file":"range.js","sourceRoot":"","sources":["../../../src/add/observable/range.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAE7D,UAAU,CAAC,KAAK,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/throw.js b/node_modules/rxjs/_esm2015/add/observable/throw.js new file mode 100644 index 00000000..aedfe476 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/throw.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { _throw } from '../../observable/throw'; +Observable.throw = _throw; +//# sourceMappingURL=throw.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/throw.js.map b/node_modules/rxjs/_esm2015/add/observable/throw.js.map new file mode 100644 index 00000000..b08cdd42 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/throw.js.map @@ -0,0 +1 @@ +{"version":3,"file":"throw.js","sourceRoot":"","sources":["../../../src/add/observable/throw.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,wBAAwB;AAE/C,UAAU,CAAC,KAAK,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/timer.js b/node_modules/rxjs/_esm2015/add/observable/timer.js new file mode 100644 index 00000000..b8ca5f05 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/timer.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { timer as staticTimer } from '../../observable/timer'; +Observable.timer = staticTimer; +//# sourceMappingURL=timer.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/timer.js.map b/node_modules/rxjs/_esm2015/add/observable/timer.js.map new file mode 100644 index 00000000..0996c0dc --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/timer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"timer.js","sourceRoot":"","sources":["../../../src/add/observable/timer.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAE7D,UAAU,CAAC,KAAK,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/using.js b/node_modules/rxjs/_esm2015/add/observable/using.js new file mode 100644 index 00000000..f54e0911 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/using.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { using as staticUsing } from '../../observable/using'; +Observable.using = staticUsing; +//# sourceMappingURL=using.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/using.js.map b/node_modules/rxjs/_esm2015/add/observable/using.js.map new file mode 100644 index 00000000..a4d7ecf7 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/using.js.map @@ -0,0 +1 @@ +{"version":3,"file":"using.js","sourceRoot":"","sources":["../../../src/add/observable/using.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAE7D,UAAU,CAAC,KAAK,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/zip.js b/node_modules/rxjs/_esm2015/add/observable/zip.js new file mode 100644 index 00000000..9cb66600 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/zip.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { zip as zipStatic } from '../../observable/zip'; +Observable.zip = zipStatic; +//# sourceMappingURL=zip.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/zip.js.map b/node_modules/rxjs/_esm2015/add/observable/zip.js.map new file mode 100644 index 00000000..3e75ebfa --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/observable/zip.js.map @@ -0,0 +1 @@ +{"version":3,"file":"zip.js","sourceRoot":"","sources":["../../../src/add/observable/zip.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,GAAG,IAAI,SAAS,EAAE,MAAM,sBAAsB;AAEvD,UAAU,CAAC,GAAG,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/audit.js b/node_modules/rxjs/_esm2015/add/operator/audit.js new file mode 100644 index 00000000..5f14e305 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/audit.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { audit } from '../../operator/audit'; +Observable.prototype.audit = audit; +//# sourceMappingURL=audit.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/audit.js.map b/node_modules/rxjs/_esm2015/add/operator/audit.js.map new file mode 100644 index 00000000..b7b430d6 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/audit.js.map @@ -0,0 +1 @@ +{"version":3,"file":"audit.js","sourceRoot":"","sources":["../../../src/add/operator/audit.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,EAAE,MAAM,sBAAsB;AAE5C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/auditTime.js b/node_modules/rxjs/_esm2015/add/operator/auditTime.js new file mode 100644 index 00000000..91ed2df5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/auditTime.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { auditTime } from '../../operator/auditTime'; +Observable.prototype.auditTime = auditTime; +//# sourceMappingURL=auditTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/auditTime.js.map b/node_modules/rxjs/_esm2015/add/operator/auditTime.js.map new file mode 100644 index 00000000..2732e3a8 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/auditTime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"auditTime.js","sourceRoot":"","sources":["../../../src/add/operator/auditTime.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/buffer.js b/node_modules/rxjs/_esm2015/add/operator/buffer.js new file mode 100644 index 00000000..91a0b104 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/buffer.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { buffer } from '../../operator/buffer'; +Observable.prototype.buffer = buffer; +//# sourceMappingURL=buffer.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/buffer.js.map b/node_modules/rxjs/_esm2015/add/operator/buffer.js.map new file mode 100644 index 00000000..d591739d --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/buffer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"buffer.js","sourceRoot":"","sources":["../../../src/add/operator/buffer.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,uBAAuB;AAE9C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/bufferCount.js b/node_modules/rxjs/_esm2015/add/operator/bufferCount.js new file mode 100644 index 00000000..d8337523 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/bufferCount.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { bufferCount } from '../../operator/bufferCount'; +Observable.prototype.bufferCount = bufferCount; +//# sourceMappingURL=bufferCount.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/bufferCount.js.map b/node_modules/rxjs/_esm2015/add/operator/bufferCount.js.map new file mode 100644 index 00000000..a84b6dc3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/bufferCount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bufferCount.js","sourceRoot":"","sources":["../../../src/add/operator/bufferCount.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,WAAW,EAAE,MAAM,4BAA4B;AAExD,UAAU,CAAC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/bufferTime.js b/node_modules/rxjs/_esm2015/add/operator/bufferTime.js new file mode 100644 index 00000000..6415f04e --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/bufferTime.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { bufferTime } from '../../operator/bufferTime'; +Observable.prototype.bufferTime = bufferTime; +//# sourceMappingURL=bufferTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/bufferTime.js.map b/node_modules/rxjs/_esm2015/add/operator/bufferTime.js.map new file mode 100644 index 00000000..eeadbae6 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/bufferTime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bufferTime.js","sourceRoot":"","sources":["../../../src/add/operator/bufferTime.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,2BAA2B;AAEtD,UAAU,CAAC,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/bufferToggle.js b/node_modules/rxjs/_esm2015/add/operator/bufferToggle.js new file mode 100644 index 00000000..5ff022c9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/bufferToggle.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { bufferToggle } from '../../operator/bufferToggle'; +Observable.prototype.bufferToggle = bufferToggle; +//# sourceMappingURL=bufferToggle.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/bufferToggle.js.map b/node_modules/rxjs/_esm2015/add/operator/bufferToggle.js.map new file mode 100644 index 00000000..e9bc07ba --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/bufferToggle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bufferToggle.js","sourceRoot":"","sources":["../../../src/add/operator/bufferToggle.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,YAAY,EAAE,MAAM,6BAA6B;AAE1D,UAAU,CAAC,SAAS,CAAC,YAAY,GAAG,YAAY,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/bufferWhen.js b/node_modules/rxjs/_esm2015/add/operator/bufferWhen.js new file mode 100644 index 00000000..d54c9d92 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/bufferWhen.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { bufferWhen } from '../../operator/bufferWhen'; +Observable.prototype.bufferWhen = bufferWhen; +//# sourceMappingURL=bufferWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/bufferWhen.js.map b/node_modules/rxjs/_esm2015/add/operator/bufferWhen.js.map new file mode 100644 index 00000000..3f7f8406 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/bufferWhen.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bufferWhen.js","sourceRoot":"","sources":["../../../src/add/operator/bufferWhen.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,2BAA2B;AAEtD,UAAU,CAAC,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/catch.js b/node_modules/rxjs/_esm2015/add/operator/catch.js new file mode 100644 index 00000000..16fa04fa --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/catch.js @@ -0,0 +1,5 @@ +import { Observable } from '../../Observable'; +import { _catch } from '../../operator/catch'; +Observable.prototype.catch = _catch; +Observable.prototype._catch = _catch; +//# sourceMappingURL=catch.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/catch.js.map b/node_modules/rxjs/_esm2015/add/operator/catch.js.map new file mode 100644 index 00000000..1c9bad85 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/catch.js.map @@ -0,0 +1 @@ +{"version":3,"file":"catch.js","sourceRoot":"","sources":["../../../src/add/operator/catch.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,sBAAsB;AAE7C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,MAAM,CAAC;AACpC,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/combineAll.js b/node_modules/rxjs/_esm2015/add/operator/combineAll.js new file mode 100644 index 00000000..a04f4a08 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/combineAll.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { combineAll } from '../../operator/combineAll'; +Observable.prototype.combineAll = combineAll; +//# sourceMappingURL=combineAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/combineAll.js.map b/node_modules/rxjs/_esm2015/add/operator/combineAll.js.map new file mode 100644 index 00000000..9bb75f17 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/combineAll.js.map @@ -0,0 +1 @@ +{"version":3,"file":"combineAll.js","sourceRoot":"","sources":["../../../src/add/operator/combineAll.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,2BAA2B;AAEtD,UAAU,CAAC,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/combineLatest.js b/node_modules/rxjs/_esm2015/add/operator/combineLatest.js new file mode 100644 index 00000000..a9442d9d --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/combineLatest.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { combineLatest } from '../../operator/combineLatest'; +Observable.prototype.combineLatest = combineLatest; +//# sourceMappingURL=combineLatest.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/combineLatest.js.map b/node_modules/rxjs/_esm2015/add/operator/combineLatest.js.map new file mode 100644 index 00000000..3806d7e1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/combineLatest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"combineLatest.js","sourceRoot":"","sources":["../../../src/add/operator/combineLatest.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,aAAa,EAAE,MAAM,8BAA8B;AAE5D,UAAU,CAAC,SAAS,CAAC,aAAa,GAAG,aAAa,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/concat.js b/node_modules/rxjs/_esm2015/add/operator/concat.js new file mode 100644 index 00000000..5c2b6e4d --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/concat.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { concat } from '../../operator/concat'; +Observable.prototype.concat = concat; +//# sourceMappingURL=concat.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/concat.js.map b/node_modules/rxjs/_esm2015/add/operator/concat.js.map new file mode 100644 index 00000000..277d7d49 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/concat.js.map @@ -0,0 +1 @@ +{"version":3,"file":"concat.js","sourceRoot":"","sources":["../../../src/add/operator/concat.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,uBAAuB;AAE9C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/concatAll.js b/node_modules/rxjs/_esm2015/add/operator/concatAll.js new file mode 100644 index 00000000..5bfbce58 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/concatAll.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { concatAll } from '../../operator/concatAll'; +Observable.prototype.concatAll = concatAll; +//# sourceMappingURL=concatAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/concatAll.js.map b/node_modules/rxjs/_esm2015/add/operator/concatAll.js.map new file mode 100644 index 00000000..0539708f --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/concatAll.js.map @@ -0,0 +1 @@ +{"version":3,"file":"concatAll.js","sourceRoot":"","sources":["../../../src/add/operator/concatAll.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/concatMap.js b/node_modules/rxjs/_esm2015/add/operator/concatMap.js new file mode 100644 index 00000000..297bc073 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/concatMap.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { concatMap } from '../../operator/concatMap'; +Observable.prototype.concatMap = concatMap; +//# sourceMappingURL=concatMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/concatMap.js.map b/node_modules/rxjs/_esm2015/add/operator/concatMap.js.map new file mode 100644 index 00000000..40af13fe --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/concatMap.js.map @@ -0,0 +1 @@ +{"version":3,"file":"concatMap.js","sourceRoot":"","sources":["../../../src/add/operator/concatMap.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/concatMapTo.js b/node_modules/rxjs/_esm2015/add/operator/concatMapTo.js new file mode 100644 index 00000000..c92f243d --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/concatMapTo.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { concatMapTo } from '../../operator/concatMapTo'; +Observable.prototype.concatMapTo = concatMapTo; +//# sourceMappingURL=concatMapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/concatMapTo.js.map b/node_modules/rxjs/_esm2015/add/operator/concatMapTo.js.map new file mode 100644 index 00000000..83d63456 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/concatMapTo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"concatMapTo.js","sourceRoot":"","sources":["../../../src/add/operator/concatMapTo.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,WAAW,EAAE,MAAM,4BAA4B;AAExD,UAAU,CAAC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/count.js b/node_modules/rxjs/_esm2015/add/operator/count.js new file mode 100644 index 00000000..1d353e81 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/count.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { count } from '../../operator/count'; +Observable.prototype.count = count; +//# sourceMappingURL=count.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/count.js.map b/node_modules/rxjs/_esm2015/add/operator/count.js.map new file mode 100644 index 00000000..e21cbb81 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/count.js.map @@ -0,0 +1 @@ +{"version":3,"file":"count.js","sourceRoot":"","sources":["../../../src/add/operator/count.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,EAAE,MAAM,sBAAsB;AAE5C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/debounce.js b/node_modules/rxjs/_esm2015/add/operator/debounce.js new file mode 100644 index 00000000..fa7a5756 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/debounce.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { debounce } from '../../operator/debounce'; +Observable.prototype.debounce = debounce; +//# sourceMappingURL=debounce.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/debounce.js.map b/node_modules/rxjs/_esm2015/add/operator/debounce.js.map new file mode 100644 index 00000000..eb8da464 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/debounce.js.map @@ -0,0 +1 @@ +{"version":3,"file":"debounce.js","sourceRoot":"","sources":["../../../src/add/operator/debounce.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,yBAAyB;AAElD,UAAU,CAAC,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/debounceTime.js b/node_modules/rxjs/_esm2015/add/operator/debounceTime.js new file mode 100644 index 00000000..946dad97 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/debounceTime.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { debounceTime } from '../../operator/debounceTime'; +Observable.prototype.debounceTime = debounceTime; +//# sourceMappingURL=debounceTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/debounceTime.js.map b/node_modules/rxjs/_esm2015/add/operator/debounceTime.js.map new file mode 100644 index 00000000..901a4aa8 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/debounceTime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"debounceTime.js","sourceRoot":"","sources":["../../../src/add/operator/debounceTime.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,YAAY,EAAE,MAAM,6BAA6B;AAE1D,UAAU,CAAC,SAAS,CAAC,YAAY,GAAG,YAAY,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/defaultIfEmpty.js b/node_modules/rxjs/_esm2015/add/operator/defaultIfEmpty.js new file mode 100644 index 00000000..8b3a128b --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/defaultIfEmpty.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { defaultIfEmpty } from '../../operator/defaultIfEmpty'; +Observable.prototype.defaultIfEmpty = defaultIfEmpty; +//# sourceMappingURL=defaultIfEmpty.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/defaultIfEmpty.js.map b/node_modules/rxjs/_esm2015/add/operator/defaultIfEmpty.js.map new file mode 100644 index 00000000..fc748ed8 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/defaultIfEmpty.js.map @@ -0,0 +1 @@ +{"version":3,"file":"defaultIfEmpty.js","sourceRoot":"","sources":["../../../src/add/operator/defaultIfEmpty.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,cAAc,EAAE,MAAM,+BAA+B;AAE9D,UAAU,CAAC,SAAS,CAAC,cAAc,GAAG,cAAc,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/delay.js b/node_modules/rxjs/_esm2015/add/operator/delay.js new file mode 100644 index 00000000..e135a67e --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/delay.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { delay } from '../../operator/delay'; +Observable.prototype.delay = delay; +//# sourceMappingURL=delay.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/delay.js.map b/node_modules/rxjs/_esm2015/add/operator/delay.js.map new file mode 100644 index 00000000..e591a59a --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/delay.js.map @@ -0,0 +1 @@ +{"version":3,"file":"delay.js","sourceRoot":"","sources":["../../../src/add/operator/delay.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,EAAE,MAAM,sBAAsB;AAE5C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/delayWhen.js b/node_modules/rxjs/_esm2015/add/operator/delayWhen.js new file mode 100644 index 00000000..8cd8cbe0 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/delayWhen.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { delayWhen } from '../../operator/delayWhen'; +Observable.prototype.delayWhen = delayWhen; +//# sourceMappingURL=delayWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/delayWhen.js.map b/node_modules/rxjs/_esm2015/add/operator/delayWhen.js.map new file mode 100644 index 00000000..18ea4d73 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/delayWhen.js.map @@ -0,0 +1 @@ +{"version":3,"file":"delayWhen.js","sourceRoot":"","sources":["../../../src/add/operator/delayWhen.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/dematerialize.js b/node_modules/rxjs/_esm2015/add/operator/dematerialize.js new file mode 100644 index 00000000..75ad79e9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/dematerialize.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { dematerialize } from '../../operator/dematerialize'; +Observable.prototype.dematerialize = dematerialize; +//# sourceMappingURL=dematerialize.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/dematerialize.js.map b/node_modules/rxjs/_esm2015/add/operator/dematerialize.js.map new file mode 100644 index 00000000..07eb8bc0 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/dematerialize.js.map @@ -0,0 +1 @@ +{"version":3,"file":"dematerialize.js","sourceRoot":"","sources":["../../../src/add/operator/dematerialize.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,aAAa,EAAE,MAAM,8BAA8B;AAE5D,UAAU,CAAC,SAAS,CAAC,aAAa,GAAG,aAAa,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/distinct.js b/node_modules/rxjs/_esm2015/add/operator/distinct.js new file mode 100644 index 00000000..f1ac2f30 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/distinct.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { distinct } from '../../operator/distinct'; +Observable.prototype.distinct = distinct; +//# sourceMappingURL=distinct.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/distinct.js.map b/node_modules/rxjs/_esm2015/add/operator/distinct.js.map new file mode 100644 index 00000000..fd1daac9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/distinct.js.map @@ -0,0 +1 @@ +{"version":3,"file":"distinct.js","sourceRoot":"","sources":["../../../src/add/operator/distinct.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,yBAAyB;AAElD,UAAU,CAAC,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/distinctUntilChanged.js b/node_modules/rxjs/_esm2015/add/operator/distinctUntilChanged.js new file mode 100644 index 00000000..617fe3ae --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/distinctUntilChanged.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { distinctUntilChanged } from '../../operator/distinctUntilChanged'; +Observable.prototype.distinctUntilChanged = distinctUntilChanged; +//# sourceMappingURL=distinctUntilChanged.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/distinctUntilChanged.js.map b/node_modules/rxjs/_esm2015/add/operator/distinctUntilChanged.js.map new file mode 100644 index 00000000..c3154a85 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/distinctUntilChanged.js.map @@ -0,0 +1 @@ +{"version":3,"file":"distinctUntilChanged.js","sourceRoot":"","sources":["../../../src/add/operator/distinctUntilChanged.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,oBAAoB,EAAE,MAAM,qCAAqC;AAE1E,UAAU,CAAC,SAAS,CAAC,oBAAoB,GAAG,oBAAoB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/distinctUntilKeyChanged.js b/node_modules/rxjs/_esm2015/add/operator/distinctUntilKeyChanged.js new file mode 100644 index 00000000..dbb12a62 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/distinctUntilKeyChanged.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { distinctUntilKeyChanged } from '../../operator/distinctUntilKeyChanged'; +Observable.prototype.distinctUntilKeyChanged = distinctUntilKeyChanged; +//# sourceMappingURL=distinctUntilKeyChanged.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/distinctUntilKeyChanged.js.map b/node_modules/rxjs/_esm2015/add/operator/distinctUntilKeyChanged.js.map new file mode 100644 index 00000000..12228a79 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/distinctUntilKeyChanged.js.map @@ -0,0 +1 @@ +{"version":3,"file":"distinctUntilKeyChanged.js","sourceRoot":"","sources":["../../../src/add/operator/distinctUntilKeyChanged.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,uBAAuB,EAAE,MAAM,wCAAwC;AAEhF,UAAU,CAAC,SAAS,CAAC,uBAAuB,GAAG,uBAAuB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/do.js b/node_modules/rxjs/_esm2015/add/operator/do.js new file mode 100644 index 00000000..a4e52669 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/do.js @@ -0,0 +1,5 @@ +import { Observable } from '../../Observable'; +import { _do } from '../../operator/do'; +Observable.prototype.do = _do; +Observable.prototype._do = _do; +//# sourceMappingURL=do.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/do.js.map b/node_modules/rxjs/_esm2015/add/operator/do.js.map new file mode 100644 index 00000000..fe50770d --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/do.js.map @@ -0,0 +1 @@ +{"version":3,"file":"do.js","sourceRoot":"","sources":["../../../src/add/operator/do.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,GAAG,EAAE,MAAM,mBAAmB;AAEvC,UAAU,CAAC,SAAS,CAAC,EAAE,GAAG,GAAG,CAAC;AAC9B,UAAU,CAAC,SAAS,CAAC,GAAG,GAAG,GAAG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/elementAt.js b/node_modules/rxjs/_esm2015/add/operator/elementAt.js new file mode 100644 index 00000000..9995e376 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/elementAt.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { elementAt } from '../../operator/elementAt'; +Observable.prototype.elementAt = elementAt; +//# sourceMappingURL=elementAt.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/elementAt.js.map b/node_modules/rxjs/_esm2015/add/operator/elementAt.js.map new file mode 100644 index 00000000..531f6cb8 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/elementAt.js.map @@ -0,0 +1 @@ +{"version":3,"file":"elementAt.js","sourceRoot":"","sources":["../../../src/add/operator/elementAt.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/every.js b/node_modules/rxjs/_esm2015/add/operator/every.js new file mode 100644 index 00000000..a5b95f89 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/every.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { every } from '../../operator/every'; +Observable.prototype.every = every; +//# sourceMappingURL=every.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/every.js.map b/node_modules/rxjs/_esm2015/add/operator/every.js.map new file mode 100644 index 00000000..548ff57e --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/every.js.map @@ -0,0 +1 @@ +{"version":3,"file":"every.js","sourceRoot":"","sources":["../../../src/add/operator/every.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,EAAE,MAAM,sBAAsB;AAE5C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/exhaust.js b/node_modules/rxjs/_esm2015/add/operator/exhaust.js new file mode 100644 index 00000000..29c03e13 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/exhaust.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { exhaust } from '../../operator/exhaust'; +Observable.prototype.exhaust = exhaust; +//# sourceMappingURL=exhaust.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/exhaust.js.map b/node_modules/rxjs/_esm2015/add/operator/exhaust.js.map new file mode 100644 index 00000000..fcd4564b --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/exhaust.js.map @@ -0,0 +1 @@ +{"version":3,"file":"exhaust.js","sourceRoot":"","sources":["../../../src/add/operator/exhaust.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,OAAO,EAAE,MAAM,wBAAwB;AAEhD,UAAU,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/exhaustMap.js b/node_modules/rxjs/_esm2015/add/operator/exhaustMap.js new file mode 100644 index 00000000..988ed28b --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/exhaustMap.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { exhaustMap } from '../../operator/exhaustMap'; +Observable.prototype.exhaustMap = exhaustMap; +//# sourceMappingURL=exhaustMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/exhaustMap.js.map b/node_modules/rxjs/_esm2015/add/operator/exhaustMap.js.map new file mode 100644 index 00000000..0268bb13 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/exhaustMap.js.map @@ -0,0 +1 @@ +{"version":3,"file":"exhaustMap.js","sourceRoot":"","sources":["../../../src/add/operator/exhaustMap.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,2BAA2B;AAEtD,UAAU,CAAC,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/expand.js b/node_modules/rxjs/_esm2015/add/operator/expand.js new file mode 100644 index 00000000..31ee76e8 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/expand.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { expand } from '../../operator/expand'; +Observable.prototype.expand = expand; +//# sourceMappingURL=expand.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/expand.js.map b/node_modules/rxjs/_esm2015/add/operator/expand.js.map new file mode 100644 index 00000000..6439cef5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/expand.js.map @@ -0,0 +1 @@ +{"version":3,"file":"expand.js","sourceRoot":"","sources":["../../../src/add/operator/expand.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,uBAAuB;AAE9C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/filter.js b/node_modules/rxjs/_esm2015/add/operator/filter.js new file mode 100644 index 00000000..09e71d31 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/filter.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { filter } from '../../operator/filter'; +Observable.prototype.filter = filter; +//# sourceMappingURL=filter.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/filter.js.map b/node_modules/rxjs/_esm2015/add/operator/filter.js.map new file mode 100644 index 00000000..adcf585e --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/filter.js.map @@ -0,0 +1 @@ +{"version":3,"file":"filter.js","sourceRoot":"","sources":["../../../src/add/operator/filter.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,uBAAuB;AAE9C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/finally.js b/node_modules/rxjs/_esm2015/add/operator/finally.js new file mode 100644 index 00000000..b37b947a --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/finally.js @@ -0,0 +1,5 @@ +import { Observable } from '../../Observable'; +import { _finally } from '../../operator/finally'; +Observable.prototype.finally = _finally; +Observable.prototype._finally = _finally; +//# sourceMappingURL=finally.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/finally.js.map b/node_modules/rxjs/_esm2015/add/operator/finally.js.map new file mode 100644 index 00000000..b6a05142 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/finally.js.map @@ -0,0 +1 @@ +{"version":3,"file":"finally.js","sourceRoot":"","sources":["../../../src/add/operator/finally.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,wBAAwB;AAEjD,UAAU,CAAC,SAAS,CAAC,OAAO,GAAG,QAAQ,CAAC;AACxC,UAAU,CAAC,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/find.js b/node_modules/rxjs/_esm2015/add/operator/find.js new file mode 100644 index 00000000..41d5eab9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/find.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { find } from '../../operator/find'; +Observable.prototype.find = find; +//# sourceMappingURL=find.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/find.js.map b/node_modules/rxjs/_esm2015/add/operator/find.js.map new file mode 100644 index 00000000..643b75aa --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/find.js.map @@ -0,0 +1 @@ +{"version":3,"file":"find.js","sourceRoot":"","sources":["../../../src/add/operator/find.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,IAAI,EAAE,MAAM,qBAAqB;AAE1C,UAAU,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/findIndex.js b/node_modules/rxjs/_esm2015/add/operator/findIndex.js new file mode 100644 index 00000000..a985ad7c --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/findIndex.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { findIndex } from '../../operator/findIndex'; +Observable.prototype.findIndex = findIndex; +//# sourceMappingURL=findIndex.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/findIndex.js.map b/node_modules/rxjs/_esm2015/add/operator/findIndex.js.map new file mode 100644 index 00000000..0f3c5e4a --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/findIndex.js.map @@ -0,0 +1 @@ +{"version":3,"file":"findIndex.js","sourceRoot":"","sources":["../../../src/add/operator/findIndex.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/first.js b/node_modules/rxjs/_esm2015/add/operator/first.js new file mode 100644 index 00000000..d8cf6f91 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/first.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { first } from '../../operator/first'; +Observable.prototype.first = first; +//# sourceMappingURL=first.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/first.js.map b/node_modules/rxjs/_esm2015/add/operator/first.js.map new file mode 100644 index 00000000..2558027c --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/first.js.map @@ -0,0 +1 @@ +{"version":3,"file":"first.js","sourceRoot":"","sources":["../../../src/add/operator/first.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,EAAE,MAAM,sBAAsB;AAE5C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAQ,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/groupBy.js b/node_modules/rxjs/_esm2015/add/operator/groupBy.js new file mode 100644 index 00000000..2ff1a199 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/groupBy.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { groupBy } from '../../operator/groupBy'; +Observable.prototype.groupBy = groupBy; +//# sourceMappingURL=groupBy.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/groupBy.js.map b/node_modules/rxjs/_esm2015/add/operator/groupBy.js.map new file mode 100644 index 00000000..8fa90b35 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/groupBy.js.map @@ -0,0 +1 @@ +{"version":3,"file":"groupBy.js","sourceRoot":"","sources":["../../../src/add/operator/groupBy.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,OAAO,EAAE,MAAM,wBAAwB;AAEhD,UAAU,CAAC,SAAS,CAAC,OAAO,GAAQ,OAAO,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/ignoreElements.js b/node_modules/rxjs/_esm2015/add/operator/ignoreElements.js new file mode 100644 index 00000000..949c7ef5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/ignoreElements.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { ignoreElements } from '../../operator/ignoreElements'; +Observable.prototype.ignoreElements = ignoreElements; +//# sourceMappingURL=ignoreElements.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/ignoreElements.js.map b/node_modules/rxjs/_esm2015/add/operator/ignoreElements.js.map new file mode 100644 index 00000000..bce942d1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/ignoreElements.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ignoreElements.js","sourceRoot":"","sources":["../../../src/add/operator/ignoreElements.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,cAAc,EAAE,MAAM,+BAA+B;AAE9D,UAAU,CAAC,SAAS,CAAC,cAAc,GAAG,cAAc,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/isEmpty.js b/node_modules/rxjs/_esm2015/add/operator/isEmpty.js new file mode 100644 index 00000000..83b57e56 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/isEmpty.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { isEmpty } from '../../operator/isEmpty'; +Observable.prototype.isEmpty = isEmpty; +//# sourceMappingURL=isEmpty.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/isEmpty.js.map b/node_modules/rxjs/_esm2015/add/operator/isEmpty.js.map new file mode 100644 index 00000000..b1ba63bc --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/isEmpty.js.map @@ -0,0 +1 @@ +{"version":3,"file":"isEmpty.js","sourceRoot":"","sources":["../../../src/add/operator/isEmpty.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,OAAO,EAAE,MAAM,wBAAwB;AAEhD,UAAU,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/last.js b/node_modules/rxjs/_esm2015/add/operator/last.js new file mode 100644 index 00000000..5df19c26 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/last.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { last } from '../../operator/last'; +Observable.prototype.last = last; +//# sourceMappingURL=last.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/last.js.map b/node_modules/rxjs/_esm2015/add/operator/last.js.map new file mode 100644 index 00000000..0a3f7d27 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/last.js.map @@ -0,0 +1 @@ +{"version":3,"file":"last.js","sourceRoot":"","sources":["../../../src/add/operator/last.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,IAAI,EAAE,MAAM,qBAAqB;AAE1C,UAAU,CAAC,SAAS,CAAC,IAAI,GAAQ,IAAI,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/let.js b/node_modules/rxjs/_esm2015/add/operator/let.js new file mode 100644 index 00000000..fb390682 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/let.js @@ -0,0 +1,5 @@ +import { Observable } from '../../Observable'; +import { letProto } from '../../operator/let'; +Observable.prototype.let = letProto; +Observable.prototype.letBind = letProto; +//# sourceMappingURL=let.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/let.js.map b/node_modules/rxjs/_esm2015/add/operator/let.js.map new file mode 100644 index 00000000..0255712d --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/let.js.map @@ -0,0 +1 @@ +{"version":3,"file":"let.js","sourceRoot":"","sources":["../../../src/add/operator/let.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,oBAAoB;AAE7C,UAAU,CAAC,SAAS,CAAC,GAAG,GAAG,QAAQ,CAAC;AACpC,UAAU,CAAC,SAAS,CAAC,OAAO,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/map.js b/node_modules/rxjs/_esm2015/add/operator/map.js new file mode 100644 index 00000000..029a540a --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/map.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { map } from '../../operator/map'; +Observable.prototype.map = map; +//# sourceMappingURL=map.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/map.js.map b/node_modules/rxjs/_esm2015/add/operator/map.js.map new file mode 100644 index 00000000..c0272bea --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/map.js.map @@ -0,0 +1 @@ +{"version":3,"file":"map.js","sourceRoot":"","sources":["../../../src/add/operator/map.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,GAAG,EAAE,MAAM,oBAAoB;AAExC,UAAU,CAAC,SAAS,CAAC,GAAG,GAAG,GAAG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/mapTo.js b/node_modules/rxjs/_esm2015/add/operator/mapTo.js new file mode 100644 index 00000000..b4db0c8c --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/mapTo.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { mapTo } from '../../operator/mapTo'; +Observable.prototype.mapTo = mapTo; +//# sourceMappingURL=mapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/mapTo.js.map b/node_modules/rxjs/_esm2015/add/operator/mapTo.js.map new file mode 100644 index 00000000..af985e50 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/mapTo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mapTo.js","sourceRoot":"","sources":["../../../src/add/operator/mapTo.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,EAAE,MAAM,sBAAsB;AAE5C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/materialize.js b/node_modules/rxjs/_esm2015/add/operator/materialize.js new file mode 100644 index 00000000..2fe29e32 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/materialize.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { materialize } from '../../operator/materialize'; +Observable.prototype.materialize = materialize; +//# sourceMappingURL=materialize.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/materialize.js.map b/node_modules/rxjs/_esm2015/add/operator/materialize.js.map new file mode 100644 index 00000000..cf39a9dc --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/materialize.js.map @@ -0,0 +1 @@ +{"version":3,"file":"materialize.js","sourceRoot":"","sources":["../../../src/add/operator/materialize.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,WAAW,EAAE,MAAM,4BAA4B;AAExD,UAAU,CAAC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/max.js b/node_modules/rxjs/_esm2015/add/operator/max.js new file mode 100644 index 00000000..20d430c3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/max.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { max } from '../../operator/max'; +Observable.prototype.max = max; +//# sourceMappingURL=max.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/max.js.map b/node_modules/rxjs/_esm2015/add/operator/max.js.map new file mode 100644 index 00000000..53ff69d1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/max.js.map @@ -0,0 +1 @@ +{"version":3,"file":"max.js","sourceRoot":"","sources":["../../../src/add/operator/max.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,GAAG,EAAE,MAAM,oBAAoB;AAExC,UAAU,CAAC,SAAS,CAAC,GAAG,GAAG,GAAG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/merge.js b/node_modules/rxjs/_esm2015/add/operator/merge.js new file mode 100644 index 00000000..0c038961 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/merge.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { merge } from '../../operator/merge'; +Observable.prototype.merge = merge; +//# sourceMappingURL=merge.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/merge.js.map b/node_modules/rxjs/_esm2015/add/operator/merge.js.map new file mode 100644 index 00000000..980477e7 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/merge.js.map @@ -0,0 +1 @@ +{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../../src/add/operator/merge.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,EAAE,MAAM,sBAAsB;AAE5C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/mergeAll.js b/node_modules/rxjs/_esm2015/add/operator/mergeAll.js new file mode 100644 index 00000000..3608a75d --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/mergeAll.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { mergeAll } from '../../operator/mergeAll'; +Observable.prototype.mergeAll = mergeAll; +//# sourceMappingURL=mergeAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/mergeAll.js.map b/node_modules/rxjs/_esm2015/add/operator/mergeAll.js.map new file mode 100644 index 00000000..b73e09e0 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/mergeAll.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mergeAll.js","sourceRoot":"","sources":["../../../src/add/operator/mergeAll.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,yBAAyB;AAElD,UAAU,CAAC,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/mergeMap.js b/node_modules/rxjs/_esm2015/add/operator/mergeMap.js new file mode 100644 index 00000000..081b5297 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/mergeMap.js @@ -0,0 +1,5 @@ +import { Observable } from '../../Observable'; +import { mergeMap } from '../../operator/mergeMap'; +Observable.prototype.mergeMap = mergeMap; +Observable.prototype.flatMap = mergeMap; +//# sourceMappingURL=mergeMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/mergeMap.js.map b/node_modules/rxjs/_esm2015/add/operator/mergeMap.js.map new file mode 100644 index 00000000..bbe2e51b --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/mergeMap.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mergeMap.js","sourceRoot":"","sources":["../../../src/add/operator/mergeMap.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,yBAAyB;AAElD,UAAU,CAAC,SAAS,CAAC,QAAQ,GAAQ,QAAQ,CAAC;AAC9C,UAAU,CAAC,SAAS,CAAC,OAAO,GAAQ,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/mergeMapTo.js b/node_modules/rxjs/_esm2015/add/operator/mergeMapTo.js new file mode 100644 index 00000000..f01b21f2 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/mergeMapTo.js @@ -0,0 +1,5 @@ +import { Observable } from '../../Observable'; +import { mergeMapTo } from '../../operator/mergeMapTo'; +Observable.prototype.flatMapTo = mergeMapTo; +Observable.prototype.mergeMapTo = mergeMapTo; +//# sourceMappingURL=mergeMapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/mergeMapTo.js.map b/node_modules/rxjs/_esm2015/add/operator/mergeMapTo.js.map new file mode 100644 index 00000000..964d9ec0 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/mergeMapTo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mergeMapTo.js","sourceRoot":"","sources":["../../../src/add/operator/mergeMapTo.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,2BAA2B;AAEtD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAQ,UAAU,CAAC;AACjD,UAAU,CAAC,SAAS,CAAC,UAAU,GAAQ,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/mergeScan.js b/node_modules/rxjs/_esm2015/add/operator/mergeScan.js new file mode 100644 index 00000000..f815aa09 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/mergeScan.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { mergeScan } from '../../operator/mergeScan'; +Observable.prototype.mergeScan = mergeScan; +//# sourceMappingURL=mergeScan.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/mergeScan.js.map b/node_modules/rxjs/_esm2015/add/operator/mergeScan.js.map new file mode 100644 index 00000000..e2367429 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/mergeScan.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mergeScan.js","sourceRoot":"","sources":["../../../src/add/operator/mergeScan.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/min.js b/node_modules/rxjs/_esm2015/add/operator/min.js new file mode 100644 index 00000000..710fd78d --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/min.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { min } from '../../operator/min'; +Observable.prototype.min = min; +//# sourceMappingURL=min.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/min.js.map b/node_modules/rxjs/_esm2015/add/operator/min.js.map new file mode 100644 index 00000000..53a518e7 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/min.js.map @@ -0,0 +1 @@ +{"version":3,"file":"min.js","sourceRoot":"","sources":["../../../src/add/operator/min.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,GAAG,EAAE,MAAM,oBAAoB;AAExC,UAAU,CAAC,SAAS,CAAC,GAAG,GAAG,GAAG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/multicast.js b/node_modules/rxjs/_esm2015/add/operator/multicast.js new file mode 100644 index 00000000..5073d13b --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/multicast.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { multicast } from '../../operator/multicast'; +Observable.prototype.multicast = multicast; +//# sourceMappingURL=multicast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/multicast.js.map b/node_modules/rxjs/_esm2015/add/operator/multicast.js.map new file mode 100644 index 00000000..86c68131 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/multicast.js.map @@ -0,0 +1 @@ +{"version":3,"file":"multicast.js","sourceRoot":"","sources":["../../../src/add/operator/multicast.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAQ,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/observeOn.js b/node_modules/rxjs/_esm2015/add/operator/observeOn.js new file mode 100644 index 00000000..244e0fad --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/observeOn.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { observeOn } from '../../operator/observeOn'; +Observable.prototype.observeOn = observeOn; +//# sourceMappingURL=observeOn.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/observeOn.js.map b/node_modules/rxjs/_esm2015/add/operator/observeOn.js.map new file mode 100644 index 00000000..50d3637a --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/observeOn.js.map @@ -0,0 +1 @@ +{"version":3,"file":"observeOn.js","sourceRoot":"","sources":["../../../src/add/operator/observeOn.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/onErrorResumeNext.js b/node_modules/rxjs/_esm2015/add/operator/onErrorResumeNext.js new file mode 100644 index 00000000..0bf1e0d9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/onErrorResumeNext.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { onErrorResumeNext } from '../../operator/onErrorResumeNext'; +Observable.prototype.onErrorResumeNext = onErrorResumeNext; +//# sourceMappingURL=onErrorResumeNext.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/onErrorResumeNext.js.map b/node_modules/rxjs/_esm2015/add/operator/onErrorResumeNext.js.map new file mode 100644 index 00000000..afbddc96 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/onErrorResumeNext.js.map @@ -0,0 +1 @@ +{"version":3,"file":"onErrorResumeNext.js","sourceRoot":"","sources":["../../../src/add/operator/onErrorResumeNext.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,iBAAiB,EAAE,MAAM,kCAAkC;AAEpE,UAAU,CAAC,SAAS,CAAC,iBAAiB,GAAG,iBAAiB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/pairwise.js b/node_modules/rxjs/_esm2015/add/operator/pairwise.js new file mode 100644 index 00000000..05b9e9fd --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/pairwise.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { pairwise } from '../../operator/pairwise'; +Observable.prototype.pairwise = pairwise; +//# sourceMappingURL=pairwise.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/pairwise.js.map b/node_modules/rxjs/_esm2015/add/operator/pairwise.js.map new file mode 100644 index 00000000..f1c7cbce --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/pairwise.js.map @@ -0,0 +1 @@ +{"version":3,"file":"pairwise.js","sourceRoot":"","sources":["../../../src/add/operator/pairwise.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,yBAAyB;AAElD,UAAU,CAAC,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/partition.js b/node_modules/rxjs/_esm2015/add/operator/partition.js new file mode 100644 index 00000000..827741e7 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/partition.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { partition } from '../../operator/partition'; +Observable.prototype.partition = partition; +//# sourceMappingURL=partition.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/partition.js.map b/node_modules/rxjs/_esm2015/add/operator/partition.js.map new file mode 100644 index 00000000..9b034d91 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/partition.js.map @@ -0,0 +1 @@ +{"version":3,"file":"partition.js","sourceRoot":"","sources":["../../../src/add/operator/partition.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/pluck.js b/node_modules/rxjs/_esm2015/add/operator/pluck.js new file mode 100644 index 00000000..3c93abec --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/pluck.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { pluck } from '../../operator/pluck'; +Observable.prototype.pluck = pluck; +//# sourceMappingURL=pluck.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/pluck.js.map b/node_modules/rxjs/_esm2015/add/operator/pluck.js.map new file mode 100644 index 00000000..f1e32936 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/pluck.js.map @@ -0,0 +1 @@ +{"version":3,"file":"pluck.js","sourceRoot":"","sources":["../../../src/add/operator/pluck.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,EAAE,MAAM,sBAAsB;AAE5C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/publish.js b/node_modules/rxjs/_esm2015/add/operator/publish.js new file mode 100644 index 00000000..d3a06e07 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/publish.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { publish } from '../../operator/publish'; +Observable.prototype.publish = publish; +//# sourceMappingURL=publish.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/publish.js.map b/node_modules/rxjs/_esm2015/add/operator/publish.js.map new file mode 100644 index 00000000..18753cb5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/publish.js.map @@ -0,0 +1 @@ +{"version":3,"file":"publish.js","sourceRoot":"","sources":["../../../src/add/operator/publish.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,OAAO,EAAE,MAAM,wBAAwB;AAEhD,UAAU,CAAC,SAAS,CAAC,OAAO,GAAQ,OAAO,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/publishBehavior.js b/node_modules/rxjs/_esm2015/add/operator/publishBehavior.js new file mode 100644 index 00000000..7555f4a3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/publishBehavior.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { publishBehavior } from '../../operator/publishBehavior'; +Observable.prototype.publishBehavior = publishBehavior; +//# sourceMappingURL=publishBehavior.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/publishBehavior.js.map b/node_modules/rxjs/_esm2015/add/operator/publishBehavior.js.map new file mode 100644 index 00000000..2bb0c42a --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/publishBehavior.js.map @@ -0,0 +1 @@ +{"version":3,"file":"publishBehavior.js","sourceRoot":"","sources":["../../../src/add/operator/publishBehavior.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,eAAe,EAAE,MAAM,gCAAgC;AAEhE,UAAU,CAAC,SAAS,CAAC,eAAe,GAAG,eAAe,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/publishLast.js b/node_modules/rxjs/_esm2015/add/operator/publishLast.js new file mode 100644 index 00000000..df2fd387 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/publishLast.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { publishLast } from '../../operator/publishLast'; +Observable.prototype.publishLast = publishLast; +//# sourceMappingURL=publishLast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/publishLast.js.map b/node_modules/rxjs/_esm2015/add/operator/publishLast.js.map new file mode 100644 index 00000000..fd2cfbc8 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/publishLast.js.map @@ -0,0 +1 @@ +{"version":3,"file":"publishLast.js","sourceRoot":"","sources":["../../../src/add/operator/publishLast.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,WAAW,EAAE,MAAM,4BAA4B;AAExD,UAAU,CAAC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/publishReplay.js b/node_modules/rxjs/_esm2015/add/operator/publishReplay.js new file mode 100644 index 00000000..8807d12f --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/publishReplay.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { publishReplay } from '../../operator/publishReplay'; +Observable.prototype.publishReplay = publishReplay; +//# sourceMappingURL=publishReplay.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/publishReplay.js.map b/node_modules/rxjs/_esm2015/add/operator/publishReplay.js.map new file mode 100644 index 00000000..68fc5011 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/publishReplay.js.map @@ -0,0 +1 @@ +{"version":3,"file":"publishReplay.js","sourceRoot":"","sources":["../../../src/add/operator/publishReplay.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,aAAa,EAAE,MAAM,8BAA8B;AAE5D,UAAU,CAAC,SAAS,CAAC,aAAa,GAAG,aAAa,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/race.js b/node_modules/rxjs/_esm2015/add/operator/race.js new file mode 100644 index 00000000..ec198485 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/race.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { race } from '../../operator/race'; +Observable.prototype.race = race; +//# sourceMappingURL=race.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/race.js.map b/node_modules/rxjs/_esm2015/add/operator/race.js.map new file mode 100644 index 00000000..e6cf7ea6 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/race.js.map @@ -0,0 +1 @@ +{"version":3,"file":"race.js","sourceRoot":"","sources":["../../../src/add/operator/race.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,IAAI,EAAE,MAAM,qBAAqB;AAE1C,UAAU,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/reduce.js b/node_modules/rxjs/_esm2015/add/operator/reduce.js new file mode 100644 index 00000000..897690d3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/reduce.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { reduce } from '../../operator/reduce'; +Observable.prototype.reduce = reduce; +//# sourceMappingURL=reduce.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/reduce.js.map b/node_modules/rxjs/_esm2015/add/operator/reduce.js.map new file mode 100644 index 00000000..b6585dc6 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/reduce.js.map @@ -0,0 +1 @@ +{"version":3,"file":"reduce.js","sourceRoot":"","sources":["../../../src/add/operator/reduce.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,uBAAuB;AAE9C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/repeat.js b/node_modules/rxjs/_esm2015/add/operator/repeat.js new file mode 100644 index 00000000..c0dbbb0c --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/repeat.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { repeat } from '../../operator/repeat'; +Observable.prototype.repeat = repeat; +//# sourceMappingURL=repeat.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/repeat.js.map b/node_modules/rxjs/_esm2015/add/operator/repeat.js.map new file mode 100644 index 00000000..bcdbe76d --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/repeat.js.map @@ -0,0 +1 @@ +{"version":3,"file":"repeat.js","sourceRoot":"","sources":["../../../src/add/operator/repeat.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,uBAAuB;AAE9C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/repeatWhen.js b/node_modules/rxjs/_esm2015/add/operator/repeatWhen.js new file mode 100644 index 00000000..69426353 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/repeatWhen.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { repeatWhen } from '../../operator/repeatWhen'; +Observable.prototype.repeatWhen = repeatWhen; +//# sourceMappingURL=repeatWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/repeatWhen.js.map b/node_modules/rxjs/_esm2015/add/operator/repeatWhen.js.map new file mode 100644 index 00000000..ed4e662b --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/repeatWhen.js.map @@ -0,0 +1 @@ +{"version":3,"file":"repeatWhen.js","sourceRoot":"","sources":["../../../src/add/operator/repeatWhen.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,2BAA2B;AAEtD,UAAU,CAAC,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/retry.js b/node_modules/rxjs/_esm2015/add/operator/retry.js new file mode 100644 index 00000000..13c4f11a --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/retry.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { retry } from '../../operator/retry'; +Observable.prototype.retry = retry; +//# sourceMappingURL=retry.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/retry.js.map b/node_modules/rxjs/_esm2015/add/operator/retry.js.map new file mode 100644 index 00000000..7fcabbf1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/retry.js.map @@ -0,0 +1 @@ +{"version":3,"file":"retry.js","sourceRoot":"","sources":["../../../src/add/operator/retry.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,EAAE,MAAM,sBAAsB;AAE5C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/retryWhen.js b/node_modules/rxjs/_esm2015/add/operator/retryWhen.js new file mode 100644 index 00000000..7fee774e --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/retryWhen.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { retryWhen } from '../../operator/retryWhen'; +Observable.prototype.retryWhen = retryWhen; +//# sourceMappingURL=retryWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/retryWhen.js.map b/node_modules/rxjs/_esm2015/add/operator/retryWhen.js.map new file mode 100644 index 00000000..76e6ed74 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/retryWhen.js.map @@ -0,0 +1 @@ +{"version":3,"file":"retryWhen.js","sourceRoot":"","sources":["../../../src/add/operator/retryWhen.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/sample.js b/node_modules/rxjs/_esm2015/add/operator/sample.js new file mode 100644 index 00000000..ca78e32b --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/sample.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { sample } from '../../operator/sample'; +Observable.prototype.sample = sample; +//# sourceMappingURL=sample.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/sample.js.map b/node_modules/rxjs/_esm2015/add/operator/sample.js.map new file mode 100644 index 00000000..79e0a68f --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/sample.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sample.js","sourceRoot":"","sources":["../../../src/add/operator/sample.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,uBAAuB;AAE9C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/sampleTime.js b/node_modules/rxjs/_esm2015/add/operator/sampleTime.js new file mode 100644 index 00000000..53abf883 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/sampleTime.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { sampleTime } from '../../operator/sampleTime'; +Observable.prototype.sampleTime = sampleTime; +//# sourceMappingURL=sampleTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/sampleTime.js.map b/node_modules/rxjs/_esm2015/add/operator/sampleTime.js.map new file mode 100644 index 00000000..e102b733 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/sampleTime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sampleTime.js","sourceRoot":"","sources":["../../../src/add/operator/sampleTime.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,2BAA2B;AAEtD,UAAU,CAAC,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/scan.js b/node_modules/rxjs/_esm2015/add/operator/scan.js new file mode 100644 index 00000000..651e18c1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/scan.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { scan } from '../../operator/scan'; +Observable.prototype.scan = scan; +//# sourceMappingURL=scan.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/scan.js.map b/node_modules/rxjs/_esm2015/add/operator/scan.js.map new file mode 100644 index 00000000..7c1fe66d --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/scan.js.map @@ -0,0 +1 @@ +{"version":3,"file":"scan.js","sourceRoot":"","sources":["../../../src/add/operator/scan.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OAEtC,EAAE,IAAI,EAAE,MAAM,qBAAqB;AAE1C,UAAU,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/sequenceEqual.js b/node_modules/rxjs/_esm2015/add/operator/sequenceEqual.js new file mode 100644 index 00000000..2582117e --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/sequenceEqual.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { sequenceEqual } from '../../operator/sequenceEqual'; +Observable.prototype.sequenceEqual = sequenceEqual; +//# sourceMappingURL=sequenceEqual.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/sequenceEqual.js.map b/node_modules/rxjs/_esm2015/add/operator/sequenceEqual.js.map new file mode 100644 index 00000000..a3de597b --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/sequenceEqual.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sequenceEqual.js","sourceRoot":"","sources":["../../../src/add/operator/sequenceEqual.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,aAAa,EAAE,MAAM,8BAA8B;AAE5D,UAAU,CAAC,SAAS,CAAC,aAAa,GAAG,aAAa,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/share.js b/node_modules/rxjs/_esm2015/add/operator/share.js new file mode 100644 index 00000000..83a639d9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/share.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { share } from '../../operator/share'; +Observable.prototype.share = share; +//# sourceMappingURL=share.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/share.js.map b/node_modules/rxjs/_esm2015/add/operator/share.js.map new file mode 100644 index 00000000..540b9ecb --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/share.js.map @@ -0,0 +1 @@ +{"version":3,"file":"share.js","sourceRoot":"","sources":["../../../src/add/operator/share.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,EAAE,MAAM,sBAAsB;AAE5C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/shareReplay.js b/node_modules/rxjs/_esm2015/add/operator/shareReplay.js new file mode 100644 index 00000000..afa8c007 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/shareReplay.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { shareReplay } from '../../operator/shareReplay'; +Observable.prototype.shareReplay = shareReplay; +//# sourceMappingURL=shareReplay.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/shareReplay.js.map b/node_modules/rxjs/_esm2015/add/operator/shareReplay.js.map new file mode 100644 index 00000000..fe8aadfb --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/shareReplay.js.map @@ -0,0 +1 @@ +{"version":3,"file":"shareReplay.js","sourceRoot":"","sources":["../../../src/add/operator/shareReplay.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,WAAW,EAAE,MAAM,4BAA4B;AAExD,UAAU,CAAC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/single.js b/node_modules/rxjs/_esm2015/add/operator/single.js new file mode 100644 index 00000000..05eb212a --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/single.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { single } from '../../operator/single'; +Observable.prototype.single = single; +//# sourceMappingURL=single.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/single.js.map b/node_modules/rxjs/_esm2015/add/operator/single.js.map new file mode 100644 index 00000000..0218f7b3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/single.js.map @@ -0,0 +1 @@ +{"version":3,"file":"single.js","sourceRoot":"","sources":["../../../src/add/operator/single.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,uBAAuB;AAE9C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/skip.js b/node_modules/rxjs/_esm2015/add/operator/skip.js new file mode 100644 index 00000000..47b3da95 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/skip.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { skip } from '../../operator/skip'; +Observable.prototype.skip = skip; +//# sourceMappingURL=skip.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/skip.js.map b/node_modules/rxjs/_esm2015/add/operator/skip.js.map new file mode 100644 index 00000000..8e76fde5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/skip.js.map @@ -0,0 +1 @@ +{"version":3,"file":"skip.js","sourceRoot":"","sources":["../../../src/add/operator/skip.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,IAAI,EAAE,MAAM,qBAAqB;AAE1C,UAAU,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/skipLast.js b/node_modules/rxjs/_esm2015/add/operator/skipLast.js new file mode 100644 index 00000000..d634402a --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/skipLast.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { skipLast } from '../../operator/skipLast'; +Observable.prototype.skipLast = skipLast; +//# sourceMappingURL=skipLast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/skipLast.js.map b/node_modules/rxjs/_esm2015/add/operator/skipLast.js.map new file mode 100644 index 00000000..d654de9b --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/skipLast.js.map @@ -0,0 +1 @@ +{"version":3,"file":"skipLast.js","sourceRoot":"","sources":["../../../src/add/operator/skipLast.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,yBAAyB;AAElD,UAAU,CAAC,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/skipUntil.js b/node_modules/rxjs/_esm2015/add/operator/skipUntil.js new file mode 100644 index 00000000..a40bf41b --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/skipUntil.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { skipUntil } from '../../operator/skipUntil'; +Observable.prototype.skipUntil = skipUntil; +//# sourceMappingURL=skipUntil.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/skipUntil.js.map b/node_modules/rxjs/_esm2015/add/operator/skipUntil.js.map new file mode 100644 index 00000000..1241bcda --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/skipUntil.js.map @@ -0,0 +1 @@ +{"version":3,"file":"skipUntil.js","sourceRoot":"","sources":["../../../src/add/operator/skipUntil.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/skipWhile.js b/node_modules/rxjs/_esm2015/add/operator/skipWhile.js new file mode 100644 index 00000000..7888238c --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/skipWhile.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { skipWhile } from '../../operator/skipWhile'; +Observable.prototype.skipWhile = skipWhile; +//# sourceMappingURL=skipWhile.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/skipWhile.js.map b/node_modules/rxjs/_esm2015/add/operator/skipWhile.js.map new file mode 100644 index 00000000..4df3927d --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/skipWhile.js.map @@ -0,0 +1 @@ +{"version":3,"file":"skipWhile.js","sourceRoot":"","sources":["../../../src/add/operator/skipWhile.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/startWith.js b/node_modules/rxjs/_esm2015/add/operator/startWith.js new file mode 100644 index 00000000..25fecefa --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/startWith.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { startWith } from '../../operator/startWith'; +Observable.prototype.startWith = startWith; +//# sourceMappingURL=startWith.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/startWith.js.map b/node_modules/rxjs/_esm2015/add/operator/startWith.js.map new file mode 100644 index 00000000..fecea096 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/startWith.js.map @@ -0,0 +1 @@ +{"version":3,"file":"startWith.js","sourceRoot":"","sources":["../../../src/add/operator/startWith.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/subscribeOn.js b/node_modules/rxjs/_esm2015/add/operator/subscribeOn.js new file mode 100644 index 00000000..0d8a75eb --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/subscribeOn.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { subscribeOn } from '../../operator/subscribeOn'; +Observable.prototype.subscribeOn = subscribeOn; +//# sourceMappingURL=subscribeOn.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/subscribeOn.js.map b/node_modules/rxjs/_esm2015/add/operator/subscribeOn.js.map new file mode 100644 index 00000000..ef7b25bd --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/subscribeOn.js.map @@ -0,0 +1 @@ +{"version":3,"file":"subscribeOn.js","sourceRoot":"","sources":["../../../src/add/operator/subscribeOn.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,WAAW,EAAE,MAAM,4BAA4B;AAExD,UAAU,CAAC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/switch.js b/node_modules/rxjs/_esm2015/add/operator/switch.js new file mode 100644 index 00000000..02b02efc --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/switch.js @@ -0,0 +1,5 @@ +import { Observable } from '../../Observable'; +import { _switch } from '../../operator/switch'; +Observable.prototype.switch = _switch; +Observable.prototype._switch = _switch; +//# sourceMappingURL=switch.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/switch.js.map b/node_modules/rxjs/_esm2015/add/operator/switch.js.map new file mode 100644 index 00000000..3d42bd65 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/switch.js.map @@ -0,0 +1 @@ +{"version":3,"file":"switch.js","sourceRoot":"","sources":["../../../src/add/operator/switch.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,OAAO,EAAE,MAAM,uBAAuB;AAE/C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,OAAO,CAAC;AACtC,UAAU,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/switchMap.js b/node_modules/rxjs/_esm2015/add/operator/switchMap.js new file mode 100644 index 00000000..7dc5024d --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/switchMap.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { switchMap } from '../../operator/switchMap'; +Observable.prototype.switchMap = switchMap; +//# sourceMappingURL=switchMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/switchMap.js.map b/node_modules/rxjs/_esm2015/add/operator/switchMap.js.map new file mode 100644 index 00000000..d738a944 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/switchMap.js.map @@ -0,0 +1 @@ +{"version":3,"file":"switchMap.js","sourceRoot":"","sources":["../../../src/add/operator/switchMap.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/switchMapTo.js b/node_modules/rxjs/_esm2015/add/operator/switchMapTo.js new file mode 100644 index 00000000..c4042be3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/switchMapTo.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { switchMapTo } from '../../operator/switchMapTo'; +Observable.prototype.switchMapTo = switchMapTo; +//# sourceMappingURL=switchMapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/switchMapTo.js.map b/node_modules/rxjs/_esm2015/add/operator/switchMapTo.js.map new file mode 100644 index 00000000..bd5af839 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/switchMapTo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"switchMapTo.js","sourceRoot":"","sources":["../../../src/add/operator/switchMapTo.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,WAAW,EAAE,MAAM,4BAA4B;AAExD,UAAU,CAAC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/take.js b/node_modules/rxjs/_esm2015/add/operator/take.js new file mode 100644 index 00000000..e8bac3ac --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/take.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { take } from '../../operator/take'; +Observable.prototype.take = take; +//# sourceMappingURL=take.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/take.js.map b/node_modules/rxjs/_esm2015/add/operator/take.js.map new file mode 100644 index 00000000..b9236de7 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/take.js.map @@ -0,0 +1 @@ +{"version":3,"file":"take.js","sourceRoot":"","sources":["../../../src/add/operator/take.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,IAAI,EAAE,MAAM,qBAAqB;AAE1C,UAAU,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/takeLast.js b/node_modules/rxjs/_esm2015/add/operator/takeLast.js new file mode 100644 index 00000000..6e6e5d9b --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/takeLast.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { takeLast } from '../../operator/takeLast'; +Observable.prototype.takeLast = takeLast; +//# sourceMappingURL=takeLast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/takeLast.js.map b/node_modules/rxjs/_esm2015/add/operator/takeLast.js.map new file mode 100644 index 00000000..6aa0e22b --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/takeLast.js.map @@ -0,0 +1 @@ +{"version":3,"file":"takeLast.js","sourceRoot":"","sources":["../../../src/add/operator/takeLast.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,yBAAyB;AAElD,UAAU,CAAC,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/takeUntil.js b/node_modules/rxjs/_esm2015/add/operator/takeUntil.js new file mode 100644 index 00000000..a30c3d25 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/takeUntil.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { takeUntil } from '../../operator/takeUntil'; +Observable.prototype.takeUntil = takeUntil; +//# sourceMappingURL=takeUntil.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/takeUntil.js.map b/node_modules/rxjs/_esm2015/add/operator/takeUntil.js.map new file mode 100644 index 00000000..d73bb558 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/takeUntil.js.map @@ -0,0 +1 @@ +{"version":3,"file":"takeUntil.js","sourceRoot":"","sources":["../../../src/add/operator/takeUntil.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/takeWhile.js b/node_modules/rxjs/_esm2015/add/operator/takeWhile.js new file mode 100644 index 00000000..6fbd622a --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/takeWhile.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { takeWhile } from '../../operator/takeWhile'; +Observable.prototype.takeWhile = takeWhile; +//# sourceMappingURL=takeWhile.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/takeWhile.js.map b/node_modules/rxjs/_esm2015/add/operator/takeWhile.js.map new file mode 100644 index 00000000..36c3f0a0 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/takeWhile.js.map @@ -0,0 +1 @@ +{"version":3,"file":"takeWhile.js","sourceRoot":"","sources":["../../../src/add/operator/takeWhile.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/throttle.js b/node_modules/rxjs/_esm2015/add/operator/throttle.js new file mode 100644 index 00000000..59854a01 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/throttle.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { throttle } from '../../operator/throttle'; +Observable.prototype.throttle = throttle; +//# sourceMappingURL=throttle.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/throttle.js.map b/node_modules/rxjs/_esm2015/add/operator/throttle.js.map new file mode 100644 index 00000000..760b105b --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/throttle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"throttle.js","sourceRoot":"","sources":["../../../src/add/operator/throttle.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,yBAAyB;AAElD,UAAU,CAAC,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/throttleTime.js b/node_modules/rxjs/_esm2015/add/operator/throttleTime.js new file mode 100644 index 00000000..857a4f17 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/throttleTime.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { throttleTime } from '../../operator/throttleTime'; +Observable.prototype.throttleTime = throttleTime; +//# sourceMappingURL=throttleTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/throttleTime.js.map b/node_modules/rxjs/_esm2015/add/operator/throttleTime.js.map new file mode 100644 index 00000000..b94a392d --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/throttleTime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"throttleTime.js","sourceRoot":"","sources":["../../../src/add/operator/throttleTime.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,YAAY,EAAE,MAAM,6BAA6B;AAE1D,UAAU,CAAC,SAAS,CAAC,YAAY,GAAG,YAAY,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/timeInterval.js b/node_modules/rxjs/_esm2015/add/operator/timeInterval.js new file mode 100644 index 00000000..421255ca --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/timeInterval.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { timeInterval } from '../../operator/timeInterval'; +Observable.prototype.timeInterval = timeInterval; +//# sourceMappingURL=timeInterval.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/timeInterval.js.map b/node_modules/rxjs/_esm2015/add/operator/timeInterval.js.map new file mode 100644 index 00000000..cb3b85a6 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/timeInterval.js.map @@ -0,0 +1 @@ +{"version":3,"file":"timeInterval.js","sourceRoot":"","sources":["../../../src/add/operator/timeInterval.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,YAAY,EAAE,MAAM,6BAA6B;AAE1D,UAAU,CAAC,SAAS,CAAC,YAAY,GAAG,YAAY,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/timeout.js b/node_modules/rxjs/_esm2015/add/operator/timeout.js new file mode 100644 index 00000000..93a9a35e --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/timeout.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { timeout } from '../../operator/timeout'; +Observable.prototype.timeout = timeout; +//# sourceMappingURL=timeout.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/timeout.js.map b/node_modules/rxjs/_esm2015/add/operator/timeout.js.map new file mode 100644 index 00000000..19b0e0b2 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/timeout.js.map @@ -0,0 +1 @@ +{"version":3,"file":"timeout.js","sourceRoot":"","sources":["../../../src/add/operator/timeout.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,OAAO,EAAE,MAAM,wBAAwB;AAEhD,UAAU,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/timeoutWith.js b/node_modules/rxjs/_esm2015/add/operator/timeoutWith.js new file mode 100644 index 00000000..67481560 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/timeoutWith.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { timeoutWith } from '../../operator/timeoutWith'; +Observable.prototype.timeoutWith = timeoutWith; +//# sourceMappingURL=timeoutWith.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/timeoutWith.js.map b/node_modules/rxjs/_esm2015/add/operator/timeoutWith.js.map new file mode 100644 index 00000000..86ed1484 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/timeoutWith.js.map @@ -0,0 +1 @@ +{"version":3,"file":"timeoutWith.js","sourceRoot":"","sources":["../../../src/add/operator/timeoutWith.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,WAAW,EAAE,MAAM,4BAA4B;AAExD,UAAU,CAAC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/timestamp.js b/node_modules/rxjs/_esm2015/add/operator/timestamp.js new file mode 100644 index 00000000..bb9ad90e --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/timestamp.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { timestamp } from '../../operator/timestamp'; +Observable.prototype.timestamp = timestamp; +//# sourceMappingURL=timestamp.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/timestamp.js.map b/node_modules/rxjs/_esm2015/add/operator/timestamp.js.map new file mode 100644 index 00000000..9bc45bac --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/timestamp.js.map @@ -0,0 +1 @@ +{"version":3,"file":"timestamp.js","sourceRoot":"","sources":["../../../src/add/operator/timestamp.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/toArray.js b/node_modules/rxjs/_esm2015/add/operator/toArray.js new file mode 100644 index 00000000..5a0b7600 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/toArray.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { toArray } from '../../operator/toArray'; +Observable.prototype.toArray = toArray; +//# sourceMappingURL=toArray.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/toArray.js.map b/node_modules/rxjs/_esm2015/add/operator/toArray.js.map new file mode 100644 index 00000000..bb19a203 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/toArray.js.map @@ -0,0 +1 @@ +{"version":3,"file":"toArray.js","sourceRoot":"","sources":["../../../src/add/operator/toArray.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,OAAO,EAAE,MAAM,wBAAwB;AAEhD,UAAU,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/toPromise.js b/node_modules/rxjs/_esm2015/add/operator/toPromise.js new file mode 100644 index 00000000..5e65742c --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/toPromise.js @@ -0,0 +1,3 @@ +// HACK: does nothing, because `toPromise` now lives on the `Observable` itself. +// leaving this module here to prevent breakage. +//# sourceMappingURL=toPromise.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/toPromise.js.map b/node_modules/rxjs/_esm2015/add/operator/toPromise.js.map new file mode 100644 index 00000000..643c9061 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/toPromise.js.map @@ -0,0 +1 @@ +{"version":3,"file":"toPromise.js","sourceRoot":"","sources":["../../../src/add/operator/toPromise.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,gDAAgD"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/window.js b/node_modules/rxjs/_esm2015/add/operator/window.js new file mode 100644 index 00000000..a45a7851 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/window.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { window } from '../../operator/window'; +Observable.prototype.window = window; +//# sourceMappingURL=window.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/window.js.map b/node_modules/rxjs/_esm2015/add/operator/window.js.map new file mode 100644 index 00000000..80c1de64 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/window.js.map @@ -0,0 +1 @@ +{"version":3,"file":"window.js","sourceRoot":"","sources":["../../../src/add/operator/window.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,uBAAuB;AAE9C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/windowCount.js b/node_modules/rxjs/_esm2015/add/operator/windowCount.js new file mode 100644 index 00000000..f4762e97 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/windowCount.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { windowCount } from '../../operator/windowCount'; +Observable.prototype.windowCount = windowCount; +//# sourceMappingURL=windowCount.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/windowCount.js.map b/node_modules/rxjs/_esm2015/add/operator/windowCount.js.map new file mode 100644 index 00000000..edc6be1b --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/windowCount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"windowCount.js","sourceRoot":"","sources":["../../../src/add/operator/windowCount.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,WAAW,EAAE,MAAM,4BAA4B;AAExD,UAAU,CAAC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/windowTime.js b/node_modules/rxjs/_esm2015/add/operator/windowTime.js new file mode 100644 index 00000000..d6aa1e2a --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/windowTime.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { windowTime } from '../../operator/windowTime'; +Observable.prototype.windowTime = windowTime; +//# sourceMappingURL=windowTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/windowTime.js.map b/node_modules/rxjs/_esm2015/add/operator/windowTime.js.map new file mode 100644 index 00000000..1c9fff6a --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/windowTime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"windowTime.js","sourceRoot":"","sources":["../../../src/add/operator/windowTime.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,2BAA2B;AAEtD,UAAU,CAAC,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/windowToggle.js b/node_modules/rxjs/_esm2015/add/operator/windowToggle.js new file mode 100644 index 00000000..26532657 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/windowToggle.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { windowToggle } from '../../operator/windowToggle'; +Observable.prototype.windowToggle = windowToggle; +//# sourceMappingURL=windowToggle.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/windowToggle.js.map b/node_modules/rxjs/_esm2015/add/operator/windowToggle.js.map new file mode 100644 index 00000000..1cf1921f --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/windowToggle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"windowToggle.js","sourceRoot":"","sources":["../../../src/add/operator/windowToggle.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,YAAY,EAAE,MAAM,6BAA6B;AAE1D,UAAU,CAAC,SAAS,CAAC,YAAY,GAAG,YAAY,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/windowWhen.js b/node_modules/rxjs/_esm2015/add/operator/windowWhen.js new file mode 100644 index 00000000..77e02df0 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/windowWhen.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { windowWhen } from '../../operator/windowWhen'; +Observable.prototype.windowWhen = windowWhen; +//# sourceMappingURL=windowWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/windowWhen.js.map b/node_modules/rxjs/_esm2015/add/operator/windowWhen.js.map new file mode 100644 index 00000000..1f594206 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/windowWhen.js.map @@ -0,0 +1 @@ +{"version":3,"file":"windowWhen.js","sourceRoot":"","sources":["../../../src/add/operator/windowWhen.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,2BAA2B;AAEtD,UAAU,CAAC,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/withLatestFrom.js b/node_modules/rxjs/_esm2015/add/operator/withLatestFrom.js new file mode 100644 index 00000000..0d093b09 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/withLatestFrom.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { withLatestFrom } from '../../operator/withLatestFrom'; +Observable.prototype.withLatestFrom = withLatestFrom; +//# sourceMappingURL=withLatestFrom.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/withLatestFrom.js.map b/node_modules/rxjs/_esm2015/add/operator/withLatestFrom.js.map new file mode 100644 index 00000000..d3cc7a71 --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/withLatestFrom.js.map @@ -0,0 +1 @@ +{"version":3,"file":"withLatestFrom.js","sourceRoot":"","sources":["../../../src/add/operator/withLatestFrom.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,cAAc,EAAE,MAAM,+BAA+B;AAE9D,UAAU,CAAC,SAAS,CAAC,cAAc,GAAG,cAAc,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/zip.js b/node_modules/rxjs/_esm2015/add/operator/zip.js new file mode 100644 index 00000000..38b5e89f --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/zip.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { zipProto } from '../../operator/zip'; +Observable.prototype.zip = zipProto; +//# sourceMappingURL=zip.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/zip.js.map b/node_modules/rxjs/_esm2015/add/operator/zip.js.map new file mode 100644 index 00000000..cd953a9f --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/zip.js.map @@ -0,0 +1 @@ +{"version":3,"file":"zip.js","sourceRoot":"","sources":["../../../src/add/operator/zip.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,oBAAoB;AAE7C,UAAU,CAAC,SAAS,CAAC,GAAG,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/zipAll.js b/node_modules/rxjs/_esm2015/add/operator/zipAll.js new file mode 100644 index 00000000..33d7970f --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/zipAll.js @@ -0,0 +1,4 @@ +import { Observable } from '../../Observable'; +import { zipAll } from '../../operator/zipAll'; +Observable.prototype.zipAll = zipAll; +//# sourceMappingURL=zipAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/zipAll.js.map b/node_modules/rxjs/_esm2015/add/operator/zipAll.js.map new file mode 100644 index 00000000..71b067cc --- /dev/null +++ b/node_modules/rxjs/_esm2015/add/operator/zipAll.js.map @@ -0,0 +1 @@ +{"version":3,"file":"zipAll.js","sourceRoot":"","sources":["../../../src/add/operator/zipAll.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,uBAAuB;AAE9C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/interfaces.js b/node_modules/rxjs/_esm2015/interfaces.js new file mode 100644 index 00000000..eb519ecf --- /dev/null +++ b/node_modules/rxjs/_esm2015/interfaces.js @@ -0,0 +1 @@ +//# sourceMappingURL=interfaces.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/interfaces.js.map b/node_modules/rxjs/_esm2015/interfaces.js.map new file mode 100644 index 00000000..8fb5f7d1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/interfaces.js.map @@ -0,0 +1 @@ +{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ArrayLikeObservable.js b/node_modules/rxjs/_esm2015/observable/ArrayLikeObservable.js new file mode 100644 index 00000000..814f3cc5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/ArrayLikeObservable.js @@ -0,0 +1,61 @@ +import { Observable } from '../Observable'; +import { ScalarObservable } from './ScalarObservable'; +import { EmptyObservable } from './EmptyObservable'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class ArrayLikeObservable extends Observable { + constructor(arrayLike, scheduler) { + super(); + this.arrayLike = arrayLike; + this.scheduler = scheduler; + if (!scheduler && arrayLike.length === 1) { + this._isScalar = true; + this.value = arrayLike[0]; + } + } + static create(arrayLike, scheduler) { + const length = arrayLike.length; + if (length === 0) { + return new EmptyObservable(); + } + else if (length === 1) { + return new ScalarObservable(arrayLike[0], scheduler); + } + else { + return new ArrayLikeObservable(arrayLike, scheduler); + } + } + static dispatch(state) { + const { arrayLike, index, length, subscriber } = state; + if (subscriber.closed) { + return; + } + if (index >= length) { + subscriber.complete(); + return; + } + subscriber.next(arrayLike[index]); + state.index = index + 1; + this.schedule(state); + } + _subscribe(subscriber) { + let index = 0; + const { arrayLike, scheduler } = this; + const length = arrayLike.length; + if (scheduler) { + return scheduler.schedule(ArrayLikeObservable.dispatch, 0, { + arrayLike, index, length, subscriber + }); + } + else { + for (let i = 0; i < length && !subscriber.closed; i++) { + subscriber.next(arrayLike[i]); + } + subscriber.complete(); + } + } +} +//# sourceMappingURL=ArrayLikeObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ArrayLikeObservable.js.map b/node_modules/rxjs/_esm2015/observable/ArrayLikeObservable.js.map new file mode 100644 index 00000000..4017dfe1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/ArrayLikeObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ArrayLikeObservable.js","sourceRoot":"","sources":["../../src/observable/ArrayLikeObservable.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,gBAAgB,EAAE,MAAM,oBAAoB;OAC9C,EAAE,eAAe,EAAE,MAAM,mBAAmB;AAInD;;;;GAIG;AACH,yCAA4C,UAAU;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,CAAC,KAAK,GAAG,KAAK,GAAG,CAAC,CAAC;QAEjB,IAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAaS,UAAU,CAAC,UAAyB;QAC5C,IAAI,KAAK,GAAG,CAAC,CAAC;QACd,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;QACtC,MAAM,MAAM,GAAG,SAAS,CAAC,MAAM,CAAC;QAEhC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;YACd,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,mBAAmB,CAAC,QAAQ,EAAE,CAAC,EAAE;gBACzD,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU;aACrC,CAAC,CAAC;QACL,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBACtD,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;YAChC,CAAC;YACD,UAAU,CAAC,QAAQ,EAAE,CAAC;QACxB,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ArrayObservable.js b/node_modules/rxjs/_esm2015/observable/ArrayObservable.js new file mode 100644 index 00000000..b9d27e98 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/ArrayObservable.js @@ -0,0 +1,109 @@ +import { Observable } from '../Observable'; +import { ScalarObservable } from './ScalarObservable'; +import { EmptyObservable } from './EmptyObservable'; +import { isScheduler } from '../util/isScheduler'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class ArrayObservable extends Observable { + constructor(array, scheduler) { + super(); + this.array = array; + this.scheduler = scheduler; + if (!scheduler && array.length === 1) { + this._isScalar = true; + this.value = array[0]; + } + } + static create(array, scheduler) { + return new ArrayObservable(array, scheduler); + } + /** + * Creates an Observable that emits some values you specify as arguments, + * immediately one after the other, and then emits a complete notification. + * + * Emits the arguments you provide, then completes. + * + * + * + * + * This static operator is useful for creating a simple Observable that only + * emits the arguments given, and the complete notification thereafter. It can + * be used for composing with other Observables, such as with {@link concat}. + * By default, it uses a `null` IScheduler, which means the `next` + * notifications are sent synchronously, although with a different IScheduler + * it is possible to determine when those notifications will be delivered. + * + * @example Emit 10, 20, 30, then 'a', 'b', 'c', then start ticking every second. + * var numbers = Rx.Observable.of(10, 20, 30); + * var letters = Rx.Observable.of('a', 'b', 'c'); + * var interval = Rx.Observable.interval(1000); + * var result = numbers.concat(letters).concat(interval); + * result.subscribe(x => console.log(x)); + * + * @see {@link create} + * @see {@link empty} + * @see {@link never} + * @see {@link throw} + * + * @param {...T} values Arguments that represent `next` values to be emitted. + * @param {Scheduler} [scheduler] A {@link IScheduler} to use for scheduling + * the emissions of the `next` notifications. + * @return {Observable} An Observable that emits each given input value. + * @static true + * @name of + * @owner Observable + */ + static of(...array) { + let scheduler = array[array.length - 1]; + if (isScheduler(scheduler)) { + array.pop(); + } + else { + scheduler = null; + } + const len = array.length; + if (len > 1) { + return new ArrayObservable(array, scheduler); + } + else if (len === 1) { + return new ScalarObservable(array[0], scheduler); + } + else { + return new EmptyObservable(scheduler); + } + } + static dispatch(state) { + const { array, index, count, subscriber } = state; + if (index >= count) { + subscriber.complete(); + return; + } + subscriber.next(array[index]); + if (subscriber.closed) { + return; + } + state.index = index + 1; + this.schedule(state); + } + _subscribe(subscriber) { + let index = 0; + const array = this.array; + const count = array.length; + const scheduler = this.scheduler; + if (scheduler) { + return scheduler.schedule(ArrayObservable.dispatch, 0, { + array, index, count, subscriber + }); + } + else { + for (let i = 0; i < count && !subscriber.closed; i++) { + subscriber.next(array[i]); + } + subscriber.complete(); + } + } +} +//# sourceMappingURL=ArrayObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ArrayObservable.js.map b/node_modules/rxjs/_esm2015/observable/ArrayObservable.js.map new file mode 100644 index 00000000..fcc0fc2c --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/ArrayObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ArrayObservable.js","sourceRoot":"","sources":["../../src/observable/ArrayObservable.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,gBAAgB,EAAE,MAAM,oBAAoB;OAC9C,EAAE,eAAe,EAAE,MAAM,mBAAmB;OAE5C,EAAE,WAAW,EAAE,MAAM,qBAAqB;AAGjD;;;;GAIG;AACH,qCAAwC,UAAU;IA0FhD,YAAoB,KAAU,EAAU,SAAsB;QAC5D,OAAO,CAAC;QADU,UAAK,GAAL,KAAK,CAAK;QAAU,cAAS,GAAT,SAAS,CAAa;QAE5D,EAAE,CAAC,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;YACrC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;YACtB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QACxB,CAAC;IACH,CAAC;IA9FD,OAAO,MAAM,CAAI,KAAU,EAAE,SAAsB;QACjD,MAAM,CAAC,IAAI,eAAe,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;IAC/C,CAAC;IASD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;IACH,OAAO,EAAE,CAAI,GAAG,KAA4B;QAC1C,IAAI,SAAS,GAAe,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QACpD,EAAE,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YAC3B,KAAK,CAAC,GAAG,EAAE,CAAC;QACd,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,SAAS,GAAG,IAAI,CAAC;QACnB,CAAC;QAED,MAAM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C,SAAS,CAAC,QAAQ,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,EAAE;gBACrD,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU;aAChC,CAAC,CAAC;QACL,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBACrD,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YAC5B,CAAC;YACD,UAAU,CAAC,QAAQ,EAAE,CAAC;QACxB,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/BoundCallbackObservable.js b/node_modules/rxjs/_esm2015/observable/BoundCallbackObservable.js new file mode 100644 index 00000000..8355b197 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/BoundCallbackObservable.js @@ -0,0 +1,242 @@ +import { Observable } from '../Observable'; +import { tryCatch } from '../util/tryCatch'; +import { errorObject } from '../util/errorObject'; +import { AsyncSubject } from '../AsyncSubject'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class BoundCallbackObservable extends Observable { + constructor(callbackFunc, selector, args, context, scheduler) { + super(); + this.callbackFunc = callbackFunc; + this.selector = selector; + this.args = args; + this.context = context; + this.scheduler = scheduler; + } + /* tslint:enable:max-line-length */ + /** + * Converts a callback API to a function that returns an Observable. + * + * Give it a function `f` of type `f(x, callback)` and + * it will return a function `g` that when called as `g(x)` will output an + * Observable. + * + * `bindCallback` is not an operator because its input and output are not + * Observables. The input is a function `func` with some parameters, the + * last parameter must be a callback function that `func` calls when it is + * done. + * + * The output of `bindCallback` is a function that takes the same parameters + * as `func`, except the last one (the callback). When the output function + * is called with arguments it will return an Observable. If function `func` + * calls its callback with one argument the Observable will emit that value. + * If on the other hand the callback is called with multiple values the resulting + * Observable will emit an array with said values as arguments. + * + * It is very important to remember that input function `func` is not called + * when the output function is, but rather when the Observable returned by the output + * function is subscribed. This means if `func` makes an AJAX request, that request + * will be made every time someone subscribes to the resulting Observable, but not before. + * + * Optionally, a selector function can be passed to `bindObservable`. The selector function + * takes the same arguments as the callback and returns the value that will be emitted by the Observable. + * Even though by default multiple arguments passed to callback appear in the stream as an array + * the selector function will be called with arguments directly, just as the callback would. + * This means you can imagine the default selector (when one is not provided explicitly) + * as a function that aggregates all its arguments into an array, or simply returns first argument + * if there is only one. + * + * The last optional parameter - {@link Scheduler} - can be used to control when the call + * to `func` happens after someone subscribes to Observable, as well as when results + * passed to callback will be emitted. By default, the subscription to an Observable calls `func` + * synchronously, but using `Scheduler.async` as the last parameter will defer the call to `func`, + * just like wrapping the call in `setTimeout` with a timeout of `0` would. If you use the async Scheduler + * and call `subscribe` on the output Observable all function calls that are currently executing + * will end before `func` is invoked. + * + * By default results passed to the callback are emitted immediately after `func` invokes the callback. + * In particular, if the callback is called synchronously the subscription of the resulting Observable + * will call the `next` function synchronously as well. If you want to defer that call, + * you may use `Scheduler.async` just as before. This means that by using `Scheduler.async` you can + * ensure that `func` always calls its callback asynchronously, thus avoiding terrifying Zalgo. + * + * Note that the Observable created by the output function will always emit a single value + * and then complete immediately. If `func` calls the callback multiple times, values from subsequent + * calls will not appear in the stream. If you need to listen for multiple calls, + * you probably want to use {@link fromEvent} or {@link fromEventPattern} instead. + * + * If `func` depends on some context (`this` property) and is not already bound the context of `func` + * will be the context that the output function has at call time. In particular, if `func` + * is called as a method of some objec and if `func` is not already bound, in order to preserve the context + * it is recommended that the context of the output function is set to that object as well. + * + * If the input function calls its callback in the "node style" (i.e. first argument to callback is + * optional error parameter signaling whether the call failed or not), {@link bindNodeCallback} + * provides convenient error handling and probably is a better choice. + * `bindCallback` will treat such functions the same as any other and error parameters + * (whether passed or not) will always be interpreted as regular callback argument. + * + * + * @example Convert jQuery's getJSON to an Observable API + * // Suppose we have jQuery.getJSON('/my/url', callback) + * var getJSONAsObservable = Rx.Observable.bindCallback(jQuery.getJSON); + * var result = getJSONAsObservable('/my/url'); + * result.subscribe(x => console.log(x), e => console.error(e)); + * + * + * @example Receive an array of arguments passed to a callback + * someFunction((a, b, c) => { + * console.log(a); // 5 + * console.log(b); // 'some string' + * console.log(c); // {someProperty: 'someValue'} + * }); + * + * const boundSomeFunction = Rx.Observable.bindCallback(someFunction); + * boundSomeFunction().subscribe(values => { + * console.log(values) // [5, 'some string', {someProperty: 'someValue'}] + * }); + * + * + * @example Use bindCallback with a selector function + * someFunction((a, b, c) => { + * console.log(a); // 'a' + * console.log(b); // 'b' + * console.log(c); // 'c' + * }); + * + * const boundSomeFunction = Rx.Observable.bindCallback(someFunction, (a, b, c) => a + b + c); + * boundSomeFunction().subscribe(value => { + * console.log(value) // 'abc' + * }); + * + * + * @example Compare behaviour with and without async Scheduler + * function iCallMyCallbackSynchronously(cb) { + * cb(); + * } + * + * const boundSyncFn = Rx.Observable.bindCallback(iCallMyCallbackSynchronously); + * const boundAsyncFn = Rx.Observable.bindCallback(iCallMyCallbackSynchronously, null, Rx.Scheduler.async); + * + * boundSyncFn().subscribe(() => console.log('I was sync!')); + * boundAsyncFn().subscribe(() => console.log('I was async!')); + * console.log('This happened...'); + * + * // Logs: + * // I was sync! + * // This happened... + * // I was async! + * + * + * @example Use bindCallback on an object method + * const boundMethod = Rx.Observable.bindCallback(someObject.methodWithCallback); + * boundMethod.call(someObject) // make sure methodWithCallback has access to someObject + * .subscribe(subscriber); + * + * + * @see {@link bindNodeCallback} + * @see {@link from} + * @see {@link fromPromise} + * + * @param {function} func A function with a callback as the last parameter. + * @param {function} [selector] A function which takes the arguments from the + * callback and maps them to a value that is emitted on the output Observable. + * @param {Scheduler} [scheduler] The scheduler on which to schedule the + * callbacks. + * @return {function(...params: *): Observable} A function which returns the + * Observable that delivers the same values the callback would deliver. + * @static true + * @name bindCallback + * @owner Observable + */ + static create(func, selector = undefined, scheduler) { + return function (...args) { + return new BoundCallbackObservable(func, selector, args, this, scheduler); + }; + } + _subscribe(subscriber) { + const callbackFunc = this.callbackFunc; + const args = this.args; + const scheduler = this.scheduler; + let subject = this.subject; + if (!scheduler) { + if (!subject) { + subject = this.subject = new AsyncSubject(); + const handler = function handlerFn(...innerArgs) { + const source = handlerFn.source; + const { selector, subject } = source; + if (selector) { + const result = tryCatch(selector).apply(this, innerArgs); + if (result === errorObject) { + subject.error(errorObject.e); + } + else { + subject.next(result); + subject.complete(); + } + } + else { + subject.next(innerArgs.length <= 1 ? innerArgs[0] : innerArgs); + subject.complete(); + } + }; + // use named function instance to avoid closure. + handler.source = this; + const result = tryCatch(callbackFunc).apply(this.context, args.concat(handler)); + if (result === errorObject) { + subject.error(errorObject.e); + } + } + return subject.subscribe(subscriber); + } + else { + return scheduler.schedule(BoundCallbackObservable.dispatch, 0, { source: this, subscriber, context: this.context }); + } + } + static dispatch(state) { + const self = this; + const { source, subscriber, context } = state; + const { callbackFunc, args, scheduler } = source; + let subject = source.subject; + if (!subject) { + subject = source.subject = new AsyncSubject(); + const handler = function handlerFn(...innerArgs) { + const source = handlerFn.source; + const { selector, subject } = source; + if (selector) { + const result = tryCatch(selector).apply(this, innerArgs); + if (result === errorObject) { + self.add(scheduler.schedule(dispatchError, 0, { err: errorObject.e, subject })); + } + else { + self.add(scheduler.schedule(dispatchNext, 0, { value: result, subject })); + } + } + else { + const value = innerArgs.length <= 1 ? innerArgs[0] : innerArgs; + self.add(scheduler.schedule(dispatchNext, 0, { value, subject })); + } + }; + // use named function to pass values in without closure + handler.source = source; + const result = tryCatch(callbackFunc).apply(context, args.concat(handler)); + if (result === errorObject) { + subject.error(errorObject.e); + } + } + self.add(subject.subscribe(subscriber)); + } +} +function dispatchNext(arg) { + const { value, subject } = arg; + subject.next(value); + subject.complete(); +} +function dispatchError(arg) { + const { err, subject } = arg; + subject.error(err); +} +//# sourceMappingURL=BoundCallbackObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/BoundCallbackObservable.js.map b/node_modules/rxjs/_esm2015/observable/BoundCallbackObservable.js.map new file mode 100644 index 00000000..570c4b50 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/BoundCallbackObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"BoundCallbackObservable.js","sourceRoot":"","sources":["../../src/observable/BoundCallbackObservable.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,eAAe;OAInC,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,YAAY,EAAE,MAAM,iBAAiB;AAE9C;;;;GAIG;AACH,6CAAgD,UAAU;IAsKxD,YAAoB,YAAsB,EACtB,QAAkB,EAClB,IAAW,EACX,OAAY,EACZ,SAAqB;QACvC,OAAO,CAAC;QALU,iBAAY,GAAZ,YAAY,CAAU;QACtB,aAAQ,GAAR,QAAQ,CAAU;QAClB,SAAI,GAAJ,IAAI,CAAO;QACX,YAAO,GAAP,OAAO,CAAK;QACZ,cAAS,GAAT,SAAS,CAAY;IAEzC,CAAC;IAvJD,mCAAmC;IAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsIG;IACH,OAAO,MAAM,CAAI,IAAc,EACd,QAAQ,GAAoB,SAAS,EACrC,SAAsB;QACrC,MAAM,CAAC,UAAoB,GAAG,IAAW;YACvC,MAAM,CAAC,IAAI,uBAAuB,CAAI,IAAI,EAAO,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;QACpF,CAAC,CAAC;IACJ,CAAC;IAUS,UAAU,CAAC,UAA+B;QAClD,MAAM,YAAY,GAAG,IAAI,CAAC,YAAY,CAAC;QACvC,MAAM,IAAI,GAAG,IA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IACpB,OAAO,CAAC,QAAQ,EAAE,CAAC;AACrB,CAAC;AAMD,uBAA0B,GAAwB;IAChD,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,GAAG,CAAC;IAC7B,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/BoundNodeCallbackObservable.js b/node_modules/rxjs/_esm2015/observable/BoundNodeCallbackObservable.js new file mode 100644 index 00000000..29dd781c --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/BoundNodeCallbackObservable.js @@ -0,0 +1,241 @@ +import { Observable } from '../Observable'; +import { tryCatch } from '../util/tryCatch'; +import { errorObject } from '../util/errorObject'; +import { AsyncSubject } from '../AsyncSubject'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class BoundNodeCallbackObservable extends Observable { + constructor(callbackFunc, selector, args, context, scheduler) { + super(); + this.callbackFunc = callbackFunc; + this.selector = selector; + this.args = args; + this.context = context; + this.scheduler = scheduler; + } + /* tslint:enable:max-line-length */ + /** + * Converts a Node.js-style callback API to a function that returns an + * Observable. + * + * It's just like {@link bindCallback}, but the + * callback is expected to be of type `callback(error, result)`. + * + * `bindNodeCallback` is not an operator because its input and output are not + * Observables. The input is a function `func` with some parameters, but the + * last parameter must be a callback function that `func` calls when it is + * done. The callback function is expected to follow Node.js conventions, + * where the first argument to the callback is an error object, signaling + * whether call was successful. If that object is passed to callback, it means + * something went wrong. + * + * The output of `bindNodeCallback` is a function that takes the same + * parameters as `func`, except the last one (the callback). When the output + * function is called with arguments, it will return an Observable. + * If `func` calls its callback with error parameter present, Observable will + * error with that value as well. If error parameter is not passed, Observable will emit + * second parameter. If there are more parameters (third and so on), + * Observable will emit an array with all arguments, except first error argument. + * + * Optionally `bindNodeCallback` accepts selector function, which allows you to + * make resulting Observable emit value computed by selector, instead of regular + * callback arguments. It works similarly to {@link bindCallback} selector, but + * Node.js-style error argument will never be passed to that function. + * + * Note that `func` will not be called at the same time output function is, + * but rather whenever resulting Observable is subscribed. By default call to + * `func` will happen synchronously after subscription, but that can be changed + * with proper {@link Scheduler} provided as optional third parameter. Scheduler + * can also control when values from callback will be emitted by Observable. + * To find out more, check out documentation for {@link bindCallback}, where + * Scheduler works exactly the same. + * + * As in {@link bindCallback}, context (`this` property) of input function will be set to context + * of returned function, when it is called. + * + * After Observable emits value, it will complete immediately. This means + * even if `func` calls callback again, values from second and consecutive + * calls will never appear on the stream. If you need to handle functions + * that call callbacks multiple times, check out {@link fromEvent} or + * {@link fromEventPattern} instead. + * + * Note that `bindNodeCallback` can be used in non-Node.js environments as well. + * "Node.js-style" callbacks are just a convention, so if you write for + * browsers or any other environment and API you use implements that callback style, + * `bindNodeCallback` can be safely used on that API functions as well. + * + * Remember that Error object passed to callback does not have to be an instance + * of JavaScript built-in `Error` object. In fact, it does not even have to an object. + * Error parameter of callback function is interpreted as "present", when value + * of that parameter is truthy. It could be, for example, non-zero number, non-empty + * string or boolean `true`. In all of these cases resulting Observable would error + * with that value. This means usually regular style callbacks will fail very often when + * `bindNodeCallback` is used. If your Observable errors much more often then you + * would expect, check if callback really is called in Node.js-style and, if not, + * switch to {@link bindCallback} instead. + * + * Note that even if error parameter is technically present in callback, but its value + * is falsy, it still won't appear in array emitted by Observable or in selector function. + * + * + * @example Read a file from the filesystem and get the data as an Observable + * import * as fs from 'fs'; + * var readFileAsObservable = Rx.Observable.bindNodeCallback(fs.readFile); + * var result = readFileAsObservable('./roadNames.txt', 'utf8'); + * result.subscribe(x => console.log(x), e => console.error(e)); + * + * + * @example Use on function calling callback with multiple arguments + * someFunction((err, a, b) => { + * console.log(err); // null + * console.log(a); // 5 + * console.log(b); // "some string" + * }); + * var boundSomeFunction = Rx.Observable.bindNodeCallback(someFunction); + * boundSomeFunction() + * .subscribe(value => { + * console.log(value); // [5, "some string"] + * }); + * + * + * @example Use with selector function + * someFunction((err, a, b) => { + * console.log(err); // undefined + * console.log(a); // "abc" + * console.log(b); // "DEF" + * }); + * var boundSomeFunction = Rx.Observable.bindNodeCallback(someFunction, (a, b) => a + b); + * boundSomeFunction() + * .subscribe(value => { + * console.log(value); // "abcDEF" + * }); + * + * + * @example Use on function calling callback in regular style + * someFunction(a => { + * console.log(a); // 5 + * }); + * var boundSomeFunction = Rx.Observable.bindNodeCallback(someFunction); + * boundSomeFunction() + * .subscribe( + * value => {} // never gets called + * err => console.log(err) // 5 + *); + * + * + * @see {@link bindCallback} + * @see {@link from} + * @see {@link fromPromise} + * + * @param {function} func Function with a Node.js-style callback as the last parameter. + * @param {function} [selector] A function which takes the arguments from the + * callback and maps those to a value to emit on the output Observable. + * @param {Scheduler} [scheduler] The scheduler on which to schedule the + * callbacks. + * @return {function(...params: *): Observable} A function which returns the + * Observable that delivers the same values the Node.js callback would + * deliver. + * @static true + * @name bindNodeCallback + * @owner Observable + */ + static create(func, selector = undefined, scheduler) { + return function (...args) { + return new BoundNodeCallbackObservable(func, selector, args, this, scheduler); + }; + } + _subscribe(subscriber) { + const callbackFunc = this.callbackFunc; + const args = this.args; + const scheduler = this.scheduler; + let subject = this.subject; + if (!scheduler) { + if (!subject) { + subject = this.subject = new AsyncSubject(); + const handler = function handlerFn(...innerArgs) { + const source = handlerFn.source; + const { selector, subject } = source; + const err = innerArgs.shift(); + if (err) { + subject.error(err); + } + else if (selector) { + const result = tryCatch(selector).apply(this, innerArgs); + if (result === errorObject) { + subject.error(errorObject.e); + } + else { + subject.next(result); + subject.complete(); + } + } + else { + subject.next(innerArgs.length <= 1 ? innerArgs[0] : innerArgs); + subject.complete(); + } + }; + // use named function instance to avoid closure. + handler.source = this; + const result = tryCatch(callbackFunc).apply(this.context, args.concat(handler)); + if (result === errorObject) { + subject.error(errorObject.e); + } + } + return subject.subscribe(subscriber); + } + else { + return scheduler.schedule(dispatch, 0, { source: this, subscriber, context: this.context }); + } + } +} +function dispatch(state) { + const self = this; + const { source, subscriber, context } = state; + // XXX: cast to `any` to access to the private field in `source`. + const { callbackFunc, args, scheduler } = source; + let subject = source.subject; + if (!subject) { + subject = source.subject = new AsyncSubject(); + const handler = function handlerFn(...innerArgs) { + const source = handlerFn.source; + const { selector, subject } = source; + const err = innerArgs.shift(); + if (err) { + self.add(scheduler.schedule(dispatchError, 0, { err, subject })); + } + else if (selector) { + const result = tryCatch(selector).apply(this, innerArgs); + if (result === errorObject) { + self.add(scheduler.schedule(dispatchError, 0, { err: errorObject.e, subject })); + } + else { + self.add(scheduler.schedule(dispatchNext, 0, { value: result, subject })); + } + } + else { + const value = innerArgs.length <= 1 ? innerArgs[0] : innerArgs; + self.add(scheduler.schedule(dispatchNext, 0, { value, subject })); + } + }; + // use named function to pass values in without closure + handler.source = source; + const result = tryCatch(callbackFunc).apply(context, args.concat(handler)); + if (result === errorObject) { + self.add(scheduler.schedule(dispatchError, 0, { err: errorObject.e, subject })); + } + } + self.add(subject.subscribe(subscriber)); +} +function dispatchNext(arg) { + const { value, subject } = arg; + subject.next(value); + subject.complete(); +} +function dispatchError(arg) { + const { err, subject } = arg; + subject.error(err); +} +//# sourceMappingURL=BoundNodeCallbackObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/BoundNodeCallbackObservable.js.map b/node_modules/rxjs/_esm2015/observable/BoundNodeCallbackObservable.js.map new file mode 100644 index 00000000..e51a39d2 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/BoundNodeCallbackObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"BoundNodeCallbackObservable.js","sourceRoot":"","sources":["../../src/observable/BoundNodeCallbackObservable.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,eAAe;OAKnC,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,YAAY,EAAE,MAAM,iBAAiB;AAE9C;;;;GAIG;AACH,iDAAoD,UAAU;IAoJ5D,YAAoB,YAAsB,EACtB,QAAk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KAAK,CAAC,CAAC;IACpB,OAAO,CAAC,QAAQ,EAAE,CAAC;AACrB,CAAC;AAMD,uBAA0B,GAAwB;IAChD,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,GAAG,CAAC;IAC7B,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ConnectableObservable.js b/node_modules/rxjs/_esm2015/observable/ConnectableObservable.js new file mode 100644 index 00000000..c7bfebaa --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/ConnectableObservable.js @@ -0,0 +1,156 @@ +import { SubjectSubscriber } from '../Subject'; +import { Observable } from '../Observable'; +import { Subscriber } from '../Subscriber'; +import { Subscription } from '../Subscription'; +import { refCount as higherOrderRefCount } from '../operators/refCount'; +/** + * @class ConnectableObservable + */ +export class ConnectableObservable extends Observable { + constructor(source, subjectFactory) { + super(); + this.source = source; + this.subjectFactory = subjectFactory; + this._refCount = 0; + this._isComplete = false; + } + _subscribe(subscriber) { + return this.getSubject().subscribe(subscriber); + } + getSubject() { + const subject = this._subject; + if (!subject || subject.isStopped) { + this._subject = this.subjectFactory(); + } + return this._subject; + } + connect() { + let connection = this._connection; + if (!connection) { + this._isComplete = false; + connection = this._connection = new Subscription(); + connection.add(this.source + .subscribe(new ConnectableSubscriber(this.getSubject(), this))); + if (connection.closed) { + this._connection = null; + connection = Subscription.EMPTY; + } + else { + this._connection = connection; + } + } + return connection; + } + refCount() { + return higherOrderRefCount()(this); + } +} +const connectableProto = ConnectableObservable.prototype; +export const connectableObservableDescriptor = { + operator: { value: null }, + _refCount: { value: 0, writable: true }, + _subject: { value: null, writable: true }, + _connection: { value: null, writable: true }, + _subscribe: { value: connectableProto._subscribe }, + _isComplete: { value: connectableProto._isComplete, writable: true }, + getSubject: { value: connectableProto.getSubject }, + connect: { value: connectableProto.connect }, + refCount: { value: connectableProto.refCount } +}; +class ConnectableSubscriber extends SubjectSubscriber { + constructor(destination, connectable) { + super(destination); + this.connectable = connectable; + } + _error(err) { + this._unsubscribe(); + super._error(err); + } + _complete() { + this.connectable._isComplete = true; + this._unsubscribe(); + super._complete(); + } + _unsubscribe() { + const connectable = this.connectable; + if (connectable) { + this.connectable = null; + const connection = connectable._connection; + connectable._refCount = 0; + connectable._subject = null; + connectable._connection = null; + if (connection) { + connection.unsubscribe(); + } + } + } +} +class RefCountOperator { + constructor(connectable) { + this.connectable = connectable; + } + call(subscriber, source) { + const { connectable } = this; + connectable._refCount++; + const refCounter = new RefCountSubscriber(subscriber, connectable); + const subscription = source.subscribe(refCounter); + if (!refCounter.closed) { + refCounter.connection = connectable.connect(); + } + return subscription; + } +} +class RefCountSubscriber extends Subscriber { + constructor(destination, connectable) { + super(destination); + this.connectable = connectable; + } + _unsubscribe() { + const { connectable } = this; + if (!connectable) { + this.connection = null; + return; + } + this.connectable = null; + const refCount = connectable._refCount; + if (refCount <= 0) { + this.connection = null; + return; + } + connectable._refCount = refCount - 1; + if (refCount > 1) { + this.connection = null; + return; + } + /// + // Compare the local RefCountSubscriber's connection Subscription to the + // connection Subscription on the shared ConnectableObservable. In cases + // where the ConnectableObservable source synchronously emits values, and + // the RefCountSubscriber's downstream Observers synchronously unsubscribe, + // execution continues to here before the RefCountOperator has a chance to + // supply the RefCountSubscriber with the shared connection Subscription. + // For example: + // ``` + // Observable.range(0, 10) + // .publish() + // .refCount() + // .take(5) + // .subscribe(); + // ``` + // In order to account for this case, RefCountSubscriber should only dispose + // the ConnectableObservable's shared connection Subscription if the + // connection Subscription exists, *and* either: + // a. RefCountSubscriber doesn't have a reference to the shared connection + // Subscription yet, or, + // b. RefCountSubscriber's connection Subscription reference is identical + // to the shared connection Subscription + /// + const { connection } = this; + const sharedConnection = connectable._connection; + this.connection = null; + if (sharedConnection && (!connection || sharedConnection === connection)) { + sharedConnection.unsubscribe(); + } + } +} +//# sourceMappingURL=ConnectableObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ConnectableObservable.js.map b/node_modules/rxjs/_esm2015/observable/ConnectableObservable.js.map new file mode 100644 index 00000000..74490a11 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/ConnectableObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ConnectableObservable.js","sourceRoot":"","sources":["../../src/observable/ConnectableObservable.ts"],"names":[],"mappings":"OAAO,EAAW,iBAAiB,EAAE,MAAM,YAAY;OAEhD,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,YAAY,EAAiB,MAAM,iBAAiB;OACtD,EAAE,QAAQ,IAAI,mBAAmB,EAAE,MAAM,uBAAuB;AAEvE;;GAEG;AACH,2CAA8C,UAAU;IAOtD,YAAsB,MAAqB,EACrB,cAAgC;QACpD,OAAO,CAAC;QAFY,WAAM,GAAN,MAAM,CAAe;QACrB,mBAAc,GAAd,cAAc,CAAkB;QAL5C,cAAS,GAAW,CAAC,CAAC;QAEhC,gBAAW,GAAG,KAAK,CAAC;IAKpB,CAAC;IAES,UAAU,CAAC,UAAyB;QAC5C,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;IACjD,CAAC;IAES,UAAU;QAClB,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC;QAC9B,EAAE,CAAC,CAAC,CAAC,OAAO,IAAI,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;YAClC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;QACxC,CAAC;QACD,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,OAAO;QACL,IAAI,UAAU,GAAG,IAAI,CAAC,WAAW,CAAC;QAClC,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;YAChB,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;YACzB,UAAU,GAAG,IAAI,CAAC,WAA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AAG;QACH,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;QAC5B,MAAM,gBAAgB,GAAU,WAAY,CAAC,WAAW,CAAC;QACzD,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QAEvB,EAAE,CAAC,CAAC,gBAAgB,IAAI,CAAC,CAAC,UAAU,IAAI,gBAAgB,KAAK,UAAU,CAAC,CAAC,CAAC,CAAC;YACzE,gBAAgB,CAAC,WAAW,EAAE,CAAC;QACjC,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/DeferObservable.js b/node_modules/rxjs/_esm2015/observable/DeferObservable.js new file mode 100644 index 00000000..1a92d385 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/DeferObservable.js @@ -0,0 +1,88 @@ +import { Observable } from '../Observable'; +import { subscribeToResult } from '../util/subscribeToResult'; +import { OuterSubscriber } from '../OuterSubscriber'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class DeferObservable extends Observable { + constructor(observableFactory) { + super(); + this.observableFactory = observableFactory; + } + /** + * Creates an Observable that, on subscribe, calls an Observable factory to + * make an Observable for each new Observer. + * + * Creates the Observable lazily, that is, only when it + * is subscribed. + * + * + * + * + * `defer` allows you to create the Observable only when the Observer + * subscribes, and create a fresh Observable for each Observer. It waits until + * an Observer subscribes to it, and then it generates an Observable, + * typically with an Observable factory function. It does this afresh for each + * subscriber, so although each subscriber may think it is subscribing to the + * same Observable, in fact each subscriber gets its own individual + * Observable. + * + * @example Subscribe to either an Observable of clicks or an Observable of interval, at random + * var clicksOrInterval = Rx.Observable.defer(function () { + * if (Math.random() > 0.5) { + * return Rx.Observable.fromEvent(document, 'click'); + * } else { + * return Rx.Observable.interval(1000); + * } + * }); + * clicksOrInterval.subscribe(x => console.log(x)); + * + * // Results in the following behavior: + * // If the result of Math.random() is greater than 0.5 it will listen + * // for clicks anywhere on the "document"; when document is clicked it + * // will log a MouseEvent object to the console. If the result is less + * // than 0.5 it will emit ascending numbers, one every second(1000ms). + * + * @see {@link create} + * + * @param {function(): SubscribableOrPromise} observableFactory The Observable + * factory function to invoke for each Observer that subscribes to the output + * Observable. May also return a Promise, which will be converted on the fly + * to an Observable. + * @return {Observable} An Observable whose Observers' subscriptions trigger + * an invocation of the given Observable factory function. + * @static true + * @name defer + * @owner Observable + */ + static create(observableFactory) { + return new DeferObservable(observableFactory); + } + _subscribe(subscriber) { + return new DeferSubscriber(subscriber, this.observableFactory); + } +} +class DeferSubscriber extends OuterSubscriber { + constructor(destination, factory) { + super(destination); + this.factory = factory; + this.tryDefer(); + } + tryDefer() { + try { + this._callFactory(); + } + catch (err) { + this._error(err); + } + } + _callFactory() { + const result = this.factory(); + if (result) { + this.add(subscribeToResult(this, result)); + } + } +} +//# sourceMappingURL=DeferObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/DeferObservable.js.map b/node_modules/rxjs/_esm2015/observable/DeferObservable.js.map new file mode 100644 index 00000000..262663ea --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/DeferObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"DeferObservable.js","sourceRoot":"","sources":["../../src/observable/DeferObservable.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAyB,MAAM,eAAe;OAI1D,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;OACtD,EAAE,eAAe,EAAE,MAAM,oBAAoB;AACpD;;;;GAIG;AACH,qCAAwC,UAAU;IAoDhD,YAAoB,iBAAwD;QAC1E,OAAO,CAAC;QADU,sBAAiB,GAAjB,iBAAiB,CAAuC;IAE5E,CAAC;IApDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,OAAO,MAAM,CAAI,iBAAwD;QACvE,MAAM,CAAC,IAAI,eAAe,CAAC,iBAAiB,CAAC,CAAC;IAChD,CAAC;IAMS,UAAU,CAAC,UAAyB;QAC5C,MAAM,CAAC,IAAI,eAAe,CAAC,UAAU,EAAE,IAAI,CAAC,iBAAiB,CAAC,CAAC;IACjE,CAAC;AACH,CAAC;AAED,8BAAiC,eAAe;IAC9C,YAAY,WAA0B,EAClB,OAA8C;QAChE,MAAM,WAAW,CAAC,CAAC;QADD,YAAO,GAAP,OAAO,CAAuC;QAEhE,IAAI,CAAC,QAAQ,EAAE,CAAC;IAClB,CAAC;IAEO,QAAQ;QACd,IAAI,CAAC;YACH,IAAI,CAAC,YAAY,EAAE,CAAC;QACtB,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;IACH,CAAC;IAEO,YAAY;QAClB,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;QAC9B,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;YACX,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;QAC5C,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/EmptyObservable.js b/node_modules/rxjs/_esm2015/observable/EmptyObservable.js new file mode 100644 index 00000000..28a28a48 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/EmptyObservable.js @@ -0,0 +1,72 @@ +import { Observable } from '../Observable'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class EmptyObservable extends Observable { + constructor(scheduler) { + super(); + this.scheduler = scheduler; + } + /** + * Creates an Observable that emits no items to the Observer and immediately + * emits a complete notification. + * + * Just emits 'complete', and nothing else. + * + * + * + * + * This static operator is useful for creating a simple Observable that only + * emits the complete notification. It can be used for composing with other + * Observables, such as in a {@link mergeMap}. + * + * @example Emit the number 7, then complete. + * var result = Rx.Observable.empty().startWith(7); + * result.subscribe(x => console.log(x)); + * + * @example Map and flatten only odd numbers to the sequence 'a', 'b', 'c' + * var interval = Rx.Observable.interval(1000); + * var result = interval.mergeMap(x => + * x % 2 === 1 ? Rx.Observable.of('a', 'b', 'c') : Rx.Observable.empty() + * ); + * result.subscribe(x => console.log(x)); + * + * // Results in the following to the console: + * // x is equal to the count on the interval eg(0,1,2,3,...) + * // x will occur every 1000ms + * // if x % 2 is equal to 1 print abc + * // if x % 2 is not equal to 1 nothing will be output + * + * @see {@link create} + * @see {@link never} + * @see {@link of} + * @see {@link throw} + * + * @param {Scheduler} [scheduler] A {@link IScheduler} to use for scheduling + * the emission of the complete notification. + * @return {Observable} An "empty" Observable: emits only the complete + * notification. + * @static true + * @name empty + * @owner Observable + */ + static create(scheduler) { + return new EmptyObservable(scheduler); + } + static dispatch(arg) { + const { subscriber } = arg; + subscriber.complete(); + } + _subscribe(subscriber) { + const scheduler = this.scheduler; + if (scheduler) { + return scheduler.schedule(EmptyObservable.dispatch, 0, { subscriber }); + } + else { + subscriber.complete(); + } + } +} +//# sourceMappingURL=EmptyObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/EmptyObservable.js.map b/node_modules/rxjs/_esm2015/observable/EmptyObservable.js.map new file mode 100644 index 00000000..66a12088 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/EmptyObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"EmptyObservable.js","sourceRoot":"","sources":["../../src/observable/EmptyObservable.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;AAO1C;;;;GAIG;AACH,qCAAwC,UAAU;IAsDhD,YAAoB,SAAsB;QACxC,OAAO,CAAC;QADU,cAAS,GAAT,SAAS,CAAa;IAE1C,CAAC;IAtDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;IACH,OAAO,MAAM,CAAI,SAAsB;QACrC,MAAM,CAAC,IAAI,eAAe,CAAI,SAAS,CAAC,CAAC;IAC3C,CAAC;IAED,OAAO,QAAQ,CAAI,GAAmB;QACpC,MAAM,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC;QAC3B,UAAU,CAAC,QAAQ,EAAE,CAAC;IACxB,CAAC;IAMS,UAAU,CAAC,UAAyB;QAE5C,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAEjC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;YACd,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,EAAE,EAAE,UAAU,EAAE,CAAC,CAAC;QACzE,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,UAAU,CAAC,QAAQ,EAAE,CAAC;QACxB,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ErrorObservable.js b/node_modules/rxjs/_esm2015/observable/ErrorObservable.js new file mode 100644 index 00000000..088b9310 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/ErrorObservable.js @@ -0,0 +1,74 @@ +import { Observable } from '../Observable'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class ErrorObservable extends Observable { + constructor(error, scheduler) { + super(); + this.error = error; + this.scheduler = scheduler; + } + /** + * Creates an Observable that emits no items to the Observer and immediately + * emits an error notification. + * + * Just emits 'error', and nothing else. + * + * + * + * + * This static operator is useful for creating a simple Observable that only + * emits the error notification. It can be used for composing with other + * Observables, such as in a {@link mergeMap}. + * + * @example Emit the number 7, then emit an error. + * var result = Rx.Observable.throw(new Error('oops!')).startWith(7); + * result.subscribe(x => console.log(x), e => console.error(e)); + * + * @example Map and flatten numbers to the sequence 'a', 'b', 'c', but throw an error for 13 + * var interval = Rx.Observable.interval(1000); + * var result = interval.mergeMap(x => + * x === 13 ? + * Rx.Observable.throw('Thirteens are bad') : + * Rx.Observable.of('a', 'b', 'c') + * ); + * result.subscribe(x => console.log(x), e => console.error(e)); + * + * @see {@link create} + * @see {@link empty} + * @see {@link never} + * @see {@link of} + * + * @param {any} error The particular Error to pass to the error notification. + * @param {Scheduler} [scheduler] A {@link IScheduler} to use for scheduling + * the emission of the error notification. + * @return {Observable} An error Observable: emits only the error notification + * using the given error argument. + * @static true + * @name throw + * @owner Observable + */ + static create(error, scheduler) { + return new ErrorObservable(error, scheduler); + } + static dispatch(arg) { + const { error, subscriber } = arg; + subscriber.error(error); + } + _subscribe(subscriber) { + const error = this.error; + const scheduler = this.scheduler; + subscriber.syncErrorThrowable = true; + if (scheduler) { + return scheduler.schedule(ErrorObservable.dispatch, 0, { + error, subscriber + }); + } + else { + subscriber.error(error); + } + } +} +//# sourceMappingURL=ErrorObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ErrorObservable.js.map b/node_modules/rxjs/_esm2015/observable/ErrorObservable.js.map new file mode 100644 index 00000000..68a45dd2 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/ErrorObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ErrorObservable.js","sourceRoot":"","sources":["../../src/observable/ErrorObservable.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAS1C;;;;GAIG;AACH,qCAAqC,UAAU;IAmD7C,YAAmB,KAAU,EAAU,SAAsB;QAC3D,OAAO,CAAC;QADS,UAAK,GAAL,KAAK,CAAK;QAAU,cAAS,GAAT,SAAS,CAAa;IAE7D,CAAC;IAnDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;IACH,OAAO,MAAM,CAAC,KAAU,EAAE,SAAsB;QAC9C,MAAM,CAAC,IAAI,eAAe,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;IAC/C,CAAC;IAED,OAAO,QAAQ,CAAC,GAAgB;QAC9B,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC;QAClC,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAC1B,CAAC;IAMS,UAAU,CAAC,UAA2B;QAC9C,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAEjC,UAAU,CAAC,kBAAkB,GAAG,IAAI,CAAC;QAErC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;YACd,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,EAAE;gBACrD,KAAK,EAAE,UAAU;aAClB,CAAC,CAAC;QACL,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAC1B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ForkJoinObservable.js b/node_modules/rxjs/_esm2015/observable/ForkJoinObservable.js new file mode 100644 index 00000000..b2766063 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/ForkJoinObservable.js @@ -0,0 +1,187 @@ +import { Observable } from '../Observable'; +import { EmptyObservable } from './EmptyObservable'; +import { isArray } from '../util/isArray'; +import { subscribeToResult } from '../util/subscribeToResult'; +import { OuterSubscriber } from '../OuterSubscriber'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class ForkJoinObservable extends Observable { + constructor(sources, resultSelector) { + super(); + this.sources = sources; + this.resultSelector = resultSelector; + } + /* tslint:enable:max-line-length */ + /** + * Joins last values emitted by passed Observables. + * + * Wait for Observables to complete and then combine last values they emitted. + * + * + * + * `forkJoin` is an operator that takes any number of Observables which can be passed either as an array + * or directly as arguments. If no input Observables are provided, resulting stream will complete + * immediately. + * + * `forkJoin` will wait for all passed Observables to complete and then it will emit an array with last + * values from corresponding Observables. So if you pass `n` Observables to the operator, resulting + * array will have `n` values, where first value is the last thing emitted by the first Observable, + * second value is the last thing emitted by the second Observable and so on. That means `forkJoin` will + * not emit more than once and it will complete after that. If you need to emit combined values not only + * at the end of lifecycle of passed Observables, but also throughout it, try out {@link combineLatest} + * or {@link zip} instead. + * + * In order for resulting array to have the same length as the number of input Observables, whenever any of + * that Observables completes without emitting any value, `forkJoin` will complete at that moment as well + * and it will not emit anything either, even if it already has some last values from other Observables. + * Conversely, if there is an Observable that never completes, `forkJoin` will never complete as well, + * unless at any point some other Observable completes without emitting value, which brings us back to + * the previous case. Overall, in order for `forkJoin` to emit a value, all Observables passed as arguments + * have to emit something at least once and complete. + * + * If any input Observable errors at some point, `forkJoin` will error as well and all other Observables + * will be immediately unsubscribed. + * + * Optionally `forkJoin` accepts project function, that will be called with values which normally + * would land in emitted array. Whatever is returned by project function, will appear in output + * Observable instead. This means that default project can be thought of as a function that takes + * all its arguments and puts them into an array. Note that project function will be called only + * when output Observable is supposed to emit a result. + * + * @example Use forkJoin with operator emitting immediately + * const observable = Rx.Observable.forkJoin( + * Rx.Observable.of(1, 2, 3, 4), + * Rx.Observable.of(5, 6, 7, 8) + * ); + * observable.subscribe( + * value => console.log(value), + * err => {}, + * () => console.log('This is how it ends!') + * ); + * + * // Logs: + * // [4, 8] + * // "This is how it ends!" + * + * + * @example Use forkJoin with operator emitting after some time + * const observable = Rx.Observable.forkJoin( + * Rx.Observable.interval(1000).take(3), // emit 0, 1, 2 every second and complete + * Rx.Observable.interval(500).take(4) // emit 0, 1, 2, 3 every half a second and complete + * ); + * observable.subscribe( + * value => console.log(value), + * err => {}, + * () => console.log('This is how it ends!') + * ); + * + * // Logs: + * // [2, 3] after 3 seconds + * // "This is how it ends!" immediately after + * + * + * @example Use forkJoin with project function + * const observable = Rx.Observable.forkJoin( + * Rx.Observable.interval(1000).take(3), // emit 0, 1, 2 every second and complete + * Rx.Observable.interval(500).take(4), // emit 0, 1, 2, 3 every half a second and complete + * (n, m) => n + m + * ); + * observable.subscribe( + * value => console.log(value), + * err => {}, + * () => console.log('This is how it ends!') + * ); + * + * // Logs: + * // 5 after 3 seconds + * // "This is how it ends!" immediately after + * + * @see {@link combineLatest} + * @see {@link zip} + * + * @param {...SubscribableOrPromise} sources Any number of Observables provided either as an array or as an arguments + * passed directly to the operator. + * @param {function} [project] Function that takes values emitted by input Observables and returns value + * that will appear in resulting Observable instead of default array. + * @return {Observable} Observable emitting either an array of last values emitted by passed Observables + * or value from project function. + * @static true + * @name forkJoin + * @owner Observable + */ + static create(...sources) { + if (sources === null || arguments.length === 0) { + return new EmptyObservable(); + } + let resultSelector = null; + if (typeof sources[sources.length - 1] === 'function') { + resultSelector = sources.pop(); + } + // if the first and only other argument besides the resultSelector is an array + // assume it's been called with `forkJoin([obs1, obs2, obs3], resultSelector)` + if (sources.length === 1 && isArray(sources[0])) { + sources = sources[0]; + } + if (sources.length === 0) { + return new EmptyObservable(); + } + return new ForkJoinObservable(sources, resultSelector); + } + _subscribe(subscriber) { + return new ForkJoinSubscriber(subscriber, this.sources, this.resultSelector); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class ForkJoinSubscriber extends OuterSubscriber { + constructor(destination, sources, resultSelector) { + super(destination); + this.sources = sources; + this.resultSelector = resultSelector; + this.completed = 0; + this.haveValues = 0; + const len = sources.length; + this.total = len; + this.values = new Array(len); + for (let i = 0; i < len; i++) { + const source = sources[i]; + const innerSubscription = subscribeToResult(this, source, null, i); + if (innerSubscription) { + innerSubscription.outerIndex = i; + this.add(innerSubscription); + } + } + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + this.values[outerIndex] = innerValue; + if (!innerSub._hasValue) { + innerSub._hasValue = true; + this.haveValues++; + } + } + notifyComplete(innerSub) { + const destination = this.destination; + const { haveValues, resultSelector, values } = this; + const len = values.length; + if (!innerSub._hasValue) { + destination.complete(); + return; + } + this.completed++; + if (this.completed !== len) { + return; + } + if (haveValues === len) { + const value = resultSelector ? resultSelector.apply(this, values) : values; + destination.next(value); + } + destination.complete(); + } +} +//# sourceMappingURL=ForkJoinObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ForkJoinObservable.js.map b/node_modules/rxjs/_esm2015/observable/ForkJoinObservable.js.map new file mode 100644 index 00000000..ee3aa5e9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/ForkJoinObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ForkJoinObservable.js","sourceRoot":"","sources":["../../src/observable/ForkJoinObservable.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAyB,MAAM,eAAe;OAG1D,EAAE,eAAe,EAAE,MAAM,mBAAmB;OAC5C,EAAE,OAAO,EAAE,MAAM,iBAAiB;OAElC,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;OACtD,EAAE,eAAe,EAAE,MAAM,oBAAoB;AAGpD;;;;GAIG;AACH,wCAA2C,UAAU;IACnD,YAAoB,OAA0C,EAC1C,cAA6C;QAC/D,OAAO,CAAC;QAFU,YAAO,GAAP,OAAO,CAAmC;QAC1C,mBAAc,GAAd,cAAc,CAA+B;IAEjE,CAAC;IAoBD,mCAAmC;IAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgGG;IACH,OAAO,MAAM,CAAI,GAAG,OAE6C;QAC/D,EAAE,CAAC,CAAC,OAAO,KAAK,IAAI,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;YAC/C,MAAM,CAAC,IAAI,eAAe,EAAK,CAAC;QAClC,CAAC;QAED,IAAI,cAAc,GAAmC,IAAI,CAAC;QAC1D,EAAE,CAAC,CAAC,OAAO,OAAO,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC;YACtD,cAAc,GAAmC,OAAO,CAAC,GAAG,EAAE,CAAC;QACjE,CAAC;QAED,8EAA8E;QAC9E,8EAA8E;QAC9E,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,KA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m2015/observable/FromEventObservable.js new file mode 100644 index 00000000..40a45d94 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/FromEventObservable.js @@ -0,0 +1,203 @@ +import { Observable } from '../Observable'; +import { tryCatch } from '../util/tryCatch'; +import { isFunction } from '../util/isFunction'; +import { errorObject } from '../util/errorObject'; +import { Subscription } from '../Subscription'; +const toString = Object.prototype.toString; +function isNodeStyleEventEmitter(sourceObj) { + return !!sourceObj && typeof sourceObj.addListener === 'function' && typeof sourceObj.removeListener === 'function'; +} +function isJQueryStyleEventEmitter(sourceObj) { + return !!sourceObj && typeof sourceObj.on === 'function' && typeof sourceObj.off === 'function'; +} +function isNodeList(sourceObj) { + return !!sourceObj && toString.call(sourceObj) === '[object NodeList]'; +} +function isHTMLCollection(sourceObj) { + return !!sourceObj && toString.call(sourceObj) === '[object HTMLCollection]'; +} +function isEventTarget(sourceObj) { + return !!sourceObj && typeof sourceObj.addEventListener === 'function' && typeof sourceObj.removeEventListener === 'function'; +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class FromEventObservable extends Observable { + constructor(sourceObj, eventName, selector, options) { + super(); + this.sourceObj = sourceObj; + this.eventName = eventName; + this.selector = selector; + this.options = options; + } + /* tslint:enable:max-line-length */ + /** + * Creates an Observable that emits events of a specific type coming from the + * given event target. + * + * Creates an Observable from DOM events, or Node.js + * EventEmitter events or others. + * + * + * + * `fromEvent` accepts as a first argument event target, which is an object with methods + * for registering event handler functions. As a second argument it takes string that indicates + * type of event we want to listen for. `fromEvent` supports selected types of event targets, + * which are described in detail below. If your event target does not match any of the ones listed, + * you should use {@link fromEventPattern}, which can be used on arbitrary APIs. + * When it comes to APIs supported by `fromEvent`, their methods for adding and removing event + * handler functions have different names, but they all accept a string describing event type + * and function itself, which will be called whenever said event happens. + * + * Every time resulting Observable is subscribed, event handler function will be registered + * to event target on given event type. When that event fires, value + * passed as a first argument to registered function will be emitted by output Observable. + * When Observable is unsubscribed, function will be unregistered from event target. + * + * Note that if event target calls registered function with more than one argument, second + * and following arguments will not appear in resulting stream. In order to get access to them, + * you can pass to `fromEvent` optional project function, which will be called with all arguments + * passed to event handler. Output Observable will then emit value returned by project function, + * instead of the usual value. + * + * Remember that event targets listed below are checked via duck typing. It means that + * no matter what kind of object you have and no matter what environment you work in, + * you can safely use `fromEvent` on that object if it exposes described methods (provided + * of course they behave as was described above). So for example if Node.js library exposes + * event target which has the same method names as DOM EventTarget, `fromEvent` is still + * a good choice. + * + * If the API you use is more callback then event handler oriented (subscribed + * callback function fires only once and thus there is no need to manually + * unregister it), you should use {@link bindCallback} or {@link bindNodeCallback} + * instead. + * + * `fromEvent` supports following types of event targets: + * + * **DOM EventTarget** + * + * This is an object with `addEventListener` and `removeEventListener` methods. + * + * In the browser, `addEventListener` accepts - apart from event type string and event + * handler function arguments - optional third parameter, which is either an object or boolean, + * both used for additional configuration how and when passed function will be called. When + * `fromEvent` is used with event target of that type, you can provide this values + * as third parameter as well. + * + * **Node.js EventEmitter** + * + * An object with `addListener` and `removeListener` methods. + * + * **JQuery-style event target** + * + * An object with `on` and `off` methods + * + * **DOM NodeList** + * + * List of DOM Nodes, returned for example by `document.querySelectorAll` or `Node.childNodes`. + * + * Although this collection is not event target in itself, `fromEvent` will iterate over all Nodes + * it contains and install event handler function in every of them. When returned Observable + * is unsubscribed, function will be removed from all Nodes. + * + * **DOM HtmlCollection** + * + * Just as in case of NodeList it is a collection of DOM nodes. Here as well event handler function is + * installed and removed in each of elements. + * + * + * @example Emits clicks happening on the DOM document + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * clicks.subscribe(x => console.log(x)); + * + * // Results in: + * // MouseEvent object logged to console every time a click + * // occurs on the document. + * + * + * @example Use addEventListener with capture option + * var clicksInDocument = Rx.Observable.fromEvent(document, 'click', true); // note optional configuration parameter + * // which will be passed to addEventListener + * var clicksInDiv = Rx.Observable.fromEvent(someDivInDocument, 'click'); + * + * clicksInDocument.subscribe(() => console.log('document')); + * clicksInDiv.subscribe(() => console.log('div')); + * + * // By default events bubble UP in DOM tree, so normally + * // when we would click on div in document + * // "div" would be logged first and then "document". + * // Since we specified optional `capture` option, document + * // will catch event when it goes DOWN DOM tree, so console + * // will log "document" and then "div". + * + * @see {@link bindCallback} + * @see {@link bindNodeCallback} + * @see {@link fromEventPattern} + * + * @param {EventTargetLike} target The DOM EventTarget, Node.js + * EventEmitter, JQuery-like event target, NodeList or HTMLCollection to attach the event handler to. + * @param {string} eventName The event name of interest, being emitted by the + * `target`. + * @param {EventListenerOptions} [options] Options to pass through to addEventListener + * @param {SelectorMethodSignature} [selector] An optional function to + * post-process results. It takes the arguments from the event handler and + * should return a single value. + * @return {Observable} + * @static true + * @name fromEvent + * @owner Observable + */ + static create(target, eventName, options, selector) { + if (isFunction(options)) { + selector = options; + options = undefined; + } + return new FromEventObservable(target, eventName, selector, options); + } + static setupSubscription(sourceObj, eventName, handler, subscriber, options) { + let unsubscribe; + if (isNodeList(sourceObj) || isHTMLCollection(sourceObj)) { + for (let i = 0, len = sourceObj.length; i < len; i++) { + FromEventObservable.setupSubscription(sourceObj[i], eventName, handler, subscriber, options); + } + } + else if (isEventTarget(sourceObj)) { + const source = sourceObj; + sourceObj.addEventListener(eventName, handler, options); + unsubscribe = () => source.removeEventListener(eventName, handler, options); + } + else if (isJQueryStyleEventEmitter(sourceObj)) { + const source = sourceObj; + sourceObj.on(eventName, handler); + unsubscribe = () => source.off(eventName, handler); + } + else if (isNodeStyleEventEmitter(sourceObj)) { + const source = sourceObj; + sourceObj.addListener(eventName, handler); + unsubscribe = () => source.removeListener(eventName, handler); + } + else { + throw new TypeError('Invalid event target'); + } + subscriber.add(new Subscription(unsubscribe)); + } + _subscribe(subscriber) { + const sourceObj = this.sourceObj; + const eventName = this.eventName; + const options = this.options; + const selector = this.selector; + let handler = selector ? (...args) => { + let result = tryCatch(selector)(...args); + if (result === errorObject) { + subscriber.error(errorObject.e); + } + else { + subscriber.next(result); + } + } : (e) => subscriber.next(e); + FromEventObservable.setupSubscription(sourceObj, eventName, handler, subscriber, options); + } +} +//# sourceMappingURL=FromEventObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/FromEventObservable.js.map b/node_modules/rxjs/_esm2015/observable/FromEventObservable.js.map new file mode 100644 index 00000000..02686032 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/FromEventObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"FromEventObservable.js","sourceRoot":"","sources":["../../src/observable/FromEventObservable.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,UAAU,EAAE,MAAM,oBAAoB;OACxC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,YAAY,EAAE,MAAM,iBAAiB;AAG9C,MAAM,QAAQ,GAAa,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC;AAMrD,iCAAiC,SAAc;IAC7C,MAAM,CAAC,CAAC,CAAC,SAAS,IAAI,OAAO,SAAS,CAAC,WAAW,KAAK,UAAU,IAAI,OAAO,SAAS,CAAC,cAAc,KAAK,UAAU,CAAC;AACtH,CAAC;AAMD,mCAAmC,SAAc;IAC/C,MAAM,CAAC,CAAC,CAAC,SAAS,IAAI,OAAO,SAAS,CAAC,EAAE,KAAK,UAAU,IAAI,OAAO,SAAS,CAAC,GAAG,KAAK,UAAU,CAAC;AAClG,CAAC;AAED,oBAAoB,SAAc;IAChC,MAAM,CAAC,CAAC,CAAC,SAAS,IAAI,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,mBAAmB,CAAC;AACzE,CAAC;AAED,0BAA0B,SAAc;IACtC,MAAM,CAAC,CAAC,CAAC,SAAS,IAAI,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,yBAAyB,CAAC;AAC/E,CAAC;AAED,uBAAuB,SAAc;IACnC,MAAM,CAAC,CAAC,CAAC,SAAS,IAA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QACjC,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC7B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QAC/B,IAAI,OAAO,GAAG,QAAQ,GAAG,CAAC,GAAG,IAAW;YACtC,IAAI,MAAM,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;YACzC,EAAE,CAAC,CAAC,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC;gBAC3B,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YAClC,CAAC;YAAC,IAAI,CAAC,CAAC;gBACN,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAC1B,CAAC;QACH,CAAC,GAAG,CAAC,CAAM,KAAK,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAEnC,mBAAmB,CAAC,iBAAiB,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IAC5F,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/FromEventPatternObservable.js b/node_modules/rxjs/_esm2015/observable/FromEventPatternObservable.js new file mode 100644 index 00000000..c7a4f7ac --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/FromEventPatternObservable.js @@ -0,0 +1,99 @@ +import { isFunction } from '../util/isFunction'; +import { Observable } from '../Observable'; +import { Subscription } from '../Subscription'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class FromEventPatternObservable extends Observable { + constructor(addHandler, removeHandler, selector) { + super(); + this.addHandler = addHandler; + this.removeHandler = removeHandler; + this.selector = selector; + } + /** + * Creates an Observable from an API based on addHandler/removeHandler + * functions. + * + * Converts any addHandler/removeHandler API to an + * Observable. + * + * + * + * Creates an Observable by using the `addHandler` and `removeHandler` + * functions to add and remove the handlers, with an optional selector + * function to project the event arguments to a result. The `addHandler` is + * called when the output Observable is subscribed, and `removeHandler` is + * called when the Subscription is unsubscribed. + * + * @example Emits clicks happening on the DOM document + * function addClickHandler(handler) { + * document.addEventListener('click', handler); + * } + * + * function removeClickHandler(handler) { + * document.removeEventListener('click', handler); + * } + * + * var clicks = Rx.Observable.fromEventPattern( + * addClickHandler, + * removeClickHandler + * ); + * clicks.subscribe(x => console.log(x)); + * + * @see {@link from} + * @see {@link fromEvent} + * + * @param {function(handler: Function): any} addHandler A function that takes + * a `handler` function as argument and attaches it somehow to the actual + * source of events. + * @param {function(handler: Function, signal?: any): void} [removeHandler] An optional function that + * takes a `handler` function as argument and removes it in case it was + * previously attached using `addHandler`. if addHandler returns signal to teardown when remove, + * removeHandler function will forward it. + * @param {function(...args: any): T} [selector] An optional function to + * post-process results. It takes the arguments from the event handler and + * should return a single value. + * @return {Observable} + * @static true + * @name fromEventPattern + * @owner Observable + */ + static create(addHandler, removeHandler, selector) { + return new FromEventPatternObservable(addHandler, removeHandler, selector); + } + _subscribe(subscriber) { + const removeHandler = this.removeHandler; + const handler = !!this.selector ? (...args) => { + this._callSelector(subscriber, args); + } : function (e) { subscriber.next(e); }; + const retValue = this._callAddHandler(handler, subscriber); + if (!isFunction(removeHandler)) { + return; + } + subscriber.add(new Subscription(() => { + //TODO: determine whether or not to forward to error handler + removeHandler(handler, retValue); + })); + } + _callSelector(subscriber, args) { + try { + const result = this.selector(...args); + subscriber.next(result); + } + catch (e) { + subscriber.error(e); + } + } + _callAddHandler(handler, errorSubscriber) { + try { + return this.addHandler(handler) || null; + } + catch (e) { + errorSubscriber.error(e); + } + } +} +//# sourceMappingURL=FromEventPatternObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/FromEventPatternObservable.js.map b/node_modules/rxjs/_esm2015/observable/FromEventPatternObservable.js.map new file mode 100644 index 00000000..81402685 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/FromEventPatternObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"FromEvent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AAC,CAAC,CAAC,CAAC;IACN,CAAC;IAEO,aAAa,CAAC,UAAyB,EAAE,IAAgB;QAC/D,IAAI,CAAC;YACH,MAAM,MAAM,GAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC;YACzC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC1B,CACA;QAAA,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YACT,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACtB,CAAC;IACH,CAAC;IAEO,eAAe,CAAC,OAAyB,EAAE,eAA8B;QAC/E,IAAI,CAAC;YACH,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC;QAC1C,CACA;QAAA,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YACT,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/FromObservable.js b/node_modules/rxjs/_esm2015/observable/FromObservable.js new file mode 100644 index 00000000..f8615196 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/FromObservable.js @@ -0,0 +1,113 @@ +import { isArray } from '../util/isArray'; +import { isArrayLike } from '../util/isArrayLike'; +import { isPromise } from '../util/isPromise'; +import { PromiseObservable } from './PromiseObservable'; +import { IteratorObservable } from './IteratorObservable'; +import { ArrayObservable } from './ArrayObservable'; +import { ArrayLikeObservable } from './ArrayLikeObservable'; +import { iterator as Symbol_iterator } from '../symbol/iterator'; +import { Observable } from '../Observable'; +import { ObserveOnSubscriber } from '../operators/observeOn'; +import { observable as Symbol_observable } from '../symbol/observable'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class FromObservable extends Observable { + constructor(ish, scheduler) { + super(null); + this.ish = ish; + this.scheduler = scheduler; + } + /** + * Creates an Observable from an Array, an array-like object, a Promise, an + * iterable object, or an Observable-like object. + * + * Converts almost anything to an Observable. + * + * + * + * Convert various other objects and data types into Observables. `from` + * converts a Promise or an array-like or an + * [iterable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#iterable) + * object into an Observable that emits the items in that promise or array or + * iterable. A String, in this context, is treated as an array of characters. + * Observable-like objects (contains a function named with the ES2015 Symbol + * for Observable) can also be converted through this operator. + * + * @example Converts an array to an Observable + * var array = [10, 20, 30]; + * var result = Rx.Observable.from(array); + * result.subscribe(x => console.log(x)); + * + * // Results in the following: + * // 10 20 30 + * + * @example Convert an infinite iterable (from a generator) to an Observable + * function* generateDoubles(seed) { + * var i = seed; + * while (true) { + * yield i; + * i = 2 * i; // double it + * } + * } + * + * var iterator = generateDoubles(3); + * var result = Rx.Observable.from(iterator).take(10); + * result.subscribe(x => console.log(x)); + * + * // Results in the following: + * // 3 6 12 24 48 96 192 384 768 1536 + * + * @see {@link create} + * @see {@link fromEvent} + * @see {@link fromEventPattern} + * @see {@link fromPromise} + * + * @param {ObservableInput} ish A subscribable object, a Promise, an + * Observable-like, an Array, an iterable or an array-like object to be + * converted. + * @param {Scheduler} [scheduler] The scheduler on which to schedule the + * emissions of values. + * @return {Observable} The Observable whose values are originally from the + * input object that was converted. + * @static true + * @name from + * @owner Observable + */ + static create(ish, scheduler) { + if (ish != null) { + if (typeof ish[Symbol_observable] === 'function') { + if (ish instanceof Observable && !scheduler) { + return ish; + } + return new FromObservable(ish, scheduler); + } + else if (isArray(ish)) { + return new ArrayObservable(ish, scheduler); + } + else if (isPromise(ish)) { + return new PromiseObservable(ish, scheduler); + } + else if (typeof ish[Symbol_iterator] === 'function' || typeof ish === 'string') { + return new IteratorObservable(ish, scheduler); + } + else if (isArrayLike(ish)) { + return new ArrayLikeObservable(ish, scheduler); + } + } + throw new TypeError((ish !== null && typeof ish || ish) + ' is not observable'); + } + _subscribe(subscriber) { + const ish = this.ish; + const scheduler = this.scheduler; + if (scheduler == null) { + return ish[Symbol_observable]().subscribe(subscriber); + } + else { + return ish[Symbol_observable]().subscribe(new ObserveOnSubscriber(subscriber, scheduler, 0)); + } + } +} +//# sourceMappingURL=FromObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/FromObservable.js.map b/node_modules/rxjs/_esm2015/observable/FromObservable.js.map new file mode 100644 index 00000000..27ba6e6e --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/FromObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"FromObservable.js","sourceRoot":"","sources":["../../src/observable/FromObservable.ts"],"names":[],"mappings":"OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB;OAClC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,SAAS,EAAE,MAAM,mBAAmB;OACtC,EAAE,iBAAiB,EAAE,MAAM,qBAAqB;OAChD,EAAE,kBAAkB,EAAE,MAAK,sBAAsB;OACjD,EAAE,eAAe,EAAE,MAAM,mBAAmB;OAC5C,EAAE,mBAAmB,EAAE,MAAM,uBAAuB;OAGpD,EAAE,QAAQ,IAAI,eAAe,EAAE,MAAM,oBAAoB;OACzD,EAAE,UAAU,EAAmB,MAAM,eAAe;OAEpD,EAAE,mBAAmB,EAAE,MAAM,wBAAwB;OACrD,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,sBAAsB;AAEtE;;;;GAIG;AACH,oCAAuC,UAAU;IAC/C,YAAoB,GAAuB,EAAU,SAAsB;QACzE,MAAM,IAAI,CAAC,CAAC;QADM,QAAG,GAAH,GAAG,CAAoB;QAAU,cAAS,GAAT,SAAS,CAAa;IAE3E,CAAC;IAKD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuDG;IACH,OAAO,MAAM,CAAI,GAAuB,EAAE,SAAsB;QAC9D,EAAE,CAAC,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAC;YAChB,EAAE,CAAC,CAAC,OAAO,GA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AAS,IAAI,IAAI,CAAC,CAAC,CAAC;YACtB,MAAM,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QACxD,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,mBAAmB,CAAC,UAAU,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC;QAC/F,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/GenerateObservable.js b/node_modules/rxjs/_esm2015/observable/GenerateObservable.js new file mode 100644 index 00000000..a5163bc9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/GenerateObservable.js @@ -0,0 +1,126 @@ +import { Observable } from '../Observable'; +import { isScheduler } from '../util/isScheduler'; +const selfSelector = (value) => value; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class GenerateObservable extends Observable { + constructor(initialState, condition, iterate, resultSelector, scheduler) { + super(); + this.initialState = initialState; + this.condition = condition; + this.iterate = iterate; + this.resultSelector = resultSelector; + this.scheduler = scheduler; + } + static create(initialStateOrOptions, condition, iterate, resultSelectorOrObservable, scheduler) { + if (arguments.length == 1) { + return new GenerateObservable(initialStateOrOptions.initialState, initialStateOrOptions.condition, initialStateOrOptions.iterate, initialStateOrOptions.resultSelector || selfSelector, initialStateOrOptions.scheduler); + } + if (resultSelectorOrObservable === undefined || isScheduler(resultSelectorOrObservable)) { + return new GenerateObservable(initialStateOrOptions, condition, iterate, selfSelector, resultSelectorOrObservable); + } + return new GenerateObservable(initialStateOrOptions, condition, iterate, resultSelectorOrObservable, scheduler); + } + _subscribe(subscriber) { + let state = this.initialState; + if (this.scheduler) { + return this.scheduler.schedule(GenerateObservable.dispatch, 0, { + subscriber, + iterate: this.iterate, + condition: this.condition, + resultSelector: this.resultSelector, + state }); + } + const { condition, resultSelector, iterate } = this; + do { + if (condition) { + let conditionResult; + try { + conditionResult = condition(state); + } + catch (err) { + subscriber.error(err); + return; + } + if (!conditionResult) { + subscriber.complete(); + break; + } + } + let value; + try { + value = resultSelector(state); + } + catch (err) { + subscriber.error(err); + return; + } + subscriber.next(value); + if (subscriber.closed) { + break; + } + try { + state = iterate(state); + } + catch (err) { + subscriber.error(err); + return; + } + } while (true); + } + static dispatch(state) { + const { subscriber, condition } = state; + if (subscriber.closed) { + return; + } + if (state.needIterate) { + try { + state.state = state.iterate(state.state); + } + catch (err) { + subscriber.error(err); + return; + } + } + else { + state.needIterate = true; + } + if (condition) { + let conditionResult; + try { + conditionResult = condition(state.state); + } + catch (err) { + subscriber.error(err); + return; + } + if (!conditionResult) { + subscriber.complete(); + return; + } + if (subscriber.closed) { + return; + } + } + let value; + try { + value = state.resultSelector(state.state); + } + catch (err) { + subscriber.error(err); + return; + } + if (subscriber.closed) { + return; + } + subscriber.next(value); + if (subscriber.closed) { + return; + } + return this.schedule(state); + } +} +//# sourceMappingURL=GenerateObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/GenerateObservable.js.map b/node_modules/rxjs/_esm2015/observable/GenerateObservable.js.map new file mode 100644 index 00000000..de2d561b --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/GenerateObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GenerateObservable.js","sourceRoot":"","sources":["../../src/observable/GenerateObservable.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;OAGnC,EAAE,WAAW,EAAE,MAAM,qBAAqB;AAEjD,MAAM,YAAY,GAAG,CAAI,KAAQ,KAAK,KAAK,CAAC;AA4C5C;;;;GAIG;AACH,wCAA8C,UAAU;IACtD,YAAoB,YAAe,EACf,SAA2B,EAC3B,OAAuB,EACvB,cAAgC,EAChC,SAAsB;QACtC,OAAO,CAAC;QALQ,iBAAY,GAAZ,YAAY,CAAG;QACf,cAAS,GAA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U,CAAC,MAAM,CAAC,CAAC,CAAC;YACtB,MAAM,CAAC;QACT,CAAC;QACD,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACvB,EAAE,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;YACtB,MAAM,CAAC;QACT,CAAC;QACD,MAAM,CAAqC,IAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACnE,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/IfObservable.js b/node_modules/rxjs/_esm2015/observable/IfObservable.js new file mode 100644 index 00000000..78f91ff3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/IfObservable.js @@ -0,0 +1,50 @@ +import { Observable } from '../Observable'; +import { subscribeToResult } from '../util/subscribeToResult'; +import { OuterSubscriber } from '../OuterSubscriber'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class IfObservable extends Observable { + constructor(condition, thenSource, elseSource) { + super(); + this.condition = condition; + this.thenSource = thenSource; + this.elseSource = elseSource; + } + static create(condition, thenSource, elseSource) { + return new IfObservable(condition, thenSource, elseSource); + } + _subscribe(subscriber) { + const { condition, thenSource, elseSource } = this; + return new IfSubscriber(subscriber, condition, thenSource, elseSource); + } +} +class IfSubscriber extends OuterSubscriber { + constructor(destination, condition, thenSource, elseSource) { + super(destination); + this.condition = condition; + this.thenSource = thenSource; + this.elseSource = elseSource; + this.tryIf(); + } + tryIf() { + const { condition, thenSource, elseSource } = this; + let result; + try { + result = condition(); + const source = result ? thenSource : elseSource; + if (source) { + this.add(subscribeToResult(this, source)); + } + else { + this._complete(); + } + } + catch (err) { + this._error(err); + } + } +} +//# sourceMappingURL=IfObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/IfObservable.js.map b/node_modules/rxjs/_esm2015/observable/IfObservable.js.map new file mode 100644 index 00000000..6e9cf9e0 --- /dev/null +++ b/node_modules/rxjs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9B,MAAM,MAAM,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,CAAC;YAEhD,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;gBACX,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;YAC5C,CAAC;YAAC,IAAI,CAAC,CAAC;gBACN,IAAI,CAAC,SAAS,EAAE,CAAC;YACnB,CAAC;QACH,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/IntervalObservable.js b/node_modules/rxjs/_esm2015/observable/IntervalObservable.js new file mode 100644 index 00000000..e2fb3f00 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/IntervalObservable.js @@ -0,0 +1,75 @@ +import { isNumeric } from '../util/isNumeric'; +import { Observable } from '../Observable'; +import { async } from '../scheduler/async'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class IntervalObservable extends Observable { + constructor(period = 0, scheduler = async) { + super(); + this.period = period; + this.scheduler = scheduler; + if (!isNumeric(period) || period < 0) { + this.period = 0; + } + if (!scheduler || typeof scheduler.schedule !== 'function') { + this.scheduler = async; + } + } + /** + * Creates an Observable that emits sequential numbers every specified + * interval of time, on a specified IScheduler. + * + * Emits incremental numbers periodically in time. + * + * + * + * + * `interval` returns an Observable that emits an infinite sequence of + * ascending integers, with a constant interval of time of your choosing + * between those emissions. The first emission is not sent immediately, but + * only after the first period has passed. By default, this operator uses the + * `async` IScheduler to provide a notion of time, but you may pass any + * IScheduler to it. + * + * @example Emits ascending numbers, one every second (1000ms) + * var numbers = Rx.Observable.interval(1000); + * numbers.subscribe(x => console.log(x)); + * + * @see {@link timer} + * @see {@link delay} + * + * @param {number} [period=0] The interval size in milliseconds (by default) + * or the time unit determined by the scheduler's clock. + * @param {Scheduler} [scheduler=async] The IScheduler to use for scheduling + * the emission of values, and providing a notion of "time". + * @return {Observable} An Observable that emits a sequential number each time + * interval. + * @static true + * @name interval + * @owner Observable + */ + static create(period = 0, scheduler = async) { + return new IntervalObservable(period, scheduler); + } + static dispatch(state) { + const { index, subscriber, period } = state; + subscriber.next(index); + if (subscriber.closed) { + return; + } + state.index += 1; + this.schedule(state, period); + } + _subscribe(subscriber) { + const index = 0; + const period = this.period; + const scheduler = this.scheduler; + subscriber.add(scheduler.schedule(IntervalObservable.dispatch, period, { + index, subscriber, period + })); + } +} +//# sourceMappingURL=IntervalObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/IntervalObservable.js.map b/node_modules/rxjs/_esm2015/observable/IntervalObservable.js.map new file mode 100644 index 00000000..c3daf022 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/IntervalObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IntervalObservable.js","sourceRoot":"","sources":["../../src/observable/IntervalObservable.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,EAAE,MAAM,mBAAmB;OAEtC,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,KAAK,EAAE,MAAM,oBAAoB;AAE1C;;;;GAIG;AACH,wCAAwC,UAAU;IAqDhD,YAAoB,MAAM,GAAW,CAAC,EAClB,SAAS,GAAe,KAAK;QAC/C,OAAO,CAAC;QAFU,WAAM,GAAN,MAAM,CAAY;QAClB,cAAS,GAAT,SAAS,CAAoB;QAE/C,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;YACrC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;QAClB,CAAC;QACD,EAAE,CAAC,CAAC,CAAC,SAAS,IAAI,OAAO,SAAS,CAAC,QAAQ,KAAK,UAAU,CAAC,CAAC,CAAC;YAC3D,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QACzB,CAAC;IACH,CAAC;IA7DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;IACH,OAAO,MAAM,CAAC,MAAM,GAAW,CAAC,EAClB,SAAS,GAAe,KAAK;QACzC,MAAM,CAAC,IAAI,kBAAkB,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IACnD,CAAC;IAED,OAAO,QAAQ,CAAC,KAAU;QACxB,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;QAE5C,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAEvB,EAAE,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;YACtB,MAAM,CAAC;QACT,CAAC;QAED,KAAK,CAAC,KAAK,IAAI,CAAC,CAAC;QAEV,IAAK,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IACvC,CAAC;IAaS,UAAU,CAAC,UAA8B;QACjD,MAAM,KAAK,GAAG,CAAC,CAAC;QAChB,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAEjC,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE;YACrE,KAAK,EAAE,UAAU,EAAE,MAAM;SAC1B,CAAC,CAAC,CAAC;IACN,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/IteratorObservable.js b/node_modules/rxjs/_esm2015/observable/IteratorObservable.js new file mode 100644 index 00000000..9fa11a94 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/IteratorObservable.js @@ -0,0 +1,148 @@ +import { root } from '../util/root'; +import { Observable } from '../Observable'; +import { iterator as Symbol_iterator } from '../symbol/iterator'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class IteratorObservable extends Observable { + constructor(iterator, scheduler) { + super(); + this.scheduler = scheduler; + if (iterator == null) { + throw new Error('iterator cannot be null.'); + } + this.iterator = getIterator(iterator); + } + static create(iterator, scheduler) { + return new IteratorObservable(iterator, scheduler); + } + static dispatch(state) { + const { index, hasError, iterator, subscriber } = state; + if (hasError) { + subscriber.error(state.error); + return; + } + let result = iterator.next(); + if (result.done) { + subscriber.complete(); + return; + } + subscriber.next(result.value); + state.index = index + 1; + if (subscriber.closed) { + if (typeof iterator.return === 'function') { + iterator.return(); + } + return; + } + this.schedule(state); + } + _subscribe(subscriber) { + let index = 0; + const { iterator, scheduler } = this; + if (scheduler) { + return scheduler.schedule(IteratorObservable.dispatch, 0, { + index, iterator, subscriber + }); + } + else { + do { + let result = iterator.next(); + if (result.done) { + subscriber.complete(); + break; + } + else { + subscriber.next(result.value); + } + if (subscriber.closed) { + if (typeof iterator.return === 'function') { + iterator.return(); + } + break; + } + } while (true); + } + } +} +class StringIterator { + constructor(str, idx = 0, len = str.length) { + this.str = str; + this.idx = idx; + this.len = len; + } + [Symbol_iterator]() { return (this); } + next() { + return this.idx < this.len ? { + done: false, + value: this.str.charAt(this.idx++) + } : { + done: true, + value: undefined + }; + } +} +class ArrayIterator { + constructor(arr, idx = 0, len = toLength(arr)) { + this.arr = arr; + this.idx = idx; + this.len = len; + } + [Symbol_iterator]() { return this; } + next() { + return this.idx < this.len ? { + done: false, + value: this.arr[this.idx++] + } : { + done: true, + value: undefined + }; + } +} +function getIterator(obj) { + const i = obj[Symbol_iterator]; + if (!i && typeof obj === 'string') { + return new StringIterator(obj); + } + if (!i && obj.length !== undefined) { + return new ArrayIterator(obj); + } + if (!i) { + throw new TypeError('object is not iterable'); + } + return obj[Symbol_iterator](); +} +const maxSafeInteger = Math.pow(2, 53) - 1; +function toLength(o) { + let len = +o.length; + if (isNaN(len)) { + return 0; + } + if (len === 0 || !numberIsFinite(len)) { + return len; + } + len = sign(len) * Math.floor(Math.abs(len)); + if (len <= 0) { + return 0; + } + if (len > maxSafeInteger) { + return maxSafeInteger; + } + return len; +} +function numberIsFinite(value) { + return typeof value === 'number' && root.isFinite(value); +} +function sign(value) { + let valueAsNumber = +value; + if (valueAsNumber === 0) { + return valueAsNumber; + } + if (isNaN(valueAsNumber)) { + return valueAsNumber; + } + return valueAsNumber < 0 ? -1 : 1; +} +//# sourceMappingURL=IteratorObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/IteratorObservable.js.map b/node_modules/rxjs/_esm2015/observable/IteratorObservable.js.map new file mode 100644 index 00000000..9bc8bd13 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/IteratorObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"IteratorObservable.js","sourceRoot":"","sources":["../../src/observable/IteratorObservable.ts"],"names":[],"mappings":"OAAO,EAAE,IAAI,EAAE,MAAM,cAAc;OAE5B,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,QAAQ,IAAI,eAAe,EAAE,MAAM,oBAAoB;AAIhE;;;;GAIG;AACH,wCAA2C,UAAU;IAmCnD,YAAY,QAAa,EAAU,SAAsB;QACvD,OAAO,CAAC;QADyB,cAAS,GAAT,SAAS,CAAa;QAGvD,EAAE,CAAC,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC;YACrB,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;QAC9C,CAAC;QAED,IAAI,CAAC,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC;IACxC,CAAC;IAxCD,OAAO,MAAM,CAAI,QAAa,EAAE,SAAsB;QACpD,MAAM,CAAC,IAAI,kBAAkB,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;IACrD,CAAC;IAED,OAAO,QAAQ,CAAC,KAAU;QAExB,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;QAExD,EAAE,CAA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GAAG,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5C,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QACX,MAAM,CAAC,CAAC,CAAC;IACb,CAAC;IACD,EAAE,CAAC,CAAC,GAAG,GAAG,cAAc,CAAC,CAAC,CAAC;QACvB,MAAM,CAAC,cAAc,CAAC;IAC1B,CAAC;IACD,MAAM,CAAC,GAAG,CAAC;AACb,CAAC;AAED,wBAAwB,KAAU;IAChC,MAAM,CAAC,OAAO,KAAK,KAAK,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,cAAc,KAAU;IACtB,IAAI,aAAa,GAAG,CAAC,KAAK,CAAC;IAC3B,EAAE,CAAC,CAAC,aAAa,KAAK,CAAC,CAAC,CAAC,CAAC;QACxB,MAAM,CAAC,aAAa,CAAC;IACvB,CAAC;IACD,EAAE,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;QACzB,MAAM,CAAC,aAAa,CAAC;IACvB,CAAC;IACD,MAAM,CAAC,aAAa,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;AACpC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/NeverObservable.js b/node_modules/rxjs/_esm2015/observable/NeverObservable.js new file mode 100644 index 00000000..1caf4d3a --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/NeverObservable.js @@ -0,0 +1,50 @@ +import { Observable } from '../Observable'; +import { noop } from '../util/noop'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class NeverObservable extends Observable { + constructor() { + super(); + } + /** + * Creates an Observable that emits no items to the Observer. + * + * An Observable that never emits anything. + * + * + * + * This static operator is useful for creating a simple Observable that emits + * neither values nor errors nor the completion notification. It can be used + * for testing purposes or for composing with other Observables. Please note + * that by never emitting a complete notification, this Observable keeps the + * subscription from being disposed automatically. Subscriptions need to be + * manually disposed. + * + * @example Emit the number 7, then never emit anything else (not even complete). + * function info() { + * console.log('Will not be called'); + * } + * var result = Rx.Observable.never().startWith(7); + * result.subscribe(x => console.log(x), info, info); + * + * @see {@link create} + * @see {@link empty} + * @see {@link of} + * @see {@link throw} + * + * @return {Observable} A "never" Observable: never emits anything. + * @static true + * @name never + * @owner Observable + */ + static create() { + return new NeverObservable(); + } + _subscribe(subscriber) { + noop(); + } +} +//# sourceMappingURL=NeverObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/NeverObservable.js.map b/node_modules/rxjs/_esm2015/observable/NeverObservable.js.map new file mode 100644 index 00000000..e1d069f4 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/NeverObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"NeverObservable.js","sourceRoot":"","sources":["../../src/observable/NeverObservable.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,eAAe;OAEnC,EAAE,IAAI,EAAE,MAAM,cAAc;AAEnC;;;;GAIG;AACH,qCAAwC,UAAU;IAoChD;QACE,OAAO,CAAC;IACV,CAAC;IArCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,OAAO,MAAM;QACX,MAAM,CAAC,IAAI,eAAe,EAAK,CAAC;IAClC,CAAC;IAMS,UAAU,CAAC,UAAyB;QAC5C,IAAI,EAAE,CAAC;IACT,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/PairsObservable.js b/node_modules/rxjs/_esm2015/observable/PairsObservable.js new file mode 100644 index 00000000..8836beec --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/PairsObservable.js @@ -0,0 +1,76 @@ +import { Observable } from '../Observable'; +function dispatch(state) { + const { obj, keys, length, index, subscriber } = state; + if (index === length) { + subscriber.complete(); + return; + } + const key = keys[index]; + subscriber.next([key, obj[key]]); + state.index = index + 1; + this.schedule(state); +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class PairsObservable extends Observable { + constructor(obj, scheduler) { + super(); + this.obj = obj; + this.scheduler = scheduler; + this.keys = Object.keys(obj); + } + /** + * Convert an object into an observable sequence of [key, value] pairs + * using an optional IScheduler to enumerate the object. + * + * @example Converts a javascript object to an Observable + * var obj = { + * foo: 42, + * bar: 56, + * baz: 78 + * }; + * + * var source = Rx.Observable.pairs(obj); + * + * var subscription = source.subscribe( + * function (x) { + * console.log('Next: %s', x); + * }, + * function (err) { + * console.log('Error: %s', err); + * }, + * function () { + * console.log('Completed'); + * }); + * + * @param {Object} obj The object to inspect and turn into an + * Observable sequence. + * @param {Scheduler} [scheduler] An optional IScheduler to run the + * enumeration of the input sequence on. + * @returns {(Observable>)} An observable sequence of + * [key, value] pairs from the object. + */ + static create(obj, scheduler) { + return new PairsObservable(obj, scheduler); + } + _subscribe(subscriber) { + const { keys, scheduler } = this; + const length = keys.length; + if (scheduler) { + return scheduler.schedule(dispatch, 0, { + obj: this.obj, keys, length, index: 0, subscriber + }); + } + else { + for (let idx = 0; idx < length; idx++) { + const key = keys[idx]; + subscriber.next([key, this.obj[key]]); + } + subscriber.complete(); + } + } +} +//# sourceMappingURL=PairsObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/PairsObservable.js.map b/node_modules/rxjs/_esm2015/observable/PairsObservable.js.map new file mode 100644 index 00000000..6302a65a --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/PairsObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"PairsObservable.js","sourceRoot":"","sources":["../../src/observable/PairsObservable.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;AAY1C,kBAAoD,KAAsB;IACxE,MAAM,EAAC,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAC,GAAG,KAAK,CA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AAG,CAAC,EAAE,GAAG,GAAG,MAAM,EAAE,GAAG,EAAE,EAAE,CAAC;gBACtC,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;gBACtB,UAAU,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YACxC,CAAC;YACD,UAAU,CAAC,QAAQ,EAAE,CAAC;QACxB,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/PromiseObservable.js b/node_modules/rxjs/_esm2015/observable/PromiseObservable.js new file mode 100644 index 00000000..4fb73006 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/PromiseObservable.js @@ -0,0 +1,111 @@ +import { root } from '../util/root'; +import { Observable } from '../Observable'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class PromiseObservable extends Observable { + constructor(promise, scheduler) { + super(); + this.promise = promise; + this.scheduler = scheduler; + } + /** + * Converts a Promise to an Observable. + * + * Returns an Observable that just emits the Promise's + * resolved value, then completes. + * + * Converts an ES2015 Promise or a Promises/A+ spec compliant Promise to an + * Observable. If the Promise resolves with a value, the output Observable + * emits that resolved value as a `next`, and then completes. If the Promise + * is rejected, then the output Observable emits the corresponding Error. + * + * @example Convert the Promise returned by Fetch to an Observable + * var result = Rx.Observable.fromPromise(fetch('http://myserver.com/')); + * result.subscribe(x => console.log(x), e => console.error(e)); + * + * @see {@link bindCallback} + * @see {@link from} + * + * @param {PromiseLike} promise The promise to be converted. + * @param {Scheduler} [scheduler] An optional IScheduler to use for scheduling + * the delivery of the resolved value (or the rejection). + * @return {Observable} An Observable which wraps the Promise. + * @static true + * @name fromPromise + * @owner Observable + */ + static create(promise, scheduler) { + return new PromiseObservable(promise, scheduler); + } + _subscribe(subscriber) { + const promise = this.promise; + const scheduler = this.scheduler; + if (scheduler == null) { + if (this._isScalar) { + if (!subscriber.closed) { + subscriber.next(this.value); + subscriber.complete(); + } + } + else { + promise.then((value) => { + this.value = value; + this._isScalar = true; + if (!subscriber.closed) { + subscriber.next(value); + subscriber.complete(); + } + }, (err) => { + if (!subscriber.closed) { + subscriber.error(err); + } + }) + .then(null, err => { + // escape the promise trap, throw unhandled errors + root.setTimeout(() => { throw err; }); + }); + } + } + else { + if (this._isScalar) { + if (!subscriber.closed) { + return scheduler.schedule(dispatchNext, 0, { value: this.value, subscriber }); + } + } + else { + promise.then((value) => { + this.value = value; + this._isScalar = true; + if (!subscriber.closed) { + subscriber.add(scheduler.schedule(dispatchNext, 0, { value, subscriber })); + } + }, (err) => { + if (!subscriber.closed) { + subscriber.add(scheduler.schedule(dispatchError, 0, { err, subscriber })); + } + }) + .then(null, (err) => { + // escape the promise trap, throw unhandled errors + root.setTimeout(() => { throw err; }); + }); + } + } + } +} +function dispatchNext(arg) { + const { value, subscriber } = arg; + if (!subscriber.closed) { + subscriber.next(value); + subscriber.complete(); + } +} +function dispatchError(arg) { + const { err, subscriber } = arg; + if (!subscriber.closed) { + subscriber.error(err); + } +} +//# sourceMappingURL=PromiseObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/PromiseObservable.js.map b/node_modules/rxjs/_esm2015/observable/PromiseObservable.js.map new file mode 100644 index 00000000..5b57039d --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/PromiseObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"PromiseObservable.js","sourceRoot":"","sources":["../../src/observable/PromiseObservable.ts"],"names":[],"mappings":"OAAO,EAAE,IAAI,EAAE,MAAM,cAAc;OAE5B,EAAE,UAAU,EAAE,MAAM,eAAe;AAI1C;;;;GAIG;AACH,uCAA0C,UAAU;IAkClD,YAAoB,OAAuB,EAAU,SAAsB;QACzE,OAAO,CAAC;QADU,YAAO,GAAP,OAAO,CAAgB;QAAU,cAAS,GAAT,SAAS,CAAa;IAE3E,CAAC;IAhCD;;;;;;;;;;;;;;;;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CAAC;IAClC,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;QACvB,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACvB,UAAU,CAAC,QAAQ,EAAE,CAAC;IACxB,CAAC;AACH,CAAC;AAMD,uBAA0B,GAAwB;IAChD,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC;IAChC,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;QACvB,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACxB,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/RangeObservable.js b/node_modules/rxjs/_esm2015/observable/RangeObservable.js new file mode 100644 index 00000000..6894af2b --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/RangeObservable.js @@ -0,0 +1,85 @@ +import { Observable } from '../Observable'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class RangeObservable extends Observable { + constructor(start, count, scheduler) { + super(); + this.start = start; + this._count = count; + this.scheduler = scheduler; + } + /** + * Creates an Observable that emits a sequence of numbers within a specified + * range. + * + * Emits a sequence of numbers in a range. + * + * + * + * `range` operator emits a range of sequential integers, in order, where you + * select the `start` of the range and its `length`. By default, uses no + * IScheduler and just delivers the notifications synchronously, but may use + * an optional IScheduler to regulate those deliveries. + * + * @example Emits the numbers 1 to 10 + * var numbers = Rx.Observable.range(1, 10); + * numbers.subscribe(x => console.log(x)); + * + * @see {@link timer} + * @see {@link interval} + * + * @param {number} [start=0] The value of the first integer in the sequence. + * @param {number} [count=0] The number of sequential integers to generate. + * @param {Scheduler} [scheduler] A {@link IScheduler} to use for scheduling + * the emissions of the notifications. + * @return {Observable} An Observable of numbers that emits a finite range of + * sequential integers. + * @static true + * @name range + * @owner Observable + */ + static create(start = 0, count = 0, scheduler) { + return new RangeObservable(start, count, scheduler); + } + static dispatch(state) { + const { start, index, count, subscriber } = state; + if (index >= count) { + subscriber.complete(); + return; + } + subscriber.next(start); + if (subscriber.closed) { + return; + } + state.index = index + 1; + state.start = start + 1; + this.schedule(state); + } + _subscribe(subscriber) { + let index = 0; + let start = this.start; + const count = this._count; + const scheduler = this.scheduler; + if (scheduler) { + return scheduler.schedule(RangeObservable.dispatch, 0, { + index, count, start, subscriber + }); + } + else { + do { + if (index++ >= count) { + subscriber.complete(); + break; + } + subscriber.next(start++); + if (subscriber.closed) { + break; + } + } while (true); + } + } +} +//# sourceMappingURL=RangeObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/RangeObservable.js.map b/node_modules/rxjs/_esm2015/observable/RangeObservable.js.map new file mode 100644 index 00000000..ab8e24d9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/RangeObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"RangeObservable.js","sourceRoot":"","sources":["../../src/observable/RangeObservable.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAI1C;;;;GAIG;AACH,qCAAqC,UAAU;IA+D7C,YAAY,KAAa,EACb,KAAa,EACb,SAAsB;QAChC,OAAO,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IApED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,OAAO,MAAM,CAAC,KAAK,GAAW,CAAC,EACjB,KAAK,GAAW,CAAC,EACjB,SAAsB;QAClC,MAAM,CAAC,IAAI,eAAe,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;IACtD,CAAC;IAED,OAAO,QAAQ,CAAC,KAAU;QAExB,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;QAElD,EAAE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 No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ScalarObservable.js b/node_modules/rxjs/_esm2015/observable/ScalarObservable.js new file mode 100644 index 00000000..b037494e --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/ScalarObservable.js @@ -0,0 +1,49 @@ +import { Observable } from '../Observable'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class ScalarObservable extends Observable { + constructor(value, scheduler) { + super(); + this.value = value; + this.scheduler = scheduler; + this._isScalar = true; + if (scheduler) { + this._isScalar = false; + } + } + static create(value, scheduler) { + return new ScalarObservable(value, scheduler); + } + static dispatch(state) { + const { done, value, subscriber } = state; + if (done) { + subscriber.complete(); + return; + } + subscriber.next(value); + if (subscriber.closed) { + return; + } + state.done = true; + this.schedule(state); + } + _subscribe(subscriber) { + const value = this.value; + const scheduler = this.scheduler; + if (scheduler) { + return scheduler.schedule(ScalarObservable.dispatch, 0, { + done: false, value, subscriber + }); + } + else { + subscriber.next(value); + if (!subscriber.closed) { + subscriber.complete(); + } + } + } +} +//# sourceMappingURL=ScalarObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ScalarObservable.js.map b/node_modules/rxjs/_esm2015/observable/ScalarObservable.js.map new file mode 100644 index 00000000..630b5082 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/ScalarObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ScalarObservable.js","sourceRoot":"","sources":["../../src/observable/ScalarObservable.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAI1C;;;;GAIG;AACH,sCAAyC,UAAU;IAwBjD,YAAmB,KAAQ,EAAU,SAAsB;QACzD,OAAO,CAAC;QADS,UAAK,GAAL,KAAK,CAAG;QAAU,cAAS,GAAT,SAAS,CAAa;QAF3D,cAAS,GAAY,IAAI,CAAC;QAIxB,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;YACd,IAAI,CAAC,SAAS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OnObservable.js b/node_modules/rxjs/_esm2015/observable/SubscribeOnObservable.js new file mode 100644 index 00000000..1359e1c5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/SubscribeOnObservable.js @@ -0,0 +1,38 @@ +import { Observable } from '../Observable'; +import { asap } from '../scheduler/asap'; +import { isNumeric } from '../util/isNumeric'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class SubscribeOnObservable extends Observable { + constructor(source, delayTime = 0, scheduler = asap) { + super(); + this.source = source; + this.delayTime = delayTime; + this.scheduler = scheduler; + if (!isNumeric(delayTime) || delayTime < 0) { + this.delayTime = 0; + } + if (!scheduler || typeof scheduler.schedule !== 'function') { + this.scheduler = asap; + } + } + static create(source, delay = 0, scheduler = asap) { + return new SubscribeOnObservable(source, delay, scheduler); + } + static dispatch(arg) { + const { source, subscriber } = arg; + return this.add(source.subscribe(subscriber)); + } + _subscribe(subscriber) { + const delay = this.delayTime; + const source = this.source; + const scheduler = this.scheduler; + return scheduler.schedule(SubscribeOnObservable.dispatch, delay, { + source, subscriber + }); + } +} +//# sourceMappingURL=SubscribeOnObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/SubscribeOnObservable.js.map b/node_modules/rxjs/_esm2015/observable/SubscribeOnObservable.js.map new file mode 100644 index 00000000..2819ecc5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/SubscribeOnObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SubscribeOnObservable.js","sourceRoot":"","sources":["../../src/observable/SubscribeOnObservable.ts"],"names":[],"mappings":"OAIO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,IAAI,EAAE,MAAM,mBAAmB;OACjC,EAAE,SAAS,EAAE,MAAM,mBAAmB;AAO7C;;;;GAIG;AACH,2CAA8C,UAAU;IAUtD,YAAmB,MAAqB,EACpB,SAAS,GAAW,CAAC,EACrB,SAAS,GAAe,IAAI;QAC9C,OAAO,CAAC;QAHS,WAAM,GAAN,MAAM,CAAe;QACpB,cAAS,GAAT,SAAS,CAAY;QACrB,cAAS,GAAT,SAAS,CAAmB;QAE9C,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC;YAC3C,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC;QACrB,CAAC;QACD,EAAE,CAAC,CAAC,CAAC,SAAS,IAAI,OAAO,SAAS,CAAC,QAAQ,KAAK,UAAU,CAAC,CAAC,CAAC;YAC3D,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACxB,CAAC;IACH,CAAC;IAnBD,OAAO,MAAM,CAAI,MAAqB,EAAE,KAAK,GAAW,CAAC,EAAE,SAAS,GAAe,IAAI;QACrF,MAAM,CAAC,IAAI,qBAAqB,CAAC,MAAM,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;IAC7D,CAAC;IAED,OAAO,QAAQ,CAAqB,GAAmB;QACrD,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC;QACnC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;IAChD,CAAC;IAcS,UAAU,CAAC,UAAyB;QAC5C,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;QAC7B,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAEjC,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,qBAAqB,CAAC,QAAQ,EAAE,KAAK,EAAE;YAC/D,MAAM,EAAE,UAAU;SACnB,CAAC,CAAC;IACL,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/TimerObservable.js b/node_modules/rxjs/_esm2015/observable/TimerObservable.js new file mode 100644 index 00000000..45e06043 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/TimerObservable.js @@ -0,0 +1,96 @@ +import { isNumeric } from '../util/isNumeric'; +import { Observable } from '../Observable'; +import { async } from '../scheduler/async'; +import { isScheduler } from '../util/isScheduler'; +import { isDate } from '../util/isDate'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class TimerObservable extends Observable { + constructor(dueTime = 0, period, scheduler) { + super(); + this.period = -1; + this.dueTime = 0; + if (isNumeric(period)) { + this.period = Number(period) < 1 && 1 || Number(period); + } + else if (isScheduler(period)) { + scheduler = period; + } + if (!isScheduler(scheduler)) { + scheduler = async; + } + this.scheduler = scheduler; + this.dueTime = isDate(dueTime) ? + (+dueTime - this.scheduler.now()) : + dueTime; + } + /** + * Creates an Observable that starts emitting after an `initialDelay` and + * emits ever increasing numbers after each `period` of time thereafter. + * + * Its like {@link interval}, but you can specify when + * should the emissions start. + * + * + * + * `timer` returns an Observable that emits an infinite sequence of ascending + * integers, with a constant interval of time, `period` of your choosing + * between those emissions. The first emission happens after the specified + * `initialDelay`. The initial delay may be a {@link Date}. By default, this + * operator uses the `async` IScheduler to provide a notion of time, but you + * may pass any IScheduler to it. If `period` is not specified, the output + * Observable emits only one value, `0`. Otherwise, it emits an infinite + * sequence. + * + * @example Emits ascending numbers, one every second (1000ms), starting after 3 seconds + * var numbers = Rx.Observable.timer(3000, 1000); + * numbers.subscribe(x => console.log(x)); + * + * @example Emits one number after five seconds + * var numbers = Rx.Observable.timer(5000); + * numbers.subscribe(x => console.log(x)); + * + * @see {@link interval} + * @see {@link delay} + * + * @param {number|Date} initialDelay The initial delay time to wait before + * emitting the first value of `0`. + * @param {number} [period] The period of time between emissions of the + * subsequent numbers. + * @param {Scheduler} [scheduler=async] The IScheduler to use for scheduling + * the emission of values, and providing a notion of "time". + * @return {Observable} An Observable that emits a `0` after the + * `initialDelay` and ever increasing numbers after each `period` of time + * thereafter. + * @static true + * @name timer + * @owner Observable + */ + static create(initialDelay = 0, period, scheduler) { + return new TimerObservable(initialDelay, period, scheduler); + } + static dispatch(state) { + const { index, period, subscriber } = state; + const action = this; + subscriber.next(index); + if (subscriber.closed) { + return; + } + else if (period === -1) { + return subscriber.complete(); + } + state.index = index + 1; + action.schedule(state, period); + } + _subscribe(subscriber) { + const index = 0; + const { period, dueTime, scheduler } = this; + return scheduler.schedule(TimerObservable.dispatch, dueTime, { + index, period, subscriber + }); + } +} +//# sourceMappingURL=TimerObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/TimerObservable.js.map b/node_modules/rxjs/_esm2015/observable/TimerObservable.js.map new file mode 100644 index 00000000..417ed838 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/TimerObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"TimerObservable.js","sourceRoot":"","sources":["../../src/observable/TimerObservable.ts"],"names":[],"mappings":"OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB;OAEtC,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,KAAK,EAAE,MAAM,oBAAoB;OACnC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,MAAM,EAAE,MAAM,gBAAgB;AAIvC;;;;GAIG;AACH,qCAAqC,UAAU;IAuE7C,YAAY,OAAO,GAAkB,CAAC,EAC1B,MAA4B,EAC5B,SAAsB;QAChC,OAAO,CAAC;QAPF,WAAM,GAAW,CAAC,CAAC,CAAC;QACpB,YAAO,GAAW,CAAC,CAAC;QAQ1B,EAAE,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;YACtB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,CAAC;QAC1D,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;YAC/B,SAAS,GAAgB,MAAM,CAAC;QAClC,CAAC;QAED,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AC,SAAS,CAAC,QAAQ,CAAC,eAAe,CAAC,QAAQ,EAAE,OAAO,EAAE;YAC3D,KAAK,EAAE,MAAM,EAAE,UAAU;SAC1B,CAAC,CAAC;IACL,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/UsingObservable.js b/node_modules/rxjs/_esm2015/observable/UsingObservable.js new file mode 100644 index 00000000..10203e1c --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/UsingObservable.js @@ -0,0 +1,50 @@ +import { Observable } from '../Observable'; +import { subscribeToResult } from '../util/subscribeToResult'; +import { OuterSubscriber } from '../OuterSubscriber'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class UsingObservable extends Observable { + constructor(resourceFactory, observableFactory) { + super(); + this.resourceFactory = resourceFactory; + this.observableFactory = observableFactory; + } + static create(resourceFactory, observableFactory) { + return new UsingObservable(resourceFactory, observableFactory); + } + _subscribe(subscriber) { + const { resourceFactory, observableFactory } = this; + let resource; + try { + resource = resourceFactory(); + return new UsingSubscriber(subscriber, resource, observableFactory); + } + catch (err) { + subscriber.error(err); + } + } +} +class UsingSubscriber extends OuterSubscriber { + constructor(destination, resource, observableFactory) { + super(destination); + this.resource = resource; + this.observableFactory = observableFactory; + destination.add(resource); + this.tryUse(); + } + tryUse() { + try { + const source = this.observableFactory.call(this, this.resource); + if (source) { + this.add(subscribeToResult(this, source)); + } + } + catch (err) { + this._error(err); + } + } +} +//# sourceMappingURL=UsingObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/UsingObservable.js.map b/node_modules/rxjs/_esm2015/observable/UsingObservable.js.map new file mode 100644 index 00000000..5a5bfbe9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/UsingObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"UsingObservable.js","sourceRoot":"","sources":["../../src/observable/UsingObservable.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAyB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,CAAC;gBACX,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;YAC5C,CAAC;QACH,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/bindCallback.js b/node_modules/rxjs/_esm2015/observable/bindCallback.js new file mode 100644 index 00000000..f8ff5c54 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/bindCallback.js @@ -0,0 +1,3 @@ +import { BoundCallbackObservable } from './BoundCallbackObservable'; +export const bindCallback = BoundCallbackObservable.create; +//# sourceMappingURL=bindCallback.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/bindCallback.js.map b/node_modules/rxjs/_esm2015/observable/bindCallback.js.map new file mode 100644 index 00000000..c79cf61e --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/bindCallback.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bindCallback.js","sourceRoot":"","sources":["../../src/observable/bindCallback.ts"],"names":[],"mappings":"OAAO,EAAG,uBAAuB,EAAG,MAAM,2BAA2B;AAErE,OAAO,MAAM,YAAY,GAAG,uBAAuB,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/bindNodeCallback.js b/node_modules/rxjs/_esm2015/observable/bindNodeCallback.js new file mode 100644 index 00000000..028c7079 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/bindNodeCallback.js @@ -0,0 +1,3 @@ +import { BoundNodeCallbackObservable } from './BoundNodeCallbackObservable'; +export const bindNodeCallback = BoundNodeCallbackObservable.create; +//# sourceMappingURL=bindNodeCallback.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/bindNodeCallback.js.map b/node_modules/rxjs/_esm2015/observable/bindNodeCallback.js.map new file mode 100644 index 00000000..3ac4415f --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/bindNodeCallback.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bindNodeCallback.js","sourceRoot":"","sources":["../../src/observable/bindNodeCallback.ts"],"names":[],"mappings":"OAAO,EAAG,2BAA2B,EAAG,MAAM,+BAA+B;AAE7E,OAAO,MAAM,gBAAgB,GAAG,2BAA2B,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/combineLatest.js b/node_modules/rxjs/_esm2015/observable/combineLatest.js new file mode 100644 index 00000000..0cf7cb2c --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/combineLatest.js @@ -0,0 +1,130 @@ +import { isScheduler } from '../util/isScheduler'; +import { isArray } from '../util/isArray'; +import { ArrayObservable } from './ArrayObservable'; +import { CombineLatestOperator } from '../operators/combineLatest'; +/* tslint:enable:max-line-length */ +/** + * Combines multiple Observables to create an Observable whose values are + * calculated from the latest values of each of its input Observables. + * + * Whenever any input Observable emits a value, it + * computes a formula using the latest values from all the inputs, then emits + * the output of that formula. + * + * + * + * `combineLatest` combines the values from all the Observables passed as + * arguments. This is done by subscribing to each Observable in order and, + * whenever any Observable emits, collecting an array of the most recent + * values from each Observable. So if you pass `n` Observables to operator, + * returned Observable will always emit an array of `n` values, in order + * corresponding to order of passed Observables (value from the first Observable + * on the first place and so on). + * + * Static version of `combineLatest` accepts either an array of Observables + * or each Observable can be put directly as an argument. Note that array of + * Observables is good choice, if you don't know beforehand how many Observables + * you will combine. Passing empty array will result in Observable that + * completes immediately. + * + * To ensure output array has always the same length, `combineLatest` will + * actually wait for all input Observables to emit at least once, + * before it starts emitting results. This means if some Observable emits + * values before other Observables started emitting, all that values but last + * will be lost. On the other hand, is some Observable does not emit value but + * completes, resulting Observable will complete at the same moment without + * emitting anything, since it will be now impossible to include value from + * completed Observable in resulting array. Also, if some input Observable does + * not emit any value and never completes, `combineLatest` will also never emit + * and never complete, since, again, it will wait for all streams to emit some + * value. + * + * If at least one Observable was passed to `combineLatest` and all passed Observables + * emitted something, resulting Observable will complete when all combined + * streams complete. So even if some Observable completes, result of + * `combineLatest` will still emit values when other Observables do. In case + * of completed Observable, its value from now on will always be the last + * emitted value. On the other hand, if any Observable errors, `combineLatest` + * will error immediately as well, and all other Observables will be unsubscribed. + * + * `combineLatest` accepts as optional parameter `project` function, which takes + * as arguments all values that would normally be emitted by resulting Observable. + * `project` can return any kind of value, which will be then emitted by Observable + * instead of default array. Note that `project` does not take as argument that array + * of values, but values themselves. That means default `project` can be imagined + * as function that takes all its arguments and puts them into an array. + * + * + * @example Combine two timer Observables + * const firstTimer = Rx.Observable.timer(0, 1000); // emit 0, 1, 2... after every second, starting from now + * const secondTimer = Rx.Observable.timer(500, 1000); // emit 0, 1, 2... after every second, starting 0,5s from now + * const combinedTimers = Rx.Observable.combineLatest(firstTimer, secondTimer); + * combinedTimers.subscribe(value => console.log(value)); + * // Logs + * // [0, 0] after 0.5s + * // [1, 0] after 1s + * // [1, 1] after 1.5s + * // [2, 1] after 2s + * + * + * @example Combine an array of Observables + * const observables = [1, 5, 10].map( + * n => Rx.Observable.of(n).delay(n * 1000).startWith(0) // emit 0 and then emit n after n seconds + * ); + * const combined = Rx.Observable.combineLatest(observables); + * combined.subscribe(value => console.log(value)); + * // Logs + * // [0, 0, 0] immediately + * // [1, 0, 0] after 1s + * // [1, 5, 0] after 5s + * // [1, 5, 10] after 10s + * + * + * @example Use project function to dynamically calculate the Body-Mass Index + * var weight = Rx.Observable.of(70, 72, 76, 79, 75); + * var height = Rx.Observable.of(1.76, 1.77, 1.78); + * var bmi = Rx.Observable.combineLatest(weight, height, (w, h) => w / (h * h)); + * bmi.subscribe(x => console.log('BMI is ' + x)); + * + * // With output to console: + * // BMI is 24.212293388429753 + * // BMI is 23.93948099205209 + * // BMI is 23.671253629592222 + * + * + * @see {@link combineAll} + * @see {@link merge} + * @see {@link withLatestFrom} + * + * @param {ObservableInput} observable1 An input Observable to combine with other Observables. + * @param {ObservableInput} observable2 An input Observable to combine with other Observables. + * More than one input Observables may be given as arguments + * or an array of Observables may be given as the first argument. + * @param {function} [project] An optional function to project the values from + * the combined latest values into a new value on the output Observable. + * @param {Scheduler} [scheduler=null] The IScheduler to use for subscribing to + * each input Observable. + * @return {Observable} An Observable of projected values from the most recent + * values from each input Observable, or an array of the most recent values from + * each input Observable. + * @static true + * @name combineLatest + * @owner Observable + */ +export function combineLatest(...observables) { + let project = null; + let scheduler = null; + if (isScheduler(observables[observables.length - 1])) { + scheduler = observables.pop(); + } + if (typeof observables[observables.length - 1] === 'function') { + project = observables.pop(); + } + // if the first and only other argument besides the resultSelector is an array + // assume it's been called with `combineLatest([obs1, obs2, obs3], project)` + if (observables.length === 1 && isArray(observables[0])) { + observables = observables[0]; + } + return new ArrayObservable(observables, scheduler).lift(new CombineLatestOperator(project)); +} +//# sourceMappingURL=combineLatest.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/combineLatest.js.map b/node_modules/rxjs/_esm2015/observable/combineLatest.js.map new file mode 100644 index 00000000..eecf845a --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/combineLatest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"combineLatest.js","sourceRoot":"","sources":["../../src/observable/combineLatest.ts"],"names":[],"mappings":"OAEO,EAAG,WAAW,EAAG,MAAM,qBAAqB;OAC5C,EAAG,OAAO,EAAG,MAAM,iBAAiB;OACpC,EAAG,eAAe,EAAG,MAAM,mBAAmB;OAC9C,EAAG,qBAAqB,EAAG,MAAM,4BAA4B;AAuBpE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2GG;AACH,8BAAoC,GAAG,WAGwB;IAC7D,IAAI,OAAO,GAAkC,IAAI,CAAC;IAClD,IAAI,SAAS,GAAe,IAAI,CAAC;IAEjC,EAAE,CAAC,CAAC,WAAW,CAAC,WAAW,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACrD,SAAS,GAAe,WAAW,CAAC,GAAG,EAAE,CAAC;IAC5C,CAAC;IAED,EAAE,CAAC,CAAC,OAAO,WAAW,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC;QAC9D,OAAO,GAAiC,WAAW,CAAC,GAAG,EAAE,CAAC;IAC5D,CAAC;IAED,8EAA8E;IAC9E,4EAA4E;IAC5E,EAAE,CAAC,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACxD,WAAW,GAA2B,WAAW,CAAC,CAAC,CAAC,CAAC;IACvD,CAAC;IAED,MAAM,CAAC,IAAI,eAAe,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,qBAAqB,CAAO,OAAO,CAAC,CAAC,CAAC;AACpG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/concat.js b/node_modules/rxjs/_esm2015/observable/concat.js new file mode 100644 index 00000000..63759a61 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/concat.js @@ -0,0 +1,105 @@ +import { isScheduler } from '../util/isScheduler'; +import { of } from './of'; +import { from } from './from'; +import { concatAll } from '../operators/concatAll'; +/* tslint:enable:max-line-length */ +/** + * Creates an output Observable which sequentially emits all values from given + * Observable and then moves on to the next. + * + * Concatenates multiple Observables together by + * sequentially emitting their values, one Observable after the other. + * + * + * + * `concat` joins multiple Observables together, by subscribing to them one at a time and + * merging their results into the output Observable. You can pass either an array of + * Observables, or put them directly as arguments. Passing an empty array will result + * in Observable that completes immediately. + * + * `concat` will subscribe to first input Observable and emit all its values, without + * changing or affecting them in any way. When that Observable completes, it will + * subscribe to then next Observable passed and, again, emit its values. This will be + * repeated, until the operator runs out of Observables. When last input Observable completes, + * `concat` will complete as well. At any given moment only one Observable passed to operator + * emits values. If you would like to emit values from passed Observables concurrently, check out + * {@link merge} instead, especially with optional `concurrent` parameter. As a matter of fact, + * `concat` is an equivalent of `merge` operator with `concurrent` parameter set to `1`. + * + * Note that if some input Observable never completes, `concat` will also never complete + * and Observables following the one that did not complete will never be subscribed. On the other + * hand, if some Observable simply completes immediately after it is subscribed, it will be + * invisible for `concat`, which will just move on to the next Observable. + * + * If any Observable in chain errors, instead of passing control to the next Observable, + * `concat` will error immediately as well. Observables that would be subscribed after + * the one that emitted error, never will. + * + * If you pass to `concat` the same Observable many times, its stream of values + * will be "replayed" on every subscription, which means you can repeat given Observable + * as many times as you like. If passing the same Observable to `concat` 1000 times becomes tedious, + * you can always use {@link repeat}. + * + * @example Concatenate a timer counting from 0 to 3 with a synchronous sequence from 1 to 10 + * var timer = Rx.Observable.interval(1000).take(4); + * var sequence = Rx.Observable.range(1, 10); + * var result = Rx.Observable.concat(timer, sequence); + * result.subscribe(x => console.log(x)); + * + * // results in: + * // 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 -immediate-> 1 ... 10 + * + * + * @example Concatenate an array of 3 Observables + * var timer1 = Rx.Observable.interval(1000).take(10); + * var timer2 = Rx.Observable.interval(2000).take(6); + * var timer3 = Rx.Observable.interval(500).take(10); + * var result = Rx.Observable.concat([timer1, timer2, timer3]); // note that array is passed + * result.subscribe(x => console.log(x)); + * + * // results in the following: + * // (Prints to console sequentially) + * // -1000ms-> 0 -1000ms-> 1 -1000ms-> ... 9 + * // -2000ms-> 0 -2000ms-> 1 -2000ms-> ... 5 + * // -500ms-> 0 -500ms-> 1 -500ms-> ... 9 + * + * + * @example Concatenate the same Observable to repeat it + * const timer = Rx.Observable.interval(1000).take(2); + * + * Rx.Observable.concat(timer, timer) // concating the same Observable! + * .subscribe( + * value => console.log(value), + * err => {}, + * () => console.log('...and it is done!') + * ); + * + * // Logs: + * // 0 after 1s + * // 1 after 2s + * // 0 after 3s + * // 1 after 4s + * // "...and it is done!" also after 4s + * + * @see {@link concatAll} + * @see {@link concatMap} + * @see {@link concatMapTo} + * + * @param {ObservableInput} input1 An input Observable to concatenate with others. + * @param {ObservableInput} input2 An input Observable to concatenate with others. + * More than one input Observables may be given as argument. + * @param {Scheduler} [scheduler=null] An optional IScheduler to schedule each + * Observable subscription on. + * @return {Observable} All values of each passed Observable merged into a + * single Observable, in order, in serial fashion. + * @static true + * @name concat + * @owner Observable + */ +export function concat(...observables) { + if (observables.length === 1 || (observables.length === 2 && isScheduler(observables[1]))) { + return from(observables[0]); + } + return concatAll()(of(...observables)); +} +//# sourceMappingURL=concat.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/concat.js.map b/node_modules/rxjs/_esm2015/observable/concat.js.map new file mode 100644 index 00000000..2e792698 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/concat.js.map @@ -0,0 +1 @@ +{"version":3,"file":"concat.js","sourceRoot":"","sources":["../../src/observable/concat.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,EAAE,EAAE,MAAM,MAAM;OAClB,EAAE,IAAI,EAAE,MAAM,QAAQ;OACtB,EAAE,SAAS,EAAE,MAAM,wBAAwB;AAWlD,mCAAmC;AACnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4FG;AACH,uBAA6B,GAAG,WAAqD;IACnF,EAAE,CAAC,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,IAAI,WAAW,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC1F,MAAM,CAAC,IAAI,CAAM,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnC,CAAC;IACD,MAAM,CAAC,SAAS,EAAE,CAAC,EAAE,CAAC,GAAG,WAAW,CAAC,CAAkB,CAAC;AAC1D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/defer.js b/node_modules/rxjs/_esm2015/observable/defer.js new file mode 100644 index 00000000..b209da87 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/defer.js @@ -0,0 +1,3 @@ +import { DeferObservable } from './DeferObservable'; +export const defer = DeferObservable.create; +//# sourceMappingURL=defer.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/defer.js.map b/node_modules/rxjs/_esm2015/observable/defer.js.map new file mode 100644 index 00000000..8329a273 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/defer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"defer.js","sourceRoot":"","sources":["../../src/observable/defer.ts"],"names":[],"mappings":"OAAO,EAAG,eAAe,EAAG,MAAM,mBAAmB;AAErD,OAAO,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/dom/AjaxObservable.js b/node_modules/rxjs/_esm2015/observable/dom/AjaxObservable.js new file mode 100644 index 00000000..2df1962e --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/dom/AjaxObservable.js @@ -0,0 +1,399 @@ +import { root } from '../../util/root'; +import { tryCatch } from '../../util/tryCatch'; +import { errorObject } from '../../util/errorObject'; +import { Observable } from '../../Observable'; +import { Subscriber } from '../../Subscriber'; +import { map } from '../../operators/map'; +function getCORSRequest() { + if (root.XMLHttpRequest) { + return new root.XMLHttpRequest(); + } + else if (!!root.XDomainRequest) { + return new root.XDomainRequest(); + } + else { + throw new Error('CORS is not supported by your browser'); + } +} +function getXMLHttpRequest() { + if (root.XMLHttpRequest) { + return new root.XMLHttpRequest(); + } + else { + let progId; + try { + const progIds = ['Msxml2.XMLHTTP', 'Microsoft.XMLHTTP', 'Msxml2.XMLHTTP.4.0']; + for (let i = 0; i < 3; i++) { + try { + progId = progIds[i]; + if (new root.ActiveXObject(progId)) { + break; + } + } + catch (e) { + } + } + return new root.ActiveXObject(progId); + } + catch (e) { + throw new Error('XMLHttpRequest is not supported by your browser'); + } + } +} +export function ajaxGet(url, headers = null) { + return new AjaxObservable({ method: 'GET', url, headers }); +} +; +export function ajaxPost(url, body, headers) { + return new AjaxObservable({ method: 'POST', url, body, headers }); +} +; +export function ajaxDelete(url, headers) { + return new AjaxObservable({ method: 'DELETE', url, headers }); +} +; +export function ajaxPut(url, body, headers) { + return new AjaxObservable({ method: 'PUT', url, body, headers }); +} +; +export function ajaxPatch(url, body, headers) { + return new AjaxObservable({ method: 'PATCH', url, body, headers }); +} +; +const mapResponse = map((x, index) => x.response); +export function ajaxGetJSON(url, headers) { + return mapResponse(new AjaxObservable({ + method: 'GET', + url, + responseType: 'json', + headers + })); +} +; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class AjaxObservable extends Observable { + constructor(urlOrRequest) { + super(); + const request = { + async: true, + createXHR: function () { + return this.crossDomain ? getCORSRequest.call(this) : getXMLHttpRequest(); + }, + crossDomain: false, + withCredentials: false, + headers: {}, + method: 'GET', + responseType: 'json', + timeout: 0 + }; + if (typeof urlOrRequest === 'string') { + request.url = urlOrRequest; + } + else { + for (const prop in urlOrRequest) { + if (urlOrRequest.hasOwnProperty(prop)) { + request[prop] = urlOrRequest[prop]; + } + } + } + this.request = request; + } + _subscribe(subscriber) { + return new AjaxSubscriber(subscriber, this.request); + } +} +/** + * Creates an observable for an Ajax request with either a request object with + * url, headers, etc or a string for a URL. + * + * @example + * source = Rx.Observable.ajax('/products'); + * source = Rx.Observable.ajax({ url: 'products', method: 'GET' }); + * + * @param {string|Object} request Can be one of the following: + * A string of the URL to make the Ajax call. + * An object with the following properties + * - url: URL of the request + * - body: The body of the request + * - method: Method of the request, such as GET, POST, PUT, PATCH, DELETE + * - async: Whether the request is async + * - headers: Optional headers + * - crossDomain: true if a cross domain request, else false + * - createXHR: a function to override if you need to use an alternate + * XMLHttpRequest implementation. + * - resultSelector: a function to use to alter the output value type of + * the Observable. Gets {@link AjaxResponse} as an argument. + * @return {Observable} An observable sequence containing the XMLHttpRequest. + * @static true + * @name ajax + * @owner Observable +*/ +AjaxObservable.create = (() => { + const create = (urlOrRequest) => { + return new AjaxObservable(urlOrRequest); + }; + create.get = ajaxGet; + create.post = ajaxPost; + create.delete = ajaxDelete; + create.put = ajaxPut; + create.patch = ajaxPatch; + create.getJSON = ajaxGetJSON; + return create; +})(); +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class AjaxSubscriber extends Subscriber { + constructor(destination, request) { + super(destination); + this.request = request; + this.done = false; + const headers = request.headers = request.headers || {}; + // force CORS if requested + if (!request.crossDomain && !headers['X-Requested-With']) { + headers['X-Requested-With'] = 'XMLHttpRequest'; + } + // ensure content type is set + if (!('Content-Type' in headers) && !(root.FormData && request.body instanceof root.FormData) && typeof request.body !== 'undefined') { + headers['Content-Type'] = 'application/x-www-form-urlencoded; charset=UTF-8'; + } + // properly serialize body + request.body = this.serializeBody(request.body, request.headers['Content-Type']); + this.send(); + } + next(e) { + this.done = true; + const { xhr, request, destination } = this; + const response = new AjaxResponse(e, xhr, request); + destination.next(response); + } + send() { + const { request, request: { user, method, url, async, password, headers, body } } = this; + const createXHR = request.createXHR; + const xhr = tryCatch(createXHR).call(request); + if (xhr === errorObject) { + this.error(errorObject.e); + } + else { + this.xhr = xhr; + // set up the events before open XHR + // https://developer.mozilla.org/en/docs/Web/API/XMLHttpRequest/Using_XMLHttpRequest + // You need to add the event listeners before calling open() on the request. + // Otherwise the progress events will not fire. + this.setupEvents(xhr, request); + // open XHR + let result; + if (user) { + result = tryCatch(xhr.open).call(xhr, method, url, async, user, password); + } + else { + result = tryCatch(xhr.open).call(xhr, method, url, async); + } + if (result === errorObject) { + this.error(errorObject.e); + return null; + } + // timeout, responseType and withCredentials can be set once the XHR is open + if (async) { + xhr.timeout = request.timeout; + xhr.responseType = request.responseType; + } + if ('withCredentials' in xhr) { + xhr.withCredentials = !!request.withCredentials; + } + // set headers + this.setHeaders(xhr, headers); + // finally send the request + result = body ? tryCatch(xhr.send).call(xhr, body) : tryCatch(xhr.send).call(xhr); + if (result === errorObject) { + this.error(errorObject.e); + return null; + } + } + return xhr; + } + serializeBody(body, contentType) { + if (!body || typeof body === 'string') { + return body; + } + else if (root.FormData && body instanceof root.FormData) { + return body; + } + if (contentType) { + const splitIndex = contentType.indexOf(';'); + if (splitIndex !== -1) { + contentType = contentType.substring(0, splitIndex); + } + } + switch (contentType) { + case 'application/x-www-form-urlencoded': + return Object.keys(body).map(key => `${encodeURI(key)}=${encodeURI(body[key])}`).join('&'); + case 'application/json': + return JSON.stringify(body); + default: + return body; + } + } + setHeaders(xhr, headers) { + for (let key in headers) { + if (headers.hasOwnProperty(key)) { + xhr.setRequestHeader(key, headers[key]); + } + } + } + setupEvents(xhr, request) { + const progressSubscriber = request.progressSubscriber; + function xhrTimeout(e) { + const { subscriber, progressSubscriber, request } = xhrTimeout; + if (progressSubscriber) { + progressSubscriber.error(e); + } + subscriber.error(new AjaxTimeoutError(this, request)); //TODO: Make betterer. + } + ; + xhr.ontimeout = xhrTimeout; + xhrTimeout.request = request; + xhrTimeout.subscriber = this; + xhrTimeout.progressSubscriber = progressSubscriber; + if (xhr.upload && 'withCredentials' in xhr) { + if (progressSubscriber) { + let xhrProgress; + xhrProgress = function (e) { + const { progressSubscriber } = xhrProgress; + progressSubscriber.next(e); + }; + if (root.XDomainRequest) { + xhr.onprogress = xhrProgress; + } + else { + xhr.upload.onprogress = xhrProgress; + } + xhrProgress.progressSubscriber = progressSubscriber; + } + let xhrError; + xhrError = function (e) { + const { progressSubscriber, subscriber, request } = xhrError; + if (progressSubscriber) { + progressSubscriber.error(e); + } + subscriber.error(new AjaxError('ajax error', this, request)); + }; + xhr.onerror = xhrError; + xhrError.request = request; + xhrError.subscriber = this; + xhrError.progressSubscriber = progressSubscriber; + } + function xhrReadyStateChange(e) { + const { subscriber, progressSubscriber, request } = xhrReadyStateChange; + if (this.readyState === 4) { + // normalize IE9 bug (http://bugs.jquery.com/ticket/1450) + let status = this.status === 1223 ? 204 : this.status; + let response = (this.responseType === 'text' ? (this.response || this.responseText) : this.response); + // fix status code when it is 0 (0 status is undocumented). + // Occurs when accessing file resources or on Android 4.1 stock browser + // while retrieving files from application cache. + if (status === 0) { + status = response ? 200 : 0; + } + if (200 <= status && status < 300) { + if (progressSubscriber) { + progressSubscriber.complete(); + } + subscriber.next(e); + subscriber.complete(); + } + else { + if (progressSubscriber) { + progressSubscriber.error(e); + } + subscriber.error(new AjaxError('ajax error ' + status, this, request)); + } + } + } + ; + xhr.onreadystatechange = xhrReadyStateChange; + xhrReadyStateChange.subscriber = this; + xhrReadyStateChange.progressSubscriber = progressSubscriber; + xhrReadyStateChange.request = request; + } + unsubscribe() { + const { done, xhr } = this; + if (!done && xhr && xhr.readyState !== 4 && typeof xhr.abort === 'function') { + xhr.abort(); + } + super.unsubscribe(); + } +} +/** + * A normalized AJAX response. + * + * @see {@link ajax} + * + * @class AjaxResponse + */ +export class AjaxResponse { + constructor(originalEvent, xhr, request) { + this.originalEvent = originalEvent; + this.xhr = xhr; + this.request = request; + this.status = xhr.status; + this.responseType = xhr.responseType || request.responseType; + this.response = parseXhrResponse(this.responseType, xhr); + } +} +/** + * A normalized AJAX error. + * + * @see {@link ajax} + * + * @class AjaxError + */ +export class AjaxError extends Error { + constructor(message, xhr, request) { + super(message); + this.message = message; + this.xhr = xhr; + this.request = request; + this.status = xhr.status; + this.responseType = xhr.responseType || request.responseType; + this.response = parseXhrResponse(this.responseType, xhr); + } +} +function parseXhrResponse(responseType, xhr) { + switch (responseType) { + case 'json': + if ('response' in xhr) { + //IE does not support json as responseType, parse it internally + return xhr.responseType ? xhr.response : JSON.parse(xhr.response || xhr.responseText || 'null'); + } + else { + // HACK(benlesh): TypeScript shennanigans + // tslint:disable-next-line:no-any latest TS seems to think xhr is "never" here. + return JSON.parse(xhr.responseText || 'null'); + } + case 'xml': + return xhr.responseXML; + case 'text': + default: + // HACK(benlesh): TypeScript shennanigans + // tslint:disable-next-line:no-any latest TS seems to think xhr is "never" here. + return ('response' in xhr) ? xhr.response : xhr.responseText; + } +} +/** + * @see {@link ajax} + * + * @class AjaxTimeoutError + */ +export class AjaxTimeoutError extends AjaxError { + constructor(xhr, request) { + super('ajax timeout', xhr, request); + } +} +//# sourceMappingURL=AjaxObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/dom/AjaxObservable.js.map b/node_modules/rxjs/_esm2015/observable/dom/AjaxObservable.js.map new file mode 100644 index 00000000..17ed8e18 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/dom/AjaxObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AjaxObservable.js","sourceRoot":"","sources":["../../../src/observable/dom/AjaxObservable.ts"],"names":[],"mappings":"OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB;OAC/B,EAAE,QAAQ,EAAE,MAAM,qBAAqB;OACvC,EAAE,WAAW,EAAE,MAAM,wBAAwB;OAC7C,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,kBAAkB;OAEtC,EAAE,GAAG,EAAE,MAAM,qBAAqB;AAmBzC;IACE,EAAE,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC;QACxB,MAAM,CAAC,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;IACnC,CAAC;IAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC;QACjC,MAAM,CAAC,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;IACnC,CAAC;IAAC,IAAI,CAAC,CAAC;QACN,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;IAC3D,CAAC;AACH,CAAC;AAED;IACE,EAAE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D,IAAI,CAAC,QAAQ,GAAG,gBAAgB,CAAC,IAAI,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC;IAC3D,CAAC;AACH,CAAC;AAED,0BAA0B,YAAoB,EAAE,GAAmB;IACjE,MAAM,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC;QACrB,KAAK,MAAM;YACP,EAAE,CAAC,CAAC,UAAU,IAAI,GAAG,CAAC,CAAC,CAAC;gBACtB,+DAA+D;gBAC/D,MAAM,CAAC,GAAG,CAAC,YAAY,GAAG,GAAG,CAAC,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,IAAI,GAAG,CAAC,YAAY,IAAI,MAAM,CAAC,CAAC;YAClG,CAAC;YAAC,IAAI,CAAC,CAAC;gBACN,yCAAyC;gBACzC,gFAAgF;gBAChF,MAAM,CAAC,IAAI,CAAC,KAAK,CAAE,GAAW,CAAC,YAAY,IAAI,MAAM,CAAC,CAAC;YACzD,CAAC;QACH,KAAK,KAAK;YACR,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC;QACzB,KAAK,MAAM,CAAC;QACZ;YACI,yCAAyC;YACzC,gFAAgF;YAChF,MAAM,CAAE,CAAC,UAAU,IAAI,GAAG,CAAC,GAAG,GAAG,CAAC,QAAQ,GAAI,GAAW,CAAC,YAAY,CAAC;IAC/E,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,sCAAsC,SAAS;IAC7C,YAAY,GAAmB,EAAE,OAAoB;QACnD,MAAM,cAAc,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/dom/WebSocketSubject.js b/node_modules/rxjs/_esm2015/observable/dom/WebSocketSubject.js new file mode 100644 index 00000000..4c013360 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/dom/WebSocketSubject.js @@ -0,0 +1,239 @@ +import { Subject, AnonymousSubject } from '../../Subject'; +import { Subscriber } from '../../Subscriber'; +import { Observable } from '../../Observable'; +import { Subscription } from '../../Subscription'; +import { root } from '../../util/root'; +import { ReplaySubject } from '../../ReplaySubject'; +import { tryCatch } from '../../util/tryCatch'; +import { errorObject } from '../../util/errorObject'; +import { assign } from '../../util/assign'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @extends {Ignored} + * @hide true + */ +export class WebSocketSubject extends AnonymousSubject { + constructor(urlConfigOrSource, destination) { + if (urlConfigOrSource instanceof Observable) { + super(destination, urlConfigOrSource); + } + else { + super(); + this.WebSocketCtor = root.WebSocket; + this._output = new Subject(); + if (typeof urlConfigOrSource === 'string') { + this.url = urlConfigOrSource; + } + else { + // WARNING: config object could override important members here. + assign(this, urlConfigOrSource); + } + if (!this.WebSocketCtor) { + throw new Error('no WebSocket constructor can be found'); + } + this.destination = new ReplaySubject(); + } + } + resultSelector(e) { + return JSON.parse(e.data); + } + /** + * Wrapper around the w3c-compatible WebSocket object provided by the browser. + * + * @example Wraps browser WebSocket + * + * let socket$ = Observable.webSocket('ws://localhost:8081'); + * + * socket$.subscribe( + * (msg) => console.log('message received: ' + msg), + * (err) => console.log(err), + * () => console.log('complete') + * ); + * + * socket$.next(JSON.stringify({ op: 'hello' })); + * + * @example Wraps WebSocket from nodejs-websocket (using node.js) + * + * import { w3cwebsocket } from 'websocket'; + * + * let socket$ = Observable.webSocket({ + * url: 'ws://localhost:8081', + * WebSocketCtor: w3cwebsocket + * }); + * + * socket$.subscribe( + * (msg) => console.log('message received: ' + msg), + * (err) => console.log(err), + * () => console.log('complete') + * ); + * + * socket$.next(JSON.stringify({ op: 'hello' })); + * + * @param {string | WebSocketSubjectConfig} urlConfigOrSource the source of the websocket as an url or a structure defining the websocket object + * @return {WebSocketSubject} + * @static true + * @name webSocket + * @owner Observable + */ + static create(urlConfigOrSource) { + return new WebSocketSubject(urlConfigOrSource); + } + lift(operator) { + const sock = new WebSocketSubject(this, this.destination); + sock.operator = operator; + return sock; + } + _resetState() { + this.socket = null; + if (!this.source) { + this.destination = new ReplaySubject(); + } + this._output = new Subject(); + } + // TODO: factor this out to be a proper Operator/Subscriber implementation and eliminate closures + multiplex(subMsg, unsubMsg, messageFilter) { + const self = this; + return new Observable((observer) => { + const result = tryCatch(subMsg)(); + if (result === errorObject) { + observer.error(errorObject.e); + } + else { + self.next(result); + } + let subscription = self.subscribe(x => { + const result = tryCatch(messageFilter)(x); + if (result === errorObject) { + observer.error(errorObject.e); + } + else if (result) { + observer.next(x); + } + }, err => observer.error(err), () => observer.complete()); + return () => { + const result = tryCatch(unsubMsg)(); + if (result === errorObject) { + observer.error(errorObject.e); + } + else { + self.next(result); + } + subscription.unsubscribe(); + }; + }); + } + _connectSocket() { + const { WebSocketCtor } = this; + const observer = this._output; + let socket = null; + try { + socket = this.protocol ? + new WebSocketCtor(this.url, this.protocol) : + new WebSocketCtor(this.url); + this.socket = socket; + if (this.binaryType) { + this.socket.binaryType = this.binaryType; + } + } + catch (e) { + observer.error(e); + return; + } + const subscription = new Subscription(() => { + this.socket = null; + if (socket && socket.readyState === 1) { + socket.close(); + } + }); + socket.onopen = (e) => { + const openObserver = this.openObserver; + if (openObserver) { + openObserver.next(e); + } + const queue = this.destination; + this.destination = Subscriber.create((x) => socket.readyState === 1 && socket.send(x), (e) => { + const closingObserver = this.closingObserver; + if (closingObserver) { + closingObserver.next(undefined); + } + if (e && e.code) { + socket.close(e.code, e.reason); + } + else { + observer.error(new TypeError('WebSocketSubject.error must be called with an object with an error code, ' + + 'and an optional reason: { code: number, reason: string }')); + } + this._resetState(); + }, () => { + const closingObserver = this.closingObserver; + if (closingObserver) { + closingObserver.next(undefined); + } + socket.close(); + this._resetState(); + }); + if (queue && queue instanceof ReplaySubject) { + subscription.add(queue.subscribe(this.destination)); + } + }; + socket.onerror = (e) => { + this._resetState(); + observer.error(e); + }; + socket.onclose = (e) => { + this._resetState(); + const closeObserver = this.closeObserver; + if (closeObserver) { + closeObserver.next(e); + } + if (e.wasClean) { + observer.complete(); + } + else { + observer.error(e); + } + }; + socket.onmessage = (e) => { + const result = tryCatch(this.resultSelector)(e); + if (result === errorObject) { + observer.error(errorObject.e); + } + else { + observer.next(result); + } + }; + } + _subscribe(subscriber) { + const { source } = this; + if (source) { + return source.subscribe(subscriber); + } + if (!this.socket) { + this._connectSocket(); + } + let subscription = new Subscription(); + subscription.add(this._output.subscribe(subscriber)); + subscription.add(() => { + const { socket } = this; + if (this._output.observers.length === 0) { + if (socket && socket.readyState === 1) { + socket.close(); + } + this._resetState(); + } + }); + return subscription; + } + unsubscribe() { + const { source, socket } = this; + if (socket && socket.readyState === 1) { + socket.close(); + this._resetState(); + } + super.unsubscribe(); + if (!source) { + this.destination = new ReplaySubject(); + } + } +} +//# sourceMappingURL=WebSocketSubject.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/dom/WebSocketSubject.js.map b/node_modules/rxjs/_esm2015/observable/dom/WebSocketSubject.js.map new file mode 100644 index 00000000..63cb2606 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/dom/WebSocketSubject.js.map @@ -0,0 +1 @@ +{"version":3,"file":"WebSocketSubject.js","sourceRoot":"","sources":["../../../src/observable/dom/WebSocketSubject.ts"],"names":[],"mappings":"OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe;OAClD,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,YAAY,EAAE,MAAM,oBAAoB;OAE1C,EAAE,IAAI,EAAE,MAAM,iBAAiB;OAC/B,EAAE,aAAa,EAAE,MAAM,qBAAqB;OAE5C,EAAE,QAAQ,EAAE,MAAM,qBAAqB;OACvC,EAAE,WAAW,EAAE,MAAM,wBAAwB;OAC7C,EAAE,MAAM,EAAE,MAAM,mBAAmB;AAa1C;;;;GAIG;AACH,sCAAyC,gBAAgB;IA2DvD,YAAY,iBAAkE,EAAE,WAAyB;QACvG,EAAE,CAAC,CAAC,iBAAiB,YAAY,U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,CAAC;QACD,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YACjB,IAAI,CAAC,cAAc,EAAE,CAAC;QACxB,CAAC;QACD,IAAI,YAAY,GAAG,IAAI,YAAY,EAAE,CAAC;QACtC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;QACrD,YAAY,CAAC,GAAG,CAAC;YACf,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;YACxB,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;gBACxC,EAAE,CAAC,CAAC,MAAM,IAAI,MAAM,CAAC,UAAU,KAAK,CAAC,CAAC,CAAC,CAAC;oBACtC,MAAM,CAAC,KAAK,EAAE,CAAC;gBACjB,CAAC;gBACD,IAAI,CAAC,WAAW,EAAE,CAAC;YACrB,CAAC;QACH,CAAC,CAAC,CAAC;QACH,MAAM,CAAC,YAAY,CAAC;IACtB,CAAC;IAED,WAAW;QACT,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QAChC,EAAE,CAAC,CAAC,MAAM,IAAI,MAAM,CAAC,UAAU,KAAK,CAAC,CAAC,CAAC,CAAC;YACtC,MAAM,CAAC,KAAK,EAAE,CAAC;YACf,IAAI,CAAC,WAAW,EAAE,CAAC;QACrB,CAAC;QACD,KAAK,CAAC,WAAW,EAAE,CAAC;QACpB,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;YACZ,IAAI,CAAC,WAAW,GAAG,IAAI,aAAa,EAAE,CAAC;QACzC,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/dom/ajax.js b/node_modules/rxjs/_esm2015/observable/dom/ajax.js new file mode 100644 index 00000000..3a6d75ba --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/dom/ajax.js @@ -0,0 +1,3 @@ +import { AjaxObservable } from './AjaxObservable'; +export const ajax = AjaxObservable.create; +//# sourceMappingURL=ajax.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/dom/ajax.js.map b/node_modules/rxjs/_esm2015/observable/dom/ajax.js.map new file mode 100644 index 00000000..039ca48f --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/dom/ajax.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ajax.js","sourceRoot":"","sources":["../../../src/observable/dom/ajax.ts"],"names":[],"mappings":"OAAO,EAAG,cAAc,EAAuB,MAAM,kBAAkB;AAEvE,OAAO,MAAM,IAAI,GAAuB,cAAc,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/dom/webSocket.js b/node_modules/rxjs/_esm2015/observable/dom/webSocket.js new file mode 100644 index 00000000..e705f409 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/dom/webSocket.js @@ -0,0 +1,3 @@ +import { WebSocketSubject } from './WebSocketSubject'; +export const webSocket = WebSocketSubject.create; +//# sourceMappingURL=webSocket.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/dom/webSocket.js.map b/node_modules/rxjs/_esm2015/observable/dom/webSocket.js.map new file mode 100644 index 00000000..6ea99ef8 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/dom/webSocket.js.map @@ -0,0 +1 @@ +{"version":3,"file":"webSocket.js","sourceRoot":"","sources":["../../../src/observable/dom/webSocket.ts"],"names":[],"mappings":"OAAO,EAAG,gBAAgB,EAAG,MAAM,oBAAoB;AAEvD,OAAO,MAAM,SAAS,GAAG,gBAAgB,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/empty.js b/node_modules/rxjs/_esm2015/observable/empty.js new file mode 100644 index 00000000..bbe56e36 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/empty.js @@ -0,0 +1,3 @@ +import { EmptyObservable } from './EmptyObservable'; +export const empty = EmptyObservable.create; +//# sourceMappingURL=empty.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/empty.js.map b/node_modules/rxjs/_esm2015/observable/empty.js.map new file mode 100644 index 00000000..39dc6426 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/empty.js.map @@ -0,0 +1 @@ +{"version":3,"file":"empty.js","sourceRoot":"","sources":["../../src/observable/empty.ts"],"names":[],"mappings":"OAAO,EAAG,eAAe,EAAG,MAAM,mBAAmB;AAErD,OAAO,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/forkJoin.js b/node_modules/rxjs/_esm2015/observable/forkJoin.js new file mode 100644 index 00000000..739bfaa8 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/forkJoin.js @@ -0,0 +1,3 @@ +import { ForkJoinObservable } from './ForkJoinObservable'; +export const forkJoin = ForkJoinObservable.create; +//# sourceMappingURL=forkJoin.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/forkJoin.js.map b/node_modules/rxjs/_esm2015/observable/forkJoin.js.map new file mode 100644 index 00000000..8c0f1e47 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/forkJoin.js.map @@ -0,0 +1 @@ +{"version":3,"file":"forkJoin.js","sourceRoot":"","sources":["../../src/observable/forkJoin.ts"],"names":[],"mappings":"OAAO,EAAG,kBAAkB,EAAG,MAAM,sBAAsB;AAE3D,OAAO,MAAM,QAAQ,GAAG,kBAAkB,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/from.js b/node_modules/rxjs/_esm2015/observable/from.js new file mode 100644 index 00000000..125070cf --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/from.js @@ -0,0 +1,3 @@ +import { FromObservable } from './FromObservable'; +export const from = FromObservable.create; +//# sourceMappingURL=from.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/from.js.map b/node_modules/rxjs/_esm2015/observable/from.js.map new file mode 100644 index 00000000..84ea85f1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/from.js.map @@ -0,0 +1 @@ +{"version":3,"file":"from.js","sourceRoot":"","sources":["../../src/observable/from.ts"],"names":[],"mappings":"OAAO,EAAG,cAAc,EAAG,MAAM,kBAAkB;AAEnD,OAAO,MAAM,IAAI,GAAG,cAAc,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/fromEvent.js b/node_modules/rxjs/_esm2015/observable/fromEvent.js new file mode 100644 index 00000000..f31e5e2f --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/fromEvent.js @@ -0,0 +1,3 @@ +import { FromEventObservable } from './FromEventObservable'; +export const fromEvent = FromEventObservable.create; +//# sourceMappingURL=fromEvent.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/fromEvent.js.map b/node_modules/rxjs/_esm2015/observable/fromEvent.js.map new file mode 100644 index 00000000..7b6b736a --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/fromEvent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fromEvent.js","sourceRoot":"","sources":["../../src/observable/fromEvent.ts"],"names":[],"mappings":"OAAO,EAAG,mBAAmB,EAAG,MAAM,uBAAuB;AAE7D,OAAO,MAAM,SAAS,GAAG,mBAAmB,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/fromEventPattern.js b/node_modules/rxjs/_esm2015/observable/fromEventPattern.js new file mode 100644 index 00000000..261c1ace --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/fromEventPattern.js @@ -0,0 +1,3 @@ +import { FromEventPatternObservable } from './FromEventPatternObservable'; +export const fromEventPattern = FromEventPatternObservable.create; +//# sourceMappingURL=fromEventPattern.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/fromEventPattern.js.map b/node_modules/rxjs/_esm2015/observable/fromEventPattern.js.map new file mode 100644 index 00000000..b6ce68a1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/fromEventPattern.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fromEventPattern.js","sourceRoot":"","sources":["../../src/observable/fromEventPattern.ts"],"names":[],"mappings":"OAAO,EAAG,0BAA0B,EAAG,MAAM,8BAA8B;AAE3E,OAAO,MAAM,gBAAgB,GAAG,0BAA0B,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/fromPromise.js b/node_modules/rxjs/_esm2015/observable/fromPromise.js new file mode 100644 index 00000000..e6b2d577 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/fromPromise.js @@ -0,0 +1,3 @@ +import { PromiseObservable } from './PromiseObservable'; +export const fromPromise = PromiseObservable.create; +//# sourceMappingURL=fromPromise.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/fromPromise.js.map b/node_modules/rxjs/_esm2015/observable/fromPromise.js.map new file mode 100644 index 00000000..2146de47 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/fromPromise.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fromPromise.js","sourceRoot":"","sources":["../../src/observable/fromPromise.ts"],"names":[],"mappings":"OAAO,EAAG,iBAAiB,EAAG,MAAM,qBAAqB;AAEzD,OAAO,MAAM,WAAW,GAAG,iBAAiB,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/generate.js b/node_modules/rxjs/_esm2015/observable/generate.js new file mode 100644 index 00000000..bedd1047 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/generate.js @@ -0,0 +1,3 @@ +import { GenerateObservable } from './GenerateObservable'; +export const generate = GenerateObservable.create; +//# sourceMappingURL=generate.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/generate.js.map b/node_modules/rxjs/_esm2015/observable/generate.js.map new file mode 100644 index 00000000..2cb68666 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/generate.js.map @@ -0,0 +1 @@ +{"version":3,"file":"generate.js","sourceRoot":"","sources":["../../src/observable/generate.ts"],"names":[],"mappings":"OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB;AAEzD,OAAO,MAAM,QAAQ,GAAG,kBAAkB,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/if.js b/node_modules/rxjs/_esm2015/observable/if.js new file mode 100644 index 00000000..6df46926 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/if.js @@ -0,0 +1,3 @@ +import { IfObservable } from './IfObservable'; +export const _if = IfObservable.create; +//# sourceMappingURL=if.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/if.js.map b/node_modules/rxjs/_esm2015/observable/if.js.map new file mode 100644 index 00000000..ef758d18 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/if.js.map @@ -0,0 +1 @@ +{"version":3,"file":"if.js","sourceRoot":"","sources":["../../src/observable/if.ts"],"names":[],"mappings":"OAAO,EAAG,YAAY,EAAG,MAAM,gBAAgB;AAE/C,OAAO,MAAM,GAAG,GAAG,YAAY,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/interval.js b/node_modules/rxjs/_esm2015/observable/interval.js new file mode 100644 index 00000000..9cf1cf1e --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/interval.js @@ -0,0 +1,3 @@ +import { IntervalObservable } from './IntervalObservable'; +export const interval = IntervalObservable.create; +//# sourceMappingURL=interval.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/interval.js.map b/node_modules/rxjs/_esm2015/observable/interval.js.map new file mode 100644 index 00000000..a43822fe --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/interval.js.map @@ -0,0 +1 @@ +{"version":3,"file":"interval.js","sourceRoot":"","sources":["../../src/observable/interval.ts"],"names":[],"mappings":"OAAO,EAAG,kBAAkB,EAAG,MAAM,sBAAsB;AAE3D,OAAO,MAAM,QAAQ,GAAG,kBAAkB,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/merge.js b/node_modules/rxjs/_esm2015/observable/merge.js new file mode 100644 index 00000000..02c99033 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/merge.js @@ -0,0 +1,84 @@ +import { Observable } from '../Observable'; +import { ArrayObservable } from './ArrayObservable'; +import { isScheduler } from '../util/isScheduler'; +import { mergeAll } from '../operators/mergeAll'; +/* tslint:enable:max-line-length */ +/** + * Creates an output Observable which concurrently emits all values from every + * given input Observable. + * + * Flattens multiple Observables together by blending + * their values into one Observable. + * + * + * + * `merge` subscribes to each given input Observable (as arguments), and simply + * forwards (without doing any transformation) all the values from all the input + * Observables to the output Observable. The output Observable only completes + * once all input Observables have completed. Any error delivered by an input + * Observable will be immediately emitted on the output Observable. + * + * @example Merge together two Observables: 1s interval and clicks + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var timer = Rx.Observable.interval(1000); + * var clicksOrTimer = Rx.Observable.merge(clicks, timer); + * clicksOrTimer.subscribe(x => console.log(x)); + * + * // Results in the following: + * // timer will emit ascending values, one every second(1000ms) to console + * // clicks logs MouseEvents to console everytime the "document" is clicked + * // Since the two streams are merged you see these happening + * // as they occur. + * + * @example Merge together 3 Observables, but only 2 run concurrently + * var timer1 = Rx.Observable.interval(1000).take(10); + * var timer2 = Rx.Observable.interval(2000).take(6); + * var timer3 = Rx.Observable.interval(500).take(10); + * var concurrent = 2; // the argument + * var merged = Rx.Observable.merge(timer1, timer2, timer3, concurrent); + * merged.subscribe(x => console.log(x)); + * + * // Results in the following: + * // - First timer1 and timer2 will run concurrently + * // - timer1 will emit a value every 1000ms for 10 iterations + * // - timer2 will emit a value every 2000ms for 6 iterations + * // - after timer1 hits it's max iteration, timer2 will + * // continue, and timer3 will start to run concurrently with timer2 + * // - when timer2 hits it's max iteration it terminates, and + * // timer3 will continue to emit a value every 500ms until it is complete + * + * @see {@link mergeAll} + * @see {@link mergeMap} + * @see {@link mergeMapTo} + * @see {@link mergeScan} + * + * @param {...ObservableInput} observables Input Observables to merge together. + * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input + * Observables being subscribed to concurrently. + * @param {Scheduler} [scheduler=null] The IScheduler to use for managing + * concurrency of input Observables. + * @return {Observable} an Observable that emits items that are the result of + * every input Observable. + * @static true + * @name merge + * @owner Observable + */ +export function merge(...observables) { + let concurrent = Number.POSITIVE_INFINITY; + let scheduler = null; + let last = observables[observables.length - 1]; + if (isScheduler(last)) { + scheduler = observables.pop(); + if (observables.length > 1 && typeof observables[observables.length - 1] === 'number') { + concurrent = observables.pop(); + } + } + else if (typeof last === 'number') { + concurrent = observables.pop(); + } + if (scheduler === null && observables.length === 1 && observables[0] instanceof Observable) { + return observables[0]; + } + return mergeAll(concurrent)(new ArrayObservable(observables, scheduler)); +} +//# sourceMappingURL=merge.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/merge.js.map b/node_modules/rxjs/_esm2015/observable/merge.js.map new file mode 100644 index 00000000..23a0dc11 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/merge.js.map @@ -0,0 +1 @@ +{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../src/observable/merge.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAmB,MAAM,eAAe;OAEpD,EAAE,eAAe,EAAE,MAAM,mBAAmB;OAC5C,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,QAAQ,EAAE,MAAM,uBAAuB;AAiBhD,mCAAmC;AACnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,sBAA4B,GAAG,WAA8D;IAC5F,IAAI,UAAU,GAAG,MAAM,CAAC,iBAAiB,CAAC;IAC1C,IAAI,SAAS,GAAe,IAAI,CAAC;IAChC,IAAI,IAAI,GAAQ,WAAW,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IACpD,EAAE,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QACtB,SAAS,GAAe,WAAW,CAAC,GAAG,EAAE,CAAC;QAC1C,EAAE,CAAC,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,IAAI,OAAO,WAAW,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC;YACtF,UAAU,GAAW,WAAW,CAAC,GAAG,EAAE,CAAC;QACzC,CAAC;IACH,CAAC;IAAC,IAAI,CAAC,EAAE,CAAC,CAAC,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC;QACpC,UAAU,GAAW,WAAW,CAAC,GAAG,EAAE,CAAC;IACzC,CAAC;IAED,EAAE,CAAC,CAAC,SAAS,KAAK,IAAI,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,YAAY,UAAU,CAAC,CAAC,CAAC;QAC3F,MAAM,CAAgB,WAAW,CAAC,CAAC,CAAC,CAAC;IACvC,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,IAAI,eAAe,CAAM,WAAW,EAAE,SAAS,CAAC,CAAkB,CAAC;AACjG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/never.js b/node_modules/rxjs/_esm2015/observable/never.js new file mode 100644 index 00000000..8750a3e1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/never.js @@ -0,0 +1,3 @@ +import { NeverObservable } from './NeverObservable'; +export const never = NeverObservable.create; +//# sourceMappingURL=never.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/never.js.map b/node_modules/rxjs/_esm2015/observable/never.js.map new file mode 100644 index 00000000..4e305bc7 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/never.js.map @@ -0,0 +1 @@ +{"version":3,"file":"never.js","sourceRoot":"","sources":["../../src/observable/never.ts"],"names":[],"mappings":"OAAO,EAAG,eAAe,EAAG,MAAM,mBAAmB;AAErD,OAAO,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/of.js b/node_modules/rxjs/_esm2015/observable/of.js new file mode 100644 index 00000000..78f169a1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/of.js @@ -0,0 +1,3 @@ +import { ArrayObservable } from './ArrayObservable'; +export const of = ArrayObservable.of; +//# sourceMappingURL=of.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/of.js.map b/node_modules/rxjs/_esm2015/observable/of.js.map new file mode 100644 index 00000000..6dbffa98 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/of.js.map @@ -0,0 +1 @@ +{"version":3,"file":"of.js","sourceRoot":"","sources":["../../src/observable/of.ts"],"names":[],"mappings":"OAAO,EAAG,eAAe,EAAG,MAAM,mBAAmB;AAErD,OAAO,MAAM,EAAE,GAAG,eAAe,CAAC,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/onErrorResumeNext.js b/node_modules/rxjs/_esm2015/observable/onErrorResumeNext.js new file mode 100644 index 00000000..5215d936 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/onErrorResumeNext.js @@ -0,0 +1,3 @@ +import { onErrorResumeNextStatic } from '../operators/onErrorResumeNext'; +export const onErrorResumeNext = onErrorResumeNextStatic; +//# sourceMappingURL=onErrorResumeNext.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/onErrorResumeNext.js.map b/node_modules/rxjs/_esm2015/observable/onErrorResumeNext.js.map new file mode 100644 index 00000000..0ce313bf --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/onErrorResumeNext.js.map @@ -0,0 +1 @@ +{"version":3,"file":"onErrorResumeNext.js","sourceRoot":"","sources":["../../src/observable/onErrorResumeNext.ts"],"names":[],"mappings":"OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC;AAExE,OAAO,MAAM,iBAAiB,GAAG,uBAAuB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/pairs.js b/node_modules/rxjs/_esm2015/observable/pairs.js new file mode 100644 index 00000000..6dd20ede --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/pairs.js @@ -0,0 +1,3 @@ +import { PairsObservable } from './PairsObservable'; +export const pairs = PairsObservable.create; +//# sourceMappingURL=pairs.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/pairs.js.map b/node_modules/rxjs/_esm2015/observable/pairs.js.map new file mode 100644 index 00000000..32e93fa9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/pairs.js.map @@ -0,0 +1 @@ +{"version":3,"file":"pairs.js","sourceRoot":"","sources":["../../src/observable/pairs.ts"],"names":[],"mappings":"OAAO,EAAG,eAAe,EAAG,MAAM,mBAAmB;AAErD,OAAO,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/race.js b/node_modules/rxjs/_esm2015/observable/race.js new file mode 100644 index 00000000..7fbcda5e --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/race.js @@ -0,0 +1,71 @@ +import { isArray } from '../util/isArray'; +import { ArrayObservable } from '../observable/ArrayObservable'; +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +export function race(...observables) { + // if the only argument is an array, it was most likely called with + // `race([obs1, obs2, ...])` + if (observables.length === 1) { + if (isArray(observables[0])) { + observables = observables[0]; + } + else { + return observables[0]; + } + } + return new ArrayObservable(observables).lift(new RaceOperator()); +} +export class RaceOperator { + call(subscriber, source) { + return source.subscribe(new RaceSubscriber(subscriber)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class RaceSubscriber extends OuterSubscriber { + constructor(destination) { + super(destination); + this.hasFirst = false; + this.observables = []; + this.subscriptions = []; + } + _next(observable) { + this.observables.push(observable); + } + _complete() { + const observables = this.observables; + const len = observables.length; + if (len === 0) { + this.destination.complete(); + } + else { + for (let i = 0; i < len && !this.hasFirst; i++) { + let observable = observables[i]; + let subscription = subscribeToResult(this, observable, observable, i); + if (this.subscriptions) { + this.subscriptions.push(subscription); + } + this.add(subscription); + } + this.observables = null; + } + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + if (!this.hasFirst) { + this.hasFirst = true; + for (let i = 0; i < this.subscriptions.length; i++) { + if (i !== outerIndex) { + let subscription = this.subscriptions[i]; + subscription.unsubscribe(); + this.remove(subscription); + } + } + this.subscriptions = null; + } + this.destination.next(innerValue); + } +} +//# sourceMappingURL=race.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/race.js.map b/node_modules/rxjs/_esm2015/observable/race.js.map new file mode 100644 index 00000000..9a1fc27c --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/race.js.map @@ -0,0 +1 @@ +{"version":3,"file":"race.js","sourceRoot":"","sources":["../../src/observable/race.ts"],"names":[],"mappings":"OACO,EAAE,OAAO,EAAE,MAAM,iBAAiB;OAClC,EAAE,eAAe,EAAE,MAAM,+BAA+B;OAIxD,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAa7D,qBAAwB,GAAG,WAA4D;IACrF,mEAAmE;IACnE,4BAA4B;IAC5B,EAAE,CAAC,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;QAC7B,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAC5B,WAAW,GAA2B,WAAW,CAAC,CAAC,CAAC,CAAC;QACvD,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,CAAkB,WAAW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CAAC,YAAY,CAAC,CAAC;gBACxC,CAAC;gBACD,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;YACzB,CAAC;YACD,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;QAC1B,CAAC;IACH,CAAC;IAED,UAAU,CAAC,UAAa,EAAE,UAAa,EAC5B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YACnB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;YAErB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBACnD,EAAE,CAAC,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC;oBACrB,IAAI,YAAY,GAAG,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;oBAEzC,YAAY,CAAC,WAAW,EAAE,CAAC;oBAC3B,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;gBAC5B,CAAC;YACH,CAAC;YAED,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QAC5B,CAAC;QAED,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/range.js b/node_modules/rxjs/_esm2015/observable/range.js new file mode 100644 index 00000000..e0e35302 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/range.js @@ -0,0 +1,3 @@ +import { RangeObservable } from './RangeObservable'; +export const range = RangeObservable.create; +//# sourceMappingURL=range.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/range.js.map b/node_modules/rxjs/_esm2015/observable/range.js.map new file mode 100644 index 00000000..d96093c8 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/range.js.map @@ -0,0 +1 @@ +{"version":3,"file":"range.js","sourceRoot":"","sources":["../../src/observable/range.ts"],"names":[],"mappings":"OAAO,EAAG,eAAe,EAAG,MAAM,mBAAmB;AAErD,OAAO,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/throw.js b/node_modules/rxjs/_esm2015/observable/throw.js new file mode 100644 index 00000000..7c82dd8f --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/throw.js @@ -0,0 +1,3 @@ +import { ErrorObservable } from './ErrorObservable'; +export const _throw = ErrorObservable.create; +//# sourceMappingURL=throw.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/throw.js.map b/node_modules/rxjs/_esm2015/observable/throw.js.map new file mode 100644 index 00000000..298f37dd --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/throw.js.map @@ -0,0 +1 @@ +{"version":3,"file":"throw.js","sourceRoot":"","sources":["../../src/observable/throw.ts"],"names":[],"mappings":"OAAO,EAAG,eAAe,EAAG,MAAM,mBAAmB;AAErD,OAAO,MAAM,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/timer.js b/node_modules/rxjs/_esm2015/observable/timer.js new file mode 100644 index 00000000..fb8e7707 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/timer.js @@ -0,0 +1,3 @@ +import { TimerObservable } from './TimerObservable'; +export const timer = TimerObservable.create; +//# sourceMappingURL=timer.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/timer.js.map b/node_modules/rxjs/_esm2015/observable/timer.js.map new file mode 100644 index 00000000..fe47d32c --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/timer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"timer.js","sourceRoot":"","sources":["../../src/observable/timer.ts"],"names":[],"mappings":"OAAO,EAAG,eAAe,EAAG,MAAM,mBAAmB;AAErD,OAAO,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/using.js b/node_modules/rxjs/_esm2015/observable/using.js new file mode 100644 index 00000000..9bd79628 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/using.js @@ -0,0 +1,3 @@ +import { UsingObservable } from './UsingObservable'; +export const using = UsingObservable.create; +//# sourceMappingURL=using.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/using.js.map b/node_modules/rxjs/_esm2015/observable/using.js.map new file mode 100644 index 00000000..ec36086f --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/using.js.map @@ -0,0 +1 @@ +{"version":3,"file":"using.js","sourceRoot":"","sources":["../../src/observable/using.ts"],"names":[],"mappings":"OAAO,EAAG,eAAe,EAAG,MAAM,mBAAmB;AAErD,OAAO,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/zip.js b/node_modules/rxjs/_esm2015/observable/zip.js new file mode 100644 index 00000000..ac07e133 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/zip.js @@ -0,0 +1,3 @@ +import { zipStatic } from '../operators/zip'; +export const zip = zipStatic; +//# sourceMappingURL=zip.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/zip.js.map b/node_modules/rxjs/_esm2015/observable/zip.js.map new file mode 100644 index 00000000..d65a6cd1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/observable/zip.js.map @@ -0,0 +1 @@ +{"version":3,"file":"zip.js","sourceRoot":"","sources":["../../src/observable/zip.ts"],"names":[],"mappings":"OAAO,EAAG,SAAS,EAAG,MAAM,kBAAkB;AAE9C,OAAO,MAAM,GAAG,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/audit.js b/node_modules/rxjs/_esm2015/operator/audit.js new file mode 100644 index 00000000..53fb472c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/audit.js @@ -0,0 +1,45 @@ +import { audit as higherOrder } from '../operators/audit'; +/** + * Ignores source values for a duration determined by another Observable, then + * emits the most recent value from the source Observable, then repeats this + * process. + * + * It's like {@link auditTime}, but the silencing + * duration is determined by a second Observable. + * + * + * + * `audit` is similar to `throttle`, but emits the last value from the silenced + * time window, instead of the first value. `audit` emits the most recent value + * from the source Observable on the output Observable as soon as its internal + * timer becomes disabled, and ignores source values while the timer is enabled. + * Initially, the timer is disabled. As soon as the first source value arrives, + * the timer is enabled by calling the `durationSelector` function with the + * source value, which returns the "duration" Observable. When the duration + * Observable emits a value or completes, the timer is disabled, then the most + * recent source value is emitted on the output Observable, and this process + * repeats for the next source value. + * + * @example Emit clicks at a rate of at most one click per second + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.audit(ev => Rx.Observable.interval(1000)); + * result.subscribe(x => console.log(x)); + * + * @see {@link auditTime} + * @see {@link debounce} + * @see {@link delayWhen} + * @see {@link sample} + * @see {@link throttle} + * + * @param {function(value: T): SubscribableOrPromise} durationSelector A function + * that receives a value from the source Observable, for computing the silencing + * duration, returned as an Observable or a Promise. + * @return {Observable} An Observable that performs rate-limiting of + * emissions from the source Observable. + * @method audit + * @owner Observable + */ +export function audit(durationSelector) { + return higherOrder(durationSelector)(this); +} +//# sourceMappingURL=audit.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/audit.js.map b/node_modules/rxjs/_esm2015/operator/audit.js.map new file mode 100644 index 00000000..e6e37c6e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/audit.js.map @@ -0,0 +1 @@ +{"version":3,"file":"audit.js","sourceRoot":"","sources":["../../src/operator/audit.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB;AAEzD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,sBAA8C,gBAA0D;IACtG,MAAM,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAAC,CAAC;AAC7C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/auditTime.js b/node_modules/rxjs/_esm2015/operator/auditTime.js new file mode 100644 index 00000000..edf60a50 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/auditTime.js @@ -0,0 +1,48 @@ +import { async } from '../scheduler/async'; +import { auditTime as higherOrder } from '../operators/auditTime'; +/** + * Ignores source values for `duration` milliseconds, then emits the most recent + * value from the source Observable, then repeats this process. + * + * When it sees a source values, it ignores that plus + * the next ones for `duration` milliseconds, and then it emits the most recent + * value from the source. + * + * + * + * `auditTime` is similar to `throttleTime`, but emits the last value from the + * silenced time window, instead of the first value. `auditTime` emits the most + * recent value from the source Observable on the output Observable as soon as + * its internal timer becomes disabled, and ignores source values while the + * timer is enabled. Initially, the timer is disabled. As soon as the first + * source value arrives, the timer is enabled. After `duration` milliseconds (or + * the time unit determined internally by the optional `scheduler`) has passed, + * the timer is disabled, then the most recent source value is emitted on the + * output Observable, and this process repeats for the next source value. + * Optionally takes a {@link IScheduler} for managing timers. + * + * @example Emit clicks at a rate of at most one click per second + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.auditTime(1000); + * result.subscribe(x => console.log(x)); + * + * @see {@link audit} + * @see {@link debounceTime} + * @see {@link delay} + * @see {@link sampleTime} + * @see {@link throttleTime} + * + * @param {number} duration Time to wait before emitting the most recent source + * value, measured in milliseconds or the time unit determined internally + * by the optional `scheduler`. + * @param {Scheduler} [scheduler=async] The {@link IScheduler} to use for + * managing the timers that handle the rate-limiting behavior. + * @return {Observable} An Observable that performs rate-limiting of + * emissions from the source Observable. + * @method auditTime + * @owner Observable + */ +export function auditTime(duration, scheduler = async) { + return higherOrder(duration, scheduler)(this); +} +//# sourceMappingURL=auditTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/auditTime.js.map b/node_modules/rxjs/_esm2015/operator/auditTime.js.map new file mode 100644 index 00000000..cade2077 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/auditTime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"auditTime.js","sourceRoot":"","sources":["../../src/operator/auditTime.ts"],"names":[],"mappings":"OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAGnC,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,0BAAkD,QAAgB,EAAE,SAAS,GAAe,KAAK;IAC/F,MAAM,CAAC,WAAW,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,IAAI,CAAkB,CAAC;AACjE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/buffer.js b/node_modules/rxjs/_esm2015/operator/buffer.js new file mode 100644 index 00000000..e75bd055 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/buffer.js @@ -0,0 +1,37 @@ +import { buffer as higherOrder } from '../operators/buffer'; +/** + * Buffers the source Observable values until `closingNotifier` emits. + * + * Collects values from the past as an array, and emits + * that array only when another Observable emits. + * + * + * + * Buffers the incoming Observable values until the given `closingNotifier` + * Observable emits a value, at which point it emits the buffer on the output + * Observable and starts a new buffer internally, awaiting the next time + * `closingNotifier` emits. + * + * @example On every click, emit array of most recent interval events + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var interval = Rx.Observable.interval(1000); + * var buffered = interval.buffer(clicks); + * buffered.subscribe(x => console.log(x)); + * + * @see {@link bufferCount} + * @see {@link bufferTime} + * @see {@link bufferToggle} + * @see {@link bufferWhen} + * @see {@link window} + * + * @param {Observable} closingNotifier An Observable that signals the + * buffer to be emitted on the output Observable. + * @return {Observable} An Observable of buffers, which are arrays of + * values. + * @method buffer + * @owner Observable + */ +export function buffer(closingNotifier) { + return higherOrder(closingNotifier)(this); +} +//# sourceMappingURL=buffer.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/buffer.js.map b/node_modules/rxjs/_esm2015/operator/buffer.js.map new file mode 100644 index 00000000..ace64376 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/buffer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"buffer.js","sourceRoot":"","sources":["../../src/operator/buffer.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,qBAAqB;AAE3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,uBAA+C,eAAgC;IAC7E,MAAM,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC,IAAI,CAAoB,CAAC;AAC/D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/bufferCount.js b/node_modules/rxjs/_esm2015/operator/bufferCount.js new file mode 100644 index 00000000..f60ad45a --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/bufferCount.js @@ -0,0 +1,46 @@ +import { bufferCount as higherOrder } from '../operators/bufferCount'; +/** + * Buffers the source Observable values until the size hits the maximum + * `bufferSize` given. + * + * Collects values from the past as an array, and emits + * that array only when its size reaches `bufferSize`. + * + * + * + * Buffers a number of values from the source Observable by `bufferSize` then + * emits the buffer and clears it, and starts a new buffer each + * `startBufferEvery` values. If `startBufferEvery` is not provided or is + * `null`, then new buffers are started immediately at the start of the source + * and when each buffer closes and is emitted. + * + * @example Emit the last two click events as an array + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var buffered = clicks.bufferCount(2); + * buffered.subscribe(x => console.log(x)); + * + * @example On every click, emit the last two click events as an array + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var buffered = clicks.bufferCount(2, 1); + * buffered.subscribe(x => console.log(x)); + * + * @see {@link buffer} + * @see {@link bufferTime} + * @see {@link bufferToggle} + * @see {@link bufferWhen} + * @see {@link pairwise} + * @see {@link windowCount} + * + * @param {number} bufferSize The maximum size of the buffer emitted. + * @param {number} [startBufferEvery] Interval at which to start a new buffer. + * For example if `startBufferEvery` is `2`, then a new buffer will be started + * on every other value from the source. A new buffer is started at the + * beginning of the source by default. + * @return {Observable} An Observable of arrays of buffered values. + * @method bufferCount + * @owner Observable + */ +export function bufferCount(bufferSize, startBufferEvery = null) { + return higherOrder(bufferSize, startBufferEvery)(this); +} +//# sourceMappingURL=bufferCount.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/bufferCount.js.map b/node_modules/rxjs/_esm2015/operator/bufferCount.js.map new file mode 100644 index 00000000..c94b1f4a --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/bufferCount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bufferCount.js","sourceRoot":"","sources":["../../src/operator/bufferCount.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,0BAA0B;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,4BAAoD,UAAkB,EAAE,gBAAgB,GAAW,IAAI;IACrG,MAAM,CAAC,WAAW,CAAC,UAAU,EAAE,gBAAgB,CAAC,CAAC,IAAI,CAAoB,CAAC;AAC5E,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/bufferTime.js b/node_modules/rxjs/_esm2015/operator/bufferTime.js new file mode 100644 index 00000000..e3400c77 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/bufferTime.js @@ -0,0 +1,65 @@ +import { async } from '../scheduler/async'; +import { isScheduler } from '../util/isScheduler'; +import { bufferTime as higherOrder } from '../operators/bufferTime'; +/* tslint:enable:max-line-length */ +/** + * Buffers the source Observable values for a specific time period. + * + * Collects values from the past as an array, and emits + * those arrays periodically in time. + * + * + * + * Buffers values from the source for a specific time duration `bufferTimeSpan`. + * Unless the optional argument `bufferCreationInterval` is given, it emits and + * resets the buffer every `bufferTimeSpan` milliseconds. If + * `bufferCreationInterval` is given, this operator opens the buffer every + * `bufferCreationInterval` milliseconds and closes (emits and resets) the + * buffer every `bufferTimeSpan` milliseconds. When the optional argument + * `maxBufferSize` is specified, the buffer will be closed either after + * `bufferTimeSpan` milliseconds or when it contains `maxBufferSize` elements. + * + * @example Every second, emit an array of the recent click events + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var buffered = clicks.bufferTime(1000); + * buffered.subscribe(x => console.log(x)); + * + * @example Every 5 seconds, emit the click events from the next 2 seconds + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var buffered = clicks.bufferTime(2000, 5000); + * buffered.subscribe(x => console.log(x)); + * + * @see {@link buffer} + * @see {@link bufferCount} + * @see {@link bufferToggle} + * @see {@link bufferWhen} + * @see {@link windowTime} + * + * @param {number} bufferTimeSpan The amount of time to fill each buffer array. + * @param {number} [bufferCreationInterval] The interval at which to start new + * buffers. + * @param {number} [maxBufferSize] The maximum buffer size. + * @param {Scheduler} [scheduler=async] The scheduler on which to schedule the + * intervals that determine buffer boundaries. + * @return {Observable} An observable of arrays of buffered values. + * @method bufferTime + * @owner Observable + */ +export function bufferTime(bufferTimeSpan) { + let length = arguments.length; + let scheduler = async; + if (isScheduler(arguments[arguments.length - 1])) { + scheduler = arguments[arguments.length - 1]; + length--; + } + let bufferCreationInterval = null; + if (length >= 2) { + bufferCreationInterval = arguments[1]; + } + let maxBufferSize = Number.POSITIVE_INFINITY; + if (length >= 3) { + maxBufferSize = arguments[2]; + } + return higherOrder(bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler)(this); +} +//# sourceMappingURL=bufferTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/bufferTime.js.map b/node_modules/rxjs/_esm2015/operator/bufferTime.js.map new file mode 100644 index 00000000..9c0596a6 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/bufferTime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bufferTime.js","sourceRoot":"","sources":["../../src/operator/bufferTime.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAEnC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,yBAAyB;AAMnE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,2BAAmD,cAAsB;IACvE,IAAI,MAAM,GAAW,SAAS,CAAC,MAAM,CAAC;IAEtC,IAAI,SAAS,GAAe,KAAK,CAAC;IAClC,EAAE,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACjD,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAC5C,MAAM,EAAE,CAAC;IACX,CAAC;IAED,IAAI,sBAAsB,GAAW,IAAI,CAAC;IAC1C,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC;QAChB,sBAAsB,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IACxC,CAAC;IAED,IAAI,aAAa,GAAW,MAAM,CAAC,iBAAiB,CAAC;IACrD,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC;QAChB,aAAa,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IAC/B,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,cAAc,EAAE,sBAAsB,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,IAAI,CAAoB,CAAC;AAChH,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/bufferToggle.js b/node_modules/rxjs/_esm2015/operator/bufferToggle.js new file mode 100644 index 00000000..694eadae --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/bufferToggle.js @@ -0,0 +1,43 @@ +import { bufferToggle as higherOrder } from '../operators/bufferToggle'; +/** + * Buffers the source Observable values starting from an emission from + * `openings` and ending when the output of `closingSelector` emits. + * + * Collects values from the past as an array. Starts + * collecting only when `opening` emits, and calls the `closingSelector` + * function to get an Observable that tells when to close the buffer. + * + * + * + * Buffers values from the source by opening the buffer via signals from an + * Observable provided to `openings`, and closing and sending the buffers when + * a Subscribable or Promise returned by the `closingSelector` function emits. + * + * @example Every other second, emit the click events from the next 500ms + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var openings = Rx.Observable.interval(1000); + * var buffered = clicks.bufferToggle(openings, i => + * i % 2 ? Rx.Observable.interval(500) : Rx.Observable.empty() + * ); + * buffered.subscribe(x => console.log(x)); + * + * @see {@link buffer} + * @see {@link bufferCount} + * @see {@link bufferTime} + * @see {@link bufferWhen} + * @see {@link windowToggle} + * + * @param {SubscribableOrPromise} openings A Subscribable or Promise of notifications to start new + * buffers. + * @param {function(value: O): SubscribableOrPromise} closingSelector A function that takes + * the value emitted by the `openings` observable and returns a Subscribable or Promise, + * which, when it emits, signals that the associated buffer should be emitted + * and cleared. + * @return {Observable} An observable of arrays of buffered values. + * @method bufferToggle + * @owner Observable + */ +export function bufferToggle(openings, closingSelector) { + return higherOrder(openings, closingSelector)(this); +} +//# sourceMappingURL=bufferToggle.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/bufferToggle.js.map b/node_modules/rxjs/_esm2015/operator/bufferToggle.js.map new file mode 100644 index 00000000..e860d3c1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/bufferToggle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bufferToggle.js","sourceRoot":"","sources":["../../src/operator/bufferToggle.ts"],"names":[],"mappings":"OAEO,EAAE,YAAY,IAAI,WAAW,EAAE,MAAM,2BAA2B;AAEvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,6BAAwD,QAAkC,EACvD,eAAyD;IAC1F,MAAM,CAAC,WAAW,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC,IAAI,CAAoB,CAAC;AACzE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/bufferWhen.js b/node_modules/rxjs/_esm2015/operator/bufferWhen.js new file mode 100644 index 00000000..438273fa --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/bufferWhen.js @@ -0,0 +1,38 @@ +import { bufferWhen as higherOrder } from '../operators/bufferWhen'; +/** + * Buffers the source Observable values, using a factory function of closing + * Observables to determine when to close, emit, and reset the buffer. + * + * Collects values from the past as an array. When it + * starts collecting values, it calls a function that returns an Observable that + * tells when to close the buffer and restart collecting. + * + * + * + * Opens a buffer immediately, then closes the buffer when the observable + * returned by calling `closingSelector` function emits a value. When it closes + * the buffer, it immediately opens a new buffer and repeats the process. + * + * @example Emit an array of the last clicks every [1-5] random seconds + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var buffered = clicks.bufferWhen(() => + * Rx.Observable.interval(1000 + Math.random() * 4000) + * ); + * buffered.subscribe(x => console.log(x)); + * + * @see {@link buffer} + * @see {@link bufferCount} + * @see {@link bufferTime} + * @see {@link bufferToggle} + * @see {@link windowWhen} + * + * @param {function(): Observable} closingSelector A function that takes no + * arguments and returns an Observable that signals buffer closure. + * @return {Observable} An observable of arrays of buffered values. + * @method bufferWhen + * @owner Observable + */ +export function bufferWhen(closingSelector) { + return higherOrder(closingSelector)(this); +} +//# sourceMappingURL=bufferWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/bufferWhen.js.map b/node_modules/rxjs/_esm2015/operator/bufferWhen.js.map new file mode 100644 index 00000000..c8dc442d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/bufferWhen.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bufferWhen.js","sourceRoot":"","sources":["../../src/operator/bufferWhen.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,yBAAyB;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,2BAAmD,eAAsC;IACvF,MAAM,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC,IAAI,CAAoB,CAAC;AAC/D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/catch.js b/node_modules/rxjs/_esm2015/operator/catch.js new file mode 100644 index 00000000..714adc76 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/catch.js @@ -0,0 +1,64 @@ +import { catchError as higherOrder } from '../operators/catchError'; +/** + * Catches errors on the observable to be handled by returning a new observable or throwing an error. + * + * + * + * @example Continues with a different Observable when there's an error + * + * Observable.of(1, 2, 3, 4, 5) + * .map(n => { + * if (n == 4) { + * throw 'four!'; + * } + * return n; + * }) + * .catch(err => Observable.of('I', 'II', 'III', 'IV', 'V')) + * .subscribe(x => console.log(x)); + * // 1, 2, 3, I, II, III, IV, V + * + * @example Retries the caught source Observable again in case of error, similar to retry() operator + * + * Observable.of(1, 2, 3, 4, 5) + * .map(n => { + * if (n === 4) { + * throw 'four!'; + * } + * return n; + * }) + * .catch((err, caught) => caught) + * .take(30) + * .subscribe(x => console.log(x)); + * // 1, 2, 3, 1, 2, 3, ... + * + * @example Throws a new error when the source Observable throws an error + * + * Observable.of(1, 2, 3, 4, 5) + * .map(n => { + * if (n == 4) { + * throw 'four!'; + * } + * return n; + * }) + * .catch(err => { + * throw 'error in source. Details: ' + err; + * }) + * .subscribe( + * x => console.log(x), + * err => console.log(err) + * ); + * // 1, 2, 3, error in source. Details: four! + * + * @param {function} selector a function that takes as arguments `err`, which is the error, and `caught`, which + * is the source observable, in case you'd like to "retry" that observable by returning it again. Whatever observable + * is returned by the `selector` will be used to continue the observable chain. + * @return {Observable} An observable that originates from either the source or the observable returned by the + * catch `selector` function. + * @method catch + * @name catch + * @owner Observable + */ +export function _catch(selector) { + return higherOrder(selector)(this); +} +//# sourceMappingURL=catch.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/catch.js.map b/node_modules/rxjs/_esm2015/operator/catch.js.map new file mode 100644 index 00000000..773e0d45 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/catch.js.map @@ -0,0 +1 @@ +{"version":3,"file":"catch.js","sourceRoot":"","sources":["../../src/operator/catch.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,yBAAyB;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,uBAAkD,QAAiE;IACjH,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC;AACrC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/combineAll.js b/node_modules/rxjs/_esm2015/operator/combineAll.js new file mode 100644 index 00000000..38368f7a --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/combineAll.js @@ -0,0 +1,45 @@ +import { combineAll as higherOrder } from '../operators/combineAll'; +/** + * Converts a higher-order Observable into a first-order Observable by waiting + * for the outer Observable to complete, then applying {@link combineLatest}. + * + * Flattens an Observable-of-Observables by applying + * {@link combineLatest} when the Observable-of-Observables completes. + * + * + * + * Takes an Observable of Observables, and collects all Observables from it. + * Once the outer Observable completes, it subscribes to all collected + * Observables and combines their values using the {@link combineLatest} + * strategy, such that: + * - Every time an inner Observable emits, the output Observable emits. + * - When the returned observable emits, it emits all of the latest values by: + * - If a `project` function is provided, it is called with each recent value + * from each inner Observable in whatever order they arrived, and the result + * of the `project` function is what is emitted by the output Observable. + * - If there is no `project` function, an array of all of the most recent + * values is emitted by the output Observable. + * + * @example Map two click events to a finite interval Observable, then apply combineAll + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var higherOrder = clicks.map(ev => + * Rx.Observable.interval(Math.random()*2000).take(3) + * ).take(2); + * var result = higherOrder.combineAll(); + * result.subscribe(x => console.log(x)); + * + * @see {@link combineLatest} + * @see {@link mergeAll} + * + * @param {function} [project] An optional function to map the most recent + * values from each inner Observable into a new result. Takes each of the most + * recent values from each collected inner Observable as arguments, in order. + * @return {Observable} An Observable of projected results or arrays of recent + * values. + * @method combineAll + * @owner Observable + */ +export function combineAll(project) { + return higherOrder(project)(this); +} +//# sourceMappingURL=combineAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/combineAll.js.map b/node_modules/rxjs/_esm2015/operator/combineAll.js.map new file mode 100644 index 00000000..78d32316 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/combineAll.js.map @@ -0,0 +1 @@ +{"version":3,"file":"combineAll.js","sourceRoot":"","sources":["../../src/operator/combineAll.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,yBAAyB;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,2BAAsD,OAAsC;IAC1F,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AACpC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/combineLatest.js b/node_modules/rxjs/_esm2015/operator/combineLatest.js new file mode 100644 index 00000000..4839bad7 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/combineLatest.js @@ -0,0 +1,49 @@ +import { combineLatest as higherOrder } from '../operators/combineLatest'; +/* tslint:enable:max-line-length */ +/** + * Combines multiple Observables to create an Observable whose values are + * calculated from the latest values of each of its input Observables. + * + * Whenever any input Observable emits a value, it + * computes a formula using the latest values from all the inputs, then emits + * the output of that formula. + * + * + * + * `combineLatest` combines the values from this Observable with values from + * Observables passed as arguments. This is done by subscribing to each + * Observable, in order, and collecting an array of each of the most recent + * values any time any of the input Observables emits, then either taking that + * array and passing it as arguments to an optional `project` function and + * emitting the return value of that, or just emitting the array of recent + * values directly if there is no `project` function. + * + * @example Dynamically calculate the Body-Mass Index from an Observable of weight and one for height + * var weight = Rx.Observable.of(70, 72, 76, 79, 75); + * var height = Rx.Observable.of(1.76, 1.77, 1.78); + * var bmi = weight.combineLatest(height, (w, h) => w / (h * h)); + * bmi.subscribe(x => console.log('BMI is ' + x)); + * + * // With output to console: + * // BMI is 24.212293388429753 + * // BMI is 23.93948099205209 + * // BMI is 23.671253629592222 + * + * @see {@link combineAll} + * @see {@link merge} + * @see {@link withLatestFrom} + * + * @param {ObservableInput} other An input Observable to combine with the source + * Observable. More than one input Observables may be given as argument. + * @param {function} [project] An optional function to project the values from + * the combined latest values into a new value on the output Observable. + * @return {Observable} An Observable of projected values from the most recent + * values from each input Observable, or an array of the most recent values from + * each input Observable. + * @method combineLatest + * @owner Observable + */ +export function combineLatest(...observables) { + return higherOrder(...observables)(this); +} +//# sourceMappingURL=combineLatest.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/combineLatest.js.map b/node_modules/rxjs/_esm2015/operator/combineLatest.js.map new file mode 100644 index 00000000..461bebbb --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/combineLatest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"combineLatest.js","sourceRoot":"","sources":["../../src/operator/combineLatest.ts"],"names":[],"mappings":"OACO,EAAE,aAAa,IAAI,WAAW,EAAE,MAAM,4BAA4B;AAiBzE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,8BAAyD,GAAG,WAE0B;IACpF,MAAM,CAAC,WAAW,CAAC,GAAG,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC;AAC3C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/concat.js b/node_modules/rxjs/_esm2015/operator/concat.js new file mode 100644 index 00000000..d2b73961 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/concat.js @@ -0,0 +1,56 @@ +import { concat as higherOrder } from '../operators/concat'; +export { concat as concatStatic } from '../observable/concat'; +/* tslint:enable:max-line-length */ +/** + * Creates an output Observable which sequentially emits all values from every + * given input Observable after the current Observable. + * + * Concatenates multiple Observables together by + * sequentially emitting their values, one Observable after the other. + * + * + * + * Joins this Observable with multiple other Observables by subscribing to them + * one at a time, starting with the source, and merging their results into the + * output Observable. Will wait for each Observable to complete before moving + * on to the next. + * + * @example Concatenate a timer counting from 0 to 3 with a synchronous sequence from 1 to 10 + * var timer = Rx.Observable.interval(1000).take(4); + * var sequence = Rx.Observable.range(1, 10); + * var result = timer.concat(sequence); + * result.subscribe(x => console.log(x)); + * + * // results in: + * // 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 -immediate-> 1 ... 10 + * + * @example Concatenate 3 Observables + * var timer1 = Rx.Observable.interval(1000).take(10); + * var timer2 = Rx.Observable.interval(2000).take(6); + * var timer3 = Rx.Observable.interval(500).take(10); + * var result = timer1.concat(timer2, timer3); + * result.subscribe(x => console.log(x)); + * + * // results in the following: + * // (Prints to console sequentially) + * // -1000ms-> 0 -1000ms-> 1 -1000ms-> ... 9 + * // -2000ms-> 0 -2000ms-> 1 -2000ms-> ... 5 + * // -500ms-> 0 -500ms-> 1 -500ms-> ... 9 + * + * @see {@link concatAll} + * @see {@link concatMap} + * @see {@link concatMapTo} + * + * @param {ObservableInput} other An input Observable to concatenate after the source + * Observable. More than one input Observables may be given as argument. + * @param {Scheduler} [scheduler=null] An optional IScheduler to schedule each + * Observable subscription on. + * @return {Observable} All values of each passed Observable merged into a + * single Observable, in order, in serial fashion. + * @method concat + * @owner Observable + */ +export function concat(...observables) { + return higherOrder(...observables)(this); +} +//# sourceMappingURL=concat.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/concat.js.map b/node_modules/rxjs/_esm2015/operator/concat.js.map new file mode 100644 index 00000000..50de5f4f --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/concat.js.map @@ -0,0 +1 @@ +{"version":3,"file":"concat.js","sourceRoot":"","sources":["../../src/operator/concat.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,qBAAqB;AAE3D,SAAS,MAAM,IAAI,YAAY,QAAQ,sBAAsB,CAAC;AAW9D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,uBAAkD,GAAG,WAAqD;IACxG,MAAM,CAAC,WAAW,CAAC,GAAG,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC;AAC3C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/concatAll.js b/node_modules/rxjs/_esm2015/operator/concatAll.js new file mode 100644 index 00000000..ecf9b05c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/concatAll.js @@ -0,0 +1,54 @@ +import { concatAll as higherOrder } from '../operators/concatAll'; +/* tslint:enable:max-line-length */ +/** + * Converts a higher-order Observable into a first-order Observable by + * concatenating the inner Observables in order. + * + * Flattens an Observable-of-Observables by putting one + * inner Observable after the other. + * + * + * + * Joins every Observable emitted by the source (a higher-order Observable), in + * a serial fashion. It subscribes to each inner Observable only after the + * previous inner Observable has completed, and merges all of their values into + * the returned observable. + * + * __Warning:__ If the source Observable emits Observables quickly and + * endlessly, and the inner Observables it emits generally complete slower than + * the source emits, you can run into memory issues as the incoming Observables + * collect in an unbounded buffer. + * + * Note: `concatAll` is equivalent to `mergeAll` with concurrency parameter set + * to `1`. + * + * @example For each click event, tick every second from 0 to 3, with no concurrency + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var higherOrder = clicks.map(ev => Rx.Observable.interval(1000).take(4)); + * var firstOrder = higherOrder.concatAll(); + * firstOrder.subscribe(x => console.log(x)); + * + * // Results in the following: + * // (results are not concurrent) + * // For every click on the "document" it will emit values 0 to 3 spaced + * // on a 1000ms interval + * // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 + * + * @see {@link combineAll} + * @see {@link concat} + * @see {@link concatMap} + * @see {@link concatMapTo} + * @see {@link exhaust} + * @see {@link mergeAll} + * @see {@link switch} + * @see {@link zipAll} + * + * @return {Observable} An Observable emitting values from all the inner + * Observables concatenated. + * @method concatAll + * @owner Observable + */ +export function concatAll() { + return higherOrder()(this); +} +//# sourceMappingURL=concatAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/concatAll.js.map b/node_modules/rxjs/_esm2015/operator/concatAll.js.map new file mode 100644 index 00000000..d340e224 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/concatAll.js.map @@ -0,0 +1 @@ +{"version":3,"file":"concatAll.js","sourceRoot":"","sources":["../../src/operator/concatAll.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAKjE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH;IACE,MAAM,CAAM,WAAW,EAAE,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/concatMap.js b/node_modules/rxjs/_esm2015/operator/concatMap.js new file mode 100644 index 00000000..987b3ac2 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/concatMap.js @@ -0,0 +1,65 @@ +import { concatMap as higherOrderConcatMap } from '../operators/concatMap'; +/* tslint:enable:max-line-length */ +/** + * Projects each source value to an Observable which is merged in the output + * Observable, in a serialized fashion waiting for each one to complete before + * merging the next. + * + * Maps each value to an Observable, then flattens all of + * these inner Observables using {@link concatAll}. + * + * + * + * Returns an Observable that emits items based on applying a function that you + * supply to each item emitted by the source Observable, where that function + * returns an (so-called "inner") Observable. Each new inner Observable is + * concatenated with the previous inner Observable. + * + * __Warning:__ if source values arrive endlessly and faster than their + * corresponding inner Observables can complete, it will result in memory issues + * as inner Observables amass in an unbounded buffer waiting for their turn to + * be subscribed to. + * + * Note: `concatMap` is equivalent to `mergeMap` with concurrency parameter set + * to `1`. + * + * @example For each click event, tick every second from 0 to 3, with no concurrency + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.concatMap(ev => Rx.Observable.interval(1000).take(4)); + * result.subscribe(x => console.log(x)); + * + * // Results in the following: + * // (results are not concurrent) + * // For every click on the "document" it will emit values 0 to 3 spaced + * // on a 1000ms interval + * // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 + * + * @see {@link concat} + * @see {@link concatAll} + * @see {@link concatMapTo} + * @see {@link exhaustMap} + * @see {@link mergeMap} + * @see {@link switchMap} + * + * @param {function(value: T, ?index: number): ObservableInput} project A function + * that, when applied to an item emitted by the source Observable, returns an + * Observable. + * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] + * A function to produce the value on the output Observable based on the values + * and the indices of the source (outer) emission and the inner Observable + * emission. The arguments passed to this function are: + * - `outerValue`: the value that came from the source + * - `innerValue`: the value that came from the projected Observable + * - `outerIndex`: the "index" of the value that came from the source + * - `innerIndex`: the "index" of the value from the projected Observable + * @return {Observable} An Observable that emits the result of applying the + * projection function (and the optional `resultSelector`) to each item emitted + * by the source Observable and taking values from each projected inner + * Observable sequentially. + * @method concatMap + * @owner Observable + */ +export function concatMap(project, resultSelector) { + return higherOrderConcatMap(project, resultSelector)(this); +} +//# sourceMappingURL=concatMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/concatMap.js.map b/node_modules/rxjs/_esm2015/operator/concatMap.js.map new file mode 100644 index 00000000..41de2cd9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/concatMap.js.map @@ -0,0 +1 @@ +{"version":3,"file":"concatMap.js","sourceRoot":"","sources":["../../src/operator/concatMap.ts"],"names":[],"mappings":"OAAO,EAAE,SAAS,IAAI,oBAAoB,EAAE,MAAM,wBAAwB;AAM1E,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,0BAAwD,OAAyD,EAC9E,cAA4F;IAC7H,MAAM,CAAC,oBAAoB,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,IAAI,CAAC,CAAC;AAC7D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/concatMapTo.js b/node_modules/rxjs/_esm2015/operator/concatMapTo.js new file mode 100644 index 00000000..b51b0ced --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/concatMapTo.js @@ -0,0 +1,62 @@ +import { concatMapTo as higherOrder } from '../operators/concatMapTo'; +/* tslint:enable:max-line-length */ +/** + * Projects each source value to the same Observable which is merged multiple + * times in a serialized fashion on the output Observable. + * + * It's like {@link concatMap}, but maps each value + * always to the same inner Observable. + * + * + * + * Maps each source value to the given Observable `innerObservable` regardless + * of the source value, and then flattens those resulting Observables into one + * single Observable, which is the output Observable. Each new `innerObservable` + * instance emitted on the output Observable is concatenated with the previous + * `innerObservable` instance. + * + * __Warning:__ if source values arrive endlessly and faster than their + * corresponding inner Observables can complete, it will result in memory issues + * as inner Observables amass in an unbounded buffer waiting for their turn to + * be subscribed to. + * + * Note: `concatMapTo` is equivalent to `mergeMapTo` with concurrency parameter + * set to `1`. + * + * @example For each click event, tick every second from 0 to 3, with no concurrency + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.concatMapTo(Rx.Observable.interval(1000).take(4)); + * result.subscribe(x => console.log(x)); + * + * // Results in the following: + * // (results are not concurrent) + * // For every click on the "document" it will emit values 0 to 3 spaced + * // on a 1000ms interval + * // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 + * + * @see {@link concat} + * @see {@link concatAll} + * @see {@link concatMap} + * @see {@link mergeMapTo} + * @see {@link switchMapTo} + * + * @param {ObservableInput} innerObservable An Observable to replace each value from + * the source Observable. + * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] + * A function to produce the value on the output Observable based on the values + * and the indices of the source (outer) emission and the inner Observable + * emission. The arguments passed to this function are: + * - `outerValue`: the value that came from the source + * - `innerValue`: the value that came from the projected Observable + * - `outerIndex`: the "index" of the value that came from the source + * - `innerIndex`: the "index" of the value from the projected Observable + * @return {Observable} An observable of values merged together by joining the + * passed observable with itself, one after the other, for each value emitted + * from the source. + * @method concatMapTo + * @owner Observable + */ +export function concatMapTo(innerObservable, resultSelector) { + return higherOrder(innerObservable, resultSelector)(this); +} +//# sourceMappingURL=concatMapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/concatMapTo.js.map b/node_modules/rxjs/_esm2015/operator/concatMapTo.js.map new file mode 100644 index 00000000..45b7f449 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/concatMapTo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"concatMapTo.js","sourceRoot":"","sources":["../../src/operator/concatMapTo.ts"],"names":[],"mappings":"OACO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,0BAA0B;AAKrE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,4BAA0D,eAA8B,EACnD,cAA4F;IAC/H,MAAM,CAAC,WAAW,CAAC,eAAe,EAAE,cAAc,CAAC,CAAC,IAAI,CAAC,CAAC;AAC5D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/count.js b/node_modules/rxjs/_esm2015/operator/count.js new file mode 100644 index 00000000..751ccf2e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/count.js @@ -0,0 +1,53 @@ +import { count as higherOrder } from '../operators/count'; +/** + * Counts the number of emissions on the source and emits that number when the + * source completes. + * + * Tells how many values were emitted, when the source + * completes. + * + * + * + * `count` transforms an Observable that emits values into an Observable that + * emits a single value that represents the number of values emitted by the + * source Observable. If the source Observable terminates with an error, `count` + * will pass this error notification along without emitting a value first. If + * the source Observable does not terminate at all, `count` will neither emit + * a value nor terminate. This operator takes an optional `predicate` function + * as argument, in which case the output emission will represent the number of + * source values that matched `true` with the `predicate`. + * + * @example Counts how many seconds have passed before the first click happened + * var seconds = Rx.Observable.interval(1000); + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var secondsBeforeClick = seconds.takeUntil(clicks); + * var result = secondsBeforeClick.count(); + * result.subscribe(x => console.log(x)); + * + * @example Counts how many odd numbers are there between 1 and 7 + * var numbers = Rx.Observable.range(1, 7); + * var result = numbers.count(i => i % 2 === 1); + * result.subscribe(x => console.log(x)); + * + * // Results in: + * // 4 + * + * @see {@link max} + * @see {@link min} + * @see {@link reduce} + * + * @param {function(value: T, i: number, source: Observable): boolean} [predicate] A + * boolean function to select what values are to be counted. It is provided with + * arguments of: + * - `value`: the value from the source Observable. + * - `index`: the (zero-based) "index" of the value from the source Observable. + * - `source`: the source Observable instance itself. + * @return {Observable} An Observable of one number that represents the count as + * described above. + * @method count + * @owner Observable + */ +export function count(predicate) { + return higherOrder(predicate)(this); +} +//# sourceMappingURL=count.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/count.js.map b/node_modules/rxjs/_esm2015/operator/count.js.map new file mode 100644 index 00000000..b5299e7e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/count.js.map @@ -0,0 +1 @@ +{"version":3,"file":"count.js","sourceRoot":"","sources":["../../src/operator/count.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB;AAEzD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,sBAA8C,SAAuE;IACnH,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;AACtC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/debounce.js b/node_modules/rxjs/_esm2015/operator/debounce.js new file mode 100644 index 00000000..2dcf5712 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/debounce.js @@ -0,0 +1,47 @@ +import { debounce as higherOrder } from '../operators/debounce'; +/** + * Emits a value from the source Observable only after a particular time span + * determined by another Observable has passed without another source emission. + * + * It's like {@link debounceTime}, but the time span of + * emission silence is determined by a second Observable. + * + * + * + * `debounce` delays values emitted by the source Observable, but drops previous + * pending delayed emissions if a new value arrives on the source Observable. + * This operator keeps track of the most recent value from the source + * Observable, and spawns a duration Observable by calling the + * `durationSelector` function. The value is emitted only when the duration + * Observable emits a value or completes, and if no other value was emitted on + * the source Observable since the duration Observable was spawned. If a new + * value appears before the duration Observable emits, the previous value will + * be dropped and will not be emitted on the output Observable. + * + * Like {@link debounceTime}, this is a rate-limiting operator, and also a + * delay-like operator since output emissions do not necessarily occur at the + * same time as they did on the source Observable. + * + * @example Emit the most recent click after a burst of clicks + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.debounce(() => Rx.Observable.interval(1000)); + * result.subscribe(x => console.log(x)); + * + * @see {@link audit} + * @see {@link debounceTime} + * @see {@link delayWhen} + * @see {@link throttle} + * + * @param {function(value: T): SubscribableOrPromise} durationSelector A function + * that receives a value from the source Observable, for computing the timeout + * duration for each source value, returned as an Observable or a Promise. + * @return {Observable} An Observable that delays the emissions of the source + * Observable by the specified duration Observable returned by + * `durationSelector`, and may drop some values if they occur too frequently. + * @method debounce + * @owner Observable + */ +export function debounce(durationSelector) { + return higherOrder(durationSelector)(this); +} +//# sourceMappingURL=debounce.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/debounce.js.map b/node_modules/rxjs/_esm2015/operator/debounce.js.map new file mode 100644 index 00000000..80b60d97 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/debounce.js.map @@ -0,0 +1 @@ +{"version":3,"file":"debounce.js","sourceRoot":"","sources":["../../src/operator/debounce.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,IAAI,WAAW,EAAE,MAAM,uBAAuB;AAE/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,yBAAiD,gBAA6D;IAC5G,MAAM,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAAC,CAAC;AAC7C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/debounceTime.js b/node_modules/rxjs/_esm2015/operator/debounceTime.js new file mode 100644 index 00000000..298ab826 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/debounceTime.js @@ -0,0 +1,52 @@ +import { async } from '../scheduler/async'; +import { debounceTime as higherOrder } from '../operators/debounceTime'; +/** + * Emits a value from the source Observable only after a particular time span + * has passed without another source emission. + * + * It's like {@link delay}, but passes only the most + * recent value from each burst of emissions. + * + * + * + * `debounceTime` delays values emitted by the source Observable, but drops + * previous pending delayed emissions if a new value arrives on the source + * Observable. This operator keeps track of the most recent value from the + * source Observable, and emits that only when `dueTime` enough time has passed + * without any other value appearing on the source Observable. If a new value + * appears before `dueTime` silence occurs, the previous value will be dropped + * and will not be emitted on the output Observable. + * + * This is a rate-limiting operator, because it is impossible for more than one + * value to be emitted in any time window of duration `dueTime`, but it is also + * a delay-like operator since output emissions do not occur at the same time as + * they did on the source Observable. Optionally takes a {@link IScheduler} for + * managing timers. + * + * @example Emit the most recent click after a burst of clicks + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.debounceTime(1000); + * result.subscribe(x => console.log(x)); + * + * @see {@link auditTime} + * @see {@link debounce} + * @see {@link delay} + * @see {@link sampleTime} + * @see {@link throttleTime} + * + * @param {number} dueTime The timeout duration in milliseconds (or the time + * unit determined internally by the optional `scheduler`) for the window of + * time required to wait for emission silence before emitting the most recent + * source value. + * @param {Scheduler} [scheduler=async] The {@link IScheduler} to use for + * managing the timers that handle the timeout for each value. + * @return {Observable} An Observable that delays the emissions of the source + * Observable by the specified `dueTime`, and may drop some values if they occur + * too frequently. + * @method debounceTime + * @owner Observable + */ +export function debounceTime(dueTime, scheduler = async) { + return higherOrder(dueTime, scheduler)(this); +} +//# sourceMappingURL=debounceTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/debounceTime.js.map b/node_modules/rxjs/_esm2015/operator/debounceTime.js.map new file mode 100644 index 00000000..4523bfea --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/debounceTime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"debounceTime.js","sourceRoot":"","sources":["../../src/operator/debounceTime.ts"],"names":[],"mappings":"OAGO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OACnC,EAAE,YAAY,IAAI,WAAW,EAAE,MAAM,2BAA2B;AAEvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,6BAAqD,OAAe,EAAE,SAAS,GAAe,KAAK;IACjG,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,IAAI,CAAkB,CAAC;AAChE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/defaultIfEmpty.js b/node_modules/rxjs/_esm2015/operator/defaultIfEmpty.js new file mode 100644 index 00000000..ff61fda8 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/defaultIfEmpty.js @@ -0,0 +1,36 @@ +import { defaultIfEmpty as higherOrder } from '../operators/defaultIfEmpty'; +/* tslint:enable:max-line-length */ +/** + * Emits a given value if the source Observable completes without emitting any + * `next` value, otherwise mirrors the source Observable. + * + * If the source Observable turns out to be empty, then + * this operator will emit a default value. + * + * + * + * `defaultIfEmpty` emits the values emitted by the source Observable or a + * specified default value if the source Observable is empty (completes without + * having emitted any `next` value). + * + * @example If no clicks happen in 5 seconds, then emit "no clicks" + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var clicksBeforeFive = clicks.takeUntil(Rx.Observable.interval(5000)); + * var result = clicksBeforeFive.defaultIfEmpty('no clicks'); + * result.subscribe(x => console.log(x)); + * + * @see {@link empty} + * @see {@link last} + * + * @param {any} [defaultValue=null] The default value used if the source + * Observable is empty. + * @return {Observable} An Observable that emits either the specified + * `defaultValue` if the source Observable emits no items, or the values emitted + * by the source Observable. + * @method defaultIfEmpty + * @owner Observable + */ +export function defaultIfEmpty(defaultValue = null) { + return higherOrder(defaultValue)(this); +} +//# sourceMappingURL=defaultIfEmpty.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/defaultIfEmpty.js.map b/node_modules/rxjs/_esm2015/operator/defaultIfEmpty.js.map new file mode 100644 index 00000000..a2499881 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/defaultIfEmpty.js.map @@ -0,0 +1 @@ +{"version":3,"file":"defaultIfEmpty.js","sourceRoot":"","sources":["../../src/operator/defaultIfEmpty.ts"],"names":[],"mappings":"OAEO,EAAE,cAAc,IAAI,WAAW,EAAE,MAAM,6BAA6B;AAK3E,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,+BAA0D,YAAY,GAAM,IAAI;IAC9E,MAAM,CAAC,WAAW,CAAO,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC;AAC/C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/delay.js b/node_modules/rxjs/_esm2015/operator/delay.js new file mode 100644 index 00000000..18da4386 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/delay.js @@ -0,0 +1,45 @@ +import { async } from '../scheduler/async'; +import { delay as higherOrder } from '../operators/delay'; +/** + * Delays the emission of items from the source Observable by a given timeout or + * until a given Date. + * + * Time shifts each item by some specified amount of + * milliseconds. + * + * + * + * If the delay argument is a Number, this operator time shifts the source + * Observable by that amount of time expressed in milliseconds. The relative + * time intervals between the values are preserved. + * + * If the delay argument is a Date, this operator time shifts the start of the + * Observable execution until the given date occurs. + * + * @example Delay each click by one second + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var delayedClicks = clicks.delay(1000); // each click emitted after 1 second + * delayedClicks.subscribe(x => console.log(x)); + * + * @example Delay all clicks until a future date happens + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var date = new Date('March 15, 2050 12:00:00'); // in the future + * var delayedClicks = clicks.delay(date); // click emitted only after that date + * delayedClicks.subscribe(x => console.log(x)); + * + * @see {@link debounceTime} + * @see {@link delayWhen} + * + * @param {number|Date} delay The delay duration in milliseconds (a `number`) or + * a `Date` until which the emission of the source items is delayed. + * @param {Scheduler} [scheduler=async] The IScheduler to use for + * managing the timers that handle the time-shift for each item. + * @return {Observable} An Observable that delays the emissions of the source + * Observable by the specified timeout or Date. + * @method delay + * @owner Observable + */ +export function delay(delay, scheduler = async) { + return higherOrder(delay, scheduler)(this); +} +//# sourceMappingURL=delay.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/delay.js.map b/node_modules/rxjs/_esm2015/operator/delay.js.map new file mode 100644 index 00000000..b50b888c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/delay.js.map @@ -0,0 +1 @@ +{"version":3,"file":"delay.js","sourceRoot":"","sources":["../../src/operator/delay.ts"],"names":[],"mappings":"OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAGnC,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB;AAEzD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,sBAA8C,KAAkB,EACvC,SAAS,GAAe,KAAK;IACpD,MAAM,CAAC,WAAW,CAAI,KAAK,EAAE,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/delayWhen.js b/node_modules/rxjs/_esm2015/operator/delayWhen.js new file mode 100644 index 00000000..338b3e62 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/delayWhen.js @@ -0,0 +1,50 @@ +import { delayWhen as higherOrder } from '../operators/delayWhen'; +/** + * Delays the emission of items from the source Observable by a given time span + * determined by the emissions of another Observable. + * + * It's like {@link delay}, but the time span of the + * delay duration is determined by a second Observable. + * + * + * + * `delayWhen` time shifts each emitted value from the source Observable by a + * time span determined by another Observable. When the source emits a value, + * the `delayDurationSelector` function is called with the source value as + * argument, and should return an Observable, called the "duration" Observable. + * The source value is emitted on the output Observable only when the duration + * Observable emits a value or completes. + * + * Optionally, `delayWhen` takes a second argument, `subscriptionDelay`, which + * is an Observable. When `subscriptionDelay` emits its first value or + * completes, the source Observable is subscribed to and starts behaving like + * described in the previous paragraph. If `subscriptionDelay` is not provided, + * `delayWhen` will subscribe to the source Observable as soon as the output + * Observable is subscribed. + * + * @example Delay each click by a random amount of time, between 0 and 5 seconds + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var delayedClicks = clicks.delayWhen(event => + * Rx.Observable.interval(Math.random() * 5000) + * ); + * delayedClicks.subscribe(x => console.log(x)); + * + * @see {@link debounce} + * @see {@link delay} + * + * @param {function(value: T): Observable} delayDurationSelector A function that + * returns an Observable for each value emitted by the source Observable, which + * is then used to delay the emission of that item on the output Observable + * until the Observable returned from this function emits a value. + * @param {Observable} subscriptionDelay An Observable that triggers the + * subscription to the source Observable once it emits any value. + * @return {Observable} An Observable that delays the emissions of the source + * Observable by an amount of time specified by the Observable returned by + * `delayDurationSelector`. + * @method delayWhen + * @owner Observable + */ +export function delayWhen(delayDurationSelector, subscriptionDelay) { + return higherOrder(delayDurationSelector, subscriptionDelay)(this); +} +//# sourceMappingURL=delayWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/delayWhen.js.map b/node_modules/rxjs/_esm2015/operator/delayWhen.js.map new file mode 100644 index 00000000..2594970e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/delayWhen.js.map @@ -0,0 +1 @@ +{"version":3,"file":"delayWhen.js","sourceRoot":"","sources":["../../src/operator/delayWhen.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,0BAAkD,qBAAoD,EACzE,iBAAmC;IAC9D,MAAM,CAAC,WAAW,CAAC,qBAAqB,EAAE,iBAAiB,CAAC,CAAC,IAAI,CAAC,CAAC;AACrE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/dematerialize.js b/node_modules/rxjs/_esm2015/operator/dematerialize.js new file mode 100644 index 00000000..15eca3d8 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/dematerialize.js @@ -0,0 +1,45 @@ +import { dematerialize as higherOrder } from '../operators/dematerialize'; +/** + * Converts an Observable of {@link Notification} objects into the emissions + * that they represent. + * + * Unwraps {@link Notification} objects as actual `next`, + * `error` and `complete` emissions. The opposite of {@link materialize}. + * + * + * + * `dematerialize` is assumed to operate an Observable that only emits + * {@link Notification} objects as `next` emissions, and does not emit any + * `error`. Such Observable is the output of a `materialize` operation. Those + * notifications are then unwrapped using the metadata they contain, and emitted + * as `next`, `error`, and `complete` on the output Observable. + * + * Use this operator in conjunction with {@link materialize}. + * + * @example Convert an Observable of Notifications to an actual Observable + * var notifA = new Rx.Notification('N', 'A'); + * var notifB = new Rx.Notification('N', 'B'); + * var notifE = new Rx.Notification('E', void 0, + * new TypeError('x.toUpperCase is not a function') + * ); + * var materialized = Rx.Observable.of(notifA, notifB, notifE); + * var upperCase = materialized.dematerialize(); + * upperCase.subscribe(x => console.log(x), e => console.error(e)); + * + * // Results in: + * // A + * // B + * // TypeError: x.toUpperCase is not a function + * + * @see {@link Notification} + * @see {@link materialize} + * + * @return {Observable} An Observable that emits items and notifications + * embedded in Notification objects emitted by the source Observable. + * @method dematerialize + * @owner Observable + */ +export function dematerialize() { + return higherOrder()(this); +} +//# sourceMappingURL=dematerialize.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/dematerialize.js.map b/node_modules/rxjs/_esm2015/operator/dematerialize.js.map new file mode 100644 index 00000000..c5b985ef --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/dematerialize.js.map @@ -0,0 +1 @@ +{"version":3,"file":"dematerialize.js","sourceRoot":"","sources":["../../src/operator/dematerialize.ts"],"names":[],"mappings":"OAGO,EAAE,aAAa,IAAI,WAAW,EAAE,MAAM,4BAA4B;AAEzE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH;IACE,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,CAAkB,CAAC;AAC9C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/distinct.js b/node_modules/rxjs/_esm2015/operator/distinct.js new file mode 100644 index 00000000..6ae645a9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/distinct.js @@ -0,0 +1,50 @@ +import { distinct as higherOrder } from '../operators/distinct'; +/** + * Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from previous items. + * + * If a keySelector function is provided, then it will project each value from the source observable into a new value that it will + * check for equality with previously projected values. If a keySelector function is not provided, it will use each value from the + * source observable directly with an equality check against previous values. + * + * In JavaScript runtimes that support `Set`, this operator will use a `Set` to improve performance of the distinct value checking. + * + * In other runtimes, this operator will use a minimal implementation of `Set` that relies on an `Array` and `indexOf` under the + * hood, so performance will degrade as more values are checked for distinction. Even in newer browsers, a long-running `distinct` + * use might result in memory leaks. To help alleviate this in some scenarios, an optional `flushes` parameter is also provided so + * that the internal `Set` can be "flushed", basically clearing it of values. + * + * @example A simple example with numbers + * Observable.of(1, 1, 2, 2, 2, 1, 2, 3, 4, 3, 2, 1) + * .distinct() + * .subscribe(x => console.log(x)); // 1, 2, 3, 4 + * + * @example An example using a keySelector function + * interface Person { + * age: number, + * name: string + * } + * + * Observable.of( + * { age: 4, name: 'Foo'}, + * { age: 7, name: 'Bar'}, + * { age: 5, name: 'Foo'}) + * .distinct((p: Person) => p.name) + * .subscribe(x => console.log(x)); + * + * // displays: + * // { age: 4, name: 'Foo' } + * // { age: 7, name: 'Bar' } + * + * @see {@link distinctUntilChanged} + * @see {@link distinctUntilKeyChanged} + * + * @param {function} [keySelector] Optional function to select which value you want to check as distinct. + * @param {Observable} [flushes] Optional Observable for flushing the internal HashSet of the operator. + * @return {Observable} An Observable that emits items from the source Observable with distinct values. + * @method distinct + * @owner Observable + */ +export function distinct(keySelector, flushes) { + return higherOrder(keySelector, flushes)(this); +} +//# sourceMappingURL=distinct.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/distinct.js.map b/node_modules/rxjs/_esm2015/operator/distinct.js.map new file mode 100644 index 00000000..0a2c6895 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/distinct.js.map @@ -0,0 +1 @@ +{"version":3,"file":"distinct.js","sourceRoot":"","sources":["../../src/operator/distinct.ts"],"names":[],"mappings":"OACO,EAAE,QAAQ,IAAI,WAAW,EAAE,MAAM,uBAAuB;AAE/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,yBAC+B,WAA6B,EAC7B,OAAyB;IACtD,MAAM,CAAC,WAAW,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AACjD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/distinctUntilChanged.js b/node_modules/rxjs/_esm2015/operator/distinctUntilChanged.js new file mode 100644 index 00000000..0b79e478 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/distinctUntilChanged.js @@ -0,0 +1,45 @@ +import { distinctUntilChanged as higherOrder } from '../operators/distinctUntilChanged'; +/* tslint:enable:max-line-length */ +/** + * Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item. + * + * If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted. + * + * If a comparator function is not provided, an equality check is used by default. + * + * @example A simple example with numbers + * Observable.of(1, 1, 2, 2, 2, 1, 1, 2, 3, 3, 4) + * .distinctUntilChanged() + * .subscribe(x => console.log(x)); // 1, 2, 1, 2, 3, 4 + * + * @example An example using a compare function + * interface Person { + * age: number, + * name: string + * } + * + * Observable.of( + * { age: 4, name: 'Foo'}, + * { age: 7, name: 'Bar'}, + * { age: 5, name: 'Foo'}) + * { age: 6, name: 'Foo'}) + * .distinctUntilChanged((p: Person, q: Person) => p.name === q.name) + * .subscribe(x => console.log(x)); + * + * // displays: + * // { age: 4, name: 'Foo' } + * // { age: 7, name: 'Bar' } + * // { age: 5, name: 'Foo' } + * + * @see {@link distinct} + * @see {@link distinctUntilKeyChanged} + * + * @param {function} [compare] Optional comparison function called to test if an item is distinct from the previous item in the source. + * @return {Observable} An Observable that emits items from the source Observable with distinct values. + * @method distinctUntilChanged + * @owner Observable + */ +export function distinctUntilChanged(compare, keySelector) { + return higherOrder(compare, keySelector)(this); +} +//# sourceMappingURL=distinctUntilChanged.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/distinctUntilChanged.js.map b/node_modules/rxjs/_esm2015/operator/distinctUntilChanged.js.map new file mode 100644 index 00000000..9dc18b9b --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/distinctUntilChanged.js.map @@ -0,0 +1 @@ +{"version":3,"file":"distinctUntilChanged.js","sourceRoot":"","sources":["../../src/operator/distinctUntilChanged.ts"],"names":[],"mappings":"OAEO,EAAE,oBAAoB,IAAI,WAAW,EAAE,MAAM,mCAAmC;AAKvF,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,qCAAgE,OAAiC,EAAE,WAAyB;IAC1H,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC;AACjD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/distinctUntilKeyChanged.js b/node_modules/rxjs/_esm2015/operator/distinctUntilKeyChanged.js new file mode 100644 index 00000000..d0008a3f --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/distinctUntilKeyChanged.js @@ -0,0 +1,63 @@ +import { distinctUntilKeyChanged as higherOrder } from '../operators/distinctUntilKeyChanged'; +/* tslint:enable:max-line-length */ +/** + * Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item, + * using a property accessed by using the key provided to check if the two items are distinct. + * + * If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted. + * + * If a comparator function is not provided, an equality check is used by default. + * + * @example An example comparing the name of persons + * + * interface Person { + * age: number, + * name: string + * } + * + * Observable.of( + * { age: 4, name: 'Foo'}, + * { age: 7, name: 'Bar'}, + * { age: 5, name: 'Foo'}, + * { age: 6, name: 'Foo'}) + * .distinctUntilKeyChanged('name') + * .subscribe(x => console.log(x)); + * + * // displays: + * // { age: 4, name: 'Foo' } + * // { age: 7, name: 'Bar' } + * // { age: 5, name: 'Foo' } + * + * @example An example comparing the first letters of the name + * + * interface Person { + * age: number, + * name: string + * } + * + * Observable.of( + * { age: 4, name: 'Foo1'}, + * { age: 7, name: 'Bar'}, + * { age: 5, name: 'Foo2'}, + * { age: 6, name: 'Foo3'}) + * .distinctUntilKeyChanged('name', (x: string, y: string) => x.substring(0, 3) === y.substring(0, 3)) + * .subscribe(x => console.log(x)); + * + * // displays: + * // { age: 4, name: 'Foo1' } + * // { age: 7, name: 'Bar' } + * // { age: 5, name: 'Foo2' } + * + * @see {@link distinct} + * @see {@link distinctUntilChanged} + * + * @param {string} key String key for object property lookup on each item. + * @param {function} [compare] Optional comparison function called to test if an item is distinct from the previous item in the source. + * @return {Observable} An Observable that emits items from the source Observable with distinct values based on the key specified. + * @method distinctUntilKeyChanged + * @owner Observable + */ +export function distinctUntilKeyChanged(key, compare) { + return higherOrder(key, compare)(this); +} +//# sourceMappingURL=distinctUntilKeyChanged.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/distinctUntilKeyChanged.js.map b/node_modules/rxjs/_esm2015/operator/distinctUntilKeyChanged.js.map new file mode 100644 index 00000000..4c341259 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/distinctUntilKeyChanged.js.map @@ -0,0 +1 @@ +{"version":3,"file":"distinctUntilKeyChanged.js","sourceRoot":"","sources":["../../src/operator/distinctUntilKeyChanged.ts"],"names":[],"mappings":"OAEO,EAAE,uBAAuB,IAAI,WAAW,EAAE,MAAM,sCAAsC;AAK7F,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,wCAAgE,GAAW,EAAE,OAAiC;IAC5G,MAAM,CAAC,WAAW,CAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAC/C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/do.js b/node_modules/rxjs/_esm2015/operator/do.js new file mode 100644 index 00000000..2b513147 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/do.js @@ -0,0 +1,49 @@ +import { tap as higherOrder } from '../operators/tap'; +/* tslint:enable:max-line-length */ +/** + * Perform a side effect for every emission on the source Observable, but return + * an Observable that is identical to the source. + * + * Intercepts each emission on the source and runs a + * function, but returns an output which is identical to the source as long as errors don't occur. + * + * + * + * Returns a mirrored Observable of the source Observable, but modified so that + * the provided Observer is called to perform a side effect for every value, + * error, and completion emitted by the source. Any errors that are thrown in + * the aforementioned Observer or handlers are safely sent down the error path + * of the output Observable. + * + * This operator is useful for debugging your Observables for the correct values + * or performing other side effects. + * + * Note: this is different to a `subscribe` on the Observable. If the Observable + * returned by `do` is not subscribed, the side effects specified by the + * Observer will never happen. `do` therefore simply spies on existing + * execution, it does not trigger an execution to happen like `subscribe` does. + * + * @example Map every click to the clientX position of that click, while also logging the click event + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var positions = clicks + * .do(ev => console.log(ev)) + * .map(ev => ev.clientX); + * positions.subscribe(x => console.log(x)); + * + * @see {@link map} + * @see {@link subscribe} + * + * @param {Observer|function} [nextOrObserver] A normal Observer object or a + * callback for `next`. + * @param {function} [error] Callback for errors in the source. + * @param {function} [complete] Callback for the completion of the source. + * @return {Observable} An Observable identical to the source, but runs the + * specified Observer or callback(s) for each item. + * @method do + * @name do + * @owner Observable + */ +export function _do(nextOrObserver, error, complete) { + return higherOrder(nextOrObserver, error, complete)(this); +} +//# sourceMappingURL=do.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/do.js.map b/node_modules/rxjs/_esm2015/operator/do.js.map new file mode 100644 index 00000000..2599e4c4 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/do.js.map @@ -0,0 +1 @@ +{"version":3,"file":"do.js","sourceRoot":"","sources":["../../src/operator/do.ts"],"names":[],"mappings":"OAGO,EAAE,GAAG,IAAI,WAAW,EAAE,MAAM,kBAAkB;AAKrD,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,oBAA4C,cAAsD,EAC3E,KAAwB,EACxB,QAAqB;IAC1C,MAAM,CAAC,WAAW,CAAM,cAAc,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC,IAAI,CAAkB,CAAC;AAClF,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/elementAt.js b/node_modules/rxjs/_esm2015/operator/elementAt.js new file mode 100644 index 00000000..f358561c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/elementAt.js @@ -0,0 +1,47 @@ +import { elementAt as higherOrder } from '../operators/elementAt'; +/** + * Emits the single value at the specified `index` in a sequence of emissions + * from the source Observable. + * + * Emits only the i-th value, then completes. + * + * + * + * `elementAt` returns an Observable that emits the item at the specified + * `index` in the source Observable, or a default value if that `index` is out + * of range and the `default` argument is provided. If the `default` argument is + * not given and the `index` is out of range, the output Observable will emit an + * `ArgumentOutOfRangeError` error. + * + * @example Emit only the third click event + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.elementAt(2); + * result.subscribe(x => console.log(x)); + * + * // Results in: + * // click 1 = nothing + * // click 2 = nothing + * // click 3 = MouseEvent object logged to console + * + * @see {@link first} + * @see {@link last} + * @see {@link skip} + * @see {@link single} + * @see {@link take} + * + * @throws {ArgumentOutOfRangeError} When using `elementAt(i)`, it delivers an + * ArgumentOutOrRangeError to the Observer's `error` callback if `i < 0` or the + * Observable has completed before emitting the i-th `next` notification. + * + * @param {number} index Is the number `i` for the i-th source emission that has + * happened since the subscription, starting from the number `0`. + * @param {T} [defaultValue] The default value returned for missing indices. + * @return {Observable} An Observable that emits a single item, if it is found. + * Otherwise, will emit the default value if given. If not, then emits an error. + * @method elementAt + * @owner Observable + */ +export function elementAt(index, defaultValue) { + return higherOrder(index, defaultValue)(this); +} +//# sourceMappingURL=elementAt.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/elementAt.js.map b/node_modules/rxjs/_esm2015/operator/elementAt.js.map new file mode 100644 index 00000000..7686a810 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/elementAt.js.map @@ -0,0 +1 @@ +{"version":3,"file":"elementAt.js","sourceRoot":"","sources":["../../src/operator/elementAt.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,0BAAkD,KAAa,EAAE,YAAgB;IAC/E,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/every.js b/node_modules/rxjs/_esm2015/operator/every.js new file mode 100644 index 00000000..28d34f41 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/every.js @@ -0,0 +1,19 @@ +import { every as higherOrder } from '../operators/every'; +/** + * Returns an Observable that emits whether or not every item of the source satisfies the condition specified. + * + * @example A simple example emitting true if all elements are less than 5, false otherwise + * Observable.of(1, 2, 3, 4, 5, 6) + * .every(x => x < 5) + * .subscribe(x => console.log(x)); // -> false + * + * @param {function} predicate A function for determining if an item meets a specified condition. + * @param {any} [thisArg] Optional object to use for `this` in the callback. + * @return {Observable} An Observable of booleans that determines if all items of the source Observable meet the condition specified. + * @method every + * @owner Observable + */ +export function every(predicate, thisArg) { + return higherOrder(predicate, thisArg)(this); +} +//# sourceMappingURL=every.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/every.js.map b/node_modules/rxjs/_esm2015/operator/every.js.map new file mode 100644 index 00000000..d2fc666d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/every.js.map @@ -0,0 +1 @@ +{"version":3,"file":"every.js","sourceRoot":"","sources":["../../src/operator/every.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB;AAEzD;;;;;;;;;;;;;GAaG;AACH,sBAA8C,SAAsE,EAC3F,OAAa;IACpC,MAAM,CAAC,WAAW,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAC/C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/exhaust.js b/node_modules/rxjs/_esm2015/operator/exhaust.js new file mode 100644 index 00000000..02c5cff3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/exhaust.js @@ -0,0 +1,40 @@ +import { exhaust as higherOrder } from '../operators/exhaust'; +/** + * Converts a higher-order Observable into a first-order Observable by dropping + * inner Observables while the previous inner Observable has not yet completed. + * + * Flattens an Observable-of-Observables by dropping the + * next inner Observables while the current inner is still executing. + * + * + * + * `exhaust` subscribes to an Observable that emits Observables, also known as a + * higher-order Observable. Each time it observes one of these emitted inner + * Observables, the output Observable begins emitting the items emitted by that + * inner Observable. So far, it behaves like {@link mergeAll}. However, + * `exhaust` ignores every new inner Observable if the previous Observable has + * not yet completed. Once that one completes, it will accept and flatten the + * next inner Observable and repeat this process. + * + * @example Run a finite timer for each click, only if there is no currently active timer + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000).take(5)); + * var result = higherOrder.exhaust(); + * result.subscribe(x => console.log(x)); + * + * @see {@link combineAll} + * @see {@link concatAll} + * @see {@link switch} + * @see {@link mergeAll} + * @see {@link exhaustMap} + * @see {@link zipAll} + * + * @return {Observable} An Observable that takes a source of Observables and propagates the first observable + * exclusively until it completes before subscribing to the next. + * @method exhaust + * @owner Observable + */ +export function exhaust() { + return higherOrder()(this); +} +//# sourceMappingURL=exhaust.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/exhaust.js.map b/node_modules/rxjs/_esm2015/operator/exhaust.js.map new file mode 100644 index 00000000..fabda8b3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/exhaust.js.map @@ -0,0 +1 @@ +{"version":3,"file":"exhaust.js","sourceRoot":"","sources":["../../src/operator/exhaust.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sBAAsB;AAE7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH;IACE,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,CAAkB,CAAC;AAC9C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/exhaustMap.js b/node_modules/rxjs/_esm2015/operator/exhaustMap.js new file mode 100644 index 00000000..54fa682a --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/exhaustMap.js @@ -0,0 +1,51 @@ +import { exhaustMap as higherOrder } from '../operators/exhaustMap'; +/* tslint:enable:max-line-length */ +/** + * Projects each source value to an Observable which is merged in the output + * Observable only if the previous projected Observable has completed. + * + * Maps each value to an Observable, then flattens all of + * these inner Observables using {@link exhaust}. + * + * + * + * Returns an Observable that emits items based on applying a function that you + * supply to each item emitted by the source Observable, where that function + * returns an (so-called "inner") Observable. When it projects a source value to + * an Observable, the output Observable begins emitting the items emitted by + * that projected Observable. However, `exhaustMap` ignores every new projected + * Observable if the previous projected Observable has not yet completed. Once + * that one completes, it will accept and flatten the next projected Observable + * and repeat this process. + * + * @example Run a finite timer for each click, only if there is no currently active timer + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.exhaustMap((ev) => Rx.Observable.interval(1000).take(5)); + * result.subscribe(x => console.log(x)); + * + * @see {@link concatMap} + * @see {@link exhaust} + * @see {@link mergeMap} + * @see {@link switchMap} + * + * @param {function(value: T, ?index: number): ObservableInput} project A function + * that, when applied to an item emitted by the source Observable, returns an + * Observable. + * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] + * A function to produce the value on the output Observable based on the values + * and the indices of the source (outer) emission and the inner Observable + * emission. The arguments passed to this function are: + * - `outerValue`: the value that came from the source + * - `innerValue`: the value that came from the projected Observable + * - `outerIndex`: the "index" of the value that came from the source + * - `innerIndex`: the "index" of the value from the projected Observable + * @return {Observable} An Observable containing projected Observables + * of each item of the source, ignoring projected Observables that start before + * their preceding Observable has completed. + * @method exhaustMap + * @owner Observable + */ +export function exhaustMap(project, resultSelector) { + return higherOrder(project, resultSelector)(this); +} +//# sourceMappingURL=exhaustMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/exhaustMap.js.map b/node_modules/rxjs/_esm2015/operator/exhaustMap.js.map new file mode 100644 index 00000000..243f6783 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/exhaustMap.js.map @@ -0,0 +1 @@ +{"version":3,"file":"exhaustMap.js","sourceRoot":"","sources":["../../src/operator/exhaustMap.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,yBAAyB;AAKnE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,2BAAyD,OAAwD,EAC7E,cAA4F;IAC9H,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,IAAI,CAAC,CAAC;AACpD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/expand.js b/node_modules/rxjs/_esm2015/operator/expand.js new file mode 100644 index 00000000..a544be0f --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/expand.js @@ -0,0 +1,52 @@ +import { expand as higherOrder } from '../operators/expand'; +/* tslint:enable:max-line-length */ +/** + * Recursively projects each source value to an Observable which is merged in + * the output Observable. + * + * It's similar to {@link mergeMap}, but applies the + * projection function to every source value as well as every output value. + * It's recursive. + * + * + * + * Returns an Observable that emits items based on applying a function that you + * supply to each item emitted by the source Observable, where that function + * returns an Observable, and then merging those resulting Observables and + * emitting the results of this merger. *Expand* will re-emit on the output + * Observable every source value. Then, each output value is given to the + * `project` function which returns an inner Observable to be merged on the + * output Observable. Those output values resulting from the projection are also + * given to the `project` function to produce new output values. This is how + * *expand* behaves recursively. + * + * @example Start emitting the powers of two on every click, at most 10 of them + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var powersOfTwo = clicks + * .mapTo(1) + * .expand(x => Rx.Observable.of(2 * x).delay(1000)) + * .take(10); + * powersOfTwo.subscribe(x => console.log(x)); + * + * @see {@link mergeMap} + * @see {@link mergeScan} + * + * @param {function(value: T, index: number) => Observable} project A function + * that, when applied to an item emitted by the source or the output Observable, + * returns an Observable. + * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input + * Observables being subscribed to concurrently. + * @param {Scheduler} [scheduler=null] The IScheduler to use for subscribing to + * each projected inner Observable. + * @return {Observable} An Observable that emits the source values and also + * result of applying the projection function to each value emitted on the + * output Observable and and merging the results of the Observables obtained + * from this transformation. + * @method expand + * @owner Observable + */ +export function expand(project, concurrent = Number.POSITIVE_INFINITY, scheduler = undefined) { + concurrent = (concurrent || 0) < 1 ? Number.POSITIVE_INFINITY : concurrent; + return higherOrder(project, concurrent, scheduler)(this); +} +//# sourceMappingURL=expand.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/expand.js.map b/node_modules/rxjs/_esm2015/operator/expand.js.map new file mode 100644 index 00000000..e4486d87 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/expand.js.map @@ -0,0 +1 @@ +{"version":3,"file":"expand.js","sourceRoot":"","sources":["../../src/operator/expand.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,qBAAqB;AAK3D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,uBAAkD,OAAmD,EACxE,UAAU,GAAW,MAAM,CAAC,iBAAiB,EAC7C,SAAS,GAAe,SAAS;IAC5D,UAAU,GAAG,CAAC,UAAU,IAAI,CAAC,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,iBAAiB,GAAG,UAAU,CAAC;IAE3E,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;AAC3D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/filter.js b/node_modules/rxjs/_esm2015/operator/filter.js new file mode 100644 index 00000000..c57a64b4 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/filter.js @@ -0,0 +1,45 @@ +import { filter as higherOrderFilter } from '../operators/filter'; +/* tslint:enable:max-line-length */ +/** + * Filter items emitted by the source Observable by only emitting those that + * satisfy a specified predicate. + * + * Like + * [Array.prototype.filter()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter), + * it only emits a value from the source if it passes a criterion function. + * + * + * + * Similar to the well-known `Array.prototype.filter` method, this operator + * takes values from the source Observable, passes them through a `predicate` + * function and only emits those values that yielded `true`. + * + * @example Emit only click events whose target was a DIV element + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var clicksOnDivs = clicks.filter(ev => ev.target.tagName === 'DIV'); + * clicksOnDivs.subscribe(x => console.log(x)); + * + * @see {@link distinct} + * @see {@link distinctUntilChanged} + * @see {@link distinctUntilKeyChanged} + * @see {@link ignoreElements} + * @see {@link partition} + * @see {@link skip} + * + * @param {function(value: T, index: number): boolean} predicate A function that + * evaluates each value emitted by the source Observable. If it returns `true`, + * the value is emitted, if `false` the value is not passed to the output + * Observable. The `index` parameter is the number `i` for the i-th source + * emission that has happened since the subscription, starting from the number + * `0`. + * @param {any} [thisArg] An optional argument to determine the value of `this` + * in the `predicate` function. + * @return {Observable} An Observable of values from the source that were + * allowed by the `predicate` function. + * @method filter + * @owner Observable + */ +export function filter(predicate, thisArg) { + return higherOrderFilter(predicate, thisArg)(this); +} +//# sourceMappingURL=filter.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/filter.js.map b/node_modules/rxjs/_esm2015/operator/filter.js.map new file mode 100644 index 00000000..6abb45c2 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/filter.js.map @@ -0,0 +1 @@ +{"version":3,"file":"filter.js","sourceRoot":"","sources":["../../src/operator/filter.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,IAAI,iBAAiB,EAAE,MAAM,qBAAqB;AASjE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,uBAA+C,SAA+C,EACpE,OAAa;IACrC,MAAM,CAAC,iBAAiB,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AACrD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/finally.js b/node_modules/rxjs/_esm2015/operator/finally.js new file mode 100644 index 00000000..740cd765 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/finally.js @@ -0,0 +1,13 @@ +import { finalize } from '../operators/finalize'; +/** + * Returns an Observable that mirrors the source Observable, but will call a specified function when + * the source terminates on complete or error. + * @param {function} callback Function to be called when source terminates. + * @return {Observable} An Observable that mirrors the source, but will call the specified function on termination. + * @method finally + * @owner Observable + */ +export function _finally(callback) { + return finalize(callback)(this); +} +//# sourceMappingURL=finally.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/finally.js.map b/node_modules/rxjs/_esm2015/operator/finally.js.map new file mode 100644 index 00000000..fa9f5ae6 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/finally.js.map @@ -0,0 +1 @@ +{"version":3,"file":"finally.js","sourceRoot":"","sources":["../../src/operator/finally.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAE,MAAM,uBAAuB;AAEhD;;;;;;;GAOG;AACH,yBAAiD,QAAoB;IACnE,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAkB,CAAC;AACnD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/find.js b/node_modules/rxjs/_esm2015/operator/find.js new file mode 100644 index 00000000..6521b51e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/find.js @@ -0,0 +1,39 @@ +import { find as higherOrder } from '../operators/find'; +/* tslint:enable:max-line-length */ +/** + * Emits only the first value emitted by the source Observable that meets some + * condition. + * + * Finds the first value that passes some test and emits + * that. + * + * + * + * `find` searches for the first item in the source Observable that matches the + * specified condition embodied by the `predicate`, and returns the first + * occurrence in the source. Unlike {@link first}, the `predicate` is required + * in `find`, and does not emit an error if a valid value is not found. + * + * @example Find and emit the first click that happens on a DIV element + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.find(ev => ev.target.tagName === 'DIV'); + * result.subscribe(x => console.log(x)); + * + * @see {@link filter} + * @see {@link first} + * @see {@link findIndex} + * @see {@link take} + * + * @param {function(value: T, index: number, source: Observable): boolean} predicate + * A function called with each item to test for condition matching. + * @param {any} [thisArg] An optional argument to determine the value of `this` + * in the `predicate` function. + * @return {Observable} An Observable of the first item that matches the + * condition. + * @method find + * @owner Observable + */ +export function find(predicate, thisArg) { + return higherOrder(predicate, thisArg)(this); +} +//# sourceMappingURL=find.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/find.js.map b/node_modules/rxjs/_esm2015/operator/find.js.map new file mode 100644 index 00000000..615dbadf --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/find.js.map @@ -0,0 +1 @@ +{"version":3,"file":"find.js","sourceRoot":"","sources":["../../src/operator/find.ts"],"names":[],"mappings":"OACO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,mBAAmB;AASvD,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAA6C,SAAsE,EAC3F,OAAa;IACnC,MAAM,CAAC,WAAW,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAC/C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/findIndex.js b/node_modules/rxjs/_esm2015/operator/findIndex.js new file mode 100644 index 00000000..eec92243 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/findIndex.js @@ -0,0 +1,39 @@ +import { findIndex as higherOrder } from '../operators/findIndex'; +/** + * Emits only the index of the first value emitted by the source Observable that + * meets some condition. + * + * It's like {@link find}, but emits the index of the + * found value, not the value itself. + * + * + * + * `findIndex` searches for the first item in the source Observable that matches + * the specified condition embodied by the `predicate`, and returns the + * (zero-based) index of the first occurrence in the source. Unlike + * {@link first}, the `predicate` is required in `findIndex`, and does not emit + * an error if a valid value is not found. + * + * @example Emit the index of first click that happens on a DIV element + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.findIndex(ev => ev.target.tagName === 'DIV'); + * result.subscribe(x => console.log(x)); + * + * @see {@link filter} + * @see {@link find} + * @see {@link first} + * @see {@link take} + * + * @param {function(value: T, index: number, source: Observable): boolean} predicate + * A function called with each item to test for condition matching. + * @param {any} [thisArg] An optional argument to determine the value of `this` + * in the `predicate` function. + * @return {Observable} An Observable of the index of the first item that + * matches the condition. + * @method find + * @owner Observable + */ +export function findIndex(predicate, thisArg) { + return higherOrder(predicate, thisArg)(this); +} +//# sourceMappingURL=findIndex.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/findIndex.js.map b/node_modules/rxjs/_esm2015/operator/findIndex.js.map new file mode 100644 index 00000000..77ac8f36 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/findIndex.js.map @@ -0,0 +1 @@ +{"version":3,"file":"findIndex.js","sourceRoot":"","sources":["../../src/operator/findIndex.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AACjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,0BAAkD,SAAsE,EAC3F,OAAa;IACxC,MAAM,CAAC,WAAW,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAC/C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/first.js b/node_modules/rxjs/_esm2015/operator/first.js new file mode 100644 index 00000000..cc97bd80 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/first.js @@ -0,0 +1,54 @@ +import { first as higherOrder } from '../operators/first'; +/** + * Emits only the first value (or the first value that meets some condition) + * emitted by the source Observable. + * + * Emits only the first value. Or emits only the first + * value that passes some test. + * + * + * + * If called with no arguments, `first` emits the first value of the source + * Observable, then completes. If called with a `predicate` function, `first` + * emits the first value of the source that matches the specified condition. It + * may also take a `resultSelector` function to produce the output value from + * the input value, and a `defaultValue` to emit in case the source completes + * before it is able to emit a valid value. Throws an error if `defaultValue` + * was not provided and a matching element is not found. + * + * @example Emit only the first click that happens on the DOM + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.first(); + * result.subscribe(x => console.log(x)); + * + * @example Emits the first click that happens on a DIV + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.first(ev => ev.target.tagName === 'DIV'); + * result.subscribe(x => console.log(x)); + * + * @see {@link filter} + * @see {@link find} + * @see {@link take} + * + * @throws {EmptyError} Delivers an EmptyError to the Observer's `error` + * callback if the Observable completes before any `next` notification was sent. + * + * @param {function(value: T, index: number, source: Observable): boolean} [predicate] + * An optional function called with each item to test for condition matching. + * @param {function(value: T, index: number): R} [resultSelector] A function to + * produce the value on the output Observable based on the values + * and the indices of the source Observable. The arguments passed to this + * function are: + * - `value`: the value that was emitted on the source. + * - `index`: the "index" of the value from the source. + * @param {R} [defaultValue] The default value emitted in case no valid value + * was found on the source. + * @return {Observable} An Observable of the first item that matches the + * condition. + * @method first + * @owner Observable + */ +export function first(predicate, resultSelector, defaultValue) { + return higherOrder(predicate, resultSelector, defaultValue)(this); +} +//# sourceMappingURL=first.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/first.js.map b/node_modules/rxjs/_esm2015/operator/first.js.map new file mode 100644 index 00000000..663b25f3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/first.js.map @@ -0,0 +1 @@ +{"version":3,"file":"first.js","sourceRoot":"","sources":["../../src/operator/first.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB;AAuBzD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,sBAAiD,SAAuE,EAC5F,cAAwD,EACxD,YAAgB;IAC1C,MAAM,CAAC,WAAW,CAAC,SAAS,EAAE,cAAqB,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC;AAC3E,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/groupBy.js b/node_modules/rxjs/_esm2015/operator/groupBy.js new file mode 100644 index 00000000..73db84a4 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/groupBy.js @@ -0,0 +1,74 @@ +import { groupBy as higherOrder, GroupedObservable } from '../operators/groupBy'; +export { GroupedObservable }; +/* tslint:enable:max-line-length */ +/** + * Groups the items emitted by an Observable according to a specified criterion, + * and emits these grouped items as `GroupedObservables`, one + * {@link GroupedObservable} per group. + * + * + * + * @example Group objects by id and return as array + * Observable.of({id: 1, name: 'aze1'}, + * {id: 2, name: 'sf2'}, + * {id: 2, name: 'dg2'}, + * {id: 1, name: 'erg1'}, + * {id: 1, name: 'df1'}, + * {id: 2, name: 'sfqfb2'}, + * {id: 3, name: 'qfs3'}, + * {id: 2, name: 'qsgqsfg2'} + * ) + * .groupBy(p => p.id) + * .flatMap( (group$) => group$.reduce((acc, cur) => [...acc, cur], [])) + * .subscribe(p => console.log(p)); + * + * // displays: + * // [ { id: 1, name: 'aze1' }, + * // { id: 1, name: 'erg1' }, + * // { id: 1, name: 'df1' } ] + * // + * // [ { id: 2, name: 'sf2' }, + * // { id: 2, name: 'dg2' }, + * // { id: 2, name: 'sfqfb2' }, + * // { id: 2, name: 'qsgqsfg2' } ] + * // + * // [ { id: 3, name: 'qfs3' } ] + * + * @example Pivot data on the id field + * Observable.of({id: 1, name: 'aze1'}, + * {id: 2, name: 'sf2'}, + * {id: 2, name: 'dg2'}, + * {id: 1, name: 'erg1'}, + * {id: 1, name: 'df1'}, + * {id: 2, name: 'sfqfb2'}, + * {id: 3, name: 'qfs1'}, + * {id: 2, name: 'qsgqsfg2'} + * ) + * .groupBy(p => p.id, p => p.name) + * .flatMap( (group$) => group$.reduce((acc, cur) => [...acc, cur], ["" + group$.key])) + * .map(arr => ({'id': parseInt(arr[0]), 'values': arr.slice(1)})) + * .subscribe(p => console.log(p)); + * + * // displays: + * // { id: 1, values: [ 'aze1', 'erg1', 'df1' ] } + * // { id: 2, values: [ 'sf2', 'dg2', 'sfqfb2', 'qsgqsfg2' ] } + * // { id: 3, values: [ 'qfs1' ] } + * + * @param {function(value: T): K} keySelector A function that extracts the key + * for each item. + * @param {function(value: T): R} [elementSelector] A function that extracts the + * return element for each item. + * @param {function(grouped: GroupedObservable): Observable} [durationSelector] + * A function that returns an Observable to determine how long each group should + * exist. + * @return {Observable>} An Observable that emits + * GroupedObservables, each of which corresponds to a unique key value and each + * of which emits those items from the source Observable that share that key + * value. + * @method groupBy + * @owner Observable + */ +export function groupBy(keySelector, elementSelector, durationSelector, subjectSelector) { + return higherOrder(keySelector, elementSelector, durationSelector, subjectSelector)(this); +} +//# sourceMappingURL=groupBy.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/groupBy.js.map b/node_modules/rxjs/_esm2015/operator/groupBy.js.map new file mode 100644 index 00000000..a174abed --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/groupBy.js.map @@ -0,0 +1 @@ +{"version":3,"file":"groupBy.js","sourceRoot":"","sources":["../../src/operator/groupBy.ts"],"names":[],"mappings":"OAGO,EAAE,OAAO,IAAI,WAAW,EAAE,iBAAiB,EAAE,MAAM,sBAAsB;AAChF,SAAS,iBAAiB,GAAG;AAO7B,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AACH,wBAAsD,WAA4B,EACjD,eAA0C,EAC1C,gBAAwE,EACxE,eAAkC;IACjE,MAAM,CAAC,WAAW,CAAC,WAAW,EAAE,eAAsB,EAAE,gBAAgB,EAAE,eAAe,CAAC,CAAC,IAAI,CAAC,CAAC;AACnG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/ignoreElements.js b/node_modules/rxjs/_esm2015/operator/ignoreElements.js new file mode 100644 index 00000000..6223239b --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/ignoreElements.js @@ -0,0 +1,16 @@ +import { ignoreElements as higherOrder } from '../operators/ignoreElements'; +/** + * Ignores all items emitted by the source Observable and only passes calls of `complete` or `error`. + * + * + * + * @return {Observable} An empty Observable that only calls `complete` + * or `error`, based on which one is called by the source Observable. + * @method ignoreElements + * @owner Observable + */ +export function ignoreElements() { + return higherOrder()(this); +} +; +//# sourceMappingURL=ignoreElements.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/ignoreElements.js.map b/node_modules/rxjs/_esm2015/operator/ignoreElements.js.map new file mode 100644 index 00000000..063cc8c5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/ignoreElements.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ignoreElements.js","sourceRoot":"","sources":["../../src/operator/ignoreElements.ts"],"names":[],"mappings":"OACO,EAAE,cAAc,IAAI,WAAW,EAAE,MAAM,6BAA6B;AAE3E;;;;;;;;;GASG;AACH;IACE,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,CAAkB,CAAC;AAC9C,CAAC;AAAA,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/isEmpty.js b/node_modules/rxjs/_esm2015/operator/isEmpty.js new file mode 100644 index 00000000..c5143de3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/isEmpty.js @@ -0,0 +1,14 @@ +import { isEmpty as higherOrder } from '../operators/isEmpty'; +/** + * If the source Observable is empty it returns an Observable that emits true, otherwise it emits false. + * + * + * + * @return {Observable} An Observable that emits a Boolean. + * @method isEmpty + * @owner Observable + */ +export function isEmpty() { + return higherOrder()(this); +} +//# sourceMappingURL=isEmpty.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/isEmpty.js.map b/node_modules/rxjs/_esm2015/operator/isEmpty.js.map new file mode 100644 index 00000000..e8b7a9e1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/isEmpty.js.map @@ -0,0 +1 @@ +{"version":3,"file":"isEmpty.js","sourceRoot":"","sources":["../../src/operator/isEmpty.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sBAAsB;AAE7D;;;;;;;;GAQG;AACH;IACE,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,CAAC,CAAC;AAC7B,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/last.js b/node_modules/rxjs/_esm2015/operator/last.js new file mode 100644 index 00000000..202219a2 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/last.js @@ -0,0 +1,23 @@ +import { last as higherOrder } from '../operators/last'; +/* tslint:enable:max-line-length */ +/** + * Returns an Observable that emits only the last item emitted by the source Observable. + * It optionally takes a predicate function as a parameter, in which case, rather than emitting + * the last item from the source Observable, the resulting Observable will emit the last item + * from the source Observable that satisfies the predicate. + * + * + * + * @throws {EmptyError} Delivers an EmptyError to the Observer's `error` + * callback if the Observable completes before any `next` notification was sent. + * @param {function} predicate - The condition any source emitted item has to satisfy. + * @return {Observable} An Observable that emits only the last item satisfying the given condition + * from the source, or an NoSuchElementException if no such items are emitted. + * @throws - Throws if no items that match the predicate are emitted by the source Observable. + * @method last + * @owner Observable + */ +export function last(predicate, resultSelector, defaultValue) { + return higherOrder(predicate, resultSelector, defaultValue)(this); +} +//# sourceMappingURL=last.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/last.js.map b/node_modules/rxjs/_esm2015/operator/last.js.map new file mode 100644 index 00000000..00d0ac38 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/last.js.map @@ -0,0 +1 @@ +{"version":3,"file":"last.js","sourceRoot":"","sources":["../../src/operator/last.ts"],"names":[],"mappings":"OACO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,mBAAmB;AAsBvD,mCAAmC;AAEnC;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAgD,SAAuE,EAC5F,cAAwD,EACxD,YAAgB;IACzC,MAAM,CAAC,WAAW,CAAC,SAAS,EAAE,cAAqB,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC;AAC3E,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/let.js b/node_modules/rxjs/_esm2015/operator/let.js new file mode 100644 index 00000000..8d5d3a96 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/let.js @@ -0,0 +1,10 @@ +/** + * @param func + * @return {Observable} + * @method let + * @owner Observable + */ +export function letProto(func) { + return func(this); +} +//# sourceMappingURL=let.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/let.js.map b/node_modules/rxjs/_esm2015/operator/let.js.map new file mode 100644 index 00000000..a0c984c3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/let.js.map @@ -0,0 +1 @@ +{"version":3,"file":"let.js","sourceRoot":"","sources":["../../src/operator/let.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,yBAAoD,IAAgD;IAClG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACpB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/map.js b/node_modules/rxjs/_esm2015/operator/map.js new file mode 100644 index 00000000..42fc7c35 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/map.js @@ -0,0 +1,38 @@ +import { map as higherOrderMap } from '../operators/map'; +/** + * Applies a given `project` function to each value emitted by the source + * Observable, and emits the resulting values as an Observable. + * + * Like [Array.prototype.map()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map), + * it passes each source value through a transformation function to get + * corresponding output values. + * + * + * + * Similar to the well known `Array.prototype.map` function, this operator + * applies a projection to each value and emits that projection in the output + * Observable. + * + * @example Map every click to the clientX position of that click + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var positions = clicks.map(ev => ev.clientX); + * positions.subscribe(x => console.log(x)); + * + * @see {@link mapTo} + * @see {@link pluck} + * + * @param {function(value: T, index: number): R} project The function to apply + * to each `value` emitted by the source Observable. The `index` parameter is + * the number `i` for the i-th emission that has happened since the + * subscription, starting from the number `0`. + * @param {any} [thisArg] An optional argument to define what `this` is in the + * `project` function. + * @return {Observable} An Observable that emits the values from the source + * Observable transformed by the given `project` function. + * @method map + * @owner Observable + */ +export function map(project, thisArg) { + return higherOrderMap(project, thisArg)(this); +} +//# sourceMappingURL=map.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/map.js.map b/node_modules/rxjs/_esm2015/operator/map.js.map new file mode 100644 index 00000000..78d52a88 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/map.js.map @@ -0,0 +1 @@ +{"version":3,"file":"map.js","sourceRoot":"","sources":["../../src/operator/map.ts"],"names":[],"mappings":"OAAO,EAAE,GAAG,IAAI,cAAc,EAAE,MAAM,kBAAkB;AAGxD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,oBAA+C,OAAuC,EAAE,OAAa;IACnG,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/mapTo.js b/node_modules/rxjs/_esm2015/operator/mapTo.js new file mode 100644 index 00000000..93f589da --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/mapTo.js @@ -0,0 +1,31 @@ +import { mapTo as higherOrder } from '../operators/mapTo'; +/** + * Emits the given constant value on the output Observable every time the source + * Observable emits a value. + * + * Like {@link map}, but it maps every source value to + * the same output value every time. + * + * + * + * Takes a constant `value` as argument, and emits that whenever the source + * Observable emits a value. In other words, ignores the actual source value, + * and simply uses the emission moment to know when to emit the given `value`. + * + * @example Map every click to the string 'Hi' + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var greetings = clicks.mapTo('Hi'); + * greetings.subscribe(x => console.log(x)); + * + * @see {@link map} + * + * @param {any} value The value to map each source value to. + * @return {Observable} An Observable that emits the given `value` every time + * the source Observable emits something. + * @method mapTo + * @owner Observable + */ +export function mapTo(value) { + return higherOrder(value)(this); +} +//# sourceMappingURL=mapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/mapTo.js.map b/node_modules/rxjs/_esm2015/operator/mapTo.js.map new file mode 100644 index 00000000..2e1d8fd0 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/mapTo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mapTo.js","sourceRoot":"","sources":["../../src/operator/mapTo.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB;AAEzD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,sBAAiD,KAAQ;IACvD,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/materialize.js b/node_modules/rxjs/_esm2015/operator/materialize.js new file mode 100644 index 00000000..c92ad784 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/materialize.js @@ -0,0 +1,49 @@ +import { materialize as higherOrder } from '../operators/materialize'; +/** + * Represents all of the notifications from the source Observable as `next` + * emissions marked with their original types within {@link Notification} + * objects. + * + * Wraps `next`, `error` and `complete` emissions in + * {@link Notification} objects, emitted as `next` on the output Observable. + * + * + * + * + * `materialize` returns an Observable that emits a `next` notification for each + * `next`, `error`, or `complete` emission of the source Observable. When the + * source Observable emits `complete`, the output Observable will emit `next` as + * a Notification of type "complete", and then it will emit `complete` as well. + * When the source Observable emits `error`, the output will emit `next` as a + * Notification of type "error", and then `complete`. + * + * This operator is useful for producing metadata of the source Observable, to + * be consumed as `next` emissions. Use it in conjunction with + * {@link dematerialize}. + * + * @example Convert a faulty Observable to an Observable of Notifications + * var letters = Rx.Observable.of('a', 'b', 13, 'd'); + * var upperCase = letters.map(x => x.toUpperCase()); + * var materialized = upperCase.materialize(); + * materialized.subscribe(x => console.log(x)); + * + * // Results in the following: + * // - Notification {kind: "N", value: "A", error: undefined, hasValue: true} + * // - Notification {kind: "N", value: "B", error: undefined, hasValue: true} + * // - Notification {kind: "E", value: undefined, error: TypeError: + * // x.toUpperCase is not a function at MapSubscriber.letters.map.x + * // [as project] (http://1…, hasValue: false} + * + * @see {@link Notification} + * @see {@link dematerialize} + * + * @return {Observable>} An Observable that emits + * {@link Notification} objects that wrap the original emissions from the source + * Observable with metadata. + * @method materialize + * @owner Observable + */ +export function materialize() { + return higherOrder()(this); +} +//# sourceMappingURL=materialize.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/materialize.js.map b/node_modules/rxjs/_esm2015/operator/materialize.js.map new file mode 100644 index 00000000..c5ed78e9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/materialize.js.map @@ -0,0 +1 @@ +{"version":3,"file":"materialize.js","sourceRoot":"","sources":["../../src/operator/materialize.ts"],"names":[],"mappings":"OAGO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,0BAA0B;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH;IACE,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,CAAgC,CAAC;AAC5D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/max.js b/node_modules/rxjs/_esm2015/operator/max.js new file mode 100644 index 00000000..430013bf --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/max.js @@ -0,0 +1,36 @@ +import { max as higherOrderMax } from '../operators/max'; +/** + * The Max operator operates on an Observable that emits numbers (or items that can be compared with a provided function), + * and when source Observable completes it emits a single item: the item with the largest value. + * + * + * + * @example Get the maximal value of a series of numbers + * Rx.Observable.of(5, 4, 7, 2, 8) + * .max() + * .subscribe(x => console.log(x)); // -> 8 + * + * @example Use a comparer function to get the maximal item + * interface Person { + * age: number, + * name: string + * } + * Observable.of({age: 7, name: 'Foo'}, + * {age: 5, name: 'Bar'}, + * {age: 9, name: 'Beer'}) + * .max((a: Person, b: Person) => a.age < b.age ? -1 : 1) + * .subscribe((x: Person) => console.log(x.name)); // -> 'Beer' + * } + * + * @see {@link min} + * + * @param {Function} [comparer] - Optional comparer function that it will use instead of its default to compare the + * value of two items. + * @return {Observable} An Observable that emits item with the largest value. + * @method max + * @owner Observable + */ +export function max(comparer) { + return higherOrderMax(comparer)(this); +} +//# sourceMappingURL=max.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/max.js.map b/node_modules/rxjs/_esm2015/operator/max.js.map new file mode 100644 index 00000000..d4a472f0 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/max.js.map @@ -0,0 +1 @@ +{"version":3,"file":"max.js","sourceRoot":"","sources":["../../src/operator/max.ts"],"names":[],"mappings":"OACO,EAAE,GAAG,IAAI,cAAc,EAAE,MAAM,kBAAkB;AAExD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,oBAA4C,QAAiC;IAC3E,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC;AACxC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/merge.js b/node_modules/rxjs/_esm2015/operator/merge.js new file mode 100644 index 00000000..322cd90c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/merge.js @@ -0,0 +1,53 @@ +import { merge as higherOrder } from '../operators/merge'; +export { merge as mergeStatic } from '../observable/merge'; +/* tslint:enable:max-line-length */ +/** + * Creates an output Observable which concurrently emits all values from every + * given input Observable. + * + * Flattens multiple Observables together by blending + * their values into one Observable. + * + * + * + * `merge` subscribes to each given input Observable (either the source or an + * Observable given as argument), and simply forwards (without doing any + * transformation) all the values from all the input Observables to the output + * Observable. The output Observable only completes once all input Observables + * have completed. Any error delivered by an input Observable will be immediately + * emitted on the output Observable. + * + * @example Merge together two Observables: 1s interval and clicks + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var timer = Rx.Observable.interval(1000); + * var clicksOrTimer = clicks.merge(timer); + * clicksOrTimer.subscribe(x => console.log(x)); + * + * @example Merge together 3 Observables, but only 2 run concurrently + * var timer1 = Rx.Observable.interval(1000).take(10); + * var timer2 = Rx.Observable.interval(2000).take(6); + * var timer3 = Rx.Observable.interval(500).take(10); + * var concurrent = 2; // the argument + * var merged = timer1.merge(timer2, timer3, concurrent); + * merged.subscribe(x => console.log(x)); + * + * @see {@link mergeAll} + * @see {@link mergeMap} + * @see {@link mergeMapTo} + * @see {@link mergeScan} + * + * @param {ObservableInput} other An input Observable to merge with the source + * Observable. More than one input Observables may be given as argument. + * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input + * Observables being subscribed to concurrently. + * @param {Scheduler} [scheduler=null] The IScheduler to use for managing + * concurrency of input Observables. + * @return {Observable} An Observable that emits items that are the result of + * every input Observable. + * @method merge + * @owner Observable + */ +export function merge(...observables) { + return higherOrder(...observables)(this); +} +//# sourceMappingURL=merge.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/merge.js.map b/node_modules/rxjs/_esm2015/operator/merge.js.map new file mode 100644 index 00000000..f9c35c8e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/merge.js.map @@ -0,0 +1 @@ +{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../src/operator/merge.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB;AAEzD,SAAS,KAAK,IAAI,WAAW,QAAQ,qBAAqB,CAAC;AAiB3D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,sBAAiD,GAAG,WAA8D;IAChH,MAAM,CAAC,WAAW,CAAC,GAAG,WAAW,CAAC,CAAC,IAAI,CAAkB,CAAC;AAC5D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/mergeAll.js b/node_modules/rxjs/_esm2015/operator/mergeAll.js new file mode 100644 index 00000000..2464518a --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/mergeAll.js @@ -0,0 +1,49 @@ +import { mergeAll as higherOrder } from '../operators/mergeAll'; +/** + * Converts a higher-order Observable into a first-order Observable which + * concurrently delivers all values that are emitted on the inner Observables. + * + * Flattens an Observable-of-Observables. + * + * + * + * `mergeAll` subscribes to an Observable that emits Observables, also known as + * a higher-order Observable. Each time it observes one of these emitted inner + * Observables, it subscribes to that and delivers all the values from the + * inner Observable on the output Observable. The output Observable only + * completes once all inner Observables have completed. Any error delivered by + * a inner Observable will be immediately emitted on the output Observable. + * + * @example Spawn a new interval Observable for each click event, and blend their outputs as one Observable + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000)); + * var firstOrder = higherOrder.mergeAll(); + * firstOrder.subscribe(x => console.log(x)); + * + * @example Count from 0 to 9 every second for each click, but only allow 2 concurrent timers + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000).take(10)); + * var firstOrder = higherOrder.mergeAll(2); + * firstOrder.subscribe(x => console.log(x)); + * + * @see {@link combineAll} + * @see {@link concatAll} + * @see {@link exhaust} + * @see {@link merge} + * @see {@link mergeMap} + * @see {@link mergeMapTo} + * @see {@link mergeScan} + * @see {@link switch} + * @see {@link zipAll} + * + * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of inner + * Observables being subscribed to concurrently. + * @return {Observable} An Observable that emits values coming from all the + * inner Observables emitted by the source Observable. + * @method mergeAll + * @owner Observable + */ +export function mergeAll(concurrent = Number.POSITIVE_INFINITY) { + return higherOrder(concurrent)(this); +} +//# sourceMappingURL=mergeAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/mergeAll.js.map b/node_modules/rxjs/_esm2015/operator/mergeAll.js.map new file mode 100644 index 00000000..a8a04ea9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/mergeAll.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mergeAll.js","sourceRoot":"","sources":["../../src/operator/mergeAll.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,IAAI,WAAW,EAAE,MAAM,uBAAuB;AAK/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,yBAAiD,UAAU,GAAW,MAAM,CAAC,iBAAiB;IAC5F,MAAM,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,IAAI,CAAkB,CAAC;AACxD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/mergeMap.js b/node_modules/rxjs/_esm2015/operator/mergeMap.js new file mode 100644 index 00000000..c7c1bd99 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/mergeMap.js @@ -0,0 +1,64 @@ +import { mergeMap as higherOrderMergeMap } from '../operators/mergeMap'; +/* tslint:enable:max-line-length */ +/** + * Projects each source value to an Observable which is merged in the output + * Observable. + * + * Maps each value to an Observable, then flattens all of + * these inner Observables using {@link mergeAll}. + * + * + * + * Returns an Observable that emits items based on applying a function that you + * supply to each item emitted by the source Observable, where that function + * returns an Observable, and then merging those resulting Observables and + * emitting the results of this merger. + * + * @example Map and flatten each letter to an Observable ticking every 1 second + * var letters = Rx.Observable.of('a', 'b', 'c'); + * var result = letters.mergeMap(x => + * Rx.Observable.interval(1000).map(i => x+i) + * ); + * result.subscribe(x => console.log(x)); + * + * // Results in the following: + * // a0 + * // b0 + * // c0 + * // a1 + * // b1 + * // c1 + * // continues to list a,b,c with respective ascending integers + * + * @see {@link concatMap} + * @see {@link exhaustMap} + * @see {@link merge} + * @see {@link mergeAll} + * @see {@link mergeMapTo} + * @see {@link mergeScan} + * @see {@link switchMap} + * + * @param {function(value: T, ?index: number): ObservableInput} project A function + * that, when applied to an item emitted by the source Observable, returns an + * Observable. + * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] + * A function to produce the value on the output Observable based on the values + * and the indices of the source (outer) emission and the inner Observable + * emission. The arguments passed to this function are: + * - `outerValue`: the value that came from the source + * - `innerValue`: the value that came from the projected Observable + * - `outerIndex`: the "index" of the value that came from the source + * - `innerIndex`: the "index" of the value from the projected Observable + * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input + * Observables being subscribed to concurrently. + * @return {Observable} An Observable that emits the result of applying the + * projection function (and the optional `resultSelector`) to each item emitted + * by the source Observable and merging the results of the Observables obtained + * from this transformation. + * @method mergeMap + * @owner Observable + */ +export function mergeMap(project, resultSelector, concurrent = Number.POSITIVE_INFINITY) { + return higherOrderMergeMap(project, resultSelector, concurrent)(this); +} +//# sourceMappingURL=mergeMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/mergeMap.js.map b/node_modules/rxjs/_esm2015/operator/mergeMap.js.map new file mode 100644 index 00000000..8095283c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/mergeMap.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mergeMap.js","sourceRoot":"","sources":["../../src/operator/mergeMap.ts"],"names":[],"mappings":"OACO,EAAE,QAAQ,IAAI,mBAAmB,EAAE,MAAM,uBAAuB;AAKvE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,yBAAuD,OAAwD,EAC7E,cAAuG,EACvG,UAAU,GAAW,MAAM,CAAC,iBAAiB;IAC7E,MAAM,CAAC,mBAAmB,CAAC,OAAO,EAAO,cAAc,EAAE,UAAU,CAAC,CAAC,IAAI,CAAsB,CAAC;AAClG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/mergeMapTo.js b/node_modules/rxjs/_esm2015/operator/mergeMapTo.js new file mode 100644 index 00000000..2be85147 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/mergeMapTo.js @@ -0,0 +1,49 @@ +import { mergeMapTo as higherOrder } from '../operators/mergeMapTo'; +/* tslint:enable:max-line-length */ +/** + * Projects each source value to the same Observable which is merged multiple + * times in the output Observable. + * + * It's like {@link mergeMap}, but maps each value always + * to the same inner Observable. + * + * + * + * Maps each source value to the given Observable `innerObservable` regardless + * of the source value, and then merges those resulting Observables into one + * single Observable, which is the output Observable. + * + * @example For each click event, start an interval Observable ticking every 1 second + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.mergeMapTo(Rx.Observable.interval(1000)); + * result.subscribe(x => console.log(x)); + * + * @see {@link concatMapTo} + * @see {@link merge} + * @see {@link mergeAll} + * @see {@link mergeMap} + * @see {@link mergeScan} + * @see {@link switchMapTo} + * + * @param {ObservableInput} innerObservable An Observable to replace each value from + * the source Observable. + * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] + * A function to produce the value on the output Observable based on the values + * and the indices of the source (outer) emission and the inner Observable + * emission. The arguments passed to this function are: + * - `outerValue`: the value that came from the source + * - `innerValue`: the value that came from the projected Observable + * - `outerIndex`: the "index" of the value that came from the source + * - `innerIndex`: the "index" of the value from the projected Observable + * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input + * Observables being subscribed to concurrently. + * @return {Observable} An Observable that emits items from the given + * `innerObservable` (and optionally transformed through `resultSelector`) every + * time a value is emitted on the source Observable. + * @method mergeMapTo + * @owner Observable + */ +export function mergeMapTo(innerObservable, resultSelector, concurrent = Number.POSITIVE_INFINITY) { + return higherOrder(innerObservable, resultSelector, concurrent)(this); +} +//# sourceMappingURL=mergeMapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/mergeMapTo.js.map b/node_modules/rxjs/_esm2015/operator/mergeMapTo.js.map new file mode 100644 index 00000000..9315e3c9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/mergeMapTo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mergeMapTo.js","sourceRoot":"","sources":["../../src/operator/mergeMapTo.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,yBAAyB;AAKnE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,2BAAyD,eAA8B,EACnD,cAAuG,EACvG,UAAU,GAAW,MAAM,CAAC,iBAAiB;IAC/E,MAAM,CAAC,WAAW,CAAC,eAAe,EAAE,cAAqB,EAAE,UAAU,CAAC,CAAC,IAAI,CAAkB,CAAC;AAChG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/mergeScan.js b/node_modules/rxjs/_esm2015/operator/mergeScan.js new file mode 100644 index 00000000..6713a03d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/mergeScan.js @@ -0,0 +1,36 @@ +import { mergeScan as higherOrder } from '../operators/mergeScan'; +/** + * Applies an accumulator function over the source Observable where the + * accumulator function itself returns an Observable, then each intermediate + * Observable returned is merged into the output Observable. + * + * It's like {@link scan}, but the Observables returned + * by the accumulator are merged into the outer Observable. + * + * @example Count the number of click events + * const click$ = Rx.Observable.fromEvent(document, 'click'); + * const one$ = click$.mapTo(1); + * const seed = 0; + * const count$ = one$.mergeScan((acc, one) => Rx.Observable.of(acc + one), seed); + * count$.subscribe(x => console.log(x)); + * + * // Results: + * 1 + * 2 + * 3 + * 4 + * // ...and so on for each click + * + * @param {function(acc: R, value: T): Observable} accumulator + * The accumulator function called on each source value. + * @param seed The initial accumulation value. + * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of + * input Observables being subscribed to concurrently. + * @return {Observable} An observable of the accumulated values. + * @method mergeScan + * @owner Observable + */ +export function mergeScan(accumulator, seed, concurrent = Number.POSITIVE_INFINITY) { + return higherOrder(accumulator, seed, concurrent)(this); +} +//# sourceMappingURL=mergeScan.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/mergeScan.js.map b/node_modules/rxjs/_esm2015/operator/mergeScan.js.map new file mode 100644 index 00000000..a3104f58 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/mergeScan.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mergeScan.js","sourceRoot":"","sources":["../../src/operator/mergeScan.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,0BACgC,WAAgD,EAChD,IAAO,EACP,UAAU,GAAW,MAAM,CAAC,iBAAiB;IAC3E,MAAM,CAAC,WAAW,CAAC,WAAW,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC,CAAC;AAC1D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/min.js b/node_modules/rxjs/_esm2015/operator/min.js new file mode 100644 index 00000000..5f24d5d9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/min.js @@ -0,0 +1,36 @@ +import { min as higherOrderMin } from '../operators/min'; +/** + * The Min operator operates on an Observable that emits numbers (or items that can be compared with a provided function), + * and when source Observable completes it emits a single item: the item with the smallest value. + * + * + * + * @example Get the minimal value of a series of numbers + * Rx.Observable.of(5, 4, 7, 2, 8) + * .min() + * .subscribe(x => console.log(x)); // -> 2 + * + * @example Use a comparer function to get the minimal item + * interface Person { + * age: number, + * name: string + * } + * Observable.of({age: 7, name: 'Foo'}, + * {age: 5, name: 'Bar'}, + * {age: 9, name: 'Beer'}) + * .min( (a: Person, b: Person) => a.age < b.age ? -1 : 1) + * .subscribe((x: Person) => console.log(x.name)); // -> 'Bar' + * } + * + * @see {@link max} + * + * @param {Function} [comparer] - Optional comparer function that it will use instead of its default to compare the + * value of two items. + * @return {Observable} An Observable that emits item with the smallest value. + * @method min + * @owner Observable + */ +export function min(comparer) { + return higherOrderMin(comparer)(this); +} +//# sourceMappingURL=min.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/min.js.map b/node_modules/rxjs/_esm2015/operator/min.js.map new file mode 100644 index 00000000..8595bece --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/min.js.map @@ -0,0 +1 @@ +{"version":3,"file":"min.js","sourceRoot":"","sources":["../../src/operator/min.ts"],"names":[],"mappings":"OACO,EAAE,GAAG,IAAI,cAAc,EAAE,MAAM,kBAAkB;AAExD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,oBAA4C,QAAiC;IAC3E,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC;AACxC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/multicast.js b/node_modules/rxjs/_esm2015/operator/multicast.js new file mode 100644 index 00000000..74b70cd1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/multicast.js @@ -0,0 +1,100 @@ +import { multicast as higherOrder } from '../operators/multicast'; +/* tslint:enable:max-line-length */ +/** + * Allows source Observable to be subscribed only once with a Subject of choice, + * while still sharing its values between multiple subscribers. + * + * Subscribe to Observable once, but send its values to multiple subscribers. + * + * + * + * `multicast` is an operator that works in two modes. + * + * In the first mode you provide a single argument to it, which can be either an initialized Subject or a Subject + * factory. As a result you will get a special kind of an Observable - a {@link ConnectableObservable}. It can be + * subscribed multiple times, just as regular Observable, but it won't subscribe to the source Observable at that + * moment. It will do it only if you call its `connect` method. This means you can essentially control by hand, when + * source Observable will be actually subscribed. What is more, ConnectableObservable will share this one subscription + * between all of its subscribers. This means that, for example, `ajax` Observable will only send a request once, + * even though usually it would send a request per every subscriber. Since it sends a request at the moment of + * subscription, here request would be sent when the `connect` method of a ConnectableObservable is called. + * + * The most common pattern of using ConnectableObservable is calling `connect` when the first consumer subscribes, + * keeping the subscription alive while several consumers come and go and finally unsubscribing from the source + * Observable, when the last consumer unsubscribes. To not implement that logic over and over again, + * ConnectableObservable has a special operator, `refCount`. When called, it returns an Observable, which will count + * the number of consumers subscribed to it and keep ConnectableObservable connected as long as there is at least + * one consumer. So if you don't actually need to decide yourself when to connect and disconnect a + * ConnectableObservable, use `refCount`. + * + * The second mode is invoked by calling `multicast` with an additional, second argument - selector function. + * This function accepts an Observable - which basically mirrors the source Observable - and returns Observable + * as well, which should be the input stream modified by any operators you want. Note that in this + * mode you cannot provide initialized Subject as a first argument - it has to be a Subject factory. If + * you provide selector function, `multicast` returns just a regular Observable, instead of ConnectableObservable. + * Thus, as usual, each subscription to this stream triggers subscription to the source Observable. However, + * if inside the selector function you subscribe to the input Observable multiple times, actual source stream + * will be subscribed only once. So if you have a chain of operators that use some Observable many times, + * but you want to subscribe to that Observable only once, this is the mode you would use. + * + * Subject provided as a first parameter of `multicast` is used as a proxy for the single subscription to the + * source Observable. It means that all values from the source stream go through that Subject. Thus, if a Subject + * has some special properties, Observable returned by `multicast` will have them as well. If you want to use + * `multicast` with a Subject that is one of the ones included in RxJS by default - {@link Subject}, + * {@link AsyncSubject}, {@link BehaviorSubject}, or {@link ReplaySubject} - simply use {@link publish}, + * {@link publishLast}, {@link publishBehavior} or {@link publishReplay} respectively. These are actually + * just wrappers around `multicast`, with a specific Subject hardcoded inside. + * + * Also, if you use {@link publish} or {@link publishReplay} with a ConnectableObservables `refCount` operator, + * you can simply use {@link share} and {@link shareReplay} respectively, which chain these two. + * + * @example Use ConnectableObservable + * const seconds = Rx.Observable.interval(1000); + * const connectableSeconds = seconds.multicast(new Subject()); + * + * connectableSeconds.subscribe(value => console.log('first: ' + value)); + * connectableSeconds.subscribe(value => console.log('second: ' + value)); + * + * // At this point still nothing happens, even though we subscribed twice. + * + * connectableSeconds.connect(); + * + * // From now on `seconds` are being logged to the console, + * // twice per every second. `seconds` Observable was however only subscribed once, + * // so under the hood Observable.interval had only one clock started. + * + * @example Use selector + * const seconds = Rx.Observable.interval(1000); + * + * seconds + * .multicast( + * () => new Subject(), + * seconds => seconds.zip(seconds) // Usually zip would subscribe to `seconds` twice. + * // Because we are inside selector, `seconds` is subscribed once, + * ) // thus starting only one clock used internally by Observable.interval. + * .subscribe(); + * + * @see {@link publish} + * @see {@link publishLast} + * @see {@link publishBehavior} + * @see {@link publishReplay} + * @see {@link share} + * @see {@link shareReplay} + * + * @param {Function|Subject} subjectOrSubjectFactory - Factory function to create an intermediate Subject through + * which the source sequence's elements will be multicast to the selector function input Observable or + * ConnectableObservable returned by the operator. + * @param {Function} [selector] - Optional selector function that can use the input stream + * as many times as needed, without causing multiple subscriptions to the source stream. + * Subscribers to the input source will receive all notifications of the source from the + * time of the subscription forward. + * @return {Observable|ConnectableObservable} An Observable that emits the results of invoking the selector + * on the source stream or a special {@link ConnectableObservable}, if selector was not provided. + * + * @method multicast + * @owner Observable + */ +export function multicast(subjectOrSubjectFactory, selector) { + return higherOrder(subjectOrSubjectFactory, selector)(this); +} +//# sourceMappingURL=multicast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/multicast.js.map b/node_modules/rxjs/_esm2015/operator/multicast.js.map new file mode 100644 index 00000000..a49f8707 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/multicast.js.map @@ -0,0 +1 @@ +{"version":3,"file":"multicast.js","sourceRoot":"","sources":["../../src/operator/multicast.ts"],"names":[],"mappings":"OAGO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAOjE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6FG;AACH,0BAAqD,uBAAwD,EAC7E,QAAmD;IACjF,MAAM,CAAC,WAAW,CAAM,uBAAuB,EAAE,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC;AACnE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/observeOn.js b/node_modules/rxjs/_esm2015/operator/observeOn.js new file mode 100644 index 00000000..d11bb876 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/observeOn.js @@ -0,0 +1,51 @@ +import { observeOn as higherOrder } from '../operators/observeOn'; +/** + * + * Re-emits all notifications from source Observable with specified scheduler. + * + * Ensure a specific scheduler is used, from outside of an Observable. + * + * `observeOn` is an operator that accepts a scheduler as a first parameter, which will be used to reschedule + * notifications emitted by the source Observable. It might be useful, if you do not have control over + * internal scheduler of a given Observable, but want to control when its values are emitted nevertheless. + * + * Returned Observable emits the same notifications (nexted values, complete and error events) as the source Observable, + * but rescheduled with provided scheduler. Note that this doesn't mean that source Observables internal + * scheduler will be replaced in any way. Original scheduler still will be used, but when the source Observable emits + * notification, it will be immediately scheduled again - this time with scheduler passed to `observeOn`. + * An anti-pattern would be calling `observeOn` on Observable that emits lots of values synchronously, to split + * that emissions into asynchronous chunks. For this to happen, scheduler would have to be passed into the source + * Observable directly (usually into the operator that creates it). `observeOn` simply delays notifications a + * little bit more, to ensure that they are emitted at expected moments. + * + * As a matter of fact, `observeOn` accepts second parameter, which specifies in milliseconds with what delay notifications + * will be emitted. The main difference between {@link delay} operator and `observeOn` is that `observeOn` + * will delay all notifications - including error notifications - while `delay` will pass through error + * from source Observable immediately when it is emitted. In general it is highly recommended to use `delay` operator + * for any kind of delaying of values in the stream, while using `observeOn` to specify which scheduler should be used + * for notification emissions in general. + * + * @example Ensure values in subscribe are called just before browser repaint. + * const intervals = Rx.Observable.interval(10); // Intervals are scheduled + * // with async scheduler by default... + * + * intervals + * .observeOn(Rx.Scheduler.animationFrame) // ...but we will observe on animationFrame + * .subscribe(val => { // scheduler to ensure smooth animation. + * someDiv.style.height = val + 'px'; + * }); + * + * @see {@link delay} + * + * @param {IScheduler} scheduler Scheduler that will be used to reschedule notifications from source Observable. + * @param {number} [delay] Number of milliseconds that states with what delay every notification should be rescheduled. + * @return {Observable} Observable that emits the same notifications as the source Observable, + * but with provided scheduler. + * + * @method observeOn + * @owner Observable + */ +export function observeOn(scheduler, delay = 0) { + return higherOrder(scheduler, delay)(this); +} +//# sourceMappingURL=observeOn.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/observeOn.js.map b/node_modules/rxjs/_esm2015/operator/observeOn.js.map new file mode 100644 index 00000000..afc4b809 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/observeOn.js.map @@ -0,0 +1 @@ +{"version":3,"file":"observeOn.js","sourceRoot":"","sources":["../../src/operator/observeOn.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,0BAAkD,SAAqB,EAAE,KAAK,GAAW,CAAC;IACxF,MAAM,CAAC,WAAW,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC,IAAI,CAAkB,CAAC;AAC9D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/onErrorResumeNext.js b/node_modules/rxjs/_esm2015/operator/onErrorResumeNext.js new file mode 100644 index 00000000..5e3b8fc5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/onErrorResumeNext.js @@ -0,0 +1,67 @@ +import { onErrorResumeNext as higherOrder } from '../operators/onErrorResumeNext'; +/* tslint:enable:max-line-length */ +/** + * When any of the provided Observable emits an complete or error notification, it immediately subscribes to the next one + * that was passed. + * + * Execute series of Observables no matter what, even if it means swallowing errors. + * + * + * + * `onErrorResumeNext` is an operator that accepts a series of Observables, provided either directly as + * arguments or as an array. If no single Observable is provided, returned Observable will simply behave the same + * as the source. + * + * `onErrorResumeNext` returns an Observable that starts by subscribing and re-emitting values from the source Observable. + * When its stream of values ends - no matter if Observable completed or emitted an error - `onErrorResumeNext` + * will subscribe to the first Observable that was passed as an argument to the method. It will start re-emitting + * its values as well and - again - when that stream ends, `onErrorResumeNext` will proceed to subscribing yet another + * Observable in provided series, no matter if previous Observable completed or ended with an error. This will + * be happening until there is no more Observables left in the series, at which point returned Observable will + * complete - even if the last subscribed stream ended with an error. + * + * `onErrorResumeNext` can be therefore thought of as version of {@link concat} operator, which is more permissive + * when it comes to the errors emitted by its input Observables. While `concat` subscribes to the next Observable + * in series only if previous one successfully completed, `onErrorResumeNext` subscribes even if it ended with + * an error. + * + * Note that you do not get any access to errors emitted by the Observables. In particular do not + * expect these errors to appear in error callback passed to {@link subscribe}. If you want to take + * specific actions based on what error was emitted by an Observable, you should try out {@link catch} instead. + * + * + * @example Subscribe to the next Observable after map fails + * Rx.Observable.of(1, 2, 3, 0) + * .map(x => { + * if (x === 0) { throw Error(); } + return 10 / x; + * }) + * .onErrorResumeNext(Rx.Observable.of(1, 2, 3)) + * .subscribe( + * val => console.log(val), + * err => console.log(err), // Will never be called. + * () => console.log('that\'s it!') + * ); + * + * // Logs: + * // 10 + * // 5 + * // 3.3333333333333335 + * // 1 + * // 2 + * // 3 + * // "that's it!" + * + * @see {@link concat} + * @see {@link catch} + * + * @param {...ObservableInput} observables Observables passed either directly or as an array. + * @return {Observable} An Observable that emits values from source Observable, but - if it errors - subscribes + * to the next passed Observable and so on, until it completes or runs out of Observables. + * @method onErrorResumeNext + * @owner Observable + */ +export function onErrorResumeNext(...nextSources) { + return higherOrder(...nextSources)(this); +} +//# sourceMappingURL=onErrorResumeNext.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/onErrorResumeNext.js.map b/node_modules/rxjs/_esm2015/operator/onErrorResumeNext.js.map new file mode 100644 index 00000000..00a55ed7 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/onErrorResumeNext.js.map @@ -0,0 +1 @@ +{"version":3,"file":"onErrorResumeNext.js","sourceRoot":"","sources":["../../src/operator/onErrorResumeNext.ts"],"names":[],"mappings":"OACO,EAAE,iBAAiB,IAAI,WAAW,EAAE,MAAM,gCAAgC;AAUjF,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AAEH,kCAA6D,GAAG,WAEsB;IACpF,MAAM,CAAC,WAAW,CAAC,GAAG,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC;AAC3C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/pairwise.js b/node_modules/rxjs/_esm2015/operator/pairwise.js new file mode 100644 index 00000000..88a7b120 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/pairwise.js @@ -0,0 +1,40 @@ +import { pairwise as higherOrder } from '../operators/pairwise'; +/** + * Groups pairs of consecutive emissions together and emits them as an array of + * two values. + * + * Puts the current value and previous value together as + * an array, and emits that. + * + * + * + * The Nth emission from the source Observable will cause the output Observable + * to emit an array [(N-1)th, Nth] of the previous and the current value, as a + * pair. For this reason, `pairwise` emits on the second and subsequent + * emissions from the source Observable, but not on the first emission, because + * there is no previous value in that case. + * + * @example On every click (starting from the second), emit the relative distance to the previous click + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var pairs = clicks.pairwise(); + * var distance = pairs.map(pair => { + * var x0 = pair[0].clientX; + * var y0 = pair[0].clientY; + * var x1 = pair[1].clientX; + * var y1 = pair[1].clientY; + * return Math.sqrt(Math.pow(x0 - x1, 2) + Math.pow(y0 - y1, 2)); + * }); + * distance.subscribe(x => console.log(x)); + * + * @see {@link buffer} + * @see {@link bufferCount} + * + * @return {Observable>} An Observable of pairs (as arrays) of + * consecutive values from the source Observable. + * @method pairwise + * @owner Observable + */ +export function pairwise() { + return higherOrder()(this); +} +//# sourceMappingURL=pairwise.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/pairwise.js.map b/node_modules/rxjs/_esm2015/operator/pairwise.js.map new file mode 100644 index 00000000..0125b7e4 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/pairwise.js.map @@ -0,0 +1 @@ +{"version":3,"file":"pairwise.js","sourceRoot":"","sources":["../../src/operator/pairwise.ts"],"names":[],"mappings":"OACO,EAAE,QAAQ,IAAI,WAAW,EAAE,MAAM,uBAAuB;AAE/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH;IACE,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,CAAuB,CAAC;AACnD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/partition.js b/node_modules/rxjs/_esm2015/operator/partition.js new file mode 100644 index 00000000..e43abed4 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/partition.js @@ -0,0 +1,46 @@ +import { partition as higherOrder } from '../operators/partition'; +/** + * Splits the source Observable into two, one with values that satisfy a + * predicate, and another with values that don't satisfy the predicate. + * + * It's like {@link filter}, but returns two Observables: + * one like the output of {@link filter}, and the other with values that did not + * pass the condition. + * + * + * + * `partition` outputs an array with two Observables that partition the values + * from the source Observable through the given `predicate` function. The first + * Observable in that array emits source values for which the predicate argument + * returns true. The second Observable emits source values for which the + * predicate returns false. The first behaves like {@link filter} and the second + * behaves like {@link filter} with the predicate negated. + * + * @example Partition click events into those on DIV elements and those elsewhere + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var parts = clicks.partition(ev => ev.target.tagName === 'DIV'); + * var clicksOnDivs = parts[0]; + * var clicksElsewhere = parts[1]; + * clicksOnDivs.subscribe(x => console.log('DIV clicked: ', x)); + * clicksElsewhere.subscribe(x => console.log('Other clicked: ', x)); + * + * @see {@link filter} + * + * @param {function(value: T, index: number): boolean} predicate A function that + * evaluates each value emitted by the source Observable. If it returns `true`, + * the value is emitted on the first Observable in the returned array, if + * `false` the value is emitted on the second Observable in the array. The + * `index` parameter is the number `i` for the i-th source emission that has + * happened since the subscription, starting from the number `0`. + * @param {any} [thisArg] An optional argument to determine the value of `this` + * in the `predicate` function. + * @return {[Observable, Observable]} An array with two Observables: one + * with values that passed the predicate, and another with values that did not + * pass the predicate. + * @method partition + * @owner Observable + */ +export function partition(predicate, thisArg) { + return higherOrder(predicate, thisArg)(this); +} +//# sourceMappingURL=partition.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/partition.js.map b/node_modules/rxjs/_esm2015/operator/partition.js.map new file mode 100644 index 00000000..be6723b5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/partition.js.map @@ -0,0 +1 @@ +{"version":3,"file":"partition.js","sourceRoot":"","sources":["../../src/operator/partition.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AACjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,0BAAkD,SAA+C,EAAE,OAAa;IAC9G,MAAM,CAAC,WAAW,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAC/C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/pluck.js b/node_modules/rxjs/_esm2015/operator/pluck.js new file mode 100644 index 00000000..41701853 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/pluck.js @@ -0,0 +1,31 @@ +import { pluck as higherOrder } from '../operators/pluck'; +/** + * Maps each source value (an object) to its specified nested property. + * + * Like {@link map}, but meant only for picking one of + * the nested properties of every emitted object. + * + * + * + * Given a list of strings describing a path to an object property, retrieves + * the value of a specified nested property from all values in the source + * Observable. If a property can't be resolved, it will return `undefined` for + * that value. + * + * @example Map every click to the tagName of the clicked target element + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var tagNames = clicks.pluck('target', 'tagName'); + * tagNames.subscribe(x => console.log(x)); + * + * @see {@link map} + * + * @param {...string} properties The nested properties to pluck from each source + * value (an object). + * @return {Observable} A new Observable of property values from the source values. + * @method pluck + * @owner Observable + */ +export function pluck(...properties) { + return higherOrder(...properties)(this); +} +//# sourceMappingURL=pluck.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/pluck.js.map b/node_modules/rxjs/_esm2015/operator/pluck.js.map new file mode 100644 index 00000000..e6e425a3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/pluck.js.map @@ -0,0 +1 @@ +{"version":3,"file":"pluck.js","sourceRoot":"","sources":["../../src/operator/pluck.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB;AAEzD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,sBAAiD,GAAG,UAAoB;IACtE,MAAM,CAAC,WAAW,CAAC,GAAG,UAAU,CAAC,CAAC,IAAI,CAAkB,CAAC;AAC3D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/publish.js b/node_modules/rxjs/_esm2015/operator/publish.js new file mode 100644 index 00000000..75baacf4 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/publish.js @@ -0,0 +1,19 @@ +import { publish as higherOrder } from '../operators/publish'; +/* tslint:enable:max-line-length */ +/** + * Returns a ConnectableObservable, which is a variety of Observable that waits until its connect method is called + * before it begins emitting items to those Observers that have subscribed to it. + * + * + * + * @param {Function} [selector] - Optional selector function which can use the multicasted source sequence as many times + * as needed, without causing multiple subscriptions to the source sequence. + * Subscribers to the given source will receive all notifications of the source from the time of the subscription on. + * @return A ConnectableObservable that upon connection causes the source Observable to emit items to its Observers. + * @method publish + * @owner Observable + */ +export function publish(selector) { + return higherOrder(selector)(this); +} +//# sourceMappingURL=publish.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/publish.js.map b/node_modules/rxjs/_esm2015/operator/publish.js.map new file mode 100644 index 00000000..ff81d8e7 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/publish.js.map @@ -0,0 +1 @@ +{"version":3,"file":"publish.js","sourceRoot":"","sources":["../../src/operator/publish.ts"],"names":[],"mappings":"OAGO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sBAAsB;AAM7D,mCAAmC;AAEnC;;;;;;;;;;;;GAYG;AACH,wBAAmD,QAAmD;IACpG,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC;AACrC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/publishBehavior.js b/node_modules/rxjs/_esm2015/operator/publishBehavior.js new file mode 100644 index 00000000..ec2457ac --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/publishBehavior.js @@ -0,0 +1,11 @@ +import { publishBehavior as higherOrder } from '../operators/publishBehavior'; +/** + * @param value + * @return {ConnectableObservable} + * @method publishBehavior + * @owner Observable + */ +export function publishBehavior(value) { + return higherOrder(value)(this); +} +//# sourceMappingURL=publishBehavior.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/publishBehavior.js.map b/node_modules/rxjs/_esm2015/operator/publishBehavior.js.map new file mode 100644 index 00000000..5aaa9e17 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/publishBehavior.js.map @@ -0,0 +1 @@ +{"version":3,"file":"publishBehavior.js","sourceRoot":"","sources":["../../src/operator/publishBehavior.ts"],"names":[],"mappings":"OAEO,EAAE,eAAe,IAAI,WAAW,EAAE,MAAM,8BAA8B;AAE7E;;;;;GAKG;AACH,gCAAwD,KAAQ;IAC9D,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/publishLast.js b/node_modules/rxjs/_esm2015/operator/publishLast.js new file mode 100644 index 00000000..59142690 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/publishLast.js @@ -0,0 +1,11 @@ +import { publishLast as higherOrder } from '../operators/publishLast'; +/** + * @return {ConnectableObservable} + * @method publishLast + * @owner Observable + */ +export function publishLast() { + //TODO(benlesh): correct type-flow through here. + return higherOrder()(this); +} +//# sourceMappingURL=publishLast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/publishLast.js.map b/node_modules/rxjs/_esm2015/operator/publishLast.js.map new file mode 100644 index 00000000..cbe23e1d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/publishLast.js.map @@ -0,0 +1 @@ +{"version":3,"file":"publishLast.js","sourceRoot":"","sources":["../../src/operator/publishLast.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,0BAA0B;AACrE;;;;GAIG;AACH;IACE,gDAAgD;IAChD,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,CAA6B,CAAC;AACzD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/publishReplay.js b/node_modules/rxjs/_esm2015/operator/publishReplay.js new file mode 100644 index 00000000..bdf4c4c1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/publishReplay.js @@ -0,0 +1,15 @@ +import { publishReplay as higherOrder } from '../operators/publishReplay'; +/* tslint:enable:max-line-length */ +/** + * @param bufferSize + * @param windowTime + * @param selectorOrScheduler + * @param scheduler + * @return {Observable | ConnectableObservable} + * @method publishReplay + * @owner Observable + */ +export function publishReplay(bufferSize, windowTime, selectorOrScheduler, scheduler) { + return higherOrder(bufferSize, windowTime, selectorOrScheduler, scheduler)(this); +} +//# sourceMappingURL=publishReplay.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/publishReplay.js.map b/node_modules/rxjs/_esm2015/operator/publishReplay.js.map new file mode 100644 index 00000000..56fb525a --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/publishReplay.js.map @@ -0,0 +1 @@ +{"version":3,"file":"publishReplay.js","sourceRoot":"","sources":["../../src/operator/publishReplay.ts"],"names":[],"mappings":"OAGO,EAAE,aAAa,IAAI,WAAW,EAAE,MAAM,4BAA4B;AAOzE,mCAAmC;AAEnC;;;;;;;;GAQG;AACH,8BAAyD,UAAmB,EACxC,UAAmB,EACnB,mBAAyD,EACzD,SAAsB;IAExD,MAAM,CAAC,WAAW,CAAO,UAAU,EAAE,UAAU,EAAE,mBAA0B,EAAE,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;AAChG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/race.js b/node_modules/rxjs/_esm2015/operator/race.js new file mode 100644 index 00000000..42b0644c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/race.js @@ -0,0 +1,16 @@ +import { race as higherOrder } from '../operators/race'; +// NOTE: to support backwards compatability with 5.4.* and lower +export { race as raceStatic } from '../observable/race'; +/* tslint:enable:max-line-length */ +/** + * Returns an Observable that mirrors the first source Observable to emit an item + * from the combination of this Observable and supplied Observables. + * @param {...Observables} ...observables Sources used to race for which Observable emits first. + * @return {Observable} An Observable that mirrors the output of the first Observable to emit an item. + * @method race + * @owner Observable + */ +export function race(...observables) { + return higherOrder(...observables)(this); +} +//# sourceMappingURL=race.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/race.js.map b/node_modules/rxjs/_esm2015/operator/race.js.map new file mode 100644 index 00000000..57e43d6b --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/race.js.map @@ -0,0 +1 @@ +{"version":3,"file":"race.js","sourceRoot":"","sources":["../../src/operator/race.ts"],"names":[],"mappings":"OACO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,mBAAmB;AAEvD,gEAAgE;AAChE,SAAS,IAAI,IAAI,UAAU,QAAQ,oBAAoB,CAAC;AAOxD,mCAAmC;AAEnC;;;;;;;GAOG;AACH,qBAA6C,GAAG,WAAwD;IACtG,MAAM,CAAC,WAAW,CAAC,GAAG,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC;AAC3C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/reduce.js b/node_modules/rxjs/_esm2015/operator/reduce.js new file mode 100644 index 00000000..7fcabf7d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/reduce.js @@ -0,0 +1,58 @@ +import { reduce as higherOrderReduce } from '../operators/reduce'; +/* tslint:enable:max-line-length */ +/** + * Applies an accumulator function over the source Observable, and returns the + * accumulated result when the source completes, given an optional seed value. + * + * Combines together all values emitted on the source, + * using an accumulator function that knows how to join a new source value into + * the accumulation from the past. + * + * + * + * Like + * [Array.prototype.reduce()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce), + * `reduce` applies an `accumulator` function against an accumulation and each + * value of the source Observable (from the past) to reduce it to a single + * value, emitted on the output Observable. Note that `reduce` will only emit + * one value, only when the source Observable completes. It is equivalent to + * applying operator {@link scan} followed by operator {@link last}. + * + * Returns an Observable that applies a specified `accumulator` function to each + * item emitted by the source Observable. If a `seed` value is specified, then + * that value will be used as the initial value for the accumulator. If no seed + * value is specified, the first item of the source is used as the seed. + * + * @example Count the number of click events that happened in 5 seconds + * var clicksInFiveSeconds = Rx.Observable.fromEvent(document, 'click') + * .takeUntil(Rx.Observable.interval(5000)); + * var ones = clicksInFiveSeconds.mapTo(1); + * var seed = 0; + * var count = ones.reduce((acc, one) => acc + one, seed); + * count.subscribe(x => console.log(x)); + * + * @see {@link count} + * @see {@link expand} + * @see {@link mergeScan} + * @see {@link scan} + * + * @param {function(acc: R, value: T, index: number): R} accumulator The accumulator function + * called on each source value. + * @param {R} [seed] The initial accumulation value. + * @return {Observable} An Observable that emits a single value that is the + * result of accumulating the values emitted by the source Observable. + * @method reduce + * @owner Observable + */ +export function reduce(accumulator, seed) { + // providing a seed of `undefined` *should* be valid and trigger + // hasSeed! so don't use `seed !== undefined` checks! + // For this reason, we have to check it here at the original call site + // otherwise inside Operator/Subscriber we won't know if `undefined` + // means they didn't provide anything or if they literally provided `undefined` + if (arguments.length >= 2) { + return higherOrderReduce(accumulator, seed)(this); + } + return higherOrderReduce(accumulator)(this); +} +//# sourceMappingURL=reduce.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/reduce.js.map b/node_modules/rxjs/_esm2015/operator/reduce.js.map new file mode 100644 index 00000000..fd5b6652 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/reduce.js.map @@ -0,0 +1 @@ +{"version":3,"file":"reduce.js","sourceRoot":"","sources":["../../src/operator/reduce.ts"],"names":[],"mappings":"OACO,EAAE,MAAM,IAAI,iBAAiB,EAAE,MAAM,qBAAqB;AAMjE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,uBAAkD,WAAoD,EAAE,IAAQ;IAC9G,gEAAgE;IAChE,qDAAqD;IACrD,sEAAsE;IACtE,oEAAoE;IACpE,+EAA+E;IAC/E,EAAE,CAAC,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC;QAC1B,MAAM,CAAC,iBAAiB,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IAED,MAAM,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC;AAC9C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/repeat.js b/node_modules/rxjs/_esm2015/operator/repeat.js new file mode 100644 index 00000000..9b52c4cd --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/repeat.js @@ -0,0 +1,17 @@ +import { repeat as higherOrder } from '../operators/repeat'; +/** + * Returns an Observable that repeats the stream of items emitted by the source Observable at most count times. + * + * + * + * @param {number} [count] The number of times the source Observable items are repeated, a count of 0 will yield + * an empty Observable. + * @return {Observable} An Observable that repeats the stream of items emitted by the source Observable at most + * count times. + * @method repeat + * @owner Observable + */ +export function repeat(count = -1) { + return higherOrder(count)(this); +} +//# sourceMappingURL=repeat.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/repeat.js.map b/node_modules/rxjs/_esm2015/operator/repeat.js.map new file mode 100644 index 00000000..b7288b2b --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/repeat.js.map @@ -0,0 +1 @@ +{"version":3,"file":"repeat.js","sourceRoot":"","sources":["../../src/operator/repeat.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,qBAAqB;AAE3D;;;;;;;;;;;GAWG;AACH,uBAA+C,KAAK,GAAW,CAAC,CAAC;IAC/D,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,IAAI,CAAkB,CAAC;AACnD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/repeatWhen.js b/node_modules/rxjs/_esm2015/operator/repeatWhen.js new file mode 100644 index 00000000..a5dc97b7 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/repeatWhen.js @@ -0,0 +1,19 @@ +import { repeatWhen as higherOrder } from '../operators/repeatWhen'; +/** + * Returns an Observable that mirrors the source Observable with the exception of a `complete`. If the source + * Observable calls `complete`, this method will emit to the Observable returned from `notifier`. If that Observable + * calls `complete` or `error`, then this method will call `complete` or `error` on the child subscription. Otherwise + * this method will resubscribe to the source Observable. + * + * + * + * @param {function(notifications: Observable): Observable} notifier - Receives an Observable of notifications with + * which a user can `complete` or `error`, aborting the repetition. + * @return {Observable} The source Observable modified with repeat logic. + * @method repeatWhen + * @owner Observable + */ +export function repeatWhen(notifier) { + return higherOrder(notifier)(this); +} +//# sourceMappingURL=repeatWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/repeatWhen.js.map b/node_modules/rxjs/_esm2015/operator/repeatWhen.js.map new file mode 100644 index 00000000..43940c97 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/repeatWhen.js.map @@ -0,0 +1 @@ +{"version":3,"file":"repeatWhen.js","sourceRoot":"","sources":["../../src/operator/repeatWhen.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,yBAAyB;AAEnE;;;;;;;;;;;;;GAaG;AACH,2BAAmD,QAA6D;IAC9G,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAkB,CAAC;AACtD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/retry.js b/node_modules/rxjs/_esm2015/operator/retry.js new file mode 100644 index 00000000..e4bf386e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/retry.js @@ -0,0 +1,21 @@ +import { retry as higherOrder } from '../operators/retry'; +/** + * Returns an Observable that mirrors the source Observable with the exception of an `error`. If the source Observable + * calls `error`, this method will resubscribe to the source Observable for a maximum of `count` resubscriptions (given + * as a number parameter) rather than propagating the `error` call. + * + * + * + * Any and all items emitted by the source Observable will be emitted by the resulting Observable, even those emitted + * during failed subscriptions. For example, if an Observable fails at first but emits [1, 2] then succeeds the second + * time and emits: [1, 2, 3, 4, 5] then the complete stream of emissions and notifications + * would be: [1, 2, 1, 2, 3, 4, 5, `complete`]. + * @param {number} count - Number of retry attempts before failing. + * @return {Observable} The source Observable modified with the retry logic. + * @method retry + * @owner Observable + */ +export function retry(count = -1) { + return higherOrder(count)(this); +} +//# sourceMappingURL=retry.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/retry.js.map b/node_modules/rxjs/_esm2015/operator/retry.js.map new file mode 100644 index 00000000..7711381f --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/retry.js.map @@ -0,0 +1 @@ +{"version":3,"file":"retry.js","sourceRoot":"","sources":["../../src/operator/retry.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB;AAEzD;;;;;;;;;;;;;;;GAeG;AACH,sBAA8C,KAAK,GAAW,CAAC,CAAC;IAC9D,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,IAAI,CAAkB,CAAC;AACnD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/retryWhen.js b/node_modules/rxjs/_esm2015/operator/retryWhen.js new file mode 100644 index 00000000..3c7b2085 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/retryWhen.js @@ -0,0 +1,19 @@ +import { retryWhen as higherOrder } from '../operators/retryWhen'; +/** + * Returns an Observable that mirrors the source Observable with the exception of an `error`. If the source Observable + * calls `error`, this method will emit the Throwable that caused the error to the Observable returned from `notifier`. + * If that Observable calls `complete` or `error` then this method will call `complete` or `error` on the child + * subscription. Otherwise this method will resubscribe to the source Observable. + * + * + * + * @param {function(errors: Observable): Observable} notifier - Receives an Observable of notifications with which a + * user can `complete` or `error`, aborting the retry. + * @return {Observable} The source Observable modified with retry logic. + * @method retryWhen + * @owner Observable + */ +export function retryWhen(notifier) { + return higherOrder(notifier)(this); +} +//# sourceMappingURL=retryWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/retryWhen.js.map b/node_modules/rxjs/_esm2015/operator/retryWhen.js.map new file mode 100644 index 00000000..2dda0455 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/retryWhen.js.map @@ -0,0 +1 @@ +{"version":3,"file":"retryWhen.js","sourceRoot":"","sources":["../../src/operator/retryWhen.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AACjE;;;;;;;;;;;;;GAaG;AACH,0BAAkD,QAAsD;IACtG,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAkB,CAAC;AACtD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/sample.js b/node_modules/rxjs/_esm2015/operator/sample.js new file mode 100644 index 00000000..82cd108e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/sample.js @@ -0,0 +1,39 @@ +import { sample as higherOrder } from '../operators/sample'; +/** + * Emits the most recently emitted value from the source Observable whenever + * another Observable, the `notifier`, emits. + * + * It's like {@link sampleTime}, but samples whenever + * the `notifier` Observable emits something. + * + * + * + * Whenever the `notifier` Observable emits a value or completes, `sample` + * looks at the source Observable and emits whichever value it has most recently + * emitted since the previous sampling, unless the source has not emitted + * anything since the previous sampling. The `notifier` is subscribed to as soon + * as the output Observable is subscribed. + * + * @example On every click, sample the most recent "seconds" timer + * var seconds = Rx.Observable.interval(1000); + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = seconds.sample(clicks); + * result.subscribe(x => console.log(x)); + * + * @see {@link audit} + * @see {@link debounce} + * @see {@link sampleTime} + * @see {@link throttle} + * + * @param {Observable} notifier The Observable to use for sampling the + * source Observable. + * @return {Observable} An Observable that emits the results of sampling the + * values emitted by the source Observable whenever the notifier Observable + * emits value or completes. + * @method sample + * @owner Observable + */ +export function sample(notifier) { + return higherOrder(notifier)(this); +} +//# sourceMappingURL=sample.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/sample.js.map b/node_modules/rxjs/_esm2015/operator/sample.js.map new file mode 100644 index 00000000..034c1e8a --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/sample.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sample.js","sourceRoot":"","sources":["../../src/operator/sample.ts"],"names":[],"mappings":"OACO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,qBAAqB;AAE3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,uBAA+C,QAAyB;IACtE,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAkB,CAAC;AACtD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/sampleTime.js b/node_modules/rxjs/_esm2015/operator/sampleTime.js new file mode 100644 index 00000000..43dcc392 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/sampleTime.js @@ -0,0 +1,42 @@ +import { async } from '../scheduler/async'; +import { sampleTime as higherOrder } from '../operators/sampleTime'; +/** + * Emits the most recently emitted value from the source Observable within + * periodic time intervals. + * + * Samples the source Observable at periodic time + * intervals, emitting what it samples. + * + * + * + * `sampleTime` periodically looks at the source Observable and emits whichever + * value it has most recently emitted since the previous sampling, unless the + * source has not emitted anything since the previous sampling. The sampling + * happens periodically in time every `period` milliseconds (or the time unit + * defined by the optional `scheduler` argument). The sampling starts as soon as + * the output Observable is subscribed. + * + * @example Every second, emit the most recent click at most once + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.sampleTime(1000); + * result.subscribe(x => console.log(x)); + * + * @see {@link auditTime} + * @see {@link debounceTime} + * @see {@link delay} + * @see {@link sample} + * @see {@link throttleTime} + * + * @param {number} period The sampling period expressed in milliseconds or the + * time unit determined internally by the optional `scheduler`. + * @param {Scheduler} [scheduler=async] The {@link IScheduler} to use for + * managing the timers that handle the sampling. + * @return {Observable} An Observable that emits the results of sampling the + * values emitted by the source Observable at the specified time interval. + * @method sampleTime + * @owner Observable + */ +export function sampleTime(period, scheduler = async) { + return higherOrder(period, scheduler)(this); +} +//# sourceMappingURL=sampleTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/sampleTime.js.map b/node_modules/rxjs/_esm2015/operator/sampleTime.js.map new file mode 100644 index 00000000..b39d922a --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/sampleTime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sampleTime.js","sourceRoot":"","sources":["../../src/operator/sampleTime.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OACnC,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,yBAAyB;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,2BAAmD,MAAc,EAAE,SAAS,GAAe,KAAK;IAC9F,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,IAAI,CAAkB,CAAC;AAC/D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/scan.js b/node_modules/rxjs/_esm2015/operator/scan.js new file mode 100644 index 00000000..61c1027c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/scan.js @@ -0,0 +1,46 @@ +import { scan as higherOrderScan } from '../operators/scan'; +/* tslint:enable:max-line-length */ +/** + * Applies an accumulator function over the source Observable, and returns each + * intermediate result, with an optional seed value. + * + * It's like {@link reduce}, but emits the current + * accumulation whenever the source emits a value. + * + * + * + * Combines together all values emitted on the source, using an accumulator + * function that knows how to join a new source value into the accumulation from + * the past. Is similar to {@link reduce}, but emits the intermediate + * accumulations. + * + * Returns an Observable that applies a specified `accumulator` function to each + * item emitted by the source Observable. If a `seed` value is specified, then + * that value will be used as the initial value for the accumulator. If no seed + * value is specified, the first item of the source is used as the seed. + * + * @example Count the number of click events + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var ones = clicks.mapTo(1); + * var seed = 0; + * var count = ones.scan((acc, one) => acc + one, seed); + * count.subscribe(x => console.log(x)); + * + * @see {@link expand} + * @see {@link mergeScan} + * @see {@link reduce} + * + * @param {function(acc: R, value: T, index: number): R} accumulator + * The accumulator function called on each source value. + * @param {T|R} [seed] The initial accumulation value. + * @return {Observable} An observable of the accumulated values. + * @method scan + * @owner Observable + */ +export function scan(accumulator, seed) { + if (arguments.length >= 2) { + return higherOrderScan(accumulator, seed)(this); + } + return higherOrderScan(accumulator)(this); +} +//# sourceMappingURL=scan.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/scan.js.map b/node_modules/rxjs/_esm2015/operator/scan.js.map new file mode 100644 index 00000000..8b964f4e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/scan.js.map @@ -0,0 +1 @@ +{"version":3,"file":"scan.js","sourceRoot":"","sources":["../../src/operator/scan.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,IAAI,eAAe,EAAE,MAAM,mBAAmB;AAM3D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,qBAAgD,WAAmD,EAAE,IAAY;IAC/G,EAAE,CAAC,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC;QAC1B,MAAM,CAAC,eAAe,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC,IAAI,CAAkB,CAAC;IACnE,CAAC;IACD,MAAM,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC;AAC5C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/sequenceEqual.js b/node_modules/rxjs/_esm2015/operator/sequenceEqual.js new file mode 100644 index 00000000..0382adec --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/sequenceEqual.js @@ -0,0 +1,57 @@ +import { sequenceEqual as higherOrder } from '../operators/sequenceEqual'; +/** + * Compares all values of two observables in sequence using an optional comparor function + * and returns an observable of a single boolean value representing whether or not the two sequences + * are equal. + * + * Checks to see of all values emitted by both observables are equal, in order. + * + * + * + * `sequenceEqual` subscribes to two observables and buffers incoming values from each observable. Whenever either + * observable emits a value, the value is buffered and the buffers are shifted and compared from the bottom + * up; If any value pair doesn't match, the returned observable will emit `false` and complete. If one of the + * observables completes, the operator will wait for the other observable to complete; If the other + * observable emits before completing, the returned observable will emit `false` and complete. If one observable never + * completes or emits after the other complets, the returned observable will never complete. + * + * @example figure out if the Konami code matches + * var code = Rx.Observable.from([ + * "ArrowUp", + * "ArrowUp", + * "ArrowDown", + * "ArrowDown", + * "ArrowLeft", + * "ArrowRight", + * "ArrowLeft", + * "ArrowRight", + * "KeyB", + * "KeyA", + * "Enter" // no start key, clearly. + * ]); + * + * var keys = Rx.Observable.fromEvent(document, 'keyup') + * .map(e => e.code); + * var matches = keys.bufferCount(11, 1) + * .mergeMap( + * last11 => + * Rx.Observable.from(last11) + * .sequenceEqual(code) + * ); + * matches.subscribe(matched => console.log('Successful cheat at Contra? ', matched)); + * + * @see {@link combineLatest} + * @see {@link zip} + * @see {@link withLatestFrom} + * + * @param {Observable} compareTo The observable sequence to compare the source sequence to. + * @param {function} [comparor] An optional function to compare each value pair + * @return {Observable} An Observable of a single boolean value representing whether or not + * the values emitted by both observables were equal in sequence. + * @method sequenceEqual + * @owner Observable + */ +export function sequenceEqual(compareTo, comparor) { + return higherOrder(compareTo, comparor)(this); +} +//# sourceMappingURL=sequenceEqual.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/sequenceEqual.js.map b/node_modules/rxjs/_esm2015/operator/sequenceEqual.js.map new file mode 100644 index 00000000..ab2b05f1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/sequenceEqual.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sequenceEqual.js","sourceRoot":"","sources":["../../src/operator/sequenceEqual.ts"],"names":[],"mappings":"OACO,EAAE,aAAa,IAAI,WAAW,EAAE,MAAM,4BAA4B;AAEzE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,8BAAsD,SAAwB,EAC7C,QAAkC;IACjE,MAAM,CAAC,WAAW,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/share.js b/node_modules/rxjs/_esm2015/operator/share.js new file mode 100644 index 00000000..4d613053 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/share.js @@ -0,0 +1,22 @@ +import { share as higherOrder } from '../operators/share'; +/** + * Returns a new Observable that multicasts (shares) the original Observable. As long as there is at least one + * Subscriber this Observable will be subscribed and emitting data. When all subscribers have unsubscribed it will + * unsubscribe from the source Observable. Because the Observable is multicasting it makes the stream `hot`. + * + * This behaves similarly to .publish().refCount(), with a behavior difference when the source observable emits complete. + * .publish().refCount() will not resubscribe to the original source, however .share() will resubscribe to the original source. + * Observable.of("test").publish().refCount() will not re-emit "test" on new subscriptions, Observable.of("test").share() will + * re-emit "test" to new subscriptions. + * + * + * + * @return {Observable} An Observable that upon connection causes the source Observable to emit items to its Observers. + * @method share + * @owner Observable + */ +export function share() { + return higherOrder()(this); +} +; +//# sourceMappingURL=share.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/share.js.map b/node_modules/rxjs/_esm2015/operator/share.js.map new file mode 100644 index 00000000..2ad3b80b --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/share.js.map @@ -0,0 +1 @@ +{"version":3,"file":"share.js","sourceRoot":"","sources":["../../src/operator/share.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB;AAEzD;;;;;;;;;;;;;;;GAeG;AACH;IACE,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,CAAkB,CAAC;AAC9C,CAAC;AAAA,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/shareReplay.js b/node_modules/rxjs/_esm2015/operator/shareReplay.js new file mode 100644 index 00000000..4802820e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/shareReplay.js @@ -0,0 +1,10 @@ +import { shareReplay as higherOrder } from '../operators/shareReplay'; +/** + * @method shareReplay + * @owner Observable + */ +export function shareReplay(bufferSize, windowTime, scheduler) { + return higherOrder(bufferSize, windowTime, scheduler)(this); +} +; +//# sourceMappingURL=shareReplay.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/shareReplay.js.map b/node_modules/rxjs/_esm2015/operator/shareReplay.js.map new file mode 100644 index 00000000..1b12e061 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/shareReplay.js.map @@ -0,0 +1 @@ +{"version":3,"file":"shareReplay.js","sourceRoot":"","sources":["../../src/operator/shareReplay.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,0BAA0B;AAErE;;;GAGG;AACH,4BAAoD,UAAmB,EAAE,UAAmB,EAAE,SAAsB;IAElH,MAAM,CAAC,WAAW,CAAC,UAAU,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC,IAAI,CAAkB,CAAC;AAC/E,CAAC;AAAA,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/single.js b/node_modules/rxjs/_esm2015/operator/single.js new file mode 100644 index 00000000..fb005578 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/single.js @@ -0,0 +1,21 @@ +import { single as higherOrder } from '../operators/single'; +/** + * Returns an Observable that emits the single item emitted by the source Observable that matches a specified + * predicate, if that Observable emits one such item. If the source Observable emits more than one such item or no + * such items, notify of an IllegalArgumentException or NoSuchElementException respectively. + * + * + * + * @throws {EmptyError} Delivers an EmptyError to the Observer's `error` + * callback if the Observable completes before any `next` notification was sent. + * @param {Function} predicate - A predicate function to evaluate items emitted by the source Observable. + * @return {Observable} An Observable that emits the single item emitted by the source Observable that matches + * the predicate. + . + * @method single + * @owner Observable + */ +export function single(predicate) { + return higherOrder(predicate)(this); +} +//# sourceMappingURL=single.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/single.js.map b/node_modules/rxjs/_esm2015/operator/single.js.map new file mode 100644 index 00000000..2a63ee04 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/single.js.map @@ -0,0 +1 @@ +{"version":3,"file":"single.js","sourceRoot":"","sources":["../../src/operator/single.ts"],"names":[],"mappings":"OACO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,qBAAqB;AAE3D;;;;;;;;;;;;;;;GAeG;AACH,uBAA+C,SAAuE;IACpH,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;AACtC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/skip.js b/node_modules/rxjs/_esm2015/operator/skip.js new file mode 100644 index 00000000..7d57d54c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/skip.js @@ -0,0 +1,16 @@ +import { skip as higherOrder } from '../operators/skip'; +/** + * Returns an Observable that skips the first `count` items emitted by the source Observable. + * + * + * + * @param {Number} count - The number of times, items emitted by source Observable should be skipped. + * @return {Observable} An Observable that skips values emitted by the source Observable. + * + * @method skip + * @owner Observable + */ +export function skip(count) { + return higherOrder(count)(this); +} +//# sourceMappingURL=skip.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/skip.js.map b/node_modules/rxjs/_esm2015/operator/skip.js.map new file mode 100644 index 00000000..2ec7e832 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/skip.js.map @@ -0,0 +1 @@ +{"version":3,"file":"skip.js","sourceRoot":"","sources":["../../src/operator/skip.ts"],"names":[],"mappings":"OACO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,mBAAmB;AAEvD;;;;;;;;;;GAUG;AACH,qBAA6C,KAAa;IACxD,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,IAAI,CAAkB,CAAC;AACnD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/skipLast.js b/node_modules/rxjs/_esm2015/operator/skipLast.js new file mode 100644 index 00000000..8ee8c718 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/skipLast.js @@ -0,0 +1,37 @@ +import { skipLast as higherOrder } from '../operators/skipLast'; +/** + * Skip the last `count` values emitted by the source Observable. + * + * + * + * `skipLast` returns an Observable that accumulates a queue with a length + * enough to store the first `count` values. As more values are received, + * values are taken from the front of the queue and produced on the result + * sequence. This causes values to be delayed. + * + * @example Skip the last 2 values of an Observable with many values + * var many = Rx.Observable.range(1, 5); + * var skipLastTwo = many.skipLast(2); + * skipLastTwo.subscribe(x => console.log(x)); + * + * // Results in: + * // 1 2 3 + * + * @see {@link skip} + * @see {@link skipUntil} + * @see {@link skipWhile} + * @see {@link take} + * + * @throws {ArgumentOutOfRangeError} When using `skipLast(i)`, it throws + * ArgumentOutOrRangeError if `i < 0`. + * + * @param {number} count Number of elements to skip from the end of the source Observable. + * @returns {Observable} An Observable that skips the last count values + * emitted by the source Observable. + * @method skipLast + * @owner Observable + */ +export function skipLast(count) { + return higherOrder(count)(this); +} +//# sourceMappingURL=skipLast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/skipLast.js.map b/node_modules/rxjs/_esm2015/operator/skipLast.js.map new file mode 100644 index 00000000..1da25f8d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/skipLast.js.map @@ -0,0 +1 @@ +{"version":3,"file":"skipLast.js","sourceRoot":"","sources":["../../src/operator/skipLast.ts"],"names":[],"mappings":"OACO,EAAE,QAAQ,IAAI,WAAW,EAAE,MAAM,uBAAuB;AAE/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,yBAAiD,KAAa;IAC5D,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,IAAI,CAAkB,CAAC;AACnD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/skipUntil.js b/node_modules/rxjs/_esm2015/operator/skipUntil.js new file mode 100644 index 00000000..bae28171 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/skipUntil.js @@ -0,0 +1,17 @@ +import { skipUntil as higherOrder } from '../operators/skipUntil'; +/** + * Returns an Observable that skips items emitted by the source Observable until a second Observable emits an item. + * + * + * + * @param {Observable} notifier - The second Observable that has to emit an item before the source Observable's elements begin to + * be mirrored by the resulting Observable. + * @return {Observable} An Observable that skips items from the source Observable until the second Observable emits + * an item, then emits the remaining items. + * @method skipUntil + * @owner Observable + */ +export function skipUntil(notifier) { + return higherOrder(notifier)(this); +} +//# sourceMappingURL=skipUntil.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/skipUntil.js.map b/node_modules/rxjs/_esm2015/operator/skipUntil.js.map new file mode 100644 index 00000000..c33e186f --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/skipUntil.js.map @@ -0,0 +1 @@ +{"version":3,"file":"skipUntil.js","sourceRoot":"","sources":["../../src/operator/skipUntil.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;;;;;;;GAWG;AACH,0BAAkD,QAAyB;IACzE,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAkB,CAAC;AACtD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/skipWhile.js b/node_modules/rxjs/_esm2015/operator/skipWhile.js new file mode 100644 index 00000000..a0f962d1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/skipWhile.js @@ -0,0 +1,17 @@ +import { skipWhile as higherOrder } from '../operators/skipWhile'; +/** + * Returns an Observable that skips all items emitted by the source Observable as long as a specified condition holds + * true, but emits all further source items as soon as the condition becomes false. + * + * + * + * @param {Function} predicate - A function to test each item emitted from the source Observable. + * @return {Observable} An Observable that begins emitting items emitted by the source Observable when the + * specified predicate becomes false. + * @method skipWhile + * @owner Observable + */ +export function skipWhile(predicate) { + return higherOrder(predicate)(this); +} +//# sourceMappingURL=skipWhile.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/skipWhile.js.map b/node_modules/rxjs/_esm2015/operator/skipWhile.js.map new file mode 100644 index 00000000..72698c9f --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/skipWhile.js.map @@ -0,0 +1 @@ +{"version":3,"file":"skipWhile.js","sourceRoot":"","sources":["../../src/operator/skipWhile.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;;;;;;;GAWG;AACH,0BAAkD,SAA+C;IAC/F,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;AACtC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/startWith.js b/node_modules/rxjs/_esm2015/operator/startWith.js new file mode 100644 index 00000000..c00656c5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/startWith.js @@ -0,0 +1,20 @@ +import { startWith as higherOrder } from '../operators/startWith'; +/* tslint:enable:max-line-length */ +/** + * Returns an Observable that emits the items you specify as arguments before it begins to emit + * items emitted by the source Observable. + * + * + * + * @param {...T} values - Items you want the modified Observable to emit first. + * @param {Scheduler} [scheduler] - A {@link IScheduler} to use for scheduling + * the emissions of the `next` notifications. + * @return {Observable} An Observable that emits the items in the specified Iterable and then emits the items + * emitted by the source Observable. + * @method startWith + * @owner Observable + */ +export function startWith(...array) { + return higherOrder(...array)(this); +} +//# sourceMappingURL=startWith.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/startWith.js.map b/node_modules/rxjs/_esm2015/operator/startWith.js.map new file mode 100644 index 00000000..dcae40e6 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/startWith.js.map @@ -0,0 +1 @@ +{"version":3,"file":"startWith.js","sourceRoot":"","sources":["../../src/operator/startWith.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAUjE,mCAAmC;AAEnC;;;;;;;;;;;;;GAaG;AACH,0BAAkD,GAAG,KAA4B;IAC/E,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC;AACrC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/subscribeOn.js b/node_modules/rxjs/_esm2015/operator/subscribeOn.js new file mode 100644 index 00000000..e54785b3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/subscribeOn.js @@ -0,0 +1,16 @@ +import { subscribeOn as higherOrder } from '../operators/subscribeOn'; +/** + * Asynchronously subscribes Observers to this Observable on the specified IScheduler. + * + * + * + * @param {Scheduler} scheduler - The IScheduler to perform subscription actions on. + * @return {Observable} The source Observable modified so that its subscriptions happen on the specified IScheduler. + . + * @method subscribeOn + * @owner Observable + */ +export function subscribeOn(scheduler, delay = 0) { + return higherOrder(scheduler, delay)(this); +} +//# sourceMappingURL=subscribeOn.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/subscribeOn.js.map b/node_modules/rxjs/_esm2015/operator/subscribeOn.js.map new file mode 100644 index 00000000..02463b5d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/subscribeOn.js.map @@ -0,0 +1 @@ +{"version":3,"file":"subscribeOn.js","sourceRoot":"","sources":["../../src/operator/subscribeOn.ts"],"names":[],"mappings":"OAGO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,0BAA0B;AAErE;;;;;;;;;;GAUG;AACH,4BAAoD,SAAqB,EAAE,KAAK,GAAW,CAAC;IAC1F,MAAM,CAAC,WAAW,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC,IAAI,CAAkB,CAAC;AAC9D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/switch.js b/node_modules/rxjs/_esm2015/operator/switch.js new file mode 100644 index 00000000..bc78aa18 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/switch.js @@ -0,0 +1,47 @@ +import { switchAll as higherOrder } from '../operators/switchAll'; +/** + * Converts a higher-order Observable into a first-order Observable by + * subscribing to only the most recently emitted of those inner Observables. + * + * Flattens an Observable-of-Observables by dropping the + * previous inner Observable once a new one appears. + * + * + * + * `switch` subscribes to an Observable that emits Observables, also known as a + * higher-order Observable. Each time it observes one of these emitted inner + * Observables, the output Observable subscribes to the inner Observable and + * begins emitting the items emitted by that. So far, it behaves + * like {@link mergeAll}. However, when a new inner Observable is emitted, + * `switch` unsubscribes from the earlier-emitted inner Observable and + * subscribes to the new inner Observable and begins emitting items from it. It + * continues to behave like this for subsequent inner Observables. + * + * @example Rerun an interval Observable on every click event + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * // Each click event is mapped to an Observable that ticks every second + * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000)); + * var switched = higherOrder.switch(); + * // The outcome is that `switched` is essentially a timer that restarts + * // on every click. The interval Observables from older clicks do not merge + * // with the current interval Observable. + * switched.subscribe(x => console.log(x)); + * + * @see {@link combineAll} + * @see {@link concatAll} + * @see {@link exhaust} + * @see {@link mergeAll} + * @see {@link switchMap} + * @see {@link switchMapTo} + * @see {@link zipAll} + * + * @return {Observable} An Observable that emits the items emitted by the + * Observable most recently emitted by the source Observable. + * @method switch + * @name switch + * @owner Observable + */ +export function _switch() { + return higherOrder()(this); +} +//# sourceMappingURL=switch.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/switch.js.map b/node_modules/rxjs/_esm2015/operator/switch.js.map new file mode 100644 index 00000000..3e9a6a83 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/switch.js.map @@ -0,0 +1 @@ +{"version":3,"file":"switch.js","sourceRoot":"","sources":["../../src/operator/switch.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH;IACE,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,CAAkB,CAAC;AAC9C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/switchMap.js b/node_modules/rxjs/_esm2015/operator/switchMap.js new file mode 100644 index 00000000..b01f240d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/switchMap.js @@ -0,0 +1,53 @@ +import { switchMap as higherOrderSwitchMap } from '../operators/switchMap'; +/* tslint:enable:max-line-length */ +/** + * Projects each source value to an Observable which is merged in the output + * Observable, emitting values only from the most recently projected Observable. + * + * Maps each value to an Observable, then flattens all of + * these inner Observables using {@link switch}. + * + * + * + * Returns an Observable that emits items based on applying a function that you + * supply to each item emitted by the source Observable, where that function + * returns an (so-called "inner") Observable. Each time it observes one of these + * inner Observables, the output Observable begins emitting the items emitted by + * that inner Observable. When a new inner Observable is emitted, `switchMap` + * stops emitting items from the earlier-emitted inner Observable and begins + * emitting items from the new one. It continues to behave like this for + * subsequent inner Observables. + * + * @example Rerun an interval Observable on every click event + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.switchMap((ev) => Rx.Observable.interval(1000)); + * result.subscribe(x => console.log(x)); + * + * @see {@link concatMap} + * @see {@link exhaustMap} + * @see {@link mergeMap} + * @see {@link switch} + * @see {@link switchMapTo} + * + * @param {function(value: T, ?index: number): ObservableInput} project A function + * that, when applied to an item emitted by the source Observable, returns an + * Observable. + * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] + * A function to produce the value on the output Observable based on the values + * and the indices of the source (outer) emission and the inner Observable + * emission. The arguments passed to this function are: + * - `outerValue`: the value that came from the source + * - `innerValue`: the value that came from the projected Observable + * - `outerIndex`: the "index" of the value that came from the source + * - `innerIndex`: the "index" of the value from the projected Observable + * @return {Observable} An Observable that emits the result of applying the + * projection function (and the optional `resultSelector`) to each item emitted + * by the source Observable and taking only the values from the most recently + * projected inner Observable. + * @method switchMap + * @owner Observable + */ +export function switchMap(project, resultSelector) { + return higherOrderSwitchMap(project, resultSelector)(this); +} +//# sourceMappingURL=switchMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/switchMap.js.map b/node_modules/rxjs/_esm2015/operator/switchMap.js.map new file mode 100644 index 00000000..44999cd1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/switchMap.js.map @@ -0,0 +1 @@ +{"version":3,"file":"switchMap.js","sourceRoot":"","sources":["../../src/operator/switchMap.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,IAAI,oBAAoB,EAAE,MAAM,wBAAwB;AAK1E,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,0BAAwD,OAAwD,EAC7E,cAA4F;IAC7H,MAAM,CAAC,oBAAoB,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,IAAI,CAAC,CAAC;AAC7D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/switchMapTo.js b/node_modules/rxjs/_esm2015/operator/switchMapTo.js new file mode 100644 index 00000000..7c2ca013 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/switchMapTo.js @@ -0,0 +1,48 @@ +import { switchMapTo as higherOrder } from '../operators/switchMapTo'; +/* tslint:enable:max-line-length */ +/** + * Projects each source value to the same Observable which is flattened multiple + * times with {@link switch} in the output Observable. + * + * It's like {@link switchMap}, but maps each value + * always to the same inner Observable. + * + * + * + * Maps each source value to the given Observable `innerObservable` regardless + * of the source value, and then flattens those resulting Observables into one + * single Observable, which is the output Observable. The output Observables + * emits values only from the most recently emitted instance of + * `innerObservable`. + * + * @example Rerun an interval Observable on every click event + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.switchMapTo(Rx.Observable.interval(1000)); + * result.subscribe(x => console.log(x)); + * + * @see {@link concatMapTo} + * @see {@link switch} + * @see {@link switchMap} + * @see {@link mergeMapTo} + * + * @param {ObservableInput} innerObservable An Observable to replace each value from + * the source Observable. + * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] + * A function to produce the value on the output Observable based on the values + * and the indices of the source (outer) emission and the inner Observable + * emission. The arguments passed to this function are: + * - `outerValue`: the value that came from the source + * - `innerValue`: the value that came from the projected Observable + * - `outerIndex`: the "index" of the value that came from the source + * - `innerIndex`: the "index" of the value from the projected Observable + * @return {Observable} An Observable that emits items from the given + * `innerObservable` (and optionally transformed through `resultSelector`) every + * time a value is emitted on the source Observable, and taking only the values + * from the most recently projected inner Observable. + * @method switchMapTo + * @owner Observable + */ +export function switchMapTo(innerObservable, resultSelector) { + return higherOrder(innerObservable, resultSelector)(this); +} +//# sourceMappingURL=switchMapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/switchMapTo.js.map b/node_modules/rxjs/_esm2015/operator/switchMapTo.js.map new file mode 100644 index 00000000..0ca61c30 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/switchMapTo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"switchMapTo.js","sourceRoot":"","sources":["../../src/operator/switchMapTo.ts"],"names":[],"mappings":"OACO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,0BAA0B;AAKrE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,4BAA0D,eAA8B,EACnD,cAG0C;IAC7E,MAAM,CAAC,WAAW,CAAC,eAAe,EAAE,cAAc,CAAC,CAAC,IAAI,CAAC,CAAC;AAC5D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/take.js b/node_modules/rxjs/_esm2015/operator/take.js new file mode 100644 index 00000000..89d7c7d6 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/take.js @@ -0,0 +1,38 @@ +import { take as higherOrder } from '../operators/take'; +/** + * Emits only the first `count` values emitted by the source Observable. + * + * Takes the first `count` values from the source, then + * completes. + * + * + * + * `take` returns an Observable that emits only the first `count` values emitted + * by the source Observable. If the source emits fewer than `count` values then + * all of its values are emitted. After that, it completes, regardless if the + * source completes. + * + * @example Take the first 5 seconds of an infinite 1-second interval Observable + * var interval = Rx.Observable.interval(1000); + * var five = interval.take(5); + * five.subscribe(x => console.log(x)); + * + * @see {@link takeLast} + * @see {@link takeUntil} + * @see {@link takeWhile} + * @see {@link skip} + * + * @throws {ArgumentOutOfRangeError} When using `take(i)`, it delivers an + * ArgumentOutOrRangeError to the Observer's `error` callback if `i < 0`. + * + * @param {number} count The maximum number of `next` values to emit. + * @return {Observable} An Observable that emits only the first `count` + * values emitted by the source Observable, or all of the values from the source + * if the source emits fewer than `count` values. + * @method take + * @owner Observable + */ +export function take(count) { + return higherOrder(count)(this); +} +//# sourceMappingURL=take.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/take.js.map b/node_modules/rxjs/_esm2015/operator/take.js.map new file mode 100644 index 00000000..c9fdda7f --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/take.js.map @@ -0,0 +1 @@ +{"version":3,"file":"take.js","sourceRoot":"","sources":["../../src/operator/take.ts"],"names":[],"mappings":"OACO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,mBAAmB;AAEvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAA6C,KAAa;IACxD,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,IAAI,CAAkB,CAAC;AACnD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/takeLast.js b/node_modules/rxjs/_esm2015/operator/takeLast.js new file mode 100644 index 00000000..fa059619 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/takeLast.js @@ -0,0 +1,41 @@ +import { takeLast as higherOrderTakeLast } from '../operators/takeLast'; +/** + * Emits only the last `count` values emitted by the source Observable. + * + * Remembers the latest `count` values, then emits those + * only when the source completes. + * + * + * + * `takeLast` returns an Observable that emits at most the last `count` values + * emitted by the source Observable. If the source emits fewer than `count` + * values then all of its values are emitted. This operator must wait until the + * `complete` notification emission from the source in order to emit the `next` + * values on the output Observable, because otherwise it is impossible to know + * whether or not more values will be emitted on the source. For this reason, + * all values are emitted synchronously, followed by the complete notification. + * + * @example Take the last 3 values of an Observable with many values + * var many = Rx.Observable.range(1, 100); + * var lastThree = many.takeLast(3); + * lastThree.subscribe(x => console.log(x)); + * + * @see {@link take} + * @see {@link takeUntil} + * @see {@link takeWhile} + * @see {@link skip} + * + * @throws {ArgumentOutOfRangeError} When using `takeLast(i)`, it delivers an + * ArgumentOutOrRangeError to the Observer's `error` callback if `i < 0`. + * + * @param {number} count The maximum number of values to emit from the end of + * the sequence of values emitted by the source Observable. + * @return {Observable} An Observable that emits at most the last count + * values emitted by the source Observable. + * @method takeLast + * @owner Observable + */ +export function takeLast(count) { + return higherOrderTakeLast(count)(this); +} +//# sourceMappingURL=takeLast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/takeLast.js.map b/node_modules/rxjs/_esm2015/operator/takeLast.js.map new file mode 100644 index 00000000..68763fdc --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/takeLast.js.map @@ -0,0 +1 @@ +{"version":3,"file":"takeLast.js","sourceRoot":"","sources":["../../src/operator/takeLast.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,IAAI,mBAAmB,EAAE,MAAM,uBAAuB;AAEvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,yBAAiD,KAAa;IAC5D,MAAM,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC,IAAI,CAAkB,CAAC;AAC3D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/takeUntil.js b/node_modules/rxjs/_esm2015/operator/takeUntil.js new file mode 100644 index 00000000..6acaa40e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/takeUntil.js @@ -0,0 +1,38 @@ +import { takeUntil as higherOrder } from '../operators/takeUntil'; +/** + * Emits the values emitted by the source Observable until a `notifier` + * Observable emits a value. + * + * Lets values pass until a second Observable, + * `notifier`, emits something. Then, it completes. + * + * + * + * `takeUntil` subscribes and begins mirroring the source Observable. It also + * monitors a second Observable, `notifier` that you provide. If the `notifier` + * emits a value, the output Observable stops mirroring the source Observable + * and completes. + * + * @example Tick every second until the first click happens + * var interval = Rx.Observable.interval(1000); + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = interval.takeUntil(clicks); + * result.subscribe(x => console.log(x)); + * + * @see {@link take} + * @see {@link takeLast} + * @see {@link takeWhile} + * @see {@link skip} + * + * @param {Observable} notifier The Observable whose first emitted value will + * cause the output Observable of `takeUntil` to stop emitting values from the + * source Observable. + * @return {Observable} An Observable that emits the values from the source + * Observable until such time as `notifier` emits its first value. + * @method takeUntil + * @owner Observable + */ +export function takeUntil(notifier) { + return higherOrder(notifier)(this); +} +//# sourceMappingURL=takeUntil.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/takeUntil.js.map b/node_modules/rxjs/_esm2015/operator/takeUntil.js.map new file mode 100644 index 00000000..c5c1087c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/takeUntil.js.map @@ -0,0 +1 @@ +{"version":3,"file":"takeUntil.js","sourceRoot":"","sources":["../../src/operator/takeUntil.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,0BAAkD,QAAyB;IACzE,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAkB,CAAC;AACtD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/takeWhile.js b/node_modules/rxjs/_esm2015/operator/takeWhile.js new file mode 100644 index 00000000..9d6bcb3c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/takeWhile.js @@ -0,0 +1,41 @@ +import { takeWhile as higherOrder } from '../operators/takeWhile'; +/** + * Emits values emitted by the source Observable so long as each value satisfies + * the given `predicate`, and then completes as soon as this `predicate` is not + * satisfied. + * + * Takes values from the source only while they pass the + * condition given. When the first value does not satisfy, it completes. + * + * + * + * `takeWhile` subscribes and begins mirroring the source Observable. Each value + * emitted on the source is given to the `predicate` function which returns a + * boolean, representing a condition to be satisfied by the source values. The + * output Observable emits the source values until such time as the `predicate` + * returns false, at which point `takeWhile` stops mirroring the source + * Observable and completes the output Observable. + * + * @example Emit click events only while the clientX property is greater than 200 + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.takeWhile(ev => ev.clientX > 200); + * result.subscribe(x => console.log(x)); + * + * @see {@link take} + * @see {@link takeLast} + * @see {@link takeUntil} + * @see {@link skip} + * + * @param {function(value: T, index: number): boolean} predicate A function that + * evaluates a value emitted by the source Observable and returns a boolean. + * Also takes the (zero-based) index as the second argument. + * @return {Observable} An Observable that emits the values from the source + * Observable so long as each value satisfies the condition defined by the + * `predicate`, then completes. + * @method takeWhile + * @owner Observable + */ +export function takeWhile(predicate) { + return higherOrder(predicate)(this); +} +//# sourceMappingURL=takeWhile.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/takeWhile.js.map b/node_modules/rxjs/_esm2015/operator/takeWhile.js.map new file mode 100644 index 00000000..c24d891d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/takeWhile.js.map @@ -0,0 +1 @@ +{"version":3,"file":"takeWhile.js","sourceRoot":"","sources":["../../src/operator/takeWhile.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,0BAAkD,SAA+C;IAC/F,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;AACtC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/throttle.js b/node_modules/rxjs/_esm2015/operator/throttle.js new file mode 100644 index 00000000..1244f94d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/throttle.js @@ -0,0 +1,45 @@ +import { throttle as higherOrder, defaultThrottleConfig } from '../operators/throttle'; +/** + * Emits a value from the source Observable, then ignores subsequent source + * values for a duration determined by another Observable, then repeats this + * process. + * + * It's like {@link throttleTime}, but the silencing + * duration is determined by a second Observable. + * + * + * + * `throttle` emits the source Observable values on the output Observable + * when its internal timer is disabled, and ignores source values when the timer + * is enabled. Initially, the timer is disabled. As soon as the first source + * value arrives, it is forwarded to the output Observable, and then the timer + * is enabled by calling the `durationSelector` function with the source value, + * which returns the "duration" Observable. When the duration Observable emits a + * value or completes, the timer is disabled, and this process repeats for the + * next source value. + * + * @example Emit clicks at a rate of at most one click per second + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.throttle(ev => Rx.Observable.interval(1000)); + * result.subscribe(x => console.log(x)); + * + * @see {@link audit} + * @see {@link debounce} + * @see {@link delayWhen} + * @see {@link sample} + * @see {@link throttleTime} + * + * @param {function(value: T): SubscribableOrPromise} durationSelector A function + * that receives a value from the source Observable, for computing the silencing + * duration for each source value, returned as an Observable or a Promise. + * @param {Object} config a configuration object to define `leading` and `trailing` behavior. Defaults + * to `{ leading: true, trailing: false }`. + * @return {Observable} An Observable that performs the throttle operation to + * limit the rate of emissions from the source. + * @method throttle + * @owner Observable + */ +export function throttle(durationSelector, config = defaultThrottleConfig) { + return higherOrder(durationSelector, config)(this); +} +//# sourceMappingURL=throttle.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/throttle.js.map b/node_modules/rxjs/_esm2015/operator/throttle.js.map new file mode 100644 index 00000000..dafc1df3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/throttle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"throttle.js","sourceRoot":"","sources":["../../src/operator/throttle.ts"],"names":[],"mappings":"OACO,EAAE,QAAQ,IAAI,WAAW,EAAkB,qBAAqB,EAAE,MAAM,uBAAuB;AAEtG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,yBAC4B,gBAA6D,EAC7D,MAAM,GAAmB,qBAAqB;IACxE,MAAM,CAAC,WAAW,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;AACrD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/throttleTime.js b/node_modules/rxjs/_esm2015/operator/throttleTime.js new file mode 100644 index 00000000..bbad2cb9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/throttleTime.js @@ -0,0 +1,46 @@ +import { async } from '../scheduler/async'; +import { defaultThrottleConfig } from '../operators/throttle'; +import { throttleTime as higherOrder } from '../operators/throttleTime'; +/** + * Emits a value from the source Observable, then ignores subsequent source + * values for `duration` milliseconds, then repeats this process. + * + * Lets a value pass, then ignores source values for the + * next `duration` milliseconds. + * + * + * + * `throttleTime` emits the source Observable values on the output Observable + * when its internal timer is disabled, and ignores source values when the timer + * is enabled. Initially, the timer is disabled. As soon as the first source + * value arrives, it is forwarded to the output Observable, and then the timer + * is enabled. After `duration` milliseconds (or the time unit determined + * internally by the optional `scheduler`) has passed, the timer is disabled, + * and this process repeats for the next source value. Optionally takes a + * {@link IScheduler} for managing timers. + * + * @example Emit clicks at a rate of at most one click per second + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.throttleTime(1000); + * result.subscribe(x => console.log(x)); + * + * @see {@link auditTime} + * @see {@link debounceTime} + * @see {@link delay} + * @see {@link sampleTime} + * @see {@link throttle} + * + * @param {number} duration Time to wait before emitting another value after + * emitting the last value, measured in milliseconds or the time unit determined + * internally by the optional `scheduler`. + * @param {Scheduler} [scheduler=async] The {@link IScheduler} to use for + * managing the timers that handle the throttling. + * @return {Observable} An Observable that performs the throttle operation to + * limit the rate of emissions from the source. + * @method throttleTime + * @owner Observable + */ +export function throttleTime(duration, scheduler = async, config = defaultThrottleConfig) { + return higherOrder(duration, scheduler, config)(this); +} +//# sourceMappingURL=throttleTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/throttleTime.js.map b/node_modules/rxjs/_esm2015/operator/throttleTime.js.map new file mode 100644 index 00000000..bcbfd96f --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/throttleTime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"throttleTime.js","sourceRoot":"","sources":["../../src/operator/throttleTime.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OACnC,EAAkB,qBAAqB,EAAE,MAAM,uBAAuB;OACtE,EAAE,YAAY,IAAI,WAAW,EAAE,MAAM,2BAA2B;AAEvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,6BACgC,QAAgB,EAChB,SAAS,GAAe,KAAK,EAC7B,MAAM,GAAmB,qBAAqB;IAC5E,MAAM,CAAC,WAAW,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC,IAAI,CAAkB,CAAC;AACzE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/timeInterval.js b/node_modules/rxjs/_esm2015/operator/timeInterval.js new file mode 100644 index 00000000..499fe76a --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/timeInterval.js @@ -0,0 +1,13 @@ +import { async } from '../scheduler/async'; +import { timeInterval as higherOrder, TimeInterval } from '../operators/timeInterval'; +export { TimeInterval }; +/** + * @param scheduler + * @return {Observable>|WebSocketSubject|Observable} + * @method timeInterval + * @owner Observable + */ +export function timeInterval(scheduler = async) { + return higherOrder(scheduler)(this); +} +//# sourceMappingURL=timeInterval.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/timeInterval.js.map b/node_modules/rxjs/_esm2015/operator/timeInterval.js.map new file mode 100644 index 00000000..05842d76 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/timeInterval.js.map @@ -0,0 +1 @@ +{"version":3,"file":"timeInterval.js","sourceRoot":"","sources":["../../src/operator/timeInterval.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OACnC,EAAE,YAAY,IAAI,WAAW,EAAE,YAAY,EAAE,MAAM,2BAA2B;AACrF,SAAQ,YAAY,GAAE;AAEtB;;;;;GAKG;AACH,6BAAqD,SAAS,GAAe,KAAK;IAChF,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,IAAI,CAAgC,CAAC;AACrE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/timeout.js b/node_modules/rxjs/_esm2015/operator/timeout.js new file mode 100644 index 00000000..41781f33 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/timeout.js @@ -0,0 +1,71 @@ +import { async } from '../scheduler/async'; +import { timeout as higherOrder } from '../operators/timeout'; +/** + * + * Errors if Observable does not emit a value in given time span. + * + * Timeouts on Observable that doesn't emit values fast enough. + * + * + * + * `timeout` operator accepts as an argument either a number or a Date. + * + * If number was provided, it returns an Observable that behaves like a source + * Observable, unless there is a period of time where there is no value emitted. + * So if you provide `100` as argument and first value comes after 50ms from + * the moment of subscription, this value will be simply re-emitted by the resulting + * Observable. If however after that 100ms passes without a second value being emitted, + * stream will end with an error and source Observable will be unsubscribed. + * These checks are performed throughout whole lifecycle of Observable - from the moment + * it was subscribed to, until it completes or errors itself. Thus every value must be + * emitted within specified period since previous value. + * + * If provided argument was Date, returned Observable behaves differently. It throws + * if Observable did not complete before provided Date. This means that periods between + * emission of particular values do not matter in this case. If Observable did not complete + * before provided Date, source Observable will be unsubscribed. Other than that, resulting + * stream behaves just as source Observable. + * + * `timeout` accepts also a Scheduler as a second parameter. It is used to schedule moment (or moments) + * when returned Observable will check if source stream emitted value or completed. + * + * @example Check if ticks are emitted within certain timespan + * const seconds = Rx.Observable.interval(1000); + * + * seconds.timeout(1100) // Let's use bigger timespan to be safe, + * // since `interval` might fire a bit later then scheduled. + * .subscribe( + * value => console.log(value), // Will emit numbers just as regular `interval` would. + * err => console.log(err) // Will never be called. + * ); + * + * seconds.timeout(900).subscribe( + * value => console.log(value), // Will never be called. + * err => console.log(err) // Will emit error before even first value is emitted, + * // since it did not arrive within 900ms period. + * ); + * + * @example Use Date to check if Observable completed + * const seconds = Rx.Observable.interval(1000); + * + * seconds.timeout(new Date("December 17, 2020 03:24:00")) + * .subscribe( + * value => console.log(value), // Will emit values as regular `interval` would + * // until December 17, 2020 at 03:24:00. + * err => console.log(err) // On December 17, 2020 at 03:24:00 it will emit an error, + * // since Observable did not complete by then. + * ); + * + * @see {@link timeoutWith} + * + * @param {number|Date} due Number specifying period within which Observable must emit values + * or Date specifying before when Observable should complete + * @param {Scheduler} [scheduler] Scheduler controlling when timeout checks occur. + * @return {Observable} Observable that mirrors behaviour of source, unless timeout checks fail. + * @method timeout + * @owner Observable + */ +export function timeout(due, scheduler = async) { + return higherOrder(due, scheduler)(this); +} +//# sourceMappingURL=timeout.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/timeout.js.map b/node_modules/rxjs/_esm2015/operator/timeout.js.map new file mode 100644 index 00000000..33e3b1da --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/timeout.js.map @@ -0,0 +1 @@ +{"version":3,"file":"timeout.js","sourceRoot":"","sources":["../../src/operator/timeout.ts"],"names":[],"mappings":"OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAGnC,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sBAAsB;AAE7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,wBAC2B,GAAkB,EAClB,SAAS,GAAe,KAAK;IACtD,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC,IAAI,CAAkB,CAAC;AAC5D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/timeoutWith.js b/node_modules/rxjs/_esm2015/operator/timeoutWith.js new file mode 100644 index 00000000..6fb8a322 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/timeoutWith.js @@ -0,0 +1,54 @@ +import { async } from '../scheduler/async'; +import { timeoutWith as higherOrder } from '../operators/timeoutWith'; +/* tslint:enable:max-line-length */ +/** + * + * Errors if Observable does not emit a value in given time span, in case of which + * subscribes to the second Observable. + * + * It's a version of `timeout` operator that let's you specify fallback Observable. + * + * + * + * `timeoutWith` is a variation of `timeout` operator. It behaves exactly the same, + * still accepting as a first argument either a number or a Date, which control - respectively - + * when values of source Observable should be emitted or when it should complete. + * + * The only difference is that it accepts a second, required parameter. This parameter + * should be an Observable which will be subscribed when source Observable fails any timeout check. + * So whenever regular `timeout` would emit an error, `timeoutWith` will instead start re-emitting + * values from second Observable. Note that this fallback Observable is not checked for timeouts + * itself, so it can emit values and complete at arbitrary points in time. From the moment of a second + * subscription, Observable returned from `timeoutWith` simply mirrors fallback stream. When that + * stream completes, it completes as well. + * + * Scheduler, which in case of `timeout` is provided as as second argument, can be still provided + * here - as a third, optional parameter. It still is used to schedule timeout checks and - + * as a consequence - when second Observable will be subscribed, since subscription happens + * immediately after failing check. + * + * @example Add fallback observable + * const seconds = Rx.Observable.interval(1000); + * const minutes = Rx.Observable.interval(60 * 1000); + * + * seconds.timeoutWith(900, minutes) + * .subscribe( + * value => console.log(value), // After 900ms, will start emitting `minutes`, + * // since first value of `seconds` will not arrive fast enough. + * err => console.log(err) // Would be called after 900ms in case of `timeout`, + * // but here will never be called. + * ); + * + * @param {number|Date} due Number specifying period within which Observable must emit values + * or Date specifying before when Observable should complete + * @param {Observable} withObservable Observable which will be subscribed if source fails timeout check. + * @param {Scheduler} [scheduler] Scheduler controlling when timeout checks occur. + * @return {Observable} Observable that mirrors behaviour of source or, when timeout check fails, of an Observable + * passed as a second parameter. + * @method timeoutWith + * @owner Observable + */ +export function timeoutWith(due, withObservable, scheduler = async) { + return higherOrder(due, withObservable, scheduler)(this); +} +//# sourceMappingURL=timeoutWith.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/timeoutWith.js.map b/node_modules/rxjs/_esm2015/operator/timeoutWith.js.map new file mode 100644 index 00000000..7df90c92 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/timeoutWith.js.map @@ -0,0 +1 @@ +{"version":3,"file":"timeoutWith.js","sourceRoot":"","sources":["../../src/operator/timeoutWith.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAEnC,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,0BAA0B;AAKrE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,4BAAuD,GAAkB,EACvC,cAAkC,EAClC,SAAS,GAAe,KAAK;IAC7D,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,cAAc,EAAE,SAAS,CAAC,CAAC,IAAW,CAAC,CAAC;AAClE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/timestamp.js b/node_modules/rxjs/_esm2015/operator/timestamp.js new file mode 100644 index 00000000..328bbeeb --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/timestamp.js @@ -0,0 +1,12 @@ +import { async } from '../scheduler/async'; +import { timestamp as higherOrder } from '../operators/timestamp'; +/** + * @param scheduler + * @return {Observable>|WebSocketSubject|Observable} + * @method timestamp + * @owner Observable + */ +export function timestamp(scheduler = async) { + return higherOrder(scheduler)(this); +} +//# sourceMappingURL=timestamp.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/timestamp.js.map b/node_modules/rxjs/_esm2015/operator/timestamp.js.map new file mode 100644 index 00000000..adb29c32 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/timestamp.js.map @@ -0,0 +1 @@ +{"version":3,"file":"timestamp.js","sourceRoot":"","sources":["../../src/operator/timestamp.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OACnC,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;GAKG;AACH,0BAAkD,SAAS,GAAe,KAAK;IAC7E,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,IAAI,CAA6B,CAAC;AAClE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/toArray.js b/node_modules/rxjs/_esm2015/operator/toArray.js new file mode 100644 index 00000000..5c111a20 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/toArray.js @@ -0,0 +1,28 @@ +import { toArray as higherOrder } from '../operators/toArray'; +/** + * Collects all source emissions and emits them as an array when the source completes. + * + * Get all values inside an array when the source completes + * + * + * + * `toArray` will wait until the source Observable completes + * before emitting the array containing all emissions. + * When the source Observable errors no array will be emitted. + * + * @example Create array from input + * const input = Rx.Observable.interval(100).take(4); + * + * input.toArray() + * .subscribe(arr => console.log(arr)); // [0,1,2,3] + * + * @see {@link buffer} + * + * @return {Observable|WebSocketSubject|Observable} + * @method toArray + * @owner Observable + */ +export function toArray() { + return higherOrder()(this); +} +//# sourceMappingURL=toArray.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/toArray.js.map b/node_modules/rxjs/_esm2015/operator/toArray.js.map new file mode 100644 index 00000000..c501b6d9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/toArray.js.map @@ -0,0 +1 @@ +{"version":3,"file":"toArray.js","sourceRoot":"","sources":["../../src/operator/toArray.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sBAAsB;AAE7D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH;IACE,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,CAAoB,CAAC;AAChD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/toPromise.js b/node_modules/rxjs/_esm2015/operator/toPromise.js new file mode 100644 index 00000000..e1eb75df --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/toPromise.js @@ -0,0 +1,5 @@ +import { Observable } from '../Observable'; +// HACK: this is here for backward compatability +// TODO(benlesh): remove this in v6. +export const toPromise = Observable.prototype.toPromise; +//# sourceMappingURL=toPromise.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/toPromise.js.map b/node_modules/rxjs/_esm2015/operator/toPromise.js.map new file mode 100644 index 00000000..07182d1b --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/toPromise.js.map @@ -0,0 +1 @@ +{"version":3,"file":"toPromise.js","sourceRoot":"","sources":["../../src/operator/toPromise.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,eAAe;AAE1C,gDAAgD;AAChD,oCAAoC;AACpC,OAAO,MAAM,SAAS,GAA0C,UAAU,CAAC,SAAS,CAAC,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/window.js b/node_modules/rxjs/_esm2015/operator/window.js new file mode 100644 index 00000000..7338f1fd --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/window.js @@ -0,0 +1,41 @@ +import { window as higherOrder } from '../operators/window'; +/** + * Branch out the source Observable values as a nested Observable whenever + * `windowBoundaries` emits. + * + * It's like {@link buffer}, but emits a nested Observable + * instead of an array. + * + * + * + * Returns an Observable that emits windows of items it collects from the source + * Observable. The output Observable emits connected, non-overlapping + * windows. It emits the current window and opens a new one whenever the + * Observable `windowBoundaries` emits an item. Because each window is an + * Observable, the output is a higher-order Observable. + * + * @example In every window of 1 second each, emit at most 2 click events + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var interval = Rx.Observable.interval(1000); + * var result = clicks.window(interval) + * .map(win => win.take(2)) // each window has at most 2 emissions + * .mergeAll(); // flatten the Observable-of-Observables + * result.subscribe(x => console.log(x)); + * + * @see {@link windowCount} + * @see {@link windowTime} + * @see {@link windowToggle} + * @see {@link windowWhen} + * @see {@link buffer} + * + * @param {Observable} windowBoundaries An Observable that completes the + * previous window and starts a new window. + * @return {Observable>} An Observable of windows, which are + * Observables emitting values of the source Observable. + * @method window + * @owner Observable + */ +export function window(windowBoundaries) { + return higherOrder(windowBoundaries)(this); +} +//# sourceMappingURL=window.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/window.js.map b/node_modules/rxjs/_esm2015/operator/window.js.map new file mode 100644 index 00000000..887a435b --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/window.js.map @@ -0,0 +1 @@ +{"version":3,"file":"window.js","sourceRoot":"","sources":["../../src/operator/window.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,qBAAqB;AAE3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,uBAA+C,gBAAiC;IAC9E,MAAM,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAA8B,CAAC;AAC1E,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/windowCount.js b/node_modules/rxjs/_esm2015/operator/windowCount.js new file mode 100644 index 00000000..e2cce8f6 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/windowCount.js @@ -0,0 +1,53 @@ +import { windowCount as higherOrder } from '../operators/windowCount'; +/** + * Branch out the source Observable values as a nested Observable with each + * nested Observable emitting at most `windowSize` values. + * + * It's like {@link bufferCount}, but emits a nested + * Observable instead of an array. + * + * + * + * Returns an Observable that emits windows of items it collects from the source + * Observable. The output Observable emits windows every `startWindowEvery` + * items, each containing no more than `windowSize` items. When the source + * Observable completes or encounters an error, the output Observable emits + * the current window and propagates the notification from the source + * Observable. If `startWindowEvery` is not provided, then new windows are + * started immediately at the start of the source and when each window completes + * with size `windowSize`. + * + * @example Ignore every 3rd click event, starting from the first one + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.windowCount(3) + * .map(win => win.skip(1)) // skip first of every 3 clicks + * .mergeAll(); // flatten the Observable-of-Observables + * result.subscribe(x => console.log(x)); + * + * @example Ignore every 3rd click event, starting from the third one + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.windowCount(2, 3) + * .mergeAll(); // flatten the Observable-of-Observables + * result.subscribe(x => console.log(x)); + * + * @see {@link window} + * @see {@link windowTime} + * @see {@link windowToggle} + * @see {@link windowWhen} + * @see {@link bufferCount} + * + * @param {number} windowSize The maximum number of values emitted by each + * window. + * @param {number} [startWindowEvery] Interval at which to start a new window. + * For example if `startWindowEvery` is `2`, then a new window will be started + * on every other value from the source. A new window is started at the + * beginning of the source by default. + * @return {Observable>} An Observable of windows, which in turn + * are Observable of values. + * @method windowCount + * @owner Observable + */ +export function windowCount(windowSize, startWindowEvery = 0) { + return higherOrder(windowSize, startWindowEvery)(this); +} +//# sourceMappingURL=windowCount.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/windowCount.js.map b/node_modules/rxjs/_esm2015/operator/windowCount.js.map new file mode 100644 index 00000000..189873f4 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/windowCount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"windowCount.js","sourceRoot":"","sources":["../../src/operator/windowCount.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,0BAA0B;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,4BAAoD,UAAkB,EACvC,gBAAgB,GAAW,CAAC;IACzD,MAAM,CAAC,WAAW,CAAC,UAAU,EAAE,gBAAgB,CAAC,CAAC,IAAI,CAA8B,CAAC;AACtF,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/windowTime.js b/node_modules/rxjs/_esm2015/operator/windowTime.js new file mode 100644 index 00000000..d095e647 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/windowTime.js @@ -0,0 +1,26 @@ +import { async } from '../scheduler/async'; +import { isNumeric } from '../util/isNumeric'; +import { isScheduler } from '../util/isScheduler'; +import { windowTime as higherOrder } from '../operators/windowTime'; +export function windowTime(windowTimeSpan) { + let scheduler = async; + let windowCreationInterval = null; + let maxWindowSize = Number.POSITIVE_INFINITY; + if (isScheduler(arguments[3])) { + scheduler = arguments[3]; + } + if (isScheduler(arguments[2])) { + scheduler = arguments[2]; + } + else if (isNumeric(arguments[2])) { + maxWindowSize = arguments[2]; + } + if (isScheduler(arguments[1])) { + scheduler = arguments[1]; + } + else if (isNumeric(arguments[1])) { + windowCreationInterval = arguments[1]; + } + return higherOrder(windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler)(this); +} +//# sourceMappingURL=windowTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/windowTime.js.map b/node_modules/rxjs/_esm2015/operator/windowTime.js.map new file mode 100644 index 00000000..62e9203e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/windowTime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"windowTime.js","sourceRoot":"","sources":["../../src/operator/windowTime.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAEnC,EAAE,SAAS,EAAE,MAAM,mBAAmB;OACtC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,yBAAyB;AAwEnE,2BAC8B,cAAsB;IAElD,IAAI,SAAS,GAAe,KAAK,CAAC;IAClC,IAAI,sBAAsB,GAAW,IAAI,CAAC;IAC1C,IAAI,aAAa,GAAW,MAAM,CAAC,iBAAiB,CAAC;IAErD,EAAE,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC9B,SAAS,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IAC3B,CAAC;IAED,EAAE,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC9B,SAAS,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IAC3B,CAAC;IAAC,IAAI,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACnC,aAAa,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IAC/B,CAAC;IAED,EAAE,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC9B,SAAS,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IAC3B,CAAC;IAAC,IAAI,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACnC,sBAAsB,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IACxC,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,cAAc,EAAE,sBAAsB,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,IAAI,CAA8B,CAAC;AAC1H,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/windowToggle.js b/node_modules/rxjs/_esm2015/operator/windowToggle.js new file mode 100644 index 00000000..0b25088d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/windowToggle.js @@ -0,0 +1,46 @@ +import { windowToggle as higherOrder } from '../operators/windowToggle'; +/** + * Branch out the source Observable values as a nested Observable starting from + * an emission from `openings` and ending when the output of `closingSelector` + * emits. + * + * It's like {@link bufferToggle}, but emits a nested + * Observable instead of an array. + * + * + * + * Returns an Observable that emits windows of items it collects from the source + * Observable. The output Observable emits windows that contain those items + * emitted by the source Observable between the time when the `openings` + * Observable emits an item and when the Observable returned by + * `closingSelector` emits an item. + * + * @example Every other second, emit the click events from the next 500ms + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var openings = Rx.Observable.interval(1000); + * var result = clicks.windowToggle(openings, i => + * i % 2 ? Rx.Observable.interval(500) : Rx.Observable.empty() + * ).mergeAll(); + * result.subscribe(x => console.log(x)); + * + * @see {@link window} + * @see {@link windowCount} + * @see {@link windowTime} + * @see {@link windowWhen} + * @see {@link bufferToggle} + * + * @param {Observable} openings An observable of notifications to start new + * windows. + * @param {function(value: O): Observable} closingSelector A function that takes + * the value emitted by the `openings` observable and returns an Observable, + * which, when it emits (either `next` or `complete`), signals that the + * associated window should complete. + * @return {Observable>} An observable of windows, which in turn + * are Observables. + * @method windowToggle + * @owner Observable + */ +export function windowToggle(openings, closingSelector) { + return higherOrder(openings, closingSelector)(this); +} +//# sourceMappingURL=windowToggle.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/windowToggle.js.map b/node_modules/rxjs/_esm2015/operator/windowToggle.js.map new file mode 100644 index 00000000..76d54b95 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/windowToggle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"windowToggle.js","sourceRoot":"","sources":["../../src/operator/windowToggle.ts"],"names":[],"mappings":"OAEO,EAAE,YAAY,IAAI,WAAW,EAAE,MAAM,2BAA2B;AAEvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,6BAAwD,QAAuB,EAC5C,eAAkD;IACnF,MAAM,CAAC,WAAW,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC,IAAI,CAA8B,CAAC;AACnF,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/windowWhen.js b/node_modules/rxjs/_esm2015/operator/windowWhen.js new file mode 100644 index 00000000..7f0f7a0f --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/windowWhen.js @@ -0,0 +1,43 @@ +import { windowWhen as higherOrder } from '../operators/windowWhen'; +/** + * Branch out the source Observable values as a nested Observable using a + * factory function of closing Observables to determine when to start a new + * window. + * + * It's like {@link bufferWhen}, but emits a nested + * Observable instead of an array. + * + * + * + * Returns an Observable that emits windows of items it collects from the source + * Observable. The output Observable emits connected, non-overlapping windows. + * It emits the current window and opens a new one whenever the Observable + * produced by the specified `closingSelector` function emits an item. The first + * window is opened immediately when subscribing to the output Observable. + * + * @example Emit only the first two clicks events in every window of [1-5] random seconds + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks + * .windowWhen(() => Rx.Observable.interval(1000 + Math.random() * 4000)) + * .map(win => win.take(2)) // each window has at most 2 emissions + * .mergeAll(); // flatten the Observable-of-Observables + * result.subscribe(x => console.log(x)); + * + * @see {@link window} + * @see {@link windowCount} + * @see {@link windowTime} + * @see {@link windowToggle} + * @see {@link bufferWhen} + * + * @param {function(): Observable} closingSelector A function that takes no + * arguments and returns an Observable that signals (on either `next` or + * `complete`) when to close the previous window and start a new one. + * @return {Observable>} An observable of windows, which in turn + * are Observables. + * @method windowWhen + * @owner Observable + */ +export function windowWhen(closingSelector) { + return higherOrder(closingSelector)(this); +} +//# sourceMappingURL=windowWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/windowWhen.js.map b/node_modules/rxjs/_esm2015/operator/windowWhen.js.map new file mode 100644 index 00000000..3cde5312 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/windowWhen.js.map @@ -0,0 +1 @@ +{"version":3,"file":"windowWhen.js","sourceRoot":"","sources":["../../src/operator/windowWhen.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,yBAAyB;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,2BAAmD,eAAsC;IACvF,MAAM,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC,IAAI,CAA8B,CAAC;AACzE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/withLatestFrom.js b/node_modules/rxjs/_esm2015/operator/withLatestFrom.js new file mode 100644 index 00000000..693366e3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/withLatestFrom.js @@ -0,0 +1,44 @@ +import { withLatestFrom as higherOrder } from '../operators/withLatestFrom'; +/* tslint:enable:max-line-length */ +/** + * Combines the source Observable with other Observables to create an Observable + * whose values are calculated from the latest values of each, only when the + * source emits. + * + * Whenever the source Observable emits a value, it + * computes a formula using that value plus the latest values from other input + * Observables, then emits the output of that formula. + * + * + * + * `withLatestFrom` combines each value from the source Observable (the + * instance) with the latest values from the other input Observables only when + * the source emits a value, optionally using a `project` function to determine + * the value to be emitted on the output Observable. All input Observables must + * emit at least one value before the output Observable will emit a value. + * + * @example On every click event, emit an array with the latest timer event plus the click event + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var timer = Rx.Observable.interval(1000); + * var result = clicks.withLatestFrom(timer); + * result.subscribe(x => console.log(x)); + * + * @see {@link combineLatest} + * + * @param {ObservableInput} other An input Observable to combine with the source + * Observable. More than one input Observables may be given as argument. + * @param {Function} [project] Projection function for combining values + * together. Receives all values in order of the Observables passed, where the + * first parameter is a value from the source Observable. (e.g. + * `a.withLatestFrom(b, c, (a1, b1, c1) => a1 + b1 + c1)`). If this is not + * passed, arrays will be emitted on the output Observable. + * @return {Observable} An Observable of projected values from the most recent + * values from each input Observable, or an array of the most recent values from + * each input Observable. + * @method withLatestFrom + * @owner Observable + */ +export function withLatestFrom(...args) { + return higherOrder(...args)(this); +} +//# sourceMappingURL=withLatestFrom.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/withLatestFrom.js.map b/node_modules/rxjs/_esm2015/operator/withLatestFrom.js.map new file mode 100644 index 00000000..646b7ada --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/withLatestFrom.js.map @@ -0,0 +1 @@ +{"version":3,"file":"withLatestFrom.js","sourceRoot":"","sources":["../../src/operator/withLatestFrom.ts"],"names":[],"mappings":"OACO,EAAE,cAAc,IAAI,WAAW,EAAE,MAAM,6BAA6B;AAiB3E,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,+BAA0D,GAAG,IAAkE;IAC7H,MAAM,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC;AACpC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/zip.js b/node_modules/rxjs/_esm2015/operator/zip.js new file mode 100644 index 00000000..3246d2a3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/zip.js @@ -0,0 +1,12 @@ +import { zip as higherOrder } from '../operators/zip'; +/* tslint:enable:max-line-length */ +/** + * @param observables + * @return {Observable} + * @method zip + * @owner Observable + */ +export function zipProto(...observables) { + return higherOrder(...observables)(this); +} +//# sourceMappingURL=zip.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/zip.js.map b/node_modules/rxjs/_esm2015/operator/zip.js.map new file mode 100644 index 00000000..8bc90145 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/zip.js.map @@ -0,0 +1 @@ +{"version":3,"file":"zip.js","sourceRoot":"","sources":["../../src/operator/zip.ts"],"names":[],"mappings":"OACO,EAAE,GAAG,IAAI,WAAW,EAAE,MAAM,kBAAkB;AAkBrD,mCAAmC;AAEnC;;;;;GAKG;AACH,yBAAoD,GAAG,WAAyE;IAC9H,MAAM,CAAC,WAAW,CAAC,GAAG,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC;AAC3C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/zipAll.js b/node_modules/rxjs/_esm2015/operator/zipAll.js new file mode 100644 index 00000000..25522bfc --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/zipAll.js @@ -0,0 +1,11 @@ +import { zipAll as higherOrder } from '../operators/zipAll'; +/** + * @param project + * @return {Observable|WebSocketSubject|Observable} + * @method zipAll + * @owner Observable + */ +export function zipAll(project) { + return higherOrder(project)(this); +} +//# sourceMappingURL=zipAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/zipAll.js.map b/node_modules/rxjs/_esm2015/operator/zipAll.js.map new file mode 100644 index 00000000..24ffff49 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operator/zipAll.js.map @@ -0,0 +1 @@ +{"version":3,"file":"zipAll.js","sourceRoot":"","sources":["../../src/operator/zipAll.ts"],"names":[],"mappings":"OACO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,qBAAqB;AAE3D;;;;;GAKG;AACH,uBAAkD,OAAsC;IACtF,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AACpC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators.js b/node_modules/rxjs/_esm2015/operators.js new file mode 100644 index 00000000..fab19497 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators.js @@ -0,0 +1,109 @@ +export { audit } from './operators/audit'; +export { auditTime } from './operators/auditTime'; +export { buffer } from './operators/buffer'; +export { bufferCount } from './operators/bufferCount'; +export { bufferTime } from './operators/bufferTime'; +export { bufferToggle } from './operators/bufferToggle'; +export { bufferWhen } from './operators/bufferWhen'; +export { catchError } from './operators/catchError'; +export { combineAll } from './operators/combineAll'; +export { combineLatest } from './operators/combineLatest'; +export { concat } from './operators/concat'; +export { concatAll } from './operators/concatAll'; +export { concatMap } from './operators/concatMap'; +export { concatMapTo } from './operators/concatMapTo'; +export { count } from './operators/count'; +export { debounce } from './operators/debounce'; +export { debounceTime } from './operators/debounceTime'; +export { defaultIfEmpty } from './operators/defaultIfEmpty'; +export { delay } from './operators/delay'; +export { delayWhen } from './operators/delayWhen'; +export { dematerialize } from './operators/dematerialize'; +export { distinct } from './operators/distinct'; +export { distinctUntilChanged } from './operators/distinctUntilChanged'; +export { distinctUntilKeyChanged } from './operators/distinctUntilKeyChanged'; +export { elementAt } from './operators/elementAt'; +export { every } from './operators/every'; +export { exhaust } from './operators/exhaust'; +export { exhaustMap } from './operators/exhaustMap'; +export { expand } from './operators/expand'; +export { filter } from './operators/filter'; +export { finalize } from './operators/finalize'; +export { find } from './operators/find'; +export { findIndex } from './operators/findIndex'; +export { first } from './operators/first'; +export { groupBy } from './operators/groupBy'; +export { ignoreElements } from './operators/ignoreElements'; +export { isEmpty } from './operators/isEmpty'; +export { last } from './operators/last'; +export { map } from './operators/map'; +export { mapTo } from './operators/mapTo'; +export { materialize } from './operators/materialize'; +export { max } from './operators/max'; +export { merge } from './operators/merge'; +export { mergeAll } from './operators/mergeAll'; +export { mergeMap } from './operators/mergeMap'; +export { mergeMap as flatMap } from './operators/mergeMap'; +export { mergeMapTo } from './operators/mergeMapTo'; +export { mergeScan } from './operators/mergeScan'; +export { min } from './operators/min'; +export { multicast } from './operators/multicast'; +export { observeOn } from './operators/observeOn'; +export { onErrorResumeNext } from './operators/onErrorResumeNext'; +export { pairwise } from './operators/pairwise'; +export { partition } from './operators/partition'; +export { pluck } from './operators/pluck'; +export { publish } from './operators/publish'; +export { publishBehavior } from './operators/publishBehavior'; +export { publishLast } from './operators/publishLast'; +export { publishReplay } from './operators/publishReplay'; +export { race } from './operators/race'; +export { reduce } from './operators/reduce'; +export { repeat } from './operators/repeat'; +export { repeatWhen } from './operators/repeatWhen'; +export { retry } from './operators/retry'; +export { retryWhen } from './operators/retryWhen'; +export { refCount } from './operators/refCount'; +export { sample } from './operators/sample'; +export { sampleTime } from './operators/sampleTime'; +export { scan } from './operators/scan'; +export { sequenceEqual } from './operators/sequenceEqual'; +export { share } from './operators/share'; +export { shareReplay } from './operators/shareReplay'; +export { single } from './operators/single'; +export { skip } from './operators/skip'; +export { skipLast } from './operators/skipLast'; +export { skipUntil } from './operators/skipUntil'; +export { skipWhile } from './operators/skipWhile'; +export { startWith } from './operators/startWith'; +/** + * TODO(https://github.com/ReactiveX/rxjs/issues/2900): Add back subscribeOn once it can be + * treeshaken. Currently if this export is added back, it + * forces apps to bring in asap scheduler along with + * Immediate, root, and other supporting code. + */ +// export { subscribeOn } from './operators/subscribeOn'; +export { switchAll } from './operators/switchAll'; +export { switchMap } from './operators/switchMap'; +export { switchMapTo } from './operators/switchMapTo'; +export { take } from './operators/take'; +export { takeLast } from './operators/takeLast'; +export { takeUntil } from './operators/takeUntil'; +export { takeWhile } from './operators/takeWhile'; +export { tap } from './operators/tap'; +export { throttle } from './operators/throttle'; +export { throttleTime } from './operators/throttleTime'; +export { timeInterval } from './operators/timeInterval'; +export { timeout } from './operators/timeout'; +export { timeoutWith } from './operators/timeoutWith'; +export { timestamp } from './operators/timestamp'; +export { toArray } from './operators/toArray'; +export { window } from './operators/window'; +export { windowCount } from './operators/windowCount'; +export { windowTime } from './operators/windowTime'; +export { windowToggle } from './operators/windowToggle'; +export { windowWhen } from './operators/windowWhen'; +export { withLatestFrom } from './operators/withLatestFrom'; +export { zip } from './operators/zip'; +export { zipAll } from './operators/zipAll'; +//# sourceMappingURL=operators.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators.js.map b/node_modules/rxjs/_esm2015/operators.js.map new file mode 100644 index 00000000..ad74b90b --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators.js.map @@ -0,0 +1 @@ +{"version":3,"file":"operators.js","sourceRoot":"","sources":["../src/operators.ts"],"names":[],"mappings":"AAAA,SAAS,KAAK,QAAQ,mBAAmB,CAAC;AAC1C,SAAS,SAAS,QAAQ,uBAAuB,CAAC;AAClD,SAAS,MAAM,QAAQ,oBAAoB,CAAC;AAC5C,SAAS,WAAW,QAAQ,yBAAyB,CAAC;AACtD,SAAS,UAAU,QAAQ,wBAAwB,CAAC;AACpD,SAAS,YAAY,QAAQ,0BAA0B,CAAC;AACxD,SAAS,UAAU,Q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ACxD,SAAS,UAAU,QAAQ,wBAAwB,CAAC;AACpD,SAAS,cAAc,QAAQ,4BAA4B,CAAC;AAC5D,SAAS,GAAG,QAAQ,iBAAiB,CAAC;AACtC,SAAS,MAAM,QAAQ,oBAAoB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/audit.js b/node_modules/rxjs/_esm2015/operators/audit.js new file mode 100644 index 00000000..dd54c906 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/audit.js @@ -0,0 +1,108 @@ +import { tryCatch } from '../util/tryCatch'; +import { errorObject } from '../util/errorObject'; +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/** + * Ignores source values for a duration determined by another Observable, then + * emits the most recent value from the source Observable, then repeats this + * process. + * + * It's like {@link auditTime}, but the silencing + * duration is determined by a second Observable. + * + * + * + * `audit` is similar to `throttle`, but emits the last value from the silenced + * time window, instead of the first value. `audit` emits the most recent value + * from the source Observable on the output Observable as soon as its internal + * timer becomes disabled, and ignores source values while the timer is enabled. + * Initially, the timer is disabled. As soon as the first source value arrives, + * the timer is enabled by calling the `durationSelector` function with the + * source value, which returns the "duration" Observable. When the duration + * Observable emits a value or completes, the timer is disabled, then the most + * recent source value is emitted on the output Observable, and this process + * repeats for the next source value. + * + * @example Emit clicks at a rate of at most one click per second + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.audit(ev => Rx.Observable.interval(1000)); + * result.subscribe(x => console.log(x)); + * + * @see {@link auditTime} + * @see {@link debounce} + * @see {@link delayWhen} + * @see {@link sample} + * @see {@link throttle} + * + * @param {function(value: T): SubscribableOrPromise} durationSelector A function + * that receives a value from the source Observable, for computing the silencing + * duration, returned as an Observable or a Promise. + * @return {Observable} An Observable that performs rate-limiting of + * emissions from the source Observable. + * @method audit + * @owner Observable + */ +export function audit(durationSelector) { + return function auditOperatorFunction(source) { + return source.lift(new AuditOperator(durationSelector)); + }; +} +class AuditOperator { + constructor(durationSelector) { + this.durationSelector = durationSelector; + } + call(subscriber, source) { + return source.subscribe(new AuditSubscriber(subscriber, this.durationSelector)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class AuditSubscriber extends OuterSubscriber { + constructor(destination, durationSelector) { + super(destination); + this.durationSelector = durationSelector; + this.hasValue = false; + } + _next(value) { + this.value = value; + this.hasValue = true; + if (!this.throttled) { + const duration = tryCatch(this.durationSelector)(value); + if (duration === errorObject) { + this.destination.error(errorObject.e); + } + else { + const innerSubscription = subscribeToResult(this, duration); + if (innerSubscription.closed) { + this.clearThrottle(); + } + else { + this.add(this.throttled = innerSubscription); + } + } + } + } + clearThrottle() { + const { value, hasValue, throttled } = this; + if (throttled) { + this.remove(throttled); + this.throttled = null; + throttled.unsubscribe(); + } + if (hasValue) { + this.value = null; + this.hasValue = false; + this.destination.next(value); + } + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex) { + this.clearThrottle(); + } + notifyComplete() { + this.clearThrottle(); + } +} +//# sourceMappingURL=audit.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/audit.js.map b/node_modules/rxjs/_esm2015/operators/audit.js.map new file mode 100644 index 00000000..6f363137 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/audit.js.map @@ -0,0 +1 @@ +{"version":3,"file":"audit.js","sourceRoot":"","sources":["../../src/operators/audit.ts"],"names":[],"mappings":"OAKO,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAC7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAG7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,sBAAyB,gBAA0D;IACjF,MAAM,CAAC,+BAA+B,MAAqB;QACzD,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,gBAAgB,CAAC,C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IACH,CAAC;IAED,aAAa;QACX,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;QAC5C,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;YACd,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;YACvB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;YACtB,SAAS,CAAC,WAAW,EAAE,CAAC;QAC1B,CAAC;QACD,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;YAClB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;YACtB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;IACH,CAAC;IAED,UAAU,CAAC,UAAa,EAAE,UAAa,EAAE,UAAkB,EAAE,UAAkB;QAC7E,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;IAED,cAAc;QACZ,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/auditTime.js b/node_modules/rxjs/_esm2015/operators/auditTime.js new file mode 100644 index 00000000..ea2b0d30 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/auditTime.js @@ -0,0 +1,49 @@ +import { async } from '../scheduler/async'; +import { audit } from './audit'; +import { timer } from '../observable/timer'; +/** + * Ignores source values for `duration` milliseconds, then emits the most recent + * value from the source Observable, then repeats this process. + * + * When it sees a source values, it ignores that plus + * the next ones for `duration` milliseconds, and then it emits the most recent + * value from the source. + * + * + * + * `auditTime` is similar to `throttleTime`, but emits the last value from the + * silenced time window, instead of the first value. `auditTime` emits the most + * recent value from the source Observable on the output Observable as soon as + * its internal timer becomes disabled, and ignores source values while the + * timer is enabled. Initially, the timer is disabled. As soon as the first + * source value arrives, the timer is enabled. After `duration` milliseconds (or + * the time unit determined internally by the optional `scheduler`) has passed, + * the timer is disabled, then the most recent source value is emitted on the + * output Observable, and this process repeats for the next source value. + * Optionally takes a {@link IScheduler} for managing timers. + * + * @example Emit clicks at a rate of at most one click per second + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.auditTime(1000); + * result.subscribe(x => console.log(x)); + * + * @see {@link audit} + * @see {@link debounceTime} + * @see {@link delay} + * @see {@link sampleTime} + * @see {@link throttleTime} + * + * @param {number} duration Time to wait before emitting the most recent source + * value, measured in milliseconds or the time unit determined internally + * by the optional `scheduler`. + * @param {Scheduler} [scheduler=async] The {@link IScheduler} to use for + * managing the timers that handle the rate-limiting behavior. + * @return {Observable} An Observable that performs rate-limiting of + * emissions from the source Observable. + * @method auditTime + * @owner Observable + */ +export function auditTime(duration, scheduler = async) { + return audit(() => timer(duration, scheduler)); +} +//# sourceMappingURL=auditTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/auditTime.js.map b/node_modules/rxjs/_esm2015/operators/auditTime.js.map new file mode 100644 index 00000000..34699b0a --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/auditTime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"auditTime.js","sourceRoot":"","sources":["../../src/operators/auditTime.ts"],"names":[],"mappings":"OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAEnC,EAAE,KAAK,EAAE,MAAM,SAAS;OACxB,EAAE,KAAK,EAAE,MAAM,qBAAqB;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,0BAA6B,QAAgB,EAAE,SAAS,GAAe,KAAK;IAC1E,MAAM,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC;AACjD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/buffer.js b/node_modules/rxjs/_esm2015/operators/buffer.js new file mode 100644 index 00000000..9241dab4 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/buffer.js @@ -0,0 +1,68 @@ +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/** + * Buffers the source Observable values until `closingNotifier` emits. + * + * Collects values from the past as an array, and emits + * that array only when another Observable emits. + * + * + * + * Buffers the incoming Observable values until the given `closingNotifier` + * Observable emits a value, at which point it emits the buffer on the output + * Observable and starts a new buffer internally, awaiting the next time + * `closingNotifier` emits. + * + * @example On every click, emit array of most recent interval events + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var interval = Rx.Observable.interval(1000); + * var buffered = interval.buffer(clicks); + * buffered.subscribe(x => console.log(x)); + * + * @see {@link bufferCount} + * @see {@link bufferTime} + * @see {@link bufferToggle} + * @see {@link bufferWhen} + * @see {@link window} + * + * @param {Observable} closingNotifier An Observable that signals the + * buffer to be emitted on the output Observable. + * @return {Observable} An Observable of buffers, which are arrays of + * values. + * @method buffer + * @owner Observable + */ +export function buffer(closingNotifier) { + return function bufferOperatorFunction(source) { + return source.lift(new BufferOperator(closingNotifier)); + }; +} +class BufferOperator { + constructor(closingNotifier) { + this.closingNotifier = closingNotifier; + } + call(subscriber, source) { + return source.subscribe(new BufferSubscriber(subscriber, this.closingNotifier)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class BufferSubscriber extends OuterSubscriber { + constructor(destination, closingNotifier) { + super(destination); + this.buffer = []; + this.add(subscribeToResult(this, closingNotifier)); + } + _next(value) { + this.buffer.push(value); + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + const buffer = this.buffer; + this.buffer = []; + this.destination.next(buffer); + } +} +//# sourceMappingURL=buffer.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/buffer.js.map b/node_modules/rxjs/_esm2015/operators/buffer.js.map new file mode 100644 index 00000000..e3d47615 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/buffer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"buffer.js","sourceRoot":"","sources":["../../src/operators/buffer.ts"],"names":[],"mappings":"OAGO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAG7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,uBAA0B,eAAgC;IACxD,MAAM,CAAC,gCAAgC,MAAqB;QAC1D,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,cAAc,CAAI,eAAe,CAAC,CAAC,CAAC;IAC7D,CAAC,CAAC;AACJ,CAAC;AAED;IAEE,YAAoB,eAAgC;QAAhC,oBAAe,GAAf,eAAe,CAAiB;IACpD,CAAC;IAED,IAAI,CAAC,UAA2B,EAAE,MAAW;QAC3C,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClF,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,+BAAkC,eAAe;IAG/C,YAAY,WAA4B,EAAE,eAAgC;QACxE,MAAM,WAAW,CAAC,CAAC;QAHb,WAAM,GAAQ,EAAE,CAAC;QAIvB,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC;IACrD,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1B,CAAC;IAED,UAAU,CAAC,UAAa,EAAE,UAAe,EAC9B,UAAkB,EAAE,UAAkB,EACtC,QAAiC;QAC1C,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QACjB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/bufferCount.js b/node_modules/rxjs/_esm2015/operators/bufferCount.js new file mode 100644 index 00000000..3d7f1784 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/bufferCount.js @@ -0,0 +1,129 @@ +import { Subscriber } from '../Subscriber'; +/** + * Buffers the source Observable values until the size hits the maximum + * `bufferSize` given. + * + * Collects values from the past as an array, and emits + * that array only when its size reaches `bufferSize`. + * + * + * + * Buffers a number of values from the source Observable by `bufferSize` then + * emits the buffer and clears it, and starts a new buffer each + * `startBufferEvery` values. If `startBufferEvery` is not provided or is + * `null`, then new buffers are started immediately at the start of the source + * and when each buffer closes and is emitted. + * + * @example Emit the last two click events as an array + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var buffered = clicks.bufferCount(2); + * buffered.subscribe(x => console.log(x)); + * + * @example On every click, emit the last two click events as an array + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var buffered = clicks.bufferCount(2, 1); + * buffered.subscribe(x => console.log(x)); + * + * @see {@link buffer} + * @see {@link bufferTime} + * @see {@link bufferToggle} + * @see {@link bufferWhen} + * @see {@link pairwise} + * @see {@link windowCount} + * + * @param {number} bufferSize The maximum size of the buffer emitted. + * @param {number} [startBufferEvery] Interval at which to start a new buffer. + * For example if `startBufferEvery` is `2`, then a new buffer will be started + * on every other value from the source. A new buffer is started at the + * beginning of the source by default. + * @return {Observable} An Observable of arrays of buffered values. + * @method bufferCount + * @owner Observable + */ +export function bufferCount(bufferSize, startBufferEvery = null) { + return function bufferCountOperatorFunction(source) { + return source.lift(new BufferCountOperator(bufferSize, startBufferEvery)); + }; +} +class BufferCountOperator { + constructor(bufferSize, startBufferEvery) { + this.bufferSize = bufferSize; + this.startBufferEvery = startBufferEvery; + if (!startBufferEvery || bufferSize === startBufferEvery) { + this.subscriberClass = BufferCountSubscriber; + } + else { + this.subscriberClass = BufferSkipCountSubscriber; + } + } + call(subscriber, source) { + return source.subscribe(new this.subscriberClass(subscriber, this.bufferSize, this.startBufferEvery)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class BufferCountSubscriber extends Subscriber { + constructor(destination, bufferSize) { + super(destination); + this.bufferSize = bufferSize; + this.buffer = []; + } + _next(value) { + const buffer = this.buffer; + buffer.push(value); + if (buffer.length == this.bufferSize) { + this.destination.next(buffer); + this.buffer = []; + } + } + _complete() { + const buffer = this.buffer; + if (buffer.length > 0) { + this.destination.next(buffer); + } + super._complete(); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class BufferSkipCountSubscriber extends Subscriber { + constructor(destination, bufferSize, startBufferEvery) { + super(destination); + this.bufferSize = bufferSize; + this.startBufferEvery = startBufferEvery; + this.buffers = []; + this.count = 0; + } + _next(value) { + const { bufferSize, startBufferEvery, buffers, count } = this; + this.count++; + if (count % startBufferEvery === 0) { + buffers.push([]); + } + for (let i = buffers.length; i--;) { + const buffer = buffers[i]; + buffer.push(value); + if (buffer.length === bufferSize) { + buffers.splice(i, 1); + this.destination.next(buffer); + } + } + } + _complete() { + const { buffers, destination } = this; + while (buffers.length > 0) { + let buffer = buffers.shift(); + if (buffer.length > 0) { + destination.next(buffer); + } + } + super._complete(); + } +} +//# sourceMappingURL=bufferCount.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/bufferCount.js.map b/node_modules/rxjs/_esm2015/operators/bufferCount.js.map new file mode 100644 index 00000000..6490ba20 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/bufferCount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bufferCount.js","sourceRoot":"","sources":["../../src/operators/bufferCount.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAK1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,4BAA+B,UAAkB,EAAE,gBAAgB,GAAW,IAAI;IAChF,MAAM,CAAC,qCAAqC,MAAqB;QAC/D,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,m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G,CAAC,EAAE,CAAC;YAC1B,IAAI,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC;YAC7B,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;gBACtB,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAC3B,CAAC;QACH,CAAC;QACD,KAAK,CAAC,SAAS,EAAE,CAAC;IACpB,CAAC;AAEH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/bufferTime.js b/node_modules/rxjs/_esm2015/operators/bufferTime.js new file mode 100644 index 00000000..5e605a24 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/bufferTime.js @@ -0,0 +1,190 @@ +import { async } from '../scheduler/async'; +import { Subscriber } from '../Subscriber'; +import { isScheduler } from '../util/isScheduler'; +/* tslint:enable:max-line-length */ +/** + * Buffers the source Observable values for a specific time period. + * + * Collects values from the past as an array, and emits + * those arrays periodically in time. + * + * + * + * Buffers values from the source for a specific time duration `bufferTimeSpan`. + * Unless the optional argument `bufferCreationInterval` is given, it emits and + * resets the buffer every `bufferTimeSpan` milliseconds. If + * `bufferCreationInterval` is given, this operator opens the buffer every + * `bufferCreationInterval` milliseconds and closes (emits and resets) the + * buffer every `bufferTimeSpan` milliseconds. When the optional argument + * `maxBufferSize` is specified, the buffer will be closed either after + * `bufferTimeSpan` milliseconds or when it contains `maxBufferSize` elements. + * + * @example Every second, emit an array of the recent click events + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var buffered = clicks.bufferTime(1000); + * buffered.subscribe(x => console.log(x)); + * + * @example Every 5 seconds, emit the click events from the next 2 seconds + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var buffered = clicks.bufferTime(2000, 5000); + * buffered.subscribe(x => console.log(x)); + * + * @see {@link buffer} + * @see {@link bufferCount} + * @see {@link bufferToggle} + * @see {@link bufferWhen} + * @see {@link windowTime} + * + * @param {number} bufferTimeSpan The amount of time to fill each buffer array. + * @param {number} [bufferCreationInterval] The interval at which to start new + * buffers. + * @param {number} [maxBufferSize] The maximum buffer size. + * @param {Scheduler} [scheduler=async] The scheduler on which to schedule the + * intervals that determine buffer boundaries. + * @return {Observable} An observable of arrays of buffered values. + * @method bufferTime + * @owner Observable + */ +export function bufferTime(bufferTimeSpan) { + let length = arguments.length; + let scheduler = async; + if (isScheduler(arguments[arguments.length - 1])) { + scheduler = arguments[arguments.length - 1]; + length--; + } + let bufferCreationInterval = null; + if (length >= 2) { + bufferCreationInterval = arguments[1]; + } + let maxBufferSize = Number.POSITIVE_INFINITY; + if (length >= 3) { + maxBufferSize = arguments[2]; + } + return function bufferTimeOperatorFunction(source) { + return source.lift(new BufferTimeOperator(bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler)); + }; +} +class BufferTimeOperator { + constructor(bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler) { + this.bufferTimeSpan = bufferTimeSpan; + this.bufferCreationInterval = bufferCreationInterval; + this.maxBufferSize = maxBufferSize; + this.scheduler = scheduler; + } + call(subscriber, source) { + return source.subscribe(new BufferTimeSubscriber(subscriber, this.bufferTimeSpan, this.bufferCreationInterval, this.maxBufferSize, this.scheduler)); + } +} +class Context { + constructor() { + this.buffer = []; + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class BufferTimeSubscriber extends Subscriber { + constructor(destination, bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler) { + super(destination); + this.bufferTimeSpan = bufferTimeSpan; + this.bufferCreationInterval = bufferCreationInterval; + this.maxBufferSize = maxBufferSize; + this.scheduler = scheduler; + this.contexts = []; + const context = this.openContext(); + this.timespanOnly = bufferCreationInterval == null || bufferCreationInterval < 0; + if (this.timespanOnly) { + const timeSpanOnlyState = { subscriber: this, context, bufferTimeSpan }; + this.add(context.closeAction = scheduler.schedule(dispatchBufferTimeSpanOnly, bufferTimeSpan, timeSpanOnlyState)); + } + else { + const closeState = { subscriber: this, context }; + const creationState = { bufferTimeSpan, bufferCreationInterval, subscriber: this, scheduler }; + this.add(context.closeAction = scheduler.schedule(dispatchBufferClose, bufferTimeSpan, closeState)); + this.add(scheduler.schedule(dispatchBufferCreation, bufferCreationInterval, creationState)); + } + } + _next(value) { + const contexts = this.contexts; + const len = contexts.length; + let filledBufferContext; + for (let i = 0; i < len; i++) { + const context = contexts[i]; + const buffer = context.buffer; + buffer.push(value); + if (buffer.length == this.maxBufferSize) { + filledBufferContext = context; + } + } + if (filledBufferContext) { + this.onBufferFull(filledBufferContext); + } + } + _error(err) { + this.contexts.length = 0; + super._error(err); + } + _complete() { + const { contexts, destination } = this; + while (contexts.length > 0) { + const context = contexts.shift(); + destination.next(context.buffer); + } + super._complete(); + } + _unsubscribe() { + this.contexts = null; + } + onBufferFull(context) { + this.closeContext(context); + const closeAction = context.closeAction; + closeAction.unsubscribe(); + this.remove(closeAction); + if (!this.closed && this.timespanOnly) { + context = this.openContext(); + const bufferTimeSpan = this.bufferTimeSpan; + const timeSpanOnlyState = { subscriber: this, context, bufferTimeSpan }; + this.add(context.closeAction = this.scheduler.schedule(dispatchBufferTimeSpanOnly, bufferTimeSpan, timeSpanOnlyState)); + } + } + openContext() { + const context = new Context(); + this.contexts.push(context); + return context; + } + closeContext(context) { + this.destination.next(context.buffer); + const contexts = this.contexts; + const spliceIndex = contexts ? contexts.indexOf(context) : -1; + if (spliceIndex >= 0) { + contexts.splice(contexts.indexOf(context), 1); + } + } +} +function dispatchBufferTimeSpanOnly(state) { + const subscriber = state.subscriber; + const prevContext = state.context; + if (prevContext) { + subscriber.closeContext(prevContext); + } + if (!subscriber.closed) { + state.context = subscriber.openContext(); + state.context.closeAction = this.schedule(state, state.bufferTimeSpan); + } +} +function dispatchBufferCreation(state) { + const { bufferCreationInterval, bufferTimeSpan, subscriber, scheduler } = state; + const context = subscriber.openContext(); + const action = this; + if (!subscriber.closed) { + subscriber.add(context.closeAction = scheduler.schedule(dispatchBufferClose, bufferTimeSpan, { subscriber, context })); + action.schedule(state, bufferCreationInterval); + } +} +function dispatchBufferClose(arg) { + const { subscriber, context } = arg; + subscriber.closeContext(context); +} +//# sourceMappingURL=bufferTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/bufferTime.js.map b/node_modules/rxjs/_esm2015/operators/bufferTime.js.map new file mode 100644 index 00000000..48c81907 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/bufferTime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bufferTime.js","sourceRoot":"","sources":["../../src/operators/bufferTime.ts"],"names":[],"mappings":"OAGO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAEnC,EAAE,UAAU,EAAE,MAAM,eAAe;OAEnC,EAAE,WAAW,EAAE,MAAM,qBAAqB;AAOjD,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,2BAA8B,cAAsB;IAClD,IAAI,MAAM,GAAW,SAAS,CAAC,MAAM,CAAC;IAEtC,IAAI,SAAS,GAAe,KAAK,CAAC;IAClC,EAAE,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACjD,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAC5C,MAAM,EAAE,CAAC;IACX,CAAC;IAED,IAAI,sBAAsB,GAAW,IAAI,CAAC;IAC1C,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC;QAChB,sBAAsB,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IACxC,CAAC;IAED,IAAI,aAAa,GAAW,MAAM,CAAC,iBAAiB,CAAC;IACrD,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC;QAChB,aAAa,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IAC/B,CAAC;IAED,MAAM,CAA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,OAAO,GAAG,UAAU,CAAC,WAAW,EAAE,CAAC;IACzC,MAAM,MAAM,GAA6B,IAAI,CAAC;IAC9C,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;QACvB,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,QAAQ,CAAiB,mBAAmB,EAAE,cAAc,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC;QACvI,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,sBAAsB,CAAC,CAAC;IACjD,CAAC;AACH,CAAC;AAED,6BAAgC,GAAmB;IACjD,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,GAAG,CAAC;IACpC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;AACnC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/bufferToggle.js b/node_modules/rxjs/_esm2015/operators/bufferToggle.js new file mode 100644 index 00000000..54a4165c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/bufferToggle.js @@ -0,0 +1,144 @@ +import { Subscription } from '../Subscription'; +import { subscribeToResult } from '../util/subscribeToResult'; +import { OuterSubscriber } from '../OuterSubscriber'; +/** + * Buffers the source Observable values starting from an emission from + * `openings` and ending when the output of `closingSelector` emits. + * + * Collects values from the past as an array. Starts + * collecting only when `opening` emits, and calls the `closingSelector` + * function to get an Observable that tells when to close the buffer. + * + * + * + * Buffers values from the source by opening the buffer via signals from an + * Observable provided to `openings`, and closing and sending the buffers when + * a Subscribable or Promise returned by the `closingSelector` function emits. + * + * @example Every other second, emit the click events from the next 500ms + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var openings = Rx.Observable.interval(1000); + * var buffered = clicks.bufferToggle(openings, i => + * i % 2 ? Rx.Observable.interval(500) : Rx.Observable.empty() + * ); + * buffered.subscribe(x => console.log(x)); + * + * @see {@link buffer} + * @see {@link bufferCount} + * @see {@link bufferTime} + * @see {@link bufferWhen} + * @see {@link windowToggle} + * + * @param {SubscribableOrPromise} openings A Subscribable or Promise of notifications to start new + * buffers. + * @param {function(value: O): SubscribableOrPromise} closingSelector A function that takes + * the value emitted by the `openings` observable and returns a Subscribable or Promise, + * which, when it emits, signals that the associated buffer should be emitted + * and cleared. + * @return {Observable} An observable of arrays of buffered values. + * @method bufferToggle + * @owner Observable + */ +export function bufferToggle(openings, closingSelector) { + return function bufferToggleOperatorFunction(source) { + return source.lift(new BufferToggleOperator(openings, closingSelector)); + }; +} +class BufferToggleOperator { + constructor(openings, closingSelector) { + this.openings = openings; + this.closingSelector = closingSelector; + } + call(subscriber, source) { + return source.subscribe(new BufferToggleSubscriber(subscriber, this.openings, this.closingSelector)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class BufferToggleSubscriber extends OuterSubscriber { + constructor(destination, openings, closingSelector) { + super(destination); + this.openings = openings; + this.closingSelector = closingSelector; + this.contexts = []; + this.add(subscribeToResult(this, openings)); + } + _next(value) { + const contexts = this.contexts; + const len = contexts.length; + for (let i = 0; i < len; i++) { + contexts[i].buffer.push(value); + } + } + _error(err) { + const contexts = this.contexts; + while (contexts.length > 0) { + const context = contexts.shift(); + context.subscription.unsubscribe(); + context.buffer = null; + context.subscription = null; + } + this.contexts = null; + super._error(err); + } + _complete() { + const contexts = this.contexts; + while (contexts.length > 0) { + const context = contexts.shift(); + this.destination.next(context.buffer); + context.subscription.unsubscribe(); + context.buffer = null; + context.subscription = null; + } + this.contexts = null; + super._complete(); + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + outerValue ? this.closeBuffer(outerValue) : this.openBuffer(innerValue); + } + notifyComplete(innerSub) { + this.closeBuffer(innerSub.context); + } + openBuffer(value) { + try { + const closingSelector = this.closingSelector; + const closingNotifier = closingSelector.call(this, value); + if (closingNotifier) { + this.trySubscribe(closingNotifier); + } + } + catch (err) { + this._error(err); + } + } + closeBuffer(context) { + const contexts = this.contexts; + if (contexts && context) { + const { buffer, subscription } = context; + this.destination.next(buffer); + contexts.splice(contexts.indexOf(context), 1); + this.remove(subscription); + subscription.unsubscribe(); + } + } + trySubscribe(closingNotifier) { + const contexts = this.contexts; + const buffer = []; + const subscription = new Subscription(); + const context = { buffer, subscription }; + contexts.push(context); + const innerSubscription = subscribeToResult(this, closingNotifier, context); + if (!innerSubscription || innerSubscription.closed) { + this.closeBuffer(context); + } + else { + innerSubscription.context = context; + this.add(innerSubscription); + subscription.add(innerSubscription); + } + } +} +//# sourceMappingURL=bufferToggle.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/bufferToggle.js.map b/node_modules/rxjs/_esm2015/operators/bufferToggle.js.map new file mode 100644 index 00000000..3ffd53d8 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/bufferToggle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bufferToggle.js","sourceRoot":"","sources":["../../src/operators/bufferToggle.ts"],"names":[],"mappings":"OAGO,EAAE,YAAY,EAAE,MAAM,iBAAiB;OACvC,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;OACtD,EAAE,eAAe,EAAE,MAAM,oBAAoB;AAIpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,6BACE,QAAkC,EAClC,eAAyD;IAEzD,MAAM,CAAC,sCAAsC,MAAqB;QAChE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,oBAAoB,CAAO,QAAQ,EAAE,eAAe,CAAC,CAAC,CAAC;IAChF,CAAC,CAAC;AACJ,CAAC;AAED;IAEE,YAAoB,QAAkC,EAClC,eAAyD;QADzD,aAAQ,GAAR,QAAQ,CAA0B;QAClC,oBAAe,GAAf,eAAe,CAA0C;IAC7E,CAAC;IAED,IAAI,CAAC,UAA2B,EAAE,MAAW;QAC3C,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,sBAAsB,CAAC,UAAU,EAAE,IAA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AC,CAAC,CAAC;YACxB,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC;YACzC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAC9B,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC;YAC9C,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;YAC1B,YAAY,CAAC,WAAW,EAAE,CAAC;QAC7B,CAAC;IACH,CAAC;IAEO,YAAY,CAAC,eAAoB;QACvC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QAE/B,MAAM,MAAM,GAAa,EAAE,CAAC;QAC5B,MAAM,YAAY,GAAG,IAAI,YAAY,EAAE,CAAC;QACxC,MAAM,OAAO,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC;QACzC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAEvB,MAAM,iBAAiB,GAAG,iBAAiB,CAAC,IAAI,EAAE,eAAe,EAAO,OAAO,CAAC,CAAC;QAEjF,EAAE,CAAC,CAAC,CAAC,iBAAiB,IAAI,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC;YACnD,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;QAC5B,CAAC;QAAC,IAAI,CAAC,CAAC;YACC,iBAAkB,CAAC,OAAO,GAAG,OAAO,CAAC;YAE5C,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;YAC5B,YAAY,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QACtC,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/bufferWhen.js b/node_modules/rxjs/_esm2015/operators/bufferWhen.js new file mode 100644 index 00000000..fa59e73a --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/bufferWhen.js @@ -0,0 +1,114 @@ +import { Subscription } from '../Subscription'; +import { tryCatch } from '../util/tryCatch'; +import { errorObject } from '../util/errorObject'; +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/** + * Buffers the source Observable values, using a factory function of closing + * Observables to determine when to close, emit, and reset the buffer. + * + * Collects values from the past as an array. When it + * starts collecting values, it calls a function that returns an Observable that + * tells when to close the buffer and restart collecting. + * + * + * + * Opens a buffer immediately, then closes the buffer when the observable + * returned by calling `closingSelector` function emits a value. When it closes + * the buffer, it immediately opens a new buffer and repeats the process. + * + * @example Emit an array of the last clicks every [1-5] random seconds + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var buffered = clicks.bufferWhen(() => + * Rx.Observable.interval(1000 + Math.random() * 4000) + * ); + * buffered.subscribe(x => console.log(x)); + * + * @see {@link buffer} + * @see {@link bufferCount} + * @see {@link bufferTime} + * @see {@link bufferToggle} + * @see {@link windowWhen} + * + * @param {function(): Observable} closingSelector A function that takes no + * arguments and returns an Observable that signals buffer closure. + * @return {Observable} An observable of arrays of buffered values. + * @method bufferWhen + * @owner Observable + */ +export function bufferWhen(closingSelector) { + return function (source) { + return source.lift(new BufferWhenOperator(closingSelector)); + }; +} +class BufferWhenOperator { + constructor(closingSelector) { + this.closingSelector = closingSelector; + } + call(subscriber, source) { + return source.subscribe(new BufferWhenSubscriber(subscriber, this.closingSelector)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class BufferWhenSubscriber extends OuterSubscriber { + constructor(destination, closingSelector) { + super(destination); + this.closingSelector = closingSelector; + this.subscribing = false; + this.openBuffer(); + } + _next(value) { + this.buffer.push(value); + } + _complete() { + const buffer = this.buffer; + if (buffer) { + this.destination.next(buffer); + } + super._complete(); + } + _unsubscribe() { + this.buffer = null; + this.subscribing = false; + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + this.openBuffer(); + } + notifyComplete() { + if (this.subscribing) { + this.complete(); + } + else { + this.openBuffer(); + } + } + openBuffer() { + let { closingSubscription } = this; + if (closingSubscription) { + this.remove(closingSubscription); + closingSubscription.unsubscribe(); + } + const buffer = this.buffer; + if (this.buffer) { + this.destination.next(buffer); + } + this.buffer = []; + const closingNotifier = tryCatch(this.closingSelector)(); + if (closingNotifier === errorObject) { + this.error(errorObject.e); + } + else { + closingSubscription = new Subscription(); + this.closingSubscription = closingSubscription; + this.add(closingSubscription); + this.subscribing = true; + closingSubscription.add(subscribeToResult(this, closingNotifier)); + this.subscribing = false; + } + } +} +//# sourceMappingURL=bufferWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/bufferWhen.js.map b/node_modules/rxjs/_esm2015/operators/bufferWhen.js.map new file mode 100644 index 00000000..89e4e586 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/bufferWhen.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bufferWhen.js","sourceRoot":"","sources":["../../src/operators/bufferWhen.ts"],"names":[],"mappings":"OAGO,EAAE,YAAY,EAAE,MAAM,iBAAiB;OACvC,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAG7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,2BAA8B,eAAsC;IAClE,MAAM,CAAC,UAAU,MAAqB;QACpC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,kBAAkB,CAAC,eAAe,CAAC,CAAC,CAAC;IAC9D,CAAC,CAAC;AACJ,CAAC;AAED;IAEE,YAAoB,eAAsC;QAAtC,oBAAe,GAAf,eAAe,CAAuB;IAC1D,CAAC;IAED,IAAI,CAAC,UAA2B,EAAE,MAAW;QAC3C,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,oBAAoB,CAAC,UAAU,EAAE,IAAI,CAAC,eAA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,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YAChB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAChC,CAAC;QAED,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QAEjB,MAAM,eAAe,GAAG,QAAQ,CAAC,IAAI,CAAC,eAAe,CAAC,EAAE,CAAC;QAEzD,EAAE,CAAC,CAAC,eAAe,KAAK,WAAW,CAAC,CAAC,CAAC;YACpC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;QAC5B,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,mBAAmB,GAAG,IAAI,YAAY,EAAE,CAAC;YACzC,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;YAC/C,IAAI,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;YAC9B,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;YACxB,mBAAmB,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC;YAClE,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC3B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/catchError.js b/node_modules/rxjs/_esm2015/operators/catchError.js new file mode 100644 index 00000000..7a32d7ea --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/catchError.js @@ -0,0 +1,106 @@ +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/** + * Catches errors on the observable to be handled by returning a new observable or throwing an error. + * + * + * + * @example Continues with a different Observable when there's an error + * + * Observable.of(1, 2, 3, 4, 5) + * .map(n => { + * if (n == 4) { + * throw 'four!'; + * } + * return n; + * }) + * .catch(err => Observable.of('I', 'II', 'III', 'IV', 'V')) + * .subscribe(x => console.log(x)); + * // 1, 2, 3, I, II, III, IV, V + * + * @example Retries the caught source Observable again in case of error, similar to retry() operator + * + * Observable.of(1, 2, 3, 4, 5) + * .map(n => { + * if (n === 4) { + * throw 'four!'; + * } + * return n; + * }) + * .catch((err, caught) => caught) + * .take(30) + * .subscribe(x => console.log(x)); + * // 1, 2, 3, 1, 2, 3, ... + * + * @example Throws a new error when the source Observable throws an error + * + * Observable.of(1, 2, 3, 4, 5) + * .map(n => { + * if (n == 4) { + * throw 'four!'; + * } + * return n; + * }) + * .catch(err => { + * throw 'error in source. Details: ' + err; + * }) + * .subscribe( + * x => console.log(x), + * err => console.log(err) + * ); + * // 1, 2, 3, error in source. Details: four! + * + * @param {function} selector a function that takes as arguments `err`, which is the error, and `caught`, which + * is the source observable, in case you'd like to "retry" that observable by returning it again. Whatever observable + * is returned by the `selector` will be used to continue the observable chain. + * @return {Observable} An observable that originates from either the source or the observable returned by the + * catch `selector` function. + * @name catchError + */ +export function catchError(selector) { + return function catchErrorOperatorFunction(source) { + const operator = new CatchOperator(selector); + const caught = source.lift(operator); + return (operator.caught = caught); + }; +} +class CatchOperator { + constructor(selector) { + this.selector = selector; + } + call(subscriber, source) { + return source.subscribe(new CatchSubscriber(subscriber, this.selector, this.caught)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class CatchSubscriber extends OuterSubscriber { + constructor(destination, selector, caught) { + super(destination); + this.selector = selector; + this.caught = caught; + } + // NOTE: overriding `error` instead of `_error` because we don't want + // to have this flag this subscriber as `isStopped`. We can mimic the + // behavior of the RetrySubscriber (from the `retry` operator), where + // we unsubscribe from our source chain, reset our Subscriber flags, + // then subscribe to the selector result. + error(err) { + if (!this.isStopped) { + let result; + try { + result = this.selector(err, this.caught); + } + catch (err2) { + super.error(err2); + return; + } + this._unsubscribeAndRecycle(); + this.add(subscribeToResult(this, result)); + } + } +} +//# sourceMappingURL=catchError.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/catchError.js.map b/node_modules/rxjs/_esm2015/operators/catchError.js.map new file mode 100644 index 00000000..dbf7fcb2 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/catchError.js.map @@ -0,0 +1 @@ +{"version":3,"file":"catchError.js","sourceRoot":"","sources":["../../src/operators/catchError.ts"],"names":[],"mappings":"OAIO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAC7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAG7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,2BAAiC,QAAiE;IAChG,MAAM,CAAC,oCAAoC,MAAqB;QAC9D,MAAM,QAAQ,GAAG,IAAI,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC7C,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACrC,MAAM,CAAC,CAAC,QAAQ,CAAC,MAAM,GAAG,MAAuB,CAAC,CAAC;IACrD,CAAC,CAAC;AACJ,CAAC;AAED;IAGE,YAAoB,QAAqE;QAArE,aAAQ,GAAR,QAAQ,CAA6D;IACzF,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,eAAe,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IACvF,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,8BAAoC,eAAe;IACjD,YAAY,WAA4B,EACpB,QAAqE,EACrE,MAAqB;QACvC,MAAM,WAAW,CAAC,CAAC;QAFD,aAAQ,GAAR,QAAQ,CAA6D;QACrE,WAAM,GAAN,MAAM,CAAe;IAEzC,CAAC;IAED,qEAAqE;IACrE,qEAAqE;IACrE,qEAAqE;IACrE,oEAAoE;IACpE,yCAAyC;IACzC,KAAK,CAAC,GAAQ;QACZ,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;YACpB,IAAI,MAAW,CAAC;YAChB,IAAI,CAAC;gBACH,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;YAC3C,CAAE;YAAA,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;gBACd,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;gBAClB,MAAM,CAAC;YACT,CAAC;YACD,IAAI,CAAC,sBAAsB,EAAE,CAAC;YAC9B,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;QAC5C,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/combineAll.js b/node_modules/rxjs/_esm2015/operators/combineAll.js new file mode 100644 index 00000000..aa581e7c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/combineAll.js @@ -0,0 +1,5 @@ +import { CombineLatestOperator } from '../operators/combineLatest'; +export function combineAll(project) { + return (source) => source.lift(new CombineLatestOperator(project)); +} +//# sourceMappingURL=combineAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/combineAll.js.map b/node_modules/rxjs/_esm2015/operators/combineAll.js.map new file mode 100644 index 00000000..60a319f5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/combineAll.js.map @@ -0,0 +1 @@ +{"version":3,"file":"combineAll.js","sourceRoot":"","sources":["../../src/operators/combineAll.ts"],"names":[],"mappings":"OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B;AAIlE,2BAAiC,OAAsC;IACrE,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,qBAAqB,CAAC,OAAO,CAAC,CAAC,CAAC;AACpF,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/combineLatest.js b/node_modules/rxjs/_esm2015/operators/combineLatest.js new file mode 100644 index 00000000..a5b8d004 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/combineLatest.js @@ -0,0 +1,135 @@ +import { ArrayObservable } from '../observable/ArrayObservable'; +import { isArray } from '../util/isArray'; +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +const none = {}; +/* tslint:enable:max-line-length */ +/** + * Combines multiple Observables to create an Observable whose values are + * calculated from the latest values of each of its input Observables. + * + * Whenever any input Observable emits a value, it + * computes a formula using the latest values from all the inputs, then emits + * the output of that formula. + * + * + * + * `combineLatest` combines the values from this Observable with values from + * Observables passed as arguments. This is done by subscribing to each + * Observable, in order, and collecting an array of each of the most recent + * values any time any of the input Observables emits, then either taking that + * array and passing it as arguments to an optional `project` function and + * emitting the return value of that, or just emitting the array of recent + * values directly if there is no `project` function. + * + * @example Dynamically calculate the Body-Mass Index from an Observable of weight and one for height + * var weight = Rx.Observable.of(70, 72, 76, 79, 75); + * var height = Rx.Observable.of(1.76, 1.77, 1.78); + * var bmi = weight.combineLatest(height, (w, h) => w / (h * h)); + * bmi.subscribe(x => console.log('BMI is ' + x)); + * + * // With output to console: + * // BMI is 24.212293388429753 + * // BMI is 23.93948099205209 + * // BMI is 23.671253629592222 + * + * @see {@link combineAll} + * @see {@link merge} + * @see {@link withLatestFrom} + * + * @param {ObservableInput} other An input Observable to combine with the source + * Observable. More than one input Observables may be given as argument. + * @param {function} [project] An optional function to project the values from + * the combined latest values into a new value on the output Observable. + * @return {Observable} An Observable of projected values from the most recent + * values from each input Observable, or an array of the most recent values from + * each input Observable. + * @method combineLatest + * @owner Observable + */ +export function combineLatest(...observables) { + let project = null; + if (typeof observables[observables.length - 1] === 'function') { + project = observables.pop(); + } + // if the first and only other argument besides the resultSelector is an array + // assume it's been called with `combineLatest([obs1, obs2, obs3], project)` + if (observables.length === 1 && isArray(observables[0])) { + observables = observables[0].slice(); + } + return (source) => source.lift.call(new ArrayObservable([source, ...observables]), new CombineLatestOperator(project)); +} +export class CombineLatestOperator { + constructor(project) { + this.project = project; + } + call(subscriber, source) { + return source.subscribe(new CombineLatestSubscriber(subscriber, this.project)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class CombineLatestSubscriber extends OuterSubscriber { + constructor(destination, project) { + super(destination); + this.project = project; + this.active = 0; + this.values = []; + this.observables = []; + } + _next(observable) { + this.values.push(none); + this.observables.push(observable); + } + _complete() { + const observables = this.observables; + const len = observables.length; + if (len === 0) { + this.destination.complete(); + } + else { + this.active = len; + this.toRespond = len; + for (let i = 0; i < len; i++) { + const observable = observables[i]; + this.add(subscribeToResult(this, observable, observable, i)); + } + } + } + notifyComplete(unused) { + if ((this.active -= 1) === 0) { + this.destination.complete(); + } + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + const values = this.values; + const oldVal = values[outerIndex]; + const toRespond = !this.toRespond + ? 0 + : oldVal === none ? --this.toRespond : this.toRespond; + values[outerIndex] = innerValue; + if (toRespond === 0) { + if (this.project) { + this._tryProject(values); + } + else { + this.destination.next(values.slice()); + } + } + } + _tryProject(values) { + let result; + try { + result = this.project.apply(this, values); + } + catch (err) { + this.destination.error(err); + return; + } + this.destination.next(result); + } +} +//# sourceMappingURL=combineLatest.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/combineLatest.js.map b/node_modules/rxjs/_esm2015/operators/combineLatest.js.map new file mode 100644 index 00000000..a36d2a18 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/combineLatest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"combineLatest.js","sourceRoot":"","sources":["../../src/operators/combineLatest.ts"],"names":[],"mappings":"OACO,EAAE,eAAe,EAAE,MAAM,+BAA+B;OACxD,EAAE,OAAO,EAAE,MAAM,iBAAiB;OAGlC,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAG7D,MAAM,IAAI,GAAG,EA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,KAAK,IAAI,GAAG,EAAE,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QACxD,MAAM,CAAC,UAAU,CAAC,GAAG,UAAU,CAAC;QAEhC,EAAE,CAAC,CAAC,SAAS,KAAK,CAAC,CAAC,CAAC,CAAC;YACpB,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;gBACjB,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;YAC3B,CAAC;YAAC,IAAI,CAAC,CAAC;gBACN,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;YACxC,CAAC;QACH,CAAC;IACH,CAAC;IAEO,WAAW,CAAC,MAAa;QAC/B,IAAI,MAAW,CAAC;QAChB,IAAI,CAAC;YACH,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC5C,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,MAAM,CAAC;QACT,CAAC;QACD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/concat.js b/node_modules/rxjs/_esm2015/operators/concat.js new file mode 100644 index 00000000..5784eb6e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/concat.js @@ -0,0 +1,56 @@ +import { concat as concatStatic } from '../observable/concat'; +export { concat as concatStatic } from '../observable/concat'; +/* tslint:enable:max-line-length */ +/** + * Creates an output Observable which sequentially emits all values from every + * given input Observable after the current Observable. + * + * Concatenates multiple Observables together by + * sequentially emitting their values, one Observable after the other. + * + * + * + * Joins this Observable with multiple other Observables by subscribing to them + * one at a time, starting with the source, and merging their results into the + * output Observable. Will wait for each Observable to complete before moving + * on to the next. + * + * @example Concatenate a timer counting from 0 to 3 with a synchronous sequence from 1 to 10 + * var timer = Rx.Observable.interval(1000).take(4); + * var sequence = Rx.Observable.range(1, 10); + * var result = timer.concat(sequence); + * result.subscribe(x => console.log(x)); + * + * // results in: + * // 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 -immediate-> 1 ... 10 + * + * @example Concatenate 3 Observables + * var timer1 = Rx.Observable.interval(1000).take(10); + * var timer2 = Rx.Observable.interval(2000).take(6); + * var timer3 = Rx.Observable.interval(500).take(10); + * var result = timer1.concat(timer2, timer3); + * result.subscribe(x => console.log(x)); + * + * // results in the following: + * // (Prints to console sequentially) + * // -1000ms-> 0 -1000ms-> 1 -1000ms-> ... 9 + * // -2000ms-> 0 -2000ms-> 1 -2000ms-> ... 5 + * // -500ms-> 0 -500ms-> 1 -500ms-> ... 9 + * + * @see {@link concatAll} + * @see {@link concatMap} + * @see {@link concatMapTo} + * + * @param {ObservableInput} other An input Observable to concatenate after the source + * Observable. More than one input Observables may be given as argument. + * @param {Scheduler} [scheduler=null] An optional IScheduler to schedule each + * Observable subscription on. + * @return {Observable} All values of each passed Observable merged into a + * single Observable, in order, in serial fashion. + * @method concat + * @owner Observable + */ +export function concat(...observables) { + return (source) => source.lift.call(concatStatic(source, ...observables)); +} +//# sourceMappingURL=concat.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/concat.js.map b/node_modules/rxjs/_esm2015/operators/concat.js.map new file mode 100644 index 00000000..043a4e9f --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/concat.js.map @@ -0,0 +1 @@ +{"version":3,"file":"concat.js","sourceRoot":"","sources":["../../src/operators/concat.ts"],"names":[],"mappings":"OAGO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,sBAAsB;AAE7D,SAAS,MAAM,IAAI,YAAY,QAAQ,sBAAsB,CAAC;AAW9D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,uBAA6B,GAAG,WAAqD;IACnF,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAO,MAAM,EAAE,GAAG,WAAW,CAAC,CAAC,CAAC;AACjG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/concatAll.js b/node_modules/rxjs/_esm2015/operators/concatAll.js new file mode 100644 index 00000000..07ace5b0 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/concatAll.js @@ -0,0 +1,53 @@ +import { mergeAll } from './mergeAll'; +/** + * Converts a higher-order Observable into a first-order Observable by + * concatenating the inner Observables in order. + * + * Flattens an Observable-of-Observables by putting one + * inner Observable after the other. + * + * + * + * Joins every Observable emitted by the source (a higher-order Observable), in + * a serial fashion. It subscribes to each inner Observable only after the + * previous inner Observable has completed, and merges all of their values into + * the returned observable. + * + * __Warning:__ If the source Observable emits Observables quickly and + * endlessly, and the inner Observables it emits generally complete slower than + * the source emits, you can run into memory issues as the incoming Observables + * collect in an unbounded buffer. + * + * Note: `concatAll` is equivalent to `mergeAll` with concurrency parameter set + * to `1`. + * + * @example For each click event, tick every second from 0 to 3, with no concurrency + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var higherOrder = clicks.map(ev => Rx.Observable.interval(1000).take(4)); + * var firstOrder = higherOrder.concatAll(); + * firstOrder.subscribe(x => console.log(x)); + * + * // Results in the following: + * // (results are not concurrent) + * // For every click on the "document" it will emit values 0 to 3 spaced + * // on a 1000ms interval + * // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 + * + * @see {@link combineAll} + * @see {@link concat} + * @see {@link concatMap} + * @see {@link concatMapTo} + * @see {@link exhaust} + * @see {@link mergeAll} + * @see {@link switch} + * @see {@link zipAll} + * + * @return {Observable} An Observable emitting values from all the inner + * Observables concatenated. + * @method concatAll + * @owner Observable + */ +export function concatAll() { + return mergeAll(1); +} +//# sourceMappingURL=concatAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/concatAll.js.map b/node_modules/rxjs/_esm2015/operators/concatAll.js.map new file mode 100644 index 00000000..a45ad9ff --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/concatAll.js.map @@ -0,0 +1 @@ +{"version":3,"file":"concatAll.js","sourceRoot":"","sources":["../../src/operators/concatAll.ts"],"names":[],"mappings":"OACO,EAAE,QAAQ,EAAE,MAAM,YAAY;AAGrC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH;IACE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/concatMap.js b/node_modules/rxjs/_esm2015/operators/concatMap.js new file mode 100644 index 00000000..efce9434 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/concatMap.js @@ -0,0 +1,65 @@ +import { mergeMap } from './mergeMap'; +/* tslint:enable:max-line-length */ +/** + * Projects each source value to an Observable which is merged in the output + * Observable, in a serialized fashion waiting for each one to complete before + * merging the next. + * + * Maps each value to an Observable, then flattens all of + * these inner Observables using {@link concatAll}. + * + * + * + * Returns an Observable that emits items based on applying a function that you + * supply to each item emitted by the source Observable, where that function + * returns an (so-called "inner") Observable. Each new inner Observable is + * concatenated with the previous inner Observable. + * + * __Warning:__ if source values arrive endlessly and faster than their + * corresponding inner Observables can complete, it will result in memory issues + * as inner Observables amass in an unbounded buffer waiting for their turn to + * be subscribed to. + * + * Note: `concatMap` is equivalent to `mergeMap` with concurrency parameter set + * to `1`. + * + * @example For each click event, tick every second from 0 to 3, with no concurrency + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.concatMap(ev => Rx.Observable.interval(1000).take(4)); + * result.subscribe(x => console.log(x)); + * + * // Results in the following: + * // (results are not concurrent) + * // For every click on the "document" it will emit values 0 to 3 spaced + * // on a 1000ms interval + * // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 + * + * @see {@link concat} + * @see {@link concatAll} + * @see {@link concatMapTo} + * @see {@link exhaustMap} + * @see {@link mergeMap} + * @see {@link switchMap} + * + * @param {function(value: T, ?index: number): ObservableInput} project A function + * that, when applied to an item emitted by the source Observable, returns an + * Observable. + * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] + * A function to produce the value on the output Observable based on the values + * and the indices of the source (outer) emission and the inner Observable + * emission. The arguments passed to this function are: + * - `outerValue`: the value that came from the source + * - `innerValue`: the value that came from the projected Observable + * - `outerIndex`: the "index" of the value that came from the source + * - `innerIndex`: the "index" of the value from the projected Observable + * @return {Observable} An Observable that emits the result of applying the + * projection function (and the optional `resultSelector`) to each item emitted + * by the source Observable and taking values from each projected inner + * Observable sequentially. + * @method concatMap + * @owner Observable + */ +export function concatMap(project, resultSelector) { + return mergeMap(project, resultSelector, 1); +} +//# sourceMappingURL=concatMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/concatMap.js.map b/node_modules/rxjs/_esm2015/operators/concatMap.js.map new file mode 100644 index 00000000..c7ffe1b6 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/concatMap.js.map @@ -0,0 +1 @@ +{"version":3,"file":"concatMap.js","sourceRoot":"","sources":["../../src/operators/concatMap.ts"],"names":[],"mappings":"OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY;AAOrC,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,0BAAmC,OAAyD,EACzD,cAA4F;IAC7H,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC;AAC9C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/concatMapTo.js b/node_modules/rxjs/_esm2015/operators/concatMapTo.js new file mode 100644 index 00000000..48a3d047 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/concatMapTo.js @@ -0,0 +1,62 @@ +import { concatMap } from './concatMap'; +/* tslint:enable:max-line-length */ +/** + * Projects each source value to the same Observable which is merged multiple + * times in a serialized fashion on the output Observable. + * + * It's like {@link concatMap}, but maps each value + * always to the same inner Observable. + * + * + * + * Maps each source value to the given Observable `innerObservable` regardless + * of the source value, and then flattens those resulting Observables into one + * single Observable, which is the output Observable. Each new `innerObservable` + * instance emitted on the output Observable is concatenated with the previous + * `innerObservable` instance. + * + * __Warning:__ if source values arrive endlessly and faster than their + * corresponding inner Observables can complete, it will result in memory issues + * as inner Observables amass in an unbounded buffer waiting for their turn to + * be subscribed to. + * + * Note: `concatMapTo` is equivalent to `mergeMapTo` with concurrency parameter + * set to `1`. + * + * @example For each click event, tick every second from 0 to 3, with no concurrency + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.concatMapTo(Rx.Observable.interval(1000).take(4)); + * result.subscribe(x => console.log(x)); + * + * // Results in the following: + * // (results are not concurrent) + * // For every click on the "document" it will emit values 0 to 3 spaced + * // on a 1000ms interval + * // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 + * + * @see {@link concat} + * @see {@link concatAll} + * @see {@link concatMap} + * @see {@link mergeMapTo} + * @see {@link switchMapTo} + * + * @param {ObservableInput} innerObservable An Observable to replace each value from + * the source Observable. + * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] + * A function to produce the value on the output Observable based on the values + * and the indices of the source (outer) emission and the inner Observable + * emission. The arguments passed to this function are: + * - `outerValue`: the value that came from the source + * - `innerValue`: the value that came from the projected Observable + * - `outerIndex`: the "index" of the value that came from the source + * - `innerIndex`: the "index" of the value from the projected Observable + * @return {Observable} An observable of values merged together by joining the + * passed observable with itself, one after the other, for each value emitted + * from the source. + * @method concatMapTo + * @owner Observable + */ +export function concatMapTo(innerObservable, resultSelector) { + return concatMap(() => innerObservable, resultSelector); +} +//# sourceMappingURL=concatMapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/concatMapTo.js.map b/node_modules/rxjs/_esm2015/operators/concatMapTo.js.map new file mode 100644 index 00000000..f827b97d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/concatMapTo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"concatMapTo.js","sourceRoot":"","sources":["../../src/operators/concatMapTo.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,EAAE,MAAM,aAAa;AAMvC,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,4BACE,eAA8B,EAC9B,cAA4F;IAE5F,MAAM,CAAC,SAAS,CAAC,MAAM,eAAe,EAAE,cAAc,CAAC,CAAC;AAC1D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/count.js b/node_modules/rxjs/_esm2015/operators/count.js new file mode 100644 index 00000000..b46e7070 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/count.js @@ -0,0 +1,101 @@ +import { Subscriber } from '../Subscriber'; +/** + * Counts the number of emissions on the source and emits that number when the + * source completes. + * + * Tells how many values were emitted, when the source + * completes. + * + * + * + * `count` transforms an Observable that emits values into an Observable that + * emits a single value that represents the number of values emitted by the + * source Observable. If the source Observable terminates with an error, `count` + * will pass this error notification along without emitting a value first. If + * the source Observable does not terminate at all, `count` will neither emit + * a value nor terminate. This operator takes an optional `predicate` function + * as argument, in which case the output emission will represent the number of + * source values that matched `true` with the `predicate`. + * + * @example Counts how many seconds have passed before the first click happened + * var seconds = Rx.Observable.interval(1000); + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var secondsBeforeClick = seconds.takeUntil(clicks); + * var result = secondsBeforeClick.count(); + * result.subscribe(x => console.log(x)); + * + * @example Counts how many odd numbers are there between 1 and 7 + * var numbers = Rx.Observable.range(1, 7); + * var result = numbers.count(i => i % 2 === 1); + * result.subscribe(x => console.log(x)); + * + * // Results in: + * // 4 + * + * @see {@link max} + * @see {@link min} + * @see {@link reduce} + * + * @param {function(value: T, i: number, source: Observable): boolean} [predicate] A + * boolean function to select what values are to be counted. It is provided with + * arguments of: + * - `value`: the value from the source Observable. + * - `index`: the (zero-based) "index" of the value from the source Observable. + * - `source`: the source Observable instance itself. + * @return {Observable} An Observable of one number that represents the count as + * described above. + * @method count + * @owner Observable + */ +export function count(predicate) { + return (source) => source.lift(new CountOperator(predicate, source)); +} +class CountOperator { + constructor(predicate, source) { + this.predicate = predicate; + this.source = source; + } + call(subscriber, source) { + return source.subscribe(new CountSubscriber(subscriber, this.predicate, this.source)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class CountSubscriber extends Subscriber { + constructor(destination, predicate, source) { + super(destination); + this.predicate = predicate; + this.source = source; + this.count = 0; + this.index = 0; + } + _next(value) { + if (this.predicate) { + this._tryPredicate(value); + } + else { + this.count++; + } + } + _tryPredicate(value) { + let result; + try { + result = this.predicate(value, this.index++, this.source); + } + catch (err) { + this.destination.error(err); + return; + } + if (result) { + this.count++; + } + } + _complete() { + this.destination.next(this.count); + this.destination.complete(); + } +} +//# sourceMappingURL=count.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/count.js.map b/node_modules/rxjs/_esm2015/operators/count.js.map new file mode 100644 index 00000000..40cd8231 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/count.js.map @@ -0,0 +1 @@ +{"version":3,"file":"count.js","sourceRoot":"","sources":["../../src/operators/count.ts"],"names":[],"mappings":"OAGO,EAAE,UAAU,EAAE,MAAM,eAAe;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,sBAAyB,SAAuE;IAC9F,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,SAAS,EAAE,MAAM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AC;IACH,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAClC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/debounce.js b/node_modules/rxjs/_esm2015/operators/debounce.js new file mode 100644 index 00000000..27cd9def --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/debounce.js @@ -0,0 +1,117 @@ +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/** + * Emits a value from the source Observable only after a particular time span + * determined by another Observable has passed without another source emission. + * + * It's like {@link debounceTime}, but the time span of + * emission silence is determined by a second Observable. + * + * + * + * `debounce` delays values emitted by the source Observable, but drops previous + * pending delayed emissions if a new value arrives on the source Observable. + * This operator keeps track of the most recent value from the source + * Observable, and spawns a duration Observable by calling the + * `durationSelector` function. The value is emitted only when the duration + * Observable emits a value or completes, and if no other value was emitted on + * the source Observable since the duration Observable was spawned. If a new + * value appears before the duration Observable emits, the previous value will + * be dropped and will not be emitted on the output Observable. + * + * Like {@link debounceTime}, this is a rate-limiting operator, and also a + * delay-like operator since output emissions do not necessarily occur at the + * same time as they did on the source Observable. + * + * @example Emit the most recent click after a burst of clicks + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.debounce(() => Rx.Observable.interval(1000)); + * result.subscribe(x => console.log(x)); + * + * @see {@link audit} + * @see {@link debounceTime} + * @see {@link delayWhen} + * @see {@link throttle} + * + * @param {function(value: T): SubscribableOrPromise} durationSelector A function + * that receives a value from the source Observable, for computing the timeout + * duration for each source value, returned as an Observable or a Promise. + * @return {Observable} An Observable that delays the emissions of the source + * Observable by the specified duration Observable returned by + * `durationSelector`, and may drop some values if they occur too frequently. + * @method debounce + * @owner Observable + */ +export function debounce(durationSelector) { + return (source) => source.lift(new DebounceOperator(durationSelector)); +} +class DebounceOperator { + constructor(durationSelector) { + this.durationSelector = durationSelector; + } + call(subscriber, source) { + return source.subscribe(new DebounceSubscriber(subscriber, this.durationSelector)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class DebounceSubscriber extends OuterSubscriber { + constructor(destination, durationSelector) { + super(destination); + this.durationSelector = durationSelector; + this.hasValue = false; + this.durationSubscription = null; + } + _next(value) { + try { + const result = this.durationSelector.call(this, value); + if (result) { + this._tryNext(value, result); + } + } + catch (err) { + this.destination.error(err); + } + } + _complete() { + this.emitValue(); + this.destination.complete(); + } + _tryNext(value, duration) { + let subscription = this.durationSubscription; + this.value = value; + this.hasValue = true; + if (subscription) { + subscription.unsubscribe(); + this.remove(subscription); + } + subscription = subscribeToResult(this, duration); + if (!subscription.closed) { + this.add(this.durationSubscription = subscription); + } + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + this.emitValue(); + } + notifyComplete() { + this.emitValue(); + } + emitValue() { + if (this.hasValue) { + const value = this.value; + const subscription = this.durationSubscription; + if (subscription) { + this.durationSubscription = null; + subscription.unsubscribe(); + this.remove(subscription); + } + this.value = null; + this.hasValue = false; + super._next(value); + } + } +} +//# sourceMappingURL=debounce.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/debounce.js.map b/node_modules/rxjs/_esm2015/operators/debounce.js.map new file mode 100644 index 00000000..8f6bb361 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/debounce.js.map @@ -0,0 +1 @@ +{"version":3,"file":"debounce.js","sourceRoot":"","sources":["../../src/operators/debounce.ts"],"names":[],"mappings":"OAKO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAG7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,yBAA4B,gBAA6D;IACvF,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,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,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC;YACjB,YAAY,CAAC,WAAW,EAAE,CAAC;YAC3B,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;QAC5B,CAAC;QAED,YAAY,GAAG,iBAAiB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QACjD,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC;YACzB,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,oBAAoB,GAAG,YAAY,CAAC,CAAC;QACrD,CAAC;IACH,CAAC;IAED,UAAU,CAAC,UAAa,EAAE,UAAa,EAC5B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,IAAI,CAAC,SAAS,EAAE,CAAC;IACnB,CAAC;IAED,cAAc;QACZ,IAAI,CAAC,SAAS,EAAE,CAAC;IACnB,CAAC;IAED,SAAS;QACP,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YAClB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;YACzB,MAAM,YAAY,GAAG,IAAI,CAAC,oBAAoB,CAAC;YAC/C,EAAE,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC;gBACjB,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;gBACjC,YAAY,CAAC,WAAW,EAAE,CAAC;gBAC3B,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;YAC5B,CAAC;YACD,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;YAClB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACrB,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/debounceTime.js b/node_modules/rxjs/_esm2015/operators/debounceTime.js new file mode 100644 index 00000000..fbe84af3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/debounceTime.js @@ -0,0 +1,105 @@ +import { Subscriber } from '../Subscriber'; +import { async } from '../scheduler/async'; +/** + * Emits a value from the source Observable only after a particular time span + * has passed without another source emission. + * + * It's like {@link delay}, but passes only the most + * recent value from each burst of emissions. + * + * + * + * `debounceTime` delays values emitted by the source Observable, but drops + * previous pending delayed emissions if a new value arrives on the source + * Observable. This operator keeps track of the most recent value from the + * source Observable, and emits that only when `dueTime` enough time has passed + * without any other value appearing on the source Observable. If a new value + * appears before `dueTime` silence occurs, the previous value will be dropped + * and will not be emitted on the output Observable. + * + * This is a rate-limiting operator, because it is impossible for more than one + * value to be emitted in any time window of duration `dueTime`, but it is also + * a delay-like operator since output emissions do not occur at the same time as + * they did on the source Observable. Optionally takes a {@link IScheduler} for + * managing timers. + * + * @example Emit the most recent click after a burst of clicks + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.debounceTime(1000); + * result.subscribe(x => console.log(x)); + * + * @see {@link auditTime} + * @see {@link debounce} + * @see {@link delay} + * @see {@link sampleTime} + * @see {@link throttleTime} + * + * @param {number} dueTime The timeout duration in milliseconds (or the time + * unit determined internally by the optional `scheduler`) for the window of + * time required to wait for emission silence before emitting the most recent + * source value. + * @param {Scheduler} [scheduler=async] The {@link IScheduler} to use for + * managing the timers that handle the timeout for each value. + * @return {Observable} An Observable that delays the emissions of the source + * Observable by the specified `dueTime`, and may drop some values if they occur + * too frequently. + * @method debounceTime + * @owner Observable + */ +export function debounceTime(dueTime, scheduler = async) { + return (source) => source.lift(new DebounceTimeOperator(dueTime, scheduler)); +} +class DebounceTimeOperator { + constructor(dueTime, scheduler) { + this.dueTime = dueTime; + this.scheduler = scheduler; + } + call(subscriber, source) { + return source.subscribe(new DebounceTimeSubscriber(subscriber, this.dueTime, this.scheduler)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class DebounceTimeSubscriber extends Subscriber { + constructor(destination, dueTime, scheduler) { + super(destination); + this.dueTime = dueTime; + this.scheduler = scheduler; + this.debouncedSubscription = null; + this.lastValue = null; + this.hasValue = false; + } + _next(value) { + this.clearDebounce(); + this.lastValue = value; + this.hasValue = true; + this.add(this.debouncedSubscription = this.scheduler.schedule(dispatchNext, this.dueTime, this)); + } + _complete() { + this.debouncedNext(); + this.destination.complete(); + } + debouncedNext() { + this.clearDebounce(); + if (this.hasValue) { + this.destination.next(this.lastValue); + this.lastValue = null; + this.hasValue = false; + } + } + clearDebounce() { + const debouncedSubscription = this.debouncedSubscription; + if (debouncedSubscription !== null) { + this.remove(debouncedSubscription); + debouncedSubscription.unsubscribe(); + this.debouncedSubscription = null; + } + } +} +function dispatchNext(subscriber) { + subscriber.debouncedNext(); +} +//# sourceMappingURL=debounceTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/debounceTime.js.map b/node_modules/rxjs/_esm2015/operators/debounceTime.js.map new file mode 100644 index 00000000..6d482a7c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/debounceTime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"debounceTime.js","sourceRoot":"","sources":["../../src/operators/debounceTime.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;OAGnC,EAAE,KAAK,EAAE,MAAM,oBAAoB;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,6BAAgC,OAAe,EAAE,SAAS,GAAe,KAAK;IAC5E,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,oBAAoB,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC;AAC9F,CAAC;AAED;IACE,YAAoB,OAAe,EAAU,SAAqB;QAA9C,YAAO,GAAP,OAAO,CAAQ;QAAU,cAAS,GAAT,SAAS,CAAY;IAClE,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,sBAAsB,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C,MAAM,CAAC,qBAAqB,CAAC,CAAC;YACnC,qBAAqB,CAAC,WAAW,EAAE,CAAC;YACpC,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC;QACpC,CAAC;IACH,CAAC;AACH,CAAC;AAED,sBAAsB,UAAuC;IAC3D,UAAU,CAAC,aAAa,EAAE,CAAC;AAC7B,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/defaultIfEmpty.js b/node_modules/rxjs/_esm2015/operators/defaultIfEmpty.js new file mode 100644 index 00000000..1b0b255e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/defaultIfEmpty.js @@ -0,0 +1,66 @@ +import { Subscriber } from '../Subscriber'; +/* tslint:enable:max-line-length */ +/** + * Emits a given value if the source Observable completes without emitting any + * `next` value, otherwise mirrors the source Observable. + * + * If the source Observable turns out to be empty, then + * this operator will emit a default value. + * + * + * + * `defaultIfEmpty` emits the values emitted by the source Observable or a + * specified default value if the source Observable is empty (completes without + * having emitted any `next` value). + * + * @example If no clicks happen in 5 seconds, then emit "no clicks" + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var clicksBeforeFive = clicks.takeUntil(Rx.Observable.interval(5000)); + * var result = clicksBeforeFive.defaultIfEmpty('no clicks'); + * result.subscribe(x => console.log(x)); + * + * @see {@link empty} + * @see {@link last} + * + * @param {any} [defaultValue=null] The default value used if the source + * Observable is empty. + * @return {Observable} An Observable that emits either the specified + * `defaultValue` if the source Observable emits no items, or the values emitted + * by the source Observable. + * @method defaultIfEmpty + * @owner Observable + */ +export function defaultIfEmpty(defaultValue = null) { + return (source) => source.lift(new DefaultIfEmptyOperator(defaultValue)); +} +class DefaultIfEmptyOperator { + constructor(defaultValue) { + this.defaultValue = defaultValue; + } + call(subscriber, source) { + return source.subscribe(new DefaultIfEmptySubscriber(subscriber, this.defaultValue)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class DefaultIfEmptySubscriber extends Subscriber { + constructor(destination, defaultValue) { + super(destination); + this.defaultValue = defaultValue; + this.isEmpty = true; + } + _next(value) { + this.isEmpty = false; + this.destination.next(value); + } + _complete() { + if (this.isEmpty) { + this.destination.next(this.defaultValue); + } + this.destination.complete(); + } +} +//# sourceMappingURL=defaultIfEmpty.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/defaultIfEmpty.js.map b/node_modules/rxjs/_esm2015/operators/defaultIfEmpty.js.map new file mode 100644 index 00000000..ee93ac5d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/defaultIfEmpty.js.map @@ -0,0 +1 @@ +{"version":3,"file":"defaultIfEmpty.js","sourceRoot":"","sources":["../../src/operators/defaultIfEmpty.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;AAM1C,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,+BAAqC,YAAY,GAAM,IAAI;IACzD,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,sBAAsB,CAAC,YAAY,CAAC,CAAsB,CAAC;AAC/G,CAAC;AAED;IAEE,YAAoB,YAAe;QAAf,iBAAY,GAAZ,YAAY,CAAG;IACnC,CAAC;IAED,IAAI,CAAC,UAA6B,EAAE,MAAW;QAC7C,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,wBAAwB,CAAC,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IACvF,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,uCAA6C,UAAU;IAGrD,YAAY,WAA8B,EAAU,YAAe;QACjE,MAAM,WAAW,CAAC,CAAC;QAD+B,iBAAY,GAAZ,YAAY,CAAG;QAF3D,YAAO,GAAY,IAAI,CAAC;IAIhC,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACrB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAES,SAAS;QACjB,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;YACjB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC3C,CAAC;QACD,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/delay.js b/node_modules/rxjs/_esm2015/operators/delay.js new file mode 100644 index 00000000..40ec5eca --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/delay.js @@ -0,0 +1,123 @@ +import { async } from '../scheduler/async'; +import { isDate } from '../util/isDate'; +import { Subscriber } from '../Subscriber'; +import { Notification } from '../Notification'; +/** + * Delays the emission of items from the source Observable by a given timeout or + * until a given Date. + * + * Time shifts each item by some specified amount of + * milliseconds. + * + * + * + * If the delay argument is a Number, this operator time shifts the source + * Observable by that amount of time expressed in milliseconds. The relative + * time intervals between the values are preserved. + * + * If the delay argument is a Date, this operator time shifts the start of the + * Observable execution until the given date occurs. + * + * @example Delay each click by one second + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var delayedClicks = clicks.delay(1000); // each click emitted after 1 second + * delayedClicks.subscribe(x => console.log(x)); + * + * @example Delay all clicks until a future date happens + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var date = new Date('March 15, 2050 12:00:00'); // in the future + * var delayedClicks = clicks.delay(date); // click emitted only after that date + * delayedClicks.subscribe(x => console.log(x)); + * + * @see {@link debounceTime} + * @see {@link delayWhen} + * + * @param {number|Date} delay The delay duration in milliseconds (a `number`) or + * a `Date` until which the emission of the source items is delayed. + * @param {Scheduler} [scheduler=async] The IScheduler to use for + * managing the timers that handle the time-shift for each item. + * @return {Observable} An Observable that delays the emissions of the source + * Observable by the specified timeout or Date. + * @method delay + * @owner Observable + */ +export function delay(delay, scheduler = async) { + const absoluteDelay = isDate(delay); + const delayFor = absoluteDelay ? (+delay - scheduler.now()) : Math.abs(delay); + return (source) => source.lift(new DelayOperator(delayFor, scheduler)); +} +class DelayOperator { + constructor(delay, scheduler) { + this.delay = delay; + this.scheduler = scheduler; + } + call(subscriber, source) { + return source.subscribe(new DelaySubscriber(subscriber, this.delay, this.scheduler)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class DelaySubscriber extends Subscriber { + constructor(destination, delay, scheduler) { + super(destination); + this.delay = delay; + this.scheduler = scheduler; + this.queue = []; + this.active = false; + this.errored = false; + } + static dispatch(state) { + const source = state.source; + const queue = source.queue; + const scheduler = state.scheduler; + const destination = state.destination; + while (queue.length > 0 && (queue[0].time - scheduler.now()) <= 0) { + queue.shift().notification.observe(destination); + } + if (queue.length > 0) { + const delay = Math.max(0, queue[0].time - scheduler.now()); + this.schedule(state, delay); + } + else { + source.active = false; + } + } + _schedule(scheduler) { + this.active = true; + this.add(scheduler.schedule(DelaySubscriber.dispatch, this.delay, { + source: this, destination: this.destination, scheduler: scheduler + })); + } + scheduleNotification(notification) { + if (this.errored === true) { + return; + } + const scheduler = this.scheduler; + const message = new DelayMessage(scheduler.now() + this.delay, notification); + this.queue.push(message); + if (this.active === false) { + this._schedule(scheduler); + } + } + _next(value) { + this.scheduleNotification(Notification.createNext(value)); + } + _error(err) { + this.errored = true; + this.queue = []; + this.destination.error(err); + } + _complete() { + this.scheduleNotification(Notification.createComplete()); + } +} +class DelayMessage { + constructor(time, notification) { + this.time = time; + this.notification = notification; + } +} +//# sourceMappingURL=delay.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/delay.js.map b/node_modules/rxjs/_esm2015/operators/delay.js.map new file mode 100644 index 00000000..e17e3955 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/delay.js.map @@ -0,0 +1 @@ +{"version":3,"file":"delay.js","sourceRoot":"","sources":["../../src/operators/delay.ts"],"names":[],"mappings":"OAAO,EAAE,K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C,MAAM,OAAO,GAAG,IAAI,YAAY,CAAC,SAAS,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC;QAC7E,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAEzB,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,KAAK,KAAK,CAAC,CAAC,CAAC;YAC1B,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC,oBAAoB,CAAC,YAAY,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IAC5D,CAAC;IAES,MAAM,CAAC,GAAQ;QACvB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;QAChB,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,oBAAoB,CAAC,YAAY,CAAC,cAAc,EAAE,CAAC,CAAC;IAC3D,CAAC;AACH,CAAC;AAED;IACE,YAA4B,IAAY,EACZ,YAA6B;QAD7B,SAAI,GAAJ,IAAI,CAAQ;QACZ,iBAAY,GAAZ,YAAY,CAAiB;IACzD,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/delayWhen.js b/node_modules/rxjs/_esm2015/operators/delayWhen.js new file mode 100644 index 00000000..089e3ede --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/delayWhen.js @@ -0,0 +1,178 @@ +import { Subscriber } from '../Subscriber'; +import { Observable } from '../Observable'; +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/** + * Delays the emission of items from the source Observable by a given time span + * determined by the emissions of another Observable. + * + * It's like {@link delay}, but the time span of the + * delay duration is determined by a second Observable. + * + * + * + * `delayWhen` time shifts each emitted value from the source Observable by a + * time span determined by another Observable. When the source emits a value, + * the `delayDurationSelector` function is called with the source value as + * argument, and should return an Observable, called the "duration" Observable. + * The source value is emitted on the output Observable only when the duration + * Observable emits a value or completes. + * + * Optionally, `delayWhen` takes a second argument, `subscriptionDelay`, which + * is an Observable. When `subscriptionDelay` emits its first value or + * completes, the source Observable is subscribed to and starts behaving like + * described in the previous paragraph. If `subscriptionDelay` is not provided, + * `delayWhen` will subscribe to the source Observable as soon as the output + * Observable is subscribed. + * + * @example Delay each click by a random amount of time, between 0 and 5 seconds + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var delayedClicks = clicks.delayWhen(event => + * Rx.Observable.interval(Math.random() * 5000) + * ); + * delayedClicks.subscribe(x => console.log(x)); + * + * @see {@link debounce} + * @see {@link delay} + * + * @param {function(value: T): Observable} delayDurationSelector A function that + * returns an Observable for each value emitted by the source Observable, which + * is then used to delay the emission of that item on the output Observable + * until the Observable returned from this function emits a value. + * @param {Observable} subscriptionDelay An Observable that triggers the + * subscription to the source Observable once it emits any value. + * @return {Observable} An Observable that delays the emissions of the source + * Observable by an amount of time specified by the Observable returned by + * `delayDurationSelector`. + * @method delayWhen + * @owner Observable + */ +export function delayWhen(delayDurationSelector, subscriptionDelay) { + if (subscriptionDelay) { + return (source) => new SubscriptionDelayObservable(source, subscriptionDelay) + .lift(new DelayWhenOperator(delayDurationSelector)); + } + return (source) => source.lift(new DelayWhenOperator(delayDurationSelector)); +} +class DelayWhenOperator { + constructor(delayDurationSelector) { + this.delayDurationSelector = delayDurationSelector; + } + call(subscriber, source) { + return source.subscribe(new DelayWhenSubscriber(subscriber, this.delayDurationSelector)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class DelayWhenSubscriber extends OuterSubscriber { + constructor(destination, delayDurationSelector) { + super(destination); + this.delayDurationSelector = delayDurationSelector; + this.completed = false; + this.delayNotifierSubscriptions = []; + this.values = []; + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + this.destination.next(outerValue); + this.removeSubscription(innerSub); + this.tryComplete(); + } + notifyError(error, innerSub) { + this._error(error); + } + notifyComplete(innerSub) { + const value = this.removeSubscription(innerSub); + if (value) { + this.destination.next(value); + } + this.tryComplete(); + } + _next(value) { + try { + const delayNotifier = this.delayDurationSelector(value); + if (delayNotifier) { + this.tryDelay(delayNotifier, value); + } + } + catch (err) { + this.destination.error(err); + } + } + _complete() { + this.completed = true; + this.tryComplete(); + } + removeSubscription(subscription) { + subscription.unsubscribe(); + const subscriptionIdx = this.delayNotifierSubscriptions.indexOf(subscription); + let value = null; + if (subscriptionIdx !== -1) { + value = this.values[subscriptionIdx]; + this.delayNotifierSubscriptions.splice(subscriptionIdx, 1); + this.values.splice(subscriptionIdx, 1); + } + return value; + } + tryDelay(delayNotifier, value) { + const notifierSubscription = subscribeToResult(this, delayNotifier, value); + if (notifierSubscription && !notifierSubscription.closed) { + this.add(notifierSubscription); + this.delayNotifierSubscriptions.push(notifierSubscription); + } + this.values.push(value); + } + tryComplete() { + if (this.completed && this.delayNotifierSubscriptions.length === 0) { + this.destination.complete(); + } + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class SubscriptionDelayObservable extends Observable { + constructor(source, subscriptionDelay) { + super(); + this.source = source; + this.subscriptionDelay = subscriptionDelay; + } + _subscribe(subscriber) { + this.subscriptionDelay.subscribe(new SubscriptionDelaySubscriber(subscriber, this.source)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class SubscriptionDelaySubscriber extends Subscriber { + constructor(parent, source) { + super(); + this.parent = parent; + this.source = source; + this.sourceSubscribed = false; + } + _next(unused) { + this.subscribeToSource(); + } + _error(err) { + this.unsubscribe(); + this.parent.error(err); + } + _complete() { + this.subscribeToSource(); + } + subscribeToSource() { + if (!this.sourceSubscribed) { + this.sourceSubscribed = true; + this.unsubscribe(); + this.source.subscribe(this.parent); + } + } +} +//# sourceMappingURL=delayWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/delayWhen.js.map b/node_modules/rxjs/_esm2015/operators/delayWhen.js.map new file mode 100644 index 00000000..cfbb971d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/delayWhen.js.map @@ -0,0 +1 @@ +{"version":3,"file":"delayWhen.js","sourceRoot":"","sources":["../../src/operators/delayWhen.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,UAAU,EAAE,MAAM,eAAe;OAEnC,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAG7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,0BAA6B,qBAAoD,EACpD,iBAAmC;IAC9D,EAAE,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC;QACtB,MAAM,CAAC,CAAC,MAAqB,KAC3B,IAAI,2BAA2B,CAAC,MAAM,EAAE,iBAAiB,CAAC;aACvD,IAAI,CAAC,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,CAAC,CAAC;IAC1D,CAAC;IACD,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,CAAC,CAAC;AAC9F,CAAC;AAED;IACE,YAAoB,qBAAoD;QAApD,0BAAqB,GAArB,qBAAqB,CAA+B;IACxE,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC;IAC3F,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,kCAAwC,eAAe;IAKrD,YAAY,WAA0B,EAClB,qBAAoD;QACtE,MAAM,WAAW,CAAC,CAAC;QADD,0BAAqB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B,iBAAiB,CAAiB;IAEvF,CAAC;IAES,UAAU,CAAC,UAAyB;QAC5C,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,IAAI,2BAA2B,CAAC,UAAU,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7F,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,0CAA6C,UAAU;IAGrD,YAAoB,MAAqB,EAAU,MAAqB;QACtE,OAAO,CAAC;QADU,WAAM,GAAN,MAAM,CAAe;QAAU,WAAM,GAAN,MAAM,CAAe;QAFhE,qBAAgB,GAAY,KAAK,CAAC;IAI1C,CAAC;IAES,KAAK,CAAC,MAAW;QACzB,IAAI,CAAC,iBAAiB,EAAE,CAAC;IAC3B,CAAC;IAES,MAAM,CAAC,GAAQ;QACvB,IAAI,CAAC,WAAW,EAAE,CAAC;QACnB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACzB,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,iBAAiB,EAAE,CAAC;IAC3B,CAAC;IAEO,iBAAiB;QACvB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;YAC3B,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;YAC7B,IAAI,CAAC,WAAW,EAAE,CAAC;YACnB,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACrC,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/dematerialize.js b/node_modules/rxjs/_esm2015/operators/dematerialize.js new file mode 100644 index 00000000..fa1dcd47 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/dematerialize.js @@ -0,0 +1,65 @@ +import { Subscriber } from '../Subscriber'; +/** + * Converts an Observable of {@link Notification} objects into the emissions + * that they represent. + * + * Unwraps {@link Notification} objects as actual `next`, + * `error` and `complete` emissions. The opposite of {@link materialize}. + * + * + * + * `dematerialize` is assumed to operate an Observable that only emits + * {@link Notification} objects as `next` emissions, and does not emit any + * `error`. Such Observable is the output of a `materialize` operation. Those + * notifications are then unwrapped using the metadata they contain, and emitted + * as `next`, `error`, and `complete` on the output Observable. + * + * Use this operator in conjunction with {@link materialize}. + * + * @example Convert an Observable of Notifications to an actual Observable + * var notifA = new Rx.Notification('N', 'A'); + * var notifB = new Rx.Notification('N', 'B'); + * var notifE = new Rx.Notification('E', void 0, + * new TypeError('x.toUpperCase is not a function') + * ); + * var materialized = Rx.Observable.of(notifA, notifB, notifE); + * var upperCase = materialized.dematerialize(); + * upperCase.subscribe(x => console.log(x), e => console.error(e)); + * + * // Results in: + * // A + * // B + * // TypeError: x.toUpperCase is not a function + * + * @see {@link Notification} + * @see {@link materialize} + * + * @return {Observable} An Observable that emits items and notifications + * embedded in Notification objects emitted by the source Observable. + * @method dematerialize + * @owner Observable + */ +export function dematerialize() { + return function dematerializeOperatorFunction(source) { + return source.lift(new DeMaterializeOperator()); + }; +} +class DeMaterializeOperator { + call(subscriber, source) { + return source.subscribe(new DeMaterializeSubscriber(subscriber)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class DeMaterializeSubscriber extends Subscriber { + constructor(destination) { + super(destination); + } + _next(value) { + value.observe(this.destination); + } +} +//# sourceMappingURL=dematerialize.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/dematerialize.js.map b/node_modules/rxjs/_esm2015/operators/dematerialize.js.map new file mode 100644 index 00000000..286b1abf --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/dematerialize.js.map @@ -0,0 +1 @@ +{"version":3,"file":"dematerialize.js","sourceRoot":"","sources":["../../src/operators/dematerialize.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;AAI1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH;IACE,MAAM,CAAC,uCAAuC,MAAmC;QAC/E,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,qBAAqB,EAAE,CAAC,CAAC;IAClD,CAAC,CAAC;AACJ,CAAC;AAED;IACE,IAAI,CAAC,UAA2B,EAAE,MAAW;QAC3C,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,uBAAuB,CAAC,UAAU,CAAC,CAAC,CAAC;IACnE,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,sCAAmE,UAAU;IAC3E,YAAY,WAA4B;QACtC,MAAM,WAAW,CAAC,CAAC;IACrB,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAClC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/distinct.js b/node_modules/rxjs/_esm2015/operators/distinct.js new file mode 100644 index 00000000..f54b53b7 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/distinct.js @@ -0,0 +1,109 @@ +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +import { Set } from '../util/Set'; +/** + * Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from previous items. + * + * If a keySelector function is provided, then it will project each value from the source observable into a new value that it will + * check for equality with previously projected values. If a keySelector function is not provided, it will use each value from the + * source observable directly with an equality check against previous values. + * + * In JavaScript runtimes that support `Set`, this operator will use a `Set` to improve performance of the distinct value checking. + * + * In other runtimes, this operator will use a minimal implementation of `Set` that relies on an `Array` and `indexOf` under the + * hood, so performance will degrade as more values are checked for distinction. Even in newer browsers, a long-running `distinct` + * use might result in memory leaks. To help alleviate this in some scenarios, an optional `flushes` parameter is also provided so + * that the internal `Set` can be "flushed", basically clearing it of values. + * + * @example A simple example with numbers + * Observable.of(1, 1, 2, 2, 2, 1, 2, 3, 4, 3, 2, 1) + * .distinct() + * .subscribe(x => console.log(x)); // 1, 2, 3, 4 + * + * @example An example using a keySelector function + * interface Person { + * age: number, + * name: string + * } + * + * Observable.of( + * { age: 4, name: 'Foo'}, + * { age: 7, name: 'Bar'}, + * { age: 5, name: 'Foo'}) + * .distinct((p: Person) => p.name) + * .subscribe(x => console.log(x)); + * + * // displays: + * // { age: 4, name: 'Foo' } + * // { age: 7, name: 'Bar' } + * + * @see {@link distinctUntilChanged} + * @see {@link distinctUntilKeyChanged} + * + * @param {function} [keySelector] Optional function to select which value you want to check as distinct. + * @param {Observable} [flushes] Optional Observable for flushing the internal HashSet of the operator. + * @return {Observable} An Observable that emits items from the source Observable with distinct values. + * @method distinct + * @owner Observable + */ +export function distinct(keySelector, flushes) { + return (source) => source.lift(new DistinctOperator(keySelector, flushes)); +} +class DistinctOperator { + constructor(keySelector, flushes) { + this.keySelector = keySelector; + this.flushes = flushes; + } + call(subscriber, source) { + return source.subscribe(new DistinctSubscriber(subscriber, this.keySelector, this.flushes)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class DistinctSubscriber extends OuterSubscriber { + constructor(destination, keySelector, flushes) { + super(destination); + this.keySelector = keySelector; + this.values = new Set(); + if (flushes) { + this.add(subscribeToResult(this, flushes)); + } + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + this.values.clear(); + } + notifyError(error, innerSub) { + this._error(error); + } + _next(value) { + if (this.keySelector) { + this._useKeySelector(value); + } + else { + this._finalizeNext(value, value); + } + } + _useKeySelector(value) { + let key; + const { destination } = this; + try { + key = this.keySelector(value); + } + catch (err) { + destination.error(err); + return; + } + this._finalizeNext(key, value); + } + _finalizeNext(key, value) { + const { values } = this; + if (!values.has(key)) { + values.add(key); + this.destination.next(value); + } + } +} +//# sourceMappingURL=distinct.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/distinct.js.map b/node_modules/rxjs/_esm2015/operators/distinct.js.map new file mode 100644 index 00000000..8dbba1e8 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/distinct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AAW,CAAC,KAAU,EAAE,QAA+B;QACrD,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;YACrB,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;QAC9B,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,IAAI,CAAC,aAAa,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QACnC,CAAC;IACH,CAAC;IAEO,eAAe,CAAC,KAAQ;QAC9B,IAAI,GAAM,CAAC;QACX,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;QAC7B,IAAI,CAAC;YACH,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QAChC,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YACvB,MAAM,CAAC;QACT,CAAC;QACD,IAAI,CAAC,aAAa,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IACjC,CAAC;IAEO,aAAa,CAAC,GAAQ,EAAE,KAAQ;QACtC,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QACxB,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAI,GAAG,CAAC,CAAC,CAAC,CAAC;YACxB,MAAM,CAAC,GAAG,CAAI,GAAG,CAAC,CAAC;YACnB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;IACH,CAAC;AAEH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/distinctUntilChanged.js b/node_modules/rxjs/_esm2015/operators/distinctUntilChanged.js new file mode 100644 index 00000000..370ed588 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/distinctUntilChanged.js @@ -0,0 +1,98 @@ +import { Subscriber } from '../Subscriber'; +import { tryCatch } from '../util/tryCatch'; +import { errorObject } from '../util/errorObject'; +/* tslint:enable:max-line-length */ +/** + * Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item. + * + * If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted. + * + * If a comparator function is not provided, an equality check is used by default. + * + * @example A simple example with numbers + * Observable.of(1, 1, 2, 2, 2, 1, 1, 2, 3, 3, 4) + * .distinctUntilChanged() + * .subscribe(x => console.log(x)); // 1, 2, 1, 2, 3, 4 + * + * @example An example using a compare function + * interface Person { + * age: number, + * name: string + * } + * + * Observable.of( + * { age: 4, name: 'Foo'}, + * { age: 7, name: 'Bar'}, + * { age: 5, name: 'Foo'}) + * { age: 6, name: 'Foo'}) + * .distinctUntilChanged((p: Person, q: Person) => p.name === q.name) + * .subscribe(x => console.log(x)); + * + * // displays: + * // { age: 4, name: 'Foo' } + * // { age: 7, name: 'Bar' } + * // { age: 5, name: 'Foo' } + * + * @see {@link distinct} + * @see {@link distinctUntilKeyChanged} + * + * @param {function} [compare] Optional comparison function called to test if an item is distinct from the previous item in the source. + * @return {Observable} An Observable that emits items from the source Observable with distinct values. + * @method distinctUntilChanged + * @owner Observable + */ +export function distinctUntilChanged(compare, keySelector) { + return (source) => source.lift(new DistinctUntilChangedOperator(compare, keySelector)); +} +class DistinctUntilChangedOperator { + constructor(compare, keySelector) { + this.compare = compare; + this.keySelector = keySelector; + } + call(subscriber, source) { + return source.subscribe(new DistinctUntilChangedSubscriber(subscriber, this.compare, this.keySelector)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class DistinctUntilChangedSubscriber extends Subscriber { + constructor(destination, compare, keySelector) { + super(destination); + this.keySelector = keySelector; + this.hasKey = false; + if (typeof compare === 'function') { + this.compare = compare; + } + } + compare(x, y) { + return x === y; + } + _next(value) { + const keySelector = this.keySelector; + let key = value; + if (keySelector) { + key = tryCatch(this.keySelector)(value); + if (key === errorObject) { + return this.destination.error(errorObject.e); + } + } + let result = false; + if (this.hasKey) { + result = tryCatch(this.compare)(this.key, key); + if (result === errorObject) { + return this.destination.error(errorObject.e); + } + } + else { + this.hasKey = true; + } + if (Boolean(result) === false) { + this.key = key; + this.destination.next(value); + } + } +} +//# sourceMappingURL=distinctUntilChanged.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/distinctUntilChanged.js.map b/node_modules/rxjs/_esm2015/operators/distinctUntilChanged.js.map new file mode 100644 index 00000000..e18f740b --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/distinctUntilChanged.js.map @@ -0,0 +1 @@ +{"version":3,"file":"distinctUntilChanged.js","sourceRoot":"","sources":["../../src/operators/distinctUntilChanged.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,WAAW,EAAE,MAAM,qBAAqB;AAQjD,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,qCAA2C,OAAiC,EAAE,WAAyB;IACrG,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,4BAA4B,CAAO,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC;AAC9G,CAAC;AAED;IACE,YAAoB,OAAgC,EAChC,WAAwB;QADxB,YAAO,GAAP,OAAO,CAAyB;QAChC,gBAAW,GAAX,WAAW,CAAa;IAC5C,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,8BAA8B,CAAC,UAAU,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;IAC1G,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,6CAAmD,UAAU;IAI3D,YAAY,WAA0B,EAC1B,OAAgC,EACxB,WAAwB;QAC1C,MA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C,CAAC;YAC9B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;YACf,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/distinctUntilKeyChanged.js b/node_modules/rxjs/_esm2015/operators/distinctUntilKeyChanged.js new file mode 100644 index 00000000..80572499 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/distinctUntilKeyChanged.js @@ -0,0 +1,63 @@ +import { distinctUntilChanged } from './distinctUntilChanged'; +/* tslint:enable:max-line-length */ +/** + * Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item, + * using a property accessed by using the key provided to check if the two items are distinct. + * + * If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted. + * + * If a comparator function is not provided, an equality check is used by default. + * + * @example An example comparing the name of persons + * + * interface Person { + * age: number, + * name: string + * } + * + * Observable.of( + * { age: 4, name: 'Foo'}, + * { age: 7, name: 'Bar'}, + * { age: 5, name: 'Foo'}, + * { age: 6, name: 'Foo'}) + * .distinctUntilKeyChanged('name') + * .subscribe(x => console.log(x)); + * + * // displays: + * // { age: 4, name: 'Foo' } + * // { age: 7, name: 'Bar' } + * // { age: 5, name: 'Foo' } + * + * @example An example comparing the first letters of the name + * + * interface Person { + * age: number, + * name: string + * } + * + * Observable.of( + * { age: 4, name: 'Foo1'}, + * { age: 7, name: 'Bar'}, + * { age: 5, name: 'Foo2'}, + * { age: 6, name: 'Foo3'}) + * .distinctUntilKeyChanged('name', (x: string, y: string) => x.substring(0, 3) === y.substring(0, 3)) + * .subscribe(x => console.log(x)); + * + * // displays: + * // { age: 4, name: 'Foo1' } + * // { age: 7, name: 'Bar' } + * // { age: 5, name: 'Foo2' } + * + * @see {@link distinct} + * @see {@link distinctUntilChanged} + * + * @param {string} key String key for object property lookup on each item. + * @param {function} [compare] Optional comparison function called to test if an item is distinct from the previous item in the source. + * @return {Observable} An Observable that emits items from the source Observable with distinct values based on the key specified. + * @method distinctUntilKeyChanged + * @owner Observable + */ +export function distinctUntilKeyChanged(key, compare) { + return distinctUntilChanged((x, y) => compare ? compare(x[key], y[key]) : x[key] === y[key]); +} +//# sourceMappingURL=distinctUntilKeyChanged.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/distinctUntilKeyChanged.js.map b/node_modules/rxjs/_esm2015/operators/distinctUntilKeyChanged.js.map new file mode 100644 index 00000000..9fd0b3b6 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/distinctUntilKeyChanged.js.map @@ -0,0 +1 @@ +{"version":3,"file":"distinctUntilKeyChanged.js","sourceRoot":"","sources":["../../src/operators/distinctUntilKeyChanged.ts"],"names":[],"mappings":"OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB;AAM7D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,wCAA2C,GAAW,EAAE,OAAiC;IACvF,MAAM,CAAC,oBAAoB,CAAC,CAAC,CAAI,EAAE,CAAI,KAAK,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AACrG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/elementAt.js b/node_modules/rxjs/_esm2015/operators/elementAt.js new file mode 100644 index 00000000..968333e6 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/elementAt.js @@ -0,0 +1,90 @@ +import { Subscriber } from '../Subscriber'; +import { ArgumentOutOfRangeError } from '../util/ArgumentOutOfRangeError'; +/** + * Emits the single value at the specified `index` in a sequence of emissions + * from the source Observable. + * + * Emits only the i-th value, then completes. + * + * + * + * `elementAt` returns an Observable that emits the item at the specified + * `index` in the source Observable, or a default value if that `index` is out + * of range and the `default` argument is provided. If the `default` argument is + * not given and the `index` is out of range, the output Observable will emit an + * `ArgumentOutOfRangeError` error. + * + * @example Emit only the third click event + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.elementAt(2); + * result.subscribe(x => console.log(x)); + * + * // Results in: + * // click 1 = nothing + * // click 2 = nothing + * // click 3 = MouseEvent object logged to console + * + * @see {@link first} + * @see {@link last} + * @see {@link skip} + * @see {@link single} + * @see {@link take} + * + * @throws {ArgumentOutOfRangeError} When using `elementAt(i)`, it delivers an + * ArgumentOutOrRangeError to the Observer's `error` callback if `i < 0` or the + * Observable has completed before emitting the i-th `next` notification. + * + * @param {number} index Is the number `i` for the i-th source emission that has + * happened since the subscription, starting from the number `0`. + * @param {T} [defaultValue] The default value returned for missing indices. + * @return {Observable} An Observable that emits a single item, if it is found. + * Otherwise, will emit the default value if given. If not, then emits an error. + * @method elementAt + * @owner Observable + */ +export function elementAt(index, defaultValue) { + return (source) => source.lift(new ElementAtOperator(index, defaultValue)); +} +class ElementAtOperator { + constructor(index, defaultValue) { + this.index = index; + this.defaultValue = defaultValue; + if (index < 0) { + throw new ArgumentOutOfRangeError; + } + } + call(subscriber, source) { + return source.subscribe(new ElementAtSubscriber(subscriber, this.index, this.defaultValue)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class ElementAtSubscriber extends Subscriber { + constructor(destination, index, defaultValue) { + super(destination); + this.index = index; + this.defaultValue = defaultValue; + } + _next(x) { + if (this.index-- === 0) { + this.destination.next(x); + this.destination.complete(); + } + } + _complete() { + const destination = this.destination; + if (this.index >= 0) { + if (typeof this.defaultValue !== 'undefined') { + destination.next(this.defaultValue); + } + else { + destination.error(new ArgumentOutOfRangeError); + } + } + destination.complete(); + } +} +//# sourceMappingURL=elementAt.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/elementAt.js.map b/node_modules/rxjs/_esm2015/operators/elementAt.js.map new file mode 100644 index 00000000..db04cdfe --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/elementAt.js.map @@ -0,0 +1 @@ +{"version":3,"file":"elementAt.js","sourceRoot":"","sources":["../../src/operators/elementAt.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,uBAAuB,EAAE,MAAM,iCAAiC;AAKzE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,0BAA6B,KAAa,EAAE,YAAgB;IAC1D,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC;AAC5F,CAAC;AAED;IAEE,YAAoB,KAAa,EAAU,YAAgB;QAAvC,UAAK,GAAL,KAAK,CAAQ;QAAU,iBAAY,GAAZ,YAAY,CAAI;QACzD,EAAE,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC;YACd,MAAM,IAAI,uBAAuB,CAAC;QACpC,CAAC;IACH,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IAC9F,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,kCAAqC,UAAU;IAE7C,YAAY,WAA0B,EAAU,KAAa,EAAU,YAAgB;QACrF,MAAM,WAAW,CAAC,CAAC;QAD2B,UAAK,GAAL,KAAK,CAAQ;QAAU,iBAAY,GAAZ,YAAY,CAAI;IAEvF,CAAC;IAES,KAAK,CAAC,CAAI;QAClB,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;YACvB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YACzB,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;IAES,SAAS;QACjB,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC;YACpB,EAAE,CAAC,CAAC,OAAO,IAAI,CAAC,YAAY,KAAK,WAAW,CAAC,CAAC,CAAC;gBAC7C,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YACtC,CAAC;YAAC,IAAI,CAAC,CAAC;gBACN,WAAW,CAAC,KAAK,CAAC,IAAI,uBAAuB,CAAC,CAAC;YACjD,CAAC;QACH,CAAC;QACD,WAAW,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/every.js b/node_modules/rxjs/_esm2015/operators/every.js new file mode 100644 index 00000000..c05243d0 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/every.js @@ -0,0 +1,64 @@ +import { Subscriber } from '../Subscriber'; +/** + * Returns an Observable that emits whether or not every item of the source satisfies the condition specified. + * + * @example A simple example emitting true if all elements are less than 5, false otherwise + * Observable.of(1, 2, 3, 4, 5, 6) + * .every(x => x < 5) + * .subscribe(x => console.log(x)); // -> false + * + * @param {function} predicate A function for determining if an item meets a specified condition. + * @param {any} [thisArg] Optional object to use for `this` in the callback. + * @return {Observable} An Observable of booleans that determines if all items of the source Observable meet the condition specified. + * @method every + * @owner Observable + */ +export function every(predicate, thisArg) { + return (source) => source.lift(new EveryOperator(predicate, thisArg, source)); +} +class EveryOperator { + constructor(predicate, thisArg, source) { + this.predicate = predicate; + this.thisArg = thisArg; + this.source = source; + } + call(observer, source) { + return source.subscribe(new EverySubscriber(observer, this.predicate, this.thisArg, this.source)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class EverySubscriber extends Subscriber { + constructor(destination, predicate, thisArg, source) { + super(destination); + this.predicate = predicate; + this.thisArg = thisArg; + this.source = source; + this.index = 0; + this.thisArg = thisArg || this; + } + notifyComplete(everyValueMatch) { + this.destination.next(everyValueMatch); + this.destination.complete(); + } + _next(value) { + let result = false; + try { + result = this.predicate.call(this.thisArg, value, this.index++, this.source); + } + catch (err) { + this.destination.error(err); + return; + } + if (!result) { + this.notifyComplete(false); + } + } + _complete() { + this.notifyComplete(true); + } +} +//# sourceMappingURL=every.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/every.js.map b/node_modules/rxjs/_esm2015/operators/every.js.map new file mode 100644 index 00000000..f68f4ece --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/every.js.map @@ -0,0 +1 @@ +{"version":3,"file":"every.js","sourceRoot":"","sources":["../../src/operators/every.ts"],"names":[],"mappings":"OAGO,EAAE,UAAU,EAAE,MAAM,eAAe;AAG1C;;;;;;;;;;;;;GAaG;AACH,sBAAyB,SAAsE,EACtE,OAAa;IACpC,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,SAAS,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;AAC/F,CAAC;AAED;IACE,YAAoB,SAAsE,EACtE,OAAa,EACb,MAAsB;QAFtB,cAAS,GAAT,SAAS,CAA6D;QACtE,YAAO,GAAP,OAAO,CAAM;QACb,WAAM,GAAN,MAAM,CAAgB;IAC1C,CAAC;IAED,IAAI,CAAC,QAA6B,EAAE,MAAW;QAC7C,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,eAAe,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IACpG,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,8BAAiC,UAAU;IAGzC,YAAY,WAA8B,EACtB,SAAsE,EACtE,OAAY,EACZ,MAAsB;QACxC,MAAM,WAAW,CAAC,CAAC;QAHD,cAAS,GAAT,SAAS,CAA6D;QACtE,YAAO,GAAP,OAAO,CAAK;QACZ,WAAM,GAAN,MAAM,CAAgB;QALlC,UAAK,GAAW,CAAC,CAAC;QAOxB,IAAI,CAAC,OAAO,GAAG,OAAO,IAAI,IAAI,CAAC;IACjC,CAAC;IAEO,cAAc,CAAC,eAAwB;QAC7C,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QACvC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,MAAM,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC;YACH,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAC/E,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,MAAM,CAAC;QACT,CAAC;QAED,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;YACZ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QAC7B,CAAC;IACH,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/exhaust.js b/node_modules/rxjs/_esm2015/operators/exhaust.js new file mode 100644 index 00000000..5b403308 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/exhaust.js @@ -0,0 +1,77 @@ +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/** + * Converts a higher-order Observable into a first-order Observable by dropping + * inner Observables while the previous inner Observable has not yet completed. + * + * Flattens an Observable-of-Observables by dropping the + * next inner Observables while the current inner is still executing. + * + * + * + * `exhaust` subscribes to an Observable that emits Observables, also known as a + * higher-order Observable. Each time it observes one of these emitted inner + * Observables, the output Observable begins emitting the items emitted by that + * inner Observable. So far, it behaves like {@link mergeAll}. However, + * `exhaust` ignores every new inner Observable if the previous Observable has + * not yet completed. Once that one completes, it will accept and flatten the + * next inner Observable and repeat this process. + * + * @example Run a finite timer for each click, only if there is no currently active timer + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000).take(5)); + * var result = higherOrder.exhaust(); + * result.subscribe(x => console.log(x)); + * + * @see {@link combineAll} + * @see {@link concatAll} + * @see {@link switch} + * @see {@link mergeAll} + * @see {@link exhaustMap} + * @see {@link zipAll} + * + * @return {Observable} An Observable that takes a source of Observables and propagates the first observable + * exclusively until it completes before subscribing to the next. + * @method exhaust + * @owner Observable + */ +export function exhaust() { + return (source) => source.lift(new SwitchFirstOperator()); +} +class SwitchFirstOperator { + call(subscriber, source) { + return source.subscribe(new SwitchFirstSubscriber(subscriber)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class SwitchFirstSubscriber extends OuterSubscriber { + constructor(destination) { + super(destination); + this.hasCompleted = false; + this.hasSubscription = false; + } + _next(value) { + if (!this.hasSubscription) { + this.hasSubscription = true; + this.add(subscribeToResult(this, value)); + } + } + _complete() { + this.hasCompleted = true; + if (!this.hasSubscription) { + this.destination.complete(); + } + } + notifyComplete(innerSub) { + this.remove(innerSub); + this.hasSubscription = false; + if (this.hasCompleted) { + this.destination.complete(); + } + } +} +//# sourceMappingURL=exhaust.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/exhaust.js.map b/node_modules/rxjs/_esm2015/operators/exhaust.js.map new file mode 100644 index 00000000..5adec09a --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/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,CAAC,YAAY,CAAC,CAAC,CAAC;YACtB,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/exhaustMap.js b/node_modules/rxjs/_esm2015/operators/exhaustMap.js new file mode 100644 index 00000000..5cc403ba --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/exhaustMap.js @@ -0,0 +1,128 @@ +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/* tslint:enable:max-line-length */ +/** + * Projects each source value to an Observable which is merged in the output + * Observable only if the previous projected Observable has completed. + * + * Maps each value to an Observable, then flattens all of + * these inner Observables using {@link exhaust}. + * + * + * + * Returns an Observable that emits items based on applying a function that you + * supply to each item emitted by the source Observable, where that function + * returns an (so-called "inner") Observable. When it projects a source value to + * an Observable, the output Observable begins emitting the items emitted by + * that projected Observable. However, `exhaustMap` ignores every new projected + * Observable if the previous projected Observable has not yet completed. Once + * that one completes, it will accept and flatten the next projected Observable + * and repeat this process. + * + * @example Run a finite timer for each click, only if there is no currently active timer + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.exhaustMap((ev) => Rx.Observable.interval(1000).take(5)); + * result.subscribe(x => console.log(x)); + * + * @see {@link concatMap} + * @see {@link exhaust} + * @see {@link mergeMap} + * @see {@link switchMap} + * + * @param {function(value: T, ?index: number): ObservableInput} project A function + * that, when applied to an item emitted by the source Observable, returns an + * Observable. + * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] + * A function to produce the value on the output Observable based on the values + * and the indices of the source (outer) emission and the inner Observable + * emission. The arguments passed to this function are: + * - `outerValue`: the value that came from the source + * - `innerValue`: the value that came from the projected Observable + * - `outerIndex`: the "index" of the value that came from the source + * - `innerIndex`: the "index" of the value from the projected Observable + * @return {Observable} An Observable containing projected Observables + * of each item of the source, ignoring projected Observables that start before + * their preceding Observable has completed. + * @method exhaustMap + * @owner Observable + */ +export function exhaustMap(project, resultSelector) { + return (source) => source.lift(new SwitchFirstMapOperator(project, resultSelector)); +} +class SwitchFirstMapOperator { + constructor(project, resultSelector) { + this.project = project; + this.resultSelector = resultSelector; + } + call(subscriber, source) { + return source.subscribe(new SwitchFirstMapSubscriber(subscriber, this.project, this.resultSelector)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class SwitchFirstMapSubscriber extends OuterSubscriber { + constructor(destination, project, resultSelector) { + super(destination); + this.project = project; + this.resultSelector = resultSelector; + this.hasSubscription = false; + this.hasCompleted = false; + this.index = 0; + } + _next(value) { + if (!this.hasSubscription) { + this.tryNext(value); + } + } + tryNext(value) { + const index = this.index++; + const destination = this.destination; + try { + const result = this.project(value, index); + this.hasSubscription = true; + this.add(subscribeToResult(this, result, value, index)); + } + catch (err) { + destination.error(err); + } + } + _complete() { + this.hasCompleted = true; + if (!this.hasSubscription) { + this.destination.complete(); + } + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + const { resultSelector, destination } = this; + if (resultSelector) { + this.trySelectResult(outerValue, innerValue, outerIndex, innerIndex); + } + else { + destination.next(innerValue); + } + } + trySelectResult(outerValue, innerValue, outerIndex, innerIndex) { + const { resultSelector, destination } = this; + try { + const result = resultSelector(outerValue, innerValue, outerIndex, innerIndex); + destination.next(result); + } + catch (err) { + destination.error(err); + } + } + notifyError(err) { + this.destination.error(err); + } + notifyComplete(innerSub) { + this.remove(innerSub); + this.hasSubscription = false; + if (this.hasCompleted) { + this.destination.complete(); + } + } +} +//# sourceMappingURL=exhaustMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/exhaustMap.js.map b/node_modules/rxjs/_esm2015/operators/exhaustMap.js.map new file mode 100644 index 00000000..5f1c28f6 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/exhaustMap.js.map @@ -0,0 +1 @@ +{"version":3,"file":"exh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,IAAI,CAAC,MAAM,CAAC,CAAC;QAC3B,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACzB,CAAC;IACH,CAAC;IAED,WAAW,CAAC,GAAQ;QAClB,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAED,cAAc,CAAC,QAAsB;QACnC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAEtB,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,EAAE,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;YACtB,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/expand.js b/node_modules/rxjs/_esm2015/operators/expand.js new file mode 100644 index 00000000..1dd88fd5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/expand.js @@ -0,0 +1,137 @@ +import { tryCatch } from '../util/tryCatch'; +import { errorObject } from '../util/errorObject'; +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/* tslint:enable:max-line-length */ +/** + * Recursively projects each source value to an Observable which is merged in + * the output Observable. + * + * It's similar to {@link mergeMap}, but applies the + * projection function to every source value as well as every output value. + * It's recursive. + * + * + * + * Returns an Observable that emits items based on applying a function that you + * supply to each item emitted by the source Observable, where that function + * returns an Observable, and then merging those resulting Observables and + * emitting the results of this merger. *Expand* will re-emit on the output + * Observable every source value. Then, each output value is given to the + * `project` function which returns an inner Observable to be merged on the + * output Observable. Those output values resulting from the projection are also + * given to the `project` function to produce new output values. This is how + * *expand* behaves recursively. + * + * @example Start emitting the powers of two on every click, at most 10 of them + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var powersOfTwo = clicks + * .mapTo(1) + * .expand(x => Rx.Observable.of(2 * x).delay(1000)) + * .take(10); + * powersOfTwo.subscribe(x => console.log(x)); + * + * @see {@link mergeMap} + * @see {@link mergeScan} + * + * @param {function(value: T, index: number) => Observable} project A function + * that, when applied to an item emitted by the source or the output Observable, + * returns an Observable. + * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input + * Observables being subscribed to concurrently. + * @param {Scheduler} [scheduler=null] The IScheduler to use for subscribing to + * each projected inner Observable. + * @return {Observable} An Observable that emits the source values and also + * result of applying the projection function to each value emitted on the + * output Observable and and merging the results of the Observables obtained + * from this transformation. + * @method expand + * @owner Observable + */ +export function expand(project, concurrent = Number.POSITIVE_INFINITY, scheduler = undefined) { + concurrent = (concurrent || 0) < 1 ? Number.POSITIVE_INFINITY : concurrent; + return (source) => source.lift(new ExpandOperator(project, concurrent, scheduler)); +} +export class ExpandOperator { + constructor(project, concurrent, scheduler) { + this.project = project; + this.concurrent = concurrent; + this.scheduler = scheduler; + } + call(subscriber, source) { + return source.subscribe(new ExpandSubscriber(subscriber, this.project, this.concurrent, this.scheduler)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class ExpandSubscriber extends OuterSubscriber { + constructor(destination, project, concurrent, scheduler) { + super(destination); + this.project = project; + this.concurrent = concurrent; + this.scheduler = scheduler; + this.index = 0; + this.active = 0; + this.hasCompleted = false; + if (concurrent < Number.POSITIVE_INFINITY) { + this.buffer = []; + } + } + static dispatch(arg) { + const { subscriber, result, value, index } = arg; + subscriber.subscribeToProjection(result, value, index); + } + _next(value) { + const destination = this.destination; + if (destination.closed) { + this._complete(); + return; + } + const index = this.index++; + if (this.active < this.concurrent) { + destination.next(value); + let result = tryCatch(this.project)(value, index); + if (result === errorObject) { + destination.error(errorObject.e); + } + else if (!this.scheduler) { + this.subscribeToProjection(result, value, index); + } + else { + const state = { subscriber: this, result, value, index }; + this.add(this.scheduler.schedule(ExpandSubscriber.dispatch, 0, state)); + } + } + else { + this.buffer.push(value); + } + } + subscribeToProjection(result, value, index) { + this.active++; + this.add(subscribeToResult(this, result, value, index)); + } + _complete() { + this.hasCompleted = true; + if (this.hasCompleted && this.active === 0) { + this.destination.complete(); + } + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + this._next(innerValue); + } + notifyComplete(innerSub) { + const buffer = this.buffer; + this.remove(innerSub); + this.active--; + if (buffer && buffer.length > 0) { + this._next(buffer.shift()); + } + if (this.hasCompleted && this.active === 0) { + this.destination.complete(); + } + } +} +//# sourceMappingURL=expand.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/expand.js.map b/node_modules/rxjs/_esm2015/operators/expand.js.map new file mode 100644 index 00000000..4940e9c0 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/expand.js.map @@ -0,0 +1 @@ +{"version":3,"file":"expand.js","sourceRoot":"","sources":["../../src/operators/expand.ts"],"names":[],"mappings":"OAIO,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAE1C,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAM7D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,uBAA6B,OAAmD,EACnD,UAAU,GAAW,MAAM,CAAC,iBAAiB,EAC7C,SAAS,GAAe,SAAS;IAC5D,UAAU,GAAG,CAAC,UAAU,IAAI,CAAC,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,iBAAiB,GAAG,UAAU,CAAC;IAE3E,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC;AACpG,CAAC;AAED;IACE,YAAoB,OAAmD,EACnD,UAAkB,EAClB,SAAqB;QAFrB,YAAO,GAAP,OAA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AAC,CAAC;YAC3C,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;IAED,UAAU,CAAC,UAAa,EAAE,UAAa,EAC5B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;IACzB,CAAC;IAED,cAAc,CAAC,QAAsB;QACnC,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QACtB,IAAI,CAAC,MAAM,EAAE,CAAC;QACd,EAAE,CAAC,CAAC,MAAM,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;YAChC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;QAC7B,CAAC;QACD,EAAE,CAAC,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;YAC3C,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/filter.js b/node_modules/rxjs/_esm2015/operators/filter.js new file mode 100644 index 00000000..e4ac7e61 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/filter.js @@ -0,0 +1,84 @@ +import { Subscriber } from '../Subscriber'; +/* tslint:enable:max-line-length */ +/** + * Filter items emitted by the source Observable by only emitting those that + * satisfy a specified predicate. + * + * Like + * [Array.prototype.filter()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter), + * it only emits a value from the source if it passes a criterion function. + * + * + * + * Similar to the well-known `Array.prototype.filter` method, this operator + * takes values from the source Observable, passes them through a `predicate` + * function and only emits those values that yielded `true`. + * + * @example Emit only click events whose target was a DIV element + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var clicksOnDivs = clicks.filter(ev => ev.target.tagName === 'DIV'); + * clicksOnDivs.subscribe(x => console.log(x)); + * + * @see {@link distinct} + * @see {@link distinctUntilChanged} + * @see {@link distinctUntilKeyChanged} + * @see {@link ignoreElements} + * @see {@link partition} + * @see {@link skip} + * + * @param {function(value: T, index: number): boolean} predicate A function that + * evaluates each value emitted by the source Observable. If it returns `true`, + * the value is emitted, if `false` the value is not passed to the output + * Observable. The `index` parameter is the number `i` for the i-th source + * emission that has happened since the subscription, starting from the number + * `0`. + * @param {any} [thisArg] An optional argument to determine the value of `this` + * in the `predicate` function. + * @return {Observable} An Observable of values from the source that were + * allowed by the `predicate` function. + * @method filter + * @owner Observable + */ +export function filter(predicate, thisArg) { + return function filterOperatorFunction(source) { + return source.lift(new FilterOperator(predicate, thisArg)); + }; +} +class FilterOperator { + constructor(predicate, thisArg) { + this.predicate = predicate; + this.thisArg = thisArg; + } + call(subscriber, source) { + return source.subscribe(new FilterSubscriber(subscriber, this.predicate, this.thisArg)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class FilterSubscriber extends Subscriber { + constructor(destination, predicate, thisArg) { + super(destination); + this.predicate = predicate; + this.thisArg = thisArg; + this.count = 0; + } + // the try catch block below is left specifically for + // optimization and perf reasons. a tryCatcher is not necessary here. + _next(value) { + let result; + try { + result = this.predicate.call(this.thisArg, value, this.count++); + } + catch (err) { + this.destination.error(err); + return; + } + if (result) { + this.destination.next(value); + } + } +} +//# sourceMappingURL=filter.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/filter.js.map b/node_modules/rxjs/_esm2015/operators/filter.js.map new file mode 100644 index 00000000..f36f38f8 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/filter.js.map @@ -0,0 +1 @@ +{"version":3,"file":"filter.js","sourceRoot":"","sources":["../../src/operators/filter.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAU1C,mCAAmC;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CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/finalize.js b/node_modules/rxjs/_esm2015/operators/finalize.js new file mode 100644 index 00000000..c0662f3d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/finalize.js @@ -0,0 +1,33 @@ +import { Subscriber } from '../Subscriber'; +import { Subscription } from '../Subscription'; +/** + * Returns an Observable that mirrors the source Observable, but will call a specified function when + * the source terminates on complete or error. + * @param {function} callback Function to be called when source terminates. + * @return {Observable} An Observable that mirrors the source, but will call the specified function on termination. + * @method finally + * @owner Observable + */ +export function finalize(callback) { + return (source) => source.lift(new FinallyOperator(callback)); +} +class FinallyOperator { + constructor(callback) { + this.callback = callback; + } + call(subscriber, source) { + return source.subscribe(new FinallySubscriber(subscriber, this.callback)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class FinallySubscriber extends Subscriber { + constructor(destination, callback) { + super(destination); + this.add(new Subscription(callback)); + } +} +//# sourceMappingURL=finalize.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/finalize.js.map b/node_modules/rxjs/_esm2015/operators/finalize.js.map new file mode 100644 index 00000000..036d8249 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/finalize.js.map @@ -0,0 +1 @@ +{"version":3,"file":"finalize.js","sourceRoot":"","sources":["../../src/operators/finalize.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,YAAY,EAAiB,MAAM,iBAAiB;AAI7D;;;;;;;GAOG;AACH,yBAA4B,QAAoB;IAC9C,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC;AAC/E,CAAC;AAED;IACE,YAAoB,QAAoB;QAApB,aAAQ,GAAR,QAAQ,CAAY;IACxC,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,iBAAiB,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC5E,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,gCAAmC,UAAU;IAC3C,YAAY,WAA0B,EAAE,QAAoB;QAC1D,MAAM,WAAW,CAAC,CAAC;QACnB,IAAI,CAAC,GAAG,CAAC,IAAI,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAC;IACvC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/find.js b/node_modules/rxjs/_esm2015/operators/find.js new file mode 100644 index 00000000..645ba6d8 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/find.js @@ -0,0 +1,88 @@ +import { Subscriber } from '../Subscriber'; +/** + * Emits only the first value emitted by the source Observable that meets some + * condition. + * + * Finds the first value that passes some test and emits + * that. + * + * + * + * `find` searches for the first item in the source Observable that matches the + * specified condition embodied by the `predicate`, and returns the first + * occurrence in the source. Unlike {@link first}, the `predicate` is required + * in `find`, and does not emit an error if a valid value is not found. + * + * @example Find and emit the first click that happens on a DIV element + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.find(ev => ev.target.tagName === 'DIV'); + * result.subscribe(x => console.log(x)); + * + * @see {@link filter} + * @see {@link first} + * @see {@link findIndex} + * @see {@link take} + * + * @param {function(value: T, index: number, source: Observable): boolean} predicate + * A function called with each item to test for condition matching. + * @param {any} [thisArg] An optional argument to determine the value of `this` + * in the `predicate` function. + * @return {Observable} An Observable of the first item that matches the + * condition. + * @method find + * @owner Observable + */ +export function find(predicate, thisArg) { + if (typeof predicate !== 'function') { + throw new TypeError('predicate is not a function'); + } + return (source) => source.lift(new FindValueOperator(predicate, source, false, thisArg)); +} +export class FindValueOperator { + constructor(predicate, source, yieldIndex, thisArg) { + this.predicate = predicate; + this.source = source; + this.yieldIndex = yieldIndex; + this.thisArg = thisArg; + } + call(observer, source) { + return source.subscribe(new FindValueSubscriber(observer, this.predicate, this.source, this.yieldIndex, this.thisArg)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class FindValueSubscriber extends Subscriber { + constructor(destination, predicate, source, yieldIndex, thisArg) { + super(destination); + this.predicate = predicate; + this.source = source; + this.yieldIndex = yieldIndex; + this.thisArg = thisArg; + this.index = 0; + } + notifyComplete(value) { + const destination = this.destination; + destination.next(value); + destination.complete(); + } + _next(value) { + const { predicate, thisArg } = this; + const index = this.index++; + try { + const result = predicate.call(thisArg || this, value, index, this.source); + if (result) { + this.notifyComplete(this.yieldIndex ? index : value); + } + } + catch (err) { + this.destination.error(err); + } + } + _complete() { + this.notifyComplete(this.yieldIndex ? -1 : undefined); + } +} +//# sourceMappingURL=find.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/find.js.map b/node_modules/rxjs/_esm2015/operators/find.js.map new file mode 100644 index 00000000..ac74dbbf --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/find.js.map @@ -0,0 +1 @@ +{"version":3,"file":"find.js","sourceRoot":"","sources":["../../src/operators/find.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;AAW1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAAwB,SAAsE,EACtE,OAAa;IACnC,EAAE,CAAC,CAAC,OAAO,SAAS,KAAK,UAAU,CAAC,CAAC,CAAC;QACpC,MAAM,IAAI,SAAS,CAAC,6BAA6B,CAAC,CAAC;IACrD,CAAC;IACD,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC;AAC1G,CAAC;AAED;IACE,YAAoB,SAAsE,EACtE,MAAqB,EACrB,UAAmB,EACnB,OA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U,GAAG,KAAK,GAAG,KAAK,CAAC,CAAC;YACvD,CAAC;QACH,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC9B,CAAC;IACH,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC;IACxD,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/findIndex.js b/node_modules/rxjs/_esm2015/operators/findIndex.js new file mode 100644 index 00000000..7703e713 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/findIndex.js @@ -0,0 +1,39 @@ +import { FindValueOperator } from '../operators/find'; +/** + * Emits only the index of the first value emitted by the source Observable that + * meets some condition. + * + * It's like {@link find}, but emits the index of the + * found value, not the value itself. + * + * + * + * `findIndex` searches for the first item in the source Observable that matches + * the specified condition embodied by the `predicate`, and returns the + * (zero-based) index of the first occurrence in the source. Unlike + * {@link first}, the `predicate` is required in `findIndex`, and does not emit + * an error if a valid value is not found. + * + * @example Emit the index of first click that happens on a DIV element + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.findIndex(ev => ev.target.tagName === 'DIV'); + * result.subscribe(x => console.log(x)); + * + * @see {@link filter} + * @see {@link find} + * @see {@link first} + * @see {@link take} + * + * @param {function(value: T, index: number, source: Observable): boolean} predicate + * A function called with each item to test for condition matching. + * @param {any} [thisArg] An optional argument to determine the value of `this` + * in the `predicate` function. + * @return {Observable} An Observable of the index of the first item that + * matches the condition. + * @method find + * @owner Observable + */ +export function findIndex(predicate, thisArg) { + return (source) => source.lift(new FindValueOperator(predicate, source, true, thisArg)); +} +//# sourceMappingURL=findIndex.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/findIndex.js.map b/node_modules/rxjs/_esm2015/operators/findIndex.js.map new file mode 100644 index 00000000..458d0a10 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/findIndex.js.map @@ -0,0 +1 @@ +{"version":3,"file":"findIndex.js","sourceRoot":"","sources":["../../src/operators/findIndex.ts"],"names":[],"mappings":"OACO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,0BAA6B,SAAsE,EACtE,OAAa;IACxC,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,CAAC,CAAoB,CAAC;AAC5H,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/first.js b/node_modules/rxjs/_esm2015/operators/first.js new file mode 100644 index 00000000..6b012f08 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/first.js @@ -0,0 +1,142 @@ +import { Subscriber } from '../Subscriber'; +import { EmptyError } from '../util/EmptyError'; +/** + * Emits only the first value (or the first value that meets some condition) + * emitted by the source Observable. + * + * Emits only the first value. Or emits only the first + * value that passes some test. + * + * + * + * If called with no arguments, `first` emits the first value of the source + * Observable, then completes. If called with a `predicate` function, `first` + * emits the first value of the source that matches the specified condition. It + * may also take a `resultSelector` function to produce the output value from + * the input value, and a `defaultValue` to emit in case the source completes + * before it is able to emit a valid value. Throws an error if `defaultValue` + * was not provided and a matching element is not found. + * + * @example Emit only the first click that happens on the DOM + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.first(); + * result.subscribe(x => console.log(x)); + * + * @example Emits the first click that happens on a DIV + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.first(ev => ev.target.tagName === 'DIV'); + * result.subscribe(x => console.log(x)); + * + * @see {@link filter} + * @see {@link find} + * @see {@link take} + * + * @throws {EmptyError} Delivers an EmptyError to the Observer's `error` + * callback if the Observable completes before any `next` notification was sent. + * + * @param {function(value: T, index: number, source: Observable): boolean} [predicate] + * An optional function called with each item to test for condition matching. + * @param {function(value: T, index: number): R} [resultSelector] A function to + * produce the value on the output Observable based on the values + * and the indices of the source Observable. The arguments passed to this + * function are: + * - `value`: the value that was emitted on the source. + * - `index`: the "index" of the value from the source. + * @param {R} [defaultValue] The default value emitted in case no valid value + * was found on the source. + * @return {Observable} An Observable of the first item that matches the + * condition. + * @method first + * @owner Observable + */ +export function first(predicate, resultSelector, defaultValue) { + return (source) => source.lift(new FirstOperator(predicate, resultSelector, defaultValue, source)); +} +class FirstOperator { + constructor(predicate, resultSelector, defaultValue, source) { + this.predicate = predicate; + this.resultSelector = resultSelector; + this.defaultValue = defaultValue; + this.source = source; + } + call(observer, source) { + return source.subscribe(new FirstSubscriber(observer, this.predicate, this.resultSelector, this.defaultValue, this.source)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class FirstSubscriber extends Subscriber { + constructor(destination, predicate, resultSelector, defaultValue, source) { + super(destination); + this.predicate = predicate; + this.resultSelector = resultSelector; + this.defaultValue = defaultValue; + this.source = source; + this.index = 0; + this.hasCompleted = false; + this._emitted = false; + } + _next(value) { + const index = this.index++; + if (this.predicate) { + this._tryPredicate(value, index); + } + else { + this._emit(value, index); + } + } + _tryPredicate(value, index) { + let result; + try { + result = this.predicate(value, index, this.source); + } + catch (err) { + this.destination.error(err); + return; + } + if (result) { + this._emit(value, index); + } + } + _emit(value, index) { + if (this.resultSelector) { + this._tryResultSelector(value, index); + return; + } + this._emitFinal(value); + } + _tryResultSelector(value, index) { + let result; + try { + result = this.resultSelector(value, index); + } + catch (err) { + this.destination.error(err); + return; + } + this._emitFinal(result); + } + _emitFinal(value) { + const destination = this.destination; + if (!this._emitted) { + this._emitted = true; + destination.next(value); + destination.complete(); + this.hasCompleted = true; + } + } + _complete() { + const destination = this.destination; + if (!this.hasCompleted && typeof this.defaultValue !== 'undefined') { + destination.next(this.defaultValue); + destination.complete(); + } + else if (!this.hasCompleted) { + destination.error(new EmptyError); + } + } +} +//# sourceMappingURL=first.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/first.js.map b/node_modules/rxjs/_esm2015/operators/first.js.map new file mode 100644 index 00000000..f019f165 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/first.js.map @@ -0,0 +1 @@ +{"version":3,"file":"first.js","sourceRoot":"","sources":["../../src/operators/first.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,UAAU,EAAE,MAAM,oBAAoB;AAiB/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,sBAA4B,SAAuE,EACvE,cAAwD,EACxD,YAAgB;IAC1C,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC;AACpH,CAAC;AAED;IACE,YAAoB,SAAuE,EACvE,cAAwD,EACxD,YAAkB,EAClB,MAAsB;QAHtB,cAAS,GAAT,SAAS,CAA8D;QACvE,mBAAc,GAAd,cAAc,CAA0C;QACxD,iBAAY,GAAZ,YAAY,CAAM;QAClB,WAAM,GAAN,MAAM,CAAgB;IAC1C,CAAC;IAED,IAAI,CAAC,QAAuB,EAAE,MAAW;QACvC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,eAAe,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,cAAc,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IAC9H,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,8BAAoC,UAAU;IAK5C,YAAY,WAA0B,EAClB,SAAuE,EACvE,cAAwD,EACxD,YAAkB,EAClB,MAAsB;QACxC,MAAM,WAAW,CAAC,CAAC;QAJD,cAAS,GAAT,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.js new file mode 100644 index 00000000..c5266b15 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/groupBy.js @@ -0,0 +1,257 @@ +import { Subscriber } from '../Subscriber'; +import { Subscription } from '../Subscription'; +import { Observable } from '../Observable'; +import { Subject } from '../Subject'; +import { Map } from '../util/Map'; +import { FastMap } from '../util/FastMap'; +/* tslint:enable:max-line-length */ +/** + * Groups the items emitted by an Observable according to a specified criterion, + * and emits these grouped items as `GroupedObservables`, one + * {@link GroupedObservable} per group. + * + * + * + * @example Group objects by id and return as array + * Observable.of({id: 1, name: 'aze1'}, + * {id: 2, name: 'sf2'}, + * {id: 2, name: 'dg2'}, + * {id: 1, name: 'erg1'}, + * {id: 1, name: 'df1'}, + * {id: 2, name: 'sfqfb2'}, + * {id: 3, name: 'qfs3'}, + * {id: 2, name: 'qsgqsfg2'} + * ) + * .groupBy(p => p.id) + * .flatMap( (group$) => group$.reduce((acc, cur) => [...acc, cur], [])) + * .subscribe(p => console.log(p)); + * + * // displays: + * // [ { id: 1, name: 'aze1' }, + * // { id: 1, name: 'erg1' }, + * // { id: 1, name: 'df1' } ] + * // + * // [ { id: 2, name: 'sf2' }, + * // { id: 2, name: 'dg2' }, + * // { id: 2, name: 'sfqfb2' }, + * // { id: 2, name: 'qsgqsfg2' } ] + * // + * // [ { id: 3, name: 'qfs3' } ] + * + * @example Pivot data on the id field + * Observable.of({id: 1, name: 'aze1'}, + * {id: 2, name: 'sf2'}, + * {id: 2, name: 'dg2'}, + * {id: 1, name: 'erg1'}, + * {id: 1, name: 'df1'}, + * {id: 2, name: 'sfqfb2'}, + * {id: 3, name: 'qfs1'}, + * {id: 2, name: 'qsgqsfg2'} + * ) + * .groupBy(p => p.id, p => p.name) + * .flatMap( (group$) => group$.reduce((acc, cur) => [...acc, cur], ["" + group$.key])) + * .map(arr => ({'id': parseInt(arr[0]), 'values': arr.slice(1)})) + * .subscribe(p => console.log(p)); + * + * // displays: + * // { id: 1, values: [ 'aze1', 'erg1', 'df1' ] } + * // { id: 2, values: [ 'sf2', 'dg2', 'sfqfb2', 'qsgqsfg2' ] } + * // { id: 3, values: [ 'qfs1' ] } + * + * @param {function(value: T): K} keySelector A function that extracts the key + * for each item. + * @param {function(value: T): R} [elementSelector] A function that extracts the + * return element for each item. + * @param {function(grouped: GroupedObservable): Observable} [durationSelector] + * A function that returns an Observable to determine how long each group should + * exist. + * @return {Observable>} An Observable that emits + * GroupedObservables, each of which corresponds to a unique key value and each + * of which emits those items from the source Observable that share that key + * value. + * @method groupBy + * @owner Observable + */ +export function groupBy(keySelector, elementSelector, durationSelector, subjectSelector) { + return (source) => source.lift(new GroupByOperator(keySelector, elementSelector, durationSelector, subjectSelector)); +} +class GroupByOperator { + constructor(keySelector, elementSelector, durationSelector, subjectSelector) { + this.keySelector = keySelector; + this.elementSelector = elementSelector; + this.durationSelector = durationSelector; + this.subjectSelector = subjectSelector; + } + call(subscriber, source) { + return source.subscribe(new GroupBySubscriber(subscriber, this.keySelector, this.elementSelector, this.durationSelector, this.subjectSelector)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class GroupBySubscriber extends Subscriber { + constructor(destination, keySelector, elementSelector, durationSelector, subjectSelector) { + super(destination); + this.keySelector = keySelector; + this.elementSelector = elementSelector; + this.durationSelector = durationSelector; + this.subjectSelector = subjectSelector; + this.groups = null; + this.attemptedToUnsubscribe = false; + this.count = 0; + } + _next(value) { + let key; + try { + key = this.keySelector(value); + } + catch (err) { + this.error(err); + return; + } + this._group(value, key); + } + _group(value, key) { + let groups = this.groups; + if (!groups) { + groups = this.groups = typeof key === 'string' ? new FastMap() : new Map(); + } + let group = groups.get(key); + let element; + if (this.elementSelector) { + try { + element = this.elementSelector(value); + } + catch (err) { + this.error(err); + } + } + else { + element = value; + } + if (!group) { + group = this.subjectSelector ? this.subjectSelector() : new Subject(); + groups.set(key, group); + const groupedObservable = new GroupedObservable(key, group, this); + this.destination.next(groupedObservable); + if (this.durationSelector) { + let duration; + try { + duration = this.durationSelector(new GroupedObservable(key, group)); + } + catch (err) { + this.error(err); + return; + } + this.add(duration.subscribe(new GroupDurationSubscriber(key, group, this))); + } + } + if (!group.closed) { + group.next(element); + } + } + _error(err) { + const groups = this.groups; + if (groups) { + groups.forEach((group, key) => { + group.error(err); + }); + groups.clear(); + } + this.destination.error(err); + } + _complete() { + const groups = this.groups; + if (groups) { + groups.forEach((group, key) => { + group.complete(); + }); + groups.clear(); + } + this.destination.complete(); + } + removeGroup(key) { + this.groups.delete(key); + } + unsubscribe() { + if (!this.closed) { + this.attemptedToUnsubscribe = true; + if (this.count === 0) { + super.unsubscribe(); + } + } + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class GroupDurationSubscriber extends Subscriber { + constructor(key, group, parent) { + super(group); + this.key = key; + this.group = group; + this.parent = parent; + } + _next(value) { + this.complete(); + } + _unsubscribe() { + const { parent, key } = this; + this.key = this.parent = null; + if (parent) { + parent.removeGroup(key); + } + } +} +/** + * An Observable representing values belonging to the same group represented by + * a common key. The values emitted by a GroupedObservable come from the source + * Observable. The common key is available as the field `key` on a + * GroupedObservable instance. + * + * @class GroupedObservable + */ +export class GroupedObservable extends Observable { + constructor(key, groupSubject, refCountSubscription) { + super(); + this.key = key; + this.groupSubject = groupSubject; + this.refCountSubscription = refCountSubscription; + } + _subscribe(subscriber) { + const subscription = new Subscription(); + const { refCountSubscription, groupSubject } = this; + if (refCountSubscription && !refCountSubscription.closed) { + subscription.add(new InnerRefCountSubscription(refCountSubscription)); + } + subscription.add(groupSubject.subscribe(subscriber)); + return subscription; + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class InnerRefCountSubscription extends Subscription { + constructor(parent) { + super(); + this.parent = parent; + parent.count++; + } + unsubscribe() { + const parent = this.parent; + if (!parent.closed && !this.closed) { + super.unsubscribe(); + parent.count -= 1; + if (parent.count === 0 && parent.attemptedToUnsubscribe) { + parent.unsubscribe(); + } + } + } +} +//# sourceMappingURL=groupBy.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/groupBy.js.map b/node_modules/rxjs/_esm2015/operators/groupBy.js.map new file mode 100644 index 00000000..cf5c527d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/groupBy.js.map @@ -0,0 +1 @@ +{"version":3,"file":"groupBy.js","sourceRoot":"","sources":["../../src/operators/groupBy.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,YAAY,EAAE,MAAM,iBAAiB;OACvC,EAAE,UAAU,EAAE,MAAM,eAAe;OAEnC,EAAE,OAAO,EAAE,MAAM,YAAY;OAC7B,EAAE,GAAG,EAAE,MAAM,aAAa;OAC1B,EAAE,OAAO,EAAE,MAAM,iBAAiB;AAQzC,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AACH,wBAAiC,WAA4B,EAC5B,eAA0C,EAC1C,gBAAwE,EACxE,eAAkC;IACjE,MAAM,CAAC,CAAC,MAAqB,KAC3B,MAAM,CAAC,IAAI,CAAC,IAAI,eAAe,CAAC,WAAW,EAAE,eAAe,EAAE,gBAAgB,EAAE,eAAe,CAAC,CAAC,CAAC;AACtG,CAAC;AASD;IACE,YAAoB,WAA4B,EAC5B,eAA0C,EAC1C,gBAAwE,EACxE,eAAkC;QAHlC,gBAAW,GAAX,WAAW,CAAiB;QAC5B,oBAAe,GAAf,eAAe,CAA2B;QAC1C,qBAAgB,GAAhB,gBAAgB,CAAwD;QACxE,oBAAe,GAAf,eAAe,CAAmB;IACtD,CAAC;IAED,IAAI,CAAC,UAA+C,EAAE,MAAW;QAC/D,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,iBAAiB,CAC3C,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,gBAAgB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ACT,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YACnC,KAAK,CAAC,WAAW,EAAE,CAAC;YACpB,MAAM,CAAC,KAAK,IAAI,CAAC,CAAC;YAClB,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,KAAK,CAAC,IAAI,MAAM,CAAC,sBAAsB,CAAC,CAAC,CAAC;gBACxD,MAAM,CAAC,WAAW,EAAE,CAAC;YACvB,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/ignoreElements.js b/node_modules/rxjs/_esm2015/operators/ignoreElements.js new file mode 100644 index 00000000..8569612a --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/ignoreElements.js @@ -0,0 +1,33 @@ +import { Subscriber } from '../Subscriber'; +import { noop } from '../util/noop'; +/** + * Ignores all items emitted by the source Observable and only passes calls of `complete` or `error`. + * + * + * + * @return {Observable} An empty Observable that only calls `complete` + * or `error`, based on which one is called by the source Observable. + * @method ignoreElements + * @owner Observable + */ +export function ignoreElements() { + return function ignoreElementsOperatorFunction(source) { + return source.lift(new IgnoreElementsOperator()); + }; +} +class IgnoreElementsOperator { + call(subscriber, source) { + return source.subscribe(new IgnoreElementsSubscriber(subscriber)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class IgnoreElementsSubscriber extends Subscriber { + _next(unused) { + noop(); + } +} +//# sourceMappingURL=ignoreElements.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/ignoreElements.js.map b/node_modules/rxjs/_esm2015/operators/ignoreElements.js.map new file mode 100644 index 00000000..667d020c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/ignoreElements.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ignoreElements.js","sourceRoot":"","sources":["../../src/operators/ignoreElements.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,IAAI,EAAE,MAAM,cAAc;AAGnC;;;;;;;;;GASG;AACH;IACE,MAAM,CAAC,wCAAwC,MAAqB;QAClE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,sBAAsB,EAAE,CAAC,CAAC;IACnD,CAAC,CAAC;AACJ,CAAC;AAED;IACE,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,wBAAwB,CAAC,UAAU,CAAC,CAAC,CAAC;IACpE,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,uCAA0C,UAAU;IACxC,KAAK,CAAC,MAAS;QACvB,IAAI,EAAE,CAAC;IACT,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/isEmpty.js b/node_modules/rxjs/_esm2015/operators/isEmpty.js new file mode 100644 index 00000000..1f33bcf7 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/isEmpty.js @@ -0,0 +1,31 @@ +import { Subscriber } from '../Subscriber'; +export function isEmpty() { + return (source) => source.lift(new IsEmptyOperator()); +} +class IsEmptyOperator { + call(observer, source) { + return source.subscribe(new IsEmptySubscriber(observer)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class IsEmptySubscriber extends Subscriber { + constructor(destination) { + super(destination); + } + notifyComplete(isEmpty) { + const destination = this.destination; + destination.next(isEmpty); + destination.complete(); + } + _next(value) { + this.notifyComplete(false); + } + _complete() { + this.notifyComplete(true); + } +} +//# sourceMappingURL=isEmpty.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/isEmpty.js.map b/node_modules/rxjs/_esm2015/operators/isEmpty.js.map new file mode 100644 index 00000000..ebf2307c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/isEmpty.js.map @@ -0,0 +1 @@ +{"version":3,"file":"isEmpty.js","sourceRoot":"","sources":["../../src/operators/isEmpty.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAI1C;IACE,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,eAAe,EAAE,CAAC,CAAC;AACvE,CAAC;AAED;IACE,IAAI,CAAE,QAA6B,EAAE,MAAW;QAC9C,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC3D,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,gCAAgC,UAAU;IACxC,YAAY,WAAgC;QAC1C,MAAM,WAAW,CAAC,CAAC;IACrB,CAAC;IAEO,cAAc,CAAC,OAAgB;QACrC,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QAErC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1B,WAAW,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;IAES,KAAK,CAAC,KAAc;QAC5B,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/last.js b/node_modules/rxjs/_esm2015/operators/last.js new file mode 100644 index 00000000..0dedbdad --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/last.js @@ -0,0 +1,109 @@ +import { Subscriber } from '../Subscriber'; +import { EmptyError } from '../util/EmptyError'; +/* tslint:enable:max-line-length */ +/** + * Returns an Observable that emits only the last item emitted by the source Observable. + * It optionally takes a predicate function as a parameter, in which case, rather than emitting + * the last item from the source Observable, the resulting Observable will emit the last item + * from the source Observable that satisfies the predicate. + * + * + * + * @throws {EmptyError} Delivers an EmptyError to the Observer's `error` + * callback if the Observable completes before any `next` notification was sent. + * @param {function} predicate - The condition any source emitted item has to satisfy. + * @return {Observable} An Observable that emits only the last item satisfying the given condition + * from the source, or an NoSuchElementException if no such items are emitted. + * @throws - Throws if no items that match the predicate are emitted by the source Observable. + * @method last + * @owner Observable + */ +export function last(predicate, resultSelector, defaultValue) { + return (source) => source.lift(new LastOperator(predicate, resultSelector, defaultValue, source)); +} +class LastOperator { + constructor(predicate, resultSelector, defaultValue, source) { + this.predicate = predicate; + this.resultSelector = resultSelector; + this.defaultValue = defaultValue; + this.source = source; + } + call(observer, source) { + return source.subscribe(new LastSubscriber(observer, this.predicate, this.resultSelector, this.defaultValue, this.source)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class LastSubscriber extends Subscriber { + constructor(destination, predicate, resultSelector, defaultValue, source) { + super(destination); + this.predicate = predicate; + this.resultSelector = resultSelector; + this.defaultValue = defaultValue; + this.source = source; + this.hasValue = false; + this.index = 0; + if (typeof defaultValue !== 'undefined') { + this.lastValue = defaultValue; + this.hasValue = true; + } + } + _next(value) { + const index = this.index++; + if (this.predicate) { + this._tryPredicate(value, index); + } + else { + if (this.resultSelector) { + this._tryResultSelector(value, index); + return; + } + this.lastValue = value; + this.hasValue = true; + } + } + _tryPredicate(value, index) { + let result; + try { + result = this.predicate(value, index, this.source); + } + catch (err) { + this.destination.error(err); + return; + } + if (result) { + if (this.resultSelector) { + this._tryResultSelector(value, index); + return; + } + this.lastValue = value; + this.hasValue = true; + } + } + _tryResultSelector(value, index) { + let result; + try { + result = this.resultSelector(value, index); + } + catch (err) { + this.destination.error(err); + return; + } + this.lastValue = result; + this.hasValue = true; + } + _complete() { + const destination = this.destination; + if (this.hasValue) { + destination.next(this.lastValue); + destination.complete(); + } + else { + destination.error(new EmptyError); + } + } +} +//# sourceMappingURL=last.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/last.js.map b/node_modules/rxjs/_esm2015/operators/last.js.map new file mode 100644 index 00000000..6d787392 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/last.js.map @@ -0,0 +1 @@ +{"version":3,"file":"last.js","sourceRoot":"","sources":["../../src/operators/last.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,UAAU,EAAE,MAAM,oBAAoB;AAiB/C,mCAAmC;AAEnC;;;;;;;;;;;;;;;;GAgBG;AACH,qBAA2B,SAAuE,EACvE,cAAwD,EACxD,YAAgB;IACzC,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,YAAY,CAAC,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC;AACnH,CAAC;AAED;IACE,YAAoB,SAAuE,EACvE,cAAwD,EACxD,YAAkB,EAClB,MAAsB;QAHtB,cAAS,GAAT,SAAS,CAA8D;QACvE,mBAAc,GAAd,cAAc,CAA0C;QACxD,iBAAY,GAAZ,YAAY,CAAM;QAClB,WAAM,GAAN,MAAM,CAAgB;IAC1C,CAAC;IAED,IAAI,CAAC,QAAuB,EAAE,MAAW;QACvC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,cAAc,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,cAAc,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7H,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,6BAAmC,UAAU;IAK3C,YAAY,WAA0B,EAClB,SAAuE,EACvE,cAAwD,EACxD,YAAkB,EAClB,MAAsB;QACxC,MAAM,WAAW,CAAC,CAAC;QAJD,cAAS,GAAT,SAAS,CAA8D;QACvE,mBAAc,GAAd,cAAc,CAA0C;QACxD,iBAAY,GAAZ,YAAY,CAAM;QAClB,WAAM,GAAN,MAAM,CAAgB;QAPlC,aAAQ,GAAY,KAAK,CAAC;QAC1B,UAAK,GAAW,CAAC,CAAC;Q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AAC;YACvB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACvB,CAAC;IACH,CAAC;IAEO,kBAAkB,CAAC,KAAQ,EAAE,KAAa;QAChD,IAAI,MAAW,CAAC;QAChB,IAAI,CAAC;YACH,MAAM,GAAS,IAAK,CAAC,cAAc,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QACpD,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,MAAM,CAAC;QACT,CAAC;QACD,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC;QACxB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;IACvB,CAAC;IAES,SAAS;QACjB,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YAClB,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YACjC,WAAW,CAAC,QAAQ,EAAE,CAAC;QACzB,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,WAAW,CAAC,KAAK,CAAC,IAAI,UAAU,CAAC,CAAC;QACpC,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/map.js b/node_modules/rxjs/_esm2015/operators/map.js new file mode 100644 index 00000000..835e3c37 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/map.js @@ -0,0 +1,78 @@ +import { Subscriber } from '../Subscriber'; +/** + * Applies a given `project` function to each value emitted by the source + * Observable, and emits the resulting values as an Observable. + * + * Like [Array.prototype.map()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map), + * it passes each source value through a transformation function to get + * corresponding output values. + * + * + * + * Similar to the well known `Array.prototype.map` function, this operator + * applies a projection to each value and emits that projection in the output + * Observable. + * + * @example Map every click to the clientX position of that click + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var positions = clicks.map(ev => ev.clientX); + * positions.subscribe(x => console.log(x)); + * + * @see {@link mapTo} + * @see {@link pluck} + * + * @param {function(value: T, index: number): R} project The function to apply + * to each `value` emitted by the source Observable. The `index` parameter is + * the number `i` for the i-th emission that has happened since the + * subscription, starting from the number `0`. + * @param {any} [thisArg] An optional argument to define what `this` is in the + * `project` function. + * @return {Observable} An Observable that emits the values from the source + * Observable transformed by the given `project` function. + * @method map + * @owner Observable + */ +export function map(project, thisArg) { + return function mapOperation(source) { + if (typeof project !== 'function') { + throw new TypeError('argument is not a function. Are you looking for `mapTo()`?'); + } + return source.lift(new MapOperator(project, thisArg)); + }; +} +export class MapOperator { + constructor(project, thisArg) { + this.project = project; + this.thisArg = thisArg; + } + call(subscriber, source) { + return source.subscribe(new MapSubscriber(subscriber, this.project, this.thisArg)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class MapSubscriber extends Subscriber { + constructor(destination, project, thisArg) { + super(destination); + this.project = project; + this.count = 0; + this.thisArg = thisArg || this; + } + // NOTE: This looks unoptimized, but it's actually purposefully NOT + // using try/catch optimizations. + _next(value) { + let result; + try { + result = this.project.call(this.thisArg, value, this.count++); + } + catch (err) { + this.destination.error(err); + return; + } + this.destination.next(result); + } +} +//# sourceMappingURL=map.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/map.js.map b/node_modules/rxjs/_esm2015/operators/map.js.map new file mode 100644 index 00000000..e469120d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/map.js.map @@ -0,0 +1 @@ +{"version":3,"file":"map.js","sourceRoot":"","sources":["../../src/operators/map.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAI1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,oBAA0B,OAAuC,EAAE,OAAa;IAC9E,MAAM,CAAC,sBAAsB,M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IAChC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/mapTo.js b/node_modules/rxjs/_esm2015/operators/mapTo.js new file mode 100644 index 00000000..cacf1c02 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/mapTo.js @@ -0,0 +1,53 @@ +import { Subscriber } from '../Subscriber'; +/** + * Emits the given constant value on the output Observable every time the source + * Observable emits a value. + * + * Like {@link map}, but it maps every source value to + * the same output value every time. + * + * + * + * Takes a constant `value` as argument, and emits that whenever the source + * Observable emits a value. In other words, ignores the actual source value, + * and simply uses the emission moment to know when to emit the given `value`. + * + * @example Map every click to the string 'Hi' + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var greetings = clicks.mapTo('Hi'); + * greetings.subscribe(x => console.log(x)); + * + * @see {@link map} + * + * @param {any} value The value to map each source value to. + * @return {Observable} An Observable that emits the given `value` every time + * the source Observable emits something. + * @method mapTo + * @owner Observable + */ +export function mapTo(value) { + return (source) => source.lift(new MapToOperator(value)); +} +class MapToOperator { + constructor(value) { + this.value = value; + } + call(subscriber, source) { + return source.subscribe(new MapToSubscriber(subscriber, this.value)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class MapToSubscriber extends Subscriber { + constructor(destination, value) { + super(destination); + this.value = value; + } + _next(x) { + this.destination.next(this.value); + } +} +//# sourceMappingURL=mapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/mapTo.js.map b/node_modules/rxjs/_esm2015/operators/mapTo.js.map new file mode 100644 index 00000000..36c323ec --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/mapTo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mapTo.js","sourceRoot":"","sources":["../../src/operators/mapTo.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAI1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,sBAA4B,KAAQ;IAClC,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;AAC1E,CAAC;AAED;IAIE,YAAY,KAAQ;QAClB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,eAAe,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IACvE,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,8BAAoC,UAAU;IAI5C,YAAY,WAA0B,EAAE,KAAQ;QAC9C,MAAM,WAAW,CAAC,CAAC;QACnB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAES,KAAK,CAAC,CAAI;QAClB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/materialize.js b/node_modules/rxjs/_esm2015/operators/materialize.js new file mode 100644 index 00000000..46cb8bd4 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/materialize.js @@ -0,0 +1,80 @@ +import { Subscriber } from '../Subscriber'; +import { Notification } from '../Notification'; +/** + * Represents all of the notifications from the source Observable as `next` + * emissions marked with their original types within {@link Notification} + * objects. + * + * Wraps `next`, `error` and `complete` emissions in + * {@link Notification} objects, emitted as `next` on the output Observable. + * + * + * + * + * `materialize` returns an Observable that emits a `next` notification for each + * `next`, `error`, or `complete` emission of the source Observable. When the + * source Observable emits `complete`, the output Observable will emit `next` as + * a Notification of type "complete", and then it will emit `complete` as well. + * When the source Observable emits `error`, the output will emit `next` as a + * Notification of type "error", and then `complete`. + * + * This operator is useful for producing metadata of the source Observable, to + * be consumed as `next` emissions. Use it in conjunction with + * {@link dematerialize}. + * + * @example Convert a faulty Observable to an Observable of Notifications + * var letters = Rx.Observable.of('a', 'b', 13, 'd'); + * var upperCase = letters.map(x => x.toUpperCase()); + * var materialized = upperCase.materialize(); + * materialized.subscribe(x => console.log(x)); + * + * // Results in the following: + * // - Notification {kind: "N", value: "A", error: undefined, hasValue: true} + * // - Notification {kind: "N", value: "B", error: undefined, hasValue: true} + * // - Notification {kind: "E", value: undefined, error: TypeError: + * // x.toUpperCase is not a function at MapSubscriber.letters.map.x + * // [as project] (http://1…, hasValue: false} + * + * @see {@link Notification} + * @see {@link dematerialize} + * + * @return {Observable>} An Observable that emits + * {@link Notification} objects that wrap the original emissions from the source + * Observable with metadata. + * @method materialize + * @owner Observable + */ +export function materialize() { + return function materializeOperatorFunction(source) { + return source.lift(new MaterializeOperator()); + }; +} +class MaterializeOperator { + call(subscriber, source) { + return source.subscribe(new MaterializeSubscriber(subscriber)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class MaterializeSubscriber extends Subscriber { + constructor(destination) { + super(destination); + } + _next(value) { + this.destination.next(Notification.createNext(value)); + } + _error(err) { + const destination = this.destination; + destination.next(Notification.createError(err)); + destination.complete(); + } + _complete() { + const destination = this.destination; + destination.next(Notification.createComplete()); + destination.complete(); + } +} +//# sourceMappingURL=materialize.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/materialize.js.map b/node_modules/rxjs/_esm2015/operators/materialize.js.map new file mode 100644 index 00000000..9ae3d046 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/materialize.js.map @@ -0,0 +1 @@ +{"version":3,"file":"materialize.js","sourceRoot":"","sources":["../../src/operators/materialize.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,YAAY,EAAE,MAAM,iBAAiB;AAG9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH;IACE,MAAM,CAAC,qCAAqC,MAAqB;QAC/D,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,mBAAmB,EAAE,CAAC,CAAC;IAChD,CAAC,CAAC;AACJ,CAAC;AAED;IACE,IAAI,CAAC,UAAuC,EAAE,MAAW;QACvD,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,qBAAqB,CAAC,UAAU,CAAC,CAAC,CAAC;IACjE,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,oCAAuC,UAAU;IAC/C,YAAY,WAAwC;QAClD,MAAM,WAAW,CAAC,CAAC;IACrB,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IACxD,CAAC;IAES,MAAM,CAAC,GAAQ;QACvB,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC;QAChD,WAAW,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;IAES,SAAS;QACjB,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,cAAc,EAAE,CAAC,CAAC;QAChD,WAAW,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/max.js b/node_modules/rxjs/_esm2015/operators/max.js new file mode 100644 index 00000000..e144fd51 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/max.js @@ -0,0 +1,39 @@ +import { reduce } from './reduce'; +/** + * The Max operator operates on an Observable that emits numbers (or items that can be compared with a provided function), + * and when source Observable completes it emits a single item: the item with the largest value. + * + * + * + * @example Get the maximal value of a series of numbers + * Rx.Observable.of(5, 4, 7, 2, 8) + * .max() + * .subscribe(x => console.log(x)); // -> 8 + * + * @example Use a comparer function to get the maximal item + * interface Person { + * age: number, + * name: string + * } + * Observable.of({age: 7, name: 'Foo'}, + * {age: 5, name: 'Bar'}, + * {age: 9, name: 'Beer'}) + * .max((a: Person, b: Person) => a.age < b.age ? -1 : 1) + * .subscribe((x: Person) => console.log(x.name)); // -> 'Beer' + * } + * + * @see {@link min} + * + * @param {Function} [comparer] - Optional comparer function that it will use instead of its default to compare the + * value of two items. + * @return {Observable} An Observable that emits item with the largest value. + * @method max + * @owner Observable + */ +export function max(comparer) { + const max = (typeof comparer === 'function') + ? (x, y) => comparer(x, y) > 0 ? x : y + : (x, y) => x > y ? x : y; + return reduce(max); +} +//# sourceMappingURL=max.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/max.js.map b/node_modules/rxjs/_esm2015/operators/max.js.map new file mode 100644 index 00000000..19a6c48e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/max.js.map @@ -0,0 +1 @@ +{"version":3,"file":"max.js","sourceRoot":"","sources":["../../src/operators/max.ts"],"names":[],"mappings":"OAAO,EAAE,MAAM,EAAE,MAAM,UAAU;AAGjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,oBAAuB,QAAiC;IACtD,MAAM,GAAG,GAAsB,CAAC,OAAO,QAAQ,KAAK,UAAU,CAAC;UAC3D,CAAC,CAAC,EAAE,CAAC,KAAK,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC;UACpC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAE5B,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/merge.js b/node_modules/rxjs/_esm2015/operators/merge.js new file mode 100644 index 00000000..d032c77e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/merge.js @@ -0,0 +1,53 @@ +import { merge as mergeStatic } from '../observable/merge'; +export { merge as mergeStatic } from '../observable/merge'; +/* tslint:enable:max-line-length */ +/** + * Creates an output Observable which concurrently emits all values from every + * given input Observable. + * + * Flattens multiple Observables together by blending + * their values into one Observable. + * + * + * + * `merge` subscribes to each given input Observable (either the source or an + * Observable given as argument), and simply forwards (without doing any + * transformation) all the values from all the input Observables to the output + * Observable. The output Observable only completes once all input Observables + * have completed. Any error delivered by an input Observable will be immediately + * emitted on the output Observable. + * + * @example Merge together two Observables: 1s interval and clicks + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var timer = Rx.Observable.interval(1000); + * var clicksOrTimer = clicks.merge(timer); + * clicksOrTimer.subscribe(x => console.log(x)); + * + * @example Merge together 3 Observables, but only 2 run concurrently + * var timer1 = Rx.Observable.interval(1000).take(10); + * var timer2 = Rx.Observable.interval(2000).take(6); + * var timer3 = Rx.Observable.interval(500).take(10); + * var concurrent = 2; // the argument + * var merged = timer1.merge(timer2, timer3, concurrent); + * merged.subscribe(x => console.log(x)); + * + * @see {@link mergeAll} + * @see {@link mergeMap} + * @see {@link mergeMapTo} + * @see {@link mergeScan} + * + * @param {ObservableInput} other An input Observable to merge with the source + * Observable. More than one input Observables may be given as argument. + * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input + * Observables being subscribed to concurrently. + * @param {Scheduler} [scheduler=null] The IScheduler to use for managing + * concurrency of input Observables. + * @return {Observable} An Observable that emits items that are the result of + * every input Observable. + * @method merge + * @owner Observable + */ +export function merge(...observables) { + return (source) => source.lift.call(mergeStatic(source, ...observables)); +} +//# sourceMappingURL=merge.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/merge.js.map b/node_modules/rxjs/_esm2015/operators/merge.js.map new file mode 100644 index 00000000..78f26ad8 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/merge.js.map @@ -0,0 +1 @@ +{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../src/operators/merge.ts"],"names":[],"mappings":"OAGO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,qBAAqB;AAE1D,SAAS,KAAK,IAAI,WAAW,QAAQ,qBAAqB,CAAC;AAiB3D,mCAAmC;AACnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,sBAA4B,GAAG,WAA8D;IAC3F,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,GAAG,WAAW,CAAC,CAAC,CAAC;AAC1F,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/mergeAll.js b/node_modules/rxjs/_esm2015/operators/mergeAll.js new file mode 100644 index 00000000..98d0ba15 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/mergeAll.js @@ -0,0 +1,50 @@ +import { mergeMap } from './mergeMap'; +import { identity } from '../util/identity'; +/** + * Converts a higher-order Observable into a first-order Observable which + * concurrently delivers all values that are emitted on the inner Observables. + * + * Flattens an Observable-of-Observables. + * + * + * + * `mergeAll` subscribes to an Observable that emits Observables, also known as + * a higher-order Observable. Each time it observes one of these emitted inner + * Observables, it subscribes to that and delivers all the values from the + * inner Observable on the output Observable. The output Observable only + * completes once all inner Observables have completed. Any error delivered by + * a inner Observable will be immediately emitted on the output Observable. + * + * @example Spawn a new interval Observable for each click event, and blend their outputs as one Observable + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000)); + * var firstOrder = higherOrder.mergeAll(); + * firstOrder.subscribe(x => console.log(x)); + * + * @example Count from 0 to 9 every second for each click, but only allow 2 concurrent timers + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000).take(10)); + * var firstOrder = higherOrder.mergeAll(2); + * firstOrder.subscribe(x => console.log(x)); + * + * @see {@link combineAll} + * @see {@link concatAll} + * @see {@link exhaust} + * @see {@link merge} + * @see {@link mergeMap} + * @see {@link mergeMapTo} + * @see {@link mergeScan} + * @see {@link switch} + * @see {@link zipAll} + * + * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of inner + * Observables being subscribed to concurrently. + * @return {Observable} An Observable that emits values coming from all the + * inner Observables emitted by the source Observable. + * @method mergeAll + * @owner Observable + */ +export function mergeAll(concurrent = Number.POSITIVE_INFINITY) { + return mergeMap(identity, null, concurrent); +} +//# sourceMappingURL=mergeAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/mergeAll.js.map b/node_modules/rxjs/_esm2015/operators/mergeAll.js.map new file mode 100644 index 00000000..77557282 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/mergeAll.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mergeAll.js","sourceRoot":"","sources":["../../src/operators/mergeAll.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAE,MAAM,YAAY;OAC9B,EAAE,QAAQ,EAAE,MAAM,kBAAkB;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,yBAA4B,UAAU,GAAW,MAAM,CAAC,iBAAiB;IACvE,MAAM,CAAC,QAAQ,CAAC,QAA4D,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC;AAClG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/mergeMap.js b/node_modules/rxjs/_esm2015/operators/mergeMap.js new file mode 100644 index 00000000..17163f05 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/mergeMap.js @@ -0,0 +1,158 @@ +import { subscribeToResult } from '../util/subscribeToResult'; +import { OuterSubscriber } from '../OuterSubscriber'; +/* tslint:enable:max-line-length */ +/** + * Projects each source value to an Observable which is merged in the output + * Observable. + * + * Maps each value to an Observable, then flattens all of + * these inner Observables using {@link mergeAll}. + * + * + * + * Returns an Observable that emits items based on applying a function that you + * supply to each item emitted by the source Observable, where that function + * returns an Observable, and then merging those resulting Observables and + * emitting the results of this merger. + * + * @example Map and flatten each letter to an Observable ticking every 1 second + * var letters = Rx.Observable.of('a', 'b', 'c'); + * var result = letters.mergeMap(x => + * Rx.Observable.interval(1000).map(i => x+i) + * ); + * result.subscribe(x => console.log(x)); + * + * // Results in the following: + * // a0 + * // b0 + * // c0 + * // a1 + * // b1 + * // c1 + * // continues to list a,b,c with respective ascending integers + * + * @see {@link concatMap} + * @see {@link exhaustMap} + * @see {@link merge} + * @see {@link mergeAll} + * @see {@link mergeMapTo} + * @see {@link mergeScan} + * @see {@link switchMap} + * + * @param {function(value: T, ?index: number): ObservableInput} project A function + * that, when applied to an item emitted by the source Observable, returns an + * Observable. + * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] + * A function to produce the value on the output Observable based on the values + * and the indices of the source (outer) emission and the inner Observable + * emission. The arguments passed to this function are: + * - `outerValue`: the value that came from the source + * - `innerValue`: the value that came from the projected Observable + * - `outerIndex`: the "index" of the value that came from the source + * - `innerIndex`: the "index" of the value from the projected Observable + * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input + * Observables being subscribed to concurrently. + * @return {Observable} An Observable that emits the result of applying the + * projection function (and the optional `resultSelector`) to each item emitted + * by the source Observable and merging the results of the Observables obtained + * from this transformation. + * @method mergeMap + * @owner Observable + */ +export function mergeMap(project, resultSelector, concurrent = Number.POSITIVE_INFINITY) { + return function mergeMapOperatorFunction(source) { + if (typeof resultSelector === 'number') { + concurrent = resultSelector; + resultSelector = null; + } + return source.lift(new MergeMapOperator(project, resultSelector, concurrent)); + }; +} +export class MergeMapOperator { + constructor(project, resultSelector, concurrent = Number.POSITIVE_INFINITY) { + this.project = project; + this.resultSelector = resultSelector; + this.concurrent = concurrent; + } + call(observer, source) { + return source.subscribe(new MergeMapSubscriber(observer, this.project, this.resultSelector, this.concurrent)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class MergeMapSubscriber extends OuterSubscriber { + constructor(destination, project, resultSelector, concurrent = Number.POSITIVE_INFINITY) { + super(destination); + this.project = project; + this.resultSelector = resultSelector; + this.concurrent = concurrent; + this.hasCompleted = false; + this.buffer = []; + this.active = 0; + this.index = 0; + } + _next(value) { + if (this.active < this.concurrent) { + this._tryNext(value); + } + else { + this.buffer.push(value); + } + } + _tryNext(value) { + let result; + const index = this.index++; + try { + result = this.project(value, index); + } + catch (err) { + this.destination.error(err); + return; + } + this.active++; + this._innerSub(result, value, index); + } + _innerSub(ish, value, index) { + this.add(subscribeToResult(this, ish, value, index)); + } + _complete() { + this.hasCompleted = true; + if (this.active === 0 && this.buffer.length === 0) { + this.destination.complete(); + } + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + if (this.resultSelector) { + this._notifyResultSelector(outerValue, innerValue, outerIndex, innerIndex); + } + else { + this.destination.next(innerValue); + } + } + _notifyResultSelector(outerValue, innerValue, outerIndex, innerIndex) { + let result; + try { + result = this.resultSelector(outerValue, innerValue, outerIndex, innerIndex); + } + catch (err) { + this.destination.error(err); + return; + } + this.destination.next(result); + } + notifyComplete(innerSub) { + const buffer = this.buffer; + this.remove(innerSub); + this.active--; + if (buffer.length > 0) { + this._next(buffer.shift()); + } + else if (this.active === 0 && this.hasCompleted) { + this.destination.complete(); + } + } +} +//# sourceMappingURL=mergeMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/mergeMap.js.map b/node_modules/rxjs/_esm2015/operators/mergeMap.js.map new file mode 100644 index 00000000..29bb824e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/mergeMap.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mergeMap.js","sourceRoot":"","sources":["../../src/operators/mergeMap.ts"],"names":[],"mappings":"OAIO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;OACtD,EAAE,eAAe,EAAE,MAAM,oBAAoB;AAOpD,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AAC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ode 100644 index 00000000..560b3fc4 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/mergeMapTo.js @@ -0,0 +1,140 @@ +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/* tslint:enable:max-line-length */ +/** + * Projects each source value to the same Observable which is merged multiple + * times in the output Observable. + * + * It's like {@link mergeMap}, but maps each value always + * to the same inner Observable. + * + * + * + * Maps each source value to the given Observable `innerObservable` regardless + * of the source value, and then merges those resulting Observables into one + * single Observable, which is the output Observable. + * + * @example For each click event, start an interval Observable ticking every 1 second + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.mergeMapTo(Rx.Observable.interval(1000)); + * result.subscribe(x => console.log(x)); + * + * @see {@link concatMapTo} + * @see {@link merge} + * @see {@link mergeAll} + * @see {@link mergeMap} + * @see {@link mergeScan} + * @see {@link switchMapTo} + * + * @param {ObservableInput} innerObservable An Observable to replace each value from + * the source Observable. + * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] + * A function to produce the value on the output Observable based on the values + * and the indices of the source (outer) emission and the inner Observable + * emission. The arguments passed to this function are: + * - `outerValue`: the value that came from the source + * - `innerValue`: the value that came from the projected Observable + * - `outerIndex`: the "index" of the value that came from the source + * - `innerIndex`: the "index" of the value from the projected Observable + * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input + * Observables being subscribed to concurrently. + * @return {Observable} An Observable that emits items from the given + * `innerObservable` (and optionally transformed through `resultSelector`) every + * time a value is emitted on the source Observable. + * @method mergeMapTo + * @owner Observable + */ +export function mergeMapTo(innerObservable, resultSelector, concurrent = Number.POSITIVE_INFINITY) { + if (typeof resultSelector === 'number') { + concurrent = resultSelector; + resultSelector = null; + } + return (source) => source.lift(new MergeMapToOperator(innerObservable, resultSelector, concurrent)); +} +// TODO: Figure out correct signature here: an Operator, R> +// needs to implement call(observer: Subscriber): Subscriber> +export class MergeMapToOperator { + constructor(ish, resultSelector, concurrent = Number.POSITIVE_INFINITY) { + this.ish = ish; + this.resultSelector = resultSelector; + this.concurrent = concurrent; + } + call(observer, source) { + return source.subscribe(new MergeMapToSubscriber(observer, this.ish, this.resultSelector, this.concurrent)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class MergeMapToSubscriber extends OuterSubscriber { + constructor(destination, ish, resultSelector, concurrent = Number.POSITIVE_INFINITY) { + super(destination); + this.ish = ish; + this.resultSelector = resultSelector; + this.concurrent = concurrent; + this.hasCompleted = false; + this.buffer = []; + this.active = 0; + this.index = 0; + } + _next(value) { + if (this.active < this.concurrent) { + const resultSelector = this.resultSelector; + const index = this.index++; + const ish = this.ish; + const destination = this.destination; + this.active++; + this._innerSub(ish, destination, resultSelector, value, index); + } + else { + this.buffer.push(value); + } + } + _innerSub(ish, destination, resultSelector, value, index) { + this.add(subscribeToResult(this, ish, value, index)); + } + _complete() { + this.hasCompleted = true; + if (this.active === 0 && this.buffer.length === 0) { + this.destination.complete(); + } + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + const { resultSelector, destination } = this; + if (resultSelector) { + this.trySelectResult(outerValue, innerValue, outerIndex, innerIndex); + } + else { + destination.next(innerValue); + } + } + trySelectResult(outerValue, innerValue, outerIndex, innerIndex) { + const { resultSelector, destination } = this; + let result; + try { + result = resultSelector(outerValue, innerValue, outerIndex, innerIndex); + } + catch (err) { + destination.error(err); + return; + } + destination.next(result); + } + notifyError(err) { + this.destination.error(err); + } + notifyComplete(innerSub) { + const buffer = this.buffer; + this.remove(innerSub); + this.active--; + if (buffer.length > 0) { + this._next(buffer.shift()); + } + else if (this.active === 0 && this.hasCompleted) { + this.destination.complete(); + } + } +} +//# sourceMappingURL=mergeMapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/mergeMapTo.js.map b/node_modules/rxjs/_esm2015/operators/mergeMapTo.js.map new file mode 100644 index 00000000..c636d6e4 --- /dev/null +++ b/node_modules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QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;YAClD,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/mergeScan.js b/node_modules/rxjs/_esm2015/operators/mergeScan.js new file mode 100644 index 00000000..fde77092 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/mergeScan.js @@ -0,0 +1,116 @@ +import { tryCatch } from '../util/tryCatch'; +import { errorObject } from '../util/errorObject'; +import { subscribeToResult } from '../util/subscribeToResult'; +import { OuterSubscriber } from '../OuterSubscriber'; +/** + * Applies an accumulator function over the source Observable where the + * accumulator function itself returns an Observable, then each intermediate + * Observable returned is merged into the output Observable. + * + * It's like {@link scan}, but the Observables returned + * by the accumulator are merged into the outer Observable. + * + * @example Count the number of click events + * const click$ = Rx.Observable.fromEvent(document, 'click'); + * const one$ = click$.mapTo(1); + * const seed = 0; + * const count$ = one$.mergeScan((acc, one) => Rx.Observable.of(acc + one), seed); + * count$.subscribe(x => console.log(x)); + * + * // Results: + * 1 + * 2 + * 3 + * 4 + * // ...and so on for each click + * + * @param {function(acc: R, value: T): Observable} accumulator + * The accumulator function called on each source value. + * @param seed The initial accumulation value. + * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of + * input Observables being subscribed to concurrently. + * @return {Observable} An observable of the accumulated values. + * @method mergeScan + * @owner Observable + */ +export function mergeScan(accumulator, seed, concurrent = Number.POSITIVE_INFINITY) { + return (source) => source.lift(new MergeScanOperator(accumulator, seed, concurrent)); +} +export class MergeScanOperator { + constructor(accumulator, seed, concurrent) { + this.accumulator = accumulator; + this.seed = seed; + this.concurrent = concurrent; + } + call(subscriber, source) { + return source.subscribe(new MergeScanSubscriber(subscriber, this.accumulator, this.seed, this.concurrent)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class MergeScanSubscriber extends OuterSubscriber { + constructor(destination, accumulator, acc, concurrent) { + super(destination); + this.accumulator = accumulator; + this.acc = acc; + this.concurrent = concurrent; + this.hasValue = false; + this.hasCompleted = false; + this.buffer = []; + this.active = 0; + this.index = 0; + } + _next(value) { + if (this.active < this.concurrent) { + const index = this.index++; + const ish = tryCatch(this.accumulator)(this.acc, value); + const destination = this.destination; + if (ish === errorObject) { + destination.error(errorObject.e); + } + else { + this.active++; + this._innerSub(ish, value, index); + } + } + else { + this.buffer.push(value); + } + } + _innerSub(ish, value, index) { + this.add(subscribeToResult(this, ish, value, index)); + } + _complete() { + this.hasCompleted = true; + if (this.active === 0 && this.buffer.length === 0) { + if (this.hasValue === false) { + this.destination.next(this.acc); + } + this.destination.complete(); + } + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + const { destination } = this; + this.acc = innerValue; + this.hasValue = true; + destination.next(innerValue); + } + notifyComplete(innerSub) { + const buffer = this.buffer; + this.remove(innerSub); + this.active--; + if (buffer.length > 0) { + this._next(buffer.shift()); + } + else if (this.active === 0 && this.hasCompleted) { + if (this.hasValue === false) { + this.destination.next(this.acc); + } + this.destination.complete(); + } + } +} +//# sourceMappingURL=mergeScan.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/mergeScan.js.map b/node_modules/rxjs/_esm2015/operators/mergeScan.js.map new file mode 100644 index 00000000..22288fdb --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/mergeScan.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mergeScan.js","sourceRoot":"","sources":["../../src/operators/mergeScan.ts"],"names":[],"mappings":"OAIO,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;OACtD,EAAE,eAAe,EAAE,MAAM,oBAAoB;AAIpD;;;;;;;;;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tB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACrB,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAC/B,CAAC;IAED,cAAc,CAAC,QAAsB;QACnC,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QACtB,IAAI,CAAC,MAAM,EAAE,CAAC;QACd,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;YACtB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;QAC7B,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;YAClD,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,KAAK,KAAK,CAAC,CAAC,CAAC;gBAC5B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YAClC,CAAC;YACD,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/min.js b/node_modules/rxjs/_esm2015/operators/min.js new file mode 100644 index 00000000..bf9b0184 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/min.js @@ -0,0 +1,39 @@ +import { reduce } from './reduce'; +/** + * The Min operator operates on an Observable that emits numbers (or items that can be compared with a provided function), + * and when source Observable completes it emits a single item: the item with the smallest value. + * + * + * + * @example Get the minimal value of a series of numbers + * Rx.Observable.of(5, 4, 7, 2, 8) + * .min() + * .subscribe(x => console.log(x)); // -> 2 + * + * @example Use a comparer function to get the minimal item + * interface Person { + * age: number, + * name: string + * } + * Observable.of({age: 7, name: 'Foo'}, + * {age: 5, name: 'Bar'}, + * {age: 9, name: 'Beer'}) + * .min( (a: Person, b: Person) => a.age < b.age ? -1 : 1) + * .subscribe((x: Person) => console.log(x.name)); // -> 'Bar' + * } + * + * @see {@link max} + * + * @param {Function} [comparer] - Optional comparer function that it will use instead of its default to compare the + * value of two items. + * @return {Observable} An Observable that emits item with the smallest value. + * @method min + * @owner Observable + */ +export function min(comparer) { + const min = (typeof comparer === 'function') + ? (x, y) => comparer(x, y) < 0 ? x : y + : (x, y) => x < y ? x : y; + return reduce(min); +} +//# sourceMappingURL=min.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/min.js.map b/node_modules/rxjs/_esm2015/operators/min.js.map new file mode 100644 index 00000000..3fb0f527 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/min.js.map @@ -0,0 +1 @@ +{"version":3,"file":"min.js","sourceRoot":"","sources":["../../src/operators/min.ts"],"names":[],"mappings":"OAAO,EAAE,MAAM,EAAE,MAAM,UAAU;AAGjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,oBAAuB,QAAiC;IACtD,MAAM,GAAG,GAAsB,CAAC,OAAO,QAAQ,KAAK,UAAU,CAAC;UAC3D,CAAC,CAAC,EAAE,CAAC,KAAK,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC;UACpC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC5B,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/multicast.js b/node_modules/rxjs/_esm2015/operators/multicast.js new file mode 100644 index 00000000..c675695c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/multicast.js @@ -0,0 +1,55 @@ +import { connectableObservableDescriptor } from '../observable/ConnectableObservable'; +/* tslint:enable:max-line-length */ +/** + * Returns an Observable that emits the results of invoking a specified selector on items + * emitted by a ConnectableObservable that shares a single subscription to the underlying stream. + * + * + * + * @param {Function|Subject} subjectOrSubjectFactory - Factory function to create an intermediate subject through + * which the source sequence's elements will be multicast to the selector function + * or Subject to push source elements into. + * @param {Function} [selector] - Optional selector function that can use the multicasted source stream + * as many times as needed, without causing multiple subscriptions to the source stream. + * Subscribers to the given source will receive all notifications of the source from the + * time of the subscription forward. + * @return {Observable} An Observable that emits the results of invoking the selector + * on the items emitted by a `ConnectableObservable` that shares a single subscription to + * the underlying stream. + * @method multicast + * @owner Observable + */ +export function multicast(subjectOrSubjectFactory, selector) { + return function multicastOperatorFunction(source) { + let subjectFactory; + if (typeof subjectOrSubjectFactory === 'function') { + subjectFactory = subjectOrSubjectFactory; + } + else { + subjectFactory = function subjectFactory() { + return subjectOrSubjectFactory; + }; + } + if (typeof selector === 'function') { + return source.lift(new MulticastOperator(subjectFactory, selector)); + } + const connectable = Object.create(source, connectableObservableDescriptor); + connectable.source = source; + connectable.subjectFactory = subjectFactory; + return connectable; + }; +} +export class MulticastOperator { + constructor(subjectFactory, selector) { + this.subjectFactory = subjectFactory; + this.selector = selector; + } + call(subscriber, source) { + const { selector } = this; + const subject = this.subjectFactory(); + const subscription = selector(subject).subscribe(subscriber); + subscription.add(source.subscribe(subject)); + return subscription; + } +} +//# sourceMappingURL=multicast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/multicast.js.map b/node_modules/rxjs/_esm2015/operators/multicast.js.map new file mode 100644 index 00000000..247e4f0c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/multicast.js.map @@ -0,0 +1 @@ +{"version":3,"file":"multicast.js","sourceRoot":"","sources":["../../src/operators/multicast.ts"],"names":[],"mappings":"OAIO,EAAyB,+BAA+B,EAAE,MAAM,qCAAqC;AAO5G,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;GAkBG;AACH,0BAAgC,uBAAwD,EACxD,QAAmD;IACjF,MAAM,CAAC,mCAAmC,MAAqB;QAC7D,IAAI,cAAgC,CAAC;QACrC,EAAE,CAAC,CAAC,OAAO,uBAAuB,KAAK,UAAU,CAAC,CAAC,CAAC;YAClD,cAAc,GAAqB,uBAAuB,CAAC;QAC7D,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,cAAc,GAAG;gBACf,MAAM,CAAa,uBAAuB,CAAC;YAC7C,CAAC,CAAC;QACJ,CAAC;QAED,EAAE,CAAC,CAAC,OAAO,QAAQ,KAAK,UAAU,CAAC,CAAC,CAAC;YACnC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC,CAAC;QACtE,CAAC;QAED,MAAM,WAAW,GAAQ,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,+BAA+B,CAAC,CAAC;QAChF,WAAW,CAAC,MAAM,GAAG,MAAM,CAAC;QAC5B,WAAW,CAAC,cAAc,GAAG,cAAc,CAAC;QAE5C,MAAM,CAA4B,WAAW,CAAC;IAChD,CAAC,CAAC;AACJ,CAAC;AAED;IACE,YAAoB,cAAgC,EAChC,QAAkD;QADlD,mBAAc,GAAd,cAAc,CAAkB;QAChC,aAAQ,GAAR,QAAQ,CAA0C;IACtE,CAAC;IACD,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;QAC1B,MAAM,OAAO,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;QACtC,MAAM,YAAY,GAAG,QAAQ,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QAC7D,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;QAC5C,MAAM,CAAC,YAAY,CAAC;IACtB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/observeOn.js b/node_modules/rxjs/_esm2015/operators/observeOn.js new file mode 100644 index 00000000..52eab996 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/observeOn.js @@ -0,0 +1,98 @@ +import { Subscriber } from '../Subscriber'; +import { Notification } from '../Notification'; +/** + * + * Re-emits all notifications from source Observable with specified scheduler. + * + * Ensure a specific scheduler is used, from outside of an Observable. + * + * `observeOn` is an operator that accepts a scheduler as a first parameter, which will be used to reschedule + * notifications emitted by the source Observable. It might be useful, if you do not have control over + * internal scheduler of a given Observable, but want to control when its values are emitted nevertheless. + * + * Returned Observable emits the same notifications (nexted values, complete and error events) as the source Observable, + * but rescheduled with provided scheduler. Note that this doesn't mean that source Observables internal + * scheduler will be replaced in any way. Original scheduler still will be used, but when the source Observable emits + * notification, it will be immediately scheduled again - this time with scheduler passed to `observeOn`. + * An anti-pattern would be calling `observeOn` on Observable that emits lots of values synchronously, to split + * that emissions into asynchronous chunks. For this to happen, scheduler would have to be passed into the source + * Observable directly (usually into the operator that creates it). `observeOn` simply delays notifications a + * little bit more, to ensure that they are emitted at expected moments. + * + * As a matter of fact, `observeOn` accepts second parameter, which specifies in milliseconds with what delay notifications + * will be emitted. The main difference between {@link delay} operator and `observeOn` is that `observeOn` + * will delay all notifications - including error notifications - while `delay` will pass through error + * from source Observable immediately when it is emitted. In general it is highly recommended to use `delay` operator + * for any kind of delaying of values in the stream, while using `observeOn` to specify which scheduler should be used + * for notification emissions in general. + * + * @example Ensure values in subscribe are called just before browser repaint. + * const intervals = Rx.Observable.interval(10); // Intervals are scheduled + * // with async scheduler by default... + * + * intervals + * .observeOn(Rx.Scheduler.animationFrame) // ...but we will observe on animationFrame + * .subscribe(val => { // scheduler to ensure smooth animation. + * someDiv.style.height = val + 'px'; + * }); + * + * @see {@link delay} + * + * @param {IScheduler} scheduler Scheduler that will be used to reschedule notifications from source Observable. + * @param {number} [delay] Number of milliseconds that states with what delay every notification should be rescheduled. + * @return {Observable} Observable that emits the same notifications as the source Observable, + * but with provided scheduler. + * + * @method observeOn + * @owner Observable + */ +export function observeOn(scheduler, delay = 0) { + return function observeOnOperatorFunction(source) { + return source.lift(new ObserveOnOperator(scheduler, delay)); + }; +} +export class ObserveOnOperator { + constructor(scheduler, delay = 0) { + this.scheduler = scheduler; + this.delay = delay; + } + call(subscriber, source) { + return source.subscribe(new ObserveOnSubscriber(subscriber, this.scheduler, this.delay)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class ObserveOnSubscriber extends Subscriber { + constructor(destination, scheduler, delay = 0) { + super(destination); + this.scheduler = scheduler; + this.delay = delay; + } + static dispatch(arg) { + const { notification, destination } = arg; + notification.observe(destination); + this.unsubscribe(); + } + scheduleMessage(notification) { + this.add(this.scheduler.schedule(ObserveOnSubscriber.dispatch, this.delay, new ObserveOnMessage(notification, this.destination))); + } + _next(value) { + this.scheduleMessage(Notification.createNext(value)); + } + _error(err) { + this.scheduleMessage(Notification.createError(err)); + } + _complete() { + this.scheduleMessage(Notification.createComplete()); + } +} +export class ObserveOnMessage { + constructor(notification, destination) { + this.notification = notification; + this.destination = destination; + } +} +//# sourceMappingURL=observeOn.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/observeOn.js.map b/node_modules/rxjs/_esm2015/operators/observeOn.js.map new file mode 100644 index 00000000..3492a8c8 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/observeOn.js.map @@ -0,0 +1 @@ +{"version":3,"file":"observeOn.js","sourceRoot":"","sources":["../../src/operators/observeOn.ts"],"names":[],"mappings":"OAIO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,YAAY,EAAE,MAAM,iBAAiB;AAK9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,0BAA6B,SAAqB,EAAE,KAAK,GAAW,CAAC;IACnE,MAAM,CAAC,mCAAmC,MAAqB;QAC7D,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC;IAC9D,CAAC,CAAC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,EAAE,CAAC,CAAC;IACtD,CAAC;AACH,CAAC;AAED;IACE,YAAmB,YAA+B,EAC/B,WAAiC;QADjC,iBAAY,GAAZ,YAAY,CAAmB;QAC/B,gBAAW,GAAX,WAAW,CAAsB;IACpD,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/onErrorResumeNext.js b/node_modules/rxjs/_esm2015/operators/onErrorResumeNext.js new file mode 100644 index 00000000..dd96f13a --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/onErrorResumeNext.js @@ -0,0 +1,118 @@ +import { FromObservable } from '../observable/FromObservable'; +import { isArray } from '../util/isArray'; +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/* tslint:enable:max-line-length */ +/** + * When any of the provided Observable emits an complete or error notification, it immediately subscribes to the next one + * that was passed. + * + * Execute series of Observables no matter what, even if it means swallowing errors. + * + * + * + * `onErrorResumeNext` is an operator that accepts a series of Observables, provided either directly as + * arguments or as an array. If no single Observable is provided, returned Observable will simply behave the same + * as the source. + * + * `onErrorResumeNext` returns an Observable that starts by subscribing and re-emitting values from the source Observable. + * When its stream of values ends - no matter if Observable completed or emitted an error - `onErrorResumeNext` + * will subscribe to the first Observable that was passed as an argument to the method. It will start re-emitting + * its values as well and - again - when that stream ends, `onErrorResumeNext` will proceed to subscribing yet another + * Observable in provided series, no matter if previous Observable completed or ended with an error. This will + * be happening until there is no more Observables left in the series, at which point returned Observable will + * complete - even if the last subscribed stream ended with an error. + * + * `onErrorResumeNext` can be therefore thought of as version of {@link concat} operator, which is more permissive + * when it comes to the errors emitted by its input Observables. While `concat` subscribes to the next Observable + * in series only if previous one successfully completed, `onErrorResumeNext` subscribes even if it ended with + * an error. + * + * Note that you do not get any access to errors emitted by the Observables. In particular do not + * expect these errors to appear in error callback passed to {@link subscribe}. If you want to take + * specific actions based on what error was emitted by an Observable, you should try out {@link catch} instead. + * + * + * @example Subscribe to the next Observable after map fails + * Rx.Observable.of(1, 2, 3, 0) + * .map(x => { + * if (x === 0) { throw Error(); } + return 10 / x; + * }) + * .onErrorResumeNext(Rx.Observable.of(1, 2, 3)) + * .subscribe( + * val => console.log(val), + * err => console.log(err), // Will never be called. + * () => console.log('that\'s it!') + * ); + * + * // Logs: + * // 10 + * // 5 + * // 3.3333333333333335 + * // 1 + * // 2 + * // 3 + * // "that's it!" + * + * @see {@link concat} + * @see {@link catch} + * + * @param {...ObservableInput} observables Observables passed either directly or as an array. + * @return {Observable} An Observable that emits values from source Observable, but - if it errors - subscribes + * to the next passed Observable and so on, until it completes or runs out of Observables. + * @method onErrorResumeNext + * @owner Observable + */ +export function onErrorResumeNext(...nextSources) { + if (nextSources.length === 1 && isArray(nextSources[0])) { + nextSources = nextSources[0]; + } + return (source) => source.lift(new OnErrorResumeNextOperator(nextSources)); +} +/* tslint:enable:max-line-length */ +export function onErrorResumeNextStatic(...nextSources) { + let source = null; + if (nextSources.length === 1 && isArray(nextSources[0])) { + nextSources = nextSources[0]; + } + source = nextSources.shift(); + return new FromObservable(source, null).lift(new OnErrorResumeNextOperator(nextSources)); +} +class OnErrorResumeNextOperator { + constructor(nextSources) { + this.nextSources = nextSources; + } + call(subscriber, source) { + return source.subscribe(new OnErrorResumeNextSubscriber(subscriber, this.nextSources)); + } +} +class OnErrorResumeNextSubscriber extends OuterSubscriber { + constructor(destination, nextSources) { + super(destination); + this.destination = destination; + this.nextSources = nextSources; + } + notifyError(error, innerSub) { + this.subscribeToNextSource(); + } + notifyComplete(innerSub) { + this.subscribeToNextSource(); + } + _error(err) { + this.subscribeToNextSource(); + } + _complete() { + this.subscribeToNextSource(); + } + subscribeToNextSource() { + const next = this.nextSources.shift(); + if (next) { + this.add(subscribeToResult(this, next)); + } + else { + this.destination.complete(); + } + } +} +//# sourceMappingURL=onErrorResumeNext.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/onErrorResumeNext.js.map b/node_modules/rxjs/_esm2015/operators/onErrorResumeNext.js.map new file mode 100644 index 00000000..0bdc2c9c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/onErrorResumeNext.js.map @@ -0,0 +1 @@ +{"version":3,"file":"onErrorResumeNext.js","sourceRoot":"","sources":["../../src/operators/onErrorResumeNext.ts"],"names":[],"mappings":"OACO,EAAE,cAAc,EAAE,MAAM,8BAA8B;OAGtD,EAAE,OAAO,EAAE,MAAM,iBAAiB;OAClC,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAW7D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AAEH,kCAAwC,GAAG,WAE2C;IACpF,EAAE,CAAC,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACxD,WAAW,GAA2B,WAAW,CAAC,CAAC,CAAC,CAAC;IACvD,CAAC;IAED,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,yBAAyB,CAAO,WAAW,CAAC,CAAC,CAAC;AAClG,CAAC;AAWD,mCAAmC;AAEnC,wCAA8C,GAAG,WAE4C;IAC3F,IAAI,MAAM,GAAyB,IAAI,CAAC;IAExC,EAAE,CAAC,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACxD,WAAW,GAAgC,WAAW,CAAC,CAAC,CAAC,CAAC;IAC5D,CAAC;IACD,MAAM,GAAG,WAAW,CAAC,KAAK,EAAE,CAAC;IAE7B,MAAM,CAAC,IAAI,cAAc,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,yBAAyB,CAAO,WAAW,CAAC,CAAC,CAAC;AACjG,CAAC;AAED;IACE,YAAoB,WAAwC;QAAxC,gBAAW,GAAX,WAAW,CAA6B;IAC5D,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,2BAA2B,CAAC,UAAU,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;IACzF,CAAC;AACH,CAAC;AAED,0CAAgD,eAAe;IAC7D,YAAsB,WAA0B,EAC5B,WAAwC;QAC1D,MAAM,WAAW,CAAC,CAAC;QAFC,gBAAW,GAAX,WAAW,CAAe;QAC5B,gBAAW,GAAX,WAAW,CAA6B;IAE5D,CAAC;IAED,WAAW,CAAC,KAAU,EAAE,QAAiC;QACvD,IAAI,CAAC,qBAAqB,EAAE,CAAC;IAC/B,CAAC;IAED,cAAc,CAAC,QAAiC;QAC9C,IAAI,CAAC,qBAAqB,EAAE,CAAC;IAC/B,CAAC;IAES,MAAM,CAAC,GAAQ;QACvB,IAAI,CAAC,qBAAqB,EAAE,CAAC;IAC/B,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,qBAAqB,EAAE,CAAC;IAC/B,CAAC;IAEO,qBAAqB;QAC3B,MAAM,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;QACtC,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YACT,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;QAC1C,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/pairwise.js b/node_modules/rxjs/_esm2015/operators/pairwise.js new file mode 100644 index 00000000..90238980 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/pairwise.js @@ -0,0 +1,65 @@ +import { Subscriber } from '../Subscriber'; +/** + * Groups pairs of consecutive emissions together and emits them as an array of + * two values. + * + * Puts the current value and previous value together as + * an array, and emits that. + * + * + * + * The Nth emission from the source Observable will cause the output Observable + * to emit an array [(N-1)th, Nth] of the previous and the current value, as a + * pair. For this reason, `pairwise` emits on the second and subsequent + * emissions from the source Observable, but not on the first emission, because + * there is no previous value in that case. + * + * @example On every click (starting from the second), emit the relative distance to the previous click + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var pairs = clicks.pairwise(); + * var distance = pairs.map(pair => { + * var x0 = pair[0].clientX; + * var y0 = pair[0].clientY; + * var x1 = pair[1].clientX; + * var y1 = pair[1].clientY; + * return Math.sqrt(Math.pow(x0 - x1, 2) + Math.pow(y0 - y1, 2)); + * }); + * distance.subscribe(x => console.log(x)); + * + * @see {@link buffer} + * @see {@link bufferCount} + * + * @return {Observable>} An Observable of pairs (as arrays) of + * consecutive values from the source Observable. + * @method pairwise + * @owner Observable + */ +export function pairwise() { + return (source) => source.lift(new PairwiseOperator()); +} +class PairwiseOperator { + call(subscriber, source) { + return source.subscribe(new PairwiseSubscriber(subscriber)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class PairwiseSubscriber extends Subscriber { + constructor(destination) { + super(destination); + this.hasPrev = false; + } + _next(value) { + if (this.hasPrev) { + this.destination.next([this.prev, value]); + } + else { + this.hasPrev = true; + } + this.prev = value; + } +} +//# sourceMappingURL=pairwise.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/pairwise.js.map b/node_modules/rxjs/_esm2015/operators/pairwise.js.map new file mode 100644 index 00000000..73f357d5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/pairwise.js.map @@ -0,0 +1 @@ +{"version":3,"file":"pairwise.js","sourceRoot":"","sources":["../../src/operators/pairwise.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH;IACE,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,gBAAgB,EAAE,CAAC,CAAC;AACxE,CAAC;AAED;IACE,IAAI,CAAC,UAA8B,EAAE,MAAW;QAC9C,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,kBAAkB,CAAC,UAAU,CAAC,CAAC,CAAC;IAC9D,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,iCAAoC,UAAU;IAI5C,YAAY,WAA+B;QACzC,MAAM,WAAW,CAAC,CAAC;QAHb,YAAO,GAAY,KAAK,CAAC;IAIjC,CAAC;IAED,KAAK,CAAC,KAAQ;QACZ,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;YACjB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;QAC5C,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACtB,CAAC;QAED,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;IACpB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/partition.js b/node_modules/rxjs/_esm2015/operators/partition.js new file mode 100644 index 00000000..f3e626b0 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/partition.js @@ -0,0 +1,50 @@ +import { not } from '../util/not'; +import { filter } from './filter'; +/** + * Splits the source Observable into two, one with values that satisfy a + * predicate, and another with values that don't satisfy the predicate. + * + * It's like {@link filter}, but returns two Observables: + * one like the output of {@link filter}, and the other with values that did not + * pass the condition. + * + * + * + * `partition` outputs an array with two Observables that partition the values + * from the source Observable through the given `predicate` function. The first + * Observable in that array emits source values for which the predicate argument + * returns true. The second Observable emits source values for which the + * predicate returns false. The first behaves like {@link filter} and the second + * behaves like {@link filter} with the predicate negated. + * + * @example Partition click events into those on DIV elements and those elsewhere + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var parts = clicks.partition(ev => ev.target.tagName === 'DIV'); + * var clicksOnDivs = parts[0]; + * var clicksElsewhere = parts[1]; + * clicksOnDivs.subscribe(x => console.log('DIV clicked: ', x)); + * clicksElsewhere.subscribe(x => console.log('Other clicked: ', x)); + * + * @see {@link filter} + * + * @param {function(value: T, index: number): boolean} predicate A function that + * evaluates each value emitted by the source Observable. If it returns `true`, + * the value is emitted on the first Observable in the returned array, if + * `false` the value is emitted on the second Observable in the array. The + * `index` parameter is the number `i` for the i-th source emission that has + * happened since the subscription, starting from the number `0`. + * @param {any} [thisArg] An optional argument to determine the value of `this` + * in the `predicate` function. + * @return {[Observable, Observable]} An array with two Observables: one + * with values that passed the predicate, and another with values that did not + * pass the predicate. + * @method partition + * @owner Observable + */ +export function partition(predicate, thisArg) { + return (source) => [ + filter(predicate, thisArg)(source), + filter(not(predicate, thisArg))(source) + ]; +} +//# sourceMappingURL=partition.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/partition.js.map b/node_modules/rxjs/_esm2015/operators/partition.js.map new file mode 100644 index 00000000..8f9b187c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/partition.js.map @@ -0,0 +1 @@ +{"version":3,"file":"partition.js","sourceRoot":"","sources":["../../src/operators/partition.ts"],"names":[],"mappings":"OAAO,EAAE,GAAG,EAAE,MAAM,aAAa;OAC1B,EAAE,MAAM,EAAE,MAAM,UAAU;AAIjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,0BAA6B,SAA+C,EAC/C,OAAa;IACxC,MAAM,CAAC,CAAC,MAAqB,KAAK;QAChC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,MAAM,CAAC;QAClC,MAAM,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAQ,CAAC,CAAC,MAAM,CAAC;KACb,CAAC;AACtC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/pluck.js b/node_modules/rxjs/_esm2015/operators/pluck.js new file mode 100644 index 00000000..913de442 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/pluck.js @@ -0,0 +1,51 @@ +import { map } from './map'; +/** + * Maps each source value (an object) to its specified nested property. + * + * Like {@link map}, but meant only for picking one of + * the nested properties of every emitted object. + * + * + * + * Given a list of strings describing a path to an object property, retrieves + * the value of a specified nested property from all values in the source + * Observable. If a property can't be resolved, it will return `undefined` for + * that value. + * + * @example Map every click to the tagName of the clicked target element + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var tagNames = clicks.pluck('target', 'tagName'); + * tagNames.subscribe(x => console.log(x)); + * + * @see {@link map} + * + * @param {...string} properties The nested properties to pluck from each source + * value (an object). + * @return {Observable} A new Observable of property values from the source values. + * @method pluck + * @owner Observable + */ +export function pluck(...properties) { + const length = properties.length; + if (length === 0) { + throw new Error('list of properties cannot be empty.'); + } + return (source) => map(plucker(properties, length))(source); +} +function plucker(props, length) { + const mapper = (x) => { + let currentProp = x; + for (let i = 0; i < length; i++) { + const p = currentProp[props[i]]; + if (typeof p !== 'undefined') { + currentProp = p; + } + else { + return undefined; + } + } + return currentProp; + }; + return mapper; +} +//# sourceMappingURL=pluck.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/pluck.js.map b/node_modules/rxjs/_esm2015/operators/pluck.js.map new file mode 100644 index 00000000..5db6dae8 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/pluck.js.map @@ -0,0 +1 @@ +{"version":3,"file":"pluck.js","sourceRoot":"","sources":["../../src/operators/pluck.ts"],"names":[],"mappings":"OACO,EAAE,GAAG,EAAE,MAAM,OAAO;AAG3B;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,sBAA4B,GAAG,UAAoB;IACjD,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IACjC,EAAE,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;QACjB,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;IACzD,CAAC;IACD,MAAM,CAAC,CAAC,MAAqB,KAAK,GAAG,CAAC,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,MAAa,CAAC,CAAC;AACpF,CAAC;AAED,iBAAiB,KAAe,EAAE,MAAc;IAC9C,MAAM,MAAM,GAAG,CAAC,CAAS;QACvB,IAAI,WAAW,GAAG,CAAC,CAAC;QACpB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YAChC,MAAM,CAAC,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YAChC,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,WAAW,CAAC,CAAC,CAAC;gBAC7B,WAAW,GAAG,CAAC,CAAC;YAClB,CAAC;YAAC,IAAI,CAAC,CAAC;gBACN,MAAM,CAAC,SAAS,CAAC;YACnB,CAAC;QACH,CAAC;QACD,MAAM,CAAC,WAAW,CAAC;IACrB,CAAC,CAAC;IAEF,MAAM,CAAC,MAAM,CAAC;AAChB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/publish.js b/node_modules/rxjs/_esm2015/operators/publish.js new file mode 100644 index 00000000..1c4bdd8d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/publish.js @@ -0,0 +1,22 @@ +import { Subject } from '../Subject'; +import { multicast } from './multicast'; +/* tslint:enable:max-line-length */ +/** + * Returns a ConnectableObservable, which is a variety of Observable that waits until its connect method is called + * before it begins emitting items to those Observers that have subscribed to it. + * + * + * + * @param {Function} [selector] - Optional selector function which can use the multicasted source sequence as many times + * as needed, without causing multiple subscriptions to the source sequence. + * Subscribers to the given source will receive all notifications of the source from the time of the subscription on. + * @return A ConnectableObservable that upon connection causes the source Observable to emit items to its Observers. + * @method publish + * @owner Observable + */ +export function publish(selector) { + return selector ? + multicast(() => new Subject(), selector) : + multicast(new Subject()); +} +//# sourceMappingURL=publish.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/publish.js.map b/node_modules/rxjs/_esm2015/operators/publish.js.map new file mode 100644 index 00000000..4ce39761 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/publish.js.map @@ -0,0 +1 @@ +{"version":3,"file":"publish.js","sourceRoot":"","sources":["../../src/operators/publish.ts"],"names":[],"mappings":"OACO,EAAE,OAAO,EAAE,MAAM,YAAY;OAC7B,EAAE,SAAS,EAAE,MAAM,aAAa;AAQvC,mCAAmC;AAEnC;;;;;;;;;;;;GAYG;AACH,wBAA8B,QAAiC;IAC7D,MAAM,CAAC,QAAQ;QACb,SAAS,CAAC,MAAM,IAAI,OAAO,EAAK,EAAE,QAAQ,CAAC;QAC3C,SAAS,CAAC,IAAI,OAAO,EAAK,CAAC,CAAC;AAChC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/publishBehavior.js b/node_modules/rxjs/_esm2015/operators/publishBehavior.js new file mode 100644 index 00000000..ecb2b93b --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/publishBehavior.js @@ -0,0 +1,12 @@ +import { BehaviorSubject } from '../BehaviorSubject'; +import { multicast } from './multicast'; +/** + * @param value + * @return {ConnectableObservable} + * @method publishBehavior + * @owner Observable + */ +export function publishBehavior(value) { + return (source) => multicast(new BehaviorSubject(value))(source); +} +//# sourceMappingURL=publishBehavior.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/publishBehavior.js.map b/node_modules/rxjs/_esm2015/operators/publishBehavior.js.map new file mode 100644 index 00000000..c1b9669a --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/publishBehavior.js.map @@ -0,0 +1 @@ +{"version":3,"file":"publishBehavior.js","sourceRoot":"","sources":["../../src/operators/publishBehavior.ts"],"names":[],"mappings":"OACO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAC7C,EAAE,SAAS,EAAE,MAAM,aAAa;AAIvC;;;;;GAKG;AACH,gCAAmC,KAAQ;IACzC,MAAM,CAAC,CAAC,MAAqB,KAAK,SAAS,CAAC,IAAI,eAAe,CAAI,KAAK,CAAC,CAAC,CAAC,MAAM,CAA6B,CAAC;AACjH,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/publishLast.js b/node_modules/rxjs/_esm2015/operators/publishLast.js new file mode 100644 index 00000000..5d4ea446 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/publishLast.js @@ -0,0 +1,6 @@ +import { AsyncSubject } from '../AsyncSubject'; +import { multicast } from './multicast'; +export function publishLast() { + return (source) => multicast(new AsyncSubject())(source); +} +//# sourceMappingURL=publishLast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/publishLast.js.map b/node_modules/rxjs/_esm2015/operators/publishLast.js.map new file mode 100644 index 00000000..049b13c9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/publishLast.js.map @@ -0,0 +1 @@ +{"version":3,"file":"publishLast.js","sourceRoot":"","sources":["../../src/operators/publishLast.ts"],"names":[],"mappings":"OACO,EAAE,YAAY,EAAE,MAAM,iBAAiB;OACvC,EAAE,SAAS,EAAE,MAAM,aAAa;AAIvC;IACE,MAAM,CAAC,CAAC,MAAqB,KAAK,SAAS,CAAC,IAAI,YAAY,EAAK,CAAC,CAAC,MAAM,CAAC,CAAC;AAC7E,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/publishReplay.js b/node_modules/rxjs/_esm2015/operators/publishReplay.js new file mode 100644 index 00000000..0372c04b --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/publishReplay.js @@ -0,0 +1,12 @@ +import { ReplaySubject } from '../ReplaySubject'; +import { multicast } from './multicast'; +/* tslint:enable:max-line-length */ +export function publishReplay(bufferSize, windowTime, selectorOrScheduler, scheduler) { + if (selectorOrScheduler && typeof selectorOrScheduler !== 'function') { + scheduler = selectorOrScheduler; + } + const selector = typeof selectorOrScheduler === 'function' ? selectorOrScheduler : undefined; + const subject = new ReplaySubject(bufferSize, windowTime, scheduler); + return (source) => multicast(() => subject, selector)(source); +} +//# sourceMappingURL=publishReplay.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/publishReplay.js.map b/node_modules/rxjs/_esm2015/operators/publishReplay.js.map new file mode 100644 index 00000000..8fd644a9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/publishReplay.js.map @@ -0,0 +1 @@ +{"version":3,"file":"publishReplay.js","sourceRoot":"","sources":["../../src/operators/publishReplay.ts"],"names":[],"mappings":"OACO,EAAE,aAAa,EAAE,MAAM,kBAAkB;OAEzC,EAAE,SAAS,EAAE,MAAM,aAAa;AAQvC,mCAAmC;AAEnC,8BAAoC,UAAmB,EACnB,UAAmB,EACnB,mBAAyD,EACzD,SAAsB;IAExD,EAAE,CAAC,CAAC,mBAAmB,IAAI,OAAO,mBAAmB,KAAK,UAAU,CAAC,CAAC,CAAC;QACrE,SAAS,GAAG,mBAAmB,CAAC;IAClC,CAAC;IAED,MAAM,QAAQ,GAAG,OAAO,mBAAmB,KAAK,UAAU,GAAG,mBAAmB,GAAG,SAAS,CAAC;IAC7F,MAAM,OAAO,GAAG,IAAI,aAAa,CAAI,UAAU,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC;IAExE,MAAM,CAAC,CAAC,MAAqB,KAAK,SAAS,CAAC,MAAM,OAAO,EAAE,QAAQ,CAAC,CAAC,MAAM,CAA6C,CAAC;AAC3H,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/race.js b/node_modules/rxjs/_esm2015/operators/race.js new file mode 100644 index 00000000..dfbcf9e4 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/race.js @@ -0,0 +1,22 @@ +import { isArray } from '../util/isArray'; +import { race as raceStatic } from '../observable/race'; +/* tslint:enable:max-line-length */ +/** + * Returns an Observable that mirrors the first source Observable to emit an item + * from the combination of this Observable and supplied Observables. + * @param {...Observables} ...observables Sources used to race for which Observable emits first. + * @return {Observable} An Observable that mirrors the output of the first Observable to emit an item. + * @method race + * @owner Observable + */ +export function race(...observables) { + return function raceOperatorFunction(source) { + // if the only argument is an array, it was most likely called with + // `pair([obs1, obs2, ...])` + if (observables.length === 1 && isArray(observables[0])) { + observables = observables[0]; + } + return source.lift.call(raceStatic(source, ...observables)); + }; +} +//# sourceMappingURL=race.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/race.js.map b/node_modules/rxjs/_esm2015/operators/race.js.map new file mode 100644 index 00000000..5541fca0 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/race.js.map @@ -0,0 +1 @@ +{"version":3,"file":"race.js","sourceRoot":"","sources":["../../src/operators/race.ts"],"names":[],"mappings":"OACO,EAAE,OAAO,EAAE,MAAM,iBAAiB;OAElC,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,oBAAoB;AAOvD,mCAAmC;AAEnC;;;;;;;GAOG;AACH,qBAAwB,GAAG,WAAwD;IACjF,MAAM,CAAC,8BAA8B,MAAqB;QACxD,mEAAmE;QACnE,4BAA4B;QAC5B,EAAE,CAAC,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YACxD,WAAW,GAAyB,WAAW,CAAC,CAAC,CAAC,CAAC;QACrD,CAAC;QAED,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAI,MAAM,EAAE,GAAG,WAAW,CAAC,CAAC,CAAC;IACjE,CAAC,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/reduce.js b/node_modules/rxjs/_esm2015/operators/reduce.js new file mode 100644 index 00000000..e9f3b36d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/reduce.js @@ -0,0 +1,67 @@ +import { scan } from './scan'; +import { takeLast } from './takeLast'; +import { defaultIfEmpty } from './defaultIfEmpty'; +import { pipe } from '../util/pipe'; +/* tslint:enable:max-line-length */ +/** + * Applies an accumulator function over the source Observable, and returns the + * accumulated result when the source completes, given an optional seed value. + * + * Combines together all values emitted on the source, + * using an accumulator function that knows how to join a new source value into + * the accumulation from the past. + * + * + * + * Like + * [Array.prototype.reduce()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce), + * `reduce` applies an `accumulator` function against an accumulation and each + * value of the source Observable (from the past) to reduce it to a single + * value, emitted on the output Observable. Note that `reduce` will only emit + * one value, only when the source Observable completes. It is equivalent to + * applying operator {@link scan} followed by operator {@link last}. + * + * Returns an Observable that applies a specified `accumulator` function to each + * item emitted by the source Observable. If a `seed` value is specified, then + * that value will be used as the initial value for the accumulator. If no seed + * value is specified, the first item of the source is used as the seed. + * + * @example Count the number of click events that happened in 5 seconds + * var clicksInFiveSeconds = Rx.Observable.fromEvent(document, 'click') + * .takeUntil(Rx.Observable.interval(5000)); + * var ones = clicksInFiveSeconds.mapTo(1); + * var seed = 0; + * var count = ones.reduce((acc, one) => acc + one, seed); + * count.subscribe(x => console.log(x)); + * + * @see {@link count} + * @see {@link expand} + * @see {@link mergeScan} + * @see {@link scan} + * + * @param {function(acc: R, value: T, index: number): R} accumulator The accumulator function + * called on each source value. + * @param {R} [seed] The initial accumulation value. + * @return {Observable} An Observable that emits a single value that is the + * result of accumulating the values emitted by the source Observable. + * @method reduce + * @owner Observable + */ +export function reduce(accumulator, seed) { + // providing a seed of `undefined` *should* be valid and trigger + // hasSeed! so don't use `seed !== undefined` checks! + // For this reason, we have to check it here at the original call site + // otherwise inside Operator/Subscriber we won't know if `undefined` + // means they didn't provide anything or if they literally provided `undefined` + if (arguments.length >= 2) { + return function reduceOperatorFunctionWithSeed(source) { + return pipe(scan(accumulator, seed), takeLast(1), defaultIfEmpty(seed))(source); + }; + } + return function reduceOperatorFunction(source) { + return pipe(scan((acc, value, index) => { + return accumulator(acc, value, index + 1); + }), takeLast(1))(source); + }; +} +//# sourceMappingURL=reduce.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/reduce.js.map b/node_modules/rxjs/_esm2015/operators/reduce.js.map new file mode 100644 index 00000000..5e423dd5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/reduce.js.map @@ -0,0 +1 @@ +{"version":3,"file":"reduce.js","sourceRoot":"","sources":["../../src/operators/reduce.ts"],"names":[],"mappings":"OACO,EAAE,IAAI,EAAE,MAAM,QAAQ;OACtB,EAAE,QAAQ,EAAE,MAAM,YAAY;OAC9B,EAAE,cAAc,EAAE,MAAM,kBAAkB;OAE1C,EAAE,IAAI,EAAE,MAAM,cAAc;AAMnC,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,uBAA6B,WAAoD,EAAE,IAAQ;IACzF,gEAAgE;IAChE,qDAAqD;IACrD,sEAAsE;IACtE,oEAAoE;IACpE,+EAA+E;IAC/E,EAAE,CAAC,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC;QAC1B,MAAM,CAAC,wCAAwC,MAAqB;YAClE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;QAClF,CAAC,CAAC;IACJ,CAAC;IACD,MAAM,CAAC,gCAAgC,MAAqB;QAC1D,MAAM,CAAC,IAAI,CAAC,IAAI,CAAW,CAAC,GAAG,EAAE,KAAK,EAAE,KAAK;YAC3C,MAAM,CAAC,WAAW,CAAI,GAAG,EAAE,KAAK,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC;QAC/C,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAkB,CAAC;IAC5C,CAAC,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/refCount.js b/node_modules/rxjs/_esm2015/operators/refCount.js new file mode 100644 index 00000000..473d2235 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/refCount.js @@ -0,0 +1,75 @@ +import { Subscriber } from '../Subscriber'; +export function refCount() { + return function refCountOperatorFunction(source) { + return source.lift(new RefCountOperator(source)); + }; +} +class RefCountOperator { + constructor(connectable) { + this.connectable = connectable; + } + call(subscriber, source) { + const { connectable } = this; + connectable._refCount++; + const refCounter = new RefCountSubscriber(subscriber, connectable); + const subscription = source.subscribe(refCounter); + if (!refCounter.closed) { + refCounter.connection = connectable.connect(); + } + return subscription; + } +} +class RefCountSubscriber extends Subscriber { + constructor(destination, connectable) { + super(destination); + this.connectable = connectable; + } + _unsubscribe() { + const { connectable } = this; + if (!connectable) { + this.connection = null; + return; + } + this.connectable = null; + const refCount = connectable._refCount; + if (refCount <= 0) { + this.connection = null; + return; + } + connectable._refCount = refCount - 1; + if (refCount > 1) { + this.connection = null; + return; + } + /// + // Compare the local RefCountSubscriber's connection Subscription to the + // connection Subscription on the shared ConnectableObservable. In cases + // where the ConnectableObservable source synchronously emits values, and + // the RefCountSubscriber's downstream Observers synchronously unsubscribe, + // execution continues to here before the RefCountOperator has a chance to + // supply the RefCountSubscriber with the shared connection Subscription. + // For example: + // ``` + // Observable.range(0, 10) + // .publish() + // .refCount() + // .take(5) + // .subscribe(); + // ``` + // In order to account for this case, RefCountSubscriber should only dispose + // the ConnectableObservable's shared connection Subscription if the + // connection Subscription exists, *and* either: + // a. RefCountSubscriber doesn't have a reference to the shared connection + // Subscription yet, or, + // b. RefCountSubscriber's connection Subscription reference is identical + // to the shared connection Subscription + /// + const { connection } = this; + const sharedConnection = connectable._connection; + this.connection = null; + if (sharedConnection && (!connection || sharedConnection === connection)) { + sharedConnection.unsubscribe(); + } + } +} +//# sourceMappingURL=refCount.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/refCount.js.map b/node_modules/rxjs/_esm2015/operators/refCount.js.map new file mode 100644 index 00000000..f3581837 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/refCount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"refCount.js","sourceRoot":"","sources":["../../src/operators/refCount.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAM1C;IACE,MAAM,CAAC,kCAAkC,MAAgC;QACvE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAC;IACnD,CAAC,CAAC;AACJ,CAAC;AAED;IACE,YAAoB,WAAqC;QAArC,gBAAW,GAAX,WAAW,CAA0B;IACzD,CAAC;IACD,IAAI,CAAC,UAAyB,EAAE,MAAW;QAEzC,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;QACtB,WAAY,CAAC,SAAS,EAAE,CAAC;QAEhC,MAAM,UAAU,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;QACnE,MAAM,YAAY,GAAG,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QAElD,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;YAChB,UAAW,CAAC,UAAU,GAAG,WAAW,CAAC,OAAO,EAAE,CAAC;QACxD,CAAC;QAED,MAAM,CAAC,YAAY,CAAC;IACtB,CAAC;AACH,CAAC;AAED,iCAAoC,UAAU;IAI5C,YAAY,WAA0B,EAClB,WAAqC;QACvD,MAAM,WAAW,CAAC,CAAC;QADD,gBAAW,GAAX,WAAW,CAA0B;IAEzD,CAAC;IAES,YAAY;QAEpB,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;QAC7B,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC;YACjB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;YACvB,MAAM,CAAC;QACT,CAAC;QAED,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;QACxB,MAAM,QAAQ,GAAU,WAAY,CAAC,SAAS,CAAC;QAC/C,EAAE,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,CAAC,CAAC;YAClB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;YACvB,MAAM,CAAC;QACT,CAAC;QAEM,WAAY,CAAC,SAAS,GAAG,QAAQ,GAAG,CAAC,CAAC;QAC7C,EAAE,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,CAAC;YACjB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;YACvB,MAAM,CAAC;QACT,CAAC;QAED,GAAG;QACH,wEAAwE;QACxE,wEAAwE;QACxE,yEAAyE;QACzE,2EAA2E;QAC3E,0EAA0E;QAC1E,yEAAyE;QACzE,eAAe;QACf,MAAM;QACN,0BAA0B;QAC1B,eAAe;QACf,gBAAgB;QAChB,aAAa;QACb,kBAAkB;QAClB,MAAM;QACN,4EAA4E;QAC5E,oEAAoE;QACpE,gDAAgD;QAChD,4EAA4E;QAC5E,6BAA6B;QAC7B,2EAA2E;QAC3E,6CAA6C;QAC7C,GAAG;QACH,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;QAC5B,MAAM,gBAAgB,GAAU,WAAY,CAAC,WAAW,CAAC;QACzD,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QAEvB,EAAE,CAAC,CAAC,gBAAgB,IAAI,CAAC,CAAC,UAAU,IAAI,gBAAgB,KAAK,UAAU,CAAC,CAAC,CAAC,CAAC;YACzE,gBAAgB,CAAC,WAAW,EAAE,CAAC;QACjC,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/repeat.js b/node_modules/rxjs/_esm2015/operators/repeat.js new file mode 100644 index 00000000..3f73a20c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/repeat.js @@ -0,0 +1,61 @@ +import { Subscriber } from '../Subscriber'; +import { EmptyObservable } from '../observable/EmptyObservable'; +/** + * Returns an Observable that repeats the stream of items emitted by the source Observable at most count times. + * + * + * + * @param {number} [count] The number of times the source Observable items are repeated, a count of 0 will yield + * an empty Observable. + * @return {Observable} An Observable that repeats the stream of items emitted by the source Observable at most + * count times. + * @method repeat + * @owner Observable + */ +export function repeat(count = -1) { + return (source) => { + if (count === 0) { + return new EmptyObservable(); + } + else if (count < 0) { + return source.lift(new RepeatOperator(-1, source)); + } + else { + return source.lift(new RepeatOperator(count - 1, source)); + } + }; +} +class RepeatOperator { + constructor(count, source) { + this.count = count; + this.source = source; + } + call(subscriber, source) { + return source.subscribe(new RepeatSubscriber(subscriber, this.count, this.source)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class RepeatSubscriber extends Subscriber { + constructor(destination, count, source) { + super(destination); + this.count = count; + this.source = source; + } + complete() { + if (!this.isStopped) { + const { source, count } = this; + if (count === 0) { + return super.complete(); + } + else if (count > -1) { + this.count = count - 1; + } + source.subscribe(this._unsubscribeAndRecycle()); + } + } +} +//# sourceMappingURL=repeat.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/repeat.js.map b/node_modules/rxjs/_esm2015/operators/repeat.js.map new file mode 100644 index 00000000..d2476f67 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/repeat.js.map @@ -0,0 +1 @@ +{"version":3,"file":"repeat.js","sourceRoot":"","sources":["../../src/operators/repeat.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;OAEnC,EAAE,eAAe,EAAE,MAAM,+BAA+B;AAI/D;;;;;;;;;;;GAWG;AACH,uBAA0B,KAAK,GAAW,CAAC,CAAC;IAC1C,MAAM,CAAC,CAAC,MAAqB;QAC3B,EAAE,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC;YAChB,MAAM,CAAC,IAAI,eAAe,EAAK,CAAC;QAClC,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,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AAC,SAAS,CAAC,IAAI,CAAC,sBAAsB,EAAE,CAAC,CAAC;QAClD,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/repeatWhen.js b/node_modules/rxjs/_esm2015/operators/repeatWhen.js new file mode 100644 index 00000000..e5bbbb96 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/repeatWhen.js @@ -0,0 +1,98 @@ +import { Subject } from '../Subject'; +import { tryCatch } from '../util/tryCatch'; +import { errorObject } from '../util/errorObject'; +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/** + * Returns an Observable that mirrors the source Observable with the exception of a `complete`. If the source + * Observable calls `complete`, this method will emit to the Observable returned from `notifier`. If that Observable + * calls `complete` or `error`, then this method will call `complete` or `error` on the child subscription. Otherwise + * this method will resubscribe to the source Observable. + * + * + * + * @param {function(notifications: Observable): Observable} notifier - Receives an Observable of notifications with + * which a user can `complete` or `error`, aborting the repetition. + * @return {Observable} The source Observable modified with repeat logic. + * @method repeatWhen + * @owner Observable + */ +export function repeatWhen(notifier) { + return (source) => source.lift(new RepeatWhenOperator(notifier)); +} +class RepeatWhenOperator { + constructor(notifier) { + this.notifier = notifier; + } + call(subscriber, source) { + return source.subscribe(new RepeatWhenSubscriber(subscriber, this.notifier, source)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class RepeatWhenSubscriber extends OuterSubscriber { + constructor(destination, notifier, source) { + super(destination); + this.notifier = notifier; + this.source = source; + this.sourceIsBeingSubscribedTo = true; + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + this.sourceIsBeingSubscribedTo = true; + this.source.subscribe(this); + } + notifyComplete(innerSub) { + if (this.sourceIsBeingSubscribedTo === false) { + return super.complete(); + } + } + complete() { + this.sourceIsBeingSubscribedTo = false; + if (!this.isStopped) { + if (!this.retries) { + this.subscribeToRetries(); + } + else if (this.retriesSubscription.closed) { + return super.complete(); + } + this._unsubscribeAndRecycle(); + this.notifications.next(); + } + } + _unsubscribe() { + const { notifications, retriesSubscription } = this; + if (notifications) { + notifications.unsubscribe(); + this.notifications = null; + } + if (retriesSubscription) { + retriesSubscription.unsubscribe(); + this.retriesSubscription = null; + } + this.retries = null; + } + _unsubscribeAndRecycle() { + const { notifications, retries, retriesSubscription } = this; + this.notifications = null; + this.retries = null; + this.retriesSubscription = null; + super._unsubscribeAndRecycle(); + this.notifications = notifications; + this.retries = retries; + this.retriesSubscription = retriesSubscription; + return this; + } + subscribeToRetries() { + this.notifications = new Subject(); + const retries = tryCatch(this.notifier)(this.notifications); + if (retries === errorObject) { + return super.complete(); + } + this.retries = retries; + this.retriesSubscription = subscribeToResult(this, retries); + } +} +//# sourceMappingURL=repeatWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/repeatWhen.js.map b/node_modules/rxjs/_esm2015/operators/repeatWhen.js.map new file mode 100644 index 00000000..5ca3553d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/repeatWhen.js.map @@ -0,0 +1 @@ +{"version":3,"file":"repeatWhen.js","sourceRoot":"","sources":["../../src/operators/repeatWhen.ts"],"names":[],"mappings":"OAGO,EAAE,OAAO,EAAE,MAAM,YAAY;OAE7B,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAE1C,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAI7D;;;;;;;;;;;;;GAaG;AACH,2BAA8B,QAA6D;IACzF,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,kBAAkB,CAAC,QAAQ,CAAC,CAAC,CAAC;AAClF,CAAC;AAED;IACE,YAAsB,QAA6D;QAA7D,aAAQ,GAAR,QAAQ,CAAqD;IACnF,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MA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,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/retry.js b/node_modules/rxjs/_esm2015/operators/retry.js new file mode 100644 index 00000000..ba2f70b8 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/retry.js @@ -0,0 +1,54 @@ +import { Subscriber } from '../Subscriber'; +/** + * Returns an Observable that mirrors the source Observable with the exception of an `error`. If the source Observable + * calls `error`, this method will resubscribe to the source Observable for a maximum of `count` resubscriptions (given + * as a number parameter) rather than propagating the `error` call. + * + * + * + * Any and all items emitted by the source Observable will be emitted by the resulting Observable, even those emitted + * during failed subscriptions. For example, if an Observable fails at first but emits [1, 2] then succeeds the second + * time and emits: [1, 2, 3, 4, 5] then the complete stream of emissions and notifications + * would be: [1, 2, 1, 2, 3, 4, 5, `complete`]. + * @param {number} count - Number of retry attempts before failing. + * @return {Observable} The source Observable modified with the retry logic. + * @method retry + * @owner Observable + */ +export function retry(count = -1) { + return (source) => source.lift(new RetryOperator(count, source)); +} +class RetryOperator { + constructor(count, source) { + this.count = count; + this.source = source; + } + call(subscriber, source) { + return source.subscribe(new RetrySubscriber(subscriber, this.count, this.source)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class RetrySubscriber extends Subscriber { + constructor(destination, count, source) { + super(destination); + this.count = count; + this.source = source; + } + error(err) { + if (!this.isStopped) { + const { source, count } = this; + if (count === 0) { + return super.error(err); + } + else if (count > -1) { + this.count = count - 1; + } + source.subscribe(this._unsubscribeAndRecycle()); + } + } +} +//# sourceMappingURL=retry.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/retry.js.map b/node_modules/rxjs/_esm2015/operators/retry.js.map new file mode 100644 index 00000000..a0116274 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/retry.js.map @@ -0,0 +1 @@ +{"version":3,"file":"retry.js","sourceRoot":"","sources":["../../src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C;QAClD,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/retryWhen.js b/node_modules/rxjs/_esm2015/operators/retryWhen.js new file mode 100644 index 00000000..ec07fd66 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/retryWhen.js @@ -0,0 +1,91 @@ +import { Subject } from '../Subject'; +import { tryCatch } from '../util/tryCatch'; +import { errorObject } from '../util/errorObject'; +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/** + * Returns an Observable that mirrors the source Observable with the exception of an `error`. If the source Observable + * calls `error`, this method will emit the Throwable that caused the error to the Observable returned from `notifier`. + * If that Observable calls `complete` or `error` then this method will call `complete` or `error` on the child + * subscription. Otherwise this method will resubscribe to the source Observable. + * + * + * + * @param {function(errors: Observable): Observable} notifier - Receives an Observable of notifications with which a + * user can `complete` or `error`, aborting the retry. + * @return {Observable} The source Observable modified with retry logic. + * @method retryWhen + * @owner Observable + */ +export function retryWhen(notifier) { + return (source) => source.lift(new RetryWhenOperator(notifier, source)); +} +class RetryWhenOperator { + constructor(notifier, source) { + this.notifier = notifier; + this.source = source; + } + call(subscriber, source) { + return source.subscribe(new RetryWhenSubscriber(subscriber, this.notifier, this.source)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class RetryWhenSubscriber extends OuterSubscriber { + constructor(destination, notifier, source) { + super(destination); + this.notifier = notifier; + this.source = source; + } + error(err) { + if (!this.isStopped) { + let errors = this.errors; + let retries = this.retries; + let retriesSubscription = this.retriesSubscription; + if (!retries) { + errors = new Subject(); + retries = tryCatch(this.notifier)(errors); + if (retries === errorObject) { + return super.error(errorObject.e); + } + retriesSubscription = subscribeToResult(this, retries); + } + else { + this.errors = null; + this.retriesSubscription = null; + } + this._unsubscribeAndRecycle(); + this.errors = errors; + this.retries = retries; + this.retriesSubscription = retriesSubscription; + errors.next(err); + } + } + _unsubscribe() { + const { errors, retriesSubscription } = this; + if (errors) { + errors.unsubscribe(); + this.errors = null; + } + if (retriesSubscription) { + retriesSubscription.unsubscribe(); + this.retriesSubscription = null; + } + this.retries = null; + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + const { errors, retries, retriesSubscription } = this; + this.errors = null; + this.retries = null; + this.retriesSubscription = null; + this._unsubscribeAndRecycle(); + this.errors = errors; + this.retries = retries; + this.retriesSubscription = retriesSubscription; + this.source.subscribe(this); + } +} +//# sourceMappingURL=retryWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/retryWhen.js.map b/node_modules/rxjs/_esm2015/operators/retryWhen.js.map new file mode 100644 index 00000000..2e87cd88 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/retryWhen.js.map @@ -0,0 +1 @@ +{"version":3,"file":"retryWhen.js","sourceRoot":"","sources":["../../src/operators/retryWhen.ts"],"names":[],"mappings":"OAGO,EAAE,OAAO,EAAE,MAAM,YAAY;OAE7B,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAE1C,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAI7D;;;;;;;;;;;;;GAaG;AACH,0BAA6B,QAAsD;IACjF,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;AACzF,CAAC;AAED;IACE,YAAsB,QAAsD,EACtD,MAAqB;QADrB,aAAQ,GAAR,QAAQ,CAA8C;QACtD,WAAM,GAAN,MAAM,CAAe;IAC3C,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,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CAAC;IAES,YAAY;QACpB,MAAM,EAAE,MAAM,EAAE,mBAAmB,EAAE,GAAG,IAAI,CAAC;QAC7C,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;YACX,MAAM,CAAC,WAAW,EAAE,CAAC;YACrB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACrB,CAAC;QACD,EAAE,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC;YACxB,mBAAmB,CAAC,WAAW,EAAE,CAAC;YAClC,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC;QAClC,CAAC;QACD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;IACtB,CAAC;IAED,UAAU,CAAC,UAAa,EAAE,UAAa,EAC5B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,mBAAmB,EAAE,GAAG,IAAI,CAAC;QACtD,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC;QAEhC,IAAI,CAAC,sBAAsB,EAAE,CAAC;QAE9B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;QAE/C,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/sample.js b/node_modules/rxjs/_esm2015/operators/sample.js new file mode 100644 index 00000000..a04bf4ec --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/sample.js @@ -0,0 +1,78 @@ +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/** + * Emits the most recently emitted value from the source Observable whenever + * another Observable, the `notifier`, emits. + * + * It's like {@link sampleTime}, but samples whenever + * the `notifier` Observable emits something. + * + * + * + * Whenever the `notifier` Observable emits a value or completes, `sample` + * looks at the source Observable and emits whichever value it has most recently + * emitted since the previous sampling, unless the source has not emitted + * anything since the previous sampling. The `notifier` is subscribed to as soon + * as the output Observable is subscribed. + * + * @example On every click, sample the most recent "seconds" timer + * var seconds = Rx.Observable.interval(1000); + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = seconds.sample(clicks); + * result.subscribe(x => console.log(x)); + * + * @see {@link audit} + * @see {@link debounce} + * @see {@link sampleTime} + * @see {@link throttle} + * + * @param {Observable} notifier The Observable to use for sampling the + * source Observable. + * @return {Observable} An Observable that emits the results of sampling the + * values emitted by the source Observable whenever the notifier Observable + * emits value or completes. + * @method sample + * @owner Observable + */ +export function sample(notifier) { + return (source) => source.lift(new SampleOperator(notifier)); +} +class SampleOperator { + constructor(notifier) { + this.notifier = notifier; + } + call(subscriber, source) { + const sampleSubscriber = new SampleSubscriber(subscriber); + const subscription = source.subscribe(sampleSubscriber); + subscription.add(subscribeToResult(sampleSubscriber, this.notifier)); + return subscription; + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class SampleSubscriber extends OuterSubscriber { + constructor() { + super(...arguments); + this.hasValue = false; + } + _next(value) { + this.value = value; + this.hasValue = true; + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + this.emitValue(); + } + notifyComplete() { + this.emitValue(); + } + emitValue() { + if (this.hasValue) { + this.hasValue = false; + this.destination.next(this.value); + } + } +} +//# sourceMappingURL=sample.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/sample.js.map b/node_modules/rxjs/_esm2015/operators/sample.js.map new file mode 100644 index 00000000..49c1f2f5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/sample.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sample.js","sourceRoot":"","sources":["../../src/operators/sample.ts"],"names":[],"mappings":"O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,CAAC,KAAK,CAAC,CAAC;QACpC,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/sampleTime.js b/node_modules/rxjs/_esm2015/operators/sampleTime.js new file mode 100644 index 00000000..29f97e2e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/sampleTime.js @@ -0,0 +1,80 @@ +import { Subscriber } from '../Subscriber'; +import { async } from '../scheduler/async'; +/** + * Emits the most recently emitted value from the source Observable within + * periodic time intervals. + * + * Samples the source Observable at periodic time + * intervals, emitting what it samples. + * + * + * + * `sampleTime` periodically looks at the source Observable and emits whichever + * value it has most recently emitted since the previous sampling, unless the + * source has not emitted anything since the previous sampling. The sampling + * happens periodically in time every `period` milliseconds (or the time unit + * defined by the optional `scheduler` argument). The sampling starts as soon as + * the output Observable is subscribed. + * + * @example Every second, emit the most recent click at most once + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.sampleTime(1000); + * result.subscribe(x => console.log(x)); + * + * @see {@link auditTime} + * @see {@link debounceTime} + * @see {@link delay} + * @see {@link sample} + * @see {@link throttleTime} + * + * @param {number} period The sampling period expressed in milliseconds or the + * time unit determined internally by the optional `scheduler`. + * @param {Scheduler} [scheduler=async] The {@link IScheduler} to use for + * managing the timers that handle the sampling. + * @return {Observable} An Observable that emits the results of sampling the + * values emitted by the source Observable at the specified time interval. + * @method sampleTime + * @owner Observable + */ +export function sampleTime(period, scheduler = async) { + return (source) => source.lift(new SampleTimeOperator(period, scheduler)); +} +class SampleTimeOperator { + constructor(period, scheduler) { + this.period = period; + this.scheduler = scheduler; + } + call(subscriber, source) { + return source.subscribe(new SampleTimeSubscriber(subscriber, this.period, this.scheduler)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class SampleTimeSubscriber extends Subscriber { + constructor(destination, period, scheduler) { + super(destination); + this.period = period; + this.scheduler = scheduler; + this.hasValue = false; + this.add(scheduler.schedule(dispatchNotification, period, { subscriber: this, period })); + } + _next(value) { + this.lastValue = value; + this.hasValue = true; + } + notifyNext() { + if (this.hasValue) { + this.hasValue = false; + this.destination.next(this.lastValue); + } + } +} +function dispatchNotification(state) { + let { subscriber, period } = state; + subscriber.notifyNext(); + this.schedule(state, period); +} +//# sourceMappingURL=sampleTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/sampleTime.js.map b/node_modules/rxjs/_esm2015/operators/sampleTime.js.map new file mode 100644 index 00000000..f46989f4 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/sampleTime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sampleTime.js","sourceRoot":"","sources":["../../src/operators/sampleTime.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;OAGnC,EAAE,KAAK,EAAE,MAAM,oBAAoB;AAK1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,2BAA8B,MAAc,EAAE,SAAS,GAAe,KAAK;IACzE,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,kBAAkB,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;AAC3F,CAAC;AAED;IACE,YAAoB,MAAc,EACd,SAAqB;QADrB,WAAM,GAAN,MAAM,CAAQ;QACd,cAAS,GAAT,SAAS,CAAY;IACzC,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,oBAAoB,CAAC,UAAU,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;IAC7F,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,mCAAsC,UAAU;IAI9C,YAAY,WAA0B,EAClB,MAAc,EACd,SAAqB;QACvC,MAAM,WAAW,CAAC,CAAC;QAFD,WAAM,GAAN,MAAM,CAAQ;QACd,cAAS,GAAT,SAAS,CAAY;QAJzC,aAAQ,GAAY,KAAK,CAAC;QAMxB,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,oBAAoB,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;IAC3F,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;IACvB,CAAC;IAED,UAAU;QACR,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YAClB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;YACtB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACxC,CAAC;IACH,CAAC;AACH,CAAC;AAED,8BAAoD,KAAU;IAC5D,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACnC,UAAU,CAAC,UAAU,EAAE,CAAC;IACxB,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;AAC/B,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/scan.js b/node_modules/rxjs/_esm2015/operators/scan.js new file mode 100644 index 00000000..68bd3ab0 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/scan.js @@ -0,0 +1,106 @@ +import { Subscriber } from '../Subscriber'; +/* tslint:enable:max-line-length */ +/** + * Applies an accumulator function over the source Observable, and returns each + * intermediate result, with an optional seed value. + * + * It's like {@link reduce}, but emits the current + * accumulation whenever the source emits a value. + * + * + * + * Combines together all values emitted on the source, using an accumulator + * function that knows how to join a new source value into the accumulation from + * the past. Is similar to {@link reduce}, but emits the intermediate + * accumulations. + * + * Returns an Observable that applies a specified `accumulator` function to each + * item emitted by the source Observable. If a `seed` value is specified, then + * that value will be used as the initial value for the accumulator. If no seed + * value is specified, the first item of the source is used as the seed. + * + * @example Count the number of click events + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var ones = clicks.mapTo(1); + * var seed = 0; + * var count = ones.scan((acc, one) => acc + one, seed); + * count.subscribe(x => console.log(x)); + * + * @see {@link expand} + * @see {@link mergeScan} + * @see {@link reduce} + * + * @param {function(acc: R, value: T, index: number): R} accumulator + * The accumulator function called on each source value. + * @param {T|R} [seed] The initial accumulation value. + * @return {Observable} An observable of the accumulated values. + * @method scan + * @owner Observable + */ +export function scan(accumulator, seed) { + let hasSeed = false; + // providing a seed of `undefined` *should* be valid and trigger + // hasSeed! so don't use `seed !== undefined` checks! + // For this reason, we have to check it here at the original call site + // otherwise inside Operator/Subscriber we won't know if `undefined` + // means they didn't provide anything or if they literally provided `undefined` + if (arguments.length >= 2) { + hasSeed = true; + } + return function scanOperatorFunction(source) { + return source.lift(new ScanOperator(accumulator, seed, hasSeed)); + }; +} +class ScanOperator { + constructor(accumulator, seed, hasSeed = false) { + this.accumulator = accumulator; + this.seed = seed; + this.hasSeed = hasSeed; + } + call(subscriber, source) { + return source.subscribe(new ScanSubscriber(subscriber, this.accumulator, this.seed, this.hasSeed)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class ScanSubscriber extends Subscriber { + constructor(destination, accumulator, _seed, hasSeed) { + super(destination); + this.accumulator = accumulator; + this._seed = _seed; + this.hasSeed = hasSeed; + this.index = 0; + } + get seed() { + return this._seed; + } + set seed(value) { + this.hasSeed = true; + this._seed = value; + } + _next(value) { + if (!this.hasSeed) { + this.seed = value; + this.destination.next(value); + } + else { + return this._tryNext(value); + } + } + _tryNext(value) { + const index = this.index++; + let result; + try { + result = this.accumulator(this.seed, value, index); + } + catch (err) { + this.destination.error(err); + } + this.seed = result; + this.destination.next(result); + } +} +//# sourceMappingURL=scan.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/scan.js.map b/node_modules/rxjs/_esm2015/operators/scan.js.map new file mode 100644 index 00000000..a1059860 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/scan.js.map @@ -0,0 +1 @@ +{"version":3,"file":"scan.js","sourceRoot":"","sources":["../../src/operators/scan.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;AAO1C,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,qBAA2B,WAAmD,EAAE,IAAY;IAC1F,IAAI,OAAO,GAAG,KAAK,CAAC;IACpB,gEAAgE;IAChE,qDAAqD;IACrD,sEAAsE;IACtE,oEAAoE;IACpE,+EAA+E;IAC/E,EAAE,CAAC,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC;QAC1B,OAAO,GAAG,IAAI,CAAC;IACjB,CAAC;IAED,MAAM,CAAC,8BAA8B,MAAqB;QACxD,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,YAAY,CAAC,WAAW,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;IACnE,CAAC,CAAC;AACJ,CAAC;AAED;IACE,YAAoB,WAAmD,EAAU,IAAY,EAAU,OAAO,GAAY,KAAK;QAA3G,gBAAW,GAAX,WAAW,CAAwC;QAAU,SAAI,GAAJ,IAAI,CAAQ;QAAU,YAAO,GAAP,OAAO,CAAiB;IAAG,CAAC;IAEnI,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,cAAc,CAAC,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IACrG,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,6BAAmC,UAAU;IAY3C,YAAY,WAA0B,EAAU,WAAmD,EAAU,KAAY,EACrG,OAAgB;QAClC,MAAM,WAAW,CAAC,CAAC;QAF2B,gBAAW,GAAX,WAAW,CAAwC;QAAU,UAAK,GAAL,KAAK,CAAO;QACrG,YAAO,GAAP,OAAO,CAAS;QAZ5B,UAAK,GAAW,CAAC,CAAC;IAc1B,CAAC;IAZD,IAAI,IAAI;QACN,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED,IAAI,IAAI,CAAC,KAAY;QACnB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAOS,KAAK,CAAC,KAAQ;QACtB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;YAClB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;YAClB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC9B,CAAC;IACH,CAAC;IAEO,QAAQ,CAAC,KAAQ;QACvB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;QAC3B,IAAI,MAAW,CAAC;QAChB,IAAI,CAAC;YACH,MAAM,GAAG,IAAI,CAAC,WAAW,CAAI,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;QACxD,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC9B,CAAC;QACD,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC;QACnB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/sequenceEqual.js b/node_modules/rxjs/_esm2015/operators/sequenceEqual.js new file mode 100644 index 00000000..bcfff05f --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/sequenceEqual.js @@ -0,0 +1,150 @@ +import { Subscriber } from '../Subscriber'; +import { tryCatch } from '../util/tryCatch'; +import { errorObject } from '../util/errorObject'; +/** + * Compares all values of two observables in sequence using an optional comparor function + * and returns an observable of a single boolean value representing whether or not the two sequences + * are equal. + * + * Checks to see of all values emitted by both observables are equal, in order. + * + * + * + * `sequenceEqual` subscribes to two observables and buffers incoming values from each observable. Whenever either + * observable emits a value, the value is buffered and the buffers are shifted and compared from the bottom + * up; If any value pair doesn't match, the returned observable will emit `false` and complete. If one of the + * observables completes, the operator will wait for the other observable to complete; If the other + * observable emits before completing, the returned observable will emit `false` and complete. If one observable never + * completes or emits after the other complets, the returned observable will never complete. + * + * @example figure out if the Konami code matches + * var code = Rx.Observable.from([ + * "ArrowUp", + * "ArrowUp", + * "ArrowDown", + * "ArrowDown", + * "ArrowLeft", + * "ArrowRight", + * "ArrowLeft", + * "ArrowRight", + * "KeyB", + * "KeyA", + * "Enter" // no start key, clearly. + * ]); + * + * var keys = Rx.Observable.fromEvent(document, 'keyup') + * .map(e => e.code); + * var matches = keys.bufferCount(11, 1) + * .mergeMap( + * last11 => + * Rx.Observable.from(last11) + * .sequenceEqual(code) + * ); + * matches.subscribe(matched => console.log('Successful cheat at Contra? ', matched)); + * + * @see {@link combineLatest} + * @see {@link zip} + * @see {@link withLatestFrom} + * + * @param {Observable} compareTo The observable sequence to compare the source sequence to. + * @param {function} [comparor] An optional function to compare each value pair + * @return {Observable} An Observable of a single boolean value representing whether or not + * the values emitted by both observables were equal in sequence. + * @method sequenceEqual + * @owner Observable + */ +export function sequenceEqual(compareTo, comparor) { + return (source) => source.lift(new SequenceEqualOperator(compareTo, comparor)); +} +export class SequenceEqualOperator { + constructor(compareTo, comparor) { + this.compareTo = compareTo; + this.comparor = comparor; + } + call(subscriber, source) { + return source.subscribe(new SequenceEqualSubscriber(subscriber, this.compareTo, this.comparor)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class SequenceEqualSubscriber extends Subscriber { + constructor(destination, compareTo, comparor) { + super(destination); + this.compareTo = compareTo; + this.comparor = comparor; + this._a = []; + this._b = []; + this._oneComplete = false; + this.add(compareTo.subscribe(new SequenceEqualCompareToSubscriber(destination, this))); + } + _next(value) { + if (this._oneComplete && this._b.length === 0) { + this.emit(false); + } + else { + this._a.push(value); + this.checkValues(); + } + } + _complete() { + if (this._oneComplete) { + this.emit(this._a.length === 0 && this._b.length === 0); + } + else { + this._oneComplete = true; + } + } + checkValues() { + const { _a, _b, comparor } = this; + while (_a.length > 0 && _b.length > 0) { + let a = _a.shift(); + let b = _b.shift(); + let areEqual = false; + if (comparor) { + areEqual = tryCatch(comparor)(a, b); + if (areEqual === errorObject) { + this.destination.error(errorObject.e); + } + } + else { + areEqual = a === b; + } + if (!areEqual) { + this.emit(false); + } + } + } + emit(value) { + const { destination } = this; + destination.next(value); + destination.complete(); + } + nextB(value) { + if (this._oneComplete && this._a.length === 0) { + this.emit(false); + } + else { + this._b.push(value); + this.checkValues(); + } + } +} +class SequenceEqualCompareToSubscriber extends Subscriber { + constructor(destination, parent) { + super(destination); + this.parent = parent; + } + _next(value) { + this.parent.nextB(value); + } + _error(err) { + this.parent.error(err); + } + _complete() { + this.parent._complete(); + } +} +//# sourceMappingURL=sequenceEqual.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/sequenceEqual.js.map b/node_modules/rxjs/_esm2015/operators/sequenceEqual.js.map new file mode 100644 index 00000000..89a111c4 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/sequenceEqual.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sequenceEqual.js","sourceRoot":"","sources":["../../src/operators/sequenceEqual.ts"],"names":[],"mappings":"OAGO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,WAAW,EAAE,MAAM,qBAAqB;AAIjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAC,KAAK,CAAC,CAAC;QACxB,WAAW,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;IAED,KAAK,CAAC,KAAQ;QACZ,EAAE,CAAC,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,EAAE,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;YAC9C,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACnB,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACpB,IAAI,CAAC,WAAW,EAAE,CAAC;QACrB,CAAC;IACH,CAAC;AACH,CAAC;AAED,+CAAqD,UAAU;IAC7D,YAAY,WAAwB,EAAU,MAAqC;QACjF,MAAM,WAAW,CAAC,CAAC;QADyB,WAAM,GAAN,MAAM,CAA+B;IAEnF,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAC3B,CAAC;IAES,MAAM,CAAC,GAAQ;QACvB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACzB,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,MAAM,CAAC,SAAS,EAAE,CAAC;IAC1B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/share.js b/node_modules/rxjs/_esm2015/operators/share.js new file mode 100644 index 00000000..88c8c180 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/share.js @@ -0,0 +1,23 @@ +import { multicast } from './multicast'; +import { refCount } from './refCount'; +import { Subject } from '../Subject'; +function shareSubjectFactory() { + return new Subject(); +} +/** + * Returns a new Observable that multicasts (shares) the original Observable. As long as there is at least one + * Subscriber this Observable will be subscribed and emitting data. When all subscribers have unsubscribed it will + * unsubscribe from the source Observable. Because the Observable is multicasting it makes the stream `hot`. + * This is an alias for .multicast(() => new Subject()).refCount(). + * + * + * + * @return {Observable} An Observable that upon connection causes the source Observable to emit items to its Observers. + * @method share + * @owner Observable + */ +export function share() { + return (source) => refCount()(multicast(shareSubjectFactory)(source)); +} +; +//# sourceMappingURL=share.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/share.js.map b/node_modules/rxjs/_esm2015/operators/share.js.map new file mode 100644 index 00000000..dad030cb --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/share.js.map @@ -0,0 +1 @@ +{"version":3,"file":"share.js","sourceRoot":"","sources":["../../src/operators/share.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,EAAE,MAAM,aAAa;OAChC,EAAE,QAAQ,EAAE,MAAM,YAAY;OAC9B,EAAE,OAAO,EAAE,MAAM,YAAY;AAIpC;IACE,MAAM,CAAC,IAAI,OAAO,EAAE,CAAC;AACvB,CAAC;AAED;;;;;;;;;;;GAWG;AACH;IACE,MAAM,CAAC,CAAC,MAAqB,KAAK,QAAQ,EAAE,CAAC,SAAS,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAkB,CAAC;AACxG,CAAC;AAAA,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/shareReplay.js b/node_modules/rxjs/_esm2015/operators/shareReplay.js new file mode 100644 index 00000000..d971c83e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/shareReplay.js @@ -0,0 +1,43 @@ +import { ReplaySubject } from '../ReplaySubject'; +/** + * @method shareReplay + * @owner Observable + */ +export function shareReplay(bufferSize, windowTime, scheduler) { + return (source) => source.lift(shareReplayOperator(bufferSize, windowTime, scheduler)); +} +function shareReplayOperator(bufferSize, windowTime, scheduler) { + let subject; + let refCount = 0; + let subscription; + let hasError = false; + let isComplete = false; + return function shareReplayOperation(source) { + refCount++; + if (!subject || hasError) { + hasError = false; + subject = new ReplaySubject(bufferSize, windowTime, scheduler); + subscription = source.subscribe({ + next(value) { subject.next(value); }, + error(err) { + hasError = true; + subject.error(err); + }, + complete() { + isComplete = true; + subject.complete(); + }, + }); + } + const innerSub = subject.subscribe(this); + return () => { + refCount--; + innerSub.unsubscribe(); + if (subscription && refCount === 0 && isComplete) { + subscription.unsubscribe(); + } + }; + }; +} +; +//# sourceMappingURL=shareReplay.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/shareReplay.js.map b/node_modules/rxjs/_esm2015/operators/shareReplay.js.map new file mode 100644 index 00000000..04a3c14d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/shareReplay.js.map @@ -0,0 +1 @@ +{"version":3,"file":"shareReplay.js","sourceRoot":"","sources":["../../src/operators/shareReplay.ts"],"names":[],"mappings":"OACO,EAAE,aAAa,EAAE,MAAM,kBAAkB;AAMhD;;;GAGG;AACH,4BAA+B,UAAmB,EAAE,UAAmB,EAAE,SAAsB;IAC7F,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,mBAAmB,CAAC,UAAU,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC;AACxG,CAAC;AAED,6BAAgC,UAAmB,EAAE,UAAmB,EAAE,SAAsB;IAC9F,IAAI,OAAyB,CAAC;IAC9B,IAAI,QAAQ,GAAG,CAAC,CAAC;IACjB,IAAI,YAA0B,CAAC;IAC/B,IAAI,QAAQ,GAAG,KAAK,CAAC;IACrB,IAAI,UAAU,GAAG,KAAK,CAAC;IAEvB,MAAM,CAAC,8BAAmD,MAAqB;QAC7E,QAAQ,EAAE,CAAC;QACX,EAAE,CAAC,CAAC,CAAC,OAAO,IAAI,QAAQ,CAAC,CAAC,CAAC;YACzB,QAAQ,GAAG,KAAK,CAAC;YACjB,OAAO,GAAG,IAAI,aAAa,CAAI,UAAU,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC;YAClE,YAAY,GAAG,MAAM,CAAC,SAAS,CAAC;gBAC9B,IAAI,CAAC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBACpC,KAAK,CAAC,GAAG;oBACP,QAAQ,GAAG,IAAI,CAAC;oBAChB,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrB,CAAC;gBACD,QAAQ;oBACN,UAAU,GAAG,IAAI,CAAC;oBAClB,OAAO,CAAC,QAAQ,EAAE,CAAC;gBACrB,CAAC;aACF,CAAC,CAAC;QACL,CAAC;QAED,MAAM,QAAQ,GAAG,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;QAEzC,MAAM,CAAC;YACL,QAAQ,EAAE,CAAC;YACX,QAAQ,CAAC,WAAW,EAAE,CAAC;YACvB,EAAE,CAAC,CAAC,YAAY,IAAI,QAAQ,KAAK,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC;gBACjD,YAAY,CAAC,WAAW,EAAE,CAAC;YAC7B,CAAC;QACH,CAAC,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC;AAAA,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/single.js b/node_modules/rxjs/_esm2015/operators/single.js new file mode 100644 index 00000000..712d0196 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/single.js @@ -0,0 +1,83 @@ +import { Subscriber } from '../Subscriber'; +import { EmptyError } from '../util/EmptyError'; +/** + * Returns an Observable that emits the single item emitted by the source Observable that matches a specified + * predicate, if that Observable emits one such item. If the source Observable emits more than one such item or no + * such items, notify of an IllegalArgumentException or NoSuchElementException respectively. + * + * + * + * @throws {EmptyError} Delivers an EmptyError to the Observer's `error` + * callback if the Observable completes before any `next` notification was sent. + * @param {Function} predicate - A predicate function to evaluate items emitted by the source Observable. + * @return {Observable} An Observable that emits the single item emitted by the source Observable that matches + * the predicate. + . + * @method single + * @owner Observable + */ +export function single(predicate) { + return (source) => source.lift(new SingleOperator(predicate, source)); +} +class SingleOperator { + constructor(predicate, source) { + this.predicate = predicate; + this.source = source; + } + call(subscriber, source) { + return source.subscribe(new SingleSubscriber(subscriber, this.predicate, this.source)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class SingleSubscriber extends Subscriber { + constructor(destination, predicate, source) { + super(destination); + this.predicate = predicate; + this.source = source; + this.seenValue = false; + this.index = 0; + } + applySingleValue(value) { + if (this.seenValue) { + this.destination.error('Sequence contains more than one element'); + } + else { + this.seenValue = true; + this.singleValue = value; + } + } + _next(value) { + const index = this.index++; + if (this.predicate) { + this.tryNext(value, index); + } + else { + this.applySingleValue(value); + } + } + tryNext(value, index) { + try { + if (this.predicate(value, index, this.source)) { + this.applySingleValue(value); + } + } + catch (err) { + this.destination.error(err); + } + } + _complete() { + const destination = this.destination; + if (this.index > 0) { + destination.next(this.seenValue ? this.singleValue : undefined); + destination.complete(); + } + else { + destination.error(new EmptyError); + } + } +} +//# sourceMappingURL=single.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/single.js.map b/node_modules/rxjs/_esm2015/operators/single.js.map new file mode 100644 index 00000000..01bf23c9 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/single.js.map @@ -0,0 +1 @@ +{"version":3,"file":"single.js","sourceRoot":"","sources":["../../src/operators/single.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;OAEnC,EAAE,UAAU,EAAE,MAAM,oBAAoB;AAK/C;;;;;;;;;;;;;;;GAeG;AACH,uBAA0B,SAAuE;IAC/F,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,cAAc,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC;AACvF,CAAC;AAED;IACE,YAAoB,SAAuE,EACvE,MAAsB;QADtB,cAAS,GAAT,SAAS,CAA8D;QACvE,WAAM,GAAN,MAAM,CAAgB;IAC1C,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,EAAE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AC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC9B,CAAC;IACH,CAAC;IAES,SAAS;QACjB,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QAErC,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC;YACnB,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;YAChE,WAAW,CAAC,QAAQ,EAAE,CAAC;QACzB,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,WAAW,CAAC,KAAK,CAAC,IAAI,UAAU,CAAC,CAAC;QACpC,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/skip.js b/node_modules/rxjs/_esm2015/operators/skip.js new file mode 100644 index 00000000..35c21298 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/skip.js @@ -0,0 +1,41 @@ +import { Subscriber } from '../Subscriber'; +/** + * Returns an Observable that skips the first `count` items emitted by the source Observable. + * + * + * + * @param {Number} count - The number of times, items emitted by source Observable should be skipped. + * @return {Observable} An Observable that skips values emitted by the source Observable. + * + * @method skip + * @owner Observable + */ +export function skip(count) { + return (source) => source.lift(new SkipOperator(count)); +} +class SkipOperator { + constructor(total) { + this.total = total; + } + call(subscriber, source) { + return source.subscribe(new SkipSubscriber(subscriber, this.total)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class SkipSubscriber extends Subscriber { + constructor(destination, total) { + super(destination); + this.total = total; + this.count = 0; + } + _next(x) { + if (++this.count > this.total) { + this.destination.next(x); + } + } +} +//# sourceMappingURL=skip.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/skip.js.map b/node_modules/rxjs/_esm2015/operators/skip.js.map new file mode 100644 index 00000000..5535cacb --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/skip.js.map @@ -0,0 +1 @@ +{"version":3,"file":"skip.js","sourceRoot":"","sources":["../../src/operators/skip.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAK1C;;;;;;;;;;GAUG;AACH,qBAAwB,KAAa;IACnC,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;AACzE,CAAC;AAED;IACE,YAAoB,KAAa;QAAb,UAAK,GAAL,KAAK,CAAQ;IACjC,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,cAAc,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IACtE,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,6BAAgC,UAAU;IAGxC,YAAY,WAA0B,EAAU,KAAa;QAC3D,MAAM,WAAW,CAAC,CAAC;QAD2B,UAAK,GAAL,KAAK,CAAQ;QAF7D,UAAK,GAAW,CAAC,CAAC;IAIlB,CAAC;IAES,KAAK,CAAC,CAAI;QAClB,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;YAC9B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/skipLast.js b/node_modules/rxjs/_esm2015/operators/skipLast.js new file mode 100644 index 00000000..a724fdca --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/skipLast.js @@ -0,0 +1,83 @@ +import { Subscriber } from '../Subscriber'; +import { ArgumentOutOfRangeError } from '../util/ArgumentOutOfRangeError'; +/** + * Skip the last `count` values emitted by the source Observable. + * + * + * + * `skipLast` returns an Observable that accumulates a queue with a length + * enough to store the first `count` values. As more values are received, + * values are taken from the front of the queue and produced on the result + * sequence. This causes values to be delayed. + * + * @example Skip the last 2 values of an Observable with many values + * var many = Rx.Observable.range(1, 5); + * var skipLastTwo = many.skipLast(2); + * skipLastTwo.subscribe(x => console.log(x)); + * + * // Results in: + * // 1 2 3 + * + * @see {@link skip} + * @see {@link skipUntil} + * @see {@link skipWhile} + * @see {@link take} + * + * @throws {ArgumentOutOfRangeError} When using `skipLast(i)`, it throws + * ArgumentOutOrRangeError if `i < 0`. + * + * @param {number} count Number of elements to skip from the end of the source Observable. + * @returns {Observable} An Observable that skips the last count values + * emitted by the source Observable. + * @method skipLast + * @owner Observable + */ +export function skipLast(count) { + return (source) => source.lift(new SkipLastOperator(count)); +} +class SkipLastOperator { + constructor(_skipCount) { + this._skipCount = _skipCount; + if (this._skipCount < 0) { + throw new ArgumentOutOfRangeError; + } + } + call(subscriber, source) { + if (this._skipCount === 0) { + // If we don't want to skip any values then just subscribe + // to Subscriber without any further logic. + return source.subscribe(new Subscriber(subscriber)); + } + else { + return source.subscribe(new SkipLastSubscriber(subscriber, this._skipCount)); + } + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class SkipLastSubscriber extends Subscriber { + constructor(destination, _skipCount) { + super(destination); + this._skipCount = _skipCount; + this._count = 0; + this._ring = new Array(_skipCount); + } + _next(value) { + const skipCount = this._skipCount; + const count = this._count++; + if (count < skipCount) { + this._ring[count] = value; + } + else { + const currentIndex = count % skipCount; + const ring = this._ring; + const oldValue = ring[currentIndex]; + ring[currentIndex] = value; + this.destination.next(oldValue); + } + } +} +//# sourceMappingURL=skipLast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/skipLast.js.map b/node_modules/rxjs/_esm2015/operators/skipLast.js.map new file mode 100644 index 00000000..4ca5c381 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/skipLast.js.map @@ -0,0 +1 @@ +{"version":3,"file":"skipLast.js","sourceRoot":"","sources":["../../src/operators/skipLast.ts"],"names":[],"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B,EAAE,CAAC,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC;YACtB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC;QAC5B,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,YAAY,GAAG,KAAK,GAAG,SAAS,CAAC;YACvC,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC;YACxB,MAAM,QAAQ,GAAG,IAAI,CAAC,YAAY,CAAC,CAAC;YAEpC,IAAI,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC;YAC3B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAClC,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/skipUntil.js b/node_modules/rxjs/_esm2015/operators/skipUntil.js new file mode 100644 index 00000000..267cd39d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/skipUntil.js @@ -0,0 +1,61 @@ +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/** + * Returns an Observable that skips items emitted by the source Observable until a second Observable emits an item. + * + * + * + * @param {Observable} notifier - The second Observable that has to emit an item before the source Observable's elements begin to + * be mirrored by the resulting Observable. + * @return {Observable} An Observable that skips items from the source Observable until the second Observable emits + * an item, then emits the remaining items. + * @method skipUntil + * @owner Observable + */ +export function skipUntil(notifier) { + return (source) => source.lift(new SkipUntilOperator(notifier)); +} +class SkipUntilOperator { + constructor(notifier) { + this.notifier = notifier; + } + call(subscriber, source) { + return source.subscribe(new SkipUntilSubscriber(subscriber, this.notifier)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class SkipUntilSubscriber extends OuterSubscriber { + constructor(destination, notifier) { + super(destination); + this.hasValue = false; + this.isInnerStopped = false; + this.add(subscribeToResult(this, notifier)); + } + _next(value) { + if (this.hasValue) { + super._next(value); + } + } + _complete() { + if (this.isInnerStopped) { + super._complete(); + } + else { + this.unsubscribe(); + } + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + this.hasValue = true; + } + notifyComplete() { + this.isInnerStopped = true; + if (this.isStopped) { + super._complete(); + } + } +} +//# sourceMappingURL=skipUntil.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/skipUntil.js.map b/node_modules/rxjs/_esm2015/operators/skipUntil.js.map new file mode 100644 index 00000000..1437ff8a --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/skipUntil.js.map @@ -0,0 +1 @@ +{"version":3,"file":"skipUntil.js","sourceRoot":"","sources":["../../src/operators/skipUntil.ts"],"names":[],"mappings":"OAIO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAG7D;;;;;;;;;;;GAWG;AACH,0BAA6B,QAAyB;IACpD,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC;AACjF,CAAC;AAED;IACE,YAAoB,QAAyB;QAAzB,aAAQ,GAAR,QAAQ,CAAiB;IAC7C,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC9E,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,kCAAwC,eAAe;IAKrD,YAAY,WAA4B,EAC5B,QAAyB;QACnC,MAAM,WAAW,CAAC,CAAC;QALb,aAAQ,GAAY,KAAK,CAAC;QAC1B,mBAAc,GAAY,KAAK,CAAC;QAKtC,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC;IAC9C,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YAClB,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACrB,CAAC;IACH,CAAC;IAES,SAAS;QACjB,EAAE,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC;YACxB,KAAK,CAAC,SAAS,EAAE,CAAC;QACpB,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,IAAI,CAAC,WAAW,EAAE,CAAC;QACrB,CAAC;IACH,CAAC;IAED,UAAU,CAAC,UAAa,EAAE,UAAa,EAC5B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;IACvB,CAAC;IAED,cAAc;QACZ,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;QAC3B,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;YACnB,KAAK,CAAC,SAAS,EAAE,CAAC;QACpB,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/skipWhile.js b/node_modules/rxjs/_esm2015/operators/skipWhile.js new file mode 100644 index 00000000..e6cfc49e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/skipWhile.js @@ -0,0 +1,56 @@ +import { Subscriber } from '../Subscriber'; +/** + * Returns an Observable that skips all items emitted by the source Observable as long as a specified condition holds + * true, but emits all further source items as soon as the condition becomes false. + * + * + * + * @param {Function} predicate - A function to test each item emitted from the source Observable. + * @return {Observable} An Observable that begins emitting items emitted by the source Observable when the + * specified predicate becomes false. + * @method skipWhile + * @owner Observable + */ +export function skipWhile(predicate) { + return (source) => source.lift(new SkipWhileOperator(predicate)); +} +class SkipWhileOperator { + constructor(predicate) { + this.predicate = predicate; + } + call(subscriber, source) { + return source.subscribe(new SkipWhileSubscriber(subscriber, this.predicate)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class SkipWhileSubscriber extends Subscriber { + constructor(destination, predicate) { + super(destination); + this.predicate = predicate; + this.skipping = true; + this.index = 0; + } + _next(value) { + const destination = this.destination; + if (this.skipping) { + this.tryCallPredicate(value); + } + if (!this.skipping) { + destination.next(value); + } + } + tryCallPredicate(value) { + try { + const result = this.predicate(value, this.index++); + this.skipping = Boolean(result); + } + catch (err) { + this.destination.error(err); + } + } +} +//# sourceMappingURL=skipWhile.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/skipWhile.js.map b/node_modules/rxjs/_esm2015/operators/skipWhile.js.map new file mode 100644 index 00000000..604f14cb --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/skipWhile.js.map @@ -0,0 +1 @@ +{"version":3,"file":"skipWhile.js","sourceRoot":"","sources":["../../src/operators/skipWhile.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;AAI1C;;;;;;;;;;;GAWG;AACH,0BAA6B,SAA+C;IAC1E,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,SAAS,CAAC,CAAC,CAAC;AAClF,CAAC;AAED;IACE,YAAoB,SAA+C;QAA/C,cAAS,GAAT,SAAS,CAAsC;IACnE,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;IAC/E,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,kCAAqC,UAAU;IAI7C,YAAY,WAA0B,EAClB,SAA+C;QACjE,MAAM,WAAW,CAAC,CAAC;QADD,cAAS,GAAT,SAAS,CAAsC;QAJ3D,aAAQ,GAAY,IAAI,CAAC;QACzB,UAAK,GAAW,CAAC,CAAC;IAK1B,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YAClB,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;QAED,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YACnB,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC1B,CAAC;IACH,CAAC;IAEO,gBAAgB,CAAC,KAAQ;QAC/B,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;YACnD,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;QAClC,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC9B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/startWith.js b/node_modules/rxjs/_esm2015/operators/startWith.js new file mode 100644 index 00000000..189a877c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/startWith.js @@ -0,0 +1,42 @@ +import { ArrayObservable } from '../observable/ArrayObservable'; +import { ScalarObservable } from '../observable/ScalarObservable'; +import { EmptyObservable } from '../observable/EmptyObservable'; +import { concat as concatStatic } from '../observable/concat'; +import { isScheduler } from '../util/isScheduler'; +/* tslint:enable:max-line-length */ +/** + * Returns an Observable that emits the items you specify as arguments before it begins to emit + * items emitted by the source Observable. + * + * + * + * @param {...T} values - Items you want the modified Observable to emit first. + * @param {Scheduler} [scheduler] - A {@link IScheduler} to use for scheduling + * the emissions of the `next` notifications. + * @return {Observable} An Observable that emits the items in the specified Iterable and then emits the items + * emitted by the source Observable. + * @method startWith + * @owner Observable + */ +export function startWith(...array) { + return (source) => { + let scheduler = array[array.length - 1]; + if (isScheduler(scheduler)) { + array.pop(); + } + else { + scheduler = null; + } + const len = array.length; + if (len === 1) { + return concatStatic(new ScalarObservable(array[0], scheduler), source); + } + else if (len > 1) { + return concatStatic(new ArrayObservable(array, scheduler), source); + } + else { + return concatStatic(new EmptyObservable(scheduler), source); + } + }; +} +//# sourceMappingURL=startWith.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/startWith.js.map b/node_modules/rxjs/_esm2015/operators/startWith.js.map new file mode 100644 index 00000000..5fb55188 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/startWith.js.map @@ -0,0 +1 @@ +{"version":3,"file":"startWith.js","sourceRoot":"","sources":["../../src/operators/startWith.ts"],"names":[],"mappings":"OAEO,EAAE,eAAe,EAAE,MAAM,+BAA+B;OACxD,EAAE,gBAAgB,EAAE,MAAM,gCAAgC;OAC1D,EAAE,eAAe,EAAE,MAAM,+BAA+B;OACxD,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,sBAAsB;OACtD,EAAE,WAAW,EAAE,MAAM,qBAAqB;AAWjD,mCAAmC;AAEnC;;;;;;;;;;;;;GAaG;AACH,0BAA6B,GAAG,KAA4B;IAC1D,MAAM,CAAC,CAAC,MAAqB;QAC3B,IAAI,SAAS,GAAe,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QACpD,EAAE,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YAC3B,KAAK,CAAC,GAAG,EAAE,CAAC;QACd,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,SAAS,GAAG,IAAI,CAAC;QACnB,CAAC;QAED,MAAM,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC;QACzB,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;YACd,MAAM,CAAC,YAAY,CAAC,IAAI,gBAAgB,CAAO,KAAK,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,EAAE,MAAM,CAAC,CAAC;QAC/E,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;YACnB,MAAM,CAAC,YAAY,CAAC,IAAI,eAAe,CAAS,KAAK,EAAE,SAAS,CAAC,EAAE,MAAM,CAAC,CAAC;QAC7E,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,CAAC,YAAY,CAAC,IAAI,eAAe,CAAI,SAAS,CAAC,EAAE,MAAM,CAAC,CAAC;QACjE,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/subscribeOn.js b/node_modules/rxjs/_esm2015/operators/subscribeOn.js new file mode 100644 index 00000000..66258b63 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/subscribeOn.js @@ -0,0 +1,27 @@ +import { SubscribeOnObservable } from '../observable/SubscribeOnObservable'; +/** + * Asynchronously subscribes Observers to this Observable on the specified IScheduler. + * + * + * + * @param {Scheduler} scheduler - The IScheduler to perform subscription actions on. + * @return {Observable} The source Observable modified so that its subscriptions happen on the specified IScheduler. + . + * @method subscribeOn + * @owner Observable + */ +export function subscribeOn(scheduler, delay = 0) { + return function subscribeOnOperatorFunction(source) { + return source.lift(new SubscribeOnOperator(scheduler, delay)); + }; +} +class SubscribeOnOperator { + constructor(scheduler, delay) { + this.scheduler = scheduler; + this.delay = delay; + } + call(subscriber, source) { + return new SubscribeOnObservable(source, this.delay, this.scheduler).subscribe(subscriber); + } +} +//# sourceMappingURL=subscribeOn.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/subscribeOn.js.map b/node_modules/rxjs/_esm2015/operators/subscribeOn.js.map new file mode 100644 index 00000000..81845f1f --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/subscribeOn.js.map @@ -0,0 +1 @@ +{"version":3,"file":"subscribeOn.js","sourceRoot":"","sources":["../../src/operators/subscribeOn.ts"],"names":[],"mappings":"OAKO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC;AAG3E;;;;;;;;;;GAUG;AACH,4BAA+B,SAAqB,EAAE,KAAK,GAAW,CAAC;IACrE,MAAM,CAAC,qCAAqC,MAAqB;QAC/D,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,mBAAmB,CAAI,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC;IACnE,CAAC,CAAC;AACJ,CAAC;AAED;IACE,YAAoB,SAAqB,EACrB,KAAa;QADb,cAAS,GAAT,SAAS,CAAY;QACrB,UAAK,GAAL,KAAK,CAAQ;IACjC,CAAC;IACD,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,IAAI,qBAAqB,CAC9B,MAAM,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,SAAS,CACnC,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;IAC1B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/switchAll.js b/node_modules/rxjs/_esm2015/operators/switchAll.js new file mode 100644 index 00000000..f0db5993 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/switchAll.js @@ -0,0 +1,6 @@ +import { switchMap } from './switchMap'; +import { identity } from '../util/identity'; +export function switchAll() { + return switchMap(identity); +} +//# sourceMappingURL=switchAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/switchAll.js.map b/node_modules/rxjs/_esm2015/operators/switchAll.js.map new file mode 100644 index 00000000..dfde7a2e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/switchAll.js.map @@ -0,0 +1 @@ +{"version":3,"file":"switchAll.js","sourceRoot":"","sources":["../../src/operators/switchAll.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,EAAE,MAAM,aAAa;OAChC,EAAE,QAAQ,EAAE,MAAM,kBAAkB;AAE3C;IACE,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;AAC7B,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/switchMap.js b/node_modules/rxjs/_esm2015/operators/switchMap.js new file mode 100644 index 00000000..d0a8daf0 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/switchMap.js @@ -0,0 +1,132 @@ +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/* tslint:enable:max-line-length */ +/** + * Projects each source value to an Observable which is merged in the output + * Observable, emitting values only from the most recently projected Observable. + * + * Maps each value to an Observable, then flattens all of + * these inner Observables using {@link switch}. + * + * + * + * Returns an Observable that emits items based on applying a function that you + * supply to each item emitted by the source Observable, where that function + * returns an (so-called "inner") Observable. Each time it observes one of these + * inner Observables, the output Observable begins emitting the items emitted by + * that inner Observable. When a new inner Observable is emitted, `switchMap` + * stops emitting items from the earlier-emitted inner Observable and begins + * emitting items from the new one. It continues to behave like this for + * subsequent inner Observables. + * + * @example Rerun an interval Observable on every click event + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.switchMap((ev) => Rx.Observable.interval(1000)); + * result.subscribe(x => console.log(x)); + * + * @see {@link concatMap} + * @see {@link exhaustMap} + * @see {@link mergeMap} + * @see {@link switch} + * @see {@link switchMapTo} + * + * @param {function(value: T, ?index: number): ObservableInput} project A function + * that, when applied to an item emitted by the source Observable, returns an + * Observable. + * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] + * A function to produce the value on the output Observable based on the values + * and the indices of the source (outer) emission and the inner Observable + * emission. The arguments passed to this function are: + * - `outerValue`: the value that came from the source + * - `innerValue`: the value that came from the projected Observable + * - `outerIndex`: the "index" of the value that came from the source + * - `innerIndex`: the "index" of the value from the projected Observable + * @return {Observable} An Observable that emits the result of applying the + * projection function (and the optional `resultSelector`) to each item emitted + * by the source Observable and taking only the values from the most recently + * projected inner Observable. + * @method switchMap + * @owner Observable + */ +export function switchMap(project, resultSelector) { + return function switchMapOperatorFunction(source) { + return source.lift(new SwitchMapOperator(project, resultSelector)); + }; +} +class SwitchMapOperator { + constructor(project, resultSelector) { + this.project = project; + this.resultSelector = resultSelector; + } + call(subscriber, source) { + return source.subscribe(new SwitchMapSubscriber(subscriber, this.project, this.resultSelector)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class SwitchMapSubscriber extends OuterSubscriber { + constructor(destination, project, resultSelector) { + super(destination); + this.project = project; + this.resultSelector = resultSelector; + this.index = 0; + } + _next(value) { + let result; + const index = this.index++; + try { + result = this.project(value, index); + } + catch (error) { + this.destination.error(error); + return; + } + this._innerSub(result, value, index); + } + _innerSub(result, value, index) { + const innerSubscription = this.innerSubscription; + if (innerSubscription) { + innerSubscription.unsubscribe(); + } + this.add(this.innerSubscription = subscribeToResult(this, result, value, index)); + } + _complete() { + const { innerSubscription } = this; + if (!innerSubscription || innerSubscription.closed) { + super._complete(); + } + } + _unsubscribe() { + this.innerSubscription = null; + } + notifyComplete(innerSub) { + this.remove(innerSub); + this.innerSubscription = null; + if (this.isStopped) { + super._complete(); + } + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + if (this.resultSelector) { + this._tryNotifyNext(outerValue, innerValue, outerIndex, innerIndex); + } + else { + this.destination.next(innerValue); + } + } + _tryNotifyNext(outerValue, innerValue, outerIndex, innerIndex) { + let result; + try { + result = this.resultSelector(outerValue, innerValue, outerIndex, innerIndex); + } + catch (err) { + this.destination.error(err); + return; + } + this.destination.next(result); + } +} +//# sourceMappingURL=switchMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/switchMap.js.map b/node_modules/rxjs/_esm2015/operators/switchMap.js.map new file mode 100644 index 00000000..006d7836 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/switchMap.js.map @@ -0,0 +1 @@ +{"version":3,"file":"switchMap.js","sourceRoot":"","sources":["../../src/operators/switchMap.ts"],"names":[],"mappings":"OAIO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,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a,EAAE,UAAa,EAAE,UAAkB,EAAE,UAAkB;QACzF,IAAI,MAAS,CAAC;QACd,IAAI,CAAC;YACH,MAAM,GAAG,IAAI,CAAC,cAAc,CAAC,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC;QAC/E,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,MAAM,CAAC;QACT,CAAC;QACD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/switchMapTo.js b/node_modules/rxjs/_esm2015/operators/switchMapTo.js new file mode 100644 index 00000000..86566d02 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/switchMapTo.js @@ -0,0 +1,115 @@ +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/* tslint:enable:max-line-length */ +/** + * Projects each source value to the same Observable which is flattened multiple + * times with {@link switch} in the output Observable. + * + * It's like {@link switchMap}, but maps each value + * always to the same inner Observable. + * + * + * + * Maps each source value to the given Observable `innerObservable` regardless + * of the source value, and then flattens those resulting Observables into one + * single Observable, which is the output Observable. The output Observables + * emits values only from the most recently emitted instance of + * `innerObservable`. + * + * @example Rerun an interval Observable on every click event + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.switchMapTo(Rx.Observable.interval(1000)); + * result.subscribe(x => console.log(x)); + * + * @see {@link concatMapTo} + * @see {@link switch} + * @see {@link switchMap} + * @see {@link mergeMapTo} + * + * @param {ObservableInput} innerObservable An Observable to replace each value from + * the source Observable. + * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] + * A function to produce the value on the output Observable based on the values + * and the indices of the source (outer) emission and the inner Observable + * emission. The arguments passed to this function are: + * - `outerValue`: the value that came from the source + * - `innerValue`: the value that came from the projected Observable + * - `outerIndex`: the "index" of the value that came from the source + * - `innerIndex`: the "index" of the value from the projected Observable + * @return {Observable} An Observable that emits items from the given + * `innerObservable` (and optionally transformed through `resultSelector`) every + * time a value is emitted on the source Observable, and taking only the values + * from the most recently projected inner Observable. + * @method switchMapTo + * @owner Observable + */ +export function switchMapTo(innerObservable, resultSelector) { + return (source) => source.lift(new SwitchMapToOperator(innerObservable, resultSelector)); +} +class SwitchMapToOperator { + constructor(observable, resultSelector) { + this.observable = observable; + this.resultSelector = resultSelector; + } + call(subscriber, source) { + return source.subscribe(new SwitchMapToSubscriber(subscriber, this.observable, this.resultSelector)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class SwitchMapToSubscriber extends OuterSubscriber { + constructor(destination, inner, resultSelector) { + super(destination); + this.inner = inner; + this.resultSelector = resultSelector; + this.index = 0; + } + _next(value) { + const innerSubscription = this.innerSubscription; + if (innerSubscription) { + innerSubscription.unsubscribe(); + } + this.add(this.innerSubscription = subscribeToResult(this, this.inner, value, this.index++)); + } + _complete() { + const { innerSubscription } = this; + if (!innerSubscription || innerSubscription.closed) { + super._complete(); + } + } + _unsubscribe() { + this.innerSubscription = null; + } + notifyComplete(innerSub) { + this.remove(innerSub); + this.innerSubscription = null; + if (this.isStopped) { + super._complete(); + } + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + const { resultSelector, destination } = this; + if (resultSelector) { + this.tryResultSelector(outerValue, innerValue, outerIndex, innerIndex); + } + else { + destination.next(innerValue); + } + } + tryResultSelector(outerValue, innerValue, outerIndex, innerIndex) { + const { resultSelector, destination } = this; + let result; + try { + result = resultSelector(outerValue, innerValue, outerIndex, innerIndex); + } + catch (err) { + destination.error(err); + return; + } + destination.next(result); + } +} +//# sourceMappingURL=switchMapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/switchMapTo.js.map b/node_modules/rxjs/_esm2015/operators/switchMapTo.js.map new file mode 100644 index 00000000..217cd3bb --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/switchMapTo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"switchMapTo.js","sourceRoot":"","sources":["../../src/operators/switchMapTo.ts"],"names":[],"mappings":"OAIO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAM7D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,4BAAqC,eAA8B,EAC9B,cAG0C;IAC7E,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,mBAAmB,CAAC,eAAe,EAAE,cAAc,CAAC,CAAC,CAAC;AAC1G,CAAC;AAED;IACE,YAAoB,UAAyB,EACzB,cAA4F;QAD5F,eAAU,GAAV,UAAU,CAAe;QACzB,mBAAc,GAAd,cAAc,CAA8E;IAChH,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,qBAAqB,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC;IACvG,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,oCAA6C,eAAe;IAI1D,YAAY,WAA0B,EAClB,KAAoB,EACpB,cAA4F;QAC9G,MAAM,WAAW,CAAC,CAAC;QAFD,UAAK,GAAL,KAAK,CAAe;QACpB,mBAAc,GAAd,cAAc,CAA8E;QALxG,UAAK,GAAW,CAAC,CAAC;IAO1B,CAAC;IAES,KAAK,CAAC,KAAU;QACxB,MAAM,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,CAAC;QACjD,EAAE,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC;YACtB,iBAAiB,CAAC,WAAW,EAAE,CAAC;QAClC,CAAC;QACD,IAAI,CAA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,cAAc,CAAC,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC;QAC1E,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YACvB,MAAM,CAAC;QACT,CAAC;QAED,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC3B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/take.js b/node_modules/rxjs/_esm2015/operators/take.js new file mode 100644 index 00000000..482f77bf --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/take.js @@ -0,0 +1,81 @@ +import { Subscriber } from '../Subscriber'; +import { ArgumentOutOfRangeError } from '../util/ArgumentOutOfRangeError'; +import { EmptyObservable } from '../observable/EmptyObservable'; +/** + * Emits only the first `count` values emitted by the source Observable. + * + * Takes the first `count` values from the source, then + * completes. + * + * + * + * `take` returns an Observable that emits only the first `count` values emitted + * by the source Observable. If the source emits fewer than `count` values then + * all of its values are emitted. After that, it completes, regardless if the + * source completes. + * + * @example Take the first 5 seconds of an infinite 1-second interval Observable + * var interval = Rx.Observable.interval(1000); + * var five = interval.take(5); + * five.subscribe(x => console.log(x)); + * + * @see {@link takeLast} + * @see {@link takeUntil} + * @see {@link takeWhile} + * @see {@link skip} + * + * @throws {ArgumentOutOfRangeError} When using `take(i)`, it delivers an + * ArgumentOutOrRangeError to the Observer's `error` callback if `i < 0`. + * + * @param {number} count The maximum number of `next` values to emit. + * @return {Observable} An Observable that emits only the first `count` + * values emitted by the source Observable, or all of the values from the source + * if the source emits fewer than `count` values. + * @method take + * @owner Observable + */ +export function take(count) { + return (source) => { + if (count === 0) { + return new EmptyObservable(); + } + else { + return source.lift(new TakeOperator(count)); + } + }; +} +class TakeOperator { + constructor(total) { + this.total = total; + if (this.total < 0) { + throw new ArgumentOutOfRangeError; + } + } + call(subscriber, source) { + return source.subscribe(new TakeSubscriber(subscriber, this.total)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class TakeSubscriber extends Subscriber { + constructor(destination, total) { + super(destination); + this.total = total; + this.count = 0; + } + _next(value) { + const total = this.total; + const count = ++this.count; + if (count <= total) { + this.destination.next(value); + if (count === total) { + this.destination.complete(); + this.unsubscribe(); + } + } + } +} +//# sourceMappingURL=take.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/take.js.map b/node_modules/rxjs/_esm2015/operators/take.js.map new file mode 100644 index 00000000..7771a92e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/take.js.map @@ -0,0 +1 @@ +{"version":3,"file":"take.js","sourceRoot":"","sources":["../../src/operators/take.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,uBAAuB,EAAE,MAAM,iCAAiC;OAClE,EAAE,eAAe,EAAE,MAAM,+BAA+B;AAK/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAAwB,KAAa;IACnC,MAAM,CAAC,CAAC,MAAqB;QAC3B,EAAE,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC;YAChB,MAAM,CAAC,IAAI,eAAe,EAAK,CAAC;QAClC,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;QAC9C,CAAC;IACH,CAAC,CAAC;AACJ,CAAC;AAED;IACE,YAAoB,KAAa;QAAb,UAAK,GAAL,KAAK,CAAQ;QAC/B,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC;YACnB,MAAM,IAAI,uBAAuB,CAAC;QACpC,CAAC;IACH,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,cAAc,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IACtE,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,6BAAgC,UAAU;IAGxC,YAAY,WAA0B,EAAU,KAAa;QAC3D,MAAM,WAAW,CAAC,CAAC;QAD2B,UAAK,GAAL,KAAK,CAAQ;QAFrD,UAAK,GAAW,CAAC,CAAC;IAI1B,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,MAAM,KAAK,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC;QAC3B,EAAE,CAAC,CAAC,KAAK,IAAI,KAAK,CAAC,CAAC,CAAC;YACnB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAC7B,EAAE,CAAC,CAAC,KAAK,KAAK,KAAK,CAAC,CAAC,CAAC;gBACpB,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;gBAC5B,IAAI,CAAC,WAAW,EAAE,CAAC;YACrB,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/takeLast.js b/node_modules/rxjs/_esm2015/operators/takeLast.js new file mode 100644 index 00000000..f0c69b2d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/takeLast.js @@ -0,0 +1,99 @@ +import { Subscriber } from '../Subscriber'; +import { ArgumentOutOfRangeError } from '../util/ArgumentOutOfRangeError'; +import { EmptyObservable } from '../observable/EmptyObservable'; +/** + * Emits only the last `count` values emitted by the source Observable. + * + * Remembers the latest `count` values, then emits those + * only when the source completes. + * + * + * + * `takeLast` returns an Observable that emits at most the last `count` values + * emitted by the source Observable. If the source emits fewer than `count` + * values then all of its values are emitted. This operator must wait until the + * `complete` notification emission from the source in order to emit the `next` + * values on the output Observable, because otherwise it is impossible to know + * whether or not more values will be emitted on the source. For this reason, + * all values are emitted synchronously, followed by the complete notification. + * + * @example Take the last 3 values of an Observable with many values + * var many = Rx.Observable.range(1, 100); + * var lastThree = many.takeLast(3); + * lastThree.subscribe(x => console.log(x)); + * + * @see {@link take} + * @see {@link takeUntil} + * @see {@link takeWhile} + * @see {@link skip} + * + * @throws {ArgumentOutOfRangeError} When using `takeLast(i)`, it delivers an + * ArgumentOutOrRangeError to the Observer's `error` callback if `i < 0`. + * + * @param {number} count The maximum number of values to emit from the end of + * the sequence of values emitted by the source Observable. + * @return {Observable} An Observable that emits at most the last count + * values emitted by the source Observable. + * @method takeLast + * @owner Observable + */ +export function takeLast(count) { + return function takeLastOperatorFunction(source) { + if (count === 0) { + return new EmptyObservable(); + } + else { + return source.lift(new TakeLastOperator(count)); + } + }; +} +class TakeLastOperator { + constructor(total) { + this.total = total; + if (this.total < 0) { + throw new ArgumentOutOfRangeError; + } + } + call(subscriber, source) { + return source.subscribe(new TakeLastSubscriber(subscriber, this.total)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class TakeLastSubscriber extends Subscriber { + constructor(destination, total) { + super(destination); + this.total = total; + this.ring = new Array(); + this.count = 0; + } + _next(value) { + const ring = this.ring; + const total = this.total; + const count = this.count++; + if (ring.length < total) { + ring.push(value); + } + else { + const index = count % total; + ring[index] = value; + } + } + _complete() { + const destination = this.destination; + let count = this.count; + if (count > 0) { + const total = this.count >= this.total ? this.total : this.count; + const ring = this.ring; + for (let i = 0; i < total; i++) { + const idx = (count++) % total; + destination.next(ring[idx]); + } + } + destination.complete(); + } +} +//# sourceMappingURL=takeLast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/takeLast.js.map b/node_modules/rxjs/_esm2015/operators/takeLast.js.map new file mode 100644 index 00000000..917a7f69 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/takeLast.js.map @@ -0,0 +1 @@ +{"version":3,"file":"takeLast.js","sourceRoot":"","sources":["../../src/operators/takeLast.ts"],"names":[],"mappings":"OACO,E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3B,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC;YACxB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACnB,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;YAC5B,IAAI,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC;QACtB,CAAC;IACH,CAAC;IAES,SAAS;QACjB,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QAEvB,EAAE,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC;YACd,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;YACjE,MAAM,IAAI,GAAI,IAAI,CAAC,IAAI,CAAC;YAExB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC;gBAC/B,MAAM,GAAG,GAAG,CAAC,KAAK,EAAE,CAAC,GAAG,KAAK,CAAC;gBAC9B,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;YAC9B,CAAC;QACH,CAAC;QAED,WAAW,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/takeUntil.js b/node_modules/rxjs/_esm2015/operators/takeUntil.js new file mode 100644 index 00000000..ea93a4bd --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/takeUntil.js @@ -0,0 +1,65 @@ +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/** + * Emits the values emitted by the source Observable until a `notifier` + * Observable emits a value. + * + * Lets values pass until a second Observable, + * `notifier`, emits something. Then, it completes. + * + * + * + * `takeUntil` subscribes and begins mirroring the source Observable. It also + * monitors a second Observable, `notifier` that you provide. If the `notifier` + * emits a value or a complete notification, the output Observable stops + * mirroring the source Observable and completes. + * + * @example Tick every second until the first click happens + * var interval = Rx.Observable.interval(1000); + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = interval.takeUntil(clicks); + * result.subscribe(x => console.log(x)); + * + * @see {@link take} + * @see {@link takeLast} + * @see {@link takeWhile} + * @see {@link skip} + * + * @param {Observable} notifier The Observable whose first emitted value will + * cause the output Observable of `takeUntil` to stop emitting values from the + * source Observable. + * @return {Observable} An Observable that emits the values from the source + * Observable until such time as `notifier` emits its first value. + * @method takeUntil + * @owner Observable + */ +export function takeUntil(notifier) { + return (source) => source.lift(new TakeUntilOperator(notifier)); +} +class TakeUntilOperator { + constructor(notifier) { + this.notifier = notifier; + } + call(subscriber, source) { + return source.subscribe(new TakeUntilSubscriber(subscriber, this.notifier)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class TakeUntilSubscriber extends OuterSubscriber { + constructor(destination, notifier) { + super(destination); + this.notifier = notifier; + this.add(subscribeToResult(this, notifier)); + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + this.complete(); + } + notifyComplete() { + // noop + } +} +//# sourceMappingURL=takeUntil.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/takeUntil.js.map b/node_modules/rxjs/_esm2015/operators/takeUntil.js.map new file mode 100644 index 00000000..13ae4bbb --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/takeUntil.js.map @@ -0,0 +1 @@ +{"version":3,"file":"takeUntil.js","sourceRoot":"","sources":["../../src/operators/takeUntil.ts"],"names":[],"mappings":"OAKO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAI7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,0BAA6B,QAAyB;IACpD,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC;AACjF,CAAC;AAED;IACE,YAAoB,QAAyB;QAAzB,aAAQ,GAAR,QAAQ,CAAiB;IAC7C,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC9E,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,kCAAwC,eAAe;IAErD,YAAY,WAA4B,EACpB,QAAyB;QAC3C,MAAM,WAAW,CAAC,CAAC;QADD,aAAQ,GAAR,QAAQ,CAAiB;QAE3C,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC;IAC9C,CAAC;IAED,UAAU,CAAC,UAAa,EAAE,UAAa,EAC5B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,IAAI,CAAC,QAAQ,EAAE,CAAC;IAClB,CAAC;IAED,cAAc;QACZ,OAAO;IACT,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/takeWhile.js b/node_modules/rxjs/_esm2015/operators/takeWhile.js new file mode 100644 index 00000000..ee891716 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/takeWhile.js @@ -0,0 +1,82 @@ +import { Subscriber } from '../Subscriber'; +/** + * Emits values emitted by the source Observable so long as each value satisfies + * the given `predicate`, and then completes as soon as this `predicate` is not + * satisfied. + * + * Takes values from the source only while they pass the + * condition given. When the first value does not satisfy, it completes. + * + * + * + * `takeWhile` subscribes and begins mirroring the source Observable. Each value + * emitted on the source is given to the `predicate` function which returns a + * boolean, representing a condition to be satisfied by the source values. The + * output Observable emits the source values until such time as the `predicate` + * returns false, at which point `takeWhile` stops mirroring the source + * Observable and completes the output Observable. + * + * @example Emit click events only while the clientX property is greater than 200 + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.takeWhile(ev => ev.clientX > 200); + * result.subscribe(x => console.log(x)); + * + * @see {@link take} + * @see {@link takeLast} + * @see {@link takeUntil} + * @see {@link skip} + * + * @param {function(value: T, index: number): boolean} predicate A function that + * evaluates a value emitted by the source Observable and returns a boolean. + * Also takes the (zero-based) index as the second argument. + * @return {Observable} An Observable that emits the values from the source + * Observable so long as each value satisfies the condition defined by the + * `predicate`, then completes. + * @method takeWhile + * @owner Observable + */ +export function takeWhile(predicate) { + return (source) => source.lift(new TakeWhileOperator(predicate)); +} +class TakeWhileOperator { + constructor(predicate) { + this.predicate = predicate; + } + call(subscriber, source) { + return source.subscribe(new TakeWhileSubscriber(subscriber, this.predicate)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class TakeWhileSubscriber extends Subscriber { + constructor(destination, predicate) { + super(destination); + this.predicate = predicate; + this.index = 0; + } + _next(value) { + const destination = this.destination; + let result; + try { + result = this.predicate(value, this.index++); + } + catch (err) { + destination.error(err); + return; + } + this.nextOrComplete(value, result); + } + nextOrComplete(value, predicateResult) { + const destination = this.destination; + if (Boolean(predicateResult)) { + destination.next(value); + } + else { + destination.complete(); + } + } +} +//# sourceMappingURL=takeWhile.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/takeWhile.js.map b/node_modules/rxjs/_esm2015/operators/takeWhile.js.map new file mode 100644 index 00000000..1f6b8649 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/takeWhile.js.map @@ -0,0 +1 @@ +{"version":3,"file":"takeWhile.js","sourceRoot":"","sources":["../../src/operators/takeWhile.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;AAI1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,0BA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zB,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/tap.js b/node_modules/rxjs/_esm2015/operators/tap.js new file mode 100644 index 00000000..d3fad212 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/tap.js @@ -0,0 +1,103 @@ +import { Subscriber } from '../Subscriber'; +/* tslint:enable:max-line-length */ +/** + * Perform a side effect for every emission on the source Observable, but return + * an Observable that is identical to the source. + * + * Intercepts each emission on the source and runs a + * function, but returns an output which is identical to the source as long as errors don't occur. + * + * + * + * Returns a mirrored Observable of the source Observable, but modified so that + * the provided Observer is called to perform a side effect for every value, + * error, and completion emitted by the source. Any errors that are thrown in + * the aforementioned Observer or handlers are safely sent down the error path + * of the output Observable. + * + * This operator is useful for debugging your Observables for the correct values + * or performing other side effects. + * + * Note: this is different to a `subscribe` on the Observable. If the Observable + * returned by `do` is not subscribed, the side effects specified by the + * Observer will never happen. `do` therefore simply spies on existing + * execution, it does not trigger an execution to happen like `subscribe` does. + * + * @example Map every click to the clientX position of that click, while also logging the click event + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var positions = clicks + * .do(ev => console.log(ev)) + * .map(ev => ev.clientX); + * positions.subscribe(x => console.log(x)); + * + * @see {@link map} + * @see {@link subscribe} + * + * @param {Observer|function} [nextOrObserver] A normal Observer object or a + * callback for `next`. + * @param {function} [error] Callback for errors in the source. + * @param {function} [complete] Callback for the completion of the source. + * @return {Observable} An Observable identical to the source, but runs the + * specified Observer or callback(s) for each item. + * @name tap + */ +export function tap(nextOrObserver, error, complete) { + return function tapOperatorFunction(source) { + return source.lift(new DoOperator(nextOrObserver, error, complete)); + }; +} +class DoOperator { + constructor(nextOrObserver, error, complete) { + this.nextOrObserver = nextOrObserver; + this.error = error; + this.complete = complete; + } + call(subscriber, source) { + return source.subscribe(new DoSubscriber(subscriber, this.nextOrObserver, this.error, this.complete)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class DoSubscriber extends Subscriber { + constructor(destination, nextOrObserver, error, complete) { + super(destination); + const safeSubscriber = new Subscriber(nextOrObserver, error, complete); + safeSubscriber.syncErrorThrowable = true; + this.add(safeSubscriber); + this.safeSubscriber = safeSubscriber; + } + _next(value) { + const { safeSubscriber } = this; + safeSubscriber.next(value); + if (safeSubscriber.syncErrorThrown) { + this.destination.error(safeSubscriber.syncErrorValue); + } + else { + this.destination.next(value); + } + } + _error(err) { + const { safeSubscriber } = this; + safeSubscriber.error(err); + if (safeSubscriber.syncErrorThrown) { + this.destination.error(safeSubscriber.syncErrorValue); + } + else { + this.destination.error(err); + } + } + _complete() { + const { safeSubscriber } = this; + safeSubscriber.complete(); + if (safeSubscriber.syncErrorThrown) { + this.destination.error(safeSubscriber.syncErrorValue); + } + else { + this.destination.complete(); + } + } +} +//# sourceMappingURL=tap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/tap.js.map b/node_modules/rxjs/_esm2015/operators/tap.js.map new file mode 100644 index 00000000..aea84254 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/tap.js.map @@ -0,0 +1 @@ +{"version":3,"file":"tap.js","sourceRoot":"","sources":["../../src/operators/tap.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAS1C,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,oBAAuB,cAAsD,EACtD,KAAwB,EACxB,QAAqB;IAC1C,MAAM,CAAC,6BAA6B,MAAqB;QACvD,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC,cAAc,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;IACtE,CAAC,CAAC;AACJ,CAAC;AAED;IACE,YAAoB,cAAsD,EACtD,KAAwB,EACxB,QAAqB;QAFrB,mBAAc,GAAd,cAAc,CAAwC;QACtD,UAAK,GAAL,KAAK,CAAmB;QACxB,aAA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CAAC;QACxD,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC9B,CAAC;IACH,CAAC;IAES,SAAS;QACjB,MAAM,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC;QAChC,cAAc,CAAC,QAAQ,EAAE,CAAC;QAC1B,EAAE,CAAC,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC,CAAC;YACnC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;QACxD,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/throttle.js b/node_modules/rxjs/_esm2015/operators/throttle.js new file mode 100644 index 00000000..6150d7fe --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/throttle.js @@ -0,0 +1,131 @@ +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +export const defaultThrottleConfig = { + leading: true, + trailing: false +}; +/** + * Emits a value from the source Observable, then ignores subsequent source + * values for a duration determined by another Observable, then repeats this + * process. + * + * It's like {@link throttleTime}, but the silencing + * duration is determined by a second Observable. + * + * + * + * `throttle` emits the source Observable values on the output Observable + * when its internal timer is disabled, and ignores source values when the timer + * is enabled. Initially, the timer is disabled. As soon as the first source + * value arrives, it is forwarded to the output Observable, and then the timer + * is enabled by calling the `durationSelector` function with the source value, + * which returns the "duration" Observable. When the duration Observable emits a + * value or completes, the timer is disabled, and this process repeats for the + * next source value. + * + * @example Emit clicks at a rate of at most one click per second + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.throttle(ev => Rx.Observable.interval(1000)); + * result.subscribe(x => console.log(x)); + * + * @see {@link audit} + * @see {@link debounce} + * @see {@link delayWhen} + * @see {@link sample} + * @see {@link throttleTime} + * + * @param {function(value: T): SubscribableOrPromise} durationSelector A function + * that receives a value from the source Observable, for computing the silencing + * duration for each source value, returned as an Observable or a Promise. + * @param {Object} config a configuration object to define `leading` and `trailing` behavior. Defaults + * to `{ leading: true, trailing: false }`. + * @return {Observable} An Observable that performs the throttle operation to + * limit the rate of emissions from the source. + * @method throttle + * @owner Observable + */ +export function throttle(durationSelector, config = defaultThrottleConfig) { + return (source) => source.lift(new ThrottleOperator(durationSelector, config.leading, config.trailing)); +} +class ThrottleOperator { + constructor(durationSelector, leading, trailing) { + this.durationSelector = durationSelector; + this.leading = leading; + this.trailing = trailing; + } + call(subscriber, source) { + return source.subscribe(new ThrottleSubscriber(subscriber, this.durationSelector, this.leading, this.trailing)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc + * @ignore + * @extends {Ignored} + */ +class ThrottleSubscriber extends OuterSubscriber { + constructor(destination, durationSelector, _leading, _trailing) { + super(destination); + this.destination = destination; + this.durationSelector = durationSelector; + this._leading = _leading; + this._trailing = _trailing; + this._hasTrailingValue = false; + } + _next(value) { + if (this.throttled) { + if (this._trailing) { + this._hasTrailingValue = true; + this._trailingValue = value; + } + } + else { + const duration = this.tryDurationSelector(value); + if (duration) { + this.add(this.throttled = subscribeToResult(this, duration)); + } + if (this._leading) { + this.destination.next(value); + if (this._trailing) { + this._hasTrailingValue = true; + this._trailingValue = value; + } + } + } + } + tryDurationSelector(value) { + try { + return this.durationSelector(value); + } + catch (err) { + this.destination.error(err); + return null; + } + } + _unsubscribe() { + const { throttled, _trailingValue, _hasTrailingValue, _trailing } = this; + this._trailingValue = null; + this._hasTrailingValue = false; + if (throttled) { + this.remove(throttled); + this.throttled = null; + throttled.unsubscribe(); + } + } + _sendTrailing() { + const { destination, throttled, _trailing, _trailingValue, _hasTrailingValue } = this; + if (throttled && _trailing && _hasTrailingValue) { + destination.next(_trailingValue); + this._trailingValue = null; + this._hasTrailingValue = false; + } + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + this._sendTrailing(); + this._unsubscribe(); + } + notifyComplete() { + this._sendTrailing(); + this._unsubscribe(); + } +} +//# sourceMappingURL=throttle.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/throttle.js.map b/node_modules/rxjs/_esm2015/operators/throttle.js.map new file mode 100644 index 00000000..8014acd2 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/throttle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"throttle.js","sourceRoot":"","sources":["../../src/operators/throttle.ts"],"names":[],"mappings":"OAKO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAS7D,OAAO,MAAM,qBAAqB,GAAmB;IACnD,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,KAAK;CAChB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,yBAA4B,gBAA6D,EAC7D,MAAM,GAAmB,qBAAqB;IACxE,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;AACzH,CAAC;AAED;IACE,YAAoB,gBAA6D,EAC7D,OAAgB,EAChB,QAAiB;QAFjB,qBAAgB,GAAhB,gBAAgB,CAA6C;QAC7D,YAAO,GAAP,OAAO,CAAS;QAChB,aAAQ,GAAR,QAAQ,CAAS;IACrC,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CACrB,IAAI,kBAAkB,CAAC,UAAU,EAAE,IAAI,CAAC,gBAAgB,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,QAAQ,CAAC,CACvF,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,iCAAuC,eAAe;IAKpD,Y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throttleTime.js new file mode 100644 index 00000000..67f2f1bf --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/throttleTime.js @@ -0,0 +1,104 @@ +import { Subscriber } from '../Subscriber'; +import { async } from '../scheduler/async'; +import { defaultThrottleConfig } from './throttle'; +/** + * Emits a value from the source Observable, then ignores subsequent source + * values for `duration` milliseconds, then repeats this process. + * + * Lets a value pass, then ignores source values for the + * next `duration` milliseconds. + * + * + * + * `throttleTime` emits the source Observable values on the output Observable + * when its internal timer is disabled, and ignores source values when the timer + * is enabled. Initially, the timer is disabled. As soon as the first source + * value arrives, it is forwarded to the output Observable, and then the timer + * is enabled. After `duration` milliseconds (or the time unit determined + * internally by the optional `scheduler`) has passed, the timer is disabled, + * and this process repeats for the next source value. Optionally takes a + * {@link IScheduler} for managing timers. + * + * @example Emit clicks at a rate of at most one click per second + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.throttleTime(1000); + * result.subscribe(x => console.log(x)); + * + * @see {@link auditTime} + * @see {@link debounceTime} + * @see {@link delay} + * @see {@link sampleTime} + * @see {@link throttle} + * + * @param {number} duration Time to wait before emitting another value after + * emitting the last value, measured in milliseconds or the time unit determined + * internally by the optional `scheduler`. + * @param {Scheduler} [scheduler=async] The {@link IScheduler} to use for + * managing the timers that handle the throttling. + * @return {Observable} An Observable that performs the throttle operation to + * limit the rate of emissions from the source. + * @method throttleTime + * @owner Observable + */ +export function throttleTime(duration, scheduler = async, config = defaultThrottleConfig) { + return (source) => source.lift(new ThrottleTimeOperator(duration, scheduler, config.leading, config.trailing)); +} +class ThrottleTimeOperator { + constructor(duration, scheduler, leading, trailing) { + this.duration = duration; + this.scheduler = scheduler; + this.leading = leading; + this.trailing = trailing; + } + call(subscriber, source) { + return source.subscribe(new ThrottleTimeSubscriber(subscriber, this.duration, this.scheduler, this.leading, this.trailing)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class ThrottleTimeSubscriber extends Subscriber { + constructor(destination, duration, scheduler, leading, trailing) { + super(destination); + this.duration = duration; + this.scheduler = scheduler; + this.leading = leading; + this.trailing = trailing; + this._hasTrailingValue = false; + this._trailingValue = null; + } + _next(value) { + if (this.throttled) { + if (this.trailing) { + this._trailingValue = value; + this._hasTrailingValue = true; + } + } + else { + this.add(this.throttled = this.scheduler.schedule(dispatchNext, this.duration, { subscriber: this })); + if (this.leading) { + this.destination.next(value); + } + } + } + clearThrottle() { + const throttled = this.throttled; + if (throttled) { + if (this.trailing && this._hasTrailingValue) { + this.destination.next(this._trailingValue); + this._trailingValue = null; + this._hasTrailingValue = false; + } + throttled.unsubscribe(); + this.remove(throttled); + this.throttled = null; + } + } +} +function dispatchNext(arg) { + const { subscriber } = arg; + subscriber.clearThrottle(); +} +//# sourceMappingURL=throttleTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/throttleTime.js.map b/node_modules/rxjs/_esm2015/operators/throttleTime.js.map new file mode 100644 index 00000000..ae54cc19 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/throttleTime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"throttleTime.js","sourceRoot":"","sources":["../../src/operators/throttleTime.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;OAGnC,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAEnC,EAAkB,qBAAqB,EAAE,MAAM,YAAY;AAGlE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,6BAAgC,QAAgB,EAChB,SAAS,GAAe,KAAK,EAC7B,MAAM,GAAmB,qBAAqB;IAC5E,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,oBAAoB,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;AAChI,CAAC;AAED;IACE,YAAoB,QAAgB,EAChB,SAAqB,EACrB,OAAgB,EA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AAO,CAAC,CAAC,CAAC;gBACjB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAC/B,CAAC;QACH,CAAC;IACH,CAAC;IAED,aAAa;QACX,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QACjC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;YACd,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAC5C,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;gBAC3C,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;gBAC3B,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;YACjC,CAAC;YACD,SAAS,CAAC,WAAW,EAAE,CAAC;YACxB,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;YACvB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACxB,CAAC;IACH,CAAC;AACH,CAAC;AAMD,sBAAyB,GAAmB;IAC1C,MAAM,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC;IAC3B,UAAU,CAAC,aAAa,EAAE,CAAC;AAC7B,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/timeInterval.js b/node_modules/rxjs/_esm2015/operators/timeInterval.js new file mode 100644 index 00000000..c9e5c972 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/timeInterval.js @@ -0,0 +1,40 @@ +import { Subscriber } from '../Subscriber'; +import { async } from '../scheduler/async'; +export function timeInterval(scheduler = async) { + return (source) => source.lift(new TimeIntervalOperator(scheduler)); +} +export class TimeInterval { + constructor(value, interval) { + this.value = value; + this.interval = interval; + } +} +; +class TimeIntervalOperator { + constructor(scheduler) { + this.scheduler = scheduler; + } + call(observer, source) { + return source.subscribe(new TimeIntervalSubscriber(observer, this.scheduler)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class TimeIntervalSubscriber extends Subscriber { + constructor(destination, scheduler) { + super(destination); + this.scheduler = scheduler; + this.lastTime = 0; + this.lastTime = scheduler.now(); + } + _next(value) { + let now = this.scheduler.now(); + let span = now - this.lastTime; + this.lastTime = now; + this.destination.next(new TimeInterval(value, span)); + } +} +//# sourceMappingURL=timeInterval.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/timeInterval.js.map b/node_modules/rxjs/_esm2015/operators/timeInterval.js.map new file mode 100644 index 00000000..bd5bf443 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/timeInterval.js.map @@ -0,0 +1 @@ +{"version":3,"file":"timeInterval.js","sourceRoot":"","sources":["../../src/operators/timeInterval.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;OAEnC,EAAE,KAAK,EAAE,MAAM,oBAAoB;AAG1C,6BAAgC,SAAS,GAAe,KAAK;IAC3D,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,oBAAoB,CAAC,SAAS,CAAC,CAAC,CAAC;AACrF,CAAC;AAED;IACE,YAAmB,KAAQ,EAAS,QAAgB;QAAjC,UAAK,GAAL,KAAK,CAAG;QAAS,aAAQ,GAAR,QAAQ,CAAQ;IAEpD,CAAC;AACH,CAAC;AAAA,CAAC;AAEF;IACE,YAAoB,SAAqB;QAArB,cAAS,GAAT,SAAS,CAAY;IAEzC,CAAC;IAED,IAAI,CAAC,QAAqC,EAAE,MAAW;QACrD,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,sBAAsB,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;IAChF,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,qCAAwC,UAAU;IAGhD,YAAY,WAAwC,EAAU,SAAqB;QACjF,MAAM,WAAW,CAAC,CAAC;QADyC,cAAS,GAAT,SAAS,CAAY;QAF3E,aAAQ,GAAW,CAAC,CAAC;QAK3B,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC,GAAG,EAAE,CAAC;IAClC,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC;QAC/B,IAAI,IAAI,GAAG,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC;QAEpB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/timeout.js b/node_modules/rxjs/_esm2015/operators/timeout.js new file mode 100644 index 00000000..98892b7e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/timeout.js @@ -0,0 +1,130 @@ +import { async } from '../scheduler/async'; +import { isDate } from '../util/isDate'; +import { Subscriber } from '../Subscriber'; +import { TimeoutError } from '../util/TimeoutError'; +/** + * + * Errors if Observable does not emit a value in given time span. + * + * Timeouts on Observable that doesn't emit values fast enough. + * + * + * + * `timeout` operator accepts as an argument either a number or a Date. + * + * If number was provided, it returns an Observable that behaves like a source + * Observable, unless there is a period of time where there is no value emitted. + * So if you provide `100` as argument and first value comes after 50ms from + * the moment of subscription, this value will be simply re-emitted by the resulting + * Observable. If however after that 100ms passes without a second value being emitted, + * stream will end with an error and source Observable will be unsubscribed. + * These checks are performed throughout whole lifecycle of Observable - from the moment + * it was subscribed to, until it completes or errors itself. Thus every value must be + * emitted within specified period since previous value. + * + * If provided argument was Date, returned Observable behaves differently. It throws + * if Observable did not complete before provided Date. This means that periods between + * emission of particular values do not matter in this case. If Observable did not complete + * before provided Date, source Observable will be unsubscribed. Other than that, resulting + * stream behaves just as source Observable. + * + * `timeout` accepts also a Scheduler as a second parameter. It is used to schedule moment (or moments) + * when returned Observable will check if source stream emitted value or completed. + * + * @example Check if ticks are emitted within certain timespan + * const seconds = Rx.Observable.interval(1000); + * + * seconds.timeout(1100) // Let's use bigger timespan to be safe, + * // since `interval` might fire a bit later then scheduled. + * .subscribe( + * value => console.log(value), // Will emit numbers just as regular `interval` would. + * err => console.log(err) // Will never be called. + * ); + * + * seconds.timeout(900).subscribe( + * value => console.log(value), // Will never be called. + * err => console.log(err) // Will emit error before even first value is emitted, + * // since it did not arrive within 900ms period. + * ); + * + * @example Use Date to check if Observable completed + * const seconds = Rx.Observable.interval(1000); + * + * seconds.timeout(new Date("December 17, 2020 03:24:00")) + * .subscribe( + * value => console.log(value), // Will emit values as regular `interval` would + * // until December 17, 2020 at 03:24:00. + * err => console.log(err) // On December 17, 2020 at 03:24:00 it will emit an error, + * // since Observable did not complete by then. + * ); + * + * @see {@link timeoutWith} + * + * @param {number|Date} due Number specifying period within which Observable must emit values + * or Date specifying before when Observable should complete + * @param {Scheduler} [scheduler] Scheduler controlling when timeout checks occur. + * @return {Observable} Observable that mirrors behaviour of source, unless timeout checks fail. + * @method timeout + * @owner Observable + */ +export function timeout(due, scheduler = async) { + const absoluteTimeout = isDate(due); + const waitFor = absoluteTimeout ? (+due - scheduler.now()) : Math.abs(due); + return (source) => source.lift(new TimeoutOperator(waitFor, absoluteTimeout, scheduler, new TimeoutError())); +} +class TimeoutOperator { + constructor(waitFor, absoluteTimeout, scheduler, errorInstance) { + this.waitFor = waitFor; + this.absoluteTimeout = absoluteTimeout; + this.scheduler = scheduler; + this.errorInstance = errorInstance; + } + call(subscriber, source) { + return source.subscribe(new TimeoutSubscriber(subscriber, this.absoluteTimeout, this.waitFor, this.scheduler, this.errorInstance)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class TimeoutSubscriber extends Subscriber { + constructor(destination, absoluteTimeout, waitFor, scheduler, errorInstance) { + super(destination); + this.absoluteTimeout = absoluteTimeout; + this.waitFor = waitFor; + this.scheduler = scheduler; + this.errorInstance = errorInstance; + this.action = null; + this.scheduleTimeout(); + } + static dispatchTimeout(subscriber) { + subscriber.error(subscriber.errorInstance); + } + scheduleTimeout() { + const { action } = this; + if (action) { + // Recycle the action if we've already scheduled one. All the production + // Scheduler Actions mutate their state/delay time and return themeselves. + // VirtualActions are immutable, so they create and return a clone. In this + // case, we need to set the action reference to the most recent VirtualAction, + // to ensure that's the one we clone from next time. + this.action = action.schedule(this, this.waitFor); + } + else { + this.add(this.action = this.scheduler.schedule(TimeoutSubscriber.dispatchTimeout, this.waitFor, this)); + } + } + _next(value) { + if (!this.absoluteTimeout) { + this.scheduleTimeout(); + } + super._next(value); + } + _unsubscribe() { + this.action = null; + this.scheduler = null; + this.errorInstance = null; + } +} +//# sourceMappingURL=timeout.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/timeout.js.map b/node_modules/rxjs/_esm2015/operators/timeout.js.map new file mode 100644 index 00000000..bd2d414e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/timeout.js.map @@ -0,0 +1 @@ +{"version":3,"file":"timeout.js","sourceRoot":"","sources":["../../src/operators/timeout.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OACnC,EAAE,MAAM,EAAE,MAAM,gBAAgB;OAEhC,EAAE,UAAU,EAAE,MAAM,eAAe;OAInC,EAAE,YAAY,EAAE,MAAM,sBAAsB;AAGnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,wBAA2B,GAAkB,EAClB,SAAS,GAAe,KAAK;IACtD,MAAM,eAAe,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;IACpC,MAAM,OAAO,GAAG,eAAe,GAAG,CAAC,CAAC,GAAG,GAAG,SAAS,CAAC,GAAG,EAAE,CAAC,GAAG,IAAI,CAAC,GAAG,CAAS,GAAG,CAAC,CAAC;IACnF,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAA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,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAE,CAAC;QACrF,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,GAAmC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAC5E,iBAAiB,CAAC,eAAe,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CACrD,CAAC,CAAC;QACN,CAAC;IACH,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;YAC1B,IAAI,CAAC,eAAe,EAAE,CAAC;QACzB,CAAC;QACD,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;IAES,YAAY;QACpB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;IAC5B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/timeoutWith.js b/node_modules/rxjs/_esm2015/operators/timeoutWith.js new file mode 100644 index 00000000..9aa462ee --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/timeoutWith.js @@ -0,0 +1,117 @@ +import { async } from '../scheduler/async'; +import { isDate } from '../util/isDate'; +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/* tslint:enable:max-line-length */ +/** + * + * Errors if Observable does not emit a value in given time span, in case of which + * subscribes to the second Observable. + * + * It's a version of `timeout` operator that let's you specify fallback Observable. + * + * + * + * `timeoutWith` is a variation of `timeout` operator. It behaves exactly the same, + * still accepting as a first argument either a number or a Date, which control - respectively - + * when values of source Observable should be emitted or when it should complete. + * + * The only difference is that it accepts a second, required parameter. This parameter + * should be an Observable which will be subscribed when source Observable fails any timeout check. + * So whenever regular `timeout` would emit an error, `timeoutWith` will instead start re-emitting + * values from second Observable. Note that this fallback Observable is not checked for timeouts + * itself, so it can emit values and complete at arbitrary points in time. From the moment of a second + * subscription, Observable returned from `timeoutWith` simply mirrors fallback stream. When that + * stream completes, it completes as well. + * + * Scheduler, which in case of `timeout` is provided as as second argument, can be still provided + * here - as a third, optional parameter. It still is used to schedule timeout checks and - + * as a consequence - when second Observable will be subscribed, since subscription happens + * immediately after failing check. + * + * @example Add fallback observable + * const seconds = Rx.Observable.interval(1000); + * const minutes = Rx.Observable.interval(60 * 1000); + * + * seconds.timeoutWith(900, minutes) + * .subscribe( + * value => console.log(value), // After 900ms, will start emitting `minutes`, + * // since first value of `seconds` will not arrive fast enough. + * err => console.log(err) // Would be called after 900ms in case of `timeout`, + * // but here will never be called. + * ); + * + * @param {number|Date} due Number specifying period within which Observable must emit values + * or Date specifying before when Observable should complete + * @param {Observable} withObservable Observable which will be subscribed if source fails timeout check. + * @param {Scheduler} [scheduler] Scheduler controlling when timeout checks occur. + * @return {Observable} Observable that mirrors behaviour of source or, when timeout check fails, of an Observable + * passed as a second parameter. + * @method timeoutWith + * @owner Observable + */ +export function timeoutWith(due, withObservable, scheduler = async) { + return (source) => { + let absoluteTimeout = isDate(due); + let waitFor = absoluteTimeout ? (+due - scheduler.now()) : Math.abs(due); + return source.lift(new TimeoutWithOperator(waitFor, absoluteTimeout, withObservable, scheduler)); + }; +} +class TimeoutWithOperator { + constructor(waitFor, absoluteTimeout, withObservable, scheduler) { + this.waitFor = waitFor; + this.absoluteTimeout = absoluteTimeout; + this.withObservable = withObservable; + this.scheduler = scheduler; + } + call(subscriber, source) { + return source.subscribe(new TimeoutWithSubscriber(subscriber, this.absoluteTimeout, this.waitFor, this.withObservable, this.scheduler)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class TimeoutWithSubscriber extends OuterSubscriber { + constructor(destination, absoluteTimeout, waitFor, withObservable, scheduler) { + super(destination); + this.absoluteTimeout = absoluteTimeout; + this.waitFor = waitFor; + this.withObservable = withObservable; + this.scheduler = scheduler; + this.action = null; + this.scheduleTimeout(); + } + static dispatchTimeout(subscriber) { + const { withObservable } = subscriber; + subscriber._unsubscribeAndRecycle(); + subscriber.add(subscribeToResult(subscriber, withObservable)); + } + scheduleTimeout() { + const { action } = this; + if (action) { + // Recycle the action if we've already scheduled one. All the production + // Scheduler Actions mutate their state/delay time and return themeselves. + // VirtualActions are immutable, so they create and return a clone. In this + // case, we need to set the action reference to the most recent VirtualAction, + // to ensure that's the one we clone from next time. + this.action = action.schedule(this, this.waitFor); + } + else { + this.add(this.action = this.scheduler.schedule(TimeoutWithSubscriber.dispatchTimeout, this.waitFor, this)); + } + } + _next(value) { + if (!this.absoluteTimeout) { + this.scheduleTimeout(); + } + super._next(value); + } + _unsubscribe() { + this.action = null; + this.scheduler = null; + this.withObservable = null; + } +} +//# sourceMappingURL=timeoutWith.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/timeoutWith.js.map b/node_modules/rxjs/_esm2015/operators/timeoutWith.js.map new file mode 100644 index 00000000..a130aaa0 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/timeoutWith.js.map @@ -0,0 +1 @@ +{"version":3,"file":"timeoutWith.js","sourceRoot":"","sources":["../../src/operators/timeoutWith.ts"],"names":[],"mappings":"OAIO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAGnC,EAAE,MAAM,EAAE,MAAM,gBAAgB;OAChC,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAC7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAM7D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,4BAAkC,GAAkB,EAClB,cAAkC,EAClC,SAAS,GAAe,KAAK;IAC7D,MAAM,CAAC,CAAC,MAAqB;QAC3B,IAAI,eAAe,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;QAClC,IAAI,OAAO,GAAG,eAAe,GAA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CAAC;IAChE,CAAC;IAEO,eAAe;QACrB,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QACxB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;YACX,wEAAwE;YACxE,0EAA0E;YAC1E,2EAA2E;YAC3E,8EAA8E;YAC9E,oDAAoD;YACpD,IAAI,CAAC,MAAM,GAA0C,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAE,CAAC;QAC5F,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,GAA0C,IAAI,CAAC,SAAS,CAAC,QAAQ,CACnF,qBAAqB,CAAC,eAAe,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CACzD,CAAC,CAAC;QACN,CAAC;IACH,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;YAC1B,IAAI,CAAC,eAAe,EAAE,CAAC;QACzB,CAAC;QACD,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;IAES,YAAY;QACpB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;IAC7B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/timestamp.js b/node_modules/rxjs/_esm2015/operators/timestamp.js new file mode 100644 index 00000000..fe36bbaf --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/timestamp.js @@ -0,0 +1,20 @@ +import { async } from '../scheduler/async'; +import { map } from './map'; +/** + * @param scheduler + * @return {Observable>|WebSocketSubject|Observable} + * @method timestamp + * @owner Observable + */ +export function timestamp(scheduler = async) { + return map((value) => new Timestamp(value, scheduler.now())); + // return (source: Observable) => source.lift(new TimestampOperator(scheduler)); +} +export class Timestamp { + constructor(value, timestamp) { + this.value = value; + this.timestamp = timestamp; + } +} +; +//# sourceMappingURL=timestamp.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/timestamp.js.map b/node_modules/rxjs/_esm2015/operators/timestamp.js.map new file mode 100644 index 00000000..3aa79445 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/timestamp.js.map @@ -0,0 +1 @@ +{"version":3,"file":"timestamp.js","sourceRoot":"","sources":["../../src/operators/timestamp.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAEnC,EAAE,GAAG,EAAE,MAAM,OAAO;AAE3B;;;;;GAKG;AACH,0BAA6B,SAAS,GAAe,KAAK;IACxD,MAAM,CAAC,GAAG,CAAC,CAAC,KAAQ,KAAK,IAAI,SAAS,CAAC,KAAK,EAAE,SAAS,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IAChE,mFAAmF;AACrF,CAAC;AAED;IACE,YAAmB,KAAQ,EAAS,SAAiB;QAAlC,UAAK,GAAL,KAAK,CAAG;QAAS,cAAS,GAAT,SAAS,CAAQ;IACrD,CAAC;AACH,CAAC;AAAA,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/toArray.js b/node_modules/rxjs/_esm2015/operators/toArray.js new file mode 100644 index 00000000..98effe76 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/toArray.js @@ -0,0 +1,12 @@ +import { reduce } from './reduce'; +function toArrayReducer(arr, item, index) { + if (index === 0) { + return [item]; + } + arr.push(item); + return arr; +} +export function toArray() { + return reduce(toArrayReducer, []); +} +//# sourceMappingURL=toArray.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/toArray.js.map b/node_modules/rxjs/_esm2015/operators/toArray.js.map new file mode 100644 index 00000000..692afd0b --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/toArray.js.map @@ -0,0 +1 @@ +{"version":3,"file":"toArray.js","sourceRoot":"","sources":["../../src/operators/toArray.ts"],"names":[],"mappings":"OAAO,EAAE,MAAM,EAAE,MAAM,UAAU;AAGjC,wBAA2B,GAAQ,EAAE,IAAO,EAAE,KAAa;IACzD,EAAE,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC;QAChB,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;IAChB,CAAC;IACD,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACf,MAAM,CAAC,GAAG,CAAC;AACb,CAAC;AAED;IACE,MAAM,CAAC,MAAM,CAAC,cAAc,EAAE,EAAE,CAA6B,CAAC;AAChE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/window.js b/node_modules/rxjs/_esm2015/operators/window.js new file mode 100644 index 00000000..f9260c97 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/window.js @@ -0,0 +1,102 @@ +import { Subject } from '../Subject'; +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/** + * Branch out the source Observable values as a nested Observable whenever + * `windowBoundaries` emits. + * + * It's like {@link buffer}, but emits a nested Observable + * instead of an array. + * + * + * + * Returns an Observable that emits windows of items it collects from the source + * Observable. The output Observable emits connected, non-overlapping + * windows. It emits the current window and opens a new one whenever the + * Observable `windowBoundaries` emits an item. Because each window is an + * Observable, the output is a higher-order Observable. + * + * @example In every window of 1 second each, emit at most 2 click events + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var interval = Rx.Observable.interval(1000); + * var result = clicks.window(interval) + * .map(win => win.take(2)) // each window has at most 2 emissions + * .mergeAll(); // flatten the Observable-of-Observables + * result.subscribe(x => console.log(x)); + * + * @see {@link windowCount} + * @see {@link windowTime} + * @see {@link windowToggle} + * @see {@link windowWhen} + * @see {@link buffer} + * + * @param {Observable} windowBoundaries An Observable that completes the + * previous window and starts a new window. + * @return {Observable>} An Observable of windows, which are + * Observables emitting values of the source Observable. + * @method window + * @owner Observable + */ +export function window(windowBoundaries) { + return function windowOperatorFunction(source) { + return source.lift(new WindowOperator(windowBoundaries)); + }; +} +class WindowOperator { + constructor(windowBoundaries) { + this.windowBoundaries = windowBoundaries; + } + call(subscriber, source) { + const windowSubscriber = new WindowSubscriber(subscriber); + const sourceSubscription = source.subscribe(windowSubscriber); + if (!sourceSubscription.closed) { + windowSubscriber.add(subscribeToResult(windowSubscriber, this.windowBoundaries)); + } + return sourceSubscription; + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class WindowSubscriber extends OuterSubscriber { + constructor(destination) { + super(destination); + this.window = new Subject(); + destination.next(this.window); + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + this.openWindow(); + } + notifyError(error, innerSub) { + this._error(error); + } + notifyComplete(innerSub) { + this._complete(); + } + _next(value) { + this.window.next(value); + } + _error(err) { + this.window.error(err); + this.destination.error(err); + } + _complete() { + this.window.complete(); + this.destination.complete(); + } + _unsubscribe() { + this.window = null; + } + openWindow() { + const prevWindow = this.window; + if (prevWindow) { + prevWindow.complete(); + } + const destination = this.destination; + const newWindow = this.window = new Subject(); + destination.next(newWindow); + } +} +//# sourceMappingURL=window.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/window.js.map b/node_modules/rxjs/_esm2015/operators/window.js.map new file mode 100644 index 00000000..90e38d0e --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/window.js.map @@ -0,0 +1 @@ +{"version":3,"file":"window.js","sourceRoot":"","sources":["../../src/operators/window.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,MAAM,YAAY;OAE7B,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAG7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,uBAA0B,gBAAiC;IACzD,MAAM,CAAC,gCAAgC,MAAqB;QAC1D,MAAM,CAAC,MAAM,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K,CAAC,GAAG,CAAC,CAAC;QACvB,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;QACvB,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;IAES,YAAY;QACpB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;IACrB,CAAC;IAEO,UAAU;QAChB,MAAM,UAAU,GAAG,IAAI,CAAC,MAAM,CAAC;QAC/B,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;YACf,UAAU,CAAC,QAAQ,EAAE,CAAC;QACxB,CAAC;QACD,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,GAAG,IAAI,OAAO,EAAK,CAAC;QACjD,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAC9B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/windowCount.js b/node_modules/rxjs/_esm2015/operators/windowCount.js new file mode 100644 index 00000000..d89e0da1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/windowCount.js @@ -0,0 +1,122 @@ +import { Subscriber } from '../Subscriber'; +import { Subject } from '../Subject'; +/** + * Branch out the source Observable values as a nested Observable with each + * nested Observable emitting at most `windowSize` values. + * + * It's like {@link bufferCount}, but emits a nested + * Observable instead of an array. + * + * + * + * Returns an Observable that emits windows of items it collects from the source + * Observable. The output Observable emits windows every `startWindowEvery` + * items, each containing no more than `windowSize` items. When the source + * Observable completes or encounters an error, the output Observable emits + * the current window and propagates the notification from the source + * Observable. If `startWindowEvery` is not provided, then new windows are + * started immediately at the start of the source and when each window completes + * with size `windowSize`. + * + * @example Ignore every 3rd click event, starting from the first one + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.windowCount(3) + * .map(win => win.skip(1)) // skip first of every 3 clicks + * .mergeAll(); // flatten the Observable-of-Observables + * result.subscribe(x => console.log(x)); + * + * @example Ignore every 3rd click event, starting from the third one + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks.windowCount(2, 3) + * .mergeAll(); // flatten the Observable-of-Observables + * result.subscribe(x => console.log(x)); + * + * @see {@link window} + * @see {@link windowTime} + * @see {@link windowToggle} + * @see {@link windowWhen} + * @see {@link bufferCount} + * + * @param {number} windowSize The maximum number of values emitted by each + * window. + * @param {number} [startWindowEvery] Interval at which to start a new window. + * For example if `startWindowEvery` is `2`, then a new window will be started + * on every other value from the source. A new window is started at the + * beginning of the source by default. + * @return {Observable>} An Observable of windows, which in turn + * are Observable of values. + * @method windowCount + * @owner Observable + */ +export function windowCount(windowSize, startWindowEvery = 0) { + return function windowCountOperatorFunction(source) { + return source.lift(new WindowCountOperator(windowSize, startWindowEvery)); + }; +} +class WindowCountOperator { + constructor(windowSize, startWindowEvery) { + this.windowSize = windowSize; + this.startWindowEvery = startWindowEvery; + } + call(subscriber, source) { + return source.subscribe(new WindowCountSubscriber(subscriber, this.windowSize, this.startWindowEvery)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class WindowCountSubscriber extends Subscriber { + constructor(destination, windowSize, startWindowEvery) { + super(destination); + this.destination = destination; + this.windowSize = windowSize; + this.startWindowEvery = startWindowEvery; + this.windows = [new Subject()]; + this.count = 0; + destination.next(this.windows[0]); + } + _next(value) { + const startWindowEvery = (this.startWindowEvery > 0) ? this.startWindowEvery : this.windowSize; + const destination = this.destination; + const windowSize = this.windowSize; + const windows = this.windows; + const len = windows.length; + for (let i = 0; i < len && !this.closed; i++) { + windows[i].next(value); + } + const c = this.count - windowSize + 1; + if (c >= 0 && c % startWindowEvery === 0 && !this.closed) { + windows.shift().complete(); + } + if (++this.count % startWindowEvery === 0 && !this.closed) { + const window = new Subject(); + windows.push(window); + destination.next(window); + } + } + _error(err) { + const windows = this.windows; + if (windows) { + while (windows.length > 0 && !this.closed) { + windows.shift().error(err); + } + } + this.destination.error(err); + } + _complete() { + const windows = this.windows; + if (windows) { + while (windows.length > 0 && !this.closed) { + windows.shift().complete(); + } + } + this.destination.complete(); + } + _unsubscribe() { + this.count = 0; + this.windows = null; + } +} +//# sourceMappingURL=windowCount.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/windowCount.js.map b/node_modules/rxjs/_esm2015/operators/windowCount.js.map new file mode 100644 index 00000000..e797558f --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/windowCount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"windowCount.js","sourceRoot":"","sources":["../../src/operators/windowCount.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;OAEnC,EAAE,OAAO,EAAE,MAAM,YAAY;AAGpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,4BAA+B,UAAkB,EAClB,gBAAgB,GAAW,CAAC;IACzD,MAAM,CAAC,qCAAqC,MAAqB;QAC/D,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,mBAAmB,CAAI,UAAU,EAAE,gBAAgB,CAAC,CAAC,CAAC;IAC/E,CAAC,CAAC;AACJ,CAAC;AAED;IAEE,YAAoB,UAAkB,EAClB,gBAAwB;QADxB,eAAU,GAAV,UAAU,CAAQ;QAClB,qBAAgB,GAAhB,gBAAgB,CAAQ;IAC5C,CAAC;IAED,IAAI,CAAC,UAAqC,EAAE,MAAW;QACrD,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,qBAAqB,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;IACzG,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,oCAAuC,UAAU;IAI/C,YAAsB,WAAsC,EACxC,UAAkB,EAClB,gBAAwB;QAC1C,MAAM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AC,CAAC,CAAC;YAC1D,MAAM,MAAM,GAAG,IAAI,OAAO,EAAK,CAAC;YAChC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YACrB,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC;IAES,MAAM,CAAC,GAAQ;QACvB,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC7B,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACZ,OAAO,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;gBAC1C,OAAO,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC7B,CAAC;QACH,CAAC;QACD,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAES,SAAS;QACjB,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC7B,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACZ,OAAO,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;gBAC1C,OAAO,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC;YAC7B,CAAC;QACH,CAAC;QACD,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;IAES,YAAY;QACpB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;QACf,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;IACtB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/windowTime.js b/node_modules/rxjs/_esm2015/operators/windowTime.js new file mode 100644 index 00000000..50eedef7 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/windowTime.js @@ -0,0 +1,147 @@ +import { Subject } from '../Subject'; +import { async } from '../scheduler/async'; +import { Subscriber } from '../Subscriber'; +import { isNumeric } from '../util/isNumeric'; +import { isScheduler } from '../util/isScheduler'; +export function windowTime(windowTimeSpan) { + let scheduler = async; + let windowCreationInterval = null; + let maxWindowSize = Number.POSITIVE_INFINITY; + if (isScheduler(arguments[3])) { + scheduler = arguments[3]; + } + if (isScheduler(arguments[2])) { + scheduler = arguments[2]; + } + else if (isNumeric(arguments[2])) { + maxWindowSize = arguments[2]; + } + if (isScheduler(arguments[1])) { + scheduler = arguments[1]; + } + else if (isNumeric(arguments[1])) { + windowCreationInterval = arguments[1]; + } + return function windowTimeOperatorFunction(source) { + return source.lift(new WindowTimeOperator(windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler)); + }; +} +class WindowTimeOperator { + constructor(windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler) { + this.windowTimeSpan = windowTimeSpan; + this.windowCreationInterval = windowCreationInterval; + this.maxWindowSize = maxWindowSize; + this.scheduler = scheduler; + } + call(subscriber, source) { + return source.subscribe(new WindowTimeSubscriber(subscriber, this.windowTimeSpan, this.windowCreationInterval, this.maxWindowSize, this.scheduler)); + } +} +class CountedSubject extends Subject { + constructor() { + super(...arguments); + this._numberOfNextedValues = 0; + } + next(value) { + this._numberOfNextedValues++; + super.next(value); + } + get numberOfNextedValues() { + return this._numberOfNextedValues; + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class WindowTimeSubscriber extends Subscriber { + constructor(destination, windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler) { + super(destination); + this.destination = destination; + this.windowTimeSpan = windowTimeSpan; + this.windowCreationInterval = windowCreationInterval; + this.maxWindowSize = maxWindowSize; + this.scheduler = scheduler; + this.windows = []; + const window = this.openWindow(); + if (windowCreationInterval !== null && windowCreationInterval >= 0) { + const closeState = { subscriber: this, window, context: null }; + const creationState = { windowTimeSpan, windowCreationInterval, subscriber: this, scheduler }; + this.add(scheduler.schedule(dispatchWindowClose, windowTimeSpan, closeState)); + this.add(scheduler.schedule(dispatchWindowCreation, windowCreationInterval, creationState)); + } + else { + const timeSpanOnlyState = { subscriber: this, window, windowTimeSpan }; + this.add(scheduler.schedule(dispatchWindowTimeSpanOnly, windowTimeSpan, timeSpanOnlyState)); + } + } + _next(value) { + const windows = this.windows; + const len = windows.length; + for (let i = 0; i < len; i++) { + const window = windows[i]; + if (!window.closed) { + window.next(value); + if (window.numberOfNextedValues >= this.maxWindowSize) { + this.closeWindow(window); + } + } + } + } + _error(err) { + const windows = this.windows; + while (windows.length > 0) { + windows.shift().error(err); + } + this.destination.error(err); + } + _complete() { + const windows = this.windows; + while (windows.length > 0) { + const window = windows.shift(); + if (!window.closed) { + window.complete(); + } + } + this.destination.complete(); + } + openWindow() { + const window = new CountedSubject(); + this.windows.push(window); + const destination = this.destination; + destination.next(window); + return window; + } + closeWindow(window) { + window.complete(); + const windows = this.windows; + windows.splice(windows.indexOf(window), 1); + } +} +function dispatchWindowTimeSpanOnly(state) { + const { subscriber, windowTimeSpan, window } = state; + if (window) { + subscriber.closeWindow(window); + } + state.window = subscriber.openWindow(); + this.schedule(state, windowTimeSpan); +} +function dispatchWindowCreation(state) { + const { windowTimeSpan, subscriber, scheduler, windowCreationInterval } = state; + const window = subscriber.openWindow(); + const action = this; + let context = { action, subscription: null }; + const timeSpanState = { subscriber, window, context }; + context.subscription = scheduler.schedule(dispatchWindowClose, windowTimeSpan, timeSpanState); + action.add(context.subscription); + action.schedule(state, windowCreationInterval); +} +function dispatchWindowClose(state) { + const { subscriber, window, context } = state; + if (context && context.action && context.subscription) { + context.action.remove(context.subscription); + } + subscriber.closeWindow(window); +} +//# sourceMappingURL=windowTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/windowTime.js.map b/node_modules/rxjs/_esm2015/operators/windowTime.js.map new file mode 100644 index 00000000..ecb7df05 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/windowTime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"windowTime.js","sourceRoot":"","sources":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AACjC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/windowToggle.js b/node_modules/rxjs/_esm2015/operators/windowToggle.js new file mode 100644 index 00000000..7ba60669 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/windowToggle.js @@ -0,0 +1,170 @@ +import { Subject } from '../Subject'; +import { Subscription } from '../Subscription'; +import { tryCatch } from '../util/tryCatch'; +import { errorObject } from '../util/errorObject'; +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/** + * Branch out the source Observable values as a nested Observable starting from + * an emission from `openings` and ending when the output of `closingSelector` + * emits. + * + * It's like {@link bufferToggle}, but emits a nested + * Observable instead of an array. + * + * + * + * Returns an Observable that emits windows of items it collects from the source + * Observable. The output Observable emits windows that contain those items + * emitted by the source Observable between the time when the `openings` + * Observable emits an item and when the Observable returned by + * `closingSelector` emits an item. + * + * @example Every other second, emit the click events from the next 500ms + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var openings = Rx.Observable.interval(1000); + * var result = clicks.windowToggle(openings, i => + * i % 2 ? Rx.Observable.interval(500) : Rx.Observable.empty() + * ).mergeAll(); + * result.subscribe(x => console.log(x)); + * + * @see {@link window} + * @see {@link windowCount} + * @see {@link windowTime} + * @see {@link windowWhen} + * @see {@link bufferToggle} + * + * @param {Observable} openings An observable of notifications to start new + * windows. + * @param {function(value: O): Observable} closingSelector A function that takes + * the value emitted by the `openings` observable and returns an Observable, + * which, when it emits (either `next` or `complete`), signals that the + * associated window should complete. + * @return {Observable>} An observable of windows, which in turn + * are Observables. + * @method windowToggle + * @owner Observable + */ +export function windowToggle(openings, closingSelector) { + return (source) => source.lift(new WindowToggleOperator(openings, closingSelector)); +} +class WindowToggleOperator { + constructor(openings, closingSelector) { + this.openings = openings; + this.closingSelector = closingSelector; + } + call(subscriber, source) { + return source.subscribe(new WindowToggleSubscriber(subscriber, this.openings, this.closingSelector)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class WindowToggleSubscriber extends OuterSubscriber { + constructor(destination, openings, closingSelector) { + super(destination); + this.openings = openings; + this.closingSelector = closingSelector; + this.contexts = []; + this.add(this.openSubscription = subscribeToResult(this, openings, openings)); + } + _next(value) { + const { contexts } = this; + if (contexts) { + const len = contexts.length; + for (let i = 0; i < len; i++) { + contexts[i].window.next(value); + } + } + } + _error(err) { + const { contexts } = this; + this.contexts = null; + if (contexts) { + const len = contexts.length; + let index = -1; + while (++index < len) { + const context = contexts[index]; + context.window.error(err); + context.subscription.unsubscribe(); + } + } + super._error(err); + } + _complete() { + const { contexts } = this; + this.contexts = null; + if (contexts) { + const len = contexts.length; + let index = -1; + while (++index < len) { + const context = contexts[index]; + context.window.complete(); + context.subscription.unsubscribe(); + } + } + super._complete(); + } + _unsubscribe() { + const { contexts } = this; + this.contexts = null; + if (contexts) { + const len = contexts.length; + let index = -1; + while (++index < len) { + const context = contexts[index]; + context.window.unsubscribe(); + context.subscription.unsubscribe(); + } + } + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + if (outerValue === this.openings) { + const { closingSelector } = this; + const closingNotifier = tryCatch(closingSelector)(innerValue); + if (closingNotifier === errorObject) { + return this.error(errorObject.e); + } + else { + const window = new Subject(); + const subscription = new Subscription(); + const context = { window, subscription }; + this.contexts.push(context); + const innerSubscription = subscribeToResult(this, closingNotifier, context); + if (innerSubscription.closed) { + this.closeWindow(this.contexts.length - 1); + } + else { + innerSubscription.context = context; + subscription.add(innerSubscription); + } + this.destination.next(window); + } + } + else { + this.closeWindow(this.contexts.indexOf(outerValue)); + } + } + notifyError(err) { + this.error(err); + } + notifyComplete(inner) { + if (inner !== this.openSubscription) { + this.closeWindow(this.contexts.indexOf(inner.context)); + } + } + closeWindow(index) { + if (index === -1) { + return; + } + const { contexts } = this; + const context = contexts[index]; + const { window, subscription } = context; + contexts.splice(index, 1); + window.complete(); + subscription.unsubscribe(); + } +} +//# sourceMappingURL=windowToggle.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/windowToggle.js.map b/node_modules/rxjs/_esm2015/operators/windowToggle.js.map new file mode 100644 index 00000000..804b926d --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/windowToggle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"windowToggle.js","sourceRoot":"","sources":["../../src/operators/windowToggle.ts"],"names":[],"mappings":"OAGO,EAAE,OAAO,EAAE,MAAM,YAAY;OAC7B,EAAE,YAAY,EAAE,MAAM,iBAAiB;OACvC,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAG7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,6BAAmC,QAAuB,EACvB,eAAkD;IACnF,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,oBAAoB,CAAO,QAAQ,EAAE,eAAe,CAAC,CAAC,CAAC;AAC3G,CAAC;AAED;IAEE,YAAoB,QAAuB,EACvB,eAAkD;QADlD,aAAQ,GAAR,QAAQ,CAAe;QACvB,oBAAe,GAAf,eAAe,CAAmC;IACtE,CAAC;IAED,IAAI,CAAC,UAAqC,EAAE,MAAW;QACrD,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,sBAAsB,CAChD,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,eAAe,CAChD,CAAC,CAAC;IACL,CAAC;AACH,CAAC;AAOD;;;;GAIG;AACH,qCAA2C,eAAe;IAIxD,YAAY,WAAsC,EAC9B,QAAuB,EACvB,eAAkD;QACpE,MAAM,WAAW,CAAC,CAAC;QAFD,aAAQ,GAAR,QAAQ,CAAe;QACvB,oBAAe,GAAf,eAAe,CAAmC;QAL9D,aAAQ,GAAuB,EAAE,CA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a;QAC/B,EAAE,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YACjB,MAAM,CAAC;QACT,CAAC;QAED,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;QAC1B,MAAM,OAAO,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;QAChC,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC;QACzC,QAAQ,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;QAC1B,MAAM,CAAC,QAAQ,EAAE,CAAC;QAClB,YAAY,CAAC,WAAW,EAAE,CAAC;IAC7B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/windowWhen.js b/node_modules/rxjs/_esm2015/operators/windowWhen.js new file mode 100644 index 00000000..922ff048 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/windowWhen.js @@ -0,0 +1,118 @@ +import { Subject } from '../Subject'; +import { tryCatch } from '../util/tryCatch'; +import { errorObject } from '../util/errorObject'; +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/** + * Branch out the source Observable values as a nested Observable using a + * factory function of closing Observables to determine when to start a new + * window. + * + * It's like {@link bufferWhen}, but emits a nested + * Observable instead of an array. + * + * + * + * Returns an Observable that emits windows of items it collects from the source + * Observable. The output Observable emits connected, non-overlapping windows. + * It emits the current window and opens a new one whenever the Observable + * produced by the specified `closingSelector` function emits an item. The first + * window is opened immediately when subscribing to the output Observable. + * + * @example Emit only the first two clicks events in every window of [1-5] random seconds + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var result = clicks + * .windowWhen(() => Rx.Observable.interval(1000 + Math.random() * 4000)) + * .map(win => win.take(2)) // each window has at most 2 emissions + * .mergeAll(); // flatten the Observable-of-Observables + * result.subscribe(x => console.log(x)); + * + * @see {@link window} + * @see {@link windowCount} + * @see {@link windowTime} + * @see {@link windowToggle} + * @see {@link bufferWhen} + * + * @param {function(): Observable} closingSelector A function that takes no + * arguments and returns an Observable that signals (on either `next` or + * `complete`) when to close the previous window and start a new one. + * @return {Observable>} An observable of windows, which in turn + * are Observables. + * @method windowWhen + * @owner Observable + */ +export function windowWhen(closingSelector) { + return function windowWhenOperatorFunction(source) { + return source.lift(new WindowOperator(closingSelector)); + }; +} +class WindowOperator { + constructor(closingSelector) { + this.closingSelector = closingSelector; + } + call(subscriber, source) { + return source.subscribe(new WindowSubscriber(subscriber, this.closingSelector)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class WindowSubscriber extends OuterSubscriber { + constructor(destination, closingSelector) { + super(destination); + this.destination = destination; + this.closingSelector = closingSelector; + this.openWindow(); + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + this.openWindow(innerSub); + } + notifyError(error, innerSub) { + this._error(error); + } + notifyComplete(innerSub) { + this.openWindow(innerSub); + } + _next(value) { + this.window.next(value); + } + _error(err) { + this.window.error(err); + this.destination.error(err); + this.unsubscribeClosingNotification(); + } + _complete() { + this.window.complete(); + this.destination.complete(); + this.unsubscribeClosingNotification(); + } + unsubscribeClosingNotification() { + if (this.closingNotification) { + this.closingNotification.unsubscribe(); + } + } + openWindow(innerSub = null) { + if (innerSub) { + this.remove(innerSub); + innerSub.unsubscribe(); + } + const prevWindow = this.window; + if (prevWindow) { + prevWindow.complete(); + } + const window = this.window = new Subject(); + this.destination.next(window); + const closingNotifier = tryCatch(this.closingSelector)(); + if (closingNotifier === errorObject) { + const err = errorObject.e; + this.destination.error(err); + this.window.error(err); + } + else { + this.add(this.closingNotification = subscribeToResult(this, closingNotifier)); + } + } +} +//# sourceMappingURL=windowWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/windowWhen.js.map b/node_modules/rxjs/_esm2015/operators/windowWhen.js.map new file mode 100644 index 00000000..41aa23b1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/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AAC,eAAe,KAAK,WAAW,CAAC,CAAC,CAAC;YACpC,MAAM,GAAG,GAAG,WAAW,CAAC,CAAC,CAAC;YAC1B,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACzB,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,mBAAmB,GAAG,iBAAiB,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC;QAChF,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/withLatestFrom.js b/node_modules/rxjs/_esm2015/operators/withLatestFrom.js new file mode 100644 index 00000000..7916b1ef --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/withLatestFrom.js @@ -0,0 +1,118 @@ +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +/* tslint:enable:max-line-length */ +/** + * Combines the source Observable with other Observables to create an Observable + * whose values are calculated from the latest values of each, only when the + * source emits. + * + * Whenever the source Observable emits a value, it + * computes a formula using that value plus the latest values from other input + * Observables, then emits the output of that formula. + * + * + * + * `withLatestFrom` combines each value from the source Observable (the + * instance) with the latest values from the other input Observables only when + * the source emits a value, optionally using a `project` function to determine + * the value to be emitted on the output Observable. All input Observables must + * emit at least one value before the output Observable will emit a value. + * + * @example On every click event, emit an array with the latest timer event plus the click event + * var clicks = Rx.Observable.fromEvent(document, 'click'); + * var timer = Rx.Observable.interval(1000); + * var result = clicks.withLatestFrom(timer); + * result.subscribe(x => console.log(x)); + * + * @see {@link combineLatest} + * + * @param {ObservableInput} other An input Observable to combine with the source + * Observable. More than one input Observables may be given as argument. + * @param {Function} [project] Projection function for combining values + * together. Receives all values in order of the Observables passed, where the + * first parameter is a value from the source Observable. (e.g. + * `a.withLatestFrom(b, c, (a1, b1, c1) => a1 + b1 + c1)`). If this is not + * passed, arrays will be emitted on the output Observable. + * @return {Observable} An Observable of projected values from the most recent + * values from each input Observable, or an array of the most recent values from + * each input Observable. + * @method withLatestFrom + * @owner Observable + */ +export function withLatestFrom(...args) { + return (source) => { + let project; + if (typeof args[args.length - 1] === 'function') { + project = args.pop(); + } + const observables = args; + return source.lift(new WithLatestFromOperator(observables, project)); + }; +} +class WithLatestFromOperator { + constructor(observables, project) { + this.observables = observables; + this.project = project; + } + call(subscriber, source) { + return source.subscribe(new WithLatestFromSubscriber(subscriber, this.observables, this.project)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class WithLatestFromSubscriber extends OuterSubscriber { + constructor(destination, observables, project) { + super(destination); + this.observables = observables; + this.project = project; + this.toRespond = []; + const len = observables.length; + this.values = new Array(len); + for (let i = 0; i < len; i++) { + this.toRespond.push(i); + } + for (let i = 0; i < len; i++) { + let observable = observables[i]; + this.add(subscribeToResult(this, observable, observable, i)); + } + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + this.values[outerIndex] = innerValue; + const toRespond = this.toRespond; + if (toRespond.length > 0) { + const found = toRespond.indexOf(outerIndex); + if (found !== -1) { + toRespond.splice(found, 1); + } + } + } + notifyComplete() { + // noop + } + _next(value) { + if (this.toRespond.length === 0) { + const args = [value, ...this.values]; + if (this.project) { + this._tryProject(args); + } + else { + this.destination.next(args); + } + } + } + _tryProject(args) { + let result; + try { + result = this.project.apply(this, args); + } + catch (err) { + this.destination.error(err); + return; + } + this.destination.next(result); + } +} +//# sourceMappingURL=withLatestFrom.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/withLatestFrom.js.map b/node_modules/rxjs/_esm2015/operators/withLatestFrom.js.map new file mode 100644 index 00000000..b7fa614c --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/withLatestFrom.js.map @@ -0,0 +1 @@ +{"version":3,"file":"withLatestFrom.js","sourceRoot":"","sources":["../../src/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AAC;gBACjB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;YACzB,CAAC;YAAC,IAAI,CAAC,CAAC;gBACN,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAC9B,CAAC;QACH,CAAC;IACH,CAAC;IAEO,WAAW,CAAC,IAAW;QAC7B,IAAI,MAAW,CAAC;QAChB,IAAI,CAAC;YACH,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAC1C,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,MAAM,CAAC;QACT,CAAC;QACD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/zip.js b/node_modules/rxjs/_esm2015/operators/zip.js new file mode 100644 index 00000000..3eaf3a69 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/zip.js @@ -0,0 +1,255 @@ +import { ArrayObservable } from '../observable/ArrayObservable'; +import { isArray } from '../util/isArray'; +import { Subscriber } from '../Subscriber'; +import { OuterSubscriber } from '../OuterSubscriber'; +import { subscribeToResult } from '../util/subscribeToResult'; +import { iterator as Symbol_iterator } from '../symbol/iterator'; +/* tslint:enable:max-line-length */ +/** + * @param observables + * @return {Observable} + * @method zip + * @owner Observable + */ +export function zip(...observables) { + return function zipOperatorFunction(source) { + return source.lift.call(zipStatic(source, ...observables)); + }; +} +/* tslint:enable:max-line-length */ +/** + * Combines multiple Observables to create an Observable whose values are calculated from the values, in order, of each + * of its input Observables. + * + * If the latest parameter is a function, this function is used to compute the created value from the input values. + * Otherwise, an array of the input values is returned. + * + * @example Combine age and name from different sources + * + * let age$ = Observable.of(27, 25, 29); + * let name$ = Observable.of('Foo', 'Bar', 'Beer'); + * let isDev$ = Observable.of(true, true, false); + * + * Observable + * .zip(age$, + * name$, + * isDev$, + * (age: number, name: string, isDev: boolean) => ({ age, name, isDev })) + * .subscribe(x => console.log(x)); + * + * // outputs + * // { age: 27, name: 'Foo', isDev: true } + * // { age: 25, name: 'Bar', isDev: true } + * // { age: 29, name: 'Beer', isDev: false } + * + * @param observables + * @return {Observable} + * @static true + * @name zip + * @owner Observable + */ +export function zipStatic(...observables) { + const project = observables[observables.length - 1]; + if (typeof project === 'function') { + observables.pop(); + } + return new ArrayObservable(observables).lift(new ZipOperator(project)); +} +export class ZipOperator { + constructor(project) { + this.project = project; + } + call(subscriber, source) { + return source.subscribe(new ZipSubscriber(subscriber, this.project)); + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class ZipSubscriber extends Subscriber { + constructor(destination, project, values = Object.create(null)) { + super(destination); + this.iterators = []; + this.active = 0; + this.project = (typeof project === 'function') ? project : null; + this.values = values; + } + _next(value) { + const iterators = this.iterators; + if (isArray(value)) { + iterators.push(new StaticArrayIterator(value)); + } + else if (typeof value[Symbol_iterator] === 'function') { + iterators.push(new StaticIterator(value[Symbol_iterator]())); + } + else { + iterators.push(new ZipBufferIterator(this.destination, this, value)); + } + } + _complete() { + const iterators = this.iterators; + const len = iterators.length; + if (len === 0) { + this.destination.complete(); + return; + } + this.active = len; + for (let i = 0; i < len; i++) { + let iterator = iterators[i]; + if (iterator.stillUnsubscribed) { + this.add(iterator.subscribe(iterator, i)); + } + else { + this.active--; // not an observable + } + } + } + notifyInactive() { + this.active--; + if (this.active === 0) { + this.destination.complete(); + } + } + checkIterators() { + const iterators = this.iterators; + const len = iterators.length; + const destination = this.destination; + // abort if not all of them have values + for (let i = 0; i < len; i++) { + let iterator = iterators[i]; + if (typeof iterator.hasValue === 'function' && !iterator.hasValue()) { + return; + } + } + let shouldComplete = false; + const args = []; + for (let i = 0; i < len; i++) { + let iterator = iterators[i]; + let result = iterator.next(); + // check to see if it's completed now that you've gotten + // the next value. + if (iterator.hasCompleted()) { + shouldComplete = true; + } + if (result.done) { + destination.complete(); + return; + } + args.push(result.value); + } + if (this.project) { + this._tryProject(args); + } + else { + destination.next(args); + } + if (shouldComplete) { + destination.complete(); + } + } + _tryProject(args) { + let result; + try { + result = this.project.apply(this, args); + } + catch (err) { + this.destination.error(err); + return; + } + this.destination.next(result); + } +} +class StaticIterator { + constructor(iterator) { + this.iterator = iterator; + this.nextResult = iterator.next(); + } + hasValue() { + return true; + } + next() { + const result = this.nextResult; + this.nextResult = this.iterator.next(); + return result; + } + hasCompleted() { + const nextResult = this.nextResult; + return nextResult && nextResult.done; + } +} +class StaticArrayIterator { + constructor(array) { + this.array = array; + this.index = 0; + this.length = 0; + this.length = array.length; + } + [Symbol_iterator]() { + return this; + } + next(value) { + const i = this.index++; + const array = this.array; + return i < this.length ? { value: array[i], done: false } : { value: null, done: true }; + } + hasValue() { + return this.array.length > this.index; + } + hasCompleted() { + return this.array.length === this.index; + } +} +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +class ZipBufferIterator extends OuterSubscriber { + constructor(destination, parent, observable) { + super(destination); + this.parent = parent; + this.observable = observable; + this.stillUnsubscribed = true; + this.buffer = []; + this.isComplete = false; + } + [Symbol_iterator]() { + return this; + } + // NOTE: there is actually a name collision here with Subscriber.next and Iterator.next + // this is legit because `next()` will never be called by a subscription in this case. + next() { + const buffer = this.buffer; + if (buffer.length === 0 && this.isComplete) { + return { value: null, done: true }; + } + else { + return { value: buffer.shift(), done: false }; + } + } + hasValue() { + return this.buffer.length > 0; + } + hasCompleted() { + return this.buffer.length === 0 && this.isComplete; + } + notifyComplete() { + if (this.buffer.length > 0) { + this.isComplete = true; + this.parent.notifyInactive(); + } + else { + this.destination.complete(); + } + } + notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { + this.buffer.push(innerValue); + this.parent.checkIterators(); + } + subscribe(value, index) { + return subscribeToResult(this, this.observable, this, index); + } +} +//# sourceMappingURL=zip.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/zip.js.map b/node_modules/rxjs/_esm2015/operators/zip.js.map new file mode 100644 index 00000000..7641d5f1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/zip.js.map @@ -0,0 +1 @@ +{"version":3,"file":"zip.js","sourceRoot":"","sources":["../../src/operators/zip.ts"],"names":[],"mappings":"OACO,EAAE,eAAe,EAAE,MAAM,+BAA+B;OACxD,EAAE,OAAO,EAAE,MAAM,iBAAiB;OAGlC,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;OACtD,EAAE,QAAQ,IAAI,eAAe,EAAE,MAAM,oBAAoB;AAkBhE,mCAAmC;AAEnC;;;;;GAKG;AACH,oBAA0B,GAAG,WAAyE;IACpG,MAAM,CAAC,6BAA6B,MAAqB;QACvD,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAI,MAAM,EAAE,GAAG,WAAW,CAAC,CAAC,CAAC;IAChE,CAAC,CAAC;AACJ,CAAC;AAwBD,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,0BAAgC,GAAG,WAAyE;IAC1G,MAAM,OAAO,GAAgC,WAAW,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IACjF,EAAE,CAAC,CAAC,OAAO,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC;QAClC,WAAW,CAAC,GAAG,EAAE,CAAC;IACpB,CAAC;IACD,MAAM,CAAC,IAAI,eAAe,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,IAAI,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;AACzE,CAAC;AAED;IAIE,YAAY,OAAsC;QAChD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB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AC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;YAC3B,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;YACvB,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;QAC/B,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;IAED,UAAU,CAAC,UAAa,EAAE,UAAe,EAC9B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7B,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;IAC/B,CAAC;IAED,SAAS,CAAC,KAAU,EAAE,KAAa;QACjC,MAAM,CAAC,iBAAiB,CAAW,IAAI,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;IACzE,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/zipAll.js b/node_modules/rxjs/_esm2015/operators/zipAll.js new file mode 100644 index 00000000..f6d40749 --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/zipAll.js @@ -0,0 +1,5 @@ +import { ZipOperator } from './zip'; +export function zipAll(project) { + return (source) => source.lift(new ZipOperator(project)); +} +//# sourceMappingURL=zipAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/zipAll.js.map b/node_modules/rxjs/_esm2015/operators/zipAll.js.map new file mode 100644 index 00000000..b65b43ce --- /dev/null +++ b/node_modules/rxjs/_esm2015/operators/zipAll.js.map @@ -0,0 +1 @@ +{"version":3,"file":"zipAll.js","sourceRoot":"","sources":["../../src/operators/zipAll.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE,MAAM,OAAO;AAInC,uBAA6B,OAAsC;IACjE,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;AAC1E,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/path-mapping.js b/node_modules/rxjs/_esm2015/path-mapping.js new file mode 100644 index 00000000..c261c234 --- /dev/null +++ b/node_modules/rxjs/_esm2015/path-mapping.js @@ -0,0 +1,465 @@ + +"use strict" + +var path = require('path'); +var dir = path.resolve(__dirname); + +module.exports = function() { + return { + "rxjs/util/tryCatch": path.join(dir, "util/tryCatch.js"), + "rxjs/util/toSubscriber": path.join(dir, "util/toSubscriber.js"), + "rxjs/util/subscribeToResult": path.join(dir, "util/subscribeToResult.js"), + "rxjs/util/root": path.join(dir, "util/root.js"), + "rxjs/util/pipe": path.join(dir, "util/pipe.js"), + "rxjs/util/not": path.join(dir, "util/not.js"), + "rxjs/util/noop": path.join(dir, "util/noop.js"), + "rxjs/util/isScheduler": path.join(dir, "util/isScheduler.js"), + "rxjs/util/isPromise": path.join(dir, "util/isPromise.js"), + "rxjs/util/isObject": path.join(dir, "util/isObject.js"), + "rxjs/util/isNumeric": path.join(dir, "util/isNumeric.js"), + "rxjs/util/isFunction": path.join(dir, "util/isFunction.js"), + "rxjs/util/isDate": path.join(dir, "util/isDate.js"), + "rxjs/util/isArrayLike": path.join(dir, "util/isArrayLike.js"), + "rxjs/util/isArray": path.join(dir, "util/isArray.js"), + "rxjs/util/identity": path.join(dir, "util/identity.js"), + "rxjs/util/errorObject": path.join(dir, "util/errorObject.js"), + "rxjs/util/assign": path.join(dir, "util/assign.js"), + "rxjs/util/applyMixins": path.join(dir, "util/applyMixins.js"), + "rxjs/util/UnsubscriptionError": path.join(dir, "util/UnsubscriptionError.js"), + "rxjs/util/TimeoutError": path.join(dir, "util/TimeoutError.js"), + "rxjs/util/Set": path.join(dir, "util/Set.js"), + "rxjs/util/ObjectUnsubscribedError": path.join(dir, "util/ObjectUnsubscribedError.js"), + "rxjs/util/MapPolyfill": path.join(dir, "util/MapPolyfill.js"), + "rxjs/util/Map": path.join(dir, "util/Map.js"), + "rxjs/util/Immediate": path.join(dir, "util/Immediate.js"), + "rxjs/util/FastMap": path.join(dir, "util/FastMap.js"), + "rxjs/util/EmptyError": path.join(dir, "util/EmptyError.js"), + "rxjs/util/ArgumentOutOfRangeError": path.join(dir, "util/ArgumentOutOfRangeError.js"), + "rxjs/util/AnimationFrame": path.join(dir, "util/AnimationFrame.js"), + "rxjs/testing/TestScheduler": path.join(dir, "testing/TestScheduler.js"), + "rxjs/testing/TestMessage": path.join(dir, "testing/TestMessage.js"), + "rxjs/testing/SubscriptionLoggable": path.join(dir, "testing/SubscriptionLoggable.js"), + "rxjs/testing/SubscriptionLog": path.join(dir, "testing/SubscriptionLog.js"), + "rxjs/testing/HotObservable": path.join(dir, "testing/HotObservable.js"), + "rxjs/testing/ColdObservable": path.join(dir, "testing/ColdObservable.js"), + "rxjs/symbol/rxSubscriber": path.join(dir, "symbol/rxSubscriber.js"), + "rxjs/symbol/observable": path.join(dir, "symbol/observable.js"), + "rxjs/symbol/iterator": path.join(dir, "symbol/iterator.js"), + "rxjs/scheduler/queue": path.join(dir, "scheduler/queue.js"), + "rxjs/scheduler/async": path.join(dir, "scheduler/async.js"), + "rxjs/scheduler/asap": path.join(dir, "scheduler/asap.js"), + "rxjs/scheduler/animationFrame": path.join(dir, "scheduler/animationFrame.js"), + "rxjs/scheduler/VirtualTimeScheduler": path.join(dir, "scheduler/VirtualTimeScheduler.js"), + "rxjs/scheduler/QueueScheduler": path.join(dir, "scheduler/QueueScheduler.js"), + "rxjs/scheduler/QueueAction": path.join(dir, "scheduler/QueueAction.js"), + "rxjs/scheduler/AsyncScheduler": path.join(dir, "scheduler/AsyncScheduler.js"), + "rxjs/scheduler/AsyncAction": path.join(dir, "scheduler/AsyncAction.js"), + "rxjs/scheduler/AsapScheduler": path.join(dir, "scheduler/AsapScheduler.js"), + "rxjs/scheduler/AsapAction": path.join(dir, "scheduler/AsapAction.js"), + "rxjs/scheduler/AnimationFrameScheduler": path.join(dir, "scheduler/AnimationFrameScheduler.js"), + "rxjs/scheduler/AnimationFrameAction": path.join(dir, "scheduler/AnimationFrameAction.js"), + "rxjs/scheduler/Action": path.join(dir, "scheduler/Action.js"), + "rxjs/operators/zipAll": path.join(dir, "operators/zipAll.js"), + "rxjs/operators/zip": path.join(dir, "operators/zip.js"), + "rxjs/operators/withLatestFrom": path.join(dir, "operators/withLatestFrom.js"), + "rxjs/operators/windowWhen": path.join(dir, "operators/windowWhen.js"), + "rxjs/operators/windowToggle": path.join(dir, "operators/windowToggle.js"), + "rxjs/operators/windowTime": path.join(dir, "operators/windowTime.js"), + "rxjs/operators/windowCount": path.join(dir, "operators/windowCount.js"), + "rxjs/operators/window": path.join(dir, "operators/window.js"), + "rxjs/operators/toArray": path.join(dir, "operators/toArray.js"), + "rxjs/operators/timestamp": path.join(dir, "operators/timestamp.js"), + "rxjs/operators/timeoutWith": path.join(dir, "operators/timeoutWith.js"), + "rxjs/operators/timeout": path.join(dir, "operators/timeout.js"), + "rxjs/operators/timeInterval": path.join(dir, "operators/timeInterval.js"), + "rxjs/operators/throttleTime": path.join(dir, "operators/throttleTime.js"), + "rxjs/operators/throttle": path.join(dir, "operators/throttle.js"), + "rxjs/operators/tap": path.join(dir, "operators/tap.js"), + "rxjs/operators/takeWhile": path.join(dir, "operators/takeWhile.js"), + "rxjs/operators/takeUntil": path.join(dir, "operators/takeUntil.js"), + "rxjs/operators/takeLast": path.join(dir, "operators/takeLast.js"), + "rxjs/operators/take": path.join(dir, "operators/take.js"), + "rxjs/operators/switchMapTo": path.join(dir, "operators/switchMapTo.js"), + "rxjs/operators/switchMap": path.join(dir, "operators/switchMap.js"), + "rxjs/operators/switchAll": path.join(dir, "operators/switchAll.js"), + "rxjs/operators/subscribeOn": path.join(dir, "operators/subscribeOn.js"), + "rxjs/operators/startWith": path.join(dir, "operators/startWith.js"), + "rxjs/operators/skipWhile": path.join(dir, "operators/skipWhile.js"), + "rxjs/operators/skipUntil": path.join(dir, "operators/skipUntil.js"), + "rxjs/operators/skipLast": path.join(dir, "operators/skipLast.js"), + "rxjs/operators/skip": path.join(dir, "operators/skip.js"), + "rxjs/operators/single": path.join(dir, "operators/single.js"), + "rxjs/operators/shareReplay": path.join(dir, "operators/shareReplay.js"), + "rxjs/operators/share": path.join(dir, "operators/share.js"), + "rxjs/operators/sequenceEqual": path.join(dir, "operators/sequenceEqual.js"), + "rxjs/operators/scan": path.join(dir, "operators/scan.js"), + "rxjs/operators/sampleTime": path.join(dir, "operators/sampleTime.js"), + "rxjs/operators/sample": path.join(dir, "operators/sample.js"), + "rxjs/operators/retryWhen": path.join(dir, "operators/retryWhen.js"), + "rxjs/operators/retry": path.join(dir, "operators/retry.js"), + "rxjs/operators/repeatWhen": path.join(dir, "operators/repeatWhen.js"), + "rxjs/operators/repeat": path.join(dir, "operators/repeat.js"), + "rxjs/operators/refCount": path.join(dir, "operators/refCount.js"), + "rxjs/operators/reduce": path.join(dir, "operators/reduce.js"), + "rxjs/operators/race": path.join(dir, "operators/race.js"), + "rxjs/operators/publishReplay": path.join(dir, "operators/publishReplay.js"), + "rxjs/operators/publishLast": path.join(dir, "operators/publishLast.js"), + "rxjs/operators/publishBehavior": path.join(dir, "operators/publishBehavior.js"), + "rxjs/operators/publish": path.join(dir, "operators/publish.js"), + "rxjs/operators/pluck": path.join(dir, "operators/pluck.js"), + "rxjs/operators/partition": path.join(dir, "operators/partition.js"), + "rxjs/operators/pairwise": path.join(dir, "operators/pairwise.js"), + "rxjs/operators/onErrorResumeNext": path.join(dir, "operators/onErrorResumeNext.js"), + "rxjs/operators/observeOn": path.join(dir, "operators/observeOn.js"), + "rxjs/operators/multicast": path.join(dir, "operators/multicast.js"), + "rxjs/operators/min": path.join(dir, "operators/min.js"), + "rxjs/operators/mergeScan": path.join(dir, "operators/mergeScan.js"), + "rxjs/operators/mergeMapTo": path.join(dir, "operators/mergeMapTo.js"), + "rxjs/operators/mergeMap": path.join(dir, "operators/mergeMap.js"), + "rxjs/operators/mergeAll": path.join(dir, "operators/mergeAll.js"), + "rxjs/operators/merge": path.join(dir, "operators/merge.js"), + "rxjs/operators/max": path.join(dir, "operators/max.js"), + "rxjs/operators/materialize": path.join(dir, "operators/materialize.js"), + "rxjs/operators/mapTo": path.join(dir, "operators/mapTo.js"), + "rxjs/operators/map": path.join(dir, "operators/map.js"), + "rxjs/operators/last": path.join(dir, "operators/last.js"), + "rxjs/operators/isEmpty": path.join(dir, "operators/isEmpty.js"), + "rxjs/operators/ignoreElements": path.join(dir, "operators/ignoreElements.js"), + "rxjs/operators/groupBy": path.join(dir, "operators/groupBy.js"), + "rxjs/operators/first": path.join(dir, "operators/first.js"), + "rxjs/operators/findIndex": path.join(dir, "operators/findIndex.js"), + "rxjs/operators/find": path.join(dir, "operators/find.js"), + "rxjs/operators/finalize": path.join(dir, "operators/finalize.js"), + "rxjs/operators/filter": path.join(dir, "operators/filter.js"), + "rxjs/operators/expand": path.join(dir, "operators/expand.js"), + "rxjs/operators/exhaustMap": path.join(dir, "operators/exhaustMap.js"), + "rxjs/operators/exhaust": path.join(dir, "operators/exhaust.js"), + "rxjs/operators/every": path.join(dir, "operators/every.js"), + "rxjs/operators/elementAt": path.join(dir, "operators/elementAt.js"), + "rxjs/operators/distinctUntilKeyChanged": path.join(dir, "operators/distinctUntilKeyChanged.js"), + "rxjs/operators/distinctUntilChanged": path.join(dir, "operators/distinctUntilChanged.js"), + "rxjs/operators/distinct": path.join(dir, "operators/distinct.js"), + "rxjs/operators/dematerialize": path.join(dir, "operators/dematerialize.js"), + "rxjs/operators/delayWhen": path.join(dir, "operators/delayWhen.js"), + "rxjs/operators/delay": path.join(dir, "operators/delay.js"), + "rxjs/operators/defaultIfEmpty": path.join(dir, "operators/defaultIfEmpty.js"), + "rxjs/operators/debounceTime": path.join(dir, "operators/debounceTime.js"), + "rxjs/operators/debounce": path.join(dir, "operators/debounce.js"), + "rxjs/operators/count": path.join(dir, "operators/count.js"), + "rxjs/operators/concatMapTo": path.join(dir, "operators/concatMapTo.js"), + "rxjs/operators/concatMap": path.join(dir, "operators/concatMap.js"), + "rxjs/operators/concatAll": path.join(dir, "operators/concatAll.js"), + "rxjs/operators/concat": path.join(dir, "operators/concat.js"), + "rxjs/operators/combineLatest": path.join(dir, "operators/combineLatest.js"), + "rxjs/operators/combineAll": path.join(dir, "operators/combineAll.js"), + "rxjs/operators/catchError": path.join(dir, "operators/catchError.js"), + "rxjs/operators/bufferWhen": path.join(dir, "operators/bufferWhen.js"), + "rxjs/operators/bufferToggle": path.join(dir, "operators/bufferToggle.js"), + "rxjs/operators/bufferTime": path.join(dir, "operators/bufferTime.js"), + "rxjs/operators/bufferCount": path.join(dir, "operators/bufferCount.js"), + "rxjs/operators/buffer": path.join(dir, "operators/buffer.js"), + "rxjs/operators/auditTime": path.join(dir, "operators/auditTime.js"), + "rxjs/operators/audit": path.join(dir, "operators/audit.js"), + "rxjs/operators": path.join(dir, "operators.js"), + "rxjs/operator/zipAll": path.join(dir, "operator/zipAll.js"), + "rxjs/operator/zip": path.join(dir, "operator/zip.js"), + "rxjs/operator/withLatestFrom": path.join(dir, "operator/withLatestFrom.js"), + "rxjs/operator/windowWhen": path.join(dir, "operator/windowWhen.js"), + "rxjs/operator/windowToggle": path.join(dir, "operator/windowToggle.js"), + "rxjs/operator/windowTime": path.join(dir, "operator/windowTime.js"), + "rxjs/operator/windowCount": path.join(dir, "operator/windowCount.js"), + "rxjs/operator/window": path.join(dir, "operator/window.js"), + "rxjs/operator/toPromise": path.join(dir, "operator/toPromise.js"), + "rxjs/operator/toArray": path.join(dir, "operator/toArray.js"), + "rxjs/operator/timestamp": path.join(dir, "operator/timestamp.js"), + "rxjs/operator/timeoutWith": path.join(dir, "operator/timeoutWith.js"), + "rxjs/operator/timeout": path.join(dir, "operator/timeout.js"), + "rxjs/operator/timeInterval": path.join(dir, "operator/timeInterval.js"), + "rxjs/operator/throttleTime": path.join(dir, "operator/throttleTime.js"), + "rxjs/operator/throttle": path.join(dir, "operator/throttle.js"), + "rxjs/operator/takeWhile": path.join(dir, "operator/takeWhile.js"), + "rxjs/operator/takeUntil": path.join(dir, "operator/takeUntil.js"), + "rxjs/operator/takeLast": path.join(dir, "operator/takeLast.js"), + "rxjs/operator/take": path.join(dir, "operator/take.js"), + "rxjs/operator/switchMapTo": path.join(dir, "operator/switchMapTo.js"), + "rxjs/operator/switchMap": path.join(dir, "operator/switchMap.js"), + "rxjs/operator/switch": path.join(dir, "operator/switch.js"), + "rxjs/operator/subscribeOn": path.join(dir, "operator/subscribeOn.js"), + "rxjs/operator/startWith": path.join(dir, "operator/startWith.js"), + "rxjs/operator/skipWhile": path.join(dir, "operator/skipWhile.js"), + "rxjs/operator/skipUntil": path.join(dir, "operator/skipUntil.js"), + "rxjs/operator/skipLast": path.join(dir, "operator/skipLast.js"), + "rxjs/operator/skip": path.join(dir, "operator/skip.js"), + "rxjs/operator/single": path.join(dir, "operator/single.js"), + "rxjs/operator/shareReplay": path.join(dir, "operator/shareReplay.js"), + "rxjs/operator/share": path.join(dir, "operator/share.js"), + "rxjs/operator/sequenceEqual": path.join(dir, "operator/sequenceEqual.js"), + "rxjs/operator/scan": path.join(dir, "operator/scan.js"), + "rxjs/operator/sampleTime": path.join(dir, "operator/sampleTime.js"), + "rxjs/operator/sample": path.join(dir, "operator/sample.js"), + "rxjs/operator/retryWhen": path.join(dir, "operator/retryWhen.js"), + "rxjs/operator/retry": path.join(dir, "operator/retry.js"), + "rxjs/operator/repeatWhen": path.join(dir, "operator/repeatWhen.js"), + "rxjs/operator/repeat": path.join(dir, "operator/repeat.js"), + "rxjs/operator/reduce": path.join(dir, "operator/reduce.js"), + "rxjs/operator/race": path.join(dir, "operator/race.js"), + "rxjs/operator/publishReplay": path.join(dir, "operator/publishReplay.js"), + "rxjs/operator/publishLast": path.join(dir, "operator/publishLast.js"), + "rxjs/operator/publishBehavior": path.join(dir, "operator/publishBehavior.js"), + "rxjs/operator/publish": path.join(dir, "operator/publish.js"), + "rxjs/operator/pluck": path.join(dir, "operator/pluck.js"), + "rxjs/operator/partition": path.join(dir, "operator/partition.js"), + "rxjs/operator/pairwise": path.join(dir, "operator/pairwise.js"), + "rxjs/operator/onErrorResumeNext": path.join(dir, "operator/onErrorResumeNext.js"), + "rxjs/operator/observeOn": path.join(dir, "operator/observeOn.js"), + "rxjs/operator/multicast": path.join(dir, "operator/multicast.js"), + "rxjs/operator/min": path.join(dir, "operator/min.js"), + "rxjs/operator/mergeScan": path.join(dir, "operator/mergeScan.js"), + "rxjs/operator/mergeMapTo": path.join(dir, "operator/mergeMapTo.js"), + "rxjs/operator/mergeMap": path.join(dir, "operator/mergeMap.js"), + "rxjs/operator/mergeAll": path.join(dir, "operator/mergeAll.js"), + "rxjs/operator/merge": path.join(dir, "operator/merge.js"), + "rxjs/operator/max": path.join(dir, "operator/max.js"), + "rxjs/operator/materialize": path.join(dir, "operator/materialize.js"), + "rxjs/operator/mapTo": path.join(dir, "operator/mapTo.js"), + "rxjs/operator/map": path.join(dir, "operator/map.js"), + "rxjs/operator/let": path.join(dir, "operator/let.js"), + "rxjs/operator/last": path.join(dir, "operator/last.js"), + "rxjs/operator/isEmpty": path.join(dir, "operator/isEmpty.js"), + "rxjs/operator/ignoreElements": path.join(dir, "operator/ignoreElements.js"), + "rxjs/operator/groupBy": path.join(dir, "operator/groupBy.js"), + "rxjs/operator/first": path.join(dir, "operator/first.js"), + "rxjs/operator/findIndex": path.join(dir, "operator/findIndex.js"), + "rxjs/operator/find": path.join(dir, "operator/find.js"), + "rxjs/operator/finally": path.join(dir, "operator/finally.js"), + "rxjs/operator/filter": path.join(dir, "operator/filter.js"), + "rxjs/operator/expand": path.join(dir, "operator/expand.js"), + "rxjs/operator/exhaustMap": path.join(dir, "operator/exhaustMap.js"), + "rxjs/operator/exhaust": path.join(dir, "operator/exhaust.js"), + "rxjs/operator/every": path.join(dir, "operator/every.js"), + "rxjs/operator/elementAt": path.join(dir, "operator/elementAt.js"), + "rxjs/operator/do": path.join(dir, "operator/do.js"), + "rxjs/operator/distinctUntilKeyChanged": path.join(dir, "operator/distinctUntilKeyChanged.js"), + "rxjs/operator/distinctUntilChanged": path.join(dir, "operator/distinctUntilChanged.js"), + "rxjs/operator/distinct": path.join(dir, "operator/distinct.js"), + "rxjs/operator/dematerialize": path.join(dir, "operator/dematerialize.js"), + "rxjs/operator/delayWhen": path.join(dir, "operator/delayWhen.js"), + "rxjs/operator/delay": path.join(dir, "operator/delay.js"), + "rxjs/operator/defaultIfEmpty": path.join(dir, "operator/defaultIfEmpty.js"), + "rxjs/operator/debounceTime": path.join(dir, "operator/debounceTime.js"), + "rxjs/operator/debounce": path.join(dir, "operator/debounce.js"), + "rxjs/operator/count": path.join(dir, "operator/count.js"), + "rxjs/operator/concatMapTo": path.join(dir, "operator/concatMapTo.js"), + "rxjs/operator/concatMap": path.join(dir, "operator/concatMap.js"), + "rxjs/operator/concatAll": path.join(dir, "operator/concatAll.js"), + "rxjs/operator/concat": path.join(dir, "operator/concat.js"), + "rxjs/operator/combineLatest": path.join(dir, "operator/combineLatest.js"), + "rxjs/operator/combineAll": path.join(dir, "operator/combineAll.js"), + "rxjs/operator/catch": path.join(dir, "operator/catch.js"), + "rxjs/operator/bufferWhen": path.join(dir, "operator/bufferWhen.js"), + "rxjs/operator/bufferToggle": path.join(dir, "operator/bufferToggle.js"), + "rxjs/operator/bufferTime": path.join(dir, "operator/bufferTime.js"), + "rxjs/operator/bufferCount": path.join(dir, "operator/bufferCount.js"), + "rxjs/operator/buffer": path.join(dir, "operator/buffer.js"), + "rxjs/operator/auditTime": path.join(dir, "operator/auditTime.js"), + "rxjs/operator/audit": path.join(dir, "operator/audit.js"), + "rxjs/observable/zip": path.join(dir, "observable/zip.js"), + "rxjs/observable/using": path.join(dir, "observable/using.js"), + "rxjs/observable/timer": path.join(dir, "observable/timer.js"), + "rxjs/observable/throw": path.join(dir, "observable/throw.js"), + "rxjs/observable/range": path.join(dir, "observable/range.js"), + "rxjs/observable/race": path.join(dir, "observable/race.js"), + "rxjs/observable/pairs": path.join(dir, "observable/pairs.js"), + "rxjs/observable/onErrorResumeNext": path.join(dir, "observable/onErrorResumeNext.js"), + "rxjs/observable/of": path.join(dir, "observable/of.js"), + "rxjs/observable/never": path.join(dir, "observable/never.js"), + "rxjs/observable/merge": path.join(dir, "observable/merge.js"), + "rxjs/observable/interval": path.join(dir, "observable/interval.js"), + "rxjs/observable/if": path.join(dir, "observable/if.js"), + "rxjs/observable/generate": path.join(dir, "observable/generate.js"), + "rxjs/observable/fromPromise": path.join(dir, "observable/fromPromise.js"), + "rxjs/observable/fromEventPattern": path.join(dir, "observable/fromEventPattern.js"), + "rxjs/observable/fromEvent": path.join(dir, "observable/fromEvent.js"), + "rxjs/observable/from": path.join(dir, "observable/from.js"), + "rxjs/observable/forkJoin": path.join(dir, "observable/forkJoin.js"), + "rxjs/observable/empty": path.join(dir, "observable/empty.js"), + "rxjs/observable/dom/webSocket": path.join(dir, "observable/dom/webSocket.js"), + "rxjs/observable/dom/ajax": path.join(dir, "observable/dom/ajax.js"), + "rxjs/observable/dom/WebSocketSubject": path.join(dir, "observable/dom/WebSocketSubject.js"), + "rxjs/observable/dom/AjaxObservable": path.join(dir, "observable/dom/AjaxObservable.js"), + "rxjs/observable/defer": path.join(dir, "observable/defer.js"), + "rxjs/observable/concat": path.join(dir, "observable/concat.js"), + "rxjs/observable/combineLatest": path.join(dir, "observable/combineLatest.js"), + "rxjs/observable/bindNodeCallback": path.join(dir, "observable/bindNodeCallback.js"), + "rxjs/observable/bindCallback": path.join(dir, "observable/bindCallback.js"), + "rxjs/observable/UsingObservable": path.join(dir, "observable/UsingObservable.js"), + "rxjs/observable/TimerObservable": path.join(dir, "observable/TimerObservable.js"), + "rxjs/observable/SubscribeOnObservable": path.join(dir, "observable/SubscribeOnObservable.js"), + "rxjs/observable/ScalarObservable": path.join(dir, "observable/ScalarObservable.js"), + "rxjs/observable/RangeObservable": path.join(dir, "observable/RangeObservable.js"), + "rxjs/observable/PromiseObservable": path.join(dir, "observable/PromiseObservable.js"), + "rxjs/observable/PairsObservable": path.join(dir, "observable/PairsObservable.js"), + "rxjs/observable/NeverObservable": path.join(dir, "observable/NeverObservable.js"), + "rxjs/observable/IteratorObservable": path.join(dir, "observable/IteratorObservable.js"), + "rxjs/observable/IntervalObservable": path.join(dir, "observable/IntervalObservable.js"), + "rxjs/observable/IfObservable": path.join(dir, "observable/IfObservable.js"), + "rxjs/observable/GenerateObservable": path.join(dir, "observable/GenerateObservable.js"), + "rxjs/observable/FromObservable": path.join(dir, "observable/FromObservable.js"), + "rxjs/observable/FromEventPatternObservable": path.join(dir, "observable/FromEventPatternObservable.js"), + "rxjs/observable/FromEventObservable": path.join(dir, "observable/FromEventObservable.js"), + "rxjs/observable/ForkJoinObservable": path.join(dir, "observable/ForkJoinObservable.js"), + "rxjs/observable/ErrorObservable": path.join(dir, "observable/ErrorObservable.js"), + "rxjs/observable/EmptyObservable": path.join(dir, "observable/EmptyObservable.js"), + "rxjs/observable/DeferObservable": path.join(dir, "observable/DeferObservable.js"), + "rxjs/observable/ConnectableObservable": path.join(dir, "observable/ConnectableObservable.js"), + "rxjs/observable/BoundNodeCallbackObservable": path.join(dir, "observable/BoundNodeCallbackObservable.js"), + "rxjs/observable/BoundCallbackObservable": path.join(dir, "observable/BoundCallbackObservable.js"), + "rxjs/observable/ArrayObservable": path.join(dir, "observable/ArrayObservable.js"), + "rxjs/observable/ArrayLikeObservable": path.join(dir, "observable/ArrayLikeObservable.js"), + "rxjs/interfaces": path.join(dir, "interfaces.js"), + "rxjs/add/operator/zipAll": path.join(dir, "add/operator/zipAll.js"), + "rxjs/add/operator/zip": path.join(dir, "add/operator/zip.js"), + "rxjs/add/operator/withLatestFrom": path.join(dir, "add/operator/withLatestFrom.js"), + "rxjs/add/operator/windowWhen": path.join(dir, "add/operator/windowWhen.js"), + "rxjs/add/operator/windowToggle": path.join(dir, "add/operator/windowToggle.js"), + "rxjs/add/operator/windowTime": path.join(dir, "add/operator/windowTime.js"), + "rxjs/add/operator/windowCount": path.join(dir, "add/operator/windowCount.js"), + "rxjs/add/operator/window": path.join(dir, "add/operator/window.js"), + "rxjs/add/operator/toPromise": path.join(dir, "add/operator/toPromise.js"), + "rxjs/add/operator/toArray": path.join(dir, "add/operator/toArray.js"), + "rxjs/add/operator/timestamp": path.join(dir, "add/operator/timestamp.js"), + "rxjs/add/operator/timeoutWith": path.join(dir, "add/operator/timeoutWith.js"), + "rxjs/add/operator/timeout": path.join(dir, "add/operator/timeout.js"), + "rxjs/add/operator/timeInterval": path.join(dir, "add/operator/timeInterval.js"), + "rxjs/add/operator/throttleTime": path.join(dir, "add/operator/throttleTime.js"), + "rxjs/add/operator/throttle": path.join(dir, "add/operator/throttle.js"), + "rxjs/add/operator/takeWhile": path.join(dir, "add/operator/takeWhile.js"), + "rxjs/add/operator/takeUntil": path.join(dir, "add/operator/takeUntil.js"), + "rxjs/add/operator/takeLast": path.join(dir, "add/operator/takeLast.js"), + "rxjs/add/operator/take": path.join(dir, "add/operator/take.js"), + "rxjs/add/operator/switchMapTo": path.join(dir, "add/operator/switchMapTo.js"), + "rxjs/add/operator/switchMap": path.join(dir, "add/operator/switchMap.js"), + "rxjs/add/operator/switch": path.join(dir, "add/operator/switch.js"), + "rxjs/add/operator/subscribeOn": path.join(dir, "add/operator/subscribeOn.js"), + "rxjs/add/operator/startWith": path.join(dir, "add/operator/startWith.js"), + "rxjs/add/operator/skipWhile": path.join(dir, "add/operator/skipWhile.js"), + "rxjs/add/operator/skipUntil": path.join(dir, "add/operator/skipUntil.js"), + "rxjs/add/operator/skipLast": path.join(dir, "add/operator/skipLast.js"), + "rxjs/add/operator/skip": path.join(dir, "add/operator/skip.js"), + "rxjs/add/operator/single": path.join(dir, "add/operator/single.js"), + "rxjs/add/operator/shareReplay": path.join(dir, "add/operator/shareReplay.js"), + "rxjs/add/operator/share": path.join(dir, "add/operator/share.js"), + "rxjs/add/operator/sequenceEqual": path.join(dir, "add/operator/sequenceEqual.js"), + "rxjs/add/operator/scan": path.join(dir, "add/operator/scan.js"), + "rxjs/add/operator/sampleTime": path.join(dir, "add/operator/sampleTime.js"), + "rxjs/add/operator/sample": path.join(dir, "add/operator/sample.js"), + "rxjs/add/operator/retryWhen": path.join(dir, "add/operator/retryWhen.js"), + "rxjs/add/operator/retry": path.join(dir, "add/operator/retry.js"), + "rxjs/add/operator/repeatWhen": path.join(dir, "add/operator/repeatWhen.js"), + "rxjs/add/operator/repeat": path.join(dir, "add/operator/repeat.js"), + "rxjs/add/operator/reduce": path.join(dir, "add/operator/reduce.js"), + "rxjs/add/operator/race": path.join(dir, "add/operator/race.js"), + "rxjs/add/operator/publishReplay": path.join(dir, "add/operator/publishReplay.js"), + "rxjs/add/operator/publishLast": path.join(dir, "add/operator/publishLast.js"), + "rxjs/add/operator/publishBehavior": path.join(dir, "add/operator/publishBehavior.js"), + "rxjs/add/operator/publish": path.join(dir, "add/operator/publish.js"), + "rxjs/add/operator/pluck": path.join(dir, "add/operator/pluck.js"), + "rxjs/add/operator/partition": path.join(dir, "add/operator/partition.js"), + "rxjs/add/operator/pairwise": path.join(dir, "add/operator/pairwise.js"), + "rxjs/add/operator/onErrorResumeNext": path.join(dir, "add/operator/onErrorResumeNext.js"), + "rxjs/add/operator/observeOn": path.join(dir, "add/operator/observeOn.js"), + "rxjs/add/operator/multicast": path.join(dir, "add/operator/multicast.js"), + "rxjs/add/operator/min": path.join(dir, "add/operator/min.js"), + "rxjs/add/operator/mergeScan": path.join(dir, "add/operator/mergeScan.js"), + "rxjs/add/operator/mergeMapTo": path.join(dir, "add/operator/mergeMapTo.js"), + "rxjs/add/operator/mergeMap": path.join(dir, "add/operator/mergeMap.js"), + "rxjs/add/operator/mergeAll": path.join(dir, "add/operator/mergeAll.js"), + "rxjs/add/operator/merge": path.join(dir, "add/operator/merge.js"), + "rxjs/add/operator/max": path.join(dir, "add/operator/max.js"), + "rxjs/add/operator/materialize": path.join(dir, "add/operator/materialize.js"), + "rxjs/add/operator/mapTo": path.join(dir, "add/operator/mapTo.js"), + "rxjs/add/operator/map": path.join(dir, "add/operator/map.js"), + "rxjs/add/operator/let": path.join(dir, "add/operator/let.js"), + "rxjs/add/operator/last": path.join(dir, "add/operator/last.js"), + "rxjs/add/operator/isEmpty": path.join(dir, "add/operator/isEmpty.js"), + "rxjs/add/operator/ignoreElements": path.join(dir, "add/operator/ignoreElements.js"), + "rxjs/add/operator/groupBy": path.join(dir, "add/operator/groupBy.js"), + "rxjs/add/operator/first": path.join(dir, "add/operator/first.js"), + "rxjs/add/operator/findIndex": path.join(dir, "add/operator/findIndex.js"), + "rxjs/add/operator/find": path.join(dir, "add/operator/find.js"), + "rxjs/add/operator/finally": path.join(dir, "add/operator/finally.js"), + "rxjs/add/operator/filter": path.join(dir, "add/operator/filter.js"), + "rxjs/add/operator/expand": path.join(dir, "add/operator/expand.js"), + "rxjs/add/operator/exhaustMap": path.join(dir, "add/operator/exhaustMap.js"), + "rxjs/add/operator/exhaust": path.join(dir, "add/operator/exhaust.js"), + "rxjs/add/operator/every": path.join(dir, "add/operator/every.js"), + "rxjs/add/operator/elementAt": path.join(dir, "add/operator/elementAt.js"), + "rxjs/add/operator/do": path.join(dir, "add/operator/do.js"), + "rxjs/add/operator/distinctUntilKeyChanged": path.join(dir, "add/operator/distinctUntilKeyChanged.js"), + "rxjs/add/operator/distinctUntilChanged": path.join(dir, "add/operator/distinctUntilChanged.js"), + "rxjs/add/operator/distinct": path.join(dir, "add/operator/distinct.js"), + "rxjs/add/operator/dematerialize": path.join(dir, "add/operator/dematerialize.js"), + "rxjs/add/operator/delayWhen": path.join(dir, "add/operator/delayWhen.js"), + "rxjs/add/operator/delay": path.join(dir, "add/operator/delay.js"), + "rxjs/add/operator/defaultIfEmpty": path.join(dir, "add/operator/defaultIfEmpty.js"), + "rxjs/add/operator/debounceTime": path.join(dir, "add/operator/debounceTime.js"), + "rxjs/add/operator/debounce": path.join(dir, "add/operator/debounce.js"), + "rxjs/add/operator/count": path.join(dir, "add/operator/count.js"), + "rxjs/add/operator/concatMapTo": path.join(dir, "add/operator/concatMapTo.js"), + "rxjs/add/operator/concatMap": path.join(dir, "add/operator/concatMap.js"), + "rxjs/add/operator/concatAll": path.join(dir, "add/operator/concatAll.js"), + "rxjs/add/operator/concat": path.join(dir, "add/operator/concat.js"), + "rxjs/add/operator/combineLatest": path.join(dir, "add/operator/combineLatest.js"), + "rxjs/add/operator/combineAll": path.join(dir, "add/operator/combineAll.js"), + "rxjs/add/operator/catch": path.join(dir, "add/operator/catch.js"), + "rxjs/add/operator/bufferWhen": path.join(dir, "add/operator/bufferWhen.js"), + "rxjs/add/operator/bufferToggle": path.join(dir, "add/operator/bufferToggle.js"), + "rxjs/add/operator/bufferTime": path.join(dir, "add/operator/bufferTime.js"), + "rxjs/add/operator/bufferCount": path.join(dir, "add/operator/bufferCount.js"), + "rxjs/add/operator/buffer": path.join(dir, "add/operator/buffer.js"), + "rxjs/add/operator/auditTime": path.join(dir, "add/operator/auditTime.js"), + "rxjs/add/operator/audit": path.join(dir, "add/operator/audit.js"), + "rxjs/add/observable/zip": path.join(dir, "add/observable/zip.js"), + "rxjs/add/observable/using": path.join(dir, "add/observable/using.js"), + "rxjs/add/observable/timer": path.join(dir, "add/observable/timer.js"), + "rxjs/add/observable/throw": path.join(dir, "add/observable/throw.js"), + "rxjs/add/observable/range": path.join(dir, "add/observable/range.js"), + "rxjs/add/observable/race": path.join(dir, "add/observable/race.js"), + "rxjs/add/observable/pairs": path.join(dir, "add/observable/pairs.js"), + "rxjs/add/observable/onErrorResumeNext": path.join(dir, "add/observable/onErrorResumeNext.js"), + "rxjs/add/observable/of": path.join(dir, "add/observable/of.js"), + "rxjs/add/observable/never": path.join(dir, "add/observable/never.js"), + "rxjs/add/observable/merge": path.join(dir, "add/observable/merge.js"), + "rxjs/add/observable/interval": path.join(dir, "add/observable/interval.js"), + "rxjs/add/observable/if": path.join(dir, "add/observable/if.js"), + "rxjs/add/observable/generate": path.join(dir, "add/observable/generate.js"), + "rxjs/add/observable/fromPromise": path.join(dir, "add/observable/fromPromise.js"), + "rxjs/add/observable/fromEventPattern": path.join(dir, "add/observable/fromEventPattern.js"), + "rxjs/add/observable/fromEvent": path.join(dir, "add/observable/fromEvent.js"), + "rxjs/add/observable/from": path.join(dir, "add/observable/from.js"), + "rxjs/add/observable/forkJoin": path.join(dir, "add/observable/forkJoin.js"), + "rxjs/add/observable/empty": path.join(dir, "add/observable/empty.js"), + "rxjs/add/observable/dom/webSocket": path.join(dir, "add/observable/dom/webSocket.js"), + "rxjs/add/observable/dom/ajax": path.join(dir, "add/observable/dom/ajax.js"), + "rxjs/add/observable/defer": path.join(dir, "add/observable/defer.js"), + "rxjs/add/observable/concat": path.join(dir, "add/observable/concat.js"), + "rxjs/add/observable/combineLatest": path.join(dir, "add/observable/combineLatest.js"), + "rxjs/add/observable/bindNodeCallback": path.join(dir, "add/observable/bindNodeCallback.js"), + "rxjs/add/observable/bindCallback": path.join(dir, "add/observable/bindCallback.js"), + "rxjs/Subscription": path.join(dir, "Subscription.js"), + "rxjs/Subscriber": path.join(dir, "Subscriber.js"), + "rxjs/SubjectSubscription": path.join(dir, "SubjectSubscription.js"), + "rxjs/Subject": path.join(dir, "Subject.js"), + "rxjs/Scheduler": path.join(dir, "Scheduler.js"), + "rxjs/Rx": path.join(dir, "Rx.js"), + "rxjs/ReplaySubject": path.join(dir, "ReplaySubject.js"), + "rxjs/OuterSubscriber": path.join(dir, "OuterSubscriber.js"), + "rxjs/Operator": path.join(dir, "Operator.js"), + "rxjs/Observer": path.join(dir, "Observer.js"), + "rxjs/Observable": path.join(dir, "Observable.js"), + "rxjs/Notification": path.join(dir, "Notification.js"), + "rxjs/InnerSubscriber": path.join(dir, "InnerSubscriber.js"), + "rxjs/BehaviorSubject": path.join(dir, "BehaviorSubject.js"), + "rxjs/AsyncSubject": path.join(dir, "AsyncSubject.js") +}; +} diff --git a/node_modules/rxjs/_esm2015/scheduler/Action.js b/node_modules/rxjs/_esm2015/scheduler/Action.js new file mode 100644 index 00000000..9041748c --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/Action.js @@ -0,0 +1,34 @@ +import { Subscription } from '../Subscription'; +/** + * A unit of work to be executed in a {@link Scheduler}. An action is typically + * created from within a Scheduler and an RxJS user does not need to concern + * themselves about creating and manipulating an Action. + * + * ```ts + * class Action extends Subscription { + * new (scheduler: Scheduler, work: (state?: T) => void); + * schedule(state?: T, delay: number = 0): Subscription; + * } + * ``` + * + * @class Action + */ +export class Action extends Subscription { + constructor(scheduler, work) { + super(); + } + /** + * Schedules this action on its parent Scheduler for execution. May be passed + * some context object, `state`. May happen at some point in the future, + * according to the `delay` parameter, if specified. + * @param {T} [state] Some contextual data that the `work` function uses when + * called by the Scheduler. + * @param {number} [delay] Time to wait before executing the work, where the + * time unit is implicit and defined by the Scheduler. + * @return {void} + */ + schedule(state, delay = 0) { + return this; + } +} +//# sourceMappingURL=Action.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/Action.js.map b/node_modules/rxjs/_esm2015/scheduler/Action.js.map new file mode 100644 index 00000000..a20818ab --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/Action.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Action.js","sourceRoot":"","sources":["../../src/scheduler/Action.ts"],"names":[],"mappings":"OACO,EAAE,YAAY,EAAE,MAAM,iBAAiB;AAE9C;;;;;;;;;;;;;GAaG;AACH,4BAA+B,YAAY;IACzC,YAAY,SAAoB,EAAE,IAA0C;QAC1E,OAAO,CAAC;IACV,CAAC;IACD;;;;;;;;;OASG;IACI,QAAQ,CAAC,KAAS,EAAE,KAAK,GAAW,CAAC;QAC1C,MAAM,CAAC,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AnimationFrameAction.js b/node_modules/rxjs/_esm2015/scheduler/AnimationFrameAction.js new file mode 100644 index 00000000..87a3ea6a --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/AnimationFrameAction.js @@ -0,0 +1,44 @@ +import { AsyncAction } from './AsyncAction'; +import { AnimationFrame } from '../util/AnimationFrame'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class AnimationFrameAction extends AsyncAction { + constructor(scheduler, work) { + super(scheduler, work); + this.scheduler = scheduler; + this.work = work; + } + requestAsyncId(scheduler, id, delay = 0) { + // If delay is greater than 0, request as an async action. + if (delay !== null && delay > 0) { + return super.requestAsyncId(scheduler, id, delay); + } + // Push the action to the end of the scheduler queue. + scheduler.actions.push(this); + // If an animation frame has already been requested, don't request another + // one. If an animation frame hasn't been requested yet, request one. Return + // the current animation frame request id. + return scheduler.scheduled || (scheduler.scheduled = AnimationFrame.requestAnimationFrame(scheduler.flush.bind(scheduler, null))); + } + recycleAsyncId(scheduler, id, delay = 0) { + // If delay exists and is greater than 0, or if the delay is null (the + // action wasn't rescheduled) but was originally scheduled as an async + // action, then recycle as an async action. + if ((delay !== null && delay > 0) || (delay === null && this.delay > 0)) { + return super.recycleAsyncId(scheduler, id, delay); + } + // If the scheduler queue is empty, cancel the requested animation frame and + // set the scheduled flag to undefined so the next AnimationFrameAction will + // request its own. + if (scheduler.actions.length === 0) { + AnimationFrame.cancelAnimationFrame(id); + scheduler.scheduled = undefined; + } + // Return undefined so the action knows to request a new async id if it's rescheduled. + return undefined; + } +} +//# sourceMappingURL=AnimationFrameAction.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AnimationFrameAction.js.map b/node_modules/rxjs/_esm2015/scheduler/AnimationFrameAction.js.map new file mode 100644 index 00000000..e188c88d --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/AnimationFrameAction.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AnimationFrameAction.js","sourceRoot":"","sources":["../../src/scheduler/AnimationFrameAction.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE,MAAM,eAAe;OACpC,EAAE,cAAc,EAAE,MAAM,wBAAwB;AAGv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C,CAAC,CAAC,CAAC;YACnC,cAAc,CAAC,oBAAoB,CAAC,EAAE,CAAC,CAAC;YACxC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC;QAClC,CAAC;QACD,sFAAsF;QACtF,MAAM,CAAC,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AnimationFrameScheduler.js b/node_modules/rxjs/_esm2015/scheduler/AnimationFrameScheduler.js new file mode 100644 index 00000000..cb658cb4 --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/AnimationFrameScheduler.js @@ -0,0 +1,25 @@ +import { AsyncScheduler } from './AsyncScheduler'; +export class AnimationFrameScheduler extends AsyncScheduler { + flush(action) { + this.active = true; + this.scheduled = undefined; + const { actions } = this; + let error; + let index = -1; + let count = actions.length; + action = action || actions.shift(); + do { + if (error = action.execute(action.state, action.delay)) { + break; + } + } while (++index < count && (action = actions.shift())); + this.active = false; + if (error) { + while (++index < count && (action = actions.shift())) { + action.unsubscribe(); + } + throw error; + } + } +} +//# sourceMappingURL=AnimationFrameScheduler.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AnimationFrameScheduler.js.map b/node_modules/rxjs/_esm2015/scheduler/AnimationFrameScheduler.js.map new file mode 100644 index 00000000..f5b9dd03 --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/AnimationFrameScheduler.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AnimationFrameScheduler.js","sourceRoot":"","sources":["../../src/scheduler/AnimationFrameScheduler.ts"],"names":[],"mappings":"OACO,EAAE,cAAc,EAAE,MAAM,kBAAkB;AAEjD,6CAA6C,cAAc;IAClD,KAAK,CAAC,MAAyB;QAEpC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAE3B,MAAM,EAAC,OAAO,EAAC,GAAG,IAAI,CAAC;QACvB,IAAI,KAAU,CAAC;QACf,IAAI,KAAK,GAAW,CAAC,CAAC,CAAC;QACvB,IAAI,KAAK,GAAW,OAAO,CAAC,MAAM,CAAC;QACnC,MAAM,GAAG,MAAM,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;QAEnC,GAAG,CAAC;YACF,EAAE,CAAC,CAAC,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBACvD,KAAK,CAAC;YACR,CAAC;QACH,CAAC,QAAQ,EAAE,KAAK,GAAG,KAAK,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,EAAE;QAExD,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QAEpB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;YACV,OAAO,EAAE,KAAK,GAAG,KAAK,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC;gBACrD,MAAM,CAAC,WAAW,EAAE,CAAC;YACvB,CAAC;YACD,MAAM,KAAK,CAAC;QACd,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AsapAction.js b/node_modules/rxjs/_esm2015/scheduler/AsapAction.js new file mode 100644 index 00000000..fad75da7 --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/AsapAction.js @@ -0,0 +1,44 @@ +import { Immediate } from '../util/Immediate'; +import { AsyncAction } from './AsyncAction'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class AsapAction extends AsyncAction { + constructor(scheduler, work) { + super(scheduler, work); + this.scheduler = scheduler; + this.work = work; + } + requestAsyncId(scheduler, id, delay = 0) { + // If delay is greater than 0, request as an async action. + if (delay !== null && delay > 0) { + return super.requestAsyncId(scheduler, id, delay); + } + // Push the action to the end of the scheduler queue. + scheduler.actions.push(this); + // If a microtask has already been scheduled, don't schedule another + // one. If a microtask hasn't been scheduled yet, schedule one now. Return + // the current scheduled microtask id. + return scheduler.scheduled || (scheduler.scheduled = Immediate.setImmediate(scheduler.flush.bind(scheduler, null))); + } + recycleAsyncId(scheduler, id, delay = 0) { + // If delay exists and is greater than 0, or if the delay is null (the + // action wasn't rescheduled) but was originally scheduled as an async + // action, then recycle as an async action. + if ((delay !== null && delay > 0) || (delay === null && this.delay > 0)) { + return super.recycleAsyncId(scheduler, id, delay); + } + // If the scheduler queue is empty, cancel the requested microtask and + // set the scheduled flag to undefined so the next AsapAction will schedule + // its own. + if (scheduler.actions.length === 0) { + Immediate.clearImmediate(id); + scheduler.scheduled = undefined; + } + // Return undefined so the action knows to request a new async id if it's rescheduled. + return undefined; + } +} +//# sourceMappingURL=AsapAction.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AsapAction.js.map b/node_modules/rxjs/_esm2015/scheduler/AsapAction.js.map new file mode 100644 index 00000000..13de9b01 --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/AsapAction.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AsapAction.js","sourceRoot":"","sources":["../../src/scheduler/AsapAction.ts"],"names":[],"mappings":"OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB;OACtC,EAAE,WAAW,EAAE,MAAM,eAAe;AAG3C;;;;GAIG;AACH,gCAAmC,WAAW;IAE5C,YAAsB,SAAwB,EACxB,IAA8C;QAClE,MAAM,SAAS,EAAE,IAAI,CAAC,CAAC;QAFH,cAAS,GAAT,SAAS,CAAe;QACxB,SAAI,GAAJ,IAAI,CAA0C;IAEpE,CAAC;IAES,cAAc,CAAC,SAAwB,EAAE,EAAQ,EAAE,KAAK,GAAW,CAAC;QAC5E,0DAA0D;QAC1D,EAAE,CAAC,CAAC,KAAK,KAAK,IAAI,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC;YAChC,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC,SAAS,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;QACpD,CAAC;QACD,qDAAqD;QACrD,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC7B,oEAAoE;QACpE,0EAA0E;QAC1E,sCAAsC;QACtC,MAAM,CAAC,SAAS,CAAC,SAAS,IAAI,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC,YAAY,CACzE,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CACtC,CAAC,CAAC;IACL,CAAC;IACS,cAAc,CAAC,SAAwB,EAAE,EAAQ,EAAE,KAAK,GAAW,CAAC;QAC5E,sEAAsE;QACtE,sEAAsE;QACtE,2CAA2C;QAC3C,EAAE,CAAC,CAAC,CAAC,KAAK,KAAK,IAAI,IAAI,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;YACxE,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC,SAAS,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;QACpD,CAAC;QACD,sEAAsE;QACtE,2EAA2E;QAC3E,WAAW;QACX,EAAE,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;YACnC,SAAS,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC;YAC7B,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC;QAClC,CAAC;QACD,sFAAsF;QACtF,MAAM,CAAC,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AsapScheduler.js b/node_modules/rxjs/_esm2015/scheduler/AsapScheduler.js new file mode 100644 index 00000000..d4f637de --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/AsapScheduler.js @@ -0,0 +1,25 @@ +import { AsyncScheduler } from './AsyncScheduler'; +export class AsapScheduler extends AsyncScheduler { + flush(action) { + this.active = true; + this.scheduled = undefined; + const { actions } = this; + let error; + let index = -1; + let count = actions.length; + action = action || actions.shift(); + do { + if (error = action.execute(action.state, action.delay)) { + break; + } + } while (++index < count && (action = actions.shift())); + this.active = false; + if (error) { + while (++index < count && (action = actions.shift())) { + action.unsubscribe(); + } + throw error; + } + } +} +//# sourceMappingURL=AsapScheduler.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AsapScheduler.js.map b/node_modules/rxjs/_esm2015/scheduler/AsapScheduler.js.map new file mode 100644 index 00000000..c94e4ce5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/AsapScheduler.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AsapScheduler.js","sourceRoot":"","sources":["../../src/scheduler/AsapScheduler.ts"],"names":[],"mappings":"OACO,EAAE,cAAc,EAAE,MAAM,kBAAkB;AAEjD,mCAAmC,cAAc;IACxC,KAAK,CAAC,MAAyB;QAEpC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAE3B,MAAM,EAAC,OAAO,EAAC,GAAG,IAAI,CAAC;QACvB,IAAI,KAAU,CAAC;QACf,IAAI,KAAK,GAAW,CAAC,CAAC,CAAC;QACvB,IAAI,KAAK,GAAW,OAAO,CAAC,MAAM,CAAC;QACnC,MAAM,GAAG,MAAM,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;QAEnC,GAAG,CAAC;YACF,EAAE,CAAC,CAAC,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBACvD,KAAK,CAAC;YACR,CAAC;QACH,CAAC,QAAQ,EAAE,KAAK,GAAG,KAAK,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,EAAE;QAExD,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QAEpB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;YACV,OAAO,EAAE,KAAK,GAAG,KAAK,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC;gBACrD,MAAM,CAAC,WAAW,EAAE,CAAC;YACvB,CAAC;YACD,MAAM,KAAK,CAAC;QACd,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AsyncAction.js b/node_modules/rxjs/_esm2015/scheduler/AsyncAction.js new file mode 100644 index 00000000..518bae6f --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/AsyncAction.js @@ -0,0 +1,130 @@ +import { root } from '../util/root'; +import { Action } from './Action'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class AsyncAction extends Action { + constructor(scheduler, work) { + super(scheduler, work); + this.scheduler = scheduler; + this.work = work; + this.pending = false; + } + schedule(state, delay = 0) { + if (this.closed) { + return this; + } + // Always replace the current state with the new state. + this.state = state; + // Set the pending flag indicating that this action has been scheduled, or + // has recursively rescheduled itself. + this.pending = true; + const id = this.id; + const scheduler = this.scheduler; + // + // Important implementation note: + // + // Actions only execute once by default, unless rescheduled from within the + // scheduled callback. This allows us to implement single and repeat + // actions via the same code path, without adding API surface area, as well + // as mimic traditional recursion but across asynchronous boundaries. + // + // However, JS runtimes and timers distinguish between intervals achieved by + // serial `setTimeout` calls vs. a single `setInterval` call. An interval of + // serial `setTimeout` calls can be individually delayed, which delays + // scheduling the next `setTimeout`, and so on. `setInterval` attempts to + // guarantee the interval callback will be invoked more precisely to the + // interval period, regardless of load. + // + // Therefore, we use `setInterval` to schedule single and repeat actions. + // If the action reschedules itself with the same delay, the interval is not + // canceled. If the action doesn't reschedule, or reschedules with a + // different delay, the interval will be canceled after scheduled callback + // execution. + // + if (id != null) { + this.id = this.recycleAsyncId(scheduler, id, delay); + } + this.delay = delay; + // If this action has already an async Id, don't request a new one. + this.id = this.id || this.requestAsyncId(scheduler, this.id, delay); + return this; + } + requestAsyncId(scheduler, id, delay = 0) { + return root.setInterval(scheduler.flush.bind(scheduler, this), delay); + } + recycleAsyncId(scheduler, id, delay = 0) { + // If this action is rescheduled with the same delay time, don't clear the interval id. + if (delay !== null && this.delay === delay && this.pending === false) { + return id; + } + // Otherwise, if the action's delay time is different from the current delay, + // or the action has been rescheduled before it's executed, clear the interval id + return root.clearInterval(id) && undefined || undefined; + } + /** + * Immediately executes this action and the `work` it contains. + * @return {any} + */ + execute(state, delay) { + if (this.closed) { + return new Error('executing a cancelled action'); + } + this.pending = false; + const error = this._execute(state, delay); + if (error) { + return error; + } + else if (this.pending === false && this.id != null) { + // Dequeue if the action didn't reschedule itself. Don't call + // unsubscribe(), because the action could reschedule later. + // For example: + // ``` + // scheduler.schedule(function doWork(counter) { + // /* ... I'm a busy worker bee ... */ + // var originalAction = this; + // /* wait 100ms before rescheduling the action */ + // setTimeout(function () { + // originalAction.schedule(counter + 1); + // }, 100); + // }, 1000); + // ``` + this.id = this.recycleAsyncId(this.scheduler, this.id, null); + } + } + _execute(state, delay) { + let errored = false; + let errorValue = undefined; + try { + this.work(state); + } + catch (e) { + errored = true; + errorValue = !!e && e || new Error(e); + } + if (errored) { + this.unsubscribe(); + return errorValue; + } + } + _unsubscribe() { + const id = this.id; + const scheduler = this.scheduler; + const actions = scheduler.actions; + const index = actions.indexOf(this); + this.work = null; + this.state = null; + this.pending = false; + this.scheduler = null; + if (index !== -1) { + actions.splice(index, 1); + } + if (id != null) { + this.id = this.recycleAsyncId(scheduler, id, null); + } + this.delay = null; + } +} +//# sourceMappingURL=AsyncAction.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AsyncAction.js.map b/node_modules/rxjs/_esm2015/scheduler/AsyncAction.js.map new file mode 100644 index 00000000..50363ac6 --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/AsyncA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,OAAO,GAAG,KAAK,CAAC;QACrB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QAEtB,EAAE,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YACjB,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;QAC3B,CAAC;QAED,EAAE,CAAC,CAAC,EAAE,IAAI,IAAI,CAAC,CAAC,CAAC;YACf,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,cAAc,CAAC,SAAS,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;QACrD,CAAC;QAED,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;IACpB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AsyncScheduler.js b/node_modules/rxjs/_esm2015/scheduler/AsyncScheduler.js new file mode 100644 index 00000000..059afe1e --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/AsyncScheduler.js @@ -0,0 +1,42 @@ +import { Scheduler } from '../Scheduler'; +export class AsyncScheduler extends Scheduler { + constructor() { + super(...arguments); + this.actions = []; + /** + * A flag to indicate whether the Scheduler is currently executing a batch of + * queued actions. + * @type {boolean} + */ + this.active = false; + /** + * An internal ID used to track the latest asynchronous task such as those + * coming from `setTimeout`, `setInterval`, `requestAnimationFrame`, and + * others. + * @type {any} + */ + this.scheduled = undefined; + } + flush(action) { + const { actions } = this; + if (this.active) { + actions.push(action); + return; + } + let error; + this.active = true; + do { + if (error = action.execute(action.state, action.delay)) { + break; + } + } while (action = actions.shift()); // exhaust the scheduler queue + this.active = false; + if (error) { + while (action = actions.shift()) { + action.unsubscribe(); + } + throw error; + } + } +} +//# sourceMappingURL=AsyncScheduler.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AsyncScheduler.js.map b/node_modules/rxjs/_esm2015/scheduler/AsyncScheduler.js.map new file mode 100644 index 00000000..0ee89044 --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/AsyncScheduler.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AsyncScheduler.js","sourceRoot":"","sources":["../../src/scheduler/AsyncScheduler.ts"],"names":[],"mappings":"OAAO,EAAE,SAAS,EAAE,MAAM,cAAc;AAGxC,oCAAoC,SAAS;IAA7C;QAAoC,oBAAS;QACpC,YAAO,GAA4B,EAAE,CAAC;QAC7C;;;;WAIG;QACI,WAAM,GAAY,KAAK,CAAC;QAC/B;;;;;WAKG;QACI,cAAS,GAAQ,SAAS,CAAC;IA6BpC,CAAC;IA3BQ,KAAK,CAAC,MAAwB;QAEnC,MAAM,EAAC,OAAO,EAAC,GAAG,IAAI,CAAC;QAEvB,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YAChB,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YACrB,MAAM,CAAC;QACT,CAAC;QAED,IAAI,KAAU,CAAC;QACf,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QAEnB,GAAG,CAAC;YACF,EAAE,CAAC,CAAC,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBACvD,KAAK,CAAC;YACR,CAAC;QACH,CAAC,QAAQ,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,8BAA8B;QAElE,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QAEpB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;YACV,OAAO,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC;gBAChC,MAAM,CAAC,WAAW,EAAE,CAAC;YACvB,CAAC;YACD,MAAM,KAAK,CAAC;QACd,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/QueueAction.js b/node_modules/rxjs/_esm2015/scheduler/QueueAction.js new file mode 100644 index 00000000..d3642163 --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/QueueAction.js @@ -0,0 +1,38 @@ +import { AsyncAction } from './AsyncAction'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class QueueAction extends AsyncAction { + constructor(scheduler, work) { + super(scheduler, work); + this.scheduler = scheduler; + this.work = work; + } + schedule(state, delay = 0) { + if (delay > 0) { + return super.schedule(state, delay); + } + this.delay = delay; + this.state = state; + this.scheduler.flush(this); + return this; + } + execute(state, delay) { + return (delay > 0 || this.closed) ? + super.execute(state, delay) : + this._execute(state, delay); + } + requestAsyncId(scheduler, id, delay = 0) { + // If delay exists and is greater than 0, or if the delay is null (the + // action wasn't rescheduled) but was originally scheduled as an async + // action, then recycle as an async action. + if ((delay !== null && delay > 0) || (delay === null && this.delay > 0)) { + return super.requestAsyncId(scheduler, id, delay); + } + // Otherwise flush the scheduler starting with this action. + return scheduler.flush(this); + } +} +//# sourceMappingURL=QueueAction.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/QueueAction.js.map b/node_modules/rxjs/_esm2015/scheduler/QueueAction.js.map new file mode 100644 index 00000000..04050e5d --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/QueueAction.js.map @@ -0,0 +1 @@ +{"version":3,"file":"QueueAction.js","sourceRoot":"","sources":["../../src/scheduler/QueueAction.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE,MAAM,eAAe;AAI3C;;;;GAIG;AACH,iCAAoC,WAAW;IAE7C,YAAsB,SAAyB,EACzB,IAA+C;QACnE,MAAM,SAAS,EAAE,IAAI,CAAC,CAAC;QAFH,cAAS,GAAT,SAAS,CAAgB;QACzB,SAAI,GAAJ,IAAI,CAA2C;IAErE,CAAC;IAEM,QAAQ,CAAC,KAAS,EAAE,KAAK,GAAW,CAAC;QAC1C,EAAE,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC;YACd,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QACtC,CAAC;QACD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAC3B,MAAM,CAAC,IAAI,CAAC;IACd,CAAC;IAEM,OAAO,CAAC,KAAQ,EAAE,KAAa;QACpC,MAAM,CAAC,CAAC,KAAK,GAAG,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC;YAC/B,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;YAC3B,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAE;IACjC,CAAC;IAES,cAAc,CAAC,SAAyB,EAAE,EAAQ,EAAE,KAAK,GAAW,CAAC;QAC7E,sEAAsE;QACtE,sEAAsE;QACtE,2CAA2C;QAC3C,EAAE,CAAC,CAAC,CAAC,KAAK,KAAK,IAAI,IAAI,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;YACxE,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC,SAAS,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;QACpD,CAAC;QACD,2DAA2D;QAC3D,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/QueueScheduler.js b/node_modules/rxjs/_esm2015/scheduler/QueueScheduler.js new file mode 100644 index 00000000..cc1fb4d5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/QueueScheduler.js @@ -0,0 +1,4 @@ +import { AsyncScheduler } from './AsyncScheduler'; +export class QueueScheduler extends AsyncScheduler { +} +//# sourceMappingURL=QueueScheduler.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/QueueScheduler.js.map b/node_modules/rxjs/_esm2015/scheduler/QueueScheduler.js.map new file mode 100644 index 00000000..cf4147fc --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/QueueScheduler.js.map @@ -0,0 +1 @@ +{"version":3,"file":"QueueScheduler.js","sourceRoot":"","sources":["../../src/scheduler/QueueScheduler.ts"],"names":[],"mappings":"OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB;AAEjD,oCAAoC,cAAc;AAClD,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/VirtualTimeScheduler.js b/node_modules/rxjs/_esm2015/scheduler/VirtualTimeScheduler.js new file mode 100644 index 00000000..0e6af1de --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/VirtualTimeScheduler.js @@ -0,0 +1,94 @@ +import { AsyncAction } from './AsyncAction'; +import { AsyncScheduler } from './AsyncScheduler'; +export class VirtualTimeScheduler extends AsyncScheduler { + constructor(SchedulerAction = VirtualAction, maxFrames = Number.POSITIVE_INFINITY) { + super(SchedulerAction, () => this.frame); + this.maxFrames = maxFrames; + this.frame = 0; + this.index = -1; + } + /** + * Prompt the Scheduler to execute all of its queued actions, therefore + * clearing its queue. + * @return {void} + */ + flush() { + const { actions, maxFrames } = this; + let error, action; + while ((action = actions.shift()) && (this.frame = action.delay) <= maxFrames) { + if (error = action.execute(action.state, action.delay)) { + break; + } + } + if (error) { + while (action = actions.shift()) { + action.unsubscribe(); + } + throw error; + } + } +} +VirtualTimeScheduler.frameTimeFactor = 10; +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class VirtualAction extends AsyncAction { + constructor(scheduler, work, index = scheduler.index += 1) { + super(scheduler, work); + this.scheduler = scheduler; + this.work = work; + this.index = index; + this.active = true; + this.index = scheduler.index = index; + } + schedule(state, delay = 0) { + if (!this.id) { + return super.schedule(state, delay); + } + this.active = false; + // If an action is rescheduled, we save allocations by mutating its state, + // pushing it to the end of the scheduler queue, and recycling the action. + // But since the VirtualTimeScheduler is used for testing, VirtualActions + // must be immutable so they can be inspected later. + const action = new VirtualAction(this.scheduler, this.work); + this.add(action); + return action.schedule(state, delay); + } + requestAsyncId(scheduler, id, delay = 0) { + this.delay = scheduler.frame + delay; + const { actions } = scheduler; + actions.push(this); + actions.sort(VirtualAction.sortActions); + return true; + } + recycleAsyncId(scheduler, id, delay = 0) { + return undefined; + } + _execute(state, delay) { + if (this.active === true) { + return super._execute(state, delay); + } + } + static sortActions(a, b) { + if (a.delay === b.delay) { + if (a.index === b.index) { + return 0; + } + else if (a.index > b.index) { + return 1; + } + else { + return -1; + } + } + else if (a.delay > b.delay) { + return 1; + } + else { + return -1; + } + } +} +//# sourceMappingURL=VirtualTimeScheduler.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/VirtualTimeScheduler.js.map b/node_modules/rxjs/_esm2015/scheduler/VirtualTimeScheduler.js.map new file mode 100644 index 00000000..174a91ee --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/VirtualTimeScheduler.js.map @@ -0,0 +1 @@ +{"version":3,"file":"VirtualTimeScheduler.js","sourceRoot":"","sources":["../../src/scheduler/VirtualTimeScheduler.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE,MAAM,eAAe;OAEpC,EAAE,cAAc,EAAE,MAAM,kBAAkB;AAEjD,0CAA0C,cAAc;IAOtD,YAAY,eAAe,GAAuB,aAAa,EAC5C,SAAS,GAAW,MAAM,CAAC,iBAAiB;QAC7D,MAAM,eAAe,EAAE,MAAM,IAAI,CAAC,KAAK,CAAC,CAAC;QADxB,cAAS,GAAT,SAAS,CAAmC;QAJxD,UAAK,GAAW,CAAC,CAAC;QAClB,UAAK,GAAW,CAAC,CAAC,CAAC;IAK1B,CAAC;IAED;;;;OAIG;IACI,KAAK;QAEV,MAAM,EAAC,OAAO,EAAE,SAAS,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,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;gBAC7B,MAAM,CAAC,CAAC,CAAC;YACX,CAAC;YAAC,IAAI,CAAC,CAAC;gBACN,MAAM,CAAC,CAAC,CAAC,CAAC;YACZ,CAAC;QACH,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;YAC7B,MAAM,CAAC,CAAC,CAAC;QACX,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,CAAC,CAAC,CAAC,CAAC;QACZ,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/animationFrame.js b/node_modules/rxjs/_esm2015/scheduler/animationFrame.js new file mode 100644 index 00000000..a438fb54 --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/animationFrame.js @@ -0,0 +1,34 @@ +import { AnimationFrameAction } from './AnimationFrameAction'; +import { AnimationFrameScheduler } from './AnimationFrameScheduler'; +/** + * + * Animation Frame Scheduler + * + * Perform task when `window.requestAnimationFrame` would fire + * + * When `animationFrame` scheduler is used with delay, it will fall back to {@link async} scheduler + * behaviour. + * + * Without delay, `animationFrame` scheduler can be used to create smooth browser animations. + * It makes sure scheduled task will happen just before next browser content repaint, + * thus performing animations as efficiently as possible. + * + * @example Schedule div height animation + * const div = document.querySelector('.some-div'); + * + * Rx.Scheduler.schedule(function(height) { + * div.style.height = height + "px"; + * + * this.schedule(height + 1); // `this` references currently executing Action, + * // which we reschedule with new state + * }, 0, 0); + * + * // You will see .some-div element growing in height + * + * + * @static true + * @name animationFrame + * @owner Scheduler + */ +export const animationFrame = new AnimationFrameScheduler(AnimationFrameAction); +//# sourceMappingURL=animationFrame.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/animationFrame.js.map b/node_modules/rxjs/_esm2015/scheduler/animationFrame.js.map new file mode 100644 index 00000000..1860229e --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/animationFrame.js.map @@ -0,0 +1 @@ +{"version":3,"file":"animationFrame.js","sourceRoot":"","sources":["../../src/scheduler/animationFrame.ts"],"names":[],"mappings":"OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB;OACtD,EAAE,uBAAuB,EAAE,MAAM,2BAA2B;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,MAAM,cAAc,GAAG,IAAI,uBAAuB,CAAC,oBAAoB,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/asap.js b/node_modules/rxjs/_esm2015/scheduler/asap.js new file mode 100644 index 00000000..03524308 --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/asap.js @@ -0,0 +1,38 @@ +import { AsapAction } from './AsapAction'; +import { AsapScheduler } from './AsapScheduler'; +/** + * + * Asap Scheduler + * + * Perform task as fast as it can be performed asynchronously + * + * `asap` scheduler behaves the same as {@link async} scheduler when you use it to delay task + * in time. If however you set delay to `0`, `asap` will wait for current synchronously executing + * code to end and then it will try to execute given task as fast as possible. + * + * `asap` scheduler will do its best to minimize time between end of currently executing code + * and start of scheduled task. This makes it best candidate for performing so called "deferring". + * Traditionally this was achieved by calling `setTimeout(deferredTask, 0)`, but that technique involves + * some (although minimal) unwanted delay. + * + * Note that using `asap` scheduler does not necessarily mean that your task will be first to process + * after currently executing code. In particular, if some task was also scheduled with `asap` before, + * that task will execute first. That being said, if you need to schedule task asynchronously, but + * as soon as possible, `asap` scheduler is your best bet. + * + * @example Compare async and asap scheduler + * + * Rx.Scheduler.async.schedule(() => console.log('async')); // scheduling 'async' first... + * Rx.Scheduler.asap.schedule(() => console.log('asap')); + * + * // Logs: + * // "asap" + * // "async" + * // ... but 'asap' goes first! + * + * @static true + * @name asap + * @owner Scheduler + */ +export const asap = new AsapScheduler(AsapAction); +//# sourceMappingURL=asap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/asap.js.map b/node_modules/rxjs/_esm2015/scheduler/asap.js.map new file mode 100644 index 00000000..0dcdbd90 --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/asap.js.map @@ -0,0 +1 @@ +{"version":3,"file":"asap.js","sourceRoot":"","sources":["../../src/scheduler/asap.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,cAAc;OAClC,EAAE,aAAa,EAAE,MAAM,iBAAiB;AAE/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,OAAO,MAAM,IAAI,GAAG,IAAI,aAAa,CAAC,UAAU,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/async.js b/node_modules/rxjs/_esm2015/scheduler/async.js new file mode 100644 index 00000000..ead77af2 --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/async.js @@ -0,0 +1,46 @@ +import { AsyncAction } from './AsyncAction'; +import { AsyncScheduler } from './AsyncScheduler'; +/** + * + * Async Scheduler + * + * Schedule task as if you used setTimeout(task, duration) + * + * `async` scheduler schedules tasks asynchronously, by putting them on the JavaScript + * event loop queue. It is best used to delay tasks in time or to schedule tasks repeating + * in intervals. + * + * If you just want to "defer" task, that is to perform it right after currently + * executing synchronous code ends (commonly achieved by `setTimeout(deferredTask, 0)`), + * better choice will be the {@link asap} scheduler. + * + * @example Use async scheduler to delay task + * const task = () => console.log('it works!'); + * + * Rx.Scheduler.async.schedule(task, 2000); + * + * // After 2 seconds logs: + * // "it works!" + * + * + * @example Use async scheduler to repeat task in intervals + * function task(state) { + * console.log(state); + * this.schedule(state + 1, 1000); // `this` references currently executing Action, + * // which we reschedule with new state and delay + * } + * + * Rx.Scheduler.async.schedule(task, 3000, 0); + * + * // Logs: + * // 0 after 3s + * // 1 after 4s + * // 2 after 5s + * // 3 after 6s + * + * @static true + * @name async + * @owner Scheduler + */ +export const async = new AsyncScheduler(AsyncAction); +//# sourceMappingURL=async.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/async.js.map b/node_modules/rxjs/_esm2015/scheduler/async.js.map new file mode 100644 index 00000000..17d999f3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/async.js.map @@ -0,0 +1 @@ +{"version":3,"file":"async.js","sourceRoot":"","sources":["../../src/scheduler/async.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE,MAAM,eAAe;OACpC,EAAE,cAAc,EAAE,MAAM,kBAAkB;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAEH,OAAO,MAAM,KAAK,GAAG,IAAI,cAAc,CAAC,WAAW,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/queue.js b/node_modules/rxjs/_esm2015/scheduler/queue.js new file mode 100644 index 00000000..379be46a --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/queue.js @@ -0,0 +1,65 @@ +import { QueueAction } from './QueueAction'; +import { QueueScheduler } from './QueueScheduler'; +/** + * + * Queue Scheduler + * + * Put every next task on a queue, instead of executing it immediately + * + * `queue` scheduler, when used with delay, behaves the same as {@link async} scheduler. + * + * When used without delay, it schedules given task synchronously - executes it right when + * it is scheduled. However when called recursively, that is when inside the scheduled task, + * another task is scheduled with queue scheduler, instead of executing immediately as well, + * that task will be put on a queue and wait for current one to finish. + * + * This means that when you execute task with `queue` scheduler, you are sure it will end + * before any other task scheduled with that scheduler will start. + * + * @examples Schedule recursively first, then do something + * + * Rx.Scheduler.queue.schedule(() => { + * Rx.Scheduler.queue.schedule(() => console.log('second')); // will not happen now, but will be put on a queue + * + * console.log('first'); + * }); + * + * // Logs: + * // "first" + * // "second" + * + * + * @example Reschedule itself recursively + * + * Rx.Scheduler.queue.schedule(function(state) { + * if (state !== 0) { + * console.log('before', state); + * this.schedule(state - 1); // `this` references currently executing Action, + * // which we reschedule with new state + * console.log('after', state); + * } + * }, 0, 3); + * + * // In scheduler that runs recursively, you would expect: + * // "before", 3 + * // "before", 2 + * // "before", 1 + * // "after", 1 + * // "after", 2 + * // "after", 3 + * + * // But with queue it logs: + * // "before", 3 + * // "after", 3 + * // "before", 2 + * // "after", 2 + * // "before", 1 + * // "after", 1 + * + * + * @static true + * @name queue + * @owner Scheduler + */ +export const queue = new QueueScheduler(QueueAction); +//# sourceMappingURL=queue.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/queue.js.map b/node_modules/rxjs/_esm2015/scheduler/queue.js.map new file mode 100644 index 00000000..62ac9511 --- /dev/null +++ b/node_modules/rxjs/_esm2015/scheduler/queue.js.map @@ -0,0 +1 @@ +{"version":3,"file":"queue.js","sourceRoot":"","sources":["../../src/scheduler/queue.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE,MAAM,eAAe;OACpC,EAAE,cAAc,EAAE,MAAM,kBAAkB;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AAEH,OAAO,MAAM,KAAK,GAAG,IAAI,cAAc,CAAC,WAAW,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/symbol/iterator.js b/node_modules/rxjs/_esm2015/symbol/iterator.js new file mode 100644 index 00000000..01a5b678 --- /dev/null +++ b/node_modules/rxjs/_esm2015/symbol/iterator.js @@ -0,0 +1,36 @@ +import { root } from '../util/root'; +export function symbolIteratorPonyfill(root) { + const Symbol = root.Symbol; + if (typeof Symbol === 'function') { + if (!Symbol.iterator) { + Symbol.iterator = Symbol('iterator polyfill'); + } + return Symbol.iterator; + } + else { + // [for Mozilla Gecko 27-35:](https://mzl.la/2ewE1zC) + const { Set } = root; + if (Set && typeof new Set()['@@iterator'] === 'function') { + return '@@iterator'; + } + const { Map } = root; + // required for compatability with es6-shim + if (Map) { + let keys = Object.getOwnPropertyNames(Map.prototype); + for (let i = 0; i < keys.length; ++i) { + let key = keys[i]; + // according to spec, Map.prototype[@@iterator] and Map.orototype.entries must be equal. + if (key !== 'entries' && key !== 'size' && Map.prototype[key] === Map.prototype['entries']) { + return key; + } + } + } + return '@@iterator'; + } +} +export const iterator = symbolIteratorPonyfill(root); +/** + * @deprecated use iterator instead + */ +export const $$iterator = iterator; +//# sourceMappingURL=iterator.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/symbol/iterator.js.map b/node_modules/rxjs/_esm2015/symbol/iterator.js.map new file mode 100644 index 00000000..f03cb83f --- /dev/null +++ b/node_modules/rxjs/_esm2015/symbol/iterator.js.map @@ -0,0 +1 @@ +{"version":3,"file":"iterator.js","sourceRoot":"","sources":["../../src/symbol/iterator.ts"],"names":[],"mappings":"OAAO,EAAE,IAAI,EAAE,MAAM,cAAc;AAEnC,uCAAuC,IAAS;IAC9C,MAAM,MAAM,GAAQ,IAAI,CAAC,MAAM,CAAC;IAEhC,EAAE,CAAC,CAAC,OAAO,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC;QACjC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;YACrB,MAAM,CAAC,QAAQ,GAAG,MAAM,CAAC,mBAAmB,CAAC,CAAC;QAChD,CAAC;QACD,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC;IACzB,CAAC;IAAC,IAAI,CAAC,CAAC;QACN,qDAAqD;QACrD,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;QACrB,EAAE,CAAC,CAAC,GAAG,IAAI,OAAO,IAAI,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC;YACzD,MAAM,CAAC,YAAY,CAAC;QACtB,CAAC;QACD,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;QACrB,2CAA2C;QAC3C,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACR,IAAI,IAAI,GAAG,MAAM,CAAC,mBAAmB,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;YACrD,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC;gBACrC,IAAI,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;gBAClB,wFAAwF;gBACxF,EAAE,CAAC,CAAC,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,MAAM,IAAI,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;oBAC3F,MAAM,CAAC,GAAG,CAAC;gBACb,CAAC;YACH,CAAC;QACH,CAAC;QACD,MAAM,CAAC,YAAY,CAAC;IACtB,CAAC;AACH,CAAC;AAED,OAAO,MAAM,QAAQ,GAAG,sBAAsB,CAAC,IAAI,CAAC,CAAC;AAErD;;GAEG;AACH,OAAO,MAAM,UAAU,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/symbol/observable.js b/node_modules/rxjs/_esm2015/symbol/observable.js new file mode 100644 index 00000000..9ae6dd95 --- /dev/null +++ b/node_modules/rxjs/_esm2015/symbol/observable.js @@ -0,0 +1,24 @@ +import { root } from '../util/root'; +export function getSymbolObservable(context) { + let $$observable; + let Symbol = context.Symbol; + if (typeof Symbol === 'function') { + if (Symbol.observable) { + $$observable = Symbol.observable; + } + else { + $$observable = Symbol('observable'); + Symbol.observable = $$observable; + } + } + else { + $$observable = '@@observable'; + } + return $$observable; +} +export const observable = getSymbolObservable(root); +/** + * @deprecated use observable instead + */ +export const $$observable = observable; +//# sourceMappingURL=observable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/symbol/observable.js.map b/node_modules/rxjs/_esm2015/symbol/observable.js.map new file mode 100644 index 00000000..f94361be --- /dev/null +++ b/node_modules/rxjs/_esm2015/symbol/observable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"observable.js","sourceRoot":"","sources":["../../src/symbol/observable.ts"],"names":[],"mappings":"OAAO,EAAE,IAAI,EAAE,MAAM,cAAc;AAEnC,oCAAoC,OAAY;IAC9C,IAAI,YAAiB,CAAC;IACtB,IAAI,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAE5B,EAAE,CAAC,CAAC,OAAO,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC;QACjC,EAAE,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC;YACtB,YAAY,GAAG,MAAM,CAAC,UAAU,CAAC;QACnC,CAAC;QAAC,IAAI,CAAC,CAAC;YACJ,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;YACpC,MAAM,CAAC,UAAU,GAAG,YAAY,CAAC;QACrC,CAAC;IACH,CAAC;IAAC,IAAI,CAAC,CAAC;QACN,YAAY,GAAG,cAAc,CAAC;IAChC,CAAC;IAED,MAAM,CAAC,YAAY,CAAC;AACtB,CAAC;AAED,OAAO,MAAM,UAAU,GAAG,mBAAmB,CAAC,IAAI,CAAC,CAAC;AAEpD;;GAEG;AACH,OAAO,MAAM,YAAY,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/symbol/rxSubscriber.js b/node_modules/rxjs/_esm2015/symbol/rxSubscriber.js new file mode 100644 index 00000000..c1cf0140 --- /dev/null +++ b/node_modules/rxjs/_esm2015/symbol/rxSubscriber.js @@ -0,0 +1,9 @@ +import { root } from '../util/root'; +const Symbol = root.Symbol; +export const rxSubscriber = (typeof Symbol === 'function' && typeof Symbol.for === 'function') ? + Symbol.for('rxSubscriber') : '@@rxSubscriber'; +/** + * @deprecated use rxSubscriber instead + */ +export const $$rxSubscriber = rxSubscriber; +//# sourceMappingURL=rxSubscriber.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/symbol/rxSubscriber.js.map b/node_modules/rxjs/_esm2015/symbol/rxSubscriber.js.map new file mode 100644 index 00000000..99a1185c --- /dev/null +++ b/node_modules/rxjs/_esm2015/symbol/rxSubscriber.js.map @@ -0,0 +1 @@ +{"version":3,"file":"rxSubscriber.js","sourceRoot":"","sources":["../../src/symbol/rxSubscriber.ts"],"names":[],"mappings":"OAAO,EAAE,IAAI,EAAE,MAAM,cAAc;AAEnC,MAAM,MAAM,GAAQ,IAAI,CAAC,MAAM,CAAC;AAEhC,OAAO,MAAM,YAAY,GAAG,CAAC,OAAO,MAAM,KAAK,UAAU,IAAI,OAAO,MAAM,CAAC,GAAG,KAAK,UAAU,CAAC;IAC5F,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC,GAAG,gBAAgB,CAAC;AAEhD;;GAEG;AACH,OAAO,MAAM,cAAc,GAAG,YAAY,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/ColdObservable.js b/node_modules/rxjs/_esm2015/testing/ColdObservable.js new file mode 100644 index 00000000..7976f930 --- /dev/null +++ b/node_modules/rxjs/_esm2015/testing/ColdObservable.js @@ -0,0 +1,34 @@ +import { Observable } from '../Observable'; +import { Subscription } from '../Subscription'; +import { SubscriptionLoggable } from './SubscriptionLoggable'; +import { applyMixins } from '../util/applyMixins'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class ColdObservable extends Observable { + constructor(messages, scheduler) { + super(function (subscriber) { + const observable = this; + const index = observable.logSubscribedFrame(); + subscriber.add(new Subscription(() => { + observable.logUnsubscribedFrame(index); + })); + observable.scheduleMessages(subscriber); + return subscriber; + }); + this.messages = messages; + this.subscriptions = []; + this.scheduler = scheduler; + } + scheduleMessages(subscriber) { + const messagesLength = this.messages.length; + for (let i = 0; i < messagesLength; i++) { + const message = this.messages[i]; + subscriber.add(this.scheduler.schedule(({ message, subscriber }) => { message.notification.observe(subscriber); }, message.frame, { message, subscriber })); + } + } +} +applyMixins(ColdObservable, [SubscriptionLoggable]); +//# sourceMappingURL=ColdObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/ColdObservable.js.map b/node_modules/rxjs/_esm2015/testing/ColdObservable.js.map new file mode 100644 index 00000000..bd0f2269 --- /dev/null +++ b/node_modules/rxjs/_esm2015/testing/ColdObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ColdObservable.js","sourceRoot":"","sources":["../../src/testing/ColdObservable.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,YAAY,EAAE,MAAM,iBAAiB;OAIvC,EAAE,oBAAoB,EAAE,MAAM,wBAAwB;OACtD,EAAE,WAAW,EAAE,MAAM,qBAAqB;AAGjD;;;;GAIG;AACH,oCAAuC,UAAU;IAM/C,YAAmB,QAAuB,EAC9B,SAAoB;QAC9B,MAAM,UAAmC,UAA2B;YAClE,MAAM,UAAU,GAAsB,IAAI,CAAC;YAC3C,MAAM,KAAK,GAAG,UAAU,CAAC,kBAAkB,EAAE,CAAC;YAC9C,UAAU,CAAC,GAAG,CAAC,IAAI,YAAY,CAAC;gBAC9B,UAAU,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC;YACzC,CAAC,CAAC,CAAC,CAAC;YACJ,UAAU,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;YACxC,MAAM,CAAC,UAAU,CAAC;QACpB,CAAC,CAAC,CAAC;QAVc,aAAQ,GAAR,QAAQ,CAAe;QALnC,kBAAa,GAAsB,EAAE,CAAC;QAgB3C,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IAED,gBAAgB,CAAC,UAA2B;QAC1C,MAAM,cAAc,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC;QAC5C,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,cAAc,EAAE,CAAC,EAAE,EAAE,CAAC;YACxC,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;YACjC,UAAU,CAAC,GAAG,CACZ,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,EAAC,OAAO,EAAE,UAAU,EAAC,OAAO,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,EAC9F,OAAO,CAAC,KAAK,EACb,EAAC,OAAO,EAAE,UAAU,EAAC,CAAC,CACzB,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC;AACD,WAAW,CAAC,cAAc,EAAE,CAAC,oBAAoB,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/HotObservable.js b/node_modules/rxjs/_esm2015/testing/HotObservable.js new file mode 100644 index 00000000..34c9b00c --- /dev/null +++ b/node_modules/rxjs/_esm2015/testing/HotObservable.js @@ -0,0 +1,39 @@ +import { Subject } from '../Subject'; +import { Subscription } from '../Subscription'; +import { SubscriptionLoggable } from './SubscriptionLoggable'; +import { applyMixins } from '../util/applyMixins'; +/** + * We need this JSDoc comment for affecting ESDoc. + * @ignore + * @extends {Ignored} + */ +export class HotObservable extends Subject { + constructor(messages, scheduler) { + super(); + this.messages = messages; + this.subscriptions = []; + this.scheduler = scheduler; + } + _subscribe(subscriber) { + const subject = this; + const index = subject.logSubscribedFrame(); + subscriber.add(new Subscription(() => { + subject.logUnsubscribedFrame(index); + })); + return super._subscribe(subscriber); + } + setup() { + const subject = this; + const messagesLength = subject.messages.length; + /* tslint:disable:no-var-keyword */ + for (var i = 0; i < messagesLength; i++) { + (() => { + var message = subject.messages[i]; + /* tslint:enable */ + subject.scheduler.schedule(() => { message.notification.observe(subject); }, message.frame); + })(); + } + } +} +applyMixins(HotObservable, [SubscriptionLoggable]); +//# sourceMappingURL=HotObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/HotObservable.js.map b/node_modules/rxjs/_esm2015/testing/HotObservable.js.map new file mode 100644 index 00000000..d2719fae --- /dev/null +++ b/node_modules/rxjs/_esm2015/testing/HotObservable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"HotObservable.js","sourceRo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CAAC;QACP,CAAC;IACH,CAAC;AACH,CAAC;AACD,WAAW,CAAC,aAAa,EAAE,CAAC,oBAAoB,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/SubscriptionLog.js b/node_modules/rxjs/_esm2015/testing/SubscriptionLog.js new file mode 100644 index 00000000..c421751b --- /dev/null +++ b/node_modules/rxjs/_esm2015/testing/SubscriptionLog.js @@ -0,0 +1,7 @@ +export class SubscriptionLog { + constructor(subscribedFrame, unsubscribedFrame = Number.POSITIVE_INFINITY) { + this.subscribedFrame = subscribedFrame; + this.unsubscribedFrame = unsubscribedFrame; + } +} +//# sourceMappingURL=SubscriptionLog.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/SubscriptionLog.js.map b/node_modules/rxjs/_esm2015/testing/SubscriptionLog.js.map new file mode 100644 index 00000000..289ca5b3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/testing/SubscriptionLog.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SubscriptionLog.js","sourceRoot":"","sources":["../../src/testing/SubscriptionLog.ts"],"names":[],"mappings":"AAAA;IACE,YAAmB,eAAuB,EACvB,iBAAiB,GAAW,MAAM,CAAC,iBAAiB;QADpD,oBAAe,GAAf,eAAe,CAAQ;QACvB,sBAAiB,GAAjB,iBAAiB,CAAmC;IACvE,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/SubscriptionLoggable.js b/node_modules/rxjs/_esm2015/testing/SubscriptionLoggable.js new file mode 100644 index 00000000..08a00d72 --- /dev/null +++ b/node_modules/rxjs/_esm2015/testing/SubscriptionLoggable.js @@ -0,0 +1,16 @@ +import { SubscriptionLog } from './SubscriptionLog'; +export class SubscriptionLoggable { + constructor() { + this.subscriptions = []; + } + logSubscribedFrame() { + this.subscriptions.push(new SubscriptionLog(this.scheduler.now())); + return this.subscriptions.length - 1; + } + logUnsubscribedFrame(index) { + const subscriptionLogs = this.subscriptions; + const oldSubscriptionLog = subscriptionLogs[index]; + subscriptionLogs[index] = new SubscriptionLog(oldSubscriptionLog.subscribedFrame, this.scheduler.now()); + } +} +//# sourceMappingURL=SubscriptionLoggable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/SubscriptionLoggable.js.map b/node_modules/rxjs/_esm2015/testing/SubscriptionLoggable.js.map new file mode 100644 index 00000000..8f77dbf7 --- /dev/null +++ b/node_modules/rxjs/_esm2015/testing/SubscriptionLoggable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SubscriptionLoggable.js","sourceRoot":"","sources":["../../src/testing/SubscriptionLoggable.ts"],"names":[],"mappings":"OACO,EAAE,eAAe,EAAE,MAAM,mBAAmB;AAEnD;IAAA;QACS,kBAAa,GAAsB,EAAE,CAAC;IAgB/C,CAAC;IAbC,kBAAkB;QAChB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QACnE,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC;IACvC,CAAC;IAED,oBAAoB,CAAC,KAAa;QAChC,MAAM,gBAAgB,GAAG,IAAI,CAAC,aAAa,CAAC;QAC5C,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,KAAK,CAAC,CAAC;QACnD,gBAAgB,CAAC,KAAK,CAAC,GAAG,IAAI,eAAe,CAC3C,kBAAkB,CAAC,eAAe,EAClC,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,CACrB,CAAC;IACJ,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/TestMessage.js b/node_modules/rxjs/_esm2015/testing/TestMessage.js new file mode 100644 index 00000000..908175c7 --- /dev/null +++ b/node_modules/rxjs/_esm2015/testing/TestMessage.js @@ -0,0 +1 @@ +//# sourceMappingURL=TestMessage.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/TestMessage.js.map b/node_modules/rxjs/_esm2015/testing/TestMessage.js.map new file mode 100644 index 00000000..33ebfba4 --- /dev/null +++ b/node_modules/rxjs/_esm2015/testing/TestMessage.js.map @@ -0,0 +1 @@ +{"version":3,"file":"TestMessage.js","sourceRoot":"","sources":["../../src/testing/TestMessage.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/TestScheduler.js b/node_modules/rxjs/_esm2015/testing/TestScheduler.js new file mode 100644 index 00000000..5f0fa8ac --- /dev/null +++ b/node_modules/rxjs/_esm2015/testing/TestScheduler.js @@ -0,0 +1,208 @@ +import { Observable } from '../Observable'; +import { Notification } from '../Notification'; +import { ColdObservable } from './ColdObservable'; +import { HotObservable } from './HotObservable'; +import { SubscriptionLog } from './SubscriptionLog'; +import { VirtualTimeScheduler, VirtualAction } from '../scheduler/VirtualTimeScheduler'; +const defaultMaxFrame = 750; +export class TestScheduler extends VirtualTimeScheduler { + constructor(assertDeepEqual) { + super(VirtualAction, defaultMaxFrame); + this.assertDeepEqual = assertDeepEqual; + this.hotObservables = []; + this.coldObservables = []; + this.flushTests = []; + } + createTime(marbles) { + const indexOf = marbles.indexOf('|'); + if (indexOf === -1) { + throw new Error('marble diagram for time should have a completion marker "|"'); + } + return indexOf * TestScheduler.frameTimeFactor; + } + createColdObservable(marbles, values, error) { + if (marbles.indexOf('^') !== -1) { + throw new Error('cold observable cannot have subscription offset "^"'); + } + if (marbles.indexOf('!') !== -1) { + throw new Error('cold observable cannot have unsubscription marker "!"'); + } + const messages = TestScheduler.parseMarbles(marbles, values, error); + const cold = new ColdObservable(messages, this); + this.coldObservables.push(cold); + return cold; + } + createHotObservable(marbles, values, error) { + if (marbles.indexOf('!') !== -1) { + throw new Error('hot observable cannot have unsubscription marker "!"'); + } + const messages = TestScheduler.parseMarbles(marbles, values, error); + const subject = new HotObservable(messages, this); + this.hotObservables.push(subject); + return subject; + } + materializeInnerObservable(observable, outerFrame) { + const messages = []; + observable.subscribe((value) => { + messages.push({ frame: this.frame - outerFrame, notification: Notification.createNext(value) }); + }, (err) => { + messages.push({ frame: this.frame - outerFrame, notification: Notification.createError(err) }); + }, () => { + messages.push({ frame: this.frame - outerFrame, notification: Notification.createComplete() }); + }); + return messages; + } + expectObservable(observable, unsubscriptionMarbles = null) { + const actual = []; + const flushTest = { actual, ready: false }; + const unsubscriptionFrame = TestScheduler + .parseMarblesAsSubscriptions(unsubscriptionMarbles).unsubscribedFrame; + let subscription; + this.schedule(() => { + subscription = observable.subscribe(x => { + let value = x; + // Support Observable-of-Observables + if (x instanceof Observable) { + value = this.materializeInnerObservable(value, this.frame); + } + actual.push({ frame: this.frame, notification: Notification.createNext(value) }); + }, (err) => { + actual.push({ frame: this.frame, notification: Notification.createError(err) }); + }, () => { + actual.push({ frame: this.frame, notification: Notification.createComplete() }); + }); + }, 0); + if (unsubscriptionFrame !== Number.POSITIVE_INFINITY) { + this.schedule(() => subscription.unsubscribe(), unsubscriptionFrame); + } + this.flushTests.push(flushTest); + return { + toBe(marbles, values, errorValue) { + flushTest.ready = true; + flushTest.expected = TestScheduler.parseMarbles(marbles, values, errorValue, true); + } + }; + } + expectSubscriptions(actualSubscriptionLogs) { + const flushTest = { actual: actualSubscriptionLogs, ready: false }; + this.flushTests.push(flushTest); + return { + toBe(marbles) { + const marblesArray = (typeof marbles === 'string') ? [marbles] : marbles; + flushTest.ready = true; + flushTest.expected = marblesArray.map(marbles => TestScheduler.parseMarblesAsSubscriptions(marbles)); + } + }; + } + flush() { + const hotObservables = this.hotObservables; + while (hotObservables.length > 0) { + hotObservables.shift().setup(); + } + super.flush(); + const readyFlushTests = this.flushTests.filter(test => test.ready); + while (readyFlushTests.length > 0) { + const test = readyFlushTests.shift(); + this.assertDeepEqual(test.actual, test.expected); + } + } + static parseMarblesAsSubscriptions(marbles) { + if (typeof marbles !== 'string') { + return new SubscriptionLog(Number.POSITIVE_INFINITY); + } + const len = marbles.length; + let groupStart = -1; + let subscriptionFrame = Number.POSITIVE_INFINITY; + let unsubscriptionFrame = Number.POSITIVE_INFINITY; + for (let i = 0; i < len; i++) { + const frame = i * this.frameTimeFactor; + const c = marbles[i]; + switch (c) { + case '-': + case ' ': + break; + case '(': + groupStart = frame; + break; + case ')': + groupStart = -1; + break; + case '^': + if (subscriptionFrame !== Number.POSITIVE_INFINITY) { + throw new Error('found a second subscription point \'^\' in a ' + + 'subscription marble diagram. There can only be one.'); + } + subscriptionFrame = groupStart > -1 ? groupStart : frame; + break; + case '!': + if (unsubscriptionFrame !== Number.POSITIVE_INFINITY) { + throw new Error('found a second subscription point \'^\' in a ' + + 'subscription marble diagram. There can only be one.'); + } + unsubscriptionFrame = groupStart > -1 ? groupStart : frame; + break; + default: + throw new Error('there can only be \'^\' and \'!\' markers in a ' + + 'subscription marble diagram. Found instead \'' + c + '\'.'); + } + } + if (unsubscriptionFrame < 0) { + return new SubscriptionLog(subscriptionFrame); + } + else { + return new SubscriptionLog(subscriptionFrame, unsubscriptionFrame); + } + } + static parseMarbles(marbles, values, errorValue, materializeInnerObservables = false) { + if (marbles.indexOf('!') !== -1) { + throw new Error('conventional marble diagrams cannot have the ' + + 'unsubscription marker "!"'); + } + const len = marbles.length; + const testMessages = []; + const subIndex = marbles.indexOf('^'); + const frameOffset = subIndex === -1 ? 0 : (subIndex * -this.frameTimeFactor); + const getValue = typeof values !== 'object' ? + (x) => x : + (x) => { + // Support Observable-of-Observables + if (materializeInnerObservables && values[x] instanceof ColdObservable) { + return values[x].messages; + } + return values[x]; + }; + let groupStart = -1; + for (let i = 0; i < len; i++) { + const frame = i * this.frameTimeFactor + frameOffset; + let notification; + const c = marbles[i]; + switch (c) { + case '-': + case ' ': + break; + case '(': + groupStart = frame; + break; + case ')': + groupStart = -1; + break; + case '|': + notification = Notification.createComplete(); + break; + case '^': + break; + case '#': + notification = Notification.createError(errorValue || 'error'); + break; + default: + notification = Notification.createNext(getValue(c)); + break; + } + if (notification) { + testMessages.push({ frame: groupStart > -1 ? groupStart : frame, notification }); + } + } + return testMessages; + } +} +//# sourceMappingURL=TestScheduler.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/TestScheduler.js.map b/node_modules/rxjs/_esm2015/testing/TestScheduler.js.map new file mode 100644 index 00000000..8deed433 --- /dev/null +++ b/node_modules/rxjs/_esm2015/testing/TestScheduler.js.map @@ -0,0 +1 @@ +{"version":3,"file":"TestScheduler.js","sourceRoot":"","sources":["../../src/testing/TestScheduler.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,YAAY,EAAE,MAAM,iBAAiB;OACvC,EAAE,cAAc,EAAE,MAAM,kBAAkB;OAC1C,EAAE,aAAa,EAAE,MAAM,iBAAiB;OAExC,EAAE,eAAe,EAAE,MAAM,mBAAmB;OAE5C,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,mCAAmC;AAEvF,MAAM,eAAe,GAAW,GAAG,CAAC;AAWpC,mCAAmC,oBAAoB;IAKrD,YAAmB,eAA+D;QAChF,MAAM,aAAa,EAAE,eAAe,CAAC,CAAC;QADrB,oBAAe,GAAf,eAAe,CAAgD;QAJ1E,mBAAc,GAAyB,EAAE,CAAC;QAC1C,oBAAe,GAA0B,EAAE,CAAC;QAC5C,eAAU,GAAoB,EAAE,CAAC;IAIzC,CAAC;IAED,UAAU,CAAC,OAAe;QACxB,MAAM,OAAO,GAAW,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAC7C,EAAE,CAAC,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YACnB,MAAM,IAAI,KAAK,CAAC,6DAA6D,CAAC,CAAC;QACjF,CAAC;QACD,MAAM,CAAC,OAAO,GAAG,aAAa,CAAC,eAAe,CAAC;IACjD,CAAC;IAED,oBAAoB,CAAI,OAAe,EAAE,MAAY,EAAE,KAAW;QAChE,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC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KAAK,CAAC;oBACnB,KAAK,CAAC;gBACR,KAAK,GAAG;oBACN,UAAU,GAAG,CAAC,CAAC,CAAC;oBAChB,KAAK,CAAC;gBACR,KAAK,GAAG;oBACN,YAAY,GAAG,YAAY,CAAC,cAAc,EAAE,CAAC;oBAC7C,KAAK,CAAC;gBACR,KAAK,GAAG;oBACN,KAAK,CAAC;gBACR,KAAK,GAAG;oBACN,YAAY,GAAG,YAAY,CAAC,WAAW,CAAC,UAAU,IAAI,OAAO,CAAC,CAAC;oBAC/D,KAAK,CAAC;gBACR;oBACE,YAAY,GAAG,YAAY,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;oBACpD,KAAK,CAAC;YACV,CAAC;YAED,EAAE,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC;gBACjB,YAAY,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,UAAU,GAAG,CAAC,CAAC,GAAG,UAAU,GAAG,KAAK,EAAE,YAAY,EAAE,CAAC,CAAC;YACnF,CAAC;QACH,CAAC;QACD,MAAM,CAAC,YAAY,CAAC;IACtB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/util/AnimationFrame.js b/node_modules/rxjs/_esm2015/util/AnimationFrame.js new file mode 100644 index 00000000..5bdac9f3 --- /dev/null +++ b/node_modules/rxjs/_esm2015/util/AnimationFrame.js @@ -0,0 +1,31 @@ +import { root } from './root'; +export class RequestAnimationFrameDefinition { + constructor(root) { + if (root.requestAnimationFrame) { + this.cancelAnimationFrame = root.cancelAnimationFrame.bind(root); + this.requestAnimationFrame = root.requestAnimationFrame.bind(root); + } + else if (root.mozRequestAnimationFrame) { + this.cancelAnimationFrame = root.mozCancelAnimationFrame.bind(root); + this.requestAnimationFrame = root.mozRequestAnimationFrame.bind(root); + } + else if (root.webkitRequestAnimationFrame) { + this.cancelAnimationFrame = root.webkitCancelAnimationFrame.bind(root); + this.requestAnimationFrame = root.webkitRequestAnimationFrame.bind(root); + } + else if (root.msRequestAnimationFrame) { + this.cancelAnimationFrame = root.msCancelAnimationFrame.bind(root); + this.requestAnimationFrame = root.msRequestAnimationFrame.bind(root); + } + else if (root.oRequestAnimationFrame) { + this.cancelAnimationFrame = root.oCancelAnimationFrame.bind(root); + this.requestAnimationFrame = root.oRequestAnimationFrame.bind(root); + } + else { + this.cancelAnimationFrame = root.clearTimeout.bind(root); + this.requestAnimationFrame = function (cb) { return root.setTimeout(cb, 1000 / 60); }; + } + } +} +export const AnimationFrame = new RequestAnimationFrameDefinition(root); +//# sourceMappingURL=AnimationFrame.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/util/AnimationFrame.js.map b/node_modules/rxjs/_esm2015/util/AnimationFrame.js.map new file mode 100644 index 00000000..359bbf4a --- /dev/null +++ b/node_modules/rxjs/_esm2015/util/AnimationFrame.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AnimationFrame.js","sourceRoot":"","sources":["../../src/util/AnimationFrame.ts"],"names":[],"mappings":"OAAO,EAAG,IAAI,EAAG,MAAM,QAAQ;AAE/B;IAGE,YAAY,IAAS;QACnB,EAAE,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC;YAC/B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACjE,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrE,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC;YACzC,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACpE,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACxE,CAAC;QAAC,IAAI,CAAC,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eError.js new file mode 100644 index 00000000..6757804b --- /dev/null +++ b/node_modules/rxjs/_esm2015/util/ArgumentOutOfRangeError.js @@ -0,0 +1,19 @@ +/** + * An error thrown when an element was queried at a certain index of an + * Observable, but no such index or position exists in that sequence. + * + * @see {@link elementAt} + * @see {@link take} + * @see {@link takeLast} + * + * @class ArgumentOutOfRangeError + */ +export class ArgumentOutOfRangeError extends Error { + constructor() { + const err = super('argument out of range'); + this.name = err.name = 'ArgumentOutOfRangeError'; + this.stack = err.stack; + this.message = err.message; + } +} +//# sourceMappingURL=ArgumentOutOfRangeError.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/util/ArgumentOutOfRangeError.js.map b/node_modules/rxjs/_esm2015/util/ArgumentOutOfRangeError.js.map new file mode 100644 index 00000000..3764615b --- /dev/null +++ b/node_modules/rxjs/_esm2015/util/ArgumentOutOfRangeError.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ArgumentOutOfRangeError.js","sourceRoot":"","sources":["../../src/util/ArgumentOutOfRangeError.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,6CAA6C,KAAK;IAChD;QACE,MAAM,GAAG,GAAQ,MAAM,uBAAuB,CAAC,CAAC;QACzC,IAAK,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,GAAG,yBAAyB,CAAC;QAClD,IAAK,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QACxB,IAAK,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;IACrC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/util/EmptyError.js b/node_modules/rxjs/_esm2015/util/EmptyError.js new file mode 100644 index 00000000..26c40235 --- /dev/null +++ b/node_modules/rxjs/_esm2015/util/EmptyError.js @@ -0,0 +1,19 @@ +/** + * An error thrown when an Observable or a sequence was queried but has no + * elements. + * + * @see {@link first} + * @see {@link last} + * @see {@link single} + * + * @class EmptyError + */ +export class EmptyError extends Error { + constructor() { + const err = super('no elements in sequence'); + this.name = err.name = 'EmptyError'; + this.stack = err.stack; + this.message = err.message; + } +} +//# sourceMappingURL=EmptyError.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/util/EmptyError.js.map b/node_modules/rxjs/_esm2015/util/EmptyError.js.map new file mode 100644 index 00000000..0776cd2a --- /dev/null +++ b/node_modules/rxjs/_esm2015/util/EmptyError.js.map @@ -0,0 +1 @@ +{"version":3,"file":"EmptyError.js","sourceRoot":"","sources":["../../src/util/EmptyError.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,gCAAgC,KAAK;IACnC;QACE,MAAM,GAAG,GAAQ,MAAM,yBAAyB,CAAC,CAAC;QAC3C,IAAK,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,GAAG,YAAY,CAAC;QACrC,IAAK,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QACxB,IAAK,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;IACrC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/util/FastMap.js b/node_modules/rxjs/_esm2015/util/FastMap.js new file mode 100644 index 00000000..615849ee --- /dev/null +++ b/node_modules/rxjs/_esm2015/util/FastMap.js @@ -0,0 +1,28 @@ +export class FastMap { + constructor() { + this.values = {}; + } + delete(key) { + this.values[key] = null; + return true; + } + set(key, value) { + this.values[key] = value; + return this; + } + get(key) { + return this.values[key]; + } + forEach(cb, thisArg) { + const values = this.values; + for (let key in values) { + if (values.hasOwnProperty(key) && values[key] !== null) { + cb.call(thisArg, values[key], key); + } + } + } + clear() { + this.values = {}; + } +} +//# sourceMappingURL=FastMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/util/FastMap.js.map b/node_modules/rxjs/_esm2015/util/FastMap.js.map new file mode 100644 index 00000000..fac9c8f1 --- /dev/null +++ b/node_modules/rxjs/_esm2015/util/FastMap.js.map @@ -0,0 +1 @@ +{"version":3,"file":"FastMap.js","sourceRoot":"","sources":["../../src/util/FastMap.ts"],"names":[],"mappings":"AAAA;IAAA;QACU,WAAM,GAAW,EAAE,CAAC;IA4B9B,CAAC;IA1BC,MAAM,CAAC,GAAW;QAChB,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;QACxB,MAAM,CAAC,IAAI,CAAC;IACd,CAAC;IAED,GAAG,CAAC,GAAW,EAAE,KAAU;QACzB,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;QACzB,MAAM,CAAC,IAAI,CAAC;IACd,CAAC;IAED,GAAG,CAAC,GAAW;QACb,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAC1B,CAAC;IAED,OAAO,CAAC,EAAkC,EAAE,OAAa;QACvD,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,GAAG,CAAC,CAAC,IAAI,GAAG,IAAI,MAAM,CAAC,CAAC,CAAC;YACvB,EAAE,CAAC,CAAC,MAAM,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC;gBACvD,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC;YACrC,CAAC;QACH,CAAC;IACH,CAAC;IAED,KAAK;QACH,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;IACnB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/util/Immediate.js b/node_modules/rxjs/_esm2015/util/Immediate.js new file mode 100644 index 00000000..6e3876b5 --- /dev/null +++ b/node_modules/rxjs/_esm2015/util/Immediate.js @@ -0,0 +1,201 @@ +/** +Some credit for this helper goes to http://github.com/YuzuJS/setImmediate +*/ +import { root } from './root'; +export class ImmediateDefinition { + constructor(root) { + this.root = root; + if (root.setImmediate && typeof root.setImmediate === 'function') { + this.setImmediate = root.setImmediate.bind(root); + this.clearImmediate = root.clearImmediate.bind(root); + } + else { + this.nextHandle = 1; + this.tasksByHandle = {}; + this.currentlyRunningATask = false; + // Don't get fooled by e.g. browserify environments. + if (this.canUseProcessNextTick()) { + // For Node.js before 0.9 + this.setImmediate = this.createProcessNextTickSetImmediate(); + } + else if (this.canUsePostMessage()) { + // For non-IE10 modern browsers + this.setImmediate = this.createPostMessageSetImmediate(); + } + else if (this.canUseMessageChannel()) { + // For web workers, where supported + this.setImmediate = this.createMessageChannelSetImmediate(); + } + else if (this.canUseReadyStateChange()) { + // For IE 6–8 + this.setImmediate = this.createReadyStateChangeSetImmediate(); + } + else { + // For older browsers + this.setImmediate = this.createSetTimeoutSetImmediate(); + } + let ci = function clearImmediate(handle) { + delete clearImmediate.instance.tasksByHandle[handle]; + }; + ci.instance = this; + this.clearImmediate = ci; + } + } + identify(o) { + return this.root.Object.prototype.toString.call(o); + } + canUseProcessNextTick() { + return this.identify(this.root.process) === '[object process]'; + } + canUseMessageChannel() { + return Boolean(this.root.MessageChannel); + } + canUseReadyStateChange() { + const document = this.root.document; + return Boolean(document && 'onreadystatechange' in document.createElement('script')); + } + canUsePostMessage() { + const root = this.root; + // The test against `importScripts` prevents this implementation from being installed inside a web worker, + // where `root.postMessage` means something completely different and can't be used for this purpose. + if (root.postMessage && !root.importScripts) { + let postMessageIsAsynchronous = true; + let oldOnMessage = root.onmessage; + root.onmessage = function () { + postMessageIsAsynchronous = false; + }; + root.postMessage('', '*'); + root.onmessage = oldOnMessage; + return postMessageIsAsynchronous; + } + return false; + } + // This function accepts the same arguments as setImmediate, but + // returns a function that requires no arguments. + partiallyApplied(handler, ...args) { + let fn = function result() { + const { handler, args } = result; + if (typeof handler === 'function') { + handler.apply(undefined, args); + } + else { + (new Function('' + handler))(); + } + }; + fn.handler = handler; + fn.args = args; + return fn; + } + addFromSetImmediateArguments(args) { + this.tasksByHandle[this.nextHandle] = this.partiallyApplied.apply(undefined, args); + return this.nextHandle++; + } + createProcessNextTickSetImmediate() { + let fn = function setImmediate() { + const { instance } = setImmediate; + let handle = instance.addFromSetImmediateArguments(arguments); + instance.root.process.nextTick(instance.partiallyApplied(instance.runIfPresent, handle)); + return handle; + }; + fn.instance = this; + return fn; + } + createPostMessageSetImmediate() { + // Installs an event handler on `global` for the `message` event: see + // * https://developer.mozilla.org/en/DOM/window.postMessage + // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages + const root = this.root; + let messagePrefix = 'setImmediate$' + root.Math.random() + '$'; + let onGlobalMessage = function globalMessageHandler(event) { + const instance = globalMessageHandler.instance; + if (event.source === root && + typeof event.data === 'string' && + event.data.indexOf(messagePrefix) === 0) { + instance.runIfPresent(+event.data.slice(messagePrefix.length)); + } + }; + onGlobalMessage.instance = this; + root.addEventListener('message', onGlobalMessage, false); + let fn = function setImmediate() { + const { messagePrefix, instance } = setImmediate; + let handle = instance.addFromSetImmediateArguments(arguments); + instance.root.postMessage(messagePrefix + handle, '*'); + return handle; + }; + fn.instance = this; + fn.messagePrefix = messagePrefix; + return fn; + } + runIfPresent(handle) { + // From the spec: 'Wait until any invocations of this algorithm started before this one have completed.' + // So if we're currently running a task, we'll need to delay this invocation. + if (this.currentlyRunningATask) { + // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a + // 'too much recursion' error. + this.root.setTimeout(this.partiallyApplied(this.runIfPresent, handle), 0); + } + else { + let task = this.tasksByHandle[handle]; + if (task) { + this.currentlyRunningATask = true; + try { + task(); + } + finally { + this.clearImmediate(handle); + this.currentlyRunningATask = false; + } + } + } + } + createMessageChannelSetImmediate() { + let channel = new this.root.MessageChannel(); + channel.port1.onmessage = (event) => { + let handle = event.data; + this.runIfPresent(handle); + }; + let fn = function setImmediate() { + const { channel, instance } = setImmediate; + let handle = instance.addFromSetImmediateArguments(arguments); + channel.port2.postMessage(handle); + return handle; + }; + fn.channel = channel; + fn.instance = this; + return fn; + } + createReadyStateChangeSetImmediate() { + let fn = function setImmediate() { + const instance = setImmediate.instance; + const root = instance.root; + const doc = root.document; + const html = doc.documentElement; + let handle = instance.addFromSetImmediateArguments(arguments); + // Create a + + + + + diff --git a/main.js b/main.js index 64433afe..55340b42 100644 --- a/main.js +++ b/main.js @@ -1,19 +1,17 @@ "use strict"; -var Startup = /** @class */ (function () { - function Startup() { - } - Startup.main = function () { - var button = document.getElementById("submit"); - var userInput = document.getElementById("user_input"); - var button = document.getElementById("submit_button"); - var welcomeCasino = document.getElementById("display"); - button.addEventListener("click", function (e) { return putToDisplay(userInput.value); }); - }; - return Startup; -}()); -var webElement = document.getElementById("display"); +// import { BlackJack } from "./BlackJack"; +var button = document.getElementById("submit"); +var userInput = document.getElementById("user_input"); +var button = document.getElementById("submit_button"); +var hitButton = document.getElementById("hit_button"); +var startButton = document.getElementById("start_button"); +button.addEventListener("click", function (e) { return putToDisplay(userInput.value); }); +// var blackJack: BlackJack = new BlackJack(); +// startButton.addEventListener("click", (e:Event)=> blackJack.start()); function putToDisplay(text) { webElement.innerText += "\n"; webElement.innerText += text; } -Startup.main(); +function playGame() { + webElement.innerText += "damn"; +} diff --git a/main.ts b/main.ts index 2ae7ac6f..60f3f35b 100644 --- a/main.ts +++ b/main.ts @@ -1,17 +1,19 @@ -class Startup { - public static main(): void { - var button = document.getElementById("submit"); - var userInput: HTMLInputElement = document.getElementById("user_input"); - var button = document.getElementById("submit_button"); - const welcomeCasino = document.getElementById("display"); - button.addEventListener("click", (e:Event)=> putToDisplay(userInput.value)); - } -} - var webElement = document.getElementById("display"); - function putToDisplay(text: string){ - webElement.innerText += "\n"; - webElement.innerText += text; - } - -Startup.main(); +// import { BlackJack } from "./BlackJack"; + +var button = document.getElementById("submit"); +var userInput: HTMLInputElement = document.getElementById("user_input"); +var button = document.getElementById("submit_button"); +var hitButton = document.getElementById("hit_button"); +var startButton = document.getElementById("start_button"); +button.addEventListener("click", (e:Event)=> putToDisplay(userInput.value)); +// var blackJack: BlackJack = new BlackJack(); +// startButton.addEventListener("click", (e:Event)=> blackJack.start()); + +function putToDisplay(text: string){ + webElement.innerText += "\n"; + webElement.innerText += text; +} +function playGame(){ + webElement.innerText += "damn"; +} \ No newline at end of file diff --git a/node_modules/ansi-escapes/index.js b/node_modules/ansi-escapes/index.js deleted file mode 100644 index 1122cbfb..00000000 --- a/node_modules/ansi-escapes/index.js +++ /dev/null @@ -1,122 +0,0 @@ -'use strict'; -const x = module.exports; -const ESC = '\u001B['; -const OSC = '\u001B]'; -const BEL = '\u0007'; -const SEP = ';'; -const isTerminalApp = process.env.TERM_PROGRAM === 'Apple_Terminal'; - -x.cursorTo = (x, y) => { - if (typeof x !== 'number') { - throw new TypeError('The `x` argument is required'); - } - - if (typeof y !== 'number') { - return ESC + (x + 1) + 'G'; - } - - return ESC + (y + 1) + ';' + (x + 1) + 'H'; -}; - -x.cursorMove = (x, y) => { - if (typeof x !== 'number') { - throw new TypeError('The `x` argument is required'); - } - - let ret = ''; - - if (x < 0) { - ret += ESC + (-x) + 'D'; - } else if (x > 0) { - ret += ESC + x + 'C'; - } - - if (y < 0) { - ret += ESC + (-y) + 'A'; - } else if (y > 0) { - ret += ESC + y + 'B'; - } - - return ret; -}; - -x.cursorUp = count => ESC + (typeof count === 'number' ? count : 1) + 'A'; -x.cursorDown = count => ESC + (typeof count === 'number' ? count : 1) + 'B'; -x.cursorForward = count => ESC + (typeof count === 'number' ? count : 1) + 'C'; -x.cursorBackward = count => ESC + (typeof count === 'number' ? count : 1) + 'D'; - -x.cursorLeft = ESC + 'G'; -x.cursorSavePosition = ESC + (isTerminalApp ? '7' : 's'); -x.cursorRestorePosition = ESC + (isTerminalApp ? '8' : 'u'); -x.cursorGetPosition = ESC + '6n'; -x.cursorNextLine = ESC + 'E'; -x.cursorPrevLine = ESC + 'F'; -x.cursorHide = ESC + '?25l'; -x.cursorShow = ESC + '?25h'; - -x.eraseLines = count => { - let clear = ''; - - for (let i = 0; i < count; i++) { - clear += x.eraseLine + (i < count - 1 ? x.cursorUp() : ''); - } - - if (count) { - clear += x.cursorLeft; - } - - return clear; -}; - -x.eraseEndLine = ESC + 'K'; -x.eraseStartLine = ESC + '1K'; -x.eraseLine = ESC + '2K'; -x.eraseDown = ESC + 'J'; -x.eraseUp = ESC + '1J'; -x.eraseScreen = ESC + '2J'; -x.scrollUp = ESC + 'S'; -x.scrollDown = ESC + 'T'; - -x.clearScreen = '\u001Bc'; -x.beep = BEL; - -x.link = (text, url) => { - return [ - OSC, - '8', - SEP, - SEP, - url, - BEL, - text, - OSC, - '8', - SEP, - SEP, - BEL - ].join(''); -}; - -x.image = (buf, opts) => { - opts = opts || {}; - - let ret = OSC + '1337;File=inline=1'; - - if (opts.width) { - ret += `;width=${opts.width}`; - } - - if (opts.height) { - ret += `;height=${opts.height}`; - } - - if (opts.preserveAspectRatio === false) { - ret += ';preserveAspectRatio=0'; - } - - return ret + ':' + buf.toString('base64') + BEL; -}; - -x.iTerm = {}; - -x.iTerm.setCwd = cwd => OSC + '50;CurrentDir=' + (cwd || process.cwd()) + BEL; diff --git a/node_modules/ansi-escapes/license b/node_modules/ansi-escapes/license deleted file mode 100644 index e7af2f77..00000000 --- a/node_modules/ansi-escapes/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/ansi-escapes/package.json b/node_modules/ansi-escapes/package.json deleted file mode 100644 index 7f8004c3..00000000 --- a/node_modules/ansi-escapes/package.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "_from": "ansi-escapes@^3.0.0", - "_id": "ansi-escapes@3.1.0", - "_inBundle": false, - "_integrity": "sha512-UgAb8H9D41AQnu/PbWlCofQVcnV4Gs2bBJi9eZPxfU/hgglFh3SMDMENRIqdr7H6XFnXdoknctFByVsCOotTVw==", - "_location": "/ansi-escapes", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "ansi-escapes@^3.0.0", - "name": "ansi-escapes", - "escapedName": "ansi-escapes", - "rawSpec": "^3.0.0", - "saveSpec": null, - "fetchSpec": "^3.0.0" - }, - "_requiredBy": [ - "/inquirer" - ], - "_resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.1.0.tgz", - "_shasum": "f73207bb81207d75fd6c83f125af26eea378ca30", - "_spec": "ansi-escapes@^3.0.0", - "_where": "/Users/lawrencewu/Dev/CR-MacroLabs-TypeScript-Casino/node_modules/inquirer", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/sindresorhus/ansi-escapes/issues" - }, - "bundleDependencies": false, - "deprecated": false, - "description": "ANSI escape codes for manipulating the terminal", - "devDependencies": { - "ava": "*", - "xo": "*" - }, - "engines": { - "node": ">=4" - }, - "files": [ - "index.js" - ], - "homepage": "https://github.com/sindresorhus/ansi-escapes#readme", - "keywords": [ - "ansi", - "terminal", - "console", - "cli", - "string", - "tty", - "escape", - "escapes", - "formatting", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text", - "vt100", - "sequence", - "control", - "code", - "codes", - "cursor", - "iterm", - "iterm2" - ], - "license": "MIT", - "name": "ansi-escapes", - "repository": { - "type": "git", - "url": "git+https://github.com/sindresorhus/ansi-escapes.git" - }, - "scripts": { - "test": "xo && ava" - }, - "version": "3.1.0" -} diff --git a/node_modules/ansi-escapes/readme.md b/node_modules/ansi-escapes/readme.md deleted file mode 100644 index 38b459fc..00000000 --- a/node_modules/ansi-escapes/readme.md +++ /dev/null @@ -1,180 +0,0 @@ -# ansi-escapes [![Build Status](https://travis-ci.org/sindresorhus/ansi-escapes.svg?branch=master)](https://travis-ci.org/sindresorhus/ansi-escapes) - -> [ANSI escape codes](http://www.termsys.demon.co.uk/vtansi.htm) for manipulating the terminal - - -## Install - -``` -$ npm install ansi-escapes -``` - - -## Usage - -```js -const ansiEscapes = require('ansi-escapes'); - -// Moves the cursor two rows up and to the left -process.stdout.write(ansiEscapes.cursorUp(2) + ansiEscapes.cursorLeft); -//=> '\u001B[2A\u001B[1000D' -``` - - -## API - -### cursorTo(x, [y]) - -Set the absolute position of the cursor. `x0` `y0` is the top left of the screen. - -### cursorMove(x, [y]) - -Set the position of the cursor relative to its current position. - -### cursorUp(count) - -Move cursor up a specific amount of rows. Default is `1`. - -### cursorDown(count) - -Move cursor down a specific amount of rows. Default is `1`. - -### cursorForward(count) - -Move cursor forward a specific amount of rows. Default is `1`. - -### cursorBackward(count) - -Move cursor backward a specific amount of rows. Default is `1`. - -### cursorLeft - -Move cursor to the left side. - -### cursorSavePosition - -Save cursor position. - -### cursorRestorePosition - -Restore saved cursor position. - -### cursorGetPosition - -Get cursor position. - -### cursorNextLine - -Move cursor to the next line. - -### cursorPrevLine - -Move cursor to the previous line. - -### cursorHide - -Hide cursor. - -### cursorShow - -Show cursor. - -### eraseLines(count) - -Erase from the current cursor position up the specified amount of rows. - -### eraseEndLine - -Erase from the current cursor position to the end of the current line. - -### eraseStartLine - -Erase from the current cursor position to the start of the current line. - -### eraseLine - -Erase the entire current line. - -### eraseDown - -Erase the screen from the current line down to the bottom of the screen. - -### eraseUp - -Erase the screen from the current line up to the top of the screen. - -### eraseScreen - -Erase the screen and move the cursor the top left position. - -### scrollUp - -Scroll display up one line. - -### scrollDown - -Scroll display down one line. - -### clearScreen - -Clear the terminal screen. - -### beep - -Output a beeping sound. - -### link(text, url) - -Create a clickable link. - -[Supported terminals.](https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda) Use [`supports-hyperlinks`](https://github.com/jamestalmage/supports-hyperlinks) to detect link support. - -### image(input, [options]) - -Display an image. - -*Currently only supported on iTerm2 >=3* - -See [term-img](https://github.com/sindresorhus/term-img) for a higher-level module. - -#### input - -Type: `Buffer` - -Buffer of an image. Usually read in with `fs.readFile()`. - -#### options - -##### width -##### height - -Type: `string` `number` - -The width and height are given as a number followed by a unit, or the word "auto". - -- `N`: N character cells. -- `Npx`: N pixels. -- `N%`: N percent of the session's width or height. -- `auto`: The image's inherent size will be used to determine an appropriate dimension. - -##### preserveAspectRatio - -Type: `boolean`
-Default: `true` - -### iTerm.setCwd([path]) - -Type: `string`
-Default: `process.cwd()` - -[Inform iTerm2](https://www.iterm2.com/documentation-escape-codes.html) of the current directory to help semantic history and enable [Cmd-clicking relative paths](https://coderwall.com/p/b7e82q/quickly-open-files-in-iterm-with-cmd-click). - - -## Related - -- [ansi-styles](https://github.com/chalk/ansi-styles) - ANSI escape codes for styling strings in the terminal - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/ansi-regex/index.js b/node_modules/ansi-regex/index.js deleted file mode 100644 index c4aaecf5..00000000 --- a/node_modules/ansi-regex/index.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -module.exports = () => { - const pattern = [ - '[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)', - '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))' - ].join('|'); - - return new RegExp(pattern, 'g'); -}; diff --git a/node_modules/ansi-regex/license b/node_modules/ansi-regex/license deleted file mode 100644 index e7af2f77..00000000 --- a/node_modules/ansi-regex/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/ansi-regex/package.json b/node_modules/ansi-regex/package.json deleted file mode 100644 index 2a18c5ad..00000000 --- a/node_modules/ansi-regex/package.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "_from": "ansi-regex@^3.0.0", - "_id": "ansi-regex@3.0.0", - "_inBundle": false, - "_integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "_location": "/ansi-regex", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "ansi-regex@^3.0.0", - "name": "ansi-regex", - "escapedName": "ansi-regex", - "rawSpec": "^3.0.0", - "saveSpec": null, - "fetchSpec": "^3.0.0" - }, - "_requiredBy": [ - "/strip-ansi" - ], - "_resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "_shasum": "ed0317c322064f79466c02966bddb605ab37d998", - "_spec": "ansi-regex@^3.0.0", - "_where": "/Users/lawrencewu/Dev/CR-MacroLabs-TypeScript-Casino/node_modules/strip-ansi", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/chalk/ansi-regex/issues" - }, - "bundleDependencies": false, - "deprecated": false, - "description": "Regular expression for matching ANSI escape codes", - "devDependencies": { - "ava": "*", - "xo": "*" - }, - "engines": { - "node": ">=4" - }, - "files": [ - "index.js" - ], - "homepage": "https://github.com/chalk/ansi-regex#readme", - "keywords": [ - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "command-line", - "text", - "regex", - "regexp", - "re", - "match", - "test", - "find", - "pattern" - ], - "license": "MIT", - "name": "ansi-regex", - "repository": { - "type": "git", - "url": "git+https://github.com/chalk/ansi-regex.git" - }, - "scripts": { - "test": "xo && ava", - "view-supported": "node fixtures/view-codes.js" - }, - "version": "3.0.0" -} diff --git a/node_modules/ansi-regex/readme.md b/node_modules/ansi-regex/readme.md deleted file mode 100644 index 22db1c34..00000000 --- a/node_modules/ansi-regex/readme.md +++ /dev/null @@ -1,46 +0,0 @@ -# ansi-regex [![Build Status](https://travis-ci.org/chalk/ansi-regex.svg?branch=master)](https://travis-ci.org/chalk/ansi-regex) - -> Regular expression for matching [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) - - -## Install - -``` -$ npm install ansi-regex -``` - - -## Usage - -```js -const ansiRegex = require('ansi-regex'); - -ansiRegex().test('\u001B[4mcake\u001B[0m'); -//=> true - -ansiRegex().test('cake'); -//=> false - -'\u001B[4mcake\u001B[0m'.match(ansiRegex()); -//=> ['\u001B[4m', '\u001B[0m'] -``` - - -## FAQ - -### Why do you test for codes not in the ECMA 48 standard? - -Some of the codes we run as a test are codes that we acquired finding various lists of non-standard or manufacturer specific codes. We test for both standard and non-standard codes, as most of them follow the same or similar format and can be safely matched in strings without the risk of removing actual string content. There are a few non-standard control codes that do not follow the traditional format (i.e. they end in numbers) thus forcing us to exclude them from the test because we cannot reliably match them. - -On the historical side, those ECMA standards were established in the early 90's whereas the VT100, for example, was designed in the mid/late 70's. At that point in time, control codes were still pretty ungoverned and engineers used them for a multitude of things, namely to activate hardware ports that may have been proprietary. Somewhere else you see a similar 'anarchy' of codes is in the x86 architecture for processors; there are a ton of "interrupts" that can mean different things on certain brands of processors, most of which have been phased out. - - -## Maintainers - -- [Sindre Sorhus](https://github.com/sindresorhus) -- [Josh Junon](https://github.com/qix-) - - -## License - -MIT diff --git a/node_modules/ansi-styles/index.js b/node_modules/ansi-styles/index.js deleted file mode 100644 index 90a871c4..00000000 --- a/node_modules/ansi-styles/index.js +++ /dev/null @@ -1,165 +0,0 @@ -'use strict'; -const colorConvert = require('color-convert'); - -const wrapAnsi16 = (fn, offset) => function () { - const code = fn.apply(colorConvert, arguments); - return `\u001B[${code + offset}m`; -}; - -const wrapAnsi256 = (fn, offset) => function () { - const code = fn.apply(colorConvert, arguments); - return `\u001B[${38 + offset};5;${code}m`; -}; - -const wrapAnsi16m = (fn, offset) => function () { - const rgb = fn.apply(colorConvert, arguments); - return `\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`; -}; - -function assembleStyles() { - const codes = new Map(); - const styles = { - modifier: { - reset: [0, 0], - // 21 isn't widely supported and 22 does the same thing - bold: [1, 22], - dim: [2, 22], - italic: [3, 23], - underline: [4, 24], - inverse: [7, 27], - hidden: [8, 28], - strikethrough: [9, 29] - }, - color: { - black: [30, 39], - red: [31, 39], - green: [32, 39], - yellow: [33, 39], - blue: [34, 39], - magenta: [35, 39], - cyan: [36, 39], - white: [37, 39], - gray: [90, 39], - - // Bright color - redBright: [91, 39], - greenBright: [92, 39], - yellowBright: [93, 39], - blueBright: [94, 39], - magentaBright: [95, 39], - cyanBright: [96, 39], - whiteBright: [97, 39] - }, - bgColor: { - bgBlack: [40, 49], - bgRed: [41, 49], - bgGreen: [42, 49], - bgYellow: [43, 49], - bgBlue: [44, 49], - bgMagenta: [45, 49], - bgCyan: [46, 49], - bgWhite: [47, 49], - - // Bright color - bgBlackBright: [100, 49], - bgRedBright: [101, 49], - bgGreenBright: [102, 49], - bgYellowBright: [103, 49], - bgBlueBright: [104, 49], - bgMagentaBright: [105, 49], - bgCyanBright: [106, 49], - bgWhiteBright: [107, 49] - } - }; - - // Fix humans - styles.color.grey = styles.color.gray; - - for (const groupName of Object.keys(styles)) { - const group = styles[groupName]; - - for (const styleName of Object.keys(group)) { - const style = group[styleName]; - - styles[styleName] = { - open: `\u001B[${style[0]}m`, - close: `\u001B[${style[1]}m` - }; - - group[styleName] = styles[styleName]; - - codes.set(style[0], style[1]); - } - - Object.defineProperty(styles, groupName, { - value: group, - enumerable: false - }); - - Object.defineProperty(styles, 'codes', { - value: codes, - enumerable: false - }); - } - - const ansi2ansi = n => n; - const rgb2rgb = (r, g, b) => [r, g, b]; - - styles.color.close = '\u001B[39m'; - styles.bgColor.close = '\u001B[49m'; - - styles.color.ansi = { - ansi: wrapAnsi16(ansi2ansi, 0) - }; - styles.color.ansi256 = { - ansi256: wrapAnsi256(ansi2ansi, 0) - }; - styles.color.ansi16m = { - rgb: wrapAnsi16m(rgb2rgb, 0) - }; - - styles.bgColor.ansi = { - ansi: wrapAnsi16(ansi2ansi, 10) - }; - styles.bgColor.ansi256 = { - ansi256: wrapAnsi256(ansi2ansi, 10) - }; - styles.bgColor.ansi16m = { - rgb: wrapAnsi16m(rgb2rgb, 10) - }; - - for (let key of Object.keys(colorConvert)) { - if (typeof colorConvert[key] !== 'object') { - continue; - } - - const suite = colorConvert[key]; - - if (key === 'ansi16') { - key = 'ansi'; - } - - if ('ansi16' in suite) { - styles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0); - styles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10); - } - - if ('ansi256' in suite) { - styles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0); - styles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10); - } - - if ('rgb' in suite) { - styles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0); - styles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10); - } - } - - return styles; -} - -// Make the export immutable -Object.defineProperty(module, 'exports', { - enumerable: true, - get: assembleStyles -}); diff --git a/node_modules/ansi-styles/license b/node_modules/ansi-styles/license deleted file mode 100644 index e7af2f77..00000000 --- a/node_modules/ansi-styles/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/ansi-styles/package.json b/node_modules/ansi-styles/package.json deleted file mode 100644 index c9c946f8..00000000 --- a/node_modules/ansi-styles/package.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "_from": "ansi-styles@^3.2.1", - "_id": "ansi-styles@3.2.1", - "_inBundle": false, - "_integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "_location": "/ansi-styles", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "ansi-styles@^3.2.1", - "name": "ansi-styles", - "escapedName": "ansi-styles", - "rawSpec": "^3.2.1", - "saveSpec": null, - "fetchSpec": "^3.2.1" - }, - "_requiredBy": [ - "/chalk" - ], - "_resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "_shasum": "41fbb20243e50b12be0f04b8dedbf07520ce841d", - "_spec": "ansi-styles@^3.2.1", - "_where": "/Users/lawrencewu/Dev/CR-MacroLabs-TypeScript-Casino/node_modules/chalk", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "ava": { - "require": "babel-polyfill" - }, - "bugs": { - "url": "https://github.com/chalk/ansi-styles/issues" - }, - "bundleDependencies": false, - "dependencies": { - "color-convert": "^1.9.0" - }, - "deprecated": false, - "description": "ANSI escape codes for styling strings in the terminal", - "devDependencies": { - "ava": "*", - "babel-polyfill": "^6.23.0", - "svg-term-cli": "^2.1.1", - "xo": "*" - }, - "engines": { - "node": ">=4" - }, - "files": [ - "index.js" - ], - "homepage": "https://github.com/chalk/ansi-styles#readme", - "keywords": [ - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "license": "MIT", - "name": "ansi-styles", - "repository": { - "type": "git", - "url": "git+https://github.com/chalk/ansi-styles.git" - }, - "scripts": { - "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor", - "test": "xo && ava" - }, - "version": "3.2.1" -} diff --git a/node_modules/ansi-styles/readme.md b/node_modules/ansi-styles/readme.md deleted file mode 100644 index 3158e2df..00000000 --- a/node_modules/ansi-styles/readme.md +++ /dev/null @@ -1,147 +0,0 @@ -# ansi-styles [![Build Status](https://travis-ci.org/chalk/ansi-styles.svg?branch=master)](https://travis-ci.org/chalk/ansi-styles) - -> [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for styling strings in the terminal - -You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings. - - - - -## Install - -``` -$ npm install ansi-styles -``` - - -## Usage - -```js -const style = require('ansi-styles'); - -console.log(`${style.green.open}Hello world!${style.green.close}`); - - -// Color conversion between 16/256/truecolor -// NOTE: If conversion goes to 16 colors or 256 colors, the original color -// may be degraded to fit that color palette. This means terminals -// that do not support 16 million colors will best-match the -// original color. -console.log(style.bgColor.ansi.hsl(120, 80, 72) + 'Hello world!' + style.bgColor.close); -console.log(style.color.ansi256.rgb(199, 20, 250) + 'Hello world!' + style.color.close); -console.log(style.color.ansi16m.hex('#ABCDEF') + 'Hello world!' + style.color.close); -``` - -## API - -Each style has an `open` and `close` property. - - -## Styles - -### Modifiers - -- `reset` -- `bold` -- `dim` -- `italic` *(Not widely supported)* -- `underline` -- `inverse` -- `hidden` -- `strikethrough` *(Not widely supported)* - -### Colors - -- `black` -- `red` -- `green` -- `yellow` -- `blue` -- `magenta` -- `cyan` -- `white` -- `gray` ("bright black") -- `redBright` -- `greenBright` -- `yellowBright` -- `blueBright` -- `magentaBright` -- `cyanBright` -- `whiteBright` - -### Background colors - -- `bgBlack` -- `bgRed` -- `bgGreen` -- `bgYellow` -- `bgBlue` -- `bgMagenta` -- `bgCyan` -- `bgWhite` -- `bgBlackBright` -- `bgRedBright` -- `bgGreenBright` -- `bgYellowBright` -- `bgBlueBright` -- `bgMagentaBright` -- `bgCyanBright` -- `bgWhiteBright` - - -## Advanced usage - -By default, you get a map of styles, but the styles are also available as groups. They are non-enumerable so they don't show up unless you access them explicitly. This makes it easier to expose only a subset in a higher-level module. - -- `style.modifier` -- `style.color` -- `style.bgColor` - -###### Example - -```js -console.log(style.color.green.open); -``` - -Raw escape codes (i.e. without the CSI escape prefix `\u001B[` and render mode postfix `m`) are available under `style.codes`, which returns a `Map` with the open codes as keys and close codes as values. - -###### Example - -```js -console.log(style.codes.get(36)); -//=> 39 -``` - - -## [256 / 16 million (TrueColor) support](https://gist.github.com/XVilka/8346728) - -`ansi-styles` uses the [`color-convert`](https://github.com/Qix-/color-convert) package to allow for converting between various colors and ANSI escapes, with support for 256 and 16 million colors. - -To use these, call the associated conversion function with the intended output, for example: - -```js -style.color.ansi.rgb(100, 200, 15); // RGB to 16 color ansi foreground code -style.bgColor.ansi.rgb(100, 200, 15); // RGB to 16 color ansi background code - -style.color.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code -style.bgColor.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code - -style.color.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color foreground code -style.bgColor.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color background code -``` - - -## Related - -- [ansi-escapes](https://github.com/sindresorhus/ansi-escapes) - ANSI escape codes for manipulating the terminal - - -## Maintainers - -- [Sindre Sorhus](https://github.com/sindresorhus) -- [Josh Junon](https://github.com/qix-) - - -## License - -MIT diff --git a/node_modules/chalk/index.js b/node_modules/chalk/index.js deleted file mode 100644 index 1cc5fa89..00000000 --- a/node_modules/chalk/index.js +++ /dev/null @@ -1,228 +0,0 @@ -'use strict'; -const escapeStringRegexp = require('escape-string-regexp'); -const ansiStyles = require('ansi-styles'); -const stdoutColor = require('supports-color').stdout; - -const template = require('./templates.js'); - -const isSimpleWindowsTerm = process.platform === 'win32' && !(process.env.TERM || '').toLowerCase().startsWith('xterm'); - -// `supportsColor.level` → `ansiStyles.color[name]` mapping -const levelMapping = ['ansi', 'ansi', 'ansi256', 'ansi16m']; - -// `color-convert` models to exclude from the Chalk API due to conflicts and such -const skipModels = new Set(['gray']); - -const styles = Object.create(null); - -function applyOptions(obj, options) { - options = options || {}; - - // Detect level if not set manually - const scLevel = stdoutColor ? stdoutColor.level : 0; - obj.level = options.level === undefined ? scLevel : options.level; - obj.enabled = 'enabled' in options ? options.enabled : obj.level > 0; -} - -function Chalk(options) { - // We check for this.template here since calling `chalk.constructor()` - // by itself will have a `this` of a previously constructed chalk object - if (!this || !(this instanceof Chalk) || this.template) { - const chalk = {}; - applyOptions(chalk, options); - - chalk.template = function () { - const args = [].slice.call(arguments); - return chalkTag.apply(null, [chalk.template].concat(args)); - }; - - Object.setPrototypeOf(chalk, Chalk.prototype); - Object.setPrototypeOf(chalk.template, chalk); - - chalk.template.constructor = Chalk; - - return chalk.template; - } - - applyOptions(this, options); -} - -// Use bright blue on Windows as the normal blue color is illegible -if (isSimpleWindowsTerm) { - ansiStyles.blue.open = '\u001B[94m'; -} - -for (const key of Object.keys(ansiStyles)) { - ansiStyles[key].closeRe = new RegExp(escapeStringRegexp(ansiStyles[key].close), 'g'); - - styles[key] = { - get() { - const codes = ansiStyles[key]; - return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, key); - } - }; -} - -styles.visible = { - get() { - return build.call(this, this._styles || [], true, 'visible'); - } -}; - -ansiStyles.color.closeRe = new RegExp(escapeStringRegexp(ansiStyles.color.close), 'g'); -for (const model of Object.keys(ansiStyles.color.ansi)) { - if (skipModels.has(model)) { - continue; - } - - styles[model] = { - get() { - const level = this.level; - return function () { - const open = ansiStyles.color[levelMapping[level]][model].apply(null, arguments); - const codes = { - open, - close: ansiStyles.color.close, - closeRe: ansiStyles.color.closeRe - }; - return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model); - }; - } - }; -} - -ansiStyles.bgColor.closeRe = new RegExp(escapeStringRegexp(ansiStyles.bgColor.close), 'g'); -for (const model of Object.keys(ansiStyles.bgColor.ansi)) { - if (skipModels.has(model)) { - continue; - } - - const bgModel = 'bg' + model[0].toUpperCase() + model.slice(1); - styles[bgModel] = { - get() { - const level = this.level; - return function () { - const open = ansiStyles.bgColor[levelMapping[level]][model].apply(null, arguments); - const codes = { - open, - close: ansiStyles.bgColor.close, - closeRe: ansiStyles.bgColor.closeRe - }; - return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model); - }; - } - }; -} - -const proto = Object.defineProperties(() => {}, styles); - -function build(_styles, _empty, key) { - const builder = function () { - return applyStyle.apply(builder, arguments); - }; - - builder._styles = _styles; - builder._empty = _empty; - - const self = this; - - Object.defineProperty(builder, 'level', { - enumerable: true, - get() { - return self.level; - }, - set(level) { - self.level = level; - } - }); - - Object.defineProperty(builder, 'enabled', { - enumerable: true, - get() { - return self.enabled; - }, - set(enabled) { - self.enabled = enabled; - } - }); - - // See below for fix regarding invisible grey/dim combination on Windows - builder.hasGrey = this.hasGrey || key === 'gray' || key === 'grey'; - - // `__proto__` is used because we must return a function, but there is - // no way to create a function with a different prototype - builder.__proto__ = proto; // eslint-disable-line no-proto - - return builder; -} - -function applyStyle() { - // Support varags, but simply cast to string in case there's only one arg - const args = arguments; - const argsLen = args.length; - let str = String(arguments[0]); - - if (argsLen === 0) { - return ''; - } - - if (argsLen > 1) { - // Don't slice `arguments`, it prevents V8 optimizations - for (let a = 1; a < argsLen; a++) { - str += ' ' + args[a]; - } - } - - if (!this.enabled || this.level <= 0 || !str) { - return this._empty ? '' : str; - } - - // Turns out that on Windows dimmed gray text becomes invisible in cmd.exe, - // see https://github.com/chalk/chalk/issues/58 - // If we're on Windows and we're dealing with a gray color, temporarily make 'dim' a noop. - const originalDim = ansiStyles.dim.open; - if (isSimpleWindowsTerm && this.hasGrey) { - ansiStyles.dim.open = ''; - } - - for (const code of this._styles.slice().reverse()) { - // Replace any instances already present with a re-opening code - // otherwise only the part of the string until said closing code - // will be colored, and the rest will simply be 'plain'. - str = code.open + str.replace(code.closeRe, code.open) + code.close; - - // Close the styling before a linebreak and reopen - // after next line to fix a bleed issue on macOS - // https://github.com/chalk/chalk/pull/92 - str = str.replace(/\r?\n/g, `${code.close}$&${code.open}`); - } - - // Reset the original `dim` if we changed it to work around the Windows dimmed gray issue - ansiStyles.dim.open = originalDim; - - return str; -} - -function chalkTag(chalk, strings) { - if (!Array.isArray(strings)) { - // If chalk() was called by itself or with a string, - // return the string itself as a string. - return [].slice.call(arguments, 1).join(' '); - } - - const args = [].slice.call(arguments, 2); - const parts = [strings.raw[0]]; - - for (let i = 1; i < strings.length; i++) { - parts.push(String(args[i - 1]).replace(/[{}\\]/g, '\\$&')); - parts.push(String(strings.raw[i])); - } - - return template(chalk, parts.join('')); -} - -Object.defineProperties(Chalk.prototype, styles); - -module.exports = Chalk(); // eslint-disable-line new-cap -module.exports.supportsColor = stdoutColor; -module.exports.default = module.exports; // For TypeScript diff --git a/node_modules/chalk/license b/node_modules/chalk/license deleted file mode 100644 index e7af2f77..00000000 --- a/node_modules/chalk/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/chalk/package.json b/node_modules/chalk/package.json deleted file mode 100644 index 9fef5da4..00000000 --- a/node_modules/chalk/package.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "_from": "chalk@^2.0.0", - "_id": "chalk@2.3.2", - "_inBundle": false, - "_integrity": "sha512-ZM4j2/ld/YZDc3Ma8PgN7gyAk+kHMMMyzLNryCPGhWrsfAuDVeuid5bpRFTDgMH9JBK2lA4dyyAkkZYF/WcqDQ==", - "_location": "/chalk", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "chalk@^2.0.0", - "name": "chalk", - "escapedName": "chalk", - "rawSpec": "^2.0.0", - "saveSpec": null, - "fetchSpec": "^2.0.0" - }, - "_requiredBy": [ - "/inquirer" - ], - "_resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.2.tgz", - "_shasum": "250dc96b07491bfd601e648d66ddf5f60c7a5c65", - "_spec": "chalk@^2.0.0", - "_where": "/Users/lawrencewu/Dev/CR-MacroLabs-TypeScript-Casino/node_modules/inquirer", - "bugs": { - "url": "https://github.com/chalk/chalk/issues" - }, - "bundleDependencies": false, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "deprecated": false, - "description": "Terminal string styling done right", - "devDependencies": { - "ava": "*", - "coveralls": "^3.0.0", - "execa": "^0.9.0", - "import-fresh": "^2.0.0", - "matcha": "^0.7.0", - "nyc": "^11.0.2", - "resolve-from": "^4.0.0", - "typescript": "^2.5.3", - "xo": "*" - }, - "engines": { - "node": ">=4" - }, - "files": [ - "index.js", - "templates.js", - "types/index.d.ts" - ], - "homepage": "https://github.com/chalk/chalk#readme", - "keywords": [ - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "str", - "ansi", - "style", - "styles", - "tty", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "license": "MIT", - "name": "chalk", - "repository": { - "type": "git", - "url": "git+https://github.com/chalk/chalk.git" - }, - "scripts": { - "bench": "matcha benchmark.js", - "coveralls": "nyc report --reporter=text-lcov | coveralls", - "test": "xo && tsc --project types && nyc ava" - }, - "types": "types/index.d.ts", - "version": "2.3.2", - "xo": { - "envs": [ - "node", - "mocha" - ] - } -} diff --git a/node_modules/chalk/readme.md b/node_modules/chalk/readme.md deleted file mode 100644 index f96a9642..00000000 --- a/node_modules/chalk/readme.md +++ /dev/null @@ -1,309 +0,0 @@ -

-
-
- chalk -
-
-
-

- -> Terminal string styling done right - -[![Build Status](https://travis-ci.org/chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk) [![Coverage Status](https://coveralls.io/repos/github/chalk/chalk/badge.svg?branch=master)](https://coveralls.io/github/chalk/chalk?branch=master) [![](https://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) [![Mentioned in Awesome Node.js](https://awesome.re/mentioned-badge.svg)](https://github.com/sindresorhus/awesome-nodejs) - -### [See what's new in Chalk 2](https://github.com/chalk/chalk/releases/tag/v2.0.0) - - - - -## Highlights - -- Expressive API -- Highly performant -- Ability to nest styles -- [256/Truecolor color support](#256-and-truecolor-color-support) -- Auto-detects color support -- Doesn't extend `String.prototype` -- Clean and focused -- Actively maintained -- [Used by ~23,000 packages](https://www.npmjs.com/browse/depended/chalk) as of December 31, 2017 - - -## Install - -```console -$ npm install chalk -``` - - -## Usage - -```js -const chalk = require('chalk'); - -console.log(chalk.blue('Hello world!')); -``` - -Chalk comes with an easy to use composable API where you just chain and nest the styles you want. - -```js -const chalk = require('chalk'); -const log = console.log; - -// Combine styled and normal strings -log(chalk.blue('Hello') + ' World' + chalk.red('!')); - -// Compose multiple styles using the chainable API -log(chalk.blue.bgRed.bold('Hello world!')); - -// Pass in multiple arguments -log(chalk.blue('Hello', 'World!', 'Foo', 'bar', 'biz', 'baz')); - -// Nest styles -log(chalk.red('Hello', chalk.underline.bgBlue('world') + '!')); - -// Nest styles of the same type even (color, underline, background) -log(chalk.green( - 'I am a green line ' + - chalk.blue.underline.bold('with a blue substring') + - ' that becomes green again!' -)); - -// ES2015 template literal -log(` -CPU: ${chalk.red('90%')} -RAM: ${chalk.green('40%')} -DISK: ${chalk.yellow('70%')} -`); - -// ES2015 tagged template literal -log(chalk` -CPU: {red ${cpu.totalPercent}%} -RAM: {green ${ram.used / ram.total * 100}%} -DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%} -`); - -// Use RGB colors in terminal emulators that support it. -log(chalk.keyword('orange')('Yay for orange colored text!')); -log(chalk.rgb(123, 45, 67).underline('Underlined reddish color')); -log(chalk.hex('#DEADED').bold('Bold gray!')); -``` - -Easily define your own themes: - -```js -const chalk = require('chalk'); - -const error = chalk.bold.red; -const warning = chalk.keyword('orange'); - -console.log(error('Error!')); -console.log(warning('Warning!')); -``` - -Take advantage of console.log [string substitution](https://nodejs.org/docs/latest/api/console.html#console_console_log_data_args): - -```js -const name = 'Sindre'; -console.log(chalk.green('Hello %s'), name); -//=> 'Hello Sindre' -``` - - -## API - -### chalk.` - - -
- - - - - - - diff --git a/node_modules/mute-stream/coverage/lcov-report/__root__/mute.js.html b/node_modules/mute-stream/coverage/lcov-report/__root__/mute.js.html deleted file mode 100644 index 375a8326..00000000 --- a/node_modules/mute-stream/coverage/lcov-report/__root__/mute.js.html +++ /dev/null @@ -1,500 +0,0 @@ - - - - Code coverage report for mute.js - - - - - - - -
-
-

- all files / __root__/ mute.js -

-
-
- 77.03% - Statements - 57/74 -
-
- 57.14% - Branches - 28/49 -
-
- 93.33% - Functions - 14/15 -
-
- 79.1% - Lines - 53/67 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 -101 -102 -103 -104 -105 -106 -107 -108 -109 -110 -111 -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136 -137 -138 -139 -140 -141 -142 -143 -144 -145 -146 -  - -  -  -  - - - - - - - -  -  -  -  - - -  -  - -  - -  -  -  -  - -10× -  -  - - -  -  - -  -  -  -  -  -  - - -  -  - -  -  -  -  -  -  - - -  -  -  -  -  -  - - -  -  -  -  -  -  -  - -  - -  -  -  -  - -  - -  -  -  -  -  - - - -  -  - - -  -  - - -  -  - -25× -13× - -  -  -  -  -  -  -  -  - -  -  -  -  -  - -  -  -20× -  -  - - - -  -  - -  -  - - -  -  - -  -  -  -  -  -  - - - - 
var Stream = require('stream')
- 
-module.exports = MuteStream
- 
-// var out = new MuteStream(process.stdout)
-// argument auto-pipes
-function MuteStream (opts) {
-  Stream.apply(this)
-  opts = opts || {}
-  this.writable = this.readable = true
-  this.muted = false
-  this.on('pipe', this._onpipe)
-  this.replace = opts.replace
- 
-  // For readline-type situations
-  // This much at the start of a line being redrawn after a ctrl char
-  // is seen (such as backspace) won't be redrawn as the replacement
-  this._prompt = opts.prompt || null
-  this._hadControl = false
-}
- 
-MuteStream.prototype = Object.create(Stream.prototype)
- 
-Object.defineProperty(MuteStream.prototype, 'constructor', {
-  value: MuteStream,
-  enumerable: false
-})
- 
-MuteStream.prototype.mute = function () {
-  this.muted = true
-}
- 
-MuteStream.prototype.unmute = function () {
-  this.muted = false
-}
- 
-Object.defineProperty(MuteStream.prototype, '_onpipe', {
-  value: onPipe,
-  enumerable: false,
-  writable: true,
-  configurable: true
-})
- 
-function onPipe (src) {
-  this._src = src
-}
- 
-Object.defineProperty(MuteStream.prototype, 'isTTY', {
-  get: getIsTTY,
-  set: setIsTTY,
-  enumerable: true,
-  configurable: true
-})
- 
-function getIsTTY () {
-  return( (this._dest) ? this._dest.isTTY
-        : (this._src) ? this._src.isTTY
-        : false
-        )
-}
- 
-// basically just get replace the getter/setter with a regular value
-function setIsTTY (isTTY) {
-  Object.defineProperty(this, 'isTTY', {
-    value: isTTY,
-    enumerable: true,
-    writable: true,
-    configurable: true
-  })
-}
- 
-Object.defineProperty(MuteStream.prototype, 'rows', {
-  get: function () {
-    return( this._dest ? this._dest.rows
-          : this._src ? this._src.rows
-          : undefined )
-  }, enumerable: true, configurable: true })
- 
-Object.defineProperty(MuteStream.prototype, 'columns', {
-  get: function () {
-    return( this._dest ? this._dest.columns
-          : this._src ? this._src.columns
-          : undefined )
-  }, enumerable: true, configurable: true })
- 
- 
-MuteStream.prototype.pipe = function (dest, options) {
-  this._dest = dest
-  return Stream.prototype.pipe.call(this, dest, options)
-}
- 
-MuteStream.prototype.pause = function () {
-  Eif (this._src) return this._src.pause()
-}
- 
-MuteStream.prototype.resume = function () {
-  Eif (this._src) return this._src.resume()
-}
- 
-MuteStream.prototype.write = function (c) {
-  if (this.muted) {
-    if (!this.replace) return true
-    Iif (c.match(/^\u001b/)) {
-      if(c.indexOf(this._prompt) === 0) {
-        c = c.substr(this._prompt.length);
-        c = c.replace(/./g, this.replace);
-        c = this._prompt + c;
-      }
-      this._hadControl = true
-      return this.emit('data', c)
-    } else {
-      Iif (this._prompt && this._hadControl &&
-          c.indexOf(this._prompt) === 0) {
-        this._hadControl = false
-        this.emit('data', this._prompt)
-        c = c.substr(this._prompt.length)
-      }
-      c = c.toString().replace(/./g, this.replace)
-    }
-  }
-  this.emit('data', c)
-}
- 
-MuteStream.prototype.end = function (c) {
-  Eif (this.muted) {
-    Iif (c && this.replace) {
-      c = c.toString().replace(/./g, this.replace)
-    } else {
-      c = null
-    }
-  }
-  Iif (c) this.emit('data', c)
-  this.emit('end')
-}
- 
-function proxy (fn) { return function () {
-  var d = this._dest
-  var s = this._src
-  if (d && d[fn]) d[fn].apply(d, arguments)
-  if (s && s[fn]) s[fn].apply(s, arguments)
-}}
- 
-MuteStream.prototype.destroy = proxy('destroy')
-MuteStream.prototype.destroySoon = proxy('destroySoon')
-MuteStream.prototype.close = proxy('close')
- 
-
-
- - - - - - - diff --git a/node_modules/mute-stream/coverage/lcov-report/base.css b/node_modules/mute-stream/coverage/lcov-report/base.css deleted file mode 100644 index 0c0571da..00000000 --- a/node_modules/mute-stream/coverage/lcov-report/base.css +++ /dev/null @@ -1,212 +0,0 @@ -body, html { - margin:0; padding: 0; - height: 100%; -} -body { - font-family: Helvetica Neue, Helvetica, Arial; - font-size: 14px; - color:#333; -} -.small { font-size: 12px;; } -*, *:after, *:before { - -webkit-box-sizing:border-box; - -moz-box-sizing:border-box; - box-sizing:border-box; - } -h1 { font-size: 20px; margin: 0;} -h2 { font-size: 14px; } -pre { - font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace; - margin: 0; - padding: 0; - -moz-tab-size: 2; - -o-tab-size: 2; - tab-size: 2; -} -a { color:#0074D9; text-decoration:none; } -a:hover { text-decoration:underline; } -.strong { font-weight: bold; } -.space-top1 { padding: 10px 0 0 0; } -.pad2y { padding: 20px 0; } -.pad1y { padding: 10px 0; } -.pad2x { padding: 0 20px; } -.pad2 { padding: 20px; } -.pad1 { padding: 10px; } -.space-left2 { padding-left:55px; } -.space-right2 { padding-right:20px; } -.center { text-align:center; } -.clearfix { display:block; } -.clearfix:after { - content:''; - display:block; - height:0; - clear:both; - visibility:hidden; - } -.fl { float: left; } -@media only screen and (max-width:640px) { - .col3 { width:100%; max-width:100%; } - .hide-mobile { display:none!important; } -} - -.quiet { - color: #7f7f7f; - color: rgba(0,0,0,0.5); -} -.quiet a { opacity: 0.7; } - -.fraction { - font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; - font-size: 10px; - color: #555; - background: #E8E8E8; - padding: 4px 5px; - border-radius: 3px; - vertical-align: middle; -} - -div.path a:link, div.path a:visited { color: #333; } -table.coverage { - border-collapse: collapse; - margin: 10px 0 0 0; - padding: 0; -} - -table.coverage td { - margin: 0; - padding: 0; - vertical-align: top; -} -table.coverage td.line-count { - text-align: right; - padding: 0 5px 0 20px; -} -table.coverage td.line-coverage { - text-align: right; - padding-right: 10px; - min-width:20px; -} - -table.coverage td span.cline-any { - display: inline-block; - padding: 0 5px; - width: 100%; -} -.missing-if-branch { - display: inline-block; - margin-right: 5px; - border-radius: 3px; - position: relative; - padding: 0 4px; - background: #333; - color: yellow; -} - -.skip-if-branch { - display: none; - margin-right: 10px; - position: relative; - padding: 0 4px; - background: #ccc; - color: white; -} -.missing-if-branch .typ, .skip-if-branch .typ { - color: inherit !important; -} -.coverage-summary { - border-collapse: collapse; - width: 100%; -} -.coverage-summary tr { border-bottom: 1px solid #bbb; } -.keyline-all { border: 1px solid #ddd; } -.coverage-summary td, .coverage-summary th { padding: 10px; } -.coverage-summary tbody { border: 1px solid #bbb; } -.coverage-summary td { border-right: 1px solid #bbb; } -.coverage-summary td:last-child { border-right: none; } -.coverage-summary th { - text-align: left; - font-weight: normal; - white-space: nowrap; -} -.coverage-summary th.file { border-right: none !important; } -.coverage-summary th.pct { } -.coverage-summary th.pic, -.coverage-summary th.abs, -.coverage-summary td.pct, -.coverage-summary td.abs { text-align: right; } -.coverage-summary td.file { white-space: nowrap; } -.coverage-summary td.pic { min-width: 120px !important; } -.coverage-summary tfoot td { } - -.coverage-summary .sorter { - height: 10px; - width: 7px; - display: inline-block; - margin-left: 0.5em; - background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent; -} -.coverage-summary .sorted .sorter { - background-position: 0 -20px; -} -.coverage-summary .sorted-desc .sorter { - background-position: 0 -10px; -} -.status-line { height: 10px; } -/* dark red */ -.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 } -.low .chart { border:1px solid #C21F39 } -/* medium red */ -.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE } -/* light red */ -.low, .cline-no { background:#FCE1E5 } -/* light green */ -.high, .cline-yes { background:rgb(230,245,208) } -/* medium green */ -.cstat-yes { background:rgb(161,215,106) } -/* dark green */ -.status-line.high, .high .cover-fill { background:rgb(77,146,33) } -.high .chart { border:1px solid rgb(77,146,33) } - - -.medium .chart { border:1px solid #666; } -.medium .cover-fill { background: #666; } - -.cbranch-no { background: yellow !important; color: #111; } - -.cstat-skip { background: #ddd; color: #111; } -.fstat-skip { background: #ddd; color: #111 !important; } -.cbranch-skip { background: #ddd !important; color: #111; } - -span.cline-neutral { background: #eaeaea; } -.medium { background: #eaeaea; } - -.cover-fill, .cover-empty { - display:inline-block; - height: 12px; -} -.chart { - line-height: 0; -} -.cover-empty { - background: white; -} -.cover-full { - border-right: none !important; -} -pre.prettyprint { - border: none !important; - padding: 0 !important; - margin: 0 !important; -} -.com { color: #999 !important; } -.ignore-none { color: #999; font-weight: normal; } - -.wrapper { - min-height: 100%; - height: auto !important; - height: 100%; - margin: 0 auto -48px; -} -.footer, .push { - height: 48px; -} diff --git a/node_modules/mute-stream/coverage/lcov-report/index.html b/node_modules/mute-stream/coverage/lcov-report/index.html deleted file mode 100644 index 17d7a760..00000000 --- a/node_modules/mute-stream/coverage/lcov-report/index.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - Code coverage report for All files - - - - - - - -
-
-

- / -

-
-
- 77.03% - Statements - 57/74 -
-
- 57.14% - Branches - 28/49 -
-
- 93.33% - Functions - 14/15 -
-
- 79.1% - Lines - 53/67 -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
__root__/
77.03%57/7457.14%28/4993.33%14/1579.1%53/67
-
-
- - - - - - - diff --git a/node_modules/mute-stream/coverage/lcov-report/prettify.css b/node_modules/mute-stream/coverage/lcov-report/prettify.css deleted file mode 100644 index b317a7cd..00000000 --- a/node_modules/mute-stream/coverage/lcov-report/prettify.css +++ /dev/null @@ -1 +0,0 @@ -.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee} diff --git a/node_modules/mute-stream/coverage/lcov-report/prettify.js b/node_modules/mute-stream/coverage/lcov-report/prettify.js deleted file mode 100644 index ef51e038..00000000 --- a/node_modules/mute-stream/coverage/lcov-report/prettify.js +++ /dev/null @@ -1 +0,0 @@ -window.PR_SHOULD_USE_CONTINUATION=true;(function(){var h=["break,continue,do,else,for,if,return,while"];var u=[h,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"];var p=[u,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"];var l=[p,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"];var x=[p,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"];var R=[x,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"];var r="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes";var w=[p,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"];var s="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END";var I=[h,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"];var f=[h,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"];var H=[h,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"];var A=[l,R,w,s+I,f,H];var e=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/;var C="str";var z="kwd";var j="com";var O="typ";var G="lit";var L="pun";var F="pln";var m="tag";var E="dec";var J="src";var P="atn";var n="atv";var N="nocode";var M="(?:^^\\.?|[+-]|\\!|\\!=|\\!==|\\#|\\%|\\%=|&|&&|&&=|&=|\\(|\\*|\\*=|\\+=|\\,|\\-=|\\->|\\/|\\/=|:|::|\\;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\@|\\[|\\^|\\^=|\\^\\^|\\^\\^=|\\{|\\||\\|=|\\|\\||\\|\\|=|\\~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function k(Z){var ad=0;var S=false;var ac=false;for(var V=0,U=Z.length;V122)){if(!(al<65||ag>90)){af.push([Math.max(65,ag)|32,Math.min(al,90)|32])}if(!(al<97||ag>122)){af.push([Math.max(97,ag)&~32,Math.min(al,122)&~32])}}}}af.sort(function(av,au){return(av[0]-au[0])||(au[1]-av[1])});var ai=[];var ap=[NaN,NaN];for(var ar=0;arat[0]){if(at[1]+1>at[0]){an.push("-")}an.push(T(at[1]))}}an.push("]");return an.join("")}function W(al){var aj=al.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g"));var ah=aj.length;var an=[];for(var ak=0,am=0;ak=2&&ai==="["){aj[ak]=X(ag)}else{if(ai!=="\\"){aj[ak]=ag.replace(/[a-zA-Z]/g,function(ao){var ap=ao.charCodeAt(0);return"["+String.fromCharCode(ap&~32,ap|32)+"]"})}}}}return aj.join("")}var aa=[];for(var V=0,U=Z.length;V=0;){S[ac.charAt(ae)]=Y}}var af=Y[1];var aa=""+af;if(!ag.hasOwnProperty(aa)){ah.push(af);ag[aa]=null}}ah.push(/[\0-\uffff]/);V=k(ah)})();var X=T.length;var W=function(ah){var Z=ah.sourceCode,Y=ah.basePos;var ad=[Y,F];var af=0;var an=Z.match(V)||[];var aj={};for(var ae=0,aq=an.length;ae=5&&"lang-"===ap.substring(0,5);if(am&&!(ai&&typeof ai[1]==="string")){am=false;ap=J}if(!am){aj[ag]=ap}}var ab=af;af+=ag.length;if(!am){ad.push(Y+ab,ap)}else{var al=ai[1];var ak=ag.indexOf(al);var ac=ak+al.length;if(ai[2]){ac=ag.length-ai[2].length;ak=ac-al.length}var ar=ap.substring(5);B(Y+ab,ag.substring(0,ak),W,ad);B(Y+ab+ak,al,q(ar,al),ad);B(Y+ab+ac,ag.substring(ac),W,ad)}}ah.decorations=ad};return W}function i(T){var W=[],S=[];if(T.tripleQuotedStrings){W.push([C,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""])}else{if(T.multiLineStrings){W.push([C,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"])}else{W.push([C,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"])}}if(T.verbatimStrings){S.push([C,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null])}var Y=T.hashComments;if(Y){if(T.cStyleComments){if(Y>1){W.push([j,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"])}else{W.push([j,/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"])}S.push([C,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,null])}else{W.push([j,/^#[^\r\n]*/,null,"#"])}}if(T.cStyleComments){S.push([j,/^\/\/[^\r\n]*/,null]);S.push([j,/^\/\*[\s\S]*?(?:\*\/|$)/,null])}if(T.regexLiterals){var X=("/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/");S.push(["lang-regex",new RegExp("^"+M+"("+X+")")])}var V=T.types;if(V){S.push([O,V])}var U=(""+T.keywords).replace(/^ | $/g,"");if(U.length){S.push([z,new RegExp("^(?:"+U.replace(/[\s,]+/g,"|")+")\\b"),null])}W.push([F,/^\s+/,null," \r\n\t\xA0"]);S.push([G,/^@[a-z_$][a-z_$@0-9]*/i,null],[O,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[F,/^[a-z_$][a-z_$@0-9]*/i,null],[G,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[F,/^\\[\s\S]?/,null],[L,/^.[^\s\w\.$@\'\"\`\/\#\\]*/,null]);return g(W,S)}var K=i({keywords:A,hashComments:true,cStyleComments:true,multiLineStrings:true,regexLiterals:true});function Q(V,ag){var U=/(?:^|\s)nocode(?:\s|$)/;var ab=/\r\n?|\n/;var ac=V.ownerDocument;var S;if(V.currentStyle){S=V.currentStyle.whiteSpace}else{if(window.getComputedStyle){S=ac.defaultView.getComputedStyle(V,null).getPropertyValue("white-space")}}var Z=S&&"pre"===S.substring(0,3);var af=ac.createElement("LI");while(V.firstChild){af.appendChild(V.firstChild)}var W=[af];function ae(al){switch(al.nodeType){case 1:if(U.test(al.className)){break}if("BR"===al.nodeName){ad(al);if(al.parentNode){al.parentNode.removeChild(al)}}else{for(var an=al.firstChild;an;an=an.nextSibling){ae(an)}}break;case 3:case 4:if(Z){var am=al.nodeValue;var aj=am.match(ab);if(aj){var ai=am.substring(0,aj.index);al.nodeValue=ai;var ah=am.substring(aj.index+aj[0].length);if(ah){var ak=al.parentNode;ak.insertBefore(ac.createTextNode(ah),al.nextSibling)}ad(al);if(!ai){al.parentNode.removeChild(al)}}}break}}function ad(ak){while(!ak.nextSibling){ak=ak.parentNode;if(!ak){return}}function ai(al,ar){var aq=ar?al.cloneNode(false):al;var ao=al.parentNode;if(ao){var ap=ai(ao,1);var an=al.nextSibling;ap.appendChild(aq);for(var am=an;am;am=an){an=am.nextSibling;ap.appendChild(am)}}return aq}var ah=ai(ak.nextSibling,0);for(var aj;(aj=ah.parentNode)&&aj.nodeType===1;){ah=aj}W.push(ah)}for(var Y=0;Y=S){ah+=2}if(V>=ap){Z+=2}}}var t={};function c(U,V){for(var S=V.length;--S>=0;){var T=V[S];if(!t.hasOwnProperty(T)){t[T]=U}else{if(window.console){console.warn("cannot override language handler %s",T)}}}}function q(T,S){if(!(T&&t.hasOwnProperty(T))){T=/^\s*]*(?:>|$)/],[j,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[L,/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);c(g([[F,/^[\s]+/,null," \t\r\n"],[n,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[[m,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[P,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[L,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]);c(g([],[[n,/^[\s\S]+/]]),["uq.val"]);c(i({keywords:l,hashComments:true,cStyleComments:true,types:e}),["c","cc","cpp","cxx","cyc","m"]);c(i({keywords:"null,true,false"}),["json"]);c(i({keywords:R,hashComments:true,cStyleComments:true,verbatimStrings:true,types:e}),["cs"]);c(i({keywords:x,cStyleComments:true}),["java"]);c(i({keywords:H,hashComments:true,multiLineStrings:true}),["bsh","csh","sh"]);c(i({keywords:I,hashComments:true,multiLineStrings:true,tripleQuotedStrings:true}),["cv","py"]);c(i({keywords:s,hashComments:true,multiLineStrings:true,regexLiterals:true}),["perl","pl","pm"]);c(i({keywords:f,hashComments:true,multiLineStrings:true,regexLiterals:true}),["rb"]);c(i({keywords:w,cStyleComments:true,regexLiterals:true}),["js"]);c(i({keywords:r,hashComments:3,cStyleComments:true,multilineStrings:true,tripleQuotedStrings:true,regexLiterals:true}),["coffee"]);c(g([],[[C,/^[\s\S]+/]]),["regex"]);function d(V){var U=V.langExtension;try{var S=a(V.sourceNode);var T=S.sourceCode;V.sourceCode=T;V.spans=S.spans;V.basePos=0;q(U,T)(V);D(V)}catch(W){if("console" in window){console.log(W&&W.stack?W.stack:W)}}}function y(W,V,U){var S=document.createElement("PRE");S.innerHTML=W;if(U){Q(S,U)}var T={langExtension:V,numberLines:U,sourceNode:S};d(T);return S.innerHTML}function b(ad){function Y(af){return document.getElementsByTagName(af)}var ac=[Y("pre"),Y("code"),Y("xmp")];var T=[];for(var aa=0;aa=0){var ah=ai.match(ab);var am;if(!ah&&(am=o(aj))&&"CODE"===am.tagName){ah=am.className.match(ab)}if(ah){ah=ah[1]}var al=false;for(var ak=aj.parentNode;ak;ak=ak.parentNode){if((ak.tagName==="pre"||ak.tagName==="code"||ak.tagName==="xmp")&&ak.className&&ak.className.indexOf("prettyprint")>=0){al=true;break}}if(!al){var af=aj.className.match(/\blinenums\b(?::(\d+))?/);af=af?af[1]&&af[1].length?+af[1]:true:false;if(af){Q(aj,af)}S={langExtension:ah,sourceNode:aj,numberLines:af};d(S)}}}if(X]*(?:>|$)/],[PR.PR_COMMENT,/^<\!--[\s\S]*?(?:-\->|$)/],[PR.PR_PUNCTUATION,/^(?:<[%?]|[%?]>)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-handlebars",/^]*type\s*=\s*['"]?text\/x-handlebars-template['"]?\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i],[PR.PR_DECLARATION,/^{{[#^>/]?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{&?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{{>?\s*[\w.][^}]*}}}/],[PR.PR_COMMENT,/^{{![^}]*}}/]]),["handlebars","hbs"]);PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_PLAIN,/^[ \t\r\n\f]+/,null," \t\r\n\f"]],[[PR.PR_STRING,/^\"(?:[^\n\r\f\\\"]|\\(?:\r\n?|\n|\f)|\\[\s\S])*\"/,null],[PR.PR_STRING,/^\'(?:[^\n\r\f\\\']|\\(?:\r\n?|\n|\f)|\\[\s\S])*\'/,null],["lang-css-str",/^url\(([^\)\"\']*)\)/i],[PR.PR_KEYWORD,/^(?:url|rgb|\!important|@import|@page|@media|@charset|inherit)(?=[^\-\w]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|(?:\\[0-9a-f]+ ?))(?:[_a-z0-9\-]|\\(?:\\[0-9a-f]+ ?))*)\s*:/i],[PR.PR_COMMENT,/^\/\*[^*]*\*+(?:[^\/*][^*]*\*+)*\//],[PR.PR_COMMENT,/^(?:)/],[PR.PR_LITERAL,/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],[PR.PR_LITERAL,/^#(?:[0-9a-f]{3}){1,2}/i],[PR.PR_PLAIN,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i],[PR.PR_PUNCTUATION,/^[^\s\w\'\"]+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_KEYWORD,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_STRING,/^[^\)\"\']+/]]),["css-str"]); diff --git a/node_modules/mute-stream/coverage/lcov-report/sort-arrow-sprite.png b/node_modules/mute-stream/coverage/lcov-report/sort-arrow-sprite.png deleted file mode 100644 index 03f704a609c6fd0dbfdac63466a7d7c958b5cbf3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 209 zcmeAS@N?(olHy`uVBq!ia0vp^>_9Bd!3HEZxJ@+%Qj#UE5hcO-X(i=}MX3yqDfvmM z3ZA)%>8U}fi7AzZCsS>Jii$m5978H@?Fn+^JD|Y9yzj{W`447Gxa{7*dM7nnnD-Lb z6^}Hx2)'; - } - } - return cols; - } - // attaches a data attribute to every tr element with an object - // of data values keyed by column name - function loadRowData(tableRow) { - var tableCols = tableRow.querySelectorAll('td'), - colNode, - col, - data = {}, - i, - val; - for (i = 0; i < tableCols.length; i += 1) { - colNode = tableCols[i]; - col = cols[i]; - val = colNode.getAttribute('data-value'); - if (col.type === 'number') { - val = Number(val); - } - data[col.key] = val; - } - return data; - } - // loads all row data - function loadData() { - var rows = getTableBody().querySelectorAll('tr'), - i; - - for (i = 0; i < rows.length; i += 1) { - rows[i].data = loadRowData(rows[i]); - } - } - // sorts the table using the data for the ith column - function sortByIndex(index, desc) { - var key = cols[index].key, - sorter = function (a, b) { - a = a.data[key]; - b = b.data[key]; - return a < b ? -1 : a > b ? 1 : 0; - }, - finalSorter = sorter, - tableBody = document.querySelector('.coverage-summary tbody'), - rowNodes = tableBody.querySelectorAll('tr'), - rows = [], - i; - - if (desc) { - finalSorter = function (a, b) { - return -1 * sorter(a, b); - }; - } - - for (i = 0; i < rowNodes.length; i += 1) { - rows.push(rowNodes[i]); - tableBody.removeChild(rowNodes[i]); - } - - rows.sort(finalSorter); - - for (i = 0; i < rows.length; i += 1) { - tableBody.appendChild(rows[i]); - } - } - // removes sort indicators for current column being sorted - function removeSortIndicators() { - var col = getNthColumn(currentSort.index), - cls = col.className; - - cls = cls.replace(/ sorted$/, '').replace(/ sorted-desc$/, ''); - col.className = cls; - } - // adds sort indicators for current column being sorted - function addSortIndicators() { - getNthColumn(currentSort.index).className += currentSort.desc ? ' sorted-desc' : ' sorted'; - } - // adds event listeners for all sorter widgets - function enableUI() { - var i, - el, - ithSorter = function ithSorter(i) { - var col = cols[i]; - - return function () { - var desc = col.defaultDescSort; - - if (currentSort.index === i) { - desc = !currentSort.desc; - } - sortByIndex(i, desc); - removeSortIndicators(); - currentSort.index = i; - currentSort.desc = desc; - addSortIndicators(); - }; - }; - for (i =0 ; i < cols.length; i += 1) { - if (cols[i].sortable) { - // add the click event handler on the th so users - // dont have to click on those tiny arrows - el = getNthColumn(i).querySelector('.sorter').parentElement; - if (el.addEventListener) { - el.addEventListener('click', ithSorter(i)); - } else { - el.attachEvent('onclick', ithSorter(i)); - } - } - } - } - // adds sorting functionality to the UI - return function () { - if (!getTable()) { - return; - } - cols = loadColumns(); - loadData(cols); - addSortIndicators(); - enableUI(); - }; -})(); - -window.addEventListener('load', addSorting); diff --git a/node_modules/mute-stream/coverage/lcov.info b/node_modules/mute-stream/coverage/lcov.info deleted file mode 100644 index 5f2a58e4..00000000 --- a/node_modules/mute-stream/coverage/lcov.info +++ /dev/null @@ -1,155 +0,0 @@ -TN: -SF:./mute.js -FN:7,MuteStream -FN:29,(anonymous_2) -FN:33,(anonymous_3) -FN:44,onPipe -FN:55,getIsTTY -FN:63,setIsTTY -FN:73,(anonymous_7) -FN:80,(anonymous_8) -FN:87,(anonymous_9) -FN:92,(anonymous_10) -FN:96,(anonymous_11) -FN:100,(anonymous_12) -FN:124,(anonymous_13) -FN:136,proxy -FN:136,(anonymous_15) -FNF:15 -FNH:14 -FNDA:7,MuteStream -FNDA:10,(anonymous_2) -FNDA:6,(anonymous_3) -FNDA:5,onPipe -FNDA:8,getIsTTY -FNDA:2,setIsTTY -FNDA:5,(anonymous_7) -FNDA:5,(anonymous_8) -FNDA:2,(anonymous_9) -FNDA:2,(anonymous_10) -FNDA:2,(anonymous_11) -FNDA:25,(anonymous_12) -FNDA:2,(anonymous_13) -FNDA:3,proxy -FNDA:0,(anonymous_15) -DA:1,1 -DA:3,1 -DA:7,1 -DA:8,7 -DA:9,7 -DA:10,7 -DA:11,7 -DA:12,7 -DA:13,7 -DA:18,7 -DA:19,7 -DA:22,1 -DA:24,1 -DA:29,1 -DA:30,10 -DA:33,1 -DA:34,6 -DA:37,1 -DA:44,1 -DA:45,5 -DA:48,1 -DA:55,1 -DA:56,8 -DA:63,1 -DA:64,2 -DA:72,1 -DA:74,5 -DA:79,1 -DA:81,5 -DA:87,1 -DA:88,2 -DA:89,2 -DA:92,1 -DA:93,2 -DA:96,1 -DA:97,2 -DA:100,1 -DA:101,25 -DA:102,13 -DA:103,8 -DA:104,0 -DA:105,0 -DA:106,0 -DA:107,0 -DA:109,0 -DA:110,0 -DA:112,8 -DA:114,0 -DA:115,0 -DA:116,0 -DA:118,8 -DA:121,20 -DA:124,1 -DA:125,2 -DA:126,2 -DA:127,0 -DA:129,2 -DA:132,2 -DA:133,2 -DA:136,3 -DA:137,0 -DA:138,0 -DA:139,0 -DA:140,0 -DA:143,1 -DA:144,1 -DA:145,1 -LF:67 -LH:53 -BRDA:9,1,0,7 -BRDA:9,1,1,5 -BRDA:18,2,0,7 -BRDA:18,2,1,7 -BRDA:56,3,0,3 -BRDA:56,3,1,5 -BRDA:57,4,0,3 -BRDA:57,4,1,2 -BRDA:74,5,0,4 -BRDA:74,5,1,1 -BRDA:75,6,0,0 -BRDA:75,6,1,1 -BRDA:81,7,0,4 -BRDA:81,7,1,1 -BRDA:82,8,0,0 -BRDA:82,8,1,1 -BRDA:93,9,0,2 -BRDA:93,9,1,0 -BRDA:97,10,0,2 -BRDA:97,10,1,0 -BRDA:101,11,0,13 -BRDA:101,11,1,12 -BRDA:102,12,0,5 -BRDA:102,12,1,8 -BRDA:103,13,0,0 -BRDA:103,13,1,8 -BRDA:104,14,0,0 -BRDA:104,14,1,0 -BRDA:112,15,0,0 -BRDA:112,15,1,8 -BRDA:112,16,0,8 -BRDA:112,16,1,0 -BRDA:112,16,2,0 -BRDA:125,17,0,2 -BRDA:125,17,1,0 -BRDA:126,18,0,0 -BRDA:126,18,1,2 -BRDA:126,19,0,2 -BRDA:126,19,1,1 -BRDA:132,20,0,0 -BRDA:132,20,1,2 -BRDA:139,21,0,0 -BRDA:139,21,1,0 -BRDA:139,22,0,0 -BRDA:139,22,1,0 -BRDA:140,23,0,0 -BRDA:140,23,1,0 -BRDA:140,24,0,0 -BRDA:140,24,1,0 -BRF:49 -BRH:28 -end_of_record diff --git a/node_modules/mute-stream/mute.js b/node_modules/mute-stream/mute.js deleted file mode 100644 index a24fc099..00000000 --- a/node_modules/mute-stream/mute.js +++ /dev/null @@ -1,145 +0,0 @@ -var Stream = require('stream') - -module.exports = MuteStream - -// var out = new MuteStream(process.stdout) -// argument auto-pipes -function MuteStream (opts) { - Stream.apply(this) - opts = opts || {} - this.writable = this.readable = true - this.muted = false - this.on('pipe', this._onpipe) - this.replace = opts.replace - - // For readline-type situations - // This much at the start of a line being redrawn after a ctrl char - // is seen (such as backspace) won't be redrawn as the replacement - this._prompt = opts.prompt || null - this._hadControl = false -} - -MuteStream.prototype = Object.create(Stream.prototype) - -Object.defineProperty(MuteStream.prototype, 'constructor', { - value: MuteStream, - enumerable: false -}) - -MuteStream.prototype.mute = function () { - this.muted = true -} - -MuteStream.prototype.unmute = function () { - this.muted = false -} - -Object.defineProperty(MuteStream.prototype, '_onpipe', { - value: onPipe, - enumerable: false, - writable: true, - configurable: true -}) - -function onPipe (src) { - this._src = src -} - -Object.defineProperty(MuteStream.prototype, 'isTTY', { - get: getIsTTY, - set: setIsTTY, - enumerable: true, - configurable: true -}) - -function getIsTTY () { - return( (this._dest) ? this._dest.isTTY - : (this._src) ? this._src.isTTY - : false - ) -} - -// basically just get replace the getter/setter with a regular value -function setIsTTY (isTTY) { - Object.defineProperty(this, 'isTTY', { - value: isTTY, - enumerable: true, - writable: true, - configurable: true - }) -} - -Object.defineProperty(MuteStream.prototype, 'rows', { - get: function () { - return( this._dest ? this._dest.rows - : this._src ? this._src.rows - : undefined ) - }, enumerable: true, configurable: true }) - -Object.defineProperty(MuteStream.prototype, 'columns', { - get: function () { - return( this._dest ? this._dest.columns - : this._src ? this._src.columns - : undefined ) - }, enumerable: true, configurable: true }) - - -MuteStream.prototype.pipe = function (dest, options) { - this._dest = dest - return Stream.prototype.pipe.call(this, dest, options) -} - -MuteStream.prototype.pause = function () { - if (this._src) return this._src.pause() -} - -MuteStream.prototype.resume = function () { - if (this._src) return this._src.resume() -} - -MuteStream.prototype.write = function (c) { - if (this.muted) { - if (!this.replace) return true - if (c.match(/^\u001b/)) { - if(c.indexOf(this._prompt) === 0) { - c = c.substr(this._prompt.length); - c = c.replace(/./g, this.replace); - c = this._prompt + c; - } - this._hadControl = true - return this.emit('data', c) - } else { - if (this._prompt && this._hadControl && - c.indexOf(this._prompt) === 0) { - this._hadControl = false - this.emit('data', this._prompt) - c = c.substr(this._prompt.length) - } - c = c.toString().replace(/./g, this.replace) - } - } - this.emit('data', c) -} - -MuteStream.prototype.end = function (c) { - if (this.muted) { - if (c && this.replace) { - c = c.toString().replace(/./g, this.replace) - } else { - c = null - } - } - if (c) this.emit('data', c) - this.emit('end') -} - -function proxy (fn) { return function () { - var d = this._dest - var s = this._src - if (d && d[fn]) d[fn].apply(d, arguments) - if (s && s[fn]) s[fn].apply(s, arguments) -}} - -MuteStream.prototype.destroy = proxy('destroy') -MuteStream.prototype.destroySoon = proxy('destroySoon') -MuteStream.prototype.close = proxy('close') diff --git a/node_modules/mute-stream/package.json b/node_modules/mute-stream/package.json deleted file mode 100644 index 8541d77b..00000000 --- a/node_modules/mute-stream/package.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "_from": "mute-stream@0.0.7", - "_id": "mute-stream@0.0.7", - "_inBundle": false, - "_integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", - "_location": "/mute-stream", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "mute-stream@0.0.7", - "name": "mute-stream", - "escapedName": "mute-stream", - "rawSpec": "0.0.7", - "saveSpec": null, - "fetchSpec": "0.0.7" - }, - "_requiredBy": [ - "/inquirer" - ], - "_resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", - "_shasum": "3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab", - "_spec": "mute-stream@0.0.7", - "_where": "/Users/lawrencewu/Dev/CR-MacroLabs-TypeScript-Casino/node_modules/inquirer", - "author": { - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": "http://blog.izs.me/" - }, - "bugs": { - "url": "https://github.com/isaacs/mute-stream/issues" - }, - "bundleDependencies": false, - "deprecated": false, - "description": "Bytes go in, but they don't come out (when muted).", - "devDependencies": { - "tap": "^5.4.4" - }, - "directories": { - "test": "test" - }, - "homepage": "https://github.com/isaacs/mute-stream#readme", - "keywords": [ - "mute", - "stream", - "pipe" - ], - "license": "ISC", - "main": "mute.js", - "name": "mute-stream", - "repository": { - "type": "git", - "url": "git://github.com/isaacs/mute-stream.git" - }, - "scripts": { - "test": "tap test/*.js --cov" - }, - "version": "0.0.7" -} diff --git a/node_modules/mute-stream/test/basic.js b/node_modules/mute-stream/test/basic.js deleted file mode 100644 index 41f9e10c..00000000 --- a/node_modules/mute-stream/test/basic.js +++ /dev/null @@ -1,207 +0,0 @@ -var Stream = require('stream') -var tap = require('tap') -var MS = require('../mute.js') - -// some marker objects -var END = {} -var PAUSE = {} -var RESUME = {} - -function PassThrough () { - Stream.call(this) - this.readable = this.writable = true -} - -PassThrough.prototype = Object.create(Stream.prototype, { - constructor: { - value: PassThrough - }, - write: { - value: function (c) { - this.emit('data', c) - return true - } - }, - end: { - value: function (c) { - if (c) this.write(c) - this.emit('end') - } - }, - pause: { - value: function () { - this.emit('pause') - } - }, - resume: { - value: function () { - this.emit('resume') - } - } -}) - -tap.test('incoming', function (t) { - var ms = new MS - var str = new PassThrough - str.pipe(ms) - - var expect = ['foo', 'boo', END] - ms.on('data', function (c) { - t.equal(c, expect.shift()) - }) - ms.on('end', function () { - t.equal(END, expect.shift()) - t.end() - }) - str.write('foo') - ms.mute() - str.write('bar') - ms.unmute() - str.write('boo') - ms.mute() - str.write('blaz') - str.end('grelb') -}) - -tap.test('outgoing', function (t) { - var ms = new MS - var str = new PassThrough - ms.pipe(str) - - var expect = ['foo', 'boo', END] - str.on('data', function (c) { - t.equal(c, expect.shift()) - }) - str.on('end', function () { - t.equal(END, expect.shift()) - t.end() - }) - - ms.write('foo') - ms.mute() - ms.write('bar') - ms.unmute() - ms.write('boo') - ms.mute() - ms.write('blaz') - ms.end('grelb') -}) - -tap.test('isTTY', function (t) { - var str = new PassThrough - str.isTTY = true - str.columns=80 - str.rows=24 - - var ms = new MS - t.equal(ms.isTTY, false) - t.equal(ms.columns, undefined) - t.equal(ms.rows, undefined) - ms.pipe(str) - t.equal(ms.isTTY, true) - t.equal(ms.columns, 80) - t.equal(ms.rows, 24) - str.isTTY = false - t.equal(ms.isTTY, false) - t.equal(ms.columns, 80) - t.equal(ms.rows, 24) - str.isTTY = true - t.equal(ms.isTTY, true) - t.equal(ms.columns, 80) - t.equal(ms.rows, 24) - ms.isTTY = false - t.equal(ms.isTTY, false) - t.equal(ms.columns, 80) - t.equal(ms.rows, 24) - - ms = new MS - t.equal(ms.isTTY, false) - str.pipe(ms) - t.equal(ms.isTTY, true) - str.isTTY = false - t.equal(ms.isTTY, false) - str.isTTY = true - t.equal(ms.isTTY, true) - ms.isTTY = false - t.equal(ms.isTTY, false) - - t.end() -}) - -tap.test('pause/resume incoming', function (t) { - var str = new PassThrough - var ms = new MS - str.on('pause', function () { - t.equal(PAUSE, expect.shift()) - }) - str.on('resume', function () { - t.equal(RESUME, expect.shift()) - }) - var expect = [PAUSE, RESUME, PAUSE, RESUME] - str.pipe(ms) - ms.pause() - ms.resume() - ms.pause() - ms.resume() - t.equal(expect.length, 0, 'saw all events') - t.end() -}) - -tap.test('replace with *', function (t) { - var str = new PassThrough - var ms = new MS({replace: '*'}) - str.pipe(ms) - var expect = ['foo', '*****', 'bar', '***', 'baz', 'boo', '**', '****'] - - ms.on('data', function (c) { - t.equal(c, expect.shift()) - }) - - str.write('foo') - ms.mute() - str.write('12345') - ms.unmute() - str.write('bar') - ms.mute() - str.write('baz') - ms.unmute() - str.write('baz') - str.write('boo') - ms.mute() - str.write('xy') - str.write('xyzΩ') - - t.equal(expect.length, 0) - t.end() -}) - -tap.test('replace with ~YARG~', function (t) { - var str = new PassThrough - var ms = new MS({replace: '~YARG~'}) - str.pipe(ms) - var expect = ['foo', '~YARG~~YARG~~YARG~~YARG~~YARG~', 'bar', - '~YARG~~YARG~~YARG~', 'baz', 'boo', '~YARG~~YARG~', - '~YARG~~YARG~~YARG~~YARG~'] - - ms.on('data', function (c) { - t.equal(c, expect.shift()) - }) - - // also throw some unicode in there, just for good measure. - str.write('foo') - ms.mute() - str.write('ΩΩ') - ms.unmute() - str.write('bar') - ms.mute() - str.write('Ω') - ms.unmute() - str.write('baz') - str.write('boo') - ms.mute() - str.write('Ω') - str.write('ΩΩ') - - t.equal(expect.length, 0) - t.end() -}) diff --git a/node_modules/onetime/index.js b/node_modules/onetime/index.js deleted file mode 100644 index 0d76476b..00000000 --- a/node_modules/onetime/index.js +++ /dev/null @@ -1,39 +0,0 @@ -'use strict'; -const mimicFn = require('mimic-fn'); - -module.exports = (fn, opts) => { - // TODO: Remove this in v3 - if (opts === true) { - throw new TypeError('The second argument is now an options object'); - } - - if (typeof fn !== 'function') { - throw new TypeError('Expected a function'); - } - - opts = opts || {}; - - let ret; - let called = false; - const fnName = fn.displayName || fn.name || ''; - - const onetime = function () { - if (called) { - if (opts.throw === true) { - throw new Error(`Function \`${fnName}\` can only be called once`); - } - - return ret; - } - - called = true; - ret = fn.apply(this, arguments); - fn = null; - - return ret; - }; - - mimicFn(onetime, fn); - - return onetime; -}; diff --git a/node_modules/onetime/license b/node_modules/onetime/license deleted file mode 100644 index 654d0bfe..00000000 --- a/node_modules/onetime/license +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/onetime/package.json b/node_modules/onetime/package.json deleted file mode 100644 index 6aba44c4..00000000 --- a/node_modules/onetime/package.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "_from": "onetime@^2.0.0", - "_id": "onetime@2.0.1", - "_inBundle": false, - "_integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", - "_location": "/onetime", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "onetime@^2.0.0", - "name": "onetime", - "escapedName": "onetime", - "rawSpec": "^2.0.0", - "saveSpec": null, - "fetchSpec": "^2.0.0" - }, - "_requiredBy": [ - "/restore-cursor" - ], - "_resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", - "_shasum": "067428230fd67443b2794b22bba528b6867962d4", - "_spec": "onetime@^2.0.0", - "_where": "/Users/lawrencewu/Dev/CR-MacroLabs-TypeScript-Casino/node_modules/restore-cursor", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/sindresorhus/onetime/issues" - }, - "bundleDependencies": false, - "dependencies": { - "mimic-fn": "^1.0.0" - }, - "deprecated": false, - "description": "Ensure a function is only called once", - "devDependencies": { - "ava": "*", - "xo": "*" - }, - "engines": { - "node": ">=4" - }, - "files": [ - "index.js" - ], - "homepage": "https://github.com/sindresorhus/onetime#readme", - "keywords": [ - "once", - "function", - "one", - "onetime", - "func", - "fn", - "single", - "call", - "called", - "prevent" - ], - "license": "MIT", - "name": "onetime", - "repository": { - "type": "git", - "url": "git+https://github.com/sindresorhus/onetime.git" - }, - "scripts": { - "test": "xo && ava" - }, - "version": "2.0.1" -} diff --git a/node_modules/onetime/readme.md b/node_modules/onetime/readme.md deleted file mode 100644 index 95eb3b7c..00000000 --- a/node_modules/onetime/readme.md +++ /dev/null @@ -1,65 +0,0 @@ -# onetime [![Build Status](https://travis-ci.org/sindresorhus/onetime.svg?branch=master)](https://travis-ci.org/sindresorhus/onetime) - -> Ensure a function is only called once - -When called multiple times it will return the return value from the first call. - -*Unlike the module [once](https://github.com/isaacs/once), this one isn't naughty extending `Function.prototype`.* - - -## Install - -``` -$ npm install --save onetime -``` - - -## Usage - -```js -let i = 0; - -const foo = onetime(() => i++); - -foo(); //=> 0 -foo(); //=> 0 -foo(); //=> 0 -``` - -```js -const foo = onetime(() => {}, {throw: true}); - -foo(); - -foo(); -//=> Error: Function `foo` can only be called once -``` - - -## API - -### onetime(fn, [options]) - -Returns a function that only calls `fn` once. - -#### fn - -Type: `Function` - -Function that should only be called once. - -#### options - -Type: `Object` - -##### throw - -Type: `boolean`
-Default: `false` - -Throw an error when called more than once. - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/os-tmpdir/index.js b/node_modules/os-tmpdir/index.js deleted file mode 100644 index 2077b1ce..00000000 --- a/node_modules/os-tmpdir/index.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; -var isWindows = process.platform === 'win32'; -var trailingSlashRe = isWindows ? /[^:]\\$/ : /.\/$/; - -// https://github.com/nodejs/node/blob/3e7a14381497a3b73dda68d05b5130563cdab420/lib/os.js#L25-L43 -module.exports = function () { - var path; - - if (isWindows) { - path = process.env.TEMP || - process.env.TMP || - (process.env.SystemRoot || process.env.windir) + '\\temp'; - } else { - path = process.env.TMPDIR || - process.env.TMP || - process.env.TEMP || - '/tmp'; - } - - if (trailingSlashRe.test(path)) { - path = path.slice(0, -1); - } - - return path; -}; diff --git a/node_modules/os-tmpdir/license b/node_modules/os-tmpdir/license deleted file mode 100644 index 654d0bfe..00000000 --- a/node_modules/os-tmpdir/license +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/os-tmpdir/package.json b/node_modules/os-tmpdir/package.json deleted file mode 100644 index ef9fdaa7..00000000 --- a/node_modules/os-tmpdir/package.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "_from": "os-tmpdir@~1.0.2", - "_id": "os-tmpdir@1.0.2", - "_inBundle": false, - "_integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", - "_location": "/os-tmpdir", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "os-tmpdir@~1.0.2", - "name": "os-tmpdir", - "escapedName": "os-tmpdir", - "rawSpec": "~1.0.2", - "saveSpec": null, - "fetchSpec": "~1.0.2" - }, - "_requiredBy": [ - "/tmp" - ], - "_resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "_shasum": "bbe67406c79aa85c5cfec766fe5734555dfa1274", - "_spec": "os-tmpdir@~1.0.2", - "_where": "/Users/lawrencewu/Dev/CR-MacroLabs-TypeScript-Casino/node_modules/tmp", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/sindresorhus/os-tmpdir/issues" - }, - "bundleDependencies": false, - "deprecated": false, - "description": "Node.js os.tmpdir() ponyfill", - "devDependencies": { - "ava": "*", - "xo": "^0.16.0" - }, - "engines": { - "node": ">=0.10.0" - }, - "files": [ - "index.js" - ], - "homepage": "https://github.com/sindresorhus/os-tmpdir#readme", - "keywords": [ - "built-in", - "core", - "ponyfill", - "polyfill", - "shim", - "os", - "tmpdir", - "tempdir", - "tmp", - "temp", - "dir", - "directory", - "env", - "environment" - ], - "license": "MIT", - "name": "os-tmpdir", - "repository": { - "type": "git", - "url": "git+https://github.com/sindresorhus/os-tmpdir.git" - }, - "scripts": { - "test": "xo && ava" - }, - "version": "1.0.2" -} diff --git a/node_modules/os-tmpdir/readme.md b/node_modules/os-tmpdir/readme.md deleted file mode 100644 index c09f7ed8..00000000 --- a/node_modules/os-tmpdir/readme.md +++ /dev/null @@ -1,32 +0,0 @@ -# os-tmpdir [![Build Status](https://travis-ci.org/sindresorhus/os-tmpdir.svg?branch=master)](https://travis-ci.org/sindresorhus/os-tmpdir) - -> Node.js [`os.tmpdir()`](https://nodejs.org/api/os.html#os_os_tmpdir) [ponyfill](https://ponyfill.com) - -Use this instead of `require('os').tmpdir()` to get a consistent behavior on different Node.js versions (even 0.8). - - -## Install - -``` -$ npm install --save os-tmpdir -``` - - -## Usage - -```js -const osTmpdir = require('os-tmpdir'); - -osTmpdir(); -//=> '/var/folders/m3/5574nnhn0yj488ccryqr7tc80000gn/T' -``` - - -## API - -See the [`os.tmpdir()` docs](https://nodejs.org/api/os.html#os_os_tmpdir). - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/restore-cursor/index.js b/node_modules/restore-cursor/index.js deleted file mode 100644 index 2b8e0098..00000000 --- a/node_modules/restore-cursor/index.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; -const onetime = require('onetime'); -const signalExit = require('signal-exit'); - -module.exports = onetime(() => { - signalExit(() => { - process.stderr.write('\u001b[?25h'); - }, {alwaysLast: true}); -}); diff --git a/node_modules/restore-cursor/license b/node_modules/restore-cursor/license deleted file mode 100644 index 654d0bfe..00000000 --- a/node_modules/restore-cursor/license +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/restore-cursor/package.json b/node_modules/restore-cursor/package.json deleted file mode 100644 index 47960882..00000000 --- a/node_modules/restore-cursor/package.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "_from": "restore-cursor@^2.0.0", - "_id": "restore-cursor@2.0.0", - "_inBundle": false, - "_integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", - "_location": "/restore-cursor", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "restore-cursor@^2.0.0", - "name": "restore-cursor", - "escapedName": "restore-cursor", - "rawSpec": "^2.0.0", - "saveSpec": null, - "fetchSpec": "^2.0.0" - }, - "_requiredBy": [ - "/cli-cursor" - ], - "_resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", - "_shasum": "9f7ee287f82fd326d4fd162923d62129eee0dfaf", - "_spec": "restore-cursor@^2.0.0", - "_where": "/Users/lawrencewu/Dev/CR-MacroLabs-TypeScript-Casino/node_modules/cli-cursor", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/sindresorhus/restore-cursor/issues" - }, - "bundleDependencies": false, - "dependencies": { - "onetime": "^2.0.0", - "signal-exit": "^3.0.2" - }, - "deprecated": false, - "description": "Gracefully restore the CLI cursor on exit", - "engines": { - "node": ">=4" - }, - "files": [ - "index.js" - ], - "homepage": "https://github.com/sindresorhus/restore-cursor#readme", - "keywords": [ - "exit", - "quit", - "process", - "graceful", - "shutdown", - "sigterm", - "sigint", - "terminate", - "kill", - "stop", - "cli", - "cursor", - "ansi", - "show", - "term", - "terminal", - "console", - "tty", - "shell", - "command-line" - ], - "license": "MIT", - "name": "restore-cursor", - "repository": { - "type": "git", - "url": "git+https://github.com/sindresorhus/restore-cursor.git" - }, - "version": "2.0.0" -} diff --git a/node_modules/restore-cursor/readme.md b/node_modules/restore-cursor/readme.md deleted file mode 100644 index a2f5afbc..00000000 --- a/node_modules/restore-cursor/readme.md +++ /dev/null @@ -1,25 +0,0 @@ -# restore-cursor - -> Gracefully restore the CLI cursor on exit - -Prevent the cursor you've hidden interactively from remaining hidden if the process crashes. - - -## Install - -``` -$ npm install --save restore-cursor -``` - - -## Usage - -```js -const restoreCursor = require('restore-cursor'); -restoreCursor(); -``` - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/run-async/LICENSE b/node_modules/run-async/LICENSE deleted file mode 100644 index e895e99b..00000000 --- a/node_modules/run-async/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Simon Boudrias - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/node_modules/run-async/README.md b/node_modules/run-async/README.md deleted file mode 100644 index 8eb62c24..00000000 --- a/node_modules/run-async/README.md +++ /dev/null @@ -1,79 +0,0 @@ -Run Async -========= - -[![npm](https://badge.fury.io/js/run-async.svg)](http://badge.fury.io/js/run-async) [![tests](https://travis-ci.org/SBoudrias/run-async.svg?branch=master)](http://travis-ci.org/SBoudrias/run-async) [![dependencies](https://david-dm.org/SBoudrias/run-async.svg?theme=shields.io)](https://david-dm.org/SBoudrias/run-async) - -Utility method to run a function either synchronously or asynchronously using a series of common patterns. This is useful for library author accepting sync or async functions as parameter. `runAsync` will always run them as an async method, and normalize the multiple signature. - -Installation -========= - -```bash -npm install --save run-async -``` - -Usage -========= - -Here's a simple example print the function results and three options a user can provide a function. - -```js -var runAsync = require('run-async'); - -var printAfter = function (func) { - var cb = function (err, returnValue) { - console.log(returnValue); - }; - runAsync(func, cb)(/* arguments for func */); -}; -``` - -#### Using `this.async` -```js -printAfter(function () { - var done = this.async(); - - setTimeout(function () { - done(null, 'done running with callback'); - }, 10); -}); -``` - -#### Returning a promise -```js -printAfter(function () { - return new Promise(function (resolve, reject) { - resolve('done running with promises'); - }); -}); -``` - -#### Synchronous function -```js -printAfter(function () { - return 'done running sync function'; -}); -``` - -### runAsync.cb - -`runAsync.cb` supports all the function types that `runAsync` does and additionally a traditional **callback as the last argument** signature: - -```js -var runAsync = require('run-async'); - -// IMPORTANT: The wrapped function must have a fixed number of parameters. -runAsync.cb(function(a, b, cb) { - cb(null, a + b); -}, function(err, result) { - console.log(result) -})(1, 2) -``` - -If your version of node support Promises natively (node >= 0.12), `runAsync` will return a promise. Example: `runAsync(func)(arg1, arg2).then(cb)` - -Licence -======== - -Copyright (c) 2014 Simon Boudrias (twitter: @vaxilart) -Licensed under the MIT license. diff --git a/node_modules/run-async/index.js b/node_modules/run-async/index.js deleted file mode 100644 index f623326c..00000000 --- a/node_modules/run-async/index.js +++ /dev/null @@ -1,61 +0,0 @@ -'use strict'; - -var isPromise = require('is-promise'); - -/** - * Return a function that will run a function asynchronously or synchronously - * - * example: - * runAsync(wrappedFunction, callback)(...args); - * - * @param {Function} func Function to run - * @param {Function} cb Callback function passed the `func` returned value - * @return {Function(arguments)} Arguments to pass to `func`. This function will in turn - * return a Promise (Node >= 0.12) or call the callbacks. - */ - -var runAsync = module.exports = function (func, cb) { - cb = cb || function () {}; - - return function () { - var async = false; - var args = arguments; - - var promise = new Promise(function (resolve, reject) { - var answer = func.apply({ - async: function () { - async = true; - return function (err, value) { - if (err) { - reject(err); - } else { - resolve(value); - } - }; - } - }, Array.prototype.slice.call(args)); - - if (!async) { - if (isPromise(answer)) { - answer.then(resolve, reject); - } else { - resolve(answer); - } - } - }); - - promise.then(cb.bind(null, null), cb); - - return promise; - } -}; - -runAsync.cb = function (func, cb) { - return runAsync(function () { - var args = Array.prototype.slice.call(arguments); - if (args.length === func.length - 1) { - args.push(this.async()); - } - return func.apply(this, args); - }, cb); -}; diff --git a/node_modules/run-async/package.json b/node_modules/run-async/package.json deleted file mode 100644 index 2cc2c22c..00000000 --- a/node_modules/run-async/package.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "_from": "run-async@^2.2.0", - "_id": "run-async@2.3.0", - "_inBundle": false, - "_integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", - "_location": "/run-async", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "run-async@^2.2.0", - "name": "run-async", - "escapedName": "run-async", - "rawSpec": "^2.2.0", - "saveSpec": null, - "fetchSpec": "^2.2.0" - }, - "_requiredBy": [ - "/inquirer" - ], - "_resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", - "_shasum": "0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0", - "_spec": "run-async@^2.2.0", - "_where": "/Users/lawrencewu/Dev/CR-MacroLabs-TypeScript-Casino/node_modules/inquirer", - "author": { - "name": "Simon Boudrias", - "email": "admin@simonboudrias.com" - }, - "bugs": { - "url": "https://github.com/SBoudrias/run-async/issues" - }, - "bundleDependencies": false, - "dependencies": { - "is-promise": "^2.1.0" - }, - "deprecated": false, - "description": "Utility method to run function either synchronously or asynchronously using the common `this.async()` style.", - "devDependencies": { - "mocha": "^3.1.2" - }, - "engines": { - "node": ">=0.12.0" - }, - "files": [ - "index.js" - ], - "homepage": "https://github.com/SBoudrias/run-async#readme", - "keywords": [ - "flow", - "flow-control", - "async" - ], - "license": "MIT", - "main": "index.js", - "name": "run-async", - "repository": { - "type": "git", - "url": "git+https://github.com/SBoudrias/run-async.git" - }, - "scripts": { - "test": "mocha -R spec" - }, - "version": "2.3.0" -} diff --git a/node_modules/rxjs/AsyncSubject.d.ts b/node_modules/rxjs/AsyncSubject.d.ts deleted file mode 100644 index 509ac4ce..00000000 --- a/node_modules/rxjs/AsyncSubject.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Subject } from './Subject'; -import { Subscriber } from './Subscriber'; -import { Subscription } from './Subscription'; -/** - * @class AsyncSubject - */ -export declare class AsyncSubject extends Subject { - private value; - private hasNext; - private hasCompleted; - protected _subscribe(subscriber: Subscriber): Subscription; - next(value: T): void; - error(error: any): void; - complete(): void; -} diff --git a/node_modules/rxjs/AsyncSubject.js b/node_modules/rxjs/AsyncSubject.js deleted file mode 100644 index 10b893a8..00000000 --- a/node_modules/rxjs/AsyncSubject.js +++ /dev/null @@ -1,53 +0,0 @@ -"use strict"; -var __extends = (this && this.__extends) || function (d, b) { - for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); -}; -var Subject_1 = require('./Subject'); -var Subscription_1 = require('./Subscription'); -/** - * @class AsyncSubject - */ -var AsyncSubject = (function (_super) { - __extends(AsyncSubject, _super); - function AsyncSubject() { - _super.apply(this, arguments); - this.value = null; - this.hasNext = false; - this.hasCompleted = false; - } - AsyncSubject.prototype._subscribe = function (subscriber) { - if (this.hasError) { - subscriber.error(this.thrownError); - return Subscription_1.Subscription.EMPTY; - } - else if (this.hasCompleted && this.hasNext) { - subscriber.next(this.value); - subscriber.complete(); - return Subscription_1.Subscription.EMPTY; - } - return _super.prototype._subscribe.call(this, subscriber); - }; - AsyncSubject.prototype.next = function (value) { - if (!this.hasCompleted) { - this.value = value; - this.hasNext = true; - } - }; - AsyncSubject.prototype.error = function (error) { - if (!this.hasCompleted) { - _super.prototype.error.call(this, error); - } - }; - AsyncSubject.prototype.complete = function () { - this.hasCompleted = true; - if (this.hasNext) { - _super.prototype.next.call(this, this.value); - } - _super.prototype.complete.call(this); - }; - return AsyncSubject; -}(Subject_1.Subject)); -exports.AsyncSubject = AsyncSubject; -//# sourceMappingURL=AsyncSubject.js.map \ No newline at end of file diff --git a/node_modules/rxjs/AsyncSubject.js.map b/node_modules/rxjs/AsyncSubject.js.map deleted file mode 100644 index 2174adba..00000000 --- a/node_modules/rxjs/AsyncSubject.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AsyncSubject.js","sourceRoot":"","sources":["../src/AsyncSubject.ts"],"names":[],"mappings":";;;;;;AAAA,wBAAwB,WAAW,CAAC,CAAA;AAEpC,6BAA6B,gBAAgB,CAAC,CAAA;AAE9C;;GAEG;AACH;IAAqC,gCAAU;IAA/C;QAAqC,8BAAU;QACrC,UAAK,GAAM,IAAI,CAAC;QAChB,YAAO,GAAY,KAAK,CAAC;QACzB,iBAAY,GAAY,KAAK,CAAC;IAkCxC,CAAC;IAhCW,iCAAU,GAApB,UAAqB,UAA2B;QAC9C,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YAClB,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YACnC,MAAM,CAAC,2BAAY,CAAC,KAAK,CAAC;QAC5B,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;YAC7C,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAC5B,UAAU,CAAC,QAAQ,EAAE,CAAC;YACtB,MAAM,CAAC,2BAAY,CAAC,KAAK,CAAC;QAC5B,CAAC;QACD,MAAM,CAAC,gBAAK,CAAC,UAAU,YAAC,UAAU,CAAC,CAAC;IACtC,CAAC;IAED,2BAAI,GAAJ,UAAK,KAAQ;QACX,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;YACvB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;YACnB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACtB,CAAC;IACH,CAAC;IAED,4BAAK,GAAL,UAAM,KAAU;QACd,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;YACvB,gBAAK,CAAC,KAAK,YAAC,KAAK,CAAC,CAAC;QACrB,CAAC;IACH,CAAC;IAED,+BAAQ,GAAR;QACE,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;QACzB,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;YACjB,gBAAK,CAAC,IAAI,YAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACzB,CAAC;QACD,gBAAK,CAAC,QAAQ,WAAE,CAAC;IACnB,CAAC;IACH,mBAAC;AAAD,CAAC,AArCD,CAAqC,iBAAO,GAqC3C;AArCY,oBAAY,eAqCxB,CAAA","sourcesContent":["import { Subject } from './Subject';\nimport { Subscriber } from './Subscriber';\nimport { Subscription } from './Subscription';\n\n/**\n * @class AsyncSubject\n */\nexport class AsyncSubject extends Subject {\n private value: T = null;\n private hasNext: boolean = false;\n private hasCompleted: boolean = false;\n\n protected _subscribe(subscriber: Subscriber): Subscription {\n if (this.hasError) {\n subscriber.error(this.thrownError);\n return Subscription.EMPTY;\n } else if (this.hasCompleted && this.hasNext) {\n subscriber.next(this.value);\n subscriber.complete();\n return Subscription.EMPTY;\n }\n return super._subscribe(subscriber);\n }\n\n next(value: T): void {\n if (!this.hasCompleted) {\n this.value = value;\n this.hasNext = true;\n }\n }\n\n error(error: any): void {\n if (!this.hasCompleted) {\n super.error(error);\n }\n }\n\n complete(): void {\n this.hasCompleted = true;\n if (this.hasNext) {\n super.next(this.value);\n }\n super.complete();\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/BehaviorSubject.d.ts b/node_modules/rxjs/BehaviorSubject.d.ts deleted file mode 100644 index 27922780..00000000 --- a/node_modules/rxjs/BehaviorSubject.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { Subject } from './Subject'; -import { Subscriber } from './Subscriber'; -import { Subscription } from './Subscription'; -/** - * @class BehaviorSubject - */ -export declare class BehaviorSubject extends Subject { - private _value; - constructor(_value: T); - readonly value: T; - protected _subscribe(subscriber: Subscriber): Subscription; - getValue(): T; - next(value: T): void; -} diff --git a/node_modules/rxjs/BehaviorSubject.js b/node_modules/rxjs/BehaviorSubject.js deleted file mode 100644 index 07af4aba..00000000 --- a/node_modules/rxjs/BehaviorSubject.js +++ /dev/null @@ -1,49 +0,0 @@ -"use strict"; -var __extends = (this && this.__extends) || function (d, b) { - for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); -}; -var Subject_1 = require('./Subject'); -var ObjectUnsubscribedError_1 = require('./util/ObjectUnsubscribedError'); -/** - * @class BehaviorSubject - */ -var BehaviorSubject = (function (_super) { - __extends(BehaviorSubject, _super); - function BehaviorSubject(_value) { - _super.call(this); - this._value = _value; - } - Object.defineProperty(BehaviorSubject.prototype, "value", { - get: function () { - return this.getValue(); - }, - enumerable: true, - configurable: true - }); - BehaviorSubject.prototype._subscribe = function (subscriber) { - var subscription = _super.prototype._subscribe.call(this, subscriber); - if (subscription && !subscription.closed) { - subscriber.next(this._value); - } - return subscription; - }; - BehaviorSubject.prototype.getValue = function () { - if (this.hasError) { - throw this.thrownError; - } - else if (this.closed) { - throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); - } - else { - return this._value; - } - }; - BehaviorSubject.prototype.next = function (value) { - _super.prototype.next.call(this, this._value = value); - }; - return BehaviorSubject; -}(Subject_1.Subject)); -exports.BehaviorSubject = BehaviorSubject; -//# sourceMappingURL=BehaviorSubject.js.map \ No newline at end of file diff --git a/node_modules/rxjs/BehaviorSubject.js.map b/node_modules/rxjs/BehaviorSubject.js.map deleted file mode 100644 index 756c72ae..00000000 --- a/node_modules/rxjs/BehaviorSubject.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BehaviorSubject.js","sourceRoot":"","sources":["../src/BehaviorSubject.ts"],"names":[],"mappings":";;;;;;AAAA,wBAAwB,WAAW,CAAC,CAAA;AAGpC,wCAAwC,gCAAgC,CAAC,CAAA;AAEzE;;GAEG;AACH;IAAwC,mCAAU;IAEhD,yBAAoB,MAAS;QAC3B,iBAAO,CAAC;QADU,WAAM,GAAN,MAAM,CAAG;IAE7B,CAAC;IAED,sBAAI,kCAAK;aAAT;YACE,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;QACzB,CAAC;;;OAAA;IAES,oCAAU,GAApB,UAAqB,UAAyB;QAC5C,IAAM,YAAY,GAAG,gBAAK,CAAC,UAAU,YAAC,UAAU,CAAC,CAAC;QAClD,EAAE,CAAC,CAAC,YAAY,IAAI,CAAiB,YAAa,CAAC,MAAM,CAAC,CAAC,CAAC;YAC1D,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC/B,CAAC;QACD,MAAM,CAAC,YAAY,CAAC;IACtB,CAAC;IAED,kCAAQ,GAAR;QACE,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YAClB,MAAM,IAAI,CAAC,WAAW,CAAC;QACzB,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YACvB,MAAM,IAAI,iDAAuB,EAAE,CAAC;QACtC,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;QACrB,CAAC;IACH,CAAC;IAED,8BAAI,GAAJ,UAAK,KAAQ;QACX,gBAAK,CAAC,IAAI,YAAC,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,CAAC;IAClC,CAAC;IACH,sBAAC;AAAD,CAAC,AA/BD,CAAwC,iBAAO,GA+B9C;AA/BY,uBAAe,kBA+B3B,CAAA","sourcesContent":["import { Subject } from './Subject';\nimport { Subscriber } from './Subscriber';\nimport { Subscription, ISubscription } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\n\n/**\n * @class BehaviorSubject\n */\nexport class BehaviorSubject extends Subject {\n\n constructor(private _value: T) {\n super();\n }\n\n get value(): T {\n return this.getValue();\n }\n\n protected _subscribe(subscriber: Subscriber): Subscription {\n const subscription = super._subscribe(subscriber);\n if (subscription && !(subscription).closed) {\n subscriber.next(this._value);\n }\n return subscription;\n }\n\n getValue(): T {\n if (this.hasError) {\n throw this.thrownError;\n } else if (this.closed) {\n throw new ObjectUnsubscribedError();\n } else {\n return this._value;\n }\n }\n\n next(value: T): void {\n super.next(this._value = value);\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/InnerSubscriber.d.ts b/node_modules/rxjs/InnerSubscriber.d.ts deleted file mode 100644 index 72087f19..00000000 --- a/node_modules/rxjs/InnerSubscriber.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Subscriber } from './Subscriber'; -import { OuterSubscriber } from './OuterSubscriber'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export declare class InnerSubscriber extends Subscriber { - private parent; - private outerValue; - private outerIndex; - private index; - constructor(parent: OuterSubscriber, outerValue: T, outerIndex: number); - protected _next(value: R): void; - protected _error(error: any): void; - protected _complete(): void; -} diff --git a/node_modules/rxjs/InnerSubscriber.js b/node_modules/rxjs/InnerSubscriber.js deleted file mode 100644 index 85044bf6..00000000 --- a/node_modules/rxjs/InnerSubscriber.js +++ /dev/null @@ -1,36 +0,0 @@ -"use strict"; -var __extends = (this && this.__extends) || function (d, b) { - for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); -}; -var Subscriber_1 = require('./Subscriber'); -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -var InnerSubscriber = (function (_super) { - __extends(InnerSubscriber, _super); - function InnerSubscriber(parent, outerValue, outerIndex) { - _super.call(this); - this.parent = parent; - this.outerValue = outerValue; - this.outerIndex = outerIndex; - this.index = 0; - } - InnerSubscriber.prototype._next = function (value) { - this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this); - }; - InnerSubscriber.prototype._error = function (error) { - this.parent.notifyError(error, this); - this.unsubscribe(); - }; - InnerSubscriber.prototype._complete = function () { - this.parent.notifyComplete(this); - this.unsubscribe(); - }; - return InnerSubscriber; -}(Subscriber_1.Subscriber)); -exports.InnerSubscriber = InnerSubscriber; -//# sourceMappingURL=InnerSubscriber.js.map \ No newline at end of file diff --git a/node_modules/rxjs/InnerSubscriber.js.map b/node_modules/rxjs/InnerSubscriber.js.map deleted file mode 100644 index 3f3092b1..00000000 --- a/node_modules/rxjs/InnerSubscriber.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"InnerSubscriber.js","sourceRoot":"","sources":["../src/InnerSubscriber.ts"],"names":[],"mappings":";;;;;;AAAA,2BAA2B,cAAc,CAAC,CAAA;AAG1C;;;;GAIG;AACH;IAA2C,mCAAa;IAGtD,yBAAoB,MAA6B,EAAU,UAAa,EAAU,UAAkB;QAClG,iBAAO,CAAC;QADU,WAAM,GAAN,MAAM,CAAuB;QAAU,eAAU,GAAV,UAAU,CAAG;QAAU,eAAU,GAAV,UAAU,CAAQ;QAF5F,UAAK,GAAW,CAAC,CAAC;IAI1B,CAAC;IAES,+BAAK,GAAf,UAAgB,KAAQ;QACtB,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,UAAU,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,CAAC;IACtF,CAAC;IAES,gCAAM,GAAhB,UAAiB,KAAU;QACzB,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IAES,mCAAS,GAAnB;QACE,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IACH,sBAAC;AAAD,CAAC,AApBD,CAA2C,uBAAU,GAoBpD;AApBY,uBAAe,kBAoB3B,CAAA","sourcesContent":["import { Subscriber } from './Subscriber';\nimport { OuterSubscriber } from './OuterSubscriber';\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nexport class InnerSubscriber extends Subscriber {\n private index: number = 0;\n\n constructor(private parent: OuterSubscriber, private outerValue: T, private outerIndex: number) {\n super();\n }\n\n protected _next(value: R): void {\n this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this);\n }\n\n protected _error(error: any): void {\n this.parent.notifyError(error, this);\n this.unsubscribe();\n }\n\n protected _complete(): void {\n this.parent.notifyComplete(this);\n this.unsubscribe();\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/LICENSE.txt b/node_modules/rxjs/LICENSE.txt deleted file mode 100644 index b6c40015..00000000 --- a/node_modules/rxjs/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - 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 (c) 2015-2017 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors - - 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. - diff --git a/node_modules/rxjs/Notification.d.ts b/node_modules/rxjs/Notification.d.ts deleted file mode 100644 index 19ba442c..00000000 --- a/node_modules/rxjs/Notification.d.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { PartialObserver } from './Observer'; -import { Observable } from './Observable'; -/** - * Represents a push-based event or value that an {@link Observable} can emit. - * This class is particularly useful for operators that manage notifications, - * like {@link materialize}, {@link dematerialize}, {@link observeOn}, and - * others. Besides wrapping the actual delivered value, it also annotates it - * with metadata of, for instance, what type of push message it is (`next`, - * `error`, or `complete`). - * - * @see {@link materialize} - * @see {@link dematerialize} - * @see {@link observeOn} - * - * @class Notification - */ -export declare class Notification { - kind: string; - value: T; - error: any; - hasValue: boolean; - constructor(kind: string, value?: T, error?: any); - /** - * Delivers to the given `observer` the value wrapped by this Notification. - * @param {Observer} observer - * @return - */ - observe(observer: PartialObserver): any; - /** - * Given some {@link Observer} callbacks, deliver the value represented by the - * current Notification to the correctly corresponding callback. - * @param {function(value: T): void} next An Observer `next` callback. - * @param {function(err: any): void} [error] An Observer `error` callback. - * @param {function(): void} [complete] An Observer `complete` callback. - * @return {any} - */ - do(next: (value: T) => void, error?: (err: any) => void, complete?: () => void): any; - /** - * Takes an Observer or its individual callback functions, and calls `observe` - * or `do` methods accordingly. - * @param {Observer|function(value: T): void} nextOrObserver An Observer or - * the `next` callback. - * @param {function(err: any): void} [error] An Observer `error` callback. - * @param {function(): void} [complete] An Observer `complete` callback. - * @return {any} - */ - accept(nextOrObserver: PartialObserver | ((value: T) => void), error?: (err: any) => void, complete?: () => void): any; - /** - * Returns a simple Observable that just delivers the notification represented - * by this Notification instance. - * @return {any} - */ - toObservable(): Observable; - private static completeNotification; - private static undefinedValueNotification; - /** - * A shortcut to create a Notification instance of the type `next` from a - * given value. - * @param {T} value The `next` value. - * @return {Notification} The "next" Notification representing the - * argument. - */ - static createNext(value: T): Notification; - /** - * A shortcut to create a Notification instance of the type `error` from a - * given error. - * @param {any} [err] The `error` error. - * @return {Notification} The "error" Notification representing the - * argument. - */ - static createError(err?: any): Notification; - /** - * A shortcut to create a Notification instance of the type `complete`. - * @return {Notification} The valueless "complete" Notification. - */ - static createComplete(): Notification; -} diff --git a/node_modules/rxjs/Notification.js b/node_modules/rxjs/Notification.js deleted file mode 100644 index ae933e4a..00000000 --- a/node_modules/rxjs/Notification.js +++ /dev/null @@ -1,127 +0,0 @@ -"use strict"; -var Observable_1 = require('./Observable'); -/** - * Represents a push-based event or value that an {@link Observable} can emit. - * This class is particularly useful for operators that manage notifications, - * like {@link materialize}, {@link dematerialize}, {@link observeOn}, and - * others. Besides wrapping the actual delivered value, it also annotates it - * with metadata of, for instance, what type of push message it is (`next`, - * `error`, or `complete`). - * - * @see {@link materialize} - * @see {@link dematerialize} - * @see {@link observeOn} - * - * @class Notification - */ -var Notification = (function () { - function Notification(kind, value, error) { - this.kind = kind; - this.value = value; - this.error = error; - this.hasValue = kind === 'N'; - } - /** - * Delivers to the given `observer` the value wrapped by this Notification. - * @param {Observer} observer - * @return - */ - Notification.prototype.observe = function (observer) { - switch (this.kind) { - case 'N': - return observer.next && observer.next(this.value); - case 'E': - return observer.error && observer.error(this.error); - case 'C': - return observer.complete && observer.complete(); - } - }; - /** - * Given some {@link Observer} callbacks, deliver the value represented by the - * current Notification to the correctly corresponding callback. - * @param {function(value: T): void} next An Observer `next` callback. - * @param {function(err: any): void} [error] An Observer `error` callback. - * @param {function(): void} [complete] An Observer `complete` callback. - * @return {any} - */ - Notification.prototype.do = function (next, error, complete) { - var kind = this.kind; - switch (kind) { - case 'N': - return next && next(this.value); - case 'E': - return error && error(this.error); - case 'C': - return complete && complete(); - } - }; - /** - * Takes an Observer or its individual callback functions, and calls `observe` - * or `do` methods accordingly. - * @param {Observer|function(value: T): void} nextOrObserver An Observer or - * the `next` callback. - * @param {function(err: any): void} [error] An Observer `error` callback. - * @param {function(): void} [complete] An Observer `complete` callback. - * @return {any} - */ - Notification.prototype.accept = function (nextOrObserver, error, complete) { - if (nextOrObserver && typeof nextOrObserver.next === 'function') { - return this.observe(nextOrObserver); - } - else { - return this.do(nextOrObserver, error, complete); - } - }; - /** - * Returns a simple Observable that just delivers the notification represented - * by this Notification instance. - * @return {any} - */ - Notification.prototype.toObservable = function () { - var kind = this.kind; - switch (kind) { - case 'N': - return Observable_1.Observable.of(this.value); - case 'E': - return Observable_1.Observable.throw(this.error); - case 'C': - return Observable_1.Observable.empty(); - } - throw new Error('unexpected notification kind value'); - }; - /** - * A shortcut to create a Notification instance of the type `next` from a - * given value. - * @param {T} value The `next` value. - * @return {Notification} The "next" Notification representing the - * argument. - */ - Notification.createNext = function (value) { - if (typeof value !== 'undefined') { - return new Notification('N', value); - } - return Notification.undefinedValueNotification; - }; - /** - * A shortcut to create a Notification instance of the type `error` from a - * given error. - * @param {any} [err] The `error` error. - * @return {Notification} The "error" Notification representing the - * argument. - */ - Notification.createError = function (err) { - return new Notification('E', undefined, err); - }; - /** - * A shortcut to create a Notification instance of the type `complete`. - * @return {Notification} The valueless "complete" Notification. - */ - Notification.createComplete = function () { - return Notification.completeNotification; - }; - Notification.completeNotification = new Notification('C'); - Notification.undefinedValueNotification = new Notification('N', undefined); - return Notification; -}()); -exports.Notification = Notification; -//# sourceMappingURL=Notification.js.map \ No newline at end of file diff --git a/node_modules/rxjs/Notification.js.map b/node_modules/rxjs/Notification.js.map deleted file mode 100644 index b554d335..00000000 --- a/node_modules/rxjs/Notification.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Notification.js","sourceRoot":"","sources":["../src/Notification.ts"],"names":[],"mappings":";AACA,2BAA2B,cAAc,CAAC,CAAA;AAE1C;;;;;;;;;;;;;GAaG;AACH;IAGE,sBAAmB,IAAY,EAAS,KAAS,EAAS,KAAW;QA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CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;IAkClG,mBAAC;AAAD,CAAC,AAjHD,IAiHC;AAjHY,oBAAY,eAiHxB,CAAA","sourcesContent":["import { PartialObserver } from './Observer';\nimport { Observable } from './Observable';\n\n/**\n * Represents a push-based event or value that an {@link Observable} can emit.\n * This class is particularly useful for operators that manage notifications,\n * like {@link materialize}, {@link dematerialize}, {@link observeOn}, and\n * others. Besides wrapping the actual delivered value, it also annotates it\n * with metadata of, for instance, what type of push message it is (`next`,\n * `error`, or `complete`).\n *\n * @see {@link materialize}\n * @see {@link dematerialize}\n * @see {@link observeOn}\n *\n * @class Notification\n */\nexport class Notification {\n hasValue: boolean;\n\n constructor(public kind: string, public value?: T, public error?: any) {\n this.hasValue = kind === 'N';\n }\n\n /**\n * Delivers to the given `observer` the value wrapped by this Notification.\n * @param {Observer} observer\n * @return\n */\n observe(observer: PartialObserver): any {\n switch (this.kind) {\n case 'N':\n return observer.next && observer.next(this.value);\n case 'E':\n return observer.error && observer.error(this.error);\n case 'C':\n return observer.complete && observer.complete();\n }\n }\n\n /**\n * Given some {@link Observer} callbacks, deliver the value represented by the\n * current Notification to the correctly corresponding callback.\n * @param {function(value: T): void} next An Observer `next` callback.\n * @param {function(err: any): void} [error] An Observer `error` callback.\n * @param {function(): void} [complete] An Observer `complete` callback.\n * @return {any}\n */\n do(next: (value: T) => void, error?: (err: any) => void, complete?: () => void): any {\n const kind = this.kind;\n switch (kind) {\n case 'N':\n return next && next(this.value);\n case 'E':\n return error && error(this.error);\n case 'C':\n return complete && complete();\n }\n }\n\n /**\n * Takes an Observer or its individual callback functions, and calls `observe`\n * or `do` methods accordingly.\n * @param {Observer|function(value: T): void} nextOrObserver An Observer or\n * the `next` callback.\n * @param {function(err: any): void} [error] An Observer `error` callback.\n * @param {function(): void} [complete] An Observer `complete` callback.\n * @return {any}\n */\n accept(nextOrObserver: PartialObserver | ((value: T) => void), error?: (err: any) => void, complete?: () => void) {\n if (nextOrObserver && typeof (>nextOrObserver).next === 'function') {\n return this.observe(>nextOrObserver);\n } else {\n return this.do(<(value: T) => void>nextOrObserver, error, complete);\n }\n }\n\n /**\n * Returns a simple Observable that just delivers the notification represented\n * by this Notification instance.\n * @return {any}\n */\n toObservable(): Observable {\n const kind = this.kind;\n switch (kind) {\n case 'N':\n return Observable.of(this.value);\n case 'E':\n return Observable.throw(this.error);\n case 'C':\n return Observable.empty();\n }\n throw new Error('unexpected notification kind value');\n }\n\n private static completeNotification: Notification = new Notification('C');\n private static undefinedValueNotification: Notification = new Notification('N', undefined);\n\n /**\n * A shortcut to create a Notification instance of the type `next` from a\n * given value.\n * @param {T} value The `next` value.\n * @return {Notification} The \"next\" Notification representing the\n * argument.\n */\n static createNext(value: T): Notification {\n if (typeof value !== 'undefined') {\n return new Notification('N', value);\n }\n return Notification.undefinedValueNotification;\n }\n\n /**\n * A shortcut to create a Notification instance of the type `error` from a\n * given error.\n * @param {any} [err] The `error` error.\n * @return {Notification} The \"error\" Notification representing the\n * argument.\n */\n static createError(err?: any): Notification {\n return new Notification('E', undefined, err);\n }\n\n /**\n * A shortcut to create a Notification instance of the type `complete`.\n * @return {Notification} The valueless \"complete\" Notification.\n */\n static createComplete(): Notification {\n return Notification.completeNotification;\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/Observable.d.ts b/node_modules/rxjs/Observable.d.ts deleted file mode 100644 index a2f8caa4..00000000 --- a/node_modules/rxjs/Observable.d.ts +++ /dev/null @@ -1,75 +0,0 @@ -import { PartialObserver } from './Observer'; -import { Operator } from './Operator'; -import { Subscriber } from './Subscriber'; -import { Subscription, AnonymousSubscription, TeardownLogic } from './Subscription'; -import { IfObservable } from './observable/IfObservable'; -import { ErrorObservable } from './observable/ErrorObservable'; -import { OperatorFunction } from './interfaces'; -export interface Subscribable { - subscribe(observerOrNext?: PartialObserver | ((value: T) => void), error?: (error: any) => void, complete?: () => void): AnonymousSubscription; -} -export declare type SubscribableOrPromise = Subscribable | PromiseLike; -export declare type ObservableInput = SubscribableOrPromise | ArrayLike; -/** - * A representation of any set of values over any amount of time. This is the most basic building block - * of RxJS. - * - * @class Observable - */ -export declare class Observable implements Subscribable { - _isScalar: boolean; - protected source: Observable; - protected operator: Operator; - /** - * @constructor - * @param {Function} subscribe the function that is called when the Observable is - * initially subscribed to. This function is given a Subscriber, to which new values - * can be `next`ed, or an `error` method can be called to raise an error, or - * `complete` can be called to notify of a successful completion. - */ - constructor(subscribe?: (this: Observable, subscriber: Subscriber) => TeardownLogic); - /** - * Creates a new cold Observable by calling the Observable constructor - * @static true - * @owner Observable - * @method create - * @param {Function} subscribe? the subscriber function to be passed to the Observable constructor - * @return {Observable} a new cold observable - */ - static create: Function; - /** - * Creates a new Observable, with this Observable as the source, and the passed - * operator defined as the new observable's operator. - * @method lift - * @param {Operator} operator the operator defining the operation to take on the observable - * @return {Observable} a new observable with the Operator applied - */ - lift(operator: Operator): Observable; - subscribe(observer?: PartialObserver): Subscription; - subscribe(next?: (value: T) => void, error?: (error: any) => void, complete?: () => void): Subscription; - protected _trySubscribe(sink: Subscriber): TeardownLogic; - /** - * @method forEach - * @param {Function} next a handler for each value emitted by the observable - * @param {PromiseConstructor} [PromiseCtor] a constructor function used to instantiate the Promise - * @return {Promise} a promise that either resolves on observable completion or - * rejects with the handled error - */ - forEach(next: (value: T) => void, PromiseCtor?: typeof Promise): Promise; - protected _subscribe(subscriber: Subscriber): TeardownLogic; - static if: typeof IfObservable.create; - static throw: typeof ErrorObservable.create; - pipe(): Observable; - pipe(op1: OperatorFunction): Observable; - pipe(op1: OperatorFunction, op2: OperatorFunction): Observable; - pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction): Observable; - pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction): Observable; - pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction, op5: OperatorFunction): Observable; - pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction, op5: OperatorFunction, op6: OperatorFunction): Observable; - pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction, op5: OperatorFunction, op6: OperatorFunction, op7: OperatorFunction): Observable; - pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction, op5: OperatorFunction, op6: OperatorFunction, op7: OperatorFunction, op8: OperatorFunction): Observable; - pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction, op5: OperatorFunction, op6: OperatorFunction, op7: OperatorFunction, op8: OperatorFunction, op9: OperatorFunction): Observable; - toPromise(this: Observable): Promise; - toPromise(this: Observable, PromiseCtor: typeof Promise): Promise; - toPromise(this: Observable, PromiseCtor: PromiseConstructorLike): Promise; -} diff --git a/node_modules/rxjs/Observable.js b/node_modules/rxjs/Observable.js deleted file mode 100644 index 90687457..00000000 --- a/node_modules/rxjs/Observable.js +++ /dev/null @@ -1,305 +0,0 @@ -"use strict"; -var root_1 = require('./util/root'); -var toSubscriber_1 = require('./util/toSubscriber'); -var observable_1 = require('./symbol/observable'); -var pipe_1 = require('./util/pipe'); -/** - * A representation of any set of values over any amount of time. This is the most basic building block - * of RxJS. - * - * @class Observable - */ -var Observable = (function () { - /** - * @constructor - * @param {Function} subscribe the function that is called when the Observable is - * initially subscribed to. This function is given a Subscriber, to which new values - * can be `next`ed, or an `error` method can be called to raise an error, or - * `complete` can be called to notify of a successful completion. - */ - function Observable(subscribe) { - this._isScalar = false; - if (subscribe) { - this._subscribe = subscribe; - } - } - /** - * Creates a new Observable, with this Observable as the source, and the passed - * operator defined as the new observable's operator. - * @method lift - * @param {Operator} operator the operator defining the operation to take on the observable - * @return {Observable} a new observable with the Operator applied - */ - Observable.prototype.lift = function (operator) { - var observable = new Observable(); - observable.source = this; - observable.operator = operator; - return observable; - }; - /** - * Invokes an execution of an Observable and registers Observer handlers for notifications it will emit. - * - * Use it when you have all these Observables, but still nothing is happening. - * - * `subscribe` is not a regular operator, but a method that calls Observable's internal `subscribe` function. It - * might be for example a function that you passed to a {@link create} static factory, but most of the time it is - * a library implementation, which defines what and when will be emitted by an Observable. This means that calling - * `subscribe` is actually the moment when Observable starts its work, not when it is created, as it is often - * thought. - * - * Apart from starting the execution of an Observable, this method allows you to listen for values - * that an Observable emits, as well as for when it completes or errors. You can achieve this in two - * following ways. - * - * The first way is creating an object that implements {@link Observer} interface. It should have methods - * defined by that interface, but note that it should be just a regular JavaScript object, which you can create - * yourself in any way you want (ES6 class, classic function constructor, object literal etc.). In particular do - * not attempt to use any RxJS implementation details to create Observers - you don't need them. Remember also - * that your object does not have to implement all methods. If you find yourself creating a method that doesn't - * do anything, you can simply omit it. Note however, that if `error` method is not provided, all errors will - * be left uncaught. - * - * The second way is to give up on Observer object altogether and simply provide callback functions in place of its methods. - * This means you can provide three functions as arguments to `subscribe`, where first function is equivalent - * of a `next` method, second of an `error` method and third of a `complete` method. Just as in case of Observer, - * if you do not need to listen for something, you can omit a function, preferably by passing `undefined` or `null`, - * since `subscribe` recognizes these functions by where they were placed in function call. When it comes - * to `error` function, just as before, if not provided, errors emitted by an Observable will be thrown. - * - * Whatever style of calling `subscribe` you use, in both cases it returns a Subscription object. - * This object allows you to call `unsubscribe` on it, which in turn will stop work that an Observable does and will clean - * up all resources that an Observable used. Note that cancelling a subscription will not call `complete` callback - * provided to `subscribe` function, which is reserved for a regular completion signal that comes from an Observable. - * - * Remember that callbacks provided to `subscribe` are not guaranteed to be called asynchronously. - * It is an Observable itself that decides when these functions will be called. For example {@link of} - * by default emits all its values synchronously. Always check documentation for how given Observable - * will behave when subscribed and if its default behavior can be modified with a {@link Scheduler}. - * - * @example Subscribe with an Observer - * const sumObserver = { - * sum: 0, - * next(value) { - * console.log('Adding: ' + value); - * this.sum = this.sum + value; - * }, - * error() { // We actually could just remove this method, - * }, // since we do not really care about errors right now. - * complete() { - * console.log('Sum equals: ' + this.sum); - * } - * }; - * - * Rx.Observable.of(1, 2, 3) // Synchronously emits 1, 2, 3 and then completes. - * .subscribe(sumObserver); - * - * // Logs: - * // "Adding: 1" - * // "Adding: 2" - * // "Adding: 3" - * // "Sum equals: 6" - * - * - * @example Subscribe with functions - * let sum = 0; - * - * Rx.Observable.of(1, 2, 3) - * .subscribe( - * function(value) { - * console.log('Adding: ' + value); - * sum = sum + value; - * }, - * undefined, - * function() { - * console.log('Sum equals: ' + sum); - * } - * ); - * - * // Logs: - * // "Adding: 1" - * // "Adding: 2" - * // "Adding: 3" - * // "Sum equals: 6" - * - * - * @example Cancel a subscription - * const subscription = Rx.Observable.interval(1000).subscribe( - * num => console.log(num), - * undefined, - * () => console.log('completed!') // Will not be called, even - * ); // when cancelling subscription - * - * - * setTimeout(() => { - * subscription.unsubscribe(); - * console.log('unsubscribed!'); - * }, 2500); - * - * // Logs: - * // 0 after 1s - * // 1 after 2s - * // "unsubscribed!" after 2.5s - * - * - * @param {Observer|Function} observerOrNext (optional) Either an observer with methods to be called, - * or the first of three possible handlers, which is the handler for each value emitted from the subscribed - * Observable. - * @param {Function} error (optional) A handler for a terminal event resulting from an error. If no error handler is provided, - * the error will be thrown as unhandled. - * @param {Function} complete (optional) A handler for a terminal event resulting from successful completion. - * @return {ISubscription} a subscription reference to the registered handlers - * @method subscribe - */ - Observable.prototype.subscribe = function (observerOrNext, error, complete) { - var operator = this.operator; - var sink = toSubscriber_1.toSubscriber(observerOrNext, error, complete); - if (operator) { - operator.call(sink, this.source); - } - else { - sink.add(this.source || !sink.syncErrorThrowable ? this._subscribe(sink) : this._trySubscribe(sink)); - } - if (sink.syncErrorThrowable) { - sink.syncErrorThrowable = false; - if (sink.syncErrorThrown) { - throw sink.syncErrorValue; - } - } - return sink; - }; - Observable.prototype._trySubscribe = function (sink) { - try { - return this._subscribe(sink); - } - catch (err) { - sink.syncErrorThrown = true; - sink.syncErrorValue = err; - sink.error(err); - } - }; - /** - * @method forEach - * @param {Function} next a handler for each value emitted by the observable - * @param {PromiseConstructor} [PromiseCtor] a constructor function used to instantiate the Promise - * @return {Promise} a promise that either resolves on observable completion or - * rejects with the handled error - */ - Observable.prototype.forEach = function (next, PromiseCtor) { - var _this = this; - if (!PromiseCtor) { - if (root_1.root.Rx && root_1.root.Rx.config && root_1.root.Rx.config.Promise) { - PromiseCtor = root_1.root.Rx.config.Promise; - } - else if (root_1.root.Promise) { - PromiseCtor = root_1.root.Promise; - } - } - if (!PromiseCtor) { - throw new Error('no Promise impl found'); - } - return new PromiseCtor(function (resolve, reject) { - // Must be declared in a separate statement to avoid a RefernceError when - // accessing subscription below in the closure due to Temporal Dead Zone. - var subscription; - subscription = _this.subscribe(function (value) { - if (subscription) { - // if there is a subscription, then we can surmise - // the next handling is asynchronous. Any errors thrown - // need to be rejected explicitly and unsubscribe must be - // called manually - try { - next(value); - } - catch (err) { - reject(err); - subscription.unsubscribe(); - } - } - else { - // if there is NO subscription, then we're getting a nexted - // value synchronously during subscription. We can just call it. - // If it errors, Observable's `subscribe` will ensure the - // unsubscription logic is called, then synchronously rethrow the error. - // After that, Promise will trap the error and send it - // down the rejection path. - next(value); - } - }, reject, resolve); - }); - }; - Observable.prototype._subscribe = function (subscriber) { - return this.source.subscribe(subscriber); - }; - /** - * An interop point defined by the es7-observable spec https://github.com/zenparsing/es-observable - * @method Symbol.observable - * @return {Observable} this instance of the observable - */ - Observable.prototype[observable_1.observable] = function () { - return this; - }; - /* tslint:enable:max-line-length */ - /** - * Used to stitch together functional operators into a chain. - * @method pipe - * @return {Observable} the Observable result of all of the operators having - * been called in the order they were passed in. - * - * @example - * - * import { map, filter, scan } from 'rxjs/operators'; - * - * Rx.Observable.interval(1000) - * .pipe( - * filter(x => x % 2 === 0), - * map(x => x + x), - * scan((acc, x) => acc + x) - * ) - * .subscribe(x => console.log(x)) - */ - Observable.prototype.pipe = function () { - var operations = []; - for (var _i = 0; _i < arguments.length; _i++) { - operations[_i - 0] = arguments[_i]; - } - if (operations.length === 0) { - return this; - } - return pipe_1.pipeFromArray(operations)(this); - }; - /* tslint:enable:max-line-length */ - Observable.prototype.toPromise = function (PromiseCtor) { - var _this = this; - if (!PromiseCtor) { - if (root_1.root.Rx && root_1.root.Rx.config && root_1.root.Rx.config.Promise) { - PromiseCtor = root_1.root.Rx.config.Promise; - } - else if (root_1.root.Promise) { - PromiseCtor = root_1.root.Promise; - } - } - if (!PromiseCtor) { - throw new Error('no Promise impl found'); - } - return new PromiseCtor(function (resolve, reject) { - var value; - _this.subscribe(function (x) { return value = x; }, function (err) { return reject(err); }, function () { return resolve(value); }); - }); - }; - // HACK: Since TypeScript inherits static properties too, we have to - // fight against TypeScript here so Subject can have a different static create signature - /** - * Creates a new cold Observable by calling the Observable constructor - * @static true - * @owner Observable - * @method create - * @param {Function} subscribe? the subscriber function to be passed to the Observable constructor - * @return {Observable} a new cold observable - */ - Observable.create = function (subscribe) { - return new Observable(subscribe); - }; - return Observable; -}()); -exports.Observable = Observable; -//# sourceMappingURL=Observable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/Observable.js.map b/node_modules/rxjs/Observable.js.map deleted file mode 100644 index 827570eb..00000000 --- a/node_modules/rxjs/Observable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Observable.js","sourceRoot":"","sources":["../src/Observable.ts"],"names":[],"mappings":";AAIA,qBAAqB,aAAa,CAAC,CAAA;AACnC,6BAA6B,qBAAqB,CAAC,CAAA;AAGnD,2BAAgD,qBAAqB,CAAC,CAAA;AAEtE,qBAA8B,aAAa,CAAC,CAAA;AAW5C;;;;;GAKG;AACH;IAOE;;;;;;OAMG;IACH,oBAAY,SAA6E;QAZlF,cAAS,GAAY,KAAK,CAAC;QAahC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;YACd,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC9B,CAAC;IACH,CAAC;IAgBD;;;;;;OAMG;IACH,yBAAI,GAAJ,UAAQ,QAAwB;QAC9B,IAAM,UAAU,GAAG,IAAI,UAAU,EAAK,CAAC;QACv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C,CAAC;gBACxB,WAAW,GAAG,WAAI,CAAC,OAAO,CAAC;YAC7B,CAAC;QACH,CAAC;QAED,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC;YACjB,MAAM,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAAC;QAC3C,CAAC;QAED,MAAM,CAAC,IAAI,WAAW,CAAC,UAAC,OAAO,EAAE,MAAM;YACrC,IAAI,KAAU,CAAC;YACf,KAAI,CAAC,SAAS,CAAC,UAAC,CAAI,IAAK,OAAA,KAAK,GAAG,CAAC,EAAT,CAAS,EAAE,UAAC,GAAQ,IAAK,OAAA,MAAM,CAAC,GAAG,CAAC,EAAX,CAAW,EAAE,cAAM,OAAA,OAAO,CAAC,KAAK,CAAC,EAAd,CAAc,CAAC,CAAC;QACvF,CAAC,CAAe,CAAC;IACnB,CAAC;IAjTD,oEAAoE;IACpE,wFAAwF;IACxF;;;;;;;OAOG;IACI,iBAAM,GAAa,UAAI,SAAwD;QACpF,MAAM,CAAC,IAAI,UAAU,CAAI,SAAS,CAAC,CAAC;IACtC,CAAC,CAAA;IAsSH,iBAAC;AAAD,CAAC,AAtUD,IAsUC;AAtUY,kBAAU,aAsUtB,CAAA","sourcesContent":["import { PartialObserver } from './Observer';\nimport { Operator } from './Operator';\nimport { Subscriber } from './Subscriber';\nimport { Subscription, AnonymousSubscription, TeardownLogic } from './Subscription';\nimport { root } from './util/root';\nimport { toSubscriber } from './util/toSubscriber';\nimport { IfObservable } from './observable/IfObservable';\nimport { ErrorObservable } from './observable/ErrorObservable';\nimport { observable as Symbol_observable } from './symbol/observable';\nimport { OperatorFunction } from './interfaces';\nimport { pipeFromArray } from './util/pipe';\n\nexport interface Subscribable {\n subscribe(observerOrNext?: PartialObserver | ((value: T) => void),\n error?: (error: any) => void,\n complete?: () => void): AnonymousSubscription;\n}\n\nexport type SubscribableOrPromise = Subscribable | PromiseLike;\nexport type ObservableInput = SubscribableOrPromise | ArrayLike;\n\n/**\n * A representation of any set of values over any amount of time. This is the most basic building block\n * of RxJS.\n *\n * @class Observable\n */\nexport class Observable implements Subscribable {\n\n public _isScalar: boolean = false;\n\n protected source: Observable;\n protected operator: Operator;\n\n /**\n * @constructor\n * @param {Function} subscribe the function that is called when the Observable is\n * initially subscribed to. This function is given a Subscriber, to which new values\n * can be `next`ed, or an `error` method can be called to raise an error, or\n * `complete` can be called to notify of a successful completion.\n */\n constructor(subscribe?: (this: Observable, subscriber: Subscriber) => TeardownLogic) {\n if (subscribe) {\n this._subscribe = subscribe;\n }\n }\n\n // HACK: Since TypeScript inherits static properties too, we have to\n // fight against TypeScript here so Subject can have a different static create signature\n /**\n * Creates a new cold Observable by calling the Observable constructor\n * @static true\n * @owner Observable\n * @method create\n * @param {Function} subscribe? the subscriber function to be passed to the Observable constructor\n * @return {Observable} a new cold observable\n */\n static create: Function = (subscribe?: (subscriber: Subscriber) => TeardownLogic) => {\n return new Observable(subscribe);\n }\n\n /**\n * Creates a new Observable, with this Observable as the source, and the passed\n * operator defined as the new observable's operator.\n * @method lift\n * @param {Operator} operator the operator defining the operation to take on the observable\n * @return {Observable} a new observable with the Operator applied\n */\n lift(operator: Operator): Observable {\n const observable = new Observable();\n observable.source = this;\n observable.operator = operator;\n return observable;\n }\n\n subscribe(observer?: PartialObserver): Subscription;\n subscribe(next?: (value: T) => void, error?: (error: any) => void, complete?: () => void): Subscription;\n /**\n * Invokes an execution of an Observable and registers Observer handlers for notifications it will emit.\n *\n * Use it when you have all these Observables, but still nothing is happening.\n *\n * `subscribe` is not a regular operator, but a method that calls Observable's internal `subscribe` function. It\n * might be for example a function that you passed to a {@link create} static factory, but most of the time it is\n * a library implementation, which defines what and when will be emitted by an Observable. This means that calling\n * `subscribe` is actually the moment when Observable starts its work, not when it is created, as it is often\n * thought.\n *\n * Apart from starting the execution of an Observable, this method allows you to listen for values\n * that an Observable emits, as well as for when it completes or errors. You can achieve this in two\n * following ways.\n *\n * The first way is creating an object that implements {@link Observer} interface. It should have methods\n * defined by that interface, but note that it should be just a regular JavaScript object, which you can create\n * yourself in any way you want (ES6 class, classic function constructor, object literal etc.). In particular do\n * not attempt to use any RxJS implementation details to create Observers - you don't need them. Remember also\n * that your object does not have to implement all methods. If you find yourself creating a method that doesn't\n * do anything, you can simply omit it. Note however, that if `error` method is not provided, all errors will\n * be left uncaught.\n *\n * The second way is to give up on Observer object altogether and simply provide callback functions in place of its methods.\n * This means you can provide three functions as arguments to `subscribe`, where first function is equivalent\n * of a `next` method, second of an `error` method and third of a `complete` method. Just as in case of Observer,\n * if you do not need to listen for something, you can omit a function, preferably by passing `undefined` or `null`,\n * since `subscribe` recognizes these functions by where they were placed in function call. When it comes\n * to `error` function, just as before, if not provided, errors emitted by an Observable will be thrown.\n *\n * Whatever style of calling `subscribe` you use, in both cases it returns a Subscription object.\n * This object allows you to call `unsubscribe` on it, which in turn will stop work that an Observable does and will clean\n * up all resources that an Observable used. Note that cancelling a subscription will not call `complete` callback\n * provided to `subscribe` function, which is reserved for a regular completion signal that comes from an Observable.\n *\n * Remember that callbacks provided to `subscribe` are not guaranteed to be called asynchronously.\n * It is an Observable itself that decides when these functions will be called. For example {@link of}\n * by default emits all its values synchronously. Always check documentation for how given Observable\n * will behave when subscribed and if its default behavior can be modified with a {@link Scheduler}.\n *\n * @example Subscribe with an Observer\n * const sumObserver = {\n * sum: 0,\n * next(value) {\n * console.log('Adding: ' + value);\n * this.sum = this.sum + value;\n * },\n * error() { // We actually could just remove this method,\n * }, // since we do not really care about errors right now.\n * complete() {\n * console.log('Sum equals: ' + this.sum);\n * }\n * };\n *\n * Rx.Observable.of(1, 2, 3) // Synchronously emits 1, 2, 3 and then completes.\n * .subscribe(sumObserver);\n *\n * // Logs:\n * // \"Adding: 1\"\n * // \"Adding: 2\"\n * // \"Adding: 3\"\n * // \"Sum equals: 6\"\n *\n *\n * @example Subscribe with functions\n * let sum = 0;\n *\n * Rx.Observable.of(1, 2, 3)\n * .subscribe(\n * function(value) {\n * console.log('Adding: ' + value);\n * sum = sum + value;\n * },\n * undefined,\n * function() {\n * console.log('Sum equals: ' + sum);\n * }\n * );\n *\n * // Logs:\n * // \"Adding: 1\"\n * // \"Adding: 2\"\n * // \"Adding: 3\"\n * // \"Sum equals: 6\"\n *\n *\n * @example Cancel a subscription\n * const subscription = Rx.Observable.interval(1000).subscribe(\n * num => console.log(num),\n * undefined,\n * () => console.log('completed!') // Will not be called, even\n * ); // when cancelling subscription\n *\n *\n * setTimeout(() => {\n * subscription.unsubscribe();\n * console.log('unsubscribed!');\n * }, 2500);\n *\n * // Logs:\n * // 0 after 1s\n * // 1 after 2s\n * // \"unsubscribed!\" after 2.5s\n *\n *\n * @param {Observer|Function} observerOrNext (optional) Either an observer with methods to be called,\n * or the first of three possible handlers, which is the handler for each value emitted from the subscribed\n * Observable.\n * @param {Function} error (optional) A handler for a terminal event resulting from an error. If no error handler is provided,\n * the error will be thrown as unhandled.\n * @param {Function} complete (optional) A handler for a terminal event resulting from successful completion.\n * @return {ISubscription} a subscription reference to the registered handlers\n * @method subscribe\n */\n subscribe(observerOrNext?: PartialObserver | ((value: T) => void),\n error?: (error: any) => void,\n complete?: () => void): Subscription {\n\n const { operator } = this;\n const sink = toSubscriber(observerOrNext, error, complete);\n\n if (operator) {\n operator.call(sink, this.source);\n } else {\n sink.add(this.source || !sink.syncErrorThrowable ? this._subscribe(sink) : this._trySubscribe(sink));\n }\n\n if (sink.syncErrorThrowable) {\n sink.syncErrorThrowable = false;\n if (sink.syncErrorThrown) {\n throw sink.syncErrorValue;\n }\n }\n\n return sink;\n }\n\n protected _trySubscribe(sink: Subscriber): TeardownLogic {\n try {\n return this._subscribe(sink);\n } catch (err) {\n sink.syncErrorThrown = true;\n sink.syncErrorValue = err;\n sink.error(err);\n }\n }\n\n /**\n * @method forEach\n * @param {Function} next a handler for each value emitted by the observable\n * @param {PromiseConstructor} [PromiseCtor] a constructor function used to instantiate the Promise\n * @return {Promise} a promise that either resolves on observable completion or\n * rejects with the handled error\n */\n forEach(next: (value: T) => void, PromiseCtor?: typeof Promise): Promise {\n if (!PromiseCtor) {\n if (root.Rx && root.Rx.config && root.Rx.config.Promise) {\n PromiseCtor = root.Rx.config.Promise;\n } else if (root.Promise) {\n PromiseCtor = root.Promise;\n }\n }\n\n if (!PromiseCtor) {\n throw new Error('no Promise impl found');\n }\n\n return new PromiseCtor((resolve, reject) => {\n // Must be declared in a separate statement to avoid a RefernceError when\n // accessing subscription below in the closure due to Temporal Dead Zone.\n let subscription: Subscription;\n subscription = this.subscribe((value) => {\n if (subscription) {\n // if there is a subscription, then we can surmise\n // the next handling is asynchronous. Any errors thrown\n // need to be rejected explicitly and unsubscribe must be\n // called manually\n try {\n next(value);\n } catch (err) {\n reject(err);\n subscription.unsubscribe();\n }\n } else {\n // if there is NO subscription, then we're getting a nexted\n // value synchronously during subscription. We can just call it.\n // If it errors, Observable's `subscribe` will ensure the\n // unsubscription logic is called, then synchronously rethrow the error.\n // After that, Promise will trap the error and send it\n // down the rejection path.\n next(value);\n }\n }, reject, resolve);\n });\n }\n\n protected _subscribe(subscriber: Subscriber): TeardownLogic {\n return this.source.subscribe(subscriber);\n }\n\n // `if` and `throw` are special snow flakes, the compiler sees them as reserved words\n static if: typeof IfObservable.create;\n static throw: typeof ErrorObservable.create;\n\n /**\n * An interop point defined by the es7-observable spec https://github.com/zenparsing/es-observable\n * @method Symbol.observable\n * @return {Observable} this instance of the observable\n */\n [Symbol_observable]() {\n return this;\n }\n\n /* tslint:disable:max-line-length */\n pipe(): Observable\n pipe(op1: OperatorFunction): Observable\n pipe(op1: OperatorFunction, op2: OperatorFunction): Observable\n pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction): Observable\n pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction): Observable\n pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction, op5: OperatorFunction): Observable\n pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction, op5: OperatorFunction, op6: OperatorFunction): Observable\n pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction, op5: OperatorFunction, op6: OperatorFunction, op7: OperatorFunction): Observable\n pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction, op5: OperatorFunction, op6: OperatorFunction, op7: OperatorFunction, op8: OperatorFunction): Observable\n pipe(op1: OperatorFunction, op2: OperatorFunction, op3: OperatorFunction, op4: OperatorFunction, op5: OperatorFunction, op6: OperatorFunction, op7: OperatorFunction, op8: OperatorFunction, op9: OperatorFunction): Observable\n /* tslint:enable:max-line-length */\n\n /**\n * Used to stitch together functional operators into a chain.\n * @method pipe\n * @return {Observable} the Observable result of all of the operators having\n * been called in the order they were passed in.\n *\n * @example\n *\n * import { map, filter, scan } from 'rxjs/operators';\n *\n * Rx.Observable.interval(1000)\n * .pipe(\n * filter(x => x % 2 === 0),\n * map(x => x + x),\n * scan((acc, x) => acc + x)\n * )\n * .subscribe(x => console.log(x))\n */\n pipe(...operations: OperatorFunction[]): Observable {\n if (operations.length === 0) {\n return this as any;\n }\n\n return pipeFromArray(operations)(this);\n }\n\n /* tslint:disable:max-line-length */\n toPromise(this: Observable): Promise;\n toPromise(this: Observable, PromiseCtor: typeof Promise): Promise;\n toPromise(this: Observable, PromiseCtor: PromiseConstructorLike): Promise;\n /* tslint:enable:max-line-length */\n\n toPromise(PromiseCtor?: PromiseConstructorLike) {\n if (!PromiseCtor) {\n if (root.Rx && root.Rx.config && root.Rx.config.Promise) {\n PromiseCtor = root.Rx.config.Promise;\n } else if (root.Promise) {\n PromiseCtor = root.Promise;\n }\n }\n\n if (!PromiseCtor) {\n throw new Error('no Promise impl found');\n }\n\n return new PromiseCtor((resolve, reject) => {\n let value: any;\n this.subscribe((x: T) => value = x, (err: any) => reject(err), () => resolve(value));\n }) as Promise;\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/Observer.d.ts b/node_modules/rxjs/Observer.d.ts deleted file mode 100644 index 99815a7c..00000000 --- a/node_modules/rxjs/Observer.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -export interface NextObserver { - closed?: boolean; - next: (value: T) => void; - error?: (err: any) => void; - complete?: () => void; -} -export interface ErrorObserver { - closed?: boolean; - next?: (value: T) => void; - error: (err: any) => void; - complete?: () => void; -} -export interface CompletionObserver { - closed?: boolean; - next?: (value: T) => void; - error?: (err: any) => void; - complete: () => void; -} -export declare type PartialObserver = NextObserver | ErrorObserver | CompletionObserver; -export interface Observer { - closed?: boolean; - next: (value: T) => void; - error: (err: any) => void; - complete: () => void; -} -export declare const empty: Observer; diff --git a/node_modules/rxjs/Observer.js b/node_modules/rxjs/Observer.js deleted file mode 100644 index db3df936..00000000 --- a/node_modules/rxjs/Observer.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict"; -exports.empty = { - closed: true, - next: function (value) { }, - error: function (err) { throw err; }, - complete: function () { } -}; -//# sourceMappingURL=Observer.js.map \ No newline at end of file diff --git a/node_modules/rxjs/Observer.js.map b/node_modules/rxjs/Observer.js.map deleted file mode 100644 index 6e2f9308..00000000 --- a/node_modules/rxjs/Observer.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Observer.js","sourceRoot":"","sources":["../src/Observer.ts"],"names":[],"mappings":";AA8Ba,aAAK,GAAkB;IAClC,MAAM,EAAE,IAAI;IACZ,IAAI,YAAC,KAAU,IAAoB,CAAC;IACpC,KAAK,YAAC,GAAQ,IAAU,MAAM,GAAG,CAAC,CAAC,CAAC;IACpC,QAAQ,gBAAoB,CAAC;CAC9B,CAAC","sourcesContent":["export interface NextObserver {\n closed?: boolean;\n next: (value: T) => void;\n error?: (err: any) => void;\n complete?: () => void;\n}\n\nexport interface ErrorObserver {\n closed?: boolean;\n next?: (value: T) => void;\n error: (err: any) => void;\n complete?: () => void;\n}\n\nexport interface CompletionObserver {\n closed?: boolean;\n next?: (value: T) => void;\n error?: (err: any) => void;\n complete: () => void;\n}\n\nexport type PartialObserver = NextObserver | ErrorObserver | CompletionObserver;\n\nexport interface Observer {\n closed?: boolean;\n next: (value: T) => void;\n error: (err: any) => void;\n complete: () => void;\n}\n\nexport const empty: Observer = {\n closed: true,\n next(value: any): void { /* noop */},\n error(err: any): void { throw err; },\n complete(): void { /*noop*/ }\n};\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/Operator.d.ts b/node_modules/rxjs/Operator.d.ts deleted file mode 100644 index 643dd9af..00000000 --- a/node_modules/rxjs/Operator.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { Subscriber } from './Subscriber'; -import { TeardownLogic } from './Subscription'; -export interface Operator { - call(subscriber: Subscriber, source: any): TeardownLogic; -} diff --git a/node_modules/rxjs/Operator.js b/node_modules/rxjs/Operator.js deleted file mode 100644 index f99eac52..00000000 --- a/node_modules/rxjs/Operator.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict"; -//# sourceMappingURL=Operator.js.map \ No newline at end of file diff --git a/node_modules/rxjs/Operator.js.map b/node_modules/rxjs/Operator.js.map deleted file mode 100644 index d1d8dce0..00000000 --- a/node_modules/rxjs/Operator.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Operator.js","sourceRoot":"","sources":["../src/Operator.ts"],"names":[],"mappings":"","sourcesContent":["import { Subscriber } from './Subscriber';\nimport { TeardownLogic } from './Subscription';\n\nexport interface Operator {\n call(subscriber: Subscriber, source: any): TeardownLogic;\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/OuterSubscriber.d.ts b/node_modules/rxjs/OuterSubscriber.d.ts deleted file mode 100644 index 15501206..00000000 --- a/node_modules/rxjs/OuterSubscriber.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Subscriber } from './Subscriber'; -import { InnerSubscriber } from './InnerSubscriber'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export declare class OuterSubscriber extends Subscriber { - notifyNext(outerValue: T, innerValue: R, outerIndex: number, innerIndex: number, innerSub: InnerSubscriber): void; - notifyError(error: any, innerSub: InnerSubscriber): void; - notifyComplete(innerSub: InnerSubscriber): void; -} diff --git a/node_modules/rxjs/OuterSubscriber.js b/node_modules/rxjs/OuterSubscriber.js deleted file mode 100644 index a0397e76..00000000 --- a/node_modules/rxjs/OuterSubscriber.js +++ /dev/null @@ -1,30 +0,0 @@ -"use strict"; -var __extends = (this && this.__extends) || function (d, b) { - for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); -}; -var Subscriber_1 = require('./Subscriber'); -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -var OuterSubscriber = (function (_super) { - __extends(OuterSubscriber, _super); - function OuterSubscriber() { - _super.apply(this, arguments); - } - OuterSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) { - this.destination.next(innerValue); - }; - OuterSubscriber.prototype.notifyError = function (error, innerSub) { - this.destination.error(error); - }; - OuterSubscriber.prototype.notifyComplete = function (innerSub) { - this.destination.complete(); - }; - return OuterSubscriber; -}(Subscriber_1.Subscriber)); -exports.OuterSubscriber = OuterSubscriber; -//# sourceMappingURL=OuterSubscriber.js.map \ No newline at end of file diff --git a/node_modules/rxjs/OuterSubscriber.js.map b/node_modules/rxjs/OuterSubscriber.js.map deleted file mode 100644 index 09c26b79..00000000 --- a/node_modules/rxjs/OuterSubscriber.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"OuterSubscriber.js","sourceRoot":"","sources":["../src/OuterSubscriber.ts"],"names":[],"mappings":";;;;;;AAAA,2BAA2B,cAAc,CAAC,CAAA;AAG1C;;;;GAIG;AACH;IAA2C,mCAAa;IAAxD;QAA2C,8BAAa;IAcxD,CAAC;IAbC,oCAAU,GAAV,UAAW,UAAa,EAAE,UAAa,EAC5B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IAED,qCAAW,GAAX,UAAY,KAAU,EAAE,QAA+B;QACrD,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAChC,CAAC;IAED,wCAAc,GAAd,UAAe,QAA+B;QAC5C,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;IACH,sBAAC;AAAD,CAAC,AAdD,CAA2C,uBAAU,GAcpD;AAdY,uBAAe,kBAc3B,CAAA","sourcesContent":["import { Subscriber } from './Subscriber';\nimport { InnerSubscriber } from './InnerSubscriber';\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nexport class OuterSubscriber extends Subscriber {\n notifyNext(outerValue: T, innerValue: R,\n outerIndex: number, innerIndex: number,\n innerSub: InnerSubscriber): void {\n this.destination.next(innerValue);\n }\n\n notifyError(error: any, innerSub: InnerSubscriber): void {\n this.destination.error(error);\n }\n\n notifyComplete(innerSub: InnerSubscriber): void {\n this.destination.complete();\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/README.md b/node_modules/rxjs/README.md deleted file mode 100644 index f8eda12a..00000000 --- a/node_modules/rxjs/README.md +++ /dev/null @@ -1,204 +0,0 @@ -[![Build Status](https://travis-ci.org/ReactiveX/rxjs.svg?branch=master)](https://travis-ci.org/ReactiveX/rxjs) -[![Coverage Status](https://coveralls.io/repos/github/ReactiveX/rxjs/badge.svg?branch=master)](https://coveralls.io/github/ReactiveX/rxjs?branch=master) -[![npm version](https://badge.fury.io/js/%40reactivex%2Frxjs.svg)](http://badge.fury.io/js/%40reactivex%2Frxjs) -[![Join the chat at https://gitter.im/Reactive-Extensions/RxJS](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Reactive-Extensions/RxJS?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) - -[![Selenium Test Status](https://saucelabs.com/browser-matrix/rxjs5.svg)](https://saucelabs.com/u/rxjs5) - -# RxJS 5 - -Reactive Extensions Library for JavaScript. This is a rewrite of [Reactive-Extensions/RxJS](https://github.com/Reactive-Extensions/RxJS) and is the latest production-ready version of RxJS. This rewrite is meant to have better performance, better modularity, better debuggable call stacks, while staying mostly backwards compatible, with some breaking changes that reduce the API surface. - -[Apache 2.0 License](LICENSE.txt) - -- [Code of Conduct](CODE_OF_CONDUCT.md) -- [Contribution Guidelines](CONTRIBUTING.md) -- [Maintainer Guidelines](doc/maintainer-guidelines.md) -- [Creating Operators](doc/operator-creation.md) -- [Migrating From RxJS 4 to RxJS 5](MIGRATION.md) -- [API Documentation (WIP)](http://reactivex.io/rxjs) - -## Versions In This Repository - -- [master](https://github.com/ReactiveX/rxjs/commits/master) - commits that will be included in the next _minor_ or _patch_ release -- [next](https://github.com/ReactiveX/rxjs/commits/next) - commits that will be included in the next _major_ release (breaking changes) - -Most PRs should be made to **master**, unless you know it is a breaking change. - -## Important - -By contributing or commenting on issues in this repository, whether you've read them or not, you're agreeing to the [Contributor Code of Conduct](CODE_OF_CONDUCT.md). Much like traffic laws, ignorance doesn't grant you immunity. - -## Installation and Usage - -### ES6 via npm - -```sh -npm install rxjs -``` - -To import the entire core set of functionality: - -```js -import Rx from 'rxjs/Rx'; - -Rx.Observable.of(1,2,3) -``` - -To import only what you need by patching (this is useful for size-sensitive bundling): - -```js -import { Observable } from 'rxjs/Observable'; -import 'rxjs/add/observable/of'; -import 'rxjs/add/operator/map'; - -Observable.of(1,2,3).map(x => x + '!!!'); // etc -``` - -To import what you need and use it with proposed [bind operator](https://github.com/tc39/proposal-bind-operator): - -> Note: This additional syntax requires [transpiler support](http://babeljs.io/docs/plugins/transform-function-bind/) and this syntax may be completely withdrawn from TC39 without notice! Use at your own risk. - -```js -import { Observable } from 'rxjs/Observable'; -import { of } from 'rxjs/observable/of'; -import { map } from 'rxjs/operator/map'; - -Observable::of(1,2,3)::map(x => x + '!!!'); // etc -``` - -### CommonJS via npm - -To install this library for CommonJS (CJS) usage, use the following command: - -```sh -npm install rxjs -``` - -Import all core functionality: - -```js -var Rx = require('rxjs/Rx'); - -Rx.Observable.of(1,2,3); // etc -``` - -Import only what you need and patch Observable (this is useful in size-sensitive bundling scenarios): - -```js -var Observable = require('rxjs/Observable').Observable; -// patch Observable with appropriate methods -require('rxjs/add/observable/of'); -require('rxjs/add/operator/map'); - -Observable.of(1,2,3).map(function (x) { return x + '!!!'; }); // etc -``` - -Import operators and use them _manually_ you can do the following (this is also useful for bundling): - -```js -var of = require('rxjs/observable/of').of; -var map = require('rxjs/operator/map').map; - -map.call(of(1,2,3), function (x) { return x + '!!!'; }); -``` - -You can also use the above method to build your own Observable and export it from your own module. - - -### All Module Types (CJS/ES6/AMD/TypeScript) via npm - -To install this library via [npm](https://www.npmjs.org) **version 3**, use the following command: - -```sh -npm install @reactivex/rxjs -``` - -This will include CJS/Global builds and can be used for all module types. - -If you are using npm **version 2** before this library has achieved a stable version, you need to specify the library version explicitly: - -```sh -npm install @reactivex/rxjs@5.0.0 -``` - -### CDN - -For CDN, you can use [unpkg](https://unpkg.com/): - -https://unpkg.com/rxjs/bundles/Rx.min.js - -#### Node.js Usage: - -```js -var Rx = require('@reactivex/rxjs'); - -Rx.Observable.of('hello world') - .subscribe(function(x) { console.log(x); }); -``` - -## Goals - -- Provide better performance than preceding versions of RxJS -- To model/follow the [Observable Spec Proposal](https://github.com/zenparsing/es-observable) to the observable. -- Provide more modular file structure in a variety of formats -- Provide more debuggable call stacks than preceding versions of RxJS - -## Building/Testing - -The build and test structure is fairly primitive at the moment. There are various npm scripts that can be run: - -- build_es6: Transpiles the TypeScript files from `src/` to `dist/es6` -- build_cjs: Transpiles the ES6 files from `dist/es6` to `dist/cjs` -- build_amd: Transpiles the ES6 files from `dist/es6` to `dist/amd` -- build_global: Transpiles/Bundles the CommonJS files from `dist/cjs` to `dist/global/Rx.js` -- build_all: Performs all of the above in the proper order. -- build_test: builds ES6, then CommonJS, then runs the tests with `jasmine` -- build_perf: builds ES6, CommonJS, then global, then runs the performance tests with `protractor` -- build_docs: generates API documentation from `dist/es6` to `dist/docs` -- build_cover: runs `istanbul` code coverage against test cases -- test: runs tests with `jasmine`, must have built prior to running. -- tests2png: generates PNG marble diagrams from test cases. - -`npm run info` will list available script. - -### Example - -```sh -# build all the things! -npm run build_all -``` - -## Performance Tests - -Run `npm run build_perf` or `npm run perf` to run the performance tests with `protractor`. -Run `npm run perf_micro` to run micro performance test benchmarking operator. - -## Adding documentation -RxNext uses [ESDoc](https://esdoc.org/) to generate API documentation. Refer to ESDoc's documentation for syntax. Run `npm run build_docs` to generate. - -## Generating PNG marble diagrams - -The script `npm run tests2png` requires some native packages installed locally: `imagemagick`, `graphicsmagick`, and `ghostscript`. - -For Mac OS X with [Homebrew](http://brew.sh/): - -- `brew install imagemagick` -- `brew install graphicsmagick` -- `brew install ghostscript` -- You may need to install the Ghostscript fonts manually: - - Download the tarball from the [gs-fonts project](https://sourceforge.net/projects/gs-fonts) - - `mkdir -p /usr/local/share/ghostscript && tar zxvf /path/to/ghostscript-fonts.tar.gz -C /usr/local/share/ghostscript` - -For Debian Linux: - -- `sudo add-apt-repository ppa:dhor/myway` -- `apt-get install imagemagick` -- `apt-get install graphicsmagick` -- `apt-get install ghostscript` - -For Windows and other Operating Systems, check the download instructions here: - -- http://imagemagick.org -- http://www.graphicsmagick.org -- http://www.ghostscript.com/ diff --git a/node_modules/rxjs/ReplaySubject.d.ts b/node_modules/rxjs/ReplaySubject.d.ts deleted file mode 100644 index ad92e47c..00000000 --- a/node_modules/rxjs/ReplaySubject.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Subject } from './Subject'; -import { IScheduler } from './Scheduler'; -import { Subscriber } from './Subscriber'; -import { Subscription } from './Subscription'; -/** - * @class ReplaySubject - */ -export declare class ReplaySubject extends Subject { - private scheduler; - private _events; - private _bufferSize; - private _windowTime; - constructor(bufferSize?: number, windowTime?: number, scheduler?: IScheduler); - next(value: T): void; - protected _subscribe(subscriber: Subscriber): Subscription; - _getNow(): number; - private _trimBufferThenGetEvents(); -} diff --git a/node_modules/rxjs/ReplaySubject.js b/node_modules/rxjs/ReplaySubject.js deleted file mode 100644 index c7d9a9d5..00000000 --- a/node_modules/rxjs/ReplaySubject.js +++ /dev/null @@ -1,102 +0,0 @@ -"use strict"; -var __extends = (this && this.__extends) || function (d, b) { - for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); -}; -var Subject_1 = require('./Subject'); -var queue_1 = require('./scheduler/queue'); -var Subscription_1 = require('./Subscription'); -var observeOn_1 = require('./operators/observeOn'); -var ObjectUnsubscribedError_1 = require('./util/ObjectUnsubscribedError'); -var SubjectSubscription_1 = require('./SubjectSubscription'); -/** - * @class ReplaySubject - */ -var ReplaySubject = (function (_super) { - __extends(ReplaySubject, _super); - function ReplaySubject(bufferSize, windowTime, scheduler) { - if (bufferSize === void 0) { bufferSize = Number.POSITIVE_INFINITY; } - if (windowTime === void 0) { windowTime = Number.POSITIVE_INFINITY; } - _super.call(this); - this.scheduler = scheduler; - this._events = []; - this._bufferSize = bufferSize < 1 ? 1 : bufferSize; - this._windowTime = windowTime < 1 ? 1 : windowTime; - } - ReplaySubject.prototype.next = function (value) { - var now = this._getNow(); - this._events.push(new ReplayEvent(now, value)); - this._trimBufferThenGetEvents(); - _super.prototype.next.call(this, value); - }; - ReplaySubject.prototype._subscribe = function (subscriber) { - var _events = this._trimBufferThenGetEvents(); - var scheduler = this.scheduler; - var subscription; - if (this.closed) { - throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); - } - else if (this.hasError) { - subscription = Subscription_1.Subscription.EMPTY; - } - else if (this.isStopped) { - subscription = Subscription_1.Subscription.EMPTY; - } - else { - this.observers.push(subscriber); - subscription = new SubjectSubscription_1.SubjectSubscription(this, subscriber); - } - if (scheduler) { - subscriber.add(subscriber = new observeOn_1.ObserveOnSubscriber(subscriber, scheduler)); - } - var len = _events.length; - for (var i = 0; i < len && !subscriber.closed; i++) { - subscriber.next(_events[i].value); - } - if (this.hasError) { - subscriber.error(this.thrownError); - } - else if (this.isStopped) { - subscriber.complete(); - } - return subscription; - }; - ReplaySubject.prototype._getNow = function () { - return (this.scheduler || queue_1.queue).now(); - }; - ReplaySubject.prototype._trimBufferThenGetEvents = function () { - var now = this._getNow(); - var _bufferSize = this._bufferSize; - var _windowTime = this._windowTime; - var _events = this._events; - var eventsCount = _events.length; - var spliceCount = 0; - // Trim events that fall out of the time window. - // Start at the front of the list. Break early once - // we encounter an event that falls within the window. - while (spliceCount < eventsCount) { - if ((now - _events[spliceCount].time) < _windowTime) { - break; - } - spliceCount++; - } - if (eventsCount > _bufferSize) { - spliceCount = Math.max(spliceCount, eventsCount - _bufferSize); - } - if (spliceCount > 0) { - _events.splice(0, spliceCount); - } - return _events; - }; - return ReplaySubject; -}(Subject_1.Subject)); -exports.ReplaySubject = ReplaySubject; -var ReplayEvent = (function () { - function ReplayEvent(time, value) { - this.time = time; - this.value = value; - } - return ReplayEvent; -}()); -//# sourceMappingURL=ReplaySubject.js.map \ No newline at end of file diff --git a/node_modules/rxjs/ReplaySubject.js.map b/node_modules/rxjs/ReplaySubject.js.map deleted file mode 100644 index 6a95551a..00000000 --- a/node_modules/rxjs/ReplaySubject.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ReplaySubject.js","sourceRoot":"","sources":["../src/ReplaySubject.ts"],"names":[],"mappings":";;;;;;AAAA,wBAAwB,WAAW,CAAC,CAAA;AAEpC,sBAAsB,mBAAmB,CAAC,CAAA;AAE1C,6BAA6B,gBAAgB,CAAC,CAAA;AAC9C,0BAAoC,uBAAuB,CAAC,CAAA;AAC5D,wCAAwC,gCAAgC,CAAC,CAAA;AACzE,oCAAoC,uBAAuB,CAAC,CAAA;AAC5D;;GAEG;AACH;IAAsC,iCAAU;IAK9C,uBAAY,UA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,CAAC;QACjC,IAAI,WAAW,GAAG,CAAC,CAAC;QAEpB,gDAAgD;QAChD,mDAAmD;QACnD,sDAAsD;QACtD,OAAO,WAAW,GAAG,WAAW,EAAE,CAAC;YACjC,EAAE,CAAC,CAAC,CAAC,GAAG,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC;gBACpD,KAAK,CAAC;YACR,CAAC;YACD,WAAW,EAAE,CAAC;QAChB,CAAC;QAED,EAAE,CAAC,CAAC,WAAW,GAAG,WAAW,CAAC,CAAC,CAAC;YAC9B,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,WAAW,GAAG,WAAW,CAAC,CAAC;QACjE,CAAC;QAED,EAAE,CAAC,CAAC,WAAW,GAAG,CAAC,CAAC,CAAC,CAAC;YACpB,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC;QACjC,CAAC;QAED,MAAM,CAAC,OAAO,CAAC;IACjB,CAAC;IACH,oBAAC;AAAD,CAAC,AAvFD,CAAsC,iBAAO,GAuF5C;AAvFY,qBAAa,gBAuFzB,CAAA;AAED;IACE,qBAAmB,IAAY,EAAS,KAAQ;QAA7B,SAAI,GAAJ,IAAI,CAAQ;QAAS,UAAK,GAAL,KAAK,CAAG;IAChD,CAAC;IACH,kBAAC;AAAD,CAAC,AAHD,IAGC","sourcesContent":["import { Subject } from './Subject';\nimport { IScheduler } from './Scheduler';\nimport { queue } from './scheduler/queue';\nimport { Subscriber } from './Subscriber';\nimport { Subscription } from './Subscription';\nimport { ObserveOnSubscriber } from './operators/observeOn';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { SubjectSubscription } from './SubjectSubscription';\n/**\n * @class ReplaySubject\n */\nexport class ReplaySubject extends Subject {\n private _events: ReplayEvent[] = [];\n private _bufferSize: number;\n private _windowTime: number;\n\n constructor(bufferSize: number = Number.POSITIVE_INFINITY,\n windowTime: number = Number.POSITIVE_INFINITY,\n private scheduler?: IScheduler) {\n super();\n this._bufferSize = bufferSize < 1 ? 1 : bufferSize;\n this._windowTime = windowTime < 1 ? 1 : windowTime;\n }\n\n next(value: T): void {\n const now = this._getNow();\n this._events.push(new ReplayEvent(now, value));\n this._trimBufferThenGetEvents();\n super.next(value);\n }\n\n protected _subscribe(subscriber: Subscriber): Subscription {\n const _events = this._trimBufferThenGetEvents();\n const scheduler = this.scheduler;\n let subscription: Subscription;\n\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n } else if (this.hasError) {\n subscription = Subscription.EMPTY;\n } else if (this.isStopped) {\n subscription = Subscription.EMPTY;\n } else {\n this.observers.push(subscriber);\n subscription = new SubjectSubscription(this, subscriber);\n }\n\n if (scheduler) {\n subscriber.add(subscriber = new ObserveOnSubscriber(subscriber, scheduler));\n }\n\n const len = _events.length;\n for (let i = 0; i < len && !subscriber.closed; i++) {\n subscriber.next(_events[i].value);\n }\n\n if (this.hasError) {\n subscriber.error(this.thrownError);\n } else if (this.isStopped) {\n subscriber.complete();\n }\n\n return subscription;\n }\n\n _getNow(): number {\n return (this.scheduler || queue).now();\n }\n\n private _trimBufferThenGetEvents(): ReplayEvent[] {\n const now = this._getNow();\n const _bufferSize = this._bufferSize;\n const _windowTime = this._windowTime;\n const _events = this._events;\n\n let eventsCount = _events.length;\n let spliceCount = 0;\n\n // Trim events that fall out of the time window.\n // Start at the front of the list. Break early once\n // we encounter an event that falls within the window.\n while (spliceCount < eventsCount) {\n if ((now - _events[spliceCount].time) < _windowTime) {\n break;\n }\n spliceCount++;\n }\n\n if (eventsCount > _bufferSize) {\n spliceCount = Math.max(spliceCount, eventsCount - _bufferSize);\n }\n\n if (spliceCount > 0) {\n _events.splice(0, spliceCount);\n }\n\n return _events;\n }\n}\n\nclass ReplayEvent {\n constructor(public time: number, public value: T) {\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/Rx.d.ts b/node_modules/rxjs/Rx.d.ts deleted file mode 100644 index 314d4aff..00000000 --- a/node_modules/rxjs/Rx.d.ts +++ /dev/null @@ -1,195 +0,0 @@ -export { Subject, AnonymousSubject } from './Subject'; -export { Observable } from './Observable'; -import './add/observable/bindCallback'; -import './add/observable/bindNodeCallback'; -import './add/observable/combineLatest'; -import './add/observable/concat'; -import './add/observable/defer'; -import './add/observable/empty'; -import './add/observable/forkJoin'; -import './add/observable/from'; -import './add/observable/fromEvent'; -import './add/observable/fromEventPattern'; -import './add/observable/fromPromise'; -import './add/observable/generate'; -import './add/observable/if'; -import './add/observable/interval'; -import './add/observable/merge'; -import './add/observable/race'; -import './add/observable/never'; -import './add/observable/of'; -import './add/observable/onErrorResumeNext'; -import './add/observable/pairs'; -import './add/observable/range'; -import './add/observable/using'; -import './add/observable/throw'; -import './add/observable/timer'; -import './add/observable/zip'; -import './add/observable/dom/ajax'; -import './add/observable/dom/webSocket'; -import './add/operator/buffer'; -import './add/operator/bufferCount'; -import './add/operator/bufferTime'; -import './add/operator/bufferToggle'; -import './add/operator/bufferWhen'; -import './add/operator/catch'; -import './add/operator/combineAll'; -import './add/operator/combineLatest'; -import './add/operator/concat'; -import './add/operator/concatAll'; -import './add/operator/concatMap'; -import './add/operator/concatMapTo'; -import './add/operator/count'; -import './add/operator/dematerialize'; -import './add/operator/debounce'; -import './add/operator/debounceTime'; -import './add/operator/defaultIfEmpty'; -import './add/operator/delay'; -import './add/operator/delayWhen'; -import './add/operator/distinct'; -import './add/operator/distinctUntilChanged'; -import './add/operator/distinctUntilKeyChanged'; -import './add/operator/do'; -import './add/operator/exhaust'; -import './add/operator/exhaustMap'; -import './add/operator/expand'; -import './add/operator/elementAt'; -import './add/operator/filter'; -import './add/operator/finally'; -import './add/operator/find'; -import './add/operator/findIndex'; -import './add/operator/first'; -import './add/operator/groupBy'; -import './add/operator/ignoreElements'; -import './add/operator/isEmpty'; -import './add/operator/audit'; -import './add/operator/auditTime'; -import './add/operator/last'; -import './add/operator/let'; -import './add/operator/every'; -import './add/operator/map'; -import './add/operator/mapTo'; -import './add/operator/materialize'; -import './add/operator/max'; -import './add/operator/merge'; -import './add/operator/mergeAll'; -import './add/operator/mergeMap'; -import './add/operator/mergeMapTo'; -import './add/operator/mergeScan'; -import './add/operator/min'; -import './add/operator/multicast'; -import './add/operator/observeOn'; -import './add/operator/onErrorResumeNext'; -import './add/operator/pairwise'; -import './add/operator/partition'; -import './add/operator/pluck'; -import './add/operator/publish'; -import './add/operator/publishBehavior'; -import './add/operator/publishReplay'; -import './add/operator/publishLast'; -import './add/operator/race'; -import './add/operator/reduce'; -import './add/operator/repeat'; -import './add/operator/repeatWhen'; -import './add/operator/retry'; -import './add/operator/retryWhen'; -import './add/operator/sample'; -import './add/operator/sampleTime'; -import './add/operator/scan'; -import './add/operator/sequenceEqual'; -import './add/operator/share'; -import './add/operator/shareReplay'; -import './add/operator/single'; -import './add/operator/skip'; -import './add/operator/skipLast'; -import './add/operator/skipUntil'; -import './add/operator/skipWhile'; -import './add/operator/startWith'; -import './add/operator/subscribeOn'; -import './add/operator/switch'; -import './add/operator/switchMap'; -import './add/operator/switchMapTo'; -import './add/operator/take'; -import './add/operator/takeLast'; -import './add/operator/takeUntil'; -import './add/operator/takeWhile'; -import './add/operator/throttle'; -import './add/operator/throttleTime'; -import './add/operator/timeInterval'; -import './add/operator/timeout'; -import './add/operator/timeoutWith'; -import './add/operator/timestamp'; -import './add/operator/toArray'; -import './add/operator/toPromise'; -import './add/operator/window'; -import './add/operator/windowCount'; -import './add/operator/windowTime'; -import './add/operator/windowToggle'; -import './add/operator/windowWhen'; -import './add/operator/withLatestFrom'; -import './add/operator/zip'; -import './add/operator/zipAll'; -export { Operator } from './Operator'; -export { Observer } from './Observer'; -export { Subscription } from './Subscription'; -export { Subscriber } from './Subscriber'; -export { AsyncSubject } from './AsyncSubject'; -export { ReplaySubject } from './ReplaySubject'; -export { BehaviorSubject } from './BehaviorSubject'; -export { ConnectableObservable } from './observable/ConnectableObservable'; -export { Notification } from './Notification'; -export { EmptyError } from './util/EmptyError'; -export { ArgumentOutOfRangeError } from './util/ArgumentOutOfRangeError'; -export { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError'; -export { TimeoutError } from './util/TimeoutError'; -export { UnsubscriptionError } from './util/UnsubscriptionError'; -export { TimeInterval } from './operator/timeInterval'; -export { Timestamp } from './operators/timestamp'; -export { TestScheduler } from './testing/TestScheduler'; -export { VirtualTimeScheduler } from './scheduler/VirtualTimeScheduler'; -export { AjaxRequest, AjaxResponse, AjaxError, AjaxTimeoutError } from './observable/dom/AjaxObservable'; -export { pipe } from './util/pipe'; -import { AsapScheduler } from './scheduler/AsapScheduler'; -import { AsyncScheduler } from './scheduler/AsyncScheduler'; -import { QueueScheduler } from './scheduler/QueueScheduler'; -import { AnimationFrameScheduler } from './scheduler/AnimationFrameScheduler'; -import * as _operators from './operators'; -export declare const operators: typeof _operators; -/** - * @typedef {Object} Rx.Scheduler - * @property {Scheduler} queue Schedules on a queue in the current event frame - * (trampoline scheduler). Use this for iteration operations. - * @property {Scheduler} asap Schedules on the micro task queue, which uses the - * fastest transport mechanism available, either Node.js' `process.nextTick()` - * or Web Worker MessageChannel or setTimeout or others. Use this for - * asynchronous conversions. - * @property {Scheduler} async Schedules work with `setInterval`. Use this for - * time-based operations. - * @property {Scheduler} animationFrame Schedules work with `requestAnimationFrame`. - * Use this for synchronizing with the platform's painting - */ -declare let Scheduler: { - asap: AsapScheduler; - queue: QueueScheduler; - animationFrame: AnimationFrameScheduler; - async: AsyncScheduler; -}; -/** - * @typedef {Object} Rx.Symbol - * @property {Symbol|string} rxSubscriber A symbol to use as a property name to - * retrieve an "Rx safe" Observer from an object. "Rx safety" can be defined as - * an object that has all of the traits of an Rx Subscriber, including the - * ability to add and remove subscriptions to the subscription chain and - * guarantees involving event triggering (can't "next" after unsubscription, - * etc). - * @property {Symbol|string} observable A symbol to use as a property name to - * retrieve an Observable as defined by the [ECMAScript "Observable" spec](https://github.com/zenparsing/es-observable). - * @property {Symbol|string} iterator The ES6 symbol to use as a property name - * to retrieve an iterator from an object. - */ -declare let Symbol: { - rxSubscriber: any; - observable: any; - iterator: any; -}; -export { Scheduler, Symbol }; diff --git a/node_modules/rxjs/Rx.js b/node_modules/rxjs/Rx.js deleted file mode 100644 index c159fee5..00000000 --- a/node_modules/rxjs/Rx.js +++ /dev/null @@ -1,233 +0,0 @@ -"use strict"; -/* tslint:disable:no-unused-variable */ -// Subject imported before Observable to bypass circular dependency issue since -// Subject extends Observable and Observable references Subject in it's -// definition -var Subject_1 = require('./Subject'); -exports.Subject = Subject_1.Subject; -exports.AnonymousSubject = Subject_1.AnonymousSubject; -/* tslint:enable:no-unused-variable */ -var Observable_1 = require('./Observable'); -exports.Observable = Observable_1.Observable; -// statics -/* tslint:disable:no-use-before-declare */ -require('./add/observable/bindCallback'); -require('./add/observable/bindNodeCallback'); -require('./add/observable/combineLatest'); -require('./add/observable/concat'); -require('./add/observable/defer'); -require('./add/observable/empty'); -require('./add/observable/forkJoin'); -require('./add/observable/from'); -require('./add/observable/fromEvent'); -require('./add/observable/fromEventPattern'); -require('./add/observable/fromPromise'); -require('./add/observable/generate'); -require('./add/observable/if'); -require('./add/observable/interval'); -require('./add/observable/merge'); -require('./add/observable/race'); -require('./add/observable/never'); -require('./add/observable/of'); -require('./add/observable/onErrorResumeNext'); -require('./add/observable/pairs'); -require('./add/observable/range'); -require('./add/observable/using'); -require('./add/observable/throw'); -require('./add/observable/timer'); -require('./add/observable/zip'); -//dom -require('./add/observable/dom/ajax'); -require('./add/observable/dom/webSocket'); -//operators -require('./add/operator/buffer'); -require('./add/operator/bufferCount'); -require('./add/operator/bufferTime'); -require('./add/operator/bufferToggle'); -require('./add/operator/bufferWhen'); -require('./add/operator/catch'); -require('./add/operator/combineAll'); -require('./add/operator/combineLatest'); -require('./add/operator/concat'); -require('./add/operator/concatAll'); -require('./add/operator/concatMap'); -require('./add/operator/concatMapTo'); -require('./add/operator/count'); -require('./add/operator/dematerialize'); -require('./add/operator/debounce'); -require('./add/operator/debounceTime'); -require('./add/operator/defaultIfEmpty'); -require('./add/operator/delay'); -require('./add/operator/delayWhen'); -require('./add/operator/distinct'); -require('./add/operator/distinctUntilChanged'); -require('./add/operator/distinctUntilKeyChanged'); -require('./add/operator/do'); -require('./add/operator/exhaust'); -require('./add/operator/exhaustMap'); -require('./add/operator/expand'); -require('./add/operator/elementAt'); -require('./add/operator/filter'); -require('./add/operator/finally'); -require('./add/operator/find'); -require('./add/operator/findIndex'); -require('./add/operator/first'); -require('./add/operator/groupBy'); -require('./add/operator/ignoreElements'); -require('./add/operator/isEmpty'); -require('./add/operator/audit'); -require('./add/operator/auditTime'); -require('./add/operator/last'); -require('./add/operator/let'); -require('./add/operator/every'); -require('./add/operator/map'); -require('./add/operator/mapTo'); -require('./add/operator/materialize'); -require('./add/operator/max'); -require('./add/operator/merge'); -require('./add/operator/mergeAll'); -require('./add/operator/mergeMap'); -require('./add/operator/mergeMapTo'); -require('./add/operator/mergeScan'); -require('./add/operator/min'); -require('./add/operator/multicast'); -require('./add/operator/observeOn'); -require('./add/operator/onErrorResumeNext'); -require('./add/operator/pairwise'); -require('./add/operator/partition'); -require('./add/operator/pluck'); -require('./add/operator/publish'); -require('./add/operator/publishBehavior'); -require('./add/operator/publishReplay'); -require('./add/operator/publishLast'); -require('./add/operator/race'); -require('./add/operator/reduce'); -require('./add/operator/repeat'); -require('./add/operator/repeatWhen'); -require('./add/operator/retry'); -require('./add/operator/retryWhen'); -require('./add/operator/sample'); -require('./add/operator/sampleTime'); -require('./add/operator/scan'); -require('./add/operator/sequenceEqual'); -require('./add/operator/share'); -require('./add/operator/shareReplay'); -require('./add/operator/single'); -require('./add/operator/skip'); -require('./add/operator/skipLast'); -require('./add/operator/skipUntil'); -require('./add/operator/skipWhile'); -require('./add/operator/startWith'); -require('./add/operator/subscribeOn'); -require('./add/operator/switch'); -require('./add/operator/switchMap'); -require('./add/operator/switchMapTo'); -require('./add/operator/take'); -require('./add/operator/takeLast'); -require('./add/operator/takeUntil'); -require('./add/operator/takeWhile'); -require('./add/operator/throttle'); -require('./add/operator/throttleTime'); -require('./add/operator/timeInterval'); -require('./add/operator/timeout'); -require('./add/operator/timeoutWith'); -require('./add/operator/timestamp'); -require('./add/operator/toArray'); -require('./add/operator/toPromise'); -require('./add/operator/window'); -require('./add/operator/windowCount'); -require('./add/operator/windowTime'); -require('./add/operator/windowToggle'); -require('./add/operator/windowWhen'); -require('./add/operator/withLatestFrom'); -require('./add/operator/zip'); -require('./add/operator/zipAll'); -/* tslint:disable:no-unused-variable */ -var Subscription_1 = require('./Subscription'); -exports.Subscription = Subscription_1.Subscription; -var Subscriber_1 = require('./Subscriber'); -exports.Subscriber = Subscriber_1.Subscriber; -var AsyncSubject_1 = require('./AsyncSubject'); -exports.AsyncSubject = AsyncSubject_1.AsyncSubject; -var ReplaySubject_1 = require('./ReplaySubject'); -exports.ReplaySubject = ReplaySubject_1.ReplaySubject; -var BehaviorSubject_1 = require('./BehaviorSubject'); -exports.BehaviorSubject = BehaviorSubject_1.BehaviorSubject; -var ConnectableObservable_1 = require('./observable/ConnectableObservable'); -exports.ConnectableObservable = ConnectableObservable_1.ConnectableObservable; -var Notification_1 = require('./Notification'); -exports.Notification = Notification_1.Notification; -var EmptyError_1 = require('./util/EmptyError'); -exports.EmptyError = EmptyError_1.EmptyError; -var ArgumentOutOfRangeError_1 = require('./util/ArgumentOutOfRangeError'); -exports.ArgumentOutOfRangeError = ArgumentOutOfRangeError_1.ArgumentOutOfRangeError; -var ObjectUnsubscribedError_1 = require('./util/ObjectUnsubscribedError'); -exports.ObjectUnsubscribedError = ObjectUnsubscribedError_1.ObjectUnsubscribedError; -var TimeoutError_1 = require('./util/TimeoutError'); -exports.TimeoutError = TimeoutError_1.TimeoutError; -var UnsubscriptionError_1 = require('./util/UnsubscriptionError'); -exports.UnsubscriptionError = UnsubscriptionError_1.UnsubscriptionError; -var timeInterval_1 = require('./operator/timeInterval'); -exports.TimeInterval = timeInterval_1.TimeInterval; -var timestamp_1 = require('./operators/timestamp'); -exports.Timestamp = timestamp_1.Timestamp; -var TestScheduler_1 = require('./testing/TestScheduler'); -exports.TestScheduler = TestScheduler_1.TestScheduler; -var VirtualTimeScheduler_1 = require('./scheduler/VirtualTimeScheduler'); -exports.VirtualTimeScheduler = VirtualTimeScheduler_1.VirtualTimeScheduler; -var AjaxObservable_1 = require('./observable/dom/AjaxObservable'); -exports.AjaxResponse = AjaxObservable_1.AjaxResponse; -exports.AjaxError = AjaxObservable_1.AjaxError; -exports.AjaxTimeoutError = AjaxObservable_1.AjaxTimeoutError; -var pipe_1 = require('./util/pipe'); -exports.pipe = pipe_1.pipe; -var asap_1 = require('./scheduler/asap'); -var async_1 = require('./scheduler/async'); -var queue_1 = require('./scheduler/queue'); -var animationFrame_1 = require('./scheduler/animationFrame'); -var rxSubscriber_1 = require('./symbol/rxSubscriber'); -var iterator_1 = require('./symbol/iterator'); -var observable_1 = require('./symbol/observable'); -var _operators = require('./operators'); -exports.operators = _operators; -/* tslint:enable:no-unused-variable */ -/** - * @typedef {Object} Rx.Scheduler - * @property {Scheduler} queue Schedules on a queue in the current event frame - * (trampoline scheduler). Use this for iteration operations. - * @property {Scheduler} asap Schedules on the micro task queue, which uses the - * fastest transport mechanism available, either Node.js' `process.nextTick()` - * or Web Worker MessageChannel or setTimeout or others. Use this for - * asynchronous conversions. - * @property {Scheduler} async Schedules work with `setInterval`. Use this for - * time-based operations. - * @property {Scheduler} animationFrame Schedules work with `requestAnimationFrame`. - * Use this for synchronizing with the platform's painting - */ -var Scheduler = { - asap: asap_1.asap, - queue: queue_1.queue, - animationFrame: animationFrame_1.animationFrame, - async: async_1.async -}; -exports.Scheduler = Scheduler; -/** - * @typedef {Object} Rx.Symbol - * @property {Symbol|string} rxSubscriber A symbol to use as a property name to - * retrieve an "Rx safe" Observer from an object. "Rx safety" can be defined as - * an object that has all of the traits of an Rx Subscriber, including the - * ability to add and remove subscriptions to the subscription chain and - * guarantees involving event triggering (can't "next" after unsubscription, - * etc). - * @property {Symbol|string} observable A symbol to use as a property name to - * retrieve an Observable as defined by the [ECMAScript "Observable" spec](https://github.com/zenparsing/es-observable). - * @property {Symbol|string} iterator The ES6 symbol to use as a property name - * to retrieve an iterator from an object. - */ -var Symbol = { - rxSubscriber: rxSubscriber_1.rxSubscriber, - observable: observable_1.observable, - iterator: iterator_1.iterator -}; -exports.Symbol = Symbol; -//# sourceMappingURL=Rx.js.map \ No newline at end of file diff --git a/node_modules/rxjs/Rx.js.map b/node_modules/rxjs/Rx.js.map deleted file mode 100644 index 1a505ea4..00000000 --- a/node_modules/rxjs/Rx.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Rx.js","sourceRoot":"","sources":["../src/Rx.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,+EAA+E;AAC/E,uEAAuE;AACvE,aAAa;AACb,wBAAwC,WAAW,CAAC;AAA5C,oCAAO;AAAE,sDAAmC;AACpD,sCAAsC;AACtC,2BAAyB,cAAc,CAAC;AAAhC,6CAAgC;AAExC,UAAU;AACV,0CAA0C;AAC1C,QAAO,+BAA+B,CAAC,CAAA;AACvC,QAAO,mCAAmC,CAAC,CAAA;AAC3C,QAAO,gCAAgC,CAAC,CAAA;AACxC,QAAO,yBAAyB,CAAC,CAAA;AACjC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,2BAA2B,CAAC,CAAA;AACnC,QAAO,uBAAuB,CAAC,CAAA;AAC/B,QAAO,4BAA4B,CAAC,CAAA;AACpC,QAAO,mCAAmC,CAAC,CAAA;AAC3C,QAAO,8BAA8B,CAAC,CAAA;AACtC,QAAO,2BAA2B,CAAC,CAAA;AACnC,QAAO,qBAAqB,CAAC,CAAA;AAC7B,QAAO,2BAA2B,CAAC,CAAA;AACnC,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,uBAAuB,CAAC,CAAA;AAC/B,QAAO,wBAAwB,CAAC,CAAA;AAChC,QAAO,qBA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iBAAI;IACJ,oBAAK;IACL,+CAAc;IACd,oBAAK;CACN;AAsBG,iBAAS,aAtBX;AAEF;;;;;;;;;;;;GAYG;AACH,IAAI,MAAM,GAAG;IACX,yCAAY;IACZ,mCAAU;IACV,6BAAQ;CACT;AAIG,cAAM,UAJR;AAKA","sourcesContent":["/* tslint:disable:no-unused-variable */\n// Subject imported before Observable to bypass circular dependency issue since\n// Subject extends Observable and Observable references Subject in it's\n// definition\nexport {Subject, AnonymousSubject} from './Subject';\n/* tslint:enable:no-unused-variable */\nexport {Observable} from './Observable';\n\n// statics\n/* tslint:disable:no-use-before-declare */\nimport './add/observable/bindCallback';\nimport './add/observable/bindNodeCallback';\nimport './add/observable/combineLatest';\nimport './add/observable/concat';\nimport './add/observable/defer';\nimport './add/observable/empty';\nimport './add/observable/forkJoin';\nimport './add/observable/from';\nimport './add/observable/fromEvent';\nimport './add/observable/fromEventPattern';\nimport './add/observable/fromPromise';\nimport './add/observable/generate';\nimport './add/observable/if';\nimport './add/observable/interval';\nimport './add/observable/merge';\nimport './add/observable/race';\nimport './add/observable/never';\nimport './add/observable/of';\nimport './add/observable/onErrorResumeNext';\nimport './add/observable/pairs';\nimport './add/observable/range';\nimport './add/observable/using';\nimport './add/observable/throw';\nimport './add/observable/timer';\nimport './add/observable/zip';\n\n//dom\nimport './add/observable/dom/ajax';\nimport './add/observable/dom/webSocket';\n\n//operators\nimport './add/operator/buffer';\nimport './add/operator/bufferCount';\nimport './add/operator/bufferTime';\nimport './add/operator/bufferToggle';\nimport './add/operator/bufferWhen';\nimport './add/operator/catch';\nimport './add/operator/combineAll';\nimport './add/operator/combineLatest';\nimport './add/operator/concat';\nimport './add/operator/concatAll';\nimport './add/operator/concatMap';\nimport './add/operator/concatMapTo';\nimport './add/operator/count';\nimport './add/operator/dematerialize';\nimport './add/operator/debounce';\nimport './add/operator/debounceTime';\nimport './add/operator/defaultIfEmpty';\nimport './add/operator/delay';\nimport './add/operator/delayWhen';\nimport './add/operator/distinct';\nimport './add/operator/distinctUntilChanged';\nimport './add/operator/distinctUntilKeyChanged';\nimport './add/operator/do';\nimport './add/operator/exhaust';\nimport './add/operator/exhaustMap';\nimport './add/operator/expand';\nimport './add/operator/elementAt';\nimport './add/operator/filter';\nimport './add/operator/finally';\nimport './add/operator/find';\nimport './add/operator/findIndex';\nimport './add/operator/first';\nimport './add/operator/groupBy';\nimport './add/operator/ignoreElements';\nimport './add/operator/isEmpty';\nimport './add/operator/audit';\nimport './add/operator/auditTime';\nimport './add/operator/last';\nimport './add/operator/let';\nimport './add/operator/every';\nimport './add/operator/map';\nimport './add/operator/mapTo';\nimport './add/operator/materialize';\nimport './add/operator/max';\nimport './add/operator/merge';\nimport './add/operator/mergeAll';\nimport './add/operator/mergeMap';\nimport './add/operator/mergeMapTo';\nimport './add/operator/mergeScan';\nimport './add/operator/min';\nimport './add/operator/multicast';\nimport './add/operator/observeOn';\nimport './add/operator/onErrorResumeNext';\nimport './add/operator/pairwise';\nimport './add/operator/partition';\nimport './add/operator/pluck';\nimport './add/operator/publish';\nimport './add/operator/publishBehavior';\nimport './add/operator/publishReplay';\nimport './add/operator/publishLast';\nimport './add/operator/race';\nimport './add/operator/reduce';\nimport './add/operator/repeat';\nimport './add/operator/repeatWhen';\nimport './add/operator/retry';\nimport './add/operator/retryWhen';\nimport './add/operator/sample';\nimport './add/operator/sampleTime';\nimport './add/operator/scan';\nimport './add/operator/sequenceEqual';\nimport './add/operator/share';\nimport './add/operator/shareReplay';\nimport './add/operator/single';\nimport './add/operator/skip';\nimport './add/operator/skipLast';\nimport './add/operator/skipUntil';\nimport './add/operator/skipWhile';\nimport './add/operator/startWith';\nimport './add/operator/subscribeOn';\nimport './add/operator/switch';\nimport './add/operator/switchMap';\nimport './add/operator/switchMapTo';\nimport './add/operator/take';\nimport './add/operator/takeLast';\nimport './add/operator/takeUntil';\nimport './add/operator/takeWhile';\nimport './add/operator/throttle';\nimport './add/operator/throttleTime';\nimport './add/operator/timeInterval';\nimport './add/operator/timeout';\nimport './add/operator/timeoutWith';\nimport './add/operator/timestamp';\nimport './add/operator/toArray';\nimport './add/operator/toPromise';\nimport './add/operator/window';\nimport './add/operator/windowCount';\nimport './add/operator/windowTime';\nimport './add/operator/windowToggle';\nimport './add/operator/windowWhen';\nimport './add/operator/withLatestFrom';\nimport './add/operator/zip';\nimport './add/operator/zipAll';\n\n/* tslint:disable:no-unused-variable */\nexport {Operator} from './Operator';\nexport {Observer} from './Observer';\nexport {Subscription} from './Subscription';\nexport {Subscriber} from './Subscriber';\nexport {AsyncSubject} from './AsyncSubject';\nexport {ReplaySubject} from './ReplaySubject';\nexport {BehaviorSubject} from './BehaviorSubject';\nexport {ConnectableObservable} from './observable/ConnectableObservable';\nexport {Notification} from './Notification';\nexport {EmptyError} from './util/EmptyError';\nexport {ArgumentOutOfRangeError} from './util/ArgumentOutOfRangeError';\nexport {ObjectUnsubscribedError} from './util/ObjectUnsubscribedError';\nexport {TimeoutError} from './util/TimeoutError';\nexport {UnsubscriptionError} from './util/UnsubscriptionError';\nexport {TimeInterval} from './operator/timeInterval';\nexport {Timestamp} from './operators/timestamp';\nexport {TestScheduler} from './testing/TestScheduler';\nexport {VirtualTimeScheduler} from './scheduler/VirtualTimeScheduler';\nexport {AjaxRequest, AjaxResponse, AjaxError, AjaxTimeoutError} from './observable/dom/AjaxObservable';\nexport { pipe } from './util/pipe';\n\nimport { asap } from './scheduler/asap';\nimport { async } from './scheduler/async';\nimport { queue } from './scheduler/queue';\nimport { animationFrame } from './scheduler/animationFrame';\nimport { AsapScheduler } from './scheduler/AsapScheduler';\nimport { AsyncScheduler } from './scheduler/AsyncScheduler';\nimport { QueueScheduler } from './scheduler/QueueScheduler';\nimport { AnimationFrameScheduler } from './scheduler/AnimationFrameScheduler';\nimport { rxSubscriber } from './symbol/rxSubscriber';\nimport { iterator } from './symbol/iterator';\nimport { observable } from './symbol/observable';\n\nimport * as _operators from './operators';\n\nexport const operators = _operators;\n\n/* tslint:enable:no-unused-variable */\n\n/**\n * @typedef {Object} Rx.Scheduler\n * @property {Scheduler} queue Schedules on a queue in the current event frame\n * (trampoline scheduler). Use this for iteration operations.\n * @property {Scheduler} asap Schedules on the micro task queue, which uses the\n * fastest transport mechanism available, either Node.js' `process.nextTick()`\n * or Web Worker MessageChannel or setTimeout or others. Use this for\n * asynchronous conversions.\n * @property {Scheduler} async Schedules work with `setInterval`. Use this for\n * time-based operations.\n * @property {Scheduler} animationFrame Schedules work with `requestAnimationFrame`.\n * Use this for synchronizing with the platform's painting\n */\nlet Scheduler = {\n asap,\n queue,\n animationFrame,\n async\n};\n\n/**\n * @typedef {Object} Rx.Symbol\n * @property {Symbol|string} rxSubscriber A symbol to use as a property name to\n * retrieve an \"Rx safe\" Observer from an object. \"Rx safety\" can be defined as\n * an object that has all of the traits of an Rx Subscriber, including the\n * ability to add and remove subscriptions to the subscription chain and\n * guarantees involving event triggering (can't \"next\" after unsubscription,\n * etc).\n * @property {Symbol|string} observable A symbol to use as a property name to\n * retrieve an Observable as defined by the [ECMAScript \"Observable\" spec](https://github.com/zenparsing/es-observable).\n * @property {Symbol|string} iterator The ES6 symbol to use as a property name\n * to retrieve an iterator from an object.\n */\nlet Symbol = {\n rxSubscriber,\n observable,\n iterator\n};\n\nexport {\n Scheduler,\n Symbol\n};\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/Scheduler.d.ts b/node_modules/rxjs/Scheduler.d.ts deleted file mode 100644 index 8feeb423..00000000 --- a/node_modules/rxjs/Scheduler.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { Action } from './scheduler/Action'; -import { Subscription } from './Subscription'; -export interface IScheduler { - now(): number; - schedule(work: (this: Action, state?: T) => void, delay?: number, state?: T): Subscription; -} -/** - * An execution context and a data structure to order tasks and schedule their - * execution. Provides a notion of (potentially virtual) time, through the - * `now()` getter method. - * - * Each unit of work in a Scheduler is called an {@link Action}. - * - * ```ts - * class Scheduler { - * now(): number; - * schedule(work, delay?, state?): Subscription; - * } - * ``` - * - * @class Scheduler - */ -export declare class Scheduler implements IScheduler { - private SchedulerAction; - static now: () => number; - constructor(SchedulerAction: typeof Action, now?: () => number); - /** - * A getter method that returns a number representing the current time - * (at the time this function was called) according to the scheduler's own - * internal clock. - * @return {number} A number that represents the current time. May or may not - * have a relation to wall-clock time. May or may not refer to a time unit - * (e.g. milliseconds). - */ - now: () => number; - /** - * Schedules a function, `work`, for execution. May happen at some point in - * the future, according to the `delay` parameter, if specified. May be passed - * some context object, `state`, which will be passed to the `work` function. - * - * The given arguments will be processed an stored as an Action object in a - * queue of actions. - * - * @param {function(state: ?T): ?Subscription} work A function representing a - * task, or some unit of work to be executed by the Scheduler. - * @param {number} [delay] Time to wait before executing the work, where the - * time unit is implicit and defined by the Scheduler itself. - * @param {T} [state] Some contextual data that the `work` function uses when - * called by the Scheduler. - * @return {Subscription} A subscription in order to be able to unsubscribe - * the scheduled work. - */ - schedule(work: (this: Action, state?: T) => void, delay?: number, state?: T): Subscription; -} diff --git a/node_modules/rxjs/Scheduler.js b/node_modules/rxjs/Scheduler.js deleted file mode 100644 index 3bfbaf12..00000000 --- a/node_modules/rxjs/Scheduler.js +++ /dev/null @@ -1,49 +0,0 @@ -"use strict"; -/** - * An execution context and a data structure to order tasks and schedule their - * execution. Provides a notion of (potentially virtual) time, through the - * `now()` getter method. - * - * Each unit of work in a Scheduler is called an {@link Action}. - * - * ```ts - * class Scheduler { - * now(): number; - * schedule(work, delay?, state?): Subscription; - * } - * ``` - * - * @class Scheduler - */ -var Scheduler = (function () { - function Scheduler(SchedulerAction, now) { - if (now === void 0) { now = Scheduler.now; } - this.SchedulerAction = SchedulerAction; - this.now = now; - } - /** - * Schedules a function, `work`, for execution. May happen at some point in - * the future, according to the `delay` parameter, if specified. May be passed - * some context object, `state`, which will be passed to the `work` function. - * - * The given arguments will be processed an stored as an Action object in a - * queue of actions. - * - * @param {function(state: ?T): ?Subscription} work A function representing a - * task, or some unit of work to be executed by the Scheduler. - * @param {number} [delay] Time to wait before executing the work, where the - * time unit is implicit and defined by the Scheduler itself. - * @param {T} [state] Some contextual data that the `work` function uses when - * called by the Scheduler. - * @return {Subscription} A subscription in order to be able to unsubscribe - * the scheduled work. - */ - Scheduler.prototype.schedule = function (work, delay, state) { - if (delay === void 0) { delay = 0; } - return new this.SchedulerAction(this, work).schedule(state, delay); - }; - Scheduler.now = Date.now ? Date.now : function () { return +new Date(); }; - return Scheduler; -}()); -exports.Scheduler = Scheduler; -//# sourceMappingURL=Scheduler.js.map \ No newline at end of file diff --git a/node_modules/rxjs/Scheduler.js.map b/node_modules/rxjs/Scheduler.js.map deleted file mode 100644 index b9bd546a..00000000 --- a/node_modules/rxjs/Scheduler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Scheduler.js","sourceRoot":"","sources":["../src/Scheduler.ts"],"names":[],"mappings":";AAOA;;;;;;;;;;;;;;;GAeG;AACH;IAIE,mBAAoB,eAA8B,EACtC,GAAiC;QAAjC,mBAAiC,GAAjC,MAAoB,SAAS,CAAC,GAAG;QADzB,oBAAe,GAAf,eAAe,CAAe;QAEhD,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;IACjB,CAAC;IAYD;;;;;;;;;;;;;;;;OAgBG;IACI,4BAAQ,GAAf,UAAmB,IAA0C,EAAE,KAAiB,EAAE,KAAS;QAA5B,qBAAiB,GAAjB,SAAiB;QAC9E,MAAM,CAAC,IAAI,IAAI,CAAC,eAAe,CAAI,IAAI,EAAE,IAAI,CAAC,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IACxE,CAAC;IApCa,aAAG,GAAiB,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,GAAG,cAAM,OAAA,CAAC,IAAI,IAAI,EAAE,EAAX,CAAW,CAAC;IAqC5E,gBAAC;AAAD,CAAC,AAvCD,IAuCC;AAvCY,iBAAS,YAuCrB,CAAA","sourcesContent":["import { Action } from './scheduler/Action';\nimport { Subscription } from './Subscription';\n\nexport interface IScheduler {\n now(): number;\n schedule(work: (this: Action, state?: T) => void, delay?: number, state?: T): Subscription;\n}\n/**\n * An execution context and a data structure to order tasks and schedule their\n * execution. Provides a notion of (potentially virtual) time, through the\n * `now()` getter method.\n *\n * Each unit of work in a Scheduler is called an {@link Action}.\n *\n * ```ts\n * class Scheduler {\n * now(): number;\n * schedule(work, delay?, state?): Subscription;\n * }\n * ```\n *\n * @class Scheduler\n */\nexport class Scheduler implements IScheduler {\n\n public static now: () => number = Date.now ? Date.now : () => +new Date();\n\n constructor(private SchedulerAction: typeof Action,\n now: () => number = Scheduler.now) {\n this.now = now;\n }\n\n /**\n * A getter method that returns a number representing the current time\n * (at the time this function was called) according to the scheduler's own\n * internal clock.\n * @return {number} A number that represents the current time. May or may not\n * have a relation to wall-clock time. May or may not refer to a time unit\n * (e.g. milliseconds).\n */\n public now: () => number;\n\n /**\n * Schedules a function, `work`, for execution. May happen at some point in\n * the future, according to the `delay` parameter, if specified. May be passed\n * some context object, `state`, which will be passed to the `work` function.\n *\n * The given arguments will be processed an stored as an Action object in a\n * queue of actions.\n *\n * @param {function(state: ?T): ?Subscription} work A function representing a\n * task, or some unit of work to be executed by the Scheduler.\n * @param {number} [delay] Time to wait before executing the work, where the\n * time unit is implicit and defined by the Scheduler itself.\n * @param {T} [state] Some contextual data that the `work` function uses when\n * called by the Scheduler.\n * @return {Subscription} A subscription in order to be able to unsubscribe\n * the scheduled work.\n */\n public schedule(work: (this: Action, state?: T) => void, delay: number = 0, state?: T): Subscription {\n return new this.SchedulerAction(this, work).schedule(state, delay);\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/Subject.d.ts b/node_modules/rxjs/Subject.d.ts deleted file mode 100644 index 6659e6a4..00000000 --- a/node_modules/rxjs/Subject.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Operator } from './Operator'; -import { Observer } from './Observer'; -import { Observable } from './Observable'; -import { Subscriber } from './Subscriber'; -import { ISubscription, Subscription, TeardownLogic } from './Subscription'; -/** - * @class SubjectSubscriber - */ -export declare class SubjectSubscriber extends Subscriber { - protected destination: Subject; - constructor(destination: Subject); -} -/** - * @class Subject - */ -export declare class Subject extends Observable implements ISubscription { - observers: Observer[]; - closed: boolean; - isStopped: boolean; - hasError: boolean; - thrownError: any; - constructor(); - static create: Function; - lift(operator: Operator): Observable; - next(value?: T): void; - error(err: any): void; - complete(): void; - unsubscribe(): void; - protected _trySubscribe(subscriber: Subscriber): TeardownLogic; - protected _subscribe(subscriber: Subscriber): Subscription; - asObservable(): Observable; -} -/** - * @class AnonymousSubject - */ -export declare class AnonymousSubject extends Subject { - protected destination: Observer; - constructor(destination?: Observer, source?: Observable); - next(value: T): void; - error(err: any): void; - complete(): void; - protected _subscribe(subscriber: Subscriber): Subscription; -} diff --git a/node_modules/rxjs/Subject.js b/node_modules/rxjs/Subject.js deleted file mode 100644 index 66754be5..00000000 --- a/node_modules/rxjs/Subject.js +++ /dev/null @@ -1,168 +0,0 @@ -"use strict"; -var __extends = (this && this.__extends) || function (d, b) { - for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); -}; -var Observable_1 = require('./Observable'); -var Subscriber_1 = require('./Subscriber'); -var Subscription_1 = require('./Subscription'); -var ObjectUnsubscribedError_1 = require('./util/ObjectUnsubscribedError'); -var SubjectSubscription_1 = require('./SubjectSubscription'); -var rxSubscriber_1 = require('./symbol/rxSubscriber'); -/** - * @class SubjectSubscriber - */ -var SubjectSubscriber = (function (_super) { - __extends(SubjectSubscriber, _super); - function SubjectSubscriber(destination) { - _super.call(this, destination); - this.destination = destination; - } - return SubjectSubscriber; -}(Subscriber_1.Subscriber)); -exports.SubjectSubscriber = SubjectSubscriber; -/** - * @class Subject - */ -var Subject = (function (_super) { - __extends(Subject, _super); - function Subject() { - _super.call(this); - this.observers = []; - this.closed = false; - this.isStopped = false; - this.hasError = false; - this.thrownError = null; - } - Subject.prototype[rxSubscriber_1.rxSubscriber] = function () { - return new SubjectSubscriber(this); - }; - Subject.prototype.lift = function (operator) { - var subject = new AnonymousSubject(this, this); - subject.operator = operator; - return subject; - }; - Subject.prototype.next = function (value) { - if (this.closed) { - throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); - } - if (!this.isStopped) { - var observers = this.observers; - var len = observers.length; - var copy = observers.slice(); - for (var i = 0; i < len; i++) { - copy[i].next(value); - } - } - }; - Subject.prototype.error = function (err) { - if (this.closed) { - throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); - } - this.hasError = true; - this.thrownError = err; - this.isStopped = true; - var observers = this.observers; - var len = observers.length; - var copy = observers.slice(); - for (var i = 0; i < len; i++) { - copy[i].error(err); - } - this.observers.length = 0; - }; - Subject.prototype.complete = function () { - if (this.closed) { - throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); - } - this.isStopped = true; - var observers = this.observers; - var len = observers.length; - var copy = observers.slice(); - for (var i = 0; i < len; i++) { - copy[i].complete(); - } - this.observers.length = 0; - }; - Subject.prototype.unsubscribe = function () { - this.isStopped = true; - this.closed = true; - this.observers = null; - }; - Subject.prototype._trySubscribe = function (subscriber) { - if (this.closed) { - throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); - } - else { - return _super.prototype._trySubscribe.call(this, subscriber); - } - }; - Subject.prototype._subscribe = function (subscriber) { - if (this.closed) { - throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); - } - else if (this.hasError) { - subscriber.error(this.thrownError); - return Subscription_1.Subscription.EMPTY; - } - else if (this.isStopped) { - subscriber.complete(); - return Subscription_1.Subscription.EMPTY; - } - else { - this.observers.push(subscriber); - return new SubjectSubscription_1.SubjectSubscription(this, subscriber); - } - }; - Subject.prototype.asObservable = function () { - var observable = new Observable_1.Observable(); - observable.source = this; - return observable; - }; - Subject.create = function (destination, source) { - return new AnonymousSubject(destination, source); - }; - return Subject; -}(Observable_1.Observable)); -exports.Subject = Subject; -/** - * @class AnonymousSubject - */ -var AnonymousSubject = (function (_super) { - __extends(AnonymousSubject, _super); - function AnonymousSubject(destination, source) { - _super.call(this); - this.destination = destination; - this.source = source; - } - AnonymousSubject.prototype.next = function (value) { - var destination = this.destination; - if (destination && destination.next) { - destination.next(value); - } - }; - AnonymousSubject.prototype.error = function (err) { - var destination = this.destination; - if (destination && destination.error) { - this.destination.error(err); - } - }; - AnonymousSubject.prototype.complete = function () { - var destination = this.destination; - if (destination && destination.complete) { - this.destination.complete(); - } - }; - AnonymousSubject.prototype._subscribe = function (subscriber) { - var source = this.source; - if (source) { - return this.source.subscribe(subscriber); - } - else { - return Subscription_1.Subscription.EMPTY; - } - }; - return AnonymousSubject; -}(Subject)); -exports.AnonymousSubject = AnonymousSubject; -//# sourceMappingURL=Subject.js.map \ No newline at end of file diff --git a/node_modules/rxjs/Subject.js.map b/node_modules/rxjs/Subject.js.map deleted file mode 100644 index 730e7fca..00000000 --- a/node_modules/rxjs/Subject.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Subject.js","sourceRoot":"","sources":["../src/Subject.ts"],"names":[],"mappings":";;;;;;AAEA,2BAA2B,cAAc,CAAC,CAAA;AAC1C,2BAA2B,cAAc,CAAC,CAAA;AAC1C,6BAA2D,gBAAgB,CAAC,CAAA;AAC5E,wCAAwC,gCAAgC,CAAC,CAAA;AACzE,oCAAoC,uBAAuB,CAAC,CAAA;AAC5D,6BAAmD,uBAAuB,CAAC,CAAA;AAE3E;;GAEG;AACH;IAA0C,qCAAa;IACrD,2BAAsB,WAAuB;QAC3C,kBAAM,WAAW,CAAC,CAAC;QADC,gBAAW,GAAX,WAAW,CAAY;IAE7C,CAAC;IACH,wBAAC;AAAD,CAAC,AAJD,CAA0C,uBAAU,GAInD;AAJY,yBAAiB,oBAI7B,CAAA;AAED;;GAEG;AACH;IAAgC,2BAAa;IAgB3C;QACE,iBAAO,CAAC;QAXV,cAAS,GAAkB,EAAE,CAAC;QAE9B,WAAM,GAAG,KAAK,CAAC;QAEf,c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,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED,+BAAI,GAAJ,UAAK,KAAQ;QACH,kCAAW,CAAU;QAC7B,EAAE,CAAC,CAAC,WAAW,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;YACpC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC1B,CAAC;IACH,CAAC;IAED,gCAAK,GAAL,UAAM,GAAQ;QACJ,kCAAW,CAAU;QAC7B,EAAE,CAAC,CAAC,WAAW,IAAI,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;YACrC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC9B,CAAC;IACH,CAAC;IAED,mCAAQ,GAAR;QACU,kCAAW,CAAU;QAC7B,EAAE,CAAC,CAAC,WAAW,IAAI,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;YACxC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;IAES,qCAAU,GAApB,UAAqB,UAAyB;QACpC,wBAAM,CAAU;QACxB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;YACX,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QAC3C,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,CAAC,2BAAY,CAAC,KAAK,CAAC;QAC5B,CAAC;IACH,CAAC;IACH,uBAAC;AAAD,CAAC,AAnCD,CAAyC,OAAO,GAmC/C;AAnCY,wBAAgB,mBAmC5B,CAAA","sourcesContent":["import { Operator } from './Operator';\nimport { Observer } from './Observer';\nimport { Observable } from './Observable';\nimport { Subscriber } from './Subscriber';\nimport { ISubscription, Subscription, TeardownLogic } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { SubjectSubscription } from './SubjectSubscription';\nimport { rxSubscriber as rxSubscriberSymbol } from './symbol/rxSubscriber';\n\n/**\n * @class SubjectSubscriber\n */\nexport class SubjectSubscriber extends Subscriber {\n constructor(protected destination: Subject) {\n super(destination);\n }\n}\n\n/**\n * @class Subject\n */\nexport class Subject extends Observable implements ISubscription {\n\n [rxSubscriberSymbol]() {\n return new SubjectSubscriber(this);\n }\n\n observers: Observer[] = [];\n\n closed = false;\n\n isStopped = false;\n\n hasError = false;\n\n thrownError: any = null;\n\n constructor() {\n super();\n }\n\n static create: Function = (destination: Observer, source: Observable): AnonymousSubject => {\n return new AnonymousSubject(destination, source);\n }\n\n lift(operator: Operator): Observable {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n\n next(value?: T) {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n if (!this.isStopped) {\n const { observers } = this;\n const len = observers.length;\n const copy = observers.slice();\n for (let i = 0; i < len; i++) {\n copy[i].next(value);\n }\n }\n }\n\n error(err: any) {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n this.hasError = true;\n this.thrownError = err;\n this.isStopped = true;\n const { observers } = this;\n const len = observers.length;\n const copy = observers.slice();\n for (let i = 0; i < len; i++) {\n copy[i].error(err);\n }\n this.observers.length = 0;\n }\n\n complete() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n this.isStopped = true;\n const { observers } = this;\n const len = observers.length;\n const copy = observers.slice();\n for (let i = 0; i < len; i++) {\n copy[i].complete();\n }\n this.observers.length = 0;\n }\n\n unsubscribe() {\n this.isStopped = true;\n this.closed = true;\n this.observers = null;\n }\n\n protected _trySubscribe(subscriber: Subscriber): TeardownLogic {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n } else {\n return super._trySubscribe(subscriber);\n }\n }\n\n protected _subscribe(subscriber: Subscriber): Subscription {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n } else if (this.hasError) {\n subscriber.error(this.thrownError);\n return Subscription.EMPTY;\n } else if (this.isStopped) {\n subscriber.complete();\n return Subscription.EMPTY;\n } else {\n this.observers.push(subscriber);\n return new SubjectSubscription(this, subscriber);\n }\n }\n\n asObservable(): Observable {\n const observable = new Observable();\n (observable).source = this;\n return observable;\n }\n}\n\n/**\n * @class AnonymousSubject\n */\nexport class AnonymousSubject extends Subject {\n constructor(protected destination?: Observer, source?: Observable) {\n super();\n this.source = source;\n }\n\n next(value: T) {\n const { destination } = this;\n if (destination && destination.next) {\n destination.next(value);\n }\n }\n\n error(err: any) {\n const { destination } = this;\n if (destination && destination.error) {\n this.destination.error(err);\n }\n }\n\n complete() {\n const { destination } = this;\n if (destination && destination.complete) {\n this.destination.complete();\n }\n }\n\n protected _subscribe(subscriber: Subscriber): Subscription {\n const { source } = this;\n if (source) {\n return this.source.subscribe(subscriber);\n } else {\n return Subscription.EMPTY;\n }\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/SubjectSubscription.d.ts b/node_modules/rxjs/SubjectSubscription.d.ts deleted file mode 100644 index f22deafe..00000000 --- a/node_modules/rxjs/SubjectSubscription.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Subject } from './Subject'; -import { Observer } from './Observer'; -import { Subscription } from './Subscription'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export declare class SubjectSubscription extends Subscription { - subject: Subject; - subscriber: Observer; - closed: boolean; - constructor(subject: Subject, subscriber: Observer); - unsubscribe(): void; -} diff --git a/node_modules/rxjs/SubjectSubscription.js b/node_modules/rxjs/SubjectSubscription.js deleted file mode 100644 index 8e7b6afa..00000000 --- a/node_modules/rxjs/SubjectSubscription.js +++ /dev/null @@ -1,40 +0,0 @@ -"use strict"; -var __extends = (this && this.__extends) || function (d, b) { - for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); -}; -var Subscription_1 = require('./Subscription'); -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -var SubjectSubscription = (function (_super) { - __extends(SubjectSubscription, _super); - function SubjectSubscription(subject, subscriber) { - _super.call(this); - this.subject = subject; - this.subscriber = subscriber; - this.closed = false; - } - SubjectSubscription.prototype.unsubscribe = function () { - if (this.closed) { - return; - } - this.closed = true; - var subject = this.subject; - var observers = subject.observers; - this.subject = null; - if (!observers || observers.length === 0 || subject.isStopped || subject.closed) { - return; - } - var subscriberIndex = observers.indexOf(this.subscriber); - if (subscriberIndex !== -1) { - observers.splice(subscriberIndex, 1); - } - }; - return SubjectSubscription; -}(Subscription_1.Subscription)); -exports.SubjectSubscription = SubjectSubscription; -//# sourceMappingURL=SubjectSubscription.js.map \ No newline at end of file diff --git a/node_modules/rxjs/SubjectSubscription.js.map b/node_modules/rxjs/SubjectSubscription.js.map deleted file mode 100644 index 2a94c562..00000000 --- a/node_modules/rxjs/SubjectSubscription.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SubjectSubscription.js","sourceRoot":"","sources":["../src/SubjectSubscription.ts"],"names":[],"mappings":";;;;;;AAEA,6BAA6B,gBAAgB,CAAC,CAAA;AAE9C;;;;GAIG;AACH;IAA4C,uCAAY;IAGtD,6BAAmB,OAAmB,EAAS,UAAuB;QACpE,iBAAO,CAAC;QADS,YAAO,GAAP,OAAO,CAAY;QAAS,eAAU,GAAV,UAAU,CAAa;QAFtE,WAAM,GAAY,KAAK,CAAC;IAIxB,CAAC;IAED,yCAAW,GAAX;QACE,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YAChB,MAAM,CAAC;QACT,CAAC;QAED,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QAEnB,IAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC7B,IAAM,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;QAEpC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QAEpB,EAAE,CAAC,CAAC,CAAC,SAAS,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,IAAI,OAAO,CAAC,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;YAChF,MAAM,CAAC;QACT,CAAC;QAED,IAAM,eAAe,GAAG,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAE3D,EAAE,CAAC,CAAC,eAAe,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YAC3B,SAAS,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;QACvC,CAAC;IACH,CAAC;IACH,0BAAC;AAAD,CAAC,AA7BD,CAA4C,2BAAY,GA6BvD;AA7BY,2BAAmB,sBA6B/B,CAAA","sourcesContent":["import { Subject } from './Subject';\nimport { Observer } from './Observer';\nimport { Subscription } from './Subscription';\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nexport class SubjectSubscription extends Subscription {\n closed: boolean = false;\n\n constructor(public subject: Subject, public subscriber: Observer) {\n super();\n }\n\n unsubscribe() {\n if (this.closed) {\n return;\n }\n\n this.closed = true;\n\n const subject = this.subject;\n const observers = subject.observers;\n\n this.subject = null;\n\n if (!observers || observers.length === 0 || subject.isStopped || subject.closed) {\n return;\n }\n\n const subscriberIndex = observers.indexOf(this.subscriber);\n\n if (subscriberIndex !== -1) {\n observers.splice(subscriberIndex, 1);\n }\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/Subscriber.d.ts b/node_modules/rxjs/Subscriber.d.ts deleted file mode 100644 index c30633f1..00000000 --- a/node_modules/rxjs/Subscriber.d.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { Observer, PartialObserver } from './Observer'; -import { Subscription } from './Subscription'; -/** - * Implements the {@link Observer} interface and extends the - * {@link Subscription} class. While the {@link Observer} is the public API for - * consuming the values of an {@link Observable}, all Observers get converted to - * a Subscriber, in order to provide Subscription-like capabilities such as - * `unsubscribe`. Subscriber is a common type in RxJS, and crucial for - * implementing operators, but it is rarely used as a public API. - * - * @class Subscriber - */ -export declare class Subscriber extends Subscription implements Observer { - /** - * A static factory for a Subscriber, given a (potentially partial) definition - * of an Observer. - * @param {function(x: ?T): void} [next] The `next` callback of an Observer. - * @param {function(e: ?any): void} [error] The `error` callback of an - * Observer. - * @param {function(): void} [complete] The `complete` callback of an - * Observer. - * @return {Subscriber} A Subscriber wrapping the (partially defined) - * Observer represented by the given arguments. - */ - static create(next?: (x?: T) => void, error?: (e?: any) => void, complete?: () => void): Subscriber; - syncErrorValue: any; - syncErrorThrown: boolean; - syncErrorThrowable: boolean; - protected isStopped: boolean; - protected destination: PartialObserver; - /** - * @param {Observer|function(value: T): void} [destinationOrNext] A partially - * defined Observer or a `next` callback function. - * @param {function(e: ?any): void} [error] The `error` callback of an - * Observer. - * @param {function(): void} [complete] The `complete` callback of an - * Observer. - */ - constructor(destinationOrNext?: PartialObserver | ((value: T) => void), error?: (e?: any) => void, complete?: () => void); - /** - * The {@link Observer} callback to receive notifications of type `next` from - * the Observable, with a value. The Observable may call this method 0 or more - * times. - * @param {T} [value] The `next` value. - * @return {void} - */ - next(value?: T): void; - /** - * The {@link Observer} callback to receive notifications of type `error` from - * the Observable, with an attached {@link Error}. Notifies the Observer that - * the Observable has experienced an error condition. - * @param {any} [err] The `error` exception. - * @return {void} - */ - error(err?: any): void; - /** - * The {@link Observer} callback to receive a valueless notification of type - * `complete` from the Observable. Notifies the Observer that the Observable - * has finished sending push-based notifications. - * @return {void} - */ - complete(): void; - unsubscribe(): void; - protected _next(value: T): void; - protected _error(err: any): void; - protected _complete(): void; - protected _unsubscribeAndRecycle(): Subscriber; -} diff --git a/node_modules/rxjs/Subscriber.js b/node_modules/rxjs/Subscriber.js deleted file mode 100644 index 6aed3788..00000000 --- a/node_modules/rxjs/Subscriber.js +++ /dev/null @@ -1,265 +0,0 @@ -"use strict"; -var __extends = (this && this.__extends) || function (d, b) { - for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); -}; -var isFunction_1 = require('./util/isFunction'); -var Subscription_1 = require('./Subscription'); -var Observer_1 = require('./Observer'); -var rxSubscriber_1 = require('./symbol/rxSubscriber'); -/** - * Implements the {@link Observer} interface and extends the - * {@link Subscription} class. While the {@link Observer} is the public API for - * consuming the values of an {@link Observable}, all Observers get converted to - * a Subscriber, in order to provide Subscription-like capabilities such as - * `unsubscribe`. Subscriber is a common type in RxJS, and crucial for - * implementing operators, but it is rarely used as a public API. - * - * @class Subscriber - */ -var Subscriber = (function (_super) { - __extends(Subscriber, _super); - /** - * @param {Observer|function(value: T): void} [destinationOrNext] A partially - * defined Observer or a `next` callback function. - * @param {function(e: ?any): void} [error] The `error` callback of an - * Observer. - * @param {function(): void} [complete] The `complete` callback of an - * Observer. - */ - function Subscriber(destinationOrNext, error, complete) { - _super.call(this); - this.syncErrorValue = null; - this.syncErrorThrown = false; - this.syncErrorThrowable = false; - this.isStopped = false; - switch (arguments.length) { - case 0: - this.destination = Observer_1.empty; - break; - case 1: - if (!destinationOrNext) { - this.destination = Observer_1.empty; - break; - } - if (typeof destinationOrNext === 'object') { - if (destinationOrNext instanceof Subscriber) { - this.syncErrorThrowable = destinationOrNext.syncErrorThrowable; - this.destination = destinationOrNext; - this.destination.add(this); - } - else { - this.syncErrorThrowable = true; - this.destination = new SafeSubscriber(this, destinationOrNext); - } - break; - } - default: - this.syncErrorThrowable = true; - this.destination = new SafeSubscriber(this, destinationOrNext, error, complete); - break; - } - } - Subscriber.prototype[rxSubscriber_1.rxSubscriber] = function () { return this; }; - /** - * A static factory for a Subscriber, given a (potentially partial) definition - * of an Observer. - * @param {function(x: ?T): void} [next] The `next` callback of an Observer. - * @param {function(e: ?any): void} [error] The `error` callback of an - * Observer. - * @param {function(): void} [complete] The `complete` callback of an - * Observer. - * @return {Subscriber} A Subscriber wrapping the (partially defined) - * Observer represented by the given arguments. - */ - Subscriber.create = function (next, error, complete) { - var subscriber = new Subscriber(next, error, complete); - subscriber.syncErrorThrowable = false; - return subscriber; - }; - /** - * The {@link Observer} callback to receive notifications of type `next` from - * the Observable, with a value. The Observable may call this method 0 or more - * times. - * @param {T} [value] The `next` value. - * @return {void} - */ - Subscriber.prototype.next = function (value) { - if (!this.isStopped) { - this._next(value); - } - }; - /** - * The {@link Observer} callback to receive notifications of type `error` from - * the Observable, with an attached {@link Error}. Notifies the Observer that - * the Observable has experienced an error condition. - * @param {any} [err] The `error` exception. - * @return {void} - */ - Subscriber.prototype.error = function (err) { - if (!this.isStopped) { - this.isStopped = true; - this._error(err); - } - }; - /** - * The {@link Observer} callback to receive a valueless notification of type - * `complete` from the Observable. Notifies the Observer that the Observable - * has finished sending push-based notifications. - * @return {void} - */ - Subscriber.prototype.complete = function () { - if (!this.isStopped) { - this.isStopped = true; - this._complete(); - } - }; - Subscriber.prototype.unsubscribe = function () { - if (this.closed) { - return; - } - this.isStopped = true; - _super.prototype.unsubscribe.call(this); - }; - Subscriber.prototype._next = function (value) { - this.destination.next(value); - }; - Subscriber.prototype._error = function (err) { - this.destination.error(err); - this.unsubscribe(); - }; - Subscriber.prototype._complete = function () { - this.destination.complete(); - this.unsubscribe(); - }; - Subscriber.prototype._unsubscribeAndRecycle = function () { - var _a = this, _parent = _a._parent, _parents = _a._parents; - this._parent = null; - this._parents = null; - this.unsubscribe(); - this.closed = false; - this.isStopped = false; - this._parent = _parent; - this._parents = _parents; - return this; - }; - return Subscriber; -}(Subscription_1.Subscription)); -exports.Subscriber = Subscriber; -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -var SafeSubscriber = (function (_super) { - __extends(SafeSubscriber, _super); - function SafeSubscriber(_parentSubscriber, observerOrNext, error, complete) { - _super.call(this); - this._parentSubscriber = _parentSubscriber; - var next; - var context = this; - if (isFunction_1.isFunction(observerOrNext)) { - next = observerOrNext; - } - else if (observerOrNext) { - next = observerOrNext.next; - error = observerOrNext.error; - complete = observerOrNext.complete; - if (observerOrNext !== Observer_1.empty) { - context = Object.create(observerOrNext); - if (isFunction_1.isFunction(context.unsubscribe)) { - this.add(context.unsubscribe.bind(context)); - } - context.unsubscribe = this.unsubscribe.bind(this); - } - } - this._context = context; - this._next = next; - this._error = error; - this._complete = complete; - } - SafeSubscriber.prototype.next = function (value) { - if (!this.isStopped && this._next) { - var _parentSubscriber = this._parentSubscriber; - if (!_parentSubscriber.syncErrorThrowable) { - this.__tryOrUnsub(this._next, value); - } - else if (this.__tryOrSetError(_parentSubscriber, this._next, value)) { - this.unsubscribe(); - } - } - }; - SafeSubscriber.prototype.error = function (err) { - if (!this.isStopped) { - var _parentSubscriber = this._parentSubscriber; - if (this._error) { - if (!_parentSubscriber.syncErrorThrowable) { - this.__tryOrUnsub(this._error, err); - this.unsubscribe(); - } - else { - this.__tryOrSetError(_parentSubscriber, this._error, err); - this.unsubscribe(); - } - } - else if (!_parentSubscriber.syncErrorThrowable) { - this.unsubscribe(); - throw err; - } - else { - _parentSubscriber.syncErrorValue = err; - _parentSubscriber.syncErrorThrown = true; - this.unsubscribe(); - } - } - }; - SafeSubscriber.prototype.complete = function () { - var _this = this; - if (!this.isStopped) { - var _parentSubscriber = this._parentSubscriber; - if (this._complete) { - var wrappedComplete = function () { return _this._complete.call(_this._context); }; - if (!_parentSubscriber.syncErrorThrowable) { - this.__tryOrUnsub(wrappedComplete); - this.unsubscribe(); - } - else { - this.__tryOrSetError(_parentSubscriber, wrappedComplete); - this.unsubscribe(); - } - } - else { - this.unsubscribe(); - } - } - }; - SafeSubscriber.prototype.__tryOrUnsub = function (fn, value) { - try { - fn.call(this._context, value); - } - catch (err) { - this.unsubscribe(); - throw err; - } - }; - SafeSubscriber.prototype.__tryOrSetError = function (parent, fn, value) { - try { - fn.call(this._context, value); - } - catch (err) { - parent.syncErrorValue = err; - parent.syncErrorThrown = true; - return true; - } - return false; - }; - SafeSubscriber.prototype._unsubscribe = function () { - var _parentSubscriber = this._parentSubscriber; - this._context = null; - this._parentSubscriber = null; - _parentSubscriber.unsubscribe(); - }; - return SafeSubscriber; -}(Subscriber)); -//# sourceMappingURL=Subscriber.js.map \ No newline at end of file diff --git a/node_modules/rxjs/Subscriber.js.map b/node_modules/rxjs/Subscriber.js.map deleted file mode 100644 index 420ee879..00000000 --- a/node_modules/rxjs/Subscriber.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Subscriber.js","sourceRoot":"","sources":["../src/Subscriber.ts"],"names":[],"mappings":";;;;;;AAAA,2BAA2B,mBAAmB,CAAC,CAAA;AAE/C,6BAA6B,gBAAgB,CAAC,CAAA;AAC9C,yBAAuC,YAAY,CAAC,CAAA;AACpD,6BAAmD,uBAAuB,CAAC,CAAA;AAE3E;;;;;;;;;GASG;AACH;IAAmC,8BAAY;IA8B7C;;;;;;;OAOG;IACH,oBAAY,iBAA+D,EAC/D,KAAyB,EACzB,QAAqB;QAC/B,iBAAO,CAAC;QAlBH,mBAAc,GAAQ,IAAI,CAAC;QAC3B,oBAAe,GAAY,KAAK,CAAC;QACjC,uBAAkB,GAAY,KAAK,CAAC;QAEjC,cAAS,GAAY,KAAK,CAAC;QAgBnC,MAAM,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;YACzB,KAAK,CAAC;gBACJ,IAAI,CAAC,WAAW,GAAG,gBAAa,CAAC;gBACjC,KAAK,CAAC;YACR,KAAK,CAAC;gBACJ,EAAE,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC;oBACvB,IAAI,CAAC,WAAW,GAAG,gBAAa,CAAC;oBACjC,KAAK,CAAC;gBACR,CAAC;gBACD,EAAE,CAAC,CAAC,OAAO,iBAAiB,KAAK,QAAQ,CAAC,CAAC,CAAC;oBAC1C,EAAE,CAAC,CAAC,iBAAiB,YAAY,UAAU,CAAC,CAAC,CAAC;wBAC5C,IAAI,CAAC,kBAAkB,GAAG,iBAAiB,CAAC,kBAAkB,CAAC;wBAC/D,IAAI,CAAC,WAAW,GAAsB,iBAAkB,CAAC;wBAClD,IAAI,CAAC,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C,CAAC,CAAC;YACb,MAAM,CAAC,cAAc,GAAG,GAAG,CAAC;YAC5B,MAAM,CAAC,eAAe,GAAG,IAAI,CAAC;YAC9B,MAAM,CAAC,IAAI,CAAC;QACd,CAAC;QACD,MAAM,CAAC,KAAK,CAAC;IACf,CAAC;IAES,qCAAY,GAAtB;QACU,8CAAiB,CAAU;QACnC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACrB,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC;QAC9B,iBAAiB,CAAC,WAAW,EAAE,CAAC;IAClC,CAAC;IACH,qBAAC;AAAD,CAAC,AAhHD,CAAgC,UAAU,GAgHzC","sourcesContent":["import { isFunction } from './util/isFunction';\nimport { Observer, PartialObserver } from './Observer';\nimport { Subscription } from './Subscription';\nimport { empty as emptyObserver } from './Observer';\nimport { rxSubscriber as rxSubscriberSymbol } from './symbol/rxSubscriber';\n\n/**\n * Implements the {@link Observer} interface and extends the\n * {@link Subscription} class. While the {@link Observer} is the public API for\n * consuming the values of an {@link Observable}, all Observers get converted to\n * a Subscriber, in order to provide Subscription-like capabilities such as\n * `unsubscribe`. Subscriber is a common type in RxJS, and crucial for\n * implementing operators, but it is rarely used as a public API.\n *\n * @class Subscriber\n */\nexport class Subscriber extends Subscription implements Observer {\n\n [rxSubscriberSymbol]() { return this; }\n\n /**\n * A static factory for a Subscriber, given a (potentially partial) definition\n * of an Observer.\n * @param {function(x: ?T): void} [next] The `next` callback of an Observer.\n * @param {function(e: ?any): void} [error] The `error` callback of an\n * Observer.\n * @param {function(): void} [complete] The `complete` callback of an\n * Observer.\n * @return {Subscriber} A Subscriber wrapping the (partially defined)\n * Observer represented by the given arguments.\n */\n static create(next?: (x?: T) => void,\n error?: (e?: any) => void,\n complete?: () => void): Subscriber {\n const subscriber = new Subscriber(next, error, complete);\n subscriber.syncErrorThrowable = false;\n return subscriber;\n }\n\n public syncErrorValue: any = null;\n public syncErrorThrown: boolean = false;\n public syncErrorThrowable: boolean = false;\n\n protected isStopped: boolean = false;\n protected destination: PartialObserver; // this `any` is the escape hatch to erase extra type param (e.g. R)\n\n /**\n * @param {Observer|function(value: T): void} [destinationOrNext] A partially\n * defined Observer or a `next` callback function.\n * @param {function(e: ?any): void} [error] The `error` callback of an\n * Observer.\n * @param {function(): void} [complete] The `complete` callback of an\n * Observer.\n */\n constructor(destinationOrNext?: PartialObserver | ((value: T) => void),\n error?: (e?: any) => void,\n complete?: () => void) {\n super();\n\n switch (arguments.length) {\n case 0:\n this.destination = emptyObserver;\n break;\n case 1:\n if (!destinationOrNext) {\n this.destination = emptyObserver;\n break;\n }\n if (typeof destinationOrNext === 'object') {\n if (destinationOrNext instanceof Subscriber) {\n this.syncErrorThrowable = destinationOrNext.syncErrorThrowable;\n this.destination = (> destinationOrNext);\n ( this.destination).add(this);\n } else {\n this.syncErrorThrowable = true;\n this.destination = new SafeSubscriber(this, > destinationOrNext);\n }\n break;\n }\n default:\n this.syncErrorThrowable = true;\n this.destination = new SafeSubscriber(this, <((value: T) => void)> destinationOrNext, error, complete);\n break;\n }\n }\n\n /**\n * The {@link Observer} callback to receive notifications of type `next` from\n * the Observable, with a value. The Observable may call this method 0 or more\n * times.\n * @param {T} [value] The `next` value.\n * @return {void}\n */\n next(value?: T): void {\n if (!this.isStopped) {\n this._next(value);\n }\n }\n\n /**\n * The {@link Observer} callback to receive notifications of type `error` from\n * the Observable, with an attached {@link Error}. Notifies the Observer that\n * the Observable has experienced an error condition.\n * @param {any} [err] The `error` exception.\n * @return {void}\n */\n error(err?: any): void {\n if (!this.isStopped) {\n this.isStopped = true;\n this._error(err);\n }\n }\n\n /**\n * The {@link Observer} callback to receive a valueless notification of type\n * `complete` from the Observable. Notifies the Observer that the Observable\n * has finished sending push-based notifications.\n * @return {void}\n */\n complete(): void {\n if (!this.isStopped) {\n this.isStopped = true;\n this._complete();\n }\n }\n\n unsubscribe(): void {\n if (this.closed) {\n return;\n }\n this.isStopped = true;\n super.unsubscribe();\n }\n\n protected _next(value: T): void {\n this.destination.next(value);\n }\n\n protected _error(err: any): void {\n this.destination.error(err);\n this.unsubscribe();\n }\n\n protected _complete(): void {\n this.destination.complete();\n this.unsubscribe();\n }\n\n protected _unsubscribeAndRecycle(): Subscriber {\n const { _parent, _parents } = this;\n this._parent = null;\n this._parents = null;\n this.unsubscribe();\n this.closed = false;\n this.isStopped = false;\n this._parent = _parent;\n this._parents = _parents;\n return this;\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass SafeSubscriber extends Subscriber {\n\n private _context: any;\n\n constructor(private _parentSubscriber: Subscriber,\n observerOrNext?: PartialObserver | ((value: T) => void),\n error?: (e?: any) => void,\n complete?: () => void) {\n super();\n\n let next: ((value: T) => void);\n let context: any = this;\n\n if (isFunction(observerOrNext)) {\n next = (<((value: T) => void)> observerOrNext);\n } else if (observerOrNext) {\n next = (> observerOrNext).next;\n error = (> observerOrNext).error;\n complete = (> observerOrNext).complete;\n if (observerOrNext !== emptyObserver) {\n context = Object.create(observerOrNext);\n if (isFunction(context.unsubscribe)) {\n this.add(<() => void> context.unsubscribe.bind(context));\n }\n context.unsubscribe = this.unsubscribe.bind(this);\n }\n }\n\n this._context = context;\n this._next = next;\n this._error = error;\n this._complete = complete;\n }\n\n next(value?: T): void {\n if (!this.isStopped && this._next) {\n const { _parentSubscriber } = this;\n if (!_parentSubscriber.syncErrorThrowable) {\n this.__tryOrUnsub(this._next, value);\n } else if (this.__tryOrSetError(_parentSubscriber, this._next, value)) {\n this.unsubscribe();\n }\n }\n }\n\n error(err?: any): void {\n if (!this.isStopped) {\n const { _parentSubscriber } = this;\n if (this._error) {\n if (!_parentSubscriber.syncErrorThrowable) {\n this.__tryOrUnsub(this._error, err);\n this.unsubscribe();\n } else {\n this.__tryOrSetError(_parentSubscriber, this._error, err);\n this.unsubscribe();\n }\n } else if (!_parentSubscriber.syncErrorThrowable) {\n this.unsubscribe();\n throw err;\n } else {\n _parentSubscriber.syncErrorValue = err;\n _parentSubscriber.syncErrorThrown = true;\n this.unsubscribe();\n }\n }\n }\n\n complete(): void {\n if (!this.isStopped) {\n const { _parentSubscriber } = this;\n if (this._complete) {\n const wrappedComplete = () => this._complete.call(this._context);\n\n if (!_parentSubscriber.syncErrorThrowable) {\n this.__tryOrUnsub(wrappedComplete);\n this.unsubscribe();\n } else {\n this.__tryOrSetError(_parentSubscriber, wrappedComplete);\n this.unsubscribe();\n }\n } else {\n this.unsubscribe();\n }\n }\n }\n\n private __tryOrUnsub(fn: Function, value?: any): void {\n try {\n fn.call(this._context, value);\n } catch (err) {\n this.unsubscribe();\n throw err;\n }\n }\n\n private __tryOrSetError(parent: Subscriber, fn: Function, value?: any): boolean {\n try {\n fn.call(this._context, value);\n } catch (err) {\n parent.syncErrorValue = err;\n parent.syncErrorThrown = true;\n return true;\n }\n return false;\n }\n\n protected _unsubscribe(): void {\n const { _parentSubscriber } = this;\n this._context = null;\n this._parentSubscriber = null;\n _parentSubscriber.unsubscribe();\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/Subscription.d.ts b/node_modules/rxjs/Subscription.d.ts deleted file mode 100644 index afe5f177..00000000 --- a/node_modules/rxjs/Subscription.d.ts +++ /dev/null @@ -1,70 +0,0 @@ -export interface AnonymousSubscription { - unsubscribe(): void; -} -export declare type TeardownLogic = AnonymousSubscription | Function | void; -export interface ISubscription extends AnonymousSubscription { - unsubscribe(): void; - readonly closed: boolean; -} -/** - * Represents a disposable resource, such as the execution of an Observable. A - * Subscription has one important method, `unsubscribe`, that takes no argument - * and just disposes the resource held by the subscription. - * - * Additionally, subscriptions may be grouped together through the `add()` - * method, which will attach a child Subscription to the current Subscription. - * When a Subscription is unsubscribed, all its children (and its grandchildren) - * will be unsubscribed as well. - * - * @class Subscription - */ -export declare class Subscription implements ISubscription { - static EMPTY: Subscription; - /** - * A flag to indicate whether this Subscription has already been unsubscribed. - * @type {boolean} - */ - closed: boolean; - protected _parent: Subscription; - protected _parents: Subscription[]; - private _subscriptions; - /** - * @param {function(): void} [unsubscribe] A function describing how to - * perform the disposal of resources when the `unsubscribe` method is called. - */ - constructor(unsubscribe?: () => void); - /** - * Disposes the resources held by the subscription. May, for instance, cancel - * an ongoing Observable execution or cancel any other type of work that - * started when the Subscription was created. - * @return {void} - */ - unsubscribe(): void; - /** - * Adds a tear down to be called during the unsubscribe() of this - * Subscription. - * - * If the tear down being added is a subscription that is already - * unsubscribed, is the same reference `add` is being called on, or is - * `Subscription.EMPTY`, it will not be added. - * - * If this subscription is already in an `closed` state, the passed - * tear down logic will be executed immediately. - * - * @param {TeardownLogic} teardown The additional logic to execute on - * teardown. - * @return {Subscription} Returns the Subscription used or created to be - * added to the inner subscriptions list. This Subscription can be used with - * `remove()` to remove the passed teardown logic from the inner subscriptions - * list. - */ - add(teardown: TeardownLogic): Subscription; - /** - * Removes a Subscription from the internal list of subscriptions that will - * unsubscribe during the unsubscribe process of this Subscription. - * @param {Subscription} subscription The subscription to remove. - * @return {void} - */ - remove(subscription: Subscription): void; - private _addParent(parent); -} diff --git a/node_modules/rxjs/Subscription.js b/node_modules/rxjs/Subscription.js deleted file mode 100644 index 198728c0..00000000 --- a/node_modules/rxjs/Subscription.js +++ /dev/null @@ -1,193 +0,0 @@ -"use strict"; -var isArray_1 = require('./util/isArray'); -var isObject_1 = require('./util/isObject'); -var isFunction_1 = require('./util/isFunction'); -var tryCatch_1 = require('./util/tryCatch'); -var errorObject_1 = require('./util/errorObject'); -var UnsubscriptionError_1 = require('./util/UnsubscriptionError'); -/** - * Represents a disposable resource, such as the execution of an Observable. A - * Subscription has one important method, `unsubscribe`, that takes no argument - * and just disposes the resource held by the subscription. - * - * Additionally, subscriptions may be grouped together through the `add()` - * method, which will attach a child Subscription to the current Subscription. - * When a Subscription is unsubscribed, all its children (and its grandchildren) - * will be unsubscribed as well. - * - * @class Subscription - */ -var Subscription = (function () { - /** - * @param {function(): void} [unsubscribe] A function describing how to - * perform the disposal of resources when the `unsubscribe` method is called. - */ - function Subscription(unsubscribe) { - /** - * A flag to indicate whether this Subscription has already been unsubscribed. - * @type {boolean} - */ - this.closed = false; - this._parent = null; - this._parents = null; - this._subscriptions = null; - if (unsubscribe) { - this._unsubscribe = unsubscribe; - } - } - /** - * Disposes the resources held by the subscription. May, for instance, cancel - * an ongoing Observable execution or cancel any other type of work that - * started when the Subscription was created. - * @return {void} - */ - Subscription.prototype.unsubscribe = function () { - var hasErrors = false; - var errors; - if (this.closed) { - return; - } - var _a = this, _parent = _a._parent, _parents = _a._parents, _unsubscribe = _a._unsubscribe, _subscriptions = _a._subscriptions; - this.closed = true; - this._parent = null; - this._parents = null; - // null out _subscriptions first so any child subscriptions that attempt - // to remove themselves from this subscription will noop - this._subscriptions = null; - var index = -1; - var len = _parents ? _parents.length : 0; - // if this._parent is null, then so is this._parents, and we - // don't have to remove ourselves from any parent subscriptions. - while (_parent) { - _parent.remove(this); - // if this._parents is null or index >= len, - // then _parent is set to null, and the loop exits - _parent = ++index < len && _parents[index] || null; - } - if (isFunction_1.isFunction(_unsubscribe)) { - var trial = tryCatch_1.tryCatch(_unsubscribe).call(this); - if (trial === errorObject_1.errorObject) { - hasErrors = true; - errors = errors || (errorObject_1.errorObject.e instanceof UnsubscriptionError_1.UnsubscriptionError ? - flattenUnsubscriptionErrors(errorObject_1.errorObject.e.errors) : [errorObject_1.errorObject.e]); - } - } - if (isArray_1.isArray(_subscriptions)) { - index = -1; - len = _subscriptions.length; - while (++index < len) { - var sub = _subscriptions[index]; - if (isObject_1.isObject(sub)) { - var trial = tryCatch_1.tryCatch(sub.unsubscribe).call(sub); - if (trial === errorObject_1.errorObject) { - hasErrors = true; - errors = errors || []; - var err = errorObject_1.errorObject.e; - if (err instanceof UnsubscriptionError_1.UnsubscriptionError) { - errors = errors.concat(flattenUnsubscriptionErrors(err.errors)); - } - else { - errors.push(err); - } - } - } - } - } - if (hasErrors) { - throw new UnsubscriptionError_1.UnsubscriptionError(errors); - } - }; - /** - * Adds a tear down to be called during the unsubscribe() of this - * Subscription. - * - * If the tear down being added is a subscription that is already - * unsubscribed, is the same reference `add` is being called on, or is - * `Subscription.EMPTY`, it will not be added. - * - * If this subscription is already in an `closed` state, the passed - * tear down logic will be executed immediately. - * - * @param {TeardownLogic} teardown The additional logic to execute on - * teardown. - * @return {Subscription} Returns the Subscription used or created to be - * added to the inner subscriptions list. This Subscription can be used with - * `remove()` to remove the passed teardown logic from the inner subscriptions - * list. - */ - Subscription.prototype.add = function (teardown) { - if (!teardown || (teardown === Subscription.EMPTY)) { - return Subscription.EMPTY; - } - if (teardown === this) { - return this; - } - var subscription = teardown; - switch (typeof teardown) { - case 'function': - subscription = new Subscription(teardown); - case 'object': - if (subscription.closed || typeof subscription.unsubscribe !== 'function') { - return subscription; - } - else if (this.closed) { - subscription.unsubscribe(); - return subscription; - } - else if (typeof subscription._addParent !== 'function' /* quack quack */) { - var tmp = subscription; - subscription = new Subscription(); - subscription._subscriptions = [tmp]; - } - break; - default: - throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.'); - } - var subscriptions = this._subscriptions || (this._subscriptions = []); - subscriptions.push(subscription); - subscription._addParent(this); - return subscription; - }; - /** - * Removes a Subscription from the internal list of subscriptions that will - * unsubscribe during the unsubscribe process of this Subscription. - * @param {Subscription} subscription The subscription to remove. - * @return {void} - */ - Subscription.prototype.remove = function (subscription) { - var subscriptions = this._subscriptions; - if (subscriptions) { - var subscriptionIndex = subscriptions.indexOf(subscription); - if (subscriptionIndex !== -1) { - subscriptions.splice(subscriptionIndex, 1); - } - } - }; - Subscription.prototype._addParent = function (parent) { - var _a = this, _parent = _a._parent, _parents = _a._parents; - if (!_parent || _parent === parent) { - // If we don't have a parent, or the new parent is the same as the - // current parent, then set this._parent to the new parent. - this._parent = parent; - } - else if (!_parents) { - // If there's already one parent, but not multiple, allocate an Array to - // store the rest of the parent Subscriptions. - this._parents = [parent]; - } - else if (_parents.indexOf(parent) === -1) { - // Only add the new parent to the _parents list if it's not already there. - _parents.push(parent); - } - }; - Subscription.EMPTY = (function (empty) { - empty.closed = true; - return empty; - }(new Subscription())); - return Subscription; -}()); -exports.Subscription = Subscription; -function flattenUnsubscriptionErrors(errors) { - return errors.reduce(function (errs, err) { return errs.concat((err instanceof UnsubscriptionError_1.UnsubscriptionError) ? err.errors : err); }, []); -} -//# sourceMappingURL=Subscription.js.map \ No newline at end of file diff --git a/node_modules/rxjs/Subscription.js.map b/node_modules/rxjs/Subscription.js.map deleted file mode 100644 index 793c4bf7..00000000 --- a/node_modules/rxjs/Subscription.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Subscription.js","sourceRoot":"","sources":["../src/Subscription.ts"],"names":[],"mappings":";AAAA,wBAAwB,gBAAgB,CAAC,CAAA;AACzC,yBAAyB,iBAAiB,CAAC,CAAA;AAC3C,2BAA2B,mBAAmB,CAAC,CAAA;AAC/C,yBAAyB,iBAAiB,CAAC,CAAA;AAC3C,4BAA4B,oBAAoB,CAAC,CAAA;AACjD,oCAAoC,4BAA4B,CAAC,CAAA;AAajE;;;;;;;;;;;GAWG;AACH;IAgBE;;;OAGG;IACH,sBAAY,WAAwB;QAdpC;;;WAGG;QACI,WAAM,GAAY,KAAK,CAAC;QAErB,YAAO,GAAiB,IAAI,CAAC;QAC7B,aAAQ,GAAmB,IAAI,CAAC;QAClC,mBAAc,GAAoB,IAAI,CAAC;QAO7C,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC;YACT,IAAK,CAAC,YAAY,GAAG,WAAW,CAAC;QAC1C,CAAC;IACH,CAAC;IAED;;;;;OAKG;IACH,kCAAW,GAAX;QACE,IAAI,SAAS,GAAG,KAAK,CAAC;QACtB,IAAI,MAAa,CAAC;QAElB,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YAChB,MAAM,CAAC;QACT,CAAC;QAED,IAAA,SAAsE,EAAhE,oBAAO,EAAE,sBAAQ,EAAE,8BAAY,EAAE,kCAAc,CAAkB;QAEvE,IAAI,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","sourcesContent":["import { isArray } from './util/isArray';\nimport { isObject } from './util/isObject';\nimport { isFunction } from './util/isFunction';\nimport { tryCatch } from './util/tryCatch';\nimport { errorObject } from './util/errorObject';\nimport { UnsubscriptionError } from './util/UnsubscriptionError';\n\nexport interface AnonymousSubscription {\n unsubscribe(): void;\n}\n\nexport type TeardownLogic = AnonymousSubscription | Function | void;\n\nexport interface ISubscription extends AnonymousSubscription {\n unsubscribe(): void;\n readonly closed: boolean;\n}\n\n/**\n * Represents a disposable resource, such as the execution of an Observable. A\n * Subscription has one important method, `unsubscribe`, that takes no argument\n * and just disposes the resource held by the subscription.\n *\n * Additionally, subscriptions may be grouped together through the `add()`\n * method, which will attach a child Subscription to the current Subscription.\n * When a Subscription is unsubscribed, all its children (and its grandchildren)\n * will be unsubscribed as well.\n *\n * @class Subscription\n */\nexport class Subscription implements ISubscription {\n public static EMPTY: Subscription = (function(empty: any){\n empty.closed = true;\n return empty;\n }(new Subscription()));\n\n /**\n * A flag to indicate whether this Subscription has already been unsubscribed.\n * @type {boolean}\n */\n public closed: boolean = false;\n\n protected _parent: Subscription = null;\n protected _parents: Subscription[] = null;\n private _subscriptions: ISubscription[] = null;\n\n /**\n * @param {function(): void} [unsubscribe] A function describing how to\n * perform the disposal of resources when the `unsubscribe` method is called.\n */\n constructor(unsubscribe?: () => void) {\n if (unsubscribe) {\n ( this)._unsubscribe = unsubscribe;\n }\n }\n\n /**\n * Disposes the resources held by the subscription. May, for instance, cancel\n * an ongoing Observable execution or cancel any other type of work that\n * started when the Subscription was created.\n * @return {void}\n */\n unsubscribe(): void {\n let hasErrors = false;\n let errors: any[];\n\n if (this.closed) {\n return;\n }\n\n let { _parent, _parents, _unsubscribe, _subscriptions } = ( this);\n\n this.closed = true;\n this._parent = null;\n this._parents = null;\n // null out _subscriptions first so any child subscriptions that attempt\n // to remove themselves from this subscription will noop\n this._subscriptions = null;\n\n let index = -1;\n let len = _parents ? _parents.length : 0;\n\n // if this._parent is null, then so is this._parents, and we\n // don't have to remove ourselves from any parent subscriptions.\n while (_parent) {\n _parent.remove(this);\n // if this._parents is null or index >= len,\n // then _parent is set to null, and the loop exits\n _parent = ++index < len && _parents[index] || null;\n }\n\n if (isFunction(_unsubscribe)) {\n let trial = tryCatch(_unsubscribe).call(this);\n if (trial === errorObject) {\n hasErrors = true;\n errors = errors || (\n errorObject.e instanceof UnsubscriptionError ?\n flattenUnsubscriptionErrors(errorObject.e.errors) : [errorObject.e]\n );\n }\n }\n\n if (isArray(_subscriptions)) {\n\n index = -1;\n len = _subscriptions.length;\n\n while (++index < len) {\n const sub = _subscriptions[index];\n if (isObject(sub)) {\n let trial = tryCatch(sub.unsubscribe).call(sub);\n if (trial === errorObject) {\n hasErrors = true;\n errors = errors || [];\n let err = errorObject.e;\n if (err instanceof UnsubscriptionError) {\n errors = errors.concat(flattenUnsubscriptionErrors(err.errors));\n } else {\n errors.push(err);\n }\n }\n }\n }\n }\n\n if (hasErrors) {\n throw new UnsubscriptionError(errors);\n }\n }\n\n /**\n * Adds a tear down to be called during the unsubscribe() of this\n * Subscription.\n *\n * If the tear down being added is a subscription that is already\n * unsubscribed, is the same reference `add` is being called on, or is\n * `Subscription.EMPTY`, it will not be added.\n *\n * If this subscription is already in an `closed` state, the passed\n * tear down logic will be executed immediately.\n *\n * @param {TeardownLogic} teardown The additional logic to execute on\n * teardown.\n * @return {Subscription} Returns the Subscription used or created to be\n * added to the inner subscriptions list. This Subscription can be used with\n * `remove()` to remove the passed teardown logic from the inner subscriptions\n * list.\n */\n add(teardown: TeardownLogic): Subscription {\n if (!teardown || (teardown === Subscription.EMPTY)) {\n return Subscription.EMPTY;\n }\n\n if (teardown === this) {\n return this;\n }\n\n let subscription = ( teardown);\n\n switch (typeof teardown) {\n case 'function':\n subscription = new Subscription(<(() => void) > teardown);\n case 'object':\n if (subscription.closed || typeof subscription.unsubscribe !== 'function') {\n return subscription;\n } else if (this.closed) {\n subscription.unsubscribe();\n return subscription;\n } else if (typeof subscription._addParent !== 'function' /* quack quack */) {\n const tmp = subscription;\n subscription = new Subscription();\n subscription._subscriptions = [tmp];\n }\n break;\n default:\n throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.');\n }\n\n const subscriptions = this._subscriptions || (this._subscriptions = []);\n\n subscriptions.push(subscription);\n subscription._addParent(this);\n\n return subscription;\n }\n\n /**\n * Removes a Subscription from the internal list of subscriptions that will\n * unsubscribe during the unsubscribe process of this Subscription.\n * @param {Subscription} subscription The subscription to remove.\n * @return {void}\n */\n remove(subscription: Subscription): void {\n const subscriptions = this._subscriptions;\n if (subscriptions) {\n const subscriptionIndex = subscriptions.indexOf(subscription);\n if (subscriptionIndex !== -1) {\n subscriptions.splice(subscriptionIndex, 1);\n }\n }\n }\n\n private _addParent(parent: Subscription) {\n let { _parent, _parents } = this;\n if (!_parent || _parent === parent) {\n // If we don't have a parent, or the new parent is the same as the\n // current parent, then set this._parent to the new parent.\n this._parent = parent;\n } else if (!_parents) {\n // If there's already one parent, but not multiple, allocate an Array to\n // store the rest of the parent Subscriptions.\n this._parents = [parent];\n } else if (_parents.indexOf(parent) === -1) {\n // Only add the new parent to the _parents list if it's not already there.\n _parents.push(parent);\n }\n }\n}\n\nfunction flattenUnsubscriptionErrors(errors: any[]) {\n return errors.reduce((errs, err) => errs.concat((err instanceof UnsubscriptionError) ? err.errors : err), []);\n}\n"]} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/AsyncSubject.js b/node_modules/rxjs/_esm2015/AsyncSubject.js deleted file mode 100644 index 72f112fd..00000000 --- a/node_modules/rxjs/_esm2015/AsyncSubject.js +++ /dev/null @@ -1,44 +0,0 @@ -import { Subject } from './Subject'; -import { Subscription } from './Subscription'; -/** - * @class AsyncSubject - */ -export class AsyncSubject extends Subject { - constructor() { - super(...arguments); - this.value = null; - this.hasNext = false; - this.hasCompleted = false; - } - _subscribe(subscriber) { - if (this.hasError) { - subscriber.error(this.thrownError); - return Subscription.EMPTY; - } - else if (this.hasCompleted && this.hasNext) { - subscriber.next(this.value); - subscriber.complete(); - return Subscription.EMPTY; - } - return super._subscribe(subscriber); - } - next(value) { - if (!this.hasCompleted) { - this.value = value; - this.hasNext = true; - } - } - error(error) { - if (!this.hasCompleted) { - super.error(error); - } - } - complete() { - this.hasCompleted = true; - if (this.hasNext) { - super.next(this.value); - } - super.complete(); - } -} -//# sourceMappingURL=AsyncSubject.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/AsyncSubject.js.map b/node_modules/rxjs/_esm2015/AsyncSubject.js.map deleted file mode 100644 index 1ae7c81d..00000000 --- a/node_modules/rxjs/_esm2015/AsyncSubject.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AsyncSubject.js","sourceRoot":"","sources":["../src/AsyncSubject.ts"],"names":[],"mappings":"OAAO,EAAE,OAAO,EAAE,MAAM,WAAW;OAE5B,EAAE,YAAY,EAAE,MAAM,gBAAgB;AAE7C;;GAEG;AACH,kCAAqC,OAAO;IAA5C;QAAqC,oBAAU;QACrC,UAAK,GAAM,IAAI,CAAC;QAChB,YAAO,GAAY,KAAK,CAAC;QACzB,iBAAY,GAAY,KAAK,CAAC;IAkCxC,CAAC;IAhCW,UAAU,CAAC,UAA2B;QAC9C,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YAClB,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YACnC,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC;QAC5B,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;YAC7C,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAC5B,UAAU,CAAC,QAAQ,EAAE,CAAC;YACtB,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC;QAC5B,CAAC;QACD,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;IACtC,CAAC;IAED,IAAI,CAAC,KAAQ;QACX,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;YACvB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;YACnB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACtB,CAAC;IACH,CAAC;IAED,KAAK,CAAC,KAAU;QACd,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;YACvB,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACrB,CAAC;IACH,CAAC;IAED,QAAQ;QACN,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;QACzB,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;YACjB,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACzB,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/BehaviorSubject.js b/node_modules/rxjs/_esm2015/BehaviorSubject.js deleted file mode 100644 index 658d06c6..00000000 --- a/node_modules/rxjs/_esm2015/BehaviorSubject.js +++ /dev/null @@ -1,36 +0,0 @@ -import { Subject } from './Subject'; -import { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError'; -/** - * @class BehaviorSubject - */ -export class BehaviorSubject extends Subject { - constructor(_value) { - super(); - this._value = _value; - } - get value() { - return this.getValue(); - } - _subscribe(subscriber) { - const subscription = super._subscribe(subscriber); - if (subscription && !subscription.closed) { - subscriber.next(this._value); - } - return subscription; - } - getValue() { - if (this.hasError) { - throw this.thrownError; - } - else if (this.closed) { - throw new ObjectUnsubscribedError(); - } - else { - return this._value; - } - } - next(value) { - super.next(this._value = value); - } -} -//# sourceMappingURL=BehaviorSubject.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/BehaviorSubject.js.map b/node_modules/rxjs/_esm2015/BehaviorSubject.js.map deleted file mode 100644 index a752ec9d..00000000 --- a/node_modules/rxjs/_esm2015/BehaviorSubject.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BehaviorSubject.js","sourceRoot":"","sources":["../src/BehaviorSubject.ts"],"names":[],"mappings":"OAAO,EAAE,OAAO,EAAE,MAAM,WAAW;OAG5B,EAAE,uBAAuB,EAAE,MAAM,gCAAgC;AAExE;;GAEG;AACH,qCAAwC,OAAO;IAE7C,YAAoB,MAAS;QAC3B,OAAO,CAAC;QADU,WAAM,GAAN,MAAM,CAAG;IAE7B,CAAC;IAED,IAAI,KAAK;QACP,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;IAES,UAAU,CAAC,UAAyB;QAC5C,MAAM,YAAY,GAAG,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;QAClD,EAAE,CAAC,CAAC,YAAY,IAAI,CAAiB,YAAa,CAAC,MAAM,CAAC,CAAC,CAAC;YAC1D,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC/B,CAAC;QACD,MAAM,CAAC,YAAY,CAAC;IACtB,CAAC;IAED,QAAQ;QACN,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YAClB,MAAM,IAAI,CAAC,WAAW,CAAC;QACzB,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YACvB,MAAM,IAAI,uBAAuB,EAAE,CAAC;QACtC,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;QACrB,CAAC;IACH,CAAC;IAED,IAAI,CAAC,KAAQ;QACX,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,CAAC;IAClC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/InnerSubscriber.js b/node_modules/rxjs/_esm2015/InnerSubscriber.js deleted file mode 100644 index 90b76936..00000000 --- a/node_modules/rxjs/_esm2015/InnerSubscriber.js +++ /dev/null @@ -1,27 +0,0 @@ -import { Subscriber } from './Subscriber'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class InnerSubscriber extends Subscriber { - constructor(parent, outerValue, outerIndex) { - super(); - this.parent = parent; - this.outerValue = outerValue; - this.outerIndex = outerIndex; - this.index = 0; - } - _next(value) { - this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this); - } - _error(error) { - this.parent.notifyError(error, this); - this.unsubscribe(); - } - _complete() { - this.parent.notifyComplete(this); - this.unsubscribe(); - } -} -//# sourceMappingURL=InnerSubscriber.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/InnerSubscriber.js.map b/node_modules/rxjs/_esm2015/InnerSubscriber.js.map deleted file mode 100644 index e1922b3b..00000000 --- a/node_modules/rxjs/_esm2015/InnerSubscriber.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"InnerSubscriber.js","sourceRoot":"","sources":["../src/InnerSubscriber.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,cAAc;AAGzC;;;;GAIG;AACH,qCAA2C,UAAU;IAGnD,YAAoB,MAA6B,EAAU,UAAa,EAAU,UAAkB;QAClG,OAAO,CAAC;QADU,WAAM,GAAN,MAAM,CAAuB;QAAU,eAAU,GAAV,UAAU,CAAG;QAAU,eAAU,GAAV,UAAU,CAAQ;QAF5F,UAAK,GAAW,CAAC,CAAC;IAI1B,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,UAAU,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,CAAC;IACtF,CAAC;IAES,MAAM,CAAC,KAAU;QACzB,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/LICENSE.txt b/node_modules/rxjs/_esm2015/LICENSE.txt deleted file mode 100644 index b6c40015..00000000 --- a/node_modules/rxjs/_esm2015/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - 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 (c) 2015-2017 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors - - 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. - diff --git a/node_modules/rxjs/_esm2015/Notification.js b/node_modules/rxjs/_esm2015/Notification.js deleted file mode 100644 index 7faf7605..00000000 --- a/node_modules/rxjs/_esm2015/Notification.js +++ /dev/null @@ -1,124 +0,0 @@ -import { Observable } from './Observable'; -/** - * Represents a push-based event or value that an {@link Observable} can emit. - * This class is particularly useful for operators that manage notifications, - * like {@link materialize}, {@link dematerialize}, {@link observeOn}, and - * others. Besides wrapping the actual delivered value, it also annotates it - * with metadata of, for instance, what type of push message it is (`next`, - * `error`, or `complete`). - * - * @see {@link materialize} - * @see {@link dematerialize} - * @see {@link observeOn} - * - * @class Notification - */ -export class Notification { - constructor(kind, value, error) { - this.kind = kind; - this.value = value; - this.error = error; - this.hasValue = kind === 'N'; - } - /** - * Delivers to the given `observer` the value wrapped by this Notification. - * @param {Observer} observer - * @return - */ - observe(observer) { - switch (this.kind) { - case 'N': - return observer.next && observer.next(this.value); - case 'E': - return observer.error && observer.error(this.error); - case 'C': - return observer.complete && observer.complete(); - } - } - /** - * Given some {@link Observer} callbacks, deliver the value represented by the - * current Notification to the correctly corresponding callback. - * @param {function(value: T): void} next An Observer `next` callback. - * @param {function(err: any): void} [error] An Observer `error` callback. - * @param {function(): void} [complete] An Observer `complete` callback. - * @return {any} - */ - do(next, error, complete) { - const kind = this.kind; - switch (kind) { - case 'N': - return next && next(this.value); - case 'E': - return error && error(this.error); - case 'C': - return complete && complete(); - } - } - /** - * Takes an Observer or its individual callback functions, and calls `observe` - * or `do` methods accordingly. - * @param {Observer|function(value: T): void} nextOrObserver An Observer or - * the `next` callback. - * @param {function(err: any): void} [error] An Observer `error` callback. - * @param {function(): void} [complete] An Observer `complete` callback. - * @return {any} - */ - accept(nextOrObserver, error, complete) { - if (nextOrObserver && typeof nextOrObserver.next === 'function') { - return this.observe(nextOrObserver); - } - else { - return this.do(nextOrObserver, error, complete); - } - } - /** - * Returns a simple Observable that just delivers the notification represented - * by this Notification instance. - * @return {any} - */ - toObservable() { - const kind = this.kind; - switch (kind) { - case 'N': - return Observable.of(this.value); - case 'E': - return Observable.throw(this.error); - case 'C': - return Observable.empty(); - } - throw new Error('unexpected notification kind value'); - } - /** - * A shortcut to create a Notification instance of the type `next` from a - * given value. - * @param {T} value The `next` value. - * @return {Notification} The "next" Notification representing the - * argument. - */ - static createNext(value) { - if (typeof value !== 'undefined') { - return new Notification('N', value); - } - return Notification.undefinedValueNotification; - } - /** - * A shortcut to create a Notification instance of the type `error` from a - * given error. - * @param {any} [err] The `error` error. - * @return {Notification} The "error" Notification representing the - * argument. - */ - static createError(err) { - return new Notification('E', undefined, err); - } - /** - * A shortcut to create a Notification instance of the type `complete`. - * @return {Notification} The valueless "complete" Notification. - */ - static createComplete() { - return Notification.completeNotification; - } -} -Notification.completeNotification = new Notification('C'); -Notification.undefinedValueNotification = new Notification('N', undefined); -//# sourceMappingURL=Notification.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Notification.js.map b/node_modules/rxjs/_esm2015/Notification.js.map deleted file mode 100644 index 7a2dfb7e..00000000 --- a/node_modules/rxjs/_esm2015/Notification.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Notification.js","sourceRoot":"","sources":["../src/Notification.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,cAAc;AAEzC;;;;;;;;;;;;;GAaG;AACH;IAGE,YAAmB,IAAY,EAAS,KAAS,EAAS,KAAW;QAAlD,SAAI,GAAJ,IAAI,CAAQ;QAAS,UAAK,GAAL,KAAK,CAAI;QAAS,UAAK,GAAL,KAAK,CAAM;QACnE,IAAI,CAAC,QAAQ,GAAG,IAAI,KAAK,GAAG,CAAC;IAC/B,CAAC;IAED;;;;OAIG;IACH,OAAO,CAAC,QAA4B;QAClC,MAAM,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;YAClB,KAAK,GAAG;gBACN,MAAM,CAAC,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACpD,KAAK,GAAG;gBACN,MAAM,CAAC,QAAQ,CAAC,KAAK,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACtD,KAAK,GAAG;gBACN,MAAM,CAAC,QAAQ,CAAC,QAAQ,IAAI,QAAQ,CAAC,QAAQ,EAAE,CAAC;QACpD,CAAC;IACH,CAAC;IAED;;;;;;;OAOG;IACH,EAAE,CAAC,IAAwB,EAAE,KAA0B,EAAE,QAAqB;QAC5E,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QACvB,MAAM,CAAC,CAAC,IAAI,CAAC,CA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,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,CAAC,YAAY,CAAC,0BAA0B,CAAC;IACjD,CAAC;IAED;;;;;;OAMG;IACH,OAAO,WAAW,CAAI,GAAS;QAC7B,MAAM,CAAC,IAAI,YAAY,CAAC,GAAG,EAAE,SAAS,EAAE,GAAG,CAAC,CAAC;IAC/C,CAAC;IAED;;;OAGG;IACH,OAAO,cAAc;QACnB,MAAM,CAAC,YAAY,CAAC,oBAAoB,CAAC;IAC3C,CAAC;AACH,CAAC;AAnCgB,iCAAoB,GAAsB,IAAI,YAAY,CAAC,GAAG,CAAC,CAAC;AAChE,uCAA0B,GAAsB,IAAI,YAAY,CAAC,GAAG,EAAE,SAAS,CAAC,CAkChG"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Observable.js b/node_modules/rxjs/_esm2015/Observable.js deleted file mode 100644 index ee827ec4..00000000 --- a/node_modules/rxjs/_esm2015/Observable.js +++ /dev/null @@ -1,296 +0,0 @@ -import { root } from './util/root'; -import { toSubscriber } from './util/toSubscriber'; -import { observable as Symbol_observable } from './symbol/observable'; -import { pipeFromArray } from './util/pipe'; -/** - * A representation of any set of values over any amount of time. This is the most basic building block - * of RxJS. - * - * @class Observable - */ -export class Observable { - /** - * @constructor - * @param {Function} subscribe the function that is called when the Observable is - * initially subscribed to. This function is given a Subscriber, to which new values - * can be `next`ed, or an `error` method can be called to raise an error, or - * `complete` can be called to notify of a successful completion. - */ - constructor(subscribe) { - this._isScalar = false; - if (subscribe) { - this._subscribe = subscribe; - } - } - /** - * Creates a new Observable, with this Observable as the source, and the passed - * operator defined as the new observable's operator. - * @method lift - * @param {Operator} operator the operator defining the operation to take on the observable - * @return {Observable} a new observable with the Operator applied - */ - lift(operator) { - const observable = new Observable(); - observable.source = this; - observable.operator = operator; - return observable; - } - /** - * Invokes an execution of an Observable and registers Observer handlers for notifications it will emit. - * - * Use it when you have all these Observables, but still nothing is happening. - * - * `subscribe` is not a regular operator, but a method that calls Observable's internal `subscribe` function. It - * might be for example a function that you passed to a {@link create} static factory, but most of the time it is - * a library implementation, which defines what and when will be emitted by an Observable. This means that calling - * `subscribe` is actually the moment when Observable starts its work, not when it is created, as it is often - * thought. - * - * Apart from starting the execution of an Observable, this method allows you to listen for values - * that an Observable emits, as well as for when it completes or errors. You can achieve this in two - * following ways. - * - * The first way is creating an object that implements {@link Observer} interface. It should have methods - * defined by that interface, but note that it should be just a regular JavaScript object, which you can create - * yourself in any way you want (ES6 class, classic function constructor, object literal etc.). In particular do - * not attempt to use any RxJS implementation details to create Observers - you don't need them. Remember also - * that your object does not have to implement all methods. If you find yourself creating a method that doesn't - * do anything, you can simply omit it. Note however, that if `error` method is not provided, all errors will - * be left uncaught. - * - * The second way is to give up on Observer object altogether and simply provide callback functions in place of its methods. - * This means you can provide three functions as arguments to `subscribe`, where first function is equivalent - * of a `next` method, second of an `error` method and third of a `complete` method. Just as in case of Observer, - * if you do not need to listen for something, you can omit a function, preferably by passing `undefined` or `null`, - * since `subscribe` recognizes these functions by where they were placed in function call. When it comes - * to `error` function, just as before, if not provided, errors emitted by an Observable will be thrown. - * - * Whatever style of calling `subscribe` you use, in both cases it returns a Subscription object. - * This object allows you to call `unsubscribe` on it, which in turn will stop work that an Observable does and will clean - * up all resources that an Observable used. Note that cancelling a subscription will not call `complete` callback - * provided to `subscribe` function, which is reserved for a regular completion signal that comes from an Observable. - * - * Remember that callbacks provided to `subscribe` are not guaranteed to be called asynchronously. - * It is an Observable itself that decides when these functions will be called. For example {@link of} - * by default emits all its values synchronously. Always check documentation for how given Observable - * will behave when subscribed and if its default behavior can be modified with a {@link Scheduler}. - * - * @example Subscribe with an Observer - * const sumObserver = { - * sum: 0, - * next(value) { - * console.log('Adding: ' + value); - * this.sum = this.sum + value; - * }, - * error() { // We actually could just remove this method, - * }, // since we do not really care about errors right now. - * complete() { - * console.log('Sum equals: ' + this.sum); - * } - * }; - * - * Rx.Observable.of(1, 2, 3) // Synchronously emits 1, 2, 3 and then completes. - * .subscribe(sumObserver); - * - * // Logs: - * // "Adding: 1" - * // "Adding: 2" - * // "Adding: 3" - * // "Sum equals: 6" - * - * - * @example Subscribe with functions - * let sum = 0; - * - * Rx.Observable.of(1, 2, 3) - * .subscribe( - * function(value) { - * console.log('Adding: ' + value); - * sum = sum + value; - * }, - * undefined, - * function() { - * console.log('Sum equals: ' + sum); - * } - * ); - * - * // Logs: - * // "Adding: 1" - * // "Adding: 2" - * // "Adding: 3" - * // "Sum equals: 6" - * - * - * @example Cancel a subscription - * const subscription = Rx.Observable.interval(1000).subscribe( - * num => console.log(num), - * undefined, - * () => console.log('completed!') // Will not be called, even - * ); // when cancelling subscription - * - * - * setTimeout(() => { - * subscription.unsubscribe(); - * console.log('unsubscribed!'); - * }, 2500); - * - * // Logs: - * // 0 after 1s - * // 1 after 2s - * // "unsubscribed!" after 2.5s - * - * - * @param {Observer|Function} observerOrNext (optional) Either an observer with methods to be called, - * or the first of three possible handlers, which is the handler for each value emitted from the subscribed - * Observable. - * @param {Function} error (optional) A handler for a terminal event resulting from an error. If no error handler is provided, - * the error will be thrown as unhandled. - * @param {Function} complete (optional) A handler for a terminal event resulting from successful completion. - * @return {ISubscription} a subscription reference to the registered handlers - * @method subscribe - */ - subscribe(observerOrNext, error, complete) { - const { operator } = this; - const sink = toSubscriber(observerOrNext, error, complete); - if (operator) { - operator.call(sink, this.source); - } - else { - sink.add(this.source || !sink.syncErrorThrowable ? this._subscribe(sink) : this._trySubscribe(sink)); - } - if (sink.syncErrorThrowable) { - sink.syncErrorThrowable = false; - if (sink.syncErrorThrown) { - throw sink.syncErrorValue; - } - } - return sink; - } - _trySubscribe(sink) { - try { - return this._subscribe(sink); - } - catch (err) { - sink.syncErrorThrown = true; - sink.syncErrorValue = err; - sink.error(err); - } - } - /** - * @method forEach - * @param {Function} next a handler for each value emitted by the observable - * @param {PromiseConstructor} [PromiseCtor] a constructor function used to instantiate the Promise - * @return {Promise} a promise that either resolves on observable completion or - * rejects with the handled error - */ - forEach(next, PromiseCtor) { - if (!PromiseCtor) { - if (root.Rx && root.Rx.config && root.Rx.config.Promise) { - PromiseCtor = root.Rx.config.Promise; - } - else if (root.Promise) { - PromiseCtor = root.Promise; - } - } - if (!PromiseCtor) { - throw new Error('no Promise impl found'); - } - return new PromiseCtor((resolve, reject) => { - // Must be declared in a separate statement to avoid a RefernceError when - // accessing subscription below in the closure due to Temporal Dead Zone. - let subscription; - subscription = this.subscribe((value) => { - if (subscription) { - // if there is a subscription, then we can surmise - // the next handling is asynchronous. Any errors thrown - // need to be rejected explicitly and unsubscribe must be - // called manually - try { - next(value); - } - catch (err) { - reject(err); - subscription.unsubscribe(); - } - } - else { - // if there is NO subscription, then we're getting a nexted - // value synchronously during subscription. We can just call it. - // If it errors, Observable's `subscribe` will ensure the - // unsubscription logic is called, then synchronously rethrow the error. - // After that, Promise will trap the error and send it - // down the rejection path. - next(value); - } - }, reject, resolve); - }); - } - _subscribe(subscriber) { - return this.source.subscribe(subscriber); - } - /** - * An interop point defined by the es7-observable spec https://github.com/zenparsing/es-observable - * @method Symbol.observable - * @return {Observable} this instance of the observable - */ - [Symbol_observable]() { - return this; - } - /* tslint:enable:max-line-length */ - /** - * Used to stitch together functional operators into a chain. - * @method pipe - * @return {Observable} the Observable result of all of the operators having - * been called in the order they were passed in. - * - * @example - * - * import { map, filter, scan } from 'rxjs/operators'; - * - * Rx.Observable.interval(1000) - * .pipe( - * filter(x => x % 2 === 0), - * map(x => x + x), - * scan((acc, x) => acc + x) - * ) - * .subscribe(x => console.log(x)) - */ - pipe(...operations) { - if (operations.length === 0) { - return this; - } - return pipeFromArray(operations)(this); - } - /* tslint:enable:max-line-length */ - toPromise(PromiseCtor) { - if (!PromiseCtor) { - if (root.Rx && root.Rx.config && root.Rx.config.Promise) { - PromiseCtor = root.Rx.config.Promise; - } - else if (root.Promise) { - PromiseCtor = root.Promise; - } - } - if (!PromiseCtor) { - throw new Error('no Promise impl found'); - } - return new PromiseCtor((resolve, reject) => { - let value; - this.subscribe((x) => value = x, (err) => reject(err), () => resolve(value)); - }); - } -} -// HACK: Since TypeScript inherits static properties too, we have to -// fight against TypeScript here so Subject can have a different static create signature -/** - * Creates a new cold Observable by calling the Observable constructor - * @static true - * @owner Observable - * @method create - * @param {Function} subscribe? the subscriber function to be passed to the Observable constructor - * @return {Observable} a new cold observable - */ -Observable.create = (subscribe) => { - return new Observable(subscribe); -}; -//# sourceMappingURL=Observable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Observable.js.map b/node_modules/rxjs/_esm2015/Observable.js.map deleted file mode 100644 index 44a35469..00000000 --- a/node_modules/rxjs/_esm2015/Observable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Observable.js","sourceRoot":"","sources":["../src/Observable.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,aAAa;OAC3B,EAAE,YAAY,EAAE,MAAM,qBAAqB;OAG3C,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,qBAAqB;OAE9D,EAAE,aAAa,EAAE,MAAM,aAAa;AAW3C;;;;;GAKG;AACH;IAOE;;;;;;OAMG;IACH,YAAY,SAA6E;QAZlF,cAAS,GAAY,KAAK,CAAC;QAahC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;YACd,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC9B,CAAC;IACH,CAAC;IAgBD;;;;;;OAMG;IACH,IAAI,CAAI,QAAwB;QAC9B,MAAM,UAAU,GAAG,IAAI,UAAU,EAAK,CAAC;QACvC,UAAU,CAAC,MAAM,GAAG,IAAI,CAAC;QACzB,UAAU,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAC/B,MAAM,CAAC,UAAU,CAAC;IACpB,CAAC;IAID;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAC,GAAG,CAAC,EAAE,MAAM,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;QACvF,CAAC,CAAe,CAAC;IACnB,CAAC;AACH,CAAC;AAlTC,oEAAoE;AACpE,wFAAwF;AACxF;;;;;;;GAOG;AACI,iBAAM,GAAa,CAAI,SAAwD;IACpF,MAAM,CAAC,IAAI,UAAU,CAAI,SAAS,CAAC,CAAC;AACtC,CAAC,CAsSF"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Observer.js b/node_modules/rxjs/_esm2015/Observer.js deleted file mode 100644 index edfadbaa..00000000 --- a/node_modules/rxjs/_esm2015/Observer.js +++ /dev/null @@ -1,7 +0,0 @@ -export const empty = { - closed: true, - next(value) { }, - error(err) { throw err; }, - complete() { } -}; -//# sourceMappingURL=Observer.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Observer.js.map b/node_modules/rxjs/_esm2015/Observer.js.map deleted file mode 100644 index 162fe924..00000000 --- a/node_modules/rxjs/_esm2015/Observer.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Observer.js","sourceRoot":"","sources":["../src/Observer.ts"],"names":[],"mappings":"AA8BA,OAAO,MAAM,KAAK,GAAkB;IAClC,MAAM,EAAE,IAAI;IACZ,IAAI,CAAC,KAAU,IAAoB,CAAC;IACpC,KAAK,CAAC,GAAQ,IAAU,MAAM,GAAG,CAAC,CAAC,CAAC;IACpC,QAAQ,KAAoB,CAAC;CAC9B,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Operator.js b/node_modules/rxjs/_esm2015/Operator.js deleted file mode 100644 index 463a42e4..00000000 --- a/node_modules/rxjs/_esm2015/Operator.js +++ /dev/null @@ -1 +0,0 @@ -//# sourceMappingURL=Operator.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Operator.js.map b/node_modules/rxjs/_esm2015/Operator.js.map deleted file mode 100644 index ce9fa2ec..00000000 --- a/node_modules/rxjs/_esm2015/Operator.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Operator.js","sourceRoot":"","sources":["../src/Operator.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/OuterSubscriber.js b/node_modules/rxjs/_esm2015/OuterSubscriber.js deleted file mode 100644 index 4ee8be3f..00000000 --- a/node_modules/rxjs/_esm2015/OuterSubscriber.js +++ /dev/null @@ -1,18 +0,0 @@ -import { Subscriber } from './Subscriber'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class OuterSubscriber extends Subscriber { - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - this.destination.next(innerValue); - } - notifyError(error, innerSub) { - this.destination.error(error); - } - notifyComplete(innerSub) { - this.destination.complete(); - } -} -//# sourceMappingURL=OuterSubscriber.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/OuterSubscriber.js.map b/node_modules/rxjs/_esm2015/OuterSubscriber.js.map deleted file mode 100644 index 8701c263..00000000 --- a/node_modules/rxjs/_esm2015/OuterSubscriber.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"OuterSubscriber.js","sourceRoot":"","sources":["../src/OuterSubscriber.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,cAAc;AAGzC;;;;GAIG;AACH,qCAA2C,UAAU;IACnD,UAAU,CAAC,UAAa,EAAE,UAAa,EAC5B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IAED,WAAW,CAAC,KAAU,EAAE,QAA+B;QACrD,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAChC,CAAC;IAED,cAAc,CAAC,QAA+B;QAC5C,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/README.md b/node_modules/rxjs/_esm2015/README.md deleted file mode 100644 index f8eda12a..00000000 --- a/node_modules/rxjs/_esm2015/README.md +++ /dev/null @@ -1,204 +0,0 @@ -[![Build Status](https://travis-ci.org/ReactiveX/rxjs.svg?branch=master)](https://travis-ci.org/ReactiveX/rxjs) -[![Coverage Status](https://coveralls.io/repos/github/ReactiveX/rxjs/badge.svg?branch=master)](https://coveralls.io/github/ReactiveX/rxjs?branch=master) -[![npm version](https://badge.fury.io/js/%40reactivex%2Frxjs.svg)](http://badge.fury.io/js/%40reactivex%2Frxjs) -[![Join the chat at https://gitter.im/Reactive-Extensions/RxJS](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Reactive-Extensions/RxJS?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) - -[![Selenium Test Status](https://saucelabs.com/browser-matrix/rxjs5.svg)](https://saucelabs.com/u/rxjs5) - -# RxJS 5 - -Reactive Extensions Library for JavaScript. This is a rewrite of [Reactive-Extensions/RxJS](https://github.com/Reactive-Extensions/RxJS) and is the latest production-ready version of RxJS. This rewrite is meant to have better performance, better modularity, better debuggable call stacks, while staying mostly backwards compatible, with some breaking changes that reduce the API surface. - -[Apache 2.0 License](LICENSE.txt) - -- [Code of Conduct](CODE_OF_CONDUCT.md) -- [Contribution Guidelines](CONTRIBUTING.md) -- [Maintainer Guidelines](doc/maintainer-guidelines.md) -- [Creating Operators](doc/operator-creation.md) -- [Migrating From RxJS 4 to RxJS 5](MIGRATION.md) -- [API Documentation (WIP)](http://reactivex.io/rxjs) - -## Versions In This Repository - -- [master](https://github.com/ReactiveX/rxjs/commits/master) - commits that will be included in the next _minor_ or _patch_ release -- [next](https://github.com/ReactiveX/rxjs/commits/next) - commits that will be included in the next _major_ release (breaking changes) - -Most PRs should be made to **master**, unless you know it is a breaking change. - -## Important - -By contributing or commenting on issues in this repository, whether you've read them or not, you're agreeing to the [Contributor Code of Conduct](CODE_OF_CONDUCT.md). Much like traffic laws, ignorance doesn't grant you immunity. - -## Installation and Usage - -### ES6 via npm - -```sh -npm install rxjs -``` - -To import the entire core set of functionality: - -```js -import Rx from 'rxjs/Rx'; - -Rx.Observable.of(1,2,3) -``` - -To import only what you need by patching (this is useful for size-sensitive bundling): - -```js -import { Observable } from 'rxjs/Observable'; -import 'rxjs/add/observable/of'; -import 'rxjs/add/operator/map'; - -Observable.of(1,2,3).map(x => x + '!!!'); // etc -``` - -To import what you need and use it with proposed [bind operator](https://github.com/tc39/proposal-bind-operator): - -> Note: This additional syntax requires [transpiler support](http://babeljs.io/docs/plugins/transform-function-bind/) and this syntax may be completely withdrawn from TC39 without notice! Use at your own risk. - -```js -import { Observable } from 'rxjs/Observable'; -import { of } from 'rxjs/observable/of'; -import { map } from 'rxjs/operator/map'; - -Observable::of(1,2,3)::map(x => x + '!!!'); // etc -``` - -### CommonJS via npm - -To install this library for CommonJS (CJS) usage, use the following command: - -```sh -npm install rxjs -``` - -Import all core functionality: - -```js -var Rx = require('rxjs/Rx'); - -Rx.Observable.of(1,2,3); // etc -``` - -Import only what you need and patch Observable (this is useful in size-sensitive bundling scenarios): - -```js -var Observable = require('rxjs/Observable').Observable; -// patch Observable with appropriate methods -require('rxjs/add/observable/of'); -require('rxjs/add/operator/map'); - -Observable.of(1,2,3).map(function (x) { return x + '!!!'; }); // etc -``` - -Import operators and use them _manually_ you can do the following (this is also useful for bundling): - -```js -var of = require('rxjs/observable/of').of; -var map = require('rxjs/operator/map').map; - -map.call(of(1,2,3), function (x) { return x + '!!!'; }); -``` - -You can also use the above method to build your own Observable and export it from your own module. - - -### All Module Types (CJS/ES6/AMD/TypeScript) via npm - -To install this library via [npm](https://www.npmjs.org) **version 3**, use the following command: - -```sh -npm install @reactivex/rxjs -``` - -This will include CJS/Global builds and can be used for all module types. - -If you are using npm **version 2** before this library has achieved a stable version, you need to specify the library version explicitly: - -```sh -npm install @reactivex/rxjs@5.0.0 -``` - -### CDN - -For CDN, you can use [unpkg](https://unpkg.com/): - -https://unpkg.com/rxjs/bundles/Rx.min.js - -#### Node.js Usage: - -```js -var Rx = require('@reactivex/rxjs'); - -Rx.Observable.of('hello world') - .subscribe(function(x) { console.log(x); }); -``` - -## Goals - -- Provide better performance than preceding versions of RxJS -- To model/follow the [Observable Spec Proposal](https://github.com/zenparsing/es-observable) to the observable. -- Provide more modular file structure in a variety of formats -- Provide more debuggable call stacks than preceding versions of RxJS - -## Building/Testing - -The build and test structure is fairly primitive at the moment. There are various npm scripts that can be run: - -- build_es6: Transpiles the TypeScript files from `src/` to `dist/es6` -- build_cjs: Transpiles the ES6 files from `dist/es6` to `dist/cjs` -- build_amd: Transpiles the ES6 files from `dist/es6` to `dist/amd` -- build_global: Transpiles/Bundles the CommonJS files from `dist/cjs` to `dist/global/Rx.js` -- build_all: Performs all of the above in the proper order. -- build_test: builds ES6, then CommonJS, then runs the tests with `jasmine` -- build_perf: builds ES6, CommonJS, then global, then runs the performance tests with `protractor` -- build_docs: generates API documentation from `dist/es6` to `dist/docs` -- build_cover: runs `istanbul` code coverage against test cases -- test: runs tests with `jasmine`, must have built prior to running. -- tests2png: generates PNG marble diagrams from test cases. - -`npm run info` will list available script. - -### Example - -```sh -# build all the things! -npm run build_all -``` - -## Performance Tests - -Run `npm run build_perf` or `npm run perf` to run the performance tests with `protractor`. -Run `npm run perf_micro` to run micro performance test benchmarking operator. - -## Adding documentation -RxNext uses [ESDoc](https://esdoc.org/) to generate API documentation. Refer to ESDoc's documentation for syntax. Run `npm run build_docs` to generate. - -## Generating PNG marble diagrams - -The script `npm run tests2png` requires some native packages installed locally: `imagemagick`, `graphicsmagick`, and `ghostscript`. - -For Mac OS X with [Homebrew](http://brew.sh/): - -- `brew install imagemagick` -- `brew install graphicsmagick` -- `brew install ghostscript` -- You may need to install the Ghostscript fonts manually: - - Download the tarball from the [gs-fonts project](https://sourceforge.net/projects/gs-fonts) - - `mkdir -p /usr/local/share/ghostscript && tar zxvf /path/to/ghostscript-fonts.tar.gz -C /usr/local/share/ghostscript` - -For Debian Linux: - -- `sudo add-apt-repository ppa:dhor/myway` -- `apt-get install imagemagick` -- `apt-get install graphicsmagick` -- `apt-get install ghostscript` - -For Windows and other Operating Systems, check the download instructions here: - -- http://imagemagick.org -- http://www.graphicsmagick.org -- http://www.ghostscript.com/ diff --git a/node_modules/rxjs/_esm2015/ReplaySubject.js b/node_modules/rxjs/_esm2015/ReplaySubject.js deleted file mode 100644 index 8e2dbc0c..00000000 --- a/node_modules/rxjs/_esm2015/ReplaySubject.js +++ /dev/null @@ -1,90 +0,0 @@ -import { Subject } from './Subject'; -import { queue } from './scheduler/queue'; -import { Subscription } from './Subscription'; -import { ObserveOnSubscriber } from './operators/observeOn'; -import { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError'; -import { SubjectSubscription } from './SubjectSubscription'; -/** - * @class ReplaySubject - */ -export class ReplaySubject extends Subject { - constructor(bufferSize = Number.POSITIVE_INFINITY, windowTime = Number.POSITIVE_INFINITY, scheduler) { - super(); - this.scheduler = scheduler; - this._events = []; - this._bufferSize = bufferSize < 1 ? 1 : bufferSize; - this._windowTime = windowTime < 1 ? 1 : windowTime; - } - next(value) { - const now = this._getNow(); - this._events.push(new ReplayEvent(now, value)); - this._trimBufferThenGetEvents(); - super.next(value); - } - _subscribe(subscriber) { - const _events = this._trimBufferThenGetEvents(); - const scheduler = this.scheduler; - let subscription; - if (this.closed) { - throw new ObjectUnsubscribedError(); - } - else if (this.hasError) { - subscription = Subscription.EMPTY; - } - else if (this.isStopped) { - subscription = Subscription.EMPTY; - } - else { - this.observers.push(subscriber); - subscription = new SubjectSubscription(this, subscriber); - } - if (scheduler) { - subscriber.add(subscriber = new ObserveOnSubscriber(subscriber, scheduler)); - } - const len = _events.length; - for (let i = 0; i < len && !subscriber.closed; i++) { - subscriber.next(_events[i].value); - } - if (this.hasError) { - subscriber.error(this.thrownError); - } - else if (this.isStopped) { - subscriber.complete(); - } - return subscription; - } - _getNow() { - return (this.scheduler || queue).now(); - } - _trimBufferThenGetEvents() { - const now = this._getNow(); - const _bufferSize = this._bufferSize; - const _windowTime = this._windowTime; - const _events = this._events; - let eventsCount = _events.length; - let spliceCount = 0; - // Trim events that fall out of the time window. - // Start at the front of the list. Break early once - // we encounter an event that falls within the window. - while (spliceCount < eventsCount) { - if ((now - _events[spliceCount].time) < _windowTime) { - break; - } - spliceCount++; - } - if (eventsCount > _bufferSize) { - spliceCount = Math.max(spliceCount, eventsCount - _bufferSize); - } - if (spliceCount > 0) { - _events.splice(0, spliceCount); - } - return _events; - } -} -class ReplayEvent { - constructor(time, value) { - this.time = time; - this.value = value; - } -} -//# sourceMappingURL=ReplaySubject.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/ReplaySubject.js.map b/node_modules/rxjs/_esm2015/ReplaySubject.js.map deleted file mode 100644 index e829945b..00000000 --- a/node_modules/rxjs/_esm2015/ReplaySubject.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ReplaySubject.js","sourceRoot":"","sources":["../src/ReplaySubject.ts"],"names":[],"mappings":"OAAO,EAAE,OAAO,EAAE,MAAM,WAAW;OAE5B,EAAE,KAAK,EAAE,MAAM,mBAAmB;OAElC,EAAE,YAAY,EAAE,MAAM,gBAAgB;OACtC,EAAE,mBAAmB,EAAE,MAAM,uBAAuB;OACpD,EAAE,uBAAuB,EAAE,MAAM,gCAAgC;OACjE,EAAE,mBAAmB,EAAE,MAAM,uBAAuB;AAC3D;;GAEG;AACH,mCAAsC,OAAO;IAK3C,YAAY,UAAU,GAAW,MAAM,CAAC,iBAAiB,EAC7C,UAAU,GAAW,MAAM,CAAC,iBAAiB,EACrC,SAAsB;QACxC,OAAO,CAAC;QADU,cAAS,GAAT,SAAS,CAAa;QANlC,YAAO,GAAqB,EAAE,CAAC;QAQrC,IAAI,CAAC,WAAW,GAAG,UAAU,GAAG,CAAC,GAAG,CAAC,GAAG,UAAU,CAAC;QACnD,IAAI,CAAC,WAAW,GAAG,UAAU,GAAG,CAAC,GAAG,C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GAAG,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,WAAW,GAAG,WAAW,CAAC,CAAC;QACjE,CAAC;QAED,EAAE,CAAC,CAAC,WAAW,GAAG,CAAC,CAAC,CAAC,CAAC;YACpB,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC;QACjC,CAAC;QAED,MAAM,CAAC,OAAO,CAAC;IACjB,CAAC;AACH,CAAC;AAED;IACE,YAAmB,IAAY,EAAS,KAAQ;QAA7B,SAAI,GAAJ,IAAI,CAAQ;QAAS,UAAK,GAAL,KAAK,CAAG;IAChD,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Rx.js b/node_modules/rxjs/_esm2015/Rx.js deleted file mode 100644 index 23fd5c3f..00000000 --- a/node_modules/rxjs/_esm2015/Rx.js +++ /dev/null @@ -1,204 +0,0 @@ -/* tslint:disable:no-unused-variable */ -// Subject imported before Observable to bypass circular dependency issue since -// Subject extends Observable and Observable references Subject in it's -// definition -export { Subject, AnonymousSubject } from './Subject'; -/* tslint:enable:no-unused-variable */ -export { Observable } from './Observable'; -import './add/observable/bindCallback'; -import './add/observable/bindNodeCallback'; -import './add/observable/combineLatest'; -import './add/observable/concat'; -import './add/observable/defer'; -import './add/observable/empty'; -import './add/observable/forkJoin'; -import './add/observable/from'; -import './add/observable/fromEvent'; -import './add/observable/fromEventPattern'; -import './add/observable/fromPromise'; -import './add/observable/generate'; -import './add/observable/if'; -import './add/observable/interval'; -import './add/observable/merge'; -import './add/observable/race'; -import './add/observable/never'; -import './add/observable/of'; -import './add/observable/onErrorResumeNext'; -import './add/observable/pairs'; -import './add/observable/range'; -import './add/observable/using'; -import './add/observable/throw'; -import './add/observable/timer'; -import './add/observable/zip'; -import './add/observable/dom/ajax'; -import './add/observable/dom/webSocket'; -import './add/operator/buffer'; -import './add/operator/bufferCount'; -import './add/operator/bufferTime'; -import './add/operator/bufferToggle'; -import './add/operator/bufferWhen'; -import './add/operator/catch'; -import './add/operator/combineAll'; -import './add/operator/combineLatest'; -import './add/operator/concat'; -import './add/operator/concatAll'; -import './add/operator/concatMap'; -import './add/operator/concatMapTo'; -import './add/operator/count'; -import './add/operator/dematerialize'; -import './add/operator/debounce'; -import './add/operator/debounceTime'; -import './add/operator/defaultIfEmpty'; -import './add/operator/delay'; -import './add/operator/delayWhen'; -import './add/operator/distinct'; -import './add/operator/distinctUntilChanged'; -import './add/operator/distinctUntilKeyChanged'; -import './add/operator/do'; -import './add/operator/exhaust'; -import './add/operator/exhaustMap'; -import './add/operator/expand'; -import './add/operator/elementAt'; -import './add/operator/filter'; -import './add/operator/finally'; -import './add/operator/find'; -import './add/operator/findIndex'; -import './add/operator/first'; -import './add/operator/groupBy'; -import './add/operator/ignoreElements'; -import './add/operator/isEmpty'; -import './add/operator/audit'; -import './add/operator/auditTime'; -import './add/operator/last'; -import './add/operator/let'; -import './add/operator/every'; -import './add/operator/map'; -import './add/operator/mapTo'; -import './add/operator/materialize'; -import './add/operator/max'; -import './add/operator/merge'; -import './add/operator/mergeAll'; -import './add/operator/mergeMap'; -import './add/operator/mergeMapTo'; -import './add/operator/mergeScan'; -import './add/operator/min'; -import './add/operator/multicast'; -import './add/operator/observeOn'; -import './add/operator/onErrorResumeNext'; -import './add/operator/pairwise'; -import './add/operator/partition'; -import './add/operator/pluck'; -import './add/operator/publish'; -import './add/operator/publishBehavior'; -import './add/operator/publishReplay'; -import './add/operator/publishLast'; -import './add/operator/race'; -import './add/operator/reduce'; -import './add/operator/repeat'; -import './add/operator/repeatWhen'; -import './add/operator/retry'; -import './add/operator/retryWhen'; -import './add/operator/sample'; -import './add/operator/sampleTime'; -import './add/operator/scan'; -import './add/operator/sequenceEqual'; -import './add/operator/share'; -import './add/operator/shareReplay'; -import './add/operator/single'; -import './add/operator/skip'; -import './add/operator/skipLast'; -import './add/operator/skipUntil'; -import './add/operator/skipWhile'; -import './add/operator/startWith'; -import './add/operator/subscribeOn'; -import './add/operator/switch'; -import './add/operator/switchMap'; -import './add/operator/switchMapTo'; -import './add/operator/take'; -import './add/operator/takeLast'; -import './add/operator/takeUntil'; -import './add/operator/takeWhile'; -import './add/operator/throttle'; -import './add/operator/throttleTime'; -import './add/operator/timeInterval'; -import './add/operator/timeout'; -import './add/operator/timeoutWith'; -import './add/operator/timestamp'; -import './add/operator/toArray'; -import './add/operator/toPromise'; -import './add/operator/window'; -import './add/operator/windowCount'; -import './add/operator/windowTime'; -import './add/operator/windowToggle'; -import './add/operator/windowWhen'; -import './add/operator/withLatestFrom'; -import './add/operator/zip'; -import './add/operator/zipAll'; -/* tslint:disable:no-unused-variable */ -export { Subscription } from './Subscription'; -export { Subscriber } from './Subscriber'; -export { AsyncSubject } from './AsyncSubject'; -export { ReplaySubject } from './ReplaySubject'; -export { BehaviorSubject } from './BehaviorSubject'; -export { ConnectableObservable } from './observable/ConnectableObservable'; -export { Notification } from './Notification'; -export { EmptyError } from './util/EmptyError'; -export { ArgumentOutOfRangeError } from './util/ArgumentOutOfRangeError'; -export { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError'; -export { TimeoutError } from './util/TimeoutError'; -export { UnsubscriptionError } from './util/UnsubscriptionError'; -export { TimeInterval } from './operator/timeInterval'; -export { Timestamp } from './operators/timestamp'; -export { TestScheduler } from './testing/TestScheduler'; -export { VirtualTimeScheduler } from './scheduler/VirtualTimeScheduler'; -export { AjaxResponse, AjaxError, AjaxTimeoutError } from './observable/dom/AjaxObservable'; -export { pipe } from './util/pipe'; -import { asap } from './scheduler/asap'; -import { async } from './scheduler/async'; -import { queue } from './scheduler/queue'; -import { animationFrame } from './scheduler/animationFrame'; -import { rxSubscriber } from './symbol/rxSubscriber'; -import { iterator } from './symbol/iterator'; -import { observable } from './symbol/observable'; -import * as _operators from './operators'; -export const operators = _operators; -/* tslint:enable:no-unused-variable */ -/** - * @typedef {Object} Rx.Scheduler - * @property {Scheduler} queue Schedules on a queue in the current event frame - * (trampoline scheduler). Use this for iteration operations. - * @property {Scheduler} asap Schedules on the micro task queue, which uses the - * fastest transport mechanism available, either Node.js' `process.nextTick()` - * or Web Worker MessageChannel or setTimeout or others. Use this for - * asynchronous conversions. - * @property {Scheduler} async Schedules work with `setInterval`. Use this for - * time-based operations. - * @property {Scheduler} animationFrame Schedules work with `requestAnimationFrame`. - * Use this for synchronizing with the platform's painting - */ -let Scheduler = { - asap, - queue, - animationFrame, - async -}; -/** - * @typedef {Object} Rx.Symbol - * @property {Symbol|string} rxSubscriber A symbol to use as a property name to - * retrieve an "Rx safe" Observer from an object. "Rx safety" can be defined as - * an object that has all of the traits of an Rx Subscriber, including the - * ability to add and remove subscriptions to the subscription chain and - * guarantees involving event triggering (can't "next" after unsubscription, - * etc). - * @property {Symbol|string} observable A symbol to use as a property name to - * retrieve an Observable as defined by the [ECMAScript "Observable" spec](https://github.com/zenparsing/es-observable). - * @property {Symbol|string} iterator The ES6 symbol to use as a property name - * to retrieve an iterator from an object. - */ -let Symbol = { - rxSubscriber, - observable, - iterator -}; -export { Scheduler, Symbol }; -//# sourceMappingURL=Rx.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Rx.js.map b/node_modules/rxjs/_esm2015/Rx.js.map deleted file mode 100644 index 0da980e5..00000000 --- a/node_modules/rxjs/_esm2015/Rx.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Rx.js","sourceRoot":"","sources":["../src/Rx.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,+EAA+E;AAC/E,uEAAuE;AACvE,aAAa;AACb,SAAQ,OAAO,EAAE,gBAAgB,QAAO,WAAW,CAAC;AACpD,sCAAsC;AACtC,SAAQ,UAAU,QAAO,cAAc,CAAC;OAIjC,+BAA+B;OAC/B,mCAAmC;OACnC,gCAAgC;OAChC,yBAAyB;OACzB,wBAAwB;OACxB,wBAAwB;OACxB,2BAA2B;OAC3B,uBAAuB;OACvB,4BAA4B;OAC5B,mCAAmC;OACnC,8BAA8B;OAC9B,2BAA2B;OAC3B,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AO,iCAAiC,CAAC;AACvG,SAAS,IAAI,QAAQ,aAAa,CAAC;OAE5B,EAAE,IAAI,EAAE,MAAM,kBAAkB;OAChC,EAAE,KAAK,EAAE,MAAM,mBAAmB;OAClC,EAAE,KAAK,EAAE,MAAM,mBAAmB;OAClC,EAAE,cAAc,EAAE,MAAM,4BAA4B;OAKpD,EAAE,YAAY,EAAE,MAAM,uBAAuB;OAC7C,EAAE,QAAQ,EAAE,MAAM,mBAAmB;OACrC,EAAE,UAAU,EAAE,MAAM,qBAAqB;OAEzC,KAAK,UAAU,MAAM,aAAa;AAEzC,OAAO,MAAM,SAAS,GAAG,UAAU,CAAC;AAEpC,sCAAsC;AAEtC;;;;;;;;;;;;GAYG;AACH,IAAI,SAAS,GAAG;IACd,IAAI;IACJ,KAAK;IACL,cAAc;IACd,KAAK;CACN,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,IAAI,MAAM,GAAG;IACX,YAAY;IACZ,UAAU;IACV,QAAQ;CACT,CAAC;AAEF,SACI,SAAS,EACT,MAAM,GACR"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Scheduler.js b/node_modules/rxjs/_esm2015/Scheduler.js deleted file mode 100644 index c04bab29..00000000 --- a/node_modules/rxjs/_esm2015/Scheduler.js +++ /dev/null @@ -1,44 +0,0 @@ -/** - * An execution context and a data structure to order tasks and schedule their - * execution. Provides a notion of (potentially virtual) time, through the - * `now()` getter method. - * - * Each unit of work in a Scheduler is called an {@link Action}. - * - * ```ts - * class Scheduler { - * now(): number; - * schedule(work, delay?, state?): Subscription; - * } - * ``` - * - * @class Scheduler - */ -export class Scheduler { - constructor(SchedulerAction, now = Scheduler.now) { - this.SchedulerAction = SchedulerAction; - this.now = now; - } - /** - * Schedules a function, `work`, for execution. May happen at some point in - * the future, according to the `delay` parameter, if specified. May be passed - * some context object, `state`, which will be passed to the `work` function. - * - * The given arguments will be processed an stored as an Action object in a - * queue of actions. - * - * @param {function(state: ?T): ?Subscription} work A function representing a - * task, or some unit of work to be executed by the Scheduler. - * @param {number} [delay] Time to wait before executing the work, where the - * time unit is implicit and defined by the Scheduler itself. - * @param {T} [state] Some contextual data that the `work` function uses when - * called by the Scheduler. - * @return {Subscription} A subscription in order to be able to unsubscribe - * the scheduled work. - */ - schedule(work, delay = 0, state) { - return new this.SchedulerAction(this, work).schedule(state, delay); - } -} -Scheduler.now = Date.now ? Date.now : () => +new Date(); -//# sourceMappingURL=Scheduler.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Scheduler.js.map b/node_modules/rxjs/_esm2015/Scheduler.js.map deleted file mode 100644 index e02e8a73..00000000 --- a/node_modules/rxjs/_esm2015/Scheduler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Scheduler.js","sourceRoot":"","sources":["../src/Scheduler.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;GAeG;AACH;IAIE,YAAoB,eAA8B,EACtC,GAAG,GAAiB,SAAS,CAAC,GAAG;QADzB,oBAAe,GAAf,eAAe,CAAe;QAEhD,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;IACjB,CAAC;IAYD;;;;;;;;;;;;;;;;OAgBG;IACI,QAAQ,CAAI,IAA0C,EAAE,KAAK,GAAW,CAAC,EAAE,KAAS;QACzF,MAAM,CAAC,IAAI,IAAI,CAAC,eAAe,CAAI,IAAI,EAAE,IAAI,CAAC,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IACxE,CAAC;AACH,CAAC;AArCe,aAAG,GAAiB,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,GAAG,MAAM,CAAC,IAAI,IAAI,EAAE,CAqC1E"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Subject.js b/node_modules/rxjs/_esm2015/Subject.js deleted file mode 100644 index 7d4d4268..00000000 --- a/node_modules/rxjs/_esm2015/Subject.js +++ /dev/null @@ -1,153 +0,0 @@ -import { Observable } from './Observable'; -import { Subscriber } from './Subscriber'; -import { Subscription } from './Subscription'; -import { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError'; -import { SubjectSubscription } from './SubjectSubscription'; -import { rxSubscriber as rxSubscriberSymbol } from './symbol/rxSubscriber'; -/** - * @class SubjectSubscriber - */ -export class SubjectSubscriber extends Subscriber { - constructor(destination) { - super(destination); - this.destination = destination; - } -} -/** - * @class Subject - */ -export class Subject extends Observable { - constructor() { - super(); - this.observers = []; - this.closed = false; - this.isStopped = false; - this.hasError = false; - this.thrownError = null; - } - [rxSubscriberSymbol]() { - return new SubjectSubscriber(this); - } - lift(operator) { - const subject = new AnonymousSubject(this, this); - subject.operator = operator; - return subject; - } - next(value) { - if (this.closed) { - throw new ObjectUnsubscribedError(); - } - if (!this.isStopped) { - const { observers } = this; - const len = observers.length; - const copy = observers.slice(); - for (let i = 0; i < len; i++) { - copy[i].next(value); - } - } - } - error(err) { - if (this.closed) { - throw new ObjectUnsubscribedError(); - } - this.hasError = true; - this.thrownError = err; - this.isStopped = true; - const { observers } = this; - const len = observers.length; - const copy = observers.slice(); - for (let i = 0; i < len; i++) { - copy[i].error(err); - } - this.observers.length = 0; - } - complete() { - if (this.closed) { - throw new ObjectUnsubscribedError(); - } - this.isStopped = true; - const { observers } = this; - const len = observers.length; - const copy = observers.slice(); - for (let i = 0; i < len; i++) { - copy[i].complete(); - } - this.observers.length = 0; - } - unsubscribe() { - this.isStopped = true; - this.closed = true; - this.observers = null; - } - _trySubscribe(subscriber) { - if (this.closed) { - throw new ObjectUnsubscribedError(); - } - else { - return super._trySubscribe(subscriber); - } - } - _subscribe(subscriber) { - if (this.closed) { - throw new ObjectUnsubscribedError(); - } - else if (this.hasError) { - subscriber.error(this.thrownError); - return Subscription.EMPTY; - } - else if (this.isStopped) { - subscriber.complete(); - return Subscription.EMPTY; - } - else { - this.observers.push(subscriber); - return new SubjectSubscription(this, subscriber); - } - } - asObservable() { - const observable = new Observable(); - observable.source = this; - return observable; - } -} -Subject.create = (destination, source) => { - return new AnonymousSubject(destination, source); -}; -/** - * @class AnonymousSubject - */ -export class AnonymousSubject extends Subject { - constructor(destination, source) { - super(); - this.destination = destination; - this.source = source; - } - next(value) { - const { destination } = this; - if (destination && destination.next) { - destination.next(value); - } - } - error(err) { - const { destination } = this; - if (destination && destination.error) { - this.destination.error(err); - } - } - complete() { - const { destination } = this; - if (destination && destination.complete) { - this.destination.complete(); - } - } - _subscribe(subscriber) { - const { source } = this; - if (source) { - return this.source.subscribe(subscriber); - } - else { - return Subscription.EMPTY; - } - } -} -//# sourceMappingURL=Subject.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Subject.js.map b/node_modules/rxjs/_esm2015/Subject.js.map deleted file mode 100644 index 58087d36..00000000 --- a/node_modules/rxjs/_esm2015/Subject.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Subject.js","sourceRoot":"","sources":["../src/Subject.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,cAAc;OAClC,EAAE,UAAU,EAAE,MAAM,cAAc;OAClC,EAAiB,YAAY,EAAiB,MAAM,gBAAgB;OACpE,EAAE,uBAAuB,EAAE,MAAM,gCAAgC;OACjE,EAAE,mBAAmB,EAAE,MAAM,uBAAuB;OACpD,EAAE,YAAY,IAAI,kBAAkB,EAAE,MAAM,uBAAuB;AAE1E;;GAEG;AACH,uCAA0C,UAAU;IAClD,YAAsB,WAAuB;QAC3C,MAAM,WAAW,CAAC,CAAC;QADC,gBAAW,GAAX,WAAW,CAAY;IAE7C,CAAC;AACH,CAAC;AAED;;GAEG;AACH,6BAAgC,UAAU;IAgBxC;QACE,OAAO,CAAC;QAXV,cAAS,GAAkB,EAAE,CAAC;QAE9B,WAAM,GAAG,KAAK,CAAC;QAEf,cAAS,GAAG,KAAK,CAAC;QAElB,aAAQ,GAAG,KAAK,CAAC;QAEjB,gBAAW,GAAQ,IAAI,CAAC;IAIxB,CAAC;IAhBD,CAAC,kBAAkB,CAAC;QAClB,MAAM,CAAC,IAA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C,KAAK,CAAC,CAAC;QAC1B,CAAC;IACH,CAAC;IAED,KAAK,CAAC,GAAQ;QACZ,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;QAC7B,EAAE,CAAC,CAAC,WAAW,IAAI,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;YACrC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC9B,CAAC;IACH,CAAC;IAED,QAAQ;QACN,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;QAC7B,EAAE,CAAC,CAAC,WAAW,IAAI,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;YACxC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;IAES,UAAU,CAAC,UAAyB;QAC5C,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QACxB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;YACX,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QAC3C,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC;QAC5B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/SubjectSubscription.js b/node_modules/rxjs/_esm2015/SubjectSubscription.js deleted file mode 100644 index 7687174f..00000000 --- a/node_modules/rxjs/_esm2015/SubjectSubscription.js +++ /dev/null @@ -1,31 +0,0 @@ -import { Subscription } from './Subscription'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class SubjectSubscription extends Subscription { - constructor(subject, subscriber) { - super(); - this.subject = subject; - this.subscriber = subscriber; - this.closed = false; - } - unsubscribe() { - if (this.closed) { - return; - } - this.closed = true; - const subject = this.subject; - const observers = subject.observers; - this.subject = null; - if (!observers || observers.length === 0 || subject.isStopped || subject.closed) { - return; - } - const subscriberIndex = observers.indexOf(this.subscriber); - if (subscriberIndex !== -1) { - observers.splice(subscriberIndex, 1); - } - } -} -//# sourceMappingURL=SubjectSubscription.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/SubjectSubscription.js.map b/node_modules/rxjs/_esm2015/SubjectSubscription.js.map deleted file mode 100644 index 2f93eed2..00000000 --- a/node_modules/rxjs/_esm2015/SubjectSubscription.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SubjectSubscription.js","sourceRoot":"","sources":["../src/SubjectSubscription.ts"],"names":[],"mappings":"OAEO,EAAE,YAAY,EAAE,MAAM,gBAAgB;AAE7C;;;;GAIG;AACH,yCAA4C,YAAY;IAGtD,YAAmB,OAAmB,EAAS,UAAuB;QACpE,OAAO,CAAC;QADS,YAAO,GAAP,OAAO,CAAY;QAAS,eAAU,GAAV,UAAU,CAAa;QAFtE,WAAM,GAAY,KAAK,CAAC;IAIxB,CAAC;IAED,WAAW;QACT,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YAChB,MAAM,CAAC;QACT,CAAC;QAED,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QAEnB,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC7B,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;QAEpC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QAEpB,EAAE,CAAC,CAAC,CAAC,SAAS,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,IAAI,OAAO,CAAC,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;YAChF,MAAM,CAAC;QACT,CAAC;QAED,MAAM,eAAe,GAAG,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAE3D,EAAE,CAAC,CAAC,eAAe,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YAC3B,SAAS,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;QACvC,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Subscriber.js b/node_modules/rxjs/_esm2015/Subscriber.js deleted file mode 100644 index 2200b466..00000000 --- a/node_modules/rxjs/_esm2015/Subscriber.js +++ /dev/null @@ -1,253 +0,0 @@ -import { isFunction } from './util/isFunction'; -import { Subscription } from './Subscription'; -import { empty as emptyObserver } from './Observer'; -import { rxSubscriber as rxSubscriberSymbol } from './symbol/rxSubscriber'; -/** - * Implements the {@link Observer} interface and extends the - * {@link Subscription} class. While the {@link Observer} is the public API for - * consuming the values of an {@link Observable}, all Observers get converted to - * a Subscriber, in order to provide Subscription-like capabilities such as - * `unsubscribe`. Subscriber is a common type in RxJS, and crucial for - * implementing operators, but it is rarely used as a public API. - * - * @class Subscriber - */ -export class Subscriber extends Subscription { - /** - * @param {Observer|function(value: T): void} [destinationOrNext] A partially - * defined Observer or a `next` callback function. - * @param {function(e: ?any): void} [error] The `error` callback of an - * Observer. - * @param {function(): void} [complete] The `complete` callback of an - * Observer. - */ - constructor(destinationOrNext, error, complete) { - super(); - this.syncErrorValue = null; - this.syncErrorThrown = false; - this.syncErrorThrowable = false; - this.isStopped = false; - switch (arguments.length) { - case 0: - this.destination = emptyObserver; - break; - case 1: - if (!destinationOrNext) { - this.destination = emptyObserver; - break; - } - if (typeof destinationOrNext === 'object') { - if (destinationOrNext instanceof Subscriber) { - this.syncErrorThrowable = destinationOrNext.syncErrorThrowable; - this.destination = destinationOrNext; - this.destination.add(this); - } - else { - this.syncErrorThrowable = true; - this.destination = new SafeSubscriber(this, destinationOrNext); - } - break; - } - default: - this.syncErrorThrowable = true; - this.destination = new SafeSubscriber(this, destinationOrNext, error, complete); - break; - } - } - [rxSubscriberSymbol]() { return this; } - /** - * A static factory for a Subscriber, given a (potentially partial) definition - * of an Observer. - * @param {function(x: ?T): void} [next] The `next` callback of an Observer. - * @param {function(e: ?any): void} [error] The `error` callback of an - * Observer. - * @param {function(): void} [complete] The `complete` callback of an - * Observer. - * @return {Subscriber} A Subscriber wrapping the (partially defined) - * Observer represented by the given arguments. - */ - static create(next, error, complete) { - const subscriber = new Subscriber(next, error, complete); - subscriber.syncErrorThrowable = false; - return subscriber; - } - /** - * The {@link Observer} callback to receive notifications of type `next` from - * the Observable, with a value. The Observable may call this method 0 or more - * times. - * @param {T} [value] The `next` value. - * @return {void} - */ - next(value) { - if (!this.isStopped) { - this._next(value); - } - } - /** - * The {@link Observer} callback to receive notifications of type `error` from - * the Observable, with an attached {@link Error}. Notifies the Observer that - * the Observable has experienced an error condition. - * @param {any} [err] The `error` exception. - * @return {void} - */ - error(err) { - if (!this.isStopped) { - this.isStopped = true; - this._error(err); - } - } - /** - * The {@link Observer} callback to receive a valueless notification of type - * `complete` from the Observable. Notifies the Observer that the Observable - * has finished sending push-based notifications. - * @return {void} - */ - complete() { - if (!this.isStopped) { - this.isStopped = true; - this._complete(); - } - } - unsubscribe() { - if (this.closed) { - return; - } - this.isStopped = true; - super.unsubscribe(); - } - _next(value) { - this.destination.next(value); - } - _error(err) { - this.destination.error(err); - this.unsubscribe(); - } - _complete() { - this.destination.complete(); - this.unsubscribe(); - } - _unsubscribeAndRecycle() { - const { _parent, _parents } = this; - this._parent = null; - this._parents = null; - this.unsubscribe(); - this.closed = false; - this.isStopped = false; - this._parent = _parent; - this._parents = _parents; - return this; - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class SafeSubscriber extends Subscriber { - constructor(_parentSubscriber, observerOrNext, error, complete) { - super(); - this._parentSubscriber = _parentSubscriber; - let next; - let context = this; - if (isFunction(observerOrNext)) { - next = observerOrNext; - } - else if (observerOrNext) { - next = observerOrNext.next; - error = observerOrNext.error; - complete = observerOrNext.complete; - if (observerOrNext !== emptyObserver) { - context = Object.create(observerOrNext); - if (isFunction(context.unsubscribe)) { - this.add(context.unsubscribe.bind(context)); - } - context.unsubscribe = this.unsubscribe.bind(this); - } - } - this._context = context; - this._next = next; - this._error = error; - this._complete = complete; - } - next(value) { - if (!this.isStopped && this._next) { - const { _parentSubscriber } = this; - if (!_parentSubscriber.syncErrorThrowable) { - this.__tryOrUnsub(this._next, value); - } - else if (this.__tryOrSetError(_parentSubscriber, this._next, value)) { - this.unsubscribe(); - } - } - } - error(err) { - if (!this.isStopped) { - const { _parentSubscriber } = this; - if (this._error) { - if (!_parentSubscriber.syncErrorThrowable) { - this.__tryOrUnsub(this._error, err); - this.unsubscribe(); - } - else { - this.__tryOrSetError(_parentSubscriber, this._error, err); - this.unsubscribe(); - } - } - else if (!_parentSubscriber.syncErrorThrowable) { - this.unsubscribe(); - throw err; - } - else { - _parentSubscriber.syncErrorValue = err; - _parentSubscriber.syncErrorThrown = true; - this.unsubscribe(); - } - } - } - complete() { - if (!this.isStopped) { - const { _parentSubscriber } = this; - if (this._complete) { - const wrappedComplete = () => this._complete.call(this._context); - if (!_parentSubscriber.syncErrorThrowable) { - this.__tryOrUnsub(wrappedComplete); - this.unsubscribe(); - } - else { - this.__tryOrSetError(_parentSubscriber, wrappedComplete); - this.unsubscribe(); - } - } - else { - this.unsubscribe(); - } - } - } - __tryOrUnsub(fn, value) { - try { - fn.call(this._context, value); - } - catch (err) { - this.unsubscribe(); - throw err; - } - } - __tryOrSetError(parent, fn, value) { - try { - fn.call(this._context, value); - } - catch (err) { - parent.syncErrorValue = err; - parent.syncErrorThrown = true; - return true; - } - return false; - } - _unsubscribe() { - const { _parentSubscriber } = this; - this._context = null; - this._parentSubscriber = null; - _parentSubscriber.unsubscribe(); - } -} -//# sourceMappingURL=Subscriber.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Subscriber.js.map b/node_modules/rxjs/_esm2015/Subscriber.js.map deleted file mode 100644 index a8781395..00000000 --- a/node_modules/rxjs/_esm2015/Subscriber.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Subscriber.js","sourceRoot":"","sources":["../src/Subscriber.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,WAAW,EAAE,CAAC;IAClC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Subscription.js b/node_modules/rxjs/_esm2015/Subscription.js deleted file mode 100644 index 9752ef89..00000000 --- a/node_modules/rxjs/_esm2015/Subscription.js +++ /dev/null @@ -1,190 +0,0 @@ -import { isArray } from './util/isArray'; -import { isObject } from './util/isObject'; -import { isFunction } from './util/isFunction'; -import { tryCatch } from './util/tryCatch'; -import { errorObject } from './util/errorObject'; -import { UnsubscriptionError } from './util/UnsubscriptionError'; -/** - * Represents a disposable resource, such as the execution of an Observable. A - * Subscription has one important method, `unsubscribe`, that takes no argument - * and just disposes the resource held by the subscription. - * - * Additionally, subscriptions may be grouped together through the `add()` - * method, which will attach a child Subscription to the current Subscription. - * When a Subscription is unsubscribed, all its children (and its grandchildren) - * will be unsubscribed as well. - * - * @class Subscription - */ -export class Subscription { - /** - * @param {function(): void} [unsubscribe] A function describing how to - * perform the disposal of resources when the `unsubscribe` method is called. - */ - constructor(unsubscribe) { - /** - * A flag to indicate whether this Subscription has already been unsubscribed. - * @type {boolean} - */ - this.closed = false; - this._parent = null; - this._parents = null; - this._subscriptions = null; - if (unsubscribe) { - this._unsubscribe = unsubscribe; - } - } - /** - * Disposes the resources held by the subscription. May, for instance, cancel - * an ongoing Observable execution or cancel any other type of work that - * started when the Subscription was created. - * @return {void} - */ - unsubscribe() { - let hasErrors = false; - let errors; - if (this.closed) { - return; - } - let { _parent, _parents, _unsubscribe, _subscriptions } = this; - this.closed = true; - this._parent = null; - this._parents = null; - // null out _subscriptions first so any child subscriptions that attempt - // to remove themselves from this subscription will noop - this._subscriptions = null; - let index = -1; - let len = _parents ? _parents.length : 0; - // if this._parent is null, then so is this._parents, and we - // don't have to remove ourselves from any parent subscriptions. - while (_parent) { - _parent.remove(this); - // if this._parents is null or index >= len, - // then _parent is set to null, and the loop exits - _parent = ++index < len && _parents[index] || null; - } - if (isFunction(_unsubscribe)) { - let trial = tryCatch(_unsubscribe).call(this); - if (trial === errorObject) { - hasErrors = true; - errors = errors || (errorObject.e instanceof UnsubscriptionError ? - flattenUnsubscriptionErrors(errorObject.e.errors) : [errorObject.e]); - } - } - if (isArray(_subscriptions)) { - index = -1; - len = _subscriptions.length; - while (++index < len) { - const sub = _subscriptions[index]; - if (isObject(sub)) { - let trial = tryCatch(sub.unsubscribe).call(sub); - if (trial === errorObject) { - hasErrors = true; - errors = errors || []; - let err = errorObject.e; - if (err instanceof UnsubscriptionError) { - errors = errors.concat(flattenUnsubscriptionErrors(err.errors)); - } - else { - errors.push(err); - } - } - } - } - } - if (hasErrors) { - throw new UnsubscriptionError(errors); - } - } - /** - * Adds a tear down to be called during the unsubscribe() of this - * Subscription. - * - * If the tear down being added is a subscription that is already - * unsubscribed, is the same reference `add` is being called on, or is - * `Subscription.EMPTY`, it will not be added. - * - * If this subscription is already in an `closed` state, the passed - * tear down logic will be executed immediately. - * - * @param {TeardownLogic} teardown The additional logic to execute on - * teardown. - * @return {Subscription} Returns the Subscription used or created to be - * added to the inner subscriptions list. This Subscription can be used with - * `remove()` to remove the passed teardown logic from the inner subscriptions - * list. - */ - add(teardown) { - if (!teardown || (teardown === Subscription.EMPTY)) { - return Subscription.EMPTY; - } - if (teardown === this) { - return this; - } - let subscription = teardown; - switch (typeof teardown) { - case 'function': - subscription = new Subscription(teardown); - case 'object': - if (subscription.closed || typeof subscription.unsubscribe !== 'function') { - return subscription; - } - else if (this.closed) { - subscription.unsubscribe(); - return subscription; - } - else if (typeof subscription._addParent !== 'function' /* quack quack */) { - const tmp = subscription; - subscription = new Subscription(); - subscription._subscriptions = [tmp]; - } - break; - default: - throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.'); - } - const subscriptions = this._subscriptions || (this._subscriptions = []); - subscriptions.push(subscription); - subscription._addParent(this); - return subscription; - } - /** - * Removes a Subscription from the internal list of subscriptions that will - * unsubscribe during the unsubscribe process of this Subscription. - * @param {Subscription} subscription The subscription to remove. - * @return {void} - */ - remove(subscription) { - const subscriptions = this._subscriptions; - if (subscriptions) { - const subscriptionIndex = subscriptions.indexOf(subscription); - if (subscriptionIndex !== -1) { - subscriptions.splice(subscriptionIndex, 1); - } - } - } - _addParent(parent) { - let { _parent, _parents } = this; - if (!_parent || _parent === parent) { - // If we don't have a parent, or the new parent is the same as the - // current parent, then set this._parent to the new parent. - this._parent = parent; - } - else if (!_parents) { - // If there's already one parent, but not multiple, allocate an Array to - // store the rest of the parent Subscriptions. - this._parents = [parent]; - } - else if (_parents.indexOf(parent) === -1) { - // Only add the new parent to the _parents list if it's not already there. - _parents.push(parent); - } - } -} -Subscription.EMPTY = (function (empty) { - empty.closed = true; - return empty; -}(new Subscription())); -function flattenUnsubscriptionErrors(errors) { - return errors.reduce((errs, err) => errs.concat((err instanceof UnsubscriptionError) ? err.errors : err), []); -} -//# sourceMappingURL=Subscription.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/Subscription.js.map b/node_modules/rxjs/_esm2015/Subscription.js.map deleted file mode 100644 index 903318ea..00000000 --- a/node_modules/rxjs/_esm2015/Subscription.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Subscription.js","sourceRoot":"","sources":["../src/Subscription.ts"],"names":[],"mappings":"OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB;OACjC,EAAE,QAAQ,EAAE,MAAM,iBAAiB;OACnC,EAAE,UAAU,EAAE,MAAM,mBAAmB;OACvC,EAAE,QAAQ,EAAE,MAAM,iBAAiB;OACnC,EAAE,WAAW,EAAE,MAAM,oBAAoB;OACzC,EAAE,mBAAmB,EAAE,MAAM,4BAA4B;AAahE;;;;;;;;;;;GAWG;AACH;IAgBE;;;OAGG;IACH,YAAY,WAAwB;QAdpC;;;WAGG;QACI,WAAM,GAAY,KAAK,CAAC;QAErB,YAAO,GAAiB,IAAI,CAAC;QAC7B,aAAQ,GAAmB,IAAI,CAAC;QAClC,mBAAc,GAAoB,IAAI,CAAC;QAO7C,EAAE,CAA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AI,YAAY,EAAE,CAAC,CAAC,CAuLvB;AAED,qCAAqC,MAAa;IACjD,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,YAAY,mBAAmB,CAAC,GAAG,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC;AAC/G,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/bindCallback.js b/node_modules/rxjs/_esm2015/add/observable/bindCallback.js deleted file mode 100644 index 0f1db94a..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/bindCallback.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { bindCallback as staticBindCallback } from '../../observable/bindCallback'; -Observable.bindCallback = staticBindCallback; -//# sourceMappingURL=bindCallback.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/bindCallback.js.map b/node_modules/rxjs/_esm2015/add/observable/bindCallback.js.map deleted file mode 100644 index 356b47e9..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/bindCallback.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"bindCallback.js","sourceRoot":"","sources":["../../../src/add/observable/bindCallback.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,YAAY,IAAI,kBAAkB,EAAE,MAAM,+BAA+B;AAElF,UAAU,CAAC,YAAY,GAAG,kBAAkB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/bindNodeCallback.js b/node_modules/rxjs/_esm2015/add/observable/bindNodeCallback.js deleted file mode 100644 index 2b1e47e9..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/bindNodeCallback.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { bindNodeCallback as staticBindNodeCallback } from '../../observable/bindNodeCallback'; -Observable.bindNodeCallback = staticBindNodeCallback; -//# sourceMappingURL=bindNodeCallback.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/bindNodeCallback.js.map b/node_modules/rxjs/_esm2015/add/observable/bindNodeCallback.js.map deleted file mode 100644 index 1e4b0a2d..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/bindNodeCallback.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"bindNodeCallback.js","sourceRoot":"","sources":["../../../src/add/observable/bindNodeCallback.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,gBAAgB,IAAI,sBAAsB,EAAE,MAAM,mCAAmC;AAE9F,UAAU,CAAC,gBAAgB,GAAG,sBAAsB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/combineLatest.js b/node_modules/rxjs/_esm2015/add/observable/combineLatest.js deleted file mode 100644 index 39b7bc09..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/combineLatest.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { combineLatest as combineLatestStatic } from '../../observable/combineLatest'; -Observable.combineLatest = combineLatestStatic; -//# sourceMappingURL=combineLatest.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/combineLatest.js.map b/node_modules/rxjs/_esm2015/add/observable/combineLatest.js.map deleted file mode 100644 index adf36f0b..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/combineLatest.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"combineLatest.js","sourceRoot":"","sources":["../../../src/add/observable/combineLatest.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,gCAAgC;AAErF,UAAU,CAAC,aAAa,GAAG,mBAAmB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/concat.js b/node_modules/rxjs/_esm2015/add/observable/concat.js deleted file mode 100644 index 3fbd22fb..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/concat.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { concat as concatStatic } from '../../observable/concat'; -Observable.concat = concatStatic; -//# sourceMappingURL=concat.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/concat.js.map b/node_modules/rxjs/_esm2015/add/observable/concat.js.map deleted file mode 100644 index cb035092..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/concat.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"concat.js","sourceRoot":"","sources":["../../../src/add/observable/concat.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,yBAAyB;AAEhE,UAAU,CAAC,MAAM,GAAG,YAAY,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/defer.js b/node_modules/rxjs/_esm2015/add/observable/defer.js deleted file mode 100644 index eeaf67d4..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/defer.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { defer as staticDefer } from '../../observable/defer'; -Observable.defer = staticDefer; -//# sourceMappingURL=defer.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/defer.js.map b/node_modules/rxjs/_esm2015/add/observable/defer.js.map deleted file mode 100644 index 39bdc567..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/defer.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"defer.js","sourceRoot":"","sources":["../../../src/add/observable/defer.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAE7D,UAAU,CAAC,KAAK,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/dom/ajax.js b/node_modules/rxjs/_esm2015/add/observable/dom/ajax.js deleted file mode 100644 index 24174932..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/dom/ajax.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../../Observable'; -import { ajax as staticAjax } from '../../../observable/dom/ajax'; -Observable.ajax = staticAjax; -//# sourceMappingURL=ajax.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/dom/ajax.js.map b/node_modules/rxjs/_esm2015/add/observable/dom/ajax.js.map deleted file mode 100644 index b1a72fce..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/dom/ajax.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ajax.js","sourceRoot":"","sources":["../../../../src/add/observable/dom/ajax.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB;OACzC,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,8BAA8B;AAGjE,UAAU,CAAC,IAAI,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/dom/webSocket.js b/node_modules/rxjs/_esm2015/add/observable/dom/webSocket.js deleted file mode 100644 index acd4cf0e..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/dom/webSocket.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../../Observable'; -import { webSocket as staticWebSocket } from '../../../observable/dom/webSocket'; -Observable.webSocket = staticWebSocket; -//# sourceMappingURL=webSocket.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/dom/webSocket.js.map b/node_modules/rxjs/_esm2015/add/observable/dom/webSocket.js.map deleted file mode 100644 index c57fcff3..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/dom/webSocket.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"webSocket.js","sourceRoot":"","sources":["../../../../src/add/observable/dom/webSocket.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB;OACzC,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,mCAAmC;AAEhF,UAAU,CAAC,SAAS,GAAG,eAAe,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/empty.js b/node_modules/rxjs/_esm2015/add/observable/empty.js deleted file mode 100644 index b19ba02f..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/empty.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { empty as staticEmpty } from '../../observable/empty'; -Observable.empty = staticEmpty; -//# sourceMappingURL=empty.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/empty.js.map b/node_modules/rxjs/_esm2015/add/observable/empty.js.map deleted file mode 100644 index f7e8ba68..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/empty.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"empty.js","sourceRoot":"","sources":["../../../src/add/observable/empty.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAE7D,UAAU,CAAC,KAAK,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/forkJoin.js b/node_modules/rxjs/_esm2015/add/observable/forkJoin.js deleted file mode 100644 index 77162a1f..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/forkJoin.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { forkJoin as staticForkJoin } from '../../observable/forkJoin'; -Observable.forkJoin = staticForkJoin; -//# sourceMappingURL=forkJoin.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/forkJoin.js.map b/node_modules/rxjs/_esm2015/add/observable/forkJoin.js.map deleted file mode 100644 index 8ced0a5c..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/forkJoin.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"forkJoin.js","sourceRoot":"","sources":["../../../src/add/observable/forkJoin.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,2BAA2B;AAEtE,UAAU,CAAC,QAAQ,GAAG,cAAc,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/from.js b/node_modules/rxjs/_esm2015/add/observable/from.js deleted file mode 100644 index c13211da..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/from.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { from as staticFrom } from '../../observable/from'; -Observable.from = staticFrom; -//# sourceMappingURL=from.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/from.js.map b/node_modules/rxjs/_esm2015/add/observable/from.js.map deleted file mode 100644 index 1c72bc29..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/from.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"from.js","sourceRoot":"","sources":["../../../src/add/observable/from.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,uBAAuB;AAE1D,UAAU,CAAC,IAAI,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/fromEvent.js b/node_modules/rxjs/_esm2015/add/observable/fromEvent.js deleted file mode 100644 index 2ab5efa9..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/fromEvent.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { fromEvent as staticFromEvent } from '../../observable/fromEvent'; -Observable.fromEvent = staticFromEvent; -//# sourceMappingURL=fromEvent.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/fromEvent.js.map b/node_modules/rxjs/_esm2015/add/observable/fromEvent.js.map deleted file mode 100644 index cf5ee497..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/fromEvent.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fromEvent.js","sourceRoot":"","sources":["../../../src/add/observable/fromEvent.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,4BAA4B;AAEzE,UAAU,CAAC,SAAS,GAAG,eAAe,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/fromEventPattern.js b/node_modules/rxjs/_esm2015/add/observable/fromEventPattern.js deleted file mode 100644 index 35205b52..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/fromEventPattern.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { fromEventPattern as staticFromEventPattern } from '../../observable/fromEventPattern'; -Observable.fromEventPattern = staticFromEventPattern; -//# sourceMappingURL=fromEventPattern.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/fromEventPattern.js.map b/node_modules/rxjs/_esm2015/add/observable/fromEventPattern.js.map deleted file mode 100644 index 47ea597d..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/fromEventPattern.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fromEventPattern.js","sourceRoot":"","sources":["../../../src/add/observable/fromEventPattern.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,gBAAgB,IAAI,sBAAsB,EAAE,MAAM,mCAAmC;AAE9F,UAAU,CAAC,gBAAgB,GAAG,sBAAsB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/fromPromise.js b/node_modules/rxjs/_esm2015/add/observable/fromPromise.js deleted file mode 100644 index 166b5e4c..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/fromPromise.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { fromPromise as staticFromPromise } from '../../observable/fromPromise'; -Observable.fromPromise = staticFromPromise; -//# sourceMappingURL=fromPromise.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/fromPromise.js.map b/node_modules/rxjs/_esm2015/add/observable/fromPromise.js.map deleted file mode 100644 index 3901e0a5..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/fromPromise.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fromPromise.js","sourceRoot":"","sources":["../../../src/add/observable/fromPromise.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,8BAA8B;AAE/E,UAAU,CAAC,WAAW,GAAG,iBAAiB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/generate.js b/node_modules/rxjs/_esm2015/add/observable/generate.js deleted file mode 100644 index c2ecc29c..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/generate.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { generate as staticGenerate } from '../../observable/generate'; -Observable.generate = staticGenerate; -//# sourceMappingURL=generate.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/generate.js.map b/node_modules/rxjs/_esm2015/add/observable/generate.js.map deleted file mode 100644 index 4fbe3479..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/generate.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../src/add/observable/generate.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,2BAA2B;AAEtE,UAAU,CAAC,QAAQ,GAAG,cAAc,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/if.js b/node_modules/rxjs/_esm2015/add/observable/if.js deleted file mode 100644 index bf4da939..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/if.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { _if } from '../../observable/if'; -Observable.if = _if; -//# sourceMappingURL=if.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/if.js.map b/node_modules/rxjs/_esm2015/add/observable/if.js.map deleted file mode 100644 index 8b2343f3..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/if.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"if.js","sourceRoot":"","sources":["../../../src/add/observable/if.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,GAAG,EAAE,MAAM,qBAAqB;AAEzC,UAAU,CAAC,EAAE,GAAG,GAAG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/interval.js b/node_modules/rxjs/_esm2015/add/observable/interval.js deleted file mode 100644 index df4048e0..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/interval.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { interval as staticInterval } from '../../observable/interval'; -Observable.interval = staticInterval; -//# sourceMappingURL=interval.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/interval.js.map b/node_modules/rxjs/_esm2015/add/observable/interval.js.map deleted file mode 100644 index 06684f89..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/interval.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"interval.js","sourceRoot":"","sources":["../../../src/add/observable/interval.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,2BAA2B;AAEtE,UAAU,CAAC,QAAQ,GAAG,cAAc,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/merge.js b/node_modules/rxjs/_esm2015/add/observable/merge.js deleted file mode 100644 index 1e846ddd..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/merge.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { merge as mergeStatic } from '../../observable/merge'; -Observable.merge = mergeStatic; -//# sourceMappingURL=merge.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/merge.js.map b/node_modules/rxjs/_esm2015/add/observable/merge.js.map deleted file mode 100644 index c592cade..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/merge.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../../src/add/observable/merge.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAE7D,UAAU,CAAC,KAAK,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/never.js b/node_modules/rxjs/_esm2015/add/observable/never.js deleted file mode 100644 index e44cfa01..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/never.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { never as staticNever } from '../../observable/never'; -Observable.never = staticNever; -//# sourceMappingURL=never.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/never.js.map b/node_modules/rxjs/_esm2015/add/observable/never.js.map deleted file mode 100644 index 5e139d5c..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/never.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"never.js","sourceRoot":"","sources":["../../../src/add/observable/never.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAE7D,UAAU,CAAC,KAAK,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/of.js b/node_modules/rxjs/_esm2015/add/observable/of.js deleted file mode 100644 index 267d9bbb..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/of.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { of as staticOf } from '../../observable/of'; -Observable.of = staticOf; -//# sourceMappingURL=of.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/of.js.map b/node_modules/rxjs/_esm2015/add/observable/of.js.map deleted file mode 100644 index 37b7c88b..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/of.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"of.js","sourceRoot":"","sources":["../../../src/add/observable/of.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,EAAE,IAAI,QAAQ,EAAE,MAAM,qBAAqB;AAEpD,UAAU,CAAC,EAAE,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/onErrorResumeNext.js b/node_modules/rxjs/_esm2015/add/observable/onErrorResumeNext.js deleted file mode 100644 index a2b8b29c..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/onErrorResumeNext.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { onErrorResumeNext as staticOnErrorResumeNext } from '../../observable/onErrorResumeNext'; -Observable.onErrorResumeNext = staticOnErrorResumeNext; -//# sourceMappingURL=onErrorResumeNext.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/onErrorResumeNext.js.map b/node_modules/rxjs/_esm2015/add/observable/onErrorResumeNext.js.map deleted file mode 100644 index af74b572..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/onErrorResumeNext.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"onErrorResumeNext.js","sourceRoot":"","sources":["../../../src/add/observable/onErrorResumeNext.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,iBAAiB,IAAI,uBAAuB,EAAE,MAAM,oCAAoC;AAEjG,UAAU,CAAC,iBAAiB,GAAG,uBAAuB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/pairs.js b/node_modules/rxjs/_esm2015/add/observable/pairs.js deleted file mode 100644 index 5654a6c4..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/pairs.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { pairs as staticPairs } from '../../observable/pairs'; -Observable.pairs = staticPairs; -//# sourceMappingURL=pairs.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/pairs.js.map b/node_modules/rxjs/_esm2015/add/observable/pairs.js.map deleted file mode 100644 index 2a046c87..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/pairs.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"pairs.js","sourceRoot":"","sources":["../../../src/add/observable/pairs.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAE7D,UAAU,CAAC,KAAK,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/race.js b/node_modules/rxjs/_esm2015/add/observable/race.js deleted file mode 100644 index dc8e8586..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/race.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { race as staticRace } from '../../observable/race'; -Observable.race = staticRace; -//# sourceMappingURL=race.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/race.js.map b/node_modules/rxjs/_esm2015/add/observable/race.js.map deleted file mode 100644 index e9daf89b..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/race.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"race.js","sourceRoot":"","sources":["../../../src/add/observable/race.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,uBAAuB;AAE1D,UAAU,CAAC,IAAI,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/range.js b/node_modules/rxjs/_esm2015/add/observable/range.js deleted file mode 100644 index 3967d03b..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/range.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { range as staticRange } from '../../observable/range'; -Observable.range = staticRange; -//# sourceMappingURL=range.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/range.js.map b/node_modules/rxjs/_esm2015/add/observable/range.js.map deleted file mode 100644 index a0fb1323..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/range.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"range.js","sourceRoot":"","sources":["../../../src/add/observable/range.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAE7D,UAAU,CAAC,KAAK,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/throw.js b/node_modules/rxjs/_esm2015/add/observable/throw.js deleted file mode 100644 index aedfe476..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/throw.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { _throw } from '../../observable/throw'; -Observable.throw = _throw; -//# sourceMappingURL=throw.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/throw.js.map b/node_modules/rxjs/_esm2015/add/observable/throw.js.map deleted file mode 100644 index b08cdd42..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/throw.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"throw.js","sourceRoot":"","sources":["../../../src/add/observable/throw.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,wBAAwB;AAE/C,UAAU,CAAC,KAAK,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/timer.js b/node_modules/rxjs/_esm2015/add/observable/timer.js deleted file mode 100644 index b8ca5f05..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/timer.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { timer as staticTimer } from '../../observable/timer'; -Observable.timer = staticTimer; -//# sourceMappingURL=timer.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/timer.js.map b/node_modules/rxjs/_esm2015/add/observable/timer.js.map deleted file mode 100644 index 0996c0dc..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/timer.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"timer.js","sourceRoot":"","sources":["../../../src/add/observable/timer.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAE7D,UAAU,CAAC,KAAK,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/using.js b/node_modules/rxjs/_esm2015/add/observable/using.js deleted file mode 100644 index f54e0911..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/using.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { using as staticUsing } from '../../observable/using'; -Observable.using = staticUsing; -//# sourceMappingURL=using.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/using.js.map b/node_modules/rxjs/_esm2015/add/observable/using.js.map deleted file mode 100644 index a4d7ecf7..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/using.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"using.js","sourceRoot":"","sources":["../../../src/add/observable/using.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAE7D,UAAU,CAAC,KAAK,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/zip.js b/node_modules/rxjs/_esm2015/add/observable/zip.js deleted file mode 100644 index 9cb66600..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/zip.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { zip as zipStatic } from '../../observable/zip'; -Observable.zip = zipStatic; -//# sourceMappingURL=zip.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/observable/zip.js.map b/node_modules/rxjs/_esm2015/add/observable/zip.js.map deleted file mode 100644 index 3e75ebfa..00000000 --- a/node_modules/rxjs/_esm2015/add/observable/zip.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"zip.js","sourceRoot":"","sources":["../../../src/add/observable/zip.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,GAAG,IAAI,SAAS,EAAE,MAAM,sBAAsB;AAEvD,UAAU,CAAC,GAAG,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/audit.js b/node_modules/rxjs/_esm2015/add/operator/audit.js deleted file mode 100644 index 5f14e305..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/audit.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { audit } from '../../operator/audit'; -Observable.prototype.audit = audit; -//# sourceMappingURL=audit.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/audit.js.map b/node_modules/rxjs/_esm2015/add/operator/audit.js.map deleted file mode 100644 index b7b430d6..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/audit.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"audit.js","sourceRoot":"","sources":["../../../src/add/operator/audit.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,EAAE,MAAM,sBAAsB;AAE5C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/auditTime.js b/node_modules/rxjs/_esm2015/add/operator/auditTime.js deleted file mode 100644 index 91ed2df5..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/auditTime.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { auditTime } from '../../operator/auditTime'; -Observable.prototype.auditTime = auditTime; -//# sourceMappingURL=auditTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/auditTime.js.map b/node_modules/rxjs/_esm2015/add/operator/auditTime.js.map deleted file mode 100644 index 2732e3a8..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/auditTime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"auditTime.js","sourceRoot":"","sources":["../../../src/add/operator/auditTime.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/buffer.js b/node_modules/rxjs/_esm2015/add/operator/buffer.js deleted file mode 100644 index 91a0b104..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/buffer.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { buffer } from '../../operator/buffer'; -Observable.prototype.buffer = buffer; -//# sourceMappingURL=buffer.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/buffer.js.map b/node_modules/rxjs/_esm2015/add/operator/buffer.js.map deleted file mode 100644 index d591739d..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/buffer.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"buffer.js","sourceRoot":"","sources":["../../../src/add/operator/buffer.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,uBAAuB;AAE9C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/bufferCount.js b/node_modules/rxjs/_esm2015/add/operator/bufferCount.js deleted file mode 100644 index d8337523..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/bufferCount.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { bufferCount } from '../../operator/bufferCount'; -Observable.prototype.bufferCount = bufferCount; -//# sourceMappingURL=bufferCount.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/bufferCount.js.map b/node_modules/rxjs/_esm2015/add/operator/bufferCount.js.map deleted file mode 100644 index a84b6dc3..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/bufferCount.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"bufferCount.js","sourceRoot":"","sources":["../../../src/add/operator/bufferCount.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,WAAW,EAAE,MAAM,4BAA4B;AAExD,UAAU,CAAC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/bufferTime.js b/node_modules/rxjs/_esm2015/add/operator/bufferTime.js deleted file mode 100644 index 6415f04e..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/bufferTime.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { bufferTime } from '../../operator/bufferTime'; -Observable.prototype.bufferTime = bufferTime; -//# sourceMappingURL=bufferTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/bufferTime.js.map b/node_modules/rxjs/_esm2015/add/operator/bufferTime.js.map deleted file mode 100644 index eeadbae6..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/bufferTime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"bufferTime.js","sourceRoot":"","sources":["../../../src/add/operator/bufferTime.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,2BAA2B;AAEtD,UAAU,CAAC,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/bufferToggle.js b/node_modules/rxjs/_esm2015/add/operator/bufferToggle.js deleted file mode 100644 index 5ff022c9..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/bufferToggle.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { bufferToggle } from '../../operator/bufferToggle'; -Observable.prototype.bufferToggle = bufferToggle; -//# sourceMappingURL=bufferToggle.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/bufferToggle.js.map b/node_modules/rxjs/_esm2015/add/operator/bufferToggle.js.map deleted file mode 100644 index e9bc07ba..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/bufferToggle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"bufferToggle.js","sourceRoot":"","sources":["../../../src/add/operator/bufferToggle.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,YAAY,EAAE,MAAM,6BAA6B;AAE1D,UAAU,CAAC,SAAS,CAAC,YAAY,GAAG,YAAY,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/bufferWhen.js b/node_modules/rxjs/_esm2015/add/operator/bufferWhen.js deleted file mode 100644 index d54c9d92..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/bufferWhen.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { bufferWhen } from '../../operator/bufferWhen'; -Observable.prototype.bufferWhen = bufferWhen; -//# sourceMappingURL=bufferWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/bufferWhen.js.map b/node_modules/rxjs/_esm2015/add/operator/bufferWhen.js.map deleted file mode 100644 index 3f7f8406..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/bufferWhen.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"bufferWhen.js","sourceRoot":"","sources":["../../../src/add/operator/bufferWhen.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,2BAA2B;AAEtD,UAAU,CAAC,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/catch.js b/node_modules/rxjs/_esm2015/add/operator/catch.js deleted file mode 100644 index 16fa04fa..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/catch.js +++ /dev/null @@ -1,5 +0,0 @@ -import { Observable } from '../../Observable'; -import { _catch } from '../../operator/catch'; -Observable.prototype.catch = _catch; -Observable.prototype._catch = _catch; -//# sourceMappingURL=catch.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/catch.js.map b/node_modules/rxjs/_esm2015/add/operator/catch.js.map deleted file mode 100644 index 1c9bad85..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/catch.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"catch.js","sourceRoot":"","sources":["../../../src/add/operator/catch.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,sBAAsB;AAE7C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,MAAM,CAAC;AACpC,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/combineAll.js b/node_modules/rxjs/_esm2015/add/operator/combineAll.js deleted file mode 100644 index a04f4a08..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/combineAll.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { combineAll } from '../../operator/combineAll'; -Observable.prototype.combineAll = combineAll; -//# sourceMappingURL=combineAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/combineAll.js.map b/node_modules/rxjs/_esm2015/add/operator/combineAll.js.map deleted file mode 100644 index 9bb75f17..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/combineAll.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"combineAll.js","sourceRoot":"","sources":["../../../src/add/operator/combineAll.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,2BAA2B;AAEtD,UAAU,CAAC,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/combineLatest.js b/node_modules/rxjs/_esm2015/add/operator/combineLatest.js deleted file mode 100644 index a9442d9d..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/combineLatest.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { combineLatest } from '../../operator/combineLatest'; -Observable.prototype.combineLatest = combineLatest; -//# sourceMappingURL=combineLatest.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/combineLatest.js.map b/node_modules/rxjs/_esm2015/add/operator/combineLatest.js.map deleted file mode 100644 index 3806d7e1..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/combineLatest.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"combineLatest.js","sourceRoot":"","sources":["../../../src/add/operator/combineLatest.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,aAAa,EAAE,MAAM,8BAA8B;AAE5D,UAAU,CAAC,SAAS,CAAC,aAAa,GAAG,aAAa,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/concat.js b/node_modules/rxjs/_esm2015/add/operator/concat.js deleted file mode 100644 index 5c2b6e4d..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/concat.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { concat } from '../../operator/concat'; -Observable.prototype.concat = concat; -//# sourceMappingURL=concat.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/concat.js.map b/node_modules/rxjs/_esm2015/add/operator/concat.js.map deleted file mode 100644 index 277d7d49..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/concat.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"concat.js","sourceRoot":"","sources":["../../../src/add/operator/concat.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,uBAAuB;AAE9C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/concatAll.js b/node_modules/rxjs/_esm2015/add/operator/concatAll.js deleted file mode 100644 index 5bfbce58..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/concatAll.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { concatAll } from '../../operator/concatAll'; -Observable.prototype.concatAll = concatAll; -//# sourceMappingURL=concatAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/concatAll.js.map b/node_modules/rxjs/_esm2015/add/operator/concatAll.js.map deleted file mode 100644 index 0539708f..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/concatAll.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"concatAll.js","sourceRoot":"","sources":["../../../src/add/operator/concatAll.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/concatMap.js b/node_modules/rxjs/_esm2015/add/operator/concatMap.js deleted file mode 100644 index 297bc073..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/concatMap.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { concatMap } from '../../operator/concatMap'; -Observable.prototype.concatMap = concatMap; -//# sourceMappingURL=concatMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/concatMap.js.map b/node_modules/rxjs/_esm2015/add/operator/concatMap.js.map deleted file mode 100644 index 40af13fe..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/concatMap.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"concatMap.js","sourceRoot":"","sources":["../../../src/add/operator/concatMap.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/concatMapTo.js b/node_modules/rxjs/_esm2015/add/operator/concatMapTo.js deleted file mode 100644 index c92f243d..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/concatMapTo.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { concatMapTo } from '../../operator/concatMapTo'; -Observable.prototype.concatMapTo = concatMapTo; -//# sourceMappingURL=concatMapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/concatMapTo.js.map b/node_modules/rxjs/_esm2015/add/operator/concatMapTo.js.map deleted file mode 100644 index 83d63456..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/concatMapTo.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"concatMapTo.js","sourceRoot":"","sources":["../../../src/add/operator/concatMapTo.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,WAAW,EAAE,MAAM,4BAA4B;AAExD,UAAU,CAAC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/count.js b/node_modules/rxjs/_esm2015/add/operator/count.js deleted file mode 100644 index 1d353e81..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/count.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { count } from '../../operator/count'; -Observable.prototype.count = count; -//# sourceMappingURL=count.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/count.js.map b/node_modules/rxjs/_esm2015/add/operator/count.js.map deleted file mode 100644 index e21cbb81..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/count.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"count.js","sourceRoot":"","sources":["../../../src/add/operator/count.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,EAAE,MAAM,sBAAsB;AAE5C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/debounce.js b/node_modules/rxjs/_esm2015/add/operator/debounce.js deleted file mode 100644 index fa7a5756..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/debounce.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { debounce } from '../../operator/debounce'; -Observable.prototype.debounce = debounce; -//# sourceMappingURL=debounce.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/debounce.js.map b/node_modules/rxjs/_esm2015/add/operator/debounce.js.map deleted file mode 100644 index eb8da464..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/debounce.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"debounce.js","sourceRoot":"","sources":["../../../src/add/operator/debounce.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,yBAAyB;AAElD,UAAU,CAAC,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/debounceTime.js b/node_modules/rxjs/_esm2015/add/operator/debounceTime.js deleted file mode 100644 index 946dad97..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/debounceTime.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { debounceTime } from '../../operator/debounceTime'; -Observable.prototype.debounceTime = debounceTime; -//# sourceMappingURL=debounceTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/debounceTime.js.map b/node_modules/rxjs/_esm2015/add/operator/debounceTime.js.map deleted file mode 100644 index 901a4aa8..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/debounceTime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"debounceTime.js","sourceRoot":"","sources":["../../../src/add/operator/debounceTime.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,YAAY,EAAE,MAAM,6BAA6B;AAE1D,UAAU,CAAC,SAAS,CAAC,YAAY,GAAG,YAAY,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/defaultIfEmpty.js b/node_modules/rxjs/_esm2015/add/operator/defaultIfEmpty.js deleted file mode 100644 index 8b3a128b..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/defaultIfEmpty.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { defaultIfEmpty } from '../../operator/defaultIfEmpty'; -Observable.prototype.defaultIfEmpty = defaultIfEmpty; -//# sourceMappingURL=defaultIfEmpty.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/defaultIfEmpty.js.map b/node_modules/rxjs/_esm2015/add/operator/defaultIfEmpty.js.map deleted file mode 100644 index fc748ed8..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/defaultIfEmpty.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"defaultIfEmpty.js","sourceRoot":"","sources":["../../../src/add/operator/defaultIfEmpty.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,cAAc,EAAE,MAAM,+BAA+B;AAE9D,UAAU,CAAC,SAAS,CAAC,cAAc,GAAG,cAAc,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/delay.js b/node_modules/rxjs/_esm2015/add/operator/delay.js deleted file mode 100644 index e135a67e..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/delay.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { delay } from '../../operator/delay'; -Observable.prototype.delay = delay; -//# sourceMappingURL=delay.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/delay.js.map b/node_modules/rxjs/_esm2015/add/operator/delay.js.map deleted file mode 100644 index e591a59a..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/delay.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"delay.js","sourceRoot":"","sources":["../../../src/add/operator/delay.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,EAAE,MAAM,sBAAsB;AAE5C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/delayWhen.js b/node_modules/rxjs/_esm2015/add/operator/delayWhen.js deleted file mode 100644 index 8cd8cbe0..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/delayWhen.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { delayWhen } from '../../operator/delayWhen'; -Observable.prototype.delayWhen = delayWhen; -//# sourceMappingURL=delayWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/delayWhen.js.map b/node_modules/rxjs/_esm2015/add/operator/delayWhen.js.map deleted file mode 100644 index 18ea4d73..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/delayWhen.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"delayWhen.js","sourceRoot":"","sources":["../../../src/add/operator/delayWhen.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/dematerialize.js b/node_modules/rxjs/_esm2015/add/operator/dematerialize.js deleted file mode 100644 index 75ad79e9..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/dematerialize.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { dematerialize } from '../../operator/dematerialize'; -Observable.prototype.dematerialize = dematerialize; -//# sourceMappingURL=dematerialize.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/dematerialize.js.map b/node_modules/rxjs/_esm2015/add/operator/dematerialize.js.map deleted file mode 100644 index 07eb8bc0..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/dematerialize.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"dematerialize.js","sourceRoot":"","sources":["../../../src/add/operator/dematerialize.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,aAAa,EAAE,MAAM,8BAA8B;AAE5D,UAAU,CAAC,SAAS,CAAC,aAAa,GAAG,aAAa,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/distinct.js b/node_modules/rxjs/_esm2015/add/operator/distinct.js deleted file mode 100644 index f1ac2f30..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/distinct.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { distinct } from '../../operator/distinct'; -Observable.prototype.distinct = distinct; -//# sourceMappingURL=distinct.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/distinct.js.map b/node_modules/rxjs/_esm2015/add/operator/distinct.js.map deleted file mode 100644 index fd1daac9..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/distinct.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"distinct.js","sourceRoot":"","sources":["../../../src/add/operator/distinct.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,yBAAyB;AAElD,UAAU,CAAC,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/distinctUntilChanged.js b/node_modules/rxjs/_esm2015/add/operator/distinctUntilChanged.js deleted file mode 100644 index 617fe3ae..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/distinctUntilChanged.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { distinctUntilChanged } from '../../operator/distinctUntilChanged'; -Observable.prototype.distinctUntilChanged = distinctUntilChanged; -//# sourceMappingURL=distinctUntilChanged.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/distinctUntilChanged.js.map b/node_modules/rxjs/_esm2015/add/operator/distinctUntilChanged.js.map deleted file mode 100644 index c3154a85..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/distinctUntilChanged.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"distinctUntilChanged.js","sourceRoot":"","sources":["../../../src/add/operator/distinctUntilChanged.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,oBAAoB,EAAE,MAAM,qCAAqC;AAE1E,UAAU,CAAC,SAAS,CAAC,oBAAoB,GAAG,oBAAoB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/distinctUntilKeyChanged.js b/node_modules/rxjs/_esm2015/add/operator/distinctUntilKeyChanged.js deleted file mode 100644 index dbb12a62..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/distinctUntilKeyChanged.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { distinctUntilKeyChanged } from '../../operator/distinctUntilKeyChanged'; -Observable.prototype.distinctUntilKeyChanged = distinctUntilKeyChanged; -//# sourceMappingURL=distinctUntilKeyChanged.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/distinctUntilKeyChanged.js.map b/node_modules/rxjs/_esm2015/add/operator/distinctUntilKeyChanged.js.map deleted file mode 100644 index 12228a79..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/distinctUntilKeyChanged.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"distinctUntilKeyChanged.js","sourceRoot":"","sources":["../../../src/add/operator/distinctUntilKeyChanged.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,uBAAuB,EAAE,MAAM,wCAAwC;AAEhF,UAAU,CAAC,SAAS,CAAC,uBAAuB,GAAG,uBAAuB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/do.js b/node_modules/rxjs/_esm2015/add/operator/do.js deleted file mode 100644 index a4e52669..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/do.js +++ /dev/null @@ -1,5 +0,0 @@ -import { Observable } from '../../Observable'; -import { _do } from '../../operator/do'; -Observable.prototype.do = _do; -Observable.prototype._do = _do; -//# sourceMappingURL=do.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/do.js.map b/node_modules/rxjs/_esm2015/add/operator/do.js.map deleted file mode 100644 index fe50770d..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/do.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"do.js","sourceRoot":"","sources":["../../../src/add/operator/do.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,GAAG,EAAE,MAAM,mBAAmB;AAEvC,UAAU,CAAC,SAAS,CAAC,EAAE,GAAG,GAAG,CAAC;AAC9B,UAAU,CAAC,SAAS,CAAC,GAAG,GAAG,GAAG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/elementAt.js b/node_modules/rxjs/_esm2015/add/operator/elementAt.js deleted file mode 100644 index 9995e376..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/elementAt.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { elementAt } from '../../operator/elementAt'; -Observable.prototype.elementAt = elementAt; -//# sourceMappingURL=elementAt.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/elementAt.js.map b/node_modules/rxjs/_esm2015/add/operator/elementAt.js.map deleted file mode 100644 index 531f6cb8..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/elementAt.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"elementAt.js","sourceRoot":"","sources":["../../../src/add/operator/elementAt.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/every.js b/node_modules/rxjs/_esm2015/add/operator/every.js deleted file mode 100644 index a5b95f89..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/every.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { every } from '../../operator/every'; -Observable.prototype.every = every; -//# sourceMappingURL=every.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/every.js.map b/node_modules/rxjs/_esm2015/add/operator/every.js.map deleted file mode 100644 index 548ff57e..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/every.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"every.js","sourceRoot":"","sources":["../../../src/add/operator/every.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,EAAE,MAAM,sBAAsB;AAE5C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/exhaust.js b/node_modules/rxjs/_esm2015/add/operator/exhaust.js deleted file mode 100644 index 29c03e13..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/exhaust.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { exhaust } from '../../operator/exhaust'; -Observable.prototype.exhaust = exhaust; -//# sourceMappingURL=exhaust.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/exhaust.js.map b/node_modules/rxjs/_esm2015/add/operator/exhaust.js.map deleted file mode 100644 index fcd4564b..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/exhaust.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"exhaust.js","sourceRoot":"","sources":["../../../src/add/operator/exhaust.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,OAAO,EAAE,MAAM,wBAAwB;AAEhD,UAAU,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/exhaustMap.js b/node_modules/rxjs/_esm2015/add/operator/exhaustMap.js deleted file mode 100644 index 988ed28b..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/exhaustMap.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { exhaustMap } from '../../operator/exhaustMap'; -Observable.prototype.exhaustMap = exhaustMap; -//# sourceMappingURL=exhaustMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/exhaustMap.js.map b/node_modules/rxjs/_esm2015/add/operator/exhaustMap.js.map deleted file mode 100644 index 0268bb13..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/exhaustMap.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"exhaustMap.js","sourceRoot":"","sources":["../../../src/add/operator/exhaustMap.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,2BAA2B;AAEtD,UAAU,CAAC,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/expand.js b/node_modules/rxjs/_esm2015/add/operator/expand.js deleted file mode 100644 index 31ee76e8..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/expand.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { expand } from '../../operator/expand'; -Observable.prototype.expand = expand; -//# sourceMappingURL=expand.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/expand.js.map b/node_modules/rxjs/_esm2015/add/operator/expand.js.map deleted file mode 100644 index 6439cef5..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/expand.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"expand.js","sourceRoot":"","sources":["../../../src/add/operator/expand.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,uBAAuB;AAE9C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/filter.js b/node_modules/rxjs/_esm2015/add/operator/filter.js deleted file mode 100644 index 09e71d31..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/filter.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { filter } from '../../operator/filter'; -Observable.prototype.filter = filter; -//# sourceMappingURL=filter.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/filter.js.map b/node_modules/rxjs/_esm2015/add/operator/filter.js.map deleted file mode 100644 index adcf585e..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/filter.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"filter.js","sourceRoot":"","sources":["../../../src/add/operator/filter.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,uBAAuB;AAE9C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/finally.js b/node_modules/rxjs/_esm2015/add/operator/finally.js deleted file mode 100644 index b37b947a..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/finally.js +++ /dev/null @@ -1,5 +0,0 @@ -import { Observable } from '../../Observable'; -import { _finally } from '../../operator/finally'; -Observable.prototype.finally = _finally; -Observable.prototype._finally = _finally; -//# sourceMappingURL=finally.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/finally.js.map b/node_modules/rxjs/_esm2015/add/operator/finally.js.map deleted file mode 100644 index b6a05142..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/finally.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"finally.js","sourceRoot":"","sources":["../../../src/add/operator/finally.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,wBAAwB;AAEjD,UAAU,CAAC,SAAS,CAAC,OAAO,GAAG,QAAQ,CAAC;AACxC,UAAU,CAAC,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/find.js b/node_modules/rxjs/_esm2015/add/operator/find.js deleted file mode 100644 index 41d5eab9..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/find.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { find } from '../../operator/find'; -Observable.prototype.find = find; -//# sourceMappingURL=find.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/find.js.map b/node_modules/rxjs/_esm2015/add/operator/find.js.map deleted file mode 100644 index 643b75aa..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/find.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"find.js","sourceRoot":"","sources":["../../../src/add/operator/find.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,IAAI,EAAE,MAAM,qBAAqB;AAE1C,UAAU,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/findIndex.js b/node_modules/rxjs/_esm2015/add/operator/findIndex.js deleted file mode 100644 index a985ad7c..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/findIndex.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { findIndex } from '../../operator/findIndex'; -Observable.prototype.findIndex = findIndex; -//# sourceMappingURL=findIndex.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/findIndex.js.map b/node_modules/rxjs/_esm2015/add/operator/findIndex.js.map deleted file mode 100644 index 0f3c5e4a..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/findIndex.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"findIndex.js","sourceRoot":"","sources":["../../../src/add/operator/findIndex.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/first.js b/node_modules/rxjs/_esm2015/add/operator/first.js deleted file mode 100644 index d8cf6f91..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/first.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { first } from '../../operator/first'; -Observable.prototype.first = first; -//# sourceMappingURL=first.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/first.js.map b/node_modules/rxjs/_esm2015/add/operator/first.js.map deleted file mode 100644 index 2558027c..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/first.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"first.js","sourceRoot":"","sources":["../../../src/add/operator/first.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,EAAE,MAAM,sBAAsB;AAE5C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAQ,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/groupBy.js b/node_modules/rxjs/_esm2015/add/operator/groupBy.js deleted file mode 100644 index 2ff1a199..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/groupBy.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { groupBy } from '../../operator/groupBy'; -Observable.prototype.groupBy = groupBy; -//# sourceMappingURL=groupBy.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/groupBy.js.map b/node_modules/rxjs/_esm2015/add/operator/groupBy.js.map deleted file mode 100644 index 8fa90b35..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/groupBy.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"groupBy.js","sourceRoot":"","sources":["../../../src/add/operator/groupBy.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,OAAO,EAAE,MAAM,wBAAwB;AAEhD,UAAU,CAAC,SAAS,CAAC,OAAO,GAAQ,OAAO,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/ignoreElements.js b/node_modules/rxjs/_esm2015/add/operator/ignoreElements.js deleted file mode 100644 index 949c7ef5..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/ignoreElements.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { ignoreElements } from '../../operator/ignoreElements'; -Observable.prototype.ignoreElements = ignoreElements; -//# sourceMappingURL=ignoreElements.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/ignoreElements.js.map b/node_modules/rxjs/_esm2015/add/operator/ignoreElements.js.map deleted file mode 100644 index bce942d1..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/ignoreElements.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ignoreElements.js","sourceRoot":"","sources":["../../../src/add/operator/ignoreElements.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,cAAc,EAAE,MAAM,+BAA+B;AAE9D,UAAU,CAAC,SAAS,CAAC,cAAc,GAAG,cAAc,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/isEmpty.js b/node_modules/rxjs/_esm2015/add/operator/isEmpty.js deleted file mode 100644 index 83b57e56..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/isEmpty.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { isEmpty } from '../../operator/isEmpty'; -Observable.prototype.isEmpty = isEmpty; -//# sourceMappingURL=isEmpty.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/isEmpty.js.map b/node_modules/rxjs/_esm2015/add/operator/isEmpty.js.map deleted file mode 100644 index b1ba63bc..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/isEmpty.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"isEmpty.js","sourceRoot":"","sources":["../../../src/add/operator/isEmpty.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,OAAO,EAAE,MAAM,wBAAwB;AAEhD,UAAU,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/last.js b/node_modules/rxjs/_esm2015/add/operator/last.js deleted file mode 100644 index 5df19c26..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/last.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { last } from '../../operator/last'; -Observable.prototype.last = last; -//# sourceMappingURL=last.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/last.js.map b/node_modules/rxjs/_esm2015/add/operator/last.js.map deleted file mode 100644 index 0a3f7d27..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/last.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"last.js","sourceRoot":"","sources":["../../../src/add/operator/last.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,IAAI,EAAE,MAAM,qBAAqB;AAE1C,UAAU,CAAC,SAAS,CAAC,IAAI,GAAQ,IAAI,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/let.js b/node_modules/rxjs/_esm2015/add/operator/let.js deleted file mode 100644 index fb390682..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/let.js +++ /dev/null @@ -1,5 +0,0 @@ -import { Observable } from '../../Observable'; -import { letProto } from '../../operator/let'; -Observable.prototype.let = letProto; -Observable.prototype.letBind = letProto; -//# sourceMappingURL=let.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/let.js.map b/node_modules/rxjs/_esm2015/add/operator/let.js.map deleted file mode 100644 index 0255712d..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/let.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"let.js","sourceRoot":"","sources":["../../../src/add/operator/let.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,oBAAoB;AAE7C,UAAU,CAAC,SAAS,CAAC,GAAG,GAAG,QAAQ,CAAC;AACpC,UAAU,CAAC,SAAS,CAAC,OAAO,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/map.js b/node_modules/rxjs/_esm2015/add/operator/map.js deleted file mode 100644 index 029a540a..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/map.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { map } from '../../operator/map'; -Observable.prototype.map = map; -//# sourceMappingURL=map.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/map.js.map b/node_modules/rxjs/_esm2015/add/operator/map.js.map deleted file mode 100644 index c0272bea..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/map.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"map.js","sourceRoot":"","sources":["../../../src/add/operator/map.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,GAAG,EAAE,MAAM,oBAAoB;AAExC,UAAU,CAAC,SAAS,CAAC,GAAG,GAAG,GAAG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/mapTo.js b/node_modules/rxjs/_esm2015/add/operator/mapTo.js deleted file mode 100644 index b4db0c8c..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/mapTo.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { mapTo } from '../../operator/mapTo'; -Observable.prototype.mapTo = mapTo; -//# sourceMappingURL=mapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/mapTo.js.map b/node_modules/rxjs/_esm2015/add/operator/mapTo.js.map deleted file mode 100644 index af985e50..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/mapTo.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"mapTo.js","sourceRoot":"","sources":["../../../src/add/operator/mapTo.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,EAAE,MAAM,sBAAsB;AAE5C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/materialize.js b/node_modules/rxjs/_esm2015/add/operator/materialize.js deleted file mode 100644 index 2fe29e32..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/materialize.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { materialize } from '../../operator/materialize'; -Observable.prototype.materialize = materialize; -//# sourceMappingURL=materialize.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/materialize.js.map b/node_modules/rxjs/_esm2015/add/operator/materialize.js.map deleted file mode 100644 index cf39a9dc..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/materialize.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"materialize.js","sourceRoot":"","sources":["../../../src/add/operator/materialize.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,WAAW,EAAE,MAAM,4BAA4B;AAExD,UAAU,CAAC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/max.js b/node_modules/rxjs/_esm2015/add/operator/max.js deleted file mode 100644 index 20d430c3..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/max.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { max } from '../../operator/max'; -Observable.prototype.max = max; -//# sourceMappingURL=max.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/max.js.map b/node_modules/rxjs/_esm2015/add/operator/max.js.map deleted file mode 100644 index 53ff69d1..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/max.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"max.js","sourceRoot":"","sources":["../../../src/add/operator/max.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,GAAG,EAAE,MAAM,oBAAoB;AAExC,UAAU,CAAC,SAAS,CAAC,GAAG,GAAG,GAAG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/merge.js b/node_modules/rxjs/_esm2015/add/operator/merge.js deleted file mode 100644 index 0c038961..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/merge.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { merge } from '../../operator/merge'; -Observable.prototype.merge = merge; -//# sourceMappingURL=merge.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/merge.js.map b/node_modules/rxjs/_esm2015/add/operator/merge.js.map deleted file mode 100644 index 980477e7..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/merge.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../../src/add/operator/merge.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,EAAE,MAAM,sBAAsB;AAE5C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/mergeAll.js b/node_modules/rxjs/_esm2015/add/operator/mergeAll.js deleted file mode 100644 index 3608a75d..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/mergeAll.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { mergeAll } from '../../operator/mergeAll'; -Observable.prototype.mergeAll = mergeAll; -//# sourceMappingURL=mergeAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/mergeAll.js.map b/node_modules/rxjs/_esm2015/add/operator/mergeAll.js.map deleted file mode 100644 index b73e09e0..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/mergeAll.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"mergeAll.js","sourceRoot":"","sources":["../../../src/add/operator/mergeAll.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,yBAAyB;AAElD,UAAU,CAAC,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/mergeMap.js b/node_modules/rxjs/_esm2015/add/operator/mergeMap.js deleted file mode 100644 index 081b5297..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/mergeMap.js +++ /dev/null @@ -1,5 +0,0 @@ -import { Observable } from '../../Observable'; -import { mergeMap } from '../../operator/mergeMap'; -Observable.prototype.mergeMap = mergeMap; -Observable.prototype.flatMap = mergeMap; -//# sourceMappingURL=mergeMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/mergeMap.js.map b/node_modules/rxjs/_esm2015/add/operator/mergeMap.js.map deleted file mode 100644 index bbe2e51b..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/mergeMap.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"mergeMap.js","sourceRoot":"","sources":["../../../src/add/operator/mergeMap.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,yBAAyB;AAElD,UAAU,CAAC,SAAS,CAAC,QAAQ,GAAQ,QAAQ,CAAC;AAC9C,UAAU,CAAC,SAAS,CAAC,OAAO,GAAQ,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/mergeMapTo.js b/node_modules/rxjs/_esm2015/add/operator/mergeMapTo.js deleted file mode 100644 index f01b21f2..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/mergeMapTo.js +++ /dev/null @@ -1,5 +0,0 @@ -import { Observable } from '../../Observable'; -import { mergeMapTo } from '../../operator/mergeMapTo'; -Observable.prototype.flatMapTo = mergeMapTo; -Observable.prototype.mergeMapTo = mergeMapTo; -//# sourceMappingURL=mergeMapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/mergeMapTo.js.map b/node_modules/rxjs/_esm2015/add/operator/mergeMapTo.js.map deleted file mode 100644 index 964d9ec0..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/mergeMapTo.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"mergeMapTo.js","sourceRoot":"","sources":["../../../src/add/operator/mergeMapTo.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,2BAA2B;AAEtD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAQ,UAAU,CAAC;AACjD,UAAU,CAAC,SAAS,CAAC,UAAU,GAAQ,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/mergeScan.js b/node_modules/rxjs/_esm2015/add/operator/mergeScan.js deleted file mode 100644 index f815aa09..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/mergeScan.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { mergeScan } from '../../operator/mergeScan'; -Observable.prototype.mergeScan = mergeScan; -//# sourceMappingURL=mergeScan.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/mergeScan.js.map b/node_modules/rxjs/_esm2015/add/operator/mergeScan.js.map deleted file mode 100644 index e2367429..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/mergeScan.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"mergeScan.js","sourceRoot":"","sources":["../../../src/add/operator/mergeScan.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/min.js b/node_modules/rxjs/_esm2015/add/operator/min.js deleted file mode 100644 index 710fd78d..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/min.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { min } from '../../operator/min'; -Observable.prototype.min = min; -//# sourceMappingURL=min.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/min.js.map b/node_modules/rxjs/_esm2015/add/operator/min.js.map deleted file mode 100644 index 53a518e7..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"min.js","sourceRoot":"","sources":["../../../src/add/operator/min.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,GAAG,EAAE,MAAM,oBAAoB;AAExC,UAAU,CAAC,SAAS,CAAC,GAAG,GAAG,GAAG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/multicast.js b/node_modules/rxjs/_esm2015/add/operator/multicast.js deleted file mode 100644 index 5073d13b..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/multicast.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { multicast } from '../../operator/multicast'; -Observable.prototype.multicast = multicast; -//# sourceMappingURL=multicast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/multicast.js.map b/node_modules/rxjs/_esm2015/add/operator/multicast.js.map deleted file mode 100644 index 86c68131..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/multicast.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"multicast.js","sourceRoot":"","sources":["../../../src/add/operator/multicast.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAQ,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/observeOn.js b/node_modules/rxjs/_esm2015/add/operator/observeOn.js deleted file mode 100644 index 244e0fad..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/observeOn.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { observeOn } from '../../operator/observeOn'; -Observable.prototype.observeOn = observeOn; -//# sourceMappingURL=observeOn.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/observeOn.js.map b/node_modules/rxjs/_esm2015/add/operator/observeOn.js.map deleted file mode 100644 index 50d3637a..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/observeOn.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"observeOn.js","sourceRoot":"","sources":["../../../src/add/operator/observeOn.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/onErrorResumeNext.js b/node_modules/rxjs/_esm2015/add/operator/onErrorResumeNext.js deleted file mode 100644 index 0bf1e0d9..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/onErrorResumeNext.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { onErrorResumeNext } from '../../operator/onErrorResumeNext'; -Observable.prototype.onErrorResumeNext = onErrorResumeNext; -//# sourceMappingURL=onErrorResumeNext.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/onErrorResumeNext.js.map b/node_modules/rxjs/_esm2015/add/operator/onErrorResumeNext.js.map deleted file mode 100644 index afbddc96..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/onErrorResumeNext.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"onErrorResumeNext.js","sourceRoot":"","sources":["../../../src/add/operator/onErrorResumeNext.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,iBAAiB,EAAE,MAAM,kCAAkC;AAEpE,UAAU,CAAC,SAAS,CAAC,iBAAiB,GAAG,iBAAiB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/pairwise.js b/node_modules/rxjs/_esm2015/add/operator/pairwise.js deleted file mode 100644 index 05b9e9fd..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/pairwise.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { pairwise } from '../../operator/pairwise'; -Observable.prototype.pairwise = pairwise; -//# sourceMappingURL=pairwise.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/pairwise.js.map b/node_modules/rxjs/_esm2015/add/operator/pairwise.js.map deleted file mode 100644 index f1c7cbce..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/pairwise.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"pairwise.js","sourceRoot":"","sources":["../../../src/add/operator/pairwise.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,yBAAyB;AAElD,UAAU,CAAC,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/partition.js b/node_modules/rxjs/_esm2015/add/operator/partition.js deleted file mode 100644 index 827741e7..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/partition.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { partition } from '../../operator/partition'; -Observable.prototype.partition = partition; -//# sourceMappingURL=partition.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/partition.js.map b/node_modules/rxjs/_esm2015/add/operator/partition.js.map deleted file mode 100644 index 9b034d91..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/partition.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"partition.js","sourceRoot":"","sources":["../../../src/add/operator/partition.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/pluck.js b/node_modules/rxjs/_esm2015/add/operator/pluck.js deleted file mode 100644 index 3c93abec..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/pluck.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { pluck } from '../../operator/pluck'; -Observable.prototype.pluck = pluck; -//# sourceMappingURL=pluck.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/pluck.js.map b/node_modules/rxjs/_esm2015/add/operator/pluck.js.map deleted file mode 100644 index f1e32936..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/pluck.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"pluck.js","sourceRoot":"","sources":["../../../src/add/operator/pluck.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,EAAE,MAAM,sBAAsB;AAE5C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/publish.js b/node_modules/rxjs/_esm2015/add/operator/publish.js deleted file mode 100644 index d3a06e07..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/publish.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { publish } from '../../operator/publish'; -Observable.prototype.publish = publish; -//# sourceMappingURL=publish.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/publish.js.map b/node_modules/rxjs/_esm2015/add/operator/publish.js.map deleted file mode 100644 index 18753cb5..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/publish.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"publish.js","sourceRoot":"","sources":["../../../src/add/operator/publish.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,OAAO,EAAE,MAAM,wBAAwB;AAEhD,UAAU,CAAC,SAAS,CAAC,OAAO,GAAQ,OAAO,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/publishBehavior.js b/node_modules/rxjs/_esm2015/add/operator/publishBehavior.js deleted file mode 100644 index 7555f4a3..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/publishBehavior.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { publishBehavior } from '../../operator/publishBehavior'; -Observable.prototype.publishBehavior = publishBehavior; -//# sourceMappingURL=publishBehavior.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/publishBehavior.js.map b/node_modules/rxjs/_esm2015/add/operator/publishBehavior.js.map deleted file mode 100644 index 2bb0c42a..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/publishBehavior.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"publishBehavior.js","sourceRoot":"","sources":["../../../src/add/operator/publishBehavior.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,eAAe,EAAE,MAAM,gCAAgC;AAEhE,UAAU,CAAC,SAAS,CAAC,eAAe,GAAG,eAAe,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/publishLast.js b/node_modules/rxjs/_esm2015/add/operator/publishLast.js deleted file mode 100644 index df2fd387..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/publishLast.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { publishLast } from '../../operator/publishLast'; -Observable.prototype.publishLast = publishLast; -//# sourceMappingURL=publishLast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/publishLast.js.map b/node_modules/rxjs/_esm2015/add/operator/publishLast.js.map deleted file mode 100644 index fd2cfbc8..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/publishLast.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"publishLast.js","sourceRoot":"","sources":["../../../src/add/operator/publishLast.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,WAAW,EAAE,MAAM,4BAA4B;AAExD,UAAU,CAAC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/publishReplay.js b/node_modules/rxjs/_esm2015/add/operator/publishReplay.js deleted file mode 100644 index 8807d12f..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/publishReplay.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { publishReplay } from '../../operator/publishReplay'; -Observable.prototype.publishReplay = publishReplay; -//# sourceMappingURL=publishReplay.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/publishReplay.js.map b/node_modules/rxjs/_esm2015/add/operator/publishReplay.js.map deleted file mode 100644 index 68fc5011..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/publishReplay.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"publishReplay.js","sourceRoot":"","sources":["../../../src/add/operator/publishReplay.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,aAAa,EAAE,MAAM,8BAA8B;AAE5D,UAAU,CAAC,SAAS,CAAC,aAAa,GAAG,aAAa,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/race.js b/node_modules/rxjs/_esm2015/add/operator/race.js deleted file mode 100644 index ec198485..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/race.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { race } from '../../operator/race'; -Observable.prototype.race = race; -//# sourceMappingURL=race.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/race.js.map b/node_modules/rxjs/_esm2015/add/operator/race.js.map deleted file mode 100644 index e6cf7ea6..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/race.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"race.js","sourceRoot":"","sources":["../../../src/add/operator/race.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,IAAI,EAAE,MAAM,qBAAqB;AAE1C,UAAU,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/reduce.js b/node_modules/rxjs/_esm2015/add/operator/reduce.js deleted file mode 100644 index 897690d3..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/reduce.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { reduce } from '../../operator/reduce'; -Observable.prototype.reduce = reduce; -//# sourceMappingURL=reduce.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/reduce.js.map b/node_modules/rxjs/_esm2015/add/operator/reduce.js.map deleted file mode 100644 index b6585dc6..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/reduce.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"reduce.js","sourceRoot":"","sources":["../../../src/add/operator/reduce.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,uBAAuB;AAE9C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/repeat.js b/node_modules/rxjs/_esm2015/add/operator/repeat.js deleted file mode 100644 index c0dbbb0c..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/repeat.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { repeat } from '../../operator/repeat'; -Observable.prototype.repeat = repeat; -//# sourceMappingURL=repeat.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/repeat.js.map b/node_modules/rxjs/_esm2015/add/operator/repeat.js.map deleted file mode 100644 index bcdbe76d..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/repeat.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"repeat.js","sourceRoot":"","sources":["../../../src/add/operator/repeat.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,uBAAuB;AAE9C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/repeatWhen.js b/node_modules/rxjs/_esm2015/add/operator/repeatWhen.js deleted file mode 100644 index 69426353..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/repeatWhen.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { repeatWhen } from '../../operator/repeatWhen'; -Observable.prototype.repeatWhen = repeatWhen; -//# sourceMappingURL=repeatWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/repeatWhen.js.map b/node_modules/rxjs/_esm2015/add/operator/repeatWhen.js.map deleted file mode 100644 index ed4e662b..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/repeatWhen.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"repeatWhen.js","sourceRoot":"","sources":["../../../src/add/operator/repeatWhen.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,2BAA2B;AAEtD,UAAU,CAAC,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/retry.js b/node_modules/rxjs/_esm2015/add/operator/retry.js deleted file mode 100644 index 13c4f11a..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/retry.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { retry } from '../../operator/retry'; -Observable.prototype.retry = retry; -//# sourceMappingURL=retry.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/retry.js.map b/node_modules/rxjs/_esm2015/add/operator/retry.js.map deleted file mode 100644 index 7fcabbf1..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/retry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"retry.js","sourceRoot":"","sources":["../../../src/add/operator/retry.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,EAAE,MAAM,sBAAsB;AAE5C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/retryWhen.js b/node_modules/rxjs/_esm2015/add/operator/retryWhen.js deleted file mode 100644 index 7fee774e..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/retryWhen.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { retryWhen } from '../../operator/retryWhen'; -Observable.prototype.retryWhen = retryWhen; -//# sourceMappingURL=retryWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/retryWhen.js.map b/node_modules/rxjs/_esm2015/add/operator/retryWhen.js.map deleted file mode 100644 index 76e6ed74..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/retryWhen.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"retryWhen.js","sourceRoot":"","sources":["../../../src/add/operator/retryWhen.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/sample.js b/node_modules/rxjs/_esm2015/add/operator/sample.js deleted file mode 100644 index ca78e32b..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/sample.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { sample } from '../../operator/sample'; -Observable.prototype.sample = sample; -//# sourceMappingURL=sample.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/sample.js.map b/node_modules/rxjs/_esm2015/add/operator/sample.js.map deleted file mode 100644 index 79e0a68f..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/sample.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sample.js","sourceRoot":"","sources":["../../../src/add/operator/sample.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,uBAAuB;AAE9C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/sampleTime.js b/node_modules/rxjs/_esm2015/add/operator/sampleTime.js deleted file mode 100644 index 53abf883..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/sampleTime.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { sampleTime } from '../../operator/sampleTime'; -Observable.prototype.sampleTime = sampleTime; -//# sourceMappingURL=sampleTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/sampleTime.js.map b/node_modules/rxjs/_esm2015/add/operator/sampleTime.js.map deleted file mode 100644 index e102b733..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/sampleTime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sampleTime.js","sourceRoot":"","sources":["../../../src/add/operator/sampleTime.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,2BAA2B;AAEtD,UAAU,CAAC,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/scan.js b/node_modules/rxjs/_esm2015/add/operator/scan.js deleted file mode 100644 index 651e18c1..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/scan.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { scan } from '../../operator/scan'; -Observable.prototype.scan = scan; -//# sourceMappingURL=scan.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/scan.js.map b/node_modules/rxjs/_esm2015/add/operator/scan.js.map deleted file mode 100644 index 7c1fe66d..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/scan.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"scan.js","sourceRoot":"","sources":["../../../src/add/operator/scan.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OAEtC,EAAE,IAAI,EAAE,MAAM,qBAAqB;AAE1C,UAAU,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/sequenceEqual.js b/node_modules/rxjs/_esm2015/add/operator/sequenceEqual.js deleted file mode 100644 index 2582117e..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/sequenceEqual.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { sequenceEqual } from '../../operator/sequenceEqual'; -Observable.prototype.sequenceEqual = sequenceEqual; -//# sourceMappingURL=sequenceEqual.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/sequenceEqual.js.map b/node_modules/rxjs/_esm2015/add/operator/sequenceEqual.js.map deleted file mode 100644 index a3de597b..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/sequenceEqual.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sequenceEqual.js","sourceRoot":"","sources":["../../../src/add/operator/sequenceEqual.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,aAAa,EAAE,MAAM,8BAA8B;AAE5D,UAAU,CAAC,SAAS,CAAC,aAAa,GAAG,aAAa,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/share.js b/node_modules/rxjs/_esm2015/add/operator/share.js deleted file mode 100644 index 83a639d9..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/share.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { share } from '../../operator/share'; -Observable.prototype.share = share; -//# sourceMappingURL=share.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/share.js.map b/node_modules/rxjs/_esm2015/add/operator/share.js.map deleted file mode 100644 index 540b9ecb..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/share.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"share.js","sourceRoot":"","sources":["../../../src/add/operator/share.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,KAAK,EAAE,MAAM,sBAAsB;AAE5C,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/shareReplay.js b/node_modules/rxjs/_esm2015/add/operator/shareReplay.js deleted file mode 100644 index afa8c007..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/shareReplay.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { shareReplay } from '../../operator/shareReplay'; -Observable.prototype.shareReplay = shareReplay; -//# sourceMappingURL=shareReplay.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/shareReplay.js.map b/node_modules/rxjs/_esm2015/add/operator/shareReplay.js.map deleted file mode 100644 index fe8aadfb..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/shareReplay.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"shareReplay.js","sourceRoot":"","sources":["../../../src/add/operator/shareReplay.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,WAAW,EAAE,MAAM,4BAA4B;AAExD,UAAU,CAAC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/single.js b/node_modules/rxjs/_esm2015/add/operator/single.js deleted file mode 100644 index 05eb212a..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/single.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { single } from '../../operator/single'; -Observable.prototype.single = single; -//# sourceMappingURL=single.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/single.js.map b/node_modules/rxjs/_esm2015/add/operator/single.js.map deleted file mode 100644 index 0218f7b3..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/single.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"single.js","sourceRoot":"","sources":["../../../src/add/operator/single.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,uBAAuB;AAE9C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/skip.js b/node_modules/rxjs/_esm2015/add/operator/skip.js deleted file mode 100644 index 47b3da95..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/skip.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { skip } from '../../operator/skip'; -Observable.prototype.skip = skip; -//# sourceMappingURL=skip.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/skip.js.map b/node_modules/rxjs/_esm2015/add/operator/skip.js.map deleted file mode 100644 index 8e76fde5..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/skip.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"skip.js","sourceRoot":"","sources":["../../../src/add/operator/skip.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,IAAI,EAAE,MAAM,qBAAqB;AAE1C,UAAU,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/skipLast.js b/node_modules/rxjs/_esm2015/add/operator/skipLast.js deleted file mode 100644 index d634402a..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/skipLast.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { skipLast } from '../../operator/skipLast'; -Observable.prototype.skipLast = skipLast; -//# sourceMappingURL=skipLast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/skipLast.js.map b/node_modules/rxjs/_esm2015/add/operator/skipLast.js.map deleted file mode 100644 index d654de9b..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/skipLast.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"skipLast.js","sourceRoot":"","sources":["../../../src/add/operator/skipLast.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,yBAAyB;AAElD,UAAU,CAAC,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/skipUntil.js b/node_modules/rxjs/_esm2015/add/operator/skipUntil.js deleted file mode 100644 index a40bf41b..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/skipUntil.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { skipUntil } from '../../operator/skipUntil'; -Observable.prototype.skipUntil = skipUntil; -//# sourceMappingURL=skipUntil.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/skipUntil.js.map b/node_modules/rxjs/_esm2015/add/operator/skipUntil.js.map deleted file mode 100644 index 1241bcda..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/skipUntil.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"skipUntil.js","sourceRoot":"","sources":["../../../src/add/operator/skipUntil.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/skipWhile.js b/node_modules/rxjs/_esm2015/add/operator/skipWhile.js deleted file mode 100644 index 7888238c..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/skipWhile.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { skipWhile } from '../../operator/skipWhile'; -Observable.prototype.skipWhile = skipWhile; -//# sourceMappingURL=skipWhile.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/skipWhile.js.map b/node_modules/rxjs/_esm2015/add/operator/skipWhile.js.map deleted file mode 100644 index 4df3927d..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/skipWhile.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"skipWhile.js","sourceRoot":"","sources":["../../../src/add/operator/skipWhile.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/startWith.js b/node_modules/rxjs/_esm2015/add/operator/startWith.js deleted file mode 100644 index 25fecefa..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/startWith.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { startWith } from '../../operator/startWith'; -Observable.prototype.startWith = startWith; -//# sourceMappingURL=startWith.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/startWith.js.map b/node_modules/rxjs/_esm2015/add/operator/startWith.js.map deleted file mode 100644 index fecea096..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/startWith.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"startWith.js","sourceRoot":"","sources":["../../../src/add/operator/startWith.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/subscribeOn.js b/node_modules/rxjs/_esm2015/add/operator/subscribeOn.js deleted file mode 100644 index 0d8a75eb..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/subscribeOn.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { subscribeOn } from '../../operator/subscribeOn'; -Observable.prototype.subscribeOn = subscribeOn; -//# sourceMappingURL=subscribeOn.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/subscribeOn.js.map b/node_modules/rxjs/_esm2015/add/operator/subscribeOn.js.map deleted file mode 100644 index ef7b25bd..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/subscribeOn.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"subscribeOn.js","sourceRoot":"","sources":["../../../src/add/operator/subscribeOn.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,WAAW,EAAE,MAAM,4BAA4B;AAExD,UAAU,CAAC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/switch.js b/node_modules/rxjs/_esm2015/add/operator/switch.js deleted file mode 100644 index 02b02efc..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/switch.js +++ /dev/null @@ -1,5 +0,0 @@ -import { Observable } from '../../Observable'; -import { _switch } from '../../operator/switch'; -Observable.prototype.switch = _switch; -Observable.prototype._switch = _switch; -//# sourceMappingURL=switch.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/switch.js.map b/node_modules/rxjs/_esm2015/add/operator/switch.js.map deleted file mode 100644 index 3d42bd65..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/switch.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"switch.js","sourceRoot":"","sources":["../../../src/add/operator/switch.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,OAAO,EAAE,MAAM,uBAAuB;AAE/C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,OAAO,CAAC;AACtC,UAAU,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/switchMap.js b/node_modules/rxjs/_esm2015/add/operator/switchMap.js deleted file mode 100644 index 7dc5024d..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/switchMap.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { switchMap } from '../../operator/switchMap'; -Observable.prototype.switchMap = switchMap; -//# sourceMappingURL=switchMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/switchMap.js.map b/node_modules/rxjs/_esm2015/add/operator/switchMap.js.map deleted file mode 100644 index d738a944..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/switchMap.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"switchMap.js","sourceRoot":"","sources":["../../../src/add/operator/switchMap.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/switchMapTo.js b/node_modules/rxjs/_esm2015/add/operator/switchMapTo.js deleted file mode 100644 index c4042be3..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/switchMapTo.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { switchMapTo } from '../../operator/switchMapTo'; -Observable.prototype.switchMapTo = switchMapTo; -//# sourceMappingURL=switchMapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/switchMapTo.js.map b/node_modules/rxjs/_esm2015/add/operator/switchMapTo.js.map deleted file mode 100644 index bd5af839..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/switchMapTo.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"switchMapTo.js","sourceRoot":"","sources":["../../../src/add/operator/switchMapTo.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,WAAW,EAAE,MAAM,4BAA4B;AAExD,UAAU,CAAC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/take.js b/node_modules/rxjs/_esm2015/add/operator/take.js deleted file mode 100644 index e8bac3ac..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/take.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { take } from '../../operator/take'; -Observable.prototype.take = take; -//# sourceMappingURL=take.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/take.js.map b/node_modules/rxjs/_esm2015/add/operator/take.js.map deleted file mode 100644 index b9236de7..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/take.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"take.js","sourceRoot":"","sources":["../../../src/add/operator/take.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,IAAI,EAAE,MAAM,qBAAqB;AAE1C,UAAU,CAAC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/takeLast.js b/node_modules/rxjs/_esm2015/add/operator/takeLast.js deleted file mode 100644 index 6e6e5d9b..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/takeLast.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { takeLast } from '../../operator/takeLast'; -Observable.prototype.takeLast = takeLast; -//# sourceMappingURL=takeLast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/takeLast.js.map b/node_modules/rxjs/_esm2015/add/operator/takeLast.js.map deleted file mode 100644 index 6aa0e22b..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/takeLast.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"takeLast.js","sourceRoot":"","sources":["../../../src/add/operator/takeLast.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,yBAAyB;AAElD,UAAU,CAAC,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/takeUntil.js b/node_modules/rxjs/_esm2015/add/operator/takeUntil.js deleted file mode 100644 index a30c3d25..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/takeUntil.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { takeUntil } from '../../operator/takeUntil'; -Observable.prototype.takeUntil = takeUntil; -//# sourceMappingURL=takeUntil.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/takeUntil.js.map b/node_modules/rxjs/_esm2015/add/operator/takeUntil.js.map deleted file mode 100644 index d73bb558..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/takeUntil.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"takeUntil.js","sourceRoot":"","sources":["../../../src/add/operator/takeUntil.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/takeWhile.js b/node_modules/rxjs/_esm2015/add/operator/takeWhile.js deleted file mode 100644 index 6fbd622a..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/takeWhile.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { takeWhile } from '../../operator/takeWhile'; -Observable.prototype.takeWhile = takeWhile; -//# sourceMappingURL=takeWhile.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/takeWhile.js.map b/node_modules/rxjs/_esm2015/add/operator/takeWhile.js.map deleted file mode 100644 index 36c3f0a0..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/takeWhile.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"takeWhile.js","sourceRoot":"","sources":["../../../src/add/operator/takeWhile.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/throttle.js b/node_modules/rxjs/_esm2015/add/operator/throttle.js deleted file mode 100644 index 59854a01..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/throttle.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { throttle } from '../../operator/throttle'; -Observable.prototype.throttle = throttle; -//# sourceMappingURL=throttle.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/throttle.js.map b/node_modules/rxjs/_esm2015/add/operator/throttle.js.map deleted file mode 100644 index 760b105b..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/throttle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"throttle.js","sourceRoot":"","sources":["../../../src/add/operator/throttle.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,yBAAyB;AAElD,UAAU,CAAC,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/throttleTime.js b/node_modules/rxjs/_esm2015/add/operator/throttleTime.js deleted file mode 100644 index 857a4f17..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/throttleTime.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { throttleTime } from '../../operator/throttleTime'; -Observable.prototype.throttleTime = throttleTime; -//# sourceMappingURL=throttleTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/throttleTime.js.map b/node_modules/rxjs/_esm2015/add/operator/throttleTime.js.map deleted file mode 100644 index b94a392d..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/throttleTime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"throttleTime.js","sourceRoot":"","sources":["../../../src/add/operator/throttleTime.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,YAAY,EAAE,MAAM,6BAA6B;AAE1D,UAAU,CAAC,SAAS,CAAC,YAAY,GAAG,YAAY,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/timeInterval.js b/node_modules/rxjs/_esm2015/add/operator/timeInterval.js deleted file mode 100644 index 421255ca..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/timeInterval.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { timeInterval } from '../../operator/timeInterval'; -Observable.prototype.timeInterval = timeInterval; -//# sourceMappingURL=timeInterval.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/timeInterval.js.map b/node_modules/rxjs/_esm2015/add/operator/timeInterval.js.map deleted file mode 100644 index cb3b85a6..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/timeInterval.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"timeInterval.js","sourceRoot":"","sources":["../../../src/add/operator/timeInterval.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,YAAY,EAAE,MAAM,6BAA6B;AAE1D,UAAU,CAAC,SAAS,CAAC,YAAY,GAAG,YAAY,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/timeout.js b/node_modules/rxjs/_esm2015/add/operator/timeout.js deleted file mode 100644 index 93a9a35e..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/timeout.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { timeout } from '../../operator/timeout'; -Observable.prototype.timeout = timeout; -//# sourceMappingURL=timeout.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/timeout.js.map b/node_modules/rxjs/_esm2015/add/operator/timeout.js.map deleted file mode 100644 index 19b0e0b2..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/timeout.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"timeout.js","sourceRoot":"","sources":["../../../src/add/operator/timeout.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,OAAO,EAAE,MAAM,wBAAwB;AAEhD,UAAU,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/timeoutWith.js b/node_modules/rxjs/_esm2015/add/operator/timeoutWith.js deleted file mode 100644 index 67481560..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/timeoutWith.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { timeoutWith } from '../../operator/timeoutWith'; -Observable.prototype.timeoutWith = timeoutWith; -//# sourceMappingURL=timeoutWith.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/timeoutWith.js.map b/node_modules/rxjs/_esm2015/add/operator/timeoutWith.js.map deleted file mode 100644 index 86ed1484..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/timeoutWith.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"timeoutWith.js","sourceRoot":"","sources":["../../../src/add/operator/timeoutWith.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,WAAW,EAAE,MAAM,4BAA4B;AAExD,UAAU,CAAC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/timestamp.js b/node_modules/rxjs/_esm2015/add/operator/timestamp.js deleted file mode 100644 index bb9ad90e..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/timestamp.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { timestamp } from '../../operator/timestamp'; -Observable.prototype.timestamp = timestamp; -//# sourceMappingURL=timestamp.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/timestamp.js.map b/node_modules/rxjs/_esm2015/add/operator/timestamp.js.map deleted file mode 100644 index 9bc45bac..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/timestamp.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"timestamp.js","sourceRoot":"","sources":["../../../src/add/operator/timestamp.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,SAAS,EAAE,MAAM,0BAA0B;AAEpD,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/toArray.js b/node_modules/rxjs/_esm2015/add/operator/toArray.js deleted file mode 100644 index 5a0b7600..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/toArray.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { toArray } from '../../operator/toArray'; -Observable.prototype.toArray = toArray; -//# sourceMappingURL=toArray.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/toArray.js.map b/node_modules/rxjs/_esm2015/add/operator/toArray.js.map deleted file mode 100644 index bb19a203..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/toArray.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"toArray.js","sourceRoot":"","sources":["../../../src/add/operator/toArray.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,OAAO,EAAE,MAAM,wBAAwB;AAEhD,UAAU,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/toPromise.js b/node_modules/rxjs/_esm2015/add/operator/toPromise.js deleted file mode 100644 index 5e65742c..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/toPromise.js +++ /dev/null @@ -1,3 +0,0 @@ -// HACK: does nothing, because `toPromise` now lives on the `Observable` itself. -// leaving this module here to prevent breakage. -//# sourceMappingURL=toPromise.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/toPromise.js.map b/node_modules/rxjs/_esm2015/add/operator/toPromise.js.map deleted file mode 100644 index 643c9061..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/toPromise.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"toPromise.js","sourceRoot":"","sources":["../../../src/add/operator/toPromise.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,gDAAgD"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/window.js b/node_modules/rxjs/_esm2015/add/operator/window.js deleted file mode 100644 index a45a7851..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/window.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { window } from '../../operator/window'; -Observable.prototype.window = window; -//# sourceMappingURL=window.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/window.js.map b/node_modules/rxjs/_esm2015/add/operator/window.js.map deleted file mode 100644 index 80c1de64..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/window.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"window.js","sourceRoot":"","sources":["../../../src/add/operator/window.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,uBAAuB;AAE9C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/windowCount.js b/node_modules/rxjs/_esm2015/add/operator/windowCount.js deleted file mode 100644 index f4762e97..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/windowCount.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { windowCount } from '../../operator/windowCount'; -Observable.prototype.windowCount = windowCount; -//# sourceMappingURL=windowCount.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/windowCount.js.map b/node_modules/rxjs/_esm2015/add/operator/windowCount.js.map deleted file mode 100644 index edc6be1b..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/windowCount.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"windowCount.js","sourceRoot":"","sources":["../../../src/add/operator/windowCount.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,WAAW,EAAE,MAAM,4BAA4B;AAExD,UAAU,CAAC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/windowTime.js b/node_modules/rxjs/_esm2015/add/operator/windowTime.js deleted file mode 100644 index d6aa1e2a..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/windowTime.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { windowTime } from '../../operator/windowTime'; -Observable.prototype.windowTime = windowTime; -//# sourceMappingURL=windowTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/windowTime.js.map b/node_modules/rxjs/_esm2015/add/operator/windowTime.js.map deleted file mode 100644 index 1c9fff6a..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/windowTime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"windowTime.js","sourceRoot":"","sources":["../../../src/add/operator/windowTime.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,2BAA2B;AAEtD,UAAU,CAAC,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/windowToggle.js b/node_modules/rxjs/_esm2015/add/operator/windowToggle.js deleted file mode 100644 index 26532657..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/windowToggle.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { windowToggle } from '../../operator/windowToggle'; -Observable.prototype.windowToggle = windowToggle; -//# sourceMappingURL=windowToggle.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/windowToggle.js.map b/node_modules/rxjs/_esm2015/add/operator/windowToggle.js.map deleted file mode 100644 index 1cf1921f..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/windowToggle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"windowToggle.js","sourceRoot":"","sources":["../../../src/add/operator/windowToggle.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,YAAY,EAAE,MAAM,6BAA6B;AAE1D,UAAU,CAAC,SAAS,CAAC,YAAY,GAAG,YAAY,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/windowWhen.js b/node_modules/rxjs/_esm2015/add/operator/windowWhen.js deleted file mode 100644 index 77e02df0..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/windowWhen.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { windowWhen } from '../../operator/windowWhen'; -Observable.prototype.windowWhen = windowWhen; -//# sourceMappingURL=windowWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/windowWhen.js.map b/node_modules/rxjs/_esm2015/add/operator/windowWhen.js.map deleted file mode 100644 index 1f594206..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/windowWhen.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"windowWhen.js","sourceRoot":"","sources":["../../../src/add/operator/windowWhen.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,2BAA2B;AAEtD,UAAU,CAAC,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/withLatestFrom.js b/node_modules/rxjs/_esm2015/add/operator/withLatestFrom.js deleted file mode 100644 index 0d093b09..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/withLatestFrom.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { withLatestFrom } from '../../operator/withLatestFrom'; -Observable.prototype.withLatestFrom = withLatestFrom; -//# sourceMappingURL=withLatestFrom.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/withLatestFrom.js.map b/node_modules/rxjs/_esm2015/add/operator/withLatestFrom.js.map deleted file mode 100644 index d3cc7a71..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/withLatestFrom.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"withLatestFrom.js","sourceRoot":"","sources":["../../../src/add/operator/withLatestFrom.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,cAAc,EAAE,MAAM,+BAA+B;AAE9D,UAAU,CAAC,SAAS,CAAC,cAAc,GAAG,cAAc,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/zip.js b/node_modules/rxjs/_esm2015/add/operator/zip.js deleted file mode 100644 index 38b5e89f..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/zip.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { zipProto } from '../../operator/zip'; -Observable.prototype.zip = zipProto; -//# sourceMappingURL=zip.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/zip.js.map b/node_modules/rxjs/_esm2015/add/operator/zip.js.map deleted file mode 100644 index cd953a9f..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/zip.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"zip.js","sourceRoot":"","sources":["../../../src/add/operator/zip.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,QAAQ,EAAE,MAAM,oBAAoB;AAE7C,UAAU,CAAC,SAAS,CAAC,GAAG,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/zipAll.js b/node_modules/rxjs/_esm2015/add/operator/zipAll.js deleted file mode 100644 index 33d7970f..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/zipAll.js +++ /dev/null @@ -1,4 +0,0 @@ -import { Observable } from '../../Observable'; -import { zipAll } from '../../operator/zipAll'; -Observable.prototype.zipAll = zipAll; -//# sourceMappingURL=zipAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/add/operator/zipAll.js.map b/node_modules/rxjs/_esm2015/add/operator/zipAll.js.map deleted file mode 100644 index 71b067cc..00000000 --- a/node_modules/rxjs/_esm2015/add/operator/zipAll.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"zipAll.js","sourceRoot":"","sources":["../../../src/add/operator/zipAll.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,MAAM,EAAE,MAAM,uBAAuB;AAE9C,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/interfaces.js b/node_modules/rxjs/_esm2015/interfaces.js deleted file mode 100644 index eb519ecf..00000000 --- a/node_modules/rxjs/_esm2015/interfaces.js +++ /dev/null @@ -1 +0,0 @@ -//# sourceMappingURL=interfaces.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/interfaces.js.map b/node_modules/rxjs/_esm2015/interfaces.js.map deleted file mode 100644 index 8fb5f7d1..00000000 --- a/node_modules/rxjs/_esm2015/interfaces.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ArrayLikeObservable.js b/node_modules/rxjs/_esm2015/observable/ArrayLikeObservable.js deleted file mode 100644 index 814f3cc5..00000000 --- a/node_modules/rxjs/_esm2015/observable/ArrayLikeObservable.js +++ /dev/null @@ -1,61 +0,0 @@ -import { Observable } from '../Observable'; -import { ScalarObservable } from './ScalarObservable'; -import { EmptyObservable } from './EmptyObservable'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class ArrayLikeObservable extends Observable { - constructor(arrayLike, scheduler) { - super(); - this.arrayLike = arrayLike; - this.scheduler = scheduler; - if (!scheduler && arrayLike.length === 1) { - this._isScalar = true; - this.value = arrayLike[0]; - } - } - static create(arrayLike, scheduler) { - const length = arrayLike.length; - if (length === 0) { - return new EmptyObservable(); - } - else if (length === 1) { - return new ScalarObservable(arrayLike[0], scheduler); - } - else { - return new ArrayLikeObservable(arrayLike, scheduler); - } - } - static dispatch(state) { - const { arrayLike, index, length, subscriber } = state; - if (subscriber.closed) { - return; - } - if (index >= length) { - subscriber.complete(); - return; - } - subscriber.next(arrayLike[index]); - state.index = index + 1; - this.schedule(state); - } - _subscribe(subscriber) { - let index = 0; - const { arrayLike, scheduler } = this; - const length = arrayLike.length; - if (scheduler) { - return scheduler.schedule(ArrayLikeObservable.dispatch, 0, { - arrayLike, index, length, subscriber - }); - } - else { - for (let i = 0; i < length && !subscriber.closed; i++) { - subscriber.next(arrayLike[i]); - } - subscriber.complete(); - } - } -} -//# sourceMappingURL=ArrayLikeObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ArrayLikeObservable.js.map b/node_modules/rxjs/_esm2015/observable/ArrayLikeObservable.js.map deleted file mode 100644 index 4017dfe1..00000000 --- a/node_modules/rxjs/_esm2015/observable/ArrayLikeObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ArrayLikeObservable.js","sourceRoot":"","sources":["../../src/observable/ArrayLikeObservable.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,gBAAgB,EAAE,MAAM,oBAAoB;OAC9C,EAAE,eAAe,EAAE,MAAM,mBAAmB;AAInD;;;;GAIG;AACH,yCAA4C,UAAU;IAmCpD,YAAoB,SAAuB,EAAU,SAAsB;QACzE,OAAO,CAAC;QADU,cAAS,GAAT,SAAS,CAAc;QAAU,cAAS,GAAT,SAAS,CAAa;QAEzE,EAAE,CAAC,CAAC,CAAC,SAAS,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;YACzC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;YACtB,I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AAS,CAAC,MAAM,CAAC;QAEhC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;YACd,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,mBAAmB,CAAC,QAAQ,EAAE,CAAC,EAAE;gBACzD,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU;aACrC,CAAC,CAAC;QACL,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBACtD,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;YAChC,CAAC;YACD,UAAU,CAAC,QAAQ,EAAE,CAAC;QACxB,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ArrayObservable.js b/node_modules/rxjs/_esm2015/observable/ArrayObservable.js deleted file mode 100644 index b9d27e98..00000000 --- a/node_modules/rxjs/_esm2015/observable/ArrayObservable.js +++ /dev/null @@ -1,109 +0,0 @@ -import { Observable } from '../Observable'; -import { ScalarObservable } from './ScalarObservable'; -import { EmptyObservable } from './EmptyObservable'; -import { isScheduler } from '../util/isScheduler'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class ArrayObservable extends Observable { - constructor(array, scheduler) { - super(); - this.array = array; - this.scheduler = scheduler; - if (!scheduler && array.length === 1) { - this._isScalar = true; - this.value = array[0]; - } - } - static create(array, scheduler) { - return new ArrayObservable(array, scheduler); - } - /** - * Creates an Observable that emits some values you specify as arguments, - * immediately one after the other, and then emits a complete notification. - * - * Emits the arguments you provide, then completes. - * - * - * - * - * This static operator is useful for creating a simple Observable that only - * emits the arguments given, and the complete notification thereafter. It can - * be used for composing with other Observables, such as with {@link concat}. - * By default, it uses a `null` IScheduler, which means the `next` - * notifications are sent synchronously, although with a different IScheduler - * it is possible to determine when those notifications will be delivered. - * - * @example Emit 10, 20, 30, then 'a', 'b', 'c', then start ticking every second. - * var numbers = Rx.Observable.of(10, 20, 30); - * var letters = Rx.Observable.of('a', 'b', 'c'); - * var interval = Rx.Observable.interval(1000); - * var result = numbers.concat(letters).concat(interval); - * result.subscribe(x => console.log(x)); - * - * @see {@link create} - * @see {@link empty} - * @see {@link never} - * @see {@link throw} - * - * @param {...T} values Arguments that represent `next` values to be emitted. - * @param {Scheduler} [scheduler] A {@link IScheduler} to use for scheduling - * the emissions of the `next` notifications. - * @return {Observable} An Observable that emits each given input value. - * @static true - * @name of - * @owner Observable - */ - static of(...array) { - let scheduler = array[array.length - 1]; - if (isScheduler(scheduler)) { - array.pop(); - } - else { - scheduler = null; - } - const len = array.length; - if (len > 1) { - return new ArrayObservable(array, scheduler); - } - else if (len === 1) { - return new ScalarObservable(array[0], scheduler); - } - else { - return new EmptyObservable(scheduler); - } - } - static dispatch(state) { - const { array, index, count, subscriber } = state; - if (index >= count) { - subscriber.complete(); - return; - } - subscriber.next(array[index]); - if (subscriber.closed) { - return; - } - state.index = index + 1; - this.schedule(state); - } - _subscribe(subscriber) { - let index = 0; - const array = this.array; - const count = array.length; - const scheduler = this.scheduler; - if (scheduler) { - return scheduler.schedule(ArrayObservable.dispatch, 0, { - array, index, count, subscriber - }); - } - else { - for (let i = 0; i < count && !subscriber.closed; i++) { - subscriber.next(array[i]); - } - subscriber.complete(); - } - } -} -//# sourceMappingURL=ArrayObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ArrayObservable.js.map b/node_modules/rxjs/_esm2015/observable/ArrayObservable.js.map deleted file mode 100644 index fcc0fc2c..00000000 --- a/node_modules/rxjs/_esm2015/observable/ArrayObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ArrayObservable.js","sourceRoot":"","sources":["../../src/observable/ArrayObservable.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAA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UAAU,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBACrD,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YAC5B,CAAC;YACD,UAAU,CAAC,QAAQ,EAAE,CAAC;QACxB,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/BoundCallbackObservable.js b/node_modules/rxjs/_esm2015/observable/BoundCallbackObservable.js deleted file mode 100644 index 8355b197..00000000 --- a/node_modules/rxjs/_esm2015/observable/BoundCallbackObservable.js +++ /dev/null @@ -1,242 +0,0 @@ -import { Observable } from '../Observable'; -import { tryCatch } from '../util/tryCatch'; -import { errorObject } from '../util/errorObject'; -import { AsyncSubject } from '../AsyncSubject'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class BoundCallbackObservable extends Observable { - constructor(callbackFunc, selector, args, context, scheduler) { - super(); - this.callbackFunc = callbackFunc; - this.selector = selector; - this.args = args; - this.context = context; - this.scheduler = scheduler; - } - /* tslint:enable:max-line-length */ - /** - * Converts a callback API to a function that returns an Observable. - * - * Give it a function `f` of type `f(x, callback)` and - * it will return a function `g` that when called as `g(x)` will output an - * Observable. - * - * `bindCallback` is not an operator because its input and output are not - * Observables. The input is a function `func` with some parameters, the - * last parameter must be a callback function that `func` calls when it is - * done. - * - * The output of `bindCallback` is a function that takes the same parameters - * as `func`, except the last one (the callback). When the output function - * is called with arguments it will return an Observable. If function `func` - * calls its callback with one argument the Observable will emit that value. - * If on the other hand the callback is called with multiple values the resulting - * Observable will emit an array with said values as arguments. - * - * It is very important to remember that input function `func` is not called - * when the output function is, but rather when the Observable returned by the output - * function is subscribed. This means if `func` makes an AJAX request, that request - * will be made every time someone subscribes to the resulting Observable, but not before. - * - * Optionally, a selector function can be passed to `bindObservable`. The selector function - * takes the same arguments as the callback and returns the value that will be emitted by the Observable. - * Even though by default multiple arguments passed to callback appear in the stream as an array - * the selector function will be called with arguments directly, just as the callback would. - * This means you can imagine the default selector (when one is not provided explicitly) - * as a function that aggregates all its arguments into an array, or simply returns first argument - * if there is only one. - * - * The last optional parameter - {@link Scheduler} - can be used to control when the call - * to `func` happens after someone subscribes to Observable, as well as when results - * passed to callback will be emitted. By default, the subscription to an Observable calls `func` - * synchronously, but using `Scheduler.async` as the last parameter will defer the call to `func`, - * just like wrapping the call in `setTimeout` with a timeout of `0` would. If you use the async Scheduler - * and call `subscribe` on the output Observable all function calls that are currently executing - * will end before `func` is invoked. - * - * By default results passed to the callback are emitted immediately after `func` invokes the callback. - * In particular, if the callback is called synchronously the subscription of the resulting Observable - * will call the `next` function synchronously as well. If you want to defer that call, - * you may use `Scheduler.async` just as before. This means that by using `Scheduler.async` you can - * ensure that `func` always calls its callback asynchronously, thus avoiding terrifying Zalgo. - * - * Note that the Observable created by the output function will always emit a single value - * and then complete immediately. If `func` calls the callback multiple times, values from subsequent - * calls will not appear in the stream. If you need to listen for multiple calls, - * you probably want to use {@link fromEvent} or {@link fromEventPattern} instead. - * - * If `func` depends on some context (`this` property) and is not already bound the context of `func` - * will be the context that the output function has at call time. In particular, if `func` - * is called as a method of some objec and if `func` is not already bound, in order to preserve the context - * it is recommended that the context of the output function is set to that object as well. - * - * If the input function calls its callback in the "node style" (i.e. first argument to callback is - * optional error parameter signaling whether the call failed or not), {@link bindNodeCallback} - * provides convenient error handling and probably is a better choice. - * `bindCallback` will treat such functions the same as any other and error parameters - * (whether passed or not) will always be interpreted as regular callback argument. - * - * - * @example Convert jQuery's getJSON to an Observable API - * // Suppose we have jQuery.getJSON('/my/url', callback) - * var getJSONAsObservable = Rx.Observable.bindCallback(jQuery.getJSON); - * var result = getJSONAsObservable('/my/url'); - * result.subscribe(x => console.log(x), e => console.error(e)); - * - * - * @example Receive an array of arguments passed to a callback - * someFunction((a, b, c) => { - * console.log(a); // 5 - * console.log(b); // 'some string' - * console.log(c); // {someProperty: 'someValue'} - * }); - * - * const boundSomeFunction = Rx.Observable.bindCallback(someFunction); - * boundSomeFunction().subscribe(values => { - * console.log(values) // [5, 'some string', {someProperty: 'someValue'}] - * }); - * - * - * @example Use bindCallback with a selector function - * someFunction((a, b, c) => { - * console.log(a); // 'a' - * console.log(b); // 'b' - * console.log(c); // 'c' - * }); - * - * const boundSomeFunction = Rx.Observable.bindCallback(someFunction, (a, b, c) => a + b + c); - * boundSomeFunction().subscribe(value => { - * console.log(value) // 'abc' - * }); - * - * - * @example Compare behaviour with and without async Scheduler - * function iCallMyCallbackSynchronously(cb) { - * cb(); - * } - * - * const boundSyncFn = Rx.Observable.bindCallback(iCallMyCallbackSynchronously); - * const boundAsyncFn = Rx.Observable.bindCallback(iCallMyCallbackSynchronously, null, Rx.Scheduler.async); - * - * boundSyncFn().subscribe(() => console.log('I was sync!')); - * boundAsyncFn().subscribe(() => console.log('I was async!')); - * console.log('This happened...'); - * - * // Logs: - * // I was sync! - * // This happened... - * // I was async! - * - * - * @example Use bindCallback on an object method - * const boundMethod = Rx.Observable.bindCallback(someObject.methodWithCallback); - * boundMethod.call(someObject) // make sure methodWithCallback has access to someObject - * .subscribe(subscriber); - * - * - * @see {@link bindNodeCallback} - * @see {@link from} - * @see {@link fromPromise} - * - * @param {function} func A function with a callback as the last parameter. - * @param {function} [selector] A function which takes the arguments from the - * callback and maps them to a value that is emitted on the output Observable. - * @param {Scheduler} [scheduler] The scheduler on which to schedule the - * callbacks. - * @return {function(...params: *): Observable} A function which returns the - * Observable that delivers the same values the callback would deliver. - * @static true - * @name bindCallback - * @owner Observable - */ - static create(func, selector = undefined, scheduler) { - return function (...args) { - return new BoundCallbackObservable(func, selector, args, this, scheduler); - }; - } - _subscribe(subscriber) { - const callbackFunc = this.callbackFunc; - const args = this.args; - const scheduler = this.scheduler; - let subject = this.subject; - if (!scheduler) { - if (!subject) { - subject = this.subject = new AsyncSubject(); - const handler = function handlerFn(...innerArgs) { - const source = handlerFn.source; - const { selector, subject } = source; - if (selector) { - const result = tryCatch(selector).apply(this, innerArgs); - if (result === errorObject) { - subject.error(errorObject.e); - } - else { - subject.next(result); - subject.complete(); - } - } - else { - subject.next(innerArgs.length <= 1 ? innerArgs[0] : innerArgs); - subject.complete(); - } - }; - // use named function instance to avoid closure. - handler.source = this; - const result = tryCatch(callbackFunc).apply(this.context, args.concat(handler)); - if (result === errorObject) { - subject.error(errorObject.e); - } - } - return subject.subscribe(subscriber); - } - else { - return scheduler.schedule(BoundCallbackObservable.dispatch, 0, { source: this, subscriber, context: this.context }); - } - } - static dispatch(state) { - const self = this; - const { source, subscriber, context } = state; - const { callbackFunc, args, scheduler } = source; - let subject = source.subject; - if (!subject) { - subject = source.subject = new AsyncSubject(); - const handler = function handlerFn(...innerArgs) { - const source = handlerFn.source; - const { selector, subject } = source; - if (selector) { - const result = tryCatch(selector).apply(this, innerArgs); - if (result === errorObject) { - self.add(scheduler.schedule(dispatchError, 0, { err: errorObject.e, subject })); - } - else { - self.add(scheduler.schedule(dispatchNext, 0, { value: result, subject })); - } - } - else { - const value = innerArgs.length <= 1 ? innerArgs[0] : innerArgs; - self.add(scheduler.schedule(dispatchNext, 0, { value, subject })); - } - }; - // use named function to pass values in without closure - handler.source = source; - const result = tryCatch(callbackFunc).apply(context, args.concat(handler)); - if (result === errorObject) { - subject.error(errorObject.e); - } - } - self.add(subject.subscribe(subscriber)); - } -} -function dispatchNext(arg) { - const { value, subject } = arg; - subject.next(value); - subject.complete(); -} -function dispatchError(arg) { - const { err, subject } = arg; - subject.error(err); -} -//# sourceMappingURL=BoundCallbackObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/BoundCallbackObservable.js.map b/node_modules/rxjs/_esm2015/observable/BoundCallbackObservable.js.map deleted file mode 100644 index 570c4b50..00000000 --- a/node_modules/rxjs/_esm2015/observable/BoundCallbackObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BoundCallbackObservable.js","sourceRoot":"","sources":["../../src/observable/BoundCallbackObservable.ts"],"names":[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ackObservable.js b/node_modules/rxjs/_esm2015/observable/BoundNodeCallbackObservable.js deleted file mode 100644 index 29dd781c..00000000 --- a/node_modules/rxjs/_esm2015/observable/BoundNodeCallbackObservable.js +++ /dev/null @@ -1,241 +0,0 @@ -import { Observable } from '../Observable'; -import { tryCatch } from '../util/tryCatch'; -import { errorObject } from '../util/errorObject'; -import { AsyncSubject } from '../AsyncSubject'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class BoundNodeCallbackObservable extends Observable { - constructor(callbackFunc, selector, args, context, scheduler) { - super(); - this.callbackFunc = callbackFunc; - this.selector = selector; - this.args = args; - this.context = context; - this.scheduler = scheduler; - } - /* tslint:enable:max-line-length */ - /** - * Converts a Node.js-style callback API to a function that returns an - * Observable. - * - * It's just like {@link bindCallback}, but the - * callback is expected to be of type `callback(error, result)`. - * - * `bindNodeCallback` is not an operator because its input and output are not - * Observables. The input is a function `func` with some parameters, but the - * last parameter must be a callback function that `func` calls when it is - * done. The callback function is expected to follow Node.js conventions, - * where the first argument to the callback is an error object, signaling - * whether call was successful. If that object is passed to callback, it means - * something went wrong. - * - * The output of `bindNodeCallback` is a function that takes the same - * parameters as `func`, except the last one (the callback). When the output - * function is called with arguments, it will return an Observable. - * If `func` calls its callback with error parameter present, Observable will - * error with that value as well. If error parameter is not passed, Observable will emit - * second parameter. If there are more parameters (third and so on), - * Observable will emit an array with all arguments, except first error argument. - * - * Optionally `bindNodeCallback` accepts selector function, which allows you to - * make resulting Observable emit value computed by selector, instead of regular - * callback arguments. It works similarly to {@link bindCallback} selector, but - * Node.js-style error argument will never be passed to that function. - * - * Note that `func` will not be called at the same time output function is, - * but rather whenever resulting Observable is subscribed. By default call to - * `func` will happen synchronously after subscription, but that can be changed - * with proper {@link Scheduler} provided as optional third parameter. Scheduler - * can also control when values from callback will be emitted by Observable. - * To find out more, check out documentation for {@link bindCallback}, where - * Scheduler works exactly the same. - * - * As in {@link bindCallback}, context (`this` property) of input function will be set to context - * of returned function, when it is called. - * - * After Observable emits value, it will complete immediately. This means - * even if `func` calls callback again, values from second and consecutive - * calls will never appear on the stream. If you need to handle functions - * that call callbacks multiple times, check out {@link fromEvent} or - * {@link fromEventPattern} instead. - * - * Note that `bindNodeCallback` can be used in non-Node.js environments as well. - * "Node.js-style" callbacks are just a convention, so if you write for - * browsers or any other environment and API you use implements that callback style, - * `bindNodeCallback` can be safely used on that API functions as well. - * - * Remember that Error object passed to callback does not have to be an instance - * of JavaScript built-in `Error` object. In fact, it does not even have to an object. - * Error parameter of callback function is interpreted as "present", when value - * of that parameter is truthy. It could be, for example, non-zero number, non-empty - * string or boolean `true`. In all of these cases resulting Observable would error - * with that value. This means usually regular style callbacks will fail very often when - * `bindNodeCallback` is used. If your Observable errors much more often then you - * would expect, check if callback really is called in Node.js-style and, if not, - * switch to {@link bindCallback} instead. - * - * Note that even if error parameter is technically present in callback, but its value - * is falsy, it still won't appear in array emitted by Observable or in selector function. - * - * - * @example Read a file from the filesystem and get the data as an Observable - * import * as fs from 'fs'; - * var readFileAsObservable = Rx.Observable.bindNodeCallback(fs.readFile); - * var result = readFileAsObservable('./roadNames.txt', 'utf8'); - * result.subscribe(x => console.log(x), e => console.error(e)); - * - * - * @example Use on function calling callback with multiple arguments - * someFunction((err, a, b) => { - * console.log(err); // null - * console.log(a); // 5 - * console.log(b); // "some string" - * }); - * var boundSomeFunction = Rx.Observable.bindNodeCallback(someFunction); - * boundSomeFunction() - * .subscribe(value => { - * console.log(value); // [5, "some string"] - * }); - * - * - * @example Use with selector function - * someFunction((err, a, b) => { - * console.log(err); // undefined - * console.log(a); // "abc" - * console.log(b); // "DEF" - * }); - * var boundSomeFunction = Rx.Observable.bindNodeCallback(someFunction, (a, b) => a + b); - * boundSomeFunction() - * .subscribe(value => { - * console.log(value); // "abcDEF" - * }); - * - * - * @example Use on function calling callback in regular style - * someFunction(a => { - * console.log(a); // 5 - * }); - * var boundSomeFunction = Rx.Observable.bindNodeCallback(someFunction); - * boundSomeFunction() - * .subscribe( - * value => {} // never gets called - * err => console.log(err) // 5 - *); - * - * - * @see {@link bindCallback} - * @see {@link from} - * @see {@link fromPromise} - * - * @param {function} func Function with a Node.js-style callback as the last parameter. - * @param {function} [selector] A function which takes the arguments from the - * callback and maps those to a value to emit on the output Observable. - * @param {Scheduler} [scheduler] The scheduler on which to schedule the - * callbacks. - * @return {function(...params: *): Observable} A function which returns the - * Observable that delivers the same values the Node.js callback would - * deliver. - * @static true - * @name bindNodeCallback - * @owner Observable - */ - static create(func, selector = undefined, scheduler) { - return function (...args) { - return new BoundNodeCallbackObservable(func, selector, args, this, scheduler); - }; - } - _subscribe(subscriber) { - const callbackFunc = this.callbackFunc; - const args = this.args; - const scheduler = this.scheduler; - let subject = this.subject; - if (!scheduler) { - if (!subject) { - subject = this.subject = new AsyncSubject(); - const handler = function handlerFn(...innerArgs) { - const source = handlerFn.source; - const { selector, subject } = source; - const err = innerArgs.shift(); - if (err) { - subject.error(err); - } - else if (selector) { - const result = tryCatch(selector).apply(this, innerArgs); - if (result === errorObject) { - subject.error(errorObject.e); - } - else { - subject.next(result); - subject.complete(); - } - } - else { - subject.next(innerArgs.length <= 1 ? innerArgs[0] : innerArgs); - subject.complete(); - } - }; - // use named function instance to avoid closure. - handler.source = this; - const result = tryCatch(callbackFunc).apply(this.context, args.concat(handler)); - if (result === errorObject) { - subject.error(errorObject.e); - } - } - return subject.subscribe(subscriber); - } - else { - return scheduler.schedule(dispatch, 0, { source: this, subscriber, context: this.context }); - } - } -} -function dispatch(state) { - const self = this; - const { source, subscriber, context } = state; - // XXX: cast to `any` to access to the private field in `source`. - const { callbackFunc, args, scheduler } = source; - let subject = source.subject; - if (!subject) { - subject = source.subject = new AsyncSubject(); - const handler = function handlerFn(...innerArgs) { - const source = handlerFn.source; - const { selector, subject } = source; - const err = innerArgs.shift(); - if (err) { - self.add(scheduler.schedule(dispatchError, 0, { err, subject })); - } - else if (selector) { - const result = tryCatch(selector).apply(this, innerArgs); - if (result === errorObject) { - self.add(scheduler.schedule(dispatchError, 0, { err: errorObject.e, subject })); - } - else { - self.add(scheduler.schedule(dispatchNext, 0, { value: result, subject })); - } - } - else { - const value = innerArgs.length <= 1 ? innerArgs[0] : innerArgs; - self.add(scheduler.schedule(dispatchNext, 0, { value, subject })); - } - }; - // use named function to pass values in without closure - handler.source = source; - const result = tryCatch(callbackFunc).apply(context, args.concat(handler)); - if (result === errorObject) { - self.add(scheduler.schedule(dispatchError, 0, { err: errorObject.e, subject })); - } - } - self.add(subject.subscribe(subscriber)); -} -function dispatchNext(arg) { - const { value, subject } = arg; - subject.next(value); - subject.complete(); -} -function dispatchError(arg) { - const { err, subject } = arg; - subject.error(err); -} -//# sourceMappingURL=BoundNodeCallbackObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/BoundNodeCallbackObservable.js.map b/node_modules/rxjs/_esm2015/observable/BoundNodeCallbackObservable.js.map deleted file mode 100644 index e51a39d2..00000000 --- a/node_modules/rxjs/_esm2015/observable/BoundNodeCallbackObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BoundNodeCallbackObservable.js","sourceRoot":"","sources":["../../src/observable/BoundNodeCallbackObservable.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,eAAe;OAKnC,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,YAAY,EAAE,MAAM,iBAAiB;AAE9C;;;;GAIG;AACH,iDAAoD,UAAU;IAoJ5D,YAAoB,YAAsB,EACtB,QAAkB,EAClB,IAAW,EACX,OAAY,EACb,SAAqB;QACtC,OAAO,CAAC;QALU,iBAAY,GAAZ,YAAY,CAAU;QACtB,aAAQ,GAAR,QAAQ,CAAU;QAClB,SAAI,GAAJ,IAAI,CAAO;QACX,YAAO,GAAP,OAAO,CAAK;QACb,cAAS,GAAT,SAAS,CAAY;IAExC,CAAC;IA7ID,mCAAmC;IAEn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/_esm2015/observable/ConnectableObservable.js b/node_modules/rxjs/_esm2015/observable/ConnectableObservable.js deleted file mode 100644 index c7bfebaa..00000000 --- a/node_modules/rxjs/_esm2015/observable/ConnectableObservable.js +++ /dev/null @@ -1,156 +0,0 @@ -import { SubjectSubscriber } from '../Subject'; -import { Observable } from '../Observable'; -import { Subscriber } from '../Subscriber'; -import { Subscription } from '../Subscription'; -import { refCount as higherOrderRefCount } from '../operators/refCount'; -/** - * @class ConnectableObservable - */ -export class ConnectableObservable extends Observable { - constructor(source, subjectFactory) { - super(); - this.source = source; - this.subjectFactory = subjectFactory; - this._refCount = 0; - this._isComplete = false; - } - _subscribe(subscriber) { - return this.getSubject().subscribe(subscriber); - } - getSubject() { - const subject = this._subject; - if (!subject || subject.isStopped) { - this._subject = this.subjectFactory(); - } - return this._subject; - } - connect() { - let connection = this._connection; - if (!connection) { - this._isComplete = false; - connection = this._connection = new Subscription(); - connection.add(this.source - .subscribe(new ConnectableSubscriber(this.getSubject(), this))); - if (connection.closed) { - this._connection = null; - connection = Subscription.EMPTY; - } - else { - this._connection = connection; - } - } - return connection; - } - refCount() { - return higherOrderRefCount()(this); - } -} -const connectableProto = ConnectableObservable.prototype; -export const connectableObservableDescriptor = { - operator: { value: null }, - _refCount: { value: 0, writable: true }, - _subject: { value: null, writable: true }, - _connection: { value: null, writable: true }, - _subscribe: { value: connectableProto._subscribe }, - _isComplete: { value: connectableProto._isComplete, writable: true }, - getSubject: { value: connectableProto.getSubject }, - connect: { value: connectableProto.connect }, - refCount: { value: connectableProto.refCount } -}; -class ConnectableSubscriber extends SubjectSubscriber { - constructor(destination, connectable) { - super(destination); - this.connectable = connectable; - } - _error(err) { - this._unsubscribe(); - super._error(err); - } - _complete() { - this.connectable._isComplete = true; - this._unsubscribe(); - super._complete(); - } - _unsubscribe() { - const connectable = this.connectable; - if (connectable) { - this.connectable = null; - const connection = connectable._connection; - connectable._refCount = 0; - connectable._subject = null; - connectable._connection = null; - if (connection) { - connection.unsubscribe(); - } - } - } -} -class RefCountOperator { - constructor(connectable) { - this.connectable = connectable; - } - call(subscriber, source) { - const { connectable } = this; - connectable._refCount++; - const refCounter = new RefCountSubscriber(subscriber, connectable); - const subscription = source.subscribe(refCounter); - if (!refCounter.closed) { - refCounter.connection = connectable.connect(); - } - return subscription; - } -} -class RefCountSubscriber extends Subscriber { - constructor(destination, connectable) { - super(destination); - this.connectable = connectable; - } - _unsubscribe() { - const { connectable } = this; - if (!connectable) { - this.connection = null; - return; - } - this.connectable = null; - const refCount = connectable._refCount; - if (refCount <= 0) { - this.connection = null; - return; - } - connectable._refCount = refCount - 1; - if (refCount > 1) { - this.connection = null; - return; - } - /// - // Compare the local RefCountSubscriber's connection Subscription to the - // connection Subscription on the shared ConnectableObservable. In cases - // where the ConnectableObservable source synchronously emits values, and - // the RefCountSubscriber's downstream Observers synchronously unsubscribe, - // execution continues to here before the RefCountOperator has a chance to - // supply the RefCountSubscriber with the shared connection Subscription. - // For example: - // ``` - // Observable.range(0, 10) - // .publish() - // .refCount() - // .take(5) - // .subscribe(); - // ``` - // In order to account for this case, RefCountSubscriber should only dispose - // the ConnectableObservable's shared connection Subscription if the - // connection Subscription exists, *and* either: - // a. RefCountSubscriber doesn't have a reference to the shared connection - // Subscription yet, or, - // b. RefCountSubscriber's connection Subscription reference is identical - // to the shared connection Subscription - /// - const { connection } = this; - const sharedConnection = connectable._connection; - this.connection = null; - if (sharedConnection && (!connection || sharedConnection === connection)) { - sharedConnection.unsubscribe(); - } - } -} -//# sourceMappingURL=ConnectableObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ConnectableObservable.js.map b/node_modules/rxjs/_esm2015/observable/ConnectableObservable.js.map deleted file mode 100644 index 74490a11..00000000 --- a/node_modules/rxjs/_esm2015/observable/ConnectableObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ConnectableObservable.js","sourceRoot":"","sources":["../../src/observable/ConnectableObservable.ts"],"names":[],"mappings":"OAAO,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CAAC,CAAC,CAAC;YACzE,gBAAgB,CAAC,WAAW,EAAE,CAAC;QACjC,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/DeferObservable.js b/node_modules/rxjs/_esm2015/observable/DeferObservable.js deleted file mode 100644 index 1a92d385..00000000 --- a/node_modules/rxjs/_esm2015/observable/DeferObservable.js +++ /dev/null @@ -1,88 +0,0 @@ -import { Observable } from '../Observable'; -import { subscribeToResult } from '../util/subscribeToResult'; -import { OuterSubscriber } from '../OuterSubscriber'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class DeferObservable extends Observable { - constructor(observableFactory) { - super(); - this.observableFactory = observableFactory; - } - /** - * Creates an Observable that, on subscribe, calls an Observable factory to - * make an Observable for each new Observer. - * - * Creates the Observable lazily, that is, only when it - * is subscribed. - * - * - * - * - * `defer` allows you to create the Observable only when the Observer - * subscribes, and create a fresh Observable for each Observer. It waits until - * an Observer subscribes to it, and then it generates an Observable, - * typically with an Observable factory function. It does this afresh for each - * subscriber, so although each subscriber may think it is subscribing to the - * same Observable, in fact each subscriber gets its own individual - * Observable. - * - * @example Subscribe to either an Observable of clicks or an Observable of interval, at random - * var clicksOrInterval = Rx.Observable.defer(function () { - * if (Math.random() > 0.5) { - * return Rx.Observable.fromEvent(document, 'click'); - * } else { - * return Rx.Observable.interval(1000); - * } - * }); - * clicksOrInterval.subscribe(x => console.log(x)); - * - * // Results in the following behavior: - * // If the result of Math.random() is greater than 0.5 it will listen - * // for clicks anywhere on the "document"; when document is clicked it - * // will log a MouseEvent object to the console. If the result is less - * // than 0.5 it will emit ascending numbers, one every second(1000ms). - * - * @see {@link create} - * - * @param {function(): SubscribableOrPromise} observableFactory The Observable - * factory function to invoke for each Observer that subscribes to the output - * Observable. May also return a Promise, which will be converted on the fly - * to an Observable. - * @return {Observable} An Observable whose Observers' subscriptions trigger - * an invocation of the given Observable factory function. - * @static true - * @name defer - * @owner Observable - */ - static create(observableFactory) { - return new DeferObservable(observableFactory); - } - _subscribe(subscriber) { - return new DeferSubscriber(subscriber, this.observableFactory); - } -} -class DeferSubscriber extends OuterSubscriber { - constructor(destination, factory) { - super(destination); - this.factory = factory; - this.tryDefer(); - } - tryDefer() { - try { - this._callFactory(); - } - catch (err) { - this._error(err); - } - } - _callFactory() { - const result = this.factory(); - if (result) { - this.add(subscribeToResult(this, result)); - } - } -} -//# sourceMappingURL=DeferObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/DeferObservable.js.map b/node_modules/rxjs/_esm2015/observable/DeferObservable.js.map deleted file mode 100644 index 262663ea..00000000 --- a/node_modules/rxjs/_esm2015/observable/DeferObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeferObservable.js","sourceRoot":"","sources":["../../src/observable/DeferObservable.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAyB,MAAM,eAAe;OAI1D,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;OACtD,EAAE,eAAe,EAAE,MAAM,oBAAoB;AACpD;;;;GAIG;AACH,qCAAwC,UAAU;IAoDhD,YAAoB,iBAAwD;QAC1E,OAAO,CAAC;QADU,sBAAiB,GAAjB,iBAAiB,CAAuC;IAE5E,CAAC;IApDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,OAAO,MAAM,CAAI,iBAAwD;QACvE,MAAM,CAAC,IAAI,eAAe,CAAC,iBAAiB,CAAC,CAAC;IAChD,CAAC;IAMS,UAAU,CAAC,UAAyB;QAC5C,MAAM,CAAC,IAAI,eAAe,CAAC,UAAU,EAAE,IAAI,CAAC,iBAAiB,CAAC,CAAC;IACjE,CAAC;AACH,CAAC;AAED,8BAAiC,eAAe;IAC9C,YAAY,WAA0B,EAClB,OAA8C;QAChE,MAAM,WAAW,CAAC,CAAC;QADD,YAAO,GAAP,OAAO,CAAuC;QAEhE,IAAI,CAAC,QAAQ,EAAE,CAAC;IAClB,CAAC;IAEO,QAAQ;QACd,IAAI,CAAC;YACH,IAAI,CAAC,YAAY,EAAE,CAAC;QACtB,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;IACH,CAAC;IAEO,YAAY;QAClB,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;QAC9B,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;YACX,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;QAC5C,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/EmptyObservable.js b/node_modules/rxjs/_esm2015/observable/EmptyObservable.js deleted file mode 100644 index 28a28a48..00000000 --- a/node_modules/rxjs/_esm2015/observable/EmptyObservable.js +++ /dev/null @@ -1,72 +0,0 @@ -import { Observable } from '../Observable'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class EmptyObservable extends Observable { - constructor(scheduler) { - super(); - this.scheduler = scheduler; - } - /** - * Creates an Observable that emits no items to the Observer and immediately - * emits a complete notification. - * - * Just emits 'complete', and nothing else. - * - * - * - * - * This static operator is useful for creating a simple Observable that only - * emits the complete notification. It can be used for composing with other - * Observables, such as in a {@link mergeMap}. - * - * @example Emit the number 7, then complete. - * var result = Rx.Observable.empty().startWith(7); - * result.subscribe(x => console.log(x)); - * - * @example Map and flatten only odd numbers to the sequence 'a', 'b', 'c' - * var interval = Rx.Observable.interval(1000); - * var result = interval.mergeMap(x => - * x % 2 === 1 ? Rx.Observable.of('a', 'b', 'c') : Rx.Observable.empty() - * ); - * result.subscribe(x => console.log(x)); - * - * // Results in the following to the console: - * // x is equal to the count on the interval eg(0,1,2,3,...) - * // x will occur every 1000ms - * // if x % 2 is equal to 1 print abc - * // if x % 2 is not equal to 1 nothing will be output - * - * @see {@link create} - * @see {@link never} - * @see {@link of} - * @see {@link throw} - * - * @param {Scheduler} [scheduler] A {@link IScheduler} to use for scheduling - * the emission of the complete notification. - * @return {Observable} An "empty" Observable: emits only the complete - * notification. - * @static true - * @name empty - * @owner Observable - */ - static create(scheduler) { - return new EmptyObservable(scheduler); - } - static dispatch(arg) { - const { subscriber } = arg; - subscriber.complete(); - } - _subscribe(subscriber) { - const scheduler = this.scheduler; - if (scheduler) { - return scheduler.schedule(EmptyObservable.dispatch, 0, { subscriber }); - } - else { - subscriber.complete(); - } - } -} -//# sourceMappingURL=EmptyObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/EmptyObservable.js.map b/node_modules/rxjs/_esm2015/observable/EmptyObservable.js.map deleted file mode 100644 index 66a12088..00000000 --- a/node_modules/rxjs/_esm2015/observable/EmptyObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"EmptyObservable.js","sourceRoot":"","sources":["../../src/observable/EmptyObservable.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;AAO1C;;;;GAIG;AACH,qCAAwC,UAAU;IAsDhD,YAAoB,SAAsB;QACxC,OAAO,CAAC;QADU,cAAS,GAAT,SAAS,CAAa;IAE1C,CAAC;IAtDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;IACH,OAAO,MAAM,CAAI,SAAsB;QACrC,MAAM,CAAC,IAAI,eAAe,CAAI,SAAS,CAAC,CAAC;IAC3C,CAAC;IAED,OAAO,QAAQ,CAAI,GAAmB;QACpC,MAAM,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC;QAC3B,UAAU,CAAC,QAAQ,EAAE,CAAC;IACxB,CAAC;IAMS,UAAU,CAAC,UAAyB;QAE5C,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAEjC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;YACd,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,EAAE,EAAE,UAAU,EAAE,CAAC,CAAC;QACzE,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,UAAU,CAAC,QAAQ,EAAE,CAAC;QACxB,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ErrorObservable.js b/node_modules/rxjs/_esm2015/observable/ErrorObservable.js deleted file mode 100644 index 088b9310..00000000 --- a/node_modules/rxjs/_esm2015/observable/ErrorObservable.js +++ /dev/null @@ -1,74 +0,0 @@ -import { Observable } from '../Observable'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class ErrorObservable extends Observable { - constructor(error, scheduler) { - super(); - this.error = error; - this.scheduler = scheduler; - } - /** - * Creates an Observable that emits no items to the Observer and immediately - * emits an error notification. - * - * Just emits 'error', and nothing else. - * - * - * - * - * This static operator is useful for creating a simple Observable that only - * emits the error notification. It can be used for composing with other - * Observables, such as in a {@link mergeMap}. - * - * @example Emit the number 7, then emit an error. - * var result = Rx.Observable.throw(new Error('oops!')).startWith(7); - * result.subscribe(x => console.log(x), e => console.error(e)); - * - * @example Map and flatten numbers to the sequence 'a', 'b', 'c', but throw an error for 13 - * var interval = Rx.Observable.interval(1000); - * var result = interval.mergeMap(x => - * x === 13 ? - * Rx.Observable.throw('Thirteens are bad') : - * Rx.Observable.of('a', 'b', 'c') - * ); - * result.subscribe(x => console.log(x), e => console.error(e)); - * - * @see {@link create} - * @see {@link empty} - * @see {@link never} - * @see {@link of} - * - * @param {any} error The particular Error to pass to the error notification. - * @param {Scheduler} [scheduler] A {@link IScheduler} to use for scheduling - * the emission of the error notification. - * @return {Observable} An error Observable: emits only the error notification - * using the given error argument. - * @static true - * @name throw - * @owner Observable - */ - static create(error, scheduler) { - return new ErrorObservable(error, scheduler); - } - static dispatch(arg) { - const { error, subscriber } = arg; - subscriber.error(error); - } - _subscribe(subscriber) { - const error = this.error; - const scheduler = this.scheduler; - subscriber.syncErrorThrowable = true; - if (scheduler) { - return scheduler.schedule(ErrorObservable.dispatch, 0, { - error, subscriber - }); - } - else { - subscriber.error(error); - } - } -} -//# sourceMappingURL=ErrorObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ErrorObservable.js.map b/node_modules/rxjs/_esm2015/observable/ErrorObservable.js.map deleted file mode 100644 index 68a45dd2..00000000 --- a/node_modules/rxjs/_esm2015/observable/ErrorObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ErrorObservable.js","sourceRoot":"","sources":["../../src/observable/ErrorObservable.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAS1C;;;;GAIG;AACH,qCAAqC,UAAU;IAmD7C,YAAmB,KAAU,EAAU,SAAsB;QAC3D,OAAO,CAAC;QADS,UAAK,GAAL,KAAK,CAAK;QAAU,cAAS,GAAT,SAAS,CAAa;IAE7D,CAAC;IAnDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;IACH,OAAO,MAAM,CAAC,KAAU,EAAE,SAAsB;QAC9C,MAAM,CAAC,IAAI,eAAe,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;IAC/C,CAAC;IAED,OAAO,QAAQ,CAAC,GAAgB;QAC9B,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC;QAClC,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAC1B,CAAC;IAMS,UAAU,CAAC,UAA2B;QAC9C,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAEjC,UAAU,CAAC,kBAAkB,GAAG,IAAI,CAAC;QAErC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;YACd,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,EAAE;gBACrD,KAAK,EAAE,UAAU;aAClB,CAAC,CAAC;QACL,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAC1B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ForkJoinObservable.js b/node_modules/rxjs/_esm2015/observable/ForkJoinObservable.js deleted file mode 100644 index b2766063..00000000 --- a/node_modules/rxjs/_esm2015/observable/ForkJoinObservable.js +++ /dev/null @@ -1,187 +0,0 @@ -import { Observable } from '../Observable'; -import { EmptyObservable } from './EmptyObservable'; -import { isArray } from '../util/isArray'; -import { subscribeToResult } from '../util/subscribeToResult'; -import { OuterSubscriber } from '../OuterSubscriber'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class ForkJoinObservable extends Observable { - constructor(sources, resultSelector) { - super(); - this.sources = sources; - this.resultSelector = resultSelector; - } - /* tslint:enable:max-line-length */ - /** - * Joins last values emitted by passed Observables. - * - * Wait for Observables to complete and then combine last values they emitted. - * - * - * - * `forkJoin` is an operator that takes any number of Observables which can be passed either as an array - * or directly as arguments. If no input Observables are provided, resulting stream will complete - * immediately. - * - * `forkJoin` will wait for all passed Observables to complete and then it will emit an array with last - * values from corresponding Observables. So if you pass `n` Observables to the operator, resulting - * array will have `n` values, where first value is the last thing emitted by the first Observable, - * second value is the last thing emitted by the second Observable and so on. That means `forkJoin` will - * not emit more than once and it will complete after that. If you need to emit combined values not only - * at the end of lifecycle of passed Observables, but also throughout it, try out {@link combineLatest} - * or {@link zip} instead. - * - * In order for resulting array to have the same length as the number of input Observables, whenever any of - * that Observables completes without emitting any value, `forkJoin` will complete at that moment as well - * and it will not emit anything either, even if it already has some last values from other Observables. - * Conversely, if there is an Observable that never completes, `forkJoin` will never complete as well, - * unless at any point some other Observable completes without emitting value, which brings us back to - * the previous case. Overall, in order for `forkJoin` to emit a value, all Observables passed as arguments - * have to emit something at least once and complete. - * - * If any input Observable errors at some point, `forkJoin` will error as well and all other Observables - * will be immediately unsubscribed. - * - * Optionally `forkJoin` accepts project function, that will be called with values which normally - * would land in emitted array. Whatever is returned by project function, will appear in output - * Observable instead. This means that default project can be thought of as a function that takes - * all its arguments and puts them into an array. Note that project function will be called only - * when output Observable is supposed to emit a result. - * - * @example Use forkJoin with operator emitting immediately - * const observable = Rx.Observable.forkJoin( - * Rx.Observable.of(1, 2, 3, 4), - * Rx.Observable.of(5, 6, 7, 8) - * ); - * observable.subscribe( - * value => console.log(value), - * err => {}, - * () => console.log('This is how it ends!') - * ); - * - * // Logs: - * // [4, 8] - * // "This is how it ends!" - * - * - * @example Use forkJoin with operator emitting after some time - * const observable = Rx.Observable.forkJoin( - * Rx.Observable.interval(1000).take(3), // emit 0, 1, 2 every second and complete - * Rx.Observable.interval(500).take(4) // emit 0, 1, 2, 3 every half a second and complete - * ); - * observable.subscribe( - * value => console.log(value), - * err => {}, - * () => console.log('This is how it ends!') - * ); - * - * // Logs: - * // [2, 3] after 3 seconds - * // "This is how it ends!" immediately after - * - * - * @example Use forkJoin with project function - * const observable = Rx.Observable.forkJoin( - * Rx.Observable.interval(1000).take(3), // emit 0, 1, 2 every second and complete - * Rx.Observable.interval(500).take(4), // emit 0, 1, 2, 3 every half a second and complete - * (n, m) => n + m - * ); - * observable.subscribe( - * value => console.log(value), - * err => {}, - * () => console.log('This is how it ends!') - * ); - * - * // Logs: - * // 5 after 3 seconds - * // "This is how it ends!" immediately after - * - * @see {@link combineLatest} - * @see {@link zip} - * - * @param {...SubscribableOrPromise} sources Any number of Observables provided either as an array or as an arguments - * passed directly to the operator. - * @param {function} [project] Function that takes values emitted by input Observables and returns value - * that will appear in resulting Observable instead of default array. - * @return {Observable} Observable emitting either an array of last values emitted by passed Observables - * or value from project function. - * @static true - * @name forkJoin - * @owner Observable - */ - static create(...sources) { - if (sources === null || arguments.length === 0) { - return new EmptyObservable(); - } - let resultSelector = null; - if (typeof sources[sources.length - 1] === 'function') { - resultSelector = sources.pop(); - } - // if the first and only other argument besides the resultSelector is an array - // assume it's been called with `forkJoin([obs1, obs2, obs3], resultSelector)` - if (sources.length === 1 && isArray(sources[0])) { - sources = sources[0]; - } - if (sources.length === 0) { - return new EmptyObservable(); - } - return new ForkJoinObservable(sources, resultSelector); - } - _subscribe(subscriber) { - return new ForkJoinSubscriber(subscriber, this.sources, this.resultSelector); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class ForkJoinSubscriber extends OuterSubscriber { - constructor(destination, sources, resultSelector) { - super(destination); - this.sources = sources; - this.resultSelector = resultSelector; - this.completed = 0; - this.haveValues = 0; - const len = sources.length; - this.total = len; - this.values = new Array(len); - for (let i = 0; i < len; i++) { - const source = sources[i]; - const innerSubscription = subscribeToResult(this, source, null, i); - if (innerSubscription) { - innerSubscription.outerIndex = i; - this.add(innerSubscription); - } - } - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - this.values[outerIndex] = innerValue; - if (!innerSub._hasValue) { - innerSub._hasValue = true; - this.haveValues++; - } - } - notifyComplete(innerSub) { - const destination = this.destination; - const { haveValues, resultSelector, values } = this; - const len = values.length; - if (!innerSub._hasValue) { - destination.complete(); - return; - } - this.completed++; - if (this.completed !== len) { - return; - } - if (haveValues === len) { - const value = resultSelector ? resultSelector.apply(this, values) : values; - destination.next(value); - } - destination.complete(); - } -} -//# sourceMappingURL=ForkJoinObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ForkJoinObservable.js.map b/node_modules/rxjs/_esm2015/observable/ForkJoinObservable.js.map deleted file mode 100644 index ee3aa5e9..00000000 --- a/node_modules/rxjs/_esm2015/observable/ForkJoinObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ForkJoinObservable.js","sourceRoot":"","sources":["../../src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AC,GAAG,UAAU,CAAC;QACrC,EAAE,CAAC,CAAC,CAAO,QAAS,CAAC,SAAS,CAAC,CAAC,CAAC;YACzB,QAAS,CAAC,SAAS,GAAG,IAAI,CAAC;YACjC,IAAI,CAAC,UAAU,EAAE,CAAC;QACpB,CAAC;IACH,CAAC;IAED,cAAc,CAAC,QAA+B;QAC5C,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,MAAM,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QACpD,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC;QAE1B,EAAE,CAAC,CAAC,CAAO,QAAS,CAAC,SAAS,CAAC,CAAC,CAAC;YAC/B,WAAW,CAAC,QAAQ,EAAE,CAAC;YACvB,MAAM,CAAC;QACT,CAAC;QAED,IAAI,CAAC,SAAS,EAAE,CAAC;QAEjB,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,KAAK,GAAG,CAAC,CAAC,CAAC;YAC3B,MAAM,CAAC;QACT,CAAC;QAED,EAAE,CAAC,CAAC,UAAU,KAAK,GAAG,CAAC,CAAC,CAAC;YACvB,MAAM,KAAK,GAAG,cAAc,GAAG,cAAc,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC;YAC3E,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC1B,CAAC;QAED,WAAW,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/FromEventObservable.js b/node_modules/rxjs/_esm2015/observable/FromEventObservable.js deleted file mode 100644 index 40a45d94..00000000 --- a/node_modules/rxjs/_esm2015/observable/FromEventObservable.js +++ /dev/null @@ -1,203 +0,0 @@ -import { Observable } from '../Observable'; -import { tryCatch } from '../util/tryCatch'; -import { isFunction } from '../util/isFunction'; -import { errorObject } from '../util/errorObject'; -import { Subscription } from '../Subscription'; -const toString = Object.prototype.toString; -function isNodeStyleEventEmitter(sourceObj) { - return !!sourceObj && typeof sourceObj.addListener === 'function' && typeof sourceObj.removeListener === 'function'; -} -function isJQueryStyleEventEmitter(sourceObj) { - return !!sourceObj && typeof sourceObj.on === 'function' && typeof sourceObj.off === 'function'; -} -function isNodeList(sourceObj) { - return !!sourceObj && toString.call(sourceObj) === '[object NodeList]'; -} -function isHTMLCollection(sourceObj) { - return !!sourceObj && toString.call(sourceObj) === '[object HTMLCollection]'; -} -function isEventTarget(sourceObj) { - return !!sourceObj && typeof sourceObj.addEventListener === 'function' && typeof sourceObj.removeEventListener === 'function'; -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class FromEventObservable extends Observable { - constructor(sourceObj, eventName, selector, options) { - super(); - this.sourceObj = sourceObj; - this.eventName = eventName; - this.selector = selector; - this.options = options; - } - /* tslint:enable:max-line-length */ - /** - * Creates an Observable that emits events of a specific type coming from the - * given event target. - * - * Creates an Observable from DOM events, or Node.js - * EventEmitter events or others. - * - * - * - * `fromEvent` accepts as a first argument event target, which is an object with methods - * for registering event handler functions. As a second argument it takes string that indicates - * type of event we want to listen for. `fromEvent` supports selected types of event targets, - * which are described in detail below. If your event target does not match any of the ones listed, - * you should use {@link fromEventPattern}, which can be used on arbitrary APIs. - * When it comes to APIs supported by `fromEvent`, their methods for adding and removing event - * handler functions have different names, but they all accept a string describing event type - * and function itself, which will be called whenever said event happens. - * - * Every time resulting Observable is subscribed, event handler function will be registered - * to event target on given event type. When that event fires, value - * passed as a first argument to registered function will be emitted by output Observable. - * When Observable is unsubscribed, function will be unregistered from event target. - * - * Note that if event target calls registered function with more than one argument, second - * and following arguments will not appear in resulting stream. In order to get access to them, - * you can pass to `fromEvent` optional project function, which will be called with all arguments - * passed to event handler. Output Observable will then emit value returned by project function, - * instead of the usual value. - * - * Remember that event targets listed below are checked via duck typing. It means that - * no matter what kind of object you have and no matter what environment you work in, - * you can safely use `fromEvent` on that object if it exposes described methods (provided - * of course they behave as was described above). So for example if Node.js library exposes - * event target which has the same method names as DOM EventTarget, `fromEvent` is still - * a good choice. - * - * If the API you use is more callback then event handler oriented (subscribed - * callback function fires only once and thus there is no need to manually - * unregister it), you should use {@link bindCallback} or {@link bindNodeCallback} - * instead. - * - * `fromEvent` supports following types of event targets: - * - * **DOM EventTarget** - * - * This is an object with `addEventListener` and `removeEventListener` methods. - * - * In the browser, `addEventListener` accepts - apart from event type string and event - * handler function arguments - optional third parameter, which is either an object or boolean, - * both used for additional configuration how and when passed function will be called. When - * `fromEvent` is used with event target of that type, you can provide this values - * as third parameter as well. - * - * **Node.js EventEmitter** - * - * An object with `addListener` and `removeListener` methods. - * - * **JQuery-style event target** - * - * An object with `on` and `off` methods - * - * **DOM NodeList** - * - * List of DOM Nodes, returned for example by `document.querySelectorAll` or `Node.childNodes`. - * - * Although this collection is not event target in itself, `fromEvent` will iterate over all Nodes - * it contains and install event handler function in every of them. When returned Observable - * is unsubscribed, function will be removed from all Nodes. - * - * **DOM HtmlCollection** - * - * Just as in case of NodeList it is a collection of DOM nodes. Here as well event handler function is - * installed and removed in each of elements. - * - * - * @example Emits clicks happening on the DOM document - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * clicks.subscribe(x => console.log(x)); - * - * // Results in: - * // MouseEvent object logged to console every time a click - * // occurs on the document. - * - * - * @example Use addEventListener with capture option - * var clicksInDocument = Rx.Observable.fromEvent(document, 'click', true); // note optional configuration parameter - * // which will be passed to addEventListener - * var clicksInDiv = Rx.Observable.fromEvent(someDivInDocument, 'click'); - * - * clicksInDocument.subscribe(() => console.log('document')); - * clicksInDiv.subscribe(() => console.log('div')); - * - * // By default events bubble UP in DOM tree, so normally - * // when we would click on div in document - * // "div" would be logged first and then "document". - * // Since we specified optional `capture` option, document - * // will catch event when it goes DOWN DOM tree, so console - * // will log "document" and then "div". - * - * @see {@link bindCallback} - * @see {@link bindNodeCallback} - * @see {@link fromEventPattern} - * - * @param {EventTargetLike} target The DOM EventTarget, Node.js - * EventEmitter, JQuery-like event target, NodeList or HTMLCollection to attach the event handler to. - * @param {string} eventName The event name of interest, being emitted by the - * `target`. - * @param {EventListenerOptions} [options] Options to pass through to addEventListener - * @param {SelectorMethodSignature} [selector] An optional function to - * post-process results. It takes the arguments from the event handler and - * should return a single value. - * @return {Observable} - * @static true - * @name fromEvent - * @owner Observable - */ - static create(target, eventName, options, selector) { - if (isFunction(options)) { - selector = options; - options = undefined; - } - return new FromEventObservable(target, eventName, selector, options); - } - static setupSubscription(sourceObj, eventName, handler, subscriber, options) { - let unsubscribe; - if (isNodeList(sourceObj) || isHTMLCollection(sourceObj)) { - for (let i = 0, len = sourceObj.length; i < len; i++) { - FromEventObservable.setupSubscription(sourceObj[i], eventName, handler, subscriber, options); - } - } - else if (isEventTarget(sourceObj)) { - const source = sourceObj; - sourceObj.addEventListener(eventName, handler, options); - unsubscribe = () => source.removeEventListener(eventName, handler, options); - } - else if (isJQueryStyleEventEmitter(sourceObj)) { - const source = sourceObj; - sourceObj.on(eventName, handler); - unsubscribe = () => source.off(eventName, handler); - } - else if (isNodeStyleEventEmitter(sourceObj)) { - const source = sourceObj; - sourceObj.addListener(eventName, handler); - unsubscribe = () => source.removeListener(eventName, handler); - } - else { - throw new TypeError('Invalid event target'); - } - subscriber.add(new Subscription(unsubscribe)); - } - _subscribe(subscriber) { - const sourceObj = this.sourceObj; - const eventName = this.eventName; - const options = this.options; - const selector = this.selector; - let handler = selector ? (...args) => { - let result = tryCatch(selector)(...args); - if (result === errorObject) { - subscriber.error(errorObject.e); - } - else { - subscriber.next(result); - } - } : (e) => subscriber.next(e); - FromEventObservable.setupSubscription(sourceObj, eventName, handler, subscriber, options); - } -} -//# sourceMappingURL=FromEventObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/FromEventObservable.js.map b/node_modules/rxjs/_esm2015/observable/FromEventObservable.js.map deleted file mode 100644 index 02686032..00000000 --- a/node_modules/rxjs/_esm2015/observable/FromEventObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"FromEventObservable.js","sourceRoot":"","sources":["../../src/observable/FromEventObservable.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,UAAU,EAAE,MAAM,oBAAoB;OACxC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,YAAY,EAAE,MAAM,iBAAiB;AAG9C,MAAM,QAAQ,GAAa,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC;AAMrD,iCAAiC,SAAc;IAC7C,MAAM,CAAC,CAAC,CAAC,SAAS,IAAI,OAAO,SAAS,CAAC,WAAW,KAAK,UAAU,IAAI,OAAO,SAAS,CAAC,cAAc,KAAK,UAAU,CAAC;AACtH,CAAC;AAMD,mCAAmC,SAAc;IAC/C,MAAM,CAAC,CAAC,CAAC,SAAS,IAAI,OAAO,SAAS,CAAC,EAAE,KAAK,UAAU,IAAI,OAAO,SAAS,CAAC,GAAG,KAAK,UAAU,CAAC;AAClG,CAAC;AAED,oBAAoB,SAAc;IAChC,MAAM,CAAC,CAAC,CAAC,SAAS,IAAI,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,mBAAmB,CAAC;AACzE,CAAC;AAED,0BAA0B,SAAc;IACtC,MAAM,CAAC,CAAC,CAAC,SAAS,IAAI,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,yBAAyB,CAAC;AAC/E,CAAC;AAED,uBAAuB,SAAc;IACnC,MAAM,CAAC,CAAC,CAAC,SAAS,IAAI,OAAO,SAAS,CAAC,gBAAgB,KAAK,UAAU,IAAI,OAAO,SAAS,CAAC,mBAAmB,KAAK,UAAU,CAAC;AAChI,CAAC;AAYD;;;;GAIG;AACH,yCAA4C,UAAU;IAwIpD,YAAoB,SAA0B,EAC1B,SAAiB,EACjB,QAAqC,EACrC,OAA8B;QAChD,OAAO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GAAG,IAAI,CAAC,CAAC;YACzC,EAAE,CAAC,CAAC,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC;gBAC3B,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YAClC,CAAC;YAAC,IAAI,CAAC,CAAC;gBACN,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAC1B,CAAC;QACH,CAAC,GAAG,CAAC,CAAM,KAAK,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAEnC,mBAAmB,CAAC,iBAAiB,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IAC5F,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/FromEventPatternObservable.js b/node_modules/rxjs/_esm2015/observable/FromEventPatternObservable.js deleted file mode 100644 index c7a4f7ac..00000000 --- a/node_modules/rxjs/_esm2015/observable/FromEventPatternObservable.js +++ /dev/null @@ -1,99 +0,0 @@ -import { isFunction } from '../util/isFunction'; -import { Observable } from '../Observable'; -import { Subscription } from '../Subscription'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class FromEventPatternObservable extends Observable { - constructor(addHandler, removeHandler, selector) { - super(); - this.addHandler = addHandler; - this.removeHandler = removeHandler; - this.selector = selector; - } - /** - * Creates an Observable from an API based on addHandler/removeHandler - * functions. - * - * Converts any addHandler/removeHandler API to an - * Observable. - * - * - * - * Creates an Observable by using the `addHandler` and `removeHandler` - * functions to add and remove the handlers, with an optional selector - * function to project the event arguments to a result. The `addHandler` is - * called when the output Observable is subscribed, and `removeHandler` is - * called when the Subscription is unsubscribed. - * - * @example Emits clicks happening on the DOM document - * function addClickHandler(handler) { - * document.addEventListener('click', handler); - * } - * - * function removeClickHandler(handler) { - * document.removeEventListener('click', handler); - * } - * - * var clicks = Rx.Observable.fromEventPattern( - * addClickHandler, - * removeClickHandler - * ); - * clicks.subscribe(x => console.log(x)); - * - * @see {@link from} - * @see {@link fromEvent} - * - * @param {function(handler: Function): any} addHandler A function that takes - * a `handler` function as argument and attaches it somehow to the actual - * source of events. - * @param {function(handler: Function, signal?: any): void} [removeHandler] An optional function that - * takes a `handler` function as argument and removes it in case it was - * previously attached using `addHandler`. if addHandler returns signal to teardown when remove, - * removeHandler function will forward it. - * @param {function(...args: any): T} [selector] An optional function to - * post-process results. It takes the arguments from the event handler and - * should return a single value. - * @return {Observable} - * @static true - * @name fromEventPattern - * @owner Observable - */ - static create(addHandler, removeHandler, selector) { - return new FromEventPatternObservable(addHandler, removeHandler, selector); - } - _subscribe(subscriber) { - const removeHandler = this.removeHandler; - const handler = !!this.selector ? (...args) => { - this._callSelector(subscriber, args); - } : function (e) { subscriber.next(e); }; - const retValue = this._callAddHandler(handler, subscriber); - if (!isFunction(removeHandler)) { - return; - } - subscriber.add(new Subscription(() => { - //TODO: determine whether or not to forward to error handler - removeHandler(handler, retValue); - })); - } - _callSelector(subscriber, args) { - try { - const result = this.selector(...args); - subscriber.next(result); - } - catch (e) { - subscriber.error(e); - } - } - _callAddHandler(handler, errorSubscriber) { - try { - return this.addHandler(handler) || null; - } - catch (e) { - errorSubscriber.error(e); - } - } -} -//# sourceMappingURL=FromEventPatternObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/FromEventPatternObservable.js.map b/node_modules/rxjs/_esm2015/observable/FromEventPatternObservable.js.map deleted file mode 100644 index 81402685..00000000 --- a/node_modules/rxjs/_esm2015/observable/FromEventPatternObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"FromEventPatternObservable.js","sourceRoot":"","sources":["../../src/observable/FromEventPatternObservable.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB;OACxC,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,YAAY,EAAE,MAAM,iBAAiB;AAG9C;;;;GAIG;AACH,gDAAmD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AC;QAC1B,CACA;QAAA,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YACT,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACtB,CAAC;IACH,CAAC;IAEO,eAAe,CAAC,OAAyB,EAAE,eAA8B;QAC/E,IAAI,CAAC;YACH,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC;QAC1C,CACA;QAAA,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YACT,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/FromObservable.js b/node_modules/rxjs/_esm2015/observable/FromObservable.js deleted file mode 100644 index f8615196..00000000 --- a/node_modules/rxjs/_esm2015/observable/FromObservable.js +++ /dev/null @@ -1,113 +0,0 @@ -import { isArray } from '../util/isArray'; -import { isArrayLike } from '../util/isArrayLike'; -import { isPromise } from '../util/isPromise'; -import { PromiseObservable } from './PromiseObservable'; -import { IteratorObservable } from './IteratorObservable'; -import { ArrayObservable } from './ArrayObservable'; -import { ArrayLikeObservable } from './ArrayLikeObservable'; -import { iterator as Symbol_iterator } from '../symbol/iterator'; -import { Observable } from '../Observable'; -import { ObserveOnSubscriber } from '../operators/observeOn'; -import { observable as Symbol_observable } from '../symbol/observable'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class FromObservable extends Observable { - constructor(ish, scheduler) { - super(null); - this.ish = ish; - this.scheduler = scheduler; - } - /** - * Creates an Observable from an Array, an array-like object, a Promise, an - * iterable object, or an Observable-like object. - * - * Converts almost anything to an Observable. - * - * - * - * Convert various other objects and data types into Observables. `from` - * converts a Promise or an array-like or an - * [iterable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#iterable) - * object into an Observable that emits the items in that promise or array or - * iterable. A String, in this context, is treated as an array of characters. - * Observable-like objects (contains a function named with the ES2015 Symbol - * for Observable) can also be converted through this operator. - * - * @example Converts an array to an Observable - * var array = [10, 20, 30]; - * var result = Rx.Observable.from(array); - * result.subscribe(x => console.log(x)); - * - * // Results in the following: - * // 10 20 30 - * - * @example Convert an infinite iterable (from a generator) to an Observable - * function* generateDoubles(seed) { - * var i = seed; - * while (true) { - * yield i; - * i = 2 * i; // double it - * } - * } - * - * var iterator = generateDoubles(3); - * var result = Rx.Observable.from(iterator).take(10); - * result.subscribe(x => console.log(x)); - * - * // Results in the following: - * // 3 6 12 24 48 96 192 384 768 1536 - * - * @see {@link create} - * @see {@link fromEvent} - * @see {@link fromEventPattern} - * @see {@link fromPromise} - * - * @param {ObservableInput} ish A subscribable object, a Promise, an - * Observable-like, an Array, an iterable or an array-like object to be - * converted. - * @param {Scheduler} [scheduler] The scheduler on which to schedule the - * emissions of values. - * @return {Observable} The Observable whose values are originally from the - * input object that was converted. - * @static true - * @name from - * @owner Observable - */ - static create(ish, scheduler) { - if (ish != null) { - if (typeof ish[Symbol_observable] === 'function') { - if (ish instanceof Observable && !scheduler) { - return ish; - } - return new FromObservable(ish, scheduler); - } - else if (isArray(ish)) { - return new ArrayObservable(ish, scheduler); - } - else if (isPromise(ish)) { - return new PromiseObservable(ish, scheduler); - } - else if (typeof ish[Symbol_iterator] === 'function' || typeof ish === 'string') { - return new IteratorObservable(ish, scheduler); - } - else if (isArrayLike(ish)) { - return new ArrayLikeObservable(ish, scheduler); - } - } - throw new TypeError((ish !== null && typeof ish || ish) + ' is not observable'); - } - _subscribe(subscriber) { - const ish = this.ish; - const scheduler = this.scheduler; - if (scheduler == null) { - return ish[Symbol_observable]().subscribe(subscriber); - } - else { - return ish[Symbol_observable]().subscribe(new ObserveOnSubscriber(subscriber, scheduler, 0)); - } - } -} -//# sourceMappingURL=FromObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/FromObservable.js.map b/node_modules/rxjs/_esm2015/observable/FromObservable.js.map deleted file mode 100644 index 27ba6e6e..00000000 --- a/node_modules/rxjs/_esm2015/observable/FromObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"FromObservable.js","sourceRoot":"","sources":["../../src/observable/FromObservable.ts"],"names":[],"mappings":"OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB;OAClC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,SAAS,EAAE,MAAM,mBAAmB;OACtC,EAAE,iBAAiB,EAAE,MAAM,qBAAqB;OAChD,EAAE,kBAAkB,EAAE,MAAK,sBAAsB;OACjD,EAAE,eAAe,EAAE,MAAM,mBAAmB;OAC5C,EAAE,mBAAmB,EAAE,MAAM,uBAAuB;OAGpD,EAAE,QAAQ,IAAI,eAAe,EAAE,MAAM,oBAAoB;OACzD,EAAE,UAAU,EAAmB,MAAM,eAAe;OAEpD,EAAE,mBAAmB,EAAE,MAAM,wBAAwB;OACrD,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,sBAAsB;AAEtE;;;;GAIG;AACH,oCAAuC,UAAU;IAC/C,YAAoB,GAAuB,EAAU,SAAsB;QACzE,MAAM,IAAI,CAAC,CAAC;QADM,QAAG,GAAH,GAAG,CAAoB;QAAU,cAAS,GAAT,SAAS,CAAa;IAE3E,CAAC;IAKD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuDG;IACH,OAAO,MAAM,CAAI,GAAuB,EAAE,SAAsB;QAC9D,EAAE,CAAC,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAC;YAChB,EAAE,CAAC,CAAC,OAAO,GAAG,CAAC,iBAAiB,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC;gBACjD,EAAE,CAAC,CAAC,GAAG,YAAY,UAAU,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;oBAC5C,MAAM,CAAC,GAAG,CAAC;gBACb,CAAC;gBACD,MAAM,CAAC,IAAI,c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AE,CAAC,SAAS,CAAC,IAAI,mBAAmB,CAAC,UAAU,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC;QAC/F,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/GenerateObservable.js b/node_modules/rxjs/_esm2015/observable/GenerateObservable.js deleted file mode 100644 index a5163bc9..00000000 --- a/node_modules/rxjs/_esm2015/observable/GenerateObservable.js +++ /dev/null @@ -1,126 +0,0 @@ -import { Observable } from '../Observable'; -import { isScheduler } from '../util/isScheduler'; -const selfSelector = (value) => value; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class GenerateObservable extends Observable { - constructor(initialState, condition, iterate, resultSelector, scheduler) { - super(); - this.initialState = initialState; - this.condition = condition; - this.iterate = iterate; - this.resultSelector = resultSelector; - this.scheduler = scheduler; - } - static create(initialStateOrOptions, condition, iterate, resultSelectorOrObservable, scheduler) { - if (arguments.length == 1) { - return new GenerateObservable(initialStateOrOptions.initialState, initialStateOrOptions.condition, initialStateOrOptions.iterate, initialStateOrOptions.resultSelector || selfSelector, initialStateOrOptions.scheduler); - } - if (resultSelectorOrObservable === undefined || isScheduler(resultSelectorOrObservable)) { - return new GenerateObservable(initialStateOrOptions, condition, iterate, selfSelector, resultSelectorOrObservable); - } - return new GenerateObservable(initialStateOrOptions, condition, iterate, resultSelectorOrObservable, scheduler); - } - _subscribe(subscriber) { - let state = this.initialState; - if (this.scheduler) { - return this.scheduler.schedule(GenerateObservable.dispatch, 0, { - subscriber, - iterate: this.iterate, - condition: this.condition, - resultSelector: this.resultSelector, - state }); - } - const { condition, resultSelector, iterate } = this; - do { - if (condition) { - let conditionResult; - try { - conditionResult = condition(state); - } - catch (err) { - subscriber.error(err); - return; - } - if (!conditionResult) { - subscriber.complete(); - break; - } - } - let value; - try { - value = resultSelector(state); - } - catch (err) { - subscriber.error(err); - return; - } - subscriber.next(value); - if (subscriber.closed) { - break; - } - try { - state = iterate(state); - } - catch (err) { - subscriber.error(err); - return; - } - } while (true); - } - static dispatch(state) { - const { subscriber, condition } = state; - if (subscriber.closed) { - return; - } - if (state.needIterate) { - try { - state.state = state.iterate(state.state); - } - catch (err) { - subscriber.error(err); - return; - } - } - else { - state.needIterate = true; - } - if (condition) { - let conditionResult; - try { - conditionResult = condition(state.state); - } - catch (err) { - subscriber.error(err); - return; - } - if (!conditionResult) { - subscriber.complete(); - return; - } - if (subscriber.closed) { - return; - } - } - let value; - try { - value = state.resultSelector(state.state); - } - catch (err) { - subscriber.error(err); - return; - } - if (subscriber.closed) { - return; - } - subscriber.next(value); - if (subscriber.closed) { - return; - } - return this.schedule(state); - } -} -//# sourceMappingURL=GenerateObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/GenerateObservable.js.map b/node_modules/rxjs/_esm2015/observable/GenerateObservable.js.map deleted file mode 100644 index de2d561b..00000000 --- a/node_modules/rxjs/_esm2015/observable/GenerateObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GenerateObservable.js","sourceRoot":"","sources":["../../src/observable/GenerateObservable.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;OAGnC,EAAE,WAAW,EAAE,MAAM,qBAAqB;AAEjD,MAAM,YAAY,GAAG,CAAI,KAAQ,KAAK,KAAK,CAAC;AA4C5C;;;;GAIG;AACH,wCAA8C,UAAU;IACtD,YAAoB,YAAe,EACf,SAA2B,EAC3B,OAAuB,EACvB,cAAgC,EAChC,SAAsB;QACtC,OAAO,CAAC;QALQ,iBAAY,GAAZ,YAAY,CAAG;QACf,cAAS,GAAT,SAAS,CAAkB;QAC3B,YAAO,GAAP,OAAO,CAAgB;QACvB,mBAAc,GAAd,cAAc,CAAkB;QAChC,cAAS,GAAT,SAAS,CAAa;IAE1C,CAAC;IA4GD,OAAO,MAAM,CAAO,qBAAgD,EAChD,SAA4B,EAC5B,OAAwB,EACxB,0BAA4D,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D,MAAM,CAAqC,IAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACnE,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/IfObservable.js b/node_modules/rxjs/_esm2015/observable/IfObservable.js deleted file mode 100644 index 78f91ff3..00000000 --- a/node_modules/rxjs/_esm2015/observable/IfObservable.js +++ /dev/null @@ -1,50 +0,0 @@ -import { Observable } from '../Observable'; -import { subscribeToResult } from '../util/subscribeToResult'; -import { OuterSubscriber } from '../OuterSubscriber'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class IfObservable extends Observable { - constructor(condition, thenSource, elseSource) { - super(); - this.condition = condition; - this.thenSource = thenSource; - this.elseSource = elseSource; - } - static create(condition, thenSource, elseSource) { - return new IfObservable(condition, thenSource, elseSource); - } - _subscribe(subscriber) { - const { condition, thenSource, elseSource } = this; - return new IfSubscriber(subscriber, condition, thenSource, elseSource); - } -} -class IfSubscriber extends OuterSubscriber { - constructor(destination, condition, thenSource, elseSource) { - super(destination); - this.condition = condition; - this.thenSource = thenSource; - this.elseSource = elseSource; - this.tryIf(); - } - tryIf() { - const { condition, thenSource, elseSource } = this; - let result; - try { - result = condition(); - const source = result ? thenSource : elseSource; - if (source) { - this.add(subscribeToResult(this, source)); - } - else { - this._complete(); - } - } - catch (err) { - this._error(err); - } - } -} -//# sourceMappingURL=IfObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/IfObservable.js.map b/node_modules/rxjs/_esm2015/observable/IfObservable.js.map deleted file mode 100644 index 6e9cf9e0..00000000 --- a/node_modules/rxjs/_esm2015/observable/IfObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IfObservable.js","sourceRoot":"","sources":["../../src/observable/IfObservable.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAyB,MAAM,eAAe;OAI1D,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;OACt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CAAC;YAAC,IAAI,CAAC,CAAC;gBACN,IAAI,CAAC,SAAS,EAAE,CAAC;YACnB,CAAC;QACH,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/IntervalObservable.js b/node_modules/rxjs/_esm2015/observable/IntervalObservable.js deleted file mode 100644 index e2fb3f00..00000000 --- a/node_modules/rxjs/_esm2015/observable/IntervalObservable.js +++ /dev/null @@ -1,75 +0,0 @@ -import { isNumeric } from '../util/isNumeric'; -import { Observable } from '../Observable'; -import { async } from '../scheduler/async'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class IntervalObservable extends Observable { - constructor(period = 0, scheduler = async) { - super(); - this.period = period; - this.scheduler = scheduler; - if (!isNumeric(period) || period < 0) { - this.period = 0; - } - if (!scheduler || typeof scheduler.schedule !== 'function') { - this.scheduler = async; - } - } - /** - * Creates an Observable that emits sequential numbers every specified - * interval of time, on a specified IScheduler. - * - * Emits incremental numbers periodically in time. - * - * - * - * - * `interval` returns an Observable that emits an infinite sequence of - * ascending integers, with a constant interval of time of your choosing - * between those emissions. The first emission is not sent immediately, but - * only after the first period has passed. By default, this operator uses the - * `async` IScheduler to provide a notion of time, but you may pass any - * IScheduler to it. - * - * @example Emits ascending numbers, one every second (1000ms) - * var numbers = Rx.Observable.interval(1000); - * numbers.subscribe(x => console.log(x)); - * - * @see {@link timer} - * @see {@link delay} - * - * @param {number} [period=0] The interval size in milliseconds (by default) - * or the time unit determined by the scheduler's clock. - * @param {Scheduler} [scheduler=async] The IScheduler to use for scheduling - * the emission of values, and providing a notion of "time". - * @return {Observable} An Observable that emits a sequential number each time - * interval. - * @static true - * @name interval - * @owner Observable - */ - static create(period = 0, scheduler = async) { - return new IntervalObservable(period, scheduler); - } - static dispatch(state) { - const { index, subscriber, period } = state; - subscriber.next(index); - if (subscriber.closed) { - return; - } - state.index += 1; - this.schedule(state, period); - } - _subscribe(subscriber) { - const index = 0; - const period = this.period; - const scheduler = this.scheduler; - subscriber.add(scheduler.schedule(IntervalObservable.dispatch, period, { - index, subscriber, period - })); - } -} -//# sourceMappingURL=IntervalObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/IntervalObservable.js.map b/node_modules/rxjs/_esm2015/observable/IntervalObservable.js.map deleted file mode 100644 index c3daf022..00000000 --- a/node_modules/rxjs/_esm2015/observable/IntervalObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IntervalObservable.js","sourceRoot":"","sources":["../../src/observable/IntervalObservable.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,EAAE,MAAM,mBAAmB;OAEtC,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,KAAK,EAAE,MAAM,oBAAoB;AAE1C;;;;GAIG;AACH,wCAAwC,UAAU;IAqDhD,YAAoB,MAAM,GAAW,CAAC,EAClB,SAAS,GAAe,KAAK;QAC/C,OAAO,CAAC;QAFU,WAAM,GAAN,MAAM,CAAY;QAClB,cAAS,GAAT,SAAS,CAAoB;QAE/C,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;YACrC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;QAClB,CAAC;QACD,EAAE,CAAC,CAAC,CAAC,SAAS,IAAI,OAAO,SAAS,CAAC,QAAQ,KAAK,UAAU,CAAC,CAAC,CAAC;YAC3D,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QACzB,CAAC;IACH,CAAC;IA7DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;IACH,OAAO,MAAM,CAAC,MAAM,GAAW,CAAC,EAClB,SAAS,GAAe,KAAK;QACzC,MAAM,CAAC,IAAI,kBAAkB,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IACnD,CAAC;IAED,OAAO,QAAQ,CAAC,KAAU;QACxB,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;QAE5C,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAEvB,EAAE,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;YACtB,MAAM,CAAC;QACT,CAAC;QAED,KAAK,CAAC,KAAK,IAAI,CAAC,CAAC;QAEV,IAAK,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IACvC,CAAC;IAaS,UAAU,CAAC,UAA8B;QACjD,MAAM,KAAK,GAAG,CAAC,CAAC;QAChB,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAEjC,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE;YACrE,KAAK,EAAE,UAAU,EAAE,MAAM;SAC1B,CAAC,CAAC,CAAC;IACN,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/IteratorObservable.js b/node_modules/rxjs/_esm2015/observable/IteratorObservable.js deleted file mode 100644 index 9fa11a94..00000000 --- a/node_modules/rxjs/_esm2015/observable/IteratorObservable.js +++ /dev/null @@ -1,148 +0,0 @@ -import { root } from '../util/root'; -import { Observable } from '../Observable'; -import { iterator as Symbol_iterator } from '../symbol/iterator'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class IteratorObservable extends Observable { - constructor(iterator, scheduler) { - super(); - this.scheduler = scheduler; - if (iterator == null) { - throw new Error('iterator cannot be null.'); - } - this.iterator = getIterator(iterator); - } - static create(iterator, scheduler) { - return new IteratorObservable(iterator, scheduler); - } - static dispatch(state) { - const { index, hasError, iterator, subscriber } = state; - if (hasError) { - subscriber.error(state.error); - return; - } - let result = iterator.next(); - if (result.done) { - subscriber.complete(); - return; - } - subscriber.next(result.value); - state.index = index + 1; - if (subscriber.closed) { - if (typeof iterator.return === 'function') { - iterator.return(); - } - return; - } - this.schedule(state); - } - _subscribe(subscriber) { - let index = 0; - const { iterator, scheduler } = this; - if (scheduler) { - return scheduler.schedule(IteratorObservable.dispatch, 0, { - index, iterator, subscriber - }); - } - else { - do { - let result = iterator.next(); - if (result.done) { - subscriber.complete(); - break; - } - else { - subscriber.next(result.value); - } - if (subscriber.closed) { - if (typeof iterator.return === 'function') { - iterator.return(); - } - break; - } - } while (true); - } - } -} -class StringIterator { - constructor(str, idx = 0, len = str.length) { - this.str = str; - this.idx = idx; - this.len = len; - } - [Symbol_iterator]() { return (this); } - next() { - return this.idx < this.len ? { - done: false, - value: this.str.charAt(this.idx++) - } : { - done: true, - value: undefined - }; - } -} -class ArrayIterator { - constructor(arr, idx = 0, len = toLength(arr)) { - this.arr = arr; - this.idx = idx; - this.len = len; - } - [Symbol_iterator]() { return this; } - next() { - return this.idx < this.len ? { - done: false, - value: this.arr[this.idx++] - } : { - done: true, - value: undefined - }; - } -} -function getIterator(obj) { - const i = obj[Symbol_iterator]; - if (!i && typeof obj === 'string') { - return new StringIterator(obj); - } - if (!i && obj.length !== undefined) { - return new ArrayIterator(obj); - } - if (!i) { - throw new TypeError('object is not iterable'); - } - return obj[Symbol_iterator](); -} -const maxSafeInteger = Math.pow(2, 53) - 1; -function toLength(o) { - let len = +o.length; - if (isNaN(len)) { - return 0; - } - if (len === 0 || !numberIsFinite(len)) { - return len; - } - len = sign(len) * Math.floor(Math.abs(len)); - if (len <= 0) { - return 0; - } - if (len > maxSafeInteger) { - return maxSafeInteger; - } - return len; -} -function numberIsFinite(value) { - return typeof value === 'number' && root.isFinite(value); -} -function sign(value) { - let valueAsNumber = +value; - if (valueAsNumber === 0) { - return valueAsNumber; - } - if (isNaN(valueAsNumber)) { - return valueAsNumber; - } - return valueAsNumber < 0 ? -1 : 1; -} -//# sourceMappingURL=IteratorObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/IteratorObservable.js.map b/node_modules/rxjs/_esm2015/observable/IteratorObservable.js.map deleted file mode 100644 index 9bc8bd13..00000000 --- a/node_modules/rxjs/_esm2015/observable/IteratorObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IteratorObservable.js","sourceRoot":"","sources":["../../src/observable/IteratorObservable.ts"],"names":[],"mappings":"OAAO,EAAE,IAAI,EAAE,MAAM,cAAc;OAE5B,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,QAAQ,IAAI,eAAe,EAAE,MAAM,oBAAoB;AAIhE;;;;GAIG;AACH,wCAA2C,UAAU;IAmCnD,YAAY,QAAa,EAAU,SAAsB;QACvD,OAAO,CAAC;QADyB,cAAS,GAAT,SAAS,CAAa;QAGvD,EAAE,CAAC,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC;YACrB,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;QAC9C,CAAC;QAED,IAAI,CAAC,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC;IACxC,CAAC;IAxCD,OAAO,MAAM,CAAI,QAAa,EAAE,SAAsB;QACpD,MAAM,CAAC,IAAI,kBAAkB,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;IACrD,CAAC;IAED,OAAO,QAAQ,CAAC,KAAU;QAExB,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;QAExD,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;YACb,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YAC9B,MAAM,CAAC;QACT,CAAC;QAED,IAAI,MAAM,GAAG,QAAQ,CAAC,IAAI,EAAE,CAAC;QAC7B,EAA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AC;IACD,EAAE,CAAC,CAAC,GAAG,GAAG,cAAc,CAAC,CAAC,CAAC;QACvB,MAAM,CAAC,cAAc,CAAC;IAC1B,CAAC;IACD,MAAM,CAAC,GAAG,CAAC;AACb,CAAC;AAED,wBAAwB,KAAU;IAChC,MAAM,CAAC,OAAO,KAAK,KAAK,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,cAAc,KAAU;IACtB,IAAI,aAAa,GAAG,CAAC,KAAK,CAAC;IAC3B,EAAE,CAAC,CAAC,aAAa,KAAK,CAAC,CAAC,CAAC,CAAC;QACxB,MAAM,CAAC,aAAa,CAAC;IACvB,CAAC;IACD,EAAE,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;QACzB,MAAM,CAAC,aAAa,CAAC;IACvB,CAAC;IACD,MAAM,CAAC,aAAa,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;AACpC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/NeverObservable.js b/node_modules/rxjs/_esm2015/observable/NeverObservable.js deleted file mode 100644 index 1caf4d3a..00000000 --- a/node_modules/rxjs/_esm2015/observable/NeverObservable.js +++ /dev/null @@ -1,50 +0,0 @@ -import { Observable } from '../Observable'; -import { noop } from '../util/noop'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class NeverObservable extends Observable { - constructor() { - super(); - } - /** - * Creates an Observable that emits no items to the Observer. - * - * An Observable that never emits anything. - * - * - * - * This static operator is useful for creating a simple Observable that emits - * neither values nor errors nor the completion notification. It can be used - * for testing purposes or for composing with other Observables. Please note - * that by never emitting a complete notification, this Observable keeps the - * subscription from being disposed automatically. Subscriptions need to be - * manually disposed. - * - * @example Emit the number 7, then never emit anything else (not even complete). - * function info() { - * console.log('Will not be called'); - * } - * var result = Rx.Observable.never().startWith(7); - * result.subscribe(x => console.log(x), info, info); - * - * @see {@link create} - * @see {@link empty} - * @see {@link of} - * @see {@link throw} - * - * @return {Observable} A "never" Observable: never emits anything. - * @static true - * @name never - * @owner Observable - */ - static create() { - return new NeverObservable(); - } - _subscribe(subscriber) { - noop(); - } -} -//# sourceMappingURL=NeverObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/NeverObservable.js.map b/node_modules/rxjs/_esm2015/observable/NeverObservable.js.map deleted file mode 100644 index e1d069f4..00000000 --- a/node_modules/rxjs/_esm2015/observable/NeverObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"NeverObservable.js","sourceRoot":"","sources":["../../src/observable/NeverObservable.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,eAAe;OAEnC,EAAE,IAAI,EAAE,MAAM,cAAc;AAEnC;;;;GAIG;AACH,qCAAwC,UAAU;IAoChD;QACE,OAAO,CAAC;IACV,CAAC;IArCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,OAAO,MAAM;QACX,MAAM,CAAC,IAAI,eAAe,EAAK,CAAC;IAClC,CAAC;IAMS,UAAU,CAAC,UAAyB;QAC5C,IAAI,EAAE,CAAC;IACT,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/PairsObservable.js b/node_modules/rxjs/_esm2015/observable/PairsObservable.js deleted file mode 100644 index 8836beec..00000000 --- a/node_modules/rxjs/_esm2015/observable/PairsObservable.js +++ /dev/null @@ -1,76 +0,0 @@ -import { Observable } from '../Observable'; -function dispatch(state) { - const { obj, keys, length, index, subscriber } = state; - if (index === length) { - subscriber.complete(); - return; - } - const key = keys[index]; - subscriber.next([key, obj[key]]); - state.index = index + 1; - this.schedule(state); -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class PairsObservable extends Observable { - constructor(obj, scheduler) { - super(); - this.obj = obj; - this.scheduler = scheduler; - this.keys = Object.keys(obj); - } - /** - * Convert an object into an observable sequence of [key, value] pairs - * using an optional IScheduler to enumerate the object. - * - * @example Converts a javascript object to an Observable - * var obj = { - * foo: 42, - * bar: 56, - * baz: 78 - * }; - * - * var source = Rx.Observable.pairs(obj); - * - * var subscription = source.subscribe( - * function (x) { - * console.log('Next: %s', x); - * }, - * function (err) { - * console.log('Error: %s', err); - * }, - * function () { - * console.log('Completed'); - * }); - * - * @param {Object} obj The object to inspect and turn into an - * Observable sequence. - * @param {Scheduler} [scheduler] An optional IScheduler to run the - * enumeration of the input sequence on. - * @returns {(Observable>)} An observable sequence of - * [key, value] pairs from the object. - */ - static create(obj, scheduler) { - return new PairsObservable(obj, scheduler); - } - _subscribe(subscriber) { - const { keys, scheduler } = this; - const length = keys.length; - if (scheduler) { - return scheduler.schedule(dispatch, 0, { - obj: this.obj, keys, length, index: 0, subscriber - }); - } - else { - for (let idx = 0; idx < length; idx++) { - const key = keys[idx]; - subscriber.next([key, this.obj[key]]); - } - subscriber.complete(); - } - } -} -//# sourceMappingURL=PairsObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/PairsObservable.js.map b/node_modules/rxjs/_esm2015/observable/PairsObservable.js.map deleted file mode 100644 index 6302a65a..00000000 --- a/node_modules/rxjs/_esm2015/observable/PairsObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"PairsObservable.js","sourceRoot":"","sources":["../../src/observable/PairsObservable.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;AAY1C,kBAAoD,KAAsB;IACxE,MAAM,EAAC,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAC,GAAG,KAAK,CAAC;IAErD,EAAE,CAAC,CAAC,KAAK,KAAK,MAAM,CAAC,CAAC,CAAC;QACrB,UAAU,CAAC,QAAQ,EAAE,CAAC;QACtB,MAAM,CAAC;IACT,CAAC;IAED,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC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CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YACxC,CAAC;YACD,UAAU,CAAC,QAAQ,EAAE,CAAC;QACxB,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/PromiseObservable.js b/node_modules/rxjs/_esm2015/observable/PromiseObservable.js deleted file mode 100644 index 4fb73006..00000000 --- a/node_modules/rxjs/_esm2015/observable/PromiseObservable.js +++ /dev/null @@ -1,111 +0,0 @@ -import { root } from '../util/root'; -import { Observable } from '../Observable'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class PromiseObservable extends Observable { - constructor(promise, scheduler) { - super(); - this.promise = promise; - this.scheduler = scheduler; - } - /** - * Converts a Promise to an Observable. - * - * Returns an Observable that just emits the Promise's - * resolved value, then completes. - * - * Converts an ES2015 Promise or a Promises/A+ spec compliant Promise to an - * Observable. If the Promise resolves with a value, the output Observable - * emits that resolved value as a `next`, and then completes. If the Promise - * is rejected, then the output Observable emits the corresponding Error. - * - * @example Convert the Promise returned by Fetch to an Observable - * var result = Rx.Observable.fromPromise(fetch('http://myserver.com/')); - * result.subscribe(x => console.log(x), e => console.error(e)); - * - * @see {@link bindCallback} - * @see {@link from} - * - * @param {PromiseLike} promise The promise to be converted. - * @param {Scheduler} [scheduler] An optional IScheduler to use for scheduling - * the delivery of the resolved value (or the rejection). - * @return {Observable} An Observable which wraps the Promise. - * @static true - * @name fromPromise - * @owner Observable - */ - static create(promise, scheduler) { - return new PromiseObservable(promise, scheduler); - } - _subscribe(subscriber) { - const promise = this.promise; - const scheduler = this.scheduler; - if (scheduler == null) { - if (this._isScalar) { - if (!subscriber.closed) { - subscriber.next(this.value); - subscriber.complete(); - } - } - else { - promise.then((value) => { - this.value = value; - this._isScalar = true; - if (!subscriber.closed) { - subscriber.next(value); - subscriber.complete(); - } - }, (err) => { - if (!subscriber.closed) { - subscriber.error(err); - } - }) - .then(null, err => { - // escape the promise trap, throw unhandled errors - root.setTimeout(() => { throw err; }); - }); - } - } - else { - if (this._isScalar) { - if (!subscriber.closed) { - return scheduler.schedule(dispatchNext, 0, { value: this.value, subscriber }); - } - } - else { - promise.then((value) => { - this.value = value; - this._isScalar = true; - if (!subscriber.closed) { - subscriber.add(scheduler.schedule(dispatchNext, 0, { value, subscriber })); - } - }, (err) => { - if (!subscriber.closed) { - subscriber.add(scheduler.schedule(dispatchError, 0, { err, subscriber })); - } - }) - .then(null, (err) => { - // escape the promise trap, throw unhandled errors - root.setTimeout(() => { throw err; }); - }); - } - } - } -} -function dispatchNext(arg) { - const { value, subscriber } = arg; - if (!subscriber.closed) { - subscriber.next(value); - subscriber.complete(); - } -} -function dispatchError(arg) { - const { err, subscriber } = arg; - if (!subscriber.closed) { - subscriber.error(err); - } -} -//# sourceMappingURL=PromiseObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/PromiseObservable.js.map b/node_modules/rxjs/_esm2015/observable/PromiseObservable.js.map deleted file mode 100644 index 5b57039d..00000000 --- a/node_modules/rxjs/_esm2015/observable/PromiseObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"PromiseObservable.js","sourceRoot":"","sources":["../../src/observable/PromiseObservable.ts"],"names":[],"mappings":"OAAO,EAAE,IAAI,EAAE,MAAM,cAAc;OAE5B,EAAE,UAAU,EAAE,MAAM,eAAe;AAI1C;;;;GAIG;AACH,uCAA0C,UAAU;IAkClD,YAAoB,OAAuB,EAAU,SAAsB;QACzE,OAAO,CAAC;QADU,YAAO,GAAP,OAAO,CAAgB;QAAU,cAAS,GAAT,SAAS,CAAa;IAE3E,CAAC;IAhCD;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,OAAO,MAAM,CAAI,OAAuB,EAAE,SAAsB;QAC9D,MAAM,CAAC,IAAI,iBAAiB,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;IACnD,CAAC;IAMS,UAAU,CAAC,UAAyB;Q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AACH,CAAC;AAMD,uBAA0B,GAAwB;IAChD,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC;IAChC,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;QACvB,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACxB,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/RangeObservable.js b/node_modules/rxjs/_esm2015/observable/RangeObservable.js deleted file mode 100644 index 6894af2b..00000000 --- a/node_modules/rxjs/_esm2015/observable/RangeObservable.js +++ /dev/null @@ -1,85 +0,0 @@ -import { Observable } from '../Observable'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class RangeObservable extends Observable { - constructor(start, count, scheduler) { - super(); - this.start = start; - this._count = count; - this.scheduler = scheduler; - } - /** - * Creates an Observable that emits a sequence of numbers within a specified - * range. - * - * Emits a sequence of numbers in a range. - * - * - * - * `range` operator emits a range of sequential integers, in order, where you - * select the `start` of the range and its `length`. By default, uses no - * IScheduler and just delivers the notifications synchronously, but may use - * an optional IScheduler to regulate those deliveries. - * - * @example Emits the numbers 1 to 10 - * var numbers = Rx.Observable.range(1, 10); - * numbers.subscribe(x => console.log(x)); - * - * @see {@link timer} - * @see {@link interval} - * - * @param {number} [start=0] The value of the first integer in the sequence. - * @param {number} [count=0] The number of sequential integers to generate. - * @param {Scheduler} [scheduler] A {@link IScheduler} to use for scheduling - * the emissions of the notifications. - * @return {Observable} An Observable of numbers that emits a finite range of - * sequential integers. - * @static true - * @name range - * @owner Observable - */ - static create(start = 0, count = 0, scheduler) { - return new RangeObservable(start, count, scheduler); - } - static dispatch(state) { - const { start, index, count, subscriber } = state; - if (index >= count) { - subscriber.complete(); - return; - } - subscriber.next(start); - if (subscriber.closed) { - return; - } - state.index = index + 1; - state.start = start + 1; - this.schedule(state); - } - _subscribe(subscriber) { - let index = 0; - let start = this.start; - const count = this._count; - const scheduler = this.scheduler; - if (scheduler) { - return scheduler.schedule(RangeObservable.dispatch, 0, { - index, count, start, subscriber - }); - } - else { - do { - if (index++ >= count) { - subscriber.complete(); - break; - } - subscriber.next(start++); - if (subscriber.closed) { - break; - } - } while (true); - } - } -} -//# sourceMappingURL=RangeObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/RangeObservable.js.map b/node_modules/rxjs/_esm2015/observable/RangeObservable.js.map deleted file mode 100644 index ab8e24d9..00000000 --- a/node_modules/rxjs/_esm2015/observable/RangeObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RangeObservable.js","sourceRoot":"","sources":["../../src/observable/RangeObservable.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAI1C;;;;GAIG;AACH,qCAAqC,UAAU;IA+D7C,YAAY,KAAa,EACb,KAAa,EACb,SAAsB;QAChC,OAAO,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IApED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,OAAO,MAAM,CAAC,KAAK,GAAW,CAAC,EACjB,KAAK,GAAW,CAAC,EACjB,SAAsB;QAClC,MAAM,CAAC,IAAI,eAAe,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;IACtD,CAAC;IAED,OAAO,QAAQ,CAAC,KAAU;QAExB,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;QAElD,EAAE,CAAC,CAAC,KAAK,IAAI,KAAK,CAAC,CAAC,CAAC;YACnB,UAAU,CAAC,QAAQ,EAAE,CAAC;YACtB,MAAM,CAAC;QACT,CAAC;QAED,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAEvB,EAAE,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;YACtB,MAAM,CAAC;QACT,CAAC;QAED,KAAK,CAAC,KAAK,GAAG,KAAK,GAAG,CAAC,CAAC;QACxB,KAAK,CAAC,KAAK,GAAG,KAAK,GAAG,CAAC,CAAC;QAEjB,IAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAeS,UAAU,CAAC,UAA8B;QACjD,IAAI,KAAK,GAAG,CAAC,CAAC;QACd,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACvB,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC;QAC1B,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAEjC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;YACd,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,EAAE;gBACrD,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU;aAChC,CAAC,CAAC;QACL,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,GAAG,CAAC;gBACF,EAAE,CAAC,CAAC,KAAK,EAAE,IAAI,KAAK,CAAC,CAAC,CAAC;oBACrB,UAAU,CAAC,QAAQ,EAAE,CAAC;oBACtB,KAAK,CAAC;gBACR,CAAC;gBACD,UAAU,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;gBACzB,EAAE,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;oBACtB,KAAK,CAAC;gBACR,CAAC;YACH,CAAC,QAAQ,IAAI,EAAE;QACjB,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ScalarObservable.js b/node_modules/rxjs/_esm2015/observable/ScalarObservable.js deleted file mode 100644 index b037494e..00000000 --- a/node_modules/rxjs/_esm2015/observable/ScalarObservable.js +++ /dev/null @@ -1,49 +0,0 @@ -import { Observable } from '../Observable'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class ScalarObservable extends Observable { - constructor(value, scheduler) { - super(); - this.value = value; - this.scheduler = scheduler; - this._isScalar = true; - if (scheduler) { - this._isScalar = false; - } - } - static create(value, scheduler) { - return new ScalarObservable(value, scheduler); - } - static dispatch(state) { - const { done, value, subscriber } = state; - if (done) { - subscriber.complete(); - return; - } - subscriber.next(value); - if (subscriber.closed) { - return; - } - state.done = true; - this.schedule(state); - } - _subscribe(subscriber) { - const value = this.value; - const scheduler = this.scheduler; - if (scheduler) { - return scheduler.schedule(ScalarObservable.dispatch, 0, { - done: false, value, subscriber - }); - } - else { - subscriber.next(value); - if (!subscriber.closed) { - subscriber.complete(); - } - } - } -} -//# sourceMappingURL=ScalarObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/ScalarObservable.js.map b/node_modules/rxjs/_esm2015/observable/ScalarObservable.js.map deleted file mode 100644 index 630b5082..00000000 --- a/node_modules/rxjs/_esm2015/observable/ScalarObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ScalarObservable.js","sourceRoot":"","sources":["../../src/observable/ScalarObservable.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAI1C;;;;GAIG;AACH,sCAAyC,UAAU;IAwBjD,YAAmB,KAAQ,EAAU,SAAsB;QACzD,OAAO,CAAC;QADS,UAAK,GAAL,KAAK,CAAG;QAAU,cAAS,GAAT,SAAS,CAAa;QAF3D,cAAS,GAAY,IAAI,CAAC;QAIxB,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;YACd,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QACzB,CAAC;IACH,CAAC;IA5BD,OAAO,MAAM,CAAI,KAAQ,EAAE,SAAsB;QAC/C,MAAM,CAAC,IAAI,gBAAgB,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;IAChD,CAAC;IAED,OAAO,QAAQ,CAAC,KAAU;QACxB,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;QAE1C,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YACT,UAAU,CAAC,QAAQ,EAAE,CAAC;YACtB,MAAM,CAAC;QACT,CAAC;QAED,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACvB,EAAE,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;YACtB,MAAM,CAAC;QACT,CAAC;QAED,KAAK,CAAC,IAAI,GAAG,IAAI,CAAC;QACX,IAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAWS,UAAU,CAAC,UAAyB;QAC5C,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAEjC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;YACd,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC,EAAE;gBACtD,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU;aAC/B,CAAC,CAAC;QACL,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACvB,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;gBACvB,UAAU,CAAC,QAAQ,EAAE,CAAC;YACxB,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/SubscribeOnObservable.js b/node_modules/rxjs/_esm2015/observable/SubscribeOnObservable.js deleted file mode 100644 index 1359e1c5..00000000 --- a/node_modules/rxjs/_esm2015/observable/SubscribeOnObservable.js +++ /dev/null @@ -1,38 +0,0 @@ -import { Observable } from '../Observable'; -import { asap } from '../scheduler/asap'; -import { isNumeric } from '../util/isNumeric'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class SubscribeOnObservable extends Observable { - constructor(source, delayTime = 0, scheduler = asap) { - super(); - this.source = source; - this.delayTime = delayTime; - this.scheduler = scheduler; - if (!isNumeric(delayTime) || delayTime < 0) { - this.delayTime = 0; - } - if (!scheduler || typeof scheduler.schedule !== 'function') { - this.scheduler = asap; - } - } - static create(source, delay = 0, scheduler = asap) { - return new SubscribeOnObservable(source, delay, scheduler); - } - static dispatch(arg) { - const { source, subscriber } = arg; - return this.add(source.subscribe(subscriber)); - } - _subscribe(subscriber) { - const delay = this.delayTime; - const source = this.source; - const scheduler = this.scheduler; - return scheduler.schedule(SubscribeOnObservable.dispatch, delay, { - source, subscriber - }); - } -} -//# sourceMappingURL=SubscribeOnObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/SubscribeOnObservable.js.map b/node_modules/rxjs/_esm2015/observable/SubscribeOnObservable.js.map deleted file mode 100644 index 2819ecc5..00000000 --- a/node_modules/rxjs/_esm2015/observable/SubscribeOnObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SubscribeOnObservable.js","sourceRoot":"","sources":["../../src/observable/SubscribeOnObservable.ts"],"names":[],"mappings":"OAIO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,IAAI,EAAE,MAAM,mBAAmB;OACjC,EAAE,SAAS,EAAE,MAAM,mBAAmB;AAO7C;;;;GAIG;AACH,2CAA8C,UAAU;IAUtD,YAAmB,MAAqB,EACpB,SAAS,GAAW,CAAC,EACrB,SAAS,GAAe,IAAI;QAC9C,OAAO,CAAC;QAHS,WAAM,GAAN,MAAM,CAAe;QACpB,cAAS,GAAT,SAAS,CAAY;QACrB,cAAS,GAAT,SAAS,CAAmB;QAE9C,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC;YAC3C,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC;QACrB,CAAC;QACD,EAAE,CAAC,CAAC,CAAC,SAAS,IAAI,OAAO,SAAS,CAAC,QAAQ,KAAK,UAAU,CAAC,CAAC,CAAC;YAC3D,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACxB,CAAC;IACH,CAAC;IAnBD,OAAO,MAAM,CAAI,MAAqB,EAAE,KAAK,GAAW,CAAC,EAAE,SAAS,GAAe,IAAI;QACrF,MAAM,CAAC,IAAI,qBAAqB,CAAC,MAAM,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;IAC7D,CAAC;IAED,OAAO,QAAQ,CAAqB,GAAmB;QACrD,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC;QACnC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;IAChD,CAAC;IAcS,UAAU,CAAC,UAAyB;QAC5C,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;QAC7B,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAEjC,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,qBAAqB,CAAC,QAAQ,EAAE,KAAK,EAAE;YAC/D,MAAM,EAAE,UAAU;SACnB,CAAC,CAAC;IACL,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/TimerObservable.js b/node_modules/rxjs/_esm2015/observable/TimerObservable.js deleted file mode 100644 index 45e06043..00000000 --- a/node_modules/rxjs/_esm2015/observable/TimerObservable.js +++ /dev/null @@ -1,96 +0,0 @@ -import { isNumeric } from '../util/isNumeric'; -import { Observable } from '../Observable'; -import { async } from '../scheduler/async'; -import { isScheduler } from '../util/isScheduler'; -import { isDate } from '../util/isDate'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class TimerObservable extends Observable { - constructor(dueTime = 0, period, scheduler) { - super(); - this.period = -1; - this.dueTime = 0; - if (isNumeric(period)) { - this.period = Number(period) < 1 && 1 || Number(period); - } - else if (isScheduler(period)) { - scheduler = period; - } - if (!isScheduler(scheduler)) { - scheduler = async; - } - this.scheduler = scheduler; - this.dueTime = isDate(dueTime) ? - (+dueTime - this.scheduler.now()) : - dueTime; - } - /** - * Creates an Observable that starts emitting after an `initialDelay` and - * emits ever increasing numbers after each `period` of time thereafter. - * - * Its like {@link interval}, but you can specify when - * should the emissions start. - * - * - * - * `timer` returns an Observable that emits an infinite sequence of ascending - * integers, with a constant interval of time, `period` of your choosing - * between those emissions. The first emission happens after the specified - * `initialDelay`. The initial delay may be a {@link Date}. By default, this - * operator uses the `async` IScheduler to provide a notion of time, but you - * may pass any IScheduler to it. If `period` is not specified, the output - * Observable emits only one value, `0`. Otherwise, it emits an infinite - * sequence. - * - * @example Emits ascending numbers, one every second (1000ms), starting after 3 seconds - * var numbers = Rx.Observable.timer(3000, 1000); - * numbers.subscribe(x => console.log(x)); - * - * @example Emits one number after five seconds - * var numbers = Rx.Observable.timer(5000); - * numbers.subscribe(x => console.log(x)); - * - * @see {@link interval} - * @see {@link delay} - * - * @param {number|Date} initialDelay The initial delay time to wait before - * emitting the first value of `0`. - * @param {number} [period] The period of time between emissions of the - * subsequent numbers. - * @param {Scheduler} [scheduler=async] The IScheduler to use for scheduling - * the emission of values, and providing a notion of "time". - * @return {Observable} An Observable that emits a `0` after the - * `initialDelay` and ever increasing numbers after each `period` of time - * thereafter. - * @static true - * @name timer - * @owner Observable - */ - static create(initialDelay = 0, period, scheduler) { - return new TimerObservable(initialDelay, period, scheduler); - } - static dispatch(state) { - const { index, period, subscriber } = state; - const action = this; - subscriber.next(index); - if (subscriber.closed) { - return; - } - else if (period === -1) { - return subscriber.complete(); - } - state.index = index + 1; - action.schedule(state, period); - } - _subscribe(subscriber) { - const index = 0; - const { period, dueTime, scheduler } = this; - return scheduler.schedule(TimerObservable.dispatch, dueTime, { - index, period, subscriber - }); - } -} -//# sourceMappingURL=TimerObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/TimerObservable.js.map b/node_modules/rxjs/_esm2015/observable/TimerObservable.js.map deleted file mode 100644 index 417ed838..00000000 --- a/node_modules/rxjs/_esm2015/observable/TimerObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TimerObservable.js","sourceRoot":"","sources":["../../src/observable/TimerObservable.ts"],"names":[],"mappings":"OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB;OAEtC,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,KAAK,EAAE,MAAM,oBAAoB;OACnC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,MAAM,EAAE,MAAM,gBAAgB;AAIvC;;;;GAIG;AACH,qCAAqC,UAAU;IAuE7C,YAAY,OAAO,GAAkB,CAAC,EAC1B,MAA4B,EAC5B,SAAsB;QAChC,OAAO,CAAC;QAPF,WAAM,GAAW,CAAC,CAAC,CAAC;QACpB,YAAO,GAAW,CAAC,CAAC;QAQ1B,EAAE,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;YACtB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,CAAC;QAC1D,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;YAC/B,SAAS,GAAgB,MAAM,CAAC;QAClC,CAAC;QAED,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YAC5B,SAAS,GAAG,KAAK,CAAC;QACpB,CAAC;QAED,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;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} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/UsingObservable.js b/node_modules/rxjs/_esm2015/observable/UsingObservable.js deleted file mode 100644 index 10203e1c..00000000 --- a/node_modules/rxjs/_esm2015/observable/UsingObservable.js +++ /dev/null @@ -1,50 +0,0 @@ -import { Observable } from '../Observable'; -import { subscribeToResult } from '../util/subscribeToResult'; -import { OuterSubscriber } from '../OuterSubscriber'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class UsingObservable extends Observable { - constructor(resourceFactory, observableFactory) { - super(); - this.resourceFactory = resourceFactory; - this.observableFactory = observableFactory; - } - static create(resourceFactory, observableFactory) { - return new UsingObservable(resourceFactory, observableFactory); - } - _subscribe(subscriber) { - const { resourceFactory, observableFactory } = this; - let resource; - try { - resource = resourceFactory(); - return new UsingSubscriber(subscriber, resource, observableFactory); - } - catch (err) { - subscriber.error(err); - } - } -} -class UsingSubscriber extends OuterSubscriber { - constructor(destination, resource, observableFactory) { - super(destination); - this.resource = resource; - this.observableFactory = observableFactory; - destination.add(resource); - this.tryUse(); - } - tryUse() { - try { - const source = this.observableFactory.call(this, this.resource); - if (source) { - this.add(subscribeToResult(this, source)); - } - } - catch (err) { - this._error(err); - } - } -} -//# sourceMappingURL=UsingObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/UsingObservable.js.map b/node_modules/rxjs/_esm2015/observable/UsingObservable.js.map deleted file mode 100644 index 5a5bfbe9..00000000 --- a/node_modules/rxjs/_esm2015/observable/UsingObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UsingObservable.js","sourceRoot":"","sources":["../../src/observable/UsingObservable.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAyB,MAAM,eAAe;OAI1D,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;OACtD,EAAE,eAAe,EAAE,MAAM,oBAAoB;AACpD;;;;GAIG;AACH,qCAAwC,UAAU;IAOhD,YAAoB,e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AC,CAAC,CAAC;YACb,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/bindCallback.js b/node_modules/rxjs/_esm2015/observable/bindCallback.js deleted file mode 100644 index f8ff5c54..00000000 --- a/node_modules/rxjs/_esm2015/observable/bindCallback.js +++ /dev/null @@ -1,3 +0,0 @@ -import { BoundCallbackObservable } from './BoundCallbackObservable'; -export const bindCallback = BoundCallbackObservable.create; -//# sourceMappingURL=bindCallback.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/bindCallback.js.map b/node_modules/rxjs/_esm2015/observable/bindCallback.js.map deleted file mode 100644 index c79cf61e..00000000 --- a/node_modules/rxjs/_esm2015/observable/bindCallback.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"bindCallback.js","sourceRoot":"","sources":["../../src/observable/bindCallback.ts"],"names":[],"mappings":"OAAO,EAAG,uBAAuB,EAAG,MAAM,2BAA2B;AAErE,OAAO,MAAM,YAAY,GAAG,uBAAuB,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/bindNodeCallback.js b/node_modules/rxjs/_esm2015/observable/bindNodeCallback.js deleted file mode 100644 index 028c7079..00000000 --- a/node_modules/rxjs/_esm2015/observable/bindNodeCallback.js +++ /dev/null @@ -1,3 +0,0 @@ -import { BoundNodeCallbackObservable } from './BoundNodeCallbackObservable'; -export const bindNodeCallback = BoundNodeCallbackObservable.create; -//# sourceMappingURL=bindNodeCallback.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/bindNodeCallback.js.map b/node_modules/rxjs/_esm2015/observable/bindNodeCallback.js.map deleted file mode 100644 index 3ac4415f..00000000 --- a/node_modules/rxjs/_esm2015/observable/bindNodeCallback.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"bindNodeCallback.js","sourceRoot":"","sources":["../../src/observable/bindNodeCallback.ts"],"names":[],"mappings":"OAAO,EAAG,2BAA2B,EAAG,MAAM,+BAA+B;AAE7E,OAAO,MAAM,gBAAgB,GAAG,2BAA2B,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/combineLatest.js b/node_modules/rxjs/_esm2015/observable/combineLatest.js deleted file mode 100644 index 0cf7cb2c..00000000 --- a/node_modules/rxjs/_esm2015/observable/combineLatest.js +++ /dev/null @@ -1,130 +0,0 @@ -import { isScheduler } from '../util/isScheduler'; -import { isArray } from '../util/isArray'; -import { ArrayObservable } from './ArrayObservable'; -import { CombineLatestOperator } from '../operators/combineLatest'; -/* tslint:enable:max-line-length */ -/** - * Combines multiple Observables to create an Observable whose values are - * calculated from the latest values of each of its input Observables. - * - * Whenever any input Observable emits a value, it - * computes a formula using the latest values from all the inputs, then emits - * the output of that formula. - * - * - * - * `combineLatest` combines the values from all the Observables passed as - * arguments. This is done by subscribing to each Observable in order and, - * whenever any Observable emits, collecting an array of the most recent - * values from each Observable. So if you pass `n` Observables to operator, - * returned Observable will always emit an array of `n` values, in order - * corresponding to order of passed Observables (value from the first Observable - * on the first place and so on). - * - * Static version of `combineLatest` accepts either an array of Observables - * or each Observable can be put directly as an argument. Note that array of - * Observables is good choice, if you don't know beforehand how many Observables - * you will combine. Passing empty array will result in Observable that - * completes immediately. - * - * To ensure output array has always the same length, `combineLatest` will - * actually wait for all input Observables to emit at least once, - * before it starts emitting results. This means if some Observable emits - * values before other Observables started emitting, all that values but last - * will be lost. On the other hand, is some Observable does not emit value but - * completes, resulting Observable will complete at the same moment without - * emitting anything, since it will be now impossible to include value from - * completed Observable in resulting array. Also, if some input Observable does - * not emit any value and never completes, `combineLatest` will also never emit - * and never complete, since, again, it will wait for all streams to emit some - * value. - * - * If at least one Observable was passed to `combineLatest` and all passed Observables - * emitted something, resulting Observable will complete when all combined - * streams complete. So even if some Observable completes, result of - * `combineLatest` will still emit values when other Observables do. In case - * of completed Observable, its value from now on will always be the last - * emitted value. On the other hand, if any Observable errors, `combineLatest` - * will error immediately as well, and all other Observables will be unsubscribed. - * - * `combineLatest` accepts as optional parameter `project` function, which takes - * as arguments all values that would normally be emitted by resulting Observable. - * `project` can return any kind of value, which will be then emitted by Observable - * instead of default array. Note that `project` does not take as argument that array - * of values, but values themselves. That means default `project` can be imagined - * as function that takes all its arguments and puts them into an array. - * - * - * @example Combine two timer Observables - * const firstTimer = Rx.Observable.timer(0, 1000); // emit 0, 1, 2... after every second, starting from now - * const secondTimer = Rx.Observable.timer(500, 1000); // emit 0, 1, 2... after every second, starting 0,5s from now - * const combinedTimers = Rx.Observable.combineLatest(firstTimer, secondTimer); - * combinedTimers.subscribe(value => console.log(value)); - * // Logs - * // [0, 0] after 0.5s - * // [1, 0] after 1s - * // [1, 1] after 1.5s - * // [2, 1] after 2s - * - * - * @example Combine an array of Observables - * const observables = [1, 5, 10].map( - * n => Rx.Observable.of(n).delay(n * 1000).startWith(0) // emit 0 and then emit n after n seconds - * ); - * const combined = Rx.Observable.combineLatest(observables); - * combined.subscribe(value => console.log(value)); - * // Logs - * // [0, 0, 0] immediately - * // [1, 0, 0] after 1s - * // [1, 5, 0] after 5s - * // [1, 5, 10] after 10s - * - * - * @example Use project function to dynamically calculate the Body-Mass Index - * var weight = Rx.Observable.of(70, 72, 76, 79, 75); - * var height = Rx.Observable.of(1.76, 1.77, 1.78); - * var bmi = Rx.Observable.combineLatest(weight, height, (w, h) => w / (h * h)); - * bmi.subscribe(x => console.log('BMI is ' + x)); - * - * // With output to console: - * // BMI is 24.212293388429753 - * // BMI is 23.93948099205209 - * // BMI is 23.671253629592222 - * - * - * @see {@link combineAll} - * @see {@link merge} - * @see {@link withLatestFrom} - * - * @param {ObservableInput} observable1 An input Observable to combine with other Observables. - * @param {ObservableInput} observable2 An input Observable to combine with other Observables. - * More than one input Observables may be given as arguments - * or an array of Observables may be given as the first argument. - * @param {function} [project] An optional function to project the values from - * the combined latest values into a new value on the output Observable. - * @param {Scheduler} [scheduler=null] The IScheduler to use for subscribing to - * each input Observable. - * @return {Observable} An Observable of projected values from the most recent - * values from each input Observable, or an array of the most recent values from - * each input Observable. - * @static true - * @name combineLatest - * @owner Observable - */ -export function combineLatest(...observables) { - let project = null; - let scheduler = null; - if (isScheduler(observables[observables.length - 1])) { - scheduler = observables.pop(); - } - if (typeof observables[observables.length - 1] === 'function') { - project = observables.pop(); - } - // if the first and only other argument besides the resultSelector is an array - // assume it's been called with `combineLatest([obs1, obs2, obs3], project)` - if (observables.length === 1 && isArray(observables[0])) { - observables = observables[0]; - } - return new ArrayObservable(observables, scheduler).lift(new CombineLatestOperator(project)); -} -//# sourceMappingURL=combineLatest.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/combineLatest.js.map b/node_modules/rxjs/_esm2015/observable/combineLatest.js.map deleted file mode 100644 index eecf845a..00000000 --- a/node_modules/rxjs/_esm2015/observable/combineLatest.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"combineLatest.js","sourceRoot":"","sources":["../../src/observable/combineLatest.ts"],"names":[],"mappings":"OAEO,EAAG,WAAW,EAAG,MAAM,qBAAqB;OAC5C,EAAG,OAAO,EAAG,MAAM,iBAAiB;OACpC,EAAG,eAAe,EAAG,MAAM,mBAAmB;OAC9C,EAAG,qBAAqB,EAAG,MAAM,4BAA4B;AAuBpE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2GG;AACH,8BAAoC,GAAG,WAGwB;IAC7D,IAAI,OAAO,GAAkC,IAAI,CAAC;IAClD,IAAI,SAAS,GAAe,IAAI,CAAC;IAEjC,EAAE,CAAC,CAAC,WAAW,CAAC,WAAW,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACrD,SAAS,GAAe,WAAW,CAAC,GAAG,EAAE,CAAC;IAC5C,CAAC;IAED,EAAE,CAAC,CAAC,OAAO,WAAW,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC;QAC9D,OAAO,GAAiC,WAAW,CAAC,GAAG,EAAE,CAAC;IAC5D,CAAC;IAED,8EAA8E;IAC9E,4EAA4E;IAC5E,EAAE,CAAC,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACxD,WAAW,GAA2B,WAAW,CAAC,CAAC,CAAC,CAAC;IACvD,CAAC;IAED,MAAM,CAAC,IAAI,eAAe,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,qBAAqB,CAAO,OAAO,CAAC,CAAC,CAAC;AACpG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/concat.js b/node_modules/rxjs/_esm2015/observable/concat.js deleted file mode 100644 index 63759a61..00000000 --- a/node_modules/rxjs/_esm2015/observable/concat.js +++ /dev/null @@ -1,105 +0,0 @@ -import { isScheduler } from '../util/isScheduler'; -import { of } from './of'; -import { from } from './from'; -import { concatAll } from '../operators/concatAll'; -/* tslint:enable:max-line-length */ -/** - * Creates an output Observable which sequentially emits all values from given - * Observable and then moves on to the next. - * - * Concatenates multiple Observables together by - * sequentially emitting their values, one Observable after the other. - * - * - * - * `concat` joins multiple Observables together, by subscribing to them one at a time and - * merging their results into the output Observable. You can pass either an array of - * Observables, or put them directly as arguments. Passing an empty array will result - * in Observable that completes immediately. - * - * `concat` will subscribe to first input Observable and emit all its values, without - * changing or affecting them in any way. When that Observable completes, it will - * subscribe to then next Observable passed and, again, emit its values. This will be - * repeated, until the operator runs out of Observables. When last input Observable completes, - * `concat` will complete as well. At any given moment only one Observable passed to operator - * emits values. If you would like to emit values from passed Observables concurrently, check out - * {@link merge} instead, especially with optional `concurrent` parameter. As a matter of fact, - * `concat` is an equivalent of `merge` operator with `concurrent` parameter set to `1`. - * - * Note that if some input Observable never completes, `concat` will also never complete - * and Observables following the one that did not complete will never be subscribed. On the other - * hand, if some Observable simply completes immediately after it is subscribed, it will be - * invisible for `concat`, which will just move on to the next Observable. - * - * If any Observable in chain errors, instead of passing control to the next Observable, - * `concat` will error immediately as well. Observables that would be subscribed after - * the one that emitted error, never will. - * - * If you pass to `concat` the same Observable many times, its stream of values - * will be "replayed" on every subscription, which means you can repeat given Observable - * as many times as you like. If passing the same Observable to `concat` 1000 times becomes tedious, - * you can always use {@link repeat}. - * - * @example Concatenate a timer counting from 0 to 3 with a synchronous sequence from 1 to 10 - * var timer = Rx.Observable.interval(1000).take(4); - * var sequence = Rx.Observable.range(1, 10); - * var result = Rx.Observable.concat(timer, sequence); - * result.subscribe(x => console.log(x)); - * - * // results in: - * // 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 -immediate-> 1 ... 10 - * - * - * @example Concatenate an array of 3 Observables - * var timer1 = Rx.Observable.interval(1000).take(10); - * var timer2 = Rx.Observable.interval(2000).take(6); - * var timer3 = Rx.Observable.interval(500).take(10); - * var result = Rx.Observable.concat([timer1, timer2, timer3]); // note that array is passed - * result.subscribe(x => console.log(x)); - * - * // results in the following: - * // (Prints to console sequentially) - * // -1000ms-> 0 -1000ms-> 1 -1000ms-> ... 9 - * // -2000ms-> 0 -2000ms-> 1 -2000ms-> ... 5 - * // -500ms-> 0 -500ms-> 1 -500ms-> ... 9 - * - * - * @example Concatenate the same Observable to repeat it - * const timer = Rx.Observable.interval(1000).take(2); - * - * Rx.Observable.concat(timer, timer) // concating the same Observable! - * .subscribe( - * value => console.log(value), - * err => {}, - * () => console.log('...and it is done!') - * ); - * - * // Logs: - * // 0 after 1s - * // 1 after 2s - * // 0 after 3s - * // 1 after 4s - * // "...and it is done!" also after 4s - * - * @see {@link concatAll} - * @see {@link concatMap} - * @see {@link concatMapTo} - * - * @param {ObservableInput} input1 An input Observable to concatenate with others. - * @param {ObservableInput} input2 An input Observable to concatenate with others. - * More than one input Observables may be given as argument. - * @param {Scheduler} [scheduler=null] An optional IScheduler to schedule each - * Observable subscription on. - * @return {Observable} All values of each passed Observable merged into a - * single Observable, in order, in serial fashion. - * @static true - * @name concat - * @owner Observable - */ -export function concat(...observables) { - if (observables.length === 1 || (observables.length === 2 && isScheduler(observables[1]))) { - return from(observables[0]); - } - return concatAll()(of(...observables)); -} -//# sourceMappingURL=concat.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/concat.js.map b/node_modules/rxjs/_esm2015/observable/concat.js.map deleted file mode 100644 index 2e792698..00000000 --- a/node_modules/rxjs/_esm2015/observable/concat.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"concat.js","sourceRoot":"","sources":["../../src/observable/concat.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,EAAE,EAAE,MAAM,MAAM;OAClB,EAAE,IAAI,EAAE,MAAM,QAAQ;OACtB,EAAE,SAAS,EAAE,MAAM,wBAAwB;AAWlD,mCAAmC;AACnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4FG;AACH,uBAA6B,GAAG,WAAqD;IACnF,EAAE,CAAC,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,IAAI,WAAW,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC1F,MAAM,CAAC,IAAI,CAAM,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnC,CAAC;IACD,MAAM,CAAC,SAAS,EAAE,CAAC,EAAE,CAAC,GAAG,WAAW,CAAC,CAAkB,CAAC;AAC1D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/defer.js b/node_modules/rxjs/_esm2015/observable/defer.js deleted file mode 100644 index b209da87..00000000 --- a/node_modules/rxjs/_esm2015/observable/defer.js +++ /dev/null @@ -1,3 +0,0 @@ -import { DeferObservable } from './DeferObservable'; -export const defer = DeferObservable.create; -//# sourceMappingURL=defer.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/defer.js.map b/node_modules/rxjs/_esm2015/observable/defer.js.map deleted file mode 100644 index 8329a273..00000000 --- a/node_modules/rxjs/_esm2015/observable/defer.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"defer.js","sourceRoot":"","sources":["../../src/observable/defer.ts"],"names":[],"mappings":"OAAO,EAAG,eAAe,EAAG,MAAM,mBAAmB;AAErD,OAAO,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/dom/AjaxObservable.js b/node_modules/rxjs/_esm2015/observable/dom/AjaxObservable.js deleted file mode 100644 index 2df1962e..00000000 --- a/node_modules/rxjs/_esm2015/observable/dom/AjaxObservable.js +++ /dev/null @@ -1,399 +0,0 @@ -import { root } from '../../util/root'; -import { tryCatch } from '../../util/tryCatch'; -import { errorObject } from '../../util/errorObject'; -import { Observable } from '../../Observable'; -import { Subscriber } from '../../Subscriber'; -import { map } from '../../operators/map'; -function getCORSRequest() { - if (root.XMLHttpRequest) { - return new root.XMLHttpRequest(); - } - else if (!!root.XDomainRequest) { - return new root.XDomainRequest(); - } - else { - throw new Error('CORS is not supported by your browser'); - } -} -function getXMLHttpRequest() { - if (root.XMLHttpRequest) { - return new root.XMLHttpRequest(); - } - else { - let progId; - try { - const progIds = ['Msxml2.XMLHTTP', 'Microsoft.XMLHTTP', 'Msxml2.XMLHTTP.4.0']; - for (let i = 0; i < 3; i++) { - try { - progId = progIds[i]; - if (new root.ActiveXObject(progId)) { - break; - } - } - catch (e) { - } - } - return new root.ActiveXObject(progId); - } - catch (e) { - throw new Error('XMLHttpRequest is not supported by your browser'); - } - } -} -export function ajaxGet(url, headers = null) { - return new AjaxObservable({ method: 'GET', url, headers }); -} -; -export function ajaxPost(url, body, headers) { - return new AjaxObservable({ method: 'POST', url, body, headers }); -} -; -export function ajaxDelete(url, headers) { - return new AjaxObservable({ method: 'DELETE', url, headers }); -} -; -export function ajaxPut(url, body, headers) { - return new AjaxObservable({ method: 'PUT', url, body, headers }); -} -; -export function ajaxPatch(url, body, headers) { - return new AjaxObservable({ method: 'PATCH', url, body, headers }); -} -; -const mapResponse = map((x, index) => x.response); -export function ajaxGetJSON(url, headers) { - return mapResponse(new AjaxObservable({ - method: 'GET', - url, - responseType: 'json', - headers - })); -} -; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class AjaxObservable extends Observable { - constructor(urlOrRequest) { - super(); - const request = { - async: true, - createXHR: function () { - return this.crossDomain ? getCORSRequest.call(this) : getXMLHttpRequest(); - }, - crossDomain: false, - withCredentials: false, - headers: {}, - method: 'GET', - responseType: 'json', - timeout: 0 - }; - if (typeof urlOrRequest === 'string') { - request.url = urlOrRequest; - } - else { - for (const prop in urlOrRequest) { - if (urlOrRequest.hasOwnProperty(prop)) { - request[prop] = urlOrRequest[prop]; - } - } - } - this.request = request; - } - _subscribe(subscriber) { - return new AjaxSubscriber(subscriber, this.request); - } -} -/** - * Creates an observable for an Ajax request with either a request object with - * url, headers, etc or a string for a URL. - * - * @example - * source = Rx.Observable.ajax('/products'); - * source = Rx.Observable.ajax({ url: 'products', method: 'GET' }); - * - * @param {string|Object} request Can be one of the following: - * A string of the URL to make the Ajax call. - * An object with the following properties - * - url: URL of the request - * - body: The body of the request - * - method: Method of the request, such as GET, POST, PUT, PATCH, DELETE - * - async: Whether the request is async - * - headers: Optional headers - * - crossDomain: true if a cross domain request, else false - * - createXHR: a function to override if you need to use an alternate - * XMLHttpRequest implementation. - * - resultSelector: a function to use to alter the output value type of - * the Observable. Gets {@link AjaxResponse} as an argument. - * @return {Observable} An observable sequence containing the XMLHttpRequest. - * @static true - * @name ajax - * @owner Observable -*/ -AjaxObservable.create = (() => { - const create = (urlOrRequest) => { - return new AjaxObservable(urlOrRequest); - }; - create.get = ajaxGet; - create.post = ajaxPost; - create.delete = ajaxDelete; - create.put = ajaxPut; - create.patch = ajaxPatch; - create.getJSON = ajaxGetJSON; - return create; -})(); -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class AjaxSubscriber extends Subscriber { - constructor(destination, request) { - super(destination); - this.request = request; - this.done = false; - const headers = request.headers = request.headers || {}; - // force CORS if requested - if (!request.crossDomain && !headers['X-Requested-With']) { - headers['X-Requested-With'] = 'XMLHttpRequest'; - } - // ensure content type is set - if (!('Content-Type' in headers) && !(root.FormData && request.body instanceof root.FormData) && typeof request.body !== 'undefined') { - headers['Content-Type'] = 'application/x-www-form-urlencoded; charset=UTF-8'; - } - // properly serialize body - request.body = this.serializeBody(request.body, request.headers['Content-Type']); - this.send(); - } - next(e) { - this.done = true; - const { xhr, request, destination } = this; - const response = new AjaxResponse(e, xhr, request); - destination.next(response); - } - send() { - const { request, request: { user, method, url, async, password, headers, body } } = this; - const createXHR = request.createXHR; - const xhr = tryCatch(createXHR).call(request); - if (xhr === errorObject) { - this.error(errorObject.e); - } - else { - this.xhr = xhr; - // set up the events before open XHR - // https://developer.mozilla.org/en/docs/Web/API/XMLHttpRequest/Using_XMLHttpRequest - // You need to add the event listeners before calling open() on the request. - // Otherwise the progress events will not fire. - this.setupEvents(xhr, request); - // open XHR - let result; - if (user) { - result = tryCatch(xhr.open).call(xhr, method, url, async, user, password); - } - else { - result = tryCatch(xhr.open).call(xhr, method, url, async); - } - if (result === errorObject) { - this.error(errorObject.e); - return null; - } - // timeout, responseType and withCredentials can be set once the XHR is open - if (async) { - xhr.timeout = request.timeout; - xhr.responseType = request.responseType; - } - if ('withCredentials' in xhr) { - xhr.withCredentials = !!request.withCredentials; - } - // set headers - this.setHeaders(xhr, headers); - // finally send the request - result = body ? tryCatch(xhr.send).call(xhr, body) : tryCatch(xhr.send).call(xhr); - if (result === errorObject) { - this.error(errorObject.e); - return null; - } - } - return xhr; - } - serializeBody(body, contentType) { - if (!body || typeof body === 'string') { - return body; - } - else if (root.FormData && body instanceof root.FormData) { - return body; - } - if (contentType) { - const splitIndex = contentType.indexOf(';'); - if (splitIndex !== -1) { - contentType = contentType.substring(0, splitIndex); - } - } - switch (contentType) { - case 'application/x-www-form-urlencoded': - return Object.keys(body).map(key => `${encodeURI(key)}=${encodeURI(body[key])}`).join('&'); - case 'application/json': - return JSON.stringify(body); - default: - return body; - } - } - setHeaders(xhr, headers) { - for (let key in headers) { - if (headers.hasOwnProperty(key)) { - xhr.setRequestHeader(key, headers[key]); - } - } - } - setupEvents(xhr, request) { - const progressSubscriber = request.progressSubscriber; - function xhrTimeout(e) { - const { subscriber, progressSubscriber, request } = xhrTimeout; - if (progressSubscriber) { - progressSubscriber.error(e); - } - subscriber.error(new AjaxTimeoutError(this, request)); //TODO: Make betterer. - } - ; - xhr.ontimeout = xhrTimeout; - xhrTimeout.request = request; - xhrTimeout.subscriber = this; - xhrTimeout.progressSubscriber = progressSubscriber; - if (xhr.upload && 'withCredentials' in xhr) { - if (progressSubscriber) { - let xhrProgress; - xhrProgress = function (e) { - const { progressSubscriber } = xhrProgress; - progressSubscriber.next(e); - }; - if (root.XDomainRequest) { - xhr.onprogress = xhrProgress; - } - else { - xhr.upload.onprogress = xhrProgress; - } - xhrProgress.progressSubscriber = progressSubscriber; - } - let xhrError; - xhrError = function (e) { - const { progressSubscriber, subscriber, request } = xhrError; - if (progressSubscriber) { - progressSubscriber.error(e); - } - subscriber.error(new AjaxError('ajax error', this, request)); - }; - xhr.onerror = xhrError; - xhrError.request = request; - xhrError.subscriber = this; - xhrError.progressSubscriber = progressSubscriber; - } - function xhrReadyStateChange(e) { - const { subscriber, progressSubscriber, request } = xhrReadyStateChange; - if (this.readyState === 4) { - // normalize IE9 bug (http://bugs.jquery.com/ticket/1450) - let status = this.status === 1223 ? 204 : this.status; - let response = (this.responseType === 'text' ? (this.response || this.responseText) : this.response); - // fix status code when it is 0 (0 status is undocumented). - // Occurs when accessing file resources or on Android 4.1 stock browser - // while retrieving files from application cache. - if (status === 0) { - status = response ? 200 : 0; - } - if (200 <= status && status < 300) { - if (progressSubscriber) { - progressSubscriber.complete(); - } - subscriber.next(e); - subscriber.complete(); - } - else { - if (progressSubscriber) { - progressSubscriber.error(e); - } - subscriber.error(new AjaxError('ajax error ' + status, this, request)); - } - } - } - ; - xhr.onreadystatechange = xhrReadyStateChange; - xhrReadyStateChange.subscriber = this; - xhrReadyStateChange.progressSubscriber = progressSubscriber; - xhrReadyStateChange.request = request; - } - unsubscribe() { - const { done, xhr } = this; - if (!done && xhr && xhr.readyState !== 4 && typeof xhr.abort === 'function') { - xhr.abort(); - } - super.unsubscribe(); - } -} -/** - * A normalized AJAX response. - * - * @see {@link ajax} - * - * @class AjaxResponse - */ -export class AjaxResponse { - constructor(originalEvent, xhr, request) { - this.originalEvent = originalEvent; - this.xhr = xhr; - this.request = request; - this.status = xhr.status; - this.responseType = xhr.responseType || request.responseType; - this.response = parseXhrResponse(this.responseType, xhr); - } -} -/** - * A normalized AJAX error. - * - * @see {@link ajax} - * - * @class AjaxError - */ -export class AjaxError extends Error { - constructor(message, xhr, request) { - super(message); - this.message = message; - this.xhr = xhr; - this.request = request; - this.status = xhr.status; - this.responseType = xhr.responseType || request.responseType; - this.response = parseXhrResponse(this.responseType, xhr); - } -} -function parseXhrResponse(responseType, xhr) { - switch (responseType) { - case 'json': - if ('response' in xhr) { - //IE does not support json as responseType, parse it internally - return xhr.responseType ? xhr.response : JSON.parse(xhr.response || xhr.responseText || 'null'); - } - else { - // HACK(benlesh): TypeScript shennanigans - // tslint:disable-next-line:no-any latest TS seems to think xhr is "never" here. - return JSON.parse(xhr.responseText || 'null'); - } - case 'xml': - return xhr.responseXML; - case 'text': - default: - // HACK(benlesh): TypeScript shennanigans - // tslint:disable-next-line:no-any latest TS seems to think xhr is "never" here. - return ('response' in xhr) ? xhr.response : xhr.responseText; - } -} -/** - * @see {@link ajax} - * - * @class AjaxTimeoutError - */ -export class AjaxTimeoutError extends AjaxError { - constructor(xhr, request) { - super('ajax timeout', xhr, request); - } -} -//# sourceMappingURL=AjaxObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/dom/AjaxObservable.js.map b/node_modules/rxjs/_esm2015/observable/dom/AjaxObservable.js.map deleted file mode 100644 index 17ed8e18..00000000 --- a/node_modules/rxjs/_esm2015/observable/dom/AjaxObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AjaxObservable.js","sourceRoot":"","sources":["../../../src/observable/dom/AjaxObservable.ts"],"names":[],"mappings":"OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB;OAC/B,EAAE,QAAQ,EAAE,MAAM,qBAAqB;OACvC,EAAE,WAAW,EAAE,MAAM,wBAAwB;OAC7C,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,kBAAkB;OAEtC,EAAE,GAAG,EAAE,MAAM,qBAAqB;AAmBzC;IACE,EAAE,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC;QACxB,MAAM,CAAC,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;IACnC,CAAC;IAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC;QACjC,MAAM,CAAC,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;IACnC,CAAC;IAAC,IAAI,CAAC,CAAC;QACN,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;IAC3D,CAAC;AACH,CAAC;AAED;IACE,EAAE,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC;QACxB,MAAM,CAAC,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;IACnC,CAAC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BAA0B,YAAoB,EAAE,GAAmB;IACjE,MAAM,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC;QACrB,KAAK,MAAM;YACP,EAAE,CAAC,CAAC,UAAU,IAAI,GAAG,CAAC,CAAC,CAAC;gBACtB,+DAA+D;gBAC/D,MAAM,CAAC,GAAG,CAAC,YAAY,GAAG,GAAG,CAAC,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,IAAI,GAAG,CAAC,YAAY,IAAI,MAAM,CAAC,CAAC;YAClG,CAAC;YAAC,IAAI,CAAC,CAAC;gBACN,yCAAyC;gBACzC,gFAAgF;gBAChF,MAAM,CAAC,IAAI,CAAC,KAAK,CAAE,GAAW,CAAC,YAAY,IAAI,MAAM,CAAC,CAAC;YACzD,CAAC;QACH,KAAK,KAAK;YACR,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC;QACzB,KAAK,MAAM,CAAC;QACZ;YACI,yCAAyC;YACzC,gFAAgF;YAChF,MAAM,CAAE,CAAC,UAAU,IAAI,GAAG,CAAC,GAAG,GAAG,CAAC,QAAQ,GAAI,GAAW,CAAC,YAAY,CAAC;IAC/E,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,sCAAsC,SAAS;IAC7C,YAAY,GAAmB,EAAE,OAAoB;QACnD,MAAM,cAAc,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/dom/WebSocketSubject.js b/node_modules/rxjs/_esm2015/observable/dom/WebSocketSubject.js deleted file mode 100644 index 4c013360..00000000 --- a/node_modules/rxjs/_esm2015/observable/dom/WebSocketSubject.js +++ /dev/null @@ -1,239 +0,0 @@ -import { Subject, AnonymousSubject } from '../../Subject'; -import { Subscriber } from '../../Subscriber'; -import { Observable } from '../../Observable'; -import { Subscription } from '../../Subscription'; -import { root } from '../../util/root'; -import { ReplaySubject } from '../../ReplaySubject'; -import { tryCatch } from '../../util/tryCatch'; -import { errorObject } from '../../util/errorObject'; -import { assign } from '../../util/assign'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @extends {Ignored} - * @hide true - */ -export class WebSocketSubject extends AnonymousSubject { - constructor(urlConfigOrSource, destination) { - if (urlConfigOrSource instanceof Observable) { - super(destination, urlConfigOrSource); - } - else { - super(); - this.WebSocketCtor = root.WebSocket; - this._output = new Subject(); - if (typeof urlConfigOrSource === 'string') { - this.url = urlConfigOrSource; - } - else { - // WARNING: config object could override important members here. - assign(this, urlConfigOrSource); - } - if (!this.WebSocketCtor) { - throw new Error('no WebSocket constructor can be found'); - } - this.destination = new ReplaySubject(); - } - } - resultSelector(e) { - return JSON.parse(e.data); - } - /** - * Wrapper around the w3c-compatible WebSocket object provided by the browser. - * - * @example Wraps browser WebSocket - * - * let socket$ = Observable.webSocket('ws://localhost:8081'); - * - * socket$.subscribe( - * (msg) => console.log('message received: ' + msg), - * (err) => console.log(err), - * () => console.log('complete') - * ); - * - * socket$.next(JSON.stringify({ op: 'hello' })); - * - * @example Wraps WebSocket from nodejs-websocket (using node.js) - * - * import { w3cwebsocket } from 'websocket'; - * - * let socket$ = Observable.webSocket({ - * url: 'ws://localhost:8081', - * WebSocketCtor: w3cwebsocket - * }); - * - * socket$.subscribe( - * (msg) => console.log('message received: ' + msg), - * (err) => console.log(err), - * () => console.log('complete') - * ); - * - * socket$.next(JSON.stringify({ op: 'hello' })); - * - * @param {string | WebSocketSubjectConfig} urlConfigOrSource the source of the websocket as an url or a structure defining the websocket object - * @return {WebSocketSubject} - * @static true - * @name webSocket - * @owner Observable - */ - static create(urlConfigOrSource) { - return new WebSocketSubject(urlConfigOrSource); - } - lift(operator) { - const sock = new WebSocketSubject(this, this.destination); - sock.operator = operator; - return sock; - } - _resetState() { - this.socket = null; - if (!this.source) { - this.destination = new ReplaySubject(); - } - this._output = new Subject(); - } - // TODO: factor this out to be a proper Operator/Subscriber implementation and eliminate closures - multiplex(subMsg, unsubMsg, messageFilter) { - const self = this; - return new Observable((observer) => { - const result = tryCatch(subMsg)(); - if (result === errorObject) { - observer.error(errorObject.e); - } - else { - self.next(result); - } - let subscription = self.subscribe(x => { - const result = tryCatch(messageFilter)(x); - if (result === errorObject) { - observer.error(errorObject.e); - } - else if (result) { - observer.next(x); - } - }, err => observer.error(err), () => observer.complete()); - return () => { - const result = tryCatch(unsubMsg)(); - if (result === errorObject) { - observer.error(errorObject.e); - } - else { - self.next(result); - } - subscription.unsubscribe(); - }; - }); - } - _connectSocket() { - const { WebSocketCtor } = this; - const observer = this._output; - let socket = null; - try { - socket = this.protocol ? - new WebSocketCtor(this.url, this.protocol) : - new WebSocketCtor(this.url); - this.socket = socket; - if (this.binaryType) { - this.socket.binaryType = this.binaryType; - } - } - catch (e) { - observer.error(e); - return; - } - const subscription = new Subscription(() => { - this.socket = null; - if (socket && socket.readyState === 1) { - socket.close(); - } - }); - socket.onopen = (e) => { - const openObserver = this.openObserver; - if (openObserver) { - openObserver.next(e); - } - const queue = this.destination; - this.destination = Subscriber.create((x) => socket.readyState === 1 && socket.send(x), (e) => { - const closingObserver = this.closingObserver; - if (closingObserver) { - closingObserver.next(undefined); - } - if (e && e.code) { - socket.close(e.code, e.reason); - } - else { - observer.error(new TypeError('WebSocketSubject.error must be called with an object with an error code, ' + - 'and an optional reason: { code: number, reason: string }')); - } - this._resetState(); - }, () => { - const closingObserver = this.closingObserver; - if (closingObserver) { - closingObserver.next(undefined); - } - socket.close(); - this._resetState(); - }); - if (queue && queue instanceof ReplaySubject) { - subscription.add(queue.subscribe(this.destination)); - } - }; - socket.onerror = (e) => { - this._resetState(); - observer.error(e); - }; - socket.onclose = (e) => { - this._resetState(); - const closeObserver = this.closeObserver; - if (closeObserver) { - closeObserver.next(e); - } - if (e.wasClean) { - observer.complete(); - } - else { - observer.error(e); - } - }; - socket.onmessage = (e) => { - const result = tryCatch(this.resultSelector)(e); - if (result === errorObject) { - observer.error(errorObject.e); - } - else { - observer.next(result); - } - }; - } - _subscribe(subscriber) { - const { source } = this; - if (source) { - return source.subscribe(subscriber); - } - if (!this.socket) { - this._connectSocket(); - } - let subscription = new Subscription(); - subscription.add(this._output.subscribe(subscriber)); - subscription.add(() => { - const { socket } = this; - if (this._output.observers.length === 0) { - if (socket && socket.readyState === 1) { - socket.close(); - } - this._resetState(); - } - }); - return subscription; - } - unsubscribe() { - const { source, socket } = this; - if (socket && socket.readyState === 1) { - socket.close(); - this._resetState(); - } - super.unsubscribe(); - if (!source) { - this.destination = new ReplaySubject(); - } - } -} -//# sourceMappingURL=WebSocketSubject.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/dom/WebSocketSubject.js.map b/node_modules/rxjs/_esm2015/observable/dom/WebSocketSubject.js.map deleted file mode 100644 index 63cb2606..00000000 --- a/node_modules/rxjs/_esm2015/observable/dom/WebSocketSubject.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"WebSocketSubject.js","sourceRoot":"","sources":["../../../src/observable/dom/WebSocketSubject.ts"],"names":[],"mappings":"OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe;OAClD,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,UAAU,EAAE,MAAM,kBAAkB;OACtC,EAAE,YAAY,EAAE,MAAM,oBAAoB;OAE1C,EAAE,IAAI,EAAE,MAAM,iBAAiB;OAC/B,EAAE,aAAa,EAAE,MAAM,qBAAqB;OAE5C,EAAE,QAAQ,EAAE,MAAM,qBAAqB;OACvC,EAAE,WAAW,EAAE,MAAM,wBAAwB;OAC7C,EAAE,MAAM,EAAE,MAAM,mBAAmB;AAa1C;;;;GAIG;AACH,sCAAyC,gBAAgB;IA2DvD,YAAY,iBAAkE,EAAE,WAAyB;QACvG,EAAE,CAAC,CAAC,iBAAiB,YAAY,UAAU,CAAC,CAAC,CAAC;YAC5C,MAAM,WAAW,EAAkB,iBAAiB,CAAC,CAAC;QACxD,CAAC;QAAC,IAAI,CAAC,CAAC;YACN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ACxB,CAAC;QACD,IAAI,YAAY,GAAG,IAAI,YAAY,EAAE,CAAC;QACtC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;QACrD,YAAY,CAAC,GAAG,CAAC;YACf,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;YACxB,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;gBACxC,EAAE,CAAC,CAAC,MAAM,IAAI,MAAM,CAAC,UAAU,KAAK,CAAC,CAAC,CAAC,CAAC;oBACtC,MAAM,CAAC,KAAK,EAAE,CAAC;gBACjB,CAAC;gBACD,IAAI,CAAC,WAAW,EAAE,CAAC;YACrB,CAAC;QACH,CAAC,CAAC,CAAC;QACH,MAAM,CAAC,YAAY,CAAC;IACtB,CAAC;IAED,WAAW;QACT,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QAChC,EAAE,CAAC,CAAC,MAAM,IAAI,MAAM,CAAC,UAAU,KAAK,CAAC,CAAC,CAAC,CAAC;YACtC,MAAM,CAAC,KAAK,EAAE,CAAC;YACf,IAAI,CAAC,WAAW,EAAE,CAAC;QACrB,CAAC;QACD,KAAK,CAAC,WAAW,EAAE,CAAC;QACpB,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;YACZ,IAAI,CAAC,WAAW,GAAG,IAAI,aAAa,EAAE,CAAC;QACzC,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/dom/ajax.js b/node_modules/rxjs/_esm2015/observable/dom/ajax.js deleted file mode 100644 index 3a6d75ba..00000000 --- a/node_modules/rxjs/_esm2015/observable/dom/ajax.js +++ /dev/null @@ -1,3 +0,0 @@ -import { AjaxObservable } from './AjaxObservable'; -export const ajax = AjaxObservable.create; -//# sourceMappingURL=ajax.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/dom/ajax.js.map b/node_modules/rxjs/_esm2015/observable/dom/ajax.js.map deleted file mode 100644 index 039ca48f..00000000 --- a/node_modules/rxjs/_esm2015/observable/dom/ajax.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ajax.js","sourceRoot":"","sources":["../../../src/observable/dom/ajax.ts"],"names":[],"mappings":"OAAO,EAAG,cAAc,EAAuB,MAAM,kBAAkB;AAEvE,OAAO,MAAM,IAAI,GAAuB,cAAc,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/dom/webSocket.js b/node_modules/rxjs/_esm2015/observable/dom/webSocket.js deleted file mode 100644 index e705f409..00000000 --- a/node_modules/rxjs/_esm2015/observable/dom/webSocket.js +++ /dev/null @@ -1,3 +0,0 @@ -import { WebSocketSubject } from './WebSocketSubject'; -export const webSocket = WebSocketSubject.create; -//# sourceMappingURL=webSocket.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/dom/webSocket.js.map b/node_modules/rxjs/_esm2015/observable/dom/webSocket.js.map deleted file mode 100644 index 6ea99ef8..00000000 --- a/node_modules/rxjs/_esm2015/observable/dom/webSocket.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"webSocket.js","sourceRoot":"","sources":["../../../src/observable/dom/webSocket.ts"],"names":[],"mappings":"OAAO,EAAG,gBAAgB,EAAG,MAAM,oBAAoB;AAEvD,OAAO,MAAM,SAAS,GAAG,gBAAgB,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/empty.js b/node_modules/rxjs/_esm2015/observable/empty.js deleted file mode 100644 index bbe56e36..00000000 --- a/node_modules/rxjs/_esm2015/observable/empty.js +++ /dev/null @@ -1,3 +0,0 @@ -import { EmptyObservable } from './EmptyObservable'; -export const empty = EmptyObservable.create; -//# sourceMappingURL=empty.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/empty.js.map b/node_modules/rxjs/_esm2015/observable/empty.js.map deleted file mode 100644 index 39dc6426..00000000 --- a/node_modules/rxjs/_esm2015/observable/empty.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"empty.js","sourceRoot":"","sources":["../../src/observable/empty.ts"],"names":[],"mappings":"OAAO,EAAG,eAAe,EAAG,MAAM,mBAAmB;AAErD,OAAO,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/forkJoin.js b/node_modules/rxjs/_esm2015/observable/forkJoin.js deleted file mode 100644 index 739bfaa8..00000000 --- a/node_modules/rxjs/_esm2015/observable/forkJoin.js +++ /dev/null @@ -1,3 +0,0 @@ -import { ForkJoinObservable } from './ForkJoinObservable'; -export const forkJoin = ForkJoinObservable.create; -//# sourceMappingURL=forkJoin.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/forkJoin.js.map b/node_modules/rxjs/_esm2015/observable/forkJoin.js.map deleted file mode 100644 index 8c0f1e47..00000000 --- a/node_modules/rxjs/_esm2015/observable/forkJoin.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"forkJoin.js","sourceRoot":"","sources":["../../src/observable/forkJoin.ts"],"names":[],"mappings":"OAAO,EAAG,kBAAkB,EAAG,MAAM,sBAAsB;AAE3D,OAAO,MAAM,QAAQ,GAAG,kBAAkB,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/from.js b/node_modules/rxjs/_esm2015/observable/from.js deleted file mode 100644 index 125070cf..00000000 --- a/node_modules/rxjs/_esm2015/observable/from.js +++ /dev/null @@ -1,3 +0,0 @@ -import { FromObservable } from './FromObservable'; -export const from = FromObservable.create; -//# sourceMappingURL=from.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/from.js.map b/node_modules/rxjs/_esm2015/observable/from.js.map deleted file mode 100644 index 84ea85f1..00000000 --- a/node_modules/rxjs/_esm2015/observable/from.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"from.js","sourceRoot":"","sources":["../../src/observable/from.ts"],"names":[],"mappings":"OAAO,EAAG,cAAc,EAAG,MAAM,kBAAkB;AAEnD,OAAO,MAAM,IAAI,GAAG,cAAc,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/fromEvent.js b/node_modules/rxjs/_esm2015/observable/fromEvent.js deleted file mode 100644 index f31e5e2f..00000000 --- a/node_modules/rxjs/_esm2015/observable/fromEvent.js +++ /dev/null @@ -1,3 +0,0 @@ -import { FromEventObservable } from './FromEventObservable'; -export const fromEvent = FromEventObservable.create; -//# sourceMappingURL=fromEvent.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/fromEvent.js.map b/node_modules/rxjs/_esm2015/observable/fromEvent.js.map deleted file mode 100644 index 7b6b736a..00000000 --- a/node_modules/rxjs/_esm2015/observable/fromEvent.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fromEvent.js","sourceRoot":"","sources":["../../src/observable/fromEvent.ts"],"names":[],"mappings":"OAAO,EAAG,mBAAmB,EAAG,MAAM,uBAAuB;AAE7D,OAAO,MAAM,SAAS,GAAG,mBAAmB,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/fromEventPattern.js b/node_modules/rxjs/_esm2015/observable/fromEventPattern.js deleted file mode 100644 index 261c1ace..00000000 --- a/node_modules/rxjs/_esm2015/observable/fromEventPattern.js +++ /dev/null @@ -1,3 +0,0 @@ -import { FromEventPatternObservable } from './FromEventPatternObservable'; -export const fromEventPattern = FromEventPatternObservable.create; -//# sourceMappingURL=fromEventPattern.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/fromEventPattern.js.map b/node_modules/rxjs/_esm2015/observable/fromEventPattern.js.map deleted file mode 100644 index b6ce68a1..00000000 --- a/node_modules/rxjs/_esm2015/observable/fromEventPattern.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fromEventPattern.js","sourceRoot":"","sources":["../../src/observable/fromEventPattern.ts"],"names":[],"mappings":"OAAO,EAAG,0BAA0B,EAAG,MAAM,8BAA8B;AAE3E,OAAO,MAAM,gBAAgB,GAAG,0BAA0B,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/fromPromise.js b/node_modules/rxjs/_esm2015/observable/fromPromise.js deleted file mode 100644 index e6b2d577..00000000 --- a/node_modules/rxjs/_esm2015/observable/fromPromise.js +++ /dev/null @@ -1,3 +0,0 @@ -import { PromiseObservable } from './PromiseObservable'; -export const fromPromise = PromiseObservable.create; -//# sourceMappingURL=fromPromise.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/fromPromise.js.map b/node_modules/rxjs/_esm2015/observable/fromPromise.js.map deleted file mode 100644 index 2146de47..00000000 --- a/node_modules/rxjs/_esm2015/observable/fromPromise.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fromPromise.js","sourceRoot":"","sources":["../../src/observable/fromPromise.ts"],"names":[],"mappings":"OAAO,EAAG,iBAAiB,EAAG,MAAM,qBAAqB;AAEzD,OAAO,MAAM,WAAW,GAAG,iBAAiB,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/generate.js b/node_modules/rxjs/_esm2015/observable/generate.js deleted file mode 100644 index bedd1047..00000000 --- a/node_modules/rxjs/_esm2015/observable/generate.js +++ /dev/null @@ -1,3 +0,0 @@ -import { GenerateObservable } from './GenerateObservable'; -export const generate = GenerateObservable.create; -//# sourceMappingURL=generate.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/generate.js.map b/node_modules/rxjs/_esm2015/observable/generate.js.map deleted file mode 100644 index 2cb68666..00000000 --- a/node_modules/rxjs/_esm2015/observable/generate.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"generate.js","sourceRoot":"","sources":["../../src/observable/generate.ts"],"names":[],"mappings":"OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB;AAEzD,OAAO,MAAM,QAAQ,GAAG,kBAAkB,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/if.js b/node_modules/rxjs/_esm2015/observable/if.js deleted file mode 100644 index 6df46926..00000000 --- a/node_modules/rxjs/_esm2015/observable/if.js +++ /dev/null @@ -1,3 +0,0 @@ -import { IfObservable } from './IfObservable'; -export const _if = IfObservable.create; -//# sourceMappingURL=if.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/if.js.map b/node_modules/rxjs/_esm2015/observable/if.js.map deleted file mode 100644 index ef758d18..00000000 --- a/node_modules/rxjs/_esm2015/observable/if.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"if.js","sourceRoot":"","sources":["../../src/observable/if.ts"],"names":[],"mappings":"OAAO,EAAG,YAAY,EAAG,MAAM,gBAAgB;AAE/C,OAAO,MAAM,GAAG,GAAG,YAAY,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/interval.js b/node_modules/rxjs/_esm2015/observable/interval.js deleted file mode 100644 index 9cf1cf1e..00000000 --- a/node_modules/rxjs/_esm2015/observable/interval.js +++ /dev/null @@ -1,3 +0,0 @@ -import { IntervalObservable } from './IntervalObservable'; -export const interval = IntervalObservable.create; -//# sourceMappingURL=interval.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/interval.js.map b/node_modules/rxjs/_esm2015/observable/interval.js.map deleted file mode 100644 index a43822fe..00000000 --- a/node_modules/rxjs/_esm2015/observable/interval.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"interval.js","sourceRoot":"","sources":["../../src/observable/interval.ts"],"names":[],"mappings":"OAAO,EAAG,kBAAkB,EAAG,MAAM,sBAAsB;AAE3D,OAAO,MAAM,QAAQ,GAAG,kBAAkB,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/merge.js b/node_modules/rxjs/_esm2015/observable/merge.js deleted file mode 100644 index 02c99033..00000000 --- a/node_modules/rxjs/_esm2015/observable/merge.js +++ /dev/null @@ -1,84 +0,0 @@ -import { Observable } from '../Observable'; -import { ArrayObservable } from './ArrayObservable'; -import { isScheduler } from '../util/isScheduler'; -import { mergeAll } from '../operators/mergeAll'; -/* tslint:enable:max-line-length */ -/** - * Creates an output Observable which concurrently emits all values from every - * given input Observable. - * - * Flattens multiple Observables together by blending - * their values into one Observable. - * - * - * - * `merge` subscribes to each given input Observable (as arguments), and simply - * forwards (without doing any transformation) all the values from all the input - * Observables to the output Observable. The output Observable only completes - * once all input Observables have completed. Any error delivered by an input - * Observable will be immediately emitted on the output Observable. - * - * @example Merge together two Observables: 1s interval and clicks - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var timer = Rx.Observable.interval(1000); - * var clicksOrTimer = Rx.Observable.merge(clicks, timer); - * clicksOrTimer.subscribe(x => console.log(x)); - * - * // Results in the following: - * // timer will emit ascending values, one every second(1000ms) to console - * // clicks logs MouseEvents to console everytime the "document" is clicked - * // Since the two streams are merged you see these happening - * // as they occur. - * - * @example Merge together 3 Observables, but only 2 run concurrently - * var timer1 = Rx.Observable.interval(1000).take(10); - * var timer2 = Rx.Observable.interval(2000).take(6); - * var timer3 = Rx.Observable.interval(500).take(10); - * var concurrent = 2; // the argument - * var merged = Rx.Observable.merge(timer1, timer2, timer3, concurrent); - * merged.subscribe(x => console.log(x)); - * - * // Results in the following: - * // - First timer1 and timer2 will run concurrently - * // - timer1 will emit a value every 1000ms for 10 iterations - * // - timer2 will emit a value every 2000ms for 6 iterations - * // - after timer1 hits it's max iteration, timer2 will - * // continue, and timer3 will start to run concurrently with timer2 - * // - when timer2 hits it's max iteration it terminates, and - * // timer3 will continue to emit a value every 500ms until it is complete - * - * @see {@link mergeAll} - * @see {@link mergeMap} - * @see {@link mergeMapTo} - * @see {@link mergeScan} - * - * @param {...ObservableInput} observables Input Observables to merge together. - * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input - * Observables being subscribed to concurrently. - * @param {Scheduler} [scheduler=null] The IScheduler to use for managing - * concurrency of input Observables. - * @return {Observable} an Observable that emits items that are the result of - * every input Observable. - * @static true - * @name merge - * @owner Observable - */ -export function merge(...observables) { - let concurrent = Number.POSITIVE_INFINITY; - let scheduler = null; - let last = observables[observables.length - 1]; - if (isScheduler(last)) { - scheduler = observables.pop(); - if (observables.length > 1 && typeof observables[observables.length - 1] === 'number') { - concurrent = observables.pop(); - } - } - else if (typeof last === 'number') { - concurrent = observables.pop(); - } - if (scheduler === null && observables.length === 1 && observables[0] instanceof Observable) { - return observables[0]; - } - return mergeAll(concurrent)(new ArrayObservable(observables, scheduler)); -} -//# sourceMappingURL=merge.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/merge.js.map b/node_modules/rxjs/_esm2015/observable/merge.js.map deleted file mode 100644 index 23a0dc11..00000000 --- a/node_modules/rxjs/_esm2015/observable/merge.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../src/observable/merge.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAmB,MAAM,eAAe;OAEpD,EAAE,eAAe,EAAE,MAAM,mBAAmB;OAC5C,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,QAAQ,EAAE,MAAM,uBAAuB;AAiBhD,mCAAmC;AACnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,sBAA4B,GAAG,WAA8D;IAC5F,IAAI,UAAU,GAAG,MAAM,CAAC,iBAAiB,CAAC;IAC1C,IAAI,SAAS,GAAe,IAAI,CAAC;IAChC,IAAI,IAAI,GAAQ,WAAW,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IACpD,EAAE,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QACtB,SAAS,GAAe,WAAW,CAAC,GAAG,EAAE,CAAC;QAC1C,EAAE,CAAC,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,IAAI,OAAO,WAAW,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC;YACtF,UAAU,GAAW,WAAW,CAAC,GAAG,EAAE,CAAC;QACzC,CAAC;IACH,CAAC;IAAC,IAAI,CAAC,EAAE,CAAC,CAAC,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC;QACpC,UAAU,GAAW,WAAW,CAAC,GAAG,EAAE,CAAC;IACzC,CAAC;IAED,EAAE,CAAC,CAAC,SAAS,KAAK,IAAI,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,YAAY,UAAU,CAAC,CAAC,CAAC;QAC3F,MAAM,CAAgB,WAAW,CAAC,CAAC,CAAC,CAAC;IACvC,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,IAAI,eAAe,CAAM,WAAW,EAAE,SAAS,CAAC,CAAkB,CAAC;AACjG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/never.js b/node_modules/rxjs/_esm2015/observable/never.js deleted file mode 100644 index 8750a3e1..00000000 --- a/node_modules/rxjs/_esm2015/observable/never.js +++ /dev/null @@ -1,3 +0,0 @@ -import { NeverObservable } from './NeverObservable'; -export const never = NeverObservable.create; -//# sourceMappingURL=never.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/never.js.map b/node_modules/rxjs/_esm2015/observable/never.js.map deleted file mode 100644 index 4e305bc7..00000000 --- a/node_modules/rxjs/_esm2015/observable/never.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"never.js","sourceRoot":"","sources":["../../src/observable/never.ts"],"names":[],"mappings":"OAAO,EAAG,eAAe,EAAG,MAAM,mBAAmB;AAErD,OAAO,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/of.js b/node_modules/rxjs/_esm2015/observable/of.js deleted file mode 100644 index 78f169a1..00000000 --- a/node_modules/rxjs/_esm2015/observable/of.js +++ /dev/null @@ -1,3 +0,0 @@ -import { ArrayObservable } from './ArrayObservable'; -export const of = ArrayObservable.of; -//# sourceMappingURL=of.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/of.js.map b/node_modules/rxjs/_esm2015/observable/of.js.map deleted file mode 100644 index 6dbffa98..00000000 --- a/node_modules/rxjs/_esm2015/observable/of.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"of.js","sourceRoot":"","sources":["../../src/observable/of.ts"],"names":[],"mappings":"OAAO,EAAG,eAAe,EAAG,MAAM,mBAAmB;AAErD,OAAO,MAAM,EAAE,GAAG,eAAe,CAAC,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/onErrorResumeNext.js b/node_modules/rxjs/_esm2015/observable/onErrorResumeNext.js deleted file mode 100644 index 5215d936..00000000 --- a/node_modules/rxjs/_esm2015/observable/onErrorResumeNext.js +++ /dev/null @@ -1,3 +0,0 @@ -import { onErrorResumeNextStatic } from '../operators/onErrorResumeNext'; -export const onErrorResumeNext = onErrorResumeNextStatic; -//# sourceMappingURL=onErrorResumeNext.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/onErrorResumeNext.js.map b/node_modules/rxjs/_esm2015/observable/onErrorResumeNext.js.map deleted file mode 100644 index 0ce313bf..00000000 --- a/node_modules/rxjs/_esm2015/observable/onErrorResumeNext.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"onErrorResumeNext.js","sourceRoot":"","sources":["../../src/observable/onErrorResumeNext.ts"],"names":[],"mappings":"OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC;AAExE,OAAO,MAAM,iBAAiB,GAAG,uBAAuB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/pairs.js b/node_modules/rxjs/_esm2015/observable/pairs.js deleted file mode 100644 index 6dd20ede..00000000 --- a/node_modules/rxjs/_esm2015/observable/pairs.js +++ /dev/null @@ -1,3 +0,0 @@ -import { PairsObservable } from './PairsObservable'; -export const pairs = PairsObservable.create; -//# sourceMappingURL=pairs.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/pairs.js.map b/node_modules/rxjs/_esm2015/observable/pairs.js.map deleted file mode 100644 index 32e93fa9..00000000 --- a/node_modules/rxjs/_esm2015/observable/pairs.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"pairs.js","sourceRoot":"","sources":["../../src/observable/pairs.ts"],"names":[],"mappings":"OAAO,EAAG,eAAe,EAAG,MAAM,mBAAmB;AAErD,OAAO,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/race.js b/node_modules/rxjs/_esm2015/observable/race.js deleted file mode 100644 index 7fbcda5e..00000000 --- a/node_modules/rxjs/_esm2015/observable/race.js +++ /dev/null @@ -1,71 +0,0 @@ -import { isArray } from '../util/isArray'; -import { ArrayObservable } from '../observable/ArrayObservable'; -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -export function race(...observables) { - // if the only argument is an array, it was most likely called with - // `race([obs1, obs2, ...])` - if (observables.length === 1) { - if (isArray(observables[0])) { - observables = observables[0]; - } - else { - return observables[0]; - } - } - return new ArrayObservable(observables).lift(new RaceOperator()); -} -export class RaceOperator { - call(subscriber, source) { - return source.subscribe(new RaceSubscriber(subscriber)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class RaceSubscriber extends OuterSubscriber { - constructor(destination) { - super(destination); - this.hasFirst = false; - this.observables = []; - this.subscriptions = []; - } - _next(observable) { - this.observables.push(observable); - } - _complete() { - const observables = this.observables; - const len = observables.length; - if (len === 0) { - this.destination.complete(); - } - else { - for (let i = 0; i < len && !this.hasFirst; i++) { - let observable = observables[i]; - let subscription = subscribeToResult(this, observable, observable, i); - if (this.subscriptions) { - this.subscriptions.push(subscription); - } - this.add(subscription); - } - this.observables = null; - } - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - if (!this.hasFirst) { - this.hasFirst = true; - for (let i = 0; i < this.subscriptions.length; i++) { - if (i !== outerIndex) { - let subscription = this.subscriptions[i]; - subscription.unsubscribe(); - this.remove(subscription); - } - } - this.subscriptions = null; - } - this.destination.next(innerValue); - } -} -//# sourceMappingURL=race.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/race.js.map b/node_modules/rxjs/_esm2015/observable/race.js.map deleted file mode 100644 index 9a1fc27c..00000000 --- a/node_modules/rxjs/_esm2015/observable/race.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"race.js","sourceRoot":"","sources":["../../src/observable/race.ts"],"names":[],"mappings":"OACO,EAAE,OAAO,EAAE,MAAM,iBAAiB;OAClC,EAAE,eAAe,EAAE,MAAM,+BAA+B;OAIxD,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAa7D,qBAAwB,GAAG,WAA4D;IACrF,mEAAmE;IACnE,4BAA4B;IAC5B,EAAE,CAAC,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;QAC7B,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAC5B,WAAW,GAA2B,WAAW,CAAC,CAAC,CAAC,CAAC;QACvD,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,CAAkB,WAAW,CAAC,CAAC,CAAC,CAA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;gBACxC,CAAC;gBACD,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;YACzB,CAAC;YACD,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;QAC1B,CAAC;IACH,CAAC;IAED,UAAU,CAAC,UAAa,EAAE,UAAa,EAC5B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YACnB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;YAErB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBACnD,EAAE,CAAC,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC;oBACrB,IAAI,YAAY,GAAG,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;oBAEzC,YAAY,CAAC,WAAW,EAAE,CAAC;oBAC3B,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;gBAC5B,CAAC;YACH,CAAC;YAED,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QAC5B,CAAC;QAED,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/range.js b/node_modules/rxjs/_esm2015/observable/range.js deleted file mode 100644 index e0e35302..00000000 --- a/node_modules/rxjs/_esm2015/observable/range.js +++ /dev/null @@ -1,3 +0,0 @@ -import { RangeObservable } from './RangeObservable'; -export const range = RangeObservable.create; -//# sourceMappingURL=range.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/range.js.map b/node_modules/rxjs/_esm2015/observable/range.js.map deleted file mode 100644 index d96093c8..00000000 --- a/node_modules/rxjs/_esm2015/observable/range.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"range.js","sourceRoot":"","sources":["../../src/observable/range.ts"],"names":[],"mappings":"OAAO,EAAG,eAAe,EAAG,MAAM,mBAAmB;AAErD,OAAO,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/throw.js b/node_modules/rxjs/_esm2015/observable/throw.js deleted file mode 100644 index 7c82dd8f..00000000 --- a/node_modules/rxjs/_esm2015/observable/throw.js +++ /dev/null @@ -1,3 +0,0 @@ -import { ErrorObservable } from './ErrorObservable'; -export const _throw = ErrorObservable.create; -//# sourceMappingURL=throw.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/throw.js.map b/node_modules/rxjs/_esm2015/observable/throw.js.map deleted file mode 100644 index 298f37dd..00000000 --- a/node_modules/rxjs/_esm2015/observable/throw.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"throw.js","sourceRoot":"","sources":["../../src/observable/throw.ts"],"names":[],"mappings":"OAAO,EAAG,eAAe,EAAG,MAAM,mBAAmB;AAErD,OAAO,MAAM,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/timer.js b/node_modules/rxjs/_esm2015/observable/timer.js deleted file mode 100644 index fb8e7707..00000000 --- a/node_modules/rxjs/_esm2015/observable/timer.js +++ /dev/null @@ -1,3 +0,0 @@ -import { TimerObservable } from './TimerObservable'; -export const timer = TimerObservable.create; -//# sourceMappingURL=timer.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/timer.js.map b/node_modules/rxjs/_esm2015/observable/timer.js.map deleted file mode 100644 index fe47d32c..00000000 --- a/node_modules/rxjs/_esm2015/observable/timer.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"timer.js","sourceRoot":"","sources":["../../src/observable/timer.ts"],"names":[],"mappings":"OAAO,EAAG,eAAe,EAAG,MAAM,mBAAmB;AAErD,OAAO,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/using.js b/node_modules/rxjs/_esm2015/observable/using.js deleted file mode 100644 index 9bd79628..00000000 --- a/node_modules/rxjs/_esm2015/observable/using.js +++ /dev/null @@ -1,3 +0,0 @@ -import { UsingObservable } from './UsingObservable'; -export const using = UsingObservable.create; -//# sourceMappingURL=using.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/using.js.map b/node_modules/rxjs/_esm2015/observable/using.js.map deleted file mode 100644 index ec36086f..00000000 --- a/node_modules/rxjs/_esm2015/observable/using.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"using.js","sourceRoot":"","sources":["../../src/observable/using.ts"],"names":[],"mappings":"OAAO,EAAG,eAAe,EAAG,MAAM,mBAAmB;AAErD,OAAO,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/zip.js b/node_modules/rxjs/_esm2015/observable/zip.js deleted file mode 100644 index ac07e133..00000000 --- a/node_modules/rxjs/_esm2015/observable/zip.js +++ /dev/null @@ -1,3 +0,0 @@ -import { zipStatic } from '../operators/zip'; -export const zip = zipStatic; -//# sourceMappingURL=zip.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/observable/zip.js.map b/node_modules/rxjs/_esm2015/observable/zip.js.map deleted file mode 100644 index d65a6cd1..00000000 --- a/node_modules/rxjs/_esm2015/observable/zip.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"zip.js","sourceRoot":"","sources":["../../src/observable/zip.ts"],"names":[],"mappings":"OAAO,EAAG,SAAS,EAAG,MAAM,kBAAkB;AAE9C,OAAO,MAAM,GAAG,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/audit.js b/node_modules/rxjs/_esm2015/operator/audit.js deleted file mode 100644 index 53fb472c..00000000 --- a/node_modules/rxjs/_esm2015/operator/audit.js +++ /dev/null @@ -1,45 +0,0 @@ -import { audit as higherOrder } from '../operators/audit'; -/** - * Ignores source values for a duration determined by another Observable, then - * emits the most recent value from the source Observable, then repeats this - * process. - * - * It's like {@link auditTime}, but the silencing - * duration is determined by a second Observable. - * - * - * - * `audit` is similar to `throttle`, but emits the last value from the silenced - * time window, instead of the first value. `audit` emits the most recent value - * from the source Observable on the output Observable as soon as its internal - * timer becomes disabled, and ignores source values while the timer is enabled. - * Initially, the timer is disabled. As soon as the first source value arrives, - * the timer is enabled by calling the `durationSelector` function with the - * source value, which returns the "duration" Observable. When the duration - * Observable emits a value or completes, the timer is disabled, then the most - * recent source value is emitted on the output Observable, and this process - * repeats for the next source value. - * - * @example Emit clicks at a rate of at most one click per second - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.audit(ev => Rx.Observable.interval(1000)); - * result.subscribe(x => console.log(x)); - * - * @see {@link auditTime} - * @see {@link debounce} - * @see {@link delayWhen} - * @see {@link sample} - * @see {@link throttle} - * - * @param {function(value: T): SubscribableOrPromise} durationSelector A function - * that receives a value from the source Observable, for computing the silencing - * duration, returned as an Observable or a Promise. - * @return {Observable} An Observable that performs rate-limiting of - * emissions from the source Observable. - * @method audit - * @owner Observable - */ -export function audit(durationSelector) { - return higherOrder(durationSelector)(this); -} -//# sourceMappingURL=audit.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/audit.js.map b/node_modules/rxjs/_esm2015/operator/audit.js.map deleted file mode 100644 index e6e37c6e..00000000 --- a/node_modules/rxjs/_esm2015/operator/audit.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"audit.js","sourceRoot":"","sources":["../../src/operator/audit.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB;AAEzD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,sBAA8C,gBAA0D;IACtG,MAAM,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAAC,CAAC;AAC7C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/auditTime.js b/node_modules/rxjs/_esm2015/operator/auditTime.js deleted file mode 100644 index edf60a50..00000000 --- a/node_modules/rxjs/_esm2015/operator/auditTime.js +++ /dev/null @@ -1,48 +0,0 @@ -import { async } from '../scheduler/async'; -import { auditTime as higherOrder } from '../operators/auditTime'; -/** - * Ignores source values for `duration` milliseconds, then emits the most recent - * value from the source Observable, then repeats this process. - * - * When it sees a source values, it ignores that plus - * the next ones for `duration` milliseconds, and then it emits the most recent - * value from the source. - * - * - * - * `auditTime` is similar to `throttleTime`, but emits the last value from the - * silenced time window, instead of the first value. `auditTime` emits the most - * recent value from the source Observable on the output Observable as soon as - * its internal timer becomes disabled, and ignores source values while the - * timer is enabled. Initially, the timer is disabled. As soon as the first - * source value arrives, the timer is enabled. After `duration` milliseconds (or - * the time unit determined internally by the optional `scheduler`) has passed, - * the timer is disabled, then the most recent source value is emitted on the - * output Observable, and this process repeats for the next source value. - * Optionally takes a {@link IScheduler} for managing timers. - * - * @example Emit clicks at a rate of at most one click per second - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.auditTime(1000); - * result.subscribe(x => console.log(x)); - * - * @see {@link audit} - * @see {@link debounceTime} - * @see {@link delay} - * @see {@link sampleTime} - * @see {@link throttleTime} - * - * @param {number} duration Time to wait before emitting the most recent source - * value, measured in milliseconds or the time unit determined internally - * by the optional `scheduler`. - * @param {Scheduler} [scheduler=async] The {@link IScheduler} to use for - * managing the timers that handle the rate-limiting behavior. - * @return {Observable} An Observable that performs rate-limiting of - * emissions from the source Observable. - * @method auditTime - * @owner Observable - */ -export function auditTime(duration, scheduler = async) { - return higherOrder(duration, scheduler)(this); -} -//# sourceMappingURL=auditTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/auditTime.js.map b/node_modules/rxjs/_esm2015/operator/auditTime.js.map deleted file mode 100644 index cade2077..00000000 --- a/node_modules/rxjs/_esm2015/operator/auditTime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"auditTime.js","sourceRoot":"","sources":["../../src/operator/auditTime.ts"],"names":[],"mappings":"OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAGnC,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,0BAAkD,QAAgB,EAAE,SAAS,GAAe,KAAK;IAC/F,MAAM,CAAC,WAAW,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,IAAI,CAAkB,CAAC;AACjE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/buffer.js b/node_modules/rxjs/_esm2015/operator/buffer.js deleted file mode 100644 index e75bd055..00000000 --- a/node_modules/rxjs/_esm2015/operator/buffer.js +++ /dev/null @@ -1,37 +0,0 @@ -import { buffer as higherOrder } from '../operators/buffer'; -/** - * Buffers the source Observable values until `closingNotifier` emits. - * - * Collects values from the past as an array, and emits - * that array only when another Observable emits. - * - * - * - * Buffers the incoming Observable values until the given `closingNotifier` - * Observable emits a value, at which point it emits the buffer on the output - * Observable and starts a new buffer internally, awaiting the next time - * `closingNotifier` emits. - * - * @example On every click, emit array of most recent interval events - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var interval = Rx.Observable.interval(1000); - * var buffered = interval.buffer(clicks); - * buffered.subscribe(x => console.log(x)); - * - * @see {@link bufferCount} - * @see {@link bufferTime} - * @see {@link bufferToggle} - * @see {@link bufferWhen} - * @see {@link window} - * - * @param {Observable} closingNotifier An Observable that signals the - * buffer to be emitted on the output Observable. - * @return {Observable} An Observable of buffers, which are arrays of - * values. - * @method buffer - * @owner Observable - */ -export function buffer(closingNotifier) { - return higherOrder(closingNotifier)(this); -} -//# sourceMappingURL=buffer.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/buffer.js.map b/node_modules/rxjs/_esm2015/operator/buffer.js.map deleted file mode 100644 index ace64376..00000000 --- a/node_modules/rxjs/_esm2015/operator/buffer.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"buffer.js","sourceRoot":"","sources":["../../src/operator/buffer.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,qBAAqB;AAE3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,uBAA+C,eAAgC;IAC7E,MAAM,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC,IAAI,CAAoB,CAAC;AAC/D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/bufferCount.js b/node_modules/rxjs/_esm2015/operator/bufferCount.js deleted file mode 100644 index f60ad45a..00000000 --- a/node_modules/rxjs/_esm2015/operator/bufferCount.js +++ /dev/null @@ -1,46 +0,0 @@ -import { bufferCount as higherOrder } from '../operators/bufferCount'; -/** - * Buffers the source Observable values until the size hits the maximum - * `bufferSize` given. - * - * Collects values from the past as an array, and emits - * that array only when its size reaches `bufferSize`. - * - * - * - * Buffers a number of values from the source Observable by `bufferSize` then - * emits the buffer and clears it, and starts a new buffer each - * `startBufferEvery` values. If `startBufferEvery` is not provided or is - * `null`, then new buffers are started immediately at the start of the source - * and when each buffer closes and is emitted. - * - * @example Emit the last two click events as an array - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var buffered = clicks.bufferCount(2); - * buffered.subscribe(x => console.log(x)); - * - * @example On every click, emit the last two click events as an array - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var buffered = clicks.bufferCount(2, 1); - * buffered.subscribe(x => console.log(x)); - * - * @see {@link buffer} - * @see {@link bufferTime} - * @see {@link bufferToggle} - * @see {@link bufferWhen} - * @see {@link pairwise} - * @see {@link windowCount} - * - * @param {number} bufferSize The maximum size of the buffer emitted. - * @param {number} [startBufferEvery] Interval at which to start a new buffer. - * For example if `startBufferEvery` is `2`, then a new buffer will be started - * on every other value from the source. A new buffer is started at the - * beginning of the source by default. - * @return {Observable} An Observable of arrays of buffered values. - * @method bufferCount - * @owner Observable - */ -export function bufferCount(bufferSize, startBufferEvery = null) { - return higherOrder(bufferSize, startBufferEvery)(this); -} -//# sourceMappingURL=bufferCount.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/bufferCount.js.map b/node_modules/rxjs/_esm2015/operator/bufferCount.js.map deleted file mode 100644 index c94b1f4a..00000000 --- a/node_modules/rxjs/_esm2015/operator/bufferCount.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"bufferCount.js","sourceRoot":"","sources":["../../src/operator/bufferCount.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,0BAA0B;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,4BAAoD,UAAkB,EAAE,gBAAgB,GAAW,IAAI;IACrG,MAAM,CAAC,WAAW,CAAC,UAAU,EAAE,gBAAgB,CAAC,CAAC,IAAI,CAAoB,CAAC;AAC5E,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/bufferTime.js b/node_modules/rxjs/_esm2015/operator/bufferTime.js deleted file mode 100644 index e3400c77..00000000 --- a/node_modules/rxjs/_esm2015/operator/bufferTime.js +++ /dev/null @@ -1,65 +0,0 @@ -import { async } from '../scheduler/async'; -import { isScheduler } from '../util/isScheduler'; -import { bufferTime as higherOrder } from '../operators/bufferTime'; -/* tslint:enable:max-line-length */ -/** - * Buffers the source Observable values for a specific time period. - * - * Collects values from the past as an array, and emits - * those arrays periodically in time. - * - * - * - * Buffers values from the source for a specific time duration `bufferTimeSpan`. - * Unless the optional argument `bufferCreationInterval` is given, it emits and - * resets the buffer every `bufferTimeSpan` milliseconds. If - * `bufferCreationInterval` is given, this operator opens the buffer every - * `bufferCreationInterval` milliseconds and closes (emits and resets) the - * buffer every `bufferTimeSpan` milliseconds. When the optional argument - * `maxBufferSize` is specified, the buffer will be closed either after - * `bufferTimeSpan` milliseconds or when it contains `maxBufferSize` elements. - * - * @example Every second, emit an array of the recent click events - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var buffered = clicks.bufferTime(1000); - * buffered.subscribe(x => console.log(x)); - * - * @example Every 5 seconds, emit the click events from the next 2 seconds - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var buffered = clicks.bufferTime(2000, 5000); - * buffered.subscribe(x => console.log(x)); - * - * @see {@link buffer} - * @see {@link bufferCount} - * @see {@link bufferToggle} - * @see {@link bufferWhen} - * @see {@link windowTime} - * - * @param {number} bufferTimeSpan The amount of time to fill each buffer array. - * @param {number} [bufferCreationInterval] The interval at which to start new - * buffers. - * @param {number} [maxBufferSize] The maximum buffer size. - * @param {Scheduler} [scheduler=async] The scheduler on which to schedule the - * intervals that determine buffer boundaries. - * @return {Observable} An observable of arrays of buffered values. - * @method bufferTime - * @owner Observable - */ -export function bufferTime(bufferTimeSpan) { - let length = arguments.length; - let scheduler = async; - if (isScheduler(arguments[arguments.length - 1])) { - scheduler = arguments[arguments.length - 1]; - length--; - } - let bufferCreationInterval = null; - if (length >= 2) { - bufferCreationInterval = arguments[1]; - } - let maxBufferSize = Number.POSITIVE_INFINITY; - if (length >= 3) { - maxBufferSize = arguments[2]; - } - return higherOrder(bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler)(this); -} -//# sourceMappingURL=bufferTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/bufferTime.js.map b/node_modules/rxjs/_esm2015/operator/bufferTime.js.map deleted file mode 100644 index 9c0596a6..00000000 --- a/node_modules/rxjs/_esm2015/operator/bufferTime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"bufferTime.js","sourceRoot":"","sources":["../../src/operator/bufferTime.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAEnC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,yBAAyB;AAMnE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,2BAAmD,cAAsB;IACvE,IAAI,MAAM,GAAW,SAAS,CAAC,MAAM,CAAC;IAEtC,IAAI,SAAS,GAAe,KAAK,CAAC;IAClC,EAAE,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACjD,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAC5C,MAAM,EAAE,CAAC;IACX,CAAC;IAED,IAAI,sBAAsB,GAAW,IAAI,CAAC;IAC1C,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC;QAChB,sBAAsB,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IACxC,CAAC;IAED,IAAI,aAAa,GAAW,MAAM,CAAC,iBAAiB,CAAC;IACrD,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC;QAChB,aAAa,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IAC/B,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,cAAc,EAAE,sBAAsB,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,IAAI,CAAoB,CAAC;AAChH,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/bufferToggle.js b/node_modules/rxjs/_esm2015/operator/bufferToggle.js deleted file mode 100644 index 694eadae..00000000 --- a/node_modules/rxjs/_esm2015/operator/bufferToggle.js +++ /dev/null @@ -1,43 +0,0 @@ -import { bufferToggle as higherOrder } from '../operators/bufferToggle'; -/** - * Buffers the source Observable values starting from an emission from - * `openings` and ending when the output of `closingSelector` emits. - * - * Collects values from the past as an array. Starts - * collecting only when `opening` emits, and calls the `closingSelector` - * function to get an Observable that tells when to close the buffer. - * - * - * - * Buffers values from the source by opening the buffer via signals from an - * Observable provided to `openings`, and closing and sending the buffers when - * a Subscribable or Promise returned by the `closingSelector` function emits. - * - * @example Every other second, emit the click events from the next 500ms - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var openings = Rx.Observable.interval(1000); - * var buffered = clicks.bufferToggle(openings, i => - * i % 2 ? Rx.Observable.interval(500) : Rx.Observable.empty() - * ); - * buffered.subscribe(x => console.log(x)); - * - * @see {@link buffer} - * @see {@link bufferCount} - * @see {@link bufferTime} - * @see {@link bufferWhen} - * @see {@link windowToggle} - * - * @param {SubscribableOrPromise} openings A Subscribable or Promise of notifications to start new - * buffers. - * @param {function(value: O): SubscribableOrPromise} closingSelector A function that takes - * the value emitted by the `openings` observable and returns a Subscribable or Promise, - * which, when it emits, signals that the associated buffer should be emitted - * and cleared. - * @return {Observable} An observable of arrays of buffered values. - * @method bufferToggle - * @owner Observable - */ -export function bufferToggle(openings, closingSelector) { - return higherOrder(openings, closingSelector)(this); -} -//# sourceMappingURL=bufferToggle.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/bufferToggle.js.map b/node_modules/rxjs/_esm2015/operator/bufferToggle.js.map deleted file mode 100644 index e860d3c1..00000000 --- a/node_modules/rxjs/_esm2015/operator/bufferToggle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"bufferToggle.js","sourceRoot":"","sources":["../../src/operator/bufferToggle.ts"],"names":[],"mappings":"OAEO,EAAE,YAAY,IAAI,WAAW,EAAE,MAAM,2BAA2B;AAEvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,6BAAwD,QAAkC,EACvD,eAAyD;IAC1F,MAAM,CAAC,WAAW,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC,IAAI,CAAoB,CAAC;AACzE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/bufferWhen.js b/node_modules/rxjs/_esm2015/operator/bufferWhen.js deleted file mode 100644 index 438273fa..00000000 --- a/node_modules/rxjs/_esm2015/operator/bufferWhen.js +++ /dev/null @@ -1,38 +0,0 @@ -import { bufferWhen as higherOrder } from '../operators/bufferWhen'; -/** - * Buffers the source Observable values, using a factory function of closing - * Observables to determine when to close, emit, and reset the buffer. - * - * Collects values from the past as an array. When it - * starts collecting values, it calls a function that returns an Observable that - * tells when to close the buffer and restart collecting. - * - * - * - * Opens a buffer immediately, then closes the buffer when the observable - * returned by calling `closingSelector` function emits a value. When it closes - * the buffer, it immediately opens a new buffer and repeats the process. - * - * @example Emit an array of the last clicks every [1-5] random seconds - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var buffered = clicks.bufferWhen(() => - * Rx.Observable.interval(1000 + Math.random() * 4000) - * ); - * buffered.subscribe(x => console.log(x)); - * - * @see {@link buffer} - * @see {@link bufferCount} - * @see {@link bufferTime} - * @see {@link bufferToggle} - * @see {@link windowWhen} - * - * @param {function(): Observable} closingSelector A function that takes no - * arguments and returns an Observable that signals buffer closure. - * @return {Observable} An observable of arrays of buffered values. - * @method bufferWhen - * @owner Observable - */ -export function bufferWhen(closingSelector) { - return higherOrder(closingSelector)(this); -} -//# sourceMappingURL=bufferWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/bufferWhen.js.map b/node_modules/rxjs/_esm2015/operator/bufferWhen.js.map deleted file mode 100644 index c8dc442d..00000000 --- a/node_modules/rxjs/_esm2015/operator/bufferWhen.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"bufferWhen.js","sourceRoot":"","sources":["../../src/operator/bufferWhen.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,yBAAyB;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,2BAAmD,eAAsC;IACvF,MAAM,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC,IAAI,CAAoB,CAAC;AAC/D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/catch.js b/node_modules/rxjs/_esm2015/operator/catch.js deleted file mode 100644 index 714adc76..00000000 --- a/node_modules/rxjs/_esm2015/operator/catch.js +++ /dev/null @@ -1,64 +0,0 @@ -import { catchError as higherOrder } from '../operators/catchError'; -/** - * Catches errors on the observable to be handled by returning a new observable or throwing an error. - * - * - * - * @example Continues with a different Observable when there's an error - * - * Observable.of(1, 2, 3, 4, 5) - * .map(n => { - * if (n == 4) { - * throw 'four!'; - * } - * return n; - * }) - * .catch(err => Observable.of('I', 'II', 'III', 'IV', 'V')) - * .subscribe(x => console.log(x)); - * // 1, 2, 3, I, II, III, IV, V - * - * @example Retries the caught source Observable again in case of error, similar to retry() operator - * - * Observable.of(1, 2, 3, 4, 5) - * .map(n => { - * if (n === 4) { - * throw 'four!'; - * } - * return n; - * }) - * .catch((err, caught) => caught) - * .take(30) - * .subscribe(x => console.log(x)); - * // 1, 2, 3, 1, 2, 3, ... - * - * @example Throws a new error when the source Observable throws an error - * - * Observable.of(1, 2, 3, 4, 5) - * .map(n => { - * if (n == 4) { - * throw 'four!'; - * } - * return n; - * }) - * .catch(err => { - * throw 'error in source. Details: ' + err; - * }) - * .subscribe( - * x => console.log(x), - * err => console.log(err) - * ); - * // 1, 2, 3, error in source. Details: four! - * - * @param {function} selector a function that takes as arguments `err`, which is the error, and `caught`, which - * is the source observable, in case you'd like to "retry" that observable by returning it again. Whatever observable - * is returned by the `selector` will be used to continue the observable chain. - * @return {Observable} An observable that originates from either the source or the observable returned by the - * catch `selector` function. - * @method catch - * @name catch - * @owner Observable - */ -export function _catch(selector) { - return higherOrder(selector)(this); -} -//# sourceMappingURL=catch.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/catch.js.map b/node_modules/rxjs/_esm2015/operator/catch.js.map deleted file mode 100644 index 773e0d45..00000000 --- a/node_modules/rxjs/_esm2015/operator/catch.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"catch.js","sourceRoot":"","sources":["../../src/operator/catch.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,yBAAyB;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,uBAAkD,QAAiE;IACjH,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC;AACrC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/combineAll.js b/node_modules/rxjs/_esm2015/operator/combineAll.js deleted file mode 100644 index 38368f7a..00000000 --- a/node_modules/rxjs/_esm2015/operator/combineAll.js +++ /dev/null @@ -1,45 +0,0 @@ -import { combineAll as higherOrder } from '../operators/combineAll'; -/** - * Converts a higher-order Observable into a first-order Observable by waiting - * for the outer Observable to complete, then applying {@link combineLatest}. - * - * Flattens an Observable-of-Observables by applying - * {@link combineLatest} when the Observable-of-Observables completes. - * - * - * - * Takes an Observable of Observables, and collects all Observables from it. - * Once the outer Observable completes, it subscribes to all collected - * Observables and combines their values using the {@link combineLatest} - * strategy, such that: - * - Every time an inner Observable emits, the output Observable emits. - * - When the returned observable emits, it emits all of the latest values by: - * - If a `project` function is provided, it is called with each recent value - * from each inner Observable in whatever order they arrived, and the result - * of the `project` function is what is emitted by the output Observable. - * - If there is no `project` function, an array of all of the most recent - * values is emitted by the output Observable. - * - * @example Map two click events to a finite interval Observable, then apply combineAll - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var higherOrder = clicks.map(ev => - * Rx.Observable.interval(Math.random()*2000).take(3) - * ).take(2); - * var result = higherOrder.combineAll(); - * result.subscribe(x => console.log(x)); - * - * @see {@link combineLatest} - * @see {@link mergeAll} - * - * @param {function} [project] An optional function to map the most recent - * values from each inner Observable into a new result. Takes each of the most - * recent values from each collected inner Observable as arguments, in order. - * @return {Observable} An Observable of projected results or arrays of recent - * values. - * @method combineAll - * @owner Observable - */ -export function combineAll(project) { - return higherOrder(project)(this); -} -//# sourceMappingURL=combineAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/combineAll.js.map b/node_modules/rxjs/_esm2015/operator/combineAll.js.map deleted file mode 100644 index 78d32316..00000000 --- a/node_modules/rxjs/_esm2015/operator/combineAll.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"combineAll.js","sourceRoot":"","sources":["../../src/operator/combineAll.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,yBAAyB;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,2BAAsD,OAAsC;IAC1F,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AACpC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/combineLatest.js b/node_modules/rxjs/_esm2015/operator/combineLatest.js deleted file mode 100644 index 4839bad7..00000000 --- a/node_modules/rxjs/_esm2015/operator/combineLatest.js +++ /dev/null @@ -1,49 +0,0 @@ -import { combineLatest as higherOrder } from '../operators/combineLatest'; -/* tslint:enable:max-line-length */ -/** - * Combines multiple Observables to create an Observable whose values are - * calculated from the latest values of each of its input Observables. - * - * Whenever any input Observable emits a value, it - * computes a formula using the latest values from all the inputs, then emits - * the output of that formula. - * - * - * - * `combineLatest` combines the values from this Observable with values from - * Observables passed as arguments. This is done by subscribing to each - * Observable, in order, and collecting an array of each of the most recent - * values any time any of the input Observables emits, then either taking that - * array and passing it as arguments to an optional `project` function and - * emitting the return value of that, or just emitting the array of recent - * values directly if there is no `project` function. - * - * @example Dynamically calculate the Body-Mass Index from an Observable of weight and one for height - * var weight = Rx.Observable.of(70, 72, 76, 79, 75); - * var height = Rx.Observable.of(1.76, 1.77, 1.78); - * var bmi = weight.combineLatest(height, (w, h) => w / (h * h)); - * bmi.subscribe(x => console.log('BMI is ' + x)); - * - * // With output to console: - * // BMI is 24.212293388429753 - * // BMI is 23.93948099205209 - * // BMI is 23.671253629592222 - * - * @see {@link combineAll} - * @see {@link merge} - * @see {@link withLatestFrom} - * - * @param {ObservableInput} other An input Observable to combine with the source - * Observable. More than one input Observables may be given as argument. - * @param {function} [project] An optional function to project the values from - * the combined latest values into a new value on the output Observable. - * @return {Observable} An Observable of projected values from the most recent - * values from each input Observable, or an array of the most recent values from - * each input Observable. - * @method combineLatest - * @owner Observable - */ -export function combineLatest(...observables) { - return higherOrder(...observables)(this); -} -//# sourceMappingURL=combineLatest.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/combineLatest.js.map b/node_modules/rxjs/_esm2015/operator/combineLatest.js.map deleted file mode 100644 index 461bebbb..00000000 --- a/node_modules/rxjs/_esm2015/operator/combineLatest.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"combineLatest.js","sourceRoot":"","sources":["../../src/operator/combineLatest.ts"],"names":[],"mappings":"OACO,EAAE,aAAa,IAAI,WAAW,EAAE,MAAM,4BAA4B;AAiBzE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,8BAAyD,GAAG,WAE0B;IACpF,MAAM,CAAC,WAAW,CAAC,GAAG,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC;AAC3C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/concat.js b/node_modules/rxjs/_esm2015/operator/concat.js deleted file mode 100644 index d2b73961..00000000 --- a/node_modules/rxjs/_esm2015/operator/concat.js +++ /dev/null @@ -1,56 +0,0 @@ -import { concat as higherOrder } from '../operators/concat'; -export { concat as concatStatic } from '../observable/concat'; -/* tslint:enable:max-line-length */ -/** - * Creates an output Observable which sequentially emits all values from every - * given input Observable after the current Observable. - * - * Concatenates multiple Observables together by - * sequentially emitting their values, one Observable after the other. - * - * - * - * Joins this Observable with multiple other Observables by subscribing to them - * one at a time, starting with the source, and merging their results into the - * output Observable. Will wait for each Observable to complete before moving - * on to the next. - * - * @example Concatenate a timer counting from 0 to 3 with a synchronous sequence from 1 to 10 - * var timer = Rx.Observable.interval(1000).take(4); - * var sequence = Rx.Observable.range(1, 10); - * var result = timer.concat(sequence); - * result.subscribe(x => console.log(x)); - * - * // results in: - * // 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 -immediate-> 1 ... 10 - * - * @example Concatenate 3 Observables - * var timer1 = Rx.Observable.interval(1000).take(10); - * var timer2 = Rx.Observable.interval(2000).take(6); - * var timer3 = Rx.Observable.interval(500).take(10); - * var result = timer1.concat(timer2, timer3); - * result.subscribe(x => console.log(x)); - * - * // results in the following: - * // (Prints to console sequentially) - * // -1000ms-> 0 -1000ms-> 1 -1000ms-> ... 9 - * // -2000ms-> 0 -2000ms-> 1 -2000ms-> ... 5 - * // -500ms-> 0 -500ms-> 1 -500ms-> ... 9 - * - * @see {@link concatAll} - * @see {@link concatMap} - * @see {@link concatMapTo} - * - * @param {ObservableInput} other An input Observable to concatenate after the source - * Observable. More than one input Observables may be given as argument. - * @param {Scheduler} [scheduler=null] An optional IScheduler to schedule each - * Observable subscription on. - * @return {Observable} All values of each passed Observable merged into a - * single Observable, in order, in serial fashion. - * @method concat - * @owner Observable - */ -export function concat(...observables) { - return higherOrder(...observables)(this); -} -//# sourceMappingURL=concat.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/concat.js.map b/node_modules/rxjs/_esm2015/operator/concat.js.map deleted file mode 100644 index 50de5f4f..00000000 --- a/node_modules/rxjs/_esm2015/operator/concat.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"concat.js","sourceRoot":"","sources":["../../src/operator/concat.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,qBAAqB;AAE3D,SAAS,MAAM,IAAI,YAAY,QAAQ,sBAAsB,CAAC;AAW9D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,uBAAkD,GAAG,WAAqD;IACxG,MAAM,CAAC,WAAW,CAAC,GAAG,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC;AAC3C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/concatAll.js b/node_modules/rxjs/_esm2015/operator/concatAll.js deleted file mode 100644 index ecf9b05c..00000000 --- a/node_modules/rxjs/_esm2015/operator/concatAll.js +++ /dev/null @@ -1,54 +0,0 @@ -import { concatAll as higherOrder } from '../operators/concatAll'; -/* tslint:enable:max-line-length */ -/** - * Converts a higher-order Observable into a first-order Observable by - * concatenating the inner Observables in order. - * - * Flattens an Observable-of-Observables by putting one - * inner Observable after the other. - * - * - * - * Joins every Observable emitted by the source (a higher-order Observable), in - * a serial fashion. It subscribes to each inner Observable only after the - * previous inner Observable has completed, and merges all of their values into - * the returned observable. - * - * __Warning:__ If the source Observable emits Observables quickly and - * endlessly, and the inner Observables it emits generally complete slower than - * the source emits, you can run into memory issues as the incoming Observables - * collect in an unbounded buffer. - * - * Note: `concatAll` is equivalent to `mergeAll` with concurrency parameter set - * to `1`. - * - * @example For each click event, tick every second from 0 to 3, with no concurrency - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var higherOrder = clicks.map(ev => Rx.Observable.interval(1000).take(4)); - * var firstOrder = higherOrder.concatAll(); - * firstOrder.subscribe(x => console.log(x)); - * - * // Results in the following: - * // (results are not concurrent) - * // For every click on the "document" it will emit values 0 to 3 spaced - * // on a 1000ms interval - * // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 - * - * @see {@link combineAll} - * @see {@link concat} - * @see {@link concatMap} - * @see {@link concatMapTo} - * @see {@link exhaust} - * @see {@link mergeAll} - * @see {@link switch} - * @see {@link zipAll} - * - * @return {Observable} An Observable emitting values from all the inner - * Observables concatenated. - * @method concatAll - * @owner Observable - */ -export function concatAll() { - return higherOrder()(this); -} -//# sourceMappingURL=concatAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/concatAll.js.map b/node_modules/rxjs/_esm2015/operator/concatAll.js.map deleted file mode 100644 index d340e224..00000000 --- a/node_modules/rxjs/_esm2015/operator/concatAll.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"concatAll.js","sourceRoot":"","sources":["../../src/operator/concatAll.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAKjE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH;IACE,MAAM,CAAM,WAAW,EAAE,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/concatMap.js b/node_modules/rxjs/_esm2015/operator/concatMap.js deleted file mode 100644 index 987b3ac2..00000000 --- a/node_modules/rxjs/_esm2015/operator/concatMap.js +++ /dev/null @@ -1,65 +0,0 @@ -import { concatMap as higherOrderConcatMap } from '../operators/concatMap'; -/* tslint:enable:max-line-length */ -/** - * Projects each source value to an Observable which is merged in the output - * Observable, in a serialized fashion waiting for each one to complete before - * merging the next. - * - * Maps each value to an Observable, then flattens all of - * these inner Observables using {@link concatAll}. - * - * - * - * Returns an Observable that emits items based on applying a function that you - * supply to each item emitted by the source Observable, where that function - * returns an (so-called "inner") Observable. Each new inner Observable is - * concatenated with the previous inner Observable. - * - * __Warning:__ if source values arrive endlessly and faster than their - * corresponding inner Observables can complete, it will result in memory issues - * as inner Observables amass in an unbounded buffer waiting for their turn to - * be subscribed to. - * - * Note: `concatMap` is equivalent to `mergeMap` with concurrency parameter set - * to `1`. - * - * @example For each click event, tick every second from 0 to 3, with no concurrency - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.concatMap(ev => Rx.Observable.interval(1000).take(4)); - * result.subscribe(x => console.log(x)); - * - * // Results in the following: - * // (results are not concurrent) - * // For every click on the "document" it will emit values 0 to 3 spaced - * // on a 1000ms interval - * // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 - * - * @see {@link concat} - * @see {@link concatAll} - * @see {@link concatMapTo} - * @see {@link exhaustMap} - * @see {@link mergeMap} - * @see {@link switchMap} - * - * @param {function(value: T, ?index: number): ObservableInput} project A function - * that, when applied to an item emitted by the source Observable, returns an - * Observable. - * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] - * A function to produce the value on the output Observable based on the values - * and the indices of the source (outer) emission and the inner Observable - * emission. The arguments passed to this function are: - * - `outerValue`: the value that came from the source - * - `innerValue`: the value that came from the projected Observable - * - `outerIndex`: the "index" of the value that came from the source - * - `innerIndex`: the "index" of the value from the projected Observable - * @return {Observable} An Observable that emits the result of applying the - * projection function (and the optional `resultSelector`) to each item emitted - * by the source Observable and taking values from each projected inner - * Observable sequentially. - * @method concatMap - * @owner Observable - */ -export function concatMap(project, resultSelector) { - return higherOrderConcatMap(project, resultSelector)(this); -} -//# sourceMappingURL=concatMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/concatMap.js.map b/node_modules/rxjs/_esm2015/operator/concatMap.js.map deleted file mode 100644 index 41de2cd9..00000000 --- a/node_modules/rxjs/_esm2015/operator/concatMap.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"concatMap.js","sourceRoot":"","sources":["../../src/operator/concatMap.ts"],"names":[],"mappings":"OAAO,EAAE,SAAS,IAAI,oBAAoB,EAAE,MAAM,wBAAwB;AAM1E,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,0BAAwD,OAAyD,EAC9E,cAA4F;IAC7H,MAAM,CAAC,oBAAoB,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,IAAI,CAAC,CAAC;AAC7D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/concatMapTo.js b/node_modules/rxjs/_esm2015/operator/concatMapTo.js deleted file mode 100644 index b51b0ced..00000000 --- a/node_modules/rxjs/_esm2015/operator/concatMapTo.js +++ /dev/null @@ -1,62 +0,0 @@ -import { concatMapTo as higherOrder } from '../operators/concatMapTo'; -/* tslint:enable:max-line-length */ -/** - * Projects each source value to the same Observable which is merged multiple - * times in a serialized fashion on the output Observable. - * - * It's like {@link concatMap}, but maps each value - * always to the same inner Observable. - * - * - * - * Maps each source value to the given Observable `innerObservable` regardless - * of the source value, and then flattens those resulting Observables into one - * single Observable, which is the output Observable. Each new `innerObservable` - * instance emitted on the output Observable is concatenated with the previous - * `innerObservable` instance. - * - * __Warning:__ if source values arrive endlessly and faster than their - * corresponding inner Observables can complete, it will result in memory issues - * as inner Observables amass in an unbounded buffer waiting for their turn to - * be subscribed to. - * - * Note: `concatMapTo` is equivalent to `mergeMapTo` with concurrency parameter - * set to `1`. - * - * @example For each click event, tick every second from 0 to 3, with no concurrency - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.concatMapTo(Rx.Observable.interval(1000).take(4)); - * result.subscribe(x => console.log(x)); - * - * // Results in the following: - * // (results are not concurrent) - * // For every click on the "document" it will emit values 0 to 3 spaced - * // on a 1000ms interval - * // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 - * - * @see {@link concat} - * @see {@link concatAll} - * @see {@link concatMap} - * @see {@link mergeMapTo} - * @see {@link switchMapTo} - * - * @param {ObservableInput} innerObservable An Observable to replace each value from - * the source Observable. - * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] - * A function to produce the value on the output Observable based on the values - * and the indices of the source (outer) emission and the inner Observable - * emission. The arguments passed to this function are: - * - `outerValue`: the value that came from the source - * - `innerValue`: the value that came from the projected Observable - * - `outerIndex`: the "index" of the value that came from the source - * - `innerIndex`: the "index" of the value from the projected Observable - * @return {Observable} An observable of values merged together by joining the - * passed observable with itself, one after the other, for each value emitted - * from the source. - * @method concatMapTo - * @owner Observable - */ -export function concatMapTo(innerObservable, resultSelector) { - return higherOrder(innerObservable, resultSelector)(this); -} -//# sourceMappingURL=concatMapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/concatMapTo.js.map b/node_modules/rxjs/_esm2015/operator/concatMapTo.js.map deleted file mode 100644 index 45b7f449..00000000 --- a/node_modules/rxjs/_esm2015/operator/concatMapTo.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"concatMapTo.js","sourceRoot":"","sources":["../../src/operator/concatMapTo.ts"],"names":[],"mappings":"OACO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,0BAA0B;AAKrE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,4BAA0D,eAA8B,EACnD,cAA4F;IAC/H,MAAM,CAAC,WAAW,CAAC,eAAe,EAAE,cAAc,CAAC,CAAC,IAAI,CAAC,CAAC;AAC5D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/count.js b/node_modules/rxjs/_esm2015/operator/count.js deleted file mode 100644 index 751ccf2e..00000000 --- a/node_modules/rxjs/_esm2015/operator/count.js +++ /dev/null @@ -1,53 +0,0 @@ -import { count as higherOrder } from '../operators/count'; -/** - * Counts the number of emissions on the source and emits that number when the - * source completes. - * - * Tells how many values were emitted, when the source - * completes. - * - * - * - * `count` transforms an Observable that emits values into an Observable that - * emits a single value that represents the number of values emitted by the - * source Observable. If the source Observable terminates with an error, `count` - * will pass this error notification along without emitting a value first. If - * the source Observable does not terminate at all, `count` will neither emit - * a value nor terminate. This operator takes an optional `predicate` function - * as argument, in which case the output emission will represent the number of - * source values that matched `true` with the `predicate`. - * - * @example Counts how many seconds have passed before the first click happened - * var seconds = Rx.Observable.interval(1000); - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var secondsBeforeClick = seconds.takeUntil(clicks); - * var result = secondsBeforeClick.count(); - * result.subscribe(x => console.log(x)); - * - * @example Counts how many odd numbers are there between 1 and 7 - * var numbers = Rx.Observable.range(1, 7); - * var result = numbers.count(i => i % 2 === 1); - * result.subscribe(x => console.log(x)); - * - * // Results in: - * // 4 - * - * @see {@link max} - * @see {@link min} - * @see {@link reduce} - * - * @param {function(value: T, i: number, source: Observable): boolean} [predicate] A - * boolean function to select what values are to be counted. It is provided with - * arguments of: - * - `value`: the value from the source Observable. - * - `index`: the (zero-based) "index" of the value from the source Observable. - * - `source`: the source Observable instance itself. - * @return {Observable} An Observable of one number that represents the count as - * described above. - * @method count - * @owner Observable - */ -export function count(predicate) { - return higherOrder(predicate)(this); -} -//# sourceMappingURL=count.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/count.js.map b/node_modules/rxjs/_esm2015/operator/count.js.map deleted file mode 100644 index b5299e7e..00000000 --- a/node_modules/rxjs/_esm2015/operator/count.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"count.js","sourceRoot":"","sources":["../../src/operator/count.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB;AAEzD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,sBAA8C,SAAuE;IACnH,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;AACtC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/debounce.js b/node_modules/rxjs/_esm2015/operator/debounce.js deleted file mode 100644 index 2dcf5712..00000000 --- a/node_modules/rxjs/_esm2015/operator/debounce.js +++ /dev/null @@ -1,47 +0,0 @@ -import { debounce as higherOrder } from '../operators/debounce'; -/** - * Emits a value from the source Observable only after a particular time span - * determined by another Observable has passed without another source emission. - * - * It's like {@link debounceTime}, but the time span of - * emission silence is determined by a second Observable. - * - * - * - * `debounce` delays values emitted by the source Observable, but drops previous - * pending delayed emissions if a new value arrives on the source Observable. - * This operator keeps track of the most recent value from the source - * Observable, and spawns a duration Observable by calling the - * `durationSelector` function. The value is emitted only when the duration - * Observable emits a value or completes, and if no other value was emitted on - * the source Observable since the duration Observable was spawned. If a new - * value appears before the duration Observable emits, the previous value will - * be dropped and will not be emitted on the output Observable. - * - * Like {@link debounceTime}, this is a rate-limiting operator, and also a - * delay-like operator since output emissions do not necessarily occur at the - * same time as they did on the source Observable. - * - * @example Emit the most recent click after a burst of clicks - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.debounce(() => Rx.Observable.interval(1000)); - * result.subscribe(x => console.log(x)); - * - * @see {@link audit} - * @see {@link debounceTime} - * @see {@link delayWhen} - * @see {@link throttle} - * - * @param {function(value: T): SubscribableOrPromise} durationSelector A function - * that receives a value from the source Observable, for computing the timeout - * duration for each source value, returned as an Observable or a Promise. - * @return {Observable} An Observable that delays the emissions of the source - * Observable by the specified duration Observable returned by - * `durationSelector`, and may drop some values if they occur too frequently. - * @method debounce - * @owner Observable - */ -export function debounce(durationSelector) { - return higherOrder(durationSelector)(this); -} -//# sourceMappingURL=debounce.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/debounce.js.map b/node_modules/rxjs/_esm2015/operator/debounce.js.map deleted file mode 100644 index 80b60d97..00000000 --- a/node_modules/rxjs/_esm2015/operator/debounce.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"debounce.js","sourceRoot":"","sources":["../../src/operator/debounce.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,IAAI,WAAW,EAAE,MAAM,uBAAuB;AAE/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,yBAAiD,gBAA6D;IAC5G,MAAM,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAAC,CAAC;AAC7C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/debounceTime.js b/node_modules/rxjs/_esm2015/operator/debounceTime.js deleted file mode 100644 index 298ab826..00000000 --- a/node_modules/rxjs/_esm2015/operator/debounceTime.js +++ /dev/null @@ -1,52 +0,0 @@ -import { async } from '../scheduler/async'; -import { debounceTime as higherOrder } from '../operators/debounceTime'; -/** - * Emits a value from the source Observable only after a particular time span - * has passed without another source emission. - * - * It's like {@link delay}, but passes only the most - * recent value from each burst of emissions. - * - * - * - * `debounceTime` delays values emitted by the source Observable, but drops - * previous pending delayed emissions if a new value arrives on the source - * Observable. This operator keeps track of the most recent value from the - * source Observable, and emits that only when `dueTime` enough time has passed - * without any other value appearing on the source Observable. If a new value - * appears before `dueTime` silence occurs, the previous value will be dropped - * and will not be emitted on the output Observable. - * - * This is a rate-limiting operator, because it is impossible for more than one - * value to be emitted in any time window of duration `dueTime`, but it is also - * a delay-like operator since output emissions do not occur at the same time as - * they did on the source Observable. Optionally takes a {@link IScheduler} for - * managing timers. - * - * @example Emit the most recent click after a burst of clicks - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.debounceTime(1000); - * result.subscribe(x => console.log(x)); - * - * @see {@link auditTime} - * @see {@link debounce} - * @see {@link delay} - * @see {@link sampleTime} - * @see {@link throttleTime} - * - * @param {number} dueTime The timeout duration in milliseconds (or the time - * unit determined internally by the optional `scheduler`) for the window of - * time required to wait for emission silence before emitting the most recent - * source value. - * @param {Scheduler} [scheduler=async] The {@link IScheduler} to use for - * managing the timers that handle the timeout for each value. - * @return {Observable} An Observable that delays the emissions of the source - * Observable by the specified `dueTime`, and may drop some values if they occur - * too frequently. - * @method debounceTime - * @owner Observable - */ -export function debounceTime(dueTime, scheduler = async) { - return higherOrder(dueTime, scheduler)(this); -} -//# sourceMappingURL=debounceTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/debounceTime.js.map b/node_modules/rxjs/_esm2015/operator/debounceTime.js.map deleted file mode 100644 index 4523bfea..00000000 --- a/node_modules/rxjs/_esm2015/operator/debounceTime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"debounceTime.js","sourceRoot":"","sources":["../../src/operator/debounceTime.ts"],"names":[],"mappings":"OAGO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OACnC,EAAE,YAAY,IAAI,WAAW,EAAE,MAAM,2BAA2B;AAEvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,6BAAqD,OAAe,EAAE,SAAS,GAAe,KAAK;IACjG,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,IAAI,CAAkB,CAAC;AAChE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/defaultIfEmpty.js b/node_modules/rxjs/_esm2015/operator/defaultIfEmpty.js deleted file mode 100644 index ff61fda8..00000000 --- a/node_modules/rxjs/_esm2015/operator/defaultIfEmpty.js +++ /dev/null @@ -1,36 +0,0 @@ -import { defaultIfEmpty as higherOrder } from '../operators/defaultIfEmpty'; -/* tslint:enable:max-line-length */ -/** - * Emits a given value if the source Observable completes without emitting any - * `next` value, otherwise mirrors the source Observable. - * - * If the source Observable turns out to be empty, then - * this operator will emit a default value. - * - * - * - * `defaultIfEmpty` emits the values emitted by the source Observable or a - * specified default value if the source Observable is empty (completes without - * having emitted any `next` value). - * - * @example If no clicks happen in 5 seconds, then emit "no clicks" - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var clicksBeforeFive = clicks.takeUntil(Rx.Observable.interval(5000)); - * var result = clicksBeforeFive.defaultIfEmpty('no clicks'); - * result.subscribe(x => console.log(x)); - * - * @see {@link empty} - * @see {@link last} - * - * @param {any} [defaultValue=null] The default value used if the source - * Observable is empty. - * @return {Observable} An Observable that emits either the specified - * `defaultValue` if the source Observable emits no items, or the values emitted - * by the source Observable. - * @method defaultIfEmpty - * @owner Observable - */ -export function defaultIfEmpty(defaultValue = null) { - return higherOrder(defaultValue)(this); -} -//# sourceMappingURL=defaultIfEmpty.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/defaultIfEmpty.js.map b/node_modules/rxjs/_esm2015/operator/defaultIfEmpty.js.map deleted file mode 100644 index a2499881..00000000 --- a/node_modules/rxjs/_esm2015/operator/defaultIfEmpty.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"defaultIfEmpty.js","sourceRoot":"","sources":["../../src/operator/defaultIfEmpty.ts"],"names":[],"mappings":"OAEO,EAAE,cAAc,IAAI,WAAW,EAAE,MAAM,6BAA6B;AAK3E,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,+BAA0D,YAAY,GAAM,IAAI;IAC9E,MAAM,CAAC,WAAW,CAAO,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC;AAC/C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/delay.js b/node_modules/rxjs/_esm2015/operator/delay.js deleted file mode 100644 index 18da4386..00000000 --- a/node_modules/rxjs/_esm2015/operator/delay.js +++ /dev/null @@ -1,45 +0,0 @@ -import { async } from '../scheduler/async'; -import { delay as higherOrder } from '../operators/delay'; -/** - * Delays the emission of items from the source Observable by a given timeout or - * until a given Date. - * - * Time shifts each item by some specified amount of - * milliseconds. - * - * - * - * If the delay argument is a Number, this operator time shifts the source - * Observable by that amount of time expressed in milliseconds. The relative - * time intervals between the values are preserved. - * - * If the delay argument is a Date, this operator time shifts the start of the - * Observable execution until the given date occurs. - * - * @example Delay each click by one second - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var delayedClicks = clicks.delay(1000); // each click emitted after 1 second - * delayedClicks.subscribe(x => console.log(x)); - * - * @example Delay all clicks until a future date happens - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var date = new Date('March 15, 2050 12:00:00'); // in the future - * var delayedClicks = clicks.delay(date); // click emitted only after that date - * delayedClicks.subscribe(x => console.log(x)); - * - * @see {@link debounceTime} - * @see {@link delayWhen} - * - * @param {number|Date} delay The delay duration in milliseconds (a `number`) or - * a `Date` until which the emission of the source items is delayed. - * @param {Scheduler} [scheduler=async] The IScheduler to use for - * managing the timers that handle the time-shift for each item. - * @return {Observable} An Observable that delays the emissions of the source - * Observable by the specified timeout or Date. - * @method delay - * @owner Observable - */ -export function delay(delay, scheduler = async) { - return higherOrder(delay, scheduler)(this); -} -//# sourceMappingURL=delay.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/delay.js.map b/node_modules/rxjs/_esm2015/operator/delay.js.map deleted file mode 100644 index b50b888c..00000000 --- a/node_modules/rxjs/_esm2015/operator/delay.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"delay.js","sourceRoot":"","sources":["../../src/operator/delay.ts"],"names":[],"mappings":"OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAGnC,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB;AAEzD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,sBAA8C,KAAkB,EACvC,SAAS,GAAe,KAAK;IACpD,MAAM,CAAC,WAAW,CAAI,KAAK,EAAE,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/delayWhen.js b/node_modules/rxjs/_esm2015/operator/delayWhen.js deleted file mode 100644 index 338b3e62..00000000 --- a/node_modules/rxjs/_esm2015/operator/delayWhen.js +++ /dev/null @@ -1,50 +0,0 @@ -import { delayWhen as higherOrder } from '../operators/delayWhen'; -/** - * Delays the emission of items from the source Observable by a given time span - * determined by the emissions of another Observable. - * - * It's like {@link delay}, but the time span of the - * delay duration is determined by a second Observable. - * - * - * - * `delayWhen` time shifts each emitted value from the source Observable by a - * time span determined by another Observable. When the source emits a value, - * the `delayDurationSelector` function is called with the source value as - * argument, and should return an Observable, called the "duration" Observable. - * The source value is emitted on the output Observable only when the duration - * Observable emits a value or completes. - * - * Optionally, `delayWhen` takes a second argument, `subscriptionDelay`, which - * is an Observable. When `subscriptionDelay` emits its first value or - * completes, the source Observable is subscribed to and starts behaving like - * described in the previous paragraph. If `subscriptionDelay` is not provided, - * `delayWhen` will subscribe to the source Observable as soon as the output - * Observable is subscribed. - * - * @example Delay each click by a random amount of time, between 0 and 5 seconds - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var delayedClicks = clicks.delayWhen(event => - * Rx.Observable.interval(Math.random() * 5000) - * ); - * delayedClicks.subscribe(x => console.log(x)); - * - * @see {@link debounce} - * @see {@link delay} - * - * @param {function(value: T): Observable} delayDurationSelector A function that - * returns an Observable for each value emitted by the source Observable, which - * is then used to delay the emission of that item on the output Observable - * until the Observable returned from this function emits a value. - * @param {Observable} subscriptionDelay An Observable that triggers the - * subscription to the source Observable once it emits any value. - * @return {Observable} An Observable that delays the emissions of the source - * Observable by an amount of time specified by the Observable returned by - * `delayDurationSelector`. - * @method delayWhen - * @owner Observable - */ -export function delayWhen(delayDurationSelector, subscriptionDelay) { - return higherOrder(delayDurationSelector, subscriptionDelay)(this); -} -//# sourceMappingURL=delayWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/delayWhen.js.map b/node_modules/rxjs/_esm2015/operator/delayWhen.js.map deleted file mode 100644 index 2594970e..00000000 --- a/node_modules/rxjs/_esm2015/operator/delayWhen.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"delayWhen.js","sourceRoot":"","sources":["../../src/operator/delayWhen.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,0BAAkD,qBAAoD,EACzE,iBAAmC;IAC9D,MAAM,CAAC,WAAW,CAAC,qBAAqB,EAAE,iBAAiB,CAAC,CAAC,IAAI,CAAC,CAAC;AACrE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/dematerialize.js b/node_modules/rxjs/_esm2015/operator/dematerialize.js deleted file mode 100644 index 15eca3d8..00000000 --- a/node_modules/rxjs/_esm2015/operator/dematerialize.js +++ /dev/null @@ -1,45 +0,0 @@ -import { dematerialize as higherOrder } from '../operators/dematerialize'; -/** - * Converts an Observable of {@link Notification} objects into the emissions - * that they represent. - * - * Unwraps {@link Notification} objects as actual `next`, - * `error` and `complete` emissions. The opposite of {@link materialize}. - * - * - * - * `dematerialize` is assumed to operate an Observable that only emits - * {@link Notification} objects as `next` emissions, and does not emit any - * `error`. Such Observable is the output of a `materialize` operation. Those - * notifications are then unwrapped using the metadata they contain, and emitted - * as `next`, `error`, and `complete` on the output Observable. - * - * Use this operator in conjunction with {@link materialize}. - * - * @example Convert an Observable of Notifications to an actual Observable - * var notifA = new Rx.Notification('N', 'A'); - * var notifB = new Rx.Notification('N', 'B'); - * var notifE = new Rx.Notification('E', void 0, - * new TypeError('x.toUpperCase is not a function') - * ); - * var materialized = Rx.Observable.of(notifA, notifB, notifE); - * var upperCase = materialized.dematerialize(); - * upperCase.subscribe(x => console.log(x), e => console.error(e)); - * - * // Results in: - * // A - * // B - * // TypeError: x.toUpperCase is not a function - * - * @see {@link Notification} - * @see {@link materialize} - * - * @return {Observable} An Observable that emits items and notifications - * embedded in Notification objects emitted by the source Observable. - * @method dematerialize - * @owner Observable - */ -export function dematerialize() { - return higherOrder()(this); -} -//# sourceMappingURL=dematerialize.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/dematerialize.js.map b/node_modules/rxjs/_esm2015/operator/dematerialize.js.map deleted file mode 100644 index c5b985ef..00000000 --- a/node_modules/rxjs/_esm2015/operator/dematerialize.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"dematerialize.js","sourceRoot":"","sources":["../../src/operator/dematerialize.ts"],"names":[],"mappings":"OAGO,EAAE,aAAa,IAAI,WAAW,EAAE,MAAM,4BAA4B;AAEzE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH;IACE,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,CAAkB,CAAC;AAC9C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/distinct.js b/node_modules/rxjs/_esm2015/operator/distinct.js deleted file mode 100644 index 6ae645a9..00000000 --- a/node_modules/rxjs/_esm2015/operator/distinct.js +++ /dev/null @@ -1,50 +0,0 @@ -import { distinct as higherOrder } from '../operators/distinct'; -/** - * Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from previous items. - * - * If a keySelector function is provided, then it will project each value from the source observable into a new value that it will - * check for equality with previously projected values. If a keySelector function is not provided, it will use each value from the - * source observable directly with an equality check against previous values. - * - * In JavaScript runtimes that support `Set`, this operator will use a `Set` to improve performance of the distinct value checking. - * - * In other runtimes, this operator will use a minimal implementation of `Set` that relies on an `Array` and `indexOf` under the - * hood, so performance will degrade as more values are checked for distinction. Even in newer browsers, a long-running `distinct` - * use might result in memory leaks. To help alleviate this in some scenarios, an optional `flushes` parameter is also provided so - * that the internal `Set` can be "flushed", basically clearing it of values. - * - * @example A simple example with numbers - * Observable.of(1, 1, 2, 2, 2, 1, 2, 3, 4, 3, 2, 1) - * .distinct() - * .subscribe(x => console.log(x)); // 1, 2, 3, 4 - * - * @example An example using a keySelector function - * interface Person { - * age: number, - * name: string - * } - * - * Observable.of( - * { age: 4, name: 'Foo'}, - * { age: 7, name: 'Bar'}, - * { age: 5, name: 'Foo'}) - * .distinct((p: Person) => p.name) - * .subscribe(x => console.log(x)); - * - * // displays: - * // { age: 4, name: 'Foo' } - * // { age: 7, name: 'Bar' } - * - * @see {@link distinctUntilChanged} - * @see {@link distinctUntilKeyChanged} - * - * @param {function} [keySelector] Optional function to select which value you want to check as distinct. - * @param {Observable} [flushes] Optional Observable for flushing the internal HashSet of the operator. - * @return {Observable} An Observable that emits items from the source Observable with distinct values. - * @method distinct - * @owner Observable - */ -export function distinct(keySelector, flushes) { - return higherOrder(keySelector, flushes)(this); -} -//# sourceMappingURL=distinct.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/distinct.js.map b/node_modules/rxjs/_esm2015/operator/distinct.js.map deleted file mode 100644 index 0a2c6895..00000000 --- a/node_modules/rxjs/_esm2015/operator/distinct.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"distinct.js","sourceRoot":"","sources":["../../src/operator/distinct.ts"],"names":[],"mappings":"OACO,EAAE,QAAQ,IAAI,WAAW,EAAE,MAAM,uBAAuB;AAE/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,yBAC+B,WAA6B,EAC7B,OAAyB;IACtD,MAAM,CAAC,WAAW,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AACjD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/distinctUntilChanged.js b/node_modules/rxjs/_esm2015/operator/distinctUntilChanged.js deleted file mode 100644 index 0b79e478..00000000 --- a/node_modules/rxjs/_esm2015/operator/distinctUntilChanged.js +++ /dev/null @@ -1,45 +0,0 @@ -import { distinctUntilChanged as higherOrder } from '../operators/distinctUntilChanged'; -/* tslint:enable:max-line-length */ -/** - * Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item. - * - * If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted. - * - * If a comparator function is not provided, an equality check is used by default. - * - * @example A simple example with numbers - * Observable.of(1, 1, 2, 2, 2, 1, 1, 2, 3, 3, 4) - * .distinctUntilChanged() - * .subscribe(x => console.log(x)); // 1, 2, 1, 2, 3, 4 - * - * @example An example using a compare function - * interface Person { - * age: number, - * name: string - * } - * - * Observable.of( - * { age: 4, name: 'Foo'}, - * { age: 7, name: 'Bar'}, - * { age: 5, name: 'Foo'}) - * { age: 6, name: 'Foo'}) - * .distinctUntilChanged((p: Person, q: Person) => p.name === q.name) - * .subscribe(x => console.log(x)); - * - * // displays: - * // { age: 4, name: 'Foo' } - * // { age: 7, name: 'Bar' } - * // { age: 5, name: 'Foo' } - * - * @see {@link distinct} - * @see {@link distinctUntilKeyChanged} - * - * @param {function} [compare] Optional comparison function called to test if an item is distinct from the previous item in the source. - * @return {Observable} An Observable that emits items from the source Observable with distinct values. - * @method distinctUntilChanged - * @owner Observable - */ -export function distinctUntilChanged(compare, keySelector) { - return higherOrder(compare, keySelector)(this); -} -//# sourceMappingURL=distinctUntilChanged.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/distinctUntilChanged.js.map b/node_modules/rxjs/_esm2015/operator/distinctUntilChanged.js.map deleted file mode 100644 index 9dc18b9b..00000000 --- a/node_modules/rxjs/_esm2015/operator/distinctUntilChanged.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"distinctUntilChanged.js","sourceRoot":"","sources":["../../src/operator/distinctUntilChanged.ts"],"names":[],"mappings":"OAEO,EAAE,oBAAoB,IAAI,WAAW,EAAE,MAAM,mCAAmC;AAKvF,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,qCAAgE,OAAiC,EAAE,WAAyB;IAC1H,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC;AACjD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/distinctUntilKeyChanged.js b/node_modules/rxjs/_esm2015/operator/distinctUntilKeyChanged.js deleted file mode 100644 index d0008a3f..00000000 --- a/node_modules/rxjs/_esm2015/operator/distinctUntilKeyChanged.js +++ /dev/null @@ -1,63 +0,0 @@ -import { distinctUntilKeyChanged as higherOrder } from '../operators/distinctUntilKeyChanged'; -/* tslint:enable:max-line-length */ -/** - * Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item, - * using a property accessed by using the key provided to check if the two items are distinct. - * - * If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted. - * - * If a comparator function is not provided, an equality check is used by default. - * - * @example An example comparing the name of persons - * - * interface Person { - * age: number, - * name: string - * } - * - * Observable.of( - * { age: 4, name: 'Foo'}, - * { age: 7, name: 'Bar'}, - * { age: 5, name: 'Foo'}, - * { age: 6, name: 'Foo'}) - * .distinctUntilKeyChanged('name') - * .subscribe(x => console.log(x)); - * - * // displays: - * // { age: 4, name: 'Foo' } - * // { age: 7, name: 'Bar' } - * // { age: 5, name: 'Foo' } - * - * @example An example comparing the first letters of the name - * - * interface Person { - * age: number, - * name: string - * } - * - * Observable.of( - * { age: 4, name: 'Foo1'}, - * { age: 7, name: 'Bar'}, - * { age: 5, name: 'Foo2'}, - * { age: 6, name: 'Foo3'}) - * .distinctUntilKeyChanged('name', (x: string, y: string) => x.substring(0, 3) === y.substring(0, 3)) - * .subscribe(x => console.log(x)); - * - * // displays: - * // { age: 4, name: 'Foo1' } - * // { age: 7, name: 'Bar' } - * // { age: 5, name: 'Foo2' } - * - * @see {@link distinct} - * @see {@link distinctUntilChanged} - * - * @param {string} key String key for object property lookup on each item. - * @param {function} [compare] Optional comparison function called to test if an item is distinct from the previous item in the source. - * @return {Observable} An Observable that emits items from the source Observable with distinct values based on the key specified. - * @method distinctUntilKeyChanged - * @owner Observable - */ -export function distinctUntilKeyChanged(key, compare) { - return higherOrder(key, compare)(this); -} -//# sourceMappingURL=distinctUntilKeyChanged.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/distinctUntilKeyChanged.js.map b/node_modules/rxjs/_esm2015/operator/distinctUntilKeyChanged.js.map deleted file mode 100644 index 4c341259..00000000 --- a/node_modules/rxjs/_esm2015/operator/distinctUntilKeyChanged.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"distinctUntilKeyChanged.js","sourceRoot":"","sources":["../../src/operator/distinctUntilKeyChanged.ts"],"names":[],"mappings":"OAEO,EAAE,uBAAuB,IAAI,WAAW,EAAE,MAAM,sCAAsC;AAK7F,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,wCAAgE,GAAW,EAAE,OAAiC;IAC5G,MAAM,CAAC,WAAW,CAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAC/C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/do.js b/node_modules/rxjs/_esm2015/operator/do.js deleted file mode 100644 index 2b513147..00000000 --- a/node_modules/rxjs/_esm2015/operator/do.js +++ /dev/null @@ -1,49 +0,0 @@ -import { tap as higherOrder } from '../operators/tap'; -/* tslint:enable:max-line-length */ -/** - * Perform a side effect for every emission on the source Observable, but return - * an Observable that is identical to the source. - * - * Intercepts each emission on the source and runs a - * function, but returns an output which is identical to the source as long as errors don't occur. - * - * - * - * Returns a mirrored Observable of the source Observable, but modified so that - * the provided Observer is called to perform a side effect for every value, - * error, and completion emitted by the source. Any errors that are thrown in - * the aforementioned Observer or handlers are safely sent down the error path - * of the output Observable. - * - * This operator is useful for debugging your Observables for the correct values - * or performing other side effects. - * - * Note: this is different to a `subscribe` on the Observable. If the Observable - * returned by `do` is not subscribed, the side effects specified by the - * Observer will never happen. `do` therefore simply spies on existing - * execution, it does not trigger an execution to happen like `subscribe` does. - * - * @example Map every click to the clientX position of that click, while also logging the click event - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var positions = clicks - * .do(ev => console.log(ev)) - * .map(ev => ev.clientX); - * positions.subscribe(x => console.log(x)); - * - * @see {@link map} - * @see {@link subscribe} - * - * @param {Observer|function} [nextOrObserver] A normal Observer object or a - * callback for `next`. - * @param {function} [error] Callback for errors in the source. - * @param {function} [complete] Callback for the completion of the source. - * @return {Observable} An Observable identical to the source, but runs the - * specified Observer or callback(s) for each item. - * @method do - * @name do - * @owner Observable - */ -export function _do(nextOrObserver, error, complete) { - return higherOrder(nextOrObserver, error, complete)(this); -} -//# sourceMappingURL=do.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/do.js.map b/node_modules/rxjs/_esm2015/operator/do.js.map deleted file mode 100644 index 2599e4c4..00000000 --- a/node_modules/rxjs/_esm2015/operator/do.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"do.js","sourceRoot":"","sources":["../../src/operator/do.ts"],"names":[],"mappings":"OAGO,EAAE,GAAG,IAAI,WAAW,EAAE,MAAM,kBAAkB;AAKrD,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,oBAA4C,cAAsD,EAC3E,KAAwB,EACxB,QAAqB;IAC1C,MAAM,CAAC,WAAW,CAAM,cAAc,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC,IAAI,CAAkB,CAAC;AAClF,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/elementAt.js b/node_modules/rxjs/_esm2015/operator/elementAt.js deleted file mode 100644 index f358561c..00000000 --- a/node_modules/rxjs/_esm2015/operator/elementAt.js +++ /dev/null @@ -1,47 +0,0 @@ -import { elementAt as higherOrder } from '../operators/elementAt'; -/** - * Emits the single value at the specified `index` in a sequence of emissions - * from the source Observable. - * - * Emits only the i-th value, then completes. - * - * - * - * `elementAt` returns an Observable that emits the item at the specified - * `index` in the source Observable, or a default value if that `index` is out - * of range and the `default` argument is provided. If the `default` argument is - * not given and the `index` is out of range, the output Observable will emit an - * `ArgumentOutOfRangeError` error. - * - * @example Emit only the third click event - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.elementAt(2); - * result.subscribe(x => console.log(x)); - * - * // Results in: - * // click 1 = nothing - * // click 2 = nothing - * // click 3 = MouseEvent object logged to console - * - * @see {@link first} - * @see {@link last} - * @see {@link skip} - * @see {@link single} - * @see {@link take} - * - * @throws {ArgumentOutOfRangeError} When using `elementAt(i)`, it delivers an - * ArgumentOutOrRangeError to the Observer's `error` callback if `i < 0` or the - * Observable has completed before emitting the i-th `next` notification. - * - * @param {number} index Is the number `i` for the i-th source emission that has - * happened since the subscription, starting from the number `0`. - * @param {T} [defaultValue] The default value returned for missing indices. - * @return {Observable} An Observable that emits a single item, if it is found. - * Otherwise, will emit the default value if given. If not, then emits an error. - * @method elementAt - * @owner Observable - */ -export function elementAt(index, defaultValue) { - return higherOrder(index, defaultValue)(this); -} -//# sourceMappingURL=elementAt.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/elementAt.js.map b/node_modules/rxjs/_esm2015/operator/elementAt.js.map deleted file mode 100644 index 7686a810..00000000 --- a/node_modules/rxjs/_esm2015/operator/elementAt.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"elementAt.js","sourceRoot":"","sources":["../../src/operator/elementAt.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,0BAAkD,KAAa,EAAE,YAAgB;IAC/E,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/every.js b/node_modules/rxjs/_esm2015/operator/every.js deleted file mode 100644 index 28d34f41..00000000 --- a/node_modules/rxjs/_esm2015/operator/every.js +++ /dev/null @@ -1,19 +0,0 @@ -import { every as higherOrder } from '../operators/every'; -/** - * Returns an Observable that emits whether or not every item of the source satisfies the condition specified. - * - * @example A simple example emitting true if all elements are less than 5, false otherwise - * Observable.of(1, 2, 3, 4, 5, 6) - * .every(x => x < 5) - * .subscribe(x => console.log(x)); // -> false - * - * @param {function} predicate A function for determining if an item meets a specified condition. - * @param {any} [thisArg] Optional object to use for `this` in the callback. - * @return {Observable} An Observable of booleans that determines if all items of the source Observable meet the condition specified. - * @method every - * @owner Observable - */ -export function every(predicate, thisArg) { - return higherOrder(predicate, thisArg)(this); -} -//# sourceMappingURL=every.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/every.js.map b/node_modules/rxjs/_esm2015/operator/every.js.map deleted file mode 100644 index d2fc666d..00000000 --- a/node_modules/rxjs/_esm2015/operator/every.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"every.js","sourceRoot":"","sources":["../../src/operator/every.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB;AAEzD;;;;;;;;;;;;;GAaG;AACH,sBAA8C,SAAsE,EAC3F,OAAa;IACpC,MAAM,CAAC,WAAW,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAC/C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/exhaust.js b/node_modules/rxjs/_esm2015/operator/exhaust.js deleted file mode 100644 index 02c5cff3..00000000 --- a/node_modules/rxjs/_esm2015/operator/exhaust.js +++ /dev/null @@ -1,40 +0,0 @@ -import { exhaust as higherOrder } from '../operators/exhaust'; -/** - * Converts a higher-order Observable into a first-order Observable by dropping - * inner Observables while the previous inner Observable has not yet completed. - * - * Flattens an Observable-of-Observables by dropping the - * next inner Observables while the current inner is still executing. - * - * - * - * `exhaust` subscribes to an Observable that emits Observables, also known as a - * higher-order Observable. Each time it observes one of these emitted inner - * Observables, the output Observable begins emitting the items emitted by that - * inner Observable. So far, it behaves like {@link mergeAll}. However, - * `exhaust` ignores every new inner Observable if the previous Observable has - * not yet completed. Once that one completes, it will accept and flatten the - * next inner Observable and repeat this process. - * - * @example Run a finite timer for each click, only if there is no currently active timer - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000).take(5)); - * var result = higherOrder.exhaust(); - * result.subscribe(x => console.log(x)); - * - * @see {@link combineAll} - * @see {@link concatAll} - * @see {@link switch} - * @see {@link mergeAll} - * @see {@link exhaustMap} - * @see {@link zipAll} - * - * @return {Observable} An Observable that takes a source of Observables and propagates the first observable - * exclusively until it completes before subscribing to the next. - * @method exhaust - * @owner Observable - */ -export function exhaust() { - return higherOrder()(this); -} -//# sourceMappingURL=exhaust.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/exhaust.js.map b/node_modules/rxjs/_esm2015/operator/exhaust.js.map deleted file mode 100644 index fabda8b3..00000000 --- a/node_modules/rxjs/_esm2015/operator/exhaust.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"exhaust.js","sourceRoot":"","sources":["../../src/operator/exhaust.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sBAAsB;AAE7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH;IACE,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,CAAkB,CAAC;AAC9C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/exhaustMap.js b/node_modules/rxjs/_esm2015/operator/exhaustMap.js deleted file mode 100644 index 54fa682a..00000000 --- a/node_modules/rxjs/_esm2015/operator/exhaustMap.js +++ /dev/null @@ -1,51 +0,0 @@ -import { exhaustMap as higherOrder } from '../operators/exhaustMap'; -/* tslint:enable:max-line-length */ -/** - * Projects each source value to an Observable which is merged in the output - * Observable only if the previous projected Observable has completed. - * - * Maps each value to an Observable, then flattens all of - * these inner Observables using {@link exhaust}. - * - * - * - * Returns an Observable that emits items based on applying a function that you - * supply to each item emitted by the source Observable, where that function - * returns an (so-called "inner") Observable. When it projects a source value to - * an Observable, the output Observable begins emitting the items emitted by - * that projected Observable. However, `exhaustMap` ignores every new projected - * Observable if the previous projected Observable has not yet completed. Once - * that one completes, it will accept and flatten the next projected Observable - * and repeat this process. - * - * @example Run a finite timer for each click, only if there is no currently active timer - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.exhaustMap((ev) => Rx.Observable.interval(1000).take(5)); - * result.subscribe(x => console.log(x)); - * - * @see {@link concatMap} - * @see {@link exhaust} - * @see {@link mergeMap} - * @see {@link switchMap} - * - * @param {function(value: T, ?index: number): ObservableInput} project A function - * that, when applied to an item emitted by the source Observable, returns an - * Observable. - * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] - * A function to produce the value on the output Observable based on the values - * and the indices of the source (outer) emission and the inner Observable - * emission. The arguments passed to this function are: - * - `outerValue`: the value that came from the source - * - `innerValue`: the value that came from the projected Observable - * - `outerIndex`: the "index" of the value that came from the source - * - `innerIndex`: the "index" of the value from the projected Observable - * @return {Observable} An Observable containing projected Observables - * of each item of the source, ignoring projected Observables that start before - * their preceding Observable has completed. - * @method exhaustMap - * @owner Observable - */ -export function exhaustMap(project, resultSelector) { - return higherOrder(project, resultSelector)(this); -} -//# sourceMappingURL=exhaustMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/exhaustMap.js.map b/node_modules/rxjs/_esm2015/operator/exhaustMap.js.map deleted file mode 100644 index 243f6783..00000000 --- a/node_modules/rxjs/_esm2015/operator/exhaustMap.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"exhaustMap.js","sourceRoot":"","sources":["../../src/operator/exhaustMap.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,yBAAyB;AAKnE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,2BAAyD,OAAwD,EAC7E,cAA4F;IAC9H,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,IAAI,CAAC,CAAC;AACpD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/expand.js b/node_modules/rxjs/_esm2015/operator/expand.js deleted file mode 100644 index a544be0f..00000000 --- a/node_modules/rxjs/_esm2015/operator/expand.js +++ /dev/null @@ -1,52 +0,0 @@ -import { expand as higherOrder } from '../operators/expand'; -/* tslint:enable:max-line-length */ -/** - * Recursively projects each source value to an Observable which is merged in - * the output Observable. - * - * It's similar to {@link mergeMap}, but applies the - * projection function to every source value as well as every output value. - * It's recursive. - * - * - * - * Returns an Observable that emits items based on applying a function that you - * supply to each item emitted by the source Observable, where that function - * returns an Observable, and then merging those resulting Observables and - * emitting the results of this merger. *Expand* will re-emit on the output - * Observable every source value. Then, each output value is given to the - * `project` function which returns an inner Observable to be merged on the - * output Observable. Those output values resulting from the projection are also - * given to the `project` function to produce new output values. This is how - * *expand* behaves recursively. - * - * @example Start emitting the powers of two on every click, at most 10 of them - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var powersOfTwo = clicks - * .mapTo(1) - * .expand(x => Rx.Observable.of(2 * x).delay(1000)) - * .take(10); - * powersOfTwo.subscribe(x => console.log(x)); - * - * @see {@link mergeMap} - * @see {@link mergeScan} - * - * @param {function(value: T, index: number) => Observable} project A function - * that, when applied to an item emitted by the source or the output Observable, - * returns an Observable. - * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input - * Observables being subscribed to concurrently. - * @param {Scheduler} [scheduler=null] The IScheduler to use for subscribing to - * each projected inner Observable. - * @return {Observable} An Observable that emits the source values and also - * result of applying the projection function to each value emitted on the - * output Observable and and merging the results of the Observables obtained - * from this transformation. - * @method expand - * @owner Observable - */ -export function expand(project, concurrent = Number.POSITIVE_INFINITY, scheduler = undefined) { - concurrent = (concurrent || 0) < 1 ? Number.POSITIVE_INFINITY : concurrent; - return higherOrder(project, concurrent, scheduler)(this); -} -//# sourceMappingURL=expand.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/expand.js.map b/node_modules/rxjs/_esm2015/operator/expand.js.map deleted file mode 100644 index e4486d87..00000000 --- a/node_modules/rxjs/_esm2015/operator/expand.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"expand.js","sourceRoot":"","sources":["../../src/operator/expand.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,qBAAqB;AAK3D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,uBAAkD,OAAmD,EACxE,UAAU,GAAW,MAAM,CAAC,iBAAiB,EAC7C,SAAS,GAAe,SAAS;IAC5D,UAAU,GAAG,CAAC,UAAU,IAAI,CAAC,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,iBAAiB,GAAG,UAAU,CAAC;IAE3E,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;AAC3D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/filter.js b/node_modules/rxjs/_esm2015/operator/filter.js deleted file mode 100644 index c57a64b4..00000000 --- a/node_modules/rxjs/_esm2015/operator/filter.js +++ /dev/null @@ -1,45 +0,0 @@ -import { filter as higherOrderFilter } from '../operators/filter'; -/* tslint:enable:max-line-length */ -/** - * Filter items emitted by the source Observable by only emitting those that - * satisfy a specified predicate. - * - * Like - * [Array.prototype.filter()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter), - * it only emits a value from the source if it passes a criterion function. - * - * - * - * Similar to the well-known `Array.prototype.filter` method, this operator - * takes values from the source Observable, passes them through a `predicate` - * function and only emits those values that yielded `true`. - * - * @example Emit only click events whose target was a DIV element - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var clicksOnDivs = clicks.filter(ev => ev.target.tagName === 'DIV'); - * clicksOnDivs.subscribe(x => console.log(x)); - * - * @see {@link distinct} - * @see {@link distinctUntilChanged} - * @see {@link distinctUntilKeyChanged} - * @see {@link ignoreElements} - * @see {@link partition} - * @see {@link skip} - * - * @param {function(value: T, index: number): boolean} predicate A function that - * evaluates each value emitted by the source Observable. If it returns `true`, - * the value is emitted, if `false` the value is not passed to the output - * Observable. The `index` parameter is the number `i` for the i-th source - * emission that has happened since the subscription, starting from the number - * `0`. - * @param {any} [thisArg] An optional argument to determine the value of `this` - * in the `predicate` function. - * @return {Observable} An Observable of values from the source that were - * allowed by the `predicate` function. - * @method filter - * @owner Observable - */ -export function filter(predicate, thisArg) { - return higherOrderFilter(predicate, thisArg)(this); -} -//# sourceMappingURL=filter.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/filter.js.map b/node_modules/rxjs/_esm2015/operator/filter.js.map deleted file mode 100644 index 6abb45c2..00000000 --- a/node_modules/rxjs/_esm2015/operator/filter.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"filter.js","sourceRoot":"","sources":["../../src/operator/filter.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,IAAI,iBAAiB,EAAE,MAAM,qBAAqB;AASjE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,uBAA+C,SAA+C,EACpE,OAAa;IACrC,MAAM,CAAC,iBAAiB,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AACrD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/finally.js b/node_modules/rxjs/_esm2015/operator/finally.js deleted file mode 100644 index 740cd765..00000000 --- a/node_modules/rxjs/_esm2015/operator/finally.js +++ /dev/null @@ -1,13 +0,0 @@ -import { finalize } from '../operators/finalize'; -/** - * Returns an Observable that mirrors the source Observable, but will call a specified function when - * the source terminates on complete or error. - * @param {function} callback Function to be called when source terminates. - * @return {Observable} An Observable that mirrors the source, but will call the specified function on termination. - * @method finally - * @owner Observable - */ -export function _finally(callback) { - return finalize(callback)(this); -} -//# sourceMappingURL=finally.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/finally.js.map b/node_modules/rxjs/_esm2015/operator/finally.js.map deleted file mode 100644 index fa9f5ae6..00000000 --- a/node_modules/rxjs/_esm2015/operator/finally.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"finally.js","sourceRoot":"","sources":["../../src/operator/finally.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAE,MAAM,uBAAuB;AAEhD;;;;;;;GAOG;AACH,yBAAiD,QAAoB;IACnE,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAkB,CAAC;AACnD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/find.js b/node_modules/rxjs/_esm2015/operator/find.js deleted file mode 100644 index 6521b51e..00000000 --- a/node_modules/rxjs/_esm2015/operator/find.js +++ /dev/null @@ -1,39 +0,0 @@ -import { find as higherOrder } from '../operators/find'; -/* tslint:enable:max-line-length */ -/** - * Emits only the first value emitted by the source Observable that meets some - * condition. - * - * Finds the first value that passes some test and emits - * that. - * - * - * - * `find` searches for the first item in the source Observable that matches the - * specified condition embodied by the `predicate`, and returns the first - * occurrence in the source. Unlike {@link first}, the `predicate` is required - * in `find`, and does not emit an error if a valid value is not found. - * - * @example Find and emit the first click that happens on a DIV element - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.find(ev => ev.target.tagName === 'DIV'); - * result.subscribe(x => console.log(x)); - * - * @see {@link filter} - * @see {@link first} - * @see {@link findIndex} - * @see {@link take} - * - * @param {function(value: T, index: number, source: Observable): boolean} predicate - * A function called with each item to test for condition matching. - * @param {any} [thisArg] An optional argument to determine the value of `this` - * in the `predicate` function. - * @return {Observable} An Observable of the first item that matches the - * condition. - * @method find - * @owner Observable - */ -export function find(predicate, thisArg) { - return higherOrder(predicate, thisArg)(this); -} -//# sourceMappingURL=find.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/find.js.map b/node_modules/rxjs/_esm2015/operator/find.js.map deleted file mode 100644 index 615dbadf..00000000 --- a/node_modules/rxjs/_esm2015/operator/find.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"find.js","sourceRoot":"","sources":["../../src/operator/find.ts"],"names":[],"mappings":"OACO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,mBAAmB;AASvD,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAA6C,SAAsE,EAC3F,OAAa;IACnC,MAAM,CAAC,WAAW,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAC/C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/findIndex.js b/node_modules/rxjs/_esm2015/operator/findIndex.js deleted file mode 100644 index eec92243..00000000 --- a/node_modules/rxjs/_esm2015/operator/findIndex.js +++ /dev/null @@ -1,39 +0,0 @@ -import { findIndex as higherOrder } from '../operators/findIndex'; -/** - * Emits only the index of the first value emitted by the source Observable that - * meets some condition. - * - * It's like {@link find}, but emits the index of the - * found value, not the value itself. - * - * - * - * `findIndex` searches for the first item in the source Observable that matches - * the specified condition embodied by the `predicate`, and returns the - * (zero-based) index of the first occurrence in the source. Unlike - * {@link first}, the `predicate` is required in `findIndex`, and does not emit - * an error if a valid value is not found. - * - * @example Emit the index of first click that happens on a DIV element - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.findIndex(ev => ev.target.tagName === 'DIV'); - * result.subscribe(x => console.log(x)); - * - * @see {@link filter} - * @see {@link find} - * @see {@link first} - * @see {@link take} - * - * @param {function(value: T, index: number, source: Observable): boolean} predicate - * A function called with each item to test for condition matching. - * @param {any} [thisArg] An optional argument to determine the value of `this` - * in the `predicate` function. - * @return {Observable} An Observable of the index of the first item that - * matches the condition. - * @method find - * @owner Observable - */ -export function findIndex(predicate, thisArg) { - return higherOrder(predicate, thisArg)(this); -} -//# sourceMappingURL=findIndex.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/findIndex.js.map b/node_modules/rxjs/_esm2015/operator/findIndex.js.map deleted file mode 100644 index 77ac8f36..00000000 --- a/node_modules/rxjs/_esm2015/operator/findIndex.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"findIndex.js","sourceRoot":"","sources":["../../src/operator/findIndex.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AACjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,0BAAkD,SAAsE,EAC3F,OAAa;IACxC,MAAM,CAAC,WAAW,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAC/C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/first.js b/node_modules/rxjs/_esm2015/operator/first.js deleted file mode 100644 index cc97bd80..00000000 --- a/node_modules/rxjs/_esm2015/operator/first.js +++ /dev/null @@ -1,54 +0,0 @@ -import { first as higherOrder } from '../operators/first'; -/** - * Emits only the first value (or the first value that meets some condition) - * emitted by the source Observable. - * - * Emits only the first value. Or emits only the first - * value that passes some test. - * - * - * - * If called with no arguments, `first` emits the first value of the source - * Observable, then completes. If called with a `predicate` function, `first` - * emits the first value of the source that matches the specified condition. It - * may also take a `resultSelector` function to produce the output value from - * the input value, and a `defaultValue` to emit in case the source completes - * before it is able to emit a valid value. Throws an error if `defaultValue` - * was not provided and a matching element is not found. - * - * @example Emit only the first click that happens on the DOM - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.first(); - * result.subscribe(x => console.log(x)); - * - * @example Emits the first click that happens on a DIV - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.first(ev => ev.target.tagName === 'DIV'); - * result.subscribe(x => console.log(x)); - * - * @see {@link filter} - * @see {@link find} - * @see {@link take} - * - * @throws {EmptyError} Delivers an EmptyError to the Observer's `error` - * callback if the Observable completes before any `next` notification was sent. - * - * @param {function(value: T, index: number, source: Observable): boolean} [predicate] - * An optional function called with each item to test for condition matching. - * @param {function(value: T, index: number): R} [resultSelector] A function to - * produce the value on the output Observable based on the values - * and the indices of the source Observable. The arguments passed to this - * function are: - * - `value`: the value that was emitted on the source. - * - `index`: the "index" of the value from the source. - * @param {R} [defaultValue] The default value emitted in case no valid value - * was found on the source. - * @return {Observable} An Observable of the first item that matches the - * condition. - * @method first - * @owner Observable - */ -export function first(predicate, resultSelector, defaultValue) { - return higherOrder(predicate, resultSelector, defaultValue)(this); -} -//# sourceMappingURL=first.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/first.js.map b/node_modules/rxjs/_esm2015/operator/first.js.map deleted file mode 100644 index 663b25f3..00000000 --- a/node_modules/rxjs/_esm2015/operator/first.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"first.js","sourceRoot":"","sources":["../../src/operator/first.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB;AAuBzD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,sBAAiD,SAAuE,EAC5F,cAAwD,EACxD,YAAgB;IAC1C,MAAM,CAAC,WAAW,CAAC,SAAS,EAAE,cAAqB,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC;AAC3E,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/groupBy.js b/node_modules/rxjs/_esm2015/operator/groupBy.js deleted file mode 100644 index 73db84a4..00000000 --- a/node_modules/rxjs/_esm2015/operator/groupBy.js +++ /dev/null @@ -1,74 +0,0 @@ -import { groupBy as higherOrder, GroupedObservable } from '../operators/groupBy'; -export { GroupedObservable }; -/* tslint:enable:max-line-length */ -/** - * Groups the items emitted by an Observable according to a specified criterion, - * and emits these grouped items as `GroupedObservables`, one - * {@link GroupedObservable} per group. - * - * - * - * @example Group objects by id and return as array - * Observable.of({id: 1, name: 'aze1'}, - * {id: 2, name: 'sf2'}, - * {id: 2, name: 'dg2'}, - * {id: 1, name: 'erg1'}, - * {id: 1, name: 'df1'}, - * {id: 2, name: 'sfqfb2'}, - * {id: 3, name: 'qfs3'}, - * {id: 2, name: 'qsgqsfg2'} - * ) - * .groupBy(p => p.id) - * .flatMap( (group$) => group$.reduce((acc, cur) => [...acc, cur], [])) - * .subscribe(p => console.log(p)); - * - * // displays: - * // [ { id: 1, name: 'aze1' }, - * // { id: 1, name: 'erg1' }, - * // { id: 1, name: 'df1' } ] - * // - * // [ { id: 2, name: 'sf2' }, - * // { id: 2, name: 'dg2' }, - * // { id: 2, name: 'sfqfb2' }, - * // { id: 2, name: 'qsgqsfg2' } ] - * // - * // [ { id: 3, name: 'qfs3' } ] - * - * @example Pivot data on the id field - * Observable.of({id: 1, name: 'aze1'}, - * {id: 2, name: 'sf2'}, - * {id: 2, name: 'dg2'}, - * {id: 1, name: 'erg1'}, - * {id: 1, name: 'df1'}, - * {id: 2, name: 'sfqfb2'}, - * {id: 3, name: 'qfs1'}, - * {id: 2, name: 'qsgqsfg2'} - * ) - * .groupBy(p => p.id, p => p.name) - * .flatMap( (group$) => group$.reduce((acc, cur) => [...acc, cur], ["" + group$.key])) - * .map(arr => ({'id': parseInt(arr[0]), 'values': arr.slice(1)})) - * .subscribe(p => console.log(p)); - * - * // displays: - * // { id: 1, values: [ 'aze1', 'erg1', 'df1' ] } - * // { id: 2, values: [ 'sf2', 'dg2', 'sfqfb2', 'qsgqsfg2' ] } - * // { id: 3, values: [ 'qfs1' ] } - * - * @param {function(value: T): K} keySelector A function that extracts the key - * for each item. - * @param {function(value: T): R} [elementSelector] A function that extracts the - * return element for each item. - * @param {function(grouped: GroupedObservable): Observable} [durationSelector] - * A function that returns an Observable to determine how long each group should - * exist. - * @return {Observable>} An Observable that emits - * GroupedObservables, each of which corresponds to a unique key value and each - * of which emits those items from the source Observable that share that key - * value. - * @method groupBy - * @owner Observable - */ -export function groupBy(keySelector, elementSelector, durationSelector, subjectSelector) { - return higherOrder(keySelector, elementSelector, durationSelector, subjectSelector)(this); -} -//# sourceMappingURL=groupBy.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/groupBy.js.map b/node_modules/rxjs/_esm2015/operator/groupBy.js.map deleted file mode 100644 index a174abed..00000000 --- a/node_modules/rxjs/_esm2015/operator/groupBy.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"groupBy.js","sourceRoot":"","sources":["../../src/operator/groupBy.ts"],"names":[],"mappings":"OAGO,EAAE,OAAO,IAAI,WAAW,EAAE,iBAAiB,EAAE,MAAM,sBAAsB;AAChF,SAAS,iBAAiB,GAAG;AAO7B,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AACH,wBAAsD,WAA4B,EACjD,eAA0C,EAC1C,gBAAwE,EACxE,eAAkC;IACjE,MAAM,CAAC,WAAW,CAAC,WAAW,EAAE,eAAsB,EAAE,gBAAgB,EAAE,eAAe,CAAC,CAAC,IAAI,CAAC,CAAC;AACnG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/ignoreElements.js b/node_modules/rxjs/_esm2015/operator/ignoreElements.js deleted file mode 100644 index 6223239b..00000000 --- a/node_modules/rxjs/_esm2015/operator/ignoreElements.js +++ /dev/null @@ -1,16 +0,0 @@ -import { ignoreElements as higherOrder } from '../operators/ignoreElements'; -/** - * Ignores all items emitted by the source Observable and only passes calls of `complete` or `error`. - * - * - * - * @return {Observable} An empty Observable that only calls `complete` - * or `error`, based on which one is called by the source Observable. - * @method ignoreElements - * @owner Observable - */ -export function ignoreElements() { - return higherOrder()(this); -} -; -//# sourceMappingURL=ignoreElements.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/ignoreElements.js.map b/node_modules/rxjs/_esm2015/operator/ignoreElements.js.map deleted file mode 100644 index 063cc8c5..00000000 --- a/node_modules/rxjs/_esm2015/operator/ignoreElements.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ignoreElements.js","sourceRoot":"","sources":["../../src/operator/ignoreElements.ts"],"names":[],"mappings":"OACO,EAAE,cAAc,IAAI,WAAW,EAAE,MAAM,6BAA6B;AAE3E;;;;;;;;;GASG;AACH;IACE,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,CAAkB,CAAC;AAC9C,CAAC;AAAA,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/isEmpty.js b/node_modules/rxjs/_esm2015/operator/isEmpty.js deleted file mode 100644 index c5143de3..00000000 --- a/node_modules/rxjs/_esm2015/operator/isEmpty.js +++ /dev/null @@ -1,14 +0,0 @@ -import { isEmpty as higherOrder } from '../operators/isEmpty'; -/** - * If the source Observable is empty it returns an Observable that emits true, otherwise it emits false. - * - * - * - * @return {Observable} An Observable that emits a Boolean. - * @method isEmpty - * @owner Observable - */ -export function isEmpty() { - return higherOrder()(this); -} -//# sourceMappingURL=isEmpty.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/isEmpty.js.map b/node_modules/rxjs/_esm2015/operator/isEmpty.js.map deleted file mode 100644 index e8b7a9e1..00000000 --- a/node_modules/rxjs/_esm2015/operator/isEmpty.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"isEmpty.js","sourceRoot":"","sources":["../../src/operator/isEmpty.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sBAAsB;AAE7D;;;;;;;;GAQG;AACH;IACE,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,CAAC,CAAC;AAC7B,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/last.js b/node_modules/rxjs/_esm2015/operator/last.js deleted file mode 100644 index 202219a2..00000000 --- a/node_modules/rxjs/_esm2015/operator/last.js +++ /dev/null @@ -1,23 +0,0 @@ -import { last as higherOrder } from '../operators/last'; -/* tslint:enable:max-line-length */ -/** - * Returns an Observable that emits only the last item emitted by the source Observable. - * It optionally takes a predicate function as a parameter, in which case, rather than emitting - * the last item from the source Observable, the resulting Observable will emit the last item - * from the source Observable that satisfies the predicate. - * - * - * - * @throws {EmptyError} Delivers an EmptyError to the Observer's `error` - * callback if the Observable completes before any `next` notification was sent. - * @param {function} predicate - The condition any source emitted item has to satisfy. - * @return {Observable} An Observable that emits only the last item satisfying the given condition - * from the source, or an NoSuchElementException if no such items are emitted. - * @throws - Throws if no items that match the predicate are emitted by the source Observable. - * @method last - * @owner Observable - */ -export function last(predicate, resultSelector, defaultValue) { - return higherOrder(predicate, resultSelector, defaultValue)(this); -} -//# sourceMappingURL=last.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/last.js.map b/node_modules/rxjs/_esm2015/operator/last.js.map deleted file mode 100644 index 00d0ac38..00000000 --- a/node_modules/rxjs/_esm2015/operator/last.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"last.js","sourceRoot":"","sources":["../../src/operator/last.ts"],"names":[],"mappings":"OACO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,mBAAmB;AAsBvD,mCAAmC;AAEnC;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAgD,SAAuE,EAC5F,cAAwD,EACxD,YAAgB;IACzC,MAAM,CAAC,WAAW,CAAC,SAAS,EAAE,cAAqB,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC;AAC3E,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/let.js b/node_modules/rxjs/_esm2015/operator/let.js deleted file mode 100644 index 8d5d3a96..00000000 --- a/node_modules/rxjs/_esm2015/operator/let.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * @param func - * @return {Observable} - * @method let - * @owner Observable - */ -export function letProto(func) { - return func(this); -} -//# sourceMappingURL=let.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/let.js.map b/node_modules/rxjs/_esm2015/operator/let.js.map deleted file mode 100644 index a0c984c3..00000000 --- a/node_modules/rxjs/_esm2015/operator/let.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"let.js","sourceRoot":"","sources":["../../src/operator/let.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,yBAAoD,IAAgD;IAClG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACpB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/map.js b/node_modules/rxjs/_esm2015/operator/map.js deleted file mode 100644 index 42fc7c35..00000000 --- a/node_modules/rxjs/_esm2015/operator/map.js +++ /dev/null @@ -1,38 +0,0 @@ -import { map as higherOrderMap } from '../operators/map'; -/** - * Applies a given `project` function to each value emitted by the source - * Observable, and emits the resulting values as an Observable. - * - * Like [Array.prototype.map()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map), - * it passes each source value through a transformation function to get - * corresponding output values. - * - * - * - * Similar to the well known `Array.prototype.map` function, this operator - * applies a projection to each value and emits that projection in the output - * Observable. - * - * @example Map every click to the clientX position of that click - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var positions = clicks.map(ev => ev.clientX); - * positions.subscribe(x => console.log(x)); - * - * @see {@link mapTo} - * @see {@link pluck} - * - * @param {function(value: T, index: number): R} project The function to apply - * to each `value` emitted by the source Observable. The `index` parameter is - * the number `i` for the i-th emission that has happened since the - * subscription, starting from the number `0`. - * @param {any} [thisArg] An optional argument to define what `this` is in the - * `project` function. - * @return {Observable} An Observable that emits the values from the source - * Observable transformed by the given `project` function. - * @method map - * @owner Observable - */ -export function map(project, thisArg) { - return higherOrderMap(project, thisArg)(this); -} -//# sourceMappingURL=map.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/map.js.map b/node_modules/rxjs/_esm2015/operator/map.js.map deleted file mode 100644 index 78d52a88..00000000 --- a/node_modules/rxjs/_esm2015/operator/map.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"map.js","sourceRoot":"","sources":["../../src/operator/map.ts"],"names":[],"mappings":"OAAO,EAAE,GAAG,IAAI,cAAc,EAAE,MAAM,kBAAkB;AAGxD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,oBAA+C,OAAuC,EAAE,OAAa;IACnG,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/mapTo.js b/node_modules/rxjs/_esm2015/operator/mapTo.js deleted file mode 100644 index 93f589da..00000000 --- a/node_modules/rxjs/_esm2015/operator/mapTo.js +++ /dev/null @@ -1,31 +0,0 @@ -import { mapTo as higherOrder } from '../operators/mapTo'; -/** - * Emits the given constant value on the output Observable every time the source - * Observable emits a value. - * - * Like {@link map}, but it maps every source value to - * the same output value every time. - * - * - * - * Takes a constant `value` as argument, and emits that whenever the source - * Observable emits a value. In other words, ignores the actual source value, - * and simply uses the emission moment to know when to emit the given `value`. - * - * @example Map every click to the string 'Hi' - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var greetings = clicks.mapTo('Hi'); - * greetings.subscribe(x => console.log(x)); - * - * @see {@link map} - * - * @param {any} value The value to map each source value to. - * @return {Observable} An Observable that emits the given `value` every time - * the source Observable emits something. - * @method mapTo - * @owner Observable - */ -export function mapTo(value) { - return higherOrder(value)(this); -} -//# sourceMappingURL=mapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/mapTo.js.map b/node_modules/rxjs/_esm2015/operator/mapTo.js.map deleted file mode 100644 index 2e1d8fd0..00000000 --- a/node_modules/rxjs/_esm2015/operator/mapTo.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"mapTo.js","sourceRoot":"","sources":["../../src/operator/mapTo.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB;AAEzD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,sBAAiD,KAAQ;IACvD,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/materialize.js b/node_modules/rxjs/_esm2015/operator/materialize.js deleted file mode 100644 index c92ad784..00000000 --- a/node_modules/rxjs/_esm2015/operator/materialize.js +++ /dev/null @@ -1,49 +0,0 @@ -import { materialize as higherOrder } from '../operators/materialize'; -/** - * Represents all of the notifications from the source Observable as `next` - * emissions marked with their original types within {@link Notification} - * objects. - * - * Wraps `next`, `error` and `complete` emissions in - * {@link Notification} objects, emitted as `next` on the output Observable. - * - * - * - * - * `materialize` returns an Observable that emits a `next` notification for each - * `next`, `error`, or `complete` emission of the source Observable. When the - * source Observable emits `complete`, the output Observable will emit `next` as - * a Notification of type "complete", and then it will emit `complete` as well. - * When the source Observable emits `error`, the output will emit `next` as a - * Notification of type "error", and then `complete`. - * - * This operator is useful for producing metadata of the source Observable, to - * be consumed as `next` emissions. Use it in conjunction with - * {@link dematerialize}. - * - * @example Convert a faulty Observable to an Observable of Notifications - * var letters = Rx.Observable.of('a', 'b', 13, 'd'); - * var upperCase = letters.map(x => x.toUpperCase()); - * var materialized = upperCase.materialize(); - * materialized.subscribe(x => console.log(x)); - * - * // Results in the following: - * // - Notification {kind: "N", value: "A", error: undefined, hasValue: true} - * // - Notification {kind: "N", value: "B", error: undefined, hasValue: true} - * // - Notification {kind: "E", value: undefined, error: TypeError: - * // x.toUpperCase is not a function at MapSubscriber.letters.map.x - * // [as project] (http://1…, hasValue: false} - * - * @see {@link Notification} - * @see {@link dematerialize} - * - * @return {Observable>} An Observable that emits - * {@link Notification} objects that wrap the original emissions from the source - * Observable with metadata. - * @method materialize - * @owner Observable - */ -export function materialize() { - return higherOrder()(this); -} -//# sourceMappingURL=materialize.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/materialize.js.map b/node_modules/rxjs/_esm2015/operator/materialize.js.map deleted file mode 100644 index c5ed78e9..00000000 --- a/node_modules/rxjs/_esm2015/operator/materialize.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"materialize.js","sourceRoot":"","sources":["../../src/operator/materialize.ts"],"names":[],"mappings":"OAGO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,0BAA0B;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH;IACE,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,CAAgC,CAAC;AAC5D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/max.js b/node_modules/rxjs/_esm2015/operator/max.js deleted file mode 100644 index 430013bf..00000000 --- a/node_modules/rxjs/_esm2015/operator/max.js +++ /dev/null @@ -1,36 +0,0 @@ -import { max as higherOrderMax } from '../operators/max'; -/** - * The Max operator operates on an Observable that emits numbers (or items that can be compared with a provided function), - * and when source Observable completes it emits a single item: the item with the largest value. - * - * - * - * @example Get the maximal value of a series of numbers - * Rx.Observable.of(5, 4, 7, 2, 8) - * .max() - * .subscribe(x => console.log(x)); // -> 8 - * - * @example Use a comparer function to get the maximal item - * interface Person { - * age: number, - * name: string - * } - * Observable.of({age: 7, name: 'Foo'}, - * {age: 5, name: 'Bar'}, - * {age: 9, name: 'Beer'}) - * .max((a: Person, b: Person) => a.age < b.age ? -1 : 1) - * .subscribe((x: Person) => console.log(x.name)); // -> 'Beer' - * } - * - * @see {@link min} - * - * @param {Function} [comparer] - Optional comparer function that it will use instead of its default to compare the - * value of two items. - * @return {Observable} An Observable that emits item with the largest value. - * @method max - * @owner Observable - */ -export function max(comparer) { - return higherOrderMax(comparer)(this); -} -//# sourceMappingURL=max.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/max.js.map b/node_modules/rxjs/_esm2015/operator/max.js.map deleted file mode 100644 index d4a472f0..00000000 --- a/node_modules/rxjs/_esm2015/operator/max.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"max.js","sourceRoot":"","sources":["../../src/operator/max.ts"],"names":[],"mappings":"OACO,EAAE,GAAG,IAAI,cAAc,EAAE,MAAM,kBAAkB;AAExD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,oBAA4C,QAAiC;IAC3E,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC;AACxC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/merge.js b/node_modules/rxjs/_esm2015/operator/merge.js deleted file mode 100644 index 322cd90c..00000000 --- a/node_modules/rxjs/_esm2015/operator/merge.js +++ /dev/null @@ -1,53 +0,0 @@ -import { merge as higherOrder } from '../operators/merge'; -export { merge as mergeStatic } from '../observable/merge'; -/* tslint:enable:max-line-length */ -/** - * Creates an output Observable which concurrently emits all values from every - * given input Observable. - * - * Flattens multiple Observables together by blending - * their values into one Observable. - * - * - * - * `merge` subscribes to each given input Observable (either the source or an - * Observable given as argument), and simply forwards (without doing any - * transformation) all the values from all the input Observables to the output - * Observable. The output Observable only completes once all input Observables - * have completed. Any error delivered by an input Observable will be immediately - * emitted on the output Observable. - * - * @example Merge together two Observables: 1s interval and clicks - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var timer = Rx.Observable.interval(1000); - * var clicksOrTimer = clicks.merge(timer); - * clicksOrTimer.subscribe(x => console.log(x)); - * - * @example Merge together 3 Observables, but only 2 run concurrently - * var timer1 = Rx.Observable.interval(1000).take(10); - * var timer2 = Rx.Observable.interval(2000).take(6); - * var timer3 = Rx.Observable.interval(500).take(10); - * var concurrent = 2; // the argument - * var merged = timer1.merge(timer2, timer3, concurrent); - * merged.subscribe(x => console.log(x)); - * - * @see {@link mergeAll} - * @see {@link mergeMap} - * @see {@link mergeMapTo} - * @see {@link mergeScan} - * - * @param {ObservableInput} other An input Observable to merge with the source - * Observable. More than one input Observables may be given as argument. - * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input - * Observables being subscribed to concurrently. - * @param {Scheduler} [scheduler=null] The IScheduler to use for managing - * concurrency of input Observables. - * @return {Observable} An Observable that emits items that are the result of - * every input Observable. - * @method merge - * @owner Observable - */ -export function merge(...observables) { - return higherOrder(...observables)(this); -} -//# sourceMappingURL=merge.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/merge.js.map b/node_modules/rxjs/_esm2015/operator/merge.js.map deleted file mode 100644 index f9c35c8e..00000000 --- a/node_modules/rxjs/_esm2015/operator/merge.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../src/operator/merge.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB;AAEzD,SAAS,KAAK,IAAI,WAAW,QAAQ,qBAAqB,CAAC;AAiB3D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,sBAAiD,GAAG,WAA8D;IAChH,MAAM,CAAC,WAAW,CAAC,GAAG,WAAW,CAAC,CAAC,IAAI,CAAkB,CAAC;AAC5D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/mergeAll.js b/node_modules/rxjs/_esm2015/operator/mergeAll.js deleted file mode 100644 index 2464518a..00000000 --- a/node_modules/rxjs/_esm2015/operator/mergeAll.js +++ /dev/null @@ -1,49 +0,0 @@ -import { mergeAll as higherOrder } from '../operators/mergeAll'; -/** - * Converts a higher-order Observable into a first-order Observable which - * concurrently delivers all values that are emitted on the inner Observables. - * - * Flattens an Observable-of-Observables. - * - * - * - * `mergeAll` subscribes to an Observable that emits Observables, also known as - * a higher-order Observable. Each time it observes one of these emitted inner - * Observables, it subscribes to that and delivers all the values from the - * inner Observable on the output Observable. The output Observable only - * completes once all inner Observables have completed. Any error delivered by - * a inner Observable will be immediately emitted on the output Observable. - * - * @example Spawn a new interval Observable for each click event, and blend their outputs as one Observable - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000)); - * var firstOrder = higherOrder.mergeAll(); - * firstOrder.subscribe(x => console.log(x)); - * - * @example Count from 0 to 9 every second for each click, but only allow 2 concurrent timers - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000).take(10)); - * var firstOrder = higherOrder.mergeAll(2); - * firstOrder.subscribe(x => console.log(x)); - * - * @see {@link combineAll} - * @see {@link concatAll} - * @see {@link exhaust} - * @see {@link merge} - * @see {@link mergeMap} - * @see {@link mergeMapTo} - * @see {@link mergeScan} - * @see {@link switch} - * @see {@link zipAll} - * - * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of inner - * Observables being subscribed to concurrently. - * @return {Observable} An Observable that emits values coming from all the - * inner Observables emitted by the source Observable. - * @method mergeAll - * @owner Observable - */ -export function mergeAll(concurrent = Number.POSITIVE_INFINITY) { - return higherOrder(concurrent)(this); -} -//# sourceMappingURL=mergeAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/mergeAll.js.map b/node_modules/rxjs/_esm2015/operator/mergeAll.js.map deleted file mode 100644 index a8a04ea9..00000000 --- a/node_modules/rxjs/_esm2015/operator/mergeAll.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"mergeAll.js","sourceRoot":"","sources":["../../src/operator/mergeAll.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,IAAI,WAAW,EAAE,MAAM,uBAAuB;AAK/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,yBAAiD,UAAU,GAAW,MAAM,CAAC,iBAAiB;IAC5F,MAAM,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,IAAI,CAAkB,CAAC;AACxD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/mergeMap.js b/node_modules/rxjs/_esm2015/operator/mergeMap.js deleted file mode 100644 index c7c1bd99..00000000 --- a/node_modules/rxjs/_esm2015/operator/mergeMap.js +++ /dev/null @@ -1,64 +0,0 @@ -import { mergeMap as higherOrderMergeMap } from '../operators/mergeMap'; -/* tslint:enable:max-line-length */ -/** - * Projects each source value to an Observable which is merged in the output - * Observable. - * - * Maps each value to an Observable, then flattens all of - * these inner Observables using {@link mergeAll}. - * - * - * - * Returns an Observable that emits items based on applying a function that you - * supply to each item emitted by the source Observable, where that function - * returns an Observable, and then merging those resulting Observables and - * emitting the results of this merger. - * - * @example Map and flatten each letter to an Observable ticking every 1 second - * var letters = Rx.Observable.of('a', 'b', 'c'); - * var result = letters.mergeMap(x => - * Rx.Observable.interval(1000).map(i => x+i) - * ); - * result.subscribe(x => console.log(x)); - * - * // Results in the following: - * // a0 - * // b0 - * // c0 - * // a1 - * // b1 - * // c1 - * // continues to list a,b,c with respective ascending integers - * - * @see {@link concatMap} - * @see {@link exhaustMap} - * @see {@link merge} - * @see {@link mergeAll} - * @see {@link mergeMapTo} - * @see {@link mergeScan} - * @see {@link switchMap} - * - * @param {function(value: T, ?index: number): ObservableInput} project A function - * that, when applied to an item emitted by the source Observable, returns an - * Observable. - * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] - * A function to produce the value on the output Observable based on the values - * and the indices of the source (outer) emission and the inner Observable - * emission. The arguments passed to this function are: - * - `outerValue`: the value that came from the source - * - `innerValue`: the value that came from the projected Observable - * - `outerIndex`: the "index" of the value that came from the source - * - `innerIndex`: the "index" of the value from the projected Observable - * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input - * Observables being subscribed to concurrently. - * @return {Observable} An Observable that emits the result of applying the - * projection function (and the optional `resultSelector`) to each item emitted - * by the source Observable and merging the results of the Observables obtained - * from this transformation. - * @method mergeMap - * @owner Observable - */ -export function mergeMap(project, resultSelector, concurrent = Number.POSITIVE_INFINITY) { - return higherOrderMergeMap(project, resultSelector, concurrent)(this); -} -//# sourceMappingURL=mergeMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/mergeMap.js.map b/node_modules/rxjs/_esm2015/operator/mergeMap.js.map deleted file mode 100644 index 8095283c..00000000 --- a/node_modules/rxjs/_esm2015/operator/mergeMap.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"mergeMap.js","sourceRoot":"","sources":["../../src/operator/mergeMap.ts"],"names":[],"mappings":"OACO,EAAE,QAAQ,IAAI,mBAAmB,EAAE,MAAM,uBAAuB;AAKvE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,yBAAuD,OAAwD,EAC7E,cAAuG,EACvG,UAAU,GAAW,MAAM,CAAC,iBAAiB;IAC7E,MAAM,CAAC,mBAAmB,CAAC,OAAO,EAAO,cAAc,EAAE,UAAU,CAAC,CAAC,IAAI,CAAsB,CAAC;AAClG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/mergeMapTo.js b/node_modules/rxjs/_esm2015/operator/mergeMapTo.js deleted file mode 100644 index 2be85147..00000000 --- a/node_modules/rxjs/_esm2015/operator/mergeMapTo.js +++ /dev/null @@ -1,49 +0,0 @@ -import { mergeMapTo as higherOrder } from '../operators/mergeMapTo'; -/* tslint:enable:max-line-length */ -/** - * Projects each source value to the same Observable which is merged multiple - * times in the output Observable. - * - * It's like {@link mergeMap}, but maps each value always - * to the same inner Observable. - * - * - * - * Maps each source value to the given Observable `innerObservable` regardless - * of the source value, and then merges those resulting Observables into one - * single Observable, which is the output Observable. - * - * @example For each click event, start an interval Observable ticking every 1 second - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.mergeMapTo(Rx.Observable.interval(1000)); - * result.subscribe(x => console.log(x)); - * - * @see {@link concatMapTo} - * @see {@link merge} - * @see {@link mergeAll} - * @see {@link mergeMap} - * @see {@link mergeScan} - * @see {@link switchMapTo} - * - * @param {ObservableInput} innerObservable An Observable to replace each value from - * the source Observable. - * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] - * A function to produce the value on the output Observable based on the values - * and the indices of the source (outer) emission and the inner Observable - * emission. The arguments passed to this function are: - * - `outerValue`: the value that came from the source - * - `innerValue`: the value that came from the projected Observable - * - `outerIndex`: the "index" of the value that came from the source - * - `innerIndex`: the "index" of the value from the projected Observable - * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input - * Observables being subscribed to concurrently. - * @return {Observable} An Observable that emits items from the given - * `innerObservable` (and optionally transformed through `resultSelector`) every - * time a value is emitted on the source Observable. - * @method mergeMapTo - * @owner Observable - */ -export function mergeMapTo(innerObservable, resultSelector, concurrent = Number.POSITIVE_INFINITY) { - return higherOrder(innerObservable, resultSelector, concurrent)(this); -} -//# sourceMappingURL=mergeMapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/mergeMapTo.js.map b/node_modules/rxjs/_esm2015/operator/mergeMapTo.js.map deleted file mode 100644 index 9315e3c9..00000000 --- a/node_modules/rxjs/_esm2015/operator/mergeMapTo.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"mergeMapTo.js","sourceRoot":"","sources":["../../src/operator/mergeMapTo.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,yBAAyB;AAKnE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,2BAAyD,eAA8B,EACnD,cAAuG,EACvG,UAAU,GAAW,MAAM,CAAC,iBAAiB;IAC/E,MAAM,CAAC,WAAW,CAAC,eAAe,EAAE,cAAqB,EAAE,UAAU,CAAC,CAAC,IAAI,CAAkB,CAAC;AAChG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/mergeScan.js b/node_modules/rxjs/_esm2015/operator/mergeScan.js deleted file mode 100644 index 6713a03d..00000000 --- a/node_modules/rxjs/_esm2015/operator/mergeScan.js +++ /dev/null @@ -1,36 +0,0 @@ -import { mergeScan as higherOrder } from '../operators/mergeScan'; -/** - * Applies an accumulator function over the source Observable where the - * accumulator function itself returns an Observable, then each intermediate - * Observable returned is merged into the output Observable. - * - * It's like {@link scan}, but the Observables returned - * by the accumulator are merged into the outer Observable. - * - * @example Count the number of click events - * const click$ = Rx.Observable.fromEvent(document, 'click'); - * const one$ = click$.mapTo(1); - * const seed = 0; - * const count$ = one$.mergeScan((acc, one) => Rx.Observable.of(acc + one), seed); - * count$.subscribe(x => console.log(x)); - * - * // Results: - * 1 - * 2 - * 3 - * 4 - * // ...and so on for each click - * - * @param {function(acc: R, value: T): Observable} accumulator - * The accumulator function called on each source value. - * @param seed The initial accumulation value. - * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of - * input Observables being subscribed to concurrently. - * @return {Observable} An observable of the accumulated values. - * @method mergeScan - * @owner Observable - */ -export function mergeScan(accumulator, seed, concurrent = Number.POSITIVE_INFINITY) { - return higherOrder(accumulator, seed, concurrent)(this); -} -//# sourceMappingURL=mergeScan.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/mergeScan.js.map b/node_modules/rxjs/_esm2015/operator/mergeScan.js.map deleted file mode 100644 index a3104f58..00000000 --- a/node_modules/rxjs/_esm2015/operator/mergeScan.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"mergeScan.js","sourceRoot":"","sources":["../../src/operator/mergeScan.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,0BACgC,WAAgD,EAChD,IAAO,EACP,UAAU,GAAW,MAAM,CAAC,iBAAiB;IAC3E,MAAM,CAAC,WAAW,CAAC,WAAW,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC,CAAC;AAC1D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/min.js b/node_modules/rxjs/_esm2015/operator/min.js deleted file mode 100644 index 5f24d5d9..00000000 --- a/node_modules/rxjs/_esm2015/operator/min.js +++ /dev/null @@ -1,36 +0,0 @@ -import { min as higherOrderMin } from '../operators/min'; -/** - * The Min operator operates on an Observable that emits numbers (or items that can be compared with a provided function), - * and when source Observable completes it emits a single item: the item with the smallest value. - * - * - * - * @example Get the minimal value of a series of numbers - * Rx.Observable.of(5, 4, 7, 2, 8) - * .min() - * .subscribe(x => console.log(x)); // -> 2 - * - * @example Use a comparer function to get the minimal item - * interface Person { - * age: number, - * name: string - * } - * Observable.of({age: 7, name: 'Foo'}, - * {age: 5, name: 'Bar'}, - * {age: 9, name: 'Beer'}) - * .min( (a: Person, b: Person) => a.age < b.age ? -1 : 1) - * .subscribe((x: Person) => console.log(x.name)); // -> 'Bar' - * } - * - * @see {@link max} - * - * @param {Function} [comparer] - Optional comparer function that it will use instead of its default to compare the - * value of two items. - * @return {Observable} An Observable that emits item with the smallest value. - * @method min - * @owner Observable - */ -export function min(comparer) { - return higherOrderMin(comparer)(this); -} -//# sourceMappingURL=min.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/min.js.map b/node_modules/rxjs/_esm2015/operator/min.js.map deleted file mode 100644 index 8595bece..00000000 --- a/node_modules/rxjs/_esm2015/operator/min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"min.js","sourceRoot":"","sources":["../../src/operator/min.ts"],"names":[],"mappings":"OACO,EAAE,GAAG,IAAI,cAAc,EAAE,MAAM,kBAAkB;AAExD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,oBAA4C,QAAiC;IAC3E,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC;AACxC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/multicast.js b/node_modules/rxjs/_esm2015/operator/multicast.js deleted file mode 100644 index 74b70cd1..00000000 --- a/node_modules/rxjs/_esm2015/operator/multicast.js +++ /dev/null @@ -1,100 +0,0 @@ -import { multicast as higherOrder } from '../operators/multicast'; -/* tslint:enable:max-line-length */ -/** - * Allows source Observable to be subscribed only once with a Subject of choice, - * while still sharing its values between multiple subscribers. - * - * Subscribe to Observable once, but send its values to multiple subscribers. - * - * - * - * `multicast` is an operator that works in two modes. - * - * In the first mode you provide a single argument to it, which can be either an initialized Subject or a Subject - * factory. As a result you will get a special kind of an Observable - a {@link ConnectableObservable}. It can be - * subscribed multiple times, just as regular Observable, but it won't subscribe to the source Observable at that - * moment. It will do it only if you call its `connect` method. This means you can essentially control by hand, when - * source Observable will be actually subscribed. What is more, ConnectableObservable will share this one subscription - * between all of its subscribers. This means that, for example, `ajax` Observable will only send a request once, - * even though usually it would send a request per every subscriber. Since it sends a request at the moment of - * subscription, here request would be sent when the `connect` method of a ConnectableObservable is called. - * - * The most common pattern of using ConnectableObservable is calling `connect` when the first consumer subscribes, - * keeping the subscription alive while several consumers come and go and finally unsubscribing from the source - * Observable, when the last consumer unsubscribes. To not implement that logic over and over again, - * ConnectableObservable has a special operator, `refCount`. When called, it returns an Observable, which will count - * the number of consumers subscribed to it and keep ConnectableObservable connected as long as there is at least - * one consumer. So if you don't actually need to decide yourself when to connect and disconnect a - * ConnectableObservable, use `refCount`. - * - * The second mode is invoked by calling `multicast` with an additional, second argument - selector function. - * This function accepts an Observable - which basically mirrors the source Observable - and returns Observable - * as well, which should be the input stream modified by any operators you want. Note that in this - * mode you cannot provide initialized Subject as a first argument - it has to be a Subject factory. If - * you provide selector function, `multicast` returns just a regular Observable, instead of ConnectableObservable. - * Thus, as usual, each subscription to this stream triggers subscription to the source Observable. However, - * if inside the selector function you subscribe to the input Observable multiple times, actual source stream - * will be subscribed only once. So if you have a chain of operators that use some Observable many times, - * but you want to subscribe to that Observable only once, this is the mode you would use. - * - * Subject provided as a first parameter of `multicast` is used as a proxy for the single subscription to the - * source Observable. It means that all values from the source stream go through that Subject. Thus, if a Subject - * has some special properties, Observable returned by `multicast` will have them as well. If you want to use - * `multicast` with a Subject that is one of the ones included in RxJS by default - {@link Subject}, - * {@link AsyncSubject}, {@link BehaviorSubject}, or {@link ReplaySubject} - simply use {@link publish}, - * {@link publishLast}, {@link publishBehavior} or {@link publishReplay} respectively. These are actually - * just wrappers around `multicast`, with a specific Subject hardcoded inside. - * - * Also, if you use {@link publish} or {@link publishReplay} with a ConnectableObservables `refCount` operator, - * you can simply use {@link share} and {@link shareReplay} respectively, which chain these two. - * - * @example Use ConnectableObservable - * const seconds = Rx.Observable.interval(1000); - * const connectableSeconds = seconds.multicast(new Subject()); - * - * connectableSeconds.subscribe(value => console.log('first: ' + value)); - * connectableSeconds.subscribe(value => console.log('second: ' + value)); - * - * // At this point still nothing happens, even though we subscribed twice. - * - * connectableSeconds.connect(); - * - * // From now on `seconds` are being logged to the console, - * // twice per every second. `seconds` Observable was however only subscribed once, - * // so under the hood Observable.interval had only one clock started. - * - * @example Use selector - * const seconds = Rx.Observable.interval(1000); - * - * seconds - * .multicast( - * () => new Subject(), - * seconds => seconds.zip(seconds) // Usually zip would subscribe to `seconds` twice. - * // Because we are inside selector, `seconds` is subscribed once, - * ) // thus starting only one clock used internally by Observable.interval. - * .subscribe(); - * - * @see {@link publish} - * @see {@link publishLast} - * @see {@link publishBehavior} - * @see {@link publishReplay} - * @see {@link share} - * @see {@link shareReplay} - * - * @param {Function|Subject} subjectOrSubjectFactory - Factory function to create an intermediate Subject through - * which the source sequence's elements will be multicast to the selector function input Observable or - * ConnectableObservable returned by the operator. - * @param {Function} [selector] - Optional selector function that can use the input stream - * as many times as needed, without causing multiple subscriptions to the source stream. - * Subscribers to the input source will receive all notifications of the source from the - * time of the subscription forward. - * @return {Observable|ConnectableObservable} An Observable that emits the results of invoking the selector - * on the source stream or a special {@link ConnectableObservable}, if selector was not provided. - * - * @method multicast - * @owner Observable - */ -export function multicast(subjectOrSubjectFactory, selector) { - return higherOrder(subjectOrSubjectFactory, selector)(this); -} -//# sourceMappingURL=multicast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/multicast.js.map b/node_modules/rxjs/_esm2015/operator/multicast.js.map deleted file mode 100644 index a49f8707..00000000 --- a/node_modules/rxjs/_esm2015/operator/multicast.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"multicast.js","sourceRoot":"","sources":["../../src/operator/multicast.ts"],"names":[],"mappings":"OAGO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAOjE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6FG;AACH,0BAAqD,uBAAwD,EAC7E,QAAmD;IACjF,MAAM,CAAC,WAAW,CAAM,uBAAuB,EAAE,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC;AACnE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/observeOn.js b/node_modules/rxjs/_esm2015/operator/observeOn.js deleted file mode 100644 index d11bb876..00000000 --- a/node_modules/rxjs/_esm2015/operator/observeOn.js +++ /dev/null @@ -1,51 +0,0 @@ -import { observeOn as higherOrder } from '../operators/observeOn'; -/** - * - * Re-emits all notifications from source Observable with specified scheduler. - * - * Ensure a specific scheduler is used, from outside of an Observable. - * - * `observeOn` is an operator that accepts a scheduler as a first parameter, which will be used to reschedule - * notifications emitted by the source Observable. It might be useful, if you do not have control over - * internal scheduler of a given Observable, but want to control when its values are emitted nevertheless. - * - * Returned Observable emits the same notifications (nexted values, complete and error events) as the source Observable, - * but rescheduled with provided scheduler. Note that this doesn't mean that source Observables internal - * scheduler will be replaced in any way. Original scheduler still will be used, but when the source Observable emits - * notification, it will be immediately scheduled again - this time with scheduler passed to `observeOn`. - * An anti-pattern would be calling `observeOn` on Observable that emits lots of values synchronously, to split - * that emissions into asynchronous chunks. For this to happen, scheduler would have to be passed into the source - * Observable directly (usually into the operator that creates it). `observeOn` simply delays notifications a - * little bit more, to ensure that they are emitted at expected moments. - * - * As a matter of fact, `observeOn` accepts second parameter, which specifies in milliseconds with what delay notifications - * will be emitted. The main difference between {@link delay} operator and `observeOn` is that `observeOn` - * will delay all notifications - including error notifications - while `delay` will pass through error - * from source Observable immediately when it is emitted. In general it is highly recommended to use `delay` operator - * for any kind of delaying of values in the stream, while using `observeOn` to specify which scheduler should be used - * for notification emissions in general. - * - * @example Ensure values in subscribe are called just before browser repaint. - * const intervals = Rx.Observable.interval(10); // Intervals are scheduled - * // with async scheduler by default... - * - * intervals - * .observeOn(Rx.Scheduler.animationFrame) // ...but we will observe on animationFrame - * .subscribe(val => { // scheduler to ensure smooth animation. - * someDiv.style.height = val + 'px'; - * }); - * - * @see {@link delay} - * - * @param {IScheduler} scheduler Scheduler that will be used to reschedule notifications from source Observable. - * @param {number} [delay] Number of milliseconds that states with what delay every notification should be rescheduled. - * @return {Observable} Observable that emits the same notifications as the source Observable, - * but with provided scheduler. - * - * @method observeOn - * @owner Observable - */ -export function observeOn(scheduler, delay = 0) { - return higherOrder(scheduler, delay)(this); -} -//# sourceMappingURL=observeOn.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/observeOn.js.map b/node_modules/rxjs/_esm2015/operator/observeOn.js.map deleted file mode 100644 index afc4b809..00000000 --- a/node_modules/rxjs/_esm2015/operator/observeOn.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"observeOn.js","sourceRoot":"","sources":["../../src/operator/observeOn.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,0BAAkD,SAAqB,EAAE,KAAK,GAAW,CAAC;IACxF,MAAM,CAAC,WAAW,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC,IAAI,CAAkB,CAAC;AAC9D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/onErrorResumeNext.js b/node_modules/rxjs/_esm2015/operator/onErrorResumeNext.js deleted file mode 100644 index 5e3b8fc5..00000000 --- a/node_modules/rxjs/_esm2015/operator/onErrorResumeNext.js +++ /dev/null @@ -1,67 +0,0 @@ -import { onErrorResumeNext as higherOrder } from '../operators/onErrorResumeNext'; -/* tslint:enable:max-line-length */ -/** - * When any of the provided Observable emits an complete or error notification, it immediately subscribes to the next one - * that was passed. - * - * Execute series of Observables no matter what, even if it means swallowing errors. - * - * - * - * `onErrorResumeNext` is an operator that accepts a series of Observables, provided either directly as - * arguments or as an array. If no single Observable is provided, returned Observable will simply behave the same - * as the source. - * - * `onErrorResumeNext` returns an Observable that starts by subscribing and re-emitting values from the source Observable. - * When its stream of values ends - no matter if Observable completed or emitted an error - `onErrorResumeNext` - * will subscribe to the first Observable that was passed as an argument to the method. It will start re-emitting - * its values as well and - again - when that stream ends, `onErrorResumeNext` will proceed to subscribing yet another - * Observable in provided series, no matter if previous Observable completed or ended with an error. This will - * be happening until there is no more Observables left in the series, at which point returned Observable will - * complete - even if the last subscribed stream ended with an error. - * - * `onErrorResumeNext` can be therefore thought of as version of {@link concat} operator, which is more permissive - * when it comes to the errors emitted by its input Observables. While `concat` subscribes to the next Observable - * in series only if previous one successfully completed, `onErrorResumeNext` subscribes even if it ended with - * an error. - * - * Note that you do not get any access to errors emitted by the Observables. In particular do not - * expect these errors to appear in error callback passed to {@link subscribe}. If you want to take - * specific actions based on what error was emitted by an Observable, you should try out {@link catch} instead. - * - * - * @example Subscribe to the next Observable after map fails - * Rx.Observable.of(1, 2, 3, 0) - * .map(x => { - * if (x === 0) { throw Error(); } - return 10 / x; - * }) - * .onErrorResumeNext(Rx.Observable.of(1, 2, 3)) - * .subscribe( - * val => console.log(val), - * err => console.log(err), // Will never be called. - * () => console.log('that\'s it!') - * ); - * - * // Logs: - * // 10 - * // 5 - * // 3.3333333333333335 - * // 1 - * // 2 - * // 3 - * // "that's it!" - * - * @see {@link concat} - * @see {@link catch} - * - * @param {...ObservableInput} observables Observables passed either directly or as an array. - * @return {Observable} An Observable that emits values from source Observable, but - if it errors - subscribes - * to the next passed Observable and so on, until it completes or runs out of Observables. - * @method onErrorResumeNext - * @owner Observable - */ -export function onErrorResumeNext(...nextSources) { - return higherOrder(...nextSources)(this); -} -//# sourceMappingURL=onErrorResumeNext.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/onErrorResumeNext.js.map b/node_modules/rxjs/_esm2015/operator/onErrorResumeNext.js.map deleted file mode 100644 index 00a55ed7..00000000 --- a/node_modules/rxjs/_esm2015/operator/onErrorResumeNext.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"onErrorResumeNext.js","sourceRoot":"","sources":["../../src/operator/onErrorResumeNext.ts"],"names":[],"mappings":"OACO,EAAE,iBAAiB,IAAI,WAAW,EAAE,MAAM,gCAAgC;AAUjF,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AAEH,kCAA6D,GAAG,WAEsB;IACpF,MAAM,CAAC,WAAW,CAAC,GAAG,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC;AAC3C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/pairwise.js b/node_modules/rxjs/_esm2015/operator/pairwise.js deleted file mode 100644 index 88a7b120..00000000 --- a/node_modules/rxjs/_esm2015/operator/pairwise.js +++ /dev/null @@ -1,40 +0,0 @@ -import { pairwise as higherOrder } from '../operators/pairwise'; -/** - * Groups pairs of consecutive emissions together and emits them as an array of - * two values. - * - * Puts the current value and previous value together as - * an array, and emits that. - * - * - * - * The Nth emission from the source Observable will cause the output Observable - * to emit an array [(N-1)th, Nth] of the previous and the current value, as a - * pair. For this reason, `pairwise` emits on the second and subsequent - * emissions from the source Observable, but not on the first emission, because - * there is no previous value in that case. - * - * @example On every click (starting from the second), emit the relative distance to the previous click - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var pairs = clicks.pairwise(); - * var distance = pairs.map(pair => { - * var x0 = pair[0].clientX; - * var y0 = pair[0].clientY; - * var x1 = pair[1].clientX; - * var y1 = pair[1].clientY; - * return Math.sqrt(Math.pow(x0 - x1, 2) + Math.pow(y0 - y1, 2)); - * }); - * distance.subscribe(x => console.log(x)); - * - * @see {@link buffer} - * @see {@link bufferCount} - * - * @return {Observable>} An Observable of pairs (as arrays) of - * consecutive values from the source Observable. - * @method pairwise - * @owner Observable - */ -export function pairwise() { - return higherOrder()(this); -} -//# sourceMappingURL=pairwise.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/pairwise.js.map b/node_modules/rxjs/_esm2015/operator/pairwise.js.map deleted file mode 100644 index 0125b7e4..00000000 --- a/node_modules/rxjs/_esm2015/operator/pairwise.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"pairwise.js","sourceRoot":"","sources":["../../src/operator/pairwise.ts"],"names":[],"mappings":"OACO,EAAE,QAAQ,IAAI,WAAW,EAAE,MAAM,uBAAuB;AAE/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH;IACE,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,CAAuB,CAAC;AACnD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/partition.js b/node_modules/rxjs/_esm2015/operator/partition.js deleted file mode 100644 index e43abed4..00000000 --- a/node_modules/rxjs/_esm2015/operator/partition.js +++ /dev/null @@ -1,46 +0,0 @@ -import { partition as higherOrder } from '../operators/partition'; -/** - * Splits the source Observable into two, one with values that satisfy a - * predicate, and another with values that don't satisfy the predicate. - * - * It's like {@link filter}, but returns two Observables: - * one like the output of {@link filter}, and the other with values that did not - * pass the condition. - * - * - * - * `partition` outputs an array with two Observables that partition the values - * from the source Observable through the given `predicate` function. The first - * Observable in that array emits source values for which the predicate argument - * returns true. The second Observable emits source values for which the - * predicate returns false. The first behaves like {@link filter} and the second - * behaves like {@link filter} with the predicate negated. - * - * @example Partition click events into those on DIV elements and those elsewhere - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var parts = clicks.partition(ev => ev.target.tagName === 'DIV'); - * var clicksOnDivs = parts[0]; - * var clicksElsewhere = parts[1]; - * clicksOnDivs.subscribe(x => console.log('DIV clicked: ', x)); - * clicksElsewhere.subscribe(x => console.log('Other clicked: ', x)); - * - * @see {@link filter} - * - * @param {function(value: T, index: number): boolean} predicate A function that - * evaluates each value emitted by the source Observable. If it returns `true`, - * the value is emitted on the first Observable in the returned array, if - * `false` the value is emitted on the second Observable in the array. The - * `index` parameter is the number `i` for the i-th source emission that has - * happened since the subscription, starting from the number `0`. - * @param {any} [thisArg] An optional argument to determine the value of `this` - * in the `predicate` function. - * @return {[Observable, Observable]} An array with two Observables: one - * with values that passed the predicate, and another with values that did not - * pass the predicate. - * @method partition - * @owner Observable - */ -export function partition(predicate, thisArg) { - return higherOrder(predicate, thisArg)(this); -} -//# sourceMappingURL=partition.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/partition.js.map b/node_modules/rxjs/_esm2015/operator/partition.js.map deleted file mode 100644 index be6723b5..00000000 --- a/node_modules/rxjs/_esm2015/operator/partition.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"partition.js","sourceRoot":"","sources":["../../src/operator/partition.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AACjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,0BAAkD,SAA+C,EAAE,OAAa;IAC9G,MAAM,CAAC,WAAW,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAC/C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/pluck.js b/node_modules/rxjs/_esm2015/operator/pluck.js deleted file mode 100644 index 41701853..00000000 --- a/node_modules/rxjs/_esm2015/operator/pluck.js +++ /dev/null @@ -1,31 +0,0 @@ -import { pluck as higherOrder } from '../operators/pluck'; -/** - * Maps each source value (an object) to its specified nested property. - * - * Like {@link map}, but meant only for picking one of - * the nested properties of every emitted object. - * - * - * - * Given a list of strings describing a path to an object property, retrieves - * the value of a specified nested property from all values in the source - * Observable. If a property can't be resolved, it will return `undefined` for - * that value. - * - * @example Map every click to the tagName of the clicked target element - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var tagNames = clicks.pluck('target', 'tagName'); - * tagNames.subscribe(x => console.log(x)); - * - * @see {@link map} - * - * @param {...string} properties The nested properties to pluck from each source - * value (an object). - * @return {Observable} A new Observable of property values from the source values. - * @method pluck - * @owner Observable - */ -export function pluck(...properties) { - return higherOrder(...properties)(this); -} -//# sourceMappingURL=pluck.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/pluck.js.map b/node_modules/rxjs/_esm2015/operator/pluck.js.map deleted file mode 100644 index e6e425a3..00000000 --- a/node_modules/rxjs/_esm2015/operator/pluck.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"pluck.js","sourceRoot":"","sources":["../../src/operator/pluck.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB;AAEzD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,sBAAiD,GAAG,UAAoB;IACtE,MAAM,CAAC,WAAW,CAAC,GAAG,UAAU,CAAC,CAAC,IAAI,CAAkB,CAAC;AAC3D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/publish.js b/node_modules/rxjs/_esm2015/operator/publish.js deleted file mode 100644 index 75baacf4..00000000 --- a/node_modules/rxjs/_esm2015/operator/publish.js +++ /dev/null @@ -1,19 +0,0 @@ -import { publish as higherOrder } from '../operators/publish'; -/* tslint:enable:max-line-length */ -/** - * Returns a ConnectableObservable, which is a variety of Observable that waits until its connect method is called - * before it begins emitting items to those Observers that have subscribed to it. - * - * - * - * @param {Function} [selector] - Optional selector function which can use the multicasted source sequence as many times - * as needed, without causing multiple subscriptions to the source sequence. - * Subscribers to the given source will receive all notifications of the source from the time of the subscription on. - * @return A ConnectableObservable that upon connection causes the source Observable to emit items to its Observers. - * @method publish - * @owner Observable - */ -export function publish(selector) { - return higherOrder(selector)(this); -} -//# sourceMappingURL=publish.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/publish.js.map b/node_modules/rxjs/_esm2015/operator/publish.js.map deleted file mode 100644 index ff81d8e7..00000000 --- a/node_modules/rxjs/_esm2015/operator/publish.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"publish.js","sourceRoot":"","sources":["../../src/operator/publish.ts"],"names":[],"mappings":"OAGO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sBAAsB;AAM7D,mCAAmC;AAEnC;;;;;;;;;;;;GAYG;AACH,wBAAmD,QAAmD;IACpG,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC;AACrC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/publishBehavior.js b/node_modules/rxjs/_esm2015/operator/publishBehavior.js deleted file mode 100644 index ec2457ac..00000000 --- a/node_modules/rxjs/_esm2015/operator/publishBehavior.js +++ /dev/null @@ -1,11 +0,0 @@ -import { publishBehavior as higherOrder } from '../operators/publishBehavior'; -/** - * @param value - * @return {ConnectableObservable} - * @method publishBehavior - * @owner Observable - */ -export function publishBehavior(value) { - return higherOrder(value)(this); -} -//# sourceMappingURL=publishBehavior.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/publishBehavior.js.map b/node_modules/rxjs/_esm2015/operator/publishBehavior.js.map deleted file mode 100644 index 5aaa9e17..00000000 --- a/node_modules/rxjs/_esm2015/operator/publishBehavior.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"publishBehavior.js","sourceRoot":"","sources":["../../src/operator/publishBehavior.ts"],"names":[],"mappings":"OAEO,EAAE,eAAe,IAAI,WAAW,EAAE,MAAM,8BAA8B;AAE7E;;;;;GAKG;AACH,gCAAwD,KAAQ;IAC9D,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/publishLast.js b/node_modules/rxjs/_esm2015/operator/publishLast.js deleted file mode 100644 index 59142690..00000000 --- a/node_modules/rxjs/_esm2015/operator/publishLast.js +++ /dev/null @@ -1,11 +0,0 @@ -import { publishLast as higherOrder } from '../operators/publishLast'; -/** - * @return {ConnectableObservable} - * @method publishLast - * @owner Observable - */ -export function publishLast() { - //TODO(benlesh): correct type-flow through here. - return higherOrder()(this); -} -//# sourceMappingURL=publishLast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/publishLast.js.map b/node_modules/rxjs/_esm2015/operator/publishLast.js.map deleted file mode 100644 index cbe23e1d..00000000 --- a/node_modules/rxjs/_esm2015/operator/publishLast.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"publishLast.js","sourceRoot":"","sources":["../../src/operator/publishLast.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,0BAA0B;AACrE;;;;GAIG;AACH;IACE,gDAAgD;IAChD,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,CAA6B,CAAC;AACzD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/publishReplay.js b/node_modules/rxjs/_esm2015/operator/publishReplay.js deleted file mode 100644 index bdf4c4c1..00000000 --- a/node_modules/rxjs/_esm2015/operator/publishReplay.js +++ /dev/null @@ -1,15 +0,0 @@ -import { publishReplay as higherOrder } from '../operators/publishReplay'; -/* tslint:enable:max-line-length */ -/** - * @param bufferSize - * @param windowTime - * @param selectorOrScheduler - * @param scheduler - * @return {Observable | ConnectableObservable} - * @method publishReplay - * @owner Observable - */ -export function publishReplay(bufferSize, windowTime, selectorOrScheduler, scheduler) { - return higherOrder(bufferSize, windowTime, selectorOrScheduler, scheduler)(this); -} -//# sourceMappingURL=publishReplay.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/publishReplay.js.map b/node_modules/rxjs/_esm2015/operator/publishReplay.js.map deleted file mode 100644 index 56fb525a..00000000 --- a/node_modules/rxjs/_esm2015/operator/publishReplay.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"publishReplay.js","sourceRoot":"","sources":["../../src/operator/publishReplay.ts"],"names":[],"mappings":"OAGO,EAAE,aAAa,IAAI,WAAW,EAAE,MAAM,4BAA4B;AAOzE,mCAAmC;AAEnC;;;;;;;;GAQG;AACH,8BAAyD,UAAmB,EACxC,UAAmB,EACnB,mBAAyD,EACzD,SAAsB;IAExD,MAAM,CAAC,WAAW,CAAO,UAAU,EAAE,UAAU,EAAE,mBAA0B,EAAE,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;AAChG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/race.js b/node_modules/rxjs/_esm2015/operator/race.js deleted file mode 100644 index 42b0644c..00000000 --- a/node_modules/rxjs/_esm2015/operator/race.js +++ /dev/null @@ -1,16 +0,0 @@ -import { race as higherOrder } from '../operators/race'; -// NOTE: to support backwards compatability with 5.4.* and lower -export { race as raceStatic } from '../observable/race'; -/* tslint:enable:max-line-length */ -/** - * Returns an Observable that mirrors the first source Observable to emit an item - * from the combination of this Observable and supplied Observables. - * @param {...Observables} ...observables Sources used to race for which Observable emits first. - * @return {Observable} An Observable that mirrors the output of the first Observable to emit an item. - * @method race - * @owner Observable - */ -export function race(...observables) { - return higherOrder(...observables)(this); -} -//# sourceMappingURL=race.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/race.js.map b/node_modules/rxjs/_esm2015/operator/race.js.map deleted file mode 100644 index 57e43d6b..00000000 --- a/node_modules/rxjs/_esm2015/operator/race.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"race.js","sourceRoot":"","sources":["../../src/operator/race.ts"],"names":[],"mappings":"OACO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,mBAAmB;AAEvD,gEAAgE;AAChE,SAAS,IAAI,IAAI,UAAU,QAAQ,oBAAoB,CAAC;AAOxD,mCAAmC;AAEnC;;;;;;;GAOG;AACH,qBAA6C,GAAG,WAAwD;IACtG,MAAM,CAAC,WAAW,CAAC,GAAG,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC;AAC3C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/reduce.js b/node_modules/rxjs/_esm2015/operator/reduce.js deleted file mode 100644 index 7fcabf7d..00000000 --- a/node_modules/rxjs/_esm2015/operator/reduce.js +++ /dev/null @@ -1,58 +0,0 @@ -import { reduce as higherOrderReduce } from '../operators/reduce'; -/* tslint:enable:max-line-length */ -/** - * Applies an accumulator function over the source Observable, and returns the - * accumulated result when the source completes, given an optional seed value. - * - * Combines together all values emitted on the source, - * using an accumulator function that knows how to join a new source value into - * the accumulation from the past. - * - * - * - * Like - * [Array.prototype.reduce()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce), - * `reduce` applies an `accumulator` function against an accumulation and each - * value of the source Observable (from the past) to reduce it to a single - * value, emitted on the output Observable. Note that `reduce` will only emit - * one value, only when the source Observable completes. It is equivalent to - * applying operator {@link scan} followed by operator {@link last}. - * - * Returns an Observable that applies a specified `accumulator` function to each - * item emitted by the source Observable. If a `seed` value is specified, then - * that value will be used as the initial value for the accumulator. If no seed - * value is specified, the first item of the source is used as the seed. - * - * @example Count the number of click events that happened in 5 seconds - * var clicksInFiveSeconds = Rx.Observable.fromEvent(document, 'click') - * .takeUntil(Rx.Observable.interval(5000)); - * var ones = clicksInFiveSeconds.mapTo(1); - * var seed = 0; - * var count = ones.reduce((acc, one) => acc + one, seed); - * count.subscribe(x => console.log(x)); - * - * @see {@link count} - * @see {@link expand} - * @see {@link mergeScan} - * @see {@link scan} - * - * @param {function(acc: R, value: T, index: number): R} accumulator The accumulator function - * called on each source value. - * @param {R} [seed] The initial accumulation value. - * @return {Observable} An Observable that emits a single value that is the - * result of accumulating the values emitted by the source Observable. - * @method reduce - * @owner Observable - */ -export function reduce(accumulator, seed) { - // providing a seed of `undefined` *should* be valid and trigger - // hasSeed! so don't use `seed !== undefined` checks! - // For this reason, we have to check it here at the original call site - // otherwise inside Operator/Subscriber we won't know if `undefined` - // means they didn't provide anything or if they literally provided `undefined` - if (arguments.length >= 2) { - return higherOrderReduce(accumulator, seed)(this); - } - return higherOrderReduce(accumulator)(this); -} -//# sourceMappingURL=reduce.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/reduce.js.map b/node_modules/rxjs/_esm2015/operator/reduce.js.map deleted file mode 100644 index fd5b6652..00000000 --- a/node_modules/rxjs/_esm2015/operator/reduce.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"reduce.js","sourceRoot":"","sources":["../../src/operator/reduce.ts"],"names":[],"mappings":"OACO,EAAE,MAAM,IAAI,iBAAiB,EAAE,MAAM,qBAAqB;AAMjE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,uBAAkD,WAAoD,EAAE,IAAQ;IAC9G,gEAAgE;IAChE,qDAAqD;IACrD,sEAAsE;IACtE,oEAAoE;IACpE,+EAA+E;IAC/E,EAAE,CAAC,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC;QAC1B,MAAM,CAAC,iBAAiB,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IAED,MAAM,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC;AAC9C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/repeat.js b/node_modules/rxjs/_esm2015/operator/repeat.js deleted file mode 100644 index 9b52c4cd..00000000 --- a/node_modules/rxjs/_esm2015/operator/repeat.js +++ /dev/null @@ -1,17 +0,0 @@ -import { repeat as higherOrder } from '../operators/repeat'; -/** - * Returns an Observable that repeats the stream of items emitted by the source Observable at most count times. - * - * - * - * @param {number} [count] The number of times the source Observable items are repeated, a count of 0 will yield - * an empty Observable. - * @return {Observable} An Observable that repeats the stream of items emitted by the source Observable at most - * count times. - * @method repeat - * @owner Observable - */ -export function repeat(count = -1) { - return higherOrder(count)(this); -} -//# sourceMappingURL=repeat.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/repeat.js.map b/node_modules/rxjs/_esm2015/operator/repeat.js.map deleted file mode 100644 index b7288b2b..00000000 --- a/node_modules/rxjs/_esm2015/operator/repeat.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"repeat.js","sourceRoot":"","sources":["../../src/operator/repeat.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,qBAAqB;AAE3D;;;;;;;;;;;GAWG;AACH,uBAA+C,KAAK,GAAW,CAAC,CAAC;IAC/D,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,IAAI,CAAkB,CAAC;AACnD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/repeatWhen.js b/node_modules/rxjs/_esm2015/operator/repeatWhen.js deleted file mode 100644 index a5dc97b7..00000000 --- a/node_modules/rxjs/_esm2015/operator/repeatWhen.js +++ /dev/null @@ -1,19 +0,0 @@ -import { repeatWhen as higherOrder } from '../operators/repeatWhen'; -/** - * Returns an Observable that mirrors the source Observable with the exception of a `complete`. If the source - * Observable calls `complete`, this method will emit to the Observable returned from `notifier`. If that Observable - * calls `complete` or `error`, then this method will call `complete` or `error` on the child subscription. Otherwise - * this method will resubscribe to the source Observable. - * - * - * - * @param {function(notifications: Observable): Observable} notifier - Receives an Observable of notifications with - * which a user can `complete` or `error`, aborting the repetition. - * @return {Observable} The source Observable modified with repeat logic. - * @method repeatWhen - * @owner Observable - */ -export function repeatWhen(notifier) { - return higherOrder(notifier)(this); -} -//# sourceMappingURL=repeatWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/repeatWhen.js.map b/node_modules/rxjs/_esm2015/operator/repeatWhen.js.map deleted file mode 100644 index 43940c97..00000000 --- a/node_modules/rxjs/_esm2015/operator/repeatWhen.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"repeatWhen.js","sourceRoot":"","sources":["../../src/operator/repeatWhen.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,yBAAyB;AAEnE;;;;;;;;;;;;;GAaG;AACH,2BAAmD,QAA6D;IAC9G,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAkB,CAAC;AACtD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/retry.js b/node_modules/rxjs/_esm2015/operator/retry.js deleted file mode 100644 index e4bf386e..00000000 --- a/node_modules/rxjs/_esm2015/operator/retry.js +++ /dev/null @@ -1,21 +0,0 @@ -import { retry as higherOrder } from '../operators/retry'; -/** - * Returns an Observable that mirrors the source Observable with the exception of an `error`. If the source Observable - * calls `error`, this method will resubscribe to the source Observable for a maximum of `count` resubscriptions (given - * as a number parameter) rather than propagating the `error` call. - * - * - * - * Any and all items emitted by the source Observable will be emitted by the resulting Observable, even those emitted - * during failed subscriptions. For example, if an Observable fails at first but emits [1, 2] then succeeds the second - * time and emits: [1, 2, 3, 4, 5] then the complete stream of emissions and notifications - * would be: [1, 2, 1, 2, 3, 4, 5, `complete`]. - * @param {number} count - Number of retry attempts before failing. - * @return {Observable} The source Observable modified with the retry logic. - * @method retry - * @owner Observable - */ -export function retry(count = -1) { - return higherOrder(count)(this); -} -//# sourceMappingURL=retry.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/retry.js.map b/node_modules/rxjs/_esm2015/operator/retry.js.map deleted file mode 100644 index 7711381f..00000000 --- a/node_modules/rxjs/_esm2015/operator/retry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"retry.js","sourceRoot":"","sources":["../../src/operator/retry.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB;AAEzD;;;;;;;;;;;;;;;GAeG;AACH,sBAA8C,KAAK,GAAW,CAAC,CAAC;IAC9D,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,IAAI,CAAkB,CAAC;AACnD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/retryWhen.js b/node_modules/rxjs/_esm2015/operator/retryWhen.js deleted file mode 100644 index 3c7b2085..00000000 --- a/node_modules/rxjs/_esm2015/operator/retryWhen.js +++ /dev/null @@ -1,19 +0,0 @@ -import { retryWhen as higherOrder } from '../operators/retryWhen'; -/** - * Returns an Observable that mirrors the source Observable with the exception of an `error`. If the source Observable - * calls `error`, this method will emit the Throwable that caused the error to the Observable returned from `notifier`. - * If that Observable calls `complete` or `error` then this method will call `complete` or `error` on the child - * subscription. Otherwise this method will resubscribe to the source Observable. - * - * - * - * @param {function(errors: Observable): Observable} notifier - Receives an Observable of notifications with which a - * user can `complete` or `error`, aborting the retry. - * @return {Observable} The source Observable modified with retry logic. - * @method retryWhen - * @owner Observable - */ -export function retryWhen(notifier) { - return higherOrder(notifier)(this); -} -//# sourceMappingURL=retryWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/retryWhen.js.map b/node_modules/rxjs/_esm2015/operator/retryWhen.js.map deleted file mode 100644 index 2dda0455..00000000 --- a/node_modules/rxjs/_esm2015/operator/retryWhen.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"retryWhen.js","sourceRoot":"","sources":["../../src/operator/retryWhen.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AACjE;;;;;;;;;;;;;GAaG;AACH,0BAAkD,QAAsD;IACtG,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAkB,CAAC;AACtD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/sample.js b/node_modules/rxjs/_esm2015/operator/sample.js deleted file mode 100644 index 82cd108e..00000000 --- a/node_modules/rxjs/_esm2015/operator/sample.js +++ /dev/null @@ -1,39 +0,0 @@ -import { sample as higherOrder } from '../operators/sample'; -/** - * Emits the most recently emitted value from the source Observable whenever - * another Observable, the `notifier`, emits. - * - * It's like {@link sampleTime}, but samples whenever - * the `notifier` Observable emits something. - * - * - * - * Whenever the `notifier` Observable emits a value or completes, `sample` - * looks at the source Observable and emits whichever value it has most recently - * emitted since the previous sampling, unless the source has not emitted - * anything since the previous sampling. The `notifier` is subscribed to as soon - * as the output Observable is subscribed. - * - * @example On every click, sample the most recent "seconds" timer - * var seconds = Rx.Observable.interval(1000); - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = seconds.sample(clicks); - * result.subscribe(x => console.log(x)); - * - * @see {@link audit} - * @see {@link debounce} - * @see {@link sampleTime} - * @see {@link throttle} - * - * @param {Observable} notifier The Observable to use for sampling the - * source Observable. - * @return {Observable} An Observable that emits the results of sampling the - * values emitted by the source Observable whenever the notifier Observable - * emits value or completes. - * @method sample - * @owner Observable - */ -export function sample(notifier) { - return higherOrder(notifier)(this); -} -//# sourceMappingURL=sample.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/sample.js.map b/node_modules/rxjs/_esm2015/operator/sample.js.map deleted file mode 100644 index 034c1e8a..00000000 --- a/node_modules/rxjs/_esm2015/operator/sample.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sample.js","sourceRoot":"","sources":["../../src/operator/sample.ts"],"names":[],"mappings":"OACO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,qBAAqB;AAE3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,uBAA+C,QAAyB;IACtE,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAkB,CAAC;AACtD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/sampleTime.js b/node_modules/rxjs/_esm2015/operator/sampleTime.js deleted file mode 100644 index 43dcc392..00000000 --- a/node_modules/rxjs/_esm2015/operator/sampleTime.js +++ /dev/null @@ -1,42 +0,0 @@ -import { async } from '../scheduler/async'; -import { sampleTime as higherOrder } from '../operators/sampleTime'; -/** - * Emits the most recently emitted value from the source Observable within - * periodic time intervals. - * - * Samples the source Observable at periodic time - * intervals, emitting what it samples. - * - * - * - * `sampleTime` periodically looks at the source Observable and emits whichever - * value it has most recently emitted since the previous sampling, unless the - * source has not emitted anything since the previous sampling. The sampling - * happens periodically in time every `period` milliseconds (or the time unit - * defined by the optional `scheduler` argument). The sampling starts as soon as - * the output Observable is subscribed. - * - * @example Every second, emit the most recent click at most once - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.sampleTime(1000); - * result.subscribe(x => console.log(x)); - * - * @see {@link auditTime} - * @see {@link debounceTime} - * @see {@link delay} - * @see {@link sample} - * @see {@link throttleTime} - * - * @param {number} period The sampling period expressed in milliseconds or the - * time unit determined internally by the optional `scheduler`. - * @param {Scheduler} [scheduler=async] The {@link IScheduler} to use for - * managing the timers that handle the sampling. - * @return {Observable} An Observable that emits the results of sampling the - * values emitted by the source Observable at the specified time interval. - * @method sampleTime - * @owner Observable - */ -export function sampleTime(period, scheduler = async) { - return higherOrder(period, scheduler)(this); -} -//# sourceMappingURL=sampleTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/sampleTime.js.map b/node_modules/rxjs/_esm2015/operator/sampleTime.js.map deleted file mode 100644 index b39d922a..00000000 --- a/node_modules/rxjs/_esm2015/operator/sampleTime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sampleTime.js","sourceRoot":"","sources":["../../src/operator/sampleTime.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OACnC,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,yBAAyB;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,2BAAmD,MAAc,EAAE,SAAS,GAAe,KAAK;IAC9F,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,IAAI,CAAkB,CAAC;AAC/D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/scan.js b/node_modules/rxjs/_esm2015/operator/scan.js deleted file mode 100644 index 61c1027c..00000000 --- a/node_modules/rxjs/_esm2015/operator/scan.js +++ /dev/null @@ -1,46 +0,0 @@ -import { scan as higherOrderScan } from '../operators/scan'; -/* tslint:enable:max-line-length */ -/** - * Applies an accumulator function over the source Observable, and returns each - * intermediate result, with an optional seed value. - * - * It's like {@link reduce}, but emits the current - * accumulation whenever the source emits a value. - * - * - * - * Combines together all values emitted on the source, using an accumulator - * function that knows how to join a new source value into the accumulation from - * the past. Is similar to {@link reduce}, but emits the intermediate - * accumulations. - * - * Returns an Observable that applies a specified `accumulator` function to each - * item emitted by the source Observable. If a `seed` value is specified, then - * that value will be used as the initial value for the accumulator. If no seed - * value is specified, the first item of the source is used as the seed. - * - * @example Count the number of click events - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var ones = clicks.mapTo(1); - * var seed = 0; - * var count = ones.scan((acc, one) => acc + one, seed); - * count.subscribe(x => console.log(x)); - * - * @see {@link expand} - * @see {@link mergeScan} - * @see {@link reduce} - * - * @param {function(acc: R, value: T, index: number): R} accumulator - * The accumulator function called on each source value. - * @param {T|R} [seed] The initial accumulation value. - * @return {Observable} An observable of the accumulated values. - * @method scan - * @owner Observable - */ -export function scan(accumulator, seed) { - if (arguments.length >= 2) { - return higherOrderScan(accumulator, seed)(this); - } - return higherOrderScan(accumulator)(this); -} -//# sourceMappingURL=scan.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/scan.js.map b/node_modules/rxjs/_esm2015/operator/scan.js.map deleted file mode 100644 index 8b964f4e..00000000 --- a/node_modules/rxjs/_esm2015/operator/scan.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"scan.js","sourceRoot":"","sources":["../../src/operator/scan.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,IAAI,eAAe,EAAE,MAAM,mBAAmB;AAM3D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,qBAAgD,WAAmD,EAAE,IAAY;IAC/G,EAAE,CAAC,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC;QAC1B,MAAM,CAAC,eAAe,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC,IAAI,CAAkB,CAAC;IACnE,CAAC;IACD,MAAM,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC;AAC5C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/sequenceEqual.js b/node_modules/rxjs/_esm2015/operator/sequenceEqual.js deleted file mode 100644 index 0382adec..00000000 --- a/node_modules/rxjs/_esm2015/operator/sequenceEqual.js +++ /dev/null @@ -1,57 +0,0 @@ -import { sequenceEqual as higherOrder } from '../operators/sequenceEqual'; -/** - * Compares all values of two observables in sequence using an optional comparor function - * and returns an observable of a single boolean value representing whether or not the two sequences - * are equal. - * - * Checks to see of all values emitted by both observables are equal, in order. - * - * - * - * `sequenceEqual` subscribes to two observables and buffers incoming values from each observable. Whenever either - * observable emits a value, the value is buffered and the buffers are shifted and compared from the bottom - * up; If any value pair doesn't match, the returned observable will emit `false` and complete. If one of the - * observables completes, the operator will wait for the other observable to complete; If the other - * observable emits before completing, the returned observable will emit `false` and complete. If one observable never - * completes or emits after the other complets, the returned observable will never complete. - * - * @example figure out if the Konami code matches - * var code = Rx.Observable.from([ - * "ArrowUp", - * "ArrowUp", - * "ArrowDown", - * "ArrowDown", - * "ArrowLeft", - * "ArrowRight", - * "ArrowLeft", - * "ArrowRight", - * "KeyB", - * "KeyA", - * "Enter" // no start key, clearly. - * ]); - * - * var keys = Rx.Observable.fromEvent(document, 'keyup') - * .map(e => e.code); - * var matches = keys.bufferCount(11, 1) - * .mergeMap( - * last11 => - * Rx.Observable.from(last11) - * .sequenceEqual(code) - * ); - * matches.subscribe(matched => console.log('Successful cheat at Contra? ', matched)); - * - * @see {@link combineLatest} - * @see {@link zip} - * @see {@link withLatestFrom} - * - * @param {Observable} compareTo The observable sequence to compare the source sequence to. - * @param {function} [comparor] An optional function to compare each value pair - * @return {Observable} An Observable of a single boolean value representing whether or not - * the values emitted by both observables were equal in sequence. - * @method sequenceEqual - * @owner Observable - */ -export function sequenceEqual(compareTo, comparor) { - return higherOrder(compareTo, comparor)(this); -} -//# sourceMappingURL=sequenceEqual.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/sequenceEqual.js.map b/node_modules/rxjs/_esm2015/operator/sequenceEqual.js.map deleted file mode 100644 index ab2b05f1..00000000 --- a/node_modules/rxjs/_esm2015/operator/sequenceEqual.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sequenceEqual.js","sourceRoot":"","sources":["../../src/operator/sequenceEqual.ts"],"names":[],"mappings":"OACO,EAAE,aAAa,IAAI,WAAW,EAAE,MAAM,4BAA4B;AAEzE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,8BAAsD,SAAwB,EAC7C,QAAkC;IACjE,MAAM,CAAC,WAAW,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/share.js b/node_modules/rxjs/_esm2015/operator/share.js deleted file mode 100644 index 4d613053..00000000 --- a/node_modules/rxjs/_esm2015/operator/share.js +++ /dev/null @@ -1,22 +0,0 @@ -import { share as higherOrder } from '../operators/share'; -/** - * Returns a new Observable that multicasts (shares) the original Observable. As long as there is at least one - * Subscriber this Observable will be subscribed and emitting data. When all subscribers have unsubscribed it will - * unsubscribe from the source Observable. Because the Observable is multicasting it makes the stream `hot`. - * - * This behaves similarly to .publish().refCount(), with a behavior difference when the source observable emits complete. - * .publish().refCount() will not resubscribe to the original source, however .share() will resubscribe to the original source. - * Observable.of("test").publish().refCount() will not re-emit "test" on new subscriptions, Observable.of("test").share() will - * re-emit "test" to new subscriptions. - * - * - * - * @return {Observable} An Observable that upon connection causes the source Observable to emit items to its Observers. - * @method share - * @owner Observable - */ -export function share() { - return higherOrder()(this); -} -; -//# sourceMappingURL=share.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/share.js.map b/node_modules/rxjs/_esm2015/operator/share.js.map deleted file mode 100644 index 2ad3b80b..00000000 --- a/node_modules/rxjs/_esm2015/operator/share.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"share.js","sourceRoot":"","sources":["../../src/operator/share.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,oBAAoB;AAEzD;;;;;;;;;;;;;;;GAeG;AACH;IACE,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,CAAkB,CAAC;AAC9C,CAAC;AAAA,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/shareReplay.js b/node_modules/rxjs/_esm2015/operator/shareReplay.js deleted file mode 100644 index 4802820e..00000000 --- a/node_modules/rxjs/_esm2015/operator/shareReplay.js +++ /dev/null @@ -1,10 +0,0 @@ -import { shareReplay as higherOrder } from '../operators/shareReplay'; -/** - * @method shareReplay - * @owner Observable - */ -export function shareReplay(bufferSize, windowTime, scheduler) { - return higherOrder(bufferSize, windowTime, scheduler)(this); -} -; -//# sourceMappingURL=shareReplay.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/shareReplay.js.map b/node_modules/rxjs/_esm2015/operator/shareReplay.js.map deleted file mode 100644 index 1b12e061..00000000 --- a/node_modules/rxjs/_esm2015/operator/shareReplay.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"shareReplay.js","sourceRoot":"","sources":["../../src/operator/shareReplay.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,0BAA0B;AAErE;;;GAGG;AACH,4BAAoD,UAAmB,EAAE,UAAmB,EAAE,SAAsB;IAElH,MAAM,CAAC,WAAW,CAAC,UAAU,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC,IAAI,CAAkB,CAAC;AAC/E,CAAC;AAAA,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/single.js b/node_modules/rxjs/_esm2015/operator/single.js deleted file mode 100644 index fb005578..00000000 --- a/node_modules/rxjs/_esm2015/operator/single.js +++ /dev/null @@ -1,21 +0,0 @@ -import { single as higherOrder } from '../operators/single'; -/** - * Returns an Observable that emits the single item emitted by the source Observable that matches a specified - * predicate, if that Observable emits one such item. If the source Observable emits more than one such item or no - * such items, notify of an IllegalArgumentException or NoSuchElementException respectively. - * - * - * - * @throws {EmptyError} Delivers an EmptyError to the Observer's `error` - * callback if the Observable completes before any `next` notification was sent. - * @param {Function} predicate - A predicate function to evaluate items emitted by the source Observable. - * @return {Observable} An Observable that emits the single item emitted by the source Observable that matches - * the predicate. - . - * @method single - * @owner Observable - */ -export function single(predicate) { - return higherOrder(predicate)(this); -} -//# sourceMappingURL=single.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/single.js.map b/node_modules/rxjs/_esm2015/operator/single.js.map deleted file mode 100644 index 2a63ee04..00000000 --- a/node_modules/rxjs/_esm2015/operator/single.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"single.js","sourceRoot":"","sources":["../../src/operator/single.ts"],"names":[],"mappings":"OACO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,qBAAqB;AAE3D;;;;;;;;;;;;;;;GAeG;AACH,uBAA+C,SAAuE;IACpH,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;AACtC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/skip.js b/node_modules/rxjs/_esm2015/operator/skip.js deleted file mode 100644 index 7d57d54c..00000000 --- a/node_modules/rxjs/_esm2015/operator/skip.js +++ /dev/null @@ -1,16 +0,0 @@ -import { skip as higherOrder } from '../operators/skip'; -/** - * Returns an Observable that skips the first `count` items emitted by the source Observable. - * - * - * - * @param {Number} count - The number of times, items emitted by source Observable should be skipped. - * @return {Observable} An Observable that skips values emitted by the source Observable. - * - * @method skip - * @owner Observable - */ -export function skip(count) { - return higherOrder(count)(this); -} -//# sourceMappingURL=skip.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/skip.js.map b/node_modules/rxjs/_esm2015/operator/skip.js.map deleted file mode 100644 index 2ec7e832..00000000 --- a/node_modules/rxjs/_esm2015/operator/skip.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"skip.js","sourceRoot":"","sources":["../../src/operator/skip.ts"],"names":[],"mappings":"OACO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,mBAAmB;AAEvD;;;;;;;;;;GAUG;AACH,qBAA6C,KAAa;IACxD,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,IAAI,CAAkB,CAAC;AACnD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/skipLast.js b/node_modules/rxjs/_esm2015/operator/skipLast.js deleted file mode 100644 index 8ee8c718..00000000 --- a/node_modules/rxjs/_esm2015/operator/skipLast.js +++ /dev/null @@ -1,37 +0,0 @@ -import { skipLast as higherOrder } from '../operators/skipLast'; -/** - * Skip the last `count` values emitted by the source Observable. - * - * - * - * `skipLast` returns an Observable that accumulates a queue with a length - * enough to store the first `count` values. As more values are received, - * values are taken from the front of the queue and produced on the result - * sequence. This causes values to be delayed. - * - * @example Skip the last 2 values of an Observable with many values - * var many = Rx.Observable.range(1, 5); - * var skipLastTwo = many.skipLast(2); - * skipLastTwo.subscribe(x => console.log(x)); - * - * // Results in: - * // 1 2 3 - * - * @see {@link skip} - * @see {@link skipUntil} - * @see {@link skipWhile} - * @see {@link take} - * - * @throws {ArgumentOutOfRangeError} When using `skipLast(i)`, it throws - * ArgumentOutOrRangeError if `i < 0`. - * - * @param {number} count Number of elements to skip from the end of the source Observable. - * @returns {Observable} An Observable that skips the last count values - * emitted by the source Observable. - * @method skipLast - * @owner Observable - */ -export function skipLast(count) { - return higherOrder(count)(this); -} -//# sourceMappingURL=skipLast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/skipLast.js.map b/node_modules/rxjs/_esm2015/operator/skipLast.js.map deleted file mode 100644 index 1da25f8d..00000000 --- a/node_modules/rxjs/_esm2015/operator/skipLast.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"skipLast.js","sourceRoot":"","sources":["../../src/operator/skipLast.ts"],"names":[],"mappings":"OACO,EAAE,QAAQ,IAAI,WAAW,EAAE,MAAM,uBAAuB;AAE/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,yBAAiD,KAAa;IAC5D,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,IAAI,CAAkB,CAAC;AACnD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/skipUntil.js b/node_modules/rxjs/_esm2015/operator/skipUntil.js deleted file mode 100644 index bae28171..00000000 --- a/node_modules/rxjs/_esm2015/operator/skipUntil.js +++ /dev/null @@ -1,17 +0,0 @@ -import { skipUntil as higherOrder } from '../operators/skipUntil'; -/** - * Returns an Observable that skips items emitted by the source Observable until a second Observable emits an item. - * - * - * - * @param {Observable} notifier - The second Observable that has to emit an item before the source Observable's elements begin to - * be mirrored by the resulting Observable. - * @return {Observable} An Observable that skips items from the source Observable until the second Observable emits - * an item, then emits the remaining items. - * @method skipUntil - * @owner Observable - */ -export function skipUntil(notifier) { - return higherOrder(notifier)(this); -} -//# sourceMappingURL=skipUntil.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/skipUntil.js.map b/node_modules/rxjs/_esm2015/operator/skipUntil.js.map deleted file mode 100644 index c33e186f..00000000 --- a/node_modules/rxjs/_esm2015/operator/skipUntil.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"skipUntil.js","sourceRoot":"","sources":["../../src/operator/skipUntil.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;;;;;;;GAWG;AACH,0BAAkD,QAAyB;IACzE,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAkB,CAAC;AACtD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/skipWhile.js b/node_modules/rxjs/_esm2015/operator/skipWhile.js deleted file mode 100644 index a0f962d1..00000000 --- a/node_modules/rxjs/_esm2015/operator/skipWhile.js +++ /dev/null @@ -1,17 +0,0 @@ -import { skipWhile as higherOrder } from '../operators/skipWhile'; -/** - * Returns an Observable that skips all items emitted by the source Observable as long as a specified condition holds - * true, but emits all further source items as soon as the condition becomes false. - * - * - * - * @param {Function} predicate - A function to test each item emitted from the source Observable. - * @return {Observable} An Observable that begins emitting items emitted by the source Observable when the - * specified predicate becomes false. - * @method skipWhile - * @owner Observable - */ -export function skipWhile(predicate) { - return higherOrder(predicate)(this); -} -//# sourceMappingURL=skipWhile.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/skipWhile.js.map b/node_modules/rxjs/_esm2015/operator/skipWhile.js.map deleted file mode 100644 index 72698c9f..00000000 --- a/node_modules/rxjs/_esm2015/operator/skipWhile.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"skipWhile.js","sourceRoot":"","sources":["../../src/operator/skipWhile.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;;;;;;;GAWG;AACH,0BAAkD,SAA+C;IAC/F,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;AACtC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/startWith.js b/node_modules/rxjs/_esm2015/operator/startWith.js deleted file mode 100644 index c00656c5..00000000 --- a/node_modules/rxjs/_esm2015/operator/startWith.js +++ /dev/null @@ -1,20 +0,0 @@ -import { startWith as higherOrder } from '../operators/startWith'; -/* tslint:enable:max-line-length */ -/** - * Returns an Observable that emits the items you specify as arguments before it begins to emit - * items emitted by the source Observable. - * - * - * - * @param {...T} values - Items you want the modified Observable to emit first. - * @param {Scheduler} [scheduler] - A {@link IScheduler} to use for scheduling - * the emissions of the `next` notifications. - * @return {Observable} An Observable that emits the items in the specified Iterable and then emits the items - * emitted by the source Observable. - * @method startWith - * @owner Observable - */ -export function startWith(...array) { - return higherOrder(...array)(this); -} -//# sourceMappingURL=startWith.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/startWith.js.map b/node_modules/rxjs/_esm2015/operator/startWith.js.map deleted file mode 100644 index dcae40e6..00000000 --- a/node_modules/rxjs/_esm2015/operator/startWith.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"startWith.js","sourceRoot":"","sources":["../../src/operator/startWith.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAUjE,mCAAmC;AAEnC;;;;;;;;;;;;;GAaG;AACH,0BAAkD,GAAG,KAA4B;IAC/E,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC;AACrC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/subscribeOn.js b/node_modules/rxjs/_esm2015/operator/subscribeOn.js deleted file mode 100644 index e54785b3..00000000 --- a/node_modules/rxjs/_esm2015/operator/subscribeOn.js +++ /dev/null @@ -1,16 +0,0 @@ -import { subscribeOn as higherOrder } from '../operators/subscribeOn'; -/** - * Asynchronously subscribes Observers to this Observable on the specified IScheduler. - * - * - * - * @param {Scheduler} scheduler - The IScheduler to perform subscription actions on. - * @return {Observable} The source Observable modified so that its subscriptions happen on the specified IScheduler. - . - * @method subscribeOn - * @owner Observable - */ -export function subscribeOn(scheduler, delay = 0) { - return higherOrder(scheduler, delay)(this); -} -//# sourceMappingURL=subscribeOn.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/subscribeOn.js.map b/node_modules/rxjs/_esm2015/operator/subscribeOn.js.map deleted file mode 100644 index 02463b5d..00000000 --- a/node_modules/rxjs/_esm2015/operator/subscribeOn.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"subscribeOn.js","sourceRoot":"","sources":["../../src/operator/subscribeOn.ts"],"names":[],"mappings":"OAGO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,0BAA0B;AAErE;;;;;;;;;;GAUG;AACH,4BAAoD,SAAqB,EAAE,KAAK,GAAW,CAAC;IAC1F,MAAM,CAAC,WAAW,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC,IAAI,CAAkB,CAAC;AAC9D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/switch.js b/node_modules/rxjs/_esm2015/operator/switch.js deleted file mode 100644 index bc78aa18..00000000 --- a/node_modules/rxjs/_esm2015/operator/switch.js +++ /dev/null @@ -1,47 +0,0 @@ -import { switchAll as higherOrder } from '../operators/switchAll'; -/** - * Converts a higher-order Observable into a first-order Observable by - * subscribing to only the most recently emitted of those inner Observables. - * - * Flattens an Observable-of-Observables by dropping the - * previous inner Observable once a new one appears. - * - * - * - * `switch` subscribes to an Observable that emits Observables, also known as a - * higher-order Observable. Each time it observes one of these emitted inner - * Observables, the output Observable subscribes to the inner Observable and - * begins emitting the items emitted by that. So far, it behaves - * like {@link mergeAll}. However, when a new inner Observable is emitted, - * `switch` unsubscribes from the earlier-emitted inner Observable and - * subscribes to the new inner Observable and begins emitting items from it. It - * continues to behave like this for subsequent inner Observables. - * - * @example Rerun an interval Observable on every click event - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * // Each click event is mapped to an Observable that ticks every second - * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000)); - * var switched = higherOrder.switch(); - * // The outcome is that `switched` is essentially a timer that restarts - * // on every click. The interval Observables from older clicks do not merge - * // with the current interval Observable. - * switched.subscribe(x => console.log(x)); - * - * @see {@link combineAll} - * @see {@link concatAll} - * @see {@link exhaust} - * @see {@link mergeAll} - * @see {@link switchMap} - * @see {@link switchMapTo} - * @see {@link zipAll} - * - * @return {Observable} An Observable that emits the items emitted by the - * Observable most recently emitted by the source Observable. - * @method switch - * @name switch - * @owner Observable - */ -export function _switch() { - return higherOrder()(this); -} -//# sourceMappingURL=switch.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/switch.js.map b/node_modules/rxjs/_esm2015/operator/switch.js.map deleted file mode 100644 index 3e9a6a83..00000000 --- a/node_modules/rxjs/_esm2015/operator/switch.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"switch.js","sourceRoot":"","sources":["../../src/operator/switch.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH;IACE,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,CAAkB,CAAC;AAC9C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/switchMap.js b/node_modules/rxjs/_esm2015/operator/switchMap.js deleted file mode 100644 index b01f240d..00000000 --- a/node_modules/rxjs/_esm2015/operator/switchMap.js +++ /dev/null @@ -1,53 +0,0 @@ -import { switchMap as higherOrderSwitchMap } from '../operators/switchMap'; -/* tslint:enable:max-line-length */ -/** - * Projects each source value to an Observable which is merged in the output - * Observable, emitting values only from the most recently projected Observable. - * - * Maps each value to an Observable, then flattens all of - * these inner Observables using {@link switch}. - * - * - * - * Returns an Observable that emits items based on applying a function that you - * supply to each item emitted by the source Observable, where that function - * returns an (so-called "inner") Observable. Each time it observes one of these - * inner Observables, the output Observable begins emitting the items emitted by - * that inner Observable. When a new inner Observable is emitted, `switchMap` - * stops emitting items from the earlier-emitted inner Observable and begins - * emitting items from the new one. It continues to behave like this for - * subsequent inner Observables. - * - * @example Rerun an interval Observable on every click event - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.switchMap((ev) => Rx.Observable.interval(1000)); - * result.subscribe(x => console.log(x)); - * - * @see {@link concatMap} - * @see {@link exhaustMap} - * @see {@link mergeMap} - * @see {@link switch} - * @see {@link switchMapTo} - * - * @param {function(value: T, ?index: number): ObservableInput} project A function - * that, when applied to an item emitted by the source Observable, returns an - * Observable. - * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] - * A function to produce the value on the output Observable based on the values - * and the indices of the source (outer) emission and the inner Observable - * emission. The arguments passed to this function are: - * - `outerValue`: the value that came from the source - * - `innerValue`: the value that came from the projected Observable - * - `outerIndex`: the "index" of the value that came from the source - * - `innerIndex`: the "index" of the value from the projected Observable - * @return {Observable} An Observable that emits the result of applying the - * projection function (and the optional `resultSelector`) to each item emitted - * by the source Observable and taking only the values from the most recently - * projected inner Observable. - * @method switchMap - * @owner Observable - */ -export function switchMap(project, resultSelector) { - return higherOrderSwitchMap(project, resultSelector)(this); -} -//# sourceMappingURL=switchMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/switchMap.js.map b/node_modules/rxjs/_esm2015/operator/switchMap.js.map deleted file mode 100644 index 44999cd1..00000000 --- a/node_modules/rxjs/_esm2015/operator/switchMap.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"switchMap.js","sourceRoot":"","sources":["../../src/operator/switchMap.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,IAAI,oBAAoB,EAAE,MAAM,wBAAwB;AAK1E,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,0BAAwD,OAAwD,EAC7E,cAA4F;IAC7H,MAAM,CAAC,oBAAoB,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,IAAI,CAAC,CAAC;AAC7D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/switchMapTo.js b/node_modules/rxjs/_esm2015/operator/switchMapTo.js deleted file mode 100644 index 7c2ca013..00000000 --- a/node_modules/rxjs/_esm2015/operator/switchMapTo.js +++ /dev/null @@ -1,48 +0,0 @@ -import { switchMapTo as higherOrder } from '../operators/switchMapTo'; -/* tslint:enable:max-line-length */ -/** - * Projects each source value to the same Observable which is flattened multiple - * times with {@link switch} in the output Observable. - * - * It's like {@link switchMap}, but maps each value - * always to the same inner Observable. - * - * - * - * Maps each source value to the given Observable `innerObservable` regardless - * of the source value, and then flattens those resulting Observables into one - * single Observable, which is the output Observable. The output Observables - * emits values only from the most recently emitted instance of - * `innerObservable`. - * - * @example Rerun an interval Observable on every click event - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.switchMapTo(Rx.Observable.interval(1000)); - * result.subscribe(x => console.log(x)); - * - * @see {@link concatMapTo} - * @see {@link switch} - * @see {@link switchMap} - * @see {@link mergeMapTo} - * - * @param {ObservableInput} innerObservable An Observable to replace each value from - * the source Observable. - * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] - * A function to produce the value on the output Observable based on the values - * and the indices of the source (outer) emission and the inner Observable - * emission. The arguments passed to this function are: - * - `outerValue`: the value that came from the source - * - `innerValue`: the value that came from the projected Observable - * - `outerIndex`: the "index" of the value that came from the source - * - `innerIndex`: the "index" of the value from the projected Observable - * @return {Observable} An Observable that emits items from the given - * `innerObservable` (and optionally transformed through `resultSelector`) every - * time a value is emitted on the source Observable, and taking only the values - * from the most recently projected inner Observable. - * @method switchMapTo - * @owner Observable - */ -export function switchMapTo(innerObservable, resultSelector) { - return higherOrder(innerObservable, resultSelector)(this); -} -//# sourceMappingURL=switchMapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/switchMapTo.js.map b/node_modules/rxjs/_esm2015/operator/switchMapTo.js.map deleted file mode 100644 index 0ca61c30..00000000 --- a/node_modules/rxjs/_esm2015/operator/switchMapTo.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"switchMapTo.js","sourceRoot":"","sources":["../../src/operator/switchMapTo.ts"],"names":[],"mappings":"OACO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,0BAA0B;AAKrE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,4BAA0D,eAA8B,EACnD,cAG0C;IAC7E,MAAM,CAAC,WAAW,CAAC,eAAe,EAAE,cAAc,CAAC,CAAC,IAAI,CAAC,CAAC;AAC5D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/take.js b/node_modules/rxjs/_esm2015/operator/take.js deleted file mode 100644 index 89d7c7d6..00000000 --- a/node_modules/rxjs/_esm2015/operator/take.js +++ /dev/null @@ -1,38 +0,0 @@ -import { take as higherOrder } from '../operators/take'; -/** - * Emits only the first `count` values emitted by the source Observable. - * - * Takes the first `count` values from the source, then - * completes. - * - * - * - * `take` returns an Observable that emits only the first `count` values emitted - * by the source Observable. If the source emits fewer than `count` values then - * all of its values are emitted. After that, it completes, regardless if the - * source completes. - * - * @example Take the first 5 seconds of an infinite 1-second interval Observable - * var interval = Rx.Observable.interval(1000); - * var five = interval.take(5); - * five.subscribe(x => console.log(x)); - * - * @see {@link takeLast} - * @see {@link takeUntil} - * @see {@link takeWhile} - * @see {@link skip} - * - * @throws {ArgumentOutOfRangeError} When using `take(i)`, it delivers an - * ArgumentOutOrRangeError to the Observer's `error` callback if `i < 0`. - * - * @param {number} count The maximum number of `next` values to emit. - * @return {Observable} An Observable that emits only the first `count` - * values emitted by the source Observable, or all of the values from the source - * if the source emits fewer than `count` values. - * @method take - * @owner Observable - */ -export function take(count) { - return higherOrder(count)(this); -} -//# sourceMappingURL=take.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/take.js.map b/node_modules/rxjs/_esm2015/operator/take.js.map deleted file mode 100644 index c9fdda7f..00000000 --- a/node_modules/rxjs/_esm2015/operator/take.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"take.js","sourceRoot":"","sources":["../../src/operator/take.ts"],"names":[],"mappings":"OACO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,mBAAmB;AAEvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAA6C,KAAa;IACxD,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,IAAI,CAAkB,CAAC;AACnD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/takeLast.js b/node_modules/rxjs/_esm2015/operator/takeLast.js deleted file mode 100644 index fa059619..00000000 --- a/node_modules/rxjs/_esm2015/operator/takeLast.js +++ /dev/null @@ -1,41 +0,0 @@ -import { takeLast as higherOrderTakeLast } from '../operators/takeLast'; -/** - * Emits only the last `count` values emitted by the source Observable. - * - * Remembers the latest `count` values, then emits those - * only when the source completes. - * - * - * - * `takeLast` returns an Observable that emits at most the last `count` values - * emitted by the source Observable. If the source emits fewer than `count` - * values then all of its values are emitted. This operator must wait until the - * `complete` notification emission from the source in order to emit the `next` - * values on the output Observable, because otherwise it is impossible to know - * whether or not more values will be emitted on the source. For this reason, - * all values are emitted synchronously, followed by the complete notification. - * - * @example Take the last 3 values of an Observable with many values - * var many = Rx.Observable.range(1, 100); - * var lastThree = many.takeLast(3); - * lastThree.subscribe(x => console.log(x)); - * - * @see {@link take} - * @see {@link takeUntil} - * @see {@link takeWhile} - * @see {@link skip} - * - * @throws {ArgumentOutOfRangeError} When using `takeLast(i)`, it delivers an - * ArgumentOutOrRangeError to the Observer's `error` callback if `i < 0`. - * - * @param {number} count The maximum number of values to emit from the end of - * the sequence of values emitted by the source Observable. - * @return {Observable} An Observable that emits at most the last count - * values emitted by the source Observable. - * @method takeLast - * @owner Observable - */ -export function takeLast(count) { - return higherOrderTakeLast(count)(this); -} -//# sourceMappingURL=takeLast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/takeLast.js.map b/node_modules/rxjs/_esm2015/operator/takeLast.js.map deleted file mode 100644 index 68763fdc..00000000 --- a/node_modules/rxjs/_esm2015/operator/takeLast.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"takeLast.js","sourceRoot":"","sources":["../../src/operator/takeLast.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,IAAI,mBAAmB,EAAE,MAAM,uBAAuB;AAEvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,yBAAiD,KAAa;IAC5D,MAAM,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC,IAAI,CAAkB,CAAC;AAC3D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/takeUntil.js b/node_modules/rxjs/_esm2015/operator/takeUntil.js deleted file mode 100644 index 6acaa40e..00000000 --- a/node_modules/rxjs/_esm2015/operator/takeUntil.js +++ /dev/null @@ -1,38 +0,0 @@ -import { takeUntil as higherOrder } from '../operators/takeUntil'; -/** - * Emits the values emitted by the source Observable until a `notifier` - * Observable emits a value. - * - * Lets values pass until a second Observable, - * `notifier`, emits something. Then, it completes. - * - * - * - * `takeUntil` subscribes and begins mirroring the source Observable. It also - * monitors a second Observable, `notifier` that you provide. If the `notifier` - * emits a value, the output Observable stops mirroring the source Observable - * and completes. - * - * @example Tick every second until the first click happens - * var interval = Rx.Observable.interval(1000); - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = interval.takeUntil(clicks); - * result.subscribe(x => console.log(x)); - * - * @see {@link take} - * @see {@link takeLast} - * @see {@link takeWhile} - * @see {@link skip} - * - * @param {Observable} notifier The Observable whose first emitted value will - * cause the output Observable of `takeUntil` to stop emitting values from the - * source Observable. - * @return {Observable} An Observable that emits the values from the source - * Observable until such time as `notifier` emits its first value. - * @method takeUntil - * @owner Observable - */ -export function takeUntil(notifier) { - return higherOrder(notifier)(this); -} -//# sourceMappingURL=takeUntil.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/takeUntil.js.map b/node_modules/rxjs/_esm2015/operator/takeUntil.js.map deleted file mode 100644 index c5c1087c..00000000 --- a/node_modules/rxjs/_esm2015/operator/takeUntil.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"takeUntil.js","sourceRoot":"","sources":["../../src/operator/takeUntil.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,0BAAkD,QAAyB;IACzE,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAkB,CAAC;AACtD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/takeWhile.js b/node_modules/rxjs/_esm2015/operator/takeWhile.js deleted file mode 100644 index 9d6bcb3c..00000000 --- a/node_modules/rxjs/_esm2015/operator/takeWhile.js +++ /dev/null @@ -1,41 +0,0 @@ -import { takeWhile as higherOrder } from '../operators/takeWhile'; -/** - * Emits values emitted by the source Observable so long as each value satisfies - * the given `predicate`, and then completes as soon as this `predicate` is not - * satisfied. - * - * Takes values from the source only while they pass the - * condition given. When the first value does not satisfy, it completes. - * - * - * - * `takeWhile` subscribes and begins mirroring the source Observable. Each value - * emitted on the source is given to the `predicate` function which returns a - * boolean, representing a condition to be satisfied by the source values. The - * output Observable emits the source values until such time as the `predicate` - * returns false, at which point `takeWhile` stops mirroring the source - * Observable and completes the output Observable. - * - * @example Emit click events only while the clientX property is greater than 200 - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.takeWhile(ev => ev.clientX > 200); - * result.subscribe(x => console.log(x)); - * - * @see {@link take} - * @see {@link takeLast} - * @see {@link takeUntil} - * @see {@link skip} - * - * @param {function(value: T, index: number): boolean} predicate A function that - * evaluates a value emitted by the source Observable and returns a boolean. - * Also takes the (zero-based) index as the second argument. - * @return {Observable} An Observable that emits the values from the source - * Observable so long as each value satisfies the condition defined by the - * `predicate`, then completes. - * @method takeWhile - * @owner Observable - */ -export function takeWhile(predicate) { - return higherOrder(predicate)(this); -} -//# sourceMappingURL=takeWhile.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/takeWhile.js.map b/node_modules/rxjs/_esm2015/operator/takeWhile.js.map deleted file mode 100644 index c24d891d..00000000 --- a/node_modules/rxjs/_esm2015/operator/takeWhile.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"takeWhile.js","sourceRoot":"","sources":["../../src/operator/takeWhile.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,0BAAkD,SAA+C;IAC/F,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;AACtC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/throttle.js b/node_modules/rxjs/_esm2015/operator/throttle.js deleted file mode 100644 index 1244f94d..00000000 --- a/node_modules/rxjs/_esm2015/operator/throttle.js +++ /dev/null @@ -1,45 +0,0 @@ -import { throttle as higherOrder, defaultThrottleConfig } from '../operators/throttle'; -/** - * Emits a value from the source Observable, then ignores subsequent source - * values for a duration determined by another Observable, then repeats this - * process. - * - * It's like {@link throttleTime}, but the silencing - * duration is determined by a second Observable. - * - * - * - * `throttle` emits the source Observable values on the output Observable - * when its internal timer is disabled, and ignores source values when the timer - * is enabled. Initially, the timer is disabled. As soon as the first source - * value arrives, it is forwarded to the output Observable, and then the timer - * is enabled by calling the `durationSelector` function with the source value, - * which returns the "duration" Observable. When the duration Observable emits a - * value or completes, the timer is disabled, and this process repeats for the - * next source value. - * - * @example Emit clicks at a rate of at most one click per second - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.throttle(ev => Rx.Observable.interval(1000)); - * result.subscribe(x => console.log(x)); - * - * @see {@link audit} - * @see {@link debounce} - * @see {@link delayWhen} - * @see {@link sample} - * @see {@link throttleTime} - * - * @param {function(value: T): SubscribableOrPromise} durationSelector A function - * that receives a value from the source Observable, for computing the silencing - * duration for each source value, returned as an Observable or a Promise. - * @param {Object} config a configuration object to define `leading` and `trailing` behavior. Defaults - * to `{ leading: true, trailing: false }`. - * @return {Observable} An Observable that performs the throttle operation to - * limit the rate of emissions from the source. - * @method throttle - * @owner Observable - */ -export function throttle(durationSelector, config = defaultThrottleConfig) { - return higherOrder(durationSelector, config)(this); -} -//# sourceMappingURL=throttle.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/throttle.js.map b/node_modules/rxjs/_esm2015/operator/throttle.js.map deleted file mode 100644 index dafc1df3..00000000 --- a/node_modules/rxjs/_esm2015/operator/throttle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"throttle.js","sourceRoot":"","sources":["../../src/operator/throttle.ts"],"names":[],"mappings":"OACO,EAAE,QAAQ,IAAI,WAAW,EAAkB,qBAAqB,EAAE,MAAM,uBAAuB;AAEtG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,yBAC4B,gBAA6D,EAC7D,MAAM,GAAmB,qBAAqB;IACxE,MAAM,CAAC,WAAW,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;AACrD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/throttleTime.js b/node_modules/rxjs/_esm2015/operator/throttleTime.js deleted file mode 100644 index bbad2cb9..00000000 --- a/node_modules/rxjs/_esm2015/operator/throttleTime.js +++ /dev/null @@ -1,46 +0,0 @@ -import { async } from '../scheduler/async'; -import { defaultThrottleConfig } from '../operators/throttle'; -import { throttleTime as higherOrder } from '../operators/throttleTime'; -/** - * Emits a value from the source Observable, then ignores subsequent source - * values for `duration` milliseconds, then repeats this process. - * - * Lets a value pass, then ignores source values for the - * next `duration` milliseconds. - * - * - * - * `throttleTime` emits the source Observable values on the output Observable - * when its internal timer is disabled, and ignores source values when the timer - * is enabled. Initially, the timer is disabled. As soon as the first source - * value arrives, it is forwarded to the output Observable, and then the timer - * is enabled. After `duration` milliseconds (or the time unit determined - * internally by the optional `scheduler`) has passed, the timer is disabled, - * and this process repeats for the next source value. Optionally takes a - * {@link IScheduler} for managing timers. - * - * @example Emit clicks at a rate of at most one click per second - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.throttleTime(1000); - * result.subscribe(x => console.log(x)); - * - * @see {@link auditTime} - * @see {@link debounceTime} - * @see {@link delay} - * @see {@link sampleTime} - * @see {@link throttle} - * - * @param {number} duration Time to wait before emitting another value after - * emitting the last value, measured in milliseconds or the time unit determined - * internally by the optional `scheduler`. - * @param {Scheduler} [scheduler=async] The {@link IScheduler} to use for - * managing the timers that handle the throttling. - * @return {Observable} An Observable that performs the throttle operation to - * limit the rate of emissions from the source. - * @method throttleTime - * @owner Observable - */ -export function throttleTime(duration, scheduler = async, config = defaultThrottleConfig) { - return higherOrder(duration, scheduler, config)(this); -} -//# sourceMappingURL=throttleTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/throttleTime.js.map b/node_modules/rxjs/_esm2015/operator/throttleTime.js.map deleted file mode 100644 index bcbfd96f..00000000 --- a/node_modules/rxjs/_esm2015/operator/throttleTime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"throttleTime.js","sourceRoot":"","sources":["../../src/operator/throttleTime.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OACnC,EAAkB,qBAAqB,EAAE,MAAM,uBAAuB;OACtE,EAAE,YAAY,IAAI,WAAW,EAAE,MAAM,2BAA2B;AAEvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,6BACgC,QAAgB,EAChB,SAAS,GAAe,KAAK,EAC7B,MAAM,GAAmB,qBAAqB;IAC5E,MAAM,CAAC,WAAW,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC,IAAI,CAAkB,CAAC;AACzE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/timeInterval.js b/node_modules/rxjs/_esm2015/operator/timeInterval.js deleted file mode 100644 index 499fe76a..00000000 --- a/node_modules/rxjs/_esm2015/operator/timeInterval.js +++ /dev/null @@ -1,13 +0,0 @@ -import { async } from '../scheduler/async'; -import { timeInterval as higherOrder, TimeInterval } from '../operators/timeInterval'; -export { TimeInterval }; -/** - * @param scheduler - * @return {Observable>|WebSocketSubject|Observable} - * @method timeInterval - * @owner Observable - */ -export function timeInterval(scheduler = async) { - return higherOrder(scheduler)(this); -} -//# sourceMappingURL=timeInterval.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/timeInterval.js.map b/node_modules/rxjs/_esm2015/operator/timeInterval.js.map deleted file mode 100644 index 05842d76..00000000 --- a/node_modules/rxjs/_esm2015/operator/timeInterval.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"timeInterval.js","sourceRoot":"","sources":["../../src/operator/timeInterval.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OACnC,EAAE,YAAY,IAAI,WAAW,EAAE,YAAY,EAAE,MAAM,2BAA2B;AACrF,SAAQ,YAAY,GAAE;AAEtB;;;;;GAKG;AACH,6BAAqD,SAAS,GAAe,KAAK;IAChF,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,IAAI,CAAgC,CAAC;AACrE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/timeout.js b/node_modules/rxjs/_esm2015/operator/timeout.js deleted file mode 100644 index 41781f33..00000000 --- a/node_modules/rxjs/_esm2015/operator/timeout.js +++ /dev/null @@ -1,71 +0,0 @@ -import { async } from '../scheduler/async'; -import { timeout as higherOrder } from '../operators/timeout'; -/** - * - * Errors if Observable does not emit a value in given time span. - * - * Timeouts on Observable that doesn't emit values fast enough. - * - * - * - * `timeout` operator accepts as an argument either a number or a Date. - * - * If number was provided, it returns an Observable that behaves like a source - * Observable, unless there is a period of time where there is no value emitted. - * So if you provide `100` as argument and first value comes after 50ms from - * the moment of subscription, this value will be simply re-emitted by the resulting - * Observable. If however after that 100ms passes without a second value being emitted, - * stream will end with an error and source Observable will be unsubscribed. - * These checks are performed throughout whole lifecycle of Observable - from the moment - * it was subscribed to, until it completes or errors itself. Thus every value must be - * emitted within specified period since previous value. - * - * If provided argument was Date, returned Observable behaves differently. It throws - * if Observable did not complete before provided Date. This means that periods between - * emission of particular values do not matter in this case. If Observable did not complete - * before provided Date, source Observable will be unsubscribed. Other than that, resulting - * stream behaves just as source Observable. - * - * `timeout` accepts also a Scheduler as a second parameter. It is used to schedule moment (or moments) - * when returned Observable will check if source stream emitted value or completed. - * - * @example Check if ticks are emitted within certain timespan - * const seconds = Rx.Observable.interval(1000); - * - * seconds.timeout(1100) // Let's use bigger timespan to be safe, - * // since `interval` might fire a bit later then scheduled. - * .subscribe( - * value => console.log(value), // Will emit numbers just as regular `interval` would. - * err => console.log(err) // Will never be called. - * ); - * - * seconds.timeout(900).subscribe( - * value => console.log(value), // Will never be called. - * err => console.log(err) // Will emit error before even first value is emitted, - * // since it did not arrive within 900ms period. - * ); - * - * @example Use Date to check if Observable completed - * const seconds = Rx.Observable.interval(1000); - * - * seconds.timeout(new Date("December 17, 2020 03:24:00")) - * .subscribe( - * value => console.log(value), // Will emit values as regular `interval` would - * // until December 17, 2020 at 03:24:00. - * err => console.log(err) // On December 17, 2020 at 03:24:00 it will emit an error, - * // since Observable did not complete by then. - * ); - * - * @see {@link timeoutWith} - * - * @param {number|Date} due Number specifying period within which Observable must emit values - * or Date specifying before when Observable should complete - * @param {Scheduler} [scheduler] Scheduler controlling when timeout checks occur. - * @return {Observable} Observable that mirrors behaviour of source, unless timeout checks fail. - * @method timeout - * @owner Observable - */ -export function timeout(due, scheduler = async) { - return higherOrder(due, scheduler)(this); -} -//# sourceMappingURL=timeout.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/timeout.js.map b/node_modules/rxjs/_esm2015/operator/timeout.js.map deleted file mode 100644 index 33e3b1da..00000000 --- a/node_modules/rxjs/_esm2015/operator/timeout.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"timeout.js","sourceRoot":"","sources":["../../src/operator/timeout.ts"],"names":[],"mappings":"OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAGnC,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sBAAsB;AAE7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,wBAC2B,GAAkB,EAClB,SAAS,GAAe,KAAK;IACtD,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC,IAAI,CAAkB,CAAC;AAC5D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/timeoutWith.js b/node_modules/rxjs/_esm2015/operator/timeoutWith.js deleted file mode 100644 index 6fb8a322..00000000 --- a/node_modules/rxjs/_esm2015/operator/timeoutWith.js +++ /dev/null @@ -1,54 +0,0 @@ -import { async } from '../scheduler/async'; -import { timeoutWith as higherOrder } from '../operators/timeoutWith'; -/* tslint:enable:max-line-length */ -/** - * - * Errors if Observable does not emit a value in given time span, in case of which - * subscribes to the second Observable. - * - * It's a version of `timeout` operator that let's you specify fallback Observable. - * - * - * - * `timeoutWith` is a variation of `timeout` operator. It behaves exactly the same, - * still accepting as a first argument either a number or a Date, which control - respectively - - * when values of source Observable should be emitted or when it should complete. - * - * The only difference is that it accepts a second, required parameter. This parameter - * should be an Observable which will be subscribed when source Observable fails any timeout check. - * So whenever regular `timeout` would emit an error, `timeoutWith` will instead start re-emitting - * values from second Observable. Note that this fallback Observable is not checked for timeouts - * itself, so it can emit values and complete at arbitrary points in time. From the moment of a second - * subscription, Observable returned from `timeoutWith` simply mirrors fallback stream. When that - * stream completes, it completes as well. - * - * Scheduler, which in case of `timeout` is provided as as second argument, can be still provided - * here - as a third, optional parameter. It still is used to schedule timeout checks and - - * as a consequence - when second Observable will be subscribed, since subscription happens - * immediately after failing check. - * - * @example Add fallback observable - * const seconds = Rx.Observable.interval(1000); - * const minutes = Rx.Observable.interval(60 * 1000); - * - * seconds.timeoutWith(900, minutes) - * .subscribe( - * value => console.log(value), // After 900ms, will start emitting `minutes`, - * // since first value of `seconds` will not arrive fast enough. - * err => console.log(err) // Would be called after 900ms in case of `timeout`, - * // but here will never be called. - * ); - * - * @param {number|Date} due Number specifying period within which Observable must emit values - * or Date specifying before when Observable should complete - * @param {Observable} withObservable Observable which will be subscribed if source fails timeout check. - * @param {Scheduler} [scheduler] Scheduler controlling when timeout checks occur. - * @return {Observable} Observable that mirrors behaviour of source or, when timeout check fails, of an Observable - * passed as a second parameter. - * @method timeoutWith - * @owner Observable - */ -export function timeoutWith(due, withObservable, scheduler = async) { - return higherOrder(due, withObservable, scheduler)(this); -} -//# sourceMappingURL=timeoutWith.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/timeoutWith.js.map b/node_modules/rxjs/_esm2015/operator/timeoutWith.js.map deleted file mode 100644 index 7df90c92..00000000 --- a/node_modules/rxjs/_esm2015/operator/timeoutWith.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"timeoutWith.js","sourceRoot":"","sources":["../../src/operator/timeoutWith.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAEnC,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,0BAA0B;AAKrE,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,4BAAuD,GAAkB,EACvC,cAAkC,EAClC,SAAS,GAAe,KAAK;IAC7D,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,cAAc,EAAE,SAAS,CAAC,CAAC,IAAW,CAAC,CAAC;AAClE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/timestamp.js b/node_modules/rxjs/_esm2015/operator/timestamp.js deleted file mode 100644 index 328bbeeb..00000000 --- a/node_modules/rxjs/_esm2015/operator/timestamp.js +++ /dev/null @@ -1,12 +0,0 @@ -import { async } from '../scheduler/async'; -import { timestamp as higherOrder } from '../operators/timestamp'; -/** - * @param scheduler - * @return {Observable>|WebSocketSubject|Observable} - * @method timestamp - * @owner Observable - */ -export function timestamp(scheduler = async) { - return higherOrder(scheduler)(this); -} -//# sourceMappingURL=timestamp.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/timestamp.js.map b/node_modules/rxjs/_esm2015/operator/timestamp.js.map deleted file mode 100644 index adb29c32..00000000 --- a/node_modules/rxjs/_esm2015/operator/timestamp.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"timestamp.js","sourceRoot":"","sources":["../../src/operator/timestamp.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OACnC,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,wBAAwB;AAEjE;;;;;GAKG;AACH,0BAAkD,SAAS,GAAe,KAAK;IAC7E,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,IAAI,CAA6B,CAAC;AAClE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/toArray.js b/node_modules/rxjs/_esm2015/operator/toArray.js deleted file mode 100644 index 5c111a20..00000000 --- a/node_modules/rxjs/_esm2015/operator/toArray.js +++ /dev/null @@ -1,28 +0,0 @@ -import { toArray as higherOrder } from '../operators/toArray'; -/** - * Collects all source emissions and emits them as an array when the source completes. - * - * Get all values inside an array when the source completes - * - * - * - * `toArray` will wait until the source Observable completes - * before emitting the array containing all emissions. - * When the source Observable errors no array will be emitted. - * - * @example Create array from input - * const input = Rx.Observable.interval(100).take(4); - * - * input.toArray() - * .subscribe(arr => console.log(arr)); // [0,1,2,3] - * - * @see {@link buffer} - * - * @return {Observable|WebSocketSubject|Observable} - * @method toArray - * @owner Observable - */ -export function toArray() { - return higherOrder()(this); -} -//# sourceMappingURL=toArray.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/toArray.js.map b/node_modules/rxjs/_esm2015/operator/toArray.js.map deleted file mode 100644 index c501b6d9..00000000 --- a/node_modules/rxjs/_esm2015/operator/toArray.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"toArray.js","sourceRoot":"","sources":["../../src/operator/toArray.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sBAAsB;AAE7D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH;IACE,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,CAAoB,CAAC;AAChD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/toPromise.js b/node_modules/rxjs/_esm2015/operator/toPromise.js deleted file mode 100644 index e1eb75df..00000000 --- a/node_modules/rxjs/_esm2015/operator/toPromise.js +++ /dev/null @@ -1,5 +0,0 @@ -import { Observable } from '../Observable'; -// HACK: this is here for backward compatability -// TODO(benlesh): remove this in v6. -export const toPromise = Observable.prototype.toPromise; -//# sourceMappingURL=toPromise.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/toPromise.js.map b/node_modules/rxjs/_esm2015/operator/toPromise.js.map deleted file mode 100644 index 07182d1b..00000000 --- a/node_modules/rxjs/_esm2015/operator/toPromise.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"toPromise.js","sourceRoot":"","sources":["../../src/operator/toPromise.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,eAAe;AAE1C,gDAAgD;AAChD,oCAAoC;AACpC,OAAO,MAAM,SAAS,GAA0C,UAAU,CAAC,SAAS,CAAC,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/window.js b/node_modules/rxjs/_esm2015/operator/window.js deleted file mode 100644 index 7338f1fd..00000000 --- a/node_modules/rxjs/_esm2015/operator/window.js +++ /dev/null @@ -1,41 +0,0 @@ -import { window as higherOrder } from '../operators/window'; -/** - * Branch out the source Observable values as a nested Observable whenever - * `windowBoundaries` emits. - * - * It's like {@link buffer}, but emits a nested Observable - * instead of an array. - * - * - * - * Returns an Observable that emits windows of items it collects from the source - * Observable. The output Observable emits connected, non-overlapping - * windows. It emits the current window and opens a new one whenever the - * Observable `windowBoundaries` emits an item. Because each window is an - * Observable, the output is a higher-order Observable. - * - * @example In every window of 1 second each, emit at most 2 click events - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var interval = Rx.Observable.interval(1000); - * var result = clicks.window(interval) - * .map(win => win.take(2)) // each window has at most 2 emissions - * .mergeAll(); // flatten the Observable-of-Observables - * result.subscribe(x => console.log(x)); - * - * @see {@link windowCount} - * @see {@link windowTime} - * @see {@link windowToggle} - * @see {@link windowWhen} - * @see {@link buffer} - * - * @param {Observable} windowBoundaries An Observable that completes the - * previous window and starts a new window. - * @return {Observable>} An Observable of windows, which are - * Observables emitting values of the source Observable. - * @method window - * @owner Observable - */ -export function window(windowBoundaries) { - return higherOrder(windowBoundaries)(this); -} -//# sourceMappingURL=window.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/window.js.map b/node_modules/rxjs/_esm2015/operator/window.js.map deleted file mode 100644 index 887a435b..00000000 --- a/node_modules/rxjs/_esm2015/operator/window.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"window.js","sourceRoot":"","sources":["../../src/operator/window.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,qBAAqB;AAE3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,uBAA+C,gBAAiC;IAC9E,MAAM,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAA8B,CAAC;AAC1E,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/windowCount.js b/node_modules/rxjs/_esm2015/operator/windowCount.js deleted file mode 100644 index e2cce8f6..00000000 --- a/node_modules/rxjs/_esm2015/operator/windowCount.js +++ /dev/null @@ -1,53 +0,0 @@ -import { windowCount as higherOrder } from '../operators/windowCount'; -/** - * Branch out the source Observable values as a nested Observable with each - * nested Observable emitting at most `windowSize` values. - * - * It's like {@link bufferCount}, but emits a nested - * Observable instead of an array. - * - * - * - * Returns an Observable that emits windows of items it collects from the source - * Observable. The output Observable emits windows every `startWindowEvery` - * items, each containing no more than `windowSize` items. When the source - * Observable completes or encounters an error, the output Observable emits - * the current window and propagates the notification from the source - * Observable. If `startWindowEvery` is not provided, then new windows are - * started immediately at the start of the source and when each window completes - * with size `windowSize`. - * - * @example Ignore every 3rd click event, starting from the first one - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.windowCount(3) - * .map(win => win.skip(1)) // skip first of every 3 clicks - * .mergeAll(); // flatten the Observable-of-Observables - * result.subscribe(x => console.log(x)); - * - * @example Ignore every 3rd click event, starting from the third one - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.windowCount(2, 3) - * .mergeAll(); // flatten the Observable-of-Observables - * result.subscribe(x => console.log(x)); - * - * @see {@link window} - * @see {@link windowTime} - * @see {@link windowToggle} - * @see {@link windowWhen} - * @see {@link bufferCount} - * - * @param {number} windowSize The maximum number of values emitted by each - * window. - * @param {number} [startWindowEvery] Interval at which to start a new window. - * For example if `startWindowEvery` is `2`, then a new window will be started - * on every other value from the source. A new window is started at the - * beginning of the source by default. - * @return {Observable>} An Observable of windows, which in turn - * are Observable of values. - * @method windowCount - * @owner Observable - */ -export function windowCount(windowSize, startWindowEvery = 0) { - return higherOrder(windowSize, startWindowEvery)(this); -} -//# sourceMappingURL=windowCount.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/windowCount.js.map b/node_modules/rxjs/_esm2015/operator/windowCount.js.map deleted file mode 100644 index 189873f4..00000000 --- a/node_modules/rxjs/_esm2015/operator/windowCount.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"windowCount.js","sourceRoot":"","sources":["../../src/operator/windowCount.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,IAAI,WAAW,EAAE,MAAM,0BAA0B;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,4BAAoD,UAAkB,EACvC,gBAAgB,GAAW,CAAC;IACzD,MAAM,CAAC,WAAW,CAAC,UAAU,EAAE,gBAAgB,CAAC,CAAC,IAAI,CAA8B,CAAC;AACtF,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/windowTime.js b/node_modules/rxjs/_esm2015/operator/windowTime.js deleted file mode 100644 index d095e647..00000000 --- a/node_modules/rxjs/_esm2015/operator/windowTime.js +++ /dev/null @@ -1,26 +0,0 @@ -import { async } from '../scheduler/async'; -import { isNumeric } from '../util/isNumeric'; -import { isScheduler } from '../util/isScheduler'; -import { windowTime as higherOrder } from '../operators/windowTime'; -export function windowTime(windowTimeSpan) { - let scheduler = async; - let windowCreationInterval = null; - let maxWindowSize = Number.POSITIVE_INFINITY; - if (isScheduler(arguments[3])) { - scheduler = arguments[3]; - } - if (isScheduler(arguments[2])) { - scheduler = arguments[2]; - } - else if (isNumeric(arguments[2])) { - maxWindowSize = arguments[2]; - } - if (isScheduler(arguments[1])) { - scheduler = arguments[1]; - } - else if (isNumeric(arguments[1])) { - windowCreationInterval = arguments[1]; - } - return higherOrder(windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler)(this); -} -//# sourceMappingURL=windowTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/windowTime.js.map b/node_modules/rxjs/_esm2015/operator/windowTime.js.map deleted file mode 100644 index 62e9203e..00000000 --- a/node_modules/rxjs/_esm2015/operator/windowTime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"windowTime.js","sourceRoot":"","sources":["../../src/operator/windowTime.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAEnC,EAAE,SAAS,EAAE,MAAM,mBAAmB;OACtC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,yBAAyB;AAwEnE,2BAC8B,cAAsB;IAElD,IAAI,SAAS,GAAe,KAAK,CAAC;IAClC,IAAI,sBAAsB,GAAW,IAAI,CAAC;IAC1C,IAAI,aAAa,GAAW,MAAM,CAAC,iBAAiB,CAAC;IAErD,EAAE,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC9B,SAAS,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IAC3B,CAAC;IAED,EAAE,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC9B,SAAS,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IAC3B,CAAC;IAAC,IAAI,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACnC,aAAa,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IAC/B,CAAC;IAED,EAAE,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC9B,SAAS,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IAC3B,CAAC;IAAC,IAAI,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACnC,sBAAsB,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IACxC,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,cAAc,EAAE,sBAAsB,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,IAAI,CAA8B,CAAC;AAC1H,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/windowToggle.js b/node_modules/rxjs/_esm2015/operator/windowToggle.js deleted file mode 100644 index 0b25088d..00000000 --- a/node_modules/rxjs/_esm2015/operator/windowToggle.js +++ /dev/null @@ -1,46 +0,0 @@ -import { windowToggle as higherOrder } from '../operators/windowToggle'; -/** - * Branch out the source Observable values as a nested Observable starting from - * an emission from `openings` and ending when the output of `closingSelector` - * emits. - * - * It's like {@link bufferToggle}, but emits a nested - * Observable instead of an array. - * - * - * - * Returns an Observable that emits windows of items it collects from the source - * Observable. The output Observable emits windows that contain those items - * emitted by the source Observable between the time when the `openings` - * Observable emits an item and when the Observable returned by - * `closingSelector` emits an item. - * - * @example Every other second, emit the click events from the next 500ms - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var openings = Rx.Observable.interval(1000); - * var result = clicks.windowToggle(openings, i => - * i % 2 ? Rx.Observable.interval(500) : Rx.Observable.empty() - * ).mergeAll(); - * result.subscribe(x => console.log(x)); - * - * @see {@link window} - * @see {@link windowCount} - * @see {@link windowTime} - * @see {@link windowWhen} - * @see {@link bufferToggle} - * - * @param {Observable} openings An observable of notifications to start new - * windows. - * @param {function(value: O): Observable} closingSelector A function that takes - * the value emitted by the `openings` observable and returns an Observable, - * which, when it emits (either `next` or `complete`), signals that the - * associated window should complete. - * @return {Observable>} An observable of windows, which in turn - * are Observables. - * @method windowToggle - * @owner Observable - */ -export function windowToggle(openings, closingSelector) { - return higherOrder(openings, closingSelector)(this); -} -//# sourceMappingURL=windowToggle.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/windowToggle.js.map b/node_modules/rxjs/_esm2015/operator/windowToggle.js.map deleted file mode 100644 index 76d54b95..00000000 --- a/node_modules/rxjs/_esm2015/operator/windowToggle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"windowToggle.js","sourceRoot":"","sources":["../../src/operator/windowToggle.ts"],"names":[],"mappings":"OAEO,EAAE,YAAY,IAAI,WAAW,EAAE,MAAM,2BAA2B;AAEvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,6BAAwD,QAAuB,EAC5C,eAAkD;IACnF,MAAM,CAAC,WAAW,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC,IAAI,CAA8B,CAAC;AACnF,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/windowWhen.js b/node_modules/rxjs/_esm2015/operator/windowWhen.js deleted file mode 100644 index 7f0f7a0f..00000000 --- a/node_modules/rxjs/_esm2015/operator/windowWhen.js +++ /dev/null @@ -1,43 +0,0 @@ -import { windowWhen as higherOrder } from '../operators/windowWhen'; -/** - * Branch out the source Observable values as a nested Observable using a - * factory function of closing Observables to determine when to start a new - * window. - * - * It's like {@link bufferWhen}, but emits a nested - * Observable instead of an array. - * - * - * - * Returns an Observable that emits windows of items it collects from the source - * Observable. The output Observable emits connected, non-overlapping windows. - * It emits the current window and opens a new one whenever the Observable - * produced by the specified `closingSelector` function emits an item. The first - * window is opened immediately when subscribing to the output Observable. - * - * @example Emit only the first two clicks events in every window of [1-5] random seconds - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks - * .windowWhen(() => Rx.Observable.interval(1000 + Math.random() * 4000)) - * .map(win => win.take(2)) // each window has at most 2 emissions - * .mergeAll(); // flatten the Observable-of-Observables - * result.subscribe(x => console.log(x)); - * - * @see {@link window} - * @see {@link windowCount} - * @see {@link windowTime} - * @see {@link windowToggle} - * @see {@link bufferWhen} - * - * @param {function(): Observable} closingSelector A function that takes no - * arguments and returns an Observable that signals (on either `next` or - * `complete`) when to close the previous window and start a new one. - * @return {Observable>} An observable of windows, which in turn - * are Observables. - * @method windowWhen - * @owner Observable - */ -export function windowWhen(closingSelector) { - return higherOrder(closingSelector)(this); -} -//# sourceMappingURL=windowWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/windowWhen.js.map b/node_modules/rxjs/_esm2015/operator/windowWhen.js.map deleted file mode 100644 index 3cde5312..00000000 --- a/node_modules/rxjs/_esm2015/operator/windowWhen.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"windowWhen.js","sourceRoot":"","sources":["../../src/operator/windowWhen.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,yBAAyB;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,2BAAmD,eAAsC;IACvF,MAAM,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC,IAAI,CAA8B,CAAC;AACzE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/withLatestFrom.js b/node_modules/rxjs/_esm2015/operator/withLatestFrom.js deleted file mode 100644 index 693366e3..00000000 --- a/node_modules/rxjs/_esm2015/operator/withLatestFrom.js +++ /dev/null @@ -1,44 +0,0 @@ -import { withLatestFrom as higherOrder } from '../operators/withLatestFrom'; -/* tslint:enable:max-line-length */ -/** - * Combines the source Observable with other Observables to create an Observable - * whose values are calculated from the latest values of each, only when the - * source emits. - * - * Whenever the source Observable emits a value, it - * computes a formula using that value plus the latest values from other input - * Observables, then emits the output of that formula. - * - * - * - * `withLatestFrom` combines each value from the source Observable (the - * instance) with the latest values from the other input Observables only when - * the source emits a value, optionally using a `project` function to determine - * the value to be emitted on the output Observable. All input Observables must - * emit at least one value before the output Observable will emit a value. - * - * @example On every click event, emit an array with the latest timer event plus the click event - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var timer = Rx.Observable.interval(1000); - * var result = clicks.withLatestFrom(timer); - * result.subscribe(x => console.log(x)); - * - * @see {@link combineLatest} - * - * @param {ObservableInput} other An input Observable to combine with the source - * Observable. More than one input Observables may be given as argument. - * @param {Function} [project] Projection function for combining values - * together. Receives all values in order of the Observables passed, where the - * first parameter is a value from the source Observable. (e.g. - * `a.withLatestFrom(b, c, (a1, b1, c1) => a1 + b1 + c1)`). If this is not - * passed, arrays will be emitted on the output Observable. - * @return {Observable} An Observable of projected values from the most recent - * values from each input Observable, or an array of the most recent values from - * each input Observable. - * @method withLatestFrom - * @owner Observable - */ -export function withLatestFrom(...args) { - return higherOrder(...args)(this); -} -//# sourceMappingURL=withLatestFrom.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/withLatestFrom.js.map b/node_modules/rxjs/_esm2015/operator/withLatestFrom.js.map deleted file mode 100644 index 646b7ada..00000000 --- a/node_modules/rxjs/_esm2015/operator/withLatestFrom.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"withLatestFrom.js","sourceRoot":"","sources":["../../src/operator/withLatestFrom.ts"],"names":[],"mappings":"OACO,EAAE,cAAc,IAAI,WAAW,EAAE,MAAM,6BAA6B;AAiB3E,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,+BAA0D,GAAG,IAAkE;IAC7H,MAAM,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC;AACpC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/zip.js b/node_modules/rxjs/_esm2015/operator/zip.js deleted file mode 100644 index 3246d2a3..00000000 --- a/node_modules/rxjs/_esm2015/operator/zip.js +++ /dev/null @@ -1,12 +0,0 @@ -import { zip as higherOrder } from '../operators/zip'; -/* tslint:enable:max-line-length */ -/** - * @param observables - * @return {Observable} - * @method zip - * @owner Observable - */ -export function zipProto(...observables) { - return higherOrder(...observables)(this); -} -//# sourceMappingURL=zip.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/zip.js.map b/node_modules/rxjs/_esm2015/operator/zip.js.map deleted file mode 100644 index 8bc90145..00000000 --- a/node_modules/rxjs/_esm2015/operator/zip.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"zip.js","sourceRoot":"","sources":["../../src/operator/zip.ts"],"names":[],"mappings":"OACO,EAAE,GAAG,IAAI,WAAW,EAAE,MAAM,kBAAkB;AAkBrD,mCAAmC;AAEnC;;;;;GAKG;AACH,yBAAoD,GAAG,WAAyE;IAC9H,MAAM,CAAC,WAAW,CAAC,GAAG,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC;AAC3C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/zipAll.js b/node_modules/rxjs/_esm2015/operator/zipAll.js deleted file mode 100644 index 25522bfc..00000000 --- a/node_modules/rxjs/_esm2015/operator/zipAll.js +++ /dev/null @@ -1,11 +0,0 @@ -import { zipAll as higherOrder } from '../operators/zipAll'; -/** - * @param project - * @return {Observable|WebSocketSubject|Observable} - * @method zipAll - * @owner Observable - */ -export function zipAll(project) { - return higherOrder(project)(this); -} -//# sourceMappingURL=zipAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operator/zipAll.js.map b/node_modules/rxjs/_esm2015/operator/zipAll.js.map deleted file mode 100644 index 24ffff49..00000000 --- a/node_modules/rxjs/_esm2015/operator/zipAll.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"zipAll.js","sourceRoot":"","sources":["../../src/operator/zipAll.ts"],"names":[],"mappings":"OACO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,qBAAqB;AAE3D;;;;;GAKG;AACH,uBAAkD,OAAsC;IACtF,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AACpC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators.js b/node_modules/rxjs/_esm2015/operators.js deleted file mode 100644 index fab19497..00000000 --- a/node_modules/rxjs/_esm2015/operators.js +++ /dev/null @@ -1,109 +0,0 @@ -export { audit } from './operators/audit'; -export { auditTime } from './operators/auditTime'; -export { buffer } from './operators/buffer'; -export { bufferCount } from './operators/bufferCount'; -export { bufferTime } from './operators/bufferTime'; -export { bufferToggle } from './operators/bufferToggle'; -export { bufferWhen } from './operators/bufferWhen'; -export { catchError } from './operators/catchError'; -export { combineAll } from './operators/combineAll'; -export { combineLatest } from './operators/combineLatest'; -export { concat } from './operators/concat'; -export { concatAll } from './operators/concatAll'; -export { concatMap } from './operators/concatMap'; -export { concatMapTo } from './operators/concatMapTo'; -export { count } from './operators/count'; -export { debounce } from './operators/debounce'; -export { debounceTime } from './operators/debounceTime'; -export { defaultIfEmpty } from './operators/defaultIfEmpty'; -export { delay } from './operators/delay'; -export { delayWhen } from './operators/delayWhen'; -export { dematerialize } from './operators/dematerialize'; -export { distinct } from './operators/distinct'; -export { distinctUntilChanged } from './operators/distinctUntilChanged'; -export { distinctUntilKeyChanged } from './operators/distinctUntilKeyChanged'; -export { elementAt } from './operators/elementAt'; -export { every } from './operators/every'; -export { exhaust } from './operators/exhaust'; -export { exhaustMap } from './operators/exhaustMap'; -export { expand } from './operators/expand'; -export { filter } from './operators/filter'; -export { finalize } from './operators/finalize'; -export { find } from './operators/find'; -export { findIndex } from './operators/findIndex'; -export { first } from './operators/first'; -export { groupBy } from './operators/groupBy'; -export { ignoreElements } from './operators/ignoreElements'; -export { isEmpty } from './operators/isEmpty'; -export { last } from './operators/last'; -export { map } from './operators/map'; -export { mapTo } from './operators/mapTo'; -export { materialize } from './operators/materialize'; -export { max } from './operators/max'; -export { merge } from './operators/merge'; -export { mergeAll } from './operators/mergeAll'; -export { mergeMap } from './operators/mergeMap'; -export { mergeMap as flatMap } from './operators/mergeMap'; -export { mergeMapTo } from './operators/mergeMapTo'; -export { mergeScan } from './operators/mergeScan'; -export { min } from './operators/min'; -export { multicast } from './operators/multicast'; -export { observeOn } from './operators/observeOn'; -export { onErrorResumeNext } from './operators/onErrorResumeNext'; -export { pairwise } from './operators/pairwise'; -export { partition } from './operators/partition'; -export { pluck } from './operators/pluck'; -export { publish } from './operators/publish'; -export { publishBehavior } from './operators/publishBehavior'; -export { publishLast } from './operators/publishLast'; -export { publishReplay } from './operators/publishReplay'; -export { race } from './operators/race'; -export { reduce } from './operators/reduce'; -export { repeat } from './operators/repeat'; -export { repeatWhen } from './operators/repeatWhen'; -export { retry } from './operators/retry'; -export { retryWhen } from './operators/retryWhen'; -export { refCount } from './operators/refCount'; -export { sample } from './operators/sample'; -export { sampleTime } from './operators/sampleTime'; -export { scan } from './operators/scan'; -export { sequenceEqual } from './operators/sequenceEqual'; -export { share } from './operators/share'; -export { shareReplay } from './operators/shareReplay'; -export { single } from './operators/single'; -export { skip } from './operators/skip'; -export { skipLast } from './operators/skipLast'; -export { skipUntil } from './operators/skipUntil'; -export { skipWhile } from './operators/skipWhile'; -export { startWith } from './operators/startWith'; -/** - * TODO(https://github.com/ReactiveX/rxjs/issues/2900): Add back subscribeOn once it can be - * treeshaken. Currently if this export is added back, it - * forces apps to bring in asap scheduler along with - * Immediate, root, and other supporting code. - */ -// export { subscribeOn } from './operators/subscribeOn'; -export { switchAll } from './operators/switchAll'; -export { switchMap } from './operators/switchMap'; -export { switchMapTo } from './operators/switchMapTo'; -export { take } from './operators/take'; -export { takeLast } from './operators/takeLast'; -export { takeUntil } from './operators/takeUntil'; -export { takeWhile } from './operators/takeWhile'; -export { tap } from './operators/tap'; -export { throttle } from './operators/throttle'; -export { throttleTime } from './operators/throttleTime'; -export { timeInterval } from './operators/timeInterval'; -export { timeout } from './operators/timeout'; -export { timeoutWith } from './operators/timeoutWith'; -export { timestamp } from './operators/timestamp'; -export { toArray } from './operators/toArray'; -export { window } from './operators/window'; -export { windowCount } from './operators/windowCount'; -export { windowTime } from './operators/windowTime'; -export { windowToggle } from './operators/windowToggle'; -export { windowWhen } from './operators/windowWhen'; -export { withLatestFrom } from './operators/withLatestFrom'; -export { zip } from './operators/zip'; -export { zipAll } from './operators/zipAll'; -//# sourceMappingURL=operators.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators.js.map b/node_modules/rxjs/_esm2015/operators.js.map deleted file mode 100644 index ad74b90b..00000000 --- a/node_modules/rxjs/_esm2015/operators.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"operators.js","sourceRoot":"","sources":["../src/operators.ts"],"names":[],"mappings":"AAAA,SAAS,KAAK,QAAQ,mBAAmB,CAAC;AAC1C,SAAS,SAAS,QAAQ,uBAAuB,CAAC;AAClD,SAAS,MAAM,QAAQ,oBAAoB,CAAC;AAC5C,SAAS,WAAW,QAAQ,yBAAyB,CAAC;AACtD,SAAS,UAAU,QAAQ,wBAAwB,CAAC;AACpD,SAAS,YAAY,QAAQ,0BAA0B,CAAC;AACxD,SAAS,UAAU,QAAQ,wBAAwB,CAAC;AACpD,SAAS,UAAU,QAAQ,wBAAwB,CAAC;AACpD,SAAS,UAAU,QAAQ,wBAAwB,CAAC;AACpD,SAAS,aAAa,QAAQ,2BAA2B,CAAC;AAC1D,SAAS,MAAM,QAAQ,oBAAoB,CAAC;AAC5C,SAAS,SAAS,QAAQ,uBAAuB,CAAC;AAClD,SAAS,SAAS,QAAQ,uBAAuB,CAAC;AAClD,SAAS,WAAW,QAAQ,yBAAyB,CAAC;AACtD,SAAS,KAAK,QAAQ,mBAAmB,CAAC;AAC1C,SAAS,QAAQ,QAAQ,sBAAsB,CAAC;AAChD,SAAS,YAAY,QAAQ,0BAA0B,CAAC;AACxD,SAAS,cAAc,QAAQ,4BAA4B,CAAC;AAC5D,SAAS,KAAK,QAAQ,mBAAmB,CAAC;AAC1C,SAAS,SAAS,QAAQ,uBAAuB,CAAC;AAClD,SAAS,aAAa,QAAQ,2BAA2B,CAAC;AAC1D,SAAS,QAAQ,QAAQ,sBAAsB,CAAC;AAChD,SAAS,oBAAoB,QAAQ,kCAAkC,CAAC;AACxE,SAAS,uBAAuB,QAAQ,qCAAqC,CAAC;AAC9E,SAAS,SAAS,QAAQ,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BAAuB,CAAC;AAClD,SAAS,GAAG,QAAQ,iBAAiB,CAAC;AACtC,SAAS,QAAQ,QAAQ,sBAAsB,CAAC;AAChD,SAAS,YAAY,QAAQ,0BAA0B,CAAC;AACxD,SAAS,YAAY,QAAQ,0BAA0B,CAAC;AACxD,SAAS,OAAO,QAAQ,qBAAqB,CAAC;AAC9C,SAAS,WAAW,QAAQ,yBAAyB,CAAC;AACtD,SAAS,SAAS,QAAQ,uBAAuB,CAAC;AAClD,SAAS,OAAO,QAAQ,qBAAqB,CAAC;AAC9C,SAAS,MAAM,QAAQ,oBAAoB,CAAC;AAC5C,SAAS,WAAW,QAAQ,yBAAyB,CAAC;AACtD,SAAS,UAAU,QAAQ,wBAAwB,CAAC;AACpD,SAAS,YAAY,QAAQ,0BAA0B,CAAC;AACxD,SAAS,UAAU,QAAQ,wBAAwB,CAAC;AACpD,SAAS,cAAc,QAAQ,4BAA4B,CAAC;AAC5D,SAAS,GAAG,QAAQ,iBAAiB,CAAC;AACtC,SAAS,MAAM,QAAQ,oBAAoB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/audit.js b/node_modules/rxjs/_esm2015/operators/audit.js deleted file mode 100644 index dd54c906..00000000 --- a/node_modules/rxjs/_esm2015/operators/audit.js +++ /dev/null @@ -1,108 +0,0 @@ -import { tryCatch } from '../util/tryCatch'; -import { errorObject } from '../util/errorObject'; -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/** - * Ignores source values for a duration determined by another Observable, then - * emits the most recent value from the source Observable, then repeats this - * process. - * - * It's like {@link auditTime}, but the silencing - * duration is determined by a second Observable. - * - * - * - * `audit` is similar to `throttle`, but emits the last value from the silenced - * time window, instead of the first value. `audit` emits the most recent value - * from the source Observable on the output Observable as soon as its internal - * timer becomes disabled, and ignores source values while the timer is enabled. - * Initially, the timer is disabled. As soon as the first source value arrives, - * the timer is enabled by calling the `durationSelector` function with the - * source value, which returns the "duration" Observable. When the duration - * Observable emits a value or completes, the timer is disabled, then the most - * recent source value is emitted on the output Observable, and this process - * repeats for the next source value. - * - * @example Emit clicks at a rate of at most one click per second - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.audit(ev => Rx.Observable.interval(1000)); - * result.subscribe(x => console.log(x)); - * - * @see {@link auditTime} - * @see {@link debounce} - * @see {@link delayWhen} - * @see {@link sample} - * @see {@link throttle} - * - * @param {function(value: T): SubscribableOrPromise} durationSelector A function - * that receives a value from the source Observable, for computing the silencing - * duration, returned as an Observable or a Promise. - * @return {Observable} An Observable that performs rate-limiting of - * emissions from the source Observable. - * @method audit - * @owner Observable - */ -export function audit(durationSelector) { - return function auditOperatorFunction(source) { - return source.lift(new AuditOperator(durationSelector)); - }; -} -class AuditOperator { - constructor(durationSelector) { - this.durationSelector = durationSelector; - } - call(subscriber, source) { - return source.subscribe(new AuditSubscriber(subscriber, this.durationSelector)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class AuditSubscriber extends OuterSubscriber { - constructor(destination, durationSelector) { - super(destination); - this.durationSelector = durationSelector; - this.hasValue = false; - } - _next(value) { - this.value = value; - this.hasValue = true; - if (!this.throttled) { - const duration = tryCatch(this.durationSelector)(value); - if (duration === errorObject) { - this.destination.error(errorObject.e); - } - else { - const innerSubscription = subscribeToResult(this, duration); - if (innerSubscription.closed) { - this.clearThrottle(); - } - else { - this.add(this.throttled = innerSubscription); - } - } - } - } - clearThrottle() { - const { value, hasValue, throttled } = this; - if (throttled) { - this.remove(throttled); - this.throttled = null; - throttled.unsubscribe(); - } - if (hasValue) { - this.value = null; - this.hasValue = false; - this.destination.next(value); - } - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex) { - this.clearThrottle(); - } - notifyComplete() { - this.clearThrottle(); - } -} -//# sourceMappingURL=audit.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/audit.js.map b/node_modules/rxjs/_esm2015/operators/audit.js.map deleted file mode 100644 index 6f363137..00000000 --- a/node_modules/rxjs/_esm2015/operators/audit.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"audit.js","sourceRoot":"","sources":["../../src/operators/audit.ts"],"names":[],"mappings":"OAKO,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAC7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAG7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,sBAAyB,gBAA0D;IACjF,MAAM,CAAC,+BAA+B,MAAqB;QACzD,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAC1D,CAAC,CAAC;AACJ,CAAC;AAED;IACE,YAAoB,gBAA0D;QAA1D,qBAAgB,GAAhB,gBAAgB,CAA0C;IAC9E,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,eAAe,CAAO,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;IACxF,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,8BAAoC,eAAe;IAMjD,YAAY,WAA0B,EAClB,gBAA0D;QAC5E,MAAM,WAAW,CAAC,CAAC;QADD,qBAAgB,GAAhB,gBAAgB,CAA0C;QAJtE,aAAQ,GAAY,KAAK,CAAC;IAMlC,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACrB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;YACpB,MAAM,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,KAAK,CAAC,CAA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js b/node_modules/rxjs/_esm2015/operators/auditTime.js deleted file mode 100644 index ea2b0d30..00000000 --- a/node_modules/rxjs/_esm2015/operators/auditTime.js +++ /dev/null @@ -1,49 +0,0 @@ -import { async } from '../scheduler/async'; -import { audit } from './audit'; -import { timer } from '../observable/timer'; -/** - * Ignores source values for `duration` milliseconds, then emits the most recent - * value from the source Observable, then repeats this process. - * - * When it sees a source values, it ignores that plus - * the next ones for `duration` milliseconds, and then it emits the most recent - * value from the source. - * - * - * - * `auditTime` is similar to `throttleTime`, but emits the last value from the - * silenced time window, instead of the first value. `auditTime` emits the most - * recent value from the source Observable on the output Observable as soon as - * its internal timer becomes disabled, and ignores source values while the - * timer is enabled. Initially, the timer is disabled. As soon as the first - * source value arrives, the timer is enabled. After `duration` milliseconds (or - * the time unit determined internally by the optional `scheduler`) has passed, - * the timer is disabled, then the most recent source value is emitted on the - * output Observable, and this process repeats for the next source value. - * Optionally takes a {@link IScheduler} for managing timers. - * - * @example Emit clicks at a rate of at most one click per second - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.auditTime(1000); - * result.subscribe(x => console.log(x)); - * - * @see {@link audit} - * @see {@link debounceTime} - * @see {@link delay} - * @see {@link sampleTime} - * @see {@link throttleTime} - * - * @param {number} duration Time to wait before emitting the most recent source - * value, measured in milliseconds or the time unit determined internally - * by the optional `scheduler`. - * @param {Scheduler} [scheduler=async] The {@link IScheduler} to use for - * managing the timers that handle the rate-limiting behavior. - * @return {Observable} An Observable that performs rate-limiting of - * emissions from the source Observable. - * @method auditTime - * @owner Observable - */ -export function auditTime(duration, scheduler = async) { - return audit(() => timer(duration, scheduler)); -} -//# sourceMappingURL=auditTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/auditTime.js.map b/node_modules/rxjs/_esm2015/operators/auditTime.js.map deleted file mode 100644 index 34699b0a..00000000 --- a/node_modules/rxjs/_esm2015/operators/auditTime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"auditTime.js","sourceRoot":"","sources":["../../src/operators/auditTime.ts"],"names":[],"mappings":"OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAEnC,EAAE,KAAK,EAAE,MAAM,SAAS;OACxB,EAAE,KAAK,EAAE,MAAM,qBAAqB;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,0BAA6B,QAAgB,EAAE,SAAS,GAAe,KAAK;IAC1E,MAAM,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC;AACjD,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/buffer.js b/node_modules/rxjs/_esm2015/operators/buffer.js deleted file mode 100644 index 9241dab4..00000000 --- a/node_modules/rxjs/_esm2015/operators/buffer.js +++ /dev/null @@ -1,68 +0,0 @@ -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/** - * Buffers the source Observable values until `closingNotifier` emits. - * - * Collects values from the past as an array, and emits - * that array only when another Observable emits. - * - * - * - * Buffers the incoming Observable values until the given `closingNotifier` - * Observable emits a value, at which point it emits the buffer on the output - * Observable and starts a new buffer internally, awaiting the next time - * `closingNotifier` emits. - * - * @example On every click, emit array of most recent interval events - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var interval = Rx.Observable.interval(1000); - * var buffered = interval.buffer(clicks); - * buffered.subscribe(x => console.log(x)); - * - * @see {@link bufferCount} - * @see {@link bufferTime} - * @see {@link bufferToggle} - * @see {@link bufferWhen} - * @see {@link window} - * - * @param {Observable} closingNotifier An Observable that signals the - * buffer to be emitted on the output Observable. - * @return {Observable} An Observable of buffers, which are arrays of - * values. - * @method buffer - * @owner Observable - */ -export function buffer(closingNotifier) { - return function bufferOperatorFunction(source) { - return source.lift(new BufferOperator(closingNotifier)); - }; -} -class BufferOperator { - constructor(closingNotifier) { - this.closingNotifier = closingNotifier; - } - call(subscriber, source) { - return source.subscribe(new BufferSubscriber(subscriber, this.closingNotifier)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class BufferSubscriber extends OuterSubscriber { - constructor(destination, closingNotifier) { - super(destination); - this.buffer = []; - this.add(subscribeToResult(this, closingNotifier)); - } - _next(value) { - this.buffer.push(value); - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - const buffer = this.buffer; - this.buffer = []; - this.destination.next(buffer); - } -} -//# sourceMappingURL=buffer.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/buffer.js.map b/node_modules/rxjs/_esm2015/operators/buffer.js.map deleted file mode 100644 index e3d47615..00000000 --- a/node_modules/rxjs/_esm2015/operators/buffer.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"buffer.js","sourceRoot":"","sources":["../../src/operators/buffer.ts"],"names":[],"mappings":"OAGO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAG7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,uBAA0B,eAAgC;IACxD,MAAM,CAAC,gCAAgC,MAAqB;QAC1D,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,cAAc,CAAI,eAAe,CAAC,CAAC,CAAC;IAC7D,CAAC,CAAC;AACJ,CAAC;AAED;IAEE,YAAoB,eAAgC;QAAhC,oBAAe,GAAf,eAAe,CAAiB;IACpD,CAAC;IAED,IAAI,CAAC,UAA2B,EAAE,MAAW;QAC3C,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClF,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,+BAAkC,eAAe;IAG/C,YAAY,WAA4B,EAAE,eAAgC;QACxE,MAAM,WAAW,CAAC,CAAC;QAHb,WAAM,GAAQ,EAAE,CAAC;QAIvB,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC;IACrD,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1B,CAAC;IAED,UAAU,CAAC,UAAa,EAAE,UAAe,EAC9B,UAAkB,EAAE,UAAkB,EACtC,QAAiC;QAC1C,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QACjB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/bufferCount.js b/node_modules/rxjs/_esm2015/operators/bufferCount.js deleted file mode 100644 index 3d7f1784..00000000 --- a/node_modules/rxjs/_esm2015/operators/bufferCount.js +++ /dev/null @@ -1,129 +0,0 @@ -import { Subscriber } from '../Subscriber'; -/** - * Buffers the source Observable values until the size hits the maximum - * `bufferSize` given. - * - * Collects values from the past as an array, and emits - * that array only when its size reaches `bufferSize`. - * - * - * - * Buffers a number of values from the source Observable by `bufferSize` then - * emits the buffer and clears it, and starts a new buffer each - * `startBufferEvery` values. If `startBufferEvery` is not provided or is - * `null`, then new buffers are started immediately at the start of the source - * and when each buffer closes and is emitted. - * - * @example Emit the last two click events as an array - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var buffered = clicks.bufferCount(2); - * buffered.subscribe(x => console.log(x)); - * - * @example On every click, emit the last two click events as an array - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var buffered = clicks.bufferCount(2, 1); - * buffered.subscribe(x => console.log(x)); - * - * @see {@link buffer} - * @see {@link bufferTime} - * @see {@link bufferToggle} - * @see {@link bufferWhen} - * @see {@link pairwise} - * @see {@link windowCount} - * - * @param {number} bufferSize The maximum size of the buffer emitted. - * @param {number} [startBufferEvery] Interval at which to start a new buffer. - * For example if `startBufferEvery` is `2`, then a new buffer will be started - * on every other value from the source. A new buffer is started at the - * beginning of the source by default. - * @return {Observable} An Observable of arrays of buffered values. - * @method bufferCount - * @owner Observable - */ -export function bufferCount(bufferSize, startBufferEvery = null) { - return function bufferCountOperatorFunction(source) { - return source.lift(new BufferCountOperator(bufferSize, startBufferEvery)); - }; -} -class BufferCountOperator { - constructor(bufferSize, startBufferEvery) { - this.bufferSize = bufferSize; - this.startBufferEvery = startBufferEvery; - if (!startBufferEvery || bufferSize === startBufferEvery) { - this.subscriberClass = BufferCountSubscriber; - } - else { - this.subscriberClass = BufferSkipCountSubscriber; - } - } - call(subscriber, source) { - return source.subscribe(new this.subscriberClass(subscriber, this.bufferSize, this.startBufferEvery)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class BufferCountSubscriber extends Subscriber { - constructor(destination, bufferSize) { - super(destination); - this.bufferSize = bufferSize; - this.buffer = []; - } - _next(value) { - const buffer = this.buffer; - buffer.push(value); - if (buffer.length == this.bufferSize) { - this.destination.next(buffer); - this.buffer = []; - } - } - _complete() { - const buffer = this.buffer; - if (buffer.length > 0) { - this.destination.next(buffer); - } - super._complete(); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class BufferSkipCountSubscriber extends Subscriber { - constructor(destination, bufferSize, startBufferEvery) { - super(destination); - this.bufferSize = bufferSize; - this.startBufferEvery = startBufferEvery; - this.buffers = []; - this.count = 0; - } - _next(value) { - const { bufferSize, startBufferEvery, buffers, count } = this; - this.count++; - if (count % startBufferEvery === 0) { - buffers.push([]); - } - for (let i = buffers.length; i--;) { - const buffer = buffers[i]; - buffer.push(value); - if (buffer.length === bufferSize) { - buffers.splice(i, 1); - this.destination.next(buffer); - } - } - } - _complete() { - const { buffers, destination } = this; - while (buffers.length > 0) { - let buffer = buffers.shift(); - if (buffer.length > 0) { - destination.next(buffer); - } - } - super._complete(); - } -} -//# sourceMappingURL=bufferCount.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/bufferCount.js.map b/node_modules/rxjs/_esm2015/operators/bufferCount.js.map deleted file mode 100644 index 6490ba20..00000000 --- a/node_modules/rxjs/_esm2015/operators/bufferCount.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"bufferCount.js","sourceRoot":"","sources":["../../src/operators/bufferCount.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAK1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,4BAA+B,UAAkB,EAAE,gBAAgB,GAAW,IAAI;IAChF,MAAM,CAAC,qCAAqC,MAAqB;QAC/D,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,mBAAmB,CAAI,UAAU,EAAE,gBAAgB,CAAC,CAAC,CAAC;IAC/E,CAAC,CAAC;AACJ,CAAC;AAED;IAGE,YAAoB,UAAkB,EAAU,gBAAwB;QAApD,eAAU,GAAV,UAAU,CAAQ;QAAU,qBAAgB,GAAhB,gBAAgB,CAAQ;QACtE,EAAE,CAAC,CAAC,CAAC,gBAAgB,IAAI,UAAU,KAAK,gBAAgB,CAAC,CAAC,CAAC;YACzD,IAAI,CAAC,eAAe,GAAG,qBAAqB,CAAC;QAC/C,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,IAAI,CAAC,eAAe,GAAG,yBAAyB,CAAC;QACnD,CAAC;IACH,CAAC;IAED,IAAI,CAAC,UAA2B,EAAE,MAAW;QAC3C,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,eAAe,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;IACxG,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,oCAAuC,UAAU;IAG/C,YAAY,WAA4B,EAAU,UAAkB;QAClE,MAAM,WAAW,CAAC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C,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,GAAI,CAAC;YACnC,MAAM,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;YAC1B,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC;gBACjC,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;gBACrB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAChC,CAAC;QACH,CAAC;IACH,CAAC;IAES,SAAS;QACjB,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;QAEtC,OAAO,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC1B,IAAI,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC;YAC7B,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;gBACtB,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAC3B,CAAC;QACH,CAAC;QACD,KAAK,CAAC,SAAS,EAAE,CAAC;IACpB,CAAC;AAEH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/bufferTime.js b/node_modules/rxjs/_esm2015/operators/bufferTime.js deleted file mode 100644 index 5e605a24..00000000 --- a/node_modules/rxjs/_esm2015/operators/bufferTime.js +++ /dev/null @@ -1,190 +0,0 @@ -import { async } from '../scheduler/async'; -import { Subscriber } from '../Subscriber'; -import { isScheduler } from '../util/isScheduler'; -/* tslint:enable:max-line-length */ -/** - * Buffers the source Observable values for a specific time period. - * - * Collects values from the past as an array, and emits - * those arrays periodically in time. - * - * - * - * Buffers values from the source for a specific time duration `bufferTimeSpan`. - * Unless the optional argument `bufferCreationInterval` is given, it emits and - * resets the buffer every `bufferTimeSpan` milliseconds. If - * `bufferCreationInterval` is given, this operator opens the buffer every - * `bufferCreationInterval` milliseconds and closes (emits and resets) the - * buffer every `bufferTimeSpan` milliseconds. When the optional argument - * `maxBufferSize` is specified, the buffer will be closed either after - * `bufferTimeSpan` milliseconds or when it contains `maxBufferSize` elements. - * - * @example Every second, emit an array of the recent click events - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var buffered = clicks.bufferTime(1000); - * buffered.subscribe(x => console.log(x)); - * - * @example Every 5 seconds, emit the click events from the next 2 seconds - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var buffered = clicks.bufferTime(2000, 5000); - * buffered.subscribe(x => console.log(x)); - * - * @see {@link buffer} - * @see {@link bufferCount} - * @see {@link bufferToggle} - * @see {@link bufferWhen} - * @see {@link windowTime} - * - * @param {number} bufferTimeSpan The amount of time to fill each buffer array. - * @param {number} [bufferCreationInterval] The interval at which to start new - * buffers. - * @param {number} [maxBufferSize] The maximum buffer size. - * @param {Scheduler} [scheduler=async] The scheduler on which to schedule the - * intervals that determine buffer boundaries. - * @return {Observable} An observable of arrays of buffered values. - * @method bufferTime - * @owner Observable - */ -export function bufferTime(bufferTimeSpan) { - let length = arguments.length; - let scheduler = async; - if (isScheduler(arguments[arguments.length - 1])) { - scheduler = arguments[arguments.length - 1]; - length--; - } - let bufferCreationInterval = null; - if (length >= 2) { - bufferCreationInterval = arguments[1]; - } - let maxBufferSize = Number.POSITIVE_INFINITY; - if (length >= 3) { - maxBufferSize = arguments[2]; - } - return function bufferTimeOperatorFunction(source) { - return source.lift(new BufferTimeOperator(bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler)); - }; -} -class BufferTimeOperator { - constructor(bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler) { - this.bufferTimeSpan = bufferTimeSpan; - this.bufferCreationInterval = bufferCreationInterval; - this.maxBufferSize = maxBufferSize; - this.scheduler = scheduler; - } - call(subscriber, source) { - return source.subscribe(new BufferTimeSubscriber(subscriber, this.bufferTimeSpan, this.bufferCreationInterval, this.maxBufferSize, this.scheduler)); - } -} -class Context { - constructor() { - this.buffer = []; - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class BufferTimeSubscriber extends Subscriber { - constructor(destination, bufferTimeSpan, bufferCreationInterval, maxBufferSize, scheduler) { - super(destination); - this.bufferTimeSpan = bufferTimeSpan; - this.bufferCreationInterval = bufferCreationInterval; - this.maxBufferSize = maxBufferSize; - this.scheduler = scheduler; - this.contexts = []; - const context = this.openContext(); - this.timespanOnly = bufferCreationInterval == null || bufferCreationInterval < 0; - if (this.timespanOnly) { - const timeSpanOnlyState = { subscriber: this, context, bufferTimeSpan }; - this.add(context.closeAction = scheduler.schedule(dispatchBufferTimeSpanOnly, bufferTimeSpan, timeSpanOnlyState)); - } - else { - const closeState = { subscriber: this, context }; - const creationState = { bufferTimeSpan, bufferCreationInterval, subscriber: this, scheduler }; - this.add(context.closeAction = scheduler.schedule(dispatchBufferClose, bufferTimeSpan, closeState)); - this.add(scheduler.schedule(dispatchBufferCreation, bufferCreationInterval, creationState)); - } - } - _next(value) { - const contexts = this.contexts; - const len = contexts.length; - let filledBufferContext; - for (let i = 0; i < len; i++) { - const context = contexts[i]; - const buffer = context.buffer; - buffer.push(value); - if (buffer.length == this.maxBufferSize) { - filledBufferContext = context; - } - } - if (filledBufferContext) { - this.onBufferFull(filledBufferContext); - } - } - _error(err) { - this.contexts.length = 0; - super._error(err); - } - _complete() { - const { contexts, destination } = this; - while (contexts.length > 0) { - const context = contexts.shift(); - destination.next(context.buffer); - } - super._complete(); - } - _unsubscribe() { - this.contexts = null; - } - onBufferFull(context) { - this.closeContext(context); - const closeAction = context.closeAction; - closeAction.unsubscribe(); - this.remove(closeAction); - if (!this.closed && this.timespanOnly) { - context = this.openContext(); - const bufferTimeSpan = this.bufferTimeSpan; - const timeSpanOnlyState = { subscriber: this, context, bufferTimeSpan }; - this.add(context.closeAction = this.scheduler.schedule(dispatchBufferTimeSpanOnly, bufferTimeSpan, timeSpanOnlyState)); - } - } - openContext() { - const context = new Context(); - this.contexts.push(context); - return context; - } - closeContext(context) { - this.destination.next(context.buffer); - const contexts = this.contexts; - const spliceIndex = contexts ? contexts.indexOf(context) : -1; - if (spliceIndex >= 0) { - contexts.splice(contexts.indexOf(context), 1); - } - } -} -function dispatchBufferTimeSpanOnly(state) { - const subscriber = state.subscriber; - const prevContext = state.context; - if (prevContext) { - subscriber.closeContext(prevContext); - } - if (!subscriber.closed) { - state.context = subscriber.openContext(); - state.context.closeAction = this.schedule(state, state.bufferTimeSpan); - } -} -function dispatchBufferCreation(state) { - const { bufferCreationInterval, bufferTimeSpan, subscriber, scheduler } = state; - const context = subscriber.openContext(); - const action = this; - if (!subscriber.closed) { - subscriber.add(context.closeAction = scheduler.schedule(dispatchBufferClose, bufferTimeSpan, { subscriber, context })); - action.schedule(state, bufferCreationInterval); - } -} -function dispatchBufferClose(arg) { - const { subscriber, context } = arg; - subscriber.closeContext(context); -} -//# sourceMappingURL=bufferTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/bufferTime.js.map b/node_modules/rxjs/_esm2015/operators/bufferTime.js.map deleted file mode 100644 index 48c81907..00000000 --- a/node_modules/rxjs/_esm2015/operators/bufferTime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"bufferTime.js","sourceRoot":"","sources":["../../src/operators/bufferTime.ts"],"names":[],"mappings":"OAGO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAEnC,EAAE,UAAU,EAAE,MAAM,eAAe;OAEnC,EAAE,WAAW,EAAE,MAAM,qBAAqB;AAOjD,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,2BAA8B,cAAsB;IAClD,IAAI,MAAM,GAAW,SAAS,CAAC,MAAM,CAAC;IAEtC,IAAI,SAAS,GAAe,KAAK,CAAC;IAClC,EAAE,CAAC,CAAC,WAAW,CAAC,SAAS,CAA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W,GAAG,KAAK,CAAC,OAAO,CAAC;IAClC,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC;QAChB,UAAU,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC;IACvC,CAAC;IAED,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;QACvB,KAAK,CAAC,OAAO,GAAG,UAAU,CAAC,WAAW,EAAE,CAAC;QACzC,KAAK,CAAC,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IACzE,CAAC;AACH,CAAC;AAOD,gCAAmE,KAAuB;IACxF,MAAM,EAAE,sBAAsB,EAAE,cAAc,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAChF,MAAM,OAAO,GAAG,UAAU,CAAC,WAAW,EAAE,CAAC;IACzC,MAAM,MAAM,GAA6B,IAAI,CAAC;IAC9C,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;QACvB,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,QAAQ,CAAiB,mBAAmB,EAAE,cAAc,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC;QACvI,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,sBAAsB,CAAC,CAAC;IACjD,CAAC;AACH,CAAC;AAED,6BAAgC,GAAmB;IACjD,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,GAAG,CAAC;IACpC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;AACnC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/bufferToggle.js b/node_modules/rxjs/_esm2015/operators/bufferToggle.js deleted file mode 100644 index 54a4165c..00000000 --- a/node_modules/rxjs/_esm2015/operators/bufferToggle.js +++ /dev/null @@ -1,144 +0,0 @@ -import { Subscription } from '../Subscription'; -import { subscribeToResult } from '../util/subscribeToResult'; -import { OuterSubscriber } from '../OuterSubscriber'; -/** - * Buffers the source Observable values starting from an emission from - * `openings` and ending when the output of `closingSelector` emits. - * - * Collects values from the past as an array. Starts - * collecting only when `opening` emits, and calls the `closingSelector` - * function to get an Observable that tells when to close the buffer. - * - * - * - * Buffers values from the source by opening the buffer via signals from an - * Observable provided to `openings`, and closing and sending the buffers when - * a Subscribable or Promise returned by the `closingSelector` function emits. - * - * @example Every other second, emit the click events from the next 500ms - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var openings = Rx.Observable.interval(1000); - * var buffered = clicks.bufferToggle(openings, i => - * i % 2 ? Rx.Observable.interval(500) : Rx.Observable.empty() - * ); - * buffered.subscribe(x => console.log(x)); - * - * @see {@link buffer} - * @see {@link bufferCount} - * @see {@link bufferTime} - * @see {@link bufferWhen} - * @see {@link windowToggle} - * - * @param {SubscribableOrPromise} openings A Subscribable or Promise of notifications to start new - * buffers. - * @param {function(value: O): SubscribableOrPromise} closingSelector A function that takes - * the value emitted by the `openings` observable and returns a Subscribable or Promise, - * which, when it emits, signals that the associated buffer should be emitted - * and cleared. - * @return {Observable} An observable of arrays of buffered values. - * @method bufferToggle - * @owner Observable - */ -export function bufferToggle(openings, closingSelector) { - return function bufferToggleOperatorFunction(source) { - return source.lift(new BufferToggleOperator(openings, closingSelector)); - }; -} -class BufferToggleOperator { - constructor(openings, closingSelector) { - this.openings = openings; - this.closingSelector = closingSelector; - } - call(subscriber, source) { - return source.subscribe(new BufferToggleSubscriber(subscriber, this.openings, this.closingSelector)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class BufferToggleSubscriber extends OuterSubscriber { - constructor(destination, openings, closingSelector) { - super(destination); - this.openings = openings; - this.closingSelector = closingSelector; - this.contexts = []; - this.add(subscribeToResult(this, openings)); - } - _next(value) { - const contexts = this.contexts; - const len = contexts.length; - for (let i = 0; i < len; i++) { - contexts[i].buffer.push(value); - } - } - _error(err) { - const contexts = this.contexts; - while (contexts.length > 0) { - const context = contexts.shift(); - context.subscription.unsubscribe(); - context.buffer = null; - context.subscription = null; - } - this.contexts = null; - super._error(err); - } - _complete() { - const contexts = this.contexts; - while (contexts.length > 0) { - const context = contexts.shift(); - this.destination.next(context.buffer); - context.subscription.unsubscribe(); - context.buffer = null; - context.subscription = null; - } - this.contexts = null; - super._complete(); - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - outerValue ? this.closeBuffer(outerValue) : this.openBuffer(innerValue); - } - notifyComplete(innerSub) { - this.closeBuffer(innerSub.context); - } - openBuffer(value) { - try { - const closingSelector = this.closingSelector; - const closingNotifier = closingSelector.call(this, value); - if (closingNotifier) { - this.trySubscribe(closingNotifier); - } - } - catch (err) { - this._error(err); - } - } - closeBuffer(context) { - const contexts = this.contexts; - if (contexts && context) { - const { buffer, subscription } = context; - this.destination.next(buffer); - contexts.splice(contexts.indexOf(context), 1); - this.remove(subscription); - subscription.unsubscribe(); - } - } - trySubscribe(closingNotifier) { - const contexts = this.contexts; - const buffer = []; - const subscription = new Subscription(); - const context = { buffer, subscription }; - contexts.push(context); - const innerSubscription = subscribeToResult(this, closingNotifier, context); - if (!innerSubscription || innerSubscription.closed) { - this.closeBuffer(context); - } - else { - innerSubscription.context = context; - this.add(innerSubscription); - subscription.add(innerSubscription); - } - } -} -//# sourceMappingURL=bufferToggle.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/bufferToggle.js.map b/node_modules/rxjs/_esm2015/operators/bufferToggle.js.map deleted file mode 100644 index 3ffd53d8..00000000 --- a/node_modules/rxjs/_esm2015/operators/bufferToggle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"bufferToggle.js","sourceRoot":"","sources":["../../src/operators/bufferToggle.ts"],"names":[],"mappings":"OAGO,EAAE,YAAY,EAAE,MAAM,iBAAiB;OACvC,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;OAC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,CAAC,CAAC,CAAC,iBAAiB,IAAI,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC;YACnD,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;QAC5B,CAAC;QAAC,IAAI,CAAC,CAAC;YACC,iBAAkB,CAAC,OAAO,GAAG,OAAO,CAAC;YAE5C,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;YAC5B,YAAY,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QACtC,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/bufferWhen.js b/node_modules/rxjs/_esm2015/operators/bufferWhen.js deleted file mode 100644 index fa59e73a..00000000 --- a/node_modules/rxjs/_esm2015/operators/bufferWhen.js +++ /dev/null @@ -1,114 +0,0 @@ -import { Subscription } from '../Subscription'; -import { tryCatch } from '../util/tryCatch'; -import { errorObject } from '../util/errorObject'; -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/** - * Buffers the source Observable values, using a factory function of closing - * Observables to determine when to close, emit, and reset the buffer. - * - * Collects values from the past as an array. When it - * starts collecting values, it calls a function that returns an Observable that - * tells when to close the buffer and restart collecting. - * - * - * - * Opens a buffer immediately, then closes the buffer when the observable - * returned by calling `closingSelector` function emits a value. When it closes - * the buffer, it immediately opens a new buffer and repeats the process. - * - * @example Emit an array of the last clicks every [1-5] random seconds - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var buffered = clicks.bufferWhen(() => - * Rx.Observable.interval(1000 + Math.random() * 4000) - * ); - * buffered.subscribe(x => console.log(x)); - * - * @see {@link buffer} - * @see {@link bufferCount} - * @see {@link bufferTime} - * @see {@link bufferToggle} - * @see {@link windowWhen} - * - * @param {function(): Observable} closingSelector A function that takes no - * arguments and returns an Observable that signals buffer closure. - * @return {Observable} An observable of arrays of buffered values. - * @method bufferWhen - * @owner Observable - */ -export function bufferWhen(closingSelector) { - return function (source) { - return source.lift(new BufferWhenOperator(closingSelector)); - }; -} -class BufferWhenOperator { - constructor(closingSelector) { - this.closingSelector = closingSelector; - } - call(subscriber, source) { - return source.subscribe(new BufferWhenSubscriber(subscriber, this.closingSelector)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class BufferWhenSubscriber extends OuterSubscriber { - constructor(destination, closingSelector) { - super(destination); - this.closingSelector = closingSelector; - this.subscribing = false; - this.openBuffer(); - } - _next(value) { - this.buffer.push(value); - } - _complete() { - const buffer = this.buffer; - if (buffer) { - this.destination.next(buffer); - } - super._complete(); - } - _unsubscribe() { - this.buffer = null; - this.subscribing = false; - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - this.openBuffer(); - } - notifyComplete() { - if (this.subscribing) { - this.complete(); - } - else { - this.openBuffer(); - } - } - openBuffer() { - let { closingSubscription } = this; - if (closingSubscription) { - this.remove(closingSubscription); - closingSubscription.unsubscribe(); - } - const buffer = this.buffer; - if (this.buffer) { - this.destination.next(buffer); - } - this.buffer = []; - const closingNotifier = tryCatch(this.closingSelector)(); - if (closingNotifier === errorObject) { - this.error(errorObject.e); - } - else { - closingSubscription = new Subscription(); - this.closingSubscription = closingSubscription; - this.add(closingSubscription); - this.subscribing = true; - closingSubscription.add(subscribeToResult(this, closingNotifier)); - this.subscribing = false; - } - } -} -//# sourceMappingURL=bufferWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/bufferWhen.js.map b/node_modules/rxjs/_esm2015/operators/bufferWhen.js.map deleted file mode 100644 index 89e4e586..00000000 --- a/node_modules/rxjs/_esm2015/operators/bufferWhen.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"bufferWhen.js","sourceRoot":"","sources":["../../src/operators/bufferWhen.ts"],"names":[],"mappings":"OAGO,EAAE,YAAY,EAAE,MAAM,iBAAiB;OACvC,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,W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AC,CAAC,CAAC;YAClE,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC3B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/catchError.js b/node_modules/rxjs/_esm2015/operators/catchError.js deleted file mode 100644 index 7a32d7ea..00000000 --- a/node_modules/rxjs/_esm2015/operators/catchError.js +++ /dev/null @@ -1,106 +0,0 @@ -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/** - * Catches errors on the observable to be handled by returning a new observable or throwing an error. - * - * - * - * @example Continues with a different Observable when there's an error - * - * Observable.of(1, 2, 3, 4, 5) - * .map(n => { - * if (n == 4) { - * throw 'four!'; - * } - * return n; - * }) - * .catch(err => Observable.of('I', 'II', 'III', 'IV', 'V')) - * .subscribe(x => console.log(x)); - * // 1, 2, 3, I, II, III, IV, V - * - * @example Retries the caught source Observable again in case of error, similar to retry() operator - * - * Observable.of(1, 2, 3, 4, 5) - * .map(n => { - * if (n === 4) { - * throw 'four!'; - * } - * return n; - * }) - * .catch((err, caught) => caught) - * .take(30) - * .subscribe(x => console.log(x)); - * // 1, 2, 3, 1, 2, 3, ... - * - * @example Throws a new error when the source Observable throws an error - * - * Observable.of(1, 2, 3, 4, 5) - * .map(n => { - * if (n == 4) { - * throw 'four!'; - * } - * return n; - * }) - * .catch(err => { - * throw 'error in source. Details: ' + err; - * }) - * .subscribe( - * x => console.log(x), - * err => console.log(err) - * ); - * // 1, 2, 3, error in source. Details: four! - * - * @param {function} selector a function that takes as arguments `err`, which is the error, and `caught`, which - * is the source observable, in case you'd like to "retry" that observable by returning it again. Whatever observable - * is returned by the `selector` will be used to continue the observable chain. - * @return {Observable} An observable that originates from either the source or the observable returned by the - * catch `selector` function. - * @name catchError - */ -export function catchError(selector) { - return function catchErrorOperatorFunction(source) { - const operator = new CatchOperator(selector); - const caught = source.lift(operator); - return (operator.caught = caught); - }; -} -class CatchOperator { - constructor(selector) { - this.selector = selector; - } - call(subscriber, source) { - return source.subscribe(new CatchSubscriber(subscriber, this.selector, this.caught)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class CatchSubscriber extends OuterSubscriber { - constructor(destination, selector, caught) { - super(destination); - this.selector = selector; - this.caught = caught; - } - // NOTE: overriding `error` instead of `_error` because we don't want - // to have this flag this subscriber as `isStopped`. We can mimic the - // behavior of the RetrySubscriber (from the `retry` operator), where - // we unsubscribe from our source chain, reset our Subscriber flags, - // then subscribe to the selector result. - error(err) { - if (!this.isStopped) { - let result; - try { - result = this.selector(err, this.caught); - } - catch (err2) { - super.error(err2); - return; - } - this._unsubscribeAndRecycle(); - this.add(subscribeToResult(this, result)); - } - } -} -//# sourceMappingURL=catchError.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/catchError.js.map b/node_modules/rxjs/_esm2015/operators/catchError.js.map deleted file mode 100644 index dbf7fcb2..00000000 --- a/node_modules/rxjs/_esm2015/operators/catchError.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"catchError.js","sourceRoot":"","sources":["../../src/operators/catchError.ts"],"names":[],"mappings":"OAIO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAC7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAG7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,2BAAiC,QAAiE;IAChG,MAAM,CAAC,oCAAoC,MAAqB;QAC9D,MAAM,QAAQ,GAAG,IAAI,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC7C,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACrC,MAAM,CAAC,CAAC,QAAQ,CAAC,MAAM,GAAG,MAAuB,CAAC,CAAC;IACrD,CAAC,CAAC;AACJ,CAAC;AAED;IAGE,YAAoB,QAAqE;QAArE,aAAQ,GAAR,QAAQ,CAA6D;IACzF,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,eAAe,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IACvF,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,8BAAoC,eAAe;IACjD,YAAY,WAA4B,EACpB,QAAqE,EACrE,MAAqB;QACvC,MAAM,WAAW,CAAC,CAAC;QAFD,aAAQ,GAAR,QAAQ,CAA6D;QACrE,WAAM,GAAN,MAAM,CAAe;IAEzC,CAAC;IAED,qEAAqE;IACrE,qEAAqE;IACrE,qEAAqE;IACrE,oEAAoE;IACpE,yCAAyC;IACzC,KAAK,CAAC,GAAQ;QACZ,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;YACpB,IAAI,MAAW,CAAC;YAChB,IAAI,CAAC;gBACH,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;YAC3C,CAAE;YAAA,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;gBACd,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;gBAClB,MAAM,CAAC;YACT,CAAC;YACD,IAAI,CAAC,sBAAsB,EAAE,CAAC;YAC9B,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;QAC5C,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/combineAll.js b/node_modules/rxjs/_esm2015/operators/combineAll.js deleted file mode 100644 index aa581e7c..00000000 --- a/node_modules/rxjs/_esm2015/operators/combineAll.js +++ /dev/null @@ -1,5 +0,0 @@ -import { CombineLatestOperator } from '../operators/combineLatest'; -export function combineAll(project) { - return (source) => source.lift(new CombineLatestOperator(project)); -} -//# sourceMappingURL=combineAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/combineAll.js.map b/node_modules/rxjs/_esm2015/operators/combineAll.js.map deleted file mode 100644 index 60a319f5..00000000 --- a/node_modules/rxjs/_esm2015/operators/combineAll.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"combineAll.js","sourceRoot":"","sources":["../../src/operators/combineAll.ts"],"names":[],"mappings":"OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B;AAIlE,2BAAiC,OAAsC;IACrE,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,qBAAqB,CAAC,OAAO,CAAC,CAAC,CAAC;AACpF,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/combineLatest.js b/node_modules/rxjs/_esm2015/operators/combineLatest.js deleted file mode 100644 index a5b8d004..00000000 --- a/node_modules/rxjs/_esm2015/operators/combineLatest.js +++ /dev/null @@ -1,135 +0,0 @@ -import { ArrayObservable } from '../observable/ArrayObservable'; -import { isArray } from '../util/isArray'; -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -const none = {}; -/* tslint:enable:max-line-length */ -/** - * Combines multiple Observables to create an Observable whose values are - * calculated from the latest values of each of its input Observables. - * - * Whenever any input Observable emits a value, it - * computes a formula using the latest values from all the inputs, then emits - * the output of that formula. - * - * - * - * `combineLatest` combines the values from this Observable with values from - * Observables passed as arguments. This is done by subscribing to each - * Observable, in order, and collecting an array of each of the most recent - * values any time any of the input Observables emits, then either taking that - * array and passing it as arguments to an optional `project` function and - * emitting the return value of that, or just emitting the array of recent - * values directly if there is no `project` function. - * - * @example Dynamically calculate the Body-Mass Index from an Observable of weight and one for height - * var weight = Rx.Observable.of(70, 72, 76, 79, 75); - * var height = Rx.Observable.of(1.76, 1.77, 1.78); - * var bmi = weight.combineLatest(height, (w, h) => w / (h * h)); - * bmi.subscribe(x => console.log('BMI is ' + x)); - * - * // With output to console: - * // BMI is 24.212293388429753 - * // BMI is 23.93948099205209 - * // BMI is 23.671253629592222 - * - * @see {@link combineAll} - * @see {@link merge} - * @see {@link withLatestFrom} - * - * @param {ObservableInput} other An input Observable to combine with the source - * Observable. More than one input Observables may be given as argument. - * @param {function} [project] An optional function to project the values from - * the combined latest values into a new value on the output Observable. - * @return {Observable} An Observable of projected values from the most recent - * values from each input Observable, or an array of the most recent values from - * each input Observable. - * @method combineLatest - * @owner Observable - */ -export function combineLatest(...observables) { - let project = null; - if (typeof observables[observables.length - 1] === 'function') { - project = observables.pop(); - } - // if the first and only other argument besides the resultSelector is an array - // assume it's been called with `combineLatest([obs1, obs2, obs3], project)` - if (observables.length === 1 && isArray(observables[0])) { - observables = observables[0].slice(); - } - return (source) => source.lift.call(new ArrayObservable([source, ...observables]), new CombineLatestOperator(project)); -} -export class CombineLatestOperator { - constructor(project) { - this.project = project; - } - call(subscriber, source) { - return source.subscribe(new CombineLatestSubscriber(subscriber, this.project)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class CombineLatestSubscriber extends OuterSubscriber { - constructor(destination, project) { - super(destination); - this.project = project; - this.active = 0; - this.values = []; - this.observables = []; - } - _next(observable) { - this.values.push(none); - this.observables.push(observable); - } - _complete() { - const observables = this.observables; - const len = observables.length; - if (len === 0) { - this.destination.complete(); - } - else { - this.active = len; - this.toRespond = len; - for (let i = 0; i < len; i++) { - const observable = observables[i]; - this.add(subscribeToResult(this, observable, observable, i)); - } - } - } - notifyComplete(unused) { - if ((this.active -= 1) === 0) { - this.destination.complete(); - } - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - const values = this.values; - const oldVal = values[outerIndex]; - const toRespond = !this.toRespond - ? 0 - : oldVal === none ? --this.toRespond : this.toRespond; - values[outerIndex] = innerValue; - if (toRespond === 0) { - if (this.project) { - this._tryProject(values); - } - else { - this.destination.next(values.slice()); - } - } - } - _tryProject(values) { - let result; - try { - result = this.project.apply(this, values); - } - catch (err) { - this.destination.error(err); - return; - } - this.destination.next(result); - } -} -//# sourceMappingURL=combineLatest.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/combineLatest.js.map b/node_modules/rxjs/_esm2015/operators/combineLatest.js.map deleted file mode 100644 index a36d2a18..00000000 --- a/node_modules/rxjs/_esm2015/operators/combineLatest.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"combineLatest.js","sourceRoot":"","sources":["../../src/operators/combineLatest.ts"],"names":[],"mappings":"OACO,EAAE,eAAe,EAAE,MAAM,+BAA+B;OACxD,EAAE,OAAO,EAAE,MAAM,iBAAiB;OAGlC,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAG7D,MAAM,IAAI,GAAG,EAAE,CAAC;AAiBhB,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,8BAAoC,GAAG,WAE4C;IACjF,IAAI,OAAO,GAAiC,IAAI,CAAC;IACjD,EAAE,CAAC,CAAC,OAAO,WAAW,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC;QAC9D,OAAO,GAAiC,WAAW,CAAC,GAAG,EAAE,CAAC;IAC5D,CAAC;IAED,8EAA8E;IAC9E,4EAA4E;IAC5E,EAAE,CAAC,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACxD,WAAW,GAAS,WAAW,CAAC,CAAC,CAAE,CAAC,KAAK,EAAE,CAAC;IAC9C,CAAC;IAED,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,eAAe,CAAC,CAAC,MAAM,EAAE,GAAG,WAAW,CAAC,CAAC,EAA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C,GAAG,CAAC,CAAC;YAC5B,MAAM,CAAC;QACT,CAAC;QACD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/concat.js b/node_modules/rxjs/_esm2015/operators/concat.js deleted file mode 100644 index 5784eb6e..00000000 --- a/node_modules/rxjs/_esm2015/operators/concat.js +++ /dev/null @@ -1,56 +0,0 @@ -import { concat as concatStatic } from '../observable/concat'; -export { concat as concatStatic } from '../observable/concat'; -/* tslint:enable:max-line-length */ -/** - * Creates an output Observable which sequentially emits all values from every - * given input Observable after the current Observable. - * - * Concatenates multiple Observables together by - * sequentially emitting their values, one Observable after the other. - * - * - * - * Joins this Observable with multiple other Observables by subscribing to them - * one at a time, starting with the source, and merging their results into the - * output Observable. Will wait for each Observable to complete before moving - * on to the next. - * - * @example Concatenate a timer counting from 0 to 3 with a synchronous sequence from 1 to 10 - * var timer = Rx.Observable.interval(1000).take(4); - * var sequence = Rx.Observable.range(1, 10); - * var result = timer.concat(sequence); - * result.subscribe(x => console.log(x)); - * - * // results in: - * // 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 -immediate-> 1 ... 10 - * - * @example Concatenate 3 Observables - * var timer1 = Rx.Observable.interval(1000).take(10); - * var timer2 = Rx.Observable.interval(2000).take(6); - * var timer3 = Rx.Observable.interval(500).take(10); - * var result = timer1.concat(timer2, timer3); - * result.subscribe(x => console.log(x)); - * - * // results in the following: - * // (Prints to console sequentially) - * // -1000ms-> 0 -1000ms-> 1 -1000ms-> ... 9 - * // -2000ms-> 0 -2000ms-> 1 -2000ms-> ... 5 - * // -500ms-> 0 -500ms-> 1 -500ms-> ... 9 - * - * @see {@link concatAll} - * @see {@link concatMap} - * @see {@link concatMapTo} - * - * @param {ObservableInput} other An input Observable to concatenate after the source - * Observable. More than one input Observables may be given as argument. - * @param {Scheduler} [scheduler=null] An optional IScheduler to schedule each - * Observable subscription on. - * @return {Observable} All values of each passed Observable merged into a - * single Observable, in order, in serial fashion. - * @method concat - * @owner Observable - */ -export function concat(...observables) { - return (source) => source.lift.call(concatStatic(source, ...observables)); -} -//# sourceMappingURL=concat.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/concat.js.map b/node_modules/rxjs/_esm2015/operators/concat.js.map deleted file mode 100644 index 043a4e9f..00000000 --- a/node_modules/rxjs/_esm2015/operators/concat.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"concat.js","sourceRoot":"","sources":["../../src/operators/concat.ts"],"names":[],"mappings":"OAGO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,sBAAsB;AAE7D,SAAS,MAAM,IAAI,YAAY,QAAQ,sBAAsB,CAAC;AAW9D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,uBAA6B,GAAG,WAAqD;IACnF,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAO,MAAM,EAAE,GAAG,WAAW,CAAC,CAAC,CAAC;AACjG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/concatAll.js b/node_modules/rxjs/_esm2015/operators/concatAll.js deleted file mode 100644 index 07ace5b0..00000000 --- a/node_modules/rxjs/_esm2015/operators/concatAll.js +++ /dev/null @@ -1,53 +0,0 @@ -import { mergeAll } from './mergeAll'; -/** - * Converts a higher-order Observable into a first-order Observable by - * concatenating the inner Observables in order. - * - * Flattens an Observable-of-Observables by putting one - * inner Observable after the other. - * - * - * - * Joins every Observable emitted by the source (a higher-order Observable), in - * a serial fashion. It subscribes to each inner Observable only after the - * previous inner Observable has completed, and merges all of their values into - * the returned observable. - * - * __Warning:__ If the source Observable emits Observables quickly and - * endlessly, and the inner Observables it emits generally complete slower than - * the source emits, you can run into memory issues as the incoming Observables - * collect in an unbounded buffer. - * - * Note: `concatAll` is equivalent to `mergeAll` with concurrency parameter set - * to `1`. - * - * @example For each click event, tick every second from 0 to 3, with no concurrency - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var higherOrder = clicks.map(ev => Rx.Observable.interval(1000).take(4)); - * var firstOrder = higherOrder.concatAll(); - * firstOrder.subscribe(x => console.log(x)); - * - * // Results in the following: - * // (results are not concurrent) - * // For every click on the "document" it will emit values 0 to 3 spaced - * // on a 1000ms interval - * // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 - * - * @see {@link combineAll} - * @see {@link concat} - * @see {@link concatMap} - * @see {@link concatMapTo} - * @see {@link exhaust} - * @see {@link mergeAll} - * @see {@link switch} - * @see {@link zipAll} - * - * @return {Observable} An Observable emitting values from all the inner - * Observables concatenated. - * @method concatAll - * @owner Observable - */ -export function concatAll() { - return mergeAll(1); -} -//# sourceMappingURL=concatAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/concatAll.js.map b/node_modules/rxjs/_esm2015/operators/concatAll.js.map deleted file mode 100644 index a45ad9ff..00000000 --- a/node_modules/rxjs/_esm2015/operators/concatAll.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"concatAll.js","sourceRoot":"","sources":["../../src/operators/concatAll.ts"],"names":[],"mappings":"OACO,EAAE,QAAQ,EAAE,MAAM,YAAY;AAGrC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH;IACE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/concatMap.js b/node_modules/rxjs/_esm2015/operators/concatMap.js deleted file mode 100644 index efce9434..00000000 --- a/node_modules/rxjs/_esm2015/operators/concatMap.js +++ /dev/null @@ -1,65 +0,0 @@ -import { mergeMap } from './mergeMap'; -/* tslint:enable:max-line-length */ -/** - * Projects each source value to an Observable which is merged in the output - * Observable, in a serialized fashion waiting for each one to complete before - * merging the next. - * - * Maps each value to an Observable, then flattens all of - * these inner Observables using {@link concatAll}. - * - * - * - * Returns an Observable that emits items based on applying a function that you - * supply to each item emitted by the source Observable, where that function - * returns an (so-called "inner") Observable. Each new inner Observable is - * concatenated with the previous inner Observable. - * - * __Warning:__ if source values arrive endlessly and faster than their - * corresponding inner Observables can complete, it will result in memory issues - * as inner Observables amass in an unbounded buffer waiting for their turn to - * be subscribed to. - * - * Note: `concatMap` is equivalent to `mergeMap` with concurrency parameter set - * to `1`. - * - * @example For each click event, tick every second from 0 to 3, with no concurrency - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.concatMap(ev => Rx.Observable.interval(1000).take(4)); - * result.subscribe(x => console.log(x)); - * - * // Results in the following: - * // (results are not concurrent) - * // For every click on the "document" it will emit values 0 to 3 spaced - * // on a 1000ms interval - * // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 - * - * @see {@link concat} - * @see {@link concatAll} - * @see {@link concatMapTo} - * @see {@link exhaustMap} - * @see {@link mergeMap} - * @see {@link switchMap} - * - * @param {function(value: T, ?index: number): ObservableInput} project A function - * that, when applied to an item emitted by the source Observable, returns an - * Observable. - * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] - * A function to produce the value on the output Observable based on the values - * and the indices of the source (outer) emission and the inner Observable - * emission. The arguments passed to this function are: - * - `outerValue`: the value that came from the source - * - `innerValue`: the value that came from the projected Observable - * - `outerIndex`: the "index" of the value that came from the source - * - `innerIndex`: the "index" of the value from the projected Observable - * @return {Observable} An Observable that emits the result of applying the - * projection function (and the optional `resultSelector`) to each item emitted - * by the source Observable and taking values from each projected inner - * Observable sequentially. - * @method concatMap - * @owner Observable - */ -export function concatMap(project, resultSelector) { - return mergeMap(project, resultSelector, 1); -} -//# sourceMappingURL=concatMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/concatMap.js.map b/node_modules/rxjs/_esm2015/operators/concatMap.js.map deleted file mode 100644 index c7ffe1b6..00000000 --- a/node_modules/rxjs/_esm2015/operators/concatMap.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"concatMap.js","sourceRoot":"","sources":["../../src/operators/concatMap.ts"],"names":[],"mappings":"OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY;AAOrC,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,0BAAmC,OAAyD,EACzD,cAA4F;IAC7H,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC;AAC9C,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/concatMapTo.js b/node_modules/rxjs/_esm2015/operators/concatMapTo.js deleted file mode 100644 index 48a3d047..00000000 --- a/node_modules/rxjs/_esm2015/operators/concatMapTo.js +++ /dev/null @@ -1,62 +0,0 @@ -import { concatMap } from './concatMap'; -/* tslint:enable:max-line-length */ -/** - * Projects each source value to the same Observable which is merged multiple - * times in a serialized fashion on the output Observable. - * - * It's like {@link concatMap}, but maps each value - * always to the same inner Observable. - * - * - * - * Maps each source value to the given Observable `innerObservable` regardless - * of the source value, and then flattens those resulting Observables into one - * single Observable, which is the output Observable. Each new `innerObservable` - * instance emitted on the output Observable is concatenated with the previous - * `innerObservable` instance. - * - * __Warning:__ if source values arrive endlessly and faster than their - * corresponding inner Observables can complete, it will result in memory issues - * as inner Observables amass in an unbounded buffer waiting for their turn to - * be subscribed to. - * - * Note: `concatMapTo` is equivalent to `mergeMapTo` with concurrency parameter - * set to `1`. - * - * @example For each click event, tick every second from 0 to 3, with no concurrency - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.concatMapTo(Rx.Observable.interval(1000).take(4)); - * result.subscribe(x => console.log(x)); - * - * // Results in the following: - * // (results are not concurrent) - * // For every click on the "document" it will emit values 0 to 3 spaced - * // on a 1000ms interval - * // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 - * - * @see {@link concat} - * @see {@link concatAll} - * @see {@link concatMap} - * @see {@link mergeMapTo} - * @see {@link switchMapTo} - * - * @param {ObservableInput} innerObservable An Observable to replace each value from - * the source Observable. - * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] - * A function to produce the value on the output Observable based on the values - * and the indices of the source (outer) emission and the inner Observable - * emission. The arguments passed to this function are: - * - `outerValue`: the value that came from the source - * - `innerValue`: the value that came from the projected Observable - * - `outerIndex`: the "index" of the value that came from the source - * - `innerIndex`: the "index" of the value from the projected Observable - * @return {Observable} An observable of values merged together by joining the - * passed observable with itself, one after the other, for each value emitted - * from the source. - * @method concatMapTo - * @owner Observable - */ -export function concatMapTo(innerObservable, resultSelector) { - return concatMap(() => innerObservable, resultSelector); -} -//# sourceMappingURL=concatMapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/concatMapTo.js.map b/node_modules/rxjs/_esm2015/operators/concatMapTo.js.map deleted file mode 100644 index f827b97d..00000000 --- a/node_modules/rxjs/_esm2015/operators/concatMapTo.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"concatMapTo.js","sourceRoot":"","sources":["../../src/operators/concatMapTo.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,EAAE,MAAM,aAAa;AAMvC,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,4BACE,eAA8B,EAC9B,cAA4F;IAE5F,MAAM,CAAC,SAAS,CAAC,MAAM,eAAe,EAAE,cAAc,CAAC,CAAC;AAC1D,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/count.js b/node_modules/rxjs/_esm2015/operators/count.js deleted file mode 100644 index b46e7070..00000000 --- a/node_modules/rxjs/_esm2015/operators/count.js +++ /dev/null @@ -1,101 +0,0 @@ -import { Subscriber } from '../Subscriber'; -/** - * Counts the number of emissions on the source and emits that number when the - * source completes. - * - * Tells how many values were emitted, when the source - * completes. - * - * - * - * `count` transforms an Observable that emits values into an Observable that - * emits a single value that represents the number of values emitted by the - * source Observable. If the source Observable terminates with an error, `count` - * will pass this error notification along without emitting a value first. If - * the source Observable does not terminate at all, `count` will neither emit - * a value nor terminate. This operator takes an optional `predicate` function - * as argument, in which case the output emission will represent the number of - * source values that matched `true` with the `predicate`. - * - * @example Counts how many seconds have passed before the first click happened - * var seconds = Rx.Observable.interval(1000); - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var secondsBeforeClick = seconds.takeUntil(clicks); - * var result = secondsBeforeClick.count(); - * result.subscribe(x => console.log(x)); - * - * @example Counts how many odd numbers are there between 1 and 7 - * var numbers = Rx.Observable.range(1, 7); - * var result = numbers.count(i => i % 2 === 1); - * result.subscribe(x => console.log(x)); - * - * // Results in: - * // 4 - * - * @see {@link max} - * @see {@link min} - * @see {@link reduce} - * - * @param {function(value: T, i: number, source: Observable): boolean} [predicate] A - * boolean function to select what values are to be counted. It is provided with - * arguments of: - * - `value`: the value from the source Observable. - * - `index`: the (zero-based) "index" of the value from the source Observable. - * - `source`: the source Observable instance itself. - * @return {Observable} An Observable of one number that represents the count as - * described above. - * @method count - * @owner Observable - */ -export function count(predicate) { - return (source) => source.lift(new CountOperator(predicate, source)); -} -class CountOperator { - constructor(predicate, source) { - this.predicate = predicate; - this.source = source; - } - call(subscriber, source) { - return source.subscribe(new CountSubscriber(subscriber, this.predicate, this.source)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class CountSubscriber extends Subscriber { - constructor(destination, predicate, source) { - super(destination); - this.predicate = predicate; - this.source = source; - this.count = 0; - this.index = 0; - } - _next(value) { - if (this.predicate) { - this._tryPredicate(value); - } - else { - this.count++; - } - } - _tryPredicate(value) { - let result; - try { - result = this.predicate(value, this.index++, this.source); - } - catch (err) { - this.destination.error(err); - return; - } - if (result) { - this.count++; - } - } - _complete() { - this.destination.next(this.count); - this.destination.complete(); - } -} -//# sourceMappingURL=count.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/count.js.map b/node_modules/rxjs/_esm2015/operators/count.js.map deleted file mode 100644 index 40cd8231..00000000 --- a/node_modules/rxjs/_esm2015/operators/count.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"count.js","sourceRoot":"","sources":["../../src/operators/count.ts"],"names":[],"mappings":"OAGO,EAAE,UAAU,EAAE,MAAM,eAAe;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,sBAAyB,SAAuE;IAC9F,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC;AACtF,CAAC;AAED;IACE,YAAoB,SAAuE,EACvE,MAAsB;QADtB,cAAS,GAAT,SAAS,CAA8D;QACvE,WAAM,GAAN,MAAM,CAAgB;IAC1C,CAAC;IAED,IAAI,CAAC,UAA8B,EAAE,MAAW;QAC9C,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,eAAe,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IACxF,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,8BAAiC,UAAU;IAIzC,YAAY,WAA6B,EACrB,SAAuE,EACvE,MAAsB;QACxC,MAAM,WAAW,CAAC,CAAC;QAFD,cAAS,GAAT,SAAS,CAA8D;QACvE,WAAM,GAAN,MAAM,CAAgB;QALlC,UAAK,GAAW,CAAC,CAAC;QAClB,UAAK,GAAW,CAAC,CAAC;IAM1B,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;YACnB,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;QAC5B,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,IAAI,CAAC,KAAK,EAAE,CAAC;QACf,CAAC;IACH,CAAC;IAEO,aAAa,CAAC,KAAQ;QAC5B,IAAI,MAAW,CAAC;QAEhB,IAAI,CAAC;YACH,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAC5D,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,MAAM,CAAC;QACT,CAAC;QAED,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;YACX,IAAI,CAAC,KAAK,EAAE,CAAC;QACf,CAAC;IACH,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAClC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/debounce.js b/node_modules/rxjs/_esm2015/operators/debounce.js deleted file mode 100644 index 27cd9def..00000000 --- a/node_modules/rxjs/_esm2015/operators/debounce.js +++ /dev/null @@ -1,117 +0,0 @@ -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/** - * Emits a value from the source Observable only after a particular time span - * determined by another Observable has passed without another source emission. - * - * It's like {@link debounceTime}, but the time span of - * emission silence is determined by a second Observable. - * - * - * - * `debounce` delays values emitted by the source Observable, but drops previous - * pending delayed emissions if a new value arrives on the source Observable. - * This operator keeps track of the most recent value from the source - * Observable, and spawns a duration Observable by calling the - * `durationSelector` function. The value is emitted only when the duration - * Observable emits a value or completes, and if no other value was emitted on - * the source Observable since the duration Observable was spawned. If a new - * value appears before the duration Observable emits, the previous value will - * be dropped and will not be emitted on the output Observable. - * - * Like {@link debounceTime}, this is a rate-limiting operator, and also a - * delay-like operator since output emissions do not necessarily occur at the - * same time as they did on the source Observable. - * - * @example Emit the most recent click after a burst of clicks - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.debounce(() => Rx.Observable.interval(1000)); - * result.subscribe(x => console.log(x)); - * - * @see {@link audit} - * @see {@link debounceTime} - * @see {@link delayWhen} - * @see {@link throttle} - * - * @param {function(value: T): SubscribableOrPromise} durationSelector A function - * that receives a value from the source Observable, for computing the timeout - * duration for each source value, returned as an Observable or a Promise. - * @return {Observable} An Observable that delays the emissions of the source - * Observable by the specified duration Observable returned by - * `durationSelector`, and may drop some values if they occur too frequently. - * @method debounce - * @owner Observable - */ -export function debounce(durationSelector) { - return (source) => source.lift(new DebounceOperator(durationSelector)); -} -class DebounceOperator { - constructor(durationSelector) { - this.durationSelector = durationSelector; - } - call(subscriber, source) { - return source.subscribe(new DebounceSubscriber(subscriber, this.durationSelector)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class DebounceSubscriber extends OuterSubscriber { - constructor(destination, durationSelector) { - super(destination); - this.durationSelector = durationSelector; - this.hasValue = false; - this.durationSubscription = null; - } - _next(value) { - try { - const result = this.durationSelector.call(this, value); - if (result) { - this._tryNext(value, result); - } - } - catch (err) { - this.destination.error(err); - } - } - _complete() { - this.emitValue(); - this.destination.complete(); - } - _tryNext(value, duration) { - let subscription = this.durationSubscription; - this.value = value; - this.hasValue = true; - if (subscription) { - subscription.unsubscribe(); - this.remove(subscription); - } - subscription = subscribeToResult(this, duration); - if (!subscription.closed) { - this.add(this.durationSubscription = subscription); - } - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - this.emitValue(); - } - notifyComplete() { - this.emitValue(); - } - emitValue() { - if (this.hasValue) { - const value = this.value; - const subscription = this.durationSubscription; - if (subscription) { - this.durationSubscription = null; - subscription.unsubscribe(); - this.remove(subscription); - } - this.value = null; - this.hasValue = false; - super._next(value); - } - } -} -//# sourceMappingURL=debounce.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/debounce.js.map b/node_modules/rxjs/_esm2015/operators/debounce.js.map deleted file mode 100644 index 8f6bb361..00000000 --- a/node_modules/rxjs/_esm2015/operators/debounce.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"debounce.js","sourceRoot":"","sources":["../../src/operators/debounce.ts"],"names":[],"mappings":"OAKO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAG7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,yBAA4B,gBAA6D;IACvF,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,gBAAgB,CAAC,gBAAgB,CAAC,CAAC,CAAC;AACxF,CAAC;AAED;IACE,YAAoB,gBAA6D;QAA7D,qBAAgB,GAAhB,gBAAgB,CAA6C;IACjF,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,kBAAkB,CAAC,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;IACrF,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,iCAAuC,eAAe;IAKpD,YAAY,WAA0B,EAClB,gBAA6D;QAC/E,MAAM,WAAW,CAAC,CAAC;QADD,qBAAgB,GAAhB,gBAAgB,CAA6C;QAJzE,aAAQ,GAAY,KAAK,CAAC;QAC1B,yBAAoB,GAAiB,IAAI,CAAC;IAKlD,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,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;YACzB,MAAM,YAAY,GAAG,IAAI,CAAC,oBAAoB,CAAC;YAC/C,EAAE,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC;gBACjB,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;gBACjC,YAAY,CAAC,WAAW,EAAE,CAAC;gBAC3B,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;YAC5B,CAAC;YACD,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;YAClB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACrB,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/debounceTime.js b/node_modules/rxjs/_esm2015/operators/debounceTime.js deleted file mode 100644 index fbe84af3..00000000 --- a/node_modules/rxjs/_esm2015/operators/debounceTime.js +++ /dev/null @@ -1,105 +0,0 @@ -import { Subscriber } from '../Subscriber'; -import { async } from '../scheduler/async'; -/** - * Emits a value from the source Observable only after a particular time span - * has passed without another source emission. - * - * It's like {@link delay}, but passes only the most - * recent value from each burst of emissions. - * - * - * - * `debounceTime` delays values emitted by the source Observable, but drops - * previous pending delayed emissions if a new value arrives on the source - * Observable. This operator keeps track of the most recent value from the - * source Observable, and emits that only when `dueTime` enough time has passed - * without any other value appearing on the source Observable. If a new value - * appears before `dueTime` silence occurs, the previous value will be dropped - * and will not be emitted on the output Observable. - * - * This is a rate-limiting operator, because it is impossible for more than one - * value to be emitted in any time window of duration `dueTime`, but it is also - * a delay-like operator since output emissions do not occur at the same time as - * they did on the source Observable. Optionally takes a {@link IScheduler} for - * managing timers. - * - * @example Emit the most recent click after a burst of clicks - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.debounceTime(1000); - * result.subscribe(x => console.log(x)); - * - * @see {@link auditTime} - * @see {@link debounce} - * @see {@link delay} - * @see {@link sampleTime} - * @see {@link throttleTime} - * - * @param {number} dueTime The timeout duration in milliseconds (or the time - * unit determined internally by the optional `scheduler`) for the window of - * time required to wait for emission silence before emitting the most recent - * source value. - * @param {Scheduler} [scheduler=async] The {@link IScheduler} to use for - * managing the timers that handle the timeout for each value. - * @return {Observable} An Observable that delays the emissions of the source - * Observable by the specified `dueTime`, and may drop some values if they occur - * too frequently. - * @method debounceTime - * @owner Observable - */ -export function debounceTime(dueTime, scheduler = async) { - return (source) => source.lift(new DebounceTimeOperator(dueTime, scheduler)); -} -class DebounceTimeOperator { - constructor(dueTime, scheduler) { - this.dueTime = dueTime; - this.scheduler = scheduler; - } - call(subscriber, source) { - return source.subscribe(new DebounceTimeSubscriber(subscriber, this.dueTime, this.scheduler)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class DebounceTimeSubscriber extends Subscriber { - constructor(destination, dueTime, scheduler) { - super(destination); - this.dueTime = dueTime; - this.scheduler = scheduler; - this.debouncedSubscription = null; - this.lastValue = null; - this.hasValue = false; - } - _next(value) { - this.clearDebounce(); - this.lastValue = value; - this.hasValue = true; - this.add(this.debouncedSubscription = this.scheduler.schedule(dispatchNext, this.dueTime, this)); - } - _complete() { - this.debouncedNext(); - this.destination.complete(); - } - debouncedNext() { - this.clearDebounce(); - if (this.hasValue) { - this.destination.next(this.lastValue); - this.lastValue = null; - this.hasValue = false; - } - } - clearDebounce() { - const debouncedSubscription = this.debouncedSubscription; - if (debouncedSubscription !== null) { - this.remove(debouncedSubscription); - debouncedSubscription.unsubscribe(); - this.debouncedSubscription = null; - } - } -} -function dispatchNext(subscriber) { - subscriber.debouncedNext(); -} -//# sourceMappingURL=debounceTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/debounceTime.js.map b/node_modules/rxjs/_esm2015/operators/debounceTime.js.map deleted file mode 100644 index 6d482a7c..00000000 --- a/node_modules/rxjs/_esm2015/operators/debounceTime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"debounceTime.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I,CAAC,CAAC,CAAC;IACnG,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,aAAa,EAAE,CAAC;QACrB,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;IAED,aAAa;QACX,IAAI,CAAC,aAAa,EAAE,CAAC;QAErB,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YAClB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YACtC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;YACtB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;QACxB,CAAC;IACH,CAAC;IAEO,aAAa;QACnB,MAAM,qBAAqB,GAAG,IAAI,CAAC,qBAAqB,CAAC;QAEzD,EAAE,CAAC,CAAC,qBAAqB,KAAK,IAAI,CAAC,CAAC,CAAC;YACnC,IAAI,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;YACnC,qBAAqB,CAAC,WAAW,EAAE,CAAC;YACpC,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC;QACpC,CAAC;IACH,CAAC;AACH,CAAC;AAED,sBAAsB,UAAuC;IAC3D,UAAU,CAAC,aAAa,EAAE,CAAC;AAC7B,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/defaultIfEmpty.js b/node_modules/rxjs/_esm2015/operators/defaultIfEmpty.js deleted file mode 100644 index 1b0b255e..00000000 --- a/node_modules/rxjs/_esm2015/operators/defaultIfEmpty.js +++ /dev/null @@ -1,66 +0,0 @@ -import { Subscriber } from '../Subscriber'; -/* tslint:enable:max-line-length */ -/** - * Emits a given value if the source Observable completes without emitting any - * `next` value, otherwise mirrors the source Observable. - * - * If the source Observable turns out to be empty, then - * this operator will emit a default value. - * - * - * - * `defaultIfEmpty` emits the values emitted by the source Observable or a - * specified default value if the source Observable is empty (completes without - * having emitted any `next` value). - * - * @example If no clicks happen in 5 seconds, then emit "no clicks" - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var clicksBeforeFive = clicks.takeUntil(Rx.Observable.interval(5000)); - * var result = clicksBeforeFive.defaultIfEmpty('no clicks'); - * result.subscribe(x => console.log(x)); - * - * @see {@link empty} - * @see {@link last} - * - * @param {any} [defaultValue=null] The default value used if the source - * Observable is empty. - * @return {Observable} An Observable that emits either the specified - * `defaultValue` if the source Observable emits no items, or the values emitted - * by the source Observable. - * @method defaultIfEmpty - * @owner Observable - */ -export function defaultIfEmpty(defaultValue = null) { - return (source) => source.lift(new DefaultIfEmptyOperator(defaultValue)); -} -class DefaultIfEmptyOperator { - constructor(defaultValue) { - this.defaultValue = defaultValue; - } - call(subscriber, source) { - return source.subscribe(new DefaultIfEmptySubscriber(subscriber, this.defaultValue)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class DefaultIfEmptySubscriber extends Subscriber { - constructor(destination, defaultValue) { - super(destination); - this.defaultValue = defaultValue; - this.isEmpty = true; - } - _next(value) { - this.isEmpty = false; - this.destination.next(value); - } - _complete() { - if (this.isEmpty) { - this.destination.next(this.defaultValue); - } - this.destination.complete(); - } -} -//# sourceMappingURL=defaultIfEmpty.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/defaultIfEmpty.js.map b/node_modules/rxjs/_esm2015/operators/defaultIfEmpty.js.map deleted file mode 100644 index ee93ac5d..00000000 --- a/node_modules/rxjs/_esm2015/operators/defaultIfEmpty.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"defaultIfEmpty.js","sourceRoot":"","sources":["../../src/operators/defaultIfEmpty.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;AAM1C,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,+BAAqC,YAAY,GAAM,IAAI;IACzD,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,sBAAsB,CAAC,YAAY,CAAC,CAAsB,CAAC;AAC/G,CAAC;AAED;IAEE,YAAoB,YAAe;QAAf,iBAAY,GAAZ,YAAY,CAAG;IACnC,CAAC;IAED,IAAI,CAAC,UAA6B,EAAE,MAAW;QAC7C,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,wBAAwB,CAAC,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IACvF,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,uCAA6C,UAAU;IAGrD,YAAY,WAA8B,EAAU,YAAe;QACjE,MAAM,WAAW,CAAC,CAAC;QAD+B,iBAAY,GAAZ,YAAY,CAAG;QAF3D,YAAO,GAAY,IAAI,CAAC;IAIhC,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACrB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAES,SAAS;QACjB,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;YACjB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC3C,CAAC;QACD,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/delay.js b/node_modules/rxjs/_esm2015/operators/delay.js deleted file mode 100644 index 40ec5eca..00000000 --- a/node_modules/rxjs/_esm2015/operators/delay.js +++ /dev/null @@ -1,123 +0,0 @@ -import { async } from '../scheduler/async'; -import { isDate } from '../util/isDate'; -import { Subscriber } from '../Subscriber'; -import { Notification } from '../Notification'; -/** - * Delays the emission of items from the source Observable by a given timeout or - * until a given Date. - * - * Time shifts each item by some specified amount of - * milliseconds. - * - * - * - * If the delay argument is a Number, this operator time shifts the source - * Observable by that amount of time expressed in milliseconds. The relative - * time intervals between the values are preserved. - * - * If the delay argument is a Date, this operator time shifts the start of the - * Observable execution until the given date occurs. - * - * @example Delay each click by one second - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var delayedClicks = clicks.delay(1000); // each click emitted after 1 second - * delayedClicks.subscribe(x => console.log(x)); - * - * @example Delay all clicks until a future date happens - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var date = new Date('March 15, 2050 12:00:00'); // in the future - * var delayedClicks = clicks.delay(date); // click emitted only after that date - * delayedClicks.subscribe(x => console.log(x)); - * - * @see {@link debounceTime} - * @see {@link delayWhen} - * - * @param {number|Date} delay The delay duration in milliseconds (a `number`) or - * a `Date` until which the emission of the source items is delayed. - * @param {Scheduler} [scheduler=async] The IScheduler to use for - * managing the timers that handle the time-shift for each item. - * @return {Observable} An Observable that delays the emissions of the source - * Observable by the specified timeout or Date. - * @method delay - * @owner Observable - */ -export function delay(delay, scheduler = async) { - const absoluteDelay = isDate(delay); - const delayFor = absoluteDelay ? (+delay - scheduler.now()) : Math.abs(delay); - return (source) => source.lift(new DelayOperator(delayFor, scheduler)); -} -class DelayOperator { - constructor(delay, scheduler) { - this.delay = delay; - this.scheduler = scheduler; - } - call(subscriber, source) { - return source.subscribe(new DelaySubscriber(subscriber, this.delay, this.scheduler)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class DelaySubscriber extends Subscriber { - constructor(destination, delay, scheduler) { - super(destination); - this.delay = delay; - this.scheduler = scheduler; - this.queue = []; - this.active = false; - this.errored = false; - } - static dispatch(state) { - const source = state.source; - const queue = source.queue; - const scheduler = state.scheduler; - const destination = state.destination; - while (queue.length > 0 && (queue[0].time - scheduler.now()) <= 0) { - queue.shift().notification.observe(destination); - } - if (queue.length > 0) { - const delay = Math.max(0, queue[0].time - scheduler.now()); - this.schedule(state, delay); - } - else { - source.active = false; - } - } - _schedule(scheduler) { - this.active = true; - this.add(scheduler.schedule(DelaySubscriber.dispatch, this.delay, { - source: this, destination: this.destination, scheduler: scheduler - })); - } - scheduleNotification(notification) { - if (this.errored === true) { - return; - } - const scheduler = this.scheduler; - const message = new DelayMessage(scheduler.now() + this.delay, notification); - this.queue.push(message); - if (this.active === false) { - this._schedule(scheduler); - } - } - _next(value) { - this.scheduleNotification(Notification.createNext(value)); - } - _error(err) { - this.errored = true; - this.queue = []; - this.destination.error(err); - } - _complete() { - this.scheduleNotification(Notification.createComplete()); - } -} -class DelayMessage { - constructor(time, notification) { - this.time = time; - this.notification = notification; - } -} -//# sourceMappingURL=delay.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/delay.js.map b/node_modules/rxjs/_esm2015/operators/delay.js.map deleted file mode 100644 index e17e3955..00000000 --- a/node_modules/rxjs/_esm2015/operators/delay.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"delay.js","sourceRoot":"","sources":["../../src/operators/delay.ts"],"names":[],"mappings":"OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OACnC,EAAE,MAAM,EAAE,MAAM,gBAAgB;OAGhC,EAAE,UAAU,EAAE,MAAM,eAAe;OAEnC,EAAE,YAAY,EAAE,MAAM,iBAAiB;AAM9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,sBAAyB,KAAkB,EAClB,SAAS,GAAe,KAAK;IACpD,MAAM,aAAa,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,MAAM,QAAQ,GAAG,aAAa,GAAG,CAAC,CAAC,KAAK,GAAG,SAAS,CAAC,GAAG,EAAE,CAAC,GAAG,IAAI,CAAC,GAAG,CAAS,KAAK,CAAC,CAAC;IACtF,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC;AACxF,CAAC;AAED;IACE,YAAoB,KAAa,EACb,SAAqB;QADrB,UAAK,GAAL,KAAK,CAAQ;QACb,cAAS,GAA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oBAAoB,CAAC,YAAY,CAAC,cAAc,EAAE,CAAC,CAAC;IAC3D,CAAC;AACH,CAAC;AAED;IACE,YAA4B,IAAY,EACZ,YAA6B;QAD7B,SAAI,GAAJ,IAAI,CAAQ;QACZ,iBAAY,GAAZ,YAAY,CAAiB;IACzD,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/delayWhen.js b/node_modules/rxjs/_esm2015/operators/delayWhen.js deleted file mode 100644 index 089e3ede..00000000 --- a/node_modules/rxjs/_esm2015/operators/delayWhen.js +++ /dev/null @@ -1,178 +0,0 @@ -import { Subscriber } from '../Subscriber'; -import { Observable } from '../Observable'; -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/** - * Delays the emission of items from the source Observable by a given time span - * determined by the emissions of another Observable. - * - * It's like {@link delay}, but the time span of the - * delay duration is determined by a second Observable. - * - * - * - * `delayWhen` time shifts each emitted value from the source Observable by a - * time span determined by another Observable. When the source emits a value, - * the `delayDurationSelector` function is called with the source value as - * argument, and should return an Observable, called the "duration" Observable. - * The source value is emitted on the output Observable only when the duration - * Observable emits a value or completes. - * - * Optionally, `delayWhen` takes a second argument, `subscriptionDelay`, which - * is an Observable. When `subscriptionDelay` emits its first value or - * completes, the source Observable is subscribed to and starts behaving like - * described in the previous paragraph. If `subscriptionDelay` is not provided, - * `delayWhen` will subscribe to the source Observable as soon as the output - * Observable is subscribed. - * - * @example Delay each click by a random amount of time, between 0 and 5 seconds - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var delayedClicks = clicks.delayWhen(event => - * Rx.Observable.interval(Math.random() * 5000) - * ); - * delayedClicks.subscribe(x => console.log(x)); - * - * @see {@link debounce} - * @see {@link delay} - * - * @param {function(value: T): Observable} delayDurationSelector A function that - * returns an Observable for each value emitted by the source Observable, which - * is then used to delay the emission of that item on the output Observable - * until the Observable returned from this function emits a value. - * @param {Observable} subscriptionDelay An Observable that triggers the - * subscription to the source Observable once it emits any value. - * @return {Observable} An Observable that delays the emissions of the source - * Observable by an amount of time specified by the Observable returned by - * `delayDurationSelector`. - * @method delayWhen - * @owner Observable - */ -export function delayWhen(delayDurationSelector, subscriptionDelay) { - if (subscriptionDelay) { - return (source) => new SubscriptionDelayObservable(source, subscriptionDelay) - .lift(new DelayWhenOperator(delayDurationSelector)); - } - return (source) => source.lift(new DelayWhenOperator(delayDurationSelector)); -} -class DelayWhenOperator { - constructor(delayDurationSelector) { - this.delayDurationSelector = delayDurationSelector; - } - call(subscriber, source) { - return source.subscribe(new DelayWhenSubscriber(subscriber, this.delayDurationSelector)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class DelayWhenSubscriber extends OuterSubscriber { - constructor(destination, delayDurationSelector) { - super(destination); - this.delayDurationSelector = delayDurationSelector; - this.completed = false; - this.delayNotifierSubscriptions = []; - this.values = []; - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - this.destination.next(outerValue); - this.removeSubscription(innerSub); - this.tryComplete(); - } - notifyError(error, innerSub) { - this._error(error); - } - notifyComplete(innerSub) { - const value = this.removeSubscription(innerSub); - if (value) { - this.destination.next(value); - } - this.tryComplete(); - } - _next(value) { - try { - const delayNotifier = this.delayDurationSelector(value); - if (delayNotifier) { - this.tryDelay(delayNotifier, value); - } - } - catch (err) { - this.destination.error(err); - } - } - _complete() { - this.completed = true; - this.tryComplete(); - } - removeSubscription(subscription) { - subscription.unsubscribe(); - const subscriptionIdx = this.delayNotifierSubscriptions.indexOf(subscription); - let value = null; - if (subscriptionIdx !== -1) { - value = this.values[subscriptionIdx]; - this.delayNotifierSubscriptions.splice(subscriptionIdx, 1); - this.values.splice(subscriptionIdx, 1); - } - return value; - } - tryDelay(delayNotifier, value) { - const notifierSubscription = subscribeToResult(this, delayNotifier, value); - if (notifierSubscription && !notifierSubscription.closed) { - this.add(notifierSubscription); - this.delayNotifierSubscriptions.push(notifierSubscription); - } - this.values.push(value); - } - tryComplete() { - if (this.completed && this.delayNotifierSubscriptions.length === 0) { - this.destination.complete(); - } - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class SubscriptionDelayObservable extends Observable { - constructor(source, subscriptionDelay) { - super(); - this.source = source; - this.subscriptionDelay = subscriptionDelay; - } - _subscribe(subscriber) { - this.subscriptionDelay.subscribe(new SubscriptionDelaySubscriber(subscriber, this.source)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class SubscriptionDelaySubscriber extends Subscriber { - constructor(parent, source) { - super(); - this.parent = parent; - this.source = source; - this.sourceSubscribed = false; - } - _next(unused) { - this.subscribeToSource(); - } - _error(err) { - this.unsubscribe(); - this.parent.error(err); - } - _complete() { - this.subscribeToSource(); - } - subscribeToSource() { - if (!this.sourceSubscribed) { - this.sourceSubscribed = true; - this.unsubscribe(); - this.source.subscribe(this.parent); - } - } -} -//# sourceMappingURL=delayWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/delayWhen.js.map b/node_modules/rxjs/_esm2015/operators/delayWhen.js.map deleted file mode 100644 index cfbb971d..00000000 --- a/node_modules/rxjs/_esm2015/operators/delayWhen.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"delayWhen.js","sourceRoot":"","sources":["../../src/operators/delayWhen.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,UAAU,EAAE,MAAM,eAAe;OAEnC,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAG7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,0BAA6B,qBAAoD,EACpD,iBAAmC;IAC9D,EAAE,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC;QACtB,MAAM,CAAC,CAAC,MAAqB,KAC3B,IAAI,2BAA2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;IAC3B,CAAC;IAEO,iBAAiB;QACvB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;YAC3B,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;YAC7B,IAAI,CAAC,WAAW,EAAE,CAAC;YACnB,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACrC,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/dematerialize.js b/node_modules/rxjs/_esm2015/operators/dematerialize.js deleted file mode 100644 index fa1dcd47..00000000 --- a/node_modules/rxjs/_esm2015/operators/dematerialize.js +++ /dev/null @@ -1,65 +0,0 @@ -import { Subscriber } from '../Subscriber'; -/** - * Converts an Observable of {@link Notification} objects into the emissions - * that they represent. - * - * Unwraps {@link Notification} objects as actual `next`, - * `error` and `complete` emissions. The opposite of {@link materialize}. - * - * - * - * `dematerialize` is assumed to operate an Observable that only emits - * {@link Notification} objects as `next` emissions, and does not emit any - * `error`. Such Observable is the output of a `materialize` operation. Those - * notifications are then unwrapped using the metadata they contain, and emitted - * as `next`, `error`, and `complete` on the output Observable. - * - * Use this operator in conjunction with {@link materialize}. - * - * @example Convert an Observable of Notifications to an actual Observable - * var notifA = new Rx.Notification('N', 'A'); - * var notifB = new Rx.Notification('N', 'B'); - * var notifE = new Rx.Notification('E', void 0, - * new TypeError('x.toUpperCase is not a function') - * ); - * var materialized = Rx.Observable.of(notifA, notifB, notifE); - * var upperCase = materialized.dematerialize(); - * upperCase.subscribe(x => console.log(x), e => console.error(e)); - * - * // Results in: - * // A - * // B - * // TypeError: x.toUpperCase is not a function - * - * @see {@link Notification} - * @see {@link materialize} - * - * @return {Observable} An Observable that emits items and notifications - * embedded in Notification objects emitted by the source Observable. - * @method dematerialize - * @owner Observable - */ -export function dematerialize() { - return function dematerializeOperatorFunction(source) { - return source.lift(new DeMaterializeOperator()); - }; -} -class DeMaterializeOperator { - call(subscriber, source) { - return source.subscribe(new DeMaterializeSubscriber(subscriber)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class DeMaterializeSubscriber extends Subscriber { - constructor(destination) { - super(destination); - } - _next(value) { - value.observe(this.destination); - } -} -//# sourceMappingURL=dematerialize.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/dematerialize.js.map b/node_modules/rxjs/_esm2015/operators/dematerialize.js.map deleted file mode 100644 index 286b1abf..00000000 --- a/node_modules/rxjs/_esm2015/operators/dematerialize.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"dematerialize.js","sourceRoot":"","sources":["../../src/operators/dematerialize.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;AAI1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH;IACE,MAAM,CAAC,uCAAuC,MAAmC;QAC/E,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,qBAAqB,EAAE,CAAC,CAAC;IAClD,CAAC,CAAC;AACJ,CAAC;AAED;IACE,IAAI,CAAC,UAA2B,EAAE,MAAW;QAC3C,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,uBAAuB,CAAC,UAAU,CAAC,CAAC,CAAC;IACnE,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,sCAAmE,UAAU;IAC3E,YAAY,WAA4B;QACtC,MAAM,WAAW,CAAC,CAAC;IACrB,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAClC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/distinct.js b/node_modules/rxjs/_esm2015/operators/distinct.js deleted file mode 100644 index f54b53b7..00000000 --- a/node_modules/rxjs/_esm2015/operators/distinct.js +++ /dev/null @@ -1,109 +0,0 @@ -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -import { Set } from '../util/Set'; -/** - * Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from previous items. - * - * If a keySelector function is provided, then it will project each value from the source observable into a new value that it will - * check for equality with previously projected values. If a keySelector function is not provided, it will use each value from the - * source observable directly with an equality check against previous values. - * - * In JavaScript runtimes that support `Set`, this operator will use a `Set` to improve performance of the distinct value checking. - * - * In other runtimes, this operator will use a minimal implementation of `Set` that relies on an `Array` and `indexOf` under the - * hood, so performance will degrade as more values are checked for distinction. Even in newer browsers, a long-running `distinct` - * use might result in memory leaks. To help alleviate this in some scenarios, an optional `flushes` parameter is also provided so - * that the internal `Set` can be "flushed", basically clearing it of values. - * - * @example A simple example with numbers - * Observable.of(1, 1, 2, 2, 2, 1, 2, 3, 4, 3, 2, 1) - * .distinct() - * .subscribe(x => console.log(x)); // 1, 2, 3, 4 - * - * @example An example using a keySelector function - * interface Person { - * age: number, - * name: string - * } - * - * Observable.of( - * { age: 4, name: 'Foo'}, - * { age: 7, name: 'Bar'}, - * { age: 5, name: 'Foo'}) - * .distinct((p: Person) => p.name) - * .subscribe(x => console.log(x)); - * - * // displays: - * // { age: 4, name: 'Foo' } - * // { age: 7, name: 'Bar' } - * - * @see {@link distinctUntilChanged} - * @see {@link distinctUntilKeyChanged} - * - * @param {function} [keySelector] Optional function to select which value you want to check as distinct. - * @param {Observable} [flushes] Optional Observable for flushing the internal HashSet of the operator. - * @return {Observable} An Observable that emits items from the source Observable with distinct values. - * @method distinct - * @owner Observable - */ -export function distinct(keySelector, flushes) { - return (source) => source.lift(new DistinctOperator(keySelector, flushes)); -} -class DistinctOperator { - constructor(keySelector, flushes) { - this.keySelector = keySelector; - this.flushes = flushes; - } - call(subscriber, source) { - return source.subscribe(new DistinctSubscriber(subscriber, this.keySelector, this.flushes)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class DistinctSubscriber extends OuterSubscriber { - constructor(destination, keySelector, flushes) { - super(destination); - this.keySelector = keySelector; - this.values = new Set(); - if (flushes) { - this.add(subscribeToResult(this, flushes)); - } - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - this.values.clear(); - } - notifyError(error, innerSub) { - this._error(error); - } - _next(value) { - if (this.keySelector) { - this._useKeySelector(value); - } - else { - this._finalizeNext(value, value); - } - } - _useKeySelector(value) { - let key; - const { destination } = this; - try { - key = this.keySelector(value); - } - catch (err) { - destination.error(err); - return; - } - this._finalizeNext(key, value); - } - _finalizeNext(key, value) { - const { values } = this; - if (!values.has(key)) { - values.add(key); - this.destination.next(value); - } - } -} -//# sourceMappingURL=distinct.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/distinct.js.map b/node_modules/rxjs/_esm2015/operators/distinct.js.map deleted file mode 100644 index 8dbba1e8..00000000 --- a/node_modules/rxjs/_esm2015/operators/distinct.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"distinct.js","sourceRoot":"","sources":["../../src/operators/distinct.ts"],"names":[],"mappings":"OAIO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;OACtD,EAAQ,GAAG,EAAE,MAAM,aAAa;AAGvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,yBAA+B,WAA6B,EAC7B,OAAyB;IACtD,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,gBAAgB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC;AAC5F,CAAC;AAED;IACE,YAAoB,WAA4B,EAAU,OAAwB;QAA9D,gBAAW,GAAX,WAAW,CAAiB;QAAU,YAAO,GAAP,OAAO,CAAiB;IAClF,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,I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AM,CAAC;QACT,CAAC;QACD,IAAI,CAAC,aAAa,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IACjC,CAAC;IAEO,aAAa,CAAC,GAAQ,EAAE,KAAQ;QACtC,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QACxB,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAI,GAAG,CAAC,CAAC,CAAC,CAAC;YACxB,MAAM,CAAC,GAAG,CAAI,GAAG,CAAC,CAAC;YACnB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;IACH,CAAC;AAEH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/distinctUntilChanged.js b/node_modules/rxjs/_esm2015/operators/distinctUntilChanged.js deleted file mode 100644 index 370ed588..00000000 --- a/node_modules/rxjs/_esm2015/operators/distinctUntilChanged.js +++ /dev/null @@ -1,98 +0,0 @@ -import { Subscriber } from '../Subscriber'; -import { tryCatch } from '../util/tryCatch'; -import { errorObject } from '../util/errorObject'; -/* tslint:enable:max-line-length */ -/** - * Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item. - * - * If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted. - * - * If a comparator function is not provided, an equality check is used by default. - * - * @example A simple example with numbers - * Observable.of(1, 1, 2, 2, 2, 1, 1, 2, 3, 3, 4) - * .distinctUntilChanged() - * .subscribe(x => console.log(x)); // 1, 2, 1, 2, 3, 4 - * - * @example An example using a compare function - * interface Person { - * age: number, - * name: string - * } - * - * Observable.of( - * { age: 4, name: 'Foo'}, - * { age: 7, name: 'Bar'}, - * { age: 5, name: 'Foo'}) - * { age: 6, name: 'Foo'}) - * .distinctUntilChanged((p: Person, q: Person) => p.name === q.name) - * .subscribe(x => console.log(x)); - * - * // displays: - * // { age: 4, name: 'Foo' } - * // { age: 7, name: 'Bar' } - * // { age: 5, name: 'Foo' } - * - * @see {@link distinct} - * @see {@link distinctUntilKeyChanged} - * - * @param {function} [compare] Optional comparison function called to test if an item is distinct from the previous item in the source. - * @return {Observable} An Observable that emits items from the source Observable with distinct values. - * @method distinctUntilChanged - * @owner Observable - */ -export function distinctUntilChanged(compare, keySelector) { - return (source) => source.lift(new DistinctUntilChangedOperator(compare, keySelector)); -} -class DistinctUntilChangedOperator { - constructor(compare, keySelector) { - this.compare = compare; - this.keySelector = keySelector; - } - call(subscriber, source) { - return source.subscribe(new DistinctUntilChangedSubscriber(subscriber, this.compare, this.keySelector)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class DistinctUntilChangedSubscriber extends Subscriber { - constructor(destination, compare, keySelector) { - super(destination); - this.keySelector = keySelector; - this.hasKey = false; - if (typeof compare === 'function') { - this.compare = compare; - } - } - compare(x, y) { - return x === y; - } - _next(value) { - const keySelector = this.keySelector; - let key = value; - if (keySelector) { - key = tryCatch(this.keySelector)(value); - if (key === errorObject) { - return this.destination.error(errorObject.e); - } - } - let result = false; - if (this.hasKey) { - result = tryCatch(this.compare)(this.key, key); - if (result === errorObject) { - return this.destination.error(errorObject.e); - } - } - else { - this.hasKey = true; - } - if (Boolean(result) === false) { - this.key = key; - this.destination.next(value); - } - } -} -//# sourceMappingURL=distinctUntilChanged.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/distinctUntilChanged.js.map b/node_modules/rxjs/_esm2015/operators/distinctUntilChanged.js.map deleted file mode 100644 index e18f740b..00000000 --- a/node_modules/rxjs/_esm2015/operators/distinctUntilChanged.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"distinctUntilChanged.js","sourceRoot":"","sources":["../../src/operators/distinctUntilChanged.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,WAAW,EAAE,MAAM,qBAAqB;AAQjD,mCAAmC;AAEnC;;;;;;;;;;;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I,CAAC,WAAW,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YAC/C,CAAC;QACH,CAAC;QAED,IAAI,MAAM,GAAQ,KAAK,CAAC;QAExB,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YAChB,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;YAC/C,EAAE,CAAC,CAAC,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC;gBAC3B,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YAC/C,CAAC;QACH,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACrB,CAAC;QAED,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC;YAC9B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;YACf,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/distinctUntilKeyChanged.js b/node_modules/rxjs/_esm2015/operators/distinctUntilKeyChanged.js deleted file mode 100644 index 80572499..00000000 --- a/node_modules/rxjs/_esm2015/operators/distinctUntilKeyChanged.js +++ /dev/null @@ -1,63 +0,0 @@ -import { distinctUntilChanged } from './distinctUntilChanged'; -/* tslint:enable:max-line-length */ -/** - * Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item, - * using a property accessed by using the key provided to check if the two items are distinct. - * - * If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted. - * - * If a comparator function is not provided, an equality check is used by default. - * - * @example An example comparing the name of persons - * - * interface Person { - * age: number, - * name: string - * } - * - * Observable.of( - * { age: 4, name: 'Foo'}, - * { age: 7, name: 'Bar'}, - * { age: 5, name: 'Foo'}, - * { age: 6, name: 'Foo'}) - * .distinctUntilKeyChanged('name') - * .subscribe(x => console.log(x)); - * - * // displays: - * // { age: 4, name: 'Foo' } - * // { age: 7, name: 'Bar' } - * // { age: 5, name: 'Foo' } - * - * @example An example comparing the first letters of the name - * - * interface Person { - * age: number, - * name: string - * } - * - * Observable.of( - * { age: 4, name: 'Foo1'}, - * { age: 7, name: 'Bar'}, - * { age: 5, name: 'Foo2'}, - * { age: 6, name: 'Foo3'}) - * .distinctUntilKeyChanged('name', (x: string, y: string) => x.substring(0, 3) === y.substring(0, 3)) - * .subscribe(x => console.log(x)); - * - * // displays: - * // { age: 4, name: 'Foo1' } - * // { age: 7, name: 'Bar' } - * // { age: 5, name: 'Foo2' } - * - * @see {@link distinct} - * @see {@link distinctUntilChanged} - * - * @param {string} key String key for object property lookup on each item. - * @param {function} [compare] Optional comparison function called to test if an item is distinct from the previous item in the source. - * @return {Observable} An Observable that emits items from the source Observable with distinct values based on the key specified. - * @method distinctUntilKeyChanged - * @owner Observable - */ -export function distinctUntilKeyChanged(key, compare) { - return distinctUntilChanged((x, y) => compare ? compare(x[key], y[key]) : x[key] === y[key]); -} -//# sourceMappingURL=distinctUntilKeyChanged.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/distinctUntilKeyChanged.js.map b/node_modules/rxjs/_esm2015/operators/distinctUntilKeyChanged.js.map deleted file mode 100644 index 9fd0b3b6..00000000 --- a/node_modules/rxjs/_esm2015/operators/distinctUntilKeyChanged.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"distinctUntilKeyChanged.js","sourceRoot":"","sources":["../../src/operators/distinctUntilKeyChanged.ts"],"names":[],"mappings":"OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB;AAM7D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,wCAA2C,GAAW,EAAE,OAAiC;IACvF,MAAM,CAAC,oBAAoB,CAAC,CAAC,CAAI,EAAE,CAAI,KAAK,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AACrG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/elementAt.js b/node_modules/rxjs/_esm2015/operators/elementAt.js deleted file mode 100644 index 968333e6..00000000 --- a/node_modules/rxjs/_esm2015/operators/elementAt.js +++ /dev/null @@ -1,90 +0,0 @@ -import { Subscriber } from '../Subscriber'; -import { ArgumentOutOfRangeError } from '../util/ArgumentOutOfRangeError'; -/** - * Emits the single value at the specified `index` in a sequence of emissions - * from the source Observable. - * - * Emits only the i-th value, then completes. - * - * - * - * `elementAt` returns an Observable that emits the item at the specified - * `index` in the source Observable, or a default value if that `index` is out - * of range and the `default` argument is provided. If the `default` argument is - * not given and the `index` is out of range, the output Observable will emit an - * `ArgumentOutOfRangeError` error. - * - * @example Emit only the third click event - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.elementAt(2); - * result.subscribe(x => console.log(x)); - * - * // Results in: - * // click 1 = nothing - * // click 2 = nothing - * // click 3 = MouseEvent object logged to console - * - * @see {@link first} - * @see {@link last} - * @see {@link skip} - * @see {@link single} - * @see {@link take} - * - * @throws {ArgumentOutOfRangeError} When using `elementAt(i)`, it delivers an - * ArgumentOutOrRangeError to the Observer's `error` callback if `i < 0` or the - * Observable has completed before emitting the i-th `next` notification. - * - * @param {number} index Is the number `i` for the i-th source emission that has - * happened since the subscription, starting from the number `0`. - * @param {T} [defaultValue] The default value returned for missing indices. - * @return {Observable} An Observable that emits a single item, if it is found. - * Otherwise, will emit the default value if given. If not, then emits an error. - * @method elementAt - * @owner Observable - */ -export function elementAt(index, defaultValue) { - return (source) => source.lift(new ElementAtOperator(index, defaultValue)); -} -class ElementAtOperator { - constructor(index, defaultValue) { - this.index = index; - this.defaultValue = defaultValue; - if (index < 0) { - throw new ArgumentOutOfRangeError; - } - } - call(subscriber, source) { - return source.subscribe(new ElementAtSubscriber(subscriber, this.index, this.defaultValue)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class ElementAtSubscriber extends Subscriber { - constructor(destination, index, defaultValue) { - super(destination); - this.index = index; - this.defaultValue = defaultValue; - } - _next(x) { - if (this.index-- === 0) { - this.destination.next(x); - this.destination.complete(); - } - } - _complete() { - const destination = this.destination; - if (this.index >= 0) { - if (typeof this.defaultValue !== 'undefined') { - destination.next(this.defaultValue); - } - else { - destination.error(new ArgumentOutOfRangeError); - } - } - destination.complete(); - } -} -//# sourceMappingURL=elementAt.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/elementAt.js.map b/node_modules/rxjs/_esm2015/operators/elementAt.js.map deleted file mode 100644 index db04cdfe..00000000 --- a/node_modules/rxjs/_esm2015/operators/elementAt.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"elementAt.js","sourceRoot":"","sources":["../../src/operators/elementAt.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,uBAAuB,EAAE,MAAM,iCAAiC;AAKzE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,0BAA6B,KAAa,EAAE,YAAgB;IAC1D,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC;AAC5F,CAAC;AAED;IAEE,YAAoB,KAAa,EAAU,YAAgB;QAAvC,UAAK,GAAL,KAAK,CAAQ;QAAU,iBAAY,GAAZ,YAAY,CAAI;QACzD,EAAE,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC;YACd,MAAM,IAAI,uBAAuB,CAAC;QACpC,CAAC;IACH,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IAC9F,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,kCAAqC,UAAU;IAE7C,YAAY,WAA0B,EAAU,KAAa,EAAU,YAAgB;QACrF,MAAM,WAAW,CAAC,CAAC;QAD2B,UAAK,GAAL,KAAK,CAAQ;QAAU,iBAAY,GAAZ,YAAY,CAAI;IAEvF,CAAC;IAES,KAAK,CAAC,CAAI;QAClB,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;YACvB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YACzB,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;IAES,SAAS;QACjB,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC;YACpB,EAAE,CAAC,CAAC,OAAO,IAAI,CAAC,YAAY,KAAK,WAAW,CAAC,CAAC,CAAC;gBAC7C,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YACtC,CAAC;YAAC,IAAI,CAAC,CAAC;gBACN,WAAW,CAAC,KAAK,CAAC,IAAI,uBAAuB,CAAC,CAAC;YACjD,CAAC;QACH,CAAC;QACD,WAAW,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/every.js b/node_modules/rxjs/_esm2015/operators/every.js deleted file mode 100644 index c05243d0..00000000 --- a/node_modules/rxjs/_esm2015/operators/every.js +++ /dev/null @@ -1,64 +0,0 @@ -import { Subscriber } from '../Subscriber'; -/** - * Returns an Observable that emits whether or not every item of the source satisfies the condition specified. - * - * @example A simple example emitting true if all elements are less than 5, false otherwise - * Observable.of(1, 2, 3, 4, 5, 6) - * .every(x => x < 5) - * .subscribe(x => console.log(x)); // -> false - * - * @param {function} predicate A function for determining if an item meets a specified condition. - * @param {any} [thisArg] Optional object to use for `this` in the callback. - * @return {Observable} An Observable of booleans that determines if all items of the source Observable meet the condition specified. - * @method every - * @owner Observable - */ -export function every(predicate, thisArg) { - return (source) => source.lift(new EveryOperator(predicate, thisArg, source)); -} -class EveryOperator { - constructor(predicate, thisArg, source) { - this.predicate = predicate; - this.thisArg = thisArg; - this.source = source; - } - call(observer, source) { - return source.subscribe(new EverySubscriber(observer, this.predicate, this.thisArg, this.source)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class EverySubscriber extends Subscriber { - constructor(destination, predicate, thisArg, source) { - super(destination); - this.predicate = predicate; - this.thisArg = thisArg; - this.source = source; - this.index = 0; - this.thisArg = thisArg || this; - } - notifyComplete(everyValueMatch) { - this.destination.next(everyValueMatch); - this.destination.complete(); - } - _next(value) { - let result = false; - try { - result = this.predicate.call(this.thisArg, value, this.index++, this.source); - } - catch (err) { - this.destination.error(err); - return; - } - if (!result) { - this.notifyComplete(false); - } - } - _complete() { - this.notifyComplete(true); - } -} -//# sourceMappingURL=every.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/every.js.map b/node_modules/rxjs/_esm2015/operators/every.js.map deleted file mode 100644 index f68f4ece..00000000 --- a/node_modules/rxjs/_esm2015/operators/every.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"every.js","sourceRoot":"","sources":["../../src/operators/every.ts"],"names":[],"mappings":"OAGO,EAAE,UAAU,EAAE,MAAM,eAAe;AAG1C;;;;;;;;;;;;;GAaG;AACH,sBAA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CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,MAAM,CAAC;QACT,CAAC;QAED,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;YACZ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QAC7B,CAAC;IACH,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/exhaust.js b/node_modules/rxjs/_esm2015/operators/exhaust.js deleted file mode 100644 index 5b403308..00000000 --- a/node_modules/rxjs/_esm2015/operators/exhaust.js +++ /dev/null @@ -1,77 +0,0 @@ -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/** - * Converts a higher-order Observable into a first-order Observable by dropping - * inner Observables while the previous inner Observable has not yet completed. - * - * Flattens an Observable-of-Observables by dropping the - * next inner Observables while the current inner is still executing. - * - * - * - * `exhaust` subscribes to an Observable that emits Observables, also known as a - * higher-order Observable. Each time it observes one of these emitted inner - * Observables, the output Observable begins emitting the items emitted by that - * inner Observable. So far, it behaves like {@link mergeAll}. However, - * `exhaust` ignores every new inner Observable if the previous Observable has - * not yet completed. Once that one completes, it will accept and flatten the - * next inner Observable and repeat this process. - * - * @example Run a finite timer for each click, only if there is no currently active timer - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000).take(5)); - * var result = higherOrder.exhaust(); - * result.subscribe(x => console.log(x)); - * - * @see {@link combineAll} - * @see {@link concatAll} - * @see {@link switch} - * @see {@link mergeAll} - * @see {@link exhaustMap} - * @see {@link zipAll} - * - * @return {Observable} An Observable that takes a source of Observables and propagates the first observable - * exclusively until it completes before subscribing to the next. - * @method exhaust - * @owner Observable - */ -export function exhaust() { - return (source) => source.lift(new SwitchFirstOperator()); -} -class SwitchFirstOperator { - call(subscriber, source) { - return source.subscribe(new SwitchFirstSubscriber(subscriber)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class SwitchFirstSubscriber extends OuterSubscriber { - constructor(destination) { - super(destination); - this.hasCompleted = false; - this.hasSubscription = false; - } - _next(value) { - if (!this.hasSubscription) { - this.hasSubscription = true; - this.add(subscribeToResult(this, value)); - } - } - _complete() { - this.hasCompleted = true; - if (!this.hasSubscription) { - this.destination.complete(); - } - } - notifyComplete(innerSub) { - this.remove(innerSub); - this.hasSubscription = false; - if (this.hasCompleted) { - this.destination.complete(); - } - } -} -//# sourceMappingURL=exhaust.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/exhaust.js.map b/node_modules/rxjs/_esm2015/operators/exhaust.js.map deleted file mode 100644 index 5adec09a..00000000 --- a/node_modules/rxjs/_esm2015/operators/exhaust.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"exhaust.js","sourceRoot":"","sources":["../../src/operators/exhaust.ts"],"names":[],"mappings":"OAIO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAC7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAG7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH;IACE,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,mBAAmB,EAAK,CAAC,CAAC;AAC9E,CAAC;AAED;IACE,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,qBAAqB,CAAC,UAAU,CAAC,CAAC,CAAC;IACjE,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,oCAAuC,eAAe;IAIpD,YAAY,WAA0B;QACpC,MAAM,WAAW,CAAC,CAAC;QAJb,iBAAY,GAAY,KAAK,CAAC;QAC9B,oBAAe,GAAY,KAAK,CAAC;IAIzC,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;YAC1B,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;YAC5B,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;QAC3C,CAAC;IACH,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;QACzB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;YAC1B,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;IAED,cAAc,CAAC,QAAsB;QACnC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QACtB,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,EAAE,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;YACtB,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/exhaustMap.js b/node_modules/rxjs/_esm2015/operators/exhaustMap.js deleted file mode 100644 index 5cc403ba..00000000 --- a/node_modules/rxjs/_esm2015/operators/exhaustMap.js +++ /dev/null @@ -1,128 +0,0 @@ -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/* tslint:enable:max-line-length */ -/** - * Projects each source value to an Observable which is merged in the output - * Observable only if the previous projected Observable has completed. - * - * Maps each value to an Observable, then flattens all of - * these inner Observables using {@link exhaust}. - * - * - * - * Returns an Observable that emits items based on applying a function that you - * supply to each item emitted by the source Observable, where that function - * returns an (so-called "inner") Observable. When it projects a source value to - * an Observable, the output Observable begins emitting the items emitted by - * that projected Observable. However, `exhaustMap` ignores every new projected - * Observable if the previous projected Observable has not yet completed. Once - * that one completes, it will accept and flatten the next projected Observable - * and repeat this process. - * - * @example Run a finite timer for each click, only if there is no currently active timer - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.exhaustMap((ev) => Rx.Observable.interval(1000).take(5)); - * result.subscribe(x => console.log(x)); - * - * @see {@link concatMap} - * @see {@link exhaust} - * @see {@link mergeMap} - * @see {@link switchMap} - * - * @param {function(value: T, ?index: number): ObservableInput} project A function - * that, when applied to an item emitted by the source Observable, returns an - * Observable. - * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] - * A function to produce the value on the output Observable based on the values - * and the indices of the source (outer) emission and the inner Observable - * emission. The arguments passed to this function are: - * - `outerValue`: the value that came from the source - * - `innerValue`: the value that came from the projected Observable - * - `outerIndex`: the "index" of the value that came from the source - * - `innerIndex`: the "index" of the value from the projected Observable - * @return {Observable} An Observable containing projected Observables - * of each item of the source, ignoring projected Observables that start before - * their preceding Observable has completed. - * @method exhaustMap - * @owner Observable - */ -export function exhaustMap(project, resultSelector) { - return (source) => source.lift(new SwitchFirstMapOperator(project, resultSelector)); -} -class SwitchFirstMapOperator { - constructor(project, resultSelector) { - this.project = project; - this.resultSelector = resultSelector; - } - call(subscriber, source) { - return source.subscribe(new SwitchFirstMapSubscriber(subscriber, this.project, this.resultSelector)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class SwitchFirstMapSubscriber extends OuterSubscriber { - constructor(destination, project, resultSelector) { - super(destination); - this.project = project; - this.resultSelector = resultSelector; - this.hasSubscription = false; - this.hasCompleted = false; - this.index = 0; - } - _next(value) { - if (!this.hasSubscription) { - this.tryNext(value); - } - } - tryNext(value) { - const index = this.index++; - const destination = this.destination; - try { - const result = this.project(value, index); - this.hasSubscription = true; - this.add(subscribeToResult(this, result, value, index)); - } - catch (err) { - destination.error(err); - } - } - _complete() { - this.hasCompleted = true; - if (!this.hasSubscription) { - this.destination.complete(); - } - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - const { resultSelector, destination } = this; - if (resultSelector) { - this.trySelectResult(outerValue, innerValue, outerIndex, innerIndex); - } - else { - destination.next(innerValue); - } - } - trySelectResult(outerValue, innerValue, outerIndex, innerIndex) { - const { resultSelector, destination } = this; - try { - const result = resultSelector(outerValue, innerValue, outerIndex, innerIndex); - destination.next(result); - } - catch (err) { - destination.error(err); - } - } - notifyError(err) { - this.destination.error(err); - } - notifyComplete(innerSub) { - this.remove(innerSub); - this.hasSubscription = false; - if (this.hasCompleted) { - this.destination.complete(); - } - } -} -//# sourceMappingURL=exhaustMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/exhaustMap.js.map b/node_modules/rxjs/_esm2015/operators/exhaustMap.js.map deleted file mode 100644 index 5f1c28f6..00000000 --- a/node_modules/rxjs/_esm2015/operators/exhaustMap.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"exhaustMap.js","sourceRoot":"","sources":["../../src/operators/exhaustMap.ts"],"names":[],"mappings":"OAIO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAM7D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,2BACE,OAAwD,EACxD,cAA4F;IAE1F,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,sBAAsB,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC;AACrG,CAAC;AAEH;IACE,YAAoB,OAAwD,EACxD,cAA4F;QAD5F,YAAO,GAAP,OAAO,CAAiD;QACxD,mBAAc,GAAd,cAAc,CAA8E;IAChH,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,wBAAwB,CAAC,UAAU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.js deleted file mode 100644 index 1dd88fd5..00000000 --- a/node_modules/rxjs/_esm2015/operators/expand.js +++ /dev/null @@ -1,137 +0,0 @@ -import { tryCatch } from '../util/tryCatch'; -import { errorObject } from '../util/errorObject'; -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/* tslint:enable:max-line-length */ -/** - * Recursively projects each source value to an Observable which is merged in - * the output Observable. - * - * It's similar to {@link mergeMap}, but applies the - * projection function to every source value as well as every output value. - * It's recursive. - * - * - * - * Returns an Observable that emits items based on applying a function that you - * supply to each item emitted by the source Observable, where that function - * returns an Observable, and then merging those resulting Observables and - * emitting the results of this merger. *Expand* will re-emit on the output - * Observable every source value. Then, each output value is given to the - * `project` function which returns an inner Observable to be merged on the - * output Observable. Those output values resulting from the projection are also - * given to the `project` function to produce new output values. This is how - * *expand* behaves recursively. - * - * @example Start emitting the powers of two on every click, at most 10 of them - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var powersOfTwo = clicks - * .mapTo(1) - * .expand(x => Rx.Observable.of(2 * x).delay(1000)) - * .take(10); - * powersOfTwo.subscribe(x => console.log(x)); - * - * @see {@link mergeMap} - * @see {@link mergeScan} - * - * @param {function(value: T, index: number) => Observable} project A function - * that, when applied to an item emitted by the source or the output Observable, - * returns an Observable. - * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input - * Observables being subscribed to concurrently. - * @param {Scheduler} [scheduler=null] The IScheduler to use for subscribing to - * each projected inner Observable. - * @return {Observable} An Observable that emits the source values and also - * result of applying the projection function to each value emitted on the - * output Observable and and merging the results of the Observables obtained - * from this transformation. - * @method expand - * @owner Observable - */ -export function expand(project, concurrent = Number.POSITIVE_INFINITY, scheduler = undefined) { - concurrent = (concurrent || 0) < 1 ? Number.POSITIVE_INFINITY : concurrent; - return (source) => source.lift(new ExpandOperator(project, concurrent, scheduler)); -} -export class ExpandOperator { - constructor(project, concurrent, scheduler) { - this.project = project; - this.concurrent = concurrent; - this.scheduler = scheduler; - } - call(subscriber, source) { - return source.subscribe(new ExpandSubscriber(subscriber, this.project, this.concurrent, this.scheduler)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class ExpandSubscriber extends OuterSubscriber { - constructor(destination, project, concurrent, scheduler) { - super(destination); - this.project = project; - this.concurrent = concurrent; - this.scheduler = scheduler; - this.index = 0; - this.active = 0; - this.hasCompleted = false; - if (concurrent < Number.POSITIVE_INFINITY) { - this.buffer = []; - } - } - static dispatch(arg) { - const { subscriber, result, value, index } = arg; - subscriber.subscribeToProjection(result, value, index); - } - _next(value) { - const destination = this.destination; - if (destination.closed) { - this._complete(); - return; - } - const index = this.index++; - if (this.active < this.concurrent) { - destination.next(value); - let result = tryCatch(this.project)(value, index); - if (result === errorObject) { - destination.error(errorObject.e); - } - else if (!this.scheduler) { - this.subscribeToProjection(result, value, index); - } - else { - const state = { subscriber: this, result, value, index }; - this.add(this.scheduler.schedule(ExpandSubscriber.dispatch, 0, state)); - } - } - else { - this.buffer.push(value); - } - } - subscribeToProjection(result, value, index) { - this.active++; - this.add(subscribeToResult(this, result, value, index)); - } - _complete() { - this.hasCompleted = true; - if (this.hasCompleted && this.active === 0) { - this.destination.complete(); - } - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - this._next(innerValue); - } - notifyComplete(innerSub) { - const buffer = this.buffer; - this.remove(innerSub); - this.active--; - if (buffer && buffer.length > 0) { - this._next(buffer.shift()); - } - if (this.hasCompleted && this.active === 0) { - this.destination.complete(); - } - } -} -//# sourceMappingURL=expand.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/expand.js.map b/node_modules/rxjs/_esm2015/operators/expand.js.map deleted file mode 100644 index 4940e9c0..00000000 --- a/node_modules/rxjs/_esm2015/operators/expand.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"expand.js","sourceRoot":"","sources":["../../src/operators/expand.ts"],"names":[],"mappings":"OAIO,EAAE,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AC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;YAC3C,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/filter.js b/node_modules/rxjs/_esm2015/operators/filter.js deleted file mode 100644 index e4ac7e61..00000000 --- a/node_modules/rxjs/_esm2015/operators/filter.js +++ /dev/null @@ -1,84 +0,0 @@ -import { Subscriber } from '../Subscriber'; -/* tslint:enable:max-line-length */ -/** - * Filter items emitted by the source Observable by only emitting those that - * satisfy a specified predicate. - * - * Like - * [Array.prototype.filter()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter), - * it only emits a value from the source if it passes a criterion function. - * - * - * - * Similar to the well-known `Array.prototype.filter` method, this operator - * takes values from the source Observable, passes them through a `predicate` - * function and only emits those values that yielded `true`. - * - * @example Emit only click events whose target was a DIV element - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var clicksOnDivs = clicks.filter(ev => ev.target.tagName === 'DIV'); - * clicksOnDivs.subscribe(x => console.log(x)); - * - * @see {@link distinct} - * @see {@link distinctUntilChanged} - * @see {@link distinctUntilKeyChanged} - * @see {@link ignoreElements} - * @see {@link partition} - * @see {@link skip} - * - * @param {function(value: T, index: number): boolean} predicate A function that - * evaluates each value emitted by the source Observable. If it returns `true`, - * the value is emitted, if `false` the value is not passed to the output - * Observable. The `index` parameter is the number `i` for the i-th source - * emission that has happened since the subscription, starting from the number - * `0`. - * @param {any} [thisArg] An optional argument to determine the value of `this` - * in the `predicate` function. - * @return {Observable} An Observable of values from the source that were - * allowed by the `predicate` function. - * @method filter - * @owner Observable - */ -export function filter(predicate, thisArg) { - return function filterOperatorFunction(source) { - return source.lift(new FilterOperator(predicate, thisArg)); - }; -} -class FilterOperator { - constructor(predicate, thisArg) { - this.predicate = predicate; - this.thisArg = thisArg; - } - call(subscriber, source) { - return source.subscribe(new FilterSubscriber(subscriber, this.predicate, this.thisArg)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class FilterSubscriber extends Subscriber { - constructor(destination, predicate, thisArg) { - super(destination); - this.predicate = predicate; - this.thisArg = thisArg; - this.count = 0; - } - // the try catch block below is left specifically for - // optimization and perf reasons. a tryCatcher is not necessary here. - _next(value) { - let result; - try { - result = this.predicate.call(this.thisArg, value, this.count++); - } - catch (err) { - this.destination.error(err); - return; - } - if (result) { - this.destination.next(value); - } - } -} -//# sourceMappingURL=filter.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/filter.js.map b/node_modules/rxjs/_esm2015/operators/filter.js.map deleted file mode 100644 index f36f38f8..00000000 --- a/node_modules/rxjs/_esm2015/operators/filter.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"filter.js","sourceRoot":"","sources":["../../src/operators/filter.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAU1C,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,uBAA0B,SAA+C,EAC/C,OAAa;IACrC,MAAM,CAAC,gCAAgC,MAAqB;QAC1D,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,cAAc,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;IAC7D,CAAC,CAAC;AACJ,CAAC;AAED;IACE,YAAoB,SAA+C,EAC/C,OAAa;QADb,cAAS,GAAT,SAAS,CAAsC;QAC/C,YAAO,GAAP,OAAO,CAAM;IACjC,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAC1F,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,+BAAkC,UAAU;IAI1C,YAAY,WAA0B,EAClB,SAA+C,EAC/C,OAAY;QAC9B,MAAM,WAAW,CAAC,CAAC;QAFD,cAAS,GAAT,SAAS,CAAsC;QAC/C,YAAO,GAAP,OAAO,CAAK;QAJhC,UAAK,GAAW,CAAC,CAAC;IAMlB,CAAC;IAED,qDAAqD;IACrD,qEAAqE;IAC3D,KAAK,CAAC,KAAQ;QACtB,IAAI,MAAW,CAAC;QAChB,IAAI,CAAC;YACH,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;QAClE,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,MAAM,CAAC;QACT,CAAC;QACD,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;YACX,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/finalize.js b/node_modules/rxjs/_esm2015/operators/finalize.js deleted file mode 100644 index c0662f3d..00000000 --- a/node_modules/rxjs/_esm2015/operators/finalize.js +++ /dev/null @@ -1,33 +0,0 @@ -import { Subscriber } from '../Subscriber'; -import { Subscription } from '../Subscription'; -/** - * Returns an Observable that mirrors the source Observable, but will call a specified function when - * the source terminates on complete or error. - * @param {function} callback Function to be called when source terminates. - * @return {Observable} An Observable that mirrors the source, but will call the specified function on termination. - * @method finally - * @owner Observable - */ -export function finalize(callback) { - return (source) => source.lift(new FinallyOperator(callback)); -} -class FinallyOperator { - constructor(callback) { - this.callback = callback; - } - call(subscriber, source) { - return source.subscribe(new FinallySubscriber(subscriber, this.callback)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class FinallySubscriber extends Subscriber { - constructor(destination, callback) { - super(destination); - this.add(new Subscription(callback)); - } -} -//# sourceMappingURL=finalize.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/finalize.js.map b/node_modules/rxjs/_esm2015/operators/finalize.js.map deleted file mode 100644 index 036d8249..00000000 --- a/node_modules/rxjs/_esm2015/operators/finalize.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"finalize.js","sourceRoot":"","sources":["../../src/operators/finalize.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,YAAY,EAAiB,MAAM,iBAAiB;AAI7D;;;;;;;GAOG;AACH,yBAA4B,QAAoB;IAC9C,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC;AAC/E,CAAC;AAED;IACE,YAAoB,QAAoB;QAApB,aAAQ,GAAR,QAAQ,CAAY;IACxC,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,iBAAiB,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC5E,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,gCAAmC,UAAU;IAC3C,YAAY,WAA0B,EAAE,QAAoB;QAC1D,MAAM,WAAW,CAAC,CAAC;QACnB,IAAI,CAAC,GAAG,CAAC,IAAI,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAC;IACvC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/find.js b/node_modules/rxjs/_esm2015/operators/find.js deleted file mode 100644 index 645ba6d8..00000000 --- a/node_modules/rxjs/_esm2015/operators/find.js +++ /dev/null @@ -1,88 +0,0 @@ -import { Subscriber } from '../Subscriber'; -/** - * Emits only the first value emitted by the source Observable that meets some - * condition. - * - * Finds the first value that passes some test and emits - * that. - * - * - * - * `find` searches for the first item in the source Observable that matches the - * specified condition embodied by the `predicate`, and returns the first - * occurrence in the source. Unlike {@link first}, the `predicate` is required - * in `find`, and does not emit an error if a valid value is not found. - * - * @example Find and emit the first click that happens on a DIV element - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.find(ev => ev.target.tagName === 'DIV'); - * result.subscribe(x => console.log(x)); - * - * @see {@link filter} - * @see {@link first} - * @see {@link findIndex} - * @see {@link take} - * - * @param {function(value: T, index: number, source: Observable): boolean} predicate - * A function called with each item to test for condition matching. - * @param {any} [thisArg] An optional argument to determine the value of `this` - * in the `predicate` function. - * @return {Observable} An Observable of the first item that matches the - * condition. - * @method find - * @owner Observable - */ -export function find(predicate, thisArg) { - if (typeof predicate !== 'function') { - throw new TypeError('predicate is not a function'); - } - return (source) => source.lift(new FindValueOperator(predicate, source, false, thisArg)); -} -export class FindValueOperator { - constructor(predicate, source, yieldIndex, thisArg) { - this.predicate = predicate; - this.source = source; - this.yieldIndex = yieldIndex; - this.thisArg = thisArg; - } - call(observer, source) { - return source.subscribe(new FindValueSubscriber(observer, this.predicate, this.source, this.yieldIndex, this.thisArg)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class FindValueSubscriber extends Subscriber { - constructor(destination, predicate, source, yieldIndex, thisArg) { - super(destination); - this.predicate = predicate; - this.source = source; - this.yieldIndex = yieldIndex; - this.thisArg = thisArg; - this.index = 0; - } - notifyComplete(value) { - const destination = this.destination; - destination.next(value); - destination.complete(); - } - _next(value) { - const { predicate, thisArg } = this; - const index = this.index++; - try { - const result = predicate.call(thisArg || this, value, index, this.source); - if (result) { - this.notifyComplete(this.yieldIndex ? index : value); - } - } - catch (err) { - this.destination.error(err); - } - } - _complete() { - this.notifyComplete(this.yieldIndex ? -1 : undefined); - } -} -//# sourceMappingURL=find.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/find.js.map b/node_modules/rxjs/_esm2015/operators/find.js.map deleted file mode 100644 index ac74dbbf..00000000 --- a/node_modules/rxjs/_esm2015/operators/find.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"find.js","sourceRoot":"","sources":["../../src/operators/find.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;AAW1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAAwB,SAAsE,EACtE,OAAa;IACnC,EAAE,CAAC,CAAC,OAAO,SAAS,KAAK,UAAU,CAAC,CAAC,CAAC;QACpC,MAAM,IAAI,SAAS,CAAC,6BAA6B,CAAC,CAAC;IACrD,CAAC;IACD,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC;AAC1G,CAAC;AAED;IACE,YAAoB,SAAsE,EACtE,MAAqB,EACrB,UAAmB,EACnB,OAAa;QAHb,cAAS,GAAT,SAAS,CAA6D;QACtE,WAAM,GAAN,MAAM,CAAe;QACrB,eAAU,GAAV,UAAU,CAAS;QACnB,YAAO,GAAP,OAAO,CAAM;IACjC,CAAC;IAED,IAAI,CAAC,QAAuB,EAAE,MAAW;QACvC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,mBAAmB,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IACzH,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,yCAA4C,UAAU;IAGpD,YAAY,WAA0B,EAClB,SAAsE,EACtE,MAAqB,EACrB,UAAmB,EACnB,OAAa;QAC/B,MAAM,WAAW,CAAC,CAAC;QAJD,cAAS,GAAT,SAAS,CAA6D;QACtE,WAAM,GAAN,MAAM,CAAe;QACrB,eAAU,GAAV,UAAU,CAAS;QACnB,YAAO,GAAP,OAAO,CAAM;QANzB,UAAK,GAAW,CAAC,CAAC;IAQ1B,CAAC;IAEO,cAAc,CAAC,KAAU;QAC/B,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QAErC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxB,WAAW,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;QACpC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;QAC3B,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,SAAS,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;YAC1E,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;gBACX,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,UAAU,GAAG,KAAK,GAAG,KAAK,CAAC,CAAC;YACvD,CAAC;QACH,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC9B,CAAC;IACH,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC;IACxD,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/findIndex.js b/node_modules/rxjs/_esm2015/operators/findIndex.js deleted file mode 100644 index 7703e713..00000000 --- a/node_modules/rxjs/_esm2015/operators/findIndex.js +++ /dev/null @@ -1,39 +0,0 @@ -import { FindValueOperator } from '../operators/find'; -/** - * Emits only the index of the first value emitted by the source Observable that - * meets some condition. - * - * It's like {@link find}, but emits the index of the - * found value, not the value itself. - * - * - * - * `findIndex` searches for the first item in the source Observable that matches - * the specified condition embodied by the `predicate`, and returns the - * (zero-based) index of the first occurrence in the source. Unlike - * {@link first}, the `predicate` is required in `findIndex`, and does not emit - * an error if a valid value is not found. - * - * @example Emit the index of first click that happens on a DIV element - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.findIndex(ev => ev.target.tagName === 'DIV'); - * result.subscribe(x => console.log(x)); - * - * @see {@link filter} - * @see {@link find} - * @see {@link first} - * @see {@link take} - * - * @param {function(value: T, index: number, source: Observable): boolean} predicate - * A function called with each item to test for condition matching. - * @param {any} [thisArg] An optional argument to determine the value of `this` - * in the `predicate` function. - * @return {Observable} An Observable of the index of the first item that - * matches the condition. - * @method find - * @owner Observable - */ -export function findIndex(predicate, thisArg) { - return (source) => source.lift(new FindValueOperator(predicate, source, true, thisArg)); -} -//# sourceMappingURL=findIndex.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/findIndex.js.map b/node_modules/rxjs/_esm2015/operators/findIndex.js.map deleted file mode 100644 index 458d0a10..00000000 --- a/node_modules/rxjs/_esm2015/operators/findIndex.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"findIndex.js","sourceRoot":"","sources":["../../src/operators/findIndex.ts"],"names":[],"mappings":"OACO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,0BAA6B,SAAsE,EACtE,OAAa;IACxC,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,CAAC,CAAoB,CAAC;AAC5H,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/first.js b/node_modules/rxjs/_esm2015/operators/first.js deleted file mode 100644 index 6b012f08..00000000 --- a/node_modules/rxjs/_esm2015/operators/first.js +++ /dev/null @@ -1,142 +0,0 @@ -import { Subscriber } from '../Subscriber'; -import { EmptyError } from '../util/EmptyError'; -/** - * Emits only the first value (or the first value that meets some condition) - * emitted by the source Observable. - * - * Emits only the first value. Or emits only the first - * value that passes some test. - * - * - * - * If called with no arguments, `first` emits the first value of the source - * Observable, then completes. If called with a `predicate` function, `first` - * emits the first value of the source that matches the specified condition. It - * may also take a `resultSelector` function to produce the output value from - * the input value, and a `defaultValue` to emit in case the source completes - * before it is able to emit a valid value. Throws an error if `defaultValue` - * was not provided and a matching element is not found. - * - * @example Emit only the first click that happens on the DOM - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.first(); - * result.subscribe(x => console.log(x)); - * - * @example Emits the first click that happens on a DIV - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.first(ev => ev.target.tagName === 'DIV'); - * result.subscribe(x => console.log(x)); - * - * @see {@link filter} - * @see {@link find} - * @see {@link take} - * - * @throws {EmptyError} Delivers an EmptyError to the Observer's `error` - * callback if the Observable completes before any `next` notification was sent. - * - * @param {function(value: T, index: number, source: Observable): boolean} [predicate] - * An optional function called with each item to test for condition matching. - * @param {function(value: T, index: number): R} [resultSelector] A function to - * produce the value on the output Observable based on the values - * and the indices of the source Observable. The arguments passed to this - * function are: - * - `value`: the value that was emitted on the source. - * - `index`: the "index" of the value from the source. - * @param {R} [defaultValue] The default value emitted in case no valid value - * was found on the source. - * @return {Observable} An Observable of the first item that matches the - * condition. - * @method first - * @owner Observable - */ -export function first(predicate, resultSelector, defaultValue) { - return (source) => source.lift(new FirstOperator(predicate, resultSelector, defaultValue, source)); -} -class FirstOperator { - constructor(predicate, resultSelector, defaultValue, source) { - this.predicate = predicate; - this.resultSelector = resultSelector; - this.defaultValue = defaultValue; - this.source = source; - } - call(observer, source) { - return source.subscribe(new FirstSubscriber(observer, this.predicate, this.resultSelector, this.defaultValue, this.source)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class FirstSubscriber extends Subscriber { - constructor(destination, predicate, resultSelector, defaultValue, source) { - super(destination); - this.predicate = predicate; - this.resultSelector = resultSelector; - this.defaultValue = defaultValue; - this.source = source; - this.index = 0; - this.hasCompleted = false; - this._emitted = false; - } - _next(value) { - const index = this.index++; - if (this.predicate) { - this._tryPredicate(value, index); - } - else { - this._emit(value, index); - } - } - _tryPredicate(value, index) { - let result; - try { - result = this.predicate(value, index, this.source); - } - catch (err) { - this.destination.error(err); - return; - } - if (result) { - this._emit(value, index); - } - } - _emit(value, index) { - if (this.resultSelector) { - this._tryResultSelector(value, index); - return; - } - this._emitFinal(value); - } - _tryResultSelector(value, index) { - let result; - try { - result = this.resultSelector(value, index); - } - catch (err) { - this.destination.error(err); - return; - } - this._emitFinal(result); - } - _emitFinal(value) { - const destination = this.destination; - if (!this._emitted) { - this._emitted = true; - destination.next(value); - destination.complete(); - this.hasCompleted = true; - } - } - _complete() { - const destination = this.destination; - if (!this.hasCompleted && typeof this.defaultValue !== 'undefined') { - destination.next(this.defaultValue); - destination.complete(); - } - else if (!this.hasCompleted) { - destination.error(new EmptyError); - } - } -} -//# sourceMappingURL=first.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/first.js.map b/node_modules/rxjs/_esm2015/operators/first.js.map deleted file mode 100644 index f019f165..00000000 --- a/node_modules/rxjs/_esm2015/operators/first.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"first.js","sourceRoot":"","sources":["../../src/operators/first.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,UAAU,EAAE,MAAM,oBAAoB;AAiB/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,sBAA4B,SAAuE,EACvE,cAAwD,EACxD,YAAgB;IAC1C,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,SAAS,EAAE,cAAc,EA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AC,KAAK,CAAC,CAAC;YACxB,WAAW,CAAC,QAAQ,EAAE,CAAC;YACvB,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;QAC3B,CAAC;IACH,CAAC;IAES,SAAS;QACjB,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,IAAI,OAAO,IAAI,CAAC,YAAY,KAAK,WAAW,CAAC,CAAC,CAAC;YACnE,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YACpC,WAAW,CAAC,QAAQ,EAAE,CAAC;QACzB,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;YAC9B,WAAW,CAAC,KAAK,CAAC,IAAI,UAAU,CAAC,CAAC;QACpC,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/groupBy.js b/node_modules/rxjs/_esm2015/operators/groupBy.js deleted file mode 100644 index c5266b15..00000000 --- a/node_modules/rxjs/_esm2015/operators/groupBy.js +++ /dev/null @@ -1,257 +0,0 @@ -import { Subscriber } from '../Subscriber'; -import { Subscription } from '../Subscription'; -import { Observable } from '../Observable'; -import { Subject } from '../Subject'; -import { Map } from '../util/Map'; -import { FastMap } from '../util/FastMap'; -/* tslint:enable:max-line-length */ -/** - * Groups the items emitted by an Observable according to a specified criterion, - * and emits these grouped items as `GroupedObservables`, one - * {@link GroupedObservable} per group. - * - * - * - * @example Group objects by id and return as array - * Observable.of({id: 1, name: 'aze1'}, - * {id: 2, name: 'sf2'}, - * {id: 2, name: 'dg2'}, - * {id: 1, name: 'erg1'}, - * {id: 1, name: 'df1'}, - * {id: 2, name: 'sfqfb2'}, - * {id: 3, name: 'qfs3'}, - * {id: 2, name: 'qsgqsfg2'} - * ) - * .groupBy(p => p.id) - * .flatMap( (group$) => group$.reduce((acc, cur) => [...acc, cur], [])) - * .subscribe(p => console.log(p)); - * - * // displays: - * // [ { id: 1, name: 'aze1' }, - * // { id: 1, name: 'erg1' }, - * // { id: 1, name: 'df1' } ] - * // - * // [ { id: 2, name: 'sf2' }, - * // { id: 2, name: 'dg2' }, - * // { id: 2, name: 'sfqfb2' }, - * // { id: 2, name: 'qsgqsfg2' } ] - * // - * // [ { id: 3, name: 'qfs3' } ] - * - * @example Pivot data on the id field - * Observable.of({id: 1, name: 'aze1'}, - * {id: 2, name: 'sf2'}, - * {id: 2, name: 'dg2'}, - * {id: 1, name: 'erg1'}, - * {id: 1, name: 'df1'}, - * {id: 2, name: 'sfqfb2'}, - * {id: 3, name: 'qfs1'}, - * {id: 2, name: 'qsgqsfg2'} - * ) - * .groupBy(p => p.id, p => p.name) - * .flatMap( (group$) => group$.reduce((acc, cur) => [...acc, cur], ["" + group$.key])) - * .map(arr => ({'id': parseInt(arr[0]), 'values': arr.slice(1)})) - * .subscribe(p => console.log(p)); - * - * // displays: - * // { id: 1, values: [ 'aze1', 'erg1', 'df1' ] } - * // { id: 2, values: [ 'sf2', 'dg2', 'sfqfb2', 'qsgqsfg2' ] } - * // { id: 3, values: [ 'qfs1' ] } - * - * @param {function(value: T): K} keySelector A function that extracts the key - * for each item. - * @param {function(value: T): R} [elementSelector] A function that extracts the - * return element for each item. - * @param {function(grouped: GroupedObservable): Observable} [durationSelector] - * A function that returns an Observable to determine how long each group should - * exist. - * @return {Observable>} An Observable that emits - * GroupedObservables, each of which corresponds to a unique key value and each - * of which emits those items from the source Observable that share that key - * value. - * @method groupBy - * @owner Observable - */ -export function groupBy(keySelector, elementSelector, durationSelector, subjectSelector) { - return (source) => source.lift(new GroupByOperator(keySelector, elementSelector, durationSelector, subjectSelector)); -} -class GroupByOperator { - constructor(keySelector, elementSelector, durationSelector, subjectSelector) { - this.keySelector = keySelector; - this.elementSelector = elementSelector; - this.durationSelector = durationSelector; - this.subjectSelector = subjectSelector; - } - call(subscriber, source) { - return source.subscribe(new GroupBySubscriber(subscriber, this.keySelector, this.elementSelector, this.durationSelector, this.subjectSelector)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class GroupBySubscriber extends Subscriber { - constructor(destination, keySelector, elementSelector, durationSelector, subjectSelector) { - super(destination); - this.keySelector = keySelector; - this.elementSelector = elementSelector; - this.durationSelector = durationSelector; - this.subjectSelector = subjectSelector; - this.groups = null; - this.attemptedToUnsubscribe = false; - this.count = 0; - } - _next(value) { - let key; - try { - key = this.keySelector(value); - } - catch (err) { - this.error(err); - return; - } - this._group(value, key); - } - _group(value, key) { - let groups = this.groups; - if (!groups) { - groups = this.groups = typeof key === 'string' ? new FastMap() : new Map(); - } - let group = groups.get(key); - let element; - if (this.elementSelector) { - try { - element = this.elementSelector(value); - } - catch (err) { - this.error(err); - } - } - else { - element = value; - } - if (!group) { - group = this.subjectSelector ? this.subjectSelector() : new Subject(); - groups.set(key, group); - const groupedObservable = new GroupedObservable(key, group, this); - this.destination.next(groupedObservable); - if (this.durationSelector) { - let duration; - try { - duration = this.durationSelector(new GroupedObservable(key, group)); - } - catch (err) { - this.error(err); - return; - } - this.add(duration.subscribe(new GroupDurationSubscriber(key, group, this))); - } - } - if (!group.closed) { - group.next(element); - } - } - _error(err) { - const groups = this.groups; - if (groups) { - groups.forEach((group, key) => { - group.error(err); - }); - groups.clear(); - } - this.destination.error(err); - } - _complete() { - const groups = this.groups; - if (groups) { - groups.forEach((group, key) => { - group.complete(); - }); - groups.clear(); - } - this.destination.complete(); - } - removeGroup(key) { - this.groups.delete(key); - } - unsubscribe() { - if (!this.closed) { - this.attemptedToUnsubscribe = true; - if (this.count === 0) { - super.unsubscribe(); - } - } - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class GroupDurationSubscriber extends Subscriber { - constructor(key, group, parent) { - super(group); - this.key = key; - this.group = group; - this.parent = parent; - } - _next(value) { - this.complete(); - } - _unsubscribe() { - const { parent, key } = this; - this.key = this.parent = null; - if (parent) { - parent.removeGroup(key); - } - } -} -/** - * An Observable representing values belonging to the same group represented by - * a common key. The values emitted by a GroupedObservable come from the source - * Observable. The common key is available as the field `key` on a - * GroupedObservable instance. - * - * @class GroupedObservable - */ -export class GroupedObservable extends Observable { - constructor(key, groupSubject, refCountSubscription) { - super(); - this.key = key; - this.groupSubject = groupSubject; - this.refCountSubscription = refCountSubscription; - } - _subscribe(subscriber) { - const subscription = new Subscription(); - const { refCountSubscription, groupSubject } = this; - if (refCountSubscription && !refCountSubscription.closed) { - subscription.add(new InnerRefCountSubscription(refCountSubscription)); - } - subscription.add(groupSubject.subscribe(subscriber)); - return subscription; - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class InnerRefCountSubscription extends Subscription { - constructor(parent) { - super(); - this.parent = parent; - parent.count++; - } - unsubscribe() { - const parent = this.parent; - if (!parent.closed && !this.closed) { - super.unsubscribe(); - parent.count -= 1; - if (parent.count === 0 && parent.attemptedToUnsubscribe) { - parent.unsubscribe(); - } - } - } -} -//# sourceMappingURL=groupBy.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/groupBy.js.map b/node_modules/rxjs/_esm2015/operators/groupBy.js.map deleted file mode 100644 index cf5c527d..00000000 --- a/node_modules/rxjs/_esm2015/operators/groupBy.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"groupBy.js","sourceRoot":"","sources":["../../src/operators/groupBy.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,YAAY,EAAE,MAAM,iBAAiB;OACvC,EAAE,UAAU,EAAE,MAAM,eAAe;OAEnC,EAAE,OAAO,EAAE,MAAM,YAAY;OAC7B,EAAE,GAAG,EAAE,MAAM,aAAa;OAC1B,EAAE,OAAO,EAAE,MAAM,iBAAiB;AAQzC,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAY;QACxB,yBAAoB,GAApB,oBAAoB,CAAuB;IAE/D,CAAC;IAES,UAAU,CAAC,UAAyB;QAC5C,MAAM,YAAY,GAAG,IAAI,YAAY,EAAE,CAAC;QACxC,MAAM,EAAC,oBAAoB,EAAE,YAAY,EAAC,GAAG,IAAI,CAAC;QAClD,EAAE,CAAC,CAAC,oBAAoB,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC;YACzD,YAAY,CAAC,GAAG,CAAC,IAAI,yBAAyB,CAAC,oBAAoB,CAAC,CAAC,CAAC;QACxE,CAAC;QACD,YAAY,CAAC,GAAG,CAAC,YAAY,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;QACrD,MAAM,CAAC,YAAY,CAAC;IACtB,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,wCAAwC,YAAY;IAClD,YAAoB,MAA4B;QAC9C,OAAO,CAAC;QADU,WAAM,GAAN,MAAM,CAAsB;QAE9C,MAAM,CAAC,KAAK,EAAE,CAAC;IACjB,CAAC;IAED,WAAW;QACT,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YACnC,KAAK,CAAC,WAAW,EAAE,CAAC;YACpB,MAAM,CAAC,KAAK,IAAI,CAAC,CAAC;YAClB,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,KAAK,CAAC,IAAI,MAAM,CAAC,sBAAsB,CAAC,CAAC,CAAC;gBACxD,MAAM,CAAC,WAAW,EAAE,CAAC;YACvB,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/ignoreElements.js b/node_modules/rxjs/_esm2015/operators/ignoreElements.js deleted file mode 100644 index 8569612a..00000000 --- a/node_modules/rxjs/_esm2015/operators/ignoreElements.js +++ /dev/null @@ -1,33 +0,0 @@ -import { Subscriber } from '../Subscriber'; -import { noop } from '../util/noop'; -/** - * Ignores all items emitted by the source Observable and only passes calls of `complete` or `error`. - * - * - * - * @return {Observable} An empty Observable that only calls `complete` - * or `error`, based on which one is called by the source Observable. - * @method ignoreElements - * @owner Observable - */ -export function ignoreElements() { - return function ignoreElementsOperatorFunction(source) { - return source.lift(new IgnoreElementsOperator()); - }; -} -class IgnoreElementsOperator { - call(subscriber, source) { - return source.subscribe(new IgnoreElementsSubscriber(subscriber)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class IgnoreElementsSubscriber extends Subscriber { - _next(unused) { - noop(); - } -} -//# sourceMappingURL=ignoreElements.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/ignoreElements.js.map b/node_modules/rxjs/_esm2015/operators/ignoreElements.js.map deleted file mode 100644 index 667d020c..00000000 --- a/node_modules/rxjs/_esm2015/operators/ignoreElements.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ignoreElements.js","sourceRoot":"","sources":["../../src/operators/ignoreElements.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,IAAI,EAAE,MAAM,cAAc;AAGnC;;;;;;;;;GASG;AACH;IACE,MAAM,CAAC,wCAAwC,MAAqB;QAClE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,sBAAsB,EAAE,CAAC,CAAC;IACnD,CAAC,CAAC;AACJ,CAAC;AAED;IACE,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,wBAAwB,CAAC,UAAU,CAAC,CAAC,CAAC;IACpE,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,uCAA0C,UAAU;IACxC,KAAK,CAAC,MAAS;QACvB,IAAI,EAAE,CAAC;IACT,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/isEmpty.js b/node_modules/rxjs/_esm2015/operators/isEmpty.js deleted file mode 100644 index 1f33bcf7..00000000 --- a/node_modules/rxjs/_esm2015/operators/isEmpty.js +++ /dev/null @@ -1,31 +0,0 @@ -import { Subscriber } from '../Subscriber'; -export function isEmpty() { - return (source) => source.lift(new IsEmptyOperator()); -} -class IsEmptyOperator { - call(observer, source) { - return source.subscribe(new IsEmptySubscriber(observer)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class IsEmptySubscriber extends Subscriber { - constructor(destination) { - super(destination); - } - notifyComplete(isEmpty) { - const destination = this.destination; - destination.next(isEmpty); - destination.complete(); - } - _next(value) { - this.notifyComplete(false); - } - _complete() { - this.notifyComplete(true); - } -} -//# sourceMappingURL=isEmpty.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/isEmpty.js.map b/node_modules/rxjs/_esm2015/operators/isEmpty.js.map deleted file mode 100644 index ebf2307c..00000000 --- a/node_modules/rxjs/_esm2015/operators/isEmpty.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"isEmpty.js","sourceRoot":"","sources":["../../src/operators/isEmpty.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAI1C;IACE,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,eAAe,EAAE,CAAC,CAAC;AACvE,CAAC;AAED;IACE,IAAI,CAAE,QAA6B,EAAE,MAAW;QAC9C,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC3D,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,gCAAgC,UAAU;IACxC,YAAY,WAAgC;QAC1C,MAAM,WAAW,CAAC,CAAC;IACrB,CAAC;IAEO,cAAc,CAAC,OAAgB;QACrC,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QAErC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1B,WAAW,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;IAES,KAAK,CAAC,KAAc;QAC5B,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/last.js b/node_modules/rxjs/_esm2015/operators/last.js deleted file mode 100644 index 0dedbdad..00000000 --- a/node_modules/rxjs/_esm2015/operators/last.js +++ /dev/null @@ -1,109 +0,0 @@ -import { Subscriber } from '../Subscriber'; -import { EmptyError } from '../util/EmptyError'; -/* tslint:enable:max-line-length */ -/** - * Returns an Observable that emits only the last item emitted by the source Observable. - * It optionally takes a predicate function as a parameter, in which case, rather than emitting - * the last item from the source Observable, the resulting Observable will emit the last item - * from the source Observable that satisfies the predicate. - * - * - * - * @throws {EmptyError} Delivers an EmptyError to the Observer's `error` - * callback if the Observable completes before any `next` notification was sent. - * @param {function} predicate - The condition any source emitted item has to satisfy. - * @return {Observable} An Observable that emits only the last item satisfying the given condition - * from the source, or an NoSuchElementException if no such items are emitted. - * @throws - Throws if no items that match the predicate are emitted by the source Observable. - * @method last - * @owner Observable - */ -export function last(predicate, resultSelector, defaultValue) { - return (source) => source.lift(new LastOperator(predicate, resultSelector, defaultValue, source)); -} -class LastOperator { - constructor(predicate, resultSelector, defaultValue, source) { - this.predicate = predicate; - this.resultSelector = resultSelector; - this.defaultValue = defaultValue; - this.source = source; - } - call(observer, source) { - return source.subscribe(new LastSubscriber(observer, this.predicate, this.resultSelector, this.defaultValue, this.source)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class LastSubscriber extends Subscriber { - constructor(destination, predicate, resultSelector, defaultValue, source) { - super(destination); - this.predicate = predicate; - this.resultSelector = resultSelector; - this.defaultValue = defaultValue; - this.source = source; - this.hasValue = false; - this.index = 0; - if (typeof defaultValue !== 'undefined') { - this.lastValue = defaultValue; - this.hasValue = true; - } - } - _next(value) { - const index = this.index++; - if (this.predicate) { - this._tryPredicate(value, index); - } - else { - if (this.resultSelector) { - this._tryResultSelector(value, index); - return; - } - this.lastValue = value; - this.hasValue = true; - } - } - _tryPredicate(value, index) { - let result; - try { - result = this.predicate(value, index, this.source); - } - catch (err) { - this.destination.error(err); - return; - } - if (result) { - if (this.resultSelector) { - this._tryResultSelector(value, index); - return; - } - this.lastValue = value; - this.hasValue = true; - } - } - _tryResultSelector(value, index) { - let result; - try { - result = this.resultSelector(value, index); - } - catch (err) { - this.destination.error(err); - return; - } - this.lastValue = result; - this.hasValue = true; - } - _complete() { - const destination = this.destination; - if (this.hasValue) { - destination.next(this.lastValue); - destination.complete(); - } - else { - destination.error(new EmptyError); - } - } -} -//# sourceMappingURL=last.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/last.js.map b/node_modules/rxjs/_esm2015/operators/last.js.map deleted file mode 100644 index 6d787392..00000000 --- a/node_modules/rxjs/_esm2015/operators/last.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"last.js","sourceRoot":"","sources":["../../src/operators/last.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,UAAU,EAAE,MAAM,oBAAoB;AAiB/C,mCAAmC;AAEnC;;;;;;;;;;;;;;;;GAgBG;AACH,qBAA2B,SAAuE,EACvE,cAAwD,EACxD,YAAgB;IACzC,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,YAAY,CAAC,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC;AACnH,CAAC;AAED;IACE,YAAoB,SAAuE,EACvE,cAAwD,EACxD,YAAkB,EAClB,MAAsB;QAHtB,cAAS,GAAT,SAAS,CAA8D;QACvE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I,CAAC,QAAQ,CAAC,CAAC,CAAC;YAClB,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YACjC,WAAW,CAAC,QAAQ,EAAE,CAAC;QACzB,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,WAAW,CAAC,KAAK,CAAC,IAAI,UAAU,CAAC,CAAC;QACpC,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/map.js b/node_modules/rxjs/_esm2015/operators/map.js deleted file mode 100644 index 835e3c37..00000000 --- a/node_modules/rxjs/_esm2015/operators/map.js +++ /dev/null @@ -1,78 +0,0 @@ -import { Subscriber } from '../Subscriber'; -/** - * Applies a given `project` function to each value emitted by the source - * Observable, and emits the resulting values as an Observable. - * - * Like [Array.prototype.map()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map), - * it passes each source value through a transformation function to get - * corresponding output values. - * - * - * - * Similar to the well known `Array.prototype.map` function, this operator - * applies a projection to each value and emits that projection in the output - * Observable. - * - * @example Map every click to the clientX position of that click - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var positions = clicks.map(ev => ev.clientX); - * positions.subscribe(x => console.log(x)); - * - * @see {@link mapTo} - * @see {@link pluck} - * - * @param {function(value: T, index: number): R} project The function to apply - * to each `value` emitted by the source Observable. The `index` parameter is - * the number `i` for the i-th emission that has happened since the - * subscription, starting from the number `0`. - * @param {any} [thisArg] An optional argument to define what `this` is in the - * `project` function. - * @return {Observable} An Observable that emits the values from the source - * Observable transformed by the given `project` function. - * @method map - * @owner Observable - */ -export function map(project, thisArg) { - return function mapOperation(source) { - if (typeof project !== 'function') { - throw new TypeError('argument is not a function. Are you looking for `mapTo()`?'); - } - return source.lift(new MapOperator(project, thisArg)); - }; -} -export class MapOperator { - constructor(project, thisArg) { - this.project = project; - this.thisArg = thisArg; - } - call(subscriber, source) { - return source.subscribe(new MapSubscriber(subscriber, this.project, this.thisArg)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class MapSubscriber extends Subscriber { - constructor(destination, project, thisArg) { - super(destination); - this.project = project; - this.count = 0; - this.thisArg = thisArg || this; - } - // NOTE: This looks unoptimized, but it's actually purposefully NOT - // using try/catch optimizations. - _next(value) { - let result; - try { - result = this.project.call(this.thisArg, value, this.count++); - } - catch (err) { - this.destination.error(err); - return; - } - this.destination.next(result); - } -} -//# sourceMappingURL=map.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/map.js.map b/node_modules/rxjs/_esm2015/operators/map.js.map deleted file mode 100644 index e469120d..00000000 --- a/node_modules/rxjs/_esm2015/operators/map.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"map.js","sourceRoot":"","sources":["../../src/operators/map.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAI1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,oBAA0B,OAAuC,EAAE,OAAa;IAC9E,MAAM,CAAC,sBAAsB,MAAqB;QAChD,EAAE,CAAC,CAAC,OAAO,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC;YAClC,MAAM,IAAI,SAAS,CAAC,4DAA4D,CAAC,CAAC;QACpF,CAAC;QACD,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,WAAW,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IACxD,CAAC,CAAC;AACJ,CAAC;AAED;IACE,YAAoB,OAAuC,EAAU,OAAY;QAA7D,YAAO,GAAP,OAAO,CAAgC;QAAU,YAAO,GAAP,OAAO,CAAK;IACjF,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,aAAa,CAAC,UAAU,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IACrF,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,4BAAkC,UAAU;IAI1C,YAAY,WAA0B,EAClB,OAAuC,EAC/C,OAAY;QACtB,MAAM,WAAW,CAAC,CAAC;QAFD,YAAO,GAAP,OAAO,CAAgC;QAJ3D,UAAK,GAAW,CAAC,CAAC;QAOhB,IAAI,CAAC,OAAO,GAAG,OAAO,IAAI,IAAI,CAAC;IACjC,CAAC;IAED,mEAAmE;IACnE,iCAAiC;IACvB,KAAK,CAAC,KAAQ;QACtB,IAAI,MAAW,CAAC;QAChB,IAAI,CAAC;YACH,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;QAChE,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,MAAM,CAAC;QACT,CAAC;QACD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/mapTo.js b/node_modules/rxjs/_esm2015/operators/mapTo.js deleted file mode 100644 index cacf1c02..00000000 --- a/node_modules/rxjs/_esm2015/operators/mapTo.js +++ /dev/null @@ -1,53 +0,0 @@ -import { Subscriber } from '../Subscriber'; -/** - * Emits the given constant value on the output Observable every time the source - * Observable emits a value. - * - * Like {@link map}, but it maps every source value to - * the same output value every time. - * - * - * - * Takes a constant `value` as argument, and emits that whenever the source - * Observable emits a value. In other words, ignores the actual source value, - * and simply uses the emission moment to know when to emit the given `value`. - * - * @example Map every click to the string 'Hi' - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var greetings = clicks.mapTo('Hi'); - * greetings.subscribe(x => console.log(x)); - * - * @see {@link map} - * - * @param {any} value The value to map each source value to. - * @return {Observable} An Observable that emits the given `value` every time - * the source Observable emits something. - * @method mapTo - * @owner Observable - */ -export function mapTo(value) { - return (source) => source.lift(new MapToOperator(value)); -} -class MapToOperator { - constructor(value) { - this.value = value; - } - call(subscriber, source) { - return source.subscribe(new MapToSubscriber(subscriber, this.value)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class MapToSubscriber extends Subscriber { - constructor(destination, value) { - super(destination); - this.value = value; - } - _next(x) { - this.destination.next(this.value); - } -} -//# sourceMappingURL=mapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/mapTo.js.map b/node_modules/rxjs/_esm2015/operators/mapTo.js.map deleted file mode 100644 index 36c323ec..00000000 --- a/node_modules/rxjs/_esm2015/operators/mapTo.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"mapTo.js","sourceRoot":"","sources":["../../src/operators/mapTo.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAI1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,sBAA4B,KAAQ;IAClC,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;AAC1E,CAAC;AAED;IAIE,YAAY,KAAQ;QAClB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,eAAe,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IACvE,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,8BAAoC,UAAU;IAI5C,YAAY,WAA0B,EAAE,KAAQ;QAC9C,MAAM,WAAW,CAAC,CAAC;QACnB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAES,KAAK,CAAC,CAAI;QAClB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/materialize.js b/node_modules/rxjs/_esm2015/operators/materialize.js deleted file mode 100644 index 46cb8bd4..00000000 --- a/node_modules/rxjs/_esm2015/operators/materialize.js +++ /dev/null @@ -1,80 +0,0 @@ -import { Subscriber } from '../Subscriber'; -import { Notification } from '../Notification'; -/** - * Represents all of the notifications from the source Observable as `next` - * emissions marked with their original types within {@link Notification} - * objects. - * - * Wraps `next`, `error` and `complete` emissions in - * {@link Notification} objects, emitted as `next` on the output Observable. - * - * - * - * - * `materialize` returns an Observable that emits a `next` notification for each - * `next`, `error`, or `complete` emission of the source Observable. When the - * source Observable emits `complete`, the output Observable will emit `next` as - * a Notification of type "complete", and then it will emit `complete` as well. - * When the source Observable emits `error`, the output will emit `next` as a - * Notification of type "error", and then `complete`. - * - * This operator is useful for producing metadata of the source Observable, to - * be consumed as `next` emissions. Use it in conjunction with - * {@link dematerialize}. - * - * @example Convert a faulty Observable to an Observable of Notifications - * var letters = Rx.Observable.of('a', 'b', 13, 'd'); - * var upperCase = letters.map(x => x.toUpperCase()); - * var materialized = upperCase.materialize(); - * materialized.subscribe(x => console.log(x)); - * - * // Results in the following: - * // - Notification {kind: "N", value: "A", error: undefined, hasValue: true} - * // - Notification {kind: "N", value: "B", error: undefined, hasValue: true} - * // - Notification {kind: "E", value: undefined, error: TypeError: - * // x.toUpperCase is not a function at MapSubscriber.letters.map.x - * // [as project] (http://1…, hasValue: false} - * - * @see {@link Notification} - * @see {@link dematerialize} - * - * @return {Observable>} An Observable that emits - * {@link Notification} objects that wrap the original emissions from the source - * Observable with metadata. - * @method materialize - * @owner Observable - */ -export function materialize() { - return function materializeOperatorFunction(source) { - return source.lift(new MaterializeOperator()); - }; -} -class MaterializeOperator { - call(subscriber, source) { - return source.subscribe(new MaterializeSubscriber(subscriber)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class MaterializeSubscriber extends Subscriber { - constructor(destination) { - super(destination); - } - _next(value) { - this.destination.next(Notification.createNext(value)); - } - _error(err) { - const destination = this.destination; - destination.next(Notification.createError(err)); - destination.complete(); - } - _complete() { - const destination = this.destination; - destination.next(Notification.createComplete()); - destination.complete(); - } -} -//# sourceMappingURL=materialize.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/materialize.js.map b/node_modules/rxjs/_esm2015/operators/materialize.js.map deleted file mode 100644 index 9ae3d046..00000000 --- a/node_modules/rxjs/_esm2015/operators/materialize.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"materialize.js","sourceRoot":"","sources":["../../src/operators/materialize.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,YAAY,EAAE,MAAM,iBAAiB;AAG9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH;IACE,MAAM,CAAC,qCAAqC,MAAqB;QAC/D,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,mBAAmB,EAAE,CAAC,CAAC;IAChD,CAAC,CAAC;AACJ,CAAC;AAED;IACE,IAAI,CAAC,UAAuC,EAAE,MAAW;QACvD,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,qBAAqB,CAAC,UAAU,CAAC,CAAC,CAAC;IACjE,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,oCAAuC,UAAU;IAC/C,YAAY,WAAwC;QAClD,MAAM,WAAW,CAAC,CAAC;IACrB,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IACxD,CAAC;IAES,MAAM,CAAC,GAAQ;QACvB,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC;QAChD,WAAW,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;IAES,SAAS;QACjB,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,cAAc,EAAE,CAAC,CAAC;QAChD,WAAW,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/max.js b/node_modules/rxjs/_esm2015/operators/max.js deleted file mode 100644 index e144fd51..00000000 --- a/node_modules/rxjs/_esm2015/operators/max.js +++ /dev/null @@ -1,39 +0,0 @@ -import { reduce } from './reduce'; -/** - * The Max operator operates on an Observable that emits numbers (or items that can be compared with a provided function), - * and when source Observable completes it emits a single item: the item with the largest value. - * - * - * - * @example Get the maximal value of a series of numbers - * Rx.Observable.of(5, 4, 7, 2, 8) - * .max() - * .subscribe(x => console.log(x)); // -> 8 - * - * @example Use a comparer function to get the maximal item - * interface Person { - * age: number, - * name: string - * } - * Observable.of({age: 7, name: 'Foo'}, - * {age: 5, name: 'Bar'}, - * {age: 9, name: 'Beer'}) - * .max((a: Person, b: Person) => a.age < b.age ? -1 : 1) - * .subscribe((x: Person) => console.log(x.name)); // -> 'Beer' - * } - * - * @see {@link min} - * - * @param {Function} [comparer] - Optional comparer function that it will use instead of its default to compare the - * value of two items. - * @return {Observable} An Observable that emits item with the largest value. - * @method max - * @owner Observable - */ -export function max(comparer) { - const max = (typeof comparer === 'function') - ? (x, y) => comparer(x, y) > 0 ? x : y - : (x, y) => x > y ? x : y; - return reduce(max); -} -//# sourceMappingURL=max.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/max.js.map b/node_modules/rxjs/_esm2015/operators/max.js.map deleted file mode 100644 index 19a6c48e..00000000 --- a/node_modules/rxjs/_esm2015/operators/max.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"max.js","sourceRoot":"","sources":["../../src/operators/max.ts"],"names":[],"mappings":"OAAO,EAAE,MAAM,EAAE,MAAM,UAAU;AAGjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,oBAAuB,QAAiC;IACtD,MAAM,GAAG,GAAsB,CAAC,OAAO,QAAQ,KAAK,UAAU,CAAC;UAC3D,CAAC,CAAC,EAAE,CAAC,KAAK,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC;UACpC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAE5B,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/merge.js b/node_modules/rxjs/_esm2015/operators/merge.js deleted file mode 100644 index d032c77e..00000000 --- a/node_modules/rxjs/_esm2015/operators/merge.js +++ /dev/null @@ -1,53 +0,0 @@ -import { merge as mergeStatic } from '../observable/merge'; -export { merge as mergeStatic } from '../observable/merge'; -/* tslint:enable:max-line-length */ -/** - * Creates an output Observable which concurrently emits all values from every - * given input Observable. - * - * Flattens multiple Observables together by blending - * their values into one Observable. - * - * - * - * `merge` subscribes to each given input Observable (either the source or an - * Observable given as argument), and simply forwards (without doing any - * transformation) all the values from all the input Observables to the output - * Observable. The output Observable only completes once all input Observables - * have completed. Any error delivered by an input Observable will be immediately - * emitted on the output Observable. - * - * @example Merge together two Observables: 1s interval and clicks - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var timer = Rx.Observable.interval(1000); - * var clicksOrTimer = clicks.merge(timer); - * clicksOrTimer.subscribe(x => console.log(x)); - * - * @example Merge together 3 Observables, but only 2 run concurrently - * var timer1 = Rx.Observable.interval(1000).take(10); - * var timer2 = Rx.Observable.interval(2000).take(6); - * var timer3 = Rx.Observable.interval(500).take(10); - * var concurrent = 2; // the argument - * var merged = timer1.merge(timer2, timer3, concurrent); - * merged.subscribe(x => console.log(x)); - * - * @see {@link mergeAll} - * @see {@link mergeMap} - * @see {@link mergeMapTo} - * @see {@link mergeScan} - * - * @param {ObservableInput} other An input Observable to merge with the source - * Observable. More than one input Observables may be given as argument. - * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input - * Observables being subscribed to concurrently. - * @param {Scheduler} [scheduler=null] The IScheduler to use for managing - * concurrency of input Observables. - * @return {Observable} An Observable that emits items that are the result of - * every input Observable. - * @method merge - * @owner Observable - */ -export function merge(...observables) { - return (source) => source.lift.call(mergeStatic(source, ...observables)); -} -//# sourceMappingURL=merge.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/merge.js.map b/node_modules/rxjs/_esm2015/operators/merge.js.map deleted file mode 100644 index 78f26ad8..00000000 --- a/node_modules/rxjs/_esm2015/operators/merge.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../src/operators/merge.ts"],"names":[],"mappings":"OAGO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,qBAAqB;AAE1D,SAAS,KAAK,IAAI,WAAW,QAAQ,qBAAqB,CAAC;AAiB3D,mCAAmC;AACnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,sBAA4B,GAAG,WAA8D;IAC3F,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,GAAG,WAAW,CAAC,CAAC,CAAC;AAC1F,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/mergeAll.js b/node_modules/rxjs/_esm2015/operators/mergeAll.js deleted file mode 100644 index 98d0ba15..00000000 --- a/node_modules/rxjs/_esm2015/operators/mergeAll.js +++ /dev/null @@ -1,50 +0,0 @@ -import { mergeMap } from './mergeMap'; -import { identity } from '../util/identity'; -/** - * Converts a higher-order Observable into a first-order Observable which - * concurrently delivers all values that are emitted on the inner Observables. - * - * Flattens an Observable-of-Observables. - * - * - * - * `mergeAll` subscribes to an Observable that emits Observables, also known as - * a higher-order Observable. Each time it observes one of these emitted inner - * Observables, it subscribes to that and delivers all the values from the - * inner Observable on the output Observable. The output Observable only - * completes once all inner Observables have completed. Any error delivered by - * a inner Observable will be immediately emitted on the output Observable. - * - * @example Spawn a new interval Observable for each click event, and blend their outputs as one Observable - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000)); - * var firstOrder = higherOrder.mergeAll(); - * firstOrder.subscribe(x => console.log(x)); - * - * @example Count from 0 to 9 every second for each click, but only allow 2 concurrent timers - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000).take(10)); - * var firstOrder = higherOrder.mergeAll(2); - * firstOrder.subscribe(x => console.log(x)); - * - * @see {@link combineAll} - * @see {@link concatAll} - * @see {@link exhaust} - * @see {@link merge} - * @see {@link mergeMap} - * @see {@link mergeMapTo} - * @see {@link mergeScan} - * @see {@link switch} - * @see {@link zipAll} - * - * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of inner - * Observables being subscribed to concurrently. - * @return {Observable} An Observable that emits values coming from all the - * inner Observables emitted by the source Observable. - * @method mergeAll - * @owner Observable - */ -export function mergeAll(concurrent = Number.POSITIVE_INFINITY) { - return mergeMap(identity, null, concurrent); -} -//# sourceMappingURL=mergeAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/mergeAll.js.map b/node_modules/rxjs/_esm2015/operators/mergeAll.js.map deleted file mode 100644 index 77557282..00000000 --- a/node_modules/rxjs/_esm2015/operators/mergeAll.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"mergeAll.js","sourceRoot":"","sources":["../../src/operators/mergeAll.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAE,MAAM,YAAY;OAC9B,EAAE,QAAQ,EAAE,MAAM,kBAAkB;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,yBAA4B,UAAU,GAAW,MAAM,CAAC,iBAAiB;IACvE,MAAM,CAAC,QAAQ,CAAC,QAA4D,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC;AAClG,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/mergeMap.js b/node_modules/rxjs/_esm2015/operators/mergeMap.js deleted file mode 100644 index 17163f05..00000000 --- a/node_modules/rxjs/_esm2015/operators/mergeMap.js +++ /dev/null @@ -1,158 +0,0 @@ -import { subscribeToResult } from '../util/subscribeToResult'; -import { OuterSubscriber } from '../OuterSubscriber'; -/* tslint:enable:max-line-length */ -/** - * Projects each source value to an Observable which is merged in the output - * Observable. - * - * Maps each value to an Observable, then flattens all of - * these inner Observables using {@link mergeAll}. - * - * - * - * Returns an Observable that emits items based on applying a function that you - * supply to each item emitted by the source Observable, where that function - * returns an Observable, and then merging those resulting Observables and - * emitting the results of this merger. - * - * @example Map and flatten each letter to an Observable ticking every 1 second - * var letters = Rx.Observable.of('a', 'b', 'c'); - * var result = letters.mergeMap(x => - * Rx.Observable.interval(1000).map(i => x+i) - * ); - * result.subscribe(x => console.log(x)); - * - * // Results in the following: - * // a0 - * // b0 - * // c0 - * // a1 - * // b1 - * // c1 - * // continues to list a,b,c with respective ascending integers - * - * @see {@link concatMap} - * @see {@link exhaustMap} - * @see {@link merge} - * @see {@link mergeAll} - * @see {@link mergeMapTo} - * @see {@link mergeScan} - * @see {@link switchMap} - * - * @param {function(value: T, ?index: number): ObservableInput} project A function - * that, when applied to an item emitted by the source Observable, returns an - * Observable. - * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] - * A function to produce the value on the output Observable based on the values - * and the indices of the source (outer) emission and the inner Observable - * emission. The arguments passed to this function are: - * - `outerValue`: the value that came from the source - * - `innerValue`: the value that came from the projected Observable - * - `outerIndex`: the "index" of the value that came from the source - * - `innerIndex`: the "index" of the value from the projected Observable - * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input - * Observables being subscribed to concurrently. - * @return {Observable} An Observable that emits the result of applying the - * projection function (and the optional `resultSelector`) to each item emitted - * by the source Observable and merging the results of the Observables obtained - * from this transformation. - * @method mergeMap - * @owner Observable - */ -export function mergeMap(project, resultSelector, concurrent = Number.POSITIVE_INFINITY) { - return function mergeMapOperatorFunction(source) { - if (typeof resultSelector === 'number') { - concurrent = resultSelector; - resultSelector = null; - } - return source.lift(new MergeMapOperator(project, resultSelector, concurrent)); - }; -} -export class MergeMapOperator { - constructor(project, resultSelector, concurrent = Number.POSITIVE_INFINITY) { - this.project = project; - this.resultSelector = resultSelector; - this.concurrent = concurrent; - } - call(observer, source) { - return source.subscribe(new MergeMapSubscriber(observer, this.project, this.resultSelector, this.concurrent)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class MergeMapSubscriber extends OuterSubscriber { - constructor(destination, project, resultSelector, concurrent = Number.POSITIVE_INFINITY) { - super(destination); - this.project = project; - this.resultSelector = resultSelector; - this.concurrent = concurrent; - this.hasCompleted = false; - this.buffer = []; - this.active = 0; - this.index = 0; - } - _next(value) { - if (this.active < this.concurrent) { - this._tryNext(value); - } - else { - this.buffer.push(value); - } - } - _tryNext(value) { - let result; - const index = this.index++; - try { - result = this.project(value, index); - } - catch (err) { - this.destination.error(err); - return; - } - this.active++; - this._innerSub(result, value, index); - } - _innerSub(ish, value, index) { - this.add(subscribeToResult(this, ish, value, index)); - } - _complete() { - this.hasCompleted = true; - if (this.active === 0 && this.buffer.length === 0) { - this.destination.complete(); - } - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - if (this.resultSelector) { - this._notifyResultSelector(outerValue, innerValue, outerIndex, innerIndex); - } - else { - this.destination.next(innerValue); - } - } - _notifyResultSelector(outerValue, innerValue, outerIndex, innerIndex) { - let result; - try { - result = this.resultSelector(outerValue, innerValue, outerIndex, innerIndex); - } - catch (err) { - this.destination.error(err); - return; - } - this.destination.next(result); - } - notifyComplete(innerSub) { - const buffer = this.buffer; - this.remove(innerSub); - this.active--; - if (buffer.length > 0) { - this._next(buffer.shift()); - } - else if (this.active === 0 && this.hasCompleted) { - this.destination.complete(); - } - } -} -//# sourceMappingURL=mergeMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/mergeMap.js.map b/node_modules/rxjs/_esm2015/operators/mergeMap.js.map deleted file mode 100644 index 29bb824e..00000000 --- a/node_modules/rxjs/_esm2015/operators/mergeMap.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"mergeMap.js","sourceRoot":"","sources":["../../src/operators/mergeMap.ts"],"names":[],"mappings":"OAIO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;OACtD,EAAE,eAAe,EAAE,MAAM,oBAAoB;AAOpD,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,yBAAkC,OAAwD,EACxD,cAAuG,EACvG,UAAU,GAAW,MAAM,CAAC,iBAAiB;IAC7E,MAAM,CAAC,kCAAkC,MAAqB;QAC5D,EAAE,CAAC,CAAC,OAAO,cAAc,KAAK,QAAQ,CAAC,CAAC,CAAC;YACvC,UAAU,GAAW,cAAc,CAAC;YACpC,cAAc,GAAG,IAAI,CAAC;QACxB,CAAC;QACD,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,gBAAgB,CAAC,OAAO,EAAO,cAAc,EAAE,UAAU,CAAC,CAAC,CAAC;IACrF,CAAC,CAAC;AACJ,CAAC;AAED;IACE,YAAoB,OAAwD,EACxD,cAA4F,EAC5F,UAAU,GAAW,MAAM,CAAC,iBAAiB;QAF7C,YAAO,GAAP,OAAO,CAAiD;QACxD,mBAAc,GAAd,cAAc,C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AC,CAAC;YAC5B,MAAM,CAAC;QACT,CAAC;QACD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,cAAc,CAAC,QAAsB;QACnC,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QACtB,IAAI,CAAC,MAAM,EAAE,CAAC;QACd,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;YACtB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;QAC7B,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;YAClD,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/mergeMapTo.js b/node_modules/rxjs/_esm2015/operators/mergeMapTo.js deleted file mode 100644 index 560b3fc4..00000000 --- a/node_modules/rxjs/_esm2015/operators/mergeMapTo.js +++ /dev/null @@ -1,140 +0,0 @@ -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/* tslint:enable:max-line-length */ -/** - * Projects each source value to the same Observable which is merged multiple - * times in the output Observable. - * - * It's like {@link mergeMap}, but maps each value always - * to the same inner Observable. - * - * - * - * Maps each source value to the given Observable `innerObservable` regardless - * of the source value, and then merges those resulting Observables into one - * single Observable, which is the output Observable. - * - * @example For each click event, start an interval Observable ticking every 1 second - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.mergeMapTo(Rx.Observable.interval(1000)); - * result.subscribe(x => console.log(x)); - * - * @see {@link concatMapTo} - * @see {@link merge} - * @see {@link mergeAll} - * @see {@link mergeMap} - * @see {@link mergeScan} - * @see {@link switchMapTo} - * - * @param {ObservableInput} innerObservable An Observable to replace each value from - * the source Observable. - * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] - * A function to produce the value on the output Observable based on the values - * and the indices of the source (outer) emission and the inner Observable - * emission. The arguments passed to this function are: - * - `outerValue`: the value that came from the source - * - `innerValue`: the value that came from the projected Observable - * - `outerIndex`: the "index" of the value that came from the source - * - `innerIndex`: the "index" of the value from the projected Observable - * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input - * Observables being subscribed to concurrently. - * @return {Observable} An Observable that emits items from the given - * `innerObservable` (and optionally transformed through `resultSelector`) every - * time a value is emitted on the source Observable. - * @method mergeMapTo - * @owner Observable - */ -export function mergeMapTo(innerObservable, resultSelector, concurrent = Number.POSITIVE_INFINITY) { - if (typeof resultSelector === 'number') { - concurrent = resultSelector; - resultSelector = null; - } - return (source) => source.lift(new MergeMapToOperator(innerObservable, resultSelector, concurrent)); -} -// TODO: Figure out correct signature here: an Operator, R> -// needs to implement call(observer: Subscriber): Subscriber> -export class MergeMapToOperator { - constructor(ish, resultSelector, concurrent = Number.POSITIVE_INFINITY) { - this.ish = ish; - this.resultSelector = resultSelector; - this.concurrent = concurrent; - } - call(observer, source) { - return source.subscribe(new MergeMapToSubscriber(observer, this.ish, this.resultSelector, this.concurrent)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class MergeMapToSubscriber extends OuterSubscriber { - constructor(destination, ish, resultSelector, concurrent = Number.POSITIVE_INFINITY) { - super(destination); - this.ish = ish; - this.resultSelector = resultSelector; - this.concurrent = concurrent; - this.hasCompleted = false; - this.buffer = []; - this.active = 0; - this.index = 0; - } - _next(value) { - if (this.active < this.concurrent) { - const resultSelector = this.resultSelector; - const index = this.index++; - const ish = this.ish; - const destination = this.destination; - this.active++; - this._innerSub(ish, destination, resultSelector, value, index); - } - else { - this.buffer.push(value); - } - } - _innerSub(ish, destination, resultSelector, value, index) { - this.add(subscribeToResult(this, ish, value, index)); - } - _complete() { - this.hasCompleted = true; - if (this.active === 0 && this.buffer.length === 0) { - this.destination.complete(); - } - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - const { resultSelector, destination } = this; - if (resultSelector) { - this.trySelectResult(outerValue, innerValue, outerIndex, innerIndex); - } - else { - destination.next(innerValue); - } - } - trySelectResult(outerValue, innerValue, outerIndex, innerIndex) { - const { resultSelector, destination } = this; - let result; - try { - result = resultSelector(outerValue, innerValue, outerIndex, innerIndex); - } - catch (err) { - destination.error(err); - return; - } - destination.next(result); - } - notifyError(err) { - this.destination.error(err); - } - notifyComplete(innerSub) { - const buffer = this.buffer; - this.remove(innerSub); - this.active--; - if (buffer.length > 0) { - this._next(buffer.shift()); - } - else if (this.active === 0 && this.hasCompleted) { - this.destination.complete(); - } - } -} -//# sourceMappingURL=mergeMapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/mergeMapTo.js.map b/node_modules/rxjs/_esm2015/operators/mergeMapTo.js.map deleted file mode 100644 index c636d6e4..00000000 --- a/node_modules/rxjs/_esm2015/operators/mergeMapTo.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"mergeMapTo.js","sourceRoot":"","sources":["../../src/operators/mergeMapTo.ts"],"names":[],"mappings":"OAKO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAM7D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,2BAAoC,eAA8B,EAC9B,cAAuG,EACvG,UAAU,GAAW,MAAM,CAAC,iBAAiB;IAC/E,EAAE,CAAC,CAAC,OAAO,cAAc,KAAK,QAAQ,CAAC,CAAC,CAAC;QACvC,UAAU,GAAW,cAAc,CAAC;QACpC,cAAc,GAAG,IAAI,CAAC;IACxB,CAAC;IACD,MAAM,CAAC,C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AAS,CAAC;QACd,IAAI,CAAC;YACH,MAAM,GAAG,cAAc,CAAC,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC;QAC1E,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YACvB,MAAM,CAAC;QACT,CAAC;QAED,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC3B,CAAC;IAED,WAAW,CAAC,GAAQ;QAClB,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAED,cAAc,CAAC,QAAsB;QACnC,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QACtB,IAAI,CAAC,MAAM,EAAE,CAAC;QACd,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;YACtB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;QAC7B,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;YAClD,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/mergeScan.js b/node_modules/rxjs/_esm2015/operators/mergeScan.js deleted file mode 100644 index fde77092..00000000 --- a/node_modules/rxjs/_esm2015/operators/mergeScan.js +++ /dev/null @@ -1,116 +0,0 @@ -import { tryCatch } from '../util/tryCatch'; -import { errorObject } from '../util/errorObject'; -import { subscribeToResult } from '../util/subscribeToResult'; -import { OuterSubscriber } from '../OuterSubscriber'; -/** - * Applies an accumulator function over the source Observable where the - * accumulator function itself returns an Observable, then each intermediate - * Observable returned is merged into the output Observable. - * - * It's like {@link scan}, but the Observables returned - * by the accumulator are merged into the outer Observable. - * - * @example Count the number of click events - * const click$ = Rx.Observable.fromEvent(document, 'click'); - * const one$ = click$.mapTo(1); - * const seed = 0; - * const count$ = one$.mergeScan((acc, one) => Rx.Observable.of(acc + one), seed); - * count$.subscribe(x => console.log(x)); - * - * // Results: - * 1 - * 2 - * 3 - * 4 - * // ...and so on for each click - * - * @param {function(acc: R, value: T): Observable} accumulator - * The accumulator function called on each source value. - * @param seed The initial accumulation value. - * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of - * input Observables being subscribed to concurrently. - * @return {Observable} An observable of the accumulated values. - * @method mergeScan - * @owner Observable - */ -export function mergeScan(accumulator, seed, concurrent = Number.POSITIVE_INFINITY) { - return (source) => source.lift(new MergeScanOperator(accumulator, seed, concurrent)); -} -export class MergeScanOperator { - constructor(accumulator, seed, concurrent) { - this.accumulator = accumulator; - this.seed = seed; - this.concurrent = concurrent; - } - call(subscriber, source) { - return source.subscribe(new MergeScanSubscriber(subscriber, this.accumulator, this.seed, this.concurrent)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class MergeScanSubscriber extends OuterSubscriber { - constructor(destination, accumulator, acc, concurrent) { - super(destination); - this.accumulator = accumulator; - this.acc = acc; - this.concurrent = concurrent; - this.hasValue = false; - this.hasCompleted = false; - this.buffer = []; - this.active = 0; - this.index = 0; - } - _next(value) { - if (this.active < this.concurrent) { - const index = this.index++; - const ish = tryCatch(this.accumulator)(this.acc, value); - const destination = this.destination; - if (ish === errorObject) { - destination.error(errorObject.e); - } - else { - this.active++; - this._innerSub(ish, value, index); - } - } - else { - this.buffer.push(value); - } - } - _innerSub(ish, value, index) { - this.add(subscribeToResult(this, ish, value, index)); - } - _complete() { - this.hasCompleted = true; - if (this.active === 0 && this.buffer.length === 0) { - if (this.hasValue === false) { - this.destination.next(this.acc); - } - this.destination.complete(); - } - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - const { destination } = this; - this.acc = innerValue; - this.hasValue = true; - destination.next(innerValue); - } - notifyComplete(innerSub) { - const buffer = this.buffer; - this.remove(innerSub); - this.active--; - if (buffer.length > 0) { - this._next(buffer.shift()); - } - else if (this.active === 0 && this.hasCompleted) { - if (this.hasValue === false) { - this.destination.next(this.acc); - } - this.destination.complete(); - } - } -} -//# sourceMappingURL=mergeScan.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/mergeScan.js.map b/node_modules/rxjs/_esm2015/operators/mergeScan.js.map deleted file mode 100644 index 22288fdb..00000000 --- a/node_modules/rxjs/_esm2015/operators/mergeScan.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"mergeScan.js","sourceRoot":"","sources":["../../src/operators/mergeScan.ts"],"names":[],"mappings":"OAIO,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;OACtD,EAAE,eAAe,EAAE,MAAM,oBAAoB;AAIpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,0BAAgC,WAAgD,EAChD,IAAO,EACP,UAAU,GAAW,MAAM,CAAC,iBAAiB;IAC3E,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,WAAW,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC;AACtG,CAAC;AAED;IACE,YAAoB,WAAgD,EAChD,IAAO,EACP,UAAkB;QAFlB,gBAAW,GAAX,WAAW,CAAqC;QAChD,SAAI,GAAJ,IAAI,CAAG;QACP,eAAU,GAAV,UAAU,CAAQ;IACtC,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,mBAAmB,CAC7C,UAAU,EAAE,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,CAAC;YAClD,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,KAAK,KAAK,CAAC,CAAC,CAAC;gBAC5B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YAClC,CAAC;YACD,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/min.js b/node_modules/rxjs/_esm2015/operators/min.js deleted file mode 100644 index bf9b0184..00000000 --- a/node_modules/rxjs/_esm2015/operators/min.js +++ /dev/null @@ -1,39 +0,0 @@ -import { reduce } from './reduce'; -/** - * The Min operator operates on an Observable that emits numbers (or items that can be compared with a provided function), - * and when source Observable completes it emits a single item: the item with the smallest value. - * - * - * - * @example Get the minimal value of a series of numbers - * Rx.Observable.of(5, 4, 7, 2, 8) - * .min() - * .subscribe(x => console.log(x)); // -> 2 - * - * @example Use a comparer function to get the minimal item - * interface Person { - * age: number, - * name: string - * } - * Observable.of({age: 7, name: 'Foo'}, - * {age: 5, name: 'Bar'}, - * {age: 9, name: 'Beer'}) - * .min( (a: Person, b: Person) => a.age < b.age ? -1 : 1) - * .subscribe((x: Person) => console.log(x.name)); // -> 'Bar' - * } - * - * @see {@link max} - * - * @param {Function} [comparer] - Optional comparer function that it will use instead of its default to compare the - * value of two items. - * @return {Observable} An Observable that emits item with the smallest value. - * @method min - * @owner Observable - */ -export function min(comparer) { - const min = (typeof comparer === 'function') - ? (x, y) => comparer(x, y) < 0 ? x : y - : (x, y) => x < y ? x : y; - return reduce(min); -} -//# sourceMappingURL=min.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/min.js.map b/node_modules/rxjs/_esm2015/operators/min.js.map deleted file mode 100644 index 3fb0f527..00000000 --- a/node_modules/rxjs/_esm2015/operators/min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"min.js","sourceRoot":"","sources":["../../src/operators/min.ts"],"names":[],"mappings":"OAAO,EAAE,MAAM,EAAE,MAAM,UAAU;AAGjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,oBAAuB,QAAiC;IACtD,MAAM,GAAG,GAAsB,CAAC,OAAO,QAAQ,KAAK,UAAU,CAAC;UAC3D,CAAC,CAAC,EAAE,CAAC,KAAK,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC;UACpC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC5B,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/multicast.js b/node_modules/rxjs/_esm2015/operators/multicast.js deleted file mode 100644 index c675695c..00000000 --- a/node_modules/rxjs/_esm2015/operators/multicast.js +++ /dev/null @@ -1,55 +0,0 @@ -import { connectableObservableDescriptor } from '../observable/ConnectableObservable'; -/* tslint:enable:max-line-length */ -/** - * Returns an Observable that emits the results of invoking a specified selector on items - * emitted by a ConnectableObservable that shares a single subscription to the underlying stream. - * - * - * - * @param {Function|Subject} subjectOrSubjectFactory - Factory function to create an intermediate subject through - * which the source sequence's elements will be multicast to the selector function - * or Subject to push source elements into. - * @param {Function} [selector] - Optional selector function that can use the multicasted source stream - * as many times as needed, without causing multiple subscriptions to the source stream. - * Subscribers to the given source will receive all notifications of the source from the - * time of the subscription forward. - * @return {Observable} An Observable that emits the results of invoking the selector - * on the items emitted by a `ConnectableObservable` that shares a single subscription to - * the underlying stream. - * @method multicast - * @owner Observable - */ -export function multicast(subjectOrSubjectFactory, selector) { - return function multicastOperatorFunction(source) { - let subjectFactory; - if (typeof subjectOrSubjectFactory === 'function') { - subjectFactory = subjectOrSubjectFactory; - } - else { - subjectFactory = function subjectFactory() { - return subjectOrSubjectFactory; - }; - } - if (typeof selector === 'function') { - return source.lift(new MulticastOperator(subjectFactory, selector)); - } - const connectable = Object.create(source, connectableObservableDescriptor); - connectable.source = source; - connectable.subjectFactory = subjectFactory; - return connectable; - }; -} -export class MulticastOperator { - constructor(subjectFactory, selector) { - this.subjectFactory = subjectFactory; - this.selector = selector; - } - call(subscriber, source) { - const { selector } = this; - const subject = this.subjectFactory(); - const subscription = selector(subject).subscribe(subscriber); - subscription.add(source.subscribe(subject)); - return subscription; - } -} -//# sourceMappingURL=multicast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/multicast.js.map b/node_modules/rxjs/_esm2015/operators/multicast.js.map deleted file mode 100644 index 247e4f0c..00000000 --- a/node_modules/rxjs/_esm2015/operators/multicast.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"multicast.js","sourceRoot":"","sources":["../../src/operators/multicast.ts"],"names":[],"mappings":"OAIO,EAAyB,+BAA+B,EAAE,MAAM,qCAAqC;AAO5G,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;GAkBG;AACH,0BAAgC,uBAAwD,EACxD,QAAmD;IACjF,MAAM,CAAC,mCAAmC,MAAqB;QAC7D,IAAI,cAAgC,CAAC;QACrC,EAAE,CAAC,CAAC,OAAO,uBAAuB,KAAK,UAAU,CAAC,CAAC,CAAC;YAClD,cAAc,GAAqB,uBAAuB,CAAC;QAC7D,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,cAAc,GAAG;gBACf,MAAM,CAAa,uBAAuB,CAAC;YAC7C,CAAC,CAAC;QACJ,CAAC;QAED,EAAE,CAAC,CAAC,OAAO,QAAQ,KAAK,UAAU,CAAC,CAAC,CAAC;YACnC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC,CAAC;QACtE,CAAC;QAED,MAAM,WAAW,GAAQ,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,+BAA+B,CAAC,CAAC;QAChF,WAAW,CAAC,MAAM,GAAG,MAAM,CAAC;QAC5B,WAAW,CAAC,cAAc,GAAG,cAAc,CAAC;QAE5C,MAAM,CAA4B,WAAW,CAAC;IAChD,CAAC,CAAC;AACJ,CAAC;AAED;IACE,YAAoB,cAAgC,EAChC,QAAkD;QADlD,mBAAc,GAAd,cAAc,CAAkB;QAChC,aAAQ,GAAR,QAAQ,CAA0C;IACtE,CAAC;IACD,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;QAC1B,MAAM,OAAO,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;QACtC,MAAM,YAAY,GAAG,QAAQ,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QAC7D,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;QAC5C,MAAM,CAAC,YAAY,CAAC;IACtB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/observeOn.js b/node_modules/rxjs/_esm2015/operators/observeOn.js deleted file mode 100644 index 52eab996..00000000 --- a/node_modules/rxjs/_esm2015/operators/observeOn.js +++ /dev/null @@ -1,98 +0,0 @@ -import { Subscriber } from '../Subscriber'; -import { Notification } from '../Notification'; -/** - * - * Re-emits all notifications from source Observable with specified scheduler. - * - * Ensure a specific scheduler is used, from outside of an Observable. - * - * `observeOn` is an operator that accepts a scheduler as a first parameter, which will be used to reschedule - * notifications emitted by the source Observable. It might be useful, if you do not have control over - * internal scheduler of a given Observable, but want to control when its values are emitted nevertheless. - * - * Returned Observable emits the same notifications (nexted values, complete and error events) as the source Observable, - * but rescheduled with provided scheduler. Note that this doesn't mean that source Observables internal - * scheduler will be replaced in any way. Original scheduler still will be used, but when the source Observable emits - * notification, it will be immediately scheduled again - this time with scheduler passed to `observeOn`. - * An anti-pattern would be calling `observeOn` on Observable that emits lots of values synchronously, to split - * that emissions into asynchronous chunks. For this to happen, scheduler would have to be passed into the source - * Observable directly (usually into the operator that creates it). `observeOn` simply delays notifications a - * little bit more, to ensure that they are emitted at expected moments. - * - * As a matter of fact, `observeOn` accepts second parameter, which specifies in milliseconds with what delay notifications - * will be emitted. The main difference between {@link delay} operator and `observeOn` is that `observeOn` - * will delay all notifications - including error notifications - while `delay` will pass through error - * from source Observable immediately when it is emitted. In general it is highly recommended to use `delay` operator - * for any kind of delaying of values in the stream, while using `observeOn` to specify which scheduler should be used - * for notification emissions in general. - * - * @example Ensure values in subscribe are called just before browser repaint. - * const intervals = Rx.Observable.interval(10); // Intervals are scheduled - * // with async scheduler by default... - * - * intervals - * .observeOn(Rx.Scheduler.animationFrame) // ...but we will observe on animationFrame - * .subscribe(val => { // scheduler to ensure smooth animation. - * someDiv.style.height = val + 'px'; - * }); - * - * @see {@link delay} - * - * @param {IScheduler} scheduler Scheduler that will be used to reschedule notifications from source Observable. - * @param {number} [delay] Number of milliseconds that states with what delay every notification should be rescheduled. - * @return {Observable} Observable that emits the same notifications as the source Observable, - * but with provided scheduler. - * - * @method observeOn - * @owner Observable - */ -export function observeOn(scheduler, delay = 0) { - return function observeOnOperatorFunction(source) { - return source.lift(new ObserveOnOperator(scheduler, delay)); - }; -} -export class ObserveOnOperator { - constructor(scheduler, delay = 0) { - this.scheduler = scheduler; - this.delay = delay; - } - call(subscriber, source) { - return source.subscribe(new ObserveOnSubscriber(subscriber, this.scheduler, this.delay)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class ObserveOnSubscriber extends Subscriber { - constructor(destination, scheduler, delay = 0) { - super(destination); - this.scheduler = scheduler; - this.delay = delay; - } - static dispatch(arg) { - const { notification, destination } = arg; - notification.observe(destination); - this.unsubscribe(); - } - scheduleMessage(notification) { - this.add(this.scheduler.schedule(ObserveOnSubscriber.dispatch, this.delay, new ObserveOnMessage(notification, this.destination))); - } - _next(value) { - this.scheduleMessage(Notification.createNext(value)); - } - _error(err) { - this.scheduleMessage(Notification.createError(err)); - } - _complete() { - this.scheduleMessage(Notification.createComplete()); - } -} -export class ObserveOnMessage { - constructor(notification, destination) { - this.notification = notification; - this.destination = destination; - } -} -//# sourceMappingURL=observeOn.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/observeOn.js.map b/node_modules/rxjs/_esm2015/operators/observeOn.js.map deleted file mode 100644 index 3492a8c8..00000000 --- a/node_modules/rxjs/_esm2015/operators/observeOn.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"observeOn.js","sourceRoot":"","sources":["../../src/operators/observeOn.ts"],"names":[],"mappings":"OAIO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,YAAY,EAAE,MAAM,iBAAiB;AAK9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,0BAA6B,SAAqB,EAAE,KAAK,GAAW,CAAC;IACnE,MAAM,CAAC,mCAAmC,MAAqB;QAC7D,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC;IAC9D,CAAC,CAAC;AACJ,CAAC;AAED;IACE,YAAoB,SAAqB,EAAU,KAAK,GAAW,CAAC;QAAhD,cAAS,GAAT,SAAS,CAAY;QAAU,UAAK,GAAL,KAAK,CAAY;IACpE,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IAC3F,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,yCAA4C,UAAU;IAOpD,YAAY,WAA0B,EAClB,SAAqB,EACrB,KAAK,GAAW,CAAC;QACnC,MAAM,WAAW,CAAC,CAAC;QAFD,cAAS,GAAT,SAAS,CAAY;QACrB,UAAK,GAAL,KAAK,CAAY;IAErC,CAAC;IAVD,OAAO,QAAQ,CAAiC,GAAqB;QACnE,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,GAAG,GAAG,CAAC;QAC1C,YAAY,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;QAClC,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IAQO,eAAe,CAAC,YAA+B;QACrD,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAC9B,mBAAmB,CAAC,QAAQ,EAC5B,IAAI,CAAC,KAAK,EACV,IAAI,gBAAgB,CAAC,YAAY,EAAE,IAAI,CAAC,WAAW,CAAC,CACrD,CAAC,CAAC;IACL,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IACvD,CAAC;IAES,MAAM,CAAC,GAAQ;QACvB,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC;IACtD,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,cAAc,EAAE,CAAC,CAAC;IACtD,CAAC;AACH,CAAC;AAED;IACE,YAAmB,YAA+B,EAC/B,WAAiC;QADjC,iBAAY,GAAZ,YAAY,CAAmB;QAC/B,gBAAW,GAAX,WAAW,CAAsB;IACpD,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/onErrorResumeNext.js b/node_modules/rxjs/_esm2015/operators/onErrorResumeNext.js deleted file mode 100644 index dd96f13a..00000000 --- a/node_modules/rxjs/_esm2015/operators/onErrorResumeNext.js +++ /dev/null @@ -1,118 +0,0 @@ -import { FromObservable } from '../observable/FromObservable'; -import { isArray } from '../util/isArray'; -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/* tslint:enable:max-line-length */ -/** - * When any of the provided Observable emits an complete or error notification, it immediately subscribes to the next one - * that was passed. - * - * Execute series of Observables no matter what, even if it means swallowing errors. - * - * - * - * `onErrorResumeNext` is an operator that accepts a series of Observables, provided either directly as - * arguments or as an array. If no single Observable is provided, returned Observable will simply behave the same - * as the source. - * - * `onErrorResumeNext` returns an Observable that starts by subscribing and re-emitting values from the source Observable. - * When its stream of values ends - no matter if Observable completed or emitted an error - `onErrorResumeNext` - * will subscribe to the first Observable that was passed as an argument to the method. It will start re-emitting - * its values as well and - again - when that stream ends, `onErrorResumeNext` will proceed to subscribing yet another - * Observable in provided series, no matter if previous Observable completed or ended with an error. This will - * be happening until there is no more Observables left in the series, at which point returned Observable will - * complete - even if the last subscribed stream ended with an error. - * - * `onErrorResumeNext` can be therefore thought of as version of {@link concat} operator, which is more permissive - * when it comes to the errors emitted by its input Observables. While `concat` subscribes to the next Observable - * in series only if previous one successfully completed, `onErrorResumeNext` subscribes even if it ended with - * an error. - * - * Note that you do not get any access to errors emitted by the Observables. In particular do not - * expect these errors to appear in error callback passed to {@link subscribe}. If you want to take - * specific actions based on what error was emitted by an Observable, you should try out {@link catch} instead. - * - * - * @example Subscribe to the next Observable after map fails - * Rx.Observable.of(1, 2, 3, 0) - * .map(x => { - * if (x === 0) { throw Error(); } - return 10 / x; - * }) - * .onErrorResumeNext(Rx.Observable.of(1, 2, 3)) - * .subscribe( - * val => console.log(val), - * err => console.log(err), // Will never be called. - * () => console.log('that\'s it!') - * ); - * - * // Logs: - * // 10 - * // 5 - * // 3.3333333333333335 - * // 1 - * // 2 - * // 3 - * // "that's it!" - * - * @see {@link concat} - * @see {@link catch} - * - * @param {...ObservableInput} observables Observables passed either directly or as an array. - * @return {Observable} An Observable that emits values from source Observable, but - if it errors - subscribes - * to the next passed Observable and so on, until it completes or runs out of Observables. - * @method onErrorResumeNext - * @owner Observable - */ -export function onErrorResumeNext(...nextSources) { - if (nextSources.length === 1 && isArray(nextSources[0])) { - nextSources = nextSources[0]; - } - return (source) => source.lift(new OnErrorResumeNextOperator(nextSources)); -} -/* tslint:enable:max-line-length */ -export function onErrorResumeNextStatic(...nextSources) { - let source = null; - if (nextSources.length === 1 && isArray(nextSources[0])) { - nextSources = nextSources[0]; - } - source = nextSources.shift(); - return new FromObservable(source, null).lift(new OnErrorResumeNextOperator(nextSources)); -} -class OnErrorResumeNextOperator { - constructor(nextSources) { - this.nextSources = nextSources; - } - call(subscriber, source) { - return source.subscribe(new OnErrorResumeNextSubscriber(subscriber, this.nextSources)); - } -} -class OnErrorResumeNextSubscriber extends OuterSubscriber { - constructor(destination, nextSources) { - super(destination); - this.destination = destination; - this.nextSources = nextSources; - } - notifyError(error, innerSub) { - this.subscribeToNextSource(); - } - notifyComplete(innerSub) { - this.subscribeToNextSource(); - } - _error(err) { - this.subscribeToNextSource(); - } - _complete() { - this.subscribeToNextSource(); - } - subscribeToNextSource() { - const next = this.nextSources.shift(); - if (next) { - this.add(subscribeToResult(this, next)); - } - else { - this.destination.complete(); - } - } -} -//# sourceMappingURL=onErrorResumeNext.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/onErrorResumeNext.js.map b/node_modules/rxjs/_esm2015/operators/onErrorResumeNext.js.map deleted file mode 100644 index 0bdc2c9c..00000000 --- a/node_modules/rxjs/_esm2015/operators/onErrorResumeNext.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"onErrorResumeNext.js","sourceRoot":"","sources":["../../src/operators/onErrorResumeNext.ts"],"names":[],"mappings":"OACO,EAAE,cAAc,EAAE,MAAM,8BAA8B;OAGtD,EAAE,OAAO,EAAE,MAAM,iBAAiB;OAClC,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAW7D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AAEH,kCAAwC,GAAG,WAE2C;IACpF,EAAE,CAAC,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CAAC,QAAiC;QAC9C,IAAI,CAAC,qBAAqB,EAAE,CAAC;IAC/B,CAAC;IAES,MAAM,CAAC,GAAQ;QACvB,IAAI,CAAC,qBAAqB,EAAE,CAAC;IAC/B,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,qBAAqB,EAAE,CAAC;IAC/B,CAAC;IAEO,qBAAqB;QAC3B,MAAM,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;QACtC,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YACT,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;QAC1C,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/pairwise.js b/node_modules/rxjs/_esm2015/operators/pairwise.js deleted file mode 100644 index 90238980..00000000 --- a/node_modules/rxjs/_esm2015/operators/pairwise.js +++ /dev/null @@ -1,65 +0,0 @@ -import { Subscriber } from '../Subscriber'; -/** - * Groups pairs of consecutive emissions together and emits them as an array of - * two values. - * - * Puts the current value and previous value together as - * an array, and emits that. - * - * - * - * The Nth emission from the source Observable will cause the output Observable - * to emit an array [(N-1)th, Nth] of the previous and the current value, as a - * pair. For this reason, `pairwise` emits on the second and subsequent - * emissions from the source Observable, but not on the first emission, because - * there is no previous value in that case. - * - * @example On every click (starting from the second), emit the relative distance to the previous click - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var pairs = clicks.pairwise(); - * var distance = pairs.map(pair => { - * var x0 = pair[0].clientX; - * var y0 = pair[0].clientY; - * var x1 = pair[1].clientX; - * var y1 = pair[1].clientY; - * return Math.sqrt(Math.pow(x0 - x1, 2) + Math.pow(y0 - y1, 2)); - * }); - * distance.subscribe(x => console.log(x)); - * - * @see {@link buffer} - * @see {@link bufferCount} - * - * @return {Observable>} An Observable of pairs (as arrays) of - * consecutive values from the source Observable. - * @method pairwise - * @owner Observable - */ -export function pairwise() { - return (source) => source.lift(new PairwiseOperator()); -} -class PairwiseOperator { - call(subscriber, source) { - return source.subscribe(new PairwiseSubscriber(subscriber)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class PairwiseSubscriber extends Subscriber { - constructor(destination) { - super(destination); - this.hasPrev = false; - } - _next(value) { - if (this.hasPrev) { - this.destination.next([this.prev, value]); - } - else { - this.hasPrev = true; - } - this.prev = value; - } -} -//# sourceMappingURL=pairwise.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/pairwise.js.map b/node_modules/rxjs/_esm2015/operators/pairwise.js.map deleted file mode 100644 index 73f357d5..00000000 --- a/node_modules/rxjs/_esm2015/operators/pairwise.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"pairwise.js","sourceRoot":"","sources":["../../src/operators/pairwise.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH;IACE,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,gBAAgB,EAAE,CAAC,CAAC;AACxE,CAAC;AAED;IACE,IAAI,CAAC,UAA8B,EAAE,MAAW;QAC9C,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,kBAAkB,CAAC,UAAU,CAAC,CAAC,CAAC;IAC9D,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,iCAAoC,UAAU;IAI5C,YAAY,WAA+B;QACzC,MAAM,WAAW,CAAC,CAAC;QAHb,YAAO,GAAY,KAAK,CAAC;IAIjC,CAAC;IAED,KAAK,CAAC,KAAQ;QACZ,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;YACjB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;QAC5C,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACtB,CAAC;QAED,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;IACpB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/partition.js b/node_modules/rxjs/_esm2015/operators/partition.js deleted file mode 100644 index f3e626b0..00000000 --- a/node_modules/rxjs/_esm2015/operators/partition.js +++ /dev/null @@ -1,50 +0,0 @@ -import { not } from '../util/not'; -import { filter } from './filter'; -/** - * Splits the source Observable into two, one with values that satisfy a - * predicate, and another with values that don't satisfy the predicate. - * - * It's like {@link filter}, but returns two Observables: - * one like the output of {@link filter}, and the other with values that did not - * pass the condition. - * - * - * - * `partition` outputs an array with two Observables that partition the values - * from the source Observable through the given `predicate` function. The first - * Observable in that array emits source values for which the predicate argument - * returns true. The second Observable emits source values for which the - * predicate returns false. The first behaves like {@link filter} and the second - * behaves like {@link filter} with the predicate negated. - * - * @example Partition click events into those on DIV elements and those elsewhere - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var parts = clicks.partition(ev => ev.target.tagName === 'DIV'); - * var clicksOnDivs = parts[0]; - * var clicksElsewhere = parts[1]; - * clicksOnDivs.subscribe(x => console.log('DIV clicked: ', x)); - * clicksElsewhere.subscribe(x => console.log('Other clicked: ', x)); - * - * @see {@link filter} - * - * @param {function(value: T, index: number): boolean} predicate A function that - * evaluates each value emitted by the source Observable. If it returns `true`, - * the value is emitted on the first Observable in the returned array, if - * `false` the value is emitted on the second Observable in the array. The - * `index` parameter is the number `i` for the i-th source emission that has - * happened since the subscription, starting from the number `0`. - * @param {any} [thisArg] An optional argument to determine the value of `this` - * in the `predicate` function. - * @return {[Observable, Observable]} An array with two Observables: one - * with values that passed the predicate, and another with values that did not - * pass the predicate. - * @method partition - * @owner Observable - */ -export function partition(predicate, thisArg) { - return (source) => [ - filter(predicate, thisArg)(source), - filter(not(predicate, thisArg))(source) - ]; -} -//# sourceMappingURL=partition.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/partition.js.map b/node_modules/rxjs/_esm2015/operators/partition.js.map deleted file mode 100644 index 8f9b187c..00000000 --- a/node_modules/rxjs/_esm2015/operators/partition.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"partition.js","sourceRoot":"","sources":["../../src/operators/partition.ts"],"names":[],"mappings":"OAAO,EAAE,GAAG,EAAE,MAAM,aAAa;OAC1B,EAAE,MAAM,EAAE,MAAM,UAAU;AAIjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,0BAA6B,SAA+C,EAC/C,OAAa;IACxC,MAAM,CAAC,CAAC,MAAqB,KAAK;QAChC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,MAAM,CAAC;QAClC,MAAM,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAQ,CAAC,CAAC,MAAM,CAAC;KACb,CAAC;AACtC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/pluck.js b/node_modules/rxjs/_esm2015/operators/pluck.js deleted file mode 100644 index 913de442..00000000 --- a/node_modules/rxjs/_esm2015/operators/pluck.js +++ /dev/null @@ -1,51 +0,0 @@ -import { map } from './map'; -/** - * Maps each source value (an object) to its specified nested property. - * - * Like {@link map}, but meant only for picking one of - * the nested properties of every emitted object. - * - * - * - * Given a list of strings describing a path to an object property, retrieves - * the value of a specified nested property from all values in the source - * Observable. If a property can't be resolved, it will return `undefined` for - * that value. - * - * @example Map every click to the tagName of the clicked target element - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var tagNames = clicks.pluck('target', 'tagName'); - * tagNames.subscribe(x => console.log(x)); - * - * @see {@link map} - * - * @param {...string} properties The nested properties to pluck from each source - * value (an object). - * @return {Observable} A new Observable of property values from the source values. - * @method pluck - * @owner Observable - */ -export function pluck(...properties) { - const length = properties.length; - if (length === 0) { - throw new Error('list of properties cannot be empty.'); - } - return (source) => map(plucker(properties, length))(source); -} -function plucker(props, length) { - const mapper = (x) => { - let currentProp = x; - for (let i = 0; i < length; i++) { - const p = currentProp[props[i]]; - if (typeof p !== 'undefined') { - currentProp = p; - } - else { - return undefined; - } - } - return currentProp; - }; - return mapper; -} -//# sourceMappingURL=pluck.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/pluck.js.map b/node_modules/rxjs/_esm2015/operators/pluck.js.map deleted file mode 100644 index 5db6dae8..00000000 --- a/node_modules/rxjs/_esm2015/operators/pluck.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"pluck.js","sourceRoot":"","sources":["../../src/operators/pluck.ts"],"names":[],"mappings":"OACO,EAAE,GAAG,EAAE,MAAM,OAAO;AAG3B;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,sBAA4B,GAAG,UAAoB;IACjD,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IACjC,EAAE,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;QACjB,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;IACzD,CAAC;IACD,MAAM,CAAC,CAAC,MAAqB,KAAK,GAAG,CAAC,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,MAAa,CAAC,CAAC;AACpF,CAAC;AAED,iBAAiB,KAAe,EAAE,MAAc;IAC9C,MAAM,MAAM,GAAG,CAAC,CAAS;QACvB,IAAI,WAAW,GAAG,CAAC,CAAC;QACpB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YAChC,MAAM,CAAC,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YAChC,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,WAAW,CAAC,CAAC,CAAC;gBAC7B,WAAW,GAAG,CAAC,CAAC;YAClB,CAAC;YAAC,IAAI,CAAC,CAAC;gBACN,MAAM,CAAC,SAAS,CAAC;YACnB,CAAC;QACH,CAAC;QACD,MAAM,CAAC,WAAW,CAAC;IACrB,CAAC,CAAC;IAEF,MAAM,CAAC,MAAM,CAAC;AAChB,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/publish.js b/node_modules/rxjs/_esm2015/operators/publish.js deleted file mode 100644 index 1c4bdd8d..00000000 --- a/node_modules/rxjs/_esm2015/operators/publish.js +++ /dev/null @@ -1,22 +0,0 @@ -import { Subject } from '../Subject'; -import { multicast } from './multicast'; -/* tslint:enable:max-line-length */ -/** - * Returns a ConnectableObservable, which is a variety of Observable that waits until its connect method is called - * before it begins emitting items to those Observers that have subscribed to it. - * - * - * - * @param {Function} [selector] - Optional selector function which can use the multicasted source sequence as many times - * as needed, without causing multiple subscriptions to the source sequence. - * Subscribers to the given source will receive all notifications of the source from the time of the subscription on. - * @return A ConnectableObservable that upon connection causes the source Observable to emit items to its Observers. - * @method publish - * @owner Observable - */ -export function publish(selector) { - return selector ? - multicast(() => new Subject(), selector) : - multicast(new Subject()); -} -//# sourceMappingURL=publish.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/publish.js.map b/node_modules/rxjs/_esm2015/operators/publish.js.map deleted file mode 100644 index 4ce39761..00000000 --- a/node_modules/rxjs/_esm2015/operators/publish.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"publish.js","sourceRoot":"","sources":["../../src/operators/publish.ts"],"names":[],"mappings":"OACO,EAAE,OAAO,EAAE,MAAM,YAAY;OAC7B,EAAE,SAAS,EAAE,MAAM,aAAa;AAQvC,mCAAmC;AAEnC;;;;;;;;;;;;GAYG;AACH,wBAA8B,QAAiC;IAC7D,MAAM,CAAC,QAAQ;QACb,SAAS,CAAC,MAAM,IAAI,OAAO,EAAK,EAAE,QAAQ,CAAC;QAC3C,SAAS,CAAC,IAAI,OAAO,EAAK,CAAC,CAAC;AAChC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/publishBehavior.js b/node_modules/rxjs/_esm2015/operators/publishBehavior.js deleted file mode 100644 index ecb2b93b..00000000 --- a/node_modules/rxjs/_esm2015/operators/publishBehavior.js +++ /dev/null @@ -1,12 +0,0 @@ -import { BehaviorSubject } from '../BehaviorSubject'; -import { multicast } from './multicast'; -/** - * @param value - * @return {ConnectableObservable} - * @method publishBehavior - * @owner Observable - */ -export function publishBehavior(value) { - return (source) => multicast(new BehaviorSubject(value))(source); -} -//# sourceMappingURL=publishBehavior.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/publishBehavior.js.map b/node_modules/rxjs/_esm2015/operators/publishBehavior.js.map deleted file mode 100644 index c1b9669a..00000000 --- a/node_modules/rxjs/_esm2015/operators/publishBehavior.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"publishBehavior.js","sourceRoot":"","sources":["../../src/operators/publishBehavior.ts"],"names":[],"mappings":"OACO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAC7C,EAAE,SAAS,EAAE,MAAM,aAAa;AAIvC;;;;;GAKG;AACH,gCAAmC,KAAQ;IACzC,MAAM,CAAC,CAAC,MAAqB,KAAK,SAAS,CAAC,IAAI,eAAe,CAAI,KAAK,CAAC,CAAC,CAAC,MAAM,CAA6B,CAAC;AACjH,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/publishLast.js b/node_modules/rxjs/_esm2015/operators/publishLast.js deleted file mode 100644 index 5d4ea446..00000000 --- a/node_modules/rxjs/_esm2015/operators/publishLast.js +++ /dev/null @@ -1,6 +0,0 @@ -import { AsyncSubject } from '../AsyncSubject'; -import { multicast } from './multicast'; -export function publishLast() { - return (source) => multicast(new AsyncSubject())(source); -} -//# sourceMappingURL=publishLast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/publishLast.js.map b/node_modules/rxjs/_esm2015/operators/publishLast.js.map deleted file mode 100644 index 049b13c9..00000000 --- a/node_modules/rxjs/_esm2015/operators/publishLast.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"publishLast.js","sourceRoot":"","sources":["../../src/operators/publishLast.ts"],"names":[],"mappings":"OACO,EAAE,YAAY,EAAE,MAAM,iBAAiB;OACvC,EAAE,SAAS,EAAE,MAAM,aAAa;AAIvC;IACE,MAAM,CAAC,CAAC,MAAqB,KAAK,SAAS,CAAC,IAAI,YAAY,EAAK,CAAC,CAAC,MAAM,CAAC,CAAC;AAC7E,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/publishReplay.js b/node_modules/rxjs/_esm2015/operators/publishReplay.js deleted file mode 100644 index 0372c04b..00000000 --- a/node_modules/rxjs/_esm2015/operators/publishReplay.js +++ /dev/null @@ -1,12 +0,0 @@ -import { ReplaySubject } from '../ReplaySubject'; -import { multicast } from './multicast'; -/* tslint:enable:max-line-length */ -export function publishReplay(bufferSize, windowTime, selectorOrScheduler, scheduler) { - if (selectorOrScheduler && typeof selectorOrScheduler !== 'function') { - scheduler = selectorOrScheduler; - } - const selector = typeof selectorOrScheduler === 'function' ? selectorOrScheduler : undefined; - const subject = new ReplaySubject(bufferSize, windowTime, scheduler); - return (source) => multicast(() => subject, selector)(source); -} -//# sourceMappingURL=publishReplay.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/publishReplay.js.map b/node_modules/rxjs/_esm2015/operators/publishReplay.js.map deleted file mode 100644 index 8fd644a9..00000000 --- a/node_modules/rxjs/_esm2015/operators/publishReplay.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"publishReplay.js","sourceRoot":"","sources":["../../src/operators/publishReplay.ts"],"names":[],"mappings":"OACO,EAAE,aAAa,EAAE,MAAM,kBAAkB;OAEzC,EAAE,SAAS,EAAE,MAAM,aAAa;AAQvC,mCAAmC;AAEnC,8BAAoC,UAAmB,EACnB,UAAmB,EACnB,mBAAyD,EACzD,SAAsB;IAExD,EAAE,CAAC,CAAC,mBAAmB,IAAI,OAAO,mBAAmB,KAAK,UAAU,CAAC,CAAC,CAAC;QACrE,SAAS,GAAG,mBAAmB,CAAC;IAClC,CAAC;IAED,MAAM,QAAQ,GAAG,OAAO,mBAAmB,KAAK,UAAU,GAAG,mBAAmB,GAAG,SAAS,CAAC;IAC7F,MAAM,OAAO,GAAG,IAAI,aAAa,CAAI,UAAU,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC;IAExE,MAAM,CAAC,CAAC,MAAqB,KAAK,SAAS,CAAC,MAAM,OAAO,EAAE,QAAQ,CAAC,CAAC,MAAM,CAA6C,CAAC;AAC3H,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/race.js b/node_modules/rxjs/_esm2015/operators/race.js deleted file mode 100644 index dfbcf9e4..00000000 --- a/node_modules/rxjs/_esm2015/operators/race.js +++ /dev/null @@ -1,22 +0,0 @@ -import { isArray } from '../util/isArray'; -import { race as raceStatic } from '../observable/race'; -/* tslint:enable:max-line-length */ -/** - * Returns an Observable that mirrors the first source Observable to emit an item - * from the combination of this Observable and supplied Observables. - * @param {...Observables} ...observables Sources used to race for which Observable emits first. - * @return {Observable} An Observable that mirrors the output of the first Observable to emit an item. - * @method race - * @owner Observable - */ -export function race(...observables) { - return function raceOperatorFunction(source) { - // if the only argument is an array, it was most likely called with - // `pair([obs1, obs2, ...])` - if (observables.length === 1 && isArray(observables[0])) { - observables = observables[0]; - } - return source.lift.call(raceStatic(source, ...observables)); - }; -} -//# sourceMappingURL=race.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/race.js.map b/node_modules/rxjs/_esm2015/operators/race.js.map deleted file mode 100644 index 5541fca0..00000000 --- a/node_modules/rxjs/_esm2015/operators/race.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"race.js","sourceRoot":"","sources":["../../src/operators/race.ts"],"names":[],"mappings":"OACO,EAAE,OAAO,EAAE,MAAM,iBAAiB;OAElC,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,oBAAoB;AAOvD,mCAAmC;AAEnC;;;;;;;GAOG;AACH,qBAAwB,GAAG,WAAwD;IACjF,MAAM,CAAC,8BAA8B,MAAqB;QACxD,mEAAmE;QACnE,4BAA4B;QAC5B,EAAE,CAAC,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YACxD,WAAW,GAAyB,WAAW,CAAC,CAAC,CAAC,CAAC;QACrD,CAAC;QAED,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAI,MAAM,EAAE,GAAG,WAAW,CAAC,CAAC,CAAC;IACjE,CAAC,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/reduce.js b/node_modules/rxjs/_esm2015/operators/reduce.js deleted file mode 100644 index e9f3b36d..00000000 --- a/node_modules/rxjs/_esm2015/operators/reduce.js +++ /dev/null @@ -1,67 +0,0 @@ -import { scan } from './scan'; -import { takeLast } from './takeLast'; -import { defaultIfEmpty } from './defaultIfEmpty'; -import { pipe } from '../util/pipe'; -/* tslint:enable:max-line-length */ -/** - * Applies an accumulator function over the source Observable, and returns the - * accumulated result when the source completes, given an optional seed value. - * - * Combines together all values emitted on the source, - * using an accumulator function that knows how to join a new source value into - * the accumulation from the past. - * - * - * - * Like - * [Array.prototype.reduce()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce), - * `reduce` applies an `accumulator` function against an accumulation and each - * value of the source Observable (from the past) to reduce it to a single - * value, emitted on the output Observable. Note that `reduce` will only emit - * one value, only when the source Observable completes. It is equivalent to - * applying operator {@link scan} followed by operator {@link last}. - * - * Returns an Observable that applies a specified `accumulator` function to each - * item emitted by the source Observable. If a `seed` value is specified, then - * that value will be used as the initial value for the accumulator. If no seed - * value is specified, the first item of the source is used as the seed. - * - * @example Count the number of click events that happened in 5 seconds - * var clicksInFiveSeconds = Rx.Observable.fromEvent(document, 'click') - * .takeUntil(Rx.Observable.interval(5000)); - * var ones = clicksInFiveSeconds.mapTo(1); - * var seed = 0; - * var count = ones.reduce((acc, one) => acc + one, seed); - * count.subscribe(x => console.log(x)); - * - * @see {@link count} - * @see {@link expand} - * @see {@link mergeScan} - * @see {@link scan} - * - * @param {function(acc: R, value: T, index: number): R} accumulator The accumulator function - * called on each source value. - * @param {R} [seed] The initial accumulation value. - * @return {Observable} An Observable that emits a single value that is the - * result of accumulating the values emitted by the source Observable. - * @method reduce - * @owner Observable - */ -export function reduce(accumulator, seed) { - // providing a seed of `undefined` *should* be valid and trigger - // hasSeed! so don't use `seed !== undefined` checks! - // For this reason, we have to check it here at the original call site - // otherwise inside Operator/Subscriber we won't know if `undefined` - // means they didn't provide anything or if they literally provided `undefined` - if (arguments.length >= 2) { - return function reduceOperatorFunctionWithSeed(source) { - return pipe(scan(accumulator, seed), takeLast(1), defaultIfEmpty(seed))(source); - }; - } - return function reduceOperatorFunction(source) { - return pipe(scan((acc, value, index) => { - return accumulator(acc, value, index + 1); - }), takeLast(1))(source); - }; -} -//# sourceMappingURL=reduce.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/reduce.js.map b/node_modules/rxjs/_esm2015/operators/reduce.js.map deleted file mode 100644 index 5e423dd5..00000000 --- a/node_modules/rxjs/_esm2015/operators/reduce.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"reduce.js","sourceRoot":"","sources":["../../src/operators/reduce.ts"],"names":[],"mappings":"OACO,EAAE,IAAI,EAAE,MAAM,QAAQ;OACtB,EAAE,QAAQ,EAAE,MAAM,YAAY;OAC9B,EAAE,cAAc,EAAE,MAAM,kBAAkB;OAE1C,EAAE,IAAI,EAAE,MAAM,cAAc;AAMnC,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,uBAA6B,WAAoD,EAAE,IAAQ;IACzF,gEAAgE;IAChE,qDAAqD;IACrD,sEAAsE;IACtE,oEAAoE;IACpE,+EAA+E;IAC/E,EAAE,CAAC,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC;QAC1B,MAAM,CAAC,wCAAwC,MAAqB;YAClE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;QAClF,CAAC,CAAC;IACJ,CAAC;IACD,MAAM,CAAC,gCAAgC,MAAqB;QAC1D,MAAM,CAAC,IAAI,CAAC,IAAI,CAAW,CAAC,GAAG,EAAE,KAAK,EAAE,KAAK;YAC3C,MAAM,CAAC,WAAW,CAAI,GAAG,EAAE,KAAK,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC;QAC/C,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAkB,CAAC;IAC5C,CAAC,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/refCount.js b/node_modules/rxjs/_esm2015/operators/refCount.js deleted file mode 100644 index 473d2235..00000000 --- a/node_modules/rxjs/_esm2015/operators/refCount.js +++ /dev/null @@ -1,75 +0,0 @@ -import { Subscriber } from '../Subscriber'; -export function refCount() { - return function refCountOperatorFunction(source) { - return source.lift(new RefCountOperator(source)); - }; -} -class RefCountOperator { - constructor(connectable) { - this.connectable = connectable; - } - call(subscriber, source) { - const { connectable } = this; - connectable._refCount++; - const refCounter = new RefCountSubscriber(subscriber, connectable); - const subscription = source.subscribe(refCounter); - if (!refCounter.closed) { - refCounter.connection = connectable.connect(); - } - return subscription; - } -} -class RefCountSubscriber extends Subscriber { - constructor(destination, connectable) { - super(destination); - this.connectable = connectable; - } - _unsubscribe() { - const { connectable } = this; - if (!connectable) { - this.connection = null; - return; - } - this.connectable = null; - const refCount = connectable._refCount; - if (refCount <= 0) { - this.connection = null; - return; - } - connectable._refCount = refCount - 1; - if (refCount > 1) { - this.connection = null; - return; - } - /// - // Compare the local RefCountSubscriber's connection Subscription to the - // connection Subscription on the shared ConnectableObservable. In cases - // where the ConnectableObservable source synchronously emits values, and - // the RefCountSubscriber's downstream Observers synchronously unsubscribe, - // execution continues to here before the RefCountOperator has a chance to - // supply the RefCountSubscriber with the shared connection Subscription. - // For example: - // ``` - // Observable.range(0, 10) - // .publish() - // .refCount() - // .take(5) - // .subscribe(); - // ``` - // In order to account for this case, RefCountSubscriber should only dispose - // the ConnectableObservable's shared connection Subscription if the - // connection Subscription exists, *and* either: - // a. RefCountSubscriber doesn't have a reference to the shared connection - // Subscription yet, or, - // b. RefCountSubscriber's connection Subscription reference is identical - // to the shared connection Subscription - /// - const { connection } = this; - const sharedConnection = connectable._connection; - this.connection = null; - if (sharedConnection && (!connection || sharedConnection === connection)) { - sharedConnection.unsubscribe(); - } - } -} -//# sourceMappingURL=refCount.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/refCount.js.map b/node_modules/rxjs/_esm2015/operators/refCount.js.map deleted file mode 100644 index f3581837..00000000 --- a/node_modules/rxjs/_esm2015/operators/refCount.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"refCount.js","sourceRoot":"","sources":["../../src/operators/refCount.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAM1C;IACE,MAAM,CAAC,kCAAkC,MAAgC;QACvE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAC;IACnD,CAAC,CAAC;AACJ,CAAC;AAED;IACE,YAAoB,WAAqC;QAArC,gBAAW,GAAX,WAAW,CAA0B;IACzD,CAAC;IACD,IAA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EAA2E;QAC3E,0EAA0E;QAC1E,yEAAyE;QACzE,eAAe;QACf,MAAM;QACN,0BAA0B;QAC1B,eAAe;QACf,gBAAgB;QAChB,aAAa;QACb,kBAAkB;QAClB,MAAM;QACN,4EAA4E;QAC5E,oEAAoE;QACpE,gDAAgD;QAChD,4EAA4E;QAC5E,6BAA6B;QAC7B,2EAA2E;QAC3E,6CAA6C;QAC7C,GAAG;QACH,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;QAC5B,MAAM,gBAAgB,GAAU,WAAY,CAAC,WAAW,CAAC;QACzD,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QAEvB,EAAE,CAAC,CAAC,gBAAgB,IAAI,CAAC,CAAC,UAAU,IAAI,gBAAgB,KAAK,UAAU,CAAC,CAAC,CAAC,CAAC;YACzE,gBAAgB,CAAC,WAAW,EAAE,CAAC;QACjC,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/repeat.js b/node_modules/rxjs/_esm2015/operators/repeat.js deleted file mode 100644 index 3f73a20c..00000000 --- a/node_modules/rxjs/_esm2015/operators/repeat.js +++ /dev/null @@ -1,61 +0,0 @@ -import { Subscriber } from '../Subscriber'; -import { EmptyObservable } from '../observable/EmptyObservable'; -/** - * Returns an Observable that repeats the stream of items emitted by the source Observable at most count times. - * - * - * - * @param {number} [count] The number of times the source Observable items are repeated, a count of 0 will yield - * an empty Observable. - * @return {Observable} An Observable that repeats the stream of items emitted by the source Observable at most - * count times. - * @method repeat - * @owner Observable - */ -export function repeat(count = -1) { - return (source) => { - if (count === 0) { - return new EmptyObservable(); - } - else if (count < 0) { - return source.lift(new RepeatOperator(-1, source)); - } - else { - return source.lift(new RepeatOperator(count - 1, source)); - } - }; -} -class RepeatOperator { - constructor(count, source) { - this.count = count; - this.source = source; - } - call(subscriber, source) { - return source.subscribe(new RepeatSubscriber(subscriber, this.count, this.source)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class RepeatSubscriber extends Subscriber { - constructor(destination, count, source) { - super(destination); - this.count = count; - this.source = source; - } - complete() { - if (!this.isStopped) { - const { source, count } = this; - if (count === 0) { - return super.complete(); - } - else if (count > -1) { - this.count = count - 1; - } - source.subscribe(this._unsubscribeAndRecycle()); - } - } -} -//# sourceMappingURL=repeat.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/repeat.js.map b/node_modules/rxjs/_esm2015/operators/repeat.js.map deleted file mode 100644 index d2476f67..00000000 --- a/node_modules/rxjs/_esm2015/operators/repeat.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"repeat.js","sourceRoot":"","sources":["../../src/operators/repeat.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;OAEnC,EAAE,eAAe,EAAE,MAAM,+BAA+B;AAI/D;;;;;;;;;;;GAWG;AACH,uBAA0B,KAAK,GAAW,CAAC,CAAC;IAC1C,MAAM,CAAC,CAAC,MAAqB;QAC3B,EAAE,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC;YAChB,MAAM,CAAC,IAAI,eAAe,EAAK,CAAC;QAClC,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC;YACrB,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,cAAc,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;QACrD,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,cAAc,CAAC,KAAK,GAAG,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;QAC5D,CAAC;IACH,CAAC,CAAC;AACJ,CAAC;AAED;IACE,YAAoB,KAAa,EACb,MAAqB;QADrB,UAAK,GAAL,KAAK,CAAQ;QACb,WAAM,GAAN,MAAM,CAAe;IACzC,CAAC;IACD,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IACrF,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,+BAAkC,UAAU;IAC1C,YAAY,WAA4B,EACpB,KAAa,EACb,MAAqB;QACvC,MAAM,WAAW,CAAC,CAAC;QAFD,UAAK,GAAL,KAAK,CAAQ;QACb,WAAM,GAAN,MAAM,CAAe;IAEzC,CAAC;IACD,QAAQ;QACN,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;YACpB,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;YAC/B,EAAE,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC;gBAChB,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;YAC1B,CAAC;YAAC,IAAI,CAAC,EAAE,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;gBACtB,IAAI,CAAC,KAAK,GAAG,KAAK,GAAG,CAAC,CAAC;YACzB,CAAC;YACD,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,sBAAsB,EAAE,CAAC,CAAC;QAClD,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/repeatWhen.js b/node_modules/rxjs/_esm2015/operators/repeatWhen.js deleted file mode 100644 index e5bbbb96..00000000 --- a/node_modules/rxjs/_esm2015/operators/repeatWhen.js +++ /dev/null @@ -1,98 +0,0 @@ -import { Subject } from '../Subject'; -import { tryCatch } from '../util/tryCatch'; -import { errorObject } from '../util/errorObject'; -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/** - * Returns an Observable that mirrors the source Observable with the exception of a `complete`. If the source - * Observable calls `complete`, this method will emit to the Observable returned from `notifier`. If that Observable - * calls `complete` or `error`, then this method will call `complete` or `error` on the child subscription. Otherwise - * this method will resubscribe to the source Observable. - * - * - * - * @param {function(notifications: Observable): Observable} notifier - Receives an Observable of notifications with - * which a user can `complete` or `error`, aborting the repetition. - * @return {Observable} The source Observable modified with repeat logic. - * @method repeatWhen - * @owner Observable - */ -export function repeatWhen(notifier) { - return (source) => source.lift(new RepeatWhenOperator(notifier)); -} -class RepeatWhenOperator { - constructor(notifier) { - this.notifier = notifier; - } - call(subscriber, source) { - return source.subscribe(new RepeatWhenSubscriber(subscriber, this.notifier, source)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class RepeatWhenSubscriber extends OuterSubscriber { - constructor(destination, notifier, source) { - super(destination); - this.notifier = notifier; - this.source = source; - this.sourceIsBeingSubscribedTo = true; - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - this.sourceIsBeingSubscribedTo = true; - this.source.subscribe(this); - } - notifyComplete(innerSub) { - if (this.sourceIsBeingSubscribedTo === false) { - return super.complete(); - } - } - complete() { - this.sourceIsBeingSubscribedTo = false; - if (!this.isStopped) { - if (!this.retries) { - this.subscribeToRetries(); - } - else if (this.retriesSubscription.closed) { - return super.complete(); - } - this._unsubscribeAndRecycle(); - this.notifications.next(); - } - } - _unsubscribe() { - const { notifications, retriesSubscription } = this; - if (notifications) { - notifications.unsubscribe(); - this.notifications = null; - } - if (retriesSubscription) { - retriesSubscription.unsubscribe(); - this.retriesSubscription = null; - } - this.retries = null; - } - _unsubscribeAndRecycle() { - const { notifications, retries, retriesSubscription } = this; - this.notifications = null; - this.retries = null; - this.retriesSubscription = null; - super._unsubscribeAndRecycle(); - this.notifications = notifications; - this.retries = retries; - this.retriesSubscription = retriesSubscription; - return this; - } - subscribeToRetries() { - this.notifications = new Subject(); - const retries = tryCatch(this.notifier)(this.notifications); - if (retries === errorObject) { - return super.complete(); - } - this.retries = retries; - this.retriesSubscription = subscribeToResult(this, retries); - } -} -//# sourceMappingURL=repeatWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/repeatWhen.js.map b/node_modules/rxjs/_esm2015/operators/repeatWhen.js.map deleted file mode 100644 index 5ca3553d..00000000 --- a/node_modules/rxjs/_esm2015/operators/repeatWhen.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"repeatWhen.js","sourceRoot":"","sources":["../../src/operators/repeatWhen.ts"],"names":[],"mappings":"OAGO,EAAE,OAAO,EAAE,MAAM,YAAY;OAE7B,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAE1C,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAI7D;;;;;;;;;;;;;GAaG;AACH,2BAA8B,QAA6D;IACzF,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,kBAAkB,CAAC,QAAQ,CAAC,CAAC,CAAC;AAClF,CAAC;AAED;IACE,YAAsB,QAA6D;QAA7D,aAAQ,GAAR,QAAQ,CAAqD;IACnF,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,oBAAoB,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;IACvF,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,mCAAyC,eAAe;IAOtD,YAAY,WAA0B,EAClB,QAA6D,EAC7D,MAAqB;QACvC,MAAM,WAAW,CAAC,CAAC;QAFD,aAAQ,GAAR,QAAQ,CAAqD;QAC7D,WAAM,GAAN,MAAM,CAAe;QAJjC,8BAAyB,GAAY,IAAI,CAAC;IAMlD,CAAC;IAED,UAAU,CAAC,UAAa,EAAE,UAAa,EAC5B,UAAkB,EAAE,UAAk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AsB;QAC9B,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,mBAAmB,EAAE,GAAG,IAAI,CAAC;QAC7D,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QAC1B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC;QAChC,KAAK,CAAC,sBAAsB,EAAE,CAAC;QAC/B,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;QAC/C,MAAM,CAAC,IAAI,CAAC;IACd,CAAC;IAEO,kBAAkB;QACxB,IAAI,CAAC,aAAa,GAAG,IAAI,OAAO,EAAE,CAAC;QACnC,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC5D,EAAE,CAAC,CAAC,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC;YAC5B,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;QAC1B,CAAC;QACD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,mBAAmB,GAAG,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/retry.js b/node_modules/rxjs/_esm2015/operators/retry.js deleted file mode 100644 index ba2f70b8..00000000 --- a/node_modules/rxjs/_esm2015/operators/retry.js +++ /dev/null @@ -1,54 +0,0 @@ -import { Subscriber } from '../Subscriber'; -/** - * Returns an Observable that mirrors the source Observable with the exception of an `error`. If the source Observable - * calls `error`, this method will resubscribe to the source Observable for a maximum of `count` resubscriptions (given - * as a number parameter) rather than propagating the `error` call. - * - * - * - * Any and all items emitted by the source Observable will be emitted by the resulting Observable, even those emitted - * during failed subscriptions. For example, if an Observable fails at first but emits [1, 2] then succeeds the second - * time and emits: [1, 2, 3, 4, 5] then the complete stream of emissions and notifications - * would be: [1, 2, 1, 2, 3, 4, 5, `complete`]. - * @param {number} count - Number of retry attempts before failing. - * @return {Observable} The source Observable modified with the retry logic. - * @method retry - * @owner Observable - */ -export function retry(count = -1) { - return (source) => source.lift(new RetryOperator(count, source)); -} -class RetryOperator { - constructor(count, source) { - this.count = count; - this.source = source; - } - call(subscriber, source) { - return source.subscribe(new RetrySubscriber(subscriber, this.count, this.source)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class RetrySubscriber extends Subscriber { - constructor(destination, count, source) { - super(destination); - this.count = count; - this.source = source; - } - error(err) { - if (!this.isStopped) { - const { source, count } = this; - if (count === 0) { - return super.error(err); - } - else if (count > -1) { - this.count = count - 1; - } - source.subscribe(this._unsubscribeAndRecycle()); - } - } -} -//# sourceMappingURL=retry.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/retry.js.map b/node_modules/rxjs/_esm2015/operators/retry.js.map deleted file mode 100644 index a0116274..00000000 --- a/node_modules/rxjs/_esm2015/operators/retry.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"retry.js","sourceRoot":"","sources":["../../src/operators/retry.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAM1C;;;;;;;;;;;;;;;GAeG;AACH,sBAAyB,KAAK,GAAW,CAAC,CAAC;IACzC,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;AAClF,CAAC;AAED;IACE,YAAoB,KAAa,EACb,MAAqB;QADrB,UAAK,GAAL,KAAK,CAAQ;QACb,WAAM,GAAN,MAAM,CAAe;IACzC,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,eAAe,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IACpF,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,8BAAiC,UAAU;IACzC,YAAY,WAA4B,EACpB,KAAa,EACb,MAAqB;QACvC,MAAM,WAAW,CAAC,CAAC;QAFD,UAAK,GAAL,KAAK,CAAQ;QACb,WAAM,GAAN,MAAM,CAAe;IAEzC,CAAC;IACD,KAAK,CAAC,GAAQ;QACZ,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;YACpB,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;YAC/B,EAAE,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC;gBAChB,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC1B,CAAC;YAAC,IAAI,CAAC,EAAE,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;gBACtB,IAAI,CAAC,KAAK,GAAG,KAAK,GAAG,CAAC,CAAC;YACzB,CAAC;YACD,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,sBAAsB,EAAE,CAAC,CAAC;QAClD,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/retryWhen.js b/node_modules/rxjs/_esm2015/operators/retryWhen.js deleted file mode 100644 index ec07fd66..00000000 --- a/node_modules/rxjs/_esm2015/operators/retryWhen.js +++ /dev/null @@ -1,91 +0,0 @@ -import { Subject } from '../Subject'; -import { tryCatch } from '../util/tryCatch'; -import { errorObject } from '../util/errorObject'; -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/** - * Returns an Observable that mirrors the source Observable with the exception of an `error`. If the source Observable - * calls `error`, this method will emit the Throwable that caused the error to the Observable returned from `notifier`. - * If that Observable calls `complete` or `error` then this method will call `complete` or `error` on the child - * subscription. Otherwise this method will resubscribe to the source Observable. - * - * - * - * @param {function(errors: Observable): Observable} notifier - Receives an Observable of notifications with which a - * user can `complete` or `error`, aborting the retry. - * @return {Observable} The source Observable modified with retry logic. - * @method retryWhen - * @owner Observable - */ -export function retryWhen(notifier) { - return (source) => source.lift(new RetryWhenOperator(notifier, source)); -} -class RetryWhenOperator { - constructor(notifier, source) { - this.notifier = notifier; - this.source = source; - } - call(subscriber, source) { - return source.subscribe(new RetryWhenSubscriber(subscriber, this.notifier, this.source)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class RetryWhenSubscriber extends OuterSubscriber { - constructor(destination, notifier, source) { - super(destination); - this.notifier = notifier; - this.source = source; - } - error(err) { - if (!this.isStopped) { - let errors = this.errors; - let retries = this.retries; - let retriesSubscription = this.retriesSubscription; - if (!retries) { - errors = new Subject(); - retries = tryCatch(this.notifier)(errors); - if (retries === errorObject) { - return super.error(errorObject.e); - } - retriesSubscription = subscribeToResult(this, retries); - } - else { - this.errors = null; - this.retriesSubscription = null; - } - this._unsubscribeAndRecycle(); - this.errors = errors; - this.retries = retries; - this.retriesSubscription = retriesSubscription; - errors.next(err); - } - } - _unsubscribe() { - const { errors, retriesSubscription } = this; - if (errors) { - errors.unsubscribe(); - this.errors = null; - } - if (retriesSubscription) { - retriesSubscription.unsubscribe(); - this.retriesSubscription = null; - } - this.retries = null; - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - const { errors, retries, retriesSubscription } = this; - this.errors = null; - this.retries = null; - this.retriesSubscription = null; - this._unsubscribeAndRecycle(); - this.errors = errors; - this.retries = retries; - this.retriesSubscription = retriesSubscription; - this.source.subscribe(this); - } -} -//# sourceMappingURL=retryWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/retryWhen.js.map b/node_modules/rxjs/_esm2015/operators/retryWhen.js.map deleted file mode 100644 index 2e87cd88..00000000 --- a/node_modules/rxjs/_esm2015/operators/retryWhen.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"retryWhen.js","sourceRoot":"","sources":["../../src/operators/retryWhen.ts"],"names":[],"mappings":"OAGO,EAAE,OAAO,EAAE,MAAM,YAAY;OAE7B,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAE1C,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAI7D;;;;;;;;;;;;;GAaG;AACH,0BAA6B,QAAsD;IACjF,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;AACzF,CAAC;AAED;IACE,YAAsB,QAAsD,EACtD,MAAqB;QADrB,aAAQ,GAAR,QAAQ,CAA8C;QACtD,WAAM,GAAN,MAAM,CAAe;IAC3C,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IAC3F,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,kCAAwC,eAAe;IAMrD,YAAY,WAA0B,EAClB,QAAsD,EACtD,MAAqB;QACvC,MAAM,WAAW,CAAC,CAAC;QAFD,aAAQ,GAAR,QAAQ,CAA8C;QACtD,WAAM,GAAN,MAAM,CAAe;IAEzC,CAAC;IAED,KAAK,CAAC,GAAQ;QACZ,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;YAEpB,IAAI,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;YACzB,IAAI,OAAO,GAAQ,IAAI,CAAC,OAAO,CAAC;YAChC,IAAI,mBA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AC,UAAa,EAAE,UAAa,EAC5B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,mBAAmB,EAAE,GAAG,IAAI,CAAC;QACtD,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC;QAEhC,IAAI,CAAC,sBAAsB,EAAE,CAAC;QAE9B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;QAE/C,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/sample.js b/node_modules/rxjs/_esm2015/operators/sample.js deleted file mode 100644 index a04bf4ec..00000000 --- a/node_modules/rxjs/_esm2015/operators/sample.js +++ /dev/null @@ -1,78 +0,0 @@ -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/** - * Emits the most recently emitted value from the source Observable whenever - * another Observable, the `notifier`, emits. - * - * It's like {@link sampleTime}, but samples whenever - * the `notifier` Observable emits something. - * - * - * - * Whenever the `notifier` Observable emits a value or completes, `sample` - * looks at the source Observable and emits whichever value it has most recently - * emitted since the previous sampling, unless the source has not emitted - * anything since the previous sampling. The `notifier` is subscribed to as soon - * as the output Observable is subscribed. - * - * @example On every click, sample the most recent "seconds" timer - * var seconds = Rx.Observable.interval(1000); - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = seconds.sample(clicks); - * result.subscribe(x => console.log(x)); - * - * @see {@link audit} - * @see {@link debounce} - * @see {@link sampleTime} - * @see {@link throttle} - * - * @param {Observable} notifier The Observable to use for sampling the - * source Observable. - * @return {Observable} An Observable that emits the results of sampling the - * values emitted by the source Observable whenever the notifier Observable - * emits value or completes. - * @method sample - * @owner Observable - */ -export function sample(notifier) { - return (source) => source.lift(new SampleOperator(notifier)); -} -class SampleOperator { - constructor(notifier) { - this.notifier = notifier; - } - call(subscriber, source) { - const sampleSubscriber = new SampleSubscriber(subscriber); - const subscription = source.subscribe(sampleSubscriber); - subscription.add(subscribeToResult(sampleSubscriber, this.notifier)); - return subscription; - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class SampleSubscriber extends OuterSubscriber { - constructor() { - super(...arguments); - this.hasValue = false; - } - _next(value) { - this.value = value; - this.hasValue = true; - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - this.emitValue(); - } - notifyComplete() { - this.emitValue(); - } - emitValue() { - if (this.hasValue) { - this.hasValue = false; - this.destination.next(this.value); - } - } -} -//# sourceMappingURL=sample.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/sample.js.map b/node_modules/rxjs/_esm2015/operators/sample.js.map deleted file mode 100644 index 49c1f2f5..00000000 --- a/node_modules/rxjs/_esm2015/operators/sample.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sample.js","sourceRoot":"","sources":["../../src/operators/sample.ts"],"names":[],"mappings":"OAIO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAI7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,uBAA0B,QAAyB;IACjD,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC;AAC9E,CAAC;AAED;IACE,YAAoB,QAAyB;QAAzB,aAAQ,GAAR,QAAQ,CAAiB;IAC7C,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,gBAAgB,GAAG,IAAI,gBAAgB,CAAC,UAAU,CAAC,CAAC;QAC1D,MAAM,YAAY,GAAG,MAAM,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;QACxD,YAAY,CAAC,GAAG,CAAC,iBAAiB,CAAC,gBAAgB,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;QACrE,MAAM,CAAC,YAAY,CAAC;IACtB,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,+BAAqC,eAAe;IAApD;QAAqC,oBAAqB;QAEhD,aAAQ,GAAY,KAAK,CAAC;IAuBpC,CAAC;IArBW,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;IACvB,CAAC;IAED,UAAU,CAAC,UAAa,EAAE,UAAa,EAC5B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,IAAI,CAAC,SAAS,EAAE,CAAC;IACnB,CAAC;IAED,cAAc;QACZ,IAAI,CAAC,SAAS,EAAE,CAAC;IACnB,CAAC;IAED,SAAS;QACP,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YAClB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;YACtB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACpC,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/sampleTime.js b/node_modules/rxjs/_esm2015/operators/sampleTime.js deleted file mode 100644 index 29f97e2e..00000000 --- a/node_modules/rxjs/_esm2015/operators/sampleTime.js +++ /dev/null @@ -1,80 +0,0 @@ -import { Subscriber } from '../Subscriber'; -import { async } from '../scheduler/async'; -/** - * Emits the most recently emitted value from the source Observable within - * periodic time intervals. - * - * Samples the source Observable at periodic time - * intervals, emitting what it samples. - * - * - * - * `sampleTime` periodically looks at the source Observable and emits whichever - * value it has most recently emitted since the previous sampling, unless the - * source has not emitted anything since the previous sampling. The sampling - * happens periodically in time every `period` milliseconds (or the time unit - * defined by the optional `scheduler` argument). The sampling starts as soon as - * the output Observable is subscribed. - * - * @example Every second, emit the most recent click at most once - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.sampleTime(1000); - * result.subscribe(x => console.log(x)); - * - * @see {@link auditTime} - * @see {@link debounceTime} - * @see {@link delay} - * @see {@link sample} - * @see {@link throttleTime} - * - * @param {number} period The sampling period expressed in milliseconds or the - * time unit determined internally by the optional `scheduler`. - * @param {Scheduler} [scheduler=async] The {@link IScheduler} to use for - * managing the timers that handle the sampling. - * @return {Observable} An Observable that emits the results of sampling the - * values emitted by the source Observable at the specified time interval. - * @method sampleTime - * @owner Observable - */ -export function sampleTime(period, scheduler = async) { - return (source) => source.lift(new SampleTimeOperator(period, scheduler)); -} -class SampleTimeOperator { - constructor(period, scheduler) { - this.period = period; - this.scheduler = scheduler; - } - call(subscriber, source) { - return source.subscribe(new SampleTimeSubscriber(subscriber, this.period, this.scheduler)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class SampleTimeSubscriber extends Subscriber { - constructor(destination, period, scheduler) { - super(destination); - this.period = period; - this.scheduler = scheduler; - this.hasValue = false; - this.add(scheduler.schedule(dispatchNotification, period, { subscriber: this, period })); - } - _next(value) { - this.lastValue = value; - this.hasValue = true; - } - notifyNext() { - if (this.hasValue) { - this.hasValue = false; - this.destination.next(this.lastValue); - } - } -} -function dispatchNotification(state) { - let { subscriber, period } = state; - subscriber.notifyNext(); - this.schedule(state, period); -} -//# sourceMappingURL=sampleTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/sampleTime.js.map b/node_modules/rxjs/_esm2015/operators/sampleTime.js.map deleted file mode 100644 index f46989f4..00000000 --- a/node_modules/rxjs/_esm2015/operators/sampleTime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sampleTime.js","sourceRoot":"","s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CAAC;YACtB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACxC,CAAC;IACH,CAAC;AACH,CAAC;AAED,8BAAoD,KAAU;IAC5D,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACnC,UAAU,CAAC,UAAU,EAAE,CAAC;IACxB,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;AAC/B,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/scan.js b/node_modules/rxjs/_esm2015/operators/scan.js deleted file mode 100644 index 68bd3ab0..00000000 --- a/node_modules/rxjs/_esm2015/operators/scan.js +++ /dev/null @@ -1,106 +0,0 @@ -import { Subscriber } from '../Subscriber'; -/* tslint:enable:max-line-length */ -/** - * Applies an accumulator function over the source Observable, and returns each - * intermediate result, with an optional seed value. - * - * It's like {@link reduce}, but emits the current - * accumulation whenever the source emits a value. - * - * - * - * Combines together all values emitted on the source, using an accumulator - * function that knows how to join a new source value into the accumulation from - * the past. Is similar to {@link reduce}, but emits the intermediate - * accumulations. - * - * Returns an Observable that applies a specified `accumulator` function to each - * item emitted by the source Observable. If a `seed` value is specified, then - * that value will be used as the initial value for the accumulator. If no seed - * value is specified, the first item of the source is used as the seed. - * - * @example Count the number of click events - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var ones = clicks.mapTo(1); - * var seed = 0; - * var count = ones.scan((acc, one) => acc + one, seed); - * count.subscribe(x => console.log(x)); - * - * @see {@link expand} - * @see {@link mergeScan} - * @see {@link reduce} - * - * @param {function(acc: R, value: T, index: number): R} accumulator - * The accumulator function called on each source value. - * @param {T|R} [seed] The initial accumulation value. - * @return {Observable} An observable of the accumulated values. - * @method scan - * @owner Observable - */ -export function scan(accumulator, seed) { - let hasSeed = false; - // providing a seed of `undefined` *should* be valid and trigger - // hasSeed! so don't use `seed !== undefined` checks! - // For this reason, we have to check it here at the original call site - // otherwise inside Operator/Subscriber we won't know if `undefined` - // means they didn't provide anything or if they literally provided `undefined` - if (arguments.length >= 2) { - hasSeed = true; - } - return function scanOperatorFunction(source) { - return source.lift(new ScanOperator(accumulator, seed, hasSeed)); - }; -} -class ScanOperator { - constructor(accumulator, seed, hasSeed = false) { - this.accumulator = accumulator; - this.seed = seed; - this.hasSeed = hasSeed; - } - call(subscriber, source) { - return source.subscribe(new ScanSubscriber(subscriber, this.accumulator, this.seed, this.hasSeed)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class ScanSubscriber extends Subscriber { - constructor(destination, accumulator, _seed, hasSeed) { - super(destination); - this.accumulator = accumulator; - this._seed = _seed; - this.hasSeed = hasSeed; - this.index = 0; - } - get seed() { - return this._seed; - } - set seed(value) { - this.hasSeed = true; - this._seed = value; - } - _next(value) { - if (!this.hasSeed) { - this.seed = value; - this.destination.next(value); - } - else { - return this._tryNext(value); - } - } - _tryNext(value) { - const index = this.index++; - let result; - try { - result = this.accumulator(this.seed, value, index); - } - catch (err) { - this.destination.error(err); - } - this.seed = result; - this.destination.next(result); - } -} -//# sourceMappingURL=scan.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/scan.js.map b/node_modules/rxjs/_esm2015/operators/scan.js.map deleted file mode 100644 index a1059860..00000000 --- a/node_modules/rxjs/_esm2015/operators/scan.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"scan.js","sourceRoot":"","sources":["../../src/operators/scan.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;AAO1C,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,qBAA2B,WAAmD,EAAE,IAAY;IAC1F,IAAI,OAAO,GAAG,KAAK,CAAC;IACpB,gEAAgE;IAChE,qDAAqD;IACrD,sEAAsE;IACtE,oEAAoE;IACpE,+EAA+E;IAC/E,EAAE,CAAC,CAAC,SAAS,CA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;YAClB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC9B,CAAC;IACH,CAAC;IAEO,QAAQ,CAAC,KAAQ;QACvB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;QAC3B,IAAI,MAAW,CAAC;QAChB,IAAI,CAAC;YACH,MAAM,GAAG,IAAI,CAAC,WAAW,CAAI,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;QACxD,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC9B,CAAC;QACD,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC;QACnB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/sequenceEqual.js b/node_modules/rxjs/_esm2015/operators/sequenceEqual.js deleted file mode 100644 index bcfff05f..00000000 --- a/node_modules/rxjs/_esm2015/operators/sequenceEqual.js +++ /dev/null @@ -1,150 +0,0 @@ -import { Subscriber } from '../Subscriber'; -import { tryCatch } from '../util/tryCatch'; -import { errorObject } from '../util/errorObject'; -/** - * Compares all values of two observables in sequence using an optional comparor function - * and returns an observable of a single boolean value representing whether or not the two sequences - * are equal. - * - * Checks to see of all values emitted by both observables are equal, in order. - * - * - * - * `sequenceEqual` subscribes to two observables and buffers incoming values from each observable. Whenever either - * observable emits a value, the value is buffered and the buffers are shifted and compared from the bottom - * up; If any value pair doesn't match, the returned observable will emit `false` and complete. If one of the - * observables completes, the operator will wait for the other observable to complete; If the other - * observable emits before completing, the returned observable will emit `false` and complete. If one observable never - * completes or emits after the other complets, the returned observable will never complete. - * - * @example figure out if the Konami code matches - * var code = Rx.Observable.from([ - * "ArrowUp", - * "ArrowUp", - * "ArrowDown", - * "ArrowDown", - * "ArrowLeft", - * "ArrowRight", - * "ArrowLeft", - * "ArrowRight", - * "KeyB", - * "KeyA", - * "Enter" // no start key, clearly. - * ]); - * - * var keys = Rx.Observable.fromEvent(document, 'keyup') - * .map(e => e.code); - * var matches = keys.bufferCount(11, 1) - * .mergeMap( - * last11 => - * Rx.Observable.from(last11) - * .sequenceEqual(code) - * ); - * matches.subscribe(matched => console.log('Successful cheat at Contra? ', matched)); - * - * @see {@link combineLatest} - * @see {@link zip} - * @see {@link withLatestFrom} - * - * @param {Observable} compareTo The observable sequence to compare the source sequence to. - * @param {function} [comparor] An optional function to compare each value pair - * @return {Observable} An Observable of a single boolean value representing whether or not - * the values emitted by both observables were equal in sequence. - * @method sequenceEqual - * @owner Observable - */ -export function sequenceEqual(compareTo, comparor) { - return (source) => source.lift(new SequenceEqualOperator(compareTo, comparor)); -} -export class SequenceEqualOperator { - constructor(compareTo, comparor) { - this.compareTo = compareTo; - this.comparor = comparor; - } - call(subscriber, source) { - return source.subscribe(new SequenceEqualSubscriber(subscriber, this.compareTo, this.comparor)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class SequenceEqualSubscriber extends Subscriber { - constructor(destination, compareTo, comparor) { - super(destination); - this.compareTo = compareTo; - this.comparor = comparor; - this._a = []; - this._b = []; - this._oneComplete = false; - this.add(compareTo.subscribe(new SequenceEqualCompareToSubscriber(destination, this))); - } - _next(value) { - if (this._oneComplete && this._b.length === 0) { - this.emit(false); - } - else { - this._a.push(value); - this.checkValues(); - } - } - _complete() { - if (this._oneComplete) { - this.emit(this._a.length === 0 && this._b.length === 0); - } - else { - this._oneComplete = true; - } - } - checkValues() { - const { _a, _b, comparor } = this; - while (_a.length > 0 && _b.length > 0) { - let a = _a.shift(); - let b = _b.shift(); - let areEqual = false; - if (comparor) { - areEqual = tryCatch(comparor)(a, b); - if (areEqual === errorObject) { - this.destination.error(errorObject.e); - } - } - else { - areEqual = a === b; - } - if (!areEqual) { - this.emit(false); - } - } - } - emit(value) { - const { destination } = this; - destination.next(value); - destination.complete(); - } - nextB(value) { - if (this._oneComplete && this._a.length === 0) { - this.emit(false); - } - else { - this._b.push(value); - this.checkValues(); - } - } -} -class SequenceEqualCompareToSubscriber extends Subscriber { - constructor(destination, parent) { - super(destination); - this.parent = parent; - } - _next(value) { - this.parent.nextB(value); - } - _error(err) { - this.parent.error(err); - } - _complete() { - this.parent._complete(); - } -} -//# sourceMappingURL=sequenceEqual.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/sequenceEqual.js.map b/node_modules/rxjs/_esm2015/operators/sequenceEqual.js.map deleted file mode 100644 index 89a111c4..00000000 --- a/node_modules/rxjs/_esm2015/operators/sequenceEqual.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sequenceEqual.js","sourceRoot":"","sources":["../../src/operators/sequenceEqual.ts"],"names":[],"mappings":"OAGO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,WAAW,EAAE,MAAM,qBAAqB;AAIjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,8BAAiC,SAAwB,EACxB,QAAkC;IACjE,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,qBAAqB,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC;AAChG,CAAC;AAED;IACE,YAAoB,SAAwB,EACxB,QAAiC;QADjC,cAAS,GAAT,SAAS,CAAe;QACxB,aAAQ,GAAR,QAAQ,CAAyB;IACrD,CAAC;IAED,IAAI,CAAC,UAA+B,EAAE,MAAW;QAC/C,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,uBAAuB,CAAC,UAA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ACH,CAAC;AAED,+CAAqD,UAAU;IAC7D,YAAY,WAAwB,EAAU,MAAqC;QACjF,MAAM,WAAW,CAAC,CAAC;QADyB,WAAM,GAAN,MAAM,CAA+B;IAEnF,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAC3B,CAAC;IAES,MAAM,CAAC,GAAQ;QACvB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACzB,CAAC;IAES,SAAS;QACjB,IAAI,CAAC,MAAM,CAAC,SAAS,EAAE,CAAC;IAC1B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/share.js b/node_modules/rxjs/_esm2015/operators/share.js deleted file mode 100644 index 88c8c180..00000000 --- a/node_modules/rxjs/_esm2015/operators/share.js +++ /dev/null @@ -1,23 +0,0 @@ -import { multicast } from './multicast'; -import { refCount } from './refCount'; -import { Subject } from '../Subject'; -function shareSubjectFactory() { - return new Subject(); -} -/** - * Returns a new Observable that multicasts (shares) the original Observable. As long as there is at least one - * Subscriber this Observable will be subscribed and emitting data. When all subscribers have unsubscribed it will - * unsubscribe from the source Observable. Because the Observable is multicasting it makes the stream `hot`. - * This is an alias for .multicast(() => new Subject()).refCount(). - * - * - * - * @return {Observable} An Observable that upon connection causes the source Observable to emit items to its Observers. - * @method share - * @owner Observable - */ -export function share() { - return (source) => refCount()(multicast(shareSubjectFactory)(source)); -} -; -//# sourceMappingURL=share.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/share.js.map b/node_modules/rxjs/_esm2015/operators/share.js.map deleted file mode 100644 index dad030cb..00000000 --- a/node_modules/rxjs/_esm2015/operators/share.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"share.js","sourceRoot":"","sources":["../../src/operators/share.ts"],"names":[],"mappings":"OACO,EAAE,SAAS,EAAE,MAAM,aAAa;OAChC,EAAE,QAAQ,EAAE,MAAM,YAAY;OAC9B,EAAE,OAAO,EAAE,MAAM,YAAY;AAIpC;IACE,MAAM,CAAC,IAAI,OAAO,EAAE,CAAC;AACvB,CAAC;AAED;;;;;;;;;;;GAWG;AACH;IACE,MAAM,CAAC,CAAC,MAAqB,KAAK,QAAQ,EAAE,CAAC,SAAS,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAkB,CAAC;AACxG,CAAC;AAAA,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/shareReplay.js b/node_modules/rxjs/_esm2015/operators/shareReplay.js deleted file mode 100644 index d971c83e..00000000 --- a/node_modules/rxjs/_esm2015/operators/shareReplay.js +++ /dev/null @@ -1,43 +0,0 @@ -import { ReplaySubject } from '../ReplaySubject'; -/** - * @method shareReplay - * @owner Observable - */ -export function shareReplay(bufferSize, windowTime, scheduler) { - return (source) => source.lift(shareReplayOperator(bufferSize, windowTime, scheduler)); -} -function shareReplayOperator(bufferSize, windowTime, scheduler) { - let subject; - let refCount = 0; - let subscription; - let hasError = false; - let isComplete = false; - return function shareReplayOperation(source) { - refCount++; - if (!subject || hasError) { - hasError = false; - subject = new ReplaySubject(bufferSize, windowTime, scheduler); - subscription = source.subscribe({ - next(value) { subject.next(value); }, - error(err) { - hasError = true; - subject.error(err); - }, - complete() { - isComplete = true; - subject.complete(); - }, - }); - } - const innerSub = subject.subscribe(this); - return () => { - refCount--; - innerSub.unsubscribe(); - if (subscription && refCount === 0 && isComplete) { - subscription.unsubscribe(); - } - }; - }; -} -; -//# sourceMappingURL=shareReplay.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/shareReplay.js.map b/node_modules/rxjs/_esm2015/operators/shareReplay.js.map deleted file mode 100644 index 04a3c14d..00000000 --- a/node_modules/rxjs/_esm2015/operators/shareReplay.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"shareReplay.js","sourceRoot":"","sources":["../../src/operators/shareReplay.ts"],"names":[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C,YAAY,IAAI,QAAQ,KAAK,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC;gBACjD,YAAY,CAAC,WAAW,EAAE,CAAC;YAC7B,CAAC;QACH,CAAC,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC;AAAA,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/single.js b/node_modules/rxjs/_esm2015/operators/single.js deleted file mode 100644 index 712d0196..00000000 --- a/node_modules/rxjs/_esm2015/operators/single.js +++ /dev/null @@ -1,83 +0,0 @@ -import { Subscriber } from '../Subscriber'; -import { EmptyError } from '../util/EmptyError'; -/** - * Returns an Observable that emits the single item emitted by the source Observable that matches a specified - * predicate, if that Observable emits one such item. If the source Observable emits more than one such item or no - * such items, notify of an IllegalArgumentException or NoSuchElementException respectively. - * - * - * - * @throws {EmptyError} Delivers an EmptyError to the Observer's `error` - * callback if the Observable completes before any `next` notification was sent. - * @param {Function} predicate - A predicate function to evaluate items emitted by the source Observable. - * @return {Observable} An Observable that emits the single item emitted by the source Observable that matches - * the predicate. - . - * @method single - * @owner Observable - */ -export function single(predicate) { - return (source) => source.lift(new SingleOperator(predicate, source)); -} -class SingleOperator { - constructor(predicate, source) { - this.predicate = predicate; - this.source = source; - } - call(subscriber, source) { - return source.subscribe(new SingleSubscriber(subscriber, this.predicate, this.source)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class SingleSubscriber extends Subscriber { - constructor(destination, predicate, source) { - super(destination); - this.predicate = predicate; - this.source = source; - this.seenValue = false; - this.index = 0; - } - applySingleValue(value) { - if (this.seenValue) { - this.destination.error('Sequence contains more than one element'); - } - else { - this.seenValue = true; - this.singleValue = value; - } - } - _next(value) { - const index = this.index++; - if (this.predicate) { - this.tryNext(value, index); - } - else { - this.applySingleValue(value); - } - } - tryNext(value, index) { - try { - if (this.predicate(value, index, this.source)) { - this.applySingleValue(value); - } - } - catch (err) { - this.destination.error(err); - } - } - _complete() { - const destination = this.destination; - if (this.index > 0) { - destination.next(this.seenValue ? this.singleValue : undefined); - destination.complete(); - } - else { - destination.error(new EmptyError); - } - } -} -//# sourceMappingURL=single.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/single.js.map b/node_modules/rxjs/_esm2015/operators/single.js.map deleted file mode 100644 index 01bf23c9..00000000 --- a/node_modules/rxjs/_esm2015/operators/single.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"single.js","sourceRoot":"","sources":["../../src/operators/single.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;OAEnC,EAAE,UAAU,EAAE,MAAM,oBAAoB;AAK/C;;;;;;;;;;;;;;;GAeG;AACH,uBAA0B,SAAuE;IAC/F,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,cAAc,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC;AACvF,CAAC;AAED;IACE,YAAoB,SAAuE,EACvE,MAAsB;QADtB,cAAS,GAAT,SAAS,CAA8D;QACvE,WAAM,GAAN,MAAM,CAAgB;IAC1C,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IACzF,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,+BAAkC,UAAU;IAK1C,YAAY,WAAwB,EAChB,SAAuE,EACvE,MAAsB;QACxC,MAAM,WAAW,CAAC,CAAC;QAFD,cAAS,GAAT,SAAS,CAA8D;QACvE,WAAM,GAAN,MAAM,CAAgB;QANlC,cAAS,GAAY,KAAK,CAAC;QAE3B,UAAK,GAAW,CAAC,CAAC;IAM1B,CAAC;IAEO,gBAAgB,CAAC,KAAQ;QAC/B,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAA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AAU,CAAC,CAAC;QACpC,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/skip.js b/node_modules/rxjs/_esm2015/operators/skip.js deleted file mode 100644 index 35c21298..00000000 --- a/node_modules/rxjs/_esm2015/operators/skip.js +++ /dev/null @@ -1,41 +0,0 @@ -import { Subscriber } from '../Subscriber'; -/** - * Returns an Observable that skips the first `count` items emitted by the source Observable. - * - * - * - * @param {Number} count - The number of times, items emitted by source Observable should be skipped. - * @return {Observable} An Observable that skips values emitted by the source Observable. - * - * @method skip - * @owner Observable - */ -export function skip(count) { - return (source) => source.lift(new SkipOperator(count)); -} -class SkipOperator { - constructor(total) { - this.total = total; - } - call(subscriber, source) { - return source.subscribe(new SkipSubscriber(subscriber, this.total)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class SkipSubscriber extends Subscriber { - constructor(destination, total) { - super(destination); - this.total = total; - this.count = 0; - } - _next(x) { - if (++this.count > this.total) { - this.destination.next(x); - } - } -} -//# sourceMappingURL=skip.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/skip.js.map b/node_modules/rxjs/_esm2015/operators/skip.js.map deleted file mode 100644 index 5535cacb..00000000 --- a/node_modules/rxjs/_esm2015/operators/skip.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"skip.js","sourceRoot":"","sources":["../../src/operators/skip.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAK1C;;;;;;;;;;GAUG;AACH,qBAAwB,KAAa;IACnC,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;AACzE,CAAC;AAED;IACE,YAAoB,KAAa;QAAb,UAAK,GAAL,KAAK,CAAQ;IACjC,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,cAAc,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IACtE,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,6BAAgC,UAAU;IAGxC,YAAY,WAA0B,EAAU,KAAa;QAC3D,MAAM,WAAW,CAAC,CAAC;QAD2B,UAAK,GAAL,KAAK,CAAQ;QAF7D,UAAK,GAAW,CAAC,CAAC;IAIlB,CAAC;IAES,KAAK,CAAC,CAAI;QAClB,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;YAC9B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/skipLast.js b/node_modules/rxjs/_esm2015/operators/skipLast.js deleted file mode 100644 index a724fdca..00000000 --- a/node_modules/rxjs/_esm2015/operators/skipLast.js +++ /dev/null @@ -1,83 +0,0 @@ -import { Subscriber } from '../Subscriber'; -import { ArgumentOutOfRangeError } from '../util/ArgumentOutOfRangeError'; -/** - * Skip the last `count` values emitted by the source Observable. - * - * - * - * `skipLast` returns an Observable that accumulates a queue with a length - * enough to store the first `count` values. As more values are received, - * values are taken from the front of the queue and produced on the result - * sequence. This causes values to be delayed. - * - * @example Skip the last 2 values of an Observable with many values - * var many = Rx.Observable.range(1, 5); - * var skipLastTwo = many.skipLast(2); - * skipLastTwo.subscribe(x => console.log(x)); - * - * // Results in: - * // 1 2 3 - * - * @see {@link skip} - * @see {@link skipUntil} - * @see {@link skipWhile} - * @see {@link take} - * - * @throws {ArgumentOutOfRangeError} When using `skipLast(i)`, it throws - * ArgumentOutOrRangeError if `i < 0`. - * - * @param {number} count Number of elements to skip from the end of the source Observable. - * @returns {Observable} An Observable that skips the last count values - * emitted by the source Observable. - * @method skipLast - * @owner Observable - */ -export function skipLast(count) { - return (source) => source.lift(new SkipLastOperator(count)); -} -class SkipLastOperator { - constructor(_skipCount) { - this._skipCount = _skipCount; - if (this._skipCount < 0) { - throw new ArgumentOutOfRangeError; - } - } - call(subscriber, source) { - if (this._skipCount === 0) { - // If we don't want to skip any values then just subscribe - // to Subscriber without any further logic. - return source.subscribe(new Subscriber(subscriber)); - } - else { - return source.subscribe(new SkipLastSubscriber(subscriber, this._skipCount)); - } - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class SkipLastSubscriber extends Subscriber { - constructor(destination, _skipCount) { - super(destination); - this._skipCount = _skipCount; - this._count = 0; - this._ring = new Array(_skipCount); - } - _next(value) { - const skipCount = this._skipCount; - const count = this._count++; - if (count < skipCount) { - this._ring[count] = value; - } - else { - const currentIndex = count % skipCount; - const ring = this._ring; - const oldValue = ring[currentIndex]; - ring[currentIndex] = value; - this.destination.next(oldValue); - } - } -} -//# sourceMappingURL=skipLast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/skipLast.js.map b/node_modules/rxjs/_esm2015/operators/skipLast.js.map deleted file mode 100644 index 4ca5c381..00000000 --- a/node_modules/rxjs/_esm2015/operators/skipLast.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"skipLast.js","sourceRoot":"","sources":["../../src/operators/skipLast.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,uBAAuB,EAAE,MAAM,iCAAiC;AAKzE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,yBAA4B,KAAa;IACvC,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC;AAC7E,CAAC;AAED;IACE,YAAoB,UAAkB;QAAlB,eAAU,GAAV,UAAU,CAAQ;QACpC,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,GAAG,CAAC,CA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,IAAI,CAAC,QAAQ,CAAC,CAAC;QAClC,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/skipUntil.js b/node_modules/rxjs/_esm2015/operators/skipUntil.js deleted file mode 100644 index 267cd39d..00000000 --- a/node_modules/rxjs/_esm2015/operators/skipUntil.js +++ /dev/null @@ -1,61 +0,0 @@ -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/** - * Returns an Observable that skips items emitted by the source Observable until a second Observable emits an item. - * - * - * - * @param {Observable} notifier - The second Observable that has to emit an item before the source Observable's elements begin to - * be mirrored by the resulting Observable. - * @return {Observable} An Observable that skips items from the source Observable until the second Observable emits - * an item, then emits the remaining items. - * @method skipUntil - * @owner Observable - */ -export function skipUntil(notifier) { - return (source) => source.lift(new SkipUntilOperator(notifier)); -} -class SkipUntilOperator { - constructor(notifier) { - this.notifier = notifier; - } - call(subscriber, source) { - return source.subscribe(new SkipUntilSubscriber(subscriber, this.notifier)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class SkipUntilSubscriber extends OuterSubscriber { - constructor(destination, notifier) { - super(destination); - this.hasValue = false; - this.isInnerStopped = false; - this.add(subscribeToResult(this, notifier)); - } - _next(value) { - if (this.hasValue) { - super._next(value); - } - } - _complete() { - if (this.isInnerStopped) { - super._complete(); - } - else { - this.unsubscribe(); - } - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - this.hasValue = true; - } - notifyComplete() { - this.isInnerStopped = true; - if (this.isStopped) { - super._complete(); - } - } -} -//# sourceMappingURL=skipUntil.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/skipUntil.js.map b/node_modules/rxjs/_esm2015/operators/skipUntil.js.map deleted file mode 100644 index 1437ff8a..00000000 --- a/node_modules/rxjs/_esm2015/operators/skipUntil.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"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tC,QAA+B;QACxC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;IACvB,CAAC;IAED,cAAc;QACZ,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;QAC3B,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;YACnB,KAAK,CAAC,SAAS,EAAE,CAAC;QACpB,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/skipWhile.js b/node_modules/rxjs/_esm2015/operators/skipWhile.js deleted file mode 100644 index e6cfc49e..00000000 --- a/node_modules/rxjs/_esm2015/operators/skipWhile.js +++ /dev/null @@ -1,56 +0,0 @@ -import { Subscriber } from '../Subscriber'; -/** - * Returns an Observable that skips all items emitted by the source Observable as long as a specified condition holds - * true, but emits all further source items as soon as the condition becomes false. - * - * - * - * @param {Function} predicate - A function to test each item emitted from the source Observable. - * @return {Observable} An Observable that begins emitting items emitted by the source Observable when the - * specified predicate becomes false. - * @method skipWhile - * @owner Observable - */ -export function skipWhile(predicate) { - return (source) => source.lift(new SkipWhileOperator(predicate)); -} -class SkipWhileOperator { - constructor(predicate) { - this.predicate = predicate; - } - call(subscriber, source) { - return source.subscribe(new SkipWhileSubscriber(subscriber, this.predicate)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class SkipWhileSubscriber extends Subscriber { - constructor(destination, predicate) { - super(destination); - this.predicate = predicate; - this.skipping = true; - this.index = 0; - } - _next(value) { - const destination = this.destination; - if (this.skipping) { - this.tryCallPredicate(value); - } - if (!this.skipping) { - destination.next(value); - } - } - tryCallPredicate(value) { - try { - const result = this.predicate(value, this.index++); - this.skipping = Boolean(result); - } - catch (err) { - this.destination.error(err); - } - } -} -//# sourceMappingURL=skipWhile.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/skipWhile.js.map b/node_modules/rxjs/_esm2015/operators/skipWhile.js.map deleted file mode 100644 index 604f14cb..00000000 --- a/node_modules/rxjs/_esm2015/operators/skipWhile.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"skipWhile.js","sourceRoot":"","sources":["../../src/operators/skipWhile.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;AAI1C;;;;;;;;;;;GAWG;AACH,0BAA6B,SAA+C;IAC1E,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,SAAS,CAAC,CAAC,CAAC;AAClF,CAAC;AAED;IACE,YAAoB,SAA+C;QAA/C,cAAS,GAAT,SAAS,CAAsC;IACnE,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;IAC/E,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,kCAAqC,UAAU;IAI7C,YAAY,WAA0B,EAClB,SAA+C;QACjE,MAAM,WAAW,CAAC,CAAC;QADD,cAAS,GAAT,SAAS,CAAsC;QAJ3D,aAAQ,GAAY,IAAI,CAAC;QACzB,UAAK,GAAW,CAAC,CAAC;IAK1B,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YAClB,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;QAED,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YACnB,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC1B,CAAC;IACH,CAAC;IAEO,gBAAgB,CAAC,KAAQ;QAC/B,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;YACnD,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;QAClC,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC9B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/startWith.js b/node_modules/rxjs/_esm2015/operators/startWith.js deleted file mode 100644 index 189a877c..00000000 --- a/node_modules/rxjs/_esm2015/operators/startWith.js +++ /dev/null @@ -1,42 +0,0 @@ -import { ArrayObservable } from '../observable/ArrayObservable'; -import { ScalarObservable } from '../observable/ScalarObservable'; -import { EmptyObservable } from '../observable/EmptyObservable'; -import { concat as concatStatic } from '../observable/concat'; -import { isScheduler } from '../util/isScheduler'; -/* tslint:enable:max-line-length */ -/** - * Returns an Observable that emits the items you specify as arguments before it begins to emit - * items emitted by the source Observable. - * - * - * - * @param {...T} values - Items you want the modified Observable to emit first. - * @param {Scheduler} [scheduler] - A {@link IScheduler} to use for scheduling - * the emissions of the `next` notifications. - * @return {Observable} An Observable that emits the items in the specified Iterable and then emits the items - * emitted by the source Observable. - * @method startWith - * @owner Observable - */ -export function startWith(...array) { - return (source) => { - let scheduler = array[array.length - 1]; - if (isScheduler(scheduler)) { - array.pop(); - } - else { - scheduler = null; - } - const len = array.length; - if (len === 1) { - return concatStatic(new ScalarObservable(array[0], scheduler), source); - } - else if (len > 1) { - return concatStatic(new ArrayObservable(array, scheduler), source); - } - else { - return concatStatic(new EmptyObservable(scheduler), source); - } - }; -} -//# sourceMappingURL=startWith.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/startWith.js.map b/node_modules/rxjs/_esm2015/operators/startWith.js.map deleted file mode 100644 index 5fb55188..00000000 --- a/node_modules/rxjs/_esm2015/operators/startWith.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"startWith.js","sourceRoot":"","sources":["../../src/operators/startWith.ts"],"names":[],"mappings":"OAEO,EAAE,eAAe,EAAE,MAAM,+BAA+B;OACxD,EAAE,gBAAgB,EAAE,MAAM,gCAAgC;OAC1D,EAAE,eAAe,EAAE,MAAM,+BAA+B;OACxD,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,sBAAsB;OACtD,EAAE,WAAW,EAAE,MAAM,qBAAqB;AAWjD,mCAAmC;AAEnC;;;;;;;;;;;;;GAaG;AACH,0BAA6B,GAAG,KAA4B;IAC1D,MAAM,CAAC,CAAC,MAAqB;QAC3B,IAAI,SAAS,GAAe,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QACpD,EAAE,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YAC3B,KAAK,CAAC,GAAG,EAAE,CAAC;QACd,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,SAAS,GAAG,IAAI,CAAC;QACnB,CAAC;QAED,MAAM,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC;QACzB,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;YACd,MAAM,CAAC,YAAY,CAAC,IAAI,gBAAgB,CAAO,KAAK,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,EAAE,MAAM,CAAC,CAAC;QAC/E,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;YACnB,MAAM,CAAC,YAAY,CAAC,IAAI,eAAe,CAAS,KAAK,EAAE,SAAS,CAAC,EAAE,MAAM,CAAC,CAAC;QAC7E,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,CAAC,YAAY,CAAC,IAAI,eAAe,CAAI,SAAS,CAAC,EAAE,MAAM,CAAC,CAAC;QACjE,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/subscribeOn.js b/node_modules/rxjs/_esm2015/operators/subscribeOn.js deleted file mode 100644 index 66258b63..00000000 --- a/node_modules/rxjs/_esm2015/operators/subscribeOn.js +++ /dev/null @@ -1,27 +0,0 @@ -import { SubscribeOnObservable } from '../observable/SubscribeOnObservable'; -/** - * Asynchronously subscribes Observers to this Observable on the specified IScheduler. - * - * - * - * @param {Scheduler} scheduler - The IScheduler to perform subscription actions on. - * @return {Observable} The source Observable modified so that its subscriptions happen on the specified IScheduler. - . - * @method subscribeOn - * @owner Observable - */ -export function subscribeOn(scheduler, delay = 0) { - return function subscribeOnOperatorFunction(source) { - return source.lift(new SubscribeOnOperator(scheduler, delay)); - }; -} -class SubscribeOnOperator { - constructor(scheduler, delay) { - this.scheduler = scheduler; - this.delay = delay; - } - call(subscriber, source) { - return new SubscribeOnObservable(source, this.delay, this.scheduler).subscribe(subscriber); - } -} -//# sourceMappingURL=subscribeOn.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/subscribeOn.js.map b/node_modules/rxjs/_esm2015/operators/subscribeOn.js.map deleted file mode 100644 index 81845f1f..00000000 --- a/node_modules/rxjs/_esm2015/operators/subscribeOn.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"subscribeOn.js","sourceRoot":"","sources":["../../src/operators/subscribeOn.ts"],"names":[],"mappings":"OAKO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC;AAG3E;;;;;;;;;;GAUG;AACH,4BAA+B,SAAqB,EAAE,KAAK,GAAW,CAAC;IACrE,MAAM,CAAC,qCAAqC,MAAqB;QAC/D,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,mBAAmB,CAAI,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC;IACnE,CAAC,CAAC;AACJ,CAAC;AAED;IACE,YAAoB,SAAqB,EACrB,KAAa;QADb,cAAS,GAAT,SAAS,CAAY;QACrB,UAAK,GAAL,KAAK,CAAQ;IACjC,CAAC;IACD,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,IAAI,qBAAqB,CAC9B,MAAM,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,SAAS,CACnC,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;IAC1B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/switchAll.js b/node_modules/rxjs/_esm2015/operators/switchAll.js deleted file mode 100644 index f0db5993..00000000 --- a/node_modules/rxjs/_esm2015/operators/switchAll.js +++ /dev/null @@ -1,6 +0,0 @@ -import { switchMap } from './switchMap'; -import { identity } from '../util/identity'; -export function switchAll() { - return switchMap(identity); -} -//# sourceMappingURL=switchAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/switchAll.js.map b/node_modules/rxjs/_esm2015/operators/switchAll.js.map deleted file mode 100644 index dfde7a2e..00000000 --- a/node_modules/rxjs/_esm2015/operators/switchAll.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"switchAll.js","sourceRoot":"","sources":["../../src/operators/switchAll.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,EAAE,MAAM,aAAa;OAChC,EAAE,QAAQ,EAAE,MAAM,kBAAkB;AAE3C;IACE,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;AAC7B,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/switchMap.js b/node_modules/rxjs/_esm2015/operators/switchMap.js deleted file mode 100644 index d0a8daf0..00000000 --- a/node_modules/rxjs/_esm2015/operators/switchMap.js +++ /dev/null @@ -1,132 +0,0 @@ -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/* tslint:enable:max-line-length */ -/** - * Projects each source value to an Observable which is merged in the output - * Observable, emitting values only from the most recently projected Observable. - * - * Maps each value to an Observable, then flattens all of - * these inner Observables using {@link switch}. - * - * - * - * Returns an Observable that emits items based on applying a function that you - * supply to each item emitted by the source Observable, where that function - * returns an (so-called "inner") Observable. Each time it observes one of these - * inner Observables, the output Observable begins emitting the items emitted by - * that inner Observable. When a new inner Observable is emitted, `switchMap` - * stops emitting items from the earlier-emitted inner Observable and begins - * emitting items from the new one. It continues to behave like this for - * subsequent inner Observables. - * - * @example Rerun an interval Observable on every click event - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.switchMap((ev) => Rx.Observable.interval(1000)); - * result.subscribe(x => console.log(x)); - * - * @see {@link concatMap} - * @see {@link exhaustMap} - * @see {@link mergeMap} - * @see {@link switch} - * @see {@link switchMapTo} - * - * @param {function(value: T, ?index: number): ObservableInput} project A function - * that, when applied to an item emitted by the source Observable, returns an - * Observable. - * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] - * A function to produce the value on the output Observable based on the values - * and the indices of the source (outer) emission and the inner Observable - * emission. The arguments passed to this function are: - * - `outerValue`: the value that came from the source - * - `innerValue`: the value that came from the projected Observable - * - `outerIndex`: the "index" of the value that came from the source - * - `innerIndex`: the "index" of the value from the projected Observable - * @return {Observable} An Observable that emits the result of applying the - * projection function (and the optional `resultSelector`) to each item emitted - * by the source Observable and taking only the values from the most recently - * projected inner Observable. - * @method switchMap - * @owner Observable - */ -export function switchMap(project, resultSelector) { - return function switchMapOperatorFunction(source) { - return source.lift(new SwitchMapOperator(project, resultSelector)); - }; -} -class SwitchMapOperator { - constructor(project, resultSelector) { - this.project = project; - this.resultSelector = resultSelector; - } - call(subscriber, source) { - return source.subscribe(new SwitchMapSubscriber(subscriber, this.project, this.resultSelector)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class SwitchMapSubscriber extends OuterSubscriber { - constructor(destination, project, resultSelector) { - super(destination); - this.project = project; - this.resultSelector = resultSelector; - this.index = 0; - } - _next(value) { - let result; - const index = this.index++; - try { - result = this.project(value, index); - } - catch (error) { - this.destination.error(error); - return; - } - this._innerSub(result, value, index); - } - _innerSub(result, value, index) { - const innerSubscription = this.innerSubscription; - if (innerSubscription) { - innerSubscription.unsubscribe(); - } - this.add(this.innerSubscription = subscribeToResult(this, result, value, index)); - } - _complete() { - const { innerSubscription } = this; - if (!innerSubscription || innerSubscription.closed) { - super._complete(); - } - } - _unsubscribe() { - this.innerSubscription = null; - } - notifyComplete(innerSub) { - this.remove(innerSub); - this.innerSubscription = null; - if (this.isStopped) { - super._complete(); - } - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - if (this.resultSelector) { - this._tryNotifyNext(outerValue, innerValue, outerIndex, innerIndex); - } - else { - this.destination.next(innerValue); - } - } - _tryNotifyNext(outerValue, innerValue, outerIndex, innerIndex) { - let result; - try { - result = this.resultSelector(outerValue, innerValue, outerIndex, innerIndex); - } - catch (err) { - this.destination.error(err); - return; - } - this.destination.next(result); - } -} -//# sourceMappingURL=switchMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/switchMap.js.map b/node_modules/rxjs/_esm2015/operators/switchMap.js.map deleted file mode 100644 index 006d7836..00000000 --- a/node_modules/rxjs/_esm2015/operators/switchMap.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"switchMap.js","sourceRoot":"","sources":["../../src/operators/switchMap.ts"],"names":[],"mappings":"OAIO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAM7D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,0BACE,OAAwD,EACxD,cAA4F;IAE5F,MAAM,CAAC,mCAAmC,MAAqB;QAC7D,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC;IACrE,CAAC,CAAC;AACJ,CAAC;AAED;IACE,YAAoB,OAAwD,EACxD,cAA4F;QAD5F,YAAO,GAAP,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AAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/switchMapTo.js b/node_modules/rxjs/_esm2015/operators/switchMapTo.js deleted file mode 100644 index 86566d02..00000000 --- a/node_modules/rxjs/_esm2015/operators/switchMapTo.js +++ /dev/null @@ -1,115 +0,0 @@ -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/* tslint:enable:max-line-length */ -/** - * Projects each source value to the same Observable which is flattened multiple - * times with {@link switch} in the output Observable. - * - * It's like {@link switchMap}, but maps each value - * always to the same inner Observable. - * - * - * - * Maps each source value to the given Observable `innerObservable` regardless - * of the source value, and then flattens those resulting Observables into one - * single Observable, which is the output Observable. The output Observables - * emits values only from the most recently emitted instance of - * `innerObservable`. - * - * @example Rerun an interval Observable on every click event - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.switchMapTo(Rx.Observable.interval(1000)); - * result.subscribe(x => console.log(x)); - * - * @see {@link concatMapTo} - * @see {@link switch} - * @see {@link switchMap} - * @see {@link mergeMapTo} - * - * @param {ObservableInput} innerObservable An Observable to replace each value from - * the source Observable. - * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] - * A function to produce the value on the output Observable based on the values - * and the indices of the source (outer) emission and the inner Observable - * emission. The arguments passed to this function are: - * - `outerValue`: the value that came from the source - * - `innerValue`: the value that came from the projected Observable - * - `outerIndex`: the "index" of the value that came from the source - * - `innerIndex`: the "index" of the value from the projected Observable - * @return {Observable} An Observable that emits items from the given - * `innerObservable` (and optionally transformed through `resultSelector`) every - * time a value is emitted on the source Observable, and taking only the values - * from the most recently projected inner Observable. - * @method switchMapTo - * @owner Observable - */ -export function switchMapTo(innerObservable, resultSelector) { - return (source) => source.lift(new SwitchMapToOperator(innerObservable, resultSelector)); -} -class SwitchMapToOperator { - constructor(observable, resultSelector) { - this.observable = observable; - this.resultSelector = resultSelector; - } - call(subscriber, source) { - return source.subscribe(new SwitchMapToSubscriber(subscriber, this.observable, this.resultSelector)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class SwitchMapToSubscriber extends OuterSubscriber { - constructor(destination, inner, resultSelector) { - super(destination); - this.inner = inner; - this.resultSelector = resultSelector; - this.index = 0; - } - _next(value) { - const innerSubscription = this.innerSubscription; - if (innerSubscription) { - innerSubscription.unsubscribe(); - } - this.add(this.innerSubscription = subscribeToResult(this, this.inner, value, this.index++)); - } - _complete() { - const { innerSubscription } = this; - if (!innerSubscription || innerSubscription.closed) { - super._complete(); - } - } - _unsubscribe() { - this.innerSubscription = null; - } - notifyComplete(innerSub) { - this.remove(innerSub); - this.innerSubscription = null; - if (this.isStopped) { - super._complete(); - } - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - const { resultSelector, destination } = this; - if (resultSelector) { - this.tryResultSelector(outerValue, innerValue, outerIndex, innerIndex); - } - else { - destination.next(innerValue); - } - } - tryResultSelector(outerValue, innerValue, outerIndex, innerIndex) { - const { resultSelector, destination } = this; - let result; - try { - result = resultSelector(outerValue, innerValue, outerIndex, innerIndex); - } - catch (err) { - destination.error(err); - return; - } - destination.next(result); - } -} -//# sourceMappingURL=switchMapTo.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/switchMapTo.js.map b/node_modules/rxjs/_esm2015/operators/switchMapTo.js.map deleted file mode 100644 index 217cd3bb..00000000 --- a/node_modules/rxjs/_esm2015/operators/switchMapTo.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"switchMapTo.js","sourceRoot":"","sources":["../../src/operators/switchMapTo.ts"],"names":[],"mappings":"OAIO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAM7D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAy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2015/operators/take.js deleted file mode 100644 index 482f77bf..00000000 --- a/node_modules/rxjs/_esm2015/operators/take.js +++ /dev/null @@ -1,81 +0,0 @@ -import { Subscriber } from '../Subscriber'; -import { ArgumentOutOfRangeError } from '../util/ArgumentOutOfRangeError'; -import { EmptyObservable } from '../observable/EmptyObservable'; -/** - * Emits only the first `count` values emitted by the source Observable. - * - * Takes the first `count` values from the source, then - * completes. - * - * - * - * `take` returns an Observable that emits only the first `count` values emitted - * by the source Observable. If the source emits fewer than `count` values then - * all of its values are emitted. After that, it completes, regardless if the - * source completes. - * - * @example Take the first 5 seconds of an infinite 1-second interval Observable - * var interval = Rx.Observable.interval(1000); - * var five = interval.take(5); - * five.subscribe(x => console.log(x)); - * - * @see {@link takeLast} - * @see {@link takeUntil} - * @see {@link takeWhile} - * @see {@link skip} - * - * @throws {ArgumentOutOfRangeError} When using `take(i)`, it delivers an - * ArgumentOutOrRangeError to the Observer's `error` callback if `i < 0`. - * - * @param {number} count The maximum number of `next` values to emit. - * @return {Observable} An Observable that emits only the first `count` - * values emitted by the source Observable, or all of the values from the source - * if the source emits fewer than `count` values. - * @method take - * @owner Observable - */ -export function take(count) { - return (source) => { - if (count === 0) { - return new EmptyObservable(); - } - else { - return source.lift(new TakeOperator(count)); - } - }; -} -class TakeOperator { - constructor(total) { - this.total = total; - if (this.total < 0) { - throw new ArgumentOutOfRangeError; - } - } - call(subscriber, source) { - return source.subscribe(new TakeSubscriber(subscriber, this.total)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class TakeSubscriber extends Subscriber { - constructor(destination, total) { - super(destination); - this.total = total; - this.count = 0; - } - _next(value) { - const total = this.total; - const count = ++this.count; - if (count <= total) { - this.destination.next(value); - if (count === total) { - this.destination.complete(); - this.unsubscribe(); - } - } - } -} -//# sourceMappingURL=take.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/take.js.map b/node_modules/rxjs/_esm2015/operators/take.js.map deleted file mode 100644 index 7771a92e..00000000 --- a/node_modules/rxjs/_esm2015/operators/take.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"take.js","sourceRoot":"","sources":["../../src/operators/take.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,uBAAuB,EAAE,MAAM,iCAAiC;OAClE,EAAE,eAAe,EAAE,MAAM,+BAA+B;AAK/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAAwB,KAAa;IACnC,MAAM,CAAC,CAAC,MAAqB;QAC3B,EAAE,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC;YAChB,MAAM,CAAC,IAAI,eAAe,EAAK,CAAC;QAClC,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;QAC9C,CAAC;IACH,CAAC,CAAC;AACJ,CAAC;AAED;IACE,YAAoB,KAAa;QAAb,UAAK,GAAL,KAAK,CAAQ;QAC/B,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC;YACnB,MAAM,IAAI,uBAAuB,CAAC;QACpC,CAAC;IACH,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,cAAc,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IACtE,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,6BAAgC,UAAU;IAGxC,YAAY,WAA0B,EAAU,KAAa;QAC3D,MAAM,WAAW,CAAC,CAAC;QAD2B,UAAK,GAAL,KAAK,CAAQ;QAFrD,UAAK,GAAW,CAAC,CAAC;IAI1B,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,MAAM,KAAK,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC;QAC3B,EAAE,CAAC,CAAC,KAAK,IAAI,KAAK,CAAC,CAAC,CAAC;YACnB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAC7B,EAAE,CAAC,CAAC,KAAK,KAAK,KAAK,CAAC,CAAC,CAAC;gBACpB,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;gBAC5B,IAAI,CAAC,WAAW,EAAE,CAAC;YACrB,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/takeLast.js b/node_modules/rxjs/_esm2015/operators/takeLast.js deleted file mode 100644 index f0c69b2d..00000000 --- a/node_modules/rxjs/_esm2015/operators/takeLast.js +++ /dev/null @@ -1,99 +0,0 @@ -import { Subscriber } from '../Subscriber'; -import { ArgumentOutOfRangeError } from '../util/ArgumentOutOfRangeError'; -import { EmptyObservable } from '../observable/EmptyObservable'; -/** - * Emits only the last `count` values emitted by the source Observable. - * - * Remembers the latest `count` values, then emits those - * only when the source completes. - * - * - * - * `takeLast` returns an Observable that emits at most the last `count` values - * emitted by the source Observable. If the source emits fewer than `count` - * values then all of its values are emitted. This operator must wait until the - * `complete` notification emission from the source in order to emit the `next` - * values on the output Observable, because otherwise it is impossible to know - * whether or not more values will be emitted on the source. For this reason, - * all values are emitted synchronously, followed by the complete notification. - * - * @example Take the last 3 values of an Observable with many values - * var many = Rx.Observable.range(1, 100); - * var lastThree = many.takeLast(3); - * lastThree.subscribe(x => console.log(x)); - * - * @see {@link take} - * @see {@link takeUntil} - * @see {@link takeWhile} - * @see {@link skip} - * - * @throws {ArgumentOutOfRangeError} When using `takeLast(i)`, it delivers an - * ArgumentOutOrRangeError to the Observer's `error` callback if `i < 0`. - * - * @param {number} count The maximum number of values to emit from the end of - * the sequence of values emitted by the source Observable. - * @return {Observable} An Observable that emits at most the last count - * values emitted by the source Observable. - * @method takeLast - * @owner Observable - */ -export function takeLast(count) { - return function takeLastOperatorFunction(source) { - if (count === 0) { - return new EmptyObservable(); - } - else { - return source.lift(new TakeLastOperator(count)); - } - }; -} -class TakeLastOperator { - constructor(total) { - this.total = total; - if (this.total < 0) { - throw new ArgumentOutOfRangeError; - } - } - call(subscriber, source) { - return source.subscribe(new TakeLastSubscriber(subscriber, this.total)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class TakeLastSubscriber extends Subscriber { - constructor(destination, total) { - super(destination); - this.total = total; - this.ring = new Array(); - this.count = 0; - } - _next(value) { - const ring = this.ring; - const total = this.total; - const count = this.count++; - if (ring.length < total) { - ring.push(value); - } - else { - const index = count % total; - ring[index] = value; - } - } - _complete() { - const destination = this.destination; - let count = this.count; - if (count > 0) { - const total = this.count >= this.total ? this.total : this.count; - const ring = this.ring; - for (let i = 0; i < total; i++) { - const idx = (count++) % total; - destination.next(ring[idx]); - } - } - destination.complete(); - } -} -//# sourceMappingURL=takeLast.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/takeLast.js.map b/node_modules/rxjs/_esm2015/operators/takeLast.js.map deleted file mode 100644 index 917a7f69..00000000 --- a/node_modules/rxjs/_esm2015/operators/takeLast.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"takeLast.js","sourceRoot":"","sources":["../../src/operators/takeLast.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,uBAAuB,EAAE,MAAM,iCAAiC;OAClE,EAAE,eAAe,EAAE,MAAM,+BAA+B;AAK/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,yBAA4B,KAAa;IACvC,MAAM,CAAC,kCAAkC,MAAqB;QAC5D,EAAE,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC;YAChB,MAAM,CAAC,IAAI,eAAe,EAAK,CAAC;QAClC,CAAC;Q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ACrC,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QAEvB,EAAE,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC;YACd,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;YACjE,MAAM,IAAI,GAAI,IAAI,CAAC,IAAI,CAAC;YAExB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC;gBAC/B,MAAM,GAAG,GAAG,CAAC,KAAK,EAAE,CAAC,GAAG,KAAK,CAAC;gBAC9B,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;YAC9B,CAAC;QACH,CAAC;QAED,WAAW,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/takeUntil.js b/node_modules/rxjs/_esm2015/operators/takeUntil.js deleted file mode 100644 index ea93a4bd..00000000 --- a/node_modules/rxjs/_esm2015/operators/takeUntil.js +++ /dev/null @@ -1,65 +0,0 @@ -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/** - * Emits the values emitted by the source Observable until a `notifier` - * Observable emits a value. - * - * Lets values pass until a second Observable, - * `notifier`, emits something. Then, it completes. - * - * - * - * `takeUntil` subscribes and begins mirroring the source Observable. It also - * monitors a second Observable, `notifier` that you provide. If the `notifier` - * emits a value or a complete notification, the output Observable stops - * mirroring the source Observable and completes. - * - * @example Tick every second until the first click happens - * var interval = Rx.Observable.interval(1000); - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = interval.takeUntil(clicks); - * result.subscribe(x => console.log(x)); - * - * @see {@link take} - * @see {@link takeLast} - * @see {@link takeWhile} - * @see {@link skip} - * - * @param {Observable} notifier The Observable whose first emitted value will - * cause the output Observable of `takeUntil` to stop emitting values from the - * source Observable. - * @return {Observable} An Observable that emits the values from the source - * Observable until such time as `notifier` emits its first value. - * @method takeUntil - * @owner Observable - */ -export function takeUntil(notifier) { - return (source) => source.lift(new TakeUntilOperator(notifier)); -} -class TakeUntilOperator { - constructor(notifier) { - this.notifier = notifier; - } - call(subscriber, source) { - return source.subscribe(new TakeUntilSubscriber(subscriber, this.notifier)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class TakeUntilSubscriber extends OuterSubscriber { - constructor(destination, notifier) { - super(destination); - this.notifier = notifier; - this.add(subscribeToResult(this, notifier)); - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - this.complete(); - } - notifyComplete() { - // noop - } -} -//# sourceMappingURL=takeUntil.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/takeUntil.js.map b/node_modules/rxjs/_esm2015/operators/takeUntil.js.map deleted file mode 100644 index 13ae4bbb..00000000 --- a/node_modules/rxjs/_esm2015/operators/takeUntil.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"takeUntil.js","sourceRoot":"","sources":["../../src/operators/takeUntil.ts"],"names":[],"mappings":"OAKO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAI7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,0BAA6B,QAAyB;IACpD,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC;AACjF,CAAC;AAED;IACE,YAAoB,QAAyB;QAAzB,aAAQ,GAAR,QAAQ,CAAiB;IAC7C,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC9E,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,kCAAwC,eAAe;IAErD,YAAY,WAA4B,EACpB,QAAyB;QAC3C,MAAM,WAAW,CAAC,CAAC;QADD,aAAQ,GAAR,QAAQ,CAAiB;QAE3C,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC;IAC9C,CAAC;IAED,UAAU,CAAC,UAAa,EAAE,UAAa,EAC5B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,IAAI,CAAC,QAAQ,EAAE,CAAC;IAClB,CAAC;IAED,cAAc;QACZ,OAAO;IACT,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/takeWhile.js b/node_modules/rxjs/_esm2015/operators/takeWhile.js deleted file mode 100644 index ee891716..00000000 --- a/node_modules/rxjs/_esm2015/operators/takeWhile.js +++ /dev/null @@ -1,82 +0,0 @@ -import { Subscriber } from '../Subscriber'; -/** - * Emits values emitted by the source Observable so long as each value satisfies - * the given `predicate`, and then completes as soon as this `predicate` is not - * satisfied. - * - * Takes values from the source only while they pass the - * condition given. When the first value does not satisfy, it completes. - * - * - * - * `takeWhile` subscribes and begins mirroring the source Observable. Each value - * emitted on the source is given to the `predicate` function which returns a - * boolean, representing a condition to be satisfied by the source values. The - * output Observable emits the source values until such time as the `predicate` - * returns false, at which point `takeWhile` stops mirroring the source - * Observable and completes the output Observable. - * - * @example Emit click events only while the clientX property is greater than 200 - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.takeWhile(ev => ev.clientX > 200); - * result.subscribe(x => console.log(x)); - * - * @see {@link take} - * @see {@link takeLast} - * @see {@link takeUntil} - * @see {@link skip} - * - * @param {function(value: T, index: number): boolean} predicate A function that - * evaluates a value emitted by the source Observable and returns a boolean. - * Also takes the (zero-based) index as the second argument. - * @return {Observable} An Observable that emits the values from the source - * Observable so long as each value satisfies the condition defined by the - * `predicate`, then completes. - * @method takeWhile - * @owner Observable - */ -export function takeWhile(predicate) { - return (source) => source.lift(new TakeWhileOperator(predicate)); -} -class TakeWhileOperator { - constructor(predicate) { - this.predicate = predicate; - } - call(subscriber, source) { - return source.subscribe(new TakeWhileSubscriber(subscriber, this.predicate)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class TakeWhileSubscriber extends Subscriber { - constructor(destination, predicate) { - super(destination); - this.predicate = predicate; - this.index = 0; - } - _next(value) { - const destination = this.destination; - let result; - try { - result = this.predicate(value, this.index++); - } - catch (err) { - destination.error(err); - return; - } - this.nextOrComplete(value, result); - } - nextOrComplete(value, predicateResult) { - const destination = this.destination; - if (Boolean(predicateResult)) { - destination.next(value); - } - else { - destination.complete(); - } - } -} -//# sourceMappingURL=takeWhile.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/takeWhile.js.map b/node_modules/rxjs/_esm2015/operators/takeWhile.js.map deleted file mode 100644 index 1f6b8649..00000000 --- a/node_modules/rxjs/_esm2015/operators/takeWhile.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"takeWhile.js","sourceRoot":"","sources":["../../src/operators/takeWhile.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;AAI1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,0BAA6B,SAA+C;IAC1E,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,SAAS,CAAC,CAAC,CAAC;AAClF,CAAC;AAED;IACE,YAAoB,SAA+C;QAA/C,cAAS,GAAT,SAAS,CAAsC;IACnE,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;IAC/E,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,kCAAqC,UAAU;IAG7C,YAAY,WAA0B,EAClB,SAA+C;QACjE,MAAM,WAAW,CAAC,CAAC;QADD,cAAS,GAAT,SAAS,CAAsC;QAH3D,UAAK,GAAW,CAAC,CAAC;IAK1B,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,IAAI,MAAe,CAAC;QACpB,IAAI,CAAC;YACH,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;QAC/C,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YACvB,MAAM,CAAC;QACT,CAAC;QACD,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IACrC,CAAC;IAEO,cAAc,CAAC,KAAQ,EAAE,eAAwB;QACvD,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;YAC7B,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC1B,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,WAAW,CAAC,QAAQ,EAAE,CAAC;QACzB,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/tap.js b/node_modules/rxjs/_esm2015/operators/tap.js deleted file mode 100644 index d3fad212..00000000 --- a/node_modules/rxjs/_esm2015/operators/tap.js +++ /dev/null @@ -1,103 +0,0 @@ -import { Subscriber } from '../Subscriber'; -/* tslint:enable:max-line-length */ -/** - * Perform a side effect for every emission on the source Observable, but return - * an Observable that is identical to the source. - * - * Intercepts each emission on the source and runs a - * function, but returns an output which is identical to the source as long as errors don't occur. - * - * - * - * Returns a mirrored Observable of the source Observable, but modified so that - * the provided Observer is called to perform a side effect for every value, - * error, and completion emitted by the source. Any errors that are thrown in - * the aforementioned Observer or handlers are safely sent down the error path - * of the output Observable. - * - * This operator is useful for debugging your Observables for the correct values - * or performing other side effects. - * - * Note: this is different to a `subscribe` on the Observable. If the Observable - * returned by `do` is not subscribed, the side effects specified by the - * Observer will never happen. `do` therefore simply spies on existing - * execution, it does not trigger an execution to happen like `subscribe` does. - * - * @example Map every click to the clientX position of that click, while also logging the click event - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var positions = clicks - * .do(ev => console.log(ev)) - * .map(ev => ev.clientX); - * positions.subscribe(x => console.log(x)); - * - * @see {@link map} - * @see {@link subscribe} - * - * @param {Observer|function} [nextOrObserver] A normal Observer object or a - * callback for `next`. - * @param {function} [error] Callback for errors in the source. - * @param {function} [complete] Callback for the completion of the source. - * @return {Observable} An Observable identical to the source, but runs the - * specified Observer or callback(s) for each item. - * @name tap - */ -export function tap(nextOrObserver, error, complete) { - return function tapOperatorFunction(source) { - return source.lift(new DoOperator(nextOrObserver, error, complete)); - }; -} -class DoOperator { - constructor(nextOrObserver, error, complete) { - this.nextOrObserver = nextOrObserver; - this.error = error; - this.complete = complete; - } - call(subscriber, source) { - return source.subscribe(new DoSubscriber(subscriber, this.nextOrObserver, this.error, this.complete)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class DoSubscriber extends Subscriber { - constructor(destination, nextOrObserver, error, complete) { - super(destination); - const safeSubscriber = new Subscriber(nextOrObserver, error, complete); - safeSubscriber.syncErrorThrowable = true; - this.add(safeSubscriber); - this.safeSubscriber = safeSubscriber; - } - _next(value) { - const { safeSubscriber } = this; - safeSubscriber.next(value); - if (safeSubscriber.syncErrorThrown) { - this.destination.error(safeSubscriber.syncErrorValue); - } - else { - this.destination.next(value); - } - } - _error(err) { - const { safeSubscriber } = this; - safeSubscriber.error(err); - if (safeSubscriber.syncErrorThrown) { - this.destination.error(safeSubscriber.syncErrorValue); - } - else { - this.destination.error(err); - } - } - _complete() { - const { safeSubscriber } = this; - safeSubscriber.complete(); - if (safeSubscriber.syncErrorThrown) { - this.destination.error(safeSubscriber.syncErrorValue); - } - else { - this.destination.complete(); - } - } -} -//# sourceMappingURL=tap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/tap.js.map b/node_modules/rxjs/_esm2015/operators/tap.js.map deleted file mode 100644 index aea84254..00000000 --- a/node_modules/rxjs/_esm2015/operators/tap.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"tap.js","sourceRoot":"","sources":["../../src/operators/tap.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;AAS1C,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,oBAAuB,cAAsD,EACtD,KAAwB,EACxB,QAAqB;IAC1C,MAAM,CAAC,6BAA6B,MAAqB;QACvD,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC,cAAc,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;IACtE,CAAC,CAAC;AACJ,CAAC;AAED;IACE,YAAoB,cAAsD,EACtD,KAAwB,EACxB,QAAqB;QAFrB,mBAAc,GAAd,cAAc,CAAwC;QACtD,UAAK,GAAL,KAAK,CAAmB;QACxB,aAAQ,GAAR,QAAQ,CAAa;IACzC,CAAC;IACD,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,YAAY,CAAC,UAAU,EAAE,IAAI,CAAC,cAAc,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACxG,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,2BAA8B,UAAU;IAItC,YAAY,WAA0B,EAC1B,cAAsD,EAC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AC,cAAc,CAAC,cAAc,CAAC,CAAC;QACxD,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/throttle.js b/node_modules/rxjs/_esm2015/operators/throttle.js deleted file mode 100644 index 6150d7fe..00000000 --- a/node_modules/rxjs/_esm2015/operators/throttle.js +++ /dev/null @@ -1,131 +0,0 @@ -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -export const defaultThrottleConfig = { - leading: true, - trailing: false -}; -/** - * Emits a value from the source Observable, then ignores subsequent source - * values for a duration determined by another Observable, then repeats this - * process. - * - * It's like {@link throttleTime}, but the silencing - * duration is determined by a second Observable. - * - * - * - * `throttle` emits the source Observable values on the output Observable - * when its internal timer is disabled, and ignores source values when the timer - * is enabled. Initially, the timer is disabled. As soon as the first source - * value arrives, it is forwarded to the output Observable, and then the timer - * is enabled by calling the `durationSelector` function with the source value, - * which returns the "duration" Observable. When the duration Observable emits a - * value or completes, the timer is disabled, and this process repeats for the - * next source value. - * - * @example Emit clicks at a rate of at most one click per second - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.throttle(ev => Rx.Observable.interval(1000)); - * result.subscribe(x => console.log(x)); - * - * @see {@link audit} - * @see {@link debounce} - * @see {@link delayWhen} - * @see {@link sample} - * @see {@link throttleTime} - * - * @param {function(value: T): SubscribableOrPromise} durationSelector A function - * that receives a value from the source Observable, for computing the silencing - * duration for each source value, returned as an Observable or a Promise. - * @param {Object} config a configuration object to define `leading` and `trailing` behavior. Defaults - * to `{ leading: true, trailing: false }`. - * @return {Observable} An Observable that performs the throttle operation to - * limit the rate of emissions from the source. - * @method throttle - * @owner Observable - */ -export function throttle(durationSelector, config = defaultThrottleConfig) { - return (source) => source.lift(new ThrottleOperator(durationSelector, config.leading, config.trailing)); -} -class ThrottleOperator { - constructor(durationSelector, leading, trailing) { - this.durationSelector = durationSelector; - this.leading = leading; - this.trailing = trailing; - } - call(subscriber, source) { - return source.subscribe(new ThrottleSubscriber(subscriber, this.durationSelector, this.leading, this.trailing)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc - * @ignore - * @extends {Ignored} - */ -class ThrottleSubscriber extends OuterSubscriber { - constructor(destination, durationSelector, _leading, _trailing) { - super(destination); - this.destination = destination; - this.durationSelector = durationSelector; - this._leading = _leading; - this._trailing = _trailing; - this._hasTrailingValue = false; - } - _next(value) { - if (this.throttled) { - if (this._trailing) { - this._hasTrailingValue = true; - this._trailingValue = value; - } - } - else { - const duration = this.tryDurationSelector(value); - if (duration) { - this.add(this.throttled = subscribeToResult(this, duration)); - } - if (this._leading) { - this.destination.next(value); - if (this._trailing) { - this._hasTrailingValue = true; - this._trailingValue = value; - } - } - } - } - tryDurationSelector(value) { - try { - return this.durationSelector(value); - } - catch (err) { - this.destination.error(err); - return null; - } - } - _unsubscribe() { - const { throttled, _trailingValue, _hasTrailingValue, _trailing } = this; - this._trailingValue = null; - this._hasTrailingValue = false; - if (throttled) { - this.remove(throttled); - this.throttled = null; - throttled.unsubscribe(); - } - } - _sendTrailing() { - const { destination, throttled, _trailing, _trailingValue, _hasTrailingValue } = this; - if (throttled && _trailing && _hasTrailingValue) { - destination.next(_trailingValue); - this._trailingValue = null; - this._hasTrailingValue = false; - } - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - this._sendTrailing(); - this._unsubscribe(); - } - notifyComplete() { - this._sendTrailing(); - this._unsubscribe(); - } -} -//# sourceMappingURL=throttle.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/throttle.js.map b/node_modules/rxjs/_esm2015/operators/throttle.js.map deleted file mode 100644 index 8014acd2..00000000 --- a/node_modules/rxjs/_esm2015/operators/throttle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"throttle.js","sourceRoot":"","sources":["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iBAAiB,GAAG,KAAK,CAAC;QAE/B,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;YACd,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;YACvB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;YACtB,SAAS,CAAC,WAAW,EAAE,CAAC;QAC1B,CAAC;IACH,CAAC;IAEO,aAAa;QACnB,MAAM,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS,EAAE,cAAc,EAAE,iBAAiB,EAAE,GAAG,IAAI,CAAC;QACtF,EAAE,CAAC,CAAC,SAAS,IAAI,SAAS,IAAI,iBAAiB,CAAC,CAAC,CAAC;YAChD,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;YACjC,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;YAC3B,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACjC,CAAC;IACH,CAAC;IAED,UAAU,CAAC,UAAa,EAAE,UAAa,EAC5B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,IAAI,CAAC,aAAa,EAAE,CAAC;QACrB,IAAI,CAAC,YAAY,EAAE,CAAC;IACtB,CAAC;IAED,cAAc;QACZ,IAAI,CAAC,aAAa,EAAE,CAAC;QACrB,IAAI,CAAC,YAAY,EAAE,CAAC;IACtB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/throttleTime.js b/node_modules/rxjs/_esm2015/operators/throttleTime.js deleted file mode 100644 index 67f2f1bf..00000000 --- a/node_modules/rxjs/_esm2015/operators/throttleTime.js +++ /dev/null @@ -1,104 +0,0 @@ -import { Subscriber } from '../Subscriber'; -import { async } from '../scheduler/async'; -import { defaultThrottleConfig } from './throttle'; -/** - * Emits a value from the source Observable, then ignores subsequent source - * values for `duration` milliseconds, then repeats this process. - * - * Lets a value pass, then ignores source values for the - * next `duration` milliseconds. - * - * - * - * `throttleTime` emits the source Observable values on the output Observable - * when its internal timer is disabled, and ignores source values when the timer - * is enabled. Initially, the timer is disabled. As soon as the first source - * value arrives, it is forwarded to the output Observable, and then the timer - * is enabled. After `duration` milliseconds (or the time unit determined - * internally by the optional `scheduler`) has passed, the timer is disabled, - * and this process repeats for the next source value. Optionally takes a - * {@link IScheduler} for managing timers. - * - * @example Emit clicks at a rate of at most one click per second - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.throttleTime(1000); - * result.subscribe(x => console.log(x)); - * - * @see {@link auditTime} - * @see {@link debounceTime} - * @see {@link delay} - * @see {@link sampleTime} - * @see {@link throttle} - * - * @param {number} duration Time to wait before emitting another value after - * emitting the last value, measured in milliseconds or the time unit determined - * internally by the optional `scheduler`. - * @param {Scheduler} [scheduler=async] The {@link IScheduler} to use for - * managing the timers that handle the throttling. - * @return {Observable} An Observable that performs the throttle operation to - * limit the rate of emissions from the source. - * @method throttleTime - * @owner Observable - */ -export function throttleTime(duration, scheduler = async, config = defaultThrottleConfig) { - return (source) => source.lift(new ThrottleTimeOperator(duration, scheduler, config.leading, config.trailing)); -} -class ThrottleTimeOperator { - constructor(duration, scheduler, leading, trailing) { - this.duration = duration; - this.scheduler = scheduler; - this.leading = leading; - this.trailing = trailing; - } - call(subscriber, source) { - return source.subscribe(new ThrottleTimeSubscriber(subscriber, this.duration, this.scheduler, this.leading, this.trailing)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class ThrottleTimeSubscriber extends Subscriber { - constructor(destination, duration, scheduler, leading, trailing) { - super(destination); - this.duration = duration; - this.scheduler = scheduler; - this.leading = leading; - this.trailing = trailing; - this._hasTrailingValue = false; - this._trailingValue = null; - } - _next(value) { - if (this.throttled) { - if (this.trailing) { - this._trailingValue = value; - this._hasTrailingValue = true; - } - } - else { - this.add(this.throttled = this.scheduler.schedule(dispatchNext, this.duration, { subscriber: this })); - if (this.leading) { - this.destination.next(value); - } - } - } - clearThrottle() { - const throttled = this.throttled; - if (throttled) { - if (this.trailing && this._hasTrailingValue) { - this.destination.next(this._trailingValue); - this._trailingValue = null; - this._hasTrailingValue = false; - } - throttled.unsubscribe(); - this.remove(throttled); - this.throttled = null; - } - } -} -function dispatchNext(arg) { - const { subscriber } = arg; - subscriber.clearThrottle(); -} -//# sourceMappingURL=throttleTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/throttleTime.js.map b/node_modules/rxjs/_esm2015/operators/throttleTime.js.map deleted file mode 100644 index ae54cc19..00000000 --- a/node_modules/rxjs/_esm2015/operators/throttleTime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"throttleTime.js","sourceRoot":"","sources":["../../src/operators/throttleTime.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;OAGnC,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAEnC,EAAkB,qBAAqB,EAAE,MAAM,YAAY;AAGlE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,6BAAgC,QAAgB,EAChB,SAAS,GAAe,KAAK,EAC7B,MAAM,GAAmB,qBAAqB;IAC5E,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,oBAAoB,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;AAChI,CAAC;AAED;IACE,YAAoB,QAAgB,EAChB,SAAqB,EACrB,OAAgB,EAChB,QAAiB;QAHjB,aAAQ,GAAR,QAAQ,CAAQ;QAChB,cAAS,GAAT,SAAS,CAAY;QACrB,YAAO,GAAP,OAAO,CAAS;QAChB,aAAQ,GAAR,QAAQ,CAAS;IACrC,CAAC;IAED,IAAI,CAAC,UAAyB,EAAE,MAAW;QACzC,MAAM,CAAC,MAAM,CAAC,SAAS,CACrB,IAAI,sBAAsB,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE,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;gBAC5C,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;gBAC3C,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;gBAC3B,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;YACjC,CAAC;YACD,SAAS,CAAC,WAAW,EAAE,CAAC;YACxB,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;YACvB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACxB,CAAC;IACH,CAAC;AACH,CAAC;AAMD,sBAAyB,GAAmB;IAC1C,MAAM,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC;IAC3B,UAAU,CAAC,aAAa,EAAE,CAAC;AAC7B,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/timeInterval.js b/node_modules/rxjs/_esm2015/operators/timeInterval.js deleted file mode 100644 index c9e5c972..00000000 --- a/node_modules/rxjs/_esm2015/operators/timeInterval.js +++ /dev/null @@ -1,40 +0,0 @@ -import { Subscriber } from '../Subscriber'; -import { async } from '../scheduler/async'; -export function timeInterval(scheduler = async) { - return (source) => source.lift(new TimeIntervalOperator(scheduler)); -} -export class TimeInterval { - constructor(value, interval) { - this.value = value; - this.interval = interval; - } -} -; -class TimeIntervalOperator { - constructor(scheduler) { - this.scheduler = scheduler; - } - call(observer, source) { - return source.subscribe(new TimeIntervalSubscriber(observer, this.scheduler)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class TimeIntervalSubscriber extends Subscriber { - constructor(destination, scheduler) { - super(destination); - this.scheduler = scheduler; - this.lastTime = 0; - this.lastTime = scheduler.now(); - } - _next(value) { - let now = this.scheduler.now(); - let span = now - this.lastTime; - this.lastTime = now; - this.destination.next(new TimeInterval(value, span)); - } -} -//# sourceMappingURL=timeInterval.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/timeInterval.js.map b/node_modules/rxjs/_esm2015/operators/timeInterval.js.map deleted file mode 100644 index bd5bf443..00000000 --- a/node_modules/rxjs/_esm2015/operators/timeInterval.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"timeInterval.js","sourceRoot":"","sources":["../../src/operators/timeInterval.ts"],"names":[],"mappings":"OAEO,EAAE,UAAU,EAAE,MAAM,eAAe;OAEnC,EAAE,KAAK,EAAE,MAAM,oBAAoB;AAG1C,6BAAgC,SAAS,GAAe,KAAK;IAC3D,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,oBAAoB,CAAC,SAAS,CAAC,CAAC,CAAC;AACrF,CAAC;AAED;IACE,YAAmB,KAAQ,EAAS,QAAgB;QAAjC,UAAK,GAAL,KAAK,CAAG;QAAS,aAAQ,GAAR,QAAQ,CAAQ;IAEpD,CAAC;AACH,CAAC;AAAA,CAAC;AAEF;IACE,YAAoB,SAAqB;QAArB,cAAS,GAAT,SAAS,CAAY;IAEzC,CAAC;IAED,IAAI,CAAC,QAAqC,EAAE,MAAW;QACrD,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,sBAAsB,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;IAChF,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,qCAAwC,UAAU;IAGhD,YAAY,WAAwC,EAAU,SAAqB;QACjF,MAAM,WAAW,CAAC,CAAC;QADyC,cAAS,GAAT,SAAS,CAAY;QAF3E,aAAQ,GAAW,CAAC,CAAC;QAK3B,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC,GAAG,EAAE,CAAC;IAClC,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,IAAI,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC;QAC/B,IAAI,IAAI,GAAG,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC;QAEpB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/timeout.js b/node_modules/rxjs/_esm2015/operators/timeout.js deleted file mode 100644 index 98892b7e..00000000 --- a/node_modules/rxjs/_esm2015/operators/timeout.js +++ /dev/null @@ -1,130 +0,0 @@ -import { async } from '../scheduler/async'; -import { isDate } from '../util/isDate'; -import { Subscriber } from '../Subscriber'; -import { TimeoutError } from '../util/TimeoutError'; -/** - * - * Errors if Observable does not emit a value in given time span. - * - * Timeouts on Observable that doesn't emit values fast enough. - * - * - * - * `timeout` operator accepts as an argument either a number or a Date. - * - * If number was provided, it returns an Observable that behaves like a source - * Observable, unless there is a period of time where there is no value emitted. - * So if you provide `100` as argument and first value comes after 50ms from - * the moment of subscription, this value will be simply re-emitted by the resulting - * Observable. If however after that 100ms passes without a second value being emitted, - * stream will end with an error and source Observable will be unsubscribed. - * These checks are performed throughout whole lifecycle of Observable - from the moment - * it was subscribed to, until it completes or errors itself. Thus every value must be - * emitted within specified period since previous value. - * - * If provided argument was Date, returned Observable behaves differently. It throws - * if Observable did not complete before provided Date. This means that periods between - * emission of particular values do not matter in this case. If Observable did not complete - * before provided Date, source Observable will be unsubscribed. Other than that, resulting - * stream behaves just as source Observable. - * - * `timeout` accepts also a Scheduler as a second parameter. It is used to schedule moment (or moments) - * when returned Observable will check if source stream emitted value or completed. - * - * @example Check if ticks are emitted within certain timespan - * const seconds = Rx.Observable.interval(1000); - * - * seconds.timeout(1100) // Let's use bigger timespan to be safe, - * // since `interval` might fire a bit later then scheduled. - * .subscribe( - * value => console.log(value), // Will emit numbers just as regular `interval` would. - * err => console.log(err) // Will never be called. - * ); - * - * seconds.timeout(900).subscribe( - * value => console.log(value), // Will never be called. - * err => console.log(err) // Will emit error before even first value is emitted, - * // since it did not arrive within 900ms period. - * ); - * - * @example Use Date to check if Observable completed - * const seconds = Rx.Observable.interval(1000); - * - * seconds.timeout(new Date("December 17, 2020 03:24:00")) - * .subscribe( - * value => console.log(value), // Will emit values as regular `interval` would - * // until December 17, 2020 at 03:24:00. - * err => console.log(err) // On December 17, 2020 at 03:24:00 it will emit an error, - * // since Observable did not complete by then. - * ); - * - * @see {@link timeoutWith} - * - * @param {number|Date} due Number specifying period within which Observable must emit values - * or Date specifying before when Observable should complete - * @param {Scheduler} [scheduler] Scheduler controlling when timeout checks occur. - * @return {Observable} Observable that mirrors behaviour of source, unless timeout checks fail. - * @method timeout - * @owner Observable - */ -export function timeout(due, scheduler = async) { - const absoluteTimeout = isDate(due); - const waitFor = absoluteTimeout ? (+due - scheduler.now()) : Math.abs(due); - return (source) => source.lift(new TimeoutOperator(waitFor, absoluteTimeout, scheduler, new TimeoutError())); -} -class TimeoutOperator { - constructor(waitFor, absoluteTimeout, scheduler, errorInstance) { - this.waitFor = waitFor; - this.absoluteTimeout = absoluteTimeout; - this.scheduler = scheduler; - this.errorInstance = errorInstance; - } - call(subscriber, source) { - return source.subscribe(new TimeoutSubscriber(subscriber, this.absoluteTimeout, this.waitFor, this.scheduler, this.errorInstance)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class TimeoutSubscriber extends Subscriber { - constructor(destination, absoluteTimeout, waitFor, scheduler, errorInstance) { - super(destination); - this.absoluteTimeout = absoluteTimeout; - this.waitFor = waitFor; - this.scheduler = scheduler; - this.errorInstance = errorInstance; - this.action = null; - this.scheduleTimeout(); - } - static dispatchTimeout(subscriber) { - subscriber.error(subscriber.errorInstance); - } - scheduleTimeout() { - const { action } = this; - if (action) { - // Recycle the action if we've already scheduled one. All the production - // Scheduler Actions mutate their state/delay time and return themeselves. - // VirtualActions are immutable, so they create and return a clone. In this - // case, we need to set the action reference to the most recent VirtualAction, - // to ensure that's the one we clone from next time. - this.action = action.schedule(this, this.waitFor); - } - else { - this.add(this.action = this.scheduler.schedule(TimeoutSubscriber.dispatchTimeout, this.waitFor, this)); - } - } - _next(value) { - if (!this.absoluteTimeout) { - this.scheduleTimeout(); - } - super._next(value); - } - _unsubscribe() { - this.action = null; - this.scheduler = null; - this.errorInstance = null; - } -} -//# sourceMappingURL=timeout.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/timeout.js.map b/node_modules/rxjs/_esm2015/operators/timeout.js.map deleted file mode 100644 index bd2d414e..00000000 --- a/node_modules/rxjs/_esm2015/operators/timeout.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"timeout.js","sourceRoot":"","sources":["../../src/operators/timeout.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OACnC,EAAE,MAAM,EAAE,MAAM,gBAAgB;OAEhC,EAAE,UAAU,EAAE,MAAM,eAAe;OAInC,EAAE,YAAY,EAAE,MAAM,sBAAsB;AAGnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,wBAA2B,GAAkB,EAClB,SAAS,GAAe,KAAK;IACtD,MAAM,eAAe,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;IACpC,MAAM,OAAO,GAAG,eAAe,GAAG,CAAC,CAAC,GAAG,GAAG,SAAS,CAAC,GAAG,EAAE,CAAC,GAAG,IAAI,CAAC,GAAG,CAAS,GAAG,CAAC,CAAC;IACnF,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,eAAe,CAAC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,IAAI,YAAY,EAAE,CAAC,CAAC,CAAC;AAC9H,CAAC;AAED;IACE,YAAoB,OAAe,EACf,eAAwB,EACxB,SAAqB,EACrB,aAA2B;QAH3B,YAAO,GAAP,OAAO,CAAQ;QACf,oBAAe,GAAf,eAAe,CAAS;QACxB,cAAS,GAAT,SAAS,CAAY;QACrB,kBAAa,GAAb,aAAa,CAAc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tB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;YAC1B,IAAI,CAAC,eAAe,EAAE,CAAC;QACzB,CAAC;QACD,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;IAES,YAAY;QACpB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;IAC5B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/timeoutWith.js b/node_modules/rxjs/_esm2015/operators/timeoutWith.js deleted file mode 100644 index 9aa462ee..00000000 --- a/node_modules/rxjs/_esm2015/operators/timeoutWith.js +++ /dev/null @@ -1,117 +0,0 @@ -import { async } from '../scheduler/async'; -import { isDate } from '../util/isDate'; -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/* tslint:enable:max-line-length */ -/** - * - * Errors if Observable does not emit a value in given time span, in case of which - * subscribes to the second Observable. - * - * It's a version of `timeout` operator that let's you specify fallback Observable. - * - * - * - * `timeoutWith` is a variation of `timeout` operator. It behaves exactly the same, - * still accepting as a first argument either a number or a Date, which control - respectively - - * when values of source Observable should be emitted or when it should complete. - * - * The only difference is that it accepts a second, required parameter. This parameter - * should be an Observable which will be subscribed when source Observable fails any timeout check. - * So whenever regular `timeout` would emit an error, `timeoutWith` will instead start re-emitting - * values from second Observable. Note that this fallback Observable is not checked for timeouts - * itself, so it can emit values and complete at arbitrary points in time. From the moment of a second - * subscription, Observable returned from `timeoutWith` simply mirrors fallback stream. When that - * stream completes, it completes as well. - * - * Scheduler, which in case of `timeout` is provided as as second argument, can be still provided - * here - as a third, optional parameter. It still is used to schedule timeout checks and - - * as a consequence - when second Observable will be subscribed, since subscription happens - * immediately after failing check. - * - * @example Add fallback observable - * const seconds = Rx.Observable.interval(1000); - * const minutes = Rx.Observable.interval(60 * 1000); - * - * seconds.timeoutWith(900, minutes) - * .subscribe( - * value => console.log(value), // After 900ms, will start emitting `minutes`, - * // since first value of `seconds` will not arrive fast enough. - * err => console.log(err) // Would be called after 900ms in case of `timeout`, - * // but here will never be called. - * ); - * - * @param {number|Date} due Number specifying period within which Observable must emit values - * or Date specifying before when Observable should complete - * @param {Observable} withObservable Observable which will be subscribed if source fails timeout check. - * @param {Scheduler} [scheduler] Scheduler controlling when timeout checks occur. - * @return {Observable} Observable that mirrors behaviour of source or, when timeout check fails, of an Observable - * passed as a second parameter. - * @method timeoutWith - * @owner Observable - */ -export function timeoutWith(due, withObservable, scheduler = async) { - return (source) => { - let absoluteTimeout = isDate(due); - let waitFor = absoluteTimeout ? (+due - scheduler.now()) : Math.abs(due); - return source.lift(new TimeoutWithOperator(waitFor, absoluteTimeout, withObservable, scheduler)); - }; -} -class TimeoutWithOperator { - constructor(waitFor, absoluteTimeout, withObservable, scheduler) { - this.waitFor = waitFor; - this.absoluteTimeout = absoluteTimeout; - this.withObservable = withObservable; - this.scheduler = scheduler; - } - call(subscriber, source) { - return source.subscribe(new TimeoutWithSubscriber(subscriber, this.absoluteTimeout, this.waitFor, this.withObservable, this.scheduler)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class TimeoutWithSubscriber extends OuterSubscriber { - constructor(destination, absoluteTimeout, waitFor, withObservable, scheduler) { - super(destination); - this.absoluteTimeout = absoluteTimeout; - this.waitFor = waitFor; - this.withObservable = withObservable; - this.scheduler = scheduler; - this.action = null; - this.scheduleTimeout(); - } - static dispatchTimeout(subscriber) { - const { withObservable } = subscriber; - subscriber._unsubscribeAndRecycle(); - subscriber.add(subscribeToResult(subscriber, withObservable)); - } - scheduleTimeout() { - const { action } = this; - if (action) { - // Recycle the action if we've already scheduled one. All the production - // Scheduler Actions mutate their state/delay time and return themeselves. - // VirtualActions are immutable, so they create and return a clone. In this - // case, we need to set the action reference to the most recent VirtualAction, - // to ensure that's the one we clone from next time. - this.action = action.schedule(this, this.waitFor); - } - else { - this.add(this.action = this.scheduler.schedule(TimeoutWithSubscriber.dispatchTimeout, this.waitFor, this)); - } - } - _next(value) { - if (!this.absoluteTimeout) { - this.scheduleTimeout(); - } - super._next(value); - } - _unsubscribe() { - this.action = null; - this.scheduler = null; - this.withObservable = null; - } -} -//# sourceMappingURL=timeoutWith.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/timeoutWith.js.map b/node_modules/rxjs/_esm2015/operators/timeoutWith.js.map deleted file mode 100644 index a130aaa0..00000000 --- a/node_modules/rxjs/_esm2015/operators/timeoutWith.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"timeoutWith.js","sourceRoot":"","sources":["../../src/operators/timeoutWith.ts"],"names":[],"mappings":"OAIO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAGnC,EAAE,MAAM,EAAE,MAAM,gBAAgB;OAChC,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAC7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAM7D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,4BAAkC,GAAkB,EAClB,cAAkC,EAClC,SAAS,GAAe,KAAK;IAC7D,MAAM,CAAC,CAAC,MAAqB;QAC3B,IAAI,eAAe,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;QAClC,IAAI,OAAO,GAAG,eAAe,GAAG,CAAC,CAAC,GAAG,GAAG,SAAS,CAAC,GAAG,EAAE,CAAC,GAAG,IAAI,CAAC,GAAG,CAAS,GAAG,CAAC,CAAC;QACjF,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,mBAAmB,CAAC,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,SAAS,CAAC,CAAC,CAAC;IACnG,CAAC,CAAC;AACJ,CAAC;AAED;IACE,YAAoB,OAAe,EACf,eAAwB,EACxB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C;QAC5F,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,GAA0C,IAAI,CAAC,SAAS,CAAC,QAAQ,CACnF,qBAAqB,CAAC,eAAe,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CACzD,CAAC,CAAC;QACN,CAAC;IACH,CAAC;IAES,KAAK,CAAC,KAAQ;QACtB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;YAC1B,IAAI,CAAC,eAAe,EAAE,CAAC;QACzB,CAAC;QACD,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;IAES,YAAY;QACpB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;IAC7B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/timestamp.js b/node_modules/rxjs/_esm2015/operators/timestamp.js deleted file mode 100644 index fe36bbaf..00000000 --- a/node_modules/rxjs/_esm2015/operators/timestamp.js +++ /dev/null @@ -1,20 +0,0 @@ -import { async } from '../scheduler/async'; -import { map } from './map'; -/** - * @param scheduler - * @return {Observable>|WebSocketSubject|Observable} - * @method timestamp - * @owner Observable - */ -export function timestamp(scheduler = async) { - return map((value) => new Timestamp(value, scheduler.now())); - // return (source: Observable) => source.lift(new TimestampOperator(scheduler)); -} -export class Timestamp { - constructor(value, timestamp) { - this.value = value; - this.timestamp = timestamp; - } -} -; -//# sourceMappingURL=timestamp.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/timestamp.js.map b/node_modules/rxjs/_esm2015/operators/timestamp.js.map deleted file mode 100644 index 3aa79445..00000000 --- a/node_modules/rxjs/_esm2015/operators/timestamp.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"timestamp.js","sourceRoot":"","sources":["../../src/operators/timestamp.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,MAAM,oBAAoB;OAEnC,EAAE,GAAG,EAAE,MAAM,OAAO;AAE3B;;;;;GAKG;AACH,0BAA6B,SAAS,GAAe,KAAK;IACxD,MAAM,CAAC,GAAG,CAAC,CAAC,KAAQ,KAAK,IAAI,SAAS,CAAC,KAAK,EAAE,SAAS,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IAChE,mFAAmF;AACrF,CAAC;AAED;IACE,YAAmB,KAAQ,EAAS,SAAiB;QAAlC,UAAK,GAAL,KAAK,CAAG;QAAS,cAAS,GAAT,SAAS,CAAQ;IACrD,CAAC;AACH,CAAC;AAAA,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/toArray.js b/node_modules/rxjs/_esm2015/operators/toArray.js deleted file mode 100644 index 98effe76..00000000 --- a/node_modules/rxjs/_esm2015/operators/toArray.js +++ /dev/null @@ -1,12 +0,0 @@ -import { reduce } from './reduce'; -function toArrayReducer(arr, item, index) { - if (index === 0) { - return [item]; - } - arr.push(item); - return arr; -} -export function toArray() { - return reduce(toArrayReducer, []); -} -//# sourceMappingURL=toArray.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/toArray.js.map b/node_modules/rxjs/_esm2015/operators/toArray.js.map deleted file mode 100644 index 692afd0b..00000000 --- a/node_modules/rxjs/_esm2015/operators/toArray.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"toArray.js","sourceRoot":"","sources":["../../src/operators/toArray.ts"],"names":[],"mappings":"OAAO,EAAE,MAAM,EAAE,MAAM,UAAU;AAGjC,wBAA2B,GAAQ,EAAE,IAAO,EAAE,KAAa;IACzD,EAAE,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC;QAChB,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;IAChB,CAAC;IACD,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACf,MAAM,CAAC,GAAG,CAAC;AACb,CAAC;AAED;IACE,MAAM,CAAC,MAAM,CAAC,cAAc,EAAE,EAAE,CAA6B,CAAC;AAChE,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/window.js b/node_modules/rxjs/_esm2015/operators/window.js deleted file mode 100644 index f9260c97..00000000 --- a/node_modules/rxjs/_esm2015/operators/window.js +++ /dev/null @@ -1,102 +0,0 @@ -import { Subject } from '../Subject'; -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/** - * Branch out the source Observable values as a nested Observable whenever - * `windowBoundaries` emits. - * - * It's like {@link buffer}, but emits a nested Observable - * instead of an array. - * - * - * - * Returns an Observable that emits windows of items it collects from the source - * Observable. The output Observable emits connected, non-overlapping - * windows. It emits the current window and opens a new one whenever the - * Observable `windowBoundaries` emits an item. Because each window is an - * Observable, the output is a higher-order Observable. - * - * @example In every window of 1 second each, emit at most 2 click events - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var interval = Rx.Observable.interval(1000); - * var result = clicks.window(interval) - * .map(win => win.take(2)) // each window has at most 2 emissions - * .mergeAll(); // flatten the Observable-of-Observables - * result.subscribe(x => console.log(x)); - * - * @see {@link windowCount} - * @see {@link windowTime} - * @see {@link windowToggle} - * @see {@link windowWhen} - * @see {@link buffer} - * - * @param {Observable} windowBoundaries An Observable that completes the - * previous window and starts a new window. - * @return {Observable>} An Observable of windows, which are - * Observables emitting values of the source Observable. - * @method window - * @owner Observable - */ -export function window(windowBoundaries) { - return function windowOperatorFunction(source) { - return source.lift(new WindowOperator(windowBoundaries)); - }; -} -class WindowOperator { - constructor(windowBoundaries) { - this.windowBoundaries = windowBoundaries; - } - call(subscriber, source) { - const windowSubscriber = new WindowSubscriber(subscriber); - const sourceSubscription = source.subscribe(windowSubscriber); - if (!sourceSubscription.closed) { - windowSubscriber.add(subscribeToResult(windowSubscriber, this.windowBoundaries)); - } - return sourceSubscription; - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class WindowSubscriber extends OuterSubscriber { - constructor(destination) { - super(destination); - this.window = new Subject(); - destination.next(this.window); - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - this.openWindow(); - } - notifyError(error, innerSub) { - this._error(error); - } - notifyComplete(innerSub) { - this._complete(); - } - _next(value) { - this.window.next(value); - } - _error(err) { - this.window.error(err); - this.destination.error(err); - } - _complete() { - this.window.complete(); - this.destination.complete(); - } - _unsubscribe() { - this.window = null; - } - openWindow() { - const prevWindow = this.window; - if (prevWindow) { - prevWindow.complete(); - } - const destination = this.destination; - const newWindow = this.window = new Subject(); - destination.next(newWindow); - } -} -//# sourceMappingURL=window.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/window.js.map b/node_modules/rxjs/_esm2015/operators/window.js.map deleted file mode 100644 index 90e38d0e..00000000 --- a/node_modules/rxjs/_esm2015/operators/window.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"window.js","sourceRoot":"","sources":["../../src/operators/window.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,MAAM,YAAY;OAE7B,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAG7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,uBAA0B,gBAAiC;IACzD,MAAM,CAAC,gCAAgC,MAAqB;QAC1D,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,cAAc,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAC3D,CAAC,CAAC;AACJ,CAAC;AAED;IAEE,YAAoB,gBAAiC;QAAjC,qBAAgB,GAAhB,gBAAgB,CAAiB;IACrD,CAAC;IAED,IAAI,CAAC,UAAqC,EAAE,MAAW;QACrD,MAAM,gBAAgB,GAAG,IAAI,gBAAgB,CAAC,UAAU,CAAC,CAAC;QAC1D,MA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CAAC;IAEO,UAAU;QAChB,MAAM,UAAU,GAAG,IAAI,CAAC,MAAM,CAAC;QAC/B,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;YACf,UAAU,CAAC,QAAQ,EAAE,CAAC;QACxB,CAAC;QACD,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,GAAG,IAAI,OAAO,EAAK,CAAC;QACjD,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAC9B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/windowCount.js b/node_modules/rxjs/_esm2015/operators/windowCount.js deleted file mode 100644 index d89e0da1..00000000 --- a/node_modules/rxjs/_esm2015/operators/windowCount.js +++ /dev/null @@ -1,122 +0,0 @@ -import { Subscriber } from '../Subscriber'; -import { Subject } from '../Subject'; -/** - * Branch out the source Observable values as a nested Observable with each - * nested Observable emitting at most `windowSize` values. - * - * It's like {@link bufferCount}, but emits a nested - * Observable instead of an array. - * - * - * - * Returns an Observable that emits windows of items it collects from the source - * Observable. The output Observable emits windows every `startWindowEvery` - * items, each containing no more than `windowSize` items. When the source - * Observable completes or encounters an error, the output Observable emits - * the current window and propagates the notification from the source - * Observable. If `startWindowEvery` is not provided, then new windows are - * started immediately at the start of the source and when each window completes - * with size `windowSize`. - * - * @example Ignore every 3rd click event, starting from the first one - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.windowCount(3) - * .map(win => win.skip(1)) // skip first of every 3 clicks - * .mergeAll(); // flatten the Observable-of-Observables - * result.subscribe(x => console.log(x)); - * - * @example Ignore every 3rd click event, starting from the third one - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks.windowCount(2, 3) - * .mergeAll(); // flatten the Observable-of-Observables - * result.subscribe(x => console.log(x)); - * - * @see {@link window} - * @see {@link windowTime} - * @see {@link windowToggle} - * @see {@link windowWhen} - * @see {@link bufferCount} - * - * @param {number} windowSize The maximum number of values emitted by each - * window. - * @param {number} [startWindowEvery] Interval at which to start a new window. - * For example if `startWindowEvery` is `2`, then a new window will be started - * on every other value from the source. A new window is started at the - * beginning of the source by default. - * @return {Observable>} An Observable of windows, which in turn - * are Observable of values. - * @method windowCount - * @owner Observable - */ -export function windowCount(windowSize, startWindowEvery = 0) { - return function windowCountOperatorFunction(source) { - return source.lift(new WindowCountOperator(windowSize, startWindowEvery)); - }; -} -class WindowCountOperator { - constructor(windowSize, startWindowEvery) { - this.windowSize = windowSize; - this.startWindowEvery = startWindowEvery; - } - call(subscriber, source) { - return source.subscribe(new WindowCountSubscriber(subscriber, this.windowSize, this.startWindowEvery)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class WindowCountSubscriber extends Subscriber { - constructor(destination, windowSize, startWindowEvery) { - super(destination); - this.destination = destination; - this.windowSize = windowSize; - this.startWindowEvery = startWindowEvery; - this.windows = [new Subject()]; - this.count = 0; - destination.next(this.windows[0]); - } - _next(value) { - const startWindowEvery = (this.startWindowEvery > 0) ? this.startWindowEvery : this.windowSize; - const destination = this.destination; - const windowSize = this.windowSize; - const windows = this.windows; - const len = windows.length; - for (let i = 0; i < len && !this.closed; i++) { - windows[i].next(value); - } - const c = this.count - windowSize + 1; - if (c >= 0 && c % startWindowEvery === 0 && !this.closed) { - windows.shift().complete(); - } - if (++this.count % startWindowEvery === 0 && !this.closed) { - const window = new Subject(); - windows.push(window); - destination.next(window); - } - } - _error(err) { - const windows = this.windows; - if (windows) { - while (windows.length > 0 && !this.closed) { - windows.shift().error(err); - } - } - this.destination.error(err); - } - _complete() { - const windows = this.windows; - if (windows) { - while (windows.length > 0 && !this.closed) { - windows.shift().complete(); - } - } - this.destination.complete(); - } - _unsubscribe() { - this.count = 0; - this.windows = null; - } -} -//# sourceMappingURL=windowCount.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/windowCount.js.map b/node_modules/rxjs/_esm2015/operators/windowCount.js.map deleted file mode 100644 index e797558f..00000000 --- a/node_modules/rxjs/_esm2015/operators/windowCount.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"windowCount.js","sourceRoot":"","sources":["../../src/operators/windowCount.ts"],"names":[],"mappings":"OACO,EAAE,UAAU,EAAE,MAAM,eAAe;OAEnC,EAAE,OAAO,EAAE,MAAM,YAAY;AAGpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,4BAA+B,UAAkB,EAClB,gBAAgB,GAAW,CAAC;IACzD,MAAM,CAAC,qCAAqC,MAAqB;QAC/D,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,mBAAmB,CAAI,UAAU,EAAE,gBAAgB,CAAC,CAAC,CAAC;IAC/E,CAAC,CAAC;AACJ,CAAC;AAED;IAEE,YAAoB,UAAkB,EAClB,gBAAwB;QADxB,eAAU,GAAV,UAAU,CAAQ;QAClB,qBAAgB,GAAhB,gBAAgB,CAAQ;IAC5C,CAAC;IAED,IAAI,CAAC,UAAqC,EAAE,MAAW;QACrD,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,qBAAqB,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;IACzG,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,oCAAuC,UAAU;IAI/C,YAAsB,WAAsC,EACxC,UAAkB,EAClB,gBAAwB;QAC1C,MAAM,WAAW,CAAC,CAAC;QAHC,gBAAW,GAAX,WAAW,CAA2B;QACxC,eAAU,GAAV,UAAU,CAAQ;QAClB,qBAAgB,GAAhB,gBAAgB,CAAQ;QALpC,YAAO,GAAiB,CAAE,IAAI,OAAO,EAAK,CAAE,CAAC;QAC7C,UAAK,GAAW,CAAC,CAAC;QAMxB,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAA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AAC,OAAO,CAAC,CAAC,CAAC;YACZ,OAAO,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;gBAC1C,OAAO,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC7B,CAAC;QACH,CAAC;QACD,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAES,SAAS;QACjB,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC7B,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACZ,OAAO,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;gBAC1C,OAAO,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC;YAC7B,CAAC;QACH,CAAC;QACD,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;IAES,YAAY;QACpB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;QACf,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;IACtB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/windowTime.js b/node_modules/rxjs/_esm2015/operators/windowTime.js deleted file mode 100644 index 50eedef7..00000000 --- a/node_modules/rxjs/_esm2015/operators/windowTime.js +++ /dev/null @@ -1,147 +0,0 @@ -import { Subject } from '../Subject'; -import { async } from '../scheduler/async'; -import { Subscriber } from '../Subscriber'; -import { isNumeric } from '../util/isNumeric'; -import { isScheduler } from '../util/isScheduler'; -export function windowTime(windowTimeSpan) { - let scheduler = async; - let windowCreationInterval = null; - let maxWindowSize = Number.POSITIVE_INFINITY; - if (isScheduler(arguments[3])) { - scheduler = arguments[3]; - } - if (isScheduler(arguments[2])) { - scheduler = arguments[2]; - } - else if (isNumeric(arguments[2])) { - maxWindowSize = arguments[2]; - } - if (isScheduler(arguments[1])) { - scheduler = arguments[1]; - } - else if (isNumeric(arguments[1])) { - windowCreationInterval = arguments[1]; - } - return function windowTimeOperatorFunction(source) { - return source.lift(new WindowTimeOperator(windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler)); - }; -} -class WindowTimeOperator { - constructor(windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler) { - this.windowTimeSpan = windowTimeSpan; - this.windowCreationInterval = windowCreationInterval; - this.maxWindowSize = maxWindowSize; - this.scheduler = scheduler; - } - call(subscriber, source) { - return source.subscribe(new WindowTimeSubscriber(subscriber, this.windowTimeSpan, this.windowCreationInterval, this.maxWindowSize, this.scheduler)); - } -} -class CountedSubject extends Subject { - constructor() { - super(...arguments); - this._numberOfNextedValues = 0; - } - next(value) { - this._numberOfNextedValues++; - super.next(value); - } - get numberOfNextedValues() { - return this._numberOfNextedValues; - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class WindowTimeSubscriber extends Subscriber { - constructor(destination, windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler) { - super(destination); - this.destination = destination; - this.windowTimeSpan = windowTimeSpan; - this.windowCreationInterval = windowCreationInterval; - this.maxWindowSize = maxWindowSize; - this.scheduler = scheduler; - this.windows = []; - const window = this.openWindow(); - if (windowCreationInterval !== null && windowCreationInterval >= 0) { - const closeState = { subscriber: this, window, context: null }; - const creationState = { windowTimeSpan, windowCreationInterval, subscriber: this, scheduler }; - this.add(scheduler.schedule(dispatchWindowClose, windowTimeSpan, closeState)); - this.add(scheduler.schedule(dispatchWindowCreation, windowCreationInterval, creationState)); - } - else { - const timeSpanOnlyState = { subscriber: this, window, windowTimeSpan }; - this.add(scheduler.schedule(dispatchWindowTimeSpanOnly, windowTimeSpan, timeSpanOnlyState)); - } - } - _next(value) { - const windows = this.windows; - const len = windows.length; - for (let i = 0; i < len; i++) { - const window = windows[i]; - if (!window.closed) { - window.next(value); - if (window.numberOfNextedValues >= this.maxWindowSize) { - this.closeWindow(window); - } - } - } - } - _error(err) { - const windows = this.windows; - while (windows.length > 0) { - windows.shift().error(err); - } - this.destination.error(err); - } - _complete() { - const windows = this.windows; - while (windows.length > 0) { - const window = windows.shift(); - if (!window.closed) { - window.complete(); - } - } - this.destination.complete(); - } - openWindow() { - const window = new CountedSubject(); - this.windows.push(window); - const destination = this.destination; - destination.next(window); - return window; - } - closeWindow(window) { - window.complete(); - const windows = this.windows; - windows.splice(windows.indexOf(window), 1); - } -} -function dispatchWindowTimeSpanOnly(state) { - const { subscriber, windowTimeSpan, window } = state; - if (window) { - subscriber.closeWindow(window); - } - state.window = subscriber.openWindow(); - this.schedule(state, windowTimeSpan); -} -function dispatchWindowCreation(state) { - const { windowTimeSpan, subscriber, scheduler, windowCreationInterval } = state; - const window = subscriber.openWindow(); - const action = this; - let context = { action, subscription: null }; - const timeSpanState = { subscriber, window, context }; - context.subscription = scheduler.schedule(dispatchWindowClose, windowTimeSpan, timeSpanState); - action.add(context.subscription); - action.schedule(state, windowCreationInterval); -} -function dispatchWindowClose(state) { - const { subscriber, window, context } = state; - if (context && context.action && context.subscription) { - context.action.remove(context.subscription); - } - subscriber.closeWindow(window); -} -//# sourceMappingURL=windowTime.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/windowTime.js.map b/node_modules/rxjs/_esm2015/operators/windowTime.js.map deleted file mode 100644 index ecb7df05..00000000 --- a/node_modules/rxjs/_esm2015/operators/windowTime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"windowTime.js","sourceRoot":"","sources":["../../src/operators/windowTime.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,MAAM,YAAY;OAE7B,EAAE,KAAK,EAAE,MAAM,oBAAoB;OACnC,EAAE,UAAU,EAAE,MAAM,eAAe;OAGnC,EAAE,SAAS,EAAE,MAAM,mBAAmB;OACtC,EAAE,WAAW,EAAE,MAAM,qBAAqB;AAyEjD,2BAA8B,cAAsB;IAClD,IAAI,SAAS,GAAe,KA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AAQ,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC;AACvC,CAAC;AAED,gCAAmE,KAAuB;IACxF,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,SAAS,EAAE,sBAAsB,EAAE,GAAG,KAAK,CAAC;IAChF,MAAM,MAAM,GAAG,UAAU,CAAC,UAAU,EAAE,CAAC;IACvC,MAAM,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,OAAO,GAA0B,EAAE,MAAM,EAAE,YAAY,EAAO,IAAI,EAAE,CAAC;IACzE,MAAM,aAAa,GAAkB,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;IACrE,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,QAAQ,CAAC,mBAAmB,EAAE,cAAc,EAAE,aAAa,CAAC,CAAC;IAC9F,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACjC,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,sBAAsB,CAAC,CAAC;AACjD,CAAC;AAED,6BAAgC,KAAoB;IAClD,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAC9C,EAAE,CAAC,CAAC,OAAO,IAAI,OAAO,CAAC,MAAM,IAAI,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;QACtD,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IAC9C,CAAC;IACD,UAAU,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/windowToggle.js b/node_modules/rxjs/_esm2015/operators/windowToggle.js deleted file mode 100644 index 7ba60669..00000000 --- a/node_modules/rxjs/_esm2015/operators/windowToggle.js +++ /dev/null @@ -1,170 +0,0 @@ -import { Subject } from '../Subject'; -import { Subscription } from '../Subscription'; -import { tryCatch } from '../util/tryCatch'; -import { errorObject } from '../util/errorObject'; -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/** - * Branch out the source Observable values as a nested Observable starting from - * an emission from `openings` and ending when the output of `closingSelector` - * emits. - * - * It's like {@link bufferToggle}, but emits a nested - * Observable instead of an array. - * - * - * - * Returns an Observable that emits windows of items it collects from the source - * Observable. The output Observable emits windows that contain those items - * emitted by the source Observable between the time when the `openings` - * Observable emits an item and when the Observable returned by - * `closingSelector` emits an item. - * - * @example Every other second, emit the click events from the next 500ms - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var openings = Rx.Observable.interval(1000); - * var result = clicks.windowToggle(openings, i => - * i % 2 ? Rx.Observable.interval(500) : Rx.Observable.empty() - * ).mergeAll(); - * result.subscribe(x => console.log(x)); - * - * @see {@link window} - * @see {@link windowCount} - * @see {@link windowTime} - * @see {@link windowWhen} - * @see {@link bufferToggle} - * - * @param {Observable} openings An observable of notifications to start new - * windows. - * @param {function(value: O): Observable} closingSelector A function that takes - * the value emitted by the `openings` observable and returns an Observable, - * which, when it emits (either `next` or `complete`), signals that the - * associated window should complete. - * @return {Observable>} An observable of windows, which in turn - * are Observables. - * @method windowToggle - * @owner Observable - */ -export function windowToggle(openings, closingSelector) { - return (source) => source.lift(new WindowToggleOperator(openings, closingSelector)); -} -class WindowToggleOperator { - constructor(openings, closingSelector) { - this.openings = openings; - this.closingSelector = closingSelector; - } - call(subscriber, source) { - return source.subscribe(new WindowToggleSubscriber(subscriber, this.openings, this.closingSelector)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class WindowToggleSubscriber extends OuterSubscriber { - constructor(destination, openings, closingSelector) { - super(destination); - this.openings = openings; - this.closingSelector = closingSelector; - this.contexts = []; - this.add(this.openSubscription = subscribeToResult(this, openings, openings)); - } - _next(value) { - const { contexts } = this; - if (contexts) { - const len = contexts.length; - for (let i = 0; i < len; i++) { - contexts[i].window.next(value); - } - } - } - _error(err) { - const { contexts } = this; - this.contexts = null; - if (contexts) { - const len = contexts.length; - let index = -1; - while (++index < len) { - const context = contexts[index]; - context.window.error(err); - context.subscription.unsubscribe(); - } - } - super._error(err); - } - _complete() { - const { contexts } = this; - this.contexts = null; - if (contexts) { - const len = contexts.length; - let index = -1; - while (++index < len) { - const context = contexts[index]; - context.window.complete(); - context.subscription.unsubscribe(); - } - } - super._complete(); - } - _unsubscribe() { - const { contexts } = this; - this.contexts = null; - if (contexts) { - const len = contexts.length; - let index = -1; - while (++index < len) { - const context = contexts[index]; - context.window.unsubscribe(); - context.subscription.unsubscribe(); - } - } - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - if (outerValue === this.openings) { - const { closingSelector } = this; - const closingNotifier = tryCatch(closingSelector)(innerValue); - if (closingNotifier === errorObject) { - return this.error(errorObject.e); - } - else { - const window = new Subject(); - const subscription = new Subscription(); - const context = { window, subscription }; - this.contexts.push(context); - const innerSubscription = subscribeToResult(this, closingNotifier, context); - if (innerSubscription.closed) { - this.closeWindow(this.contexts.length - 1); - } - else { - innerSubscription.context = context; - subscription.add(innerSubscription); - } - this.destination.next(window); - } - } - else { - this.closeWindow(this.contexts.indexOf(outerValue)); - } - } - notifyError(err) { - this.error(err); - } - notifyComplete(inner) { - if (inner !== this.openSubscription) { - this.closeWindow(this.contexts.indexOf(inner.context)); - } - } - closeWindow(index) { - if (index === -1) { - return; - } - const { contexts } = this; - const context = contexts[index]; - const { window, subscription } = context; - contexts.splice(index, 1); - window.complete(); - subscription.unsubscribe(); - } -} -//# sourceMappingURL=windowToggle.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/windowToggle.js.map b/node_modules/rxjs/_esm2015/operators/windowToggle.js.map deleted file mode 100644 index 804b926d..00000000 --- a/node_modules/rxjs/_esm2015/operators/windowToggle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"windowToggle.js","sourceRoot":"","sources":["../../src/operators/windowToggle.ts"],"names":[],"mappings":"OAGO,EAAE,OAAO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,QAAQ,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;QAC1B,MAAM,CAAC,QAAQ,EAAE,CAAC;QAClB,YAAY,CAAC,WAAW,EAAE,CAAC;IAC7B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/windowWhen.js b/node_modules/rxjs/_esm2015/operators/windowWhen.js deleted file mode 100644 index 922ff048..00000000 --- a/node_modules/rxjs/_esm2015/operators/windowWhen.js +++ /dev/null @@ -1,118 +0,0 @@ -import { Subject } from '../Subject'; -import { tryCatch } from '../util/tryCatch'; -import { errorObject } from '../util/errorObject'; -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/** - * Branch out the source Observable values as a nested Observable using a - * factory function of closing Observables to determine when to start a new - * window. - * - * It's like {@link bufferWhen}, but emits a nested - * Observable instead of an array. - * - * - * - * Returns an Observable that emits windows of items it collects from the source - * Observable. The output Observable emits connected, non-overlapping windows. - * It emits the current window and opens a new one whenever the Observable - * produced by the specified `closingSelector` function emits an item. The first - * window is opened immediately when subscribing to the output Observable. - * - * @example Emit only the first two clicks events in every window of [1-5] random seconds - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var result = clicks - * .windowWhen(() => Rx.Observable.interval(1000 + Math.random() * 4000)) - * .map(win => win.take(2)) // each window has at most 2 emissions - * .mergeAll(); // flatten the Observable-of-Observables - * result.subscribe(x => console.log(x)); - * - * @see {@link window} - * @see {@link windowCount} - * @see {@link windowTime} - * @see {@link windowToggle} - * @see {@link bufferWhen} - * - * @param {function(): Observable} closingSelector A function that takes no - * arguments and returns an Observable that signals (on either `next` or - * `complete`) when to close the previous window and start a new one. - * @return {Observable>} An observable of windows, which in turn - * are Observables. - * @method windowWhen - * @owner Observable - */ -export function windowWhen(closingSelector) { - return function windowWhenOperatorFunction(source) { - return source.lift(new WindowOperator(closingSelector)); - }; -} -class WindowOperator { - constructor(closingSelector) { - this.closingSelector = closingSelector; - } - call(subscriber, source) { - return source.subscribe(new WindowSubscriber(subscriber, this.closingSelector)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class WindowSubscriber extends OuterSubscriber { - constructor(destination, closingSelector) { - super(destination); - this.destination = destination; - this.closingSelector = closingSelector; - this.openWindow(); - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - this.openWindow(innerSub); - } - notifyError(error, innerSub) { - this._error(error); - } - notifyComplete(innerSub) { - this.openWindow(innerSub); - } - _next(value) { - this.window.next(value); - } - _error(err) { - this.window.error(err); - this.destination.error(err); - this.unsubscribeClosingNotification(); - } - _complete() { - this.window.complete(); - this.destination.complete(); - this.unsubscribeClosingNotification(); - } - unsubscribeClosingNotification() { - if (this.closingNotification) { - this.closingNotification.unsubscribe(); - } - } - openWindow(innerSub = null) { - if (innerSub) { - this.remove(innerSub); - innerSub.unsubscribe(); - } - const prevWindow = this.window; - if (prevWindow) { - prevWindow.complete(); - } - const window = this.window = new Subject(); - this.destination.next(window); - const closingNotifier = tryCatch(this.closingSelector)(); - if (closingNotifier === errorObject) { - const err = errorObject.e; - this.destination.error(err); - this.window.error(err); - } - else { - this.add(this.closingNotification = subscribeToResult(this, closingNotifier)); - } - } -} -//# sourceMappingURL=windowWhen.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/windowWhen.js.map b/node_modules/rxjs/_esm2015/operators/windowWhen.js.map deleted file mode 100644 index 41aa23b1..00000000 --- a/node_modules/rxjs/_esm2015/operators/windowWhen.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"windowWhen.js","sourceRoot":"","sources":["../../src/operators/windowWhen.ts"],"names":[],"mappings":"OAGO,EAAE,OAAO,EAAE,MAAM,YAAY;OAE7B,EAAE,QAAQ,EAAE,MAAM,kBAAkB;OACpC,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,E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,GAAG,CAAC,IAAI,CAAC,mBAAmB,GAAG,iBAAiB,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC;QAChF,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/withLatestFrom.js b/node_modules/rxjs/_esm2015/operators/withLatestFrom.js deleted file mode 100644 index 7916b1ef..00000000 --- a/node_modules/rxjs/_esm2015/operators/withLatestFrom.js +++ /dev/null @@ -1,118 +0,0 @@ -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -/* tslint:enable:max-line-length */ -/** - * Combines the source Observable with other Observables to create an Observable - * whose values are calculated from the latest values of each, only when the - * source emits. - * - * Whenever the source Observable emits a value, it - * computes a formula using that value plus the latest values from other input - * Observables, then emits the output of that formula. - * - * - * - * `withLatestFrom` combines each value from the source Observable (the - * instance) with the latest values from the other input Observables only when - * the source emits a value, optionally using a `project` function to determine - * the value to be emitted on the output Observable. All input Observables must - * emit at least one value before the output Observable will emit a value. - * - * @example On every click event, emit an array with the latest timer event plus the click event - * var clicks = Rx.Observable.fromEvent(document, 'click'); - * var timer = Rx.Observable.interval(1000); - * var result = clicks.withLatestFrom(timer); - * result.subscribe(x => console.log(x)); - * - * @see {@link combineLatest} - * - * @param {ObservableInput} other An input Observable to combine with the source - * Observable. More than one input Observables may be given as argument. - * @param {Function} [project] Projection function for combining values - * together. Receives all values in order of the Observables passed, where the - * first parameter is a value from the source Observable. (e.g. - * `a.withLatestFrom(b, c, (a1, b1, c1) => a1 + b1 + c1)`). If this is not - * passed, arrays will be emitted on the output Observable. - * @return {Observable} An Observable of projected values from the most recent - * values from each input Observable, or an array of the most recent values from - * each input Observable. - * @method withLatestFrom - * @owner Observable - */ -export function withLatestFrom(...args) { - return (source) => { - let project; - if (typeof args[args.length - 1] === 'function') { - project = args.pop(); - } - const observables = args; - return source.lift(new WithLatestFromOperator(observables, project)); - }; -} -class WithLatestFromOperator { - constructor(observables, project) { - this.observables = observables; - this.project = project; - } - call(subscriber, source) { - return source.subscribe(new WithLatestFromSubscriber(subscriber, this.observables, this.project)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class WithLatestFromSubscriber extends OuterSubscriber { - constructor(destination, observables, project) { - super(destination); - this.observables = observables; - this.project = project; - this.toRespond = []; - const len = observables.length; - this.values = new Array(len); - for (let i = 0; i < len; i++) { - this.toRespond.push(i); - } - for (let i = 0; i < len; i++) { - let observable = observables[i]; - this.add(subscribeToResult(this, observable, observable, i)); - } - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - this.values[outerIndex] = innerValue; - const toRespond = this.toRespond; - if (toRespond.length > 0) { - const found = toRespond.indexOf(outerIndex); - if (found !== -1) { - toRespond.splice(found, 1); - } - } - } - notifyComplete() { - // noop - } - _next(value) { - if (this.toRespond.length === 0) { - const args = [value, ...this.values]; - if (this.project) { - this._tryProject(args); - } - else { - this.destination.next(args); - } - } - } - _tryProject(args) { - let result; - try { - result = this.project.apply(this, args); - } - catch (err) { - this.destination.error(err); - return; - } - this.destination.next(result); - } -} -//# sourceMappingURL=withLatestFrom.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/withLatestFrom.js.map b/node_modules/rxjs/_esm2015/operators/withLatestFrom.js.map deleted file mode 100644 index b7fa614c..00000000 --- a/node_modules/rxjs/_esm2015/operators/withLatestFrom.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"withLatestFrom.js","sourceRoot":"","sources":["../../src/operators/withLatestFrom.ts"],"names":[],"mappings":"OAGO,EAAE,eAAe,EAAE,MAAM,oBAAoB;OAE7C,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;AAkB7D,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,+BAAqC,GAAG,IAAkE;IACxG,MAAM,CAAC,CAAC,MAAqB;QAC3B,IAAI,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MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAC1C,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,MAAM,CAAC;QACT,CAAC;QACD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/zip.js b/node_modules/rxjs/_esm2015/operators/zip.js deleted file mode 100644 index 3eaf3a69..00000000 --- a/node_modules/rxjs/_esm2015/operators/zip.js +++ /dev/null @@ -1,255 +0,0 @@ -import { ArrayObservable } from '../observable/ArrayObservable'; -import { isArray } from '../util/isArray'; -import { Subscriber } from '../Subscriber'; -import { OuterSubscriber } from '../OuterSubscriber'; -import { subscribeToResult } from '../util/subscribeToResult'; -import { iterator as Symbol_iterator } from '../symbol/iterator'; -/* tslint:enable:max-line-length */ -/** - * @param observables - * @return {Observable} - * @method zip - * @owner Observable - */ -export function zip(...observables) { - return function zipOperatorFunction(source) { - return source.lift.call(zipStatic(source, ...observables)); - }; -} -/* tslint:enable:max-line-length */ -/** - * Combines multiple Observables to create an Observable whose values are calculated from the values, in order, of each - * of its input Observables. - * - * If the latest parameter is a function, this function is used to compute the created value from the input values. - * Otherwise, an array of the input values is returned. - * - * @example Combine age and name from different sources - * - * let age$ = Observable.of(27, 25, 29); - * let name$ = Observable.of('Foo', 'Bar', 'Beer'); - * let isDev$ = Observable.of(true, true, false); - * - * Observable - * .zip(age$, - * name$, - * isDev$, - * (age: number, name: string, isDev: boolean) => ({ age, name, isDev })) - * .subscribe(x => console.log(x)); - * - * // outputs - * // { age: 27, name: 'Foo', isDev: true } - * // { age: 25, name: 'Bar', isDev: true } - * // { age: 29, name: 'Beer', isDev: false } - * - * @param observables - * @return {Observable} - * @static true - * @name zip - * @owner Observable - */ -export function zipStatic(...observables) { - const project = observables[observables.length - 1]; - if (typeof project === 'function') { - observables.pop(); - } - return new ArrayObservable(observables).lift(new ZipOperator(project)); -} -export class ZipOperator { - constructor(project) { - this.project = project; - } - call(subscriber, source) { - return source.subscribe(new ZipSubscriber(subscriber, this.project)); - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class ZipSubscriber extends Subscriber { - constructor(destination, project, values = Object.create(null)) { - super(destination); - this.iterators = []; - this.active = 0; - this.project = (typeof project === 'function') ? project : null; - this.values = values; - } - _next(value) { - const iterators = this.iterators; - if (isArray(value)) { - iterators.push(new StaticArrayIterator(value)); - } - else if (typeof value[Symbol_iterator] === 'function') { - iterators.push(new StaticIterator(value[Symbol_iterator]())); - } - else { - iterators.push(new ZipBufferIterator(this.destination, this, value)); - } - } - _complete() { - const iterators = this.iterators; - const len = iterators.length; - if (len === 0) { - this.destination.complete(); - return; - } - this.active = len; - for (let i = 0; i < len; i++) { - let iterator = iterators[i]; - if (iterator.stillUnsubscribed) { - this.add(iterator.subscribe(iterator, i)); - } - else { - this.active--; // not an observable - } - } - } - notifyInactive() { - this.active--; - if (this.active === 0) { - this.destination.complete(); - } - } - checkIterators() { - const iterators = this.iterators; - const len = iterators.length; - const destination = this.destination; - // abort if not all of them have values - for (let i = 0; i < len; i++) { - let iterator = iterators[i]; - if (typeof iterator.hasValue === 'function' && !iterator.hasValue()) { - return; - } - } - let shouldComplete = false; - const args = []; - for (let i = 0; i < len; i++) { - let iterator = iterators[i]; - let result = iterator.next(); - // check to see if it's completed now that you've gotten - // the next value. - if (iterator.hasCompleted()) { - shouldComplete = true; - } - if (result.done) { - destination.complete(); - return; - } - args.push(result.value); - } - if (this.project) { - this._tryProject(args); - } - else { - destination.next(args); - } - if (shouldComplete) { - destination.complete(); - } - } - _tryProject(args) { - let result; - try { - result = this.project.apply(this, args); - } - catch (err) { - this.destination.error(err); - return; - } - this.destination.next(result); - } -} -class StaticIterator { - constructor(iterator) { - this.iterator = iterator; - this.nextResult = iterator.next(); - } - hasValue() { - return true; - } - next() { - const result = this.nextResult; - this.nextResult = this.iterator.next(); - return result; - } - hasCompleted() { - const nextResult = this.nextResult; - return nextResult && nextResult.done; - } -} -class StaticArrayIterator { - constructor(array) { - this.array = array; - this.index = 0; - this.length = 0; - this.length = array.length; - } - [Symbol_iterator]() { - return this; - } - next(value) { - const i = this.index++; - const array = this.array; - return i < this.length ? { value: array[i], done: false } : { value: null, done: true }; - } - hasValue() { - return this.array.length > this.index; - } - hasCompleted() { - return this.array.length === this.index; - } -} -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -class ZipBufferIterator extends OuterSubscriber { - constructor(destination, parent, observable) { - super(destination); - this.parent = parent; - this.observable = observable; - this.stillUnsubscribed = true; - this.buffer = []; - this.isComplete = false; - } - [Symbol_iterator]() { - return this; - } - // NOTE: there is actually a name collision here with Subscriber.next and Iterator.next - // this is legit because `next()` will never be called by a subscription in this case. - next() { - const buffer = this.buffer; - if (buffer.length === 0 && this.isComplete) { - return { value: null, done: true }; - } - else { - return { value: buffer.shift(), done: false }; - } - } - hasValue() { - return this.buffer.length > 0; - } - hasCompleted() { - return this.buffer.length === 0 && this.isComplete; - } - notifyComplete() { - if (this.buffer.length > 0) { - this.isComplete = true; - this.parent.notifyInactive(); - } - else { - this.destination.complete(); - } - } - notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) { - this.buffer.push(innerValue); - this.parent.checkIterators(); - } - subscribe(value, index) { - return subscribeToResult(this, this.observable, this, index); - } -} -//# sourceMappingURL=zip.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/zip.js.map b/node_modules/rxjs/_esm2015/operators/zip.js.map deleted file mode 100644 index 7641d5f1..00000000 --- a/node_modules/rxjs/_esm2015/operators/zip.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"zip.js","sourceRoot":"","sources":["../../src/oper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AAC,UAAa,EAAE,UAAe,EAC9B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7B,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;IAC/B,CAAC;IAED,SAAS,CAAC,KAAU,EAAE,KAAa;QACjC,MAAM,CAAC,iBAAiB,CAAW,IAAI,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;IACzE,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/zipAll.js b/node_modules/rxjs/_esm2015/operators/zipAll.js deleted file mode 100644 index f6d40749..00000000 --- a/node_modules/rxjs/_esm2015/operators/zipAll.js +++ /dev/null @@ -1,5 +0,0 @@ -import { ZipOperator } from './zip'; -export function zipAll(project) { - return (source) => source.lift(new ZipOperator(project)); -} -//# sourceMappingURL=zipAll.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/operators/zipAll.js.map b/node_modules/rxjs/_esm2015/operators/zipAll.js.map deleted file mode 100644 index b65b43ce..00000000 --- a/node_modules/rxjs/_esm2015/operators/zipAll.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"zipAll.js","sourceRoot":"","sources":["../../src/operators/zipAll.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE,MAAM,OAAO;AAInC,uBAA6B,OAAsC;IACjE,MAAM,CAAC,CAAC,MAAqB,KAAK,MAAM,CAAC,IAAI,CAAC,IAAI,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;AAC1E,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/path-mapping.js b/node_modules/rxjs/_esm2015/path-mapping.js deleted file mode 100644 index c261c234..00000000 --- a/node_modules/rxjs/_esm2015/path-mapping.js +++ /dev/null @@ -1,465 +0,0 @@ - -"use strict" - -var path = require('path'); -var dir = path.resolve(__dirname); - -module.exports = function() { - return { - "rxjs/util/tryCatch": path.join(dir, "util/tryCatch.js"), - "rxjs/util/toSubscriber": path.join(dir, "util/toSubscriber.js"), - "rxjs/util/subscribeToResult": path.join(dir, "util/subscribeToResult.js"), - "rxjs/util/root": path.join(dir, "util/root.js"), - "rxjs/util/pipe": path.join(dir, "util/pipe.js"), - "rxjs/util/not": path.join(dir, "util/not.js"), - "rxjs/util/noop": path.join(dir, "util/noop.js"), - "rxjs/util/isScheduler": path.join(dir, "util/isScheduler.js"), - "rxjs/util/isPromise": path.join(dir, "util/isPromise.js"), - "rxjs/util/isObject": path.join(dir, "util/isObject.js"), - "rxjs/util/isNumeric": path.join(dir, "util/isNumeric.js"), - "rxjs/util/isFunction": path.join(dir, "util/isFunction.js"), - "rxjs/util/isDate": path.join(dir, "util/isDate.js"), - "rxjs/util/isArrayLike": path.join(dir, "util/isArrayLike.js"), - "rxjs/util/isArray": path.join(dir, "util/isArray.js"), - "rxjs/util/identity": path.join(dir, "util/identity.js"), - "rxjs/util/errorObject": path.join(dir, "util/errorObject.js"), - "rxjs/util/assign": path.join(dir, "util/assign.js"), - "rxjs/util/applyMixins": path.join(dir, "util/applyMixins.js"), - "rxjs/util/UnsubscriptionError": path.join(dir, "util/UnsubscriptionError.js"), - "rxjs/util/TimeoutError": path.join(dir, "util/TimeoutError.js"), - "rxjs/util/Set": path.join(dir, "util/Set.js"), - "rxjs/util/ObjectUnsubscribedError": path.join(dir, "util/ObjectUnsubscribedError.js"), - "rxjs/util/MapPolyfill": path.join(dir, "util/MapPolyfill.js"), - "rxjs/util/Map": path.join(dir, "util/Map.js"), - "rxjs/util/Immediate": path.join(dir, "util/Immediate.js"), - "rxjs/util/FastMap": path.join(dir, "util/FastMap.js"), - "rxjs/util/EmptyError": path.join(dir, "util/EmptyError.js"), - "rxjs/util/ArgumentOutOfRangeError": path.join(dir, "util/ArgumentOutOfRangeError.js"), - "rxjs/util/AnimationFrame": path.join(dir, "util/AnimationFrame.js"), - "rxjs/testing/TestScheduler": path.join(dir, "testing/TestScheduler.js"), - "rxjs/testing/TestMessage": path.join(dir, "testing/TestMessage.js"), - "rxjs/testing/SubscriptionLoggable": path.join(dir, "testing/SubscriptionLoggable.js"), - "rxjs/testing/SubscriptionLog": path.join(dir, "testing/SubscriptionLog.js"), - "rxjs/testing/HotObservable": path.join(dir, "testing/HotObservable.js"), - "rxjs/testing/ColdObservable": path.join(dir, "testing/ColdObservable.js"), - "rxjs/symbol/rxSubscriber": path.join(dir, "symbol/rxSubscriber.js"), - "rxjs/symbol/observable": path.join(dir, "symbol/observable.js"), - "rxjs/symbol/iterator": path.join(dir, "symbol/iterator.js"), - "rxjs/scheduler/queue": path.join(dir, "scheduler/queue.js"), - "rxjs/scheduler/async": path.join(dir, "scheduler/async.js"), - "rxjs/scheduler/asap": path.join(dir, "scheduler/asap.js"), - "rxjs/scheduler/animationFrame": path.join(dir, "scheduler/animationFrame.js"), - "rxjs/scheduler/VirtualTimeScheduler": path.join(dir, "scheduler/VirtualTimeScheduler.js"), - "rxjs/scheduler/QueueScheduler": path.join(dir, "scheduler/QueueScheduler.js"), - "rxjs/scheduler/QueueAction": path.join(dir, "scheduler/QueueAction.js"), - "rxjs/scheduler/AsyncScheduler": path.join(dir, "scheduler/AsyncScheduler.js"), - "rxjs/scheduler/AsyncAction": path.join(dir, "scheduler/AsyncAction.js"), - "rxjs/scheduler/AsapScheduler": path.join(dir, "scheduler/AsapScheduler.js"), - "rxjs/scheduler/AsapAction": path.join(dir, "scheduler/AsapAction.js"), - "rxjs/scheduler/AnimationFrameScheduler": path.join(dir, "scheduler/AnimationFrameScheduler.js"), - "rxjs/scheduler/AnimationFrameAction": path.join(dir, "scheduler/AnimationFrameAction.js"), - "rxjs/scheduler/Action": path.join(dir, "scheduler/Action.js"), - "rxjs/operators/zipAll": path.join(dir, "operators/zipAll.js"), - "rxjs/operators/zip": path.join(dir, "operators/zip.js"), - "rxjs/operators/withLatestFrom": path.join(dir, "operators/withLatestFrom.js"), - "rxjs/operators/windowWhen": path.join(dir, "operators/windowWhen.js"), - "rxjs/operators/windowToggle": path.join(dir, "operators/windowToggle.js"), - "rxjs/operators/windowTime": path.join(dir, "operators/windowTime.js"), - "rxjs/operators/windowCount": path.join(dir, "operators/windowCount.js"), - "rxjs/operators/window": path.join(dir, "operators/window.js"), - "rxjs/operators/toArray": path.join(dir, "operators/toArray.js"), - "rxjs/operators/timestamp": path.join(dir, "operators/timestamp.js"), - "rxjs/operators/timeoutWith": path.join(dir, "operators/timeoutWith.js"), - "rxjs/operators/timeout": path.join(dir, "operators/timeout.js"), - "rxjs/operators/timeInterval": path.join(dir, "operators/timeInterval.js"), - "rxjs/operators/throttleTime": path.join(dir, "operators/throttleTime.js"), - "rxjs/operators/throttle": path.join(dir, "operators/throttle.js"), - "rxjs/operators/tap": path.join(dir, "operators/tap.js"), - "rxjs/operators/takeWhile": path.join(dir, "operators/takeWhile.js"), - "rxjs/operators/takeUntil": path.join(dir, "operators/takeUntil.js"), - "rxjs/operators/takeLast": path.join(dir, "operators/takeLast.js"), - "rxjs/operators/take": path.join(dir, "operators/take.js"), - "rxjs/operators/switchMapTo": path.join(dir, "operators/switchMapTo.js"), - "rxjs/operators/switchMap": path.join(dir, "operators/switchMap.js"), - "rxjs/operators/switchAll": path.join(dir, "operators/switchAll.js"), - "rxjs/operators/subscribeOn": path.join(dir, "operators/subscribeOn.js"), - "rxjs/operators/startWith": path.join(dir, "operators/startWith.js"), - "rxjs/operators/skipWhile": path.join(dir, "operators/skipWhile.js"), - "rxjs/operators/skipUntil": path.join(dir, "operators/skipUntil.js"), - "rxjs/operators/skipLast": path.join(dir, "operators/skipLast.js"), - "rxjs/operators/skip": path.join(dir, "operators/skip.js"), - "rxjs/operators/single": path.join(dir, "operators/single.js"), - "rxjs/operators/shareReplay": path.join(dir, "operators/shareReplay.js"), - "rxjs/operators/share": path.join(dir, "operators/share.js"), - "rxjs/operators/sequenceEqual": path.join(dir, "operators/sequenceEqual.js"), - "rxjs/operators/scan": path.join(dir, "operators/scan.js"), - "rxjs/operators/sampleTime": path.join(dir, "operators/sampleTime.js"), - "rxjs/operators/sample": path.join(dir, "operators/sample.js"), - "rxjs/operators/retryWhen": path.join(dir, "operators/retryWhen.js"), - "rxjs/operators/retry": path.join(dir, "operators/retry.js"), - "rxjs/operators/repeatWhen": path.join(dir, "operators/repeatWhen.js"), - "rxjs/operators/repeat": path.join(dir, "operators/repeat.js"), - "rxjs/operators/refCount": path.join(dir, "operators/refCount.js"), - "rxjs/operators/reduce": path.join(dir, "operators/reduce.js"), - "rxjs/operators/race": path.join(dir, "operators/race.js"), - "rxjs/operators/publishReplay": path.join(dir, "operators/publishReplay.js"), - "rxjs/operators/publishLast": path.join(dir, "operators/publishLast.js"), - "rxjs/operators/publishBehavior": path.join(dir, "operators/publishBehavior.js"), - "rxjs/operators/publish": path.join(dir, "operators/publish.js"), - "rxjs/operators/pluck": path.join(dir, "operators/pluck.js"), - "rxjs/operators/partition": path.join(dir, "operators/partition.js"), - "rxjs/operators/pairwise": path.join(dir, "operators/pairwise.js"), - "rxjs/operators/onErrorResumeNext": path.join(dir, "operators/onErrorResumeNext.js"), - "rxjs/operators/observeOn": path.join(dir, "operators/observeOn.js"), - "rxjs/operators/multicast": path.join(dir, "operators/multicast.js"), - "rxjs/operators/min": path.join(dir, "operators/min.js"), - "rxjs/operators/mergeScan": path.join(dir, "operators/mergeScan.js"), - "rxjs/operators/mergeMapTo": path.join(dir, "operators/mergeMapTo.js"), - "rxjs/operators/mergeMap": path.join(dir, "operators/mergeMap.js"), - "rxjs/operators/mergeAll": path.join(dir, "operators/mergeAll.js"), - "rxjs/operators/merge": path.join(dir, "operators/merge.js"), - "rxjs/operators/max": path.join(dir, "operators/max.js"), - "rxjs/operators/materialize": path.join(dir, "operators/materialize.js"), - "rxjs/operators/mapTo": path.join(dir, "operators/mapTo.js"), - "rxjs/operators/map": path.join(dir, "operators/map.js"), - "rxjs/operators/last": path.join(dir, "operators/last.js"), - "rxjs/operators/isEmpty": path.join(dir, "operators/isEmpty.js"), - "rxjs/operators/ignoreElements": path.join(dir, "operators/ignoreElements.js"), - "rxjs/operators/groupBy": path.join(dir, "operators/groupBy.js"), - "rxjs/operators/first": path.join(dir, "operators/first.js"), - "rxjs/operators/findIndex": path.join(dir, "operators/findIndex.js"), - "rxjs/operators/find": path.join(dir, "operators/find.js"), - "rxjs/operators/finalize": path.join(dir, "operators/finalize.js"), - "rxjs/operators/filter": path.join(dir, "operators/filter.js"), - "rxjs/operators/expand": path.join(dir, "operators/expand.js"), - "rxjs/operators/exhaustMap": path.join(dir, "operators/exhaustMap.js"), - "rxjs/operators/exhaust": path.join(dir, "operators/exhaust.js"), - "rxjs/operators/every": path.join(dir, "operators/every.js"), - "rxjs/operators/elementAt": path.join(dir, "operators/elementAt.js"), - "rxjs/operators/distinctUntilKeyChanged": path.join(dir, "operators/distinctUntilKeyChanged.js"), - "rxjs/operators/distinctUntilChanged": path.join(dir, "operators/distinctUntilChanged.js"), - "rxjs/operators/distinct": path.join(dir, "operators/distinct.js"), - "rxjs/operators/dematerialize": path.join(dir, "operators/dematerialize.js"), - "rxjs/operators/delayWhen": path.join(dir, "operators/delayWhen.js"), - "rxjs/operators/delay": path.join(dir, "operators/delay.js"), - "rxjs/operators/defaultIfEmpty": path.join(dir, "operators/defaultIfEmpty.js"), - "rxjs/operators/debounceTime": path.join(dir, "operators/debounceTime.js"), - "rxjs/operators/debounce": path.join(dir, "operators/debounce.js"), - "rxjs/operators/count": path.join(dir, "operators/count.js"), - "rxjs/operators/concatMapTo": path.join(dir, "operators/concatMapTo.js"), - "rxjs/operators/concatMap": path.join(dir, "operators/concatMap.js"), - "rxjs/operators/concatAll": path.join(dir, "operators/concatAll.js"), - "rxjs/operators/concat": path.join(dir, "operators/concat.js"), - "rxjs/operators/combineLatest": path.join(dir, "operators/combineLatest.js"), - "rxjs/operators/combineAll": path.join(dir, "operators/combineAll.js"), - "rxjs/operators/catchError": path.join(dir, "operators/catchError.js"), - "rxjs/operators/bufferWhen": path.join(dir, "operators/bufferWhen.js"), - "rxjs/operators/bufferToggle": path.join(dir, "operators/bufferToggle.js"), - "rxjs/operators/bufferTime": path.join(dir, "operators/bufferTime.js"), - "rxjs/operators/bufferCount": path.join(dir, "operators/bufferCount.js"), - "rxjs/operators/buffer": path.join(dir, "operators/buffer.js"), - "rxjs/operators/auditTime": path.join(dir, "operators/auditTime.js"), - "rxjs/operators/audit": path.join(dir, "operators/audit.js"), - "rxjs/operators": path.join(dir, "operators.js"), - "rxjs/operator/zipAll": path.join(dir, "operator/zipAll.js"), - "rxjs/operator/zip": path.join(dir, "operator/zip.js"), - "rxjs/operator/withLatestFrom": path.join(dir, "operator/withLatestFrom.js"), - "rxjs/operator/windowWhen": path.join(dir, "operator/windowWhen.js"), - "rxjs/operator/windowToggle": path.join(dir, "operator/windowToggle.js"), - "rxjs/operator/windowTime": path.join(dir, "operator/windowTime.js"), - "rxjs/operator/windowCount": path.join(dir, "operator/windowCount.js"), - "rxjs/operator/window": path.join(dir, "operator/window.js"), - "rxjs/operator/toPromise": path.join(dir, "operator/toPromise.js"), - "rxjs/operator/toArray": path.join(dir, "operator/toArray.js"), - "rxjs/operator/timestamp": path.join(dir, "operator/timestamp.js"), - "rxjs/operator/timeoutWith": path.join(dir, "operator/timeoutWith.js"), - "rxjs/operator/timeout": path.join(dir, "operator/timeout.js"), - "rxjs/operator/timeInterval": path.join(dir, "operator/timeInterval.js"), - "rxjs/operator/throttleTime": path.join(dir, "operator/throttleTime.js"), - "rxjs/operator/throttle": path.join(dir, "operator/throttle.js"), - "rxjs/operator/takeWhile": path.join(dir, "operator/takeWhile.js"), - "rxjs/operator/takeUntil": path.join(dir, "operator/takeUntil.js"), - "rxjs/operator/takeLast": path.join(dir, "operator/takeLast.js"), - "rxjs/operator/take": path.join(dir, "operator/take.js"), - "rxjs/operator/switchMapTo": path.join(dir, "operator/switchMapTo.js"), - "rxjs/operator/switchMap": path.join(dir, "operator/switchMap.js"), - "rxjs/operator/switch": path.join(dir, "operator/switch.js"), - "rxjs/operator/subscribeOn": path.join(dir, "operator/subscribeOn.js"), - "rxjs/operator/startWith": path.join(dir, "operator/startWith.js"), - "rxjs/operator/skipWhile": path.join(dir, "operator/skipWhile.js"), - "rxjs/operator/skipUntil": path.join(dir, "operator/skipUntil.js"), - "rxjs/operator/skipLast": path.join(dir, "operator/skipLast.js"), - "rxjs/operator/skip": path.join(dir, "operator/skip.js"), - "rxjs/operator/single": path.join(dir, "operator/single.js"), - "rxjs/operator/shareReplay": path.join(dir, "operator/shareReplay.js"), - "rxjs/operator/share": path.join(dir, "operator/share.js"), - "rxjs/operator/sequenceEqual": path.join(dir, "operator/sequenceEqual.js"), - "rxjs/operator/scan": path.join(dir, "operator/scan.js"), - "rxjs/operator/sampleTime": path.join(dir, "operator/sampleTime.js"), - "rxjs/operator/sample": path.join(dir, "operator/sample.js"), - "rxjs/operator/retryWhen": path.join(dir, "operator/retryWhen.js"), - "rxjs/operator/retry": path.join(dir, "operator/retry.js"), - "rxjs/operator/repeatWhen": path.join(dir, "operator/repeatWhen.js"), - "rxjs/operator/repeat": path.join(dir, "operator/repeat.js"), - "rxjs/operator/reduce": path.join(dir, "operator/reduce.js"), - "rxjs/operator/race": path.join(dir, "operator/race.js"), - "rxjs/operator/publishReplay": path.join(dir, "operator/publishReplay.js"), - "rxjs/operator/publishLast": path.join(dir, "operator/publishLast.js"), - "rxjs/operator/publishBehavior": path.join(dir, "operator/publishBehavior.js"), - "rxjs/operator/publish": path.join(dir, "operator/publish.js"), - "rxjs/operator/pluck": path.join(dir, "operator/pluck.js"), - "rxjs/operator/partition": path.join(dir, "operator/partition.js"), - "rxjs/operator/pairwise": path.join(dir, "operator/pairwise.js"), - "rxjs/operator/onErrorResumeNext": path.join(dir, "operator/onErrorResumeNext.js"), - "rxjs/operator/observeOn": path.join(dir, "operator/observeOn.js"), - "rxjs/operator/multicast": path.join(dir, "operator/multicast.js"), - "rxjs/operator/min": path.join(dir, "operator/min.js"), - "rxjs/operator/mergeScan": path.join(dir, "operator/mergeScan.js"), - "rxjs/operator/mergeMapTo": path.join(dir, "operator/mergeMapTo.js"), - "rxjs/operator/mergeMap": path.join(dir, "operator/mergeMap.js"), - "rxjs/operator/mergeAll": path.join(dir, "operator/mergeAll.js"), - "rxjs/operator/merge": path.join(dir, "operator/merge.js"), - "rxjs/operator/max": path.join(dir, "operator/max.js"), - "rxjs/operator/materialize": path.join(dir, "operator/materialize.js"), - "rxjs/operator/mapTo": path.join(dir, "operator/mapTo.js"), - "rxjs/operator/map": path.join(dir, "operator/map.js"), - "rxjs/operator/let": path.join(dir, "operator/let.js"), - "rxjs/operator/last": path.join(dir, "operator/last.js"), - "rxjs/operator/isEmpty": path.join(dir, "operator/isEmpty.js"), - "rxjs/operator/ignoreElements": path.join(dir, "operator/ignoreElements.js"), - "rxjs/operator/groupBy": path.join(dir, "operator/groupBy.js"), - "rxjs/operator/first": path.join(dir, "operator/first.js"), - "rxjs/operator/findIndex": path.join(dir, "operator/findIndex.js"), - "rxjs/operator/find": path.join(dir, "operator/find.js"), - "rxjs/operator/finally": path.join(dir, "operator/finally.js"), - "rxjs/operator/filter": path.join(dir, "operator/filter.js"), - "rxjs/operator/expand": path.join(dir, "operator/expand.js"), - "rxjs/operator/exhaustMap": path.join(dir, "operator/exhaustMap.js"), - "rxjs/operator/exhaust": path.join(dir, "operator/exhaust.js"), - "rxjs/operator/every": path.join(dir, "operator/every.js"), - "rxjs/operator/elementAt": path.join(dir, "operator/elementAt.js"), - "rxjs/operator/do": path.join(dir, "operator/do.js"), - "rxjs/operator/distinctUntilKeyChanged": path.join(dir, "operator/distinctUntilKeyChanged.js"), - "rxjs/operator/distinctUntilChanged": path.join(dir, "operator/distinctUntilChanged.js"), - "rxjs/operator/distinct": path.join(dir, "operator/distinct.js"), - "rxjs/operator/dematerialize": path.join(dir, "operator/dematerialize.js"), - "rxjs/operator/delayWhen": path.join(dir, "operator/delayWhen.js"), - "rxjs/operator/delay": path.join(dir, "operator/delay.js"), - "rxjs/operator/defaultIfEmpty": path.join(dir, "operator/defaultIfEmpty.js"), - "rxjs/operator/debounceTime": path.join(dir, "operator/debounceTime.js"), - "rxjs/operator/debounce": path.join(dir, "operator/debounce.js"), - "rxjs/operator/count": path.join(dir, "operator/count.js"), - "rxjs/operator/concatMapTo": path.join(dir, "operator/concatMapTo.js"), - "rxjs/operator/concatMap": path.join(dir, "operator/concatMap.js"), - "rxjs/operator/concatAll": path.join(dir, "operator/concatAll.js"), - "rxjs/operator/concat": path.join(dir, "operator/concat.js"), - "rxjs/operator/combineLatest": path.join(dir, "operator/combineLatest.js"), - "rxjs/operator/combineAll": path.join(dir, "operator/combineAll.js"), - "rxjs/operator/catch": path.join(dir, "operator/catch.js"), - "rxjs/operator/bufferWhen": path.join(dir, "operator/bufferWhen.js"), - "rxjs/operator/bufferToggle": path.join(dir, "operator/bufferToggle.js"), - "rxjs/operator/bufferTime": path.join(dir, "operator/bufferTime.js"), - "rxjs/operator/bufferCount": path.join(dir, "operator/bufferCount.js"), - "rxjs/operator/buffer": path.join(dir, "operator/buffer.js"), - "rxjs/operator/auditTime": path.join(dir, "operator/auditTime.js"), - "rxjs/operator/audit": path.join(dir, "operator/audit.js"), - "rxjs/observable/zip": path.join(dir, "observable/zip.js"), - "rxjs/observable/using": path.join(dir, "observable/using.js"), - "rxjs/observable/timer": path.join(dir, "observable/timer.js"), - "rxjs/observable/throw": path.join(dir, "observable/throw.js"), - "rxjs/observable/range": path.join(dir, "observable/range.js"), - "rxjs/observable/race": path.join(dir, "observable/race.js"), - "rxjs/observable/pairs": path.join(dir, "observable/pairs.js"), - "rxjs/observable/onErrorResumeNext": path.join(dir, "observable/onErrorResumeNext.js"), - "rxjs/observable/of": path.join(dir, "observable/of.js"), - "rxjs/observable/never": path.join(dir, "observable/never.js"), - "rxjs/observable/merge": path.join(dir, "observable/merge.js"), - "rxjs/observable/interval": path.join(dir, "observable/interval.js"), - "rxjs/observable/if": path.join(dir, "observable/if.js"), - "rxjs/observable/generate": path.join(dir, "observable/generate.js"), - "rxjs/observable/fromPromise": path.join(dir, "observable/fromPromise.js"), - "rxjs/observable/fromEventPattern": path.join(dir, "observable/fromEventPattern.js"), - "rxjs/observable/fromEvent": path.join(dir, "observable/fromEvent.js"), - "rxjs/observable/from": path.join(dir, "observable/from.js"), - "rxjs/observable/forkJoin": path.join(dir, "observable/forkJoin.js"), - "rxjs/observable/empty": path.join(dir, "observable/empty.js"), - "rxjs/observable/dom/webSocket": path.join(dir, "observable/dom/webSocket.js"), - "rxjs/observable/dom/ajax": path.join(dir, "observable/dom/ajax.js"), - "rxjs/observable/dom/WebSocketSubject": path.join(dir, "observable/dom/WebSocketSubject.js"), - "rxjs/observable/dom/AjaxObservable": path.join(dir, "observable/dom/AjaxObservable.js"), - "rxjs/observable/defer": path.join(dir, "observable/defer.js"), - "rxjs/observable/concat": path.join(dir, "observable/concat.js"), - "rxjs/observable/combineLatest": path.join(dir, "observable/combineLatest.js"), - "rxjs/observable/bindNodeCallback": path.join(dir, "observable/bindNodeCallback.js"), - "rxjs/observable/bindCallback": path.join(dir, "observable/bindCallback.js"), - "rxjs/observable/UsingObservable": path.join(dir, "observable/UsingObservable.js"), - "rxjs/observable/TimerObservable": path.join(dir, "observable/TimerObservable.js"), - "rxjs/observable/SubscribeOnObservable": path.join(dir, "observable/SubscribeOnObservable.js"), - "rxjs/observable/ScalarObservable": path.join(dir, "observable/ScalarObservable.js"), - "rxjs/observable/RangeObservable": path.join(dir, "observable/RangeObservable.js"), - "rxjs/observable/PromiseObservable": path.join(dir, "observable/PromiseObservable.js"), - "rxjs/observable/PairsObservable": path.join(dir, "observable/PairsObservable.js"), - "rxjs/observable/NeverObservable": path.join(dir, "observable/NeverObservable.js"), - "rxjs/observable/IteratorObservable": path.join(dir, "observable/IteratorObservable.js"), - "rxjs/observable/IntervalObservable": path.join(dir, "observable/IntervalObservable.js"), - "rxjs/observable/IfObservable": path.join(dir, "observable/IfObservable.js"), - "rxjs/observable/GenerateObservable": path.join(dir, "observable/GenerateObservable.js"), - "rxjs/observable/FromObservable": path.join(dir, "observable/FromObservable.js"), - "rxjs/observable/FromEventPatternObservable": path.join(dir, "observable/FromEventPatternObservable.js"), - "rxjs/observable/FromEventObservable": path.join(dir, "observable/FromEventObservable.js"), - "rxjs/observable/ForkJoinObservable": path.join(dir, "observable/ForkJoinObservable.js"), - "rxjs/observable/ErrorObservable": path.join(dir, "observable/ErrorObservable.js"), - "rxjs/observable/EmptyObservable": path.join(dir, "observable/EmptyObservable.js"), - "rxjs/observable/DeferObservable": path.join(dir, "observable/DeferObservable.js"), - "rxjs/observable/ConnectableObservable": path.join(dir, "observable/ConnectableObservable.js"), - "rxjs/observable/BoundNodeCallbackObservable": path.join(dir, "observable/BoundNodeCallbackObservable.js"), - "rxjs/observable/BoundCallbackObservable": path.join(dir, "observable/BoundCallbackObservable.js"), - "rxjs/observable/ArrayObservable": path.join(dir, "observable/ArrayObservable.js"), - "rxjs/observable/ArrayLikeObservable": path.join(dir, "observable/ArrayLikeObservable.js"), - "rxjs/interfaces": path.join(dir, "interfaces.js"), - "rxjs/add/operator/zipAll": path.join(dir, "add/operator/zipAll.js"), - "rxjs/add/operator/zip": path.join(dir, "add/operator/zip.js"), - "rxjs/add/operator/withLatestFrom": path.join(dir, "add/operator/withLatestFrom.js"), - "rxjs/add/operator/windowWhen": path.join(dir, "add/operator/windowWhen.js"), - "rxjs/add/operator/windowToggle": path.join(dir, "add/operator/windowToggle.js"), - "rxjs/add/operator/windowTime": path.join(dir, "add/operator/windowTime.js"), - "rxjs/add/operator/windowCount": path.join(dir, "add/operator/windowCount.js"), - "rxjs/add/operator/window": path.join(dir, "add/operator/window.js"), - "rxjs/add/operator/toPromise": path.join(dir, "add/operator/toPromise.js"), - "rxjs/add/operator/toArray": path.join(dir, "add/operator/toArray.js"), - "rxjs/add/operator/timestamp": path.join(dir, "add/operator/timestamp.js"), - "rxjs/add/operator/timeoutWith": path.join(dir, "add/operator/timeoutWith.js"), - "rxjs/add/operator/timeout": path.join(dir, "add/operator/timeout.js"), - "rxjs/add/operator/timeInterval": path.join(dir, "add/operator/timeInterval.js"), - "rxjs/add/operator/throttleTime": path.join(dir, "add/operator/throttleTime.js"), - "rxjs/add/operator/throttle": path.join(dir, "add/operator/throttle.js"), - "rxjs/add/operator/takeWhile": path.join(dir, "add/operator/takeWhile.js"), - "rxjs/add/operator/takeUntil": path.join(dir, "add/operator/takeUntil.js"), - "rxjs/add/operator/takeLast": path.join(dir, "add/operator/takeLast.js"), - "rxjs/add/operator/take": path.join(dir, "add/operator/take.js"), - "rxjs/add/operator/switchMapTo": path.join(dir, "add/operator/switchMapTo.js"), - "rxjs/add/operator/switchMap": path.join(dir, "add/operator/switchMap.js"), - "rxjs/add/operator/switch": path.join(dir, "add/operator/switch.js"), - "rxjs/add/operator/subscribeOn": path.join(dir, "add/operator/subscribeOn.js"), - "rxjs/add/operator/startWith": path.join(dir, "add/operator/startWith.js"), - "rxjs/add/operator/skipWhile": path.join(dir, "add/operator/skipWhile.js"), - "rxjs/add/operator/skipUntil": path.join(dir, "add/operator/skipUntil.js"), - "rxjs/add/operator/skipLast": path.join(dir, "add/operator/skipLast.js"), - "rxjs/add/operator/skip": path.join(dir, "add/operator/skip.js"), - "rxjs/add/operator/single": path.join(dir, "add/operator/single.js"), - "rxjs/add/operator/shareReplay": path.join(dir, "add/operator/shareReplay.js"), - "rxjs/add/operator/share": path.join(dir, "add/operator/share.js"), - "rxjs/add/operator/sequenceEqual": path.join(dir, "add/operator/sequenceEqual.js"), - "rxjs/add/operator/scan": path.join(dir, "add/operator/scan.js"), - "rxjs/add/operator/sampleTime": path.join(dir, "add/operator/sampleTime.js"), - "rxjs/add/operator/sample": path.join(dir, "add/operator/sample.js"), - "rxjs/add/operator/retryWhen": path.join(dir, "add/operator/retryWhen.js"), - "rxjs/add/operator/retry": path.join(dir, "add/operator/retry.js"), - "rxjs/add/operator/repeatWhen": path.join(dir, "add/operator/repeatWhen.js"), - "rxjs/add/operator/repeat": path.join(dir, "add/operator/repeat.js"), - "rxjs/add/operator/reduce": path.join(dir, "add/operator/reduce.js"), - "rxjs/add/operator/race": path.join(dir, "add/operator/race.js"), - "rxjs/add/operator/publishReplay": path.join(dir, "add/operator/publishReplay.js"), - "rxjs/add/operator/publishLast": path.join(dir, "add/operator/publishLast.js"), - "rxjs/add/operator/publishBehavior": path.join(dir, "add/operator/publishBehavior.js"), - "rxjs/add/operator/publish": path.join(dir, "add/operator/publish.js"), - "rxjs/add/operator/pluck": path.join(dir, "add/operator/pluck.js"), - "rxjs/add/operator/partition": path.join(dir, "add/operator/partition.js"), - "rxjs/add/operator/pairwise": path.join(dir, "add/operator/pairwise.js"), - "rxjs/add/operator/onErrorResumeNext": path.join(dir, "add/operator/onErrorResumeNext.js"), - "rxjs/add/operator/observeOn": path.join(dir, "add/operator/observeOn.js"), - "rxjs/add/operator/multicast": path.join(dir, "add/operator/multicast.js"), - "rxjs/add/operator/min": path.join(dir, "add/operator/min.js"), - "rxjs/add/operator/mergeScan": path.join(dir, "add/operator/mergeScan.js"), - "rxjs/add/operator/mergeMapTo": path.join(dir, "add/operator/mergeMapTo.js"), - "rxjs/add/operator/mergeMap": path.join(dir, "add/operator/mergeMap.js"), - "rxjs/add/operator/mergeAll": path.join(dir, "add/operator/mergeAll.js"), - "rxjs/add/operator/merge": path.join(dir, "add/operator/merge.js"), - "rxjs/add/operator/max": path.join(dir, "add/operator/max.js"), - "rxjs/add/operator/materialize": path.join(dir, "add/operator/materialize.js"), - "rxjs/add/operator/mapTo": path.join(dir, "add/operator/mapTo.js"), - "rxjs/add/operator/map": path.join(dir, "add/operator/map.js"), - "rxjs/add/operator/let": path.join(dir, "add/operator/let.js"), - "rxjs/add/operator/last": path.join(dir, "add/operator/last.js"), - "rxjs/add/operator/isEmpty": path.join(dir, "add/operator/isEmpty.js"), - "rxjs/add/operator/ignoreElements": path.join(dir, "add/operator/ignoreElements.js"), - "rxjs/add/operator/groupBy": path.join(dir, "add/operator/groupBy.js"), - "rxjs/add/operator/first": path.join(dir, "add/operator/first.js"), - "rxjs/add/operator/findIndex": path.join(dir, "add/operator/findIndex.js"), - "rxjs/add/operator/find": path.join(dir, "add/operator/find.js"), - "rxjs/add/operator/finally": path.join(dir, "add/operator/finally.js"), - "rxjs/add/operator/filter": path.join(dir, "add/operator/filter.js"), - "rxjs/add/operator/expand": path.join(dir, "add/operator/expand.js"), - "rxjs/add/operator/exhaustMap": path.join(dir, "add/operator/exhaustMap.js"), - "rxjs/add/operator/exhaust": path.join(dir, "add/operator/exhaust.js"), - "rxjs/add/operator/every": path.join(dir, "add/operator/every.js"), - "rxjs/add/operator/elementAt": path.join(dir, "add/operator/elementAt.js"), - "rxjs/add/operator/do": path.join(dir, "add/operator/do.js"), - "rxjs/add/operator/distinctUntilKeyChanged": path.join(dir, "add/operator/distinctUntilKeyChanged.js"), - "rxjs/add/operator/distinctUntilChanged": path.join(dir, "add/operator/distinctUntilChanged.js"), - "rxjs/add/operator/distinct": path.join(dir, "add/operator/distinct.js"), - "rxjs/add/operator/dematerialize": path.join(dir, "add/operator/dematerialize.js"), - "rxjs/add/operator/delayWhen": path.join(dir, "add/operator/delayWhen.js"), - "rxjs/add/operator/delay": path.join(dir, "add/operator/delay.js"), - "rxjs/add/operator/defaultIfEmpty": path.join(dir, "add/operator/defaultIfEmpty.js"), - "rxjs/add/operator/debounceTime": path.join(dir, "add/operator/debounceTime.js"), - "rxjs/add/operator/debounce": path.join(dir, "add/operator/debounce.js"), - "rxjs/add/operator/count": path.join(dir, "add/operator/count.js"), - "rxjs/add/operator/concatMapTo": path.join(dir, "add/operator/concatMapTo.js"), - "rxjs/add/operator/concatMap": path.join(dir, "add/operator/concatMap.js"), - "rxjs/add/operator/concatAll": path.join(dir, "add/operator/concatAll.js"), - "rxjs/add/operator/concat": path.join(dir, "add/operator/concat.js"), - "rxjs/add/operator/combineLatest": path.join(dir, "add/operator/combineLatest.js"), - "rxjs/add/operator/combineAll": path.join(dir, "add/operator/combineAll.js"), - "rxjs/add/operator/catch": path.join(dir, "add/operator/catch.js"), - "rxjs/add/operator/bufferWhen": path.join(dir, "add/operator/bufferWhen.js"), - "rxjs/add/operator/bufferToggle": path.join(dir, "add/operator/bufferToggle.js"), - "rxjs/add/operator/bufferTime": path.join(dir, "add/operator/bufferTime.js"), - "rxjs/add/operator/bufferCount": path.join(dir, "add/operator/bufferCount.js"), - "rxjs/add/operator/buffer": path.join(dir, "add/operator/buffer.js"), - "rxjs/add/operator/auditTime": path.join(dir, "add/operator/auditTime.js"), - "rxjs/add/operator/audit": path.join(dir, "add/operator/audit.js"), - "rxjs/add/observable/zip": path.join(dir, "add/observable/zip.js"), - "rxjs/add/observable/using": path.join(dir, "add/observable/using.js"), - "rxjs/add/observable/timer": path.join(dir, "add/observable/timer.js"), - "rxjs/add/observable/throw": path.join(dir, "add/observable/throw.js"), - "rxjs/add/observable/range": path.join(dir, "add/observable/range.js"), - "rxjs/add/observable/race": path.join(dir, "add/observable/race.js"), - "rxjs/add/observable/pairs": path.join(dir, "add/observable/pairs.js"), - "rxjs/add/observable/onErrorResumeNext": path.join(dir, "add/observable/onErrorResumeNext.js"), - "rxjs/add/observable/of": path.join(dir, "add/observable/of.js"), - "rxjs/add/observable/never": path.join(dir, "add/observable/never.js"), - "rxjs/add/observable/merge": path.join(dir, "add/observable/merge.js"), - "rxjs/add/observable/interval": path.join(dir, "add/observable/interval.js"), - "rxjs/add/observable/if": path.join(dir, "add/observable/if.js"), - "rxjs/add/observable/generate": path.join(dir, "add/observable/generate.js"), - "rxjs/add/observable/fromPromise": path.join(dir, "add/observable/fromPromise.js"), - "rxjs/add/observable/fromEventPattern": path.join(dir, "add/observable/fromEventPattern.js"), - "rxjs/add/observable/fromEvent": path.join(dir, "add/observable/fromEvent.js"), - "rxjs/add/observable/from": path.join(dir, "add/observable/from.js"), - "rxjs/add/observable/forkJoin": path.join(dir, "add/observable/forkJoin.js"), - "rxjs/add/observable/empty": path.join(dir, "add/observable/empty.js"), - "rxjs/add/observable/dom/webSocket": path.join(dir, "add/observable/dom/webSocket.js"), - "rxjs/add/observable/dom/ajax": path.join(dir, "add/observable/dom/ajax.js"), - "rxjs/add/observable/defer": path.join(dir, "add/observable/defer.js"), - "rxjs/add/observable/concat": path.join(dir, "add/observable/concat.js"), - "rxjs/add/observable/combineLatest": path.join(dir, "add/observable/combineLatest.js"), - "rxjs/add/observable/bindNodeCallback": path.join(dir, "add/observable/bindNodeCallback.js"), - "rxjs/add/observable/bindCallback": path.join(dir, "add/observable/bindCallback.js"), - "rxjs/Subscription": path.join(dir, "Subscription.js"), - "rxjs/Subscriber": path.join(dir, "Subscriber.js"), - "rxjs/SubjectSubscription": path.join(dir, "SubjectSubscription.js"), - "rxjs/Subject": path.join(dir, "Subject.js"), - "rxjs/Scheduler": path.join(dir, "Scheduler.js"), - "rxjs/Rx": path.join(dir, "Rx.js"), - "rxjs/ReplaySubject": path.join(dir, "ReplaySubject.js"), - "rxjs/OuterSubscriber": path.join(dir, "OuterSubscriber.js"), - "rxjs/Operator": path.join(dir, "Operator.js"), - "rxjs/Observer": path.join(dir, "Observer.js"), - "rxjs/Observable": path.join(dir, "Observable.js"), - "rxjs/Notification": path.join(dir, "Notification.js"), - "rxjs/InnerSubscriber": path.join(dir, "InnerSubscriber.js"), - "rxjs/BehaviorSubject": path.join(dir, "BehaviorSubject.js"), - "rxjs/AsyncSubject": path.join(dir, "AsyncSubject.js") -}; -} diff --git a/node_modules/rxjs/_esm2015/scheduler/Action.js b/node_modules/rxjs/_esm2015/scheduler/Action.js deleted file mode 100644 index 9041748c..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/Action.js +++ /dev/null @@ -1,34 +0,0 @@ -import { Subscription } from '../Subscription'; -/** - * A unit of work to be executed in a {@link Scheduler}. An action is typically - * created from within a Scheduler and an RxJS user does not need to concern - * themselves about creating and manipulating an Action. - * - * ```ts - * class Action extends Subscription { - * new (scheduler: Scheduler, work: (state?: T) => void); - * schedule(state?: T, delay: number = 0): Subscription; - * } - * ``` - * - * @class Action - */ -export class Action extends Subscription { - constructor(scheduler, work) { - super(); - } - /** - * Schedules this action on its parent Scheduler for execution. May be passed - * some context object, `state`. May happen at some point in the future, - * according to the `delay` parameter, if specified. - * @param {T} [state] Some contextual data that the `work` function uses when - * called by the Scheduler. - * @param {number} [delay] Time to wait before executing the work, where the - * time unit is implicit and defined by the Scheduler. - * @return {void} - */ - schedule(state, delay = 0) { - return this; - } -} -//# sourceMappingURL=Action.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/Action.js.map b/node_modules/rxjs/_esm2015/scheduler/Action.js.map deleted file mode 100644 index a20818ab..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/Action.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Action.js","sourceRoot":"","sources":["../../src/scheduler/Action.ts"],"names":[],"mappings":"OACO,EAAE,YAAY,EAAE,MAAM,iBAAiB;AAE9C;;;;;;;;;;;;;GAaG;AACH,4BAA+B,YAAY;IACzC,YAAY,SAAoB,EAAE,IAA0C;QAC1E,OAAO,CAAC;IACV,CAAC;IACD;;;;;;;;;OASG;IACI,QAAQ,CAAC,KAAS,EAAE,KAAK,GAAW,CAAC;QAC1C,MAAM,CAAC,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AnimationFrameAction.js b/node_modules/rxjs/_esm2015/scheduler/AnimationFrameAction.js deleted file mode 100644 index 87a3ea6a..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/AnimationFrameAction.js +++ /dev/null @@ -1,44 +0,0 @@ -import { AsyncAction } from './AsyncAction'; -import { AnimationFrame } from '../util/AnimationFrame'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class AnimationFrameAction extends AsyncAction { - constructor(scheduler, work) { - super(scheduler, work); - this.scheduler = scheduler; - this.work = work; - } - requestAsyncId(scheduler, id, delay = 0) { - // If delay is greater than 0, request as an async action. - if (delay !== null && delay > 0) { - return super.requestAsyncId(scheduler, id, delay); - } - // Push the action to the end of the scheduler queue. - scheduler.actions.push(this); - // If an animation frame has already been requested, don't request another - // one. If an animation frame hasn't been requested yet, request one. Return - // the current animation frame request id. - return scheduler.scheduled || (scheduler.scheduled = AnimationFrame.requestAnimationFrame(scheduler.flush.bind(scheduler, null))); - } - recycleAsyncId(scheduler, id, delay = 0) { - // If delay exists and is greater than 0, or if the delay is null (the - // action wasn't rescheduled) but was originally scheduled as an async - // action, then recycle as an async action. - if ((delay !== null && delay > 0) || (delay === null && this.delay > 0)) { - return super.recycleAsyncId(scheduler, id, delay); - } - // If the scheduler queue is empty, cancel the requested animation frame and - // set the scheduled flag to undefined so the next AnimationFrameAction will - // request its own. - if (scheduler.actions.length === 0) { - AnimationFrame.cancelAnimationFrame(id); - scheduler.scheduled = undefined; - } - // Return undefined so the action knows to request a new async id if it's rescheduled. - return undefined; - } -} -//# sourceMappingURL=AnimationFrameAction.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AnimationFrameAction.js.map b/node_modules/rxjs/_esm2015/scheduler/AnimationFrameAction.js.map deleted file mode 100644 index e188c88d..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/AnimationFrameAction.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AnimationFrameAction.js","sourceRoot":"","sources":["../../src/scheduler/AnimationFrameAction.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE,MAAM,eAAe;OACpC,EAAE,cAAc,EAAE,MAAM,wBAAwB;AAGvD;;;;GAIG;AACH,0CAA6C,WAAW;IAEtD,YAAsB,SAAkC,EAClC,IAAwD;QAC5E,MAAM,SAAS,EAAE,IAAI,CAAC,CAAC;QAFH,cAAS,GAAT,SAAS,CAAyB;QAClC,SAAI,GAAJ,IAAI,CAAoD;IAE9E,CAAC;IAES,cAAc,CAAC,SAAkC,EAAE,EAAQ,EAAE,KAAK,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scheduler/AnimationFrameScheduler.js b/node_modules/rxjs/_esm2015/scheduler/AnimationFrameScheduler.js deleted file mode 100644 index cb658cb4..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/AnimationFrameScheduler.js +++ /dev/null @@ -1,25 +0,0 @@ -import { AsyncScheduler } from './AsyncScheduler'; -export class AnimationFrameScheduler extends AsyncScheduler { - flush(action) { - this.active = true; - this.scheduled = undefined; - const { actions } = this; - let error; - let index = -1; - let count = actions.length; - action = action || actions.shift(); - do { - if (error = action.execute(action.state, action.delay)) { - break; - } - } while (++index < count && (action = actions.shift())); - this.active = false; - if (error) { - while (++index < count && (action = actions.shift())) { - action.unsubscribe(); - } - throw error; - } - } -} -//# sourceMappingURL=AnimationFrameScheduler.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AnimationFrameScheduler.js.map b/node_modules/rxjs/_esm2015/scheduler/AnimationFrameScheduler.js.map deleted file mode 100644 index f5b9dd03..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/AnimationFrameScheduler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AnimationFrameScheduler.js","sourceRoot":"","sources":["../../src/scheduler/AnimationFrameScheduler.ts"],"names":[],"mappings":"OACO,EAAE,cAAc,EAAE,MAAM,kBAAkB;AAEjD,6CAA6C,cAAc;IAClD,KAAK,CAAC,MAAyB;QAEpC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAE3B,MAAM,EAAC,OAAO,EAAC,GAAG,IAAI,CAAC;QACvB,IAAI,KAAU,CAAC;QACf,IAAI,KAAK,GAAW,CAAC,CAAC,CAAC;QACvB,IAAI,KAAK,GAAW,OAAO,CAAC,MAAM,CAAC;QACnC,MAAM,GAAG,MAAM,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;QAEnC,GAAG,CAAC;YACF,EAAE,CAAC,CAAC,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBACvD,KAAK,CAAC;YACR,CAAC;QACH,CAAC,QAAQ,EAAE,KAAK,GAAG,KAAK,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,EAAE;QAExD,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QAEpB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;YACV,OAAO,EAAE,KAAK,GAAG,KAAK,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC;gBACrD,MAAM,CAAC,WAAW,EAAE,CAAC;YACvB,CAAC;YACD,MAAM,KAAK,CAAC;QACd,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AsapAction.js b/node_modules/rxjs/_esm2015/scheduler/AsapAction.js deleted file mode 100644 index fad75da7..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/AsapAction.js +++ /dev/null @@ -1,44 +0,0 @@ -import { Immediate } from '../util/Immediate'; -import { AsyncAction } from './AsyncAction'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class AsapAction extends AsyncAction { - constructor(scheduler, work) { - super(scheduler, work); - this.scheduler = scheduler; - this.work = work; - } - requestAsyncId(scheduler, id, delay = 0) { - // If delay is greater than 0, request as an async action. - if (delay !== null && delay > 0) { - return super.requestAsyncId(scheduler, id, delay); - } - // Push the action to the end of the scheduler queue. - scheduler.actions.push(this); - // If a microtask has already been scheduled, don't schedule another - // one. If a microtask hasn't been scheduled yet, schedule one now. Return - // the current scheduled microtask id. - return scheduler.scheduled || (scheduler.scheduled = Immediate.setImmediate(scheduler.flush.bind(scheduler, null))); - } - recycleAsyncId(scheduler, id, delay = 0) { - // If delay exists and is greater than 0, or if the delay is null (the - // action wasn't rescheduled) but was originally scheduled as an async - // action, then recycle as an async action. - if ((delay !== null && delay > 0) || (delay === null && this.delay > 0)) { - return super.recycleAsyncId(scheduler, id, delay); - } - // If the scheduler queue is empty, cancel the requested microtask and - // set the scheduled flag to undefined so the next AsapAction will schedule - // its own. - if (scheduler.actions.length === 0) { - Immediate.clearImmediate(id); - scheduler.scheduled = undefined; - } - // Return undefined so the action knows to request a new async id if it's rescheduled. - return undefined; - } -} -//# sourceMappingURL=AsapAction.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AsapAction.js.map b/node_modules/rxjs/_esm2015/scheduler/AsapAction.js.map deleted file mode 100644 index 13de9b01..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/AsapAction.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AsapAction.js","sourceRoot":"","sources":["../../src/scheduler/AsapAction.ts"],"names":[],"mappings":"OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB;OACtC,EAAE,WAAW,EAAE,MAAM,eAAe;AAG3C;;;;GAIG;AACH,gCAAmC,WAAW;IAE5C,YAAsB,SAAwB,EACxB,IAA8C;QAClE,MAAM,SAAS,EAAE,IAAI,CAAC,CAAC;QAFH,cAAS,GAAT,SAAS,CAAe;QACxB,SAAI,GAAJ,IAAI,CAA0C;IAEpE,CAAC;IAES,cAAc,CAAC,SAAwB,EAAE,EAAQ,EAAE,KAAK,GAAW,CAAC;QAC5E,0DAA0D;QAC1D,EAAE,CAAC,CAAC,KAAK,KAAK,IAAI,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC;YAChC,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC,SAAS,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;QACpD,CAAC;QACD,qDAAqD;QACrD,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC7B,oEAAoE;QACpE,0EAA0E;QAC1E,sCAAsC;QACtC,MAAM,CAAC,SAAS,CAAC,SAAS,IAAI,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC,YAAY,CACzE,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CACtC,CAAC,CAAC;IACL,CAAC;IACS,cAAc,CAAC,SAAwB,EAAE,EAAQ,EAAE,KAAK,GAAW,CAAC;QAC5E,sEAAsE;QACtE,sEAAsE;QACtE,2CAA2C;QAC3C,EAAE,CAAC,CAAC,CAAC,KAAK,KAAK,IAAI,IAAI,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;YACxE,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC,SAAS,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;QACpD,CAAC;QACD,sEAAsE;QACtE,2EAA2E;QAC3E,WAAW;QACX,EAAE,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;YACnC,SAAS,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC;YAC7B,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC;QAClC,CAAC;QACD,sFAAsF;QACtF,MAAM,CAAC,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AsapScheduler.js b/node_modules/rxjs/_esm2015/scheduler/AsapScheduler.js deleted file mode 100644 index d4f637de..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/AsapScheduler.js +++ /dev/null @@ -1,25 +0,0 @@ -import { AsyncScheduler } from './AsyncScheduler'; -export class AsapScheduler extends AsyncScheduler { - flush(action) { - this.active = true; - this.scheduled = undefined; - const { actions } = this; - let error; - let index = -1; - let count = actions.length; - action = action || actions.shift(); - do { - if (error = action.execute(action.state, action.delay)) { - break; - } - } while (++index < count && (action = actions.shift())); - this.active = false; - if (error) { - while (++index < count && (action = actions.shift())) { - action.unsubscribe(); - } - throw error; - } - } -} -//# sourceMappingURL=AsapScheduler.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AsapScheduler.js.map b/node_modules/rxjs/_esm2015/scheduler/AsapScheduler.js.map deleted file mode 100644 index c94e4ce5..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/AsapScheduler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AsapScheduler.js","sourceRoot":"","sources":["../../src/scheduler/AsapScheduler.ts"],"names":[],"mappings":"OACO,EAAE,cAAc,EAAE,MAAM,kBAAkB;AAEjD,mCAAmC,cAAc;IACxC,KAAK,CAAC,MAAyB;QAEpC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAE3B,MAAM,EAAC,OAAO,EAAC,GAAG,IAAI,CAAC;QACvB,IAAI,KAAU,CAAC;QACf,IAAI,KAAK,GAAW,CAAC,CAAC,CAAC;QACvB,IAAI,KAAK,GAAW,OAAO,CAAC,MAAM,CAAC;QACnC,MAAM,GAAG,MAAM,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;QAEnC,GAAG,CAAC;YACF,EAAE,CAAC,CAAC,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBACvD,KAAK,CAAC;YACR,CAAC;QACH,CAAC,QAAQ,EAAE,KAAK,GAAG,KAAK,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,EAAE;QAExD,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QAEpB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;YACV,OAAO,EAAE,KAAK,GAAG,KAAK,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC;gBACrD,MAAM,CAAC,WAAW,EAAE,CAAC;YACvB,CAAC;YACD,MAAM,KAAK,CAAC;QACd,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AsyncAction.js b/node_modules/rxjs/_esm2015/scheduler/AsyncAction.js deleted file mode 100644 index 518bae6f..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/AsyncAction.js +++ /dev/null @@ -1,130 +0,0 @@ -import { root } from '../util/root'; -import { Action } from './Action'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class AsyncAction extends Action { - constructor(scheduler, work) { - super(scheduler, work); - this.scheduler = scheduler; - this.work = work; - this.pending = false; - } - schedule(state, delay = 0) { - if (this.closed) { - return this; - } - // Always replace the current state with the new state. - this.state = state; - // Set the pending flag indicating that this action has been scheduled, or - // has recursively rescheduled itself. - this.pending = true; - const id = this.id; - const scheduler = this.scheduler; - // - // Important implementation note: - // - // Actions only execute once by default, unless rescheduled from within the - // scheduled callback. This allows us to implement single and repeat - // actions via the same code path, without adding API surface area, as well - // as mimic traditional recursion but across asynchronous boundaries. - // - // However, JS runtimes and timers distinguish between intervals achieved by - // serial `setTimeout` calls vs. a single `setInterval` call. An interval of - // serial `setTimeout` calls can be individually delayed, which delays - // scheduling the next `setTimeout`, and so on. `setInterval` attempts to - // guarantee the interval callback will be invoked more precisely to the - // interval period, regardless of load. - // - // Therefore, we use `setInterval` to schedule single and repeat actions. - // If the action reschedules itself with the same delay, the interval is not - // canceled. If the action doesn't reschedule, or reschedules with a - // different delay, the interval will be canceled after scheduled callback - // execution. - // - if (id != null) { - this.id = this.recycleAsyncId(scheduler, id, delay); - } - this.delay = delay; - // If this action has already an async Id, don't request a new one. - this.id = this.id || this.requestAsyncId(scheduler, this.id, delay); - return this; - } - requestAsyncId(scheduler, id, delay = 0) { - return root.setInterval(scheduler.flush.bind(scheduler, this), delay); - } - recycleAsyncId(scheduler, id, delay = 0) { - // If this action is rescheduled with the same delay time, don't clear the interval id. - if (delay !== null && this.delay === delay && this.pending === false) { - return id; - } - // Otherwise, if the action's delay time is different from the current delay, - // or the action has been rescheduled before it's executed, clear the interval id - return root.clearInterval(id) && undefined || undefined; - } - /** - * Immediately executes this action and the `work` it contains. - * @return {any} - */ - execute(state, delay) { - if (this.closed) { - return new Error('executing a cancelled action'); - } - this.pending = false; - const error = this._execute(state, delay); - if (error) { - return error; - } - else if (this.pending === false && this.id != null) { - // Dequeue if the action didn't reschedule itself. Don't call - // unsubscribe(), because the action could reschedule later. - // For example: - // ``` - // scheduler.schedule(function doWork(counter) { - // /* ... I'm a busy worker bee ... */ - // var originalAction = this; - // /* wait 100ms before rescheduling the action */ - // setTimeout(function () { - // originalAction.schedule(counter + 1); - // }, 100); - // }, 1000); - // ``` - this.id = this.recycleAsyncId(this.scheduler, this.id, null); - } - } - _execute(state, delay) { - let errored = false; - let errorValue = undefined; - try { - this.work(state); - } - catch (e) { - errored = true; - errorValue = !!e && e || new Error(e); - } - if (errored) { - this.unsubscribe(); - return errorValue; - } - } - _unsubscribe() { - const id = this.id; - const scheduler = this.scheduler; - const actions = scheduler.actions; - const index = actions.indexOf(this); - this.work = null; - this.state = null; - this.pending = false; - this.scheduler = null; - if (index !== -1) { - actions.splice(index, 1); - } - if (id != null) { - this.id = this.recycleAsyncId(scheduler, id, null); - } - this.delay = null; - } -} -//# sourceMappingURL=AsyncAction.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AsyncAction.js.map b/node_modules/rxjs/_esm2015/scheduler/AsyncAction.js.map deleted file mode 100644 index 50363ac6..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/AsyncAction.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AsyncAction.js","sourceRoot":"","sources":["../../src/scheduler/AsyncAction.ts"],"names":[],"mappings":"OAAO,EAAE,IAAI,EAAE,MAAM,cAAc;OAC5B,EAAE,MAAM,EAAE,MAAM,UAAU;AAIjC;;;;GAIG;AACH,iCAAoC,MAAM;IAOxC,YAA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AAC,CAAC,EAAE,IAAI,IAAI,CAAC,CAAC,CAAC;YACf,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,cAAc,CAAC,SAAS,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;QACrD,CAAC;QAED,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;IACpB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AsyncScheduler.js b/node_modules/rxjs/_esm2015/scheduler/AsyncScheduler.js deleted file mode 100644 index 059afe1e..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/AsyncScheduler.js +++ /dev/null @@ -1,42 +0,0 @@ -import { Scheduler } from '../Scheduler'; -export class AsyncScheduler extends Scheduler { - constructor() { - super(...arguments); - this.actions = []; - /** - * A flag to indicate whether the Scheduler is currently executing a batch of - * queued actions. - * @type {boolean} - */ - this.active = false; - /** - * An internal ID used to track the latest asynchronous task such as those - * coming from `setTimeout`, `setInterval`, `requestAnimationFrame`, and - * others. - * @type {any} - */ - this.scheduled = undefined; - } - flush(action) { - const { actions } = this; - if (this.active) { - actions.push(action); - return; - } - let error; - this.active = true; - do { - if (error = action.execute(action.state, action.delay)) { - break; - } - } while (action = actions.shift()); // exhaust the scheduler queue - this.active = false; - if (error) { - while (action = actions.shift()) { - action.unsubscribe(); - } - throw error; - } - } -} -//# sourceMappingURL=AsyncScheduler.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/AsyncScheduler.js.map b/node_modules/rxjs/_esm2015/scheduler/AsyncScheduler.js.map deleted file mode 100644 index 0ee89044..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/AsyncScheduler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AsyncScheduler.js","sourceRoot":"","sources":["../../src/scheduler/AsyncScheduler.ts"],"names":[],"mappings":"OAAO,EAAE,SAAS,EAAE,MAAM,cAAc;AAGxC,oCAAoC,SAAS;IAA7C;QAAoC,oBAAS;QACpC,YAAO,GAA4B,EAAE,CAAC;QAC7C;;;;WAIG;QACI,WAAM,GAAY,KAAK,CAAC;QAC/B;;;;;WAKG;QACI,cAAS,GAAQ,SAAS,CAAC;IA6BpC,CAAC;IA3BQ,KAAK,CAAC,MAAwB;QAEnC,MAAM,EAAC,OAAO,EAAC,GAAG,IAAI,CAAC;QAEvB,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YAChB,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YACrB,MAAM,CAAC;QACT,CAAC;QAED,IAAI,KAAU,CAAC;QACf,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QAEnB,GAAG,CAAC;YACF,EAAE,CAAC,CAAC,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBACvD,KAAK,CAAC;YACR,CAAC;QACH,CAAC,QAAQ,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,8BAA8B;QAElE,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QAEpB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;YACV,OAAO,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC;gBAChC,MAAM,CAAC,WAAW,EAAE,CAAC;YACvB,CAAC;YACD,MAAM,KAAK,CAAC;QACd,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/QueueAction.js b/node_modules/rxjs/_esm2015/scheduler/QueueAction.js deleted file mode 100644 index d3642163..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/QueueAction.js +++ /dev/null @@ -1,38 +0,0 @@ -import { AsyncAction } from './AsyncAction'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class QueueAction extends AsyncAction { - constructor(scheduler, work) { - super(scheduler, work); - this.scheduler = scheduler; - this.work = work; - } - schedule(state, delay = 0) { - if (delay > 0) { - return super.schedule(state, delay); - } - this.delay = delay; - this.state = state; - this.scheduler.flush(this); - return this; - } - execute(state, delay) { - return (delay > 0 || this.closed) ? - super.execute(state, delay) : - this._execute(state, delay); - } - requestAsyncId(scheduler, id, delay = 0) { - // If delay exists and is greater than 0, or if the delay is null (the - // action wasn't rescheduled) but was originally scheduled as an async - // action, then recycle as an async action. - if ((delay !== null && delay > 0) || (delay === null && this.delay > 0)) { - return super.requestAsyncId(scheduler, id, delay); - } - // Otherwise flush the scheduler starting with this action. - return scheduler.flush(this); - } -} -//# sourceMappingURL=QueueAction.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/QueueAction.js.map b/node_modules/rxjs/_esm2015/scheduler/QueueAction.js.map deleted file mode 100644 index 04050e5d..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/QueueAction.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"QueueAction.js","sourceRoot":"","sources":["../../src/scheduler/QueueAction.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE,MAAM,eAAe;AAI3C;;;;GAIG;AACH,iCAAoC,WAAW;IAE7C,YAAsB,SAAyB,EACzB,IAA+C;QACnE,MAAM,SAAS,EAAE,IAAI,CAAC,CAAC;QAFH,cAAS,GAAT,SAAS,CAAgB;QACzB,SAAI,GAAJ,IAAI,CAA2C;IAErE,CAAC;IAEM,QAAQ,CAAC,KAAS,EAAE,KAAK,GAAW,CAAC;QAC1C,EAAE,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC;YACd,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QACtC,CAAC;QACD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAC3B,MAAM,CAAC,IAAI,CAAC;IACd,CAAC;IAEM,OAAO,CAAC,KAAQ,EAAE,KAAa;QACpC,MAAM,CAAC,CAAC,KAAK,GAAG,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC;YAC/B,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;YAC3B,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAE;IACjC,CAAC;IAES,cAAc,CAAC,SAAyB,EAAE,EAAQ,EAAE,KAAK,GAAW,CAAC;QAC7E,sEAAsE;QACtE,sEAAsE;QACtE,2CAA2C;QAC3C,EAAE,CAAC,CAAC,CAAC,KAAK,KAAK,IAAI,IAAI,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;YACxE,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC,SAAS,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;QACpD,CAAC;QACD,2DAA2D;QAC3D,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/QueueScheduler.js b/node_modules/rxjs/_esm2015/scheduler/QueueScheduler.js deleted file mode 100644 index cc1fb4d5..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/QueueScheduler.js +++ /dev/null @@ -1,4 +0,0 @@ -import { AsyncScheduler } from './AsyncScheduler'; -export class QueueScheduler extends AsyncScheduler { -} -//# sourceMappingURL=QueueScheduler.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/QueueScheduler.js.map b/node_modules/rxjs/_esm2015/scheduler/QueueScheduler.js.map deleted file mode 100644 index cf4147fc..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/QueueScheduler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"QueueScheduler.js","sourceRoot":"","sources":["../../src/scheduler/QueueScheduler.ts"],"names":[],"mappings":"OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB;AAEjD,oCAAoC,cAAc;AAClD,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/VirtualTimeScheduler.js b/node_modules/rxjs/_esm2015/scheduler/VirtualTimeScheduler.js deleted file mode 100644 index 0e6af1de..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/VirtualTimeScheduler.js +++ /dev/null @@ -1,94 +0,0 @@ -import { AsyncAction } from './AsyncAction'; -import { AsyncScheduler } from './AsyncScheduler'; -export class VirtualTimeScheduler extends AsyncScheduler { - constructor(SchedulerAction = VirtualAction, maxFrames = Number.POSITIVE_INFINITY) { - super(SchedulerAction, () => this.frame); - this.maxFrames = maxFrames; - this.frame = 0; - this.index = -1; - } - /** - * Prompt the Scheduler to execute all of its queued actions, therefore - * clearing its queue. - * @return {void} - */ - flush() { - const { actions, maxFrames } = this; - let error, action; - while ((action = actions.shift()) && (this.frame = action.delay) <= maxFrames) { - if (error = action.execute(action.state, action.delay)) { - break; - } - } - if (error) { - while (action = actions.shift()) { - action.unsubscribe(); - } - throw error; - } - } -} -VirtualTimeScheduler.frameTimeFactor = 10; -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class VirtualAction extends AsyncAction { - constructor(scheduler, work, index = scheduler.index += 1) { - super(scheduler, work); - this.scheduler = scheduler; - this.work = work; - this.index = index; - this.active = true; - this.index = scheduler.index = index; - } - schedule(state, delay = 0) { - if (!this.id) { - return super.schedule(state, delay); - } - this.active = false; - // If an action is rescheduled, we save allocations by mutating its state, - // pushing it to the end of the scheduler queue, and recycling the action. - // But since the VirtualTimeScheduler is used for testing, VirtualActions - // must be immutable so they can be inspected later. - const action = new VirtualAction(this.scheduler, this.work); - this.add(action); - return action.schedule(state, delay); - } - requestAsyncId(scheduler, id, delay = 0) { - this.delay = scheduler.frame + delay; - const { actions } = scheduler; - actions.push(this); - actions.sort(VirtualAction.sortActions); - return true; - } - recycleAsyncId(scheduler, id, delay = 0) { - return undefined; - } - _execute(state, delay) { - if (this.active === true) { - return super._execute(state, delay); - } - } - static sortActions(a, b) { - if (a.delay === b.delay) { - if (a.index === b.index) { - return 0; - } - else if (a.index > b.index) { - return 1; - } - else { - return -1; - } - } - else if (a.delay > b.delay) { - return 1; - } - else { - return -1; - } - } -} -//# sourceMappingURL=VirtualTimeScheduler.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/VirtualTimeScheduler.js.map b/node_modules/rxjs/_esm2015/scheduler/VirtualTimeScheduler.js.map deleted file mode 100644 index 174a91ee..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/VirtualTimeScheduler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"VirtualTimeScheduler.js","sourceRoot":"","sources":["../../src/scheduler/VirtualTimeScheduler.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE,MAAM,eAAe;OAEpC,EAAE,cAAc,EAAE,MAAM,kBAAkB;AAEjD,0CAA0C,cAAc;IAOtD,YAAY,eAAe,GAAuB,aAAa,EAC5C,SAAS,GAAW,MAAM,CAAC,iBAAiB;QAC7D,MAAM,eAAe,EAAE,MAAM,IAAI,CAAC,KAAK,CAAC,CAAC;QADxB,cAAS,GAAT,SAAS,CAAmC;QAJxD,UAAK,GAAW,CAAC,CAAC;QAClB,UAAK,GAAW,CAAC,CAAC,CAAC;IAK1B,CAAC;IAED;;;;OAIG;IACI,KAAK;QAEV,MAAM,EAAC,OAAO,EAAE,SAAS,EAAC,GAAG,IAAI,CAAC;QAClC,IAAI,KAAU,EAAE,MAAwB,CAAC;QAEzC,OAAO,CAAC,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,IAAI,SAAS,EAA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,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;YAC7B,MAAM,CAAC,CAAC,CAAC;QACX,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,MAAM,CAAC,CAAC,CAAC,CAAC;QACZ,CAAC;IACH,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/animationFrame.js b/node_modules/rxjs/_esm2015/scheduler/animationFrame.js deleted file mode 100644 index a438fb54..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/animationFrame.js +++ /dev/null @@ -1,34 +0,0 @@ -import { AnimationFrameAction } from './AnimationFrameAction'; -import { AnimationFrameScheduler } from './AnimationFrameScheduler'; -/** - * - * Animation Frame Scheduler - * - * Perform task when `window.requestAnimationFrame` would fire - * - * When `animationFrame` scheduler is used with delay, it will fall back to {@link async} scheduler - * behaviour. - * - * Without delay, `animationFrame` scheduler can be used to create smooth browser animations. - * It makes sure scheduled task will happen just before next browser content repaint, - * thus performing animations as efficiently as possible. - * - * @example Schedule div height animation - * const div = document.querySelector('.some-div'); - * - * Rx.Scheduler.schedule(function(height) { - * div.style.height = height + "px"; - * - * this.schedule(height + 1); // `this` references currently executing Action, - * // which we reschedule with new state - * }, 0, 0); - * - * // You will see .some-div element growing in height - * - * - * @static true - * @name animationFrame - * @owner Scheduler - */ -export const animationFrame = new AnimationFrameScheduler(AnimationFrameAction); -//# sourceMappingURL=animationFrame.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/animationFrame.js.map b/node_modules/rxjs/_esm2015/scheduler/animationFrame.js.map deleted file mode 100644 index 1860229e..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/animationFrame.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"animationFrame.js","sourceRoot":"","sources":["../../src/scheduler/animationFrame.ts"],"names":[],"mappings":"OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB;OACtD,EAAE,uBAAuB,EAAE,MAAM,2BAA2B;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,MAAM,cAAc,GAAG,IAAI,uBAAuB,CAAC,oBAAoB,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/asap.js b/node_modules/rxjs/_esm2015/scheduler/asap.js deleted file mode 100644 index 03524308..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/asap.js +++ /dev/null @@ -1,38 +0,0 @@ -import { AsapAction } from './AsapAction'; -import { AsapScheduler } from './AsapScheduler'; -/** - * - * Asap Scheduler - * - * Perform task as fast as it can be performed asynchronously - * - * `asap` scheduler behaves the same as {@link async} scheduler when you use it to delay task - * in time. If however you set delay to `0`, `asap` will wait for current synchronously executing - * code to end and then it will try to execute given task as fast as possible. - * - * `asap` scheduler will do its best to minimize time between end of currently executing code - * and start of scheduled task. This makes it best candidate for performing so called "deferring". - * Traditionally this was achieved by calling `setTimeout(deferredTask, 0)`, but that technique involves - * some (although minimal) unwanted delay. - * - * Note that using `asap` scheduler does not necessarily mean that your task will be first to process - * after currently executing code. In particular, if some task was also scheduled with `asap` before, - * that task will execute first. That being said, if you need to schedule task asynchronously, but - * as soon as possible, `asap` scheduler is your best bet. - * - * @example Compare async and asap scheduler - * - * Rx.Scheduler.async.schedule(() => console.log('async')); // scheduling 'async' first... - * Rx.Scheduler.asap.schedule(() => console.log('asap')); - * - * // Logs: - * // "asap" - * // "async" - * // ... but 'asap' goes first! - * - * @static true - * @name asap - * @owner Scheduler - */ -export const asap = new AsapScheduler(AsapAction); -//# sourceMappingURL=asap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/asap.js.map b/node_modules/rxjs/_esm2015/scheduler/asap.js.map deleted file mode 100644 index 0dcdbd90..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/asap.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"asap.js","sourceRoot":"","sources":["../../src/scheduler/asap.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,cAAc;OAClC,EAAE,aAAa,EAAE,MAAM,iBAAiB;AAE/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,OAAO,MAAM,IAAI,GAAG,IAAI,aAAa,CAAC,UAAU,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/async.js b/node_modules/rxjs/_esm2015/scheduler/async.js deleted file mode 100644 index ead77af2..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/async.js +++ /dev/null @@ -1,46 +0,0 @@ -import { AsyncAction } from './AsyncAction'; -import { AsyncScheduler } from './AsyncScheduler'; -/** - * - * Async Scheduler - * - * Schedule task as if you used setTimeout(task, duration) - * - * `async` scheduler schedules tasks asynchronously, by putting them on the JavaScript - * event loop queue. It is best used to delay tasks in time or to schedule tasks repeating - * in intervals. - * - * If you just want to "defer" task, that is to perform it right after currently - * executing synchronous code ends (commonly achieved by `setTimeout(deferredTask, 0)`), - * better choice will be the {@link asap} scheduler. - * - * @example Use async scheduler to delay task - * const task = () => console.log('it works!'); - * - * Rx.Scheduler.async.schedule(task, 2000); - * - * // After 2 seconds logs: - * // "it works!" - * - * - * @example Use async scheduler to repeat task in intervals - * function task(state) { - * console.log(state); - * this.schedule(state + 1, 1000); // `this` references currently executing Action, - * // which we reschedule with new state and delay - * } - * - * Rx.Scheduler.async.schedule(task, 3000, 0); - * - * // Logs: - * // 0 after 3s - * // 1 after 4s - * // 2 after 5s - * // 3 after 6s - * - * @static true - * @name async - * @owner Scheduler - */ -export const async = new AsyncScheduler(AsyncAction); -//# sourceMappingURL=async.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/async.js.map b/node_modules/rxjs/_esm2015/scheduler/async.js.map deleted file mode 100644 index 17d999f3..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/async.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"async.js","sourceRoot":"","sources":["../../src/scheduler/async.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE,MAAM,eAAe;OACpC,EAAE,cAAc,EAAE,MAAM,kBAAkB;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAEH,OAAO,MAAM,KAAK,GAAG,IAAI,cAAc,CAAC,WAAW,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/queue.js b/node_modules/rxjs/_esm2015/scheduler/queue.js deleted file mode 100644 index 379be46a..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/queue.js +++ /dev/null @@ -1,65 +0,0 @@ -import { QueueAction } from './QueueAction'; -import { QueueScheduler } from './QueueScheduler'; -/** - * - * Queue Scheduler - * - * Put every next task on a queue, instead of executing it immediately - * - * `queue` scheduler, when used with delay, behaves the same as {@link async} scheduler. - * - * When used without delay, it schedules given task synchronously - executes it right when - * it is scheduled. However when called recursively, that is when inside the scheduled task, - * another task is scheduled with queue scheduler, instead of executing immediately as well, - * that task will be put on a queue and wait for current one to finish. - * - * This means that when you execute task with `queue` scheduler, you are sure it will end - * before any other task scheduled with that scheduler will start. - * - * @examples Schedule recursively first, then do something - * - * Rx.Scheduler.queue.schedule(() => { - * Rx.Scheduler.queue.schedule(() => console.log('second')); // will not happen now, but will be put on a queue - * - * console.log('first'); - * }); - * - * // Logs: - * // "first" - * // "second" - * - * - * @example Reschedule itself recursively - * - * Rx.Scheduler.queue.schedule(function(state) { - * if (state !== 0) { - * console.log('before', state); - * this.schedule(state - 1); // `this` references currently executing Action, - * // which we reschedule with new state - * console.log('after', state); - * } - * }, 0, 3); - * - * // In scheduler that runs recursively, you would expect: - * // "before", 3 - * // "before", 2 - * // "before", 1 - * // "after", 1 - * // "after", 2 - * // "after", 3 - * - * // But with queue it logs: - * // "before", 3 - * // "after", 3 - * // "before", 2 - * // "after", 2 - * // "before", 1 - * // "after", 1 - * - * - * @static true - * @name queue - * @owner Scheduler - */ -export const queue = new QueueScheduler(QueueAction); -//# sourceMappingURL=queue.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/scheduler/queue.js.map b/node_modules/rxjs/_esm2015/scheduler/queue.js.map deleted file mode 100644 index 62ac9511..00000000 --- a/node_modules/rxjs/_esm2015/scheduler/queue.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"queue.js","sourceRoot":"","sources":["../../src/scheduler/queue.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE,MAAM,eAAe;OACpC,EAAE,cAAc,EAAE,MAAM,kBAAkB;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AAEH,OAAO,MAAM,KAAK,GAAG,IAAI,cAAc,CAAC,WAAW,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/symbol/iterator.js b/node_modules/rxjs/_esm2015/symbol/iterator.js deleted file mode 100644 index 01a5b678..00000000 --- a/node_modules/rxjs/_esm2015/symbol/iterator.js +++ /dev/null @@ -1,36 +0,0 @@ -import { root } from '../util/root'; -export function symbolIteratorPonyfill(root) { - const Symbol = root.Symbol; - if (typeof Symbol === 'function') { - if (!Symbol.iterator) { - Symbol.iterator = Symbol('iterator polyfill'); - } - return Symbol.iterator; - } - else { - // [for Mozilla Gecko 27-35:](https://mzl.la/2ewE1zC) - const { Set } = root; - if (Set && typeof new Set()['@@iterator'] === 'function') { - return '@@iterator'; - } - const { Map } = root; - // required for compatability with es6-shim - if (Map) { - let keys = Object.getOwnPropertyNames(Map.prototype); - for (let i = 0; i < keys.length; ++i) { - let key = keys[i]; - // according to spec, Map.prototype[@@iterator] and Map.orototype.entries must be equal. - if (key !== 'entries' && key !== 'size' && Map.prototype[key] === Map.prototype['entries']) { - return key; - } - } - } - return '@@iterator'; - } -} -export const iterator = symbolIteratorPonyfill(root); -/** - * @deprecated use iterator instead - */ -export const $$iterator = iterator; -//# sourceMappingURL=iterator.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/symbol/iterator.js.map b/node_modules/rxjs/_esm2015/symbol/iterator.js.map deleted file mode 100644 index f03cb83f..00000000 --- a/node_modules/rxjs/_esm2015/symbol/iterator.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"iterator.js","sourceRoot":"","sources":["../../src/symbol/iterator.ts"],"names":[],"mappings":"OAAO,EAAE,IAAI,EAAE,MAAM,cAAc;AAEnC,uCAAuC,IAAS;IAC9C,MAAM,MAAM,GAAQ,IAAI,CAAC,MAAM,CAAC;IAEhC,EAAE,CAAC,CAAC,OAAO,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC;QACjC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;YACrB,MAAM,CAAC,QAAQ,GAAG,MAAM,CAAC,mBAAmB,CAAC,CAAC;QAChD,CAAC;QACD,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC;IACzB,CAAC;IAAC,IAAI,CAAC,CAAC;QACN,qDAAqD;QACrD,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;QACrB,EAAE,CAAC,CAAC,GAAG,IAAI,OAAO,IAAI,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC;YACzD,MAAM,CAAC,YAAY,CAAC;QACtB,CAAC;QACD,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;QACrB,2CAA2C;QAC3C,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACR,IAAI,IAAI,GAAG,MAAM,CAAC,mBAAmB,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;YACrD,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC;gBACrC,IAAI,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;gBAClB,wFAAwF;gBACxF,EAAE,CAAC,CAAC,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,MAAM,IAAI,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;oBAC3F,MAAM,CAAC,GAAG,CAAC;gBACb,CAAC;YACH,CAAC;QACH,CAAC;QACD,MAAM,CAAC,YAAY,CAAC;IACtB,CAAC;AACH,CAAC;AAED,OAAO,MAAM,QAAQ,GAAG,sBAAsB,CAAC,IAAI,CAAC,CAAC;AAErD;;GAEG;AACH,OAAO,MAAM,UAAU,GAAG,QAAQ,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/symbol/observable.js b/node_modules/rxjs/_esm2015/symbol/observable.js deleted file mode 100644 index 9ae6dd95..00000000 --- a/node_modules/rxjs/_esm2015/symbol/observable.js +++ /dev/null @@ -1,24 +0,0 @@ -import { root } from '../util/root'; -export function getSymbolObservable(context) { - let $$observable; - let Symbol = context.Symbol; - if (typeof Symbol === 'function') { - if (Symbol.observable) { - $$observable = Symbol.observable; - } - else { - $$observable = Symbol('observable'); - Symbol.observable = $$observable; - } - } - else { - $$observable = '@@observable'; - } - return $$observable; -} -export const observable = getSymbolObservable(root); -/** - * @deprecated use observable instead - */ -export const $$observable = observable; -//# sourceMappingURL=observable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/symbol/observable.js.map b/node_modules/rxjs/_esm2015/symbol/observable.js.map deleted file mode 100644 index f94361be..00000000 --- a/node_modules/rxjs/_esm2015/symbol/observable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"observable.js","sourceRoot":"","sources":["../../src/symbol/observable.ts"],"names":[],"mappings":"OAAO,EAAE,IAAI,EAAE,MAAM,cAAc;AAEnC,oCAAoC,OAAY;IAC9C,IAAI,YAAiB,CAAC;IACtB,IAAI,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAE5B,EAAE,CAAC,CAAC,OAAO,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC;QACjC,EAAE,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC;YACtB,YAAY,GAAG,MAAM,CAAC,UAAU,CAAC;QACnC,CAAC;QAAC,IAAI,CAAC,CAAC;YACJ,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;YACpC,MAAM,CAAC,UAAU,GAAG,YAAY,CAAC;QACrC,CAAC;IACH,CAAC;IAAC,IAAI,CAAC,CAAC;QACN,YAAY,GAAG,cAAc,CAAC;IAChC,CAAC;IAED,MAAM,CAAC,YAAY,CAAC;AACtB,CAAC;AAED,OAAO,MAAM,UAAU,GAAG,mBAAmB,CAAC,IAAI,CAAC,CAAC;AAEpD;;GAEG;AACH,OAAO,MAAM,YAAY,GAAG,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/symbol/rxSubscriber.js b/node_modules/rxjs/_esm2015/symbol/rxSubscriber.js deleted file mode 100644 index c1cf0140..00000000 --- a/node_modules/rxjs/_esm2015/symbol/rxSubscriber.js +++ /dev/null @@ -1,9 +0,0 @@ -import { root } from '../util/root'; -const Symbol = root.Symbol; -export const rxSubscriber = (typeof Symbol === 'function' && typeof Symbol.for === 'function') ? - Symbol.for('rxSubscriber') : '@@rxSubscriber'; -/** - * @deprecated use rxSubscriber instead - */ -export const $$rxSubscriber = rxSubscriber; -//# sourceMappingURL=rxSubscriber.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/symbol/rxSubscriber.js.map b/node_modules/rxjs/_esm2015/symbol/rxSubscriber.js.map deleted file mode 100644 index 99a1185c..00000000 --- a/node_modules/rxjs/_esm2015/symbol/rxSubscriber.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"rxSubscriber.js","sourceRoot":"","sources":["../../src/symbol/rxSubscriber.ts"],"names":[],"mappings":"OAAO,EAAE,IAAI,EAAE,MAAM,cAAc;AAEnC,MAAM,MAAM,GAAQ,IAAI,CAAC,MAAM,CAAC;AAEhC,OAAO,MAAM,YAAY,GAAG,CAAC,OAAO,MAAM,KAAK,UAAU,IAAI,OAAO,MAAM,CAAC,GAAG,KAAK,UAAU,CAAC;IAC5F,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC,GAAG,gBAAgB,CAAC;AAEhD;;GAEG;AACH,OAAO,MAAM,cAAc,GAAG,YAAY,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/ColdObservable.js b/node_modules/rxjs/_esm2015/testing/ColdObservable.js deleted file mode 100644 index 7976f930..00000000 --- a/node_modules/rxjs/_esm2015/testing/ColdObservable.js +++ /dev/null @@ -1,34 +0,0 @@ -import { Observable } from '../Observable'; -import { Subscription } from '../Subscription'; -import { SubscriptionLoggable } from './SubscriptionLoggable'; -import { applyMixins } from '../util/applyMixins'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class ColdObservable extends Observable { - constructor(messages, scheduler) { - super(function (subscriber) { - const observable = this; - const index = observable.logSubscribedFrame(); - subscriber.add(new Subscription(() => { - observable.logUnsubscribedFrame(index); - })); - observable.scheduleMessages(subscriber); - return subscriber; - }); - this.messages = messages; - this.subscriptions = []; - this.scheduler = scheduler; - } - scheduleMessages(subscriber) { - const messagesLength = this.messages.length; - for (let i = 0; i < messagesLength; i++) { - const message = this.messages[i]; - subscriber.add(this.scheduler.schedule(({ message, subscriber }) => { message.notification.observe(subscriber); }, message.frame, { message, subscriber })); - } - } -} -applyMixins(ColdObservable, [SubscriptionLoggable]); -//# sourceMappingURL=ColdObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/ColdObservable.js.map b/node_modules/rxjs/_esm2015/testing/ColdObservable.js.map deleted file mode 100644 index bd0f2269..00000000 --- a/node_modules/rxjs/_esm2015/testing/ColdObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ColdObservable.js","sourceRoot":"","sources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AAU,EAAC,CAAC,CACzB,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC;AACD,WAAW,CAAC,cAAc,EAAE,CAAC,oBAAoB,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/HotObservable.js b/node_modules/rxjs/_esm2015/testing/HotObservable.js deleted file mode 100644 index 34c9b00c..00000000 --- a/node_modules/rxjs/_esm2015/testing/HotObservable.js +++ /dev/null @@ -1,39 +0,0 @@ -import { Subject } from '../Subject'; -import { Subscription } from '../Subscription'; -import { SubscriptionLoggable } from './SubscriptionLoggable'; -import { applyMixins } from '../util/applyMixins'; -/** - * We need this JSDoc comment for affecting ESDoc. - * @ignore - * @extends {Ignored} - */ -export class HotObservable extends Subject { - constructor(messages, scheduler) { - super(); - this.messages = messages; - this.subscriptions = []; - this.scheduler = scheduler; - } - _subscribe(subscriber) { - const subject = this; - const index = subject.logSubscribedFrame(); - subscriber.add(new Subscription(() => { - subject.logUnsubscribedFrame(index); - })); - return super._subscribe(subscriber); - } - setup() { - const subject = this; - const messagesLength = subject.messages.length; - /* tslint:disable:no-var-keyword */ - for (var i = 0; i < messagesLength; i++) { - (() => { - var message = subject.messages[i]; - /* tslint:enable */ - subject.scheduler.schedule(() => { message.notification.observe(subject); }, message.frame); - })(); - } - } -} -applyMixins(HotObservable, [SubscriptionLoggable]); -//# sourceMappingURL=HotObservable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/HotObservable.js.map b/node_modules/rxjs/_esm2015/testing/HotObservable.js.map deleted file mode 100644 index d2719fae..00000000 --- a/node_modules/rxjs/_esm2015/testing/HotObservable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"HotObservable.js","sourceRoot":"","sources":["../../src/testing/HotObservable.ts"],"names":[],"mappings":"OAAO,EAAE,OAAO,EAAE,MAAM,YAAY;OAE7B,EAAE,YAAY,EAAE,MAAM,iBAAiB;OAIvC,EAAE,oBAAoB,EAAE,MAAM,wB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/node_modules/rxjs/_esm2015/testing/SubscriptionLog.js deleted file mode 100644 index c421751b..00000000 --- a/node_modules/rxjs/_esm2015/testing/SubscriptionLog.js +++ /dev/null @@ -1,7 +0,0 @@ -export class SubscriptionLog { - constructor(subscribedFrame, unsubscribedFrame = Number.POSITIVE_INFINITY) { - this.subscribedFrame = subscribedFrame; - this.unsubscribedFrame = unsubscribedFrame; - } -} -//# sourceMappingURL=SubscriptionLog.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/SubscriptionLog.js.map b/node_modules/rxjs/_esm2015/testing/SubscriptionLog.js.map deleted file mode 100644 index 289ca5b3..00000000 --- a/node_modules/rxjs/_esm2015/testing/SubscriptionLog.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SubscriptionLog.js","sourceRoot":"","sources":["../../src/testing/SubscriptionLog.ts"],"names":[],"mappings":"AAAA;IACE,YAAmB,eAAuB,EACvB,iBAAiB,GAAW,MAAM,CAAC,iBAAiB;QADpD,oBAAe,GAAf,eAAe,CAAQ;QACvB,sBAAiB,GAAjB,iBAAiB,CAAmC;IACvE,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/SubscriptionLoggable.js b/node_modules/rxjs/_esm2015/testing/SubscriptionLoggable.js deleted file mode 100644 index 08a00d72..00000000 --- a/node_modules/rxjs/_esm2015/testing/SubscriptionLoggable.js +++ /dev/null @@ -1,16 +0,0 @@ -import { SubscriptionLog } from './SubscriptionLog'; -export class SubscriptionLoggable { - constructor() { - this.subscriptions = []; - } - logSubscribedFrame() { - this.subscriptions.push(new SubscriptionLog(this.scheduler.now())); - return this.subscriptions.length - 1; - } - logUnsubscribedFrame(index) { - const subscriptionLogs = this.subscriptions; - const oldSubscriptionLog = subscriptionLogs[index]; - subscriptionLogs[index] = new SubscriptionLog(oldSubscriptionLog.subscribedFrame, this.scheduler.now()); - } -} -//# sourceMappingURL=SubscriptionLoggable.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/SubscriptionLoggable.js.map b/node_modules/rxjs/_esm2015/testing/SubscriptionLoggable.js.map deleted file mode 100644 index 8f77dbf7..00000000 --- a/node_modules/rxjs/_esm2015/testing/SubscriptionLoggable.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SubscriptionLoggable.js","sourceRoot":"","sources":["../../src/testing/SubscriptionLoggable.ts"],"names":[],"mappings":"OACO,EAAE,eAAe,EAAE,MAAM,mBAAmB;AAEnD;IAAA;QACS,kBAAa,GAAsB,EAAE,CAAC;IAgB/C,CAAC;IAbC,kBAAkB;QAChB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QACnE,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC;IACvC,CAAC;IAED,oBAAoB,CAAC,KAAa;QAChC,MAAM,gBAAgB,GAAG,IAAI,CAAC,aAAa,CAAC;QAC5C,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,KAAK,CAAC,CAAC;QACnD,gBAAgB,CAAC,KAAK,CAAC,GAAG,IAAI,eAAe,CAC3C,kBAAkB,CAAC,eAAe,EAClC,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,CACrB,CAAC;IACJ,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/TestMessage.js b/node_modules/rxjs/_esm2015/testing/TestMessage.js deleted file mode 100644 index 908175c7..00000000 --- a/node_modules/rxjs/_esm2015/testing/TestMessage.js +++ /dev/null @@ -1 +0,0 @@ -//# sourceMappingURL=TestMessage.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/TestMessage.js.map b/node_modules/rxjs/_esm2015/testing/TestMessage.js.map deleted file mode 100644 index 33ebfba4..00000000 --- a/node_modules/rxjs/_esm2015/testing/TestMessage.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TestMessage.js","sourceRoot":"","sources":["../../src/testing/TestMessage.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/TestScheduler.js b/node_modules/rxjs/_esm2015/testing/TestScheduler.js deleted file mode 100644 index 5f0fa8ac..00000000 --- a/node_modules/rxjs/_esm2015/testing/TestScheduler.js +++ /dev/null @@ -1,208 +0,0 @@ -import { Observable } from '../Observable'; -import { Notification } from '../Notification'; -import { ColdObservable } from './ColdObservable'; -import { HotObservable } from './HotObservable'; -import { SubscriptionLog } from './SubscriptionLog'; -import { VirtualTimeScheduler, VirtualAction } from '../scheduler/VirtualTimeScheduler'; -const defaultMaxFrame = 750; -export class TestScheduler extends VirtualTimeScheduler { - constructor(assertDeepEqual) { - super(VirtualAction, defaultMaxFrame); - this.assertDeepEqual = assertDeepEqual; - this.hotObservables = []; - this.coldObservables = []; - this.flushTests = []; - } - createTime(marbles) { - const indexOf = marbles.indexOf('|'); - if (indexOf === -1) { - throw new Error('marble diagram for time should have a completion marker "|"'); - } - return indexOf * TestScheduler.frameTimeFactor; - } - createColdObservable(marbles, values, error) { - if (marbles.indexOf('^') !== -1) { - throw new Error('cold observable cannot have subscription offset "^"'); - } - if (marbles.indexOf('!') !== -1) { - throw new Error('cold observable cannot have unsubscription marker "!"'); - } - const messages = TestScheduler.parseMarbles(marbles, values, error); - const cold = new ColdObservable(messages, this); - this.coldObservables.push(cold); - return cold; - } - createHotObservable(marbles, values, error) { - if (marbles.indexOf('!') !== -1) { - throw new Error('hot observable cannot have unsubscription marker "!"'); - } - const messages = TestScheduler.parseMarbles(marbles, values, error); - const subject = new HotObservable(messages, this); - this.hotObservables.push(subject); - return subject; - } - materializeInnerObservable(observable, outerFrame) { - const messages = []; - observable.subscribe((value) => { - messages.push({ frame: this.frame - outerFrame, notification: Notification.createNext(value) }); - }, (err) => { - messages.push({ frame: this.frame - outerFrame, notification: Notification.createError(err) }); - }, () => { - messages.push({ frame: this.frame - outerFrame, notification: Notification.createComplete() }); - }); - return messages; - } - expectObservable(observable, unsubscriptionMarbles = null) { - const actual = []; - const flushTest = { actual, ready: false }; - const unsubscriptionFrame = TestScheduler - .parseMarblesAsSubscriptions(unsubscriptionMarbles).unsubscribedFrame; - let subscription; - this.schedule(() => { - subscription = observable.subscribe(x => { - let value = x; - // Support Observable-of-Observables - if (x instanceof Observable) { - value = this.materializeInnerObservable(value, this.frame); - } - actual.push({ frame: this.frame, notification: Notification.createNext(value) }); - }, (err) => { - actual.push({ frame: this.frame, notification: Notification.createError(err) }); - }, () => { - actual.push({ frame: this.frame, notification: Notification.createComplete() }); - }); - }, 0); - if (unsubscriptionFrame !== Number.POSITIVE_INFINITY) { - this.schedule(() => subscription.unsubscribe(), unsubscriptionFrame); - } - this.flushTests.push(flushTest); - return { - toBe(marbles, values, errorValue) { - flushTest.ready = true; - flushTest.expected = TestScheduler.parseMarbles(marbles, values, errorValue, true); - } - }; - } - expectSubscriptions(actualSubscriptionLogs) { - const flushTest = { actual: actualSubscriptionLogs, ready: false }; - this.flushTests.push(flushTest); - return { - toBe(marbles) { - const marblesArray = (typeof marbles === 'string') ? [marbles] : marbles; - flushTest.ready = true; - flushTest.expected = marblesArray.map(marbles => TestScheduler.parseMarblesAsSubscriptions(marbles)); - } - }; - } - flush() { - const hotObservables = this.hotObservables; - while (hotObservables.length > 0) { - hotObservables.shift().setup(); - } - super.flush(); - const readyFlushTests = this.flushTests.filter(test => test.ready); - while (readyFlushTests.length > 0) { - const test = readyFlushTests.shift(); - this.assertDeepEqual(test.actual, test.expected); - } - } - static parseMarblesAsSubscriptions(marbles) { - if (typeof marbles !== 'string') { - return new SubscriptionLog(Number.POSITIVE_INFINITY); - } - const len = marbles.length; - let groupStart = -1; - let subscriptionFrame = Number.POSITIVE_INFINITY; - let unsubscriptionFrame = Number.POSITIVE_INFINITY; - for (let i = 0; i < len; i++) { - const frame = i * this.frameTimeFactor; - const c = marbles[i]; - switch (c) { - case '-': - case ' ': - break; - case '(': - groupStart = frame; - break; - case ')': - groupStart = -1; - break; - case '^': - if (subscriptionFrame !== Number.POSITIVE_INFINITY) { - throw new Error('found a second subscription point \'^\' in a ' + - 'subscription marble diagram. There can only be one.'); - } - subscriptionFrame = groupStart > -1 ? groupStart : frame; - break; - case '!': - if (unsubscriptionFrame !== Number.POSITIVE_INFINITY) { - throw new Error('found a second subscription point \'^\' in a ' + - 'subscription marble diagram. There can only be one.'); - } - unsubscriptionFrame = groupStart > -1 ? groupStart : frame; - break; - default: - throw new Error('there can only be \'^\' and \'!\' markers in a ' + - 'subscription marble diagram. Found instead \'' + c + '\'.'); - } - } - if (unsubscriptionFrame < 0) { - return new SubscriptionLog(subscriptionFrame); - } - else { - return new SubscriptionLog(subscriptionFrame, unsubscriptionFrame); - } - } - static parseMarbles(marbles, values, errorValue, materializeInnerObservables = false) { - if (marbles.indexOf('!') !== -1) { - throw new Error('conventional marble diagrams cannot have the ' + - 'unsubscription marker "!"'); - } - const len = marbles.length; - const testMessages = []; - const subIndex = marbles.indexOf('^'); - const frameOffset = subIndex === -1 ? 0 : (subIndex * -this.frameTimeFactor); - const getValue = typeof values !== 'object' ? - (x) => x : - (x) => { - // Support Observable-of-Observables - if (materializeInnerObservables && values[x] instanceof ColdObservable) { - return values[x].messages; - } - return values[x]; - }; - let groupStart = -1; - for (let i = 0; i < len; i++) { - const frame = i * this.frameTimeFactor + frameOffset; - let notification; - const c = marbles[i]; - switch (c) { - case '-': - case ' ': - break; - case '(': - groupStart = frame; - break; - case ')': - groupStart = -1; - break; - case '|': - notification = Notification.createComplete(); - break; - case '^': - break; - case '#': - notification = Notification.createError(errorValue || 'error'); - break; - default: - notification = Notification.createNext(getValue(c)); - break; - } - if (notification) { - testMessages.push({ frame: groupStart > -1 ? groupStart : frame, notification }); - } - } - return testMessages; - } -} -//# sourceMappingURL=TestScheduler.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/testing/TestScheduler.js.map b/node_modules/rxjs/_esm2015/testing/TestScheduler.js.map deleted file mode 100644 index 8deed433..00000000 --- a/node_modules/rxjs/_esm2015/testing/TestScheduler.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TestScheduler.js","sourceRoot":"","sources":["../../src/testing/TestScheduler.ts"],"names":[],"mappings":"OAAO,EAAE,UAAU,EAAE,MAAM,eAAe;OACnC,EAAE,YAAY,EAAE,MAAM,iBAAiB;OACvC,EAAE,cAAc,EAAE,MAAM,kBAAkB;OAC1C,EAAE,aAAa,EAAE,MAAM,iBAAiB;OAExC,EAAE,eAAe,EAAE,MAAM,mBAAmB;OAE5C,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,mCAAmC;AAEvF,MAAM,eAAe,GAAW,GAAG,CAAC;AAWpC,mCAAmC,oBAAoB;IAKrD,YAAmB,eAA+D;QAChF,MAAM,aAAa,EAAE,eAAe,CAAC,CAAC;QADrB,oBAAe,GAAf,eAAe,CAAgD;QAJ1E,mBAAc,GAAyB,EAAE,CAAC;QAC1C,oBAAe,GAA0B,EAAE,CAAC;QAC5C,eAAU,GAAoB,EAAE,CAAC;IAIzC,CAAC;IAED,UAAU,CAAC,OAAe;QACxB,MAAM,OAAO,GAAW,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAC7C,EAAE,CAAC,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YACnB,MAAM,IAAI,KAAK,CAAC,6DAA6D,CAAC,CAAC;QACjF,CAAC;QACD,MAAM,CAAC,OAAO,GAAG,aAAa,CAAC,eAAe,CAAC;IACjD,CAAC;IAED,oBAAoB,CAAI,OAAe,EAAE,MAAY,EAAE,KAAW;QAChE,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YAChC,MAAM,IAAI,KAAK,CAAC,qDAAqD,CAAC,CAAC;QACzE,CAAC;QACD,EAAE,CAAC,CAAC,OAAO,CAAC,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GAAG,YAAY,CAAC,cAAc,EAAE,CAAC;oBAC7C,KAAK,CAAC;gBACR,KAAK,GAAG;oBACN,KAAK,CAAC;gBACR,KAAK,GAAG;oBACN,YAAY,GAAG,YAAY,CAAC,WAAW,CAAC,UAAU,IAAI,OAAO,CAAC,CAAC;oBAC/D,KAAK,CAAC;gBACR;oBACE,YAAY,GAAG,YAAY,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;oBACpD,KAAK,CAAC;YACV,CAAC;YAED,EAAE,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC;gBACjB,YAAY,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,UAAU,GAAG,CAAC,CAAC,GAAG,UAAU,GAAG,KAAK,EAAE,YAAY,EAAE,CAAC,CAAC;YACnF,CAAC;QACH,CAAC;QACD,MAAM,CAAC,YAAY,CAAC;IACtB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/util/AnimationFrame.js b/node_modules/rxjs/_esm2015/util/AnimationFrame.js deleted file mode 100644 index 5bdac9f3..00000000 --- a/node_modules/rxjs/_esm2015/util/AnimationFrame.js +++ /dev/null @@ -1,31 +0,0 @@ -import { root } from './root'; -export class RequestAnimationFrameDefinition { - constructor(root) { - if (root.requestAnimationFrame) { - this.cancelAnimationFrame = root.cancelAnimationFrame.bind(root); - this.requestAnimationFrame = root.requestAnimationFrame.bind(root); - } - else if (root.mozRequestAnimationFrame) { - this.cancelAnimationFrame = root.mozCancelAnimationFrame.bind(root); - this.requestAnimationFrame = root.mozRequestAnimationFrame.bind(root); - } - else if (root.webkitRequestAnimationFrame) { - this.cancelAnimationFrame = root.webkitCancelAnimationFrame.bind(root); - this.requestAnimationFrame = root.webkitRequestAnimationFrame.bind(root); - } - else if (root.msRequestAnimationFrame) { - this.cancelAnimationFrame = root.msCancelAnimationFrame.bind(root); - this.requestAnimationFrame = root.msRequestAnimationFrame.bind(root); - } - else if (root.oRequestAnimationFrame) { - this.cancelAnimationFrame = root.oCancelAnimationFrame.bind(root); - this.requestAnimationFrame = root.oRequestAnimationFrame.bind(root); - } - else { - this.cancelAnimationFrame = root.clearTimeout.bind(root); - this.requestAnimationFrame = function (cb) { return root.setTimeout(cb, 1000 / 60); }; - } - } -} -export const AnimationFrame = new RequestAnimationFrameDefinition(root); -//# sourceMappingURL=AnimationFrame.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/util/AnimationFrame.js.map b/node_modules/rxjs/_esm2015/util/AnimationFrame.js.map deleted file mode 100644 index 359bbf4a..00000000 --- a/node_modules/rxjs/_esm2015/util/AnimationFrame.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AnimationFrame.js","sourceRoot":"","sources":["../../src/util/AnimationFrame.ts"],"names":[],"mappings":"OAAO,EAAG,IAAI,EAAG,MAAM,QAAQ;AAE/B;IAGE,YAAY,IAAS;QACnB,EAAE,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC;YAC/B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACjE,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrE,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC;YACzC,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACpE,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACxE,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC,CAAC;YAC5C,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC,0BAA0B,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACvE,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC,2BAA2B,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC3E,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC;YACxC,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACnE,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvE,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC;YACvC,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAClE,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACtE,CAAC;QAAC,IAAI,CAAC,CAAC;YACN,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACzD,IAAI,CAAC,qBAAqB,GAAG,UAAS,EAAE,IAAI,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,EAAE,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;QACvF,CAAC;IACH,CAAC;AACH,CAAC;AAED,OAAO,MAAM,cAAc,GAAG,IAAI,+BAA+B,CAAC,IAAI,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/util/ArgumentOutOfRangeError.js b/node_modules/rxjs/_esm2015/util/ArgumentOutOfRangeError.js deleted file mode 100644 index 6757804b..00000000 --- a/node_modules/rxjs/_esm2015/util/ArgumentOutOfRangeError.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * An error thrown when an element was queried at a certain index of an - * Observable, but no such index or position exists in that sequence. - * - * @see {@link elementAt} - * @see {@link take} - * @see {@link takeLast} - * - * @class ArgumentOutOfRangeError - */ -export class ArgumentOutOfRangeError extends Error { - constructor() { - const err = super('argument out of range'); - this.name = err.name = 'ArgumentOutOfRangeError'; - this.stack = err.stack; - this.message = err.message; - } -} -//# sourceMappingURL=ArgumentOutOfRangeError.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/util/ArgumentOutOfRangeError.js.map b/node_modules/rxjs/_esm2015/util/ArgumentOutOfRangeError.js.map deleted file mode 100644 index 3764615b..00000000 --- a/node_modules/rxjs/_esm2015/util/ArgumentOutOfRangeError.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ArgumentOutOfRangeError.js","sourceRoot":"","sources":["../../src/util/ArgumentOutOfRangeError.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,6CAA6C,KAAK;IAChD;QACE,MAAM,GAAG,GAAQ,MAAM,uBAAuB,CAAC,CAAC;QACzC,IAAK,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,GAAG,yBAAyB,CAAC;QAClD,IAAK,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QACxB,IAAK,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;IACrC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/util/EmptyError.js b/node_modules/rxjs/_esm2015/util/EmptyError.js deleted file mode 100644 index 26c40235..00000000 --- a/node_modules/rxjs/_esm2015/util/EmptyError.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * An error thrown when an Observable or a sequence was queried but has no - * elements. - * - * @see {@link first} - * @see {@link last} - * @see {@link single} - * - * @class EmptyError - */ -export class EmptyError extends Error { - constructor() { - const err = super('no elements in sequence'); - this.name = err.name = 'EmptyError'; - this.stack = err.stack; - this.message = err.message; - } -} -//# sourceMappingURL=EmptyError.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/util/EmptyError.js.map b/node_modules/rxjs/_esm2015/util/EmptyError.js.map deleted file mode 100644 index 0776cd2a..00000000 --- a/node_modules/rxjs/_esm2015/util/EmptyError.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"EmptyError.js","sourceRoot":"","sources":["../../src/util/EmptyError.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,gCAAgC,KAAK;IACnC;QACE,MAAM,GAAG,GAAQ,MAAM,yBAAyB,CAAC,CAAC;QAC3C,IAAK,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,GAAG,YAAY,CAAC;QACrC,IAAK,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QACxB,IAAK,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;IACrC,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/util/FastMap.js b/node_modules/rxjs/_esm2015/util/FastMap.js deleted file mode 100644 index 615849ee..00000000 --- a/node_modules/rxjs/_esm2015/util/FastMap.js +++ /dev/null @@ -1,28 +0,0 @@ -export class FastMap { - constructor() { - this.values = {}; - } - delete(key) { - this.values[key] = null; - return true; - } - set(key, value) { - this.values[key] = value; - return this; - } - get(key) { - return this.values[key]; - } - forEach(cb, thisArg) { - const values = this.values; - for (let key in values) { - if (values.hasOwnProperty(key) && values[key] !== null) { - cb.call(thisArg, values[key], key); - } - } - } - clear() { - this.values = {}; - } -} -//# sourceMappingURL=FastMap.js.map \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/util/FastMap.js.map b/node_modules/rxjs/_esm2015/util/FastMap.js.map deleted file mode 100644 index fac9c8f1..00000000 --- a/node_modules/rxjs/_esm2015/util/FastMap.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"FastMap.js","sourceRoot":"","sources":["../../src/util/FastMap.ts"],"names":[],"mappings":"AAAA;IAAA;QACU,WAAM,GAAW,EAAE,CAAC;IA4B9B,CAAC;IA1BC,MAAM,CAAC,GAAW;QAChB,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;QACxB,MAAM,CAAC,IAAI,CAAC;IACd,CAAC;IAED,GAAG,CAAC,GAAW,EAAE,KAAU;QACzB,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;QACzB,MAAM,CAAC,IAAI,CAAC;IACd,CAAC;IAED,GAAG,CAAC,GAAW;QACb,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAC1B,CAAC;IAED,OAAO,CAAC,EAAkC,EAAE,OAAa;QACvD,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,GAAG,CAAC,CAAC,IAAI,GAAG,IAAI,MAAM,CAAC,CAAC,CAAC;YACvB,EAAE,CAAC,CAAC,MAAM,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC;gBACvD,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC;YACrC,CAAC;QACH,CAAC;IACH,CAAC;IAED,KAAK;QACH,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;IACnB,CAAC;AACH,CAAC;AAAA"} \ No newline at end of file diff --git a/node_modules/rxjs/_esm2015/util/Immediate.js b/node_modules/rxjs/_esm2015/util/Immediate.js deleted file mode 100644 index 6e3876b5..00000000 --- a/node_modules/rxjs/_esm2015/util/Immediate.js +++ /dev/null @@ -1,201 +0,0 @@ -/** -Some credit for this helper goes to http://github.com/YuzuJS/setImmediate -*/ -import { root } from './root'; -export class ImmediateDefinition { - constructor(root) { - this.root = root; - if (root.setImmediate && typeof root.setImmediate === 'function') { - this.setImmediate = root.setImmediate.bind(root); - this.clearImmediate = root.clearImmediate.bind(root); - } - else { - this.nextHandle = 1; - this.tasksByHandle = {}; - this.currentlyRunningATask = false; - // Don't get fooled by e.g. browserify environments. - if (this.canUseProcessNextTick()) { - // For Node.js before 0.9 - this.setImmediate = this.createProcessNextTickSetImmediate(); - } - else if (this.canUsePostMessage()) { - // For non-IE10 modern browsers - this.setImmediate = this.createPostMessageSetImmediate(); - } - else if (this.canUseMessageChannel()) { - // For web workers, where supported - this.setImmediate = this.createMessageChannelSetImmediate(); - } - else if (this.canUseReadyStateChange()) { - // For IE 6–8 - this.setImmediate = this.createReadyStateChangeSetImmediate(); - } - else { - // For older browsers - this.setImmediate = this.createSetTimeoutSetImmediate(); - } - let ci = function clearImmediate(handle) { - delete clearImmediate.instance.tasksByHandle[handle]; - }; - ci.instance = this; - this.clearImmediate = ci; - } - } - identify(o) { - return this.root.Object.prototype.toString.call(o); - } - canUseProcessNextTick() { - return this.identify(this.root.process) === '[object process]'; - } - canUseMessageChannel() { - return Boolean(this.root.MessageChannel); - } - canUseReadyStateChange() { - const document = this.root.document; - return Boolean(document && 'onreadystatechange' in document.createElement('script')); - } - canUsePostMessage() { - const root = this.root; - // The test against `importScripts` prevents this implementation from being installed inside a web worker, - // where `root.postMessage` means something completely different and can't be used for this purpose. - if (root.postMessage && !root.importScripts) { - let postMessageIsAsynchronous = true; - let oldOnMessage = root.onmessage; - root.onmessage = function () { - postMessageIsAsynchronous = false; - }; - root.postMessage('', '*'); - root.onmessage = oldOnMessage; - return postMessageIsAsynchronous; - } - return false; - } - // This function accepts the same arguments as setImmediate, but - // returns a function that requires no arguments. - partiallyApplied(handler, ...args) { - let fn = function result() { - const { handler, args } = result; - if (typeof handler === 'function') { - handler.apply(undefined, args); - } - else { - (new Function('' + handler))(); - } - }; - fn.handler = handler; - fn.args = args; - return fn; - } - addFromSetImmediateArguments(args) { - this.tasksByHandle[this.nextHandle] = this.partiallyApplied.apply(undefined, args); - return this.nextHandle++; - } - createProcessNextTickSetImmediate() { - let fn = function setImmediate() { - const { instance } = setImmediate; - let handle = instance.addFromSetImmediateArguments(arguments); - instance.root.process.nextTick(instance.partiallyApplied(instance.runIfPresent, handle)); - return handle; - }; - fn.instance = this; - return fn; - } - createPostMessageSetImmediate() { - // Installs an event handler on `global` for the `message` event: see - // * https://developer.mozilla.org/en/DOM/window.postMessage - // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages - const root = this.root; - let messagePrefix = 'setImmediate$' + root.Math.random() + '$'; - let onGlobalMessage = function globalMessageHandler(event) { - const instance = globalMessageHandler.instance; - if (event.source === root && - typeof event.data === 'string' && - event.data.indexOf(messagePrefix) === 0) { - instance.runIfPresent(+event.data.slice(messagePrefix.length)); - } - }; - onGlobalMessage.instance = this; - root.addEventListener('message', onGlobalMessage, false); - let fn = function setImmediate() { - const { messagePrefix, instance } = setImmediate; - let handle = instance.addFromSetImmediateArguments(arguments); - instance.root.postMessage(messagePrefix + handle, '*'); - return handle; - }; - fn.instance = this; - fn.messagePrefix = messagePrefix; - return fn; - } - runIfPresent(handle) { - // From the spec: 'Wait until any invocations of this algorithm started before this one have completed.' - // So if we're currently running a task, we'll need to delay this invocation. - if (this.currentlyRunningATask) { - // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a - // 'too much recursion' error. - this.root.setTimeout(this.partiallyApplied(this.runIfPresent, handle), 0); - } - else { - let task = this.tasksByHandle[handle]; - if (task) { - this.currentlyRunningATask = true; - try { - task(); - } - finally { - this.clearImmediate(handle); - this.currentlyRunningATask = false; - } - } - } - } - createMessageChannelSetImmediate() { - let channel = new this.root.MessageChannel(); - channel.port1.onmessage = (event) => { - let handle = event.data; - this.runIfPresent(handle); - }; - let fn = function setImmediate() { - const { channel, instance } = setImmediate; - let handle = instance.addFromSetImmediateArguments(arguments); - channel.port2.postMessage(handle); - return handle; - }; - fn.channel = channel; - fn.instance = this; - return fn; - } - createReadyStateChangeSetImmediate() { - let fn = function setImmediate() { - const instance = setImmediate.instance; - const root = instance.root; - const doc = root.document; - const html = doc.documentElement; - let handle = instance.addFromSetImmediateArguments(arguments); - // Create a
-
-

- all files __root__/ -

-
-
- 77.03% - Statements - 57/74 -
-
- 57.14% - Branches - 28/49 -
-
- 93.33% - Functions - 14/15 -
-
- 79.1% - Lines - 53/67 -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
mute.js
77.03%57/7457.14%28/4993.33%14/1579.1%53/67
-
-