{
  "type": "Program",
  "body": [
    {
      "type": "ImportDeclaration",
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "local": {
            "type": "Identifier",
            "name": "root",
            "range": [
              9,
              13
            ],
            "loc": {
              "start": {
                "line": 1,
                "column": 9
              },
              "end": {
                "line": 1,
                "column": 13
              }
            }
          },
          "imported": {
            "type": "Identifier",
            "name": "root",
            "range": [
              9,
              13
            ],
            "loc": {
              "start": {
                "line": 1,
                "column": 9
              },
              "end": {
                "line": 1,
                "column": 13
              }
            }
          },
          "range": [
            9,
            13
          ],
          "loc": {
            "start": {
              "line": 1,
              "column": 9
            },
            "end": {
              "line": 1,
              "column": 13
            }
          }
        }
      ],
      "source": {
        "type": "Literal",
        "value": "./root",
        "raw": "'./root'",
        "range": [
          21,
          29
        ],
        "loc": {
          "start": {
            "line": 1,
            "column": 21
          },
          "end": {
            "line": 1,
            "column": 29
          }
        }
      },
      "range": [
        0,
        30
      ],
      "loc": {
        "start": {
          "line": 1,
          "column": 0
        },
        "end": {
          "line": 1,
          "column": 30
        }
      }
    },
    {
      "type": "ImportDeclaration",
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "local": {
            "type": "Identifier",
            "name": "isArray",
            "range": [
              40,
              47
            ],
            "loc": {
              "start": {
                "line": 2,
                "column": 9
              },
              "end": {
                "line": 2,
                "column": 16
              }
            }
          },
          "imported": {
            "type": "Identifier",
            "name": "isArray",
            "range": [
              40,
              47
            ],
            "loc": {
              "start": {
                "line": 2,
                "column": 9
              },
              "end": {
                "line": 2,
                "column": 16
              }
            }
          },
          "range": [
            40,
            47
          ],
          "loc": {
            "start": {
              "line": 2,
              "column": 9
            },
            "end": {
              "line": 2,
              "column": 16
            }
          }
        }
      ],
      "source": {
        "type": "Literal",
        "value": "./isArray",
        "raw": "'./isArray'",
        "range": [
          55,
          66
        ],
        "loc": {
          "start": {
            "line": 2,
            "column": 24
          },
          "end": {
            "line": 2,
            "column": 35
          }
        }
      },
      "range": [
        31,
        67
      ],
      "loc": {
        "start": {
          "line": 2,
          "column": 0
        },
        "end": {
          "line": 2,
          "column": 36
        }
      }
    },
    {
      "type": "ImportDeclaration",
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "local": {
            "type": "Identifier",
            "name": "isPromise",
            "range": [
              77,
              86
            ],
            "loc": {
              "start": {
                "line": 3,
                "column": 9
              },
              "end": {
                "line": 3,
                "column": 18
              }
            }
          },
          "imported": {
            "type": "Identifier",
            "name": "isPromise",
            "range": [
              77,
              86
            ],
            "loc": {
              "start": {
                "line": 3,
                "column": 9
              },
              "end": {
                "line": 3,
                "column": 18
              }
            }
          },
          "range": [
            77,
            86
          ],
          "loc": {
            "start": {
              "line": 3,
              "column": 9
            },
            "end": {
              "line": 3,
              "column": 18
            }
          }
        }
      ],
      "source": {
        "type": "Literal",
        "value": "./isPromise",
        "raw": "'./isPromise'",
        "range": [
          94,
          107
        ],
        "loc": {
          "start": {
            "line": 3,
            "column": 26
          },
          "end": {
            "line": 3,
            "column": 39
          }
        }
      },
      "range": [
        68,
        108
      ],
      "loc": {
        "start": {
          "line": 3,
          "column": 0
        },
        "end": {
          "line": 3,
          "column": 40
        }
      }
    },
    {
      "type": "ImportDeclaration",
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "local": {
            "type": "Identifier",
            "name": "Observable",
            "range": [
              118,
              128
            ],
            "loc": {
              "start": {
                "line": 4,
                "column": 9
              },
              "end": {
                "line": 4,
                "column": 19
              }
            }
          },
          "imported": {
            "type": "Identifier",
            "name": "Observable",
            "range": [
              118,
              128
            ],
            "loc": {
              "start": {
                "line": 4,
                "column": 9
              },
              "end": {
                "line": 4,
                "column": 19
              }
            }
          },
          "range": [
            118,
            128
          ],
          "loc": {
            "start": {
              "line": 4,
              "column": 9
            },
            "end": {
              "line": 4,
              "column": 19
            }
          }
        }
      ],
      "source": {
        "type": "Literal",
        "value": "../Observable",
        "raw": "'../Observable'",
        "range": [
          136,
          151
        ],
        "loc": {
          "start": {
            "line": 4,
            "column": 27
          },
          "end": {
            "line": 4,
            "column": 42
          }
        }
      },
      "range": [
        109,
        152
      ],
      "loc": {
        "start": {
          "line": 4,
          "column": 0
        },
        "end": {
          "line": 4,
          "column": 43
        }
      }
    },
    {
      "type": "ImportDeclaration",
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "local": {
            "type": "Identifier",
            "name": "$$iterator",
            "range": [
              162,
              172
            ],
            "loc": {
              "start": {
                "line": 5,
                "column": 9
              },
              "end": {
                "line": 5,
                "column": 19
              }
            }
          },
          "imported": {
            "type": "Identifier",
            "name": "$$iterator",
            "range": [
              162,
              172
            ],
            "loc": {
              "start": {
                "line": 5,
                "column": 9
              },
              "end": {
                "line": 5,
                "column": 19
              }
            }
          },
          "range": [
            162,
            172
          ],
          "loc": {
            "start": {
              "line": 5,
              "column": 9
            },
            "end": {
              "line": 5,
              "column": 19
            }
          }
        }
      ],
      "source": {
        "type": "Literal",
        "value": "../symbol/iterator",
        "raw": "'../symbol/iterator'",
        "range": [
          180,
          200
        ],
        "loc": {
          "start": {
            "line": 5,
            "column": 27
          },
          "end": {
            "line": 5,
            "column": 47
          }
        }
      },
      "range": [
        153,
        201
      ],
      "loc": {
        "start": {
          "line": 5,
          "column": 0
        },
        "end": {
          "line": 5,
          "column": 48
        }
      }
    },
    {
      "type": "ImportDeclaration",
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "local": {
            "type": "Identifier",
            "name": "InnerSubscriber",
            "range": [
              211,
              226
            ],
            "loc": {
              "start": {
                "line": 6,
                "column": 9
              },
              "end": {
                "line": 6,
                "column": 24
              }
            }
          },
          "imported": {
            "type": "Identifier",
            "name": "InnerSubscriber",
            "range": [
              211,
              226
            ],
            "loc": {
              "start": {
                "line": 6,
                "column": 9
              },
              "end": {
                "line": 6,
                "column": 24
              }
            }
          },
          "range": [
            211,
            226
          ],
          "loc": {
            "start": {
              "line": 6,
              "column": 9
            },
            "end": {
              "line": 6,
              "column": 24
            }
          }
        }
      ],
      "source": {
        "type": "Literal",
        "value": "../InnerSubscriber",
        "raw": "'../InnerSubscriber'",
        "range": [
          234,
          254
        ],
        "loc": {
          "start": {
            "line": 6,
            "column": 32
          },
          "end": {
            "line": 6,
            "column": 52
          }
        }
      },
      "range": [
        202,
        255
      ],
      "loc": {
        "start": {
          "line": 6,
          "column": 0
        },
        "end": {
          "line": 6,
          "column": 53
        }
      }
    },
    {
      "type": "ImportDeclaration",
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "local": {
            "type": "Identifier",
            "name": "$$observable",
            "range": [
              265,
              277
            ],
            "loc": {
              "start": {
                "line": 7,
                "column": 9
              },
              "end": {
                "line": 7,
                "column": 21
              }
            }
          },
          "imported": {
            "type": "Identifier",
            "name": "$$observable",
            "range": [
              265,
              277
            ],
            "loc": {
              "start": {
                "line": 7,
                "column": 9
              },
              "end": {
                "line": 7,
                "column": 21
              }
            }
          },
          "range": [
            265,
            277
          ],
          "loc": {
            "start": {
              "line": 7,
              "column": 9
            },
            "end": {
              "line": 7,
              "column": 21
            }
          }
        }
      ],
      "source": {
        "type": "Literal",
        "value": "../symbol/observable",
        "raw": "'../symbol/observable'",
        "range": [
          285,
          307
        ],
        "loc": {
          "start": {
            "line": 7,
            "column": 29
          },
          "end": {
            "line": 7,
            "column": 51
          }
        }
      },
      "range": [
        256,
        308
      ],
      "loc": {
        "start": {
          "line": 7,
          "column": 0
        },
        "end": {
          "line": 7,
          "column": 52
        }
      }
    },
    {
      "type": "ExportNamedDeclaration",
      "declaration": {
        "type": "FunctionDeclaration",
        "id": {
          "type": "Identifier",
          "name": "subscribeToResult",
          "range": [
            325,
            342
          ],
          "loc": {
            "start": {
              "line": 8,
              "column": 16
            },
            "end": {
              "line": 8,
              "column": 33
            }
          }
        },
        "params": [
          {
            "type": "Identifier",
            "name": "outerSubscriber",
            "range": [
              343,
              358
            ],
            "loc": {
              "start": {
                "line": 8,
                "column": 34
              },
              "end": {
                "line": 8,
                "column": 49
              }
            }
          },
          {
            "type": "Identifier",
            "name": "result",
            "range": [
              360,
              366
            ],
            "loc": {
              "start": {
                "line": 8,
                "column": 51
              },
              "end": {
                "line": 8,
                "column": 57
              }
            }
          },
          {
            "type": "Identifier",
            "name": "outerValue",
            "range": [
              368,
              378
            ],
            "loc": {
              "start": {
                "line": 8,
                "column": 59
              },
              "end": {
                "line": 8,
                "column": 69
              }
            }
          },
          {
            "type": "Identifier",
            "name": "outerIndex",
            "range": [
              380,
              390
            ],
            "loc": {
              "start": {
                "line": 8,
                "column": 71
              },
              "end": {
                "line": 8,
                "column": 81
              }
            }
          }
        ],
        "body": {
          "type": "BlockStatement",
          "body": [
            {
              "type": "VariableDeclaration",
              "declarations": [
                {
                  "type": "VariableDeclarator",
                  "id": {
                    "type": "Identifier",
                    "name": "destination",
                    "range": [
                      402,
                      413
                    ],
                    "loc": {
                      "start": {
                        "line": 9,
                        "column": 8
                      },
                      "end": {
                        "line": 9,
                        "column": 19
                      }
                    }
                  },
                  "init": {
                    "type": "NewExpression",
                    "callee": {
                      "type": "Identifier",
                      "name": "InnerSubscriber",
                      "range": [
                        420,
                        435
                      ],
                      "loc": {
                        "start": {
                          "line": 9,
                          "column": 26
                        },
                        "end": {
                          "line": 9,
                          "column": 41
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "Identifier",
                        "name": "outerSubscriber",
                        "range": [
                          436,
                          451
                        ],
                        "loc": {
                          "start": {
                            "line": 9,
                            "column": 42
                          },
                          "end": {
                            "line": 9,
                            "column": 57
                          }
                        }
                      },
                      {
                        "type": "Identifier",
                        "name": "outerValue",
                        "range": [
                          453,
                          463
                        ],
                        "loc": {
                          "start": {
                            "line": 9,
                            "column": 59
                          },
                          "end": {
                            "line": 9,
                            "column": 69
                          }
                        }
                      },
                      {
                        "type": "Identifier",
                        "name": "outerIndex",
                        "range": [
                          465,
                          475
                        ],
                        "loc": {
                          "start": {
                            "line": 9,
                            "column": 71
                          },
                          "end": {
                            "line": 9,
                            "column": 81
                          }
                        }
                      }
                    ],
                    "range": [
                      416,
                      476
                    ],
                    "loc": {
                      "start": {
                        "line": 9,
                        "column": 22
                      },
                      "end": {
                        "line": 9,
                        "column": 82
                      }
                    }
                  },
                  "range": [
                    402,
                    476
                  ],
                  "loc": {
                    "start": {
                      "line": 9,
                      "column": 8
                    },
                    "end": {
                      "line": 9,
                      "column": 82
                    }
                  }
                }
              ],
              "kind": "var",
              "range": [
                398,
                477
              ],
              "loc": {
                "start": {
                  "line": 9,
                  "column": 4
                },
                "end": {
                  "line": 9,
                  "column": 83
                }
              }
            },
            {
              "type": "IfStatement",
              "test": {
                "type": "MemberExpression",
                "computed": false,
                "object": {
                  "type": "Identifier",
                  "name": "destination",
                  "range": [
                    486,
                    497
                  ],
                  "loc": {
                    "start": {
                      "line": 10,
                      "column": 8
                    },
                    "end": {
                      "line": 10,
                      "column": 19
                    }
                  }
                },
                "property": {
                  "type": "Identifier",
                  "name": "closed",
                  "range": [
                    498,
                    504
                  ],
                  "loc": {
                    "start": {
                      "line": 10,
                      "column": 20
                    },
                    "end": {
                      "line": 10,
                      "column": 26
                    }
                  }
                },
                "range": [
                  486,
                  504
                ],
                "loc": {
                  "start": {
                    "line": 10,
                    "column": 8
                  },
                  "end": {
                    "line": 10,
                    "column": 26
                  }
                }
              },
              "consequent": {
                "type": "BlockStatement",
                "body": [
                  {
                    "type": "ReturnStatement",
                    "argument": {
                      "type": "Literal",
                      "value": null,
                      "raw": "null",
                      "range": [
                        523,
                        527
                      ],
                      "loc": {
                        "start": {
                          "line": 11,
                          "column": 15
                        },
                        "end": {
                          "line": 11,
                          "column": 19
                        }
                      }
                    },
                    "range": [
                      516,
                      528
                    ],
                    "loc": {
                      "start": {
                        "line": 11,
                        "column": 8
                      },
                      "end": {
                        "line": 11,
                        "column": 20
                      }
                    }
                  }
                ],
                "range": [
                  506,
                  534
                ],
                "loc": {
                  "start": {
                    "line": 10,
                    "column": 28
                  },
                  "end": {
                    "line": 12,
                    "column": 5
                  }
                }
              },
              "alternate": null,
              "range": [
                482,
                534
              ],
              "loc": {
                "start": {
                  "line": 10,
                  "column": 4
                },
                "end": {
                  "line": 12,
                  "column": 5
                }
              }
            },
            {
              "type": "IfStatement",
              "test": {
                "type": "BinaryExpression",
                "operator": "instanceof",
                "left": {
                  "type": "Identifier",
                  "name": "result",
                  "range": [
                    543,
                    549
                  ],
                  "loc": {
                    "start": {
                      "line": 13,
                      "column": 8
                    },
                    "end": {
                      "line": 13,
                      "column": 14
                    }
                  }
                },
                "right": {
                  "type": "Identifier",
                  "name": "Observable",
                  "range": [
                    561,
                    571
                  ],
                  "loc": {
                    "start": {
                      "line": 13,
                      "column": 26
                    },
                    "end": {
                      "line": 13,
                      "column": 36
                    }
                  }
                },
                "range": [
                  543,
                  571
                ],
                "loc": {
                  "start": {
                    "line": 13,
                    "column": 8
                  },
                  "end": {
                    "line": 13,
                    "column": 36
                  }
                }
              },
              "consequent": {
                "type": "BlockStatement",
                "body": [
                  {
                    "type": "IfStatement",
                    "test": {
                      "type": "MemberExpression",
                      "computed": false,
                      "object": {
                        "type": "Identifier",
                        "name": "result",
                        "range": [
                          587,
                          593
                        ],
                        "loc": {
                          "start": {
                            "line": 14,
                            "column": 12
                          },
                          "end": {
                            "line": 14,
                            "column": 18
                          }
                        }
                      },
                      "property": {
                        "type": "Identifier",
                        "name": "_isScalar",
                        "range": [
                          594,
                          603
                        ],
                        "loc": {
                          "start": {
                            "line": 14,
                            "column": 19
                          },
                          "end": {
                            "line": 14,
                            "column": 28
                          }
                        }
                      },
                      "range": [
                        587,
                        603
                      ],
                      "loc": {
                        "start": {
                          "line": 14,
                          "column": 12
                        },
                        "end": {
                          "line": 14,
                          "column": 28
                        }
                      }
                    },
                    "consequent": {
                      "type": "BlockStatement",
                      "body": [
                        {
                          "type": "ExpressionStatement",
                          "expression": {
                            "type": "CallExpression",
                            "callee": {
                              "type": "MemberExpression",
                              "computed": false,
                              "object": {
                                "type": "Identifier",
                                "name": "destination",
                                "range": [
                                  619,
                                  630
                                ],
                                "loc": {
                                  "start": {
                                    "line": 15,
                                    "column": 12
                                  },
                                  "end": {
                                    "line": 15,
                                    "column": 23
                                  }
                                }
                              },
                              "property": {
                                "type": "Identifier",
                                "name": "next",
                                "range": [
                                  631,
                                  635
                                ],
                                "loc": {
                                  "start": {
                                    "line": 15,
                                    "column": 24
                                  },
                                  "end": {
                                    "line": 15,
                                    "column": 28
                                  }
                                }
                              },
                              "range": [
                                619,
                                635
                              ],
                              "loc": {
                                "start": {
                                  "line": 15,
                                  "column": 12
                                },
                                "end": {
                                  "line": 15,
                                  "column": 28
                                }
                              }
                            },
                            "arguments": [
                              {
                                "type": "MemberExpression",
                                "computed": false,
                                "object": {
                                  "type": "Identifier",
                                  "name": "result",
                                  "range": [
                                    636,
                                    642
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 15,
                                      "column": 29
                                    },
                                    "end": {
                                      "line": 15,
                                      "column": 35
                                    }
                                  }
                                },
                                "property": {
                                  "type": "Identifier",
                                  "name": "value",
                                  "range": [
                                    643,
                                    648
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 15,
                                      "column": 36
                                    },
                                    "end": {
                                      "line": 15,
                                      "column": 41
                                    }
                                  }
                                },
                                "range": [
                                  636,
                                  648
                                ],
                                "loc": {
                                  "start": {
                                    "line": 15,
                                    "column": 29
                                  },
                                  "end": {
                                    "line": 15,
                                    "column": 41
                                  }
                                }
                              }
                            ],
                            "range": [
                              619,
                              649
                            ],
                            "loc": {
                              "start": {
                                "line": 15,
                                "column": 12
                              },
                              "end": {
                                "line": 15,
                                "column": 42
                              }
                            }
                          },
                          "range": [
                            619,
                            650
                          ],
                          "loc": {
                            "start": {
                              "line": 15,
                              "column": 12
                            },
                            "end": {
                              "line": 15,
                              "column": 43
                            }
                          }
                        },
                        {
                          "type": "ExpressionStatement",
                          "expression": {
                            "type": "CallExpression",
                            "callee": {
                              "type": "MemberExpression",
                              "computed": false,
                              "object": {
                                "type": "Identifier",
                                "name": "destination",
                                "range": [
                                  663,
                                  674
                                ],
                                "loc": {
                                  "start": {
                                    "line": 16,
                                    "column": 12
                                  },
                                  "end": {
                                    "line": 16,
                                    "column": 23
                                  }
                                }
                              },
                              "property": {
                                "type": "Identifier",
                                "name": "complete",
                                "range": [
                                  675,
                                  683
                                ],
                                "loc": {
                                  "start": {
                                    "line": 16,
                                    "column": 24
                                  },
                                  "end": {
                                    "line": 16,
                                    "column": 32
                                  }
                                }
                              },
                              "range": [
                                663,
                                683
                              ],
                              "loc": {
                                "start": {
                                  "line": 16,
                                  "column": 12
                                },
                                "end": {
                                  "line": 16,
                                  "column": 32
                                }
                              }
                            },
                            "arguments": [],
                            "range": [
                              663,
                              685
                            ],
                            "loc": {
                              "start": {
                                "line": 16,
                                "column": 12
                              },
                              "end": {
                                "line": 16,
                                "column": 34
                              }
                            }
                          },
                          "range": [
                            663,
                            686
                          ],
                          "loc": {
                            "start": {
                              "line": 16,
                              "column": 12
                            },
                            "end": {
                              "line": 16,
                              "column": 35
                            }
                          }
                        },
                        {
                          "type": "ReturnStatement",
                          "argument": {
                            "type": "Literal",
                            "value": null,
                            "raw": "null",
                            "range": [
                              706,
                              710
                            ],
                            "loc": {
                              "start": {
                                "line": 17,
                                "column": 19
                              },
                              "end": {
                                "line": 17,
                                "column": 23
                              }
                            }
                          },
                          "range": [
                            699,
                            711
                          ],
                          "loc": {
                            "start": {
                              "line": 17,
                              "column": 12
                            },
                            "end": {
                              "line": 17,
                              "column": 24
                            }
                          }
                        }
                      ],
                      "range": [
                        605,
                        721
                      ],
                      "loc": {
                        "start": {
                          "line": 14,
                          "column": 30
                        },
                        "end": {
                          "line": 18,
                          "column": 9
                        }
                      }
                    },
                    "alternate": {
                      "type": "BlockStatement",
                      "body": [
                        {
                          "type": "ReturnStatement",
                          "argument": {
                            "type": "CallExpression",
                            "callee": {
                              "type": "MemberExpression",
                              "computed": false,
                              "object": {
                                "type": "Identifier",
                                "name": "result",
                                "range": [
                                  756,
                                  762
                                ],
                                "loc": {
                                  "start": {
                                    "line": 20,
                                    "column": 19
                                  },
                                  "end": {
                                    "line": 20,
                                    "column": 25
                                  }
                                }
                              },
                              "property": {
                                "type": "Identifier",
                                "name": "subscribe",
                                "range": [
                                  763,
                                  772
                                ],
                                "loc": {
                                  "start": {
                                    "line": 20,
                                    "column": 26
                                  },
                                  "end": {
                                    "line": 20,
                                    "column": 35
                                  }
                                }
                              },
                              "range": [
                                756,
                                772
                              ],
                              "loc": {
                                "start": {
                                  "line": 20,
                                  "column": 19
                                },
                                "end": {
                                  "line": 20,
                                  "column": 35
                                }
                              }
                            },
                            "arguments": [
                              {
                                "type": "Identifier",
                                "name": "destination",
                                "range": [
                                  773,
                                  784
                                ],
                                "loc": {
                                  "start": {
                                    "line": 20,
                                    "column": 36
                                  },
                                  "end": {
                                    "line": 20,
                                    "column": 47
                                  }
                                }
                              }
                            ],
                            "range": [
                              756,
                              785
                            ],
                            "loc": {
                              "start": {
                                "line": 20,
                                "column": 19
                              },
                              "end": {
                                "line": 20,
                                "column": 48
                              }
                            }
                          },
                          "range": [
                            749,
                            786
                          ],
                          "loc": {
                            "start": {
                              "line": 20,
                              "column": 12
                            },
                            "end": {
                              "line": 20,
                              "column": 49
                            }
                          }
                        }
                      ],
                      "range": [
                        735,
                        796
                      ],
                      "loc": {
                        "start": {
                          "line": 19,
                          "column": 13
                        },
                        "end": {
                          "line": 21,
                          "column": 9
                        }
                      }
                    },
                    "range": [
                      583,
                      796
                    ],
                    "loc": {
                      "start": {
                        "line": 14,
                        "column": 8
                      },
                      "end": {
                        "line": 21,
                        "column": 9
                      }
                    }
                  }
                ],
                "range": [
                  573,
                  802
                ],
                "loc": {
                  "start": {
                    "line": 13,
                    "column": 38
                  },
                  "end": {
                    "line": 22,
                    "column": 5
                  }
                }
              },
              "alternate": null,
              "range": [
                539,
                802
              ],
              "loc": {
                "start": {
                  "line": 13,
                  "column": 4
                },
                "end": {
                  "line": 22,
                  "column": 5
                }
              }
            },
            {
              "type": "IfStatement",
              "test": {
                "type": "CallExpression",
                "callee": {
                  "type": "Identifier",
                  "name": "isArray",
                  "range": [
                    811,
                    818
                  ],
                  "loc": {
                    "start": {
                      "line": 23,
                      "column": 8
                    },
                    "end": {
                      "line": 23,
                      "column": 15
                    }
                  }
                },
                "arguments": [
                  {
                    "type": "Identifier",
                    "name": "result",
                    "range": [
                      819,
                      825
                    ],
                    "loc": {
                      "start": {
                        "line": 23,
                        "column": 16
                      },
                      "end": {
                        "line": 23,
                        "column": 22
                      }
                    }
                  }
                ],
                "range": [
                  811,
                  826
                ],
                "loc": {
                  "start": {
                    "line": 23,
                    "column": 8
                  },
                  "end": {
                    "line": 23,
                    "column": 23
                  }
                }
              },
              "consequent": {
                "type": "BlockStatement",
                "body": [
                  {
                    "type": "ForStatement",
                    "init": {
                      "type": "VariableDeclaration",
                      "declarations": [
                        {
                          "type": "VariableDeclarator",
                          "id": {
                            "type": "Identifier",
                            "name": "i",
                            "range": [
                              847,
                              848
                            ],
                            "loc": {
                              "start": {
                                "line": 24,
                                "column": 17
                              },
                              "end": {
                                "line": 24,
                                "column": 18
                              }
                            }
                          },
                          "init": {
                            "type": "Literal",
                            "value": 0,
                            "raw": "0",
                            "range": [
                              851,
                              852
                            ],
                            "loc": {
                              "start": {
                                "line": 24,
                                "column": 21
                              },
                              "end": {
                                "line": 24,
                                "column": 22
                              }
                            }
                          },
                          "range": [
                            847,
                            852
                          ],
                          "loc": {
                            "start": {
                              "line": 24,
                              "column": 17
                            },
                            "end": {
                              "line": 24,
                              "column": 22
                            }
                          }
                        },
                        {
                          "type": "VariableDeclarator",
                          "id": {
                            "type": "Identifier",
                            "name": "len",
                            "range": [
                              854,
                              857
                            ],
                            "loc": {
                              "start": {
                                "line": 24,
                                "column": 24
                              },
                              "end": {
                                "line": 24,
                                "column": 27
                              }
                            }
                          },
                          "init": {
                            "type": "MemberExpression",
                            "computed": false,
                            "object": {
                              "type": "Identifier",
                              "name": "result",
                              "range": [
                                860,
                                866
                              ],
                              "loc": {
                                "start": {
                                  "line": 24,
                                  "column": 30
                                },
                                "end": {
                                  "line": 24,
                                  "column": 36
                                }
                              }
                            },
                            "property": {
                              "type": "Identifier",
                              "name": "length",
                              "range": [
                                867,
                                873
                              ],
                              "loc": {
                                "start": {
                                  "line": 24,
                                  "column": 37
                                },
                                "end": {
                                  "line": 24,
                                  "column": 43
                                }
                              }
                            },
                            "range": [
                              860,
                              873
                            ],
                            "loc": {
                              "start": {
                                "line": 24,
                                "column": 30
                              },
                              "end": {
                                "line": 24,
                                "column": 43
                              }
                            }
                          },
                          "range": [
                            854,
                            873
                          ],
                          "loc": {
                            "start": {
                              "line": 24,
                              "column": 24
                            },
                            "end": {
                              "line": 24,
                              "column": 43
                            }
                          }
                        }
                      ],
                      "kind": "var",
                      "range": [
                        843,
                        873
                      ],
                      "loc": {
                        "start": {
                          "line": 24,
                          "column": 13
                        },
                        "end": {
                          "line": 24,
                          "column": 43
                        }
                      }
                    },
                    "test": {
                      "type": "LogicalExpression",
                      "operator": "&&",
                      "left": {
                        "type": "BinaryExpression",
                        "operator": "<",
                        "left": {
                          "type": "Identifier",
                          "name": "i",
                          "range": [
                            875,
                            876
                          ],
                          "loc": {
                            "start": {
                              "line": 24,
                              "column": 45
                            },
                            "end": {
                              "line": 24,
                              "column": 46
                            }
                          }
                        },
                        "right": {
                          "type": "Identifier",
                          "name": "len",
                          "range": [
                            879,
                            882
                          ],
                          "loc": {
                            "start": {
                              "line": 24,
                              "column": 49
                            },
                            "end": {
                              "line": 24,
                              "column": 52
                            }
                          }
                        },
                        "range": [
                          875,
                          882
                        ],
                        "loc": {
                          "start": {
                            "line": 24,
                            "column": 45
                          },
                          "end": {
                            "line": 24,
                            "column": 52
                          }
                        }
                      },
                      "right": {
                        "type": "UnaryExpression",
                        "operator": "!",
                        "argument": {
                          "type": "MemberExpression",
                          "computed": false,
                          "object": {
                            "type": "Identifier",
                            "name": "destination",
                            "range": [
                              887,
                              898
                            ],
                            "loc": {
                              "start": {
                                "line": 24,
                                "column": 57
                              },
                              "end": {
                                "line": 24,
                                "column": 68
                              }
                            }
                          },
                          "property": {
                            "type": "Identifier",
                            "name": "closed",
                            "range": [
                              899,
                              905
                            ],
                            "loc": {
                              "start": {
                                "line": 24,
                                "column": 69
                              },
                              "end": {
                                "line": 24,
                                "column": 75
                              }
                            }
                          },
                          "range": [
                            887,
                            905
                          ],
                          "loc": {
                            "start": {
                              "line": 24,
                              "column": 57
                            },
                            "end": {
                              "line": 24,
                              "column": 75
                            }
                          }
                        },
                        "prefix": true,
                        "range": [
                          886,
                          905
                        ],
                        "loc": {
                          "start": {
                            "line": 24,
                            "column": 56
                          },
                          "end": {
                            "line": 24,
                            "column": 75
                          }
                        }
                      },
                      "range": [
                        875,
                        905
                      ],
                      "loc": {
                        "start": {
                          "line": 24,
                          "column": 45
                        },
                        "end": {
                          "line": 24,
                          "column": 75
                        }
                      }
                    },
                    "update": {
                      "type": "UpdateExpression",
                      "operator": "++",
                      "argument": {
                        "type": "Identifier",
                        "name": "i",
                        "range": [
                          907,
                          908
                        ],
                        "loc": {
                          "start": {
                            "line": 24,
                            "column": 77
                          },
                          "end": {
                            "line": 24,
                            "column": 78
                          }
                        }
                      },
                      "prefix": false,
                      "range": [
                        907,
                        910
                      ],
                      "loc": {
                        "start": {
                          "line": 24,
                          "column": 77
                        },
                        "end": {
                          "line": 24,
                          "column": 80
                        }
                      }
                    },
                    "body": {
                      "type": "BlockStatement",
                      "body": [
                        {
                          "type": "ExpressionStatement",
                          "expression": {
                            "type": "CallExpression",
                            "callee": {
                              "type": "MemberExpression",
                              "computed": false,
                              "object": {
                                "type": "Identifier",
                                "name": "destination",
                                "range": [
                                  926,
                                  937
                                ],
                                "loc": {
                                  "start": {
                                    "line": 25,
                                    "column": 12
                                  },
                                  "end": {
                                    "line": 25,
                                    "column": 23
                                  }
                                }
                              },
                              "property": {
                                "type": "Identifier",
                                "name": "next",
                                "range": [
                                  938,
                                  942
                                ],
                                "loc": {
                                  "start": {
                                    "line": 25,
                                    "column": 24
                                  },
                                  "end": {
                                    "line": 25,
                                    "column": 28
                                  }
                                }
                              },
                              "range": [
                                926,
                                942
                              ],
                              "loc": {
                                "start": {
                                  "line": 25,
                                  "column": 12
                                },
                                "end": {
                                  "line": 25,
                                  "column": 28
                                }
                              }
                            },
                            "arguments": [
                              {
                                "type": "MemberExpression",
                                "computed": true,
                                "object": {
                                  "type": "Identifier",
                                  "name": "result",
                                  "range": [
                                    943,
                                    949
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 25,
                                      "column": 29
                                    },
                                    "end": {
                                      "line": 25,
                                      "column": 35
                                    }
                                  }
                                },
                                "property": {
                                  "type": "Identifier",
                                  "name": "i",
                                  "range": [
                                    950,
                                    951
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 25,
                                      "column": 36
                                    },
                                    "end": {
                                      "line": 25,
                                      "column": 37
                                    }
                                  }
                                },
                                "range": [
                                  943,
                                  952
                                ],
                                "loc": {
                                  "start": {
                                    "line": 25,
                                    "column": 29
                                  },
                                  "end": {
                                    "line": 25,
                                    "column": 38
                                  }
                                }
                              }
                            ],
                            "range": [
                              926,
                              953
                            ],
                            "loc": {
                              "start": {
                                "line": 25,
                                "column": 12
                              },
                              "end": {
                                "line": 25,
                                "column": 39
                              }
                            }
                          },
                          "range": [
                            926,
                            954
                          ],
                          "loc": {
                            "start": {
                              "line": 25,
                              "column": 12
                            },
                            "end": {
                              "line": 25,
                              "column": 40
                            }
                          }
                        }
                      ],
                      "range": [
                        912,
                        964
                      ],
                      "loc": {
                        "start": {
                          "line": 24,
                          "column": 82
                        },
                        "end": {
                          "line": 26,
                          "column": 9
                        }
                      }
                    },
                    "range": [
                      838,
                      964
                    ],
                    "loc": {
                      "start": {
                        "line": 24,
                        "column": 8
                      },
                      "end": {
                        "line": 26,
                        "column": 9
                      }
                    }
                  },
                  {
                    "type": "IfStatement",
                    "test": {
                      "type": "UnaryExpression",
                      "operator": "!",
                      "argument": {
                        "type": "MemberExpression",
                        "computed": false,
                        "object": {
                          "type": "Identifier",
                          "name": "destination",
                          "range": [
                            978,
                            989
                          ],
                          "loc": {
                            "start": {
                              "line": 27,
                              "column": 13
                            },
                            "end": {
                              "line": 27,
                              "column": 24
                            }
                          }
                        },
                        "property": {
                          "type": "Identifier",
                          "name": "closed",
                          "range": [
                            990,
                            996
                          ],
                          "loc": {
                            "start": {
                              "line": 27,
                              "column": 25
                            },
                            "end": {
                              "line": 27,
                              "column": 31
                            }
                          }
                        },
                        "range": [
                          978,
                          996
                        ],
                        "loc": {
                          "start": {
                            "line": 27,
                            "column": 13
                          },
                          "end": {
                            "line": 27,
                            "column": 31
                          }
                        }
                      },
                      "prefix": true,
                      "range": [
                        977,
                        996
                      ],
                      "loc": {
                        "start": {
                          "line": 27,
                          "column": 12
                        },
                        "end": {
                          "line": 27,
                          "column": 31
                        }
                      }
                    },
                    "consequent": {
                      "type": "BlockStatement",
                      "body": [
                        {
                          "type": "ExpressionStatement",
                          "expression": {
                            "type": "CallExpression",
                            "callee": {
                              "type": "MemberExpression",
                              "computed": false,
                              "object": {
                                "type": "Identifier",
                                "name": "destination",
                                "range": [
                                  1012,
                                  1023
                                ],
                                "loc": {
                                  "start": {
                                    "line": 28,
                                    "column": 12
                                  },
                                  "end": {
                                    "line": 28,
                                    "column": 23
                                  }
                                }
                              },
                              "property": {
                                "type": "Identifier",
                                "name": "complete",
                                "range": [
                                  1024,
                                  1032
                                ],
                                "loc": {
                                  "start": {
                                    "line": 28,
                                    "column": 24
                                  },
                                  "end": {
                                    "line": 28,
                                    "column": 32
                                  }
                                }
                              },
                              "range": [
                                1012,
                                1032
                              ],
                              "loc": {
                                "start": {
                                  "line": 28,
                                  "column": 12
                                },
                                "end": {
                                  "line": 28,
                                  "column": 32
                                }
                              }
                            },
                            "arguments": [],
                            "range": [
                              1012,
                              1034
                            ],
                            "loc": {
                              "start": {
                                "line": 28,
                                "column": 12
                              },
                              "end": {
                                "line": 28,
                                "column": 34
                              }
                            }
                          },
                          "range": [
                            1012,
                            1035
                          ],
                          "loc": {
                            "start": {
                              "line": 28,
                              "column": 12
                            },
                            "end": {
                              "line": 28,
                              "column": 35
                            }
                          }
                        }
                      ],
                      "range": [
                        998,
                        1045
                      ],
                      "loc": {
                        "start": {
                          "line": 27,
                          "column": 33
                        },
                        "end": {
                          "line": 29,
                          "column": 9
                        }
                      }
                    },
                    "alternate": null,
                    "range": [
                      973,
                      1045
                    ],
                    "loc": {
                      "start": {
                        "line": 27,
                        "column": 8
                      },
                      "end": {
                        "line": 29,
                        "column": 9
                      }
                    }
                  }
                ],
                "range": [
                  828,
                  1051
                ],
                "loc": {
                  "start": {
                    "line": 23,
                    "column": 25
                  },
                  "end": {
                    "line": 30,
                    "column": 5
                  }
                }
              },
              "alternate": {
                "type": "IfStatement",
                "test": {
                  "type": "CallExpression",
                  "callee": {
                    "type": "Identifier",
                    "name": "isPromise",
                    "range": [
                      1065,
                      1074
                    ],
                    "loc": {
                      "start": {
                        "line": 31,
                        "column": 13
                      },
                      "end": {
                        "line": 31,
                        "column": 22
                      }
                    }
                  },
                  "arguments": [
                    {
                      "type": "Identifier",
                      "name": "result",
                      "range": [
                        1075,
                        1081
                      ],
                      "loc": {
                        "start": {
                          "line": 31,
                          "column": 23
                        },
                        "end": {
                          "line": 31,
                          "column": 29
                        }
                      }
                    }
                  ],
                  "range": [
                    1065,
                    1082
                  ],
                  "loc": {
                    "start": {
                      "line": 31,
                      "column": 13
                    },
                    "end": {
                      "line": 31,
                      "column": 30
                    }
                  }
                },
                "consequent": {
                  "type": "BlockStatement",
                  "body": [
                    {
                      "type": "ExpressionStatement",
                      "expression": {
                        "type": "CallExpression",
                        "callee": {
                          "type": "MemberExpression",
                          "computed": false,
                          "object": {
                            "type": "CallExpression",
                            "callee": {
                              "type": "MemberExpression",
                              "computed": false,
                              "object": {
                                "type": "Identifier",
                                "name": "result",
                                "range": [
                                  1094,
                                  1100
                                ],
                                "loc": {
                                  "start": {
                                    "line": 32,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 32,
                                    "column": 14
                                  }
                                }
                              },
                              "property": {
                                "type": "Identifier",
                                "name": "then",
                                "range": [
                                  1101,
                                  1105
                                ],
                                "loc": {
                                  "start": {
                                    "line": 32,
                                    "column": 15
                                  },
                                  "end": {
                                    "line": 32,
                                    "column": 19
                                  }
                                }
                              },
                              "range": [
                                1094,
                                1105
                              ],
                              "loc": {
                                "start": {
                                  "line": 32,
                                  "column": 8
                                },
                                "end": {
                                  "line": 32,
                                  "column": 19
                                }
                              }
                            },
                            "arguments": [
                              {
                                "type": "FunctionExpression",
                                "id": null,
                                "params": [
                                  {
                                    "type": "Identifier",
                                    "name": "value",
                                    "range": [
                                      1116,
                                      1121
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 32,
                                        "column": 30
                                      },
                                      "end": {
                                        "line": 32,
                                        "column": 35
                                      }
                                    }
                                  }
                                ],
                                "body": {
                                  "type": "BlockStatement",
                                  "body": [
                                    {
                                      "type": "IfStatement",
                                      "test": {
                                        "type": "UnaryExpression",
                                        "operator": "!",
                                        "argument": {
                                          "type": "MemberExpression",
                                          "computed": false,
                                          "object": {
                                            "type": "Identifier",
                                            "name": "destination",
                                            "range": [
                                              1142,
                                              1153
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 33,
                                                "column": 17
                                              },
                                              "end": {
                                                "line": 33,
                                                "column": 28
                                              }
                                            }
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "name": "closed",
                                            "range": [
                                              1154,
                                              1160
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 33,
                                                "column": 29
                                              },
                                              "end": {
                                                "line": 33,
                                                "column": 35
                                              }
                                            }
                                          },
                                          "range": [
                                            1142,
                                            1160
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 33,
                                              "column": 17
                                            },
                                            "end": {
                                              "line": 33,
                                              "column": 35
                                            }
                                          }
                                        },
                                        "prefix": true,
                                        "range": [
                                          1141,
                                          1160
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 33,
                                            "column": 16
                                          },
                                          "end": {
                                            "line": 33,
                                            "column": 35
                                          }
                                        }
                                      },
                                      "consequent": {
                                        "type": "BlockStatement",
                                        "body": [
                                          {
                                            "type": "ExpressionStatement",
                                            "expression": {
                                              "type": "CallExpression",
                                              "callee": {
                                                "type": "MemberExpression",
                                                "computed": false,
                                                "object": {
                                                  "type": "Identifier",
                                                  "name": "destination",
                                                  "range": [
                                                    1180,
                                                    1191
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 34,
                                                      "column": 16
                                                    },
                                                    "end": {
                                                      "line": 34,
                                                      "column": 27
                                                    }
                                                  }
                                                },
                                                "property": {
                                                  "type": "Identifier",
                                                  "name": "next",
                                                  "range": [
                                                    1192,
                                                    1196
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 34,
                                                      "column": 28
                                                    },
                                                    "end": {
                                                      "line": 34,
                                                      "column": 32
                                                    }
                                                  }
                                                },
                                                "range": [
                                                  1180,
                                                  1196
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 34,
                                                    "column": 16
                                                  },
                                                  "end": {
                                                    "line": 34,
                                                    "column": 32
                                                  }
                                                }
                                              },
                                              "arguments": [
                                                {
                                                  "type": "Identifier",
                                                  "name": "value",
                                                  "range": [
                                                    1197,
                                                    1202
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 34,
                                                      "column": 33
                                                    },
                                                    "end": {
                                                      "line": 34,
                                                      "column": 38
                                                    }
                                                  }
                                                }
                                              ],
                                              "range": [
                                                1180,
                                                1203
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 34,
                                                  "column": 16
                                                },
                                                "end": {
                                                  "line": 34,
                                                  "column": 39
                                                }
                                              }
                                            },
                                            "range": [
                                              1180,
                                              1204
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 34,
                                                "column": 16
                                              },
                                              "end": {
                                                "line": 34,
                                                "column": 40
                                              }
                                            }
                                          },
                                          {
                                            "type": "ExpressionStatement",
                                            "expression": {
                                              "type": "CallExpression",
                                              "callee": {
                                                "type": "MemberExpression",
                                                "computed": false,
                                                "object": {
                                                  "type": "Identifier",
                                                  "name": "destination",
                                                  "range": [
                                                    1221,
                                                    1232
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 35,
                                                      "column": 16
                                                    },
                                                    "end": {
                                                      "line": 35,
                                                      "column": 27
                                                    }
                                                  }
                                                },
                                                "property": {
                                                  "type": "Identifier",
                                                  "name": "complete",
                                                  "range": [
                                                    1233,
                                                    1241
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 35,
                                                      "column": 28
                                                    },
                                                    "end": {
                                                      "line": 35,
                                                      "column": 36
                                                    }
                                                  }
                                                },
                                                "range": [
                                                  1221,
                                                  1241
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 35,
                                                    "column": 16
                                                  },
                                                  "end": {
                                                    "line": 35,
                                                    "column": 36
                                                  }
                                                }
                                              },
                                              "arguments": [],
                                              "range": [
                                                1221,
                                                1243
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 35,
                                                  "column": 16
                                                },
                                                "end": {
                                                  "line": 35,
                                                  "column": 38
                                                }
                                              }
                                            },
                                            "range": [
                                              1221,
                                              1244
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 35,
                                                "column": 16
                                              },
                                              "end": {
                                                "line": 35,
                                                "column": 39
                                              }
                                            }
                                          }
                                        ],
                                        "range": [
                                          1162,
                                          1258
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 33,
                                            "column": 37
                                          },
                                          "end": {
                                            "line": 36,
                                            "column": 13
                                          }
                                        }
                                      },
                                      "alternate": null,
                                      "range": [
                                        1137,
                                        1258
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 33,
                                          "column": 12
                                        },
                                        "end": {
                                          "line": 36,
                                          "column": 13
                                        }
                                      }
                                    }
                                  ],
                                  "range": [
                                    1123,
                                    1268
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 32,
                                      "column": 37
                                    },
                                    "end": {
                                      "line": 37,
                                      "column": 9
                                    }
                                  }
                                },
                                "generator": false,
                                "expression": false,
                                "range": [
                                  1106,
                                  1268
                                ],
                                "loc": {
                                  "start": {
                                    "line": 32,
                                    "column": 20
                                  },
                                  "end": {
                                    "line": 37,
                                    "column": 9
                                  }
                                }
                              },
                              {
                                "type": "FunctionExpression",
                                "id": null,
                                "params": [
                                  {
                                    "type": "Identifier",
                                    "name": "err",
                                    "range": [
                                      1280,
                                      1283
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 37,
                                        "column": 21
                                      },
                                      "end": {
                                        "line": 37,
                                        "column": 24
                                      }
                                    }
                                  }
                                ],
                                "body": {
                                  "type": "BlockStatement",
                                  "body": [
                                    {
                                      "type": "ReturnStatement",
                                      "argument": {
                                        "type": "CallExpression",
                                        "callee": {
                                          "type": "MemberExpression",
                                          "computed": false,
                                          "object": {
                                            "type": "Identifier",
                                            "name": "destination",
                                            "range": [
                                              1294,
                                              1305
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 37,
                                                "column": 35
                                              },
                                              "end": {
                                                "line": 37,
                                                "column": 46
                                              }
                                            }
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "name": "error",
                                            "range": [
                                              1306,
                                              1311
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 37,
                                                "column": 47
                                              },
                                              "end": {
                                                "line": 37,
                                                "column": 52
                                              }
                                            }
                                          },
                                          "range": [
                                            1294,
                                            1311
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 37,
                                              "column": 35
                                            },
                                            "end": {
                                              "line": 37,
                                              "column": 52
                                            }
                                          }
                                        },
                                        "arguments": [
                                          {
                                            "type": "Identifier",
                                            "name": "err",
                                            "range": [
                                              1312,
                                              1315
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 37,
                                                "column": 53
                                              },
                                              "end": {
                                                "line": 37,
                                                "column": 56
                                              }
                                            }
                                          }
                                        ],
                                        "range": [
                                          1294,
                                          1316
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 37,
                                            "column": 35
                                          },
                                          "end": {
                                            "line": 37,
                                            "column": 57
                                          }
                                        }
                                      },
                                      "range": [
                                        1287,
                                        1317
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 37,
                                          "column": 28
                                        },
                                        "end": {
                                          "line": 37,
                                          "column": 58
                                        }
                                      }
                                    }
                                  ],
                                  "range": [
                                    1285,
                                    1319
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 37,
                                      "column": 26
                                    },
                                    "end": {
                                      "line": 37,
                                      "column": 60
                                    }
                                  }
                                },
                                "generator": false,
                                "expression": false,
                                "range": [
                                  1270,
                                  1319
                                ],
                                "loc": {
                                  "start": {
                                    "line": 37,
                                    "column": 11
                                  },
                                  "end": {
                                    "line": 37,
                                    "column": 60
                                  }
                                }
                              }
                            ],
                            "range": [
                              1094,
                              1320
                            ],
                            "loc": {
                              "start": {
                                "line": 32,
                                "column": 8
                              },
                              "end": {
                                "line": 37,
                                "column": 61
                              }
                            }
                          },
                          "property": {
                            "type": "Identifier",
                            "name": "then",
                            "range": [
                              1334,
                              1338
                            ],
                            "loc": {
                              "start": {
                                "line": 38,
                                "column": 13
                              },
                              "end": {
                                "line": 38,
                                "column": 17
                              }
                            }
                          },
                          "range": [
                            1094,
                            1338
                          ],
                          "loc": {
                            "start": {
                              "line": 32,
                              "column": 8
                            },
                            "end": {
                              "line": 38,
                              "column": 17
                            }
                          }
                        },
                        "arguments": [
                          {
                            "type": "Literal",
                            "value": null,
                            "raw": "null",
                            "range": [
                              1339,
                              1343
                            ],
                            "loc": {
                              "start": {
                                "line": 38,
                                "column": 18
                              },
                              "end": {
                                "line": 38,
                                "column": 22
                              }
                            }
                          },
                          {
                            "type": "FunctionExpression",
                            "id": null,
                            "params": [
                              {
                                "type": "Identifier",
                                "name": "err",
                                "range": [
                                  1355,
                                  1358
                                ],
                                "loc": {
                                  "start": {
                                    "line": 38,
                                    "column": 34
                                  },
                                  "end": {
                                    "line": 38,
                                    "column": 37
                                  }
                                }
                              }
                            ],
                            "body": {
                              "type": "BlockStatement",
                              "body": [
                                {
                                  "type": "ExpressionStatement",
                                  "expression": {
                                    "type": "CallExpression",
                                    "callee": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "Identifier",
                                        "name": "root",
                                        "range": [
                                          1448,
                                          1452
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 40,
                                            "column": 12
                                          },
                                          "end": {
                                            "line": 40,
                                            "column": 16
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "setTimeout",
                                        "range": [
                                          1453,
                                          1463
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 40,
                                            "column": 17
                                          },
                                          "end": {
                                            "line": 40,
                                            "column": 27
                                          }
                                        }
                                      },
                                      "range": [
                                        1448,
                                        1463
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 40,
                                          "column": 12
                                        },
                                        "end": {
                                          "line": 40,
                                          "column": 27
                                        }
                                      }
                                    },
                                    "arguments": [
                                      {
                                        "type": "FunctionExpression",
                                        "id": null,
                                        "params": [],
                                        "body": {
                                          "type": "BlockStatement",
                                          "body": [
                                            {
                                              "type": "ThrowStatement",
                                              "argument": {
                                                "type": "Identifier",
                                                "name": "err",
                                                "range": [
                                                  1484,
                                                  1487
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 40,
                                                    "column": 48
                                                  },
                                                  "end": {
                                                    "line": 40,
                                                    "column": 51
                                                  }
                                                }
                                              },
                                              "range": [
                                                1478,
                                                1488
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 40,
                                                  "column": 42
                                                },
                                                "end": {
                                                  "line": 40,
                                                  "column": 52
                                                }
                                              }
                                            }
                                          ],
                                          "range": [
                                            1476,
                                            1490
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 40,
                                              "column": 40
                                            },
                                            "end": {
                                              "line": 40,
                                              "column": 54
                                            }
                                          }
                                        },
                                        "generator": false,
                                        "expression": false,
                                        "range": [
                                          1464,
                                          1490
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 40,
                                            "column": 28
                                          },
                                          "end": {
                                            "line": 40,
                                            "column": 54
                                          }
                                        }
                                      }
                                    ],
                                    "range": [
                                      1448,
                                      1491
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 40,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 40,
                                        "column": 55
                                      }
                                    }
                                  },
                                  "range": [
                                    1448,
                                    1492
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 40,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 40,
                                      "column": 56
                                    }
                                  },
                                  "leadingComments": [
                                    {
                                      "type": "Line",
                                      "value": " Escaping the Promise trap: globally throw unhandled errors",
                                      "range": [
                                        1374,
                                        1435
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 39,
                                          "column": 12
                                        },
                                        "end": {
                                          "line": 39,
                                          "column": 73
                                        }
                                      }
                                    }
                                  ]
                                }
                              ],
                              "range": [
                                1360,
                                1502
                              ],
                              "loc": {
                                "start": {
                                  "line": 38,
                                  "column": 39
                                },
                                "end": {
                                  "line": 41,
                                  "column": 9
                                }
                              }
                            },
                            "generator": false,
                            "expression": false,
                            "range": [
                              1345,
                              1502
                            ],
                            "loc": {
                              "start": {
                                "line": 38,
                                "column": 24
                              },
                              "end": {
                                "line": 41,
                                "column": 9
                              }
                            }
                          }
                        ],
                        "range": [
                          1094,
                          1503
                        ],
                        "loc": {
                          "start": {
                            "line": 32,
                            "column": 8
                          },
                          "end": {
                            "line": 41,
                            "column": 10
                          }
                        }
                      },
                      "range": [
                        1094,
                        1504
                      ],
                      "loc": {
                        "start": {
                          "line": 32,
                          "column": 8
                        },
                        "end": {
                          "line": 41,
                          "column": 11
                        }
                      }
                    },
                    {
                      "type": "ReturnStatement",
                      "argument": {
                        "type": "Identifier",
                        "name": "destination",
                        "range": [
                          1520,
                          1531
                        ],
                        "loc": {
                          "start": {
                            "line": 42,
                            "column": 15
                          },
                          "end": {
                            "line": 42,
                            "column": 26
                          }
                        }
                      },
                      "range": [
                        1513,
                        1532
                      ],
                      "loc": {
                        "start": {
                          "line": 42,
                          "column": 8
                        },
                        "end": {
                          "line": 42,
                          "column": 27
                        }
                      }
                    }
                  ],
                  "range": [
                    1084,
                    1538
                  ],
                  "loc": {
                    "start": {
                      "line": 31,
                      "column": 32
                    },
                    "end": {
                      "line": 43,
                      "column": 5
                    }
                  }
                },
                "alternate": {
                  "type": "IfStatement",
                  "test": {
                    "type": "BinaryExpression",
                    "operator": "===",
                    "left": {
                      "type": "UnaryExpression",
                      "operator": "typeof",
                      "argument": {
                        "type": "MemberExpression",
                        "computed": true,
                        "object": {
                          "type": "Identifier",
                          "name": "result",
                          "range": [
                            1559,
                            1565
                          ],
                          "loc": {
                            "start": {
                              "line": 44,
                              "column": 20
                            },
                            "end": {
                              "line": 44,
                              "column": 26
                            }
                          }
                        },
                        "property": {
                          "type": "Identifier",
                          "name": "$$iterator",
                          "range": [
                            1566,
                            1576
                          ],
                          "loc": {
                            "start": {
                              "line": 44,
                              "column": 27
                            },
                            "end": {
                              "line": 44,
                              "column": 37
                            }
                          }
                        },
                        "range": [
                          1559,
                          1577
                        ],
                        "loc": {
                          "start": {
                            "line": 44,
                            "column": 20
                          },
                          "end": {
                            "line": 44,
                            "column": 38
                          }
                        }
                      },
                      "prefix": true,
                      "range": [
                        1552,
                        1577
                      ],
                      "loc": {
                        "start": {
                          "line": 44,
                          "column": 13
                        },
                        "end": {
                          "line": 44,
                          "column": 38
                        }
                      }
                    },
                    "right": {
                      "type": "Literal",
                      "value": "function",
                      "raw": "'function'",
                      "range": [
                        1582,
                        1592
                      ],
                      "loc": {
                        "start": {
                          "line": 44,
                          "column": 43
                        },
                        "end": {
                          "line": 44,
                          "column": 53
                        }
                      }
                    },
                    "range": [
                      1552,
                      1592
                    ],
                    "loc": {
                      "start": {
                        "line": 44,
                        "column": 13
                      },
                      "end": {
                        "line": 44,
                        "column": 53
                      }
                    }
                  },
                  "consequent": {
                    "type": "BlockStatement",
                    "body": [
                      {
                        "type": "VariableDeclaration",
                        "declarations": [
                          {
                            "type": "VariableDeclarator",
                            "id": {
                              "type": "Identifier",
                              "name": "iterator",
                              "range": [
                                1608,
                                1616
                              ],
                              "loc": {
                                "start": {
                                  "line": 45,
                                  "column": 12
                                },
                                "end": {
                                  "line": 45,
                                  "column": 20
                                }
                              }
                            },
                            "init": {
                              "type": "CallExpression",
                              "callee": {
                                "type": "MemberExpression",
                                "computed": true,
                                "object": {
                                  "type": "Identifier",
                                  "name": "result",
                                  "range": [
                                    1619,
                                    1625
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 45,
                                      "column": 23
                                    },
                                    "end": {
                                      "line": 45,
                                      "column": 29
                                    }
                                  }
                                },
                                "property": {
                                  "type": "Identifier",
                                  "name": "$$iterator",
                                  "range": [
                                    1626,
                                    1636
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 45,
                                      "column": 30
                                    },
                                    "end": {
                                      "line": 45,
                                      "column": 40
                                    }
                                  }
                                },
                                "range": [
                                  1619,
                                  1637
                                ],
                                "loc": {
                                  "start": {
                                    "line": 45,
                                    "column": 23
                                  },
                                  "end": {
                                    "line": 45,
                                    "column": 41
                                  }
                                }
                              },
                              "arguments": [],
                              "range": [
                                1619,
                                1639
                              ],
                              "loc": {
                                "start": {
                                  "line": 45,
                                  "column": 23
                                },
                                "end": {
                                  "line": 45,
                                  "column": 43
                                }
                              }
                            },
                            "range": [
                              1608,
                              1639
                            ],
                            "loc": {
                              "start": {
                                "line": 45,
                                "column": 12
                              },
                              "end": {
                                "line": 45,
                                "column": 43
                              }
                            }
                          }
                        ],
                        "kind": "var",
                        "range": [
                          1604,
                          1640
                        ],
                        "loc": {
                          "start": {
                            "line": 45,
                            "column": 8
                          },
                          "end": {
                            "line": 45,
                            "column": 44
                          }
                        }
                      },
                      {
                        "type": "DoWhileStatement",
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "VariableDeclaration",
                              "declarations": [
                                {
                                  "type": "VariableDeclarator",
                                  "id": {
                                    "type": "Identifier",
                                    "name": "item",
                                    "range": [
                                      1670,
                                      1674
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 47,
                                        "column": 16
                                      },
                                      "end": {
                                        "line": 47,
                                        "column": 20
                                      }
                                    }
                                  },
                                  "init": {
                                    "type": "CallExpression",
                                    "callee": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "Identifier",
                                        "name": "iterator",
                                        "range": [
                                          1677,
                                          1685
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 47,
                                            "column": 23
                                          },
                                          "end": {
                                            "line": 47,
                                            "column": 31
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "next",
                                        "range": [
                                          1686,
                                          1690
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 47,
                                            "column": 32
                                          },
                                          "end": {
                                            "line": 47,
                                            "column": 36
                                          }
                                        }
                                      },
                                      "range": [
                                        1677,
                                        1690
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 47,
                                          "column": 23
                                        },
                                        "end": {
                                          "line": 47,
                                          "column": 36
                                        }
                                      }
                                    },
                                    "arguments": [],
                                    "range": [
                                      1677,
                                      1692
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 47,
                                        "column": 23
                                      },
                                      "end": {
                                        "line": 47,
                                        "column": 38
                                      }
                                    }
                                  },
                                  "range": [
                                    1670,
                                    1692
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 47,
                                      "column": 16
                                    },
                                    "end": {
                                      "line": 47,
                                      "column": 38
                                    }
                                  }
                                }
                              ],
                              "kind": "var",
                              "range": [
                                1666,
                                1693
                              ],
                              "loc": {
                                "start": {
                                  "line": 47,
                                  "column": 12
                                },
                                "end": {
                                  "line": 47,
                                  "column": 39
                                }
                              }
                            },
                            {
                              "type": "IfStatement",
                              "test": {
                                "type": "MemberExpression",
                                "computed": false,
                                "object": {
                                  "type": "Identifier",
                                  "name": "item",
                                  "range": [
                                    1710,
                                    1714
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 48,
                                      "column": 16
                                    },
                                    "end": {
                                      "line": 48,
                                      "column": 20
                                    }
                                  }
                                },
                                "property": {
                                  "type": "Identifier",
                                  "name": "done",
                                  "range": [
                                    1715,
                                    1719
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 48,
                                      "column": 21
                                    },
                                    "end": {
                                      "line": 48,
                                      "column": 25
                                    }
                                  }
                                },
                                "range": [
                                  1710,
                                  1719
                                ],
                                "loc": {
                                  "start": {
                                    "line": 48,
                                    "column": 16
                                  },
                                  "end": {
                                    "line": 48,
                                    "column": 25
                                  }
                                }
                              },
                              "consequent": {
                                "type": "BlockStatement",
                                "body": [
                                  {
                                    "type": "ExpressionStatement",
                                    "expression": {
                                      "type": "CallExpression",
                                      "callee": {
                                        "type": "MemberExpression",
                                        "computed": false,
                                        "object": {
                                          "type": "Identifier",
                                          "name": "destination",
                                          "range": [
                                            1739,
                                            1750
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 49,
                                              "column": 16
                                            },
                                            "end": {
                                              "line": 49,
                                              "column": 27
                                            }
                                          }
                                        },
                                        "property": {
                                          "type": "Identifier",
                                          "name": "complete",
                                          "range": [
                                            1751,
                                            1759
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 49,
                                              "column": 28
                                            },
                                            "end": {
                                              "line": 49,
                                              "column": 36
                                            }
                                          }
                                        },
                                        "range": [
                                          1739,
                                          1759
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 49,
                                            "column": 16
                                          },
                                          "end": {
                                            "line": 49,
                                            "column": 36
                                          }
                                        }
                                      },
                                      "arguments": [],
                                      "range": [
                                        1739,
                                        1761
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 49,
                                          "column": 16
                                        },
                                        "end": {
                                          "line": 49,
                                          "column": 38
                                        }
                                      }
                                    },
                                    "range": [
                                      1739,
                                      1762
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 49,
                                        "column": 16
                                      },
                                      "end": {
                                        "line": 49,
                                        "column": 39
                                      }
                                    }
                                  },
                                  {
                                    "type": "BreakStatement",
                                    "label": null,
                                    "range": [
                                      1779,
                                      1785
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 50,
                                        "column": 16
                                      },
                                      "end": {
                                        "line": 50,
                                        "column": 22
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  1721,
                                  1799
                                ],
                                "loc": {
                                  "start": {
                                    "line": 48,
                                    "column": 27
                                  },
                                  "end": {
                                    "line": 51,
                                    "column": 13
                                  }
                                }
                              },
                              "alternate": null,
                              "range": [
                                1706,
                                1799
                              ],
                              "loc": {
                                "start": {
                                  "line": 48,
                                  "column": 12
                                },
                                "end": {
                                  "line": 51,
                                  "column": 13
                                }
                              }
                            },
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "Identifier",
                                    "name": "destination",
                                    "range": [
                                      1812,
                                      1823
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 52,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 52,
                                        "column": 23
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "next",
                                    "range": [
                                      1824,
                                      1828
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 52,
                                        "column": 24
                                      },
                                      "end": {
                                        "line": 52,
                                        "column": 28
                                      }
                                    }
                                  },
                                  "range": [
                                    1812,
                                    1828
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 52,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 52,
                                      "column": 28
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "MemberExpression",
                                    "computed": false,
                                    "object": {
                                      "type": "Identifier",
                                      "name": "item",
                                      "range": [
                                        1829,
                                        1833
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 52,
                                          "column": 29
                                        },
                                        "end": {
                                          "line": 52,
                                          "column": 33
                                        }
                                      }
                                    },
                                    "property": {
                                      "type": "Identifier",
                                      "name": "value",
                                      "range": [
                                        1834,
                                        1839
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 52,
                                          "column": 34
                                        },
                                        "end": {
                                          "line": 52,
                                          "column": 39
                                        }
                                      }
                                    },
                                    "range": [
                                      1829,
                                      1839
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 52,
                                        "column": 29
                                      },
                                      "end": {
                                        "line": 52,
                                        "column": 39
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  1812,
                                  1840
                                ],
                                "loc": {
                                  "start": {
                                    "line": 52,
                                    "column": 12
                                  },
                                  "end": {
                                    "line": 52,
                                    "column": 40
                                  }
                                }
                              },
                              "range": [
                                1812,
                                1841
                              ],
                              "loc": {
                                "start": {
                                  "line": 52,
                                  "column": 12
                                },
                                "end": {
                                  "line": 52,
                                  "column": 41
                                }
                              }
                            },
                            {
                              "type": "IfStatement",
                              "test": {
                                "type": "MemberExpression",
                                "computed": false,
                                "object": {
                                  "type": "Identifier",
                                  "name": "destination",
                                  "range": [
                                    1858,
                                    1869
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 53,
                                      "column": 16
                                    },
                                    "end": {
                                      "line": 53,
                                      "column": 27
                                    }
                                  }
                                },
                                "property": {
                                  "type": "Identifier",
                                  "name": "closed",
                                  "range": [
                                    1870,
                                    1876
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 53,
                                      "column": 28
                                    },
                                    "end": {
                                      "line": 53,
                                      "column": 34
                                    }
                                  }
                                },
                                "range": [
                                  1858,
                                  1876
                                ],
                                "loc": {
                                  "start": {
                                    "line": 53,
                                    "column": 16
                                  },
                                  "end": {
                                    "line": 53,
                                    "column": 34
                                  }
                                }
                              },
                              "consequent": {
                                "type": "BlockStatement",
                                "body": [
                                  {
                                    "type": "BreakStatement",
                                    "label": null,
                                    "range": [
                                      1896,
                                      1902
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 54,
                                        "column": 16
                                      },
                                      "end": {
                                        "line": 54,
                                        "column": 22
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  1878,
                                  1916
                                ],
                                "loc": {
                                  "start": {
                                    "line": 53,
                                    "column": 36
                                  },
                                  "end": {
                                    "line": 55,
                                    "column": 13
                                  }
                                }
                              },
                              "alternate": null,
                              "range": [
                                1854,
                                1916
                              ],
                              "loc": {
                                "start": {
                                  "line": 53,
                                  "column": 12
                                },
                                "end": {
                                  "line": 55,
                                  "column": 13
                                }
                              }
                            }
                          ],
                          "range": [
                            1652,
                            1926
                          ],
                          "loc": {
                            "start": {
                              "line": 46,
                              "column": 11
                            },
                            "end": {
                              "line": 56,
                              "column": 9
                            }
                          }
                        },
                        "test": {
                          "type": "Literal",
                          "value": true,
                          "raw": "true",
                          "range": [
                            1934,
                            1938
                          ],
                          "loc": {
                            "start": {
                              "line": 56,
                              "column": 17
                            },
                            "end": {
                              "line": 56,
                              "column": 21
                            }
                          }
                        },
                        "range": [
                          1649,
                          1940
                        ],
                        "loc": {
                          "start": {
                            "line": 46,
                            "column": 8
                          },
                          "end": {
                            "line": 56,
                            "column": 23
                          }
                        }
                      }
                    ],
                    "range": [
                      1594,
                      1946
                    ],
                    "loc": {
                      "start": {
                        "line": 44,
                        "column": 55
                      },
                      "end": {
                        "line": 57,
                        "column": 5
                      }
                    }
                  },
                  "alternate": {
                    "type": "IfStatement",
                    "test": {
                      "type": "BinaryExpression",
                      "operator": "===",
                      "left": {
                        "type": "UnaryExpression",
                        "operator": "typeof",
                        "argument": {
                          "type": "MemberExpression",
                          "computed": true,
                          "object": {
                            "type": "Identifier",
                            "name": "result",
                            "range": [
                              1967,
                              1973
                            ],
                            "loc": {
                              "start": {
                                "line": 58,
                                "column": 20
                              },
                              "end": {
                                "line": 58,
                                "column": 26
                              }
                            }
                          },
                          "property": {
                            "type": "Identifier",
                            "name": "$$observable",
                            "range": [
                              1974,
                              1986
                            ],
                            "loc": {
                              "start": {
                                "line": 58,
                                "column": 27
                              },
                              "end": {
                                "line": 58,
                                "column": 39
                              }
                            }
                          },
                          "range": [
                            1967,
                            1987
                          ],
                          "loc": {
                            "start": {
                              "line": 58,
                              "column": 20
                            },
                            "end": {
                              "line": 58,
                              "column": 40
                            }
                          }
                        },
                        "prefix": true,
                        "range": [
                          1960,
                          1987
                        ],
                        "loc": {
                          "start": {
                            "line": 58,
                            "column": 13
                          },
                          "end": {
                            "line": 58,
                            "column": 40
                          }
                        }
                      },
                      "right": {
                        "type": "Literal",
                        "value": "function",
                        "raw": "'function'",
                        "range": [
                          1992,
                          2002
                        ],
                        "loc": {
                          "start": {
                            "line": 58,
                            "column": 45
                          },
                          "end": {
                            "line": 58,
                            "column": 55
                          }
                        }
                      },
                      "range": [
                        1960,
                        2002
                      ],
                      "loc": {
                        "start": {
                          "line": 58,
                          "column": 13
                        },
                        "end": {
                          "line": 58,
                          "column": 55
                        }
                      }
                    },
                    "consequent": {
                      "type": "BlockStatement",
                      "body": [
                        {
                          "type": "VariableDeclaration",
                          "declarations": [
                            {
                              "type": "VariableDeclarator",
                              "id": {
                                "type": "Identifier",
                                "name": "obs",
                                "range": [
                                  2018,
                                  2021
                                ],
                                "loc": {
                                  "start": {
                                    "line": 59,
                                    "column": 12
                                  },
                                  "end": {
                                    "line": 59,
                                    "column": 15
                                  }
                                }
                              },
                              "init": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": true,
                                  "object": {
                                    "type": "Identifier",
                                    "name": "result",
                                    "range": [
                                      2024,
                                      2030
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 59,
                                        "column": 18
                                      },
                                      "end": {
                                        "line": 59,
                                        "column": 24
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "$$observable",
                                    "range": [
                                      2031,
                                      2043
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 59,
                                        "column": 25
                                      },
                                      "end": {
                                        "line": 59,
                                        "column": 37
                                      }
                                    }
                                  },
                                  "range": [
                                    2024,
                                    2044
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 59,
                                      "column": 18
                                    },
                                    "end": {
                                      "line": 59,
                                      "column": 38
                                    }
                                  }
                                },
                                "arguments": [],
                                "range": [
                                  2024,
                                  2046
                                ],
                                "loc": {
                                  "start": {
                                    "line": 59,
                                    "column": 18
                                  },
                                  "end": {
                                    "line": 59,
                                    "column": 40
                                  }
                                }
                              },
                              "range": [
                                2018,
                                2046
                              ],
                              "loc": {
                                "start": {
                                  "line": 59,
                                  "column": 12
                                },
                                "end": {
                                  "line": 59,
                                  "column": 40
                                }
                              }
                            }
                          ],
                          "kind": "var",
                          "range": [
                            2014,
                            2047
                          ],
                          "loc": {
                            "start": {
                              "line": 59,
                              "column": 8
                            },
                            "end": {
                              "line": 59,
                              "column": 41
                            }
                          }
                        },
                        {
                          "type": "IfStatement",
                          "test": {
                            "type": "BinaryExpression",
                            "operator": "!==",
                            "left": {
                              "type": "UnaryExpression",
                              "operator": "typeof",
                              "argument": {
                                "type": "MemberExpression",
                                "computed": false,
                                "object": {
                                  "type": "Identifier",
                                  "name": "obs",
                                  "range": [
                                    2067,
                                    2070
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 60,
                                      "column": 19
                                    },
                                    "end": {
                                      "line": 60,
                                      "column": 22
                                    }
                                  }
                                },
                                "property": {
                                  "type": "Identifier",
                                  "name": "subscribe",
                                  "range": [
                                    2071,
                                    2080
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 60,
                                      "column": 23
                                    },
                                    "end": {
                                      "line": 60,
                                      "column": 32
                                    }
                                  }
                                },
                                "range": [
                                  2067,
                                  2080
                                ],
                                "loc": {
                                  "start": {
                                    "line": 60,
                                    "column": 19
                                  },
                                  "end": {
                                    "line": 60,
                                    "column": 32
                                  }
                                }
                              },
                              "prefix": true,
                              "range": [
                                2060,
                                2080
                              ],
                              "loc": {
                                "start": {
                                  "line": 60,
                                  "column": 12
                                },
                                "end": {
                                  "line": 60,
                                  "column": 32
                                }
                              }
                            },
                            "right": {
                              "type": "Literal",
                              "value": "function",
                              "raw": "'function'",
                              "range": [
                                2085,
                                2095
                              ],
                              "loc": {
                                "start": {
                                  "line": 60,
                                  "column": 37
                                },
                                "end": {
                                  "line": 60,
                                  "column": 47
                                }
                              }
                            },
                            "range": [
                              2060,
                              2095
                            ],
                            "loc": {
                              "start": {
                                "line": 60,
                                "column": 12
                              },
                              "end": {
                                "line": 60,
                                "column": 47
                              }
                            }
                          },
                          "consequent": {
                            "type": "BlockStatement",
                            "body": [
                              {
                                "type": "ExpressionStatement",
                                "expression": {
                                  "type": "CallExpression",
                                  "callee": {
                                    "type": "MemberExpression",
                                    "computed": false,
                                    "object": {
                                      "type": "Identifier",
                                      "name": "destination",
                                      "range": [
                                        2111,
                                        2122
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 61,
                                          "column": 12
                                        },
                                        "end": {
                                          "line": 61,
                                          "column": 23
                                        }
                                      }
                                    },
                                    "property": {
                                      "type": "Identifier",
                                      "name": "error",
                                      "range": [
                                        2123,
                                        2128
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 61,
                                          "column": 24
                                        },
                                        "end": {
                                          "line": 61,
                                          "column": 29
                                        }
                                      }
                                    },
                                    "range": [
                                      2111,
                                      2128
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 61,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 61,
                                        "column": 29
                                      }
                                    }
                                  },
                                  "arguments": [
                                    {
                                      "type": "NewExpression",
                                      "callee": {
                                        "type": "Identifier",
                                        "name": "Error",
                                        "range": [
                                          2133,
                                          2138
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 61,
                                            "column": 34
                                          },
                                          "end": {
                                            "line": 61,
                                            "column": 39
                                          }
                                        }
                                      },
                                      "arguments": [
                                        {
                                          "type": "Literal",
                                          "value": "invalid observable",
                                          "raw": "'invalid observable'",
                                          "range": [
                                            2139,
                                            2159
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 61,
                                              "column": 40
                                            },
                                            "end": {
                                              "line": 61,
                                              "column": 60
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        2129,
                                        2160
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 61,
                                          "column": 30
                                        },
                                        "end": {
                                          "line": 61,
                                          "column": 61
                                        }
                                      }
                                    }
                                  ],
                                  "range": [
                                    2111,
                                    2161
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 61,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 61,
                                      "column": 62
                                    }
                                  }
                                },
                                "range": [
                                  2111,
                                  2162
                                ],
                                "loc": {
                                  "start": {
                                    "line": 61,
                                    "column": 12
                                  },
                                  "end": {
                                    "line": 61,
                                    "column": 63
                                  }
                                }
                              }
                            ],
                            "range": [
                              2097,
                              2172
                            ],
                            "loc": {
                              "start": {
                                "line": 60,
                                "column": 49
                              },
                              "end": {
                                "line": 62,
                                "column": 9
                              }
                            }
                          },
                          "alternate": {
                            "type": "BlockStatement",
                            "body": [
                              {
                                "type": "ReturnStatement",
                                "argument": {
                                  "type": "CallExpression",
                                  "callee": {
                                    "type": "MemberExpression",
                                    "computed": false,
                                    "object": {
                                      "type": "Identifier",
                                      "name": "obs",
                                      "range": [
                                        2207,
                                        2210
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 64,
                                          "column": 19
                                        },
                                        "end": {
                                          "line": 64,
                                          "column": 22
                                        }
                                      }
                                    },
                                    "property": {
                                      "type": "Identifier",
                                      "name": "subscribe",
                                      "range": [
                                        2211,
                                        2220
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 64,
                                          "column": 23
                                        },
                                        "end": {
                                          "line": 64,
                                          "column": 32
                                        }
                                      }
                                    },
                                    "range": [
                                      2207,
                                      2220
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 64,
                                        "column": 19
                                      },
                                      "end": {
                                        "line": 64,
                                        "column": 32
                                      }
                                    }
                                  },
                                  "arguments": [
                                    {
                                      "type": "NewExpression",
                                      "callee": {
                                        "type": "Identifier",
                                        "name": "InnerSubscriber",
                                        "range": [
                                          2225,
                                          2240
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 64,
                                            "column": 37
                                          },
                                          "end": {
                                            "line": 64,
                                            "column": 52
                                          }
                                        }
                                      },
                                      "arguments": [
                                        {
                                          "type": "Identifier",
                                          "name": "outerSubscriber",
                                          "range": [
                                            2241,
                                            2256
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 64,
                                              "column": 53
                                            },
                                            "end": {
                                              "line": 64,
                                              "column": 68
                                            }
                                          }
                                        },
                                        {
                                          "type": "Identifier",
                                          "name": "outerValue",
                                          "range": [
                                            2258,
                                            2268
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 64,
                                              "column": 70
                                            },
                                            "end": {
                                              "line": 64,
                                              "column": 80
                                            }
                                          }
                                        },
                                        {
                                          "type": "Identifier",
                                          "name": "outerIndex",
                                          "range": [
                                            2270,
                                            2280
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 64,
                                              "column": 82
                                            },
                                            "end": {
                                              "line": 64,
                                              "column": 92
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        2221,
                                        2281
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 64,
                                          "column": 33
                                        },
                                        "end": {
                                          "line": 64,
                                          "column": 93
                                        }
                                      }
                                    }
                                  ],
                                  "range": [
                                    2207,
                                    2282
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 64,
                                      "column": 19
                                    },
                                    "end": {
                                      "line": 64,
                                      "column": 94
                                    }
                                  }
                                },
                                "range": [
                                  2200,
                                  2283
                                ],
                                "loc": {
                                  "start": {
                                    "line": 64,
                                    "column": 12
                                  },
                                  "end": {
                                    "line": 64,
                                    "column": 95
                                  }
                                }
                              }
                            ],
                            "range": [
                              2186,
                              2293
                            ],
                            "loc": {
                              "start": {
                                "line": 63,
                                "column": 13
                              },
                              "end": {
                                "line": 65,
                                "column": 9
                              }
                            }
                          },
                          "range": [
                            2056,
                            2293
                          ],
                          "loc": {
                            "start": {
                              "line": 60,
                              "column": 8
                            },
                            "end": {
                              "line": 65,
                              "column": 9
                            }
                          }
                        }
                      ],
                      "range": [
                        2004,
                        2299
                      ],
                      "loc": {
                        "start": {
                          "line": 58,
                          "column": 57
                        },
                        "end": {
                          "line": 66,
                          "column": 5
                        }
                      }
                    },
                    "alternate": {
                      "type": "BlockStatement",
                      "body": [
                        {
                          "type": "ExpressionStatement",
                          "expression": {
                            "type": "CallExpression",
                            "callee": {
                              "type": "MemberExpression",
                              "computed": false,
                              "object": {
                                "type": "Identifier",
                                "name": "destination",
                                "range": [
                                  2319,
                                  2330
                                ],
                                "loc": {
                                  "start": {
                                    "line": 68,
                                    "column": 8
                                  },
                                  "end": {
                                    "line": 68,
                                    "column": 19
                                  }
                                }
                              },
                              "property": {
                                "type": "Identifier",
                                "name": "error",
                                "range": [
                                  2331,
                                  2336
                                ],
                                "loc": {
                                  "start": {
                                    "line": 68,
                                    "column": 20
                                  },
                                  "end": {
                                    "line": 68,
                                    "column": 25
                                  }
                                }
                              },
                              "range": [
                                2319,
                                2336
                              ],
                              "loc": {
                                "start": {
                                  "line": 68,
                                  "column": 8
                                },
                                "end": {
                                  "line": 68,
                                  "column": 25
                                }
                              }
                            },
                            "arguments": [
                              {
                                "type": "NewExpression",
                                "callee": {
                                  "type": "Identifier",
                                  "name": "TypeError",
                                  "range": [
                                    2341,
                                    2350
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 68,
                                      "column": 30
                                    },
                                    "end": {
                                      "line": 68,
                                      "column": 39
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "Literal",
                                    "value": "unknown type returned",
                                    "raw": "'unknown type returned'",
                                    "range": [
                                      2351,
                                      2374
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 68,
                                        "column": 40
                                      },
                                      "end": {
                                        "line": 68,
                                        "column": 63
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  2337,
                                  2375
                                ],
                                "loc": {
                                  "start": {
                                    "line": 68,
                                    "column": 26
                                  },
                                  "end": {
                                    "line": 68,
                                    "column": 64
                                  }
                                }
                              }
                            ],
                            "range": [
                              2319,
                              2376
                            ],
                            "loc": {
                              "start": {
                                "line": 68,
                                "column": 8
                              },
                              "end": {
                                "line": 68,
                                "column": 65
                              }
                            }
                          },
                          "range": [
                            2319,
                            2377
                          ],
                          "loc": {
                            "start": {
                              "line": 68,
                              "column": 8
                            },
                            "end": {
                              "line": 68,
                              "column": 66
                            }
                          }
                        }
                      ],
                      "range": [
                        2309,
                        2383
                      ],
                      "loc": {
                        "start": {
                          "line": 67,
                          "column": 9
                        },
                        "end": {
                          "line": 69,
                          "column": 5
                        }
                      }
                    },
                    "range": [
                      1956,
                      2383
                    ],
                    "loc": {
                      "start": {
                        "line": 58,
                        "column": 9
                      },
                      "end": {
                        "line": 69,
                        "column": 5
                      }
                    }
                  },
                  "range": [
                    1548,
                    2383
                  ],
                  "loc": {
                    "start": {
                      "line": 44,
                      "column": 9
                    },
                    "end": {
                      "line": 69,
                      "column": 5
                    }
                  }
                },
                "range": [
                  1061,
                  2383
                ],
                "loc": {
                  "start": {
                    "line": 31,
                    "column": 9
                  },
                  "end": {
                    "line": 69,
                    "column": 5
                  }
                }
              },
              "range": [
                807,
                2383
              ],
              "loc": {
                "start": {
                  "line": 23,
                  "column": 4
                },
                "end": {
                  "line": 69,
                  "column": 5
                }
              }
            },
            {
              "type": "ReturnStatement",
              "argument": {
                "type": "Literal",
                "value": null,
                "raw": "null",
                "range": [
                  2395,
                  2399
                ],
                "loc": {
                  "start": {
                    "line": 70,
                    "column": 11
                  },
                  "end": {
                    "line": 70,
                    "column": 15
                  }
                }
              },
              "range": [
                2388,
                2400
              ],
              "loc": {
                "start": {
                  "line": 70,
                  "column": 4
                },
                "end": {
                  "line": 70,
                  "column": 16
                }
              }
            }
          ],
          "range": [
            392,
            2402
          ],
          "loc": {
            "start": {
              "line": 8,
              "column": 83
            },
            "end": {
              "line": 71,
              "column": 1
            }
          }
        },
        "generator": false,
        "expression": false,
        "range": [
          316,
          2402
        ],
        "loc": {
          "start": {
            "line": 8,
            "column": 7
          },
          "end": {
            "line": 71,
            "column": 1
          }
        },
        "leadingComments": [],
        "trailingComments": [
          {
            "type": "Line",
            "value": "# sourceMappingURL=subscribeToResult.js.map",
            "range": [
              2403,
              2448
            ],
            "loc": {
              "start": {
                "line": 72,
                "column": 0
              },
              "end": {
                "line": 72,
                "column": 45
              }
            }
          }
        ]
      },
      "specifiers": [],
      "source": null,
      "range": [
        309,
        2402
      ],
      "loc": {
        "start": {
          "line": 8,
          "column": 0
        },
        "end": {
          "line": 71,
          "column": 1
        }
      },
      "trailingComments": [
        {
          "type": "Line",
          "value": "# sourceMappingURL=subscribeToResult.js.map",
          "range": [
            2403,
            2448
          ],
          "loc": {
            "start": {
              "line": 72,
              "column": 0
            },
            "end": {
              "line": 72,
              "column": 45
            }
          }
        }
      ]
    }
  ],
  "sourceType": "module",
  "range": [
    0,
    2402
  ],
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 71,
      "column": 1
    }
  },
  "comments": [
    {
      "type": "Line",
      "value": " Escaping the Promise trap: globally throw unhandled errors",
      "range": [
        1374,
        1435
      ],
      "loc": {
        "start": {
          "line": 39,
          "column": 12
        },
        "end": {
          "line": 39,
          "column": 73
        }
      }
    },
    {
      "type": "Line",
      "value": "# sourceMappingURL=subscribeToResult.js.map",
      "range": [
        2403,
        2448
      ],
      "loc": {
        "start": {
          "line": 72,
          "column": 0
        },
        "end": {
          "line": 72,
          "column": 45
        }
      }
    }
  ]
}