forked from ashwinkjoseph/react-d3-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
react-d3-core.min.js
12 lines (12 loc) · 226 KB
/
react-d3-core.min.js
1
2
3
4
5
6
7
8
9
10
11
12
var ReactD3Core=function(modules){function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={exports:{},id:moduleId,loaded:!1};return modules[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.loaded=!0,module.exports}var installedModules={};return __webpack_require__.m=modules,__webpack_require__.c=installedModules,__webpack_require__.p="",__webpack_require__(0)}([function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}Object.defineProperty(exports,"__esModule",{value:!0});var _svg=__webpack_require__(1);Object.defineProperty(exports,"Svg",{enumerable:!0,get:function(){return _interopRequireDefault(_svg).default}});var _title=__webpack_require__(23);Object.defineProperty(exports,"Title",{enumerable:!0,get:function(){return _interopRequireDefault(_title).default}});var _chartContainer=__webpack_require__(24);Object.defineProperty(exports,"Chart",{enumerable:!0,get:function(){return _interopRequireDefault(_chartContainer).default}});var _axis=__webpack_require__(43);Object.defineProperty(exports,"Axis",{enumerable:!0,get:function(){return _interopRequireDefault(_axis).default}});var _xaxis=__webpack_require__(45);Object.defineProperty(exports,"Xaxis",{enumerable:!0,get:function(){return _interopRequireDefault(_xaxis).default}});var _yaxis=__webpack_require__(47);Object.defineProperty(exports,"Yaxis",{enumerable:!0,get:function(){return _interopRequireDefault(_yaxis).default}});var _label=__webpack_require__(46);Object.defineProperty(exports,"Label",{enumerable:!0,get:function(){return _interopRequireDefault(_label).default}});var _legend=__webpack_require__(25);Object.defineProperty(exports,"Legend",{enumerable:!0,get:function(){return _interopRequireDefault(_legend).default}});var _grid=__webpack_require__(48);Object.defineProperty(exports,"Grid",{enumerable:!0,get:function(){return _interopRequireDefault(_grid).default}});var _xgrid=__webpack_require__(49);Object.defineProperty(exports,"Xgrid",{enumerable:!0,get:function(){return _interopRequireDefault(_xgrid).default}});var _ygrid=__webpack_require__(50);Object.defineProperty(exports,"Ygrid",{enumerable:!0,get:function(){return _interopRequireDefault(_ygrid).default}});var _scale=__webpack_require__(14);Object.defineProperty(exports,"scale",{enumerable:!0,get:function(){return _scale.scale}});var _xDomain=__webpack_require__(51);Object.defineProperty(exports,"xDomainCount",{enumerable:!0,get:function(){return _xDomain.xDomain}});var _yDomain=__webpack_require__(52);Object.defineProperty(exports,"yDomainCount",{enumerable:!0,get:function(){return _yDomain.yDomain}})},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==("undefined"==typeof call?"undefined":_typeof(call))&&"function"!=typeof call?self:call}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof superClass?"undefined":_typeof(superClass)));subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};Object.defineProperty(exports,"__esModule",{value:!0});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),_react=__webpack_require__(2),_react2=_interopRequireDefault(_react),_propTypes=__webpack_require__(3),_propTypes2=_interopRequireDefault(_propTypes),_commonProps=__webpack_require__(13),_commonProps2=_interopRequireDefault(_commonProps),ChartSvg=(__webpack_require__(14),function(_Component){function ChartSvg(props){return _classCallCheck(this,ChartSvg),_possibleConstructorReturn(this,(ChartSvg.__proto__||Object.getPrototypeOf(ChartSvg)).call(this,props))}return _inherits(ChartSvg,_Component),_createClass(ChartSvg,[{key:"render",value:function(){var _props=this.props,height=_props.height,width=_props.width,margins=_props.margins,svgClassName=_props.svgClassName,id=_props.id,children=_props.children,t="translate("+margins.left+", "+margins.top+")";return _react2.default.createElement("svg",{height:height,width:width,className:svgClassName,id:id,ref:"svgContainer"},_react2.default.createElement("g",{transform:t},children))}}]),ChartSvg}(_react.Component));ChartSvg.defaultProps=_extends({svgClassName:"react-d3-core__container_svg",onZoom:function(){},scaleExtent:[1,10]},_commonProps2.default),ChartSvg.propTypes={id:_propTypes2.default.string,width:_propTypes2.default.number.isRequired,height:_propTypes2.default.number.isRequired,margins:_propTypes2.default.object.isRequired,svgClassName:_propTypes2.default.string.isRequired},exports.default=ChartSvg},function(module,exports){module.exports=React},function(module,exports,__webpack_require__){(function(process){if("production"!==process.env.NODE_ENV){var REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,isValidElement=function(object){return"object"==typeof object&&null!==object&&object.$$typeof===REACT_ELEMENT_TYPE},throwOnDirectAccess=!0;module.exports=__webpack_require__(5)(isValidElement,throwOnDirectAccess)}else module.exports=__webpack_require__(12)()}).call(exports,__webpack_require__(4))},function(module,exports){function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e){return cachedClearTimeout.call(this,marker)}}}function cleanUpNextTick(){draining&¤tQueue&&(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&¤tQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,runClearTimeout(timeout)}}function Item(fun,array){this.fun=fun,this.array=array}function noop(){}var cachedSetTimeout,cachedClearTimeout,process=module.exports={};!function(){try{cachedSetTimeout="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}}();var currentQueue,queue=[],draining=!1,queueIndex=-1;process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),1!==queue.length||draining||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},process.title="browser",process.browser=!0,process.env={},process.argv=[],process.version="",process.versions={},process.on=noop,process.addListener=noop,process.once=noop,process.off=noop,process.removeListener=noop,process.removeAllListeners=noop,process.emit=noop,process.prependListener=noop,process.prependOnceListener=noop,process.listeners=function(name){return[]},process.binding=function(name){throw new Error("process.binding is not supported")},process.cwd=function(){return"/"},process.chdir=function(dir){throw new Error("process.chdir is not supported")},process.umask=function(){return 0}},function(module,exports,__webpack_require__){(function(process){"use strict";var emptyFunction=__webpack_require__(6),invariant=__webpack_require__(7),warning=__webpack_require__(8),assign=__webpack_require__(9),ReactPropTypesSecret=__webpack_require__(10),checkPropTypes=__webpack_require__(11);module.exports=function(isValidElement,throwOnDirectAccess){function getIteratorFn(maybeIterable){var iteratorFn=maybeIterable&&(ITERATOR_SYMBOL&&maybeIterable[ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL]);if("function"==typeof iteratorFn)return iteratorFn}function is(x,y){return x===y?0!==x||1/x===1/y:x!==x&&y!==y}function PropTypeError(message){this.message=message,this.stack=""}function createChainableTypeChecker(validate){function checkType(isRequired,props,propName,componentName,location,propFullName,secret){if(componentName=componentName||ANONYMOUS,propFullName=propFullName||propName,secret!==ReactPropTypesSecret)if(throwOnDirectAccess)invariant(!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"!==process.env.NODE_ENV&&"undefined"!=typeof console){var cacheKey=componentName+":"+propName;!manualPropTypeCallCache[cacheKey]&&manualPropTypeWarningCount<3&&(warning(!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.",propFullName,componentName),manualPropTypeCallCache[cacheKey]=!0,manualPropTypeWarningCount++)}return null==props[propName]?isRequired?new PropTypeError(null===props[propName]?"The "+location+" `"+propFullName+"` is marked as required "+("in `"+componentName+"`, but its value is `null`."):"The "+location+" `"+propFullName+"` is marked as required in "+("`"+componentName+"`, but its value is `undefined`.")):null:validate(props,propName,componentName,location,propFullName)}if("production"!==process.env.NODE_ENV)var manualPropTypeCallCache={},manualPropTypeWarningCount=0;var chainedCheckType=checkType.bind(null,!1);return chainedCheckType.isRequired=checkType.bind(null,!0),chainedCheckType}function createPrimitiveTypeChecker(expectedType){function validate(props,propName,componentName,location,propFullName,secret){var propValue=props[propName],propType=getPropType(propValue);if(propType!==expectedType){var preciseType=getPreciseType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+preciseType+"` supplied to `"+componentName+"`, expected ")+("`"+expectedType+"`."))}return null}return createChainableTypeChecker(validate)}function createAnyTypeChecker(){return createChainableTypeChecker(emptyFunction.thatReturnsNull)}function createArrayOfTypeChecker(typeChecker){function validate(props,propName,componentName,location,propFullName){if("function"!=typeof typeChecker)return new PropTypeError("Property `"+propFullName+"` of component `"+componentName+"` has invalid PropType notation inside arrayOf.");var propValue=props[propName];if(!Array.isArray(propValue)){var propType=getPropType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected an array."))}for(var i=0;i<propValue.length;i++){var error=typeChecker(propValue,i,componentName,location,propFullName+"["+i+"]",ReactPropTypesSecret);if(error instanceof Error)return error}return null}return createChainableTypeChecker(validate)}function createElementTypeChecker(){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];if(!isValidElement(propValue)){var propType=getPropType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected a single ReactElement."))}return null}return createChainableTypeChecker(validate)}function createInstanceTypeChecker(expectedClass){function validate(props,propName,componentName,location,propFullName){if(!(props[propName]instanceof expectedClass)){var expectedClassName=expectedClass.name||ANONYMOUS,actualClassName=getClassName(props[propName]);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+actualClassName+"` supplied to `"+componentName+"`, expected ")+("instance of `"+expectedClassName+"`."))}return null}return createChainableTypeChecker(validate)}function createEnumTypeChecker(expectedValues){function validate(props,propName,componentName,location,propFullName){for(var propValue=props[propName],i=0;i<expectedValues.length;i++)if(is(propValue,expectedValues[i]))return null;var valuesString=JSON.stringify(expectedValues);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of value `"+propValue+"` "+("supplied to `"+componentName+"`, expected one of "+valuesString+"."))}return Array.isArray(expectedValues)?createChainableTypeChecker(validate):("production"!==process.env.NODE_ENV?warning(!1,"Invalid argument supplied to oneOf, expected an instance of array."):void 0,emptyFunction.thatReturnsNull)}function createObjectOfTypeChecker(typeChecker){function validate(props,propName,componentName,location,propFullName){if("function"!=typeof typeChecker)return new PropTypeError("Property `"+propFullName+"` of component `"+componentName+"` has invalid PropType notation inside objectOf.");var propValue=props[propName],propType=getPropType(propValue);if("object"!==propType)return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected an object."));for(var key in propValue)if(propValue.hasOwnProperty(key)){var error=typeChecker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret);if(error instanceof Error)return error}return null}return createChainableTypeChecker(validate)}function createUnionTypeChecker(arrayOfTypeCheckers){function validate(props,propName,componentName,location,propFullName){for(var i=0;i<arrayOfTypeCheckers.length;i++){var checker=arrayOfTypeCheckers[i];if(null==checker(props,propName,componentName,location,propFullName,ReactPropTypesSecret))return null}return new PropTypeError("Invalid "+location+" `"+propFullName+"` supplied to "+("`"+componentName+"`."))}if(!Array.isArray(arrayOfTypeCheckers))return"production"!==process.env.NODE_ENV?warning(!1,"Invalid argument supplied to oneOfType, expected an instance of array."):void 0,emptyFunction.thatReturnsNull;for(var i=0;i<arrayOfTypeCheckers.length;i++){var checker=arrayOfTypeCheckers[i];if("function"!=typeof checker)return warning(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",getPostfixForTypeWarning(checker),i),emptyFunction.thatReturnsNull}return createChainableTypeChecker(validate)}function createNodeChecker(){function validate(props,propName,componentName,location,propFullName){return isNode(props[propName])?null:new PropTypeError("Invalid "+location+" `"+propFullName+"` supplied to "+("`"+componentName+"`, expected a ReactNode."))}return createChainableTypeChecker(validate)}function createShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName],propType=getPropType(propValue);if("object"!==propType)return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` "+("supplied to `"+componentName+"`, expected `object`."));for(var key in shapeTypes){var checker=shapeTypes[key];if(checker){var error=checker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret);if(error)return error}}return null}return createChainableTypeChecker(validate)}function createStrictShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName],propType=getPropType(propValue);if("object"!==propType)return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` "+("supplied to `"+componentName+"`, expected `object`."));var allKeys=assign({},props[propName],shapeTypes);for(var key in allKeys){var checker=shapeTypes[key];if(!checker)return new PropTypeError("Invalid "+location+" `"+propFullName+"` key `"+key+"` supplied to `"+componentName+"`.\nBad object: "+JSON.stringify(props[propName],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(shapeTypes),null," "));var error=checker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret);if(error)return error}return null}return createChainableTypeChecker(validate)}function isNode(propValue){switch(typeof propValue){case"number":case"string":case"undefined":return!0;case"boolean":return!propValue;case"object":if(Array.isArray(propValue))return propValue.every(isNode);if(null===propValue||isValidElement(propValue))return!0;var iteratorFn=getIteratorFn(propValue);if(!iteratorFn)return!1;var step,iterator=iteratorFn.call(propValue);if(iteratorFn!==propValue.entries){for(;!(step=iterator.next()).done;)if(!isNode(step.value))return!1}else for(;!(step=iterator.next()).done;){var entry=step.value;if(entry&&!isNode(entry[1]))return!1}return!0;default:return!1}}function isSymbol(propType,propValue){return"symbol"===propType||("Symbol"===propValue["@@toStringTag"]||"function"==typeof Symbol&&propValue instanceof Symbol)}function getPropType(propValue){var propType=typeof propValue;return Array.isArray(propValue)?"array":propValue instanceof RegExp?"object":isSymbol(propType,propValue)?"symbol":propType}function getPreciseType(propValue){if("undefined"==typeof propValue||null===propValue)return""+propValue;var propType=getPropType(propValue);if("object"===propType){if(propValue instanceof Date)return"date";if(propValue instanceof RegExp)return"regexp"}return propType}function getPostfixForTypeWarning(value){var type=getPreciseType(value);switch(type){case"array":case"object":return"an "+type;case"boolean":case"date":case"regexp":return"a "+type;default:return type}}function getClassName(propValue){return propValue.constructor&&propValue.constructor.name?propValue.constructor.name:ANONYMOUS}var ITERATOR_SYMBOL="function"==typeof Symbol&&Symbol.iterator,FAUX_ITERATOR_SYMBOL="@@iterator",ANONYMOUS="<<anonymous>>",ReactPropTypes={array:createPrimitiveTypeChecker("array"),bool:createPrimitiveTypeChecker("boolean"),func:createPrimitiveTypeChecker("function"),number:createPrimitiveTypeChecker("number"),object:createPrimitiveTypeChecker("object"),string:createPrimitiveTypeChecker("string"),symbol:createPrimitiveTypeChecker("symbol"),any:createAnyTypeChecker(),arrayOf:createArrayOfTypeChecker,element:createElementTypeChecker(),instanceOf:createInstanceTypeChecker,node:createNodeChecker(),objectOf:createObjectOfTypeChecker,oneOf:createEnumTypeChecker,oneOfType:createUnionTypeChecker,shape:createShapeTypeChecker,exact:createStrictShapeTypeChecker};return PropTypeError.prototype=Error.prototype,ReactPropTypes.checkPropTypes=checkPropTypes,ReactPropTypes.PropTypes=ReactPropTypes,ReactPropTypes}}).call(exports,__webpack_require__(4))},function(module,exports){"use strict";function makeEmptyFunction(arg){return function(){return arg}}var emptyFunction=function(){};emptyFunction.thatReturns=makeEmptyFunction,emptyFunction.thatReturnsFalse=makeEmptyFunction(!1),emptyFunction.thatReturnsTrue=makeEmptyFunction(!0),emptyFunction.thatReturnsNull=makeEmptyFunction(null),emptyFunction.thatReturnsThis=function(){return this},emptyFunction.thatReturnsArgument=function(arg){return arg},module.exports=emptyFunction},function(module,exports,__webpack_require__){(function(process){"use strict";function invariant(condition,format,a,b,c,d,e,f){if(validateFormat(format),!condition){var error;if(void 0===format)error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var args=[a,b,c,d,e,f],argIndex=0;error=new Error(format.replace(/%s/g,function(){return args[argIndex++]})),error.name="Invariant Violation"}throw error.framesToPop=1,error}}var validateFormat=function(format){};"production"!==process.env.NODE_ENV&&(validateFormat=function(format){if(void 0===format)throw new Error("invariant requires an error message argument")}),module.exports=invariant}).call(exports,__webpack_require__(4))},function(module,exports,__webpack_require__){(function(process){"use strict";var emptyFunction=__webpack_require__(6),warning=emptyFunction;if("production"!==process.env.NODE_ENV){var printWarning=function(format){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];var argIndex=0,message="Warning: "+format.replace(/%s/g,function(){return args[argIndex++]});"undefined"!=typeof console&&console.error(message);try{throw new Error(message)}catch(x){}};warning=function(condition,format){if(void 0===format)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==format.indexOf("Failed Composite propType: ")&&!condition){for(var _len2=arguments.length,args=Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++)args[_key2-2]=arguments[_key2];printWarning.apply(void 0,[format].concat(args))}}}module.exports=warning}).call(exports,__webpack_require__(4))},function(module,exports){/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
"use strict";function toObject(val){if(null===val||void 0===val)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(val)}function shouldUseNative(){try{if(!Object.assign)return!1;var test1=new String("abc");if(test1[5]="de","5"===Object.getOwnPropertyNames(test1)[0])return!1;for(var test2={},i=0;i<10;i++)test2["_"+String.fromCharCode(i)]=i;var order2=Object.getOwnPropertyNames(test2).map(function(n){return test2[n]});if("0123456789"!==order2.join(""))return!1;var test3={};return"abcdefghijklmnopqrst".split("").forEach(function(letter){test3[letter]=letter}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},test3)).join("")}catch(err){return!1}}var getOwnPropertySymbols=Object.getOwnPropertySymbols,hasOwnProperty=Object.prototype.hasOwnProperty,propIsEnumerable=Object.prototype.propertyIsEnumerable;module.exports=shouldUseNative()?Object.assign:function(target,source){for(var from,symbols,to=toObject(target),s=1;s<arguments.length;s++){from=Object(arguments[s]);for(var key in from)hasOwnProperty.call(from,key)&&(to[key]=from[key]);if(getOwnPropertySymbols){symbols=getOwnPropertySymbols(from);for(var i=0;i<symbols.length;i++)propIsEnumerable.call(from,symbols[i])&&(to[symbols[i]]=from[symbols[i]])}}return to}},function(module,exports){"use strict";var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret},function(module,exports,__webpack_require__){(function(process){"use strict";function checkPropTypes(typeSpecs,values,location,componentName,getStack){if("production"!==process.env.NODE_ENV)for(var typeSpecName in typeSpecs)if(typeSpecs.hasOwnProperty(typeSpecName)){var error;try{invariant("function"==typeof typeSpecs[typeSpecName],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",componentName||"React class",location,typeSpecName,typeof typeSpecs[typeSpecName]),error=typeSpecs[typeSpecName](values,typeSpecName,componentName,location,null,ReactPropTypesSecret)}catch(ex){error=ex}if(warning(!error||error instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",componentName||"React class",location,typeSpecName,typeof error),error instanceof Error&&!(error.message in loggedTypeFailures)){loggedTypeFailures[error.message]=!0;var stack=getStack?getStack():"";warning(!1,"Failed %s type: %s%s",location,error.message,null!=stack?stack:"")}}}if("production"!==process.env.NODE_ENV)var invariant=__webpack_require__(7),warning=__webpack_require__(8),ReactPropTypesSecret=__webpack_require__(10),loggedTypeFailures={};module.exports=checkPropTypes}).call(exports,__webpack_require__(4))},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(6),invariant=__webpack_require__(7),ReactPropTypesSecret=__webpack_require__(10);module.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){secret!==ReactPropTypesSecret&&invariant(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function getShim(){return shim}shim.isRequired=shim;var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};return ReactPropTypes.checkPropTypes=emptyFunction,ReactPropTypes.PropTypes=ReactPropTypes,ReactPropTypes}},function(module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={width:960,height:500,margins:{top:80,right:100,bottom:80,left:100}}},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function scale(props){var func,scale=(props.type,props.scale);return"linear"===scale?func=_d3Scale2.default.scaleLinear():"identity"===scale?func=_d3Scale2.default.scaleIdentity():"sqrt"===scale?func=_d3Scale2.default.scaleSqrt():"pow"===scale?func=_d3Scale2.default.scalePow():"log"===scale?func=_d3Scale2.default.scaleLog():"quantize"===scale?func=_d3Scale2.default.scaleQuantize():"quantile"===scale?func=_d3Scale2.default.scaleQuantile():"ordinal"===scale?func=_d3Scale2.default.scaleOrdinal():"band"===scale?func=_d3Scale2.default.scaleBand():"time"===scale?func=_d3Scale2.default.scaleTime():new Error('Please check your axis scale setting. "'+scale+'" scale is invalid. '),func=_mkScaleSettings(props,func)}function _mkScaleSettings(props,func){var range=(props.type,props.range),domain=props.domain,scale=props.scale,bandPaddingInner=props.bandPaddingInner,bandPaddingOuter=props.bandPaddingOuter;return range&&func.range(range),domain&&func.domain(domain),"band"===scale&&(func.round(!0),bandPaddingInner?func.paddingInner(bandPaddingInner):func.paddingInner(.1),bandPaddingOuter?func.paddingOuter(bandPaddingOuter):func.paddingOuter(.1)),func}Object.defineProperty(exports,"__esModule",{value:!0}),exports.scale=scale;var _d3Scale=__webpack_require__(15),_d3Scale2=_interopRequireDefault(_d3Scale)},function(module,exports,__webpack_require__){!function(global,factory){factory(exports,__webpack_require__(16),__webpack_require__(17),__webpack_require__(18),__webpack_require__(20),__webpack_require__(21),__webpack_require__(22),__webpack_require__(19))}(this,function(exports,d3Array,d3Collection,d3Interpolate,d3Format,d3Time,d3TimeFormat,d3Color){"use strict";function ordinal(){function scale(d){var key=d+"",i=index.get(key);if(!i){if(unknown!==implicit)return unknown;index.set(key,i=domain.push(d))}return range[(i-1)%range.length]}var index=d3Collection.map(),domain=[],range=[],unknown=implicit;return scale.domain=function(_){if(!arguments.length)return domain.slice();domain=[],index=d3Collection.map();for(var d,key,i=-1,n=_.length;++i<n;)index.has(key=(d=_[i])+"")||index.set(key,domain.push(d));return scale},scale.range=function(_){return arguments.length?(range=slice.call(_),scale):range.slice()},scale.unknown=function(_){return arguments.length?(unknown=_,scale):unknown},scale.copy=function(){return ordinal().domain(domain).range(range).unknown(unknown)},scale}function band(){function rescale(){var n=domain().length,reverse=range[1]<range[0],start=range[reverse-0],stop=range[1-reverse];step=(stop-start)/Math.max(1,n-paddingInner+2*paddingOuter),round&&(step=Math.floor(step)),start+=(stop-start-step*(n-paddingInner))*align,bandwidth=step*(1-paddingInner),round&&(start=Math.round(start),bandwidth=Math.round(bandwidth));var values=d3Array.range(n).map(function(i){return start+step*i});return ordinalRange(reverse?values.reverse():values)}var step,bandwidth,scale=ordinal().unknown(void 0),domain=scale.domain,ordinalRange=scale.range,range=[0,1],round=!1,paddingInner=0,paddingOuter=0,align=.5;return delete scale.unknown,scale.domain=function(_){return arguments.length?(domain(_),rescale()):domain()},scale.range=function(_){return arguments.length?(range=[+_[0],+_[1]],rescale()):range.slice()},scale.rangeRound=function(_){return range=[+_[0],+_[1]],round=!0,rescale()},scale.bandwidth=function(){return bandwidth},scale.step=function(){return step},scale.round=function(_){return arguments.length?(round=!!_,rescale()):round},scale.padding=function(_){return arguments.length?(paddingInner=paddingOuter=Math.max(0,Math.min(1,_)),rescale()):paddingInner},scale.paddingInner=function(_){return arguments.length?(paddingInner=Math.max(0,Math.min(1,_)),rescale()):paddingInner},scale.paddingOuter=function(_){return arguments.length?(paddingOuter=Math.max(0,Math.min(1,_)),rescale()):paddingOuter},scale.align=function(_){return arguments.length?(align=Math.max(0,Math.min(1,_)),rescale()):align},scale.copy=function(){return band().domain(domain()).range(range).round(round).paddingInner(paddingInner).paddingOuter(paddingOuter).align(align)},rescale()}function pointish(scale){var copy=scale.copy;return scale.padding=scale.paddingOuter,delete scale.paddingInner,delete scale.paddingOuter,scale.copy=function(){return pointish(copy())},scale}function point(){return pointish(band().paddingInner(1))}function constant(x){return function(){return x}}function number(x){return+x}function deinterpolate(a,b){return(b-=a=+a)?function(x){return(x-a)/b}:constant(b)}function deinterpolateClamp(deinterpolate){return function(a,b){var d=deinterpolate(a=+a,b=+b);return function(x){return x<=a?0:x>=b?1:d(x)}}}function reinterpolateClamp(reinterpolate){return function(a,b){var r=reinterpolate(a=+a,b=+b);return function(t){return t<=0?a:t>=1?b:r(t)}}}function bimap(domain,range,deinterpolate,reinterpolate){var d0=domain[0],d1=domain[1],r0=range[0],r1=range[1];return d1<d0?(d0=deinterpolate(d1,d0),r0=reinterpolate(r1,r0)):(d0=deinterpolate(d0,d1),r0=reinterpolate(r0,r1)),function(x){return r0(d0(x))}}function polymap(domain,range,deinterpolate,reinterpolate){var j=Math.min(domain.length,range.length)-1,d=new Array(j),r=new Array(j),i=-1;for(domain[j]<domain[0]&&(domain=domain.slice().reverse(),range=range.slice().reverse());++i<j;)d[i]=deinterpolate(domain[i],domain[i+1]),r[i]=reinterpolate(range[i],range[i+1]);return function(x){var i=d3Array.bisect(domain,x,1,j)-1;return r[i](d[i](x))}}function copy(source,target){return target.domain(source.domain()).range(source.range()).interpolate(source.interpolate()).clamp(source.clamp())}function continuous(deinterpolate$$,reinterpolate){function rescale(){var map=Math.min(domain.length,range.length)>2?polymap:bimap;return output=map(domain,range,clamp?deinterpolateClamp(deinterpolate$$):deinterpolate$$,interpolate),input=map(range,domain,deinterpolate,clamp?reinterpolateClamp(reinterpolate):reinterpolate),scale}function scale(x){return output(+x)}var output,input,domain=unit,range=unit,interpolate=d3Interpolate.interpolate,clamp=!1;return scale.invert=function(y){return input(+y)},scale.domain=function(_){return arguments.length?(domain=map$1.call(_,number),rescale()):domain.slice()},scale.range=function(_){return arguments.length?(range=slice.call(_),rescale()):range.slice()},scale.rangeRound=function(_){return range=slice.call(_),interpolate=d3Interpolate.interpolateRound,rescale()},scale.clamp=function(_){return arguments.length?(clamp=!!_,rescale()):clamp},scale.interpolate=function(_){return arguments.length?(interpolate=_,rescale()):interpolate},rescale()}function tickFormat(domain,count,specifier){var precision,start=domain[0],stop=domain[domain.length-1],step=d3Array.tickStep(start,stop,null==count?10:count);switch(specifier=d3Format.formatSpecifier(null==specifier?",f":specifier),specifier.type){case"s":var value=Math.max(Math.abs(start),Math.abs(stop));return null!=specifier.precision||isNaN(precision=d3Format.precisionPrefix(step,value))||(specifier.precision=precision),d3Format.formatPrefix(specifier,value);case"":case"e":case"g":case"p":case"r":null!=specifier.precision||isNaN(precision=d3Format.precisionRound(step,Math.max(Math.abs(start),Math.abs(stop))))||(specifier.precision=precision-("e"===specifier.type));break;case"f":case"%":null!=specifier.precision||isNaN(precision=d3Format.precisionFixed(step))||(specifier.precision=precision-2*("%"===specifier.type))}return d3Format.format(specifier)}function linearish(scale){var domain=scale.domain;return scale.ticks=function(count){var d=domain();return d3Array.ticks(d[0],d[d.length-1],null==count?10:count)},scale.tickFormat=function(count,specifier){return tickFormat(domain(),count,specifier)},scale.nice=function(count){var d=domain(),i=d.length-1,n=null==count?10:count,start=d[0],stop=d[i],step=d3Array.tickStep(start,stop,n);return step&&(step=d3Array.tickStep(Math.floor(start/step)*step,Math.ceil(stop/step)*step,n),d[0]=Math.floor(start/step)*step,d[i]=Math.ceil(stop/step)*step,domain(d)),scale},scale}function linear(){var scale=continuous(deinterpolate,d3Interpolate.interpolateNumber);return scale.copy=function(){return copy(scale,linear())},linearish(scale)}function identity(){function scale(x){return+x}var domain=[0,1];return scale.invert=scale,scale.domain=scale.range=function(_){return arguments.length?(domain=map$1.call(_,number),scale):domain.slice()},scale.copy=function(){return identity().domain(domain)},linearish(scale)}function nice(domain,interval){domain=domain.slice();var t,i0=0,i1=domain.length-1,x0=domain[i0],x1=domain[i1];return x1<x0&&(t=i0,i0=i1,i1=t,t=x0,x0=x1,x1=t),domain[i0]=interval.floor(x0),domain[i1]=interval.ceil(x1),domain}function deinterpolate$1(a,b){return(b=Math.log(b/a))?function(x){return Math.log(x/a)/b}:constant(b)}function reinterpolate(a,b){return a<0?function(t){return-Math.pow(-b,t)*Math.pow(-a,1-t)}:function(t){return Math.pow(b,t)*Math.pow(a,1-t)}}function pow10(x){return isFinite(x)?+("1e"+x):x<0?0:x}function powp(base){return 10===base?pow10:base===Math.E?Math.exp:function(x){return Math.pow(base,x)}}function logp(base){return base===Math.E?Math.log:10===base&&Math.log10||2===base&&Math.log2||(base=Math.log(base),function(x){return Math.log(x)/base})}function reflect(f){return function(x){return-f(-x)}}function log(){function rescale(){return logs=logp(base),pows=powp(base),domain()[0]<0&&(logs=reflect(logs),pows=reflect(pows)),scale}var scale=continuous(deinterpolate$1,reinterpolate).domain([1,10]),domain=scale.domain,base=10,logs=logp(10),pows=powp(10);return scale.base=function(_){return arguments.length?(base=+_,rescale()):base},scale.domain=function(_){return arguments.length?(domain(_),rescale()):domain()},scale.ticks=function(count){var r,d=domain(),u=d[0],v=d[d.length-1];(r=v<u)&&(i=u,u=v,v=i);var p,k,t,i=logs(u),j=logs(v),n=null==count?10:+count,z=[];if(!(base%1)&&j-i<n){if(i=Math.round(i)-1,j=Math.round(j)+1,u>0){for(;i<j;++i)for(k=1,p=pows(i);k<base;++k)if(t=p*k,!(t<u)){if(t>v)break;z.push(t)}}else for(;i<j;++i)for(k=base-1,p=pows(i);k>=1;--k)if(t=p*k,!(t<u)){if(t>v)break;z.push(t)}r&&z.reverse()}else z=d3Array.ticks(i,j,Math.min(j-i,n)).map(pows);return z},scale.tickFormat=function(count,specifier){if(null==specifier&&(specifier=10===base?".0e":","),"function"!=typeof specifier&&(specifier=d3Format.format(specifier)),count===1/0)return specifier;null==count&&(count=10);var k=Math.max(1,base*count/scale.ticks().length);return function(d){var i=d/pows(Math.round(logs(d)));return i*base<base-.5&&(i*=base),i<=k?specifier(d):""}},scale.nice=function(){return domain(nice(domain(),{floor:function(x){return pows(Math.floor(logs(x)))},ceil:function(x){return pows(Math.ceil(logs(x)))}}))},scale.copy=function(){return copy(scale,log().base(base))},scale}function raise(x,exponent){return x<0?-Math.pow(-x,exponent):Math.pow(x,exponent)}function pow(){function deinterpolate(a,b){return(b=raise(b,exponent)-(a=raise(a,exponent)))?function(x){return(raise(x,exponent)-a)/b}:constant(b)}function reinterpolate(a,b){return b=raise(b,exponent)-(a=raise(a,exponent)),function(t){return raise(a+b*t,1/exponent)}}var exponent=1,scale=continuous(deinterpolate,reinterpolate),domain=scale.domain;return scale.exponent=function(_){return arguments.length?(exponent=+_,domain(domain())):exponent},scale.copy=function(){return copy(scale,pow().exponent(exponent))},linearish(scale)}function sqrt(){return pow().exponent(.5)}function quantile$1(){function rescale(){var i=0,n=Math.max(1,range.length);for(thresholds=new Array(n-1);++i<n;)thresholds[i-1]=d3Array.quantile(domain,i/n);return scale}function scale(x){if(!isNaN(x=+x))return range[d3Array.bisect(thresholds,x)]}var domain=[],range=[],thresholds=[];return scale.invertExtent=function(y){var i=range.indexOf(y);return i<0?[NaN,NaN]:[i>0?thresholds[i-1]:domain[0],i<thresholds.length?thresholds[i]:domain[domain.length-1]]},scale.domain=function(_){if(!arguments.length)return domain.slice();domain=[];for(var d,i=0,n=_.length;i<n;++i)d=_[i],null==d||isNaN(d=+d)||domain.push(d);return domain.sort(d3Array.ascending),rescale()},scale.range=function(_){return arguments.length?(range=slice.call(_),rescale()):range.slice()},scale.quantiles=function(){return thresholds.slice()},scale.copy=function(){return quantile$1().domain(domain).range(range)},scale}function quantize(){function scale(x){if(x<=x)return range[d3Array.bisect(domain,x,0,n)]}function rescale(){var i=-1;for(domain=new Array(n);++i<n;)domain[i]=((i+1)*x1-(i-n)*x0)/(n+1);return scale}var x0=0,x1=1,n=1,domain=[.5],range=[0,1];return scale.domain=function(_){return arguments.length?(x0=+_[0],x1=+_[1],rescale()):[x0,x1]},scale.range=function(_){return arguments.length?(n=(range=slice.call(_)).length-1,rescale()):range.slice()},scale.invertExtent=function(y){var i=range.indexOf(y);return i<0?[NaN,NaN]:i<1?[x0,domain[0]]:i>=n?[domain[n-1],x1]:[domain[i-1],domain[i]]},scale.copy=function(){return quantize().domain([x0,x1]).range(range)},linearish(scale)}function threshold(){function scale(x){if(x<=x)return range[d3Array.bisect(domain,x,0,n)]}var domain=[.5],range=[0,1],n=1;return scale.domain=function(_){return arguments.length?(domain=slice.call(_),n=Math.min(domain.length,range.length-1),scale):domain.slice()},scale.range=function(_){return arguments.length?(range=slice.call(_),n=Math.min(domain.length,range.length-1),scale):range.slice()},scale.invertExtent=function(y){var i=range.indexOf(y);return[domain[i-1],domain[i]]},scale.copy=function(){return threshold().domain(domain).range(range)},scale}function newDate(t){return new Date(t)}function calendar(year,month,week,day,hour,minute,second,millisecond,format){function tickFormat(date){return(second(date)<date?formatMillisecond:minute(date)<date?formatSecond:hour(date)<date?formatMinute:day(date)<date?formatHour:month(date)<date?week(date)<date?formatDay:formatWeek:year(date)<date?formatMonth:formatYear)(date)}function tickInterval(interval,start,stop,step){if(null==interval&&(interval=10),"number"==typeof interval){var target=Math.abs(stop-start)/interval,i=d3Array.bisector(function(i){return i[2]}).right(tickIntervals,target);i===tickIntervals.length?(step=d3Array.tickStep(start/durationYear,stop/durationYear,interval),interval=year):i?(i=tickIntervals[target/tickIntervals[i-1][2]<tickIntervals[i][2]/target?i-1:i],step=i[1],interval=i[0]):(step=d3Array.tickStep(start,stop,interval),interval=millisecond)}return null==step?interval:interval.every(step)}var scale=continuous(deinterpolate,d3Interpolate.interpolateNumber),invert=scale.invert,domain=scale.domain,formatMillisecond=format(".%L"),formatSecond=format(":%S"),formatMinute=format("%I:%M"),formatHour=format("%I %p"),formatDay=format("%a %d"),formatWeek=format("%b %d"),formatMonth=format("%B"),formatYear=format("%Y"),tickIntervals=[[second,1,durationSecond],[second,5,5*durationSecond],[second,15,15*durationSecond],[second,30,30*durationSecond],[minute,1,durationMinute],[minute,5,5*durationMinute],[minute,15,15*durationMinute],[minute,30,30*durationMinute],[hour,1,durationHour],[hour,3,3*durationHour],[hour,6,6*durationHour],[hour,12,12*durationHour],[day,1,durationDay],[day,2,2*durationDay],[week,1,durationWeek],[month,1,durationMonth],[month,3,3*durationMonth],[year,1,durationYear]];return scale.invert=function(y){return new Date(invert(y))},scale.domain=function(_){return arguments.length?domain(_):domain().map(newDate)},scale.ticks=function(interval,step){var t,d=domain(),t0=d[0],t1=d[d.length-1],r=t1<t0;return r&&(t=t0,t0=t1,t1=t),t=tickInterval(interval,t0,t1,step),t=t?t.range(t0,t1+1):[],r?t.reverse():t},scale.tickFormat=function(specifier){return null==specifier?tickFormat:format(specifier)},scale.nice=function(interval,step){var d=domain();return(interval=tickInterval(interval,d[0],d[d.length-1],step))?domain(nice(d,interval)):scale},scale.copy=function(){return copy(scale,calendar(year,month,week,day,hour,minute,second,millisecond,format))},scale}function time(){return calendar(d3Time.timeYear,d3Time.timeMonth,d3Time.timeWeek,d3Time.timeDay,d3Time.timeHour,d3Time.timeMinute,d3Time.timeSecond,d3Time.timeMillisecond,d3TimeFormat.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}function utcTime(){return calendar(d3Time.utcYear,d3Time.utcMonth,d3Time.utcWeek,d3Time.utcDay,d3Time.utcHour,d3Time.utcMinute,d3Time.utcSecond,d3Time.utcMillisecond,d3TimeFormat.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}function colors(s){return s.match(/.{6}/g).map(function(x){return"#"+x})}function category10(){return ordinal().range(colors10)}function category20b(){return ordinal().range(colors20b)}function category20c(){return ordinal().range(colors20c)}function category20(){return ordinal().range(colors20)}function cubehelix$1(){return linear().interpolate(d3Interpolate.interpolateCubehelixLong).range([d3Color.cubehelix(300,.5,0),d3Color.cubehelix(-240,.5,1)])}function sequential(interpolate){function scale(x){var t=(x-x0)/(x1-x0);return interpolate(clamp?Math.max(0,Math.min(1,t)):t)}var x0=0,x1=1,clamp=!1;return scale.domain=function(_){return arguments.length?(x0=+_[0],x1=+_[1],scale):[x0,x1]},scale.clamp=function(_){return arguments.length?(clamp=!!_,scale):clamp},scale.copy=function(){return sequential(interpolate).domain([x0,x1]).clamp(clamp)},linearish(scale)}function warm(){return sequential(d3Interpolate.interpolateCubehelixLong(d3Color.cubehelix(-100,.75,.35),d3Color.cubehelix(80,1.5,.8)))}function cool(){return sequential(d3Interpolate.interpolateCubehelixLong(d3Color.cubehelix(260,.75,.35),d3Color.cubehelix(80,1.5,.8)))}function rainbow(){var rainbow=d3Color.cubehelix();return sequential(function(t){(t<0||t>1)&&(t-=Math.floor(t));var ts=Math.abs(t-.5);return rainbow.h=360*t-100,rainbow.s=1.5-1.5*ts,rainbow.l=.8-.9*ts,rainbow+""})}function ramp(range){var s=sequential(function(t){return range[Math.round(t*range.length-t)]}).clamp(!0);return delete s.clamp,s}function viridis(){return ramp(rangeViridis)}function magma(){return ramp(rangeMagma)}function inferno(){return ramp(rangeInferno)}function plasma(){return ramp(rangePlasma)}var array=Array.prototype,map$1=array.map,slice=array.slice,implicit={name:"implicit"},unit=[0,1],durationSecond=1e3,durationMinute=60*durationSecond,durationHour=60*durationMinute,durationDay=24*durationHour,durationWeek=7*durationDay,durationMonth=30*durationDay,durationYear=365*durationDay,colors10=colors("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),colors20b=colors("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),colors20c=colors("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),colors20=colors("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),rangeViridis=colors("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"),rangeMagma=colors("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf"),rangeInferno=colors("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4"),rangePlasma=colors("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"),version="0.6.4";exports.version=version,exports.scaleBand=band,exports.scalePoint=point,exports.scaleIdentity=identity,exports.scaleLinear=linear,exports.scaleLog=log,exports.scaleOrdinal=ordinal,exports.scaleImplicit=implicit,exports.scalePow=pow,exports.scaleSqrt=sqrt,exports.scaleQuantile=quantile$1,exports.scaleQuantize=quantize,exports.scaleThreshold=threshold,exports.scaleTime=time,exports.scaleUtc=utcTime,exports.scaleCategory10=category10,exports.scaleCategory20b=category20b,exports.scaleCategory20c=category20c,exports.scaleCategory20=category20,exports.scaleCubehelix=cubehelix$1,exports.scaleRainbow=rainbow,exports.scaleWarm=warm,exports.scaleCool=cool,exports.scaleViridis=viridis,exports.scaleMagma=magma,exports.scaleInferno=inferno,exports.scalePlasma=plasma})},function(module,exports,__webpack_require__){!function(global,factory){factory(exports)}(this,function(exports){"use strict";function ascending(a,b){return a<b?-1:a>b?1:a>=b?0:NaN}function bisector(compare){return 1===compare.length&&(compare=ascendingComparator(compare)),{left:function(a,x,lo,hi){for(null==lo&&(lo=0),null==hi&&(hi=a.length);lo<hi;){var mid=lo+hi>>>1;compare(a[mid],x)<0?lo=mid+1:hi=mid}return lo},right:function(a,x,lo,hi){for(null==lo&&(lo=0),null==hi&&(hi=a.length);lo<hi;){var mid=lo+hi>>>1;compare(a[mid],x)>0?hi=mid:lo=mid+1}return lo}}}function ascendingComparator(f){return function(d,x){return ascending(f(d),x)}}function descending(a,b){return b<a?-1:b>a?1:b>=a?0:NaN}function number$1(x){return null===x?NaN:+x}function variance(array,f){var a,d,n=array.length,m=0,s=0,i=-1,j=0;if(null==f)for(;++i<n;)isNaN(a=number$1(array[i]))||(d=a-m,m+=d/++j,s+=d*(a-m));else for(;++i<n;)isNaN(a=number$1(f(array[i],i,array)))||(d=a-m,m+=d/++j,s+=d*(a-m));if(j>1)return s/(j-1)}function deviation(array,f){var v=variance(array,f);return v?Math.sqrt(v):v}function extent(array,f){var a,b,c,i=-1,n=array.length;if(null==f){for(;++i<n;)if(null!=(b=array[i])&&b>=b){a=c=b;break}for(;++i<n;)null!=(b=array[i])&&(a>b&&(a=b),c<b&&(c=b))}else{for(;++i<n;)if(null!=(b=f(array[i],i,array))&&b>=b){a=c=b;break}for(;++i<n;)null!=(b=f(array[i],i,array))&&(a>b&&(a=b),c<b&&(c=b))}return[a,c]}function constant(x){return function(){return x}}function identity(x){return x}function range(start,stop,step){start=+start,stop=+stop,step=(n=arguments.length)<2?(stop=start,start=0,1):n<3?1:+step;for(var i=-1,n=0|Math.max(0,Math.ceil((stop-start)/step)),range=new Array(n);++i<n;)range[i]=start+i*step;return range}function ticks(start,stop,count){var step=tickStep(start,stop,count);return range(Math.ceil(start/step)*step,Math.floor(stop/step)*step+step/2,step)}function tickStep(start,stop,count){var step0=Math.abs(stop-start)/Math.max(0,count),step1=Math.pow(10,Math.floor(Math.log(step0)/Math.LN10)),error=step0/step1;
return error>=e10?step1*=10:error>=e5?step1*=5:error>=e2&&(step1*=2),stop<start?-step1:step1}function sturges(values){return Math.ceil(Math.log(values.length)/Math.LN2)+1}function number(x){return+x}function histogram(){function histogram(data){var i,x,n=data.length,values=new Array(n);for(i=0;i<n;++i)values[i]=+value(data[i],i,data);var xz=domain(values),x0=+xz[0],x1=+xz[1],tz=threshold(values,x0,x1);Array.isArray(tz)||(tz=ticks(x0,x1,+tz));var m=tz.length;for(i=0;i<m;++i)tz[i]=+tz[i];for(;tz[0]<=x0;)tz.shift(),--m;for(;tz[m-1]>=x1;)tz.pop(),--m;var bin,bins=new Array(m+1);for(i=0;i<=m;++i)bin=bins[i]=[],bin.x0=i>0?tz[i-1]:x0,bin.x1=i<m?tz[i]:x1;for(i=0;i<n;++i)x=values[i],x0<=x&&x<=x1&&bins[bisectRight(tz,x,0,m)].push(data[i]);return bins}var value=identity,domain=extent,threshold=sturges;return histogram.value=function(_){return arguments.length?(value="function"==typeof _?_:constant(+_),histogram):value},histogram.domain=function(_){return arguments.length?(domain="function"==typeof _?_:constant([+_[0],+_[1]]),histogram):domain},histogram.thresholds=function(_){return arguments.length?(threshold="function"==typeof _?_:constant(Array.isArray(_)?Array.prototype.map.call(_,number):+_),histogram):threshold},histogram}function quantile(array,p,f){if(null==f&&(f=number$1),n=array.length){if((p=+p)<=0||n<2)return+f(array[0],0,array);if(p>=1)return+f(array[n-1],n-1,array);var n,h=(n-1)*p,i=Math.floor(h),a=+f(array[i],i,array),b=+f(array[i+1],i+1,array);return a+(b-a)*(h-i)}}function freedmanDiaconis(values,min,max){return values.sort(ascending),Math.ceil((max-min)/(2*(quantile(values,.75)-quantile(values,.25))*Math.pow(values.length,-1/3)))}function scott(values,min,max){return Math.ceil((max-min)/(3.5*deviation(values)*Math.pow(values.length,-1/3)))}function max(array,f){var a,b,i=-1,n=array.length;if(null==f){for(;++i<n;)if(null!=(b=array[i])&&b>=b){a=b;break}for(;++i<n;)null!=(b=array[i])&&b>a&&(a=b)}else{for(;++i<n;)if(null!=(b=f(array[i],i,array))&&b>=b){a=b;break}for(;++i<n;)null!=(b=f(array[i],i,array))&&b>a&&(a=b)}return a}function mean(array,f){var a,s=0,n=array.length,i=-1,j=n;if(null==f)for(;++i<n;)isNaN(a=number$1(array[i]))?--j:s+=a;else for(;++i<n;)isNaN(a=number$1(f(array[i],i,array)))?--j:s+=a;if(j)return s/j}function median(array,f){var a,numbers=[],n=array.length,i=-1;if(null==f)for(;++i<n;)isNaN(a=number$1(array[i]))||numbers.push(a);else for(;++i<n;)isNaN(a=number$1(f(array[i],i,array)))||numbers.push(a);return quantile(numbers.sort(ascending),.5)}function merge(arrays){for(var m,merged,array,n=arrays.length,i=-1,j=0;++i<n;)j+=arrays[i].length;for(merged=new Array(j);--n>=0;)for(array=arrays[n],m=array.length;--m>=0;)merged[--j]=array[m];return merged}function min(array,f){var a,b,i=-1,n=array.length;if(null==f){for(;++i<n;)if(null!=(b=array[i])&&b>=b){a=b;break}for(;++i<n;)null!=(b=array[i])&&a>b&&(a=b)}else{for(;++i<n;)if(null!=(b=f(array[i],i,array))&&b>=b){a=b;break}for(;++i<n;)null!=(b=f(array[i],i,array))&&a>b&&(a=b)}return a}function pairs(array){for(var i=0,n=array.length-1,p=array[0],pairs=new Array(n<0?0:n);i<n;)pairs[i]=[p,p=array[++i]];return pairs}function permute(array,indexes){for(var i=indexes.length,permutes=new Array(i);i--;)permutes[i]=array[indexes[i]];return permutes}function scan(array,compare){if(n=array.length){var n,xi,i=0,j=0,xj=array[j];for(compare||(compare=ascending);++i<n;)(compare(xi=array[i],xj)<0||0!==compare(xj,xj))&&(xj=xi,j=i);return 0===compare(xj,xj)?j:void 0}}function shuffle(array,i0,i1){for(var t,i,m=(null==i1?array.length:i1)-(i0=null==i0?0:+i0);m;)i=Math.random()*m--|0,t=array[m+i0],array[m+i0]=array[i+i0],array[i+i0]=t;return array}function sum(array,f){var a,s=0,n=array.length,i=-1;if(null==f)for(;++i<n;)(a=+array[i])&&(s+=a);else for(;++i<n;)(a=+f(array[i],i,array))&&(s+=a);return s}function transpose(matrix){if(!(n=matrix.length))return[];for(var i=-1,m=min(matrix,length),transpose=new Array(m);++i<m;)for(var n,j=-1,row=transpose[i]=new Array(n);++j<n;)row[j]=matrix[j][i];return transpose}function length(d){return d.length}function zip(){return transpose(arguments)}var ascendingBisect=bisector(ascending),bisectRight=ascendingBisect.right,bisectLeft=ascendingBisect.left,e10=Math.sqrt(50),e5=Math.sqrt(10),e2=Math.sqrt(2),version="0.7.1";exports.version=version,exports.bisect=bisectRight,exports.bisectRight=bisectRight,exports.bisectLeft=bisectLeft,exports.ascending=ascending,exports.bisector=bisector,exports.descending=descending,exports.deviation=deviation,exports.extent=extent,exports.histogram=histogram,exports.thresholdFreedmanDiaconis=freedmanDiaconis,exports.thresholdScott=scott,exports.thresholdSturges=sturges,exports.max=max,exports.mean=mean,exports.median=median,exports.merge=merge,exports.min=min,exports.pairs=pairs,exports.permute=permute,exports.quantile=quantile,exports.range=range,exports.scan=scan,exports.shuffle=shuffle,exports.sum=sum,exports.ticks=ticks,exports.tickStep=tickStep,exports.transpose=transpose,exports.variance=variance,exports.zip=zip})},function(module,exports,__webpack_require__){!function(global,factory){factory(exports)}(this,function(exports){"use strict";function Map(){}function map(object,f){var map=new Map;if(object instanceof Map)object.each(function(value,key){map.set(key,value)});else if(Array.isArray(object)){var o,i=-1,n=object.length;if(null==f)for(;++i<n;)map.set(i,object[i]);else for(;++i<n;)map.set(f(o=object[i],i,object),o)}else if(object)for(var key in object)map.set(key,object[key]);return map}function nest(){function apply(array,depth,createResult,setResult){if(depth>=keys.length)return rollup?rollup(array):sortValues?array.sort(sortValues):array;for(var keyValue,value,values,i=-1,n=array.length,key=keys[depth++],valuesByKey=map(),result=createResult();++i<n;)(values=valuesByKey.get(keyValue=key(value=array[i])+""))?values.push(value):valuesByKey.set(keyValue,[value]);return valuesByKey.each(function(values,key){setResult(result,key,apply(values,depth,createResult,setResult))}),result}function entries(map,depth){if(depth>=keys.length)return map;var array=[],sortKey=sortKeys[depth++];return map.each(function(value,key){array.push({key:key,values:entries(value,depth)})}),sortKey?array.sort(function(a,b){return sortKey(a.key,b.key)}):array}var sortValues,rollup,nest,keys=[],sortKeys=[];return nest={object:function(array){return apply(array,0,createObject,setObject)},map:function(array){return apply(array,0,createMap,setMap)},entries:function(array){return entries(apply(array,0,createMap,setMap),0)},key:function(d){return keys.push(d),nest},sortKeys:function(order){return sortKeys[keys.length-1]=order,nest},sortValues:function(order){return sortValues=order,nest},rollup:function(f){return rollup=f,nest}}}function createObject(){return{}}function setObject(object,key,value){object[key]=value}function createMap(){return map()}function setMap(map,key,value){map.set(key,value)}function Set(){}function set(object,f){var set=new Set;if(object instanceof Set)object.each(function(value){set.add(value)});else if(object){var i=-1,n=object.length;if(null==f)for(;++i<n;)set.add(object[i]);else for(;++i<n;)set.add(f(object[i],i,object))}return set}function keys(map){var keys=[];for(var key in map)keys.push(key);return keys}function values(map){var values=[];for(var key in map)values.push(map[key]);return values}function entries(map){var entries=[];for(var key in map)entries.push({key:key,value:map[key]});return entries}var prefix="$";Map.prototype=map.prototype={constructor:Map,has:function(key){return prefix+key in this},get:function(key){return this[prefix+key]},set:function(key,value){return this[prefix+key]=value,this},remove:function(key){var property=prefix+key;return property in this&&delete this[property]},clear:function(){for(var property in this)property[0]===prefix&&delete this[property]},keys:function(){var keys=[];for(var property in this)property[0]===prefix&&keys.push(property.slice(1));return keys},values:function(){var values=[];for(var property in this)property[0]===prefix&&values.push(this[property]);return values},entries:function(){var entries=[];for(var property in this)property[0]===prefix&&entries.push({key:property.slice(1),value:this[property]});return entries},size:function(){var size=0;for(var property in this)property[0]===prefix&&++size;return size},empty:function(){for(var property in this)if(property[0]===prefix)return!1;return!0},each:function(f){for(var property in this)property[0]===prefix&&f(this[property],property.slice(1),this)}};var proto=map.prototype;Set.prototype=set.prototype={constructor:Set,has:proto.has,add:function(value){return value+="",this[prefix+value]=value,this},remove:proto.remove,clear:proto.clear,values:proto.keys,size:proto.size,empty:proto.empty,each:proto.each};var version="0.1.2";exports.version=version,exports.nest=nest,exports.set=set,exports.map=map,exports.keys=keys,exports.values=values,exports.entries=entries})},function(module,exports,__webpack_require__){!function(global,factory){factory(exports,__webpack_require__(19))}(this,function(exports,d3Color){"use strict";function constant(x){return function(){return x}}function linear(a,d){return function(t){return a+t*d}}function exponential(a,b,y){return a=Math.pow(a,y),b=Math.pow(b,y)-a,y=1/y,function(t){return Math.pow(a+t*b,y)}}function interpolateHue(a,b){var d=b-a;return d?linear(a,d>180||d<-180?d-360*Math.round(d/360):d):constant(isNaN(a)?b:a)}function gamma(y){return 1===(y=+y)?nogamma:function(a,b){return b-a?exponential(a,b,y):constant(isNaN(a)?b:a)}}function nogamma(a,b){var d=b-a;return d?linear(a,d):constant(isNaN(a)?b:a)}function array(a,b){var i,x=[],c=[],na=a?a.length:0,nb=b?b.length:0,n0=Math.min(na,nb);for(i=0;i<n0;++i)x.push(value(a[i],b[i]));for(;i<na;++i)c[i]=a[i];for(;i<nb;++i)c[i]=b[i];return function(t){for(i=0;i<n0;++i)c[i]=x[i](t);return c}}function number(a,b){return a=+a,b-=a,function(t){return a+b*t}}function object(a,b){var k,i={},c={};null!==a&&"object"==typeof a||(a={}),null!==b&&"object"==typeof b||(b={});for(k in a)k in b?i[k]=value(a[k],b[k]):c[k]=a[k];for(k in b)k in a||(c[k]=b[k]);return function(t){for(k in i)c[k]=i[k](t);return c}}function zero(b){return function(){return b}}function one(b){return function(t){return b(t)+""}}function string(a,b){var am,bm,bs,bi=reA.lastIndex=reB.lastIndex=0,i=-1,s=[],q=[];for(a+="",b+="";(am=reA.exec(a))&&(bm=reB.exec(b));)(bs=bm.index)>bi&&(bs=b.slice(bi,bs),s[i]?s[i]+=bs:s[++i]=bs),(am=am[0])===(bm=bm[0])?s[i]?s[i]+=bm:s[++i]=bm:(s[++i]=null,q.push({i:i,x:number(am,bm)})),bi=reB.lastIndex;return bi<b.length&&(bs=b.slice(bi),s[i]?s[i]+=bs:s[++i]=bs),s.length<2?q[0]?one(q[0].x):zero(b):(b=q.length,function(t){for(var o,i=0;i<b;++i)s[(o=q[i]).i]=o.x(t);return s.join("")})}function value(a,b){var c,t=typeof b;return null==b||"boolean"===t?constant(b):("number"===t?number:"string"===t?(c=d3Color.color(b))?(b=c,rgb$1):string:b instanceof d3Color.color?rgb$1:Array.isArray(b)?array:object)(a,b)}function round(a,b){return a=+a,b-=a,function(t){return Math.round(a+b*t)}}function decompose(a,b,c,d,e,f){if(a*d===b*c)return null;var scaleX=Math.sqrt(a*a+b*b);a/=scaleX,b/=scaleX;var skewX=a*c+b*d;c-=a*skewX,d-=b*skewX;var scaleY=Math.sqrt(c*c+d*d);return c/=scaleY,d/=scaleY,skewX/=scaleY,a*d<b*c&&(a=-a,b=-b,skewX=-skewX,scaleX=-scaleX),{translateX:e,translateY:f,rotate:Math.atan2(b,a)*rad2deg,skewX:Math.atan(skewX)*rad2deg,scaleX:scaleX,scaleY:scaleY}}function parseCss(value){if("none"===value)return identity;cssNode||(cssNode=document.createElement("DIV"),cssRoot=document.documentElement,cssView=document.defaultView),cssNode.style.transform=value,value=cssView.getComputedStyle(cssRoot.appendChild(cssNode),null).getPropertyValue("transform"),cssRoot.removeChild(cssNode);var m=value.slice(7,-1).split(",");return decompose(+m[0],+m[1],+m[2],+m[3],+m[4],+m[5])}function parseSvg(value){svgNode||(svgNode=document.createElementNS("http://www.w3.org/2000/svg","g")),svgNode.setAttribute("transform",null==value?"":value);var m=svgNode.transform.baseVal.consolidate().matrix;return decompose(m.a,m.b,m.c,m.d,m.e,m.f)}function interpolateTransform(parse,pxComma,pxParen,degParen){function pop(s){return s.length?s.pop()+" ":""}function translate(xa,ya,xb,yb,s,q){if(xa!==xb||ya!==yb){var i=s.push("translate(",null,pxComma,null,pxParen);q.push({i:i-4,x:number(xa,xb)},{i:i-2,x:number(ya,yb)})}else(xb||yb)&&s.push("translate("+xb+pxComma+yb+pxParen)}function rotate(a,b,s,q){a!==b?(a-b>180?b+=360:b-a>180&&(a+=360),q.push({i:s.push(pop(s)+"rotate(",null,degParen)-2,x:number(a,b)})):b&&s.push(pop(s)+"rotate("+b+degParen)}function skewX(a,b,s,q){a!==b?q.push({i:s.push(pop(s)+"skewX(",null,degParen)-2,x:number(a,b)}):b&&s.push(pop(s)+"skewX("+b+degParen)}function scale(xa,ya,xb,yb,s,q){if(xa!==xb||ya!==yb){var i=s.push(pop(s)+"scale(",null,",",null,")");q.push({i:i-4,x:number(xa,xb)},{i:i-2,x:number(ya,yb)})}else 1===xb&&1===yb||s.push(pop(s)+"scale("+xb+","+yb+")")}return function(a,b){var s=[],q=[];return a=parse(a),b=parse(b),translate(a.translateX,a.translateY,b.translateX,b.translateY,s,q),rotate(a.rotate,b.rotate,s,q),skewX(a.skewX,b.skewX,s,q),scale(a.scaleX,a.scaleY,b.scaleX,b.scaleY,s,q),a=b=null,function(t){for(var o,i=-1,n=q.length;++i<n;)s[(o=q[i]).i]=o.x(t);return s.join("")}}}function cosh(x){return((x=Math.exp(x))+1/x)/2}function sinh(x){return((x=Math.exp(x))-1/x)/2}function tanh(x){return((x=Math.exp(2*x))-1)/(x+1)}function zoom(p0,p1){var i,S,ux0=p0[0],uy0=p0[1],w0=p0[2],ux1=p1[0],uy1=p1[1],w1=p1[2],dx=ux1-ux0,dy=uy1-uy0,d2=dx*dx+dy*dy;if(d2<epsilon2)S=Math.log(w1/w0)/rho,i=function(t){return[ux0+t*dx,uy0+t*dy,w0*Math.exp(rho*t*S)]};else{var d1=Math.sqrt(d2),b0=(w1*w1-w0*w0+rho4*d2)/(2*w0*rho2*d1),b1=(w1*w1-w0*w0-rho4*d2)/(2*w1*rho2*d1),r0=Math.log(Math.sqrt(b0*b0+1)-b0),r1=Math.log(Math.sqrt(b1*b1+1)-b1);S=(r1-r0)/rho,i=function(t){var s=t*S,coshr0=cosh(r0),u=w0/(rho2*d1)*(coshr0*tanh(rho*s+r0)-sinh(r0));return[ux0+u*dx,uy0+u*dy,w0*coshr0/cosh(rho*s+r0)]}}return i.duration=1e3*S,i}function interpolateHsl(start,end){var h=interpolateHue((start=d3Color.hsl(start)).h,(end=d3Color.hsl(end)).h),s=nogamma(start.s,end.s),l=nogamma(start.l,end.l),opacity=nogamma(start.opacity,end.opacity);return function(t){return start.h=h(t),start.s=s(t),start.l=l(t),start.opacity=opacity(t),start+""}}function interpolateHslLong(start,end){var h=nogamma((start=d3Color.hsl(start)).h,(end=d3Color.hsl(end)).h),s=nogamma(start.s,end.s),l=nogamma(start.l,end.l),opacity=nogamma(start.opacity,end.opacity);return function(t){return start.h=h(t),start.s=s(t),start.l=l(t),start.opacity=opacity(t),start+""}}function interpolateLab(start,end){var l=nogamma((start=d3Color.lab(start)).l,(end=d3Color.lab(end)).l),a=nogamma(start.a,end.a),b=nogamma(start.b,end.b),opacity=nogamma(start.opacity,end.opacity);return function(t){return start.l=l(t),start.a=a(t),start.b=b(t),start.opacity=opacity(t),start+""}}function interpolateHcl(start,end){var h=interpolateHue((start=d3Color.hcl(start)).h,(end=d3Color.hcl(end)).h),c=nogamma(start.c,end.c),l=nogamma(start.l,end.l),opacity=nogamma(start.opacity,end.opacity);return function(t){return start.h=h(t),start.c=c(t),start.l=l(t),start.opacity=opacity(t),start+""}}function interpolateHclLong(start,end){var h=nogamma((start=d3Color.hcl(start)).h,(end=d3Color.hcl(end)).h),c=nogamma(start.c,end.c),l=nogamma(start.l,end.l),opacity=nogamma(start.opacity,end.opacity);return function(t){return start.h=h(t),start.c=c(t),start.l=l(t),start.opacity=opacity(t),start+""}}var cssNode,cssRoot,cssView,svgNode,rgb$1=function gamma$$(y){function interpolateRgb(start,end){var r=interpolateColor((start=d3Color.rgb(start)).r,(end=d3Color.rgb(end)).r),g=interpolateColor(start.g,end.g),b=interpolateColor(start.b,end.b),opacity=interpolateColor(start.opacity,end.opacity);return function(t){return start.r=r(t),start.g=g(t),start.b=b(t),start.opacity=opacity(t),start+""}}var interpolateColor=gamma(y);return interpolateRgb.gamma=gamma$$,interpolateRgb}(1),reA=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,reB=new RegExp(reA.source,"g"),rad2deg=180/Math.PI,identity={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},interpolateTransformCss=interpolateTransform(parseCss,"px, ","px)","deg)"),interpolateTransformSvg=interpolateTransform(parseSvg,", ",")",")"),rho=Math.SQRT2,rho2=2,rho4=4,epsilon2=1e-12,cubehelix$1=function gamma(y){function interpolateCubehelix(start,end){var h=interpolateHue((start=d3Color.cubehelix(start)).h,(end=d3Color.cubehelix(end)).h),s=nogamma(start.s,end.s),l=nogamma(start.l,end.l),opacity=nogamma(start.opacity,end.opacity);return function(t){return start.h=h(t),start.s=s(t),start.l=l(Math.pow(t,y)),start.opacity=opacity(t),start+""}}return y=+y,interpolateCubehelix.gamma=gamma,interpolateCubehelix}(1),cubehelixLong=function gamma(y){function interpolateCubehelixLong(start,end){var h=nogamma((start=d3Color.cubehelix(start)).h,(end=d3Color.cubehelix(end)).h),s=nogamma(start.s,end.s),l=nogamma(start.l,end.l),opacity=nogamma(start.opacity,end.opacity);return function(t){return start.h=h(t),start.s=s(t),start.l=l(Math.pow(t,y)),start.opacity=opacity(t),start+""}}return y=+y,interpolateCubehelixLong.gamma=gamma,interpolateCubehelixLong}(1),version="0.7.0";exports.version=version,exports.interpolate=value,exports.interpolateArray=array,exports.interpolateNumber=number,exports.interpolateObject=object,exports.interpolateRound=round,exports.interpolateString=string,exports.interpolateTransformCss=interpolateTransformCss,exports.interpolateTransformSvg=interpolateTransformSvg,exports.interpolateZoom=zoom,exports.interpolateRgb=rgb$1,exports.interpolateHsl=interpolateHsl,exports.interpolateHslLong=interpolateHslLong,exports.interpolateLab=interpolateLab,exports.interpolateHcl=interpolateHcl,exports.interpolateHclLong=interpolateHclLong,exports.interpolateCubehelix=cubehelix$1,exports.interpolateCubehelixLong=cubehelixLong})},function(module,exports,__webpack_require__){!function(global,factory){factory(exports)}(this,function(exports){"use strict";function define(constructor,factory,prototype){constructor.prototype=factory.prototype=prototype,prototype.constructor=constructor}function extend(parent,definition){var prototype=Object.create(parent.prototype);for(var key in definition)prototype[key]=definition[key];return prototype}function Color(){}function color(format){var m;return format=(format+"").trim().toLowerCase(),(m=reHex3.exec(format))?(m=parseInt(m[1],16),new Rgb(m>>8&15|m>>4&240,m>>4&15|240&m,(15&m)<<4|15&m,1)):(m=reHex6.exec(format))?rgbn(parseInt(m[1],16)):(m=reRgbInteger.exec(format))?new Rgb(m[1],m[2],m[3],1):(m=reRgbPercent.exec(format))?new Rgb(255*m[1]/100,255*m[2]/100,255*m[3]/100,1):(m=reRgbaInteger.exec(format))?rgba(m[1],m[2],m[3],m[4]):(m=reRgbaPercent.exec(format))?rgba(255*m[1]/100,255*m[2]/100,255*m[3]/100,m[4]):(m=reHslPercent.exec(format))?hsla(m[1],m[2]/100,m[3]/100,1):(m=reHslaPercent.exec(format))?hsla(m[1],m[2]/100,m[3]/100,m[4]):named.hasOwnProperty(format)?rgbn(named[format]):"transparent"===format?new Rgb(NaN,NaN,NaN,0):null}function rgbn(n){return new Rgb(n>>16&255,n>>8&255,255&n,1)}function rgba(r,g,b,a){return a<=0&&(r=g=b=NaN),new Rgb(r,g,b,a)}function rgbConvert(o){return o instanceof Color||(o=color(o)),o?(o=o.rgb(),new Rgb(o.r,o.g,o.b,o.opacity)):new Rgb}function rgb(r,g,b,opacity){return 1===arguments.length?rgbConvert(r):new Rgb(r,g,b,null==opacity?1:opacity)}function Rgb(r,g,b,opacity){this.r=+r,this.g=+g,this.b=+b,this.opacity=+opacity}function hsla(h,s,l,a){return a<=0?h=s=l=NaN:l<=0||l>=1?h=s=NaN:s<=0&&(h=NaN),new Hsl(h,s,l,a)}function hslConvert(o){if(o instanceof Hsl)return new Hsl(o.h,o.s,o.l,o.opacity);if(o instanceof Color||(o=color(o)),!o)return new Hsl;if(o instanceof Hsl)return o;o=o.rgb();var r=o.r/255,g=o.g/255,b=o.b/255,min=Math.min(r,g,b),max=Math.max(r,g,b),h=NaN,s=max-min,l=(max+min)/2;return s?(h=r===max?(g-b)/s+6*(g<b):g===max?(b-r)/s+2:(r-g)/s+4,s/=l<.5?max+min:2-max-min,h*=60):s=l>0&&l<1?0:h,new Hsl(h,s,l,o.opacity)}function hsl(h,s,l,opacity){return 1===arguments.length?hslConvert(h):new Hsl(h,s,l,null==opacity?1:opacity)}function Hsl(h,s,l,opacity){this.h=+h,this.s=+s,this.l=+l,this.opacity=+opacity}function hsl2rgb(h,m1,m2){return 255*(h<60?m1+(m2-m1)*h/60:h<180?m2:h<240?m1+(m2-m1)*(240-h)/60:m1)}function labConvert(o){if(o instanceof Lab)return new Lab(o.l,o.a,o.b,o.opacity);if(o instanceof Hcl){var h=o.h*deg2rad;return new Lab(o.l,Math.cos(h)*o.c,Math.sin(h)*o.c,o.opacity)}o instanceof Rgb||(o=rgbConvert(o));var b=rgb2xyz(o.r),a=rgb2xyz(o.g),l=rgb2xyz(o.b),x=xyz2lab((.4124564*b+.3575761*a+.1804375*l)/Xn),y=xyz2lab((.2126729*b+.7151522*a+.072175*l)/Yn),z=xyz2lab((.0193339*b+.119192*a+.9503041*l)/Zn);return new Lab(116*y-16,500*(x-y),200*(y-z),o.opacity)}function lab(l,a,b,opacity){return 1===arguments.length?labConvert(l):new Lab(l,a,b,null==opacity?1:opacity)}function Lab(l,a,b,opacity){this.l=+l,this.a=+a,this.b=+b,this.opacity=+opacity}function xyz2lab(t){return t>t3?Math.pow(t,1/3):t/t2+t0}function lab2xyz(t){return t>t1?t*t*t:t2*(t-t0)}function xyz2rgb(x){return 255*(x<=.0031308?12.92*x:1.055*Math.pow(x,1/2.4)-.055)}function rgb2xyz(x){return(x/=255)<=.04045?x/12.92:Math.pow((x+.055)/1.055,2.4)}function hclConvert(o){if(o instanceof Hcl)return new Hcl(o.h,o.c,o.l,o.opacity);o instanceof Lab||(o=labConvert(o));var h=Math.atan2(o.b,o.a)*rad2deg;return new Hcl(h<0?h+360:h,Math.sqrt(o.a*o.a+o.b*o.b),o.l,o.opacity)}function hcl(h,c,l,opacity){return 1===arguments.length?hclConvert(h):new Hcl(h,c,l,null==opacity?1:opacity)}function Hcl(h,c,l,opacity){this.h=+h,this.c=+c,this.l=+l,this.opacity=+opacity}function cubehelixConvert(o){if(o instanceof Cubehelix)return new Cubehelix(o.h,o.s,o.l,o.opacity);o instanceof Rgb||(o=rgbConvert(o));var r=o.r/255,g=o.g/255,b=o.b/255,l=(BC_DA*b+ED*r-EB*g)/(BC_DA+ED-EB),bl=b-l,k=(E*(g-l)-C*bl)/D,s=Math.sqrt(k*k+bl*bl)/(E*l*(1-l)),h=s?Math.atan2(k,bl)*rad2deg-120:NaN;return new Cubehelix(h<0?h+360:h,s,l,o.opacity)}function cubehelix(h,s,l,opacity){return 1===arguments.length?cubehelixConvert(h):new Cubehelix(h,s,l,null==opacity?1:opacity)}function Cubehelix(h,s,l,opacity){this.h=+h,this.s=+s,this.l=+l,this.opacity=+opacity}var darker=.7,brighter=1/darker,reHex3=/^#([0-9a-f]{3})$/,reHex6=/^#([0-9a-f]{6})$/,reRgbInteger=/^rgb\(\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*\)$/,reRgbPercent=/^rgb\(\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/,reRgbaInteger=/^rgba\(\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+)\s*,\s*([-+]?\d+(?:\.\d+)?)\s*\)$/,reRgbaPercent=/^rgba\(\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)\s*\)$/,reHslPercent=/^hsl\(\s*([-+]?\d+(?:\.\d+)?)\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*\)$/,reHslaPercent=/^hsla\(\s*([-+]?\d+(?:\.\d+)?)\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)%\s*,\s*([-+]?\d+(?:\.\d+)?)\s*\)$/,named={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};define(Color,color,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),define(Rgb,rgb,extend(Color,{brighter:function(k){return k=null==k?brighter:Math.pow(brighter,k),new Rgb(this.r*k,this.g*k,this.b*k,this.opacity)},darker:function(k){return k=null==k?darker:Math.pow(darker,k),new Rgb(this.r*k,this.g*k,this.b*k,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 a=this.opacity;return a=isNaN(a)?1:Math.max(0,Math.min(1,a)),(1===a?"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===a?")":", "+a+")")}})),define(Hsl,hsl,extend(Color,{brighter:function(k){return k=null==k?brighter:Math.pow(brighter,k),new Hsl(this.h,this.s,this.l*k,this.opacity)},darker:function(k){return k=null==k?darker:Math.pow(darker,k),new Hsl(this.h,this.s,this.l*k,this.opacity)},rgb:function(){var h=this.h%360+360*(this.h<0),s=isNaN(h)||isNaN(this.s)?0:this.s,l=this.l,m2=l+(l<.5?l:1-l)*s,m1=2*l-m2;return new Rgb(hsl2rgb(h>=240?h-240:h+120,m1,m2),hsl2rgb(h,m1,m2),hsl2rgb(h<120?h+240:h-120,m1,m2),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}}));var deg2rad=Math.PI/180,rad2deg=180/Math.PI,Kn=18,Xn=.95047,Yn=1,Zn=1.08883,t0=4/29,t1=6/29,t2=3*t1*t1,t3=t1*t1*t1;define(Lab,lab,extend(Color,{brighter:function(k){return new Lab(this.l+Kn*(null==k?1:k),this.a,this.b,this.opacity)},darker:function(k){return new Lab(this.l-Kn*(null==k?1:k),this.a,this.b,this.opacity)},rgb:function(){var y=(this.l+16)/116,x=isNaN(this.a)?y:y+this.a/500,z=isNaN(this.b)?y:y-this.b/200;return y=Yn*lab2xyz(y),x=Xn*lab2xyz(x),z=Zn*lab2xyz(z),new Rgb(xyz2rgb(3.2404542*x-1.5371385*y-.4985314*z),xyz2rgb(-.969266*x+1.8760108*y+.041556*z),xyz2rgb(.0556434*x-.2040259*y+1.0572252*z),this.opacity)}})),define(Hcl,hcl,extend(Color,{brighter:function(k){return new Hcl(this.h,this.c,this.l+Kn*(null==k?1:k),this.opacity)},darker:function(k){return new Hcl(this.h,this.c,this.l-Kn*(null==k?1:k),this.opacity)},rgb:function(){return labConvert(this).rgb()}}));var A=-.14861,B=1.78277,C=-.29227,D=-.90649,E=1.97294,ED=E*D,EB=E*B,BC_DA=B*C-D*A;define(Cubehelix,cubehelix,extend(Color,{brighter:function(k){return k=null==k?brighter:Math.pow(brighter,k),new Cubehelix(this.h,this.s,this.l*k,this.opacity)},darker:function(k){return k=null==k?darker:Math.pow(darker,k),new Cubehelix(this.h,this.s,this.l*k,this.opacity)},rgb:function(){var h=isNaN(this.h)?0:(this.h+120)*deg2rad,l=+this.l,a=isNaN(this.s)?0:this.s*l*(1-l),cosh=Math.cos(h),sinh=Math.sin(h);return new Rgb(255*(l+a*(A*cosh+B*sinh)),255*(l+a*(C*cosh+D*sinh)),255*(l+a*(E*cosh)),this.opacity)}}));var version="0.4.2";exports.version=version,exports.color=color,exports.rgb=rgb,exports.hsl=hsl,exports.lab=lab,exports.hcl=hcl,exports.cubehelix=cubehelix})},function(module,exports,__webpack_require__){!function(global,factory){factory(exports)}(this,function(exports){"use strict";function formatDecimal(x,p){if((i=(x=p?x.toExponential(p-1):x.toExponential()).indexOf("e"))<0)return null;var i,coefficient=x.slice(0,i);return[coefficient.length>1?coefficient[0]+coefficient.slice(2):coefficient,+x.slice(i+1)]}function exponent(x){return x=formatDecimal(Math.abs(x)),x?x[1]:NaN}function formatGroup(grouping,thousands){return function(value,width){for(var i=value.length,t=[],j=0,g=grouping[0],length=0;i>0&&g>0&&(length+g+1>width&&(g=Math.max(1,width-length)),t.push(value.substring(i-=g,i+g)),!((length+=g+1)>width));)g=grouping[j=(j+1)%grouping.length];return t.reverse().join(thousands)}}function formatDefault(x,p){x=x.toPrecision(p);out:for(var i1,n=x.length,i=1,i0=-1;i<n;++i)switch(x[i]){case".":i0=i1=i;break;case"0":0===i0&&(i0=i),i1=i;break;case"e":break out;default:i0>0&&(i0=0)}return i0>0?x.slice(0,i0)+x.slice(i1+1):x}function formatPrefixAuto(x,p){var d=formatDecimal(x,p);if(!d)return x+"";var coefficient=d[0],exponent=d[1],i=exponent-(prefixExponent=3*Math.max(-8,Math.min(8,Math.floor(exponent/3))))+1,n=coefficient.length;return i===n?coefficient:i>n?coefficient+new Array(i-n+1).join("0"):i>0?coefficient.slice(0,i)+"."+coefficient.slice(i):"0."+new Array(1-i).join("0")+formatDecimal(x,Math.max(0,p+i-1))[0]}function formatRounded(x,p){var d=formatDecimal(x,p);if(!d)return x+"";var coefficient=d[0],exponent=d[1];return exponent<0?"0."+new Array(-exponent).join("0")+coefficient:coefficient.length>exponent+1?coefficient.slice(0,exponent+1)+"."+coefficient.slice(exponent+1):coefficient+new Array(exponent-coefficient.length+2).join("0")}function formatSpecifier(specifier){return new FormatSpecifier(specifier)}function FormatSpecifier(specifier){if(!(match=re.exec(specifier)))throw new Error("invalid format: "+specifier);var match,fill=match[1]||" ",align=match[2]||">",sign=match[3]||"-",symbol=match[4]||"",zero=!!match[5],width=match[6]&&+match[6],comma=!!match[7],precision=match[8]&&+match[8].slice(1),type=match[9]||"";"n"===type?(comma=!0,type="g"):formatTypes[type]||(type=""),(zero||"0"===fill&&"="===align)&&(zero=!0,fill="0",align="="),this.fill=fill,this.align=align,this.sign=sign,this.symbol=symbol,this.zero=zero,this.width=width,this.comma=comma,this.precision=precision,this.type=type}function identity(x){return x}function locale(locale){function newFormat(specifier){function format(value){var i,n,c,valuePrefix=prefix,valueSuffix=suffix;if("c"===type)valueSuffix=formatType(value)+valueSuffix,value="";else{value=+value;var valueNegative=(value<0||1/value<0)&&(value*=-1,!0);if(value=formatType(value,precision),valueNegative)for(i=-1,n=value.length,valueNegative=!1;++i<n;)if(c=value.charCodeAt(i),48<c&&c<58||"x"===type&&96<c&&c<103||"X"===type&&64<c&&c<71){valueNegative=!0;break}if(valuePrefix=(valueNegative?"("===sign?sign:"-":"-"===sign||"("===sign?"":sign)+valuePrefix,valueSuffix=valueSuffix+("s"===type?prefixes[8+prefixExponent/3]:"")+(valueNegative&&"("===sign?")":""),maybeSuffix)for(i=-1,n=value.length;++i<n;)if(c=value.charCodeAt(i),48>c||c>57){valueSuffix=(46===c?decimal+value.slice(i+1):value.slice(i))+valueSuffix,value=value.slice(0,i);break}
}comma&&!zero&&(value=group(value,1/0));var length=valuePrefix.length+value.length+valueSuffix.length,padding=length<width?new Array(width-length+1).join(fill):"";switch(comma&&zero&&(value=group(padding+value,padding.length?width-valueSuffix.length:1/0),padding=""),align){case"<":return valuePrefix+value+valueSuffix+padding;case"=":return valuePrefix+padding+value+valueSuffix;case"^":return padding.slice(0,length=padding.length>>1)+valuePrefix+value+valueSuffix+padding.slice(length)}return padding+valuePrefix+value+valueSuffix}specifier=formatSpecifier(specifier);var fill=specifier.fill,align=specifier.align,sign=specifier.sign,symbol=specifier.symbol,zero=specifier.zero,width=specifier.width,comma=specifier.comma,precision=specifier.precision,type=specifier.type,prefix="$"===symbol?currency[0]:"#"===symbol&&/[boxX]/.test(type)?"0"+type.toLowerCase():"",suffix="$"===symbol?currency[1]:/[%p]/.test(type)?"%":"",formatType=formatTypes[type],maybeSuffix=!type||/[defgprs%]/.test(type);return precision=null==precision?type?6:12:/[gprs]/.test(type)?Math.max(1,Math.min(21,precision)):Math.max(0,Math.min(20,precision)),format.toString=function(){return specifier+""},format}function formatPrefix(specifier,value){var f=newFormat((specifier=formatSpecifier(specifier),specifier.type="f",specifier)),e=3*Math.max(-8,Math.min(8,Math.floor(exponent(value)/3))),k=Math.pow(10,-e),prefix=prefixes[8+e/3];return function(value){return f(k*value)+prefix}}var group=locale.grouping&&locale.thousands?formatGroup(locale.grouping,locale.thousands):identity,currency=locale.currency,decimal=locale.decimal;return{format:newFormat,formatPrefix:formatPrefix}}function precisionFixed(step){return Math.max(0,-exponent(Math.abs(step)))}function precisionPrefix(step,value){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(exponent(value)/3)))-exponent(Math.abs(step)))}function precisionRound(step,max){return step=Math.abs(step),max=Math.abs(max)-step,Math.max(0,exponent(max)-exponent(step))+1}var prefixExponent,formatTypes={"":formatDefault,"%":function(x,p){return(100*x).toFixed(p)},b:function(x){return Math.round(x).toString(2)},c:function(x){return x+""},d:function(x){return Math.round(x).toString(10)},e:function(x,p){return x.toExponential(p)},f:function(x,p){return x.toFixed(p)},g:function(x,p){return x.toPrecision(p)},o:function(x){return Math.round(x).toString(8)},p:function(x,p){return formatRounded(100*x,p)},r:formatRounded,s:formatPrefixAuto,X:function(x){return Math.round(x).toString(16).toUpperCase()},x:function(x){return Math.round(x).toString(16)}},re=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;FormatSpecifier.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};var prefixes=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],defaultLocale=locale({decimal:".",thousands:",",grouping:[3],currency:["$",""]}),caES=locale({decimal:",",thousands:".",grouping:[3],currency:[""," €"]}),csCZ=locale({decimal:",",thousands:" ",grouping:[3],currency:[""," Kč"]}),deCH=locale({decimal:",",thousands:"'",grouping:[3],currency:[""," CHF"]}),deDE=locale({decimal:",",thousands:".",grouping:[3],currency:[""," €"]}),enCA=locale({decimal:".",thousands:",",grouping:[3],currency:["$",""]}),enGB=locale({decimal:".",thousands:",",grouping:[3],currency:["£",""]}),esES=locale({decimal:",",thousands:".",grouping:[3],currency:[""," €"]}),fiFI=locale({decimal:",",thousands:" ",grouping:[3],currency:[""," €"]}),frCA=locale({decimal:",",thousands:" ",grouping:[3],currency:["","$"]}),frFR=locale({decimal:",",thousands:".",grouping:[3],currency:[""," €"]}),heIL=locale({decimal:".",thousands:",",grouping:[3],currency:["₪",""]}),huHU=locale({decimal:",",thousands:" ",grouping:[3],currency:[""," Ft"]}),itIT=locale({decimal:",",thousands:".",grouping:[3],currency:["€",""]}),jaJP=locale({decimal:".",thousands:",",grouping:[3],currency:["","円"]}),koKR=locale({decimal:".",thousands:",",grouping:[3],currency:["₩",""]}),mkMK=locale({decimal:",",thousands:".",grouping:[3],currency:[""," ден."]}),nlNL=locale({decimal:",",thousands:".",grouping:[3],currency:["€ ",""]}),plPL=locale({decimal:",",thousands:".",grouping:[3],currency:["","zł"]}),ptBR=locale({decimal:",",thousands:".",grouping:[3],currency:["R$",""]}),ruRU=locale({decimal:",",thousands:" ",grouping:[3],currency:[""," руб."]}),svSE=locale({decimal:",",thousands:" ",grouping:[3],currency:["","SEK"]}),zhCN=locale({decimal:".",thousands:",",grouping:[3],currency:["¥",""]}),format=defaultLocale.format,formatPrefix=defaultLocale.formatPrefix,version="0.5.1";exports.version=version,exports.format=format,exports.formatPrefix=formatPrefix,exports.formatLocale=locale,exports.formatCaEs=caES,exports.formatCsCz=csCZ,exports.formatDeCh=deCH,exports.formatDeDe=deDE,exports.formatEnCa=enCA,exports.formatEnGb=enGB,exports.formatEnUs=defaultLocale,exports.formatEsEs=esES,exports.formatFiFi=fiFI,exports.formatFrCa=frCA,exports.formatFrFr=frFR,exports.formatHeIl=heIL,exports.formatHuHu=huHU,exports.formatItIt=itIT,exports.formatJaJp=jaJP,exports.formatKoKr=koKR,exports.formatMkMk=mkMK,exports.formatNlNl=nlNL,exports.formatPlPl=plPL,exports.formatPtBr=ptBR,exports.formatRuRu=ruRU,exports.formatSvSe=svSE,exports.formatZhCn=zhCN,exports.formatSpecifier=formatSpecifier,exports.precisionFixed=precisionFixed,exports.precisionPrefix=precisionPrefix,exports.precisionRound=precisionRound})},function(module,exports,__webpack_require__){!function(global,factory){factory(exports)}(this,function(exports){"use strict";function newInterval(floori,offseti,count,field){function interval(date){return floori(date=new Date(+date)),date}return interval.floor=interval,interval.ceil=function(date){return floori(date=new Date(date-1)),offseti(date,1),floori(date),date},interval.round=function(date){var d0=interval(date),d1=interval.ceil(date);return date-d0<d1-date?d0:d1},interval.offset=function(date,step){return offseti(date=new Date(+date),null==step?1:Math.floor(step)),date},interval.range=function(start,stop,step){var range=[];if(start=interval.ceil(start),step=null==step?1:Math.floor(step),!(start<stop&&step>0))return range;do range.push(new Date(+start));while(offseti(start,step),floori(start),start<stop);return range},interval.filter=function(test){return newInterval(function(date){for(;floori(date),!test(date);)date.setTime(date-1)},function(date,step){for(;--step>=0;)for(;offseti(date,1),!test(date););})},count&&(interval.count=function(start,end){return t0.setTime(+start),t1.setTime(+end),floori(t0),floori(t1),Math.floor(count(t0,t1))},interval.every=function(step){return step=Math.floor(step),isFinite(step)&&step>0?step>1?interval.filter(field?function(d){return field(d)%step===0}:function(d){return interval.count(0,d)%step===0}):interval:null}),interval}function weekday(i){return newInterval(function(date){date.setHours(0,0,0,0),date.setDate(date.getDate()-(date.getDay()+7-i)%7)},function(date,step){date.setDate(date.getDate()+7*step)},function(start,end){return(end-start-(end.getTimezoneOffset()-start.getTimezoneOffset())*minute)/week})}function utcWeekday(i){return newInterval(function(date){date.setUTCHours(0,0,0,0),date.setUTCDate(date.getUTCDate()-(date.getUTCDay()+7-i)%7)},function(date,step){date.setUTCDate(date.getUTCDate()+7*step)},function(start,end){return(end-start)/week})}var version="0.2.6",t0=new Date,t1=new Date,millisecond=newInterval(function(){},function(date,step){date.setTime(+date+step)},function(start,end){return end-start});millisecond.every=function(k){return k=Math.floor(k),isFinite(k)&&k>0?k>1?newInterval(function(date){date.setTime(Math.floor(date/k)*k)},function(date,step){date.setTime(+date+step*k)},function(start,end){return(end-start)/k}):millisecond:null};var second$1=1e3,minute=6e4,hour=36e5,day=864e5,week=6048e5,second=newInterval(function(date){date.setTime(Math.floor(date/second$1)*second$1)},function(date,step){date.setTime(+date+step*second$1)},function(start,end){return(end-start)/second$1},function(date){return date.getUTCSeconds()}),minute$1=newInterval(function(date){date.setTime(Math.floor(date/minute)*minute)},function(date,step){date.setTime(+date+step*minute)},function(start,end){return(end-start)/minute},function(date){return date.getMinutes()}),hour$1=newInterval(function(date){var offset=date.getTimezoneOffset()*minute%hour;offset<0&&(offset+=hour),date.setTime(Math.floor((+date-offset)/hour)*hour+offset)},function(date,step){date.setTime(+date+step*hour)},function(start,end){return(end-start)/hour},function(date){return date.getHours()}),day$1=newInterval(function(date){date.setHours(0,0,0,0)},function(date,step){date.setDate(date.getDate()+step)},function(start,end){return(end-start-(end.getTimezoneOffset()-start.getTimezoneOffset())*minute)/day},function(date){return date.getDate()-1}),sunday=weekday(0),monday=weekday(1),tuesday=weekday(2),wednesday=weekday(3),thursday=weekday(4),friday=weekday(5),saturday=weekday(6),month=newInterval(function(date){date.setHours(0,0,0,0),date.setDate(1)},function(date,step){date.setMonth(date.getMonth()+step)},function(start,end){return end.getMonth()-start.getMonth()+12*(end.getFullYear()-start.getFullYear())},function(date){return date.getMonth()}),year=newInterval(function(date){date.setHours(0,0,0,0),date.setMonth(0,1)},function(date,step){date.setFullYear(date.getFullYear()+step)},function(start,end){return end.getFullYear()-start.getFullYear()},function(date){return date.getFullYear()}),utcMinute=newInterval(function(date){date.setUTCSeconds(0,0)},function(date,step){date.setTime(+date+step*minute)},function(start,end){return(end-start)/minute},function(date){return date.getUTCMinutes()}),utcHour=newInterval(function(date){date.setUTCMinutes(0,0,0)},function(date,step){date.setTime(+date+step*hour)},function(start,end){return(end-start)/hour},function(date){return date.getUTCHours()}),utcDay=newInterval(function(date){date.setUTCHours(0,0,0,0)},function(date,step){date.setUTCDate(date.getUTCDate()+step)},function(start,end){return(end-start)/day},function(date){return date.getUTCDate()-1}),utcSunday=utcWeekday(0),utcMonday=utcWeekday(1),utcTuesday=utcWeekday(2),utcWednesday=utcWeekday(3),utcThursday=utcWeekday(4),utcFriday=utcWeekday(5),utcSaturday=utcWeekday(6),utcMonth=newInterval(function(date){date.setUTCHours(0,0,0,0),date.setUTCDate(1)},function(date,step){date.setUTCMonth(date.getUTCMonth()+step)},function(start,end){return end.getUTCMonth()-start.getUTCMonth()+12*(end.getUTCFullYear()-start.getUTCFullYear())},function(date){return date.getUTCMonth()}),utcYear=newInterval(function(date){date.setUTCHours(0,0,0,0),date.setUTCMonth(0,1)},function(date,step){date.setUTCFullYear(date.getUTCFullYear()+step)},function(start,end){return end.getUTCFullYear()-start.getUTCFullYear()},function(date){return date.getUTCFullYear()}),timeMilliseconds=millisecond.range,timeSeconds=second.range,timeMinutes=minute$1.range,timeHours=hour$1.range,timeDays=day$1.range,timeSundays=sunday.range,timeMondays=monday.range,timeTuesdays=tuesday.range,timeWednesdays=wednesday.range,timeThursdays=thursday.range,timeFridays=friday.range,timeSaturdays=saturday.range,timeWeeks=sunday.range,timeMonths=month.range,timeYears=year.range,utcMilliseconds=timeMilliseconds,utcSeconds=timeSeconds,utcMinutes=utcMinute.range,utcHours=utcHour.range,utcDays=utcDay.range,utcSundays=utcSunday.range,utcMondays=utcMonday.range,utcTuesdays=utcTuesday.range,utcWednesdays=utcWednesday.range,utcThursdays=utcThursday.range,utcFridays=utcFriday.range,utcSaturdays=utcSaturday.range,utcWeeks=utcSunday.range,utcMonths=utcMonth.range,utcYears=utcYear.range;exports.timeMilliseconds=timeMilliseconds,exports.timeSeconds=timeSeconds,exports.timeMinutes=timeMinutes,exports.timeHours=timeHours,exports.timeDays=timeDays,exports.timeSundays=timeSundays,exports.timeMondays=timeMondays,exports.timeTuesdays=timeTuesdays,exports.timeWednesdays=timeWednesdays,exports.timeThursdays=timeThursdays,exports.timeFridays=timeFridays,exports.timeSaturdays=timeSaturdays,exports.timeWeeks=timeWeeks,exports.timeMonths=timeMonths,exports.timeYears=timeYears,exports.utcMilliseconds=utcMilliseconds,exports.utcSeconds=utcSeconds,exports.utcMinutes=utcMinutes,exports.utcHours=utcHours,exports.utcDays=utcDays,exports.utcSundays=utcSundays,exports.utcMondays=utcMondays,exports.utcTuesdays=utcTuesdays,exports.utcWednesdays=utcWednesdays,exports.utcThursdays=utcThursdays,exports.utcFridays=utcFridays,exports.utcSaturdays=utcSaturdays,exports.utcWeeks=utcWeeks,exports.utcMonths=utcMonths,exports.utcYears=utcYears,exports.timeMillisecond=millisecond,exports.timeSecond=second,exports.timeMinute=minute$1,exports.timeHour=hour$1,exports.timeDay=day$1,exports.timeSunday=sunday,exports.timeMonday=monday,exports.timeTuesday=tuesday,exports.timeWednesday=wednesday,exports.timeThursday=thursday,exports.timeFriday=friday,exports.timeSaturday=saturday,exports.timeWeek=sunday,exports.timeMonth=month,exports.timeYear=year,exports.utcMillisecond=millisecond,exports.utcSecond=second,exports.utcMinute=utcMinute,exports.utcHour=utcHour,exports.utcDay=utcDay,exports.utcSunday=utcSunday,exports.utcMonday=utcMonday,exports.utcTuesday=utcTuesday,exports.utcWednesday=utcWednesday,exports.utcThursday=utcThursday,exports.utcFriday=utcFriday,exports.utcSaturday=utcSaturday,exports.utcWeek=utcSunday,exports.utcMonth=utcMonth,exports.utcYear=utcYear,exports.version=version,exports.timeInterval=newInterval,Object.defineProperty(exports,"__esModule",{value:!0})})},function(module,exports,__webpack_require__){!function(global,factory){factory(exports,__webpack_require__(21))}(this,function(exports,d3Time){"use strict";function localDate(d){if(0<=d.y&&d.y<100){var date=new Date(-1,d.m,d.d,d.H,d.M,d.S,d.L);return date.setFullYear(d.y),date}return new Date(d.y,d.m,d.d,d.H,d.M,d.S,d.L)}function utcDate(d){if(0<=d.y&&d.y<100){var date=new Date(Date.UTC(-1,d.m,d.d,d.H,d.M,d.S,d.L));return date.setUTCFullYear(d.y),date}return new Date(Date.UTC(d.y,d.m,d.d,d.H,d.M,d.S,d.L))}function newYear(y){return{y:y,m:0,d:1,H:0,M:0,S:0,L:0}}function locale$1(locale){function newFormat(specifier,formats){return function(date){var c,pad,format,string=[],i=-1,j=0,n=specifier.length;for(date instanceof Date||(date=new Date(+date));++i<n;)37===specifier.charCodeAt(i)&&(string.push(specifier.slice(j,i)),null!=(pad=pads[c=specifier.charAt(++i)])?c=specifier.charAt(++i):pad="e"===c?" ":"0",(format=formats[c])&&(c=format(date,pad)),string.push(c),j=i+1);return string.push(specifier.slice(j,i)),string.join("")}}function newParse(specifier,newDate){return function(string){var d=newYear(1900),i=parseSpecifier(d,specifier,string+="",0);if(i!=string.length)return null;if("p"in d&&(d.H=d.H%12+12*d.p),"W"in d||"U"in d){"w"in d||(d.w="W"in d?1:0);var day="Z"in d?utcDate(newYear(d.y)).getUTCDay():newDate(newYear(d.y)).getDay();d.m=0,d.d="W"in d?(d.w+6)%7+7*d.W-(day+5)%7:d.w+7*d.U-(day+6)%7}return"Z"in d?(d.H+=d.Z/100|0,d.M+=d.Z%100,utcDate(d)):newDate(d)}}function parseSpecifier(d,specifier,string,j){for(var c,parse,i=0,n=specifier.length,m=string.length;i<n;){if(j>=m)return-1;if(c=specifier.charCodeAt(i++),37===c){if(c=specifier.charAt(i++),parse=parses[c in pads?specifier.charAt(i++):c],!parse||(j=parse(d,string,j))<0)return-1}else if(c!=string.charCodeAt(j++))return-1}return j}function parsePeriod(d,string,i){var n=periodRe.exec(string.slice(i));return n?(d.p=periodLookup[n[0].toLowerCase()],i+n[0].length):-1}function parseShortWeekday(d,string,i){var n=shortWeekdayRe.exec(string.slice(i));return n?(d.w=shortWeekdayLookup[n[0].toLowerCase()],i+n[0].length):-1}function parseWeekday(d,string,i){var n=weekdayRe.exec(string.slice(i));return n?(d.w=weekdayLookup[n[0].toLowerCase()],i+n[0].length):-1}function parseShortMonth(d,string,i){var n=shortMonthRe.exec(string.slice(i));return n?(d.m=shortMonthLookup[n[0].toLowerCase()],i+n[0].length):-1}function parseMonth(d,string,i){var n=monthRe.exec(string.slice(i));return n?(d.m=monthLookup[n[0].toLowerCase()],i+n[0].length):-1}function parseLocaleDateTime(d,string,i){return parseSpecifier(d,locale_dateTime,string,i)}function parseLocaleDate(d,string,i){return parseSpecifier(d,locale_date,string,i)}function parseLocaleTime(d,string,i){return parseSpecifier(d,locale_time,string,i)}function formatShortWeekday(d){return locale_shortWeekdays[d.getDay()]}function formatWeekday(d){return locale_weekdays[d.getDay()]}function formatShortMonth(d){return locale_shortMonths[d.getMonth()]}function formatMonth(d){return locale_months[d.getMonth()]}function formatPeriod(d){return locale_periods[+(d.getHours()>=12)]}function formatUTCShortWeekday(d){return locale_shortWeekdays[d.getUTCDay()]}function formatUTCWeekday(d){return locale_weekdays[d.getUTCDay()]}function formatUTCShortMonth(d){return locale_shortMonths[d.getUTCMonth()]}function formatUTCMonth(d){return locale_months[d.getUTCMonth()]}function formatUTCPeriod(d){return locale_periods[+(d.getUTCHours()>=12)]}var locale_dateTime=locale.dateTime,locale_date=locale.date,locale_time=locale.time,locale_periods=locale.periods,locale_weekdays=locale.days,locale_shortWeekdays=locale.shortDays,locale_months=locale.months,locale_shortMonths=locale.shortMonths,periodRe=formatRe(locale_periods),periodLookup=formatLookup(locale_periods),weekdayRe=formatRe(locale_weekdays),weekdayLookup=formatLookup(locale_weekdays),shortWeekdayRe=formatRe(locale_shortWeekdays),shortWeekdayLookup=formatLookup(locale_shortWeekdays),monthRe=formatRe(locale_months),monthLookup=formatLookup(locale_months),shortMonthRe=formatRe(locale_shortMonths),shortMonthLookup=formatLookup(locale_shortMonths),formats={a:formatShortWeekday,A:formatWeekday,b:formatShortMonth,B:formatMonth,c:null,d:formatDayOfMonth,e:formatDayOfMonth,H:formatHour24,I:formatHour12,j:formatDayOfYear,L:formatMilliseconds,m:formatMonthNumber,M:formatMinutes,p:formatPeriod,S:formatSeconds,U:formatWeekNumberSunday,w:formatWeekdayNumber,W:formatWeekNumberMonday,x:null,X:null,y:formatYear,Y:formatFullYear,Z:formatZone,"%":formatLiteralPercent},utcFormats={a:formatUTCShortWeekday,A:formatUTCWeekday,b:formatUTCShortMonth,B:formatUTCMonth,c:null,d:formatUTCDayOfMonth,e:formatUTCDayOfMonth,H:formatUTCHour24,I:formatUTCHour12,j:formatUTCDayOfYear,L:formatUTCMilliseconds,m:formatUTCMonthNumber,M:formatUTCMinutes,p:formatUTCPeriod,S:formatUTCSeconds,U:formatUTCWeekNumberSunday,w:formatUTCWeekdayNumber,W:formatUTCWeekNumberMonday,x:null,X:null,y:formatUTCYear,Y:formatUTCFullYear,Z:formatUTCZone,"%":formatLiteralPercent},parses={a:parseShortWeekday,A:parseWeekday,b:parseShortMonth,B:parseMonth,c:parseLocaleDateTime,d:parseDayOfMonth,e:parseDayOfMonth,H:parseHour24,I:parseHour24,j:parseDayOfYear,L:parseMilliseconds,m:parseMonthNumber,M:parseMinutes,p:parsePeriod,S:parseSeconds,U:parseWeekNumberSunday,w:parseWeekdayNumber,W:parseWeekNumberMonday,x:parseLocaleDate,X:parseLocaleTime,y:parseYear,Y:parseFullYear,Z:parseZone,"%":parseLiteralPercent};return formats.x=newFormat(locale_date,formats),formats.X=newFormat(locale_time,formats),formats.c=newFormat(locale_dateTime,formats),utcFormats.x=newFormat(locale_date,utcFormats),utcFormats.X=newFormat(locale_time,utcFormats),utcFormats.c=newFormat(locale_dateTime,utcFormats),{format:function(specifier){var f=newFormat(specifier+="",formats);return f.toString=function(){return specifier},f},parse:function(specifier){var p=newParse(specifier+="",localDate);return p.toString=function(){return specifier},p},utcFormat:function(specifier){var f=newFormat(specifier+="",utcFormats);return f.toString=function(){return specifier},f},utcParse:function(specifier){var p=newParse(specifier,utcDate);return p.toString=function(){return specifier},p}}}function pad(value,fill,width){var sign=value<0?"-":"",string=(sign?-value:value)+"",length=string.length;return sign+(length<width?new Array(width-length+1).join(fill)+string:string)}function requote(s){return s.replace(requoteRe,"\\$&")}function formatRe(names){return new RegExp("^(?:"+names.map(requote).join("|")+")","i")}function formatLookup(names){for(var map={},i=-1,n=names.length;++i<n;)map[names[i].toLowerCase()]=i;return map}function parseWeekdayNumber(d,string,i){var n=numberRe.exec(string.slice(i,i+1));return n?(d.w=+n[0],i+n[0].length):-1}function parseWeekNumberSunday(d,string,i){var n=numberRe.exec(string.slice(i));return n?(d.U=+n[0],i+n[0].length):-1}function parseWeekNumberMonday(d,string,i){var n=numberRe.exec(string.slice(i));return n?(d.W=+n[0],i+n[0].length):-1}function parseFullYear(d,string,i){var n=numberRe.exec(string.slice(i,i+4));return n?(d.y=+n[0],i+n[0].length):-1}function parseYear(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.y=+n[0]+(+n[0]>68?1900:2e3),i+n[0].length):-1}function parseZone(d,string,i){var n=/^(Z)|([+-]\d\d)(?:\:?(\d\d))?/.exec(string.slice(i,i+6));return n?(d.Z=n[1]?0:-(n[2]+(n[3]||"00")),i+n[0].length):-1}function parseMonthNumber(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.m=n[0]-1,i+n[0].length):-1}function parseDayOfMonth(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.d=+n[0],i+n[0].length):-1}function parseDayOfYear(d,string,i){var n=numberRe.exec(string.slice(i,i+3));return n?(d.m=0,d.d=+n[0],i+n[0].length):-1}function parseHour24(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.H=+n[0],i+n[0].length):-1}function parseMinutes(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.M=+n[0],i+n[0].length):-1}function parseSeconds(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.S=+n[0],i+n[0].length):-1}function parseMilliseconds(d,string,i){var n=numberRe.exec(string.slice(i,i+3));return n?(d.L=+n[0],i+n[0].length):-1}function parseLiteralPercent(d,string,i){var n=percentRe.exec(string.slice(i,i+1));return n?i+n[0].length:-1}function formatDayOfMonth(d,p){return pad(d.getDate(),p,2)}function formatHour24(d,p){return pad(d.getHours(),p,2)}function formatHour12(d,p){return pad(d.getHours()%12||12,p,2)}function formatDayOfYear(d,p){return pad(1+d3Time.timeDay.count(d3Time.timeYear(d),d),p,3)}function formatMilliseconds(d,p){return pad(d.getMilliseconds(),p,3)}function formatMonthNumber(d,p){return pad(d.getMonth()+1,p,2)}function formatMinutes(d,p){return pad(d.getMinutes(),p,2)}function formatSeconds(d,p){return pad(d.getSeconds(),p,2)}function formatWeekNumberSunday(d,p){return pad(d3Time.timeSunday.count(d3Time.timeYear(d),d),p,2)}function formatWeekdayNumber(d){return d.getDay()}function formatWeekNumberMonday(d,p){return pad(d3Time.timeMonday.count(d3Time.timeYear(d),d),p,2)}function formatYear(d,p){return pad(d.getFullYear()%100,p,2)}function formatFullYear(d,p){return pad(d.getFullYear()%1e4,p,4)}function formatZone(d){var z=d.getTimezoneOffset();return(z>0?"-":(z*=-1,"+"))+pad(z/60|0,"0",2)+pad(z%60,"0",2)}function formatUTCDayOfMonth(d,p){return pad(d.getUTCDate(),p,2)}function formatUTCHour24(d,p){return pad(d.getUTCHours(),p,2)}function formatUTCHour12(d,p){return pad(d.getUTCHours()%12||12,p,2)}function formatUTCDayOfYear(d,p){return pad(1+d3Time.utcDay.count(d3Time.utcYear(d),d),p,3)}function formatUTCMilliseconds(d,p){return pad(d.getUTCMilliseconds(),p,3)}function formatUTCMonthNumber(d,p){return pad(d.getUTCMonth()+1,p,2)}function formatUTCMinutes(d,p){return pad(d.getUTCMinutes(),p,2)}function formatUTCSeconds(d,p){return pad(d.getUTCSeconds(),p,2)}function formatUTCWeekNumberSunday(d,p){return pad(d3Time.utcSunday.count(d3Time.utcYear(d),d),p,2)}function formatUTCWeekdayNumber(d){return d.getUTCDay()}function formatUTCWeekNumberMonday(d,p){return pad(d3Time.utcMonday.count(d3Time.utcYear(d),d),p,2)}function formatUTCYear(d,p){return pad(d.getUTCFullYear()%100,p,2)}function formatUTCFullYear(d,p){return pad(d.getUTCFullYear()%1e4,p,4)}function formatUTCZone(){return"+0000"}function formatLiteralPercent(){return"%"}function formatIsoNative(date){return date.toISOString()}function parseIsoNative(string){var date=new Date(string);return isNaN(date)?null:date}var version="0.3.2",pads={"-":"",_:" ",0:"0"},numberRe=/^\s*\d+/,percentRe=/^%/,requoteRe=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,locale=locale$1({dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),caES=locale$1({dateTime:"%A, %e de %B de %Y, %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],shortDays:["dg.","dl.","dt.","dc.","dj.","dv.","ds."],months:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"],shortMonths:["gen.","febr.","març","abr.","maig","juny","jul.","ag.","set.","oct.","nov.","des."]}),deCH=locale$1({dateTime:"%A, der %e. %B %Y, %X",date:"%d.%m.%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],shortDays:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],shortMonths:["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"]}),deDE=locale$1({dateTime:"%A, der %e. %B %Y, %X",date:"%d.%m.%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],shortDays:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],shortMonths:["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"]}),enCA=locale$1({dateTime:"%a %b %e %X %Y",date:"%Y-%m-%d",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),enGB=locale$1({dateTime:"%a %e %b %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),esES=locale$1({dateTime:"%A, %e de %B de %Y, %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],shortDays:["dom","lun","mar","mié","jue","vie","sáb"],months:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],shortMonths:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"]}),fiFI=locale$1({dateTime:"%A, %-d. %Bta %Y klo %X",date:"%-d.%-m.%Y",time:"%H:%M:%S",periods:["a.m.","p.m."],days:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],shortDays:["Su","Ma","Ti","Ke","To","Pe","La"],months:["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],shortMonths:["Tammi","Helmi","Maalis","Huhti","Touko","Kesä","Heinä","Elo","Syys","Loka","Marras","Joulu"]}),frCA=locale$1({dateTime:"%a %e %b %Y %X",date:"%Y-%m-%d",time:"%H:%M:%S",periods:["",""],days:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],shortDays:["dim","lun","mar","mer","jeu","ven","sam"],months:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],shortMonths:["jan","fév","mar","avr","mai","jui","jul","aoû","sep","oct","nov","déc"]}),frFR=locale$1({dateTime:"%A, le %e %B %Y, %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],shortDays:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],months:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],shortMonths:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."]}),heIL=locale$1({dateTime:"%A, %e ב%B %Y %X",date:"%d.%m.%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת"],shortDays:["א׳","ב׳","ג׳","ד׳","ה׳","ו׳","ש׳"],months:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],shortMonths:["ינו׳","פבר׳","מרץ","אפר׳","מאי","יוני","יולי","אוג׳","ספט׳","אוק׳","נוב׳","דצמ׳"]}),huHU=locale$1({dateTime:"%Y. %B %-e., %A %X",date:"%Y. %m. %d.",time:"%H:%M:%S",periods:["de.","du."],days:["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"],shortDays:["V","H","K","Sze","Cs","P","Szo"],months:["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"],shortMonths:["jan.","feb.","már.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec."]}),itIT=locale$1({dateTime:"%A %e %B %Y, %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],shortDays:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],shortMonths:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"]}),jaJP=locale$1({dateTime:"%Y %b %e %a %X",date:"%Y/%m/%d",time:"%H:%M:%S",periods:["AM","PM"],days:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],shortDays:["日","月","火","水","木","金","土"],months:["睦月","如月","弥生","卯月","皐月","水無月","文月","葉月","長月","神無月","霜月","師走"],shortMonths:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]}),koKR=locale$1({dateTime:"%Y/%m/%d %a %X",date:"%Y/%m/%d",time:"%H:%M:%S",periods:["오전","오후"],days:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],shortDays:["일","월","화","수","목","금","토"],months:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],shortMonths:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]}),mkMK=locale$1({dateTime:"%A, %e %B %Y г. %X",date:"%d.%m.%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["недела","понеделник","вторник","среда","четврток","петок","сабота"],shortDays:["нед","пон","вто","сре","чет","пет","саб"],months:["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември"],shortMonths:["јан","фев","мар","апр","мај","јун","јул","авг","сеп","окт","ное","дек"]}),nlNL=locale$1({dateTime:"%a %e %B %Y %T",date:"%d-%m-%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],shortDays:["zo","ma","di","wo","do","vr","za"],months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],shortMonths:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"]}),plPL=locale$1({dateTime:"%A, %e %B %Y, %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota"],shortDays:["Niedz.","Pon.","Wt.","Śr.","Czw.","Pt.","Sob."],months:["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],shortMonths:["Stycz.","Luty","Marz.","Kwie.","Maj","Czerw.","Lipc.","Sierp.","Wrz.","Paźdz.","Listop.","Grudz."]
}),ptBR=locale$1({dateTime:"%A, %e de %B de %Y. %X",date:"%d/%m/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado"],shortDays:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],shortMonths:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"]}),ruRU=locale$1({dateTime:"%A, %e %B %Y г. %X",date:"%d.%m.%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],shortDays:["вс","пн","вт","ср","чт","пт","сб"],months:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"],shortMonths:["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек"]}),svSE=locale$1({dateTime:"%A den %d %B %Y %X",date:"%Y-%m-%d",time:"%H:%M:%S",periods:["fm","em"],days:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],shortDays:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"],months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],shortMonths:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"]}),zhCN=locale$1({dateTime:"%x %A %X",date:"%Y年%-m月%-d日",time:"%H:%M:%S",periods:["上午","下午"],days:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],shortDays:["周日","周一","周二","周三","周四","周五","周六"],months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],shortMonths:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]}),isoSpecifier="%Y-%m-%dT%H:%M:%S.%LZ",formatIso=Date.prototype.toISOString?formatIsoNative:locale.utcFormat(isoSpecifier),parseIso=+new Date("2000-01-01T00:00:00.000Z")?parseIsoNative:locale.utcParse(isoSpecifier),timeFormat=locale.format,timeParse=locale.parse,utcFormat=locale.utcFormat,utcParse=locale.utcParse;exports.timeFormat=timeFormat,exports.timeParse=timeParse,exports.utcFormat=utcFormat,exports.utcParse=utcParse,exports.version=version,exports.timeFormatLocale=locale$1,exports.timeFormatCaEs=caES,exports.timeFormatDeCh=deCH,exports.timeFormatDeDe=deDE,exports.timeFormatEnCa=enCA,exports.timeFormatEnGb=enGB,exports.timeFormatEnUs=locale,exports.timeFormatEsEs=esES,exports.timeFormatFiFi=fiFI,exports.timeFormatFrCa=frCA,exports.timeFormatFrFr=frFR,exports.timeFormatHeIl=heIL,exports.timeFormatHuHu=huHU,exports.timeFormatItIt=itIT,exports.timeFormatJaJp=jaJP,exports.timeFormatKoKr=koKR,exports.timeFormatMkMk=mkMK,exports.timeFormatNlNl=nlNL,exports.timeFormatPlPl=plPL,exports.timeFormatPtBr=ptBR,exports.timeFormatRuRu=ruRU,exports.timeFormatSvSe=svSE,exports.timeFormatZhCn=zhCN,exports.isoFormat=formatIso,exports.isoParse=parseIso})},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==("undefined"==typeof call?"undefined":_typeof(call))&&"function"!=typeof call?self:call}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof superClass?"undefined":_typeof(superClass)));subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};Object.defineProperty(exports,"__esModule",{value:!0});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),_react=__webpack_require__(2),_react2=_interopRequireDefault(_react),_propTypes=__webpack_require__(3),_propTypes2=_interopRequireDefault(_propTypes),_commonProps=__webpack_require__(13),_commonProps2=_interopRequireDefault(_commonProps),ChartTitle=function(_Component){function ChartTitle(props){return _classCallCheck(this,ChartTitle),_possibleConstructorReturn(this,(ChartTitle.__proto__||Object.getPrototypeOf(ChartTitle)).call(this,props))}return _inherits(ChartTitle,_Component),_createClass(ChartTitle,[{key:"render",value:function(){var _props=this.props,titleClassName=_props.titleClassName,title=_props.title,width=_props.width,titleStyle={width:width,textAlign:"center",fontSize:"2em",paddingBottom:"1.3em"};return _react2.default.createElement("div",{style:titleStyle,className:titleClassName},title)}}]),ChartTitle}(_react.Component);ChartTitle.defaultProps=_extends({titleClassName:"react-d3-core__container_title",title:""},_commonProps2.default),ChartTitle.propTypes={width:_propTypes2.default.number.isRequired,title:_propTypes2.default.string,titleClassName:_propTypes2.default.string},exports.default=ChartTitle},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==("undefined"==typeof call?"undefined":_typeof(call))&&"function"!=typeof call?self:call}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof superClass?"undefined":_typeof(superClass)));subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};Object.defineProperty(exports,"__esModule",{value:!0});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),_react=__webpack_require__(2),_react2=_interopRequireDefault(_react),_svg=__webpack_require__(1),_svg2=_interopRequireDefault(_svg),_legend=__webpack_require__(25),_legend2=_interopRequireDefault(_legend),_commonProps=__webpack_require__(13),_commonProps2=_interopRequireDefault(_commonProps),ChartContainer=function(_Component){function ChartContainer(props){return _classCallCheck(this,ChartContainer),_possibleConstructorReturn(this,(ChartContainer.__proto__||Object.getPrototypeOf(ChartContainer)).call(this,props))}return _inherits(ChartContainer,_Component),_createClass(ChartContainer,[{key:"render",value:function(){var legend,_props=this.props,width=_props.width,chartSeries=_props.chartSeries,divStyle={width:width};return chartSeries&&(legend=_react2.default.createElement(_legend2.default,_extends({},this.props,{chartSeries:chartSeries}))),_react2.default.createElement("div",{style:divStyle},legend,_react2.default.createElement(_svg2.default,this.props))}}]),ChartContainer}(_react.Component);ChartContainer.defaultProps=_commonProps2.default,exports.default=ChartContainer},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==("undefined"==typeof call?"undefined":_typeof(call))&&"function"!=typeof call?self:call}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof superClass?"undefined":_typeof(superClass)));subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};Object.defineProperty(exports,"__esModule",{value:!0});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),_react=__webpack_require__(2),_propTypes=(_interopRequireDefault(_react),__webpack_require__(3)),_propTypes2=_interopRequireDefault(_propTypes),_d3Selection=__webpack_require__(26),_d3Selection2=_interopRequireDefault(_d3Selection),_d3Scale=__webpack_require__(15),_d3Scale2=_interopRequireDefault(_d3Scale),_reactFauxDom=__webpack_require__(27),_reactFauxDom2=_interopRequireDefault(_reactFauxDom),_commonProps=__webpack_require__(13),_commonProps2=_interopRequireDefault(_commonProps),Legend=function(_Component){function Legend(props){return _classCallCheck(this,Legend),_possibleConstructorReturn(this,(Legend.__proto__||Object.getPrototypeOf(Legend)).call(this,props))}return _inherits(Legend,_Component),_createClass(Legend,[{key:"_radius",value:function(swatchShape){return"circle"===swatchShape?18:0}},{key:"_series",value:function(props){var chartSeries=props.chartSeries,categoricalColors=props.categoricalColors,colors=categoricalColors||_d3Scale2.default.scaleCategory10();return chartSeries.map(function(_ref,i){var name=_ref.name,color=_ref.color,field=_ref.field;return{color:color||colors(i),name:name||field,field:field}})}},{key:"_mkLegend",value:function(dom){var _props=this.props,legendClassName=_props.legendClassName,backgroundColor=_props.backgroundColor,legendPosition=_props.legendPosition,swatchShape=(_props.legendOffset,_props.swatchShape),legendArea=(_props.chartSeries,_props.margins,_props.width,_d3Selection2.default.select(dom)),series=this._series(this.props),radius=this._radius(swatchShape),legend=legendArea.selectAll("div").data(series).enter().append("div").attr("class",legendClassName+" legend").style("height",20).style("padding",5).style("background-color",backgroundColor).style("display","inline-block");legend.append("div").style("width",18).style("height",18).style("border-radius",radius).style("background-color",function(d){return d.color}).style("float",legendPosition),legend.append("div").style("padding-left",5).style("padding-right",5).text(function(d){return d.name}).style("float",legendPosition);return legendArea}},{key:"render",value:function(){var _props2=this.props,legendClassName=_props2.legendClassName,width=_props2.width,legendGroup=(_props2.height,_reactFauxDom2.default.createElement("div")),legendClasses=legendClassName+" legend";return legendGroup.setAttribute("class",legendClasses),legendGroup.style.width=width,legendGroup.style.textAlign="center",this._mkLegend(legendGroup).node().toReact()}}]),Legend}(_react.Component);Legend.defaultProps=_extends({backgroundColor:"#FFF",legendHeight:50,legendPosition:"left",legendOffset:90,legendClassName:"react-d3-core__legend",swatchShape:"square"},_commonProps2.default),Legend.propTypes={backgroundColor:_propTypes2.default.string,width:_propTypes2.default.number.isRequired,margins:_propTypes2.default.object.isRequired,chartSeries:_propTypes2.default.array.isRequired,legendOffset:_propTypes2.default.number.isRequired,legendClassName:_propTypes2.default.string.isRequired,legendPosition:_propTypes2.default.oneOf(["left","right"]).isRequired,swatchShape:_propTypes2.default.oneOf(["circle","square"])},exports.default=Legend},function(module,exports,__webpack_require__){!function(global,factory){factory(exports)}(this,function(exports){"use strict";function namespace(name){var prefix=name+="",i=prefix.indexOf(":");return i>=0&&"xmlns"!==(prefix=name.slice(0,i))&&(name=name.slice(i+1)),namespaces.hasOwnProperty(prefix)?{space:namespaces[prefix],local:name}:name}function creatorInherit(name){return function(){var document=this.ownerDocument,uri=this.namespaceURI;return uri===xhtml&&document.documentElement.namespaceURI===xhtml?document.createElement(name):document.createElementNS(uri,name)}}function creatorFixed(fullname){return function(){return this.ownerDocument.createElementNS(fullname.space,fullname.local)}}function creator(name){var fullname=namespace(name);return(fullname.local?creatorFixed:creatorInherit)(fullname)}function filterContextListener(listener,index,group){return listener=contextListener(listener,index,group),function(event){var related=event.relatedTarget;related&&(related===this||8&related.compareDocumentPosition(this))||listener.call(this,event)}}function contextListener(listener,index,group){return function(event1){var event0=exports.event;exports.event=event1;try{listener.call(this,this.__data__,index,group)}finally{exports.event=event0}}}function parseTypenames(typenames){return typenames.trim().split(/^|\s+/).map(function(t){var name="",i=t.indexOf(".");return i>=0&&(name=t.slice(i+1),t=t.slice(0,i)),{type:t,name:name}})}function onRemove(typename){return function(){var on=this.__on;if(on){for(var o,j=0,i=-1,m=on.length;j<m;++j)o=on[j],typename.type&&o.type!==typename.type||o.name!==typename.name?on[++i]=o:this.removeEventListener(o.type,o.listener,o.capture);++i?on.length=i:delete this.__on}}}function onAdd(typename,value,capture){var wrap=filterEvents.hasOwnProperty(typename.type)?filterContextListener:contextListener;return function(d,i,group){var o,on=this.__on,listener=wrap(value,i,group);if(on)for(var j=0,m=on.length;j<m;++j)if((o=on[j]).type===typename.type&&o.name===typename.name)return this.removeEventListener(o.type,o.listener,o.capture),this.addEventListener(o.type,o.listener=listener,o.capture=capture),void(o.value=value);this.addEventListener(typename.type,listener,capture),o={type:typename.type,name:typename.name,value:value,listener:listener,capture:capture},on?on.push(o):this.__on=[o]}}function selection_on(typename,value,capture){var i,t,typenames=parseTypenames(typename+""),n=typenames.length;{if(!(arguments.length<2)){for(on=value?onAdd:onRemove,null==capture&&(capture=!1),i=0;i<n;++i)this.each(on(typenames[i],value,capture));return this}var on=this.node().__on;if(on)for(var o,j=0,m=on.length;j<m;++j)for(i=0,o=on[j];i<n;++i)if((t=typenames[i]).type===o.type&&t.name===o.name)return o.value}}function customEvent(event1,listener,that,args){var event0=exports.event;event1.sourceEvent=exports.event,exports.event=event1;try{return listener.apply(that,args)}finally{exports.event=event0}}function sourceEvent(){for(var source,current=exports.event;source=current.sourceEvent;)current=source;return current}function point(node,event){var svg=node.ownerSVGElement||node;if(svg.createSVGPoint){var point=svg.createSVGPoint();return point.x=event.clientX,point.y=event.clientY,point=point.matrixTransform(node.getScreenCTM().inverse()),[point.x,point.y]}var rect=node.getBoundingClientRect();return[event.clientX-rect.left-node.clientLeft,event.clientY-rect.top-node.clientTop]}function mouse(node){var event=sourceEvent();return event.changedTouches&&(event=event.changedTouches[0]),point(node,event)}function selector(selector){return function(){return this.querySelector(selector)}}function selection_select(select){"function"!=typeof select&&(select=selector(select));for(var groups=this._groups,m=groups.length,subgroups=new Array(m),j=0;j<m;++j)for(var node,subnode,group=groups[j],n=group.length,subgroup=subgroups[j]=new Array(n),i=0;i<n;++i)(node=group[i])&&(subnode=select.call(node,node.__data__,i,group))&&("__data__"in node&&(subnode.__data__=node.__data__),subgroup[i]=subnode);return new Selection(subgroups,this._parents)}function selectorAll(selector){return function(){return this.querySelectorAll(selector)}}function selection_selectAll(select){"function"!=typeof select&&(select=selectorAll(select));for(var groups=this._groups,m=groups.length,subgroups=[],parents=[],j=0;j<m;++j)for(var node,group=groups[j],n=group.length,i=0;i<n;++i)(node=group[i])&&(subgroups.push(select.call(node,node.__data__,i,group)),parents.push(node));return new Selection(subgroups,parents)}function selection_filter(match){"function"!=typeof match&&(match=matcher$1(match));for(var groups=this._groups,m=groups.length,subgroups=new Array(m),j=0;j<m;++j)for(var node,group=groups[j],n=group.length,subgroup=subgroups[j]=new Array(n),i=0;i<n;++i)(node=group[i])&&match.call(node,node.__data__,i,group)&&(subgroup[i]=node);return new Selection(subgroups,this._parents)}function constant(x){return function(){return x}}function bindIndex(parent,group,enter,update,exit,data){for(var node,i=0,groupLength=group.length,dataLength=data.length;i<dataLength;++i)(node=group[i])?(node.__data__=data[i],update[i]=node):enter[i]=new EnterNode(parent,data[i]);for(;i<groupLength;++i)(node=group[i])&&(exit[i]=node)}function bindKey(parent,group,enter,update,exit,data,key){var i,node,keyValue,nodeByKeyValue={},groupLength=group.length,dataLength=data.length,keyValues=new Array(groupLength);for(i=0;i<groupLength;++i)(node=group[i])&&(keyValues[i]=keyValue=keyPrefix+key.call(node,node.__data__,i,group),keyValue in nodeByKeyValue?exit[i]=node:nodeByKeyValue[keyValue]=node);for(i=0;i<dataLength;++i)keyValue=keyPrefix+key.call(parent,data[i],i,data),(node=nodeByKeyValue[keyValue])?(update[i]=node,node.__data__=data[i],nodeByKeyValue[keyValue]=null):enter[i]=new EnterNode(parent,data[i]);for(i=0;i<groupLength;++i)(node=group[i])&&nodeByKeyValue[keyValues[i]]===node&&(exit[i]=node)}function selection_data(value,key){if(!value)return data=new Array(this.size()),j=-1,this.each(function(d){data[++j]=d}),data;var bind=key?bindKey:bindIndex,parents=this._parents,groups=this._groups;"function"!=typeof value&&(value=constant(value));for(var m=groups.length,update=new Array(m),enter=new Array(m),exit=new Array(m),j=0;j<m;++j){var parent=parents[j],group=groups[j],groupLength=group.length,data=value.call(parent,parent&&parent.__data__,j,parents),dataLength=data.length,enterGroup=enter[j]=new Array(dataLength),updateGroup=update[j]=new Array(dataLength),exitGroup=exit[j]=new Array(groupLength);bind(parent,group,enterGroup,updateGroup,exitGroup,data,key);for(var previous,next,i0=0,i1=0;i0<dataLength;++i0)if(previous=enterGroup[i0]){for(i0>=i1&&(i1=i0+1);!(next=updateGroup[i1])&&++i1<dataLength;);previous._next=next||null}}return update=new Selection(update,parents),update._enter=enter,update._exit=exit,update}function EnterNode(parent,datum){this.ownerDocument=parent.ownerDocument,this.namespaceURI=parent.namespaceURI,this._next=null,this._parent=parent,this.__data__=datum}function sparse(update){return new Array(update.length)}function selection_enter(){return new Selection(this._enter||this._groups.map(sparse),this._parents)}function selection_exit(){return new Selection(this._exit||this._groups.map(sparse),this._parents)}function selection_merge(selection){for(var groups0=this._groups,groups1=selection._groups,m0=groups0.length,m1=groups1.length,m=Math.min(m0,m1),merges=new Array(m0),j=0;j<m;++j)for(var node,group0=groups0[j],group1=groups1[j],n=group0.length,merge=merges[j]=new Array(n),i=0;i<n;++i)(node=group0[i]||group1[i])&&(merge[i]=node);for(;j<m0;++j)merges[j]=groups0[j];return new Selection(merges,this._parents)}function selection_order(){for(var groups=this._groups,j=-1,m=groups.length;++j<m;)for(var node,group=groups[j],i=group.length-1,next=group[i];--i>=0;)(node=group[i])&&(next&&next!==node.nextSibling&&next.parentNode.insertBefore(node,next),next=node);return this}function selection_sort(compare){function compareNode(a,b){return a&&b?compare(a.__data__,b.__data__):!a-!b}compare||(compare=ascending);for(var groups=this._groups,m=groups.length,sortgroups=new Array(m),j=0;j<m;++j){for(var node,group=groups[j],n=group.length,sortgroup=sortgroups[j]=new Array(n),i=0;i<n;++i)(node=group[i])&&(sortgroup[i]=node);sortgroup.sort(compareNode)}return new Selection(sortgroups,this._parents).order()}function ascending(a,b){return a<b?-1:a>b?1:a>=b?0:NaN}function selection_call(){var callback=arguments[0];return arguments[0]=this,callback.apply(null,arguments),this}function selection_nodes(){var nodes=new Array(this.size()),i=-1;return this.each(function(){nodes[++i]=this}),nodes}function selection_node(){for(var groups=this._groups,j=0,m=groups.length;j<m;++j)for(var group=groups[j],i=0,n=group.length;i<n;++i){var node=group[i];if(node)return node}return null}function selection_size(){var size=0;return this.each(function(){++size}),size}function selection_empty(){return!this.node()}function selection_each(callback){for(var groups=this._groups,j=0,m=groups.length;j<m;++j)for(var node,group=groups[j],i=0,n=group.length;i<n;++i)(node=group[i])&&callback.call(node,node.__data__,i,group);return this}function attrRemove(name){return function(){this.removeAttribute(name)}}function attrRemoveNS(fullname){return function(){this.removeAttributeNS(fullname.space,fullname.local)}}function attrConstant(name,value){return function(){this.setAttribute(name,value)}}function attrConstantNS(fullname,value){return function(){this.setAttributeNS(fullname.space,fullname.local,value)}}function attrFunction(name,value){return function(){var v=value.apply(this,arguments);null==v?this.removeAttribute(name):this.setAttribute(name,v)}}function attrFunctionNS(fullname,value){return function(){var v=value.apply(this,arguments);null==v?this.removeAttributeNS(fullname.space,fullname.local):this.setAttributeNS(fullname.space,fullname.local,v)}}function selection_attr(name,value){var fullname=namespace(name);if(arguments.length<2){var node=this.node();return fullname.local?node.getAttributeNS(fullname.space,fullname.local):node.getAttribute(fullname)}return this.each((null==value?fullname.local?attrRemoveNS:attrRemove:"function"==typeof value?fullname.local?attrFunctionNS:attrFunction:fullname.local?attrConstantNS:attrConstant)(fullname,value))}function defaultView(node){return node.ownerDocument&&node.ownerDocument.defaultView||node.document&&node||node.defaultView}function styleRemove(name){return function(){this.style.removeProperty(name)}}function styleConstant(name,value,priority){return function(){this.style.setProperty(name,value,priority)}}function styleFunction(name,value,priority){return function(){var v=value.apply(this,arguments);null==v?this.style.removeProperty(name):this.style.setProperty(name,v,priority)}}function selection_style(name,value,priority){var node;return arguments.length>1?this.each((null==value?styleRemove:"function"==typeof value?styleFunction:styleConstant)(name,value,null==priority?"":priority)):defaultView(node=this.node()).getComputedStyle(node,null).getPropertyValue(name)}function propertyRemove(name){return function(){delete this[name]}}function propertyConstant(name,value){return function(){this[name]=value}}function propertyFunction(name,value){return function(){var v=value.apply(this,arguments);null==v?delete this[name]:this[name]=v}}function selection_property(name,value){return arguments.length>1?this.each((null==value?propertyRemove:"function"==typeof value?propertyFunction:propertyConstant)(name,value)):this.node()[name]}function classArray(string){return string.trim().split(/^|\s+/)}function classList(node){return node.classList||new ClassList(node)}function ClassList(node){this._node=node,this._names=classArray(node.getAttribute("class")||"")}function classedAdd(node,names){for(var list=classList(node),i=-1,n=names.length;++i<n;)list.add(names[i])}function classedRemove(node,names){for(var list=classList(node),i=-1,n=names.length;++i<n;)list.remove(names[i])}function classedTrue(names){return function(){classedAdd(this,names)}}function classedFalse(names){return function(){classedRemove(this,names)}}function classedFunction(names,value){return function(){(value.apply(this,arguments)?classedAdd:classedRemove)(this,names)}}function selection_classed(name,value){var names=classArray(name+"");if(arguments.length<2){for(var list=classList(this.node()),i=-1,n=names.length;++i<n;)if(!list.contains(names[i]))return!1;return!0}return this.each(("function"==typeof value?classedFunction:value?classedTrue:classedFalse)(names,value))}function textRemove(){this.textContent=""}function textConstant(value){return function(){this.textContent=value}}function textFunction(value){return function(){var v=value.apply(this,arguments);this.textContent=null==v?"":v}}function selection_text(value){return arguments.length?this.each(null==value?textRemove:("function"==typeof value?textFunction:textConstant)(value)):this.node().textContent}function htmlRemove(){this.innerHTML=""}function htmlConstant(value){return function(){this.innerHTML=value}}function htmlFunction(value){return function(){var v=value.apply(this,arguments);this.innerHTML=null==v?"":v}}function selection_html(value){return arguments.length?this.each(null==value?htmlRemove:("function"==typeof value?htmlFunction:htmlConstant)(value)):this.node().innerHTML}function raise(){this.nextSibling&&this.parentNode.appendChild(this)}function selection_raise(){return this.each(raise)}function lower(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function selection_lower(){return this.each(lower)}function append(create){return function(){return this.appendChild(create.apply(this,arguments))}}function insert(create,select){return function(){return this.insertBefore(create.apply(this,arguments),select.apply(this,arguments)||null)}}function constantNull(){return null}function selection_append(name,before){var create="function"==typeof name?name:creator(name);return this.select(arguments.length<2?append(create):insert(create,null==before?constantNull:"function"==typeof before?before:selector(before)))}function remove(){var parent=this.parentNode;parent&&parent.removeChild(this)}function selection_remove(){return this.each(remove)}function selection_datum(value){return arguments.length?this.property("__data__",value):this.node().__data__}function dispatchEvent(node,type,params){var window=defaultView(node),event=window.CustomEvent;event?event=new event(type,params):(event=window.document.createEvent("Event"),params?(event.initEvent(type,params.bubbles,params.cancelable),event.detail=params.detail):event.initEvent(type,!1,!1)),node.dispatchEvent(event)}function dispatchConstant(type,params){return function(){return dispatchEvent(this,type,params)}}function dispatchFunction(type,params){return function(){return dispatchEvent(this,type,params.apply(this,arguments))}}function selection_dispatch(type,params){return this.each(("function"==typeof params?dispatchFunction:dispatchConstant)(type,params))}function Selection(groups,parents){this._groups=groups,this._parents=parents}function selection(){return new Selection([[document.documentElement]],root)}function select(selector){return"string"==typeof selector?new Selection([[document.querySelector(selector)]],[document.documentElement]):new Selection([[selector]],root)}function selectAll(selector){return"string"==typeof selector?new Selection([document.querySelectorAll(selector)],[document.documentElement]):new Selection([selector],root)}function touch(node,touches,identifier){arguments.length<3&&(identifier=touches,touches=sourceEvent().changedTouches);for(var touch,i=0,n=touches?touches.length:0;i<n;++i)if((touch=touches[i]).identifier===identifier)return point(node,touch);return null}function touches(node,touches){null==touches&&(touches=sourceEvent().touches);for(var i=0,n=touches?touches.length:0,points=new Array(n);i<n;++i)points[i]=point(node,touches[i]);return points}var version="0.7.3",xhtml="http://www.w3.org/1999/xhtml",namespaces={svg:"http://www.w3.org/2000/svg",xhtml:xhtml,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},matcher=function(selector){return function(){return this.matches(selector)}};if("undefined"!=typeof document){var element=document.documentElement;if(!element.matches){var vendorMatches=element.webkitMatchesSelector||element.msMatchesSelector||element.mozMatchesSelector||element.oMatchesSelector;matcher=function(selector){return function(){return vendorMatches.call(this,selector)}}}}var matcher$1=matcher,filterEvents={};if(exports.event=null,"undefined"!=typeof document){var element$1=document.documentElement;"onmouseenter"in element$1||(filterEvents={mouseenter:"mouseover",mouseleave:"mouseout"})}var keyPrefix="$";EnterNode.prototype={constructor:EnterNode,appendChild:function(child){return this._parent.insertBefore(child,this._next)},insertBefore:function(child,next){return this._parent.insertBefore(child,next)},querySelector:function(selector){return this._parent.querySelector(selector)},querySelectorAll:function(selector){return this._parent.querySelectorAll(selector)}},ClassList.prototype={add:function(name){var i=this._names.indexOf(name);i<0&&(this._names.push(name),this._node.setAttribute("class",this._names.join(" ")))},remove:function(name){var i=this._names.indexOf(name);i>=0&&(this._names.splice(i,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(name){return this._names.indexOf(name)>=0}};var root=[null];Selection.prototype=selection.prototype={constructor:Selection,select:selection_select,selectAll:selection_selectAll,filter:selection_filter,data:selection_data,
enter:selection_enter,exit:selection_exit,merge:selection_merge,order:selection_order,sort:selection_sort,call:selection_call,nodes:selection_nodes,node:selection_node,size:selection_size,empty:selection_empty,each:selection_each,attr:selection_attr,style:selection_style,property:selection_property,classed:selection_classed,text:selection_text,html:selection_html,raise:selection_raise,lower:selection_lower,append:selection_append,remove:selection_remove,datum:selection_datum,on:selection_on,dispatch:selection_dispatch},exports.version=version,exports.creator=creator,exports.matcher=matcher$1,exports.mouse=mouse,exports.namespace=namespace,exports.namespaces=namespaces,exports.select=select,exports.selectAll=selectAll,exports.selection=selection,exports.selector=selector,exports.selectorAll=selectorAll,exports.touch=touch,exports.touches=touches,exports.window=defaultView,exports.customEvent=customEvent})},function(module,exports,__webpack_require__){var Element=__webpack_require__(28),Window=__webpack_require__(40),core=__webpack_require__(41),anim=__webpack_require__(42),ReactFauxDOM={Element:Element,defaultView:Window,mixins:{core:core,anim:anim},createElement:function(nodeName){return new Element(nodeName)},createElementNS:function(namespace,nodeName){return this.createElement(nodeName)},compareDocumentPosition:function(){return 8}};Element.prototype.ownerDocument=ReactFauxDOM,module.exports=ReactFauxDOM},function(module,exports,__webpack_require__){function Element(nodeName,parentNode){this.nodeName=nodeName,this.parentNode=parentNode,this.childNodes=[],this.eventListeners={},this.text="";var self=this,props=this.props={ref:function(component){self.component=component},style:{setProperty:function(name,value){props.style[styleCamelCase(name)]=value},getProperty:function(name){return props.style[styleCamelCase(name)]},removeProperty:function(name){delete props.style[styleCamelCase(name)]}}};this.style=props.style}var React=__webpack_require__(2),styleAttr=__webpack_require__(29),querySelectorAll=__webpack_require__(30),camelCase=__webpack_require__(34),isString=__webpack_require__(35),isUndefined=__webpack_require__(36),assign=__webpack_require__(37),mapValues=__webpack_require__(38),styleCamelCase=__webpack_require__(39);Element.prototype.nodeType=1,Element.prototype.eventNameMappings={blur:"onBlur",change:"onChange",click:"onClick",contextmenu:"onContextMenu",copy:"onCopy",cut:"onCut",doubleclick:"onDoubleClick",drag:"onDrag",dragend:"onDragEnd",dragenter:"onDragEnter",dragexit:"onDragExit",dragleave:"onDragLeave",dragover:"onDragOver",dragstart:"onDragStart",drop:"onDrop",error:"onError",focus:"onFocus",input:"onInput",keydown:"onKeyDown",keypress:"onKeyPress",keyup:"onKeyUp",load:"onLoad",mousedown:"onMouseDown",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseover:"onMouseOver",mouseup:"onMouseUp",paste:"onPaste",scroll:"onScroll",submit:"onSubmit",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",wheel:"onWheel"},Element.prototype.skipNameTransformationExpressions=[/^data-/,/^aria-/],Element.prototype.attributeNameMappings={class:"className"},Element.prototype.attributeToPropName=function(name){var skipTransformMatches=this.skipNameTransformationExpressions.map(function(expr){return expr.test(name)});return skipTransformMatches.some(Boolean)?name:this.attributeNameMappings[name]||camelCase(name)},Element.prototype.setAttribute=function(name,value){if("style"===name&&isString(value)){var styles=styleAttr.parse(value);for(var key in styles)this.style.setProperty(key,styles[key])}else this.props[this.attributeToPropName(name)]=value},Element.prototype.getAttribute=function(name){return this.props[this.attributeToPropName(name)]},Element.prototype.getAttributeNode=function(name){var value=this.getAttribute(name);if(!isUndefined(value))return{value:value,specified:!0}},Element.prototype.removeAttribute=function(name){delete this.props[this.attributeToPropName(name)]},Element.prototype.eventToPropName=function(name){return this.eventNameMappings[name]||name},Element.prototype.addEventListener=function(name,fn){var prop=this.eventToPropName(name);this.eventListeners[prop]=this.eventListeners[prop]||[],this.eventListeners[prop].push(fn)},Element.prototype.removeEventListener=function(name,fn){var listeners=this.eventListeners[this.eventToPropName(name)];if(listeners){var match=listeners.indexOf(fn);match!==-1&&listeners.splice(match,1)}},Element.prototype.appendChild=function(el){return el.parentNode=this,this.childNodes.push(el),el},Element.prototype.insertBefore=function(el,before){var index=this.childNodes.indexOf(before);return el.parentNode=this,index!==-1?this.childNodes.splice(index,0,el):this.childNodes.push(el),el},Element.prototype.removeChild=function(child){var target=this.childNodes.indexOf(child);this.childNodes.splice(target,1)},Element.prototype.querySelector=function(){return this.querySelectorAll.apply(this,arguments)[0]||null},Element.prototype.querySelectorAll=function(selector){if(!selector)throw new Error("Not enough arguments");return querySelectorAll(selector,this)},Element.prototype.getElementsByTagName=function(nodeName){var children=this.children;if(0===children.length)return[];var matches;matches="*"!==nodeName?children.filter(function(el){return el.nodeName===nodeName}):children;var childMatches=children.map(function(el){return el.getElementsByTagName(nodeName)});return matches.concat.apply(matches,childMatches)},Element.prototype.getElementById=function(id){var children=this.children;if(0===children.length)return null;var match=children.filter(function(el){return el.getAttribute("id")===id})[0];if(match)return match;var childMatches=children.map(function(el){return el.getElementById(id)});return childMatches.filter(function(match){return null!==match})[0]||null},Element.prototype.getBoundingClientRect=function(){if(this.component)return this.component.getBoundingClientRect()},Element.prototype.toReact=function(index){function uniqueKey(){return"faux-dom-"+index}index=index||0;var props=assign({},this.props);props.style=assign({},props.style);var originalElement=this;return isUndefined(props.key)&&(props.key=uniqueKey()),delete props.style.setProperty,delete props.style.getProperty,delete props.style.removeProperty,assign(props,mapValues(this.eventListeners,function(listeners){return function(syntheticEvent){var event;syntheticEvent&&(event=syntheticEvent.nativeEvent,event.syntheticEvent=syntheticEvent),mapValues(listeners,function(listener){listener.call(originalElement,event)})}})),React.createElement(this.nodeName,props,this.text||this.children.map(function(el,i){return el instanceof Element?el.toReact(i):el}))},Object.defineProperties(Element.prototype,{nextSibling:{get:function(){var siblings=this.parentNode.children,me=siblings.indexOf(this);return siblings[me+1]}},previousSibling:{get:function(){var siblings=this.parentNode.children,me=siblings.indexOf(this);return siblings[me-1]}},innerHTML:{get:function(){return this.text},set:function(text){this.text=text}},textContent:{get:function(){return this.text},set:function(text){this.text=text}},children:{get:function(){return this.childNodes.filter(function(el){return!el.nodeType||1===el.nodeType})}}});var namespaceMethods=["setAttribute","getAttribute","getAttributeNode","removeAttribute","getElementsByTagName","getElementById"];namespaceMethods.forEach(function(name){var fn=Element.prototype[name];Element.prototype[name+"NS"]=function(){return fn.apply(this,Array.prototype.slice.call(arguments,1))}}),module.exports=Element},function(module,exports){function parse(raw,opts){opts=opts||{};var preserveNumbers=opts.preserveNumbers,trim=function(s){return s.trim()},obj={};return getKeyValueChunks(raw).map(trim).filter(Boolean).forEach(function(item){var pos=item.indexOf(":"),key=item.substr(0,pos).trim(),val=item.substr(pos+1).trim();preserveNumbers&&isNumeric(val)&&(val=Number(val)),obj[key]=val}),obj}function isNumeric(n){return!isNaN(parseFloat(n))&&isFinite(n)}function getKeyValueChunks(raw){for(var nextSplit,chunks=[],offset=0,sep=";",hasUnclosedUrl=/url\([^\)]+$/,chunk="";offset<raw.length;)nextSplit=raw.indexOf(sep,offset),nextSplit===-1&&(nextSplit=raw.length),chunk+=raw.substring(offset,nextSplit),hasUnclosedUrl.test(chunk)?(chunk+=";",offset=nextSplit+1):(chunks.push(chunk),chunk="",offset=nextSplit+1);return chunks}function stringify(obj){return Object.keys(obj).map(function(key){return key+":"+obj[key]}).join(";")}function normalize(str,opts){return stringify(parse(str,opts))}module.exports.parse=parse,module.exports.stringify=stringify,module.exports.normalize=normalize},function(module,exports,__webpack_require__){module.exports=__webpack_require__(31)},function(module,exports,__webpack_require__){function unEscape(str){return str.replace(unescape,unescapeFn)}function resetStatus(){subMatchesCache={}}function dir(el,direction){do el=el[direction];while(el&&1!==el.nodeType);return el}function getAb(param){var match,a=0,b=0;return"number"==typeof param?b=param:"odd"===param?(a=2,b=1):"even"===param?(a=2,b=0):(match=param.replace(/\s/g,"").match(aNPlusB))&&(match[1]?(a=parseInt(match[2],10),isNaN(a)&&(a="-"===match[2]?-1:1)):a=0,b=parseInt(match[3],10)||0),{a:a,b:b}}function matchIndexByAb(index,a,b,eq){if(0===a){if(index===b)return eq}else if((index-b)/a>=0&&(index-b)%a===0&&eq)return 1}function isXML(elem){var documentElement=elem&&(elem.ownerDocument||elem).documentElement;return!!documentElement&&"html"!==documentElement.nodeName.toLowerCase()}function matches(str,seeds){return select(str,null,seeds)}function singleMatch(el,match){if(!match)return!0;if(!el)return!1;if(9===el.nodeType)return!1;var matchSuffixLen,matchSuffixIndex,matched=1,matchSuffix=match.suffix;if("tag"===match.t&&(matched&=matchExpr.tag(el,match.value)),matched&&matchSuffix)for(matchSuffixLen=matchSuffix.length,matchSuffixIndex=0;matched&&matchSuffixIndex<matchSuffixLen;matchSuffixIndex++){var singleMatchSuffix=matchSuffix[matchSuffixIndex],singleMatchSuffixType=singleMatchSuffix.t;matchExpr[singleMatchSuffixType]&&(matched&=matchExpr[singleMatchSuffixType](el,singleMatchSuffix.value))}return matched}function matchImmediate(el,match){var relativeOp,matched=1,startEl=el,startMatch=match;do{if(matched&=singleMatch(el,match),!matched)return relativeOp=relativeExpr[match.nextCombinator],relativeOp.immediate?{el:dir(startEl,relativeExpr[startMatch.nextCombinator].dir),match:startMatch}:{el:el&&dir(el,relativeOp.dir),match:match};if(match=match&&match.prev,!match)return!0;if(relativeOp=relativeExpr[match.nextCombinator],el=dir(el,relativeOp.dir),!relativeOp.immediate)return{el:el,match:match}}while(el);return{el:dir(startEl,relativeExpr[startMatch.nextCombinator].dir),match:startMatch}}function findFixedMatchFromHead(el,head){var relativeOp,cur=head;do{if(!singleMatch(el,cur))return null;if(cur=cur.prev,!cur)return!0;relativeOp=relativeExpr[cur.nextCombinator],el=dir(el,relativeOp.dir)}while(el&&relativeOp.immediate);return el?{el:el,match:cur}:null}function genId(el){var selectorId;return isContextXML?(selectorId=el.getAttribute(EXPANDO_SELECTOR_KEY))||el.setAttribute(EXPANDO_SELECTOR_KEY,selectorId=+new Date+"_"+ ++uuid):(selectorId=el[EXPANDO_SELECTOR_KEY])||(selectorId=el[EXPANDO_SELECTOR_KEY]=+new Date+"_"+ ++uuid),selectorId}function matchSub(el,match){var matchKey,selectorId=genId(el);return matchKey=selectorId+"_"+(match.order||0),matchKey in subMatchesCache?subMatchesCache[matchKey]:(subMatchesCache[matchKey]=matchSubInternal(el,match),subMatchesCache[matchKey])}function matchSubInternal(el,match){var matchImmediateRet=matchImmediate(el,match);if(matchImmediateRet===!0)return!0;for(el=matchImmediateRet.el,match=matchImmediateRet.match;el;){if(matchSub(el,match))return!0;el=dir(el,relativeExpr[match.nextCombinator].dir)}return!1}function select(str,context,seeds){caches[str]||(caches[str]=parser.parse(str));var contextDocument,group,selector=caches[str],groupIndex=0,groupLen=selector.length,ret=[];for(seeds&&(context=context||seeds[0].ownerDocument),contextDocument=context&&context.ownerDocument||"undefined"!=typeof document&&document,context&&9===context.nodeType&&!contextDocument&&(contextDocument=context),context=context||contextDocument,isContextXML=isXML(context);groupIndex<groupLen;groupIndex++){resetStatus(),group=selector[groupIndex];var suffixIndex,suffixLen,seedsIndex,seedsLen,suffix=group.suffix,mySeeds=seeds,id=null;if(!mySeeds){if(suffix&&!isContextXML)for(suffixIndex=0,suffixLen=suffix.length;suffixIndex<suffixLen;suffixIndex++){var singleSuffix=suffix[suffixIndex];if("id"===singleSuffix.t){id=singleSuffix.value;break}}if(id){var doesNotHasById=!context.getElementById,contextInDom=util.contains(contextDocument,context),tmp=doesNotHasById?contextInDom?contextDocument.getElementById(id):null:context.getElementById(id);if(!tmp&&doesNotHasById||tmp&&getAttr(tmp,"id")!==id){for(var tmps=util.getElementsByTagName("*",context),tmpLen=tmps.length,tmpI=0;tmpI<tmpLen;tmpI++)if(tmp=tmps[tmpI],getAttr(tmp,"id")===id){mySeeds=[tmp];break}tmpI===tmpLen&&(mySeeds=[])}else contextInDom&&tmp&&context!==contextDocument&&(tmp=util.contains(context,tmp)?tmp:null),mySeeds=tmp?[tmp]:[]}else mySeeds=util.getElementsByTagName(group.value||"*",context)}if(seedsIndex=0,seedsLen=mySeeds.length)for(;seedsIndex<seedsLen;seedsIndex++){var seed=mySeeds[seedsIndex],matchHead=findFixedMatchFromHead(seed,group);matchHead===!0?ret.push(seed):matchHead&&matchSub(matchHead.el,matchHead.match)&&ret.push(seed)}}return groupLen>1&&(ret=util.unique(ret)),ret}var isContextXML,matchExpr,util=__webpack_require__(32),parser=__webpack_require__(33),EXPANDO_SELECTOR_KEY="_ks_data_selector_id_",caches={},uuid=0,subMatchesCache={},getAttr=function(el,name){return isContextXML?util.getSimpleAttr(el,name):util.attr(el,name)},hasSingleClass=util.hasSingleClass,isTag=util.isTag,aNPlusB=/^(([+-]?(?:\d+)?)?n)?([+-]?\d+)?$/,unescape=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,unescapeFn=function(_,escaped){var high="0x"+escaped-65536;return isNaN(high)?escaped:high<0?String.fromCharCode(high+65536):String.fromCharCode(high>>10|55296,1023&high|56320)},pseudoFnExpr={"nth-child":function(el,param){var ab=getAb(param),a=ab.a,b=ab.b;if(0===a&&0===b)return 0;var index=0,parent=el.parentNode;if(parent)for(var child,ret,childNodes=parent.childNodes,count=0,len=childNodes.length;count<len;count++)if(child=childNodes[count],1===child.nodeType&&(index++,ret=matchIndexByAb(index,a,b,child===el),void 0!==ret))return ret;return 0},"nth-last-child":function(el,param){var ab=getAb(param),a=ab.a,b=ab.b;if(0===a&&0===b)return 0;var index=0,parent=el.parentNode;if(parent)for(var child,ret,childNodes=parent.childNodes,len=childNodes.length,count=len-1;count>=0;count--)if(child=childNodes[count],1===child.nodeType&&(index++,ret=matchIndexByAb(index,a,b,child===el),void 0!==ret))return ret;return 0},"nth-of-type":function(el,param){var ab=getAb(param),a=ab.a,b=ab.b;if(0===a&&0===b)return 0;var index=0,parent=el.parentNode;if(parent)for(var child,ret,childNodes=parent.childNodes,elType=el.tagName,count=0,len=childNodes.length;count<len;count++)if(child=childNodes[count],child.tagName===elType&&(index++,ret=matchIndexByAb(index,a,b,child===el),void 0!==ret))return ret;return 0},"nth-last-of-type":function(el,param){var ab=getAb(param),a=ab.a,b=ab.b;if(0===a&&0===b)return 0;var index=0,parent=el.parentNode;if(parent)for(var child,ret,childNodes=parent.childNodes,len=childNodes.length,elType=el.tagName,count=len-1;count>=0;count--)if(child=childNodes[count],child.tagName===elType&&(index++,ret=matchIndexByAb(index,a,b,child===el),void 0!==ret))return ret;return 0},lang:function(el,lang){var elLang;lang=unEscape(lang.toLowerCase());do if(elLang=isContextXML?el.getAttribute("xml:lang")||el.getAttribute("lang"):el.lang)return elLang=elLang.toLowerCase(),elLang===lang||0===elLang.indexOf(lang+"-");while((el=el.parentNode)&&1===el.nodeType);return!1},not:function(el,negationArg){return!matchExpr[negationArg.t](el,negationArg.value)}},pseudoIdentExpr={empty:function(el){for(var child,nodeType,childNodes=el.childNodes,index=0,len=childNodes.length-1;index<len;index++)if(child=childNodes[index],nodeType=child.nodeType,1===nodeType||3===nodeType||4===nodeType||5===nodeType)return 0;return 1},root:function(el){return 9===el.nodeType||el.ownerDocument&&el===el.ownerDocument.documentElement},"first-child":function(el){return pseudoFnExpr["nth-child"](el,1)},"last-child":function(el){return pseudoFnExpr["nth-last-child"](el,1)},"first-of-type":function(el){return pseudoFnExpr["nth-of-type"](el,1)},"last-of-type":function(el){return pseudoFnExpr["nth-last-of-type"](el,1)},"only-child":function(el){return pseudoIdentExpr["first-child"](el)&&pseudoIdentExpr["last-child"](el)},"only-of-type":function(el){return pseudoIdentExpr["first-of-type"](el)&&pseudoIdentExpr["last-of-type"](el)},focus:function(el){var doc=el.ownerDocument;return doc&&el===doc.activeElement&&(!doc.hasFocus||doc.hasFocus())&&!!(el.type||el.href||el.tabIndex>=0)},target:function(el){var hash=location.hash;return hash&&hash.slice(1)===getAttr(el,"id")},enabled:function(el){return!el.disabled},disabled:function(el){return el.disabled},checked:function(el){var nodeName=el.nodeName.toLowerCase();return"input"===nodeName&&el.checked||"option"===nodeName&&el.selected}},attributeExpr={"~=":function(elValue,value){return!value||value.indexOf(" ")>-1?0:(" "+elValue+" ").indexOf(" "+value+" ")!==-1},"|=":function(elValue,value){return(" "+elValue).indexOf(" "+value+"-")!==-1},"^=":function(elValue,value){return value&&util.startsWith(elValue,value)},"$=":function(elValue,value){return value&&util.endsWith(elValue,value)},"*=":function(elValue,value){return value&&elValue.indexOf(value)!==-1},"=":function(elValue,value){return elValue===value}},relativeExpr={">":{dir:"parentNode",immediate:1}," ":{dir:"parentNode"},"+":{dir:"previousSibling",immediate:1},"~":{dir:"previousSibling"}};matchExpr={tag:isTag,cls:hasSingleClass,id:function(el,value){return getAttr(el,"id")===value},attrib:function(el,value){var name=value.ident;isContextXML||(name=name.toLowerCase());var elValue=getAttr(el,name),match=value.match;if(!match&&void 0!==elValue)return 1;if(match){if(void 0===elValue)return 0;var matchFn=attributeExpr[match];if(matchFn)return matchFn(elValue+"",value.value+"")}return 0},pseudo:function(el,value){var fn,fnStr,ident;if(fnStr=value.fn){if(!(fn=pseudoFnExpr[fnStr]))throw new SyntaxError("Syntax error: not support pseudo: "+fnStr);return fn(el,value.param)}if(ident=value.ident){if(!pseudoIdentExpr[ident])throw new SyntaxError("Syntax error: not support pseudo: "+ident);return pseudoIdentExpr[ident](el)}return 0}},parser.lexer.yy={trim:util.trim,unEscape:unEscape,unEscapeStr:function(str){return this.unEscape(str.slice(1,-1))}},module.exports=select,select.parse=function(str){return parser.parse(str)},select.matches=matches,select.util=util,select.version="@VERSION@"},function(module,exports){function numberify(s){var c=0;return parseFloat(s.replace(/\./g,function(){return 0===c++?".":""}))}function ieVersion(){var m,v;if((m=ua.match(/MSIE ([^;]*)|Trident.*; rv(?:\s|:)?([0-9.]+)/))&&(v=m[1]||m[2]))return doc.documentMode||numberify(v)}function mix(s,t){for(var p in t)s[p]=t[p]}function each(arr,fn){for(var i=0,l=arr.length;i<l&&fn(arr[i],i)!==!1;i++);}var propFix,R_BOOLEAN=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,R_FOCUSABLE=/^(?:button|input|object|select|textarea)$/i,R_CLICKABLE=/^a(?:rea)?$/i,R_INVALID_CHAR=/:|^on/,attrFix={},attrHooks={tabindex:{get:function(el){var attributeNode=el.getAttributeNode("tabindex");return attributeNode&&attributeNode.specified?parseInt(attributeNode.value,10):R_FOCUSABLE.test(el.nodeName)||R_CLICKABLE.test(el.nodeName)&&el.href?0:void 0}}},boolHook={get:function(elem,name){return elem[propFix[name]||name]?name.toLowerCase():void 0}},attrNodeHook={};attrHooks.style={get:function(el){return el.style.cssText}},propFix={hidefocus:"hideFocus",tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"};var ua="undefined"!=typeof navigator?navigator.userAgent:"",doc="undefined"!=typeof document?document:{},ie=ieVersion();if(ie&&ie<8&&(attrHooks.style.set=function(el,val){el.style.cssText=val},mix(attrNodeHook,{get:function(elem,name){var ret=elem.getAttributeNode(name);return ret&&(ret.specified||ret.nodeValue)?ret.nodeValue:void 0}}),mix(attrFix,propFix),attrHooks.tabIndex=attrHooks.tabindex,each(["href","src","width","height","colSpan","rowSpan"],function(name){attrHooks[name]={get:function(elem){var ret=elem.getAttribute(name,2);return null===ret?void 0:ret}}}),attrHooks.placeholder={get:function(elem,name){return elem[name]||attrNodeHook.get(elem,name)}}),ie){var hrefFix=attrHooks.href=attrHooks.href||{};hrefFix.set=function(el,val,name){var b,childNodes=el.childNodes,len=childNodes.length,allText=len>0;for(len-=1;len>=0;len--)3!==childNodes[len].nodeType&&(allText=0);allText&&(b=el.ownerDocument.createElement("b"),b.style.display="none",el.appendChild(b)),el.setAttribute(name,""+val),b&&el.removeChild(b)}}var getElementsByTagName,RE_TRIM=/^[\s\xa0]+|[\s\xa0]+$/g,trim=String.prototype.trim,SPACE=" ";if(getElementsByTagName=function(name,context){return context.getElementsByTagName(name)},doc.createElement){var div=doc.createElement("div");div.appendChild(document.createComment("")),div.getElementsByTagName("*").length&&(getElementsByTagName=function(name,context){var nodes=context.getElementsByTagName(name),needsFilter="*"===name;if(needsFilter||"number"!=typeof nodes.length){for(var el,ret=[],i=0;el=nodes[i++];)needsFilter&&1!==el.nodeType||ret.push(el);return ret}return nodes})}var compareNodeOrder="sourceIndex"in(doc&&doc.documentElement||{})?function(a,b){return a.sourceIndex-b.sourceIndex}:function(a,b){if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;var bit=4&a.compareDocumentPosition(b);return bit?-1:1},util=module.exports={ie:ie,unique:function(){function sortOrder(a,b){return a===b?(hasDuplicate=!0,0):compareNodeOrder(a,b)}var hasDuplicate,baseHasDuplicate=!0;return[0,0].sort(function(){return baseHasDuplicate=!1,0}),function(elements){if(hasDuplicate=baseHasDuplicate,elements.sort(sortOrder),hasDuplicate)for(var i=1,len=elements.length;i<len;)elements[i]===elements[i-1]?(elements.splice(i,1),--len):i++;return elements}}(),getElementsByTagName:getElementsByTagName,getSimpleAttr:function(el,name){var ret=el&&el.getAttributeNode(name);if(ret&&ret.specified)return"value"in ret?ret.value:ret.nodeValue},contains:ie?function(a,b){return 9===a.nodeType&&(a=a.documentElement),b=b.parentNode,a===b||!(!b||1!==b.nodeType)&&(a.contains&&a.contains(b))}:function(a,b){return!!(16&a.compareDocumentPosition(b))},isTag:function(el,value){return"*"===value||el.nodeName.toLowerCase()===value.toLowerCase()},hasSingleClass:function(el,cls){var className=el&&util.getSimpleAttr(el,"class");return className&&(className=className.replace(/[\r\t\n]/g,SPACE))&&(SPACE+className+SPACE).indexOf(SPACE+cls+SPACE)>-1},startsWith:function(str,prefix){return 0===str.lastIndexOf(prefix,0)},endsWith:function(str,suffix){var ind=str.length-suffix.length;return ind>=0&&str.indexOf(suffix,ind)===ind},trim:trim?function(str){return null==str?"":trim.call(str)}:function(str){return null==str?"":(str+"").replace(RE_TRIM,"")},attr:function(el,name){var attrNormalizer,ret;if(name=name.toLowerCase(),name=attrFix[name]||name,attrNormalizer=R_BOOLEAN.test(name)?boolHook:R_INVALID_CHAR.test(name)?attrNodeHook:attrHooks[name],el&&1===el.nodeType){if("form"===el.nodeName.toLowerCase()&&(attrNormalizer=attrNodeHook),attrNormalizer&&attrNormalizer.get)return attrNormalizer.get(el,name);if(ret=el.getAttribute(name),""===ret){var attrNode=el.getAttributeNode(name);if(!attrNode||!attrNode.specified)return}return null===ret?void 0:ret}}}},function(module,exports,__webpack_require__){var parser=function(undefined){function mix(to,from){for(var f in from)to[f]=from[f]}function isArray(obj){return"[object Array]"===Object.prototype.toString.call(obj)}function each(object,fn,context){if(object){var key,val,length,i=0;if(context=context||null,isArray(object))for(length=object.length,val=object[0];i<length&&fn.call(context,val,i,object)!==!1;val=object[++i]);else for(key in object)if(fn.call(context,object[key],key,object)===!1)break}}function inArray(item,arr){for(var i=0,l=arr.length;i<l;i++)if(arr[i]===item)return!0;return!1}var parser={},GrammarConst={SHIFT_TYPE:1,REDUCE_TYPE:2,ACCEPT_TYPE:0,TYPE_INDEX:0,PRODUCTION_INDEX:1,TO_INDEX:2},Lexer=function(cfg){var self=this;self.rules=[],mix(self,cfg),self.resetInput(self.input)};Lexer.prototype={resetInput:function(input){mix(this,{input:input,matched:"",stateStack:[Lexer.STATIC.INITIAL],match:"",text:"",firstLine:1,lineNumber:1,lastLine:1,firstColumn:1,lastColumn:1})},getCurrentRules:function(){var self=this,currentState=self.stateStack[self.stateStack.length-1],rules=[];return self.mapState&&(currentState=self.mapState(currentState)),each(self.rules,function(r){var state=r.state||r[3];state?inArray(currentState,state)&&rules.push(r):currentState===Lexer.STATIC.INITIAL&&rules.push(r)}),rules},pushState:function(state){this.stateStack.push(state)},popState:function(num){num=num||1;for(var ret;num--;)ret=this.stateStack.pop();return ret},showDebugInfo:function(){var self=this,DEBUG_CONTEXT_LIMIT=Lexer.STATIC.DEBUG_CONTEXT_LIMIT,matched=self.matched,match=self.match,input=self.input;matched=matched.slice(0,matched.length-match.length);var past=(matched.length>DEBUG_CONTEXT_LIMIT?"...":"")+matched.slice(0-DEBUG_CONTEXT_LIMIT).replace(/\n/," "),next=match+input;return next=next.slice(0,DEBUG_CONTEXT_LIMIT)+(next.length>DEBUG_CONTEXT_LIMIT?"...":""),past+next+"\n"+new Array(past.length+1).join("-")+"^"},mapSymbol:function(t){return this.symbolMap[t]},mapReverseSymbol:function(rs){var i,self=this,symbolMap=self.symbolMap,reverseSymbolMap=self.reverseSymbolMap;if(!reverseSymbolMap&&symbolMap){reverseSymbolMap=self.reverseSymbolMap={};for(i in symbolMap)reverseSymbolMap[symbolMap[i]]=i}return reverseSymbolMap?reverseSymbolMap[rs]:rs},lex:function(){var i,rule,m,ret,lines,self=this,input=self.input,rules=self.getCurrentRules();if(self.match=self.text="",!input)return self.mapSymbol(Lexer.STATIC.END_TAG);for(i=0;i<rules.length;i++){rule=rules[i];var regexp=rule.regexp||rule[1],token=rule.token||rule[0],action=rule.action||rule[2]||undefined;if(m=input.match(regexp)){lines=m[0].match(/\n.*/g),lines&&(self.lineNumber+=lines.length),mix(self,{firstLine:self.lastLine,lastLine:self.lineNumber+1,firstColumn:self.lastColumn,lastColumn:lines?lines[lines.length-1].length-1:self.lastColumn+m[0].length});var match;return match=self.match=m[0],self.matches=m,self.text=match,self.matched+=match,ret=action&&action.call(self),ret=ret===undefined?token:self.mapSymbol(ret),input=input.slice(match.length),self.input=input,ret?ret:self.lex()}}}},Lexer.STATIC={INITIAL:"I",DEBUG_CONTEXT_LIMIT:20,END_TAG:"$EOF"};var lexer=new Lexer({rules:[["b",/^\[(?:[\t\r\n\f\x20]*)/,function(){this.text=this.yy.trim(this.text)}],["c",/^(?:[\t\r\n\f\x20]*)\]/,function(){this.text=this.yy.trim(this.text)}],["d",/^(?:[\t\r\n\f\x20]*)~=(?:[\t\r\n\f\x20]*)/,function(){this.text=this.yy.trim(this.text)}],["e",/^(?:[\t\r\n\f\x20]*)\|=(?:[\t\r\n\f\x20]*)/,function(){this.text=this.yy.trim(this.text)}],["f",/^(?:[\t\r\n\f\x20]*)\^=(?:[\t\r\n\f\x20]*)/,function(){this.text=this.yy.trim(this.text)}],["g",/^(?:[\t\r\n\f\x20]*)\$=(?:[\t\r\n\f\x20]*)/,function(){this.text=this.yy.trim(this.text)}],["h",/^(?:[\t\r\n\f\x20]*)\*=(?:[\t\r\n\f\x20]*)/,function(){this.text=this.yy.trim(this.text)}],["i",/^(?:[\t\r\n\f\x20]*)\=(?:[\t\r\n\f\x20]*)/,function(){this.text=this.yy.trim(this.text)}],["j",/^(?:(?:[\w]|[^\x00-\xa0]|(?:\\[^\n\r\f0-9a-f]))(?:[\w\d-]|[^\x00-\xa0]|(?:\\[^\n\r\f0-9a-f]))*)\(/,function(){this.text=this.yy.trim(this.text).slice(0,-1),this.pushState("fn")}],["k",/^[^\)]*/,function(){this.popState()},["fn"]],["l",/^(?:[\t\r\n\f\x20]*)\)/,function(){this.text=this.yy.trim(this.text)}],["m",/^:not\((?:[\t\r\n\f\x20]*)/i,function(){this.text=this.yy.trim(this.text)}],["n",/^(?:(?:[\w]|[^\x00-\xa0]|(?:\\[^\n\r\f0-9a-f]))(?:[\w\d-]|[^\x00-\xa0]|(?:\\[^\n\r\f0-9a-f]))*)/,function(){this.text=this.yy.unEscape(this.text)}],["o",/^"(\\"|[^"])*"/,function(){this.text=this.yy.unEscapeStr(this.text)}],["o",/^'(\\'|[^'])*'/,function(){this.text=this.yy.unEscapeStr(this.text)}],["p",/^#(?:(?:[\w\d-]|[^\x00-\xa0]|(?:\\[^\n\r\f0-9a-f]))+)/,function(){this.text=this.yy.unEscape(this.text.slice(1))}],["q",/^\.(?:(?:[\w]|[^\x00-\xa0]|(?:\\[^\n\r\f0-9a-f]))(?:[\w\d-]|[^\x00-\xa0]|(?:\\[^\n\r\f0-9a-f]))*)/,function(){this.text=this.yy.unEscape(this.text.slice(1))}],["r",/^(?:[\t\r\n\f\x20]*),(?:[\t\r\n\f\x20]*)/,function(){this.text=this.yy.trim(this.text)}],["s",/^::?/,0],["t",/^(?:[\t\r\n\f\x20]*)\+(?:[\t\r\n\f\x20]*)/,function(){this.text=this.yy.trim(this.text)}],["u",/^(?:[\t\r\n\f\x20]*)>(?:[\t\r\n\f\x20]*)/,function(){this.text=this.yy.trim(this.text)}],["v",/^(?:[\t\r\n\f\x20]*)~(?:[\t\r\n\f\x20]*)/,function(){this.text=this.yy.trim(this.text)}],["w",/^\*/,0],["x",/^(?:[\t\r\n\f\x20]+)/,0],["y",/^./,0]]});return parser.lexer=lexer,lexer.symbolMap={$EOF:"a",LEFT_BRACKET:"b",RIGHT_BRACKET:"c",INCLUDES:"d",DASH_MATCH:"e",PREFIX_MATCH:"f",SUFFIX_MATCH:"g",SUBSTRING_MATCH:"h",ALL_MATCH:"i",FUNCTION:"j",PARAMETER:"k",RIGHT_PARENTHESES:"l",NOT:"m",IDENT:"n",STRING:"o",HASH:"p",CLASS:"q",COMMA:"r",COLON:"s",PLUS:"t",GREATER:"u",TILDE:"v",UNIVERSAL:"w",S:"x",INVALID:"y",$START:"z",selectors_group:"aa",selector:"ab",simple_selector_sequence:"ac",combinator:"ad",type_selector:"ae",id_selector:"af",class_selector:"ag",attrib_match:"ah",attrib:"ai",attrib_val:"aj",pseudo:"ak",negation:"al",negation_arg:"am",suffix_selector:"an",suffix_selectors:"ao"},parser.productions=[["z",["aa"]],["aa",["ab"],function(){return[this.$1]}],["aa",["aa","r","ab"],function(){this.$1.push(this.$3)}],["ab",["ac"]],["ab",["ab","ad","ac"],function(){this.$1.nextCombinator=this.$3.prevCombinator=this.$2;var order;return order=this.$1.order=this.$1.order||0,this.$3.order=order+1,this.$3.prev=this.$1,this.$1.next=this.$3,this.$3}],["ad",["t"]],["ad",["u"]],["ad",["v"]],["ad",["x"],function(){return" "}],["ae",["n"],function(){return{t:"tag",value:this.$1}}],["ae",["w"],function(){return{t:"tag",value:this.$1}}],["af",["p"],function(){return{t:"id",value:this.$1}}],["ag",["q"],function(){return{t:"cls",value:this.$1}}],["ah",["f"]],["ah",["g"]],["ah",["h"]],["ah",["i"]],["ah",["d"]],["ah",["e"]],["ai",["b","n","c"],function(){return{t:"attrib",value:{ident:this.$2}}}],["aj",["n"]],["aj",["o"]],["ai",["b","n","ah","aj","c"],function(){return{t:"attrib",value:{ident:this.$2,match:this.$3,value:this.$4}}}],["ak",["s","j","k","l"],function(){return{t:"pseudo",value:{fn:this.$2.toLowerCase(),param:this.$3}}}],["ak",["s","n"],function(){return{t:"pseudo",value:{ident:this.$2.toLowerCase()}}}],["al",["m","am","l"],function(){return{t:"pseudo",value:{fn:"not",param:this.$2}}}],["am",["ae"]],["am",["af"]],["am",["ag"]],["am",["ai"]],["am",["ak"]],["an",["af"]],["an",["ag"]],["an",["ai"]],["an",["ak"]],["an",["al"]],["ao",["an"],function(){return[this.$1]}],["ao",["ao","an"],function(){this.$1.push(this.$2)}],["ac",["ae"]],["ac",["ao"],function(){return{suffix:this.$1}}],["ac",["ae","ao"],function(){return{t:"tag",value:this.$1.value,suffix:this.$2}}]],parser.table={gotos:{0:{aa:8,ab:9,ae:10,af:11,ag:12,ai:13,ak:14,al:15,an:16,ao:17,ac:18},2:{ae:20,af:21,ag:22,ai:23,ak:24,am:25},9:{ad:33},10:{af:11,ag:12,
ai:13,ak:14,al:15,an:16,ao:34},17:{af:11,ag:12,ai:13,ak:14,al:15,an:35},19:{ah:43},28:{ab:46,ae:10,af:11,ag:12,ai:13,ak:14,al:15,an:16,ao:17,ac:18},33:{ae:10,af:11,ag:12,ai:13,ak:14,al:15,an:16,ao:17,ac:47},34:{af:11,ag:12,ai:13,ak:14,al:15,an:35},43:{aj:50},46:{ad:33}},action:{0:{b:[1,undefined,1],m:[1,undefined,2],n:[1,undefined,3],p:[1,undefined,4],q:[1,undefined,5],s:[1,undefined,6],w:[1,undefined,7]},1:{n:[1,undefined,19]},2:{b:[1,undefined,1],n:[1,undefined,3],p:[1,undefined,4],q:[1,undefined,5],s:[1,undefined,6],w:[1,undefined,7]},3:{a:[2,9],r:[2,9],t:[2,9],u:[2,9],v:[2,9],x:[2,9],p:[2,9],q:[2,9],b:[2,9],s:[2,9],m:[2,9],l:[2,9]},4:{a:[2,11],r:[2,11],t:[2,11],u:[2,11],v:[2,11],x:[2,11],p:[2,11],q:[2,11],b:[2,11],s:[2,11],m:[2,11],l:[2,11]},5:{a:[2,12],r:[2,12],t:[2,12],u:[2,12],v:[2,12],x:[2,12],p:[2,12],q:[2,12],b:[2,12],s:[2,12],m:[2,12],l:[2,12]},6:{j:[1,undefined,26],n:[1,undefined,27]},7:{a:[2,10],r:[2,10],t:[2,10],u:[2,10],v:[2,10],x:[2,10],p:[2,10],q:[2,10],b:[2,10],s:[2,10],m:[2,10],l:[2,10]},8:{a:[0],r:[1,undefined,28]},9:{a:[2,1],r:[2,1],t:[1,undefined,29],u:[1,undefined,30],v:[1,undefined,31],x:[1,undefined,32]},10:{a:[2,38],r:[2,38],t:[2,38],u:[2,38],v:[2,38],x:[2,38],b:[1,undefined,1],m:[1,undefined,2],p:[1,undefined,4],q:[1,undefined,5],s:[1,undefined,6]},11:{a:[2,31],r:[2,31],t:[2,31],u:[2,31],v:[2,31],x:[2,31],p:[2,31],q:[2,31],b:[2,31],s:[2,31],m:[2,31]},12:{a:[2,32],r:[2,32],t:[2,32],u:[2,32],v:[2,32],x:[2,32],p:[2,32],q:[2,32],b:[2,32],s:[2,32],m:[2,32]},13:{a:[2,33],r:[2,33],t:[2,33],u:[2,33],v:[2,33],x:[2,33],p:[2,33],q:[2,33],b:[2,33],s:[2,33],m:[2,33]},14:{a:[2,34],r:[2,34],t:[2,34],u:[2,34],v:[2,34],x:[2,34],p:[2,34],q:[2,34],b:[2,34],s:[2,34],m:[2,34]},15:{a:[2,35],r:[2,35],t:[2,35],u:[2,35],v:[2,35],x:[2,35],p:[2,35],q:[2,35],b:[2,35],s:[2,35],m:[2,35]},16:{a:[2,36],r:[2,36],t:[2,36],u:[2,36],v:[2,36],x:[2,36],p:[2,36],q:[2,36],b:[2,36],s:[2,36],m:[2,36]},17:{a:[2,39],r:[2,39],t:[2,39],u:[2,39],v:[2,39],x:[2,39],b:[1,undefined,1],m:[1,undefined,2],p:[1,undefined,4],q:[1,undefined,5],s:[1,undefined,6]},18:{a:[2,3],r:[2,3],t:[2,3],u:[2,3],v:[2,3],x:[2,3]},19:{c:[1,undefined,36],d:[1,undefined,37],e:[1,undefined,38],f:[1,undefined,39],g:[1,undefined,40],h:[1,undefined,41],i:[1,undefined,42]},20:{l:[2,26]},21:{l:[2,27]},22:{l:[2,28]},23:{l:[2,29]},24:{l:[2,30]},25:{l:[1,undefined,44]},26:{k:[1,undefined,45]},27:{a:[2,24],r:[2,24],t:[2,24],u:[2,24],v:[2,24],x:[2,24],p:[2,24],q:[2,24],b:[2,24],s:[2,24],m:[2,24],l:[2,24]},28:{b:[1,undefined,1],m:[1,undefined,2],n:[1,undefined,3],p:[1,undefined,4],q:[1,undefined,5],s:[1,undefined,6],w:[1,undefined,7]},29:{n:[2,5],w:[2,5],p:[2,5],q:[2,5],b:[2,5],s:[2,5],m:[2,5]},30:{n:[2,6],w:[2,6],p:[2,6],q:[2,6],b:[2,6],s:[2,6],m:[2,6]},31:{n:[2,7],w:[2,7],p:[2,7],q:[2,7],b:[2,7],s:[2,7],m:[2,7]},32:{n:[2,8],w:[2,8],p:[2,8],q:[2,8],b:[2,8],s:[2,8],m:[2,8]},33:{b:[1,undefined,1],m:[1,undefined,2],n:[1,undefined,3],p:[1,undefined,4],q:[1,undefined,5],s:[1,undefined,6],w:[1,undefined,7]},34:{a:[2,40],r:[2,40],t:[2,40],u:[2,40],v:[2,40],x:[2,40],b:[1,undefined,1],m:[1,undefined,2],p:[1,undefined,4],q:[1,undefined,5],s:[1,undefined,6]},35:{a:[2,37],r:[2,37],t:[2,37],u:[2,37],v:[2,37],x:[2,37],p:[2,37],q:[2,37],b:[2,37],s:[2,37],m:[2,37]},36:{a:[2,19],r:[2,19],t:[2,19],u:[2,19],v:[2,19],x:[2,19],p:[2,19],q:[2,19],b:[2,19],s:[2,19],m:[2,19],l:[2,19]},37:{n:[2,17],o:[2,17]},38:{n:[2,18],o:[2,18]},39:{n:[2,13],o:[2,13]},40:{n:[2,14],o:[2,14]},41:{n:[2,15],o:[2,15]},42:{n:[2,16],o:[2,16]},43:{n:[1,undefined,48],o:[1,undefined,49]},44:{a:[2,25],r:[2,25],t:[2,25],u:[2,25],v:[2,25],x:[2,25],p:[2,25],q:[2,25],b:[2,25],s:[2,25],m:[2,25]},45:{l:[1,undefined,51]},46:{a:[2,2],r:[2,2],t:[1,undefined,29],u:[1,undefined,30],v:[1,undefined,31],x:[1,undefined,32]},47:{a:[2,4],r:[2,4],t:[2,4],u:[2,4],v:[2,4],x:[2,4]},48:{c:[2,20]},49:{c:[2,21]},50:{c:[1,undefined,52]},51:{a:[2,23],r:[2,23],t:[2,23],u:[2,23],v:[2,23],x:[2,23],p:[2,23],q:[2,23],b:[2,23],s:[2,23],m:[2,23],l:[2,23]},52:{a:[2,22],r:[2,22],t:[2,22],u:[2,22],v:[2,22],x:[2,22],p:[2,22],q:[2,22],b:[2,22],s:[2,22],m:[2,22],l:[2,22]}}},parser.parse=function(input,filename){var state,symbol,action,self=this,lexer=self.lexer,table=self.table,gotos=table.gotos,tableAction=table.action,productions=self.productions,valueStack=[null],prefix=filename?"in file: "+filename+" ":"",stack=[0];for(lexer.resetInput(input);;){if(state=stack[stack.length-1],symbol||(symbol=lexer.lex()),action=symbol?tableAction[state]&&tableAction[state][symbol]:null,!action){var error,expected=[];if(tableAction[state])for(var symbolForState in tableAction[state])expected.push(self.lexer.mapReverseSymbol(symbolForState));throw error=prefix+"syntax error at line "+lexer.lineNumber+":\n"+lexer.showDebugInfo()+"\nexpect "+expected.join(", "),new Error(error)}switch(action[GrammarConst.TYPE_INDEX]){case GrammarConst.SHIFT_TYPE:stack.push(symbol),valueStack.push(lexer.text),stack.push(action[GrammarConst.TO_INDEX]),symbol=null;break;case GrammarConst.REDUCE_TYPE:var ret,production=productions[action[GrammarConst.PRODUCTION_INDEX]],reducedSymbol=production.symbol||production[0],reducedAction=production.action||production[2],reducedRhs=production.rhs||production[1],len=reducedRhs.length,i=0,$$=valueStack[valueStack.length-len];for(ret=undefined,self.$$=$$;i<len;i++)self["$"+(len-i)]=valueStack[valueStack.length-1-i];reducedAction&&(ret=reducedAction.call(self)),$$=ret!==undefined?ret:self.$$,stack=stack.slice(0,-1*len*2),valueStack=valueStack.slice(0,-1*len),stack.push(reducedSymbol),valueStack.push($$);var newState=gotos[stack[stack.length-2]][stack[stack.length-1]];stack.push(newState);break;case GrammarConst.ACCEPT_TYPE:return $$}}},parser}();module.exports=parser},function(module,exports){function upperCaseFirstMatch(match,c,offset){return 0!==offset?c.toUpperCase():c}function camelCase(str){var camelCased=str.replace(hyphenExpression,upperCaseFirstMatch);return hyphenExpression.lastIndex=0,camelCased}var hyphenExpression=/\-+([a-z])/gi;module.exports=camelCase},function(module,exports){function isString(value){return"string"==typeof value}module.exports=isString},function(module,exports){function isUndefined(value){return"undefined"==typeof value}module.exports=isUndefined},function(module,exports){function assign(dest){for(var source,args=arguments,i=1;i<args.length;i++){source=args[i];for(var key in source)dest[key]=source[key]}return dest}module.exports=assign},function(module,exports){function mapValues(source,fn){var destination={};for(var key in source)source.hasOwnProperty(key)&&(destination[key]=fn(source[key]));return destination}module.exports=mapValues},function(module,exports,__webpack_require__){function styleCamelCase(name){var camel=camelCase(name);return camel.charAt(0).toUpperCase()===name.charAt(0)?name.charAt(0)+camel.slice(1):"-"===name.charAt(0)?0===camel.indexOf("ms")?camel:camel.charAt(0).toUpperCase()+camel.slice(1):camel}var camelCase=__webpack_require__(34);module.exports=styleCamelCase},function(module,exports){var Window={getComputedStyle:function(node){return{getPropertyValue:node.style.getProperty}}};module.exports=Window},function(module,exports,__webpack_require__){var Element=__webpack_require__(28),mapValues=__webpack_require__(38),mixin={componentWillMount:function(){this.connectedFauxDOM={},this.animateFauxDOMUntil=0},connectFauxDOM:function(node,name){return this.connectedFauxDOM[name]="string"!=typeof node?node:new Element(node),setTimeout(this.drawFauxDOM),this.connectedFauxDOM[name]},drawFauxDOM:function(){var virtualDOM=mapValues(this.connectedFauxDOM,function(n){return n.toReact()});this.setState(virtualDOM)}};module.exports=mixin},function(module,exports){var anim={animateFauxDOM:function(duration){this.animateFauxDOMUntil=Math.max(Date.now()+duration,this.animateFauxDOMUntil),this.fauxDOMAnimationInterval||(this.fauxDOMAnimationInterval=setInterval(function(){Date.now()<this.animateFauxDOMUntil?this.drawFauxDOM():this.stopAnimatingFauxDOM()}.bind(this),16))},stopAnimatingFauxDOM:function(){this.fauxDOMAnimationInterval=clearInterval(this.fauxDOMAnimationInterval),this.animateFauxDOMUntil=0},isAnimatingFauxDOM:function(){return!!this.fauxDOMAnimationInterval},componentWillUnmount:function(){this.stopAnimatingFauxDOM()}};module.exports=anim},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==("undefined"==typeof call?"undefined":_typeof(call))&&"function"!=typeof call?self:call}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof superClass?"undefined":_typeof(superClass)));subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};Object.defineProperty(exports,"__esModule",{value:!0});var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),_react=__webpack_require__(2),_propTypes=(_interopRequireDefault(_react),__webpack_require__(3)),_propTypes2=_interopRequireDefault(_propTypes),_d3Axis=__webpack_require__(44),_d3Axis2=_interopRequireDefault(_d3Axis),_d3Selection=__webpack_require__(26),_d3Selection2=_interopRequireDefault(_d3Selection),_reactFauxDom=__webpack_require__(27),_reactFauxDom2=_interopRequireDefault(_reactFauxDom),_scale=__webpack_require__(14),Axis=function(_Component){function Axis(props){return _classCallCheck(this,Axis),_possibleConstructorReturn(this,(Axis.__proto__||Object.getPrototypeOf(Axis)).call(this,props))}return _inherits(Axis,_Component),_createClass(Axis,[{key:"_mkTickAxis",value:function(){var _props=this.props,tickOrient=(_props.type,_props.tickOrient),tickFormat=_props.tickFormat,tickPadding=_props.tickPadding,tickSizeInner=_props.tickSizeInner,tickSizeOuter=_props.tickSizeOuter,ticks=_props.ticks,tickValues=_props.tickValues,func=_d3Axis2.default;return"left"===tickOrient?func=func.axisLeft(this._mkScale(this.props)):"right"===tickOrient?func=func.axisRight(this._mkScale(this.props)):"top"===tickOrient?func=func.axisTop(this._mkScale(this.props)):"bottom"===tickOrient&&(func=func.axisBottom(this._mkScale(this.props))),tickFormat&&func.tickFormat(tickFormat),tickPadding&&func.tickPadding(tickPadding),tickSizeOuter&&func.tickSizeOuter(tickSizeOuter),tickSizeInner&&func.tickSizeInner(tickSizeInner),tickValues&&func.tickValues(tickValues),ticks&&func.ticks.apply(null,ticks),func}},{key:"_mkScale",value:function(){var newScale;newScale="ordinal"===this.props.scale?"band":this.props.scale;var func=(0,_scale.scale)(Object.assign({},this.props,{scale:newScale}));return func}},{key:"render",value:function(){var _props2=this.props,showAxis=_props2.showAxis,gridAxisClassName=_props2.gridAxisClassName,axisClassName=_props2.axisClassName,type=_props2.type,style=_props2.style,axisStyling=_props2.axisStyling,gridStyleClassName=_props2.gridStyleClassName,axisGroup=_reactFauxDom2.default.createElement("g");if("x"===type)var axisClasses=axisClassName+" axis x";else if("y"===type)var axisClasses=axisClassName+" axis y";else if("gridx"===type||"gridy"===type)var axisClasses=gridAxisClassName+" grid-axis";axisGroup.setAttribute("class",axisClasses);var axisDom=_d3Selection2.default.select(axisGroup);if(axisDom.call(this._mkTickAxis()),showAxis||(axisDom.selectAll(".grid-axis .tick text").style("opacity","0"),"gridx"!==type&&"gridy"!==type||axisDom.selectAll(".grid-axis .domain").style("opacity","0")),axisStyling&&axisStyling.pathClassName){var axisPath=axisDom.selectAll(".axis path");axisPath.attr("class",axisStyling.pathClassName)}else axisDom.selectAll(".axis path").style("fill","none").style("stroke","#000").style("shape-rendering","crispEdges").style("display","none");if(axisStyling&&axisStyling.ticksClassName){var axisLine=axisDom.selectAll(".axis line");axisLine.attr("class",axisStyling.ticksClassName)}else axisDom.selectAll(".axis line").style("fill","none").style("stroke","#000").style("shape-rendering","crispEdges");if(gridStyleClassName){var grids=axisDom.selectAll(".grid-axis line");grids.attr("class",gridStyleClassName)}else axisDom.selectAll(".grid-axis line").style("opacity",.2).style("fill","none").style("stroke","#000").style("stroke-width","1.5px");var axisText=axisDom.selectAll(".axis text");if(style)for(var key in style)axisText.style(key,style[key]);else axisStyling&&axisStyling.textClassName&&axisText.attr("class",axisStyling.textClassName);return axisDom.node().toReact()}}]),Axis}(_react.Component);Axis.defaultProps={range:null,rangeRoundBands:null,domain:null,tickFormat:null,tickOrient:null},Axis.PropTypes={showAxis:_propTypes2.default.bool,type:_propTypes2.default.string,orient:_propTypes2.default.oneOf(["top","bottom","left","right"]),tickOrient:_propTypes2.default.oneOf(["top","bottom","left","right"])},exports.default=Axis},function(module,exports,__webpack_require__){!function(global,factory){factory(exports)}(this,function(exports){"use strict";function identity(x){return x}function translateX(scale0,scale1,d){var x=scale0(d);return"translate("+(isFinite(x)?x:scale1(d))+",0)"}function translateY(scale0,scale1,d){var y=scale0(d);return"translate(0,"+(isFinite(y)?y:scale1(d))+")"}function center(scale){var width=scale.bandwidth()/2;return function(d){return scale(d)+width}}function axis(orient,scale){function axis(context){var x,values=null==tickValues?scale.ticks?scale.ticks.apply(scale,tickArguments):scale.domain():tickValues,format=null==tickFormat?scale.tickFormat?scale.tickFormat.apply(scale,tickArguments):identity:tickFormat,spacing=Math.max(tickSizeInner,0)+tickPadding,transform=orient===top||orient===bottom?translateX:translateY,range=scale.range(),range0=range[0]+.5,range1=range[range.length-1]+.5,position=(scale.bandwidth?center:identity)(scale.copy()),selection=context.selection?context.selection():context,path=selection.selectAll(".domain").data([null]),tick=selection.selectAll(".tick").data(values,scale).order(),tickExit=tick.exit(),tickEnter=tick.enter().append("g",".domain").attr("class","tick"),line=tick.select("line"),text=tick.select("text"),k=orient===top||orient===left?-1:1,y=orient===left||orient===right?(x="x","y"):(x="y","x");path=path.merge(path.enter().append("path").attr("class","domain").attr("stroke","#000")),tick=tick.merge(tickEnter),line=line.merge(tickEnter.append("line").attr("stroke","#000").attr(x+"2",k*tickSizeInner)),text=text.merge(tickEnter.append("text").attr("fill","#000").attr(x,k*spacing)),context!==selection&&(path=path.transition(context),tick=tick.transition(context),line=line.transition(context),text=text.transition(context),tickExit=tickExit.transition(context).attr("opacity",epsilon).attr("transform",function(d){return transform(position,this.parentNode.__axis||position,d)}),tickEnter.attr("opacity",epsilon).attr("transform",function(d){return transform(this.parentNode.__axis||position,position,d)})),tickExit.remove(),path.attr("d",orient===left||orient==right?"M"+k*tickSizeOuter+","+range0+"H0.5V"+range1+"H"+k*tickSizeOuter:"M"+range0+","+k*tickSizeOuter+"V0.5H"+range1+"V"+k*tickSizeOuter),tick.attr("opacity",1).attr("transform",function(d){return transform(position,position,d)}),line.attr(x+"2",k*tickSizeInner).attr(y+"1",.5).attr(y+"2",.5),text.attr(x,k*spacing).attr(y,.5).attr("dy",orient===top?"0em":orient===bottom?".71em":".32em").text(format),selection.attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",orient===right?"start":orient===left?"end":"middle").each(function(){this.__axis=position})}var tickArguments=[],tickValues=null,tickFormat=null,tickSizeInner=6,tickSizeOuter=6,tickPadding=3;return axis.scale=function(_){return arguments.length?(scale=_,axis):scale},axis.ticks=function(){return tickArguments=slice.call(arguments),axis},axis.tickArguments=function(_){return arguments.length?(tickArguments=null==_?[]:slice.call(_),axis):tickArguments.slice()},axis.tickValues=function(_){return arguments.length?(tickValues=null==_?null:slice.call(_),axis):tickValues&&tickValues.slice()},axis.tickFormat=function(_){return arguments.length?(tickFormat=_,axis):tickFormat},axis.tickSize=function(_){return arguments.length?(tickSizeInner=tickSizeOuter=+_,axis):tickSizeInner},axis.tickSizeInner=function(_){return arguments.length?(tickSizeInner=+_,axis):tickSizeInner},axis.tickSizeOuter=function(_){return arguments.length?(tickSizeOuter=+_,axis):tickSizeOuter},axis.tickPadding=function(_){return arguments.length?(tickPadding=+_,axis):tickPadding},axis}function axisTop(scale){return axis(top,scale)}function axisRight(scale){return axis(right,scale)}function axisBottom(scale){return axis(bottom,scale)}function axisLeft(scale){return axis(left,scale)}var version="0.3.2",slice=Array.prototype.slice,top=1,right=2,bottom=3,left=4,epsilon=1e-6;exports.version=version,exports.axisTop=axisTop,exports.axisRight=axisRight,exports.axisBottom=axisBottom,exports.axisLeft=axisLeft})},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==("undefined"==typeof call?"undefined":_typeof(call))&&"function"!=typeof call?self:call}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof superClass?"undefined":_typeof(superClass)));subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};Object.defineProperty(exports,"__esModule",{value:!0});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),_react=__webpack_require__(2),_react2=_interopRequireDefault(_react),_propTypes=__webpack_require__(3),_propTypes2=_interopRequireDefault(_propTypes),_axis=__webpack_require__(43),_axis2=_interopRequireDefault(_axis),_label=__webpack_require__(46),_label2=_interopRequireDefault(_label),_commonProps=__webpack_require__(13),_commonProps2=_interopRequireDefault(_commonProps),Xaxis=function(_Component){function Xaxis(props){return _classCallCheck(this,Xaxis),_possibleConstructorReturn(this,(Xaxis.__proto__||Object.getPrototypeOf(Xaxis)).call(this,props))}return _inherits(Xaxis,_Component),_createClass(Xaxis,[{key:"render",value:function(){var t,axisLabel,_props=this.props,height=_props.height,width=_props.width,margins=_props.margins,showXAxis=_props.showXAxis,x=_props.x,xAxisClassName=_props.xAxisClassName,xDomain=_props.xDomain,xRange=_props.xRange,xBandPaddingInner=_props.xBandPaddingInner,xBandPaddingOuter=_props.xBandPaddingOuter,xScale=_props.xScale,xOrient=_props.xOrient,xTickOrient=_props.xTickOrient,xTickPadding=_props.xTickPadding,xTickSizeOuter=_props.xTickSizeOuter,xTickSizeInner=_props.xTickSizeInner,xTickFormat=_props.xTickFormat,xTicks=_props.xTicks,xLabel=_props.xLabel,xLabelPosition=_props.xLabelPosition,labelOffset=_props.labelOffset,style=_props.style,xAxisStyling=_props.xAxisStyling,xTickValues=_props.xTickValues;return xRange||(xRange=[0,width-margins.left-margins.right]),"bottom"===xOrient?t="translate(0, "+(height-margins.bottom-margins.top)+")":"top"===xOrient&&(t="translate(0, 0)"),xLabel&&(axisLabel=_react2.default.createElement(_label2.default,{height:height,width:width,margins:margins,labelTitle:xLabel,labelPosition:xLabelPosition,labelOffset:labelOffset,bandPaddingInner:xBandPaddingInner,bandPaddingOuter:xBandPaddingOuter})),_react2.default.createElement("g",{transform:t},_react2.default.createElement(_axis2.default,{height:height,width:width,margins:margins,showAxis:showXAxis,axisClassName:xAxisClassName,bandPaddingInner:xBandPaddingInner,bandPaddingOuter:xBandPaddingOuter,type:"x",proxy:x,domain:xDomain,range:xRange,scale:xScale,orient:xOrient,tickOrient:xTickOrient,tickFormat:xTickFormat,tickPadding:xTickPadding,tickSizeInner:xTickSizeInner,tickSizeOuter:xTickSizeOuter,style:style,ticks:xTicks,axisStyling:xAxisStyling,tickValues:xTickValues}),axisLabel)}}]),Xaxis}(_react.Component);Xaxis.defaultProps=_extends({showXAxis:!0,xAxisClassName:"react-d3-core__axis__xAxis",xScale:"linear",xOrient:"bottom",xTickOrient:"bottom",xLabelPosition:"bottom",xTickPadding:3,xInnerTickSize:6,xOuterTickSize:6},_commonProps2.default),Xaxis.propTypes={height:_propTypes2.default.number.isRequired,width:_propTypes2.default.number.isRequired,margins:_propTypes2.default.object.isRequired,showXAxis:_propTypes2.default.bool,x:_propTypes2.default.func,xDomain:_propTypes2.default.array,xRange:_propTypes2.default.array,xScale:_propTypes2.default.string.isRequired,xOrient:_propTypes2.default.oneOf(["top","bottom"]),xTickOrient:_propTypes2.default.oneOf(["top","bottom"]),xAxisClassName:_propTypes2.default.string,xTickSizeInner:_propTypes2.default.number,xTickSizeOuter:_propTypes2.default.number,xBandPaddingInner:_propTypes2.default.number,xBandPaddingOuter:_propTypes2.default.number,xTickPadding:_propTypes2.default.number,xTickFormat:_propTypes2.default.func,xTicks:_propTypes2.default.array,style:_propTypes2.default.object,xAxisStyling:_propTypes2.default.object,xTickValues:_propTypes2.default.array},exports.default=Xaxis},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==("undefined"==typeof call?"undefined":_typeof(call))&&"function"!=typeof call?self:call}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof superClass?"undefined":_typeof(superClass)));subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};Object.defineProperty(exports,"__esModule",{value:!0});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),_react=__webpack_require__(2),_propTypes=(_interopRequireDefault(_react),__webpack_require__(3)),_propTypes2=_interopRequireDefault(_propTypes),_d3Selection=__webpack_require__(26),_d3Selection2=_interopRequireDefault(_d3Selection),_reactFauxDom=__webpack_require__(27),_reactFauxDom2=_interopRequireDefault(_reactFauxDom),_commonProps=__webpack_require__(13),_commonProps2=_interopRequireDefault(_commonProps),Label=function(_Component){function Label(props){return _classCallCheck(this,Label),_possibleConstructorReturn(this,(Label.__proto__||Object.getPrototypeOf(Label)).call(this,props))}return _inherits(Label,_Component),_createClass(Label,[{key:"_mkLabel",value:function(dom){var _props=this.props,height=_props.height,width=_props.width,margins=_props.margins,labelOffset=_props.labelOffset,labelTitle=_props.labelTitle,labelPosition=_props.labelPosition,vTransform=_props.vTransform,hTransform=_props.hTransform,textAnchor=_props.textAnchor,labelDom=_d3Selection2.default.select(dom),fixWidth=width-margins.left-margins.right,fixHeight=height-margins.top-margins.bottom;return"top"===labelPosition?labelDom.attr("transform",hTransform).attr("y",-labelOffset).attr("x",fixWidth/2).style("text-anchor",textAnchor).text(labelTitle):"bottom"===labelPosition?labelDom.attr("transform",hTransform).attr("y",+labelOffset).attr("x",fixWidth/2).style("text-anchor",textAnchor).text(labelTitle):"left"===labelPosition?labelDom.attr("transform",vTransform).attr("y",-labelOffset).attr("x",-fixHeight/2).style("text-anchor",textAnchor).text(labelTitle):"right"===labelPosition&&labelDom.attr("transform",vTransform).attr("y",+labelOffset).attr("x",-fixHeight/2).style("text-anchor",textAnchor).text(labelTitle),labelDom}},{key:"render",value:function(){var labelClassName=this.props.labelClassName,labelText=_reactFauxDom2.default.createElement("text"),labelClasses=labelClassName+" label";labelText.setAttribute("class",labelClasses);var labelDom=this._mkLabel(labelText);return labelDom.node().toReact()}}]),Label}(_react.Component);Label.defaultProps=_extends({hTransform:"rotate(0)",vTransform:"rotate(270)",labelTitle:"label title",labelPosition:"bottom",labelOffset:40,textAnchor:"middle",labelClassName:"react-d3-core__label"},_commonProps2.default),Label.propTypes={height:_propTypes2.default.number.isRequired,width:_propTypes2.default.number.isRequired,margins:_propTypes2.default.object.isRequired,hTransform:_propTypes2.default.string,vTransform:_propTypes2.default.string,labelTitle:_propTypes2.default.string,labelPosition:_propTypes2.default.oneOf(["top","bottom","left","right"]),labelOffset:_propTypes2.default.number,textAnchor:_propTypes2.default.string,labelClassName:_propTypes2.default.string},exports.default=Label},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==("undefined"==typeof call?"undefined":_typeof(call))&&"function"!=typeof call?self:call}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof superClass?"undefined":_typeof(superClass)));subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};Object.defineProperty(exports,"__esModule",{value:!0});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),_react=__webpack_require__(2),_react2=_interopRequireDefault(_react),_propTypes=__webpack_require__(3),_propTypes2=_interopRequireDefault(_propTypes),_axis=__webpack_require__(43),_axis2=_interopRequireDefault(_axis),_label=__webpack_require__(46),_label2=_interopRequireDefault(_label),_commonProps=__webpack_require__(13),_commonProps2=_interopRequireDefault(_commonProps),Yaxis=function(_Component){function Yaxis(props){return _classCallCheck(this,Yaxis),_possibleConstructorReturn(this,(Yaxis.__proto__||Object.getPrototypeOf(Yaxis)).call(this,props))}return _inherits(Yaxis,_Component),_createClass(Yaxis,[{key:"render",value:function(){var t,axisLabel,_props=this.props,width=_props.width,height=_props.height,margins=_props.margins,y=_props.y,yAxisClassName=_props.yAxisClassName,yDomain=_props.yDomain,yRange=_props.yRange,yBandPaddingInner=_props.yBandPaddingInner,yBandPaddingOuter=_props.yBandPaddingOuter,yScale=_props.yScale,yOrient=_props.yOrient,yTickOrient=_props.yTickOrient,yTickFormat=_props.yTickFormat,yTickPadding=_props.yTickPadding,yTickSizeOuter=_props.yTickSizeOuter,yTickSizeInner=_props.yTickSizeInner,yTicks=_props.yTicks,yLabel=_props.yLabel,yLabelPosition=_props.yLabelPosition,labelOffset=_props.labelOffset,showYAxis=_props.showYAxis,style=_props.style,yAxisStyling=_props.yAxisStyling,yTickValues=_props.yTickValues;return yRange||(yRange=[height-margins.top-margins.bottom,0]),"right"===yOrient?t="translate("+(width-margins.right-margins.left)+", 0)":"left"===yOrient&&(t="translate(0, 0)"),yLabel&&(axisLabel=_react2.default.createElement(_label2.default,{height:height,width:width,margins:margins,
labelTitle:yLabel,labelPosition:yLabelPosition,labelOffset:labelOffset,bandPaddingInner:yBandPaddingInner,bandPaddingOuter:yBandPaddingOuter})),_react2.default.createElement("g",{transform:t},_react2.default.createElement(_axis2.default,{height:height,width:width,margins:margins,showAxis:showYAxis,axisClassName:yAxisClassName,bandPaddingInner:yBandPaddingInner,bandPaddingOuter:yBandPaddingOuter,type:"y",proxy:y,domain:yDomain,range:yRange,scale:yScale,orient:yOrient,tickOrient:yTickOrient,tickFormat:yTickFormat,tickPadding:yTickPadding,tickSizeInner:yTickSizeInner,tickSizeOuter:yTickSizeOuter,ticks:yTicks,style:style,axisStyling:yAxisStyling,tickValues:yTickValues}),axisLabel)}}]),Yaxis}(_react.Component);Yaxis.defaultProps=_extends({showYAxis:!0,yAxisClassName:"react-d3-core__axis__yAxis",yScale:"linear",yOrient:"left",yTickOrient:"left",yLabelPosition:"left",yTickPadding:3,yInnerTickSize:6,yOuterTickSize:6},_commonProps2.default),Yaxis.propTypes={height:_propTypes2.default.number.isRequired,width:_propTypes2.default.number.isRequired,margins:_propTypes2.default.object.isRequired,showYAxis:_propTypes2.default.bool,y:_propTypes2.default.func,yDomain:_propTypes2.default.array,yRange:_propTypes2.default.array,yScale:_propTypes2.default.string.isRequired,yOrient:_propTypes2.default.oneOf(["left","right"]),yTickOrient:_propTypes2.default.oneOf(["left","right"]),yAxisClassName:_propTypes2.default.string,yTickSizeInner:_propTypes2.default.number,yTickSizeOuter:_propTypes2.default.number,yBandPaddingInner:_propTypes2.default.number,yBandPaddingOuter:_propTypes2.default.number,yTickPadding:_propTypes2.default.number,yTickFormat:_propTypes2.default.func,yTicks:_propTypes2.default.array,style:_propTypes2.default.object,yAxisStyling:_propTypes2.default.object,yTickValues:_propTypes2.default.array},exports.default=Yaxis},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==("undefined"==typeof call?"undefined":_typeof(call))&&"function"!=typeof call?self:call}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof superClass?"undefined":_typeof(superClass)));subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};Object.defineProperty(exports,"__esModule",{value:!0});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),_react=__webpack_require__(2),_react2=_interopRequireDefault(_react),_propTypes=__webpack_require__(3),_propTypes2=_interopRequireDefault(_propTypes),_axis=__webpack_require__(43),_axis2=_interopRequireDefault(_axis),_commonProps=__webpack_require__(13),_commonProps2=_interopRequireDefault(_commonProps),Grid=function(_Component){function Grid(props){return _classCallCheck(this,Grid),_possibleConstructorReturn(this,(Grid.__proto__||Object.getPrototypeOf(Grid)).call(this,props))}return _inherits(Grid,_Component),_createClass(Grid,[{key:"render",value:function(){var gridAxis,t,_props=this.props,height=_props.height,width=_props.width,margins=_props.margins,type=_props.type,gridAxisClassName=_props.gridAxisClassName,xBandPaddingInner=_props.xBandPaddingInner,xBandPaddingOuter=_props.xBandPaddingOuter,x=_props.x,xDomain=_props.xDomain,xRange=_props.xRange,xScale=_props.xScale,xGridCount=_props.xGridCount,xGridStyleClassName=_props.xGridStyleClassName,yBandPaddingInner=_props.yBandPaddingInner,yBandPaddingOuter=_props.yBandPaddingOuter,y=_props.y,yDomain=_props.yDomain,yRange=_props.yRange,yScale=_props.yScale,yGridCount=_props.yGridCount,yGridStyleClassName=_props.yGridStyleClassName,xTickValues=_props.xTickValues,yTickValues=_props.yTickValues;if(yRange||(yRange=[height-margins.top-margins.bottom,0]),xRange||(xRange=[0,width-margins.left-margins.right]),"x"===type){t="translate(0, "+(height-margins.bottom-margins.top)+")";var tickSize=height-margins.top-margins.bottom;gridAxis=_react2.default.createElement(_axis2.default,{height:height,width:width,margins:margins,type:"gridx",showAxis:!1,gridAxisClassName:gridAxisClassName,bandPaddingInner:xBandPaddingInner,bandPaddingOuter:xBandPaddingOuter,tickOrient:"bottom",orient:"bottom",tickSizeOuter:0,tickPadding:10,tickFormat:null,tickSizeInner:-tickSize,proxy:x,domain:xDomain,range:xRange,scale:xScale,ticks:xGridCount,gridStyleClassName:xGridStyleClassName,tickValues:xTickValues})}else if("y"===type){t="translate(0, 0)";var tickSize=width-margins.left-margins.right;gridAxis=_react2.default.createElement(_axis2.default,{height:height,width:width,margins:margins,type:"gridy",showAxis:!1,gridAxisClassName:gridAxisClassName,bandPaddingInner:yBandPaddingInner,bandPaddingOuter:yBandPaddingOuter,tickOrient:"left",orient:"left",tickSizeOuter:0,tickPadding:10,tickSizeInner:-tickSize,tickFormat:null,proxy:y,scale:yScale,domain:yDomain,range:yRange,ticks:yGridCount,gridStyleClassName:yGridStyleClassName,tickValues:yTickValues})}return _react2.default.createElement("g",{transform:t},gridAxis)}}]),Grid}(_react.Component);Grid.defaultProps=_extends({type:"x",gridAxisClassName:"react-d3-core__grid_axis"},_commonProps2.default),Grid.propTypes={height:_propTypes2.default.number.isRequired,width:_propTypes2.default.number.isRequired,margins:_propTypes2.default.object.isRequired,type:_propTypes2.default.oneOf(["x","y"]).isRequired,gridAxisClassName:_propTypes2.default.string,x:_propTypes2.default.func,xDomain:_propTypes2.default.array,xRange:_propTypes2.default.array,xScale:_propTypes2.default.oneOf(["linear","identity","sqrt","pow","log","quantize","quantile","ordinal","time"]).isRequired,xBandPaddingInner:_propTypes2.default.number,xBandPaddingOuter:_propTypes2.default.number,y:_propTypes2.default.func,yDomain:_propTypes2.default.array,yRange:_propTypes2.default.array,yScale:_propTypes2.default.oneOf(["linear","identity","sqrt","pow","log","quantize","quantile","ordinal","time"]).isRequired,yBandPaddingInner:_propTypes2.default.number,yBandPaddingOuter:_propTypes2.default.number,xGridCount:_propTypes2.default.array,yGridCount:_propTypes2.default.array,xGridStyleClassName:_propTypes2.default.string,yGridStyleClassName:_propTypes2.default.string,xTickValues:_propTypes2.default.array},exports.default=Grid},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==("undefined"==typeof call?"undefined":_typeof(call))&&"function"!=typeof call?self:call}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof superClass?"undefined":_typeof(superClass)));subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};Object.defineProperty(exports,"__esModule",{value:!0});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),_react=__webpack_require__(2),_react2=_interopRequireDefault(_react),_grid=__webpack_require__(48),_grid2=_interopRequireDefault(_grid),XGrid=function(_Component){function XGrid(props){return _classCallCheck(this,XGrid),_possibleConstructorReturn(this,(XGrid.__proto__||Object.getPrototypeOf(XGrid)).call(this,props))}return _inherits(XGrid,_Component),_createClass(XGrid,[{key:"render",value:function(){return _react2.default.createElement(_grid2.default,_extends({},this.props,{type:"x"}))}}]),XGrid}(_react.Component);exports.default=XGrid},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==("undefined"==typeof call?"undefined":_typeof(call))&&"function"!=typeof call?self:call}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof superClass?"undefined":_typeof(superClass)));subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};Object.defineProperty(exports,"__esModule",{value:!0});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),_react=__webpack_require__(2),_react2=_interopRequireDefault(_react),_grid=__webpack_require__(48),_grid2=_interopRequireDefault(_grid),YGrid=function(_Component){function YGrid(props){return _classCallCheck(this,YGrid),_possibleConstructorReturn(this,(YGrid.__proto__||Object.getPrototypeOf(YGrid)).call(this,props))}return _inherits(YGrid,_Component),_createClass(YGrid,[{key:"render",value:function(){return _react2.default.createElement(_grid2.default,_extends({},this.props,{type:"y"}))}}]),YGrid}(_react.Component);exports.default=YGrid},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function xDomain(props,stack,horizonal){var data=props.data,chartSeries=props.chartSeries,x=props.x,xScale=props.xScale,xDomain=props.xDomain;if(xDomain)return xDomain;if(horizonal){if(stack){var max=0,min=0;return data.forEach(function(d){var totalTop=0,totalBottom=0;chartSeries.forEach(function(sd){var field=sd.field;d[field]>0?totalTop+=x(d[field]):d[field]<0&&(totalBottom+=x(d[field]))}),totalTop>max&&(max=totalTop),totalBottom<min&&(min=totalBottom)}),[min,max]}var domainArr=chartSeries.map(function(d){var field=d.field,extent=_d3Array2.default.extent(data,function(dt){return x(dt[field])});return extent});return _d3Array2.default.extent([].concat.apply([],domainArr))}return"ordinal"===xScale?data.map(function(d){return x(d)}):_d3Array2.default.extent(data,function(d){return x(d)})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.xDomain=xDomain;var _d3Array=__webpack_require__(16),_d3Array2=_interopRequireDefault(_d3Array)},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function yDomain(props,stack,horizonal){var data=props.data,chartSeries=props.chartSeries,y=props.y,yDomain=props.yDomain,yScale=props.yScale;if(yDomain)return yDomain;if(horizonal)return"ordinal"===yScale?data.map(function(d){return y(d)}):_d3Array2.default.extent(data,function(d){return y(d)});if(stack){var max=0,min=0;return data.forEach(function(d){var totalTop=0,totalBottom=0;chartSeries.forEach(function(sd){var field=sd.field;d[field]>0?totalTop+=y(d[field]):d[field]<0&&(totalBottom+=y(d[field]))}),totalTop>max&&(max=totalTop),totalBottom<min&&(min=totalBottom)}),[min,max]}var domainArr=chartSeries.map(function(d){var field=d.field,extent=_d3Array2.default.extent(data,function(dt){return y(dt[field])});return extent}),extentArr=_d3Array2.default.extent([].concat.apply([],domainArr));return extentArr[0]*extentArr[1]>=0?[0,extentArr[1]]:extentArr}Object.defineProperty(exports,"__esModule",{value:!0}),exports.yDomain=yDomain;var _d3Array=__webpack_require__(16),_d3Array2=_interopRequireDefault(_d3Array)}]);