{
  "type": "Program",
  "start": 0,
  "end": 3221,
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 157,
      "column": 0
    }
  },
  "sourceType": "module",
  "body": [
    {
      "type": "ImportDeclaration",
      "start": 0,
      "end": 50,
      "loc": {
        "start": {
          "line": 1,
          "column": 0
        },
        "end": {
          "line": 1,
          "column": 50
        }
      },
      "specifiers": [
        {
          "type": "ImportNamespaceSpecifier",
          "start": 7,
          "end": 29,
          "loc": {
            "start": {
              "line": 1,
              "column": 7
            },
            "end": {
              "line": 1,
              "column": 29
            }
          },
          "local": {
            "type": "Identifier",
            "start": 12,
            "end": 29,
            "loc": {
              "start": {
                "line": 1,
                "column": 12
              },
              "end": {
                "line": 1,
                "column": 29
              }
            },
            "name": "defaultValidators"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 35,
        "end": 49,
        "loc": {
          "start": {
            "line": 1,
            "column": 35
          },
          "end": {
            "line": 1,
            "column": 49
          }
        },
        "value": "./validators",
        "rawValue": "./validators",
        "raw": "'./validators'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 51,
      "end": 95,
      "loc": {
        "start": {
          "line": 2,
          "column": 0
        },
        "end": {
          "line": 2,
          "column": 44
        }
      },
      "specifiers": [
        {
          "type": "ImportNamespaceSpecifier",
          "start": 58,
          "end": 77,
          "loc": {
            "start": {
              "line": 2,
              "column": 7
            },
            "end": {
              "line": 2,
              "column": 26
            }
          },
          "local": {
            "type": "Identifier",
            "start": 63,
            "end": 77,
            "loc": {
              "start": {
                "line": 2,
                "column": 12
              },
              "end": {
                "line": 2,
                "column": 26
              }
            },
            "name": "defaultLocales"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 83,
        "end": 94,
        "loc": {
          "start": {
            "line": 2,
            "column": 32
          },
          "end": {
            "line": 2,
            "column": 43
          }
        },
        "value": "./locales",
        "rawValue": "./locales",
        "raw": "'./locales'"
      }
    },
    {
      "type": "VariableDeclaration",
      "start": 97,
      "end": 341,
      "loc": {
        "start": {
          "line": 4,
          "column": 0
        },
        "end": {
          "line": 12,
          "column": 4
        }
      },
      "declarations": [
        {
          "type": "VariableDeclarator",
          "start": 105,
          "end": 129,
          "loc": {
            "start": {
              "line": 5,
              "column": 2
            },
            "end": {
              "line": 5,
              "column": 26
            }
          },
          "id": {
            "type": "Identifier",
            "start": 105,
            "end": 113,
            "loc": {
              "start": {
                "line": 5,
                "column": 2
              },
              "end": {
                "line": 5,
                "column": 10
              }
            },
            "name": "rulesMap"
          },
          "init": {
            "type": "NewExpression",
            "start": 116,
            "end": 129,
            "loc": {
              "start": {
                "line": 5,
                "column": 13
              },
              "end": {
                "line": 5,
                "column": 26
              }
            },
            "callee": {
              "type": "Identifier",
              "start": 120,
              "end": 127,
              "loc": {
                "start": {
                  "line": 5,
                  "column": 17
                },
                "end": {
                  "line": 5,
                  "column": 24
                }
              },
              "name": "WeakMap"
            },
            "arguments": []
          }
        },
        {
          "type": "VariableDeclarator",
          "start": 133,
          "end": 157,
          "loc": {
            "start": {
              "line": 6,
              "column": 2
            },
            "end": {
              "line": 6,
              "column": 26
            }
          },
          "id": {
            "type": "Identifier",
            "start": 133,
            "end": 141,
            "loc": {
              "start": {
                "line": 6,
                "column": 2
              },
              "end": {
                "line": 6,
                "column": 10
              }
            },
            "name": "stateMap"
          },
          "init": {
            "type": "NewExpression",
            "start": 144,
            "end": 157,
            "loc": {
              "start": {
                "line": 6,
                "column": 13
              },
              "end": {
                "line": 6,
                "column": 26
              }
            },
            "callee": {
              "type": "Identifier",
              "start": 148,
              "end": 155,
              "loc": {
                "start": {
                  "line": 6,
                  "column": 17
                },
                "end": {
                  "line": 6,
                  "column": 24
                }
              },
              "name": "WeakMap"
            },
            "arguments": []
          }
        },
        {
          "type": "VariableDeclarator",
          "start": 161,
          "end": 187,
          "loc": {
            "start": {
              "line": 7,
              "column": 2
            },
            "end": {
              "line": 7,
              "column": 28
            }
          },
          "id": {
            "type": "Identifier",
            "start": 161,
            "end": 171,
            "loc": {
              "start": {
                "line": 7,
                "column": 2
              },
              "end": {
                "line": 7,
                "column": 12
              }
            },
            "name": "localesMap"
          },
          "init": {
            "type": "NewExpression",
            "start": 174,
            "end": 187,
            "loc": {
              "start": {
                "line": 7,
                "column": 15
              },
              "end": {
                "line": 7,
                "column": 28
              }
            },
            "callee": {
              "type": "Identifier",
              "start": 178,
              "end": 185,
              "loc": {
                "start": {
                  "line": 7,
                  "column": 19
                },
                "end": {
                  "line": 7,
                  "column": 26
                }
              },
              "name": "WeakMap"
            },
            "arguments": []
          }
        },
        {
          "type": "VariableDeclarator",
          "start": 191,
          "end": 340,
          "loc": {
            "start": {
              "line": 8,
              "column": 2
            },
            "end": {
              "line": 12,
              "column": 3
            }
          },
          "id": {
            "type": "Identifier",
            "start": 191,
            "end": 203,
            "loc": {
              "start": {
                "line": 8,
                "column": 2
              },
              "end": {
                "line": 8,
                "column": 14
              }
            },
            "name": "isPropProper"
          },
          "init": {
            "type": "ArrowFunctionExpression",
            "start": 206,
            "end": 340,
            "loc": {
              "start": {
                "line": 8,
                "column": 17
              },
              "end": {
                "line": 12,
                "column": 3
              }
            },
            "id": null,
            "generator": false,
            "expression": false,
            "async": false,
            "params": [
              {
                "type": "Identifier",
                "start": 206,
                "end": 210,
                "loc": {
                  "start": {
                    "line": 8,
                    "column": 17
                  },
                  "end": {
                    "line": 8,
                    "column": 21
                  }
                },
                "name": "prop"
              }
            ],
            "body": {
              "type": "BlockStatement",
              "start": 214,
              "end": 340,
              "loc": {
                "start": {
                  "line": 8,
                  "column": 25
                },
                "end": {
                  "line": 12,
                  "column": 3
                }
              },
              "body": [
                {
                  "type": "IfStatement",
                  "start": 220,
                  "end": 336,
                  "loc": {
                    "start": {
                      "line": 9,
                      "column": 4
                    },
                    "end": {
                      "line": 11,
                      "column": 5
                    }
                  },
                  "test": {
                    "type": "BinaryExpression",
                    "start": 224,
                    "end": 248,
                    "loc": {
                      "start": {
                        "line": 9,
                        "column": 8
                      },
                      "end": {
                        "line": 9,
                        "column": 32
                      }
                    },
                    "left": {
                      "type": "UnaryExpression",
                      "start": 224,
                      "end": 235,
                      "loc": {
                        "start": {
                          "line": 9,
                          "column": 8
                        },
                        "end": {
                          "line": 9,
                          "column": 19
                        }
                      },
                      "operator": "typeof",
                      "prefix": true,
                      "argument": {
                        "type": "Identifier",
                        "start": 231,
                        "end": 235,
                        "loc": {
                          "start": {
                            "line": 9,
                            "column": 15
                          },
                          "end": {
                            "line": 9,
                            "column": 19
                          }
                        },
                        "name": "prop"
                      }
                    },
                    "operator": "!==",
                    "right": {
                      "type": "Literal",
                      "start": 240,
                      "end": 248,
                      "loc": {
                        "start": {
                          "line": 9,
                          "column": 24
                        },
                        "end": {
                          "line": 9,
                          "column": 32
                        }
                      },
                      "value": "string",
                      "rawValue": "string",
                      "raw": "'string'"
                    }
                  },
                  "consequent": {
                    "type": "BlockStatement",
                    "start": 250,
                    "end": 336,
                    "loc": {
                      "start": {
                        "line": 9,
                        "column": 34
                      },
                      "end": {
                        "line": 11,
                        "column": 5
                      }
                    },
                    "body": [
                      {
                        "type": "ThrowStatement",
                        "start": 258,
                        "end": 330,
                        "loc": {
                          "start": {
                            "line": 10,
                            "column": 6
                          },
                          "end": {
                            "line": 10,
                            "column": 78
                          }
                        },
                        "argument": {
                          "type": "NewExpression",
                          "start": 264,
                          "end": 329,
                          "loc": {
                            "start": {
                              "line": 10,
                              "column": 12
                            },
                            "end": {
                              "line": 10,
                              "column": 77
                            }
                          },
                          "callee": {
                            "type": "Identifier",
                            "start": 268,
                            "end": 273,
                            "loc": {
                              "start": {
                                "line": 10,
                                "column": 16
                              },
                              "end": {
                                "line": 10,
                                "column": 21
                              }
                            },
                            "name": "Error"
                          },
                          "arguments": [
                            {
                              "type": "Literal",
                              "start": 274,
                              "end": 328,
                              "loc": {
                                "start": {
                                  "line": 10,
                                  "column": 22
                                },
                                "end": {
                                  "line": 10,
                                  "column": 76
                                }
                              },
                              "value": "Given prop must be a valid string in order to update",
                              "rawValue": "Given prop must be a valid string in order to update",
                              "raw": "'Given prop must be a valid string in order to update'"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "alternate": null
                }
              ]
            }
          }
        }
      ],
      "kind": "const",
      "trailingComments": [
        {
          "type": "Block",
          "value": "*\n * Merge unique\n * @param response\n ",
          "start": 343,
          "end": 385,
          "loc": {
            "start": {
              "line": 14,
              "column": 0
            },
            "end": {
              "line": 17,
              "column": 3
            }
          },
          "range": [
            343,
            385
          ]
        }
      ]
    },
    {
      "type": "ExportNamedDeclaration",
      "start": 386,
      "end": 757,
      "loc": {
        "start": {
          "line": 18,
          "column": 0
        },
        "end": {
          "line": 32,
          "column": 3
        }
      },
      "declaration": {
        "type": "VariableDeclaration",
        "start": 393,
        "end": 757,
        "loc": {
          "start": {
            "line": 18,
            "column": 7
          },
          "end": {
            "line": 32,
            "column": 3
          }
        },
        "declarations": [
          {
            "type": "VariableDeclarator",
            "start": 399,
            "end": 756,
            "loc": {
              "start": {
                "line": 18,
                "column": 13
              },
              "end": {
                "line": 32,
                "column": 2
              }
            },
            "id": {
              "type": "Identifier",
              "start": 399,
              "end": 414,
              "loc": {
                "start": {
                  "line": 18,
                  "column": 13
                },
                "end": {
                  "line": 18,
                  "column": 28
                }
              },
              "name": "flattenResponse",
              "leadingComments": null
            },
            "init": {
              "type": "ArrowFunctionExpression",
              "start": 417,
              "end": 756,
              "loc": {
                "start": {
                  "line": 18,
                  "column": 31
                },
                "end": {
                  "line": 32,
                  "column": 2
                }
              },
              "id": null,
              "generator": false,
              "expression": true,
              "async": false,
              "params": [
                {
                  "type": "Identifier",
                  "start": 417,
                  "end": 425,
                  "loc": {
                    "start": {
                      "line": 18,
                      "column": 31
                    },
                    "end": {
                      "line": 18,
                      "column": 39
                    }
                  },
                  "name": "response"
                }
              ],
              "body": {
                "type": "NewExpression",
                "start": 429,
                "end": 756,
                "loc": {
                  "start": {
                    "line": 18,
                    "column": 43
                  },
                  "end": {
                    "line": 32,
                    "column": 2
                  }
                },
                "callee": {
                  "type": "Identifier",
                  "start": 433,
                  "end": 440,
                  "loc": {
                    "start": {
                      "line": 18,
                      "column": 47
                    },
                    "end": {
                      "line": 18,
                      "column": 54
                    }
                  },
                  "name": "Promise"
                },
                "arguments": [
                  {
                    "type": "ArrowFunctionExpression",
                    "start": 441,
                    "end": 755,
                    "loc": {
                      "start": {
                        "line": 18,
                        "column": 55
                      },
                      "end": {
                        "line": 32,
                        "column": 1
                      }
                    },
                    "id": null,
                    "generator": false,
                    "expression": false,
                    "async": false,
                    "params": [
                      {
                        "type": "Identifier",
                        "start": 442,
                        "end": 449,
                        "loc": {
                          "start": {
                            "line": 18,
                            "column": 56
                          },
                          "end": {
                            "line": 18,
                            "column": 63
                          }
                        },
                        "name": "resolve"
                      },
                      {
                        "type": "Identifier",
                        "start": 451,
                        "end": 457,
                        "loc": {
                          "start": {
                            "line": 18,
                            "column": 65
                          },
                          "end": {
                            "line": 18,
                            "column": 71
                          }
                        },
                        "name": "reject"
                      }
                    ],
                    "body": {
                      "type": "BlockStatement",
                      "start": 462,
                      "end": 755,
                      "loc": {
                        "start": {
                          "line": 18,
                          "column": 76
                        },
                        "end": {
                          "line": 32,
                          "column": 1
                        }
                      },
                      "body": [
                        {
                          "type": "TryStatement",
                          "start": 466,
                          "end": 753,
                          "loc": {
                            "start": {
                              "line": 19,
                              "column": 2
                            },
                            "end": {
                              "line": 31,
                              "column": 3
                            }
                          },
                          "block": {
                            "type": "BlockStatement",
                            "start": 470,
                            "end": 712,
                            "loc": {
                              "start": {
                                "line": 19,
                                "column": 6
                              },
                              "end": {
                                "line": 27,
                                "column": 3
                              }
                            },
                            "body": [
                              {
                                "type": "IfStatement",
                                "start": 476,
                                "end": 572,
                                "loc": {
                                  "start": {
                                    "line": 20,
                                    "column": 4
                                  },
                                  "end": {
                                    "line": 22,
                                    "column": 5
                                  }
                                },
                                "test": {
                                  "type": "BinaryExpression",
                                  "start": 480,
                                  "end": 508,
                                  "loc": {
                                    "start": {
                                      "line": 20,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 20,
                                      "column": 36
                                    }
                                  },
                                  "left": {
                                    "type": "UnaryExpression",
                                    "start": 480,
                                    "end": 495,
                                    "loc": {
                                      "start": {
                                        "line": 20,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 20,
                                        "column": 23
                                      }
                                    },
                                    "operator": "typeof",
                                    "prefix": true,
                                    "argument": {
                                      "type": "Identifier",
                                      "start": 487,
                                      "end": 495,
                                      "loc": {
                                        "start": {
                                          "line": 20,
                                          "column": 15
                                        },
                                        "end": {
                                          "line": 20,
                                          "column": 23
                                        }
                                      },
                                      "name": "response"
                                    }
                                  },
                                  "operator": "!==",
                                  "right": {
                                    "type": "Literal",
                                    "start": 500,
                                    "end": 508,
                                    "loc": {
                                      "start": {
                                        "line": 20,
                                        "column": 28
                                      },
                                      "end": {
                                        "line": 20,
                                        "column": 36
                                      }
                                    },
                                    "value": "object",
                                    "rawValue": "object",
                                    "raw": "'object'"
                                  }
                                },
                                "consequent": {
                                  "type": "BlockStatement",
                                  "start": 510,
                                  "end": 572,
                                  "loc": {
                                    "start": {
                                      "line": 20,
                                      "column": 38
                                    },
                                    "end": {
                                      "line": 22,
                                      "column": 5
                                    }
                                  },
                                  "body": [
                                    {
                                      "type": "ThrowStatement",
                                      "start": 518,
                                      "end": 566,
                                      "loc": {
                                        "start": {
                                          "line": 21,
                                          "column": 6
                                        },
                                        "end": {
                                          "line": 21,
                                          "column": 54
                                        }
                                      },
                                      "argument": {
                                        "type": "NewExpression",
                                        "start": 524,
                                        "end": 565,
                                        "loc": {
                                          "start": {
                                            "line": 21,
                                            "column": 12
                                          },
                                          "end": {
                                            "line": 21,
                                            "column": 53
                                          }
                                        },
                                        "callee": {
                                          "type": "Identifier",
                                          "start": 528,
                                          "end": 533,
                                          "loc": {
                                            "start": {
                                              "line": 21,
                                              "column": 16
                                            },
                                            "end": {
                                              "line": 21,
                                              "column": 21
                                            }
                                          },
                                          "name": "Error"
                                        },
                                        "arguments": [
                                          {
                                            "type": "TemplateLiteral",
                                            "start": 534,
                                            "end": 564,
                                            "loc": {
                                              "start": {
                                                "line": 21,
                                                "column": 22
                                              },
                                              "end": {
                                                "line": 21,
                                                "column": 52
                                              }
                                            },
                                            "expressions": [
                                              {
                                                "type": "Identifier",
                                                "start": 537,
                                                "end": 545,
                                                "loc": {
                                                  "start": {
                                                    "line": 21,
                                                    "column": 25
                                                  },
                                                  "end": {
                                                    "line": 21,
                                                    "column": 33
                                                  }
                                                },
                                                "name": "response"
                                              }
                                            ],
                                            "quasis": [
                                              {
                                                "type": "TemplateElement",
                                                "start": 535,
                                                "end": 535,
                                                "loc": {
                                                  "start": {
                                                    "line": 21,
                                                    "column": 23
                                                  },
                                                  "end": {
                                                    "line": 21,
                                                    "column": 23
                                                  }
                                                },
                                                "value": {
                                                  "raw": "",
                                                  "cooked": ""
                                                },
                                                "tail": false
                                              },
                                              {
                                                "type": "TemplateElement",
                                                "start": 546,
                                                "end": 563,
                                                "loc": {
                                                  "start": {
                                                    "line": 21,
                                                    "column": 34
                                                  },
                                                  "end": {
                                                    "line": 21,
                                                    "column": 51
                                                  }
                                                },
                                                "value": {
                                                  "raw": " should be object",
                                                  "cooked": " should be object"
                                                },
                                                "tail": true
                                              }
                                            ]
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                },
                                "alternate": null
                              },
                              {
                                "type": "IfStatement",
                                "start": 577,
                                "end": 657,
                                "loc": {
                                  "start": {
                                    "line": 23,
                                    "column": 4
                                  },
                                  "end": {
                                    "line": 25,
                                    "column": 5
                                  }
                                },
                                "test": {
                                  "type": "BinaryExpression",
                                  "start": 581,
                                  "end": 616,
                                  "loc": {
                                    "start": {
                                      "line": 23,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 23,
                                      "column": 43
                                    }
                                  },
                                  "left": {
                                    "type": "BinaryExpression",
                                    "start": 581,
                                    "end": 606,
                                    "loc": {
                                      "start": {
                                        "line": 23,
                                        "column": 8
                                      },
                                      "end": {
                                        "line": 23,
                                        "column": 33
                                      }
                                    },
                                    "left": {
                                      "type": "Identifier",
                                      "start": 581,
                                      "end": 589,
                                      "loc": {
                                        "start": {
                                          "line": 23,
                                          "column": 8
                                        },
                                        "end": {
                                          "line": 23,
                                          "column": 16
                                        }
                                      },
                                      "name": "response"
                                    },
                                    "operator": "instanceof",
                                    "right": {
                                      "type": "Identifier",
                                      "start": 601,
                                      "end": 606,
                                      "loc": {
                                        "start": {
                                          "line": 23,
                                          "column": 28
                                        },
                                        "end": {
                                          "line": 23,
                                          "column": 33
                                        }
                                      },
                                      "name": "Array"
                                    }
                                  },
                                  "operator": "===",
                                  "right": {
                                    "type": "Literal",
                                    "start": 611,
                                    "end": 616,
                                    "loc": {
                                      "start": {
                                        "line": 23,
                                        "column": 38
                                      },
                                      "end": {
                                        "line": 23,
                                        "column": 43
                                      }
                                    },
                                    "value": false,
                                    "rawValue": false,
                                    "raw": "false"
                                  }
                                },
                                "consequent": {
                                  "type": "BlockStatement",
                                  "start": 618,
                                  "end": 657,
                                  "loc": {
                                    "start": {
                                      "line": 23,
                                      "column": 45
                                    },
                                    "end": {
                                      "line": 25,
                                      "column": 5
                                    }
                                  },
                                  "body": [
                                    {
                                      "type": "ReturnStatement",
                                      "start": 626,
                                      "end": 651,
                                      "loc": {
                                        "start": {
                                          "line": 24,
                                          "column": 6
                                        },
                                        "end": {
                                          "line": 24,
                                          "column": 31
                                        }
                                      },
                                      "argument": {
                                        "type": "CallExpression",
                                        "start": 633,
                                        "end": 650,
                                        "loc": {
                                          "start": {
                                            "line": 24,
                                            "column": 13
                                          },
                                          "end": {
                                            "line": 24,
                                            "column": 30
                                          }
                                        },
                                        "callee": {
                                          "type": "Identifier",
                                          "start": 633,
                                          "end": 640,
                                          "loc": {
                                            "start": {
                                              "line": 24,
                                              "column": 13
                                            },
                                            "end": {
                                              "line": 24,
                                              "column": 20
                                            }
                                          },
                                          "name": "resolve"
                                        },
                                        "arguments": [
                                          {
                                            "type": "Identifier",
                                            "start": 641,
                                            "end": 649,
                                            "loc": {
                                              "start": {
                                                "line": 24,
                                                "column": 21
                                              },
                                              "end": {
                                                "line": 24,
                                                "column": 29
                                              }
                                            },
                                            "name": "response"
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                },
                                "alternate": null
                              },
                              {
                                "type": "ExpressionStatement",
                                "start": 662,
                                "end": 708,
                                "loc": {
                                  "start": {
                                    "line": 26,
                                    "column": 4
                                  },
                                  "end": {
                                    "line": 26,
                                    "column": 50
                                  }
                                },
                                "expression": {
                                  "type": "CallExpression",
                                  "start": 662,
                                  "end": 707,
                                  "loc": {
                                    "start": {
                                      "line": 26,
                                      "column": 4
                                    },
                                    "end": {
                                      "line": 26,
                                      "column": 49
                                    }
                                  },
                                  "callee": {
                                    "type": "Identifier",
                                    "start": 662,
                                    "end": 669,
                                    "loc": {
                                      "start": {
                                        "line": 26,
                                        "column": 4
                                      },
                                      "end": {
                                        "line": 26,
                                        "column": 11
                                      }
                                    },
                                    "name": "resolve"
                                  },
                                  "arguments": [
                                    {
                                      "type": "ArrayExpression",
                                      "start": 670,
                                      "end": 706,
                                      "loc": {
                                        "start": {
                                          "line": 26,
                                          "column": 12
                                        },
                                        "end": {
                                          "line": 26,
                                          "column": 48
                                        }
                                      },
                                      "elements": [
                                        {
                                          "type": "SpreadElement",
                                          "start": 671,
                                          "end": 705,
                                          "loc": {
                                            "start": {
                                              "line": 26,
                                              "column": 13
                                            },
                                            "end": {
                                              "line": 26,
                                              "column": 47
                                            }
                                          },
                                          "argument": {
                                            "type": "NewExpression",
                                            "start": 674,
                                            "end": 705,
                                            "loc": {
                                              "start": {
                                                "line": 26,
                                                "column": 16
                                              },
                                              "end": {
                                                "line": 26,
                                                "column": 47
                                              }
                                            },
                                            "callee": {
                                              "type": "Identifier",
                                              "start": 678,
                                              "end": 681,
                                              "loc": {
                                                "start": {
                                                  "line": 26,
                                                  "column": 20
                                                },
                                                "end": {
                                                  "line": 26,
                                                  "column": 23
                                                }
                                              },
                                              "name": "Set"
                                            },
                                            "arguments": [
                                              {
                                                "type": "CallExpression",
                                                "start": 682,
                                                "end": 704,
                                                "loc": {
                                                  "start": {
                                                    "line": 26,
                                                    "column": 24
                                                  },
                                                  "end": {
                                                    "line": 26,
                                                    "column": 46
                                                  }
                                                },
                                                "callee": {
                                                  "type": "MemberExpression",
                                                  "start": 682,
                                                  "end": 691,
                                                  "loc": {
                                                    "start": {
                                                      "line": 26,
                                                      "column": 24
                                                    },
                                                    "end": {
                                                      "line": 26,
                                                      "column": 33
                                                    }
                                                  },
                                                  "object": {
                                                    "type": "ArrayExpression",
                                                    "start": 682,
                                                    "end": 684,
                                                    "loc": {
                                                      "start": {
                                                        "line": 26,
                                                        "column": 24
                                                      },
                                                      "end": {
                                                        "line": 26,
                                                        "column": 26
                                                      }
                                                    },
                                                    "elements": []
                                                  },
                                                  "property": {
                                                    "type": "Identifier",
                                                    "start": 685,
                                                    "end": 691,
                                                    "loc": {
                                                      "start": {
                                                        "line": 26,
                                                        "column": 27
                                                      },
                                                      "end": {
                                                        "line": 26,
                                                        "column": 33
                                                      }
                                                    },
                                                    "name": "concat"
                                                  },
                                                  "computed": false
                                                },
                                                "arguments": [
                                                  {
                                                    "type": "SpreadElement",
                                                    "start": 692,
                                                    "end": 703,
                                                    "loc": {
                                                      "start": {
                                                        "line": 26,
                                                        "column": 34
                                                      },
                                                      "end": {
                                                        "line": 26,
                                                        "column": 45
                                                      }
                                                    },
                                                    "argument": {
                                                      "type": "Identifier",
                                                      "start": 695,
                                                      "end": 703,
                                                      "loc": {
                                                        "start": {
                                                          "line": 26,
                                                          "column": 37
                                                        },
                                                        "end": {
                                                          "line": 26,
                                                          "column": 45
                                                        }
                                                      },
                                                      "name": "response"
                                                    }
                                                  }
                                                ]
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  ]
                                }
                              }
                            ]
                          },
                          "handler": {
                            "type": "CatchClause",
                            "start": 713,
                            "end": 753,
                            "loc": {
                              "start": {
                                "line": 27,
                                "column": 4
                              },
                              "end": {
                                "line": 31,
                                "column": 3
                              }
                            },
                            "param": {
                              "type": "Identifier",
                              "start": 720,
                              "end": 725,
                              "loc": {
                                "start": {
                                  "line": 27,
                                  "column": 11
                                },
                                "end": {
                                  "line": 27,
                                  "column": 16
                                }
                              },
                              "name": "error"
                            },
                            "body": {
                              "type": "BlockStatement",
                              "start": 727,
                              "end": 753,
                              "loc": {
                                "start": {
                                  "line": 27,
                                  "column": 18
                                },
                                "end": {
                                  "line": 31,
                                  "column": 3
                                }
                              },
                              "body": [
                                {
                                  "type": "ExpressionStatement",
                                  "start": 734,
                                  "end": 748,
                                  "loc": {
                                    "start": {
                                      "line": 29,
                                      "column": 4
                                    },
                                    "end": {
                                      "line": 29,
                                      "column": 18
                                    }
                                  },
                                  "expression": {
                                    "type": "CallExpression",
                                    "start": 734,
                                    "end": 747,
                                    "loc": {
                                      "start": {
                                        "line": 29,
                                        "column": 4
                                      },
                                      "end": {
                                        "line": 29,
                                        "column": 17
                                      }
                                    },
                                    "callee": {
                                      "type": "Identifier",
                                      "start": 734,
                                      "end": 740,
                                      "loc": {
                                        "start": {
                                          "line": 29,
                                          "column": 4
                                        },
                                        "end": {
                                          "line": 29,
                                          "column": 10
                                        }
                                      },
                                      "name": "reject"
                                    },
                                    "arguments": [
                                      {
                                        "type": "Identifier",
                                        "start": 741,
                                        "end": 746,
                                        "loc": {
                                          "start": {
                                            "line": 29,
                                            "column": 11
                                          },
                                          "end": {
                                            "line": 29,
                                            "column": 16
                                          }
                                        },
                                        "name": "error"
                                      }
                                    ]
                                  }
                                }
                              ]
                            }
                          },
                          "guardedHandlers": [],
                          "finalizer": null
                        }
                      ]
                    }
                  }
                ]
              }
            },
            "leadingComments": null
          }
        ],
        "kind": "const",
        "leadingComments": [
          {
            "type": "Block",
            "value": "*\n * Merge unique\n * @param response\n ",
            "start": 343,
            "end": 385,
            "loc": {
              "start": {
                "line": 14,
                "column": 0
              },
              "end": {
                "line": 17,
                "column": 3
              }
            },
            "range": [
              343,
              385
            ]
          }
        ],
        "trailingComments": [
          {
            "type": "Block",
            "value": "*\n * @class {class} Legitimate\n * @classdesc Legitimate class to validate given state by updating and validating\n ",
            "start": 759,
            "end": 877,
            "loc": {
              "start": {
                "line": 34,
                "column": 0
              },
              "end": {
                "line": 37,
                "column": 3
              }
            },
            "range": [
              759,
              877
            ]
          }
        ]
      },
      "specifiers": [],
      "source": null,
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * Merge unique\n * @param response\n ",
          "start": 343,
          "end": 385,
          "loc": {
            "start": {
              "line": 14,
              "column": 0
            },
            "end": {
              "line": 17,
              "column": 3
            }
          },
          "range": [
            343,
            385
          ]
        }
      ],
      "trailingComments": [
        {
          "type": "Block",
          "value": "*\n * @class {class} Legitimate\n * @classdesc Legitimate class to validate given state by updating and validating\n ",
          "start": 759,
          "end": 877,
          "loc": {
            "start": {
              "line": 34,
              "column": 0
            },
            "end": {
              "line": 37,
              "column": 3
            }
          },
          "range": [
            759,
            877
          ]
        }
      ]
    },
    {
      "type": "ExportNamedDeclaration",
      "start": 878,
      "end": 3116,
      "loc": {
        "start": {
          "line": 38,
          "column": 0
        },
        "end": {
          "line": 150,
          "column": 1
        }
      },
      "declaration": {
        "type": "ClassDeclaration",
        "start": 885,
        "end": 3116,
        "loc": {
          "start": {
            "line": 38,
            "column": 7
          },
          "end": {
            "line": 150,
            "column": 1
          }
        },
        "id": {
          "type": "Identifier",
          "start": 891,
          "end": 901,
          "loc": {
            "start": {
              "line": 38,
              "column": 13
            },
            "end": {
              "line": 38,
              "column": 23
            }
          },
          "name": "Legitimate",
          "leadingComments": null
        },
        "superClass": null,
        "body": {
          "type": "ClassBody",
          "start": 902,
          "end": 3116,
          "loc": {
            "start": {
              "line": 38,
              "column": 24
            },
            "end": {
              "line": 150,
              "column": 1
            }
          },
          "body": [
            {
              "type": "MethodDefinition",
              "start": 1019,
              "end": 1067,
              "loc": {
                "start": {
                  "line": 46,
                  "column": 2
                },
                "end": {
                  "line": 48,
                  "column": 3
                }
              },
              "computed": false,
              "key": {
                "type": "Identifier",
                "start": 1023,
                "end": 1028,
                "loc": {
                  "start": {
                    "line": 46,
                    "column": 6
                  },
                  "end": {
                    "line": 46,
                    "column": 11
                  }
                },
                "name": "state"
              },
              "static": false,
              "kind": "get",
              "value": {
                "type": "FunctionExpression",
                "start": 1028,
                "end": 1067,
                "loc": {
                  "start": {
                    "line": 46,
                    "column": 11
                  },
                  "end": {
                    "line": 48,
                    "column": 3
                  }
                },
                "id": null,
                "generator": false,
                "expression": false,
                "async": false,
                "params": [],
                "body": {
                  "type": "BlockStatement",
                  "start": 1031,
                  "end": 1067,
                  "loc": {
                    "start": {
                      "line": 46,
                      "column": 14
                    },
                    "end": {
                      "line": 48,
                      "column": 3
                    }
                  },
                  "body": [
                    {
                      "type": "ReturnStatement",
                      "start": 1037,
                      "end": 1063,
                      "loc": {
                        "start": {
                          "line": 47,
                          "column": 4
                        },
                        "end": {
                          "line": 47,
                          "column": 30
                        }
                      },
                      "argument": {
                        "type": "CallExpression",
                        "start": 1044,
                        "end": 1062,
                        "loc": {
                          "start": {
                            "line": 47,
                            "column": 11
                          },
                          "end": {
                            "line": 47,
                            "column": 29
                          }
                        },
                        "callee": {
                          "type": "MemberExpression",
                          "start": 1044,
                          "end": 1056,
                          "loc": {
                            "start": {
                              "line": 47,
                              "column": 11
                            },
                            "end": {
                              "line": 47,
                              "column": 23
                            }
                          },
                          "object": {
                            "type": "Identifier",
                            "start": 1044,
                            "end": 1052,
                            "loc": {
                              "start": {
                                "line": 47,
                                "column": 11
                              },
                              "end": {
                                "line": 47,
                                "column": 19
                              }
                            },
                            "name": "stateMap"
                          },
                          "property": {
                            "type": "Identifier",
                            "start": 1053,
                            "end": 1056,
                            "loc": {
                              "start": {
                                "line": 47,
                                "column": 20
                              },
                              "end": {
                                "line": 47,
                                "column": 23
                              }
                            },
                            "name": "get"
                          },
                          "computed": false
                        },
                        "arguments": [
                          {
                            "type": "ThisExpression",
                            "start": 1057,
                            "end": 1061,
                            "loc": {
                              "start": {
                                "line": 47,
                                "column": 24
                              },
                              "end": {
                                "line": 47,
                                "column": 28
                              }
                            }
                          }
                        ]
                      }
                    }
                  ],
                  "trailingComments": null
                },
                "trailingComments": null
              },
              "leadingComments": [
                {
                  "type": "Block",
                  "value": "*\n   * @property state\n   * @readonly\n   * @description Returns the current state\n   * @type {object}\n   ",
                  "start": 907,
                  "end": 1016,
                  "loc": {
                    "start": {
                      "line": 40,
                      "column": 2
                    },
                    "end": {
                      "line": 45,
                      "column": 5
                    }
                  },
                  "range": [
                    907,
                    1016
                  ]
                }
              ],
              "trailingComments": [
                {
                  "type": "Block",
                  "value": "*\n   * @property rules\n   * @readonly\n   * @description Returns the current rules\n   * @type {object}\n   ",
                  "start": 1071,
                  "end": 1180,
                  "loc": {
                    "start": {
                      "line": 50,
                      "column": 2
                    },
                    "end": {
                      "line": 55,
                      "column": 5
                    }
                  },
                  "range": [
                    1071,
                    1180
                  ]
                }
              ]
            },
            {
              "type": "MethodDefinition",
              "start": 1183,
              "end": 1231,
              "loc": {
                "start": {
                  "line": 56,
                  "column": 2
                },
                "end": {
                  "line": 58,
                  "column": 3
                }
              },
              "computed": false,
              "key": {
                "type": "Identifier",
                "start": 1187,
                "end": 1192,
                "loc": {
                  "start": {
                    "line": 56,
                    "column": 6
                  },
                  "end": {
                    "line": 56,
                    "column": 11
                  }
                },
                "name": "rules"
              },
              "static": false,
              "kind": "get",
              "value": {
                "type": "FunctionExpression",
                "start": 1192,
                "end": 1231,
                "loc": {
                  "start": {
                    "line": 56,
                    "column": 11
                  },
                  "end": {
                    "line": 58,
                    "column": 3
                  }
                },
                "id": null,
                "generator": false,
                "expression": false,
                "async": false,
                "params": [],
                "body": {
                  "type": "BlockStatement",
                  "start": 1195,
                  "end": 1231,
                  "loc": {
                    "start": {
                      "line": 56,
                      "column": 14
                    },
                    "end": {
                      "line": 58,
                      "column": 3
                    }
                  },
                  "body": [
                    {
                      "type": "ReturnStatement",
                      "start": 1201,
                      "end": 1227,
                      "loc": {
                        "start": {
                          "line": 57,
                          "column": 4
                        },
                        "end": {
                          "line": 57,
                          "column": 30
                        }
                      },
                      "argument": {
                        "type": "CallExpression",
                        "start": 1208,
                        "end": 1226,
                        "loc": {
                          "start": {
                            "line": 57,
                            "column": 11
                          },
                          "end": {
                            "line": 57,
                            "column": 29
                          }
                        },
                        "callee": {
                          "type": "MemberExpression",
                          "start": 1208,
                          "end": 1220,
                          "loc": {
                            "start": {
                              "line": 57,
                              "column": 11
                            },
                            "end": {
                              "line": 57,
                              "column": 23
                            }
                          },
                          "object": {
                            "type": "Identifier",
                            "start": 1208,
                            "end": 1216,
                            "loc": {
                              "start": {
                                "line": 57,
                                "column": 11
                              },
                              "end": {
                                "line": 57,
                                "column": 19
                              }
                            },
                            "name": "rulesMap"
                          },
                          "property": {
                            "type": "Identifier",
                            "start": 1217,
                            "end": 1220,
                            "loc": {
                              "start": {
                                "line": 57,
                                "column": 20
                              },
                              "end": {
                                "line": 57,
                                "column": 23
                              }
                            },
                            "name": "get"
                          },
                          "computed": false
                        },
                        "arguments": [
                          {
                            "type": "ThisExpression",
                            "start": 1221,
                            "end": 1225,
                            "loc": {
                              "start": {
                                "line": 57,
                                "column": 24
                              },
                              "end": {
                                "line": 57,
                                "column": 28
                              }
                            }
                          }
                        ]
                      }
                    }
                  ],
                  "trailingComments": null
                },
                "trailingComments": null
              },
              "leadingComments": [
                {
                  "type": "Block",
                  "value": "*\n   * @property rules\n   * @readonly\n   * @description Returns the current rules\n   * @type {object}\n   ",
                  "start": 1071,
                  "end": 1180,
                  "loc": {
                    "start": {
                      "line": 50,
                      "column": 2
                    },
                    "end": {
                      "line": 55,
                      "column": 5
                    }
                  },
                  "range": [
                    1071,
                    1180
                  ]
                }
              ],
              "trailingComments": [
                {
                  "type": "Block",
                  "value": "*\n   * @property locales\n   * @readonly\n   * @description Returns the current locales\n   * @type {object}\n   ",
                  "start": 1235,
                  "end": 1348,
                  "loc": {
                    "start": {
                      "line": 60,
                      "column": 2
                    },
                    "end": {
                      "line": 65,
                      "column": 5
                    }
                  },
                  "range": [
                    1235,
                    1348
                  ]
                }
              ]
            },
            {
              "type": "MethodDefinition",
              "start": 1351,
              "end": 1403,
              "loc": {
                "start": {
                  "line": 66,
                  "column": 2
                },
                "end": {
                  "line": 68,
                  "column": 3
                }
              },
              "computed": false,
              "key": {
                "type": "Identifier",
                "start": 1355,
                "end": 1362,
                "loc": {
                  "start": {
                    "line": 66,
                    "column": 6
                  },
                  "end": {
                    "line": 66,
                    "column": 13
                  }
                },
                "name": "locales"
              },
              "static": false,
              "kind": "get",
              "value": {
                "type": "FunctionExpression",
                "start": 1362,
                "end": 1403,
                "loc": {
                  "start": {
                    "line": 66,
                    "column": 13
                  },
                  "end": {
                    "line": 68,
                    "column": 3
                  }
                },
                "id": null,
                "generator": false,
                "expression": false,
                "async": false,
                "params": [],
                "body": {
                  "type": "BlockStatement",
                  "start": 1365,
                  "end": 1403,
                  "loc": {
                    "start": {
                      "line": 66,
                      "column": 16
                    },
                    "end": {
                      "line": 68,
                      "column": 3
                    }
                  },
                  "body": [
                    {
                      "type": "ReturnStatement",
                      "start": 1371,
                      "end": 1399,
                      "loc": {
                        "start": {
                          "line": 67,
                          "column": 4
                        },
                        "end": {
                          "line": 67,
                          "column": 32
                        }
                      },
                      "argument": {
                        "type": "CallExpression",
                        "start": 1378,
                        "end": 1398,
                        "loc": {
                          "start": {
                            "line": 67,
                            "column": 11
                          },
                          "end": {
                            "line": 67,
                            "column": 31
                          }
                        },
                        "callee": {
                          "type": "MemberExpression",
                          "start": 1378,
                          "end": 1392,
                          "loc": {
                            "start": {
                              "line": 67,
                              "column": 11
                            },
                            "end": {
                              "line": 67,
                              "column": 25
                            }
                          },
                          "object": {
                            "type": "Identifier",
                            "start": 1378,
                            "end": 1388,
                            "loc": {
                              "start": {
                                "line": 67,
                                "column": 11
                              },
                              "end": {
                                "line": 67,
                                "column": 21
                              }
                            },
                            "name": "localesMap"
                          },
                          "property": {
                            "type": "Identifier",
                            "start": 1389,
                            "end": 1392,
                            "loc": {
                              "start": {
                                "line": 67,
                                "column": 22
                              },
                              "end": {
                                "line": 67,
                                "column": 25
                              }
                            },
                            "name": "get"
                          },
                          "computed": false
                        },
                        "arguments": [
                          {
                            "type": "ThisExpression",
                            "start": 1393,
                            "end": 1397,
                            "loc": {
                              "start": {
                                "line": 67,
                                "column": 26
                              },
                              "end": {
                                "line": 67,
                                "column": 30
                              }
                            }
                          }
                        ]
                      }
                    }
                  ],
                  "trailingComments": null
                },
                "trailingComments": null
              },
              "leadingComments": [
                {
                  "type": "Block",
                  "value": "*\n   * @property locales\n   * @readonly\n   * @description Returns the current locales\n   * @type {object}\n   ",
                  "start": 1235,
                  "end": 1348,
                  "loc": {
                    "start": {
                      "line": 60,
                      "column": 2
                    },
                    "end": {
                      "line": 65,
                      "column": 5
                    }
                  },
                  "range": [
                    1235,
                    1348
                  ]
                }
              ],
              "trailingComments": [
                {
                  "type": "Block",
                  "value": "*\n   * @constructor\n   * @param locales {object} [param=defaultLocales]\n   * @param initialState {object} [initialState={}]\n   ",
                  "start": 1407,
                  "end": 1538,
                  "loc": {
                    "start": {
                      "line": 70,
                      "column": 2
                    },
                    "end": {
                      "line": 74,
                      "column": 5
                    }
                  },
                  "range": [
                    1407,
                    1538
                  ]
                }
              ]
            },
            {
              "type": "MethodDefinition",
              "start": 1541,
              "end": 1722,
              "loc": {
                "start": {
                  "line": 75,
                  "column": 2
                },
                "end": {
                  "line": 80,
                  "column": 3
                }
              },
              "computed": false,
              "key": {
                "type": "Identifier",
                "start": 1541,
                "end": 1552,
                "loc": {
                  "start": {
                    "line": 75,
                    "column": 2
                  },
                  "end": {
                    "line": 75,
                    "column": 13
                  }
                },
                "name": "constructor",
                "leadingComments": null
              },
              "static": false,
              "kind": "constructor",
              "value": {
                "type": "FunctionExpression",
                "start": 1552,
                "end": 1722,
                "loc": {
                  "start": {
                    "line": 75,
                    "column": 13
                  },
                  "end": {
                    "line": 80,
                    "column": 3
                  }
                },
                "id": null,
                "generator": false,
                "expression": false,
                "async": false,
                "params": [
                  {
                    "type": "AssignmentPattern",
                    "start": 1553,
                    "end": 1577,
                    "loc": {
                      "start": {
                        "line": 75,
                        "column": 14
                      },
                      "end": {
                        "line": 75,
                        "column": 38
                      }
                    },
                    "operator": "=",
                    "left": {
                      "type": "Identifier",
                      "start": 1553,
                      "end": 1560,
                      "loc": {
                        "start": {
                          "line": 75,
                          "column": 14
                        },
                        "end": {
                          "line": 75,
                          "column": 21
                        }
                      },
                      "name": "locales"
                    },
                    "right": {
                      "type": "Identifier",
                      "start": 1563,
                      "end": 1577,
                      "loc": {
                        "start": {
                          "line": 75,
                          "column": 24
                        },
                        "end": {
                          "line": 75,
                          "column": 38
                        }
                      },
                      "name": "defaultLocales"
                    }
                  },
                  {
                    "type": "AssignmentPattern",
                    "start": 1579,
                    "end": 1596,
                    "loc": {
                      "start": {
                        "line": 75,
                        "column": 40
                      },
                      "end": {
                        "line": 75,
                        "column": 57
                      }
                    },
                    "operator": "=",
                    "left": {
                      "type": "Identifier",
                      "start": 1579,
                      "end": 1591,
                      "loc": {
                        "start": {
                          "line": 75,
                          "column": 40
                        },
                        "end": {
                          "line": 75,
                          "column": 52
                        }
                      },
                      "name": "initialState"
                    },
                    "right": {
                      "type": "ObjectExpression",
                      "start": 1594,
                      "end": 1596,
                      "loc": {
                        "start": {
                          "line": 75,
                          "column": 55
                        },
                        "end": {
                          "line": 75,
                          "column": 57
                        }
                      },
                      "properties": []
                    }
                  }
                ],
                "body": {
                  "type": "BlockStatement",
                  "start": 1598,
                  "end": 1722,
                  "loc": {
                    "start": {
                      "line": 75,
                      "column": 59
                    },
                    "end": {
                      "line": 80,
                      "column": 3
                    }
                  },
                  "body": [
                    {
                      "type": "ExpressionStatement",
                      "start": 1605,
                      "end": 1645,
                      "loc": {
                        "start": {
                          "line": 77,
                          "column": 4
                        },
                        "end": {
                          "line": 77,
                          "column": 44
                        }
                      },
                      "expression": {
                        "type": "CallExpression",
                        "start": 1605,
                        "end": 1644,
                        "loc": {
                          "start": {
                            "line": 77,
                            "column": 4
                          },
                          "end": {
                            "line": 77,
                            "column": 43
                          }
                        },
                        "callee": {
                          "type": "MemberExpression",
                          "start": 1605,
                          "end": 1617,
                          "loc": {
                            "start": {
                              "line": 77,
                              "column": 4
                            },
                            "end": {
                              "line": 77,
                              "column": 16
                            }
                          },
                          "object": {
                            "type": "Identifier",
                            "start": 1605,
                            "end": 1613,
                            "loc": {
                              "start": {
                                "line": 77,
                                "column": 4
                              },
                              "end": {
                                "line": 77,
                                "column": 12
                              }
                            },
                            "name": "rulesMap"
                          },
                          "property": {
                            "type": "Identifier",
                            "start": 1614,
                            "end": 1617,
                            "loc": {
                              "start": {
                                "line": 77,
                                "column": 13
                              },
                              "end": {
                                "line": 77,
                                "column": 16
                              }
                            },
                            "name": "set"
                          },
                          "computed": false
                        },
                        "arguments": [
                          {
                            "type": "ThisExpression",
                            "start": 1618,
                            "end": 1622,
                            "loc": {
                              "start": {
                                "line": 77,
                                "column": 17
                              },
                              "end": {
                                "line": 77,
                                "column": 21
                              }
                            }
                          },
                          {
                            "type": "CallExpression",
                            "start": 1624,
                            "end": 1643,
                            "loc": {
                              "start": {
                                "line": 77,
                                "column": 23
                              },
                              "end": {
                                "line": 77,
                                "column": 42
                              }
                            },
                            "callee": {
                              "type": "MemberExpression",
                              "start": 1624,
                              "end": 1637,
                              "loc": {
                                "start": {
                                  "line": 77,
                                  "column": 23
                                },
                                "end": {
                                  "line": 77,
                                  "column": 36
                                }
                              },
                              "object": {
                                "type": "Identifier",
                                "start": 1624,
                                "end": 1630,
                                "loc": {
                                  "start": {
                                    "line": 77,
                                    "column": 23
                                  },
                                  "end": {
                                    "line": 77,
                                    "column": 29
                                  }
                                },
                                "name": "Object"
                              },
                              "property": {
                                "type": "Identifier",
                                "start": 1631,
                                "end": 1637,
                                "loc": {
                                  "start": {
                                    "line": 77,
                                    "column": 30
                                  },
                                  "end": {
                                    "line": 77,
                                    "column": 36
                                  }
                                },
                                "name": "create"
                              },
                              "computed": false
                            },
                            "arguments": [
                              {
                                "type": "Literal",
                                "start": 1638,
                                "end": 1642,
                                "loc": {
                                  "start": {
                                    "line": 77,
                                    "column": 37
                                  },
                                  "end": {
                                    "line": 77,
                                    "column": 41
                                  }
                                },
                                "value": null,
                                "rawValue": null,
                                "raw": "null"
                              }
                            ]
                          }
                        ]
                      }
                    },
                    {
                      "type": "ExpressionStatement",
                      "start": 1650,
                      "end": 1683,
                      "loc": {
                        "start": {
                          "line": 78,
                          "column": 4
                        },
                        "end": {
                          "line": 78,
                          "column": 37
                        }
                      },
                      "expression": {
                        "type": "CallExpression",
                        "start": 1650,
                        "end": 1682,
                        "loc": {
                          "start": {
                            "line": 78,
                            "column": 4
                          },
                          "end": {
                            "line": 78,
                            "column": 36
                          }
                        },
                        "callee": {
                          "type": "MemberExpression",
                          "start": 1650,
                          "end": 1662,
                          "loc": {
                            "start": {
                              "line": 78,
                              "column": 4
                            },
                            "end": {
                              "line": 78,
                              "column": 16
                            }
                          },
                          "object": {
                            "type": "Identifier",
                            "start": 1650,
                            "end": 1658,
                            "loc": {
                              "start": {
                                "line": 78,
                                "column": 4
                              },
                              "end": {
                                "line": 78,
                                "column": 12
                              }
                            },
                            "name": "stateMap"
                          },
                          "property": {
                            "type": "Identifier",
                            "start": 1659,
                            "end": 1662,
                            "loc": {
                              "start": {
                                "line": 78,
                                "column": 13
                              },
                              "end": {
                                "line": 78,
                                "column": 16
                              }
                            },
                            "name": "set"
                          },
                          "computed": false
                        },
                        "arguments": [
                          {
                            "type": "ThisExpression",
                            "start": 1663,
                            "end": 1667,
                            "loc": {
                              "start": {
                                "line": 78,
                                "column": 17
                              },
                              "end": {
                                "line": 78,
                                "column": 21
                              }
                            }
                          },
                          {
                            "type": "Identifier",
                            "start": 1669,
                            "end": 1681,
                            "loc": {
                              "start": {
                                "line": 78,
                                "column": 23
                              },
                              "end": {
                                "line": 78,
                                "column": 35
                              }
                            },
                            "name": "initialState"
                          }
                        ]
                      }
                    },
                    {
                      "type": "ExpressionStatement",
                      "start": 1688,
                      "end": 1718,
                      "loc": {
                        "start": {
                          "line": 79,
                          "column": 4
                        },
                        "end": {
                          "line": 79,
                          "column": 34
                        }
                      },
                      "expression": {
                        "type": "CallExpression",
                        "start": 1688,
                        "end": 1717,
                        "loc": {
                          "start": {
                            "line": 79,
                            "column": 4
                          },
                          "end": {
                            "line": 79,
                            "column": 33
                          }
                        },
                        "callee": {
                          "type": "MemberExpression",
                          "start": 1688,
                          "end": 1702,
                          "loc": {
                            "start": {
                              "line": 79,
                              "column": 4
                            },
                            "end": {
                              "line": 79,
                              "column": 18
                            }
                          },
                          "object": {
                            "type": "Identifier",
                            "start": 1688,
                            "end": 1698,
                            "loc": {
                              "start": {
                                "line": 79,
                                "column": 4
                              },
                              "end": {
                                "line": 79,
                                "column": 14
                              }
                            },
                            "name": "localesMap"
                          },
                          "property": {
                            "type": "Identifier",
                            "start": 1699,
                            "end": 1702,
                            "loc": {
                              "start": {
                                "line": 79,
                                "column": 15
                              },
                              "end": {
                                "line": 79,
                                "column": 18
                              }
                            },
                            "name": "set"
                          },
                          "computed": false
                        },
                        "arguments": [
                          {
                            "type": "ThisExpression",
                            "start": 1703,
                            "end": 1707,
                            "loc": {
                              "start": {
                                "line": 79,
                                "column": 19
                              },
                              "end": {
                                "line": 79,
                                "column": 23
                              }
                            }
                          },
                          {
                            "type": "Identifier",
                            "start": 1709,
                            "end": 1716,
                            "loc": {
                              "start": {
                                "line": 79,
                                "column": 25
                              },
                              "end": {
                                "line": 79,
                                "column": 32
                              }
                            },
                            "name": "locales"
                          }
                        ]
                      }
                    }
                  ],
                  "trailingComments": null
                },
                "trailingComments": null
              },
              "leadingComments": [
                {
                  "type": "Block",
                  "value": "*\n   * @constructor\n   * @param locales {object} [param=defaultLocales]\n   * @param initialState {object} [initialState={}]\n   ",
                  "start": 1407,
                  "end": 1538,
                  "loc": {
                    "start": {
                      "line": 70,
                      "column": 2
                    },
                    "end": {
                      "line": 74,
                      "column": 5
                    }
                  },
                  "range": [
                    1407,
                    1538
                  ]
                }
              ],
              "trailingComments": [
                {
                  "type": "Block",
                  "value": "*\n   * Sets validation functions for given prop\n   * @param prop\n   * @param rulesToAdd\n   * @returns {Legitimate}\n   ",
                  "start": 1726,
                  "end": 1848,
                  "loc": {
                    "start": {
                      "line": 82,
                      "column": 2
                    },
                    "end": {
                      "line": 87,
                      "column": 5
                    }
                  },
                  "range": [
                    1726,
                    1848
                  ]
                }
              ]
            },
            {
              "type": "MethodDefinition",
              "start": 1851,
              "end": 2006,
              "loc": {
                "start": {
                  "line": 88,
                  "column": 2
                },
                "end": {
                  "line": 94,
                  "column": 3
                }
              },
              "computed": false,
              "key": {
                "type": "Identifier",
                "start": 1851,
                "end": 1859,
                "loc": {
                  "start": {
                    "line": 88,
                    "column": 2
                  },
                  "end": {
                    "line": 88,
                    "column": 10
                  }
                },
                "name": "setRules",
                "leadingComments": null
              },
              "static": false,
              "kind": "method",
              "value": {
                "type": "FunctionExpression",
                "start": 1859,
                "end": 2006,
                "loc": {
                  "start": {
                    "line": 88,
                    "column": 10
                  },
                  "end": {
                    "line": 94,
                    "column": 3
                  }
                },
                "id": null,
                "generator": false,
                "expression": false,
                "async": false,
                "params": [
                  {
                    "type": "AssignmentPattern",
                    "start": 1860,
                    "end": 1872,
                    "loc": {
                      "start": {
                        "line": 88,
                        "column": 11
                      },
                      "end": {
                        "line": 88,
                        "column": 23
                      }
                    },
                    "operator": "=",
                    "left": {
                      "type": "Identifier",
                      "start": 1860,
                      "end": 1864,
                      "loc": {
                        "start": {
                          "line": 88,
                          "column": 11
                        },
                        "end": {
                          "line": 88,
                          "column": 15
                        }
                      },
                      "name": "prop"
                    },
                    "right": {
                      "type": "Literal",
                      "start": 1867,
                      "end": 1872,
                      "loc": {
                        "start": {
                          "line": 88,
                          "column": 18
                        },
                        "end": {
                          "line": 88,
                          "column": 23
                        }
                      },
                      "value": false,
                      "rawValue": false,
                      "raw": "false"
                    }
                  },
                  {
                    "type": "RestElement",
                    "start": 1874,
                    "end": 1887,
                    "loc": {
                      "start": {
                        "line": 88,
                        "column": 25
                      },
                      "end": {
                        "line": 88,
                        "column": 38
                      }
                    },
                    "argument": {
                      "type": "Identifier",
                      "start": 1877,
                      "end": 1887,
                      "loc": {
                        "start": {
                          "line": 88,
                          "column": 28
                        },
                        "end": {
                          "line": 88,
                          "column": 38
                        }
                      },
                      "name": "rulesToAdd"
                    }
                  }
                ],
                "body": {
                  "type": "BlockStatement",
                  "start": 1889,
                  "end": 2006,
                  "loc": {
                    "start": {
                      "line": 88,
                      "column": 40
                    },
                    "end": {
                      "line": 94,
                      "column": 3
                    }
                  },
                  "body": [
                    {
                      "type": "ExpressionStatement",
                      "start": 1895,
                      "end": 1914,
                      "loc": {
                        "start": {
                          "line": 89,
                          "column": 4
                        },
                        "end": {
                          "line": 89,
                          "column": 23
                        }
                      },
                      "expression": {
                        "type": "CallExpression",
                        "start": 1895,
                        "end": 1913,
                        "loc": {
                          "start": {
                            "line": 89,
                            "column": 4
                          },
                          "end": {
                            "line": 89,
                            "column": 22
                          }
                        },
                        "callee": {
                          "type": "Identifier",
                          "start": 1895,
                          "end": 1907,
                          "loc": {
                            "start": {
                              "line": 89,
                              "column": 4
                            },
                            "end": {
                              "line": 89,
                              "column": 16
                            }
                          },
                          "name": "isPropProper"
                        },
                        "arguments": [
                          {
                            "type": "Identifier",
                            "start": 1908,
                            "end": 1912,
                            "loc": {
                              "start": {
                                "line": 89,
                                "column": 17
                              },
                              "end": {
                                "line": 89,
                                "column": 21
                              }
                            },
                            "name": "prop"
                          }
                        ]
                      }
                    },
                    {
                      "type": "ExpressionStatement",
                      "start": 1920,
                      "end": 1984,
                      "loc": {
                        "start": {
                          "line": 91,
                          "column": 4
                        },
                        "end": {
                          "line": 91,
                          "column": 68
                        }
                      },
                      "expression": {
                        "type": "CallExpression",
                        "start": 1920,
                        "end": 1983,
                        "loc": {
                          "start": {
                            "line": 91,
                            "column": 4
                          },
                          "end": {
                            "line": 91,
                            "column": 67
                          }
                        },
                        "callee": {
                          "type": "MemberExpression",
                          "start": 1920,
                          "end": 1932,
                          "loc": {
                            "start": {
                              "line": 91,
                              "column": 4
                            },
                            "end": {
                              "line": 91,
                              "column": 16
                            }
                          },
                          "object": {
                            "type": "Identifier",
                            "start": 1920,
                            "end": 1928,
                            "loc": {
                              "start": {
                                "line": 91,
                                "column": 4
                              },
                              "end": {
                                "line": 91,
                                "column": 12
                              }
                            },
                            "name": "rulesMap"
                          },
                          "property": {
                            "type": "Identifier",
                            "start": 1929,
                            "end": 1932,
                            "loc": {
                              "start": {
                                "line": 91,
                                "column": 13
                              },
                              "end": {
                                "line": 91,
                                "column": 16
                              }
                            },
                            "name": "set"
                          },
                          "computed": false
                        },
                        "arguments": [
                          {
                            "type": "ThisExpression",
                            "start": 1933,
                            "end": 1937,
                            "loc": {
                              "start": {
                                "line": 91,
                                "column": 17
                              },
                              "end": {
                                "line": 91,
                                "column": 21
                              }
                            }
                          },
                          {
                            "type": "ObjectExpression",
                            "start": 1939,
                            "end": 1982,
                            "loc": {
                              "start": {
                                "line": 91,
                                "column": 23
                              },
                              "end": {
                                "line": 91,
                                "column": 66
                              }
                            },
                            "properties": [
                              {
                                "type": "SpreadProperty",
                                "start": 1941,
                                "end": 1954,
                                "loc": {
                                  "start": {
                                    "line": 91,
                                    "column": 25
                                  },
                                  "end": {
                                    "line": 91,
                                    "column": 38
                                  }
                                },
                                "argument": {
                                  "type": "MemberExpression",
                                  "start": 1944,
                                  "end": 1954,
                                  "loc": {
                                    "start": {
                                      "line": 91,
                                      "column": 28
                                    },
                                    "end": {
                                      "line": 91,
                                      "column": 38
                                    }
                                  },
                                  "object": {
                                    "type": "ThisExpression",
                                    "start": 1944,
                                    "end": 1948,
                                    "loc": {
                                      "start": {
                                        "line": 91,
                                        "column": 28
                                      },
                                      "end": {
                                        "line": 91,
                                        "column": 32
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "start": 1949,
                                    "end": 1954,
                                    "loc": {
                                      "start": {
                                        "line": 91,
                                        "column": 33
                                      },
                                      "end": {
                                        "line": 91,
                                        "column": 38
                                      }
                                    },
                                    "name": "rules"
                                  },
                                  "computed": false
                                }
                              },
                              {
                                "type": "Property",
                                "start": 1956,
                                "end": 1980,
                                "loc": {
                                  "start": {
                                    "line": 91,
                                    "column": 40
                                  },
                                  "end": {
                                    "line": 91,
                                    "column": 64
                                  }
                                },
                                "method": false,
                                "shorthand": false,
                                "computed": true,
                                "key": {
                                  "type": "Identifier",
                                  "start": 1957,
                                  "end": 1961,
                                  "loc": {
                                    "start": {
                                      "line": 91,
                                      "column": 41
                                    },
                                    "end": {
                                      "line": 91,
                                      "column": 45
                                    }
                                  },
                                  "name": "prop"
                                },
                                "value": {
                                  "type": "ArrayExpression",
                                  "start": 1965,
                                  "end": 1980,
                                  "loc": {
                                    "start": {
                                      "line": 91,
                                      "column": 49
                                    },
                                    "end": {
                                      "line": 91,
                                      "column": 64
                                    }
                                  },
                                  "elements": [
                                    {
                                      "type": "SpreadElement",
                                      "start": 1966,
                                      "end": 1979,
                                      "loc": {
                                        "start": {
                                          "line": 91,
                                          "column": 50
                                        },
                                        "end": {
                                          "line": 91,
                                          "column": 63
                                        }
                                      },
                                      "argument": {
                                        "type": "Identifier",
                                        "start": 1969,
                                        "end": 1979,
                                        "loc": {
                                          "start": {
                                            "line": 91,
                                            "column": 53
                                          },
                                          "end": {
                                            "line": 91,
                                            "column": 63
                                          }
                                        },
                                        "name": "rulesToAdd"
                                      }
                                    }
                                  ]
                                },
                                "kind": "init"
                              }
                            ]
                          }
                        ]
                      }
                    },
                    {
                      "type": "ReturnStatement",
                      "start": 1990,
                      "end": 2002,
                      "loc": {
                        "start": {
                          "line": 93,
                          "column": 4
                        },
                        "end": {
                          "line": 93,
                          "column": 16
                        }
                      },
                      "argument": {
                        "type": "ThisExpression",
                        "start": 1997,
                        "end": 2001,
                        "loc": {
                          "start": {
                            "line": 93,
                            "column": 11
                          },
                          "end": {
                            "line": 93,
                            "column": 15
                          }
                        }
                      }
                    }
                  ],
                  "trailingComments": null
                },
                "trailingComments": null
              },
              "leadingComments": [
                {
                  "type": "Block",
                  "value": "*\n   * Sets validation functions for given prop\n   * @param prop\n   * @param rulesToAdd\n   * @returns {Legitimate}\n   ",
                  "start": 1726,
                  "end": 1848,
                  "loc": {
                    "start": {
                      "line": 82,
                      "column": 2
                    },
                    "end": {
                      "line": 87,
                      "column": 5
                    }
                  },
                  "range": [
                    1726,
                    1848
                  ]
                }
              ],
              "trailingComments": [
                {
                  "type": "Block",
                  "value": "*\n   * Updates the state by given prop and value\n   * @param prop {string}\n   * @param value {*}\n   * @returns {Legitimate}\n   ",
                  "start": 2010,
                  "end": 2141,
                  "loc": {
                    "start": {
                      "line": 96,
                      "column": 2
                    },
                    "end": {
                      "line": 101,
                      "column": 5
                    }
                  },
                  "range": [
                    2010,
                    2141
                  ]
                }
              ]
            },
            {
              "type": "MethodDefinition",
              "start": 2144,
              "end": 2286,
              "loc": {
                "start": {
                  "line": 102,
                  "column": 2
                },
                "end": {
                  "line": 109,
                  "column": 3
                }
              },
              "computed": false,
              "key": {
                "type": "Identifier",
                "start": 2144,
                "end": 2150,
                "loc": {
                  "start": {
                    "line": 102,
                    "column": 2
                  },
                  "end": {
                    "line": 102,
                    "column": 8
                  }
                },
                "name": "update",
                "leadingComments": null
              },
              "static": false,
              "kind": "method",
              "value": {
                "type": "FunctionExpression",
                "start": 2150,
                "end": 2286,
                "loc": {
                  "start": {
                    "line": 102,
                    "column": 8
                  },
                  "end": {
                    "line": 109,
                    "column": 3
                  }
                },
                "id": null,
                "generator": false,
                "expression": false,
                "async": false,
                "params": [
                  {
                    "type": "AssignmentPattern",
                    "start": 2151,
                    "end": 2163,
                    "loc": {
                      "start": {
                        "line": 102,
                        "column": 9
                      },
                      "end": {
                        "line": 102,
                        "column": 21
                      }
                    },
                    "operator": "=",
                    "left": {
                      "type": "Identifier",
                      "start": 2151,
                      "end": 2155,
                      "loc": {
                        "start": {
                          "line": 102,
                          "column": 9
                        },
                        "end": {
                          "line": 102,
                          "column": 13
                        }
                      },
                      "name": "prop"
                    },
                    "right": {
                      "type": "Literal",
                      "start": 2158,
                      "end": 2163,
                      "loc": {
                        "start": {
                          "line": 102,
                          "column": 16
                        },
                        "end": {
                          "line": 102,
                          "column": 21
                        }
                      },
                      "value": false,
                      "rawValue": false,
                      "raw": "false"
                    }
                  },
                  {
                    "type": "Identifier",
                    "start": 2165,
                    "end": 2170,
                    "loc": {
                      "start": {
                        "line": 102,
                        "column": 23
                      },
                      "end": {
                        "line": 102,
                        "column": 28
                      }
                    },
                    "name": "value"
                  }
                ],
                "body": {
                  "type": "BlockStatement",
                  "start": 2172,
                  "end": 2286,
                  "loc": {
                    "start": {
                      "line": 102,
                      "column": 30
                    },
                    "end": {
                      "line": 109,
                      "column": 3
                    }
                  },
                  "body": [
                    {
                      "type": "ExpressionStatement",
                      "start": 2178,
                      "end": 2197,
                      "loc": {
                        "start": {
                          "line": 103,
                          "column": 4
                        },
                        "end": {
                          "line": 103,
                          "column": 23
                        }
                      },
                      "expression": {
                        "type": "CallExpression",
                        "start": 2178,
                        "end": 2196,
                        "loc": {
                          "start": {
                            "line": 103,
                            "column": 4
                          },
                          "end": {
                            "line": 103,
                            "column": 22
                          }
                        },
                        "callee": {
                          "type": "Identifier",
                          "start": 2178,
                          "end": 2190,
                          "loc": {
                            "start": {
                              "line": 103,
                              "column": 4
                            },
                            "end": {
                              "line": 103,
                              "column": 16
                            }
                          },
                          "name": "isPropProper"
                        },
                        "arguments": [
                          {
                            "type": "Identifier",
                            "start": 2191,
                            "end": 2195,
                            "loc": {
                              "start": {
                                "line": 103,
                                "column": 17
                              },
                              "end": {
                                "line": 103,
                                "column": 21
                              }
                            },
                            "name": "prop"
                          }
                        ]
                      }
                    },
                    {
                      "type": "ExpressionStatement",
                      "start": 2203,
                      "end": 2264,
                      "loc": {
                        "start": {
                          "line": 105,
                          "column": 4
                        },
                        "end": {
                          "line": 106,
                          "column": 52
                        }
                      },
                      "expression": {
                        "type": "CallExpression",
                        "start": 2203,
                        "end": 2263,
                        "loc": {
                          "start": {
                            "line": 105,
                            "column": 4
                          },
                          "end": {
                            "line": 106,
                            "column": 51
                          }
                        },
                        "callee": {
                          "type": "MemberExpression",
                          "start": 2203,
                          "end": 2222,
                          "loc": {
                            "start": {
                              "line": 105,
                              "column": 4
                            },
                            "end": {
                              "line": 106,
                              "column": 10
                            }
                          },
                          "object": {
                            "type": "Identifier",
                            "start": 2203,
                            "end": 2211,
                            "loc": {
                              "start": {
                                "line": 105,
                                "column": 4
                              },
                              "end": {
                                "line": 105,
                                "column": 12
                              }
                            },
                            "name": "stateMap"
                          },
                          "property": {
                            "type": "Identifier",
                            "start": 2219,
                            "end": 2222,
                            "loc": {
                              "start": {
                                "line": 106,
                                "column": 7
                              },
                              "end": {
                                "line": 106,
                                "column": 10
                              }
                            },
                            "name": "set"
                          },
                          "computed": false
                        },
                        "arguments": [
                          {
                            "type": "ThisExpression",
                            "start": 2223,
                            "end": 2227,
                            "loc": {
                              "start": {
                                "line": 106,
                                "column": 11
                              },
                              "end": {
                                "line": 106,
                                "column": 15
                              }
                            }
                          },
                          {
                            "type": "ObjectExpression",
                            "start": 2229,
                            "end": 2262,
                            "loc": {
                              "start": {
                                "line": 106,
                                "column": 17
                              },
                              "end": {
                                "line": 106,
                                "column": 50
                              }
                            },
                            "properties": [
                              {
                                "type": "SpreadProperty",
                                "start": 2231,
                                "end": 2244,
                                "loc": {
                                  "start": {
                                    "line": 106,
                                    "column": 19
                                  },
                                  "end": {
                                    "line": 106,
                                    "column": 32
                                  }
                                },
                                "argument": {
                                  "type": "MemberExpression",
                                  "start": 2234,
                                  "end": 2244,
                                  "loc": {
                                    "start": {
                                      "line": 106,
                                      "column": 22
                                    },
                                    "end": {
                                      "line": 106,
                                      "column": 32
                                    }
                                  },
                                  "object": {
                                    "type": "ThisExpression",
                                    "start": 2234,
                                    "end": 2238,
                                    "loc": {
                                      "start": {
                                        "line": 106,
                                        "column": 22
                                      },
                                      "end": {
                                        "line": 106,
                                        "column": 26
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "start": 2239,
                                    "end": 2244,
                                    "loc": {
                                      "start": {
                                        "line": 106,
                                        "column": 27
                                      },
                                      "end": {
                                        "line": 106,
                                        "column": 32
                                      }
                                    },
                                    "name": "state"
                                  },
                                  "computed": false
                                }
                              },
                              {
                                "type": "Property",
                                "start": 2246,
                                "end": 2260,
                                "loc": {
                                  "start": {
                                    "line": 106,
                                    "column": 34
                                  },
                                  "end": {
                                    "line": 106,
                                    "column": 48
                                  }
                                },
                                "method": false,
                                "shorthand": false,
                                "computed": true,
                                "key": {
                                  "type": "Identifier",
                                  "start": 2247,
                                  "end": 2251,
                                  "loc": {
                                    "start": {
                                      "line": 106,
                                      "column": 35
                                    },
                                    "end": {
                                      "line": 106,
                                      "column": 39
                                    }
                                  },
                                  "name": "prop"
                                },
                                "value": {
                                  "type": "Identifier",
                                  "start": 2255,
                                  "end": 2260,
                                  "loc": {
                                    "start": {
                                      "line": 106,
                                      "column": 43
                                    },
                                    "end": {
                                      "line": 106,
                                      "column": 48
                                    }
                                  },
                                  "name": "value"
                                },
                                "kind": "init"
                              }
                            ]
                          }
                        ]
                      }
                    },
                    {
                      "type": "ReturnStatement",
                      "start": 2270,
                      "end": 2282,
                      "loc": {
                        "start": {
                          "line": 108,
                          "column": 4
                        },
                        "end": {
                          "line": 108,
                          "column": 16
                        }
                      },
                      "argument": {
                        "type": "ThisExpression",
                        "start": 2277,
                        "end": 2281,
                        "loc": {
                          "start": {
                            "line": 108,
                            "column": 11
                          },
                          "end": {
                            "line": 108,
                            "column": 15
                          }
                        }
                      }
                    }
                  ],
                  "trailingComments": null
                },
                "trailingComments": null
              },
              "leadingComments": [
                {
                  "type": "Block",
                  "value": "*\n   * Updates the state by given prop and value\n   * @param prop {string}\n   * @param value {*}\n   * @returns {Legitimate}\n   ",
                  "start": 2010,
                  "end": 2141,
                  "loc": {
                    "start": {
                      "line": 96,
                      "column": 2
                    },
                    "end": {
                      "line": 101,
                      "column": 5
                    }
                  },
                  "range": [
                    2010,
                    2141
                  ]
                }
              ],
              "trailingComments": [
                {
                  "type": "Block",
                  "value": "*\n   * Triggers defined rules for prop\n   * @param prop\n   * @returns {Promise.<*>}\n   ",
                  "start": 2290,
                  "end": 2381,
                  "loc": {
                    "start": {
                      "line": 111,
                      "column": 2
                    },
                    "end": {
                      "line": 115,
                      "column": 5
                    }
                  },
                  "range": [
                    2290,
                    2381
                  ]
                }
              ]
            },
            {
              "type": "MethodDefinition",
              "start": 2384,
              "end": 2750,
              "loc": {
                "start": {
                  "line": 116,
                  "column": 2
                },
                "end": {
                  "line": 130,
                  "column": 3
                }
              },
              "computed": false,
              "key": {
                "type": "Identifier",
                "start": 2384,
                "end": 2392,
                "loc": {
                  "start": {
                    "line": 116,
                    "column": 2
                  },
                  "end": {
                    "line": 116,
                    "column": 10
                  }
                },
                "name": "validate",
                "leadingComments": null
              },
              "static": false,
              "kind": "method",
              "value": {
                "type": "FunctionExpression",
                "start": 2392,
                "end": 2750,
                "loc": {
                  "start": {
                    "line": 116,
                    "column": 10
                  },
                  "end": {
                    "line": 130,
                    "column": 3
                  }
                },
                "id": null,
                "generator": false,
                "expression": false,
                "async": false,
                "params": [
                  {
                    "type": "Identifier",
                    "start": 2393,
                    "end": 2397,
                    "loc": {
                      "start": {
                        "line": 116,
                        "column": 11
                      },
                      "end": {
                        "line": 116,
                        "column": 15
                      }
                    },
                    "name": "prop"
                  }
                ],
                "body": {
                  "type": "BlockStatement",
                  "start": 2399,
                  "end": 2750,
                  "loc": {
                    "start": {
                      "line": 116,
                      "column": 17
                    },
                    "end": {
                      "line": 130,
                      "column": 3
                    }
                  },
                  "body": [
                    {
                      "type": "ReturnStatement",
                      "start": 2405,
                      "end": 2746,
                      "loc": {
                        "start": {
                          "line": 117,
                          "column": 4
                        },
                        "end": {
                          "line": 129,
                          "column": 7
                        }
                      },
                      "argument": {
                        "type": "NewExpression",
                        "start": 2412,
                        "end": 2745,
                        "loc": {
                          "start": {
                            "line": 117,
                            "column": 11
                          },
                          "end": {
                            "line": 129,
                            "column": 6
                          }
                        },
                        "callee": {
                          "type": "Identifier",
                          "start": 2416,
                          "end": 2423,
                          "loc": {
                            "start": {
                              "line": 117,
                              "column": 15
                            },
                            "end": {
                              "line": 117,
                              "column": 22
                            }
                          },
                          "name": "Promise"
                        },
                        "arguments": [
                          {
                            "type": "ArrowFunctionExpression",
                            "start": 2424,
                            "end": 2744,
                            "loc": {
                              "start": {
                                "line": 117,
                                "column": 23
                              },
                              "end": {
                                "line": 129,
                                "column": 5
                              }
                            },
                            "id": null,
                            "generator": false,
                            "expression": false,
                            "async": false,
                            "params": [
                              {
                                "type": "Identifier",
                                "start": 2425,
                                "end": 2432,
                                "loc": {
                                  "start": {
                                    "line": 117,
                                    "column": 24
                                  },
                                  "end": {
                                    "line": 117,
                                    "column": 31
                                  }
                                },
                                "name": "resolve"
                              },
                              {
                                "type": "Identifier",
                                "start": 2434,
                                "end": 2440,
                                "loc": {
                                  "start": {
                                    "line": 117,
                                    "column": 33
                                  },
                                  "end": {
                                    "line": 117,
                                    "column": 39
                                  }
                                },
                                "name": "reject"
                              }
                            ],
                            "body": {
                              "type": "BlockStatement",
                              "start": 2445,
                              "end": 2744,
                              "loc": {
                                "start": {
                                  "line": 117,
                                  "column": 44
                                },
                                "end": {
                                  "line": 129,
                                  "column": 5
                                }
                              },
                              "body": [
                                {
                                  "type": "ExpressionStatement",
                                  "start": 2454,
                                  "end": 2473,
                                  "loc": {
                                    "start": {
                                      "line": 119,
                                      "column": 6
                                    },
                                    "end": {
                                      "line": 119,
                                      "column": 25
                                    }
                                  },
                                  "expression": {
                                    "type": "CallExpression",
                                    "start": 2454,
                                    "end": 2472,
                                    "loc": {
                                      "start": {
                                        "line": 119,
                                        "column": 6
                                      },
                                      "end": {
                                        "line": 119,
                                        "column": 24
                                      }
                                    },
                                    "callee": {
                                      "type": "Identifier",
                                      "start": 2454,
                                      "end": 2466,
                                      "loc": {
                                        "start": {
                                          "line": 119,
                                          "column": 6
                                        },
                                        "end": {
                                          "line": 119,
                                          "column": 18
                                        }
                                      },
                                      "name": "isPropProper"
                                    },
                                    "arguments": [
                                      {
                                        "type": "Identifier",
                                        "start": 2467,
                                        "end": 2471,
                                        "loc": {
                                          "start": {
                                            "line": 119,
                                            "column": 19
                                          },
                                          "end": {
                                            "line": 119,
                                            "column": 23
                                          }
                                        },
                                        "name": "prop"
                                      }
                                    ]
                                  }
                                },
                                {
                                  "type": "ExpressionStatement",
                                  "start": 2481,
                                  "end": 2737,
                                  "loc": {
                                    "start": {
                                      "line": 121,
                                      "column": 6
                                    },
                                    "end": {
                                      "line": 127,
                                      "column": 26
                                    }
                                  },
                                  "expression": {
                                    "type": "CallExpression",
                                    "start": 2481,
                                    "end": 2736,
                                    "loc": {
                                      "start": {
                                        "line": 121,
                                        "column": 6
                                      },
                                      "end": {
                                        "line": 127,
                                        "column": 25
                                      }
                                    },
                                    "callee": {
                                      "type": "MemberExpression",
                                      "start": 2481,
                                      "end": 2648,
                                      "loc": {
                                        "start": {
                                          "line": 121,
                                          "column": 6
                                        },
                                        "end": {
                                          "line": 125,
                                          "column": 14
                                        }
                                      },
                                      "object": {
                                        "type": "CallExpression",
                                        "start": 2481,
                                        "end": 2633,
                                        "loc": {
                                          "start": {
                                            "line": 121,
                                            "column": 6
                                          },
                                          "end": {
                                            "line": 124,
                                            "column": 22
                                          }
                                        },
                                        "callee": {
                                          "type": "MemberExpression",
                                          "start": 2481,
                                          "end": 2624,
                                          "loc": {
                                            "start": {
                                              "line": 121,
                                              "column": 6
                                            },
                                            "end": {
                                              "line": 124,
                                              "column": 13
                                            }
                                          },
                                          "object": {
                                            "type": "CallExpression",
                                            "start": 2481,
                                            "end": 2610,
                                            "loc": {
                                              "start": {
                                                "line": 121,
                                                "column": 6
                                              },
                                              "end": {
                                                "line": 123,
                                                "column": 30
                                              }
                                            },
                                            "callee": {
                                              "type": "MemberExpression",
                                              "start": 2481,
                                              "end": 2593,
                                              "loc": {
                                                "start": {
                                                  "line": 121,
                                                  "column": 6
                                                },
                                                "end": {
                                                  "line": 123,
                                                  "column": 13
                                                }
                                              },
                                              "object": {
                                                "type": "CallExpression",
                                                "start": 2481,
                                                "end": 2579,
                                                "loc": {
                                                  "start": {
                                                    "line": 121,
                                                    "column": 6
                                                  },
                                                  "end": {
                                                    "line": 122,
                                                    "column": 90
                                                  }
                                                },
                                                "callee": {
                                                  "type": "MemberExpression",
                                                  "start": 2481,
                                                  "end": 2501,
                                                  "loc": {
                                                    "start": {
                                                      "line": 121,
                                                      "column": 6
                                                    },
                                                    "end": {
                                                      "line": 122,
                                                      "column": 12
                                                    }
                                                  },
                                                  "object": {
                                                    "type": "Identifier",
                                                    "start": 2481,
                                                    "end": 2488,
                                                    "loc": {
                                                      "start": {
                                                        "line": 121,
                                                        "column": 6
                                                      },
                                                      "end": {
                                                        "line": 121,
                                                        "column": 13
                                                      }
                                                    },
                                                    "name": "Promise"
                                                  },
                                                  "property": {
                                                    "type": "Identifier",
                                                    "start": 2498,
                                                    "end": 2501,
                                                    "loc": {
                                                      "start": {
                                                        "line": 122,
                                                        "column": 9
                                                      },
                                                      "end": {
                                                        "line": 122,
                                                        "column": 12
                                                      }
                                                    },
                                                    "name": "all"
                                                  },
                                                  "computed": false
                                                },
                                                "arguments": [
                                                  {
                                                    "type": "CallExpression",
                                                    "start": 2502,
                                                    "end": 2578,
                                                    "loc": {
                                                      "start": {
                                                        "line": 122,
                                                        "column": 13
                                                      },
                                                      "end": {
                                                        "line": 122,
                                                        "column": 89
                                                      }
                                                    },
                                                    "callee": {
                                                      "type": "MemberExpression",
                                                      "start": 2502,
                                                      "end": 2522,
                                                      "loc": {
                                                        "start": {
                                                          "line": 122,
                                                          "column": 13
                                                        },
                                                        "end": {
                                                          "line": 122,
                                                          "column": 33
                                                        }
                                                      },
                                                      "object": {
                                                        "type": "MemberExpression",
                                                        "start": 2502,
                                                        "end": 2518,
                                                        "loc": {
                                                          "start": {
                                                            "line": 122,
                                                            "column": 13
                                                          },
                                                          "end": {
                                                            "line": 122,
                                                            "column": 29
                                                          }
                                                        },
                                                        "object": {
                                                          "type": "MemberExpression",
                                                          "start": 2502,
                                                          "end": 2512,
                                                          "loc": {
                                                            "start": {
                                                              "line": 122,
                                                              "column": 13
                                                            },
                                                            "end": {
                                                              "line": 122,
                                                              "column": 23
                                                            }
                                                          },
                                                          "object": {
                                                            "type": "ThisExpression",
                                                            "start": 2502,
                                                            "end": 2506,
                                                            "loc": {
                                                              "start": {
                                                                "line": 122,
                                                                "column": 13
                                                              },
                                                              "end": {
                                                                "line": 122,
                                                                "column": 17
                                                              }
                                                            }
                                                          },
                                                          "property": {
                                                            "type": "Identifier",
                                                            "start": 2507,
                                                            "end": 2512,
                                                            "loc": {
                                                              "start": {
                                                                "line": 122,
                                                                "column": 18
                                                              },
                                                              "end": {
                                                                "line": 122,
                                                                "column": 23
                                                              }
                                                            },
                                                            "name": "rules"
                                                          },
                                                          "computed": false
                                                        },
                                                        "property": {
                                                          "type": "Identifier",
                                                          "start": 2513,
                                                          "end": 2517,
                                                          "loc": {
                                                            "start": {
                                                              "line": 122,
                                                              "column": 24
                                                            },
                                                            "end": {
                                                              "line": 122,
                                                              "column": 28
                                                            }
                                                          },
                                                          "name": "prop"
                                                        },
                                                        "computed": true
                                                      },
                                                      "property": {
                                                        "type": "Identifier",
                                                        "start": 2519,
                                                        "end": 2522,
                                                        "loc": {
                                                          "start": {
                                                            "line": 122,
                                                            "column": 30
                                                          },
                                                          "end": {
                                                            "line": 122,
                                                            "column": 33
                                                          }
                                                        },
                                                        "name": "map"
                                                      },
                                                      "computed": false
                                                    },
                                                    "arguments": [
                                                      {
                                                        "type": "ArrowFunctionExpression",
                                                        "start": 2523,
                                                        "end": 2577,
                                                        "loc": {
                                                          "start": {
                                                            "line": 122,
                                                            "column": 34
                                                          },
                                                          "end": {
                                                            "line": 122,
                                                            "column": 88
                                                          }
                                                        },
                                                        "id": null,
                                                        "generator": false,
                                                        "expression": true,
                                                        "async": false,
                                                        "params": [
                                                          {
                                                            "type": "Identifier",
                                                            "start": 2523,
                                                            "end": 2532,
                                                            "loc": {
                                                              "start": {
                                                                "line": 122,
                                                                "column": 34
                                                              },
                                                              "end": {
                                                                "line": 122,
                                                                "column": 43
                                                              }
                                                            },
                                                            "name": "validator"
                                                          }
                                                        ],
                                                        "body": {
                                                          "type": "CallExpression",
                                                          "start": 2536,
                                                          "end": 2577,
                                                          "loc": {
                                                            "start": {
                                                              "line": 122,
                                                              "column": 47
                                                            },
                                                            "end": {
                                                              "line": 122,
                                                              "column": 88
                                                            }
                                                          },
                                                          "callee": {
                                                            "type": "Identifier",
                                                            "start": 2536,
                                                            "end": 2545,
                                                            "loc": {
                                                              "start": {
                                                                "line": 122,
                                                                "column": 47
                                                              },
                                                              "end": {
                                                                "line": 122,
                                                                "column": 56
                                                              }
                                                            },
                                                            "name": "validator"
                                                          },
                                                          "arguments": [
                                                            {
                                                              "type": "MemberExpression",
                                                              "start": 2546,
                                                              "end": 2562,
                                                              "loc": {
                                                                "start": {
                                                                  "line": 122,
                                                                  "column": 57
                                                                },
                                                                "end": {
                                                                  "line": 122,
                                                                  "column": 73
                                                                }
                                                              },
                                                              "object": {
                                                                "type": "MemberExpression",
                                                                "start": 2546,
                                                                "end": 2556,
                                                                "loc": {
                                                                  "start": {
                                                                    "line": 122,
                                                                    "column": 57
                                                                  },
                                                                  "end": {
                                                                    "line": 122,
                                                                    "column": 67
                                                                  }
                                                                },
                                                                "object": {
                                                                  "type": "ThisExpression",
                                                                  "start": 2546,
                                                                  "end": 2550,
                                                                  "loc": {
                                                                    "start": {
                                                                      "line": 122,
                                                                      "column": 57
                                                                    },
                                                                    "end": {
                                                                      "line": 122,
                                                                      "column": 61
                                                                    }
                                                                  }
                                                                },
                                                                "property": {
                                                                  "type": "Identifier",
                                                                  "start": 2551,
                                                                  "end": 2556,
                                                                  "loc": {
                                                                    "start": {
                                                                      "line": 122,
                                                                      "column": 62
                                                                    },
                                                                    "end": {
                                                                      "line": 122,
                                                                      "column": 67
                                                                    }
                                                                  },
                                                                  "name": "state"
                                                                },
                                                                "computed": false
                                                              },
                                                              "property": {
                                                                "type": "Identifier",
                                                                "start": 2557,
                                                                "end": 2561,
                                                                "loc": {
                                                                  "start": {
                                                                    "line": 122,
                                                                    "column": 68
                                                                  },
                                                                  "end": {
                                                                    "line": 122,
                                                                    "column": 72
                                                                  }
                                                                },
                                                                "name": "prop"
                                                              },
                                                              "computed": true
                                                            },
                                                            {
                                                              "type": "MemberExpression",
                                                              "start": 2564,
                                                              "end": 2576,
                                                              "loc": {
                                                                "start": {
                                                                  "line": 122,
                                                                  "column": 75
                                                                },
                                                                "end": {
                                                                  "line": 122,
                                                                  "column": 87
                                                                }
                                                              },
                                                              "object": {
                                                                "type": "ThisExpression",
                                                                "start": 2564,
                                                                "end": 2568,
                                                                "loc": {
                                                                  "start": {
                                                                    "line": 122,
                                                                    "column": 75
                                                                  },
                                                                  "end": {
                                                                    "line": 122,
                                                                    "column": 79
                                                                  }
                                                                }
                                                              },
                                                              "property": {
                                                                "type": "Identifier",
                                                                "start": 2569,
                                                                "end": 2576,
                                                                "loc": {
                                                                  "start": {
                                                                    "line": 122,
                                                                    "column": 80
                                                                  },
                                                                  "end": {
                                                                    "line": 122,
                                                                    "column": 87
                                                                  }
                                                                },
                                                                "name": "locales"
                                                              },
                                                              "computed": false
                                                            }
                                                          ]
                                                        }
                                                      }
                                                    ]
                                                  }
                                                ]
                                              },
                                              "property": {
                                                "type": "Identifier",
                                                "start": 2589,
                                                "end": 2593,
                                                "loc": {
                                                  "start": {
                                                    "line": 123,
                                                    "column": 9
                                                  },
                                                  "end": {
                                                    "line": 123,
                                                    "column": 13
                                                  }
                                                },
                                                "name": "then"
                                              },
                                              "computed": false
                                            },
                                            "arguments": [
                                              {
                                                "type": "Identifier",
                                                "start": 2594,
                                                "end": 2609,
                                                "loc": {
                                                  "start": {
                                                    "line": 123,
                                                    "column": 14
                                                  },
                                                  "end": {
                                                    "line": 123,
                                                    "column": 29
                                                  }
                                                },
                                                "name": "flattenResponse"
                                              }
                                            ]
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "start": 2620,
                                            "end": 2624,
                                            "loc": {
                                              "start": {
                                                "line": 124,
                                                "column": 9
                                              },
                                              "end": {
                                                "line": 124,
                                                "column": 13
                                              }
                                            },
                                            "name": "then"
                                          },
                                          "computed": false
                                        },
                                        "arguments": [
                                          {
                                            "type": "Identifier",
                                            "start": 2625,
                                            "end": 2632,
                                            "loc": {
                                              "start": {
                                                "line": 124,
                                                "column": 14
                                              },
                                              "end": {
                                                "line": 124,
                                                "column": 21
                                              }
                                            },
                                            "name": "resolve"
                                          }
                                        ]
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "start": 2643,
                                        "end": 2648,
                                        "loc": {
                                          "start": {
                                            "line": 125,
                                            "column": 9
                                          },
                                          "end": {
                                            "line": 125,
                                            "column": 14
                                          }
                                        },
                                        "name": "catch"
                                      },
                                      "computed": false
                                    },
                                    "arguments": [
                                      {
                                        "type": "ArrowFunctionExpression",
                                        "start": 2649,
                                        "end": 2735,
                                        "loc": {
                                          "start": {
                                            "line": 125,
                                            "column": 15
                                          },
                                          "end": {
                                            "line": 127,
                                            "column": 24
                                          }
                                        },
                                        "id": null,
                                        "generator": false,
                                        "expression": true,
                                        "async": false,
                                        "params": [
                                          {
                                            "type": "Identifier",
                                            "start": 2649,
                                            "end": 2657,
                                            "loc": {
                                              "start": {
                                                "line": 125,
                                                "column": 15
                                              },
                                              "end": {
                                                "line": 125,
                                                "column": 23
                                              }
                                            },
                                            "name": "response"
                                          }
                                        ],
                                        "body": {
                                          "type": "CallExpression",
                                          "start": 2661,
                                          "end": 2735,
                                          "loc": {
                                            "start": {
                                              "line": 125,
                                              "column": 27
                                            },
                                            "end": {
                                              "line": 127,
                                              "column": 24
                                            }
                                          },
                                          "callee": {
                                            "type": "MemberExpression",
                                            "start": 2661,
                                            "end": 2727,
                                            "loc": {
                                              "start": {
                                                "line": 125,
                                                "column": 27
                                              },
                                              "end": {
                                                "line": 127,
                                                "column": 16
                                              }
                                            },
                                            "object": {
                                              "type": "CallExpression",
                                              "start": 2661,
                                              "end": 2710,
                                              "loc": {
                                                "start": {
                                                  "line": 125,
                                                  "column": 27
                                                },
                                                "end": {
                                                  "line": 126,
                                                  "column": 23
                                                }
                                              },
                                              "callee": {
                                                "type": "MemberExpression",
                                                "start": 2661,
                                                "end": 2702,
                                                "loc": {
                                                  "start": {
                                                    "line": 125,
                                                    "column": 27
                                                  },
                                                  "end": {
                                                    "line": 126,
                                                    "column": 15
                                                  }
                                                },
                                                "object": {
                                                  "type": "CallExpression",
                                                  "start": 2661,
                                                  "end": 2686,
                                                  "loc": {
                                                    "start": {
                                                      "line": 125,
                                                      "column": 27
                                                    },
                                                    "end": {
                                                      "line": 125,
                                                      "column": 52
                                                    }
                                                  },
                                                  "callee": {
                                                    "type": "Identifier",
                                                    "start": 2661,
                                                    "end": 2676,
                                                    "loc": {
                                                      "start": {
                                                        "line": 125,
                                                        "column": 27
                                                      },
                                                      "end": {
                                                        "line": 125,
                                                        "column": 42
                                                      }
                                                    },
                                                    "name": "flattenResponse"
                                                  },
                                                  "arguments": [
                                                    {
                                                      "type": "Identifier",
                                                      "start": 2677,
                                                      "end": 2685,
                                                      "loc": {
                                                        "start": {
                                                          "line": 125,
                                                          "column": 43
                                                        },
                                                        "end": {
                                                          "line": 125,
                                                          "column": 51
                                                        }
                                                      },
                                                      "name": "response"
                                                    }
                                                  ]
                                                },
                                                "property": {
                                                  "type": "Identifier",
                                                  "start": 2698,
                                                  "end": 2702,
                                                  "loc": {
                                                    "start": {
                                                      "line": 126,
                                                      "column": 11
                                                    },
                                                    "end": {
                                                      "line": 126,
                                                      "column": 15
                                                    }
                                                  },
                                                  "name": "then"
                                                },
                                                "computed": false
                                              },
                                              "arguments": [
                                                {
                                                  "type": "Identifier",
                                                  "start": 2703,
                                                  "end": 2709,
                                                  "loc": {
                                                    "start": {
                                                      "line": 126,
                                                      "column": 16
                                                    },
                                                    "end": {
                                                      "line": 126,
                                                      "column": 22
                                                    }
                                                  },
                                                  "name": "reject"
                                                }
                                              ]
                                            },
                                            "property": {
                                              "type": "Identifier",
                                              "start": 2722,
                                              "end": 2727,
                                              "loc": {
                                                "start": {
                                                  "line": 127,
                                                  "column": 11
                                                },
                                                "end": {
                                                  "line": 127,
                                                  "column": 16
                                                }
                                              },
                                              "name": "catch"
                                            },
                                            "computed": false
                                          },
                                          "arguments": [
                                            {
                                              "type": "Identifier",
                                              "start": 2728,
                                              "end": 2734,
                                              "loc": {
                                                "start": {
                                                  "line": 127,
                                                  "column": 17
                                                },
                                                "end": {
                                                  "line": 127,
                                                  "column": 23
                                                }
                                              },
                                              "name": "reject"
                                            }
                                          ]
                                        }
                                      }
                                    ]
                                  }
                                }
                              ]
                            }
                          }
                        ]
                      }
                    }
                  ],
                  "trailingComments": null
                },
                "trailingComments": null
              },
              "leadingComments": [
                {
                  "type": "Block",
                  "value": "*\n   * Triggers defined rules for prop\n   * @param prop\n   * @returns {Promise.<*>}\n   ",
                  "start": 2290,
                  "end": 2381,
                  "loc": {
                    "start": {
                      "line": 111,
                      "column": 2
                    },
                    "end": {
                      "line": 115,
                      "column": 5
                    }
                  },
                  "range": [
                    2290,
                    2381
                  ]
                }
              ],
              "trailingComments": [
                {
                  "type": "Block",
                  "value": "*\n   * Validate all\n   * @returns {Promise.<*>}\n   ",
                  "start": 2754,
                  "end": 2809,
                  "loc": {
                    "start": {
                      "line": 132,
                      "column": 2
                    },
                    "end": {
                      "line": 135,
                      "column": 5
                    }
                  },
                  "range": [
                    2754,
                    2809
                  ]
                }
              ]
            },
            {
              "type": "MethodDefinition",
              "start": 2812,
              "end": 3113,
              "loc": {
                "start": {
                  "line": 136,
                  "column": 2
                },
                "end": {
                  "line": 148,
                  "column": 3
                }
              },
              "computed": false,
              "key": {
                "type": "Identifier",
                "start": 2812,
                "end": 2819,
                "loc": {
                  "start": {
                    "line": 136,
                    "column": 2
                  },
                  "end": {
                    "line": 136,
                    "column": 9
                  }
                },
                "name": "isLegit",
                "leadingComments": null
              },
              "static": false,
              "kind": "method",
              "value": {
                "type": "FunctionExpression",
                "start": 2819,
                "end": 3113,
                "loc": {
                  "start": {
                    "line": 136,
                    "column": 9
                  },
                  "end": {
                    "line": 148,
                    "column": 3
                  }
                },
                "id": null,
                "generator": false,
                "expression": false,
                "async": false,
                "params": [],
                "body": {
                  "type": "BlockStatement",
                  "start": 2822,
                  "end": 3113,
                  "loc": {
                    "start": {
                      "line": 136,
                      "column": 12
                    },
                    "end": {
                      "line": 148,
                      "column": 3
                    }
                  },
                  "body": [
                    {
                      "type": "ReturnStatement",
                      "start": 2828,
                      "end": 3109,
                      "loc": {
                        "start": {
                          "line": 137,
                          "column": 4
                        },
                        "end": {
                          "line": 147,
                          "column": 9
                        }
                      },
                      "argument": {
                        "type": "CallExpression",
                        "start": 2835,
                        "end": 3108,
                        "loc": {
                          "start": {
                            "line": 137,
                            "column": 11
                          },
                          "end": {
                            "line": 147,
                            "column": 8
                          }
                        },
                        "callee": {
                          "type": "MemberExpression",
                          "start": 2835,
                          "end": 2972,
                          "loc": {
                            "start": {
                              "line": 137,
                              "column": 11
                            },
                            "end": {
                              "line": 141,
                              "column": 12
                            }
                          },
                          "object": {
                            "type": "CallExpression",
                            "start": 2835,
                            "end": 2959,
                            "loc": {
                              "start": {
                                "line": 137,
                                "column": 11
                              },
                              "end": {
                                "line": 140,
                                "column": 30
                              }
                            },
                            "callee": {
                              "type": "MemberExpression",
                              "start": 2835,
                              "end": 2940,
                              "loc": {
                                "start": {
                                  "line": 137,
                                  "column": 11
                                },
                                "end": {
                                  "line": 140,
                                  "column": 11
                                }
                              },
                              "object": {
                                "type": "CallExpression",
                                "start": 2835,
                                "end": 2928,
                                "loc": {
                                  "start": {
                                    "line": 137,
                                    "column": 11
                                  },
                                  "end": {
                                    "line": 139,
                                    "column": 28
                                  }
                                },
                                "callee": {
                                  "type": "MemberExpression",
                                  "start": 2835,
                                  "end": 2911,
                                  "loc": {
                                    "start": {
                                      "line": 137,
                                      "column": 11
                                    },
                                    "end": {
                                      "line": 139,
                                      "column": 11
                                    }
                                  },
                                  "object": {
                                    "type": "CallExpression",
                                    "start": 2835,
                                    "end": 2899,
                                    "loc": {
                                      "start": {
                                        "line": 137,
                                        "column": 11
                                      },
                                      "end": {
                                        "line": 138,
                                        "column": 56
                                      }
                                    },
                                    "callee": {
                                      "type": "MemberExpression",
                                      "start": 2835,
                                      "end": 2853,
                                      "loc": {
                                        "start": {
                                          "line": 137,
                                          "column": 11
                                        },
                                        "end": {
                                          "line": 138,
                                          "column": 10
                                        }
                                      },
                                      "object": {
                                        "type": "Identifier",
                                        "start": 2835,
                                        "end": 2842,
                                        "loc": {
                                          "start": {
                                            "line": 137,
                                            "column": 11
                                          },
                                          "end": {
                                            "line": 137,
                                            "column": 18
                                          }
                                        },
                                        "name": "Promise"
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "start": 2850,
                                        "end": 2853,
                                        "loc": {
                                          "start": {
                                            "line": 138,
                                            "column": 7
                                          },
                                          "end": {
                                            "line": 138,
                                            "column": 10
                                          }
                                        },
                                        "name": "all"
                                      },
                                      "computed": false
                                    },
                                    "arguments": [
                                      {
                                        "type": "CallExpression",
                                        "start": 2854,
                                        "end": 2898,
                                        "loc": {
                                          "start": {
                                            "line": 138,
                                            "column": 11
                                          },
                                          "end": {
                                            "line": 138,
                                            "column": 55
                                          }
                                        },
                                        "callee": {
                                          "type": "MemberExpression",
                                          "start": 2854,
                                          "end": 2881,
                                          "loc": {
                                            "start": {
                                              "line": 138,
                                              "column": 11
                                            },
                                            "end": {
                                              "line": 138,
                                              "column": 38
                                            }
                                          },
                                          "object": {
                                            "type": "CallExpression",
                                            "start": 2854,
                                            "end": 2877,
                                            "loc": {
                                              "start": {
                                                "line": 138,
                                                "column": 11
                                              },
                                              "end": {
                                                "line": 138,
                                                "column": 34
                                              }
                                            },
                                            "callee": {
                                              "type": "MemberExpression",
                                              "start": 2854,
                                              "end": 2865,
                                              "loc": {
                                                "start": {
                                                  "line": 138,
                                                  "column": 11
                                                },
                                                "end": {
                                                  "line": 138,
                                                  "column": 22
                                                }
                                              },
                                              "object": {
                                                "type": "Identifier",
                                                "start": 2854,
                                                "end": 2860,
                                                "loc": {
                                                  "start": {
                                                    "line": 138,
                                                    "column": 11
                                                  },
                                                  "end": {
                                                    "line": 138,
                                                    "column": 17
                                                  }
                                                },
                                                "name": "Object"
                                              },
                                              "property": {
                                                "type": "Identifier",
                                                "start": 2861,
                                                "end": 2865,
                                                "loc": {
                                                  "start": {
                                                    "line": 138,
                                                    "column": 18
                                                  },
                                                  "end": {
                                                    "line": 138,
                                                    "column": 22
                                                  }
                                                },
                                                "name": "keys"
                                              },
                                              "computed": false
                                            },
                                            "arguments": [
                                              {
                                                "type": "MemberExpression",
                                                "start": 2866,
                                                "end": 2876,
                                                "loc": {
                                                  "start": {
                                                    "line": 138,
                                                    "column": 23
                                                  },
                                                  "end": {
                                                    "line": 138,
                                                    "column": 33
                                                  }
                                                },
                                                "object": {
                                                  "type": "ThisExpression",
                                                  "start": 2866,
                                                  "end": 2870,
                                                  "loc": {
                                                    "start": {
                                                      "line": 138,
                                                      "column": 23
                                                    },
                                                    "end": {
                                                      "line": 138,
                                                      "column": 27
                                                    }
                                                  }
                                                },
                                                "property": {
                                                  "type": "Identifier",
                                                  "start": 2871,
                                                  "end": 2876,
                                                  "loc": {
                                                    "start": {
                                                      "line": 138,
                                                      "column": 28
                                                    },
                                                    "end": {
                                                      "line": 138,
                                                      "column": 33
                                                    }
                                                  },
                                                  "name": "rules"
                                                },
                                                "computed": false
                                              }
                                            ]
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "start": 2878,
                                            "end": 2881,
                                            "loc": {
                                              "start": {
                                                "line": 138,
                                                "column": 35
                                              },
                                              "end": {
                                                "line": 138,
                                                "column": 38
                                              }
                                            },
                                            "name": "map"
                                          },
                                          "computed": false
                                        },
                                        "arguments": [
                                          {
                                            "type": "Identifier",
                                            "start": 2882,
                                            "end": 2897,
                                            "loc": {
                                              "start": {
                                                "line": 138,
                                                "column": 39
                                              },
                                              "end": {
                                                "line": 138,
                                                "column": 54
                                              }
                                            },
                                            "object": null,
                                            "callee": {
                                              "type": "MemberExpression",
                                              "start": 2884,
                                              "end": 2897,
                                              "loc": {
                                                "start": {
                                                  "line": 138,
                                                  "column": 41
                                                },
                                                "end": {
                                                  "line": 138,
                                                  "column": 54
                                                }
                                              },
                                              "object": {
                                                "type": "ThisExpression",
                                                "start": 2884,
                                                "end": 2888,
                                                "loc": {
                                                  "start": {
                                                    "line": 138,
                                                    "column": 41
                                                  },
                                                  "end": {
                                                    "line": 138,
                                                    "column": 45
                                                  }
                                                }
                                              },
                                              "property": {
                                                "type": "Identifier",
                                                "start": 2889,
                                                "end": 2897,
                                                "loc": {
                                                  "start": {
                                                    "line": 138,
                                                    "column": 46
                                                  },
                                                  "end": {
                                                    "line": 138,
                                                    "column": 54
                                                  }
                                                },
                                                "name": "validate"
                                              },
                                              "computed": false
                                            }
                                          }
                                        ]
                                      }
                                    ]
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "start": 2907,
                                    "end": 2911,
                                    "loc": {
                                      "start": {
                                        "line": 139,
                                        "column": 7
                                      },
                                      "end": {
                                        "line": 139,
                                        "column": 11
                                      }
                                    },
                                    "name": "then"
                                  },
                                  "computed": false
                                },
                                "arguments": [
                                  {
                                    "type": "Identifier",
                                    "start": 2912,
                                    "end": 2927,
                                    "loc": {
                                      "start": {
                                        "line": 139,
                                        "column": 12
                                      },
                                      "end": {
                                        "line": 139,
                                        "column": 27
                                      }
                                    },
                                    "name": "flattenResponse"
                                  }
                                ]
                              },
                              "property": {
                                "type": "Identifier",
                                "start": 2936,
                                "end": 2940,
                                "loc": {
                                  "start": {
                                    "line": 140,
                                    "column": 7
                                  },
                                  "end": {
                                    "line": 140,
                                    "column": 11
                                  }
                                },
                                "name": "then"
                              },
                              "computed": false
                            },
                            "arguments": [
                              {
                                "type": "Identifier",
                                "start": 2941,
                                "end": 2958,
                                "loc": {
                                  "start": {
                                    "line": 140,
                                    "column": 12
                                  },
                                  "end": {
                                    "line": 140,
                                    "column": 29
                                  }
                                },
                                "object": null,
                                "callee": {
                                  "type": "MemberExpression",
                                  "start": 2943,
                                  "end": 2958,
                                  "loc": {
                                    "start": {
                                      "line": 140,
                                      "column": 14
                                    },
                                    "end": {
                                      "line": 140,
                                      "column": 29
                                    }
                                  },
                                  "object": {
                                    "type": "Identifier",
                                    "start": 2943,
                                    "end": 2950,
                                    "loc": {
                                      "start": {
                                        "line": 140,
                                        "column": 14
                                      },
                                      "end": {
                                        "line": 140,
                                        "column": 21
                                      }
                                    },
                                    "name": "Promise"
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "start": 2951,
                                    "end": 2958,
                                    "loc": {
                                      "start": {
                                        "line": 140,
                                        "column": 22
                                      },
                                      "end": {
                                        "line": 140,
                                        "column": 29
                                      }
                                    },
                                    "name": "resolve"
                                  },
                                  "computed": false
                                }
                              }
                            ]
                          },
                          "property": {
                            "type": "Identifier",
                            "start": 2967,
                            "end": 2972,
                            "loc": {
                              "start": {
                                "line": 141,
                                "column": 7
                              },
                              "end": {
                                "line": 141,
                                "column": 12
                              }
                            },
                            "name": "catch"
                          },
                          "computed": false
                        },
                        "arguments": [
                          {
                            "type": "ArrowFunctionExpression",
                            "start": 2973,
                            "end": 3107,
                            "loc": {
                              "start": {
                                "line": 141,
                                "column": 13
                              },
                              "end": {
                                "line": 147,
                                "column": 7
                              }
                            },
                            "id": null,
                            "generator": false,
                            "expression": false,
                            "async": false,
                            "params": [
                              {
                                "type": "Identifier",
                                "start": 2973,
                                "end": 2981,
                                "loc": {
                                  "start": {
                                    "line": 141,
                                    "column": 13
                                  },
                                  "end": {
                                    "line": 141,
                                    "column": 21
                                  }
                                },
                                "name": "response"
                              }
                            ],
                            "body": {
                              "type": "BlockStatement",
                              "start": 2985,
                              "end": 3107,
                              "loc": {
                                "start": {
                                  "line": 141,
                                  "column": 25
                                },
                                "end": {
                                  "line": 147,
                                  "column": 7
                                }
                              },
                              "body": [
                                {
                                  "type": "ReturnStatement",
                                  "start": 2996,
                                  "end": 3098,
                                  "loc": {
                                    "start": {
                                      "line": 143,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 145,
                                      "column": 35
                                    }
                                  },
                                  "argument": {
                                    "type": "CallExpression",
                                    "start": 3003,
                                    "end": 3097,
                                    "loc": {
                                      "start": {
                                        "line": 143,
                                        "column": 15
                                      },
                                      "end": {
                                        "line": 145,
                                        "column": 34
                                      }
                                    },
                                    "callee": {
                                      "type": "MemberExpression",
                                      "start": 3003,
                                      "end": 3079,
                                      "loc": {
                                        "start": {
                                          "line": 143,
                                          "column": 15
                                        },
                                        "end": {
                                          "line": 145,
                                          "column": 16
                                        }
                                      },
                                      "object": {
                                        "type": "CallExpression",
                                        "start": 3003,
                                        "end": 3062,
                                        "loc": {
                                          "start": {
                                            "line": 143,
                                            "column": 15
                                          },
                                          "end": {
                                            "line": 144,
                                            "column": 33
                                          }
                                        },
                                        "callee": {
                                          "type": "MemberExpression",
                                          "start": 3003,
                                          "end": 3044,
                                          "loc": {
                                            "start": {
                                              "line": 143,
                                              "column": 15
                                            },
                                            "end": {
                                              "line": 144,
                                              "column": 15
                                            }
                                          },
                                          "object": {
                                            "type": "CallExpression",
                                            "start": 3003,
                                            "end": 3028,
                                            "loc": {
                                              "start": {
                                                "line": 143,
                                                "column": 15
                                              },
                                              "end": {
                                                "line": 143,
                                                "column": 40
                                              }
                                            },
                                            "callee": {
                                              "type": "Identifier",
                                              "start": 3003,
                                              "end": 3018,
                                              "loc": {
                                                "start": {
                                                  "line": 143,
                                                  "column": 15
                                                },
                                                "end": {
                                                  "line": 143,
                                                  "column": 30
                                                }
                                              },
                                              "name": "flattenResponse"
                                            },
                                            "arguments": [
                                              {
                                                "type": "Identifier",
                                                "start": 3019,
                                                "end": 3027,
                                                "loc": {
                                                  "start": {
                                                    "line": 143,
                                                    "column": 31
                                                  },
                                                  "end": {
                                                    "line": 143,
                                                    "column": 39
                                                  }
                                                },
                                                "name": "response"
                                              }
                                            ]
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "start": 3040,
                                            "end": 3044,
                                            "loc": {
                                              "start": {
                                                "line": 144,
                                                "column": 11
                                              },
                                              "end": {
                                                "line": 144,
                                                "column": 15
                                              }
                                            },
                                            "name": "then"
                                          },
                                          "computed": false
                                        },
                                        "arguments": [
                                          {
                                            "type": "Identifier",
                                            "start": 3045,
                                            "end": 3061,
                                            "loc": {
                                              "start": {
                                                "line": 144,
                                                "column": 16
                                              },
                                              "end": {
                                                "line": 144,
                                                "column": 32
                                              }
                                            },
                                            "object": null,
                                            "callee": {
                                              "type": "MemberExpression",
                                              "start": 3047,
                                              "end": 3061,
                                              "loc": {
                                                "start": {
                                                  "line": 144,
                                                  "column": 18
                                                },
                                                "end": {
                                                  "line": 144,
                                                  "column": 32
                                                }
                                              },
                                              "object": {
                                                "type": "Identifier",
                                                "start": 3047,
                                                "end": 3054,
                                                "loc": {
                                                  "start": {
                                                    "line": 144,
                                                    "column": 18
                                                  },
                                                  "end": {
                                                    "line": 144,
                                                    "column": 25
                                                  }
                                                },
                                                "name": "Promise"
                                              },
                                              "property": {
                                                "type": "Identifier",
                                                "start": 3055,
                                                "end": 3061,
                                                "loc": {
                                                  "start": {
                                                    "line": 144,
                                                    "column": 26
                                                  },
                                                  "end": {
                                                    "line": 144,
                                                    "column": 32
                                                  }
                                                },
                                                "name": "reject"
                                              },
                                              "computed": false
                                            }
                                          }
                                        ]
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "start": 3074,
                                        "end": 3079,
                                        "loc": {
                                          "start": {
                                            "line": 145,
                                            "column": 11
                                          },
                                          "end": {
                                            "line": 145,
                                            "column": 16
                                          }
                                        },
                                        "name": "catch"
                                      },
                                      "computed": false
                                    },
                                    "arguments": [
                                      {
                                        "type": "Identifier",
                                        "start": 3080,
                                        "end": 3096,
                                        "loc": {
                                          "start": {
                                            "line": 145,
                                            "column": 17
                                          },
                                          "end": {
                                            "line": 145,
                                            "column": 33
                                          }
                                        },
                                        "object": null,
                                        "callee": {
                                          "type": "MemberExpression",
                                          "start": 3082,
                                          "end": 3096,
                                          "loc": {
                                            "start": {
                                              "line": 145,
                                              "column": 19
                                            },
                                            "end": {
                                              "line": 145,
                                              "column": 33
                                            }
                                          },
                                          "object": {
                                            "type": "Identifier",
                                            "start": 3082,
                                            "end": 3089,
                                            "loc": {
                                              "start": {
                                                "line": 145,
                                                "column": 19
                                              },
                                              "end": {
                                                "line": 145,
                                                "column": 26
                                              }
                                            },
                                            "name": "Promise"
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "start": 3090,
                                            "end": 3096,
                                            "loc": {
                                              "start": {
                                                "line": 145,
                                                "column": 27
                                              },
                                              "end": {
                                                "line": 145,
                                                "column": 33
                                              }
                                            },
                                            "name": "reject"
                                          },
                                          "computed": false
                                        }
                                      }
                                    ]
                                  }
                                }
                              ]
                            }
                          }
                        ]
                      }
                    }
                  ]
                }
              },
              "leadingComments": [
                {
                  "type": "Block",
                  "value": "*\n   * Validate all\n   * @returns {Promise.<*>}\n   ",
                  "start": 2754,
                  "end": 2809,
                  "loc": {
                    "start": {
                      "line": 132,
                      "column": 2
                    },
                    "end": {
                      "line": 135,
                      "column": 5
                    }
                  },
                  "range": [
                    2754,
                    2809
                  ]
                }
              ]
            }
          ]
        },
        "leadingComments": [
          {
            "type": "Block",
            "value": "*\n * @class {class} Legitimate\n * @classdesc Legitimate class to validate given state by updating and validating\n ",
            "start": 759,
            "end": 877,
            "loc": {
              "start": {
                "line": 34,
                "column": 0
              },
              "end": {
                "line": 37,
                "column": 3
              }
            },
            "range": [
              759,
              877
            ]
          }
        ],
        "trailingComments": []
      },
      "specifiers": [],
      "source": null,
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * @class {class} Legitimate\n * @classdesc Legitimate class to validate given state by updating and validating\n ",
          "start": 759,
          "end": 877,
          "loc": {
            "start": {
              "line": 34,
              "column": 0
            },
            "end": {
              "line": 37,
              "column": 3
            }
          },
          "range": [
            759,
            877
          ]
        }
      ]
    },
    {
      "type": "ExportNamedDeclaration",
      "start": 3118,
      "end": 3192,
      "loc": {
        "start": {
          "line": 152,
          "column": 0
        },
        "end": {
          "line": 154,
          "column": 33
        }
      },
      "declaration": {
        "type": "VariableDeclaration",
        "start": 3125,
        "end": 3192,
        "loc": {
          "start": {
            "line": 152,
            "column": 7
          },
          "end": {
            "line": 154,
            "column": 33
          }
        },
        "declarations": [
          {
            "type": "VariableDeclarator",
            "start": 3133,
            "end": 3157,
            "loc": {
              "start": {
                "line": 153,
                "column": 2
              },
              "end": {
                "line": 153,
                "column": 26
              }
            },
            "id": {
              "type": "Identifier",
              "start": 3133,
              "end": 3140,
              "loc": {
                "start": {
                  "line": 153,
                  "column": 2
                },
                "end": {
                  "line": 153,
                  "column": 9
                }
              },
              "name": "locales"
            },
            "init": {
              "type": "Identifier",
              "start": 3143,
              "end": 3157,
              "loc": {
                "start": {
                  "line": 153,
                  "column": 12
                },
                "end": {
                  "line": 153,
                  "column": 26
                }
              },
              "name": "defaultLocales"
            }
          },
          {
            "type": "VariableDeclarator",
            "start": 3161,
            "end": 3191,
            "loc": {
              "start": {
                "line": 154,
                "column": 2
              },
              "end": {
                "line": 154,
                "column": 32
              }
            },
            "id": {
              "type": "Identifier",
              "start": 3161,
              "end": 3171,
              "loc": {
                "start": {
                  "line": 154,
                  "column": 2
                },
                "end": {
                  "line": 154,
                  "column": 12
                }
              },
              "name": "validators"
            },
            "init": {
              "type": "Identifier",
              "start": 3174,
              "end": 3191,
              "loc": {
                "start": {
                  "line": 154,
                  "column": 15
                },
                "end": {
                  "line": 154,
                  "column": 32
                }
              },
              "name": "defaultValidators"
            }
          }
        ],
        "kind": "const",
        "leadingComments": [],
        "trailingComments": []
      },
      "specifiers": [],
      "source": null
    },
    {
      "type": "ExportDefaultDeclaration",
      "start": 3194,
      "end": 3220,
      "loc": {
        "start": {
          "line": 156,
          "column": 0
        },
        "end": {
          "line": 156,
          "column": 26
        }
      },
      "declaration": {
        "type": "Identifier",
        "start": 3209,
        "end": 3219,
        "loc": {
          "start": {
            "line": 156,
            "column": 15
          },
          "end": {
            "line": 156,
            "column": 25
          }
        },
        "name": "Legitimate",
        "leadingComments": [],
        "trailingComments": []
      }
    }
  ]
}