From b7c6842dc1748c99c01fe49fcf39190b94b0ac94 Mon Sep 17 00:00:00 2001 From: Anatoly Date: Thu, 23 Aug 2018 00:28:46 +0300 Subject: [PATCH 1/9] fix --- package.json | 3 +- src/plot/series/canvas-wrapper.js | 6 +- src/plot/series/line-series-canvas.js | 4 +- tests/components/line-series-canvas-test.js | 61 +++++++++++++++++++++ tests/index.js | 1 + 5 files changed, 68 insertions(+), 7 deletions(-) create mode 100644 tests/components/line-series-canvas-test.js diff --git a/package.json b/package.json index bf0022021..931f08b9d 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,8 @@ "build": "npm run clean && babel src -d dist --copy-files && BABEL_ENV=es babel src -d es --copy-files && node-sass src/main.scss dist/style.css --output-style compressed && npm run build:browser", "lint": "eslint src tests showcase docs --ignore-pattern node_modules --ignore-pattern bundle.js", "lint-styles": "stylelint src/styles/*.scss --syntax scss", - "test": "node --inspect node_modules/.bin/babel-node tests/index.js", + "test:windows": "babel-node --inspect ./tests/index.js", + "test": "node --inspect ./node_modules/.bin/babel-node ./tests/index.js", "full-test": "npm run lint && npm run cover", "cover": "nyc --reporter=text --reporter=html --reporter=lcov npm test", "remove-unpm-rfs": "./remove-refs-to-unpm.pl" diff --git a/src/plot/series/canvas-wrapper.js b/src/plot/series/canvas-wrapper.js index cc96ce0c7..036cce4cb 100644 --- a/src/plot/series/canvas-wrapper.js +++ b/src/plot/series/canvas-wrapper.js @@ -184,12 +184,10 @@ class CanvasWrapper extends Component { className="rv-xy-canvas-element" height={height * pixelRatio} width={width * pixelRatio} - style={{ - height: `${height}px`, - width: `${width}px` - }} + style={{height: `${height}px`,width: `${width}px`}} ref={ref => (this.canvas = ref)} /> + {this.props.children} ); } diff --git a/src/plot/series/line-series-canvas.js b/src/plot/series/line-series-canvas.js index e76457e57..27748124b 100644 --- a/src/plot/series/line-series-canvas.js +++ b/src/plot/series/line-series-canvas.js @@ -20,7 +20,7 @@ import PropTypes from 'prop-types'; import {rgb} from 'd3-color'; import * as d3Shape from 'd3-shape'; - +import React from 'react'; import {DEFAULT_OPACITY} from 'theme'; import {getAttributeFunctor, getAttributeValue} from 'utils/scales-utils'; @@ -80,7 +80,7 @@ class LineSeriesCanvas extends AbstractSeries { } render() { - return null; + return
; } } diff --git a/tests/components/line-series-canvas-test.js b/tests/components/line-series-canvas-test.js new file mode 100644 index 000000000..141e236fa --- /dev/null +++ b/tests/components/line-series-canvas-test.js @@ -0,0 +1,61 @@ +import test from 'tape'; +import React from 'react'; +import {mount} from 'enzyme'; +import XYPlot from 'plot/xy-plot'; +import LineSeriesCanvas from 'plot/series/line-series-canvas'; + + + +const LINE_PROPS = { + className: 'line-chart-example', + color: '#12939a', + data: [ + {x: 1, y: 5, y0: 6}, + {x: 2, y: 20, y0: 11}, + {x: 3, y: 10, y0: 9} + ] +}; + + + +test('LineSeriesCanvas: should be rendered', t => { + let k = Math.round( (Math.random() + 1) * 5 ); + + const $ = mount( + + { Array(k).fill(0).map(v => ) } + + ); + + t.equal($.find('CanvasWrapper').children().find('LineSeriesCanvas').length, k, 'should render correct amount of LineSeriesCanvas children'); + t.end(); +}); + + + + +test('LineSeriesCanvas: on onNearestXY should be called', t => { + let k = Math.round( (Math.random() + 1) * 5 ); + t.plan(k); + + + const $ = mount( + + { + [...Array(k).keys()] + .map( + v => t.pass(`onNearestXY called for series # ${v}`) + }} + /> + ) + } + + ); + + + $.find('.rv-xy-plot__inner').simulate('mousemove', {nativeEvent: {clientX: 150, clientY: 150}}); + t.end(); +}); \ No newline at end of file diff --git a/tests/index.js b/tests/index.js index 202443446..cba9de5a3 100644 --- a/tests/index.js +++ b/tests/index.js @@ -28,6 +28,7 @@ import './utils/scales-utils-tests'; import './utils/series-utils-tests'; import './components'; +import './components/line-series-canvas-test'; import './components/animation-tests'; import './components/area-series-tests'; import './components/arc-series-tests'; From 70806d45af9c8375edecefd26ecccb77d639708b Mon Sep 17 00:00:00 2001 From: Anatoly Date: Thu, 23 Aug 2018 08:08:56 +0300 Subject: [PATCH 2/9] fix lint --- .eslintrc | 4 +- src/plot/series/canvas-wrapper.js | 5 +- src/plot/series/line-series-canvas.js | 2 +- tests/.eslintrc | 6 +- tests/components/line-series-canvas-test.js | 82 +++++++++------------ 5 files changed, 48 insertions(+), 51 deletions(-) diff --git a/.eslintrc b/.eslintrc index ae259b3df..bbbc22984 100644 --- a/.eslintrc +++ b/.eslintrc @@ -10,6 +10,7 @@ "rules": { "consistent-return": 0, "max-len": [1, 110, 4], + "linebreak-style": ["error", "windows"], "max-params": ["error", 6], "object-curly-spacing": 0, "babel/object-curly-spacing": 2, @@ -20,5 +21,6 @@ "react", "babel", "no-only-tests" - ] + ], + "linebreak-style": ["error", "windows"] } diff --git a/src/plot/series/canvas-wrapper.js b/src/plot/series/canvas-wrapper.js index 036cce4cb..0d3dcfe2e 100644 --- a/src/plot/series/canvas-wrapper.js +++ b/src/plot/series/canvas-wrapper.js @@ -184,7 +184,10 @@ class CanvasWrapper extends Component { className="rv-xy-canvas-element" height={height * pixelRatio} width={width * pixelRatio} - style={{height: `${height}px`,width: `${width}px`}} + style={{ + height: `${height}px`, + width: `${width}px` + }} ref={ref => (this.canvas = ref)} /> {this.props.children} diff --git a/src/plot/series/line-series-canvas.js b/src/plot/series/line-series-canvas.js index 27748124b..91d29cd1a 100644 --- a/src/plot/series/line-series-canvas.js +++ b/src/plot/series/line-series-canvas.js @@ -80,7 +80,7 @@ class LineSeriesCanvas extends AbstractSeries { } render() { - return
; + return (
); } } diff --git a/tests/.eslintrc b/tests/.eslintrc index 5666415a7..4b6d61f6c 100644 --- a/tests/.eslintrc +++ b/tests/.eslintrc @@ -8,11 +8,13 @@ "uber-jsx" ], "rules": { - "max-len": 0 + "max-len": 0, + "linebreak-style": ["error", "windows"] }, "parser": "babel-eslint", "plugins": [ "react", "babel" - ] + ], + "linebreak-style": ["error", "windows"] } diff --git a/tests/components/line-series-canvas-test.js b/tests/components/line-series-canvas-test.js index 141e236fa..64c2b66f7 100644 --- a/tests/components/line-series-canvas-test.js +++ b/tests/components/line-series-canvas-test.js @@ -4,58 +4,48 @@ import {mount} from 'enzyme'; import XYPlot from 'plot/xy-plot'; import LineSeriesCanvas from 'plot/series/line-series-canvas'; - - const LINE_PROPS = { - className: 'line-chart-example', - color: '#12939a', - data: [ - {x: 1, y: 5, y0: 6}, - {x: 2, y: 20, y0: 11}, - {x: 3, y: 10, y0: 9} - ] + className: 'line-chart-example', + color: '#12939a', + data: [ + {x: 1, y: 5, y0: 6}, + {x: 2, y: 20, y0: 11}, + {x: 3, y: 10, y0: 9} + ] }; - - test('LineSeriesCanvas: should be rendered', t => { - let k = Math.round( (Math.random() + 1) * 5 ); + const k = Math.round((Math.random() + 1) * 5); - const $ = mount( - - { Array(k).fill(0).map(v => ) } - - ); + const $ = mount( + + {Array(k).fill(0).map(v => )} + + ); - t.equal($.find('CanvasWrapper').children().find('LineSeriesCanvas').length, k, 'should render correct amount of LineSeriesCanvas children'); - t.end(); + t.equal($.find('CanvasWrapper').children().find('LineSeriesCanvas').length, k, 'should render correct amount of LineSeriesCanvas children'); + t.end(); }); - - - test('LineSeriesCanvas: on onNearestXY should be called', t => { - let k = Math.round( (Math.random() + 1) * 5 ); - t.plan(k); - - - const $ = mount( - - { - [...Array(k).keys()] - .map( - v => t.pass(`onNearestXY called for series # ${v}`) - }} - /> - ) - } - - ); - - - $.find('.rv-xy-plot__inner').simulate('mousemove', {nativeEvent: {clientX: 150, clientY: 150}}); - t.end(); -}); \ No newline at end of file + const k = Math.round((Math.random() + 1) * 5); + t.plan(k); + + const $ = mount( + + { + [...Array(k).keys()] + .map(v => t.pass(`onNearestXY called for series # ${v}`) + }} + />) + } + + ); + + $.find('.rv-xy-plot__inner').simulate('mousemove', {nativeEvent: {clientX: 150, clientY: 150}}); + t.end(); +}); + From 3fb1faa4dd87894a37aaa9cc4e4f6d9e88ac4e00 Mon Sep 17 00:00:00 2001 From: Anatoly Date: Thu, 23 Aug 2018 08:19:37 +0300 Subject: [PATCH 3/9] remove windows related commands --- .eslintrc | 4 +--- tests/.eslintrc | 6 ++---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.eslintrc b/.eslintrc index bbbc22984..ae259b3df 100644 --- a/.eslintrc +++ b/.eslintrc @@ -10,7 +10,6 @@ "rules": { "consistent-return": 0, "max-len": [1, 110, 4], - "linebreak-style": ["error", "windows"], "max-params": ["error", 6], "object-curly-spacing": 0, "babel/object-curly-spacing": 2, @@ -21,6 +20,5 @@ "react", "babel", "no-only-tests" - ], - "linebreak-style": ["error", "windows"] + ] } diff --git a/tests/.eslintrc b/tests/.eslintrc index 4b6d61f6c..5666415a7 100644 --- a/tests/.eslintrc +++ b/tests/.eslintrc @@ -8,13 +8,11 @@ "uber-jsx" ], "rules": { - "max-len": 0, - "linebreak-style": ["error", "windows"] + "max-len": 0 }, "parser": "babel-eslint", "plugins": [ "react", "babel" - ], - "linebreak-style": ["error", "windows"] + ] } From 3cf184de5140a3a5bd8c86673f6e483d455e9b00 Mon Sep 17 00:00:00 2001 From: Anatoly Date: Tue, 28 Aug 2018 14:28:42 +0300 Subject: [PATCH 4/9] suggested fixes --- showcase/bundle.css | 611 ++++++++++++++++++++ showcase/bundle.js | 44 ++ showcase/package.json | 3 +- showcase/plot/line-series-canvas.js | 53 ++ showcase/webpack.config.js | 27 +- src/plot/series/line-series-canvas.js | 2 +- tests/components/line-series-canvas-test.js | 37 +- 7 files changed, 743 insertions(+), 34 deletions(-) create mode 100644 showcase/bundle.css create mode 100644 showcase/bundle.js create mode 100644 showcase/plot/line-series-canvas.js diff --git a/showcase/bundle.css b/showcase/bundle.css new file mode 100644 index 000000000..d9ed9c84f --- /dev/null +++ b/showcase/bundle.css @@ -0,0 +1,611 @@ +.candlestick-example { + width: 100%; } + .candlestick-example .chart { + width: 100%; } + .candlestick-example .dashed-example-line { + stroke-dasharray: 2, 2; } +.candlestick-example { + width: 100%; } + .candlestick-example .chart { + width: 100%; } + .candlestick-example .dashed-example-line { + stroke-dasharray: 2, 2; } +.responsive-vis-example { + display: flex; + flex-direction: column; } + .responsive-vis-example .responsive-controls { + display: flex; + flex-direction: column; + max-width: 400px; } + .responsive-vis-example .chart-type-selector { + display: flex; + justify-content: space-around; } + .responsive-vis-example .chart-type-selector * { + cursor: pointer; } + .responsive-vis-example .selected-chart-type { + font-weight: 600; + text-decoration: underline; } + .responsive-vis-example .responsive-vis { + display: flex; + justify-content: center; } + .responsive-vis-example .responsive-bar-chart { + display: flex; + justify-content: center; } + .responsive-vis-example .responsive-bar-chart .rv-hint { + color: #000; } + .responsive-vis-example .points-per-pixel-label { + font-size: 32px; + white-space: nowrap; } + .responsive-vis-example .features-label { + font-size: 24px; + white-space: nowrap; } + .responsive-vis-example .controls-wrapper { + align-items: center; + display: flex; + justify-content: center; + width: 100%; } +.highlighted-stream { + stroke: #fff !important; + stroke-width: 5px; } + +.streamgraph .rv-xy-plot__series--line { + cursor: pointer; } + +.markdown-example .streamgraph-example { + display: flex; + flex-direction: column; + width: 100%; } +.react-vis-magic-css-import-rule { + display: inherit; } + +.rv-treemap { + font-size: 12px; + position: relative; } + +.rv-treemap__leaf { + overflow: hidden; + position: absolute; } + +.rv-treemap__leaf--circle { + align-items: center; + border-radius: 100%; + display: flex; + justify-content: center; } + +.rv-treemap__leaf__content { + overflow: hidden; + padding: 10px; + text-overflow: ellipsis; } + +.rv-xy-plot { + color: #c3c3c3; + position: relative; } + .rv-xy-plot canvas { + pointer-events: none; } + .rv-xy-plot .rv-xy-canvas { + pointer-events: none; + position: absolute; } + +.rv-xy-plot__inner { + display: block; } + +.rv-xy-plot__axis__line { + fill: none; + stroke-width: 2px; + stroke: #e6e6e9; } + +.rv-xy-plot__axis__tick__line { + stroke: #e6e6e9; } + +.rv-xy-plot__axis__tick__text { + fill: #6b6b76; + font-size: 11px; } + +.rv-xy-plot__axis__title text { + fill: #6b6b76; + font-size: 11px; } + +.rv-xy-plot__grid-lines__line { + stroke: #e6e6e9; } + +.rv-xy-plot__circular-grid-lines__line { + fill-opacity: 0; + stroke: #e6e6e9; } + +.rv-xy-plot__series, +.rv-xy-plot__series path { + pointer-events: all; } + +.rv-xy-plot__series--line { + fill: none; + stroke: #000; + stroke-width: 2px; } + +.rv-crosshair { + position: absolute; + font-size: 11px; + pointer-events: none; } + +.rv-crosshair__line { + background: #47d3d9; + width: 1px; } + +.rv-crosshair__inner { + position: absolute; + text-align: left; + top: 0; } + +.rv-crosshair__inner__content { + border-radius: 4px; + background: #3a3a48; + color: #fff; + font-size: 12px; + padding: 7px 10px; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); } + +.rv-crosshair__inner--left { + right: 4px; } + +.rv-crosshair__inner--right { + left: 4px; } + +.rv-crosshair__title { + font-weight: bold; + white-space: nowrap; } + +.rv-crosshair__item { + white-space: nowrap; } + +.rv-hint { + position: absolute; + pointer-events: none; } + +.rv-hint__content { + border-radius: 4px; + padding: 7px 10px; + font-size: 12px; + background: #3a3a48; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); + color: #fff; + text-align: left; + white-space: nowrap; } + +.rv-discrete-color-legend { + box-sizing: border-box; + overflow-y: auto; + font-size: 12px; } + .rv-discrete-color-legend.horizontal { + white-space: nowrap; } + +.rv-discrete-color-legend-item { + color: #3a3a48; + border-radius: 1px; + padding: 9px 10px; } + .rv-discrete-color-legend-item.horizontal { + display: inline-block; } + .rv-discrete-color-legend-item.horizontal .rv-discrete-color-legend-item__title { + margin-left: 0; + display: block; } + +.rv-discrete-color-legend-item__color { + background: #dcdcdc; + display: inline-block; + height: 2px; + vertical-align: middle; + width: 14px; } + +.rv-discrete-color-legend-item__title { + margin-left: 10px; } + +.rv-discrete-color-legend-item.disabled { + color: #b8b8b8; } + +.rv-discrete-color-legend-item.clickable { + cursor: pointer; } + .rv-discrete-color-legend-item.clickable:hover { + background: #f9f9f9; } + +.rv-search-wrapper { + display: flex; + flex-direction: column; } + +.rv-search-wrapper__form { + flex: 0; } + +.rv-search-wrapper__form__input { + width: 100%; + color: #a6a6a5; + border: 1px solid #e5e5e4; + padding: 7px 10px; + font-size: 12px; + box-sizing: border-box; + border-radius: 2px; + margin: 0 0 9px; + outline: 0; } + +.rv-search-wrapper__contents { + flex: 1; + overflow: auto; } + +.rv-continuous-color-legend { + font-size: 12px; } + .rv-continuous-color-legend .rv-gradient { + height: 4px; + border-radius: 2px; + margin-bottom: 5px; } + +.rv-continuous-size-legend { + font-size: 12px; } + .rv-continuous-size-legend .rv-bubbles { + text-align: justify; + overflow: hidden; + margin-bottom: 5px; + width: 100%; } + .rv-continuous-size-legend .rv-bubble { + background: #d8d9dc; + display: inline-block; + vertical-align: bottom; } + .rv-continuous-size-legend .rv-spacer { + display: inline-block; + font-size: 0; + line-height: 0; + width: 100%; } + +.rv-legend-titles { + height: 16px; + position: relative; } + +.rv-legend-titles__left, +.rv-legend-titles__right, +.rv-legend-titles__center { + position: absolute; + white-space: nowrap; + overflow: hidden; } + +.rv-legend-titles__center { + display: block; + text-align: center; + width: 100%; } + +.rv-legend-titles__right { + right: 0; } + +.rv-radial-chart .rv-xy-plot__series--label { + pointer-events: none; } + +body { + font-family: Sintony, Helvetica, sans-serif; + font-size: 14px; + margin: 0; + padding: 0; } + +h1, +h2, +h3, +h4, +h5 { + font-weight: normal; } + +h1 { + font-size: 36px; + margin: 20px 0; } + +h2 { + font-size: 24px; + margin: 15px 0; } + +main { + padding: 40px 0; } + +header { + background: #f0f0f0; + line-height: 40px; + position: fixed; + top: 0; + width: 100%; + z-index: 1000; } + +.flex { + display: flex; } + +.docs-link { + font-weight: 500; + font-size: 11px; + margin-right: 5px; + text-transform: uppercase; + border-left: 1px solid #c0c0c0; + padding-left: 5px; + line-height: 1; } + +.docs-link:first-child { + border-left: 0px; + padding-left: 0px; } + +.docs-comment { + display: flex; + max-width: 300px; } + +.header-contents { + align-items: center; + display: flex; + justify-content: space-between; + padding: 0 20px; } + +.header-logo { + color: #000; + float: left; + font-size: 20px; + text-decoration: none; } + +.background-overlay { + bottom: 0; + left: 0; + position: fixed; + right: 0; + top: 0; + z-index: 1; } + +.dropdown-button { + cursor: pointer; + z-index: 10; } + +.dropdown-wrapper { + display: flex; + position: relative; } + .dropdown-wrapper .dropdown-inner-wrapper { + background: #fff; + border: 2px solid #000; + display: flex; + flex-direction: column; + font-size: 11px; + height: auto; + list-style: none; + padding: 10px; + position: absolute; + right: -5px; + top: 25px; + width: 150px; + z-index: 10; } + .dropdown-wrapper a { + display: flex; + height: auto; + line-height: 15px; + text-decoration: none; } + .dropdown-wrapper li { + display: flex; + height: 100%; } + .dropdown-wrapper .subsection-label { + font-weight: 600; + line-height: 15px; } + +article { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: flex-start; + margin: 0 auto; + max-width: 1200px; + min-width: 650px; + padding: 30px 20px 0; } + article h1, + article h2 { + flex: 1 100%; } + article h1 small, + article h2 small { + color: #6b6b76; + font-size: 50%; } + article section { + flex-basis: 400px; + flex-grow: 1; + margin: 0 0 40px; } + article .section-title { + margin-bottom: 5px; } + article .section-header { + margin-bottom: 1em; } + +.click-me { + border: 0; + background: #ef5d28; + color: #fff; + cursor: pointer; + font-family: Sintony, Helvetica, sans-serif; + font-size: 14px; + outline: none; + padding: 11px 20px; + text-transform: uppercase; + animation: shake 5s 1s cubic-bezier(0.36, 0.07, 0.19, 0.97) both infinite; + transform: translate3d(0, 0, 0); } + .click-me:hover { + background: #ff9833; } + +@keyframes shake { + 1%, + 9% { + transform: translate3d(-1px, 0, 0); } + 2%, + 8% { + transform: translate3d(2px, 0, 0); } + 3%, + 5%, + 7% { + transform: translate3d(-4px, 0, 0); } + 4%, + 6% { + transform: translate3d(4px, 0, 0); } } + +.example-with-click-me { + position: relative; + text-align: center; + width: 100%; } + .example-with-click-me:hover .click-me { + animation: none; } + .example-with-click-me .chart { + margin-right: 200px; } + .example-with-click-me .chart .rv-xy-plot__axis__tick__line { + stroke: #6b6b76; } + .example-with-click-me .legend { + position: absolute; + text-align: left; + right: 0; } + +.custom-hint { + background: #f9e7bb; + border-radius: 3px; + border: 1px solid #edaf00; + padding: 10px; + color: #333; + font-size: 10px; + position: relative; + margin: 12px 0 0 -10px; } + .custom-hint::after { + border-radius: 5px; + border: 2px solid #edaf00; + background: #fff; + display: block; + content: ' '; + height: 6px; + width: 6px; + top: -17px; + left: 5px; + position: absolute; } + +.complex-hint { + margin-top: 40px; } + .complex-hint .rv-hint { + /* must be positioned in a parent with relative positioning */ + position: absolute; + width: 0; + height: 100%; } + .complex-hint .rv-hint .hint--text-container { + position: absolute; + /* + * set to 0,0 so that its content (including children) + * can overflow out in vertical and horizontal + */ + width: 0; + height: 0; + /* + * use flex to place its children (centered) and aligned (bottom). + * As its height is 0, align-items flex-end paints its items from cross-axis + * up. flex-start, its items would paint from cross-axis down. + */ + display: flex; + justify-content: center; } + .complex-hint .rv-hint .hint--text-container.rightEdge-top { + flex-direction: column-reverse; + align-items: flex-start; } + .complex-hint .rv-hint .hint--text-container.left-topEdge { + flex-direction: row; + align-items: flex-end; } + .complex-hint .rv-hint .hint--text-container.left-bottomEdge { + flex-direction: row; + align-items: flex-start; } + .complex-hint .rv-hint .hint--text-container.leftEdge-top { + flex-direction: column; + align-items: flex-end; } + .complex-hint .rv-hint .hint--text-container .hint--text { + /* text content uses -micro padding */ + padding: 4px; + border: 2px solid black; + color: black; + white-space: nowrap; } + .complex-hint .rv-hint .hint--pole { + position: absolute; } + .complex-hint .rv-hint .hint--pole.rightEdge-top { + top: -1px; + left: -10px; + border-top: 2px solid black; + width: 10px; + height: 0; } + .complex-hint .rv-hint .hint--pole.left-topEdge { + border-left: 2px solid black; + left: -1px; + height: 10px; + width: 0; + top: 0; } + .complex-hint .rv-hint .hint--pole.left-bottomEdge { + border-left: 2px solid black; + left: -1px; + height: 25px; + width: 0; + top: -25px; } + .complex-hint .rv-hint .hint--pole.leftEdge-top { + top: -1px; + border-top: 2px solid black; + width: 30px; + height: 0; } + .complex-hint .rv-hint--horizontalAlign-rightEdge.rv-hint--verticalAlign-top { + width: 0; + height: 0; } + .complex-hint .rv-hint--horizontalAlign-left.rv-hint--verticalAlign-topEdge { + width: 0; + height: 100%; } + .complex-hint .rv-hint--horizontalAlign-left.rv-hint--verticalAlign-bottomEdge { + width: 0; + height: 0; } + .complex-hint .rv-hint--horizontalAlign-leftEdge.rv-hint--verticalAlign-top { + width: 100%; + height: 0; } + +.centered-and-flexed { + align-items: center; + display: flex; + flex-direction: column; + justify-content: center; + padding: 0 10px; } + .centered-and-flexed .centered-and-flexed-controls { + align-items: center; + display: flex; + justify-content: space-between; + padding: 10px 0; + width: 75%; } + +.dynamic-treemap-example .rv-treemap__leaf--circle { + border: thin solid white; } + +.clustered-stacked-bar-chart-example .rv-discrete-color-legend { + left: 40px; + position: absolute; + top: 0; } + +.basic-sunburst-example-path-name { + height: 20px; } + +.showcase-button { + background: #fff; + border: thin solid #333; + border-radius: 5px; + cursor: pointer; + font-size: 10px; + font-weight: 600; + padding: 5px 10px; } + +.donut-chart-example .rv-radial-chart__series--pie__slice:hover { + stroke: #000 !important; + stroke-width: 2px !important; } + +.parallel-coordinates-example .rv-xy-plot__series--line { + stroke: #12939A !important; } + .parallel-coordinates-example .rv-xy-plot__series--line:hover { + stroke: #F15C17 !important; } + +.canvas-example-controls { + display: flex; } + +.canvas-wrapper { + align-items: center; + display: flex; + flex-direction: column; + width: 100%; } + +.highlight-container { + cursor: crosshair; } + +.no-select { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } + +.history-example { + width: 100%; } diff --git a/showcase/bundle.js b/showcase/bundle.js new file mode 100644 index 000000000..1af3fbaa6 --- /dev/null +++ b/showcase/bundle.js @@ -0,0 +1,44 @@ +!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=592)}([function(e,t,n){"use strict";e.exports=n(33)},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(s===setTimeout)return setTimeout(e,0);if((s===n||!s)&&setTimeout)return s=setTimeout,setTimeout(e,0);try{return s(e,0)}catch(t){try{return s.call(null,e,0)}catch(t){return s.call(this,e,0)}}}function a(e){if(p===clearTimeout)return clearTimeout(e);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function i(){m&&f&&(m=!1,f.length?h=f.concat(h):y=-1,h.length&&u())}function u(){if(!m){var e=o(i);m=!0;for(var t=h.length;t;){for(f=h,h=[];++y1)for(var n=1;n1?t-1:0),r=1;r2?r-2:0),a=2;a0))return a;do a.push(new Date(+n));while(t(n,o),e(n),n=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(u.count=function(t,r){return o.setTime(+t),a.setTime(+r),e(o),e(a),Math.floor(n(o,a))},u.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?u.filter(i?function(t){return i(t)%e===0}:function(t){return u.count(0,t)%e===0}):u:null}),u}t.a=r;var o=new Date,a=new Date},function(e,t,n){"use strict";(function(t){function r(e){var t=Function.prototype.toString,n=Object.prototype.hasOwnProperty,r=RegExp("^"+t.call(n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var o=t.call(e);return r.test(o)}catch(e){return!1}}function o(e){var t=l(e);if(t){var n=t.childIDs;s(e),n.forEach(o)}}function a(e,t,n){return"\n in "+(e||"Unknown")+(t?" (at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+")":n?" (created by "+n+")":"")}function i(e){return null==e?"#empty":"string"==typeof e||"number"==typeof e?"#text":"string"==typeof e.type?e.type:e.type.displayName||e.type.name||"Unknown"}function u(e){var n,r=N.getDisplayName(e),o=N.getElement(e),i=N.getOwnerID(e);return i&&(n=N.getDisplayName(i)),"production"!==t.env.NODE_ENV?g(o,"ReactComponentTreeHook: Missing React element for debugID %s when building stack",e):void 0,a(r,o&&o._source,n)}var c,l,s,p,d,f,h,m=n(28),y=n(17),v=n(2),g=n(3),b="function"==typeof Array.from&&"function"==typeof Map&&r(Map)&&null!=Map.prototype&&"function"==typeof Map.prototype.keys&&r(Map.prototype.keys)&&"function"==typeof Set&&r(Set)&&null!=Set.prototype&&"function"==typeof Set.prototype.keys&&r(Set.prototype.keys);if(b){var w=new Map,_=new Set;c=function(e,t){w.set(e,t)},l=function(e){return w.get(e)},s=function(e){w.delete(e)},p=function(){return Array.from(w.keys())},d=function(e){_.add(e)},f=function(e){_.delete(e)},h=function(){return Array.from(_.keys())}}else{var E={},x={},C=function(e){return"."+e},O=function(e){return parseInt(e.substr(1),10)};c=function(e,t){var n=C(e);E[n]=t},l=function(e){var t=C(e);return E[t]},s=function(e){var t=C(e);delete E[t]},p=function(){return Object.keys(E).map(O)},d=function(e){var t=C(e);x[t]=!0},f=function(e){var t=C(e);delete x[t]},h=function(){return Object.keys(x).map(O)}}var T=[],N={onSetChildren:function(e,n){var r=l(e);r?void 0:"production"!==t.env.NODE_ENV?v(!1,"Item must have been set"):m("144"),r.childIDs=n;for(var o=0;o1){for(var w=Array(b),_=0;_1){for(var b=Array(g),w=0;w2?r-2:0);for(var o=2;ot?1:e>=t?0:NaN}},function(e,t,n){"use strict";function r(e){if(y){var t=e.node,n=e.children;if(n.length)for(var r=0;r180||o<-180?o-360*Math.round(o/360):o):n.i(c.a)(isNaN(e)?t:e)}function i(e){return 1===(e=+e)?u:function(t,r){return r-t?o(t,r,e):n.i(c.a)(isNaN(t)?r:t)}}function u(e,t){var o=t-e;return o?r(e,o):n.i(c.a)(isNaN(e)?t:e)}var c=n(132);t.b=a,t.c=i,t.a=u},function(e,t,n){"use strict";var r=n(247);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(248);n.d(t,"scaleBand",function(){return r.a}),n.d(t,"scalePoint",function(){return r.b});var o=n(254);n.d(t,"scaleIdentity",function(){return o.a});var a=n(41);n.d(t,"scaleLinear",function(){return a.a});var i=n(255);n.d(t,"scaleLog",function(){return i.a});var u=n(139);n.d(t,"scaleOrdinal",function(){return u.a}),n.d(t,"scaleImplicit",function(){return u.b});var c=n(256);n.d(t,"scalePow",function(){return c.a}),n.d(t,"scaleSqrt",function(){return c.b});var l=n(257);n.d(t,"scaleQuantile",function(){return l.a});var s=n(258);n.d(t,"scaleQuantize",function(){return s.a});var p=n(261);n.d(t,"scaleThreshold",function(){return p.a});var d=n(140);n.d(t,"scaleTime",function(){return d.a});var f=n(263);n.d(t,"scaleUtc",function(){return f.a});var h=n(249);n.d(t,"schemeCategory10",function(){return h.a});var m=n(251);n.d(t,"schemeCategory20b",function(){return m.a});var y=n(252);n.d(t,"schemeCategory20c",function(){return y.a});var v=n(250);n.d(t,"schemeCategory20",function(){return v.a});var g=n(253);n.d(t,"interpolateCubehelixDefault",function(){return g.a});var b=n(259);n.d(t,"interpolateRainbow",function(){return b.a}),n.d(t,"interpolateWarm",function(){return b.b}),n.d(t,"interpolateCool",function(){return b.c});var w=n(264);n.d(t,"interpolateViridis",function(){return w.a}),n.d(t,"interpolateMagma",function(){return w.b}),n.d(t,"interpolateInferno",function(){return w.c}),n.d(t,"interpolatePlasma",function(){return w.d});var _=n(260);n.d(t,"scaleSequential",function(){return _.a})},function(e,t,n){"use strict";t.a=function(e){return e.match(/.{6}/g).map(function(e){return"#"+e})}},function(e,t,n){"use strict";function r(e){var t=e.domain;return e.ticks=function(e){var r=t();return n.i(a.ticks)(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,r){return n.i(c.a)(t(),e,r)},e.nice=function(r){null==r&&(r=10);var o,i=t(),u=0,c=i.length-1,l=i[u],s=i[c];return s0?(l=Math.floor(l/o)*o,s=Math.ceil(s/o)*o,o=n.i(a.tickIncrement)(l,s,r)):o<0&&(l=Math.ceil(l*o)/o,s=Math.floor(s*o)/o,o=n.i(a.tickIncrement)(l,s,r)),o>0?(i[u]=Math.floor(l/o)*o,i[c]=Math.ceil(s/o)*o,t(i)):o<0&&(i[u]=Math.ceil(l*o)/o,i[c]=Math.floor(s*o)/o,t(i)),e},e}function o(){var e=n.i(u.a)(u.b,i.a);return e.copy=function(){return n.i(u.c)(e,o())},r(e)}var a=n(14),i=n(36),u=n(55),c=n(262);t.b=r,t.a=o},function(e,t,n){"use strict";function r(e){return e>1?0:e<-1?f:Math.acos(e)}function o(e){return e>=1?h:e<=-1?-h:Math.asin(e)}n.d(t,"g",function(){return a}),n.d(t,"m",function(){return i}),n.d(t,"h",function(){return u}),n.d(t,"e",function(){return c}),n.d(t,"j",function(){return l}),n.d(t,"i",function(){return s}),n.d(t,"d",function(){return p}),n.d(t,"a",function(){return d}),n.d(t,"b",function(){return f}),n.d(t,"f",function(){return h}),n.d(t,"c",function(){return m}),t.l=r,t.k=o;var a=Math.abs,i=Math.atan2,u=Math.cos,c=Math.max,l=Math.min,s=Math.sin,p=Math.sqrt,d=1e-12,f=Math.PI,h=f/2,m=2*f},function(e,t,n){"use strict";t.a=function(e,t){if((o=e.length)>1)for(var n,r,o,a=1,i=e[t[0]],u=i.length;a=0;)n[t]=t;return n}},function(e,t,n){"use strict";(function(t){var n={};"production"!==t.env.NODE_ENV&&Object.freeze(n),e.exports=n}).call(t,n(1))},function(e,t,n){"use strict";(function(t){function r(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}function o(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||!r(t));default:return!1}}var a=n(4),i=n(60),u=n(86),c=n(90),l=n(176),s=n(177),p=n(2),d={},f=null,h=function(e,t){e&&(u.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},m=function(e){return h(e,!0)},y=function(e){return h(e,!1)},v=function(e){return"."+e._rootNodeID},g={injection:{injectEventPluginOrder:i.injectEventPluginOrder,injectEventPluginsByName:i.injectEventPluginsByName},putListener:function(e,n,r){"function"!=typeof r?"production"!==t.env.NODE_ENV?p(!1,"Expected %s listener to be a function, instead got type %s",n,typeof r):a("94",n,typeof r):void 0;var o=v(e),u=d[n]||(d[n]={});u[o]=r;var c=i.registrationNameModules[n];c&&c.didPutListener&&c.didPutListener(e,n,r)},getListener:function(e,t){var n=d[t];if(o(t,e._currentElement.type,e._currentElement.props))return null;var r=v(e);return n&&n[r]},deleteListener:function(e,t){var n=i.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=d[t];if(r){var o=v(e);delete r[o]}},deleteAllListeners:function(e){var t=v(e);for(var n in d)if(d.hasOwnProperty(n)&&d[n][t]){var r=i.registrationNameModules[n];r&&r.willDeleteListener&&r.willDeleteListener(e,n),delete d[n][t]}},extractEvents:function(e,t,n,r){for(var o,a=i.plugins,u=0;u=n?1:r(e)}}}function a(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}function i(e,t,n,r){var o=e[0],a=e[1],i=t[0],u=t[1];return a2?u:i,s=f=null,c}function c(t){return(s||(s=l(y,v,b?o(e):e,g)))(+t)}var l,s,f,y=m,v=m,g=p.b,b=!1;return c.invert=function(e){return(f||(f=l(v,y,r,b?a(t):t)))(+e)},c.domain=function(e){return arguments.length?(y=d.a.call(e,h.a),n()):y.slice()},c.range=function(e){return arguments.length?(v=d.b.call(e),n()):v.slice()},c.rangeRound=function(e){return v=d.b.call(e),g=p.c,n()},c.clamp=function(e){return arguments.length?(b=!!e,n()):b},c.interpolate=function(e){return arguments.length?(g=e,n()):g},n()}var s=n(14),p=n(36),d=n(24),f=n(75),h=n(138);t.b=r,t.c=c,t.a=l;var m=[0,1]},function(e,t,n){"use strict";function r(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function o(e){this._context=e}t.c=r,t.b=o,o.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:r(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:r(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},t.a=function(e){return new o(e)}},function(e,t,n){"use strict";function r(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function o(e,t){this._context=e,this._k=(1-t)/6}t.c=r,t.b=o,o.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:r(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:r(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.a=function e(t){function n(e){return new o(e,t)}return n.tension=function(t){return e(+t)},n}(0)},function(e,t,n){"use strict";function r(e){this._context=e}r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},t.a=function(e){return new r(e)}},function(e,t,n){"use strict";t.a=function(){}},function(e,t,n){"use strict";(function(t){function r(){if(c)for(var e in l){var n=l[e],r=c.indexOf(e);if(r>-1?void 0:"production"!==t.env.NODE_ENV?u(!1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e):i("96",e),!s.plugins[r]){n.extractEvents?void 0:"production"!==t.env.NODE_ENV?u(!1,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e):i("97",e),s.plugins[r]=n;var a=n.eventTypes;for(var p in a)o(a[p],n,p)?void 0:"production"!==t.env.NODE_ENV?u(!1,"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",p,e):i("98",p,e)}}}function o(e,n,r){s.eventNameDispatchConfigs.hasOwnProperty(r)?"production"!==t.env.NODE_ENV?u(!1,"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",r):i("99",r):void 0,s.eventNameDispatchConfigs[r]=e;var o=e.phasedRegistrationNames;if(o){for(var c in o)if(o.hasOwnProperty(c)){var l=o[c];a(l,n,r)}return!0}return!!e.registrationName&&(a(e.registrationName,n,r),!0)}function a(e,n,r){if(s.registrationNameModules[e]?"production"!==t.env.NODE_ENV?u(!1,"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e):i("100",e):void 0,s.registrationNameModules[e]=n,s.registrationNameDependencies[e]=n.eventTypes[r].dependencies,"production"!==t.env.NODE_ENV){var o=e.toLowerCase();s.possibleRegistrationNames[o]=e,"onDoubleClick"===e&&(s.possibleRegistrationNames.ondblclick=e)}}var i=n(4),u=n(2),c=null,l={},s={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:"production"!==t.env.NODE_ENV?{}:null,injectEventPluginOrder:function(e){c?"production"!==t.env.NODE_ENV?u(!1,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."):i("101"):void 0,c=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var n=!1;for(var o in e)if(e.hasOwnProperty(o)){var a=e[o];l.hasOwnProperty(o)&&l[o]===a||(l[o]?"production"!==t.env.NODE_ENV?u(!1,"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",o):i("102",o):void 0,l[o]=a,n=!0)}n&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return s.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var o=s.registrationNameModules[n[r]];if(o)return o}}return null},_resetEventPlugins:function(){c=null;for(var e in l)l.hasOwnProperty(e)&&delete l[e];s.plugins.length=0;var n=s.eventNameDispatchConfigs;for(var r in n)n.hasOwnProperty(r)&&delete n[r];var o=s.registrationNameModules;for(var a in o)o.hasOwnProperty(a)&&delete o[a];if("production"!==t.env.NODE_ENV){var i=s.possibleRegistrationNames;for(var u in i)i.hasOwnProperty(u)&&delete i[u]}}};e.exports=s}).call(t,n(1))},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,m)||(e[m]=f++,p[e[m]]={}),p[e[m]]}var o,a=n(5),i=n(60),u=n(352),c=n(175),l=n(387),s=n(96),p={},d=!1,f=0,h={topAbort:"abort",topAnimationEnd:l("animationend")||"animationend",topAnimationIteration:l("animationiteration")||"animationiteration",topAnimationStart:l("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:l("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},m="_reactListenersID"+String(Math.random()).slice(2),y=a({},u,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(y.handleTopLevel),y.ReactEventListener=e}},setEnabled:function(e){y.ReactEventListener&&y.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!y.ReactEventListener||!y.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,o=r(n),a=i.registrationNameDependencies[e],u=0;u]/;e.exports=o},function(e,t,n){"use strict";var r,o=n(9),a=n(85),i=/^[ \r\n\t\f]/,u=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,c=n(92),l=c(function(e,t){if(e.namespaceURI!==a.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML=""+t+"";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(o.canUseDOM){var s=document.createElement("div");s.innerHTML=" ",""===s.innerHTML&&(l=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),i.test(t)||"<"===t[0]&&u.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),s=null}e.exports=l},function(e,t,n){"use strict";(function(t){var n=!1;if("production"!==t.env.NODE_ENV)try{Object.defineProperty({},"x",{get:function(){}}),n=!0}catch(e){}e.exports=n}).call(t,n(1))},function(e,t,n){"use strict";(function(t){var n=function(e,n,r,o,a,i,u,c){if("production"!==t.env.NODE_ENV&&void 0===n)throw new Error("invariant requires an error message argument");if(!e){var l;if(void 0===n)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[r,o,a,i,u,c],p=0;l=new Error(n.replace(/%s/g,function(){return s[p++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}};e.exports=n}).call(t,n(1))},function(e,t,n){"use strict";var r=n(35);t.a=function(e,t,n){if(null==n&&(n=r.a),o=e.length){if((t=+t)<=0||o<2)return+n(e[0],0,e);if(t>=1)return+n(e[o-1],o-1,e);var o,a=(o-1)*t,i=Math.floor(a),u=+n(e[i],i,e),c=+n(e[i+1],i+1,e);return u+(c-u)*(a-i)}}},function(e,t,n){"use strict";function r(){}function o(e,t){var n=new r;if(e instanceof r)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var o,a=-1,i=e.length;if(null==t)for(;++a>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1)):(t=E.exec(e))?a(parseInt(t[1],16)):(t=x.exec(e))?new l(t[1],t[2],t[3],1):(t=C.exec(e))?new l(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=O.exec(e))?i(t[1],t[2],t[3],t[4]):(t=T.exec(e))?i(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=N.exec(e))?s(t[1],t[2]/100,t[3]/100,1):(t=M.exec(e))?s(t[1],t[2]/100,t[3]/100,t[4]):A.hasOwnProperty(e)?a(A[e]):"transparent"===e?new l(NaN,NaN,NaN,0):null}function a(e){return new l(e>>16&255,e>>8&255,255&e,1)}function i(e,t,n,r){return r<=0&&(e=t=n=NaN),new l(e,t,n,r)}function u(e){return e instanceof r||(e=o(e)),e?(e=e.rgb(),new l(e.r,e.g,e.b,e.opacity)):new l}function c(e,t,n,r){return 1===arguments.length?u(e):new l(e,t,n,null==r?1:r)}function l(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function s(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new f(e,t,n,r)}function p(e){if(e instanceof f)return new f(e.h,e.s,e.l,e.opacity);if(e instanceof r||(e=o(e)),!e)return new f;if(e instanceof f)return e;e=e.rgb();var t=e.r/255,n=e.g/255,a=e.b/255,i=Math.min(t,n,a),u=Math.max(t,n,a),c=NaN,l=u-i,s=(u+i)/2;return l?(c=t===u?(n-a)/l+6*(n0&&s<1?0:c,new f(c,l,s,e.opacity)}function d(e,t,n,r){return 1===arguments.length?p(e):new f(e,t,n,null==r?1:r)}function f(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function h(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}var m=n(71);t.c=r,n.d(t,"e",function(){return y}),n.d(t,"d",function(){return v}),t.h=o,t.b=u,t.g=c,t.a=l,t.f=d;var y=.7,v=1/y,g="\\s*([+-]?\\d+)\\s*",b="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",w="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",_=/^#([0-9a-f]{3})$/,E=/^#([0-9a-f]{6})$/,x=new RegExp("^rgb\\("+[g,g,g]+"\\)$"),C=new RegExp("^rgb\\("+[w,w,w]+"\\)$"),O=new RegExp("^rgba\\("+[g,g,g,b]+"\\)$"),T=new RegExp("^rgba\\("+[w,w,w,b]+"\\)$"),N=new RegExp("^hsl\\("+[b,w,w]+"\\)$"),M=new RegExp("^hsla\\("+[b,w,w,b]+"\\)$"),A={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};n.i(m.a)(r,o,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),n.i(m.a)(l,c,n.i(m.b)(r,{brighter:function(e){return e=null==e?v:Math.pow(v,e),new l(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?y:Math.pow(y,e),new l(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(1===e?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),n.i(m.a)(f,d,n.i(m.b)(r,{brighter:function(e){return e=null==e?v:Math.pow(v,e),new f(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?y:Math.pow(y,e),new f(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new l(h(e>=240?e-240:e+120,o,r),h(e,o,r),h(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(e,t,n){"use strict";function r(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}t.b=r,t.a=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e}},function(e,t,n){"use strict";t.a=function(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}},function(e,t,n){"use strict";function r(e,t,n,r,o){var a=e*e,i=a*e;return((1-3*e+3*a-i)*t+(4-6*a+3*i)*n+(1+3*e+3*a-3*i)*r+i*o)/6}t.b=r,t.a=function(e){var t=e.length-1;return function(n){var o=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),a=e[o],i=e[o+1],u=o>0?e[o-1]:2*a-i,c=oa.a){var c=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*c-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,o=(o*c-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>a.a){var s=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,p=3*e._l23_a*(e._l23_a+e._l12_a);i=(i*s+e._x1*e._l23_2a-t*e._l12_2a)/p,u=(u*s+e._y1*e._l23_2a-n*e._l12_2a)/p}e._context.bezierCurveTo(r,o,i,u,e._x2,e._y2)}function o(e,t){this._context=e,this._alpha=t}var a=n(42),i=n(57);t.b=r,o.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,o=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+o*o,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:r(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.a=function e(t){function n(e){return t?new o(e,t):new i.b(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},function(e,t,n){"use strict";var r=n(38),o=n(25),a=n(58),i=n(80);t.a=function(){function e(e){var o,a,i,d=e.length,f=!1;for(null==l&&(p=s(i=n.i(r.a)())),o=0;o<=d;++o)!(o0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function a(e,n){var r=c.get(e);if(!r){if("production"!==t.env.NODE_ENV){var o=e.constructor;"production"!==t.env.NODE_ENV?d(!n,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op. Please check the code for the %s component.",n,n,o&&(o.displayName||o.name)||"ReactClass"):void 0}return null}return"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?d(null==u.current,"%s(...): Cannot update during an existing state transition (such as within `render` or another component's constructor). Render methods should be a pure function of props and state; constructor side-effects are an anti-pattern, but can be moved to `componentWillMount`.",n):void 0),r}var i=n(4),u=n(17),c=n(48),l=n(12),s=n(16),p=n(2),d=n(3),f={isMounted:function(e){if("production"!==t.env.NODE_ENV){var n=u.current;null!==n&&("production"!==t.env.NODE_ENV?d(n._warnedAboutRefsInRender,"%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",n.getName()||"A component"):void 0,n._warnedAboutRefsInRender=!0)}var r=c.get(e);return!!r&&!!r._renderedComponent},enqueueCallback:function(e,t,n){f.validateCallback(t,n);var o=a(e);return o?(o._pendingCallbacks?o._pendingCallbacks.push(t):o._pendingCallbacks=[t],void r(o)):null},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=a(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t,n){var o=a(e,"replaceState");o&&(o._pendingStateQueue=[t],o._pendingReplaceState=!0,void 0!==n&&null!==n&&(f.validateCallback(n,"replaceState"),o._pendingCallbacks?o._pendingCallbacks.push(n):o._pendingCallbacks=[n]),r(o))},enqueueSetState:function(e,n){"production"!==t.env.NODE_ENV&&(l.debugTool.onSetState(),"production"!==t.env.NODE_ENV?d(null!=n,"setState(...): You passed an undefined or null state object; instead, use forceUpdate()."):void 0);var o=a(e,"setState");if(o){var i=o._pendingStateQueue||(o._pendingStateQueue=[]);i.push(n),r(o)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,n){e&&"function"!=typeof e?"production"!==t.env.NODE_ENV?p(!1,"%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",n,o(e)):i("122",n,o(e)):void 0}};e.exports=f}).call(t,n(1))},function(e,t,n){"use strict";var r=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e};e.exports=r},function(e,t,n){"use strict";function r(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}e.exports=r},function(e,t,n){"use strict";function r(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=a[e];return!!r&&!!n[r]}function o(e){return r}var a={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=o},function(e,t,n){"use strict";function r(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}e.exports=r},function(e,t,n){"use strict";/** + * Checks if an event is supported in the current execution environment. + * + * NOTE: This will not work correctly for non-generic events such as `change`, + * `reset`, `load`, `error`, and `select`. + * + * Borrows from Modernizr. + * + * @param {string} eventNameSuffix Event name, e.g. "click". + * @param {?boolean} capture Check if the capture phase is supported. + * @return {boolean} True if the event is supported. + * @internal + * @license Modernizr 3.0.0pre (Custom Build) | MIT + */ +function r(e,t){if(!a.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var i=document.createElement("div");i.setAttribute(n,"return;"),r="function"==typeof i[n]}return!r&&o&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,a=n(9);a.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=null===e||e===!1,r=null===t||t===!1;if(n||r)return n===r;var o=typeof e,a=typeof t;return"string"===o||"number"===o?"string"===a||"number"===a:"object"===a&&e.type===t.type&&e.key===t.key}e.exports=r},function(e,t,n){"use strict";(function(t){var r=n(5),o=n(15),a=n(3),i=o;if("production"!==t.env.NODE_ENV){var u=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],c=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],l=c.concat(["button"]),s=["dd","dt","li","option","optgroup","p","rp","rt"],p={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null},d=function(e,t,n){var o=r({},e||p),a={tag:t,instance:n};return c.indexOf(t)!==-1&&(o.aTagInScope=null,o.buttonTagInScope=null,o.nobrTagInScope=null),l.indexOf(t)!==-1&&(o.pTagInButtonScope=null),u.indexOf(t)!==-1&&"address"!==t&&"div"!==t&&"p"!==t&&(o.listItemTagAutoclosing=null,o.dlItemTagAutoclosing=null),o.current=a,"form"===t&&(o.formTag=a),"a"===t&&(o.aTagInScope=a),"button"===t&&(o.buttonTagInScope=a),"nobr"===t&&(o.nobrTagInScope=a),"p"===t&&(o.pTagInButtonScope=a),"li"===t&&(o.listItemTagAutoclosing=a),"dd"!==t&&"dt"!==t||(o.dlItemTagAutoclosing=a),o},f=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return s.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0},h=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},m=function(e){if(!e)return[];var t=[];do t.push(e);while(e=e._currentElement._owner);return t.reverse(),t},y={};i=function(e,n,r,o){o=o||p;var i=o.current,u=i&&i.tag;null!=n&&("production"!==t.env.NODE_ENV?a(null==e,"validateDOMNesting: when childText is passed, childTag should be null"):void 0,e="#text");var c=f(e,u)?null:i,l=c?null:h(e,o),s=c||l;if(s){var d,v=s.tag,g=s.instance,b=r&&r._currentElement._owner,w=g&&g._currentElement._owner,_=m(b),E=m(w),x=Math.min(_.length,E.length),C=-1;for(d=0;d "),A=!!c+"|"+e+"|"+v+"|"+M;if(y[A])return;y[A]=!0;var k=e,S="";if("#text"===e?/\S/.test(n)?k="Text nodes":(k="Whitespace text nodes",S=" Make sure you don't have any extra whitespace between tags on each line of your source code."):k="<"+e+">",c){var D="";"table"===v&&"tr"===e&&(D+=" Add a to your code to match the DOM tree generated by the browser."),"production"!==t.env.NODE_ENV?a(!1,"validateDOMNesting(...): %s cannot appear as a child of <%s>.%s See %s.%s",k,v,S,M,D):void 0}else"production"!==t.env.NODE_ENV?a(!1,"validateDOMNesting(...): %s cannot appear as a descendant of <%s>. See %s.",k,v,M):void 0}},i.updatedAncestorInfo=d,i.isTagValidInContext=function(e,t){t=t||p;var n=t.current,r=n&&n.tag;return f(e,r)&&!h(e,t)}}e.exports=i}).call(t,n(1))},function(e,t,n){"use strict";(function(t){function r(e,t,n){this.props=e,this.context=t,this.refs=u,this.updater=n||a}var o=n(28),a=n(100),i=n(66),u=n(45),c=n(2),l=n(3);if(r.prototype.isReactComponent={},r.prototype.setState=function(e,n){"object"!=typeof e&&"function"!=typeof e&&null!=e?"production"!==t.env.NODE_ENV?c(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."):o("85"):void 0,this.updater.enqueueSetState(this,e),n&&this.updater.enqueueCallback(this,n,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e,"forceUpdate")},"production"!==t.env.NODE_ENV){var s={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},p=function(e,n){i&&Object.defineProperty(r.prototype,e,{get:function(){"production"!==t.env.NODE_ENV?l(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",n[0],n[1]):void 0}})};for(var d in s)s.hasOwnProperty(d)&&p(d,s[d])}e.exports=r}).call(t,n(1))},function(e,t,n){"use strict";(function(t){function r(e,n){if("production"!==t.env.NODE_ENV){var r=e.constructor;"production"!==t.env.NODE_ENV?o(!1,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op. Please check the code for the %s component.",n,n,r&&(r.displayName||r.name)||"ReactClass"):void 0}}var o=n(3),a={isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){r(e,"forceUpdate")},enqueueReplaceState:function(e,t){r(e,"replaceState")},enqueueSetState:function(e,t){r(e,"setState")}};e.exports=a}).call(t,n(1))},function(e,t,n){"use strict";function r(e,t){return e.reduce(function(e,n){return tn.max?e:(e[n.name]=!0,e)},{})}function o(e,t,n){var r=.02,o=[2,12],a=Math.sqrt(r*t*n/e.length);return Math.min(o[1],Math.max(o[0],a))}function a(e,t,n,r){var o="TWOD"===r?e*t:"WIDTH"===r?e:t;return n.length/o}function i(e){return e.reduce(function(e,t){return{xMin:Math.min(e.xMin,t.x),xMax:Math.max(e.xMax,t.x),yMin:Math.min(e.yMin,t.y),yMax:Math.max(e.yMax,t.y)}},{xMin:1/0,xMax:-(1/0),yMin:1/0,yMax:-(1/0)})}function u(e,t,n){var r=.005,o=~~Math.sqrt(t*n*r),a=i(e),u=(0,d.scaleQuantize)().domain([a.xMin,a.xMax]).range((0,f.range)(o)),c=(0,d.scaleQuantize)().domain([a.yMin,a.yMax]).range((0,f.range)(o)),l=new Array(o*o).fill(0);e.forEach(function(e){var t=u(e.x)+o*c(e.y);l[t]++});var s=(0,f.max)(l),p=(0,d.scaleSqrt)().domain([0,s]).range(["#fff","#12939A"]);return l.map(function(e,t){var n=t%o,r=~~(t/o);return{x:n,y:r,color:p(e),count:e,maxCount:s}})}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e[0],o=n?(0,d.scaleLinear)().domain([0,r.maxCount]).range(["#fff","#EF5D28"]):function(e){return"#EF5D28"},a=t.reduce(function(e,t){return e[n?t.x+"-"+t.y:t.label]=!0,e},{});return e.map(function(e){return a[n?e.x+"-"+e.y:e.label]?s({},e,{color:o(e.count)}):e})}function l(e,t,n,r){if(!t&&0===n.length)return e;var o=t?n.concat([t]):n;return c(e,o,r)}Object.defineProperty(t,"__esModule",{value:!0}),t.createData=void 0;var s=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1])||arguments[1],n=(0,p.randomNormal)(70,15),r=(0,p.randomNormal)(50,8),o=function(e){return e%3?n():r()},a=new Array(e).fill(0).map(function(e,n){return{x:o(n),y:t?"Point-"+n:o(n),label:"Point "+n,color:"#12939A"}});return t&&a.sort(function(e,t){return t.x-e.x}),a}},function(e,t,n){"use strict";function r(){}function o(e,t){var n=new r;if(e instanceof r)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var o,a=-1,i=e.length;if(null==t)for(;++a=0&&t._call.call(null,e),t=t._next;--h}function c(){b=(g=_.now())+w,h=m=0;try{u()}finally{h=0,s(),b=0}}function l(){var e=_.now(),t=e-g;t>v&&(w-=t,g=e)}function s(){for(var e,t,n=d,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:d=t);f=e,p(r)}function p(e){if(!h){m&&(m=clearTimeout(m));var t=e-b;t>24?(e<1/0&&(m=setTimeout(c,t)),y&&(y=clearInterval(y))):(y||(g=b,y=setInterval(l,v)),h=1,E(c))}}t.c=r,t.b=a,t.a=i;var d,f,h=0,m=0,y=0,v=1e3,g=0,b=0,w=0,_="object"==typeof performance&&performance.now?performance:Date,E="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};a.prototype=i.prototype={constructor:a,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?r():+n)+(null==t?0:+t),this._next||f===this||(f?f._next=this:d=this,f=this),this._call=e,this._time=n,p()},stop:function(){this._call&&(this._call=null,this._time=1/0,p())}}},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";(function(t){function n(e,t,n,o,a,i,u,c){if(r(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,o,a,i,u,c],p=0;l=new Error(t.replace(/%s/g,function(){return s[p++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}}var r=function(e){};"production"!==t.env.NODE_ENV&&(r=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=n}).call(t,n(1))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.locationsAreEqual=t.createLocation=void 0;var o=Object.assign||function(e){for(var t=1;t may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){u()(this.props.history===e.history,"You cannot change ")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?p.a.Children.only(e):null},t}(p.a.Component);m.propTypes={history:f.a.object.isRequired,children:f.a.node},m.contextTypes={router:f.a.object},m.childContextTypes={router:f.a.object.isRequired},t.a=m},function(e,t,n){"use strict";var r=n(585),o=n.n(r),a={},i=1e4,u=0,c=function(e,t){var n=""+t.end+t.strict,r=a[n]||(a[n]={});if(r[e])return r[e];var c=[],l=o()(e,c,t),s={re:l,keys:c};return u1&&void 0!==arguments[1]?arguments[1]:{};"string"==typeof t&&(t={path:t});var n=t,r=n.path,o=void 0===r?"/":r,a=n.exact,i=void 0!==a&&a,u=n.strict,l=void 0!==u&&u,s=c(o,{end:i,strict:l}),p=s.re,d=s.keys,f=p.exec(e);if(!f)return null;var h=f[0],m=f.slice(1),y=e===h;return i&&!y?null:{path:o,url:"/"===o&&""===h?"/":h,isExact:y,params:d.reduce(function(e,t,n){return e[t.name]=m[n],e},{})}};t.a=l},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a});var r=Array.prototype,o=r.slice,a=r.map},function(e,t,n){"use strict";var r=n(30),o=n(115);n.d(t,"b",function(){return i}),n.d(t,"c",function(){return u});var a=n.i(o.a)(r.a),i=a.right,u=a.left;t.a=i},function(e,t,n){"use strict";function r(e){return function(t,r){return n.i(o.a)(e(t),r)}}var o=n(30);t.a=function(e){return 1===e.length&&(e=r(e)),{left:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r>>1;e(t[a],n)<0?r=a+1:o=a}return r},right:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r>>1;e(t[a],n)>0?o=a:r=a+1}return r}}}},function(e,t,n){"use strict";var r=n(124);t.a=function(e,t){var o=n.i(r.a)(e,t);return o?Math.sqrt(o):o}},function(e,t,n){"use strict";t.a=function(e,t){var n,r,o,a=e.length,i=-1;if(null==t){for(;++i=n)for(r=o=n;++in&&(r=n),o=n)for(r=o=n;++in&&(r=n),o=n)for(r=n;++an&&(r=n)}else for(;++a=n)for(r=n;++an&&(r=n);return r}},function(e,t,n){"use strict";function r(e,t){return[e,t]}t.a=r,t.b=function(e,t){null==t&&(t=r);for(var n=0,o=e.length-1,a=e[0],i=new Array(o<0?0:o);n=0?(c>=a?10:c>=i?5:c>=u?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(c>=a?10:c>=i?5:c>=u?2:1)}function o(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),c=r/o;return c>=a?o*=10:c>=i?o*=5:c>=u&&(o*=2),t0)for(e=Math.ceil(e/i),t=Math.floor(t/i),a=new Array(o=Math.ceil(t-e+1));++c1)return s/(u-1)}},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return o});var r=Math.PI/180,o=180/Math.PI},function(e,t,n){"use strict";var r=n(72);n.d(t,"b",function(){return o});var o;t.a=function(e,t){var a=n.i(r.a)(e,t);if(!a)return e+"";var i=a[0],u=a[1],c=u-(o=3*Math.max(-8,Math.min(8,Math.floor(u/3))))+1,l=i.length;return c===l?i:c>l?i+new Array(c-l+1).join("0"):c>0?i.slice(0,c)+"."+i.slice(c):"0."+new Array(1-c).join("0")+n.i(r.a)(e,Math.max(0,t+c-1))[0]}},function(e,t,n){"use strict";function r(e){return new o(e)}function o(e){if(!(t=i.exec(e)))throw new Error("invalid format: "+e);var t,n=t[1]||" ",r=t[2]||">",o=t[3]||"-",u=t[4]||"",c=!!t[5],l=t[6]&&+t[6],s=!!t[7],p=t[8]&&+t[8].slice(1),d=t[9]||"";"n"===d?(s=!0,d="g"):a.a[d]||(d=""),(c||"0"===n&&"="===r)&&(c=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=o,this.symbol=u,this.zero=c,this.width=l,this.comma=s,this.precision=p,this.type=d}var a=n(128);t.a=r;var i=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;r.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type}},function(e,t,n){"use strict";var r=n(229),o=n(126),a=n(232);t.a={"":r.a,"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return n.i(a.a)(100*e,t)},r:a.a,s:o.a,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}}},function(e,t,n){"use strict";var r=n(53),o=n(230),a=n(231),i=n(127),u=n(128),c=n(126),l=n(233),s=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];t.a=function(e){function t(e){function t(e){var t,n,i,u=_,l=E;if("c"===w)l=x(e)+l,e="";else{e=+e;var f=e<0;if(e=x(Math.abs(e),b),f&&0===+e&&(f=!1),u=(f?"("===a?a:"-":"-"===a||"("===a?"":a)+u,l=l+("s"===w?s[8+c.b/3]:"")+(f&&"("===a?")":""),C)for(t=-1,n=e.length;++ti||i>57){l=(46===i?h+e.slice(t+1):e.slice(t))+l,e=e.slice(0,t);break}}g&&!p&&(e=d(e,1/0));var y=u.length+e.length+l.length,O=y>1)+u+e+l+O.slice(y);break;default:e=O+u+e+l}return m(e)}e=n.i(i.a)(e);var r=e.fill,o=e.align,a=e.sign,l=e.symbol,p=e.zero,v=e.width,g=e.comma,b=e.precision,w=e.type,_="$"===l?f[0]:"#"===l&&/[boxX]/.test(w)?"0"+w.toLowerCase():"",E="$"===l?f[1]:/[%p]/.test(w)?y:"",x=u.a[w],C=!w||/[defgprs%]/.test(w);return b=null==b?w?6:12:/[gprs]/.test(w)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b)),t.toString=function(){return e+""},t}function p(e,o){var a=t((e=n.i(i.a)(e),e.type="f",e)),u=3*Math.max(-8,Math.min(8,Math.floor(n.i(r.a)(o)/3))),c=Math.pow(10,-u),l=s[8+u/3];return function(e){return a(c*e)+l}}var d=e.grouping&&e.thousands?n.i(o.a)(e.grouping,e.thousands):l.a,f=e.currency,h=e.decimal,m=e.numerals?n.i(a.a)(e.numerals):l.a,y=e.percent||"%";return{format:t,formatPrefix:p}}},function(e,t,n){"use strict";var r=n(74);t.a=function(e,t){var o,a=t?t.length:0,i=e?Math.min(a,e.length):0,u=new Array(a),c=new Array(a);for(o=0;op&&(s=t.slice(p,s),f[d]?f[d]+=s:f[++d]=s),(c=c[0])===(l=l[0])?f[d]?f[d]+=l:f[++d]=l:(f[++d]=null,h.push({i:d,x:n.i(a.a)(c,l)})),p=u.lastIndex;return p=o;--a)m.point(g[a],b[a]);m.lineEnd(),m.areaEnd()}v&&(g[t]=+c(i,t,e),b[t]=+s(i,t,e),m.point(l?+l(i,t,e):g[t],p?+p(i,t,e):b[t]))}if(u)return m=null,u+""||null}function t(){return n.i(i.a)().defined(d).curve(h).context(f)}var c=u.a,l=null,s=n.i(o.a)(0),p=u.b,d=n.i(o.a)(!0),f=null,h=a.a,m=null;return e.x=function(t){return arguments.length?(c="function"==typeof t?t:n.i(o.a)(+t),l=null,e):c},e.x0=function(t){return arguments.length?(c="function"==typeof t?t:n.i(o.a)(+t),e):c},e.x1=function(t){return arguments.length?(l=null==t?null:"function"==typeof t?t:n.i(o.a)(+t),e):l},e.y=function(t){return arguments.length?(s="function"==typeof t?t:n.i(o.a)(+t),p=null,e):s},e.y0=function(t){return arguments.length?(s="function"==typeof t?t:n.i(o.a)(+t),e):s},e.y1=function(t){return arguments.length?(p=null==t?null:"function"==typeof t?t:n.i(o.a)(+t),e):p},e.lineX0=e.lineY0=function(){return t().x(c).y(s)},e.lineY1=function(){return t().x(c).y(p)},e.lineX1=function(){return t().x(l).y(s)},e.defined=function(t){return arguments.length?(d="function"==typeof t?t:n.i(o.a)(!!t),e):d},e.curve=function(t){return arguments.length?(h=t,null!=f&&(m=h(f)),e):h},e.context=function(t){return arguments.length?(null==t?f=m=null:m=h(f=t),e):f},e}},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=Array.prototype.slice},function(e,t,n){"use strict";function r(e,t){this._context=e,this._k=(1-t)/6}var o=n(59),a=n(57);t.b=r,r.prototype={areaStart:o.a,areaEnd:o.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:n.i(a.c)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.a=function e(t){function n(e){return new r(e,t)}return n.tension=function(t){return e(+t)},n}(0)},function(e,t,n){"use strict";function r(e,t){this._context=e,this._k=(1-t)/6}var o=n(57);t.b=r,r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN, +this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:n.i(o.c)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},t.a=function e(t){function n(e){return new r(e,t)}return n.tension=function(t){return e(+t)},n}(0)},function(e,t,n){"use strict";function r(e){this._curve=e}function o(e){function t(t){return new r(e(t))}return t._curve=e,t}var a=n(58);n.d(t,"b",function(){return i}),t.a=o;var i=o(a.a);r.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}}},function(e,t,n){"use strict";function r(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(n.i(o.a)(e)):t()._curve},e}var o=n(145),a=n(78);t.b=r,t.a=function(){return r(n.i(a.a)().curve(o.b))}},function(e,t,n){"use strict";t.a=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}},function(e,t,n){"use strict";var r=n(42);t.a={draw:function(e,t){var n=Math.sqrt(t/r.b);e.moveTo(n,0),e.arc(0,0,n,0,r.c)}}},function(e,t,n){"use strict";t.a={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}}},function(e,t,n){"use strict";var r=Math.sqrt(1/3),o=2*r;t.a={draw:function(e,t){var n=Math.sqrt(t/o),a=n*r;e.moveTo(0,-n),e.lineTo(a,0),e.lineTo(0,n),e.lineTo(-a,0),e.closePath()}}},function(e,t,n){"use strict";t.a={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}}},function(e,t,n){"use strict";var r=n(42),o=.8908130915292852,a=Math.sin(r.b/10)/Math.sin(7*r.b/10),i=Math.sin(r.c/10)*a,u=-Math.cos(r.c/10)*a;t.a={draw:function(e,t){var n=Math.sqrt(t*o),a=i*n,c=u*n;e.moveTo(0,-n),e.lineTo(a,c);for(var l=1;l<5;++l){var s=r.c*l/5,p=Math.cos(s),d=Math.sin(s);e.lineTo(d*n,-p*n),e.lineTo(p*a-d*c,d*a+p*c)}e.closePath()}}},function(e,t,n){"use strict";var r=Math.sqrt(3);t.a={draw:function(e,t){var n=-Math.sqrt(t/(3*r));e.moveTo(0,2*n),e.lineTo(-r*n,-n),e.lineTo(r*n,-n),e.closePath()}}},function(e,t,n){"use strict";var r=-.5,o=Math.sqrt(3)/2,a=1/Math.sqrt(12),i=3*(a/2+1);t.a={draw:function(e,t){var n=Math.sqrt(t/i),u=n/2,c=n*a,l=u,s=n*a+n,p=-l,d=s;e.moveTo(u,c),e.lineTo(l,s),e.lineTo(p,d),e.lineTo(r*u-o*c,o*u+r*c),e.lineTo(r*l-o*s,o*l+r*s),e.lineTo(r*p-o*d,o*p+r*d),e.lineTo(r*u+o*c,r*c-o*u),e.lineTo(r*l+o*s,r*s-o*l),e.lineTo(r*p+o*d,r*d-o*p),e.closePath()}}},function(e,t,n){"use strict";var r=n(81);n.d(t,"b",function(){return r.c}),n.d(t,"a",function(){return r.a});n(157),n(156),n(289)},function(e,t,n){"use strict";function r(e){return e.toISOString()}var o=n(81);n.d(t,"a",function(){return a});var a="%Y-%m-%dT%H:%M:%S.%LZ";Date.prototype.toISOString?r:n.i(o.a)(a)},function(e,t,n){"use strict";function r(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function o(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function a(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}function i(e){function t(e,t){return function(n){var r,o,a,i=[],u=-1,c=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++u=c)return-1;if(o=t.charCodeAt(i++),37===o){if(o=t.charAt(i++),a=Ve[o in te?t.charAt(i++):o],!a||(r=a(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}function u(e,t,n){var r=Oe.exec(t.slice(n));return r?(e.p=Te[r[0].toLowerCase()],n+r[0].length):-1}function c(e,t,n){var r=Ae.exec(t.slice(n));return r?(e.w=ke[r[0].toLowerCase()],n+r[0].length):-1}function ee(e,t,n){var r=Ne.exec(t.slice(n));return r?(e.w=Me[r[0].toLowerCase()],n+r[0].length):-1}function ne(e,t,n){var r=Pe.exec(t.slice(n));return r?(e.m=je[r[0].toLowerCase()],n+r[0].length):-1}function re(e,t,n){var r=Se.exec(t.slice(n));return r?(e.m=De[r[0].toLowerCase()],n+r[0].length):-1}function oe(e,t,n){return i(e,ve,t,n)}function ae(e,t,n){return i(e,ge,t,n)}function ie(e,t,n){return i(e,be,t,n)}function ue(e){return Ee[e.getDay()]}function ce(e){return _e[e.getDay()]}function le(e){return Ce[e.getMonth()]}function se(e){return xe[e.getMonth()]}function pe(e){return we[+(e.getHours()>=12)]}function de(e){return Ee[e.getUTCDay()]}function fe(e){return _e[e.getUTCDay()]}function he(e){return Ce[e.getUTCMonth()]}function me(e){return xe[e.getUTCMonth()]}function ye(e){return we[+(e.getUTCHours()>=12)]}var ve=e.dateTime,ge=e.date,be=e.time,we=e.periods,_e=e.days,Ee=e.shortDays,xe=e.months,Ce=e.shortMonths,Oe=l(we),Te=s(we),Ne=l(_e),Me=s(_e),Ae=l(Ee),ke=s(Ee),Se=l(xe),De=s(xe),Pe=l(Ce),je=s(Ce),Le={a:ue,A:ce,b:le,B:se,c:null,d:O,e:O,H:T,I:N,j:M,L:A,m:k,M:S,p:pe,S:D,U:P,w:j,W:L,x:null,X:null,y:R,Y:V,Z:I,"%":Q},Re={a:de,A:fe,b:he,B:me,c:null,d:B,e:B,H:F,I:U,j:Z,L:H,m:G,M:z,p:ye,S:W,U:Y,w:X,W:q,x:null,X:null,y:J,Y:K,Z:$,"%":Q},Ve={a:c,A:ee,b:ne,B:re,c:oe,d:g,e:g,H:w,I:w,j:b,L:x,m:v,M:_,p:u,S:E,U:d,w:p,W:f,x:ae,X:ie,y:m,Y:h,Z:y,"%":C};return Le.x=t(ge,Le),Le.X=t(be,Le),Le.c=t(ve,Le),Re.x=t(ge,Re),Re.X=t(be,Re),Re.c=t(ve,Re),{format:function(e){var n=t(e+="",Le);return n.toString=function(){return e},n},parse:function(e){var t=n(e+="",r);return t.toString=function(){return e},t},utcFormat:function(e){var n=t(e+="",Re);return n.toString=function(){return e},n},utcParse:function(e){var t=n(e,o);return t.toString=function(){return e},t}}}function u(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",a=o.length;return r+(a68?1900:2e3),n+r[0].length):-1}function y(e,t,n){var r=/^(Z)|([+-]\d\d)(?:\:?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function v(e,t,n){var r=ne.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function g(e,t,n){var r=ne.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function b(e,t,n){var r=ne.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function w(e,t,n){var r=ne.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function _(e,t,n){var r=ne.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function E(e,t,n){var r=ne.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function x(e,t,n){var r=ne.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function C(e,t,n){var r=re.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function O(e,t){return u(e.getDate(),t,2)}function T(e,t){return u(e.getHours(),t,2)}function N(e,t){return u(e.getHours()%12||12,t,2)}function M(e,t){return u(1+ee.i.count(n.i(ee.j)(e),e),t,3)}function A(e,t){return u(e.getMilliseconds(),t,3)}function k(e,t){return u(e.getMonth()+1,t,2)}function S(e,t){return u(e.getMinutes(),t,2)}function D(e,t){return u(e.getSeconds(),t,2)}function P(e,t){return u(ee.k.count(n.i(ee.j)(e),e),t,2)}function j(e){return e.getDay()}function L(e,t){return u(ee.l.count(n.i(ee.j)(e),e),t,2)}function R(e,t){return u(e.getFullYear()%100,t,2)}function V(e,t){return u(e.getFullYear()%1e4,t,4)}function I(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+u(t/60|0,"0",2)+u(t%60,"0",2)}function B(e,t){return u(e.getUTCDate(),t,2)}function F(e,t){return u(e.getUTCHours(),t,2)}function U(e,t){return u(e.getUTCHours()%12||12,t,2)}function Z(e,t){return u(1+ee.d.count(n.i(ee.a)(e),e),t,3)}function H(e,t){return u(e.getUTCMilliseconds(),t,3)}function G(e,t){return u(e.getUTCMonth()+1,t,2)}function z(e,t){return u(e.getUTCMinutes(),t,2)}function W(e,t){return u(e.getUTCSeconds(),t,2)}function Y(e,t){return u(ee.m.count(n.i(ee.a)(e),e),t,2)}function X(e){return e.getUTCDay()}function q(e,t){return u(ee.n.count(n.i(ee.a)(e),e),t,2)}function J(e,t){return u(e.getUTCFullYear()%100,t,2)}function K(e,t){return u(e.getUTCFullYear()%1e4,t,4)}function $(){return"+0000"}function Q(){return"%"}var ee=n(82);t.a=i;var te={"-":"",_:" ",0:"0"},ne=/^\s*\d+/,re=/^%/,oe=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g},function(e,t,n){"use strict";(function(t){var r=n(15),o={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,n,o){return e.addEventListener?(e.addEventListener(n,o,!0),{remove:function(){e.removeEventListener(n,o,!0)}}):("production"!==t.env.NODE_ENV&&console.error("Attempted to listen to events during the capture phase on a browser that does not support the capture phase. Your application will not receive some events."),{remove:r})},registerDefault:function(){}};e.exports=o}).call(t,n(1))},function(e,t,n){"use strict";function r(e){try{e.focus()}catch(e){}}e.exports=r},function(e,t,n){"use strict";function r(e){if(e=e||("undefined"!=typeof document?document:void 0),"undefined"==typeof e)return null;try{return e.activeElement||e.body}catch(t){return e.body}}e.exports=r},function(e,t,n){"use strict";var r=n(319);e.exports=function(e){var t=!1;return r(e,t)}},function(e,t,n){"use strict";var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=r},function(e,t,n){"use strict";function r(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var o={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},a=["Webkit","ms","Moz","O"];Object.keys(o).forEach(function(e){a.forEach(function(t){o[r(t,e)]=o[e]})});var i={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},u={isUnitlessNumber:o,shorthandPropertyExpansions:i};e.exports=u},function(e,t,n){"use strict";(function(t){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=n(4),a=n(26),i=n(2),u=function(){function e(t){r(this,e),this._callbacks=null,this._contexts=null,this._arg=t}return e.prototype.enqueue=function(e,t){this._callbacks=this._callbacks||[],this._callbacks.push(e),this._contexts=this._contexts||[],this._contexts.push(t)},e.prototype.notifyAll=function(){var e=this._callbacks,n=this._contexts,r=this._arg;if(e&&n){e.length!==n.length?"production"!==t.env.NODE_ENV?i(!1,"Mismatched list of contexts in callback queue"):o("24"):void 0,this._callbacks=null,this._contexts=null;for(var a=0;a must be an array if `multiple` is true.%s",i,o(r)):void 0:!n.multiple&&u&&("production"!==t.env.NODE_ENV?d(!1,"The `%s` prop supplied to ',""],l=[1,"","
"],s=[3,"","
"],p=[1,'',""],d={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:c,option:c,caption:l,colgroup:l,tbody:l,tfoot:l,thead:l,td:s,th:s},f=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];f.forEach(function(e){d[e]=p,u[e]=!0}),e.exports=r}).call(t,n(1))},function(e,t,n){"use strict";function r(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=r},function(e,t,n){"use strict";function r(e){return e.replace(o,"-$1").toLowerCase()}var o=/([A-Z])/g;e.exports=r},function(e,t,n){"use strict";function r(e){return o(e).replace(a,"-ms-")}var o=n(311),a=/^ms-/;e.exports=r},function(e,t,n){"use strict";function r(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=r},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(313);e.exports=r},function(e,t,n){"use strict";function r(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=r},function(e,t,n){"use strict";var r,o=n(9);o.canUseDOM&&(r=window.performance||window.msPerformance||window.webkitPerformance),e.exports=r||{}},function(e,t,n){"use strict";var r,o=n(316);r=o.now?function(){return o.now()}:function(){return Date.now()},e.exports=r},function(e,t,n){"use strict";(function(t){function r(e,n,r,c,l){if("production"!==t.env.NODE_ENV)for(var s in e)if(e.hasOwnProperty(s)){var p;try{o("function"==typeof e[s],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",c||"React class",r,s),p=e[s](n,s,c,r,null,i)}catch(e){p=e}if(a(!p||p instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",c||"React class",r,s,typeof p),p instanceof Error&&!(p.message in u)){u[p.message]=!0;var d=l?l():"";a(!1,"Failed %s type: %s%s",r,p.message,null!=d?d:"")}}}if("production"!==t.env.NODE_ENV)var o=n(2),a=n(3),i=n(162),u={};e.exports=r}).call(t,n(1))},function(e,t,n){"use strict";(function(t){var r=n(15),o=n(2),a=n(3),i=n(162),u=n(318);e.exports=function(e,n){function c(e){var t=e&&(M&&e[M]||e[A]);if("function"==typeof t)return t}function l(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function s(e){this.message=e,this.stack=""}function p(e){function r(r,l,p,d,f,h,m){if(d=d||k,h=h||p,m!==i)if(n)o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var y=d+":"+p;!u[y]&&c<3&&(a(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",h,d),u[y]=!0,c++)}return null==l[p]?r?new s(null===l[p]?"The "+f+" `"+h+"` is marked as required "+("in `"+d+"`, but its value is `null`."):"The "+f+" `"+h+"` is marked as required in "+("`"+d+"`, but its value is `undefined`.")):null:e(l,p,d,f,h)}if("production"!==t.env.NODE_ENV)var u={},c=0;var l=r.bind(null,!1);return l.isRequired=r.bind(null,!0),l}function d(e){function t(t,n,r,o,a,i){var u=t[n],c=C(u);if(c!==e){var l=O(u);return new s("Invalid "+o+" `"+a+"` of type "+("`"+l+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return p(t)}function f(){return p(r.thatReturnsNull)}function h(e){function t(t,n,r,o,a){if("function"!=typeof e)return new s("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var u=t[n];if(!Array.isArray(u)){var c=C(u);return new s("Invalid "+o+" `"+a+"` of type "+("`"+c+"` supplied to `"+r+"`, expected an array."))}for(var l=0;l8&&_<=11),C=32,O=String.fromCharCode(C),T={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},N=!1,M=null,A={eventTypes:T,extractEvents:function(e,t,n,r){return[l(e,t,n,r),d(e,t,n,r)]}};e.exports=A},function(e,t,n){"use strict";(function(t){var r=n(163),o=n(9),a=n(12),i=n(305),u=n(381),c=n(312),l=n(315),s=n(3),p=l(function(e){return c(e)}),d=!1,f="cssFloat";if(o.canUseDOM){var h=document.createElement("div").style;try{h.font=""}catch(e){d=!0}void 0===document.documentElement.style.cssFloat&&(f="styleFloat")}if("production"!==t.env.NODE_ENV)var m=/^(?:webkit|moz|o)[A-Z]/,y=/;\s*$/,v={},g={},b=!1,w=function(e,n){v.hasOwnProperty(e)&&v[e]||(v[e]=!0,"production"!==t.env.NODE_ENV?s(!1,"Unsupported style property %s. Did you mean %s?%s",e,i(e),C(n)):void 0)},_=function(e,n){v.hasOwnProperty(e)&&v[e]||(v[e]=!0,"production"!==t.env.NODE_ENV?s(!1,"Unsupported vendor-prefixed style property %s. Did you mean %s?%s",e,e.charAt(0).toUpperCase()+e.slice(1),C(n)):void 0)},E=function(e,n,r){g.hasOwnProperty(n)&&g[n]||(g[n]=!0,"production"!==t.env.NODE_ENV?s(!1,'Style property values shouldn\'t contain a semicolon.%s Try "%s: %s" instead.',C(r),e,n.replace(y,"")):void 0)},x=function(e,n,r){b||(b=!0,"production"!==t.env.NODE_ENV?s(!1,"`NaN` is an invalid value for the `%s` css style property.%s",e,C(r)):void 0)},C=function(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""},O=function(e,t,n){var r;n&&(r=n._currentElement._owner),e.indexOf("-")>-1?w(e,r):m.test(e)?_(e,r):y.test(t)&&E(e,t,r),"number"==typeof t&&isNaN(t)&&x(e,t,r)};var T={createMarkupForStyles:function(e,n){var r="";for(var o in e)if(e.hasOwnProperty(o)){var a=e[o];"production"!==t.env.NODE_ENV&&O(o,a,n),null!=a&&(r+=p(o)+":",r+=u(o,a,n)+";")}return r||null},setValueForStyles:function(e,n,o){"production"!==t.env.NODE_ENV&&a.debugTool.onHostOperation({instanceID:o._debugID,type:"update styles",payload:n});var i=e.style;for(var c in n)if(n.hasOwnProperty(c)){"production"!==t.env.NODE_ENV&&O(c,n[c],o);var l=u(c,n[c],o);if("float"!==c&&"cssFloat"!==c||(c=f),l)i[c]=l;else{var s=d&&r.shorthandPropertyExpansions[c];if(s)for(var p in s)i[p]="";else i[c]=""}}}};e.exports=T}).call(t,n(1))},function(e,t,n){"use strict";function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function o(e){var t=C.getPooled(M.change,k,e,O(e));w.accumulateTwoPhaseDispatches(t),x.batchedUpdates(a,t)}function a(e){b.enqueueEvents(e),b.processEventQueue(!1)}function i(e,t){A=e,k=t,A.attachEvent("onchange",o)}function u(){A&&(A.detachEvent("onchange",o),A=null,k=null)}function c(e,t){if("topChange"===e)return t}function l(e,t,n){"topFocus"===e?(u(),i(t,n)):"topBlur"===e&&u()}function s(e,t){A=e,k=t,S=e.value,D=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(A,"value",L),A.attachEvent?A.attachEvent("onpropertychange",d):A.addEventListener("propertychange",d,!1)}function p(){A&&(delete A.value,A.detachEvent?A.detachEvent("onpropertychange",d):A.removeEventListener("propertychange",d,!1),A=null,k=null,S=null,D=null)}function d(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==S&&(S=t,o(e))}}function f(e,t){if("topInput"===e)return t}function h(e,t,n){"topFocus"===e?(p(),s(t,n)):"topBlur"===e&&p()}function m(e,t){if(("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)&&A&&A.value!==S)return S=A.value,k}function y(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function v(e,t){if("topClick"===e)return t}function g(e,t){if(null!=e){var n=e._wrapperState||t._wrapperState;if(n&&n.controlled&&"number"===t.type){var r=""+t.value;t.getAttribute("value")!==r&&t.setAttribute("value",r)}}}var b=n(46),w=n(47),_=n(9),E=n(7),x=n(16),C=n(21),O=n(95),T=n(96),N=n(181),M={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},A=null,k=null,S=null,D=null,P=!1;_.canUseDOM&&(P=T("change")&&(!document.documentMode||document.documentMode>8));var j=!1;_.canUseDOM&&(j=T("input")&&(!document.documentMode||document.documentMode>11));var L={get:function(){return D.get.call(this)},set:function(e){S=""+e,D.set.call(this,e)}},R={eventTypes:M,extractEvents:function(e,t,n,o){var a,i,u=t?E.getNodeFromInstance(t):window;if(r(u)?P?a=c:i=l:N(u)?j?a=f:(a=m,i=h):y(u)&&(a=v),a){var s=a(e,t);if(s){var p=C.getPooled(M.change,s,n,o);return p.type="change",w.accumulateTwoPhaseDispatches(p),p}}i&&i(e,u,t),"topBlur"===e&&g(t,u)}};e.exports=R},function(e,t,n){"use strict";(function(t){var r=n(4),o=n(31),a=n(9),i=n(308),u=n(15),c=n(2),l={dangerouslyReplaceNodeWithMarkup:function(e,n){if(a.canUseDOM?void 0:"production"!==t.env.NODE_ENV?c(!1,"dangerouslyReplaceNodeWithMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use ReactDOMServer.renderToString() for server rendering."):r("56"),n?void 0:"production"!==t.env.NODE_ENV?c(!1,"dangerouslyReplaceNodeWithMarkup(...): Missing markup."):r("57"),"HTML"===e.nodeName?"production"!==t.env.NODE_ENV?c(!1,"dangerouslyReplaceNodeWithMarkup(...): Cannot replace markup of the node. This is because browser quirks make this unreliable and/or slow. If you want to render to the root you must use server rendering. See ReactDOMServer.renderToString()."):r("58"):void 0,"string"==typeof n){var l=i(n,u)[0];e.parentNode.replaceChild(l,e)}else o.replaceChildWithTree(e,n)}};e.exports=l}).call(t,n(1))},function(e,t,n){"use strict";var r=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];e.exports=r},function(e,t,n){"use strict";var r=n(47),o=n(7),a=n(62),i={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},u={eventTypes:i,extractEvents:function(e,t,n,u){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==e&&"topMouseOver"!==e)return null;var c;if(u.window===u)c=u;else{var l=u.ownerDocument;c=l?l.defaultView||l.parentWindow:window}var s,p;if("topMouseOut"===e){s=t;var d=n.relatedTarget||n.toElement;p=d?o.getClosestInstanceFromNode(d):null}else s=null,p=t;if(s===p)return null;var f=null==s?c:o.getNodeFromInstance(s),h=null==p?c:o.getNodeFromInstance(p),m=a.getPooled(i.mouseLeave,s,n,u);m.type="mouseleave",m.target=f,m.relatedTarget=h;var y=a.getPooled(i.mouseEnter,p,n,u);return y.type="mouseenter",y.target=h,y.relatedTarget=f,r.accumulateEnterLeaveDispatches(m,y,s,p),[m,y]}};e.exports=u},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var o=n(5),a=n(26),i=n(179);o(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[i()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),a=o.length;for(e=0;e1?1-t:void 0;return this._fallbackText=o.slice(e,u),this._fallbackText}}),a.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";var r=n(23),o=r.injection.MUST_USE_PROPERTY,a=r.injection.HAS_BOOLEAN_VALUE,i=r.injection.HAS_NUMERIC_VALUE,u=r.injection.HAS_POSITIVE_NUMERIC_VALUE,c=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,l={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:a,allowTransparency:0,alt:0,as:0,async:a,autoComplete:0,autoPlay:a,capture:a,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|a,cite:0,classID:0,className:0,cols:u,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:a,coords:0,crossOrigin:0,data:0,dateTime:0,default:a,defer:a,dir:0,disabled:a,download:c,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:a,formTarget:0,frameBorder:0,headers:0,height:0,hidden:a,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:a,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|a,muted:o|a,name:0,nonce:0,noValidate:a,open:a,optimum:0,pattern:0,placeholder:0,playsInline:a,poster:0,preload:0,profile:0,radioGroup:0,readOnly:a,referrerPolicy:0,rel:0,required:a,reversed:a,role:0,rows:u,rowSpan:i,sandbox:0,scope:0,scoped:a,scrolling:0,seamless:a,selected:o|a,shape:0,size:u,sizes:0,span:u,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:i,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:a,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{},DOMMutationMethods:{value:function(e,t){return null==t?e.removeAttribute("value"):void("number"!==e.type||e.hasAttribute("value")===!1?e.setAttribute("value",""+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute("value",""+t))}}};e.exports=l},function(e,t,n){"use strict";(function(t){function r(e,r,a,c){var l=void 0===e[a];"production"!==t.env.NODE_ENV&&(o||(o=n(11)),l||("production"!==t.env.NODE_ENV?s(!1,"flattenChildren(...): Encountered two children with the same key, `%s`. Child keys must be unique; when two children share a key, only the first child will be used.%s",u.unescape(a),o.getStackAddendumByID(c)):void 0)),null!=r&&l&&(e[a]=i(r,!0))}var o,a=n(32),i=n(180),u=n(87),c=n(97),l=n(183),s=n(3);"undefined"!=typeof t&&t.env&&"test"===t.env.NODE_ENV&&(o=n(11));var p={instantiateChildren:function(e,n,o,a){if(null==e)return null;var i={};return"production"!==t.env.NODE_ENV?l(e,function(e,t,n){return r(e,t,n,a)},i):l(e,r,i),i},updateChildren:function(e,t,n,r,o,u,l,s,p){if(t||e){var d,f;for(d in t)if(t.hasOwnProperty(d)){f=e&&e[d];var h=f&&f._currentElement,m=t[d];if(null!=f&&c(h,m))a.receiveComponent(f,m,o,s),t[d]=f;else{f&&(r[d]=a.getHostNode(f),a.unmountComponent(f,!1));var y=i(m,!0);t[d]=y;var v=a.mountComponent(y,o,u,l,s,p);n.push(v)}}for(d in e)!e.hasOwnProperty(d)||t&&t.hasOwnProperty(d)||(f=e[d],r[d]=a.getHostNode(f),a.unmountComponent(f,!1))}},unmountChildren:function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];a.unmountComponent(r,t)}}};e.exports=p}).call(t,n(1))},function(e,t,n){"use strict";var r=n(84),o=n(338),a={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};e.exports=a},function(e,t,n){"use strict";(function(t){function r(e){}function o(e,n){"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?x(null===n||n===!1||s.isValidElement(n),"%s(...): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.",e.displayName||e.name||"Component"):void 0,"production"!==t.env.NODE_ENV?x(!e.childContextTypes,"%s(...): childContextTypes cannot be defined on a functional component.",e.displayName||e.name||"Component"):void 0)}function a(e){return!(!e.prototype||!e.prototype.isReactComponent)}function i(e){return!(!e.prototype||!e.prototype.isPureReactComponent)}function u(e,t,n){if(0===t)return e();m.debugTool.onBeginLifeCycleTimer(t,n);try{return e()}finally{m.debugTool.onEndLifeCycleTimer(t,n)}}var c=n(4),l=n(5),s=n(33),p=n(89),d=n(17),f=n(90),h=n(48),m=n(12),y=n(173),v=n(32);if("production"!==t.env.NODE_ENV)var g=n(380);var b=n(45),w=n(2),_=n(83),E=n(97),x=n(3),C={ImpureClass:0,PureClass:1,StatelessFunctional:2};r.prototype.render=function(){var e=h.get(this)._currentElement.type,t=e(this.props,this.context,this.updater);return o(e,t),t};var O=1,T={construct:function(e){this._currentElement=e,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1,"production"!==t.env.NODE_ENV&&(this._warnedAboutRefsInRender=!1)},mountComponent:function(e,n,l,p){var d=this;this._context=p,this._mountOrder=O++,this._hostParent=n,this._hostContainerInfo=l;var f,m=this._currentElement.props,y=this._processContext(p),v=this._currentElement.type,g=e.getUpdateQueue(),_=a(v),E=this._constructComponent(_,m,y,g);if(_||null!=E&&null!=E.render?i(v)?this._compositeType=C.PureClass:this._compositeType=C.ImpureClass:(f=E,o(v,f),null===E||E===!1||s.isValidElement(E)?void 0:"production"!==t.env.NODE_ENV?w(!1,"%s(...): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.",v.displayName||v.name||"Component"):c("105",v.displayName||v.name||"Component"),E=new r(v),this._compositeType=C.StatelessFunctional),"production"!==t.env.NODE_ENV){null==E.render&&("production"!==t.env.NODE_ENV?x(!1,"%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",v.displayName||v.name||"Component"):void 0);var T=E.props!==m,N=v.displayName||v.name||"Component";"production"!==t.env.NODE_ENV?x(void 0===E.props||!T,"%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",N,N):void 0}E.props=m,E.context=y,E.refs=b,E.updater=g,this._instance=E,h.set(E,this),"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?x(!E.getInitialState||E.getInitialState.isReactClassApproved||E.state,"getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",this.getName()||"a component"):void 0,"production"!==t.env.NODE_ENV?x(!E.getDefaultProps||E.getDefaultProps.isReactClassApproved,"getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",this.getName()||"a component"):void 0,"production"!==t.env.NODE_ENV?x(!E.propTypes,"propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",this.getName()||"a component"):void 0,"production"!==t.env.NODE_ENV?x(!E.contextTypes,"contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",this.getName()||"a component"):void 0,"production"!==t.env.NODE_ENV?x("function"!=typeof E.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",this.getName()||"A component"):void 0,"production"!==t.env.NODE_ENV?x("function"!=typeof E.componentDidUnmount,"%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",this.getName()||"A component"):void 0,"production"!==t.env.NODE_ENV?x("function"!=typeof E.componentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",this.getName()||"A component"):void 0);var M=E.state;void 0===M&&(E.state=M=null),"object"!=typeof M||Array.isArray(M)?"production"!==t.env.NODE_ENV?w(!1,"%s.state: must be set to an object or null",this.getName()||"ReactCompositeComponent"):c("106",this.getName()||"ReactCompositeComponent"):void 0,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var A;return A=E.unstable_handleError?this.performInitialMountWithErrorHandling(f,n,l,e,p):this.performInitialMount(f,n,l,e,p),E.componentDidMount&&("production"!==t.env.NODE_ENV?e.getReactMountReady().enqueue(function(){u(function(){return E.componentDidMount()},d._debugID,"componentDidMount")}):e.getReactMountReady().enqueue(E.componentDidMount,E)),A},_constructComponent:function(e,n,r,o){if("production"===t.env.NODE_ENV)return this._constructComponentWithoutOwner(e,n,r,o);d.current=this;try{return this._constructComponentWithoutOwner(e,n,r,o)}finally{d.current=null}},_constructComponentWithoutOwner:function(e,n,r,o){var a=this._currentElement.type;return e?"production"!==t.env.NODE_ENV?u(function(){return new a(n,r,o)},this._debugID,"ctor"):new a(n,r,o):"production"!==t.env.NODE_ENV?u(function(){return a(n,r,o)},this._debugID,"render"):a(n,r,o)},performInitialMountWithErrorHandling:function(e,t,n,r,o){var a,i=r.checkpoint();try{a=this.performInitialMount(e,t,n,r,o)}catch(u){r.rollback(i),this._instance.unstable_handleError(u),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),i=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(i),a=this.performInitialMount(e,t,n,r,o)}return a},performInitialMount:function(e,n,r,o,a){var i=this._instance,c=0;"production"!==t.env.NODE_ENV&&(c=this._debugID),i.componentWillMount&&("production"!==t.env.NODE_ENV?u(function(){return i.componentWillMount()},c,"componentWillMount"):i.componentWillMount(),this._pendingStateQueue&&(i.state=this._processPendingState(i.props,i.context))),void 0===e&&(e=this._renderValidatedComponent());var l=y.getType(e);this._renderedNodeType=l;var s=this._instantiateReactComponent(e,l!==y.EMPTY);this._renderedComponent=s;var p=v.mountComponent(s,o,n,r,this._processChildContext(a),c);if("production"!==t.env.NODE_ENV&&0!==c){var d=0!==s._debugID?[s._debugID]:[];m.debugTool.onSetChildren(c,d)}return p},getHostNode:function(){return v.getHostNode(this._renderedComponent)},unmountComponent:function(e){if(this._renderedComponent){var n=this._instance;if(n.componentWillUnmount&&!n._calledComponentWillUnmount)if(n._calledComponentWillUnmount=!0,e){var r=this.getName()+".componentWillUnmount()";f.invokeGuardedCallback(r,n.componentWillUnmount.bind(n))}else"production"!==t.env.NODE_ENV?u(function(){return n.componentWillUnmount()},this._debugID,"componentWillUnmount"):n.componentWillUnmount();this._renderedComponent&&(v.unmountComponent(this._renderedComponent,e),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,h.remove(n)}},_maskContext:function(e){var t=this._currentElement.type,n=t.contextTypes;if(!n)return b;var r={};for(var o in n)r[o]=e[o];return r},_processContext:function(e){var n=this._maskContext(e);if("production"!==t.env.NODE_ENV){var r=this._currentElement.type;r.contextTypes&&this._checkContextTypes(r.contextTypes,n,"context")}return n},_processChildContext:function(e){var n,r=this._currentElement.type,o=this._instance;if(o.getChildContext)if("production"!==t.env.NODE_ENV){m.debugTool.onBeginProcessingChildContext();try{n=o.getChildContext()}finally{m.debugTool.onEndProcessingChildContext()}}else n=o.getChildContext();if(n){"object"!=typeof r.childContextTypes?"production"!==t.env.NODE_ENV?w(!1,"%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",this.getName()||"ReactCompositeComponent"):c("107",this.getName()||"ReactCompositeComponent"):void 0,"production"!==t.env.NODE_ENV&&this._checkContextTypes(r.childContextTypes,n,"child context");for(var a in n)a in r.childContextTypes?void 0:"production"!==t.env.NODE_ENV?w(!1,'%s.getChildContext(): key "%s" is not defined in childContextTypes.',this.getName()||"ReactCompositeComponent",a):c("108",this.getName()||"ReactCompositeComponent",a);return l({},e,n)}return e},_checkContextTypes:function(e,n,r){"production"!==t.env.NODE_ENV&&g(e,n,r,this.getName(),null,this._debugID)},receiveComponent:function(e,t,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(t,r,e,o,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement?v.receiveComponent(this,this._pendingElement,e,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(e,n,r,o,a){var i=this._instance;null==i?"production"!==t.env.NODE_ENV?w(!1,"Attempted to update component `%s` that has already been unmounted (or failed to mount).",this.getName()||"ReactCompositeComponent"):c("136",this.getName()||"ReactCompositeComponent"):void 0;var l,s=!1;this._context===a?l=i.context:(l=this._processContext(a),s=!0);var p=n.props,d=r.props;n!==r&&(s=!0),s&&i.componentWillReceiveProps&&("production"!==t.env.NODE_ENV?u(function(){return i.componentWillReceiveProps(d,l)},this._debugID,"componentWillReceiveProps"):i.componentWillReceiveProps(d,l));var f=this._processPendingState(d,l),h=!0;this._pendingForceUpdate||(i.shouldComponentUpdate?h="production"!==t.env.NODE_ENV?u(function(){return i.shouldComponentUpdate(d,f,l)},this._debugID,"shouldComponentUpdate"):i.shouldComponentUpdate(d,f,l):this._compositeType===C.PureClass&&(h=!_(p,d)||!_(i.state,f))),"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?x(void 0!==h,"%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",this.getName()||"ReactCompositeComponent"):void 0),this._updateBatchNumber=null,h?(this._pendingForceUpdate=!1,this._performComponentUpdate(r,d,f,l,e,a)):(this._currentElement=r,this._context=a,i.props=d,i.state=f,i.context=l)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var a=l({},o?r[0]:n.state),i=o?1:0;i-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var m=window.location.protocol.indexOf("http")===-1&&navigator.userAgent.indexOf("Firefox")===-1;console.debug("Download the React DevTools "+(m?"and use an HTTP server (instead of a file: URL) ":"")+"for a better development experience: https://fb.me/react-devtools")}var y=function(){};"production"!==t.env.NODE_ENV?d((y.name||y.toString()).indexOf("testFn")!==-1,"It looks like you're using a minified copy of the development build of React. When deploying React apps to production, make sure to use the production build which skips development warnings and is faster. See https://fb.me/react-minification for more details."):void 0;var v=document.documentMode&&document.documentMode<8;"production"!==t.env.NODE_ENV?d(!v,'Internet Explorer is running in compatibility mode; please add the following tag to your HTML to prevent this from happening: '):void 0;for(var g=[Array.isArray,Array.prototype.every,Array.prototype.forEach,Array.prototype.indexOf,Array.prototype.map,Date.now,Function.prototype.bind,Object.keys,String.prototype.trim],b=0;b",o(e),o(n)):void 0)}}function i(e,n){n&&(ae[e._tag]&&(null!=n.children||null!=n.dangerouslySetInnerHTML?"production"!==t.env.NODE_ENV?B(!1,"%s is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.%s",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""):v("137",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""):void 0),null!=n.dangerouslySetInnerHTML&&(null!=n.children?"production"!==t.env.NODE_ENV?B(!1,"Can only set one of `children` or `props.dangerouslySetInnerHTML`."):v("60"):void 0,"object"==typeof n.dangerouslySetInnerHTML&&K in n.dangerouslySetInnerHTML?void 0:"production"!==t.env.NODE_ENV?B(!1,"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information."):v("61")),"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?H(null==n.innerHTML,"Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."):void 0,"production"!==t.env.NODE_ENV?H(n.suppressContentEditableWarning||!n.contentEditable||null==n.children,"A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."):void 0,"production"!==t.env.NODE_ENV?H(null==n.onFocusIn&&null==n.onFocusOut,"React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."):void 0),null!=n.style&&"object"!=typeof n.style?"production"!==t.env.NODE_ENV?B(!1,"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.%s",r(e)):v("62",r(e)):void 0)}function u(e,n,r,o){if(!(o instanceof R)){"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?H("onScroll"!==n||F("scroll",!0),"This browser doesn't support the `onScroll` event"):void 0);var a=e._hostContainerInfo,i=a._node&&a._node.nodeType===Q,u=i?a._node:a._ownerDocument;Y(n,u),o.getReactMountReady().enqueue(c,{inst:e,registrationName:n,listener:r})}}function c(){var e=this;O.putListener(e.inst,e.registrationName,e.listener)}function l(){var e=this;k.postMountWrapper(e)}function s(){var e=this;P.postMountWrapper(e)}function p(){var e=this;S.postMountWrapper(e)}function d(){var e=this;e._rootNodeID?void 0:"production"!==t.env.NODE_ENV?B(!1,"Must be mounted to trap events"):v("63");var n=W(e);switch(n?void 0:"production"!==t.env.NODE_ENV?B(!1,"trapBubbledEvent(...): Requires node to be rendered."):v("64"),e._tag){case"iframe":case"object":e._wrapperState.listeners=[N.trapBubbledEvent("topLoad","load",n)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var r in ne)ne.hasOwnProperty(r)&&e._wrapperState.listeners.push(N.trapBubbledEvent(r,ne[r],n));break;case"source":e._wrapperState.listeners=[N.trapBubbledEvent("topError","error",n)];break;case"img":e._wrapperState.listeners=[N.trapBubbledEvent("topError","error",n),N.trapBubbledEvent("topLoad","load",n)];break;case"form":e._wrapperState.listeners=[N.trapBubbledEvent("topReset","reset",n),N.trapBubbledEvent("topSubmit","submit",n)];break;case"input":case"select":case"textarea":e._wrapperState.listeners=[N.trapBubbledEvent("topInvalid","invalid",n)]}}function f(){D.postUpdateWrapper(this)}function h(e){ce.call(ue,e)||(ie.test(e)?void 0:"production"!==t.env.NODE_ENV?B(!1,"Invalid tag: %s",e):v("65",e),ue[e]=!0)}function m(e,t){return e.indexOf("-")>=0||null!=t.is}function y(e){var n=e.type;h(n),this._currentElement=e,this._tag=n.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0,"production"!==t.env.NODE_ENV&&(this._ancestorInfo=null,te.call(this,null))}var v=n(4),g=n(5),b=n(321),w=n(323),_=n(31),E=n(85),x=n(23),C=n(165),O=n(46),T=n(60),N=n(61),M=n(166),A=n(7),k=n(339),S=n(342),D=n(167),P=n(345),j=n(12),L=n(358),R=n(363),V=n(15),I=n(64),B=n(2),F=n(96),U=n(83),Z=n(98),H=n(3),G=M,z=O.deleteListener,W=A.getNodeFromInstance,Y=N.listenTo,X=T.registrationNameModules,q={string:!0,number:!0},J="style",K="__html",$={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},Q=11,ee={},te=V;"production"!==t.env.NODE_ENV&&(te=function(e){var t=null!=this._contentDebugID,n=this._debugID,r=-n;return null==e?(t&&j.debugTool.onUnmountComponent(this._contentDebugID),void(this._contentDebugID=null)):(Z(null,String(e),this,this._ancestorInfo),this._contentDebugID=r,void(t?(j.debugTool.onBeforeUpdateComponent(r,e),j.debugTool.onUpdateComponent(r)):(j.debugTool.onBeforeMountComponent(r,e,n),j.debugTool.onMountComponent(r),j.debugTool.onSetChildren(n,[r]))))});var ne={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},re={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},oe={listing:!0,pre:!0,textarea:!0},ae=g({menuitem:!0},re),ie=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ue={},ce={}.hasOwnProperty,le=1;y.displayName="ReactDOMComponent",y.Mixin={mountComponent:function(e,n,r,o){this._rootNodeID=le++,this._domID=r._idCounter++,this._hostParent=n,this._hostContainerInfo=r;var a=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(d,this);break;case"input":k.mountWrapper(this,a,n),a=k.getHostProps(this,a),e.getReactMountReady().enqueue(d,this);break;case"option":S.mountWrapper(this,a,n),a=S.getHostProps(this,a);break;case"select":D.mountWrapper(this,a,n),a=D.getHostProps(this,a),e.getReactMountReady().enqueue(d,this);break;case"textarea":P.mountWrapper(this,a,n),a=P.getHostProps(this,a),e.getReactMountReady().enqueue(d,this)}i(this,a);var u,c;if(null!=n?(u=n._namespaceURI,c=n._tag):r._tag&&(u=r._namespaceURI,c=r._tag),(null==u||u===E.svg&&"foreignobject"===c)&&(u=E.html),u===E.html&&("svg"===this._tag?u=E.svg:"math"===this._tag&&(u=E.mathml)),this._namespaceURI=u,"production"!==t.env.NODE_ENV){var f;null!=n?f=n._ancestorInfo:r._tag&&(f=r._ancestorInfo),f&&Z(this._tag,null,this,f),this._ancestorInfo=Z.updatedAncestorInfo(f,this._tag,this)}var h;if(e.useCreateElement){var m,y=r._ownerDocument;if(u===E.html)if("script"===this._tag){var v=y.createElement("div"),g=this._currentElement.type;v.innerHTML="<"+g+">",m=v.removeChild(v.firstChild)}else m=a.is?y.createElement(this._currentElement.type,a.is):y.createElement(this._currentElement.type);else m=y.createElementNS(u,this._currentElement.type);A.precacheNode(this,m),this._flags|=G.hasCachedChildNodes,this._hostParent||C.setAttributeForRoot(m),this._updateDOMProperties(null,a,e);var w=_(m);this._createInitialChildren(e,a,o,w),h=w}else{var x=this._createOpenTagMarkupAndPutListeners(e,a),O=this._createContentMarkup(e,a,o);h=!O&&re[this._tag]?x+"/>":x+">"+O+""}switch(this._tag){case"input":e.getReactMountReady().enqueue(l,this),a.autoFocus&&e.getReactMountReady().enqueue(b.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(s,this),a.autoFocus&&e.getReactMountReady().enqueue(b.focusDOMComponent,this);break;case"select":a.autoFocus&&e.getReactMountReady().enqueue(b.focusDOMComponent,this);break;case"button":a.autoFocus&&e.getReactMountReady().enqueue(b.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(p,this)}return h},_createOpenTagMarkupAndPutListeners:function(e,n){var r="<"+this._currentElement.type;for(var o in n)if(n.hasOwnProperty(o)){var a=n[o];if(null!=a)if(X.hasOwnProperty(o))a&&u(this,o,a,e);else{o===J&&(a&&("production"!==t.env.NODE_ENV&&(this._previousStyle=a),a=this._previousStyleCopy=g({},n.style)),a=w.createMarkupForStyles(a,this));var i=null;null!=this._tag&&m(this._tag,n)?$.hasOwnProperty(o)||(i=C.createMarkupForCustomAttribute(o,a)):i=C.createMarkupForProperty(o,a),i&&(r+=" "+i)}}return e.renderToStaticMarkup?r:(this._hostParent||(r+=" "+C.createMarkupForRoot()),r+=" "+C.createMarkupForID(this._domID))},_createContentMarkup:function(e,n,r){var o="",a=n.dangerouslySetInnerHTML;if(null!=a)null!=a.__html&&(o=a.__html);else{var i=q[typeof n.children]?n.children:null,u=null!=i?null:n.children;if(null!=i)o=I(i),"production"!==t.env.NODE_ENV&&te.call(this,i);else if(null!=u){var c=this.mountChildren(u,e,r);o=c.join("")}}return oe[this._tag]&&"\n"===o.charAt(0)?"\n"+o:o},_createInitialChildren:function(e,n,r,o){var a=n.dangerouslySetInnerHTML;if(null!=a)null!=a.__html&&_.queueHTML(o,a.__html);else{var i=q[typeof n.children]?n.children:null,u=null!=i?null:n.children;if(null!=i)""!==i&&("production"!==t.env.NODE_ENV&&te.call(this,i),_.queueText(o,i));else if(null!=u)for(var c=this.mountChildren(u,e,r),l=0;l tried to unmount. Because of cross-browser quirks it is impossible to unmount some top-level components (eg , , and ) reliably and efficiently. To fix this, have a single top-level component that never unmounts render these elements.",this._tag):v("66",this._tag)}this.unmountChildren(e),A.uncacheNode(this),O.deleteAllListeners(this),this._rootNodeID=0,this._domID=0,this._wrapperState=null,"production"!==t.env.NODE_ENV&&te.call(this,null)},getPublicInstance:function(){return W(this)}},g(y.prototype,y.Mixin,L.Mixin),e.exports=y}).call(t,n(1))},function(e,t,n){"use strict";(function(t){function r(e,n){var r={_topLevelWrapper:e,_idCounter:1,_ownerDocument:n?n.nodeType===a?n:n.ownerDocument:null,_node:n,_tag:n?n.nodeName.toLowerCase():null,_namespaceURI:n?n.namespaceURI:null};return"production"!==t.env.NODE_ENV&&(r._ancestorInfo=n?o.updatedAncestorInfo(null,r._tag,null):null),r}var o=n(98),a=9;e.exports=r}).call(t,n(1))},function(e,t,n){"use strict";var r=n(5),o=n(31),a=n(7),i=function(e){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};r(i.prototype,{mountComponent:function(e,t,n,r){var i=n._idCounter++;this._domID=i,this._hostParent=t,this._hostContainerInfo=n;var u=" react-empty: "+this._domID+" ";if(e.useCreateElement){var c=n._ownerDocument,l=c.createComment(u);return a.precacheNode(this,l),o(l)}return e.renderToStaticMarkup?"":""},receiveComponent:function(){},getHostNode:function(){return a.getNodeFromInstance(this)},unmountComponent:function(){a.uncacheNode(this)}}),e.exports=i},function(e,t,n){"use strict";var r={useCreateElement:!0,useFiber:!1};e.exports=r},function(e,t,n){"use strict";var r=n(84),o=n(7),a={dangerouslyProcessChildrenUpdates:function(e,t){var n=o.getNodeFromInstance(e);r.processUpdates(n,t)}};e.exports=a},function(e,t,n){"use strict";(function(t){function r(){this._rootNodeID&&w.updateWrapper(this)}function o(e){var t="checkbox"===e.type||"radio"===e.type;return t?null!=e.checked:null!=e.value}function a(e){var n=this._currentElement.props,o=l.executeOnChange(n,e);p.asap(r,this);var a=n.name;if("radio"===n.type&&null!=a){for(var u=s.getNodeFromInstance(this),c=u;c.parentNode;)c=c.parentNode;for(var f=c.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),h=0;h tag. For details, see https://fb.me/invalid-aria-prop%s",l,n.type,u.getStackAddendumByID(e)):void 0:o.length>1&&("production"!==t.env.NODE_ENV?c(!1,"Invalid aria props %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop%s",l,n.type,u.getStackAddendumByID(e)):void 0)}function a(e,t){null!=t&&"string"==typeof t.type&&(t.type.indexOf("-")>=0||t.props.is||o(e,t))}var i=n(23),u=n(11),c=n(3),l={},s=new RegExp("^(aria)-["+i.ATTRIBUTE_NAME_CHAR+"]*$"),p={onBeforeMountComponent:function(e,n){"production"!==t.env.NODE_ENV&&a(e,n)},onBeforeUpdateComponent:function(e,n){"production"!==t.env.NODE_ENV&&a(e,n)}};e.exports=p}).call(t,n(1))},function(e,t,n){"use strict";(function(t){function r(e,n){null!=n&&("input"!==n.type&&"textarea"!==n.type&&"select"!==n.type||null==n.props||null!==n.props.value||i||("production"!==t.env.NODE_ENV?a(!1,"`value` prop on `%s` should not be null. Consider using the empty string to clear the component or `undefined` for uncontrolled components.%s",n.type,o.getStackAddendumByID(e)):void 0,i=!0))}var o=n(11),a=n(3),i=!1,u={onBeforeMountComponent:function(e,t){r(e,t)},onBeforeUpdateComponent:function(e,t){r(e,t)}};e.exports=u}).call(t,n(1))},function(e,t,n){"use strict";(function(t){function r(e){var n="";return a.Children.forEach(e,function(e){null!=e&&("string"==typeof e||"number"==typeof e?n+=e:l||(l=!0,"production"!==t.env.NODE_ENV?c(!1,"Only strings and numbers are supported as