{
  "type": "Program",
  "body": [
    {
      "type": "ImportDeclaration",
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "local": {
            "type": "Identifier",
            "name": "ReplaySubject",
            "range": [
              9,
              22
            ],
            "loc": {
              "start": {
                "line": 1,
                "column": 9
              },
              "end": {
                "line": 1,
                "column": 22
              }
            }
          },
          "imported": {
            "type": "Identifier",
            "name": "ReplaySubject",
            "range": [
              9,
              22
            ],
            "loc": {
              "start": {
                "line": 1,
                "column": 9
              },
              "end": {
                "line": 1,
                "column": 22
              }
            }
          },
          "range": [
            9,
            22
          ],
          "loc": {
            "start": {
              "line": 1,
              "column": 9
            },
            "end": {
              "line": 1,
              "column": 22
            }
          }
        }
      ],
      "source": {
        "type": "Literal",
        "value": "../ReplaySubject",
        "raw": "'../ReplaySubject'",
        "range": [
          30,
          48
        ],
        "loc": {
          "start": {
            "line": 1,
            "column": 30
          },
          "end": {
            "line": 1,
            "column": 48
          }
        }
      },
      "range": [
        0,
        49
      ],
      "loc": {
        "start": {
          "line": 1,
          "column": 0
        },
        "end": {
          "line": 1,
          "column": 49
        }
      }
    },
    {
      "type": "ImportDeclaration",
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "local": {
            "type": "Identifier",
            "name": "multicast",
            "range": [
              59,
              68
            ],
            "loc": {
              "start": {
                "line": 2,
                "column": 9
              },
              "end": {
                "line": 2,
                "column": 18
              }
            }
          },
          "imported": {
            "type": "Identifier",
            "name": "multicast",
            "range": [
              59,
              68
            ],
            "loc": {
              "start": {
                "line": 2,
                "column": 9
              },
              "end": {
                "line": 2,
                "column": 18
              }
            }
          },
          "range": [
            59,
            68
          ],
          "loc": {
            "start": {
              "line": 2,
              "column": 9
            },
            "end": {
              "line": 2,
              "column": 18
            }
          }
        }
      ],
      "source": {
        "type": "Literal",
        "value": "./multicast",
        "raw": "'./multicast'",
        "range": [
          76,
          89
        ],
        "loc": {
          "start": {
            "line": 2,
            "column": 26
          },
          "end": {
            "line": 2,
            "column": 39
          }
        }
      },
      "range": [
        50,
        90
      ],
      "loc": {
        "start": {
          "line": 2,
          "column": 0
        },
        "end": {
          "line": 2,
          "column": 40
        }
      },
      "trailingComments": [
        {
          "type": "Block",
          "value": "*\n * @param bufferSize\n * @param windowTime\n * @param scheduler\n * @return {ConnectableObservable<T>}\n * @method publishReplay\n * @owner Observable\n ",
          "range": [
            91,
            244
          ],
          "loc": {
            "start": {
              "line": 3,
              "column": 0
            },
            "end": {
              "line": 10,
              "column": 3
            }
          }
        }
      ]
    },
    {
      "type": "ExportNamedDeclaration",
      "declaration": {
        "type": "FunctionDeclaration",
        "id": {
          "type": "Identifier",
          "name": "publishReplay",
          "range": [
            261,
            274
          ],
          "loc": {
            "start": {
              "line": 11,
              "column": 16
            },
            "end": {
              "line": 11,
              "column": 29
            }
          }
        },
        "params": [
          {
            "type": "Identifier",
            "name": "bufferSize",
            "range": [
              275,
              285
            ],
            "loc": {
              "start": {
                "line": 11,
                "column": 30
              },
              "end": {
                "line": 11,
                "column": 40
              }
            }
          },
          {
            "type": "Identifier",
            "name": "windowTime",
            "range": [
              287,
              297
            ],
            "loc": {
              "start": {
                "line": 11,
                "column": 42
              },
              "end": {
                "line": 11,
                "column": 52
              }
            }
          },
          {
            "type": "Identifier",
            "name": "scheduler",
            "range": [
              299,
              308
            ],
            "loc": {
              "start": {
                "line": 11,
                "column": 54
              },
              "end": {
                "line": 11,
                "column": 63
              }
            }
          }
        ],
        "body": {
          "type": "BlockStatement",
          "body": [
            {
              "type": "IfStatement",
              "test": {
                "type": "BinaryExpression",
                "operator": "===",
                "left": {
                  "type": "Identifier",
                  "name": "bufferSize",
                  "range": [
                    320,
                    330
                  ],
                  "loc": {
                    "start": {
                      "line": 12,
                      "column": 8
                    },
                    "end": {
                      "line": 12,
                      "column": 18
                    }
                  }
                },
                "right": {
                  "type": "UnaryExpression",
                  "operator": "void",
                  "argument": {
                    "type": "Literal",
                    "value": 0,
                    "raw": "0",
                    "range": [
                      340,
                      341
                    ],
                    "loc": {
                      "start": {
                        "line": 12,
                        "column": 28
                      },
                      "end": {
                        "line": 12,
                        "column": 29
                      }
                    }
                  },
                  "prefix": true,
                  "range": [
                    335,
                    341
                  ],
                  "loc": {
                    "start": {
                      "line": 12,
                      "column": 23
                    },
                    "end": {
                      "line": 12,
                      "column": 29
                    }
                  }
                },
                "range": [
                  320,
                  341
                ],
                "loc": {
                  "start": {
                    "line": 12,
                    "column": 8
                  },
                  "end": {
                    "line": 12,
                    "column": 29
                  }
                }
              },
              "consequent": {
                "type": "BlockStatement",
                "body": [
                  {
                    "type": "ExpressionStatement",
                    "expression": {
                      "type": "AssignmentExpression",
                      "operator": "=",
                      "left": {
                        "type": "Identifier",
                        "name": "bufferSize",
                        "range": [
                          345,
                          355
                        ],
                        "loc": {
                          "start": {
                            "line": 12,
                            "column": 33
                          },
                          "end": {
                            "line": 12,
                            "column": 43
                          }
                        }
                      },
                      "right": {
                        "type": "MemberExpression",
                        "computed": false,
                        "object": {
                          "type": "Identifier",
                          "name": "Number",
                          "range": [
                            358,
                            364
                          ],
                          "loc": {
                            "start": {
                              "line": 12,
                              "column": 46
                            },
                            "end": {
                              "line": 12,
                              "column": 52
                            }
                          }
                        },
                        "property": {
                          "type": "Identifier",
                          "name": "POSITIVE_INFINITY",
                          "range": [
                            365,
                            382
                          ],
                          "loc": {
                            "start": {
                              "line": 12,
                              "column": 53
                            },
                            "end": {
                              "line": 12,
                              "column": 70
                            }
                          }
                        },
                        "range": [
                          358,
                          382
                        ],
                        "loc": {
                          "start": {
                            "line": 12,
                            "column": 46
                          },
                          "end": {
                            "line": 12,
                            "column": 70
                          }
                        }
                      },
                      "range": [
                        345,
                        382
                      ],
                      "loc": {
                        "start": {
                          "line": 12,
                          "column": 33
                        },
                        "end": {
                          "line": 12,
                          "column": 70
                        }
                      }
                    },
                    "range": [
                      345,
                      383
                    ],
                    "loc": {
                      "start": {
                        "line": 12,
                        "column": 33
                      },
                      "end": {
                        "line": 12,
                        "column": 71
                      }
                    }
                  }
                ],
                "range": [
                  343,
                  385
                ],
                "loc": {
                  "start": {
                    "line": 12,
                    "column": 31
                  },
                  "end": {
                    "line": 12,
                    "column": 73
                  }
                }
              },
              "alternate": null,
              "range": [
                316,
                385
              ],
              "loc": {
                "start": {
                  "line": 12,
                  "column": 4
                },
                "end": {
                  "line": 12,
                  "column": 73
                }
              }
            },
            {
              "type": "IfStatement",
              "test": {
                "type": "BinaryExpression",
                "operator": "===",
                "left": {
                  "type": "Identifier",
                  "name": "windowTime",
                  "range": [
                    394,
                    404
                  ],
                  "loc": {
                    "start": {
                      "line": 13,
                      "column": 8
                    },
                    "end": {
                      "line": 13,
                      "column": 18
                    }
                  }
                },
                "right": {
                  "type": "UnaryExpression",
                  "operator": "void",
                  "argument": {
                    "type": "Literal",
                    "value": 0,
                    "raw": "0",
                    "range": [
                      414,
                      415
                    ],
                    "loc": {
                      "start": {
                        "line": 13,
                        "column": 28
                      },
                      "end": {
                        "line": 13,
                        "column": 29
                      }
                    }
                  },
                  "prefix": true,
                  "range": [
                    409,
                    415
                  ],
                  "loc": {
                    "start": {
                      "line": 13,
                      "column": 23
                    },
                    "end": {
                      "line": 13,
                      "column": 29
                    }
                  }
                },
                "range": [
                  394,
                  415
                ],
                "loc": {
                  "start": {
                    "line": 13,
                    "column": 8
                  },
                  "end": {
                    "line": 13,
                    "column": 29
                  }
                }
              },
              "consequent": {
                "type": "BlockStatement",
                "body": [
                  {
                    "type": "ExpressionStatement",
                    "expression": {
                      "type": "AssignmentExpression",
                      "operator": "=",
                      "left": {
                        "type": "Identifier",
                        "name": "windowTime",
                        "range": [
                          419,
                          429
                        ],
                        "loc": {
                          "start": {
                            "line": 13,
                            "column": 33
                          },
                          "end": {
                            "line": 13,
                            "column": 43
                          }
                        }
                      },
                      "right": {
                        "type": "MemberExpression",
                        "computed": false,
                        "object": {
                          "type": "Identifier",
                          "name": "Number",
                          "range": [
                            432,
                            438
                          ],
                          "loc": {
                            "start": {
                              "line": 13,
                              "column": 46
                            },
                            "end": {
                              "line": 13,
                              "column": 52
                            }
                          }
                        },
                        "property": {
                          "type": "Identifier",
                          "name": "POSITIVE_INFINITY",
                          "range": [
                            439,
                            456
                          ],
                          "loc": {
                            "start": {
                              "line": 13,
                              "column": 53
                            },
                            "end": {
                              "line": 13,
                              "column": 70
                            }
                          }
                        },
                        "range": [
                          432,
                          456
                        ],
                        "loc": {
                          "start": {
                            "line": 13,
                            "column": 46
                          },
                          "end": {
                            "line": 13,
                            "column": 70
                          }
                        }
                      },
                      "range": [
                        419,
                        456
                      ],
                      "loc": {
                        "start": {
                          "line": 13,
                          "column": 33
                        },
                        "end": {
                          "line": 13,
                          "column": 70
                        }
                      }
                    },
                    "range": [
                      419,
                      457
                    ],
                    "loc": {
                      "start": {
                        "line": 13,
                        "column": 33
                      },
                      "end": {
                        "line": 13,
                        "column": 71
                      }
                    }
                  }
                ],
                "range": [
                  417,
                  459
                ],
                "loc": {
                  "start": {
                    "line": 13,
                    "column": 31
                  },
                  "end": {
                    "line": 13,
                    "column": 73
                  }
                }
              },
              "alternate": null,
              "range": [
                390,
                459
              ],
              "loc": {
                "start": {
                  "line": 13,
                  "column": 4
                },
                "end": {
                  "line": 13,
                  "column": 73
                }
              }
            },
            {
              "type": "ReturnStatement",
              "argument": {
                "type": "CallExpression",
                "callee": {
                  "type": "MemberExpression",
                  "computed": false,
                  "object": {
                    "type": "Identifier",
                    "name": "multicast",
                    "range": [
                      471,
                      480
                    ],
                    "loc": {
                      "start": {
                        "line": 14,
                        "column": 11
                      },
                      "end": {
                        "line": 14,
                        "column": 20
                      }
                    }
                  },
                  "property": {
                    "type": "Identifier",
                    "name": "call",
                    "range": [
                      481,
                      485
                    ],
                    "loc": {
                      "start": {
                        "line": 14,
                        "column": 21
                      },
                      "end": {
                        "line": 14,
                        "column": 25
                      }
                    }
                  },
                  "range": [
                    471,
                    485
                  ],
                  "loc": {
                    "start": {
                      "line": 14,
                      "column": 11
                    },
                    "end": {
                      "line": 14,
                      "column": 25
                    }
                  }
                },
                "arguments": [
                  {
                    "type": "ThisExpression",
                    "range": [
                      486,
                      490
                    ],
                    "loc": {
                      "start": {
                        "line": 14,
                        "column": 26
                      },
                      "end": {
                        "line": 14,
                        "column": 30
                      }
                    }
                  },
                  {
                    "type": "NewExpression",
                    "callee": {
                      "type": "Identifier",
                      "name": "ReplaySubject",
                      "range": [
                        496,
                        509
                      ],
                      "loc": {
                        "start": {
                          "line": 14,
                          "column": 36
                        },
                        "end": {
                          "line": 14,
                          "column": 49
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "Identifier",
                        "name": "bufferSize",
                        "range": [
                          510,
                          520
                        ],
                        "loc": {
                          "start": {
                            "line": 14,
                            "column": 50
                          },
                          "end": {
                            "line": 14,
                            "column": 60
                          }
                        }
                      },
                      {
                        "type": "Identifier",
                        "name": "windowTime",
                        "range": [
                          522,
                          532
                        ],
                        "loc": {
                          "start": {
                            "line": 14,
                            "column": 62
                          },
                          "end": {
                            "line": 14,
                            "column": 72
                          }
                        }
                      },
                      {
                        "type": "Identifier",
                        "name": "scheduler",
                        "range": [
                          534,
                          543
                        ],
                        "loc": {
                          "start": {
                            "line": 14,
                            "column": 74
                          },
                          "end": {
                            "line": 14,
                            "column": 83
                          }
                        }
                      }
                    ],
                    "range": [
                      492,
                      544
                    ],
                    "loc": {
                      "start": {
                        "line": 14,
                        "column": 32
                      },
                      "end": {
                        "line": 14,
                        "column": 84
                      }
                    }
                  }
                ],
                "range": [
                  471,
                  545
                ],
                "loc": {
                  "start": {
                    "line": 14,
                    "column": 11
                  },
                  "end": {
                    "line": 14,
                    "column": 85
                  }
                }
              },
              "range": [
                464,
                546
              ],
              "loc": {
                "start": {
                  "line": 14,
                  "column": 4
                },
                "end": {
                  "line": 14,
                  "column": 86
                }
              }
            }
          ],
          "range": [
            310,
            548
          ],
          "loc": {
            "start": {
              "line": 11,
              "column": 65
            },
            "end": {
              "line": 15,
              "column": 1
            }
          }
        },
        "generator": false,
        "expression": false,
        "range": [
          252,
          548
        ],
        "loc": {
          "start": {
            "line": 11,
            "column": 7
          },
          "end": {
            "line": 15,
            "column": 1
          }
        },
        "leadingComments": [
          {
            "type": "Block",
            "value": "*\n * @param bufferSize\n * @param windowTime\n * @param scheduler\n * @return {ConnectableObservable<T>}\n * @method publishReplay\n * @owner Observable\n ",
            "range": [
              91,
              244
            ],
            "loc": {
              "start": {
                "line": 3,
                "column": 0
              },
              "end": {
                "line": 10,
                "column": 3
              }
            }
          }
        ],
        "trailingComments": [
          {
            "type": "Line",
            "value": "# sourceMappingURL=publishReplay.js.map",
            "range": [
              549,
              590
            ],
            "loc": {
              "start": {
                "line": 16,
                "column": 0
              },
              "end": {
                "line": 16,
                "column": 41
              }
            }
          }
        ]
      },
      "specifiers": [],
      "source": null,
      "range": [
        245,
        548
      ],
      "loc": {
        "start": {
          "line": 11,
          "column": 0
        },
        "end": {
          "line": 15,
          "column": 1
        }
      },
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * @param bufferSize\n * @param windowTime\n * @param scheduler\n * @return {ConnectableObservable<T>}\n * @method publishReplay\n * @owner Observable\n ",
          "range": [
            91,
            244
          ],
          "loc": {
            "start": {
              "line": 3,
              "column": 0
            },
            "end": {
              "line": 10,
              "column": 3
            }
          }
        }
      ],
      "trailingComments": [
        {
          "type": "Line",
          "value": "# sourceMappingURL=publishReplay.js.map",
          "range": [
            549,
            590
          ],
          "loc": {
            "start": {
              "line": 16,
              "column": 0
            },
            "end": {
              "line": 16,
              "column": 41
            }
          }
        }
      ]
    }
  ],
  "sourceType": "module",
  "range": [
    0,
    548
  ],
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 15,
      "column": 1
    }
  },
  "comments": [
    {
      "type": "Block",
      "value": "*\n * @param bufferSize\n * @param windowTime\n * @param scheduler\n * @return {ConnectableObservable<T>}\n * @method publishReplay\n * @owner Observable\n ",
      "range": [
        91,
        244
      ],
      "loc": {
        "start": {
          "line": 3,
          "column": 0
        },
        "end": {
          "line": 10,
          "column": 3
        }
      }
    },
    {
      "type": "Line",
      "value": "# sourceMappingURL=publishReplay.js.map",
      "range": [
        549,
        590
      ],
      "loc": {
        "start": {
          "line": 16,
          "column": 0
        },
        "end": {
          "line": 16,
          "column": 41
        }
      }
    }
  ]
}