react-source 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * JSXTransformer v0.3.2
2
+ * JSXTransformer v0.3.3
3
3
  */
4
4
  (function(e){if("function"==typeof bootstrap)bootstrap("jsxtransformer",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeJSXTransformer=e}else"undefined"!=typeof window?window.JSXTransformer=e():global.JSXTransformer=e()})(function(){var define,ses,bootstrap,module,exports;
5
5
  return (function(e,t,n){function i(n,s){if(!t[n]){if(!e[n]){var o=typeof require=="function"&&require;if(!s&&o)return o(n,!0);if(r)return r(n,!0);throw new Error("Cannot find module '"+n+"'")}var u=t[n]={exports:{}};e[n][0].call(u.exports,function(t){var r=e[n][1][t];return i(r?r:t)},u,u.exports)}return t[n].exports}var r=typeof require=="function"&&require;for(var s=0;s<n.length;s++)i(n[s]);return i})({1:[function(require,module,exports){
@@ -29,22 +29,22 @@ var visitors = require('./fbtransform/visitors').transformVisitors;
29
29
  var transform = transform.bind(null, visitors.react);
30
30
  var docblock = require('./fbtransform/lib/docblock');
31
31
 
32
+ var headEl = document.getElementsByTagName('head')[0];
33
+
32
34
  exports.transform = transform;
35
+
33
36
  exports.exec = function(code) {
34
37
  return eval(transform(code));
35
38
  };
39
+
36
40
  var run = exports.run = function(code) {
37
- var moduleName =
38
- docblock.parseAsObject(docblock.extract(code)).providesModule;
39
- var jsx =
40
- docblock.parseAsObject(docblock.extract(code)).jsx;
41
+ var jsx = docblock.parseAsObject(docblock.extract(code)).jsx;
41
42
 
42
- window.moduleLoads = (window.moduleLoads || []).concat(moduleName);
43
- window.startTime = Date.now();
44
43
  var functionBody = jsx ? transform(code).code : code;
45
- Function('require', 'module', 'exports', functionBody)(require, module, exports);
46
- window.endTime = Date.now();
47
- require[moduleName] = module.exports;
44
+ var scriptEl = document.createElement('script');
45
+
46
+ scriptEl.innerHTML = functionBody;
47
+ headEl.appendChild(scriptEl);
48
48
  };
49
49
 
50
50
  if (typeof window === "undefined" || window === null) {
@@ -53,15 +53,17 @@ if (typeof window === "undefined" || window === null) {
53
53
 
54
54
  var load = exports.load = function(url, callback) {
55
55
  var xhr;
56
- xhr = window.ActiveXObject ? new window.ActiveXObject('Microsoft.XMLHTTP') : new XMLHttpRequest();
56
+ xhr = window.ActiveXObject ? new window.ActiveXObject('Microsoft.XMLHTTP')
57
+ : new XMLHttpRequest();
58
+ // Disable async since we need to execute scripts in the order they are in the
59
+ // DOM to mirror normal script loading.
57
60
  xhr.open('GET', url, false);
58
61
  if ('overrideMimeType' in xhr) {
59
62
  xhr.overrideMimeType('text/plain');
60
63
  }
61
64
  xhr.onreadystatechange = function() {
62
- var _ref;
63
65
  if (xhr.readyState === 4) {
64
- if ((_ref = xhr.status) === 0 || _ref === 200) {
66
+ if (xhr.status === 0 || xhr.status === 200) {
65
67
  run(xhr.responseText);
66
68
  } else {
67
69
  throw new Error("Could not load " + url);
@@ -75,37 +77,19 @@ var load = exports.load = function(url, callback) {
75
77
  };
76
78
 
77
79
  runScripts = function() {
78
- var jsxes, execute, index, length, s, scripts;
79
- scripts = document.getElementsByTagName('script');
80
- jsxes = (function() {
81
- var _i, _len, _results;
82
- _results = [];
83
- for (_i = 0, _len = scripts.length; _i < _len; _i++) {
84
- s = scripts[_i];
85
- if (s.type === 'text/jsx') {
86
- _results.push(s);
87
- }
88
- }
89
- return _results;
90
- })();
91
- index = 0;
92
- length = jsxes.length;
93
- (execute = function(j) {
94
- var script;
95
- script = jsxes[j];
96
- if ((script != null ? script.type : void 0) === 'text/jsx') {
97
- if (script.src) {
98
- return load(script.src, execute);
99
- } else {
100
- run(script.innerHTML);
101
- return execute();
102
- }
80
+ var scripts = document.getElementsByTagName('script');
81
+ scripts = Array.prototype.slice.call(scripts);
82
+ var jsxScripts = scripts.filter(function(script) {
83
+ return script.type === 'text/jsx';
84
+ });
85
+
86
+ jsxScripts.forEach(function(script) {
87
+ if (script.src) {
88
+ load(script.src);
89
+ } else {
90
+ run(script.innerHTML);
103
91
  }
104
92
  });
105
- for (var i = 0; i < jsxes.length; i++) {
106
- execute(i);
107
- }
108
- return null;
109
93
  };
110
94
 
111
95
  if (window.addEventListener) {
@@ -935,8 +919,8 @@ parseYieldExpression: true
935
919
  };
936
920
 
937
921
  ClassPropertyType = {
938
- static: 1,
939
- prototype: 2
922
+ static: 'static',
923
+ prototype: 'prototype'
940
924
  };
941
925
 
942
926
  // Error messages should be identical to V8.
@@ -5105,7 +5089,7 @@ parseYieldExpression: true
5105
5089
  function parseMethodDefinition(existingPropNames) {
5106
5090
  var token, key, param, propType, isValidDuplicateProp = false;
5107
5091
 
5108
- if (strict ? matchKeyword('static') : matchContextualKeyword('static')) {
5092
+ if (lookahead.value === 'static') {
5109
5093
  propType = ClassPropertyType.static;
5110
5094
  lex();
5111
5095
  } else {
@@ -5911,6 +5895,7 @@ parseYieldExpression: true
5911
5895
  ch = source[index++];
5912
5896
  if (isLineTerminator(ch.charCodeAt(0))) {
5913
5897
  ++lineNumber;
5898
+ lineStart = index;
5914
5899
  }
5915
5900
  str += ch;
5916
5901
  }
@@ -6236,6 +6221,11 @@ parseYieldExpression: true
6236
6221
  };
6237
6222
 
6238
6223
  marker.apply = function (node) {
6224
+ var nodeType = typeof node;
6225
+ assert(nodeType === "object",
6226
+ "Applying location marker to an unexpected node type: " +
6227
+ nodeType);
6228
+
6239
6229
  if (extra.range) {
6240
6230
  node.range = [this.range[0], this.range[1]];
6241
6231
  }
@@ -8661,17 +8651,21 @@ define(function (require, exports, module) {
8661
8651
  }
8662
8652
 
8663
8653
  if (this.sourceRoot) {
8664
- // Try to remove the sourceRoot
8665
- var relativeUrl = util.relative(this.sourceRoot, aSource);
8666
- if (this._sources.has(relativeUrl)) {
8667
- return this.sourcesContent[this._sources.indexOf(relativeUrl)];
8668
- }
8654
+ aSource = util.relative(this.sourceRoot, aSource);
8669
8655
  }
8670
8656
 
8671
8657
  if (this._sources.has(aSource)) {
8672
8658
  return this.sourcesContent[this._sources.indexOf(aSource)];
8673
8659
  }
8674
8660
 
8661
+ var url;
8662
+ if (this.sourceRoot
8663
+ && (url = util.urlParse(this.sourceRoot))
8664
+ && (!url.path || url.path == "/")
8665
+ && this._sources.has("/" + aSource)) {
8666
+ return this.sourcesContent[this._sources.indexOf("/" + aSource)];
8667
+ }
8668
+
8675
8669
  throw new Error('"' + aSource + '" is not in the SourceMap.');
8676
8670
  };
8677
8671
 
@@ -9634,7 +9628,185 @@ define(function (require, exports, module) {
9634
9628
 
9635
9629
  });
9636
9630
 
9637
- },{"./base64":23,"amdefine":19}],17:[function(require,module,exports){
9631
+ },{"./base64":23,"amdefine":19}],22:[function(require,module,exports){
9632
+ (function(process){function filter (xs, fn) {
9633
+ var res = [];
9634
+ for (var i = 0; i < xs.length; i++) {
9635
+ if (fn(xs[i], i, xs)) res.push(xs[i]);
9636
+ }
9637
+ return res;
9638
+ }
9639
+
9640
+ // resolves . and .. elements in a path array with directory names there
9641
+ // must be no slashes, empty elements, or device names (c:\) in the array
9642
+ // (so also no leading and trailing slashes - it does not distinguish
9643
+ // relative and absolute paths)
9644
+ function normalizeArray(parts, allowAboveRoot) {
9645
+ // if the path tries to go above the root, `up` ends up > 0
9646
+ var up = 0;
9647
+ for (var i = parts.length; i >= 0; i--) {
9648
+ var last = parts[i];
9649
+ if (last == '.') {
9650
+ parts.splice(i, 1);
9651
+ } else if (last === '..') {
9652
+ parts.splice(i, 1);
9653
+ up++;
9654
+ } else if (up) {
9655
+ parts.splice(i, 1);
9656
+ up--;
9657
+ }
9658
+ }
9659
+
9660
+ // if the path is allowed to go above the root, restore leading ..s
9661
+ if (allowAboveRoot) {
9662
+ for (; up--; up) {
9663
+ parts.unshift('..');
9664
+ }
9665
+ }
9666
+
9667
+ return parts;
9668
+ }
9669
+
9670
+ // Regex to split a filename into [*, dir, basename, ext]
9671
+ // posix version
9672
+ var splitPathRe = /^(.+\/(?!$)|\/)?((?:.+?)?(\.[^.]*)?)$/;
9673
+
9674
+ // path.resolve([from ...], to)
9675
+ // posix version
9676
+ exports.resolve = function() {
9677
+ var resolvedPath = '',
9678
+ resolvedAbsolute = false;
9679
+
9680
+ for (var i = arguments.length; i >= -1 && !resolvedAbsolute; i--) {
9681
+ var path = (i >= 0)
9682
+ ? arguments[i]
9683
+ : process.cwd();
9684
+
9685
+ // Skip empty and invalid entries
9686
+ if (typeof path !== 'string' || !path) {
9687
+ continue;
9688
+ }
9689
+
9690
+ resolvedPath = path + '/' + resolvedPath;
9691
+ resolvedAbsolute = path.charAt(0) === '/';
9692
+ }
9693
+
9694
+ // At this point the path should be resolved to a full absolute path, but
9695
+ // handle relative paths to be safe (might happen when process.cwd() fails)
9696
+
9697
+ // Normalize the path
9698
+ resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {
9699
+ return !!p;
9700
+ }), !resolvedAbsolute).join('/');
9701
+
9702
+ return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';
9703
+ };
9704
+
9705
+ // path.normalize(path)
9706
+ // posix version
9707
+ exports.normalize = function(path) {
9708
+ var isAbsolute = path.charAt(0) === '/',
9709
+ trailingSlash = path.slice(-1) === '/';
9710
+
9711
+ // Normalize the path
9712
+ path = normalizeArray(filter(path.split('/'), function(p) {
9713
+ return !!p;
9714
+ }), !isAbsolute).join('/');
9715
+
9716
+ if (!path && !isAbsolute) {
9717
+ path = '.';
9718
+ }
9719
+ if (path && trailingSlash) {
9720
+ path += '/';
9721
+ }
9722
+
9723
+ return (isAbsolute ? '/' : '') + path;
9724
+ };
9725
+
9726
+
9727
+ // posix version
9728
+ exports.join = function() {
9729
+ var paths = Array.prototype.slice.call(arguments, 0);
9730
+ return exports.normalize(filter(paths, function(p, index) {
9731
+ return p && typeof p === 'string';
9732
+ }).join('/'));
9733
+ };
9734
+
9735
+
9736
+ exports.dirname = function(path) {
9737
+ var dir = splitPathRe.exec(path)[1] || '';
9738
+ var isWindows = false;
9739
+ if (!dir) {
9740
+ // No dirname
9741
+ return '.';
9742
+ } else if (dir.length === 1 ||
9743
+ (isWindows && dir.length <= 3 && dir.charAt(1) === ':')) {
9744
+ // It is just a slash or a drive letter with a slash
9745
+ return dir;
9746
+ } else {
9747
+ // It is a full dirname, strip trailing slash
9748
+ return dir.substring(0, dir.length - 1);
9749
+ }
9750
+ };
9751
+
9752
+
9753
+ exports.basename = function(path, ext) {
9754
+ var f = splitPathRe.exec(path)[2] || '';
9755
+ // TODO: make this comparison case-insensitive on windows?
9756
+ if (ext && f.substr(-1 * ext.length) === ext) {
9757
+ f = f.substr(0, f.length - ext.length);
9758
+ }
9759
+ return f;
9760
+ };
9761
+
9762
+
9763
+ exports.extname = function(path) {
9764
+ return splitPathRe.exec(path)[3] || '';
9765
+ };
9766
+
9767
+ exports.relative = function(from, to) {
9768
+ from = exports.resolve(from).substr(1);
9769
+ to = exports.resolve(to).substr(1);
9770
+
9771
+ function trim(arr) {
9772
+ var start = 0;
9773
+ for (; start < arr.length; start++) {
9774
+ if (arr[start] !== '') break;
9775
+ }
9776
+
9777
+ var end = arr.length - 1;
9778
+ for (; end >= 0; end--) {
9779
+ if (arr[end] !== '') break;
9780
+ }
9781
+
9782
+ if (start > end) return [];
9783
+ return arr.slice(start, end - start + 1);
9784
+ }
9785
+
9786
+ var fromParts = trim(from.split('/'));
9787
+ var toParts = trim(to.split('/'));
9788
+
9789
+ var length = Math.min(fromParts.length, toParts.length);
9790
+ var samePartsLength = length;
9791
+ for (var i = 0; i < length; i++) {
9792
+ if (fromParts[i] !== toParts[i]) {
9793
+ samePartsLength = i;
9794
+ break;
9795
+ }
9796
+ }
9797
+
9798
+ var outputParts = [];
9799
+ for (var i = samePartsLength; i < fromParts.length; i++) {
9800
+ outputParts.push('..');
9801
+ }
9802
+
9803
+ outputParts = outputParts.concat(toParts.slice(samePartsLength));
9804
+
9805
+ return outputParts.join('/');
9806
+ };
9807
+
9808
+ })(require("__browserify_process"))
9809
+ },{"__browserify_process":21}],17:[function(require,module,exports){
9638
9810
  /* -*- Mode: js; js-indent-level: 2; -*- */
9639
9811
  /*
9640
9812
  * Copyright 2011 Mozilla Foundation and contributors
@@ -9682,6 +9854,25 @@ define(function (require, exports, module) {
9682
9854
  path: match[7]
9683
9855
  };
9684
9856
  }
9857
+ exports.urlParse = urlParse;
9858
+
9859
+ function urlGenerate(aParsedUrl) {
9860
+ var url = aParsedUrl.scheme + "://";
9861
+ if (aParsedUrl.auth) {
9862
+ url += aParsedUrl.auth + "@"
9863
+ }
9864
+ if (aParsedUrl.host) {
9865
+ url += aParsedUrl.host;
9866
+ }
9867
+ if (aParsedUrl.port) {
9868
+ url += ":" + aParsedUrl.port
9869
+ }
9870
+ if (aParsedUrl.path) {
9871
+ url += aParsedUrl.path;
9872
+ }
9873
+ return url;
9874
+ }
9875
+ exports.urlGenerate = urlGenerate;
9685
9876
 
9686
9877
  function join(aRoot, aPath) {
9687
9878
  var url;
@@ -9691,7 +9882,8 @@ define(function (require, exports, module) {
9691
9882
  }
9692
9883
 
9693
9884
  if (aPath.charAt(0) === '/' && (url = urlParse(aRoot))) {
9694
- return aRoot.replace(url.path, '') + aPath;
9885
+ url.path = aPath;
9886
+ return urlGenerate(url);
9695
9887
  }
9696
9888
 
9697
9889
  return aRoot.replace(/\/$/, '') + '/' + aPath;
@@ -9719,6 +9911,12 @@ define(function (require, exports, module) {
9719
9911
 
9720
9912
  function relative(aRoot, aPath) {
9721
9913
  aRoot = aRoot.replace(/\/$/, '');
9914
+
9915
+ var url = urlParse(aRoot);
9916
+ if (aPath.charAt(0) == "/" && url && url.path == "/") {
9917
+ return aPath.slice(1);
9918
+ }
9919
+
9722
9920
  return aPath.indexOf(aRoot + '/') === 0
9723
9921
  ? aPath.substr(aRoot.length + 1)
9724
9922
  : aPath;
@@ -9908,185 +10106,7 @@ define(function (require, exports, module) {
9908
10106
 
9909
10107
  });
9910
10108
 
9911
- },{"amdefine":19}],22:[function(require,module,exports){
9912
- (function(process){function filter (xs, fn) {
9913
- var res = [];
9914
- for (var i = 0; i < xs.length; i++) {
9915
- if (fn(xs[i], i, xs)) res.push(xs[i]);
9916
- }
9917
- return res;
9918
- }
9919
-
9920
- // resolves . and .. elements in a path array with directory names there
9921
- // must be no slashes, empty elements, or device names (c:\) in the array
9922
- // (so also no leading and trailing slashes - it does not distinguish
9923
- // relative and absolute paths)
9924
- function normalizeArray(parts, allowAboveRoot) {
9925
- // if the path tries to go above the root, `up` ends up > 0
9926
- var up = 0;
9927
- for (var i = parts.length; i >= 0; i--) {
9928
- var last = parts[i];
9929
- if (last == '.') {
9930
- parts.splice(i, 1);
9931
- } else if (last === '..') {
9932
- parts.splice(i, 1);
9933
- up++;
9934
- } else if (up) {
9935
- parts.splice(i, 1);
9936
- up--;
9937
- }
9938
- }
9939
-
9940
- // if the path is allowed to go above the root, restore leading ..s
9941
- if (allowAboveRoot) {
9942
- for (; up--; up) {
9943
- parts.unshift('..');
9944
- }
9945
- }
9946
-
9947
- return parts;
9948
- }
9949
-
9950
- // Regex to split a filename into [*, dir, basename, ext]
9951
- // posix version
9952
- var splitPathRe = /^(.+\/(?!$)|\/)?((?:.+?)?(\.[^.]*)?)$/;
9953
-
9954
- // path.resolve([from ...], to)
9955
- // posix version
9956
- exports.resolve = function() {
9957
- var resolvedPath = '',
9958
- resolvedAbsolute = false;
9959
-
9960
- for (var i = arguments.length; i >= -1 && !resolvedAbsolute; i--) {
9961
- var path = (i >= 0)
9962
- ? arguments[i]
9963
- : process.cwd();
9964
-
9965
- // Skip empty and invalid entries
9966
- if (typeof path !== 'string' || !path) {
9967
- continue;
9968
- }
9969
-
9970
- resolvedPath = path + '/' + resolvedPath;
9971
- resolvedAbsolute = path.charAt(0) === '/';
9972
- }
9973
-
9974
- // At this point the path should be resolved to a full absolute path, but
9975
- // handle relative paths to be safe (might happen when process.cwd() fails)
9976
-
9977
- // Normalize the path
9978
- resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {
9979
- return !!p;
9980
- }), !resolvedAbsolute).join('/');
9981
-
9982
- return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';
9983
- };
9984
-
9985
- // path.normalize(path)
9986
- // posix version
9987
- exports.normalize = function(path) {
9988
- var isAbsolute = path.charAt(0) === '/',
9989
- trailingSlash = path.slice(-1) === '/';
9990
-
9991
- // Normalize the path
9992
- path = normalizeArray(filter(path.split('/'), function(p) {
9993
- return !!p;
9994
- }), !isAbsolute).join('/');
9995
-
9996
- if (!path && !isAbsolute) {
9997
- path = '.';
9998
- }
9999
- if (path && trailingSlash) {
10000
- path += '/';
10001
- }
10002
-
10003
- return (isAbsolute ? '/' : '') + path;
10004
- };
10005
-
10006
-
10007
- // posix version
10008
- exports.join = function() {
10009
- var paths = Array.prototype.slice.call(arguments, 0);
10010
- return exports.normalize(filter(paths, function(p, index) {
10011
- return p && typeof p === 'string';
10012
- }).join('/'));
10013
- };
10014
-
10015
-
10016
- exports.dirname = function(path) {
10017
- var dir = splitPathRe.exec(path)[1] || '';
10018
- var isWindows = false;
10019
- if (!dir) {
10020
- // No dirname
10021
- return '.';
10022
- } else if (dir.length === 1 ||
10023
- (isWindows && dir.length <= 3 && dir.charAt(1) === ':')) {
10024
- // It is just a slash or a drive letter with a slash
10025
- return dir;
10026
- } else {
10027
- // It is a full dirname, strip trailing slash
10028
- return dir.substring(0, dir.length - 1);
10029
- }
10030
- };
10031
-
10032
-
10033
- exports.basename = function(path, ext) {
10034
- var f = splitPathRe.exec(path)[2] || '';
10035
- // TODO: make this comparison case-insensitive on windows?
10036
- if (ext && f.substr(-1 * ext.length) === ext) {
10037
- f = f.substr(0, f.length - ext.length);
10038
- }
10039
- return f;
10040
- };
10041
-
10042
-
10043
- exports.extname = function(path) {
10044
- return splitPathRe.exec(path)[3] || '';
10045
- };
10046
-
10047
- exports.relative = function(from, to) {
10048
- from = exports.resolve(from).substr(1);
10049
- to = exports.resolve(to).substr(1);
10050
-
10051
- function trim(arr) {
10052
- var start = 0;
10053
- for (; start < arr.length; start++) {
10054
- if (arr[start] !== '') break;
10055
- }
10056
-
10057
- var end = arr.length - 1;
10058
- for (; end >= 0; end--) {
10059
- if (arr[end] !== '') break;
10060
- }
10061
-
10062
- if (start > end) return [];
10063
- return arr.slice(start, end - start + 1);
10064
- }
10065
-
10066
- var fromParts = trim(from.split('/'));
10067
- var toParts = trim(to.split('/'));
10068
-
10069
- var length = Math.min(fromParts.length, toParts.length);
10070
- var samePartsLength = length;
10071
- for (var i = 0; i < length; i++) {
10072
- if (fromParts[i] !== toParts[i]) {
10073
- samePartsLength = i;
10074
- break;
10075
- }
10076
- }
10077
-
10078
- var outputParts = [];
10079
- for (var i = samePartsLength; i < fromParts.length; i++) {
10080
- outputParts.push('..');
10081
- }
10082
-
10083
- outputParts = outputParts.concat(toParts.slice(samePartsLength));
10084
-
10085
- return outputParts.join('/');
10086
- };
10087
-
10088
- })(require("__browserify_process"))
10089
- },{"__browserify_process":21}],23:[function(require,module,exports){
10109
+ },{"amdefine":19}],23:[function(require,module,exports){
10090
10110
  /* -*- Mode: js; js-indent-level: 2; -*- */
10091
10111
  /*
10092
10112
  * Copyright 2011 Mozilla Foundation and contributors
data/build/react.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * React v0.3.2
2
+ * React v0.3.3
3
3
  */
4
4
  (function(e){if("function"==typeof bootstrap)bootstrap("react",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeReact=e}else"undefined"!=typeof window?window.React=e():global.React=e()})(function(){var define,ses,bootstrap,module,exports;
5
5
  return (function(e,t,n){function i(n,s){if(!t[n]){if(!e[n]){var o=typeof require=="function"&&require;if(!s&&o)return o(n,!0);if(r)return r(n,!0);throw new Error("Cannot find module '"+n+"'")}var u=t[n]={exports:{}};e[n][0].call(u.exports,function(t){var r=e[n][1][t];return i(r?r:t)},u,u.exports)}return t[n].exports}var r=typeof require=="function"&&require;for(var s=0;s<n.length;s++)i(n[s]);return i})({1:[function(require,module,exports){
@@ -1551,11 +1551,15 @@ var ReactMount = {
1551
1551
  renderComponent: function(nextComponent, container) {
1552
1552
  var prevComponent = instanceByReactRootID[getReactRootID(container)];
1553
1553
  if (prevComponent) {
1554
- var nextProps = nextComponent.props;
1555
- ReactMount.scrollMonitor(container, function() {
1556
- prevComponent.replaceProps(nextProps);
1557
- });
1558
- return prevComponent;
1554
+ if (prevComponent.constructor === nextComponent.constructor) {
1555
+ var nextProps = nextComponent.props;
1556
+ ReactMount.scrollMonitor(container, function() {
1557
+ prevComponent.replaceProps(nextProps);
1558
+ });
1559
+ return prevComponent;
1560
+ } else {
1561
+ ReactMount.unmountAndReleaseReactRootNode(container);
1562
+ }
1559
1563
  }
1560
1564
 
1561
1565
  ReactMount.prepareTopLevelEvents(ReactEventTopLevelCallback);
@@ -8197,7 +8201,9 @@ var Properties = {
8197
8201
  height: null,
8198
8202
  href: null,
8199
8203
  htmlFor: null,
8204
+ max: null,
8200
8205
  method: null,
8206
+ min: null,
8201
8207
  multiple: MustUseProperty | HasBooleanValue,
8202
8208
  name: null,
8203
8209
  poster: null,
@@ -8211,6 +8217,7 @@ var Properties = {
8211
8217
  selected: MustUseProperty | HasBooleanValue,
8212
8218
  spellCheck: null,
8213
8219
  src: null,
8220
+ step: null,
8214
8221
  style: null,
8215
8222
  tabIndex: null,
8216
8223
  target: null,
data/build/react.min.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * React v0.3.2
2
+ * React v0.3.3
3
3
  *
4
4
  * Copyright 2013 Facebook, Inc.
5
5
  *
@@ -15,5 +15,5 @@
15
15
  * See the License for the specific language governing permissions and
16
16
  * limitations under the License.
17
17
  */
18
- !function(e){if("function"==typeof bootstrap)bootstrap("react",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeReact=e}else"undefined"!=typeof window?window.React=e():global.React=e()}(function(){return function(e,t,n){function o(n,i){if(!t[n]){if(!e[n]){var a="function"==typeof require&&require;if(!i&&a)return a(n,!0);if(r)return r(n,!0);throw new Error("Cannot find module '"+n+"'")}var s=t[n]={exports:{}};e[n][0].call(s.exports,function(t){var r=e[n][1][t];return o(r?r:t)},s,s.exports)}return t[n].exports}for(var r="function"==typeof require&&require,i=0;i<n.length;i++)o(n[i]);return o}({1:[function(e,t){"use strict";var n=e("./ReactCompositeComponent"),o=e("./ReactComponent"),r=e("./ReactDOM"),i=e("./ReactMount"),a=e("./ReactDefaultInjection");a.inject();var s={DOM:r,initializeTouchEvents:function(e){i.useTouchEvents=e},autoBind:n.autoBind,createClass:n.createClass,createComponentRenderer:i.createComponentRenderer,constructAndRenderComponent:i.constructAndRenderComponent,constructAndRenderComponentByID:i.constructAndRenderComponentByID,renderComponent:i.renderComponent,unmountAndReleaseReactRootNode:i.unmountAndReleaseReactRootNode,isValidComponent:o.isValidComponent};t.exports=s},{"./ReactCompositeComponent":2,"./ReactComponent":3,"./ReactDOM":4,"./ReactMount":5,"./ReactDefaultInjection":6}],2:[function(e,t){!function(){"use strict";function n(e,t){var n=e.prototype;for(var r in t)if(t.hasOwnProperty(r)){var i=t[r],a=h[r];v.hasOwnProperty(r)&&u(a===d.OVERRIDE_BASE,"ReactCompositeComponentInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",r),null!=a&&u(!i||!i.__reactAutoBind,"ReactCompositeComponentInterface: You are attempting to use `React.autoBind` on `%s`, a method that is internal to React.Internal methods are called with the component as the context.",r),n.hasOwnProperty(r)&&u(a===d.DEFINE_MANY,"ReactCompositeComponentInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",r),f.hasOwnProperty(r)?f[r](e,i):i&&i.__reactAutoBind?(n.__reactAutoBindMap||(n.__reactAutoBindMap={}),n.__reactAutoBindMap[r]=i.__reactAutoBind):n[r]=n.hasOwnProperty(r)?o(n[r],i):i}}function o(e,t){return function(n,o,r,i,a,s){u("undefined"==typeof s,"Chained function can only take a maximum of 5 arguments."),e.call(this,n,o,r,i,a),t.call(this,n,o,r,i,a)}}var r=e("./ReactComponent"),i=e("./ReactCurrentOwner"),a=e("./ReactOwner"),s=e("./ReactPropTransferer"),u=e("./invariant"),c=e("./keyMirror"),l=e("./merge"),p=e("./mixInto"),d=c({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null}),h={mixins:d.DEFINE_MANY,props:d.DEFINE_ONCE,getInitialState:d.DEFINE_ONCE,render:d.DEFINE_ONCE,componentWillMount:d.DEFINE_MANY,componentDidMount:d.DEFINE_MANY,componentWillReceiveProps:d.DEFINE_MANY,shouldComponentUpdate:d.DEFINE_ONCE,componentWillUpdate:d.DEFINE_MANY,componentDidUpdate:d.DEFINE_MANY,componentWillUnmount:d.DEFINE_MANY,updateComponent:d.OVERRIDE_BASE},f={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var o=0;o<t.length;o++)n(e,t[o])},props:function(e,t){e.propDeclarations=t}},m=c({MOUNTING:null,UNMOUNTING:null,RECEIVING_PROPS:null,RECEIVING_STATE:null}),v={construct:function(e,t){r.Mixin.construct.call(this,e,t),this.state=null,this._pendingState=null,this._compositeLifeCycleState=null},mountComponent:function(e,t){return r.Mixin.mountComponent.call(this,e,t),this._lifeCycleState=r.LifeCycle.UNMOUNTED,this._compositeLifeCycleState=m.MOUNTING,this.constructor.propDeclarations&&this._assertValidProps(this.props),this.__reactAutoBindMap&&this._bindAutoBindMethods(),this.state=this.getInitialState?this.getInitialState():null,this._pendingState=null,this.componentWillMount&&(this.componentWillMount(),this._pendingState&&(this.state=this._pendingState,this._pendingState=null)),this.componentDidMount&&t.getReactOnDOMReady().enqueue(this,this.componentDidMount),this._renderedComponent=this._renderValidatedComponent(),this._compositeLifeCycleState=null,this._lifeCycleState=r.LifeCycle.MOUNTED,this._renderedComponent.mountComponent(e,t)},unmountComponent:function(){this._compositeLifeCycleState=m.UNMOUNTING,this.componentWillUnmount&&this.componentWillUnmount(),this._compositeLifeCycleState=null,r.Mixin.unmountComponent.call(this),this._renderedComponent.unmountComponent(),this._renderedComponent=null,this.refs&&(this.refs=null)},receiveProps:function(e,t){this.constructor.propDeclarations&&this._assertValidProps(e),r.Mixin.receiveProps.call(this,e,t),this._compositeLifeCycleState=m.RECEIVING_PROPS,this.componentWillReceiveProps&&this.componentWillReceiveProps(e,t),this._compositeLifeCycleState=m.RECEIVING_STATE;var n=this._pendingState||this.state;this._pendingState=null,this._receivePropsAndState(e,n,t),this._compositeLifeCycleState=null},setState:function(e){this.replaceState(l(this._pendingState||this.state,e))},replaceState:function(e){var t=this._compositeLifeCycleState;if(u(this._lifeCycleState===r.LifeCycle.MOUNTED||t===m.MOUNTING,"replaceState(...): Can only update a mounted (or mounting) component."),u(t!==m.RECEIVING_STATE&&t!==m.UNMOUNTING,"replaceState(...): Cannot update while unmounting component or during an existing state transition (such as within `render`)."),this._pendingState=e,t!==m.MOUNTING&&t!==m.RECEIVING_PROPS){this._compositeLifeCycleState=m.RECEIVING_STATE;var n=this._pendingState;this._pendingState=null;var o=r.ReactReconcileTransaction.getPooled();o.perform(this._receivePropsAndState,this,this.props,n,o),r.ReactReconcileTransaction.release(o),this._compositeLifeCycleState=null}},_receivePropsAndState:function(e,t,n){!this.shouldComponentUpdate||this.shouldComponentUpdate(e,t)?this._performComponentUpdate(e,t,n):(this.props=e,this.state=t)},_performComponentUpdate:function(e,t,n){var o=this.props,r=this.state;this.componentWillUpdate&&this.componentWillUpdate(e,t,n),this.props=e,this.state=t,this.updateComponent(n),this.componentDidUpdate&&n.getReactOnDOMReady().enqueue(this,this.componentDidUpdate.bind(this,o,r))},updateComponent:function(e){var t=this._renderedComponent,n=this._renderValidatedComponent();if(t.constructor===n.constructor)n.props.isStatic||t.receiveProps(n.props,e);else{var o=this._rootNodeID,i=t._rootNodeID;t.unmountComponent();var a=n.mountComponent(o,e);r.DOMIDOperations.dangerouslyReplaceNodeWithMarkupByID(i,a),this._renderedComponent=n}},forceUpdate:function(){var e=r.ReactReconcileTransaction.getPooled();e.perform(this._performComponentUpdate,this,this.props,this.state,e),r.ReactReconcileTransaction.release(e)},_renderValidatedComponent:function(){i.current=this;var e=this.render();return i.current=null,u(r.isValidComponent(e),"%s.render(): A valid ReactComponent must be returned.",this.constructor.displayName||"ReactCompositeComponent"),e},_assertValidProps:function(e){var t=this.constructor.propDeclarations,n=this.constructor.displayName;for(var o in t){var r=t[o];r&&r(e,o,n)}},_bindAutoBindMethods:function(){for(var e in this.__reactAutoBindMap)if(this.__reactAutoBindMap.hasOwnProperty(e)){var t=this.__reactAutoBindMap[e];this[e]=this._bindAutoBindMethod(t)}},_bindAutoBindMethod:function(e){function t(t,i,a,s,c,l){return u("undefined"==typeof l,"React.autoBind(...): Methods can only take a maximum of 5 arguments."),n._lifeCycleState===r.LifeCycle.MOUNTED?e.call(n,t,i,a,s,c):(o||(o=!0),void 0)}var n=this,o=!1;return t}},g=function(){};p(g,r.Mixin),p(g,a.Mixin),p(g,s.Mixin),p(g,v);var y={LifeCycle:m,Base:g,createClass:function(e){var t=function(e,t){this.construct(e,t)};t.prototype=new g,t.prototype.constructor=t,n(t,e),u(t.prototype.render,"createClass(...): Class specification must implement a `render` method.");var o=function(e,n){return new t(e,n)};return o.componentConstructor=t,o.originalSpec=e,o},autoBind:function(e){function t(){u(!1,"React.autoBind(...): Attempted to invoke an auto-bound method that was not correctly defined on the class specification.")}return t.__reactAutoBind=e,t}};t.exports=y}()},{"./ReactComponent":3,"./ReactCurrentOwner":7,"./ReactOwner":8,"./ReactPropTransferer":9,"./invariant":10,"./keyMirror":11,"./merge":12,"./mixInto":13}],3:[function(e,t){"use strict";function n(e){console&&console.warn&&console.warn(e)}var o=e("./ExecutionEnvironment"),r=e("./ReactCurrentOwner"),i=e("./ReactDOMIDOperations"),a=e("./ReactMount"),s=e("./ReactOwner"),u=e("./ReactReconcileTransaction"),c=e("./invariant"),l=e("./keyMirror"),p=e("./merge"),d="{owner}",h=l({MOUNTED:null,UNMOUNTED:null}),f={isValidComponent:function(e){return!(!e||"function"!=typeof e.mountComponentIntoNode||"function"!=typeof e.receiveProps)},LifeCycle:h,DOMIDOperations:i,ReactReconcileTransaction:u,setDOMOperations:function(e){f.DOMIDOperations=e},setReactReconcileTransaction:function(e){f.ReactReconcileTransaction=e},Mixin:{getDOMNode:function(){c(o.canUseDOM,"getDOMNode(): The DOM is not supported in the current environment."),c(this._lifeCycleState===h.MOUNTED,"getDOMNode(): A component must be mounted to have a DOM node.");var e=this._rootNode;return e||(e=document.getElementById(this._rootNodeID),e||(e=a.findReactRenderedDOMNodeSlow(this._rootNodeID)),this._rootNode=e),e},setProps:function(e){this.replaceProps(p(this.props,e))},replaceProps:function(e){c(!this.props[d],"replaceProps(...): You called `setProps` or `replaceProps` on a component with an owner. This is an anti-pattern since props will get reactively updated when rendered. Instead, change the owner's `render` method to pass the correct value as props to the component where it is created.");var t=f.ReactReconcileTransaction.getPooled();t.perform(this.receiveProps,this,e,t),f.ReactReconcileTransaction.release(t)},construct:function(e,t){this.props=e||{},"undefined"!=typeof t&&(this.props.children=t),this.props[d]=r.current,this._lifeCycleState=h.UNMOUNTED},mountComponent:function(e){c(this._lifeCycleState===h.UNMOUNTED,"mountComponent(%s, ...): Can only mount an unmounted component.",e);var t=this.props;null!=t.ref&&s.addComponentAsRefTo(this,t.ref,t[d]),this._rootNodeID=e,this._lifeCycleState=h.MOUNTED},unmountComponent:function(){c(this._lifeCycleState===h.MOUNTED,"unmountComponent(): Can only unmount a mounted component.");var e=this.props;null!=e.ref&&s.removeComponentAsRefFrom(this,e.ref,e[d]),this._rootNode=null,this._rootNodeID=null,this._lifeCycleState=h.UNMOUNTED},receiveProps:function(e){c(this._lifeCycleState===h.MOUNTED,"receiveProps(...): Can only update a mounted component.");var t=this.props;(e[d]!==t[d]||e.ref!==t.ref)&&(null!=t.ref&&s.removeComponentAsRefFrom(this,t.ref,t[d]),null!=e.ref&&s.addComponentAsRefTo(this,e.ref,e[d]))},mountComponentIntoNode:function(e,t){var n=f.ReactReconcileTransaction.getPooled();n.perform(this._mountComponentIntoNode,this,e,t,n),f.ReactReconcileTransaction.release(n)},_mountComponentIntoNode:function(e,t,n){var o=Date.now(),r=this.mountComponent(e,n);a.totalInstantiationTime+=Date.now()-o;var i=Date.now(),s=t.parentNode;if(s){var u=t.nextSibling;s.removeChild(t),t.innerHTML=r,u?s.insertBefore(t,u):s.appendChild(t)}else t.innerHTML=r;a.totalInjectionTime+=Date.now()-i},unmountComponentFromNode:function(e){for(this.unmountComponent();e.lastChild;)e.removeChild(e.lastChild)},isOwnedBy:function(e){return this.props[d]===e}}};f.Mixin.update=function(e){n("this.update() is deprecated. Use this.setProps()"),this.setProps(e)},f.Mixin.updateAll=function(e){n("this.updateAll() is deprecated. Use this.replaceProps()"),this.replaceProps(e)},t.exports=f},{"./ExecutionEnvironment":14,"./ReactCurrentOwner":7,"./ReactDOMIDOperations":15,"./ReactMount":5,"./ReactOwner":8,"./ReactReconcileTransaction":16,"./invariant":10,"./keyMirror":11,"./merge":12}],4:[function(e,t){"use strict";function n(e,t){var n=function(e,t){this.construct(e,t)};return n.prototype=new o(e,t),n.prototype.constructor=n,function(e,t){return new n(e,t)}}var o=e("./ReactNativeComponent"),r=e("./mergeInto"),i=e("./objMapKeyVal"),a=i({a:!1,abbr:!1,address:!1,audio:!1,b:!1,body:!1,br:!0,button:!1,code:!1,col:!0,colgroup:!1,dd:!1,div:!1,section:!1,dl:!1,dt:!1,em:!1,embed:!0,fieldset:!1,footer:!1,form:!1,h1:!1,h2:!1,h3:!1,h4:!1,h5:!1,h6:!1,header:!1,hr:!0,i:!1,iframe:!1,img:!0,input:!0,label:!1,legend:!1,li:!1,line:!1,nav:!1,object:!1,ol:!1,optgroup:!1,option:!1,p:!1,param:!0,pre:!1,select:!1,small:!1,source:!1,span:!1,sub:!1,sup:!1,strong:!1,table:!1,tbody:!1,td:!1,textarea:!1,tfoot:!1,th:!1,thead:!1,time:!1,title:!1,tr:!1,u:!1,ul:!1,video:!1,wbr:!1,circle:!1,g:!1,path:!1,polyline:!1,rect:!1,svg:!1,text:!1},n),s={injectComponentClasses:function(e){r(a,e)}};a.injection=s,t.exports=a},{"./ReactNativeComponent":17,"./mergeInto":18,"./objMapKeyVal":19}],5:[function(e,t){!function(){"use strict";function n(e){return e.firstChild&&e.firstChild.id}var o=e("./ReactEvent"),r=e("./ReactInstanceHandles"),i=e("./ReactEventTopLevelCallback"),a=e("./$"),s=0,u={},c={},l={totalInstantiationTime:0,totalInjectionTime:0,useTouchEvents:!1,scrollMonitor:function(e,t){t()},prepareTopLevelEvents:function(e){o.ensureListening(l.useTouchEvents,e)},renderComponent:function(e,t){var o=u[n(t)];if(o){var r=e.props;return l.scrollMonitor(t,function(){o.replaceProps(r)}),o}l.prepareTopLevelEvents(i);var a=l.registerContainer(t);return u[a]=e,e.mountComponentIntoNode(a,t),e},createComponentRenderer:function(e){return function(t){return l.renderComponent(e,t)}},constructAndRenderComponent:function(e,t,n){return l.renderComponent(e(t),n)},constructAndRenderComponentByID:function(e,t,n){return l.constructAndRenderComponent(e,t,a(n))},registerContainer:function(e){var t=n(e);return t&&(t=r.getReactRootIDFromNodeID(t)),t||(t=r.getReactRootID(s++)),c[t]=e,t},unmountAndReleaseReactRootNode:function(e){var t=n(e),o=u[t];o.unmountComponentFromNode(e),delete u[t],delete c[t]},findReactContainerForID:function(e){var t=r.getReactRootIDFromNodeID(e);return c[t]},findReactRenderedDOMNodeSlow:function(e){var t=l.findReactContainerForID(e);return r.findComponentRoot(t,e)}};t.exports=l}()},{"./ReactEvent":20,"./ReactInstanceHandles":21,"./ReactEventTopLevelCallback":22,"./$":23}],6:[function(e,t){"use strict";function n(){s.injection.injectEventPluginOrder(i),s.injection.injectInstanceHandle(u),s.injection.injectEventPluginsByName({SimpleEventPlugin:c,EnterLeaveEventPlugin:a}),o.injection.injectComponentClasses({form:r})}var o=e("./ReactDOM"),r=e("./ReactDOMForm"),i=e("./DefaultEventPluginOrder"),a=e("./EnterLeaveEventPlugin"),s=e("./EventPluginHub"),u=e("./ReactInstanceHandles"),c=e("./SimpleEventPlugin");t.exports={inject:n}},{"./ReactDOM":4,"./ReactDOMForm":24,"./DefaultEventPluginOrder":25,"./EnterLeaveEventPlugin":26,"./EventPluginHub":27,"./ReactInstanceHandles":21,"./SimpleEventPlugin":28}],7:[function(e,t){"use strict";var n={current:null};t.exports=n},{}],10:[function(e,t){function n(e){if(!e)throw new Error("Invariant Violation")}t.exports=n},{}],13:[function(e,t){"use strict";var n=function(e,t){var n;for(n in t)t.hasOwnProperty(n)&&(e.prototype[n]=t[n])};t.exports=n},{}],14:[function(e,t){!function(){"use strict";var e="undefined"!=typeof window,n={canUseDOM:e,canUseWorkers:"undefined"!=typeof Worker,isInWorker:!e,global:new Function("return this;")()};t.exports=n}()},{}],19:[function(e,t){"use strict";function n(e,t,n){if(!e)return null;var o=0,r={};for(var i in e)e.hasOwnProperty(i)&&(r[i]=t.call(n,i,e[i],o++));return r}t.exports=n},{}],8:[function(e,t){"use strict";var n=e("./invariant"),o={isValidOwner:function(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)},addComponentAsRefTo:function(e,t,r){n(o.isValidOwner(r),"addComponentAsRefTo(...): Only a ReactOwner can have refs."),r.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,r){n(o.isValidOwner(r),"removeComponentAsRefFrom(...): Only a ReactOwner can have refs."),r.refs[t]===e&&r.detachRef(t)},Mixin:{attachRef:function(e,t){n(t.isOwnedBy(this),"attachRef(%s, ...): Only a component's owner can store a ref to it.",e);var o=this.refs||(this.refs={});o[e]=t},detachRef:function(e){delete this.refs[e]}}};t.exports=o},{"./invariant":10}],9:[function(e,t){"use strict";function n(e){return function(t,n,o){t[n]=t.hasOwnProperty(n)?e(t[n],o):o}}var o=e("./emptyFunction"),r=e("./joinClasses"),i=e("./merge"),a={ref:o,className:n(r),style:n(i)},s={TransferStrategies:a,Mixin:{transferPropsTo:function(e){var t={};for(var n in e.props)e.props.hasOwnProperty(n)&&(t[n]=e.props[n]);for(var o in this.props)if(this.props.hasOwnProperty(o)){var r=a[o];r?r(t,o,this.props[o]):t.hasOwnProperty(o)||(t[o]=this.props[o])}return e.props=t,e}}};t.exports=s},{"./emptyFunction":29,"./joinClasses":30,"./merge":12}],11:[function(e,t){"use strict";var n=e("./throwIf"),o="NOT_OBJECT_ERROR",r=function(e){var t,r={};n(!(e instanceof Object)||Array.isArray(e),o);for(t in e)e.hasOwnProperty(t)&&(r[t]=t);return r};t.exports=r},{"./throwIf":31}],12:[function(e,t){"use strict";var n=e("./mergeInto"),o=function(e,t){var o={};return n(o,e),n(o,t),o};t.exports=o},{"./mergeInto":18}],15:[function(e,t){!function(){"use strict";var n=e("./CSSPropertyOperations"),o=e("./DOMChildrenOperations"),r=e("./DOMPropertyOperations"),i=e("./ReactDOMNodeCache"),a=e("./getTextContentAccessor"),s=e("./invariant"),u={content:"`content` must be set using `updateTextContentByID()`.",dangerouslySetInnerHTML:"`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.",style:"`style` must be set using `updateStylesByID()`."},c=a()||"NA",l={updatePropertyByID:function(e,t,n){var o=i.getCachedNodeByID(e);s(!u.hasOwnProperty(t),"updatePropertyByID(...): %s",u[t]),r.setValueForProperty(o,t,n)},updatePropertiesByID:function(e,t){for(var n in t)t.hasOwnProperty(n)&&l.updatePropertiesByID(e,n,t[n])},updateStylesByID:function(e,t){var o=i.getCachedNodeByID(e);n.setValueForStyles(o,t)},updateInnerHTMLByID:function(e,t){var n=i.getCachedNodeByID(e);n.innerHTML=(t&&t.__html||"").replace(/^ /g,"&nbsp;")},updateTextContentByID:function(e,t){var n=i.getCachedNodeByID(e);n[c]=t},dangerouslyReplaceNodeWithMarkupByID:function(e,t){var n=i.getCachedNodeByID(e);o.dangerouslyReplaceNodeWithMarkup(n,t),i.purgeEntireCache()},manageChildrenByParentID:function(e,t){var n=i.getCachedNodeByID(e);o.manageChildren(n,t),i.purgeEntireCache()},setTextNodeValueAtIndexByParentID:function(e,t,n){var r=i.getCachedNodeByID(e);o.setTextNodeValueAtIndex(r,t,n)}};t.exports=l}()},{"./CSSPropertyOperations":32,"./DOMChildrenOperations":33,"./DOMPropertyOperations":34,"./ReactDOMNodeCache":35,"./getTextContentAccessor":36,"./invariant":10}],16:[function(e,t){"use strict";function n(){this.reinitializeTransaction(),this.reactOnDOMReady=s.getPooled(null)}var o=e("./ExecutionEnvironment"),r=e("./PooledClass"),i=e("./ReactEvent"),a=e("./ReactInputSelection"),s=e("./ReactOnDOMReady"),u=e("./Transaction"),c=e("./mixInto"),l={initialize:a.getSelectionInformation,close:a.restoreSelection},p={initialize:function(){var e=i.isEnabled();return i.setEnabled(!1),e},close:function(e){i.setEnabled(e)}},d={initialize:function(){this.reactOnDOMReady.reset()},close:function(){this.reactOnDOMReady.notifyAll()}},h=[l,p,d],f={getTransactionWrappers:function(){return o.canUseDOM?h:[]},getReactOnDOMReady:function(){return this.reactOnDOMReady},destructor:function(){s.release(this.reactOnDOMReady),this.reactOnDOMReady=null}};c(n,u.Mixin),c(n,f),r.addPoolingTo(n),t.exports=n},{"./ExecutionEnvironment":14,"./PooledClass":37,"./ReactEvent":20,"./ReactInputSelection":38,"./ReactOnDOMReady":39,"./Transaction":40,"./mixInto":13}],17:[function(e,t){"use strict";function n(e){if(e){var t=null!=e.children?1:0,n=null!=e.content?1:0,o=null!=e.dangerouslySetInnerHTML?1:0;p(1>=t+n+o,"Can only set one of `children`, `props.content`, or `props.dangerouslySetInnerHTML`."),p(null==e.style||"object"==typeof e.style,"The `style` prop expects a mapping from style properties to values, not a string.")}}function o(e,t){this._tagOpen="<"+e+" ",this._tagClose=t?"":"</"+e+">",this.tagName=e.toUpperCase()}var r=e("./CSSPropertyOperations"),i=e("./DOMPropertyOperations"),a=e("./ReactComponent"),s=e("./ReactEvent"),u=e("./ReactMultiChild"),c=e("./escapeTextForBrowser"),l=e("./flattenChildren"),p=e("./invariant"),d=e("./keyOf"),h=e("./merge"),f=e("./mixInto"),m=s.putListener,v=s.registrationNames,g={string:!0,number:!0},y=d({content:null}),E=d({dangerouslySetInnerHTML:null}),C=d({style:null});o.Mixin={mountComponent:function(e,t){return a.Mixin.mountComponent.call(this,e,t),n(this.props),this._createOpenTagMarkup()+this._createContentMarkup(t)+this._tagClose},_createOpenTagMarkup:function(){var e=this.props,t=this._tagOpen;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];if(null!=o)if(v[n])m(this._rootNodeID,n,o);else{n===C&&(o&&(o=e.style=h(e.style)),o=r.createMarkupForStyles(o));var a=i.createMarkupForProperty(n,o);a&&(t+=" "+a)}}return t+' id="'+this._rootNodeID+'">'},_createContentMarkup:function(e){var t=this.props.dangerouslySetInnerHTML;if(null!=t){if(null!=t.__html)return t.__html}else{var n=null!=this.props.content?this.props.content:g[typeof this.props.children]?this.props.children:null,o=null!=n?null:this.props.children;if(null!=n)return c(n);if(null!=o)return this.mountMultiChild(l(o),e)}return""},receiveProps:function(e,t){p(this._rootNodeID,"Trying to control a native dom element without a backing id"),n(e),a.Mixin.receiveProps.call(this,e,t),this._updateDOMProperties(e),this._updateDOMChildren(e,t),this.props=e},_updateDOMProperties:function(e){var t=this.props;for(var n in e){var o=e[n],r=t[n];if(e.hasOwnProperty(n)&&o!==r)if(n===C){o&&(o=e.style=h(o));var i;for(var s in o)o.hasOwnProperty(s)&&(r&&r[s]===o[s]||(i||(i={}),i[s]=o[s]));i&&a.DOMIDOperations.updateStylesByID(this._rootNodeID,i)}else if(n===E){var u=r&&r.__html,c=o&&o.__html;u!==c&&a.DOMIDOperations.updateInnerHTMLByID(this._rootNodeID,o)}else n===y?a.DOMIDOperations.updateTextContentByID(this._rootNodeID,""+o):v[n]?m(this._rootNodeID,n,o):a.DOMIDOperations.updatePropertyByID(this._rootNodeID,n,o)}},_updateDOMChildren:function(e,t){var n=typeof this.props.content,o=null==this.props.content||"boolean"===n,r=typeof e.content,i=null==e.content||"boolean"===r,s=o?g[typeof this.props.children]?this.props.children:null:this.props.content,u=i?g[typeof e.children]?e.children:null:e.content,c=null!=s?null:this.props.children,p=null!=u?null:e.children;if(null!=u){var d=null!=c&&null==p;d&&this.updateMultiChild(null,t),s!==u&&a.DOMIDOperations.updateTextContentByID(this._rootNodeID,""+u)}else{var h=null!=s&&null==u;h&&a.DOMIDOperations.updateTextContentByID(this._rootNodeID,""),this.updateMultiChild(l(e.children),t)}},unmountComponent:function(){a.Mixin.unmountComponent.call(this),this.unmountMultiChild(),s.deleteAllListeners(this._rootNodeID)}},f(o,a.Mixin),f(o,o.Mixin),f(o,u.Mixin),t.exports=o},{"./CSSPropertyOperations":32,"./DOMPropertyOperations":34,"./ReactComponent":3,"./ReactEvent":20,"./ReactMultiChild":41,"./escapeTextForBrowser":42,"./flattenChildren":43,"./invariant":10,"./keyOf":44,"./merge":12,"./mixInto":13}],18:[function(e,t){"use strict";function n(e,t){if(r(e),null!=t){r(t);for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}}var o=e("./mergeHelpers"),r=o.checkMergeObjectArg;t.exports=n},{"./mergeHelpers":45}],20:[function(e,t){"use strict";function n(e,t,n){C(n,t,R.TopLevelCallbackCreator.createTopLevelCallback(e))}function o(e,t,n){D(n,t,R.TopLevelCallbackCreator.createTopLevelCallback(e))}function r(){C(window,"scroll",function(e){e.target===window&&p.refreshAuthoritativeScrollValues()})}function i(){C(window,"resize",function(e){e.target===window&&p.refreshAuthoritativeScrollValues()})}function a(e){v(!M,"listenAtTopLevel(...): Cannot setup top-level listener more than once.");var t=document;r(),i(),n(E.topMouseOver,"mouseover",t),n(E.topMouseDown,"mousedown",t),n(E.topMouseUp,"mouseup",t),n(E.topMouseMove,"mousemove",t),n(E.topMouseOut,"mouseout",t),n(E.topClick,"click",t),n(E.topDoubleClick,"dblclick",t),n(E.topMouseWheel,"mousewheel",t),e&&(n(E.topTouchStart,"touchstart",t),n(E.topTouchEnd,"touchend",t),n(E.topTouchMove,"touchmove",t),n(E.topTouchCancel,"touchcancel",t)),n(E.topKeyUp,"keyup",t),n(E.topKeyPress,"keypress",t),n(E.topKeyDown,"keydown",t),n(E.topChange,"change",t),n(E.topDOMCharacterDataModified,"DOMCharacterDataModified",t),n(E.topMouseWheel,"DOMMouseScroll",t),g("scroll",!0)?o(E.topScroll,"scroll",t):n(E.topScroll,"scroll",window),g("focus",!0)?(o(E.topFocus,"focus",t),o(E.topBlur,"blur",t)):g("focusin")&&(n(E.topFocus,"focusin",t),n(E.topBlur,"focusout",t))}function s(e,t,n,o){var r=h.extractAbstractEvents(e,t,n,o);h.enqueueAbstractEvents(r),h.processAbstractEventQueue()}function u(e){v(f.canUseDOM,"setEnabled(...): Cannot toggle event listening in a Worker thread. This is likely a bug in the framework. Please report immediately."),R.TopLevelCallbackCreator.setEnabled(e)}function c(){return R.TopLevelCallbackCreator.isEnabled()}function l(e,t){v(f.canUseDOM,"ensureListening(...): Cannot toggle event listening in a Worker thread. This is likely a bug in the framework. Please report immediately."),M||(R.TopLevelCallbackCreator=t,a(e),M=!0)}var p=e("./BrowserEnv"),d=e("./EventConstants"),h=e("./EventPluginHub"),f=e("./ExecutionEnvironment"),m=e("./NormalizedEventListener"),v=e("./invariant"),g=e("./isEventSupported"),y=h.registrationNames,E=d.topLevelTypes,C=m.listen,D=m.capture,M=!1,R={TopLevelCallbackCreator:null,handleTopLevel:s,setEnabled:u,isEnabled:c,ensureListening:l,registrationNames:y,putListener:h.putListener,getListener:h.getListener,deleteAllListeners:h.deleteAllListeners,trapBubbledEvent:n,trapCapturedEvent:o};t.exports=R},{"./BrowserEnv":46,"./EventConstants":47,"./EventPluginHub":27,"./ExecutionEnvironment":14,"./NormalizedEventListener":48,"./invariant":10,"./isEventSupported":49}],21:[function(e,t){"use strict";function n(e,t){return e.charAt(t)===c||t===e.length}function o(e){return""===e||e.charAt(0)===c&&e.charAt(e.length-1)!==c}function r(e){var t=s(e);return t&&t.charAt(0)===c}function i(e){return e?e.substr(0,e.lastIndexOf(c)):""}function a(e,t,n,o,r,a){e=e||"",t=t||"",u(e!==t,"traverseParentPath(...): Cannot traverse from and to the same ID, `%s`.",e);var s=d.getFirstCommonAncestorID(e,t),c=s===t;u(c||s===e,"traverseParentPath(%s, %s, ...): Cannot traverse from two IDs that do not have a parent path.",e,t);for(var l=0,h=c?i:d.nextDescendantID,f=e;r&&f===e||a&&f===t||n(f,c,o),f!==t;f=h(f,t))u(l++<p,"traverseParentPath(%s, %s, ...): Detected an infinite loop while traversing the React DOM ID tree. This may be due to malformed IDs: %s",e,t)}var s=e("./getDOMNodeID"),u=e("./invariant"),c=".",l=c.length,p=100,d={separator:c,getFirstReactDOM:function(e){for(var t=e;t&&t.parentNode!==t;){if(r(t))return t;t=t.parentNode}return null},findComponentRoot:function(e,t){for(var n=e.firstChild;n;){if(t===n.id)return n;if(0===t.indexOf(n.id))return d.findComponentRoot(n,t);n=n.nextSibling}},getFirstCommonAncestorID:function(e,t){var r=Math.min(e.length,t.length);if(0===r)return"";for(var i=0,a=0;r>=a;a++)if(n(e,a)&&n(t,a))i=a;else if(e.charAt(a)!==t.charAt(a))break;var s=e.substr(0,i);return u(o(s),"getFirstCommonAncestorID(%s, %s): Expected a valid React DOM ID: %s",e,t,s),s},getReactRootID:function(e){return".reactRoot["+e+"]"},getReactRootIDFromNodeID:function(e){var t=/\.reactRoot\[[^\]]+\]/.exec(e);return t&&t[0]},traverseEnterLeave:function(e,t,n,o,r){var i=d.getFirstCommonAncestorID(e,t);i!==e&&a(e,i,n,o,!1,!0),i!==t&&a(i,t,n,r,!0,!1)},traverseTwoPhase:function(e,t,n){e&&(a("",e,t,n,!0,!1),a(e,"",t,n,!1,!0))},nextDescendantID:function(e,t){u(o(e)&&o(t),"nextDescendantID(%s, %s): Received an invalid React DOM ID.",e,t);var r=d.getFirstCommonAncestorID(e,t);if(u(r===e,"nextDescendantID(...): React has made an invalid assumption about the DOM hierarchy. Expected `%s` to be an ancestor of `%s`.",e,t),e===t)return e;for(var i=e.length+l,a=i;a<t.length&&!n(t,a);a++);return t.substr(0,a)}};t.exports=d},{"./getDOMNodeID":50,"./invariant":10}],22:[function(e,t){!function(){"use strict";var n=e("./ExecutionEnvironment"),o=e("./ReactEvent"),r=e("./ReactInstanceHandles"),i=e("./getDOMNodeID"),a=!0,s={setEnabled:function(e){a=!!e},isEnabled:function(){return a},createTopLevelCallback:function(e){return function(t){if(a){var s=r.getFirstReactDOM(t.target)||n.global,u=i(s),c=t,l=s;o.handleTopLevel(e,c,u,l)}}}};t.exports=s}()},{"./ExecutionEnvironment":14,"./ReactEvent":20,"./ReactInstanceHandles":21,"./getDOMNodeID":50}],23:[function(e,t){function n(e){var t=o(e);if(!t)throw"undefined"==typeof e?e="undefined":null===e&&(e="null"),new Error('Tried to get element "'+e.toString()+'" but it is not present '+"on the page.");return t}var o=e("./ge");t.exports=n},{"./ge":51}],24:[function(e,t){"use strict";var n=e("./ReactCompositeComponent"),o=e("./ReactDOM"),r=e("./ReactEvent"),i=e("./EventConstants"),a=o.form,s=n.createClass({render:function(){return this.transferPropsTo(a(null,this.props.children))},componentDidMount:function(e){r.trapBubbledEvent(i.topLevelTypes.topSubmit,"submit",e)}});t.exports=s},{"./ReactCompositeComponent":2,"./ReactDOM":4,"./ReactEvent":20,"./EventConstants":47}],25:[function(e,t){"use strict";var n=e("./keyOf"),o=[n({ResponderEventPlugin:null}),n({SimpleEventPlugin:null}),n({TapEventPlugin:null}),n({EnterLeaveEventPlugin:null}),n({AnalyticsEventPlugin:null})];t.exports=o},{"./keyOf":44}],26:[function(e,t){!function(){"use strict";var n=e("./EventPropagators"),o=e("./ExecutionEnvironment"),r=e("./AbstractEvent"),i=e("./EventConstants"),a=e("./ReactInstanceHandles"),s=e("./getDOMNodeID"),u=e("./keyOf"),c=i.topLevelTypes,l=a.getFirstReactDOM,p={mouseEnter:{registrationName:u({onMouseEnter:null})},mouseLeave:{registrationName:u({onMouseLeave:null})}},d=function(e,t,i,a){if(e!==c.topMouseOver||!t.relatedTarget&&!t.fromElement){if(e!==c.topMouseOut&&e!==c.topMouseOver)return null;var u,d;if(e===c.topMouseOut?(u=l(t.relatedTarget||t.toElement)||o.global,d=a):(u=a,d=o.global),d!==u){var h=d?s(d):"",f=u?s(u):"",m=r.getPooled(p.mouseLeave,h,e,t),v=r.getPooled(p.mouseEnter,f,e,t);return n.accumulateEnterLeaveDispatches(m,v,h,f),[m,v]}}},h={abstractEventTypes:p,extractAbstractEvents:d};t.exports=h}()},{"./EventPropagators":52,"./ExecutionEnvironment":14,"./AbstractEvent":53,"./EventConstants":47,"./ReactInstanceHandles":21,"./getDOMNodeID":50,"./keyOf":44}],27:[function(e,t){!function(){"use strict";function n(e,t){var n,o=e.phasedRegistrationNames;if(o)for(n in o)o.hasOwnProperty(n)&&(g[o[n]]=t,y.push(o[n]));else e.registrationName&&(g[e.registrationName]=t,y.push(e.registrationName))}function o(e){if(e.type.registrationName)return g[e.type.registrationName];for(var t in e.type.phasedRegistrationNames)if(e.type.phasedRegistrationNames.hasOwnProperty(t)){var n=g[e.type.phasedRegistrationNames[t]];if(n)return n}return null}var r=e("./AbstractEvent"),i=e("./CallbackRegistry"),a=e("./EventPluginUtils"),s=e("./EventPropagators"),u=e("./ExecutionEnvironment"),c=e("./accumulate"),l=e("./forEachAccumulated"),p=e("./keyMirror"),d=e("./merge"),h=e("./throwIf"),f=i.deleteListener,m=p({DOUBLE_REGISTER:null,DOUBLE_ENQUEUE:null,DEPENDENCY_ERROR:null}),v={injectInstanceHandle:function(e){s.injection.injectInstanceHandle(e)},EventPluginOrder:null,injectEventPluginOrder:function(e){v.EventPluginOrder=e,v._recomputePluginsList()},plugins:[],injectEventPluginsByName:function(e){v.pluginsByName=d(v.pluginsByName,e),v._recomputePluginsList()},pluginsByName:{},_recomputePluginsList:function(){var e=function(e,t){var o=v.EventPluginOrder.indexOf(e);if(h(-1===o,m.DEPENDENCY_ERROR+e),!v.plugins[o]){v.plugins[o]=t;for(var r in t.abstractEventTypes){var i=t.abstractEventTypes[r];n(i,t)}}};if(v.EventPluginOrder){var t=v.pluginsByName;for(var o in t)e(o,t[o])}}},g={},y=[],E=[],C=function(e){var t;for(t=0;t<y.length;t++)f(e,y[t])},D=function(e,t,n,o){for(var r,i=v.plugins,a=i.length,s=0;a>s;s++){var u=i[s],l=u&&u.extractAbstractEvents(e,t,n,o);
19
- l&&(r=c(r,l))}return r},M=function(e){e&&(E=c(E,e))},R=function(e){if(e){var t=o(e),n=t&&t.executeDispatch;a.executeDispatchesInOrder(e,n||a.executeDispatch),r.release(e)}},I=function(){var e=E;E=null,l(e,R)},O={registrationNames:g,registrationNamesArr:y,putListener:i.putListener,getListener:i.getListener,deleteAllListeners:C,extractAbstractEvents:D,enqueueAbstractEvents:M,processAbstractEventQueue:I,injection:v};u.canUseDOM&&(window.EventPluginHub=O),t.exports=O}()},{"./AbstractEvent":53,"./CallbackRegistry":54,"./EventPluginUtils":55,"./EventPropagators":52,"./ExecutionEnvironment":14,"./accumulate":56,"./forEachAccumulated":57,"./keyMirror":11,"./merge":12,"./throwIf":31}],28:[function(e,t){"use strict";var n=e("./AbstractEvent"),o=e("./EventConstants"),r=e("./EventPropagators"),i=e("./keyOf"),a=o.topLevelTypes,s={abstractEventTypes:{mouseDown:{phasedRegistrationNames:{bubbled:i({onMouseDown:!0}),captured:i({onMouseDownCapture:!0})}},mouseUp:{phasedRegistrationNames:{bubbled:i({onMouseUp:!0}),captured:i({onMouseUpCapture:!0})}},mouseMove:{phasedRegistrationNames:{bubbled:i({onMouseMove:!0}),captured:i({onMouseMoveCapture:!0})}},doubleClick:{phasedRegistrationNames:{bubbled:i({onDoubleClick:!0}),captured:i({onDoubleClickCapture:!0})}},click:{phasedRegistrationNames:{bubbled:i({onClick:!0}),captured:i({onClickCapture:!0})}},mouseWheel:{phasedRegistrationNames:{bubbled:i({onMouseWheel:!0}),captured:i({onMouseWheelCapture:!0})}},touchStart:{phasedRegistrationNames:{bubbled:i({onTouchStart:!0}),captured:i({onTouchStartCapture:!0})}},touchEnd:{phasedRegistrationNames:{bubbled:i({onTouchEnd:!0}),captured:i({onTouchEndCapture:!0})}},touchCancel:{phasedRegistrationNames:{bubbled:i({onTouchCancel:!0}),captured:i({onTouchCancelCapture:!0})}},touchMove:{phasedRegistrationNames:{bubbled:i({onTouchMove:!0}),captured:i({onTouchMoveCapture:!0})}},keyUp:{phasedRegistrationNames:{bubbled:i({onKeyUp:!0}),captured:i({onKeyUpCapture:!0})}},keyPress:{phasedRegistrationNames:{bubbled:i({onKeyPress:!0}),captured:i({onKeyPressCapture:!0})}},keyDown:{phasedRegistrationNames:{bubbled:i({onKeyDown:!0}),captured:i({onKeyDownCapture:!0})}},focus:{phasedRegistrationNames:{bubbled:i({onFocus:!0}),captured:i({onFocusCapture:!0})}},blur:{phasedRegistrationNames:{bubbled:i({onBlur:!0}),captured:i({onBlurCapture:!0})}},scroll:{phasedRegistrationNames:{bubbled:i({onScroll:!0}),captured:i({onScrollCapture:!0})}},change:{phasedRegistrationNames:{bubbled:i({onChange:!0}),captured:i({onChangeCapture:!0})}},submit:{phasedRegistrationNames:{bubbled:i({onSubmit:!0}),captured:i({onSubmitCapture:!0})}},DOMCharacterDataModified:{phasedRegistrationNames:{bubbled:i({onDOMCharacterDataModified:!0}),captured:i({onDOMCharacterDataModifiedCapture:!0})}}},executeDispatch:function(e,t,n){var o=t(e,n);o===!1&&(e.stopPropagation(),e.preventDefault())},extractAbstractEvents:function(e,t,o,i){var u,c=s.topLevelTypesToAbstract[e];if(!c)return null;switch(e){case a.topMouseWheel:u=n.normalizeMouseWheelData(t);break;case a.topScroll:u=n.normalizeScrollDataFromTarget(i);break;case a.topClick:case a.topDoubleClick:case a.topChange:case a.topDOMCharacterDataModified:case a.topMouseDown:case a.topMouseUp:case a.topMouseMove:case a.topTouchMove:case a.topTouchStart:case a.topTouchEnd:u=n.normalizePointerData(t);break;default:u=null}var l=n.getPooled(c,o,e,t,u);return r.accumulateTwoPhaseDispatches(l),l}};s.topLevelTypesToAbstract={topMouseDown:s.abstractEventTypes.mouseDown,topMouseUp:s.abstractEventTypes.mouseUp,topMouseMove:s.abstractEventTypes.mouseMove,topClick:s.abstractEventTypes.click,topDoubleClick:s.abstractEventTypes.doubleClick,topMouseWheel:s.abstractEventTypes.mouseWheel,topTouchStart:s.abstractEventTypes.touchStart,topTouchEnd:s.abstractEventTypes.touchEnd,topTouchMove:s.abstractEventTypes.touchMove,topTouchCancel:s.abstractEventTypes.touchCancel,topKeyUp:s.abstractEventTypes.keyUp,topKeyPress:s.abstractEventTypes.keyPress,topKeyDown:s.abstractEventTypes.keyDown,topFocus:s.abstractEventTypes.focus,topBlur:s.abstractEventTypes.blur,topScroll:s.abstractEventTypes.scroll,topChange:s.abstractEventTypes.change,topSubmit:s.abstractEventTypes.submit,topDOMCharacterDataModified:s.abstractEventTypes.DOMCharacterDataModified},t.exports=s},{"./AbstractEvent":53,"./EventConstants":47,"./EventPropagators":52,"./keyOf":44}],30:[function(e,t){"use strict";function n(e){e||(e="");var t,n=arguments.length;if(n>1)for(var o=1;n>o;o++)t=arguments[o],t&&(e+=" "+t);return e}t.exports=n},{}],31:[function(e,t){"use strict";var n=function(e,t){if(e)throw new Error(t)};t.exports=n},{}],37:[function(e,t){"use strict";var n=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},o=function(e,t){var n=this;if(n.instancePool.length){var o=n.instancePool.pop();return n.call(o,e,t),o}return new n(e,t)},r=function(e,t,n,o,r){var i=this;if(i.instancePool.length){var a=i.instancePool.pop();return i.call(a,e,t,n,o,r),a}return new i(e,t,n,o,r)},i=function(e){var t=this;e.destructor&&e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},a=10,s=n,u=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||s,n.poolSize||(n.poolSize=a),n.release=i,n},c={addPoolingTo:u,oneArgumentPooler:n,twoArgumentPooler:o,fiveArgumentPooler:r};t.exports=c},{}],38:[function(e,t){"use strict";function n(){try{return document.activeElement}catch(e){}}var o={hasSelectionCapabilities:function(e){return e&&("INPUT"===e.nodeName&&"text"===e.type||"TEXTAREA"===e.nodeName||"true"===e.contentEditable)},getSelectionInformation:function(){var e=n();return{focusedElem:e,selectionRange:o.hasSelectionCapabilities(e)?o.getSelection(e):null}},restoreSelection:function(e){var t=n(),r=e.focusedElem,i=e.selectionRange;t!==r&&document.getElementById(r.id)&&(o.hasSelectionCapabilities(r)&&o.setSelection(r,i),r.focus())},getSelection:function(e){var t;if("true"===e.contentEditable&&window.getSelection){t=window.getSelection().getRangeAt(0);var n=t.commonAncestorContainer;return n&&3===n.nodeType&&(n=n.parentNode),n!==e?{start:0,end:0}:{start:t.startOffset,end:t.endOffset}}if(!document.selection)return{start:e.selectionStart,end:e.selectionEnd};if(t=document.selection.createRange(),t.parentElement()!==e)return{start:0,end:0};var o=e.value.length;if("INPUT"===e.nodeName)return{start:-t.moveStart("character",-o),end:-t.moveEnd("character",-o)};var r=t.duplicate();r.moveToElementText(e),r.setEndPoint("StartToEnd",t);var i=o-r.text.length;return r.setEndPoint("StartToStart",t),{start:o-r.text.length,end:i}},setSelection:function(e,t){var n,o=t.start,r=t.end;if("undefined"==typeof r&&(r=o),document.selection){if("TEXTAREA"===e.tagName){var i=(e.value.slice(0,o).match(/\r/g)||[]).length,a=(e.value.slice(o,r).match(/\r/g)||[]).length;o-=i,r-=i+a}n=e.createTextRange(),n.collapse(!0),n.moveStart("character",o),n.moveEnd("character",r-o),n.select()}else if("true"===e.contentEditable){if(1===e.childNodes.length){n=document.createRange(),n.setStart(e.childNodes[0],o),n.setEnd(e.childNodes[0],r);var s=window.getSelection();s.removeAllRanges(),s.addRange(n)}}else e.selectionStart=o,e.selectionEnd=Math.min(r,e.value.length),e.focus()}};t.exports=o},{}],44:[function(e,t){var n=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};t.exports=n},{}],46:[function(e,t){"use strict";var n={currentScrollLeft:0,currentScrollTop:0,browserInfo:null,refreshAuthoritativeScrollValues:function(){n.currentScrollLeft=document.body.scrollLeft+document.documentElement.scrollLeft,n.currentScrollTop=document.body.scrollTop+document.documentElement.scrollTop}};t.exports=n},{}],50:[function(e,t){"use strict";function n(e){if(e.getAttributeNode){var t=e.getAttributeNode("id");return t&&t.value||""}return e.id||""}t.exports=n},{}],51:[function(e,t){function n(e,t,n){return"string"!=typeof e?e:t?o(e,t,n):document.getElementById(e)}function o(e,t,n){var i,a,s;if(r(t)==e)return t;if(t.getElementsByTagName){for(a=t.getElementsByTagName(n||"*"),s=0;s<a.length;s++)if(r(a[s])==e)return a[s]}else for(a=t.childNodes,s=0;s<a.length;s++)if(i=o(e,a[s]))return i;return null}function r(e){var t=e.getAttributeNode&&e.getAttributeNode("id");return t?t.value:null}t.exports=n},{}],54:[function(e,t){"use strict";var n={},o={putListener:function(e,t,o){var r=n[t]||(n[t]={});r[e]=o},getListener:function(e,t){var o=n[t];return o&&o[e]},deleteListener:function(e,t){var o=n[t];o&&delete o[e]},__purge:function(){n={}}};t.exports=o},{}],57:[function(e,t){"use strict";var n=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)};t.exports=n},{}],29:[function(e,t){function n(e){return function(){return e}}function o(){}var r=e("./copyProperties");r(o,{thatReturns:n,thatReturnsFalse:n(!1),thatReturnsTrue:n(!0),thatReturnsNull:n(null),thatReturnsThis:function(){return this},thatReturnsArgument:function(e){return e},mustImplement:function(){return function(){}}}),t.exports=o},{"./copyProperties":58}],32:[function(e,t){"use strict";var n=e("./dangerousStyleValue"),o=e("./escapeTextForBrowser"),r=e("./hyphenate"),i=e("./memoizeStringOnly"),a=i(function(e){return o(r(e))}),s={createMarkupForStyles:function(e){var t="";for(var o in e)if(e.hasOwnProperty(o)){var r=e[o];"undefined"!=typeof r&&(t+=a(o)+":",t+=n(o,r)+";")}return t},setValueForStyles:function(e,t){var o=e.style;for(var r in t)if(t.hasOwnProperty(r)){var i=t[r];o[r]=n(r,i)}}};t.exports=s},{"./dangerousStyleValue":59,"./escapeTextForBrowser":42,"./hyphenate":60,"./memoizeStringOnly":61}],33:[function(e,t){!function(){"use strict";var n=e("./Danger"),o=e("./insertNodeAt"),r=e("./keyOf");e("./throwIf");var i=r({moveFrom:null}),a=r({insertMarkup:null}),s=r({removeAt:null}),u=function(e,t){for(var n,o,r,a=0;a<t.length;a++)o=t[a],i in o?(n=n||[],r=o.moveFrom,n[r]=e.childNodes[r]):s in o&&(n=n||[],r=o.removeAt,n[r]=e.childNodes[r]);return n},c=function(e,t){for(var n=0;n<t.length;n++){var o=t[n];o&&e.removeChild(t[n])}},l=function(e,t,r){for(var u,c,l,p=0;p<t.length;p++)if(l=t[p],i in l)u=r[l.moveFrom],c=l.finalIndex,o(e,u,c);else if(s in l);else if(a in l){c=l.finalIndex;var d=l.insertMarkup;n.dangerouslyInsertMarkupAt(e,d,c)}},p=function(e,t){var n=u(e,t);n&&c(e,n),l(e,t,n)},d=function(e,t,n){e.childNodes[t].nodeValue=n},h={dangerouslyReplaceNodeWithMarkup:n.dangerouslyReplaceNodeWithMarkup,manageChildren:p,setTextNodeValueAtIndex:d};t.exports=h}()},{"./Danger":62,"./insertNodeAt":63,"./keyOf":44,"./throwIf":31}],34:[function(e,t){"use strict";var n=e("./DOMProperty"),o=e("./escapeTextForBrowser"),r=e("./memoizeStringOnly"),i=r(function(e){return o(e)+'="'}),a={createMarkupForProperty:function(e,t){if(n.isStandardName[e]){if(null==t||n.hasBooleanValue[e]&&!t)return"";var r=n.getAttributeName[e];return i(r)+o(t)+'"'}return n.isCustomAttribute(e)?null==t?"":i(e)+o(t)+'"':null},setValueForProperty:function(e,t,o){if(n.isStandardName[t]){var r=n.getMutationMethod[t];if(r)r(e,o);else if(n.mustUseAttribute[t])n.hasBooleanValue[t]&&!o?e.removeAttribute(n.getAttributeName[t]):e.setAttribute(n.getAttributeName[t],o);else{var i=n.getPropertyName[t];n.hasSideEffects[t]&&e[i]===o||(e[i]=o)}}else n.isCustomAttribute(t)&&e.setAttribute(t,o)}};t.exports=a},{"./DOMProperty":64,"./escapeTextForBrowser":42,"./memoizeStringOnly":61}],35:[function(e,t){"use strict";var n=e("./ReactMount"),o={},r={purgeEntireCache:function(){return o={}},getCachedNodeByID:function(e){return o[e]||(o[e]=document.getElementById(e)||n.findReactRenderedDOMNodeSlow(e))}};t.exports=r},{"./ReactMount":5}],36:[function(e,t){"use strict";function n(){return!r&&o.canUseDOM&&(r="innerText"in document.createElement("div")?"innerText":"textContent"),r}var o=e("./ExecutionEnvironment"),r=null;t.exports=n},{"./ExecutionEnvironment":14}],39:[function(e,t){"use strict";function n(e){this._queue=e||null}var o=e("./PooledClass"),r=e("./mixInto");r(n,{enqueue:function(e,t){this._queue=this._queue||[],this._queue.push({component:e,callback:t})},notifyAll:function(){var e=this._queue;if(e){this._queue=null;for(var t=0,n=e.length;n>t;t++){var o=e[t].component,r=e[t].callback;r.call(o,o.getDOMNode())}e.length=0}},reset:function(){this._queue=null},destructor:function(){this.reset()}}),o.addPoolingTo(n),t.exports=n},{"./PooledClass":37,"./mixInto":13}],40:[function(e,t){!function(){"use strict";var n=e("./throwIf"),o="DUAL_TRANSACTION",r="MISSING_TRANSACTION",i={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this.timingMetrics||(this.timingMetrics={}),this.timingMetrics.methodInvocationTime=0,this.timingMetrics.wrapperInitTimes?this.timingMetrics.wrapperInitTimes.length=0:this.timingMetrics.wrapperInitTimes=[],this.timingMetrics.wrapperCloseTimes?this.timingMetrics.wrapperCloseTimes.length=0:this.timingMetrics.wrapperCloseTimes=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,r,i,a,s,u,c){n(this.isInTransaction(),o);var l,p=Date.now(),d=null;try{this.initializeAll(),l=e.call(t,r,i,a,s,u,c)}catch(h){d=h}finally{var f=Date.now();this.methodInvocationTime+=f-p;try{this.closeAll()}catch(m){d=d||m}}if(d)throw d;return l},initializeAll:function(){this._isInTransaction=!0;for(var e=this.transactionWrappers,t=this.timingMetrics.wrapperInitTimes,n=null,o=0;o<e.length;o++){var r=Date.now(),i=e[o];try{this.wrapperInitData[o]=i.initialize?i.initialize.call(this):null}catch(s){n=n||s,this.wrapperInitData[o]=a.OBSERVED_ERROR}finally{var u=t[o],c=Date.now();t[o]=(u||0)+(c-r)}}if(n)throw n},closeAll:function(){n(!this.isInTransaction(),r);for(var e=this.transactionWrappers,t=this.timingMetrics.wrapperCloseTimes,o=null,i=0;i<e.length;i++){var s=e[i],u=Date.now(),c=this.wrapperInitData[i];try{c!==a.OBSERVED_ERROR&&s.close&&s.close.call(this,c)}catch(l){o=o||l}finally{var p=Date.now(),d=t[i];t[i]=(d||0)+(p-u)}}if(this.wrapperInitData.length=0,this._isInTransaction=!1,o)throw o}},a={Mixin:i,OBSERVED_ERROR:{}};t.exports=a}()},{"./throwIf":31}],41:[function(e,t){!function(){"use strict";function n(e,t){return e&&t&&e.constructor===t.constructor}var o=e("./ReactComponent"),r={enqueueMarkupAt:function(e,t){this.domOperations=this.domOperations||[],this.domOperations.push({insertMarkup:e,finalIndex:t})},enqueueMove:function(e,t){this.domOperations=this.domOperations||[],this.domOperations.push({moveFrom:e,finalIndex:t})},enqueueUnmountChildByName:function(e,t){o.isValidComponent(t)&&(this.domOperations=this.domOperations||[],this.domOperations.push({removeAt:t._domIndex}),t.unmountComponent&&t.unmountComponent(),delete this._renderedChildren[e])},processChildDOMOperationsQueue:function(){this.domOperations&&(o.DOMIDOperations.manageChildrenByParentID(this._rootNodeID,this.domOperations),this.domOperations=null)},unmountMultiChild:function(){var e=this._renderedChildren;for(var t in e)if(e.hasOwnProperty(t)&&e[t]){var n=e[t];n.unmountComponent&&n.unmountComponent()}this._renderedChildren=null},mountMultiChild:function(e,t){var n="",o=0;for(var r in e){var i=e[r];e.hasOwnProperty(r)&&i&&(n+=i.mountComponent(this._rootNodeID+"."+r,t),i._domIndex=o,o++)}return this._renderedChildren=e,this.domOperations=null,n},updateMultiChild:function(e,t){if(e||this._renderedChildren){e&&!this._renderedChildren?this._renderedChildren={}:!e&&this._renderedChildren&&(e={});var o=this._rootNodeID+".",r=null,i=0,a=0,s=0;for(var u in e)if(e.hasOwnProperty(u)){var c=this._renderedChildren[u],l=e[u];if(n(c,l))r&&(this.enqueueMarkupAt(r,a-i),r=null),i=0,c._domIndex<s&&this.enqueueMove(c._domIndex,a),s=Math.max(c._domIndex,s),!l.props.isStatic&&c.receiveProps(l.props,t),c._domIndex=a;else if(c&&(this.enqueueUnmountChildByName(u,c),s=Math.max(c._domIndex,s)),l){this._renderedChildren[u]=l;var p=l.mountComponent(o+u,t);r=r?r+p:p,i++,l._domIndex=a}a=l?a+1:a}r&&this.enqueueMarkupAt(r,a-i);for(var d in this._renderedChildren)if(this._renderedChildren.hasOwnProperty(d)){var h=this._renderedChildren[d];h&&!e[d]&&this.enqueueUnmountChildByName(d,h)}this.processChildDOMOperationsQueue()}}},i={Mixin:r};t.exports=i}()},{"./ReactComponent":3}],42:[function(e,t){"use strict";function n(e){return o[e]}e("./throwIf");var o={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;","/":"&#x2f;"},r=function(e){var t=typeof e,o="object"===t;return""===e||o?"":"string"===t?e.replace(/[&><"'\/]/g,n):(""+e).replace(/[&><"'\/]/g,n)};t.exports=r},{"./throwIf":31}],43:[function(e,t){"use strict";function n(e){if(null===e||void 0===e)return e;var t={};return u(t,e,""),t}var o=e("./ReactTextComponent"),r=e("./escapeTextForBrowser"),i=e("./throwIf"),a="INVALID_CHILD",s="0",u=function(e,t,n){if(Array.isArray(t))for(var c=0;c<t.length;c++)u(e,t[c],n+"["+c+"]");else{var l=typeof t,p=""===n,d=p?s:n;if(null===t||void 0===t||"boolean"===l)e[d]=null;else if(t.mountComponentIntoNode)e[d]=t;else if("object"===l){i(t&&1===t.nodeType,a);for(var h in t)t.hasOwnProperty(h)&&u(e,t[h],n+"{"+r(h)+"}")}else"string"===l?e[d]=new o(t):"number"===l&&(e[d]=new o(""+t))}};t.exports=n},{"./ReactTextComponent":65,"./escapeTextForBrowser":42,"./throwIf":31}],45:[function(e,t){"use strict";var n=e("./keyMirror"),o=e("./throwIf"),r=36,i=n({MERGE_ARRAY_FAIL:null,MERGE_CORE_FAILURE:null,MERGE_TYPE_USAGE_FAILURE:null,MERGE_DEEP_MAX_LEVELS:null,MERGE_DEEP_NO_ARR_STRATEGY:null}),a=function(e){return"object"!=typeof e||null===e},s={MAX_MERGE_DEPTH:r,isTerminal:a,normalizeMergeArg:function(e){return void 0===e||null===e?{}:e},checkMergeArrayArgs:function(e,t){o(!Array.isArray(e)||!Array.isArray(t),i.MERGE_CORE_FAILURE)},checkMergeObjectArgs:function(e,t){s.checkMergeObjectArg(e),s.checkMergeObjectArg(t)},checkMergeObjectArg:function(e){o(a(e)||Array.isArray(e),i.MERGE_CORE_FAILURE)},checkMergeLevel:function(e){o(e>=r,i.MERGE_DEEP_MAX_LEVELS)},checkArrayStrategy:function(e){o(void 0!==e&&!(e in s.ArrayStrategies),i.MERGE_DEEP_NO_ARR_STRATEGY)},ArrayStrategies:n({Clobber:!0,IndexByIndex:!0}),ERRORS:i};t.exports=s},{"./keyMirror":11,"./throwIf":31}],47:[function(e,t){"use strict";var n=e("./keyMirror"),o=n({bubbled:null,captured:null}),r=n({topBlur:null,topChange:null,topClick:null,topDOMCharacterDataModified:null,topDoubleClick:null,topFocus:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topMouseWheel:null,topScroll:null,topSubmit:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null}),i={topLevelTypes:r,PropagationPhases:o};t.exports=i},{"./keyMirror":11}],48:[function(e,t){"use strict";function n(e){var t=e||window.event,n="target"in t,o=t.target||t.srcElement||window,r=3===o.nodeType?o.parentNode:o;return n&&t.target===r||(t=Object.create(t),t.target=r),t}function o(e){return function(t){e(n(t))}}var r=e("./EventListener"),i={listen:function(e,t,n){r.listen(e,t,o(n))},capture:function(e,t,n){r.capture(e,t,o(n))}};t.exports=i},{"./EventListener":66}],49:[function(e,t){"use strict";function n(e,t){if(!o||t&&!o.addEventListener)return!1;var n=document.createElement("div"),r="on"+e,i=r in n;return i||(n.setAttribute(r,""),i="function"==typeof n[r],"undefined"!=typeof n[r]&&(n[r]=void 0),n.removeAttribute(r)),n=null,i}var o,r=e("./ExecutionEnvironment");r.canUseDOM&&(o=document.createElement("div")),t.exports=n},{"./ExecutionEnvironment":14}],52:[function(e,t){"use strict";function n(e,t,n){var o=t.type.phasedRegistrationNames[n];return f(e,o)}function o(e,t,o){var r=t?m.bubbled:m.captured,i=n(e,o,r);i&&(o._dispatchListeners=d(o._dispatchListeners,i),o._dispatchIDs=d(o._dispatchIDs,e))}function r(e){e&&e.type.phasedRegistrationNames&&v.InstanceHandle.traverseTwoPhase(e.abstractTargetID,o,e)}function i(e,t,n){if(n&&n.type.registrationName){var o=f(e,n.type.registrationName);o&&(n._dispatchListeners=d(n._dispatchListeners,o),n._dispatchIDs=d(n._dispatchIDs,e))}}function a(e){e&&e.type.registrationName&&i(e.abstractTargetID,null,e)}function s(e){h(e,r)}function u(e,t,n,o){v.InstanceHandle.traverseEnterLeave(n,o,i,e,t)}function c(e){h(e,a)}var l=e("./CallbackRegistry"),p=e("./EventConstants"),d=e("./accumulate"),h=e("./forEachAccumulated"),f=l.getListener,m=p.PropagationPhases,v={InstanceHandle:null,injectInstanceHandle:function(e){v.InstanceHandle=e},validate:function(){var e=!v.InstanceHandle||!v.InstanceHandle.traverseTwoPhase||!v.InstanceHandle.traverseEnterLeave;if(e)throw new Error("InstanceHandle not injected before use!")}},g={accumulateTwoPhaseDispatches:s,accumulateDirectDispatches:c,accumulateEnterLeaveDispatches:u,injection:v};t.exports=g},{"./CallbackRegistry":54,"./accumulate":56,"./EventConstants":47,"./forEachAccumulated":57}],53:[function(e,t){"use strict";function n(e,t,n,o,r){this.type=e,this.abstractTargetID=t||"",this.originatingTopLevelEventType=n,this.nativeEvent=o,this.data=r,this.target=o&&o.target,this._dispatchListeners=null,this._dispatchIDs=null,this.isPropagationStopped=!1}var o=e("./BrowserEnv"),r=e("./PooledClass"),i=e("./TouchEventUtils");e("./throwIf");var a=20;n.poolSize=a,n.prototype.destructor=function(){this.target=null,this._dispatchListeners=null,this._dispatchIDs=null},r.addPoolingTo(n,r.fiveArgumentPooler),n.prototype.stopPropagation=function(){this.isPropagationStopped=!0,this.nativeEvent.stopPropagation&&this.nativeEvent.stopPropagation(),this.nativeEvent.cancelBubble=!0},n.prototype.preventDefault=function(){n.preventDefaultOnNativeEvent(this.nativeEvent)},n.preventDefaultOnNativeEvent=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},n.normalizeScrollDataFromTarget=function(e){return{scrollTop:e.scrollTop,scrollLeft:e.scrollLeft,clientWidth:e.clientWidth,clientHeight:e.clientHeight,scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth}},n.normalizeMouseWheelData=function(e){var t=0,n=0,o=0;return e.wheelDelta&&(t=e.wheelDelta/120),e.detail&&(t=-e.detail/3),o=t,void 0!==e.axis&&e.axis===e.HORIZONTAL_AXIS&&(o=0,n=-t),void 0!==e.wheelDeltaY&&(o=e.wheelDeltaY/120),void 0!==e.wheelDeltaX&&(n=-e.wheelDeltaX/120),{delta:t,deltaX:n,deltaY:o}},n.isNativeClickEventRightClick=function(e){return e.which?3===e.which:e.button?2===e.button:!1},n.normalizePointerData=function(e){return{globalX:n.eventPageX(e),globalY:n.eventPageY(e),rightMouseButton:n.isNativeClickEventRightClick(e)}},n.normalizeDragEventData=function(e,t,n,o,r){return{globalX:t,globalY:n,startX:o,startY:r}},n.eventPageY=function(e){var t=i.extractSingleTouch(e);return t?t.pageY:"undefined"!=typeof e.pageY?e.pageY:e.clientY+o.currentPageScrollTop},n.eventPageX=function(e){var t=i.extractSingleTouch(e);return t?t.pageX:"undefined"!=typeof e.pageX?e.pageX:e.clientX+o.currentPageScrollLeft},n.persistentCloneOf=function(e){return new n(e.type,e.abstractTargetID,e.originatingTopLevelEventType,e.nativeEvent,e.data,e.target)},t.exports=n},{"./BrowserEnv":46,"./PooledClass":37,"./TouchEventUtils":67,"./throwIf":31}],55:[function(e,t){"use strict";function n(e){return e===v.topMouseUp||e===v.topTouchEnd||e===v.topTouchCancel}function o(e){return e===v.topMouseMove||e===v.topTouchMove}function r(e){return e===v.topMouseDown||e===v.topTouchStart}function i(e,t){var n=f.eventPageX(t),o=f.eventPageY(t);e.pageX=n,e.pageY=o}function a(e,t){var n=f.eventPageX(t),o=f.eventPageY(t);return Math.pow(Math.pow(n-e.pageX,2)+Math.pow(o-e.pageY,2),.5)}function s(e,t){var n=e._dispatchListeners,o=e._dispatchIDs;if(Array.isArray(n)){var r;for(r=0;r<n.length&&!e.isPropagationStopped;r++)t(e,n[r],o[r])}else n&&t(e,n,o)}function u(e,t,n){t(e,n)}function c(e,t){s(e,t),e._dispatchListeners=null,e._dispatchIDs=null}function l(e){var t=e._dispatchListeners,n=e._dispatchIDs;if(Array.isArray(t)){var o;for(o=0;o<t.length&&!e.isPropagationStopped;o++)if(t[o](e,n[o]))return n[o]}else if(t&&t(e,n))return n;return null}function p(e){var t=e._dispatchListeners,n=e._dispatchIDs;m(!Array.isArray(t),"executeDirectDispatch(...): Invalid `abstractEvent`.");var o=t?t(e,n):null;return e._dispatchListeners=null,e._dispatchIDs=null,o}function d(e){return!!e._dispatchListeners}var h=e("./EventConstants"),f=e("./AbstractEvent"),m=e("./invariant"),v=h.topLevelTypes,g={isEndish:n,isMoveish:o,isStartish:r,storePageCoordsIn:i,eventDistance:a,executeDispatchesInOrder:c,executeDispatchesInOrderStopAtTrue:l,executeDirectDispatch:p,hasDispatches:d,executeDispatch:u};t.exports=g},{"./EventConstants":47,"./AbstractEvent":53,"./invariant":10}],56:[function(e,t){"use strict";function n(e,t){var n=null==e,o=null===t;if(o)return e;if(n)return t;var r=Array.isArray(e),i=Array.isArray(t);return r?e.concat(t):i?[e].concat(t):[e,t]}e("./throwIf"),t.exports=n},{"./throwIf":31}],58:[function(e,t){function n(e,t,n,o,r,i){e=e||{};for(var a,s=[t,n,o,r,i],u=0;s[u];){a=s[u++];for(var c in a)e[c]=a[c];a.hasOwnProperty&&a.hasOwnProperty("toString")&&"undefined"!=typeof a.toString&&e.toString!==a.toString&&(e.toString=a.toString)}return e}t.exports=n},{}],60:[function(e,t){function n(e){return e.replace(o,"-$1").toLowerCase()}var o=/([A-Z])/g;t.exports=n},{}],61:[function(e,t){"use strict";function n(e){var t={};return function(n){return t.hasOwnProperty(n)?t[n]:t[n]=e.call(this,n)}}t.exports=n},{}],63:[function(e,t){"use strict";function n(e,t,n){var o=e.childNodes,r=e.childNodes[n];return r===t?t:(t.parentNode&&t.parentNode.removeChild(t),n>=o.length?e.appendChild(t):e.insertBefore(t,o[n]),t)}t.exports=n},{}],66:[function(e,t){var n={listen:function(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,n)},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),void 0):(console.error("You are attempting to use addEventlistener in a browser that does not support it support it.This likely means that you will not receive events that your application relies on (such as scroll)."),void 0)}};t.exports=n},{}],67:[function(e,t){var n={extractSingleTouch:function(e){var t=e.touches,n=e.changedTouches,o=t&&t.length>0,r=n&&n.length>0;return!o&&r?n[0]:o?t[0]:e}};t.exports=n},{}],59:[function(e,t){"use strict";function n(e,t){return null===t||t===!1||t===!0||""===t?"":isNaN(t)?t?""+t:"":o.isNumber[e]?""+t:t+"px"}var o=e("./CSSProperty");t.exports=n},{"./CSSProperty":68}],62:[function(e,t){"use strict";function n(e){var t=e.tagName;return s[t]||(s[t]=document.createElement(t))}function o(e,t,n){return n?n.nextSibling?e.insertBefore(t,n.nextSibling):e.appendChild(t):e.insertBefore(t,e.firstChild)}function r(e,t,n){for(var r,i=t.length,a=0;i>a;a++)r=o(e,t[0],r||n)}function i(e,t,o){var i=n(e);i.innerHTML=t;var a=i.childNodes,s=o?e.childNodes[o-1]:null;r(e,a,s)}function a(e,t){var o=e.parentNode,r=n(o);r.innerHTML=t;var i=r.childNodes;o.replaceChild(i[0],e)}e("./ExecutionEnvironment"),e("./throwIf");var s={},u={dangerouslyInsertMarkupAt:i,dangerouslyReplaceNodeWithMarkup:a};t.exports=u},{"./ExecutionEnvironment":14,"./throwIf":31}],64:[function(e,t){"use strict";var n=e("./invariant"),o={isStandardName:{},getAttributeName:{},getPropertyName:{},getMutationMethod:{},mustUseAttribute:{},mustUseProperty:{},hasBooleanValue:{},hasSideEffects:{},isCustomAttribute:RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\d_.\-]*$/)},r=1,i=2,a=4,s=8,u={accept:null,action:null,ajaxify:r,allowFullScreen:r|a,alt:null,autoComplete:null,autoplay:a,cellPadding:null,cellSpacing:null,checked:i|a,className:i,colSpan:null,contentEditable:null,controls:i|a,data:null,dir:null,disabled:i|a,enctype:null,height:null,href:null,htmlFor:null,method:null,multiple:i|a,name:null,poster:null,preload:null,placeholder:null,rel:null,required:a,role:r,scrollLeft:i,scrollTop:i,selected:i|a,spellCheck:null,src:null,style:null,tabIndex:null,target:null,title:null,type:null,value:i|s,width:null,wmode:r,cx:i,cy:i,d:i,fill:i,fx:i,fy:i,points:i,r:i,stroke:i,strokeLinecap:i,strokeWidth:i,transform:i,x:i,x1:i,x2:i,version:i,viewBox:i,y:i,y1:i,y2:i,spreadMethod:i,offset:i,stopColor:i,stopOpacity:i,gradientUnits:i,gradientTransform:i},c={className:"class",htmlFor:"for",strokeLinecap:"stroke-linecap",strokeWidth:"stroke-width",stopColor:"stop-color",stopOpacity:"stop-opacity"},l={autoComplete:"autocomplete",spellCheck:"spellcheck"},p={className:function(e,t){e.className=t||""}};for(var d in u){o.isStandardName[d]=!0,o.getAttributeName[d]=c[d]||d.toLowerCase(),o.getPropertyName[d]=l[d]||d;var h=p[d];h&&(o.getMutationMethod[d]=h);var f=u[d];o.mustUseAttribute[d]=f&r,o.mustUseProperty[d]=f&i,o.hasBooleanValue[d]=f&a,o.hasSideEffects[d]=f&s,n(!o.mustUseAttribute[d]||!o.mustUseProperty[d],"DOMProperty: Cannot use require using both attribute and property: %s",d),n(o.mustUseProperty[d]||!o.hasSideEffects[d],"DOMProperty: Properties that have side effects must use property: %s",d)}t.exports=o},{"./invariant":10}],65:[function(e,t){"use strict";var n=e("./ReactComponent"),o=e("./escapeTextForBrowser"),r=e("./mixInto"),i=function(e){this.construct({text:e})};r(i,n.Mixin),r(i,{mountComponent:function(e){return n.Mixin.mountComponent.call(this,e),'<span id="'+e+'">'+o(this.props.text)+"</span>"},receiveProps:function(e){e.text!==this.props.text&&(this.props.text=e.text,n.DOMIDOperations.updateTextContentByID(this._rootNodeID,e.text))}}),t.exports=i},{"./ReactComponent":3,"./escapeTextForBrowser":42,"./mixInto":13}],68:[function(e,t){"use strict";var n={fillOpacity:!0,fontWeight:!0,opacity:!0,orphans:!0,textDecoration:!0,zIndex:!0,zoom:!0},o={isNumber:n};t.exports=o},{}]},{},[1])(1)});
18
+ !function(e){if("function"==typeof bootstrap)bootstrap("react",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeReact=e}else"undefined"!=typeof window?window.React=e():global.React=e()}(function(){return function(e,t,n){function o(n,i){if(!t[n]){if(!e[n]){var a="function"==typeof require&&require;if(!i&&a)return a(n,!0);if(r)return r(n,!0);throw new Error("Cannot find module '"+n+"'")}var s=t[n]={exports:{}};e[n][0].call(s.exports,function(t){var r=e[n][1][t];return o(r?r:t)},s,s.exports)}return t[n].exports}for(var r="function"==typeof require&&require,i=0;i<n.length;i++)o(n[i]);return o}({1:[function(e,t){"use strict";var n=e("./ReactCompositeComponent"),o=e("./ReactComponent"),r=e("./ReactDOM"),i=e("./ReactMount"),a=e("./ReactDefaultInjection");a.inject();var s={DOM:r,initializeTouchEvents:function(e){i.useTouchEvents=e},autoBind:n.autoBind,createClass:n.createClass,createComponentRenderer:i.createComponentRenderer,constructAndRenderComponent:i.constructAndRenderComponent,constructAndRenderComponentByID:i.constructAndRenderComponentByID,renderComponent:i.renderComponent,unmountAndReleaseReactRootNode:i.unmountAndReleaseReactRootNode,isValidComponent:o.isValidComponent};t.exports=s},{"./ReactCompositeComponent":2,"./ReactComponent":3,"./ReactDOM":4,"./ReactMount":5,"./ReactDefaultInjection":6}],2:[function(e,t){!function(){"use strict";function n(e,t){var n=e.prototype;for(var r in t)if(t.hasOwnProperty(r)){var i=t[r],a=h[r];v.hasOwnProperty(r)&&u(a===d.OVERRIDE_BASE,"ReactCompositeComponentInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",r),null!=a&&u(!i||!i.__reactAutoBind,"ReactCompositeComponentInterface: You are attempting to use `React.autoBind` on `%s`, a method that is internal to React.Internal methods are called with the component as the context.",r),n.hasOwnProperty(r)&&u(a===d.DEFINE_MANY,"ReactCompositeComponentInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",r),f.hasOwnProperty(r)?f[r](e,i):i&&i.__reactAutoBind?(n.__reactAutoBindMap||(n.__reactAutoBindMap={}),n.__reactAutoBindMap[r]=i.__reactAutoBind):n[r]=n.hasOwnProperty(r)?o(n[r],i):i}}function o(e,t){return function(n,o,r,i,a,s){u("undefined"==typeof s,"Chained function can only take a maximum of 5 arguments."),e.call(this,n,o,r,i,a),t.call(this,n,o,r,i,a)}}var r=e("./ReactComponent"),i=e("./ReactCurrentOwner"),a=e("./ReactOwner"),s=e("./ReactPropTransferer"),u=e("./invariant"),c=e("./keyMirror"),l=e("./merge"),p=e("./mixInto"),d=c({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null}),h={mixins:d.DEFINE_MANY,props:d.DEFINE_ONCE,getInitialState:d.DEFINE_ONCE,render:d.DEFINE_ONCE,componentWillMount:d.DEFINE_MANY,componentDidMount:d.DEFINE_MANY,componentWillReceiveProps:d.DEFINE_MANY,shouldComponentUpdate:d.DEFINE_ONCE,componentWillUpdate:d.DEFINE_MANY,componentDidUpdate:d.DEFINE_MANY,componentWillUnmount:d.DEFINE_MANY,updateComponent:d.OVERRIDE_BASE},f={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var o=0;o<t.length;o++)n(e,t[o])},props:function(e,t){e.propDeclarations=t}},m=c({MOUNTING:null,UNMOUNTING:null,RECEIVING_PROPS:null,RECEIVING_STATE:null}),v={construct:function(e,t){r.Mixin.construct.call(this,e,t),this.state=null,this._pendingState=null,this._compositeLifeCycleState=null},mountComponent:function(e,t){return r.Mixin.mountComponent.call(this,e,t),this._lifeCycleState=r.LifeCycle.UNMOUNTED,this._compositeLifeCycleState=m.MOUNTING,this.constructor.propDeclarations&&this._assertValidProps(this.props),this.__reactAutoBindMap&&this._bindAutoBindMethods(),this.state=this.getInitialState?this.getInitialState():null,this._pendingState=null,this.componentWillMount&&(this.componentWillMount(),this._pendingState&&(this.state=this._pendingState,this._pendingState=null)),this.componentDidMount&&t.getReactOnDOMReady().enqueue(this,this.componentDidMount),this._renderedComponent=this._renderValidatedComponent(),this._compositeLifeCycleState=null,this._lifeCycleState=r.LifeCycle.MOUNTED,this._renderedComponent.mountComponent(e,t)},unmountComponent:function(){this._compositeLifeCycleState=m.UNMOUNTING,this.componentWillUnmount&&this.componentWillUnmount(),this._compositeLifeCycleState=null,r.Mixin.unmountComponent.call(this),this._renderedComponent.unmountComponent(),this._renderedComponent=null,this.refs&&(this.refs=null)},receiveProps:function(e,t){this.constructor.propDeclarations&&this._assertValidProps(e),r.Mixin.receiveProps.call(this,e,t),this._compositeLifeCycleState=m.RECEIVING_PROPS,this.componentWillReceiveProps&&this.componentWillReceiveProps(e,t),this._compositeLifeCycleState=m.RECEIVING_STATE;var n=this._pendingState||this.state;this._pendingState=null,this._receivePropsAndState(e,n,t),this._compositeLifeCycleState=null},setState:function(e){this.replaceState(l(this._pendingState||this.state,e))},replaceState:function(e){var t=this._compositeLifeCycleState;if(u(this._lifeCycleState===r.LifeCycle.MOUNTED||t===m.MOUNTING,"replaceState(...): Can only update a mounted (or mounting) component."),u(t!==m.RECEIVING_STATE&&t!==m.UNMOUNTING,"replaceState(...): Cannot update while unmounting component or during an existing state transition (such as within `render`)."),this._pendingState=e,t!==m.MOUNTING&&t!==m.RECEIVING_PROPS){this._compositeLifeCycleState=m.RECEIVING_STATE;var n=this._pendingState;this._pendingState=null;var o=r.ReactReconcileTransaction.getPooled();o.perform(this._receivePropsAndState,this,this.props,n,o),r.ReactReconcileTransaction.release(o),this._compositeLifeCycleState=null}},_receivePropsAndState:function(e,t,n){!this.shouldComponentUpdate||this.shouldComponentUpdate(e,t)?this._performComponentUpdate(e,t,n):(this.props=e,this.state=t)},_performComponentUpdate:function(e,t,n){var o=this.props,r=this.state;this.componentWillUpdate&&this.componentWillUpdate(e,t,n),this.props=e,this.state=t,this.updateComponent(n),this.componentDidUpdate&&n.getReactOnDOMReady().enqueue(this,this.componentDidUpdate.bind(this,o,r))},updateComponent:function(e){var t=this._renderedComponent,n=this._renderValidatedComponent();if(t.constructor===n.constructor)n.props.isStatic||t.receiveProps(n.props,e);else{var o=this._rootNodeID,i=t._rootNodeID;t.unmountComponent();var a=n.mountComponent(o,e);r.DOMIDOperations.dangerouslyReplaceNodeWithMarkupByID(i,a),this._renderedComponent=n}},forceUpdate:function(){var e=r.ReactReconcileTransaction.getPooled();e.perform(this._performComponentUpdate,this,this.props,this.state,e),r.ReactReconcileTransaction.release(e)},_renderValidatedComponent:function(){i.current=this;var e=this.render();return i.current=null,u(r.isValidComponent(e),"%s.render(): A valid ReactComponent must be returned.",this.constructor.displayName||"ReactCompositeComponent"),e},_assertValidProps:function(e){var t=this.constructor.propDeclarations,n=this.constructor.displayName;for(var o in t){var r=t[o];r&&r(e,o,n)}},_bindAutoBindMethods:function(){for(var e in this.__reactAutoBindMap)if(this.__reactAutoBindMap.hasOwnProperty(e)){var t=this.__reactAutoBindMap[e];this[e]=this._bindAutoBindMethod(t)}},_bindAutoBindMethod:function(e){function t(t,i,a,s,c,l){return u("undefined"==typeof l,"React.autoBind(...): Methods can only take a maximum of 5 arguments."),n._lifeCycleState===r.LifeCycle.MOUNTED?e.call(n,t,i,a,s,c):(o||(o=!0),void 0)}var n=this,o=!1;return t}},g=function(){};p(g,r.Mixin),p(g,a.Mixin),p(g,s.Mixin),p(g,v);var y={LifeCycle:m,Base:g,createClass:function(e){var t=function(e,t){this.construct(e,t)};t.prototype=new g,t.prototype.constructor=t,n(t,e),u(t.prototype.render,"createClass(...): Class specification must implement a `render` method.");var o=function(e,n){return new t(e,n)};return o.componentConstructor=t,o.originalSpec=e,o},autoBind:function(e){function t(){u(!1,"React.autoBind(...): Attempted to invoke an auto-bound method that was not correctly defined on the class specification.")}return t.__reactAutoBind=e,t}};t.exports=y}()},{"./ReactComponent":3,"./ReactCurrentOwner":7,"./ReactOwner":8,"./ReactPropTransferer":9,"./invariant":10,"./keyMirror":11,"./merge":12,"./mixInto":13}],3:[function(e,t){"use strict";function n(e){console&&console.warn&&console.warn(e)}var o=e("./ExecutionEnvironment"),r=e("./ReactCurrentOwner"),i=e("./ReactDOMIDOperations"),a=e("./ReactMount"),s=e("./ReactOwner"),u=e("./ReactReconcileTransaction"),c=e("./invariant"),l=e("./keyMirror"),p=e("./merge"),d="{owner}",h=l({MOUNTED:null,UNMOUNTED:null}),f={isValidComponent:function(e){return!(!e||"function"!=typeof e.mountComponentIntoNode||"function"!=typeof e.receiveProps)},LifeCycle:h,DOMIDOperations:i,ReactReconcileTransaction:u,setDOMOperations:function(e){f.DOMIDOperations=e},setReactReconcileTransaction:function(e){f.ReactReconcileTransaction=e},Mixin:{getDOMNode:function(){c(o.canUseDOM,"getDOMNode(): The DOM is not supported in the current environment."),c(this._lifeCycleState===h.MOUNTED,"getDOMNode(): A component must be mounted to have a DOM node.");var e=this._rootNode;return e||(e=document.getElementById(this._rootNodeID),e||(e=a.findReactRenderedDOMNodeSlow(this._rootNodeID)),this._rootNode=e),e},setProps:function(e){this.replaceProps(p(this.props,e))},replaceProps:function(e){c(!this.props[d],"replaceProps(...): You called `setProps` or `replaceProps` on a component with an owner. This is an anti-pattern since props will get reactively updated when rendered. Instead, change the owner's `render` method to pass the correct value as props to the component where it is created.");var t=f.ReactReconcileTransaction.getPooled();t.perform(this.receiveProps,this,e,t),f.ReactReconcileTransaction.release(t)},construct:function(e,t){this.props=e||{},"undefined"!=typeof t&&(this.props.children=t),this.props[d]=r.current,this._lifeCycleState=h.UNMOUNTED},mountComponent:function(e){c(this._lifeCycleState===h.UNMOUNTED,"mountComponent(%s, ...): Can only mount an unmounted component.",e);var t=this.props;null!=t.ref&&s.addComponentAsRefTo(this,t.ref,t[d]),this._rootNodeID=e,this._lifeCycleState=h.MOUNTED},unmountComponent:function(){c(this._lifeCycleState===h.MOUNTED,"unmountComponent(): Can only unmount a mounted component.");var e=this.props;null!=e.ref&&s.removeComponentAsRefFrom(this,e.ref,e[d]),this._rootNode=null,this._rootNodeID=null,this._lifeCycleState=h.UNMOUNTED},receiveProps:function(e){c(this._lifeCycleState===h.MOUNTED,"receiveProps(...): Can only update a mounted component.");var t=this.props;(e[d]!==t[d]||e.ref!==t.ref)&&(null!=t.ref&&s.removeComponentAsRefFrom(this,t.ref,t[d]),null!=e.ref&&s.addComponentAsRefTo(this,e.ref,e[d]))},mountComponentIntoNode:function(e,t){var n=f.ReactReconcileTransaction.getPooled();n.perform(this._mountComponentIntoNode,this,e,t,n),f.ReactReconcileTransaction.release(n)},_mountComponentIntoNode:function(e,t,n){var o=Date.now(),r=this.mountComponent(e,n);a.totalInstantiationTime+=Date.now()-o;var i=Date.now(),s=t.parentNode;if(s){var u=t.nextSibling;s.removeChild(t),t.innerHTML=r,u?s.insertBefore(t,u):s.appendChild(t)}else t.innerHTML=r;a.totalInjectionTime+=Date.now()-i},unmountComponentFromNode:function(e){for(this.unmountComponent();e.lastChild;)e.removeChild(e.lastChild)},isOwnedBy:function(e){return this.props[d]===e}}};f.Mixin.update=function(e){n("this.update() is deprecated. Use this.setProps()"),this.setProps(e)},f.Mixin.updateAll=function(e){n("this.updateAll() is deprecated. Use this.replaceProps()"),this.replaceProps(e)},t.exports=f},{"./ExecutionEnvironment":14,"./ReactCurrentOwner":7,"./ReactDOMIDOperations":15,"./ReactMount":5,"./ReactOwner":8,"./ReactReconcileTransaction":16,"./invariant":10,"./keyMirror":11,"./merge":12}],4:[function(e,t){"use strict";function n(e,t){var n=function(e,t){this.construct(e,t)};return n.prototype=new o(e,t),n.prototype.constructor=n,function(e,t){return new n(e,t)}}var o=e("./ReactNativeComponent"),r=e("./mergeInto"),i=e("./objMapKeyVal"),a=i({a:!1,abbr:!1,address:!1,audio:!1,b:!1,body:!1,br:!0,button:!1,code:!1,col:!0,colgroup:!1,dd:!1,div:!1,section:!1,dl:!1,dt:!1,em:!1,embed:!0,fieldset:!1,footer:!1,form:!1,h1:!1,h2:!1,h3:!1,h4:!1,h5:!1,h6:!1,header:!1,hr:!0,i:!1,iframe:!1,img:!0,input:!0,label:!1,legend:!1,li:!1,line:!1,nav:!1,object:!1,ol:!1,optgroup:!1,option:!1,p:!1,param:!0,pre:!1,select:!1,small:!1,source:!1,span:!1,sub:!1,sup:!1,strong:!1,table:!1,tbody:!1,td:!1,textarea:!1,tfoot:!1,th:!1,thead:!1,time:!1,title:!1,tr:!1,u:!1,ul:!1,video:!1,wbr:!1,circle:!1,g:!1,path:!1,polyline:!1,rect:!1,svg:!1,text:!1},n),s={injectComponentClasses:function(e){r(a,e)}};a.injection=s,t.exports=a},{"./ReactNativeComponent":17,"./mergeInto":18,"./objMapKeyVal":19}],5:[function(e,t){!function(){"use strict";function n(e){return e.firstChild&&e.firstChild.id}var o=e("./ReactEvent"),r=e("./ReactInstanceHandles"),i=e("./ReactEventTopLevelCallback"),a=e("./$"),s=0,u={},c={},l={totalInstantiationTime:0,totalInjectionTime:0,useTouchEvents:!1,scrollMonitor:function(e,t){t()},prepareTopLevelEvents:function(e){o.ensureListening(l.useTouchEvents,e)},renderComponent:function(e,t){var o=u[n(t)];if(o){if(o.constructor===e.constructor){var r=e.props;return l.scrollMonitor(t,function(){o.replaceProps(r)}),o}l.unmountAndReleaseReactRootNode(t)}l.prepareTopLevelEvents(i);var a=l.registerContainer(t);return u[a]=e,e.mountComponentIntoNode(a,t),e},createComponentRenderer:function(e){return function(t){return l.renderComponent(e,t)}},constructAndRenderComponent:function(e,t,n){return l.renderComponent(e(t),n)},constructAndRenderComponentByID:function(e,t,n){return l.constructAndRenderComponent(e,t,a(n))},registerContainer:function(e){var t=n(e);return t&&(t=r.getReactRootIDFromNodeID(t)),t||(t=r.getReactRootID(s++)),c[t]=e,t},unmountAndReleaseReactRootNode:function(e){var t=n(e),o=u[t];o.unmountComponentFromNode(e),delete u[t],delete c[t]},findReactContainerForID:function(e){var t=r.getReactRootIDFromNodeID(e);return c[t]},findReactRenderedDOMNodeSlow:function(e){var t=l.findReactContainerForID(e);return r.findComponentRoot(t,e)}};t.exports=l}()},{"./ReactEvent":20,"./ReactInstanceHandles":21,"./ReactEventTopLevelCallback":22,"./$":23}],6:[function(e,t){"use strict";function n(){s.injection.injectEventPluginOrder(i),s.injection.injectInstanceHandle(u),s.injection.injectEventPluginsByName({SimpleEventPlugin:c,EnterLeaveEventPlugin:a}),o.injection.injectComponentClasses({form:r})}var o=e("./ReactDOM"),r=e("./ReactDOMForm"),i=e("./DefaultEventPluginOrder"),a=e("./EnterLeaveEventPlugin"),s=e("./EventPluginHub"),u=e("./ReactInstanceHandles"),c=e("./SimpleEventPlugin");t.exports={inject:n}},{"./ReactDOM":4,"./ReactDOMForm":24,"./DefaultEventPluginOrder":25,"./EnterLeaveEventPlugin":26,"./EventPluginHub":27,"./ReactInstanceHandles":21,"./SimpleEventPlugin":28}],7:[function(e,t){"use strict";var n={current:null};t.exports=n},{}],10:[function(e,t){function n(e){if(!e)throw new Error("Invariant Violation")}t.exports=n},{}],13:[function(e,t){"use strict";var n=function(e,t){var n;for(n in t)t.hasOwnProperty(n)&&(e.prototype[n]=t[n])};t.exports=n},{}],14:[function(e,t){!function(){"use strict";var e="undefined"!=typeof window,n={canUseDOM:e,canUseWorkers:"undefined"!=typeof Worker,isInWorker:!e,global:new Function("return this;")()};t.exports=n}()},{}],19:[function(e,t){"use strict";function n(e,t,n){if(!e)return null;var o=0,r={};for(var i in e)e.hasOwnProperty(i)&&(r[i]=t.call(n,i,e[i],o++));return r}t.exports=n},{}],8:[function(e,t){"use strict";var n=e("./invariant"),o={isValidOwner:function(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)},addComponentAsRefTo:function(e,t,r){n(o.isValidOwner(r),"addComponentAsRefTo(...): Only a ReactOwner can have refs."),r.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,r){n(o.isValidOwner(r),"removeComponentAsRefFrom(...): Only a ReactOwner can have refs."),r.refs[t]===e&&r.detachRef(t)},Mixin:{attachRef:function(e,t){n(t.isOwnedBy(this),"attachRef(%s, ...): Only a component's owner can store a ref to it.",e);var o=this.refs||(this.refs={});o[e]=t},detachRef:function(e){delete this.refs[e]}}};t.exports=o},{"./invariant":10}],9:[function(e,t){"use strict";function n(e){return function(t,n,o){t[n]=t.hasOwnProperty(n)?e(t[n],o):o}}var o=e("./emptyFunction"),r=e("./joinClasses"),i=e("./merge"),a={ref:o,className:n(r),style:n(i)},s={TransferStrategies:a,Mixin:{transferPropsTo:function(e){var t={};for(var n in e.props)e.props.hasOwnProperty(n)&&(t[n]=e.props[n]);for(var o in this.props)if(this.props.hasOwnProperty(o)){var r=a[o];r?r(t,o,this.props[o]):t.hasOwnProperty(o)||(t[o]=this.props[o])}return e.props=t,e}}};t.exports=s},{"./emptyFunction":29,"./joinClasses":30,"./merge":12}],11:[function(e,t){"use strict";var n=e("./throwIf"),o="NOT_OBJECT_ERROR",r=function(e){var t,r={};n(!(e instanceof Object)||Array.isArray(e),o);for(t in e)e.hasOwnProperty(t)&&(r[t]=t);return r};t.exports=r},{"./throwIf":31}],12:[function(e,t){"use strict";var n=e("./mergeInto"),o=function(e,t){var o={};return n(o,e),n(o,t),o};t.exports=o},{"./mergeInto":18}],15:[function(e,t){!function(){"use strict";var n=e("./CSSPropertyOperations"),o=e("./DOMChildrenOperations"),r=e("./DOMPropertyOperations"),i=e("./ReactDOMNodeCache"),a=e("./getTextContentAccessor"),s=e("./invariant"),u={content:"`content` must be set using `updateTextContentByID()`.",dangerouslySetInnerHTML:"`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.",style:"`style` must be set using `updateStylesByID()`."},c=a()||"NA",l={updatePropertyByID:function(e,t,n){var o=i.getCachedNodeByID(e);s(!u.hasOwnProperty(t),"updatePropertyByID(...): %s",u[t]),r.setValueForProperty(o,t,n)},updatePropertiesByID:function(e,t){for(var n in t)t.hasOwnProperty(n)&&l.updatePropertiesByID(e,n,t[n])},updateStylesByID:function(e,t){var o=i.getCachedNodeByID(e);n.setValueForStyles(o,t)},updateInnerHTMLByID:function(e,t){var n=i.getCachedNodeByID(e);n.innerHTML=(t&&t.__html||"").replace(/^ /g,"&nbsp;")},updateTextContentByID:function(e,t){var n=i.getCachedNodeByID(e);n[c]=t},dangerouslyReplaceNodeWithMarkupByID:function(e,t){var n=i.getCachedNodeByID(e);o.dangerouslyReplaceNodeWithMarkup(n,t),i.purgeEntireCache()},manageChildrenByParentID:function(e,t){var n=i.getCachedNodeByID(e);o.manageChildren(n,t),i.purgeEntireCache()},setTextNodeValueAtIndexByParentID:function(e,t,n){var r=i.getCachedNodeByID(e);o.setTextNodeValueAtIndex(r,t,n)}};t.exports=l}()},{"./CSSPropertyOperations":32,"./DOMChildrenOperations":33,"./DOMPropertyOperations":34,"./ReactDOMNodeCache":35,"./getTextContentAccessor":36,"./invariant":10}],16:[function(e,t){"use strict";function n(){this.reinitializeTransaction(),this.reactOnDOMReady=s.getPooled(null)}var o=e("./ExecutionEnvironment"),r=e("./PooledClass"),i=e("./ReactEvent"),a=e("./ReactInputSelection"),s=e("./ReactOnDOMReady"),u=e("./Transaction"),c=e("./mixInto"),l={initialize:a.getSelectionInformation,close:a.restoreSelection},p={initialize:function(){var e=i.isEnabled();return i.setEnabled(!1),e},close:function(e){i.setEnabled(e)}},d={initialize:function(){this.reactOnDOMReady.reset()},close:function(){this.reactOnDOMReady.notifyAll()}},h=[l,p,d],f={getTransactionWrappers:function(){return o.canUseDOM?h:[]},getReactOnDOMReady:function(){return this.reactOnDOMReady},destructor:function(){s.release(this.reactOnDOMReady),this.reactOnDOMReady=null}};c(n,u.Mixin),c(n,f),r.addPoolingTo(n),t.exports=n},{"./ExecutionEnvironment":14,"./PooledClass":37,"./ReactEvent":20,"./ReactInputSelection":38,"./ReactOnDOMReady":39,"./Transaction":40,"./mixInto":13}],17:[function(e,t){"use strict";function n(e){if(e){var t=null!=e.children?1:0,n=null!=e.content?1:0,o=null!=e.dangerouslySetInnerHTML?1:0;p(1>=t+n+o,"Can only set one of `children`, `props.content`, or `props.dangerouslySetInnerHTML`."),p(null==e.style||"object"==typeof e.style,"The `style` prop expects a mapping from style properties to values, not a string.")}}function o(e,t){this._tagOpen="<"+e+" ",this._tagClose=t?"":"</"+e+">",this.tagName=e.toUpperCase()}var r=e("./CSSPropertyOperations"),i=e("./DOMPropertyOperations"),a=e("./ReactComponent"),s=e("./ReactEvent"),u=e("./ReactMultiChild"),c=e("./escapeTextForBrowser"),l=e("./flattenChildren"),p=e("./invariant"),d=e("./keyOf"),h=e("./merge"),f=e("./mixInto"),m=s.putListener,v=s.registrationNames,g={string:!0,number:!0},y=d({content:null}),E=d({dangerouslySetInnerHTML:null}),C=d({style:null});o.Mixin={mountComponent:function(e,t){return a.Mixin.mountComponent.call(this,e,t),n(this.props),this._createOpenTagMarkup()+this._createContentMarkup(t)+this._tagClose},_createOpenTagMarkup:function(){var e=this.props,t=this._tagOpen;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];if(null!=o)if(v[n])m(this._rootNodeID,n,o);else{n===C&&(o&&(o=e.style=h(e.style)),o=r.createMarkupForStyles(o));var a=i.createMarkupForProperty(n,o);a&&(t+=" "+a)}}return t+' id="'+this._rootNodeID+'">'},_createContentMarkup:function(e){var t=this.props.dangerouslySetInnerHTML;if(null!=t){if(null!=t.__html)return t.__html}else{var n=null!=this.props.content?this.props.content:g[typeof this.props.children]?this.props.children:null,o=null!=n?null:this.props.children;if(null!=n)return c(n);if(null!=o)return this.mountMultiChild(l(o),e)}return""},receiveProps:function(e,t){p(this._rootNodeID,"Trying to control a native dom element without a backing id"),n(e),a.Mixin.receiveProps.call(this,e,t),this._updateDOMProperties(e),this._updateDOMChildren(e,t),this.props=e},_updateDOMProperties:function(e){var t=this.props;for(var n in e){var o=e[n],r=t[n];if(e.hasOwnProperty(n)&&o!==r)if(n===C){o&&(o=e.style=h(o));var i;for(var s in o)o.hasOwnProperty(s)&&(r&&r[s]===o[s]||(i||(i={}),i[s]=o[s]));i&&a.DOMIDOperations.updateStylesByID(this._rootNodeID,i)}else if(n===E){var u=r&&r.__html,c=o&&o.__html;u!==c&&a.DOMIDOperations.updateInnerHTMLByID(this._rootNodeID,o)}else n===y?a.DOMIDOperations.updateTextContentByID(this._rootNodeID,""+o):v[n]?m(this._rootNodeID,n,o):a.DOMIDOperations.updatePropertyByID(this._rootNodeID,n,o)}},_updateDOMChildren:function(e,t){var n=typeof this.props.content,o=null==this.props.content||"boolean"===n,r=typeof e.content,i=null==e.content||"boolean"===r,s=o?g[typeof this.props.children]?this.props.children:null:this.props.content,u=i?g[typeof e.children]?e.children:null:e.content,c=null!=s?null:this.props.children,p=null!=u?null:e.children;if(null!=u){var d=null!=c&&null==p;d&&this.updateMultiChild(null,t),s!==u&&a.DOMIDOperations.updateTextContentByID(this._rootNodeID,""+u)}else{var h=null!=s&&null==u;h&&a.DOMIDOperations.updateTextContentByID(this._rootNodeID,""),this.updateMultiChild(l(e.children),t)}},unmountComponent:function(){a.Mixin.unmountComponent.call(this),this.unmountMultiChild(),s.deleteAllListeners(this._rootNodeID)}},f(o,a.Mixin),f(o,o.Mixin),f(o,u.Mixin),t.exports=o},{"./CSSPropertyOperations":32,"./DOMPropertyOperations":34,"./ReactComponent":3,"./ReactEvent":20,"./ReactMultiChild":41,"./escapeTextForBrowser":42,"./flattenChildren":43,"./invariant":10,"./keyOf":44,"./merge":12,"./mixInto":13}],18:[function(e,t){"use strict";function n(e,t){if(r(e),null!=t){r(t);for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}}var o=e("./mergeHelpers"),r=o.checkMergeObjectArg;t.exports=n},{"./mergeHelpers":45}],20:[function(e,t){"use strict";function n(e,t,n){C(n,t,R.TopLevelCallbackCreator.createTopLevelCallback(e))}function o(e,t,n){D(n,t,R.TopLevelCallbackCreator.createTopLevelCallback(e))}function r(){C(window,"scroll",function(e){e.target===window&&p.refreshAuthoritativeScrollValues()})}function i(){C(window,"resize",function(e){e.target===window&&p.refreshAuthoritativeScrollValues()})}function a(e){v(!M,"listenAtTopLevel(...): Cannot setup top-level listener more than once.");var t=document;r(),i(),n(E.topMouseOver,"mouseover",t),n(E.topMouseDown,"mousedown",t),n(E.topMouseUp,"mouseup",t),n(E.topMouseMove,"mousemove",t),n(E.topMouseOut,"mouseout",t),n(E.topClick,"click",t),n(E.topDoubleClick,"dblclick",t),n(E.topMouseWheel,"mousewheel",t),e&&(n(E.topTouchStart,"touchstart",t),n(E.topTouchEnd,"touchend",t),n(E.topTouchMove,"touchmove",t),n(E.topTouchCancel,"touchcancel",t)),n(E.topKeyUp,"keyup",t),n(E.topKeyPress,"keypress",t),n(E.topKeyDown,"keydown",t),n(E.topChange,"change",t),n(E.topDOMCharacterDataModified,"DOMCharacterDataModified",t),n(E.topMouseWheel,"DOMMouseScroll",t),g("scroll",!0)?o(E.topScroll,"scroll",t):n(E.topScroll,"scroll",window),g("focus",!0)?(o(E.topFocus,"focus",t),o(E.topBlur,"blur",t)):g("focusin")&&(n(E.topFocus,"focusin",t),n(E.topBlur,"focusout",t))}function s(e,t,n,o){var r=h.extractAbstractEvents(e,t,n,o);h.enqueueAbstractEvents(r),h.processAbstractEventQueue()}function u(e){v(f.canUseDOM,"setEnabled(...): Cannot toggle event listening in a Worker thread. This is likely a bug in the framework. Please report immediately."),R.TopLevelCallbackCreator.setEnabled(e)}function c(){return R.TopLevelCallbackCreator.isEnabled()}function l(e,t){v(f.canUseDOM,"ensureListening(...): Cannot toggle event listening in a Worker thread. This is likely a bug in the framework. Please report immediately."),M||(R.TopLevelCallbackCreator=t,a(e),M=!0)}var p=e("./BrowserEnv"),d=e("./EventConstants"),h=e("./EventPluginHub"),f=e("./ExecutionEnvironment"),m=e("./NormalizedEventListener"),v=e("./invariant"),g=e("./isEventSupported"),y=h.registrationNames,E=d.topLevelTypes,C=m.listen,D=m.capture,M=!1,R={TopLevelCallbackCreator:null,handleTopLevel:s,setEnabled:u,isEnabled:c,ensureListening:l,registrationNames:y,putListener:h.putListener,getListener:h.getListener,deleteAllListeners:h.deleteAllListeners,trapBubbledEvent:n,trapCapturedEvent:o};t.exports=R},{"./BrowserEnv":46,"./EventConstants":47,"./EventPluginHub":27,"./ExecutionEnvironment":14,"./NormalizedEventListener":48,"./invariant":10,"./isEventSupported":49}],21:[function(e,t){"use strict";function n(e,t){return e.charAt(t)===c||t===e.length}function o(e){return""===e||e.charAt(0)===c&&e.charAt(e.length-1)!==c}function r(e){var t=s(e);return t&&t.charAt(0)===c}function i(e){return e?e.substr(0,e.lastIndexOf(c)):""}function a(e,t,n,o,r,a){e=e||"",t=t||"",u(e!==t,"traverseParentPath(...): Cannot traverse from and to the same ID, `%s`.",e);var s=d.getFirstCommonAncestorID(e,t),c=s===t;u(c||s===e,"traverseParentPath(%s, %s, ...): Cannot traverse from two IDs that do not have a parent path.",e,t);for(var l=0,h=c?i:d.nextDescendantID,f=e;r&&f===e||a&&f===t||n(f,c,o),f!==t;f=h(f,t))u(l++<p,"traverseParentPath(%s, %s, ...): Detected an infinite loop while traversing the React DOM ID tree. This may be due to malformed IDs: %s",e,t)}var s=e("./getDOMNodeID"),u=e("./invariant"),c=".",l=c.length,p=100,d={separator:c,getFirstReactDOM:function(e){for(var t=e;t&&t.parentNode!==t;){if(r(t))return t;t=t.parentNode}return null},findComponentRoot:function(e,t){for(var n=e.firstChild;n;){if(t===n.id)return n;if(0===t.indexOf(n.id))return d.findComponentRoot(n,t);n=n.nextSibling}},getFirstCommonAncestorID:function(e,t){var r=Math.min(e.length,t.length);if(0===r)return"";for(var i=0,a=0;r>=a;a++)if(n(e,a)&&n(t,a))i=a;else if(e.charAt(a)!==t.charAt(a))break;var s=e.substr(0,i);return u(o(s),"getFirstCommonAncestorID(%s, %s): Expected a valid React DOM ID: %s",e,t,s),s},getReactRootID:function(e){return".reactRoot["+e+"]"},getReactRootIDFromNodeID:function(e){var t=/\.reactRoot\[[^\]]+\]/.exec(e);return t&&t[0]},traverseEnterLeave:function(e,t,n,o,r){var i=d.getFirstCommonAncestorID(e,t);i!==e&&a(e,i,n,o,!1,!0),i!==t&&a(i,t,n,r,!0,!1)},traverseTwoPhase:function(e,t,n){e&&(a("",e,t,n,!0,!1),a(e,"",t,n,!1,!0))},nextDescendantID:function(e,t){u(o(e)&&o(t),"nextDescendantID(%s, %s): Received an invalid React DOM ID.",e,t);var r=d.getFirstCommonAncestorID(e,t);if(u(r===e,"nextDescendantID(...): React has made an invalid assumption about the DOM hierarchy. Expected `%s` to be an ancestor of `%s`.",e,t),e===t)return e;for(var i=e.length+l,a=i;a<t.length&&!n(t,a);a++);return t.substr(0,a)}};t.exports=d},{"./getDOMNodeID":50,"./invariant":10}],22:[function(e,t){!function(){"use strict";var n=e("./ExecutionEnvironment"),o=e("./ReactEvent"),r=e("./ReactInstanceHandles"),i=e("./getDOMNodeID"),a=!0,s={setEnabled:function(e){a=!!e},isEnabled:function(){return a},createTopLevelCallback:function(e){return function(t){if(a){var s=r.getFirstReactDOM(t.target)||n.global,u=i(s),c=t,l=s;o.handleTopLevel(e,c,u,l)}}}};t.exports=s}()},{"./ExecutionEnvironment":14,"./ReactEvent":20,"./ReactInstanceHandles":21,"./getDOMNodeID":50}],23:[function(e,t){function n(e){var t=o(e);if(!t)throw"undefined"==typeof e?e="undefined":null===e&&(e="null"),new Error('Tried to get element "'+e.toString()+'" but it is not present '+"on the page.");return t}var o=e("./ge");t.exports=n},{"./ge":51}],24:[function(e,t){"use strict";var n=e("./ReactCompositeComponent"),o=e("./ReactDOM"),r=e("./ReactEvent"),i=e("./EventConstants"),a=o.form,s=n.createClass({render:function(){return this.transferPropsTo(a(null,this.props.children))},componentDidMount:function(e){r.trapBubbledEvent(i.topLevelTypes.topSubmit,"submit",e)}});t.exports=s},{"./ReactCompositeComponent":2,"./ReactDOM":4,"./ReactEvent":20,"./EventConstants":47}],25:[function(e,t){"use strict";var n=e("./keyOf"),o=[n({ResponderEventPlugin:null}),n({SimpleEventPlugin:null}),n({TapEventPlugin:null}),n({EnterLeaveEventPlugin:null}),n({AnalyticsEventPlugin:null})];t.exports=o},{"./keyOf":44}],26:[function(e,t){!function(){"use strict";var n=e("./EventPropagators"),o=e("./ExecutionEnvironment"),r=e("./AbstractEvent"),i=e("./EventConstants"),a=e("./ReactInstanceHandles"),s=e("./getDOMNodeID"),u=e("./keyOf"),c=i.topLevelTypes,l=a.getFirstReactDOM,p={mouseEnter:{registrationName:u({onMouseEnter:null})},mouseLeave:{registrationName:u({onMouseLeave:null})}},d=function(e,t,i,a){if(e!==c.topMouseOver||!t.relatedTarget&&!t.fromElement){if(e!==c.topMouseOut&&e!==c.topMouseOver)return null;var u,d;if(e===c.topMouseOut?(u=l(t.relatedTarget||t.toElement)||o.global,d=a):(u=a,d=o.global),d!==u){var h=d?s(d):"",f=u?s(u):"",m=r.getPooled(p.mouseLeave,h,e,t),v=r.getPooled(p.mouseEnter,f,e,t);return n.accumulateEnterLeaveDispatches(m,v,h,f),[m,v]}}},h={abstractEventTypes:p,extractAbstractEvents:d};t.exports=h}()},{"./EventPropagators":52,"./ExecutionEnvironment":14,"./AbstractEvent":53,"./EventConstants":47,"./ReactInstanceHandles":21,"./getDOMNodeID":50,"./keyOf":44}],27:[function(e,t){!function(){"use strict";function n(e,t){var n,o=e.phasedRegistrationNames;if(o)for(n in o)o.hasOwnProperty(n)&&(g[o[n]]=t,y.push(o[n]));else e.registrationName&&(g[e.registrationName]=t,y.push(e.registrationName))}function o(e){if(e.type.registrationName)return g[e.type.registrationName];for(var t in e.type.phasedRegistrationNames)if(e.type.phasedRegistrationNames.hasOwnProperty(t)){var n=g[e.type.phasedRegistrationNames[t]];if(n)return n}return null}var r=e("./AbstractEvent"),i=e("./CallbackRegistry"),a=e("./EventPluginUtils"),s=e("./EventPropagators"),u=e("./ExecutionEnvironment"),c=e("./accumulate"),l=e("./forEachAccumulated"),p=e("./keyMirror"),d=e("./merge"),h=e("./throwIf"),f=i.deleteListener,m=p({DOUBLE_REGISTER:null,DOUBLE_ENQUEUE:null,DEPENDENCY_ERROR:null}),v={injectInstanceHandle:function(e){s.injection.injectInstanceHandle(e)},EventPluginOrder:null,injectEventPluginOrder:function(e){v.EventPluginOrder=e,v._recomputePluginsList()},plugins:[],injectEventPluginsByName:function(e){v.pluginsByName=d(v.pluginsByName,e),v._recomputePluginsList()},pluginsByName:{},_recomputePluginsList:function(){var e=function(e,t){var o=v.EventPluginOrder.indexOf(e);if(h(-1===o,m.DEPENDENCY_ERROR+e),!v.plugins[o]){v.plugins[o]=t;for(var r in t.abstractEventTypes){var i=t.abstractEventTypes[r];n(i,t)}}};if(v.EventPluginOrder){var t=v.pluginsByName;for(var o in t)e(o,t[o])}}},g={},y=[],E=[],C=function(e){var t;
19
+ for(t=0;t<y.length;t++)f(e,y[t])},D=function(e,t,n,o){for(var r,i=v.plugins,a=i.length,s=0;a>s;s++){var u=i[s],l=u&&u.extractAbstractEvents(e,t,n,o);l&&(r=c(r,l))}return r},M=function(e){e&&(E=c(E,e))},R=function(e){if(e){var t=o(e),n=t&&t.executeDispatch;a.executeDispatchesInOrder(e,n||a.executeDispatch),r.release(e)}},I=function(){var e=E;E=null,l(e,R)},O={registrationNames:g,registrationNamesArr:y,putListener:i.putListener,getListener:i.getListener,deleteAllListeners:C,extractAbstractEvents:D,enqueueAbstractEvents:M,processAbstractEventQueue:I,injection:v};u.canUseDOM&&(window.EventPluginHub=O),t.exports=O}()},{"./AbstractEvent":53,"./CallbackRegistry":54,"./EventPluginUtils":55,"./EventPropagators":52,"./ExecutionEnvironment":14,"./accumulate":56,"./forEachAccumulated":57,"./keyMirror":11,"./merge":12,"./throwIf":31}],28:[function(e,t){"use strict";var n=e("./AbstractEvent"),o=e("./EventConstants"),r=e("./EventPropagators"),i=e("./keyOf"),a=o.topLevelTypes,s={abstractEventTypes:{mouseDown:{phasedRegistrationNames:{bubbled:i({onMouseDown:!0}),captured:i({onMouseDownCapture:!0})}},mouseUp:{phasedRegistrationNames:{bubbled:i({onMouseUp:!0}),captured:i({onMouseUpCapture:!0})}},mouseMove:{phasedRegistrationNames:{bubbled:i({onMouseMove:!0}),captured:i({onMouseMoveCapture:!0})}},doubleClick:{phasedRegistrationNames:{bubbled:i({onDoubleClick:!0}),captured:i({onDoubleClickCapture:!0})}},click:{phasedRegistrationNames:{bubbled:i({onClick:!0}),captured:i({onClickCapture:!0})}},mouseWheel:{phasedRegistrationNames:{bubbled:i({onMouseWheel:!0}),captured:i({onMouseWheelCapture:!0})}},touchStart:{phasedRegistrationNames:{bubbled:i({onTouchStart:!0}),captured:i({onTouchStartCapture:!0})}},touchEnd:{phasedRegistrationNames:{bubbled:i({onTouchEnd:!0}),captured:i({onTouchEndCapture:!0})}},touchCancel:{phasedRegistrationNames:{bubbled:i({onTouchCancel:!0}),captured:i({onTouchCancelCapture:!0})}},touchMove:{phasedRegistrationNames:{bubbled:i({onTouchMove:!0}),captured:i({onTouchMoveCapture:!0})}},keyUp:{phasedRegistrationNames:{bubbled:i({onKeyUp:!0}),captured:i({onKeyUpCapture:!0})}},keyPress:{phasedRegistrationNames:{bubbled:i({onKeyPress:!0}),captured:i({onKeyPressCapture:!0})}},keyDown:{phasedRegistrationNames:{bubbled:i({onKeyDown:!0}),captured:i({onKeyDownCapture:!0})}},focus:{phasedRegistrationNames:{bubbled:i({onFocus:!0}),captured:i({onFocusCapture:!0})}},blur:{phasedRegistrationNames:{bubbled:i({onBlur:!0}),captured:i({onBlurCapture:!0})}},scroll:{phasedRegistrationNames:{bubbled:i({onScroll:!0}),captured:i({onScrollCapture:!0})}},change:{phasedRegistrationNames:{bubbled:i({onChange:!0}),captured:i({onChangeCapture:!0})}},submit:{phasedRegistrationNames:{bubbled:i({onSubmit:!0}),captured:i({onSubmitCapture:!0})}},DOMCharacterDataModified:{phasedRegistrationNames:{bubbled:i({onDOMCharacterDataModified:!0}),captured:i({onDOMCharacterDataModifiedCapture:!0})}}},executeDispatch:function(e,t,n){var o=t(e,n);o===!1&&(e.stopPropagation(),e.preventDefault())},extractAbstractEvents:function(e,t,o,i){var u,c=s.topLevelTypesToAbstract[e];if(!c)return null;switch(e){case a.topMouseWheel:u=n.normalizeMouseWheelData(t);break;case a.topScroll:u=n.normalizeScrollDataFromTarget(i);break;case a.topClick:case a.topDoubleClick:case a.topChange:case a.topDOMCharacterDataModified:case a.topMouseDown:case a.topMouseUp:case a.topMouseMove:case a.topTouchMove:case a.topTouchStart:case a.topTouchEnd:u=n.normalizePointerData(t);break;default:u=null}var l=n.getPooled(c,o,e,t,u);return r.accumulateTwoPhaseDispatches(l),l}};s.topLevelTypesToAbstract={topMouseDown:s.abstractEventTypes.mouseDown,topMouseUp:s.abstractEventTypes.mouseUp,topMouseMove:s.abstractEventTypes.mouseMove,topClick:s.abstractEventTypes.click,topDoubleClick:s.abstractEventTypes.doubleClick,topMouseWheel:s.abstractEventTypes.mouseWheel,topTouchStart:s.abstractEventTypes.touchStart,topTouchEnd:s.abstractEventTypes.touchEnd,topTouchMove:s.abstractEventTypes.touchMove,topTouchCancel:s.abstractEventTypes.touchCancel,topKeyUp:s.abstractEventTypes.keyUp,topKeyPress:s.abstractEventTypes.keyPress,topKeyDown:s.abstractEventTypes.keyDown,topFocus:s.abstractEventTypes.focus,topBlur:s.abstractEventTypes.blur,topScroll:s.abstractEventTypes.scroll,topChange:s.abstractEventTypes.change,topSubmit:s.abstractEventTypes.submit,topDOMCharacterDataModified:s.abstractEventTypes.DOMCharacterDataModified},t.exports=s},{"./AbstractEvent":53,"./EventConstants":47,"./EventPropagators":52,"./keyOf":44}],30:[function(e,t){"use strict";function n(e){e||(e="");var t,n=arguments.length;if(n>1)for(var o=1;n>o;o++)t=arguments[o],t&&(e+=" "+t);return e}t.exports=n},{}],31:[function(e,t){"use strict";var n=function(e,t){if(e)throw new Error(t)};t.exports=n},{}],37:[function(e,t){"use strict";var n=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},o=function(e,t){var n=this;if(n.instancePool.length){var o=n.instancePool.pop();return n.call(o,e,t),o}return new n(e,t)},r=function(e,t,n,o,r){var i=this;if(i.instancePool.length){var a=i.instancePool.pop();return i.call(a,e,t,n,o,r),a}return new i(e,t,n,o,r)},i=function(e){var t=this;e.destructor&&e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},a=10,s=n,u=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||s,n.poolSize||(n.poolSize=a),n.release=i,n},c={addPoolingTo:u,oneArgumentPooler:n,twoArgumentPooler:o,fiveArgumentPooler:r};t.exports=c},{}],38:[function(e,t){"use strict";function n(){try{return document.activeElement}catch(e){}}var o={hasSelectionCapabilities:function(e){return e&&("INPUT"===e.nodeName&&"text"===e.type||"TEXTAREA"===e.nodeName||"true"===e.contentEditable)},getSelectionInformation:function(){var e=n();return{focusedElem:e,selectionRange:o.hasSelectionCapabilities(e)?o.getSelection(e):null}},restoreSelection:function(e){var t=n(),r=e.focusedElem,i=e.selectionRange;t!==r&&document.getElementById(r.id)&&(o.hasSelectionCapabilities(r)&&o.setSelection(r,i),r.focus())},getSelection:function(e){var t;if("true"===e.contentEditable&&window.getSelection){t=window.getSelection().getRangeAt(0);var n=t.commonAncestorContainer;return n&&3===n.nodeType&&(n=n.parentNode),n!==e?{start:0,end:0}:{start:t.startOffset,end:t.endOffset}}if(!document.selection)return{start:e.selectionStart,end:e.selectionEnd};if(t=document.selection.createRange(),t.parentElement()!==e)return{start:0,end:0};var o=e.value.length;if("INPUT"===e.nodeName)return{start:-t.moveStart("character",-o),end:-t.moveEnd("character",-o)};var r=t.duplicate();r.moveToElementText(e),r.setEndPoint("StartToEnd",t);var i=o-r.text.length;return r.setEndPoint("StartToStart",t),{start:o-r.text.length,end:i}},setSelection:function(e,t){var n,o=t.start,r=t.end;if("undefined"==typeof r&&(r=o),document.selection){if("TEXTAREA"===e.tagName){var i=(e.value.slice(0,o).match(/\r/g)||[]).length,a=(e.value.slice(o,r).match(/\r/g)||[]).length;o-=i,r-=i+a}n=e.createTextRange(),n.collapse(!0),n.moveStart("character",o),n.moveEnd("character",r-o),n.select()}else if("true"===e.contentEditable){if(1===e.childNodes.length){n=document.createRange(),n.setStart(e.childNodes[0],o),n.setEnd(e.childNodes[0],r);var s=window.getSelection();s.removeAllRanges(),s.addRange(n)}}else e.selectionStart=o,e.selectionEnd=Math.min(r,e.value.length),e.focus()}};t.exports=o},{}],44:[function(e,t){var n=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};t.exports=n},{}],46:[function(e,t){"use strict";var n={currentScrollLeft:0,currentScrollTop:0,browserInfo:null,refreshAuthoritativeScrollValues:function(){n.currentScrollLeft=document.body.scrollLeft+document.documentElement.scrollLeft,n.currentScrollTop=document.body.scrollTop+document.documentElement.scrollTop}};t.exports=n},{}],50:[function(e,t){"use strict";function n(e){if(e.getAttributeNode){var t=e.getAttributeNode("id");return t&&t.value||""}return e.id||""}t.exports=n},{}],51:[function(e,t){function n(e,t,n){return"string"!=typeof e?e:t?o(e,t,n):document.getElementById(e)}function o(e,t,n){var i,a,s;if(r(t)==e)return t;if(t.getElementsByTagName){for(a=t.getElementsByTagName(n||"*"),s=0;s<a.length;s++)if(r(a[s])==e)return a[s]}else for(a=t.childNodes,s=0;s<a.length;s++)if(i=o(e,a[s]))return i;return null}function r(e){var t=e.getAttributeNode&&e.getAttributeNode("id");return t?t.value:null}t.exports=n},{}],54:[function(e,t){"use strict";var n={},o={putListener:function(e,t,o){var r=n[t]||(n[t]={});r[e]=o},getListener:function(e,t){var o=n[t];return o&&o[e]},deleteListener:function(e,t){var o=n[t];o&&delete o[e]},__purge:function(){n={}}};t.exports=o},{}],57:[function(e,t){"use strict";var n=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)};t.exports=n},{}],29:[function(e,t){function n(e){return function(){return e}}function o(){}var r=e("./copyProperties");r(o,{thatReturns:n,thatReturnsFalse:n(!1),thatReturnsTrue:n(!0),thatReturnsNull:n(null),thatReturnsThis:function(){return this},thatReturnsArgument:function(e){return e},mustImplement:function(){return function(){}}}),t.exports=o},{"./copyProperties":58}],32:[function(e,t){"use strict";var n=e("./dangerousStyleValue"),o=e("./escapeTextForBrowser"),r=e("./hyphenate"),i=e("./memoizeStringOnly"),a=i(function(e){return o(r(e))}),s={createMarkupForStyles:function(e){var t="";for(var o in e)if(e.hasOwnProperty(o)){var r=e[o];"undefined"!=typeof r&&(t+=a(o)+":",t+=n(o,r)+";")}return t},setValueForStyles:function(e,t){var o=e.style;for(var r in t)if(t.hasOwnProperty(r)){var i=t[r];o[r]=n(r,i)}}};t.exports=s},{"./dangerousStyleValue":59,"./escapeTextForBrowser":42,"./hyphenate":60,"./memoizeStringOnly":61}],33:[function(e,t){!function(){"use strict";var n=e("./Danger"),o=e("./insertNodeAt"),r=e("./keyOf");e("./throwIf");var i=r({moveFrom:null}),a=r({insertMarkup:null}),s=r({removeAt:null}),u=function(e,t){for(var n,o,r,a=0;a<t.length;a++)o=t[a],i in o?(n=n||[],r=o.moveFrom,n[r]=e.childNodes[r]):s in o&&(n=n||[],r=o.removeAt,n[r]=e.childNodes[r]);return n},c=function(e,t){for(var n=0;n<t.length;n++){var o=t[n];o&&e.removeChild(t[n])}},l=function(e,t,r){for(var u,c,l,p=0;p<t.length;p++)if(l=t[p],i in l)u=r[l.moveFrom],c=l.finalIndex,o(e,u,c);else if(s in l);else if(a in l){c=l.finalIndex;var d=l.insertMarkup;n.dangerouslyInsertMarkupAt(e,d,c)}},p=function(e,t){var n=u(e,t);n&&c(e,n),l(e,t,n)},d=function(e,t,n){e.childNodes[t].nodeValue=n},h={dangerouslyReplaceNodeWithMarkup:n.dangerouslyReplaceNodeWithMarkup,manageChildren:p,setTextNodeValueAtIndex:d};t.exports=h}()},{"./Danger":62,"./insertNodeAt":63,"./keyOf":44,"./throwIf":31}],34:[function(e,t){"use strict";var n=e("./DOMProperty"),o=e("./escapeTextForBrowser"),r=e("./memoizeStringOnly"),i=r(function(e){return o(e)+'="'}),a={createMarkupForProperty:function(e,t){if(n.isStandardName[e]){if(null==t||n.hasBooleanValue[e]&&!t)return"";var r=n.getAttributeName[e];return i(r)+o(t)+'"'}return n.isCustomAttribute(e)?null==t?"":i(e)+o(t)+'"':null},setValueForProperty:function(e,t,o){if(n.isStandardName[t]){var r=n.getMutationMethod[t];if(r)r(e,o);else if(n.mustUseAttribute[t])n.hasBooleanValue[t]&&!o?e.removeAttribute(n.getAttributeName[t]):e.setAttribute(n.getAttributeName[t],o);else{var i=n.getPropertyName[t];n.hasSideEffects[t]&&e[i]===o||(e[i]=o)}}else n.isCustomAttribute(t)&&e.setAttribute(t,o)}};t.exports=a},{"./DOMProperty":64,"./escapeTextForBrowser":42,"./memoizeStringOnly":61}],35:[function(e,t){"use strict";var n=e("./ReactMount"),o={},r={purgeEntireCache:function(){return o={}},getCachedNodeByID:function(e){return o[e]||(o[e]=document.getElementById(e)||n.findReactRenderedDOMNodeSlow(e))}};t.exports=r},{"./ReactMount":5}],36:[function(e,t){"use strict";function n(){return!r&&o.canUseDOM&&(r="innerText"in document.createElement("div")?"innerText":"textContent"),r}var o=e("./ExecutionEnvironment"),r=null;t.exports=n},{"./ExecutionEnvironment":14}],39:[function(e,t){"use strict";function n(e){this._queue=e||null}var o=e("./PooledClass"),r=e("./mixInto");r(n,{enqueue:function(e,t){this._queue=this._queue||[],this._queue.push({component:e,callback:t})},notifyAll:function(){var e=this._queue;if(e){this._queue=null;for(var t=0,n=e.length;n>t;t++){var o=e[t].component,r=e[t].callback;r.call(o,o.getDOMNode())}e.length=0}},reset:function(){this._queue=null},destructor:function(){this.reset()}}),o.addPoolingTo(n),t.exports=n},{"./PooledClass":37,"./mixInto":13}],40:[function(e,t){!function(){"use strict";var n=e("./throwIf"),o="DUAL_TRANSACTION",r="MISSING_TRANSACTION",i={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this.timingMetrics||(this.timingMetrics={}),this.timingMetrics.methodInvocationTime=0,this.timingMetrics.wrapperInitTimes?this.timingMetrics.wrapperInitTimes.length=0:this.timingMetrics.wrapperInitTimes=[],this.timingMetrics.wrapperCloseTimes?this.timingMetrics.wrapperCloseTimes.length=0:this.timingMetrics.wrapperCloseTimes=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,r,i,a,s,u,c){n(this.isInTransaction(),o);var l,p=Date.now(),d=null;try{this.initializeAll(),l=e.call(t,r,i,a,s,u,c)}catch(h){d=h}finally{var f=Date.now();this.methodInvocationTime+=f-p;try{this.closeAll()}catch(m){d=d||m}}if(d)throw d;return l},initializeAll:function(){this._isInTransaction=!0;for(var e=this.transactionWrappers,t=this.timingMetrics.wrapperInitTimes,n=null,o=0;o<e.length;o++){var r=Date.now(),i=e[o];try{this.wrapperInitData[o]=i.initialize?i.initialize.call(this):null}catch(s){n=n||s,this.wrapperInitData[o]=a.OBSERVED_ERROR}finally{var u=t[o],c=Date.now();t[o]=(u||0)+(c-r)}}if(n)throw n},closeAll:function(){n(!this.isInTransaction(),r);for(var e=this.transactionWrappers,t=this.timingMetrics.wrapperCloseTimes,o=null,i=0;i<e.length;i++){var s=e[i],u=Date.now(),c=this.wrapperInitData[i];try{c!==a.OBSERVED_ERROR&&s.close&&s.close.call(this,c)}catch(l){o=o||l}finally{var p=Date.now(),d=t[i];t[i]=(d||0)+(p-u)}}if(this.wrapperInitData.length=0,this._isInTransaction=!1,o)throw o}},a={Mixin:i,OBSERVED_ERROR:{}};t.exports=a}()},{"./throwIf":31}],41:[function(e,t){!function(){"use strict";function n(e,t){return e&&t&&e.constructor===t.constructor}var o=e("./ReactComponent"),r={enqueueMarkupAt:function(e,t){this.domOperations=this.domOperations||[],this.domOperations.push({insertMarkup:e,finalIndex:t})},enqueueMove:function(e,t){this.domOperations=this.domOperations||[],this.domOperations.push({moveFrom:e,finalIndex:t})},enqueueUnmountChildByName:function(e,t){o.isValidComponent(t)&&(this.domOperations=this.domOperations||[],this.domOperations.push({removeAt:t._domIndex}),t.unmountComponent&&t.unmountComponent(),delete this._renderedChildren[e])},processChildDOMOperationsQueue:function(){this.domOperations&&(o.DOMIDOperations.manageChildrenByParentID(this._rootNodeID,this.domOperations),this.domOperations=null)},unmountMultiChild:function(){var e=this._renderedChildren;for(var t in e)if(e.hasOwnProperty(t)&&e[t]){var n=e[t];n.unmountComponent&&n.unmountComponent()}this._renderedChildren=null},mountMultiChild:function(e,t){var n="",o=0;for(var r in e){var i=e[r];e.hasOwnProperty(r)&&i&&(n+=i.mountComponent(this._rootNodeID+"."+r,t),i._domIndex=o,o++)}return this._renderedChildren=e,this.domOperations=null,n},updateMultiChild:function(e,t){if(e||this._renderedChildren){e&&!this._renderedChildren?this._renderedChildren={}:!e&&this._renderedChildren&&(e={});var o=this._rootNodeID+".",r=null,i=0,a=0,s=0;for(var u in e)if(e.hasOwnProperty(u)){var c=this._renderedChildren[u],l=e[u];if(n(c,l))r&&(this.enqueueMarkupAt(r,a-i),r=null),i=0,c._domIndex<s&&this.enqueueMove(c._domIndex,a),s=Math.max(c._domIndex,s),!l.props.isStatic&&c.receiveProps(l.props,t),c._domIndex=a;else if(c&&(this.enqueueUnmountChildByName(u,c),s=Math.max(c._domIndex,s)),l){this._renderedChildren[u]=l;var p=l.mountComponent(o+u,t);r=r?r+p:p,i++,l._domIndex=a}a=l?a+1:a}r&&this.enqueueMarkupAt(r,a-i);for(var d in this._renderedChildren)if(this._renderedChildren.hasOwnProperty(d)){var h=this._renderedChildren[d];h&&!e[d]&&this.enqueueUnmountChildByName(d,h)}this.processChildDOMOperationsQueue()}}},i={Mixin:r};t.exports=i}()},{"./ReactComponent":3}],42:[function(e,t){"use strict";function n(e){return o[e]}e("./throwIf");var o={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;","/":"&#x2f;"},r=function(e){var t=typeof e,o="object"===t;return""===e||o?"":"string"===t?e.replace(/[&><"'\/]/g,n):(""+e).replace(/[&><"'\/]/g,n)};t.exports=r},{"./throwIf":31}],43:[function(e,t){"use strict";function n(e){if(null===e||void 0===e)return e;var t={};return u(t,e,""),t}var o=e("./ReactTextComponent"),r=e("./escapeTextForBrowser"),i=e("./throwIf"),a="INVALID_CHILD",s="0",u=function(e,t,n){if(Array.isArray(t))for(var c=0;c<t.length;c++)u(e,t[c],n+"["+c+"]");else{var l=typeof t,p=""===n,d=p?s:n;if(null===t||void 0===t||"boolean"===l)e[d]=null;else if(t.mountComponentIntoNode)e[d]=t;else if("object"===l){i(t&&1===t.nodeType,a);for(var h in t)t.hasOwnProperty(h)&&u(e,t[h],n+"{"+r(h)+"}")}else"string"===l?e[d]=new o(t):"number"===l&&(e[d]=new o(""+t))}};t.exports=n},{"./ReactTextComponent":65,"./escapeTextForBrowser":42,"./throwIf":31}],45:[function(e,t){"use strict";var n=e("./keyMirror"),o=e("./throwIf"),r=36,i=n({MERGE_ARRAY_FAIL:null,MERGE_CORE_FAILURE:null,MERGE_TYPE_USAGE_FAILURE:null,MERGE_DEEP_MAX_LEVELS:null,MERGE_DEEP_NO_ARR_STRATEGY:null}),a=function(e){return"object"!=typeof e||null===e},s={MAX_MERGE_DEPTH:r,isTerminal:a,normalizeMergeArg:function(e){return void 0===e||null===e?{}:e},checkMergeArrayArgs:function(e,t){o(!Array.isArray(e)||!Array.isArray(t),i.MERGE_CORE_FAILURE)},checkMergeObjectArgs:function(e,t){s.checkMergeObjectArg(e),s.checkMergeObjectArg(t)},checkMergeObjectArg:function(e){o(a(e)||Array.isArray(e),i.MERGE_CORE_FAILURE)},checkMergeLevel:function(e){o(e>=r,i.MERGE_DEEP_MAX_LEVELS)},checkArrayStrategy:function(e){o(void 0!==e&&!(e in s.ArrayStrategies),i.MERGE_DEEP_NO_ARR_STRATEGY)},ArrayStrategies:n({Clobber:!0,IndexByIndex:!0}),ERRORS:i};t.exports=s},{"./keyMirror":11,"./throwIf":31}],47:[function(e,t){"use strict";var n=e("./keyMirror"),o=n({bubbled:null,captured:null}),r=n({topBlur:null,topChange:null,topClick:null,topDOMCharacterDataModified:null,topDoubleClick:null,topFocus:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topMouseWheel:null,topScroll:null,topSubmit:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null}),i={topLevelTypes:r,PropagationPhases:o};t.exports=i},{"./keyMirror":11}],48:[function(e,t){"use strict";function n(e){var t=e||window.event,n="target"in t,o=t.target||t.srcElement||window,r=3===o.nodeType?o.parentNode:o;return n&&t.target===r||(t=Object.create(t),t.target=r),t}function o(e){return function(t){e(n(t))}}var r=e("./EventListener"),i={listen:function(e,t,n){r.listen(e,t,o(n))},capture:function(e,t,n){r.capture(e,t,o(n))}};t.exports=i},{"./EventListener":66}],49:[function(e,t){"use strict";function n(e,t){if(!o||t&&!o.addEventListener)return!1;var n=document.createElement("div"),r="on"+e,i=r in n;return i||(n.setAttribute(r,""),i="function"==typeof n[r],"undefined"!=typeof n[r]&&(n[r]=void 0),n.removeAttribute(r)),n=null,i}var o,r=e("./ExecutionEnvironment");r.canUseDOM&&(o=document.createElement("div")),t.exports=n},{"./ExecutionEnvironment":14}],52:[function(e,t){"use strict";function n(e,t,n){var o=t.type.phasedRegistrationNames[n];return f(e,o)}function o(e,t,o){var r=t?m.bubbled:m.captured,i=n(e,o,r);i&&(o._dispatchListeners=d(o._dispatchListeners,i),o._dispatchIDs=d(o._dispatchIDs,e))}function r(e){e&&e.type.phasedRegistrationNames&&v.InstanceHandle.traverseTwoPhase(e.abstractTargetID,o,e)}function i(e,t,n){if(n&&n.type.registrationName){var o=f(e,n.type.registrationName);o&&(n._dispatchListeners=d(n._dispatchListeners,o),n._dispatchIDs=d(n._dispatchIDs,e))}}function a(e){e&&e.type.registrationName&&i(e.abstractTargetID,null,e)}function s(e){h(e,r)}function u(e,t,n,o){v.InstanceHandle.traverseEnterLeave(n,o,i,e,t)}function c(e){h(e,a)}var l=e("./CallbackRegistry"),p=e("./EventConstants"),d=e("./accumulate"),h=e("./forEachAccumulated"),f=l.getListener,m=p.PropagationPhases,v={InstanceHandle:null,injectInstanceHandle:function(e){v.InstanceHandle=e},validate:function(){var e=!v.InstanceHandle||!v.InstanceHandle.traverseTwoPhase||!v.InstanceHandle.traverseEnterLeave;if(e)throw new Error("InstanceHandle not injected before use!")}},g={accumulateTwoPhaseDispatches:s,accumulateDirectDispatches:c,accumulateEnterLeaveDispatches:u,injection:v};t.exports=g},{"./CallbackRegistry":54,"./EventConstants":47,"./accumulate":56,"./forEachAccumulated":57}],53:[function(e,t){"use strict";function n(e,t,n,o,r){this.type=e,this.abstractTargetID=t||"",this.originatingTopLevelEventType=n,this.nativeEvent=o,this.data=r,this.target=o&&o.target,this._dispatchListeners=null,this._dispatchIDs=null,this.isPropagationStopped=!1}var o=e("./BrowserEnv"),r=e("./PooledClass"),i=e("./TouchEventUtils");e("./throwIf");var a=20;n.poolSize=a,n.prototype.destructor=function(){this.target=null,this._dispatchListeners=null,this._dispatchIDs=null},r.addPoolingTo(n,r.fiveArgumentPooler),n.prototype.stopPropagation=function(){this.isPropagationStopped=!0,this.nativeEvent.stopPropagation&&this.nativeEvent.stopPropagation(),this.nativeEvent.cancelBubble=!0},n.prototype.preventDefault=function(){n.preventDefaultOnNativeEvent(this.nativeEvent)},n.preventDefaultOnNativeEvent=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},n.normalizeScrollDataFromTarget=function(e){return{scrollTop:e.scrollTop,scrollLeft:e.scrollLeft,clientWidth:e.clientWidth,clientHeight:e.clientHeight,scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth}},n.normalizeMouseWheelData=function(e){var t=0,n=0,o=0;return e.wheelDelta&&(t=e.wheelDelta/120),e.detail&&(t=-e.detail/3),o=t,void 0!==e.axis&&e.axis===e.HORIZONTAL_AXIS&&(o=0,n=-t),void 0!==e.wheelDeltaY&&(o=e.wheelDeltaY/120),void 0!==e.wheelDeltaX&&(n=-e.wheelDeltaX/120),{delta:t,deltaX:n,deltaY:o}},n.isNativeClickEventRightClick=function(e){return e.which?3===e.which:e.button?2===e.button:!1},n.normalizePointerData=function(e){return{globalX:n.eventPageX(e),globalY:n.eventPageY(e),rightMouseButton:n.isNativeClickEventRightClick(e)}},n.normalizeDragEventData=function(e,t,n,o,r){return{globalX:t,globalY:n,startX:o,startY:r}},n.eventPageY=function(e){var t=i.extractSingleTouch(e);return t?t.pageY:"undefined"!=typeof e.pageY?e.pageY:e.clientY+o.currentPageScrollTop},n.eventPageX=function(e){var t=i.extractSingleTouch(e);return t?t.pageX:"undefined"!=typeof e.pageX?e.pageX:e.clientX+o.currentPageScrollLeft},n.persistentCloneOf=function(e){return new n(e.type,e.abstractTargetID,e.originatingTopLevelEventType,e.nativeEvent,e.data,e.target)},t.exports=n},{"./BrowserEnv":46,"./PooledClass":37,"./TouchEventUtils":67,"./throwIf":31}],55:[function(e,t){"use strict";function n(e){return e===v.topMouseUp||e===v.topTouchEnd||e===v.topTouchCancel}function o(e){return e===v.topMouseMove||e===v.topTouchMove}function r(e){return e===v.topMouseDown||e===v.topTouchStart}function i(e,t){var n=f.eventPageX(t),o=f.eventPageY(t);e.pageX=n,e.pageY=o}function a(e,t){var n=f.eventPageX(t),o=f.eventPageY(t);return Math.pow(Math.pow(n-e.pageX,2)+Math.pow(o-e.pageY,2),.5)}function s(e,t){var n=e._dispatchListeners,o=e._dispatchIDs;if(Array.isArray(n)){var r;for(r=0;r<n.length&&!e.isPropagationStopped;r++)t(e,n[r],o[r])}else n&&t(e,n,o)}function u(e,t,n){t(e,n)}function c(e,t){s(e,t),e._dispatchListeners=null,e._dispatchIDs=null}function l(e){var t=e._dispatchListeners,n=e._dispatchIDs;if(Array.isArray(t)){var o;for(o=0;o<t.length&&!e.isPropagationStopped;o++)if(t[o](e,n[o]))return n[o]}else if(t&&t(e,n))return n;return null}function p(e){var t=e._dispatchListeners,n=e._dispatchIDs;m(!Array.isArray(t),"executeDirectDispatch(...): Invalid `abstractEvent`.");var o=t?t(e,n):null;return e._dispatchListeners=null,e._dispatchIDs=null,o}function d(e){return!!e._dispatchListeners}var h=e("./EventConstants"),f=e("./AbstractEvent"),m=e("./invariant"),v=h.topLevelTypes,g={isEndish:n,isMoveish:o,isStartish:r,storePageCoordsIn:i,eventDistance:a,executeDispatchesInOrder:c,executeDispatchesInOrderStopAtTrue:l,executeDirectDispatch:p,hasDispatches:d,executeDispatch:u};t.exports=g},{"./EventConstants":47,"./AbstractEvent":53,"./invariant":10}],56:[function(e,t){"use strict";function n(e,t){var n=null==e,o=null===t;if(o)return e;if(n)return t;var r=Array.isArray(e),i=Array.isArray(t);return r?e.concat(t):i?[e].concat(t):[e,t]}e("./throwIf"),t.exports=n},{"./throwIf":31}],58:[function(e,t){function n(e,t,n,o,r,i){e=e||{};for(var a,s=[t,n,o,r,i],u=0;s[u];){a=s[u++];for(var c in a)e[c]=a[c];a.hasOwnProperty&&a.hasOwnProperty("toString")&&"undefined"!=typeof a.toString&&e.toString!==a.toString&&(e.toString=a.toString)}return e}t.exports=n},{}],60:[function(e,t){function n(e){return e.replace(o,"-$1").toLowerCase()}var o=/([A-Z])/g;t.exports=n},{}],61:[function(e,t){"use strict";function n(e){var t={};return function(n){return t.hasOwnProperty(n)?t[n]:t[n]=e.call(this,n)}}t.exports=n},{}],63:[function(e,t){"use strict";function n(e,t,n){var o=e.childNodes,r=e.childNodes[n];return r===t?t:(t.parentNode&&t.parentNode.removeChild(t),n>=o.length?e.appendChild(t):e.insertBefore(t,o[n]),t)}t.exports=n},{}],66:[function(e,t){var n={listen:function(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,n)},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),void 0):(console.error("You are attempting to use addEventlistener in a browser that does not support it support it.This likely means that you will not receive events that your application relies on (such as scroll)."),void 0)}};t.exports=n},{}],67:[function(e,t){var n={extractSingleTouch:function(e){var t=e.touches,n=e.changedTouches,o=t&&t.length>0,r=n&&n.length>0;return!o&&r?n[0]:o?t[0]:e}};t.exports=n},{}],59:[function(e,t){"use strict";function n(e,t){return null===t||t===!1||t===!0||""===t?"":isNaN(t)?t?""+t:"":o.isNumber[e]?""+t:t+"px"}var o=e("./CSSProperty");t.exports=n},{"./CSSProperty":68}],62:[function(e,t){"use strict";function n(e){var t=e.tagName;return s[t]||(s[t]=document.createElement(t))}function o(e,t,n){return n?n.nextSibling?e.insertBefore(t,n.nextSibling):e.appendChild(t):e.insertBefore(t,e.firstChild)}function r(e,t,n){for(var r,i=t.length,a=0;i>a;a++)r=o(e,t[0],r||n)}function i(e,t,o){var i=n(e);i.innerHTML=t;var a=i.childNodes,s=o?e.childNodes[o-1]:null;r(e,a,s)}function a(e,t){var o=e.parentNode,r=n(o);r.innerHTML=t;var i=r.childNodes;o.replaceChild(i[0],e)}e("./ExecutionEnvironment"),e("./throwIf");var s={},u={dangerouslyInsertMarkupAt:i,dangerouslyReplaceNodeWithMarkup:a};t.exports=u},{"./ExecutionEnvironment":14,"./throwIf":31}],64:[function(e,t){"use strict";var n=e("./invariant"),o={isStandardName:{},getAttributeName:{},getPropertyName:{},getMutationMethod:{},mustUseAttribute:{},mustUseProperty:{},hasBooleanValue:{},hasSideEffects:{},isCustomAttribute:RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\d_.\-]*$/)},r=1,i=2,a=4,s=8,u={accept:null,action:null,ajaxify:r,allowFullScreen:r|a,alt:null,autoComplete:null,autoplay:a,cellPadding:null,cellSpacing:null,checked:i|a,className:i,colSpan:null,contentEditable:null,controls:i|a,data:null,dir:null,disabled:i|a,enctype:null,height:null,href:null,htmlFor:null,max:null,method:null,min:null,multiple:i|a,name:null,poster:null,preload:null,placeholder:null,rel:null,required:a,role:r,scrollLeft:i,scrollTop:i,selected:i|a,spellCheck:null,src:null,step:null,style:null,tabIndex:null,target:null,title:null,type:null,value:i|s,width:null,wmode:r,cx:i,cy:i,d:i,fill:i,fx:i,fy:i,points:i,r:i,stroke:i,strokeLinecap:i,strokeWidth:i,transform:i,x:i,x1:i,x2:i,version:i,viewBox:i,y:i,y1:i,y2:i,spreadMethod:i,offset:i,stopColor:i,stopOpacity:i,gradientUnits:i,gradientTransform:i},c={className:"class",htmlFor:"for",strokeLinecap:"stroke-linecap",strokeWidth:"stroke-width",stopColor:"stop-color",stopOpacity:"stop-opacity"},l={autoComplete:"autocomplete",spellCheck:"spellcheck"},p={className:function(e,t){e.className=t||""}};for(var d in u){o.isStandardName[d]=!0,o.getAttributeName[d]=c[d]||d.toLowerCase(),o.getPropertyName[d]=l[d]||d;var h=p[d];h&&(o.getMutationMethod[d]=h);var f=u[d];o.mustUseAttribute[d]=f&r,o.mustUseProperty[d]=f&i,o.hasBooleanValue[d]=f&a,o.hasSideEffects[d]=f&s,n(!o.mustUseAttribute[d]||!o.mustUseProperty[d],"DOMProperty: Cannot use require using both attribute and property: %s",d),n(o.mustUseProperty[d]||!o.hasSideEffects[d],"DOMProperty: Properties that have side effects must use property: %s",d)}t.exports=o},{"./invariant":10}],65:[function(e,t){"use strict";var n=e("./ReactComponent"),o=e("./escapeTextForBrowser"),r=e("./mixInto"),i=function(e){this.construct({text:e})};r(i,n.Mixin),r(i,{mountComponent:function(e){return n.Mixin.mountComponent.call(this,e),'<span id="'+e+'">'+o(this.props.text)+"</span>"},receiveProps:function(e){e.text!==this.props.text&&(this.props.text=e.text,n.DOMIDOperations.updateTextContentByID(this._rootNodeID,e.text))}}),t.exports=i},{"./ReactComponent":3,"./escapeTextForBrowser":42,"./mixInto":13}],68:[function(e,t){"use strict";var n={fillOpacity:!0,fontWeight:!0,opacity:!0,orphans:!0,textDecoration:!0,zIndex:!0,zoom:!0},o={isNumber:n};t.exports=o},{}]},{},[1])(1)});
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: react-source
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-01 00:00:00.000000000 Z
12
+ date: 2013-06-20 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description:
15
15
  email: