text: (function (global, factory) {
  	typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('leaflet'), require('react'), require('react-dom')) :
  	typeof define === 'function' && define.amd ? define(['exports', 'leaflet', 'react', 'react-dom'], factory) :
  	(factory((global.ReactLeaflet = {}),global.L,global.React,global.ReactDOM));
  }(this, (function (exports,leaflet,React,reactDom) { 'use strict';
  
  	var React__default = 'default' in React ? React['default'] : React;
  
  	function createCommonjsModule(fn, module) {
  		return module = { exports: {} }, fn(module, module.exports), module.exports;
  	}
  
  	/**
  	 * Copyright (c) 2013-present, Facebook, Inc.
  	 *
  	 * This source code is licensed under the MIT license found in the
  	 * LICENSE file in the root directory of this source tree.
  	 *
  	 * 
  	 */
  
  	function makeEmptyFunction(arg) {
  	  return function () {
  	    return arg;
  	  };
  	}
  
  	/**
  	 * This function accepts and discards inputs; it has no side effects. This is
  	 * primarily useful idiomatically for overridable function endpoints which
  	 * always need to be callable, since JS lacks a null-call idiom ala Cocoa.
  	 */
  	var emptyFunction = function emptyFunction() {};
  
  	emptyFunction.thatReturns = makeEmptyFunction;
  	emptyFunction.thatReturnsFalse = makeEmptyFunction(false);
  	emptyFunction.thatReturnsTrue = makeEmptyFunction(true);
  	emptyFunction.thatReturnsNull = makeEmptyFunction(null);
  	emptyFunction.thatReturnsThis = function () {
  	  return this;
  	};
  	emptyFunction.thatReturnsArgument = function (arg) {
  	  return arg;
  	};
  
  	var emptyFunction_1 = emptyFunction;
  
  	/**
  	 * Copyright (c) 2013-present, Facebook, Inc.
  	 *
  	 * This source code is licensed under the MIT license found in the
  	 * LICENSE file in the root directory of this source tree.
  	 *
  	 */
  
  	/**
  	 * Use invariant() to assert state which your program assumes to be true.
  	 *
  	 * Provide sprintf-style format (only %s is supported) and arguments
  	 * to provide information about what broke and what you were
  	 * expecting.
  	 *
  	 * The invariant message will be stripped in production, but the invariant
  	 * will remain to ensure logic does not differ in production.
  	 */
  
  	var validateFormat = function validateFormat(format) {};
  
  	{
  	  validateFormat = function validateFormat(format) {
  	    if (format === undefined) {
  	      throw new Error('invariant requires an error message argument');
  	    }
  	  };
  	}
  
  	function invariant(condition, format, a, b, c, d, e, f) {
  	  validateFormat(format);
  
  	  if (!condition) {
  	    var error;
  	    if (format === undefined) {
  	      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];
  	      var argIndex = 0;
  	      error = new Error(format.replace(/%s/g, function () {
  	        return args[argIndex++];
  	      }));
  	      error.name = 'Invariant Violation';
  	    }
  
  	    error.framesToPop = 1; // we don't care about invariant's own frame
  	    throw error;
  	  }
  	}
  
  	var invariant_1 = invariant;
  
  	/**
  	 * Similar to invariant but only logs a warning if the condition is not met.
  	 * This can be used to log issues in development environments in critical
  	 * paths. Removing the logging code for production environments will keep the
  	 * same logic and follow the same code paths.
  	 */
  
  	var warning = emptyFunction_1;
  
  	{
  	  var printWarning = function printWarning(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;
  	    var message = 'Warning: ' + format.replace(/%s/g, function () {
  	      return args[argIndex++];
  	    });
  	    if (typeof console !== 'undefined') {
  	      console.error(message);
  	    }
  	    try {
  	      // --- Welcome to debugging React ---
  	      // This error was thrown as a convenience so that you can use this stack
  	      // to find the callsite that caused this warning to fire.
  	      throw new Error(message);
  	    } catch (x) {}
  	  };
  
  	  warning = function warning(condition, format) {
  	    if (format === undefined) {
  	      throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');
  	    }
  
  	    if (format.indexOf('Failed Composite propType: ') === 0) {
  	      return; // Ignore CompositeComponent proptype check.
  	    }
  
  	    if (!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(undefined, [format].concat(args));
  	    }
  	  };
  	}
  
  	var warning_1 = warning;
  
  	/*
  	object-assign
  	(c) Sindre Sorhus
  	@license MIT
  	*/
  	/* eslint-disable no-unused-vars */
  	var getOwnPropertySymbols = Object.getOwnPropertySymbols;
  	var hasOwnProperty = Object.prototype.hasOwnProperty;
  	var propIsEnumerable = Object.prototype.propertyIsEnumerable;
  
  	function toObject(val) {
  		if (val === null || val === undefined) {
  			throw new TypeError('Object.assign cannot be called with null or undefined');
  		}
  
  		return Object(val);
  	}
  
  	function shouldUseNative() {
  		try {
  			if (!Object.assign) {
  				return false;
  			}
  
  			// Detect buggy property enumeration order in older V8 versions.
  
  			// https://bugs.chromium.org/p/v8/issues/detail?id=4118
  			var test1 = new String('abc');  // eslint-disable-line no-new-wrappers
  			test1[5] = 'de';
  			if (Object.getOwnPropertyNames(test1)[0] === '5') {
  				return false;
  			}
  
  			// https://bugs.chromium.org/p/v8/issues/detail?id=3056
  			var test2 = {};
  			for (var i = 0; i < 10; i++) {
  				test2['_' + String.fromCharCode(i)] = i;
  			}
  			var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
  				return test2[n];
  			});
  			if (order2.join('') !== '0123456789') {
  				return false;
  			}
  
  			// https://bugs.chromium.org/p/v8/issues/detail?id=3056
  			var test3 = {};
  			'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
  				test3[letter] = letter;
  			});
  			if (Object.keys(Object.assign({}, test3)).join('') !==
  					'abcdefghijklmnopqrst') {
  				return false;
  			}
  
  			return true;
  		} catch (err) {
  			// We don't expect any of the above to throw, but better to be safe.
  			return false;
  		}
  	}
  
  	var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
  		var from;
  		var to = toObject(target);
  		var symbols;
  
  		for (var s = 1; s < arguments.length; s++) {
  			from = Object(arguments[s]);
  
  			for (var key in from) {
  				if (hasOwnProperty.call(from, key)) {
  					to[key] = from[key];
  				}
  			}
  
  			if (getOwnPropertySymbols) {
  				symbols = getOwnPropertySymbols(from);
  				for (var i = 0; i < symbols.length; i++) {
  					if (propIsEnumerable.call(from, symbols[i])) {
  						to[symbols[i]] = from[symbols[i]];
  					}
  				}
  			}
  		}
  
  		return to;
  	};
  
  	/**
  	 * Copyright (c) 2013-present, Facebook, Inc.
  	 *
  	 * This source code is licensed under the MIT license found in the
  	 * LICENSE file in the root directory of this source tree.
  	 */
  
  	var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
  
  	var ReactPropTypesSecret_1 = ReactPropTypesSecret;
  
  	{
  	  var invariant$1 = invariant_1;
  	  var warning$1 = warning_1;
  	  var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
  	  var loggedTypeFailures = {};
  	}
  
  	/**
  	 * Assert that the values match with the type specs.
  	 * Error messages are memorized and will only be shown once.
  	 *
  	 * @param {object} typeSpecs Map of name to a ReactPropType
  	 * @param {object} values Runtime values that need to be type-checked
  	 * @param {string} location e.g. "prop", "context", "child context"
  	 * @param {string} componentName Name of the component for error messages.
  	 * @param {?Function} getStack Returns the component stack.
  	 * @private
  	 */
  	function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
  	  {
  	    for (var typeSpecName in typeSpecs) {
  	      if (typeSpecs.hasOwnProperty(typeSpecName)) {
  	        var error;
  	        // Prop type validation may throw. In case they do, we don't want to
  	        // fail the render phase where it didn't fail before. So we log it.
  	        // After these have been cleaned up, we'll let them throw.
  	        try {
  	          // This is intentionally an invariant that gets caught. It's the same
  	          // behavior as without this statement except with a better message.
  	          invariant$1(typeof typeSpecs[typeSpecName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'the `prop-types` package, but received `%s`.', componentName || 'React class', location, typeSpecName, typeof typeSpecs[typeSpecName]);
  	          error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret$1);
  	        } catch (ex) {
  	          error = ex;
  	        }
  	        warning$1(!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);
  	        if (error instanceof Error && !(error.message in loggedTypeFailures)) {
  	          // Only monitor this failure once because there tends to be a lot of the
  	          // same error.
  	          loggedTypeFailures[error.message] = true;
  
  	          var stack = getStack ? getStack() : '';
  
  	          warning$1(false, 'Failed %s type: %s%s', location, error.message, stack != null ? stack : '');
  	        }
  	      }
  	    }
  	  }
  	}
  
  	var checkPropTypes_1 = checkPropTypes;
  
  	var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
  	  /* global Symbol */
  	  var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
  	  var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
  
  	  /**
  	   * Returns the iterator method function contained on the iterable object.
  	   *
  	   * Be sure to invoke the function with the iterable as context:
  	   *
  	   *     var iteratorFn = getIteratorFn(myIterable);
  	   *     if (iteratorFn) {
  	   *       var iterator = iteratorFn.call(myIterable);
  	   *       ...
  	   *     }
  	   *
  	   * @param {?object} maybeIterable
  	   * @return {?function}
  	   */
  	  function getIteratorFn(maybeIterable) {
  	    var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
  	    if (typeof iteratorFn === 'function') {
  	      return iteratorFn;
  	    }
  	  }
  
  	  /**
  	   * Collection of methods that allow declaration and validation of props that are
  	   * supplied to React components. Example usage:
  	   *
  	   *   var Props = require('ReactPropTypes');
  	   *   var MyArticle = React.createClass({
  	   *     propTypes: {
  	   *       // An optional string prop named "description".
  	   *       description: Props.string,
  	   *
  	   *       // A required enum prop named "category".
  	   *       category: Props.oneOf(['News','Photos']).isRequired,
  	   *
  	   *       // A prop named "dialog" that requires an instance of Dialog.
  	   *       dialog: Props.instanceOf(Dialog).isRequired
  	   *     },
  	   *     render: function() { ... }
  	   *   });
  	   *
  	   * A more formal specification of how these methods are used:
  	   *
  	   *   type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
  	   *   decl := ReactPropTypes.{type}(.isRequired)?
  	   *
  	   * Each and every declaration produces a function with the same signature. This
  	   * allows the creation of custom validation functions. For example:
  	   *
  	   *  var MyLink = React.createClass({
  	   *    propTypes: {
  	   *      // An optional string or URI prop named "href".
  	   *      href: function(props, propName, componentName) {
  	   *        var propValue = props[propName];
  	   *        if (propValue != null && typeof propValue !== 'string' &&
  	   *            !(propValue instanceof URI)) {
  	   *          return new Error(
  	   *            'Expected a string or an URI for ' + propName + ' in ' +
  	   *            componentName
  	   *          );
  	   *        }
  	   *      }
  	   *    },
  	   *    render: function() {...}
  	   *  });
  	   *
  	   * @internal
  	   */
  
  	  var ANONYMOUS = '<<anonymous>>';
  
  	  // Important!
  	  // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
  	  var 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,
  	  };
  
  	  /**
  	   * inlined Object.is polyfill to avoid requiring consumers ship their own
  	   * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
  	   */
  	  /*eslint-disable no-self-compare*/
  	  function is(x, y) {
  	    // SameValue algorithm
  	    if (x === y) {
  	      // Steps 1-5, 7-10
  	      // Steps 6.b-6.e: +0 != -0
  	      return x !== 0 || 1 / x === 1 / y;
  	    } else {
  	      // Step 6.a: NaN == NaN
  	      return x !== x && y !== y;
  	    }
  	  }
  	  /*eslint-enable no-self-compare*/
  
  	  /**
  	   * We use an Error-like object for backward compatibility as people may call
  	   * PropTypes directly and inspect their output. However, we don't use real
  	   * Errors anymore. We don't inspect their stack anyway, and creating them
  	   * is prohibitively expensive if they are created too often, such as what
  	   * happens in oneOfType() for any type before the one that matched.
  	   */
  	  function PropTypeError(message) {
  	    this.message = message;
  	    this.stack = '';
  	  }
  	  // Make `instanceof Error` still work for returned errors.
  	  PropTypeError.prototype = Error.prototype;
  
  	  function createChainableTypeChecker(validate) {
  	    {
  	      var manualPropTypeCallCache = {};
  	      var manualPropTypeWarningCount = 0;
  	    }
  	    function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
  	      componentName = componentName || ANONYMOUS;
  	      propFullName = propFullName || propName;
  
  	      if (secret !== ReactPropTypesSecret_1) {
  	        if (throwOnDirectAccess) {
  	          // New behavior only for users of `prop-types` package
  	          invariant_1(
  	            false,
  	            '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 ("development" !== 'production' && typeof console !== 'undefined') {
  	          // Old behavior for people using React.PropTypes
  	          var cacheKey = componentName + ':' + propName;
  	          if (
  	            !manualPropTypeCallCache[cacheKey] &&
  	            // Avoid spamming the console because they are often not actionable except for lib authors
  	            manualPropTypeWarningCount < 3
  	          ) {
  	            warning_1(
  	              false,
  	              '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] = true;
  	            manualPropTypeWarningCount++;
  	          }
  	        }
  	      }
  	      if (props[propName] == null) {
  	        if (isRequired) {
  	          if (props[propName] === null) {
  	            return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
  	          }
  	          return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
  	        }
  	        return null;
  	      } else {
  	        return validate(props, propName, componentName, location, propFullName);
  	      }
  	    }
  
  	    var chainedCheckType = checkType.bind(null, false);
  	    chainedCheckType.isRequired = checkType.bind(null, true);
  
  	    return chainedCheckType;
  	  }
  
  	  function createPrimitiveTypeChecker(expectedType) {
  	    function validate(props, propName, componentName, location, propFullName, secret) {
  	      var propValue = props[propName];
  	      var propType = getPropType(propValue);
  	      if (propType !== expectedType) {
  	        // `propValue` being instance of, say, date/regexp, pass the 'object'
  	        // check, but we can offer a more precise error message here rather than
  	        // 'of type `object`'.
  	        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_1.thatReturnsNull);
  	  }
  
  	  function createArrayOfTypeChecker(typeChecker) {
  	    function validate(props, propName, componentName, location, propFullName) {
  	      if (typeof typeChecker !== 'function') {
  	        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_1);
  	        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;
  	        var 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) {
  	    if (!Array.isArray(expectedValues)) {
  	      warning_1(false, 'Invalid argument supplied to oneOf, expected an instance of array.');
  	      return emptyFunction_1.thatReturnsNull;
  	    }
  
  	    function validate(props, propName, componentName, location, propFullName) {
  	      var propValue = props[propName];
  	      for (var 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 createChainableTypeChecker(validate);
  	  }
  
  	  function createObjectOfTypeChecker(typeChecker) {
  	    function validate(props, propName, componentName, location, propFullName) {
  	      if (typeof typeChecker !== 'function') {
  	        return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
  	      }
  	      var propValue = props[propName];
  	      var propType = getPropType(propValue);
  	      if (propType !== 'object') {
  	        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_1);
  	          if (error instanceof Error) {
  	            return error;
  	          }
  	        }
  	      }
  	      return null;
  	    }
  	    return createChainableTypeChecker(validate);
  	  }
  
  	  function createUnionTypeChecker(arrayOfTypeCheckers) {
  	    if (!Array.isArray(arrayOfTypeCheckers)) {
  	      warning_1(false, 'Invalid argument supplied to oneOfType, expected an instance of array.');
  	      return emptyFunction_1.thatReturnsNull;
  	    }
  
  	    for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
  	      var checker = arrayOfTypeCheckers[i];
  	      if (typeof checker !== 'function') {
  	        warning_1(
  	          false,
  	          'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
  	          'received %s at index %s.',
  	          getPostfixForTypeWarning(checker),
  	          i
  	        );
  	        return emptyFunction_1.thatReturnsNull;
  	      }
  	    }
  
  	    function validate(props, propName, componentName, location, propFullName) {
  	      for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
  	        var checker = arrayOfTypeCheckers[i];
  	        if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret_1) == null) {
  	          return null;
  	        }
  	      }
  
  	      return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));
  	    }
  	    return createChainableTypeChecker(validate);
  	  }
  
  	  function createNodeChecker() {
  	    function validate(props, propName, componentName, location, propFullName) {
  	      if (!isNode(props[propName])) {
  	        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
  	      }
  	      return null;
  	    }
  	    return createChainableTypeChecker(validate);
  	  }
  
  	  function createShapeTypeChecker(shapeTypes) {
  	    function validate(props, propName, componentName, location, propFullName) {
  	      var propValue = props[propName];
  	      var propType = getPropType(propValue);
  	      if (propType !== 'object') {
  	        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) {
  	          continue;
  	        }
  	        var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
  	        if (error) {
  	          return error;
  	        }
  	      }
  	      return null;
  	    }
  	    return createChainableTypeChecker(validate);
  	  }
  
  	  function createStrictShapeTypeChecker(shapeTypes) {
  	    function validate(props, propName, componentName, location, propFullName) {
  	      var propValue = props[propName];
  	      var propType = getPropType(propValue);
  	      if (propType !== 'object') {
  	        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
  	      }
  	      // We need to check all keys in case some are required but missing from
  	      // props.
  	      var allKeys = objectAssign({}, 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_1);
  	        if (error) {
  	          return error;
  	        }
  	      }
  	      return null;
  	    }
  
  	    return createChainableTypeChecker(validate);
  	  }
  
  	  function isNode(propValue) {
  	    switch (typeof propValue) {
  	      case 'number':
  	      case 'string':
  	      case 'undefined':
  	        return true;
  	      case 'boolean':
  	        return !propValue;
  	      case 'object':
  	        if (Array.isArray(propValue)) {
  	          return propValue.every(isNode);
  	        }
  	        if (propValue === null || isValidElement(propValue)) {
  	          return true;
  	        }
  
  	        var iteratorFn = getIteratorFn(propValue);
  	        if (iteratorFn) {
  	          var iterator = iteratorFn.call(propValue);
  	          var step;
  	          if (iteratorFn !== propValue.entries) {
  	            while (!(step = iterator.next()).done) {
  	              if (!isNode(step.value)) {
  	                return false;
  	              }
  	            }
  	          } else {
  	            // Iterator will provide entry [k,v] tuples rather than values.
  	            while (!(step = iterator.next()).done) {
  	              var entry = step.value;
  	              if (entry) {
  	                if (!isNode(entry[1])) {
  	                  return false;
  	                }
  	              }
  	            }
  	          }
  	        } else {
  	          return false;
  	        }
  
  	        return true;
  	      default:
  	        return false;
  	    }
  	  }
  
  	  function isSymbol(propType, propValue) {
  	    // Native Symbol.
  	    if (propType === 'symbol') {
  	      return true;
  	    }
  
  	    // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
  	    if (propValue['@@toStringTag'] === 'Symbol') {
  	      return true;
  	    }
  
  	    // Fallback for non-spec compliant Symbols which are polyfilled.
  	    if (typeof Symbol === 'function' && propValue instanceof Symbol) {
  	      return true;
  	    }
  
  	    return false;
  	  }
  
  	  // Equivalent of `typeof` but with special handling for array and regexp.
  	  function getPropType(propValue) {
  	    var propType = typeof propValue;
  	    if (Array.isArray(propValue)) {
  	      return 'array';
  	    }
  	    if (propValue instanceof RegExp) {
  	      // Old webkits (at least until Android 4.0) return 'function' rather than
  	      // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
  	      // passes PropTypes.object.
  	      return 'object';
  	    }
  	    if (isSymbol(propType, propValue)) {
  	      return 'symbol';
  	    }
  	    return propType;
  	  }
  
  	  // This handles more types than `getPropType`. Only used for error messages.
  	  // See `createPrimitiveTypeChecker`.
  	  function getPreciseType(propValue) {
  	    if (typeof propValue === 'undefined' || propValue === null) {
  	      return '' + propValue;
  	    }
  	    var propType = getPropType(propValue);
  	    if (propType === 'object') {
  	      if (propValue instanceof Date) {
  	        return 'date';
  	      } else if (propValue instanceof RegExp) {
  	        return 'regexp';
  	      }
  	    }
  	    return propType;
  	  }
  
  	  // Returns a string that is postfixed to a warning about an invalid type.
  	  // For example, "undefined" or "of type array"
  	  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;
  	    }
  	  }
  
  	  // Returns class name of the object, if any.
  	  function getClassName(propValue) {
  	    if (!propValue.constructor || !propValue.constructor.name) {
  	      return ANONYMOUS;
  	    }
  	    return propValue.constructor.name;
  	  }
  
  	  ReactPropTypes.checkPropTypes = checkPropTypes_1;
  	  ReactPropTypes.PropTypes = ReactPropTypes;
  
  	  return ReactPropTypes;
  	};
  
  	var propTypes = createCommonjsModule(function (module) {
  	/**
  	 * Copyright (c) 2013-present, Facebook, Inc.
  	 *
  	 * This source code is licensed under the MIT license found in the
  	 * LICENSE file in the root directory of this source tree.
  	 */
  
  	{
  	  var REACT_ELEMENT_TYPE = (typeof Symbol === 'function' &&
  	    Symbol.for &&
  	    Symbol.for('react.element')) ||
  	    0xeac7;
  
  	  var isValidElement = function(object) {
  	    return typeof object === 'object' &&
  	      object !== null &&
  	      object.$$typeof === REACT_ELEMENT_TYPE;
  	  };
  
  	  // By explicitly using `prop-types` you are opting into new development behavior.
  	  // http://fb.me/prop-types-in-prod
  	  var throwOnDirectAccess = true;
  	  module.exports = factoryWithTypeCheckers(isValidElement, throwOnDirectAccess);
  	}
  	});
  
  	var latlng = propTypes.oneOfType([propTypes.arrayOf(propTypes.number), // [number, number]
  	propTypes.shape({ lat: propTypes.number, lng: propTypes.number }), propTypes.shape({ lat: propTypes.number, lon: propTypes.number })]);
  
  	var latlngList = propTypes.arrayOf(latlng);
  
  	var bounds = propTypes.oneOfType([propTypes.instanceOf(leaflet.LatLngBounds), latlngList]);
  
  	var children = propTypes.oneOfType([propTypes.arrayOf(propTypes.node), propTypes.node]);
  
  	var controlPositionType = propTypes.oneOf(['topleft', 'topright', 'bottomleft', 'bottomright']);
  
  	var layer = propTypes.object;
  
  	var layerContainer = propTypes.shape({
  	  addLayer: propTypes.func.isRequired,
  	  removeLayer: propTypes.func.isRequired
  	});
  
  	var map = propTypes.instanceOf(leaflet.Map);
  
  	var viewport = propTypes.shape({
  	  center: latlng,
  	  zoom: propTypes.number
  	});
  
  
  
  	var index = /*#__PURE__*/Object.freeze({
  		bounds: bounds,
  		children: children,
  		controlPosition: controlPositionType,
  		latlng: latlng,
  		latlngList: latlngList,
  		layer: layer,
  		layerContainer: layerContainer,
  		map: map,
  		viewport: viewport
  	});
  
  	var classCallCheck = function (instance, Constructor) {
  	  if (!(instance instanceof Constructor)) {
  	    throw new TypeError("Cannot call a class as a function");
  	  }
  	};
  
  	var createClass = function () {
  	  function defineProperties(target, props) {
  	    for (var i = 0; i < props.length; i++) {
  	      var descriptor = props[i];
  	      descriptor.enumerable = descriptor.enumerable || false;
  	      descriptor.configurable = true;
  	      if ("value" in descriptor) descriptor.writable = true;
  	      Object.defineProperty(target, descriptor.key, descriptor);
  	    }
  	  }
  
  	  return function (Constructor, protoProps, staticProps) {
  	    if (protoProps) defineProperties(Constructor.prototype, protoProps);
  	    if (staticProps) defineProperties(Constructor, staticProps);
  	    return Constructor;
  	  };
  	}();
  
  	var _extends = Object.assign || function (target) {
  	  for (var i = 1; i < arguments.length; i++) {
  	    var source = arguments[i];
  
  	    for (var key in source) {
  	      if (Object.prototype.hasOwnProperty.call(source, key)) {
  	        target[key] = source[key];
  	      }
  	    }
  	  }
  
  	  return target;
  	};
  
  	var inherits = function (subClass, superClass) {
  	  if (typeof superClass !== "function" && superClass !== null) {
  	    throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
  	  }
  
  	  subClass.prototype = Object.create(superClass && superClass.prototype, {
  	    constructor: {
  	      value: subClass,
  	      enumerable: false,
  	      writable: true,
  	      configurable: true
  	    }
  	  });
  	  if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
  	};
  
  	var objectWithoutProperties = function (obj, keys) {
  	  var target = {};
  
  	  for (var i in obj) {
  	    if (keys.indexOf(i) >= 0) continue;
  	    if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
  	    target[i] = obj[i];
  	  }
  
  	  return target;
  	};
  
  	var possibleConstructorReturn = function (self, call) {
  	  if (!self) {
  	    throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  	  }
  
  	  return call && (typeof call === "object" || typeof call === "function") ? call : self;
  	};
  
  	var MapControl = function (_Component) {
  	  inherits(MapControl, _Component);
  
  	  function MapControl() {
  	    classCallCheck(this, MapControl);
  	    return possibleConstructorReturn(this, _Component.apply(this, arguments));
  	  }
  
  	  // eslint-disable-next-line no-unused-vars
  	  MapControl.prototype.createLeafletElement = function createLeafletElement(props) {
  	    throw new Error('createLeafletElement() must be implemented');
  	  };
  
  	  MapControl.prototype.updateLeafletElement = function updateLeafletElement(fromProps, toProps) {
  	    if (toProps.position !== fromProps.position) {
  	      this.leafletElement.setPosition(toProps.position);
  	    }
  	  };
  
  	  MapControl.prototype.componentWillMount = function componentWillMount() {
  	    this.leafletElement = this.createLeafletElement(this.props);
  	  };
  
  	  MapControl.prototype.componentDidMount = function componentDidMount() {
  	    this.leafletElement.addTo(this.context.map);
  	  };
  
  	  MapControl.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {
  	    this.updateLeafletElement(prevProps, this.props);
  	  };
  
  	  MapControl.prototype.componentWillUnmount = function componentWillUnmount() {
  	    this.leafletElement.remove();
  	  };
  
  	  MapControl.prototype.render = function render() {
  	    return null;
  	  };
  
  	  return MapControl;
  	}(React.Component);
  
  	MapControl.propTypes = {
  	  position: controlPositionType
  	};
  	MapControl.contextTypes = {
  	  map: map
  	};
  
  	var AttributionControl = function (_MapControl) {
  	  inherits(AttributionControl, _MapControl);
  
  	  function AttributionControl() {
  	    classCallCheck(this, AttributionControl);
  	    return possibleConstructorReturn(this, _MapControl.apply(this, arguments));
  	  }
  
  	  AttributionControl.prototype.createLeafletElement = function createLeafletElement(props) {
  	    return new leaflet.Control.Attribution(props);
  	  };
  
  	  return AttributionControl;
  	}(MapControl);
  
  	AttributionControl.propTypes = {
  	  position: controlPositionType,
  	  prefix: propTypes.string
  	};
  
  	/**
  	 * Checks if `value` is classified as an `Array` object.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 0.1.0
  	 * @category Lang
  	 * @param {*} value The value to check.
  	 * @returns {boolean} Returns `true` if `value` is an array, else `false`.
  	 * @example
  	 *
  	 * _.isArray([1, 2, 3]);
  	 * // => true
  	 *
  	 * _.isArray(document.body.children);
  	 * // => false
  	 *
  	 * _.isArray('abc');
  	 * // => false
  	 *
  	 * _.isArray(_.noop);
  	 * // => false
  	 */
  	var isArray = Array.isArray;
  
  	/** Detect free variable `global` from Node.js. */
  	var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
  
  	/** Detect free variable `self`. */
  	var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
  
  	/** Used as a reference to the global object. */
  	var root = freeGlobal || freeSelf || Function('return this')();
  
  	/** Built-in value references. */
  	var Symbol$1 = root.Symbol;
  
  	/** Used for built-in method references. */
  	var objectProto = Object.prototype;
  
  	/** Used to check objects for own properties. */
  	var hasOwnProperty$1 = objectProto.hasOwnProperty;
  
  	/**
  	 * Used to resolve the
  	 * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
  	 * of values.
  	 */
  	var nativeObjectToString = objectProto.toString;
  
  	/** Built-in value references. */
  	var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : undefined;
  
  	/**
  	 * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
  	 *
  	 * @private
  	 * @param {*} value The value to query.
  	 * @returns {string} Returns the raw `toStringTag`.
  	 */
  	function getRawTag(value) {
  	  var isOwn = hasOwnProperty$1.call(value, symToStringTag),
  	      tag = value[symToStringTag];
  
  	  try {
  	    value[symToStringTag] = undefined;
  	    var unmasked = true;
  	  } catch (e) {}
  
  	  var result = nativeObjectToString.call(value);
  	  if (unmasked) {
  	    if (isOwn) {
  	      value[symToStringTag] = tag;
  	    } else {
  	      delete value[symToStringTag];
  	    }
  	  }
  	  return result;
  	}
  
  	/** Used for built-in method references. */
  	var objectProto$1 = Object.prototype;
  
  	/**
  	 * Used to resolve the
  	 * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
  	 * of values.
  	 */
  	var nativeObjectToString$1 = objectProto$1.toString;
  
  	/**
  	 * Converts `value` to a string using `Object.prototype.toString`.
  	 *
  	 * @private
  	 * @param {*} value The value to convert.
  	 * @returns {string} Returns the converted string.
  	 */
  	function objectToString(value) {
  	  return nativeObjectToString$1.call(value);
  	}
  
  	/** `Object#toString` result references. */
  	var nullTag = '[object Null]',
  	    undefinedTag = '[object Undefined]';
  
  	/** Built-in value references. */
  	var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : undefined;
  
  	/**
  	 * The base implementation of `getTag` without fallbacks for buggy environments.
  	 *
  	 * @private
  	 * @param {*} value The value to query.
  	 * @returns {string} Returns the `toStringTag`.
  	 */
  	function baseGetTag(value) {
  	  if (value == null) {
  	    return value === undefined ? undefinedTag : nullTag;
  	  }
  	  return (symToStringTag$1 && symToStringTag$1 in Object(value))
  	    ? getRawTag(value)
  	    : objectToString(value);
  	}
  
  	/**
  	 * Checks if `value` is object-like. A value is object-like if it's not `null`
  	 * and has a `typeof` result of "object".
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 4.0.0
  	 * @category Lang
  	 * @param {*} value The value to check.
  	 * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
  	 * @example
  	 *
  	 * _.isObjectLike({});
  	 * // => true
  	 *
  	 * _.isObjectLike([1, 2, 3]);
  	 * // => true
  	 *
  	 * _.isObjectLike(_.noop);
  	 * // => false
  	 *
  	 * _.isObjectLike(null);
  	 * // => false
  	 */
  	function isObjectLike(value) {
  	  return value != null && typeof value == 'object';
  	}
  
  	/** `Object#toString` result references. */
  	var symbolTag = '[object Symbol]';
  
  	/**
  	 * Checks if `value` is classified as a `Symbol` primitive or object.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 4.0.0
  	 * @category Lang
  	 * @param {*} value The value to check.
  	 * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
  	 * @example
  	 *
  	 * _.isSymbol(Symbol.iterator);
  	 * // => true
  	 *
  	 * _.isSymbol('abc');
  	 * // => false
  	 */
  	function isSymbol(value) {
  	  return typeof value == 'symbol' ||
  	    (isObjectLike(value) && baseGetTag(value) == symbolTag);
  	}
  
  	/** Used to match property names within property paths. */
  	var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
  	    reIsPlainProp = /^\w*$/;
  
  	/**
  	 * Checks if `value` is a property name and not a property path.
  	 *
  	 * @private
  	 * @param {*} value The value to check.
  	 * @param {Object} [object] The object to query keys on.
  	 * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
  	 */
  	function isKey(value, object) {
  	  if (isArray(value)) {
  	    return false;
  	  }
  	  var type = typeof value;
  	  if (type == 'number' || type == 'symbol' || type == 'boolean' ||
  	      value == null || isSymbol(value)) {
  	    return true;
  	  }
  	  return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
  	    (object != null && value in Object(object));
  	}
  
  	/**
  	 * Checks if `value` is the
  	 * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
  	 * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 0.1.0
  	 * @category Lang
  	 * @param {*} value The value to check.
  	 * @returns {boolean} Returns `true` if `value` is an object, else `false`.
  	 * @example
  	 *
  	 * _.isObject({});
  	 * // => true
  	 *
  	 * _.isObject([1, 2, 3]);
  	 * // => true
  	 *
  	 * _.isObject(_.noop);
  	 * // => true
  	 *
  	 * _.isObject(null);
  	 * // => false
  	 */
  	function isObject(value) {
  	  var type = typeof value;
  	  return value != null && (type == 'object' || type == 'function');
  	}
  
  	/** `Object#toString` result references. */
  	var asyncTag = '[object AsyncFunction]',
  	    funcTag = '[object Function]',
  	    genTag = '[object GeneratorFunction]',
  	    proxyTag = '[object Proxy]';
  
  	/**
  	 * Checks if `value` is classified as a `Function` object.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 0.1.0
  	 * @category Lang
  	 * @param {*} value The value to check.
  	 * @returns {boolean} Returns `true` if `value` is a function, else `false`.
  	 * @example
  	 *
  	 * _.isFunction(_);
  	 * // => true
  	 *
  	 * _.isFunction(/abc/);
  	 * // => false
  	 */
  	function isFunction(value) {
  	  if (!isObject(value)) {
  	    return false;
  	  }
  	  // The use of `Object#toString` avoids issues with the `typeof` operator
  	  // in Safari 9 which returns 'object' for typed arrays and other constructors.
  	  var tag = baseGetTag(value);
  	  return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
  	}
  
  	/** Used to detect overreaching core-js shims. */
  	var coreJsData = root['__core-js_shared__'];
  
  	/** Used to detect methods masquerading as native. */
  	var maskSrcKey = (function() {
  	  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
  	  return uid ? ('Symbol(src)_1.' + uid) : '';
  	}());
  
  	/**
  	 * Checks if `func` has its source masked.
  	 *
  	 * @private
  	 * @param {Function} func The function to check.
  	 * @returns {boolean} Returns `true` if `func` is masked, else `false`.
  	 */
  	function isMasked(func) {
  	  return !!maskSrcKey && (maskSrcKey in func);
  	}
  
  	/** Used for built-in method references. */
  	var funcProto = Function.prototype;
  
  	/** Used to resolve the decompiled source of functions. */
  	var funcToString = funcProto.toString;
  
  	/**
  	 * Converts `func` to its source code.
  	 *
  	 * @private
  	 * @param {Function} func The function to convert.
  	 * @returns {string} Returns the source code.
  	 */
  	function toSource(func) {
  	  if (func != null) {
  	    try {
  	      return funcToString.call(func);
  	    } catch (e) {}
  	    try {
  	      return (func + '');
  	    } catch (e) {}
  	  }
  	  return '';
  	}
  
  	/**
  	 * Used to match `RegExp`
  	 * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
  	 */
  	var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
  
  	/** Used to detect host constructors (Safari). */
  	var reIsHostCtor = /^\[object .+?Constructor\]$/;
  
  	/** Used for built-in method references. */
  	var funcProto$1 = Function.prototype,
  	    objectProto$2 = Object.prototype;
  
  	/** Used to resolve the decompiled source of functions. */
  	var funcToString$1 = funcProto$1.toString;
  
  	/** Used to check objects for own properties. */
  	var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
  
  	/** Used to detect if a method is native. */
  	var reIsNative = RegExp('^' +
  	  funcToString$1.call(hasOwnProperty$2).replace(reRegExpChar, '\\$&')
  	  .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
  	);
  
  	/**
  	 * The base implementation of `_.isNative` without bad shim checks.
  	 *
  	 * @private
  	 * @param {*} value The value to check.
  	 * @returns {boolean} Returns `true` if `value` is a native function,
  	 *  else `false`.
  	 */
  	function baseIsNative(value) {
  	  if (!isObject(value) || isMasked(value)) {
  	    return false;
  	  }
  	  var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
  	  return pattern.test(toSource(value));
  	}
  
  	/**
  	 * Gets the value at `key` of `object`.
  	 *
  	 * @private
  	 * @param {Object} [object] The object to query.
  	 * @param {string} key The key of the property to get.
  	 * @returns {*} Returns the property value.
  	 */
  	function getValue(object, key) {
  	  return object == null ? undefined : object[key];
  	}
  
  	/**
  	 * Gets the native function at `key` of `object`.
  	 *
  	 * @private
  	 * @param {Object} object The object to query.
  	 * @param {string} key The key of the method to get.
  	 * @returns {*} Returns the function if it's native, else `undefined`.
  	 */
  	function getNative(object, key) {
  	  var value = getValue(object, key);
  	  return baseIsNative(value) ? value : undefined;
  	}
  
  	/* Built-in method references that are verified to be native. */
  	var nativeCreate = getNative(Object, 'create');
  
  	/**
  	 * Removes all key-value entries from the hash.
  	 *
  	 * @private
  	 * @name clear
  	 * @memberOf Hash
  	 */
  	function hashClear() {
  	  this.__data__ = nativeCreate ? nativeCreate(null) : {};
  	  this.size = 0;
  	}
  
  	/**
  	 * Removes `key` and its value from the hash.
  	 *
  	 * @private
  	 * @name delete
  	 * @memberOf Hash
  	 * @param {Object} hash The hash to modify.
  	 * @param {string} key The key of the value to remove.
  	 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
  	 */
  	function hashDelete(key) {
  	  var result = this.has(key) && delete this.__data__[key];
  	  this.size -= result ? 1 : 0;
  	  return result;
  	}
  
  	/** Used to stand-in for `undefined` hash values. */
  	var HASH_UNDEFINED = '__lodash_hash_undefined__';
  
  	/** Used for built-in method references. */
  	var objectProto$3 = Object.prototype;
  
  	/** Used to check objects for own properties. */
  	var hasOwnProperty$3 = objectProto$3.hasOwnProperty;
  
  	/**
  	 * Gets the hash value for `key`.
  	 *
  	 * @private
  	 * @name get
  	 * @memberOf Hash
  	 * @param {string} key The key of the value to get.
  	 * @returns {*} Returns the entry value.
  	 */
  	function hashGet(key) {
  	  var data = this.__data__;
  	  if (nativeCreate) {
  	    var result = data[key];
  	    return result === HASH_UNDEFINED ? undefined : result;
  	  }
  	  return hasOwnProperty$3.call(data, key) ? data[key] : undefined;
  	}
  
  	/** Used for built-in method references. */
  	var objectProto$4 = Object.prototype;
  
  	/** Used to check objects for own properties. */
  	var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
  
  	/**
  	 * Checks if a hash value for `key` exists.
  	 *
  	 * @private
  	 * @name has
  	 * @memberOf Hash
  	 * @param {string} key The key of the entry to check.
  	 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  	 */
  	function hashHas(key) {
  	  var data = this.__data__;
  	  return nativeCreate ? (data[key] !== undefined) : hasOwnProperty$4.call(data, key);
  	}
  
  	/** Used to stand-in for `undefined` hash values. */
  	var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
  
  	/**
  	 * Sets the hash `key` to `value`.
  	 *
  	 * @private
  	 * @name set
  	 * @memberOf Hash
  	 * @param {string} key The key of the value to set.
  	 * @param {*} value The value to set.
  	 * @returns {Object} Returns the hash instance.
  	 */
  	function hashSet(key, value) {
  	  var data = this.__data__;
  	  this.size += this.has(key) ? 0 : 1;
  	  data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED$1 : value;
  	  return this;
  	}
  
  	/**
  	 * Creates a hash object.
  	 *
  	 * @private
  	 * @constructor
  	 * @param {Array} [entries] The key-value pairs to cache.
  	 */
  	function Hash(entries) {
  	  var index = -1,
  	      length = entries == null ? 0 : entries.length;
  
  	  this.clear();
  	  while (++index < length) {
  	    var entry = entries[index];
  	    this.set(entry[0], entry[1]);
  	  }
  	}
  
  	// Add methods to `Hash`.
  	Hash.prototype.clear = hashClear;
  	Hash.prototype['delete'] = hashDelete;
  	Hash.prototype.get = hashGet;
  	Hash.prototype.has = hashHas;
  	Hash.prototype.set = hashSet;
  
  	/**
  	 * Removes all key-value entries from the list cache.
  	 *
  	 * @private
  	 * @name clear
  	 * @memberOf ListCache
  	 */
  	function listCacheClear() {
  	  this.__data__ = [];
  	  this.size = 0;
  	}
  
  	/**
  	 * Performs a
  	 * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
  	 * comparison between two values to determine if they are equivalent.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 4.0.0
  	 * @category Lang
  	 * @param {*} value The value to compare.
  	 * @param {*} other The other value to compare.
  	 * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
  	 * @example
  	 *
  	 * var object = { 'a': 1 };
  	 * var other = { 'a': 1 };
  	 *
  	 * _.eq(object, object);
  	 * // => true
  	 *
  	 * _.eq(object, other);
  	 * // => false
  	 *
  	 * _.eq('a', 'a');
  	 * // => true
  	 *
  	 * _.eq('a', Object('a'));
  	 * // => false
  	 *
  	 * _.eq(NaN, NaN);
  	 * // => true
  	 */
  	function eq(value, other) {
  	  return value === other || (value !== value && other !== other);
  	}
  
  	/**
  	 * Gets the index at which the `key` is found in `array` of key-value pairs.
  	 *
  	 * @private
  	 * @param {Array} array The array to inspect.
  	 * @param {*} key The key to search for.
  	 * @returns {number} Returns the index of the matched value, else `-1`.
  	 */
  	function assocIndexOf(array, key) {
  	  var length = array.length;
  	  while (length--) {
  	    if (eq(array[length][0], key)) {
  	      return length;
  	    }
  	  }
  	  return -1;
  	}
  
  	/** Used for built-in method references. */
  	var arrayProto = Array.prototype;
  
  	/** Built-in value references. */
  	var splice = arrayProto.splice;
  
  	/**
  	 * Removes `key` and its value from the list cache.
  	 *
  	 * @private
  	 * @name delete
  	 * @memberOf ListCache
  	 * @param {string} key The key of the value to remove.
  	 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
  	 */
  	function listCacheDelete(key) {
  	  var data = this.__data__,
  	      index = assocIndexOf(data, key);
  
  	  if (index < 0) {
  	    return false;
  	  }
  	  var lastIndex = data.length - 1;
  	  if (index == lastIndex) {
  	    data.pop();
  	  } else {
  	    splice.call(data, index, 1);
  	  }
  	  --this.size;
  	  return true;
  	}
  
  	/**
  	 * Gets the list cache value for `key`.
  	 *
  	 * @private
  	 * @name get
  	 * @memberOf ListCache
  	 * @param {string} key The key of the value to get.
  	 * @returns {*} Returns the entry value.
  	 */
  	function listCacheGet(key) {
  	  var data = this.__data__,
  	      index = assocIndexOf(data, key);
  
  	  return index < 0 ? undefined : data[index][1];
  	}
  
  	/**
  	 * Checks if a list cache value for `key` exists.
  	 *
  	 * @private
  	 * @name has
  	 * @memberOf ListCache
  	 * @param {string} key The key of the entry to check.
  	 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  	 */
  	function listCacheHas(key) {
  	  return assocIndexOf(this.__data__, key) > -1;
  	}
  
  	/**
  	 * Sets the list cache `key` to `value`.
  	 *
  	 * @private
  	 * @name set
  	 * @memberOf ListCache
  	 * @param {string} key The key of the value to set.
  	 * @param {*} value The value to set.
  	 * @returns {Object} Returns the list cache instance.
  	 */
  	function listCacheSet(key, value) {
  	  var data = this.__data__,
  	      index = assocIndexOf(data, key);
  
  	  if (index < 0) {
  	    ++this.size;
  	    data.push([key, value]);
  	  } else {
  	    data[index][1] = value;
  	  }
  	  return this;
  	}
  
  	/**
  	 * Creates an list cache object.
  	 *
  	 * @private
  	 * @constructor
  	 * @param {Array} [entries] The key-value pairs to cache.
  	 */
  	function ListCache(entries) {
  	  var index = -1,
  	      length = entries == null ? 0 : entries.length;
  
  	  this.clear();
  	  while (++index < length) {
  	    var entry = entries[index];
  	    this.set(entry[0], entry[1]);
  	  }
  	}
  
  	// Add methods to `ListCache`.
  	ListCache.prototype.clear = listCacheClear;
  	ListCache.prototype['delete'] = listCacheDelete;
  	ListCache.prototype.get = listCacheGet;
  	ListCache.prototype.has = listCacheHas;
  	ListCache.prototype.set = listCacheSet;
  
  	/* Built-in method references that are verified to be native. */
  	var Map = getNative(root, 'Map');
  
  	/**
  	 * Removes all key-value entries from the map.
  	 *
  	 * @private
  	 * @name clear
  	 * @memberOf MapCache
  	 */
  	function mapCacheClear() {
  	  this.size = 0;
  	  this.__data__ = {
  	    'hash': new Hash,
  	    'map': new (Map || ListCache),
  	    'string': new Hash
  	  };
  	}
  
  	/**
  	 * Checks if `value` is suitable for use as unique object key.
  	 *
  	 * @private
  	 * @param {*} value The value to check.
  	 * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
  	 */
  	function isKeyable(value) {
  	  var type = typeof value;
  	  return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
  	    ? (value !== '__proto__')
  	    : (value === null);
  	}
  
  	/**
  	 * Gets the data for `map`.
  	 *
  	 * @private
  	 * @param {Object} map The map to query.
  	 * @param {string} key The reference key.
  	 * @returns {*} Returns the map data.
  	 */
  	function getMapData(map, key) {
  	  var data = map.__data__;
  	  return isKeyable(key)
  	    ? data[typeof key == 'string' ? 'string' : 'hash']
  	    : data.map;
  	}
  
  	/**
  	 * Removes `key` and its value from the map.
  	 *
  	 * @private
  	 * @name delete
  	 * @memberOf MapCache
  	 * @param {string} key The key of the value to remove.
  	 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
  	 */
  	function mapCacheDelete(key) {
  	  var result = getMapData(this, key)['delete'](key);
  	  this.size -= result ? 1 : 0;
  	  return result;
  	}
  
  	/**
  	 * Gets the map value for `key`.
  	 *
  	 * @private
  	 * @name get
  	 * @memberOf MapCache
  	 * @param {string} key The key of the value to get.
  	 * @returns {*} Returns the entry value.
  	 */
  	function mapCacheGet(key) {
  	  return getMapData(this, key).get(key);
  	}
  
  	/**
  	 * Checks if a map value for `key` exists.
  	 *
  	 * @private
  	 * @name has
  	 * @memberOf MapCache
  	 * @param {string} key The key of the entry to check.
  	 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  	 */
  	function mapCacheHas(key) {
  	  return getMapData(this, key).has(key);
  	}
  
  	/**
  	 * Sets the map `key` to `value`.
  	 *
  	 * @private
  	 * @name set
  	 * @memberOf MapCache
  	 * @param {string} key The key of the value to set.
  	 * @param {*} value The value to set.
  	 * @returns {Object} Returns the map cache instance.
  	 */
  	function mapCacheSet(key, value) {
  	  var data = getMapData(this, key),
  	      size = data.size;
  
  	  data.set(key, value);
  	  this.size += data.size == size ? 0 : 1;
  	  return this;
  	}
  
  	/**
  	 * Creates a map cache object to store key-value pairs.
  	 *
  	 * @private
  	 * @constructor
  	 * @param {Array} [entries] The key-value pairs to cache.
  	 */
  	function MapCache(entries) {
  	  var index = -1,
  	      length = entries == null ? 0 : entries.length;
  
  	  this.clear();
  	  while (++index < length) {
  	    var entry = entries[index];
  	    this.set(entry[0], entry[1]);
  	  }
  	}
  
  	// Add methods to `MapCache`.
  	MapCache.prototype.clear = mapCacheClear;
  	MapCache.prototype['delete'] = mapCacheDelete;
  	MapCache.prototype.get = mapCacheGet;
  	MapCache.prototype.has = mapCacheHas;
  	MapCache.prototype.set = mapCacheSet;
  
  	/** Error message constants. */
  	var FUNC_ERROR_TEXT = 'Expected a function';
  
  	/**
  	 * Creates a function that memoizes the result of `func`. If `resolver` is
  	 * provided, it determines the cache key for storing the result based on the
  	 * arguments provided to the memoized function. By default, the first argument
  	 * provided to the memoized function is used as the map cache key. The `func`
  	 * is invoked with the `this` binding of the memoized function.
  	 *
  	 * **Note:** The cache is exposed as the `cache` property on the memoized
  	 * function. Its creation may be customized by replacing the `_.memoize.Cache`
  	 * constructor with one whose instances implement the
  	 * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
  	 * method interface of `clear`, `delete`, `get`, `has`, and `set`.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 0.1.0
  	 * @category Function
  	 * @param {Function} func The function to have its output memoized.
  	 * @param {Function} [resolver] The function to resolve the cache key.
  	 * @returns {Function} Returns the new memoized function.
  	 * @example
  	 *
  	 * var object = { 'a': 1, 'b': 2 };
  	 * var other = { 'c': 3, 'd': 4 };
  	 *
  	 * var values = _.memoize(_.values);
  	 * values(object);
  	 * // => [1, 2]
  	 *
  	 * values(other);
  	 * // => [3, 4]
  	 *
  	 * object.a = 2;
  	 * values(object);
  	 * // => [1, 2]
  	 *
  	 * // Modify the result cache.
  	 * values.cache.set(object, ['a', 'b']);
  	 * values(object);
  	 * // => ['a', 'b']
  	 *
  	 * // Replace `_.memoize.Cache`.
  	 * _.memoize.Cache = WeakMap;
  	 */
  	function memoize(func, resolver) {
  	  if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
  	    throw new TypeError(FUNC_ERROR_TEXT);
  	  }
  	  var memoized = function() {
  	    var args = arguments,
  	        key = resolver ? resolver.apply(this, args) : args[0],
  	        cache = memoized.cache;
  
  	    if (cache.has(key)) {
  	      return cache.get(key);
  	    }
  	    var result = func.apply(this, args);
  	    memoized.cache = cache.set(key, result) || cache;
  	    return result;
  	  };
  	  memoized.cache = new (memoize.Cache || MapCache);
  	  return memoized;
  	}
  
  	// Expose `MapCache`.
  	memoize.Cache = MapCache;
  
  	/** Used as the maximum memoize cache size. */
  	var MAX_MEMOIZE_SIZE = 500;
  
  	/**
  	 * A specialized version of `_.memoize` which clears the memoized function's
  	 * cache when it exceeds `MAX_MEMOIZE_SIZE`.
  	 *
  	 * @private
  	 * @param {Function} func The function to have its output memoized.
  	 * @returns {Function} Returns the new memoized function.
  	 */
  	function memoizeCapped(func) {
  	  var result = memoize(func, function(key) {
  	    if (cache.size === MAX_MEMOIZE_SIZE) {
  	      cache.clear();
  	    }
  	    return key;
  	  });
  
  	  var cache = result.cache;
  	  return result;
  	}
  
  	/** Used to match property names within property paths. */
  	var reLeadingDot = /^\./,
  	    rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
  
  	/** Used to match backslashes in property paths. */
  	var reEscapeChar = /\\(\\)?/g;
  
  	/**
  	 * Converts `string` to a property path array.
  	 *
  	 * @private
  	 * @param {string} string The string to convert.
  	 * @returns {Array} Returns the property path array.
  	 */
  	var stringToPath = memoizeCapped(function(string) {
  	  var result = [];
  	  if (reLeadingDot.test(string)) {
  	    result.push('');
  	  }
  	  string.replace(rePropName, function(match, number, quote, string) {
  	    result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));
  	  });
  	  return result;
  	});
  
  	/**
  	 * A specialized version of `_.map` for arrays without support for iteratee
  	 * shorthands.
  	 *
  	 * @private
  	 * @param {Array} [array] The array to iterate over.
  	 * @param {Function} iteratee The function invoked per iteration.
  	 * @returns {Array} Returns the new mapped array.
  	 */
  	function arrayMap(array, iteratee) {
  	  var index = -1,
  	      length = array == null ? 0 : array.length,
  	      result = Array(length);
  
  	  while (++index < length) {
  	    result[index] = iteratee(array[index], index, array);
  	  }
  	  return result;
  	}
  
  	/** Used as references for various `Number` constants. */
  	var INFINITY = 1 / 0;
  
  	/** Used to convert symbols to primitives and strings. */
  	var symbolProto = Symbol$1 ? Symbol$1.prototype : undefined,
  	    symbolToString = symbolProto ? symbolProto.toString : undefined;
  
  	/**
  	 * The base implementation of `_.toString` which doesn't convert nullish
  	 * values to empty strings.
  	 *
  	 * @private
  	 * @param {*} value The value to process.
  	 * @returns {string} Returns the string.
  	 */
  	function baseToString(value) {
  	  // Exit early for strings to avoid a performance hit in some environments.
  	  if (typeof value == 'string') {
  	    return value;
  	  }
  	  if (isArray(value)) {
  	    // Recursively convert values (susceptible to call stack limits).
  	    return arrayMap(value, baseToString) + '';
  	  }
  	  if (isSymbol(value)) {
  	    return symbolToString ? symbolToString.call(value) : '';
  	  }
  	  var result = (value + '');
  	  return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
  	}
  
  	/**
  	 * Converts `value` to a string. An empty string is returned for `null`
  	 * and `undefined` values. The sign of `-0` is preserved.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 4.0.0
  	 * @category Lang
  	 * @param {*} value The value to convert.
  	 * @returns {string} Returns the converted string.
  	 * @example
  	 *
  	 * _.toString(null);
  	 * // => ''
  	 *
  	 * _.toString(-0);
  	 * // => '-0'
  	 *
  	 * _.toString([1, 2, 3]);
  	 * // => '1,2,3'
  	 */
  	function toString(value) {
  	  return value == null ? '' : baseToString(value);
  	}
  
  	/**
  	 * Casts `value` to a path array if it's not one.
  	 *
  	 * @private
  	 * @param {*} value The value to inspect.
  	 * @param {Object} [object] The object to query keys on.
  	 * @returns {Array} Returns the cast property path array.
  	 */
  	function castPath(value, object) {
  	  if (isArray(value)) {
  	    return value;
  	  }
  	  return isKey(value, object) ? [value] : stringToPath(toString(value));
  	}
  
  	/** Used as references for various `Number` constants. */
  	var INFINITY$1 = 1 / 0;
  
  	/**
  	 * Converts `value` to a string key if it's not a string or symbol.
  	 *
  	 * @private
  	 * @param {*} value The value to inspect.
  	 * @returns {string|symbol} Returns the key.
  	 */
  	function toKey(value) {
  	  if (typeof value == 'string' || isSymbol(value)) {
  	    return value;
  	  }
  	  var result = (value + '');
  	  return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
  	}
  
  	/**
  	 * The base implementation of `_.get` without support for default values.
  	 *
  	 * @private
  	 * @param {Object} object The object to query.
  	 * @param {Array|string} path The path of the property to get.
  	 * @returns {*} Returns the resolved value.
  	 */
  	function baseGet(object, path) {
  	  path = castPath(path, object);
  
  	  var index = 0,
  	      length = path.length;
  
  	  while (object != null && index < length) {
  	    object = object[toKey(path[index++])];
  	  }
  	  return (index && index == length) ? object : undefined;
  	}
  
  	var defineProperty$1 = (function() {
  	  try {
  	    var func = getNative(Object, 'defineProperty');
  	    func({}, '', {});
  	    return func;
  	  } catch (e) {}
  	}());
  
  	/**
  	 * The base implementation of `assignValue` and `assignMergeValue` without
  	 * value checks.
  	 *
  	 * @private
  	 * @param {Object} object The object to modify.
  	 * @param {string} key The key of the property to assign.
  	 * @param {*} value The value to assign.
  	 */
  	function baseAssignValue(object, key, value) {
  	  if (key == '__proto__' && defineProperty$1) {
  	    defineProperty$1(object, key, {
  	      'configurable': true,
  	      'enumerable': true,
  	      'value': value,
  	      'writable': true
  	    });
  	  } else {
  	    object[key] = value;
  	  }
  	}
  
  	/** Used for built-in method references. */
  	var objectProto$5 = Object.prototype;
  
  	/** Used to check objects for own properties. */
  	var hasOwnProperty$5 = objectProto$5.hasOwnProperty;
  
  	/**
  	 * Assigns `value` to `key` of `object` if the existing value is not equivalent
  	 * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
  	 * for equality comparisons.
  	 *
  	 * @private
  	 * @param {Object} object The object to modify.
  	 * @param {string} key The key of the property to assign.
  	 * @param {*} value The value to assign.
  	 */
  	function assignValue(object, key, value) {
  	  var objValue = object[key];
  	  if (!(hasOwnProperty$5.call(object, key) && eq(objValue, value)) ||
  	      (value === undefined && !(key in object))) {
  	    baseAssignValue(object, key, value);
  	  }
  	}
  
  	/** Used as references for various `Number` constants. */
  	var MAX_SAFE_INTEGER = 9007199254740991;
  
  	/** Used to detect unsigned integer values. */
  	var reIsUint = /^(?:0|[1-9]\d*)$/;
  
  	/**
  	 * Checks if `value` is a valid array-like index.
  	 *
  	 * @private
  	 * @param {*} value The value to check.
  	 * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
  	 * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
  	 */
  	function isIndex(value, length) {
  	  length = length == null ? MAX_SAFE_INTEGER : length;
  	  return !!length &&
  	    (typeof value == 'number' || reIsUint.test(value)) &&
  	    (value > -1 && value % 1 == 0 && value < length);
  	}
  
  	/**
  	 * The base implementation of `_.set`.
  	 *
  	 * @private
  	 * @param {Object} object The object to modify.
  	 * @param {Array|string} path The path of the property to set.
  	 * @param {*} value The value to set.
  	 * @param {Function} [customizer] The function to customize path creation.
  	 * @returns {Object} Returns `object`.
  	 */
  	function baseSet(object, path, value, customizer) {
  	  if (!isObject(object)) {
  	    return object;
  	  }
  	  path = castPath(path, object);
  
  	  var index = -1,
  	      length = path.length,
  	      lastIndex = length - 1,
  	      nested = object;
  
  	  while (nested != null && ++index < length) {
  	    var key = toKey(path[index]),
  	        newValue = value;
  
  	    if (index != lastIndex) {
  	      var objValue = nested[key];
  	      newValue = customizer ? customizer(objValue, key, nested) : undefined;
  	      if (newValue === undefined) {
  	        newValue = isObject(objValue)
  	          ? objValue
  	          : (isIndex(path[index + 1]) ? [] : {});
  	      }
  	    }
  	    assignValue(nested, key, newValue);
  	    nested = nested[key];
  	  }
  	  return object;
  	}
  
  	/**
  	 * The base implementation of  `_.pickBy` without support for iteratee shorthands.
  	 *
  	 * @private
  	 * @param {Object} object The source object.
  	 * @param {string[]} paths The property paths to pick.
  	 * @param {Function} predicate The function invoked per property.
  	 * @returns {Object} Returns the new object.
  	 */
  	function basePickBy(object, paths, predicate) {
  	  var index = -1,
  	      length = paths.length,
  	      result = {};
  
  	  while (++index < length) {
  	    var path = paths[index],
  	        value = baseGet(object, path);
  
  	    if (predicate(value, path)) {
  	      baseSet(result, castPath(path, object), value);
  	    }
  	  }
  	  return result;
  	}
  
  	/**
  	 * The base implementation of `_.hasIn` without support for deep paths.
  	 *
  	 * @private
  	 * @param {Object} [object] The object to query.
  	 * @param {Array|string} key The key to check.
  	 * @returns {boolean} Returns `true` if `key` exists, else `false`.
  	 */
  	function baseHasIn(object, key) {
  	  return object != null && key in Object(object);
  	}
  
  	/** `Object#toString` result references. */
  	var argsTag = '[object Arguments]';
  
  	/**
  	 * The base implementation of `_.isArguments`.
  	 *
  	 * @private
  	 * @param {*} value The value to check.
  	 * @returns {boolean} Returns `true` if `value` is an `arguments` object,
  	 */
  	function baseIsArguments(value) {
  	  return isObjectLike(value) && baseGetTag(value) == argsTag;
  	}
  
  	/** Used for built-in method references. */
  	var objectProto$6 = Object.prototype;
  
  	/** Used to check objects for own properties. */
  	var hasOwnProperty$6 = objectProto$6.hasOwnProperty;
  
  	/** Built-in value references. */
  	var propertyIsEnumerable = objectProto$6.propertyIsEnumerable;
  
  	/**
  	 * Checks if `value` is likely an `arguments` object.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 0.1.0
  	 * @category Lang
  	 * @param {*} value The value to check.
  	 * @returns {boolean} Returns `true` if `value` is an `arguments` object,
  	 *  else `false`.
  	 * @example
  	 *
  	 * _.isArguments(function() { return arguments; }());
  	 * // => true
  	 *
  	 * _.isArguments([1, 2, 3]);
  	 * // => false
  	 */
  	var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
  	  return isObjectLike(value) && hasOwnProperty$6.call(value, 'callee') &&
  	    !propertyIsEnumerable.call(value, 'callee');
  	};
  
  	/** Used as references for various `Number` constants. */
  	var MAX_SAFE_INTEGER$1 = 9007199254740991;
  
  	/**
  	 * Checks if `value` is a valid array-like length.
  	 *
  	 * **Note:** This method is loosely based on
  	 * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 4.0.0
  	 * @category Lang
  	 * @param {*} value The value to check.
  	 * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
  	 * @example
  	 *
  	 * _.isLength(3);
  	 * // => true
  	 *
  	 * _.isLength(Number.MIN_VALUE);
  	 * // => false
  	 *
  	 * _.isLength(Infinity);
  	 * // => false
  	 *
  	 * _.isLength('3');
  	 * // => false
  	 */
  	function isLength(value) {
  	  return typeof value == 'number' &&
  	    value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER$1;
  	}
  
  	/**
  	 * Checks if `path` exists on `object`.
  	 *
  	 * @private
  	 * @param {Object} object The object to query.
  	 * @param {Array|string} path The path to check.
  	 * @param {Function} hasFunc The function to check properties.
  	 * @returns {boolean} Returns `true` if `path` exists, else `false`.
  	 */
  	function hasPath(object, path, hasFunc) {
  	  path = castPath(path, object);
  
  	  var index = -1,
  	      length = path.length,
  	      result = false;
  
  	  while (++index < length) {
  	    var key = toKey(path[index]);
  	    if (!(result = object != null && hasFunc(object, key))) {
  	      break;
  	    }
  	    object = object[key];
  	  }
  	  if (result || ++index != length) {
  	    return result;
  	  }
  	  length = object == null ? 0 : object.length;
  	  return !!length && isLength(length) && isIndex(key, length) &&
  	    (isArray(object) || isArguments(object));
  	}
  
  	/**
  	 * Checks if `path` is a direct or inherited property of `object`.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 4.0.0
  	 * @category Object
  	 * @param {Object} object The object to query.
  	 * @param {Array|string} path The path to check.
  	 * @returns {boolean} Returns `true` if `path` exists, else `false`.
  	 * @example
  	 *
  	 * var object = _.create({ 'a': _.create({ 'b': 2 }) });
  	 *
  	 * _.hasIn(object, 'a');
  	 * // => true
  	 *
  	 * _.hasIn(object, 'a.b');
  	 * // => true
  	 *
  	 * _.hasIn(object, ['a', 'b']);
  	 * // => true
  	 *
  	 * _.hasIn(object, 'b');
  	 * // => false
  	 */
  	function hasIn(object, path) {
  	  return object != null && hasPath(object, path, baseHasIn);
  	}
  
  	/**
  	 * The base implementation of `_.pick` without support for individual
  	 * property identifiers.
  	 *
  	 * @private
  	 * @param {Object} object The source object.
  	 * @param {string[]} paths The property paths to pick.
  	 * @returns {Object} Returns the new object.
  	 */
  	function basePick(object, paths) {
  	  return basePickBy(object, paths, function(value, path) {
  	    return hasIn(object, path);
  	  });
  	}
  
  	/**
  	 * Appends the elements of `values` to `array`.
  	 *
  	 * @private
  	 * @param {Array} array The array to modify.
  	 * @param {Array} values The values to append.
  	 * @returns {Array} Returns `array`.
  	 */
  	function arrayPush(array, values) {
  	  var index = -1,
  	      length = values.length,
  	      offset = array.length;
  
  	  while (++index < length) {
  	    array[offset + index] = values[index];
  	  }
  	  return array;
  	}
  
  	/** Built-in value references. */
  	var spreadableSymbol = Symbol$1 ? Symbol$1.isConcatSpreadable : undefined;
  
  	/**
  	 * Checks if `value` is a flattenable `arguments` object or array.
  	 *
  	 * @private
  	 * @param {*} value The value to check.
  	 * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
  	 */
  	function isFlattenable(value) {
  	  return isArray(value) || isArguments(value) ||
  	    !!(spreadableSymbol && value && value[spreadableSymbol]);
  	}
  
  	/**
  	 * The base implementation of `_.flatten` with support for restricting flattening.
  	 *
  	 * @private
  	 * @param {Array} array The array to flatten.
  	 * @param {number} depth The maximum recursion depth.
  	 * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.
  	 * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.
  	 * @param {Array} [result=[]] The initial result value.
  	 * @returns {Array} Returns the new flattened array.
  	 */
  	function baseFlatten(array, depth, predicate, isStrict, result) {
  	  var index = -1,
  	      length = array.length;
  
  	  predicate || (predicate = isFlattenable);
  	  result || (result = []);
  
  	  while (++index < length) {
  	    var value = array[index];
  	    if (depth > 0 && predicate(value)) {
  	      if (depth > 1) {
  	        // Recursively flatten arrays (susceptible to call stack limits).
  	        baseFlatten(value, depth - 1, predicate, isStrict, result);
  	      } else {
  	        arrayPush(result, value);
  	      }
  	    } else if (!isStrict) {
  	      result[result.length] = value;
  	    }
  	  }
  	  return result;
  	}
  
  	/**
  	 * Flattens `array` a single level deep.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 0.1.0
  	 * @category Array
  	 * @param {Array} array The array to flatten.
  	 * @returns {Array} Returns the new flattened array.
  	 * @example
  	 *
  	 * _.flatten([1, [2, [3, [4]], 5]]);
  	 * // => [1, 2, [3, [4]], 5]
  	 */
  	function flatten(array) {
  	  var length = array == null ? 0 : array.length;
  	  return length ? baseFlatten(array, 1) : [];
  	}
  
  	/**
  	 * A faster alternative to `Function#apply`, this function invokes `func`
  	 * with the `this` binding of `thisArg` and the arguments of `args`.
  	 *
  	 * @private
  	 * @param {Function} func The function to invoke.
  	 * @param {*} thisArg The `this` binding of `func`.
  	 * @param {Array} args The arguments to invoke `func` with.
  	 * @returns {*} Returns the result of `func`.
  	 */
  	function apply(func, thisArg, args) {
  	  switch (args.length) {
  	    case 0: return func.call(thisArg);
  	    case 1: return func.call(thisArg, args[0]);
  	    case 2: return func.call(thisArg, args[0], args[1]);
  	    case 3: return func.call(thisArg, args[0], args[1], args[2]);
  	  }
  	  return func.apply(thisArg, args);
  	}
  
  	/* Built-in method references for those with the same name as other `lodash` methods. */
  	var nativeMax = Math.max;
  
  	/**
  	 * A specialized version of `baseRest` which transforms the rest array.
  	 *
  	 * @private
  	 * @param {Function} func The function to apply a rest parameter to.
  	 * @param {number} [start=func.length-1] The start position of the rest parameter.
  	 * @param {Function} transform The rest array transform.
  	 * @returns {Function} Returns the new function.
  	 */
  	function overRest(func, start, transform) {
  	  start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
  	  return function() {
  	    var args = arguments,
  	        index = -1,
  	        length = nativeMax(args.length - start, 0),
  	        array = Array(length);
  
  	    while (++index < length) {
  	      array[index] = args[start + index];
  	    }
  	    index = -1;
  	    var otherArgs = Array(start + 1);
  	    while (++index < start) {
  	      otherArgs[index] = args[index];
  	    }
  	    otherArgs[start] = transform(array);
  	    return apply(func, this, otherArgs);
  	  };
  	}
  
  	/**
  	 * Creates a function that returns `value`.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 2.4.0
  	 * @category Util
  	 * @param {*} value The value to return from the new function.
  	 * @returns {Function} Returns the new constant function.
  	 * @example
  	 *
  	 * var objects = _.times(2, _.constant({ 'a': 1 }));
  	 *
  	 * console.log(objects);
  	 * // => [{ 'a': 1 }, { 'a': 1 }]
  	 *
  	 * console.log(objects[0] === objects[1]);
  	 * // => true
  	 */
  	function constant(value) {
  	  return function() {
  	    return value;
  	  };
  	}
  
  	/**
  	 * This method returns the first argument it receives.
  	 *
  	 * @static
  	 * @since 0.1.0
  	 * @memberOf _
  	 * @category Util
  	 * @param {*} value Any value.
  	 * @returns {*} Returns `value`.
  	 * @example
  	 *
  	 * var object = { 'a': 1 };
  	 *
  	 * console.log(_.identity(object) === object);
  	 * // => true
  	 */
  	function identity(value) {
  	  return value;
  	}
  
  	/**
  	 * The base implementation of `setToString` without support for hot loop shorting.
  	 *
  	 * @private
  	 * @param {Function} func The function to modify.
  	 * @param {Function} string The `toString` result.
  	 * @returns {Function} Returns `func`.
  	 */
  	var baseSetToString = !defineProperty$1 ? identity : function(func, string) {
  	  return defineProperty$1(func, 'toString', {
  	    'configurable': true,
  	    'enumerable': false,
  	    'value': constant(string),
  	    'writable': true
  	  });
  	};
  
  	/** Used to detect hot functions by number of calls within a span of milliseconds. */
  	var HOT_COUNT = 800,
  	    HOT_SPAN = 16;
  
  	/* Built-in method references for those with the same name as other `lodash` methods. */
  	var nativeNow = Date.now;
  
  	/**
  	 * Creates a function that'll short out and invoke `identity` instead
  	 * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
  	 * milliseconds.
  	 *
  	 * @private
  	 * @param {Function} func The function to restrict.
  	 * @returns {Function} Returns the new shortable function.
  	 */
  	function shortOut(func) {
  	  var count = 0,
  	      lastCalled = 0;
  
  	  return function() {
  	    var stamp = nativeNow(),
  	        remaining = HOT_SPAN - (stamp - lastCalled);
  
  	    lastCalled = stamp;
  	    if (remaining > 0) {
  	      if (++count >= HOT_COUNT) {
  	        return arguments[0];
  	      }
  	    } else {
  	      count = 0;
  	    }
  	    return func.apply(undefined, arguments);
  	  };
  	}
  
  	/**
  	 * Sets the `toString` method of `func` to return `string`.
  	 *
  	 * @private
  	 * @param {Function} func The function to modify.
  	 * @param {Function} string The `toString` result.
  	 * @returns {Function} Returns `func`.
  	 */
  	var setToString = shortOut(baseSetToString);
  
  	/**
  	 * A specialized version of `baseRest` which flattens the rest array.
  	 *
  	 * @private
  	 * @param {Function} func The function to apply a rest parameter to.
  	 * @returns {Function} Returns the new function.
  	 */
  	function flatRest(func) {
  	  return setToString(overRest(func, undefined, flatten), func + '');
  	}
  
  	/**
  	 * Creates an object composed of the picked `object` properties.
  	 *
  	 * @static
  	 * @since 0.1.0
  	 * @memberOf _
  	 * @category Object
  	 * @param {Object} object The source object.
  	 * @param {...(string|string[])} [paths] The property paths to pick.
  	 * @returns {Object} Returns the new object.
  	 * @example
  	 *
  	 * var object = { 'a': 1, 'b': '2', 'c': 3 };
  	 *
  	 * _.pick(object, ['a', 'c']);
  	 * // => { 'a': 1, 'c': 3 }
  	 */
  	var pick = flatRest(function(object, paths) {
  	  return object == null ? {} : basePick(object, paths);
  	});
  
  	/**
  	 * Removes all key-value entries from the stack.
  	 *
  	 * @private
  	 * @name clear
  	 * @memberOf Stack
  	 */
  	function stackClear() {
  	  this.__data__ = new ListCache;
  	  this.size = 0;
  	}
  
  	/**
  	 * Removes `key` and its value from the stack.
  	 *
  	 * @private
  	 * @name delete
  	 * @memberOf Stack
  	 * @param {string} key The key of the value to remove.
  	 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
  	 */
  	function stackDelete(key) {
  	  var data = this.__data__,
  	      result = data['delete'](key);
  
  	  this.size = data.size;
  	  return result;
  	}
  
  	/**
  	 * Gets the stack value for `key`.
  	 *
  	 * @private
  	 * @name get
  	 * @memberOf Stack
  	 * @param {string} key The key of the value to get.
  	 * @returns {*} Returns the entry value.
  	 */
  	function stackGet(key) {
  	  return this.__data__.get(key);
  	}
  
  	/**
  	 * Checks if a stack value for `key` exists.
  	 *
  	 * @private
  	 * @name has
  	 * @memberOf Stack
  	 * @param {string} key The key of the entry to check.
  	 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  	 */
  	function stackHas(key) {
  	  return this.__data__.has(key);
  	}
  
  	/** Used as the size to enable large array optimizations. */
  	var LARGE_ARRAY_SIZE = 200;
  
  	/**
  	 * Sets the stack `key` to `value`.
  	 *
  	 * @private
  	 * @name set
  	 * @memberOf Stack
  	 * @param {string} key The key of the value to set.
  	 * @param {*} value The value to set.
  	 * @returns {Object} Returns the stack cache instance.
  	 */
  	function stackSet(key, value) {
  	  var data = this.__data__;
  	  if (data instanceof ListCache) {
  	    var pairs = data.__data__;
  	    if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
  	      pairs.push([key, value]);
  	      this.size = ++data.size;
  	      return this;
  	    }
  	    data = this.__data__ = new MapCache(pairs);
  	  }
  	  data.set(key, value);
  	  this.size = data.size;
  	  return this;
  	}
  
  	/**
  	 * Creates a stack cache object to store key-value pairs.
  	 *
  	 * @private
  	 * @constructor
  	 * @param {Array} [entries] The key-value pairs to cache.
  	 */
  	function Stack(entries) {
  	  var data = this.__data__ = new ListCache(entries);
  	  this.size = data.size;
  	}
  
  	// Add methods to `Stack`.
  	Stack.prototype.clear = stackClear;
  	Stack.prototype['delete'] = stackDelete;
  	Stack.prototype.get = stackGet;
  	Stack.prototype.has = stackHas;
  	Stack.prototype.set = stackSet;
  
  	/** Used to stand-in for `undefined` hash values. */
  	var HASH_UNDEFINED$2 = '__lodash_hash_undefined__';
  
  	/**
  	 * Adds `value` to the array cache.
  	 *
  	 * @private
  	 * @name add
  	 * @memberOf SetCache
  	 * @alias push
  	 * @param {*} value The value to cache.
  	 * @returns {Object} Returns the cache instance.
  	 */
  	function setCacheAdd(value) {
  	  this.__data__.set(value, HASH_UNDEFINED$2);
  	  return this;
  	}
  
  	/**
  	 * Checks if `value` is in the array cache.
  	 *
  	 * @private
  	 * @name has
  	 * @memberOf SetCache
  	 * @param {*} value The value to search for.
  	 * @returns {number} Returns `true` if `value` is found, else `false`.
  	 */
  	function setCacheHas(value) {
  	  return this.__data__.has(value);
  	}
  
  	/**
  	 *
  	 * Creates an array cache object to store unique values.
  	 *
  	 * @private
  	 * @constructor
  	 * @param {Array} [values] The values to cache.
  	 */
  	function SetCache(values) {
  	  var index = -1,
  	      length = values == null ? 0 : values.length;
  
  	  this.__data__ = new MapCache;
  	  while (++index < length) {
  	    this.add(values[index]);
  	  }
  	}
  
  	// Add methods to `SetCache`.
  	SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
  	SetCache.prototype.has = setCacheHas;
  
  	/**
  	 * A specialized version of `_.some` for arrays without support for iteratee
  	 * shorthands.
  	 *
  	 * @private
  	 * @param {Array} [array] The array to iterate over.
  	 * @param {Function} predicate The function invoked per iteration.
  	 * @returns {boolean} Returns `true` if any element passes the predicate check,
  	 *  else `false`.
  	 */
  	function arraySome(array, predicate) {
  	  var index = -1,
  	      length = array == null ? 0 : array.length;
  
  	  while (++index < length) {
  	    if (predicate(array[index], index, array)) {
  	      return true;
  	    }
  	  }
  	  return false;
  	}
  
  	/**
  	 * Checks if a `cache` value for `key` exists.
  	 *
  	 * @private
  	 * @param {Object} cache The cache to query.
  	 * @param {string} key The key of the entry to check.
  	 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  	 */
  	function cacheHas(cache, key) {
  	  return cache.has(key);
  	}
  
  	/** Used to compose bitmasks for value comparisons. */
  	var COMPARE_PARTIAL_FLAG = 1,
  	    COMPARE_UNORDERED_FLAG = 2;
  
  	/**
  	 * A specialized version of `baseIsEqualDeep` for arrays with support for
  	 * partial deep comparisons.
  	 *
  	 * @private
  	 * @param {Array} array The array to compare.
  	 * @param {Array} other The other array to compare.
  	 * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
  	 * @param {Function} customizer The function to customize comparisons.
  	 * @param {Function} equalFunc The function to determine equivalents of values.
  	 * @param {Object} stack Tracks traversed `array` and `other` objects.
  	 * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
  	 */
  	function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
  	  var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
  	      arrLength = array.length,
  	      othLength = other.length;
  
  	  if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
  	    return false;
  	  }
  	  // Assume cyclic values are equal.
  	  var stacked = stack.get(array);
  	  if (stacked && stack.get(other)) {
  	    return stacked == other;
  	  }
  	  var index = -1,
  	      result = true,
  	      seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;
  
  	  stack.set(array, other);
  	  stack.set(other, array);
  
  	  // Ignore non-index properties.
  	  while (++index < arrLength) {
  	    var arrValue = array[index],
  	        othValue = other[index];
  
  	    if (customizer) {
  	      var compared = isPartial
  	        ? customizer(othValue, arrValue, index, other, array, stack)
  	        : customizer(arrValue, othValue, index, array, other, stack);
  	    }
  	    if (compared !== undefined) {
  	      if (compared) {
  	        continue;
  	      }
  	      result = false;
  	      break;
  	    }
  	    // Recursively compare arrays (susceptible to call stack limits).
  	    if (seen) {
  	      if (!arraySome(other, function(othValue, othIndex) {
  	            if (!cacheHas(seen, othIndex) &&
  	                (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
  	              return seen.push(othIndex);
  	            }
  	          })) {
  	        result = false;
  	        break;
  	      }
  	    } else if (!(
  	          arrValue === othValue ||
  	            equalFunc(arrValue, othValue, bitmask, customizer, stack)
  	        )) {
  	      result = false;
  	      break;
  	    }
  	  }
  	  stack['delete'](array);
  	  stack['delete'](other);
  	  return result;
  	}
  
  	/** Built-in value references. */
  	var Uint8Array = root.Uint8Array;
  
  	/**
  	 * Converts `map` to its key-value pairs.
  	 *
  	 * @private
  	 * @param {Object} map The map to convert.
  	 * @returns {Array} Returns the key-value pairs.
  	 */
  	function mapToArray(map) {
  	  var index = -1,
  	      result = Array(map.size);
  
  	  map.forEach(function(value, key) {
  	    result[++index] = [key, value];
  	  });
  	  return result;
  	}
  
  	/**
  	 * Converts `set` to an array of its values.
  	 *
  	 * @private
  	 * @param {Object} set The set to convert.
  	 * @returns {Array} Returns the values.
  	 */
  	function setToArray(set) {
  	  var index = -1,
  	      result = Array(set.size);
  
  	  set.forEach(function(value) {
  	    result[++index] = value;
  	  });
  	  return result;
  	}
  
  	/** Used to compose bitmasks for value comparisons. */
  	var COMPARE_PARTIAL_FLAG$1 = 1,
  	    COMPARE_UNORDERED_FLAG$1 = 2;
  
  	/** `Object#toString` result references. */
  	var boolTag = '[object Boolean]',
  	    dateTag = '[object Date]',
  	    errorTag = '[object Error]',
  	    mapTag = '[object Map]',
  	    numberTag = '[object Number]',
  	    regexpTag = '[object RegExp]',
  	    setTag = '[object Set]',
  	    stringTag = '[object String]',
  	    symbolTag$1 = '[object Symbol]';
  
  	var arrayBufferTag = '[object ArrayBuffer]',
  	    dataViewTag = '[object DataView]';
  
  	/** Used to convert symbols to primitives and strings. */
  	var symbolProto$1 = Symbol$1 ? Symbol$1.prototype : undefined,
  	    symbolValueOf = symbolProto$1 ? symbolProto$1.valueOf : undefined;
  
  	/**
  	 * A specialized version of `baseIsEqualDeep` for comparing objects of
  	 * the same `toStringTag`.
  	 *
  	 * **Note:** This function only supports comparing values with tags of
  	 * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
  	 *
  	 * @private
  	 * @param {Object} object The object to compare.
  	 * @param {Object} other The other object to compare.
  	 * @param {string} tag The `toStringTag` of the objects to compare.
  	 * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
  	 * @param {Function} customizer The function to customize comparisons.
  	 * @param {Function} equalFunc The function to determine equivalents of values.
  	 * @param {Object} stack Tracks traversed `object` and `other` objects.
  	 * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
  	 */
  	function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
  	  switch (tag) {
  	    case dataViewTag:
  	      if ((object.byteLength != other.byteLength) ||
  	          (object.byteOffset != other.byteOffset)) {
  	        return false;
  	      }
  	      object = object.buffer;
  	      other = other.buffer;
  
  	    case arrayBufferTag:
  	      if ((object.byteLength != other.byteLength) ||
  	          !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
  	        return false;
  	      }
  	      return true;
  
  	    case boolTag:
  	    case dateTag:
  	    case numberTag:
  	      // Coerce booleans to `1` or `0` and dates to milliseconds.
  	      // Invalid dates are coerced to `NaN`.
  	      return eq(+object, +other);
  
  	    case errorTag:
  	      return object.name == other.name && object.message == other.message;
  
  	    case regexpTag:
  	    case stringTag:
  	      // Coerce regexes to strings and treat strings, primitives and objects,
  	      // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
  	      // for more details.
  	      return object == (other + '');
  
  	    case mapTag:
  	      var convert = mapToArray;
  
  	    case setTag:
  	      var isPartial = bitmask & COMPARE_PARTIAL_FLAG$1;
  	      convert || (convert = setToArray);
  
  	      if (object.size != other.size && !isPartial) {
  	        return false;
  	      }
  	      // Assume cyclic values are equal.
  	      var stacked = stack.get(object);
  	      if (stacked) {
  	        return stacked == other;
  	      }
  	      bitmask |= COMPARE_UNORDERED_FLAG$1;
  
  	      // Recursively compare objects (susceptible to call stack limits).
  	      stack.set(object, other);
  	      var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
  	      stack['delete'](object);
  	      return result;
  
  	    case symbolTag$1:
  	      if (symbolValueOf) {
  	        return symbolValueOf.call(object) == symbolValueOf.call(other);
  	      }
  	  }
  	  return false;
  	}
  
  	/**
  	 * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
  	 * `keysFunc` and `symbolsFunc` to get the enumerable property names and
  	 * symbols of `object`.
  	 *
  	 * @private
  	 * @param {Object} object The object to query.
  	 * @param {Function} keysFunc The function to get the keys of `object`.
  	 * @param {Function} symbolsFunc The function to get the symbols of `object`.
  	 * @returns {Array} Returns the array of property names and symbols.
  	 */
  	function baseGetAllKeys(object, keysFunc, symbolsFunc) {
  	  var result = keysFunc(object);
  	  return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
  	}
  
  	/**
  	 * A specialized version of `_.filter` for arrays without support for
  	 * iteratee shorthands.
  	 *
  	 * @private
  	 * @param {Array} [array] The array to iterate over.
  	 * @param {Function} predicate The function invoked per iteration.
  	 * @returns {Array} Returns the new filtered array.
  	 */
  	function arrayFilter(array, predicate) {
  	  var index = -1,
  	      length = array == null ? 0 : array.length,
  	      resIndex = 0,
  	      result = [];
  
  	  while (++index < length) {
  	    var value = array[index];
  	    if (predicate(value, index, array)) {
  	      result[resIndex++] = value;
  	    }
  	  }
  	  return result;
  	}
  
  	/**
  	 * This method returns a new empty array.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 4.13.0
  	 * @category Util
  	 * @returns {Array} Returns the new empty array.
  	 * @example
  	 *
  	 * var arrays = _.times(2, _.stubArray);
  	 *
  	 * console.log(arrays);
  	 * // => [[], []]
  	 *
  	 * console.log(arrays[0] === arrays[1]);
  	 * // => false
  	 */
  	function stubArray() {
  	  return [];
  	}
  
  	/** Used for built-in method references. */
  	var objectProto$7 = Object.prototype;
  
  	/** Built-in value references. */
  	var propertyIsEnumerable$1 = objectProto$7.propertyIsEnumerable;
  
  	/* Built-in method references for those with the same name as other `lodash` methods. */
  	var nativeGetSymbols = Object.getOwnPropertySymbols;
  
  	/**
  	 * Creates an array of the own enumerable symbols of `object`.
  	 *
  	 * @private
  	 * @param {Object} object The object to query.
  	 * @returns {Array} Returns the array of symbols.
  	 */
  	var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
  	  if (object == null) {
  	    return [];
  	  }
  	  object = Object(object);
  	  return arrayFilter(nativeGetSymbols(object), function(symbol) {
  	    return propertyIsEnumerable$1.call(object, symbol);
  	  });
  	};
  
  	/**
  	 * The base implementation of `_.times` without support for iteratee shorthands
  	 * or max array length checks.
  	 *
  	 * @private
  	 * @param {number} n The number of times to invoke `iteratee`.
  	 * @param {Function} iteratee The function invoked per iteration.
  	 * @returns {Array} Returns the array of results.
  	 */
  	function baseTimes(n, iteratee) {
  	  var index = -1,
  	      result = Array(n);
  
  	  while (++index < n) {
  	    result[index] = iteratee(index);
  	  }
  	  return result;
  	}
  
  	/**
  	 * This method returns `false`.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 4.13.0
  	 * @category Util
  	 * @returns {boolean} Returns `false`.
  	 * @example
  	 *
  	 * _.times(2, _.stubFalse);
  	 * // => [false, false]
  	 */
  	function stubFalse() {
  	  return false;
  	}
  
  	/** Detect free variable `exports`. */
  	var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
  
  	/** Detect free variable `module`. */
  	var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
  
  	/** Detect the popular CommonJS extension `module.exports`. */
  	var moduleExports = freeModule && freeModule.exports === freeExports;
  
  	/** Built-in value references. */
  	var Buffer = moduleExports ? root.Buffer : undefined;
  
  	/* Built-in method references for those with the same name as other `lodash` methods. */
  	var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
  
  	/**
  	 * Checks if `value` is a buffer.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 4.3.0
  	 * @category Lang
  	 * @param {*} value The value to check.
  	 * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
  	 * @example
  	 *
  	 * _.isBuffer(new Buffer(2));
  	 * // => true
  	 *
  	 * _.isBuffer(new Uint8Array(2));
  	 * // => false
  	 */
  	var isBuffer = nativeIsBuffer || stubFalse;
  
  	/** `Object#toString` result references. */
  	var argsTag$1 = '[object Arguments]',
  	    arrayTag = '[object Array]',
  	    boolTag$1 = '[object Boolean]',
  	    dateTag$1 = '[object Date]',
  	    errorTag$1 = '[object Error]',
  	    funcTag$1 = '[object Function]',
  	    mapTag$1 = '[object Map]',
  	    numberTag$1 = '[object Number]',
  	    objectTag = '[object Object]',
  	    regexpTag$1 = '[object RegExp]',
  	    setTag$1 = '[object Set]',
  	    stringTag$1 = '[object String]',
  	    weakMapTag = '[object WeakMap]';
  
  	var arrayBufferTag$1 = '[object ArrayBuffer]',
  	    dataViewTag$1 = '[object DataView]',
  	    float32Tag = '[object Float32Array]',
  	    float64Tag = '[object Float64Array]',
  	    int8Tag = '[object Int8Array]',
  	    int16Tag = '[object Int16Array]',
  	    int32Tag = '[object Int32Array]',
  	    uint8Tag = '[object Uint8Array]',
  	    uint8ClampedTag = '[object Uint8ClampedArray]',
  	    uint16Tag = '[object Uint16Array]',
  	    uint32Tag = '[object Uint32Array]';
  
  	/** Used to identify `toStringTag` values of typed arrays. */
  	var typedArrayTags = {};
  	typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
  	typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
  	typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
  	typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
  	typedArrayTags[uint32Tag] = true;
  	typedArrayTags[argsTag$1] = typedArrayTags[arrayTag] =
  	typedArrayTags[arrayBufferTag$1] = typedArrayTags[boolTag$1] =
  	typedArrayTags[dataViewTag$1] = typedArrayTags[dateTag$1] =
  	typedArrayTags[errorTag$1] = typedArrayTags[funcTag$1] =
  	typedArrayTags[mapTag$1] = typedArrayTags[numberTag$1] =
  	typedArrayTags[objectTag] = typedArrayTags[regexpTag$1] =
  	typedArrayTags[setTag$1] = typedArrayTags[stringTag$1] =
  	typedArrayTags[weakMapTag] = false;
  
  	/**
  	 * The base implementation of `_.isTypedArray` without Node.js optimizations.
  	 *
  	 * @private
  	 * @param {*} value The value to check.
  	 * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
  	 */
  	function baseIsTypedArray(value) {
  	  return isObjectLike(value) &&
  	    isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
  	}
  
  	/**
  	 * The base implementation of `_.unary` without support for storing metadata.
  	 *
  	 * @private
  	 * @param {Function} func The function to cap arguments for.
  	 * @returns {Function} Returns the new capped function.
  	 */
  	function baseUnary(func) {
  	  return function(value) {
  	    return func(value);
  	  };
  	}
  
  	/** Detect free variable `exports`. */
  	var freeExports$1 = typeof exports == 'object' && exports && !exports.nodeType && exports;
  
  	/** Detect free variable `module`. */
  	var freeModule$1 = freeExports$1 && typeof module == 'object' && module && !module.nodeType && module;
  
  	/** Detect the popular CommonJS extension `module.exports`. */
  	var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
  
  	/** Detect free variable `process` from Node.js. */
  	var freeProcess = moduleExports$1 && freeGlobal.process;
  
  	/** Used to access faster Node.js helpers. */
  	var nodeUtil = (function() {
  	  try {
  	    return freeProcess && freeProcess.binding && freeProcess.binding('util');
  	  } catch (e) {}
  	}());
  
  	/* Node.js helper references. */
  	var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
  
  	/**
  	 * Checks if `value` is classified as a typed array.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 3.0.0
  	 * @category Lang
  	 * @param {*} value The value to check.
  	 * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
  	 * @example
  	 *
  	 * _.isTypedArray(new Uint8Array);
  	 * // => true
  	 *
  	 * _.isTypedArray([]);
  	 * // => false
  	 */
  	var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
  
  	/** Used for built-in method references. */
  	var objectProto$8 = Object.prototype;
  
  	/** Used to check objects for own properties. */
  	var hasOwnProperty$7 = objectProto$8.hasOwnProperty;
  
  	/**
  	 * Creates an array of the enumerable property names of the array-like `value`.
  	 *
  	 * @private
  	 * @param {*} value The value to query.
  	 * @param {boolean} inherited Specify returning inherited property names.
  	 * @returns {Array} Returns the array of property names.
  	 */
  	function arrayLikeKeys(value, inherited) {
  	  var isArr = isArray(value),
  	      isArg = !isArr && isArguments(value),
  	      isBuff = !isArr && !isArg && isBuffer(value),
  	      isType = !isArr && !isArg && !isBuff && isTypedArray(value),
  	      skipIndexes = isArr || isArg || isBuff || isType,
  	      result = skipIndexes ? baseTimes(value.length, String) : [],
  	      length = result.length;
  
  	  for (var key in value) {
  	    if ((inherited || hasOwnProperty$7.call(value, key)) &&
  	        !(skipIndexes && (
  	           // Safari 9 has enumerable `arguments.length` in strict mode.
  	           key == 'length' ||
  	           // Node.js 0.10 has enumerable non-index properties on buffers.
  	           (isBuff && (key == 'offset' || key == 'parent')) ||
  	           // PhantomJS 2 has enumerable non-index properties on typed arrays.
  	           (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
  	           // Skip index properties.
  	           isIndex(key, length)
  	        ))) {
  	      result.push(key);
  	    }
  	  }
  	  return result;
  	}
  
  	/** Used for built-in method references. */
  	var objectProto$9 = Object.prototype;
  
  	/**
  	 * Checks if `value` is likely a prototype object.
  	 *
  	 * @private
  	 * @param {*} value The value to check.
  	 * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
  	 */
  	function isPrototype(value) {
  	  var Ctor = value && value.constructor,
  	      proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$9;
  
  	  return value === proto;
  	}
  
  	/**
  	 * Creates a unary function that invokes `func` with its argument transformed.
  	 *
  	 * @private
  	 * @param {Function} func The function to wrap.
  	 * @param {Function} transform The argument transform.
  	 * @returns {Function} Returns the new function.
  	 */
  	function overArg(func, transform) {
  	  return function(arg) {
  	    return func(transform(arg));
  	  };
  	}
  
  	/* Built-in method references for those with the same name as other `lodash` methods. */
  	var nativeKeys = overArg(Object.keys, Object);
  
  	/** Used for built-in method references. */
  	var objectProto$10 = Object.prototype;
  
  	/** Used to check objects for own properties. */
  	var hasOwnProperty$8 = objectProto$10.hasOwnProperty;
  
  	/**
  	 * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
  	 *
  	 * @private
  	 * @param {Object} object The object to query.
  	 * @returns {Array} Returns the array of property names.
  	 */
  	function baseKeys(object) {
  	  if (!isPrototype(object)) {
  	    return nativeKeys(object);
  	  }
  	  var result = [];
  	  for (var key in Object(object)) {
  	    if (hasOwnProperty$8.call(object, key) && key != 'constructor') {
  	      result.push(key);
  	    }
  	  }
  	  return result;
  	}
  
  	/**
  	 * Checks if `value` is array-like. A value is considered array-like if it's
  	 * not a function and has a `value.length` that's an integer greater than or
  	 * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 4.0.0
  	 * @category Lang
  	 * @param {*} value The value to check.
  	 * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
  	 * @example
  	 *
  	 * _.isArrayLike([1, 2, 3]);
  	 * // => true
  	 *
  	 * _.isArrayLike(document.body.children);
  	 * // => true
  	 *
  	 * _.isArrayLike('abc');
  	 * // => true
  	 *
  	 * _.isArrayLike(_.noop);
  	 * // => false
  	 */
  	function isArrayLike(value) {
  	  return value != null && isLength(value.length) && !isFunction(value);
  	}
  
  	/**
  	 * Creates an array of the own enumerable property names of `object`.
  	 *
  	 * **Note:** Non-object values are coerced to objects. See the
  	 * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
  	 * for more details.
  	 *
  	 * @static
  	 * @since 0.1.0
  	 * @memberOf _
  	 * @category Object
  	 * @param {Object} object The object to query.
  	 * @returns {Array} Returns the array of property names.
  	 * @example
  	 *
  	 * function Foo() {
  	 *   this.a = 1;
  	 *   this.b = 2;
  	 * }
  	 *
  	 * Foo.prototype.c = 3;
  	 *
  	 * _.keys(new Foo);
  	 * // => ['a', 'b'] (iteration order is not guaranteed)
  	 *
  	 * _.keys('hi');
  	 * // => ['0', '1']
  	 */
  	function keys(object) {
  	  return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
  	}
  
  	/**
  	 * Creates an array of own enumerable property names and symbols of `object`.
  	 *
  	 * @private
  	 * @param {Object} object The object to query.
  	 * @returns {Array} Returns the array of property names and symbols.
  	 */
  	function getAllKeys(object) {
  	  return baseGetAllKeys(object, keys, getSymbols);
  	}
  
  	/** Used to compose bitmasks for value comparisons. */
  	var COMPARE_PARTIAL_FLAG$2 = 1;
  
  	/** Used for built-in method references. */
  	var objectProto$11 = Object.prototype;
  
  	/** Used to check objects for own properties. */
  	var hasOwnProperty$9 = objectProto$11.hasOwnProperty;
  
  	/**
  	 * A specialized version of `baseIsEqualDeep` for objects with support for
  	 * partial deep comparisons.
  	 *
  	 * @private
  	 * @param {Object} object The object to compare.
  	 * @param {Object} other The other object to compare.
  	 * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
  	 * @param {Function} customizer The function to customize comparisons.
  	 * @param {Function} equalFunc The function to determine equivalents of values.
  	 * @param {Object} stack Tracks traversed `object` and `other` objects.
  	 * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
  	 */
  	function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
  	  var isPartial = bitmask & COMPARE_PARTIAL_FLAG$2,
  	      objProps = getAllKeys(object),
  	      objLength = objProps.length,
  	      othProps = getAllKeys(other),
  	      othLength = othProps.length;
  
  	  if (objLength != othLength && !isPartial) {
  	    return false;
  	  }
  	  var index = objLength;
  	  while (index--) {
  	    var key = objProps[index];
  	    if (!(isPartial ? key in other : hasOwnProperty$9.call(other, key))) {
  	      return false;
  	    }
  	  }
  	  // Assume cyclic values are equal.
  	  var stacked = stack.get(object);
  	  if (stacked && stack.get(other)) {
  	    return stacked == other;
  	  }
  	  var result = true;
  	  stack.set(object, other);
  	  stack.set(other, object);
  
  	  var skipCtor = isPartial;
  	  while (++index < objLength) {
  	    key = objProps[index];
  	    var objValue = object[key],
  	        othValue = other[key];
  
  	    if (customizer) {
  	      var compared = isPartial
  	        ? customizer(othValue, objValue, key, other, object, stack)
  	        : customizer(objValue, othValue, key, object, other, stack);
  	    }
  	    // Recursively compare objects (susceptible to call stack limits).
  	    if (!(compared === undefined
  	          ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
  	          : compared
  	        )) {
  	      result = false;
  	      break;
  	    }
  	    skipCtor || (skipCtor = key == 'constructor');
  	  }
  	  if (result && !skipCtor) {
  	    var objCtor = object.constructor,
  	        othCtor = other.constructor;
  
  	    // Non `Object` object instances with different constructors are not equal.
  	    if (objCtor != othCtor &&
  	        ('constructor' in object && 'constructor' in other) &&
  	        !(typeof objCtor == 'function' && objCtor instanceof objCtor &&
  	          typeof othCtor == 'function' && othCtor instanceof othCtor)) {
  	      result = false;
  	    }
  	  }
  	  stack['delete'](object);
  	  stack['delete'](other);
  	  return result;
  	}
  
  	/* Built-in method references that are verified to be native. */
  	var DataView = getNative(root, 'DataView');
  
  	/* Built-in method references that are verified to be native. */
  	var Promise$1 = getNative(root, 'Promise');
  
  	/* Built-in method references that are verified to be native. */
  	var Set = getNative(root, 'Set');
  
  	/* Built-in method references that are verified to be native. */
  	var WeakMap = getNative(root, 'WeakMap');
  
  	/** `Object#toString` result references. */
  	var mapTag$2 = '[object Map]',
  	    objectTag$1 = '[object Object]',
  	    promiseTag = '[object Promise]',
  	    setTag$2 = '[object Set]',
  	    weakMapTag$1 = '[object WeakMap]';
  
  	var dataViewTag$2 = '[object DataView]';
  
  	/** Used to detect maps, sets, and weakmaps. */
  	var dataViewCtorString = toSource(DataView),
  	    mapCtorString = toSource(Map),
  	    promiseCtorString = toSource(Promise$1),
  	    setCtorString = toSource(Set),
  	    weakMapCtorString = toSource(WeakMap);
  
  	/**
  	 * Gets the `toStringTag` of `value`.
  	 *
  	 * @private
  	 * @param {*} value The value to query.
  	 * @returns {string} Returns the `toStringTag`.
  	 */
  	var getTag = baseGetTag;
  
  	// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
  	if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag$2) ||
  	    (Map && getTag(new Map) != mapTag$2) ||
  	    (Promise$1 && getTag(Promise$1.resolve()) != promiseTag) ||
  	    (Set && getTag(new Set) != setTag$2) ||
  	    (WeakMap && getTag(new WeakMap) != weakMapTag$1)) {
  	  getTag = function(value) {
  	    var result = baseGetTag(value),
  	        Ctor = result == objectTag$1 ? value.constructor : undefined,
  	        ctorString = Ctor ? toSource(Ctor) : '';
  
  	    if (ctorString) {
  	      switch (ctorString) {
  	        case dataViewCtorString: return dataViewTag$2;
  	        case mapCtorString: return mapTag$2;
  	        case promiseCtorString: return promiseTag;
  	        case setCtorString: return setTag$2;
  	        case weakMapCtorString: return weakMapTag$1;
  	      }
  	    }
  	    return result;
  	  };
  	}
  
  	var getTag$1 = getTag;
  
  	/** Used to compose bitmasks for value comparisons. */
  	var COMPARE_PARTIAL_FLAG$3 = 1;
  
  	/** `Object#toString` result references. */
  	var argsTag$2 = '[object Arguments]',
  	    arrayTag$1 = '[object Array]',
  	    objectTag$2 = '[object Object]';
  
  	/** Used for built-in method references. */
  	var objectProto$12 = Object.prototype;
  
  	/** Used to check objects for own properties. */
  	var hasOwnProperty$10 = objectProto$12.hasOwnProperty;
  
  	/**
  	 * A specialized version of `baseIsEqual` for arrays and objects which performs
  	 * deep comparisons and tracks traversed objects enabling objects with circular
  	 * references to be compared.
  	 *
  	 * @private
  	 * @param {Object} object The object to compare.
  	 * @param {Object} other The other object to compare.
  	 * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
  	 * @param {Function} customizer The function to customize comparisons.
  	 * @param {Function} equalFunc The function to determine equivalents of values.
  	 * @param {Object} [stack] Tracks traversed `object` and `other` objects.
  	 * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
  	 */
  	function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
  	  var objIsArr = isArray(object),
  	      othIsArr = isArray(other),
  	      objTag = objIsArr ? arrayTag$1 : getTag$1(object),
  	      othTag = othIsArr ? arrayTag$1 : getTag$1(other);
  
  	  objTag = objTag == argsTag$2 ? objectTag$2 : objTag;
  	  othTag = othTag == argsTag$2 ? objectTag$2 : othTag;
  
  	  var objIsObj = objTag == objectTag$2,
  	      othIsObj = othTag == objectTag$2,
  	      isSameTag = objTag == othTag;
  
  	  if (isSameTag && isBuffer(object)) {
  	    if (!isBuffer(other)) {
  	      return false;
  	    }
  	    objIsArr = true;
  	    objIsObj = false;
  	  }
  	  if (isSameTag && !objIsObj) {
  	    stack || (stack = new Stack);
  	    return (objIsArr || isTypedArray(object))
  	      ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
  	      : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
  	  }
  	  if (!(bitmask & COMPARE_PARTIAL_FLAG$3)) {
  	    var objIsWrapped = objIsObj && hasOwnProperty$10.call(object, '__wrapped__'),
  	        othIsWrapped = othIsObj && hasOwnProperty$10.call(other, '__wrapped__');
  
  	    if (objIsWrapped || othIsWrapped) {
  	      var objUnwrapped = objIsWrapped ? object.value() : object,
  	          othUnwrapped = othIsWrapped ? other.value() : other;
  
  	      stack || (stack = new Stack);
  	      return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
  	    }
  	  }
  	  if (!isSameTag) {
  	    return false;
  	  }
  	  stack || (stack = new Stack);
  	  return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
  	}
  
  	/**
  	 * The base implementation of `_.isEqual` which supports partial comparisons
  	 * and tracks traversed objects.
  	 *
  	 * @private
  	 * @param {*} value The value to compare.
  	 * @param {*} other The other value to compare.
  	 * @param {boolean} bitmask The bitmask flags.
  	 *  1 - Unordered comparison
  	 *  2 - Partial comparison
  	 * @param {Function} [customizer] The function to customize comparisons.
  	 * @param {Object} [stack] Tracks traversed `value` and `other` objects.
  	 * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
  	 */
  	function baseIsEqual(value, other, bitmask, customizer, stack) {
  	  if (value === other) {
  	    return true;
  	  }
  	  if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
  	    return value !== value && other !== other;
  	  }
  	  return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
  	}
  
  	/**
  	 * Performs a deep comparison between two values to determine if they are
  	 * equivalent.
  	 *
  	 * **Note:** This method supports comparing arrays, array buffers, booleans,
  	 * date objects, error objects, maps, numbers, `Object` objects, regexes,
  	 * sets, strings, symbols, and typed arrays. `Object` objects are compared
  	 * by their own, not inherited, enumerable properties. Functions and DOM
  	 * nodes are compared by strict equality, i.e. `===`.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 0.1.0
  	 * @category Lang
  	 * @param {*} value The value to compare.
  	 * @param {*} other The other value to compare.
  	 * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
  	 * @example
  	 *
  	 * var object = { 'a': 1 };
  	 * var other = { 'a': 1 };
  	 *
  	 * _.isEqual(object, other);
  	 * // => true
  	 *
  	 * object === other;
  	 * // => false
  	 */
  	function isEqual(value, other) {
  	  return baseIsEqual(value, other);
  	}
  
  	/**
  	 * A specialized version of `_.reduce` for arrays without support for
  	 * iteratee shorthands.
  	 *
  	 * @private
  	 * @param {Array} [array] The array to iterate over.
  	 * @param {Function} iteratee The function invoked per iteration.
  	 * @param {*} [accumulator] The initial value.
  	 * @param {boolean} [initAccum] Specify using the first element of `array` as
  	 *  the initial value.
  	 * @returns {*} Returns the accumulated value.
  	 */
  	function arrayReduce(array, iteratee, accumulator, initAccum) {
  	  var index = -1,
  	      length = array == null ? 0 : array.length;
  
  	  if (initAccum && length) {
  	    accumulator = array[++index];
  	  }
  	  while (++index < length) {
  	    accumulator = iteratee(accumulator, array[index], index, array);
  	  }
  	  return accumulator;
  	}
  
  	/**
  	 * Creates a base function for methods like `_.forIn` and `_.forOwn`.
  	 *
  	 * @private
  	 * @param {boolean} [fromRight] Specify iterating from right to left.
  	 * @returns {Function} Returns the new base function.
  	 */
  	function createBaseFor(fromRight) {
  	  return function(object, iteratee, keysFunc) {
  	    var index = -1,
  	        iterable = Object(object),
  	        props = keysFunc(object),
  	        length = props.length;
  
  	    while (length--) {
  	      var key = props[fromRight ? length : ++index];
  	      if (iteratee(iterable[key], key, iterable) === false) {
  	        break;
  	      }
  	    }
  	    return object;
  	  };
  	}
  
  	/**
  	 * The base implementation of `baseForOwn` which iterates over `object`
  	 * properties returned by `keysFunc` and invokes `iteratee` for each property.
  	 * Iteratee functions may exit iteration early by explicitly returning `false`.
  	 *
  	 * @private
  	 * @param {Object} object The object to iterate over.
  	 * @param {Function} iteratee The function invoked per iteration.
  	 * @param {Function} keysFunc The function to get the keys of `object`.
  	 * @returns {Object} Returns `object`.
  	 */
  	var baseFor = createBaseFor();
  
  	/**
  	 * The base implementation of `_.forOwn` without support for iteratee shorthands.
  	 *
  	 * @private
  	 * @param {Object} object The object to iterate over.
  	 * @param {Function} iteratee The function invoked per iteration.
  	 * @returns {Object} Returns `object`.
  	 */
  	function baseForOwn(object, iteratee) {
  	  return object && baseFor(object, iteratee, keys);
  	}
  
  	/**
  	 * Creates a `baseEach` or `baseEachRight` function.
  	 *
  	 * @private
  	 * @param {Function} eachFunc The function to iterate over a collection.
  	 * @param {boolean} [fromRight] Specify iterating from right to left.
  	 * @returns {Function} Returns the new base function.
  	 */
  	function createBaseEach(eachFunc, fromRight) {
  	  return function(collection, iteratee) {
  	    if (collection == null) {
  	      return collection;
  	    }
  	    if (!isArrayLike(collection)) {
  	      return eachFunc(collection, iteratee);
  	    }
  	    var length = collection.length,
  	        index = fromRight ? length : -1,
  	        iterable = Object(collection);
  
  	    while ((fromRight ? index-- : ++index < length)) {
  	      if (iteratee(iterable[index], index, iterable) === false) {
  	        break;
  	      }
  	    }
  	    return collection;
  	  };
  	}
  
  	/**
  	 * The base implementation of `_.forEach` without support for iteratee shorthands.
  	 *
  	 * @private
  	 * @param {Array|Object} collection The collection to iterate over.
  	 * @param {Function} iteratee The function invoked per iteration.
  	 * @returns {Array|Object} Returns `collection`.
  	 */
  	var baseEach = createBaseEach(baseForOwn);
  
  	/** Used to compose bitmasks for value comparisons. */
  	var COMPARE_PARTIAL_FLAG$4 = 1,
  	    COMPARE_UNORDERED_FLAG$2 = 2;
  
  	/**
  	 * The base implementation of `_.isMatch` without support for iteratee shorthands.
  	 *
  	 * @private
  	 * @param {Object} object The object to inspect.
  	 * @param {Object} source The object of property values to match.
  	 * @param {Array} matchData The property names, values, and compare flags to match.
  	 * @param {Function} [customizer] The function to customize comparisons.
  	 * @returns {boolean} Returns `true` if `object` is a match, else `false`.
  	 */
  	function baseIsMatch(object, source, matchData, customizer) {
  	  var index = matchData.length,
  	      length = index,
  	      noCustomizer = !customizer;
  
  	  if (object == null) {
  	    return !length;
  	  }
  	  object = Object(object);
  	  while (index--) {
  	    var data = matchData[index];
  	    if ((noCustomizer && data[2])
  	          ? data[1] !== object[data[0]]
  	          : !(data[0] in object)
  	        ) {
  	      return false;
  	    }
  	  }
  	  while (++index < length) {
  	    data = matchData[index];
  	    var key = data[0],
  	        objValue = object[key],
  	        srcValue = data[1];
  
  	    if (noCustomizer && data[2]) {
  	      if (objValue === undefined && !(key in object)) {
  	        return false;
  	      }
  	    } else {
  	      var stack = new Stack;
  	      if (customizer) {
  	        var result = customizer(objValue, srcValue, key, object, source, stack);
  	      }
  	      if (!(result === undefined
  	            ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG$4 | COMPARE_UNORDERED_FLAG$2, customizer, stack)
  	            : result
  	          )) {
  	        return false;
  	      }
  	    }
  	  }
  	  return true;
  	}
  
  	/**
  	 * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
  	 *
  	 * @private
  	 * @param {*} value The value to check.
  	 * @returns {boolean} Returns `true` if `value` if suitable for strict
  	 *  equality comparisons, else `false`.
  	 */
  	function isStrictComparable(value) {
  	  return value === value && !isObject(value);
  	}
  
  	/**
  	 * Gets the property names, values, and compare flags of `object`.
  	 *
  	 * @private
  	 * @param {Object} object The object to query.
  	 * @returns {Array} Returns the match data of `object`.
  	 */
  	function getMatchData(object) {
  	  var result = keys(object),
  	      length = result.length;
  
  	  while (length--) {
  	    var key = result[length],
  	        value = object[key];
  
  	    result[length] = [key, value, isStrictComparable(value)];
  	  }
  	  return result;
  	}
  
  	/**
  	 * A specialized version of `matchesProperty` for source values suitable
  	 * for strict equality comparisons, i.e. `===`.
  	 *
  	 * @private
  	 * @param {string} key The key of the property to get.
  	 * @param {*} srcValue The value to match.
  	 * @returns {Function} Returns the new spec function.
  	 */
  	function matchesStrictComparable(key, srcValue) {
  	  return function(object) {
  	    if (object == null) {
  	      return false;
  	    }
  	    return object[key] === srcValue &&
  	      (srcValue !== undefined || (key in Object(object)));
  	  };
  	}
  
  	/**
  	 * The base implementation of `_.matches` which doesn't clone `source`.
  	 *
  	 * @private
  	 * @param {Object} source The object of property values to match.
  	 * @returns {Function} Returns the new spec function.
  	 */
  	function baseMatches(source) {
  	  var matchData = getMatchData(source);
  	  if (matchData.length == 1 && matchData[0][2]) {
  	    return matchesStrictComparable(matchData[0][0], matchData[0][1]);
  	  }
  	  return function(object) {
  	    return object === source || baseIsMatch(object, source, matchData);
  	  };
  	}
  
  	/**
  	 * Gets the value at `path` of `object`. If the resolved value is
  	 * `undefined`, the `defaultValue` is returned in its place.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 3.7.0
  	 * @category Object
  	 * @param {Object} object The object to query.
  	 * @param {Array|string} path The path of the property to get.
  	 * @param {*} [defaultValue] The value returned for `undefined` resolved values.
  	 * @returns {*} Returns the resolved value.
  	 * @example
  	 *
  	 * var object = { 'a': [{ 'b': { 'c': 3 } }] };
  	 *
  	 * _.get(object, 'a[0].b.c');
  	 * // => 3
  	 *
  	 * _.get(object, ['a', '0', 'b', 'c']);
  	 * // => 3
  	 *
  	 * _.get(object, 'a.b.c', 'default');
  	 * // => 'default'
  	 */
  	function get$1(object, path, defaultValue) {
  	  var result = object == null ? undefined : baseGet(object, path);
  	  return result === undefined ? defaultValue : result;
  	}
  
  	/** Used to compose bitmasks for value comparisons. */
  	var COMPARE_PARTIAL_FLAG$5 = 1,
  	    COMPARE_UNORDERED_FLAG$3 = 2;
  
  	/**
  	 * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
  	 *
  	 * @private
  	 * @param {string} path The path of the property to get.
  	 * @param {*} srcValue The value to match.
  	 * @returns {Function} Returns the new spec function.
  	 */
  	function baseMatchesProperty(path, srcValue) {
  	  if (isKey(path) && isStrictComparable(srcValue)) {
  	    return matchesStrictComparable(toKey(path), srcValue);
  	  }
  	  return function(object) {
  	    var objValue = get$1(object, path);
  	    return (objValue === undefined && objValue === srcValue)
  	      ? hasIn(object, path)
  	      : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG$5 | COMPARE_UNORDERED_FLAG$3);
  	  };
  	}
  
  	/**
  	 * The base implementation of `_.property` without support for deep paths.
  	 *
  	 * @private
  	 * @param {string} key The key of the property to get.
  	 * @returns {Function} Returns the new accessor function.
  	 */
  	function baseProperty(key) {
  	  return function(object) {
  	    return object == null ? undefined : object[key];
  	  };
  	}
  
  	/**
  	 * A specialized version of `baseProperty` which supports deep paths.
  	 *
  	 * @private
  	 * @param {Array|string} path The path of the property to get.
  	 * @returns {Function} Returns the new accessor function.
  	 */
  	function basePropertyDeep(path) {
  	  return function(object) {
  	    return baseGet(object, path);
  	  };
  	}
  
  	/**
  	 * Creates a function that returns the value at `path` of a given object.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 2.4.0
  	 * @category Util
  	 * @param {Array|string} path The path of the property to get.
  	 * @returns {Function} Returns the new accessor function.
  	 * @example
  	 *
  	 * var objects = [
  	 *   { 'a': { 'b': 2 } },
  	 *   { 'a': { 'b': 1 } }
  	 * ];
  	 *
  	 * _.map(objects, _.property('a.b'));
  	 * // => [2, 1]
  	 *
  	 * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
  	 * // => [1, 2]
  	 */
  	function property(path) {
  	  return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
  	}
  
  	/**
  	 * The base implementation of `_.iteratee`.
  	 *
  	 * @private
  	 * @param {*} [value=_.identity] The value to convert to an iteratee.
  	 * @returns {Function} Returns the iteratee.
  	 */
  	function baseIteratee(value) {
  	  // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.
  	  // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.
  	  if (typeof value == 'function') {
  	    return value;
  	  }
  	  if (value == null) {
  	    return identity;
  	  }
  	  if (typeof value == 'object') {
  	    return isArray(value)
  	      ? baseMatchesProperty(value[0], value[1])
  	      : baseMatches(value);
  	  }
  	  return property(value);
  	}
  
  	/**
  	 * The base implementation of `_.reduce` and `_.reduceRight`, without support
  	 * for iteratee shorthands, which iterates over `collection` using `eachFunc`.
  	 *
  	 * @private
  	 * @param {Array|Object} collection The collection to iterate over.
  	 * @param {Function} iteratee The function invoked per iteration.
  	 * @param {*} accumulator The initial value.
  	 * @param {boolean} initAccum Specify using the first or last element of
  	 *  `collection` as the initial value.
  	 * @param {Function} eachFunc The function to iterate over `collection`.
  	 * @returns {*} Returns the accumulated value.
  	 */
  	function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
  	  eachFunc(collection, function(value, index, collection) {
  	    accumulator = initAccum
  	      ? (initAccum = false, value)
  	      : iteratee(accumulator, value, index, collection);
  	  });
  	  return accumulator;
  	}
  
  	/**
  	 * Reduces `collection` to a value which is the accumulated result of running
  	 * each element in `collection` thru `iteratee`, where each successive
  	 * invocation is supplied the return value of the previous. If `accumulator`
  	 * is not given, the first element of `collection` is used as the initial
  	 * value. The iteratee is invoked with four arguments:
  	 * (accumulator, value, index|key, collection).
  	 *
  	 * Many lodash methods are guarded to work as iteratees for methods like
  	 * `_.reduce`, `_.reduceRight`, and `_.transform`.
  	 *
  	 * The guarded methods are:
  	 * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,
  	 * and `sortBy`
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 0.1.0
  	 * @category Collection
  	 * @param {Array|Object} collection The collection to iterate over.
  	 * @param {Function} [iteratee=_.identity] The function invoked per iteration.
  	 * @param {*} [accumulator] The initial value.
  	 * @returns {*} Returns the accumulated value.
  	 * @see _.reduceRight
  	 * @example
  	 *
  	 * _.reduce([1, 2], function(sum, n) {
  	 *   return sum + n;
  	 * }, 0);
  	 * // => 3
  	 *
  	 * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
  	 *   (result[value] || (result[value] = [])).push(key);
  	 *   return result;
  	 * }, {});
  	 * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)
  	 */
  	function reduce(collection, iteratee, accumulator) {
  	  var func = isArray(collection) ? arrayReduce : baseReduce,
  	      initAccum = arguments.length < 3;
  
  	  return func(collection, baseIteratee(iteratee, 4), accumulator, initAccum, baseEach);
  	}
  
  	/**
  	 * A specialized version of `_.forEach` for arrays without support for
  	 * iteratee shorthands.
  	 *
  	 * @private
  	 * @param {Array} [array] The array to iterate over.
  	 * @param {Function} iteratee The function invoked per iteration.
  	 * @returns {Array} Returns `array`.
  	 */
  	function arrayEach(array, iteratee) {
  	  var index = -1,
  	      length = array == null ? 0 : array.length;
  
  	  while (++index < length) {
  	    if (iteratee(array[index], index, array) === false) {
  	      break;
  	    }
  	  }
  	  return array;
  	}
  
  	/**
  	 * Casts `value` to `identity` if it's not a function.
  	 *
  	 * @private
  	 * @param {*} value The value to inspect.
  	 * @returns {Function} Returns cast function.
  	 */
  	function castFunction(value) {
  	  return typeof value == 'function' ? value : identity;
  	}
  
  	/**
  	 * Iterates over elements of `collection` and invokes `iteratee` for each element.
  	 * The iteratee is invoked with three arguments: (value, index|key, collection).
  	 * Iteratee functions may exit iteration early by explicitly returning `false`.
  	 *
  	 * **Note:** As with other "Collections" methods, objects with a "length"
  	 * property are iterated like arrays. To avoid this behavior use `_.forIn`
  	 * or `_.forOwn` for object iteration.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 0.1.0
  	 * @alias each
  	 * @category Collection
  	 * @param {Array|Object} collection The collection to iterate over.
  	 * @param {Function} [iteratee=_.identity] The function invoked per iteration.
  	 * @returns {Array|Object} Returns `collection`.
  	 * @see _.forEachRight
  	 * @example
  	 *
  	 * _.forEach([1, 2], function(value) {
  	 *   console.log(value);
  	 * });
  	 * // => Logs `1` then `2`.
  	 *
  	 * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {
  	 *   console.log(key);
  	 * });
  	 * // => Logs 'a' then 'b' (iteration order is not guaranteed).
  	 */
  	function forEach(collection, iteratee) {
  	  var func = isArray(collection) ? arrayEach : baseEach;
  	  return func(collection, castFunction(iteratee));
  	}
  
  	/**
  	 * Copies properties of `source` to `object`.
  	 *
  	 * @private
  	 * @param {Object} source The object to copy properties from.
  	 * @param {Array} props The property identifiers to copy.
  	 * @param {Object} [object={}] The object to copy properties to.
  	 * @param {Function} [customizer] The function to customize copied values.
  	 * @returns {Object} Returns `object`.
  	 */
  	function copyObject(source, props, object, customizer) {
  	  var isNew = !object;
  	  object || (object = {});
  
  	  var index = -1,
  	      length = props.length;
  
  	  while (++index < length) {
  	    var key = props[index];
  
  	    var newValue = customizer
  	      ? customizer(object[key], source[key], key, object, source)
  	      : undefined;
  
  	    if (newValue === undefined) {
  	      newValue = source[key];
  	    }
  	    if (isNew) {
  	      baseAssignValue(object, key, newValue);
  	    } else {
  	      assignValue(object, key, newValue);
  	    }
  	  }
  	  return object;
  	}
  
  	/**
  	 * The base implementation of `_.assign` without support for multiple sources
  	 * or `customizer` functions.
  	 *
  	 * @private
  	 * @param {Object} object The destination object.
  	 * @param {Object} source The source object.
  	 * @returns {Object} Returns `object`.
  	 */
  	function baseAssign(object, source) {
  	  return object && copyObject(source, keys(source), object);
  	}
  
  	/**
  	 * This function is like
  	 * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
  	 * except that it includes inherited enumerable properties.
  	 *
  	 * @private
  	 * @param {Object} object The object to query.
  	 * @returns {Array} Returns the array of property names.
  	 */
  	function nativeKeysIn(object) {
  	  var result = [];
  	  if (object != null) {
  	    for (var key in Object(object)) {
  	      result.push(key);
  	    }
  	  }
  	  return result;
  	}
  
  	/** Used for built-in method references. */
  	var objectProto$13 = Object.prototype;
  
  	/** Used to check objects for own properties. */
  	var hasOwnProperty$11 = objectProto$13.hasOwnProperty;
  
  	/**
  	 * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
  	 *
  	 * @private
  	 * @param {Object} object The object to query.
  	 * @returns {Array} Returns the array of property names.
  	 */
  	function baseKeysIn(object) {
  	  if (!isObject(object)) {
  	    return nativeKeysIn(object);
  	  }
  	  var isProto = isPrototype(object),
  	      result = [];
  
  	  for (var key in object) {
  	    if (!(key == 'constructor' && (isProto || !hasOwnProperty$11.call(object, key)))) {
  	      result.push(key);
  	    }
  	  }
  	  return result;
  	}
  
  	/**
  	 * Creates an array of the own and inherited enumerable property names of `object`.
  	 *
  	 * **Note:** Non-object values are coerced to objects.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 3.0.0
  	 * @category Object
  	 * @param {Object} object The object to query.
  	 * @returns {Array} Returns the array of property names.
  	 * @example
  	 *
  	 * function Foo() {
  	 *   this.a = 1;
  	 *   this.b = 2;
  	 * }
  	 *
  	 * Foo.prototype.c = 3;
  	 *
  	 * _.keysIn(new Foo);
  	 * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
  	 */
  	function keysIn$1(object) {
  	  return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
  	}
  
  	/**
  	 * The base implementation of `_.assignIn` without support for multiple sources
  	 * or `customizer` functions.
  	 *
  	 * @private
  	 * @param {Object} object The destination object.
  	 * @param {Object} source The source object.
  	 * @returns {Object} Returns `object`.
  	 */
  	function baseAssignIn(object, source) {
  	  return object && copyObject(source, keysIn$1(source), object);
  	}
  
  	/** Detect free variable `exports`. */
  	var freeExports$2 = typeof exports == 'object' && exports && !exports.nodeType && exports;
  
  	/** Detect free variable `module`. */
  	var freeModule$2 = freeExports$2 && typeof module == 'object' && module && !module.nodeType && module;
  
  	/** Detect the popular CommonJS extension `module.exports`. */
  	var moduleExports$2 = freeModule$2 && freeModule$2.exports === freeExports$2;
  
  	/** Built-in value references. */
  	var Buffer$1 = moduleExports$2 ? root.Buffer : undefined,
  	    allocUnsafe = Buffer$1 ? Buffer$1.allocUnsafe : undefined;
  
  	/**
  	 * Creates a clone of  `buffer`.
  	 *
  	 * @private
  	 * @param {Buffer} buffer The buffer to clone.
  	 * @param {boolean} [isDeep] Specify a deep clone.
  	 * @returns {Buffer} Returns the cloned buffer.
  	 */
  	function cloneBuffer(buffer, isDeep) {
  	  if (isDeep) {
  	    return buffer.slice();
  	  }
  	  var length = buffer.length,
  	      result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
  
  	  buffer.copy(result);
  	  return result;
  	}
  
  	/**
  	 * Copies the values of `source` to `array`.
  	 *
  	 * @private
  	 * @param {Array} source The array to copy values from.
  	 * @param {Array} [array=[]] The array to copy values to.
  	 * @returns {Array} Returns `array`.
  	 */
  	function copyArray(source, array) {
  	  var index = -1,
  	      length = source.length;
  
  	  array || (array = Array(length));
  	  while (++index < length) {
  	    array[index] = source[index];
  	  }
  	  return array;
  	}
  
  	/**
  	 * Copies own symbols of `source` to `object`.
  	 *
  	 * @private
  	 * @param {Object} source The object to copy symbols from.
  	 * @param {Object} [object={}] The object to copy symbols to.
  	 * @returns {Object} Returns `object`.
  	 */
  	function copySymbols(source, object) {
  	  return copyObject(source, getSymbols(source), object);
  	}
  
  	/** Built-in value references. */
  	var getPrototype = overArg(Object.getPrototypeOf, Object);
  
  	/* Built-in method references for those with the same name as other `lodash` methods. */
  	var nativeGetSymbols$1 = Object.getOwnPropertySymbols;
  
  	/**
  	 * Creates an array of the own and inherited enumerable symbols of `object`.
  	 *
  	 * @private
  	 * @param {Object} object The object to query.
  	 * @returns {Array} Returns the array of symbols.
  	 */
  	var getSymbolsIn = !nativeGetSymbols$1 ? stubArray : function(object) {
  	  var result = [];
  	  while (object) {
  	    arrayPush(result, getSymbols(object));
  	    object = getPrototype(object);
  	  }
  	  return result;
  	};
  
  	/**
  	 * Copies own and inherited symbols of `source` to `object`.
  	 *
  	 * @private
  	 * @param {Object} source The object to copy symbols from.
  	 * @param {Object} [object={}] The object to copy symbols to.
  	 * @returns {Object} Returns `object`.
  	 */
  	function copySymbolsIn(source, object) {
  	  return copyObject(source, getSymbolsIn(source), object);
  	}
  
  	/**
  	 * Creates an array of own and inherited enumerable property names and
  	 * symbols of `object`.
  	 *
  	 * @private
  	 * @param {Object} object The object to query.
  	 * @returns {Array} Returns the array of property names and symbols.
  	 */
  	function getAllKeysIn(object) {
  	  return baseGetAllKeys(object, keysIn$1, getSymbolsIn);
  	}
  
  	/** Used for built-in method references. */
  	var objectProto$14 = Object.prototype;
  
  	/** Used to check objects for own properties. */
  	var hasOwnProperty$12 = objectProto$14.hasOwnProperty;
  
  	/**
  	 * Initializes an array clone.
  	 *
  	 * @private
  	 * @param {Array} array The array to clone.
  	 * @returns {Array} Returns the initialized clone.
  	 */
  	function initCloneArray(array) {
  	  var length = array.length,
  	      result = array.constructor(length);
  
  	  // Add properties assigned by `RegExp#exec`.
  	  if (length && typeof array[0] == 'string' && hasOwnProperty$12.call(array, 'index')) {
  	    result.index = array.index;
  	    result.input = array.input;
  	  }
  	  return result;
  	}
  
  	/**
  	 * Creates a clone of `arrayBuffer`.
  	 *
  	 * @private
  	 * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
  	 * @returns {ArrayBuffer} Returns the cloned array buffer.
  	 */
  	function cloneArrayBuffer(arrayBuffer) {
  	  var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
  	  new Uint8Array(result).set(new Uint8Array(arrayBuffer));
  	  return result;
  	}
  
  	/**
  	 * Creates a clone of `dataView`.
  	 *
  	 * @private
  	 * @param {Object} dataView The data view to clone.
  	 * @param {boolean} [isDeep] Specify a deep clone.
  	 * @returns {Object} Returns the cloned data view.
  	 */
  	function cloneDataView(dataView, isDeep) {
  	  var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
  	  return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
  	}
  
  	/**
  	 * Adds the key-value `pair` to `map`.
  	 *
  	 * @private
  	 * @param {Object} map The map to modify.
  	 * @param {Array} pair The key-value pair to add.
  	 * @returns {Object} Returns `map`.
  	 */
  	function addMapEntry(map, pair) {
  	  // Don't return `map.set` because it's not chainable in IE 11.
  	  map.set(pair[0], pair[1]);
  	  return map;
  	}
  
  	/** Used to compose bitmasks for cloning. */
  	var CLONE_DEEP_FLAG = 1;
  
  	/**
  	 * Creates a clone of `map`.
  	 *
  	 * @private
  	 * @param {Object} map The map to clone.
  	 * @param {Function} cloneFunc The function to clone values.
  	 * @param {boolean} [isDeep] Specify a deep clone.
  	 * @returns {Object} Returns the cloned map.
  	 */
  	function cloneMap(map, isDeep, cloneFunc) {
  	  var array = isDeep ? cloneFunc(mapToArray(map), CLONE_DEEP_FLAG) : mapToArray(map);
  	  return arrayReduce(array, addMapEntry, new map.constructor);
  	}
  
  	/** Used to match `RegExp` flags from their coerced string values. */
  	var reFlags = /\w*$/;
  
  	/**
  	 * Creates a clone of `regexp`.
  	 *
  	 * @private
  	 * @param {Object} regexp The regexp to clone.
  	 * @returns {Object} Returns the cloned regexp.
  	 */
  	function cloneRegExp(regexp) {
  	  var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
  	  result.lastIndex = regexp.lastIndex;
  	  return result;
  	}
  
  	/**
  	 * Adds `value` to `set`.
  	 *
  	 * @private
  	 * @param {Object} set The set to modify.
  	 * @param {*} value The value to add.
  	 * @returns {Object} Returns `set`.
  	 */
  	function addSetEntry(set, value) {
  	  // Don't return `set.add` because it's not chainable in IE 11.
  	  set.add(value);
  	  return set;
  	}
  
  	/** Used to compose bitmasks for cloning. */
  	var CLONE_DEEP_FLAG$1 = 1;
  
  	/**
  	 * Creates a clone of `set`.
  	 *
  	 * @private
  	 * @param {Object} set The set to clone.
  	 * @param {Function} cloneFunc The function to clone values.
  	 * @param {boolean} [isDeep] Specify a deep clone.
  	 * @returns {Object} Returns the cloned set.
  	 */
  	function cloneSet(set, isDeep, cloneFunc) {
  	  var array = isDeep ? cloneFunc(setToArray(set), CLONE_DEEP_FLAG$1) : setToArray(set);
  	  return arrayReduce(array, addSetEntry, new set.constructor);
  	}
  
  	/** Used to convert symbols to primitives and strings. */
  	var symbolProto$2 = Symbol$1 ? Symbol$1.prototype : undefined,
  	    symbolValueOf$1 = symbolProto$2 ? symbolProto$2.valueOf : undefined;
  
  	/**
  	 * Creates a clone of the `symbol` object.
  	 *
  	 * @private
  	 * @param {Object} symbol The symbol object to clone.
  	 * @returns {Object} Returns the cloned symbol object.
  	 */
  	function cloneSymbol(symbol) {
  	  return symbolValueOf$1 ? Object(symbolValueOf$1.call(symbol)) : {};
  	}
  
  	/**
  	 * Creates a clone of `typedArray`.
  	 *
  	 * @private
  	 * @param {Object} typedArray The typed array to clone.
  	 * @param {boolean} [isDeep] Specify a deep clone.
  	 * @returns {Object} Returns the cloned typed array.
  	 */
  	function cloneTypedArray(typedArray, isDeep) {
  	  var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
  	  return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
  	}
  
  	/** `Object#toString` result references. */
  	var boolTag$2 = '[object Boolean]',
  	    dateTag$2 = '[object Date]',
  	    mapTag$3 = '[object Map]',
  	    numberTag$2 = '[object Number]',
  	    regexpTag$2 = '[object RegExp]',
  	    setTag$3 = '[object Set]',
  	    stringTag$2 = '[object String]',
  	    symbolTag$2 = '[object Symbol]';
  
  	var arrayBufferTag$2 = '[object ArrayBuffer]',
  	    dataViewTag$3 = '[object DataView]',
  	    float32Tag$1 = '[object Float32Array]',
  	    float64Tag$1 = '[object Float64Array]',
  	    int8Tag$1 = '[object Int8Array]',
  	    int16Tag$1 = '[object Int16Array]',
  	    int32Tag$1 = '[object Int32Array]',
  	    uint8Tag$1 = '[object Uint8Array]',
  	    uint8ClampedTag$1 = '[object Uint8ClampedArray]',
  	    uint16Tag$1 = '[object Uint16Array]',
  	    uint32Tag$1 = '[object Uint32Array]';
  
  	/**
  	 * Initializes an object clone based on its `toStringTag`.
  	 *
  	 * **Note:** This function only supports cloning values with tags of
  	 * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
  	 *
  	 * @private
  	 * @param {Object} object The object to clone.
  	 * @param {string} tag The `toStringTag` of the object to clone.
  	 * @param {Function} cloneFunc The function to clone values.
  	 * @param {boolean} [isDeep] Specify a deep clone.
  	 * @returns {Object} Returns the initialized clone.
  	 */
  	function initCloneByTag(object, tag, cloneFunc, isDeep) {
  	  var Ctor = object.constructor;
  	  switch (tag) {
  	    case arrayBufferTag$2:
  	      return cloneArrayBuffer(object);
  
  	    case boolTag$2:
  	    case dateTag$2:
  	      return new Ctor(+object);
  
  	    case dataViewTag$3:
  	      return cloneDataView(object, isDeep);
  
  	    case float32Tag$1: case float64Tag$1:
  	    case int8Tag$1: case int16Tag$1: case int32Tag$1:
  	    case uint8Tag$1: case uint8ClampedTag$1: case uint16Tag$1: case uint32Tag$1:
  	      return cloneTypedArray(object, isDeep);
  
  	    case mapTag$3:
  	      return cloneMap(object, isDeep, cloneFunc);
  
  	    case numberTag$2:
  	    case stringTag$2:
  	      return new Ctor(object);
  
  	    case regexpTag$2:
  	      return cloneRegExp(object);
  
  	    case setTag$3:
  	      return cloneSet(object, isDeep, cloneFunc);
  
  	    case symbolTag$2:
  	      return cloneSymbol(object);
  	  }
  	}
  
  	/** Built-in value references. */
  	var objectCreate = Object.create;
  
  	/**
  	 * The base implementation of `_.create` without support for assigning
  	 * properties to the created object.
  	 *
  	 * @private
  	 * @param {Object} proto The object to inherit from.
  	 * @returns {Object} Returns the new object.
  	 */
  	var baseCreate = (function() {
  	  function object() {}
  	  return function(proto) {
  	    if (!isObject(proto)) {
  	      return {};
  	    }
  	    if (objectCreate) {
  	      return objectCreate(proto);
  	    }
  	    object.prototype = proto;
  	    var result = new object;
  	    object.prototype = undefined;
  	    return result;
  	  };
  	}());
  
  	/**
  	 * Initializes an object clone.
  	 *
  	 * @private
  	 * @param {Object} object The object to clone.
  	 * @returns {Object} Returns the initialized clone.
  	 */
  	function initCloneObject(object) {
  	  return (typeof object.constructor == 'function' && !isPrototype(object))
  	    ? baseCreate(getPrototype(object))
  	    : {};
  	}
  
  	/** Used to compose bitmasks for cloning. */
  	var CLONE_DEEP_FLAG$2 = 1,
  	    CLONE_FLAT_FLAG = 2,
  	    CLONE_SYMBOLS_FLAG = 4;
  
  	/** `Object#toString` result references. */
  	var argsTag$3 = '[object Arguments]',
  	    arrayTag$2 = '[object Array]',
  	    boolTag$3 = '[object Boolean]',
  	    dateTag$3 = '[object Date]',
  	    errorTag$2 = '[object Error]',
  	    funcTag$2 = '[object Function]',
  	    genTag$1 = '[object GeneratorFunction]',
  	    mapTag$4 = '[object Map]',
  	    numberTag$3 = '[object Number]',
  	    objectTag$3 = '[object Object]',
  	    regexpTag$3 = '[object RegExp]',
  	    setTag$4 = '[object Set]',
  	    stringTag$3 = '[object String]',
  	    symbolTag$3 = '[object Symbol]',
  	    weakMapTag$2 = '[object WeakMap]';
  
  	var arrayBufferTag$3 = '[object ArrayBuffer]',
  	    dataViewTag$4 = '[object DataView]',
  	    float32Tag$2 = '[object Float32Array]',
  	    float64Tag$2 = '[object Float64Array]',
  	    int8Tag$2 = '[object Int8Array]',
  	    int16Tag$2 = '[object Int16Array]',
  	    int32Tag$2 = '[object Int32Array]',
  	    uint8Tag$2 = '[object Uint8Array]',
  	    uint8ClampedTag$2 = '[object Uint8ClampedArray]',
  	    uint16Tag$2 = '[object Uint16Array]',
  	    uint32Tag$2 = '[object Uint32Array]';
  
  	/** Used to identify `toStringTag` values supported by `_.clone`. */
  	var cloneableTags = {};
  	cloneableTags[argsTag$3] = cloneableTags[arrayTag$2] =
  	cloneableTags[arrayBufferTag$3] = cloneableTags[dataViewTag$4] =
  	cloneableTags[boolTag$3] = cloneableTags[dateTag$3] =
  	cloneableTags[float32Tag$2] = cloneableTags[float64Tag$2] =
  	cloneableTags[int8Tag$2] = cloneableTags[int16Tag$2] =
  	cloneableTags[int32Tag$2] = cloneableTags[mapTag$4] =
  	cloneableTags[numberTag$3] = cloneableTags[objectTag$3] =
  	cloneableTags[regexpTag$3] = cloneableTags[setTag$4] =
  	cloneableTags[stringTag$3] = cloneableTags[symbolTag$3] =
  	cloneableTags[uint8Tag$2] = cloneableTags[uint8ClampedTag$2] =
  	cloneableTags[uint16Tag$2] = cloneableTags[uint32Tag$2] = true;
  	cloneableTags[errorTag$2] = cloneableTags[funcTag$2] =
  	cloneableTags[weakMapTag$2] = false;
  
  	/**
  	 * The base implementation of `_.clone` and `_.cloneDeep` which tracks
  	 * traversed objects.
  	 *
  	 * @private
  	 * @param {*} value The value to clone.
  	 * @param {boolean} bitmask The bitmask flags.
  	 *  1 - Deep clone
  	 *  2 - Flatten inherited properties
  	 *  4 - Clone symbols
  	 * @param {Function} [customizer] The function to customize cloning.
  	 * @param {string} [key] The key of `value`.
  	 * @param {Object} [object] The parent object of `value`.
  	 * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
  	 * @returns {*} Returns the cloned value.
  	 */
  	function baseClone(value, bitmask, customizer, key, object, stack) {
  	  var result,
  	      isDeep = bitmask & CLONE_DEEP_FLAG$2,
  	      isFlat = bitmask & CLONE_FLAT_FLAG,
  	      isFull = bitmask & CLONE_SYMBOLS_FLAG;
  
  	  if (customizer) {
  	    result = object ? customizer(value, key, object, stack) : customizer(value);
  	  }
  	  if (result !== undefined) {
  	    return result;
  	  }
  	  if (!isObject(value)) {
  	    return value;
  	  }
  	  var isArr = isArray(value);
  	  if (isArr) {
  	    result = initCloneArray(value);
  	    if (!isDeep) {
  	      return copyArray(value, result);
  	    }
  	  } else {
  	    var tag = getTag$1(value),
  	        isFunc = tag == funcTag$2 || tag == genTag$1;
  
  	    if (isBuffer(value)) {
  	      return cloneBuffer(value, isDeep);
  	    }
  	    if (tag == objectTag$3 || tag == argsTag$3 || (isFunc && !object)) {
  	      result = (isFlat || isFunc) ? {} : initCloneObject(value);
  	      if (!isDeep) {
  	        return isFlat
  	          ? copySymbolsIn(value, baseAssignIn(result, value))
  	          : copySymbols(value, baseAssign(result, value));
  	      }
  	    } else {
  	      if (!cloneableTags[tag]) {
  	        return object ? value : {};
  	      }
  	      result = initCloneByTag(value, tag, baseClone, isDeep);
  	    }
  	  }
  	  // Check for circular references and return its corresponding clone.
  	  stack || (stack = new Stack);
  	  var stacked = stack.get(value);
  	  if (stacked) {
  	    return stacked;
  	  }
  	  stack.set(value, result);
  
  	  var keysFunc = isFull
  	    ? (isFlat ? getAllKeysIn : getAllKeys)
  	    : (isFlat ? keysIn : keys);
  
  	  var props = isArr ? undefined : keysFunc(value);
  	  arrayEach(props || value, function(subValue, key) {
  	    if (props) {
  	      key = subValue;
  	      subValue = value[key];
  	    }
  	    // Recursively populate clone (susceptible to call stack limits).
  	    assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));
  	  });
  	  return result;
  	}
  
  	/** Used to compose bitmasks for cloning. */
  	var CLONE_SYMBOLS_FLAG$1 = 4;
  
  	/**
  	 * Creates a shallow clone of `value`.
  	 *
  	 * **Note:** This method is loosely based on the
  	 * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)
  	 * and supports cloning arrays, array buffers, booleans, date objects, maps,
  	 * numbers, `Object` objects, regexes, sets, strings, symbols, and typed
  	 * arrays. The own enumerable properties of `arguments` objects are cloned
  	 * as plain objects. An empty object is returned for uncloneable values such
  	 * as error objects, functions, DOM nodes, and WeakMaps.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 0.1.0
  	 * @category Lang
  	 * @param {*} value The value to clone.
  	 * @returns {*} Returns the cloned value.
  	 * @see _.cloneDeep
  	 * @example
  	 *
  	 * var objects = [{ 'a': 1 }, { 'b': 2 }];
  	 *
  	 * var shallow = _.clone(objects);
  	 * console.log(shallow[0] === objects[0]);
  	 * // => true
  	 */
  	function clone(value) {
  	  return baseClone(value, CLONE_SYMBOLS_FLAG$1);
  	}
  
  	var EVENTS_RE = /^on(.+)$/i;
  
  	var MapComponent = function (_Component) {
  	  inherits(MapComponent, _Component);
  
  	  function MapComponent(props, context) {
  	    classCallCheck(this, MapComponent);
  
  	    var _this = possibleConstructorReturn(this, _Component.call(this, props, context));
  
  	    _this._leafletEvents = {};
  	    return _this;
  	  }
  
  	  MapComponent.prototype.componentWillMount = function componentWillMount() {
  	    this._leafletEvents = this.extractLeafletEvents(this.props);
  	  };
  
  	  MapComponent.prototype.componentDidMount = function componentDidMount() {
  	    this.bindLeafletEvents(this._leafletEvents);
  	  };
  
  	  MapComponent.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
  	    var next = this.extractLeafletEvents(nextProps);
  	    this._leafletEvents = this.bindLeafletEvents(next, this._leafletEvents);
  	  };
  
  	  MapComponent.prototype.componentWillUnmount = function componentWillUnmount() {
  	    var el = this.leafletElement;
  	    if (!el) return;
  
  	    forEach(this._leafletEvents, function (cb, ev) {
  	      el.off(ev, cb);
  	    });
  	  };
  
  	  MapComponent.prototype.extractLeafletEvents = function extractLeafletEvents(props) {
  	    return reduce(keys(props), function (res, prop) {
  	      if (EVENTS_RE.test(prop)) {
  	        var _key = prop.replace(EVENTS_RE, function (match, p) {
  	          return p.toLowerCase();
  	        });
  	        if (props[prop] != null) {
  	          res[_key] = props[prop];
  	        }
  	      }
  	      return res;
  	    }, {});
  	  };
  
  	  MapComponent.prototype.bindLeafletEvents = function bindLeafletEvents() {
  	    var next = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  	    var prev = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  
  	    var el = this.leafletElement;
  	    if (el == null || el.on == null) return {};
  
  	    var diff = clone(prev);
  	    forEach(prev, function (cb, ev) {
  	      if (!next[ev] || cb !== next[ev]) {
  	        delete diff[ev];
  	        el.off(ev, cb);
  	      }
  	    });
  
  	    forEach(next, function (cb, ev) {
  	      if (!prev[ev] || cb !== prev[ev]) {
  	        diff[ev] = cb;
  	        el.on(ev, cb);
  	      }
  	    });
  
  	    return diff;
  	  };
  
  	  MapComponent.prototype.fireLeafletEvent = function fireLeafletEvent(type, data) {
  	    var el = this.leafletElement;
  	    if (el) el.fire(type, data);
  	  };
  
  	  MapComponent.prototype.getOptions = function getOptions(props) {
  	    var pane = props.pane == null ? this.context.pane : props.pane;
  	    return pane ? _extends({}, props, { pane: pane }) : props;
  	  };
  
  	  return MapComponent;
  	}(React.Component);
  
  	var MapLayer = function (_MapComponent) {
  	  inherits(MapLayer, _MapComponent);
  
  	  function MapLayer() {
  	    classCallCheck(this, MapLayer);
  	    return possibleConstructorReturn(this, _MapComponent.apply(this, arguments));
  	  }
  
  	  // eslint-disable-next-line no-unused-vars
  	  MapLayer.prototype.createLeafletElement = function createLeafletElement(props) {
  	    throw new Error('createLeafletElement() must be implemented');
  	  };
  
  	  // eslint-disable-next-line no-unused-vars
  
  
  	  MapLayer.prototype.updateLeafletElement = function updateLeafletElement(fromProps, toProps) {};
  
  	  MapLayer.prototype.componentWillMount = function componentWillMount() {
  	    _MapComponent.prototype.componentWillMount.call(this);
  	    this.leafletElement = this.createLeafletElement(this.props);
  	  };
  
  	  MapLayer.prototype.componentDidMount = function componentDidMount() {
  	    _MapComponent.prototype.componentDidMount.call(this);
  	    this.layerContainer.addLayer(this.leafletElement);
  	  };
  
  	  MapLayer.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {
  	    this.updateLeafletElement(prevProps, this.props);
  	  };
  
  	  MapLayer.prototype.componentWillUnmount = function componentWillUnmount() {
  	    _MapComponent.prototype.componentWillUnmount.call(this);
  	    this.layerContainer.removeLayer(this.leafletElement);
  	  };
  
  	  MapLayer.prototype.render = function render() {
  	    var children$$1 = this.props.children;
  
  	    if (React.Children.count(children$$1) > 1) {
  	      return React__default.createElement(
  	        'div',
  	        { style: { display: 'none' } },
  	        children$$1
  	      );
  	    }
  	    return children$$1 == null ? null : children$$1;
  	  };
  
  	  createClass(MapLayer, [{
  	    key: 'layerContainer',
  	    get: function get$$1() {
  	      return this.context.layerContainer || this.context.map;
  	    }
  	  }]);
  	  return MapLayer;
  	}(MapComponent);
  
  	MapLayer.propTypes = {
  	  children: children
  	};
  	MapLayer.contextTypes = {
  	  layerContainer: layerContainer,
  	  map: map,
  	  pane: propTypes.string
  	};
  
  	var OPTIONS = ['stroke', 'color', 'weight', 'opacity', 'lineCap', 'lineJoin', 'dashArray', 'dashOffset', 'fill', 'fillColor', 'fillOpacity', 'fillRule', 'bubblingMouseEvents', 'renderer', 'className',
  	// Interactive Layer
  	'interactive',
  	// Layer
  	'pane', 'attribution'];
  
  	var Path = function (_MapLayer) {
  	  inherits(Path, _MapLayer);
  
  	  function Path() {
  	    classCallCheck(this, Path);
  	    return possibleConstructorReturn(this, _MapLayer.apply(this, arguments));
  	  }
  
  	  Path.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {
  	    _MapLayer.prototype.componentDidUpdate.call(this, prevProps);
  	    this.setStyleIfChanged(prevProps, this.props);
  	  };
  
  	  Path.prototype.getChildContext = function getChildContext() {
  	    return {
  	      popupContainer: this.leafletElement
  	    };
  	  };
  
  	  Path.prototype.getPathOptions = function getPathOptions(props) {
  	    return pick(props, OPTIONS);
  	  };
  
  	  Path.prototype.setStyle = function setStyle() {
  	    var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  
  	    this.leafletElement.setStyle(options);
  	  };
  
  	  Path.prototype.setStyleIfChanged = function setStyleIfChanged(fromProps, toProps) {
  	    var nextStyle = this.getPathOptions(toProps);
  	    if (!isEqual(nextStyle, this.getPathOptions(fromProps))) {
  	      this.setStyle(nextStyle);
  	    }
  	  };
  
  	  return Path;
  	}(MapLayer);
  
  	Path.childContextTypes = {
  	  children: children,
  	  popupContainer: layer
  	};
  
  	var Circle = function (_Path) {
  	  inherits(Circle, _Path);
  
  	  function Circle() {
  	    classCallCheck(this, Circle);
  	    return possibleConstructorReturn(this, _Path.apply(this, arguments));
  	  }
  
  	  Circle.prototype.createLeafletElement = function createLeafletElement(props) {
  	    var center = props.center,
  	        radius = props.radius,
  	        options = objectWithoutProperties(props, ['center', 'radius']);
  
  	    return new leaflet.Circle(center, radius, this.getOptions(options));
  	  };
  
  	  Circle.prototype.updateLeafletElement = function updateLeafletElement(fromProps, toProps) {
  	    if (toProps.center !== fromProps.center) {
  	      this.leafletElement.setLatLng(toProps.center);
  	    }
  	    if (toProps.radius !== fromProps.radius) {
  	      this.leafletElement.setRadius(toProps.radius);
  	    }
  	  };
  
  	  return Circle;
  	}(Path);
  
  	Circle.propTypes = {
  	  center: latlng.isRequired,
  	  children: children,
  	  radius: propTypes.number.isRequired
  	};
  
  	var CircleMarker = function (_Path) {
  	  inherits(CircleMarker, _Path);
  
  	  function CircleMarker() {
  	    classCallCheck(this, CircleMarker);
  	    return possibleConstructorReturn(this, _Path.apply(this, arguments));
  	  }
  
  	  CircleMarker.prototype.getChildContext = function getChildContext() {
  	    return {
  	      popupContainer: this.leafletElement
  	    };
  	  };
  
  	  CircleMarker.prototype.createLeafletElement = function createLeafletElement(props) {
  	    return new leaflet.CircleMarker(props.center, this.getOptions(props));
  	  };
  
  	  CircleMarker.prototype.updateLeafletElement = function updateLeafletElement(fromProps, toProps) {
  	    if (toProps.center !== fromProps.center) {
  	      this.leafletElement.setLatLng(toProps.center);
  	    }
  	    if (toProps.radius !== fromProps.radius) {
  	      this.leafletElement.setRadius(toProps.radius);
  	    }
  	  };
  
  	  return CircleMarker;
  	}(Path);
  
  	CircleMarker.propTypes = {
  	  center: latlng.isRequired,
  	  children: children,
  	  radius: propTypes.number
  	};
  	CircleMarker.childContextTypes = {
  	  popupContainer: layer
  	};
  
  	var splitClassName = function splitClassName() {
  	  var className = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
  	  return className.split(' ').filter(Boolean);
  	};
  
  	var updateClassName = (function (container, prevClassName, nextClassName) {
  	  if (container != null && nextClassName !== prevClassName) {
  	    if (prevClassName != null && prevClassName.length > 0) {
  	      forEach(splitClassName(prevClassName), function (cls) {
  	        leaflet.DomUtil.removeClass(container, cls);
  	      });
  	    }
  	    if (nextClassName != null && nextClassName.length > 0) {
  	      forEach(splitClassName(nextClassName), function (cls) {
  	        leaflet.DomUtil.addClass(container, cls);
  	      });
  	    }
  	  }
  	});
  
  	var DivOverlay = function (_MapComponent) {
  	  inherits(DivOverlay, _MapComponent);
  
  	  function DivOverlay() {
  	    var _temp, _this, _ret;
  
  	    classCallCheck(this, DivOverlay);
  
  	    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
  	      args[_key] = arguments[_key];
  	    }
  
  	    return _ret = (_temp = (_this = possibleConstructorReturn(this, _MapComponent.call.apply(_MapComponent, [this].concat(args))), _this), _this.onClose = function () {
  	      _this.removeContent();
  	      if (_this.props.onClose) {
  	        _this.props.onClose();
  	      }
  	    }, _this.onOpen = function () {
  	      _this.renderContent();
  	      if (_this.props.onOpen) {
  	        _this.props.onOpen();
  	      }
  	    }, _this.renderContent = function () {
  	      if (_this.props.children == null) {
  	        _this.removeContent();
  	      } else {
  	        reactDom.render(React.Children.only(_this.props.children), _this.leafletElement._contentNode, function () {
  	          _this.leafletElement.update();
  	          _this.onRender();
  	        });
  	      }
  	    }, _this.removeContent = function () {
  	      if (_this.leafletElement._contentNode) {
  	        reactDom.unmountComponentAtNode(_this.leafletElement._contentNode);
  	      }
  	    }, _temp), possibleConstructorReturn(_this, _ret);
  	  }
  
  	  DivOverlay.prototype.updateLeafletElement = function updateLeafletElement(prevProps, props) {}; // eslint-disable-line
  
  	  DivOverlay.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {
  	    updateClassName(this.leafletElement._container, prevProps.className, this.props.className);
  
  	    this.updateLeafletElement(prevProps, this.props);
  
  	    if (this.leafletElement.isOpen()) {
  	      this.renderContent();
  	    }
  	  };
  
  	  DivOverlay.prototype.onRender = function onRender() {};
  
  	  DivOverlay.prototype.render = function render() {
  	    return null;
  	  };
  
  	  return DivOverlay;
  	}(MapComponent);
  
  	DivOverlay.propTypes = {
  	  children: propTypes.node,
  	  onClose: propTypes.func,
  	  onOpen: propTypes.func
  	};
  
  	var FeatureGroup = function (_Path) {
  	  inherits(FeatureGroup, _Path);
  
  	  function FeatureGroup() {
  	    classCallCheck(this, FeatureGroup);
  	    return possibleConstructorReturn(this, _Path.apply(this, arguments));
  	  }
  
  	  FeatureGroup.prototype.getChildContext = function getChildContext() {
  	    return {
  	      layerContainer: this.leafletElement,
  	      popupContainer: this.leafletElement
  	    };
  	  };
  
  	  FeatureGroup.prototype.createLeafletElement = function createLeafletElement(props) {
  	    return new leaflet.FeatureGroup(this.getOptions(props));
  	  };
  
  	  FeatureGroup.prototype.componentDidMount = function componentDidMount() {
  	    _Path.prototype.componentDidMount.call(this);
  	    this.setStyle(this.props);
  	  };
  
  	  return FeatureGroup;
  	}(Path);
  
  	FeatureGroup.childContextTypes = {
  	  children: children,
  	  layerContainer: layerContainer,
  	  popupContainer: layer
  	};
  
  	var GeoJSON = function (_Path) {
  	  inherits(GeoJSON, _Path);
  
  	  function GeoJSON() {
  	    classCallCheck(this, GeoJSON);
  	    return possibleConstructorReturn(this, _Path.apply(this, arguments));
  	  }
  
  	  GeoJSON.prototype.createLeafletElement = function createLeafletElement(props) {
  	    return new leaflet.GeoJSON(props.data, this.getOptions(props));
  	  };
  
  	  GeoJSON.prototype.updateLeafletElement = function updateLeafletElement(fromProps, toProps) {
  	    if (isFunction(toProps.style)) {
  	      this.setStyle(toProps.style);
  	    } else {
  	      this.setStyleIfChanged(fromProps, toProps);
  	    }
  	  };
  
  	  return GeoJSON;
  	}(Path);
  
  	GeoJSON.propTypes = {
  	  children: children,
  	  data: propTypes.oneOfType([propTypes.array, propTypes.object]).isRequired
  	};
  
  	var GridLayer = function (_MapLayer) {
  	  inherits(GridLayer, _MapLayer);
  
  	  function GridLayer() {
  	    classCallCheck(this, GridLayer);
  	    return possibleConstructorReturn(this, _MapLayer.apply(this, arguments));
  	  }
  
  	  GridLayer.prototype.createLeafletElement = function createLeafletElement(props) {
  	    return new leaflet.GridLayer(this.getOptions(props));
  	  };
  
  	  GridLayer.prototype.updateLeafletElement = function updateLeafletElement(fromProps, toProps) {
  	    var opacity = toProps.opacity,
  	        zIndex = toProps.zIndex;
  
  	    if (opacity !== fromProps.opacity) {
  	      this.leafletElement.setOpacity(opacity);
  	    }
  	    if (zIndex !== fromProps.zIndex) {
  	      this.leafletElement.setZIndex(zIndex);
  	    }
  	  };
  
  	  GridLayer.prototype.render = function render() {
  	    return null;
  	  };
  
  	  return GridLayer;
  	}(MapLayer);
  
  	GridLayer.propTypes = {
  	  children: children,
  	  opacity: propTypes.number,
  	  zIndex: propTypes.number
  	};
  
  	var ImageOverlay = function (_MapLayer) {
  	  inherits(ImageOverlay, _MapLayer);
  
  	  function ImageOverlay() {
  	    classCallCheck(this, ImageOverlay);
  	    return possibleConstructorReturn(this, _MapLayer.apply(this, arguments));
  	  }
  
  	  ImageOverlay.prototype.getChildContext = function getChildContext() {
  	    return {
  	      popupContainer: this.leafletElement
  	    };
  	  };
  
  	  ImageOverlay.prototype.createLeafletElement = function createLeafletElement(props) {
  	    return new leaflet.ImageOverlay(props.url, props.bounds, this.getOptions(props));
  	  };
  
  	  ImageOverlay.prototype.updateLeafletElement = function updateLeafletElement(fromProps, toProps) {
  	    if (toProps.url !== fromProps.url) {
  	      this.leafletElement.setUrl(toProps.url);
  	    }
  	    if (toProps.bounds !== fromProps.bounds) {
  	      this.leafletElement.setBounds(leaflet.latLngBounds(toProps.bounds));
  	    }
  	    if (toProps.opacity !== fromProps.opacity) {
  	      this.leafletElement.setOpacity(toProps.opacity);
  	    }
  	    if (toProps.zIndex !== fromProps.zIndex) {
  	      this.leafletElement.setZIndex(toProps.zIndex);
  	    }
  	  };
  
  	  return ImageOverlay;
  	}(MapLayer);
  
  	ImageOverlay.propTypes = {
  	  attribution: propTypes.string,
  	  bounds: bounds.isRequired,
  	  children: children,
  	  opacity: propTypes.number,
  	  url: propTypes.oneOfType([propTypes.string, propTypes.instanceOf(HTMLImageElement)]).isRequired,
  	  zIndex: propTypes.number
  	};
  	ImageOverlay.childContextTypes = {
  	  popupContainer: layer
  	};
  
  	var LayerGroup = function (_MapLayer) {
  	  inherits(LayerGroup, _MapLayer);
  
  	  function LayerGroup() {
  	    classCallCheck(this, LayerGroup);
  	    return possibleConstructorReturn(this, _MapLayer.apply(this, arguments));
  	  }
  
  	  LayerGroup.prototype.getChildContext = function getChildContext() {
  	    return {
  	      layerContainer: this.leafletElement
  	    };
  	  };
  
  	  LayerGroup.prototype.createLeafletElement = function createLeafletElement() {
  	    return new leaflet.LayerGroup(this.getOptions(this.props));
  	  };
  
  	  return LayerGroup;
  	}(MapLayer);
  
  	LayerGroup.childContextTypes = {
  	  layerContainer: layerContainer
  	};
  
  	var baseControlledLayerPropTypes = {
  	  checked: propTypes.bool,
  	  children: propTypes.node.isRequired,
  	  removeLayer: propTypes.func,
  	  removeLayerControl: propTypes.func
  	};
  
  	var controlledLayerPropTypes = _extends({}, baseControlledLayerPropTypes, {
  	  addBaseLayer: propTypes.func,
  	  addOverlay: propTypes.func,
  	  name: propTypes.string.isRequired
  	});
  
  	// Abtract class for layer container, extended by BaseLayer and Overlay
  	var ControlledLayer = function (_Component) {
  	  inherits(ControlledLayer, _Component);
  
  	  function ControlledLayer() {
  	    classCallCheck(this, ControlledLayer);
  	    return possibleConstructorReturn(this, _Component.apply(this, arguments));
  	  }
  
  	  ControlledLayer.prototype.getChildContext = function getChildContext() {
  	    return {
  	      layerContainer: {
  	        addLayer: this.addLayer.bind(this),
  	        removeLayer: this.removeLayer.bind(this)
  	      }
  	    };
  	  };
  
  	  ControlledLayer.prototype.componentWillReceiveProps = function componentWillReceiveProps(_ref) {
  	    var checked = _ref.checked;
  
  	    // Handle dynamically (un)checking the layer => adding/removing from the map
  	    if (checked === true && (this.props.checked == null || this.props.checked === false)) {
  	      this.context.map.addLayer(this.layer);
  	    } else if (this.props.checked === true && (checked == null || checked === false)) {
  	      this.context.map.removeLayer(this.layer);
  	    }
  	  };
  
  	  ControlledLayer.prototype.componentWillUnmount = function componentWillUnmount() {
  	    this.props.removeLayerControl(this.layer);
  	  };
  
  	  ControlledLayer.prototype.addLayer = function addLayer() {
  	    throw new Error('Must be implemented in extending class');
  	  };
  
  	  ControlledLayer.prototype.removeLayer = function removeLayer(layer) {
  	    this.props.removeLayer(layer);
  	  };
  
  	  ControlledLayer.prototype.render = function render() {
  	    return this.props.children || null;
  	  };
  
  	  return ControlledLayer;
  	}(React.Component);
  
  	ControlledLayer.propTypes = baseControlledLayerPropTypes;
  	ControlledLayer.contextTypes = {
  	  map: map
  	};
  	ControlledLayer.childContextTypes = {
  	  layerContainer: layerContainer
  	};
  
  	var BaseLayer = function (_ControlledLayer) {
  	  inherits(BaseLayer, _ControlledLayer);
  
  	  function BaseLayer() {
  	    classCallCheck(this, BaseLayer);
  	    return possibleConstructorReturn(this, _ControlledLayer.apply(this, arguments));
  	  }
  
  	  BaseLayer.prototype.addLayer = function addLayer(layer) {
  	    this.layer = layer; // Keep layer reference to handle dynamic changes of props
  	    var _props = this.props,
  	        addBaseLayer = _props.addBaseLayer,
  	        checked = _props.checked,
  	        name = _props.name;
  
  	    addBaseLayer(layer, name, checked);
  	  };
  
  	  return BaseLayer;
  	}(ControlledLayer);
  
  	BaseLayer.propTypes = controlledLayerPropTypes;
  
  	var Overlay = function (_ControlledLayer2) {
  	  inherits(Overlay, _ControlledLayer2);
  
  	  function Overlay() {
  	    classCallCheck(this, Overlay);
  	    return possibleConstructorReturn(this, _ControlledLayer2.apply(this, arguments));
  	  }
  
  	  Overlay.prototype.addLayer = function addLayer(layer) {
  	    this.layer = layer; // Keep layer reference to handle dynamic changes of props
  	    var _props2 = this.props,
  	        addOverlay = _props2.addOverlay,
  	        checked = _props2.checked,
  	        name = _props2.name;
  
  	    addOverlay(layer, name, checked);
  	  };
  
  	  return Overlay;
  	}(ControlledLayer);
  
  	Overlay.propTypes = controlledLayerPropTypes;
  
  	var LayersControl = function (_MapControl) {
  	  inherits(LayersControl, _MapControl);
  
  	  function LayersControl() {
  	    classCallCheck(this, LayersControl);
  	    return possibleConstructorReturn(this, _MapControl.apply(this, arguments));
  	  }
  
  	  LayersControl.prototype.createLeafletElement = function createLeafletElement(props) {
  	    var _children = props.children,
  	        options = objectWithoutProperties(props, ['children']);
  
  	    return new leaflet.Control.Layers(undefined, undefined, options);
  	  };
  
  	  LayersControl.prototype.componentWillMount = function componentWillMount() {
  	    _MapControl.prototype.componentWillMount.call(this);
  	    this.controlProps = {
  	      addBaseLayer: this.addBaseLayer.bind(this),
  	      addOverlay: this.addOverlay.bind(this),
  	      removeLayer: this.removeLayer.bind(this),
  	      removeLayerControl: this.removeLayerControl.bind(this)
  	    };
  	  };
  
  	  LayersControl.prototype.componentWillUnmount = function componentWillUnmount() {
  	    var _this5 = this;
  
  	    setTimeout(function () {
  	      _MapControl.prototype.componentWillUnmount.call(_this5);
  	    }, 0);
  	  };
  
  	  LayersControl.prototype.addBaseLayer = function addBaseLayer(layer, name) {
  	    var checked = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
  
  	    if (checked) {
  	      this.context.map.addLayer(layer);
  	    }
  	    this.leafletElement.addBaseLayer(layer, name);
  	  };
  
  	  LayersControl.prototype.addOverlay = function addOverlay(layer, name) {
  	    var checked = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
  
  	    if (checked) {
  	      this.context.map.addLayer(layer);
  	    }
  	    this.leafletElement.addOverlay(layer, name);
  	  };
  
  	  LayersControl.prototype.removeLayer = function removeLayer(layer) {
  	    this.context.map.removeLayer(layer);
  	  };
  
  	  LayersControl.prototype.removeLayerControl = function removeLayerControl(layer) {
  	    this.leafletElement.removeLayer(layer);
  	  };
  
  	  LayersControl.prototype.render = function render() {
  	    var _this6 = this;
  
  	    var children$$1 = React.Children.map(this.props.children, function (child) {
  	      return child ? React.cloneElement(child, _this6.controlProps) : null;
  	    });
  	    return React__default.createElement(
  	      'div',
  	      { style: { display: 'none' } },
  	      children$$1
  	    );
  	  };
  
  	  return LayersControl;
  	}(MapControl);
  
  	LayersControl.propTypes = {
  	  baseLayers: propTypes.object,
  	  children: children,
  	  overlays: propTypes.object,
  	  position: controlPositionType
  	};
  	LayersControl.contextTypes = {
  	  layerContainer: layerContainer,
  	  map: map
  	};
  
  
  	LayersControl.BaseLayer = BaseLayer;
  	LayersControl.Overlay = Overlay;
  
  	/**
  	 * Gets the last element of `array`.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 0.1.0
  	 * @category Array
  	 * @param {Array} array The array to query.
  	 * @returns {*} Returns the last element of `array`.
  	 * @example
  	 *
  	 * _.last([1, 2, 3]);
  	 * // => 3
  	 */
  	function last(array) {
  	  var length = array == null ? 0 : array.length;
  	  return length ? array[length - 1] : undefined;
  	}
  
  	/**
  	 * The base implementation of `_.slice` without an iteratee call guard.
  	 *
  	 * @private
  	 * @param {Array} array The array to slice.
  	 * @param {number} [start=0] The start position.
  	 * @param {number} [end=array.length] The end position.
  	 * @returns {Array} Returns the slice of `array`.
  	 */
  	function baseSlice(array, start, end) {
  	  var index = -1,
  	      length = array.length;
  
  	  if (start < 0) {
  	    start = -start > length ? 0 : (length + start);
  	  }
  	  end = end > length ? length : end;
  	  if (end < 0) {
  	    end += length;
  	  }
  	  length = start > end ? 0 : ((end - start) >>> 0);
  	  start >>>= 0;
  
  	  var result = Array(length);
  	  while (++index < length) {
  	    result[index] = array[index + start];
  	  }
  	  return result;
  	}
  
  	/**
  	 * Gets the parent value at `path` of `object`.
  	 *
  	 * @private
  	 * @param {Object} object The object to query.
  	 * @param {Array} path The path to get the parent value of.
  	 * @returns {*} Returns the parent value.
  	 */
  	function parent(object, path) {
  	  return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));
  	}
  
  	/**
  	 * The base implementation of `_.unset`.
  	 *
  	 * @private
  	 * @param {Object} object The object to modify.
  	 * @param {Array|string} path The property path to unset.
  	 * @returns {boolean} Returns `true` if the property is deleted, else `false`.
  	 */
  	function baseUnset(object, path) {
  	  path = castPath(path, object);
  	  object = parent(object, path);
  	  return object == null || delete object[toKey(last(path))];
  	}
  
  	/** `Object#toString` result references. */
  	var objectTag$4 = '[object Object]';
  
  	/** Used for built-in method references. */
  	var funcProto$2 = Function.prototype,
  	    objectProto$15 = Object.prototype;
  
  	/** Used to resolve the decompiled source of functions. */
  	var funcToString$2 = funcProto$2.toString;
  
  	/** Used to check objects for own properties. */
  	var hasOwnProperty$13 = objectProto$15.hasOwnProperty;
  
  	/** Used to infer the `Object` constructor. */
  	var objectCtorString = funcToString$2.call(Object);
  
  	/**
  	 * Checks if `value` is a plain object, that is, an object created by the
  	 * `Object` constructor or one with a `[[Prototype]]` of `null`.
  	 *
  	 * @static
  	 * @memberOf _
  	 * @since 0.8.0
  	 * @category Lang
  	 * @param {*} value The value to check.
  	 * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
  	 * @example
  	 *
  	 * function Foo() {
  	 *   this.a = 1;
  	 * }
  	 *
  	 * _.isPlainObject(new Foo);
  	 * // => false
  	 *
  	 * _.isPlainObject([1, 2, 3]);
  	 * // => false
  	 *
  	 * _.isPlainObject({ 'x': 0, 'y': 0 });
  	 * // => true
  	 *
  	 * _.isPlainObject(Object.create(null));
  	 * // => true
  	 */
  	function isPlainObject(value) {
  	  if (!isObjectLike(value) || baseGetTag(value) != objectTag$4) {
  	    return false;
  	  }
  	  var proto = getPrototype(value);
  	  if (proto === null) {
  	    return true;
  	  }
  	  var Ctor = hasOwnProperty$13.call(proto, 'constructor') && proto.constructor;
  	  return typeof Ctor == 'function' && Ctor instanceof Ctor &&
  	    funcToString$2.call(Ctor) == objectCtorString;
  	}
  
  	/**
  	 * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain
  	 * objects.
  	 *
  	 * @private
  	 * @param {*} value The value to inspect.
  	 * @param {string} key The key of the property to inspect.
  	 * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.
  	 */
  	function customOmitClone(value) {
  	  return isPlainObject(value) ? undefined : value;
  	}
  
  	/** Used to compose bitmasks for cloning. */
  	var CLONE_DEEP_FLAG$3 = 1,
  	    CLONE_FLAT_FLAG$1 = 2,
  	    CLONE_SYMBOLS_FLAG$2 = 4;
  
  	/**
  	 * The opposite of `_.pick`; this method creates an object composed of the
  	 * own and inherited enumerable property paths of `object` that are not omitted.
  	 *
  	 * **Note:** This method is considerably slower than `_.pick`.
  	 *
  	 * @static
  	 * @since 0.1.0
  	 * @memberOf _
  	 * @category Object
  	 * @param {Object} object The source object.
  	 * @param {...(string|string[])} [paths] The property paths to omit.
  	 * @returns {Object} Returns the new object.
  	 * @example
  	 *
  	 * var object = { 'a': 1, 'b': '2', 'c': 3 };
  	 *
  	 * _.omit(object, ['a', 'c']);
  	 * // => { 'b': '2' }
  	 */
  	var omit = flatRest(function(object, paths) {
  	  var result = {};
  	  if (object == null) {
  	    return result;
  	  }
  	  var isDeep = false;
  	  paths = arrayMap(paths, function(path) {
  	    path = castPath(path, object);
  	    isDeep || (isDeep = path.length > 1);
  	    return path;
  	  });
  	  copyObject(object, getAllKeysIn(object), result);
  	  if (isDeep) {
  	    result = baseClone(result, CLONE_DEEP_FLAG$3 | CLONE_FLAT_FLAG$1 | CLONE_SYMBOLS_FLAG$2, customOmitClone);
  	  }
  	  var length = paths.length;
  	  while (length--) {
  	    baseUnset(result, paths[length]);
  	  }
  	  return result;
  	});
  
  	/**
  	 * Checks if `value` is `undefined`.
  	 *
  	 * @static
  	 * @since 0.1.0
  	 * @memberOf _
  	 * @category Lang
  	 * @param {*} value The value to check.
  	 * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
  	 * @example
  	 *
  	 * _.isUndefined(void 0);
  	 * // => true
  	 *
  	 * _.isUndefined(null);
  	 * // => false
  	 */
  	function isUndefined(value) {
  	  return value === undefined;
  	}
  
  	var OTHER_PROPS = ['children', 'className', 'id', 'style', 'useFlyTo', 'whenReady'];
  
  	var normalizeCenter = function normalizeCenter(pos) {
  	  return Array.isArray(pos) ? [pos[0], pos[1]] : [pos.lat, pos.lon ? pos.lon : pos.lng];
  	};
  
  	var Map$1 = function (_MapComponent) {
  	  inherits(Map, _MapComponent);
  
  	  function Map(props, context) {
  	    classCallCheck(this, Map);
  
  	    var _this = possibleConstructorReturn(this, _MapComponent.call(this, props, context));
  
  	    _this.viewport = {
  	      center: undefined,
  	      zoom: undefined
  	    };
  	    _this._updating = false;
  
  	    _this.onViewportChange = function () {
  	      var center = _this.leafletElement.getCenter();
  	      _this.viewport = {
  	        center: center ? [center.lat, center.lng] : undefined,
  	        zoom: _this.leafletElement.getZoom()
  	      };
  	      if (_this.props.onViewportChange && !_this._updating) {
  	        _this.props.onViewportChange(_this.viewport);
  	      }
  	    };
  
  	    _this.onViewportChanged = function () {
  	      if (_this.props.onViewportChanged && !_this._updating) {
  	        _this.props.onViewportChanged(_this.viewport);
  	      }
  	    };
  
  	    _this.bindContainer = function (container) {
  	      _this.container = container;
  	    };
  
  	    _this.className = props.className;
  	    return _this;
  	  }
  
  	  Map.prototype.getChildContext = function getChildContext() {
  	    return {
  	      layerContainer: this.leafletElement,
  	      map: this.leafletElement
  	    };
  	  };
  
  	  Map.prototype.createLeafletElement = function createLeafletElement(props) {
  	    var viewport$$1 = props.viewport,
  	        options = objectWithoutProperties(props, ['viewport']);
  
  	    if (viewport$$1) {
  	      if (viewport$$1.center) {
  	        options.center = viewport$$1.center;
  	      }
  	      if (typeof viewport$$1.zoom === 'number') {
  	        options.zoom = viewport$$1.zoom;
  	      }
  	    }
  	    return new leaflet.Map(this.container, options);
  	  };
  
  	  Map.prototype.updateLeafletElement = function updateLeafletElement(fromProps, toProps) {
  	    this._updating = true;
  
  	    var animate = toProps.animate,
  	        bounds$$1 = toProps.bounds,
  	        boundsOptions = toProps.boundsOptions,
  	        boxZoom = toProps.boxZoom,
  	        center = toProps.center,
  	        className = toProps.className,
  	        doubleClickZoom = toProps.doubleClickZoom,
  	        dragging = toProps.dragging,
  	        keyboard = toProps.keyboard,
  	        maxBounds = toProps.maxBounds,
  	        scrollWheelZoom = toProps.scrollWheelZoom,
  	        tap = toProps.tap,
  	        touchZoom = toProps.touchZoom,
  	        useFlyTo = toProps.useFlyTo,
  	        viewport$$1 = toProps.viewport,
  	        zoom = toProps.zoom;
  
  
  	    updateClassName(this.container, fromProps.className, className);
  
  	    if (viewport$$1 && viewport$$1 !== fromProps.viewport) {
  	      var c = viewport$$1.center ? viewport$$1.center : center;
  	      var z = viewport$$1.zoom == null ? zoom : viewport$$1.zoom;
  	      if (useFlyTo === true) {
  	        this.leafletElement.flyTo(c, z, { animate: animate });
  	      } else {
  	        this.leafletElement.setView(c, z, { animate: animate });
  	      }
  	    } else if (center && this.shouldUpdateCenter(center, fromProps.center)) {
  	      if (useFlyTo === true) {
  	        this.leafletElement.flyTo(center, zoom, { animate: animate });
  	      } else {
  	        this.leafletElement.setView(center, zoom, { animate: animate });
  	      }
  	    } else if (typeof zoom === 'number' && zoom !== fromProps.zoom) {
  	      if (fromProps.zoom == null) {
  	        this.leafletElement.setView(center, zoom);
  	      } else {
  	        this.leafletElement.setZoom(zoom);
  	      }
  	    }
  
  	    if (maxBounds && this.shouldUpdateBounds(maxBounds, fromProps.maxBounds)) {
  	      this.leafletElement.setMaxBounds(maxBounds);
  	    }
  
  	    if (bounds$$1 && (this.shouldUpdateBounds(bounds$$1, fromProps.bounds) || boundsOptions !== fromProps.boundsOptions)) {
  	      if (useFlyTo === true) {
  	        this.leafletElement.flyToBounds(bounds$$1, boundsOptions);
  	      } else {
  	        this.leafletElement.fitBounds(bounds$$1, boundsOptions);
  	      }
  	    }
  
  	    if (boxZoom !== fromProps.boxZoom) {
  	      if (boxZoom === true) {
  	        this.leafletElement.boxZoom.enable();
  	      } else {
  	        this.leafletElement.boxZoom.disable();
  	      }
  	    }
  
  	    if (doubleClickZoom !== fromProps.doubleClickZoom) {
  	      if (doubleClickZoom === true) {
  	        this.leafletElement.doubleClickZoom.enable();
  	      } else {
  	        this.leafletElement.doubleClickZoom.disable();
  	      }
  	    }
  
  	    if (dragging !== fromProps.dragging) {
  	      if (dragging === true) {
  	        this.leafletElement.dragging.enable();
  	      } else {
  	        this.leafletElement.dragging.disable();
  	      }
  	    }
  
  	    if (keyboard !== fromProps.keyboard) {
  	      if (keyboard === true) {
  	        this.leafletElement.keyboard.enable();
  	      } else {
  	        this.leafletElement.keyboard.disable();
  	      }
  	    }
  
  	    if (scrollWheelZoom !== fromProps.scrollWheelZoom) {
  	      if (scrollWheelZoom === true || typeof scrollWheelZoom === 'string') {
  	        this.leafletElement.options.scrollWheelZoom = scrollWheelZoom;
  	        this.leafletElement.scrollWheelZoom.enable();
  	      } else {
  	        this.leafletElement.scrollWheelZoom.disable();
  	      }
  	    }
  
  	    if (tap !== fromProps.tap) {
  	      if (tap === true) {
  	        this.leafletElement.tap.enable();
  	      } else {
  	        this.leafletElement.tap.disable();
  	      }
  	    }
  
  	    if (touchZoom !== fromProps.touchZoom) {
  	      if (touchZoom === true || typeof touchZoom === 'string') {
  	        this.leafletElement.options.touchZoom = touchZoom;
  	        this.leafletElement.touchZoom.enable();
  	      } else {
  	        this.leafletElement.touchZoom.disable();
  	      }
  	    }
  
  	    this._updating = false;
  	  };
  
  	  Map.prototype.componentDidMount = function componentDidMount() {
  	    var props = omit(this.props, OTHER_PROPS);
  	    this.leafletElement = this.createLeafletElement(props);
  
  	    this.leafletElement.on('move', this.onViewportChange);
  	    this.leafletElement.on('moveend', this.onViewportChanged);
  
  	    if (!isUndefined(props.bounds)) {
  	      this.leafletElement.fitBounds(props.bounds, props.boundsOptions);
  	    }
  
  	    if (this.props.whenReady) {
  	      this.leafletElement.whenReady(this.props.whenReady);
  	    }
  
  	    _MapComponent.prototype.componentDidMount.call(this);
  	    this.forceUpdate(); // Re-render now that leafletElement is created
  	  };
  
  	  Map.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {
  	    this.updateLeafletElement(prevProps, this.props);
  	  };
  
  	  Map.prototype.componentWillUnmount = function componentWillUnmount() {
  	    _MapComponent.prototype.componentWillUnmount.call(this);
  
  	    this.leafletElement.off('move', this.onViewportChange);
  	    this.leafletElement.off('moveend', this.onViewportChanged);
  
  	    // The canvas renderer uses requestAnimationFrame, making a deferred call to a deleted object
  	    // When preferCanvas is set, use simpler teardown logic
  	    if (this.props.preferCanvas === true) {
  	      this.leafletElement._initEvents(true);
  	      this.leafletElement._stop();
  	    } else {
  	      this.leafletElement.remove();
  	    }
  	  };
  
  	  Map.prototype.shouldUpdateCenter = function shouldUpdateCenter(next, prev) {
  	    if (!prev) return true;
  	    next = normalizeCenter(next);
  	    prev = normalizeCenter(prev);
  	    return next[0] !== prev[0] || next[1] !== prev[1];
  	  };
  
  	  Map.prototype.shouldUpdateBounds = function shouldUpdateBounds(next, prev) {
  	    return prev ? !leaflet.latLngBounds(next).equals(leaflet.latLngBounds(prev)) : true;
  	  };
  
  	  Map.prototype.render = function render() {
  	    var map$$1 = this.leafletElement;
  	    var children$$1 = map$$1 ? this.props.children : null;
  
  	    return React__default.createElement(
  	      'div',
  	      {
  	        className: this.className,
  	        id: this.props.id,
  	        ref: this.bindContainer,
  	        style: this.props.style },
  	      children$$1
  	    );
  	  };
  
  	  return Map;
  	}(MapComponent);
  
  	Map$1.propTypes = {
  	  animate: propTypes.bool,
  	  bounds: bounds,
  	  boundsOptions: propTypes.object,
  	  center: latlng,
  	  children: children,
  	  className: propTypes.string,
  	  id: propTypes.string,
  	  maxBounds: bounds,
  	  maxZoom: propTypes.number,
  	  minZoom: propTypes.number,
  	  style: propTypes.object,
  	  useFlyTo: propTypes.bool,
  	  viewport: viewport,
  	  whenReady: propTypes.func,
  	  zoom: propTypes.number
  	};
  	Map$1.childContextTypes = {
  	  layerContainer: layerContainer,
  	  map: map
  	};
  
  	var Marker = function (_MapLayer) {
  	  inherits(Marker, _MapLayer);
  
  	  function Marker() {
  	    classCallCheck(this, Marker);
  	    return possibleConstructorReturn(this, _MapLayer.apply(this, arguments));
  	  }
  
  	  Marker.prototype.getChildContext = function getChildContext() {
  	    return {
  	      popupContainer: this.leafletElement
  	    };
  	  };
  
  	  Marker.prototype.createLeafletElement = function createLeafletElement(props) {
  	    return new leaflet.Marker(props.position, this.getOptions(props));
  	  };
  
  	  Marker.prototype.updateLeafletElement = function updateLeafletElement(fromProps, toProps) {
  	    if (toProps.position !== fromProps.position) {
  	      this.leafletElement.setLatLng(toProps.position);
  	    }
  	    if (toProps.icon !== fromProps.icon) {
  	      this.leafletElement.setIcon(toProps.icon);
  	    }
  	    if (toProps.zIndexOffset !== fromProps.zIndexOffset) {
  	      this.leafletElement.setZIndexOffset(toProps.zIndexOffset);
  	    }
  	    if (toProps.opacity !== fromProps.opacity) {
  	      this.leafletElement.setOpacity(toProps.opacity);
  	    }
  	    if (toProps.draggable !== fromProps.draggable) {
  	      if (toProps.draggable === true) {
  	        this.leafletElement.dragging.enable();
  	      } else {
  	        this.leafletElement.dragging.disable();
  	      }
  	    }
  	  };
  
  	  return Marker;
  	}(MapLayer);
  
  	Marker.propTypes = {
  	  children: children,
  	  draggable: propTypes.bool,
  	  icon: propTypes.instanceOf(leaflet.Icon),
  	  opacity: propTypes.number,
  	  position: latlng.isRequired,
  	  zIndexOffset: propTypes.number
  	};
  	Marker.childContextTypes = {
  	  popupContainer: layer
  	};
  
  	/** Used to generate unique IDs. */
  	var idCounter = 0;
  
  	/**
  	 * Generates a unique ID. If `prefix` is given, the ID is appended to it.
  	 *
  	 * @static
  	 * @since 0.1.0
  	 * @memberOf _
  	 * @category Util
  	 * @param {string} [prefix=''] The value to prefix the ID with.
  	 * @returns {string} Returns the unique ID.
  	 * @example
  	 *
  	 * _.uniqueId('contact_');
  	 * // => 'contact_104'
  	 *
  	 * _.uniqueId();
  	 * // => '105'
  	 */
  	function uniqueId(prefix) {
  	  var id = ++idCounter;
  	  return toString(prefix) + id;
  	}
  
  	/**
  	 * Copyright 2014-2015, Facebook, Inc.
  	 * All rights reserved.
  	 *
  	 * This source code is licensed under the BSD-style license found in the
  	 * LICENSE file in the root directory of this source tree. An additional grant
  	 * of patent rights can be found in the PATENTS file in the same directory.
  	 */
  
  	/**
  	 * Similar to invariant but only logs a warning if the condition is not met.
  	 * This can be used to log issues in development environments in critical
  	 * paths. Removing the logging code for production environments will keep the
  	 * same logic and follow the same code paths.
  	 */
  
  	var __DEV__ = "development" !== 'production';
  
  	var warning$2 = function() {};
  
  	if (__DEV__) {
  	  warning$2 = function(condition, format, args) {
  	    var len = arguments.length;
  	    args = new Array(len > 2 ? len - 2 : 0);
  	    for (var key = 2; key < len; key++) {
  	      args[key - 2] = arguments[key];
  	    }
  	    if (format === undefined) {
  	      throw new Error(
  	        '`warning(condition, format, ...args)` requires a warning ' +
  	        'message argument'
  	      );
  	    }
  
  	    if (format.length < 10 || (/^[s\W]*$/).test(format)) {
  	      throw new Error(
  	        'The warning format should be able to uniquely identify this ' +
  	        'warning. Please, use a more descriptive format than: ' + format
  	      );
  	    }
  
  	    if (!condition) {
  	      var argIndex = 0;
  	      var message = 'Warning: ' +
  	        format.replace(/%s/g, function() {
  	          return args[argIndex++];
  	        });
  	      if (typeof console !== 'undefined') {
  	        console.error(message);
  	      }
  	      try {
  	        // This error was thrown as a convenience so that you can use this stack
  	        // to find the callsite that caused this warning to fire.
  	        throw new Error(message);
  	      } catch(x) {}
  	    }
  	  };
  	}
  
  	var warning_1$1 = warning$2;
  
  	var LEAFLET_PANES = ['tile', 'shadow', 'overlay', 'map', 'marker', 'tooltip', 'popup'];
  
  	var isLeafletPane = function isLeafletPane(name) {
  	  return LEAFLET_PANES.indexOf(name.replace(/-*pane/gi, '')) !== -1;
  	};
  
  	var paneStyles = {
  	  position: 'absolute',
  	  top: 0,
  	  right: 0,
  	  bottom: 0,
  	  left: 0
  	};
  
  	var Pane = function (_Component) {
  	  inherits(Pane, _Component);
  
  	  function Pane() {
  	    var _temp, _this, _ret;
  
  	    classCallCheck(this, Pane);
  
  	    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
  	      args[_key] = arguments[_key];
  	    }
  
  	    return _ret = (_temp = (_this = possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.state = {
  	      name: undefined
  	    }, _this.setStyle = function () {
  	      var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _this.props,
  	          style = _ref.style,
  	          className = _ref.className;
  
  	      var pane = _this.getPane(_this.state.name);
  	      if (pane) {
  	        if (className) {
  	          pane.classList.add(className);
  	        }
  	        if (style) {
  	          forEach(style, function (value, key) {
  	            pane.style[key] = value;
  	          });
  	        }
  	      }
  	    }, _temp), possibleConstructorReturn(_this, _ret);
  	  }
  
  	  Pane.prototype.getChildContext = function getChildContext() {
  	    return {
  	      pane: this.state.name
  	    };
  	  };
  
  	  Pane.prototype.componentDidMount = function componentDidMount() {
  	    this.createPane(this.props);
  	  };
  
  	  Pane.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
  	    if (!this.state.name) {
  	      // Do nothing if this.state.name is undefined due to errors or
  	      // an invalid props.name value
  	      return;
  	    }
  
  	    // If the 'name' prop has changed the current pane is unmounted and a new
  	    // pane is created.
  	    if (nextProps.name !== this.props.name) {
  	      this.removePane();
  	      this.createPane(nextProps);
  	    } else {
  	      // Remove the previous css class name from the pane if it has changed.
  	      // setStyle will take care of adding in the updated className
  	      if (this.props.className && nextProps.className !== this.props.className) {
  	        var _pane = this.getPane();
  	        if (_pane && this.props.className) _pane.classList.remove(this.props.className);
  	      }
  
  	      // Update the pane's DOM node style and class
  	      this.setStyle(nextProps);
  	    }
  	  };
  
  	  Pane.prototype.componentWillUnmount = function componentWillUnmount() {
  	    this.removePane();
  	  };
  
  	  Pane.prototype.createPane = function createPane(props) {
  	    var map$$1 = this.context.map;
  	    var name = props.name || 'pane-' + uniqueId();
  
  	    if (map$$1 && map$$1.createPane) {
  	      var isDefault = isLeafletPane(name);
  	      var existing = isDefault || this.getPane(name);
  
  	      if (!existing) {
  	        map$$1.createPane(name, this.getParentPane());
  	      } else {
  	        var message = isDefault ? 'You must use a unique name for a pane that is not a default leaflet pane (' + name + ')' : 'A pane with this name already exists. (' + name + ')';
  	        warning_1$1(false, message);
  	      }
  
  	      this.setState({ name: name }, this.setStyle);
  	    }
  	  };
  
  	  Pane.prototype.removePane = function removePane() {
  	    // Remove the created pane
  	    var name = this.state.name;
  
  	    if (name) {
  	      var _pane2 = this.getPane(name);
  	      if (_pane2 && _pane2.remove) _pane2.remove();
  
  	      var _map = this.context.map;
  	      if (_map && _map._panes) {
  	        _map._panes = omit(_map._panes, name);
  	        _map._paneRenderers = omit(_map._paneRenderers, name);
  	      }
  
  	      this.setState({ name: undefined });
  	    }
  	  };
  
  	  Pane.prototype.getParentPane = function getParentPane() {
  	    return this.getPane(this.props.pane || this.context.pane);
  	  };
  
  	  Pane.prototype.getPane = function getPane(name) {
  	    return name ? this.context.map.getPane(name) : undefined;
  	  };
  
  	  Pane.prototype.render = function render() {
  	    return this.state.name ? React__default.createElement(
  	      'div',
  	      { style: paneStyles },
  	      this.props.children
  	    ) : null;
  	  };
  
  	  return Pane;
  	}(React.Component);
  
  	Pane.propTypes = {
  	  name: propTypes.string,
  	  children: children,
  	  map: map,
  	  className: propTypes.string,
  	  style: propTypes.object,
  	  pane: propTypes.string
  	};
  	Pane.contextTypes = {
  	  map: map,
  	  pane: propTypes.string
  	};
  	Pane.childContextTypes = {
  	  pane: propTypes.string
  	};
  
  	var multiLatLngList = propTypes.arrayOf(latlngList);
  
  	var Polygon = function (_Path) {
  	  inherits(Polygon, _Path);
  
  	  function Polygon() {
  	    classCallCheck(this, Polygon);
  	    return possibleConstructorReturn(this, _Path.apply(this, arguments));
  	  }
  
  	  Polygon.prototype.createLeafletElement = function createLeafletElement(props) {
  	    return new leaflet.Polygon(props.positions, this.getOptions(props));
  	  };
  
  	  Polygon.prototype.updateLeafletElement = function updateLeafletElement(fromProps, toProps) {
  	    if (toProps.positions !== fromProps.positions) {
  	      this.leafletElement.setLatLngs(toProps.positions);
  	    }
  	    this.setStyleIfChanged(fromProps, toProps);
  	  };
  
  	  return Polygon;
  	}(Path);
  
  	Polygon.propTypes = {
  	  children: children,
  	  positions: propTypes.oneOfType([latlngList, multiLatLngList, propTypes.arrayOf(multiLatLngList)]).isRequired
  	};
  
  	var Polyline = function (_Path) {
  	  inherits(Polyline, _Path);
  
  	  function Polyline() {
  	    classCallCheck(this, Polyline);
  	    return possibleConstructorReturn(this, _Path.apply(this, arguments));
  	  }
  
  	  Polyline.prototype.createLeafletElement = function createLeafletElement(props) {
  	    return new leaflet.Polyline(props.positions, this.getOptions(props));
  	  };
  
  	  Polyline.prototype.updateLeafletElement = function updateLeafletElement(fromProps, toProps) {
  	    if (toProps.positions !== fromProps.positions) {
  	      this.leafletElement.setLatLngs(toProps.positions);
  	    }
  	    this.setStyleIfChanged(fromProps, toProps);
  	  };
  
  	  return Polyline;
  	}(Path);
  
  	Polyline.propTypes = {
  	  children: children,
  	  positions: propTypes.oneOfType([latlngList, propTypes.arrayOf(latlngList)]).isRequired
  	};
  
  	var Popup = function (_DivOverlay) {
  	  inherits(Popup, _DivOverlay);
  
  	  function Popup() {
  	    var _temp, _this, _ret;
  
  	    classCallCheck(this, Popup);
  
  	    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
  	      args[_key] = arguments[_key];
  	    }
  
  	    return _ret = (_temp = (_this = possibleConstructorReturn(this, _DivOverlay.call.apply(_DivOverlay, [this].concat(args))), _this), _this.onPopupOpen = function (_ref) {
  	      var popup = _ref.popup;
  
  	      if (popup === _this.leafletElement) {
  	        _this.onOpen();
  	      }
  	    }, _this.onPopupClose = function (_ref2) {
  	      var popup = _ref2.popup;
  
  	      if (popup === _this.leafletElement) {
  	        _this.onClose();
  	      }
  	    }, _this.onRender = function () {
  	      if (_this.props.autoPan !== false && _this.leafletElement.isOpen()) {
  	        if (_this.leafletElement._map && _this.leafletElement._map._panAnim) {
  	          _this.leafletElement._map._panAnim = undefined;
  	        }
  	        _this.leafletElement._adjustPan();
  	      }
  	    }, _temp), possibleConstructorReturn(_this, _ret);
  	  }
  
  	  Popup.prototype.getOptions = function getOptions(props) {
  	    return _extends({}, _DivOverlay.prototype.getOptions.call(this, props), {
  	      autoPan: false
  	    });
  	  };
  
  	  Popup.prototype.createLeafletElement = function createLeafletElement(props) {
  	    return new leaflet.Popup(this.getOptions(props), this.context.popupContainer || props.popupContainer);
  	  };
  
  	  Popup.prototype.updateLeafletElement = function updateLeafletElement(fromProps, toProps) {
  	    if (toProps.position !== fromProps.position) {
  	      this.leafletElement.setLatLng(toProps.position);
  	    }
  	  };
  
  	  Popup.prototype.componentWillMount = function componentWillMount() {
  	    _DivOverlay.prototype.componentWillMount.call(this);
  	    this.leafletElement = this.createLeafletElement(this.props);
  	    this.leafletElement.options.autoPan = this.props.autoPan !== false;
  
  	    this.context.map.on({
  	      popupopen: this.onPopupOpen,
  	      popupclose: this.onPopupClose
  	    });
  	  };
  
  	  Popup.prototype.componentDidMount = function componentDidMount() {
  	    var position = this.props.position;
  	    var map$$1 = this.context.map;
  
  	    var el = this.leafletElement;
  	    var popupContainer = this.context.popupContainer || this.props.popupContainer;
  
  	    if (popupContainer) {
  	      // Attach to container component
  	      popupContainer.bindPopup(el);
  	    } else {
  	      // Attach to a Map
  	      if (position) {
  	        el.setLatLng(position);
  	      }
  	      el.openOn(map$$1);
  	    }
  	  };
  
  	  Popup.prototype.componentWillUnmount = function componentWillUnmount() {
  	    this.removeContent();
  
  	    this.context.map.off({
  	      popupopen: this.onPopupOpen,
  	      popupclose: this.onPopupClose
  	    });
  	    this.context.map.removeLayer(this.leafletElement);
  
  	    _DivOverlay.prototype.componentWillUnmount.call(this);
  	  };
  
  	  return Popup;
  	}(DivOverlay);
  
  	Popup.propTypes = {
  	  children: propTypes.node,
  	  onClose: propTypes.func,
  	  onOpen: propTypes.func,
  	  position: latlng,
  	  popupContainer: layer
  	};
  	Popup.contextTypes = {
  	  map: map,
  	  popupContainer: layer,
  	  pane: propTypes.string
  	};
  	Popup.defaultProps = {
  	  pane: 'popupPane'
  	};
  
  	var Rectangle = function (_Path) {
  	  inherits(Rectangle, _Path);
  
  	  function Rectangle() {
  	    classCallCheck(this, Rectangle);
  	    return possibleConstructorReturn(this, _Path.apply(this, arguments));
  	  }
  
  	  Rectangle.prototype.createLeafletElement = function createLeafletElement(props) {
  	    return new leaflet.Rectangle(props.bounds, this.getOptions(props));
  	  };
  
  	  Rectangle.prototype.updateLeafletElement = function updateLeafletElement(fromProps, toProps) {
  	    if (toProps.bounds !== fromProps.bounds) {
  	      this.leafletElement.setBounds(toProps.bounds);
  	    }
  	    this.setStyleIfChanged(fromProps, toProps);
  	  };
  
  	  return Rectangle;
  	}(Path);
  
  	Rectangle.propTypes = {
  	  children: children,
  	  bounds: bounds.isRequired
  	};
  
  	var ScaleControl = function (_MapControl) {
  	  inherits(ScaleControl, _MapControl);
  
  	  function ScaleControl() {
  	    classCallCheck(this, ScaleControl);
  	    return possibleConstructorReturn(this, _MapControl.apply(this, arguments));
  	  }
  
  	  ScaleControl.prototype.createLeafletElement = function createLeafletElement(props) {
  	    return new leaflet.Control.Scale(props);
  	  };
  
  	  return ScaleControl;
  	}(MapControl);
  
  	ScaleControl.propTypes = {
  	  imperial: propTypes.bool,
  	  maxWidth: propTypes.number,
  	  metric: propTypes.bool,
  	  position: controlPositionType,
  	  updateWhenIdle: propTypes.bool
  	};
  
  	var TileLayer = function (_GridLayer) {
  	  inherits(TileLayer, _GridLayer);
  
  	  function TileLayer() {
  	    classCallCheck(this, TileLayer);
  	    return possibleConstructorReturn(this, _GridLayer.apply(this, arguments));
  	  }
  
  	  TileLayer.prototype.createLeafletElement = function createLeafletElement(props) {
  	    return new leaflet.TileLayer(props.url, this.getOptions(props));
  	  };
  
  	  TileLayer.prototype.updateLeafletElement = function updateLeafletElement(fromProps, toProps) {
  	    _GridLayer.prototype.updateLeafletElement.call(this, fromProps, toProps);
  	    if (toProps.url !== fromProps.url) {
  	      this.leafletElement.setUrl(toProps.url);
  	    }
  	  };
  
  	  return TileLayer;
  	}(GridLayer);
  
  	TileLayer.propTypes = {
  	  children: children,
  	  opacity: propTypes.number,
  	  url: propTypes.string.isRequired,
  	  zIndex: propTypes.number
  	};
  
  	var Tooltip = function (_DivOverlay) {
  	  inherits(Tooltip, _DivOverlay);
  
  	  function Tooltip() {
  	    var _temp, _this, _ret;
  
  	    classCallCheck(this, Tooltip);
  
  	    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
  	      args[_key] = arguments[_key];
  	    }
  
  	    return _ret = (_temp = (_this = possibleConstructorReturn(this, _DivOverlay.call.apply(_DivOverlay, [this].concat(args))), _this), _this.onTooltipOpen = function (_ref) {
  	      var tooltip = _ref.tooltip;
  
  	      if (tooltip === _this.leafletElement) {
  	        _this.onOpen();
  	      }
  	    }, _this.onTooltipClose = function (_ref2) {
  	      var tooltip = _ref2.tooltip;
  
  	      if (tooltip === _this.leafletElement) {
  	        _this.onClose();
  	      }
  	    }, _temp), possibleConstructorReturn(_this, _ret);
  	  }
  
  	  Tooltip.prototype.createLeafletElement = function createLeafletElement(props) {
  	    return new leaflet.Tooltip(this.getOptions(props), this.context.popupContainer);
  	  };
  
  	  Tooltip.prototype.componentWillMount = function componentWillMount() {
  	    _DivOverlay.prototype.componentWillMount.call(this);
  	    this.leafletElement = this.createLeafletElement(this.props);
  
  	    this.context.popupContainer.on({
  	      tooltipopen: this.onTooltipOpen,
  	      tooltipclose: this.onTooltipClose
  	    });
  	  };
  
  	  Tooltip.prototype.componentDidMount = function componentDidMount() {
  	    this.context.popupContainer.bindTooltip(this.leafletElement);
  	  };
  
  	  Tooltip.prototype.componentWillUnmount = function componentWillUnmount() {
  	    var popupContainer = this.context.popupContainer;
  
  
  	    this.removeContent();
  
  	    popupContainer.off({
  	      tooltipopen: this.onTooltipOpen,
  	      tooltipclose: this.onTooltipClose
  	    });
  	    if (popupContainer._map != null) {
  	      popupContainer.unbindTooltip(this.leafletElement);
  	    }
  
  	    _DivOverlay.prototype.componentWillUnmount.call(this);
  	  };
  
  	  return Tooltip;
  	}(DivOverlay);
  
  	Tooltip.propTypes = {
  	  children: propTypes.node,
  	  onClose: propTypes.func,
  	  onOpen: propTypes.func
  	};
  	Tooltip.contextTypes = {
  	  map: map,
  	  popupContainer: layer,
  	  pane: propTypes.string
  	};
  	Tooltip.defaultProps = {
  	  pane: 'tooltipPane'
  	};
  
  	var VideoOverlay = function (_MapLayer) {
  	  inherits(VideoOverlay, _MapLayer);
  
  	  function VideoOverlay() {
  	    classCallCheck(this, VideoOverlay);
  	    return possibleConstructorReturn(this, _MapLayer.apply(this, arguments));
  	  }
  
  	  VideoOverlay.prototype.createLeafletElement = function createLeafletElement(props) {
  	    return new leaflet.VideoOverlay(props.url, props.bounds, this.getOptions(props));
  	  };
  
  	  VideoOverlay.prototype.componentDidMount = function componentDidMount() {
  	    _MapLayer.prototype.componentDidMount.call(this);
  	    if (this.props.play === true) {
  	      this.leafletElement.getElement().play();
  	    }
  	  };
  
  	  VideoOverlay.prototype.updateLeafletElement = function updateLeafletElement(fromProps, toProps) {
  	    if (toProps.url !== fromProps.url) {
  	      this.leafletElement.setUrl(toProps.url);
  	    }
  	    if (toProps.bounds !== fromProps.bounds) {
  	      this.leafletElement.setBounds(leaflet.latLngBounds(toProps.bounds));
  	    }
  	    if (toProps.opacity !== fromProps.opacity) {
  	      this.leafletElement.setOpacity(toProps.opacity);
  	    }
  	    if (toProps.zIndex !== fromProps.zIndex) {
  	      this.leafletElement.setZIndex(toProps.zIndex);
  	    }
  	    // flowlint-next-line sketchy-null-bool:off
  	    if (toProps.play === true && !fromProps.play) {
  	      this.leafletElement.getElement().play();
  	      // flowlint-next-line sketchy-null-bool:off
  	    } else if (!toProps.play && fromProps.play === true) {
  	      this.leafletElement.getElement().pause();
  	    }
  	  };
  
  	  return VideoOverlay;
  	}(MapLayer);
  
  	VideoOverlay.propTypes = {
  	  attribution: propTypes.string,
  	  bounds: bounds.isRequired,
  	  opacity: propTypes.number,
  	  play: propTypes.bool,
  	  url: propTypes.oneOfType([propTypes.string, propTypes.arrayOf(propTypes.string), propTypes.instanceOf(HTMLVideoElement)]).isRequired,
  	  zIndex: propTypes.number
  	};
  
  	var WMSTileLayer = function (_GridLayer) {
  	  inherits(WMSTileLayer, _GridLayer);
  
  	  function WMSTileLayer() {
  	    classCallCheck(this, WMSTileLayer);
  	    return possibleConstructorReturn(this, _GridLayer.apply(this, arguments));
  	  }
  
  	  WMSTileLayer.prototype.createLeafletElement = function createLeafletElement(props) {
  	    var url = props.url,
  	        params = objectWithoutProperties(props, ['url']);
  
  	    return new leaflet.TileLayer.WMS(url, this.getOptions(params));
  	  };
  
  	  WMSTileLayer.prototype.updateLeafletElement = function updateLeafletElement(fromProps, toProps) {
  	    _GridLayer.prototype.updateLeafletElement.call(this, fromProps, toProps);
  
  	    var prevUrl = fromProps.url,
  	        _po = fromProps.opacity,
  	        _pz = fromProps.zIndex,
  	        prevParams = objectWithoutProperties(fromProps, ['url', 'opacity', 'zIndex']);
  	    var url = toProps.url,
  	        _o = toProps.opacity,
  	        _z = toProps.zIndex,
  	        params = objectWithoutProperties(toProps, ['url', 'opacity', 'zIndex']);
  
  
  	    if (url !== prevUrl) {
  	      this.leafletElement.setUrl(url);
  	    }
  	    if (!isEqual(params, prevParams)) {
  	      this.leafletElement.setParams(params);
  	    }
  	  };
  
  	  WMSTileLayer.prototype.getOptions = function getOptions(params) {
  	    return reduce(_GridLayer.prototype.getOptions.call(this, params), function (options, value, key) {
  	      if (!EVENTS_RE.test(key)) {
  	        options[key] = value;
  	      }
  	      return options;
  	    }, {});
  	  };
  
  	  return WMSTileLayer;
  	}(GridLayer);
  
  	WMSTileLayer.propTypes = {
  	  children: children,
  	  opacity: propTypes.number,
  	  url: propTypes.string.isRequired,
  	  zIndex: propTypes.number
  	};
  
  	var ZoomControl = function (_MapControl) {
  	  inherits(ZoomControl, _MapControl);
  
  	  function ZoomControl() {
  	    classCallCheck(this, ZoomControl);
  	    return possibleConstructorReturn(this, _MapControl.apply(this, arguments));
  	  }
  
  	  ZoomControl.prototype.createLeafletElement = function createLeafletElement(props) {
  	    return new leaflet.Control.Zoom(props);
  	  };
  
  	  return ZoomControl;
  	}(MapControl);
  
  	ZoomControl.propTypes = {
  	  position: controlPositionType,
  	  zoomInText: propTypes.string,
  	  zoomInTitle: propTypes.string,
  	  zoomOutText: propTypes.string,
  	  zoomOutTitle: propTypes.string
  	};
  
  	exports.PropTypes = index;
  	exports.AttributionControl = AttributionControl;
  	exports.Circle = Circle;
  	exports.CircleMarker = CircleMarker;
  	exports.DivOverlay = DivOverlay;
  	exports.FeatureGroup = FeatureGroup;
  	exports.GeoJSON = GeoJSON;
  	exports.GridLayer = GridLayer;
  	exports.ImageOverlay = ImageOverlay;
  	exports.LayerGroup = LayerGroup;
  	exports.LayersControl = LayersControl;
  	exports.Map = Map$1;
  	exports.MapComponent = MapComponent;
  	exports.MapControl = MapControl;
  	exports.MapLayer = MapLayer;
  	exports.Marker = Marker;
  	exports.Pane = Pane;
  	exports.Path = Path;
  	exports.Polygon = Polygon;
  	exports.Polyline = Polyline;
  	exports.Popup = Popup;
  	exports.Rectangle = Rectangle;
  	exports.ScaleControl = ScaleControl;
  	exports.TileLayer = TileLayer;
  	exports.Tooltip = Tooltip;
  	exports.VideoOverlay = VideoOverlay;
  	exports.WMSTileLayer = WMSTileLayer;
  	exports.ZoomControl = ZoomControl;
  
  	Object.defineProperty(exports, '__esModule', { value: true });
  
  })));
  