{"dependencies":[{"name":"react","loc":{"line":20,"column":20}}],"generated":{"js":"\"use strict\";\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n    for (var s, i = 1, n = arguments.length; i < n; i++) {\n        s = arguments[i];\n        for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n            t[p] = s[p];\n    }\n    return t;\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n    var t = {};\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n        t[p] = s[p];\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)\n            t[p[i]] = s[p[i]];\n    return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nexports.Errors = function (_a) {\n    var _b = _a.renderError, renderError = _b === void 0 ? function (x) { return x; } : _b, _c = _a.errors, errors = _c === void 0 ? [] : _c, _d = _a._errors, _errors = _d === void 0 ? [] : _d, _e = _a.className, className = _e === void 0 ? '' : _e, props = __rest(_a, [\"renderError\", \"errors\", \"_errors\", \"className\"]);\n    var allErrors = errors.concat(_errors).filter(function (value, index, self) {\n        return self.indexOf(value) === index;\n    });\n    var errorLis = allErrors.reduce(function (memo, error, i) {\n        var el = renderError(error);\n        return el ? memo.concat(React.createElement(\"li\", { key: error.toString() + i }, el)) : memo;\n    }, []);\n    return !!allErrors.length ? (React.createElement(\"ul\", __assign({ className: className + \" errors\" }, props), errorLis)) : null;\n};\nexports.default = exports.Errors;\n//# sourceMappingURL=Errors.js.map"},"hash":"ff1c2ebc434074396bf329a186e2a2c1"}