UNPKG

45.7 kBJavaScriptView Raw
1!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("react"),require("react-redux")):"function"==typeof define&&define.amd?define(["react","react-redux"],r):"object"==typeof exports?exports.ReduxFormsReact=r(require("react"),require("react-redux")):t.ReduxFormsReact=r(t.React,t.ReactRedux)}(this,function(t,r){return function(t){function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n={};return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:e})},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},r.p="",r(r.s=46)}([function(t,r,n){var e=n(2),o=n(13);t.exports=function(t){return function r(n,u){switch(arguments.length){case 0:return r;case 1:return o(n)?r:e(function(r){return t(n,r)});default:return o(n)&&o(u)?r:o(n)?e(function(r){return t(r,u)}):o(u)?e(function(r){return t(n,r)}):t(n,u)}}}},function(t,r,n){var e=n(9);t.exports=function(t){return function r(n){return 0===arguments.length||e(n)?r:t.apply(this,arguments)}}},function(t,r,n){var e=n(13);t.exports=function(t){return function r(n){return 0===arguments.length||e(n)?r:t.apply(this,arguments)}}},function(t,r,n){var e=n(1),o=n(9);t.exports=function(t){return function r(n,u){switch(arguments.length){case 0:return r;case 1:return o(n)?r:e(function(r){return t(n,r)});default:return o(n)&&o(u)?r:o(n)?e(function(r){return t(r,u)}):o(u)?e(function(r){return t(n,r)}):t(n,u)}}}},function(t,r,n){"use strict";function e(t){return t&&t.__esModule?t:{default:t}}function o(t){return"string"==typeof t}function u(t){return"number"==typeof t}function i(t){return!!t&&"object"===(void 0===t?"undefined":O(t))&&"function"==typeof t.then}function a(t){return"function"==typeof t}function f(t){return!!(t&&"object"===(void 0===t?"undefined":O(t))&&a(t.preventDefault)&&a(t.stopPropagation))}function c(t,r){return t===r||S(t)===S(r)&&(0,h.default)(function(n,e){return n&&(0,d.default)(e,t)===(0,d.default)(e,r)},!0,(0,m.default)(t))}function s(t){var r={};return Object.keys(t).forEach(function(n){return n.split(".").reduce(function(r,e,o,u){var i=isNaN(+e)?e:+e;return r[i]=o===u.length-1?t[n]:r[i]?r[i]:isNaN(+u[o+1])?{}:[]},r)}),r}function l(t,r){if(!t){var n=Error(r);throw n.name="Invariant violation",n}}r.__esModule=!0;var p=n(19),d=e(p),y=n(28),h=e(y),v=n(5),m=e(v),_=n(59),b=e(_),x=n(30),g=e(x),O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};r.isString=o,r.isNumber=u,r.isPromise=i,r.isFunction=a,r.isEvent=f,r.shallowCompare=c,r.unflatten=s,r.invariant=l;var S=(0,g.default)(b.default,m.default)},function(t,r,n){var e=n(2),o=n(7),u=n(58);t.exports=function(){var t=!{toString:null}.propertyIsEnumerable("toString"),r=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],n=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),i=function(t,r){for(var n=0;t.length>n;){if(t[n]===r)return!0;n+=1}return!1};return e("function"!=typeof Object.keys||n?function(e){if(Object(e)!==e)return[];var a,f,c=[],s=n&&u(e);for(a in e)!o(a,e)||s&&"length"===a||(c[c.length]=a);if(t)for(f=6;f>=0;)a=r[f],o(a,e)&&!i(c,a)&&(c[c.length]=a),f-=1;return c}:function(t){return Object(t)!==t?[]:Object.keys(t)})}()},function(t,r){t.exports=function(t,r){switch(t){case 0:return function(){return r.apply(this,arguments)};case 1:return function(t){return r.apply(this,arguments)};case 2:return function(t,n){return r.apply(this,arguments)};case 3:return function(t,n,e){return r.apply(this,arguments)};case 4:return function(t,n,e,o){return r.apply(this,arguments)};case 5:return function(t,n,e,o,u){return r.apply(this,arguments)};case 6:return function(t,n,e,o,u,i){return r.apply(this,arguments)};case 7:return function(t,n,e,o,u,i,a){return r.apply(this,arguments)};case 8:return function(t,n,e,o,u,i,a,f){return r.apply(this,arguments)};case 9:return function(t,n,e,o,u,i,a,f,c){return r.apply(this,arguments)};case 10:return function(t,n,e,o,u,i,a,f,c,s){return r.apply(this,arguments)};default:throw Error("First argument to _arity must be a non-negative integer no greater than ten")}}},function(t,r){t.exports=function(t,r){return Object.prototype.hasOwnProperty.call(r,t)}},function(t,r,n){var e=n(1),o=n(3),u=n(9);t.exports=function(t){return function r(n,i,a){switch(arguments.length){case 0:return r;case 1:return u(n)?r:o(function(r,e){return t(n,r,e)});case 2:return u(n)&&u(i)?r:u(n)?o(function(r,n){return t(r,i,n)}):u(i)?o(function(r,e){return t(n,r,e)}):e(function(r){return t(n,i,r)});default:return u(n)&&u(i)&&u(a)?r:u(n)&&u(i)?o(function(r,n){return t(r,n,a)}):u(n)&&u(a)?o(function(r,n){return t(r,i,n)}):u(i)&&u(a)?o(function(r,e){return t(n,r,e)}):u(n)?e(function(r){return t(r,i,a)}):u(i)?e(function(r){return t(n,r,a)}):u(a)?e(function(r){return t(n,i,r)}):t(n,i,a)}}}},function(t,r){t.exports=function(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}},function(t,r,n){var e=n(49);t.exports=n(3)(function(t,r){return e({},t,r)})},function(r,n){r.exports=t},function(t,r,n){t.exports=n(51)()},function(t,r){t.exports=function(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}},function(t,r,n){var e=n(2),o=n(0),u=n(13);t.exports=function(t){return function r(n,i,a){switch(arguments.length){case 0:return r;case 1:return u(n)?r:o(function(r,e){return t(n,r,e)});case 2:return u(n)&&u(i)?r:u(n)?o(function(r,n){return t(r,i,n)}):u(i)?o(function(r,e){return t(n,r,e)}):e(function(r){return t(n,i,r)});default:return u(n)&&u(i)&&u(a)?r:u(n)&&u(i)?o(function(r,n){return t(r,n,a)}):u(n)&&u(a)?o(function(r,n){return t(r,i,n)}):u(i)&&u(a)?o(function(r,e){return t(n,r,e)}):u(n)?e(function(r){return t(r,i,a)}):u(i)?e(function(r){return t(n,r,a)}):u(a)?e(function(r){return t(n,i,r)}):t(n,i,a)}}}},function(t,r,n){var e=n(21),o=n(77);t.exports=function(t,r,n){return function(){if(0===arguments.length)return n();var u=Array.prototype.slice.call(arguments,0),i=u.pop();if(!e(i)){for(var a=0;t.length>a;){if("function"==typeof i[t[a]])return i[t[a]].apply(i,u);a+=1}if(o(i)){return r.apply(null,u)(i)}}return n.apply(this,arguments)}}},function(t,r){t.exports=function(t,r){switch(t){case 0:return function(){return r.apply(this,arguments)};case 1:return function(t){return r.apply(this,arguments)};case 2:return function(t,n){return r.apply(this,arguments)};case 3:return function(t,n,e){return r.apply(this,arguments)};case 4:return function(t,n,e,o){return r.apply(this,arguments)};case 5:return function(t,n,e,o,u){return r.apply(this,arguments)};case 6:return function(t,n,e,o,u,i){return r.apply(this,arguments)};case 7:return function(t,n,e,o,u,i,a){return r.apply(this,arguments)};case 8:return function(t,n,e,o,u,i,a,f){return r.apply(this,arguments)};case 9:return function(t,n,e,o,u,i,a,f,c){return r.apply(this,arguments)};case 10:return function(t,n,e,o,u,i,a,f,c,s){return r.apply(this,arguments)};default:throw Error("First argument to _arity must be a non-negative integer no greater than ten")}}},function(t,r){t.exports=function(t,r){return Object.prototype.hasOwnProperty.call(r,t)}},function(t,n){t.exports=r},function(t,r,n){t.exports=n(0)(function(t,r){return r[t]})},function(t,r,n){var e=n(55),o=n(56),u=n(57);t.exports=function(){function t(t,r,n){for(var e=0,o=n.length;o>e;){if((r=t["@@transducer/step"](r,n[e]))&&r["@@transducer/reduced"]){r=r["@@transducer/value"];break}e+=1}return t["@@transducer/result"](r)}function r(t,r,n){for(var e=n.next();!e.done;){if((r=t["@@transducer/step"](r,e.value))&&r["@@transducer/reduced"]){r=r["@@transducer/value"];break}e=n.next()}return t["@@transducer/result"](r)}function n(t,r,n,e){return t["@@transducer/result"](n[e](u(t["@@transducer/step"],t),r))}var i="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";return function(u,a,f){if("function"==typeof u&&(u=o(u)),e(f))return t(u,a,f);if("function"==typeof f["fantasy-land/reduce"])return n(u,a,f,"fantasy-land/reduce");if(null!=f[i])return r(u,a,f[i]());if("function"==typeof f.next)return r(u,a,f);if("function"==typeof f.reduce)return n(u,a,f,"reduce");throw new TypeError("reduce: list must be array or iterable")}}()},function(t,r){t.exports=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)}},function(t,r,n){var e=n(32);t.exports=n(0)(function(t,r){var n={};for(var o in r)e(o,t)||(n[o]=r[o]);return n})},function(t,r,n){t.exports=n(74)},function(t,r){t.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}}},function(t,r){t.exports=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)}},function(t,r,n){t.exports=n(3)(function(t,r){return r[t]})},function(t,r,n){t.exports=n(1)(n(48))},function(t,r,n){t.exports=n(14)(n(20))},function(t,r){t.exports=function(t){return"[object String]"===Object.prototype.toString.call(t)}},function(t,r,n){var e=n(61),o=n(65);t.exports=function(){if(0===arguments.length)throw Error("compose requires at least one argument");return e.apply(this,o(arguments))}},function(t,r,n){var e=n(21);t.exports=function(t,r){return function(){var n=arguments.length;if(0===n)return r();var o=arguments[n-1];return e(o)||"function"!=typeof o[t]?r.apply(this,arguments):o[t].apply(o,Array.prototype.slice.call(arguments,0,n-1))}}},function(t,r,n){var e=n(67);t.exports=function(t,r){return e(r,t,0)>=0}},function(t,r,n){t.exports=n(0)(n(15)(["any"],n(34),function(t,r){for(var n=0;r.length>n;){if(t(r[n]))return!0;n+=1}return!1}))},function(t,r,n){var e=n(0),o=n(78),u=n(24);t.exports=function(){function t(t,r){this.xf=r,this.f=t,this.any=!1}return t.prototype["@@transducer/init"]=u.init,t.prototype["@@transducer/result"]=function(t){return this.any||(t=this.xf["@@transducer/step"](t,!1)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,r){return this.f(r)&&(this.any=!0,t=o(this.xf["@@transducer/step"](t,!0))),t},e(function(r,n){return new t(r,n)})}()},function(t,r){t.exports=function(t){return function(){return!t.apply(this,arguments)}}},function(t,r,n){var e=n(0),o=n(15),u=n(37),i=n(20),a=n(82),f=n(83),c=n(5);t.exports=e(o(["fantasy-land/map","map"],a,function(t,r){switch(Object.prototype.toString.call(r)){case"[object Function]":return f(r.length,function(){return t.call(this,r.apply(this,arguments))});case"[object Object]":return i(function(n,e){return n[e]=t(r[e]),n},{},c(r));default:return u(t,r)}}))},function(t,r){t.exports=function(t,r){for(var n=0,e=r.length,o=Array(e);e>n;)o[n]=t(r[n]),n+=1;return o}},function(t,r,n){t.exports=n(3)(function(t,r){for(var n=r,e=0;t.length>e;){if(null==n)return;n=n[t[e]],e+=1}return n})},function(t,r,n){var e=n(3),o=n(100),u=n(102),i=n(40),a=n(106),f=n(42),c=n(109);t.exports=e(o(["fantasy-land/map","map"],a,function(t,r){switch(Object.prototype.toString.call(r)){case"[object Function]":return f(r.length,function(){return t.call(this,r.apply(this,arguments))});case"[object Object]":return i(function(n,e){return n[e]=t(r[e]),n},{},c(r));default:return u(t,r)}}))},function(t,r,n){var e=n(103),o=n(104),u=n(105);t.exports=function(){function t(t,r,n){for(var e=0,o=n.length;o>e;){if((r=t["@@transducer/step"](r,n[e]))&&r["@@transducer/reduced"]){r=r["@@transducer/value"];break}e+=1}return t["@@transducer/result"](r)}function r(t,r,n){for(var e=n.next();!e.done;){if((r=t["@@transducer/step"](r,e.value))&&r["@@transducer/reduced"]){r=r["@@transducer/value"];break}e=n.next()}return t["@@transducer/result"](r)}function n(t,r,n,e){return t["@@transducer/result"](n[e](u(t["@@transducer/step"],t),r))}var i="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";return function(u,a,f){if("function"==typeof u&&(u=o(u)),e(f))return t(u,a,f);if("function"==typeof f["fantasy-land/reduce"])return n(u,a,f,"fantasy-land/reduce");if(null!=f[i])return r(u,a,f[i]());if("function"==typeof f.next)return r(u,a,f);if("function"==typeof f.reduce)return n(u,a,f,"reduce");throw new TypeError("reduce: list must be array or iterable")}}()},function(t,r){t.exports=function(t){return"[object String]"===Object.prototype.toString.call(t)}},function(t,r,n){var e=n(16),o=n(1),u=n(3),i=n(108);t.exports=u(function(t,r){return 1===t?o(r):e(t,i(t,[],r))})},function(t,r,n){t.exports=n(1)(function(t){return function(){return t}})},function(t,r,n){var e=n(25);t.exports=function(t,r){return function(){var n=arguments.length;if(0===n)return r();var o=arguments[n-1];return e(o)||"function"!=typeof o[t]?r.apply(this,arguments):o[t].apply(o,Array.prototype.slice.call(arguments,0,n-1))}}},function(t,r,n){"use strict";function e(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r.default=t,r}function o(t){var r=function(r,n){var e=n.reduxForms,o=(0,l.isString)(e)?e:null,u=(0,l.isString)(r.form)?r.form:o;return(0,l.invariant)((0,l.isString)(u),'[redux-forms] "field(...)" and "fieldArray(...)" must be a child of the Form component or an explicit "form" prop must be supplied.'),f.createElement(t,(0,i.default)(r,{_form:u}))};return r.contextTypes={reduxForms:s.string},r.displayName=t.displayName,r.WrappedComponent=t,r}r.__esModule=!0;var u=n(10),i=function(t){return t&&t.__esModule?t:{default:t}}(u);r.default=o;var a=n(11),f=e(a),c=n(12),s=e(c),l=n(4)},function(t,r,n){"use strict";function e(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0,r.fieldArray=r.field=r.Form=void 0;var o=n(47),u=e(o),i=n(96),a=e(i),f=n(132),c=e(f);r.Form=u.default,r.field=a.default,r.fieldArray=c.default},function(t,r,n){"use strict";function e(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r.default=t,r}function o(t){return t&&t.__esModule?t:{default:t}}function u(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function i(t,r){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!r||"object"!=typeof r&&"function"!=typeof r?t:r}function a(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function, not "+typeof r);t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(t,r):t.__proto__=r)}r.__esModule=!0;var f=n(26),c=o(f),s=n(27),l=o(s),p=n(10),d=o(p),y=n(11),h=e(y),v=n(12),m=e(v),_=n(18),b=n(4),x=n(66),g=o(x),O=n(23),S=e(O),R=n(75),A=e(R),w=function(t){function r(n){u(this,r);var e=i(this,t.call(this,n));return e.handleSubmit=e.handleSubmit.bind(e),e}return a(r,t),r.prototype.shouldComponentUpdate=function(t){return!(0,b.shallowCompare)((0,x.toUpdate)(this.props),(0,x.toUpdate)(t))},r.prototype.componentWillMount=function(){var t=this.props,r=t.name,n=t._form,e=t._addForm;n||e(r)},r.prototype.componentWillUnmount=function(){var t=this.props,r=t.name,n=t.persistent,e=t._removeForm;n||e(r)},r.prototype.getChildContext=function(){return{reduxForms:this.props.name}},r.prototype.handleSubmit=function(t){var r=this.props,n=r.name,e=r.onSubmit,o=r._valid,u=r._values,i=r._touchAll,a=r._submitting,f=r._submitStart,c=r._submitStop;if(t.preventDefault(),i(n),!a&&o&&(0,b.isFunction)(e)){var s=e(u);(0,b.isPromise)(s)&&(f(n),s.then(function(){return c(n)}))}},r.prototype.render=function(){var t=this.props,r=t.children,n=t.withRef;return t._form?h.createElement("form",(0,g.default)((0,d.default)(this.props,{ref:n,onSubmit:this.handleSubmit})),r):null},r}(h.Component);w.defaultProps={persistent:!1,onSubmit:function(){return null},withRef:function(){return null},_form:!1,_values:{},_valid:!1,_submitting:!1,_addForm:l.default,_removeForm:l.default,_touchAll:l.default,_submitStart:l.default,_submitStop:l.default},w.childContextTypes={reduxForms:m.string.isRequired},w.propTypes={name:m.string.isRequired,persistent:m.bool.isRequired,onSubmit:m.func.isRequired,withRef:m.func.isRequired};var j=(0,_.connect)(function(t,r){return{_form:!!(0,c.default)(r.name,t.reduxForms),_values:A.getValues(r.name,t),_valid:A.isValid(r.name,t),_submitting:A.isSubmitting(r.name,t)}},{_addForm:S.addForm,_removeForm:S.removeForm,_touchAll:S.touchAll,_submitStart:S.submitStart,_submitStop:S.submitStop})(w);j.displayName="Form",r.default=j},function(t,r){t.exports=function(t){return t}},function(t,r,n){var e=n(50);t.exports="function"==typeof Object.assign?Object.assign:e},function(t,r,n){var e=n(17);t.exports=function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(t),n=1,o=arguments.length;o>n;){var u=arguments[n];if(null!=u)for(var i in u)e(i,u)&&(r[i]=u[i]);n+=1}return r}},function(t,r,n){"use strict";var e=n(52),o=n(53),u=n(54);t.exports=function(){function t(t,r,n,e,i,a){a!==u&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function r(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:r,element:t,instanceOf:r,node:t,objectOf:r,oneOf:r,oneOfType:r,shape:r};return n.checkPropTypes=e,n.PropTypes=n,n}},function(t,r,n){"use strict";function e(t){return function(){return t}}var o=function(){};o.thatReturns=e,o.thatReturnsFalse=e(!1),o.thatReturnsTrue=e(!0),o.thatReturnsNull=e(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(t){return t},t.exports=o},function(t,r,n){"use strict";function e(t,r,n,e,u,i,a,f){if(o(r),!t){var c;if(void 0===r)c=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,e,u,i,a,f],l=0;c=Error(r.replace(/%s/g,function(){return s[l++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var o=function(t){};t.exports=e},function(t,r,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,r,n){var e=n(2),o=n(21),u=n(29);t.exports=e(function(t){return!!o(t)||!!t&&("object"==typeof t&&(!u(t)&&(1===t.nodeType?!!t.length:0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))})},function(t,r){t.exports=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,r){return this.f(t,r)},function(r){return new t(r)}}()},function(t,r,n){var e=n(6);t.exports=n(0)(function(t,r){return e(t.length,function(){return t.apply(r,arguments)})})},function(t,r,n){var e=n(7);t.exports=function(){var t=Object.prototype.toString;return"[object Arguments]"===t.call(arguments)?function(r){return"[object Arguments]"===t.call(r)}:function(t){return e("callee",t)}}()},function(t,r,n){var e=n(2),o=n(60);t.exports=e(function(t){return null!=t&&o(t.length)?t.length:NaN})},function(t,r){t.exports=function(t){return"[object Number]"===Object.prototype.toString.call(t)}},function(t,r,n){var e=n(6),o=n(62),u=n(28),i=n(63);t.exports=function(){if(0===arguments.length)throw Error("pipe requires at least one argument");return e(arguments[0].length,u(o,arguments[0],i(arguments)))}},function(t,r){t.exports=function(t,r){return function(){return r.call(this,t.apply(this,arguments))}}},function(t,r,n){var e=n(31);t.exports=n(2)(e("tail",n(64)(1,1/0)))},function(t,r,n){var e=n(31);t.exports=n(14)(e("slice",function(t,r,n){return Array.prototype.slice.call(n,t,r)}))},function(t,r,n){var e=n(2),o=n(29);t.exports=e(function(t){return o(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()})},function(t,r,n){"use strict";r.__esModule=!0,r.toUpdate=void 0;var e=n(22),o=function(t){return t&&t.__esModule?t:{default:t}}(e),u=["name","persistent","withRef","_form","_values","_valid","_submitting","_addForm","_removeForm","_touchAll","_submitStart","_submitStop"];r.default=function(t){return(0,o.default)(u,t)};var i=["_values","_valid","_submitting"];r.toUpdate=function(t){return(0,o.default)(i,t)}},function(t,r,n){var e=n(68);t.exports=function(t,r,n){var o,u;if("function"==typeof t.indexOf)switch(typeof r){case"number":if(0===r){for(o=1/r;t.length>n;){if(0===(u=t[n])&&1/u===o)return n;n+=1}return-1}if(r!==r){for(;t.length>n;){if("number"==typeof(u=t[n])&&u!==u)return n;n+=1}return-1}return t.indexOf(r,n);case"string":case"boolean":case"function":case"undefined":return t.indexOf(r,n);case"object":if(null===r)return t.indexOf(r,n)}for(;t.length>n;){if(e(t[n],r))return n;n+=1}return-1}},function(t,r,n){var e=n(0),o=n(69);t.exports=e(function(t,r){return o(t,r,[],[])})},function(t,r,n){var e=n(70),o=n(71),u=n(7),i=n(72),a=n(5),f=n(73);t.exports=function t(r,n,c,s){if(i(r,n))return!0;if(f(r)!==f(n))return!1;if(null==r||null==n)return!1;if("function"==typeof r["fantasy-land/equals"]||"function"==typeof n["fantasy-land/equals"])return"function"==typeof r["fantasy-land/equals"]&&r["fantasy-land/equals"](n)&&"function"==typeof n["fantasy-land/equals"]&&n["fantasy-land/equals"](r);if("function"==typeof r.equals||"function"==typeof n.equals)return"function"==typeof r.equals&&r.equals(n)&&"function"==typeof n.equals&&n.equals(r);switch(f(r)){case"Arguments":case"Array":case"Object":if("function"==typeof r.constructor&&"Promise"===o(r.constructor))return r===n;break;case"Boolean":case"Number":case"String":if(typeof r!=typeof n||!i(r.valueOf(),n.valueOf()))return!1;break;case"Date":if(!i(r.valueOf(),n.valueOf()))return!1;break;case"Error":return r.name===n.name&&r.message===n.message;case"RegExp":if(r.source!==n.source||r.global!==n.global||r.ignoreCase!==n.ignoreCase||r.multiline!==n.multiline||r.sticky!==n.sticky||r.unicode!==n.unicode)return!1;break;case"Map":case"Set":if(!t(e(r.entries()),e(n.entries()),c,s))return!1;break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var l=a(r);if(l.length!==a(n).length)return!1;for(var p=c.length-1;p>=0;){if(c[p]===r)return s[p]===n;p-=1}for(c.push(r),s.push(n),p=l.length-1;p>=0;){var d=l[p];if(!u(d,n)||!t(n[d],r[d],c,s))return!1;p-=1}return c.pop(),s.pop(),!0}},function(t,r){t.exports=function(t){for(var r,n=[];!(r=t.next()).done;)n.push(r.value);return n}},function(t,r){t.exports=function(t){var r=(t+"").match(/^function (\w*)/);return null==r?"":r[1]}},function(t,r,n){t.exports=n(0)(function(t,r){return t===r?0!==t||1/t==1/r:t!==t&&r!==r})},function(t,r,n){t.exports=n(2)(function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)})},function(t,r,n){"use strict";r.__esModule=!0;var e=r.ADD_FORM="@@redux-forms/ADD_FORM",o=r.REMOVE_FORM="@@redux-forms/REMOVE_FORM",u=r.ADD_FIELD="@@redux-forms/ADD_FIELD",i=r.REMOVE_FIELD="@@redux-forms/REMOVE_FIELD",a=r.TOUCH_ALL="@@redux-forms/TOUCH_ALL",f=r.SUBMIT_START="@@redux-forms/SUBMIT_START",c=r.SUBMIT_STOP="@@redux-forms/SUBMIT_STOP",s=r.ADD_ARRAY="@@redux-forms/ADD_ARRAY",l=r.REMOVE_ARRAY="@@redux-forms/REMOVE_ARRAY",p=r.ARRAY_PUSH="@@redux-forms/ARRAY_PUSH",d=r.ARRAY_POP="@@redux-forms/ARRAY_POP",y=r.ARRAY_UNSHIFT="@@redux-forms/ARRAY_UNSHIFT",h=r.ARRAY_SHIFT="@@redux-forms/ARRAY_SHIFT",v=r.ARRAY_INSERT="@@redux-forms/ARRAY_INSERT",m=r.ARRAY_REMOVE="@@redux-forms/ARRAY_REMOVE",_=r.ARRAY_SWAP="@@redux-forms/ARRAY_SWAP",b=r.ARRAY_MOVE="@@redux-forms/ARRAY_MOVE",x=r.FIELD_CHANGE="@@redux-forms/FIELD_CHANGE",g=r.FIELD_FOCUS="@@redux-forms/FIELD_FOCUS",O=r.FIELD_BLUR="@@redux-forms/FIELD_BLUR",S=r.FIELD_VALUE="@@redux-forms/FIELD_VALUE",R=r.FIELD_ERROR="@@redux-forms/FIELD_ERROR",A=r.FIELD_DIRTY="@@redux-forms/FIELD_DIRTY";r.addForm=function(t){return{type:e,payload:{name:t}}},r.removeForm=function(t){return{type:o,payload:{name:t}}},r.addField=function(t,r,n){return{type:u,payload:{form:t,id:r,field:n}}},r.removeField=function(t,r){return{type:i,payload:{form:t,id:r}}},r.touchAll=function(t){return{type:a,payload:{form:t}}},r.submitStart=function(t){return{type:f,payload:{form:t}}},r.submitStop=function(t){return{type:c,payload:{form:t}}},r.addArray=function(t,r){return{type:s,payload:{form:t,id:r}}},r.removeArray=function(t,r){return{type:l,payload:{form:t,id:r}}},r.arrayPush=function(t,r){return{type:p,payload:{form:t,id:r}}},r.arrayPop=function(t,r){return{type:d,payload:{form:t,id:r}}},r.arrayUnshift=function(t,r){return{type:y,payload:{form:t,id:r}}},r.arrayShift=function(t,r){return{type:h,payload:{form:t,id:r}}},r.arrayInsert=function(t,r,n){return{type:v,payload:{form:t,id:r,index:n}}},r.arrayRemove=function(t,r,n){return{type:m,payload:{form:t,id:r,index:n}}},r.arraySwap=function(t,r,n,e){return{type:_,payload:{form:t,id:r,index1:n,index2:e}}},r.arrayMove=function(t,r,n,e){return{type:b,payload:{form:t,id:r,from:n,to:e}}},r.fieldChange=function(t,r,n,e,o){return{type:x,payload:{form:t,field:r,value:n,error:e,dirty:o}}},r.fieldFocus=function(t,r){return{type:g,payload:{form:t,field:r}}},r.fieldBlur=function(t,r,n,e,o){return{type:O,payload:{form:t,field:r,value:n,error:e,dirty:o}}},r.fieldValue=function(t,r,n){return{type:S,payload:{form:t,field:r,value:n}}},r.fieldError=function(t,r,n){return{type:R,payload:{form:t,field:r,error:n}}},r.fieldDirty=function(t,r,n){return{type:A,payload:{form:t,field:r,dirty:n}}}},function(t,r,n){t.exports=n(76)},function(t,r,n){"use strict";function e(t){return t&&t.__esModule?t:{default:t}}function o(t,r){var n=(0,m.default)(["reduxForms",t],r);return n?E(n.fields):j}function u(t,r){var n=(0,m.default)(["reduxForms",t],r);return n?M(n.fields):j}function i(t,r){var n=(0,m.default)(["reduxForms",t],r);return!!n&&T(n.fields)}function a(t,r){var n=(0,m.default)(["reduxForms",t],r);return!!n&&I(n.fields)}function f(t,r){var n=(0,m.default)(["reduxForms",t],r);return!!n&&C(n.fields)}function c(t,r){var n=(0,m.default)(["reduxForms",t],r);return!!n&&n.submitting}r.__esModule=!0;var s=n(33),l=e(s),p=n(79),d=e(p),y=n(80),h=e(y),v=n(81),m=e(v),_=n(19),b=e(_),x=n(36),g=e(x),O=n(30),S=e(O),R=n(85),A=e(R);r.getValues=o,r.getErrors=u,r.isValid=i,r.isTouched=a,r.isDirty=f,r.isSubmitting=c;var w=n(4),j={},F=(0,A.default)(w.unflatten),E=(0,A.default)((0,S.default)(F,(0,g.default)((0,b.default)("value")))),M=(0,A.default)((0,S.default)(F,(0,g.default)((0,b.default)("error")))),P=(0,A.default)(h.default),T=(0,A.default)((0,S.default)((0,d.default)(Boolean),P,(0,g.default)((0,b.default)("error")))),I=(0,A.default)((0,S.default)((0,l.default)(Boolean),P,(0,g.default)((0,b.default)("touched")))),C=(0,A.default)((0,S.default)((0,l.default)(Boolean),P,(0,g.default)((0,b.default)("dirty"))))},function(t,r){t.exports=function(t){return"function"==typeof t["@@transducer/step"]}},function(t,r){t.exports=function(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}},function(t,r,n){var e=n(35);t.exports=n(0)(e(n(15)(["any"],n(34),n(33))))},function(t,r,n){var e=n(2),o=n(5);t.exports=e(function(t){for(var r=o(t),n=r.length,e=[],u=0;n>u;)e[u]=t[r[u]],u+=1;return e})},function(t,r,n){t.exports=n(0)(function(t,r){for(var n=r,e=0;t.length>e;){if(null==n)return;n=n[t[e]],e+=1}return n})},function(t,r,n){var e=n(0),o=n(24);t.exports=function(){function t(t,r){this.xf=r,this.f=t}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=o.result,t.prototype["@@transducer/step"]=function(t,r){return this.xf["@@transducer/step"](t,this.f(r))},e(function(r,n){return new t(r,n)})}()},function(t,r,n){var e=n(6),o=n(2),u=n(0),i=n(84);t.exports=u(function(t,r){return 1===t?o(r):e(t,i(t,[],r))})},function(t,r,n){var e=n(6),o=n(13);t.exports=function t(r,n,u){return function(){for(var i=[],a=0,f=r,c=0;n.length>c||arguments.length>a;){var s;c>=n.length||o(n[c])&&arguments.length>a?(s=arguments[a],a+=1):s=n[c],i[c]=s,o(s)||(f-=1),c+=1}return f>0?e(f,t(r,i,u)):u.apply(this,i)}}},function(t,r,n){var e=n(86),o=n(87);t.exports=e(function(){return o(arguments)})},function(t,r,n){var e=n(6),o=n(0),u=n(7);t.exports=o(function(t,r){var n={};return e(r.length,function(){var e=t.apply(this,arguments);return u(e,n)||(n[e]=r.apply(this,arguments)),n[e]})})},function(t,r,n){var e=n(2),o=n(88);t.exports=e(function(t){return o(t,[])})},function(t,r,n){var e=n(32),o=n(37),u=n(89),i=n(90),a=n(5),f=n(91);t.exports=function t(r,n){var c=function(o){var u=n.concat([r]);return e(o,u)?"<Circular>":t(o,u)},s=function(t,r){return o(function(r){return u(r)+": "+c(t[r])},r.slice().sort())};switch(Object.prototype.toString.call(r)){case"[object Arguments]":return"(function() { return arguments; }("+o(c,r).join(", ")+"))";case"[object Array]":return"["+o(c,r).concat(s(r,f(function(t){return/^\d+$/.test(t)},a(r)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof r?"new Boolean("+c(r.valueOf())+")":""+r;case"[object Date]":return"new Date("+(isNaN(r.valueOf())?c(NaN):u(i(r)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof r?"new Number("+c(r.valueOf())+")":1/r==-1/0?"-0":r.toString(10);case"[object String]":return"object"==typeof r?"new String("+c(r.valueOf())+")":u(r);case"[object Undefined]":return"undefined";default:if("function"==typeof r.toString){var l=""+r;if("[object Object]"!==l)return l}return"{"+s(r,a(r)).join(", ")+"}"}}},function(t,r){t.exports=function(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}},function(t,r){t.exports=function(){var t=function(t){return(10>t?"0":"")+t};return"function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(r){return r.getUTCFullYear()+"-"+t(r.getUTCMonth()+1)+"-"+t(r.getUTCDate())+"T"+t(r.getUTCHours())+":"+t(r.getUTCMinutes())+":"+t(r.getUTCSeconds())+"."+(r.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"}}()},function(t,r,n){var e=n(35),o=n(0),u=n(92);t.exports=o(function(t,r){return u(e(t),r)})},function(t,r,n){var e=n(0),o=n(15),u=n(93),i=n(94),a=n(20),f=n(95),c=n(5);t.exports=e(o(["filter"],f,function(t,r){return i(r)?a(function(n,e){return t(r[e])&&(n[e]=r[e]),n},{},c(r)):u(t,r)}))},function(t,r){t.exports=function(t,r){for(var n=0,e=r.length,o=[];e>n;)t(r[n])&&(o[o.length]=r[n]),n+=1;return o}},function(t,r){t.exports=function(t){return"[object Object]"===Object.prototype.toString.call(t)}},function(t,r,n){var e=n(0),o=n(24);t.exports=function(){function t(t,r){this.xf=r,this.f=t}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=o.result,t.prototype["@@transducer/step"]=function(t,r){return this.f(r)?this.xf["@@transducer/step"](t,r):t},e(function(r,n){return new t(r,n)})}()},function(t,r,n){"use strict";function e(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r.default=t,r}function o(t){return t&&t.__esModule?t:{default:t}}function u(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function i(t,r){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!r||"object"!=typeof r&&"function"!=typeof r?t:r}function a(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function, not "+typeof r);t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(t,r):t.__proto__=r)}function f(t){var r=function(r){function n(t){u(this,n);var e=i(this,r.call(this,t));return e.handleChange=e.handleChange.bind(e),e.handleFocus=e.handleFocus.bind(e),e.handleBlur=e.handleBlur.bind(e),e}return a(n,r),n.prototype.shouldComponentUpdate=function(t){var r=this.props._field;return!(0,C.shallowCompare)((0,M.boolField)(this.props),(0,M.boolField)(t))||(0,O.default)(r&&t._field&&(0,C.shallowCompare)(r,t._field))},n.prototype.componentWillMount=function(){this.props._field||this.newField(this.props)},n.prototype.componentWillReceiveProps=function(t){var r=this.props,n=r._fieldChange,e=r._form,o=r.name,u=r.defaultValue;if(!t._field)return void this.newField(t);if(u!==t.defaultValue){var i=t.normalize(t._field.value);n(e,o,i,t.validate?t.validate(i):t._field.error,t.defaultValue!==i)}},n.prototype.newField=function(t){var r=t.normalize(t.defaultValue);t._addField(t._form,t.name,(0,x.default)((0,_.default)((0,v.default)("value"),r),(0,_.default)((0,v.default)("error"),t.validate?t.validate(r):null))(E.field))},n.prototype.handleChange=function(t){var r=this.props,n=r._fieldChange,e=r._form,o=r._field,u=r.name,i=r.normalize,a=r.validate,f=r.defaultValue;if(o){var c=i((0,I.default)(t));n(e,u,c,a?a(c):o.error,c!==f)}},n.prototype.handleFocus=function(){var t=this.props;(0,t._fieldFocus)(t._form,t.name)},n.prototype.handleBlur=function(t){var r=this.props,n=r._fieldBlur,e=r._form,o=r._field,u=r.name,i=r.normalize,a=r.validate,f=r.defaultValue;if(o){var c=i((0,I.default)(t));n(e,u,c,a?a(c):o.error,c!==f)}},n.prototype.render=function(){var r=this.props,n=r.name,e=r._field;if(!e)return null;var o=(0,y.default)(e,{name:n,onChange:this.handleChange,onFocus:this.handleFocus,onBlur:this.handleBlur}),u=(0,P.default)(o);return R.createElement(t,(0,y.default)(u.rest,{input:u.input,meta:u.meta}))},n}(R.Component);r.defaultProps={normalize:p.default,defaultValue:""},r.propTypes={name:w.string.isRequired,normalize:w.func.isRequired,defaultValue:w.any.isRequired,validate:w.func};var n=(0,j.connect)(function(t,r){return{_field:(0,s.default)([r._form,"fields",r.name],t.reduxForms)}},{_addField:D.addField,_fieldChange:D.fieldChange,_fieldFocus:D.fieldFocus,_fieldBlur:D.fieldBlur}),e=n(r),o=(0,q.default)(e);return o.displayName="field("+(t.displayName||"Component")+")",o}r.__esModule=!0;var c=n(38),s=o(c),l=n(27),p=o(l),d=n(10),y=o(d),h=n(97),v=o(h),m=n(111),_=o(m),b=n(113),x=o(b),g=n(120),O=o(g),S=n(11),R=e(S),A=n(12),w=e(A),j=n(18),F=n(121),E=e(F),M=n(122),P=o(M),T=n(131),I=o(T),C=n(4),U=n(23),D=e(U),N=n(45),q=o(N);r.default=f},function(t,r,n){var e=n(1),o=n(98),u=n(99),i=n(26);t.exports=e(function(t){return u(i(t),o(t))})},function(t,r,n){t.exports=n(8)(function(t,r,n){var e={};for(var o in n)e[o]=n[o];return e[t]=r,e})},function(t,r,n){var e=n(3),o=n(39);t.exports=e(function(t,r){return function(n){return function(e){return o(function(t){return r(t,e)},n(t(e)))}}})},function(t,r,n){var e=n(25),o=n(101);t.exports=function(t,r,n){return function(){if(0===arguments.length)return n();var u=Array.prototype.slice.call(arguments,0),i=u.pop();if(!e(i)){for(var a=0;t.length>a;){if("function"==typeof i[t[a]])return i[t[a]].apply(i,u);a+=1}if(o(i)){return r.apply(null,u)(i)}}return n.apply(this,arguments)}}},function(t,r){t.exports=function(t){return"function"==typeof t["@@transducer/step"]}},function(t,r){t.exports=function(t,r){for(var n=0,e=r.length,o=Array(e);e>n;)o[n]=t(r[n]),n+=1;return o}},function(t,r,n){var e=n(1),o=n(25),u=n(41);t.exports=e(function(t){return!!o(t)||!!t&&("object"==typeof t&&(!u(t)&&(1===t.nodeType?!!t.length:0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))})},function(t,r){t.exports=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,r){return this.f(t,r)},function(r){return new t(r)}}()},function(t,r,n){var e=n(16);t.exports=n(3)(function(t,r){return e(t.length,function(){return t.apply(r,arguments)})})},function(t,r,n){var e=n(3),o=n(107);t.exports=function(){function t(t,r){this.xf=r,this.f=t}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=o.result,t.prototype["@@transducer/step"]=function(t,r){return this.xf["@@transducer/step"](t,this.f(r))},e(function(r,n){return new t(r,n)})}()},function(t,r){t.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}}},function(t,r,n){var e=n(16),o=n(9);t.exports=function t(r,n,u){return function(){for(var i=[],a=0,f=r,c=0;n.length>c||arguments.length>a;){var s;c>=n.length||o(n[c])&&arguments.length>a?(s=arguments[a],a+=1):s=n[c],i[c]=s,o(s)||(f-=1),c+=1}return f>0?e(f,t(r,i,u)):u.apply(this,i)}}},function(t,r,n){var e=n(1),o=n(17),u=n(110);t.exports=function(){var t=!{toString:null}.propertyIsEnumerable("toString"),r=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],n=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),i=function(t,r){for(var n=0;t.length>n;){if(t[n]===r)return!0;n+=1}return!1};return e("function"!=typeof Object.keys||n?function(e){if(Object(e)!==e)return[];var a,f,c=[],s=n&&u(e);for(a in e)!o(a,e)||s&&"length"===a||(c[c.length]=a);if(t)for(f=6;f>=0;)a=r[f],o(a,e)&&!i(c,a)&&(c[c.length]=a),f-=1;return c}:function(t){return Object(t)!==t?[]:Object.keys(t)})}()},function(t,r,n){var e=n(17);t.exports=function(){var t=Object.prototype.toString;return"[object Arguments]"===t.call(arguments)?function(r){return"[object Arguments]"===t.call(r)}:function(t){return e("callee",t)}}()},function(t,r,n){var e=n(8),o=n(43),u=n(112);t.exports=e(function(t,r,n){return u(t,o(r),n)})},function(t,r,n){var e=n(8);t.exports=function(){var t=function(r){return{value:r,map:function(n){return t(n(r))}}};return e(function(r,n,e){return r(function(r){return t(n(r))})(e).value})}()},function(t,r,n){var e=n(114),o=n(119);t.exports=function(){if(0===arguments.length)throw Error("compose requires at least one argument");return e.apply(this,o(arguments))}},function(t,r,n){var e=n(16),o=n(115),u=n(116),i=n(117);t.exports=function(){if(0===arguments.length)throw Error("pipe requires at least one argument");return e(arguments[0].length,u(o,arguments[0],i(arguments)))}},function(t,r){t.exports=function(t,r){return function(){return r.call(this,t.apply(this,arguments))}}},function(t,r,n){t.exports=n(8)(n(40))},function(t,r,n){var e=n(44);t.exports=n(1)(e("tail",n(118)(1,1/0)))},function(t,r,n){var e=n(44);t.exports=n(8)(e("slice",function(t,r,n){return Array.prototype.slice.call(n,t,r)}))},function(t,r,n){var e=n(1),o=n(41);t.exports=e(function(t){return o(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()})},function(t,r,n){t.exports=n(1)(function(t){return!t})},function(t,r,n){"use strict";r.__esModule=!0;r.form={fields:{},arrays:{},submitting:!1},r.field={value:"",error:null,visited:!1,touched:!1,active:!1,dirty:!1}},function(t,r,n){"use strict";function e(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0,r.boolField=void 0;var o=n(123),u=e(o),i=n(126),a=e(i),f=n(22),c=e(f),s=n(127),l=e(s),p=n(128),d=e(p),y=["checked","name","value","onChange","onFocus","onBlur"],h=["active","dirty","error","touched","visited"],v=[].concat(y,h,["validate","normalize","defaultValue","_form","_addField","_fieldChange","_fieldFocus","_fieldBlur"]),m=function(t){return"boolean"==typeof t.value?(0,d.default)(t,{checked:t.value}):t},_=function(t){return{input:(0,l.default)(y,t),meta:(0,l.default)(h,t),rest:(0,c.default)(v,t)}};r.default=function(t){return _(m(t))};r.boolField=(0,a.default)((0,u.default)("_field"),Boolean)},function(t,r,n){var e=n(2),o=n(124),u=n(125),i=n(19);t.exports=e(function(t){return u(i(t),o(t))})},function(t,r,n){t.exports=n(14)(function(t,r,n){var e={};for(var o in n)e[o]=n[o];return e[t]=r,e})},function(t,r,n){var e=n(0),o=n(36);t.exports=e(function(t,r){return function(n){return function(e){return o(function(t){return r(t,e)},n(t(e)))}}})},function(t,r,n){var e=n(14);t.exports=function(){var t=function(r){return{value:r,map:function(n){return t(n(r))}}};return e(function(r,n,e){return r(function(r){return t(n(r))})(e).value})}()},function(t,r,n){t.exports=n(0)(function(t,r){for(var n={},e=0;t.length>e;)t[e]in r&&(n[t[e]]=r[t[e]]),e+=1;return n})},function(t,r,n){var e=n(129);t.exports=n(0)(function(t,r){return e({},t,r)})},function(t,r,n){var e=n(130);t.exports="function"==typeof Object.assign?Object.assign:e},function(t,r,n){var e=n(7);t.exports=function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(t),n=1,o=arguments.length;o>n;){var u=arguments[n];if(null!=u)for(var i in u)e(i,u)&&(r[i]=u[i]);n+=1}return r}},function(t,r,n){"use strict";r.__esModule=!0;var e=n(4),o=function(t){return Array.from(t).filter(function(t){return t.selected}).map(function(t){return t.value})};r.default=function(t){if(!(0,e.isEvent)(t))return t;var r=t.target;switch(r.type){case"checkbox":return r.checked;case"file":return r.files;case"select-multiple":return o(r.options);default:return r.value}}},function(t,r,n){"use strict";function e(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r.default=t,r}function o(t){return t&&t.__esModule?t:{default:t}}function u(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function i(t,r){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!r||"object"!=typeof r&&"function"!=typeof r?t:r}function a(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function, not "+typeof r);t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(t,r):t.__proto__=r)}function f(t){var r=function(r){function n(t){u(this,n);var e=i(this,r.call(this,t));return e.handleMap=e.handleMap.bind(e),e.handlePush=e.handlePush.bind(e),e.handlePop=e.handlePop.bind(e),e.handleUnshift=e.handleUnshift.bind(e),e.handleShift=e.handleShift.bind(e),e.handleInsert=e.handleInsert.bind(e),e.handleRemove=e.handleRemove.bind(e),e.handleSwap=e.handleSwap.bind(e),e.handleMove=e.handleMove.bind(e),e}return a(n,r),n.prototype.componentWillMount=function(){var t=this.props,r=t._form,n=t.name,e=t._array,o=t._addArray;e||o(r,n)},n.prototype.handleMap=function(t){var r=this.props,n=r.name,e=r._array;if(!(0,w.isNumber)(e))return[];var o=(0,y.default)(null,e);return P(t,P(function(t,r){return n+"."+r},o))},n.prototype.handlePush=function(){var t=this.props;(0,t._arrayPush)(t._form,t.name)},n.prototype.handlePop=function(){var t=this.props,r=t._form,n=t.name,e=t._array,o=t._arrayPop;(0,w.isNumber)(e)&&e>0&&o(r,n)},n.prototype.handleUnshift=function(){var t=this.props;(0,t._arrayUnshift)(t._form,t.name)},n.prototype.handleShift=function(){var t=this.props,r=t._form,n=t.name,e=t._array,o=t._arrayShift;(0,w.isNumber)(e)&&e>0&&o(r,n)},n.prototype.handleInsert=function(t){var r=this.props;(0,r._arrayInsert)(r._form,r.name,t)},n.prototype.handleRemove=function(t){var r=this.props;(0,r._arrayRemove)(r._form,r.name,t)},n.prototype.handleSwap=function(t,r){var n=this.props;(0,n._arraySwap)(n._form,n.name,t,r)},n.prototype.handleMove=function(t,r){var n=this.props;(0,n._arrayMove)(n._form,n.name,t,r)},n.prototype.render=function(){var r=this.props._array;return(0,w.isNumber)(r)?x.createElement(t,(0,p.default)((0,A.default)(this.props),{fields:{length:r,map:this.handleMap,push:this.handlePush,pop:this.handlePop,unshift:this.handleUnshift,shift:this.handleShift,insert:this.handleInsert,remove:this.handleRemove,swap:this.handleSwap,move:this.handleMove}})):null},n}(x.PureComponent);r.propTypes={name:O.string.isRequired};var n=(0,S.connect)(function(t,r){return{_array:(0,s.default)([r._form,"arrays",r.name],t.reduxForms)}},{_addArray:F.addArray,_arrayPush:F.arrayPush,_arrayPop:F.arrayPop,_arrayUnshift:F.arrayUnshift,_arrayShift:F.arrayShift,_arrayInsert:F.arrayInsert,_arrayRemove:F.arrayRemove,_arraySwap:F.arraySwap,_arrayMove:F.arrayMove}),e=n(r),o=(0,M.default)(e);return o.displayName="fieldArray("+(t.displayName||"Component")+")",o}r.__esModule=!0;var c=n(38),s=o(c),l=n(10),p=o(l),d=n(133),y=o(d),h=n(39),v=o(h),m=n(135),_=o(m),b=n(11),x=e(b),g=n(12),O=e(g),S=n(18),R=n(137),A=o(R),w=n(4),j=n(23),F=e(j),E=n(45),M=o(E),P=(0,_.default)(v.default);r.default=f},function(t,r,n){var e=n(3),o=n(43),u=n(134);t.exports=e(function(t,r){return u(o(t),r)})},function(t,r,n){t.exports=n(3)(function(t,r){var n,e=+r,o=0;if(0>e||isNaN(e))throw new RangeError("n must be a non-negative number");for(n=Array(e);e>o;)n[o]=t(o),o+=1;return n})},function(t,r,n){var e=n(136),o=n(1),u=n(42);t.exports=o(function(t){return u(t.length,function(){var r=0,n=arguments[0],o=arguments[arguments.length-1],u=Array.prototype.slice.call(arguments,0);return u[0]=function(){var t=n.apply(this,e(arguments,[r,o]));return r+=1,t},t.apply(this,u)})})},function(t,r){t.exports=function(t,r){t=t||[],r=r||[];var n,e=t.length,o=r.length,u=[];for(n=0;e>n;)u[u.length]=t[n],n+=1;for(n=0;o>n;)u[u.length]=r[n],n+=1;return u}},function(t,r,n){"use strict";r.__esModule=!0;var e=n(22),o=function(t){return t&&t.__esModule?t:{default:t}}(e),u=["_form","_array","_addArray","_arrayPush","_arrayPop","_arrayUnshift","_arrayShift","_arrayInsert","_arrayRemove","_arraySwap","_arrayMove"];r.default=function(t){return(0,o.default)(u,t)}}])});
\No newline at end of file