{
  "type": "Program",
  "body": [
    {
      "type": "ImportDeclaration",
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "local": {
            "type": "Identifier",
            "name": "OuterSubscriber",
            "range": [
              9,
              24
            ],
            "loc": {
              "start": {
                "line": 1,
                "column": 9
              },
              "end": {
                "line": 1,
                "column": 24
              }
            }
          },
          "imported": {
            "type": "Identifier",
            "name": "OuterSubscriber",
            "range": [
              9,
              24
            ],
            "loc": {
              "start": {
                "line": 1,
                "column": 9
              },
              "end": {
                "line": 1,
                "column": 24
              }
            }
          },
          "range": [
            9,
            24
          ],
          "loc": {
            "start": {
              "line": 1,
              "column": 9
            },
            "end": {
              "line": 1,
              "column": 24
            }
          }
        }
      ],
      "source": {
        "type": "Literal",
        "value": "../OuterSubscriber",
        "raw": "'../OuterSubscriber'",
        "range": [
          32,
          52
        ],
        "loc": {
          "start": {
            "line": 1,
            "column": 32
          },
          "end": {
            "line": 1,
            "column": 52
          }
        }
      },
      "range": [
        0,
        53
      ],
      "loc": {
        "start": {
          "line": 1,
          "column": 0
        },
        "end": {
          "line": 1,
          "column": 53
        }
      }
    },
    {
      "type": "ImportDeclaration",
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "local": {
            "type": "Identifier",
            "name": "subscribeToResult",
            "range": [
              63,
              80
            ],
            "loc": {
              "start": {
                "line": 2,
                "column": 9
              },
              "end": {
                "line": 2,
                "column": 26
              }
            }
          },
          "imported": {
            "type": "Identifier",
            "name": "subscribeToResult",
            "range": [
              63,
              80
            ],
            "loc": {
              "start": {
                "line": 2,
                "column": 9
              },
              "end": {
                "line": 2,
                "column": 26
              }
            }
          },
          "range": [
            63,
            80
          ],
          "loc": {
            "start": {
              "line": 2,
              "column": 9
            },
            "end": {
              "line": 2,
              "column": 26
            }
          }
        }
      ],
      "source": {
        "type": "Literal",
        "value": "../util/subscribeToResult",
        "raw": "'../util/subscribeToResult'",
        "range": [
          88,
          115
        ],
        "loc": {
          "start": {
            "line": 2,
            "column": 34
          },
          "end": {
            "line": 2,
            "column": 61
          }
        }
      },
      "range": [
        54,
        116
      ],
      "loc": {
        "start": {
          "line": 2,
          "column": 0
        },
        "end": {
          "line": 2,
          "column": 62
        }
      },
      "trailingComments": [
        {
          "type": "Block",
          "value": "*\n * Converts a higher-order Observable into a first-order Observable by\n * subscribing to only the most recently emitted of those inner Observables.\n *\n * <span class=\"informal\">Flattens an Observable-of-Observables by dropping the\n * previous inner Observable once a new one appears.</span>\n *\n * <img src=\"./img/switch.png\" width=\"100%\">\n *\n * `switch` subscribes to an Observable that emits Observables, also known as a\n * higher-order Observable. Each time it observes one of these emitted inner\n * Observables, the output Observable subscribes to the inner Observable and\n * begins emitting the items emitted by that. So far, it behaves\n * like {@link mergeAll}. However, when a new inner Observable is emitted,\n * `switch` unsubscribes from the earlier-emitted inner Observable and\n * subscribes to the new inner Observable and begins emitting items from it. It\n * continues to behave like this for subsequent inner Observables.\n *\n * @example <caption>Rerun an interval Observable on every click event</caption>\n * var clicks = Rx.Observable.fromEvent(document, 'click');\n * // Each click event is mapped to an Observable that ticks every second\n * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000));\n * var switched = higherOrder.switch();\n * // The outcome is that `switched` is essentially a timer that restarts\n * // on every click. The interval Observables from older clicks do not merge\n * // with the current interval Observable.\n * switched.subscribe(x => console.log(x));\n *\n * @see {@link combineAll}\n * @see {@link concatAll}\n * @see {@link exhaust}\n * @see {@link mergeAll}\n * @see {@link switchMap}\n * @see {@link switchMapTo}\n * @see {@link zipAll}\n *\n * @return {Observable<T>} An Observable that emits the items emitted by the\n * Observable most recently emitted by the source Observable.\n * @method switch\n * @name switch\n * @owner Observable\n ",
          "range": [
            117,
            2006
          ],
          "loc": {
            "start": {
              "line": 3,
              "column": 0
            },
            "end": {
              "line": 44,
              "column": 3
            }
          }
        }
      ]
    },
    {
      "type": "ExportNamedDeclaration",
      "declaration": {
        "type": "FunctionDeclaration",
        "id": {
          "type": "Identifier",
          "name": "_switch",
          "range": [
            2023,
            2030
          ],
          "loc": {
            "start": {
              "line": 45,
              "column": 16
            },
            "end": {
              "line": 45,
              "column": 23
            }
          }
        },
        "params": [],
        "body": {
          "type": "BlockStatement",
          "body": [
            {
              "type": "ReturnStatement",
              "argument": {
                "type": "CallExpression",
                "callee": {
                  "type": "MemberExpression",
                  "computed": false,
                  "object": {
                    "type": "ThisExpression",
                    "range": [
                      2046,
                      2050
                    ],
                    "loc": {
                      "start": {
                        "line": 46,
                        "column": 11
                      },
                      "end": {
                        "line": 46,
                        "column": 15
                      }
                    }
                  },
                  "property": {
                    "type": "Identifier",
                    "name": "lift",
                    "range": [
                      2051,
                      2055
                    ],
                    "loc": {
                      "start": {
                        "line": 46,
                        "column": 16
                      },
                      "end": {
                        "line": 46,
                        "column": 20
                      }
                    }
                  },
                  "range": [
                    2046,
                    2055
                  ],
                  "loc": {
                    "start": {
                      "line": 46,
                      "column": 11
                    },
                    "end": {
                      "line": 46,
                      "column": 20
                    }
                  }
                },
                "arguments": [
                  {
                    "type": "NewExpression",
                    "callee": {
                      "type": "Identifier",
                      "name": "SwitchOperator",
                      "range": [
                        2060,
                        2074
                      ],
                      "loc": {
                        "start": {
                          "line": 46,
                          "column": 25
                        },
                        "end": {
                          "line": 46,
                          "column": 39
                        }
                      }
                    },
                    "arguments": [],
                    "range": [
                      2056,
                      2076
                    ],
                    "loc": {
                      "start": {
                        "line": 46,
                        "column": 21
                      },
                      "end": {
                        "line": 46,
                        "column": 41
                      }
                    }
                  }
                ],
                "range": [
                  2046,
                  2077
                ],
                "loc": {
                  "start": {
                    "line": 46,
                    "column": 11
                  },
                  "end": {
                    "line": 46,
                    "column": 42
                  }
                }
              },
              "range": [
                2039,
                2078
              ],
              "loc": {
                "start": {
                  "line": 46,
                  "column": 4
                },
                "end": {
                  "line": 46,
                  "column": 43
                }
              }
            }
          ],
          "range": [
            2033,
            2080
          ],
          "loc": {
            "start": {
              "line": 45,
              "column": 26
            },
            "end": {
              "line": 47,
              "column": 1
            }
          }
        },
        "generator": false,
        "expression": false,
        "range": [
          2014,
          2080
        ],
        "loc": {
          "start": {
            "line": 45,
            "column": 7
          },
          "end": {
            "line": 47,
            "column": 1
          }
        },
        "leadingComments": [
          {
            "type": "Block",
            "value": "*\n * Converts a higher-order Observable into a first-order Observable by\n * subscribing to only the most recently emitted of those inner Observables.\n *\n * <span class=\"informal\">Flattens an Observable-of-Observables by dropping the\n * previous inner Observable once a new one appears.</span>\n *\n * <img src=\"./img/switch.png\" width=\"100%\">\n *\n * `switch` subscribes to an Observable that emits Observables, also known as a\n * higher-order Observable. Each time it observes one of these emitted inner\n * Observables, the output Observable subscribes to the inner Observable and\n * begins emitting the items emitted by that. So far, it behaves\n * like {@link mergeAll}. However, when a new inner Observable is emitted,\n * `switch` unsubscribes from the earlier-emitted inner Observable and\n * subscribes to the new inner Observable and begins emitting items from it. It\n * continues to behave like this for subsequent inner Observables.\n *\n * @example <caption>Rerun an interval Observable on every click event</caption>\n * var clicks = Rx.Observable.fromEvent(document, 'click');\n * // Each click event is mapped to an Observable that ticks every second\n * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000));\n * var switched = higherOrder.switch();\n * // The outcome is that `switched` is essentially a timer that restarts\n * // on every click. The interval Observables from older clicks do not merge\n * // with the current interval Observable.\n * switched.subscribe(x => console.log(x));\n *\n * @see {@link combineAll}\n * @see {@link concatAll}\n * @see {@link exhaust}\n * @see {@link mergeAll}\n * @see {@link switchMap}\n * @see {@link switchMapTo}\n * @see {@link zipAll}\n *\n * @return {Observable<T>} An Observable that emits the items emitted by the\n * Observable most recently emitted by the source Observable.\n * @method switch\n * @name switch\n * @owner Observable\n ",
            "range": [
              117,
              2006
            ],
            "loc": {
              "start": {
                "line": 3,
                "column": 0
              },
              "end": {
                "line": 44,
                "column": 3
              }
            }
          }
        ],
        "trailingComments": []
      },
      "specifiers": [],
      "source": null,
      "range": [
        2007,
        2080
      ],
      "loc": {
        "start": {
          "line": 45,
          "column": 0
        },
        "end": {
          "line": 47,
          "column": 1
        }
      },
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * Converts a higher-order Observable into a first-order Observable by\n * subscribing to only the most recently emitted of those inner Observables.\n *\n * <span class=\"informal\">Flattens an Observable-of-Observables by dropping the\n * previous inner Observable once a new one appears.</span>\n *\n * <img src=\"./img/switch.png\" width=\"100%\">\n *\n * `switch` subscribes to an Observable that emits Observables, also known as a\n * higher-order Observable. Each time it observes one of these emitted inner\n * Observables, the output Observable subscribes to the inner Observable and\n * begins emitting the items emitted by that. So far, it behaves\n * like {@link mergeAll}. However, when a new inner Observable is emitted,\n * `switch` unsubscribes from the earlier-emitted inner Observable and\n * subscribes to the new inner Observable and begins emitting items from it. It\n * continues to behave like this for subsequent inner Observables.\n *\n * @example <caption>Rerun an interval Observable on every click event</caption>\n * var clicks = Rx.Observable.fromEvent(document, 'click');\n * // Each click event is mapped to an Observable that ticks every second\n * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000));\n * var switched = higherOrder.switch();\n * // The outcome is that `switched` is essentially a timer that restarts\n * // on every click. The interval Observables from older clicks do not merge\n * // with the current interval Observable.\n * switched.subscribe(x => console.log(x));\n *\n * @see {@link combineAll}\n * @see {@link concatAll}\n * @see {@link exhaust}\n * @see {@link mergeAll}\n * @see {@link switchMap}\n * @see {@link switchMapTo}\n * @see {@link zipAll}\n *\n * @return {Observable<T>} An Observable that emits the items emitted by the\n * Observable most recently emitted by the source Observable.\n * @method switch\n * @name switch\n * @owner Observable\n ",
          "range": [
            117,
            2006
          ],
          "loc": {
            "start": {
              "line": 3,
              "column": 0
            },
            "end": {
              "line": 44,
              "column": 3
            }
          }
        }
      ]
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "SwitchOperator",
            "range": [
              2085,
              2099
            ],
            "loc": {
              "start": {
                "line": 48,
                "column": 4
              },
              "end": {
                "line": 48,
                "column": 18
              }
            }
          },
          "init": {
            "type": "CallExpression",
            "callee": {
              "type": "FunctionExpression",
              "id": null,
              "params": [],
              "body": {
                "type": "BlockStatement",
                "body": [
                  {
                    "type": "FunctionDeclaration",
                    "id": {
                      "type": "Identifier",
                      "name": "SwitchOperator",
                      "range": [
                        2130,
                        2144
                      ],
                      "loc": {
                        "start": {
                          "line": 49,
                          "column": 13
                        },
                        "end": {
                          "line": 49,
                          "column": 27
                        }
                      }
                    },
                    "params": [],
                    "body": {
                      "type": "BlockStatement",
                      "body": [],
                      "range": [
                        2147,
                        2154
                      ],
                      "loc": {
                        "start": {
                          "line": 49,
                          "column": 30
                        },
                        "end": {
                          "line": 50,
                          "column": 5
                        }
                      }
                    },
                    "generator": false,
                    "expression": false,
                    "range": [
                      2121,
                      2154
                    ],
                    "loc": {
                      "start": {
                        "line": 49,
                        "column": 4
                      },
                      "end": {
                        "line": 50,
                        "column": 5
                      }
                    }
                  },
                  {
                    "type": "ExpressionStatement",
                    "expression": {
                      "type": "AssignmentExpression",
                      "operator": "=",
                      "left": {
                        "type": "MemberExpression",
                        "computed": false,
                        "object": {
                          "type": "MemberExpression",
                          "computed": false,
                          "object": {
                            "type": "Identifier",
                            "name": "SwitchOperator",
                            "range": [
                              2159,
                              2173
                            ],
                            "loc": {
                              "start": {
                                "line": 51,
                                "column": 4
                              },
                              "end": {
                                "line": 51,
                                "column": 18
                              }
                            }
                          },
                          "property": {
                            "type": "Identifier",
                            "name": "prototype",
                            "range": [
                              2174,
                              2183
                            ],
                            "loc": {
                              "start": {
                                "line": 51,
                                "column": 19
                              },
                              "end": {
                                "line": 51,
                                "column": 28
                              }
                            }
                          },
                          "range": [
                            2159,
                            2183
                          ],
                          "loc": {
                            "start": {
                              "line": 51,
                              "column": 4
                            },
                            "end": {
                              "line": 51,
                              "column": 28
                            }
                          }
                        },
                        "property": {
                          "type": "Identifier",
                          "name": "call",
                          "range": [
                            2184,
                            2188
                          ],
                          "loc": {
                            "start": {
                              "line": 51,
                              "column": 29
                            },
                            "end": {
                              "line": 51,
                              "column": 33
                            }
                          }
                        },
                        "range": [
                          2159,
                          2188
                        ],
                        "loc": {
                          "start": {
                            "line": 51,
                            "column": 4
                          },
                          "end": {
                            "line": 51,
                            "column": 33
                          }
                        }
                      },
                      "right": {
                        "type": "FunctionExpression",
                        "id": null,
                        "params": [
                          {
                            "type": "Identifier",
                            "name": "subscriber",
                            "range": [
                              2201,
                              2211
                            ],
                            "loc": {
                              "start": {
                                "line": 51,
                                "column": 46
                              },
                              "end": {
                                "line": 51,
                                "column": 56
                              }
                            }
                          },
                          {
                            "type": "Identifier",
                            "name": "source",
                            "range": [
                              2213,
                              2219
                            ],
                            "loc": {
                              "start": {
                                "line": 51,
                                "column": 58
                              },
                              "end": {
                                "line": 51,
                                "column": 64
                              }
                            }
                          }
                        ],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "ReturnStatement",
                              "argument": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "Identifier",
                                    "name": "source",
                                    "range": [
                                      2238,
                                      2244
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 52,
                                        "column": 15
                                      },
                                      "end": {
                                        "line": 52,
                                        "column": 21
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "_subscribe",
                                    "range": [
                                      2245,
                                      2255
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 52,
                                        "column": 22
                                      },
                                      "end": {
                                        "line": 52,
                                        "column": 32
                                      }
                                    }
                                  },
                                  "range": [
                                    2238,
                                    2255
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 52,
                                      "column": 15
                                    },
                                    "end": {
                                      "line": 52,
                                      "column": 32
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "NewExpression",
                                    "callee": {
                                      "type": "Identifier",
                                      "name": "SwitchSubscriber",
                                      "range": [
                                        2260,
                                        2276
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 52,
                                          "column": 37
                                        },
                                        "end": {
                                          "line": 52,
                                          "column": 53
                                        }
                                      }
                                    },
                                    "arguments": [
                                      {
                                        "type": "Identifier",
                                        "name": "subscriber",
                                        "range": [
                                          2277,
                                          2287
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 52,
                                            "column": 54
                                          },
                                          "end": {
                                            "line": 52,
                                            "column": 64
                                          }
                                        }
                                      }
                                    ],
                                    "range": [
                                      2256,
                                      2288
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 52,
                                        "column": 33
                                      },
                                      "end": {
                                        "line": 52,
                                        "column": 65
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  2238,
                                  2289
                                ],
                                "loc": {
                                  "start": {
                                    "line": 52,
                                    "column": 15
                                  },
                                  "end": {
                                    "line": 52,
                                    "column": 66
                                  }
                                }
                              },
                              "range": [
                                2231,
                                2290
                              ],
                              "loc": {
                                "start": {
                                  "line": 52,
                                  "column": 8
                                },
                                "end": {
                                  "line": 52,
                                  "column": 67
                                }
                              }
                            }
                          ],
                          "range": [
                            2221,
                            2296
                          ],
                          "loc": {
                            "start": {
                              "line": 51,
                              "column": 66
                            },
                            "end": {
                              "line": 53,
                              "column": 5
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          2191,
                          2296
                        ],
                        "loc": {
                          "start": {
                            "line": 51,
                            "column": 36
                          },
                          "end": {
                            "line": 53,
                            "column": 5
                          }
                        }
                      },
                      "range": [
                        2159,
                        2296
                      ],
                      "loc": {
                        "start": {
                          "line": 51,
                          "column": 4
                        },
                        "end": {
                          "line": 53,
                          "column": 5
                        }
                      }
                    },
                    "range": [
                      2159,
                      2297
                    ],
                    "loc": {
                      "start": {
                        "line": 51,
                        "column": 4
                      },
                      "end": {
                        "line": 53,
                        "column": 6
                      }
                    }
                  },
                  {
                    "type": "ReturnStatement",
                    "argument": {
                      "type": "Identifier",
                      "name": "SwitchOperator",
                      "range": [
                        2309,
                        2323
                      ],
                      "loc": {
                        "start": {
                          "line": 54,
                          "column": 11
                        },
                        "end": {
                          "line": 54,
                          "column": 25
                        }
                      }
                    },
                    "range": [
                      2302,
                      2324
                    ],
                    "loc": {
                      "start": {
                        "line": 54,
                        "column": 4
                      },
                      "end": {
                        "line": 54,
                        "column": 26
                      }
                    }
                  }
                ],
                "range": [
                  2115,
                  2326
                ],
                "loc": {
                  "start": {
                    "line": 48,
                    "column": 34
                  },
                  "end": {
                    "line": 55,
                    "column": 1
                  }
                }
              },
              "generator": false,
              "expression": false,
              "range": [
                2103,
                2326
              ],
              "loc": {
                "start": {
                  "line": 48,
                  "column": 22
                },
                "end": {
                  "line": 55,
                  "column": 1
                }
              }
            },
            "arguments": [],
            "range": [
              2103,
              2328
            ],
            "loc": {
              "start": {
                "line": 48,
                "column": 22
              },
              "end": {
                "line": 55,
                "column": 3
              }
            }
          },
          "range": [
            2085,
            2329
          ],
          "loc": {
            "start": {
              "line": 48,
              "column": 4
            },
            "end": {
              "line": 55,
              "column": 4
            }
          }
        }
      ],
      "kind": "var",
      "range": [
        2081,
        2330
      ],
      "loc": {
        "start": {
          "line": 48,
          "column": 0
        },
        "end": {
          "line": 55,
          "column": 5
        }
      },
      "trailingComments": [
        {
          "type": "Block",
          "value": "*\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n ",
          "range": [
            2331,
            2422
          ],
          "loc": {
            "start": {
              "line": 56,
              "column": 0
            },
            "end": {
              "line": 60,
              "column": 3
            }
          }
        }
      ]
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "SwitchSubscriber",
            "range": [
              2427,
              2443
            ],
            "loc": {
              "start": {
                "line": 61,
                "column": 4
              },
              "end": {
                "line": 61,
                "column": 20
              }
            }
          },
          "init": {
            "type": "CallExpression",
            "callee": {
              "type": "FunctionExpression",
              "id": null,
              "params": [
                {
                  "type": "Identifier",
                  "name": "_super",
                  "range": [
                    2457,
                    2463
                  ],
                  "loc": {
                    "start": {
                      "line": 61,
                      "column": 34
                    },
                    "end": {
                      "line": 61,
                      "column": 40
                    }
                  }
                }
              ],
              "body": {
                "type": "BlockStatement",
                "body": [
                  {
                    "type": "ExpressionStatement",
                    "expression": {
                      "type": "CallExpression",
                      "callee": {
                        "type": "Identifier",
                        "name": "__extends",
                        "range": [
                          2471,
                          2480
                        ],
                        "loc": {
                          "start": {
                            "line": 62,
                            "column": 4
                          },
                          "end": {
                            "line": 62,
                            "column": 13
                          }
                        }
                      },
                      "arguments": [
                        {
                          "type": "Identifier",
                          "name": "SwitchSubscriber",
                          "range": [
                            2481,
                            2497
                          ],
                          "loc": {
                            "start": {
                              "line": 62,
                              "column": 14
                            },
                            "end": {
                              "line": 62,
                              "column": 30
                            }
                          }
                        },
                        {
                          "type": "Identifier",
                          "name": "_super",
                          "range": [
                            2499,
                            2505
                          ],
                          "loc": {
                            "start": {
                              "line": 62,
                              "column": 32
                            },
                            "end": {
                              "line": 62,
                              "column": 38
                            }
                          }
                        }
                      ],
                      "range": [
                        2471,
                        2506
                      ],
                      "loc": {
                        "start": {
                          "line": 62,
                          "column": 4
                        },
                        "end": {
                          "line": 62,
                          "column": 39
                        }
                      }
                    },
                    "range": [
                      2471,
                      2507
                    ],
                    "loc": {
                      "start": {
                        "line": 62,
                        "column": 4
                      },
                      "end": {
                        "line": 62,
                        "column": 40
                      }
                    }
                  },
                  {
                    "type": "FunctionDeclaration",
                    "id": {
                      "type": "Identifier",
                      "name": "SwitchSubscriber",
                      "range": [
                        2521,
                        2537
                      ],
                      "loc": {
                        "start": {
                          "line": 63,
                          "column": 13
                        },
                        "end": {
                          "line": 63,
                          "column": 29
                        }
                      }
                    },
                    "params": [
                      {
                        "type": "Identifier",
                        "name": "destination",
                        "range": [
                          2538,
                          2549
                        ],
                        "loc": {
                          "start": {
                            "line": 63,
                            "column": 30
                          },
                          "end": {
                            "line": 63,
                            "column": 41
                          }
                        }
                      }
                    ],
                    "body": {
                      "type": "BlockStatement",
                      "body": [
                        {
                          "type": "ExpressionStatement",
                          "expression": {
                            "type": "CallExpression",
                            "callee": {
                              "type": "MemberExpression",
                              "computed": false,
                              "object": {
                                "type": "Identifier",
                                "name": "_super",
                                "range": [
                                  2561,
                                  2567
                                ],
                                "loc": {
                                  "start": {
                                    "line": 64,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 64,
                                    "column": 14
                                  }
                                }
                              },
                              "property": {
                                "type": "Identifier",
                                "name": "call",
                                "range": [
                                  2568,
                                  2572
                                ],
                                "loc": {
                                  "start": {
                                    "line": 64,
                                    "column": 15
                                  },
                                  "end": {
                                    "line": 64,
                                    "column": 19
                                  }
                                }
                              },
                              "range": [
                                2561,
                                2572
                              ],
                              "loc": {
                                "start": {
                                  "line": 64,
                                  "column": 8
                                },
                                "end": {
                                  "line": 64,
                                  "column": 19
                                }
                              }
                            },
                            "arguments": [
                              {
                                "type": "ThisExpression",
                                "range": [
                                  2573,
                                  2577
                                ],
                                "loc": {
                                  "start": {
                                    "line": 64,
                                    "column": 20
                                  },
                                  "end": {
                                    "line": 64,
                                    "column": 24
                                  }
                                }
                              },
                              {
                                "type": "Identifier",
                                "name": "destination",
                                "range": [
                                  2579,
                                  2590
                                ],
                                "loc": {
                                  "start": {
                                    "line": 64,
                                    "column": 26
                                  },
                                  "end": {
                                    "line": 64,
                                    "column": 37
                                  }
                                }
                              }
                            ],
                            "range": [
                              2561,
                              2591
                            ],
                            "loc": {
                              "start": {
                                "line": 64,
                                "column": 8
                              },
                              "end": {
                                "line": 64,
                                "column": 38
                              }
                            }
                          },
                          "range": [
                            2561,
                            2592
                          ],
                          "loc": {
                            "start": {
                              "line": 64,
                              "column": 8
                            },
                            "end": {
                              "line": 64,
                              "column": 39
                            }
                          }
                        },
                        {
                          "type": "ExpressionStatement",
                          "expression": {
                            "type": "AssignmentExpression",
                            "operator": "=",
                            "left": {
                              "type": "MemberExpression",
                              "computed": false,
                              "object": {
                                "type": "ThisExpression",
                                "range": [
                                  2601,
                                  2605
                                ],
                                "loc": {
                                  "start": {
                                    "line": 65,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 65,
                                    "column": 12
                                  }
                                }
                              },
                              "property": {
                                "type": "Identifier",
                                "name": "active",
                                "range": [
                                  2606,
                                  2612
                                ],
                                "loc": {
                                  "start": {
                                    "line": 65,
                                    "column": 13
                                  },
                                  "end": {
                                    "line": 65,
                                    "column": 19
                                  }
                                }
                              },
                              "range": [
                                2601,
                                2612
                              ],
                              "loc": {
                                "start": {
                                  "line": 65,
                                  "column": 8
                                },
                                "end": {
                                  "line": 65,
                                  "column": 19
                                }
                              }
                            },
                            "right": {
                              "type": "Literal",
                              "value": 0,
                              "raw": "0",
                              "range": [
                                2615,
                                2616
                              ],
                              "loc": {
                                "start": {
                                  "line": 65,
                                  "column": 22
                                },
                                "end": {
                                  "line": 65,
                                  "column": 23
                                }
                              }
                            },
                            "range": [
                              2601,
                              2616
                            ],
                            "loc": {
                              "start": {
                                "line": 65,
                                "column": 8
                              },
                              "end": {
                                "line": 65,
                                "column": 23
                              }
                            }
                          },
                          "range": [
                            2601,
                            2617
                          ],
                          "loc": {
                            "start": {
                              "line": 65,
                              "column": 8
                            },
                            "end": {
                              "line": 65,
                              "column": 24
                            }
                          }
                        },
                        {
                          "type": "ExpressionStatement",
                          "expression": {
                            "type": "AssignmentExpression",
                            "operator": "=",
                            "left": {
                              "type": "MemberExpression",
                              "computed": false,
                              "object": {
                                "type": "ThisExpression",
                                "range": [
                                  2626,
                                  2630
                                ],
                                "loc": {
                                  "start": {
                                    "line": 66,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 66,
                                    "column": 12
                                  }
                                }
                              },
                              "property": {
                                "type": "Identifier",
                                "name": "hasCompleted",
                                "range": [
                                  2631,
                                  2643
                                ],
                                "loc": {
                                  "start": {
                                    "line": 66,
                                    "column": 13
                                  },
                                  "end": {
                                    "line": 66,
                                    "column": 25
                                  }
                                }
                              },
                              "range": [
                                2626,
                                2643
                              ],
                              "loc": {
                                "start": {
                                  "line": 66,
                                  "column": 8
                                },
                                "end": {
                                  "line": 66,
                                  "column": 25
                                }
                              }
                            },
                            "right": {
                              "type": "Literal",
                              "value": false,
                              "raw": "false",
                              "range": [
                                2646,
                                2651
                              ],
                              "loc": {
                                "start": {
                                  "line": 66,
                                  "column": 28
                                },
                                "end": {
                                  "line": 66,
                                  "column": 33
                                }
                              }
                            },
                            "range": [
                              2626,
                              2651
                            ],
                            "loc": {
                              "start": {
                                "line": 66,
                                "column": 8
                              },
                              "end": {
                                "line": 66,
                                "column": 33
                              }
                            }
                          },
                          "range": [
                            2626,
                            2652
                          ],
                          "loc": {
                            "start": {
                              "line": 66,
                              "column": 8
                            },
                            "end": {
                              "line": 66,
                              "column": 34
                            }
                          }
                        }
                      ],
                      "range": [
                        2551,
                        2658
                      ],
                      "loc": {
                        "start": {
                          "line": 63,
                          "column": 43
                        },
                        "end": {
                          "line": 67,
                          "column": 5
                        }
                      }
                    },
                    "generator": false,
                    "expression": false,
                    "range": [
                      2512,
                      2658
                    ],
                    "loc": {
                      "start": {
                        "line": 63,
                        "column": 4
                      },
                      "end": {
                        "line": 67,
                        "column": 5
                      }
                    }
                  },
                  {
                    "type": "ExpressionStatement",
                    "expression": {
                      "type": "AssignmentExpression",
                      "operator": "=",
                      "left": {
                        "type": "MemberExpression",
                        "computed": false,
                        "object": {
                          "type": "MemberExpression",
                          "computed": false,
                          "object": {
                            "type": "Identifier",
                            "name": "SwitchSubscriber",
                            "range": [
                              2663,
                              2679
                            ],
                            "loc": {
                              "start": {
                                "line": 68,
                                "column": 4
                              },
                              "end": {
                                "line": 68,
                                "column": 20
                              }
                            }
                          },
                          "property": {
                            "type": "Identifier",
                            "name": "prototype",
                            "range": [
                              2680,
                              2689
                            ],
                            "loc": {
                              "start": {
                                "line": 68,
                                "column": 21
                              },
                              "end": {
                                "line": 68,
                                "column": 30
                              }
                            }
                          },
                          "range": [
                            2663,
                            2689
                          ],
                          "loc": {
                            "start": {
                              "line": 68,
                              "column": 4
                            },
                            "end": {
                              "line": 68,
                              "column": 30
                            }
                          }
                        },
                        "property": {
                          "type": "Identifier",
                          "name": "_next",
                          "range": [
                            2690,
                            2695
                          ],
                          "loc": {
                            "start": {
                              "line": 68,
                              "column": 31
                            },
                            "end": {
                              "line": 68,
                              "column": 36
                            }
                          }
                        },
                        "range": [
                          2663,
                          2695
                        ],
                        "loc": {
                          "start": {
                            "line": 68,
                            "column": 4
                          },
                          "end": {
                            "line": 68,
                            "column": 36
                          }
                        }
                      },
                      "right": {
                        "type": "FunctionExpression",
                        "id": null,
                        "params": [
                          {
                            "type": "Identifier",
                            "name": "value",
                            "range": [
                              2708,
                              2713
                            ],
                            "loc": {
                              "start": {
                                "line": 68,
                                "column": 49
                              },
                              "end": {
                                "line": 68,
                                "column": 54
                              }
                            }
                          }
                        ],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "ThisExpression",
                                    "range": [
                                      2725,
                                      2729
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 69,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 69,
                                        "column": 12
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "unsubscribeInner",
                                    "range": [
                                      2730,
                                      2746
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 69,
                                        "column": 13
                                      },
                                      "end": {
                                        "line": 69,
                                        "column": 29
                                      }
                                    }
                                  },
                                  "range": [
                                    2725,
                                    2746
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 69,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 69,
                                      "column": 29
                                    }
                                  }
                                },
                                "arguments": [],
                                "range": [
                                  2725,
                                  2748
                                ],
                                "loc": {
                                  "start": {
                                    "line": 69,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 69,
                                    "column": 31
                                  }
                                }
                              },
                              "range": [
                                2725,
                                2749
                              ],
                              "loc": {
                                "start": {
                                  "line": 69,
                                  "column": 8
                                },
                                "end": {
                                  "line": 69,
                                  "column": 32
                                }
                              }
                            },
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "UpdateExpression",
                                "operator": "++",
                                "argument": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "ThisExpression",
                                    "range": [
                                      2758,
                                      2762
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 70,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 70,
                                        "column": 12
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "active",
                                    "range": [
                                      2763,
                                      2769
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 70,
                                        "column": 13
                                      },
                                      "end": {
                                        "line": 70,
                                        "column": 19
                                      }
                                    }
                                  },
                                  "range": [
                                    2758,
                                    2769
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 70,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 70,
                                      "column": 19
                                    }
                                  }
                                },
                                "prefix": false,
                                "range": [
                                  2758,
                                  2771
                                ],
                                "loc": {
                                  "start": {
                                    "line": 70,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 70,
                                    "column": 21
                                  }
                                }
                              },
                              "range": [
                                2758,
                                2772
                              ],
                              "loc": {
                                "start": {
                                  "line": 70,
                                  "column": 8
                                },
                                "end": {
                                  "line": 70,
                                  "column": 22
                                }
                              }
                            },
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "ThisExpression",
                                    "range": [
                                      2781,
                                      2785
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 71,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 71,
                                        "column": 12
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "add",
                                    "range": [
                                      2786,
                                      2789
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 71,
                                        "column": 13
                                      },
                                      "end": {
                                        "line": 71,
                                        "column": 16
                                      }
                                    }
                                  },
                                  "range": [
                                    2781,
                                    2789
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 71,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 71,
                                      "column": 16
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "AssignmentExpression",
                                    "operator": "=",
                                    "left": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "ThisExpression",
                                        "range": [
                                          2790,
                                          2794
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 71,
                                            "column": 17
                                          },
                                          "end": {
                                            "line": 71,
                                            "column": 21
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "innerSubscription",
                                        "range": [
                                          2795,
                                          2812
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 71,
                                            "column": 22
                                          },
                                          "end": {
                                            "line": 71,
                                            "column": 39
                                          }
                                        }
                                      },
                                      "range": [
                                        2790,
                                        2812
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 71,
                                          "column": 17
                                        },
                                        "end": {
                                          "line": 71,
                                          "column": 39
                                        }
                                      }
                                    },
                                    "right": {
                                      "type": "CallExpression",
                                      "callee": {
                                        "type": "Identifier",
                                        "name": "subscribeToResult",
                                        "range": [
                                          2815,
                                          2832
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 71,
                                            "column": 42
                                          },
                                          "end": {
                                            "line": 71,
                                            "column": 59
                                          }
                                        }
                                      },
                                      "arguments": [
                                        {
                                          "type": "ThisExpression",
                                          "range": [
                                            2833,
                                            2837
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 71,
                                              "column": 60
                                            },
                                            "end": {
                                              "line": 71,
                                              "column": 64
                                            }
                                          }
                                        },
                                        {
                                          "type": "Identifier",
                                          "name": "value",
                                          "range": [
                                            2839,
                                            2844
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 71,
                                              "column": 66
                                            },
                                            "end": {
                                              "line": 71,
                                              "column": 71
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        2815,
                                        2845
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 71,
                                          "column": 42
                                        },
                                        "end": {
                                          "line": 71,
                                          "column": 72
                                        }
                                      }
                                    },
                                    "range": [
                                      2790,
                                      2845
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 71,
                                        "column": 17
                                      },
                                      "end": {
                                        "line": 71,
                                        "column": 72
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  2781,
                                  2846
                                ],
                                "loc": {
                                  "start": {
                                    "line": 71,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 71,
                                    "column": 73
                                  }
                                }
                              },
                              "range": [
                                2781,
                                2847
                              ],
                              "loc": {
                                "start": {
                                  "line": 71,
                                  "column": 8
                                },
                                "end": {
                                  "line": 71,
                                  "column": 74
                                }
                              }
                            }
                          ],
                          "range": [
                            2715,
                            2853
                          ],
                          "loc": {
                            "start": {
                              "line": 68,
                              "column": 56
                            },
                            "end": {
                              "line": 72,
                              "column": 5
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          2698,
                          2853
                        ],
                        "loc": {
                          "start": {
                            "line": 68,
                            "column": 39
                          },
                          "end": {
                            "line": 72,
                            "column": 5
                          }
                        }
                      },
                      "range": [
                        2663,
                        2853
                      ],
                      "loc": {
                        "start": {
                          "line": 68,
                          "column": 4
                        },
                        "end": {
                          "line": 72,
                          "column": 5
                        }
                      }
                    },
                    "range": [
                      2663,
                      2854
                    ],
                    "loc": {
                      "start": {
                        "line": 68,
                        "column": 4
                      },
                      "end": {
                        "line": 72,
                        "column": 6
                      }
                    }
                  },
                  {
                    "type": "ExpressionStatement",
                    "expression": {
                      "type": "AssignmentExpression",
                      "operator": "=",
                      "left": {
                        "type": "MemberExpression",
                        "computed": false,
                        "object": {
                          "type": "MemberExpression",
                          "computed": false,
                          "object": {
                            "type": "Identifier",
                            "name": "SwitchSubscriber",
                            "range": [
                              2859,
                              2875
                            ],
                            "loc": {
                              "start": {
                                "line": 73,
                                "column": 4
                              },
                              "end": {
                                "line": 73,
                                "column": 20
                              }
                            }
                          },
                          "property": {
                            "type": "Identifier",
                            "name": "prototype",
                            "range": [
                              2876,
                              2885
                            ],
                            "loc": {
                              "start": {
                                "line": 73,
                                "column": 21
                              },
                              "end": {
                                "line": 73,
                                "column": 30
                              }
                            }
                          },
                          "range": [
                            2859,
                            2885
                          ],
                          "loc": {
                            "start": {
                              "line": 73,
                              "column": 4
                            },
                            "end": {
                              "line": 73,
                              "column": 30
                            }
                          }
                        },
                        "property": {
                          "type": "Identifier",
                          "name": "_complete",
                          "range": [
                            2886,
                            2895
                          ],
                          "loc": {
                            "start": {
                              "line": 73,
                              "column": 31
                            },
                            "end": {
                              "line": 73,
                              "column": 40
                            }
                          }
                        },
                        "range": [
                          2859,
                          2895
                        ],
                        "loc": {
                          "start": {
                            "line": 73,
                            "column": 4
                          },
                          "end": {
                            "line": 73,
                            "column": 40
                          }
                        }
                      },
                      "right": {
                        "type": "FunctionExpression",
                        "id": null,
                        "params": [],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "AssignmentExpression",
                                "operator": "=",
                                "left": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "ThisExpression",
                                    "range": [
                                      2920,
                                      2924
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 74,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 74,
                                        "column": 12
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "hasCompleted",
                                    "range": [
                                      2925,
                                      2937
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 74,
                                        "column": 13
                                      },
                                      "end": {
                                        "line": 74,
                                        "column": 25
                                      }
                                    }
                                  },
                                  "range": [
                                    2920,
                                    2937
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 74,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 74,
                                      "column": 25
                                    }
                                  }
                                },
                                "right": {
                                  "type": "Literal",
                                  "value": true,
                                  "raw": "true",
                                  "range": [
                                    2940,
                                    2944
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 74,
                                      "column": 28
                                    },
                                    "end": {
                                      "line": 74,
                                      "column": 32
                                    }
                                  }
                                },
                                "range": [
                                  2920,
                                  2944
                                ],
                                "loc": {
                                  "start": {
                                    "line": 74,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 74,
                                    "column": 32
                                  }
                                }
                              },
                              "range": [
                                2920,
                                2945
                              ],
                              "loc": {
                                "start": {
                                  "line": 74,
                                  "column": 8
                                },
                                "end": {
                                  "line": 74,
                                  "column": 33
                                }
                              }
                            },
                            {
                              "type": "IfStatement",
                              "test": {
                                "type": "BinaryExpression",
                                "operator": "===",
                                "left": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "ThisExpression",
                                    "range": [
                                      2958,
                                      2962
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 75,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 75,
                                        "column": 16
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "active",
                                    "range": [
                                      2963,
                                      2969
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 75,
                                        "column": 17
                                      },
                                      "end": {
                                        "line": 75,
                                        "column": 23
                                      }
                                    }
                                  },
                                  "range": [
                                    2958,
                                    2969
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 75,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 75,
                                      "column": 23
                                    }
                                  }
                                },
                                "right": {
                                  "type": "Literal",
                                  "value": 0,
                                  "raw": "0",
                                  "range": [
                                    2974,
                                    2975
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 75,
                                      "column": 28
                                    },
                                    "end": {
                                      "line": 75,
                                      "column": 29
                                    }
                                  }
                                },
                                "range": [
                                  2958,
                                  2975
                                ],
                                "loc": {
                                  "start": {
                                    "line": 75,
                                    "column": 12
                                  },
                                  "end": {
                                    "line": 75,
                                    "column": 29
                                  }
                                }
                              },
                              "consequent": {
                                "type": "BlockStatement",
                                "body": [
                                  {
                                    "type": "ExpressionStatement",
                                    "expression": {
                                      "type": "CallExpression",
                                      "callee": {
                                        "type": "MemberExpression",
                                        "computed": false,
                                        "object": {
                                          "type": "MemberExpression",
                                          "computed": false,
                                          "object": {
                                            "type": "ThisExpression",
                                            "range": [
                                              2991,
                                              2995
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 76,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 76,
                                                "column": 16
                                              }
                                            }
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "name": "destination",
                                            "range": [
                                              2996,
                                              3007
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 76,
                                                "column": 17
                                              },
                                              "end": {
                                                "line": 76,
                                                "column": 28
                                              }
                                            }
                                          },
                                          "range": [
                                            2991,
                                            3007
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 76,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 76,
                                              "column": 28
                                            }
                                          }
                                        },
                                        "property": {
                                          "type": "Identifier",
                                          "name": "complete",
                                          "range": [
                                            3008,
                                            3016
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 76,
                                              "column": 29
                                            },
                                            "end": {
                                              "line": 76,
                                              "column": 37
                                            }
                                          }
                                        },
                                        "range": [
                                          2991,
                                          3016
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 76,
                                            "column": 12
                                          },
                                          "end": {
                                            "line": 76,
                                            "column": 37
                                          }
                                        }
                                      },
                                      "arguments": [],
                                      "range": [
                                        2991,
                                        3018
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 76,
                                          "column": 12
                                        },
                                        "end": {
                                          "line": 76,
                                          "column": 39
                                        }
                                      }
                                    },
                                    "range": [
                                      2991,
                                      3019
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 76,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 76,
                                        "column": 40
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  2977,
                                  3029
                                ],
                                "loc": {
                                  "start": {
                                    "line": 75,
                                    "column": 31
                                  },
                                  "end": {
                                    "line": 77,
                                    "column": 9
                                  }
                                }
                              },
                              "alternate": null,
                              "range": [
                                2954,
                                3029
                              ],
                              "loc": {
                                "start": {
                                  "line": 75,
                                  "column": 8
                                },
                                "end": {
                                  "line": 77,
                                  "column": 9
                                }
                              }
                            }
                          ],
                          "range": [
                            2910,
                            3035
                          ],
                          "loc": {
                            "start": {
                              "line": 73,
                              "column": 55
                            },
                            "end": {
                              "line": 78,
                              "column": 5
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          2898,
                          3035
                        ],
                        "loc": {
                          "start": {
                            "line": 73,
                            "column": 43
                          },
                          "end": {
                            "line": 78,
                            "column": 5
                          }
                        }
                      },
                      "range": [
                        2859,
                        3035
                      ],
                      "loc": {
                        "start": {
                          "line": 73,
                          "column": 4
                        },
                        "end": {
                          "line": 78,
                          "column": 5
                        }
                      }
                    },
                    "range": [
                      2859,
                      3036
                    ],
                    "loc": {
                      "start": {
                        "line": 73,
                        "column": 4
                      },
                      "end": {
                        "line": 78,
                        "column": 6
                      }
                    }
                  },
                  {
                    "type": "ExpressionStatement",
                    "expression": {
                      "type": "AssignmentExpression",
                      "operator": "=",
                      "left": {
                        "type": "MemberExpression",
                        "computed": false,
                        "object": {
                          "type": "MemberExpression",
                          "computed": false,
                          "object": {
                            "type": "Identifier",
                            "name": "SwitchSubscriber",
                            "range": [
                              3041,
                              3057
                            ],
                            "loc": {
                              "start": {
                                "line": 79,
                                "column": 4
                              },
                              "end": {
                                "line": 79,
                                "column": 20
                              }
                            }
                          },
                          "property": {
                            "type": "Identifier",
                            "name": "prototype",
                            "range": [
                              3058,
                              3067
                            ],
                            "loc": {
                              "start": {
                                "line": 79,
                                "column": 21
                              },
                              "end": {
                                "line": 79,
                                "column": 30
                              }
                            }
                          },
                          "range": [
                            3041,
                            3067
                          ],
                          "loc": {
                            "start": {
                              "line": 79,
                              "column": 4
                            },
                            "end": {
                              "line": 79,
                              "column": 30
                            }
                          }
                        },
                        "property": {
                          "type": "Identifier",
                          "name": "unsubscribeInner",
                          "range": [
                            3068,
                            3084
                          ],
                          "loc": {
                            "start": {
                              "line": 79,
                              "column": 31
                            },
                            "end": {
                              "line": 79,
                              "column": 47
                            }
                          }
                        },
                        "range": [
                          3041,
                          3084
                        ],
                        "loc": {
                          "start": {
                            "line": 79,
                            "column": 4
                          },
                          "end": {
                            "line": 79,
                            "column": 47
                          }
                        }
                      },
                      "right": {
                        "type": "FunctionExpression",
                        "id": null,
                        "params": [],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "AssignmentExpression",
                                "operator": "=",
                                "left": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "ThisExpression",
                                    "range": [
                                      3109,
                                      3113
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 80,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 80,
                                        "column": 12
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "active",
                                    "range": [
                                      3114,
                                      3120
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 80,
                                        "column": 13
                                      },
                                      "end": {
                                        "line": 80,
                                        "column": 19
                                      }
                                    }
                                  },
                                  "range": [
                                    3109,
                                    3120
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 80,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 80,
                                      "column": 19
                                    }
                                  }
                                },
                                "right": {
                                  "type": "ConditionalExpression",
                                  "test": {
                                    "type": "BinaryExpression",
                                    "operator": ">",
                                    "left": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "ThisExpression",
                                        "range": [
                                          3123,
                                          3127
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 80,
                                            "column": 22
                                          },
                                          "end": {
                                            "line": 80,
                                            "column": 26
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "active",
                                        "range": [
                                          3128,
                                          3134
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 80,
                                            "column": 27
                                          },
                                          "end": {
                                            "line": 80,
                                            "column": 33
                                          }
                                        }
                                      },
                                      "range": [
                                        3123,
                                        3134
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 80,
                                          "column": 22
                                        },
                                        "end": {
                                          "line": 80,
                                          "column": 33
                                        }
                                      }
                                    },
                                    "right": {
                                      "type": "Literal",
                                      "value": 0,
                                      "raw": "0",
                                      "range": [
                                        3137,
                                        3138
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 80,
                                          "column": 36
                                        },
                                        "end": {
                                          "line": 80,
                                          "column": 37
                                        }
                                      }
                                    },
                                    "range": [
                                      3123,
                                      3138
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 80,
                                        "column": 22
                                      },
                                      "end": {
                                        "line": 80,
                                        "column": 37
                                      }
                                    }
                                  },
                                  "consequent": {
                                    "type": "BinaryExpression",
                                    "operator": "-",
                                    "left": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "ThisExpression",
                                        "range": [
                                          3141,
                                          3145
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 80,
                                            "column": 40
                                          },
                                          "end": {
                                            "line": 80,
                                            "column": 44
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "active",
                                        "range": [
                                          3146,
                                          3152
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 80,
                                            "column": 45
                                          },
                                          "end": {
                                            "line": 80,
                                            "column": 51
                                          }
                                        }
                                      },
                                      "range": [
                                        3141,
                                        3152
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 80,
                                          "column": 40
                                        },
                                        "end": {
                                          "line": 80,
                                          "column": 51
                                        }
                                      }
                                    },
                                    "right": {
                                      "type": "Literal",
                                      "value": 1,
                                      "raw": "1",
                                      "range": [
                                        3155,
                                        3156
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 80,
                                          "column": 54
                                        },
                                        "end": {
                                          "line": 80,
                                          "column": 55
                                        }
                                      }
                                    },
                                    "range": [
                                      3141,
                                      3156
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 80,
                                        "column": 40
                                      },
                                      "end": {
                                        "line": 80,
                                        "column": 55
                                      }
                                    }
                                  },
                                  "alternate": {
                                    "type": "Literal",
                                    "value": 0,
                                    "raw": "0",
                                    "range": [
                                      3159,
                                      3160
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 80,
                                        "column": 58
                                      },
                                      "end": {
                                        "line": 80,
                                        "column": 59
                                      }
                                    }
                                  },
                                  "range": [
                                    3123,
                                    3160
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 80,
                                      "column": 22
                                    },
                                    "end": {
                                      "line": 80,
                                      "column": 59
                                    }
                                  }
                                },
                                "range": [
                                  3109,
                                  3160
                                ],
                                "loc": {
                                  "start": {
                                    "line": 80,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 80,
                                    "column": 59
                                  }
                                }
                              },
                              "range": [
                                3109,
                                3161
                              ],
                              "loc": {
                                "start": {
                                  "line": 80,
                                  "column": 8
                                },
                                "end": {
                                  "line": 80,
                                  "column": 60
                                }
                              }
                            },
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "innerSubscription",
                                    "range": [
                                      3174,
                                      3191
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 81,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 81,
                                        "column": 29
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "MemberExpression",
                                    "computed": false,
                                    "object": {
                                      "type": "ThisExpression",
                                      "range": [
                                        3194,
                                        3198
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 81,
                                          "column": 32
                                        },
                                        "end": {
                                          "line": 81,
                                          "column": 36
                                        }
                                      }
                                    },
                                    "property": {
                                      "type": "Identifier",
                                      "name": "innerSubscription",
                                      "range": [
                                        3199,
                                        3216
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 81,
                                          "column": 37
                                        },
                                        "end": {
                                          "line": 81,
                                          "column": 54
                                        }
                                      }
                                    },
                                    "range": [
                                      3194,
                                      3216
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 81,
                                        "column": 32
                                      },
                                      "end": {
                                        "line": 81,
                                        "column": 54
                                      }
                                    }
                                  },
                                  "range": [
                                    3174,
                                    3216
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 81,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 81,
                                      "column": 54
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                3170,
                                3217
                              ],
                              "loc": {
                                "start": {
                                  "line": 81,
                                  "column": 8
                                },
                                "end": {
                                  "line": 81,
                                  "column": 55
                                }
                              }
                            },
                            {
                              "type": "IfStatement",
                              "test": {
                                "type": "Identifier",
                                "name": "innerSubscription",
                                "range": [
                                  3230,
                                  3247
                                ],
                                "loc": {
                                  "start": {
                                    "line": 82,
                                    "column": 12
                                  },
                                  "end": {
                                    "line": 82,
                                    "column": 29
                                  }
                                }
                              },
                              "consequent": {
                                "type": "BlockStatement",
                                "body": [
                                  {
                                    "type": "ExpressionStatement",
                                    "expression": {
                                      "type": "CallExpression",
                                      "callee": {
                                        "type": "MemberExpression",
                                        "computed": false,
                                        "object": {
                                          "type": "Identifier",
                                          "name": "innerSubscription",
                                          "range": [
                                            3263,
                                            3280
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 83,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 83,
                                              "column": 29
                                            }
                                          }
                                        },
                                        "property": {
                                          "type": "Identifier",
                                          "name": "unsubscribe",
                                          "range": [
                                            3281,
                                            3292
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 83,
                                              "column": 30
                                            },
                                            "end": {
                                              "line": 83,
                                              "column": 41
                                            }
                                          }
                                        },
                                        "range": [
                                          3263,
                                          3292
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 83,
                                            "column": 12
                                          },
                                          "end": {
                                            "line": 83,
                                            "column": 41
                                          }
                                        }
                                      },
                                      "arguments": [],
                                      "range": [
                                        3263,
                                        3294
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 83,
                                          "column": 12
                                        },
                                        "end": {
                                          "line": 83,
                                          "column": 43
                                        }
                                      }
                                    },
                                    "range": [
                                      3263,
                                      3295
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 83,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 83,
                                        "column": 44
                                      }
                                    }
                                  },
                                  {
                                    "type": "ExpressionStatement",
                                    "expression": {
                                      "type": "CallExpression",
                                      "callee": {
                                        "type": "MemberExpression",
                                        "computed": false,
                                        "object": {
                                          "type": "ThisExpression",
                                          "range": [
                                            3308,
                                            3312
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 84,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 84,
                                              "column": 16
                                            }
                                          }
                                        },
                                        "property": {
                                          "type": "Identifier",
                                          "name": "remove",
                                          "range": [
                                            3313,
                                            3319
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 84,
                                              "column": 17
                                            },
                                            "end": {
                                              "line": 84,
                                              "column": 23
                                            }
                                          }
                                        },
                                        "range": [
                                          3308,
                                          3319
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 84,
                                            "column": 12
                                          },
                                          "end": {
                                            "line": 84,
                                            "column": 23
                                          }
                                        }
                                      },
                                      "arguments": [
                                        {
                                          "type": "Identifier",
                                          "name": "innerSubscription",
                                          "range": [
                                            3320,
                                            3337
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 84,
                                              "column": 24
                                            },
                                            "end": {
                                              "line": 84,
                                              "column": 41
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        3308,
                                        3338
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 84,
                                          "column": 12
                                        },
                                        "end": {
                                          "line": 84,
                                          "column": 42
                                        }
                                      }
                                    },
                                    "range": [
                                      3308,
                                      3339
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 84,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 84,
                                        "column": 43
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  3249,
                                  3349
                                ],
                                "loc": {
                                  "start": {
                                    "line": 82,
                                    "column": 31
                                  },
                                  "end": {
                                    "line": 85,
                                    "column": 9
                                  }
                                }
                              },
                              "alternate": null,
                              "range": [
                                3226,
                                3349
                              ],
                              "loc": {
                                "start": {
                                  "line": 82,
                                  "column": 8
                                },
                                "end": {
                                  "line": 85,
                                  "column": 9
                                }
                              }
                            }
                          ],
                          "range": [
                            3099,
                            3355
                          ],
                          "loc": {
                            "start": {
                              "line": 79,
                              "column": 62
                            },
                            "end": {
                              "line": 86,
                              "column": 5
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          3087,
                          3355
                        ],
                        "loc": {
                          "start": {
                            "line": 79,
                            "column": 50
                          },
                          "end": {
                            "line": 86,
                            "column": 5
                          }
                        }
                      },
                      "range": [
                        3041,
                        3355
                      ],
                      "loc": {
                        "start": {
                          "line": 79,
                          "column": 4
                        },
                        "end": {
                          "line": 86,
                          "column": 5
                        }
                      }
                    },
                    "range": [
                      3041,
                      3356
                    ],
                    "loc": {
                      "start": {
                        "line": 79,
                        "column": 4
                      },
                      "end": {
                        "line": 86,
                        "column": 6
                      }
                    }
                  },
                  {
                    "type": "ExpressionStatement",
                    "expression": {
                      "type": "AssignmentExpression",
                      "operator": "=",
                      "left": {
                        "type": "MemberExpression",
                        "computed": false,
                        "object": {
                          "type": "MemberExpression",
                          "computed": false,
                          "object": {
                            "type": "Identifier",
                            "name": "SwitchSubscriber",
                            "range": [
                              3361,
                              3377
                            ],
                            "loc": {
                              "start": {
                                "line": 87,
                                "column": 4
                              },
                              "end": {
                                "line": 87,
                                "column": 20
                              }
                            }
                          },
                          "property": {
                            "type": "Identifier",
                            "name": "prototype",
                            "range": [
                              3378,
                              3387
                            ],
                            "loc": {
                              "start": {
                                "line": 87,
                                "column": 21
                              },
                              "end": {
                                "line": 87,
                                "column": 30
                              }
                            }
                          },
                          "range": [
                            3361,
                            3387
                          ],
                          "loc": {
                            "start": {
                              "line": 87,
                              "column": 4
                            },
                            "end": {
                              "line": 87,
                              "column": 30
                            }
                          }
                        },
                        "property": {
                          "type": "Identifier",
                          "name": "notifyNext",
                          "range": [
                            3388,
                            3398
                          ],
                          "loc": {
                            "start": {
                              "line": 87,
                              "column": 31
                            },
                            "end": {
                              "line": 87,
                              "column": 41
                            }
                          }
                        },
                        "range": [
                          3361,
                          3398
                        ],
                        "loc": {
                          "start": {
                            "line": 87,
                            "column": 4
                          },
                          "end": {
                            "line": 87,
                            "column": 41
                          }
                        }
                      },
                      "right": {
                        "type": "FunctionExpression",
                        "id": null,
                        "params": [
                          {
                            "type": "Identifier",
                            "name": "outerValue",
                            "range": [
                              3411,
                              3421
                            ],
                            "loc": {
                              "start": {
                                "line": 87,
                                "column": 54
                              },
                              "end": {
                                "line": 87,
                                "column": 64
                              }
                            }
                          },
                          {
                            "type": "Identifier",
                            "name": "innerValue",
                            "range": [
                              3423,
                              3433
                            ],
                            "loc": {
                              "start": {
                                "line": 87,
                                "column": 66
                              },
                              "end": {
                                "line": 87,
                                "column": 76
                              }
                            }
                          },
                          {
                            "type": "Identifier",
                            "name": "outerIndex",
                            "range": [
                              3435,
                              3445
                            ],
                            "loc": {
                              "start": {
                                "line": 87,
                                "column": 78
                              },
                              "end": {
                                "line": 87,
                                "column": 88
                              }
                            }
                          },
                          {
                            "type": "Identifier",
                            "name": "innerIndex",
                            "range": [
                              3447,
                              3457
                            ],
                            "loc": {
                              "start": {
                                "line": 87,
                                "column": 90
                              },
                              "end": {
                                "line": 87,
                                "column": 100
                              }
                            }
                          },
                          {
                            "type": "Identifier",
                            "name": "innerSub",
                            "range": [
                              3459,
                              3467
                            ],
                            "loc": {
                              "start": {
                                "line": 87,
                                "column": 102
                              },
                              "end": {
                                "line": 87,
                                "column": 110
                              }
                            }
                          }
                        ],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "MemberExpression",
                                    "computed": false,
                                    "object": {
                                      "type": "ThisExpression",
                                      "range": [
                                        3479,
                                        3483
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 88,
                                          "column": 8
                                        },
                                        "end": {
                                          "line": 88,
                                          "column": 12
                                        }
                                      }
                                    },
                                    "property": {
                                      "type": "Identifier",
                                      "name": "destination",
                                      "range": [
                                        3484,
                                        3495
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 88,
                                          "column": 13
                                        },
                                        "end": {
                                          "line": 88,
                                          "column": 24
                                        }
                                      }
                                    },
                                    "range": [
                                      3479,
                                      3495
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 88,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 88,
                                        "column": 24
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "next",
                                    "range": [
                                      3496,
                                      3500
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 88,
                                        "column": 25
                                      },
                                      "end": {
                                        "line": 88,
                                        "column": 29
                                      }
                                    }
                                  },
                                  "range": [
                                    3479,
                                    3500
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 88,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 88,
                                      "column": 29
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "Identifier",
                                    "name": "innerValue",
                                    "range": [
                                      3501,
                                      3511
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 88,
                                        "column": 30
                                      },
                                      "end": {
                                        "line": 88,
                                        "column": 40
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  3479,
                                  3512
                                ],
                                "loc": {
                                  "start": {
                                    "line": 88,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 88,
                                    "column": 41
                                  }
                                }
                              },
                              "range": [
                                3479,
                                3513
                              ],
                              "loc": {
                                "start": {
                                  "line": 88,
                                  "column": 8
                                },
                                "end": {
                                  "line": 88,
                                  "column": 42
                                }
                              }
                            }
                          ],
                          "range": [
                            3469,
                            3519
                          ],
                          "loc": {
                            "start": {
                              "line": 87,
                              "column": 112
                            },
                            "end": {
                              "line": 89,
                              "column": 5
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          3401,
                          3519
                        ],
                        "loc": {
                          "start": {
                            "line": 87,
                            "column": 44
                          },
                          "end": {
                            "line": 89,
                            "column": 5
                          }
                        }
                      },
                      "range": [
                        3361,
                        3519
                      ],
                      "loc": {
                        "start": {
                          "line": 87,
                          "column": 4
                        },
                        "end": {
                          "line": 89,
                          "column": 5
                        }
                      }
                    },
                    "range": [
                      3361,
                      3520
                    ],
                    "loc": {
                      "start": {
                        "line": 87,
                        "column": 4
                      },
                      "end": {
                        "line": 89,
                        "column": 6
                      }
                    }
                  },
                  {
                    "type": "ExpressionStatement",
                    "expression": {
                      "type": "AssignmentExpression",
                      "operator": "=",
                      "left": {
                        "type": "MemberExpression",
                        "computed": false,
                        "object": {
                          "type": "MemberExpression",
                          "computed": false,
                          "object": {
                            "type": "Identifier",
                            "name": "SwitchSubscriber",
                            "range": [
                              3525,
                              3541
                            ],
                            "loc": {
                              "start": {
                                "line": 90,
                                "column": 4
                              },
                              "end": {
                                "line": 90,
                                "column": 20
                              }
                            }
                          },
                          "property": {
                            "type": "Identifier",
                            "name": "prototype",
                            "range": [
                              3542,
                              3551
                            ],
                            "loc": {
                              "start": {
                                "line": 90,
                                "column": 21
                              },
                              "end": {
                                "line": 90,
                                "column": 30
                              }
                            }
                          },
                          "range": [
                            3525,
                            3551
                          ],
                          "loc": {
                            "start": {
                              "line": 90,
                              "column": 4
                            },
                            "end": {
                              "line": 90,
                              "column": 30
                            }
                          }
                        },
                        "property": {
                          "type": "Identifier",
                          "name": "notifyError",
                          "range": [
                            3552,
                            3563
                          ],
                          "loc": {
                            "start": {
                              "line": 90,
                              "column": 31
                            },
                            "end": {
                              "line": 90,
                              "column": 42
                            }
                          }
                        },
                        "range": [
                          3525,
                          3563
                        ],
                        "loc": {
                          "start": {
                            "line": 90,
                            "column": 4
                          },
                          "end": {
                            "line": 90,
                            "column": 42
                          }
                        }
                      },
                      "right": {
                        "type": "FunctionExpression",
                        "id": null,
                        "params": [
                          {
                            "type": "Identifier",
                            "name": "err",
                            "range": [
                              3576,
                              3579
                            ],
                            "loc": {
                              "start": {
                                "line": 90,
                                "column": 55
                              },
                              "end": {
                                "line": 90,
                                "column": 58
                              }
                            }
                          }
                        ],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "MemberExpression",
                                    "computed": false,
                                    "object": {
                                      "type": "ThisExpression",
                                      "range": [
                                        3591,
                                        3595
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 91,
                                          "column": 8
                                        },
                                        "end": {
                                          "line": 91,
                                          "column": 12
                                        }
                                      }
                                    },
                                    "property": {
                                      "type": "Identifier",
                                      "name": "destination",
                                      "range": [
                                        3596,
                                        3607
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 91,
                                          "column": 13
                                        },
                                        "end": {
                                          "line": 91,
                                          "column": 24
                                        }
                                      }
                                    },
                                    "range": [
                                      3591,
                                      3607
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 91,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 91,
                                        "column": 24
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "error",
                                    "range": [
                                      3608,
                                      3613
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 91,
                                        "column": 25
                                      },
                                      "end": {
                                        "line": 91,
                                        "column": 30
                                      }
                                    }
                                  },
                                  "range": [
                                    3591,
                                    3613
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 91,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 91,
                                      "column": 30
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "Identifier",
                                    "name": "err",
                                    "range": [
                                      3614,
                                      3617
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 91,
                                        "column": 31
                                      },
                                      "end": {
                                        "line": 91,
                                        "column": 34
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  3591,
                                  3618
                                ],
                                "loc": {
                                  "start": {
                                    "line": 91,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 91,
                                    "column": 35
                                  }
                                }
                              },
                              "range": [
                                3591,
                                3619
                              ],
                              "loc": {
                                "start": {
                                  "line": 91,
                                  "column": 8
                                },
                                "end": {
                                  "line": 91,
                                  "column": 36
                                }
                              }
                            }
                          ],
                          "range": [
                            3581,
                            3625
                          ],
                          "loc": {
                            "start": {
                              "line": 90,
                              "column": 60
                            },
                            "end": {
                              "line": 92,
                              "column": 5
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          3566,
                          3625
                        ],
                        "loc": {
                          "start": {
                            "line": 90,
                            "column": 45
                          },
                          "end": {
                            "line": 92,
                            "column": 5
                          }
                        }
                      },
                      "range": [
                        3525,
                        3625
                      ],
                      "loc": {
                        "start": {
                          "line": 90,
                          "column": 4
                        },
                        "end": {
                          "line": 92,
                          "column": 5
                        }
                      }
                    },
                    "range": [
                      3525,
                      3626
                    ],
                    "loc": {
                      "start": {
                        "line": 90,
                        "column": 4
                      },
                      "end": {
                        "line": 92,
                        "column": 6
                      }
                    }
                  },
                  {
                    "type": "ExpressionStatement",
                    "expression": {
                      "type": "AssignmentExpression",
                      "operator": "=",
                      "left": {
                        "type": "MemberExpression",
                        "computed": false,
                        "object": {
                          "type": "MemberExpression",
                          "computed": false,
                          "object": {
                            "type": "Identifier",
                            "name": "SwitchSubscriber",
                            "range": [
                              3631,
                              3647
                            ],
                            "loc": {
                              "start": {
                                "line": 93,
                                "column": 4
                              },
                              "end": {
                                "line": 93,
                                "column": 20
                              }
                            }
                          },
                          "property": {
                            "type": "Identifier",
                            "name": "prototype",
                            "range": [
                              3648,
                              3657
                            ],
                            "loc": {
                              "start": {
                                "line": 93,
                                "column": 21
                              },
                              "end": {
                                "line": 93,
                                "column": 30
                              }
                            }
                          },
                          "range": [
                            3631,
                            3657
                          ],
                          "loc": {
                            "start": {
                              "line": 93,
                              "column": 4
                            },
                            "end": {
                              "line": 93,
                              "column": 30
                            }
                          }
                        },
                        "property": {
                          "type": "Identifier",
                          "name": "notifyComplete",
                          "range": [
                            3658,
                            3672
                          ],
                          "loc": {
                            "start": {
                              "line": 93,
                              "column": 31
                            },
                            "end": {
                              "line": 93,
                              "column": 45
                            }
                          }
                        },
                        "range": [
                          3631,
                          3672
                        ],
                        "loc": {
                          "start": {
                            "line": 93,
                            "column": 4
                          },
                          "end": {
                            "line": 93,
                            "column": 45
                          }
                        }
                      },
                      "right": {
                        "type": "FunctionExpression",
                        "id": null,
                        "params": [],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "ThisExpression",
                                    "range": [
                                      3697,
                                      3701
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 94,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 94,
                                        "column": 12
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "unsubscribeInner",
                                    "range": [
                                      3702,
                                      3718
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 94,
                                        "column": 13
                                      },
                                      "end": {
                                        "line": 94,
                                        "column": 29
                                      }
                                    }
                                  },
                                  "range": [
                                    3697,
                                    3718
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 94,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 94,
                                      "column": 29
                                    }
                                  }
                                },
                                "arguments": [],
                                "range": [
                                  3697,
                                  3720
                                ],
                                "loc": {
                                  "start": {
                                    "line": 94,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 94,
                                    "column": 31
                                  }
                                }
                              },
                              "range": [
                                3697,
                                3721
                              ],
                              "loc": {
                                "start": {
                                  "line": 94,
                                  "column": 8
                                },
                                "end": {
                                  "line": 94,
                                  "column": 32
                                }
                              }
                            },
                            {
                              "type": "IfStatement",
                              "test": {
                                "type": "LogicalExpression",
                                "operator": "&&",
                                "left": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "ThisExpression",
                                    "range": [
                                      3734,
                                      3738
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 95,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 95,
                                        "column": 16
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "hasCompleted",
                                    "range": [
                                      3739,
                                      3751
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 95,
                                        "column": 17
                                      },
                                      "end": {
                                        "line": 95,
                                        "column": 29
                                      }
                                    }
                                  },
                                  "range": [
                                    3734,
                                    3751
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 95,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 95,
                                      "column": 29
                                    }
                                  }
                                },
                                "right": {
                                  "type": "BinaryExpression",
                                  "operator": "===",
                                  "left": {
                                    "type": "MemberExpression",
                                    "computed": false,
                                    "object": {
                                      "type": "ThisExpression",
                                      "range": [
                                        3755,
                                        3759
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 95,
                                          "column": 33
                                        },
                                        "end": {
                                          "line": 95,
                                          "column": 37
                                        }
                                      }
                                    },
                                    "property": {
                                      "type": "Identifier",
                                      "name": "active",
                                      "range": [
                                        3760,
                                        3766
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 95,
                                          "column": 38
                                        },
                                        "end": {
                                          "line": 95,
                                          "column": 44
                                        }
                                      }
                                    },
                                    "range": [
                                      3755,
                                      3766
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 95,
                                        "column": 33
                                      },
                                      "end": {
                                        "line": 95,
                                        "column": 44
                                      }
                                    }
                                  },
                                  "right": {
                                    "type": "Literal",
                                    "value": 0,
                                    "raw": "0",
                                    "range": [
                                      3771,
                                      3772
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 95,
                                        "column": 49
                                      },
                                      "end": {
                                        "line": 95,
                                        "column": 50
                                      }
                                    }
                                  },
                                  "range": [
                                    3755,
                                    3772
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 95,
                                      "column": 33
                                    },
                                    "end": {
                                      "line": 95,
                                      "column": 50
                                    }
                                  }
                                },
                                "range": [
                                  3734,
                                  3772
                                ],
                                "loc": {
                                  "start": {
                                    "line": 95,
                                    "column": 12
                                  },
                                  "end": {
                                    "line": 95,
                                    "column": 50
                                  }
                                }
                              },
                              "consequent": {
                                "type": "BlockStatement",
                                "body": [
                                  {
                                    "type": "ExpressionStatement",
                                    "expression": {
                                      "type": "CallExpression",
                                      "callee": {
                                        "type": "MemberExpression",
                                        "computed": false,
                                        "object": {
                                          "type": "MemberExpression",
                                          "computed": false,
                                          "object": {
                                            "type": "ThisExpression",
                                            "range": [
                                              3788,
                                              3792
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 96,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 96,
                                                "column": 16
                                              }
                                            }
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "name": "destination",
                                            "range": [
                                              3793,
                                              3804
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 96,
                                                "column": 17
                                              },
                                              "end": {
                                                "line": 96,
                                                "column": 28
                                              }
                                            }
                                          },
                                          "range": [
                                            3788,
                                            3804
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 96,
                                              "column": 12
                                            },
                                            "end": {
                                              "line": 96,
                                              "column": 28
                                            }
                                          }
                                        },
                                        "property": {
                                          "type": "Identifier",
                                          "name": "complete",
                                          "range": [
                                            3805,
                                            3813
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 96,
                                              "column": 29
                                            },
                                            "end": {
                                              "line": 96,
                                              "column": 37
                                            }
                                          }
                                        },
                                        "range": [
                                          3788,
                                          3813
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 96,
                                            "column": 12
                                          },
                                          "end": {
                                            "line": 96,
                                            "column": 37
                                          }
                                        }
                                      },
                                      "arguments": [],
                                      "range": [
                                        3788,
                                        3815
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 96,
                                          "column": 12
                                        },
                                        "end": {
                                          "line": 96,
                                          "column": 39
                                        }
                                      }
                                    },
                                    "range": [
                                      3788,
                                      3816
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 96,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 96,
                                        "column": 40
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  3774,
                                  3826
                                ],
                                "loc": {
                                  "start": {
                                    "line": 95,
                                    "column": 52
                                  },
                                  "end": {
                                    "line": 97,
                                    "column": 9
                                  }
                                }
                              },
                              "alternate": null,
                              "range": [
                                3730,
                                3826
                              ],
                              "loc": {
                                "start": {
                                  "line": 95,
                                  "column": 8
                                },
                                "end": {
                                  "line": 97,
                                  "column": 9
                                }
                              }
                            }
                          ],
                          "range": [
                            3687,
                            3832
                          ],
                          "loc": {
                            "start": {
                              "line": 93,
                              "column": 60
                            },
                            "end": {
                              "line": 98,
                              "column": 5
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          3675,
                          3832
                        ],
                        "loc": {
                          "start": {
                            "line": 93,
                            "column": 48
                          },
                          "end": {
                            "line": 98,
                            "column": 5
                          }
                        }
                      },
                      "range": [
                        3631,
                        3832
                      ],
                      "loc": {
                        "start": {
                          "line": 93,
                          "column": 4
                        },
                        "end": {
                          "line": 98,
                          "column": 5
                        }
                      }
                    },
                    "range": [
                      3631,
                      3833
                    ],
                    "loc": {
                      "start": {
                        "line": 93,
                        "column": 4
                      },
                      "end": {
                        "line": 98,
                        "column": 6
                      }
                    }
                  },
                  {
                    "type": "ReturnStatement",
                    "argument": {
                      "type": "Identifier",
                      "name": "SwitchSubscriber",
                      "range": [
                        3845,
                        3861
                      ],
                      "loc": {
                        "start": {
                          "line": 99,
                          "column": 11
                        },
                        "end": {
                          "line": 99,
                          "column": 27
                        }
                      }
                    },
                    "range": [
                      3838,
                      3862
                    ],
                    "loc": {
                      "start": {
                        "line": 99,
                        "column": 4
                      },
                      "end": {
                        "line": 99,
                        "column": 28
                      }
                    }
                  }
                ],
                "range": [
                  2465,
                  3864
                ],
                "loc": {
                  "start": {
                    "line": 61,
                    "column": 42
                  },
                  "end": {
                    "line": 100,
                    "column": 1
                  }
                }
              },
              "generator": false,
              "expression": false,
              "range": [
                2447,
                3864
              ],
              "loc": {
                "start": {
                  "line": 61,
                  "column": 24
                },
                "end": {
                  "line": 100,
                  "column": 1
                }
              }
            },
            "arguments": [
              {
                "type": "Identifier",
                "name": "OuterSubscriber",
                "range": [
                  3865,
                  3880
                ],
                "loc": {
                  "start": {
                    "line": 100,
                    "column": 2
                  },
                  "end": {
                    "line": 100,
                    "column": 17
                  }
                }
              }
            ],
            "range": [
              2447,
              3881
            ],
            "loc": {
              "start": {
                "line": 61,
                "column": 24
              },
              "end": {
                "line": 100,
                "column": 18
              }
            }
          },
          "range": [
            2427,
            3882
          ],
          "loc": {
            "start": {
              "line": 61,
              "column": 4
            },
            "end": {
              "line": 100,
              "column": 19
            }
          }
        }
      ],
      "kind": "var",
      "range": [
        2423,
        3883
      ],
      "loc": {
        "start": {
          "line": 61,
          "column": 0
        },
        "end": {
          "line": 100,
          "column": 20
        }
      },
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n ",
          "range": [
            2331,
            2422
          ],
          "loc": {
            "start": {
              "line": 56,
              "column": 0
            },
            "end": {
              "line": 60,
              "column": 3
            }
          }
        }
      ],
      "trailingComments": [
        {
          "type": "Line",
          "value": "# sourceMappingURL=switch.js.map",
          "range": [
            3884,
            3918
          ],
          "loc": {
            "start": {
              "line": 101,
              "column": 0
            },
            "end": {
              "line": 101,
              "column": 34
            }
          }
        }
      ]
    }
  ],
  "sourceType": "module",
  "range": [
    0,
    3883
  ],
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 100,
      "column": 20
    }
  },
  "comments": [
    {
      "type": "Block",
      "value": "*\n * Converts a higher-order Observable into a first-order Observable by\n * subscribing to only the most recently emitted of those inner Observables.\n *\n * <span class=\"informal\">Flattens an Observable-of-Observables by dropping the\n * previous inner Observable once a new one appears.</span>\n *\n * <img src=\"./img/switch.png\" width=\"100%\">\n *\n * `switch` subscribes to an Observable that emits Observables, also known as a\n * higher-order Observable. Each time it observes one of these emitted inner\n * Observables, the output Observable subscribes to the inner Observable and\n * begins emitting the items emitted by that. So far, it behaves\n * like {@link mergeAll}. However, when a new inner Observable is emitted,\n * `switch` unsubscribes from the earlier-emitted inner Observable and\n * subscribes to the new inner Observable and begins emitting items from it. It\n * continues to behave like this for subsequent inner Observables.\n *\n * @example <caption>Rerun an interval Observable on every click event</caption>\n * var clicks = Rx.Observable.fromEvent(document, 'click');\n * // Each click event is mapped to an Observable that ticks every second\n * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000));\n * var switched = higherOrder.switch();\n * // The outcome is that `switched` is essentially a timer that restarts\n * // on every click. The interval Observables from older clicks do not merge\n * // with the current interval Observable.\n * switched.subscribe(x => console.log(x));\n *\n * @see {@link combineAll}\n * @see {@link concatAll}\n * @see {@link exhaust}\n * @see {@link mergeAll}\n * @see {@link switchMap}\n * @see {@link switchMapTo}\n * @see {@link zipAll}\n *\n * @return {Observable<T>} An Observable that emits the items emitted by the\n * Observable most recently emitted by the source Observable.\n * @method switch\n * @name switch\n * @owner Observable\n ",
      "range": [
        117,
        2006
      ],
      "loc": {
        "start": {
          "line": 3,
          "column": 0
        },
        "end": {
          "line": 44,
          "column": 3
        }
      }
    },
    {
      "type": "Block",
      "value": "*\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n ",
      "range": [
        2331,
        2422
      ],
      "loc": {
        "start": {
          "line": 56,
          "column": 0
        },
        "end": {
          "line": 60,
          "column": 3
        }
      }
    },
    {
      "type": "Line",
      "value": "# sourceMappingURL=switch.js.map",
      "range": [
        3884,
        3918
      ],
      "loc": {
        "start": {
          "line": 101,
          "column": 0
        },
        "end": {
          "line": 101,
          "column": 34
        }
      }
    }
  ]
}