react-router 3.1.0-rc.1 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52,7 +52,7 @@ return /******/ (function(modules) { // webpackBootstrap
52
52
  /************************************************************************/
53
53
  /******/ ([
54
54
  /* 0 */
55
- /***/ function(module, exports, __webpack_require__) {
55
+ /***/ (function(module, exports, __webpack_require__) {
56
56
 
57
57
  'use strict';
58
58
 
@@ -96,7 +96,7 @@ return /******/ (function(modules) { // webpackBootstrap
96
96
 
97
97
  var _Router3 = _interopRequireDefault(_Router2);
98
98
 
99
- var _Link2 = __webpack_require__(24);
99
+ var _Link2 = __webpack_require__(25);
100
100
 
101
101
  var _Link3 = _interopRequireDefault(_Link2);
102
102
 
@@ -116,7 +116,7 @@ return /******/ (function(modules) { // webpackBootstrap
116
116
 
117
117
  var _IndexRoute3 = _interopRequireDefault(_IndexRoute2);
118
118
 
119
- var _Redirect2 = __webpack_require__(26);
119
+ var _Redirect2 = __webpack_require__(27);
120
120
 
121
121
  var _Redirect3 = _interopRequireDefault(_Redirect2);
122
122
 
@@ -132,7 +132,7 @@ return /******/ (function(modules) { // webpackBootstrap
132
132
 
133
133
  var _match3 = _interopRequireDefault(_match2);
134
134
 
135
- var _useRouterHistory2 = __webpack_require__(31);
135
+ var _useRouterHistory2 = __webpack_require__(32);
136
136
 
137
137
  var _useRouterHistory3 = _interopRequireDefault(_useRouterHistory2);
138
138
 
@@ -148,7 +148,7 @@ return /******/ (function(modules) { // webpackBootstrap
148
148
 
149
149
  var _hashHistory3 = _interopRequireDefault(_hashHistory2);
150
150
 
151
- var _createMemoryHistory2 = __webpack_require__(28);
151
+ var _createMemoryHistory2 = __webpack_require__(29);
152
152
 
153
153
  var _createMemoryHistory3 = _interopRequireDefault(_createMemoryHistory2);
154
154
 
@@ -180,9 +180,9 @@ return /******/ (function(modules) { // webpackBootstrap
180
180
  exports.hashHistory = _hashHistory3.default;
181
181
  exports.createMemoryHistory = _createMemoryHistory3.default;
182
182
 
183
- /***/ },
183
+ /***/ }),
184
184
  /* 1 */
185
- /***/ function(module, exports, __webpack_require__) {
185
+ /***/ (function(module, exports, __webpack_require__) {
186
186
 
187
187
  /**
188
188
  * Copyright 2013-2015, Facebook, Inc.
@@ -237,46 +237,49 @@ return /******/ (function(modules) { // webpackBootstrap
237
237
  module.exports = invariant;
238
238
 
239
239
 
240
- /***/ },
240
+ /***/ }),
241
241
  /* 2 */
242
- /***/ function(module, exports, __webpack_require__) {
242
+ /***/ (function(module, exports, __webpack_require__) {
243
243
 
244
244
  /**
245
- * Copyright 2013-present, Facebook, Inc.
246
- * All rights reserved.
245
+ * Copyright (c) 2013-present, Facebook, Inc.
247
246
  *
248
- * This source code is licensed under the BSD-style license found in the
249
- * LICENSE file in the root directory of this source tree. An additional grant
250
- * of patent rights can be found in the PATENTS file in the same directory.
247
+ * This source code is licensed under the MIT license found in the
248
+ * LICENSE file in the root directory of this source tree.
251
249
  */
252
250
 
253
- var factory = __webpack_require__(64);
254
-
255
- var REACT_ELEMENT_TYPE = (typeof Symbol === 'function' &&
256
- Symbol.for &&
257
- Symbol.for('react.element')) ||
258
- 0xeac7;
251
+ if (true) {
252
+ var REACT_ELEMENT_TYPE = (typeof Symbol === 'function' &&
253
+ Symbol.for &&
254
+ Symbol.for('react.element')) ||
255
+ 0xeac7;
256
+
257
+ var isValidElement = function(object) {
258
+ return typeof object === 'object' &&
259
+ object !== null &&
260
+ object.$$typeof === REACT_ELEMENT_TYPE;
261
+ };
259
262
 
260
- function isValidElement(object) {
261
- return typeof object === 'object' &&
262
- object !== null &&
263
- object.$$typeof === REACT_ELEMENT_TYPE;
263
+ // By explicitly using `prop-types` you are opting into new development behavior.
264
+ // http://fb.me/prop-types-in-prod
265
+ var throwOnDirectAccess = true;
266
+ module.exports = __webpack_require__(64)(isValidElement, throwOnDirectAccess);
267
+ } else {
268
+ // By explicitly using `prop-types` you are opting into new production behavior.
269
+ // http://fb.me/prop-types-in-prod
270
+ module.exports = require('./factoryWithThrowingShims')();
264
271
  }
265
272
 
266
- module.exports = factory(isValidElement);
267
273
 
268
-
269
- /***/ },
274
+ /***/ }),
270
275
  /* 3 */
271
- /***/ function(module, exports, __webpack_require__) {
276
+ /***/ (function(module, exports, __webpack_require__) {
272
277
 
273
278
  /**
274
- * Copyright 2013-present, Facebook, Inc.
275
- * All rights reserved.
279
+ * Copyright (c) 2013-present, Facebook, Inc.
276
280
  *
277
- * This source code is licensed under the BSD-style license found in the
278
- * LICENSE file in the root directory of this source tree. An additional grant
279
- * of patent rights can be found in the PATENTS file in the same directory.
281
+ * This source code is licensed under the MIT license found in the
282
+ * LICENSE file in the root directory of this source tree.
280
283
  *
281
284
  */
282
285
 
@@ -285,6 +288,13 @@ return /******/ (function(modules) { // webpackBootstrap
285
288
  var React = __webpack_require__(7);
286
289
  var factory = __webpack_require__(54);
287
290
 
291
+ if (typeof React === 'undefined') {
292
+ throw Error(
293
+ 'create-react-class could not find the React object. If you are using script tags, ' +
294
+ 'make sure that React is being loaded before create-react-class.'
295
+ );
296
+ }
297
+
288
298
  // Hack to grab NoopUpdateQueue from isomorphic React
289
299
  var ReactNoopUpdateQueue = new React.Component().updater;
290
300
 
@@ -295,9 +305,9 @@ return /******/ (function(modules) { // webpackBootstrap
295
305
  );
296
306
 
297
307
 
298
- /***/ },
308
+ /***/ }),
299
309
  /* 4 */
300
- /***/ function(module, exports, __webpack_require__) {
310
+ /***/ (function(module, exports, __webpack_require__) {
301
311
 
302
312
  'use strict';
303
313
 
@@ -393,9 +403,9 @@ return /******/ (function(modules) { // webpackBootstrap
393
403
  return routes;
394
404
  }
395
405
 
396
- /***/ },
406
+ /***/ }),
397
407
  /* 5 */
398
- /***/ function(module, exports, __webpack_require__) {
408
+ /***/ (function(module, exports, __webpack_require__) {
399
409
 
400
410
  'use strict';
401
411
 
@@ -494,9 +504,9 @@ return /******/ (function(modules) { // webpackBootstrap
494
504
  return path;
495
505
  };
496
506
 
497
- /***/ },
507
+ /***/ }),
498
508
  /* 6 */
499
- /***/ function(module, exports, __webpack_require__) {
509
+ /***/ (function(module, exports, __webpack_require__) {
500
510
 
501
511
  /**
502
512
  * Copyright 2014-2015, Facebook, Inc.
@@ -560,15 +570,15 @@ return /******/ (function(modules) { // webpackBootstrap
560
570
  module.exports = warning;
561
571
 
562
572
 
563
- /***/ },
573
+ /***/ }),
564
574
  /* 7 */
565
- /***/ function(module, exports) {
575
+ /***/ (function(module, exports) {
566
576
 
567
577
  module.exports = __WEBPACK_EXTERNAL_MODULE_7__;
568
578
 
569
- /***/ },
579
+ /***/ }),
570
580
  /* 8 */
571
- /***/ function(module, exports, __webpack_require__) {
581
+ /***/ (function(module, exports, __webpack_require__) {
572
582
 
573
583
  'use strict';
574
584
 
@@ -815,9 +825,9 @@ return /******/ (function(modules) { // webpackBootstrap
815
825
  return pathname.replace(/\/+/g, '/');
816
826
  }
817
827
 
818
- /***/ },
828
+ /***/ }),
819
829
  /* 9 */
820
- /***/ function(module, exports, __webpack_require__) {
830
+ /***/ (function(module, exports, __webpack_require__) {
821
831
 
822
832
  'use strict';
823
833
 
@@ -856,9 +866,9 @@ return /******/ (function(modules) { // webpackBootstrap
856
866
  warned = {};
857
867
  }
858
868
 
859
- /***/ },
869
+ /***/ }),
860
870
  /* 10 */
861
- /***/ function(module, exports, __webpack_require__) {
871
+ /***/ (function(module, exports, __webpack_require__) {
862
872
 
863
873
  'use strict';
864
874
 
@@ -953,9 +963,9 @@ return /******/ (function(modules) { // webpackBootstrap
953
963
  a.pathname === b.pathname && a.search === b.search && a.hash === b.hash && statesAreEqual(a.state, b.state);
954
964
  };
955
965
 
956
- /***/ },
966
+ /***/ }),
957
967
  /* 11 */
958
- /***/ function(module, exports, __webpack_require__) {
968
+ /***/ (function(module, exports, __webpack_require__) {
959
969
 
960
970
  'use strict';
961
971
 
@@ -983,9 +993,9 @@ return /******/ (function(modules) { // webpackBootstrap
983
993
  var route = exports.route = (0, _propTypes.oneOfType)([_propTypes.object, _propTypes.element]);
984
994
  var routes = exports.routes = (0, _propTypes.oneOfType)([route, (0, _propTypes.arrayOf)(route)]);
985
995
 
986
- /***/ },
996
+ /***/ }),
987
997
  /* 12 */
988
- /***/ function(module, exports) {
998
+ /***/ (function(module, exports) {
989
999
 
990
1000
  'use strict';
991
1001
 
@@ -1010,9 +1020,9 @@ return /******/ (function(modules) { // webpackBootstrap
1010
1020
  */
1011
1021
  var POP = exports.POP = 'POP';
1012
1022
 
1013
- /***/ },
1023
+ /***/ }),
1014
1024
  /* 13 */
1015
- /***/ function(module, exports) {
1025
+ /***/ (function(module, exports) {
1016
1026
 
1017
1027
  'use strict';
1018
1028
 
@@ -1064,9 +1074,9 @@ return /******/ (function(modules) { // webpackBootstrap
1064
1074
  return event.state === undefined && navigator.userAgent.indexOf('CriOS') === -1;
1065
1075
  };
1066
1076
 
1067
- /***/ },
1077
+ /***/ }),
1068
1078
  /* 14 */
1069
- /***/ function(module, exports) {
1079
+ /***/ (function(module, exports) {
1070
1080
 
1071
1081
  "use strict";
1072
1082
 
@@ -1157,9 +1167,9 @@ return /******/ (function(modules) { // webpackBootstrap
1157
1167
  });
1158
1168
  }
1159
1169
 
1160
- /***/ },
1170
+ /***/ }),
1161
1171
  /* 15 */
1162
- /***/ function(module, exports, __webpack_require__) {
1172
+ /***/ (function(module, exports, __webpack_require__) {
1163
1173
 
1164
1174
  'use strict';
1165
1175
 
@@ -1287,9 +1297,9 @@ return /******/ (function(modules) { // webpackBootstrap
1287
1297
  }, _ref4;
1288
1298
  }
1289
1299
 
1290
- /***/ },
1300
+ /***/ }),
1291
1301
  /* 16 */
1292
- /***/ function(module, exports, __webpack_require__) {
1302
+ /***/ (function(module, exports, __webpack_require__) {
1293
1303
 
1294
1304
  'use strict';
1295
1305
 
@@ -1316,9 +1326,9 @@ return /******/ (function(modules) { // webpackBootstrap
1316
1326
  key: _propTypes.string
1317
1327
  });
1318
1328
 
1319
- /***/ },
1329
+ /***/ }),
1320
1330
  /* 17 */
1321
- /***/ function(module, exports, __webpack_require__) {
1331
+ /***/ (function(module, exports, __webpack_require__) {
1322
1332
 
1323
1333
  'use strict';
1324
1334
 
@@ -1452,17 +1462,15 @@ return /******/ (function(modules) { // webpackBootstrap
1452
1462
 
1453
1463
  exports.default = RouterContext;
1454
1464
 
1455
- /***/ },
1465
+ /***/ }),
1456
1466
  /* 18 */
1457
- /***/ function(module, exports, __webpack_require__) {
1467
+ /***/ (function(module, exports, __webpack_require__) {
1458
1468
 
1459
1469
  /**
1460
1470
  * Copyright (c) 2013-present, Facebook, Inc.
1461
- * All rights reserved.
1462
1471
  *
1463
- * This source code is licensed under the BSD-style license found in the
1464
- * LICENSE file in the root directory of this source tree. An additional grant
1465
- * of patent rights can be found in the PATENTS file in the same directory.
1472
+ * This source code is licensed under the MIT license found in the
1473
+ * LICENSE file in the root directory of this source tree.
1466
1474
  *
1467
1475
  */
1468
1476
 
@@ -1512,23 +1520,21 @@ return /******/ (function(modules) { // webpackBootstrap
1512
1520
 
1513
1521
  module.exports = invariant;
1514
1522
 
1515
- /***/ },
1523
+ /***/ }),
1516
1524
  /* 19 */
1517
- /***/ function(module, exports, __webpack_require__) {
1525
+ /***/ (function(module, exports, __webpack_require__) {
1518
1526
 
1519
1527
  /**
1520
- * Copyright 2014-2015, Facebook, Inc.
1521
- * All rights reserved.
1528
+ * Copyright (c) 2014-present, Facebook, Inc.
1522
1529
  *
1523
- * This source code is licensed under the BSD-style license found in the
1524
- * LICENSE file in the root directory of this source tree. An additional grant
1525
- * of patent rights can be found in the PATENTS file in the same directory.
1530
+ * This source code is licensed under the MIT license found in the
1531
+ * LICENSE file in the root directory of this source tree.
1526
1532
  *
1527
1533
  */
1528
1534
 
1529
1535
  'use strict';
1530
1536
 
1531
- var emptyFunction = __webpack_require__(32);
1537
+ var emptyFunction = __webpack_require__(33);
1532
1538
 
1533
1539
  /**
1534
1540
  * Similar to invariant but only logs a warning if the condition is not met.
@@ -1540,52 +1546,50 @@ return /******/ (function(modules) { // webpackBootstrap
1540
1546
  var warning = emptyFunction;
1541
1547
 
1542
1548
  if (true) {
1543
- (function () {
1544
- var printWarning = function printWarning(format) {
1545
- for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
1546
- args[_key - 1] = arguments[_key];
1547
- }
1548
-
1549
- var argIndex = 0;
1550
- var message = 'Warning: ' + format.replace(/%s/g, function () {
1551
- return args[argIndex++];
1552
- });
1553
- if (typeof console !== 'undefined') {
1554
- console.error(message);
1555
- }
1556
- try {
1557
- // --- Welcome to debugging React ---
1558
- // This error was thrown as a convenience so that you can use this stack
1559
- // to find the callsite that caused this warning to fire.
1560
- throw new Error(message);
1561
- } catch (x) {}
1562
- };
1549
+ var printWarning = function printWarning(format) {
1550
+ for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
1551
+ args[_key - 1] = arguments[_key];
1552
+ }
1563
1553
 
1564
- warning = function warning(condition, format) {
1565
- if (format === undefined) {
1566
- throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');
1567
- }
1554
+ var argIndex = 0;
1555
+ var message = 'Warning: ' + format.replace(/%s/g, function () {
1556
+ return args[argIndex++];
1557
+ });
1558
+ if (typeof console !== 'undefined') {
1559
+ console.error(message);
1560
+ }
1561
+ try {
1562
+ // --- Welcome to debugging React ---
1563
+ // This error was thrown as a convenience so that you can use this stack
1564
+ // to find the callsite that caused this warning to fire.
1565
+ throw new Error(message);
1566
+ } catch (x) {}
1567
+ };
1568
1568
 
1569
- if (format.indexOf('Failed Composite propType: ') === 0) {
1570
- return; // Ignore CompositeComponent proptype check.
1571
- }
1569
+ warning = function warning(condition, format) {
1570
+ if (format === undefined) {
1571
+ throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');
1572
+ }
1572
1573
 
1573
- if (!condition) {
1574
- for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
1575
- args[_key2 - 2] = arguments[_key2];
1576
- }
1574
+ if (format.indexOf('Failed Composite propType: ') === 0) {
1575
+ return; // Ignore CompositeComponent proptype check.
1576
+ }
1577
1577
 
1578
- printWarning.apply(undefined, [format].concat(args));
1578
+ if (!condition) {
1579
+ for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
1580
+ args[_key2 - 2] = arguments[_key2];
1579
1581
  }
1580
- };
1581
- })();
1582
+
1583
+ printWarning.apply(undefined, [format].concat(args));
1584
+ }
1585
+ };
1582
1586
  }
1583
1587
 
1584
1588
  module.exports = warning;
1585
1589
 
1586
- /***/ },
1590
+ /***/ }),
1587
1591
  /* 20 */
1588
- /***/ function(module, exports, __webpack_require__) {
1592
+ /***/ (function(module, exports, __webpack_require__) {
1589
1593
 
1590
1594
  'use strict';
1591
1595
 
@@ -1596,7 +1600,7 @@ return /******/ (function(modules) { // webpackBootstrap
1596
1600
 
1597
1601
  var _DOMUtils = __webpack_require__(13);
1598
1602
 
1599
- var _DOMStateStorage = __webpack_require__(33);
1603
+ var _DOMStateStorage = __webpack_require__(34);
1600
1604
 
1601
1605
  var _PathUtils = __webpack_require__(5);
1602
1606
 
@@ -1687,18 +1691,18 @@ return /******/ (function(modules) { // webpackBootstrap
1687
1691
  if (n) window.history.go(n);
1688
1692
  };
1689
1693
 
1690
- /***/ },
1694
+ /***/ }),
1691
1695
  /* 21 */
1692
- /***/ function(module, exports) {
1696
+ /***/ (function(module, exports) {
1693
1697
 
1694
1698
  'use strict';
1695
1699
 
1696
1700
  exports.__esModule = true;
1697
1701
  var canUseDOM = exports.canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
1698
1702
 
1699
- /***/ },
1703
+ /***/ }),
1700
1704
  /* 22 */
1701
- /***/ function(module, exports, __webpack_require__) {
1705
+ /***/ (function(module, exports, __webpack_require__) {
1702
1706
 
1703
1707
  'use strict';
1704
1708
 
@@ -1877,9 +1881,9 @@ return /******/ (function(modules) { // webpackBootstrap
1877
1881
 
1878
1882
  exports.default = createHistory;
1879
1883
 
1880
- /***/ },
1884
+ /***/ }),
1881
1885
  /* 23 */
1882
- /***/ function(module, exports, __webpack_require__) {
1886
+ /***/ (function(module, exports, __webpack_require__) {
1883
1887
 
1884
1888
  'use strict';
1885
1889
 
@@ -1905,9 +1909,105 @@ return /******/ (function(modules) { // webpackBootstrap
1905
1909
 
1906
1910
  exports.default = runTransitionHook;
1907
1911
 
1908
- /***/ },
1912
+ /***/ }),
1909
1913
  /* 24 */
1910
- /***/ function(module, exports, __webpack_require__) {
1914
+ /***/ (function(module, exports) {
1915
+
1916
+ /*
1917
+ object-assign
1918
+ (c) Sindre Sorhus
1919
+ @license MIT
1920
+ */
1921
+
1922
+ 'use strict';
1923
+ /* eslint-disable no-unused-vars */
1924
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
1925
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
1926
+ var propIsEnumerable = Object.prototype.propertyIsEnumerable;
1927
+
1928
+ function toObject(val) {
1929
+ if (val === null || val === undefined) {
1930
+ throw new TypeError('Object.assign cannot be called with null or undefined');
1931
+ }
1932
+
1933
+ return Object(val);
1934
+ }
1935
+
1936
+ function shouldUseNative() {
1937
+ try {
1938
+ if (!Object.assign) {
1939
+ return false;
1940
+ }
1941
+
1942
+ // Detect buggy property enumeration order in older V8 versions.
1943
+
1944
+ // https://bugs.chromium.org/p/v8/issues/detail?id=4118
1945
+ var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
1946
+ test1[5] = 'de';
1947
+ if (Object.getOwnPropertyNames(test1)[0] === '5') {
1948
+ return false;
1949
+ }
1950
+
1951
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
1952
+ var test2 = {};
1953
+ for (var i = 0; i < 10; i++) {
1954
+ test2['_' + String.fromCharCode(i)] = i;
1955
+ }
1956
+ var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
1957
+ return test2[n];
1958
+ });
1959
+ if (order2.join('') !== '0123456789') {
1960
+ return false;
1961
+ }
1962
+
1963
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
1964
+ var test3 = {};
1965
+ 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
1966
+ test3[letter] = letter;
1967
+ });
1968
+ if (Object.keys(Object.assign({}, test3)).join('') !==
1969
+ 'abcdefghijklmnopqrst') {
1970
+ return false;
1971
+ }
1972
+
1973
+ return true;
1974
+ } catch (err) {
1975
+ // We don't expect any of the above to throw, but better to be safe.
1976
+ return false;
1977
+ }
1978
+ }
1979
+
1980
+ module.exports = shouldUseNative() ? Object.assign : function (target, source) {
1981
+ var from;
1982
+ var to = toObject(target);
1983
+ var symbols;
1984
+
1985
+ for (var s = 1; s < arguments.length; s++) {
1986
+ from = Object(arguments[s]);
1987
+
1988
+ for (var key in from) {
1989
+ if (hasOwnProperty.call(from, key)) {
1990
+ to[key] = from[key];
1991
+ }
1992
+ }
1993
+
1994
+ if (getOwnPropertySymbols) {
1995
+ symbols = getOwnPropertySymbols(from);
1996
+ for (var i = 0; i < symbols.length; i++) {
1997
+ if (propIsEnumerable.call(from, symbols[i])) {
1998
+ to[symbols[i]] = from[symbols[i]];
1999
+ }
2000
+ }
2001
+ }
2002
+ }
2003
+
2004
+ return to;
2005
+ };
2006
+
2007
+
2008
+ /***/ }),
2009
+ /* 25 */
2010
+ /***/ (function(module, exports, __webpack_require__) {
1911
2011
 
1912
2012
  'use strict';
1913
2013
 
@@ -2056,9 +2156,9 @@ return /******/ (function(modules) { // webpackBootstrap
2056
2156
 
2057
2157
  exports.default = Link;
2058
2158
 
2059
- /***/ },
2060
- /* 25 */
2061
- /***/ function(module, exports) {
2159
+ /***/ }),
2160
+ /* 26 */
2161
+ /***/ (function(module, exports) {
2062
2162
 
2063
2163
  'use strict';
2064
2164
 
@@ -2068,9 +2168,9 @@ return /******/ (function(modules) { // webpackBootstrap
2068
2168
  return obj && typeof obj.then === 'function';
2069
2169
  }
2070
2170
 
2071
- /***/ },
2072
- /* 26 */
2073
- /***/ function(module, exports, __webpack_require__) {
2171
+ /***/ }),
2172
+ /* 27 */
2173
+ /***/ (function(module, exports, __webpack_require__) {
2074
2174
 
2075
2175
  'use strict';
2076
2176
 
@@ -2171,9 +2271,9 @@ return /******/ (function(modules) { // webpackBootstrap
2171
2271
 
2172
2272
  exports.default = Redirect;
2173
2273
 
2174
- /***/ },
2175
- /* 27 */
2176
- /***/ function(module, exports) {
2274
+ /***/ }),
2275
+ /* 28 */
2276
+ /***/ (function(module, exports) {
2177
2277
 
2178
2278
  "use strict";
2179
2279
 
@@ -2204,20 +2304,20 @@ return /******/ (function(modules) { // webpackBootstrap
2204
2304
  return router;
2205
2305
  }
2206
2306
 
2207
- /***/ },
2208
- /* 28 */
2209
- /***/ function(module, exports, __webpack_require__) {
2307
+ /***/ }),
2308
+ /* 29 */
2309
+ /***/ (function(module, exports, __webpack_require__) {
2210
2310
 
2211
2311
  'use strict';
2212
2312
 
2213
2313
  exports.__esModule = true;
2214
2314
  exports.default = createMemoryHistory;
2215
2315
 
2216
- var _useQueries = __webpack_require__(35);
2316
+ var _useQueries = __webpack_require__(36);
2217
2317
 
2218
2318
  var _useQueries2 = _interopRequireDefault(_useQueries);
2219
2319
 
2220
- var _useBasename = __webpack_require__(34);
2320
+ var _useBasename = __webpack_require__(35);
2221
2321
 
2222
2322
  var _useBasename2 = _interopRequireDefault(_useBasename);
2223
2323
 
@@ -2239,16 +2339,16 @@ return /******/ (function(modules) { // webpackBootstrap
2239
2339
  return history;
2240
2340
  }
2241
2341
 
2242
- /***/ },
2243
- /* 29 */
2244
- /***/ function(module, exports, __webpack_require__) {
2342
+ /***/ }),
2343
+ /* 30 */
2344
+ /***/ (function(module, exports, __webpack_require__) {
2245
2345
 
2246
2346
  'use strict';
2247
2347
 
2248
2348
  exports.__esModule = true;
2249
2349
  exports.default = createRouterHistory;
2250
2350
 
2251
- var _useRouterHistory = __webpack_require__(31);
2351
+ var _useRouterHistory = __webpack_require__(32);
2252
2352
 
2253
2353
  var _useRouterHistory2 = _interopRequireDefault(_useRouterHistory);
2254
2354
 
@@ -2262,9 +2362,9 @@ return /******/ (function(modules) { // webpackBootstrap
2262
2362
  return history;
2263
2363
  }
2264
2364
 
2265
- /***/ },
2266
- /* 30 */
2267
- /***/ function(module, exports, __webpack_require__) {
2365
+ /***/ }),
2366
+ /* 31 */
2367
+ /***/ (function(module, exports, __webpack_require__) {
2268
2368
 
2269
2369
  'use strict';
2270
2370
 
@@ -2550,20 +2650,20 @@ return /******/ (function(modules) { // webpackBootstrap
2550
2650
  };
2551
2651
  }
2552
2652
 
2553
- /***/ },
2554
- /* 31 */
2555
- /***/ function(module, exports, __webpack_require__) {
2653
+ /***/ }),
2654
+ /* 32 */
2655
+ /***/ (function(module, exports, __webpack_require__) {
2556
2656
 
2557
2657
  'use strict';
2558
2658
 
2559
2659
  exports.__esModule = true;
2560
2660
  exports.default = useRouterHistory;
2561
2661
 
2562
- var _useQueries = __webpack_require__(35);
2662
+ var _useQueries = __webpack_require__(36);
2563
2663
 
2564
2664
  var _useQueries2 = _interopRequireDefault(_useQueries);
2565
2665
 
2566
- var _useBasename = __webpack_require__(34);
2666
+ var _useBasename = __webpack_require__(35);
2567
2667
 
2568
2668
  var _useBasename2 = _interopRequireDefault(_useBasename);
2569
2669
 
@@ -2576,19 +2676,17 @@ return /******/ (function(modules) { // webpackBootstrap
2576
2676
  };
2577
2677
  }
2578
2678
 
2579
- /***/ },
2580
- /* 32 */
2581
- /***/ function(module, exports) {
2679
+ /***/ }),
2680
+ /* 33 */
2681
+ /***/ (function(module, exports) {
2582
2682
 
2583
2683
  "use strict";
2584
2684
 
2585
2685
  /**
2586
2686
  * Copyright (c) 2013-present, Facebook, Inc.
2587
- * All rights reserved.
2588
2687
  *
2589
- * This source code is licensed under the BSD-style license found in the
2590
- * LICENSE file in the root directory of this source tree. An additional grant
2591
- * of patent rights can be found in the PATENTS file in the same directory.
2688
+ * This source code is licensed under the MIT license found in the
2689
+ * LICENSE file in the root directory of this source tree.
2592
2690
  *
2593
2691
  *
2594
2692
  */
@@ -2619,9 +2717,9 @@ return /******/ (function(modules) { // webpackBootstrap
2619
2717
 
2620
2718
  module.exports = emptyFunction;
2621
2719
 
2622
- /***/ },
2623
- /* 33 */
2624
- /***/ function(module, exports, __webpack_require__) {
2720
+ /***/ }),
2721
+ /* 34 */
2722
+ /***/ (function(module, exports, __webpack_require__) {
2625
2723
 
2626
2724
  'use strict';
2627
2725
 
@@ -2709,9 +2807,9 @@ return /******/ (function(modules) { // webpackBootstrap
2709
2807
  return undefined;
2710
2808
  };
2711
2809
 
2712
- /***/ },
2713
- /* 34 */
2714
- /***/ function(module, exports, __webpack_require__) {
2810
+ /***/ }),
2811
+ /* 35 */
2812
+ /***/ (function(module, exports, __webpack_require__) {
2715
2813
 
2716
2814
  'use strict';
2717
2815
 
@@ -2823,9 +2921,9 @@ return /******/ (function(modules) { // webpackBootstrap
2823
2921
 
2824
2922
  exports.default = useBasename;
2825
2923
 
2826
- /***/ },
2827
- /* 35 */
2828
- /***/ function(module, exports, __webpack_require__) {
2924
+ /***/ }),
2925
+ /* 36 */
2926
+ /***/ (function(module, exports, __webpack_require__) {
2829
2927
 
2830
2928
  'use strict';
2831
2929
 
@@ -2949,113 +3047,15 @@ return /******/ (function(modules) { // webpackBootstrap
2949
3047
 
2950
3048
  exports.default = useQueries;
2951
3049
 
2952
- /***/ },
2953
- /* 36 */
2954
- /***/ function(module, exports) {
2955
-
2956
- /*
2957
- object-assign
2958
- (c) Sindre Sorhus
2959
- @license MIT
2960
- */
2961
-
2962
- 'use strict';
2963
- /* eslint-disable no-unused-vars */
2964
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
2965
- var hasOwnProperty = Object.prototype.hasOwnProperty;
2966
- var propIsEnumerable = Object.prototype.propertyIsEnumerable;
2967
-
2968
- function toObject(val) {
2969
- if (val === null || val === undefined) {
2970
- throw new TypeError('Object.assign cannot be called with null or undefined');
2971
- }
2972
-
2973
- return Object(val);
2974
- }
2975
-
2976
- function shouldUseNative() {
2977
- try {
2978
- if (!Object.assign) {
2979
- return false;
2980
- }
2981
-
2982
- // Detect buggy property enumeration order in older V8 versions.
2983
-
2984
- // https://bugs.chromium.org/p/v8/issues/detail?id=4118
2985
- var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
2986
- test1[5] = 'de';
2987
- if (Object.getOwnPropertyNames(test1)[0] === '5') {
2988
- return false;
2989
- }
2990
-
2991
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
2992
- var test2 = {};
2993
- for (var i = 0; i < 10; i++) {
2994
- test2['_' + String.fromCharCode(i)] = i;
2995
- }
2996
- var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
2997
- return test2[n];
2998
- });
2999
- if (order2.join('') !== '0123456789') {
3000
- return false;
3001
- }
3002
-
3003
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
3004
- var test3 = {};
3005
- 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
3006
- test3[letter] = letter;
3007
- });
3008
- if (Object.keys(Object.assign({}, test3)).join('') !==
3009
- 'abcdefghijklmnopqrst') {
3010
- return false;
3011
- }
3012
-
3013
- return true;
3014
- } catch (err) {
3015
- // We don't expect any of the above to throw, but better to be safe.
3016
- return false;
3017
- }
3018
- }
3019
-
3020
- module.exports = shouldUseNative() ? Object.assign : function (target, source) {
3021
- var from;
3022
- var to = toObject(target);
3023
- var symbols;
3024
-
3025
- for (var s = 1; s < arguments.length; s++) {
3026
- from = Object(arguments[s]);
3027
-
3028
- for (var key in from) {
3029
- if (hasOwnProperty.call(from, key)) {
3030
- to[key] = from[key];
3031
- }
3032
- }
3033
-
3034
- if (getOwnPropertySymbols) {
3035
- symbols = getOwnPropertySymbols(from);
3036
- for (var i = 0; i < symbols.length; i++) {
3037
- if (propIsEnumerable.call(from, symbols[i])) {
3038
- to[symbols[i]] = from[symbols[i]];
3039
- }
3040
- }
3041
- }
3042
- }
3043
-
3044
- return to;
3045
- };
3046
-
3047
-
3048
- /***/ },
3050
+ /***/ }),
3049
3051
  /* 37 */
3050
- /***/ function(module, exports) {
3052
+ /***/ (function(module, exports) {
3051
3053
 
3052
3054
  /**
3053
- * Copyright 2013-present, Facebook, Inc.
3054
- * All rights reserved.
3055
+ * Copyright (c) 2013-present, Facebook, Inc.
3055
3056
  *
3056
- * This source code is licensed under the BSD-style license found in the
3057
- * LICENSE file in the root directory of this source tree. An additional grant
3058
- * of patent rights can be found in the PATENTS file in the same directory.
3057
+ * This source code is licensed under the MIT license found in the
3058
+ * LICENSE file in the root directory of this source tree.
3059
3059
  */
3060
3060
 
3061
3061
  'use strict';
@@ -3065,9 +3065,9 @@ return /******/ (function(modules) { // webpackBootstrap
3065
3065
  module.exports = ReactPropTypesSecret;
3066
3066
 
3067
3067
 
3068
- /***/ },
3068
+ /***/ }),
3069
3069
  /* 38 */
3070
- /***/ function(module, exports, __webpack_require__) {
3070
+ /***/ (function(module, exports, __webpack_require__) {
3071
3071
 
3072
3072
  'use strict';
3073
3073
 
@@ -3083,7 +3083,7 @@ return /******/ (function(modules) { // webpackBootstrap
3083
3083
 
3084
3084
  var _createReactClass2 = _interopRequireDefault(_createReactClass);
3085
3085
 
3086
- var _Link = __webpack_require__(24);
3086
+ var _Link = __webpack_require__(25);
3087
3087
 
3088
3088
  var _Link2 = _interopRequireDefault(_Link);
3089
3089
 
@@ -3102,9 +3102,9 @@ return /******/ (function(modules) { // webpackBootstrap
3102
3102
 
3103
3103
  exports.default = IndexLink;
3104
3104
 
3105
- /***/ },
3105
+ /***/ }),
3106
3106
  /* 39 */
3107
- /***/ function(module, exports, __webpack_require__) {
3107
+ /***/ (function(module, exports, __webpack_require__) {
3108
3108
 
3109
3109
  'use strict';
3110
3110
 
@@ -3124,7 +3124,7 @@ return /******/ (function(modules) { // webpackBootstrap
3124
3124
 
3125
3125
  var _invariant2 = _interopRequireDefault(_invariant);
3126
3126
 
3127
- var _Redirect = __webpack_require__(26);
3127
+ var _Redirect = __webpack_require__(27);
3128
3128
 
3129
3129
  var _Redirect2 = _interopRequireDefault(_Redirect);
3130
3130
 
@@ -3166,9 +3166,9 @@ return /******/ (function(modules) { // webpackBootstrap
3166
3166
 
3167
3167
  exports.default = IndexRedirect;
3168
3168
 
3169
- /***/ },
3169
+ /***/ }),
3170
3170
  /* 40 */
3171
- /***/ function(module, exports, __webpack_require__) {
3171
+ /***/ (function(module, exports, __webpack_require__) {
3172
3172
 
3173
3173
  'use strict';
3174
3174
 
@@ -3229,9 +3229,9 @@ return /******/ (function(modules) { // webpackBootstrap
3229
3229
 
3230
3230
  exports.default = IndexRoute;
3231
3231
 
3232
- /***/ },
3232
+ /***/ }),
3233
3233
  /* 41 */
3234
- /***/ function(module, exports, __webpack_require__) {
3234
+ /***/ (function(module, exports, __webpack_require__) {
3235
3235
 
3236
3236
  'use strict';
3237
3237
 
@@ -3287,9 +3287,9 @@ return /******/ (function(modules) { // webpackBootstrap
3287
3287
 
3288
3288
  exports.default = Route;
3289
3289
 
3290
- /***/ },
3290
+ /***/ }),
3291
3291
  /* 42 */
3292
- /***/ function(module, exports, __webpack_require__) {
3292
+ /***/ (function(module, exports, __webpack_require__) {
3293
3293
 
3294
3294
  'use strict';
3295
3295
 
@@ -3311,7 +3311,7 @@ return /******/ (function(modules) { // webpackBootstrap
3311
3311
 
3312
3312
  var _propTypes = __webpack_require__(2);
3313
3313
 
3314
- var _createTransitionManager2 = __webpack_require__(30);
3314
+ var _createTransitionManager2 = __webpack_require__(31);
3315
3315
 
3316
3316
  var _createTransitionManager3 = _interopRequireDefault(_createTransitionManager2);
3317
3317
 
@@ -3323,7 +3323,7 @@ return /******/ (function(modules) { // webpackBootstrap
3323
3323
 
3324
3324
  var _RouteUtils = __webpack_require__(4);
3325
3325
 
3326
- var _RouterUtils = __webpack_require__(27);
3326
+ var _RouterUtils = __webpack_require__(28);
3327
3327
 
3328
3328
  var _routerWarning = __webpack_require__(9);
3329
3329
 
@@ -3344,14 +3344,13 @@ return /******/ (function(modules) { // webpackBootstrap
3344
3344
 
3345
3345
  // PRIVATE: For client-side rehydration of server match.
3346
3346
  matchContext: _propTypes.object
3347
- };
3348
3347
 
3349
- /**
3350
- * A <Router> is a high-level API for automatically setting up
3351
- * a router that renders a <RouterContext> with all the props
3352
- * it needs each time the URL changes.
3353
- */
3354
- var Router = (0, _createReactClass2.default)({
3348
+ /**
3349
+ * A <Router> is a high-level API for automatically setting up
3350
+ * a router that renders a <RouterContext> with all the props
3351
+ * it needs each time the URL changes.
3352
+ */
3353
+ };var Router = (0, _createReactClass2.default)({
3355
3354
  displayName: 'Router',
3356
3355
 
3357
3356
  propTypes: propTypes,
@@ -3468,9 +3467,9 @@ return /******/ (function(modules) { // webpackBootstrap
3468
3467
 
3469
3468
  exports.default = Router;
3470
3469
 
3471
- /***/ },
3470
+ /***/ }),
3472
3471
  /* 43 */
3473
- /***/ function(module, exports, __webpack_require__) {
3472
+ /***/ (function(module, exports, __webpack_require__) {
3474
3473
 
3475
3474
  'use strict';
3476
3475
 
@@ -3634,9 +3633,9 @@ return /******/ (function(modules) { // webpackBootstrap
3634
3633
  };
3635
3634
  }
3636
3635
 
3637
- /***/ },
3636
+ /***/ }),
3638
3637
  /* 44 */
3639
- /***/ function(module, exports, __webpack_require__) {
3638
+ /***/ (function(module, exports, __webpack_require__) {
3640
3639
 
3641
3640
  'use strict';
3642
3641
 
@@ -3694,9 +3693,9 @@ return /******/ (function(modules) { // webpackBootstrap
3694
3693
  };
3695
3694
  };
3696
3695
 
3697
- /***/ },
3696
+ /***/ }),
3698
3697
  /* 45 */
3699
- /***/ function(module, exports, __webpack_require__) {
3698
+ /***/ (function(module, exports, __webpack_require__) {
3700
3699
 
3701
3700
  'use strict';
3702
3701
 
@@ -3706,7 +3705,7 @@ return /******/ (function(modules) { // webpackBootstrap
3706
3705
 
3707
3706
  var _createBrowserHistory2 = _interopRequireDefault(_createBrowserHistory);
3708
3707
 
3709
- var _createRouterHistory = __webpack_require__(29);
3708
+ var _createRouterHistory = __webpack_require__(30);
3710
3709
 
3711
3710
  var _createRouterHistory2 = _interopRequireDefault(_createRouterHistory);
3712
3711
 
@@ -3714,9 +3713,9 @@ return /******/ (function(modules) { // webpackBootstrap
3714
3713
 
3715
3714
  exports.default = (0, _createRouterHistory2.default)(_createBrowserHistory2.default);
3716
3715
 
3717
- /***/ },
3716
+ /***/ }),
3718
3717
  /* 46 */
3719
- /***/ function(module, exports, __webpack_require__) {
3718
+ /***/ (function(module, exports, __webpack_require__) {
3720
3719
 
3721
3720
  'use strict';
3722
3721
 
@@ -3793,9 +3792,9 @@ return /******/ (function(modules) { // webpackBootstrap
3793
3792
 
3794
3793
  exports.default = computeChangedRoutes;
3795
3794
 
3796
- /***/ },
3795
+ /***/ }),
3797
3796
  /* 47 */
3798
- /***/ function(module, exports, __webpack_require__) {
3797
+ /***/ (function(module, exports, __webpack_require__) {
3799
3798
 
3800
3799
  'use strict';
3801
3800
 
@@ -3803,7 +3802,7 @@ return /******/ (function(modules) { // webpackBootstrap
3803
3802
 
3804
3803
  var _AsyncUtils = __webpack_require__(14);
3805
3804
 
3806
- var _PromiseUtils = __webpack_require__(25);
3805
+ var _PromiseUtils = __webpack_require__(26);
3807
3806
 
3808
3807
  function getComponentsForRoute(nextState, route, callback) {
3809
3808
  if (route.component || route.components) {
@@ -3837,9 +3836,9 @@ return /******/ (function(modules) { // webpackBootstrap
3837
3836
 
3838
3837
  exports.default = getComponents;
3839
3838
 
3840
- /***/ },
3839
+ /***/ }),
3841
3840
  /* 48 */
3842
- /***/ function(module, exports, __webpack_require__) {
3841
+ /***/ (function(module, exports, __webpack_require__) {
3843
3842
 
3844
3843
  'use strict';
3845
3844
 
@@ -3867,9 +3866,9 @@ return /******/ (function(modules) { // webpackBootstrap
3867
3866
 
3868
3867
  exports.default = getRouteParams;
3869
3868
 
3870
- /***/ },
3869
+ /***/ }),
3871
3870
  /* 49 */
3872
- /***/ function(module, exports, __webpack_require__) {
3871
+ /***/ (function(module, exports, __webpack_require__) {
3873
3872
 
3874
3873
  'use strict';
3875
3874
 
@@ -3879,7 +3878,7 @@ return /******/ (function(modules) { // webpackBootstrap
3879
3878
 
3880
3879
  var _createHashHistory2 = _interopRequireDefault(_createHashHistory);
3881
3880
 
3882
- var _createRouterHistory = __webpack_require__(29);
3881
+ var _createRouterHistory = __webpack_require__(30);
3883
3882
 
3884
3883
  var _createRouterHistory2 = _interopRequireDefault(_createRouterHistory);
3885
3884
 
@@ -3887,9 +3886,9 @@ return /******/ (function(modules) { // webpackBootstrap
3887
3886
 
3888
3887
  exports.default = (0, _createRouterHistory2.default)(_createHashHistory2.default);
3889
3888
 
3890
- /***/ },
3889
+ /***/ }),
3891
3890
  /* 50 */
3892
- /***/ function(module, exports, __webpack_require__) {
3891
+ /***/ (function(module, exports, __webpack_require__) {
3893
3892
 
3894
3893
  'use strict';
3895
3894
 
@@ -4043,9 +4042,9 @@ return /******/ (function(modules) { // webpackBootstrap
4043
4042
  return queryIsActive(query, currentLocation.query);
4044
4043
  }
4045
4044
 
4046
- /***/ },
4045
+ /***/ }),
4047
4046
  /* 51 */
4048
- /***/ function(module, exports, __webpack_require__) {
4047
+ /***/ (function(module, exports, __webpack_require__) {
4049
4048
 
4050
4049
  'use strict';
4051
4050
 
@@ -4059,17 +4058,17 @@ return /******/ (function(modules) { // webpackBootstrap
4059
4058
 
4060
4059
  var _invariant2 = _interopRequireDefault(_invariant);
4061
4060
 
4062
- var _createMemoryHistory = __webpack_require__(28);
4061
+ var _createMemoryHistory = __webpack_require__(29);
4063
4062
 
4064
4063
  var _createMemoryHistory2 = _interopRequireDefault(_createMemoryHistory);
4065
4064
 
4066
- var _createTransitionManager = __webpack_require__(30);
4065
+ var _createTransitionManager = __webpack_require__(31);
4067
4066
 
4068
4067
  var _createTransitionManager2 = _interopRequireDefault(_createTransitionManager);
4069
4068
 
4070
4069
  var _RouteUtils = __webpack_require__(4);
4071
4070
 
4072
- var _RouterUtils = __webpack_require__(27);
4071
+ var _RouterUtils = __webpack_require__(28);
4073
4072
 
4074
4073
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4075
4074
 
@@ -4119,9 +4118,9 @@ return /******/ (function(modules) { // webpackBootstrap
4119
4118
 
4120
4119
  exports.default = match;
4121
4120
 
4122
- /***/ },
4121
+ /***/ }),
4123
4122
  /* 52 */
4124
- /***/ function(module, exports, __webpack_require__) {
4123
+ /***/ (function(module, exports, __webpack_require__) {
4125
4124
 
4126
4125
  'use strict';
4127
4126
 
@@ -4133,7 +4132,7 @@ return /******/ (function(modules) { // webpackBootstrap
4133
4132
 
4134
4133
  var _AsyncUtils = __webpack_require__(14);
4135
4134
 
4136
- var _PromiseUtils = __webpack_require__(25);
4135
+ var _PromiseUtils = __webpack_require__(26);
4137
4136
 
4138
4137
  var _PatternUtils = __webpack_require__(8);
4139
4138
 
@@ -4378,9 +4377,9 @@ return /******/ (function(modules) { // webpackBootstrap
4378
4377
  }, callback);
4379
4378
  }
4380
4379
 
4381
- /***/ },
4380
+ /***/ }),
4382
4381
  /* 53 */
4383
- /***/ function(module, exports, __webpack_require__) {
4382
+ /***/ (function(module, exports, __webpack_require__) {
4384
4383
 
4385
4384
  'use strict';
4386
4385
 
@@ -4462,23 +4461,21 @@ return /******/ (function(modules) { // webpackBootstrap
4462
4461
  return (0, _hoistNonReactStatics2.default)(WithRouter, WrappedComponent);
4463
4462
  }
4464
4463
 
4465
- /***/ },
4464
+ /***/ }),
4466
4465
  /* 54 */
4467
- /***/ function(module, exports, __webpack_require__) {
4466
+ /***/ (function(module, exports, __webpack_require__) {
4468
4467
 
4469
4468
  /**
4470
- * Copyright 2013-present, Facebook, Inc.
4471
- * All rights reserved.
4469
+ * Copyright (c) 2013-present, Facebook, Inc.
4472
4470
  *
4473
- * This source code is licensed under the BSD-style license found in the
4474
- * LICENSE file in the root directory of this source tree. An additional grant
4475
- * of patent rights can be found in the PATENTS file in the same directory.
4471
+ * This source code is licensed under the MIT license found in the
4472
+ * LICENSE file in the root directory of this source tree.
4476
4473
  *
4477
4474
  */
4478
4475
 
4479
4476
  'use strict';
4480
4477
 
4481
- var _assign = __webpack_require__(36);
4478
+ var _assign = __webpack_require__(24);
4482
4479
 
4483
4480
  var emptyObject = __webpack_require__(55);
4484
4481
  var _invariant = __webpack_require__(18);
@@ -4500,7 +4497,7 @@ return /******/ (function(modules) { // webpackBootstrap
4500
4497
  ReactPropTypeLocationNames = {
4501
4498
  prop: 'prop',
4502
4499
  context: 'context',
4503
- childContext: 'child context',
4500
+ childContext: 'child context'
4504
4501
  };
4505
4502
  } else {
4506
4503
  ReactPropTypeLocationNames = {};
@@ -4511,7 +4508,6 @@ return /******/ (function(modules) { // webpackBootstrap
4511
4508
  * Policies that describe methods in `ReactClassInterface`.
4512
4509
  */
4513
4510
 
4514
-
4515
4511
  var injectedMixins = [];
4516
4512
 
4517
4513
  /**
@@ -4537,7 +4533,6 @@ return /******/ (function(modules) { // webpackBootstrap
4537
4533
  * @internal
4538
4534
  */
4539
4535
  var ReactClassInterface = {
4540
-
4541
4536
  /**
4542
4537
  * An array of Mixin objects to include when defining your component.
4543
4538
  *
@@ -4628,7 +4623,6 @@ return /******/ (function(modules) { // webpackBootstrap
4628
4623
  * }
4629
4624
  *
4630
4625
  * @return {ReactComponent}
4631
- * @nosideeffects
4632
4626
  * @required
4633
4627
  */
4634
4628
  render: 'DEFINE_ONCE',
@@ -4756,7 +4750,6 @@ return /******/ (function(modules) { // webpackBootstrap
4756
4750
  * @overridable
4757
4751
  */
4758
4752
  updateComponent: 'OVERRIDE_BASE'
4759
-
4760
4753
  };
4761
4754
 
4762
4755
  /**
@@ -4769,71 +4762,106 @@ return /******/ (function(modules) { // webpackBootstrap
4769
4762
  * which all other static methods are defined.
4770
4763
  */
4771
4764
  var RESERVED_SPEC_KEYS = {
4772
- displayName: function (Constructor, displayName) {
4765
+ displayName: function(Constructor, displayName) {
4773
4766
  Constructor.displayName = displayName;
4774
4767
  },
4775
- mixins: function (Constructor, mixins) {
4768
+ mixins: function(Constructor, mixins) {
4776
4769
  if (mixins) {
4777
4770
  for (var i = 0; i < mixins.length; i++) {
4778
4771
  mixSpecIntoComponent(Constructor, mixins[i]);
4779
4772
  }
4780
4773
  }
4781
4774
  },
4782
- childContextTypes: function (Constructor, childContextTypes) {
4775
+ childContextTypes: function(Constructor, childContextTypes) {
4783
4776
  if (true) {
4784
4777
  validateTypeDef(Constructor, childContextTypes, 'childContext');
4785
4778
  }
4786
- Constructor.childContextTypes = _assign({}, Constructor.childContextTypes, childContextTypes);
4779
+ Constructor.childContextTypes = _assign(
4780
+ {},
4781
+ Constructor.childContextTypes,
4782
+ childContextTypes
4783
+ );
4787
4784
  },
4788
- contextTypes: function (Constructor, contextTypes) {
4785
+ contextTypes: function(Constructor, contextTypes) {
4789
4786
  if (true) {
4790
4787
  validateTypeDef(Constructor, contextTypes, 'context');
4791
4788
  }
4792
- Constructor.contextTypes = _assign({}, Constructor.contextTypes, contextTypes);
4789
+ Constructor.contextTypes = _assign(
4790
+ {},
4791
+ Constructor.contextTypes,
4792
+ contextTypes
4793
+ );
4793
4794
  },
4794
4795
  /**
4795
4796
  * Special case getDefaultProps which should move into statics but requires
4796
4797
  * automatic merging.
4797
4798
  */
4798
- getDefaultProps: function (Constructor, getDefaultProps) {
4799
+ getDefaultProps: function(Constructor, getDefaultProps) {
4799
4800
  if (Constructor.getDefaultProps) {
4800
- Constructor.getDefaultProps = createMergedResultFunction(Constructor.getDefaultProps, getDefaultProps);
4801
+ Constructor.getDefaultProps = createMergedResultFunction(
4802
+ Constructor.getDefaultProps,
4803
+ getDefaultProps
4804
+ );
4801
4805
  } else {
4802
4806
  Constructor.getDefaultProps = getDefaultProps;
4803
4807
  }
4804
4808
  },
4805
- propTypes: function (Constructor, propTypes) {
4809
+ propTypes: function(Constructor, propTypes) {
4806
4810
  if (true) {
4807
4811
  validateTypeDef(Constructor, propTypes, 'prop');
4808
4812
  }
4809
4813
  Constructor.propTypes = _assign({}, Constructor.propTypes, propTypes);
4810
4814
  },
4811
- statics: function (Constructor, statics) {
4815
+ statics: function(Constructor, statics) {
4812
4816
  mixStaticSpecIntoComponent(Constructor, statics);
4813
4817
  },
4814
- autobind: function () {} };
4818
+ autobind: function() {}
4819
+ };
4815
4820
 
4816
4821
  function validateTypeDef(Constructor, typeDef, location) {
4817
4822
  for (var propName in typeDef) {
4818
4823
  if (typeDef.hasOwnProperty(propName)) {
4819
4824
  // use a warning instead of an _invariant so components
4820
4825
  // don't show up in prod but only in __DEV__
4821
- true ? warning(typeof typeDef[propName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', Constructor.displayName || 'ReactClass', ReactPropTypeLocationNames[location], propName) : void 0;
4826
+ if (true) {
4827
+ warning(
4828
+ typeof typeDef[propName] === 'function',
4829
+ '%s: %s type `%s` is invalid; it must be a function, usually from ' +
4830
+ 'React.PropTypes.',
4831
+ Constructor.displayName || 'ReactClass',
4832
+ ReactPropTypeLocationNames[location],
4833
+ propName
4834
+ );
4835
+ }
4822
4836
  }
4823
4837
  }
4824
4838
  }
4825
4839
 
4826
4840
  function validateMethodOverride(isAlreadyDefined, name) {
4827
- var specPolicy = ReactClassInterface.hasOwnProperty(name) ? ReactClassInterface[name] : null;
4841
+ var specPolicy = ReactClassInterface.hasOwnProperty(name)
4842
+ ? ReactClassInterface[name]
4843
+ : null;
4828
4844
 
4829
4845
  // Disallow overriding of base class methods unless explicitly allowed.
4830
4846
  if (ReactClassMixin.hasOwnProperty(name)) {
4831
- _invariant(specPolicy === 'OVERRIDE_BASE', 'ReactClassInterface: You are attempting to override ' + '`%s` from your class specification. Ensure that your method names ' + 'do not overlap with React methods.', name);
4847
+ _invariant(
4848
+ specPolicy === 'OVERRIDE_BASE',
4849
+ 'ReactClassInterface: You are attempting to override ' +
4850
+ '`%s` from your class specification. Ensure that your method names ' +
4851
+ 'do not overlap with React methods.',
4852
+ name
4853
+ );
4832
4854
  }
4833
4855
 
4834
4856
  // Disallow defining methods more than once unless explicitly allowed.
4835
4857
  if (isAlreadyDefined) {
4836
- _invariant(specPolicy === 'DEFINE_MANY' || specPolicy === 'DEFINE_MANY_MERGED', 'ReactClassInterface: You are attempting to define ' + '`%s` on your component more than once. This conflict may be due ' + 'to a mixin.', name);
4858
+ _invariant(
4859
+ specPolicy === 'DEFINE_MANY' || specPolicy === 'DEFINE_MANY_MERGED',
4860
+ 'ReactClassInterface: You are attempting to define ' +
4861
+ '`%s` on your component more than once. This conflict may be due ' +
4862
+ 'to a mixin.',
4863
+ name
4864
+ );
4837
4865
  }
4838
4866
  }
4839
4867
 
@@ -4847,14 +4875,33 @@ return /******/ (function(modules) { // webpackBootstrap
4847
4875
  var typeofSpec = typeof spec;
4848
4876
  var isMixinValid = typeofSpec === 'object' && spec !== null;
4849
4877
 
4850
- true ? warning(isMixinValid, '%s: You\'re attempting to include a mixin that is either null ' + 'or not an object. Check the mixins included by the component, ' + 'as well as any mixins they include themselves. ' + 'Expected object but got %s.', Constructor.displayName || 'ReactClass', spec === null ? null : typeofSpec) : void 0;
4878
+ if (true) {
4879
+ warning(
4880
+ isMixinValid,
4881
+ "%s: You're attempting to include a mixin that is either null " +
4882
+ 'or not an object. Check the mixins included by the component, ' +
4883
+ 'as well as any mixins they include themselves. ' +
4884
+ 'Expected object but got %s.',
4885
+ Constructor.displayName || 'ReactClass',
4886
+ spec === null ? null : typeofSpec
4887
+ );
4888
+ }
4851
4889
  }
4852
4890
 
4853
4891
  return;
4854
4892
  }
4855
4893
 
4856
- _invariant(typeof spec !== 'function', 'ReactClass: You\'re attempting to ' + 'use a component class or function as a mixin. Instead, just use a ' + 'regular object.');
4857
- _invariant(!isValidElement(spec), 'ReactClass: You\'re attempting to ' + 'use a component as a mixin. Instead, just use a regular object.');
4894
+ _invariant(
4895
+ typeof spec !== 'function',
4896
+ "ReactClass: You're attempting to " +
4897
+ 'use a component class or function as a mixin. Instead, just use a ' +
4898
+ 'regular object.'
4899
+ );
4900
+ _invariant(
4901
+ !isValidElement(spec),
4902
+ "ReactClass: You're attempting to " +
4903
+ 'use a component as a mixin. Instead, just use a regular object.'
4904
+ );
4858
4905
 
4859
4906
  var proto = Constructor.prototype;
4860
4907
  var autoBindPairs = proto.__reactAutoBindPairs;
@@ -4889,7 +4936,11 @@ return /******/ (function(modules) { // webpackBootstrap
4889
4936
  // 2. Overridden methods (that were mixed in).
4890
4937
  var isReactClassMethod = ReactClassInterface.hasOwnProperty(name);
4891
4938
  var isFunction = typeof property === 'function';
4892
- var shouldAutoBind = isFunction && !isReactClassMethod && !isAlreadyDefined && spec.autobind !== false;
4939
+ var shouldAutoBind =
4940
+ isFunction &&
4941
+ !isReactClassMethod &&
4942
+ !isAlreadyDefined &&
4943
+ spec.autobind !== false;
4893
4944
 
4894
4945
  if (shouldAutoBind) {
4895
4946
  autoBindPairs.push(name, property);
@@ -4899,7 +4950,15 @@ return /******/ (function(modules) { // webpackBootstrap
4899
4950
  var specPolicy = ReactClassInterface[name];
4900
4951
 
4901
4952
  // These cases should already be caught by validateMethodOverride.
4902
- _invariant(isReactClassMethod && (specPolicy === 'DEFINE_MANY_MERGED' || specPolicy === 'DEFINE_MANY'), 'ReactClass: Unexpected spec policy %s for key %s ' + 'when mixing in component specs.', specPolicy, name);
4953
+ _invariant(
4954
+ isReactClassMethod &&
4955
+ (specPolicy === 'DEFINE_MANY_MERGED' ||
4956
+ specPolicy === 'DEFINE_MANY'),
4957
+ 'ReactClass: Unexpected spec policy %s for key %s ' +
4958
+ 'when mixing in component specs.',
4959
+ specPolicy,
4960
+ name
4961
+ );
4903
4962
 
4904
4963
  // For methods which are defined more than once, call the existing
4905
4964
  // methods before calling the new property, merging if appropriate.
@@ -4934,10 +4993,23 @@ return /******/ (function(modules) { // webpackBootstrap
4934
4993
  }
4935
4994
 
4936
4995
  var isReserved = name in RESERVED_SPEC_KEYS;
4937
- _invariant(!isReserved, 'ReactClass: You are attempting to define a reserved ' + 'property, `%s`, that shouldn\'t be on the "statics" key. Define it ' + 'as an instance property instead; it will still be accessible on the ' + 'constructor.', name);
4996
+ _invariant(
4997
+ !isReserved,
4998
+ 'ReactClass: You are attempting to define a reserved ' +
4999
+ 'property, `%s`, that shouldn\'t be on the "statics" key. Define it ' +
5000
+ 'as an instance property instead; it will still be accessible on the ' +
5001
+ 'constructor.',
5002
+ name
5003
+ );
4938
5004
 
4939
5005
  var isInherited = name in Constructor;
4940
- _invariant(!isInherited, 'ReactClass: You are attempting to define ' + '`%s` on your component more than once. This conflict may be ' + 'due to a mixin.', name);
5006
+ _invariant(
5007
+ !isInherited,
5008
+ 'ReactClass: You are attempting to define ' +
5009
+ '`%s` on your component more than once. This conflict may be ' +
5010
+ 'due to a mixin.',
5011
+ name
5012
+ );
4941
5013
  Constructor[name] = property;
4942
5014
  }
4943
5015
  }
@@ -4950,11 +5022,22 @@ return /******/ (function(modules) { // webpackBootstrap
4950
5022
  * @return {object} one after it has been mutated to contain everything in two.
4951
5023
  */
4952
5024
  function mergeIntoWithNoDuplicateKeys(one, two) {
4953
- _invariant(one && two && typeof one === 'object' && typeof two === 'object', 'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.');
5025
+ _invariant(
5026
+ one && two && typeof one === 'object' && typeof two === 'object',
5027
+ 'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.'
5028
+ );
4954
5029
 
4955
5030
  for (var key in two) {
4956
5031
  if (two.hasOwnProperty(key)) {
4957
- _invariant(one[key] === undefined, 'mergeIntoWithNoDuplicateKeys(): ' + 'Tried to merge two objects with the same key: `%s`. This conflict ' + 'may be due to a mixin; in particular, this may be caused by two ' + 'getInitialState() or getDefaultProps() methods returning objects ' + 'with clashing keys.', key);
5032
+ _invariant(
5033
+ one[key] === undefined,
5034
+ 'mergeIntoWithNoDuplicateKeys(): ' +
5035
+ 'Tried to merge two objects with the same key: `%s`. This conflict ' +
5036
+ 'may be due to a mixin; in particular, this may be caused by two ' +
5037
+ 'getInitialState() or getDefaultProps() methods returning objects ' +
5038
+ 'with clashing keys.',
5039
+ key
5040
+ );
4958
5041
  one[key] = two[key];
4959
5042
  }
4960
5043
  }
@@ -5015,8 +5098,14 @@ return /******/ (function(modules) { // webpackBootstrap
5015
5098
  boundMethod.__reactBoundArguments = null;
5016
5099
  var componentName = component.constructor.displayName;
5017
5100
  var _bind = boundMethod.bind;
5018
- boundMethod.bind = function (newThis) {
5019
- for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
5101
+ boundMethod.bind = function(newThis) {
5102
+ for (
5103
+ var _len = arguments.length,
5104
+ args = Array(_len > 1 ? _len - 1 : 0),
5105
+ _key = 1;
5106
+ _key < _len;
5107
+ _key++
5108
+ ) {
5020
5109
  args[_key - 1] = arguments[_key];
5021
5110
  }
5022
5111
 
@@ -5024,9 +5113,24 @@ return /******/ (function(modules) { // webpackBootstrap
5024
5113
  // ignore the value of "this" that the user is trying to use, so
5025
5114
  // let's warn.
5026
5115
  if (newThis !== component && newThis !== null) {
5027
- true ? warning(false, 'bind(): React component methods may only be bound to the ' + 'component instance. See %s', componentName) : void 0;
5116
+ if (true) {
5117
+ warning(
5118
+ false,
5119
+ 'bind(): React component methods may only be bound to the ' +
5120
+ 'component instance. See %s',
5121
+ componentName
5122
+ );
5123
+ }
5028
5124
  } else if (!args.length) {
5029
- true ? warning(false, 'bind(): You are binding a component method to the component. ' + 'React does this for you automatically in a high-performance ' + 'way, so you can safely remove this call. See %s', componentName) : void 0;
5125
+ if (true) {
5126
+ warning(
5127
+ false,
5128
+ 'bind(): You are binding a component method to the component. ' +
5129
+ 'React does this for you automatically in a high-performance ' +
5130
+ 'way, so you can safely remove this call. See %s',
5131
+ componentName
5132
+ );
5133
+ }
5030
5134
  return boundMethod;
5031
5135
  }
5032
5136
  var reboundMethod = _bind.apply(boundMethod, arguments);
@@ -5053,11 +5157,14 @@ return /******/ (function(modules) { // webpackBootstrap
5053
5157
  }
5054
5158
  }
5055
5159
 
5056
- var IsMountedMixin = {
5057
- componentDidMount: function () {
5160
+ var IsMountedPreMixin = {
5161
+ componentDidMount: function() {
5058
5162
  this.__isMounted = true;
5059
- },
5060
- componentWillUnmount: function () {
5163
+ }
5164
+ };
5165
+
5166
+ var IsMountedPostMixin = {
5167
+ componentWillUnmount: function() {
5061
5168
  this.__isMounted = false;
5062
5169
  }
5063
5170
  };
@@ -5067,12 +5174,11 @@ return /******/ (function(modules) { // webpackBootstrap
5067
5174
  * therefore not already part of the modern ReactComponent.
5068
5175
  */
5069
5176
  var ReactClassMixin = {
5070
-
5071
5177
  /**
5072
5178
  * TODO: This will be deprecated because state should always keep a consistent
5073
5179
  * type signature and the only use case for this, is to avoid that.
5074
5180
  */
5075
- replaceState: function (newState, callback) {
5181
+ replaceState: function(newState, callback) {
5076
5182
  this.updater.enqueueReplaceState(this, newState, callback);
5077
5183
  },
5078
5184
 
@@ -5082,17 +5188,29 @@ return /******/ (function(modules) { // webpackBootstrap
5082
5188
  * @protected
5083
5189
  * @final
5084
5190
  */
5085
- isMounted: function () {
5191
+ isMounted: function() {
5086
5192
  if (true) {
5087
- true ? warning(this.__didWarnIsMounted, '%s: isMounted is deprecated. Instead, make sure to clean up ' + 'subscriptions and pending requests in componentWillUnmount to ' + 'prevent memory leaks.', this.constructor && this.constructor.displayName || this.name || 'Component') : void 0;
5193
+ warning(
5194
+ this.__didWarnIsMounted,
5195
+ '%s: isMounted is deprecated. Instead, make sure to clean up ' +
5196
+ 'subscriptions and pending requests in componentWillUnmount to ' +
5197
+ 'prevent memory leaks.',
5198
+ (this.constructor && this.constructor.displayName) ||
5199
+ this.name ||
5200
+ 'Component'
5201
+ );
5088
5202
  this.__didWarnIsMounted = true;
5089
5203
  }
5090
5204
  return !!this.__isMounted;
5091
5205
  }
5092
5206
  };
5093
5207
 
5094
- var ReactClassComponent = function () {};
5095
- _assign(ReactClassComponent.prototype, ReactComponent.prototype, ReactClassMixin);
5208
+ var ReactClassComponent = function() {};
5209
+ _assign(
5210
+ ReactClassComponent.prototype,
5211
+ ReactComponent.prototype,
5212
+ ReactClassMixin
5213
+ );
5096
5214
 
5097
5215
  /**
5098
5216
  * Creates a composite component class given a class specification.
@@ -5106,12 +5224,16 @@ return /******/ (function(modules) { // webpackBootstrap
5106
5224
  // To keep our warnings more understandable, we'll use a little hack here to
5107
5225
  // ensure that Constructor.name !== 'Constructor'. This makes sure we don't
5108
5226
  // unnecessarily identify a class without displayName as 'Constructor'.
5109
- var Constructor = identity(function (props, context, updater) {
5227
+ var Constructor = identity(function(props, context, updater) {
5110
5228
  // This constructor gets overridden by mocks. The argument is used
5111
5229
  // by mocks to assert on what gets mounted.
5112
5230
 
5113
5231
  if (true) {
5114
- true ? warning(this instanceof Constructor, 'Something is calling a React component directly. Use a factory or ' + 'JSX instead. See: https://fb.me/react-legacyfactory') : void 0;
5232
+ warning(
5233
+ this instanceof Constructor,
5234
+ 'Something is calling a React component directly. Use a factory or ' +
5235
+ 'JSX instead. See: https://fb.me/react-legacyfactory'
5236
+ );
5115
5237
  }
5116
5238
 
5117
5239
  // Wire up auto-binding
@@ -5132,13 +5254,20 @@ return /******/ (function(modules) { // webpackBootstrap
5132
5254
  var initialState = this.getInitialState ? this.getInitialState() : null;
5133
5255
  if (true) {
5134
5256
  // We allow auto-mocks to proceed as if they're returning null.
5135
- if (initialState === undefined && this.getInitialState._isMockFunction) {
5257
+ if (
5258
+ initialState === undefined &&
5259
+ this.getInitialState._isMockFunction
5260
+ ) {
5136
5261
  // This is probably bad practice. Consider warning here and
5137
5262
  // deprecating this convenience.
5138
5263
  initialState = null;
5139
5264
  }
5140
5265
  }
5141
- _invariant(typeof initialState === 'object' && !Array.isArray(initialState), '%s.getInitialState(): must return an object or null', Constructor.displayName || 'ReactCompositeComponent');
5266
+ _invariant(
5267
+ typeof initialState === 'object' && !Array.isArray(initialState),
5268
+ '%s.getInitialState(): must return an object or null',
5269
+ Constructor.displayName || 'ReactCompositeComponent'
5270
+ );
5142
5271
 
5143
5272
  this.state = initialState;
5144
5273
  });
@@ -5148,8 +5277,9 @@ return /******/ (function(modules) { // webpackBootstrap
5148
5277
 
5149
5278
  injectedMixins.forEach(mixSpecIntoComponent.bind(null, Constructor));
5150
5279
 
5151
- mixSpecIntoComponent(Constructor, IsMountedMixin);
5280
+ mixSpecIntoComponent(Constructor, IsMountedPreMixin);
5152
5281
  mixSpecIntoComponent(Constructor, spec);
5282
+ mixSpecIntoComponent(Constructor, IsMountedPostMixin);
5153
5283
 
5154
5284
  // Initialize the defaultProps property after all mixins have been merged.
5155
5285
  if (Constructor.getDefaultProps) {
@@ -5169,11 +5299,26 @@ return /******/ (function(modules) { // webpackBootstrap
5169
5299
  }
5170
5300
  }
5171
5301
 
5172
- _invariant(Constructor.prototype.render, 'createClass(...): Class specification must implement a `render` method.');
5302
+ _invariant(
5303
+ Constructor.prototype.render,
5304
+ 'createClass(...): Class specification must implement a `render` method.'
5305
+ );
5173
5306
 
5174
5307
  if (true) {
5175
- true ? warning(!Constructor.prototype.componentShouldUpdate, '%s has a method called ' + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + 'The name is phrased as a question because the function is ' + 'expected to return a value.', spec.displayName || 'A component') : void 0;
5176
- true ? warning(!Constructor.prototype.componentWillRecieveProps, '%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', spec.displayName || 'A component') : void 0;
5308
+ warning(
5309
+ !Constructor.prototype.componentShouldUpdate,
5310
+ '%s has a method called ' +
5311
+ 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' +
5312
+ 'The name is phrased as a question because the function is ' +
5313
+ 'expected to return a value.',
5314
+ spec.displayName || 'A component'
5315
+ );
5316
+ warning(
5317
+ !Constructor.prototype.componentWillRecieveProps,
5318
+ '%s has a method called ' +
5319
+ 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?',
5320
+ spec.displayName || 'A component'
5321
+ );
5177
5322
  }
5178
5323
 
5179
5324
  // Reduce time spent doing lookups by setting these on the prototype.
@@ -5192,17 +5337,15 @@ return /******/ (function(modules) { // webpackBootstrap
5192
5337
  module.exports = factory;
5193
5338
 
5194
5339
 
5195
- /***/ },
5340
+ /***/ }),
5196
5341
  /* 55 */
5197
- /***/ function(module, exports, __webpack_require__) {
5342
+ /***/ (function(module, exports, __webpack_require__) {
5198
5343
 
5199
5344
  /**
5200
5345
  * Copyright (c) 2013-present, Facebook, Inc.
5201
- * All rights reserved.
5202
5346
  *
5203
- * This source code is licensed under the BSD-style license found in the
5204
- * LICENSE file in the root directory of this source tree. An additional grant
5205
- * of patent rights can be found in the PATENTS file in the same directory.
5347
+ * This source code is licensed under the MIT license found in the
5348
+ * LICENSE file in the root directory of this source tree.
5206
5349
  *
5207
5350
  */
5208
5351
 
@@ -5216,9 +5359,9 @@ return /******/ (function(modules) { // webpackBootstrap
5216
5359
 
5217
5360
  module.exports = emptyObject;
5218
5361
 
5219
- /***/ },
5362
+ /***/ }),
5220
5363
  /* 56 */
5221
- /***/ function(module, exports) {
5364
+ /***/ (function(module, exports) {
5222
5365
 
5223
5366
  "use strict";
5224
5367
 
@@ -5277,9 +5420,9 @@ return /******/ (function(modules) { // webpackBootstrap
5277
5420
  next();
5278
5421
  };
5279
5422
 
5280
- /***/ },
5423
+ /***/ }),
5281
5424
  /* 57 */
5282
- /***/ function(module, exports, __webpack_require__) {
5425
+ /***/ (function(module, exports, __webpack_require__) {
5283
5426
 
5284
5427
  'use strict';
5285
5428
 
@@ -5309,7 +5452,7 @@ return /******/ (function(modules) { // webpackBootstrap
5309
5452
 
5310
5453
  var _DOMUtils = __webpack_require__(13);
5311
5454
 
5312
- var _DOMStateStorage = __webpack_require__(33);
5455
+ var _DOMStateStorage = __webpack_require__(34);
5313
5456
 
5314
5457
  var _PathUtils = __webpack_require__(5);
5315
5458
 
@@ -5418,9 +5561,9 @@ return /******/ (function(modules) { // webpackBootstrap
5418
5561
  });
5419
5562
  };
5420
5563
 
5421
- /***/ },
5564
+ /***/ }),
5422
5565
  /* 58 */
5423
- /***/ function(module, exports, __webpack_require__) {
5566
+ /***/ (function(module, exports, __webpack_require__) {
5424
5567
 
5425
5568
  'use strict';
5426
5569
 
@@ -5460,9 +5603,9 @@ return /******/ (function(modules) { // webpackBootstrap
5460
5603
  return false; // Don't update location
5461
5604
  };
5462
5605
 
5463
- /***/ },
5606
+ /***/ }),
5464
5607
  /* 59 */
5465
- /***/ function(module, exports, __webpack_require__) {
5608
+ /***/ (function(module, exports, __webpack_require__) {
5466
5609
 
5467
5610
  'use strict';
5468
5611
 
@@ -5558,9 +5701,9 @@ return /******/ (function(modules) { // webpackBootstrap
5558
5701
 
5559
5702
  exports.default = createBrowserHistory;
5560
5703
 
5561
- /***/ },
5704
+ /***/ }),
5562
5705
  /* 60 */
5563
- /***/ function(module, exports, __webpack_require__) {
5706
+ /***/ (function(module, exports, __webpack_require__) {
5564
5707
 
5565
5708
  'use strict';
5566
5709
 
@@ -5710,9 +5853,9 @@ return /******/ (function(modules) { // webpackBootstrap
5710
5853
 
5711
5854
  exports.default = createHashHistory;
5712
5855
 
5713
- /***/ },
5856
+ /***/ }),
5714
5857
  /* 61 */
5715
- /***/ function(module, exports, __webpack_require__) {
5858
+ /***/ (function(module, exports, __webpack_require__) {
5716
5859
 
5717
5860
  'use strict';
5718
5861
 
@@ -5855,9 +5998,9 @@ return /******/ (function(modules) { // webpackBootstrap
5855
5998
 
5856
5999
  exports.default = createMemoryHistory;
5857
6000
 
5858
- /***/ },
6001
+ /***/ }),
5859
6002
  /* 62 */
5860
- /***/ function(module, exports) {
6003
+ /***/ (function(module, exports) {
5861
6004
 
5862
6005
  /**
5863
6006
  * Copyright 2015, Yahoo! Inc.
@@ -5911,27 +6054,25 @@ return /******/ (function(modules) { // webpackBootstrap
5911
6054
  };
5912
6055
 
5913
6056
 
5914
- /***/ },
6057
+ /***/ }),
5915
6058
  /* 63 */
5916
- /***/ function(module, exports, __webpack_require__) {
6059
+ /***/ (function(module, exports, __webpack_require__) {
5917
6060
 
5918
6061
  /**
5919
- * Copyright 2013-present, Facebook, Inc.
5920
- * All rights reserved.
6062
+ * Copyright (c) 2013-present, Facebook, Inc.
5921
6063
  *
5922
- * This source code is licensed under the BSD-style license found in the
5923
- * LICENSE file in the root directory of this source tree. An additional grant
5924
- * of patent rights can be found in the PATENTS file in the same directory.
6064
+ * This source code is licensed under the MIT license found in the
6065
+ * LICENSE file in the root directory of this source tree.
5925
6066
  */
5926
6067
 
5927
6068
  'use strict';
5928
6069
 
5929
- var invariant = __webpack_require__(18);
5930
- var warning = __webpack_require__(19);
5931
-
5932
- var ReactPropTypesSecret = __webpack_require__(37);
5933
-
5934
- var loggedTypeFailures = {};
6070
+ if (true) {
6071
+ var invariant = __webpack_require__(18);
6072
+ var warning = __webpack_require__(19);
6073
+ var ReactPropTypesSecret = __webpack_require__(37);
6074
+ var loggedTypeFailures = {};
6075
+ }
5935
6076
 
5936
6077
  /**
5937
6078
  * Assert that the values match with the type specs.
@@ -5955,12 +6096,12 @@ return /******/ (function(modules) { // webpackBootstrap
5955
6096
  try {
5956
6097
  // This is intentionally an invariant that gets caught. It's the same
5957
6098
  // behavior as without this statement except with a better message.
5958
- invariant(typeof typeSpecs[typeSpecName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', componentName || 'React class', location, typeSpecName);
6099
+ invariant(typeof typeSpecs[typeSpecName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'the `prop-types` package, but received `%s`.', componentName || 'React class', location, typeSpecName, typeof typeSpecs[typeSpecName]);
5959
6100
  error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
5960
6101
  } catch (ex) {
5961
6102
  error = ex;
5962
6103
  }
5963
- true ? warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error) : void 0;
6104
+ warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error);
5964
6105
  if (error instanceof Error && !(error.message in loggedTypeFailures)) {
5965
6106
  // Only monitor this failure once because there tends to be a lot of the
5966
6107
  // same error.
@@ -5968,7 +6109,7 @@ return /******/ (function(modules) { // webpackBootstrap
5968
6109
 
5969
6110
  var stack = getStack ? getStack() : '';
5970
6111
 
5971
- true ? warning(false, 'Failed %s type: %s%s', location, error.message, stack != null ? stack : '') : void 0;
6112
+ warning(false, 'Failed %s type: %s%s', location, error.message, stack != null ? stack : '');
5972
6113
  }
5973
6114
  }
5974
6115
  }
@@ -5978,29 +6119,28 @@ return /******/ (function(modules) { // webpackBootstrap
5978
6119
  module.exports = checkPropTypes;
5979
6120
 
5980
6121
 
5981
- /***/ },
6122
+ /***/ }),
5982
6123
  /* 64 */
5983
- /***/ function(module, exports, __webpack_require__) {
6124
+ /***/ (function(module, exports, __webpack_require__) {
5984
6125
 
5985
6126
  /**
5986
- * Copyright 2013-present, Facebook, Inc.
5987
- * All rights reserved.
6127
+ * Copyright (c) 2013-present, Facebook, Inc.
5988
6128
  *
5989
- * This source code is licensed under the BSD-style license found in the
5990
- * LICENSE file in the root directory of this source tree. An additional grant
5991
- * of patent rights can be found in the PATENTS file in the same directory.
6129
+ * This source code is licensed under the MIT license found in the
6130
+ * LICENSE file in the root directory of this source tree.
5992
6131
  */
5993
6132
 
5994
6133
  'use strict';
5995
6134
 
5996
- var emptyFunction = __webpack_require__(32);
6135
+ var emptyFunction = __webpack_require__(33);
5997
6136
  var invariant = __webpack_require__(18);
5998
6137
  var warning = __webpack_require__(19);
6138
+ var assign = __webpack_require__(24);
5999
6139
 
6000
6140
  var ReactPropTypesSecret = __webpack_require__(37);
6001
6141
  var checkPropTypes = __webpack_require__(63);
6002
6142
 
6003
- module.exports = function (isValidElement) {
6143
+ module.exports = function(isValidElement, throwOnDirectAccess) {
6004
6144
  /* global Symbol */
6005
6145
  var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
6006
6146
  var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
@@ -6075,58 +6215,28 @@ return /******/ (function(modules) { // webpackBootstrap
6075
6215
 
6076
6216
  var ANONYMOUS = '<<anonymous>>';
6077
6217
 
6078
- var ReactPropTypes;
6079
-
6080
- if (true) {
6081
- // Keep in sync with production version below
6082
- ReactPropTypes = {
6083
- array: createPrimitiveTypeChecker('array'),
6084
- bool: createPrimitiveTypeChecker('boolean'),
6085
- func: createPrimitiveTypeChecker('function'),
6086
- number: createPrimitiveTypeChecker('number'),
6087
- object: createPrimitiveTypeChecker('object'),
6088
- string: createPrimitiveTypeChecker('string'),
6089
- symbol: createPrimitiveTypeChecker('symbol'),
6090
-
6091
- any: createAnyTypeChecker(),
6092
- arrayOf: createArrayOfTypeChecker,
6093
- element: createElementTypeChecker(),
6094
- instanceOf: createInstanceTypeChecker,
6095
- node: createNodeChecker(),
6096
- objectOf: createObjectOfTypeChecker,
6097
- oneOf: createEnumTypeChecker,
6098
- oneOfType: createUnionTypeChecker,
6099
- shape: createShapeTypeChecker
6100
- };
6101
- } else {
6102
- var productionTypeChecker = function () {
6103
- invariant(false, 'React.PropTypes type checking code is stripped in production.');
6104
- };
6105
- productionTypeChecker.isRequired = productionTypeChecker;
6106
- var getProductionTypeChecker = function () {
6107
- return productionTypeChecker;
6108
- };
6109
- // Keep in sync with development version above
6110
- ReactPropTypes = {
6111
- array: productionTypeChecker,
6112
- bool: productionTypeChecker,
6113
- func: productionTypeChecker,
6114
- number: productionTypeChecker,
6115
- object: productionTypeChecker,
6116
- string: productionTypeChecker,
6117
- symbol: productionTypeChecker,
6118
-
6119
- any: productionTypeChecker,
6120
- arrayOf: getProductionTypeChecker,
6121
- element: productionTypeChecker,
6122
- instanceOf: getProductionTypeChecker,
6123
- node: productionTypeChecker,
6124
- objectOf: getProductionTypeChecker,
6125
- oneOf: getProductionTypeChecker,
6126
- oneOfType: getProductionTypeChecker,
6127
- shape: getProductionTypeChecker
6128
- };
6129
- }
6218
+ // Important!
6219
+ // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
6220
+ var ReactPropTypes = {
6221
+ array: createPrimitiveTypeChecker('array'),
6222
+ bool: createPrimitiveTypeChecker('boolean'),
6223
+ func: createPrimitiveTypeChecker('function'),
6224
+ number: createPrimitiveTypeChecker('number'),
6225
+ object: createPrimitiveTypeChecker('object'),
6226
+ string: createPrimitiveTypeChecker('string'),
6227
+ symbol: createPrimitiveTypeChecker('symbol'),
6228
+
6229
+ any: createAnyTypeChecker(),
6230
+ arrayOf: createArrayOfTypeChecker,
6231
+ element: createElementTypeChecker(),
6232
+ instanceOf: createInstanceTypeChecker,
6233
+ node: createNodeChecker(),
6234
+ objectOf: createObjectOfTypeChecker,
6235
+ oneOf: createEnumTypeChecker,
6236
+ oneOfType: createUnionTypeChecker,
6237
+ shape: createShapeTypeChecker,
6238
+ exact: createStrictShapeTypeChecker,
6239
+ };
6130
6240
 
6131
6241
  /**
6132
6242
  * inlined Object.is polyfill to avoid requiring consumers ship their own
@@ -6163,16 +6273,41 @@ return /******/ (function(modules) { // webpackBootstrap
6163
6273
  function createChainableTypeChecker(validate) {
6164
6274
  if (true) {
6165
6275
  var manualPropTypeCallCache = {};
6276
+ var manualPropTypeWarningCount = 0;
6166
6277
  }
6167
6278
  function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
6168
6279
  componentName = componentName || ANONYMOUS;
6169
6280
  propFullName = propFullName || propName;
6170
- if (true) {
6171
- if (secret !== ReactPropTypesSecret && typeof console !== 'undefined') {
6281
+
6282
+ if (secret !== ReactPropTypesSecret) {
6283
+ if (throwOnDirectAccess) {
6284
+ // New behavior only for users of `prop-types` package
6285
+ invariant(
6286
+ false,
6287
+ 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
6288
+ 'Use `PropTypes.checkPropTypes()` to call them. ' +
6289
+ 'Read more at http://fb.me/use-check-prop-types'
6290
+ );
6291
+ } else if (("development") !== 'production' && typeof console !== 'undefined') {
6292
+ // Old behavior for people using React.PropTypes
6172
6293
  var cacheKey = componentName + ':' + propName;
6173
- if (!manualPropTypeCallCache[cacheKey]) {
6174
- true ? warning(false, 'You are manually calling a React.PropTypes validation ' + 'function for the `%s` prop on `%s`. This is deprecated ' + 'and will not work in production with the next major version. ' + 'You may be seeing this warning due to a third-party PropTypes ' + 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.', propFullName, componentName) : void 0;
6294
+ if (
6295
+ !manualPropTypeCallCache[cacheKey] &&
6296
+ // Avoid spamming the console because they are often not actionable except for lib authors
6297
+ manualPropTypeWarningCount < 3
6298
+ ) {
6299
+ warning(
6300
+ false,
6301
+ 'You are manually calling a React.PropTypes validation ' +
6302
+ 'function for the `%s` prop on `%s`. This is deprecated ' +
6303
+ 'and will throw in the standalone `prop-types` package. ' +
6304
+ 'You may be seeing this warning due to a third-party PropTypes ' +
6305
+ 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.',
6306
+ propFullName,
6307
+ componentName
6308
+ );
6175
6309
  manualPropTypeCallCache[cacheKey] = true;
6310
+ manualPropTypeWarningCount++;
6176
6311
  }
6177
6312
  }
6178
6313
  }
@@ -6310,6 +6445,20 @@ return /******/ (function(modules) { // webpackBootstrap
6310
6445
  return emptyFunction.thatReturnsNull;
6311
6446
  }
6312
6447
 
6448
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
6449
+ var checker = arrayOfTypeCheckers[i];
6450
+ if (typeof checker !== 'function') {
6451
+ warning(
6452
+ false,
6453
+ 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
6454
+ 'received %s at index %s.',
6455
+ getPostfixForTypeWarning(checker),
6456
+ i
6457
+ );
6458
+ return emptyFunction.thatReturnsNull;
6459
+ }
6460
+ }
6461
+
6313
6462
  function validate(props, propName, componentName, location, propFullName) {
6314
6463
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
6315
6464
  var checker = arrayOfTypeCheckers[i];
@@ -6355,6 +6504,36 @@ return /******/ (function(modules) { // webpackBootstrap
6355
6504
  return createChainableTypeChecker(validate);
6356
6505
  }
6357
6506
 
6507
+ function createStrictShapeTypeChecker(shapeTypes) {
6508
+ function validate(props, propName, componentName, location, propFullName) {
6509
+ var propValue = props[propName];
6510
+ var propType = getPropType(propValue);
6511
+ if (propType !== 'object') {
6512
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
6513
+ }
6514
+ // We need to check all keys in case some are required but missing from
6515
+ // props.
6516
+ var allKeys = assign({}, props[propName], shapeTypes);
6517
+ for (var key in allKeys) {
6518
+ var checker = shapeTypes[key];
6519
+ if (!checker) {
6520
+ return new PropTypeError(
6521
+ 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
6522
+ '\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
6523
+ '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
6524
+ );
6525
+ }
6526
+ var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
6527
+ if (error) {
6528
+ return error;
6529
+ }
6530
+ }
6531
+ return null;
6532
+ }
6533
+
6534
+ return createChainableTypeChecker(validate);
6535
+ }
6536
+
6358
6537
  function isNode(propValue) {
6359
6538
  switch (typeof propValue) {
6360
6539
  case 'number':
@@ -6442,6 +6621,9 @@ return /******/ (function(modules) { // webpackBootstrap
6442
6621
  // This handles more types than `getPropType`. Only used for error messages.
6443
6622
  // See `createPrimitiveTypeChecker`.
6444
6623
  function getPreciseType(propValue) {
6624
+ if (typeof propValue === 'undefined' || propValue === null) {
6625
+ return '' + propValue;
6626
+ }
6445
6627
  var propType = getPropType(propValue);
6446
6628
  if (propType === 'object') {
6447
6629
  if (propValue instanceof Date) {
@@ -6453,6 +6635,23 @@ return /******/ (function(modules) { // webpackBootstrap
6453
6635
  return propType;
6454
6636
  }
6455
6637
 
6638
+ // Returns a string that is postfixed to a warning about an invalid type.
6639
+ // For example, "undefined" or "of type array"
6640
+ function getPostfixForTypeWarning(value) {
6641
+ var type = getPreciseType(value);
6642
+ switch (type) {
6643
+ case 'array':
6644
+ case 'object':
6645
+ return 'an ' + type;
6646
+ case 'boolean':
6647
+ case 'date':
6648
+ case 'regexp':
6649
+ return 'a ' + type;
6650
+ default:
6651
+ return type;
6652
+ }
6653
+ }
6654
+
6456
6655
  // Returns class name of the object, if any.
6457
6656
  function getClassName(propValue) {
6458
6657
  if (!propValue.constructor || !propValue.constructor.name) {
@@ -6468,13 +6667,13 @@ return /******/ (function(modules) { // webpackBootstrap
6468
6667
  };
6469
6668
 
6470
6669
 
6471
- /***/ },
6670
+ /***/ }),
6472
6671
  /* 65 */
6473
- /***/ function(module, exports, __webpack_require__) {
6672
+ /***/ (function(module, exports, __webpack_require__) {
6474
6673
 
6475
6674
  'use strict';
6476
6675
  var strictUriEncode = __webpack_require__(66);
6477
- var objectAssign = __webpack_require__(36);
6676
+ var objectAssign = __webpack_require__(24);
6478
6677
 
6479
6678
  function encoderForArrayFormat(opts) {
6480
6679
  switch (opts.arrayFormat) {
@@ -6539,12 +6738,14 @@ return /******/ (function(modules) { // webpackBootstrap
6539
6738
  case 'bracket':
6540
6739
  return function (key, value, accumulator) {
6541
6740
  result = /(\[\])$/.exec(key);
6542
-
6543
6741
  key = key.replace(/\[\]$/, '');
6544
6742
 
6545
- if (!result || accumulator[key] === undefined) {
6743
+ if (!result) {
6546
6744
  accumulator[key] = value;
6547
6745
  return;
6746
+ } else if (accumulator[key] === undefined) {
6747
+ accumulator[key] = [value];
6748
+ return;
6548
6749
  }
6549
6750
 
6550
6751
  accumulator[key] = [].concat(accumulator[key], value);
@@ -6677,9 +6878,9 @@ return /******/ (function(modules) { // webpackBootstrap
6677
6878
  };
6678
6879
 
6679
6880
 
6680
- /***/ },
6881
+ /***/ }),
6681
6882
  /* 66 */
6682
- /***/ function(module, exports) {
6883
+ /***/ (function(module, exports) {
6683
6884
 
6684
6885
  'use strict';
6685
6886
  module.exports = function (str) {
@@ -6689,7 +6890,7 @@ return /******/ (function(modules) { // webpackBootstrap
6689
6890
  };
6690
6891
 
6691
6892
 
6692
- /***/ }
6893
+ /***/ })
6693
6894
  /******/ ])
6694
6895
  });
6695
6896
  ;