{
  "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": [
                        44,
                        48
                      ],
                      "loc": {
                        "start": {
                          "line": 3,
                          "column": 4
                        },
                        "end": {
                          "line": 3,
                          "column": 8
                        }
                      }
                    },
                    "value": {
                      "type": "Literal",
                      "value": "_values",
                      "raw": "'_values'",
                      "range": [
                        50,
                        59
                      ],
                      "loc": {
                        "start": {
                          "line": 3,
                          "column": 10
                        },
                        "end": {
                          "line": 3,
                          "column": 19
                        }
                      }
                    },
                    "kind": "init",
                    "method": false,
                    "shorthand": false,
                    "computed": false,
                    "range": [
                      44,
                      59
                    ],
                    "loc": {
                      "start": {
                        "line": 3,
                        "column": 4
                      },
                      "end": {
                        "line": 3,
                        "column": 19
                      }
                    }
                  },
                  {
                    "type": "Property",
                    "key": {
                      "type": "Identifier",
                      "name": "initialValue",
                      "range": [
                        65,
                        77
                      ],
                      "loc": {
                        "start": {
                          "line": 4,
                          "column": 4
                        },
                        "end": {
                          "line": 4,
                          "column": 16
                        }
                      }
                    },
                    "value": {
                      "type": "ArrayExpression",
                      "elements": [],
                      "range": [
                        79,
                        81
                      ],
                      "loc": {
                        "start": {
                          "line": 4,
                          "column": 18
                        },
                        "end": {
                          "line": 4,
                          "column": 20
                        }
                      }
                    },
                    "kind": "init",
                    "method": false,
                    "shorthand": false,
                    "computed": false,
                    "range": [
                      65,
                      81
                    ],
                    "loc": {
                      "start": {
                        "line": 4,
                        "column": 4
                      },
                      "end": {
                        "line": 4,
                        "column": 20
                      }
                    }
                  },
                  {
                    "type": "Property",
                    "key": {
                      "type": "Identifier",
                      "name": "onUpdate",
                      "range": [
                        87,
                        95
                      ],
                      "loc": {
                        "start": {
                          "line": 5,
                          "column": 4
                        },
                        "end": {
                          "line": 5,
                          "column": 12
                        }
                      }
                    },
                    "value": {
                      "type": "FunctionExpression",
                      "id": null,
                      "params": [
                        {
                          "type": "Identifier",
                          "name": "prev",
                          "range": [
                            107,
                            111
                          ],
                          "loc": {
                            "start": {
                              "line": 5,
                              "column": 24
                            },
                            "end": {
                              "line": 5,
                              "column": 28
                            }
                          }
                        },
                        {
                          "type": "Identifier",
                          "name": "state",
                          "range": [
                            113,
                            118
                          ],
                          "loc": {
                            "start": {
                              "line": 5,
                              "column": 30
                            },
                            "end": {
                              "line": 5,
                              "column": 35
                            }
                          }
                        },
                        {
                          "type": "Identifier",
                          "name": "val",
                          "range": [
                            120,
                            123
                          ],
                          "loc": {
                            "start": {
                              "line": 5,
                              "column": 37
                            },
                            "end": {
                              "line": 5,
                              "column": 40
                            }
                          }
                        }
                      ],
                      "body": {
                        "type": "BlockStatement",
                        "body": [
                          {
                            "type": "VariableDeclaration",
                            "declarations": [
                              {
                                "type": "VariableDeclarator",
                                "id": {
                                  "type": "Identifier",
                                  "name": "result",
                                  "range": [
                                    139,
                                    145
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 6,
                                      "column": 12
                                    },
                                    "end": {
                                      "line": 6,
                                      "column": 18
                                    }
                                  }
                                },
                                "init": {
                                  "type": "CallExpression",
                                  "callee": {
                                    "type": "MemberExpression",
                                    "computed": false,
                                    "object": {
                                      "type": "Identifier",
                                      "name": "prev",
                                      "range": [
                                        148,
                                        152
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 6,
                                          "column": 21
                                        },
                                        "end": {
                                          "line": 6,
                                          "column": 25
                                        }
                                      }
                                    },
                                    "property": {
                                      "type": "Identifier",
                                      "name": "slice",
                                      "range": [
                                        153,
                                        158
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 6,
                                          "column": 26
                                        },
                                        "end": {
                                          "line": 6,
                                          "column": 31
                                        }
                                      }
                                    },
                                    "range": [
                                      148,
                                      158
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 6,
                                        "column": 21
                                      },
                                      "end": {
                                        "line": 6,
                                        "column": 31
                                      }
                                    }
                                  },
                                  "arguments": [
                                    {
                                      "type": "Literal",
                                      "value": 0,
                                      "raw": "0",
                                      "range": [
                                        159,
                                        160
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 6,
                                          "column": 32
                                        },
                                        "end": {
                                          "line": 6,
                                          "column": 33
                                        }
                                      }
                                    }
                                  ],
                                  "range": [
                                    148,
                                    161
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 6,
                                      "column": 21
                                    },
                                    "end": {
                                      "line": 6,
                                      "column": 34
                                    }
                                  }
                                },
                                "range": [
                                  139,
                                  161
                                ],
                                "loc": {
                                  "start": {
                                    "line": 6,
                                    "column": 12
                                  },
                                  "end": {
                                    "line": 6,
                                    "column": 34
                                  }
                                }
                              }
                            ],
                            "kind": "const",
                            "range": [
                              133,
                              162
                            ],
                            "loc": {
                              "start": {
                                "line": 6,
                                "column": 6
                              },
                              "end": {
                                "line": 6,
                                "column": 35
                              }
                            }
                          },
                          {
                            "type": "ExpressionStatement",
                            "expression": {
                              "type": "CallExpression",
                              "callee": {
                                "type": "MemberExpression",
                                "computed": false,
                                "object": {
                                  "type": "Identifier",
                                  "name": "result",
                                  "range": [
                                    169,
                                    175
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 7,
                                      "column": 6
                                    },
                                    "end": {
                                      "line": 7,
                                      "column": 12
                                    }
                                  }
                                },
                                "property": {
                                  "type": "Identifier",
                                  "name": "push",
                                  "range": [
                                    176,
                                    180
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 7,
                                      "column": 13
                                    },
                                    "end": {
                                      "line": 7,
                                      "column": 17
                                    }
                                  }
                                },
                                "range": [
                                  169,
                                  180
                                ],
                                "loc": {
                                  "start": {
                                    "line": 7,
                                    "column": 6
                                  },
                                  "end": {
                                    "line": 7,
                                    "column": 17
                                  }
                                }
                              },
                              "arguments": [
                                {
                                  "type": "Identifier",
                                  "name": "val",
                                  "range": [
                                    181,
                                    184
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 7,
                                      "column": 18
                                    },
                                    "end": {
                                      "line": 7,
                                      "column": 21
                                    }
                                  }
                                }
                              ],
                              "range": [
                                169,
                                185
                              ],
                              "loc": {
                                "start": {
                                  "line": 7,
                                  "column": 6
                                },
                                "end": {
                                  "line": 7,
                                  "column": 22
                                }
                              }
                            },
                            "range": [
                              169,
                              186
                            ],
                            "loc": {
                              "start": {
                                "line": 7,
                                "column": 6
                              },
                              "end": {
                                "line": 7,
                                "column": 23
                              }
                            }
                          },
                          {
                            "type": "ReturnStatement",
                            "argument": {
                              "type": "Identifier",
                              "name": "result",
                              "range": [
                                200,
                                206
                              ],
                              "loc": {
                                "start": {
                                  "line": 8,
                                  "column": 13
                                },
                                "end": {
                                  "line": 8,
                                  "column": 19
                                }
                              }
                            },
                            "range": [
                              193,
                              207
                            ],
                            "loc": {
                              "start": {
                                "line": 8,
                                "column": 6
                              },
                              "end": {
                                "line": 8,
                                "column": 20
                              }
                            }
                          }
                        ],
                        "range": [
                          125,
                          213
                        ],
                        "loc": {
                          "start": {
                            "line": 5,
                            "column": 42
                          },
                          "end": {
                            "line": 9,
                            "column": 5
                          }
                        }
                      },
                      "generator": false,
                      "expression": false,
                      "range": [
                        97,
                        213
                      ],
                      "loc": {
                        "start": {
                          "line": 5,
                          "column": 14
                        },
                        "end": {
                          "line": 9,
                          "column": 5
                        }
                      }
                    },
                    "kind": "init",
                    "method": false,
                    "shorthand": false,
                    "computed": false,
                    "range": [
                      87,
                      213
                    ],
                    "loc": {
                      "start": {
                        "line": 5,
                        "column": 4
                      },
                      "end": {
                        "line": 9,
                        "column": 5
                      }
                    }
                  }
                ],
                "range": [
                  38,
                  217
                ],
                "loc": {
                  "start": {
                    "line": 2,
                    "column": 9
                  },
                  "end": {
                    "line": 10,
                    "column": 3
                  }
                }
              },
              "range": [
                31,
                218
              ],
              "loc": {
                "start": {
                  "line": 2,
                  "column": 2
                },
                "end": {
                  "line": 10,
                  "column": 4
                }
              }
            }
          ],
          "range": [
            27,
            220
          ],
          "loc": {
            "start": {
              "line": 1,
              "column": 27
            },
            "end": {
              "line": 11,
              "column": 1
            }
          }
        },
        "generator": false,
        "expression": false,
        "range": [
          15,
          220
        ],
        "loc": {
          "start": {
            "line": 1,
            "column": 15
          },
          "end": {
            "line": 11,
            "column": 1
          }
        },
        "leadingComments": [],
        "trailingComments": []
      },
      "range": [
        0,
        220
      ],
      "loc": {
        "start": {
          "line": 1,
          "column": 0
        },
        "end": {
          "line": 11,
          "column": 1
        }
      }
    }
  ],
  "sourceType": "module",
  "range": [
    0,
    220
  ],
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 11,
      "column": 1
    }
  },
  "comments": []
}