{
  "type": "Program",
  "body": [
    {
      "type": "ExportDefaultDeclaration",
      "declaration": {
        "type": "FunctionDeclaration",
        "id": null,
        "params": [],
        "body": {
          "type": "BlockStatement",
          "body": [
            {
              "type": "ReturnStatement",
              "argument": {
                "type": "ObjectExpression",
                "properties": [
                  {
                    "type": "Property",
                    "key": {
                      "type": "Identifier",
                      "name": "name",
                      "range": [
                        164,
                        168
                      ],
                      "loc": {
                        "start": {
                          "line": 7,
                          "column": 4
                        },
                        "end": {
                          "line": 7,
                          "column": 8
                        }
                      }
                    },
                    "value": {
                      "type": "Literal",
                      "value": "values",
                      "raw": "'values'",
                      "range": [
                        170,
                        178
                      ],
                      "loc": {
                        "start": {
                          "line": 7,
                          "column": 10
                        },
                        "end": {
                          "line": 7,
                          "column": 18
                        }
                      }
                    },
                    "kind": "init",
                    "method": false,
                    "shorthand": false,
                    "computed": false,
                    "range": [
                      164,
                      178
                    ],
                    "loc": {
                      "start": {
                        "line": 7,
                        "column": 4
                      },
                      "end": {
                        "line": 7,
                        "column": 18
                      }
                    }
                  },
                  {
                    "type": "Property",
                    "key": {
                      "type": "Identifier",
                      "name": "initialValue",
                      "range": [
                        184,
                        196
                      ],
                      "loc": {
                        "start": {
                          "line": 8,
                          "column": 4
                        },
                        "end": {
                          "line": 8,
                          "column": 16
                        }
                      }
                    },
                    "value": {
                      "type": "ArrayExpression",
                      "elements": [],
                      "range": [
                        198,
                        200
                      ],
                      "loc": {
                        "start": {
                          "line": 8,
                          "column": 18
                        },
                        "end": {
                          "line": 8,
                          "column": 20
                        }
                      }
                    },
                    "kind": "init",
                    "method": false,
                    "shorthand": false,
                    "computed": false,
                    "range": [
                      184,
                      200
                    ],
                    "loc": {
                      "start": {
                        "line": 8,
                        "column": 4
                      },
                      "end": {
                        "line": 8,
                        "column": 20
                      }
                    }
                  },
                  {
                    "type": "Property",
                    "key": {
                      "type": "Identifier",
                      "name": "onUpdate",
                      "range": [
                        206,
                        214
                      ],
                      "loc": {
                        "start": {
                          "line": 9,
                          "column": 4
                        },
                        "end": {
                          "line": 9,
                          "column": 12
                        }
                      }
                    },
                    "value": {
                      "type": "FunctionExpression",
                      "id": null,
                      "params": [
                        {
                          "type": "Identifier",
                          "name": "prev",
                          "range": [
                            226,
                            230
                          ],
                          "loc": {
                            "start": {
                              "line": 9,
                              "column": 24
                            },
                            "end": {
                              "line": 9,
                              "column": 28
                            }
                          }
                        },
                        {
                          "type": "Identifier",
                          "name": "state",
                          "range": [
                            232,
                            237
                          ],
                          "loc": {
                            "start": {
                              "line": 9,
                              "column": 30
                            },
                            "end": {
                              "line": 9,
                              "column": 35
                            }
                          }
                        },
                        {
                          "type": "Identifier",
                          "name": "val",
                          "range": [
                            239,
                            242
                          ],
                          "loc": {
                            "start": {
                              "line": 9,
                              "column": 37
                            },
                            "end": {
                              "line": 9,
                              "column": 40
                            }
                          }
                        }
                      ],
                      "body": {
                        "type": "BlockStatement",
                        "body": [
                          {
                            "type": "VariableDeclaration",
                            "declarations": [
                              {
                                "type": "VariableDeclarator",
                                "id": {
                                  "type": "Identifier",
                                  "name": "result",
                                  "range": [
                                    258,
                                    264
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 10,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 10,
                                      "column": 18
                                    }
                                  }
                                },
                                "init": {
                                  "type": "CallExpression",
                                  "callee": {
                                    "type": "MemberExpression",
                                    "computed": false,
                                    "object": {
                                      "type": "Identifier",
                                      "name": "prev",
                                      "range": [
                                        267,
                                        271
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 10,
                                          "column": 21
                                        },
                                        "end": {
                                          "line": 10,
                                          "column": 25
                                        }
                                      }
                                    },
                                    "property": {
                                      "type": "Identifier",
                                      "name": "slice",
                                      "range": [
                                        272,
                                        277
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 10,
                                          "column": 26
                                        },
                                        "end": {
                                          "line": 10,
                                          "column": 31
                                        }
                                      }
                                    },
                                    "range": [
                                      267,
                                      277
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 10,
                                        "column": 21
                                      },
                                      "end": {
                                        "line": 10,
                                        "column": 31
                                      }
                                    }
                                  },
                                  "arguments": [
                                    {
                                      "type": "Literal",
                                      "value": 0,
                                      "raw": "0",
                                      "range": [
                                        278,
                                        279
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 10,
                                          "column": 32
                                        },
                                        "end": {
                                          "line": 10,
                                          "column": 33
                                        }
                                      }
                                    }
                                  ],
                                  "range": [
                                    267,
                                    280
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 10,
                                      "column": 21
                                    },
                                    "end": {
                                      "line": 10,
                                      "column": 34
                                    }
                                  }
                                },
                                "range": [
                                  258,
                                  280
                                ],
                                "loc": {
                                  "start": {
                                    "line": 10,
                                    "column": 12
                                  },
                                  "end": {
                                    "line": 10,
                                    "column": 34
                                  }
                                }
                              }
                            ],
                            "kind": "const",
                            "range": [
                              252,
                              281
                            ],
                            "loc": {
                              "start": {
                                "line": 10,
                                "column": 6
                              },
                              "end": {
                                "line": 10,
                                "column": 35
                              }
                            }
                          },
                          {
                            "type": "ExpressionStatement",
                            "expression": {
                              "type": "CallExpression",
                              "callee": {
                                "type": "MemberExpression",
                                "computed": false,
                                "object": {
                                  "type": "Identifier",
                                  "name": "result",
                                  "range": [
                                    288,
                                    294
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 11,
                                      "column": 6
                                    },
                                    "end": {
                                      "line": 11,
                                      "column": 12
                                    }
                                  }
                                },
                                "property": {
                                  "type": "Identifier",
                                  "name": "push",
                                  "range": [
                                    295,
                                    299
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 11,
                                      "column": 13
                                    },
                                    "end": {
                                      "line": 11,
                                      "column": 17
                                    }
                                  }
                                },
                                "range": [
                                  288,
                                  299
                                ],
                                "loc": {
                                  "start": {
                                    "line": 11,
                                    "column": 6
                                  },
                                  "end": {
                                    "line": 11,
                                    "column": 17
                                  }
                                }
                              },
                              "arguments": [
                                {
                                  "type": "Identifier",
                                  "name": "val",
                                  "range": [
                                    300,
                                    303
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 11,
                                      "column": 18
                                    },
                                    "end": {
                                      "line": 11,
                                      "column": 21
                                    }
                                  }
                                }
                              ],
                              "range": [
                                288,
                                304
                              ],
                              "loc": {
                                "start": {
                                  "line": 11,
                                  "column": 6
                                },
                                "end": {
                                  "line": 11,
                                  "column": 22
                                }
                              }
                            },
                            "range": [
                              288,
                              305
                            ],
                            "loc": {
                              "start": {
                                "line": 11,
                                "column": 6
                              },
                              "end": {
                                "line": 11,
                                "column": 23
                              }
                            }
                          },
                          {
                            "type": "ReturnStatement",
                            "argument": {
                              "type": "Identifier",
                              "name": "result",
                              "range": [
                                319,
                                325
                              ],
                              "loc": {
                                "start": {
                                  "line": 12,
                                  "column": 13
                                },
                                "end": {
                                  "line": 12,
                                  "column": 19
                                }
                              }
                            },
                            "range": [
                              312,
                              326
                            ],
                            "loc": {
                              "start": {
                                "line": 12,
                                "column": 6
                              },
                              "end": {
                                "line": 12,
                                "column": 20
                              }
                            }
                          }
                        ],
                        "range": [
                          244,
                          332
                        ],
                        "loc": {
                          "start": {
                            "line": 9,
                            "column": 42
                          },
                          "end": {
                            "line": 13,
                            "column": 5
                          }
                        }
                      },
                      "generator": false,
                      "expression": false,
                      "range": [
                        216,
                        332
                      ],
                      "loc": {
                        "start": {
                          "line": 9,
                          "column": 14
                        },
                        "end": {
                          "line": 13,
                          "column": 5
                        }
                      }
                    },
                    "kind": "init",
                    "method": false,
                    "shorthand": false,
                    "computed": false,
                    "range": [
                      206,
                      332
                    ],
                    "loc": {
                      "start": {
                        "line": 9,
                        "column": 4
                      },
                      "end": {
                        "line": 13,
                        "column": 5
                      }
                    }
                  }
                ],
                "range": [
                  158,
                  336
                ],
                "loc": {
                  "start": {
                    "line": 6,
                    "column": 9
                  },
                  "end": {
                    "line": 14,
                    "column": 3
                  }
                }
              },
              "range": [
                151,
                337
              ],
              "loc": {
                "start": {
                  "line": 6,
                  "column": 2
                },
                "end": {
                  "line": 14,
                  "column": 4
                }
              }
            }
          ],
          "range": [
            147,
            339
          ],
          "loc": {
            "start": {
              "line": 5,
              "column": 27
            },
            "end": {
              "line": 15,
              "column": 1
            }
          }
        },
        "generator": false,
        "expression": false,
        "range": [
          135,
          339
        ],
        "loc": {
          "start": {
            "line": 5,
            "column": 15
          },
          "end": {
            "line": 15,
            "column": 1
          }
        },
        "leadingComments": [
          {
            "type": "Block",
            "value": "*\n * Returns the definition of a collector that captures `values`\n * @return {Object} A `values` collector object\n ",
            "range": [
              0,
              119
            ],
            "loc": {
              "start": {
                "line": 1,
                "column": 0
              },
              "end": {
                "line": 4,
                "column": 3
              }
            }
          }
        ],
        "trailingComments": []
      },
      "range": [
        120,
        339
      ],
      "loc": {
        "start": {
          "line": 5,
          "column": 0
        },
        "end": {
          "line": 15,
          "column": 1
        }
      },
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * Returns the definition of a collector that captures `values`\n * @return {Object} A `values` collector object\n ",
          "range": [
            0,
            119
          ],
          "loc": {
            "start": {
              "line": 1,
              "column": 0
            },
            "end": {
              "line": 4,
              "column": 3
            }
          }
        }
      ]
    }
  ],
  "sourceType": "module",
  "range": [
    120,
    339
  ],
  "loc": {
    "start": {
      "line": 5,
      "column": 0
    },
    "end": {
      "line": 15,
      "column": 1
    }
  },
  "comments": [
    {
      "type": "Block",
      "value": "*\n * Returns the definition of a collector that captures `values`\n * @return {Object} A `values` collector object\n ",
      "range": [
        0,
        119
      ],
      "loc": {
        "start": {
          "line": 1,
          "column": 0
        },
        "end": {
          "line": 4,
          "column": 3
        }
      }
    }
  ]
}